terminus-cloud-settings-sync-plus 0.0.0-stage → 1.0.0

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.
Files changed (54) hide show
  1. package/LICENSE +21 -0
  2. package/NOTICE +7 -0
  3. package/README.en.md +41 -0
  4. package/README.md +40 -2
  5. package/dist/index.js +2 -0
  6. package/dist/index.js.LICENSE.txt +7439 -0
  7. package/dist/src/components/change-logs/change-logs.component.d.ts +244 -0
  8. package/dist/src/components/checkbox.component.d.ts +13 -0
  9. package/dist/src/components/cloud-sync-settings.component.d.ts +431 -0
  10. package/dist/src/components/feeback-form/feeback.component.d.ts +242 -0
  11. package/dist/src/components/master-password/master-password.component.d.ts +244 -0
  12. package/dist/src/components/sub-components/about/about.component.d.ts +20 -0
  13. package/dist/src/components/sub-components/amazon/amazon-settings.component.d.ts +459 -0
  14. package/dist/src/components/sub-components/built-in/builtin-settings.component.d.ts +444 -0
  15. package/dist/src/components/sub-components/check-for-updates/check-for-updates.component.d.ts +267 -0
  16. package/dist/src/components/sub-components/dropbox/dropbox-encryption-secret-modal.component.d.ts +252 -0
  17. package/dist/src/components/sub-components/dropbox/dropbox-settings.component.d.ts +488 -0
  18. package/dist/src/components/sub-components/ftp/ftp-settings.component.d.ts +460 -0
  19. package/dist/src/components/sub-components/gist/gist-settings.component.d.ts +461 -0
  20. package/dist/src/components/sub-components/webdav/webdav-settings.component.d.ts +454 -0
  21. package/dist/src/components/toggle.component.d.ts +4 -0
  22. package/dist/src/data/lang.d.ts +245 -0
  23. package/dist/src/data/s3-data.d.ts +15 -0
  24. package/dist/src/data/setting-items.d.ts +198 -0
  25. package/dist/src/index.d.ts +47 -0
  26. package/dist/src/interface/index.d.ts +65 -0
  27. package/dist/src/providers/cloud-sync-actions.d.ts +15 -0
  28. package/dist/src/providers/cloud-sync-command.provider.d.ts +16 -0
  29. package/dist/src/providers/cloud-sync-toolbar.provider.d.ts +7 -0
  30. package/dist/src/services/dev-constants.d.ts +4 -0
  31. package/dist/src/services/tabby-sync-upgrade.d.ts +10 -0
  32. package/dist/src/services/toast.d.ts +61 -0
  33. package/dist/src/settings.d.ts +7 -0
  34. package/dist/src/utils/CloudSyncSettingsHelper.d.ts +8 -0
  35. package/dist/src/utils/Logger.d.ts +29 -0
  36. package/dist/src/utils/cloud-components/AmazonS3.d.ts +38 -0
  37. package/dist/src/utils/cloud-components/Dropbox.d.ts +50 -0
  38. package/dist/src/utils/cloud-components/FTP.d.ts +46 -0
  39. package/dist/src/utils/cloud-components/WebDav.d.ts +34 -0
  40. package/dist/src/utils/cloud-components/gist.d.ts +86 -0
  41. package/dist/src/utils/cloud-components/gists/gists.d.ts +15 -0
  42. package/dist/src/utils/cloud-components/gists/gitee.d.ts +16 -0
  43. package/dist/src/utils/cloud-components/gists/github.d.ts +16 -0
  44. package/dist/src/utils/cloud-components/gists/gitlab.d.ts +44 -0
  45. package/dist/src/utils/cloud-components/sync-utils.d.ts +90 -0
  46. package/dist/src/utils/config-hash.d.ts +21 -0
  47. package/dist/src/utils/dev-mock-data.d.ts +6 -0
  48. package/dist/src/utils/settings-crypto.d.ts +53 -0
  49. package/dist/src/utils/settings-helper.d.ts +177 -0
  50. package/dist/src/utils/settings-secret.d.ts +16 -0
  51. package/dist/src/utils/sync-lock.d.ts +44 -0
  52. package/dist/src/utils/sync-payload.d.ts +38 -0
  53. package/dist/src/utils/sync-state.d.ts +55 -0
  54. package/package.json +98 -6
