@ibragim-dev-org/ui-forge-library 1.4.54 → 1.4.56
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
|
@@ -690,50 +690,17 @@ declare abstract class UiModal {
|
|
|
690
690
|
protected backdropPortalRef?: ComponentRef<ComponentType<unknown>>;
|
|
691
691
|
protected readonly destroyDownloading$: Subject<void>;
|
|
692
692
|
protected readonly destroyOutsideClickSubscription$: Subject<void>;
|
|
693
|
+
readonly $isOpen: i0.WritableSignal<boolean>;
|
|
693
694
|
constructor(overlay: Overlay, injector: Injector, destroyRef: DestroyRef, router: Router, backdropService: UiPopupBackdropService);
|
|
694
|
-
/**
|
|
695
|
-
* Closes the last opened popup.
|
|
696
|
-
*/
|
|
697
695
|
close(): void;
|
|
698
|
-
/**
|
|
699
|
-
* Closes a popup by its index in the instances array.
|
|
700
|
-
*
|
|
701
|
-
* @param index - The index of the popup to close.
|
|
702
|
-
*/
|
|
703
696
|
closeByIndex(index: number): void;
|
|
704
|
-
/**
|
|
705
|
-
* Closes a popup by its unique identifier.
|
|
706
|
-
*
|
|
707
|
-
* @param id - The unique identifier of the popup to close.
|
|
708
|
-
*/
|
|
709
697
|
closeById(id: string): void;
|
|
710
|
-
/**
|
|
711
|
-
* Closes all currently opened popups.
|
|
712
|
-
*/
|
|
713
698
|
closeAll(): void;
|
|
714
|
-
/**
|
|
715
|
-
* Creates a popup instance with the specified component and options.
|
|
716
|
-
*
|
|
717
|
-
* @param overlayRef - The overlay reference for the popup.
|
|
718
|
-
* @param component - The component to be displayed in the popup.
|
|
719
|
-
* @param options - Configuration options for the popup, including inputs.
|
|
720
|
-
* @param id - A unique identifier for the popup instance.
|
|
721
|
-
* @param parameters - (Optional) Configuration options for the popup.
|
|
722
|
-
*/
|
|
723
699
|
protected createPopup<TComponent>(overlayRef: OverlayRef, component: Type<TComponent>, options: UiPopupOptions<TComponent>, id: string, parameters: Partial<PopupParameters>): void;
|
|
724
|
-
/**
|
|
725
|
-
* Subscribes to outside events (e.g., scroll, router events) to close popups.
|
|
726
|
-
*/
|
|
727
700
|
protected subscribeToOutsideEvents(): void;
|
|
728
701
|
protected destroy(): void;
|
|
729
702
|
protected showBackdrop(isStaticBackdrop?: boolean): void;
|
|
730
703
|
protected hideBackdrop(): void;
|
|
731
|
-
/**
|
|
732
|
-
* Fetches and normalizes popup parameters.
|
|
733
|
-
*
|
|
734
|
-
* @param parameters - Partial configuration options for the popup.
|
|
735
|
-
* @returns A complete set of popup parameters with default values applied.
|
|
736
|
-
*/
|
|
737
704
|
private fetchParameters;
|
|
738
705
|
}
|
|
739
706
|
|