@dsivd/prestations-ng 19.2.0-beta.20 → 19.2.0-beta.22
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/ANGULAR_SIGNALS.md +4 -0
- package/CHANGELOG.md +113 -3
- package/CONTRIBUTING.md +2 -2
- package/ESLINT_PLUGIN.md +146 -28
- package/GOOD_PRACTICES.md +258 -58
- package/INTRODUCTION_ANGULAR_SIGNALS.md +29 -2
- package/UPGRADING_V19.md +233 -31
- package/eslint/configs/template-rules.mjs +5 -0
- package/eslint/configs/ts-recommended.mjs +4 -0
- package/eslint/form-reads.mjs +63 -0
- package/eslint/rules/index.mjs +4 -0
- package/eslint/rules/no-direct-signal-mutation.mjs +57 -19
- package/eslint/rules/no-item-track-in-form-list.mjs +172 -0
- package/eslint/rules/no-uninvoked-signal-in-template.mjs +8 -3
- package/eslint/rules/require-model-change.mjs +89 -0
- package/eslint/template-ast.mjs +12 -2
- package/fesm2022/dsivd-prestations-ng.mjs +948 -692
- package/fesm2022/dsivd-prestations-ng.mjs.map +1 -1
- package/package.json +1 -1
- package/schematics/migration-collection.json +5 -0
- package/schematics/ng-update/migrations/update-19_2_0/index.js +39 -0
- package/schematics/utility/form-signal/class-migration.js +671 -0
- package/schematics/utility/form-signal/edits.js +34 -0
- package/schematics/utility/form-signal/form-signal-migration.js +184 -0
- package/schematics/utility/form-signal/page-classes.js +129 -0
- package/schematics/utility/form-signal/template-migration.js +666 -0
- package/src/eslint/configs/template-rules.mjs +5 -0
- package/src/eslint/configs/ts-recommended.mjs +4 -0
- package/src/eslint/form-reads.mjs +63 -0
- package/src/eslint/rules/__tests__/no-direct-signal-mutation.test.mjs +58 -0
- package/src/eslint/rules/__tests__/no-item-track-in-form-list.test.mjs +234 -0
- package/src/eslint/rules/__tests__/no-uninvoked-signal-in-template.test.mjs +6 -0
- package/src/eslint/rules/__tests__/require-model-change.test.mjs +93 -0
- package/src/eslint/rules/index.mjs +4 -0
- package/src/eslint/rules/no-direct-signal-mutation.mjs +57 -19
- package/src/eslint/rules/no-item-track-in-form-list.mjs +172 -0
- package/src/eslint/rules/no-uninvoked-signal-in-template.mjs +8 -3
- package/src/eslint/rules/require-model-change.mjs +89 -0
- package/src/eslint/template-ast.mjs +12 -2
- package/types/dsivd-prestations-ng.d.ts +266 -35
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { ElementRef, OnInit, AfterViewInit, Signal, DestroyRef, OnDestroy, InjectionToken, OnChanges, SimpleChanges, EnvironmentProviders, Injector, SimpleChange, AfterViewChecked, PipeTransform, TemplateRef, TrackByFunction, ErrorHandler, NgZone } from '@angular/core';
|
|
2
|
+
import { ElementRef, WritableSignal, 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';
|
|
@@ -121,6 +121,87 @@ interface FormError {
|
|
|
121
121
|
message: string;
|
|
122
122
|
}
|
|
123
123
|
|
|
124
|
+
type Depth = [never, 0, 1, 2, 3, 4, 5, 6, 7];
|
|
125
|
+
/**
|
|
126
|
+
* A path in an object: one of its keys, then the keys or the indexes of the objects and arrays it holds, e.g.
|
|
127
|
+
* `['firstName']`, `['address', 'locality']` or `['children', 0, 'firstName']`. For a union (`ApForm | AfForm`), the
|
|
128
|
+
* paths of each of its members.
|
|
129
|
+
*/
|
|
130
|
+
type ObjectPath<T, D extends number = 7> = [D] extends [never] ? never : PathsOf<NonNullable<T>, D>;
|
|
131
|
+
type PathsOf<T, D extends number> = T extends readonly (infer E)[] ? [number] | [number, ...ObjectPath<E, Depth[D]>] : T extends object ? {
|
|
132
|
+
[K in keyof T & string]-?: [K] | [K, ...ObjectPath<T[K], Depth[D]>];
|
|
133
|
+
}[keyof T & string] : never;
|
|
134
|
+
/**
|
|
135
|
+
* The type of the value at a path of an object. For a union, the value in the members having the path.
|
|
136
|
+
*/
|
|
137
|
+
type ObjectPathValue<T, P extends readonly unknown[]> = P extends readonly [infer K, ...infer R] ? ValueAtKey<NonNullable<T>, K, R> : T;
|
|
138
|
+
type ValueAtKey<T, K, R extends readonly unknown[]> = T extends readonly (infer E)[] ? ObjectPathValue<E, R> : K extends keyof T ? ObjectPathValue<T[K], R> : never;
|
|
139
|
+
/**
|
|
140
|
+
* Keys known at runtime only: a key with dots (`'address.street'`, `'children.0.firstName'`), or the list of the keys.
|
|
141
|
+
*/
|
|
142
|
+
type ObjectKeys = string | readonly (string | number)[];
|
|
143
|
+
/**
|
|
144
|
+
* Reads and writes a value at a path of an object, without modifying the object: a write copies the objects and arrays
|
|
145
|
+
* along the path (with their prototype), and keeps the others as they are.
|
|
146
|
+
*
|
|
147
|
+
* A copy takes the own enumerable properties only: the objects along the path must be plain objects (e.g. the JSON of
|
|
148
|
+
* the backend), arrays or instances of classes with public fields. The copy of a `Date`, a `Map`, a `Set` or an
|
|
149
|
+
* instance with private fields (`#field`) loses their content, and their methods throw. The value written, and the
|
|
150
|
+
* objects beside the path, are not copied: they can be of any type.
|
|
151
|
+
*
|
|
152
|
+
* `get()`, `patch()` and `patchSignal()` take a path checked by TypeScript (a typo gives an error listing the valid
|
|
153
|
+
* keys). `getByKeys()` and `patchByKeys()` take keys known at runtime only (e.g. a key given as an input), not
|
|
154
|
+
* checked.
|
|
155
|
+
*/
|
|
156
|
+
declare class ObjectPathHelper {
|
|
157
|
+
/**
|
|
158
|
+
* @param object an object
|
|
159
|
+
* @param path the keys and indexes leading to the value
|
|
160
|
+
* @returns the value at the path, `undefined` when an object of the path is `null` or `undefined`
|
|
161
|
+
*/
|
|
162
|
+
static get<T, P extends ObjectPath<T>>(object: T, path: P): ObjectPathValue<T, P> | undefined;
|
|
163
|
+
/**
|
|
164
|
+
* Writes a value at a path of an object without modifying it.
|
|
165
|
+
*
|
|
166
|
+
* @param object an object
|
|
167
|
+
* @param path the keys and indexes leading to the value
|
|
168
|
+
* @param value the value to write
|
|
169
|
+
* @returns a new object, or the object itself when the value is already there
|
|
170
|
+
* @throws Error when an object of the path is `null` or `undefined`, as a write through it would
|
|
171
|
+
*/
|
|
172
|
+
static patch<T, P extends ObjectPath<T>>(object: T, path: P, value: ObjectPathValue<T, P>): T;
|
|
173
|
+
/**
|
|
174
|
+
* Writes a value at a path of the object held by a signal, without modifying it in place: the signal gets a new
|
|
175
|
+
* object, and notifies its readers only when the value changes.
|
|
176
|
+
*
|
|
177
|
+
* @param signal a signal holding an object
|
|
178
|
+
* @param path the keys and indexes leading to the value
|
|
179
|
+
* @param value the value to write
|
|
180
|
+
* @throws Error when an object of the path, the value of the signal included, is `null` or `undefined`
|
|
181
|
+
*/
|
|
182
|
+
static patchSignal<T, P extends ObjectPath<T>>(signal: WritableSignal<T>, path: P, value: ObjectPathValue<T, P>): void;
|
|
183
|
+
/**
|
|
184
|
+
* `get()` with keys known at runtime only, not checked by TypeScript.
|
|
185
|
+
*
|
|
186
|
+
* @param object an object
|
|
187
|
+
* @param keys `'address.street'`, or `['address', 'street']`
|
|
188
|
+
* @returns the value at the keys, `undefined` when an object of the path is `null` or `undefined`
|
|
189
|
+
*/
|
|
190
|
+
static getByKeys(object: unknown, keys: ObjectKeys): unknown;
|
|
191
|
+
/**
|
|
192
|
+
* `patch()` with keys known at runtime only, not checked by TypeScript.
|
|
193
|
+
*
|
|
194
|
+
* @param object an object
|
|
195
|
+
* @param keys `'address.street'`, or `['address', 'street']`
|
|
196
|
+
* @param value the value to write
|
|
197
|
+
* @returns a new object, or the object itself when the value is already there
|
|
198
|
+
* @throws Error when an object of the path is `null` or `undefined`, as a write through it would
|
|
199
|
+
*/
|
|
200
|
+
static patchByKeys<T>(object: T, keys: ObjectKeys, value: unknown): T;
|
|
201
|
+
private static keysOf;
|
|
202
|
+
private static patchFrom;
|
|
203
|
+
}
|
|
204
|
+
|
|
124
205
|
/**
|
|
125
206
|
* Interface representing a component that has custom error messages.
|
|
126
207
|
* Used to break the dependency cycle between ValidationHandlerService and FoehnInputComponent.
|
|
@@ -146,7 +227,7 @@ declare abstract class FoehnInputComponent<T> implements OnInit, AfterViewInit {
|
|
|
146
227
|
#private;
|
|
147
228
|
readonly model: _angular_core.ModelSignal<T | null | undefined>;
|
|
148
229
|
readonly pattern: _angular_core.ModelSignal<string | undefined>;
|
|
149
|
-
readonly helpModal: _angular_core.ModelSignal<HelpModal | undefined>;
|
|
230
|
+
readonly helpModal: _angular_core.ModelSignal<HelpModal | null | undefined>;
|
|
150
231
|
readonly standardHelpText: _angular_core.ModelSignal<string | undefined>;
|
|
151
232
|
readonly helpText: _angular_core.ModelSignal<string | undefined>;
|
|
152
233
|
readonly disabled: _angular_core.ModelSignal<boolean>;
|
|
@@ -213,7 +294,7 @@ declare abstract class FoehnInputComponent<T> implements OnInit, AfterViewInit {
|
|
|
213
294
|
* linkedSignal est un WritableSignal dont la valeur par défaut est recalculée si les dépendances changent,
|
|
214
295
|
* mais qui peut être écrasé manuellement avec .set().
|
|
215
296
|
*/
|
|
216
|
-
protected readonly hostId: _angular_core.WritableSignal<string
|
|
297
|
+
protected readonly hostId: _angular_core.WritableSignal<string>;
|
|
217
298
|
/**
|
|
218
299
|
* computed() — valeur dérivée
|
|
219
300
|
* Quand le résultat est une valeur qui dépend d'autres signals. C'est une transformation pure, synchrone, sans side effect.
|
|
@@ -236,7 +317,27 @@ declare abstract class FoehnInputComponent<T> implements OnInit, AfterViewInit {
|
|
|
236
317
|
*/
|
|
237
318
|
onModelChange(_value: T | null | undefined): void;
|
|
238
319
|
handleChange(value: T | null): void;
|
|
320
|
+
/**
|
|
321
|
+
* Writes the model, which the page gets through `modelChange`: always a new object or array, never the model
|
|
322
|
+
* modified in place. The model is a signal, which ignores the value it already holds: no `modelChange` would be
|
|
323
|
+
* emitted, and the page would never get the change. Also makes the model known (`model_`), and leaves the model
|
|
324
|
+
* of a disabled component alone, unless `updateModelWhenDisabled`.
|
|
325
|
+
*
|
|
326
|
+
* @param value the new model
|
|
327
|
+
*/
|
|
239
328
|
updateNgModel(value: T | null): void;
|
|
329
|
+
/**
|
|
330
|
+
* Writes a value at a path of the model, in a new model: the objects and arrays along the path are copied, the
|
|
331
|
+
* others are kept as they are (`ObjectPathHelper`), and the result goes through `updateNgModel()`. Bind a field of
|
|
332
|
+
* an object edited as is with `[model]="model()?.firstName" (modelChange)="patchNgModel(['firstName'], $event)"`,
|
|
333
|
+
* or replace an item of a list with `patchNgModel([index], item)`. The same value changes nothing.
|
|
334
|
+
*
|
|
335
|
+
* @param path the keys and indexes leading to the value, e.g. `['address', 'street']` or `[index]`
|
|
336
|
+
* @param value the new value (`null` and `undefined` included: the model of the `foehn-*` components can be)
|
|
337
|
+
* @throws Error when the page gives no model and `emptyModel()` neither, or when an object of the path is `null`
|
|
338
|
+
* or `undefined`
|
|
339
|
+
*/
|
|
340
|
+
patchNgModel<P extends ObjectPath<T>>(path: P, value: ObjectPathValue<T, P> | null | undefined): void;
|
|
240
341
|
hasErrorsToDisplay(): boolean;
|
|
241
342
|
hasErrors(): boolean;
|
|
242
343
|
hasInheritErrorFromParent(): boolean;
|
|
@@ -248,8 +349,8 @@ declare abstract class FoehnInputComponent<T> implements OnInit, AfterViewInit {
|
|
|
248
349
|
refreshErrors(results: any[]): void;
|
|
249
350
|
focus(scrollIntoView?: boolean): void;
|
|
250
351
|
getMaxLength(): number | null;
|
|
251
|
-
buildId(suffix?: string): string
|
|
252
|
-
buildChildId(suffix?: string): string
|
|
352
|
+
buildId(suffix?: string): string;
|
|
353
|
+
buildChildId(suffix?: string): string;
|
|
253
354
|
buildChildName(suffix?: string): string;
|
|
254
355
|
onKeydown(_key: KeyboardEvent): void;
|
|
255
356
|
reset(): void;
|
|
@@ -269,6 +370,14 @@ declare abstract class FoehnInputComponent<T> implements OnInit, AfterViewInit {
|
|
|
269
370
|
* @returns whether the model has a value to display
|
|
270
371
|
*/
|
|
271
372
|
protected hasValueToDisplay(value: T | null | undefined): boolean;
|
|
373
|
+
/**
|
|
374
|
+
* The model `patchNgModel()` starts from when the page gives none (`null` or `undefined`): none by default. To
|
|
375
|
+
* override in a component whose model can be missing, e.g. `return new Owner();`, the objects of its paths
|
|
376
|
+
* included.
|
|
377
|
+
*
|
|
378
|
+
* @returns a new empty model, or `null`
|
|
379
|
+
*/
|
|
380
|
+
protected emptyModel(): T | null;
|
|
272
381
|
protected isEmpty(data: unknown): boolean;
|
|
273
382
|
protected isEmptyWhenTrimmedIfString(data: unknown): boolean;
|
|
274
383
|
protected triggerUserInput(value: T | null | undefined): void;
|
|
@@ -581,8 +690,20 @@ declare class SdkEventsLoggerService {
|
|
|
581
690
|
declare abstract class AbstractPageComponent<T extends I18nForm> implements OnInit, AfterViewInit {
|
|
582
691
|
#private;
|
|
583
692
|
readonly foehnFormComponent: _angular_core.Signal<FoehnFormComponent | undefined>;
|
|
584
|
-
|
|
585
|
-
|
|
693
|
+
/**
|
|
694
|
+
* The form of the page, a signal: never modify its value in place, write it with `patchForm()` (or `form.set()`
|
|
695
|
+
* / `form.update()` with a new object), so that the templates and the `computed()` reading it follow it.
|
|
696
|
+
*/
|
|
697
|
+
readonly form: _angular_core.WritableSignal<T | null | undefined>;
|
|
698
|
+
/**
|
|
699
|
+
* The reference of the demand, set when the form is loaded: `undefined` as long as no form was loaded from the
|
|
700
|
+
* backend, then its reference, or `null` when it has none (a demand not created yet). A page which doesn't set it
|
|
701
|
+
* itself can so derive "the form is loaded" from it: `computed(() => this.reference() !== undefined)`.
|
|
702
|
+
*
|
|
703
|
+
* A template, a `computed()` or an `effect()` reading it follows it, also when the page sets it: read it with
|
|
704
|
+
* `untracked()` in an `effect()` which must not follow it.
|
|
705
|
+
*/
|
|
706
|
+
readonly reference: _angular_core.WritableSignal<string | null | undefined>;
|
|
586
707
|
protected _destroyRef: DestroyRef;
|
|
587
708
|
protected _gesdemService: GesdemHandlerService;
|
|
588
709
|
protected _gesdemEventService: GesdemEventService;
|
|
@@ -606,6 +727,17 @@ declare abstract class AbstractPageComponent<T extends I18nForm> implements OnIn
|
|
|
606
727
|
send(goToNextPage?: boolean, displaySuccessMessage?: boolean): void;
|
|
607
728
|
transmit(): void;
|
|
608
729
|
sendAndTransmit(displaySuccessMessage?: boolean): void;
|
|
730
|
+
/**
|
|
731
|
+
* Writes a value into the form without modifying it in place: the objects and arrays along the path are copied.
|
|
732
|
+
* Bind a field with `[model]="form.firstName" (modelChange)="patchForm(['firstName'], $event)"`, inside an
|
|
733
|
+
* `@if (form(); as form)`.
|
|
734
|
+
*
|
|
735
|
+
* @param path the keys and indexes leading to the field, e.g. `['address', 'locality']` or
|
|
736
|
+
* `['children', $index, 'firstName']`
|
|
737
|
+
* @param value the new value (`null` and `undefined` included: the model of the `foehn-*` components can be, as
|
|
738
|
+
* with `[(model)]`)
|
|
739
|
+
*/
|
|
740
|
+
patchForm<P extends ObjectPath<T>>(path: P, value: ObjectPathValue<T, P> | null | undefined): void;
|
|
609
741
|
previous(): void;
|
|
610
742
|
protected setPageTitle(pageTitle: string): void;
|
|
611
743
|
protected setPageTitleAsync(pageTitle: Observable<string>): void;
|
|
@@ -1552,6 +1684,12 @@ declare class FoehnInputAddressComponent extends FoehnInputComponent<Address> im
|
|
|
1552
1684
|
private clearAutocompletesWhenCountryIsUnappropriatedToComponentConfiguration;
|
|
1553
1685
|
private getSwissCountry;
|
|
1554
1686
|
private setDefaultCountry;
|
|
1687
|
+
private writeSwissCountry;
|
|
1688
|
+
/**
|
|
1689
|
+
* @returns whether the Swiss country is already set, in the component and in the model (unless the model has
|
|
1690
|
+
* nothing else: the country alone is not written)
|
|
1691
|
+
*/
|
|
1692
|
+
private hasSwissCountry;
|
|
1555
1693
|
private clearAutocompletes;
|
|
1556
1694
|
private extractLocalityZipCodeId;
|
|
1557
1695
|
private extractStreetEstrid;
|
|
@@ -1841,7 +1979,13 @@ declare class FoehnDateComponent extends FoehnInputComponent<FoehnDateModel> {
|
|
|
1841
1979
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FoehnDateComponent, "foehn-input-date", never, { "disableDay": { "alias": "disableDay"; "required": false; "isSignal": true; }; "disableMonth": { "alias": "disableMonth"; "required": false; "isSignal": true; }; "disableYear": { "alias": "disableYear"; "required": false; "isSignal": true; }; "hideDatePickerButton": { "alias": "hideDatePickerButton"; "required": false; "isSignal": true; }; "minDate": { "alias": "minDate"; "required": false; "isSignal": true; }; "maxDate": { "alias": "maxDate"; "required": false; "isSignal": true; }; "childrenLabelSrOnly": { "alias": "childrenLabelSrOnly"; "required": false; "isSignal": true; }; "clearButton": { "alias": "clearButton"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
1842
1980
|
}
|
|
1843
1981
|
|
|
1844
|
-
|
|
1982
|
+
/**
|
|
1983
|
+
* The model of `foehn-input-date-time`: `[year, month, day, hour, minute]`, a part not entered being `null`. It is the
|
|
1984
|
+
* JSON of a `LenientLocalDateTime` of prestations-be.
|
|
1985
|
+
*/
|
|
1986
|
+
type FoehnDateTimeModel = (number | null)[];
|
|
1987
|
+
|
|
1988
|
+
declare class FoehnDateTimeComponent extends FoehnInputComponent<FoehnDateTimeModel> {
|
|
1845
1989
|
readonly disableDay: _angular_core.InputSignal<boolean>;
|
|
1846
1990
|
readonly disableMonth: _angular_core.InputSignal<boolean>;
|
|
1847
1991
|
readonly disableYear: _angular_core.InputSignal<boolean>;
|
|
@@ -1850,7 +1994,7 @@ declare class FoehnDateTimeComponent extends FoehnInputComponent<(number | null)
|
|
|
1850
1994
|
readonly hideDatePickerButton: _angular_core.InputSignal<boolean>;
|
|
1851
1995
|
readonly childrenLabelSrOnly: _angular_core.InputSignal<boolean>;
|
|
1852
1996
|
readonly clearButton: _angular_core.InputSignal<boolean>;
|
|
1853
|
-
readonly date: _angular_core.WritableSignal<
|
|
1997
|
+
readonly date: _angular_core.WritableSignal<FoehnDateModel | null>;
|
|
1854
1998
|
readonly time: _angular_core.WritableSignal<string | null>;
|
|
1855
1999
|
private readonly userInputTimeSubject;
|
|
1856
2000
|
private readonly timeModelChangeSubject;
|
|
@@ -1866,7 +2010,7 @@ declare class FoehnDateTimeComponent extends FoehnInputComponent<(number | null)
|
|
|
1866
2010
|
timeModelChange(value: string | null | undefined): void;
|
|
1867
2011
|
handleUserInputTime(value: string | null | undefined): void;
|
|
1868
2012
|
handleUserInputDate(): void;
|
|
1869
|
-
getValidValue():
|
|
2013
|
+
getValidValue(): FoehnDateTimeModel | null | undefined;
|
|
1870
2014
|
resetModel(): void;
|
|
1871
2015
|
isEmpty(): boolean;
|
|
1872
2016
|
isEmptyDependingOnDisabled(): boolean;
|
|
@@ -1941,7 +2085,13 @@ declare class DisplayCurrencyPipe implements PipeTransform {
|
|
|
1941
2085
|
|
|
1942
2086
|
declare class DisplayDatePipe implements PipeTransform {
|
|
1943
2087
|
private readonly dateHelper;
|
|
1944
|
-
|
|
2088
|
+
/**
|
|
2089
|
+
* @param value a Date, or a date or a date-time as an array (e.g. the model of `foehn-input-date` or
|
|
2090
|
+
* `foehn-input-date-time`)
|
|
2091
|
+
* @param showTime whether to display the time, when the value has one
|
|
2092
|
+
* @returns the date to display, null when it is not complete (a part not entered)
|
|
2093
|
+
*/
|
|
2094
|
+
transform(value: Date | FoehnDateModel | FoehnDateTimeModel | null | undefined, showTime?: boolean): string | null;
|
|
1945
2095
|
private transformFromDate;
|
|
1946
2096
|
private transformFromArray;
|
|
1947
2097
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DisplayDatePipe, never>;
|
|
@@ -2775,7 +2925,6 @@ declare class PendingUploadService {
|
|
|
2775
2925
|
private uploadPendingFilesAndSaveForm;
|
|
2776
2926
|
private executeSingleUpload;
|
|
2777
2927
|
private mergePendingUploadedServerResult;
|
|
2778
|
-
private setNestedValue;
|
|
2779
2928
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PendingUploadService, never>;
|
|
2780
2929
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<PendingUploadService>;
|
|
2781
2930
|
}
|
|
@@ -3045,7 +3194,8 @@ declare class FoehnConfirmModalComponent implements OnInit {
|
|
|
3045
3194
|
}
|
|
3046
3195
|
|
|
3047
3196
|
declare class FoehnHelpModalComponent {
|
|
3048
|
-
readonly
|
|
3197
|
+
readonly id: _angular_core.InputSignal<string>;
|
|
3198
|
+
readonly modalContent: _angular_core.InputSignal<HelpModal | null | undefined>;
|
|
3049
3199
|
readonly draggable: _angular_core.InputSignal<boolean>;
|
|
3050
3200
|
readonly hideable: _angular_core.InputSignal<boolean>;
|
|
3051
3201
|
readonly modalTrigger: _angular_core.Signal<ElementRef<any> | undefined>;
|
|
@@ -3058,8 +3208,9 @@ declare class FoehnHelpModalComponent {
|
|
|
3058
3208
|
closeOnModalClick(): void;
|
|
3059
3209
|
updateVisibilityStatus(status: boolean): void;
|
|
3060
3210
|
hasContent(): boolean;
|
|
3211
|
+
buildId(suffix?: string): string;
|
|
3061
3212
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FoehnHelpModalComponent, never>;
|
|
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>;
|
|
3213
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FoehnHelpModalComponent, "foehn-help-modal", never, { "id": { "alias": "id"; "required": true; "isSignal": true; }; "modalContent": { "alias": "modalContent"; "required": false; "isSignal": true; }; "draggable": { "alias": "draggable"; "required": false; "isSignal": true; }; "hideable": { "alias": "hideable"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
3063
3214
|
}
|
|
3064
3215
|
|
|
3065
3216
|
declare class FoehnPageModalComponent implements OnInit {
|
|
@@ -3104,15 +3255,51 @@ declare class DateHelper {
|
|
|
3104
3255
|
private readonly dateTimeFormat;
|
|
3105
3256
|
private readonly datePipe;
|
|
3106
3257
|
constructor();
|
|
3258
|
+
/**
|
|
3259
|
+
* @param value a date (year, month, day), a part not entered being null
|
|
3260
|
+
* @returns whether the year, the month and the day are entered
|
|
3261
|
+
*/
|
|
3107
3262
|
private static isValidArray;
|
|
3263
|
+
/**
|
|
3264
|
+
* @param value a part of a time (e.g. an hour)
|
|
3265
|
+
* @param max its maximum (e.g. 23)
|
|
3266
|
+
* @returns whether it is entered and between 0 and max
|
|
3267
|
+
*/
|
|
3268
|
+
private static isInRange;
|
|
3108
3269
|
mapToDateFromNumberArray(object: any, ...fieldsNames: string[]): any;
|
|
3109
3270
|
mapAllToDateFromNumberArray(objects: any[], ...fieldsNames: string[]): any[];
|
|
3110
|
-
|
|
3111
|
-
|
|
3112
|
-
|
|
3113
|
-
|
|
3114
|
-
|
|
3115
|
-
|
|
3271
|
+
/**
|
|
3272
|
+
* @param dateInArray a date (`[year, month, day]`) or a date-time (`[year, month, day, hour, minute, second?]`)
|
|
3273
|
+
* @returns the date (in the time zone of the browser), null when it is not complete (e.g. the model of
|
|
3274
|
+
* `foehn-input-date` with a part not entered); the date only when the time is not complete
|
|
3275
|
+
* @throws for an array of 1, 2 or 4 numbers
|
|
3276
|
+
*/
|
|
3277
|
+
toDateFromNumberArray(dateInArray: FoehnDateModel | FoehnDateTimeModel | null | undefined): Date | null;
|
|
3278
|
+
/**
|
|
3279
|
+
* @param value a date or a date-time
|
|
3280
|
+
* @returns whether it has an hour and a minute (a date-time with its time entered)
|
|
3281
|
+
*/
|
|
3282
|
+
hasTime(value: FoehnDateModel | FoehnDateTimeModel | null | undefined): boolean;
|
|
3283
|
+
arrayToDisplayDateDMY(d: FoehnDateModel | FoehnDateTimeModel | null | undefined, showTime: boolean): string | null;
|
|
3284
|
+
toDayjsFromNumberArray(value: FoehnDateModel | null | undefined): dayjs.Dayjs | null;
|
|
3285
|
+
/**
|
|
3286
|
+
* @param value a date (3 parts, e.g. the model of `foehn-input-date`) or a date-time (5 parts or more, e.g. the
|
|
3287
|
+
* model of `foehn-input-date-time`), as the backend sends it (`LenientLocalDate`, `LenientLocalDateTime`)
|
|
3288
|
+
* @returns whether the date is complete and exists (not 30.02.2021) and, for a date-time, whether its hour (0 to
|
|
3289
|
+
* 23) and its minute (0 to 59) are entered, as `LenientLocalDateTime.isValid()` of prestations-be
|
|
3290
|
+
*/
|
|
3291
|
+
isValid(value: FoehnDateModel | FoehnDateTimeModel | null | undefined): boolean;
|
|
3292
|
+
/**
|
|
3293
|
+
* @param value a date or a date-time (only its date is considered)
|
|
3294
|
+
* @returns whether the date exists and is today (30.02.2026 is not the 02.03.2026)
|
|
3295
|
+
*/
|
|
3296
|
+
isToday(value: FoehnDateModel | FoehnDateTimeModel | null | undefined): boolean;
|
|
3297
|
+
leftPad(num: string | null | undefined): string;
|
|
3298
|
+
/**
|
|
3299
|
+
* @param value a date or a date-time
|
|
3300
|
+
* @returns whether its date is complete and exists (dayjs shifts the 30.02.2021 to the 02.03.2021)
|
|
3301
|
+
*/
|
|
3302
|
+
private isExistingDate;
|
|
3116
3303
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DateHelper, never>;
|
|
3117
3304
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<DateHelper>;
|
|
3118
3305
|
}
|
|
@@ -3142,8 +3329,8 @@ declare class NumberCurrencyFormatterDirective implements OnInit {
|
|
|
3142
3329
|
private readonly formattingEffect;
|
|
3143
3330
|
onBlur(event: FocusEvent): void;
|
|
3144
3331
|
onFocus(event: FocusEvent): void;
|
|
3145
|
-
onModelChange(value: string | null | undefined): void;
|
|
3146
3332
|
ngOnInit(): void;
|
|
3333
|
+
private formatModel;
|
|
3147
3334
|
private setFormatting;
|
|
3148
3335
|
private hasValueChanged;
|
|
3149
3336
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NumberCurrencyFormatterDirective, never>;
|
|
@@ -3339,11 +3526,48 @@ declare class FoehnListItem {
|
|
|
3339
3526
|
|
|
3340
3527
|
declare abstract class AbstractListDetailPageComponent<FORM_TYPE extends I18nForm, ITEM_TYPE extends FoehnListItem> extends AbstractPageFromMenuComponent<FORM_TYPE> implements OnInit, OnDestroy {
|
|
3341
3528
|
#private;
|
|
3342
|
-
|
|
3343
|
-
|
|
3529
|
+
/**
|
|
3530
|
+
* The list of the form, at `getListPath()`.
|
|
3531
|
+
*/
|
|
3532
|
+
readonly list: _angular_core.Signal<ITEM_TYPE[]>;
|
|
3533
|
+
/**
|
|
3534
|
+
* The index of the item edited, set once the form is loaded: the one of the URL, or the new item added at the end
|
|
3535
|
+
* of the list.
|
|
3536
|
+
*/
|
|
3537
|
+
readonly itemIndex: _angular_core.WritableSignal<number | null>;
|
|
3538
|
+
/**
|
|
3539
|
+
* The item edited, `null` until the form is loaded.
|
|
3540
|
+
*/
|
|
3541
|
+
readonly itemToEdit: _angular_core.Signal<ITEM_TYPE | null>;
|
|
3344
3542
|
protected router: Router;
|
|
3345
3543
|
protected location: Location;
|
|
3346
|
-
|
|
3544
|
+
/**
|
|
3545
|
+
* @returns the list of the form, at `getListPath()`
|
|
3546
|
+
*/
|
|
3547
|
+
getList(): ITEM_TYPE[];
|
|
3548
|
+
/**
|
|
3549
|
+
* Writes a value into the item edited, without modifying the form in place. Bind a field of the item with
|
|
3550
|
+
* `[model]="item.name" (modelChange)="patchItem(['name'], $event)"`, inside an `@if (itemToEdit(); as item)`.
|
|
3551
|
+
*
|
|
3552
|
+
* @param path the keys and indexes leading to the field in the item
|
|
3553
|
+
* @param value the new value (`null` and `undefined` included: the model of the `foehn-*` components can be, as
|
|
3554
|
+
* with `[(model)]`)
|
|
3555
|
+
*/
|
|
3556
|
+
patchItem<P extends ObjectPath<ITEM_TYPE>>(path: P, value: ObjectPathValue<ITEM_TYPE, P> | null | undefined): void;
|
|
3557
|
+
/**
|
|
3558
|
+
* Replaces the item edited with the one returned by `update`, in a single write of the form, e.g. to empty several
|
|
3559
|
+
* fields at once: `this.updateItem((item) => ({ ...item, site: null, ideNumber: null }))`. Never modify the item
|
|
3560
|
+
* given: return a new one.
|
|
3561
|
+
*
|
|
3562
|
+
* @param update gives the new item from the current one
|
|
3563
|
+
*/
|
|
3564
|
+
updateItem(update: (item: ITEM_TYPE) => ITEM_TYPE): void;
|
|
3565
|
+
/**
|
|
3566
|
+
* Replaces the item edited, e.g. bound as a whole to a component: `[model]="item" (modelChange)="setItem($event)"`.
|
|
3567
|
+
*
|
|
3568
|
+
* @param item the new item
|
|
3569
|
+
*/
|
|
3570
|
+
setItem(item: ITEM_TYPE): void;
|
|
3347
3571
|
ngOnInit(): void;
|
|
3348
3572
|
ngOnDestroy(): void;
|
|
3349
3573
|
protected getNextTrackingIndex(): number;
|
|
@@ -3354,7 +3578,10 @@ declare abstract class AbstractListDetailPageComponent<FORM_TYPE extends I18nFor
|
|
|
3354
3578
|
private assignItemIndex;
|
|
3355
3579
|
private scrollToSpecifiedElement;
|
|
3356
3580
|
private showErrors;
|
|
3357
|
-
|
|
3581
|
+
/**
|
|
3582
|
+
* @returns the path of the list in the form, e.g. `['vehicles']`
|
|
3583
|
+
*/
|
|
3584
|
+
abstract getListPath(): ObjectPath<FORM_TYPE>;
|
|
3358
3585
|
abstract getNewListItem(): ITEM_TYPE;
|
|
3359
3586
|
abstract getListPagePath(): string;
|
|
3360
3587
|
abstract getListPageLabel(): string;
|
|
@@ -3544,7 +3771,6 @@ declare class FoehnDatePickerComponent implements OnInit {
|
|
|
3544
3771
|
readonly weeks: _angular_core.WritableSignal<DayMonth[][]>;
|
|
3545
3772
|
readonly selectedDate: _angular_core.WritableSignal<dayjs.Dayjs | null>;
|
|
3546
3773
|
currentMonthYear: Observable<MonthYear | null>;
|
|
3547
|
-
model_: number[] | undefined | null;
|
|
3548
3774
|
readonly monthListItem: _angular_core.WritableSignal<FormSelectOption[]>;
|
|
3549
3775
|
private readonly dictionary;
|
|
3550
3776
|
private readonly injector;
|
|
@@ -3566,9 +3792,8 @@ declare class FoehnDatePickerComponent implements OnInit {
|
|
|
3566
3792
|
handleKeyboardUpEvent(event: KeyboardEvent): void;
|
|
3567
3793
|
handleKeyboardDownEvent(event: KeyboardEvent): void;
|
|
3568
3794
|
ngOnInit(): void;
|
|
3569
|
-
onModelChange(value: number[] | null): void;
|
|
3570
3795
|
updateNgModel(value: number[] | null): void;
|
|
3571
|
-
buildId(suffix?: string): string
|
|
3796
|
+
buildId(suffix?: string): string;
|
|
3572
3797
|
isToday(date: dayjs.Dayjs | undefined): boolean;
|
|
3573
3798
|
isSelected(date: dayjs.Dayjs | undefined): boolean;
|
|
3574
3799
|
handleUserInput(date: dayjs.Dayjs | undefined): void;
|
|
@@ -3586,6 +3811,12 @@ declare class FoehnDatePickerComponent implements OnInit {
|
|
|
3586
3811
|
isNextMonthDisabled(monthYear: MonthYear): boolean;
|
|
3587
3812
|
private isDateInRange;
|
|
3588
3813
|
private initializeDatepicker;
|
|
3814
|
+
/**
|
|
3815
|
+
* Selects the date of the model and displays its month (the current month without any date). Not a computed: the
|
|
3816
|
+
* navigation helper keeps the displayed month, also changed by the navigation of the user.
|
|
3817
|
+
* @param value the model
|
|
3818
|
+
*/
|
|
3819
|
+
private syncWithModel;
|
|
3589
3820
|
private setDate;
|
|
3590
3821
|
private getDateAsArray;
|
|
3591
3822
|
private focusOnDatepickerTrigger;
|
|
@@ -3609,17 +3840,13 @@ declare class FoehnDatePickerButtonComponent implements OnInit {
|
|
|
3609
3840
|
readonly selectedDateSrOnlyLabelKey: _angular_core.InputSignal<string>;
|
|
3610
3841
|
readonly datepickerTrigger: _angular_core.Signal<ElementRef<any> | undefined>;
|
|
3611
3842
|
readonly userInput: _angular_core.OutputEmitterRef<number[] | null>;
|
|
3612
|
-
model_: number[] | null | undefined;
|
|
3613
3843
|
private readonly isVisible;
|
|
3614
|
-
private readonly modelEffect;
|
|
3615
3844
|
get isDatepickerVisible(): boolean;
|
|
3616
3845
|
ngOnInit(): void;
|
|
3617
|
-
buildId(suffix?: string): string
|
|
3846
|
+
buildId(suffix?: string): string;
|
|
3618
3847
|
open(): void;
|
|
3619
3848
|
close(): void;
|
|
3620
3849
|
updateVisibilityStatus(status: boolean): void;
|
|
3621
|
-
onModelChange(value: number[] | null): void;
|
|
3622
|
-
updateNgModel(value: number[] | null): void;
|
|
3623
3850
|
handleUserInput(date: number[] | null): void;
|
|
3624
3851
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FoehnDatePickerButtonComponent, never>;
|
|
3625
3852
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FoehnDatePickerButtonComponent, "foehn-date-picker-button", never, { "model": { "alias": "model"; "required": true; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "displaySelectedDate": { "alias": "displaySelectedDate"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": true; "isSignal": true; }; "minYear": { "alias": "minYear"; "required": false; "isSignal": true; }; "maxYear": { "alias": "maxYear"; "required": false; "isSignal": true; }; "minDate": { "alias": "minDate"; "required": false; "isSignal": true; }; "maxDate": { "alias": "maxDate"; "required": false; "isSignal": true; }; "selectedDateSrOnlyLabelKey": { "alias": "selectedDateSrOnlyLabelKey"; "required": false; "isSignal": true; }; }, { "model": "modelChange"; "userInput": "userInput"; }, never, never, true, never>;
|
|
@@ -3677,6 +3904,10 @@ declare class ObjectHelper {
|
|
|
3677
3904
|
*/
|
|
3678
3905
|
static deepCopy(obj: any): any;
|
|
3679
3906
|
static stripHtml(html: string): string;
|
|
3907
|
+
/**
|
|
3908
|
+
* @deprecated use `ObjectPathHelper.getByKeys(obj, key)`, which it calls: the value at the path of the key
|
|
3909
|
+
* (`'address.street'`).
|
|
3910
|
+
*/
|
|
3680
3911
|
static getNestedProperty(obj: unknown, key: string): any;
|
|
3681
3912
|
}
|
|
3682
3913
|
|
|
@@ -3974,5 +4205,5 @@ declare class SdkLogsService {
|
|
|
3974
4205
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<SdkLogsService>;
|
|
3975
4206
|
}
|
|
3976
4207
|
|
|
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 };
|
|
4208
|
+
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, ObjectPathHelper, 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 };
|
|
4209
|
+
export type { BreadcrumbConfiguration, BrowserInfo, ComponentError, DictionaryType, DocumentChanges, FoehnDateModel, FoehnDateTimeModel, FoehnListItemDescription, FoehnModalSize, FoehnRecapSection, FoehnRecapSectionElement, FoehnRecapSectionElementValueType, FormError, HasCustomErrors, HelpModal, Image, Language, ObjectKeys, ObjectPath, ObjectPathValue, PlaceholderType, UploaderErrorLimits };
|