@scalar/api-reference 1.35.4 → 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 +36 -0
  2. package/dist/browser/standalone.js +18154 -18461
  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 +30 -34
  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 +19 -19
  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
@@ -10,18 +10,15 @@ const S = ["id"], $ = { class: "sr-only" }, _ = /* @__PURE__ */ p({
10
10
  breadcrumb: {}
11
11
  },
12
12
  setup(a) {
13
- const { copyToClipboard: c } = B(), { getHashedUrl: n, isIntersectionEnabled: r, replaceUrlState: i } = N(), t = d(() => {
14
- var e;
15
- return (e = a.breadcrumb) == null ? void 0 : e.join(".");
16
- }), u = async () => {
17
- t.value && (c(n(t.value)), r.value = !1, i(t.value), h(t.value, !0), await k(100), r.value = !0);
13
+ const { copyToClipboard: c } = B(), { getHashedUrl: n, isIntersectionEnabled: r, replaceUrlState: i } = N(), e = d(() => a.breadcrumb?.join(".")), u = async () => {
14
+ e.value && (c(n(e.value)), r.value = !1, i(e.value), h(e.value, !0), await k(100), r.value = !0);
18
15
  };
19
- return (e, l) => e.breadcrumb ? (f(), m("div", {
16
+ return (t, l) => t.breadcrumb ? (f(), m("div", {
20
17
  key: 0,
21
18
  class: "relative scroll-mt-24",
22
- id: t.value
19
+ id: e.value
23
20
  }, [
24
- o(e.$slots, "default"),
21
+ o(t.$slots, "default"),
25
22
  s("button", {
26
23
  class: "text-c-3 hover:text-c-1 absolute -top-2 -left-4.5 flex h-[calc(100%+16px)] w-4.5 cursor-pointer items-center justify-center pr-1.5 opacity-0 group-hover:opacity-100 focus-visible:opacity-100",
27
24
  type: "button",
@@ -32,13 +29,13 @@ const S = ["id"], $ = { class: "sr-only" }, _ = /* @__PURE__ */ p({
32
29
  weight: "bold"
33
30
  }),
34
31
  s("span", $, [
35
- o(e.$slots, "sr-label", {}, () => [
32
+ o(t.$slots, "sr-label", {}, () => [
36
33
  l[0] || (l[0] = y("Copy link to ")),
37
- o(e.$slots, "default")
34
+ o(t.$slots, "default")
38
35
  ])
39
36
  ])
40
37
  ])
41
- ], 8, S)) : o(e.$slots, "default", { key: 1 });
38
+ ], 8, S)) : o(t.$slots, "default", { key: 1 });
42
39
  }
43
40
  });
44
41
  export {
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as n, createBlock as s, openBlock as a, unref as i, withCtx as e, renderSlot as t } from "vue";
2
2
  import { createWorkspaceStore as f } from "@scalar/workspace-store/client";
3
3
  import p from "../v2/ApiReferenceWorkspace.vue.js";
4
- import "../v2/ApiReferenceWorkspace.vue2.js";
4
+ /* empty css */
5
5
  const $ = /* @__PURE__ */ n({
6
6
  __name: "ApiReference",
7
7
  props: {
@@ -1,8 +1,8 @@
1
1
  import o from "./ApiReferenceLayout.vue2.js";
2
- import "./ApiReferenceLayout.vue3.js";
3
- import "./ApiReferenceLayout.vue4.js";
4
- import "./ApiReferenceLayout.vue5.js";
5
- import "./ApiReferenceLayout.vue6.js";
2
+ /* empty css */
3
+ /* empty css */
4
+ /* empty css */
5
+ /* empty css */
6
6
  import t from "../_virtual/_plugin-vue_export-helper.js";
7
7
  const c = /* @__PURE__ */ t(o, [["__scopeId", "data-v-3cb06588"]]);
8
8
  export {
@@ -1,41 +1,41 @@
1
- import { defineComponent as le, computed as $, provide as T, ref as D, onBeforeMount as ne, onMounted as de, watch as B, onUnmounted as ue, useId as ce, createElementBlock as f, openBlock as s, Fragment as Y, createElementVNode as p, createVNode as v, normalizeStyle as me, normalizeClass as fe, unref as r, createCommentVNode as i, withDirectives as ve, createBlock as w, renderSlot as d, normalizeProps as h, guardReactiveProps as S, withCtx as l, vShow as ge, createSlots as pe } from "vue";
2
- import { provideUseId as he } from "@headlessui/vue";
3
- import { OpenApiClientButton as Se } from "@scalar/api-client/components";
4
- import { LAYOUT_SYMBOL as be } from "@scalar/api-client/hooks";
5
- import { WORKSPACE_SYMBOL as ye, ACTIVE_ENTITIES_SYMBOL as we } from "@scalar/api-client/store";
6
- import { addScalarClassesToHeadless as ke, ScalarErrorBoundary as $e, ScalarSidebarFooter as Te, ScalarColorModeToggleButton as Me, ScalarColorModeToggleIcon as Ce } from "@scalar/components";
7
- import { sleep as De } from "@scalar/helpers/testing/sleep";
8
- import { hasObtrusiveScrollbars as Ee, getThemeStyles as Ie } from "@scalar/themes";
9
- import { apiReferenceConfigurationSchema as Le } from "@scalar/types/api-reference";
10
- import { useBreakpoints as Be } from "@scalar/use-hooks/useBreakpoints";
11
- import { useToasts as Oe, ScalarToasts as Re } from "@scalar/use-toasts";
12
- import { useMediaQuery as _e, useResizeObserver as He, useDebounceFn as Ae } from "@vueuse/core";
13
- import Fe from "./ClassicHeader.vue.js";
14
- import Pe from "./GettingStarted.vue.js";
15
- import { hasLazyLoaded as Ne } from "./Lazy/lazyBus.js";
16
- import Ue from "./MobileHeader.vue.js";
17
- import { CONFIGURATION_SYMBOL as Ke } from "../hooks/useConfig.js";
18
- import { useNavState as Ve } from "../hooks/useNavState.js";
19
- import { useLegacyStoreEvents as Ye } from "../v2/hooks/use-legacy-store-events.js";
20
- import { useDocumentSource as ze } from "../features/document-source/hooks/useDocumentSource.js";
21
- import { useSidebar as Ge } from "../features/sidebar/hooks/useSidebar.js";
22
- import { PLUGIN_MANAGER_SYMBOL as Qe } from "../plugins/hooks/usePluginManager.js";
23
- import { createPluginManager as We } from "../plugins/plugin-manager.js";
24
- import je from "../features/sidebar/components/Sidebar.vue.js";
25
- import z from "../features/Search/components/SearchButton.vue.js";
26
- import qe from "./Content/Content.vue.js";
27
- import "./Content/Content.vue2.js";
28
- import Je from "../features/api-client-modal/ApiClientModal.vue.js";
29
- const Xe = ["innerHTML"], Ze = { class: "references-header" }, xe = ["aria-label"], et = { class: "references-navigation-list" }, tt = { key: 0 }, ot = {
1
+ import { defineComponent as x, computed as S, provide as b, ref as k, onBeforeMount as ee, onMounted as te, watch as M, onUnmounted as oe, useId as re, createElementBlock as u, openBlock as a, Fragment as H, createElementVNode as m, createVNode as c, normalizeStyle as ae, normalizeClass as se, unref as r, createCommentVNode as i, withDirectives as ie, createBlock as h, renderSlot as n, normalizeProps as f, guardReactiveProps as v, withCtx as l, vShow as le, createSlots as ne } from "vue";
2
+ import { provideUseId as de } from "@headlessui/vue";
3
+ import { OpenApiClientButton as ue } from "@scalar/api-client/components";
4
+ import { LAYOUT_SYMBOL as ce } from "@scalar/api-client/hooks";
5
+ import { WORKSPACE_SYMBOL as me, ACTIVE_ENTITIES_SYMBOL as fe } from "@scalar/api-client/store";
6
+ import { addScalarClassesToHeadless as ve, ScalarErrorBoundary as ge, ScalarSidebarFooter as pe, ScalarColorModeToggleButton as he, ScalarColorModeToggleIcon as Se } from "@scalar/components";
7
+ import { sleep as be } from "@scalar/helpers/testing/sleep";
8
+ import { hasObtrusiveScrollbars as ye, getThemeStyles as we } from "@scalar/themes";
9
+ import { apiReferenceConfigurationSchema as ke } from "@scalar/types/api-reference";
10
+ import { useBreakpoints as $e } from "@scalar/use-hooks/useBreakpoints";
11
+ import { useToasts as Te, ScalarToasts as Me } from "@scalar/use-toasts";
12
+ import { useMediaQuery as Ce, useResizeObserver as De, useDebounceFn as Ee } from "@vueuse/core";
13
+ import Ie from "./ClassicHeader.vue.js";
14
+ import Le from "./GettingStarted.vue.js";
15
+ import { hasLazyLoaded as Be } from "./Lazy/lazyBus.js";
16
+ import Oe from "./MobileHeader.vue.js";
17
+ import { CONFIGURATION_SYMBOL as Re } from "../hooks/useConfig.js";
18
+ import { useNavState as _e } from "../hooks/useNavState.js";
19
+ import { useLegacyStoreEvents as He } from "../v2/hooks/use-legacy-store-events.js";
20
+ import { useDocumentSource as Ae } from "../features/document-source/hooks/useDocumentSource.js";
21
+ import { useSidebar as Fe } from "../features/sidebar/hooks/useSidebar.js";
22
+ import { PLUGIN_MANAGER_SYMBOL as Pe } from "../plugins/hooks/usePluginManager.js";
23
+ import { createPluginManager as Ne } from "../plugins/plugin-manager.js";
24
+ import Ue from "../features/sidebar/components/Sidebar.vue.js";
25
+ import A from "../features/Search/components/SearchButton.vue.js";
26
+ import Ke from "./Content/Content.vue.js";
27
+ /* empty css */
28
+ import Ve from "../features/api-client-modal/ApiClientModal.vue.js";
29
+ const Ye = ["innerHTML"], ze = { class: "references-header" }, Ge = ["aria-label"], Qe = { class: "references-navigation-list" }, We = { key: 0 }, je = {
30
30
  key: 1,
31
31
  class: "scalar-api-references-standalone-search"
32
- }, rt = { key: 1 }, at = { class: "references-editor" }, st = { class: "references-editor-textarea" }, it = ["aria-label"], lt = {
32
+ }, qe = { key: 1 }, Je = { class: "references-editor" }, Xe = { class: "references-editor-textarea" }, Ze = ["aria-label"], xe = {
33
33
  key: 0,
34
34
  class: "w-64 *:!p-0 empty:hidden"
35
- }, nt = {
35
+ }, et = {
36
36
  key: 0,
37
37
  class: "references-footer"
38
- }, Ft = /* @__PURE__ */ le({
38
+ }, It = /* @__PURE__ */ x({
39
39
  inheritAttrs: !1,
40
40
  __name: "ApiReferenceLayout",
41
41
  props: {
@@ -47,273 +47,252 @@ const Xe = ["innerHTML"], Ze = { class: "references-header" }, xe = ["aria-label
47
47
  store: {}
48
48
  },
49
49
  emits: ["changeTheme", "updateContent", "loadSwaggerFile", "linkSwaggerFile", "toggleDarkMode"],
50
- setup(M) {
51
- const t = $(
52
- () => Le.parse(M.configuration)
53
- ), { initializeToasts: G, toast: Q } = Oe();
54
- G((e) => Q(e));
55
- const { dereferencedDocument: b, workspaceStore: O, activeEntitiesStore: R } = ze({
50
+ setup(y) {
51
+ const t = S(
52
+ () => ke.parse(y.configuration)
53
+ ), { initializeToasts: F, toast: P } = Te();
54
+ F((e) => P(e));
55
+ const { dereferencedDocument: g, workspaceStore: C, activeEntitiesStore: D } = Ae({
56
56
  configuration: t,
57
- dereferencedDocument: M.dereferencedDocument,
58
- originalDocument: M.originalDocument
57
+ dereferencedDocument: y.dereferencedDocument,
58
+ originalDocument: y.originalDocument
59
59
  });
60
- T(ye, O), T(we, R);
61
- const W = _e("(min-width: 1150px)"), j = D("100dvh"), y = D(null);
62
- He(y, (e) => {
63
- j.value = e[0] ? e[0].contentRect.height + "px" : "100dvh";
60
+ b(me, C), b(fe, D);
61
+ const N = Ce("(min-width: 1150px)"), U = k("100dvh"), p = k(null);
62
+ De(p, (e) => {
63
+ U.value = e[0] ? e[0].contentRect.height + "px" : "100dvh";
64
64
  });
65
- const q = $(Ee), _ = Ve(t), { isSidebarOpen: E, setCollapsedSidebarItem: I, scrollToOperation: J, items: H } = Ge(b, {
66
- ..._,
65
+ const K = S(ye), E = _e(t), { isSidebarOpen: $, setCollapsedSidebarItem: T, scrollToOperation: V, items: I } = Fe(g, {
66
+ ...E,
67
67
  config: t
68
68
  }), {
69
- getReferenceId: X,
70
- getPathRoutingId: Z,
71
- getSectionId: x,
72
- getTagId: ee,
73
- hash: C,
74
- isIntersectionEnabled: A,
75
- updateHash: F,
76
- replaceUrlState: te
77
- } = _;
69
+ getReferenceId: Y,
70
+ getPathRoutingId: z,
71
+ getSectionId: G,
72
+ getTagId: Q,
73
+ hash: w,
74
+ isIntersectionEnabled: L,
75
+ updateHash: B,
76
+ replaceUrlState: W
77
+ } = E;
78
78
  if (t.value.redirect && typeof window < "u") {
79
79
  const e = t.value.redirect(
80
80
  (t.value.pathRouting ? window.location.pathname : "") + window.location.hash
81
81
  );
82
82
  e && history.replaceState({}, "", e);
83
83
  }
84
- ne(() => {
85
- F(), ke();
84
+ ee(() => {
85
+ B(), ve();
86
86
  });
87
- const P = async (e) => {
88
- var o;
89
- A.value = !1, F(), e ? J(e) : (o = y.value) == null || o.scrollTo(0, 0), await De(100), A.value = !0;
90
- }, N = D(0);
91
- de(() => {
92
- var c, a, g;
87
+ const O = async (e) => {
88
+ L.value = !1, B(), e ? V(e) : p.value?.scrollTo(0, 0), await be(100), L.value = !0;
89
+ }, R = k(0);
90
+ te(() => {
93
91
  history.scrollRestoration = "manual";
94
- const e = (a = (c = y.value) == null ? void 0 : c.parentElement) == null ? void 0 : a.getBoundingClientRect(), o = (g = y.value) == null ? void 0 : g.getBoundingClientRect();
92
+ const e = p.value?.parentElement?.getBoundingClientRect(), o = p.value?.getBoundingClientRect();
95
93
  if (e && o) {
96
- const k = o.top - e.top;
97
- N.value = k < 2 ? 0 : k;
94
+ const s = o.top - e.top;
95
+ R.value = s < 2 ? 0 : s;
98
96
  }
99
97
  window.onhashchange = () => {
100
- P(X());
101
- }, window.onpopstate = () => t.value.pathRouting && P(Z(window.location.pathname)), window.addEventListener("scroll", U, { passive: !0 });
98
+ O(Y());
99
+ }, window.onpopstate = () => t.value.pathRouting && O(z(window.location.pathname)), window.addEventListener("scroll", _, { passive: !0 });
102
100
  });
103
- const oe = $(
104
- () => W.value || !t.value.isEditable
105
- ), U = Ae(() => {
106
- window.scrollY < 50 && Ne.value && te("");
107
- }), re = D(!1);
108
- B(b, (e) => {
109
- var o, c;
110
- if (C.value) {
111
- const a = x(C.value);
112
- a && I(a, !0);
113
- } else if ((o = e.tags) != null && o.length) {
114
- const a = (c = e.tags) == null ? void 0 : c[0];
115
- a && I(ee(a), !0);
101
+ const j = S(
102
+ () => N.value || !t.value.isEditable
103
+ ), _ = Ee(() => {
104
+ window.scrollY < 50 && Be.value && W("");
105
+ }), q = k(!1);
106
+ M(g, (e) => {
107
+ if (w.value) {
108
+ const o = G(w.value);
109
+ o && T(o, !0);
110
+ } else if (e.tags?.length) {
111
+ const o = e.tags?.[0];
112
+ o && T(Q(o), !0);
116
113
  } else {
117
- const a = H.value.entries.find((g) => "tag" in g);
118
- a && I(a.id, !0);
114
+ const o = I.value.entries.find((s) => "tag" in s);
115
+ o && T(o.id, !0);
119
116
  }
120
- re.value = !0;
117
+ q.value = !0;
121
118
  });
122
- const u = $(() => {
123
- var e;
124
- return {
125
- breadcrumb: ((e = H.value) == null ? void 0 : e.titles.get(C.value)) ?? ""
126
- };
127
- });
128
- ue(() => {
129
- window.removeEventListener("scroll", U);
130
- }), he(() => ce()), T(be, "modal"), T(Ke, t), T(
131
- Qe,
132
- We({
119
+ const d = S(() => ({
120
+ breadcrumb: I.value?.titles.get(w.value) ?? ""
121
+ }));
122
+ oe(() => {
123
+ window.removeEventListener("scroll", _);
124
+ }), de(() => re()), b(ce, "modal"), b(Re, t), b(
125
+ Pe,
126
+ Ne({
133
127
  plugins: t.value.plugins
134
128
  })
135
129
  );
136
- const ae = $(
130
+ const J = S(
137
131
  () => `<style>
138
- ${Ie(t.value.theme, {
132
+ ${we(t.value.theme, {
139
133
  fonts: t.value.withDefaultFonts
140
134
  })}</style>`
141
- ), { mediaQueries: se } = Be(), ie = !1;
142
- return B(se.lg, (e, o) => {
143
- o && !e && (E.value = !1);
144
- }), B(C, (e, o) => {
145
- e && e !== o && (E.value = !1);
146
- }), Ye(M.store, O, R, y), (e, o) => {
147
- var c, a, g, k, K;
148
- return s(), f(Y, null, [
149
- p("div", { innerHTML: ae.value }, null, 8, Xe),
150
- p("div", {
151
- ref_key: "documentEl",
152
- ref: y,
153
- class: fe(["scalar-app scalar-api-reference references-layout", [
154
- {
155
- "scalar-api-references-standalone-mobile": t.value.showSidebar ?? !0,
156
- "scalar-scrollbars-obtrusive": q.value,
157
- "references-editable": t.value.isEditable,
158
- "references-sidebar": t.value.showSidebar,
159
- "references-sidebar-mobile-open": r(E),
160
- "references-classic": t.value.layout === "classic"
161
- },
162
- e.$attrs.class
163
- ]]),
164
- style: me({
165
- "--scalar-y-offset": `var(--scalar-custom-header-height, ${N.value}px)`
166
- })
167
- }, [
168
- p("div", Ze, [
169
- t.value.layout === "modern" && (t.value.showSidebar ?? !0) ? (s(), w(Ue, {
170
- key: 0,
171
- breadcrumb: u.value.breadcrumb
172
- }, null, 8, ["breadcrumb"])) : i("", !0),
173
- d(e.$slots, "header", h(S(u.value)), void 0, !0)
174
- ]),
175
- t.value.showSidebar ? (s(), f("aside", {
135
+ ), { mediaQueries: X } = $e(), Z = !1;
136
+ return M(X.lg, (e, o) => {
137
+ o && !e && ($.value = !1);
138
+ }), M(w, (e, o) => {
139
+ e && e !== o && ($.value = !1);
140
+ }), He(y.store, C, D, p), (e, o) => (a(), u(H, null, [
141
+ m("div", { innerHTML: J.value }, null, 8, Ye),
142
+ m("div", {
143
+ ref_key: "documentEl",
144
+ ref: p,
145
+ class: se(["scalar-app scalar-api-reference references-layout", [
146
+ {
147
+ "scalar-api-references-standalone-mobile": t.value.showSidebar ?? !0,
148
+ "scalar-scrollbars-obtrusive": K.value,
149
+ "references-editable": t.value.isEditable,
150
+ "references-sidebar": t.value.showSidebar,
151
+ "references-sidebar-mobile-open": r($),
152
+ "references-classic": t.value.layout === "classic"
153
+ },
154
+ e.$attrs.class
155
+ ]]),
156
+ style: ae({
157
+ "--scalar-y-offset": `var(--scalar-custom-header-height, ${R.value}px)`
158
+ })
159
+ }, [
160
+ m("div", ze, [
161
+ t.value.layout === "modern" && (t.value.showSidebar ?? !0) ? (a(), h(Oe, {
176
162
  key: 0,
177
- "aria-label": `Sidebar for ${(a = (c = r(b)) == null ? void 0 : c.info) == null ? void 0 : a.title}`,
178
- class: "references-navigation t-doc__sidebar"
163
+ breadcrumb: d.value.breadcrumb
164
+ }, null, 8, ["breadcrumb"])) : i("", !0),
165
+ n(e.$slots, "header", f(v(d.value)), void 0, !0)
166
+ ]),
167
+ t.value.showSidebar ? (a(), u("aside", {
168
+ key: 0,
169
+ "aria-label": `Sidebar for ${r(g)?.info?.title}`,
170
+ class: "references-navigation t-doc__sidebar"
171
+ }, [
172
+ m("div", Qe, [
173
+ c(r(ge), null, {
174
+ default: l(() => [
175
+ c(r(Ue), {
176
+ title: r(g)?.info?.title ?? "The OpenAPI Schema"
177
+ }, {
178
+ "sidebar-start": l(() => [
179
+ e.$slots["document-selector"] ? (a(), u("div", We, [
180
+ n(e.$slots, "document-selector", {}, void 0, !0)
181
+ ])) : i("", !0),
182
+ t.value.hideSearch ? i("", !0) : (a(), u("div", je, [
183
+ c(r(A), {
184
+ hideModels: t.value?.hideModels,
185
+ searchHotKey: t.value?.searchHotKey
186
+ }, null, 8, ["hideModels", "searchHotKey"])
187
+ ])),
188
+ n(e.$slots, "sidebar-start", f(v(d.value)), void 0, !0)
189
+ ]),
190
+ "sidebar-end": l(() => [
191
+ n(e.$slots, "sidebar-end", f(v(d.value)), () => [
192
+ c(r(pe), { class: "darklight-reference" }, {
193
+ toggle: l(() => [
194
+ t.value.hideDarkModeToggle ? (a(), u("span", qe)) : (a(), h(r(he), {
195
+ key: 0,
196
+ modelValue: e.isDark,
197
+ "onUpdate:modelValue": o[0] || (o[0] = (s) => e.$emit("toggleDarkMode"))
198
+ }, null, 8, ["modelValue"]))
199
+ ]),
200
+ default: l(() => [
201
+ t.value.hideClientButton ? i("", !0) : (a(), h(r(ue), {
202
+ key: 0,
203
+ buttonSource: "sidebar",
204
+ integration: t.value._integration,
205
+ isDevelopment: Z,
206
+ url: t.value.url
207
+ }, null, 8, ["integration", "url"]))
208
+ ]),
209
+ _: 1
210
+ })
211
+ ], !0)
212
+ ]),
213
+ _: 3
214
+ }, 8, ["title"])
215
+ ]),
216
+ _: 3
217
+ })
218
+ ])
219
+ ], 8, Ge)) : i("", !0),
220
+ ie(m("div", Je, [
221
+ m("div", Xe, [
222
+ n(e.$slots, "editor", f(v(d.value)), void 0, !0)
223
+ ])
224
+ ], 512), [
225
+ [le, t.value.isEditable]
226
+ ]),
227
+ j.value ? (a(), u(H, { key: 1 }, [
228
+ m("main", {
229
+ "aria-label": `Open API Documentation for ${r(g)?.info?.title}`,
230
+ class: "references-rendered"
179
231
  }, [
180
- p("div", et, [
181
- v(r($e), null, {
182
- default: l(() => {
183
- var n, m;
184
- return [
185
- v(r(je), {
186
- title: ((m = (n = r(b)) == null ? void 0 : n.info) == null ? void 0 : m.title) ?? "The OpenAPI Schema"
187
- }, {
188
- "sidebar-start": l(() => {
189
- var L, V;
190
- return [
191
- e.$slots["document-selector"] ? (s(), f("div", tt, [
192
- d(e.$slots, "document-selector", {}, void 0, !0)
193
- ])) : i("", !0),
194
- t.value.hideSearch ? i("", !0) : (s(), f("div", ot, [
195
- v(r(z), {
196
- hideModels: (L = t.value) == null ? void 0 : L.hideModels,
197
- searchHotKey: (V = t.value) == null ? void 0 : V.searchHotKey
198
- }, null, 8, ["hideModels", "searchHotKey"])
199
- ])),
200
- d(e.$slots, "sidebar-start", h(S(u.value)), void 0, !0)
201
- ];
202
- }),
203
- "sidebar-end": l(() => [
204
- d(e.$slots, "sidebar-end", h(S(u.value)), () => [
205
- v(r(Te), { class: "darklight-reference" }, {
206
- toggle: l(() => [
207
- t.value.hideDarkModeToggle ? (s(), f("span", rt)) : (s(), w(r(Me), {
208
- key: 0,
209
- modelValue: e.isDark,
210
- "onUpdate:modelValue": o[0] || (o[0] = (L) => e.$emit("toggleDarkMode"))
211
- }, null, 8, ["modelValue"]))
212
- ]),
213
- default: l(() => [
214
- t.value.hideClientButton ? i("", !0) : (s(), w(r(Se), {
215
- key: 0,
216
- buttonSource: "sidebar",
217
- integration: t.value._integration,
218
- isDevelopment: ie,
219
- url: t.value.url
220
- }, null, 8, ["integration", "url"]))
221
- ]),
222
- _: 1
223
- })
224
- ], !0)
225
- ]),
226
- _: 3
227
- }, 8, ["title"])
228
- ];
229
- }),
230
- _: 3
231
- })
232
- ])
233
- ], 8, xe)) : i("", !0),
234
- ve(p("div", at, [
235
- p("div", st, [
236
- d(e.$slots, "editor", h(S(u.value)), void 0, !0)
237
- ])
238
- ], 512), [
239
- [ge, t.value.isEditable]
240
- ]),
241
- oe.value ? (s(), f(Y, { key: 1 }, [
242
- p("main", {
243
- "aria-label": `Open API Documentation for ${(k = (g = r(b)) == null ? void 0 : g.info) == null ? void 0 : k.title}`,
244
- class: "references-rendered"
232
+ c(r(Ke), {
233
+ config: t.value,
234
+ store: e.store
235
+ }, ne({
236
+ start: l(() => [
237
+ n(e.$slots, "content-start", f(v(d.value)), void 0, !0),
238
+ t.value.layout === "classic" ? (a(), h(Ie, { key: 0 }, {
239
+ "dark-mode-toggle": l(() => [
240
+ t.value.hideDarkModeToggle ? i("", !0) : (a(), h(r(Se), {
241
+ key: 0,
242
+ class: "text-c-2 hover:text-c-1",
243
+ mode: e.isDark ? "dark" : "light",
244
+ style: { transform: "scale(1.4)" },
245
+ variant: "icon",
246
+ onClick: o[1] || (o[1] = (s) => e.$emit("toggleDarkMode"))
247
+ }, null, 8, ["mode"]))
248
+ ]),
249
+ default: l(() => [
250
+ e.$slots["document-selector"] ? (a(), u("div", xe, [
251
+ n(e.$slots, "document-selector", {}, void 0, !0)
252
+ ])) : i("", !0),
253
+ t.value.hideSearch ? i("", !0) : (a(), h(r(A), {
254
+ key: 1,
255
+ class: "t-doc__sidebar max-w-64",
256
+ hideModels: t.value?.hideModels,
257
+ searchHotKey: t.value.searchHotKey
258
+ }, null, 8, ["hideModels", "searchHotKey"]))
259
+ ]),
260
+ _: 3
261
+ })) : i("", !0)
262
+ ]),
263
+ end: l(() => [
264
+ n(e.$slots, "content-end", f(v(d.value)), void 0, !0)
265
+ ]),
266
+ _: 2
245
267
  }, [
246
- v(r(qe), {
247
- config: t.value,
248
- store: e.store
249
- }, pe({
250
- start: l(() => [
251
- d(e.$slots, "content-start", h(S(u.value)), void 0, !0),
252
- t.value.layout === "classic" ? (s(), w(Fe, { key: 0 }, {
253
- "dark-mode-toggle": l(() => [
254
- t.value.hideDarkModeToggle ? i("", !0) : (s(), w(r(Ce), {
255
- key: 0,
256
- class: "text-c-2 hover:text-c-1",
257
- mode: e.isDark ? "dark" : "light",
258
- style: { transform: "scale(1.4)" },
259
- variant: "icon",
260
- onClick: o[1] || (o[1] = (n) => e.$emit("toggleDarkMode"))
261
- }, null, 8, ["mode"]))
262
- ]),
263
- default: l(() => {
264
- var n;
265
- return [
266
- e.$slots["document-selector"] ? (s(), f("div", lt, [
267
- d(e.$slots, "document-selector", {}, void 0, !0)
268
- ])) : i("", !0),
269
- t.value.hideSearch ? i("", !0) : (s(), w(r(z), {
270
- key: 1,
271
- class: "t-doc__sidebar max-w-64",
272
- hideModels: (n = t.value) == null ? void 0 : n.hideModels,
273
- searchHotKey: t.value.searchHotKey
274
- }, null, 8, ["hideModels", "searchHotKey"]))
275
- ];
276
- }),
277
- _: 3
278
- })) : i("", !0)
279
- ]),
280
- end: l(() => [
281
- d(e.$slots, "content-end", h(S(u.value)), void 0, !0)
268
+ t.value?.isEditable ? {
269
+ name: "empty-state",
270
+ fn: l(() => [
271
+ c(Le, {
272
+ theme: t.value?.theme || "default",
273
+ onChangeTheme: o[2] || (o[2] = (s) => e.$emit("changeTheme", s)),
274
+ onLinkSwaggerFile: o[3] || (o[3] = (s) => e.$emit("linkSwaggerFile")),
275
+ onLoadSwaggerFile: o[4] || (o[4] = (s) => e.$emit("loadSwaggerFile")),
276
+ onUpdateContent: o[5] || (o[5] = (s) => e.$emit("updateContent", s))
277
+ }, null, 8, ["theme"])
282
278
  ]),
283
- _: 2
284
- }, [
285
- (K = t.value) != null && K.isEditable ? {
286
- name: "empty-state",
287
- fn: l(() => {
288
- var n;
289
- return [
290
- v(Pe, {
291
- theme: ((n = t.value) == null ? void 0 : n.theme) || "default",
292
- onChangeTheme: o[2] || (o[2] = (m) => e.$emit("changeTheme", m)),
293
- onLinkSwaggerFile: o[3] || (o[3] = (m) => e.$emit("linkSwaggerFile")),
294
- onLoadSwaggerFile: o[4] || (o[4] = (m) => e.$emit("loadSwaggerFile")),
295
- onUpdateContent: o[5] || (o[5] = (m) => e.$emit("updateContent", m))
296
- }, null, 8, ["theme"])
297
- ];
298
- }),
299
- key: "0"
300
- } : void 0
301
- ]), 1032, ["config", "store"])
302
- ], 8, it),
303
- e.$slots.footer ? (s(), f("div", nt, [
304
- d(e.$slots, "footer", h(S(u.value)), void 0, !0)
305
- ])) : i("", !0)
306
- ], 64)) : i("", !0),
307
- v(r(Je), {
308
- configuration: t.value,
309
- dereferencedDocument: r(b)
310
- }, null, 8, ["configuration", "dereferencedDocument"])
311
- ], 6),
312
- v(r(Re))
313
- ], 64);
314
- };
279
+ key: "0"
280
+ } : void 0
281
+ ]), 1032, ["config", "store"])
282
+ ], 8, Ze),
283
+ e.$slots.footer ? (a(), u("div", et, [
284
+ n(e.$slots, "footer", f(v(d.value)), void 0, !0)
285
+ ])) : i("", !0)
286
+ ], 64)) : i("", !0),
287
+ c(r(Ve), {
288
+ configuration: t.value,
289
+ dereferencedDocument: r(g)
290
+ }, null, 8, ["configuration", "dereferencedDocument"])
291
+ ], 6),
292
+ c(r(Me))
293
+ ], 64));
315
294
  }
316
295
  });
317
296
  export {
318
- Ft as default
297
+ It as default
319
298
  };