valtech-components 2.0.849 → 2.0.850
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/lib/components/organisms/mfa-modal/mfa-modal.component.mjs +19 -5
- package/esm2022/lib/services/i18n/default-content.mjs +3 -1
- package/esm2022/lib/version.mjs +2 -2
- package/fesm2022/valtech-components.mjs +20 -4
- package/fesm2022/valtech-components.mjs.map +1 -1
- package/lib/components/organisms/mfa-modal/mfa-modal.component.d.ts +4 -0
- package/lib/version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -69,6 +69,8 @@ export declare class MfaModalComponent implements OnDestroy {
|
|
|
69
69
|
readonly totpQr: import("@angular/core").WritableSignal<QrResult>;
|
|
70
70
|
/** Códigos de respaldo recién regenerados — se muestran una sola vez. */
|
|
71
71
|
readonly regeneratedCodes: import("@angular/core").WritableSignal<string[]>;
|
|
72
|
+
/** Marca momentánea cuando el secreto TOTP se acaba de copiar (feedback visual). */
|
|
73
|
+
readonly copiedSecret: import("@angular/core").WritableSignal<boolean>;
|
|
72
74
|
readonly resendCooldown: import("@angular/core").WritableSignal<number>;
|
|
73
75
|
readonly pinControl: FormControl<string>;
|
|
74
76
|
readonly phoneControl: FormControl<string>;
|
|
@@ -115,6 +117,8 @@ export declare class MfaModalComponent implements OnDestroy {
|
|
|
115
117
|
onDisableSubmit(event: FormSubmit): void;
|
|
116
118
|
/** Copia una lista de códigos de respaldo al portapapeles. */
|
|
117
119
|
copyCodes(codes: string[]): Promise<void>;
|
|
120
|
+
/** Copia el secreto TOTP al portapapeles + feedback visual (check) durante 2s. */
|
|
121
|
+
copySecret(secret: string): Promise<void>;
|
|
118
122
|
/** Etiqueta i18n legible para un método MFA. */
|
|
119
123
|
methodLabel(method: MFAMethod | null): string;
|
|
120
124
|
private resetFlow;
|
package/lib/version.d.ts
CHANGED