2018-04-10 01:05:36 +02:00
|
|
|
import { Component } from '@angular/core';
|
2018-04-13 19:18:43 +02:00
|
|
|
import { Router } from '@angular/router';
|
2018-04-10 01:05:36 +02:00
|
|
|
|
2021-06-07 19:25:37 +02:00
|
|
|
import { CryptoService } from 'jslib-common/abstractions/crypto.service';
|
|
|
|
import { EventService } from 'jslib-common/abstractions/event.service';
|
|
|
|
import { ExportService } from 'jslib-common/abstractions/export.service';
|
|
|
|
import { I18nService } from 'jslib-common/abstractions/i18n.service';
|
2021-10-21 11:10:46 +02:00
|
|
|
import { LogService } from 'jslib-common/abstractions/log.service';
|
2021-06-07 19:25:37 +02:00
|
|
|
import { PlatformUtilsService } from 'jslib-common/abstractions/platformUtils.service';
|
2021-09-15 21:06:13 +02:00
|
|
|
import { PolicyService } from 'jslib-common/abstractions/policy.service';
|
2018-04-10 01:05:36 +02:00
|
|
|
|
2021-06-07 19:25:37 +02:00
|
|
|
import { ExportComponent as BaseExportComponent } from 'jslib-angular/components/export.component';
|
2018-04-10 01:05:36 +02:00
|
|
|
|
|
|
|
@Component({
|
|
|
|
selector: 'app-export',
|
|
|
|
templateUrl: 'export.component.html',
|
|
|
|
})
|
|
|
|
export class ExportComponent extends BaseExportComponent {
|
2018-10-03 06:21:22 +02:00
|
|
|
constructor(cryptoService: CryptoService, i18nService: I18nService,
|
2018-08-14 21:12:38 +02:00
|
|
|
platformUtilsService: PlatformUtilsService, exportService: ExportService,
|
2021-10-21 11:10:46 +02:00
|
|
|
eventService: EventService, policyService: PolicyService, private router: Router,
|
|
|
|
logService: LogService) {
|
|
|
|
super(cryptoService, i18nService, platformUtilsService, exportService, eventService, policyService, window,
|
|
|
|
logService);
|
2018-04-10 01:05:36 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
protected saved() {
|
|
|
|
super.saved();
|
2018-04-13 19:18:43 +02:00
|
|
|
this.router.navigate(['/tabs/settings']);
|
2018-04-10 01:05:36 +02:00
|
|
|
}
|
|
|
|
}
|