@scalar/api-client 2.26.0 → 2.26.2
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 +51 -0
- package/dist/components/AddressBar/AddressBar.vue.d.ts +2 -1
- package/dist/components/AddressBar/AddressBar.vue.d.ts.map +1 -1
- package/dist/components/AddressBar/AddressBarHistory.vue.d.ts +2 -1
- package/dist/components/AddressBar/AddressBarHistory.vue.d.ts.map +1 -1
- package/dist/components/CodeInput/CodeInput.vue.d.ts +3 -2
- package/dist/components/CodeInput/CodeInput.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandActionForm.vue.d.ts +5 -4
- package/dist/components/CommandPalette/CommandActionForm.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandActionInput.vue.d.ts +2 -1
- package/dist/components/CommandPalette/CommandActionInput.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPaletteCollection.vue.d.ts +2 -1
- package/dist/components/CommandPalette/CommandPaletteCollection.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPaletteExample.vue.d.ts +2 -1
- package/dist/components/CommandPalette/CommandPaletteExample.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPaletteImport.vue.d.ts +2 -1
- package/dist/components/CommandPalette/CommandPaletteImport.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPaletteImportCurl.vue.d.ts +2 -1
- package/dist/components/CommandPalette/CommandPaletteImportCurl.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPaletteServer.vue.d.ts +2 -1
- package/dist/components/CommandPalette/CommandPaletteServer.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPaletteTag.vue.d.ts +2 -1
- package/dist/components/CommandPalette/CommandPaletteTag.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPaletteWorkspace.vue.d.ts +2 -1
- package/dist/components/CommandPalette/CommandPaletteWorkspace.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts +2 -1
- package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/WatchModeToggle.vue.d.ts +2 -1
- package/dist/components/CommandPalette/WatchModeToggle.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTable.vue.d.ts +3 -2
- package/dist/components/DataTable/DataTable.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableCell.vue.d.ts +5 -4
- package/dist/components/DataTable/DataTableCell.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableCheckbox.vue.d.ts +2 -1
- package/dist/components/DataTable/DataTableCheckbox.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableHeader.vue.d.ts +5 -4
- package/dist/components/DataTable/DataTableHeader.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableInput.vue.d.ts +7 -6
- package/dist/components/DataTable/DataTableInput.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableInputSelect.vue.d.ts +2 -1
- package/dist/components/DataTable/DataTableInputSelect.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableRow.vue.d.ts +3 -2
- package/dist/components/DataTable/DataTableRow.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableText.vue.d.ts +5 -4
- package/dist/components/DataTable/DataTableText.vue.d.ts.map +1 -1
- package/dist/components/EmptyState.vue.d.ts +2 -1
- package/dist/components/EmptyState.vue.d.ts.map +1 -1
- package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.d.ts +2 -1
- package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.d.ts.map +1 -1
- package/dist/components/Form/Form.vue.d.ts +5 -4
- package/dist/components/Form/Form.vue.d.ts.map +1 -1
- package/dist/components/Form/LabelInput.vue.d.ts +2 -1
- package/dist/components/Form/LabelInput.vue.d.ts.map +1 -1
- package/dist/components/HelpfulLink.vue.d.ts +3 -2
- package/dist/components/HelpfulLink.vue.d.ts.map +1 -1
- package/dist/components/HttpMethod/HttpMethod.vue.d.ts +2 -1
- package/dist/components/HttpMethod/HttpMethod.vue.d.ts.map +1 -1
- package/dist/components/IconSelector.vue.d.ts +6 -5
- package/dist/components/IconSelector.vue.d.ts.map +1 -1
- package/dist/components/ImportCollection/DropEventListener.vue.d.ts +2 -1
- package/dist/components/ImportCollection/DropEventListener.vue.d.ts.map +1 -1
- package/dist/components/ImportCollection/ImportCollectionListener.vue.d.ts +3 -2
- package/dist/components/ImportCollection/ImportCollectionListener.vue.d.ts.map +1 -1
- package/dist/components/ImportCollection/ImportCollectionModal.vue.d.ts +2 -1
- package/dist/components/ImportCollection/ImportCollectionModal.vue.d.ts.map +1 -1
- package/dist/components/ImportCollection/ImportNowButton.vue.d.ts +2 -1
- package/dist/components/ImportCollection/ImportNowButton.vue.d.ts.map +1 -1
- package/dist/components/ImportCollection/IntegrationLogo.vue.d.ts +2 -1
- package/dist/components/ImportCollection/IntegrationLogo.vue.d.ts.map +1 -1
- package/dist/components/ImportCollection/PasteEventListener.vue.d.ts +2 -1
- package/dist/components/ImportCollection/PasteEventListener.vue.d.ts.map +1 -1
- package/dist/components/ImportCollection/PrefetchError.vue.d.ts +2 -1
- package/dist/components/ImportCollection/PrefetchError.vue.d.ts.map +1 -1
- package/dist/components/ImportCollection/UrlQueryParameterChecker.vue.d.ts +2 -1
- package/dist/components/ImportCollection/UrlQueryParameterChecker.vue.d.ts.map +1 -1
- package/dist/components/ImportCollection/WorkspaceSelector.vue.d.ts +2 -1
- package/dist/components/ImportCollection/WorkspaceSelector.vue.d.ts.map +1 -1
- package/dist/components/OpenApiClientButton.vue.d.ts +2 -1
- package/dist/components/OpenApiClientButton.vue.d.ts.map +1 -1
- package/dist/components/ScalarAsciiArt.vue.d.ts +2 -1
- package/dist/components/ScalarAsciiArt.vue.d.ts.map +1 -1
- package/dist/components/SectionFilter.vue.d.ts +14 -9
- package/dist/components/SectionFilter.vue.d.ts.map +1 -1
- package/dist/components/SectionFilterButton.vue.d.ts +3 -2
- package/dist/components/SectionFilterButton.vue.d.ts.map +1 -1
- package/dist/components/Server/ServerDropdown.vue.d.ts +2 -1
- package/dist/components/Server/ServerDropdown.vue.d.ts.map +1 -1
- package/dist/components/Server/ServerDropdownItem.vue.d.ts +2 -1
- package/dist/components/Server/ServerDropdownItem.vue.d.ts.map +1 -1
- package/dist/components/Server/ServerSelector.vue.d.ts +2 -1
- package/dist/components/Server/ServerSelector.vue.d.ts.map +1 -1
- package/dist/components/Server/ServerVariablesForm.vue.d.ts +2 -1
- package/dist/components/Server/ServerVariablesForm.vue.d.ts.map +1 -1
- package/dist/components/Server/ServerVariablesSelect.vue.d.ts +2 -1
- package/dist/components/Server/ServerVariablesSelect.vue.d.ts.map +1 -1
- package/dist/components/Server/ServerVariablesTextbox.vue.d.ts +2 -1
- package/dist/components/Server/ServerVariablesTextbox.vue.d.ts.map +1 -1
- package/dist/components/SideNav/DownloadAppButton.vue.d.ts +2 -1
- package/dist/components/SideNav/DownloadAppButton.vue.d.ts.map +1 -1
- package/dist/components/SideNav/SideHelp.vue.d.ts +2 -1
- package/dist/components/SideNav/SideHelp.vue.d.ts.map +1 -1
- package/dist/components/SideNav/SideNav.vue.d.ts +2 -1
- package/dist/components/SideNav/SideNav.vue.d.ts.map +1 -1
- package/dist/components/SideNav/SideNavGroup.vue.d.ts +3 -2
- package/dist/components/SideNav/SideNavGroup.vue.d.ts.map +1 -1
- package/dist/components/SideNav/SideNavLink.vue.d.ts +6 -5
- package/dist/components/SideNav/SideNavLink.vue.d.ts.map +1 -1
- package/dist/components/SideNav/SideNavRouterLink.vue.d.ts +5 -4
- package/dist/components/SideNav/SideNavRouterLink.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/Actions/DeleteSidebarListElement.vue.d.ts +2 -1
- package/dist/components/Sidebar/Actions/DeleteSidebarListElement.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/Actions/EditSidebarListCollection.vue.d.ts +2 -1
- package/dist/components/Sidebar/Actions/EditSidebarListCollection.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/Actions/EditSidebarListElement.vue.d.ts +2 -1
- package/dist/components/Sidebar/Actions/EditSidebarListElement.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/Actions/SidebarListElementForm.vue.d.ts +3 -2
- package/dist/components/Sidebar/Actions/SidebarListElementForm.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/Sidebar.vue.d.ts +3 -2
- package/dist/components/Sidebar/Sidebar.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarButton.vue.d.ts +3 -2
- package/dist/components/Sidebar/SidebarButton.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarList.vue.d.ts +3 -2
- package/dist/components/Sidebar/SidebarList.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarListElement.vue.d.ts +2 -1
- package/dist/components/Sidebar/SidebarListElement.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarListElement.vue.js +2 -2
- package/dist/components/Sidebar/SidebarListElement.vue2.js +1 -1
- package/dist/components/Sidebar/SidebarListElementActions.vue.d.ts +2 -1
- package/dist/components/Sidebar/SidebarListElementActions.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarToggle.vue.d.ts +2 -1
- package/dist/components/Sidebar/SidebarToggle.vue.d.ts.map +1 -1
- package/dist/components/TopNav/TopNav.vue.d.ts +2 -1
- package/dist/components/TopNav/TopNav.vue.d.ts.map +1 -1
- package/dist/components/TopNav/TopNavItem.vue.d.ts +2 -1
- package/dist/components/TopNav/TopNavItem.vue.d.ts.map +1 -1
- package/dist/components/ViewLayout/ViewLayout.vue.d.ts +3 -2
- package/dist/components/ViewLayout/ViewLayout.vue.d.ts.map +1 -1
- package/dist/components/ViewLayout/ViewLayoutCollapse.vue.d.ts +9 -8
- package/dist/components/ViewLayout/ViewLayoutCollapse.vue.d.ts.map +1 -1
- package/dist/components/ViewLayout/ViewLayoutContent.vue.d.ts +3 -2
- package/dist/components/ViewLayout/ViewLayoutContent.vue.d.ts.map +1 -1
- package/dist/components/ViewLayout/ViewLayoutSection.vue.d.ts +3 -2
- package/dist/components/ViewLayout/ViewLayoutSection.vue.d.ts.map +1 -1
- package/dist/layouts/App/ApiClientApp.vue.d.ts +2 -1
- package/dist/layouts/App/ApiClientApp.vue.d.ts.map +1 -1
- package/dist/layouts/App/MainLayout.vue.d.ts +5 -4
- package/dist/layouts/App/MainLayout.vue.d.ts.map +1 -1
- package/dist/layouts/Modal/ApiClientModal.vue.d.ts +2 -1
- package/dist/layouts/Modal/ApiClientModal.vue.d.ts.map +1 -1
- package/dist/layouts/Modal/ApiClientModal.vue.js +28 -5
- package/dist/layouts/Modal/ApiClientModal.vue2.js +2 -53
- package/dist/layouts/Modal/create-api-client-modal.js +8 -8
- package/dist/layouts/Web/ApiClientWeb.vue.d.ts +2 -1
- package/dist/layouts/Web/ApiClientWeb.vue.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/dist/v2/blocks/operation-block/OperationBlock.vue.d.ts +4 -3
- package/dist/v2/blocks/operation-block/OperationBlock.vue.d.ts.map +1 -1
- package/dist/v2/blocks/operation-block/OperationBlock.vue.js +48 -43
- package/dist/v2/blocks/operation-block/components/Header.vue.d.ts +2 -1
- package/dist/v2/blocks/operation-block/components/Header.vue.d.ts.map +1 -1
- package/dist/v2/blocks/operation-block/components/Header.vue.js +2 -2
- package/dist/v2/blocks/operation-block/components/Header.vue2.js +10 -10
- package/dist/v2/blocks/operation-block/helpers/send-request.d.ts +1 -1
- package/dist/v2/blocks/operation-block/helpers/send-request.d.ts.map +1 -1
- package/dist/v2/blocks/operation-block/helpers/send-request.js +1 -1
- package/dist/v2/blocks/operation-code-sample/components/ExamplePicker.vue.d.ts +4 -2
- package/dist/v2/blocks/operation-code-sample/components/ExamplePicker.vue.d.ts.map +1 -1
- package/dist/v2/blocks/operation-code-sample/components/HttpMethod.vue.d.ts +5 -4
- package/dist/v2/blocks/operation-code-sample/components/HttpMethod.vue.d.ts.map +1 -1
- package/dist/v2/blocks/operation-code-sample/components/OperationCodeSample.vue.d.ts +16 -3
- package/dist/v2/blocks/operation-code-sample/components/OperationCodeSample.vue.d.ts.map +1 -1
- package/dist/v2/blocks/operation-code-sample/components/OperationCodeSample.vue.js +2 -2
- package/dist/v2/blocks/operation-code-sample/components/OperationCodeSample.vue2.js +86 -78
- package/dist/v2/blocks/request-block/RequestBlock.vue.d.ts +3 -2
- package/dist/v2/blocks/request-block/RequestBlock.vue.d.ts.map +1 -1
- package/dist/v2/blocks/request-block/RequestBlock.vue.js +1 -1
- package/dist/v2/blocks/request-block/RequestBlock.vue2.js +102 -101
- package/dist/v2/blocks/request-block/components/RequestBody.vue.d.ts +2 -1
- package/dist/v2/blocks/request-block/components/RequestBody.vue.d.ts.map +1 -1
- package/dist/v2/blocks/request-block/components/RequestBodyForm.vue.d.ts +2 -1
- package/dist/v2/blocks/request-block/components/RequestBodyForm.vue.d.ts.map +1 -1
- package/dist/v2/blocks/request-block/components/RequestCodeSnippet.vue.d.ts +2 -1
- package/dist/v2/blocks/request-block/components/RequestCodeSnippet.vue.d.ts.map +1 -1
- package/dist/v2/blocks/request-block/components/RequestParams.vue.d.ts +2 -1
- package/dist/v2/blocks/request-block/components/RequestParams.vue.d.ts.map +1 -1
- package/dist/v2/blocks/request-block/components/RequestParams.vue.js +6 -6
- package/dist/v2/blocks/request-block/components/RequestTable.vue.d.ts +38 -3
- package/dist/v2/blocks/request-block/components/RequestTable.vue.d.ts.map +1 -1
- package/dist/v2/blocks/request-block/components/RequestTable.vue.js +1 -1
- package/dist/v2/blocks/request-block/components/RequestTableRow.vue.d.ts +40 -4
- package/dist/v2/blocks/request-block/components/RequestTableRow.vue.d.ts.map +1 -1
- package/dist/v2/blocks/request-block/components/RequestTableTooltip.vue.d.ts +2 -1
- package/dist/v2/blocks/request-block/components/RequestTableTooltip.vue.d.ts.map +1 -1
- package/dist/v2/blocks/request-block/helpers/get-default-headers.js +1 -1
- package/dist/v2/blocks/response-block/ResponseBlock.vue.d.ts +3 -2
- package/dist/v2/blocks/response-block/ResponseBlock.vue.d.ts.map +1 -1
- package/dist/v2/blocks/response-block/ResponseBlock.vue.js +1 -1
- package/dist/v2/blocks/response-block/ResponseBlock.vue2.js +71 -72
- package/dist/v2/blocks/response-block/components/Headers.vue.d.ts +5 -4
- package/dist/v2/blocks/response-block/components/Headers.vue.d.ts.map +1 -1
- package/dist/v2/blocks/response-block/components/ResponseBody.vue.d.ts +2 -1
- package/dist/v2/blocks/response-block/components/ResponseBody.vue.d.ts.map +1 -1
- package/dist/v2/blocks/response-block/components/ResponseBodyDownload.vue.d.ts +2 -1
- package/dist/v2/blocks/response-block/components/ResponseBodyDownload.vue.d.ts.map +1 -1
- package/dist/v2/blocks/response-block/components/ResponseBodyInfo.vue.d.ts +3 -2
- package/dist/v2/blocks/response-block/components/ResponseBodyInfo.vue.d.ts.map +1 -1
- package/dist/v2/blocks/response-block/components/ResponseBodyPreview.vue.d.ts +2 -1
- package/dist/v2/blocks/response-block/components/ResponseBodyPreview.vue.d.ts.map +1 -1
- package/dist/v2/blocks/response-block/components/ResponseBodyRaw.vue.d.ts +2 -1
- package/dist/v2/blocks/response-block/components/ResponseBodyRaw.vue.d.ts.map +1 -1
- package/dist/v2/blocks/response-block/components/ResponseBodyStreaming.vue.d.ts +2 -1
- package/dist/v2/blocks/response-block/components/ResponseBodyStreaming.vue.d.ts.map +1 -1
- package/dist/v2/blocks/response-block/components/ResponseBodyToggle.vue.d.ts +2 -1
- package/dist/v2/blocks/response-block/components/ResponseBodyToggle.vue.d.ts.map +1 -1
- package/dist/v2/blocks/response-block/components/ResponseBodyVirtual.vue.d.ts +2 -1
- package/dist/v2/blocks/response-block/components/ResponseBodyVirtual.vue.d.ts.map +1 -1
- package/dist/v2/blocks/response-block/components/ResponseCookies.vue.d.ts +2 -1
- package/dist/v2/blocks/response-block/components/ResponseCookies.vue.d.ts.map +1 -1
- package/dist/v2/blocks/response-block/components/ResponseEmpty.vue.d.ts +2 -1
- package/dist/v2/blocks/response-block/components/ResponseEmpty.vue.d.ts.map +1 -1
- package/dist/v2/blocks/response-block/components/ResponseLoadingOverlay.vue.d.ts +2 -1
- package/dist/v2/blocks/response-block/components/ResponseLoadingOverlay.vue.d.ts.map +1 -1
- package/dist/v2/blocks/response-block/components/ResponseMetaInformation.vue.d.ts +2 -1
- package/dist/v2/blocks/response-block/components/ResponseMetaInformation.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.d.ts +2 -1
- package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-address-bar-block/components/AddressBarHistory.vue.d.ts +2 -1
- package/dist/v2/blocks/scalar-address-bar-block/components/AddressBarHistory.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-address-bar-block/components/EnvironmentSelector.vue.d.ts +2 -1
- package/dist/v2/blocks/scalar-address-bar-block/components/EnvironmentSelector.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-address-bar-block/components/EnvironmentSelector.vue.js +35 -41
- package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.d.ts +2 -1
- 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/DeleteRequestAuthModal.vue.d.ts +2 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/DeleteRequestAuthModal.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.d.ts +2 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesAddModal.vue.d.ts +2 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesAddModal.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesInput.vue.d.ts +2 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesInput.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.d.ts +2 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTableInput.vue.d.ts +8 -6
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTableInput.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.d.ts +2 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.d.ts.map +1 -1
- package/dist/v2/components/callout/Callout.vue.d.ts +3 -2
- package/dist/v2/components/callout/Callout.vue.d.ts.map +1 -1
- package/dist/v2/components/code-input/CodeInput.vue.d.ts +3 -2
- package/dist/v2/components/code-input/CodeInput.vue.d.ts.map +1 -1
- package/dist/v2/components/data-table/DataTable.vue.d.ts +3 -2
- package/dist/v2/components/data-table/DataTable.vue.d.ts.map +1 -1
- package/dist/v2/components/data-table/DataTableCell.vue.d.ts +5 -4
- package/dist/v2/components/data-table/DataTableCell.vue.d.ts.map +1 -1
- package/dist/v2/components/data-table/DataTableCheckbox.vue.d.ts +2 -1
- package/dist/v2/components/data-table/DataTableCheckbox.vue.d.ts.map +1 -1
- package/dist/v2/components/data-table/DataTableHeader.vue.d.ts +5 -4
- package/dist/v2/components/data-table/DataTableHeader.vue.d.ts.map +1 -1
- package/dist/v2/components/data-table/DataTableInput.vue.d.ts +7 -6
- package/dist/v2/components/data-table/DataTableInput.vue.d.ts.map +1 -1
- package/dist/v2/components/data-table/DataTableInputSelect.vue.d.ts +2 -1
- package/dist/v2/components/data-table/DataTableInputSelect.vue.d.ts.map +1 -1
- package/dist/v2/components/data-table/DataTableRow.vue.d.ts +3 -2
- package/dist/v2/components/data-table/DataTableRow.vue.d.ts.map +1 -1
- package/dist/v2/components/data-table/DataTableText.vue.d.ts +5 -4
- package/dist/v2/components/data-table/DataTableText.vue.d.ts.map +1 -1
- package/dist/v2/components/forms/ConfirmationForm.vue.d.ts +3 -2
- package/dist/v2/components/forms/ConfirmationForm.vue.d.ts.map +1 -1
- package/dist/v2/components/layout/CollapsibleSection.vue.d.ts +3 -2
- package/dist/v2/components/layout/CollapsibleSection.vue.d.ts.map +1 -1
- package/dist/v2/components/layout/ValueEmitter.vue.d.ts +15 -10
- package/dist/v2/components/layout/ValueEmitter.vue.d.ts.map +1 -1
- package/dist/v2/components/modals/DeleteModal.vue.d.ts +2 -1
- package/dist/v2/components/modals/DeleteModal.vue.d.ts.map +1 -1
- package/dist/v2/components/modals/ModalClientContainer.spec.d.ts +2 -0
- package/dist/v2/components/modals/ModalClientContainer.spec.d.ts.map +1 -0
- package/dist/v2/components/modals/ModalClientContainer.vue.d.ts +24 -0
- package/dist/v2/components/modals/ModalClientContainer.vue.d.ts.map +1 -0
- package/dist/v2/components/modals/ModalClientContainer.vue.js +7 -0
- package/dist/v2/components/modals/ModalClientContainer.vue2.js +60 -0
- package/dist/v2/components/resize/Resize.vue.d.ts +3 -2
- package/dist/v2/components/resize/Resize.vue.d.ts.map +1 -1
- package/dist/v2/components/server/ServerDropdown.vue.d.ts +2 -1
- package/dist/v2/components/server/ServerDropdown.vue.d.ts.map +1 -1
- package/dist/v2/components/server/ServerDropdownItem.vue.d.ts +2 -1
- package/dist/v2/components/server/ServerDropdownItem.vue.d.ts.map +1 -1
- package/dist/v2/components/sidebar/Sidebar.vue.d.ts +5 -3
- package/dist/v2/components/sidebar/Sidebar.vue.d.ts.map +1 -1
- package/dist/v2/components/sidebar/Sidebar.vue.js +1 -1
- package/dist/v2/components/sidebar/SidebarMenu.vue.d.ts +3 -2
- package/dist/v2/components/sidebar/SidebarMenu.vue.d.ts.map +1 -1
- package/dist/v2/components/sidebar/SidebarToggle.vue.d.ts +4 -3
- package/dist/v2/components/sidebar/SidebarToggle.vue.d.ts.map +1 -1
- package/dist/v2/features/app/App.vue.d.ts +4 -3
- package/dist/v2/features/app/App.vue.d.ts.map +1 -1
- package/dist/v2/features/app/app-events.d.ts +1 -1
- package/dist/v2/features/app/app-events.d.ts.map +1 -1
- package/dist/v2/features/app/app-events.js +95 -56
- package/dist/v2/features/app/components/AppSidebar.vue.d.ts +5 -3
- package/dist/v2/features/app/components/AppSidebar.vue.d.ts.map +1 -1
- package/dist/v2/features/app/components/AppSidebar.vue.js +3 -3
- package/dist/v2/features/app/components/AppSidebar.vue2.js +62 -57
- package/dist/v2/features/app/components/CreateWorkspaceModal.vue.d.ts +2 -1
- package/dist/v2/features/app/components/CreateWorkspaceModal.vue.d.ts.map +1 -1
- package/dist/v2/features/app/components/DesktopTab.vue.d.ts +2 -1
- package/dist/v2/features/app/components/DesktopTab.vue.d.ts.map +1 -1
- package/dist/v2/features/app/components/DesktopTabs.vue.d.ts +2 -1
- package/dist/v2/features/app/components/DesktopTabs.vue.d.ts.map +1 -1
- package/dist/v2/features/app/components/DownloadAppButton.vue.d.ts +2 -1
- package/dist/v2/features/app/components/DownloadAppButton.vue.d.ts.map +1 -1
- package/dist/v2/features/app/components/SidebarItemMenu.vue.d.ts +2 -1
- package/dist/v2/features/app/components/SidebarItemMenu.vue.d.ts.map +1 -1
- package/dist/v2/features/app/components/SplashScreen.vue.d.ts +2 -1
- package/dist/v2/features/app/components/SplashScreen.vue.d.ts.map +1 -1
- package/dist/v2/features/app/helpers/create-api-client-app.d.ts +1 -1
- package/dist/v2/features/app/helpers/create-api-client-app.d.ts.map +1 -1
- package/dist/v2/features/app/helpers/routes.d.ts +1 -1
- package/dist/v2/features/app/helpers/routes.d.ts.map +1 -1
- package/dist/v2/features/app/index.d.ts +0 -1
- package/dist/v2/features/app/index.d.ts.map +1 -1
- package/dist/v2/features/collection/DocumentCollection.vue.d.ts +2 -1
- package/dist/v2/features/collection/DocumentCollection.vue.d.ts.map +1 -1
- package/dist/v2/features/collection/WorkspaceCollection.vue.d.ts +2 -1
- package/dist/v2/features/collection/WorkspaceCollection.vue.d.ts.map +1 -1
- package/dist/v2/features/collection/components/Authentication.vue.d.ts +2 -1
- package/dist/v2/features/collection/components/Authentication.vue.d.ts.map +1 -1
- package/dist/v2/features/collection/components/Cookies.vue.d.ts +2 -1
- package/dist/v2/features/collection/components/Cookies.vue.d.ts.map +1 -1
- package/dist/v2/features/collection/components/Environment.vue.d.ts +2 -1
- package/dist/v2/features/collection/components/Environment.vue.d.ts.map +1 -1
- package/dist/v2/features/collection/components/Form.vue.d.ts +5 -4
- package/dist/v2/features/collection/components/Form.vue.d.ts.map +1 -1
- package/dist/v2/features/collection/components/LabelInput.vue.d.ts +4 -3
- package/dist/v2/features/collection/components/LabelInput.vue.d.ts.map +1 -1
- package/dist/v2/features/collection/components/Overview.vue.d.ts +2 -1
- package/dist/v2/features/collection/components/Overview.vue.d.ts.map +1 -1
- package/dist/v2/features/collection/components/Servers.vue.d.ts +2 -1
- package/dist/v2/features/collection/components/Servers.vue.d.ts.map +1 -1
- package/dist/v2/features/collection/components/Settings.vue.d.ts +2 -1
- package/dist/v2/features/collection/components/Settings.vue.d.ts.map +1 -1
- package/dist/v2/features/collection/components/Tabs.vue.d.ts +2 -1
- package/dist/v2/features/collection/components/Tabs.vue.d.ts.map +1 -1
- package/dist/v2/features/command-palette/TheCommandPalette.vue.d.ts +3 -2
- package/dist/v2/features/command-palette/TheCommandPalette.vue.d.ts.map +1 -1
- package/dist/v2/features/command-palette/components/CommandActionForm.vue.d.ts +3 -2
- package/dist/v2/features/command-palette/components/CommandActionForm.vue.d.ts.map +1 -1
- package/dist/v2/features/command-palette/components/CommandActionInput.vue.d.ts +3 -2
- package/dist/v2/features/command-palette/components/CommandActionInput.vue.d.ts.map +1 -1
- package/dist/v2/features/command-palette/components/CommandPaletteDocument.vue.d.ts +3 -2
- package/dist/v2/features/command-palette/components/CommandPaletteDocument.vue.d.ts.map +1 -1
- package/dist/v2/features/command-palette/components/CommandPaletteExample.vue.d.ts +3 -2
- package/dist/v2/features/command-palette/components/CommandPaletteExample.vue.d.ts.map +1 -1
- package/dist/v2/features/command-palette/components/CommandPaletteImport.vue.d.ts +3 -2
- package/dist/v2/features/command-palette/components/CommandPaletteImport.vue.d.ts.map +1 -1
- package/dist/v2/features/command-palette/components/CommandPaletteImportCurl.vue.d.ts +3 -2
- package/dist/v2/features/command-palette/components/CommandPaletteImportCurl.vue.d.ts.map +1 -1
- package/dist/v2/features/command-palette/components/CommandPaletteRequest.vue.d.ts +3 -2
- package/dist/v2/features/command-palette/components/CommandPaletteRequest.vue.d.ts.map +1 -1
- package/dist/v2/features/command-palette/components/CommandPaletteTag.vue.d.ts +3 -2
- package/dist/v2/features/command-palette/components/CommandPaletteTag.vue.d.ts.map +1 -1
- package/dist/v2/features/command-palette/components/WatchModeToggle.vue.d.ts +3 -2
- package/dist/v2/features/command-palette/components/WatchModeToggle.vue.d.ts.map +1 -1
- package/dist/v2/features/environments/EnvironmentsList.vue.d.ts +2 -1
- package/dist/v2/features/environments/EnvironmentsList.vue.d.ts.map +1 -1
- package/dist/v2/features/environments/components/Environment.vue.d.ts +2 -1
- package/dist/v2/features/environments/components/Environment.vue.d.ts.map +1 -1
- package/dist/v2/features/environments/components/EnvironmentColors.vue.d.ts +2 -1
- package/dist/v2/features/environments/components/EnvironmentColors.vue.d.ts.map +1 -1
- package/dist/v2/features/environments/components/EnvironmentCreateModal.vue.d.ts +2 -1
- package/dist/v2/features/environments/components/EnvironmentCreateModal.vue.d.ts.map +1 -1
- package/dist/v2/features/environments/components/EnvironmentDeleteModal.vue.d.ts +2 -1
- package/dist/v2/features/environments/components/EnvironmentDeleteModal.vue.d.ts.map +1 -1
- package/dist/v2/features/environments/components/EnvironmentVariablesDropdown.vue.d.ts +2 -1
- package/dist/v2/features/environments/components/EnvironmentVariablesDropdown.vue.d.ts.map +1 -1
- package/dist/v2/features/environments/components/EnvironmentVariablesTable.vue.d.ts +2 -1
- package/dist/v2/features/environments/components/EnvironmentVariablesTable.vue.d.ts.map +1 -1
- package/dist/v2/features/global-cookies/components/CookiesTable.vue.d.ts +2 -1
- package/dist/v2/features/global-cookies/components/CookiesTable.vue.d.ts.map +1 -1
- package/dist/v2/features/modal/Modal.vue.d.ts +4 -3
- package/dist/v2/features/modal/Modal.vue.d.ts.map +1 -1
- package/dist/v2/features/modal/Modal.vue.js +120 -5
- package/dist/v2/features/modal/Modal.vue2.js +2 -147
- package/dist/v2/features/modal/helpers/create-api-client-modal.d.ts +1 -1
- package/dist/v2/features/modal/helpers/create-api-client-modal.d.ts.map +1 -1
- package/dist/v2/features/modal/helpers/create-api-client-modal.js +12 -12
- package/dist/v2/features/modal/modal-events.d.ts.map +1 -1
- package/dist/v2/features/modal/modal-events.js +33 -20
- package/dist/v2/features/operation/Operation.vue.d.ts +3 -2
- package/dist/v2/features/operation/Operation.vue.d.ts.map +1 -1
- package/dist/v2/features/operation/Operation.vue.js +6 -6
- package/dist/v2/features/settings/CollectionSettings.vue.d.ts +2 -1
- package/dist/v2/features/settings/CollectionSettings.vue.d.ts.map +1 -1
- package/dist/v2/features/settings/DocumentSettings.vue.d.ts +2 -1
- package/dist/v2/features/settings/DocumentSettings.vue.d.ts.map +1 -1
- package/dist/v2/features/settings/components/Appearance.vue.d.ts +2 -1
- package/dist/v2/features/settings/components/Appearance.vue.d.ts.map +1 -1
- package/dist/v2/features/settings/components/Section.vue.d.ts +3 -2
- package/dist/v2/features/settings/components/Section.vue.d.ts.map +1 -1
- package/dist/v2/helpers/index.d.ts +0 -1
- package/dist/v2/helpers/index.d.ts.map +1 -1
- package/dist/v2/workspace-events.d.ts.map +1 -1
- package/dist/v2/workspace-events.js +9 -6
- package/dist/views/Collection/Collection.vue.d.ts +2 -1
- package/dist/views/Collection/Collection.vue.d.ts.map +1 -1
- package/dist/views/Collection/CollectionAuthentication.vue.d.ts +2 -1
- package/dist/views/Collection/CollectionAuthentication.vue.d.ts.map +1 -1
- package/dist/views/Collection/CollectionCookies.vue.d.ts +2 -1
- package/dist/views/Collection/CollectionCookies.vue.d.ts.map +1 -1
- package/dist/views/Collection/CollectionEnvironment.vue.d.ts +2 -1
- package/dist/views/Collection/CollectionEnvironment.vue.d.ts.map +1 -1
- package/dist/views/Collection/CollectionInfoForm.vue.d.ts +2 -1
- package/dist/views/Collection/CollectionInfoForm.vue.d.ts.map +1 -1
- package/dist/views/Collection/CollectionNavigation.vue.d.ts +2 -1
- package/dist/views/Collection/CollectionNavigation.vue.d.ts.map +1 -1
- package/dist/views/Collection/CollectionOverview.vue.d.ts +2 -1
- package/dist/views/Collection/CollectionOverview.vue.d.ts.map +1 -1
- package/dist/views/Collection/CollectionScripts.vue.d.ts +2 -1
- package/dist/views/Collection/CollectionScripts.vue.d.ts.map +1 -1
- package/dist/views/Collection/CollectionServerForm.vue.d.ts +2 -1
- package/dist/views/Collection/CollectionServerForm.vue.d.ts.map +1 -1
- package/dist/views/Collection/CollectionServers.vue.d.ts +2 -1
- package/dist/views/Collection/CollectionServers.vue.d.ts.map +1 -1
- package/dist/views/Collection/CollectionSettings.vue.d.ts +2 -1
- package/dist/views/Collection/CollectionSettings.vue.d.ts.map +1 -1
- package/dist/views/Collection/CollectionSync.vue.d.ts +2 -1
- package/dist/views/Collection/CollectionSync.vue.d.ts.map +1 -1
- package/dist/views/Collection/components/EnvironmentForm.vue.d.ts +2 -1
- package/dist/views/Collection/components/EnvironmentForm.vue.d.ts.map +1 -1
- package/dist/views/Collection/components/MarkdownInput.vue.d.ts +2 -1
- package/dist/views/Collection/components/MarkdownInput.vue.d.ts.map +1 -1
- package/dist/views/Components/CodeSnippet/CodeSnippet.vue.d.ts +2 -1
- package/dist/views/Components/CodeSnippet/CodeSnippet.vue.d.ts.map +1 -1
- package/dist/views/Cookies/CookieForm.vue.d.ts +2 -1
- package/dist/views/Cookies/CookieForm.vue.d.ts.map +1 -1
- package/dist/views/Cookies/CookieModal.vue.d.ts +2 -1
- package/dist/views/Cookies/CookieModal.vue.d.ts.map +1 -1
- package/dist/views/Cookies/CookieRaw.vue.d.ts +2 -1
- package/dist/views/Cookies/CookieRaw.vue.d.ts.map +1 -1
- package/dist/views/Cookies/Cookies.vue.d.ts +2 -1
- package/dist/views/Cookies/Cookies.vue.d.ts.map +1 -1
- package/dist/views/Environment/Environment.vue.d.ts +2 -1
- package/dist/views/Environment/Environment.vue.d.ts.map +1 -1
- package/dist/views/Environment/EnvironmentColorModal.vue.d.ts +2 -1
- package/dist/views/Environment/EnvironmentColorModal.vue.d.ts.map +1 -1
- package/dist/views/Environment/EnvironmentColors.vue.d.ts +2 -1
- package/dist/views/Environment/EnvironmentColors.vue.d.ts.map +1 -1
- package/dist/views/Environment/EnvironmentModal.vue.d.ts +2 -1
- package/dist/views/Environment/EnvironmentModal.vue.d.ts.map +1 -1
- package/dist/views/Environment/EnvironmentVariableDropdown.vue.d.ts +2 -1
- package/dist/views/Environment/EnvironmentVariableDropdown.vue.d.ts.map +1 -1
- package/dist/views/Request/Request.vue.d.ts +2 -1
- package/dist/views/Request/Request.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestRoot.vue.d.ts +2 -1
- package/dist/views/Request/RequestRoot.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestRoot.vue.js +2 -2
- package/dist/views/Request/RequestRoot.vue2.js +10 -10
- package/dist/views/Request/RequestSection/RequestAuth/DeleteRequestAuthModal.vue.d.ts +2 -1
- package/dist/views/Request/RequestSection/RequestAuth/DeleteRequestAuthModal.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.d.ts +3 -2
- package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.d.ts +2 -1
- package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.d.ts +3 -2
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue.d.ts +3 -2
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTableInput.vue.d.ts +6 -5
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTableInput.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue.d.ts +3 -2
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestBody.vue.d.ts +2 -1
- package/dist/views/Request/RequestSection/RequestBody.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestCodeExample.vue.d.ts +2 -1
- package/dist/views/Request/RequestSection/RequestCodeExample.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestParams.vue.d.ts +2 -1
- package/dist/views/Request/RequestSection/RequestParams.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestPathParams.vue.d.ts +2 -1
- package/dist/views/Request/RequestSection/RequestPathParams.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestSection.vue.d.ts +2 -1
- package/dist/views/Request/RequestSection/RequestSection.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestSection.vue.js +2 -2
- package/dist/views/Request/RequestSection/RequestSection.vue2.js +33 -33
- package/dist/views/Request/RequestSection/RequestTable.vue.d.ts +2 -1
- package/dist/views/Request/RequestSection/RequestTable.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestTableTooltip.vue.d.ts +2 -1
- package/dist/views/Request/RequestSection/RequestTableTooltip.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSidebar.vue.d.ts +2 -1
- package/dist/views/Request/RequestSidebar.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSidebar.vue.js +2 -2
- package/dist/views/Request/RequestSidebar.vue2.js +139 -155
- package/dist/views/Request/RequestSidebarItem.vue.d.ts +3 -2
- package/dist/views/Request/RequestSidebarItem.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSidebarItem.vue.js +2 -2
- package/dist/views/Request/RequestSidebarItem.vue2.js +106 -103
- package/dist/views/Request/RequestSidebarItemMenu.vue.d.ts +2 -1
- package/dist/views/Request/RequestSidebarItemMenu.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSubpageHeader.vue.d.ts +2 -1
- package/dist/views/Request/RequestSubpageHeader.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/RequestHeaders.vue.d.ts +2 -1
- package/dist/views/Request/ResponseSection/RequestHeaders.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseBody.vue.d.ts +2 -1
- package/dist/views/Request/ResponseSection/ResponseBody.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseBodyDownload.vue.d.ts +2 -1
- package/dist/views/Request/ResponseSection/ResponseBodyDownload.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseBodyInfo.vue.d.ts +3 -2
- package/dist/views/Request/ResponseSection/ResponseBodyInfo.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseBodyPreview.vue.d.ts +2 -1
- package/dist/views/Request/ResponseSection/ResponseBodyPreview.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue.d.ts +2 -1
- package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseBodyStreaming.vue.d.ts +2 -1
- package/dist/views/Request/ResponseSection/ResponseBodyStreaming.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseBodyToggle.vue.d.ts +2 -1
- package/dist/views/Request/ResponseSection/ResponseBodyToggle.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseBodyVirtual.vue.d.ts +2 -1
- package/dist/views/Request/ResponseSection/ResponseBodyVirtual.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseCookies.vue.d.ts +2 -1
- package/dist/views/Request/ResponseSection/ResponseCookies.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue.d.ts +2 -1
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
- package/dist/views/Request/ResponseSection/ResponseHeaders.vue.d.ts +2 -1
- package/dist/views/Request/ResponseSection/ResponseHeaders.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseLoadingOverlay.vue.d.ts +2 -1
- package/dist/views/Request/ResponseSection/ResponseLoadingOverlay.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseMetaInformation.vue.d.ts +2 -1
- package/dist/views/Request/ResponseSection/ResponseMetaInformation.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseSection.vue.d.ts +2 -1
- package/dist/views/Request/ResponseSection/ResponseSection.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseSection.vue.js +2 -2
- package/dist/views/Request/ResponseSection/ResponseSection.vue2.js +25 -25
- package/dist/views/Request/components/WorkspaceDropdown.vue.d.ts +2 -1
- package/dist/views/Request/components/WorkspaceDropdown.vue.d.ts.map +1 -1
- package/dist/views/Settings/Settings.vue.d.ts +2 -1
- package/dist/views/Settings/Settings.vue.d.ts.map +1 -1
- package/dist/views/Settings/SettingsGeneral.vue.d.ts +2 -1
- package/dist/views/Settings/SettingsGeneral.vue.d.ts.map +1 -1
- package/dist/views/Settings/components/SettingsAppearance.vue.d.ts +2 -1
- package/dist/views/Settings/components/SettingsAppearance.vue.d.ts.map +1 -1
- package/dist/views/Settings/components/SettingsSection.vue.d.ts +3 -2
- package/dist/views/Settings/components/SettingsSection.vue.d.ts.map +1 -1
- package/package.json +12 -11
- package/dist/v2/helpers/plugins.d.ts +0 -65
- package/dist/v2/helpers/plugins.d.ts.map +0 -1
- package/dist/v2/helpers/plugins.js +0 -11
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { ScalarErrorBoundary as
|
|
1
|
+
import { defineComponent as z, computed as n, ref as X, useId as s, watch as J, createBlock as q, openBlock as v, withCtx as C, createElementVNode as K, withDirectives as m, createElementBlock as B, createVNode as d, unref as y, vShow as c, mergeProps as f, toHandlers as b, Fragment as W, renderList as Y, createCommentVNode as E, resolveDynamicComponent as Z, toDisplayString as _ } from "vue";
|
|
2
|
+
import { ScalarErrorBoundary as ee } from "@scalar/components";
|
|
3
3
|
import { canMethodHaveBody as w } from "@scalar/helpers/http/can-method-have-body";
|
|
4
|
-
import { REGEX as
|
|
5
|
-
import { getResolvedRef as
|
|
6
|
-
import { unpackProxyObject as
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import { filterGlobalCookie as
|
|
10
|
-
import { getExample as
|
|
11
|
-
import { getResolvedUrl as
|
|
12
|
-
import
|
|
13
|
-
import
|
|
4
|
+
import { REGEX as te } from "@scalar/helpers/regex/regex-helpers";
|
|
5
|
+
import { getResolvedRef as p } from "@scalar/workspace-store/helpers/get-resolved-ref";
|
|
6
|
+
import { unpackProxyObject as ae } from "@scalar/workspace-store/helpers/unpack-proxy";
|
|
7
|
+
import le from "../../../components/SectionFilter.vue.js";
|
|
8
|
+
import ne from "../../../components/ViewLayout/ViewLayoutSection.vue.js";
|
|
9
|
+
import { filterGlobalCookie as oe } from "../operation-block/helpers/filter-global-cookies.js";
|
|
10
|
+
import { getExample as re } from "../operation-block/helpers/get-example.js";
|
|
11
|
+
import { getResolvedUrl as ie } from "../operation-block/helpers/get-resolved-url.js";
|
|
12
|
+
import ue from "./components/RequestBody.vue.js";
|
|
13
|
+
import se from "./components/RequestCodeSnippet.vue.js";
|
|
14
14
|
import k from "./components/RequestParams.vue.js";
|
|
15
|
-
import { createParameterHandlers as
|
|
16
|
-
import { getDefaultHeaders as
|
|
17
|
-
import { getParameterSchema as
|
|
15
|
+
import { createParameterHandlers as g } from "./helpers/create-parameter-handlers.js";
|
|
16
|
+
import { getDefaultHeaders as me } from "./helpers/get-default-headers.js";
|
|
17
|
+
import { getParameterSchema as de } from "./helpers/get-parameter-schema.js";
|
|
18
18
|
import { groupBy as D } from "./helpers/group-by.js";
|
|
19
|
-
import { isParamDisabled as
|
|
20
|
-
import
|
|
21
|
-
const
|
|
19
|
+
import { isParamDisabled as ce } from "./helpers/is-param-disabled.js";
|
|
20
|
+
import ve from "../scalar-auth-selector-block/components/AuthSelector.vue.js";
|
|
21
|
+
const ye = { class: "group pointer-events-none flex flex-1 items-center gap-1 lg:pr-24" }, he = ["for"], fe = ["id", "placeholder", "value"], xe = {
|
|
22
22
|
key: 2,
|
|
23
23
|
class: "text-c-1 flex h-8 items-center"
|
|
24
|
-
},
|
|
24
|
+
}, Be = ["id", "role"], Te = /* @__PURE__ */ z({
|
|
25
25
|
__name: "RequestBlock",
|
|
26
26
|
props: {
|
|
27
27
|
authMeta: { default: () => ({ type: "document" }) },
|
|
@@ -44,38 +44,38 @@ const ve = { class: "group pointer-events-none flex flex-1 items-center gap-1 lg
|
|
|
44
44
|
server: {}
|
|
45
45
|
},
|
|
46
46
|
setup(e) {
|
|
47
|
-
const
|
|
47
|
+
const o = n(() => ({
|
|
48
48
|
method: e.method,
|
|
49
49
|
path: e.path,
|
|
50
50
|
exampleKey: e.exampleKey
|
|
51
|
-
})),
|
|
51
|
+
})), r = n(
|
|
52
52
|
() => D(
|
|
53
|
-
e.operation.parameters?.map((t) =>
|
|
53
|
+
e.operation.parameters?.map((t) => p(t)) ?? [],
|
|
54
54
|
"in",
|
|
55
55
|
(t) => {
|
|
56
|
-
const a =
|
|
56
|
+
const a = re(t, e.exampleKey, void 0);
|
|
57
57
|
return {
|
|
58
58
|
name: t.name,
|
|
59
59
|
value: a?.value ?? "",
|
|
60
60
|
description: t.description,
|
|
61
|
-
schema:
|
|
61
|
+
schema: de(t),
|
|
62
62
|
isRequired: t.required,
|
|
63
|
-
isDisabled:
|
|
63
|
+
isDisabled: ce(t, a),
|
|
64
64
|
originalParameter: t
|
|
65
65
|
};
|
|
66
66
|
}
|
|
67
67
|
)
|
|
68
68
|
), I = n(
|
|
69
69
|
() => D(
|
|
70
|
-
|
|
70
|
+
r.value.header?.map((t) => ({
|
|
71
71
|
...t,
|
|
72
72
|
name: t.name.toLowerCase()
|
|
73
73
|
})) ?? [],
|
|
74
74
|
"name"
|
|
75
75
|
)
|
|
76
76
|
), N = n(
|
|
77
|
-
() =>
|
|
78
|
-
),
|
|
77
|
+
() => me({ method: e.method, operation: e.operation, exampleKey: e.exampleKey })
|
|
78
|
+
), R = n(() => {
|
|
79
79
|
const t = e.operation["x-scalar-disable-parameters"]?.["default-headers"]?.[e.exampleKey] ?? {};
|
|
80
80
|
return N.value.map((a) => {
|
|
81
81
|
const l = I.value[a.name.toLowerCase()]?.[0];
|
|
@@ -89,17 +89,17 @@ const ve = { class: "group pointer-events-none flex flex-1 items-center gap-1 lg
|
|
|
89
89
|
};
|
|
90
90
|
});
|
|
91
91
|
}), A = n(() => [
|
|
92
|
-
...
|
|
93
|
-
...
|
|
94
|
-
]),
|
|
95
|
-
const t =
|
|
92
|
+
...R.value,
|
|
93
|
+
...r.value.header ?? []
|
|
94
|
+
]), V = n(() => {
|
|
95
|
+
const t = ie({
|
|
96
96
|
environment: e.environment,
|
|
97
97
|
server: e.server,
|
|
98
98
|
path: e.path,
|
|
99
99
|
pathVariables: {}
|
|
100
100
|
}), a = e.operation["x-scalar-disable-parameters"]?.["global-cookies"]?.[e.exampleKey] ?? {};
|
|
101
101
|
return e.globalCookies?.filter(
|
|
102
|
-
(l) =>
|
|
102
|
+
(l) => oe({
|
|
103
103
|
cookie: l,
|
|
104
104
|
url: t,
|
|
105
105
|
// Do not filter global cookies for the default cookies section (it's already filtered in the buildRequestCookieHeader function)
|
|
@@ -109,14 +109,14 @@ const ve = { class: "group pointer-events-none flex flex-1 items-center gap-1 lg
|
|
|
109
109
|
).map((l) => ({
|
|
110
110
|
name: l.name,
|
|
111
111
|
value: l.value,
|
|
112
|
-
globalRoute: l.location === "document" ? "document
|
|
112
|
+
globalRoute: l.location === "document" ? { page: "document", path: "cookies" } : { page: "workspace", path: "cookies" },
|
|
113
113
|
isReadonly: !0,
|
|
114
114
|
isDisabled: a[l.name.toLowerCase()] ?? !1
|
|
115
115
|
})) ?? [];
|
|
116
|
-
}),
|
|
117
|
-
...
|
|
118
|
-
...
|
|
119
|
-
]), i =
|
|
116
|
+
}), P = n(() => [
|
|
117
|
+
...V.value ?? [],
|
|
118
|
+
...r.value.cookie ?? []
|
|
119
|
+
]), i = X("All"), T = [
|
|
120
120
|
"Auth",
|
|
121
121
|
"Variables",
|
|
122
122
|
"Cookies",
|
|
@@ -133,15 +133,15 @@ const ve = { class: "group pointer-events-none flex flex-1 items-center gap-1 lg
|
|
|
133
133
|
Body: s()
|
|
134
134
|
}, O = n(() => {
|
|
135
135
|
const t = /* @__PURE__ */ new Set(["All", ...T]);
|
|
136
|
-
return
|
|
136
|
+
return r.value.path?.length || t.delete("Variables"), w(e.method) || t.delete("Body"), H.value && t.delete("Auth"), [...t];
|
|
137
137
|
}), u = n(
|
|
138
138
|
() => Object.fromEntries(
|
|
139
139
|
O.value.map((t) => [t, $[t]])
|
|
140
140
|
)
|
|
141
|
-
),
|
|
141
|
+
), H = n(
|
|
142
142
|
() => e.layout === "modal" && !e.operation.security && !Object.keys(e.securitySchemes ?? {}).length
|
|
143
|
-
), L = n(() => e.operation.summary ? e.operation.summary : e.path.replace(
|
|
144
|
-
|
|
143
|
+
), L = n(() => e.operation.summary ? e.operation.summary : e.path.replace(te.PROTOCOL, "") || "Request Name"), h = (t) => i.value === "All" || i.value === t;
|
|
144
|
+
J(
|
|
145
145
|
() => e.method,
|
|
146
146
|
(t) => {
|
|
147
147
|
i.value === "Body" && !w(t) && (i.value = "All");
|
|
@@ -150,27 +150,27 @@ const ve = { class: "group pointer-events-none flex flex-1 items-center gap-1 lg
|
|
|
150
150
|
const F = (t) => {
|
|
151
151
|
const a = t.target.value;
|
|
152
152
|
e.eventBus.emit("operation:update:summary", {
|
|
153
|
-
meta:
|
|
153
|
+
meta: o.value,
|
|
154
154
|
payload: { summary: a }
|
|
155
155
|
});
|
|
156
|
-
},
|
|
157
|
-
path:
|
|
158
|
-
context:
|
|
156
|
+
}, x = n(() => ({
|
|
157
|
+
path: g("path", e.eventBus, o.value, {
|
|
158
|
+
context: r.value.path ?? []
|
|
159
159
|
}),
|
|
160
|
-
cookie:
|
|
161
|
-
context:
|
|
162
|
-
globalParameters:
|
|
160
|
+
cookie: g("cookie", e.eventBus, o.value, {
|
|
161
|
+
context: P.value ?? [],
|
|
162
|
+
globalParameters: V.value.length
|
|
163
163
|
}),
|
|
164
|
-
header:
|
|
164
|
+
header: g("header", e.eventBus, o.value, {
|
|
165
165
|
context: A.value,
|
|
166
|
-
defaultParameters:
|
|
166
|
+
defaultParameters: R.value.length
|
|
167
167
|
}),
|
|
168
|
-
query:
|
|
169
|
-
context:
|
|
168
|
+
query: g("query", e.eventBus, o.value, {
|
|
169
|
+
context: r.value.query ?? []
|
|
170
170
|
})
|
|
171
171
|
})), G = (t) => e.eventBus.emit("operation:update:requestBody:contentType", {
|
|
172
172
|
payload: { contentType: t.value },
|
|
173
|
-
meta:
|
|
173
|
+
meta: o.value
|
|
174
174
|
}), Q = ({
|
|
175
175
|
payload: t,
|
|
176
176
|
contentType: a
|
|
@@ -181,7 +181,7 @@ const ve = { class: "group pointer-events-none flex flex-1 items-center gap-1 lg
|
|
|
181
181
|
{
|
|
182
182
|
payload: t,
|
|
183
183
|
contentType: a,
|
|
184
|
-
meta:
|
|
184
|
+
meta: o.value
|
|
185
185
|
},
|
|
186
186
|
{
|
|
187
187
|
debounceKey: l
|
|
@@ -195,48 +195,48 @@ const ve = { class: "group pointer-events-none flex flex-1 items-center gap-1 lg
|
|
|
195
195
|
e.eventBus.emit(
|
|
196
196
|
"operation:update:requestBody:formValue",
|
|
197
197
|
{
|
|
198
|
-
payload: t.map((
|
|
198
|
+
payload: t.map((S) => ae(S, { depth: 1 })),
|
|
199
199
|
contentType: a,
|
|
200
|
-
meta:
|
|
200
|
+
meta: o.value
|
|
201
201
|
},
|
|
202
202
|
{
|
|
203
203
|
debounceKey: l
|
|
204
204
|
}
|
|
205
205
|
);
|
|
206
|
-
},
|
|
207
|
-
return (t, a) => (
|
|
206
|
+
}, U = s(), j = (t) => e.eventBus.emit("operation:update:extension", { payload: t, meta: o.value });
|
|
207
|
+
return (t, a) => (v(), q(ne, {
|
|
208
208
|
"aria-label": `Request: ${e.operation.summary}`
|
|
209
209
|
}, {
|
|
210
|
-
title:
|
|
211
|
-
K("div",
|
|
212
|
-
e.layout !== "modal" ? (
|
|
210
|
+
title: C(() => [
|
|
211
|
+
K("div", ye, [
|
|
212
|
+
e.layout !== "modal" ? (v(), B("label", {
|
|
213
213
|
key: 0,
|
|
214
214
|
class: "pointer-events-auto absolute top-0 left-0 h-full w-full cursor-text opacity-0",
|
|
215
|
-
for:
|
|
216
|
-
}, null, 8,
|
|
217
|
-
e.layout !== "modal" ? (
|
|
215
|
+
for: y(U)
|
|
216
|
+
}, null, 8, he)) : E("", !0),
|
|
217
|
+
e.layout !== "modal" ? (v(), B("input", {
|
|
218
218
|
key: 1,
|
|
219
|
-
id:
|
|
219
|
+
id: y(U),
|
|
220
220
|
class: "text-c-1 group-hover-input pointer-events-auto relative z-10 -ml-0.5 h-8 w-full rounded pl-1.25 has-[:focus-visible]:outline md:-ml-1.25",
|
|
221
221
|
placeholder: L.value,
|
|
222
222
|
value: e.operation.summary,
|
|
223
223
|
onInput: F
|
|
224
|
-
}, null, 40,
|
|
224
|
+
}, null, 40, fe)) : (v(), B("span", xe, _(e.operation.summary), 1))
|
|
225
225
|
]),
|
|
226
|
-
|
|
226
|
+
d(le, {
|
|
227
227
|
modelValue: i.value,
|
|
228
228
|
"onUpdate:modelValue": a[0] || (a[0] = (l) => i.value = l),
|
|
229
229
|
filterIds: u.value,
|
|
230
230
|
filters: O.value
|
|
231
231
|
}, null, 8, ["modelValue", "filterIds", "filters"])
|
|
232
232
|
]),
|
|
233
|
-
default:
|
|
233
|
+
default: C(() => [
|
|
234
234
|
K("div", {
|
|
235
235
|
id: u.value.All,
|
|
236
236
|
class: "request-section-content custom-scroll relative flex flex-1 flex-col",
|
|
237
237
|
role: i.value === "All" ? "tabpanel" : "none"
|
|
238
238
|
}, [
|
|
239
|
-
|
|
239
|
+
m(d(y(ve), {
|
|
240
240
|
id: u.value.Auth,
|
|
241
241
|
environment: e.environment,
|
|
242
242
|
eventBus: e.eventBus,
|
|
@@ -249,74 +249,75 @@ const ve = { class: "group pointer-events-none flex flex-1 items-center gap-1 lg
|
|
|
249
249
|
server: e.server,
|
|
250
250
|
title: "Authentication"
|
|
251
251
|
}, null, 8, ["id", "environment", "eventBus", "meta", "proxyUrl", "securityRequirements", "securitySchemes", "selectedSecurity", "selectedSecuritySchemes", "server"]), [
|
|
252
|
-
[
|
|
252
|
+
[c, h("Auth") && !H.value]
|
|
253
253
|
]),
|
|
254
|
-
|
|
254
|
+
m(d(k, f({
|
|
255
255
|
id: u.value.Variables,
|
|
256
256
|
environment: e.environment,
|
|
257
257
|
eventBus: e.eventBus,
|
|
258
258
|
exampleKey: e.exampleKey,
|
|
259
|
-
rows:
|
|
259
|
+
rows: r.value.path ?? [],
|
|
260
260
|
showAddRowPlaceholder: !1,
|
|
261
261
|
title: "Variables"
|
|
262
|
-
}, b(
|
|
263
|
-
[
|
|
262
|
+
}, b(x.value.path)), null, 16, ["id", "environment", "eventBus", "exampleKey", "rows"]), [
|
|
263
|
+
[c, h("Variables") && r.value.path?.length]
|
|
264
264
|
]),
|
|
265
|
-
|
|
265
|
+
m(d(k, f({
|
|
266
266
|
id: u.value.Cookies,
|
|
267
267
|
environment: e.environment,
|
|
268
268
|
eventBus: e.eventBus,
|
|
269
269
|
exampleKey: e.exampleKey,
|
|
270
|
-
rows:
|
|
270
|
+
rows: P.value ?? [],
|
|
271
271
|
showAddRowPlaceholder: !0,
|
|
272
272
|
title: "Cookies"
|
|
273
|
-
}, b(
|
|
274
|
-
[
|
|
273
|
+
}, b(x.value.cookie)), null, 16, ["id", "environment", "eventBus", "exampleKey", "rows"]), [
|
|
274
|
+
[c, h("Cookies")]
|
|
275
275
|
]),
|
|
276
|
-
|
|
276
|
+
m(d(k, f({
|
|
277
277
|
id: u.value.Headers,
|
|
278
278
|
environment: e.environment,
|
|
279
279
|
eventBus: e.eventBus,
|
|
280
280
|
exampleKey: e.exampleKey,
|
|
281
281
|
rows: A.value ?? [],
|
|
282
282
|
title: "Headers"
|
|
283
|
-
}, b(
|
|
284
|
-
[
|
|
283
|
+
}, b(x.value.header)), null, 16, ["id", "environment", "eventBus", "exampleKey", "rows"]), [
|
|
284
|
+
[c, h("Headers")]
|
|
285
285
|
]),
|
|
286
|
-
|
|
286
|
+
m(d(k, f({
|
|
287
287
|
id: u.value.Query,
|
|
288
288
|
environment: e.environment,
|
|
289
289
|
eventBus: e.eventBus,
|
|
290
290
|
exampleKey: e.exampleKey,
|
|
291
|
-
rows:
|
|
291
|
+
rows: r.value.query ?? [],
|
|
292
292
|
title: "Query Parameters"
|
|
293
|
-
}, b(
|
|
294
|
-
[
|
|
293
|
+
}, b(x.value.query)), null, 16, ["id", "environment", "eventBus", "exampleKey", "rows"]), [
|
|
294
|
+
[c, h("Query")]
|
|
295
295
|
]),
|
|
296
|
-
|
|
296
|
+
m(d(ue, {
|
|
297
297
|
id: u.value.Body,
|
|
298
298
|
environment: e.environment,
|
|
299
299
|
exampleKey: e.exampleKey,
|
|
300
|
-
requestBody:
|
|
300
|
+
requestBody: y(p)(e.operation.requestBody),
|
|
301
301
|
title: "Request Body",
|
|
302
302
|
"onUpdate:contentType": G,
|
|
303
303
|
"onUpdate:formValue": M,
|
|
304
304
|
"onUpdate:value": Q
|
|
305
305
|
}, null, 8, ["id", "environment", "exampleKey", "requestBody"]), [
|
|
306
|
-
[
|
|
306
|
+
[c, h("Body") && y(w)(e.method)]
|
|
307
307
|
]),
|
|
308
|
-
(
|
|
309
|
-
default:
|
|
310
|
-
l?.components?.request ? (
|
|
308
|
+
(v(!0), B(W, null, Y(e.plugins, (l, S) => m((v(), q(y(ee), { key: S }, {
|
|
309
|
+
default: C(() => [
|
|
310
|
+
l?.components?.request ? (v(), q(Z(l.components.request.component), f({
|
|
311
311
|
key: 0,
|
|
312
|
-
operation: e.operation
|
|
313
|
-
|
|
314
|
-
}, null, 8, ["operation", "selectedExample"])) : E("", !0)
|
|
312
|
+
operation: e.operation
|
|
313
|
+
}, { ref_for: !0 }, l.components.request.additionalProps, { "onOperation:update:extension": j }), null, 16, ["operation"])) : E("", !0)
|
|
315
314
|
]),
|
|
316
315
|
_: 2
|
|
317
|
-
}, 1024))
|
|
316
|
+
}, 1024)), [
|
|
317
|
+
[c, i.value === "All"]
|
|
318
|
+
])), 128)),
|
|
318
319
|
a[1] || (a[1] = K("div", { class: "flex grow" }, null, -1)),
|
|
319
|
-
|
|
320
|
+
m(d(se, {
|
|
320
321
|
clientOptions: e.clientOptions,
|
|
321
322
|
eventBus: e.eventBus,
|
|
322
323
|
globalCookies: e.globalCookies,
|
|
@@ -326,17 +327,17 @@ const ve = { class: "group pointer-events-none flex flex-1 items-center gap-1 lg
|
|
|
326
327
|
path: e.path,
|
|
327
328
|
securitySchemes: e.selectedSecuritySchemes,
|
|
328
329
|
selectedClient: e.selectedClient,
|
|
329
|
-
selectedContentType:
|
|
330
|
+
selectedContentType: y(p)(e.operation.requestBody)?.["x-scalar-selected-content-type"]?.[e.exampleKey],
|
|
330
331
|
selectedServer: e.server ?? void 0
|
|
331
332
|
}, null, 8, ["clientOptions", "eventBus", "globalCookies", "method", "operation", "path", "securitySchemes", "selectedClient", "selectedContentType", "selectedServer"]), [
|
|
332
|
-
[
|
|
333
|
+
[c, i.value === "All"]
|
|
333
334
|
])
|
|
334
|
-
], 8,
|
|
335
|
+
], 8, Be)
|
|
335
336
|
]),
|
|
336
337
|
_: 1
|
|
337
338
|
}, 8, ["aria-label"]));
|
|
338
339
|
}
|
|
339
340
|
});
|
|
340
341
|
export {
|
|
341
|
-
|
|
342
|
+
Te as default
|
|
342
343
|
};
|
|
@@ -10,7 +10,7 @@ type __VLS_Props = {
|
|
|
10
10
|
/** Selected environment */
|
|
11
11
|
environment: XScalarEnvironment;
|
|
12
12
|
};
|
|
13
|
-
declare const
|
|
13
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
14
14
|
"update:formValue": (payload: Pick<{
|
|
15
15
|
payload: {
|
|
16
16
|
name: string;
|
|
@@ -47,5 +47,6 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
47
47
|
meta: import("@scalar/workspace-store/events").OperationExampleMeta;
|
|
48
48
|
}, "payload" | "contentType">) => any) | undefined;
|
|
49
49
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
50
|
+
declare const _default: typeof __VLS_export;
|
|
50
51
|
export default _default;
|
|
51
52
|
//# sourceMappingURL=RequestBody.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RequestBody.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/blocks/request-block/components/RequestBody.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RequestBody.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/blocks/request-block/components/RequestBody.vue"],"names":[],"mappings":"AA+RA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2EAA2E,CAAA;AACnH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8DAA8D,CAAA;AAgBrG,KAAK,WAAW,GAAG;IACjB,mBAAmB;IACnB,WAAW,CAAC,EAAE,iBAAiB,CAAA;IAC/B,+DAA+D;IAC/D,UAAU,EAAE,MAAM,CAAA;IAClB,oBAAoB;IACpB,KAAK,EAAE,MAAM,CAAA;IACb,2BAA2B;IAC3B,WAAW,EAAE,kBAAkB,CAAA;CAChC,CAAC;AAugBF,QAAA,MAAM,YAAY;;;;;;;;;;;eAlgB4B,MAAM;;;;;;;;;;;;;;;;;;eAAN,MAAM;;;;;;;kFAqgBlD,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -5,7 +5,7 @@ type __VLS_Props = {
|
|
|
5
5
|
selectedContentType: string;
|
|
6
6
|
environment: XScalarEnvironment;
|
|
7
7
|
};
|
|
8
|
-
declare const
|
|
8
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
9
9
|
"update:formValue": (payload: {
|
|
10
10
|
name: string;
|
|
11
11
|
value: string | File;
|
|
@@ -18,5 +18,6 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
18
18
|
isDisabled: boolean;
|
|
19
19
|
}[]) => any) | undefined;
|
|
20
20
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
21
|
+
declare const _default: typeof __VLS_export;
|
|
21
22
|
export default _default;
|
|
22
23
|
//# sourceMappingURL=RequestBodyForm.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RequestBodyForm.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/blocks/request-block/components/RequestBodyForm.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RequestBodyForm.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/blocks/request-block/components/RequestBodyForm.vue"],"names":[],"mappings":"AAqHA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2EAA2E,CAAA;AACnH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,8DAA8D,CAAA;AAOjG,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,aAAa,GAAG,SAAS,GAAG,IAAI,CAAA;IACzC,mBAAmB,EAAE,MAAM,CAAA;IAC3B,WAAW,EAAE,kBAAkB,CAAA;CAChC,CAAC;AA0KF,QAAA,MAAM,YAAY;;;;;;;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -3,6 +3,7 @@ import type { OperationCodeSampleProps } from '../../../../v2/blocks/operation-c
|
|
|
3
3
|
type __VLS_Props = OperationCodeSampleProps & {
|
|
4
4
|
eventBus: WorkspaceEventBus;
|
|
5
5
|
};
|
|
6
|
-
declare const
|
|
6
|
+
declare const __VLS_export: 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>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
7
8
|
export default _default;
|
|
8
9
|
//# sourceMappingURL=RequestCodeSnippet.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RequestCodeSnippet.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/blocks/request-block/components/RequestCodeSnippet.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RequestCodeSnippet.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/blocks/request-block/components/RequestCodeSnippet.vue"],"names":[],"mappings":"AAoKA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAA;AAQvE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,sEAAsE,CAAA;AAQpH,KAAK,WAAW,GAAG,wBAAwB,GAAG;IAAE,QAAQ,EAAE,iBAAiB,CAAA;CAAE,CAAC;AAoS9E,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -12,7 +12,7 @@ type __VLS_Props = {
|
|
|
12
12
|
environment: XScalarEnvironment;
|
|
13
13
|
eventBus: WorkspaceEventBus;
|
|
14
14
|
};
|
|
15
|
-
declare const
|
|
15
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
16
16
|
delete: (payload: {
|
|
17
17
|
index: number;
|
|
18
18
|
}) => any;
|
|
@@ -33,5 +33,6 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
33
33
|
}) => any) | undefined;
|
|
34
34
|
onDeleteAll?: (() => any) | undefined;
|
|
35
35
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
36
|
+
declare const _default: typeof __VLS_export;
|
|
36
37
|
export default _default;
|
|
37
38
|
//# sourceMappingURL=RequestParams.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RequestParams.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/blocks/request-block/components/RequestParams.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RequestParams.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/blocks/request-block/components/RequestParams.vue"],"names":[],"mappings":"AA2GA,OAAO,KAAK,EAEV,iBAAiB,EAClB,MAAM,gCAAgC,CAAA;AACvC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2EAA2E,CAAA;AAMnH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAErD,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,QAAQ,EAAE,CAAA;IAChB,UAAU,EAAE,MAAM,CAAA;IAClB,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,aAAa,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;IAC3B,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,qBAAqB,CAAC,EAAE,OAAO,CAAA;IAC/B,WAAW,EAAE,kBAAkB,CAAA;IAC/B,QAAQ,EAAE,iBAAiB,CAAA;CAC5B,CAAC;AAgNF,QAAA,MAAM,YAAY;;eA9LgB,MAAM;;;;;;;;;;eAAN,MAAM;;;;;;;;kFAiMtC,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -17,9 +17,9 @@ const A = { class: "text-c-2 request-meta-buttons flex whitespace-nowrap opacity
|
|
|
17
17
|
},
|
|
18
18
|
emits: ["upsert", "delete", "deleteAll"],
|
|
19
19
|
setup(e, { emit: f }) {
|
|
20
|
-
const a = f,
|
|
21
|
-
const { value: l, ...
|
|
22
|
-
l instanceof File || a("upsert", i, { ...
|
|
20
|
+
const a = f, v = R(() => e.rows.length > 1), w = (i, t) => {
|
|
21
|
+
const { value: l, ...p } = t;
|
|
22
|
+
l instanceof File || a("upsert", i, { ...p, value: l ?? "" });
|
|
23
23
|
};
|
|
24
24
|
return (i, t) => (r(), s(n(C), {
|
|
25
25
|
class: "group/params",
|
|
@@ -30,7 +30,7 @@ const A = { class: "text-c-2 request-meta-buttons flex whitespace-nowrap opacity
|
|
|
30
30
|
]),
|
|
31
31
|
actions: o(() => [
|
|
32
32
|
d("div", A, [
|
|
33
|
-
|
|
33
|
+
v.value ? (r(), s(n(b), {
|
|
34
34
|
key: 0,
|
|
35
35
|
content: "Clear optional parameters",
|
|
36
36
|
placement: "left"
|
|
@@ -65,8 +65,8 @@ const A = { class: "text-c-2 request-meta-buttons flex whitespace-nowrap opacity
|
|
|
65
65
|
label: e.label,
|
|
66
66
|
showAddRowPlaceholder: e.showAddRowPlaceholder,
|
|
67
67
|
onDeleteRow: t[1] || (t[1] = (l) => a("delete", { index: l })),
|
|
68
|
-
onNavigate: t[2] || (t[2] = (l) => e.eventBus.emit("ui:
|
|
69
|
-
onUpsertRow:
|
|
68
|
+
onNavigate: t[2] || (t[2] = (l) => e.eventBus.emit("ui:navigate", l)),
|
|
69
|
+
onUpsertRow: w
|
|
70
70
|
}, null, 8, ["data", "environment", "exampleKey", "globalRoute", "invalidParams", "label", "showAddRowPlaceholder"])
|
|
71
71
|
]),
|
|
72
72
|
_: 1
|
|
@@ -10,8 +10,25 @@ type __VLS_Props = {
|
|
|
10
10
|
showAddRowPlaceholder?: boolean;
|
|
11
11
|
environment: XScalarEnvironment;
|
|
12
12
|
};
|
|
13
|
-
declare const
|
|
14
|
-
navigate: (route:
|
|
13
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
14
|
+
navigate: (route: NonNullable<({
|
|
15
|
+
namespace?: string;
|
|
16
|
+
workspaceSlug?: string;
|
|
17
|
+
callback?: (status: "success" | "error") => void;
|
|
18
|
+
} & ({
|
|
19
|
+
page: "document";
|
|
20
|
+
path: "overview" | "servers" | "environment" | "authentication" | "cookies" | "settings";
|
|
21
|
+
documentSlug?: string;
|
|
22
|
+
} | {
|
|
23
|
+
page: "workspace";
|
|
24
|
+
path: "environment" | "cookies" | "settings";
|
|
25
|
+
} | {
|
|
26
|
+
page: "example";
|
|
27
|
+
documentSlug?: string;
|
|
28
|
+
path: string;
|
|
29
|
+
method: import("@scalar/helpers/http/http-methods").HttpMethod;
|
|
30
|
+
exampleName: string;
|
|
31
|
+
})) | undefined>) => any;
|
|
15
32
|
deleteRow: (index: number) => any;
|
|
16
33
|
uploadFile: (index: number) => any;
|
|
17
34
|
removeFile: (index: number) => any;
|
|
@@ -21,7 +38,24 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
21
38
|
isDisabled: boolean;
|
|
22
39
|
}) => any;
|
|
23
40
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
24
|
-
onNavigate?: ((route:
|
|
41
|
+
onNavigate?: ((route: NonNullable<({
|
|
42
|
+
namespace?: string;
|
|
43
|
+
workspaceSlug?: string;
|
|
44
|
+
callback?: (status: "success" | "error") => void;
|
|
45
|
+
} & ({
|
|
46
|
+
page: "document";
|
|
47
|
+
path: "overview" | "servers" | "environment" | "authentication" | "cookies" | "settings";
|
|
48
|
+
documentSlug?: string;
|
|
49
|
+
} | {
|
|
50
|
+
page: "workspace";
|
|
51
|
+
path: "environment" | "cookies" | "settings";
|
|
52
|
+
} | {
|
|
53
|
+
page: "example";
|
|
54
|
+
documentSlug?: string;
|
|
55
|
+
path: string;
|
|
56
|
+
method: import("@scalar/helpers/http/http-methods").HttpMethod;
|
|
57
|
+
exampleName: string;
|
|
58
|
+
})) | undefined>) => any) | undefined;
|
|
25
59
|
onDeleteRow?: ((index: number) => any) | undefined;
|
|
26
60
|
onUploadFile?: ((index: number) => any) | undefined;
|
|
27
61
|
onRemoveFile?: ((index: number) => any) | undefined;
|
|
@@ -31,5 +65,6 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
31
65
|
isDisabled: boolean;
|
|
32
66
|
}) => any) | undefined;
|
|
33
67
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
68
|
+
declare const _default: typeof __VLS_export;
|
|
34
69
|
export default _default;
|
|
35
70
|
//# sourceMappingURL=RequestTable.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RequestTable.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/blocks/request-block/components/RequestTable.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RequestTable.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/blocks/request-block/components/RequestTable.vue"],"names":[],"mappings":"AA8IA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2EAA2E,CAAA;AAGnH,OAAwB,EACtB,KAAK,QAAQ,EACd,MAAM,0DAA0D,CAAA;AAOjE,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,QAAQ,EAAE,CAAA;IAChB,8BAA8B;IAC9B,mBAAmB,CAAC,EAAE,OAAO,CAAA;IAC7B,aAAa,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,qBAAqB,CAAC,EAAE,OAAO,CAAA;IAC/B,WAAW,EAAE,kBAAkB,CAAA;CAChC,CAAC;AA4OF,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;cA1NN,MAAM;eACL,MAAM,GAAG,IAAI,GAAG,SAAS;oBACpB,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;cAFb,MAAM;eACL,MAAM,GAAG,IAAI,GAAG,SAAS;oBACpB,OAAO;;kFA2NvB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./RequestTable.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-36811e28"]]);
|
|
5
5
|
export {
|
|
6
6
|
m as default
|
|
7
7
|
};
|