export vault event
This commit is contained in:
parent
3a2f04006f
commit
b0b9d8445e
2
jslib
2
jslib
|
@ -1 +1 @@
|
||||||
Subproject commit 803dec26e7dbc1a31906349e7b2c9ddd67ef6c8a
|
Subproject commit 84aab0cb24b8418c625c28c79e8c190861531c5f
|
|
@ -2,11 +2,13 @@ import { Component } from '@angular/core';
|
||||||
import { ActivatedRoute } from '@angular/router';
|
import { ActivatedRoute } from '@angular/router';
|
||||||
|
|
||||||
import { CryptoService } from 'jslib/abstractions/crypto.service';
|
import { CryptoService } from 'jslib/abstractions/crypto.service';
|
||||||
|
import { EventService } from 'jslib/abstractions/event.service';
|
||||||
import { ExportService } from 'jslib/abstractions/export.service';
|
import { ExportService } from 'jslib/abstractions/export.service';
|
||||||
import { I18nService } from 'jslib/abstractions/i18n.service';
|
import { I18nService } from 'jslib/abstractions/i18n.service';
|
||||||
import { PlatformUtilsService } from 'jslib/abstractions/platformUtils.service';
|
import { PlatformUtilsService } from 'jslib/abstractions/platformUtils.service';
|
||||||
|
|
||||||
import { ExportComponent as BaseExportComponent } from '../../tools/export.component';
|
import { ExportComponent as BaseExportComponent } from '../../tools/export.component';
|
||||||
|
import { EventType } from 'jslib/enums/eventType';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-org-export',
|
selector: 'app-org-export',
|
||||||
|
@ -17,8 +19,8 @@ export class ExportComponent extends BaseExportComponent {
|
||||||
|
|
||||||
constructor(cryptoService: CryptoService, i18nService: I18nService,
|
constructor(cryptoService: CryptoService, i18nService: I18nService,
|
||||||
platformUtilsService: PlatformUtilsService, exportService: ExportService,
|
platformUtilsService: PlatformUtilsService, exportService: ExportService,
|
||||||
private route: ActivatedRoute) {
|
eventService: EventService, private route: ActivatedRoute) {
|
||||||
super(cryptoService, i18nService, platformUtilsService, exportService);
|
super(cryptoService, i18nService, platformUtilsService, exportService, eventService);
|
||||||
}
|
}
|
||||||
|
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
|
@ -34,4 +36,9 @@ export class ExportComponent extends BaseExportComponent {
|
||||||
getFileName() {
|
getFileName() {
|
||||||
return super.getFileName('org');
|
return super.getFileName('org');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
async collectEvent(): Promise<any> {
|
||||||
|
// TODO
|
||||||
|
// await this.eventService.collect(EventType.Organization_ClientExportedVault);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
import { Component } from '@angular/core';
|
import { Component } from '@angular/core';
|
||||||
|
|
||||||
import { CryptoService } from 'jslib/abstractions/crypto.service';
|
import { CryptoService } from 'jslib/abstractions/crypto.service';
|
||||||
|
import { EventService } from 'jslib/abstractions/event.service';
|
||||||
import { ExportService } from 'jslib/abstractions/export.service';
|
import { ExportService } from 'jslib/abstractions/export.service';
|
||||||
import { I18nService } from 'jslib/abstractions/i18n.service';
|
import { I18nService } from 'jslib/abstractions/i18n.service';
|
||||||
import { PlatformUtilsService } from 'jslib/abstractions/platformUtils.service';
|
import { PlatformUtilsService } from 'jslib/abstractions/platformUtils.service';
|
||||||
|
@ -13,8 +14,9 @@ import { ExportComponent as BaseExportComponent } from 'jslib/angular/components
|
||||||
})
|
})
|
||||||
export class ExportComponent extends BaseExportComponent {
|
export class ExportComponent extends BaseExportComponent {
|
||||||
constructor(cryptoService: CryptoService, i18nService: I18nService,
|
constructor(cryptoService: CryptoService, i18nService: I18nService,
|
||||||
platformUtilsService: PlatformUtilsService, exportService: ExportService) {
|
platformUtilsService: PlatformUtilsService, exportService: ExportService,
|
||||||
super(cryptoService, i18nService, platformUtilsService, exportService, window);
|
eventService: EventService) {
|
||||||
|
super(cryptoService, i18nService, platformUtilsService, exportService, eventService, window);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected saved() {
|
protected saved() {
|
||||||
|
|
Loading…
Reference in New Issue