2020-08-19 17:15:04 +02:00
|
|
|
import { Component } from "@angular/core";
|
2020-10-14 18:13:13 +02:00
|
|
|
import { ActivatedRoute, Router } from "@angular/router";
|
2020-08-19 17:15:04 +02:00
|
|
|
|
2022-02-24 12:10:07 +01:00
|
|
|
import { SetPasswordComponent as BaseSetPasswordComponent } from "jslib-angular/components/set-password.component";
|
2021-06-07 20:13:58 +02:00
|
|
|
import { ApiService } from "jslib-common/abstractions/api.service";
|
|
|
|
import { CryptoService } from "jslib-common/abstractions/crypto.service";
|
|
|
|
import { I18nService } from "jslib-common/abstractions/i18n.service";
|
|
|
|
import { MessagingService } from "jslib-common/abstractions/messaging.service";
|
|
|
|
import { PasswordGenerationService } from "jslib-common/abstractions/passwordGeneration.service";
|
|
|
|
import { PlatformUtilsService } from "jslib-common/abstractions/platformUtils.service";
|
|
|
|
import { PolicyService } from "jslib-common/abstractions/policy.service";
|
2021-12-14 17:10:26 +01:00
|
|
|
import { StateService } from "jslib-common/abstractions/state.service";
|
2021-06-07 20:13:58 +02:00
|
|
|
import { SyncService } from "jslib-common/abstractions/sync.service";
|
2020-08-19 17:15:04 +02:00
|
|
|
|
|
|
|
@Component({
|
|
|
|
selector: "app-set-password",
|
|
|
|
templateUrl: "set-password.component.html",
|
|
|
|
})
|
|
|
|
export class SetPasswordComponent extends BaseSetPasswordComponent {
|
|
|
|
constructor(
|
|
|
|
apiService: ApiService,
|
|
|
|
i18nService: I18nService,
|
|
|
|
cryptoService: CryptoService,
|
|
|
|
messagingService: MessagingService,
|
2021-12-14 17:10:26 +01:00
|
|
|
passwordGenerationService: PasswordGenerationService,
|
|
|
|
platformUtilsService: PlatformUtilsService,
|
|
|
|
policyService: PolicyService,
|
|
|
|
router: Router,
|
|
|
|
syncService: SyncService,
|
|
|
|
route: ActivatedRoute,
|
|
|
|
stateService: StateService
|
|
|
|
) {
|
|
|
|
super(
|
|
|
|
i18nService,
|
|
|
|
cryptoService,
|
|
|
|
messagingService,
|
|
|
|
passwordGenerationService,
|
|
|
|
platformUtilsService,
|
|
|
|
policyService,
|
|
|
|
router,
|
|
|
|
apiService,
|
|
|
|
syncService,
|
|
|
|
route,
|
|
|
|
stateService
|
|
|
|
);
|
2020-08-19 17:15:04 +02:00
|
|
|
}
|
|
|
|
}
|