@dsivd/prestations-ng 19.0.1 → 19.0.2-beta.2
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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { OnInit, AfterViewInit, Signal, ElementRef, DestroyRef, OnDestroy, OnChanges, SimpleChanges, EnvironmentProviders, SimpleChange, PipeTransform, TemplateRef, TrackByFunction, InjectionToken, ErrorHandler, NgZone } from '@angular/core';
|
|
2
|
+
import { OnInit, AfterViewInit, Signal, ElementRef, DestroyRef, OnDestroy, OnChanges, SimpleChanges, EnvironmentProviders, SimpleChange, AfterViewChecked, PipeTransform, TemplateRef, TrackByFunction, InjectionToken, ErrorHandler, NgZone } from '@angular/core';
|
|
3
3
|
import { Params, Route, ActivatedRoute, ActivatedRouteSnapshot, CanActivateFn, Router, QueryParamsHandling } from '@angular/router';
|
|
4
4
|
import { Observable, Subject, BehaviorSubject } from 'rxjs';
|
|
5
5
|
import { NgModel, NgForm } from '@angular/forms';
|
|
@@ -1134,7 +1134,7 @@ declare abstract class FoehnCheckableGroupComponent extends FoehnInputComponent<
|
|
|
1134
1134
|
* By default `x => x`
|
|
1135
1135
|
*/
|
|
1136
1136
|
readonly elementValueIdentity: _angular_core.InputSignal<(element: any) => any>;
|
|
1137
|
-
readonly elementDisabled: _angular_core.InputSignal<any>;
|
|
1137
|
+
readonly elementDisabled: _angular_core.InputSignal<string | ((element: any) => boolean)>;
|
|
1138
1138
|
readonly elementGroup: _angular_core.InputSignal<any>;
|
|
1139
1139
|
readonly autocomplete: _angular_core.InputSignalWithTransform<string | boolean, string | boolean>;
|
|
1140
1140
|
readonly defaultElementValue: _angular_core.InputSignal<string>;
|
|
@@ -1145,6 +1145,7 @@ declare abstract class FoehnCheckableGroupComponent extends FoehnInputComponent<
|
|
|
1145
1145
|
private readonly ngZone;
|
|
1146
1146
|
private pulling_;
|
|
1147
1147
|
private _onInitSubject;
|
|
1148
|
+
private disabledByElements;
|
|
1148
1149
|
constructor();
|
|
1149
1150
|
get onInitSubject(): Subject<void>;
|
|
1150
1151
|
ngOnInit(): void;
|
|
@@ -1155,7 +1156,8 @@ declare abstract class FoehnCheckableGroupComponent extends FoehnInputComponent<
|
|
|
1155
1156
|
getValue(element: any): string;
|
|
1156
1157
|
getLabel(element: any): string;
|
|
1157
1158
|
getElementIdentifier(element: any): string;
|
|
1158
|
-
getDisabled(element: any):
|
|
1159
|
+
getDisabled(element: any): boolean;
|
|
1160
|
+
getElementDisabled(element: any): boolean;
|
|
1159
1161
|
onCheck(element: any, valueEmitted: any, fireModelChange?: boolean): void;
|
|
1160
1162
|
isElementSelected(element: any): boolean;
|
|
1161
1163
|
reset(): void;
|
|
@@ -1217,7 +1219,7 @@ declare class FoehnAutocompleteComponent extends FoehnCheckableGroupComponent im
|
|
|
1217
1219
|
VIEW_PORT_HEIGHT: number;
|
|
1218
1220
|
displayedElements: any[];
|
|
1219
1221
|
notificationMessageUpdated: boolean;
|
|
1220
|
-
disabledSubject: Observable<
|
|
1222
|
+
disabledSubject: Observable<boolean>;
|
|
1221
1223
|
private currentItemGlobalIndex;
|
|
1222
1224
|
private readonly NB_ITEMS_VISIBLE;
|
|
1223
1225
|
private filterSubject;
|
|
@@ -1445,11 +1447,13 @@ declare class FoehnCheckboxComponent extends FoehnCheckableGroupComponent implem
|
|
|
1445
1447
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FoehnCheckboxComponent, "foehn-checkbox", never, {}, {}, never, ["*"], true, never>;
|
|
1446
1448
|
}
|
|
1447
1449
|
|
|
1448
|
-
declare class FoehnRadioComponent extends FoehnCheckableGroupComponent implements OnInit {
|
|
1450
|
+
declare class FoehnRadioComponent extends FoehnCheckableGroupComponent implements OnInit, AfterViewChecked {
|
|
1449
1451
|
inputValue: string;
|
|
1450
1452
|
ngOnInit(): void;
|
|
1451
1453
|
onModelChange(value: any): void;
|
|
1454
|
+
ngAfterViewChecked(): void;
|
|
1452
1455
|
getValueOrObject(element: any): string;
|
|
1456
|
+
private syncDisabledState;
|
|
1453
1457
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FoehnRadioComponent, never>;
|
|
1454
1458
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FoehnRadioComponent, "foehn-radio", never, {}, {}, never, ["*"], true, never>;
|
|
1455
1459
|
}
|
|
@@ -3334,9 +3338,9 @@ declare class FoehnDatePickerComponent implements OnInit {
|
|
|
3334
3338
|
onDaysFocusout(): void;
|
|
3335
3339
|
getDayTabIndex(day: DayMonth): number;
|
|
3336
3340
|
focusDefaultDay(): void;
|
|
3337
|
-
getDayDisabledAttribute(dayOfWeek: DayMonth):
|
|
3338
|
-
isPreviousMonthDisabled(monthYear: MonthYear):
|
|
3339
|
-
isNextMonthDisabled(monthYear: MonthYear):
|
|
3341
|
+
getDayDisabledAttribute(dayOfWeek: DayMonth): boolean;
|
|
3342
|
+
isPreviousMonthDisabled(monthYear: MonthYear): boolean;
|
|
3343
|
+
isNextMonthDisabled(monthYear: MonthYear): boolean;
|
|
3340
3344
|
private isDateInRange;
|
|
3341
3345
|
private initializeDatepicker;
|
|
3342
3346
|
private setDate;
|
|
Binary file
|