@elderbyte/ngx-starter 20.4.0 → 20.4.1
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/fesm2022/elderbyte-ngx-starter.mjs +1303 -1280
- package/fesm2022/elderbyte-ngx-starter.mjs.map +1 -1
- package/index.d.ts +7 -3
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -845,15 +845,19 @@ type CountryPhoneFormat = {
|
|
|
845
845
|
declare class PhoneFormatService {
|
|
846
846
|
/***************************************************************************
|
|
847
847
|
* *
|
|
848
|
-
* Public
|
|
848
|
+
* Public API *
|
|
849
849
|
* *
|
|
850
850
|
**************************************************************************/
|
|
851
|
-
formatPhoneNumber(
|
|
851
|
+
formatPhoneNumber(number: string, countryCode?: string, config?: CountryPhoneFormat): string;
|
|
852
852
|
/***************************************************************************
|
|
853
853
|
* *
|
|
854
|
-
* Private
|
|
854
|
+
* Private Methods *
|
|
855
855
|
* *
|
|
856
856
|
**************************************************************************/
|
|
857
|
+
private applyFormattingPerConfig;
|
|
858
|
+
private preparePhoneNumberBody;
|
|
859
|
+
private cleanNumberString;
|
|
860
|
+
private handleWithoutConfig;
|
|
857
861
|
private removeDialingCode;
|
|
858
862
|
static ɵfac: i0.ɵɵFactoryDeclaration<PhoneFormatService, never>;
|
|
859
863
|
static ɵprov: i0.ɵɵInjectableDeclaration<PhoneFormatService>;
|