@ibragim-dev-org/ui-forge-library 1.4.53 → 1.4.54
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/package.json
CHANGED
|
@@ -363,13 +363,15 @@ declare class CountryService {
|
|
|
363
363
|
private static regionNames;
|
|
364
364
|
private static _supportedRegions;
|
|
365
365
|
private static _countries;
|
|
366
|
+
private static modulePromise;
|
|
366
367
|
private static readonly flagOverrides;
|
|
368
|
+
private static loadLibphonenumber;
|
|
367
369
|
private static getPhoneUtil;
|
|
368
370
|
private static getRegionNames;
|
|
369
371
|
private static getSupportedRegions;
|
|
370
|
-
static getCountries(): CountryData[]
|
|
371
|
-
static formatPhoneNumber(raw: string, countryCode: string): string
|
|
372
|
-
static getCountryByCode(code: string): CountryData | undefined
|
|
372
|
+
static getCountries(): Promise<CountryData[]>;
|
|
373
|
+
static formatPhoneNumber(raw: string, countryCode: string): Promise<string>;
|
|
374
|
+
static getCountryByCode(code: string): Promise<CountryData | undefined>;
|
|
373
375
|
}
|
|
374
376
|
|
|
375
377
|
/**
|
|
@@ -1136,9 +1138,10 @@ declare abstract class UiInputCountryDirective extends UiInputDirective implemen
|
|
|
1136
1138
|
constructor(elementRef: ElementRef<HTMLInputElement>, renderer: Renderer2);
|
|
1137
1139
|
ngAfterViewInit(): void;
|
|
1138
1140
|
protected onPaste(event: ClipboardEvent): void;
|
|
1141
|
+
private handlePaste;
|
|
1139
1142
|
private searchCountry;
|
|
1140
1143
|
protected setCountry(country: CountryData): void;
|
|
1141
|
-
protected autoSetCountry(): void
|
|
1144
|
+
protected autoSetCountry(): Promise<void>;
|
|
1142
1145
|
static ɵfac: i0.ɵɵFactoryDeclaration<UiInputCountryDirective, never>;
|
|
1143
1146
|
static ɵdir: i0.ɵɵDirectiveDeclaration<UiInputCountryDirective, "app-ui-input-country", never, {}, {}, never, never, true, never>;
|
|
1144
1147
|
}
|
|
@@ -1171,8 +1174,11 @@ declare abstract class UIPhoneNumberDirective extends UiInputDirective implement
|
|
|
1171
1174
|
private $inputElement;
|
|
1172
1175
|
constructor(elementRef: ElementRef<HTMLInputElement>, renderer: Renderer2);
|
|
1173
1176
|
ngAfterViewInit(): void;
|
|
1177
|
+
private initSelectedCountry;
|
|
1174
1178
|
protected onInput(value: string): void;
|
|
1179
|
+
private formatInput;
|
|
1175
1180
|
protected onPaste(event: ClipboardEvent): void;
|
|
1181
|
+
private handlePaste;
|
|
1176
1182
|
protected setCountry(country: CountryData): void;
|
|
1177
1183
|
static ɵfac: i0.ɵɵFactoryDeclaration<UIPhoneNumberDirective, never>;
|
|
1178
1184
|
static ɵdir: i0.ɵɵDirectiveDeclaration<UIPhoneNumberDirective, "app-ui-input-phone-number", never, {}, {}, never, never, true, never>;
|