@scalar/api-reference 1.36.2 → 1.38.0
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 +83 -0
- package/dist/browser/standalone.js +28796 -26431
- package/dist/browser/webpack-stats.json +1 -1
- package/dist/components/ApiReferenceContent.vue.d.ts +34 -0
- package/dist/components/ApiReferenceContent.vue.d.ts.map +1 -0
- package/dist/components/ApiReferenceContent.vue.js +8 -0
- package/dist/components/ApiReferenceContent.vue2.js +148 -0
- package/dist/components/ApiReferenceLayout.vue.d.ts.map +1 -1
- package/dist/components/ApiReferenceLayout.vue.js +2 -2
- package/dist/components/ApiReferenceLayout.vue2.js +239 -219
- package/dist/components/Content/ClientLibraries/ClientLibraries.vue.d.ts +2 -2
- package/dist/components/Content/ClientLibraries/ClientLibraries.vue.d.ts.map +1 -1
- package/dist/components/Content/ClientLibraries/ClientSelector.vue.d.ts +1 -1
- package/dist/components/Content/ClientLibraries/ClientSelector.vue.d.ts.map +1 -1
- package/dist/components/Content/ClientLibraries/featured-clients.d.ts +1 -1
- package/dist/components/Content/ClientLibraries/featured-clients.d.ts.map +1 -1
- package/dist/components/Content/Content.vue.d.ts +21 -3
- package/dist/components/Content/Content.vue.d.ts.map +1 -1
- package/dist/components/Content/Content.vue.js +132 -95
- package/dist/components/Content/Models/ClassicLayout.vue.d.ts +4 -2
- package/dist/components/Content/Models/ClassicLayout.vue.d.ts.map +1 -1
- package/dist/components/Content/Models/ClassicLayout.vue.js +2 -2
- package/dist/components/Content/Models/ClassicLayout.vue2.js +28 -28
- package/dist/components/Content/Models/Models.vue.d.ts +10 -2
- package/dist/components/Content/Models/Models.vue.d.ts.map +1 -1
- package/dist/components/Content/Models/Models.vue.js +25 -27
- package/dist/components/Content/Models/ModernLayout.vue.d.ts +6 -2
- package/dist/components/Content/Models/ModernLayout.vue.d.ts.map +1 -1
- package/dist/components/Content/Models/ModernLayout.vue.js +1 -1
- package/dist/components/Content/Models/ModernLayout.vue2.js +30 -29
- package/dist/components/Content/Operations/TraversedEntry.vue.d.ts +20 -6
- package/dist/components/Content/Operations/TraversedEntry.vue.d.ts.map +1 -1
- package/dist/components/Content/Operations/TraversedEntry.vue.js +58 -46
- package/dist/components/Content/Operations/get-current-index.d.ts +1 -1
- package/dist/components/Content/Operations/get-current-index.d.ts.map +1 -1
- package/dist/components/Content/Schema/helpers/get-ref-name.d.ts.map +1 -1
- package/dist/components/Content/Schema/helpers/get-ref-name.js +9 -7
- package/dist/components/Content/Schema/helpers/merge-all-of-schemas.js +1 -1
- package/dist/components/Content/Schema/helpers/schema-name.d.ts.map +1 -1
- package/dist/components/Content/Schema/helpers/schema-name.js +15 -14
- package/dist/components/Content/Tags/ClassicLayout.vue.d.ts +1 -1
- package/dist/components/Content/Tags/ClassicLayout.vue.d.ts.map +1 -1
- package/dist/components/Content/Tags/ClassicLayout.vue.js +2 -2
- package/dist/components/Content/Tags/ModernLayout.vue.d.ts +3 -1
- package/dist/components/Content/Tags/ModernLayout.vue.d.ts.map +1 -1
- package/dist/components/Content/Tags/ModernLayout.vue.js +1 -1
- package/dist/components/Content/Tags/ModernLayout.vue2.js +34 -30
- package/dist/components/Content/Tags/Tag.vue.d.ts +3 -1
- package/dist/components/Content/Tags/Tag.vue.d.ts.map +1 -1
- package/dist/components/Content/Tags/Tag.vue.js +14 -12
- package/dist/components/Content/Tags/TagSection.vue.d.ts +2 -1
- package/dist/components/Content/Tags/TagSection.vue.d.ts.map +1 -1
- package/dist/components/Content/Tags/TagSection.vue.js +49 -52
- package/dist/components/GettingStarted.vue.d.ts.map +1 -1
- package/dist/components/GettingStarted.vue.js +2 -2
- package/dist/components/GettingStarted.vue2.js +22 -22
- package/dist/components/OperationsList/OperationsList.vue.d.ts +1 -1
- package/dist/components/OperationsList/OperationsList.vue.d.ts.map +1 -1
- package/dist/components/OperationsList/OperationsList.vue.js +2 -2
- package/dist/components/OperationsList/OperationsListItem.vue.d.ts +1 -1
- package/dist/components/OperationsList/OperationsListItem.vue.d.ts.map +1 -1
- package/dist/components/OperationsList/OperationsListItem.vue.js +2 -2
- package/dist/components/ShowMoreButton.vue.d.ts +1 -0
- package/dist/components/ShowMoreButton.vue.d.ts.map +1 -1
- package/dist/components/ShowMoreButton.vue.js +2 -2
- package/dist/components/ShowMoreButton.vue2.js +12 -12
- package/dist/esm.d.ts +2 -2
- package/dist/esm.d.ts.map +1 -1
- package/dist/features/Operation/Operation.vue.d.ts +21 -9
- package/dist/features/Operation/Operation.vue.d.ts.map +1 -1
- package/dist/features/Operation/Operation.vue.js +42 -53
- package/dist/features/Operation/components/Header.vue.d.ts +2 -2
- package/dist/features/Operation/components/Header.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/Header.vue.js +9 -8
- package/dist/features/Operation/components/Headers.vue.d.ts +2 -2
- package/dist/features/Operation/components/Headers.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/Headers.vue.js +2 -2
- package/dist/features/Operation/components/Headers.vue2.js +31 -29
- package/dist/features/Operation/components/OperationParameters.vue.d.ts +4 -0
- package/dist/features/Operation/components/OperationParameters.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/OperationParameters.vue.js +37 -31
- package/dist/features/Operation/components/OperationResponses.vue.d.ts +5 -1
- package/dist/features/Operation/components/OperationResponses.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/OperationResponses.vue.js +16 -17
- package/dist/features/Operation/components/ParameterList.vue.d.ts +6 -2
- package/dist/features/Operation/components/ParameterList.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/ParameterList.vue.js +17 -19
- package/dist/features/Operation/components/ParameterListItem.vue.d.ts +6 -2
- package/dist/features/Operation/components/ParameterListItem.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/ParameterListItem.vue.js +3 -3
- package/dist/features/Operation/components/ParameterListItem.vue2.js +64 -65
- package/dist/features/Operation/components/RequestBody.vue.d.ts +4 -0
- package/dist/features/Operation/components/RequestBody.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/RequestBody.vue.js +2 -2
- package/dist/features/Operation/components/RequestBody.vue2.js +65 -65
- package/dist/features/Operation/components/callbacks/Callback.vue.d.ts +4 -0
- package/dist/features/Operation/components/callbacks/Callback.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/callbacks/Callback.vue.js +3 -3
- package/dist/features/Operation/components/callbacks/Callback.vue2.js +29 -22
- package/dist/features/Operation/components/callbacks/Callbacks.vue.d.ts +6 -0
- package/dist/features/Operation/components/callbacks/Callbacks.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/callbacks/Callbacks.vue.js +18 -16
- package/dist/features/Operation/layouts/ClassicLayout.vue.d.ts +11 -5
- package/dist/features/Operation/layouts/ClassicLayout.vue.d.ts.map +1 -1
- package/dist/features/Operation/layouts/ClassicLayout.vue.js +2 -2
- package/dist/features/Operation/layouts/ClassicLayout.vue2.js +99 -90
- package/dist/features/Operation/layouts/ModernLayout.vue.d.ts +12 -5
- package/dist/features/Operation/layouts/ModernLayout.vue.d.ts.map +1 -1
- package/dist/features/Operation/layouts/ModernLayout.vue.js +2 -2
- package/dist/features/Operation/layouts/ModernLayout.vue2.js +99 -87
- package/dist/features/Search/helpers/create-search-index.d.ts +2 -1
- package/dist/features/Search/helpers/create-search-index.d.ts.map +1 -1
- package/dist/features/Search/types.d.ts +1 -1
- package/dist/features/Search/types.d.ts.map +1 -1
- package/dist/features/api-client-modal/ApiClientModal.vue.d.ts.map +1 -1
- package/dist/features/api-client-modal/ApiClientModal.vue.js +23 -26
- package/dist/features/api-client-modal/useApiClient.d.ts +3039 -2895
- package/dist/features/api-client-modal/useApiClient.d.ts.map +1 -1
- package/dist/features/document-source/hooks/useDocumentFetcher.d.ts +2 -2
- package/dist/features/document-source/hooks/useDocumentFetcher.d.ts.map +1 -1
- package/dist/features/document-source/hooks/useDocumentFetcher.js +13 -11
- package/dist/features/document-source/hooks/useDocumentSource.d.ts +2 -2
- package/dist/features/document-source/hooks/useDocumentSource.d.ts.map +1 -1
- package/dist/features/document-source/hooks/useDocumentSource.js +38 -34
- package/dist/features/example-responses/ExampleResponse.vue.d.ts.map +1 -1
- package/dist/features/example-responses/ExampleResponse.vue.js +3 -3
- package/dist/features/example-responses/ExampleResponse.vue2.js +26 -18
- package/dist/features/example-responses/ExampleResponses.vue.d.ts.map +1 -1
- package/dist/features/example-responses/ExampleResponses.vue.js +2 -2
- package/dist/features/example-responses/ExampleResponses.vue2.js +53 -53
- package/dist/features/multiple-documents/DocumentSelector.vue.d.ts +2 -2
- package/dist/features/multiple-documents/DocumentSelector.vue.d.ts.map +1 -1
- package/dist/features/multiple-documents/useMultipleDocuments.d.ts +10 -7
- package/dist/features/multiple-documents/useMultipleDocuments.d.ts.map +1 -1
- package/dist/features/multiple-documents/useMultipleDocuments.js +47 -44
- package/dist/features/test-request-button/TestRequestButton.vue.d.ts.map +1 -1
- package/dist/features/test-request-button/TestRequestButton.vue.js +2 -2
- package/dist/features/test-request-button/TestRequestButton.vue2.js +15 -21
- package/dist/features/toolbar/ApiReferenceToolbar.vue.js +18 -18
- package/dist/features/toolbar/ApiReferenceToolbarConfig.vue.js +1 -1
- package/dist/features/toolbar/ApiReferenceToolbarConfigTheme.vue.d.ts +2 -2
- package/dist/features/toolbar/ApiReferenceToolbarPopover.vue.js +1 -1
- package/dist/features/toolbar/ApiReferenceToolbarSdks.vue.js +1 -1
- package/dist/features/toolbar/ApiReferenceToolbarShare.vue.js +8 -8
- package/dist/features/toolbar/ApiReferenceToolbarShareRegister.vue.d.ts.map +1 -1
- package/dist/features/toolbar/ApiReferenceToolbarShareRegister.vue.js +34 -28
- package/dist/features/toolbar/ApiReferenceToolbarTitle.vue.js +27 -27
- package/dist/helpers/test-utils.d.ts +3 -365
- package/dist/helpers/test-utils.d.ts.map +1 -1
- package/dist/hooks/useNavState.d.ts +4 -2
- package/dist/hooks/useNavState.d.ts.map +1 -1
- package/dist/hooks/useNavState.js +31 -27
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +21 -19
- package/dist/standalone/lib/html-api.d.ts +3 -3
- package/dist/standalone/lib/html-api.d.ts.map +1 -1
- package/dist/standalone/lib/register-globals.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/dist/types.d.ts +2 -2
- package/dist/types.d.ts.map +1 -1
- package/dist/v2/ApiReferenceWorkspace.vue.d.ts.map +1 -1
- package/dist/v2/ApiReferenceWorkspace.vue.js +46 -40
- package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.d.ts.map +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 +18 -19
- package/dist/v2/blocks/scalar-client-selector-block/components/ClientDropdown.vue.d.ts +1 -1
- package/dist/v2/blocks/scalar-client-selector-block/components/ClientDropdown.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-client-selector-block/components/ClientDropdown.vue.js +2 -2
- package/dist/v2/blocks/scalar-client-selector-block/components/ClientDropdown.vue2.js +11 -11
- package/dist/v2/blocks/scalar-client-selector-block/components/ClientSelector.vue.d.ts +2 -2
- package/dist/v2/blocks/scalar-client-selector-block/components/ClientSelector.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-client-selector-block/components/ClientSelector.vue.js +2 -2
- package/dist/v2/blocks/scalar-client-selector-block/components/ClientSelector.vue2.js +10 -10
- package/dist/v2/blocks/scalar-client-selector-block/helpers/featured-clients.d.ts +1 -1
- package/dist/v2/blocks/scalar-client-selector-block/helpers/featured-clients.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-info-block/components/DownloadLink.vue.d.ts +3 -0
- 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 +32 -31
- package/dist/v2/blocks/scalar-info-block/components/InfoBlock.vue.d.ts +15 -8
- package/dist/v2/blocks/scalar-info-block/components/InfoBlock.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-info-block/components/InfoBlock.vue.js +25 -20
- package/dist/v2/blocks/scalar-info-block/components/IntroductionLayout.vue.d.ts +8 -7
- package/dist/v2/blocks/scalar-info-block/components/IntroductionLayout.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-info-block/components/IntroductionLayout.vue.js +2 -2
- package/dist/v2/blocks/scalar-info-block/components/IntroductionLayout.vue2.js +27 -32
- package/dist/v2/blocks/scalar-server-selector-block/components/Selector.vue.d.ts +2 -22
- package/dist/v2/blocks/scalar-server-selector-block/components/Selector.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-sidebar-block/components/SidebarBlock.vue.d.ts +8 -0
- package/dist/v2/blocks/scalar-sidebar-block/components/SidebarBlock.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-sidebar-block/components/SidebarBlock.vue.js +2 -2
- package/dist/v2/blocks/scalar-sidebar-block/components/SidebarBlock.vue2.js +70 -65
- package/dist/v2/blocks/scalar-sidebar-block/components/SidebarElement.vue.d.ts +9 -1
- package/dist/v2/blocks/scalar-sidebar-block/components/SidebarElement.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-sidebar-block/components/SidebarElement.vue.js +2 -2
- package/dist/v2/blocks/scalar-sidebar-block/components/SidebarElement.vue2.js +60 -57
- package/dist/v2/blocks/scalar-sidebar-block/helpers/create-sidebar.d.ts +3 -365
- package/dist/v2/blocks/scalar-sidebar-block/helpers/create-sidebar.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-sidebar-block/helpers/generate-reverse-index.d.ts +3 -183
- package/dist/v2/blocks/scalar-sidebar-block/helpers/generate-reverse-index.d.ts.map +1 -1
- package/dist/v2/helpers/map-configuration.d.ts +24 -24
- package/dist/v2/helpers/map-configuration.d.ts.map +1 -1
- package/package.json +20 -17
- package/dist/components/Content/Operations/TraversedEntryContainer.vue.d.ts +0 -13
- package/dist/components/Content/Operations/TraversedEntryContainer.vue.d.ts.map +0 -1
- package/dist/components/Content/Operations/TraversedEntryContainer.vue.js +0 -52
- package/dist/components/Content/Operations/TraversedEntryContainer.vue2.js +0 -4
- package/dist/components/Content/Operations/index.d.ts +0 -2
- package/dist/components/Content/Operations/index.d.ts.map +0 -1
- package/dist/hooks/useConfig.d.ts +0 -9
- package/dist/hooks/useConfig.d.ts.map +0 -1
- package/dist/hooks/useConfig.js +0 -10
- package/dist/legacy/stores/index.d.ts +0 -2
- package/dist/legacy/stores/index.d.ts.map +0 -1
- package/dist/legacy/stores/useExampleStore.d.ts +0 -5
- package/dist/legacy/stores/useExampleStore.d.ts.map +0 -1
- package/dist/legacy/stores/useExampleStore.js +0 -8
- package/dist/v2/blocks/scalar-request-example-block/components/ExamplePicker.vue.d.ts +0 -14
- package/dist/v2/blocks/scalar-request-example-block/components/ExamplePicker.vue.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-request-example-block/components/ExamplePicker.vue.js +0 -4
- package/dist/v2/blocks/scalar-request-example-block/components/ExamplePicker.vue2.js +0 -55
- package/dist/v2/blocks/scalar-request-example-block/components/RequestExample.vue.d.ts +0 -79
- package/dist/v2/blocks/scalar-request-example-block/components/RequestExample.vue.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-request-example-block/components/RequestExample.vue.js +0 -7
- package/dist/v2/blocks/scalar-request-example-block/components/RequestExample.vue2.js +0 -236
- package/dist/v2/blocks/scalar-request-example-block/helpers/find-client.d.ts +0 -41
- package/dist/v2/blocks/scalar-request-example-block/helpers/find-client.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-request-example-block/helpers/find-client.js +0 -22
- package/dist/v2/blocks/scalar-request-example-block/helpers/generate-client-options.d.ts +0 -20
- package/dist/v2/blocks/scalar-request-example-block/helpers/generate-client-options.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-request-example-block/helpers/generate-client-options.js +0 -33
- package/dist/v2/blocks/scalar-request-example-block/helpers/generate-code-snippet.d.ts +0 -17
- package/dist/v2/blocks/scalar-request-example-block/helpers/generate-code-snippet.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-request-example-block/helpers/generate-code-snippet.js +0 -26
- package/dist/v2/blocks/scalar-request-example-block/helpers/get-secrets.d.ts +0 -4
- package/dist/v2/blocks/scalar-request-example-block/helpers/get-secrets.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-request-example-block/helpers/get-secrets.js +0 -10
- package/dist/v2/blocks/scalar-request-example-block/index.d.ts +0 -3
- package/dist/v2/blocks/scalar-request-example-block/index.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-request-example-block/types.d.ts +0 -29
- package/dist/v2/blocks/scalar-request-example-block/types.d.ts.map +0 -1
|
@@ -1,68 +1,69 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
const O = ["href"], V = /* @__PURE__ */ g({
|
|
1
|
+
import { defineComponent as f, computed as k, createElementBlock as n, createCommentVNode as d, openBlock as t, normalizeClass as g, withModifiers as u, createElementVNode as m, createVNode as s, withCtx as i, createTextVNode as p, Fragment as b } from "vue";
|
|
2
|
+
import c from "github-slugger";
|
|
3
|
+
import w from "../../../../components/Badge/Badge.vue.js";
|
|
4
|
+
import { downloadDocument as v } from "../../../../libs/download.js";
|
|
5
|
+
const T = ["href"], I = /* @__PURE__ */ f({
|
|
7
6
|
__name: "DownloadLink",
|
|
8
7
|
props: {
|
|
9
8
|
title: {},
|
|
10
|
-
getOriginalDocument: { type: Function }
|
|
9
|
+
getOriginalDocument: { type: Function },
|
|
10
|
+
url: {},
|
|
11
|
+
documentDownloadType: {}
|
|
11
12
|
},
|
|
12
13
|
setup(a) {
|
|
13
|
-
const
|
|
14
|
-
|
|
14
|
+
const y = new c(), D = k(() => y.slug(a.title ?? "")), l = (e) => {
|
|
15
|
+
v(a.getOriginalDocument?.() ?? "", D.value, e);
|
|
15
16
|
};
|
|
16
|
-
return (
|
|
17
|
+
return (e, o) => ["yaml", "json", "both"].includes(e.documentDownloadType) ? (t(), n("div", {
|
|
17
18
|
key: 0,
|
|
18
|
-
class:
|
|
19
|
-
"download-both":
|
|
19
|
+
class: g(["download-container group", {
|
|
20
|
+
"download-both": e.documentDownloadType === "both"
|
|
20
21
|
}])
|
|
21
22
|
}, [
|
|
22
|
-
|
|
23
|
+
e.documentDownloadType === "json" || e.documentDownloadType === "both" ? (t(), n("button", {
|
|
23
24
|
key: 0,
|
|
24
25
|
class: "download-button",
|
|
25
26
|
type: "button",
|
|
26
|
-
onClick: o[0] || (o[0] = u((
|
|
27
|
+
onClick: o[0] || (o[0] = u((r) => l("json"), ["prevent"]))
|
|
27
28
|
}, [
|
|
28
29
|
o[4] || (o[4] = m("span", null, " Download OpenAPI Document ", -1)),
|
|
29
|
-
|
|
30
|
-
default:
|
|
31
|
-
|
|
30
|
+
s(w, { class: "extension hidden group-hover:flex" }, {
|
|
31
|
+
default: i(() => o[3] || (o[3] = [
|
|
32
|
+
p("json")
|
|
32
33
|
])),
|
|
33
34
|
_: 1,
|
|
34
35
|
__: [3]
|
|
35
36
|
})
|
|
36
|
-
])) :
|
|
37
|
-
|
|
37
|
+
])) : d("", !0),
|
|
38
|
+
e.documentDownloadType === "yaml" || e.documentDownloadType === "both" ? (t(), n("button", {
|
|
38
39
|
key: 1,
|
|
39
40
|
class: "download-button",
|
|
40
41
|
type: "button",
|
|
41
|
-
onClick: o[1] || (o[1] = u((
|
|
42
|
+
onClick: o[1] || (o[1] = u((r) => l("yaml"), ["prevent"]))
|
|
42
43
|
}, [
|
|
43
44
|
o[6] || (o[6] = m("span", null, " Download OpenAPI Document ", -1)),
|
|
44
|
-
|
|
45
|
-
default:
|
|
46
|
-
|
|
45
|
+
s(w, { class: "extension hidden group-hover:flex" }, {
|
|
46
|
+
default: i(() => o[5] || (o[5] = [
|
|
47
|
+
p("yaml")
|
|
47
48
|
])),
|
|
48
49
|
_: 1,
|
|
49
50
|
__: [5]
|
|
50
51
|
})
|
|
51
|
-
])) :
|
|
52
|
-
], 2)) :
|
|
53
|
-
|
|
52
|
+
])) : d("", !0)
|
|
53
|
+
], 2)) : e.documentDownloadType === "direct" ? (t(), n(b, { key: 1 }, [
|
|
54
|
+
e.url ? (t(), n("a", {
|
|
54
55
|
key: 0,
|
|
55
56
|
class: "download-link",
|
|
56
|
-
href:
|
|
57
|
-
}, " Download OpenAPI Document ", 8,
|
|
57
|
+
href: e.url
|
|
58
|
+
}, " Download OpenAPI Document ", 8, T)) : (t(), n("a", {
|
|
58
59
|
key: 1,
|
|
59
60
|
class: "download-link",
|
|
60
61
|
href: "#",
|
|
61
|
-
onClick: o[2] || (o[2] = u((
|
|
62
|
+
onClick: o[2] || (o[2] = u((r) => l("json"), ["prevent"]))
|
|
62
63
|
}, " Download OpenAPI Document "))
|
|
63
|
-
], 64)) :
|
|
64
|
+
], 64)) : d("", !0);
|
|
64
65
|
}
|
|
65
66
|
});
|
|
66
67
|
export {
|
|
67
|
-
|
|
68
|
+
I as default
|
|
68
69
|
};
|
|
@@ -1,13 +1,10 @@
|
|
|
1
|
+
import type { ApiReferenceConfiguration } from '@scalar/types';
|
|
1
2
|
import type { ExternalDocumentationObject, InfoObject } from '@scalar/workspace-store/schemas/v3.1/strict/openapi-document';
|
|
2
3
|
type __VLS_Props = {
|
|
3
4
|
/** Optional unique identifier for the info block. */
|
|
4
5
|
id?: string;
|
|
5
|
-
/** Determines the layout style for the info block ('modern' or 'classic'). */
|
|
6
|
-
layout?: 'modern' | 'classic';
|
|
7
6
|
/** Original openapi version of the input document */
|
|
8
7
|
oasVersion?: string;
|
|
9
|
-
/** The original document content. */
|
|
10
|
-
getOriginalDocument: () => string;
|
|
11
8
|
/** The Info object from the OpenAPI document. */
|
|
12
9
|
info: InfoObject;
|
|
13
10
|
/** The external documentation object from the OpenAPI document, if present. */
|
|
@@ -16,10 +13,20 @@ type __VLS_Props = {
|
|
|
16
13
|
documentExtensions?: Record<string, unknown>;
|
|
17
14
|
/** OpenAPI extension fields at the info object level. */
|
|
18
15
|
infoExtensions?: Record<string, unknown>;
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
16
|
+
options: {
|
|
17
|
+
/** Indicates if the info block is in a loading state. */
|
|
18
|
+
isLoading?: boolean;
|
|
19
|
+
/** Determines the layout style for the info block ('modern' or 'classic'). */
|
|
20
|
+
layout?: 'modern' | 'classic';
|
|
21
|
+
/** The document download type. */
|
|
22
|
+
documentDownloadType?: ApiReferenceConfiguration['documentDownloadType'];
|
|
23
|
+
/** The URL of the OpenAPI document. */
|
|
24
|
+
url?: string | undefined;
|
|
25
|
+
/** Optional callback invoked when the component has finished loading. */
|
|
26
|
+
onLoaded?: (() => void) | unknown;
|
|
27
|
+
/** The original document content. */
|
|
28
|
+
getOriginalDocument: () => string;
|
|
29
|
+
};
|
|
23
30
|
};
|
|
24
31
|
declare var __VLS_8: {};
|
|
25
32
|
type __VLS_Slots = {} & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InfoBlock.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/blocks/scalar-info-block/components/InfoBlock.vue"],"names":[],"mappings":"AA+
|
|
1
|
+
{"version":3,"file":"InfoBlock.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/blocks/scalar-info-block/components/InfoBlock.vue"],"names":[],"mappings":"AA+EA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,eAAe,CAAA;AAC9D,OAAO,KAAK,EACV,2BAA2B,EAC3B,UAAU,EACX,MAAM,8DAA8D,CAAA;AAQrE,KAAK,WAAW,GAAG;IACjB,qDAAqD;IACrD,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,qDAAqD;IACrD,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,iDAAiD;IACjD,IAAI,EAAE,UAAU,CAAA;IAChB,+EAA+E;IAC/E,YAAY,CAAC,EAAE,2BAA2B,CAAA;IAC1C,sDAAsD;IACtD,kBAAkB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAC5C,yDAAyD;IACzD,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAExC,OAAO,EAAE;QACP,yDAAyD;QACzD,SAAS,CAAC,EAAE,OAAO,CAAA;QACnB,8EAA8E;QAC9E,MAAM,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAA;QAC7B,kCAAkC;QAClC,oBAAoB,CAAC,EAAE,yBAAyB,CAAC,sBAAsB,CAAC,CAAA;QACxE,uCAAuC;QACvC,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;QACxB,yEAAyE;QACzE,QAAQ,CAAC,EAAE,CAAC,MAAM,IAAI,CAAC,GAAG,OAAO,CAAA;QACjC,qCAAqC;QACrC,mBAAmB,EAAE,MAAM,MAAM,CAAA;KAClC,CAAA;CACF,CAAC;AA8EF,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAuBjD,QAAA,MAAM,eAAe,kSAMnB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAQ1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1,38 +1,35 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import u from "./
|
|
3
|
-
import
|
|
4
|
-
|
|
1
|
+
import { defineComponent as s, computed as r, createBlock as a, openBlock as d, withCtx as n, createVNode as e, renderSlot as l } from "vue";
|
|
2
|
+
import u from "./DownloadLink.vue.js";
|
|
3
|
+
import m from "./IntroductionCard.vue.js";
|
|
4
|
+
import p from "./IntroductionLayout.vue.js";
|
|
5
|
+
const E = /* @__PURE__ */ s({
|
|
5
6
|
__name: "InfoBlock",
|
|
6
7
|
props: {
|
|
7
8
|
id: {},
|
|
8
|
-
layout: {},
|
|
9
9
|
oasVersion: {},
|
|
10
|
-
getOriginalDocument: { type: Function },
|
|
11
10
|
info: {},
|
|
12
11
|
externalDocs: {},
|
|
13
12
|
documentExtensions: {},
|
|
14
13
|
infoExtensions: {},
|
|
15
|
-
|
|
16
|
-
onLoaded: { type: Function }
|
|
14
|
+
options: {}
|
|
17
15
|
},
|
|
18
|
-
setup(
|
|
19
|
-
const
|
|
20
|
-
() =>
|
|
16
|
+
setup(i) {
|
|
17
|
+
const t = r(
|
|
18
|
+
() => i.options.layout === "classic" ? "after" : "aside"
|
|
21
19
|
);
|
|
22
|
-
return (o,
|
|
20
|
+
return (o, c) => (d(), a(p, {
|
|
23
21
|
id: o.id,
|
|
24
22
|
documentExtensions: o.documentExtensions,
|
|
25
23
|
externalDocs: o.externalDocs,
|
|
26
|
-
getOriginalDocument: o.getOriginalDocument,
|
|
27
24
|
info: o.info,
|
|
28
25
|
infoExtensions: o.infoExtensions,
|
|
29
|
-
isLoading: o.isLoading,
|
|
26
|
+
isLoading: o.options.isLoading,
|
|
30
27
|
oasVersion: o.oasVersion,
|
|
31
|
-
onLoaded: o.onLoaded
|
|
28
|
+
onLoaded: o.options.onLoaded
|
|
32
29
|
}, {
|
|
33
|
-
[
|
|
34
|
-
|
|
35
|
-
row: o.layout === "classic"
|
|
30
|
+
[t.value]: n(() => [
|
|
31
|
+
e(m, {
|
|
32
|
+
row: o.options.layout === "classic"
|
|
36
33
|
}, {
|
|
37
34
|
default: n(() => [
|
|
38
35
|
l(o.$slots, "selectors")
|
|
@@ -40,10 +37,18 @@ const L = /* @__PURE__ */ t({
|
|
|
40
37
|
_: 3
|
|
41
38
|
}, 8, ["row"])
|
|
42
39
|
]),
|
|
40
|
+
"download-link": n(() => [
|
|
41
|
+
e(u, {
|
|
42
|
+
documentDownloadType: o.options.documentDownloadType ?? "both",
|
|
43
|
+
getOriginalDocument: o.options.getOriginalDocument,
|
|
44
|
+
title: o.info?.title,
|
|
45
|
+
url: o.options.url
|
|
46
|
+
}, null, 8, ["documentDownloadType", "getOriginalDocument", "title", "url"])
|
|
47
|
+
]),
|
|
43
48
|
_: 2
|
|
44
|
-
}, 1032, ["id", "documentExtensions", "externalDocs", "
|
|
49
|
+
}, 1032, ["id", "documentExtensions", "externalDocs", "info", "infoExtensions", "isLoading", "oasVersion", "onLoaded"]));
|
|
45
50
|
}
|
|
46
51
|
});
|
|
47
52
|
export {
|
|
48
|
-
|
|
53
|
+
E as default
|
|
49
54
|
};
|
|
@@ -1,20 +1,21 @@
|
|
|
1
1
|
import type { ExternalDocumentationObject, InfoObject } from '@scalar/workspace-store/schemas/v3.1/strict/openapi-document';
|
|
2
2
|
type __VLS_Props = {
|
|
3
|
-
|
|
3
|
+
id: string | undefined;
|
|
4
|
+
oasVersion: string | undefined;
|
|
4
5
|
info: InfoObject;
|
|
5
6
|
externalDocs?: ExternalDocumentationObject;
|
|
6
7
|
documentExtensions?: Record<string, unknown>;
|
|
7
8
|
infoExtensions?: Record<string, unknown>;
|
|
8
9
|
isLoading?: boolean;
|
|
9
|
-
|
|
10
|
-
onLoaded?: () => void;
|
|
11
|
-
id?: string;
|
|
10
|
+
onLoaded?: (() => void) | unknown;
|
|
12
11
|
};
|
|
13
|
-
declare var
|
|
12
|
+
declare var __VLS_39: {}, __VLS_48: {}, __VLS_58: {};
|
|
14
13
|
type __VLS_Slots = {} & {
|
|
15
|
-
|
|
14
|
+
'download-link'?: (props: typeof __VLS_39) => any;
|
|
16
15
|
} & {
|
|
17
|
-
|
|
16
|
+
aside?: (props: typeof __VLS_48) => any;
|
|
17
|
+
} & {
|
|
18
|
+
after?: (props: typeof __VLS_58) => any;
|
|
18
19
|
};
|
|
19
20
|
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
20
21
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IntroductionLayout.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/blocks/scalar-info-block/components/IntroductionLayout.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"IntroductionLayout.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/blocks/scalar-info-block/components/IntroductionLayout.vue"],"names":[],"mappings":"AA2FA,OAAO,KAAK,EACV,2BAA2B,EAC3B,UAAU,EACX,MAAM,8DAA8D,CAAA;AAmBrE,KAAK,WAAW,GAAG;IACjB,EAAE,EAAE,MAAM,GAAG,SAAS,CAAA;IACtB,UAAU,EAAE,MAAM,GAAG,SAAS,CAAA;IAC9B,IAAI,EAAE,UAAU,CAAA;IAChB,YAAY,CAAC,EAAE,2BAA2B,CAAA;IAC1C,kBAAkB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAC5C,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IACxC,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,QAAQ,CAAC,EAAE,CAAC,MAAM,IAAI,CAAC,GAAG,OAAO,CAAA;CAClC,CAAC;AAoLF,QAAA,IAAI,QAAQ,IAAW,EAAE,QAAQ,IAAW,EAAE,QAAQ,IAAY,CAAE;AACpE,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,eAAe,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GACrD;IAAE,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GAC3C;IAAE,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AA+B9C,QAAA,MAAM,eAAe,kSAMnB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAQ1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./IntroductionLayout.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-eb332881"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
p as default
|
|
7
7
|
};
|
|
@@ -1,39 +1,37 @@
|
|
|
1
|
-
import { defineComponent as m, onMounted as u, createBlock as
|
|
2
|
-
import
|
|
3
|
-
import D from "./InfoDescription.vue.js";
|
|
1
|
+
import { defineComponent as m, onMounted as u, createBlock as l, openBlock as s, unref as n, withCtx as i, createVNode as e, renderSlot as r, createElementVNode as a, createTextVNode as c, toDisplayString as p, createCommentVNode as v } from "vue";
|
|
2
|
+
import g from "./InfoDescription.vue.js";
|
|
4
3
|
import S from "./InfoLinks.vue.js";
|
|
5
4
|
import V from "./InfoVersion.vue.js";
|
|
6
|
-
import
|
|
5
|
+
import $ from "./OpenApiVersion.vue.js";
|
|
7
6
|
import y from "../../../../components/Section/SectionContainer.vue.js";
|
|
8
7
|
import C from "../../../../components/Section/Section.vue.js";
|
|
9
|
-
import
|
|
8
|
+
import L from "../../../../components/Section/SectionContent.vue.js";
|
|
10
9
|
import k from "../../../../components/Section/SectionHeader.vue.js";
|
|
11
|
-
import
|
|
10
|
+
import D from "../../../../components/Section/SectionHeaderTag.vue.js";
|
|
12
11
|
import h from "../../../../components/Section/SectionColumns.vue.js";
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
const E = { class: "flex gap-1.5" },
|
|
12
|
+
import d from "../../../../components/Section/SectionColumn.vue.js";
|
|
13
|
+
import f from "../../../../features/specification-extension/SpecificationExtension.vue2.js";
|
|
14
|
+
const E = { class: "flex gap-1.5" }, _ = { class: "sticky-cards" }, J = /* @__PURE__ */ m({
|
|
16
15
|
__name: "IntroductionLayout",
|
|
17
16
|
props: {
|
|
17
|
+
id: {},
|
|
18
18
|
oasVersion: {},
|
|
19
19
|
info: {},
|
|
20
20
|
externalDocs: {},
|
|
21
21
|
documentExtensions: {},
|
|
22
22
|
infoExtensions: {},
|
|
23
23
|
isLoading: { type: Boolean },
|
|
24
|
-
|
|
25
|
-
onLoaded: { type: Function },
|
|
26
|
-
id: {}
|
|
24
|
+
onLoaded: { type: Function }
|
|
27
25
|
},
|
|
28
|
-
setup(
|
|
29
|
-
return u(() =>
|
|
26
|
+
setup(t) {
|
|
27
|
+
return u(() => typeof t.onLoaded == "function" ? t.onLoaded?.() : t.onLoaded), (o, N) => (s(), l(n(y), null, {
|
|
30
28
|
default: i(() => [
|
|
31
29
|
e(n(C), {
|
|
32
30
|
id: o.id,
|
|
33
31
|
class: "introduction-section z-1 gap-12"
|
|
34
32
|
}, {
|
|
35
33
|
default: i(() => [
|
|
36
|
-
e(n(
|
|
34
|
+
e(n(L), {
|
|
37
35
|
loading: o.isLoading ?? (!o.info?.description && !o.info?.title)
|
|
38
36
|
}, {
|
|
39
37
|
default: i(() => [
|
|
@@ -41,7 +39,7 @@ const E = { class: "flex gap-1.5" }, N = { class: "sticky-cards" }, K = /* @__PU
|
|
|
41
39
|
e(V, {
|
|
42
40
|
version: o.info?.version
|
|
43
41
|
}, null, 8, ["version"]),
|
|
44
|
-
e(
|
|
42
|
+
e($, { oasVersion: o.oasVersion }, null, 8, ["oasVersion"])
|
|
45
43
|
]),
|
|
46
44
|
e(n(k), {
|
|
47
45
|
loading: !o.info?.title,
|
|
@@ -54,7 +52,7 @@ const E = { class: "flex gap-1.5" }, N = { class: "sticky-cards" }, K = /* @__PU
|
|
|
54
52
|
}, null, 8, ["externalDocs", "info"])
|
|
55
53
|
]),
|
|
56
54
|
default: i(() => [
|
|
57
|
-
e(n(
|
|
55
|
+
e(n(D), { level: 1 }, {
|
|
58
56
|
default: i(() => [
|
|
59
57
|
c(p(o.info?.title), 1)
|
|
60
58
|
]),
|
|
@@ -65,35 +63,32 @@ const E = { class: "flex gap-1.5" }, N = { class: "sticky-cards" }, K = /* @__PU
|
|
|
65
63
|
}, 8, ["loading"]),
|
|
66
64
|
e(n(h), null, {
|
|
67
65
|
default: i(() => [
|
|
68
|
-
e(n(
|
|
66
|
+
e(n(d), null, {
|
|
69
67
|
default: i(() => [
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
title: o.info?.title
|
|
73
|
-
}, null, 8, ["getOriginalDocument", "title"]),
|
|
74
|
-
e(D, {
|
|
68
|
+
r(o.$slots, "download-link", {}, void 0, !0),
|
|
69
|
+
e(g, {
|
|
75
70
|
description: o.info?.description
|
|
76
71
|
}, null, 8, ["description"])
|
|
77
72
|
]),
|
|
78
|
-
_:
|
|
73
|
+
_: 3
|
|
79
74
|
}),
|
|
80
|
-
o.$slots.aside ? (
|
|
75
|
+
o.$slots.aside ? (s(), l(n(d), { key: 0 }, {
|
|
81
76
|
default: i(() => [
|
|
82
|
-
a("div",
|
|
83
|
-
|
|
77
|
+
a("div", _, [
|
|
78
|
+
r(o.$slots, "aside", {}, void 0, !0)
|
|
84
79
|
])
|
|
85
80
|
]),
|
|
86
81
|
_: 3
|
|
87
|
-
})) :
|
|
82
|
+
})) : v("", !0)
|
|
88
83
|
]),
|
|
89
84
|
_: 3
|
|
90
85
|
}),
|
|
91
|
-
e(n(
|
|
92
|
-
e(n(
|
|
86
|
+
e(n(f), { value: o.documentExtensions }, null, 8, ["value"]),
|
|
87
|
+
e(n(f), { value: o.infoExtensions }, null, 8, ["value"])
|
|
93
88
|
]),
|
|
94
89
|
_: 3
|
|
95
90
|
}, 8, ["loading"]),
|
|
96
|
-
|
|
91
|
+
r(o.$slots, "after", {}, void 0, !0)
|
|
97
92
|
]),
|
|
98
93
|
_: 3
|
|
99
94
|
}, 8, ["id"])
|
|
@@ -103,5 +98,5 @@ const E = { class: "flex gap-1.5" }, N = { class: "sticky-cards" }, K = /* @__PU
|
|
|
103
98
|
}
|
|
104
99
|
});
|
|
105
100
|
export {
|
|
106
|
-
|
|
101
|
+
J as default
|
|
107
102
|
};
|
|
@@ -8,28 +8,8 @@ type __VLS_Props = {
|
|
|
8
8
|
target: string;
|
|
9
9
|
};
|
|
10
10
|
declare const _default: import("vue").DefineComponent<__VLS_Props, {
|
|
11
|
-
server: import("vue").ComputedRef<
|
|
12
|
-
|
|
13
|
-
variables?: {
|
|
14
|
-
[x: string]: {
|
|
15
|
-
default?: string | undefined;
|
|
16
|
-
description?: string | undefined;
|
|
17
|
-
enum?: string[] | undefined;
|
|
18
|
-
};
|
|
19
|
-
} | undefined;
|
|
20
|
-
url: string;
|
|
21
|
-
} | undefined>;
|
|
22
|
-
servers: {
|
|
23
|
-
description?: string | undefined;
|
|
24
|
-
variables?: {
|
|
25
|
-
[x: string]: {
|
|
26
|
-
default?: string | undefined;
|
|
27
|
-
description?: string | undefined;
|
|
28
|
-
enum?: string[] | undefined;
|
|
29
|
-
};
|
|
30
|
-
} | undefined;
|
|
31
|
-
url: string;
|
|
32
|
-
}[];
|
|
11
|
+
server: import("vue").ComputedRef<ServerObject | undefined>;
|
|
12
|
+
servers: ServerObject[];
|
|
33
13
|
serverUrlWithoutTrailingSlash: import("vue").ComputedRef<string>;
|
|
34
14
|
serverOptions: import("vue").ComputedRef<{
|
|
35
15
|
id: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Selector.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/blocks/scalar-server-selector-block/components/Selector.vue"],"names":[],"mappings":"AAuFA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8DAA8D,CAAA;AAGhG,KAAK,WAAW,GAAG;IACjB,8BAA8B;IAC9B,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,wBAAwB;IACxB,OAAO,EAAE,YAAY,EAAE,CAAA;IACvB,qEAAqE;IACrE,MAAM,EAAE,MAAM,CAAA;CACf,CAAC
|
|
1
|
+
{"version":3,"file":"Selector.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/blocks/scalar-server-selector-block/components/Selector.vue"],"names":[],"mappings":"AAuFA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8DAA8D,CAAA;AAGhG,KAAK,WAAW,GAAG;IACjB,8BAA8B;IAC9B,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,wBAAwB;IACxB,OAAO,EAAE,YAAY,EAAE,CAAA;IACvB,qEAAqE;IACrE,MAAM,EAAE,MAAM,CAAA;CACf,CAAC;;;;;;;;;;;;;;;;;;;;;AAgMF,wBAQG"}
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
2
|
title: string;
|
|
3
|
+
options: {
|
|
4
|
+
pathRouting?: {
|
|
5
|
+
basePath?: string;
|
|
6
|
+
};
|
|
7
|
+
onSidebarClick: ((id: string) => void) | undefined;
|
|
8
|
+
operationTitleSource: 'path' | 'summary' | undefined;
|
|
9
|
+
defaultOpenAllTags: boolean | undefined;
|
|
10
|
+
};
|
|
3
11
|
};
|
|
4
12
|
declare var __VLS_1: {}, __VLS_32: {};
|
|
5
13
|
type __VLS_Slots = {} & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SidebarBlock.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/blocks/scalar-sidebar-block/components/SidebarBlock.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SidebarBlock.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/blocks/scalar-sidebar-block/components/SidebarBlock.vue"],"names":[],"mappings":"AA6RA,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,EAAE;QACP,WAAW,CAAC,EAAE;YACZ,QAAQ,CAAC,EAAE,MAAM,CAAA;SAClB,CAAA;QACD,cAAc,EAAE,CAAC,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC,GAAG,SAAS,CAAA;QAClD,oBAAoB,EAAE,MAAM,GAAG,SAAS,GAAG,SAAS,CAAA;QACpD,kBAAkB,EAAE,OAAO,GAAG,SAAS,CAAA;KACxC,CAAA;CACF,CAAC;AA4SF,QAAA,IAAI,OAAO,IAAU,EAAE,QAAQ,IAAY,CAAE;AAC7C,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,eAAe,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GACpD;IAAE,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AA8BtD,QAAA,MAAM,eAAe,kSAMnB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAQ1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./SidebarBlock.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
|
-
import
|
|
4
|
-
const m = /* @__PURE__ */
|
|
3
|
+
import r from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-29c5b3a5"]]);
|
|
5
5
|
export {
|
|
6
6
|
m as default
|
|
7
7
|
};
|