@scalar/api-client 2.25.0 → 2.26.1
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 +60 -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/DataTableCheckbox.vue.js +8 -8
- 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 +3 -2
- package/dist/v2/blocks/operation-block/OperationBlock.vue.d.ts.map +1 -1
- 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/helpers/build-request-body.d.ts.map +1 -1
- package/dist/v2/blocks/operation-block/helpers/build-request-body.js +28 -19
- 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 +87 -79
- package/dist/v2/blocks/request-block/RequestBlock.vue.d.ts +2 -1
- package/dist/v2/blocks/request-block/RequestBlock.vue.d.ts.map +1 -1
- 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/RequestCodeSnippet.vue.js +18 -18
- 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/RequestTable.vue.d.ts +2 -1
- package/dist/v2/blocks/request-block/components/RequestTable.vue.d.ts.map +1 -1
- package/dist/v2/blocks/request-block/components/RequestTableRow.vue.d.ts +2 -1
- 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 +2 -1
- package/dist/v2/blocks/response-block/ResponseBlock.vue.d.ts.map +1 -1
- 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/ResponseBodyRaw.vue.js +2 -2
- package/dist/v2/blocks/response-block/components/ResponseBodyRaw.vue2.js +19 -19
- 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-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/AuthSelector.vue.js +26 -26
- 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 +18 -0
- package/dist/v2/components/callout/Callout.vue.d.ts.map +1 -0
- package/dist/v2/components/callout/Callout.vue.js +7 -0
- package/dist/v2/components/callout/Callout.vue2.js +43 -0
- 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/DataTableCheckbox.vue.js +8 -8
- 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 +57 -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 +40 -41
- 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 +5 -4
- package/dist/v2/features/app/App.vue.d.ts.map +1 -1
- package/dist/v2/features/app/App.vue.js +84 -89
- 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 +10 -10
- package/dist/v2/features/app/app-state.d.ts +36 -87
- package/dist/v2/features/app/app-state.d.ts.map +1 -1
- package/dist/v2/features/app/app-state.js +339 -330
- 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/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/DesktopTabs.vue.js +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 +2 -2
- package/dist/v2/features/app/helpers/create-api-client-app.d.ts.map +1 -1
- package/dist/v2/features/app/helpers/create-api-client-app.js +9 -9
- package/dist/v2/features/app/helpers/get-route-param.d.ts +7 -0
- package/dist/v2/features/app/helpers/get-route-param.d.ts.map +1 -0
- package/dist/v2/features/app/helpers/get-route-param.js +9 -0
- package/dist/v2/features/app/index.d.ts +1 -1
- package/dist/v2/features/app/index.d.ts.map +1 -1
- package/dist/v2/features/app/index.js +12 -12
- 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/DocumentCollection.vue.js +72 -65
- 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 +31 -3
- package/dist/v2/features/command-palette/components/CommandPaletteImport.vue.d.ts.map +1 -1
- package/dist/v2/features/command-palette/components/CommandPaletteImport.vue.js +110 -106
- 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/command-palette/helpers/load-document-from-source.d.ts +5 -1
- package/dist/v2/features/command-palette/helpers/load-document-from-source.d.ts.map +1 -1
- package/dist/v2/features/command-palette/helpers/load-document-from-source.js +41 -23
- package/dist/v2/features/command-palette/hooks/use-command-palette-state.d.ts +41 -8
- package/dist/v2/features/command-palette/hooks/use-command-palette-state.d.ts.map +1 -1
- package/dist/v2/features/command-palette/index.d.ts +1 -2
- package/dist/v2/features/command-palette/index.d.ts.map +1 -1
- package/dist/v2/features/command-palette/index.js +4 -6
- 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 +3 -2
- 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.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 +1 -1
- 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/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/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 +4 -4
- 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/ResponseBodyRaw.vue.js +2 -2
- package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue2.js +24 -23
- 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 +13 -13
- package/dist/v2/features/app/components/WebTopNav.vue.d.ts +0 -41
- package/dist/v2/features/app/components/WebTopNav.vue.d.ts.map +0 -1
- package/dist/v2/features/app/components/WebTopNav.vue.js +0 -27
- package/dist/v2/features/app/components/WebTopNav.vue2.js +0 -4
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
type
|
|
1
|
+
type __VLS_ModelProps = {
|
|
2
2
|
modelValue: string;
|
|
3
3
|
};
|
|
4
|
-
declare const
|
|
4
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5
5
|
"update:modelValue": (value: string) => any;
|
|
6
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
6
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
7
7
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
8
8
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
declare const _default: typeof __VLS_export;
|
|
9
10
|
export default _default;
|
|
10
11
|
//# sourceMappingURL=LabelInput.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LabelInput.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/collection/components/LabelInput.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"LabelInput.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/collection/components/LabelInput.vue"],"names":[],"mappings":"AA+CA,KAAK,gBAAgB,GAAG;IACxB,UAAU,EAAE,MAAM,CAAC;CAClB,CAAC;AAyEF,QAAA,MAAM,YAAY;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<(import("../../../../v2/features/app/helpers/routes.js").RouteProps & {
|
|
2
2
|
collectionType: "document";
|
|
3
3
|
document: import("@scalar/workspace-store/schemas").WorkspaceDocument;
|
|
4
4
|
}) | (import("../../../../v2/features/app/helpers/routes.js").RouteProps & {
|
|
@@ -11,5 +11,6 @@ declare const _default: import("vue").DefineComponent<(import("../../../../v2/fe
|
|
|
11
11
|
collectionType: "workspace";
|
|
12
12
|
document: null;
|
|
13
13
|
})> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
declare const _default: typeof __VLS_export;
|
|
14
15
|
export default _default;
|
|
15
16
|
//# sourceMappingURL=Overview.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Overview.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/collection/components/Overview.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Overview.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/collection/components/Overview.vue"],"names":[],"mappings":"AAyaA,QAAA,MAAM,YAAY;;;;;;;;;;;;kGAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<(import("../../../../v2/features/app/helpers/routes.js").RouteProps & {
|
|
2
2
|
collectionType: "document";
|
|
3
3
|
document: import("@scalar/workspace-store/schemas").WorkspaceDocument;
|
|
4
4
|
}) | (import("../../../../v2/features/app/helpers/routes.js").RouteProps & {
|
|
@@ -11,5 +11,6 @@ declare const _default: import("vue").DefineComponent<(import("../../../../v2/fe
|
|
|
11
11
|
collectionType: "workspace";
|
|
12
12
|
document: null;
|
|
13
13
|
})> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
declare const _default: typeof __VLS_export;
|
|
14
15
|
export default _default;
|
|
15
16
|
//# sourceMappingURL=Servers.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Servers.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/collection/components/Servers.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Servers.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/collection/components/Servers.vue"],"names":[],"mappings":"AAukBA,QAAA,MAAM,YAAY;;;;;;;;;;;;kGAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<(import("../../../../v2/features/app/helpers/routes.js").RouteProps & {
|
|
2
2
|
collectionType: "document";
|
|
3
3
|
document: import("@scalar/workspace-store/schemas").WorkspaceDocument;
|
|
4
4
|
}) | (import("../../../../v2/features/app/helpers/routes.js").RouteProps & {
|
|
@@ -11,5 +11,6 @@ declare const _default: import("vue").DefineComponent<(import("../../../../v2/fe
|
|
|
11
11
|
collectionType: "workspace";
|
|
12
12
|
document: null;
|
|
13
13
|
})> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
declare const _default: typeof __VLS_export;
|
|
14
15
|
export default _default;
|
|
15
16
|
//# sourceMappingURL=Settings.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Settings.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/collection/components/Settings.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Settings.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/collection/components/Settings.vue"],"names":[],"mappings":"AA6KA,QAAA,MAAM,YAAY;;;;;;;;;;;;kGAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
2
|
type: 'document' | 'workspace';
|
|
3
3
|
};
|
|
4
|
-
declare const
|
|
4
|
+
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>;
|
|
5
|
+
declare const _default: typeof __VLS_export;
|
|
5
6
|
export default _default;
|
|
6
7
|
//# sourceMappingURL=Tabs.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tabs.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/collection/components/Tabs.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Tabs.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/collection/components/Tabs.vue"],"names":[],"mappings":"AAsDA,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,UAAU,GAAG,WAAW,CAAA;CAC/B,CAAC;AA4GF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -22,7 +22,9 @@ import type { CommandPaletteState } from './hooks/use-command-palette-state.js';
|
|
|
22
22
|
* :eventBus="eventBus"
|
|
23
23
|
* />
|
|
24
24
|
*/
|
|
25
|
-
declare const _default:
|
|
25
|
+
declare const _default: typeof __VLS_export;
|
|
26
|
+
export default _default;
|
|
27
|
+
declare const __VLS_export: import("vue").DefineComponent<{
|
|
26
28
|
/** The command palette state management hook */
|
|
27
29
|
paletteState: CommandPaletteState;
|
|
28
30
|
/** The workspace store for accessing documents and operations */
|
|
@@ -37,5 +39,4 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
37
39
|
/** Event bus for emitting workspace events */
|
|
38
40
|
eventBus: WorkspaceEventBus;
|
|
39
41
|
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
40
|
-
export default _default;
|
|
41
42
|
//# sourceMappingURL=TheCommandPalette.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TheCommandPalette.vue.d.ts","sourceRoot":"","sources":["../../../../src/v2/features/command-palette/TheCommandPalette.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TheCommandPalette.vue.d.ts","sourceRoot":"","sources":["../../../../src/v2/features/command-palette/TheCommandPalette.vue"],"names":[],"mappings":"AA2WA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAA;AACpE,OAAO,KAAK,EAIV,iBAAiB,EAClB,MAAM,gCAAgC,CAAA;AAWvC,OAAO,KAAK,EAEV,mBAAmB,EACpB,MAAM,mCAAmC,CAAA;AAG1C;;;;;;;;;;;;;;;;;;;;GAoBG;wBACkB,OAAO,YAAY;AAAxC,wBAAyC;AAGzC,QAAA,MAAM,YAAY;IAEhB,gDAAgD;kBAClC,mBAAmB;IACjC,iEAAiE;oBACjD,cAAc;IAC9B,8CAA8C;cACpC,iBAAiB;;IAL3B,gDAAgD;kBAClC,mBAAmB;IACjC,iEAAiE;oBACjD,cAAc;IAC9B,8CAA8C;cACpC,iBAAiB;iGA0czB,CAAC"}
|
|
@@ -26,7 +26,9 @@ import { type LoadingState } from '@scalar/components';
|
|
|
26
26
|
* <template #submit>Create</template>
|
|
27
27
|
* </CommandActionForm>
|
|
28
28
|
*/
|
|
29
|
-
declare const _default:
|
|
29
|
+
declare const _default: typeof __VLS_export;
|
|
30
|
+
export default _default;
|
|
31
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
30
32
|
/** Loading state from useLoadingState composable to show spinner on submit button */
|
|
31
33
|
loader?: LoadingState;
|
|
32
34
|
/** Whether the form and submit button are disabled */
|
|
@@ -52,7 +54,6 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
52
54
|
/** Custom text or content for the submit button (defaults to "Continue") */
|
|
53
55
|
submit(): void;
|
|
54
56
|
}>;
|
|
55
|
-
export default _default;
|
|
56
57
|
type __VLS_WithSlots<T, S> = T & {
|
|
57
58
|
new (): {
|
|
58
59
|
$slots: S;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CommandActionForm.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/command-palette/components/CommandActionForm.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CommandActionForm.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/command-palette/components/CommandActionForm.vue"],"names":[],"mappings":"AAsGA,OAAO,EAA2B,KAAK,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAG/E;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;wBACkB,OAAO,YAAY;AAAxC,wBAAyC;AAKzC,QAAA,MAAM,YAAY;IAEhB,qFAAqF;aAC5E,YAAY;IACrB,sDAAsD;eAC3C,OAAO;;;;;;IAHlB,qFAAqF;aAC5E,YAAY;IACrB,sDAAsD;eAC3C,OAAO;;;;;;IAgBlB,wCAAwC;eAC7B,IAAI;IACf,kGAAkG;eACvF,IAAI;IACf,4EAA4E;cAClE,IAAI;EA+FZ,CAAC;AACL,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -14,7 +14,9 @@
|
|
|
14
14
|
* @delete="handleBack"
|
|
15
15
|
* />
|
|
16
16
|
*/
|
|
17
|
-
declare const _default:
|
|
17
|
+
declare const _default: typeof __VLS_export;
|
|
18
|
+
export default _default;
|
|
19
|
+
declare const __VLS_export: import("vue").DefineComponent<{
|
|
18
20
|
/** Current value of the input */
|
|
19
21
|
modelValue?: string;
|
|
20
22
|
/** Placeholder text shown when input is empty */
|
|
@@ -35,5 +37,4 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
35
37
|
onDelete?: ((keyboardEvent: KeyboardEvent) => any) | undefined;
|
|
36
38
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
37
39
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
38
|
-
export default _default;
|
|
39
40
|
//# sourceMappingURL=CommandActionInput.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CommandActionInput.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/command-palette/components/CommandActionInput.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CommandActionInput.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/command-palette/components/CommandActionInput.vue"],"names":[],"mappings":"AAuHA;;;;;;;;;;;;;;;GAeG;wBACkB,OAAO,YAAY;AAAxC,wBAAyC;AAKzC,QAAA,MAAM,YAAY;IAEhB,iCAAiC;iBACpB,MAAM;IACnB,iDAAiD;kBACnC,MAAM;IACpB,4DAA4D;gBAChD,OAAO;;;;;IALnB,iCAAiC;iBACpB,MAAM;IACnB,iDAAiD;kBACnC,MAAM;IACpB,4DAA4D;gBAChD,OAAO;;;;kFA6HjB,CAAC"}
|
|
@@ -15,7 +15,9 @@ import type { WorkspaceEventBus } from '@scalar/workspace-store/events';
|
|
|
15
15
|
* @back="handleBack"
|
|
16
16
|
* />
|
|
17
17
|
*/
|
|
18
|
-
declare const _default:
|
|
18
|
+
declare const _default: typeof __VLS_export;
|
|
19
|
+
export default _default;
|
|
20
|
+
declare const __VLS_export: import("vue").DefineComponent<{
|
|
19
21
|
/** The workspace store for accessing existing documents */
|
|
20
22
|
workspaceStore: WorkspaceStore;
|
|
21
23
|
/** Event bus for emitting document creation events */
|
|
@@ -32,5 +34,4 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
32
34
|
onClose?: (() => any) | undefined;
|
|
33
35
|
onBack?: ((keyboardEvent: KeyboardEvent) => any) | undefined;
|
|
34
36
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
35
|
-
export default _default;
|
|
36
37
|
//# sourceMappingURL=CommandPaletteDocument.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CommandPaletteDocument.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/command-palette/components/CommandPaletteDocument.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CommandPaletteDocument.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/command-palette/components/CommandPaletteDocument.vue"],"names":[],"mappings":"AAwIA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAA;AACpE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAA;AAUvE;;;;;;;;;;;;;;GAcG;wBACkB,OAAO,YAAY;AAAxC,wBAAyC;AAGzC,QAAA,MAAM,YAAY;IAEhB,2DAA2D;oBAC3C,cAAc;IAC9B,sDAAsD;cAC5C,iBAAiB;;;;;IAH3B,2DAA2D;oBAC3C,cAAc;IAC9B,sDAAsD;cAC5C,iBAAiB;;;;kFAwMzB,CAAC"}
|
|
@@ -13,7 +13,9 @@ import type { WorkspaceStore } from '@scalar/workspace-store/client';
|
|
|
13
13
|
* @back="handleBack"
|
|
14
14
|
* />
|
|
15
15
|
*/
|
|
16
|
-
declare const _default:
|
|
16
|
+
declare const _default: typeof __VLS_export;
|
|
17
|
+
export default _default;
|
|
18
|
+
declare const __VLS_export: import("vue").DefineComponent<{
|
|
17
19
|
/** The workspace store for accessing documents and operations */
|
|
18
20
|
workspaceStore: WorkspaceStore;
|
|
19
21
|
/** Document id to create the example for */
|
|
@@ -34,5 +36,4 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
34
36
|
onClose?: (() => any) | undefined;
|
|
35
37
|
onBack?: ((keyboardEvent: KeyboardEvent) => any) | undefined;
|
|
36
38
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
37
|
-
export default _default;
|
|
38
39
|
//# sourceMappingURL=CommandPaletteExample.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CommandPaletteExample.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/command-palette/components/CommandPaletteExample.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CommandPaletteExample.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/command-palette/components/CommandPaletteExample.vue"],"names":[],"mappings":"AAqSA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAA;AAcpE;;;;;;;;;;;;;GAaG;wBACkB,OAAO,YAAY;AAAxC,wBAAyC;AAKzC,QAAA,MAAM,YAAY;IAEhB,iEAAiE;oBACjD,cAAc;IAC9B,4CAA4C;iBAC/B,MAAM;IACnB,4DAA4D;kBAC9C,MAAM;;;;;IALpB,iEAAiE;oBACjD,cAAc;IAC9B,4CAA4C;iBAC/B,MAAM;IACnB,4DAA4D;kBAC9C,MAAM;;;;kFA4clB,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { LoaderPlugin } from '@scalar/json-magic/bundle';
|
|
1
2
|
import { type WorkspaceStore } from '@scalar/workspace-store/client';
|
|
2
3
|
import type { WorkspaceEventBus } from '@scalar/workspace-store/events';
|
|
3
4
|
/**
|
|
@@ -17,12 +18,27 @@ import type { WorkspaceEventBus } from '@scalar/workspace-store/events';
|
|
|
17
18
|
* @back="handleBack"
|
|
18
19
|
* @open-command="handleOpenCommand"
|
|
19
20
|
* />
|
|
21
|
+
*
|
|
22
|
+
* @example Custom file upload button
|
|
23
|
+
* <CommandPaletteImport
|
|
24
|
+
* :workspaceStore="workspaceStore"
|
|
25
|
+
* @close="handleClose">
|
|
26
|
+
* <template #fileUpload="{ import: importDocument }">
|
|
27
|
+
* <button @click="() => importDocument(source, 'file')">
|
|
28
|
+
* Custom Upload
|
|
29
|
+
* </button>
|
|
30
|
+
* </template>
|
|
31
|
+
* </CommandPaletteImport>
|
|
20
32
|
*/
|
|
21
|
-
declare const _default:
|
|
33
|
+
declare const _default: typeof __VLS_export;
|
|
34
|
+
export default _default;
|
|
35
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
22
36
|
/** The workspace store for adding documents */
|
|
23
37
|
workspaceStore: WorkspaceStore;
|
|
24
38
|
/** Event bus for emitting operation creation events */
|
|
25
39
|
eventBus: WorkspaceEventBus;
|
|
40
|
+
/** Loader plugin for file import */
|
|
41
|
+
fileLoader?: LoaderPlugin;
|
|
26
42
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
27
43
|
close: () => any;
|
|
28
44
|
back: (keyboardEvent: KeyboardEvent) => any;
|
|
@@ -31,9 +47,21 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
31
47
|
workspaceStore: WorkspaceStore;
|
|
32
48
|
/** Event bus for emitting operation creation events */
|
|
33
49
|
eventBus: WorkspaceEventBus;
|
|
50
|
+
/** Loader plugin for file import */
|
|
51
|
+
fileLoader?: LoaderPlugin;
|
|
34
52
|
}> & Readonly<{
|
|
35
53
|
onClose?: (() => any) | undefined;
|
|
36
54
|
onBack?: ((keyboardEvent: KeyboardEvent) => any) | undefined;
|
|
37
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any
|
|
38
|
-
|
|
55
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
56
|
+
/** Slot for custom file upload component that can trigger import */
|
|
57
|
+
fileUpload(props: {
|
|
58
|
+
/** Function to trigger import with source content and type */
|
|
59
|
+
import: (source: string, type: "file" | "raw") => Promise<void>;
|
|
60
|
+
}): void;
|
|
61
|
+
}>;
|
|
62
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
63
|
+
new (): {
|
|
64
|
+
$slots: S;
|
|
65
|
+
};
|
|
66
|
+
};
|
|
39
67
|
//# sourceMappingURL=CommandPaletteImport.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CommandPaletteImport.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/command-palette/components/CommandPaletteImport.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CommandPaletteImport.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/command-palette/components/CommandPaletteImport.vue"],"names":[],"mappings":"AA0XA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAA;AAE7D,OAAO,EAEL,KAAK,cAAc,EACpB,MAAM,gCAAgC,CAAA;AACvC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAA;AAoBvE;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;wBACkB,OAAO,YAAY;AAAxC,wBAAyC;AAKzC,QAAA,MAAM,YAAY;IAEhB,+CAA+C;oBAC/B,cAAc;IAC9B,uDAAuD;cAC7C,iBAAiB;IAC3B,oCAAoC;iBACvB,YAAY;;;;;IALzB,+CAA+C;oBAC/B,cAAc;IAC9B,uDAAuD;cAC7C,iBAAiB;IAC3B,oCAAoC;iBACvB,YAAY;;;;;IAczB,oEAAoE;sBAClD;QAChB,8DAA8D;QAC9D,MAAM,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,KAAK,KAAK,OAAO,CAAC,IAAI,CAAC,CAAA;KAChE,GAAG,IAAI;EAwdN,CAAC;AACL,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -1,124 +1,128 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useLoadingState as
|
|
3
|
-
import { isLocalUrl as
|
|
4
|
-
import { useToasts as
|
|
5
|
-
import { createWorkspaceStore as
|
|
6
|
-
import { useRouter as
|
|
7
|
-
import { getOpenApiDocumentDetails as
|
|
8
|
-
import { getPostmanDocumentDetails as
|
|
9
|
-
import { importDocumentToWorkspace as
|
|
10
|
-
import { isPostmanCollection as
|
|
11
|
-
import { loadDocumentFromSource as
|
|
12
|
-
import { isUrl as
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import { useFileDialog as
|
|
17
|
-
const
|
|
1
|
+
import { defineComponent as O, ref as D, computed as f, watch as $, createBlock as b, openBlock as a, unref as s, withCtx as u, createElementBlock as c, Fragment as m, createElementVNode as h, createCommentVNode as j, createVNode as v, createTextVNode as i, toDisplayString as I, renderSlot as M } from "vue";
|
|
2
|
+
import { useLoadingState as _, ScalarButton as P, ScalarCodeBlock as z, ScalarIcon as J, ScalarTooltip as Y } from "@scalar/components";
|
|
3
|
+
import { isLocalUrl as q } from "@scalar/helpers/url/is-local-url";
|
|
4
|
+
import { useToasts as G } from "@scalar/use-toasts";
|
|
5
|
+
import { createWorkspaceStore as H } from "@scalar/workspace-store/client";
|
|
6
|
+
import { useRouter as K } from "vue-router";
|
|
7
|
+
import { getOpenApiDocumentDetails as Q } from "../helpers/get-openapi-document-details.js";
|
|
8
|
+
import { getPostmanDocumentDetails as X } from "../helpers/get-postman-document-details.js";
|
|
9
|
+
import { importDocumentToWorkspace as Z } from "../helpers/import-document-to-workspace.js";
|
|
10
|
+
import { isPostmanCollection as ee } from "../helpers/is-postman-collection.js";
|
|
11
|
+
import { loadDocumentFromSource as te } from "../helpers/load-document-from-source.js";
|
|
12
|
+
import { isUrl as oe } from "../../../helpers/is-url.js";
|
|
13
|
+
import ae from "./CommandActionForm.vue.js";
|
|
14
|
+
import le from "./CommandActionInput.vue.js";
|
|
15
|
+
import re from "./WatchModeToggle.vue.js";
|
|
16
|
+
import { useFileDialog as ne } from "../../../../hooks/useFileDialog.js";
|
|
17
|
+
const se = { class: "flex justify-between" }, ie = { class: "flex w-full flex-row items-center justify-between gap-3" }, ue = {
|
|
18
18
|
name: "CommandPaletteImport"
|
|
19
|
-
},
|
|
20
|
-
...
|
|
19
|
+
}, Ue = /* @__PURE__ */ O({
|
|
20
|
+
...ue,
|
|
21
21
|
props: {
|
|
22
22
|
workspaceStore: {},
|
|
23
|
-
eventBus: {}
|
|
23
|
+
eventBus: {},
|
|
24
|
+
fileLoader: {}
|
|
24
25
|
},
|
|
25
26
|
emits: ["close", "back"],
|
|
26
|
-
setup(
|
|
27
|
-
const
|
|
28
|
-
() =>
|
|
29
|
-
), l =
|
|
27
|
+
setup(y, { emit: V }) {
|
|
28
|
+
const w = V, { toast: T } = G(), A = K(), d = _(), o = D(""), k = D(!1), n = f(() => oe(o.value)), R = f(
|
|
29
|
+
() => n.value && q(o.value)
|
|
30
|
+
), l = f(() => ee(o.value) ? X(o.value) : Q(o.value)), L = f(
|
|
30
31
|
() => l.value ? l.value.type : "json"
|
|
31
|
-
),
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
), B = f(() => !o.value.trim());
|
|
33
|
+
$(R, (t) => {
|
|
34
|
+
k.value = t;
|
|
34
35
|
});
|
|
35
|
-
const
|
|
36
|
-
console.error(t),
|
|
37
|
-
},
|
|
38
|
-
|
|
39
|
-
const
|
|
36
|
+
const C = async (t) => {
|
|
37
|
+
console.error(t), T(t, "error"), await d.invalidate(), w("close");
|
|
38
|
+
}, x = async (t, e) => {
|
|
39
|
+
d.start();
|
|
40
|
+
const r = "drafts", p = H({
|
|
41
|
+
fileLoader: y.fileLoader,
|
|
40
42
|
meta: {
|
|
41
43
|
/** Ensure we use the active proxy to fetch documents */
|
|
42
|
-
"x-scalar-active-proxy":
|
|
44
|
+
"x-scalar-active-proxy": y.workspaceStore.workspace["x-scalar-active-proxy"]
|
|
43
45
|
}
|
|
44
|
-
});
|
|
45
|
-
if (!await
|
|
46
|
-
|
|
47
|
-
t,
|
|
48
|
-
|
|
49
|
-
|
|
46
|
+
}), g = e || (n.value ? "url" : "raw");
|
|
47
|
+
if (!await te(
|
|
48
|
+
p,
|
|
49
|
+
{ source: t, type: g },
|
|
50
|
+
r,
|
|
51
|
+
k.value
|
|
50
52
|
))
|
|
51
|
-
return
|
|
52
|
-
const
|
|
53
|
-
workspaceStore:
|
|
54
|
-
workspaceState:
|
|
55
|
-
name:
|
|
53
|
+
return C("Failed to import document");
|
|
54
|
+
const S = await Z({
|
|
55
|
+
workspaceStore: y.workspaceStore,
|
|
56
|
+
workspaceState: p.exportWorkspace(),
|
|
57
|
+
name: r
|
|
56
58
|
});
|
|
57
|
-
if (!
|
|
58
|
-
return
|
|
59
|
-
await
|
|
60
|
-
},
|
|
61
|
-
|
|
59
|
+
if (!S.ok)
|
|
60
|
+
return C(S.error);
|
|
61
|
+
await d.validate(), F(S.slug), w("close");
|
|
62
|
+
}, F = (t) => {
|
|
63
|
+
A.push({
|
|
62
64
|
name: "document.overview",
|
|
63
65
|
params: { documentSlug: t }
|
|
64
66
|
});
|
|
65
|
-
}, { open:
|
|
67
|
+
}, { open: N } = ne({
|
|
66
68
|
onChange: (t) => {
|
|
67
69
|
const [e] = t ?? [];
|
|
68
70
|
if (!e)
|
|
69
71
|
return;
|
|
70
|
-
|
|
71
|
-
const
|
|
72
|
-
const
|
|
73
|
-
await
|
|
74
|
-
},
|
|
75
|
-
|
|
72
|
+
d.start();
|
|
73
|
+
const r = async (g) => {
|
|
74
|
+
const U = g.target?.result;
|
|
75
|
+
await x(U, "raw");
|
|
76
|
+
}, p = new FileReader();
|
|
77
|
+
p.onload = r, p.readAsText(e);
|
|
76
78
|
},
|
|
77
79
|
multiple: !1,
|
|
78
80
|
accept: ".json,.yaml,.yml"
|
|
79
|
-
}),
|
|
81
|
+
}), W = (t) => {
|
|
80
82
|
if (t.trim().toLowerCase().startsWith("curl"))
|
|
81
|
-
return
|
|
83
|
+
return y.eventBus.emit("ui:open:command-palette", {
|
|
82
84
|
action: "import-curl-command",
|
|
83
85
|
payload: {
|
|
84
86
|
inputValue: t
|
|
85
87
|
}
|
|
86
88
|
});
|
|
87
89
|
o.value = t;
|
|
88
|
-
},
|
|
89
|
-
|
|
90
|
+
}, E = (t) => {
|
|
91
|
+
w("back", t);
|
|
90
92
|
};
|
|
91
|
-
return (t, e) => (a(),
|
|
92
|
-
disabled:
|
|
93
|
-
loader:
|
|
94
|
-
onSubmit: e[2] || (e[2] = (
|
|
93
|
+
return (t, e) => (a(), b(ae, {
|
|
94
|
+
disabled: B.value,
|
|
95
|
+
loader: s(d),
|
|
96
|
+
onSubmit: e[2] || (e[2] = (r) => x(o.value))
|
|
95
97
|
}, {
|
|
96
98
|
options: u(() => [
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
99
|
+
h("div", ie, [
|
|
100
|
+
M(t.$slots, "fileUpload", { import: x }, () => [
|
|
101
|
+
v(s(P), {
|
|
102
|
+
class: "hover:bg-b-2 relative max-h-8 gap-1.5 p-2 text-xs",
|
|
103
|
+
variant: "outlined",
|
|
104
|
+
onClick: s(N)
|
|
105
|
+
}, {
|
|
106
|
+
default: u(() => [
|
|
107
|
+
e[5] || (e[5] = i(" JSON, or YAML File ", -1)),
|
|
108
|
+
v(s(J), {
|
|
109
|
+
class: "text-c-3",
|
|
110
|
+
icon: "Upload",
|
|
111
|
+
size: "md"
|
|
112
|
+
})
|
|
113
|
+
]),
|
|
114
|
+
_: 1
|
|
115
|
+
}, 8, ["onClick"])
|
|
116
|
+
]),
|
|
117
|
+
v(s(Y), {
|
|
118
|
+
content: n.value ? "Watch mode automatically updates the API client when the OpenAPI URL content changes, ensuring your client remains up-to-date." : "Watch mode is only available for URL imports. When enabled it automatically updates the API client when the OpenAPI URL content changes.",
|
|
115
119
|
placement: "bottom"
|
|
116
120
|
}, {
|
|
117
121
|
default: u(() => [
|
|
118
|
-
|
|
119
|
-
modelValue:
|
|
120
|
-
"onUpdate:modelValue": e[1] || (e[1] = (
|
|
121
|
-
disabled: !
|
|
122
|
+
v(re, {
|
|
123
|
+
modelValue: k.value,
|
|
124
|
+
"onUpdate:modelValue": e[1] || (e[1] = (r) => k.value = r),
|
|
125
|
+
disabled: !n.value
|
|
122
126
|
}, null, 8, ["modelValue", "disabled"])
|
|
123
127
|
]),
|
|
124
128
|
_: 1
|
|
@@ -126,53 +130,53 @@ const ne = { class: "flex justify-between" }, re = { class: "flex w-full flex-ro
|
|
|
126
130
|
])
|
|
127
131
|
]),
|
|
128
132
|
submit: u(() => [
|
|
129
|
-
e[6] || (e[6] =
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
], 64)) : l.value &&
|
|
133
|
+
e[6] || (e[6] = i(" Import ", -1)),
|
|
134
|
+
n.value ? (a(), c(m, { key: 0 }, [
|
|
135
|
+
i("from URL")
|
|
136
|
+
], 64)) : l.value && L.value ? (a(), c(m, { key: 1 }, [
|
|
133
137
|
l.value.title ? (a(), c(m, { key: 0 }, [
|
|
134
|
-
|
|
138
|
+
i(' "' + I(l.value.title) + '" ', 1)
|
|
135
139
|
], 64)) : (a(), c(m, { key: 1 }, [
|
|
136
|
-
|
|
140
|
+
i(I(l.value.version), 1)
|
|
137
141
|
], 64))
|
|
138
142
|
], 64)) : (a(), c(m, { key: 2 }, [
|
|
139
|
-
|
|
143
|
+
i("Collection")
|
|
140
144
|
], 64))
|
|
141
145
|
]),
|
|
142
146
|
default: u(() => [
|
|
143
|
-
!l.value ||
|
|
147
|
+
!l.value || n.value ? (a(), b(le, {
|
|
144
148
|
key: 0,
|
|
145
149
|
modelValue: o.value,
|
|
146
150
|
placeholder: "OpenAPI/Swagger/Postman URL or cURL",
|
|
147
|
-
onDelete:
|
|
148
|
-
"onUpdate:modelValue":
|
|
151
|
+
onDelete: E,
|
|
152
|
+
"onUpdate:modelValue": W
|
|
149
153
|
}, null, 8, ["modelValue"])) : (a(), c(m, { key: 1 }, [
|
|
150
|
-
|
|
151
|
-
e[4] || (e[4] =
|
|
152
|
-
|
|
154
|
+
h("div", se, [
|
|
155
|
+
e[4] || (e[4] = h("div", { class: "text-c-2 min-h-8 w-full py-2 pl-12 text-center text-xs" }, " Preview ", -1)),
|
|
156
|
+
v(s(P), {
|
|
153
157
|
class: "hover:bg-b-2 relative ml-auto max-h-8 gap-1.5 p-2 text-xs",
|
|
154
158
|
variant: "ghost",
|
|
155
|
-
onClick: e[0] || (e[0] = (
|
|
159
|
+
onClick: e[0] || (e[0] = (r) => o.value = "")
|
|
156
160
|
}, {
|
|
157
161
|
default: u(() => [...e[3] || (e[3] = [
|
|
158
|
-
|
|
162
|
+
i(" Clear ", -1)
|
|
159
163
|
])]),
|
|
160
164
|
_: 1
|
|
161
165
|
})
|
|
162
166
|
]),
|
|
163
|
-
l.value && !
|
|
167
|
+
l.value && !n.value ? (a(), b(s(z), {
|
|
164
168
|
key: 0,
|
|
165
169
|
class: "bg-b-2 mt-1 max-h-[40dvh] rounded border px-2 py-1 text-sm",
|
|
166
170
|
content: o.value,
|
|
167
171
|
copy: !1,
|
|
168
|
-
lang:
|
|
169
|
-
}, null, 8, ["content", "lang"])) :
|
|
172
|
+
lang: L.value
|
|
173
|
+
}, null, 8, ["content", "lang"])) : j("", !0)
|
|
170
174
|
], 64))
|
|
171
175
|
]),
|
|
172
|
-
_:
|
|
176
|
+
_: 3
|
|
173
177
|
}, 8, ["disabled", "loader"]));
|
|
174
178
|
}
|
|
175
179
|
});
|
|
176
180
|
export {
|
|
177
|
-
|
|
181
|
+
Ue as default
|
|
178
182
|
};
|
|
@@ -18,7 +18,9 @@ import type { WorkspaceEventBus } from '@scalar/workspace-store/events';
|
|
|
18
18
|
* @back="handleBack"
|
|
19
19
|
* />
|
|
20
20
|
*/
|
|
21
|
-
declare const _default:
|
|
21
|
+
declare const _default: typeof __VLS_export;
|
|
22
|
+
export default _default;
|
|
23
|
+
declare const __VLS_export: import("vue").DefineComponent<{
|
|
22
24
|
/** The workspace store for accessing documents and operations */
|
|
23
25
|
workspaceStore: WorkspaceStore;
|
|
24
26
|
/** Event bus for emitting operation creation events */
|
|
@@ -39,5 +41,4 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
39
41
|
onClose?: (() => any) | undefined;
|
|
40
42
|
onBack?: ((keyboardEvent: KeyboardEvent) => any) | undefined;
|
|
41
43
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
42
|
-
export default _default;
|
|
43
44
|
//# sourceMappingURL=CommandPaletteImportCurl.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CommandPaletteImportCurl.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/command-palette/components/CommandPaletteImportCurl.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CommandPaletteImportCurl.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/command-palette/components/CommandPaletteImportCurl.vue"],"names":[],"mappings":"AAwOA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAA;AACpE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAA;AAUvE;;;;;;;;;;;;;;;;;GAiBG;wBACkB,OAAO,YAAY;AAAxC,wBAAyC;AAKzC,QAAA,MAAM,YAAY;IAEhB,iEAAiE;oBACjD,cAAc;IAC9B,uDAAuD;cAC7C,iBAAiB;IAC3B,kDAAkD;gBACtC,MAAM;;;;;IALlB,iEAAiE;oBACjD,cAAc;IAC9B,uDAAuD;cAC7C,iBAAiB;IAC3B,kDAAkD;gBACtC,MAAM;;;;kFA8ShB,CAAC"}
|
|
@@ -18,7 +18,9 @@ import type { WorkspaceEventBus } from '@scalar/workspace-store/events';
|
|
|
18
18
|
* @back="handleBack"
|
|
19
19
|
* />
|
|
20
20
|
*/
|
|
21
|
-
declare const _default:
|
|
21
|
+
declare const _default: typeof __VLS_export;
|
|
22
|
+
export default _default;
|
|
23
|
+
declare const __VLS_export: import("vue").DefineComponent<{
|
|
22
24
|
/** The workspace store for accessing documents and operations */
|
|
23
25
|
workspaceStore: WorkspaceStore;
|
|
24
26
|
/** Event bus for emitting operation creation events */
|
|
@@ -43,5 +45,4 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
43
45
|
onClose?: (() => any) | undefined;
|
|
44
46
|
onBack?: ((keyboardEvent: KeyboardEvent) => any) | undefined;
|
|
45
47
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
46
|
-
export default _default;
|
|
47
48
|
//# sourceMappingURL=CommandPaletteRequest.vue.d.ts.map
|