@ibragim-dev-org/ui-forge-library 1.4.22 → 1.4.23

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
@@ -4,7 +4,7 @@
4
4
  "access": "public",
5
5
  "registry": "https://registry.npmjs.org/"
6
6
  },
7
- "version": "1.4.22",
7
+ "version": "1.4.23",
8
8
  "peerDependencies": {
9
9
  "@angular/common": "^21.1.0",
10
10
  "@angular/core": "^21.1.0"
@@ -152,19 +152,27 @@ declare class FocusDirective {
152
152
  static ɵdir: i0.ɵɵDirectiveDeclaration<FocusDirective, "[appFocus]", never, { "$focus": { "alias": "appFocus"; "required": false; "isSignal": true; }; }, { "$focus": "appFocusChange"; }, never, never, true, never>;
153
153
  }
154
154
 
155
+ declare class LazyImageService {
156
+ private observer?;
157
+ getObserver(): IntersectionObserver;
158
+ static ɵfac: i0.ɵɵFactoryDeclaration<LazyImageService, never>;
159
+ static ɵprov: i0.ɵɵInjectableDeclaration<LazyImageService>;
160
+ }
161
+
155
162
  declare class LazyImgDirective implements OnInit, OnDestroy {
156
163
  private readonly el;
164
+ private readonly lazyService;
157
165
  lazySrc: string;
158
166
  loadError: i0.OutputEmitterRef<void>;
159
167
  loaded: i0.OutputEmitterRef<void>;
160
- outOfView: i0.OutputEmitterRef<void>;
161
- destroyed: i0.OutputEmitterRef<void>;
162
- private observer?;
163
- constructor(el: ElementRef<HTMLImageElement>);
168
+ private observer;
169
+ private readonly onError;
170
+ private readonly onLoad;
171
+ constructor(el: ElementRef<HTMLImageElement>, lazyService: LazyImageService);
164
172
  ngOnInit(): void;
165
173
  ngOnDestroy(): void;
166
174
  static ɵfac: i0.ɵɵFactoryDeclaration<LazyImgDirective, never>;
167
- static ɵdir: i0.ɵɵDirectiveDeclaration<LazyImgDirective, "img[lazySrc]", never, { "lazySrc": { "alias": "lazySrc"; "required": false; }; }, { "loadError": "loadError"; "loaded": "loaded"; "outOfView": "outOfView"; "destroyed": "destroyed"; }, never, never, true, never>;
175
+ static ɵdir: i0.ɵɵDirectiveDeclaration<LazyImgDirective, "img[lazySrc]", never, { "lazySrc": { "alias": "lazySrc"; "required": false; }; }, { "loadError": "loadError"; "loaded": "loaded"; }, never, never, true, never>;
168
176
  }
169
177
 
170
178
  declare class MaskGradientDirective implements AfterViewInit {