2018-10-03 15:42:11 +02:00
|
|
|
import { Component } from "@angular/core";
|
2022-03-25 10:56:34 +01:00
|
|
|
import { ActivatedRoute } from "@angular/router";
|
2018-01-29 15:33:43 +01:00
|
|
|
|
2022-02-24 20:50:19 +01:00
|
|
|
import { PasswordGeneratorComponent as BasePasswordGeneratorComponent } from "jslib-angular/components/password-generator.component";
|
2021-06-07 19:26:36 +02: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";
|
2022-03-25 10:56:34 +01:00
|
|
|
import { StateService } from "jslib-common/abstractions/state.service";
|
|
|
|
import { UsernameGenerationService } from "jslib-common/abstractions/usernameGeneration.service";
|
2018-01-29 15:33:43 +01:00
|
|
|
|
|
|
|
@Component({
|
2018-02-18 04:37:43 +01:00
|
|
|
selector: "app-password-generator",
|
2018-04-06 18:25:22 +02:00
|
|
|
templateUrl: "password-generator.component.html",
|
2018-01-29 15:33:43 +01:00
|
|
|
})
|
2018-04-06 05:50:06 +02:00
|
|
|
export class PasswordGeneratorComponent extends BasePasswordGeneratorComponent {
|
2018-10-03 15:42:11 +02:00
|
|
|
constructor(
|
|
|
|
passwordGenerationService: PasswordGenerationService,
|
2022-03-25 10:56:34 +01:00
|
|
|
usernameGenerationService: UsernameGenerationService,
|
|
|
|
stateService: StateService,
|
2018-10-03 15:42:11 +02:00
|
|
|
platformUtilsService: PlatformUtilsService,
|
2022-03-25 10:56:34 +01:00
|
|
|
i18nService: I18nService,
|
|
|
|
route: ActivatedRoute
|
2018-10-03 15:42:11 +02:00
|
|
|
) {
|
2022-03-25 10:56:34 +01:00
|
|
|
super(
|
|
|
|
passwordGenerationService,
|
|
|
|
usernameGenerationService,
|
|
|
|
platformUtilsService,
|
|
|
|
stateService,
|
|
|
|
i18nService,
|
|
|
|
route,
|
|
|
|
window
|
|
|
|
);
|
2018-02-24 21:19:16 +01:00
|
|
|
}
|
2018-01-29 15:33:43 +01:00
|
|
|
}
|