@dsivd/prestations-ng 19.2.0-beta.27 → 19.2.0-beta.29

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.
Files changed (35) hide show
  1. package/AI_GUIDELINES.md +30 -9
  2. package/ANGULAR_SIGNALS.md +2 -2
  3. package/CHANGELOG.md +51 -3
  4. package/CONTRIBUTING.md +54 -12
  5. package/ESLINT_PLUGIN.md +110 -13
  6. package/GOOD_PRACTICES.md +34 -10
  7. package/README.md +18 -12
  8. package/UPGRADING_V19.md +154 -7
  9. package/eslint/configs/template-rules.mjs +3 -0
  10. package/eslint/rules/index.mjs +2 -0
  11. package/eslint/rules/no-direct-signal-mutation.mjs +104 -21
  12. package/eslint/rules/no-item-track-in-form-list.mjs +4 -3
  13. package/eslint/rules/require-track-index.mjs +162 -0
  14. package/eslint/signal-names.mjs +127 -21
  15. package/fesm2022/dsivd-prestations-ng.mjs +68 -22
  16. package/fesm2022/dsivd-prestations-ng.mjs.map +1 -1
  17. package/package.json +1 -1
  18. package/schematics/migration-collection.json +1 -1
  19. package/schematics/ng-update/migrations/update-19_2_0/index.js +15 -3
  20. package/schematics/utility/form-signal/class-migration.js +130 -6
  21. package/schematics/utility/form-signal/form-members.js +318 -0
  22. package/schematics/utility/form-signal/form-signal-migration.js +13 -75
  23. package/schematics/utility/form-signal/page-classes.js +11 -1
  24. package/schematics/utility/form-signal/template-migration.js +119 -10
  25. package/schematics/utility/never-connected-migration.js +87 -0
  26. package/schematics/utility/typescript-files.js +95 -0
  27. package/src/eslint/configs/template-rules.mjs +3 -0
  28. package/src/eslint/rules/__tests__/no-direct-signal-mutation.test.mjs +142 -0
  29. package/src/eslint/rules/__tests__/require-track-index.test.mjs +106 -0
  30. package/src/eslint/rules/index.mjs +2 -0
  31. package/src/eslint/rules/no-direct-signal-mutation.mjs +104 -21
  32. package/src/eslint/rules/no-item-track-in-form-list.mjs +4 -3
  33. package/src/eslint/rules/require-track-index.mjs +162 -0
  34. package/src/eslint/signal-names.mjs +127 -21
  35. package/types/dsivd-prestations-ng.d.ts +19 -3
