- Added aria-label and type attributes to the edit button in the sidebar. - Implemented a mechanism to prevent multiple edit triggers using requestAnimationFrame. - Updated mousedown event handling to allow real controls while preventing text selection in WKWebView. feat: add reconnectSession method to TabManager - Introduced reconnectSession method to facilitate session reconnections by ID. feat: implement disconnected overlay in terminal - Added setDisconnectedOverlay method to show/hide a disconnected overlay for terminal sessions. - Created _ensureDisconnectOverlay method to manage the overlay's existence and content. feat: extend Service API with file-related functions - Added FileExists and FileIsPrivateKey functions to check file existence and identify private keys. - Introduced ListSSHKeys function to retrieve SSH private key paths from the user's .ssh directory. - Implemented SFTPStat and SFTPUploadData functions for enhanced SFTP operations. refactor: clean up code formatting and improve readability - Adjusted code formatting for better readability across various files, including consistent use of line breaks and indentation.
352 lines
9.6 KiB
JavaScript
Executable File
352 lines
9.6 KiB
JavaScript
Executable File
// @ts-check
|
|
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
|
|
// This file is automatically generated. DO NOT EDIT
|
|
|
|
export function CancelReconnect(arg1) {
|
|
return window['go']['api']['Service']['CancelReconnect'](arg1);
|
|
}
|
|
|
|
export function CheckForUpdates() {
|
|
return window['go']['api']['Service']['CheckForUpdates']();
|
|
}
|
|
|
|
export function ClearSessionHistory(arg1) {
|
|
return window['go']['api']['Service']['ClearSessionHistory'](arg1);
|
|
}
|
|
|
|
export function CloseAllSessions() {
|
|
return window['go']['api']['Service']['CloseAllSessions']();
|
|
}
|
|
|
|
export function ConnectQuick(arg1) {
|
|
return window['go']['api']['Service']['ConnectQuick'](arg1);
|
|
}
|
|
|
|
export function ConnectSession(arg1) {
|
|
return window['go']['api']['Service']['ConnectSession'](arg1);
|
|
}
|
|
|
|
export function CreateProfile(arg1) {
|
|
return window['go']['api']['Service']['CreateProfile'](arg1);
|
|
}
|
|
|
|
export function CreateSnippet(arg1) {
|
|
return window['go']['api']['Service']['CreateSnippet'](arg1);
|
|
}
|
|
|
|
export function DeleteKnownHost(arg1) {
|
|
return window['go']['api']['Service']['DeleteKnownHost'](arg1);
|
|
}
|
|
|
|
export function DeleteProfile(arg1) {
|
|
return window['go']['api']['Service']['DeleteProfile'](arg1);
|
|
}
|
|
|
|
export function DeleteProfileSecrets(arg1) {
|
|
return window['go']['api']['Service']['DeleteProfileSecrets'](arg1);
|
|
}
|
|
|
|
export function DeleteRecording(arg1) {
|
|
return window['go']['api']['Service']['DeleteRecording'](arg1);
|
|
}
|
|
|
|
export function DeleteSnippet(arg1) {
|
|
return window['go']['api']['Service']['DeleteSnippet'](arg1);
|
|
}
|
|
|
|
export function DeleteTOTPSecret(arg1) {
|
|
return window['go']['api']['Service']['DeleteTOTPSecret'](arg1);
|
|
}
|
|
|
|
export function DisconnectSession(arg1) {
|
|
return window['go']['api']['Service']['DisconnectSession'](arg1);
|
|
}
|
|
|
|
export function DownloadGitHubRepoArchive(arg1, arg2, arg3) {
|
|
return window['go']['api']['Service']['DownloadGitHubRepoArchive'](arg1, arg2, arg3);
|
|
}
|
|
|
|
export function DuplicateProfile(arg1) {
|
|
return window['go']['api']['Service']['DuplicateProfile'](arg1);
|
|
}
|
|
|
|
export function ExportProfiles(arg1) {
|
|
return window['go']['api']['Service']['ExportProfiles'](arg1);
|
|
}
|
|
|
|
export function ExportProfilesEncrypted(arg1, arg2) {
|
|
return window['go']['api']['Service']['ExportProfilesEncrypted'](arg1, arg2);
|
|
}
|
|
|
|
export function FileExists(arg1) {
|
|
return window['go']['api']['Service']['FileExists'](arg1);
|
|
}
|
|
|
|
export function FileIsPrivateKey(arg1) {
|
|
return window['go']['api']['Service']['FileIsPrivateKey'](arg1);
|
|
}
|
|
|
|
export function GetAppInfo() {
|
|
return window['go']['api']['Service']['GetAppInfo']();
|
|
}
|
|
|
|
export function GetPreferences() {
|
|
return window['go']['api']['Service']['GetPreferences']();
|
|
}
|
|
|
|
export function GetProfile(arg1) {
|
|
return window['go']['api']['Service']['GetProfile'](arg1);
|
|
}
|
|
|
|
export function GetRecording(arg1) {
|
|
return window['go']['api']['Service']['GetRecording'](arg1);
|
|
}
|
|
|
|
export function GetSessionCwd(arg1) {
|
|
return window['go']['api']['Service']['GetSessionCwd'](arg1);
|
|
}
|
|
|
|
export function GetSessionHistory(arg1) {
|
|
return window['go']['api']['Service']['GetSessionHistory'](arg1);
|
|
}
|
|
|
|
export function GetTOTPCode(arg1) {
|
|
return window['go']['api']['Service']['GetTOTPCode'](arg1);
|
|
}
|
|
|
|
export function HasTOTPSecret(arg1) {
|
|
return window['go']['api']['Service']['HasTOTPSecret'](arg1);
|
|
}
|
|
|
|
export function ImportProfiles(arg1, arg2) {
|
|
return window['go']['api']['Service']['ImportProfiles'](arg1, arg2);
|
|
}
|
|
|
|
export function ImportProfilesEncrypted(arg1, arg2) {
|
|
return window['go']['api']['Service']['ImportProfilesEncrypted'](arg1, arg2);
|
|
}
|
|
|
|
export function ImportSSHConfig(arg1, arg2) {
|
|
return window['go']['api']['Service']['ImportSSHConfig'](arg1, arg2);
|
|
}
|
|
|
|
export function InitialiseSecretStore(arg1) {
|
|
return window['go']['api']['Service']['InitialiseSecretStore'](arg1);
|
|
}
|
|
|
|
export function IsRecording(arg1) {
|
|
return window['go']['api']['Service']['IsRecording'](arg1);
|
|
}
|
|
|
|
export function IsSecretStoreInitialised() {
|
|
return window['go']['api']['Service']['IsSecretStoreInitialised']();
|
|
}
|
|
|
|
export function IsSecretStoreUnlocked() {
|
|
return window['go']['api']['Service']['IsSecretStoreUnlocked']();
|
|
}
|
|
|
|
export function ListAuditEntries(arg1) {
|
|
return window['go']['api']['Service']['ListAuditEntries'](arg1);
|
|
}
|
|
|
|
export function ListFavourites() {
|
|
return window['go']['api']['Service']['ListFavourites']();
|
|
}
|
|
|
|
export function ListKnownHosts() {
|
|
return window['go']['api']['Service']['ListKnownHosts']();
|
|
}
|
|
|
|
export function ListPortForwards(arg1) {
|
|
return window['go']['api']['Service']['ListPortForwards'](arg1);
|
|
}
|
|
|
|
export function ListProfiles() {
|
|
return window['go']['api']['Service']['ListProfiles']();
|
|
}
|
|
|
|
export function ListProfilesByFolder(arg1) {
|
|
return window['go']['api']['Service']['ListProfilesByFolder'](arg1);
|
|
}
|
|
|
|
export function ListProfilesByProtocol(arg1) {
|
|
return window['go']['api']['Service']['ListProfilesByProtocol'](arg1);
|
|
}
|
|
|
|
export function ListProfilesByTag(arg1) {
|
|
return window['go']['api']['Service']['ListProfilesByTag'](arg1);
|
|
}
|
|
|
|
export function ListRecordings() {
|
|
return window['go']['api']['Service']['ListRecordings']();
|
|
}
|
|
|
|
export function ListSSHKeys() {
|
|
return window['go']['api']['Service']['ListSSHKeys']();
|
|
}
|
|
|
|
export function ListSessions() {
|
|
return window['go']['api']['Service']['ListSessions']();
|
|
}
|
|
|
|
export function ListSnippets() {
|
|
return window['go']['api']['Service']['ListSnippets']();
|
|
}
|
|
|
|
export function LockSecretStore() {
|
|
return window['go']['api']['Service']['LockSecretStore']();
|
|
}
|
|
|
|
export function NewProfile(arg1) {
|
|
return window['go']['api']['Service']['NewProfile'](arg1);
|
|
}
|
|
|
|
export function PinSession(arg1, arg2) {
|
|
return window['go']['api']['Service']['PinSession'](arg1, arg2);
|
|
}
|
|
|
|
export function ReconnectSession(arg1) {
|
|
return window['go']['api']['Service']['ReconnectSession'](arg1);
|
|
}
|
|
|
|
export function RefreshGitHubRepos(arg1) {
|
|
return window['go']['api']['Service']['RefreshGitHubRepos'](arg1);
|
|
}
|
|
|
|
export function RegisterSecretResponseListener() {
|
|
return window['go']['api']['Service']['RegisterSecretResponseListener']();
|
|
}
|
|
|
|
export function RenameSession(arg1, arg2) {
|
|
return window['go']['api']['Service']['RenameSession'](arg1, arg2);
|
|
}
|
|
|
|
export function ResizeSession(arg1, arg2, arg3) {
|
|
return window['go']['api']['Service']['ResizeSession'](arg1, arg2, arg3);
|
|
}
|
|
|
|
export function SFTPDownload(arg1, arg2) {
|
|
return window['go']['api']['Service']['SFTPDownload'](arg1, arg2);
|
|
}
|
|
|
|
export function SFTPList(arg1, arg2) {
|
|
return window['go']['api']['Service']['SFTPList'](arg1, arg2);
|
|
}
|
|
|
|
export function SFTPMkdir(arg1, arg2) {
|
|
return window['go']['api']['Service']['SFTPMkdir'](arg1, arg2);
|
|
}
|
|
|
|
export function SFTPPwd(arg1) {
|
|
return window['go']['api']['Service']['SFTPPwd'](arg1);
|
|
}
|
|
|
|
export function SFTPRemove(arg1, arg2) {
|
|
return window['go']['api']['Service']['SFTPRemove'](arg1, arg2);
|
|
}
|
|
|
|
export function SFTPRename(arg1, arg2, arg3) {
|
|
return window['go']['api']['Service']['SFTPRename'](arg1, arg2, arg3);
|
|
}
|
|
|
|
export function SFTPStat(arg1, arg2) {
|
|
return window['go']['api']['Service']['SFTPStat'](arg1, arg2);
|
|
}
|
|
|
|
export function SFTPUpload(arg1, arg2) {
|
|
return window['go']['api']['Service']['SFTPUpload'](arg1, arg2);
|
|
}
|
|
|
|
export function SFTPUploadData(arg1, arg2, arg3, arg4) {
|
|
return window['go']['api']['Service']['SFTPUploadData'](arg1, arg2, arg3, arg4);
|
|
}
|
|
|
|
export function SaveFile(arg1, arg2) {
|
|
return window['go']['api']['Service']['SaveFile'](arg1, arg2);
|
|
}
|
|
|
|
export function SavePreferences(arg1) {
|
|
return window['go']['api']['Service']['SavePreferences'](arg1);
|
|
}
|
|
|
|
export function SaveSessionCapture(arg1, arg2) {
|
|
return window['go']['api']['Service']['SaveSessionCapture'](arg1, arg2);
|
|
}
|
|
|
|
export function SearchProfiles(arg1) {
|
|
return window['go']['api']['Service']['SearchProfiles'](arg1);
|
|
}
|
|
|
|
export function SelectFile(arg1, arg2) {
|
|
return window['go']['api']['Service']['SelectFile'](arg1, arg2);
|
|
}
|
|
|
|
export function SendBreak(arg1) {
|
|
return window['go']['api']['Service']['SendBreak'](arg1);
|
|
}
|
|
|
|
export function SetContext(arg1) {
|
|
return window['go']['api']['Service']['SetContext'](arg1);
|
|
}
|
|
|
|
export function SetFavourite(arg1, arg2) {
|
|
return window['go']['api']['Service']['SetFavourite'](arg1, arg2);
|
|
}
|
|
|
|
export function SetProfileSecret(arg1, arg2, arg3) {
|
|
return window['go']['api']['Service']['SetProfileSecret'](arg1, arg2, arg3);
|
|
}
|
|
|
|
export function SetTOTPSecret(arg1, arg2) {
|
|
return window['go']['api']['Service']['SetTOTPSecret'](arg1, arg2);
|
|
}
|
|
|
|
export function StartPortForward(arg1, arg2) {
|
|
return window['go']['api']['Service']['StartPortForward'](arg1, arg2);
|
|
}
|
|
|
|
export function StartRecording(arg1, arg2, arg3) {
|
|
return window['go']['api']['Service']['StartRecording'](arg1, arg2, arg3);
|
|
}
|
|
|
|
export function StopPortForward(arg1, arg2) {
|
|
return window['go']['api']['Service']['StopPortForward'](arg1, arg2);
|
|
}
|
|
|
|
export function StopRecording(arg1) {
|
|
return window['go']['api']['Service']['StopRecording'](arg1);
|
|
}
|
|
|
|
export function TestConnection(arg1, arg2) {
|
|
return window['go']['api']['Service']['TestConnection'](arg1, arg2);
|
|
}
|
|
|
|
export function UnlockSecretStore(arg1) {
|
|
return window['go']['api']['Service']['UnlockSecretStore'](arg1);
|
|
}
|
|
|
|
export function UpdateProfile(arg1) {
|
|
return window['go']['api']['Service']['UpdateProfile'](arg1);
|
|
}
|
|
|
|
export function UpdateSnippet(arg1) {
|
|
return window['go']['api']['Service']['UpdateSnippet'](arg1);
|
|
}
|
|
|
|
export function WriteSession(arg1, arg2) {
|
|
return window['go']['api']['Service']['WriteSession'](arg1, arg2);
|
|
}
|
|
|
|
export function WriteSessionEscaped(arg1, arg2) {
|
|
return window['go']['api']['Service']['WriteSessionEscaped'](arg1, arg2);
|
|
}
|
|
|
|
export function WriteSessionHex(arg1, arg2) {
|
|
return window['go']['api']['Service']['WriteSessionHex'](arg1, arg2);
|
|
}
|
|
|
|
export function WriteSessionText(arg1, arg2) {
|
|
return window['go']['api']['Service']['WriteSessionText'](arg1, arg2);
|
|
}
|