@suntelecoms/ngx-dynamic-form 1.7.19 → 1.7.20
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.
|
@@ -62,12 +62,22 @@ export declare class DynamicFieldComponent implements OnInit {
|
|
|
62
62
|
phoneSearch: string;
|
|
63
63
|
/** Chiffres locaux courants (hors indicatif), tenus à jour par `applyPhoneMask` — évite de les re-dériver de la valeur E.164 complète du formControl (qui contient déjà l'ancien indicatif). */
|
|
64
64
|
private phoneLocalDigits;
|
|
65
|
+
/** Texte affiché dans la saisie (chiffres locaux masqués). Suit aussi la valeur posée de
|
|
66
|
+
* l'extérieur (initialValues en mode édition, patchValue) — sans lui, la saisie restait vide. */
|
|
67
|
+
phoneDisplay: string;
|
|
65
68
|
get filteredPhoneCountries(): PhoneCountry[];
|
|
66
69
|
selectPhoneCountry(country: PhoneCountry): void;
|
|
67
70
|
getLocation(): void;
|
|
68
71
|
private _geoError;
|
|
69
72
|
onPhoneSelectChange(event: Event): void;
|
|
70
73
|
applyPhoneMask(event: Event): void;
|
|
74
|
+
private maskPhone;
|
|
75
|
+
/**
|
|
76
|
+
* Répercute une valeur du formControl sur le pays et la saisie affichée : '+222 22 12 34 56'
|
|
77
|
+
* ou '0022222123456' -> Mauritanie + '22 12 34 56' ; un numéro sans indicatif ('774127793')
|
|
78
|
+
* garde le pays courant. Ignore les valeurs produites par la saisie elle-même.
|
|
79
|
+
*/
|
|
80
|
+
private syncPhoneFromValue;
|
|
71
81
|
get hostStyle(): Record<string, string>;
|
|
72
82
|
get hostClass(): string;
|
|
73
83
|
ngOnInit(): void;
|
package/package.json
CHANGED