2018-04-06 05:50:06 +02:00
|
|
|
import { Component } from "@angular/core";
|
2018-01-30 05:19:55 +01:00
|
|
|
|
2022-06-14 17:10:53 +02:00
|
|
|
import { AttachmentsComponent as BaseAttachmentsComponent } from "@bitwarden/angular/components/attachments.component";
|
|
|
|
import { ApiService } from "@bitwarden/common/abstractions/api.service";
|
|
|
|
import { CipherService } from "@bitwarden/common/abstractions/cipher.service";
|
|
|
|
import { CryptoService } from "@bitwarden/common/abstractions/crypto.service";
|
2022-06-29 23:15:29 +02:00
|
|
|
import { FileDownloadService } from "@bitwarden/common/abstractions/fileDownload/fileDownload.service";
|
2022-06-14 17:10:53 +02:00
|
|
|
import { I18nService } from "@bitwarden/common/abstractions/i18n.service";
|
|
|
|
import { LogService } from "@bitwarden/common/abstractions/log.service";
|
|
|
|
import { PlatformUtilsService } from "@bitwarden/common/abstractions/platformUtils.service";
|
|
|
|
import { StateService } from "@bitwarden/common/abstractions/state.service";
|
2018-01-30 05:19:55 +01:00
|
|
|
|
|
|
|
@Component({
|
|
|
|
selector: "app-vault-attachments",
|
2018-04-06 18:25:22 +02:00
|
|
|
templateUrl: "attachments.component.html",
|
2018-01-30 05:19:55 +01:00
|
|
|
})
|
2018-04-06 05:50:06 +02:00
|
|
|
export class AttachmentsComponent extends BaseAttachmentsComponent {
|
2018-10-03 15:42:11 +02:00
|
|
|
constructor(
|
|
|
|
cipherService: CipherService,
|
|
|
|
i18nService: I18nService,
|
2021-12-15 23:32:00 +01:00
|
|
|
cryptoService: CryptoService,
|
|
|
|
platformUtilsService: PlatformUtilsService,
|
|
|
|
apiService: ApiService,
|
|
|
|
logService: LogService,
|
2022-06-29 23:15:29 +02:00
|
|
|
stateService: StateService,
|
|
|
|
fileDownloadService: FileDownloadService
|
2021-12-15 23:32:00 +01:00
|
|
|
) {
|
|
|
|
super(
|
|
|
|
cipherService,
|
|
|
|
i18nService,
|
|
|
|
cryptoService,
|
|
|
|
platformUtilsService,
|
|
|
|
apiService,
|
|
|
|
window,
|
|
|
|
logService,
|
2022-06-29 23:15:29 +02:00
|
|
|
stateService,
|
|
|
|
fileDownloadService
|
2021-12-15 23:32:00 +01:00
|
|
|
);
|
2018-01-30 05:19:55 +01:00
|
|
|
}
|
|
|
|
}
|