@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
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { ScalarCard as
|
|
3
|
-
import { freezeElement as
|
|
4
|
-
import { ScalarIconCaretDown as
|
|
5
|
-
import { operationToHar as
|
|
6
|
-
import { emitCustomEvent as
|
|
7
|
-
import { getResolvedRef as
|
|
8
|
-
import { getResolvedRefDeep as
|
|
9
|
-
import { findClient as
|
|
10
|
-
import { generateCustomId as
|
|
11
|
-
import { generateCodeSnippet as
|
|
12
|
-
import { getSecrets as
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
const
|
|
1
|
+
import { defineComponent as D, computed as u, ref as k, watch as H, useId as I, createBlock as h, createCommentVNode as m, openBlock as i, unref as o, withCtx as n, createVNode as s, createSlots as N, createElementVNode as y, createElementBlock as S, renderSlot as C, toDisplayString as z } from "vue";
|
|
2
|
+
import { ScalarCard as E, ScalarCardHeader as K, ScalarCombobox as M, ScalarButton as F, ScalarCardSection as q, ScalarCodeBlock as U, ScalarCardFooter as A } from "@scalar/components";
|
|
3
|
+
import { freezeElement as G } from "@scalar/helpers/dom/freeze-element";
|
|
4
|
+
import { ScalarIconCaretDown as J } from "@scalar/icons";
|
|
5
|
+
import { operationToHar as P } from "@scalar/oas-utils/helpers/operation-to-har";
|
|
6
|
+
import { emitCustomEvent as T } from "@scalar/workspace-store/events";
|
|
7
|
+
import { getResolvedRef as Q } from "@scalar/workspace-store/helpers/get-resolved-ref";
|
|
8
|
+
import { getResolvedRefDeep as $ } from "../../../../features/example-responses/helpers/get-resolved-ref-deep.js";
|
|
9
|
+
import { findClient as j } from "../helpers/find-client.js";
|
|
10
|
+
import { generateCustomId as B } from "../helpers/generate-client-options.js";
|
|
11
|
+
import { generateCodeSnippet as X } from "../helpers/generate-code-snippet.js";
|
|
12
|
+
import { getSecrets as Y } from "../helpers/get-secrets.js";
|
|
13
|
+
import Z from "./ExamplePicker.vue2.js";
|
|
14
|
+
import V from "../../../../components/HttpMethod/HttpMethod.vue.js";
|
|
15
|
+
const _ = ["innerHTML"], ee = { class: "text-base font-normal" }, te = ["id"], le = {
|
|
16
16
|
key: 0,
|
|
17
17
|
class: "request-card-footer-addon"
|
|
18
|
-
},
|
|
19
|
-
...
|
|
18
|
+
}, oe = { class: "request-header" }, ae = {}, be = /* @__PURE__ */ D({
|
|
19
|
+
...ae,
|
|
20
20
|
__name: "RequestExample",
|
|
21
21
|
props: {
|
|
22
22
|
clientOptions: {},
|
|
@@ -33,133 +33,124 @@ const se = ["innerHTML"], ne = { class: "text-base font-normal" }, re = ["id"],
|
|
|
33
33
|
isWebhook: { type: Boolean }
|
|
34
34
|
},
|
|
35
35
|
setup(l) {
|
|
36
|
-
const c =
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
}), v = x(
|
|
36
|
+
const c = u(() => {
|
|
37
|
+
const e = Q(l.operation.requestBody)?.content ?? {}, t = l.selectedContentType || Object.keys(e)[0];
|
|
38
|
+
return e[t]?.examples ?? {};
|
|
39
|
+
}), f = k(
|
|
41
40
|
l.selectedExample ?? Object.keys(c.value)[0]
|
|
42
|
-
),
|
|
41
|
+
), b = u(() => [
|
|
43
42
|
"x-custom-examples",
|
|
44
43
|
"x-codeSamples",
|
|
45
44
|
"x-code-samples"
|
|
46
|
-
].flatMap((t) => l.operation[t] ?? [])), p =
|
|
45
|
+
].flatMap((t) => l.operation[t] ?? [])), p = u(() => b.value.length ? [
|
|
47
46
|
{
|
|
48
47
|
label: "Code Examples",
|
|
49
|
-
options:
|
|
50
|
-
const
|
|
48
|
+
options: b.value.map((t) => {
|
|
49
|
+
const a = B(t), v = t.label || t.lang || a;
|
|
51
50
|
return {
|
|
52
|
-
id:
|
|
51
|
+
id: a,
|
|
53
52
|
lang: t.lang || "plaintext",
|
|
54
|
-
title:
|
|
55
|
-
label:
|
|
53
|
+
title: v,
|
|
54
|
+
label: v
|
|
56
55
|
};
|
|
57
56
|
})
|
|
58
57
|
},
|
|
59
58
|
...l.clientOptions
|
|
60
|
-
] : l.clientOptions),
|
|
61
|
-
|
|
59
|
+
] : l.clientOptions), r = k(
|
|
60
|
+
j(p.value, l.selectedClient) ?? null
|
|
62
61
|
);
|
|
63
|
-
|
|
62
|
+
H(
|
|
64
63
|
() => l.selectedClient,
|
|
65
64
|
(e) => {
|
|
66
|
-
const t =
|
|
67
|
-
t && (
|
|
65
|
+
const t = j(p.value, e);
|
|
66
|
+
t && (r.value = t);
|
|
68
67
|
}
|
|
69
68
|
);
|
|
70
|
-
const
|
|
69
|
+
const g = u(() => {
|
|
71
70
|
if (!l.isWebhook) return null;
|
|
72
71
|
try {
|
|
73
|
-
const e = c.value[
|
|
74
|
-
return
|
|
72
|
+
const e = c.value[f.value || ""], t = $(e), a = t?.value ?? t?.summary;
|
|
73
|
+
return P({ operation: l.operation, method: l.method, path: l.path, example: a });
|
|
75
74
|
} catch (e) {
|
|
76
75
|
return console.error("[webhookHar]", e), null;
|
|
77
76
|
}
|
|
78
|
-
}),
|
|
79
|
-
var e, t, o, s, f;
|
|
77
|
+
}), x = u(() => {
|
|
80
78
|
try {
|
|
81
|
-
if (
|
|
82
|
-
return
|
|
83
|
-
(
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
const S = c.value[v.value || ""], d = E(S), K = (d == null ? void 0 : d.value) ?? (d == null ? void 0 : d.summary);
|
|
89
|
-
return l.isWebhook ? ((s = (o = y.value) == null ? void 0 : o.postData) == null ? void 0 : s.text) ?? "" : le({
|
|
90
|
-
clientId: (f = u.value) == null ? void 0 : f.id,
|
|
79
|
+
if (r.value?.id.startsWith("custom"))
|
|
80
|
+
return b.value.find(
|
|
81
|
+
(v) => B(v) === r.value?.id
|
|
82
|
+
)?.source ?? "Custom example not found";
|
|
83
|
+
const e = c.value[f.value || ""], t = $(e), a = t?.value ?? t?.summary;
|
|
84
|
+
return l.isWebhook ? g.value?.postData?.text ?? "" : X({
|
|
85
|
+
clientId: r.value?.id,
|
|
91
86
|
operation: l.operation,
|
|
92
87
|
method: l.method,
|
|
93
88
|
server: l.selectedServer,
|
|
94
89
|
securitySchemes: l.securitySchemes,
|
|
95
90
|
contentType: l.selectedContentType,
|
|
96
91
|
path: l.path,
|
|
97
|
-
example:
|
|
92
|
+
example: a
|
|
98
93
|
});
|
|
99
|
-
} catch (
|
|
100
|
-
return console.error("[generateSnippet]",
|
|
94
|
+
} catch (e) {
|
|
95
|
+
return console.error("[generateSnippet]", e), "";
|
|
101
96
|
}
|
|
102
|
-
}),
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
if (
|
|
108
|
-
|
|
109
|
-
return e != null && e.includes("json") ? "json" : e != null && e.includes("xml") ? "xml" : e != null && e.includes("yaml") || e != null && e.includes("yml") ? "yaml" : e != null && e.includes("text/plain") ? "text" : "json";
|
|
110
|
-
}), I = i(() => oe(l.securitySchemes)), m = x(null), N = (e) => {
|
|
111
|
-
var t;
|
|
112
|
-
if (m.value) {
|
|
113
|
-
const o = Z(m.value.$el);
|
|
97
|
+
}), w = u(() => l.isWebhook ? O.value : r.value?.lang), O = u(() => {
|
|
98
|
+
if (!g.value?.postData) return "json";
|
|
99
|
+
const e = g.value.postData.mimeType;
|
|
100
|
+
return e?.includes("json") ? "json" : e?.includes("xml") ? "xml" : e?.includes("yaml") || e?.includes("yml") ? "yaml" : e?.includes("text/plain") ? "text" : "json";
|
|
101
|
+
}), W = u(() => Y(l.securitySchemes)), d = k(null), L = (e) => {
|
|
102
|
+
if (d.value) {
|
|
103
|
+
const t = G(d.value.$el);
|
|
114
104
|
setTimeout(() => {
|
|
115
|
-
|
|
105
|
+
t();
|
|
116
106
|
}, 300);
|
|
117
107
|
}
|
|
118
|
-
|
|
119
|
-
},
|
|
120
|
-
return (e, t) =>
|
|
108
|
+
r.value = e, e.id.startsWith("custom") || T(d.value?.$el, "scalar-update-selected-client", e.id);
|
|
109
|
+
}, R = I();
|
|
110
|
+
return (e, t) => x.value ? (i(), h(o(E), {
|
|
121
111
|
key: 0,
|
|
122
112
|
ref_key: "elem",
|
|
123
|
-
ref:
|
|
113
|
+
ref: d,
|
|
124
114
|
class: "request-card dark-mode"
|
|
125
115
|
}, {
|
|
126
|
-
default:
|
|
127
|
-
|
|
128
|
-
default:
|
|
129
|
-
t[3] || (t[3] =
|
|
130
|
-
|
|
116
|
+
default: n(() => [
|
|
117
|
+
s(o(K), { class: "pr-2.5" }, N({
|
|
118
|
+
default: n(() => [
|
|
119
|
+
t[3] || (t[3] = y("span", { class: "sr-only" }, "Request Example for", -1)),
|
|
120
|
+
s(o(V), {
|
|
131
121
|
as: "span",
|
|
132
122
|
class: "request-method",
|
|
133
123
|
method: e.method
|
|
134
124
|
}, null, 8, ["method"]),
|
|
135
|
-
e.generateLabel ? (
|
|
125
|
+
e.generateLabel ? (i(), S("span", {
|
|
136
126
|
key: 0,
|
|
137
127
|
innerHTML: e.generateLabel()
|
|
138
|
-
}, null, 8,
|
|
128
|
+
}, null, 8, _)) : m("", !0),
|
|
129
|
+
C(e.$slots, "header", {}, void 0, !0)
|
|
139
130
|
]),
|
|
140
131
|
_: 2
|
|
141
132
|
}, [
|
|
142
133
|
!e.isWebhook && p.value.length ? {
|
|
143
134
|
name: "actions",
|
|
144
|
-
fn:
|
|
145
|
-
|
|
135
|
+
fn: n(() => [
|
|
136
|
+
s(o(M), {
|
|
146
137
|
class: "max-h-80",
|
|
147
|
-
modelValue:
|
|
138
|
+
modelValue: r.value,
|
|
148
139
|
options: p.value,
|
|
149
140
|
placement: "bottom-end",
|
|
150
141
|
teleport: "",
|
|
151
|
-
"onUpdate:modelValue": t[0] || (t[0] = (
|
|
142
|
+
"onUpdate:modelValue": t[0] || (t[0] = (a) => L(a))
|
|
152
143
|
}, {
|
|
153
|
-
default:
|
|
154
|
-
|
|
144
|
+
default: n(() => [
|
|
145
|
+
s(o(F), {
|
|
155
146
|
class: "text-c-2 hover:text-c-1 flex h-full w-fit gap-1.5 px-0.5",
|
|
156
147
|
"data-testid": "client-picker",
|
|
157
148
|
fullWidth: "",
|
|
158
149
|
variant: "ghost"
|
|
159
150
|
}, {
|
|
160
|
-
default:
|
|
161
|
-
|
|
162
|
-
|
|
151
|
+
default: n(() => [
|
|
152
|
+
y("span", ee, z(r.value.title), 1),
|
|
153
|
+
s(o(J), {
|
|
163
154
|
class: "ui-open:rotate-180 mt-0.25 size-3 transition-transform duration-100",
|
|
164
155
|
weight: "bold"
|
|
165
156
|
})
|
|
@@ -173,71 +164,73 @@ const se = ["innerHTML"], ne = { class: "text-base font-normal" }, re = ["id"],
|
|
|
173
164
|
key: "0"
|
|
174
165
|
} : void 0
|
|
175
166
|
]), 1024),
|
|
176
|
-
|
|
177
|
-
default:
|
|
178
|
-
|
|
179
|
-
id: `${
|
|
167
|
+
s(o(q), { class: "request-editor-section custom-scroll p-0" }, {
|
|
168
|
+
default: n(() => [
|
|
169
|
+
y("div", {
|
|
170
|
+
id: `${o(R)}-example`,
|
|
180
171
|
class: "code-snippet"
|
|
181
172
|
}, [
|
|
182
|
-
|
|
173
|
+
s(o(U), {
|
|
183
174
|
class: "bg-b-2 !min-h-full -outline-offset-2",
|
|
184
|
-
content:
|
|
185
|
-
hideCredentials:
|
|
186
|
-
lang:
|
|
175
|
+
content: x.value,
|
|
176
|
+
hideCredentials: W.value,
|
|
177
|
+
lang: w.value,
|
|
187
178
|
lineNumbers: ""
|
|
188
179
|
}, null, 8, ["content", "hideCredentials", "lang"])
|
|
189
|
-
], 8,
|
|
180
|
+
], 8, te)
|
|
190
181
|
]),
|
|
191
182
|
_: 1
|
|
192
183
|
}),
|
|
193
|
-
Object.keys(c.value).length || e.$slots.footer ? (
|
|
184
|
+
Object.keys(c.value).length > 1 || e.$slots.footer ? (i(), h(o(A), {
|
|
194
185
|
key: 0,
|
|
195
186
|
class: "request-card-footer bg-b-3"
|
|
196
187
|
}, {
|
|
197
|
-
default:
|
|
198
|
-
Object.keys(c.value).length ? (
|
|
199
|
-
|
|
200
|
-
|
|
188
|
+
default: n(() => [
|
|
189
|
+
Object.keys(c.value).length > 1 ? (i(), S("div", le, [
|
|
190
|
+
Object.keys(c.value).length ? (i(), h(Z, {
|
|
191
|
+
key: 0,
|
|
192
|
+
modelValue: f.value,
|
|
201
193
|
"onUpdate:modelValue": [
|
|
202
|
-
t[1] || (t[1] = (
|
|
203
|
-
t[2] || (t[2] = (
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
194
|
+
t[1] || (t[1] = (a) => f.value = a),
|
|
195
|
+
t[2] || (t[2] = (a) => o(T)(
|
|
196
|
+
d.value?.$el,
|
|
197
|
+
"scalar-update-selected-example",
|
|
198
|
+
a
|
|
199
|
+
))
|
|
207
200
|
],
|
|
208
201
|
examples: c.value
|
|
209
|
-
}, null, 8, ["modelValue", "examples"])
|
|
210
|
-
])) :
|
|
211
|
-
|
|
202
|
+
}, null, 8, ["modelValue", "examples"])) : m("", !0)
|
|
203
|
+
])) : m("", !0),
|
|
204
|
+
C(e.$slots, "footer", {}, void 0, !0)
|
|
212
205
|
]),
|
|
213
206
|
_: 3
|
|
214
|
-
})) :
|
|
207
|
+
})) : m("", !0)
|
|
215
208
|
]),
|
|
216
209
|
_: 3
|
|
217
|
-
}, 512)) : e.fallback ? (
|
|
210
|
+
}, 512)) : e.fallback ? (i(), h(o(E), {
|
|
218
211
|
key: 1,
|
|
219
212
|
class: "request-card dark-mode"
|
|
220
213
|
}, {
|
|
221
|
-
default:
|
|
222
|
-
|
|
223
|
-
default:
|
|
224
|
-
|
|
225
|
-
|
|
214
|
+
default: n(() => [
|
|
215
|
+
s(o(q), { class: "request-card-simple" }, {
|
|
216
|
+
default: n(() => [
|
|
217
|
+
y("div", oe, [
|
|
218
|
+
s(o(V), {
|
|
226
219
|
as: "span",
|
|
227
220
|
class: "request-method",
|
|
228
221
|
method: e.method
|
|
229
222
|
}, null, 8, ["method"]),
|
|
230
|
-
|
|
223
|
+
C(e.$slots, "header", {}, void 0, !0)
|
|
231
224
|
]),
|
|
232
|
-
|
|
225
|
+
C(e.$slots, "footer", {}, void 0, !0)
|
|
233
226
|
]),
|
|
234
227
|
_: 3
|
|
235
228
|
})
|
|
236
229
|
]),
|
|
237
230
|
_: 3
|
|
238
|
-
})) :
|
|
231
|
+
})) : m("", !0);
|
|
239
232
|
}
|
|
240
233
|
});
|
|
241
234
|
export {
|
|
242
|
-
|
|
235
|
+
be as default
|
|
243
236
|
};
|
|
@@ -1,23 +1,22 @@
|
|
|
1
|
-
import { AVAILABLE_CLIENTS as
|
|
2
|
-
const
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
if (r)
|
|
1
|
+
import { AVAILABLE_CLIENTS as f } from "@scalar/snippetz";
|
|
2
|
+
const c = "shell/curl", d = (o) => f.includes(o), u = (o, s) => {
|
|
3
|
+
const r = o[0]?.options[0];
|
|
4
|
+
if (s)
|
|
6
5
|
for (const i of o) {
|
|
7
|
-
const t = i.options.find((
|
|
6
|
+
const t = i.options.find((n) => n.id === s);
|
|
8
7
|
if (t)
|
|
9
8
|
return t;
|
|
10
9
|
}
|
|
11
|
-
if (!
|
|
10
|
+
if (!r?.id.startsWith("custom"))
|
|
12
11
|
for (const i of o) {
|
|
13
|
-
const t = i.options.find((
|
|
12
|
+
const t = i.options.find((n) => n.id === c);
|
|
14
13
|
if (t)
|
|
15
14
|
return t;
|
|
16
15
|
}
|
|
17
|
-
return
|
|
16
|
+
return r;
|
|
18
17
|
};
|
|
19
18
|
export {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
19
|
+
c as DEFAULT_CLIENT,
|
|
20
|
+
u as findClient,
|
|
21
|
+
d as isClient
|
|
23
22
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { isDefined as
|
|
1
|
+
import { isDefined as e } from "@scalar/helpers/array/is-defined";
|
|
2
2
|
import { encode as s } from "js-base64";
|
|
3
|
-
const p = (t) => t.flatMap((r) => r.type === "apiKey" ? r["x-scalar-secret-token"] :
|
|
3
|
+
const p = (t) => t.flatMap((r) => r.type === "apiKey" ? r["x-scalar-secret-token"] : r?.type === "http" ? [
|
|
4
4
|
r["x-scalar-secret-token"],
|
|
5
5
|
r["x-scalar-secret-username"],
|
|
6
6
|
r["x-scalar-secret-password"],
|
|
7
7
|
s(`${r["x-scalar-secret-username"]}:${r["x-scalar-secret-password"]}`)
|
|
8
|
-
] : r.type === "oauth2" ? Object.values(r.flows).map((a) => a["x-scalar-secret-token"]) : []).filter(
|
|
8
|
+
] : r.type === "oauth2" ? Object.values(r.flows).map((a) => a["x-scalar-secret-token"]) : []).filter(e);
|
|
9
9
|
export {
|
|
10
10
|
p as getSecrets
|
|
11
11
|
};
|
|
@@ -12,21 +12,18 @@ const k = { class: "overflow-x-auto" }, B = {
|
|
|
12
12
|
target: {}
|
|
13
13
|
},
|
|
14
14
|
emits: ["update:modelValue"],
|
|
15
|
-
setup(
|
|
15
|
+
setup(t, { expose: p, emit: f }) {
|
|
16
16
|
const x = f, a = l(
|
|
17
|
-
() =>
|
|
17
|
+
() => t.servers.map((e) => ({
|
|
18
18
|
id: e.url,
|
|
19
19
|
label: e.url
|
|
20
20
|
}))
|
|
21
|
-
), i = l(() =>
|
|
22
|
-
() =>
|
|
23
|
-
var e, t;
|
|
24
|
-
return ((t = (e = i.value) == null ? void 0 : e.url) == null ? void 0 : t.replace(/\/$/, "")) || "";
|
|
25
|
-
}
|
|
21
|
+
), i = l(() => t.servers.find((e) => e.url === t.xSelectedServer)), s = l(
|
|
22
|
+
() => i.value?.url?.replace(/\/$/, "") || ""
|
|
26
23
|
), n = l({
|
|
27
24
|
get: () => {
|
|
28
|
-
if (
|
|
29
|
-
return a.value.find((e) => e.id ===
|
|
25
|
+
if (t.xSelectedServer && a.value.length > 0)
|
|
26
|
+
return a.value.find((e) => e.id === t.xSelectedServer);
|
|
30
27
|
},
|
|
31
28
|
set: (e) => {
|
|
32
29
|
e && x("update:modelValue", e.id);
|
|
@@ -34,15 +31,15 @@ const k = { class: "overflow-x-auto" }, B = {
|
|
|
34
31
|
});
|
|
35
32
|
return p({
|
|
36
33
|
server: i,
|
|
37
|
-
servers:
|
|
34
|
+
servers: t.servers,
|
|
38
35
|
serverUrlWithoutTrailingSlash: s,
|
|
39
36
|
serverOptions: a,
|
|
40
37
|
selectedServer: n
|
|
41
|
-
}), (e,
|
|
38
|
+
}), (e, r) => a.value.length > 1 ? (d(), w(u(h), {
|
|
42
39
|
key: 0,
|
|
43
40
|
ref: "elem",
|
|
44
41
|
modelValue: n.value,
|
|
45
|
-
"onUpdate:modelValue":
|
|
42
|
+
"onUpdate:modelValue": r[0] || (r[0] = (g) => n.value = g),
|
|
46
43
|
class: "group",
|
|
47
44
|
options: a.value,
|
|
48
45
|
placement: "bottom-start",
|
|
@@ -55,7 +52,7 @@ const k = { class: "overflow-x-auto" }, B = {
|
|
|
55
52
|
variant: "ghost"
|
|
56
53
|
}, {
|
|
57
54
|
default: c(() => [
|
|
58
|
-
|
|
55
|
+
r[1] || (r[1] = o("span", { class: "sr-only" }, "Server:", -1)),
|
|
59
56
|
o("span", k, m(s.value), 1),
|
|
60
57
|
v(u(V), {
|
|
61
58
|
class: "text-c-2 ui-open:rotate-180 mt-0.25 size-3 transition-transform duration-100",
|
|
@@ -68,7 +65,7 @@ const k = { class: "overflow-x-auto" }, B = {
|
|
|
68
65
|
]),
|
|
69
66
|
_: 1
|
|
70
67
|
}, 8, ["modelValue", "options", "target"])) : (d(), b("div", B, [
|
|
71
|
-
|
|
68
|
+
r[2] || (r[2] = o("span", { class: "sr-only" }, "Server:", -1)),
|
|
72
69
|
o("span", C, m(s.value), 1)
|
|
73
70
|
]));
|
|
74
71
|
}
|
|
@@ -1,72 +1,69 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { ServerVariablesForm as
|
|
3
|
-
import { ScalarMarkdown as
|
|
4
|
-
import { emitCustomEvent as
|
|
5
|
-
import { templateRef as
|
|
6
|
-
import
|
|
7
|
-
const
|
|
8
|
-
...
|
|
1
|
+
import { defineComponent as f, useId as p, computed as b, watch as S, nextTick as x, createElementBlock as g, openBlock as n, Fragment as k, createElementVNode as u, createVNode as y, createBlock as i, createCommentVNode as c, normalizeClass as V, unref as o } from "vue";
|
|
2
|
+
import { ServerVariablesForm as h } from "@scalar/api-client/components/Server";
|
|
3
|
+
import { ScalarMarkdown as C } from "@scalar/components";
|
|
4
|
+
import { emitCustomEvent as v } from "@scalar/workspace-store/events";
|
|
5
|
+
import { templateRef as R } from "@vueuse/core";
|
|
6
|
+
import _ from "./Selector.vue.js";
|
|
7
|
+
const B = ["id"], E = {}, M = /* @__PURE__ */ f({
|
|
8
|
+
...E,
|
|
9
9
|
__name: "ServerSelector",
|
|
10
10
|
props: {
|
|
11
11
|
xSelectedServer: {},
|
|
12
12
|
servers: {}
|
|
13
13
|
},
|
|
14
14
|
setup(t) {
|
|
15
|
-
const s =
|
|
16
|
-
|
|
15
|
+
const s = p(), d = (e) => {
|
|
16
|
+
v(a.value, "scalar-update-selected-server", {
|
|
17
17
|
value: e
|
|
18
18
|
});
|
|
19
|
-
},
|
|
20
|
-
a.value &&
|
|
19
|
+
}, m = (e, l) => {
|
|
20
|
+
a.value && v(
|
|
21
21
|
a.value,
|
|
22
22
|
"scalar-update-selected-server-variables",
|
|
23
23
|
{ key: e, value: l }
|
|
24
24
|
);
|
|
25
|
-
}, r =
|
|
26
|
-
|
|
25
|
+
}, r = b(() => t.servers.find((e) => e.url === t.xSelectedServer));
|
|
26
|
+
S(
|
|
27
27
|
() => t.servers,
|
|
28
28
|
(e) => {
|
|
29
|
-
e.length && (t.xSelectedServer ||
|
|
29
|
+
e.length && (t.xSelectedServer || x(() => {
|
|
30
30
|
d(e[0].url);
|
|
31
31
|
}));
|
|
32
32
|
},
|
|
33
33
|
{ immediate: !0 }
|
|
34
34
|
);
|
|
35
|
-
const a =
|
|
36
|
-
return (e, l) =>
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
}, [
|
|
48
|
-
e.servers.length ? (n(), f(F, {
|
|
49
|
-
key: 0,
|
|
50
|
-
servers: e.servers,
|
|
51
|
-
target: o(s),
|
|
52
|
-
xSelectedServer: e.xSelectedServer,
|
|
53
|
-
"onUpdate:modelValue": d
|
|
54
|
-
}, null, 8, ["servers", "target", "xSelectedServer"])) : p("", !0)
|
|
55
|
-
], 10, U),
|
|
56
|
-
R(o(B), {
|
|
57
|
-
layout: "reference",
|
|
58
|
-
variables: (c = r.value) == null ? void 0 : c.variables,
|
|
59
|
-
"onUpdate:variable": S
|
|
60
|
-
}, null, 8, ["variables"]),
|
|
61
|
-
(v = r.value) != null && v.description ? (n(), f(o(E), {
|
|
35
|
+
const a = R("containerRef");
|
|
36
|
+
return (e, l) => (n(), g(k, null, [
|
|
37
|
+
l[0] || (l[0] = u("label", { class: "bg-b-2 flex h-8 items-center rounded-t-lg border border-b-0 px-3 py-2.5 font-medium" }, " Server ", -1)),
|
|
38
|
+
u("div", {
|
|
39
|
+
id: o(s),
|
|
40
|
+
ref_key: "containerRef",
|
|
41
|
+
ref: a,
|
|
42
|
+
class: V(["border", {
|
|
43
|
+
"rounded-b-lg": !r.value?.description && !r.value?.variables
|
|
44
|
+
}])
|
|
45
|
+
}, [
|
|
46
|
+
e.servers.length ? (n(), i(_, {
|
|
62
47
|
key: 0,
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
48
|
+
servers: e.servers,
|
|
49
|
+
target: o(s),
|
|
50
|
+
xSelectedServer: e.xSelectedServer,
|
|
51
|
+
"onUpdate:modelValue": d
|
|
52
|
+
}, null, 8, ["servers", "target", "xSelectedServer"])) : c("", !0)
|
|
53
|
+
], 10, B),
|
|
54
|
+
y(o(h), {
|
|
55
|
+
layout: "reference",
|
|
56
|
+
variables: r.value?.variables,
|
|
57
|
+
"onUpdate:variable": m
|
|
58
|
+
}, null, 8, ["variables"]),
|
|
59
|
+
r.value?.description ? (n(), i(o(C), {
|
|
60
|
+
key: 0,
|
|
61
|
+
class: "text-c-3 rounded-b-lg border border-t-0 px-3 py-1.5",
|
|
62
|
+
value: r.value.description
|
|
63
|
+
}, null, 8, ["value"])) : c("", !0)
|
|
64
|
+
], 64));
|
|
68
65
|
}
|
|
69
66
|
});
|
|
70
67
|
export {
|
|
71
|
-
|
|
68
|
+
M as default
|
|
72
69
|
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
const
|
|
2
|
-
if (
|
|
3
|
-
return
|
|
4
|
-
if (
|
|
5
|
-
return
|
|
6
|
-
if (
|
|
7
|
-
const
|
|
8
|
-
if (
|
|
9
|
-
return
|
|
1
|
+
const r = ({ name: t, url: e, document: i } = {}, f) => {
|
|
2
|
+
if (t)
|
|
3
|
+
return t;
|
|
4
|
+
if (e)
|
|
5
|
+
return e;
|
|
6
|
+
if (i?.info) {
|
|
7
|
+
const n = i.info;
|
|
8
|
+
if (n.title)
|
|
9
|
+
return n.title;
|
|
10
10
|
}
|
|
11
11
|
return "default";
|
|
12
12
|
};
|
|
13
13
|
export {
|
|
14
|
-
|
|
14
|
+
r as getDocumentName
|
|
15
15
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"map-configuration.d.ts","sourceRoot":"","sources":["../../../src/v2/helpers/map-configuration.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,eAAe,CAAA;AAG9D;;;;;;;GAOG;AACH,eAAO,MAAM,gBAAgB,GAAI,QAAQ,OAAO,CAAC,yBAAyB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"map-configuration.d.ts","sourceRoot":"","sources":["../../../src/v2/helpers/map-configuration.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,eAAe,CAAA;AAG9D;;;;;;;GAOG;AACH,eAAO,MAAM,gBAAgB,GAAI,QAAQ,OAAO,CAAC,yBAAyB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBAiD0i3C,CAAC;;;gBAAyH,CAAC;;;;;mBAAsS,CAAC;uBAAyC,CAAC;;;gBAA1N,CAAC;;;;kBAA4W,CAAC;;;CADpt4C,CAAA"}
|