tabby-sftp-ui 0.2.3 → 0.2.5
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/README.md +29 -7
- package/dist/index.js +549 -413
- package/dist/index.js.map +1 -1
- package/dist/sftp-manager-tab.component.d.ts +3 -1
- package/dist/sftp-recovery-provider.d.ts +8 -0
- package/package.json +44 -44
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Injector, OnInit } from '@angular/core';
|
|
2
2
|
import { AppService, BaseTabComponent, FileTransfer, ProfilesService } from 'tabby-core';
|
|
3
|
+
import type { RecoveryToken } from 'tabby-core';
|
|
3
4
|
import { SftpConnectionService, SFTPFile, SSHSessionLike } from './sftp.service';
|
|
4
5
|
type LocalEntry = {
|
|
5
6
|
name: string;
|
|
@@ -14,6 +15,7 @@ export declare class SftpManagerTabComponent extends BaseTabComponent implements
|
|
|
14
15
|
private app;
|
|
15
16
|
sshSession: SSHSessionLike | null;
|
|
16
17
|
profile: any;
|
|
18
|
+
recoveredStub: boolean;
|
|
17
19
|
connecting: boolean;
|
|
18
20
|
connected: boolean;
|
|
19
21
|
host: string;
|
|
@@ -194,7 +196,7 @@ export declare class SftpManagerTabComponent extends BaseTabComponent implements
|
|
|
194
196
|
getTransferProgress(transfer: FileTransfer): number;
|
|
195
197
|
onKeyDown(event: KeyboardEvent): void;
|
|
196
198
|
destroy(): void;
|
|
197
|
-
getRecoveryToken(_options?: any): Promise<
|
|
199
|
+
getRecoveryToken(_options?: any): Promise<RecoveryToken>;
|
|
198
200
|
confirmDelete(): Promise<void>;
|
|
199
201
|
cancelDelete(): void;
|
|
200
202
|
private showReplaceConfirm;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { NewTabParameters, RecoveryToken, TabRecoveryProvider } from 'tabby-core';
|
|
2
|
+
import { SftpManagerTabComponent } from './sftp-manager-tab.component';
|
|
3
|
+
declare const SFTP_RECOVERY_TYPE = "tabby-sftp-ui:sftp-tab";
|
|
4
|
+
export declare class SftpTabRecoveryProvider extends TabRecoveryProvider<SftpManagerTabComponent> {
|
|
5
|
+
applicableTo(recoveryToken: RecoveryToken): Promise<boolean>;
|
|
6
|
+
recover(_recoveryToken: RecoveryToken): Promise<NewTabParameters<SftpManagerTabComponent>>;
|
|
7
|
+
}
|
|
8
|
+
export { SFTP_RECOVERY_TYPE };
|
package/package.json
CHANGED
|
@@ -1,44 +1,44 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "tabby-sftp-ui",
|
|
3
|
-
"version": "0.2.
|
|
4
|
-
"description": "SFTP UI for Tabby (Termius-like file manager).",
|
|
5
|
-
"keywords": [
|
|
6
|
-
"tabby-plugin"
|
|
7
|
-
],
|
|
8
|
-
"main": "dist/index.js",
|
|
9
|
-
"typings": "dist/index.d.ts",
|
|
10
|
-
"scripts": {
|
|
11
|
-
"build": "webpack --progress --color",
|
|
12
|
-
"watch": "webpack --progress --color --watch",
|
|
13
|
-
"prepublishOnly": "npm run build"
|
|
14
|
-
},
|
|
15
|
-
"files": [
|
|
16
|
-
"dist"
|
|
17
|
-
],
|
|
18
|
-
"author": "gr0w1ng",
|
|
19
|
-
"license": "MIT",
|
|
20
|
-
"dependencies": {},
|
|
21
|
-
"devDependencies": {
|
|
22
|
-
"@angular/animations": "^9.1.13",
|
|
23
|
-
"@angular/common": "^9.1.13",
|
|
24
|
-
"@angular/core": "^9.1.13",
|
|
25
|
-
"@angular/forms": "^9.1.13",
|
|
26
|
-
"@angular/platform-browser": "^9.1.13",
|
|
27
|
-
"@angular/platform-browser-dynamic": "^9.1.13",
|
|
28
|
-
"@types/node": "^22.13.10",
|
|
29
|
-
"@types/webpack-env": "^1.18.8",
|
|
30
|
-
"apply-loader": "^2.0.0",
|
|
31
|
-
"css-loader": "^7.1.2",
|
|
32
|
-
"rxjs": "^6.6.7",
|
|
33
|
-
"sass": "^1.86.0",
|
|
34
|
-
"sass-loader": "^16.0.5",
|
|
35
|
-
"style-loader": "^4.0.0",
|
|
36
|
-
"tabby-core": "^1.0.163",
|
|
37
|
-
"tabby-settings": "^1.0.163",
|
|
38
|
-
"tabby-terminal": "^1.0.163",
|
|
39
|
-
"ts-loader": "^9.5.2",
|
|
40
|
-
"typescript": "^5.8.2",
|
|
41
|
-
"webpack": "^5.98.0",
|
|
42
|
-
"webpack-cli": "^6.0.1"
|
|
43
|
-
}
|
|
44
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "tabby-sftp-ui",
|
|
3
|
+
"version": "0.2.5",
|
|
4
|
+
"description": "SFTP UI for Tabby (Termius-like file manager).",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"tabby-plugin"
|
|
7
|
+
],
|
|
8
|
+
"main": "dist/index.js",
|
|
9
|
+
"typings": "dist/index.d.ts",
|
|
10
|
+
"scripts": {
|
|
11
|
+
"build": "webpack --progress --color",
|
|
12
|
+
"watch": "webpack --progress --color --watch",
|
|
13
|
+
"prepublishOnly": "npm run build"
|
|
14
|
+
},
|
|
15
|
+
"files": [
|
|
16
|
+
"dist"
|
|
17
|
+
],
|
|
18
|
+
"author": "gr0w1ng",
|
|
19
|
+
"license": "MIT",
|
|
20
|
+
"dependencies": {},
|
|
21
|
+
"devDependencies": {
|
|
22
|
+
"@angular/animations": "^9.1.13",
|
|
23
|
+
"@angular/common": "^9.1.13",
|
|
24
|
+
"@angular/core": "^9.1.13",
|
|
25
|
+
"@angular/forms": "^9.1.13",
|
|
26
|
+
"@angular/platform-browser": "^9.1.13",
|
|
27
|
+
"@angular/platform-browser-dynamic": "^9.1.13",
|
|
28
|
+
"@types/node": "^22.13.10",
|
|
29
|
+
"@types/webpack-env": "^1.18.8",
|
|
30
|
+
"apply-loader": "^2.0.0",
|
|
31
|
+
"css-loader": "^7.1.2",
|
|
32
|
+
"rxjs": "^6.6.7",
|
|
33
|
+
"sass": "^1.86.0",
|
|
34
|
+
"sass-loader": "^16.0.5",
|
|
35
|
+
"style-loader": "^4.0.0",
|
|
36
|
+
"tabby-core": "^1.0.163",
|
|
37
|
+
"tabby-settings": "^1.0.163",
|
|
38
|
+
"tabby-terminal": "^1.0.163",
|
|
39
|
+
"ts-loader": "^9.5.2",
|
|
40
|
+
"typescript": "^5.8.2",
|
|
41
|
+
"webpack": "^5.98.0",
|
|
42
|
+
"webpack-cli": "^6.0.1"
|
|
43
|
+
}
|
|
44
|
+
}
|