@ibragim-dev-org/ui-forge-library 1.4.22 → 1.4.31
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
|
@@ -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
|
-
|
|
161
|
-
|
|
162
|
-
private
|
|
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";
|
|
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 {
|
|
@@ -248,6 +256,29 @@ declare class ContainerSizeDirective implements AfterViewInit, OnDestroy {
|
|
|
248
256
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ContainerSizeDirective, "[containerSize]", never, {}, { "sizeChange": "sizeChange"; }, never, never, true, never>;
|
|
249
257
|
}
|
|
250
258
|
|
|
259
|
+
declare class StableScrollDirective implements AfterViewInit {
|
|
260
|
+
private host;
|
|
261
|
+
private el;
|
|
262
|
+
private lastScrollHeight;
|
|
263
|
+
/** Emit when user reaches top threshold */
|
|
264
|
+
reachedTop: i0.OutputEmitterRef<void>;
|
|
265
|
+
/** Emit when user reaches bottom threshold */
|
|
266
|
+
reachedBottom: i0.OutputEmitterRef<void>;
|
|
267
|
+
/** Top threshold in px or percentage (0–1). Default: 0 (exact top). */
|
|
268
|
+
$topThreshold: i0.InputSignal<number>;
|
|
269
|
+
/** Bottom threshold in px or percentage (0–1). Default: 0 (exact bottom). */
|
|
270
|
+
$bottomThreshold: i0.InputSignal<number>;
|
|
271
|
+
constructor(host: ElementRef<HTMLElement>);
|
|
272
|
+
ngAfterViewInit(): void;
|
|
273
|
+
private onScroll;
|
|
274
|
+
/** Call this BEFORE you change the data */
|
|
275
|
+
captureBeforeChange(): void;
|
|
276
|
+
/** Call this AFTER Angular renders new items */
|
|
277
|
+
restoreScrollPosition(): void;
|
|
278
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StableScrollDirective, never>;
|
|
279
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<StableScrollDirective, "[stableScroll]", never, { "$topThreshold": { "alias": "$topThreshold"; "required": false; "isSignal": true; }; "$bottomThreshold": { "alias": "$bottomThreshold"; "required": false; "isSignal": true; }; }, { "reachedTop": "reachedTop"; "reachedBottom": "reachedBottom"; }, never, never, true, never>;
|
|
280
|
+
}
|
|
281
|
+
|
|
251
282
|
declare class CenterEllipsisPipe implements PipeTransform {
|
|
252
283
|
transform(value: string, visibleStart?: number, visibleEnd?: number): string;
|
|
253
284
|
static ɵfac: i0.ɵɵFactoryDeclaration<CenterEllipsisPipe, never>;
|
|
@@ -1203,5 +1234,5 @@ declare class UiTimeDropdownDirective {
|
|
|
1203
1234
|
static ɵdir: i0.ɵɵDirectiveDeclaration<UiTimeDropdownDirective, "app-ui-time-dropdown", never, { "action": { "alias": "action"; "required": false; }; "initialValue": { "alias": "initialValue"; "required": false; }; "timeFormat": { "alias": "timeFormat"; "required": false; }; }, {}, never, never, true, never>;
|
|
1204
1235
|
}
|
|
1205
1236
|
|
|
1206
|
-
export { Alert, AlertType, AppIconsLibrary, CalendarUtils, CenterEllipsisPipe, ContainerSizeDirective, CountryService, DateUtils, EMAIL, FocusDirective, HAS_CAPITAL_CASE, HAS_NUMBER, HAS_SMALL_CASE, HAS_SPECIAL_CHARTERS, HoverTipDirective, IconComponent, LazyImgDirective, MIN_LENGTH, MaskGradientDirective, RouterBehavior, SkeletonDirective, StickyObserverDirective, ThemeService, TrackLifecycleDirective, UIInputDateDirective, UIPhoneNumberDirective, UiAccordionComponent, UiAlertMessagesOverlayService, UiAlertMessagesService, UiAvatarDirective, UiButtonDirective, UiCalendarDropdownDirective, UiCodeDirective, UiCopyButtonDirective, UiDailyCalendarDirective, UiDropdownContainerDirective, UiDropdownService, UiFieldBaseDirective, UiImageDirective, UiInputCheckboxDirective, UiInputCountryDirective, UiInputDirective, UiInputSelectDirective, UiInputSequenceDirective, UiInputTimeDirective, UiMonthlyCalendarDirective, UiPaginationDirective, UiPopupBackdropDirective, UiPopupBackdropService, UiPopupContainerDirective, UiPopupImageDirective, UiPopupInstance, UiPopupService, UiSelectButtonsDirective, UiTabsDirective, UiTimeDropdownDirective, UiValidationErrorsDirective, UiYearlyCalendarDirective, createNavigation, createUrl, createUrlTree, emptyCountry, extractParam, getAspectRatioFit, isBrowser, navigateByUrl, stringToColorGradient, stringToHslColor };
|
|
1237
|
+
export { Alert, AlertType, AppIconsLibrary, CalendarUtils, CenterEllipsisPipe, ContainerSizeDirective, CountryService, DateUtils, EMAIL, FocusDirective, HAS_CAPITAL_CASE, HAS_NUMBER, HAS_SMALL_CASE, HAS_SPECIAL_CHARTERS, HoverTipDirective, IconComponent, LazyImgDirective, MIN_LENGTH, MaskGradientDirective, RouterBehavior, SkeletonDirective, StableScrollDirective, StickyObserverDirective, ThemeService, TrackLifecycleDirective, UIInputDateDirective, UIPhoneNumberDirective, UiAccordionComponent, UiAlertMessagesOverlayService, UiAlertMessagesService, UiAvatarDirective, UiButtonDirective, UiCalendarDropdownDirective, UiCodeDirective, UiCopyButtonDirective, UiDailyCalendarDirective, UiDropdownContainerDirective, UiDropdownService, UiFieldBaseDirective, UiImageDirective, UiInputCheckboxDirective, UiInputCountryDirective, UiInputDirective, UiInputSelectDirective, UiInputSequenceDirective, UiInputTimeDirective, UiMonthlyCalendarDirective, UiPaginationDirective, UiPopupBackdropDirective, UiPopupBackdropService, UiPopupContainerDirective, UiPopupImageDirective, UiPopupInstance, UiPopupService, UiSelectButtonsDirective, UiTabsDirective, UiTimeDropdownDirective, UiValidationErrorsDirective, UiYearlyCalendarDirective, createNavigation, createUrl, createUrlTree, emptyCountry, extractParam, getAspectRatioFit, isBrowser, navigateByUrl, stringToColorGradient, stringToHslColor };
|
|
1207
1238
|
export type { AlertParams, AppIcon, AppIconName, ButtonColor, CalendarDay, CalendarMonthItem, CalendarYearItem, CheckboxStyles, CountryData, DropdownItem, DropdownParameters, DropdownPosition, GenerateDaysOptions, GeneratePeriodOptions, InputSelectData, NavigationEvent, OverflowMode, ParsedRoutes, PopupAnimationOptions, RawSVG, RouteDefinition, TabsAlignment, UiPopupAnimation, UiPopupOptions, UiPopupParameters, UiSelectButton, UiSelectButtonAlignment, UiTab, ValidationErrorsType, paramExtractor };
|