@dsivd/prestations-ng 19.2.0-beta.2 → 19.2.0-beta.20
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/CHANGELOG.md +301 -0
- package/CONTRIBUTING.md +74 -4
- package/GOOD_PRACTICES.md +673 -372
- package/INTRODUCTION_ANGULAR_SIGNALS.md +199 -154
- package/UPGRADING_V18.md +5 -5
- package/UPGRADING_V19.md +278 -13
- package/eslint/configs/spec-ts-recommended.mjs +34 -0
- package/eslint/configs/template-recommended.mjs +2 -0
- package/eslint/configs/template-rules.mjs +6 -2
- package/eslint/configs/ts-recommended.mjs +2 -0
- package/eslint/configs/ts-rules.mjs +6 -2
- package/eslint/index.mjs +17 -0
- package/eslint/rules/no-direct-signal-mutation.mjs +1 -1
- package/fesm2022/dsivd-prestations-ng.mjs +2356 -1878
- package/fesm2022/dsivd-prestations-ng.mjs.map +1 -1
- package/package.json +1 -2
- package/schematics/ng-add/index.js +2 -4
- package/schematics/ng-update/migrations/update-13_2_0/index.js +7 -2
- package/schematics/utility/add-allowed-common-js-dependencies.js +39 -29
- package/schematics/utility/remove-emit-decorator-metadata.js +8 -9
- package/src/eslint/configs/__tests__/configs.test.mjs +46 -2
- package/src/eslint/configs/spec-ts-recommended.mjs +34 -0
- package/src/eslint/configs/template-recommended.mjs +2 -0
- package/src/eslint/configs/template-rules.mjs +6 -2
- package/src/eslint/configs/ts-recommended.mjs +2 -0
- package/src/eslint/configs/ts-rules.mjs +6 -2
- package/src/eslint/index.mjs +17 -0
- package/src/eslint/rules/no-direct-signal-mutation.mjs +1 -1
- package/types/dsivd-prestations-ng.d.ts +422 -209
- package/dsivd-prestations-ng-19.2.0-beta.2.tgz +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { OnInit, AfterViewInit, Signal,
|
|
2
|
+
import { ElementRef, OnInit, AfterViewInit, Signal, DestroyRef, OnDestroy, InjectionToken, OnChanges, SimpleChanges, EnvironmentProviders, Injector, SimpleChange, AfterViewChecked, PipeTransform, TemplateRef, TrackByFunction, 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';
|
|
@@ -75,12 +75,38 @@ declare class BreadcrumbEventService {
|
|
|
75
75
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<BreadcrumbEventService>;
|
|
76
76
|
}
|
|
77
77
|
|
|
78
|
+
type FoehnModalSize = '' | 'modal-sm' | 'modal-md' | 'modal-lg' | 'modal-xl';
|
|
79
|
+
declare class FoehnModalComponent {
|
|
80
|
+
readonly isModalVisible: _angular_core.ModelSignal<boolean>;
|
|
81
|
+
readonly id: _angular_core.InputSignal<string | undefined>;
|
|
82
|
+
readonly modalBodyText: _angular_core.InputSignal<string | undefined>;
|
|
83
|
+
readonly modalHeaderText: _angular_core.InputSignal<string | undefined>;
|
|
84
|
+
readonly closeable: _angular_core.InputSignal<boolean>;
|
|
85
|
+
readonly draggable: _angular_core.InputSignal<boolean>;
|
|
86
|
+
readonly hideable: _angular_core.InputSignal<boolean>;
|
|
87
|
+
readonly modalTriggerHtmlElement: _angular_core.InputSignal<HTMLElement | undefined>;
|
|
88
|
+
readonly name: _angular_core.InputSignal<string | undefined>;
|
|
89
|
+
readonly modalSize: _angular_core.InputSignal<FoehnModalSize | undefined>;
|
|
90
|
+
readonly modalBody: _angular_core.Signal<ElementRef<any> | undefined>;
|
|
91
|
+
readonly modalTitle: _angular_core.Signal<ElementRef<any> | undefined>;
|
|
92
|
+
readonly specificfooter: _angular_core.Signal<ElementRef<any> | undefined>;
|
|
93
|
+
readonly modalDefaultCloseBtn: _angular_core.Signal<ElementRef<any> | undefined>;
|
|
94
|
+
private readonly injector;
|
|
95
|
+
private previousIsVisible;
|
|
96
|
+
private readonly visibilityEffect;
|
|
97
|
+
handleKeyboardEvent(event: KeyboardEvent): void;
|
|
98
|
+
private focusOnContainer;
|
|
99
|
+
private focusOnModalTrigger;
|
|
100
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FoehnModalComponent, never>;
|
|
101
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FoehnModalComponent, "foehn-modal", never, { "isModalVisible": { "alias": "isModalVisible"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "modalBodyText": { "alias": "modalBodyText"; "required": false; "isSignal": true; }; "modalHeaderText": { "alias": "modalHeaderText"; "required": false; "isSignal": true; }; "closeable": { "alias": "closeable"; "required": false; "isSignal": true; }; "draggable": { "alias": "draggable"; "required": false; "isSignal": true; }; "hideable": { "alias": "hideable"; "required": false; "isSignal": true; }; "modalTriggerHtmlElement": { "alias": "modalTriggerHtmlElement"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "modalSize": { "alias": "modalSize"; "required": false; "isSignal": true; }; }, { "isModalVisible": "isModalVisibleChange"; }, never, ["*", "[modal-footer]"], true, never>;
|
|
102
|
+
}
|
|
103
|
+
|
|
78
104
|
interface HelpModal {
|
|
79
105
|
buttonTitle?: string;
|
|
80
106
|
title: string;
|
|
81
107
|
body?: string;
|
|
82
108
|
images?: Image[];
|
|
83
|
-
modalSize?:
|
|
109
|
+
modalSize?: FoehnModalSize;
|
|
84
110
|
}
|
|
85
111
|
interface Image {
|
|
86
112
|
src?: string;
|
|
@@ -117,6 +143,7 @@ declare class ValidationHandlerService {
|
|
|
117
143
|
|
|
118
144
|
declare const GESDEM_MAX_DATA_LENGTH = 10000;
|
|
119
145
|
declare abstract class FoehnInputComponent<T> implements OnInit, AfterViewInit {
|
|
146
|
+
#private;
|
|
120
147
|
readonly model: _angular_core.ModelSignal<T | null | undefined>;
|
|
121
148
|
readonly pattern: _angular_core.ModelSignal<string | undefined>;
|
|
122
149
|
readonly helpModal: _angular_core.ModelSignal<HelpModal | undefined>;
|
|
@@ -194,14 +221,20 @@ declare abstract class FoehnInputComponent<T> implements OnInit, AfterViewInit {
|
|
|
194
221
|
protected readonly hostHidden: Signal<"hidden" | null>;
|
|
195
222
|
protected readonly _destroyRef: DestroyRef;
|
|
196
223
|
private readonly registerNgModelService;
|
|
197
|
-
private _errors;
|
|
224
|
+
private readonly _errors;
|
|
198
225
|
private readonly userInputSubject;
|
|
199
226
|
private readonly subComponentsEffect;
|
|
200
227
|
private readonly modelEffect;
|
|
201
228
|
get errors(): FormError[];
|
|
202
229
|
ngOnInit(): void;
|
|
203
230
|
ngAfterViewInit(): void;
|
|
204
|
-
|
|
231
|
+
/**
|
|
232
|
+
* Called with every new model (given by the page or set by the component), once `model_` is up to date. Does
|
|
233
|
+
* nothing by default: to override only to act on a new model, e.g. to normalize it. Fields derived from the
|
|
234
|
+
* model are `linkedSignal()` or `computed()`, not copies made here.
|
|
235
|
+
* @param _value the new model
|
|
236
|
+
*/
|
|
237
|
+
onModelChange(_value: T | null | undefined): void;
|
|
205
238
|
handleChange(value: T | null): void;
|
|
206
239
|
updateNgModel(value: T | null): void;
|
|
207
240
|
hasErrorsToDisplay(): boolean;
|
|
@@ -228,6 +261,14 @@ declare abstract class FoehnInputComponent<T> implements OnInit, AfterViewInit {
|
|
|
228
261
|
getAutoComplete(): string | undefined;
|
|
229
262
|
protected getFirstInputComponentEnabled(subComponents: readonly FoehnInputComponent<any>[]): FoehnInputComponent<any> | null;
|
|
230
263
|
protected findFirstHtmlInputElementEnabled(elementNodeListOf: NodeListOf<Element>): HTMLInputElement | null;
|
|
264
|
+
/**
|
|
265
|
+
* Whether a model given by the page has a value to display, which makes it known (`model_`) before
|
|
266
|
+
* `onModelChange()`: by default, any value (see `ObjectHelper.hasAnyValue()`). To override when the component
|
|
267
|
+
* doesn't display a part of its model (e.g. the country of an address only Swiss, or an id).
|
|
268
|
+
* @param value of the model
|
|
269
|
+
* @returns whether the model has a value to display
|
|
270
|
+
*/
|
|
271
|
+
protected hasValueToDisplay(value: T | null | undefined): boolean;
|
|
231
272
|
protected isEmpty(data: unknown): boolean;
|
|
232
273
|
protected isEmptyWhenTrimmedIfString(data: unknown): boolean;
|
|
233
274
|
protected triggerUserInput(value: T | null | undefined): void;
|
|
@@ -296,6 +337,8 @@ declare class FoehnNavigationService {
|
|
|
296
337
|
private isInit;
|
|
297
338
|
private readonly initializedAndRouteActivated;
|
|
298
339
|
private linearRouting;
|
|
340
|
+
private readonly pendingNavigationDirectionSubject;
|
|
341
|
+
private lastNavigationId;
|
|
299
342
|
get initialized(): boolean;
|
|
300
343
|
set activatedRoute(value: ActivatedRoute);
|
|
301
344
|
static getRootRouteRecursive(route: ActivatedRouteSnapshot | null): Route | null;
|
|
@@ -305,6 +348,12 @@ declare class FoehnNavigationService {
|
|
|
305
348
|
getFirstRoute(): Route;
|
|
306
349
|
current(): Promise<boolean>;
|
|
307
350
|
hasBeenInitialized(): Observable<boolean>;
|
|
351
|
+
/**
|
|
352
|
+
* Direction of the navigation started with next() or previous() until it ends, null otherwise.
|
|
353
|
+
* The current page stays displayed while the target one is activated (e.g. lazy loaded route).
|
|
354
|
+
* @returns Observable<NavigationDirection | null>
|
|
355
|
+
*/
|
|
356
|
+
pendingNavigationDirection(): Observable<NavigationDirection | null>;
|
|
308
357
|
getQueryParamsToForwardAsString(): string;
|
|
309
358
|
getQueryParamsToForward(): Params | null;
|
|
310
359
|
next(): Promise<boolean>;
|
|
@@ -429,7 +478,7 @@ declare class GesdemHandlerService {
|
|
|
429
478
|
private readonly dictionaryService;
|
|
430
479
|
private readonly dateHelper;
|
|
431
480
|
private readonly _updateFormDataSubject;
|
|
432
|
-
private _lastResponse;
|
|
481
|
+
private readonly _lastResponse;
|
|
433
482
|
private _captchaToken;
|
|
434
483
|
get lastResponse(): FormPostResponse<I18nForm>;
|
|
435
484
|
get updateFormDataSubject(): Observable<I18nForm | undefined | null>;
|
|
@@ -478,7 +527,7 @@ declare class SdkDictionaryService {
|
|
|
478
527
|
private readonly httpClient;
|
|
479
528
|
private readonly growlService;
|
|
480
529
|
private readonly validationService;
|
|
481
|
-
private dictionary;
|
|
530
|
+
private readonly dictionary;
|
|
482
531
|
private defaultLanguageCode;
|
|
483
532
|
private readonly dictionaryObservable;
|
|
484
533
|
private readonly availableLanguagesObservable;
|
|
@@ -530,6 +579,7 @@ declare class SdkEventsLoggerService {
|
|
|
530
579
|
}
|
|
531
580
|
|
|
532
581
|
declare abstract class AbstractPageComponent<T extends I18nForm> implements OnInit, AfterViewInit {
|
|
582
|
+
#private;
|
|
533
583
|
readonly foehnFormComponent: _angular_core.Signal<FoehnFormComponent | undefined>;
|
|
534
584
|
form: T | undefined | null;
|
|
535
585
|
reference: string | null | undefined;
|
|
@@ -547,6 +597,7 @@ declare abstract class AbstractPageComponent<T extends I18nForm> implements OnIn
|
|
|
547
597
|
private readonly _pendingUploadService;
|
|
548
598
|
private readonly _transmitConcurrentSafe;
|
|
549
599
|
private _gesdemSaveSubscription;
|
|
600
|
+
private _isNavigatingToNextPage;
|
|
550
601
|
private readonly _registerNgModelService;
|
|
551
602
|
private readonly _pageTitle;
|
|
552
603
|
constructor();
|
|
@@ -559,6 +610,14 @@ declare abstract class AbstractPageComponent<T extends I18nForm> implements OnIn
|
|
|
559
610
|
protected setPageTitle(pageTitle: string): void;
|
|
560
611
|
protected setPageTitleAsync(pageTitle: Observable<string>): void;
|
|
561
612
|
protected onFormSent(goToNextPage: boolean): void;
|
|
613
|
+
/**
|
|
614
|
+
* Navigates to the next page and ignores send(), sendAndTransmit() and transmit() until the navigation ends.
|
|
615
|
+
*
|
|
616
|
+
* The current page stays displayed and clickable while the next one is activated (e.g. lazy loaded route,
|
|
617
|
+
* resolver or async guard): a second click on "next" would save again, then navigate once more from the
|
|
618
|
+
* next page and skip it.
|
|
619
|
+
*/
|
|
620
|
+
protected navigateToNextPage(): Promise<void>;
|
|
562
621
|
private checkHasPendingsFilesBeforeTransmit;
|
|
563
622
|
private gotToTop;
|
|
564
623
|
abstract newForm(): T;
|
|
@@ -569,7 +628,7 @@ declare abstract class AbstractPageComponent<T extends I18nForm> implements OnIn
|
|
|
569
628
|
declare class FoehnNotfoundComponent implements OnInit, OnDestroy {
|
|
570
629
|
readonly shouldRedirect: _angular_core.InputSignal<boolean>;
|
|
571
630
|
readonly setPageTitle: _angular_core.InputSignal<boolean>;
|
|
572
|
-
seconds: number
|
|
631
|
+
readonly seconds: _angular_core.WritableSignal<number>;
|
|
573
632
|
private readonly router;
|
|
574
633
|
private readonly foehnPageService;
|
|
575
634
|
private intervalId;
|
|
@@ -816,7 +875,8 @@ declare class GesdemErrorComponent implements OnInit {
|
|
|
816
875
|
}
|
|
817
876
|
|
|
818
877
|
/**
|
|
819
|
-
* Provides the core PrestationsNg configuration (HTTP interceptors, error handler
|
|
878
|
+
* Provides the core PrestationsNg configuration (HTTP interceptors, error handler and global error
|
|
879
|
+
* listeners, FontAwesome config).
|
|
820
880
|
* Replaces the old PrestationsNgCoreModule.
|
|
821
881
|
*
|
|
822
882
|
* Usage in bootstrapApplication:
|
|
@@ -834,6 +894,8 @@ declare class SessionInfoWithApplicationService {
|
|
|
834
894
|
private readonly gesdemService;
|
|
835
895
|
private sessionInfoWithNoReference;
|
|
836
896
|
private referenceObservable;
|
|
897
|
+
private readonly isUserConnectedObservable;
|
|
898
|
+
private readonly isReadyObservable;
|
|
837
899
|
constructor();
|
|
838
900
|
get isUserConnected(): Observable<boolean>;
|
|
839
901
|
get isReady(): Observable<boolean>;
|
|
@@ -897,7 +959,7 @@ declare class FoehnPageComponent implements OnChanges, OnInit {
|
|
|
897
959
|
* reloading the page while having unsaved data.
|
|
898
960
|
*/
|
|
899
961
|
readonly showBeforeUnloadNativeConfirmAlert: _angular_core.InputSignal<boolean | undefined>;
|
|
900
|
-
pageTitle: string | undefined
|
|
962
|
+
readonly pageTitle: _angular_core.WritableSignal<string | undefined>;
|
|
901
963
|
hasBlockingSupportAlert: Observable<boolean>;
|
|
902
964
|
displayUserCategory: Observable<boolean> | undefined;
|
|
903
965
|
showSecuredAreaLoginButton: Observable<boolean> | undefined;
|
|
@@ -937,9 +999,12 @@ declare class FoehnPageComponent implements OnChanges, OnInit {
|
|
|
937
999
|
|
|
938
1000
|
declare class FoehnPageCounterComponent {
|
|
939
1001
|
readonly textTemplate: _angular_core.InputSignal<string>;
|
|
940
|
-
|
|
1002
|
+
/**
|
|
1003
|
+
* The counter is displayed once the page has been rendered,
|
|
1004
|
+
* when the current route of the navigation is known.
|
|
1005
|
+
*/
|
|
1006
|
+
readonly isStable: _angular_core.WritableSignal<boolean>;
|
|
941
1007
|
private readonly foehnNavigationService;
|
|
942
|
-
private readonly ngZone;
|
|
943
1008
|
constructor();
|
|
944
1009
|
get placeholders(): PlaceholderType;
|
|
945
1010
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FoehnPageCounterComponent, never>;
|
|
@@ -1026,7 +1091,7 @@ declare class FoehnHeaderComponent implements OnInit {
|
|
|
1026
1091
|
readonly isParticulier: _angular_core.Signal<boolean>;
|
|
1027
1092
|
readonly prenomNom: _angular_core.Signal<string>;
|
|
1028
1093
|
id: string;
|
|
1029
|
-
connectedEsMenu: DropdownMenuGroup[] | undefined
|
|
1094
|
+
readonly connectedEsMenu: _angular_core.Signal<DropdownMenuGroup[] | undefined>;
|
|
1030
1095
|
isProduction: Observable<boolean> | undefined;
|
|
1031
1096
|
mockedServices: Observable<string[] | null | undefined> | undefined;
|
|
1032
1097
|
availableLanguages: Observable<Language[]> | undefined;
|
|
@@ -1040,7 +1105,6 @@ declare class FoehnHeaderComponent implements OnInit {
|
|
|
1040
1105
|
private readonly destroyRef;
|
|
1041
1106
|
private readonly ENV_PROD;
|
|
1042
1107
|
private readonly AVS;
|
|
1043
|
-
constructor();
|
|
1044
1108
|
ngOnInit(): void;
|
|
1045
1109
|
getEnvironmentLabel(info: ApplicationInfo): string | null | undefined;
|
|
1046
1110
|
languageChanged(languageCode: string): void;
|
|
@@ -1070,7 +1134,7 @@ declare class FoehnSkipLinkComponent implements OnInit {
|
|
|
1070
1134
|
|
|
1071
1135
|
declare class FoehnStatusProgressBarComponent implements OnInit {
|
|
1072
1136
|
readonly hidden: _angular_core.InputSignal<boolean | undefined>;
|
|
1073
|
-
isTransmitted: boolean
|
|
1137
|
+
readonly isTransmitted: _angular_core.WritableSignal<boolean>;
|
|
1074
1138
|
protected activatedRoute: ActivatedRoute;
|
|
1075
1139
|
private readonly navigation;
|
|
1076
1140
|
private readonly gesdemHand;
|
|
@@ -1124,6 +1188,7 @@ declare class FormSelectOptionGroup {
|
|
|
1124
1188
|
}
|
|
1125
1189
|
|
|
1126
1190
|
declare abstract class FoehnCheckableGroupComponent extends FoehnInputComponent<any> implements OnInit, OnChanges {
|
|
1191
|
+
#private;
|
|
1127
1192
|
readonly elements: _angular_core.ModelSignal<any>;
|
|
1128
1193
|
readonly elementsUrl: _angular_core.InputSignal<string | undefined>;
|
|
1129
1194
|
/**
|
|
@@ -1153,10 +1218,9 @@ declare abstract class FoehnCheckableGroupComponent extends FoehnInputComponent<
|
|
|
1153
1218
|
*/
|
|
1154
1219
|
readonly missingModelValues: Signal<any[]>;
|
|
1155
1220
|
readonly hasMissingModelValue: Signal<boolean>;
|
|
1156
|
-
groupedElements: FormSelectOptionGroup[]
|
|
1221
|
+
readonly groupedElements: _angular_core.WritableSignal<FormSelectOptionGroup[]>;
|
|
1157
1222
|
protected readonly httpClient: HttpClient;
|
|
1158
1223
|
protected readonly multiple: Signal<boolean>;
|
|
1159
|
-
private readonly ngZone;
|
|
1160
1224
|
private pulling_;
|
|
1161
1225
|
private readonly _onInitSubject;
|
|
1162
1226
|
private disabledByElements;
|
|
@@ -1238,20 +1302,24 @@ declare class FoehnAutocompleteComponent extends FoehnCheckableGroupComponent im
|
|
|
1238
1302
|
readonly suggestionsList: _angular_core.Signal<any>;
|
|
1239
1303
|
readonly inputElement: _angular_core.Signal<any>;
|
|
1240
1304
|
readonly inputValue: _angular_core.WritableSignal<string | null>;
|
|
1241
|
-
searchValue: string | null
|
|
1242
|
-
inputHasFocus: boolean
|
|
1243
|
-
hideSuggestions: boolean
|
|
1305
|
+
readonly searchValue: _angular_core.WritableSignal<string | null>;
|
|
1306
|
+
readonly inputHasFocus: _angular_core.WritableSignal<boolean>;
|
|
1307
|
+
readonly hideSuggestions: _angular_core.WritableSignal<boolean>;
|
|
1244
1308
|
currentBlurTimer: ReturnType<typeof setTimeout> | null;
|
|
1245
1309
|
placeholder: string | undefined;
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1310
|
+
readonly displayedElements: _angular_core.WritableSignal<any[]>;
|
|
1311
|
+
/**
|
|
1312
|
+
* Height of the suggestion list: at most NB_ITEMS_VISIBLE items are visible.
|
|
1313
|
+
*/
|
|
1314
|
+
readonly VIEW_PORT_HEIGHT: _angular_core.Signal<number>;
|
|
1315
|
+
readonly notificationMessageUpdated: _angular_core.WritableSignal<boolean>;
|
|
1249
1316
|
readonly disabledComputed: _angular_core.Signal<boolean>;
|
|
1317
|
+
protected readonly componentInjector: Injector;
|
|
1250
1318
|
private currentItemGlobalIndex;
|
|
1251
1319
|
private readonly NB_ITEMS_VISIBLE;
|
|
1252
1320
|
private readonly filterSubject;
|
|
1253
1321
|
private listHasFocus;
|
|
1254
|
-
private activeDescendantId;
|
|
1322
|
+
private readonly activeDescendantId;
|
|
1255
1323
|
private readonly SUGGESTION_SELECTED_CLASS;
|
|
1256
1324
|
private readonly EXCLUDE_HTML_TAGS_REGEX;
|
|
1257
1325
|
private readonly SUGGESTION_CUSTOM_ATTRIBUTE_LABEL_VALUE;
|
|
@@ -1299,7 +1367,10 @@ declare class FoehnAutocompleteComponent extends FoehnCheckableGroupComponent im
|
|
|
1299
1367
|
private checkAndSetInputValue;
|
|
1300
1368
|
private setSuggestionsDisplayed;
|
|
1301
1369
|
private setDisplayedElements;
|
|
1302
|
-
|
|
1370
|
+
/**
|
|
1371
|
+
* The virtual scroll viewport has to measure its size again once its new height is rendered.
|
|
1372
|
+
*/
|
|
1373
|
+
private checkViewportSizeAfterRender;
|
|
1303
1374
|
private getSelectedElement;
|
|
1304
1375
|
private selectNextElement;
|
|
1305
1376
|
private clearSelectionAndFindSelectedIndex;
|
|
@@ -1319,7 +1390,24 @@ declare class FoehnAutocompleteComponent extends FoehnCheckableGroupComponent im
|
|
|
1319
1390
|
private getCustomValue;
|
|
1320
1391
|
private getModelValueDisplayValue;
|
|
1321
1392
|
private selectValueToDisplay;
|
|
1393
|
+
/**
|
|
1394
|
+
* Selects the value to display each time the elements are retrieved (onInitSubject) and each time the model
|
|
1395
|
+
* changes. `isSuggestionListDynamic` is read at each retrieval as it can change at runtime: only the matching
|
|
1396
|
+
* of the current kind of list is active (switchMap).
|
|
1397
|
+
*/
|
|
1322
1398
|
private matchValueOnModelChangeSubscription;
|
|
1399
|
+
/**
|
|
1400
|
+
* Dynamic suggestion list: the value to display is selected each time the model changes, with the current elements
|
|
1401
|
+
* and then with the elements loaded next, until they contain the model. The loaded elements depend on the search:
|
|
1402
|
+
* the model is not reset when it is not in them, and once displayed, the elements loaded for the search of the user
|
|
1403
|
+
* no longer change what is displayed.
|
|
1404
|
+
*/
|
|
1405
|
+
private matchValueOfDynamicList;
|
|
1406
|
+
/**
|
|
1407
|
+
* Static suggestion list: each time the elements are retrieved, the value to display is selected for the current
|
|
1408
|
+
* model (replayed by model$), then each time the model changes.
|
|
1409
|
+
*/
|
|
1410
|
+
private matchValueOfStaticList;
|
|
1323
1411
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FoehnAutocompleteComponent, never>;
|
|
1324
1412
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FoehnAutocompleteComponent, "foehn-autocomplete", never, { "searchValueMinCharsCount": { "alias": "searchValueMinCharsCount"; "required": false; "isSignal": true; }; "allowCustomValue": { "alias": "allowCustomValue"; "required": false; "isSignal": true; }; "isSuggestionListDynamic": { "alias": "isSuggestionListDynamic"; "required": false; "isSignal": true; }; "customValueModelGenerator": { "alias": "customValueModelGenerator"; "required": false; "isSignal": true; }; "itemHeightInSuggestionListInPx": { "alias": "itemHeightInSuggestionListInPx"; "required": false; "isSignal": true; }; "elementSuggestionLabel": { "alias": "elementSuggestionLabel"; "required": false; "isSignal": true; }; "caseSensitiveSearch": { "alias": "caseSensitiveSearch"; "required": false; "isSignal": true; }; }, { "userSearchInput": "userSearchInput"; }, never, ["*"], true, never>;
|
|
1325
1413
|
}
|
|
@@ -1347,11 +1435,11 @@ declare class FoehnInputTextComponent extends FoehnInputStringComponent {
|
|
|
1347
1435
|
declare class FoehnInputForeignLocalityComponent extends FoehnInputComponent<Locality> {
|
|
1348
1436
|
readonly localityRequired: _angular_core.InputSignal<boolean>;
|
|
1349
1437
|
readonly zipCodeRequired: _angular_core.InputSignal<boolean>;
|
|
1350
|
-
|
|
1351
|
-
|
|
1438
|
+
/** The zip code and the name of the model, changed by the sub components. */
|
|
1439
|
+
readonly zipCode: _angular_core.WritableSignal<string | null>;
|
|
1440
|
+
readonly longName: _angular_core.WritableSignal<string | null>;
|
|
1352
1441
|
updateLocality(): void;
|
|
1353
1442
|
handleUserInput(): void;
|
|
1354
|
-
onModelChange(value: Locality | null): void;
|
|
1355
1443
|
isRequired(): boolean;
|
|
1356
1444
|
private getValidValue;
|
|
1357
1445
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FoehnInputForeignLocalityComponent, never>;
|
|
@@ -1359,10 +1447,10 @@ declare class FoehnInputForeignLocalityComponent extends FoehnInputComponent<Loc
|
|
|
1359
1447
|
}
|
|
1360
1448
|
|
|
1361
1449
|
declare class FoehnInputForeignStreetComponent extends FoehnInputComponent<Street> {
|
|
1362
|
-
|
|
1450
|
+
/** The name of the model, changed by the sub component. */
|
|
1451
|
+
readonly longName: _angular_core.WritableSignal<string | null>;
|
|
1363
1452
|
updateStreet(): void;
|
|
1364
1453
|
handleUserInput(): void;
|
|
1365
|
-
onModelChange(value: Street | null): void;
|
|
1366
1454
|
private getValidValue;
|
|
1367
1455
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FoehnInputForeignStreetComponent, never>;
|
|
1368
1456
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FoehnInputForeignStreetComponent, "foehn-input-foreign-street", never, {}, {}, never, ["*"], true, never>;
|
|
@@ -1380,7 +1468,9 @@ declare class FoehnInputAddressComponent extends FoehnInputComponent<Address> im
|
|
|
1380
1468
|
readonly showAdressLine2: _angular_core.InputSignal<boolean>;
|
|
1381
1469
|
readonly countryRequired: _angular_core.InputSignal<boolean>;
|
|
1382
1470
|
readonly swissNpaLocalityRequired: _angular_core.InputSignal<boolean>;
|
|
1471
|
+
readonly swissNpaLocalityBaseUrl: _angular_core.InputSignal<string>;
|
|
1383
1472
|
readonly streetRequired: _angular_core.InputSignal<boolean | undefined>;
|
|
1473
|
+
readonly streetAllowCustomValue: _angular_core.InputSignal<boolean>;
|
|
1384
1474
|
readonly streetNumberRequired: _angular_core.InputSignal<boolean>;
|
|
1385
1475
|
readonly hideNotRequiredExtraLabelStreetNumber: _angular_core.InputSignal<boolean>;
|
|
1386
1476
|
readonly foreignZipCodeRequired: _angular_core.InputSignal<boolean>;
|
|
@@ -1398,23 +1488,28 @@ declare class FoehnInputAddressComponent extends FoehnInputComponent<Address> im
|
|
|
1398
1488
|
readonly foreignStreetComponent: _angular_core.Signal<FoehnInputForeignStreetComponent | undefined>;
|
|
1399
1489
|
readonly foreignHouseNumber: _angular_core.Signal<FoehnInputTextComponent | undefined>;
|
|
1400
1490
|
readonly countryAutocomplete: _angular_core.Signal<FoehnAutocompleteComponent | undefined>;
|
|
1401
|
-
country: Country | null
|
|
1402
|
-
locality: Locality | null
|
|
1403
|
-
street: Street | null
|
|
1404
|
-
houseNumber: string | null
|
|
1405
|
-
postOfficeBoxText: string | null
|
|
1406
|
-
addressLine1: string | null
|
|
1407
|
-
addressLine2: string | null
|
|
1491
|
+
readonly country: _angular_core.WritableSignal<Country | null>;
|
|
1492
|
+
readonly locality: _angular_core.WritableSignal<Locality | null>;
|
|
1493
|
+
readonly street: _angular_core.WritableSignal<Street | null>;
|
|
1494
|
+
readonly houseNumber: _angular_core.WritableSignal<string | null>;
|
|
1495
|
+
readonly postOfficeBoxText: _angular_core.WritableSignal<string | null>;
|
|
1496
|
+
readonly addressLine1: _angular_core.WritableSignal<string | null>;
|
|
1497
|
+
readonly addressLine2: _angular_core.WritableSignal<string | null>;
|
|
1408
1498
|
countries: Observable<Country[]> | undefined;
|
|
1409
1499
|
localities: Observable<Locality[]> | undefined;
|
|
1410
1500
|
streets: Observable<Street[]> | undefined;
|
|
1411
1501
|
streetNumbers: Observable<StreetNumber[]> | undefined;
|
|
1412
|
-
streetCustomErrors: Record<string, string
|
|
1502
|
+
readonly streetCustomErrors: _angular_core.WritableSignal<Record<string, string>>;
|
|
1413
1503
|
private readonly httpClient;
|
|
1414
1504
|
private readonly dictionaryService;
|
|
1415
|
-
private readonly
|
|
1416
|
-
private
|
|
1417
|
-
private
|
|
1505
|
+
private readonly addressInjector;
|
|
1506
|
+
private isSanitizationScheduled;
|
|
1507
|
+
private isDefaultCountryScheduled;
|
|
1508
|
+
/**
|
|
1509
|
+
* The URL of the Swiss localities. They are requested once the Swiss fields are displayed (`isSwiss()`), and again
|
|
1510
|
+
* only when this URL changes.
|
|
1511
|
+
*/
|
|
1512
|
+
private readonly localitiesUrl;
|
|
1418
1513
|
private readonly countryModelChangeSubject;
|
|
1419
1514
|
private readonly isOnlySwissChangeSubject;
|
|
1420
1515
|
constructor();
|
|
@@ -1427,11 +1522,10 @@ declare class FoehnInputAddressComponent extends FoehnInputComponent<Address> im
|
|
|
1427
1522
|
ngOnChanges(changes: SimpleChanges): void;
|
|
1428
1523
|
updateAddress(): void;
|
|
1429
1524
|
handleUserInput(): void;
|
|
1430
|
-
onModelChange(value: Address | null): void;
|
|
1431
1525
|
isSwiss(): boolean;
|
|
1432
|
-
userInputCountry(
|
|
1433
|
-
userInputLocality(
|
|
1434
|
-
userInputStreet(
|
|
1526
|
+
userInputCountry(): void;
|
|
1527
|
+
userInputLocality(): void;
|
|
1528
|
+
userInputStreet(): void;
|
|
1435
1529
|
countryUpdated(country: Country | null): void;
|
|
1436
1530
|
getLocalityDisplayedName(locality: Locality): string;
|
|
1437
1531
|
localityUpdated(locality: Locality | null): void;
|
|
@@ -1439,7 +1533,17 @@ declare class FoehnInputAddressComponent extends FoehnInputComponent<Address> im
|
|
|
1439
1533
|
isStreetRequired(): boolean;
|
|
1440
1534
|
isForeignStreetRequired(): boolean;
|
|
1441
1535
|
isPostOfficeBoxTextRequired(): boolean;
|
|
1536
|
+
protected hasValueToDisplay(value: Address | null | undefined): boolean;
|
|
1442
1537
|
private sanitizeAddress;
|
|
1538
|
+
/**
|
|
1539
|
+
* @returns the sanitized address when it differs from the given value, otherwise null
|
|
1540
|
+
*/
|
|
1541
|
+
private getSanitizedModel;
|
|
1542
|
+
/**
|
|
1543
|
+
* The sanitized model is set after the next rendering (not while the view is checked), from the latest model: the
|
|
1544
|
+
* model given by the parent in between (e.g. prefilled asynchronously) has been received, it is not overwritten.
|
|
1545
|
+
*/
|
|
1546
|
+
private scheduleModelSanitization;
|
|
1443
1547
|
private replaceAtLeastOneNotNull;
|
|
1444
1548
|
private getCountries;
|
|
1445
1549
|
private getLocalities;
|
|
@@ -1455,9 +1559,16 @@ declare class FoehnInputAddressComponent extends FoehnInputComponent<Address> im
|
|
|
1455
1559
|
private getValidValue;
|
|
1456
1560
|
private isModelEmpty;
|
|
1457
1561
|
private manageDefaultCountry;
|
|
1562
|
+
/**
|
|
1563
|
+
* The default country is applied after the next rendering (once for the changes of the same rendering), from the
|
|
1564
|
+
* latest state: without zone.js, a model given by the parent in between (e.g. prefilled asynchronously) is only
|
|
1565
|
+
* received with the next change detection, it must not be overwritten by the model with the default country only.
|
|
1566
|
+
*/
|
|
1567
|
+
private scheduleDefaultCountry;
|
|
1568
|
+
private applyDefaultCountry;
|
|
1458
1569
|
private isCountryInputDirty;
|
|
1459
1570
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FoehnInputAddressComponent, never>;
|
|
1460
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FoehnInputAddressComponent, "foehn-input-address", never, { "isOnlySwiss": { "alias": "isOnlySwiss"; "required": false; "isSignal": true; }; "showPostOfficeBoxText": { "alias": "showPostOfficeBoxText"; "required": false; "isSignal": true; }; "showAdressLines": { "alias": "showAdressLines"; "required": false; "isSignal": true; }; "showAdressLine1": { "alias": "showAdressLine1"; "required": false; "isSignal": true; }; "showAdressLine2": { "alias": "showAdressLine2"; "required": false; "isSignal": true; }; "countryRequired": { "alias": "countryRequired"; "required": false; "isSignal": true; }; "swissNpaLocalityRequired": { "alias": "swissNpaLocalityRequired"; "required": false; "isSignal": true; }; "streetRequired": { "alias": "streetRequired"; "required": false; "isSignal": true; }; "streetNumberRequired": { "alias": "streetNumberRequired"; "required": false; "isSignal": true; }; "hideNotRequiredExtraLabelStreetNumber": { "alias": "hideNotRequiredExtraLabelStreetNumber"; "required": false; "isSignal": true; }; "foreignZipCodeRequired": { "alias": "foreignZipCodeRequired"; "required": false; "isSignal": true; }; "foreignLocalityRequired": { "alias": "foreignLocalityRequired"; "required": false; "isSignal": true; }; "foreignStreetRequired": { "alias": "foreignStreetRequired"; "required": false; "isSignal": true; }; "foreignStreetNumberRequired": { "alias": "foreignStreetNumberRequired"; "required": false; "isSignal": true; }; "postOfficeBoxTextRequired": { "alias": "postOfficeBoxTextRequired"; "required": false; "isSignal": true; }; "addressLine1Required": { "alias": "addressLine1Required"; "required": false; "isSignal": true; }; "addressLine2Required": { "alias": "addressLine2Required"; "required": false; "isSignal": true; }; "withCompanyLocalities": { "alias": "withCompanyLocalities"; "required": false; "isSignal": true; }; "withDefaultCountry": { "alias": "withDefaultCountry"; "required": false; "isSignal": true; }; "specifiedCanton": { "alias": "specifiedCanton"; "required": false; "isSignal": true; }; "countriesUrl": { "alias": "countriesUrl"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
1571
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FoehnInputAddressComponent, "foehn-input-address", never, { "isOnlySwiss": { "alias": "isOnlySwiss"; "required": false; "isSignal": true; }; "showPostOfficeBoxText": { "alias": "showPostOfficeBoxText"; "required": false; "isSignal": true; }; "showAdressLines": { "alias": "showAdressLines"; "required": false; "isSignal": true; }; "showAdressLine1": { "alias": "showAdressLine1"; "required": false; "isSignal": true; }; "showAdressLine2": { "alias": "showAdressLine2"; "required": false; "isSignal": true; }; "countryRequired": { "alias": "countryRequired"; "required": false; "isSignal": true; }; "swissNpaLocalityRequired": { "alias": "swissNpaLocalityRequired"; "required": false; "isSignal": true; }; "swissNpaLocalityBaseUrl": { "alias": "swissNpaLocalityBaseUrl"; "required": false; "isSignal": true; }; "streetRequired": { "alias": "streetRequired"; "required": false; "isSignal": true; }; "streetAllowCustomValue": { "alias": "streetAllowCustomValue"; "required": false; "isSignal": true; }; "streetNumberRequired": { "alias": "streetNumberRequired"; "required": false; "isSignal": true; }; "hideNotRequiredExtraLabelStreetNumber": { "alias": "hideNotRequiredExtraLabelStreetNumber"; "required": false; "isSignal": true; }; "foreignZipCodeRequired": { "alias": "foreignZipCodeRequired"; "required": false; "isSignal": true; }; "foreignLocalityRequired": { "alias": "foreignLocalityRequired"; "required": false; "isSignal": true; }; "foreignStreetRequired": { "alias": "foreignStreetRequired"; "required": false; "isSignal": true; }; "foreignStreetNumberRequired": { "alias": "foreignStreetNumberRequired"; "required": false; "isSignal": true; }; "postOfficeBoxTextRequired": { "alias": "postOfficeBoxTextRequired"; "required": false; "isSignal": true; }; "addressLine1Required": { "alias": "addressLine1Required"; "required": false; "isSignal": true; }; "addressLine2Required": { "alias": "addressLine2Required"; "required": false; "isSignal": true; }; "withCompanyLocalities": { "alias": "withCompanyLocalities"; "required": false; "isSignal": true; }; "withDefaultCountry": { "alias": "withDefaultCountry"; "required": false; "isSignal": true; }; "specifiedCanton": { "alias": "specifiedCanton"; "required": false; "isSignal": true; }; "countriesUrl": { "alias": "countriesUrl"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
1461
1572
|
}
|
|
1462
1573
|
|
|
1463
1574
|
declare class FoehnBreadcrumbComponent implements OnInit {
|
|
@@ -1488,10 +1599,9 @@ declare class FoehnCheckboxComponent extends FoehnCheckableGroupComponent implem
|
|
|
1488
1599
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FoehnCheckboxComponent, "foehn-checkbox", never, {}, {}, never, ["*"], true, never>;
|
|
1489
1600
|
}
|
|
1490
1601
|
|
|
1491
|
-
declare class FoehnRadioComponent extends FoehnCheckableGroupComponent implements
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
onModelChange(value: any): void;
|
|
1602
|
+
declare class FoehnRadioComponent extends FoehnCheckableGroupComponent implements AfterViewChecked {
|
|
1603
|
+
/** The value of the model in the radio buttons: follows the model, elementValue and elementValueIdentity. */
|
|
1604
|
+
readonly inputValue: _angular_core.Signal<string | null | undefined>;
|
|
1495
1605
|
ngAfterViewChecked(): void;
|
|
1496
1606
|
getValueOrObject(element: any): string | undefined | null;
|
|
1497
1607
|
getLabelledBy(elementsGroup: FormSelectOptionGroup, groupIndex: number, index: number): string;
|
|
@@ -1542,16 +1652,21 @@ declare class FoehnMultiselectAutocompleteComponent extends FoehnAutocompleteCom
|
|
|
1542
1652
|
readonly defaultElemRef: _angular_core.Signal<readonly ElementRef<any>[]>;
|
|
1543
1653
|
readonly defaultDeleteFocusArea: _angular_core.Signal<ElementRef<any> | undefined>;
|
|
1544
1654
|
readonly defaultElementValuesComputed: _angular_core.Signal<unknown[]>;
|
|
1545
|
-
autocompleteInputValue: string | null
|
|
1546
|
-
|
|
1547
|
-
|
|
1655
|
+
readonly autocompleteInputValue: _angular_core.WritableSignal<string | null>;
|
|
1656
|
+
/**
|
|
1657
|
+
* Every element is selected: a message replaces the autocomplete (not for an empty list of elements).
|
|
1658
|
+
*/
|
|
1659
|
+
readonly showEmptyListMessage: _angular_core.Signal<boolean>;
|
|
1660
|
+
readonly srAnnouncements: _angular_core.WritableSignal<string>;
|
|
1661
|
+
protected readonly suggestions: _angular_core.Signal<[]>;
|
|
1548
1662
|
private readonly dictionaryService;
|
|
1549
1663
|
private srAnnouncementClearTimer;
|
|
1550
1664
|
private readonly SR_ANNOUNCEMENT_CLEAR_TIMEOUT_INTERVAL_MS;
|
|
1551
1665
|
private pendingRemovedIndexForFocus;
|
|
1666
|
+
private readonly suggestionsEffect;
|
|
1667
|
+
private readonly autocompleteInputVisibilityEffect;
|
|
1552
1668
|
private readonly selectedElemRefEffect;
|
|
1553
1669
|
ngOnInit(): void;
|
|
1554
|
-
onModelChange(value: any): void;
|
|
1555
1670
|
hasErrorsToDisplay(): boolean;
|
|
1556
1671
|
getLabel(value: any): string | null | undefined;
|
|
1557
1672
|
updateMultiselectAutocomplete(currentModel: unknown[]): void;
|
|
@@ -1560,39 +1675,33 @@ declare class FoehnMultiselectAutocompleteComponent extends FoehnAutocompleteCom
|
|
|
1560
1675
|
removeItem(item: unknown, index: number): void;
|
|
1561
1676
|
trackByFn(index: number): number;
|
|
1562
1677
|
canBeDeleted(index: number): boolean;
|
|
1563
|
-
onAutocompleteElementsLoaded(
|
|
1678
|
+
onAutocompleteElementsLoaded(): void;
|
|
1564
1679
|
getDeleteButtonAriaLabel(element: unknown): string;
|
|
1565
1680
|
hasDefaultDeleteFocusArea(): boolean;
|
|
1566
1681
|
getBadgeLabel(element: any): string;
|
|
1567
|
-
private manageListWhenElementsAreLoaded;
|
|
1568
1682
|
private findElementByModelItem;
|
|
1569
1683
|
private getValidValue;
|
|
1570
1684
|
private focusNextAreaAfterDelete;
|
|
1571
1685
|
private filterAutocompleteElements;
|
|
1572
|
-
private
|
|
1573
|
-
private
|
|
1574
|
-
private showAlertMessageAndHideAutocomplete;
|
|
1686
|
+
private focusAfterAddingAnItem;
|
|
1687
|
+
private applySuggestionsToAutocomplete;
|
|
1575
1688
|
private manageScreenReaderAnnouncement;
|
|
1576
1689
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FoehnMultiselectAutocompleteComponent, never>;
|
|
1577
1690
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FoehnMultiselectAutocompleteComponent, "foehn-multiselect-autocomplete", never, { "elementBadgeLabel": { "alias": "elementBadgeLabel"; "required": false; "isSignal": true; }; "selectedItemsListLegend": { "alias": "selectedItemsListLegend"; "required": false; "isSignal": true; }; "noElementsSelectedLabel": { "alias": "noElementsSelectedLabel"; "required": false; "isSignal": true; }; "excludeFromErrorSummary": { "alias": "excludeFromErrorSummary"; "required": false; "isSignal": true; }; "defaultElementValues": { "alias": "defaultElementValues"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
1578
1691
|
}
|
|
1579
1692
|
|
|
1580
1693
|
declare class FoehnInputEmailComponent extends FoehnInputStringComponent implements OnInit {
|
|
1581
|
-
timeoutReference: any;
|
|
1582
1694
|
readonly autocomplete: _angular_core.InputSignalWithTransform<string | boolean | undefined, string | boolean | undefined>;
|
|
1583
1695
|
private readonly dictionaryService;
|
|
1584
1696
|
ngOnInit(): void;
|
|
1585
|
-
onModelChange(value: string): void;
|
|
1586
1697
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FoehnInputEmailComponent, never>;
|
|
1587
1698
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FoehnInputEmailComponent, "foehn-input-email", never, { "autocomplete": { "alias": "autocomplete"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
1588
1699
|
}
|
|
1589
1700
|
|
|
1590
1701
|
declare class FoehnInputHiddenComponent extends FoehnInputStringComponent implements OnInit {
|
|
1591
|
-
timeoutReference: any;
|
|
1592
1702
|
readonly model: _angular_core.ModelSignal<string | null | undefined>;
|
|
1593
1703
|
constructor();
|
|
1594
1704
|
ngOnInit(): void;
|
|
1595
|
-
onModelChange(value: string | null): void;
|
|
1596
1705
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FoehnInputHiddenComponent, never>;
|
|
1597
1706
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FoehnInputHiddenComponent, "foehn-input-hidden", never, { "model": { "alias": "model"; "required": false; "isSignal": true; }; }, { "model": "modelChange"; }, never, ["*"], true, never>;
|
|
1598
1707
|
}
|
|
@@ -1639,10 +1748,8 @@ declare class FoehnInputNumberComponent extends FoehnInputStringComponent implem
|
|
|
1639
1748
|
}
|
|
1640
1749
|
|
|
1641
1750
|
declare class FoehnInputPasswordComponent extends FoehnInputStringComponent implements OnInit {
|
|
1642
|
-
timeoutReference: any;
|
|
1643
1751
|
readonly autocomplete: _angular_core.InputSignalWithTransform<string | boolean | undefined, string | boolean | undefined>;
|
|
1644
1752
|
ngOnInit(): void;
|
|
1645
|
-
onModelChange(value: string): void;
|
|
1646
1753
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FoehnInputPasswordComponent, never>;
|
|
1647
1754
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FoehnInputPasswordComponent, "foehn-input-password", never, { "autocomplete": { "alias": "autocomplete"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
1648
1755
|
}
|
|
@@ -1672,7 +1779,7 @@ declare class FoehnInputPrefixedTextComponent extends FoehnInputStringComponent
|
|
|
1672
1779
|
readonly prefixColClass: _angular_core.InputSignal<string>;
|
|
1673
1780
|
readonly textColClass: _angular_core.InputSignal<string>;
|
|
1674
1781
|
readonly text: _angular_core.Signal<string | null>;
|
|
1675
|
-
private previousPrefix;
|
|
1782
|
+
private readonly previousPrefix;
|
|
1676
1783
|
constructor();
|
|
1677
1784
|
onTextChange(value: string | undefined | null): void;
|
|
1678
1785
|
updateFullText(text: string | null | undefined): void;
|
|
@@ -1682,24 +1789,28 @@ declare class FoehnInputPrefixedTextComponent extends FoehnInputStringComponent
|
|
|
1682
1789
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FoehnInputPrefixedTextComponent, "foehn-input-prefixed-text", never, { "prefix": { "alias": "prefix"; "required": false; "isSignal": true; }; "prefixColClass": { "alias": "prefixColClass"; "required": false; "isSignal": true; }; "textColClass": { "alias": "textColClass"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
1683
1790
|
}
|
|
1684
1791
|
|
|
1685
|
-
declare class FoehnInputTextareaComponent extends FoehnInputStringComponent
|
|
1792
|
+
declare class FoehnInputTextareaComponent extends FoehnInputStringComponent {
|
|
1686
1793
|
readonly rows: _angular_core.InputSignal<number>;
|
|
1687
1794
|
readonly displayCharCount: _angular_core.InputSignal<boolean | undefined>;
|
|
1688
|
-
|
|
1689
|
-
charCountLeft: number | undefined
|
|
1690
|
-
charCountLabel: string | undefined
|
|
1691
|
-
|
|
1795
|
+
/** The characters left before max, when the count is displayed. */
|
|
1796
|
+
readonly charCountLeft: _angular_core.Signal<number | undefined>;
|
|
1797
|
+
readonly charCountLabel: _angular_core.Signal<string | undefined>;
|
|
1798
|
+
readonly isCharCountExceeded: _angular_core.Signal<boolean>;
|
|
1799
|
+
/** Announces the count once 10 characters or less are left. */
|
|
1800
|
+
readonly ariaLiveStatus: _angular_core.Signal<"off" | "assertive">;
|
|
1692
1801
|
private readonly dictionary;
|
|
1693
|
-
ngOnInit(): void;
|
|
1694
|
-
onModelChange(value: string): void;
|
|
1695
|
-
countCharLeft(): void;
|
|
1696
|
-
checkCharCountExceeded(): void;
|
|
1697
1802
|
private getCharCountLabel;
|
|
1698
1803
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FoehnInputTextareaComponent, never>;
|
|
1699
1804
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FoehnInputTextareaComponent, "foehn-input-textarea", never, { "rows": { "alias": "rows"; "required": false; "isSignal": true; }; "displayCharCount": { "alias": "displayCharCount"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
1700
1805
|
}
|
|
1701
1806
|
|
|
1702
|
-
|
|
1807
|
+
/**
|
|
1808
|
+
* The model of `foehn-input-date`: `[year, month, day]`, a part not entered being `null`. It is the JSON of a
|
|
1809
|
+
* `LenientLocalDate` of prestations-be.
|
|
1810
|
+
*/
|
|
1811
|
+
type FoehnDateModel = (number | null)[];
|
|
1812
|
+
|
|
1813
|
+
declare class FoehnDateComponent extends FoehnInputComponent<FoehnDateModel> {
|
|
1703
1814
|
readonly disableDay: _angular_core.InputSignal<boolean>;
|
|
1704
1815
|
readonly disableMonth: _angular_core.InputSignal<boolean>;
|
|
1705
1816
|
readonly disableYear: _angular_core.InputSignal<boolean>;
|
|
@@ -1708,22 +1819,22 @@ declare class FoehnDateComponent extends FoehnInputComponent<(number | null)[]>
|
|
|
1708
1819
|
readonly maxDate: _angular_core.InputSignal<number[] | undefined>;
|
|
1709
1820
|
readonly childrenLabelSrOnly: _angular_core.InputSignal<boolean>;
|
|
1710
1821
|
readonly clearButton: _angular_core.InputSignal<boolean>;
|
|
1711
|
-
day: string | null
|
|
1712
|
-
month: string | null
|
|
1713
|
-
year: string | null
|
|
1714
|
-
datePickerModel: number[] | null
|
|
1822
|
+
readonly day: _angular_core.WritableSignal<string | null>;
|
|
1823
|
+
readonly month: _angular_core.WritableSignal<string | null>;
|
|
1824
|
+
readonly year: _angular_core.WritableSignal<string | null>;
|
|
1825
|
+
readonly datePickerModel: _angular_core.WritableSignal<number[] | null>;
|
|
1715
1826
|
readonly disabledComputed: Signal<boolean>;
|
|
1716
1827
|
constructor();
|
|
1717
1828
|
updateDate(): void;
|
|
1718
1829
|
updateDateFromDatePicker(date: number[] | null): void;
|
|
1719
1830
|
handleUserInput(): void;
|
|
1720
|
-
handleDatePickerUserInput(date:
|
|
1721
|
-
|
|
1722
|
-
getValidValue(): (number | null)[] | null | undefined;
|
|
1831
|
+
handleDatePickerUserInput(date: FoehnDateModel | null): void;
|
|
1832
|
+
getValidValue(): FoehnDateModel | null | undefined;
|
|
1723
1833
|
shouldDisplayDatePicker(): boolean;
|
|
1724
1834
|
resetModel(): void;
|
|
1725
1835
|
isEmpty(): boolean;
|
|
1726
1836
|
isEmptyDependingOnDisabled(): boolean;
|
|
1837
|
+
private getDatePart;
|
|
1727
1838
|
private toNumber;
|
|
1728
1839
|
private numberToString;
|
|
1729
1840
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FoehnDateComponent, never>;
|
|
@@ -1739,18 +1850,22 @@ declare class FoehnDateTimeComponent extends FoehnInputComponent<(number | null)
|
|
|
1739
1850
|
readonly hideDatePickerButton: _angular_core.InputSignal<boolean>;
|
|
1740
1851
|
readonly childrenLabelSrOnly: _angular_core.InputSignal<boolean>;
|
|
1741
1852
|
readonly clearButton: _angular_core.InputSignal<boolean>;
|
|
1742
|
-
date: (number | null)[] | null
|
|
1743
|
-
time: string | null
|
|
1853
|
+
readonly date: _angular_core.WritableSignal<(number | null)[] | null>;
|
|
1854
|
+
readonly time: _angular_core.WritableSignal<string | null>;
|
|
1744
1855
|
private readonly userInputTimeSubject;
|
|
1745
1856
|
private readonly timeModelChangeSubject;
|
|
1746
1857
|
private readonly dateHelper;
|
|
1858
|
+
private readonly pendingTasksService;
|
|
1859
|
+
/**
|
|
1860
|
+
* The application is not stable (e.g. fixture.whenStable() in tests) while a time user input is debounced.
|
|
1861
|
+
*/
|
|
1862
|
+
private removePendingTimeInputTask;
|
|
1747
1863
|
constructor();
|
|
1748
1864
|
updateDateTime(): void;
|
|
1749
1865
|
handleUserInput(): void;
|
|
1750
1866
|
timeModelChange(value: string | null | undefined): void;
|
|
1751
1867
|
handleUserInputTime(value: string | null | undefined): void;
|
|
1752
1868
|
handleUserInputDate(): void;
|
|
1753
|
-
onModelChange(value: (number | null)[] | null): void;
|
|
1754
1869
|
getValidValue(): (number | null)[] | null | undefined;
|
|
1755
1870
|
resetModel(): void;
|
|
1756
1871
|
isEmpty(): boolean;
|
|
@@ -1758,6 +1873,7 @@ declare class FoehnDateTimeComponent extends FoehnInputComponent<(number | null)
|
|
|
1758
1873
|
private isTimeEmpty;
|
|
1759
1874
|
private isDateEmpty;
|
|
1760
1875
|
private isDateEmptyDependingOnDisabled;
|
|
1876
|
+
private stopPendingTimeInputTask;
|
|
1761
1877
|
private toNumber;
|
|
1762
1878
|
private numberToString;
|
|
1763
1879
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FoehnDateTimeComponent, never>;
|
|
@@ -1767,15 +1883,18 @@ declare class FoehnDateTimeComponent extends FoehnInputComponent<(number | null)
|
|
|
1767
1883
|
declare class FoehnTimeComponent extends FoehnInputStringComponent {
|
|
1768
1884
|
readonly childrenLabelSrOnly: _angular_core.InputSignal<boolean>;
|
|
1769
1885
|
readonly clearButton: _angular_core.InputSignal<boolean>;
|
|
1770
|
-
hour: string | null
|
|
1771
|
-
minute: string | null
|
|
1886
|
+
readonly hour: _angular_core.WritableSignal<string | null>;
|
|
1887
|
+
readonly minute: _angular_core.WritableSignal<string | null>;
|
|
1772
1888
|
private readonly dateHelper;
|
|
1773
1889
|
constructor();
|
|
1774
1890
|
updateTime(): void;
|
|
1775
1891
|
handleUserInput(): void;
|
|
1776
|
-
onModelChange(value: string): void;
|
|
1777
1892
|
resetModel(): void;
|
|
1778
1893
|
isEmpty(): boolean;
|
|
1894
|
+
/**
|
|
1895
|
+
* @returns the part of the time of the model, the previous value when the model is not a complete time
|
|
1896
|
+
*/
|
|
1897
|
+
private getTimePart;
|
|
1779
1898
|
private getValidValue;
|
|
1780
1899
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FoehnTimeComponent, never>;
|
|
1781
1900
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FoehnTimeComponent, "foehn-input-time", never, { "childrenLabelSrOnly": { "alias": "childrenLabelSrOnly"; "required": false; "isSignal": true; }; "clearButton": { "alias": "clearButton"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
@@ -1783,15 +1902,16 @@ declare class FoehnTimeComponent extends FoehnInputStringComponent {
|
|
|
1783
1902
|
|
|
1784
1903
|
declare class FoehnInputNav13Component extends FoehnInputStringComponent implements OnInit {
|
|
1785
1904
|
PREFIX_NAVS: string;
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1905
|
+
/** The parts of the model after 756, changed by the sub components. */
|
|
1906
|
+
readonly part2: _angular_core.WritableSignal<string | null>;
|
|
1907
|
+
readonly part3: _angular_core.WritableSignal<string | null>;
|
|
1908
|
+
readonly part4: _angular_core.WritableSignal<string | null>;
|
|
1789
1909
|
readonly label: _angular_core.InputSignalWithTransform<string | undefined, string | undefined>;
|
|
1790
1910
|
constructor();
|
|
1791
1911
|
ngOnInit(): void;
|
|
1792
1912
|
updateNavs(): void;
|
|
1793
1913
|
handleUserInput(): void;
|
|
1794
|
-
onModelChange(
|
|
1914
|
+
onModelChange(_value: string | null | undefined): void;
|
|
1795
1915
|
onPaste(event: ClipboardEvent): void;
|
|
1796
1916
|
private splitValue;
|
|
1797
1917
|
private getValidValue;
|
|
@@ -1853,12 +1973,13 @@ declare const GrowlType: {
|
|
|
1853
1973
|
DANGER: string;
|
|
1854
1974
|
};
|
|
1855
1975
|
|
|
1856
|
-
declare class SdkDictionaryPipe implements PipeTransform {
|
|
1976
|
+
declare class SdkDictionaryPipe implements PipeTransform, OnDestroy {
|
|
1857
1977
|
private readonly dictionaryService;
|
|
1858
1978
|
private readonly ref;
|
|
1859
1979
|
private readonly asyncPipe;
|
|
1860
1980
|
constructor();
|
|
1861
1981
|
transform(key: any, placeHolderType?: PlaceholderType): any;
|
|
1982
|
+
ngOnDestroy(): void;
|
|
1862
1983
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SdkDictionaryPipe, never>;
|
|
1863
1984
|
static ɵpipe: _angular_core.ɵɵPipeDeclaration<SdkDictionaryPipe, "fromDictionary", true>;
|
|
1864
1985
|
}
|
|
@@ -1868,17 +1989,25 @@ declare abstract class AbstractFoehnNavigationComponent {
|
|
|
1868
1989
|
readonly showNextButton: _angular_core.InputSignal<boolean>;
|
|
1869
1990
|
readonly nextLabel: _angular_core.InputSignal<string>;
|
|
1870
1991
|
readonly prevLabel: _angular_core.InputSignal<string>;
|
|
1992
|
+
readonly loadingLabel: _angular_core.InputSignal<string>;
|
|
1871
1993
|
readonly continueLaterLabel: _angular_core.InputSignal<string>;
|
|
1872
1994
|
readonly continueLaterAlreadyRegisteredLabel: _angular_core.InputSignal<string>;
|
|
1873
1995
|
readonly continueLaterConnectedLabel: _angular_core.InputSignal<string>;
|
|
1874
1996
|
readonly triggerRecoveryOnPageChange: _angular_core.InputSignal<boolean>;
|
|
1875
1997
|
readonly onNext: _angular_core.OutputEmitterRef<void>;
|
|
1876
1998
|
readonly onPrevious: _angular_core.OutputEmitterRef<void>;
|
|
1999
|
+
readonly pendingNavigationDirection: Signal<NavigationDirection | null>;
|
|
2000
|
+
readonly loadingDirection: Signal<NavigationDirection | null>;
|
|
2001
|
+
readonly isNavigating: Signal<boolean>;
|
|
2002
|
+
readonly isLoading: Signal<boolean>;
|
|
2003
|
+
readonly isLoadingNext: Signal<boolean>;
|
|
2004
|
+
readonly isLoadingPrevious: Signal<boolean>;
|
|
2005
|
+
constructor();
|
|
1877
2006
|
goToNext(): void;
|
|
1878
2007
|
goToPrevious(): void;
|
|
1879
2008
|
canShowNextButton(): boolean;
|
|
1880
2009
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AbstractFoehnNavigationComponent, never>;
|
|
1881
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<AbstractFoehnNavigationComponent, never, never, { "showContinueLaterButton": { "alias": "showContinueLaterButton"; "required": false; "isSignal": true; }; "showNextButton": { "alias": "showNextButton"; "required": false; "isSignal": true; }; "nextLabel": { "alias": "nextLabel"; "required": false; "isSignal": true; }; "prevLabel": { "alias": "prevLabel"; "required": false; "isSignal": true; }; "continueLaterLabel": { "alias": "continueLaterLabel"; "required": false; "isSignal": true; }; "continueLaterAlreadyRegisteredLabel": { "alias": "continueLaterAlreadyRegisteredLabel"; "required": false; "isSignal": true; }; "continueLaterConnectedLabel": { "alias": "continueLaterConnectedLabel"; "required": false; "isSignal": true; }; "triggerRecoveryOnPageChange": { "alias": "triggerRecoveryOnPageChange"; "required": false; "isSignal": true; }; }, { "onNext": "onNext"; "onPrevious": "onPrevious"; }, never, never, true, never>;
|
|
2010
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<AbstractFoehnNavigationComponent, never, never, { "showContinueLaterButton": { "alias": "showContinueLaterButton"; "required": false; "isSignal": true; }; "showNextButton": { "alias": "showNextButton"; "required": false; "isSignal": true; }; "nextLabel": { "alias": "nextLabel"; "required": false; "isSignal": true; }; "prevLabel": { "alias": "prevLabel"; "required": false; "isSignal": true; }; "loadingLabel": { "alias": "loadingLabel"; "required": false; "isSignal": true; }; "continueLaterLabel": { "alias": "continueLaterLabel"; "required": false; "isSignal": true; }; "continueLaterAlreadyRegisteredLabel": { "alias": "continueLaterAlreadyRegisteredLabel"; "required": false; "isSignal": true; }; "continueLaterConnectedLabel": { "alias": "continueLaterConnectedLabel"; "required": false; "isSignal": true; }; "triggerRecoveryOnPageChange": { "alias": "triggerRecoveryOnPageChange"; "required": false; "isSignal": true; }; }, { "onNext": "onNext"; "onPrevious": "onPrevious"; }, never, never, true, never>;
|
|
1882
2011
|
}
|
|
1883
2012
|
|
|
1884
2013
|
declare class FoehnNavigationComponent extends AbstractFoehnNavigationComponent implements OnInit {
|
|
@@ -2141,8 +2270,8 @@ declare class FoehnListComponent implements OnChanges {
|
|
|
2141
2270
|
readonly trackByFn: _angular_core.InputSignal<(index: number, _item: unknown) => number | string>;
|
|
2142
2271
|
readonly templateVariable: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
2143
2272
|
readonly pageChange: _angular_core.OutputEmitterRef<PageChangeEvent>;
|
|
2144
|
-
currentPage: number
|
|
2145
|
-
filteredList: unknown[]
|
|
2273
|
+
readonly currentPage: _angular_core.WritableSignal<number>;
|
|
2274
|
+
readonly filteredList: _angular_core.WritableSignal<unknown[]>;
|
|
2146
2275
|
ngOnChanges(changes: SimpleChanges): void;
|
|
2147
2276
|
previousPage(): void;
|
|
2148
2277
|
hasPreviousPage(): boolean;
|
|
@@ -2184,8 +2313,8 @@ declare class TableSort {
|
|
|
2184
2313
|
sortAttribute?: string;
|
|
2185
2314
|
}
|
|
2186
2315
|
|
|
2187
|
-
declare class FoehnTableComponent extends FoehnInputComponent<unknown[]>
|
|
2188
|
-
readonly columnsConfiguration: _angular_core.
|
|
2316
|
+
declare class FoehnTableComponent extends FoehnInputComponent<unknown[]> {
|
|
2317
|
+
readonly columnsConfiguration: _angular_core.InputSignal<FoehnTableColumnConfiguration<any>[] | undefined>;
|
|
2189
2318
|
readonly itemsPerPage: _angular_core.InputSignal<number>;
|
|
2190
2319
|
readonly fixedPageCount: _angular_core.InputSignal<number | undefined>;
|
|
2191
2320
|
readonly sort: _angular_core.ModelSignal<TableSort | undefined>;
|
|
@@ -2198,12 +2327,17 @@ declare class FoehnTableComponent extends FoehnInputComponent<unknown[]> impleme
|
|
|
2198
2327
|
readonly trackByFn: _angular_core.InputSignal<TrackByFunction<unknown>>;
|
|
2199
2328
|
readonly pageChange: _angular_core.OutputEmitterRef<FoehnTablePageChangeEvent>;
|
|
2200
2329
|
readonly rowClick: _angular_core.OutputEmitterRef<RowElement>;
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
|
|
2330
|
+
/**
|
|
2331
|
+
* The page displayed, changed by the navigation. Back to the first page when the list, itemsPerPage or
|
|
2332
|
+
* fixedPageCount leave it without any item. Also checked again on a new sort (see filteredList).
|
|
2333
|
+
*/
|
|
2334
|
+
readonly currentPage: _angular_core.WritableSignal<number>;
|
|
2335
|
+
/**
|
|
2336
|
+
* The items of the current page. A new sort refreshes them: the page can sort its list in place (same array),
|
|
2337
|
+
* which doesn't change the model.
|
|
2338
|
+
*/
|
|
2339
|
+
readonly filteredList: _angular_core.Signal<unknown[]>;
|
|
2205
2340
|
trackFoehnTableColumnConfiguration: TrackByFunction<FoehnTableColumnConfiguration<any>>;
|
|
2206
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
2207
2341
|
previousPage(): void;
|
|
2208
2342
|
hasPreviousPage(): boolean;
|
|
2209
2343
|
nextPage(): void;
|
|
@@ -2213,9 +2347,13 @@ declare class FoehnTableComponent extends FoehnInputComponent<unknown[]> impleme
|
|
|
2213
2347
|
triggerSort(sortAttribute: string): void;
|
|
2214
2348
|
manageRowClick(rowElem: HTMLTableRowElement, item: unknown): void;
|
|
2215
2349
|
onSpaceKeydown(event: Event, rowElem: HTMLTableRowElement, item: unknown): void;
|
|
2216
|
-
|
|
2350
|
+
/**
|
|
2351
|
+
* @param page a page of the list
|
|
2352
|
+
* @returns the page, or the first one when the list has no item for it
|
|
2353
|
+
*/
|
|
2354
|
+
private existingPage;
|
|
2217
2355
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FoehnTableComponent, never>;
|
|
2218
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FoehnTableComponent, "foehn-table", never, { "columnsConfiguration": { "alias": "columnsConfiguration"; "required": false; "isSignal": true; }; "itemsPerPage": { "alias": "itemsPerPage"; "required": false; "isSignal": true; }; "fixedPageCount": { "alias": "fixedPageCount"; "required": false; "isSignal": true; }; "sort": { "alias": "sort"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "totalElements": { "alias": "totalElements"; "required": false; "isSignal": true; }; "titleSrOnly": { "alias": "titleSrOnly"; "required": false; "isSignal": true; }; "previousLabel": { "alias": "previousLabel"; "required": false; "isSignal": true; }; "nextLabel": { "alias": "nextLabel"; "required": false; "isSignal": true; }; "tableClass": { "alias": "tableClass"; "required": false; "isSignal": true; }; "trackByFn": { "alias": "trackByFn"; "required": false; "isSignal": true; }; }, { "
|
|
2356
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FoehnTableComponent, "foehn-table", never, { "columnsConfiguration": { "alias": "columnsConfiguration"; "required": false; "isSignal": true; }; "itemsPerPage": { "alias": "itemsPerPage"; "required": false; "isSignal": true; }; "fixedPageCount": { "alias": "fixedPageCount"; "required": false; "isSignal": true; }; "sort": { "alias": "sort"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "totalElements": { "alias": "totalElements"; "required": false; "isSignal": true; }; "titleSrOnly": { "alias": "titleSrOnly"; "required": false; "isSignal": true; }; "previousLabel": { "alias": "previousLabel"; "required": false; "isSignal": true; }; "nextLabel": { "alias": "nextLabel"; "required": false; "isSignal": true; }; "tableClass": { "alias": "tableClass"; "required": false; "isSignal": true; }; "trackByFn": { "alias": "trackByFn"; "required": false; "isSignal": true; }; }, { "sort": "sortChange"; "pageChange": "pageChange"; "rowClick": "rowClick"; }, never, ["*"], true, never>;
|
|
2219
2357
|
}
|
|
2220
2358
|
|
|
2221
2359
|
declare class RegisterNgModelService {
|
|
@@ -2303,6 +2441,7 @@ declare class GrecaptchaComponent implements OnInit, OnDestroy {
|
|
|
2303
2441
|
private readonly sdkLogsService;
|
|
2304
2442
|
private readonly destroyRef;
|
|
2305
2443
|
private widgetId;
|
|
2444
|
+
private scriptElement;
|
|
2306
2445
|
ngOnInit(): void;
|
|
2307
2446
|
ngOnDestroy(): void;
|
|
2308
2447
|
reset(): void;
|
|
@@ -2320,21 +2459,17 @@ declare class GrecaptchaComponent implements OnInit, OnDestroy {
|
|
|
2320
2459
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<GrecaptchaComponent, "app-grecaptcha", never, { "siteKey": { "alias": "siteKey"; "required": false; "isSignal": true; }; }, { "loaded": "loaded"; "scriptError": "scriptError"; "tokenOnSuccess": "tokenOnSuccess"; "destroyed": "destroyed"; }, never, never, true, never>;
|
|
2321
2460
|
}
|
|
2322
2461
|
|
|
2323
|
-
declare class SdkRecaptchaComponent
|
|
2462
|
+
declare class SdkRecaptchaComponent {
|
|
2324
2463
|
readonly grecaptcha: _angular_core.Signal<GrecaptchaComponent | undefined>;
|
|
2325
2464
|
shouldDisplay: Observable<boolean>;
|
|
2326
|
-
isLoaded: boolean
|
|
2327
|
-
hasLoadingError: boolean
|
|
2465
|
+
readonly isLoaded: _angular_core.WritableSignal<boolean>;
|
|
2466
|
+
readonly hasLoadingError: _angular_core.WritableSignal<boolean>;
|
|
2328
2467
|
errors: Observable<FormError[]>;
|
|
2329
2468
|
publicKey: Observable<string | null>;
|
|
2330
2469
|
recaptchaUrlForUserError: Observable<string | null>;
|
|
2331
2470
|
private readonly recaptchaService;
|
|
2332
|
-
private readonly cdr;
|
|
2333
2471
|
private readonly destroyRef;
|
|
2334
|
-
private forceDetectChange;
|
|
2335
2472
|
constructor();
|
|
2336
|
-
ngOnInit(): void;
|
|
2337
|
-
ngOnDestroy(): void;
|
|
2338
2473
|
setIsLoaded(isLoaded: boolean): void;
|
|
2339
2474
|
setScriptError(scriptError: boolean): void;
|
|
2340
2475
|
tokenOnSuccess(token: string | null): void;
|
|
@@ -2354,7 +2489,7 @@ declare const IAM_ACV_OIDC_REDIRECT_LOCATION_REGEX: InjectionToken<RegExp>;
|
|
|
2354
2489
|
|
|
2355
2490
|
declare class RedirectComponent implements OnDestroy {
|
|
2356
2491
|
isModalVisible: Observable<boolean>;
|
|
2357
|
-
counter: number
|
|
2492
|
+
readonly counter: _angular_core.WritableSignal<number>;
|
|
2358
2493
|
redirectUrl: string;
|
|
2359
2494
|
private readonly DEFAULT_COUNTER;
|
|
2360
2495
|
private readonly iamInterceptor;
|
|
@@ -2400,10 +2535,20 @@ declare class DocumentReferenceWithFile extends DocumentReference {
|
|
|
2400
2535
|
file: File | undefined | null;
|
|
2401
2536
|
}
|
|
2402
2537
|
|
|
2538
|
+
declare const getSafeFileNameForErrorMessage: (fileName: string) => string;
|
|
2539
|
+
/**
|
|
2540
|
+
* Limits of an uploader overriding the ones of the application info, displayed in its error messages.
|
|
2541
|
+
*/
|
|
2542
|
+
interface UploaderErrorLimits {
|
|
2543
|
+
overrideAcceptedExtensions?: string;
|
|
2544
|
+
overrideMaxFileNameLength?: number;
|
|
2545
|
+
overrideIllegalCharacters?: string;
|
|
2546
|
+
maxFileSizeInMo?: number;
|
|
2547
|
+
}
|
|
2403
2548
|
declare class UploaderHelper {
|
|
2404
2549
|
private readonly dictionaryService;
|
|
2405
2550
|
private readonly applicationInfoService;
|
|
2406
|
-
private _accept;
|
|
2551
|
+
private readonly _accept;
|
|
2407
2552
|
private _fileMaxSizeInBytesByFormKey;
|
|
2408
2553
|
private _maxFileNameLength;
|
|
2409
2554
|
private _illegalCharacters;
|
|
@@ -2420,16 +2565,32 @@ declare class UploaderHelper {
|
|
|
2420
2565
|
get accept(): string;
|
|
2421
2566
|
set accept(value: string);
|
|
2422
2567
|
getMaxFileSizeInBytesForFormKey(formKey: string): number | undefined | null;
|
|
2423
|
-
|
|
2568
|
+
/**
|
|
2569
|
+
* The maximum size of a file: the one of its form key (application info) and `maxFileSizeInMo` (a limit of the
|
|
2570
|
+
* component), the smallest of both.
|
|
2571
|
+
*/
|
|
2572
|
+
getMaxFileSizeInBytes(formKey: string, maxFileSizeInMo?: number): number | null;
|
|
2573
|
+
isFileTooBig(formKey: string, fileSizeInBytes: number, maxFileSizeInMo?: number): boolean;
|
|
2424
2574
|
isFileTooSmall(fileSizeInBytes: number): boolean;
|
|
2425
2575
|
isFileNameLengthValid(filename: string, overrideMaxFileNameLength?: number): boolean;
|
|
2426
2576
|
isFileNameNameValid(filename: string, overrideIllegalCharacters?: string): boolean;
|
|
2427
2577
|
getFileExtension(filename: string): string;
|
|
2428
2578
|
isFileExtensionValid(fileExtension: string, overrideAcceptedExtensions?: string): boolean;
|
|
2429
2579
|
getUniqueErrorByCode(name: string, errorCode: string, fileName: string, customErrors: Record<string, string>, overrideAcceptedExtensions?: string, overrideMaxFileNameLength?: number, overrideIllegalCharacters?: string): FormError;
|
|
2430
|
-
addCustomErrorOrDefault(name: string, destinationErrors: FormError[], errorCode: string, fileName: string, customErrors: Record<string, string>,
|
|
2580
|
+
addCustomErrorOrDefault(name: string, destinationErrors: FormError[], errorCode: string, fileName: string, customErrors: Record<string, string>, limits?: UploaderErrorLimits): void;
|
|
2581
|
+
/**
|
|
2582
|
+
* The default messages of the upload errors, in the current language.
|
|
2583
|
+
*/
|
|
2584
|
+
getDefaultCustomErrors(): Record<string, string>;
|
|
2585
|
+
/**
|
|
2586
|
+
* The messages of the upload errors: the given custom errors, completed with the default messages.
|
|
2587
|
+
*/
|
|
2588
|
+
mergeCustomErrors(customErrors: Record<string, string>, defaultCustomErrors?: Record<string, string>): Record<string, string>;
|
|
2589
|
+
/**
|
|
2590
|
+
* @deprecated Overwrites the given custom errors with the default messages: use `mergeCustomErrors()`.
|
|
2591
|
+
*/
|
|
2431
2592
|
createDefaultCustomErrors(customErrors: Record<string, string>): void;
|
|
2432
|
-
getLocalErrors(name: string, files: File[], customErrors: Record<string, string>, overrideAcceptedExtensions?: string, overrideMaxFileNameLength?: number, overrideIllegalCharacters?: string): FormError[];
|
|
2593
|
+
getLocalErrors(name: string, files: File[], customErrors: Record<string, string>, overrideAcceptedExtensions?: string, overrideMaxFileNameLength?: number, overrideIllegalCharacters?: string, maxFileSizeInMo?: number): FormError[];
|
|
2433
2594
|
hasLiveUploadErrors(errors: FormError[]): boolean;
|
|
2434
2595
|
preventAndStop(event: any): void;
|
|
2435
2596
|
getAllFilesCount(data: any): string | null;
|
|
@@ -2442,6 +2603,7 @@ declare class UploaderHelper {
|
|
|
2442
2603
|
mapToFormData(documents: DocumentReferenceWithFile[], formKey: string, language: string): FormData;
|
|
2443
2604
|
removeCommasInLabel(label: string): string;
|
|
2444
2605
|
private isTooBig;
|
|
2606
|
+
private getUniqueError;
|
|
2445
2607
|
private replaceErrorMessageKeys;
|
|
2446
2608
|
private getDefaultUnknownErrorMessage;
|
|
2447
2609
|
private normalizeKey;
|
|
@@ -2482,11 +2644,13 @@ declare abstract class AbstractFoehnUploaderComponent<T> extends FoehnInputCompo
|
|
|
2482
2644
|
protected deleteDocumentSubject: BehaviorSubject<DocumentReference | File | null>;
|
|
2483
2645
|
protected uploadFilesSubject: BehaviorSubject<File[] | null>;
|
|
2484
2646
|
protected currentLanguage: string | undefined;
|
|
2647
|
+
protected readonly uploaderCustomErrors: _angular_core.Signal<Record<string, string>>;
|
|
2485
2648
|
protected readonly resolvedChooseButtonLabel: _angular_core.Signal<string>;
|
|
2486
2649
|
protected readonly resolvedChooseButtonLabelMultiple: _angular_core.Signal<string>;
|
|
2487
2650
|
protected readonly resolvedDropZoneLabel: _angular_core.Signal<string>;
|
|
2488
2651
|
protected readonly resolvedDropZoneLabelMultiple: _angular_core.Signal<string>;
|
|
2489
2652
|
protected readonly resolvedDeleteConfirmationMessage: _angular_core.Signal<string>;
|
|
2653
|
+
private readonly defaultCustomErrors;
|
|
2490
2654
|
constructor();
|
|
2491
2655
|
abstract get addedFiles(): unknown[];
|
|
2492
2656
|
onDocumentDragOver(event: any): void;
|
|
@@ -2503,6 +2667,14 @@ declare abstract class AbstractFoehnUploaderComponent<T> extends FoehnInputCompo
|
|
|
2503
2667
|
toMegaOctets(size: number): number;
|
|
2504
2668
|
hasLiveUploadErrors(): boolean;
|
|
2505
2669
|
protected removeFileOnConfirmation(document: DocumentReference | File): void;
|
|
2670
|
+
/**
|
|
2671
|
+
* A maximum size of each file, in addition to the one of its form key in the application info.
|
|
2672
|
+
*/
|
|
2673
|
+
protected getMaxFileSizeInMo(): number | undefined;
|
|
2674
|
+
/**
|
|
2675
|
+
* The limits of this uploader displayed in its error messages.
|
|
2676
|
+
*/
|
|
2677
|
+
protected getErrorLimits(): UploaderErrorLimits;
|
|
2506
2678
|
protected displayLocalErrors(files: File[]): FormError[];
|
|
2507
2679
|
protected isMaxSelectionReached(files: File[]): boolean;
|
|
2508
2680
|
protected isMaxFilesCountReached(files: File[]): boolean;
|
|
@@ -2512,6 +2684,17 @@ declare abstract class AbstractFoehnUploaderComponent<T> extends FoehnInputCompo
|
|
|
2512
2684
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<AbstractFoehnUploaderComponent<any>, never, never, { "showUploadButton": { "alias": "showUploadButton"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "hideGlobalInfos": { "alias": "hideGlobalInfos"; "required": false; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "key": { "alias": "key"; "required": false; "isSignal": true; }; "overrideAcceptedExtensions": { "alias": "overrideAcceptedExtensions"; "required": false; "isSignal": true; }; "overrideMaxFileNameLength": { "alias": "overrideMaxFileNameLength"; "required": false; "isSignal": true; }; "overrideIllegalCharacters": { "alias": "overrideIllegalCharacters"; "required": false; "isSignal": true; }; "showDeleteConfirmationMessage": { "alias": "showDeleteConfirmationMessage"; "required": false; "isSignal": true; }; "maxSimultaneousSelectedFiles": { "alias": "maxSimultaneousSelectedFiles"; "required": false; "isSignal": true; }; "maxFilesCount": { "alias": "maxFilesCount"; "required": false; "isSignal": true; }; "maxFilesSizeInMo": { "alias": "maxFilesSizeInMo"; "required": false; "isSignal": true; }; "dragAndDrop": { "alias": "dragAndDrop"; "required": false; "isSignal": true; }; "shouldDisplayFileSavedConfirmation": { "alias": "shouldDisplayFileSavedConfirmation"; "required": false; "isSignal": true; }; "chooseButtonLabel": { "alias": "chooseButtonLabel"; "required": false; "isSignal": true; }; "chooseButtonLabelMultiple": { "alias": "chooseButtonLabelMultiple"; "required": false; "isSignal": true; }; "dropZoneLabel": { "alias": "dropZoneLabel"; "required": false; "isSignal": true; }; "dropZoneLabelMultiple": { "alias": "dropZoneLabelMultiple"; "required": false; "isSignal": true; }; "deleteConfirmationMessage": { "alias": "deleteConfirmationMessage"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
2513
2685
|
}
|
|
2514
2686
|
|
|
2687
|
+
interface DocumentChanges {
|
|
2688
|
+
filesToAdd: File[];
|
|
2689
|
+
documentsToDelete: DocumentReference[];
|
|
2690
|
+
}
|
|
2691
|
+
/**
|
|
2692
|
+
* Computes what needs to be uploaded/deleted server-side by comparing a document list
|
|
2693
|
+
* currently held in a "local upload" model (mixing already persisted `DocumentReference`
|
|
2694
|
+
* and pending `DocumentReferenceWithFile`) against the list as it was originally loaded.
|
|
2695
|
+
*/
|
|
2696
|
+
declare function splitDocumentChanges(current: DocumentReference[] | undefined | null, original: DocumentReference[] | undefined | null): DocumentChanges;
|
|
2697
|
+
|
|
2515
2698
|
declare class PendingFiles {
|
|
2516
2699
|
url: string | undefined | null;
|
|
2517
2700
|
formKey: string | undefined | null;
|
|
@@ -2599,7 +2782,7 @@ declare class PendingUploadService {
|
|
|
2599
2782
|
|
|
2600
2783
|
declare class FoehnMultiUploadComponent extends AbstractFoehnUploaderComponent<DocumentReference[]> implements OnInit, OnDestroy {
|
|
2601
2784
|
readonly url: _angular_core.InputSignal<string>;
|
|
2602
|
-
readonly reference: _angular_core.InputSignal<string | undefined>;
|
|
2785
|
+
readonly reference: _angular_core.InputSignal<string | null | undefined>;
|
|
2603
2786
|
multiUploadService: MultiUploadService;
|
|
2604
2787
|
pendingUploadService: PendingUploadService;
|
|
2605
2788
|
protected pageUploadLimitService: PageUploadLimitService;
|
|
@@ -2658,23 +2841,36 @@ declare class FoehnBoMultiUploadComponent extends AbstractFoehnUploaderComponent
|
|
|
2658
2841
|
readonly deleteUrl: _angular_core.InputSignal<string | undefined>;
|
|
2659
2842
|
readonly downloadUrl: _angular_core.InputSignal<string | undefined>;
|
|
2660
2843
|
readonly optionalLabelKey: _angular_core.InputSignal<string>;
|
|
2844
|
+
readonly localUpload: _angular_core.InputSignal<boolean>;
|
|
2845
|
+
readonly maxFileSizeInMo: _angular_core.InputSignal<number | undefined>;
|
|
2846
|
+
readonly chooseButtonStyleModifier: _angular_core.InputSignal<string | undefined>;
|
|
2661
2847
|
readonly documentDeleted: _angular_core.OutputEmitterRef<DocumentReference>;
|
|
2662
2848
|
boMultiUploadService: BoMultiUploadService;
|
|
2663
2849
|
protected pageUploadLimitService: PageUploadLimitService;
|
|
2850
|
+
private readonly blobUrls;
|
|
2851
|
+
private localSequence;
|
|
2664
2852
|
get addedFiles(): DocumentReference[];
|
|
2665
2853
|
ngOnInit(): void;
|
|
2666
2854
|
ngOnDestroy(): void;
|
|
2855
|
+
isPending(document: DocumentReference): boolean;
|
|
2856
|
+
getDocumentDownloadUrl(document: DocumentReference): string;
|
|
2667
2857
|
getTotalFilesSize(): number;
|
|
2668
2858
|
canAddMoreFiles(): boolean;
|
|
2669
2859
|
onFileChange(event: Event): void;
|
|
2670
2860
|
onDrop(event: any): void;
|
|
2861
|
+
protected getMaxFileSizeInMo(): number | undefined;
|
|
2862
|
+
protected removeFileOnConfirmation(document: DocumentReference | File): void;
|
|
2671
2863
|
private populateFileItemList;
|
|
2864
|
+
private addFilesLocally;
|
|
2865
|
+
private toPendingDocument;
|
|
2866
|
+
private removeDocumentLocally;
|
|
2867
|
+
private revokeBlobUrl;
|
|
2672
2868
|
private displayResultFromServer;
|
|
2673
2869
|
private removeDocumentFromModel;
|
|
2674
2870
|
private displayErrorsFromServer;
|
|
2675
2871
|
private manageSingleFile;
|
|
2676
2872
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FoehnBoMultiUploadComponent, never>;
|
|
2677
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FoehnBoMultiUploadComponent, "foehn-bo-multi-upload", never, { "uploadUrl": { "alias": "uploadUrl"; "required": false; "isSignal": true; }; "deleteUrl": { "alias": "deleteUrl"; "required": false; "isSignal": true; }; "downloadUrl": { "alias": "downloadUrl"; "required": false; "isSignal": true; }; "optionalLabelKey": { "alias": "optionalLabelKey"; "required": false; "isSignal": true; }; }, { "documentDeleted": "documentDeleted"; }, never, ["*"], true, never>;
|
|
2873
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FoehnBoMultiUploadComponent, "foehn-bo-multi-upload", never, { "uploadUrl": { "alias": "uploadUrl"; "required": false; "isSignal": true; }; "deleteUrl": { "alias": "deleteUrl"; "required": false; "isSignal": true; }; "downloadUrl": { "alias": "downloadUrl"; "required": false; "isSignal": true; }; "optionalLabelKey": { "alias": "optionalLabelKey"; "required": false; "isSignal": true; }; "localUpload": { "alias": "localUpload"; "required": false; "isSignal": true; }; "maxFileSizeInMo": { "alias": "maxFileSizeInMo"; "required": false; "isSignal": true; }; "chooseButtonStyleModifier": { "alias": "chooseButtonStyleModifier"; "required": false; "isSignal": true; }; }, { "documentDeleted": "documentDeleted"; }, never, ["*"], true, never>;
|
|
2678
2874
|
}
|
|
2679
2875
|
|
|
2680
2876
|
declare class FoehnPictureUploadComponent extends FoehnInputComponent<DocumentReference[]> implements OnInit {
|
|
@@ -2685,9 +2881,9 @@ declare class FoehnPictureUploadComponent extends FoehnInputComponent<DocumentRe
|
|
|
2685
2881
|
readonly resizeToHeight: _angular_core.InputSignal<number>;
|
|
2686
2882
|
readonly shouldDisplayFileSavedConfirmation: _angular_core.InputSignal<boolean>;
|
|
2687
2883
|
readonly acceptFormats = ".jpeg,.jpg,.png";
|
|
2688
|
-
pictureToCrop: Event | null
|
|
2689
|
-
croppedPictureAsBlob: Blob | null
|
|
2690
|
-
loading: boolean
|
|
2884
|
+
readonly pictureToCrop: _angular_core.WritableSignal<Event | null>;
|
|
2885
|
+
readonly croppedPictureAsBlob: _angular_core.WritableSignal<Blob | null>;
|
|
2886
|
+
readonly loading: _angular_core.WritableSignal<boolean>;
|
|
2691
2887
|
protected currentLanguage: string | undefined;
|
|
2692
2888
|
private readonly uploadService;
|
|
2693
2889
|
private readonly dictionaryService;
|
|
@@ -2714,6 +2910,7 @@ declare abstract class AbstractUploadProgressService {
|
|
|
2714
2910
|
}
|
|
2715
2911
|
|
|
2716
2912
|
declare class AbstractFoehnGlobalUploadProgressBarComponent {
|
|
2913
|
+
#private;
|
|
2717
2914
|
readonly progressBarPanel: _angular_core.Signal<ElementRef<any> | undefined>;
|
|
2718
2915
|
showProgress: Observable<boolean>;
|
|
2719
2916
|
protected uploadProgressService: AbstractUploadProgressService;
|
|
@@ -2795,8 +2992,8 @@ declare class PendingPaymentComponent {
|
|
|
2795
2992
|
declare class SdkEpaymentComponent implements OnInit {
|
|
2796
2993
|
readonly baseUrl: _angular_core.InputSignal<string>;
|
|
2797
2994
|
platformFailureMessageDicoKey: string;
|
|
2798
|
-
failureModalDisplayed: boolean
|
|
2799
|
-
redirectModalDisplayed: boolean
|
|
2995
|
+
readonly failureModalDisplayed: _angular_core.WritableSignal<boolean>;
|
|
2996
|
+
readonly redirectModalDisplayed: _angular_core.WritableSignal<boolean>;
|
|
2800
2997
|
private readonly ePaymentService;
|
|
2801
2998
|
private readonly route;
|
|
2802
2999
|
private readonly gesDemService;
|
|
@@ -2834,11 +3031,11 @@ declare class EPaymentService {
|
|
|
2834
3031
|
}
|
|
2835
3032
|
|
|
2836
3033
|
declare class FoehnConfirmModalComponent implements OnInit {
|
|
2837
|
-
isVisible: boolean
|
|
3034
|
+
readonly isVisible: _angular_core.WritableSignal<boolean>;
|
|
3035
|
+
readonly content: Observable<FoehnConfirmModalContent | null>;
|
|
2838
3036
|
private readonly confirmModalService;
|
|
2839
3037
|
private readonly destroyRef;
|
|
2840
3038
|
constructor();
|
|
2841
|
-
get content(): Observable<FoehnConfirmModalContent | null>;
|
|
2842
3039
|
ngOnInit(): void;
|
|
2843
3040
|
cancel(): void;
|
|
2844
3041
|
ok(): void;
|
|
@@ -2853,7 +3050,7 @@ declare class FoehnHelpModalComponent {
|
|
|
2853
3050
|
readonly hideable: _angular_core.InputSignal<boolean>;
|
|
2854
3051
|
readonly modalTrigger: _angular_core.Signal<ElementRef<any> | undefined>;
|
|
2855
3052
|
readonly content: _angular_core.Signal<ElementRef<any> | undefined>;
|
|
2856
|
-
private isVisible;
|
|
3053
|
+
private readonly isVisible;
|
|
2857
3054
|
get isModalVisible(): boolean;
|
|
2858
3055
|
get currentModalTitle(): string;
|
|
2859
3056
|
open(): void;
|
|
@@ -2865,37 +3062,13 @@ declare class FoehnHelpModalComponent {
|
|
|
2865
3062
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FoehnHelpModalComponent, "foehn-help-modal", never, { "modalContent": { "alias": "modalContent"; "required": false; "isSignal": true; }; "draggable": { "alias": "draggable"; "required": false; "isSignal": true; }; "hideable": { "alias": "hideable"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
2866
3063
|
}
|
|
2867
3064
|
|
|
2868
|
-
declare class FoehnModalComponent {
|
|
2869
|
-
readonly isModalVisible: _angular_core.ModelSignal<boolean>;
|
|
2870
|
-
readonly id: _angular_core.InputSignal<string | undefined>;
|
|
2871
|
-
readonly modalBodyText: _angular_core.InputSignal<string | undefined>;
|
|
2872
|
-
readonly modalHeaderText: _angular_core.InputSignal<string | undefined>;
|
|
2873
|
-
readonly closeable: _angular_core.InputSignal<boolean>;
|
|
2874
|
-
readonly draggable: _angular_core.InputSignal<boolean>;
|
|
2875
|
-
readonly hideable: _angular_core.InputSignal<boolean>;
|
|
2876
|
-
readonly modalTriggerHtmlElement: _angular_core.InputSignal<HTMLElement | undefined>;
|
|
2877
|
-
readonly name: _angular_core.InputSignal<string | undefined>;
|
|
2878
|
-
readonly modalSize: _angular_core.InputSignal<string | undefined>;
|
|
2879
|
-
readonly modalBody: _angular_core.Signal<ElementRef<any> | undefined>;
|
|
2880
|
-
readonly modalTitle: _angular_core.Signal<ElementRef<any> | undefined>;
|
|
2881
|
-
readonly specificfooter: _angular_core.Signal<ElementRef<any> | undefined>;
|
|
2882
|
-
readonly modalDefaultCloseBtn: _angular_core.Signal<ElementRef<any> | undefined>;
|
|
2883
|
-
private previousIsVisible;
|
|
2884
|
-
private readonly visibilityEffect;
|
|
2885
|
-
handleKeyboardEvent(event: KeyboardEvent): void;
|
|
2886
|
-
private focusOnContainer;
|
|
2887
|
-
private focusOnModalTrigger;
|
|
2888
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FoehnModalComponent, never>;
|
|
2889
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FoehnModalComponent, "foehn-modal", never, { "isModalVisible": { "alias": "isModalVisible"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "modalBodyText": { "alias": "modalBodyText"; "required": false; "isSignal": true; }; "modalHeaderText": { "alias": "modalHeaderText"; "required": false; "isSignal": true; }; "closeable": { "alias": "closeable"; "required": false; "isSignal": true; }; "draggable": { "alias": "draggable"; "required": false; "isSignal": true; }; "hideable": { "alias": "hideable"; "required": false; "isSignal": true; }; "modalTriggerHtmlElement": { "alias": "modalTriggerHtmlElement"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "modalSize": { "alias": "modalSize"; "required": false; "isSignal": true; }; }, { "isModalVisible": "isModalVisibleChange"; }, never, ["*", "[modal-footer]"], true, never>;
|
|
2890
|
-
}
|
|
2891
|
-
|
|
2892
3065
|
declare class FoehnPageModalComponent implements OnInit {
|
|
2893
|
-
wrongPublicModalVisible: boolean
|
|
2894
|
-
formattedPublicsCibles: string[]
|
|
3066
|
+
readonly wrongPublicModalVisible: _angular_core.WritableSignal<boolean>;
|
|
3067
|
+
readonly formattedPublicsCibles: _angular_core.WritableSignal<string[]>;
|
|
2895
3068
|
private readonly sessionInfo;
|
|
2896
3069
|
private readonly applicationInfoService;
|
|
2897
3070
|
private readonly foehnPageModalService;
|
|
2898
|
-
private userCategories;
|
|
3071
|
+
private readonly userCategories;
|
|
2899
3072
|
private publicsCibles;
|
|
2900
3073
|
ngOnInit(): void;
|
|
2901
3074
|
getFullLoginUrl(): Observable<string>;
|
|
@@ -2958,8 +3131,14 @@ declare class CurrencyHelper {
|
|
|
2958
3131
|
|
|
2959
3132
|
declare class NumberCurrencyFormatterDirective implements OnInit {
|
|
2960
3133
|
private readonly host;
|
|
2961
|
-
private readonly
|
|
3134
|
+
private readonly injector;
|
|
2962
3135
|
private hasFocus;
|
|
3136
|
+
/**
|
|
3137
|
+
* Model value written by the formatting itself: its change must not be
|
|
3138
|
+
* formatted again, the input already displays the formatted value
|
|
3139
|
+
* (e.g. "-.00" for the model ".00").
|
|
3140
|
+
*/
|
|
3141
|
+
private modelSetByFormatting;
|
|
2963
3142
|
private readonly formattingEffect;
|
|
2964
3143
|
onBlur(event: FocusEvent): void;
|
|
2965
3144
|
onFocus(event: FocusEvent): void;
|
|
@@ -3057,11 +3236,11 @@ declare class GesdemActionRecoveryLoginComponent implements OnInit {
|
|
|
3057
3236
|
readonly redirectTarget: _angular_core.InputSignal<string | undefined>;
|
|
3058
3237
|
readonly loginForm: _angular_core.Signal<FoehnFormComponent>;
|
|
3059
3238
|
readonly recaptchaComponent: _angular_core.Signal<SdkRecaptchaComponent | undefined>;
|
|
3060
|
-
demandeNotFound: boolean
|
|
3061
|
-
rateLimited: boolean
|
|
3062
|
-
rateLimitCounter: number
|
|
3063
|
-
otpRecipient: string | null | undefined
|
|
3064
|
-
otp: string
|
|
3239
|
+
readonly demandeNotFound: _angular_core.WritableSignal<boolean>;
|
|
3240
|
+
readonly rateLimited: _angular_core.WritableSignal<boolean>;
|
|
3241
|
+
readonly rateLimitCounter: _angular_core.WritableSignal<number>;
|
|
3242
|
+
readonly otpRecipient: _angular_core.WritableSignal<string | null | undefined>;
|
|
3243
|
+
readonly otp: _angular_core.WritableSignal<string>;
|
|
3065
3244
|
private readonly recoveryService;
|
|
3066
3245
|
private readonly growlService;
|
|
3067
3246
|
private readonly confirmModalService;
|
|
@@ -3090,8 +3269,8 @@ declare class GesdemActionRecoveryRegistrationComponent implements OnInit {
|
|
|
3090
3269
|
readonly triggerOnPageChange: _angular_core.InputSignal<boolean>;
|
|
3091
3270
|
readonly modalTrigger: _angular_core.Signal<ElementRef<any> | undefined>;
|
|
3092
3271
|
readonly form: _angular_core.Signal<FoehnFormComponent | undefined>;
|
|
3093
|
-
model: InfoReprise | null
|
|
3094
|
-
mailSent: boolean
|
|
3272
|
+
readonly model: _angular_core.WritableSignal<InfoReprise | null>;
|
|
3273
|
+
readonly mailSent: _angular_core.WritableSignal<boolean>;
|
|
3095
3274
|
canContinueLater: Observable<boolean> | undefined;
|
|
3096
3275
|
isConnectedCyber: Observable<boolean> | undefined;
|
|
3097
3276
|
currentInfoReprise: Observable<InfoReprise | undefined>;
|
|
@@ -3110,13 +3289,18 @@ declare class GesdemActionRecoveryRegistrationComponent implements OnInit {
|
|
|
3110
3289
|
private readonly eventsLoggerService;
|
|
3111
3290
|
private readonly dictionaryService;
|
|
3112
3291
|
private readonly destroyRef;
|
|
3113
|
-
private isVisible;
|
|
3292
|
+
private readonly isVisible;
|
|
3114
3293
|
constructor();
|
|
3115
3294
|
get isModalVisible(): boolean;
|
|
3116
3295
|
get reference(): string;
|
|
3117
3296
|
ngOnInit(): void;
|
|
3118
3297
|
saveAndOpenModal(): void;
|
|
3119
3298
|
openModal(isConnectedCyber: boolean): void;
|
|
3299
|
+
/**
|
|
3300
|
+
* Updates the recovery information entered by the user, without mutating the current value.
|
|
3301
|
+
* @param changes values entered by the user
|
|
3302
|
+
*/
|
|
3303
|
+
updateModel(changes: Partial<InfoReprise>): void;
|
|
3120
3304
|
close(): void;
|
|
3121
3305
|
sendAndClose(): void;
|
|
3122
3306
|
updateVisibilityStatus(status: boolean): void;
|
|
@@ -3154,6 +3338,7 @@ declare class FoehnListItem {
|
|
|
3154
3338
|
}
|
|
3155
3339
|
|
|
3156
3340
|
declare abstract class AbstractListDetailPageComponent<FORM_TYPE extends I18nForm, ITEM_TYPE extends FoehnListItem> extends AbstractPageFromMenuComponent<FORM_TYPE> implements OnInit, OnDestroy {
|
|
3341
|
+
#private;
|
|
3157
3342
|
list: ITEM_TYPE[];
|
|
3158
3343
|
itemIndex: number | null;
|
|
3159
3344
|
protected router: Router;
|
|
@@ -3178,6 +3363,11 @@ declare abstract class AbstractListDetailPageComponent<FORM_TYPE extends I18nFor
|
|
|
3178
3363
|
}
|
|
3179
3364
|
|
|
3180
3365
|
declare abstract class AbstractMenuPageComponent<T extends I18nForm> extends AbstractPageComponent<T> implements AfterViewInit {
|
|
3366
|
+
#private;
|
|
3367
|
+
/**
|
|
3368
|
+
* @deprecated not used anymore by prestations-ng, which does not depend on zone.js.
|
|
3369
|
+
* Inject `NgZone` in your own component if you really need it.
|
|
3370
|
+
*/
|
|
3181
3371
|
protected ngZone: NgZone;
|
|
3182
3372
|
ngAfterViewInit(): void;
|
|
3183
3373
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AbstractMenuPageComponent<any>, never>;
|
|
@@ -3195,37 +3385,33 @@ declare class FoehnErrorPillComponent {
|
|
|
3195
3385
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FoehnErrorPillComponent, "foehn-error-pill", never, { "errorPrefix": { "alias": "errorPrefix"; "required": false; "isSignal": true; }; "incompleteIndicatorOnly": { "alias": "incompleteIndicatorOnly"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
3196
3386
|
}
|
|
3197
3387
|
|
|
3198
|
-
interface FoehnListItemDescription {
|
|
3388
|
+
interface FoehnListItemDescription<T> {
|
|
3199
3389
|
label: string;
|
|
3200
|
-
hideIfEmpty?(item:
|
|
3201
|
-
getFormattedValue(item:
|
|
3390
|
+
hideIfEmpty?(item: T): boolean;
|
|
3391
|
+
getFormattedValue(item: T): string;
|
|
3202
3392
|
}
|
|
3203
3393
|
|
|
3204
|
-
declare class FoehnListSummaryComponent extends FoehnInputComponent<
|
|
3205
|
-
readonly getListItemTitle: _angular_core.InputSignal<((item:
|
|
3206
|
-
readonly listItemDescriptions: _angular_core.InputSignal<FoehnListItemDescription[]>;
|
|
3394
|
+
declare class FoehnListSummaryComponent<T extends FoehnListItem> extends FoehnInputComponent<T[]> {
|
|
3395
|
+
readonly getListItemTitle: _angular_core.InputSignal<((item: T) => string | null | undefined) | undefined>;
|
|
3396
|
+
readonly listItemDescriptions: _angular_core.InputSignal<FoehnListItemDescription<T>[]>;
|
|
3207
3397
|
readonly showAsTable: _angular_core.InputSignal<boolean>;
|
|
3208
3398
|
readonly tableActionButtons: _angular_core.Signal<TemplateRef<unknown> | undefined>;
|
|
3209
3399
|
readonly canAddItems: _angular_core.InputSignal<boolean>;
|
|
3210
3400
|
readonly itemRemoved: _angular_core.OutputEmitterRef<void>;
|
|
3211
3401
|
readonly itemEdit: _angular_core.OutputEmitterRef<number | null>;
|
|
3212
|
-
listCopyForTable:
|
|
3213
|
-
tableConfiguration: FoehnTableColumnConfiguration<
|
|
3402
|
+
readonly listCopyForTable: _angular_core.Signal<T[] | null | undefined>;
|
|
3403
|
+
readonly tableConfiguration: _angular_core.Signal<FoehnTableColumnConfiguration<T>[]>;
|
|
3214
3404
|
tableSort: TableSort;
|
|
3215
3405
|
private readonly confirmModalService;
|
|
3216
|
-
|
|
3217
|
-
|
|
3218
|
-
|
|
3219
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
3220
|
-
ngAfterViewInit(): void;
|
|
3221
|
-
showLine(item: FoehnListItem, itemParam: FoehnListItemDescription): boolean;
|
|
3406
|
+
trackFoehnListItem: TrackByFunction<T>;
|
|
3407
|
+
trackFoehnListItemDescription: TrackByFunction<FoehnListItemDescription<T>>;
|
|
3408
|
+
showLine(item: T, itemParam: FoehnListItemDescription<T>): boolean;
|
|
3222
3409
|
editItem(index?: number | null): void;
|
|
3223
3410
|
removeItem(index: number): void;
|
|
3224
3411
|
changeSort(sortEvent: TableSort | undefined): void;
|
|
3225
3412
|
private sortNow;
|
|
3226
|
-
|
|
3227
|
-
static
|
|
3228
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FoehnListSummaryComponent, "foehn-list-summary", never, { "getListItemTitle": { "alias": "getListItemTitle"; "required": false; "isSignal": true; }; "listItemDescriptions": { "alias": "listItemDescriptions"; "required": false; "isSignal": true; }; "showAsTable": { "alias": "showAsTable"; "required": false; "isSignal": true; }; "canAddItems": { "alias": "canAddItems"; "required": false; "isSignal": true; }; }, { "itemRemoved": "itemRemoved"; "itemEdit": "itemEdit"; }, never, never, true, never>;
|
|
3413
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FoehnListSummaryComponent<any>, never>;
|
|
3414
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FoehnListSummaryComponent<any>, "foehn-list-summary", never, { "getListItemTitle": { "alias": "getListItemTitle"; "required": false; "isSignal": true; }; "listItemDescriptions": { "alias": "listItemDescriptions"; "required": false; "isSignal": true; }; "showAsTable": { "alias": "showAsTable"; "required": false; "isSignal": true; }; "canAddItems": { "alias": "canAddItems"; "required": false; "isSignal": true; }; }, { "itemRemoved": "itemRemoved"; "itemEdit": "itemEdit"; }, never, never, true, never>;
|
|
3229
3415
|
}
|
|
3230
3416
|
|
|
3231
3417
|
declare class FoehnMenuItemComponent {
|
|
@@ -3338,7 +3524,7 @@ declare class FocusedDay {
|
|
|
3338
3524
|
}
|
|
3339
3525
|
|
|
3340
3526
|
declare class FoehnDatePickerComponent implements OnInit {
|
|
3341
|
-
hostId: string | null
|
|
3527
|
+
readonly hostId: _angular_core.WritableSignal<string | null>;
|
|
3342
3528
|
readonly daysButtonsElemRef: _angular_core.Signal<readonly ElementRef<any>[]>;
|
|
3343
3529
|
readonly model: _angular_core.ModelSignal<number[] | null>;
|
|
3344
3530
|
readonly isDatepickerVisible: _angular_core.ModelSignal<boolean>;
|
|
@@ -3354,14 +3540,15 @@ declare class FoehnDatePickerComponent implements OnInit {
|
|
|
3354
3540
|
readonly minYearComputed: _angular_core.Signal<number>;
|
|
3355
3541
|
readonly maxYearComputed: _angular_core.Signal<number>;
|
|
3356
3542
|
readonly yearListItem: _angular_core.Signal<FormSelectOption[]>;
|
|
3357
|
-
weekDays: string[]
|
|
3358
|
-
weeks: DayMonth[][]
|
|
3359
|
-
selectedDate: dayjs.Dayjs | null
|
|
3543
|
+
readonly weekDays: _angular_core.WritableSignal<string[]>;
|
|
3544
|
+
readonly weeks: _angular_core.WritableSignal<DayMonth[][]>;
|
|
3545
|
+
readonly selectedDate: _angular_core.WritableSignal<dayjs.Dayjs | null>;
|
|
3360
3546
|
currentMonthYear: Observable<MonthYear | null>;
|
|
3361
3547
|
model_: number[] | undefined | null;
|
|
3362
|
-
monthListItem: FormSelectOption[]
|
|
3548
|
+
readonly monthListItem: _angular_core.WritableSignal<FormSelectOption[]>;
|
|
3363
3549
|
private readonly dictionary;
|
|
3364
|
-
private readonly
|
|
3550
|
+
private readonly injector;
|
|
3551
|
+
private readonly pendingTasks;
|
|
3365
3552
|
private readonly changeDetector;
|
|
3366
3553
|
private readonly destroyRef;
|
|
3367
3554
|
private previousIsVisible;
|
|
@@ -3423,7 +3610,7 @@ declare class FoehnDatePickerButtonComponent implements OnInit {
|
|
|
3423
3610
|
readonly datepickerTrigger: _angular_core.Signal<ElementRef<any> | undefined>;
|
|
3424
3611
|
readonly userInput: _angular_core.OutputEmitterRef<number[] | null>;
|
|
3425
3612
|
model_: number[] | null | undefined;
|
|
3426
|
-
private isVisible;
|
|
3613
|
+
private readonly isVisible;
|
|
3427
3614
|
private readonly modelEffect;
|
|
3428
3615
|
get isDatepickerVisible(): boolean;
|
|
3429
3616
|
ngOnInit(): void;
|
|
@@ -3465,8 +3652,18 @@ declare class ObjectHelper {
|
|
|
3465
3652
|
*/
|
|
3466
3653
|
static isEqual(value1: unknown, value2: unknown, skipFunctionTypeCompare?: boolean): boolean;
|
|
3467
3654
|
static isDifferent(value1: unknown, value2: unknown, skipFunctionType?: boolean): boolean;
|
|
3468
|
-
|
|
3469
|
-
|
|
3655
|
+
/**
|
|
3656
|
+
* @param value to check
|
|
3657
|
+
* @returns whether the value isn't `null`, `undefined` or `''`, and, for an array or an object, whether one of its
|
|
3658
|
+
* items or properties holds a value (deeply). A number (`0` included), a boolean (`false` included) and a date are
|
|
3659
|
+
* values.
|
|
3660
|
+
*/
|
|
3661
|
+
static hasAnyValue(value: unknown): boolean;
|
|
3662
|
+
/**
|
|
3663
|
+
* @param value to check
|
|
3664
|
+
* @returns the contrary of {@link hasAnyValue}
|
|
3665
|
+
*/
|
|
3666
|
+
static isEmpty(value: unknown): boolean;
|
|
3470
3667
|
/**
|
|
3471
3668
|
* Deep copy is a true copy for nested objects
|
|
3472
3669
|
* Often, shallow copy is good enough and you will not need a deep copy.
|
|
@@ -3480,7 +3677,7 @@ declare class ObjectHelper {
|
|
|
3480
3677
|
*/
|
|
3481
3678
|
static deepCopy(obj: any): any;
|
|
3482
3679
|
static stripHtml(html: string): string;
|
|
3483
|
-
static getNestedProperty(obj:
|
|
3680
|
+
static getNestedProperty(obj: unknown, key: string): any;
|
|
3484
3681
|
}
|
|
3485
3682
|
|
|
3486
3683
|
declare class ScrollHelper {
|
|
@@ -3579,33 +3776,49 @@ declare class SelectedSlot {
|
|
|
3579
3776
|
date: number[] | undefined | null;
|
|
3580
3777
|
}
|
|
3581
3778
|
|
|
3582
|
-
declare class FoehnAgendaTimeslotPanelComponent extends FoehnInputComponent<SelectedSlot>
|
|
3779
|
+
declare class FoehnAgendaTimeslotPanelComponent extends FoehnInputComponent<SelectedSlot> {
|
|
3583
3780
|
readonly DEFAULT_NB_VISIBLE_ELEMENTS = 22;
|
|
3584
3781
|
readonly calendar: _angular_core.InputSignal<Observable<Calendar> | undefined>;
|
|
3585
3782
|
readonly currentWeek: _angular_core.InputSignal<DaySlots | undefined>;
|
|
3586
3783
|
readonly nbVisibleElements: _angular_core.InputSignal<number | null | undefined>;
|
|
3587
3784
|
readonly visibleElementsCount: _angular_core.Signal<number>;
|
|
3588
3785
|
readonly timeSlotButtonsElemRef: _angular_core.Signal<readonly ElementRef<any>[]>;
|
|
3589
|
-
selectedTimeSlot: string | null
|
|
3590
|
-
|
|
3591
|
-
|
|
3592
|
-
|
|
3593
|
-
|
|
3594
|
-
|
|
3786
|
+
readonly selectedTimeSlot: _angular_core.Signal<string | null>;
|
|
3787
|
+
readonly timeInputValue: _angular_core.Signal<string | null | undefined>;
|
|
3788
|
+
/**
|
|
3789
|
+
* TRUE when only the first visibleElementsCount() time slots are displayed.
|
|
3790
|
+
* Closed again when the time slots change, unless the selected slot would be hidden.
|
|
3791
|
+
*/
|
|
3792
|
+
readonly isClosed: _angular_core.WritableSignal<boolean>;
|
|
3793
|
+
readonly timeSlots: _angular_core.Signal<string[]>;
|
|
3794
|
+
readonly timeslotRemaining: _angular_core.Signal<number>;
|
|
3795
|
+
/**
|
|
3796
|
+
* FALSE when closing the panel would hide the selected slot.
|
|
3797
|
+
*/
|
|
3798
|
+
readonly canClose: _angular_core.Signal<boolean>;
|
|
3595
3799
|
private readonly dictionaryService;
|
|
3596
|
-
private dayInputValue;
|
|
3800
|
+
private readonly dayInputValue;
|
|
3597
3801
|
private keyboardNavigationAllowed;
|
|
3598
3802
|
private currentActiveElement;
|
|
3599
|
-
|
|
3600
|
-
|
|
3601
|
-
|
|
3803
|
+
/**
|
|
3804
|
+
* Index of the selected slot in the time slots of the day, -1 when it is not in this panel.
|
|
3805
|
+
*/
|
|
3806
|
+
private readonly selectedSlotIndex;
|
|
3807
|
+
private readonly hasSelectedSlotInPanel;
|
|
3808
|
+
/**
|
|
3809
|
+
* TRUE when the selected slot is in this panel but not displayed while it is closed.
|
|
3810
|
+
*/
|
|
3811
|
+
private readonly isSelectedSlotHidden;
|
|
3602
3812
|
handleKeyboardDownEvent(event: KeyboardEvent): void;
|
|
3603
3813
|
focus(): void;
|
|
3604
3814
|
capitalCaseFirstLetter(s: string | null | undefined): string;
|
|
3605
3815
|
handleUserInput(day: string | undefined | null, date: number[] | undefined | null, time: string, calendar: Calendar): void;
|
|
3606
3816
|
togglePanel(): void;
|
|
3607
|
-
onModelChange(
|
|
3817
|
+
onModelChange(_value: SelectedSlot | null | undefined): void;
|
|
3608
3818
|
getTimeInputValue(s: string): string;
|
|
3819
|
+
/**
|
|
3820
|
+
* Opens the panel when the selected slot would be hidden.
|
|
3821
|
+
*/
|
|
3609
3822
|
searchTimeValueInTimeSlot(): void;
|
|
3610
3823
|
onTimeFocusin(): void;
|
|
3611
3824
|
onTimeFocusout(): void;
|
|
@@ -3613,7 +3826,6 @@ declare class FoehnAgendaTimeslotPanelComponent extends FoehnInputComponent<Sele
|
|
|
3613
3826
|
getButtonTimeSlotAriaLabel(day: string | undefined | null, timeSlot: string): string;
|
|
3614
3827
|
getTimeSlotTabIndex(timeSlot: string, index: number): number;
|
|
3615
3828
|
cleanIdForQuerySelector(s: string): string;
|
|
3616
|
-
private sliceNbVisibleElements;
|
|
3617
3829
|
private getValidValue;
|
|
3618
3830
|
private onKeyDownInner;
|
|
3619
3831
|
private focusTimeSlot;
|
|
@@ -3627,7 +3839,7 @@ declare class FoehnAgendaComponent extends FoehnInputComponent<SelectedSlot> {
|
|
|
3627
3839
|
readonly paginationChange: _angular_core.OutputEmitterRef<PaginationWeek>;
|
|
3628
3840
|
readonly readableSelectedTimeSlot: _angular_core.Signal<string>;
|
|
3629
3841
|
readonly timeSlotPanelsElemRef: _angular_core.Signal<readonly FoehnAgendaTimeslotPanelComponent[]>;
|
|
3630
|
-
srAnnouncements: string
|
|
3842
|
+
readonly srAnnouncements: _angular_core.WritableSignal<string>;
|
|
3631
3843
|
private readonly dictionaryService;
|
|
3632
3844
|
private srAnnouncementClearTimer;
|
|
3633
3845
|
private readonly SR_ANNOUNCEMENT_CLEAR_TIMEOUT_INTERVAL_MS;
|
|
@@ -3672,14 +3884,14 @@ declare class FoehnDropdownMenuComponent implements OnInit {
|
|
|
3672
3884
|
readonly selectedFocusList: _angular_core.Signal<readonly ElementRef<any>[]>;
|
|
3673
3885
|
readonly buttonTrigger: _angular_core.Signal<ElementRef<any> | undefined>;
|
|
3674
3886
|
readonly entryPoint: _angular_core.Signal<ElementRef<any> | undefined>;
|
|
3675
|
-
isDropdownVisible: boolean
|
|
3887
|
+
readonly isDropdownVisible: _angular_core.WritableSignal<boolean>;
|
|
3676
3888
|
closeDropdownTimer: ReturnType<typeof setTimeout> | undefined;
|
|
3677
|
-
popupPosition: Position
|
|
3889
|
+
readonly popupPosition: _angular_core.WritableSignal<Position>;
|
|
3678
3890
|
private readonly router;
|
|
3891
|
+
private readonly injector;
|
|
3679
3892
|
private currentItemGlobalIndex;
|
|
3680
3893
|
private shouldFocusEntryPointAfterOpen;
|
|
3681
3894
|
private readonly selectedFocusListEffect;
|
|
3682
|
-
constructor();
|
|
3683
3895
|
handleKeyboardUpEvent(event: KeyboardEvent): void;
|
|
3684
3896
|
handleKeyboardDownEvent(event: KeyboardEvent): void;
|
|
3685
3897
|
ngOnInit(): void;
|
|
@@ -3752,6 +3964,7 @@ interface BrowserInfo {
|
|
|
3752
3964
|
}
|
|
3753
3965
|
declare class SdkLogsService {
|
|
3754
3966
|
private readonly http;
|
|
3967
|
+
private readonly destroyRef;
|
|
3755
3968
|
private cachedBrowserInfo;
|
|
3756
3969
|
addLog(message: string, logLevel: SdkLogLevel): void;
|
|
3757
3970
|
addLogWithError(message: string, logLevel: SdkLogLevel, error: unknown): void;
|
|
@@ -3761,5 +3974,5 @@ declare class SdkLogsService {
|
|
|
3761
3974
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<SdkLogsService>;
|
|
3762
3975
|
}
|
|
3763
3976
|
|
|
3764
|
-
export { APP_INFO_API_URL, AbstractFoehnUploaderComponent, AbstractListDetailPageComponent, AbstractMenuPageComponent, AbstractPageComponent, AbstractPageFromMenuComponent, ActionStatut, Address, AddressTypeLight, ApplicationInfo, ApplicationInfoService, BAD_PARAMS_HELP_TEXT, BoDocumentError, BoDocumentsWithErrors, BoMultiUploadService, Breadcrumb, BreadcrumbEventService, BreadcrumbItem, CAPTCHA_ERROR_NAME, CURRENCY_REGEXP, Calendar, Canton, Captcha, ChunkLoadErrorHandler, Configuration, Country, CurrencyHelper, CurrentWeek, DECIMALS_SEPARATOR, DEFAULT_INTERNATIONAL_FIX_AND_MOBILE, DEFAULT_INTERNATIONAL_FIX_ONLY, DEFAULT_INTERNATIONAL_MOBILE_ONLY, DEFAULT_PREFIX, DEFAULT_SWISS_FIX_AND_MOBILE, DEFAULT_SWISS_FIX_ONLY, DEFAULT_SWISS_MOBILE_ONLY, DICTIONARY_BASE_URL, DateHelper, DatePickerHelper, DatePickerNavigationHelper, DayMonth, DaySlots, DemandeExpirationService, DemandeHelper, DisplayCurrencyPipe, DisplayDatePipe, District, Document, DocumentError, DocumentReference, DocumentReferenceWithFile, DocumentsWithErrors, DropdownMenuGroup, DropdownMenuItem, EPaymentService, EtapeInfo, FEEDBACK_USAGERS_LOCAL_STORAGE_PREFIX, FORM_SUPPORT_CYBER_TITLE_FALLBACK, FocusedDay, FoehnAbbrComponent, FoehnAgendaComponent, FoehnAgendaNavigationComponent, FoehnAgendaTimeslotPanelComponent, FoehnAutocompleteComponent, FoehnBoMultiUploadComponent, FoehnBooleanCheckboxComponent, FoehnBooleanRadioComponent, FoehnBreadcrumbComponent, FoehnCheckableGroupComponent, FoehnCheckboxComponent, FoehnConfirmModalComponent, FoehnConfirmModalContent, FoehnConfirmModalService, FoehnDateComponent, FoehnDatePickerButtonComponent, FoehnDatePickerComponent, FoehnDateTimeComponent, FoehnDecisionElectroniqueComponent, FoehnDisplayAddressComponent, FoehnDropdownMenuComponent, FoehnErrorPillComponent, FoehnFeedbackNotificationComponent, FoehnFormComponent, FoehnGlobalUploadProgressBarComponent, FoehnHeaderComponent, FoehnHelpModalComponent, FoehnIconCalendarComponent, FoehnIconCheckComponent, FoehnIconCheckSquareOComponent, FoehnIconChevronDownComponent, FoehnIconChevronLeftComponent, FoehnIconChevronRightComponent, FoehnIconChevronUpComponent, FoehnIconClockComponent, FoehnIconCommentDotsComponent, FoehnIconEditComponent, FoehnIconExternalLinkAltComponent, FoehnIconFilePdfComponent, FoehnIconInfoCircleComponent, FoehnIconLockComponent, FoehnIconMapMarkerComponent, FoehnIconMinusCircleComponent, FoehnIconPencilComponent, FoehnIconPlusCircleComponent, FoehnIconPlusSquareComponent, FoehnIconSearchComponent, FoehnIconTimesComponent, FoehnIconTrashAltComponent, FoehnIconUnlockAltComponent, FoehnIconUserComponent, FoehnInputAddressComponent, FoehnInputComponent, FoehnInputEmailComponent, FoehnInputForeignLocalityComponent, FoehnInputForeignStreetComponent, FoehnInputHiddenComponent, FoehnInputNav13Component, FoehnInputNumberComponent, FoehnInputPasswordComponent, FoehnInputPhoneComponent, FoehnInputPrefixedTextComponent, FoehnInputStringComponent, FoehnInputTextComponent, FoehnInputTextareaComponent, FoehnListComponent, FoehnListItem, FoehnListSummaryComponent, FoehnMenuItemComponent, FoehnMenuItemTransmitComponent, FoehnModalComponent, FoehnMultiUploadComponent, FoehnMultiselectAutocompleteComponent, FoehnNavigationComponent, FoehnNavigationService, FoehnNotfoundComponent, FoehnPageComponent, FoehnPageCounterComponent, FoehnPageExpirationTimerComponent, FoehnPageModalComponent, FoehnPageService, FoehnPictureUploadComponent, FoehnRadioComponent, FoehnRecapSectionComponent, FoehnRemainingAlertsSummaryComponent, FoehnSelectComponent, FoehnSimpleNavigationComponent, FoehnSkipLinkComponent, FoehnStatusProgressBarComponent, FoehnTableColumnConfiguration, FoehnTableComponent, FoehnTablePageChangeEvent, FoehnTimeComponent, FoehnTransmitWaitingModalComponent, FoehnTransmitWaitingModalService, FoehnUploadProgressBarComponent, FoehnUserConnectedAsComponent, FoehnValidationAlertSummaryComponent, FoehnValidationAlertsComponent, FooterLink, FormMetadata, FormPostResponse, FormSelectOption, FormatAvsPipe, FormatIdePipe, GESDEM_MAX_DATA_LENGTH, GesdemActionRecoveryLoginComponent, GesdemActionRecoveryRegistrationComponent, GesdemConfirmationComponent, GesdemErrorComponent, GesdemEventService, GesdemHandlerService, GesdemStatutUtils, GlobalUploadProgressService, GrowlBrokerService, GrowlMessage, GrowlType, HTTP_LOADER_FILTERED_URL, I18nForm, IAM_ACV_OIDC_REDIRECT_LOCATION_REGEX, IAM_ACV_REDIRECT_LOCATION_REGEX, IbanFormatterDirective, IdeFormatterDirective, IntervalHelper, LineBreakAsHtmlPipe, Locality, MonthYear, MultiUploadService, Municipality, NDCFormatterDirective, NEVER_CONNECTED, NavigationDirection, NumberCurrencyFormatterDirective, OIDC_ENABLED, ObjectHelper, PORTAIL_BASE_URL_INT, PORTAIL_BASE_URL_PROD, PORTAIL_BASE_URL_VAL, PageChangeEvent, PageUploadLimitService, PaginationWeek, PendingFiles, PendingPaymentComponent, PendingUploadService, PlaceOfOrigin, Portail, PostalLocality, Preferences, RECAPTCHA_API_URL, RecaptchaService, RedirectComponent, RegisterNgModelService, RowElement, SESSION_INFO_API_URL, SWISS_ISO_ID, ScrollHelper, SdkDictionaryPipe, SdkDictionaryService, SdkEpaymentComponent, SdkEvent, SdkEventType, SdkEventsLoggerService, SdkLog, SdkLogLevel, SdkLogsService, SdkRecaptchaComponent, SdkStatisticsService, SelectedSlot, Session, SessionInfo, SessionInfoData, SessionInfoWithApplicationService, Street, StreetNumber, StringHelper, THOUSANDS_SEPARATOR, TRANSMIT_WAITING_MODAL_DELAY_IN_MILLISECONDS, TableSort, UploadProgress, UploadProgressService, UploaderHelper, ValidationHandlerService, formatDecimalCurrency, formatNonDecimalCurrency, formatNumberAsGiven, gesdemLoaderGuard, providePrestationsNgCore, replaceAll };
|
|
3765
|
-
export type { BreadcrumbConfiguration, BrowserInfo, ComponentError, DictionaryType, FoehnListItemDescription, FoehnRecapSection, FoehnRecapSectionElement, FoehnRecapSectionElementValueType, FormError, HasCustomErrors, HelpModal, Image, Language, PlaceholderType };
|
|
3977
|
+
export { APP_INFO_API_URL, AbstractFoehnUploaderComponent, AbstractListDetailPageComponent, AbstractMenuPageComponent, AbstractPageComponent, AbstractPageFromMenuComponent, ActionStatut, Address, AddressTypeLight, ApplicationInfo, ApplicationInfoService, BAD_PARAMS_HELP_TEXT, BoDocumentError, BoDocumentsWithErrors, BoMultiUploadService, Breadcrumb, BreadcrumbEventService, BreadcrumbItem, CAPTCHA_ERROR_NAME, CURRENCY_REGEXP, Calendar, Canton, Captcha, ChunkLoadErrorHandler, Configuration, Country, CurrencyHelper, CurrentWeek, DECIMALS_SEPARATOR, DEFAULT_INTERNATIONAL_FIX_AND_MOBILE, DEFAULT_INTERNATIONAL_FIX_ONLY, DEFAULT_INTERNATIONAL_MOBILE_ONLY, DEFAULT_PREFIX, DEFAULT_SWISS_FIX_AND_MOBILE, DEFAULT_SWISS_FIX_ONLY, DEFAULT_SWISS_MOBILE_ONLY, DICTIONARY_BASE_URL, DateHelper, DatePickerHelper, DatePickerNavigationHelper, DayMonth, DaySlots, DemandeExpirationService, DemandeHelper, DisplayCurrencyPipe, DisplayDatePipe, District, Document, DocumentError, DocumentReference, DocumentReferenceWithFile, DocumentsWithErrors, DropdownMenuGroup, DropdownMenuItem, EPaymentService, EtapeInfo, FEEDBACK_USAGERS_LOCAL_STORAGE_PREFIX, FORM_SUPPORT_CYBER_TITLE_FALLBACK, FocusedDay, FoehnAbbrComponent, FoehnAgendaComponent, FoehnAgendaNavigationComponent, FoehnAgendaTimeslotPanelComponent, FoehnAutocompleteComponent, FoehnBoMultiUploadComponent, FoehnBooleanCheckboxComponent, FoehnBooleanRadioComponent, FoehnBreadcrumbComponent, FoehnCheckableGroupComponent, FoehnCheckboxComponent, FoehnConfirmModalComponent, FoehnConfirmModalContent, FoehnConfirmModalService, FoehnDateComponent, FoehnDatePickerButtonComponent, FoehnDatePickerComponent, FoehnDateTimeComponent, FoehnDecisionElectroniqueComponent, FoehnDisplayAddressComponent, FoehnDropdownMenuComponent, FoehnErrorPillComponent, FoehnFeedbackNotificationComponent, FoehnFormComponent, FoehnGlobalUploadProgressBarComponent, FoehnHeaderComponent, FoehnHelpModalComponent, FoehnIconCalendarComponent, FoehnIconCheckComponent, FoehnIconCheckSquareOComponent, FoehnIconChevronDownComponent, FoehnIconChevronLeftComponent, FoehnIconChevronRightComponent, FoehnIconChevronUpComponent, FoehnIconClockComponent, FoehnIconCommentDotsComponent, FoehnIconEditComponent, FoehnIconExternalLinkAltComponent, FoehnIconFilePdfComponent, FoehnIconInfoCircleComponent, FoehnIconLockComponent, FoehnIconMapMarkerComponent, FoehnIconMinusCircleComponent, FoehnIconPencilComponent, FoehnIconPlusCircleComponent, FoehnIconPlusSquareComponent, FoehnIconSearchComponent, FoehnIconTimesComponent, FoehnIconTrashAltComponent, FoehnIconUnlockAltComponent, FoehnIconUserComponent, FoehnInputAddressComponent, FoehnInputComponent, FoehnInputEmailComponent, FoehnInputForeignLocalityComponent, FoehnInputForeignStreetComponent, FoehnInputHiddenComponent, FoehnInputNav13Component, FoehnInputNumberComponent, FoehnInputPasswordComponent, FoehnInputPhoneComponent, FoehnInputPrefixedTextComponent, FoehnInputStringComponent, FoehnInputTextComponent, FoehnInputTextareaComponent, FoehnListComponent, FoehnListItem, FoehnListSummaryComponent, FoehnMenuItemComponent, FoehnMenuItemTransmitComponent, FoehnModalComponent, FoehnMultiUploadComponent, FoehnMultiselectAutocompleteComponent, FoehnNavigationComponent, FoehnNavigationService, FoehnNotfoundComponent, FoehnPageComponent, FoehnPageCounterComponent, FoehnPageExpirationTimerComponent, FoehnPageModalComponent, FoehnPageService, FoehnPictureUploadComponent, FoehnRadioComponent, FoehnRecapSectionComponent, FoehnRemainingAlertsSummaryComponent, FoehnSelectComponent, FoehnSimpleNavigationComponent, FoehnSkipLinkComponent, FoehnStatusProgressBarComponent, FoehnTableColumnConfiguration, FoehnTableComponent, FoehnTablePageChangeEvent, FoehnTimeComponent, FoehnTransmitWaitingModalComponent, FoehnTransmitWaitingModalService, FoehnUploadProgressBarComponent, FoehnUserConnectedAsComponent, FoehnValidationAlertSummaryComponent, FoehnValidationAlertsComponent, FooterLink, FormMetadata, FormPostResponse, FormSelectOption, FormatAvsPipe, FormatIdePipe, GESDEM_MAX_DATA_LENGTH, GesdemActionRecoveryLoginComponent, GesdemActionRecoveryRegistrationComponent, GesdemConfirmationComponent, GesdemErrorComponent, GesdemEventService, GesdemHandlerService, GesdemStatutUtils, GlobalUploadProgressService, GrowlBrokerService, GrowlMessage, GrowlType, HTTP_LOADER_FILTERED_URL, I18nForm, IAM_ACV_OIDC_REDIRECT_LOCATION_REGEX, IAM_ACV_REDIRECT_LOCATION_REGEX, IbanFormatterDirective, IdeFormatterDirective, IntervalHelper, LineBreakAsHtmlPipe, Locality, MonthYear, MultiUploadService, Municipality, NDCFormatterDirective, NEVER_CONNECTED, NavigationDirection, NumberCurrencyFormatterDirective, OIDC_ENABLED, ObjectHelper, PORTAIL_BASE_URL_INT, PORTAIL_BASE_URL_PROD, PORTAIL_BASE_URL_VAL, PageChangeEvent, PageUploadLimitService, PaginationWeek, PendingFiles, PendingPaymentComponent, PendingUploadService, PlaceOfOrigin, Portail, PostalLocality, Preferences, RECAPTCHA_API_URL, RecaptchaService, RedirectComponent, RegisterNgModelService, RowElement, SESSION_INFO_API_URL, SWISS_ISO_ID, ScrollHelper, SdkDictionaryPipe, SdkDictionaryService, SdkEpaymentComponent, SdkEvent, SdkEventType, SdkEventsLoggerService, SdkLog, SdkLogLevel, SdkLogsService, SdkRecaptchaComponent, SdkStatisticsService, SelectedSlot, Session, SessionInfo, SessionInfoData, SessionInfoWithApplicationService, Street, StreetNumber, StringHelper, THOUSANDS_SEPARATOR, TRANSMIT_WAITING_MODAL_DELAY_IN_MILLISECONDS, TableSort, UploadProgress, UploadProgressService, UploaderHelper, ValidationHandlerService, formatDecimalCurrency, formatNonDecimalCurrency, formatNumberAsGiven, gesdemLoaderGuard, getSafeFileNameForErrorMessage, providePrestationsNgCore, replaceAll, splitDocumentChanges };
|
|
3978
|
+
export type { BreadcrumbConfiguration, BrowserInfo, ComponentError, DictionaryType, DocumentChanges, FoehnDateModel, FoehnListItemDescription, FoehnModalSize, FoehnRecapSection, FoehnRecapSectionElement, FoehnRecapSectionElementValueType, FormError, HasCustomErrors, HelpModal, Image, Language, PlaceholderType, UploaderErrorLimits };
|