@ibragim-dev-org/ui-forge-library 1.1.1 → 1.1.2
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.
|
@@ -1636,7 +1636,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.1", ngImpor
|
|
|
1636
1636
|
}] }, { type: i0.DestroyRef }, { type: UiPopupService }, { type: i0.ElementRef }], propDecorators: { $overflowHidden: [{ type: i0.Input, args: [{ isSignal: true, alias: "$overflowHidden", required: false }] }], $shouldClose: [{ type: i0.Input, args: [{ isSignal: true, alias: "$shouldClose", required: false }] }, { type: i0.Output, args: ["$shouldCloseChange"] }], $hasCloseButton: [{ type: i0.Input, args: [{ isSignal: true, alias: "$hasCloseButton", required: false }] }], $isEnableFadeAnimation: [{ type: i0.Input, args: [{ isSignal: true, alias: "$isEnableFadeAnimation", required: false }] }], $iconClose: [{ type: i0.Input, args: [{ isSignal: true, alias: "$iconClose", required: false }] }, { type: i0.Output, args: ["$iconCloseChange"] }] } });
|
|
1637
1637
|
|
|
1638
1638
|
class UiDropdownService extends UiPopupService {
|
|
1639
|
-
tipContainerRef;
|
|
1640
1639
|
tipContainerPortal;
|
|
1641
1640
|
containerSize$ = new BehaviorSubject({
|
|
1642
1641
|
width: 0,
|
|
@@ -1764,7 +1763,8 @@ class UiDropdownService extends UiPopupService {
|
|
|
1764
1763
|
*
|
|
1765
1764
|
*/
|
|
1766
1765
|
openTip(text, attachedRef, id, position = 'top', offsetY = 0, offsetX = 0) {
|
|
1767
|
-
if (this.
|
|
1766
|
+
if (!this.tipContainerPortal) {
|
|
1767
|
+
console.warn('UiDropdownService: Tip component is not defined. Please provide a tip component in the init method.');
|
|
1768
1768
|
return;
|
|
1769
1769
|
}
|
|
1770
1770
|
const tipComponent = this.tipContainerPortal?.component;
|