clients/libs/angular/src/auth/components
Daniel James Smith 5707b0064c
[PM-32915] Angular updates to TwoFactorIconComponent (#19306)
* Make TwoFactorIconComponent standalone

* Angular updates to TwoFactorIconComponent

- Migrate TwoFactorProviderType from enum to const (ADR25)
- Migrate Inputs to Signals
- Make provider a required input
- Use new Control Flow syntax
- Use OnPush change detection
- Memoize function for legacy providers (providers with png image)
- Add documentation
- Remove @ts-strict-ignore
- Fix type in TwoFactorSetupDuoComponent as it would default to number because of the migration of TwoFactorProviderType (enum to const). Now it can be overridden with any value of TwoFactorProviderType

* Add type guard for TwoFactorProviderType and fix CLI

* PM-32915 - Update TwoFactorProviderType to mark U2f as deprecated in favor of WebAuthn

* PM-32915 - TwoFactorIconComp - refactor to eliminate legacy providers and just use new, already available duo and yubikey SVG icons.

* PM-32915 - Add TODOs for cleaning up mfaType usages.

* PM-32915 - Remove unncessary ng-container

---------

Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
Co-authored-by: Jared Snider <jsnider@bitwarden.com>
Co-authored-by: Jared Snider <116684653+JaredSnider-Bitwarden@users.noreply.github.com>
2026-03-11 15:28:01 +00:00
..
authentication-timeout.component.ts Auth - Prefer signal & change detection (#16950) 2025-10-22 21:28:47 -04:00
set-pin.component.ts [PM-24128] New Pin service, using PasswordProtectedKeyEnvelope (#15863) 2025-10-17 16:30:29 +02:00
two-factor-icon.component.html [PM-32915] Angular updates to TwoFactorIconComponent (#19306) 2026-03-11 15:28:01 +00:00
two-factor-icon.component.ts [PM-32915] Angular updates to TwoFactorIconComponent (#19306) 2026-03-11 15:28:01 +00:00
user-verification-prompt.component.ts Typescript-strict-plugin (#12235) 2024-12-09 20:58:50 +01:00
user-verification.component.ts Enable directive-class-suffix (#17385) 2025-11-24 18:03:16 +01:00