clients/libs/angular/src/auth
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
..
components [PM-32915] Angular updates to TwoFactorIconComponent (#19306) 2026-03-11 15:28:01 +00:00
constants feat(AuthRouteConstants): [Auth/PM-27370] Convert auth routes to use constants (#16980) 2025-10-29 19:28:21 -04:00
device-management refactor(Auth-Font-Icons): [Auth/PM-31804] Migrate auth font icons to use bit-icon (#18816) 2026-02-23 10:42:02 -05:00
environment-selector refactor(Auth-Font-Icons): [Auth/PM-31804] Migrate auth font icons to use bit-icon (#18816) 2026-02-23 10:42:02 -05:00
guards feat(accounts): Add creationDate of account to AccountInfo 2025-12-12 10:03:31 -05:00
login-approval refactor(Auth-Font-Icons): [Auth/PM-31804] Migrate auth font icons to use bit-icon (#18816) 2026-02-23 10:42:02 -05:00
login-via-webauthn [CL-82] rename bit-icon to bit-svg; create new bit-icon component for font icons (#18584) 2026-01-28 11:36:27 -05:00
password-management refactor(input-password-flows): [Auth/PM-27086] Use new KM Data Types in InputPasswordComponent flows - TDE Offboarding (#18204) 2026-02-26 09:51:19 -08:00
services Introduce eslint errors for risky/circular imports (#14804) 2025-05-23 08:01:25 -04:00