@@ -0,0 +1,162 @@
1
+ import { isComponentReceiver } from "../template-ast.mjs";
2
+ import { astOf } from "../form-reads.mjs";
3
+
4
+ /**
5
+ * ESLint rule: a `@for` whose rows name their fields with the index of the row
6
+ * (`[name]="'children[' + $index + '].firstName'"`, `name="child{{ i }}"`), or the errors of the
7
+ * row (`[errorPrefix]` of `foehn-error-pill`), must track its rows by `$index`.
8
+ *
9
+ * The names of the fields follow the paths of the errors of GESDEM (`children[1].firstName`).
10
+ * Tracked by anything else (an identifier, the item), a row whose item moves (an earlier item
11
+ * removed or inserted, the list sorted) is kept with its fields renamed: `foehn-form` keeps them
12
+ * registered under their former names, so the row taking one of these names shares their
13
+ * `FormControl`, and the errors, read by name when they are emitted, stay those of the former
14
+ * name. Tracked by `$index`, a row never changes its names: only its item changes.
15
+ *
16
+ * The index is `$index` or an alias of it (`let i = $index`), of the innermost `@for` declaring
17
+ * the name: a name built with the index of an enclosing `@for` reports that one.
18
+ */
19
+
20
+ // The inputs naming a field, or the errors of a row
21
+ const NAME_INPUTS = new Set(["name", "errorPrefix"]);
22
+
23
+ // The members of an expression node that aren't expressions
24
+ const NOT_EXPRESSIONS = new Set([
25
+ "span",
26
+ "sourceSpan",
27
+ "nameSpan",
28
+ "keySpan",
29
+ "loc",
30
+ "parent",
31
+ ]);
32
+
33
+ /**
34
+ * The names read on the component by an expression (`i`, `$index`), nested reads included.
35
+ */
36
+ function namesReadBy(expression, names = []) {
37
+ if (Array.isArray(expression)) {
38
+ expression.forEach((item) => namesReadBy(item, names));
39
+ return names;
40
+ }
41
+ if (!expression || typeof expression !== "object") {
42
+ return names;
43
+ }
44
+ if (
45
+ expression.type === "PropertyRead" &&
46
+ isComponentReceiver(expression.receiver)
47
+ ) {
48
+ names.push(expression.name);
49
+ }
50
+ for (const [key, value] of Object.entries(expression)) {
51
+ if (!NOT_EXPRESSIONS.has(key) && value && typeof value === "object") {
52
+ namesReadBy(value, names);
53
+ }
54
+ }
55
+ return names;
56
+ }
57
+
58
+ /**
59
+ * The `@for` whose `$index` a name is: the innermost enclosing `@for` declaring the name, when
60
+ * it declares it as its `$index` (itself or an alias).
61
+ */
62
+ function forBlockIndexed(name, node) {
63
+ for (let current = node; current; current = current.parent) {
64
+ if (current.type !== "ForLoopBlock") {
65
+ continue;
66
+ }
67
+ const variable = current.contextVariables?.find(
68
+ (contextVariable) => contextVariable.name === name,
69
+ );
70
+ if (variable) {
71
+ return variable.value === "$index" ? current : undefined;
72
+ }
73
+ }
74
+ return undefined;
75
+ }
76
+
77
+ /**
78
+ * Whether a `@for` tracks its rows by its `$index`, or an alias of it.
79
+ */
80
+ function tracksIndex(forBlock) {
81
+ const track = astOf(forBlock.trackBy);
82
+ return (
83
+ track?.type === "PropertyRead" &&
84
+ isComponentReceiver(track.receiver) &&
85
+ !!forBlock.contextVariables?.some(
86
+ (contextVariable) =>
87
+ contextVariable.name === track.name &&
88
+ contextVariable.value === "$index",
89
+ )
90
+ );
91
+ }
92
+
93
+ export default {
94
+ meta: {
95
+ type: "problem",
96
+ docs: {
97
+ description:
98
+ "Require tracking by $index the rows of a @for that name their fields, or their errors, with the index of the row",
99
+ category: "Possible Errors",
100
+ recommended: true,
101
+ },
102
+ hasSuggestions: true,
103
+ schema: [],
104
+ messages: {
105
+ indexTrack:
106
+ "The rows of this list name their fields with the index ({{binding}}) but are tracked by '{{track}}': a row whose item moves keeps its fields registered under their former names, and mixes up their values and errors with the row taking these names. Track the rows by $index.",
107
+ trackByIndex: "Track the rows by $index",
108
+ },
109
+ },
110
+
111
+ create(context) {
112
+ // The @for naming the fields of their rows with their index, and the first such binding
113
+ const indexedBlocks = new Map();
114
+ const textOf = (expression) =>
115
+ context.sourceCode.text
116
+ .slice(expression.sourceSpan.start, expression.sourceSpan.end)
117
+ .replace(/\s+/g, " ")
118
+ .trim();
119
+
120
+ return {
121
+ Element(node) {
122
+ for (const input of node.inputs ?? []) {
123
+ if (!NAME_INPUTS.has(input.name)) {
124
+ continue;
125
+ }
126
+ for (const name of namesReadBy(astOf(input.value))) {
127
+ const forBlock = forBlockIndexed(name, node);
128
+ if (forBlock && !indexedBlocks.has(forBlock)) {
129
+ indexedBlocks.set(
130
+ forBlock,
131
+ `${input.name}="${input.value.source ?? textOf(astOf(input.value))}"`,
132
+ );
133
+ }
134
+ }
135
+ }
136
+ },
137
+ "Program:exit"() {
138
+ for (const [forBlock, binding] of indexedBlocks) {
139
+ if (tracksIndex(forBlock)) {
140
+ continue;
141
+ }
142
+ const track = astOf(forBlock.trackBy);
143
+ const { start, end } = track.sourceSpan;
144
+ context.report({
145
+ messageId: "indexTrack",
146
+ data: { binding, track: textOf(track) },
147
+ loc: {
148
+ start: context.sourceCode.getLocFromIndex(start),
149
+ end: context.sourceCode.getLocFromIndex(end),
150
+ },
151
+ suggest: [
152
+ {
153
+ messageId: "trackByIndex",
154
+ fix: (fixer) => fixer.replaceTextRange([start, end], "$index"),
155
+ },
156
+ ],
157
+ });
158
+ }
159
+ },
160
+ };
161
+ },
162
+ };
@@ -161,29 +161,95 @@ const classDeclarationsOf = (sourceFile, className) =>
161
161
  const isBarrelMiss = (className, classDeclarations) =>
