@scalar/api-reference 1.36.1 → 1.37.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 +63 -0
- package/dist/browser/standalone.js +26246 -25660
- 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/Schema.vue.js +2 -2
- package/dist/components/Content/Schema/Schema.vue2.js +24 -24
- 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/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 +1 -1
- 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/Section/Section.vue.js +1 -1
- package/dist/components/Section/SectionContainerAccordion.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/consts/urls.d.ts +17 -0
- package/dist/consts/urls.d.ts.map +1 -0
- package/dist/consts/urls.js +7 -0
- 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 +1 -1
- package/dist/features/Operation/components/Headers.vue2.js +35 -33
- 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 +2 -2
- 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 +3 -3
- 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 +3032 -2888
- package/dist/features/api-client-modal/useApiClient.d.ts.map +1 -1
- 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 +1 -1
- package/dist/features/document-source/hooks/useDocumentSource.d.ts.map +1 -1
- 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/useMultipleDocuments.d.ts +11 -6
- package/dist/features/multiple-documents/useMultipleDocuments.d.ts.map +1 -1
- package/dist/features/multiple-documents/useMultipleDocuments.js +57 -48
- 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.d.ts +16 -0
- package/dist/features/toolbar/ApiReferenceToolbar.vue.d.ts.map +1 -0
- package/dist/features/toolbar/ApiReferenceToolbar.vue.js +43 -0
- package/dist/features/toolbar/ApiReferenceToolbar.vue2.js +4 -0
- package/dist/features/toolbar/ApiReferenceToolbarBlurb.vue.d.ts +13 -0
- package/dist/features/toolbar/ApiReferenceToolbarBlurb.vue.d.ts.map +1 -0
- package/dist/features/toolbar/ApiReferenceToolbarBlurb.vue.js +12 -0
- package/dist/features/toolbar/ApiReferenceToolbarConfig.vue.d.ts +14 -0
- package/dist/features/toolbar/ApiReferenceToolbarConfig.vue.d.ts.map +1 -0
- package/dist/features/toolbar/ApiReferenceToolbarConfig.vue.js +95 -0
- package/dist/features/toolbar/ApiReferenceToolbarConfig.vue2.js +4 -0
- package/dist/features/toolbar/ApiReferenceToolbarConfigLayout.vue.d.ts +10 -0
- package/dist/features/toolbar/ApiReferenceToolbarConfigLayout.vue.d.ts.map +1 -0
- package/dist/features/toolbar/ApiReferenceToolbarConfigLayout.vue.js +27 -0
- package/dist/features/toolbar/ApiReferenceToolbarConfigLayout.vue2.js +4 -0
- package/dist/features/toolbar/ApiReferenceToolbarConfigLayoutOptions.vue.d.ts +25 -0
- package/dist/features/toolbar/ApiReferenceToolbarConfigLayoutOptions.vue.d.ts.map +1 -0
- package/dist/features/toolbar/ApiReferenceToolbarConfigLayoutOptions.vue.js +123 -0
- package/dist/features/toolbar/ApiReferenceToolbarConfigLayoutOptions.vue2.js +4 -0
- package/dist/features/toolbar/ApiReferenceToolbarConfigTheme.vue.d.ts +11 -0
- package/dist/features/toolbar/ApiReferenceToolbarConfigTheme.vue.d.ts.map +1 -0
- package/dist/features/toolbar/ApiReferenceToolbarConfigTheme.vue.js +41 -0
- package/dist/features/toolbar/ApiReferenceToolbarConfigTheme.vue2.js +4 -0
- package/dist/features/toolbar/ApiReferenceToolbarPopover.vue.d.ts +26 -0
- package/dist/features/toolbar/ApiReferenceToolbarPopover.vue.d.ts.map +1 -0
- package/dist/features/toolbar/ApiReferenceToolbarPopover.vue.js +46 -0
- package/dist/features/toolbar/ApiReferenceToolbarPopover.vue2.js +4 -0
- package/dist/features/toolbar/ApiReferenceToolbarRegisterButton.vue.d.ts +25 -0
- package/dist/features/toolbar/ApiReferenceToolbarRegisterButton.vue.d.ts.map +1 -0
- package/dist/features/toolbar/ApiReferenceToolbarRegisterButton.vue.js +58 -0
- package/dist/features/toolbar/ApiReferenceToolbarRegisterButton.vue2.js +4 -0
- package/dist/features/toolbar/ApiReferenceToolbarSdks.vue.d.ts +7 -0
- package/dist/features/toolbar/ApiReferenceToolbarSdks.vue.d.ts.map +1 -0
- package/dist/features/toolbar/ApiReferenceToolbarSdks.vue.js +84 -0
- package/dist/features/toolbar/ApiReferenceToolbarSdks.vue2.js +4 -0
- package/dist/features/toolbar/ApiReferenceToolbarShare.vue.d.ts +7 -0
- package/dist/features/toolbar/ApiReferenceToolbarShare.vue.d.ts.map +1 -0
- package/dist/features/toolbar/ApiReferenceToolbarShare.vue.js +42 -0
- package/dist/features/toolbar/ApiReferenceToolbarShare.vue2.js +4 -0
- package/dist/features/toolbar/ApiReferenceToolbarShareRegister.vue.d.ts +7 -0
- package/dist/features/toolbar/ApiReferenceToolbarShareRegister.vue.d.ts.map +1 -0
- package/dist/features/toolbar/ApiReferenceToolbarShareRegister.vue.js +56 -0
- package/dist/features/toolbar/ApiReferenceToolbarShareRegister.vue2.js +4 -0
- package/dist/{v2/blocks/scalar-request-example-block/components/ExamplePicker.vue.d.ts → features/toolbar/ApiReferenceToolbarShareTemporary.vue.d.ts} +6 -6
- package/dist/features/toolbar/ApiReferenceToolbarShareTemporary.vue.d.ts.map +1 -0
- package/dist/features/toolbar/ApiReferenceToolbarShareTemporary.vue.js +83 -0
- package/dist/features/toolbar/ApiReferenceToolbarShareTemporary.vue2.js +4 -0
- package/dist/features/toolbar/ApiReferenceToolbarTitle.vue.d.ts +3 -0
- package/dist/features/toolbar/ApiReferenceToolbarTitle.vue.d.ts.map +1 -0
- package/dist/features/toolbar/ApiReferenceToolbarTitle.vue.js +51 -0
- package/dist/features/toolbar/ApiReferenceToolbarTitle.vue2.js +4 -0
- package/dist/features/toolbar/uploadTempDocument.d.ts +3 -0
- package/dist/features/toolbar/uploadTempDocument.d.ts.map +1 -0
- package/dist/features/toolbar/uploadTempDocument.js +21 -0
- 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/style.css +1 -1
- package/dist/types.d.ts.map +1 -1
- package/dist/v2/ApiReferenceWorkspace.vue.d.ts +6 -6
- package/dist/v2/ApiReferenceWorkspace.vue.d.ts.map +1 -1
- package/dist/v2/ApiReferenceWorkspace.vue.js +93 -79
- 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 +1 -1
- 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 +22 -22
- package/dist/v2/helpers/map-configuration.d.ts.map +1 -1
- package/package.json +21 -18
- 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.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,7 +1,7 @@
|
|
|
1
1
|
import o from "./ModernLayout.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-
|
|
4
|
+
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-b59e6a08"]]);
|
|
5
5
|
export {
|
|
6
6
|
m as default
|
|
7
7
|
};
|
|
@@ -1,59 +1,63 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
import { useNavState as
|
|
4
|
-
import
|
|
5
|
-
import { useSidebar as
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
const E = /* @__PURE__ */
|
|
1
|
+
import { defineComponent as p, ref as u, useId as y, computed as S, createBlock as i, openBlock as a, unref as o, withCtx as f, createVNode as C, createElementBlock as T, createCommentVNode as s, renderSlot as k, nextTick as b } from "vue";
|
|
2
|
+
import w from "../../ShowMoreButton.vue.js";
|
|
3
|
+
import { useNavState as B } from "../../../hooks/useNavState.js";
|
|
4
|
+
import L from "./TagSection.vue.js";
|
|
5
|
+
import { useSidebar as M } from "../../../v2/blocks/scalar-sidebar-block/hooks/useSidebar.js";
|
|
6
|
+
import v from "../../Section/SectionContainer.vue.js";
|
|
7
|
+
import I from "../../Lazy/Lazy.vue2.js";
|
|
8
|
+
const E = /* @__PURE__ */ p({
|
|
9
9
|
__name: "ModernLayout",
|
|
10
10
|
props: {
|
|
11
11
|
tag: {},
|
|
12
|
-
moreThanOneTag: { type: Boolean }
|
|
12
|
+
moreThanOneTag: { type: Boolean },
|
|
13
|
+
isLoading: { type: Boolean },
|
|
14
|
+
onShowMore: { type: Function }
|
|
13
15
|
},
|
|
14
|
-
setup(
|
|
15
|
-
const
|
|
16
|
-
() =>
|
|
16
|
+
setup(t) {
|
|
17
|
+
const m = u(), l = u(), d = y(), { collapsedSidebarItems: c } = M(), { hash: n } = B(), g = S(
|
|
18
|
+
() => t.moreThanOneTag || t.tag?.title !== "default" || t.tag?.description !== ""
|
|
17
19
|
);
|
|
18
|
-
async function
|
|
19
|
-
await
|
|
20
|
+
async function h() {
|
|
21
|
+
await b(), l.value?.querySelector("button")?.focus();
|
|
20
22
|
}
|
|
21
23
|
const r = (e) => !c[e];
|
|
22
|
-
return (e,
|
|
24
|
+
return (e, O) => (a(), i(o(v), {
|
|
23
25
|
ref_key: "sectionContainerRef",
|
|
24
|
-
ref:
|
|
25
|
-
"aria-labelledby":
|
|
26
|
+
ref: m,
|
|
27
|
+
"aria-labelledby": o(d),
|
|
26
28
|
class: "tag-section-container",
|
|
27
29
|
role: "region"
|
|
28
30
|
}, {
|
|
29
|
-
default:
|
|
30
|
-
|
|
31
|
+
default: f(() => [
|
|
32
|
+
C(o(I), {
|
|
31
33
|
id: `modern-tag-${e.tag.id}`,
|
|
32
|
-
isLazy: !!
|
|
34
|
+
isLazy: !!o(n) && o(n) !== e.tag.id && o(n).startsWith(e.tag.id)
|
|
33
35
|
}, {
|
|
34
|
-
default:
|
|
35
|
-
g.value ? (a(), i(
|
|
36
|
+
default: f(() => [
|
|
37
|
+
g.value ? (a(), i(L, {
|
|
36
38
|
key: 0,
|
|
37
|
-
headerId:
|
|
39
|
+
headerId: o(d),
|
|
38
40
|
isCollapsed: r(e.tag.id),
|
|
41
|
+
isLoading: e.isLoading,
|
|
39
42
|
tag: e.tag
|
|
40
|
-
}, null, 8, ["headerId", "isCollapsed", "tag"])) :
|
|
41
|
-
r(e.tag.id) && e.moreThanOneTag ? (a(), i(
|
|
43
|
+
}, null, 8, ["headerId", "isCollapsed", "isLoading", "tag"])) : s("", !0),
|
|
44
|
+
r(e.tag.id) && e.moreThanOneTag ? (a(), i(w, {
|
|
42
45
|
key: 1,
|
|
43
46
|
id: e.tag.id,
|
|
44
47
|
"aria-label": `Show all ${e.tag.title} endpoints`,
|
|
45
|
-
|
|
46
|
-
|
|
48
|
+
onShowMore: e.onShowMore,
|
|
49
|
+
onClick: h
|
|
50
|
+
}, null, 8, ["id", "aria-label", "onShowMore"])) : s("", !0)
|
|
47
51
|
]),
|
|
48
52
|
_: 1
|
|
49
53
|
}, 8, ["id", "isLazy"]),
|
|
50
|
-
r(e.tag.id) && e.moreThanOneTag ?
|
|
54
|
+
r(e.tag.id) && e.moreThanOneTag ? s("", !0) : (a(), T("div", {
|
|
51
55
|
key: 0,
|
|
52
56
|
ref_key: "contentsRef",
|
|
53
|
-
ref:
|
|
57
|
+
ref: l,
|
|
54
58
|
class: "contents"
|
|
55
59
|
}, [
|
|
56
|
-
|
|
60
|
+
k(e.$slots, "default", {}, void 0, !0)
|
|
57
61
|
], 512))
|
|
58
62
|
]),
|
|
59
63
|
_: 3
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import type { TraversedTag } from '@scalar/workspace-store/schemas/
|
|
1
|
+
import type { TraversedTag } from '@scalar/workspace-store/schemas/navigation';
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
tag: TraversedTag;
|
|
4
4
|
layout: 'classic' | 'modern';
|
|
5
5
|
moreThanOneTag: boolean;
|
|
6
|
+
isLoading: boolean;
|
|
7
|
+
onShowMore: ((id: string) => void) | undefined;
|
|
6
8
|
};
|
|
7
9
|
declare var __VLS_5: {}, __VLS_11: {};
|
|
8
10
|
type __VLS_Slots = {} & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tag.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Tags/Tag.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Tag.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Tags/Tag.vue"],"names":[],"mappings":"AA6BA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,4CAA4C,CAAA;AAK9E,KAAK,WAAW,GAAG;IACjB,GAAG,EAAE,YAAY,CAAA;IACjB,MAAM,EAAE,SAAS,GAAG,QAAQ,CAAA;IAC5B,cAAc,EAAE,OAAO,CAAA;IACvB,SAAS,EAAE,OAAO,CAAA;IAClB,UAAU,EAAE,CAAC,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC,GAAG,SAAS,CAAA;CAC/C,CAAC;AA0CF,QAAA,IAAI,OAAO,IAAU,EAAE,QAAQ,IAAY,CAAE;AAC7C,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC5C;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAsBhD,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,22 +1,24 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
const c = /* @__PURE__ */
|
|
1
|
+
import { defineComponent as s, createBlock as e, openBlock as r, normalizeProps as t, mergeProps as a, withCtx as n, renderSlot as p } from "vue";
|
|
2
|
+
import l from "./ClassicLayout.vue.js";
|
|
3
|
+
import u from "./ModernLayout.vue.js";
|
|
4
|
+
const c = /* @__PURE__ */ s({
|
|
5
5
|
__name: "Tag",
|
|
6
6
|
props: {
|
|
7
7
|
tag: {},
|
|
8
8
|
layout: {},
|
|
9
|
-
moreThanOneTag: { type: Boolean }
|
|
9
|
+
moreThanOneTag: { type: Boolean },
|
|
10
|
+
isLoading: { type: Boolean },
|
|
11
|
+
onShowMore: { type: Function }
|
|
10
12
|
},
|
|
11
|
-
setup(
|
|
12
|
-
return (o,
|
|
13
|
-
default:
|
|
14
|
-
|
|
13
|
+
setup(i) {
|
|
14
|
+
return (o, m) => o.layout === "classic" ? (r(), e(l, t(a({ key: 0 }, o.$props)), {
|
|
15
|
+
default: n(() => [
|
|
16
|
+
p(o.$slots, "default")
|
|
15
17
|
]),
|
|
16
18
|
_: 3
|
|
17
|
-
}, 16)) : (r(), e(
|
|
18
|
-
default:
|
|
19
|
-
|
|
19
|
+
}, 16)) : (r(), e(u, t(a({ key: 1 }, o.$props)), {
|
|
20
|
+
default: n(() => [
|
|
21
|
+
p(o.$slots, "default")
|
|
20
22
|
]),
|
|
21
23
|
_: 3
|
|
22
24
|
}, 16));
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import type { TraversedTag } from '@scalar/workspace-store/schemas/
|
|
1
|
+
import type { TraversedTag } from '@scalar/workspace-store/schemas/navigation';
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
tag: TraversedTag;
|
|
4
4
|
headerId?: string;
|
|
5
5
|
isCollapsed?: boolean;
|
|
6
|
+
isLoading?: boolean;
|
|
6
7
|
};
|
|
7
8
|
declare const _default: 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>;
|
|
8
9
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TagSection.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Tags/TagSection.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TagSection.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Tags/TagSection.vue"],"names":[],"mappings":"AA2DA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,4CAA4C,CAAA;AAe9E,KAAK,WAAW,GAAG;IACjB,GAAG,EAAE,YAAY,CAAA;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB,CAAC;;AA6KF,wBAMG"}
|
|
@@ -1,51 +1,50 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { ScalarMarkdown as
|
|
1
|
+
import { defineComponent as p, createBlock as i, createCommentVNode as r, openBlock as n, unref as o, withCtx as t, withDirectives as u, createVNode as a, createTextVNode as d, toDisplayString as f, vShow as s } from "vue";
|
|
2
|
+
import { ScalarMarkdown as g } from "@scalar/components";
|
|
3
3
|
import C from "../../ScreenReader.vue.js";
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import v from "../../
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
|
|
14
|
-
const q = /* @__PURE__ */ f({
|
|
4
|
+
import S from "../../Section/Section.vue.js";
|
|
5
|
+
import c from "../../Section/SectionHeader.vue.js";
|
|
6
|
+
import v from "../../Anchor/Anchor.vue.js";
|
|
7
|
+
import _ from "../../Section/SectionHeaderTag.vue.js";
|
|
8
|
+
import y from "../../Section/SectionContent.vue.js";
|
|
9
|
+
import h from "../../Section/SectionColumns.vue.js";
|
|
10
|
+
import m from "../../Section/SectionColumn.vue.js";
|
|
11
|
+
import k from "../../OperationsList/OperationsList.vue.js";
|
|
12
|
+
import w from "../../../features/specification-extension/SpecificationExtension.vue2.js";
|
|
13
|
+
const R = /* @__PURE__ */ p({
|
|
15
14
|
__name: "TagSection",
|
|
16
15
|
props: {
|
|
17
16
|
tag: {},
|
|
18
17
|
headerId: {},
|
|
19
|
-
isCollapsed: { type: Boolean }
|
|
18
|
+
isCollapsed: { type: Boolean },
|
|
19
|
+
isLoading: { type: Boolean }
|
|
20
20
|
},
|
|
21
|
-
setup(
|
|
22
|
-
|
|
23
|
-
return (o, l) => o.tag ? (d(), r(e(_), {
|
|
21
|
+
setup(B) {
|
|
22
|
+
return (e, l) => e.tag ? (n(), i(o(S), {
|
|
24
23
|
key: 0,
|
|
25
|
-
id:
|
|
26
|
-
label:
|
|
24
|
+
id: e.tag.id,
|
|
25
|
+
label: e.tag.title?.toUpperCase(),
|
|
27
26
|
role: "none"
|
|
28
27
|
}, {
|
|
29
|
-
default:
|
|
30
|
-
u(
|
|
31
|
-
default:
|
|
32
|
-
|
|
33
|
-
id:
|
|
28
|
+
default: t(() => [
|
|
29
|
+
u(a(o(c), null, {
|
|
30
|
+
default: t(() => [
|
|
31
|
+
a(o(v), {
|
|
32
|
+
id: e.tag.id
|
|
34
33
|
}, {
|
|
35
|
-
default:
|
|
36
|
-
|
|
37
|
-
id:
|
|
34
|
+
default: t(() => [
|
|
35
|
+
a(o(_), {
|
|
36
|
+
id: e.headerId,
|
|
38
37
|
level: 2
|
|
39
38
|
}, {
|
|
40
|
-
default:
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
default:
|
|
44
|
-
|
|
39
|
+
default: t(() => [
|
|
40
|
+
d(f(e.tag.title) + " ", 1),
|
|
41
|
+
e.isCollapsed ? (n(), i(C, { key: 0 }, {
|
|
42
|
+
default: t(() => l[0] || (l[0] = [
|
|
43
|
+
d(" (Collapsed)")
|
|
45
44
|
])),
|
|
46
45
|
_: 1,
|
|
47
46
|
__: [0]
|
|
48
|
-
})) :
|
|
47
|
+
})) : r("", !0)
|
|
49
48
|
]),
|
|
50
49
|
_: 1
|
|
51
50
|
}, 8, ["id"])
|
|
@@ -55,27 +54,25 @@ const q = /* @__PURE__ */ f({
|
|
|
55
54
|
]),
|
|
56
55
|
_: 1
|
|
57
56
|
}, 512), [
|
|
58
|
-
[
|
|
57
|
+
[s, !e.isLoading]
|
|
59
58
|
]),
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
clamp: o.isCollapsed ? 7 : void 0,
|
|
70
|
-
value: o.tag?.description ?? "",
|
|
59
|
+
a(o(y), { loading: e.isLoading }, {
|
|
60
|
+
default: t(() => [
|
|
61
|
+
a(o(h), null, {
|
|
62
|
+
default: t(() => [
|
|
63
|
+
a(o(m), null, {
|
|
64
|
+
default: t(() => [
|
|
65
|
+
a(o(g), {
|
|
66
|
+
clamp: e.isCollapsed ? 7 : void 0,
|
|
67
|
+
value: e.tag?.description ?? "",
|
|
71
68
|
withImages: ""
|
|
72
69
|
}, null, 8, ["clamp", "value"])
|
|
73
70
|
]),
|
|
74
71
|
_: 1
|
|
75
72
|
}),
|
|
76
|
-
|
|
77
|
-
default:
|
|
78
|
-
|
|
73
|
+
a(o(m), null, {
|
|
74
|
+
default: t(() => [
|
|
75
|
+
a(o(k), { tag: e.tag }, null, 8, ["tag"])
|
|
79
76
|
]),
|
|
80
77
|
_: 1
|
|
81
78
|
})
|
|
@@ -85,14 +82,14 @@ const q = /* @__PURE__ */ f({
|
|
|
85
82
|
]),
|
|
86
83
|
_: 1
|
|
87
84
|
}, 8, ["loading"]),
|
|
88
|
-
|
|
89
|
-
value:
|
|
85
|
+
a(o(w), {
|
|
86
|
+
value: e.tag.xKeys
|
|
90
87
|
}, null, 8, ["value"])
|
|
91
88
|
]),
|
|
92
89
|
_: 1
|
|
93
|
-
}, 8, ["id", "label"])) :
|
|
90
|
+
}, 8, ["id", "label"])) : r("", !0);
|
|
94
91
|
}
|
|
95
92
|
});
|
|
96
93
|
export {
|
|
97
|
-
|
|
94
|
+
R as default
|
|
98
95
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OperationsList.vue.d.ts","sourceRoot":"","sources":["../../../src/components/OperationsList/OperationsList.vue"],"names":[],"mappings":"AAmEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"OperationsList.vue.d.ts","sourceRoot":"","sources":["../../../src/components/OperationsList/OperationsList.vue"],"names":[],"mappings":"AAmEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,4CAA4C,CAAA;AAO9E,KAAK,WAAW,GAAG;IACjB,GAAG,EAAE,YAAY,CAAA;CAClB,CAAC;;AAmHF,wBAMG"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./OperationsList.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-
|
|
4
|
+
const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-5f88c366"]]);
|
|
5
5
|
export {
|
|
6
6
|
a as default
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { TraversedOperation, TraversedWebhook } from '@scalar/workspace-store/schemas/
|
|
1
|
+
import type { TraversedOperation, TraversedWebhook } from '@scalar/workspace-store/schemas/navigation';
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
operation: TraversedOperation | TraversedWebhook;
|
|
4
4
|
isCollapsed?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OperationsListItem.vue.d.ts","sourceRoot":"","sources":["../../../src/components/OperationsList/OperationsListItem.vue"],"names":[],"mappings":"AAwHA,OAAO,KAAK,EAEV,kBAAkB,EAClB,gBAAgB,EACjB,MAAM,
|
|
1
|
+
{"version":3,"file":"OperationsListItem.vue.d.ts","sourceRoot":"","sources":["../../../src/components/OperationsList/OperationsListItem.vue"],"names":[],"mappings":"AAwHA,OAAO,KAAK,EAEV,kBAAkB,EAClB,gBAAgB,EACjB,MAAM,4CAA4C,CAAA;AAOnD,KAAK,WAAW,GAAG;IACjB,SAAS,EAAE,kBAAkB,GAAG,gBAAgB,CAAA;IAChD,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB,CAAC;;AAsJF,wBAMG"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import t from "./OperationsListItem.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import o from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const p = /* @__PURE__ */ o(t, [["__scopeId", "data-v-7dff261d"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
p as default
|
|
7
7
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./Section.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-
|
|
4
|
+
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-9bfffebe"]]);
|
|
5
5
|
export {
|
|
6
6
|
m as default
|
|
7
7
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./SectionContainerAccordion.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const c = /* @__PURE__ */ t(o, [["__scopeId", "data-v-4ea50e41"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
c as default
|
|
7
7
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
2
|
id: string;
|
|
3
|
+
onShowMore: ((id: string) => void) | undefined;
|
|
3
4
|
};
|
|
4
5
|
declare const _default: 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>;
|
|
5
6
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ShowMoreButton.vue.d.ts","sourceRoot":"","sources":["../../src/components/ShowMoreButton.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ShowMoreButton.vue.d.ts","sourceRoot":"","sources":["../../src/components/ShowMoreButton.vue"],"names":[],"mappings":"AAsEA,KAAK,WAAW,GAAG;IACjB,EAAE,EAAE,MAAM,CAAA;IACV,UAAU,EAAE,CAAC,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC,GAAG,SAAS,CAAA;CAC/C,CAAC;;AAkEF,wBAMG"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./ShowMoreButton.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-4b6e7dc9"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
p as default
|
|
7
7
|
};
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { ScalarIconCaretDown as
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
const h = /* @__PURE__ */ c({
|
|
1
|
+
import { defineComponent as r, createElementBlock as c, openBlock as a, createTextVNode as i, createVNode as s, unref as l } from "vue";
|
|
2
|
+
import { ScalarIconCaretDown as m } from "@scalar/icons";
|
|
3
|
+
import { useSidebar as d } from "../v2/blocks/scalar-sidebar-block/hooks/useSidebar.js";
|
|
4
|
+
const S = /* @__PURE__ */ r({
|
|
6
5
|
__name: "ShowMoreButton",
|
|
7
6
|
props: {
|
|
8
|
-
id: {}
|
|
7
|
+
id: {},
|
|
8
|
+
onShowMore: { type: Function }
|
|
9
9
|
},
|
|
10
10
|
setup(e) {
|
|
11
|
-
const { setCollapsedSidebarItem: t } =
|
|
12
|
-
t(e.id, !0),
|
|
11
|
+
const { setCollapsedSidebarItem: t } = d(), n = () => {
|
|
12
|
+
t(e.id, !0), e.onShowMore?.(e.id);
|
|
13
13
|
};
|
|
14
|
-
return (
|
|
14
|
+
return (u, o) => (a(), c("button", {
|
|
15
15
|
class: "show-more",
|
|
16
16
|
type: "button",
|
|
17
17
|
onClick: n
|
|
18
18
|
}, [
|
|
19
|
-
o[0] || (o[0] =
|
|
20
|
-
|
|
19
|
+
o[0] || (o[0] = i(" Show More ")),
|
|
20
|
+
s(l(m), {
|
|
21
21
|
class: "text-c-2 mt-0.25 size-3",
|
|
22
22
|
weight: "bold"
|
|
23
23
|
})
|
|
@@ -25,5 +25,5 @@ const h = /* @__PURE__ */ c({
|
|
|
25
25
|
}
|
|
26
26
|
});
|
|
27
27
|
export {
|
|
28
|
-
|
|
28
|
+
S as default
|
|
29
29
|
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/** Registry URL where shared documents can be accessed */
|
|
2
|
+
export declare const REGISTRY_SHARE_URL: "https://registry.scalar.com/share";
|
|
3
|
+
/**
|
|
4
|
+
* Scalar proxy service
|
|
5
|
+
*/
|
|
6
|
+
export declare const PROXY_URL: "https://proxy.scalar.com";
|
|
7
|
+
/**
|
|
8
|
+
* API endpoint for uploading temporary documents
|
|
9
|
+
* TODO: Update to production URL once available
|
|
10
|
+
*/
|
|
11
|
+
export declare const UPLOAD_TEMP_API_URL: "https://api.scalar.com/core/share/upload/apis";
|
|
12
|
+
/**
|
|
13
|
+
* Editor preview URL for previewing a specific document
|
|
14
|
+
* TODO: Update to production URL once available
|
|
15
|
+
*/
|
|
16
|
+
export declare const DASHBOARD_REGISTER_URL: "https://dashboard.scalar.com/register";
|
|
17
|
+
//# sourceMappingURL=urls.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"urls.d.ts","sourceRoot":"","sources":["../../src/consts/urls.ts"],"names":[],"mappings":"AAAA,0DAA0D;AAC1D,eAAO,MAAM,kBAAkB,EAAG,mCAA4C,CAAA;AAE9E;;GAEG;AACH,eAAO,MAAM,SAAS,EAAG,0BAAmC,CAAA;AAE5D;;;GAGG;AACH,eAAO,MAAM,mBAAmB,EAAG,+CAAwD,CAAA;AAE3F;;;GAGG;AACH,eAAO,MAAM,sBAAsB,EAAG,uCAAgD,CAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
const s = "https://registry.scalar.com/share", a = "https://proxy.scalar.com", t = "https://api.scalar.com/core/share/upload/apis", r = "https://dashboard.scalar.com/register";
|
|
2
|
+
export {
|
|
3
|
+
r as DASHBOARD_REGISTER_URL,
|
|
4
|
+
a as PROXY_URL,
|
|
5
|
+
s as REGISTRY_SHARE_URL,
|
|
6
|
+
t as UPLOAD_TEMP_API_URL
|
|
7
|
+
};
|
|
@@ -1,21 +1,33 @@
|
|
|
1
|
+
import type { ClientOptionGroup } from '@scalar/api-client/v2/blocks/operation-code-sample';
|
|
1
2
|
import type { HttpMethod } from '@scalar/helpers/http/http-methods';
|
|
2
3
|
import type { Collection, Server } from '@scalar/oas-utils/entities/spec';
|
|
3
|
-
import type { ApiReferenceConfiguration } from '@scalar/types';
|
|
4
4
|
import type { WorkspaceStore } from '@scalar/workspace-store/client';
|
|
5
|
-
import type {
|
|
6
|
-
import type { ClientOptionGroup } from '../../v2/blocks/scalar-request-example-block/types';
|
|
5
|
+
import type { PathItemObject, SecurityRequirementObject } from '@scalar/workspace-store/schemas/v3.1/strict/openapi-document';
|
|
7
6
|
type __VLS_Props = {
|
|
8
|
-
path: string;
|
|
9
|
-
method: HttpMethod;
|
|
10
|
-
clientOptions: ClientOptionGroup[];
|
|
11
|
-
config: ApiReferenceConfiguration;
|
|
12
|
-
document: OpenApiDocument;
|
|
13
|
-
isWebhook: boolean;
|
|
14
7
|
id: string;
|
|
8
|
+
method: HttpMethod;
|
|
9
|
+
/** Key of the operations path in the document.paths object */
|
|
10
|
+
path: string;
|
|
11
|
+
/** OpenAPI path object that will include the operation */
|
|
12
|
+
pathValue: PathItemObject | undefined;
|
|
13
|
+
/** Active server*/
|
|
15
14
|
server: Server | undefined;
|
|
15
|
+
/** Document level security requirements */
|
|
16
|
+
security: SecurityRequirementObject[] | undefined;
|
|
16
17
|
store: WorkspaceStore;
|
|
17
18
|
/** @deprecated Use `document` instead, we just need the selected security scheme uids for now */
|
|
18
19
|
collection: Collection;
|
|
20
|
+
options: {
|
|
21
|
+
layout: 'classic' | 'modern';
|
|
22
|
+
/** Sets some additional display properties when an operation is a webhook */
|
|
23
|
+
isWebhook: boolean;
|
|
24
|
+
showOperationId: boolean | undefined;
|
|
25
|
+
hideTestRequestButton: boolean | undefined;
|
|
26
|
+
expandAllResponses: boolean | undefined;
|
|
27
|
+
clientOptions: ClientOptionGroup[];
|
|
28
|
+
orderRequiredPropertiesFirst: boolean | undefined;
|
|
29
|
+
orderSchemaPropertiesBy: 'alpha' | 'preserve' | undefined;
|
|
30
|
+
};
|
|
19
31
|
};
|
|
20
32
|
declare const _default: 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>;
|
|
21
33
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Operation.vue.d.ts","sourceRoot":"","sources":["../../../src/features/Operation/Operation.vue"],"names":[],"mappings":"AA8HA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"Operation.vue.d.ts","sourceRoot":"","sources":["../../../src/features/Operation/Operation.vue"],"names":[],"mappings":"AA8HA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oDAAoD,CAAA;AAE3F,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAA;AACnE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,iCAAiC,CAAA;AACzE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAA;AAEpE,OAAO,KAAK,EACV,cAAc,EACd,yBAAyB,EAE1B,MAAM,8DAA8D,CAAA;AAUrE,KAAK,WAAW,GAAG;IACjB,EAAE,EAAE,MAAM,CAAA;IACV,MAAM,EAAE,UAAU,CAAA;IAClB,8DAA8D;IAC9D,IAAI,EAAE,MAAM,CAAA;IACZ,0DAA0D;IAC1D,SAAS,EAAE,cAAc,GAAG,SAAS,CAAA;IACrC,mBAAmB;IACnB,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;IAC1B,2CAA2C;IAC3C,QAAQ,EAAE,yBAAyB,EAAE,GAAG,SAAS,CAAA;IAGjD,KAAK,EAAE,cAAc,CAAA;IACrB,iGAAiG;IACjG,UAAU,EAAE,UAAU,CAAA;IACtB,OAAO,EAAE;QACP,MAAM,EAAE,SAAS,GAAG,QAAQ,CAAA;QAC5B,6EAA6E;QAC7E,SAAS,EAAE,OAAO,CAAA;QAClB,eAAe,EAAE,OAAO,GAAG,SAAS,CAAA;QACpC,qBAAqB,EAAE,OAAO,GAAG,SAAS,CAAA;QAC1C,kBAAkB,EAAE,OAAO,GAAG,SAAS,CAAA;QACvC,aAAa,EAAE,iBAAiB,EAAE,CAAA;QAClC,4BAA4B,EAAE,OAAO,GAAG,SAAS,CAAA;QACjD,uBAAuB,EAAE,OAAO,GAAG,UAAU,GAAG,SAAS,CAAA;KAC1D,CAAA;CACF,CAAC;;AAuIF,wBAMG"}
|