@scalar/api-reference 1.35.5 → 1.35.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +53 -0
- package/dist/blocks/helpers/getPointer.d.ts.map +1 -1
- package/dist/browser/standalone.js +19316 -19449
- package/dist/browser/webpack-stats.json +1 -1
- package/dist/components/Anchor/WithBreadcrumb.vue2.js +8 -11
- package/dist/components/ApiReference.vue.js +1 -1
- package/dist/components/ApiReferenceLayout.vue.js +4 -4
- package/dist/components/ApiReferenceLayout.vue2.js +247 -268
- package/dist/components/Badge/Badge.vue.js +1 -1
- package/dist/components/ClassicHeader.vue.js +1 -1
- package/dist/components/Content/Content.vue.js +145 -169
- package/dist/components/Content/Content.vue3.js +1 -1
- package/dist/components/Content/Models/ClassicLayout.vue.js +1 -1
- package/dist/components/Content/Models/ClassicLayout.vue2.js +32 -35
- package/dist/components/Content/Models/Models.vue.js +27 -31
- package/dist/components/Content/Models/ModernLayout.vue.js +1 -1
- package/dist/components/Content/Operations/TraversedEntry.vue.js +32 -35
- package/dist/components/Content/Operations/TraversedEntryContainer.vue.js +26 -27
- package/dist/components/Content/Operations/get-current-index.js +1 -1
- package/dist/components/Content/Schema/Schema.vue.js +1 -1
- package/dist/components/Content/Schema/Schema.vue2.js +68 -74
- package/dist/components/Content/Schema/SchemaComposition.vue.js +42 -45
- package/dist/components/Content/Schema/SchemaEnumPropertyItem.vue.js +1 -1
- package/dist/components/Content/Schema/SchemaEnumValues.vue.js +1 -1
- package/dist/components/Content/Schema/SchemaEnumValues.vue2.js +45 -50
- package/dist/components/Content/Schema/SchemaHeading.vue.js +1 -1
- package/dist/components/Content/Schema/SchemaObjectProperties.vue.js +41 -48
- package/dist/components/Content/Schema/SchemaProperty.vue.js +1 -1
- package/dist/components/Content/Schema/SchemaProperty.vue2.js +142 -157
- package/dist/components/Content/Schema/SchemaPropertyDetail.vue.js +1 -1
- package/dist/components/Content/Schema/SchemaPropertyExamples.vue.js +1 -1
- package/dist/components/Content/Schema/SchemaPropertyHeading.vue.js +1 -1
- package/dist/components/Content/Schema/SchemaPropertyHeading.vue2.js +160 -164
- package/dist/components/Content/Schema/helpers/get-schema-type.js +15 -17
- package/dist/components/Content/Schema/helpers/merge-all-of-schemas.js +74 -77
- package/dist/components/Content/Schema/helpers/optimize-value-for-display.js +10 -11
- package/dist/components/Content/Tags/ClassicLayout.vue.js +1 -1
- package/dist/components/Content/Tags/ClassicLayout.vue2.js +36 -39
- package/dist/components/Content/Tags/ModernLayout.vue.js +1 -1
- package/dist/components/Content/Tags/ModernLayout.vue2.js +31 -35
- package/dist/components/Content/Tags/TagSection.vue.js +86 -92
- package/dist/components/GettingStarted.vue.js +1 -1
- package/dist/components/Lazy/Lazy.vue.d.ts.map +1 -1
- package/dist/components/Lazy/Lazy.vue2.js +2 -2
- package/dist/components/LinkList/LinkList.vue.js +1 -1
- package/dist/components/LoadingSkeleton.vue.js +1 -1
- package/dist/components/MobileHeader.vue.d.ts.map +1 -1
- package/dist/components/MobileHeader.vue.js +3 -3
- package/dist/components/MobileHeader.vue2.js +13 -12
- package/dist/components/OperationPath.vue.js +1 -1
- package/dist/components/OperationsList/OperationsList.vue.js +1 -1
- package/dist/components/OperationsList/OperationsList.vue2.js +45 -51
- package/dist/components/OperationsList/OperationsListItem.vue.js +1 -1
- package/dist/components/ScreenReader.vue.js +1 -1
- package/dist/components/Section/CompactSection.vue.js +1 -1
- package/dist/components/Section/Section.vue.js +1 -1
- package/dist/components/Section/Section.vue2.js +13 -14
- package/dist/components/Section/SectionAccordion.vue.js +1 -1
- package/dist/components/Section/SectionAccordion.vue2.js +29 -30
- package/dist/components/Section/SectionColumn.vue.js +1 -1
- package/dist/components/Section/SectionColumns.vue.js +1 -1
- package/dist/components/Section/SectionContainer.vue.js +1 -1
- package/dist/components/Section/SectionContainerAccordion.vue.js +1 -1
- package/dist/components/Section/SectionContent.vue.js +1 -1
- package/dist/components/Section/SectionHeader.vue.js +1 -1
- package/dist/components/Section/SectionHeaderTag.vue.js +1 -1
- package/dist/components/SectionFlare/SectionFlare.vue.js +1 -1
- package/dist/components/ShowMoreButton.vue.js +1 -1
- package/dist/components/ShowMoreButton.vue2.js +12 -13
- package/dist/features/Operation/Operation.vue.js +31 -36
- package/dist/features/Operation/components/Headers.vue.js +1 -1
- package/dist/features/Operation/components/OperationParameters.vue.js +8 -11
- package/dist/features/Operation/components/ParameterList.vue.js +21 -24
- package/dist/features/Operation/components/ParameterListItem.vue.js +1 -1
- package/dist/features/Operation/components/ParameterListItem.vue2.js +36 -37
- package/dist/features/Operation/components/RequestBody.vue.js +1 -1
- package/dist/features/Operation/components/RequestBody.vue2.js +45 -52
- package/dist/features/Operation/components/callbacks/Callback.vue.js +1 -1
- package/dist/features/Operation/components/callbacks/Callback.vue2.js +32 -35
- package/dist/features/Operation/layouts/ClassicLayout.vue.d.ts.map +1 -1
- package/dist/features/Operation/layouts/ClassicLayout.vue.js +4 -4
- package/dist/features/Operation/layouts/ClassicLayout.vue2.js +114 -119
- package/dist/features/Operation/layouts/ModernLayout.vue.d.ts.map +1 -1
- package/dist/features/Operation/layouts/ModernLayout.vue.js +3 -3
- package/dist/features/Operation/layouts/ModernLayout.vue2.js +87 -89
- package/dist/features/Search/components/SearchButton.vue.js +23 -25
- package/dist/features/Search/components/SearchModal.vue.js +1 -1
- package/dist/features/Search/components/SearchModal.vue2.js +53 -54
- package/dist/features/api-client-modal/ApiClientModal.vue.js +31 -38
- package/dist/features/document-source/hooks/useDocumentFetcher.js +17 -18
- package/dist/features/document-source/hooks/useDocumentSource.d.ts.map +1 -1
- package/dist/features/document-source/hooks/useDocumentSource.js +21 -20
- package/dist/features/example-responses/ExampleResponse.vue.js +1 -1
- package/dist/features/example-responses/ExampleResponse.vue2.js +23 -26
- package/dist/features/example-responses/ExampleResponseTab.vue.js +1 -1
- package/dist/features/example-responses/ExampleResponseTabList.vue.js +1 -1
- package/dist/features/example-responses/ExampleResponses.vue.js +1 -1
- package/dist/features/example-responses/ExampleResponses.vue2.js +128 -153
- package/dist/features/info-object/Contact.vue.js +24 -27
- package/dist/features/info-object/License.vue.js +26 -29
- package/dist/features/multiple-documents/DocumentSelector.vue.js +22 -31
- package/dist/features/multiple-documents/useMultipleDocuments.js +52 -56
- package/dist/features/sidebar/components/Sidebar.vue.d.ts.map +1 -1
- package/dist/features/sidebar/components/Sidebar.vue.js +3 -3
- package/dist/features/sidebar/components/Sidebar.vue2.js +74 -79
- package/dist/features/sidebar/components/SidebarElement.vue.js +3 -3
- package/dist/features/sidebar/components/SidebarElement.vue2.js +52 -53
- package/dist/features/sidebar/components/SidebarGroup.vue.js +1 -1
- package/dist/features/sidebar/components/SidebarHttpBadge.vue.js +1 -1
- package/dist/features/specification-extension/SpecificationExtension.vue2.js +28 -31
- package/dist/features/test-request-button/TestRequestButton.vue.js +1 -1
- package/dist/features/test-request-button/TestRequestButton.vue2.js +1 -2
- package/dist/features/traverse-schema/helpers/traverse-description.js +13 -14
- package/dist/features/traverse-schema/helpers/traverse-document.js +14 -15
- package/dist/features/traverse-schema/helpers/traverse-paths.js +20 -23
- package/dist/features/traverse-schema/helpers/traverse-schemas.js +13 -15
- package/dist/features/traverse-schema/helpers/traverse-webhooks.js +8 -10
- package/dist/hooks/useFreezing.js +14 -14
- package/dist/hooks/useNavState.js +37 -39
- package/dist/index.js +2 -2
- package/dist/libs/openapi.js +28 -31
- package/dist/style.css +1 -1
- package/dist/v2/ApiReferenceWorkspace.vue.d.ts.map +1 -1
- package/dist/v2/ApiReferenceWorkspace.vue.js +102 -103
- package/dist/v2/ApiReferenceWorkspace.vue3.js +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.js +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue2.js +116 -135
- package/dist/v2/blocks/scalar-auth-selector-block/components/DeleteRequestAuthModal.vue.js +40 -47
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.js +45 -46
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesInput.vue.js +109 -125
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.js +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.js +84 -84
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/update-scheme.js +12 -13
- package/dist/v2/blocks/scalar-client-selector-block/components/ClientDropdown.vue.js +1 -1
- package/dist/v2/blocks/scalar-client-selector-block/components/ClientDropdown.vue2.js +1 -4
- package/dist/v2/blocks/scalar-client-selector-block/components/ClientSelector.vue.js +1 -1
- package/dist/v2/blocks/scalar-client-selector-block/components/ClientSelector.vue2.js +77 -82
- package/dist/v2/blocks/scalar-info-block/components/DownloadLink.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-info-block/components/DownloadLink.vue.js +2 -2
- package/dist/v2/blocks/scalar-info-block/components/DownloadLink.vue2.js +56 -50
- package/dist/v2/blocks/scalar-info-block/components/InfoDescription.vue.js +1 -1
- package/dist/v2/blocks/scalar-info-block/components/IntroductionCard.vue.js +1 -1
- package/dist/v2/blocks/scalar-info-block/components/IntroductionCardItem.vue.js +1 -1
- package/dist/v2/blocks/scalar-info-block/components/IntroductionLayout.vue.js +1 -1
- package/dist/v2/blocks/scalar-info-block/components/IntroductionLayout.vue2.js +74 -89
- package/dist/v2/blocks/scalar-request-example-block/components/ExamplePicker.vue2.js +24 -27
- package/dist/v2/blocks/scalar-request-example-block/components/RequestExample.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-request-example-block/components/RequestExample.vue.js +2 -2
- package/dist/v2/blocks/scalar-request-example-block/components/RequestExample.vue2.js +111 -118
- package/dist/v2/blocks/scalar-request-example-block/helpers/find-client.js +11 -12
- package/dist/v2/blocks/scalar-request-example-block/helpers/get-secrets.js +3 -3
- package/dist/v2/blocks/scalar-server-selector-block/components/Selector.vue.js +11 -14
- package/dist/v2/blocks/scalar-server-selector-block/components/ServerSelector.vue.js +45 -48
- package/dist/v2/helpers/get-document-name.js +10 -10
- package/dist/v2/helpers/map-configuration.d.ts.map +1 -1
- package/dist/v2/helpers/map-configuration.js +48 -51
- package/dist/v2/hooks/use-legacy-store-events.js +44 -48
- package/dist/v2/hooks/use-workspace-store-events.js +23 -26
- package/package.json +24 -23
- package/dist/components/ApiReferenceLayout.vue3.js +0 -4
- package/dist/components/ApiReferenceLayout.vue4.js +0 -4
- package/dist/components/ApiReferenceLayout.vue5.js +0 -4
- package/dist/components/ApiReferenceLayout.vue6.js +0 -4
- package/dist/components/Badge/Badge.vue3.js +0 -4
- package/dist/components/ClassicHeader.vue2.js +0 -4
- package/dist/components/Content/Content.vue2.js +0 -4
- package/dist/components/Content/Models/ClassicLayout.vue3.js +0 -4
- package/dist/components/Content/Models/ModernLayout.vue3.js +0 -4
- package/dist/components/Content/Schema/Schema.vue3.js +0 -4
- package/dist/components/Content/Schema/SchemaEnumPropertyItem.vue3.js +0 -4
- package/dist/components/Content/Schema/SchemaEnumValues.vue3.js +0 -4
- package/dist/components/Content/Schema/SchemaHeading.vue3.js +0 -4
- package/dist/components/Content/Schema/SchemaProperty.vue3.js +0 -4
- package/dist/components/Content/Schema/SchemaPropertyDetail.vue3.js +0 -4
- package/dist/components/Content/Schema/SchemaPropertyExamples.vue3.js +0 -4
- package/dist/components/Content/Schema/SchemaPropertyHeading.vue3.js +0 -4
- package/dist/components/Content/Tags/ClassicLayout.vue3.js +0 -4
- package/dist/components/Content/Tags/ModernLayout.vue3.js +0 -4
- package/dist/components/GettingStarted.vue3.js +0 -4
- package/dist/components/LinkList/LinkList.vue3.js +0 -4
- package/dist/components/LoadingSkeleton.vue3.js +0 -4
- package/dist/components/MobileHeader.vue3.js +0 -4
- package/dist/components/OperationPath.vue3.js +0 -4
- package/dist/components/OperationsList/OperationsList.vue3.js +0 -4
- package/dist/components/OperationsList/OperationsListItem.vue3.js +0 -4
- package/dist/components/ScreenReader.vue3.js +0 -4
- package/dist/components/Section/CompactSection.vue3.js +0 -4
- package/dist/components/Section/Section.vue3.js +0 -4
- package/dist/components/Section/SectionAccordion.vue3.js +0 -4
- package/dist/components/Section/SectionColumn.vue2.js +0 -4
- package/dist/components/Section/SectionColumns.vue2.js +0 -4
- package/dist/components/Section/SectionContainer.vue3.js +0 -4
- package/dist/components/Section/SectionContainerAccordion.vue3.js +0 -4
- package/dist/components/Section/SectionContent.vue3.js +0 -4
- package/dist/components/Section/SectionHeader.vue3.js +0 -4
- package/dist/components/Section/SectionHeaderTag.vue3.js +0 -4
- package/dist/components/SectionFlare/SectionFlare.vue2.js +0 -4
- package/dist/components/ShowMoreButton.vue3.js +0 -4
- package/dist/features/Operation/components/Headers.vue3.js +0 -4
- package/dist/features/Operation/components/ParameterListItem.vue3.js +0 -4
- package/dist/features/Operation/components/RequestBody.vue3.js +0 -4
- package/dist/features/Operation/components/callbacks/Callback.vue3.js +0 -4
- package/dist/features/Operation/layouts/ClassicLayout.vue3.js +0 -4
- package/dist/features/Operation/layouts/ModernLayout.vue3.js +0 -4
- package/dist/features/Search/components/SearchModal.vue3.js +0 -4
- package/dist/features/example-responses/ExampleResponse.vue3.js +0 -4
- package/dist/features/example-responses/ExampleResponseTab.vue3.js +0 -4
- package/dist/features/example-responses/ExampleResponseTabList.vue3.js +0 -4
- package/dist/features/example-responses/ExampleResponses.vue3.js +0 -4
- package/dist/features/sidebar/components/Sidebar.vue3.js +0 -4
- package/dist/features/sidebar/components/SidebarElement.vue3.js +0 -4
- package/dist/features/sidebar/components/SidebarGroup.vue3.js +0 -4
- package/dist/features/sidebar/components/SidebarHttpBadge.vue3.js +0 -4
- package/dist/features/test-request-button/TestRequestButton.vue3.js +0 -4
- package/dist/v2/ApiReferenceWorkspace.vue2.js +0 -4
- package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue3.js +0 -4
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue3.js +0 -4
- package/dist/v2/blocks/scalar-client-selector-block/components/ClientDropdown.vue3.js +0 -4
- package/dist/v2/blocks/scalar-client-selector-block/components/ClientSelector.vue3.js +0 -4
- package/dist/v2/blocks/scalar-info-block/components/DownloadLink.vue3.js +0 -4
- package/dist/v2/blocks/scalar-info-block/components/InfoDescription.vue3.js +0 -4
- package/dist/v2/blocks/scalar-info-block/components/IntroductionCard.vue3.js +0 -4
- package/dist/v2/blocks/scalar-info-block/components/IntroductionCardItem.vue2.js +0 -4
- package/dist/v2/blocks/scalar-info-block/components/IntroductionLayout.vue3.js +0 -4
- 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(),
|
|
14
|
-
|
|
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 (
|
|
16
|
+
return (t, l) => t.breadcrumb ? (f(), m("div", {
|
|
20
17
|
key: 0,
|
|
21
18
|
class: "relative scroll-mt-24",
|
|
22
|
-
id:
|
|
19
|
+
id: e.value
|
|
23
20
|
}, [
|
|
24
|
-
o(
|
|
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(
|
|
32
|
+
o(t.$slots, "sr-label", {}, () => [
|
|
36
33
|
l[0] || (l[0] = y("Copy link to ")),
|
|
37
|
-
o(
|
|
34
|
+
o(t.$slots, "default")
|
|
38
35
|
])
|
|
39
36
|
])
|
|
40
37
|
])
|
|
41
|
-
], 8, S)) : o(
|
|
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
|
-
|
|
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
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
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
|
|
2
|
-
import { provideUseId as
|
|
3
|
-
import { OpenApiClientButton as
|
|
4
|
-
import { LAYOUT_SYMBOL as
|
|
5
|
-
import { WORKSPACE_SYMBOL as
|
|
6
|
-
import { addScalarClassesToHeadless as
|
|
7
|
-
import { sleep as
|
|
8
|
-
import { hasObtrusiveScrollbars as
|
|
9
|
-
import { apiReferenceConfigurationSchema as
|
|
10
|
-
import { useBreakpoints as
|
|
11
|
-
import { useToasts as
|
|
12
|
-
import { useMediaQuery as
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import { hasLazyLoaded as
|
|
16
|
-
import
|
|
17
|
-
import { CONFIGURATION_SYMBOL as
|
|
18
|
-
import { useNavState as
|
|
19
|
-
import { useLegacyStoreEvents as
|
|
20
|
-
import { useDocumentSource as
|
|
21
|
-
import { useSidebar as
|
|
22
|
-
import { PLUGIN_MANAGER_SYMBOL as
|
|
23
|
-
import { createPluginManager as
|
|
24
|
-
import
|
|
25
|
-
import
|
|
26
|
-
import
|
|
27
|
-
|
|
28
|
-
import
|
|
29
|
-
const
|
|
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
|
-
},
|
|
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
|
-
},
|
|
35
|
+
}, et = {
|
|
36
36
|
key: 0,
|
|
37
37
|
class: "references-footer"
|
|
38
|
-
},
|
|
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(
|
|
51
|
-
const t =
|
|
52
|
-
() =>
|
|
53
|
-
), { initializeToasts:
|
|
54
|
-
|
|
55
|
-
const { dereferencedDocument:
|
|
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:
|
|
58
|
-
originalDocument:
|
|
57
|
+
dereferencedDocument: y.dereferencedDocument,
|
|
58
|
+
originalDocument: y.originalDocument
|
|
59
59
|
});
|
|
60
|
-
|
|
61
|
-
const
|
|
62
|
-
|
|
63
|
-
|
|
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
|
|
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:
|
|
70
|
-
getPathRoutingId:
|
|
71
|
-
getSectionId:
|
|
72
|
-
getTagId:
|
|
73
|
-
hash:
|
|
74
|
-
isIntersectionEnabled:
|
|
75
|
-
updateHash:
|
|
76
|
-
replaceUrlState:
|
|
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
|
-
|
|
85
|
-
|
|
84
|
+
ee(() => {
|
|
85
|
+
B(), ve();
|
|
86
86
|
});
|
|
87
|
-
const
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
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 =
|
|
92
|
+
const e = p.value?.parentElement?.getBoundingClientRect(), o = p.value?.getBoundingClientRect();
|
|
95
93
|
if (e && o) {
|
|
96
|
-
const
|
|
97
|
-
|
|
94
|
+
const s = o.top - e.top;
|
|
95
|
+
R.value = s < 2 ? 0 : s;
|
|
98
96
|
}
|
|
99
97
|
window.onhashchange = () => {
|
|
100
|
-
|
|
101
|
-
}, window.onpopstate = () => t.value.pathRouting &&
|
|
98
|
+
O(Y());
|
|
99
|
+
}, window.onpopstate = () => t.value.pathRouting && O(z(window.location.pathname)), window.addEventListener("scroll", _, { passive: !0 });
|
|
102
100
|
});
|
|
103
|
-
const
|
|
104
|
-
() =>
|
|
105
|
-
),
|
|
106
|
-
window.scrollY < 50 &&
|
|
107
|
-
}),
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
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
|
|
118
|
-
|
|
114
|
+
const o = I.value.entries.find((s) => "tag" in s);
|
|
115
|
+
o && T(o.id, !0);
|
|
119
116
|
}
|
|
120
|
-
|
|
117
|
+
q.value = !0;
|
|
121
118
|
});
|
|
122
|
-
const
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
})
|
|
128
|
-
|
|
129
|
-
|
|
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
|
|
130
|
+
const J = S(
|
|
137
131
|
() => `<style>
|
|
138
|
-
${
|
|
132
|
+
${we(t.value.theme, {
|
|
139
133
|
fonts: t.value.withDefaultFonts
|
|
140
134
|
})}</style>`
|
|
141
|
-
), { mediaQueries:
|
|
142
|
-
return
|
|
143
|
-
o && !e && (
|
|
144
|
-
}),
|
|
145
|
-
e && e !== o && (
|
|
146
|
-
}),
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
p
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
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
|
-
|
|
178
|
-
|
|
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
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
"
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
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
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
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
|
-
|
|
284
|
-
}
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
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
|
-
|
|
297
|
+
It as default
|
|
319
298
|
};
|