@ibragim-dev-org/ui-forge-library 1.4.53 → 1.4.55
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
|
/**
|
|
@@ -688,50 +690,17 @@ declare abstract class UiModal {
|
|
|
688
690
|
protected backdropPortalRef?: ComponentRef<ComponentType<unknown>>;
|
|
689
691
|
protected readonly destroyDownloading$: Subject<void>;
|
|
690
692
|
protected readonly destroyOutsideClickSubscription$: Subject<void>;
|
|
693
|
+
readonly $isOpen: i0.WritableSignal<boolean>;
|
|
691
694
|
constructor(overlay: Overlay, injector: Injector, destroyRef: DestroyRef, router: Router, backdropService: UiPopupBackdropService);
|
|
692
|
-
/**
|
|
693
|
-
* Closes the last opened popup.
|
|
694
|
-
*/
|
|
695
695
|
close(): void;
|
|
696
|
-
/**
|
|
697
|
-
* Closes a popup by its index in the instances array.
|
|
698
|
-
*
|
|
699
|
-
* @param index - The index of the popup to close.
|
|
700
|
-
*/
|
|
701
696
|
closeByIndex(index: number): void;
|
|
702
|
-
/**
|
|
703
|
-
* Closes a popup by its unique identifier.
|
|
704
|
-
*
|
|
705
|
-
* @param id - The unique identifier of the popup to close.
|
|
706
|
-
*/
|
|
707
697
|
closeById(id: string): void;
|
|
708
|
-
/**
|
|
709
|
-
* Closes all currently opened popups.
|
|
710
|
-
*/
|
|
711
698
|
closeAll(): void;
|
|
712
|
-
/**
|
|
713
|
-
* Creates a popup instance with the specified component and options.
|
|
714
|
-
*
|
|
715
|
-
* @param overlayRef - The overlay reference for the popup.
|
|
716
|
-
* @param component - The component to be displayed in the popup.
|
|
717
|
-
* @param options - Configuration options for the popup, including inputs.
|
|
718
|
-
* @param id - A unique identifier for the popup instance.
|
|
719
|
-
* @param parameters - (Optional) Configuration options for the popup.
|
|
720
|
-
*/
|
|
721
699
|
protected createPopup<TComponent>(overlayRef: OverlayRef, component: Type<TComponent>, options: UiPopupOptions<TComponent>, id: string, parameters: Partial<PopupParameters>): void;
|
|
722
|
-
/**
|
|
723
|
-
* Subscribes to outside events (e.g., scroll, router events) to close popups.
|
|
724
|
-
*/
|
|
725
700
|
protected subscribeToOutsideEvents(): void;
|
|
726
701
|
protected destroy(): void;
|
|
727
702
|
protected showBackdrop(isStaticBackdrop?: boolean): void;
|
|
728
703
|
protected hideBackdrop(): void;
|
|
729
|
-
/**
|
|
730
|
-
* Fetches and normalizes popup parameters.
|
|
731
|
-
*
|
|
732
|
-
* @param parameters - Partial configuration options for the popup.
|
|
733
|
-
* @returns A complete set of popup parameters with default values applied.
|
|
734
|
-
*/
|
|
735
704
|
private fetchParameters;
|
|
736
705
|
}
|
|
737
706
|
|
|
@@ -1136,9 +1105,10 @@ declare abstract class UiInputCountryDirective extends UiInputDirective implemen
|
|
|
1136
1105
|
constructor(elementRef: ElementRef<HTMLInputElement>, renderer: Renderer2);
|
|
1137
1106
|
ngAfterViewInit(): void;
|
|
1138
1107
|
protected onPaste(event: ClipboardEvent): void;
|
|
1108
|
+
private handlePaste;
|
|
1139
1109
|
private searchCountry;
|
|
1140
1110
|
protected setCountry(country: CountryData): void;
|
|
1141
|
-
protected autoSetCountry(): void
|
|
1111
|
+
protected autoSetCountry(): Promise<void>;
|
|
1142
1112
|
static ɵfac: i0.ɵɵFactoryDeclaration<UiInputCountryDirective, never>;
|
|
1143
1113
|
static ɵdir: i0.ɵɵDirectiveDeclaration<UiInputCountryDirective, "app-ui-input-country", never, {}, {}, never, never, true, never>;
|
|
1144
1114
|
}
|
|
@@ -1171,8 +1141,11 @@ declare abstract class UIPhoneNumberDirective extends UiInputDirective implement
|
|
|
1171
1141
|
private $inputElement;
|
|
1172
1142
|
constructor(elementRef: ElementRef<HTMLInputElement>, renderer: Renderer2);
|
|
1173
1143
|
ngAfterViewInit(): void;
|
|
1144
|
+
private initSelectedCountry;
|
|
1174
1145
|
protected onInput(value: string): void;
|
|
1146
|
+
private formatInput;
|
|
1175
1147
|
protected onPaste(event: ClipboardEvent): void;
|
|
1148
|
+
private handlePaste;
|
|
1176
1149
|
protected setCountry(country: CountryData): void;
|
|
1177
1150
|
static ɵfac: i0.ɵɵFactoryDeclaration<UIPhoneNumberDirective, never>;
|
|
1178
1151
|
static ɵdir: i0.ɵɵDirectiveDeclaration<UIPhoneNumberDirective, "app-ui-input-phone-number", never, {}, {}, never, never, true, never>;
|