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