@dsivd/prestations-ng 19.2.0-beta.28 → 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.
@@ -8,7 +8,7 @@ import {
8
8
  VIEW_QUERY,
9
9
  WRITABLE,
10
10
  } from "../signal-kinds.mjs";
11
- import { collectSignalKinds } from "../signal-names.mjs";
11
+ import { collectSignalAliases, collectSignalKinds } from "../signal-names.mjs";
12
12
  import {
13
13
  handlerExpressionOf,
14
14
  isComponentReceiver,
@@ -30,6 +30,10 @@ import {
30
30
  *
31
31
  * Only the signals the class really declares are inspected, resolved through the whole
32
32
  * inheritance chain, so a plain method (`this.getConfig().items.push(x)`) is left alone.
33
+ *
34
+ * A getter of the class returning the value of a signal, or a part of it
35
+ * (`get step() { return this.form()!.step; }`), hands out that value too: a write through
36
+ * it (`this.step.motif = x`, `[(model)]="step.motif"`) is reported as well.
33
37
  */
34
38
 
35
39
  // Kinds a mutation is not reported on: a view query hands out a DOM element or a component
@@ -201,6 +205,33 @@ function signalFactoryKind(node) {
201
205
  return callee?.type === "Identifier" ? factoryKind(callee.name) : undefined;
202
206
  }
203
207
 
208
+ // The value of a signal of the class: its kind, and the getter it was read through, if any.
209
+ const valueOf = (kind) => (kind ? { kind } : undefined);
210
+
211
+ /**
212
+ * The getter of the class a member chain reads first, `this.step` in `this.step.motif`,
213
+ * when it aliases the value of a signal. `undefined` for anything else.
214
+ */
215
+ function aliasReadOf(node, scopeContext) {
216
+ let current = node;
217
+ while (
218
+ current?.type === "MemberExpression" ||
219
+ TYPE_WRAPPERS.has(current?.type)
220
+ ) {
221
+ if (
222
+ current.type === "MemberExpression" &&
223
+ current.object.type === "ThisExpression"
224
+ ) {
225
+ const name = current.computed ? undefined : getCalledName(current);
226
+ const alias = name ? scopeContext.alias(name) : undefined;
227
+ return alias ? { ...alias, getter: name } : undefined;
228
+ }
229
+ current =
230
+ current.type === "MemberExpression" ? current.object : current.expression;
231
+ }
232
+ return undefined;
233
+ }
234
+
204
235
  function signalRootCallKind(node, scopeContext) {
205
236
  if (node.arguments.length !== 0) {
206
237
  return undefined;
@@ -233,14 +264,18 @@ function signalRootCallKind(node, scopeContext) {
233
264
  }
234
265
 
235
266
  /**
236
- * Kind of signal whose value an expression evaluates to, `undefined` when it is not one.
237
- * The expression may be the signal read itself (`this.model()`), a member of its value
238
- * (`this.model().items`), or a name bound to either.
267
+ * The value of a signal an expression evaluates to (`{ kind, getter? }`), `undefined` when
268
+ * it is not one. The expression may be the signal read itself (`this.model()`), a member of
269
+ * its value (`this.model().items`), a getter aliasing either (`this.step.items`), or a name
270
+ * bound to any of them.
239
271
  */
240
272
  function signalValueKind(node, scopeContext, seen = new Set()) {
241
273
  const base = baseOf(node);
242
274
  if (base?.type === "CallExpression") {
243
- return signalRootCallKind(base, scopeContext);
275
+ return valueOf(signalRootCallKind(base, scopeContext));
276
+ }
277
+ if (base?.type === "ThisExpression") {
278
+ return aliasReadOf(node, scopeContext);
244
279
  }
245
280
  return base?.type === "Identifier"
246
281
  ? boundNameSignalKind(base, scopeContext, seen)
@@ -314,7 +349,7 @@ function signalRootTemplateCallKind(node, templateContext) {
314
349
  return undefined;
315
350
  }
316
351
  return isComponentReceiver(callee.receiver)
317
- ? templateContext.memberKind(callee.name ?? "")
352
+ ? valueOf(templateContext.memberKind(callee.name ?? ""))
318
353
  : undefined;
319
354
  }
320
355
 
@@ -352,10 +387,19 @@ function boundTemplateExpression(read, templateContext) {
352
387
  }
353
388
 
354
389
  /**
355
- * Template counterpart of `signalValueKind`: the value a signal holds, a member of it, or
356
- * a template name bound to either.
390
+ * Template counterpart of `signalValueKind`: the value a signal holds, a member of it, a
391
+ * getter of the component aliasing either, or a template name bound to any of them.
392
+ *
393
+ * `assigned`: the expression is the target of an assignment (`step.motif = x`, or the
394
+ * expression of a two-way binding), so the getter itself as the whole target
395
+ * (`step = x`) calls its setter and mutates nothing.
357
396
  */
358
- function signalTemplateValueKind(node, templateContext, seen = new Set()) {
397
+ function signalTemplateValueKind(
398
+ node,
399
+ templateContext,
400
+ seen = new Set(),
401
+ assigned = false,
402
+ ) {
359
403
  const value = unwrapTemplate(node);
360
404
  if (value?.type === "Call" || value?.type === "SafeCall") {
361
405
  return signalRootTemplateCallKind(value, templateContext);
@@ -379,11 +423,15 @@ function signalTemplateValueKind(node, templateContext, seen = new Set()) {
379
423
  return undefined;
380
424
  }
381
425
  seen.add(base.name);
382
- return signalTemplateValueKind(
383
- boundTemplateExpression(base, templateContext),
384
- templateContext,
385
- seen,
386
- );
426
+ const bound = boundTemplateExpression(base, templateContext);
427
+ if (bound === undefined) {
428
+ // A member of the component, not shadowed by a name of the template.
429
+ const alias = templateContext.alias(base.name);
430
+ return alias && (value !== base || !assigned)
431
+ ? { ...alias, getter: base.name }
432
+ : undefined;
433
+ }
434
+ return signalTemplateValueKind(bound, templateContext, seen);
387
435
  }
388
436
 
389
437
  // Method a template call invokes, `undefined` when the name is not statically known.
@@ -413,6 +461,8 @@ export default {
413
461
  "In-place mutation of a signal's value detected. `{{method}}` changes the value without notifying the signal: use .update() with a new value instead.",
414
462
  readOnlyMutation:
415
463
  "Mutation of the value of {{kind}} detected, which notifies none of its dependents. {{advice}}.",
464
+ getterMutation:
465
+ "Mutation of the value of {{signal}} through the getter `{{getter}}` detected, which notifies none of its dependents. {{advice}}.",
416
466
  },
417
467
  },
418
468
 
@@ -422,18 +472,41 @@ export default {
422
472
  const declaringPath =
423
473
  resolveComponentPath(context.filename) ?? context.filename;
424
474
  const memberKinds = collectSignalKinds(declaringPath);
475
+ const aliases = collectSignalAliases(declaringPath);
425
476
 
426
477
  // `memberKinds` is undefined when the declaring file could not be read: its signals
427
478
  // are unknown, so fall back to treating every argument-less accessor as a writable
428
- // one. A false positive costs a disable comment; a missed mutation is silent.
479
+ // one. A false positive costs a disable comment; a missed mutation is silent. Its
480
+ // getters are unknown too: none is taken for an alias.
429
481
  const memberKind = (name) =>
430
482
  memberKinds ? memberKinds.get(name) : WRITABLE;
483
+ const alias = (name) => aliases?.get(name);
431
484
 
432
- const reportMutation = (node, kind, method) => {
485
+ const reportMutation = (node, value, method) => {
486
+ const kind = value?.kind;
433
487
  if (!kind || TOLERATED_KINDS.has(kind)) {
434
488
  return;
435
489
  }
436
- if (kind !== WRITABLE) {
490
+ if (value.getter) {
491
+ const [name, advice] =
492
+ kind === WRITABLE
493
+ ? [
494
+ "the signal",
495
+ method
496
+ ? `\`${method}\` changes it in place: write a new value with .set() or .update() instead (patchForm() for the form of a page)`
497
+ : "Write a new value with .set() or .update() instead (patchForm() for the form of a page)",
498
+ ]
499
+ : READ_ONLY_ADVICE[kind];
500
+ context.report({
501
+ node,
502
+ messageId: "getterMutation",
503
+ data: {
504
+ signal: `${name} \`${value.signal}\``,
505
+ getter: value.getter,
506
+ advice,
507
+ },
508
+ });
509
+ } else if (kind !== WRITABLE) {
437
510
  const [name, advice] = READ_ONLY_ADVICE[kind];
438
511
  context.report({
439
512
  node,
@@ -447,9 +520,9 @@ export default {
447
520
  }
448
521
  };
449
522
 
450
- const scopeContext = { memberKind, sourceCode: context.sourceCode };
523
+ const scopeContext = { memberKind, alias, sourceCode: context.sourceCode };
451
524
  // `@let` bindings, always declared before they are used.
452
- const templateContext = { memberKind, letBindings: new Map() };
525
+ const templateContext = { memberKind, alias, letBindings: new Map() };
453
526
 
454
527
  const checkTemplateInPlaceCall = (node) => {
455
528
  const method = templateMethodName(node.receiver);
@@ -471,6 +544,16 @@ export default {
471
544
  }
472
545
  },
473
546
 
547
+ // `this.model().count++` writes into the value, like `+= 1`.
548
+ UpdateExpression(node) {
549
+ if (node.argument.type === "MemberExpression") {
550
+ reportMutation(
551
+ node,
552
+ signalValueKind(node.argument.object, scopeContext),
553
+ );
554
+ }
555
+ },
556
+
474
557
  UnaryExpression(node) {
475
558
  // `delete model().users[0]` drops an entry of the value, notifying nothing.
476
559
  if (
@@ -519,7 +602,7 @@ export default {
519
602
  if (TEMPLATE_ASSIGNMENTS.has(node.operation)) {
520
603
  reportMutation(
521
604
  node,
522
- signalTemplateValueKind(node.left, templateContext),
605
+ signalTemplateValueKind(node.left, templateContext, new Set(), true),
523
606
  );
524
607
  }
525
608
  },
@@ -537,7 +620,7 @@ export default {
537
620
  const handler = handlerExpressionOf(node);
538
621
  reportMutation(
539
622
  handler,
540
- signalTemplateValueKind(handler, templateContext),
623
+ signalTemplateValueKind(handler, templateContext, new Set(), true),
541
624
  );
542
625
  },
543
626
  };
@@ -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;
@@ -4208,5 +4226,5 @@ declare class SdkLogsService {
4208
4226
  static ɵprov: _angular_core.ɵɵInjectableDeclaration<SdkLogsService>;
4209
4227
  }
4210
4228
 
4211
- 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 };
4212
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 };