58 lines
2.1 KiB
TypeScript
58 lines
2.1 KiB
TypeScript
import { Component } from "@angular/core";
|
|
import { UntypedFormBuilder } from "@angular/forms";
|
|
import { Router } from "@angular/router";
|
|
|
|
import { RegisterComponent as BaseRegisterComponent } from "@bitwarden/angular/components/register.component";
|
|
import { ApiService } from "@bitwarden/common/abstractions/api.service";
|
|
import { AuditService } from "@bitwarden/common/abstractions/audit.service";
|
|
import { CryptoService } from "@bitwarden/common/abstractions/crypto.service";
|
|
import { EnvironmentService } from "@bitwarden/common/abstractions/environment.service";
|
|
import { FormValidationErrorsService } from "@bitwarden/common/abstractions/formValidationErrors.service";
|
|
import { I18nService } from "@bitwarden/common/abstractions/i18n.service";
|
|
import { LogService } from "@bitwarden/common/abstractions/log.service";
|
|
import { PasswordGenerationService } from "@bitwarden/common/abstractions/passwordGeneration.service";
|
|
import { PlatformUtilsService } from "@bitwarden/common/abstractions/platformUtils.service";
|
|
import { StateService } from "@bitwarden/common/abstractions/state.service";
|
|
import { AuthService } from "@bitwarden/common/auth/abstractions/auth.service";
|
|
|
|
@Component({
|
|
selector: "app-register",
|
|
templateUrl: "register.component.html",
|
|
})
|
|
export class RegisterComponent extends BaseRegisterComponent {
|
|
color: string;
|
|
text: string;
|
|
|
|
constructor(
|
|
formValidationErrorService: FormValidationErrorsService,
|
|
formBuilder: UntypedFormBuilder,
|
|
authService: AuthService,
|
|
router: Router,
|
|
i18nService: I18nService,
|
|
cryptoService: CryptoService,
|
|
apiService: ApiService,
|
|
stateService: StateService,
|
|
platformUtilsService: PlatformUtilsService,
|
|
passwordGenerationService: PasswordGenerationService,
|
|
environmentService: EnvironmentService,
|
|
logService: LogService,
|
|
auditService: AuditService
|
|
) {
|
|
super(
|
|
formValidationErrorService,
|
|
formBuilder,
|
|
authService,
|
|
router,
|
|
i18nService,
|
|
cryptoService,
|
|
apiService,
|
|
stateService,
|
|
platformUtilsService,
|
|
passwordGenerationService,
|
|
environmentService,
|
|
logService,
|
|
auditService
|
|
);
|
|
}
|
|
}
|