@@ -0,0 +1,444 @@
1
+ import { OnInit } from '@angular/core';
2
+ interface formData {
3
+ email: string;
4
+ password: string;
5
+ reset_password_email: string;
6
+ }
7
+ export declare class CloudSyncBuiltinSettingsComponent implements OnInit {
8
+ presetData: {
9
+ defaultSyncInterval: number;
10
+ syncSkewToleranceSeconds: number;
11
+ tabbySettingsFilename: string;
12
+ storedSettingsFilename: string;
13
+ syncStateFilename: string;
14
+ cloudSettingsFilename: string;
15
+ tabbyLocalEncryptedFile: string;
16
+ values: {
17
+ BUILT_IN: string;
18
+ S3: string;
19
+ WASABI: string;
20
+ DIGITAL_OCEAN: string;
21
+ BLACKBLAZE: string;
22
+ S3_COMPATIBLE: string;
23
+ WEBDAV: string;
24
+ FTP: string;
25
+ GIST: string;
26
+ DROPBOX: string;
27
+ };
28
+ amazonEndpoints: {
29
+ WASABI: string;
30
+ DIGITAL_OCEAN: string;
31
+ BLACKBLAZE: string;
32
+ S3_COMPATIBLE: string;
33
+ };
34
+ serviceProvidersList: {
35
+ name: string;
36
+ value: string;
37
+ }[];
38
+ BuiltinLoginMode: {
39
+ LOGIN: string;
40
+ RESET_PASSWORD: string;
41
+ };
42
+ availablePluginVersions: any[];
43
+ formData: {
44
+ [x: string]: {
45
+ email: string;
46
+ password: string;
47
+ reset_password_email: string;
48
+ appId?: undefined;
49
+ appSecret?: undefined;
50
+ location?: undefined;
51
+ bucket?: undefined;
52
+ region?: undefined;
53
+ endpointUrl?: undefined;
54
+ host?: undefined;
55
+ username?: undefined;
56
+ port?: undefined;
57
+ protocol?: undefined;
58
+ type?: undefined;
59
+ name?: undefined;
60
+ accessToken?: undefined;
61
+ id?: undefined;
62
+ apiKey?: undefined;
63
+ } | {
64
+ appId: string;
65
+ appSecret: string;
66
+ location: string;
67
+ bucket: string;
68
+ region: string;
69
+ email?: undefined;
70
+ password?: undefined;
71
+ reset_password_email?: undefined;
72
+ endpointUrl?: undefined;
73
+ host?: undefined;
74
+ username?: undefined;
75
+ port?: undefined;
76
+ protocol?: undefined;
77
+ type?: undefined;
78
+ name?: undefined;
79
+ accessToken?: undefined;
80
+ id?: undefined;
81
+ apiKey?: undefined;
82
+ } | {
83
+ endpointUrl: string;
84
+ appId: string;
85
+ appSecret: string;
86
+ location: string;
87
+ bucket: string;
88
+ region: string;
89
+ email?: undefined;
90
+ password?: undefined;
91
+ reset_password_email?: undefined;
92
+ host?: undefined;
93
+ username?: undefined;
94
+ port?: undefined;
95
+ protocol?: undefined;
96
+ type?: undefined;
97
+ name?: undefined;
98
+ accessToken?: undefined;
99
+ id?: undefined;
100
+ apiKey?: undefined;
101
+ } | {
102
+ host: string;
103
+ username: string;
104
+ password: string;
105
+ location: string;
106
+ port: string;
107
+ email?: undefined;
108
+ reset_password_email?: undefined;
109
+ appId?: undefined;
110
+ appSecret?: undefined;
111
+ bucket?: undefined;
112
+ region?: undefined;
113
+ endpointUrl?: undefined;
114
+ protocol?: undefined;
115
+ type?: undefined;
116
+ name?: undefined;
117
+ accessToken?: undefined;
118
+ id?: undefined;
119
+ apiKey?: undefined;
120
+ } | {
121
+ protocol: string;
122
+ host: string;
123
+ username: string;
124
+ password: string;
125
+ location: string;
126
+ port: number;
127
+ email?: undefined;
128
+ reset_password_email?: undefined;
129
+ appId?: undefined;
130
+ appSecret?: undefined;
131
+ bucket?: undefined;
132
+ region?: undefined;
133
+ endpointUrl?: undefined;
134
+ type?: undefined;
135
+ name?: undefined;
136
+ accessToken?: undefined;
137
+ id?: undefined;
138
+ apiKey?: undefined;
139
+ } | {
140
+ type: string;
141
+ name: string;
142
+ accessToken: string;
143
+ id: string;
144
+ email?: undefined;
145
+ password?: undefined;
146
+ reset_password_email?: undefined;
147
+ appId?: undefined;
148
+ appSecret?: undefined;
149
+ location?: undefined;
150
+ bucket?: undefined;
151
+ region?: undefined;
152
+ endpointUrl?: undefined;
153
+ host?: undefined;
154
+ username?: undefined;
155
+ port?: undefined;
156
+ protocol?: undefined;
157
+ apiKey?: undefined;
158
+ } | {
159
+ apiKey: string;
160
+ email?: undefined;
161
+ password?: undefined;
162
+ reset_password_email?: undefined;
163
+ appId?: undefined;
164
+ appSecret?: undefined;
165
+ location?: undefined;
166
+ bucket?: undefined;
167
+ region?: undefined;
168
+ endpointUrl?: undefined;
169
+ host?: undefined;
170
+ username?: undefined;
171
+ port?: undefined;
172
+ protocol?: undefined;
173
+ type?: undefined;
174
+ name?: undefined;
175
+ accessToken?: undefined;
176
+ id?: undefined;
177
+ };
178
+ };
179
+ external_urls: {
180
+ ApiUrl: string;
181
+ BlackBlazeHelp: string;
182
+ checkForUpdateUrl: string;
183
+ githubIssuesUrl: string;
184
+ };
185
+ isCloudStorageS3Compatibility(provider: string): boolean;
186
+ gistUrls: {
187
+ viewItems: {
188
+ github: string;
189
+ gitee: string;
190
+ gitlab: string;
191
+ };
192
+ github: string;
193
+ gitee: string;
194
+ gitlab: string;
195
+ };
196
+ donationUrl: string;
197
+ pluginUrl: string;
198
+ };
199
+ translate: {
200
+ lang: {
201
+ common: {
202
+ menu_title: string;
203
+ verifyConfigString: string;
204
+ config_inject_header: string;
205
+ errors: {
206
+ invalidServerConfig: string;
207
+ };
208
+ };
209
+ form: {
210
+ error: {
211
+ required_all: string;
212
+ };
213
+ };
214
+ tabs: {
215
+ general: string;
216
+ security: string;
217
+ feedback: string;
218
+ change_logs: string;
219
+ check_for_update: string;
220
+ };
221
+ alerts: {
222
+ debug_build: string;
223
+ update_available: string;
224
+ };
225
+ settings: {
226
+ title: string;
227
+ sub_title: string;
228
+ service_label: string;
229
+ service_hint: string;
230
+ sync_enabled_label: string;
231
+ sync_enabled_hint: string;
232
+ show_loader_label: string;
233
+ show_loader_hint: string;
234
+ interval_label: string;
235
+ interval_hint: string;
236
+ encryption_title: string;
237
+ encryption_hint: string;
238
+ encryption_secret_label: string;
239
+ encryption_secret_hint: string;
240
+ encryption_secret_placeholder: string;
241
+ encryption_confirm_label: string;
242
+ encryption_confirm_hint: string;
243
+ encryption_confirm_placeholder: string;
244
+ encryption_show_secret: string;
245
+ encryption_hide_secret: string;
246
+ encryption_show_confirmation: string;
247
+ encryption_hide_confirmation: string;
248
+ encryption_set: string;
249
+ encryption_configured: string;
250
+ encryption_configured_hint: string;
251
+ encryption_legacy_title: string;
252
+ encryption_legacy_warning: string;
253
+ encryption_recovery_warning: string;
254
+ encryption_mismatch: string;
255
+ encryption_saved: string;
256
+ encryption_failed: string;
257
+ encryption_already_configured: string;
258
+ amazon: {
259
+ connected: string;
260
+ save_settings_failed: string;
261
+ save_settings_success: string;
262
+ };
263
+ error_connection_timeout: string;
264
+ };
265
+ sync: {
266
+ loading_config: string;
267
+ sync_confirmation: string;
268
+ setting_valid: string;
269
+ error_setting_save_file: string;
270
+ error_connection: string;
271
+ error_invalid_setting: string;
272
+ error_invalid_setting_2: string;
273
+ error_save_setting: string;
274
+ need_to_save_config: string;
275
+ sync_success: string;
276
+ sync_error: string;
277
+ sync_server_failed: string;
278
+ sync_enabled: string;
279
+ sync_disabled: string;
280
+ loader_enabled: string;
281
+ loader_disabled: string;
282
+ confirm_remove_setting: string;
283
+ remove_setting_success: string;
284
+ remove_setting_error: string;
285
+ remove_secret_error: string;
286
+ setting_changes_saved: string;
287
+ confirm_push_local: string;
288
+ };
289
+ log: {
290
+ invalid_cloud_settings: string;
291
+ read_cloud_settings: string;
292
+ error_upload_settings: string;
293
+ error_test_connection: string;
294
+ };
295
+ s3: {
296
+ title: string;
297
+ title_blackblaze: string;
298
+ app_id_placeholder: string;
299
+ app_secret_placeholder: string;
300
+ blackblaze_key_placeholder: string;
301
+ blackblaze_app_key_placeholder: string;
302
+ bucket_placeholder: string;
303
+ region_placeholder: string;
304
+ blackblaze_region_placeholder: string;
305
+ endpoint_placeholder: string;
306
+ location_placeholder: string;
307
+ blackblaze_region_help: string;
308
+ };
309
+ ftp: {
310
+ title: string;
311
+ host_placeholder: string;
312
+ location_placeholder: string;
313
+ username_placeholder: string;
314
+ password_placeholder: string;
315
+ port_placeholder: string;
316
+ };
317
+ webdav: {
318
+ title: string;
319
+ host_placeholder: string;
320
+ username_placeholder: string;
321
+ password_placeholder: string;
322
+ port_placeholder: string;
323
+ location_placeholder: string;
324
+ };
325
+ gist: {
326
+ title: string;
327
+ name: string;
328
+ id: string;
329
+ token: string;
330
+ invalid_provider: string;
331
+ enter_id: string;
332
+ error_create_gist: string;
333
+ help_github: string;
334
+ help_gitee: string;
335
+ };
336
+ dropbox: {
337
+ title: string;
338
+ title_connecting: string;
339
+ callback_waiting: string;
340
+ callback_listener_unavailable: string;
341
+ callback_title: string;
342
+ callback_hint: string;
343
+ callback_invalid: string;
344
+ callback_timeout: string;
345
+ use_manual_callback: string;
346
+ obtain_token: string;
347
+ obtaining_token: string;
348
+ paste_from_clipboard: string;
349
+ connected: string;
350
+ last_sync_error: string;
351
+ disconnect_account: string;
352
+ confirm_disconnect: string;
353
+ encryption_secret_title: string;
354
+ encryption_secret_required: string;
355
+ encryption_secret_label: string;
356
+ encryption_secret_placeholder: string;
357
+ encryption_secret_invalid: string;
358
+ encryption_secret_saved: string;
359
+ encryption_unlock: string;
360
+ encryption_unlocking: string;
361
+ missing_app_credentials: string;
362
+ missing_callback_url: string;
363
+ connect_success: string;
364
+ clipboard_success: string;
365
+ clipboard_error: string;
366
+ };
367
+ builtin: {
368
+ login_title: string;
369
+ reset_title: string;
370
+ email_placeholder: string;
371
+ password_placeholder: string;
372
+ reset_notice: string;
373
+ };
374
+ vault: {
375
+ title: string;
376
+ description: string;
377
+ };
378
+ feedback: {
379
+ title: string;
380
+ description: string;
381
+ description_2: string;
382
+ open_issue_hint: string;
383
+ };
384
+ changelogs: {
385
+ title: string;
386
+ description: string;
387
+ column_version: string;
388
+ column_date: string;
389
+ column_description: string;
390
+ };
391
+ updates: {
392
+ title: string;
393
+ current_version: string;
394
+ check_hint: string;
395
+ latest_version: string;
396
+ whats_new: string;
397
+ up_to_date: string;
398
+ check_failed: string;
399
+ upgrade_success: string;
400
+ rollback_title: string;
401
+ rollback_warning_backup: string;
402
+ rollback_warning_risk: string;
403
+ confirm_rollback: string;
404
+ column_version: string;
405
+ column_action: string;
406
+ };
407
+ buttons: {
408
+ sync_from_cloud: string;
409
+ sync_from_local: string;
410
+ check_update: string;
411
+ yes: string;
412
+ cancel: string;
413
+ no: string;
414
+ ok: string;
415
+ view: string;
416
+ connect: string;
417
+ disconnect: string;
418
+ open_github_issue: string;
419
+ rollback: string;
420
+ update_to: string;
421
+ visit_plugin_page: string;
422
+ login: string;
423
+ reset_password: string;
424
+ send_reset_link: string;
425
+ test_connection: string;
426
+ processing: string;
427
+ save_settings: string;
428
+ upload_settings: string;
429
+ cloud_syncing_progress: string;
430
+ remove_saved_setting: string;
431
+ };
432
+ };
433
+ trans: (key: string, replacements?: Record<string, string | number>) => string;
434
+ };
435
+ builtinLoginMode: string;
436
+ isCheckLoginSuccess: boolean;
437
+ isFormProcessing: boolean;
438
+ form: formData;
439
+ ngOnInit(): void;
440
+ switchBetweenBuiltinLoginScreens(screenAlias: string): void;
441
+ performLoginWithEmailPassword(): void;
442
+ cancelSaveSettings(): void;
443
+ }
444
+ export {};
@@ -0,0 +1,267 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { ConfigService, PlatformService } from 'terminus-core';
3
+ import { TabbySyncUpgradeService } from '../../../services/tabby-sync-upgrade';
4
+ export declare class CheckForUpdatesComponent implements OnInit {
5
+ private platform;
6
+ private config;
7
+ pluginManager: TabbySyncUpgradeService;
8
+ logger: any;
9
+ translate: {
10
+ lang: {
11
+ common: {
12
+ menu_title: string;
13
+ verifyConfigString: string;
14
+ config_inject_header: string;
15
+ errors: {
16
+ invalidServerConfig: string;
17
+ };
18
+ };
19
+ form: {
20
+ error: {
21
+ required_all: string;
22
+ };
23
+ };
24
+ tabs: {
25
+ general: string;
26
+ security: string;
27
+ feedback: string;
28
+ change_logs: string;
29
+ check_for_update: string;
30
+ };
31
+ alerts: {
32
+ debug_build: string;
33
+ update_available: string;
34
+ };
35
+ settings: {
36
+ title: string;
37
+ sub_title: string;
38
+ service_label: string;
39
+ service_hint: string;
40
+ sync_enabled_label: string;
41
+ sync_enabled_hint: string;
42
+ show_loader_label: string;
43
+ show_loader_hint: string;
44
+ interval_label: string;
45
+ interval_hint: string;
46
+ encryption_title: string;
47
+ encryption_hint: string;
48
+ encryption_secret_label: string;
49
+ encryption_secret_hint: string;
50
+ encryption_secret_placeholder: string;
51
+ encryption_confirm_label: string;
52
+ encryption_confirm_hint: string;
53
+ encryption_confirm_placeholder: string;
54
+ encryption_show_secret: string;
55
+ encryption_hide_secret: string;
56
+ encryption_show_confirmation: string;
57
+ encryption_hide_confirmation: string;
58
+ encryption_set: string;
59
+ encryption_configured: string;
60
+ encryption_configured_hint: string;
61
+ encryption_legacy_title: string;
62
+ encryption_legacy_warning: string;
63
+ encryption_recovery_warning: string;
64
+ encryption_mismatch: string;
65
+ encryption_saved: string;
66
+ encryption_failed: string;
67
+ encryption_already_configured: string;
68
+ amazon: {
69
+ connected: string;
70
+ save_settings_failed: string;
71
+ save_settings_success: string;
72
+ };
73
+ error_connection_timeout: string;
74
+ };
75
+ sync: {
76
+ loading_config: string;
77
+ sync_confirmation: string;
78
+ setting_valid: string;
79
+ error_setting_save_file: string;
80
+ error_connection: string;
81
+ error_invalid_setting: string;
82
+ error_invalid_setting_2: string;
83
+ error_save_setting: string;
84
+ need_to_save_config: string;
85
+ sync_success: string;
86
+ sync_error: string;
87
+ sync_server_failed: string;
88
+ sync_enabled: string;
89
+ sync_disabled: string;
90
+ loader_enabled: string;
91
+ loader_disabled: string;
92
+ confirm_remove_setting: string;
93
+ remove_setting_success: string;
94
+ remove_setting_error: string;
95
+ remove_secret_error: string;
96
+ setting_changes_saved: string;
97
+ confirm_push_local: string;
98
+ };
99
+ log: {
100
+ invalid_cloud_settings: string;
101
+ read_cloud_settings: string;
102
+ error_upload_settings: string;
103
+ error_test_connection: string;
104
+ };
105
+ s3: {
106
+ title: string;
107
+ title_blackblaze: string;
108
+ app_id_placeholder: string;
109
+ app_secret_placeholder: string;
110
+ blackblaze_key_placeholder: string;
111
+ blackblaze_app_key_placeholder: string;
112
+ bucket_placeholder: string;
113
+ region_placeholder: string;
114
+ blackblaze_region_placeholder: string;
115
+ endpoint_placeholder: string;
116
+ location_placeholder: string;
117
+ blackblaze_region_help: string;
118
+ };
119
+ ftp: {
120
+ title: string;
121
+ host_placeholder: string;
122
+ location_placeholder: string;
123
+ username_placeholder: string;
124
+ password_placeholder: string;
125
+ port_placeholder: string;
126
+ };
127
+ webdav: {
128
+ title: string;
129
+ host_placeholder: string;
130
+ username_placeholder: string;
131
+ password_placeholder: string;
132
+ port_placeholder: string;
133
+ location_placeholder: string;
134
+ };
135
+ gist: {
136
+ title: string;
137
+ name: string;
138
+ id: string;
139
+ token: string;
140
+ invalid_provider: string;
141
+ enter_id: string;
142
+ error_create_gist: string;
143
+ help_github: string;
144
+ help_gitee: string;
145
+ };
146
+ dropbox: {
147
+ title: string;
148
+ title_connecting: string;
149
+ callback_waiting: string;
150
+ callback_listener_unavailable: string;
151
+ callback_title: string;
152
+ callback_hint: string;
153
+ callback_invalid: string;
154
+ callback_timeout: string;
155
+ use_manual_callback: string;
156
+ obtain_token: string;
157
+ obtaining_token: string;
158
+ paste_from_clipboard: string;
159
+ connected: string;
160
+ last_sync_error: string;
161
+ disconnect_account: string;
162
+ confirm_disconnect: string;
163
+ encryption_secret_title: string;
164
+ encryption_secret_required: string;
165
+ encryption_secret_label: string;
166
+ encryption_secret_placeholder: string;
167
+ encryption_secret_invalid: string;
168
+ encryption_secret_saved: string;
169
+ encryption_unlock: string;
170
+ encryption_unlocking: string;
171
+ missing_app_credentials: string;
172
+ missing_callback_url: string;
173
+ connect_success: string;
174
+ clipboard_success: string;
175
+ clipboard_error: string;
176
+ };
177
+ builtin: {
178
+ login_title: string;
179
+ reset_title: string;
180
+ email_placeholder: string;
181
+ password_placeholder: string;
182
+ reset_notice: string;
183
+ };
184
+ vault: {
185
+ title: string;
186
+ description: string;
187
+ };
188
+ feedback: {
189
+ title: string;
190
+ description: string;
191
+ description_2: string;
192
+ open_issue_hint: string;
193
+ };
194
+ changelogs: {
195
+ title: string;
196
+ description: string;
197
+ column_version: string;
198
+ column_date: string;
199
+ column_description: string;
200
+ };
201
+ updates: {
202
+ title: string;
203
+ current_version: string;
204
+ check_hint: string;
205
+ latest_version: string;
206
+ whats_new: string;
207
+ up_to_date: string;
208
+ check_failed: string;
209
+ upgrade_success: string;
210
+ rollback_title: string;
211
+ rollback_warning_backup: string;
212
+ rollback_warning_risk: string;
213
+ confirm_rollback: string;
214
+ column_version: string;
215
+ column_action: string;
216
+ };
217
+ buttons: {
218
+ sync_from_cloud: string;
219
+ sync_from_local: string;
220
+ check_update: string;
221
+ yes: string;
222
+ cancel: string;
223
+ no: string;
224
+ ok: string;
225
+ view: string;
226
+ connect: string;
227
+ disconnect: string;
228
+ open_github_issue: string;
229
+ rollback: string;
230
+ update_to: string;
231
+ visit_plugin_page: string;
232
+ login: string;
233
+ reset_password: string;
234
+ send_reset_link: string;
235
+ test_connection: string;
236
+ processing: string;
237
+ save_settings: string;
238
+ upload_settings: string;
239
+ cloud_syncing_progress: string;
240
+ remove_saved_setting: string;
241
+ };
242
+ };
243
+ trans: (key: string, replacements?: Record<string, string | number>) => string;
244
+ };
245
+ version: string;
246
+ currentVersionMessage: string;
247
+ latestVersionMessage: string;
248
+ updateButtonLabel: string;
249
+ availableRollbackBuilds: any[];
250
+ errorCheckForUpdates: boolean;
251
+ isSuccessPluginUpgrade: boolean;
252
+ isUpdatingPlugin: boolean;
253
+ targetRollbackVersion: string;
254
+ isUpdateAvailable: boolean;
255
+ newVersionData: any;
256
+ isProcessingRequest: boolean;
257
+ constructor(platform: PlatformService, config: ConfigService, pluginManager: TabbySyncUpgradeService);
258
+ ngOnInit(): void;
259
+ checkForPluginVersion(): Promise<void>;
260
+ /**
261
+ * Install the given plugin version (or the latest available one) and
262
+ * request an app restart. Note that `requestRestart` typically tears down
263
+ * the app, so any state set after it may not be observed.
264
+ */
265
+ upgradePlugin(targetVersion?: any): Promise<void>;
266
+ confirmRollbackToVersion(rollbackVersion: string): Promise<void>;
267
+ }