mirror of
https://github.com/bitwarden/browser
synced 2025-12-20 02:03:39 +00:00
* migrate auth toasts to CL toastService * fix component args * fix component args * fix specs * fix toastService args
37 lines
1.2 KiB
TypeScript
37 lines
1.2 KiB
TypeScript
import { Component } from "@angular/core";
|
|
import { Router } from "@angular/router";
|
|
|
|
import { HintComponent as BaseHintComponent } from "@bitwarden/angular/auth/components/hint.component";
|
|
import { LoginEmailServiceAbstraction } from "@bitwarden/auth/common";
|
|
import { ApiService } from "@bitwarden/common/abstractions/api.service";
|
|
import { I18nService } from "@bitwarden/common/platform/abstractions/i18n.service";
|
|
import { LogService } from "@bitwarden/common/platform/abstractions/log.service";
|
|
import { PlatformUtilsService } from "@bitwarden/common/platform/abstractions/platform-utils.service";
|
|
import { ToastService } from "@bitwarden/components";
|
|
|
|
@Component({
|
|
selector: "app-hint",
|
|
templateUrl: "hint.component.html",
|
|
})
|
|
export class HintComponent extends BaseHintComponent {
|
|
constructor(
|
|
router: Router,
|
|
platformUtilsService: PlatformUtilsService,
|
|
i18nService: I18nService,
|
|
apiService: ApiService,
|
|
logService: LogService,
|
|
loginEmailService: LoginEmailServiceAbstraction,
|
|
toastService: ToastService,
|
|
) {
|
|
super(
|
|
router,
|
|
i18nService,
|
|
apiService,
|
|
platformUtilsService,
|
|
logService,
|
|
loginEmailService,
|
|
toastService,
|
|
);
|
|
}
|
|
}
|