@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,24 +1,25 @@
|
|
|
1
|
-
import { computed as
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { computed as x } from "vue";
|
|
2
|
+
import { NavigationFailureType as w } from "vue-router";
|
|
3
|
+
import { initializeWorkspaceEventHandlers as g } from "../../workspace-events.js";
|
|
4
|
+
function A({
|
|
5
|
+
eventBus: s,
|
|
5
6
|
store: r,
|
|
6
|
-
router:
|
|
7
|
-
rebuildSidebar:
|
|
8
|
-
navigateToCurrentTab:
|
|
9
|
-
onSelectSidebarItem:
|
|
10
|
-
onAfterExampleCreation:
|
|
11
|
-
onCopyTabUrl:
|
|
12
|
-
onToggleSidebar:
|
|
7
|
+
router: n,
|
|
8
|
+
rebuildSidebar: u,
|
|
9
|
+
navigateToCurrentTab: m,
|
|
10
|
+
onSelectSidebarItem: f,
|
|
11
|
+
onAfterExampleCreation: i,
|
|
12
|
+
onCopyTabUrl: h,
|
|
13
|
+
onToggleSidebar: l
|
|
13
14
|
}) {
|
|
14
|
-
const
|
|
15
|
+
const o = x(() => n.currentRoute?.value), p = ({
|
|
15
16
|
documentName: e,
|
|
16
17
|
path: a,
|
|
17
18
|
method: t,
|
|
18
|
-
exampleName:
|
|
19
|
-
}) => !(e !== void 0 && e !==
|
|
20
|
-
|
|
21
|
-
eventBus:
|
|
19
|
+
exampleName: c
|
|
20
|
+
}) => !(e !== void 0 && e !== o.value?.params.documentSlug || a !== void 0 && encodeURIComponent(a) !== o.value?.params.pathEncoded || t !== void 0 && t !== o.value?.params.method || c !== void 0 && c !== o.value?.params.exampleName);
|
|
21
|
+
g({
|
|
22
|
+
eventBus: s,
|
|
22
23
|
store: r,
|
|
23
24
|
hooks: {
|
|
24
25
|
//------------------------------------------------------------------------------------
|
|
@@ -26,7 +27,7 @@ function N({
|
|
|
26
27
|
//------------------------------------------------------------------------------------
|
|
27
28
|
"document:delete:document": {
|
|
28
29
|
onAfterExecute: async (e) => {
|
|
29
|
-
|
|
30
|
+
o?.value?.params.documentSlug === e.name && await n.push({
|
|
30
31
|
name: "workspace.environment"
|
|
31
32
|
});
|
|
32
33
|
}
|
|
@@ -38,38 +39,38 @@ function N({
|
|
|
38
39
|
onBeforeExecute: (e) => ({
|
|
39
40
|
...e,
|
|
40
41
|
callback: async (a) => {
|
|
41
|
-
a === "success" && (await
|
|
42
|
+
a === "success" && (await n.replace({
|
|
42
43
|
name: "example",
|
|
43
44
|
params: {
|
|
44
45
|
method: e.payload.method,
|
|
45
46
|
pathEncoded: encodeURIComponent(e.payload.path),
|
|
46
|
-
exampleName:
|
|
47
|
+
exampleName: o.value?.params.exampleName
|
|
47
48
|
}
|
|
48
|
-
}),
|
|
49
|
+
}), u(r.value?.workspace.activeDocument?.["x-scalar-navigation"]?.name)), e.callback(a);
|
|
49
50
|
}
|
|
50
51
|
})
|
|
51
52
|
},
|
|
52
53
|
"operation:upsert:parameter": {
|
|
53
|
-
onAfterExecute: (e) =>
|
|
54
|
+
onAfterExecute: (e) => i(e.meta)
|
|
54
55
|
},
|
|
55
56
|
"operation:update:extra-parameters": {
|
|
56
|
-
onAfterExecute: (e) =>
|
|
57
|
+
onAfterExecute: (e) => i(e.meta)
|
|
57
58
|
},
|
|
58
59
|
"operation:reload:history": {
|
|
59
|
-
onAfterExecute: (e) =>
|
|
60
|
+
onAfterExecute: (e) => i({ ...e.meta, exampleKey: "draft" })
|
|
60
61
|
},
|
|
61
62
|
"operation:delete:operation": {
|
|
62
63
|
onAfterExecute: async (e) => {
|
|
63
|
-
|
|
64
|
+
u(e.documentName);
|
|
64
65
|
const {
|
|
65
66
|
documentName: a,
|
|
66
|
-
meta: { path: t, method:
|
|
67
|
+
meta: { path: t, method: c }
|
|
67
68
|
} = e;
|
|
68
|
-
|
|
69
|
+
p({
|
|
69
70
|
documentName: a,
|
|
70
71
|
path: t,
|
|
71
|
-
method:
|
|
72
|
-
}) && await
|
|
72
|
+
method: c
|
|
73
|
+
}) && await n.replace({
|
|
73
74
|
name: "document.overview",
|
|
74
75
|
params: {
|
|
75
76
|
documentSlug: a
|
|
@@ -79,21 +80,21 @@ function N({
|
|
|
79
80
|
},
|
|
80
81
|
"operation:delete:example": {
|
|
81
82
|
onAfterExecute: async (e) => {
|
|
82
|
-
|
|
83
|
+
u(e.documentName);
|
|
83
84
|
const {
|
|
84
85
|
documentName: a,
|
|
85
|
-
meta: { path: t, method:
|
|
86
|
+
meta: { path: t, method: c, exampleKey: d }
|
|
86
87
|
} = e;
|
|
87
|
-
|
|
88
|
+
p({
|
|
88
89
|
documentName: a,
|
|
89
90
|
path: t,
|
|
90
|
-
method:
|
|
91
|
-
exampleName:
|
|
92
|
-
}) && await
|
|
91
|
+
method: c,
|
|
92
|
+
exampleName: d
|
|
93
|
+
}) && await n.replace({
|
|
93
94
|
name: "example",
|
|
94
95
|
params: {
|
|
95
96
|
pathEncoded: encodeURIComponent(t),
|
|
96
|
-
method:
|
|
97
|
+
method: c,
|
|
97
98
|
documentSlug: a,
|
|
98
99
|
exampleName: "default"
|
|
99
100
|
}
|
|
@@ -104,55 +105,93 @@ function N({
|
|
|
104
105
|
// Operation Request Body Related Hooks
|
|
105
106
|
//------------------------------------------------------------------------------------
|
|
106
107
|
"operation:update:requestBody:value": {
|
|
107
|
-
onAfterExecute: (e) =>
|
|
108
|
+
onAfterExecute: (e) => i(e.meta)
|
|
108
109
|
},
|
|
109
110
|
"operation:update:requestBody:formValue": {
|
|
110
|
-
onAfterExecute: (e) =>
|
|
111
|
+
onAfterExecute: (e) => i(e.meta)
|
|
111
112
|
},
|
|
112
113
|
//------------------------------------------------------------------------------------
|
|
113
114
|
// Tag Related Event Hooks
|
|
114
115
|
//------------------------------------------------------------------------------------
|
|
115
116
|
"tag:create:tag": {
|
|
116
|
-
onAfterExecute: (e) =>
|
|
117
|
+
onAfterExecute: (e) => u(e.documentName)
|
|
117
118
|
},
|
|
118
119
|
"tag:delete:tag": {
|
|
119
|
-
onAfterExecute: (e) =>
|
|
120
|
+
onAfterExecute: (e) => u(e.documentName)
|
|
120
121
|
},
|
|
121
122
|
//------------------------------------------------------------------------------------
|
|
122
123
|
// Tabs Related Event Hooks
|
|
123
124
|
//------------------------------------------------------------------------------------
|
|
124
125
|
"tabs:add:tab": {
|
|
125
|
-
onAfterExecute:
|
|
126
|
+
onAfterExecute: m
|
|
126
127
|
},
|
|
127
128
|
"tabs:close:tab": {
|
|
128
|
-
onAfterExecute:
|
|
129
|
+
onAfterExecute: m
|
|
129
130
|
},
|
|
130
131
|
"tabs:focus:tab": {
|
|
131
|
-
onAfterExecute:
|
|
132
|
+
onAfterExecute: m
|
|
132
133
|
},
|
|
133
134
|
"tabs:focus:tab-last": {
|
|
134
|
-
onAfterExecute:
|
|
135
|
+
onAfterExecute: m
|
|
135
136
|
},
|
|
136
137
|
"tabs:navigate:previous": {
|
|
137
|
-
onAfterExecute:
|
|
138
|
+
onAfterExecute: m
|
|
138
139
|
},
|
|
139
140
|
"tabs:navigate:next": {
|
|
140
|
-
onAfterExecute:
|
|
141
|
+
onAfterExecute: m
|
|
141
142
|
},
|
|
142
143
|
"tabs:update:tabs": {
|
|
143
|
-
onAfterExecute:
|
|
144
|
+
onAfterExecute: m
|
|
144
145
|
}
|
|
145
146
|
}
|
|
146
|
-
}),
|
|
147
|
-
const
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
|
|
147
|
+
}), s.on("scroll-to:nav-item", ({ id: e }) => f(e)), s.on("ui:toggle:sidebar", l), s.on("ui:navigate", async (e) => {
|
|
148
|
+
const a = (t) => {
|
|
149
|
+
if (!t)
|
|
150
|
+
return e.callback?.("success");
|
|
151
|
+
const c = w.duplicated;
|
|
152
|
+
return t.type !== c ? e.callback?.("error") : e.callback?.("success");
|
|
153
|
+
};
|
|
154
|
+
if (e.page === "document") {
|
|
155
|
+
const t = {
|
|
156
|
+
documentSlug: e.documentSlug,
|
|
157
|
+
workspaceSlug: e.workspaceSlug,
|
|
158
|
+
namespace: e.namespace
|
|
159
|
+
};
|
|
160
|
+
if (e.path === "overview")
|
|
161
|
+
return a(await n.push({ name: "document.overview", params: t }));
|
|
162
|
+
if (e.path === "servers")
|
|
163
|
+
return a(await n.push({ name: "document.servers", params: t }));
|
|
164
|
+
if (e.path === "environment")
|
|
165
|
+
return a(await n.push({ name: "document.environment", params: t }));
|
|
166
|
+
if (e.path === "authentication")
|
|
167
|
+
return a(await n.push({ name: "document.authentication", params: t }));
|
|
168
|
+
if (e.path === "cookies")
|
|
169
|
+
return a(await n.push({ name: "document.cookies", params: t }));
|
|
170
|
+
if (e.path === "settings")
|
|
171
|
+
return a(await n.push({ name: "document.settings", params: t }));
|
|
172
|
+
}
|
|
173
|
+
if (e.page === "workspace") {
|
|
174
|
+
const t = { workspaceSlug: e.workspaceSlug, namespace: e.namespace };
|
|
175
|
+
if (e.path === "environment")
|
|
176
|
+
return a(await n.push({ name: "workspace.environment", params: t }));
|
|
177
|
+
if (e.path === "cookies")
|
|
178
|
+
return a(await n.push({ name: "workspace.cookies", params: t }));
|
|
179
|
+
if (e.path === "settings")
|
|
180
|
+
return a(await n.push({ name: "workspace.settings", params: t }));
|
|
181
|
+
}
|
|
182
|
+
if (e.page === "example") {
|
|
183
|
+
const t = {
|
|
184
|
+
namespace: e.namespace,
|
|
185
|
+
workspaceSlug: e.workspaceSlug,
|
|
186
|
+
documentSlug: e.documentSlug,
|
|
187
|
+
pathEncoded: encodeURIComponent(e.path),
|
|
188
|
+
method: e.method,
|
|
189
|
+
exampleName: e.exampleName
|
|
190
|
+
};
|
|
191
|
+
return a(await n.push({ name: "example", params: t }));
|
|
192
|
+
}
|
|
193
|
+
}), s.on("tabs:copy:url", (e) => h(e.index));
|
|
155
194
|
}
|
|
156
195
|
export {
|
|
157
|
-
|
|
196
|
+
A as initializeAppEventHandlers
|
|
158
197
|
};
|
|
@@ -45,13 +45,14 @@ type __VLS_Slots = {
|
|
|
45
45
|
/** Slot for customizing the actions section of the sidebar menu. */
|
|
46
46
|
sidebarMenuActions?(): unknown;
|
|
47
47
|
};
|
|
48
|
-
type
|
|
48
|
+
type __VLS_ModelProps = {
|
|
49
49
|
/** Controls the visibility of the sidebar */
|
|
50
50
|
'isSidebarOpen': boolean;
|
|
51
51
|
/** Controls the width of the sidebar */
|
|
52
52
|
'sidebarWidth': number;
|
|
53
53
|
};
|
|
54
|
-
|
|
54
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
55
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
55
56
|
"update:sidebarWidth": (value: number) => any;
|
|
56
57
|
"update:isSidebarOpen": (value: boolean) => any;
|
|
57
58
|
} & {
|
|
@@ -67,7 +68,8 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps,
|
|
|
67
68
|
"onClick:workspace"?: (() => any) | undefined;
|
|
68
69
|
"onUpdate:isSidebarOpen"?: ((value: boolean) => any) | undefined;
|
|
69
70
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
70
|
-
declare const
|
|
71
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
72
|
+
declare const _default: typeof __VLS_export;
|
|
71
73
|
export default _default;
|
|
72
74
|
type __VLS_WithSlots<T, S> = T & {
|
|
73
75
|
new (): {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppSidebar.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/app/components/AppSidebar.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AppSidebar.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/app/components/AppSidebar.vue"],"names":[],"mappings":"AA4eA,OAAO,EAML,KAAK,cAAc,EACpB,MAAM,oBAAoB,CAAA;AAQ3B,OAAO,KAAK,EAA6B,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAC9E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAA;AACpE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAA;AAEvE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4CAA4C,CAAA;AAUhF,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAErD,KAAK,WAAW,GAAG;IACf;;OAEG;IACH,MAAM,EAAE,YAAY,CAAA;IAEpB;;OAEG;IACH,YAAY,EAAE,YAAY,CAAC,cAAc,CAAC,CAAA;IAE1C;;OAEG;IACH,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB;;;OAGG;IACH,eAAe,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAA;IAC9C;;;OAGG;IACH,UAAU,EAAE,cAAc,EAAE,CAAA;IAC5B;;;OAGG;IACH,QAAQ,EAAE,iBAAiB,CAAA;IAC3B;;;OAGG;IACH,KAAK,EAAE,cAAc,CAAA;CACtB,CAAC;AAiBJ,KAAK,WAAW,GAAG;IACjB,oEAAoE;IACpE,kBAAkB,CAAC,IAAI,OAAO,CAAA;CAC/B,CAAC;AAkLF,KAAK,gBAAgB,GAAG;IACxB,6CAA6C;IAC7C,eAAe,EAAE,OAAO,CAAC;IACzB,wCAAwC;IACxC,cAAc,EAAE,MAAM,CAAC;CACtB,CAAC;AAMF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AAgkBxD,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;kFAGd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./AppSidebar.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
|
-
import
|
|
4
|
-
const
|
|
3
|
+
import e from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const a = /* @__PURE__ */ e(o, [["__scopeId", "data-v-e0eb043e"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
a as default
|
|
7
7
|
};
|
|
@@ -1,24 +1,25 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as L, mergeModels as I, computed as k, capitalize as R, useModel as W, ref as V, createElementBlock as c, openBlock as u, createVNode as d, createBlock as x, createCommentVNode as p, unref as i, createSlots as j, withCtx as r, createTextVNode as b, createElementVNode as l, withKeys as w, withModifiers as v, toDisplayString as F, renderSlot as G, normalizeClass as H, Fragment as h, nextTick as U } from "vue";
|
|
2
2
|
import { useModal as J, ScalarSidebarItem as O, ScalarIconButton as Y, ScalarButton as $, ScalarModal as Q } from "@scalar/components";
|
|
3
3
|
import { isMacOS as X } from "@scalar/helpers/general/is-mac-os";
|
|
4
4
|
import { ScalarIconPlus as Z, ScalarIconDotsThree as _, ScalarIconGlobe as ee } from "@scalar/icons";
|
|
5
|
+
import { LibraryIcon as te } from "@scalar/icons/library";
|
|
5
6
|
import { getParentEntry as S } from "@scalar/workspace-store/navigation";
|
|
6
|
-
import
|
|
7
|
-
import
|
|
7
|
+
import ae from "../../../../assets/rabbit.ascii.js";
|
|
8
|
+
import oe from "../../../../assets/rabbitjump.ascii.js";
|
|
8
9
|
import E from "../../../../components/ScalarAsciiArt.vue.js";
|
|
9
|
-
import
|
|
10
|
-
import
|
|
10
|
+
import ne from "../../../../components/Sidebar/Actions/DeleteSidebarListElement.vue.js";
|
|
11
|
+
import ie from "./SidebarItemMenu.vue.js";
|
|
11
12
|
import { dragHandleFactory as se } from "../../../helpers/drag-handle-factory.js";
|
|
12
|
-
import
|
|
13
|
-
const
|
|
13
|
+
import re from "../../../components/sidebar/Sidebar.vue.js";
|
|
14
|
+
const le = { class: "flex" }, de = {
|
|
14
15
|
key: 0,
|
|
15
|
-
class: "flex items-center"
|
|
16
|
-
},
|
|
16
|
+
class: "relative flex items-center"
|
|
17
|
+
}, ue = {
|
|
17
18
|
key: 0,
|
|
18
19
|
class: "empty-sidebar-item-content overflow-hidden px-2.5 py-2.5"
|
|
19
|
-
},
|
|
20
|
+
}, me = { class: "rabbit-ascii relative m-auto mt-2 h-[68px] w-[60px]" }, ce = { class: "gap-1.5 p-2" }, pe = { class: "text-sidebar-c-2 rounded border px-1.25 py-1 text-xs leading-none font-medium uppercase" }, We = /* @__PURE__ */ L({
|
|
20
21
|
__name: "AppSidebar",
|
|
21
|
-
props: /* @__PURE__ */
|
|
22
|
+
props: /* @__PURE__ */ I({
|
|
22
23
|
layout: {},
|
|
23
24
|
sidebarState: {},
|
|
24
25
|
isWorkspaceOpen: { type: Boolean },
|
|
@@ -35,18 +36,18 @@ const re = { class: "flex" }, le = {
|
|
|
35
36
|
},
|
|
36
37
|
sidebarWidthModifiers: {}
|
|
37
38
|
}),
|
|
38
|
-
emits: /* @__PURE__ */
|
|
39
|
+
emits: /* @__PURE__ */ I(["click:workspace", "selectItem", "select:workspace", "create:workspace"], ["update:isSidebarOpen", "update:sidebarWidth"]),
|
|
39
40
|
setup(o, { emit: A }) {
|
|
40
|
-
const f = A, D = k(() =>
|
|
41
|
+
const f = A, D = k(() => R(o.activeWorkspace.label)), M = W(o, "isSidebarOpen"), B = W(o, "sidebarWidth"), g = k(() => o.sidebarState.items.value.length <= 1), C = k(
|
|
41
42
|
() => se({
|
|
42
43
|
store: o.store,
|
|
43
44
|
sidebarState: o.sidebarState
|
|
44
45
|
})
|
|
45
|
-
), N = (a, e) => C.value.handleDragEnd(a, e), T = (a, e) => C.value.isDroppable(a, e),
|
|
46
|
-
const a =
|
|
46
|
+
), N = (a, e) => C.value.handleDragEnd(a, e), T = (a, e) => C.value.isDroppable(a, e), s = V(null), y = J(), K = k(() => {
|
|
47
|
+
const a = s.value?.item;
|
|
47
48
|
return a?.type === "document" ? "This cannot be undone. You're about to delete the document and all tags and operations inside it." : `Are you sure you want to delete this ${a?.type ?? "item"}? This action cannot be undone.`;
|
|
48
49
|
}), z = () => {
|
|
49
|
-
const a =
|
|
50
|
+
const a = s.value?.item;
|
|
50
51
|
if (!a)
|
|
51
52
|
return;
|
|
52
53
|
const e = o.sidebarState.getEntryById(a.id), t = S("document", e), n = S("operation", e);
|
|
@@ -80,17 +81,17 @@ const re = { class: "flex" }, le = {
|
|
|
80
81
|
documentName: t.name
|
|
81
82
|
});
|
|
82
83
|
}
|
|
83
|
-
y.hide(),
|
|
84
|
+
y.hide(), s.value = null;
|
|
84
85
|
}
|
|
85
86
|
}, m = async (a, e) => {
|
|
86
|
-
if (
|
|
87
|
+
if (s.value?.showMenu)
|
|
87
88
|
return;
|
|
88
89
|
const t = a.currentTarget;
|
|
89
|
-
|
|
90
|
+
s.value = { item: e, el: t, showMenu: !0 }, await U();
|
|
90
91
|
const n = a instanceof MouseEvent ? new MouseEvent(a.type, a) : new KeyboardEvent(a.type, a);
|
|
91
|
-
|
|
92
|
+
s.value?.el.dispatchEvent(n);
|
|
92
93
|
}, P = () => {
|
|
93
|
-
|
|
94
|
+
s.value && (s.value.showMenu = !1);
|
|
94
95
|
}, q = (a) => {
|
|
95
96
|
const e = o.sidebarState.getEntryById(a.id), t = S("document", e), n = S("tag", e);
|
|
96
97
|
o.eventBus.emit("ui:open:command-palette", {
|
|
@@ -101,10 +102,10 @@ const re = { class: "flex" }, le = {
|
|
|
101
102
|
}
|
|
102
103
|
});
|
|
103
104
|
};
|
|
104
|
-
return (a, e) => (u(), c("div",
|
|
105
|
-
d(
|
|
106
|
-
isSidebarOpen:
|
|
107
|
-
"onUpdate:isSidebarOpen": e[3] || (e[3] = (t) =>
|
|
105
|
+
return (a, e) => (u(), c("div", le, [
|
|
106
|
+
d(i(re), {
|
|
107
|
+
isSidebarOpen: M.value,
|
|
108
|
+
"onUpdate:isSidebarOpen": e[3] || (e[3] = (t) => M.value = t),
|
|
108
109
|
sidebarWidth: B.value,
|
|
109
110
|
"onUpdate:sidebarWidth": e[4] || (e[4] = (t) => B.value = t),
|
|
110
111
|
activeWorkspace: o.activeWorkspace,
|
|
@@ -117,28 +118,28 @@ const re = { class: "flex" }, le = {
|
|
|
117
118
|
onReorder: e[6] || (e[6] = (t, n) => N(t, n)),
|
|
118
119
|
"onSelect:workspace": e[7] || (e[7] = (t) => f("select:workspace", t)),
|
|
119
120
|
onSelectItem: e[8] || (e[8] = (t) => f("selectItem", t))
|
|
120
|
-
},
|
|
121
|
+
}, j({
|
|
121
122
|
sidebarMenuActions: r(() => [
|
|
122
|
-
|
|
123
|
+
G(a.$slots, "sidebarMenuActions", {}, void 0, !0)
|
|
123
124
|
]),
|
|
124
125
|
workspaceButton: r(() => [
|
|
125
|
-
d(
|
|
126
|
+
d(i(O), {
|
|
126
127
|
is: "button",
|
|
127
128
|
active: o.isWorkspaceOpen,
|
|
128
|
-
icon:
|
|
129
|
+
icon: i(ee),
|
|
129
130
|
onClick: e[0] || (e[0] = (t) => f("click:workspace"))
|
|
130
131
|
}, {
|
|
131
132
|
default: r(() => [
|
|
132
|
-
b(
|
|
133
|
+
b(F(D.value), 1)
|
|
133
134
|
]),
|
|
134
135
|
_: 1
|
|
135
136
|
}, 8, ["active", "icon"])
|
|
136
137
|
]),
|
|
137
138
|
decorator: r(({ item: t }) => [
|
|
138
|
-
d(
|
|
139
|
+
d(i(Y), {
|
|
139
140
|
"aria-expanded": "false",
|
|
140
141
|
"aria-haspopup": "menu",
|
|
141
|
-
icon:
|
|
142
|
+
icon: i(_),
|
|
142
143
|
label: "More options",
|
|
143
144
|
size: "sm",
|
|
144
145
|
weight: "bold",
|
|
@@ -152,17 +153,21 @@ const re = { class: "flex" }, le = {
|
|
|
152
153
|
}, null, 8, ["icon", "onClick", "onKeydown"])
|
|
153
154
|
]),
|
|
154
155
|
icon: r(({ item: t }) => [
|
|
155
|
-
t.type === "document" && o.store.workspace.documents[t.name]?.["x-scalar-is-dirty"] === !0 ? (u(), c("div",
|
|
156
|
-
|
|
157
|
-
|
|
156
|
+
t.type === "document" && o.store.workspace.documents[t.name]?.["x-scalar-is-dirty"] === !0 ? (u(), c("div", de, [
|
|
157
|
+
d(i(te), {
|
|
158
|
+
class: "block",
|
|
159
|
+
src: "icon" in t && t.icon || "interface-content-folder"
|
|
160
|
+
}, null, 8, ["src"]),
|
|
161
|
+
e[11] || (e[11] = l("div", { class: "bg-orange absolute -top-1.25 -right-1.25 flex h-2.5 w-2.5 items-center justify-center rounded-full text-[9px] font-bold text-white" }, " ! ", -1))
|
|
162
|
+
])) : p("", !0)
|
|
158
163
|
]),
|
|
159
164
|
empty: r(({ item: t }) => [
|
|
160
|
-
d(
|
|
165
|
+
d(i(O), {
|
|
161
166
|
is: "button",
|
|
162
167
|
onClick: (n) => q(t)
|
|
163
168
|
}, {
|
|
164
169
|
icon: r(() => [
|
|
165
|
-
d(
|
|
170
|
+
d(i(Z))
|
|
166
171
|
]),
|
|
167
172
|
default: r(() => [...e[12] || (e[12] = [
|
|
168
173
|
b("Add operation", -1)
|
|
@@ -180,14 +185,14 @@ const re = { class: "flex" }, le = {
|
|
|
180
185
|
"empty-sidebar-item border-t": g.value
|
|
181
186
|
})
|
|
182
187
|
}, [
|
|
183
|
-
g.value ? (u(), c("div",
|
|
184
|
-
l("div",
|
|
188
|
+
g.value ? (u(), c("div", ue, [
|
|
189
|
+
l("div", me, [
|
|
185
190
|
d(E, {
|
|
186
|
-
art:
|
|
191
|
+
art: i(ae),
|
|
187
192
|
class: "rabbitsit font-bold"
|
|
188
193
|
}, null, 8, ["art"]),
|
|
189
194
|
d(E, {
|
|
190
|
-
art:
|
|
195
|
+
art: i(oe),
|
|
191
196
|
class: "rabbitjump absolute top-0 left-0 font-bold"
|
|
192
197
|
}, null, 8, ["art"])
|
|
193
198
|
]),
|
|
@@ -196,8 +201,8 @@ const re = { class: "flex" }, le = {
|
|
|
196
201
|
l("p", { class: "mt-2 leading-3" }, " Create request, folder, collection or import from OpenAPI/Postman ")
|
|
197
202
|
], -1))
|
|
198
203
|
])) : p("", !0),
|
|
199
|
-
l("div",
|
|
200
|
-
g.value ? (u(),
|
|
204
|
+
l("div", ce, [
|
|
205
|
+
g.value ? (u(), x(i($), {
|
|
201
206
|
key: 0,
|
|
202
207
|
class: "w-full",
|
|
203
208
|
size: "sm",
|
|
@@ -211,7 +216,7 @@ const re = { class: "flex" }, le = {
|
|
|
211
216
|
])]),
|
|
212
217
|
_: 1
|
|
213
218
|
})) : p("", !0),
|
|
214
|
-
d(
|
|
219
|
+
d(i($), {
|
|
215
220
|
class: "w-full",
|
|
216
221
|
hotkey: "K",
|
|
217
222
|
size: "sm",
|
|
@@ -220,8 +225,8 @@ const re = { class: "flex" }, le = {
|
|
|
220
225
|
}, {
|
|
221
226
|
default: r(() => [
|
|
222
227
|
e[20] || (e[20] = b(" Add Item ", -1)),
|
|
223
|
-
l("span",
|
|
224
|
-
|
|
228
|
+
l("span", pe, [
|
|
229
|
+
i(X)() ? (u(), c(h, { key: 0 }, [
|
|
225
230
|
e[15] || (e[15] = l("span", { class: "sr-only" }, "Command", -1)),
|
|
226
231
|
e[16] || (e[16] = l("span", { "aria-hidden": "true" }, "⌘", -1))
|
|
227
232
|
], 64)) : (u(), c(h, { key: 1 }, [
|
|
@@ -239,26 +244,26 @@ const re = { class: "flex" }, le = {
|
|
|
239
244
|
key: "0"
|
|
240
245
|
} : void 0
|
|
241
246
|
]), 1032, ["isSidebarOpen", "sidebarWidth", "activeWorkspace", "documents", "layout", "sidebarState", "workspaces"]),
|
|
242
|
-
|
|
247
|
+
s.value?.showMenu ? (u(), x(ie, {
|
|
243
248
|
key: 0,
|
|
244
249
|
eventBus: o.eventBus,
|
|
245
|
-
item:
|
|
250
|
+
item: s.value.item,
|
|
246
251
|
sidebarState: o.sidebarState,
|
|
247
|
-
target:
|
|
252
|
+
target: s.value.el,
|
|
248
253
|
onCloseMenu: P,
|
|
249
|
-
onShowDeleteModal: e[9] || (e[9] = (t) =>
|
|
254
|
+
onShowDeleteModal: e[9] || (e[9] = (t) => i(y).show())
|
|
250
255
|
}, null, 8, ["eventBus", "item", "sidebarState", "target"])) : p("", !0),
|
|
251
|
-
|
|
256
|
+
s.value ? (u(), x(i(Q), {
|
|
252
257
|
key: 1,
|
|
253
258
|
size: "xxs",
|
|
254
|
-
state:
|
|
255
|
-
title: `Delete ${
|
|
259
|
+
state: i(y),
|
|
260
|
+
title: `Delete ${s.value.item.title}`
|
|
256
261
|
}, {
|
|
257
262
|
default: r(() => [
|
|
258
|
-
d(
|
|
259
|
-
variableName:
|
|
263
|
+
d(ne, {
|
|
264
|
+
variableName: s.value.item.title,
|
|
260
265
|
warningMessage: K.value,
|
|
261
|
-
onClose: e[10] || (e[10] = (t) =>
|
|
266
|
+
onClose: e[10] || (e[10] = (t) => i(y).hide()),
|
|
262
267
|
onDelete: z
|
|
263
268
|
}, null, 8, ["variableName", "warningMessage"])
|
|
264
269
|
]),
|
|
@@ -268,5 +273,5 @@ const re = { class: "flex" }, le = {
|
|
|
268
273
|
}
|
|
269
274
|
});
|
|
270
275
|
export {
|
|
271
|
-
|
|
276
|
+
We as default
|
|
272
277
|
};
|
|
@@ -2,7 +2,7 @@ import { type ModalState } from '@scalar/components';
|
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
state: ModalState;
|
|
4
4
|
};
|
|
5
|
-
declare const
|
|
5
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
6
6
|
"create:workspace": (payload: {
|
|
7
7
|
name: string;
|
|
8
8
|
}) => any;
|
|
@@ -11,5 +11,6 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
11
11
|
name: string;
|
|
12
12
|
}) => any) | undefined;
|
|
13
13
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
declare const _default: typeof __VLS_export;
|
|
14
15
|
export default _default;
|
|
15
16
|
//# sourceMappingURL=CreateWorkspaceModal.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateWorkspaceModal.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/app/components/CreateWorkspaceModal.vue"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"CreateWorkspaceModal.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/app/components/CreateWorkspaceModal.vue"],"names":[],"mappings":"AAAA,OAyEO,EAAe,KAAK,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAMjE,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,UAAU,CAAA;CAClB,CAAC;AAgIF,QAAA,MAAM,YAAY;;cA3HyB,MAAM;;;;cAAN,MAAM;;kFA8H/C,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -9,7 +9,7 @@ type __VLS_Props = {
|
|
|
9
9
|
/** The tab data */
|
|
10
10
|
tab: Tab;
|
|
11
11
|
};
|
|
12
|
-
declare const
|
|
12
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
13
13
|
click: () => any;
|
|
14
14
|
close: () => any;
|
|
15
15
|
newTab: () => any;
|
|
@@ -22,5 +22,6 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
22
22
|
onCopyUrl?: (() => any) | undefined;
|
|
23
23
|
onCloseOtherTabs?: (() => any) | undefined;
|
|
24
24
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
25
|
+
declare const _default: typeof __VLS_export;
|
|
25
26
|
export default _default;
|
|
26
27
|
//# sourceMappingURL=DesktopTab.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DesktopTab.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/app/components/DesktopTab.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DesktopTab.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/app/components/DesktopTab.vue"],"names":[],"mappings":"AAyTA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,sDAAsD,CAAA;AAG/E,KAAK,WAAW,GAAG;IACjB,oDAAoD;IACpD,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,2CAA2C;IAC3C,MAAM,EAAE,OAAO,CAAA;IACf,+EAA+E;IAC/E,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,mBAAmB;IACnB,GAAG,EAAE,GAAG,CAAA;CACT,CAAC;AAwZF,QAAA,MAAM,YAAY;;;;;;;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -8,6 +8,7 @@ type __VLS_Props = {
|
|
|
8
8
|
/** Workspace event bus for emitting tab-related events */
|
|
9
9
|
eventBus: WorkspaceEventBus;
|
|
10
10
|
};
|
|
11
|
-
declare const
|
|
11
|
+
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>;
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
12
13
|
export default _default;
|
|
13
14
|
//# sourceMappingURL=DesktopTabs.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DesktopTabs.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/app/components/DesktopTabs.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DesktopTabs.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/app/components/DesktopTabs.vue"],"names":[],"mappings":"AA4EA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAA;AACvE,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,oEAAoE,CAAA;AAK7F,KAAK,WAAW,GAAG;IACjB,iBAAiB;IACjB,IAAI,EAAE,GAAG,EAAE,CAAA;IACX,+BAA+B;IAC/B,cAAc,EAAE,MAAM,CAAA;IACtB,0DAA0D;IAC1D,QAAQ,EAAE,iBAAiB,CAAA;CAC5B,CAAC;AAyJF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
declare const
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
2
3
|
export default _default;
|
|
3
4
|
//# sourceMappingURL=DownloadAppButton.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DownloadAppButton.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/app/components/DownloadAppButton.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"DownloadAppButton.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/app/components/DownloadAppButton.vue"],"names":[],"mappings":"AA4FA,QAAA,MAAM,YAAY,+QAChB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -11,12 +11,13 @@ type __VLS_Props = {
|
|
|
11
11
|
/** The target to position the dropdown relative to */
|
|
12
12
|
target: HTMLElement;
|
|
13
13
|
};
|
|
14
|
-
declare const
|
|
14
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
15
15
|
closeMenu: () => any;
|
|
16
16
|
showDeleteModal: () => any;
|
|
17
17
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
18
18
|
onCloseMenu?: (() => any) | undefined;
|
|
19
19
|
onShowDeleteModal?: (() => 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=SidebarItemMenu.vue.d.ts.map
|