2021-12-21 15:43:35 +01:00
|
|
|
import { Location } from "@angular/common";
|
|
|
|
import { Component } from "@angular/core";
|
2018-04-09 23:35:16 +02:00
|
|
|
|
2021-12-21 15:43:35 +01:00
|
|
|
import { I18nService } from "jslib-common/abstractions/i18n.service";
|
|
|
|
import { PasswordGenerationService } from "jslib-common/abstractions/passwordGeneration.service";
|
|
|
|
import { PlatformUtilsService } from "jslib-common/abstractions/platformUtils.service";
|
2018-04-09 23:35:16 +02:00
|
|
|
|
2021-12-21 15:43:35 +01:00
|
|
|
import { PasswordGeneratorHistoryComponent as BasePasswordGeneratorHistoryComponent } from "jslib-angular/components/password-generator-history.component";
|
2018-04-09 23:35:16 +02:00
|
|
|
|
|
|
|
@Component({
|
2021-12-21 15:43:35 +01:00
|
|
|
selector: "app-password-generator-history",
|
|
|
|
templateUrl: "password-generator-history.component.html",
|
2018-04-09 23:35:16 +02:00
|
|
|
})
|
|
|
|
export class PasswordGeneratorHistoryComponent extends BasePasswordGeneratorHistoryComponent {
|
2021-12-21 15:43:35 +01:00
|
|
|
constructor(
|
|
|
|
passwordGenerationService: PasswordGenerationService,
|
|
|
|
platformUtilsService: PlatformUtilsService,
|
|
|
|
i18nService: I18nService,
|
|
|
|
private location: Location
|
|
|
|
) {
|
|
|
|
super(passwordGenerationService, platformUtilsService, i18nService, window);
|
|
|
|
}
|
2018-04-09 23:35:16 +02:00
|
|
|
|
2021-12-21 15:43:35 +01:00
|
|
|
close() {
|
|
|
|
this.location.back();
|
|
|
|
}
|
2018-04-09 23:35:16 +02:00
|
|
|
}
|