@ibragim-dev-org/ui-forge-library 1.3.8 → 1.4.0
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
|
@@ -2,7 +2,7 @@ import { Location } from '@angular/common';
|
|
|
2
2
|
import { Router, Params, UrlCreationOptions, UrlTree, NavigationExtras, NavigationStart, NavigationEnd, NavigationCancel, NavigationError, RoutesRecognized, GuardsCheckStart, GuardsCheckEnd, RouteConfigLoadStart, RouteConfigLoadEnd, ChildActivationStart, ChildActivationEnd, ActivationStart, ActivationEnd, Scroll, ResolveStart, ResolveEnd, NavigationSkipped } from '@angular/router';
|
|
3
3
|
import { Observable, BehaviorSubject, Subject } from 'rxjs';
|
|
4
4
|
import * as i0 from '@angular/core';
|
|
5
|
-
import {
|
|
5
|
+
import { ModelSignal, ElementRef, DestroyRef, OnInit, OnDestroy, EventEmitter, AfterViewInit, InputSignal, Renderer2, OnChanges, DoCheck, AfterContentInit, AfterContentChecked, AfterViewChecked, SimpleChanges, PipeTransform, WritableSignal, Signal, OutputEmitterRef, Injector, Type, TemplateRef } from '@angular/core';
|
|
6
6
|
import { DomSanitizer } from '@angular/platform-browser';
|
|
7
7
|
import { ComponentType, Overlay, OverlayRef } from '@angular/cdk/overlay';
|
|
8
8
|
import { ComponentType as ComponentType$1 } from '@angular/cdk/portal';
|
|
@@ -142,12 +142,14 @@ declare class CalendarUtils {
|
|
|
142
142
|
static generateYears(startYear: number, options: GeneratePeriodOptions): CalendarYearItem[];
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
declare class
|
|
145
|
+
declare class FocusDirective {
|
|
146
146
|
private el;
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
147
|
+
private destroyRef;
|
|
148
|
+
readonly $focus: ModelSignal<boolean>;
|
|
149
|
+
constructor(el: ElementRef<HTMLInputElement>, destroyRef: DestroyRef);
|
|
150
|
+
ngAfterViewInit(): void;
|
|
151
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FocusDirective, never>;
|
|
152
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FocusDirective, "[appFocus]", never, { "$focus": { "alias": "appFocus"; "required": false; "isSignal": true; }; }, { "$focus": "appFocusChange"; }, never, never, true, never>;
|
|
151
153
|
}
|
|
152
154
|
|
|
153
155
|
declare class LazyImageService {
|
|
@@ -1027,14 +1029,14 @@ declare abstract class UiInputCheckboxDirective implements FormCheckboxControl {
|
|
|
1027
1029
|
readonly disabled: InputSignal<boolean>;
|
|
1028
1030
|
readonly $style: InputSignal<CheckboxStyles>;
|
|
1029
1031
|
readonly $label: InputSignal<string>;
|
|
1030
|
-
readonly $
|
|
1032
|
+
readonly $hasValidators: InputSignal<boolean>;
|
|
1031
1033
|
readonly errors: InputSignal<readonly ValidationErrorsType[]>;
|
|
1032
1034
|
readonly touched: ModelSignal<boolean>;
|
|
1033
1035
|
readonly dirty: ModelSignal<boolean>;
|
|
1034
1036
|
protected readonly $isError: Signal<boolean>;
|
|
1035
1037
|
change(): void;
|
|
1036
1038
|
static ɵfac: i0.ɵɵFactoryDeclaration<UiInputCheckboxDirective, never>;
|
|
1037
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<UiInputCheckboxDirective, "app-ui-input", never, { "checked": { "alias": "checked"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "$style": { "alias": "$style"; "required": false; "isSignal": true; }; "$label": { "alias": "$label"; "required": false; "isSignal": true; }; "$
|
|
1039
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<UiInputCheckboxDirective, "app-ui-input", never, { "checked": { "alias": "checked"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "$style": { "alias": "$style"; "required": false; "isSignal": true; }; "$label": { "alias": "$label"; "required": false; "isSignal": true; }; "$hasValidators": { "alias": "$hasValidators"; "required": false; "isSignal": true; }; "errors": { "alias": "errors"; "required": false; "isSignal": true; }; "touched": { "alias": "touched"; "required": false; "isSignal": true; }; "dirty": { "alias": "dirty"; "required": false; "isSignal": true; }; }, { "checked": "checkedChange"; "invalid": "invalidChange"; "touched": "touchedChange"; "dirty": "dirtyChange"; }, never, never, true, never>;
|
|
1038
1040
|
}
|
|
1039
1041
|
|
|
1040
1042
|
type InputMode = 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';
|
|
@@ -1047,14 +1049,14 @@ declare abstract class UiInputDirective extends UiFieldBaseDirective<string> {
|
|
|
1047
1049
|
readonly $maxLength: InputSignal<number | undefined>;
|
|
1048
1050
|
readonly $inputMode: InputSignal<InputMode>;
|
|
1049
1051
|
readonly $label: InputSignal<string>;
|
|
1050
|
-
readonly $
|
|
1052
|
+
readonly $focus: ModelSignal<boolean>;
|
|
1051
1053
|
readonly $isRounded: InputSignal<boolean>;
|
|
1052
|
-
readonly $
|
|
1054
|
+
readonly $hasValidators: InputSignal<boolean>;
|
|
1053
1055
|
readonly $icon: InputSignal<AppIcon | null>;
|
|
1054
1056
|
protected readonly $isError: Signal<boolean>;
|
|
1055
1057
|
constructor(elementRef: ElementRef<HTMLInputElement>, renderer: Renderer2);
|
|
1056
1058
|
static ɵfac: i0.ɵɵFactoryDeclaration<UiInputDirective, never>;
|
|
1057
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<UiInputDirective, "app-ui-input", never, { "$size": { "alias": "$size"; "required": false; "isSignal": true; }; "$placeholder": { "alias": "$placeholder"; "required": false; "isSignal": true; }; "$maxLength": { "alias": "$maxLength"; "required": false; "isSignal": true; }; "$inputMode": { "alias": "$inputMode"; "required": false; "isSignal": true; }; "$label": { "alias": "$label"; "required": false; "isSignal": true; }; "$
|
|
1059
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<UiInputDirective, "app-ui-input", never, { "$size": { "alias": "$size"; "required": false; "isSignal": true; }; "$placeholder": { "alias": "$placeholder"; "required": false; "isSignal": true; }; "$maxLength": { "alias": "$maxLength"; "required": false; "isSignal": true; }; "$inputMode": { "alias": "$inputMode"; "required": false; "isSignal": true; }; "$label": { "alias": "$label"; "required": false; "isSignal": true; }; "$focus": { "alias": "$focus"; "required": false; "isSignal": true; }; "$isRounded": { "alias": "$isRounded"; "required": false; "isSignal": true; }; "$hasValidators": { "alias": "$hasValidators"; "required": false; "isSignal": true; }; "$icon": { "alias": "$icon"; "required": false; "isSignal": true; }; }, { "$focus": "$focusChange"; }, never, never, true, never>;
|
|
1058
1060
|
}
|
|
1059
1061
|
|
|
1060
1062
|
declare abstract class UiInputCountryDirective extends UiInputDirective implements AfterViewInit {
|
|
@@ -1190,5 +1192,5 @@ declare class UiTimeDropdownDirective {
|
|
|
1190
1192
|
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>;
|
|
1191
1193
|
}
|
|
1192
1194
|
|
|
1193
|
-
export { Alert, AlertType, AppIconsLibrary,
|
|
1195
|
+
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, UiAlertMessagesService, UiAvatarDirective, UiButtonDirective, UiCalendarDropdownDirective, UiCodeDirective, UiCopyButtonDirective, UiDailyCalendarDirective, UiDropdownContainerDirective, UiDropdownService, UiFieldBaseDirective, UiImageDirective, UiInputCheckboxDirective, UiInputCountryDirective, UiInputDirective, UiInputSelectDirective, UiInputSequenceDirective, UiInputTimeDirective, UiMonthlyCalendarDirective, UiPaginationDirective, UiPopupBackdropDirective, UiPopupContainerDirective, UiPopupImageDirective, UiPopupInstance, UiPopupService, UiSelectButtonsDirective, UiTabsDirective, UiTimeDropdownDirective, UiValidationErrorsDirective, UiYearlyCalendarDirective, createNavigation, createUrl, createUrlTree, emptyCountry, extractParam, getAspectRatioFit, navigateByUrl, stringToColorGradient, stringToHslColor };
|
|
1194
1196
|
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 };
|