@ibragim-dev-org/ui-forge-library 1.4.68 → 1.4.69

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.
@@ -617,11 +617,16 @@ class StickyObserverDirective {
617
617
  elementRef;
618
618
  renderer;
619
619
  $isStuck = signal(false, ...(ngDevMode ? [{ debugName: "$isStuck" }] : []));
620
+ isStuck = output();
620
621
  observer;
621
622
  sentinel;
622
623
  constructor(elementRef, renderer) {
623
624
  this.elementRef = elementRef;
624
625
  this.renderer = renderer;
626
+ effect(() => {
627
+ const isStuck = this.$isStuck();
628
+ this.isStuck.emit(isStuck);
629
+ });
625
630
  }
626
631
  ngAfterViewInit() {
627
632
  const stickyEl = this.elementRef.nativeElement;
@@ -642,7 +647,7 @@ class StickyObserverDirective {
642
647
  this.sentinel?.remove();
643
648
  }
644
649
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: StickyObserverDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
645
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.1", type: StickyObserverDirective, isStandalone: true, selector: "[appStickyObserver]", host: { properties: { "class.sticked": "$isStuck()" } }, ngImport: i0 });
650
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.1", type: StickyObserverDirective, isStandalone: true, selector: "[appStickyObserver]", outputs: { isStuck: "isStuck" }, host: { properties: { "class.sticked": "$isStuck()" } }, ngImport: i0 });
646
651
  }
647
652
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: StickyObserverDirective, decorators: [{
648
653
  type: Directive,
@@ -652,7 +657,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.1", ngImpor
652
657
  '[class.sticked]': '$isStuck()',
653
658
  },
654
659
  }]
655
- }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }] });
660
+ }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }], propDecorators: { isStuck: [{ type: i0.Output, args: ["isStuck"] }] } });
656
661
 
657
662
  const isBrowser = () => typeof window !== 'undefined' && typeof document !== 'undefined';
658
663