@ibragim-dev-org/ui-forge-library 1.2.8 → 1.3.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
|
@@ -11,7 +11,7 @@ import { WithOptionalField, ValidationError, FormValueControl, FormCheckboxContr
|
|
|
11
11
|
declare class DateUtils {
|
|
12
12
|
static parse(value: string, isUsaDateFormat?: boolean): Date | null;
|
|
13
13
|
static format(date: Date, isUsaDateFormat?: boolean): string;
|
|
14
|
-
static isUsaDateFormat(): boolean;
|
|
14
|
+
static isUsaDateFormat(format?: 'european' | 'usa' | undefined): boolean;
|
|
15
15
|
static setMonthSafe(date: Date, month: number): Date;
|
|
16
16
|
}
|
|
17
17
|
|
|
@@ -93,8 +93,8 @@ declare class LazyImgDirective implements OnInit, OnDestroy {
|
|
|
93
93
|
lazySrc: string;
|
|
94
94
|
loadError: EventEmitter<void>;
|
|
95
95
|
private observer;
|
|
96
|
+
private readonly onError;
|
|
96
97
|
constructor(el: ElementRef<HTMLImageElement>, lazyService: LazyImageService);
|
|
97
|
-
private onError;
|
|
98
98
|
ngOnInit(): void;
|
|
99
99
|
ngOnDestroy(): void;
|
|
100
100
|
static ɵfac: i0.ɵɵFactoryDeclaration<LazyImgDirective, never>;
|
|
@@ -381,6 +381,7 @@ declare class UiDailyCalendarDirective {
|
|
|
381
381
|
private readonly weekDaysEuropean;
|
|
382
382
|
private readonly weekDaysUsa;
|
|
383
383
|
readonly $isRangeSelection: InputSignal<boolean>;
|
|
384
|
+
readonly $dateFormat: InputSignal<'european' | 'usa' | undefined>;
|
|
384
385
|
readonly $minDate: InputSignal<Date | undefined>;
|
|
385
386
|
readonly $maxDate: InputSignal<Date | undefined>;
|
|
386
387
|
get weekDays(): string[];
|
|
@@ -405,7 +406,7 @@ declare class UiDailyCalendarDirective {
|
|
|
405
406
|
private isUsaDateFormat;
|
|
406
407
|
protected select(date: Date): void;
|
|
407
408
|
static ɵfac: i0.ɵɵFactoryDeclaration<UiDailyCalendarDirective, never>;
|
|
408
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<UiDailyCalendarDirective, "app-ui-daily-calendar", never, { "$isRangeSelection": { "alias": "$isRangeSelection"; "required": false; "isSignal": true; }; "$minDate": { "alias": "$minDate"; "required": false; "isSignal": true; }; "$maxDate": { "alias": "$maxDate"; "required": false; "isSignal": true; }; "$dateStart": { "alias": "$dateStart"; "required": false; "isSignal": true; }; "$dateEnd": { "alias": "$dateEnd"; "required": false; "isSignal": true; }; "$currentMonth": { "alias": "$currentMonth"; "required": true; "isSignal": true; }; "$currentYear": { "alias": "$currentYear"; "required": true; "isSignal": true; }; }, { "$dateStart": "$dateStartChange"; "$dateEnd": "$dateEndChange"; "$currentMonth": "$currentMonthChange"; "$currentYear": "$currentYearChange"; "$onRangeSelect": "$onRangeSelect"; "$onSelect": "$onSelect"; }, never, never, true, never>;
|
|
409
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<UiDailyCalendarDirective, "app-ui-daily-calendar", never, { "$isRangeSelection": { "alias": "$isRangeSelection"; "required": false; "isSignal": true; }; "$dateFormat": { "alias": "$dateFormat"; "required": false; "isSignal": true; }; "$minDate": { "alias": "$minDate"; "required": false; "isSignal": true; }; "$maxDate": { "alias": "$maxDate"; "required": false; "isSignal": true; }; "$dateStart": { "alias": "$dateStart"; "required": false; "isSignal": true; }; "$dateEnd": { "alias": "$dateEnd"; "required": false; "isSignal": true; }; "$currentMonth": { "alias": "$currentMonth"; "required": true; "isSignal": true; }; "$currentYear": { "alias": "$currentYear"; "required": true; "isSignal": true; }; }, { "$dateStart": "$dateStartChange"; "$dateEnd": "$dateEndChange"; "$currentMonth": "$currentMonthChange"; "$currentYear": "$currentYearChange"; "$onRangeSelect": "$onRangeSelect"; "$onSelect": "$onSelect"; }, never, never, true, never>;
|
|
409
410
|
}
|
|
410
411
|
|
|
411
412
|
declare abstract class UiMonthlyCalendarDirective {
|
|
@@ -448,6 +449,7 @@ declare class UiCalendarDropdownDirective {
|
|
|
448
449
|
isRangeSelection: boolean;
|
|
449
450
|
minDate: Date | undefined;
|
|
450
451
|
maxDate: Date | undefined;
|
|
452
|
+
dateFormat: 'european' | 'usa' | undefined;
|
|
451
453
|
protected $close: WritableSignal<boolean>;
|
|
452
454
|
protected $height: WritableSignal<number>;
|
|
453
455
|
protected $width: WritableSignal<number>;
|
|
@@ -479,7 +481,7 @@ declare class UiCalendarDropdownDirective {
|
|
|
479
481
|
height: number;
|
|
480
482
|
}): void;
|
|
481
483
|
static ɵfac: i0.ɵɵFactoryDeclaration<UiCalendarDropdownDirective, never>;
|
|
482
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<UiCalendarDropdownDirective, "app-ui-calendar-dropdown-calendar", never, { "action": { "alias": "action"; "required": false; }; "rangeSelect": { "alias": "rangeSelect"; "required": false; }; "startDate": { "alias": "startDate"; "required": false; }; "endDate": { "alias": "endDate"; "required": false; }; "isRangeSelection": { "alias": "isRangeSelection"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; }, {}, never, never, true, never>;
|
|
484
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<UiCalendarDropdownDirective, "app-ui-calendar-dropdown-calendar", never, { "action": { "alias": "action"; "required": false; }; "rangeSelect": { "alias": "rangeSelect"; "required": false; }; "startDate": { "alias": "startDate"; "required": false; }; "endDate": { "alias": "endDate"; "required": false; }; "isRangeSelection": { "alias": "isRangeSelection"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "dateFormat": { "alias": "dateFormat"; "required": false; }; }, {}, never, never, true, never>;
|
|
483
485
|
}
|
|
484
486
|
|
|
485
487
|
interface Highlighted {
|
|
@@ -975,6 +977,7 @@ declare abstract class UiInputDirective extends UiFieldBaseDirective<string> {
|
|
|
975
977
|
protected readonly renderer: Renderer2;
|
|
976
978
|
readonly $size: InputSignal<Size>;
|
|
977
979
|
readonly $placeholder: InputSignal<string>;
|
|
980
|
+
readonly $maxLength: InputSignal<number | undefined>;
|
|
978
981
|
readonly $inputMode: InputSignal<InputMode>;
|
|
979
982
|
readonly $label: InputSignal<string>;
|
|
980
983
|
readonly $shouldFocusedAfterViewInit: InputSignal<boolean>;
|
|
@@ -984,7 +987,7 @@ declare abstract class UiInputDirective extends UiFieldBaseDirective<string> {
|
|
|
984
987
|
protected readonly $isError: Signal<boolean>;
|
|
985
988
|
constructor(elementRef: ElementRef<HTMLInputElement>, renderer: Renderer2);
|
|
986
989
|
static ɵfac: i0.ɵɵFactoryDeclaration<UiInputDirective, never>;
|
|
987
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<UiInputDirective, "app-ui-input", never, { "$size": { "alias": "$size"; "required": false; "isSignal": true; }; "$placeholder": { "alias": "$placeholder"; "required": false; "isSignal": true; }; "$inputMode": { "alias": "$inputMode"; "required": false; "isSignal": true; }; "$label": { "alias": "$label"; "required": false; "isSignal": true; }; "$shouldFocusedAfterViewInit": { "alias": "$shouldFocusedAfterViewInit"; "required": false; "isSignal": true; }; "$isRounded": { "alias": "$isRounded"; "required": false; "isSignal": true; }; "$hideValidatorErrors": { "alias": "$hideValidatorErrors"; "required": false; "isSignal": true; }; "$icon": { "alias": "$icon"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
990
|
+
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; }; "$shouldFocusedAfterViewInit": { "alias": "$shouldFocusedAfterViewInit"; "required": false; "isSignal": true; }; "$isRounded": { "alias": "$isRounded"; "required": false; "isSignal": true; }; "$hideValidatorErrors": { "alias": "$hideValidatorErrors"; "required": false; "isSignal": true; }; "$icon": { "alias": "$icon"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
988
991
|
}
|
|
989
992
|
|
|
990
993
|
declare abstract class UiInputCountryDirective extends UiInputDirective implements AfterViewInit {
|
|
@@ -1004,6 +1007,7 @@ declare abstract class UiInputCountryDirective extends UiInputDirective implemen
|
|
|
1004
1007
|
declare abstract class UIInputDateDirective extends UiInputDirective {
|
|
1005
1008
|
protected readonly $isOpen: WritableSignal<boolean>;
|
|
1006
1009
|
readonly $isRangeSelection: InputSignal<boolean>;
|
|
1010
|
+
readonly $dateFormat: InputSignal<'european' | 'usa' | undefined>;
|
|
1007
1011
|
readonly $dividePattern: InputSignal<string>;
|
|
1008
1012
|
readonly $minDate: InputSignal<Date | undefined>;
|
|
1009
1013
|
readonly $maxDate: InputSignal<Date | undefined>;
|
|
@@ -1018,7 +1022,7 @@ declare abstract class UIInputDateDirective extends UiInputDirective {
|
|
|
1018
1022
|
onInput(value: string): void;
|
|
1019
1023
|
private maskDate;
|
|
1020
1024
|
static ɵfac: i0.ɵɵFactoryDeclaration<UIInputDateDirective, never>;
|
|
1021
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<UIInputDateDirective, "app-ui-input-date", never, { "$isRangeSelection": { "alias": "$isRangeSelection"; "required": false; "isSignal": true; }; "$dividePattern": { "alias": "$dividePattern"; "required": false; "isSignal": true; }; "$minDate": { "alias": "$minDate"; "required": false; "isSignal": true; }; "$maxDate": { "alias": "$maxDate"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
1025
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<UIInputDateDirective, "app-ui-input-date", never, { "$isRangeSelection": { "alias": "$isRangeSelection"; "required": false; "isSignal": true; }; "$dateFormat": { "alias": "$dateFormat"; "required": false; "isSignal": true; }; "$dividePattern": { "alias": "$dividePattern"; "required": false; "isSignal": true; }; "$minDate": { "alias": "$minDate"; "required": false; "isSignal": true; }; "$maxDate": { "alias": "$maxDate"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
1022
1026
|
}
|
|
1023
1027
|
|
|
1024
1028
|
declare abstract class UIPhoneNumberDirective extends UiInputDirective implements AfterViewInit {
|
|
@@ -1062,6 +1066,7 @@ declare abstract class UiInputSequenceDirective extends UiInputDirective {
|
|
|
1062
1066
|
}
|
|
1063
1067
|
|
|
1064
1068
|
declare abstract class UiInputTimeDirective extends UiInputDirective {
|
|
1069
|
+
readonly $timeFormat: InputSignal<'24h' | '12h' | undefined>;
|
|
1065
1070
|
protected get times(): string[];
|
|
1066
1071
|
protected get inputMode(): 'numeric' | 'text';
|
|
1067
1072
|
private $inputElement;
|
|
@@ -1073,15 +1078,14 @@ declare abstract class UiInputTimeDirective extends UiInputDirective {
|
|
|
1073
1078
|
private clampTwelveHour;
|
|
1074
1079
|
private clampMinutes;
|
|
1075
1080
|
private extractMeridiem;
|
|
1076
|
-
|
|
1081
|
+
protected is12HourFormat(): boolean;
|
|
1077
1082
|
private formatTime;
|
|
1078
1083
|
static ɵfac: i0.ɵɵFactoryDeclaration<UiInputTimeDirective, never>;
|
|
1079
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<UiInputTimeDirective, "app-ui-input-time", never, {}, {}, never, never, true, never>;
|
|
1084
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<UiInputTimeDirective, "app-ui-input-time", never, { "$timeFormat": { "alias": "$timeFormat"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
1080
1085
|
}
|
|
1081
1086
|
|
|
1082
1087
|
declare class UiTimeDropdownDirective {
|
|
1083
1088
|
protected readonly $close: WritableSignal<boolean>;
|
|
1084
|
-
protected readonly is12HourFormat: boolean;
|
|
1085
1089
|
protected readonly $hourForm: WritableSignal<string>;
|
|
1086
1090
|
protected readonly $minuteForm: WritableSignal<string>;
|
|
1087
1091
|
protected readonly $periodForm: WritableSignal<string>;
|
|
@@ -1090,10 +1094,12 @@ declare class UiTimeDropdownDirective {
|
|
|
1090
1094
|
protected readonly $period: FieldTree<string>;
|
|
1091
1095
|
action: (time: string) => void;
|
|
1092
1096
|
initialValue: string | null;
|
|
1097
|
+
timeFormat: '24h' | '12h' | undefined;
|
|
1098
|
+
protected get is12HourFormat(): boolean;
|
|
1093
1099
|
ngOnInit(): void;
|
|
1094
|
-
protected onHourInput(
|
|
1095
|
-
protected onMinuteInput(
|
|
1096
|
-
protected onPeriodInput(
|
|
1100
|
+
protected onHourInput(_: Event): void;
|
|
1101
|
+
protected onMinuteInput(_: Event): void;
|
|
1102
|
+
protected onPeriodInput(_: Event): void;
|
|
1097
1103
|
protected increaseHour(): void;
|
|
1098
1104
|
protected decreaseHour(): void;
|
|
1099
1105
|
protected increaseMinute(): void;
|
|
@@ -1111,7 +1117,7 @@ declare class UiTimeDropdownDirective {
|
|
|
1111
1117
|
private emitTime;
|
|
1112
1118
|
onTimeSelect(time: string): void;
|
|
1113
1119
|
static ɵfac: i0.ɵɵFactoryDeclaration<UiTimeDropdownDirective, never>;
|
|
1114
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<UiTimeDropdownDirective, "app-ui-time-dropdown", never, { "action": { "alias": "action"; "required": false; }; "initialValue": { "alias": "initialValue"; "required": false; }; }, {}, never, never, true, never>;
|
|
1120
|
+
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>;
|
|
1115
1121
|
}
|
|
1116
1122
|
|
|
1117
1123
|
export { Alert, AlertType, AppIconsLibrary, AutoFocusDirective, CenterEllipsisPipe, CountryService, DateUtils, EMAIL, 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, stringToHslColor };
|