162
162
  Boolean(className) && classDeclarations.length === 0;
163
163
 
164
- const collectFromReExports = (sourceFile, path, className, kinds, visited) => {
164
+ const collectFromReExports = (sourceFile, path, className, members, visited) => {
165
165
  for (const specifier of reExportedModulesOf(sourceFile)) {
166
166
  const target = resolveModule(specifier, path);
167
167
  if (target) {
168
- collect(target, className, kinds, visited);
168
+ collect(target, className, members, visited);
169
169
  }
170
170
  }
171
171
  };
172
172
 
173
- const addMemberKindIfEligible = (member, kinds) => {
173
+ // TypeScript wrappers that leave the value as is: `this.form()!`, `this.form() as Form`...
174
+ const isValueWrapper = (node) =>
175
+ ts.isParenthesizedExpression(node) ||
176
+ ts.isNonNullExpression(node) ||
177
+ ts.isAsExpression(node) ||
178
+ ts.isSatisfiesExpression(node) ||
179
+ ts.isTypeAssertionExpression(node);
180
+
181
+ /**
182
+ * What the expression returned by a getter is rooted at, the property and index reads and
183
+ * the type wrappers stripped away: the read of a member of the class without arguments
184
+ * (`{ call: "form" }` for `this.form()!.step`), or a member read as is (`{ member: "step" }`
185
+ * for `this.step.motif`, another getter maybe). `undefined` for anything else: a
186
+ * computation, a copy or a call with arguments returns a value of its own.
187
+ */
188
+ const returnedRootOf = (expression) => {
189
+ let current = expression;
190
+ for (;;) {
191
+ if (isValueWrapper(current)) {
192
+ current = current.expression;
193
+ } else if (
194
+ ts.isPropertyAccessExpression(current) ||
195
+ ts.isElementAccessExpression(current)
196
+ ) {
197
+ if (current.expression.kind === ts.SyntaxKind.ThisKeyword) {
198
+ return ts.isPropertyAccessExpression(current) &&
199
+ ts.isIdentifier(current.name)
200
+ ? { member: current.name.text }
201
+ : undefined;
202
+ }
203
+ current = current.expression;
204
+ } else {
205
+ break;
206
+ }
207
+ }
208
+ const callee = ts.isCallExpression(current) ? current.expression : undefined;
209
+ return callee &&
210
+ current.arguments.length === 0 &&
211
+ ts.isPropertyAccessExpression(callee) &&
212
+ callee.expression.kind === ts.SyntaxKind.ThisKeyword &&
213
+ ts.isIdentifier(callee.name)
214
+ ? { call: callee.name.text }
215
+ : undefined;
216
+ };
217
+
218
+ // The expression a getter returns, when its body is a single `return` statement.
219
+ const returnedExpressionOf = (getter) => {
220
+ const statements = getter.body?.statements;
221
+ const statement = statements?.length === 1 ? statements[0] : undefined;
222
+ return statement && ts.isReturnStatement(statement)
223
+ ? statement.expression
224
+ : undefined;
225
+ };
226
+
227
+ const addMemberIfEligible = (member, { kinds, getters }) => {
174
228
  if (!member.name || !ts.isIdentifier(member.name)) {
175
229
  return;
176
230
  }
177
- const kind = kindOfMember(member);
231
+ const name = member.name.text;
178
232
  // A subclass overriding a member wins: it is collected first.
179
- if (kind && !kinds.has(member.name.text)) {
180
- kinds.set(member.name.text, kind);
233
+ if (kinds.has(name) || getters.has(name)) {
234
+ return;
235
+ }
236
+ const kind = kindOfMember(member);
237
+ if (kind) {
238
+ kinds.set(name, kind);
239
+ return;
240
+ }
241
+ const returned = ts.isGetAccessor(member)
242
+ ? returnedExpressionOf(member)
243
+ : undefined;
244
+ // Recorded even when it returns something else: it overrides the getter of a base class.
245
+ if (ts.isGetAccessor(member)) {
246
+ getters.set(name, returned ? returnedRootOf(returned) : undefined);
181
247
  }
182
248
  };
183
249
 
184
- const collectMemberKinds = (classDeclaration, kinds) => {
250
+ const collectMembers = (classDeclaration, members) => {
185
251
  for (const member of classDeclaration.members) {
186
- addMemberKindIfEligible(member, kinds);
252
+ addMemberIfEligible(member, members);
187
253
  }
188
254
  };
189
255
 
@@ -207,14 +273,14 @@ const baseTargetOf = (sourceFile, path, classDeclaration) => {
207
273
  return target ? { path: target, className: imported.exportedName } : undefined;
208
274
  };
209
275
 
210
- const collectBase = (sourceFile, path, classDeclaration, kinds, visited) => {
276
+ const collectBase = (sourceFile, path, classDeclaration, members, visited) => {
211
277
  const target = baseTargetOf(sourceFile, path, classDeclaration);
212
278
  if (target) {
213
- collect(target.path, target.className, kinds, visited);
279
+ collect(target.path, target.className, members, visited);
214
280
  }
215
281
  };
216
282
 
217
- const collect = (path, className, kinds, visited) => {
283
+ const collect = (path, className, members, visited) => {
218
284
  const key = `${path}::${className ?? "*"}`;
219
285
  if (visited.has(key)) {
220
286
  return;
@@ -230,27 +296,67 @@ const collect = (path, className, kinds, visited) => {
230
296
 
231
297
  // A barrel: the class is only re-exported from here.
232
298
  if (isBarrelMiss(className, classDeclarations)) {
233
- collectFromReExports(sourceFile, path, className, kinds, visited);
299
+ collectFromReExports(sourceFile, path, className, members, visited);
234
300
  return;
235
301
  }
236
302
 
237
303
  for (const classDeclaration of classDeclarations) {
238
- collectMemberKinds(classDeclaration, kinds);
239
- collectBase(sourceFile, path, classDeclaration, kinds, visited);
304
+ collectMembers(classDeclaration, members);
305
+ collectBase(sourceFile, path, classDeclaration, members, visited);
306
+ }
307
+ };
308
+
309
+ const collectAll = (componentPath) => {
310
+ if (!parseFile(componentPath)) {
311
+ return undefined;
312
+ }
313
+ const members = { kinds: new Map(), getters: new Map() };
314
+ collect(componentPath, undefined, members, new Set());
315
+ return members;
316
+ };
317
+
318
+ /**
319
+ * The getters returning the value of a signal of the class, or a part of it: `get step()
320
+ * { return this.form()!.step; }`, or another such getter read further (`this.step.motif`).
321
+ * Mapped to the signal and its kind. Mutating what they return mutates the value of the
322
+ * signal.
323
+ */
324
+ const resolveAliases = ({ kinds, getters }) => {
325
+ const aliases = new Map();
326
+ let added = true;
327
+ while (added) {
328
+ added = false;
329
+ for (const [name, root] of getters) {
330
+ if (aliases.has(name) || !root) {
331
+ continue;
332
+ }
333
+ const alias = root.call
334
+ ? kinds.has(root.call) && { signal: root.call, kind: kinds.get(root.call) }
335
+ : aliases.get(root.member);
336
+ if (alias) {
337
+ aliases.set(name, alias);
338
+ added = true;
339
+ }
340
+ }
240
341
  }
342
+ return aliases;
241
343
  };
242
344
 
243
345
  /**
244
346
  * Signal members of a component, mapped to their kind. `undefined` when the file
245
347
  * cannot be read: unknown signals must be distinguished from a component that has none.
246
348
  */
247
- export const collectSignalKinds = (componentPath) => {
248
- if (!parseFile(componentPath)) {
249
- return undefined;
250
- }
251
- const kinds = new Map();
252
- collect(componentPath, undefined, kinds, new Set());
253
- return kinds;
349
+ export const collectSignalKinds = (componentPath) =>
350
+ collectAll(componentPath)?.kinds;
351
+
352
+ /**
353
+ * Getters of a component aliasing the value of one of its signals, mapped to
354
+ * `{ signal, kind }`, walking up its inheritance chain. `undefined` when the file cannot be
355
+ * read.
356
+ */
357
+ export const collectSignalAliases = (componentPath) => {
358
+ const members = collectAll(componentPath);
359
+ return members && resolveAliases(members);
254
360
  };
255
361
 
256
362
  export const collectSignalNames = (componentPath) =>
@@ -216,6 +216,13 @@ declare class ValidationHandlerService {
216
216
  get validationErrorsSubject(): Observable<FormError[]>;
217
217
  get validationDisplaySubject(): Observable<boolean>;
218
218
  updateErrors(errors: FormError[]): void;
219
+ /**
220
+ * Removes the errors of the item at `itemPath` (e.g. `exchanges[1]`) and gives those of the following items their
221
+ * new index, as `FormErrorHelper.withoutListItem()`. For a page keeping the errors of the server until its next
222
+ * save (e.g. a back office) when it removes an item of a list whose fields are named with the index. The errors of
223
+ * `GesdemHandlerService.lastResponse` aren't changed.
224
+ */
225
+ removeListItemErrors(itemPath: string): void;
219
226
  shouldDisplayErrors(display: boolean): void;
220
227
  getMessage(component: HasCustomErrors, error: FormError): string;
221
228
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ValidationHandlerService, never>;
@@ -2233,6 +2240,17 @@ declare class FoehnValidationAlertsComponent {
2233
2240
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<FoehnValidationAlertsComponent, "foehn-validation-alerts", never, { "component": { "alias": "component"; "required": false; "isSignal": true; }; "shouldErrorsBeLive": { "alias": "shouldErrorsBeLive"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
2234
2241
  }
2235
2242
 
2243
+ declare class FormErrorHelper {
2244
+ /**
2245
+ * The errors left once the item at `itemPath` (e.g. `exchanges[1]`) is removed from its list: its errors are
2246
+ * dropped, and those of the following items take their new index (`exchanges[2].date` becomes `exchanges[1].date`).
2247
+ *
2248
+ * @returns a new array, the given errors aren't modified
2249
+ */
2250
+ static withoutListItem(errors: readonly FormError[], itemPath: string): FormError[];
2251
+ private static pathPattern;
2252
+ }
2253
+
2236
2254
  declare abstract class AbstractIconComponent {
2237
2255
  readonly title: _angular_core.InputSignal<string | undefined>;
2238
2256
  abstract iconName: IconDefinition;
@@ -3524,7 +3542,6 @@ declare abstract class AbstractPageFromMenuComponent<T extends I18nForm> extends
3524
3542
  }
3525
3543
 
3526
3544
  declare class FoehnListItem {
3527
- trackingIndex: number | undefined;
3528
3545
  disableEdition?: boolean;
3529
3546
  disableDeletion?: boolean;
3530
3547
  }
@@ -3575,7 +3592,6 @@ declare abstract class AbstractListDetailPageComponent<FORM_TYPE extends I18nFor
3575
3592
  setItem(item: ITEM_TYPE): void;
3576
3593
  ngOnInit(): void;
3577
3594
  ngOnDestroy(): void;
3578
- protected getNextTrackingIndex(): number;
3579
3595
  protected returnToParent(): void;
3580
3596
  protected resetBreadCrumb(): void;
3581
3597
  protected appendPageToBreadCrumb(): void;
@@ -4210,5 +4226,5 @@ declare class SdkLogsService {
4210
4226
  static ɵprov: _angular_core.ɵɵInjectableDeclaration<SdkLogsService>;
4211
4227
  }
4212
4228
 
4213
- 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 };
4229
+ 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, FormErrorHelper, 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 };
4214
4230
  export type { BreadcrumbConfiguration, BrowserInfo, ComponentError, DictionaryType, DocumentChanges, FoehnDateModel, FoehnDateTimeModel, FoehnListItemDescription, FoehnModalSize, FoehnRecapSection, FoehnRecapSectionElement, FoehnRecapSectionElementValueType, FormError, HasCustomErrors, HelpModal, Image, Language, ObjectKeys, ObjectPath, ObjectPathValue, PlaceholderType, UploaderErrorLimits };