# Changelog

- All notable changes to this project will be documented in this file.
- This changelog, as well as a demo of some of the components, can be consulted here : https://dsi-vd.github.io/prestations-ng/
- **You can follow how these changes are used in a real project. See: [Skeleton repo](https://portail.etat-de-vaud.ch/outils/git/projects/CYBSDK/repos/skeleton/browse)**

---

## [19.1.3]

### Fixed

- [foehn-input.component.ts](projects/prestations-ng/src/foehn-input/foehn-input.component.ts)
    - When the user empties at once every field of a model given by the page, the model is `null` again, as in v18,
      for the components overriding `onModelChange()` without calling `super.onModelChange()`: in prestations-ng
      `foehn-input-date`, `foehn-input-date-time`, `foehn-input-foreign-locality` and `foehn-input-foreign-street`
      (also in the foreign address of `foehn-input-address`), and in your project e.g. a list whose last item is
      removed. Since 19.0.0, the model kept its previous value, which was then saved.
    - The model of the page is now known (`model_`) once it has a value to display, before `onModelChange()`, which
      can still change it. Nothing to change in your components, except one whose model can hold a value only in a
      part it doesn't display (e.g. an id) and which updates its model without any input of the user: override the
      new protected method `hasValueToDisplay()`, as `foehn-input-address` does for the country of an address only
      Swiss.
    - `foehn-input-date-time`: emptying its only filled field empties the model, it kept its value also in v18.

## [19.1.2]

### Fixed

- [provide-prestations-ng-core.ts](projects/prestations-ng/src/provide-prestations-ng-core.ts)
    - `providePrestationsNgCore()` registers again the HTTP interceptors lost with `FoehnPageModule` in 19.0.0:
      the `foehn-transmit-waiting-modal` is displayed again during a long transmission, the warning before the
      expiration of the session receives its date again, and a new version of the application deployed meanwhile is
      detected again.

## [19.1.1]

### Fixed

- [foehn-input-phone.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-phone.component.ts)
    - fixed help texts to be aligned with ch.vd.cyber.prestationsbe.validation.PhoneNumberValidator (prestations-be)
    - dictionary keys have changed to be more explicit :
        - foehn-input-phone.STANDARD_HELPTEXT_SWISS_FIX_AND_MOBILE
        - foehn-input-phone.STANDARD_HELPTEXT_SWISS_FIX_ONLY
        - foehn-input-phone.STANDARD_HELPTEXT_SWISS_MOBILE_ONLY
        - foehn-input-phone.STANDARD_HELPTEXT_INTERNATIONAL_FIX_AND_MOBILE
        - foehn-input-phone.STANDARD_HELPTEXT_INTERNATIONAL_FIX_ONLY
        - foehn-input-phone.STANDARD_HELPTEXT_INTERNATIONAL_MOBILE_ONLY

## [19.1.0] - should be aligned with prestations-be 19.1.x

### Changed

- `gesdem-confirmation`: the PDF recap download URL now includes the `application_key`
  (from `gesdemService.prefix`) so GesDem can verify the connected user owns the recap
  (required in multi-prestations setups).

### Added

- [lineBreakAsHtml.pipe.ts](projects/prestations-ng/src/pipes/lineBreakAsHtml.pipe.ts)
    - new pipe to convert line breaks to `<br/>` in HTML (to be used with `[innerHTML]`)

## [19.0.9]

### Added

- `foehn-select`, `foehn-radio`, `foehn-checkbox` and `foehn-multiselect-autocomplete`:
  when a value stored in the model is no longer present in the list of elements
  (e.g. a locality removed from the reference data), a warning is now displayed to
  inform the user that the saved value no longer exists, along with the obsolete
  value itself. Works for single and multiple selections. For the autocomplete
  family the warning is skipped when `allowCustomValue` is set or the suggestion
  list is dynamic (`isSuggestionListDynamic`), where an absent value is legitimate.
  The message is customizable via the `foehn-checkable-group.missing-value.warning`
  dictionary key (placeholder `{value}`).

## [19.0.8]

### Changed

- ESLint rule [`no-direct-signal-mutation`](ESLINT_PLUGIN.md#no-direct-signal-mutation) now
  covers much more than the plain assignment it started with. 🚨 Expect new errors on
  `npm update`; each can be turned off from your own `rules` block.
    - **in-place mutators** are reported as well, since they notify nothing either: those of
      `Array` (`splice`, `push`, `pop`, `shift`, `unshift`, `sort`, `reverse`, `fill`,
      `copyWithin`) and of `Map` / `Set` (`set`, `add`, `delete`, `clear`)
    - so are `delete model().users[0]` and `Object.assign(model(), …)`, and
      `items()["push"](x)` counts as `items().push(x)`
    - the value is **followed through the bindings that can be resolved exactly**: a
      variable written once, the element parameter of an iteration callback, a `@for` item
      and a `@let`. `@for (user of model().users)` then `user.done = true` is reported
    - 🚨 **no signal is mutable**, whatever its kind: `signal()`, `model()`,
      `linkedSignal()`, `computed()`, `input()` and `toSignal()` are all reported, each with
      the fix that applies to it. A **view query** is the single exception —
      `viewChild()`, `contentChildren()` and their `.required` variants hand out a DOM
      element or a component instance, which is there to be mutated
    - only the signals the class really declares are inspected, resolved through the whole
      inheritance chain, so a plain method (`this.getConfig().items.push(x)`) is never
      reported
    - a signal inherited from a published package and known by its type only (`Signal<T>`)
      is left alone: a declaration file no longer says whether it was a `computed()` or a
      view query

## [19.0.7]

### Added

- ESLint plugin: **shareable configs**, documented in [ESLINT_PLUGIN.md](ESLINT_PLUGIN.md)
    - add `configs.tsRecommended` and `configs.templateRecommended` to the `extends` of your
      `**/*.ts` and `**/*.html` blocks — see [UPGRADING_V19.md](UPGRADING_V19.md). They carry
      the whole shared setup: the `eslint`, `typescript-eslint` and `angular-eslint`
      baselines, the house conventions, and the rules below. Nothing else is needed: no
      `plugins` declaration, no rule list.
    - `configs.tsRules` and `configs.templateRules` enable only the rules written here, for a
      project that supplies its own style
    - 🚨 do **not** also spread `angular.configs.tsRecommended` or
      `angular.configs.templateRecommended`: they are already included, and declaring the
      same plugin twice makes ESLint fail outright
    - 🚨 **Prerequisite**: `lintFilePatterns` in your `angular.json` must include
      `src/**/*.html`, otherwise the template rules never run
    - 🚨 **A rule added to these configs makes your lint fail on `npm update`.** This is
      intentional. Every addition will be listed here, and a rule can be turned off from your
      own `rules` block.
- ESLint rule [`no-direct-signal-mutation`](ESLINT_PLUGIN.md#no-direct-signal-mutation)
    - reports an assignment into a member of a signal's value
      (`model().property = value`), which mutates the object without notifying the signal.
      Covers TypeScript files and templates, including the mutation hidden in a two-way
      binding (`[(ngModel)]="model().property"`)
- ESLint rule [`no-uninvoked-signal-in-template`](ESLINT_PLUGIN.md#no-uninvoked-signal-in-template)
    - reports a signal referenced in a template without being called (`{{ mySignal }}`,
      `!mySignal`, `mySignal + 'x'`), which the Angular compiler only partially catches.
      Autofixable. No configuration: inherited signals are resolved by walking the `extends`
      chain of the component

## [19.0.2]

### Fixed

- [recaptcha.service.ts](projects/prestations-ng/src/sdk-recaptcha/recaptcha.service.ts)
    - fixed recaptcha called infinitely when backend says that it must be revalidated

## [19.0.0] - should be aligned with prestations-be 19.0.x

### Added

- [UPGRADING_V19](UPGRADING_V19.md)
    - Added migration guide

- [string.helper.ts](projects/prestations-ng/src/helpers/string.helper.ts)
    - Added a helper for string manipulation

- [dictionary-type.ts](projects/prestations-ng/src/sdk-dictionary/dictionary-type.ts)
    - Added dictionary `PlaceholderType` type, `DictionaryType` type and `Language` interface

- [HasCustomErrors](projects/prestations-ng/src/has-custom-errors.ts)
    - Added `HasCustomErrors` interface representing a component that has custom error messages

- [foehn-header.component.html](projects/prestations-ng/src/foehn-header/foehn-header.component.html)
    - Added a few more ids

- [formatAvs.pipe.ts](projects/prestations-ng/src/pipes/formatAvs.pipe.ts)
    - Add a pipe to format an AVS number

### Updated

- [foehn-footer.component.ts](projects/prestations-ng/src/foehn-footer/foehn-footer.component.ts)
    - Updated default guide link URL

- [foehn-input.component.ts](projects/prestations-ng/src/foehn-input/foehn-input.component.ts)
    - `[name]` attribut is required
    - `[model]` attribut is required

### Deleted

- [foehn-list-summary.component.ts](projects/prestations-ng/src/foehn-menu-prestation/foehn-list-summary/foehn-list-summary.component.ts)
    - `[list]` attribut has been removed. Use `[model]` instead.

## [18.3.13]

### Fixed

- [recaptcha.service.ts](projects/prestations-ng/src/sdk-recaptcha/recaptcha.service.ts)
    - fixed recaptcha called infinitely when backend says that it must be revalidated

## [18.3.12]

### Updated

- [foehn-remaining-alerts-summary.component.html](projects/prestations-ng/src/foehn-remaining-alerts-summary/foehn-remaining-alerts-summary.component.html)
    - show debug infos that would be sent to the support form when not in prod

## [18.3.11]

### Updated

- [foehn-error-pill.component.ts](projects/prestations-ng/src/foehn-menu-prestation/foehn-error-pill/foehn-error-pill.component.ts)
    - `errorPrefix` input now accepts both `string` and `RegExp` for more flexible error matching
    - supports regex patterns like `maListe\\[\\d+\\]\\.objetB` to match dynamic array indices
    - backward compatible: string values continue to work with `startsWith()` matching

### Fixed

- [gesdem-action-recovery-registration.component.ts](projects/prestations-ng/src/gesdem-action-recovery/gesdem-action-recovery-registration/gesdem-action-recovery-registration.component.ts)
    - fix labels (action recovery is not limited in time when action is > 1)

## [18.3.10]

### Fixed

- [IamExpiredInterceptorService](projects/prestations-ng/src/sdk-redirect/iam-expired-interceptor.service.ts)
- [gesdem-error-handler.service.ts](projects/prestations-ng/src/gesdem/gesdem-error-handler.service.ts)
    - fix action recovery not showing OTP for since v18.3.5

## [18.3.9]

### Fixed

- [foehn-header.component.ts](projects/prestations-ng/src/foehn-header/foehn-header.component.ts)
    - Do not display preferences in the menu if they are not ready

## [18.3.8]

### Fixed

- [upload.helper.ts](projects/prestations-ng/src/foehn-upload/uploader.helper.ts)
    - do not encode some characters in filename to be displayed to the user

## [18.3.7]

### Fixed

- [support-alert.service.ts](projects/prestations-ng/src/sdk-support-alert/support-alert.service.ts)
    - fixed `canBypassAlerts` (removed extra trailing slash)

## [18.3.6]

### Updated

- [foehn-multiselect-autocomplete.component.html](projects/prestations-ng/src/foehn-multiselect-autocomplete/foehn-multiselect-autocomplete.component.html)
    - now uses `innerHTML` to display items selected label

### Fixed

- [application-info.service.ts](projects/prestations-ng/src/sdk-appinfo/application-info.service.ts)
    - fixed `getSafeSupportFormUrl(...)` to encode form errors for formsupportcyber.

## [18.3.5]

### Fixed

- [redirect.component.ts](projects/prestations-ng/src/sdk-redirect/redirect.component.ts)
    - do not display native browser alert message when being redirected to login

## [18.3.4]

### Fixed

- [IamExpiredInterceptorService](projects/prestations-ng/src/sdk-redirect/iam-expired-interceptor.service.ts)
    - fix disconnected modal not appearing after migration to keycloak

## [18.3.2]

### Added

- [IAM_ACV_MIGRATION_OIDC.md](IAM_ACV_MIGRATION_OIDC.md)
    - Migration guide to protect IAM applications wiht OIDC instead of IAM headers (deprecated)

- [oidc-not-authenticated-interceptor.ts](projects/prestations-ng/src/oidc/oidc-not-authenticated-interceptor.ts)
    - HTTP interceptor that redirect to login when using ng serve if the current application is behind IAM with OIDC

- [oidc-injection-token.ts](projects/prestations-ng/src/oidc/oidc-injection-token.ts)
    - Enables the OidcNotAuthenticatedInterceptor

- [foehn-global-upload-progress-bar.component.ts](projects/prestations-ng/src/foehn-upload/foehn-upload-progress-bar/foehn-global-upload-progress-bar.component.ts)
    - Added a global progress bar displaying upload progress of pending files

- [global-upload-progress.service.ts](projects/prestations-ng/src/foehn-upload/foehn-upload-progress-bar/global-upload-progress.service.ts)
    - Added a global upload progress service to manage global progress bar

- [foehn-page.component.ts](projects/prestations-ng/src/foehn-page/foehn-page.component.ts)
    - added a global progress bar to manage pending files upload

### Fixed

- [foehn-multiselect-autocomplete](projects/prestations-ng/src/foehn-multiselect-autocomplete/foehn-multiselect-autocomplete.component.ts)
    - When component input `isSuggestionListDynamic` is set to `true`, no filter on suggestions is added because elements list is being retrieved dynamically while user inputs in search field.

## [18.3.1]

### Added

- [foehn-breadcrumb.component.ts](projects/prestations-ng/src/foehn-breadcrumb/breadcrumb.ts)
    - added optional property `urlTarget?: '_blank' | '_self' | '_parent' | '_top';`

### Updated

- [foehn-breadcrumb.component.ts](projects/prestations-ng/src/foehn-breadcrumb/foehn-breadcrumb.component.ts)
    - uses optional `urlTarget` property for external links

## [18.3.0] - should be aligned with prestations-be 18.3.x

### Added

- [gesdem-action-recovery-login.component.ts](projects/prestations-ng/src/gesdem-action-recovery/gesdem-action-recovery-login/gesdem-action-recovery-login.component.ts)
    - Display a countdown to get a new OTP during action recovery (to handle backend rate limiter)

- [pending-upload.service.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/pending-upload.service.ts)
    - Added `registerUploadExecutor` and `unregisterUploadExecutor` to register/unregister uploaders for pending uploads

### Fixed

- [multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.ts)
    - Now register/unregister themselves to pending upload service so progress bar can be shown when navigating to next page

## [18.2.4]

### Fixed

- [ApplicationInfo](projects/prestations-ng/src/sdk-appinfo/application-info.ts)
    - fixed `getPortailBaseUrl` by adding a slash (`/`) at the end of url when missing in properties

### Updated

- [foehn-form.component.ts](projects/prestations-ng/src/foehn-form/foehn-form.component.ts)
    - updated `focusFirst` method with optional parameter `scrollIntoView` (default is `true`)

- [foehn-input.component.ts](projects/prestations-ng/src/foehn-input/foehn-input.component.ts)
    - updated `focus` method with optional parameter `scrollIntoView` (default is `true`)

## [18.2.1]

### Fixed

- [foehn-modal-content-draggable.directive.ts](projects/prestations-ng/src/foehn-modal/foehn-modal-content-draggable.directive.ts)
    - Fixed `handleDrag` being called on `@HostListener('window:resize')` even if `isModalDraggable` is `false`
    - Fixed drag start zone to be on modal header instead of content

- [abstract-page-component.ts](projects/prestations-ng/src/abstract-page-component.ts)
    - Fixed errors being displayed ((`this._validationHandlerService.shouldDisplayErrors(true);`)) before getting new errors from backend

- [foehn-form.component.ts](projects/prestations-ng/src/foehn-form/foehn-form.component.ts)
    - Fixed components (i.e. checkbox list) not being marked as pristine when resetting the form

### Added

- [scroll.helper.ts](projects/prestations-ng/src/helpers/scroll.helper.ts)
    - `scrollIntoViewWithExpirationTimerOffset(elementContainer: Element): void` scrolls to element and takes into account expiration timer banner when visible

### Updated

- [foehn-input.component.ts](projects/prestations-ng/src/foehn-input/foehn-input.component.ts)
    - `focus()` now uses `scrollIntoViewWithExpirationTimerOffset` and takes into account expiration timer banner visibility when scrolling into view

- [foehn-form.component.ts](projects/prestations-ng/src/foehn-form/foehn-form.component.ts)
    - `focusFirstInError()`, `focusFirst()` and `focusErrorSummary` now uses `scrollIntoViewWithExpirationTimerOffset` and takes into account expiration timer banner visibility when scrolling into view

- [abstract-list-item-detail-page.component](projects/prestations-ng/src/foehn-menu-prestation/abstract-list-item-detail-page.component.ts)
- [abstract-menu-page.component](projects/prestations-ng/src/foehn-menu-prestation/abstract-menu-page.component.ts)
    - now uses `scrollIntoViewWithExpirationTimerOffset` and takes into account expiration timer banner visibility when scrolling into view

## [18.2.0] - should be aligned with prestations-be 18.2.x

### Added

- [app-info-headers-interceptor.ts](projects/prestations-ng/src/foehn-page/foehn-app-version-mismatch/app-info-headers-interceptor.ts)
    - read new header `app-version` and trigger new `foehnPageService.onAppVersionMismatch()` when application has been updated

- [foehn-app-version-mis-match-modal.component.ts](projects/prestations-ng/src/foehn-page/foehn-app-version-mismatch/foehn-app-version-mis-match-modal.component.ts)
    - warn the user that the app has been updated and that the application will be reloaded
    - added in `<foehn-page>`, can be deactivated with `[showAppVersionMismatchAlert]="false"`

### Updated

- [default-dictionary.ts](projects/prestations-ng/src/sdk-dictionary/default-dictionary.ts)
    - added new keys for `foehn-app-version-mis-match-modal` :
        - `foehn-app-version-mismatch-modal.title` : Mise à jour détectée
        - `foehn-app-version-mismatch-modal.content` : Cette application à été mise à jour. Avant de continuer votre saisie, merci de recharger la page.
        - `foehn-app-version-mismatch-modal.btn.save-and-reload` : Sauver et recharger
        - `foehn-app-version-mismatch-modal.btn.reload` : Recharger

- [foehn-page.component.ts](projects/prestations-ng/src/foehn-page/foehn-page.component.ts)
    - updated `@Input() showBeforeUnloadNativeConfirmAlert = true;`: Now comes from CatPrest etape configuration (default is still `true`) but can still be overridden by `input`

### Fixed

- [i18n-form.ts](projects/prestations-ng/src/i18n-form.ts)
    - initialize referenceInterne with nothing instead of ''

## [18.1.1]

### Fixed

- [sdk-epayment.component.ts](projects/prestations-ng/src/sdk-epayment/sdk-epayment.component.ts)
    - do not show native alert message when navigating to payment web page

## [18.1.0]

### Added

- [foehn-input-string](projects/prestations-ng/src/foehn-input/foehn-input-string.component.ts)
    - Added `@Input() sanitizeOnBlur = true;` Set to `false` to not sanitize
    - sanitizes input string on blur event to avoid having invisible characters
    - all `foehn-input-*` components extending `foehn-input-string` component will be cleaned

- [foehn-page.component.ts](projects/prestations-ng/src/foehn-page/foehn-page.component.ts)
    - Added `@Input() showBeforeUnloadNativeConfirmAlert = true;` to display or hide native browser alert message when closing the tab, closing the browser or reloading the page while having unsaved data or a gesdem reference.

- [foehn-modal.component.ts](projects/prestations-ng/src/foehn-modal/foehn-modal.component.ts)
- [foehn-help-modal.component.ts](projects/prestations-ng/src/foehn-help-modal/foehn-help-modal.component.ts)
    - Added `@Input() draggable = false` to be able to drag the modal
    - Added `@Input() hideable = true` to be able to hide the modal when dragging outside of the webpage

- [foehn-confirm-modal-content.ts](projects/prestations-ng/src/foehn-confirm-modal/foehn-confirm-modal-content.ts)
    - Added `draggable?: boolean` to be able to drag the modal
    - Added `hideable?: boolean` to be able to hide the modal when dragging outside of the webpage

- [sdk-logs.service.ts](projects/prestations-ng/src/sdk-logs/sdk-logs.service.ts)
- [sdk-log-level.enum.ts](projects/prestations-ng/src/sdk-logs/sdk-log-level.enum.ts)
    - Added a service to log messages to the backend

## [18.0.5]

### Updated

- [foehn-input-email.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-email.component.ts)
    - Do not override `helpModal` and `standardHelpText` if already set as input

## [18.0.4]

### Added

- [default-dictionary.ts](projects/prestations-ng/src/sdk-dictionary/default-dictionary.ts)
    - added key `foehn-input-email.standard-connected-help-text`

### Updated

- [.browserslistrc](src/.browserslistrc)
    - added step by step for upgrading browsers list
    - updated browserslist supported browsers

## [18.0.3]

### Added

- [default-dictionary.ts](projects/prestations-ng/src/sdk-dictionary/default-dictionary.ts)
    - added key `foehn-uploader.unknown-error-message` (default value: `Impossible de transmettre le fichier`)

### Updated

- [uploader.helper.ts](projects/prestations-ng/src/foehn-upload/uploader.helper.ts)
    - `getDefaultUnknownErrorMessage` now uses new dictionary key `foehn-uploader.unknown-error-message`

- [gesdem-confirmation.component.ts](projects/prestations-ng/src/gesdem-confirmation/gesdem-confirmation.component.ts)
    - allow to override connected success label for first step
        - via `@Input() successLabelDicoKeyFirstStep`
        - via route data : `successLabelDicoKeyFirstStep`
        - default value for label is `gesdem-confirmation.success-label` from dictionary
    - allow to override connected success label for additional steps
        - via `@Input() successLabelDicoAdditionalSteps`
        - via route data : `successLabelDicoAdditionalSteps`
        - default value for label is `gesdem-confirmation.next-step.success-label` from dictionary

### Fixed

- [foehn-select.component.ts](projects/prestations-ng/src/foehn-checkables/foehn-select.component.ts)
- [foehn-radio.component.ts](projects/prestations-ng/src/foehn-checkables/foehn-radio.component.ts)
- [foehn-checkbox.component.ts](projects/prestations-ng/src/foehn-checkables/foehn-checkbox.component.ts)
- [foehn-input-date.component.ts](projects/prestations-ng/src/foehn-input-date/foehn-input-date.component.ts)
    - fixed `disabled`: now checks if all elements are disabled

- [foehn-form.component.ts](projects/prestations-ng/src/foehn-form/foehn-form.component.ts)
    - fixed `focusFirst()`: now checks if focusable element is not `disabled` or `hidden`
    - fixed `focusFirst()`: now only takes lowest level components (no parents having subComponents)

## [18.0.2]

### Fixed

- [gesdem-handler.service.ts](projects/prestations-ng/src/gesdem/gesdem-handler.service.ts)
    - Fixed success message when user is connected and demande is not draft. (do not display expiration notice).

## [18.0.1]

### Fixed

- [FoehnInputStringComponent](projects/prestations-ng/src/foehn-input/foehn-input-string.component.ts)
    - fixed trimOnBlur()

## [18.0.0]

### Added

- [UPGRADING_V18](UPGRADING_V18.md)
    - Added migration guide

- [foehn-list.component.html](projects/prestations-ng/src/foehn-list/foehn-list.component.html)
- [foehn-table.component.html](projects/prestations-ng/src/foehn-table/foehn-table.component.html)
    - Added ids on navigation and its buttons

### Deleted

- [foehn-table.component.ts](projects/prestations-ng/src/foehn-table/foehn-table.component.ts)
    - `[list]` attribut has been removed. Use `[model]` instead.

## [17.10.11]

### Fixed

- [FoehnInputStringComponent](projects/prestations-ng/src/foehn-input/foehn-input-string.component.ts)
    - fixed trimOnBlur()

## [17.10.10]

### Fixed

- [redirect.component.ts](projects/prestations-ng/src/sdk-redirect/redirect.component.ts)
    - fixed interval destruction
    - now use `window.location.reload()` instead of `window.location.href = ''`

## [17.10.9]

### Fixed

- [foehn-autocomplete.component.ts](projects/prestations-ng/src/foehn-autocomplete/foehn-autocomplete.component.ts)
    - Added a `setTimeout` to avoid having a value displayed on screen when NULL is set

## [17.10.8]

### Fixed

- [uploader.helper.ts](projects/prestations-ng/src/foehn-upload/uploader.helper.ts)
    - Display correctly a filename containing "/" in an error message

## [17.10.7]

### Fixed

- [foehn-input-address.component.ts](projects/prestations-ng/src/foehn-address/foehn-input-address.component.ts)
- [breadcrumb-event.service.ts](projects/prestations-ng/src/foehn-breadcrumb/breadcrumb-event.service.ts)
    - add/fix translations

## [17.10.6]

### Fixed

- [UPGRADING_V17](UPGRADING_V17.md)
- [address-page.component.html](src/app/address-page/address-page.component.html)
    - fixed upgrading to v17 guide and synchronized back-end annotation `@ValidAddress` to reflect new property `isOnlySwiss`

## [17.10.5]

### Fixed

- [gesdem-error.component.html](projects/prestations-ng/src/gesdem-error/gesdem-error.component.html)
    - add/fix translations

## [17.10.4]

### Fixed

- [foehn-user-connected-as.component.ts](projects/prestations-ng/src/foehn-user-connected-as/foehn-user-connected-as.component.ts)
- [gesdem-confirmation.component.ts](projects/prestations-ng/src/gesdem-confirmation/gesdem-confirmation.component.ts)
    - add/fix translations

## [17.10.3]

### Fixed

- [foehn-input-email.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-email.component.ts)
- [foehn-input-phone.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-phone.component.ts)
- [gesdem-action-recovery-registration.component.ts](projects/prestations-ng/src/gesdem-action-recovery/gesdem-action-recovery-registration/gesdem-action-recovery-registration.component.ts)
    - add/fix translations

## [17.10.2]

### Fixed

- [upload.helper.ts](projects/prestations-ng/src/foehn-upload/uploader.helper.ts)
    - do not encode accents in filename to be displayed to the user

## [17.10.1]

### Added

- [session-info-data.ts](projects/prestations-ng/src/sdk-session-info/session-info-data.ts)
    - Added `nogaCode` to `SessionInfoData` class

## [17.10.0] - should be aligned with prestations-be 17.10.0

### Fixed

- [foehn-input.component.ts](projects/prestations-ng/src/foehn-input/foehn-input.component.ts)
    - Fixed `isPristine()` trying to filter on `undefined` inputModelList.

### Updated

- [support-alert.service.ts](projects/prestations-ng/src/sdk-support-alert/support-alert.service.ts)
    - Possibility to bypass blocking alerts for testing purpose. See [Alerts documentation](/alerts) for more informations.

## [17.9.1]

### Added

- [foehn-table.component.ts](projects/prestations-ng/src/foehn-table/foehn-table.component.ts)
    - added `@Input() tableClass = '';` to allow adding a custom class to the inner `<table>` used in `<foehn-table>`
        - e.g. `<foehn-table [tableClass]='table-striped'>`

### Fixed

- [foehn-input-address.component.ts](projects/prestations-ng/src/foehn-address/foehn-input-address.component.ts)
    - fixed foreign address creating an empty `Locality` for error purpose. Not needed anymore when using prestations-be 17.9.1

- [sdk-statistics.service.ts](projects/prestations-ng/src/sdk-statistics/sdk-statistics.service.ts)
    - fix UI freezing when heatmap is enabled in Matomo

## [17.9.0] - should be aligned with prestations-be 17.9.0

## [17.8.2]

### Fixed

- [foehn-autocomplete.component.ts](projects/prestations-ng/src/foehn-autocomplete/foehn-autocomplete.component.ts)
    - Added a `setTimeout` when selecting value to display to fix component having a model but not displaying it on screen

### Updated

- [foehn-table.component.ts](projects/prestations-ng/src/foehn-table/foehn-table.component.ts)
    - Now extends `FoehnInputComponent` so when using templates with components extending `FoehnInputComponent`, they can be registered properly into form for validation
    - `[list]` attribut has been deprecated. Use `[model]` instead.
    - Templates containing any component extending `FoehnInputComponent` must be placed inside `<foehn-table>[HERE]</foehn-table>` for registration

## [17.8.1]

### Fixed

- [UPGRADING_V17](UPGRADING_V17.md)
    - Fixed `upgrade styles for CSP (since 17.7.0)` section because order of styles in `angular.json` array will determine final import order.
    - `src/styles.css` must always be in last position in array because your project CSS styles may need to override other CSS

## [17.8.0] - should be aligned with prestations-be 17.8.0

### Updated

- [gesdem-action-recovery-login.component.ts](projects/prestations-ng/src/gesdem-action-recovery/gesdem-action-recovery-login/gesdem-action-recovery-login.component.ts)
    - request captcha validation on action recovery login

### Fixed

- [foehn-input-number](projects/prestations-ng/src/foehn-input/foehn-input-number.component.ts)
    - fixed bug where entering a non-numeric value would print out `undefined` in input field

## [17.7.0] - should be aligned with prestations-be 17.7.0

⚠️⚠️⚠️ ACTION REQUIRED ⚠️⚠️⚠️

This is a security update that removes 'unsafe-inline' from the CSP ("style-src") in prestations-be.

**`⚠️ Order of styles in array will determine the final import order. Your "project src/styles.css" must always be placed at 
the end of the array as it may need to override other CSS. If you need to import "node_modules/bootstrap/dist/css/bootstrap.min.css",
 it should be first in array because "prestations-ng" styles need to override those from Bootstrap. ⚠️`**

You have to update your `styles.css` :

```diff
- @import '~@dsivd/foehn/dist/assets/styles/main.css';
```

and your `angular.json` (/projects/{nom-du-projet}/architect/build/options/styles):

```diff
            "styles": [
+             "node_modules/@dsivd/prestations-ng/assets/styles.css"
              "src/styles.css",
            ],
```

### Added

- [gesdem-confirmation.component.ts](projects/prestations-ng/src/gesdem-confirmation/gesdem-confirmation.component.ts)
    - allow to override [foehn-feedback-notification.component.ts](projects/prestations-ng/src/foehn-feedback-notification/foehn-feedback-notification.component.ts) visibility
        - via `@Input() hideFeedbackNotificationOverride`
        - via route data : `hideFeedbackNotificationOverride`
        - default value is `false`

### Fixed

- [foehn-feedback-notification.component.ts](projects/prestations-ng/src/foehn-feedback-notification/foehn-feedback-notification.component.ts)
    - Feedback notification links now depend on `applicationInfo.configuration.portail.baseUrl`
    - Can be overridden in BE properties by setting key `application-info.portail.baseUrl`

## [17.6.8]

### Fixed

- [object.helper.ts](projects/prestations-ng/src/helpers/object.helper.ts)
    - fixed function `hasAnyValue` and `isEmpty` when testing a NULL object

### Added

- [foehn-list-item.ts](projects/prestations-ng/src/foehn-menu-prestation/foehn-list-summary/foehn-list-item.ts)
    - added two optional properties `disableEdition` and `disableDeletion` to hide buttons for a specific row when needed

## [17.6.7]

### Fixed

- [FoehnInputStringComponent](projects/prestations-ng/src/foehn-input/foehn-input-string.component.ts)
    - fixed bug where a number coming from the backend would be trimmed resulting in a console error

## [17.6.6]

### Added

- [foehn-dropdown-menu.component.html](projects/prestations-ng/src/foehn-dropdown-menu/foehn-dropdown-menu.component.html)
    - added `[queryParams]` to `foehn-dropdown-menu` to be able to pass query parameters to the router link

## [17.6.5]

### Updated

- [foehn-breadcrumb.component.ts](projects/prestations-ng/src/foehn-breadcrumb/foehn-breadcrumb.component.ts)
    - open breadcrumb link of type `url` to a new tab (`target="_blank"`)

## [17.6.4]

### Updated

- [abstract-page-component.ts](projects/prestations-ng/src/abstract-page-component.ts)
    - update signature of send method (`send(goToNextPage: boolean = true)` => `send(goToNextPage: boolean = true, displaySuccessMessage: boolean = true)`)
    - You can now save without displaying the success message to connected users

## [17.6.3]

### Fixed

- [gesdem-handler.service.ts](projects/prestations-ng/src/gesdem/gesdem-handler.service.ts)
    - do not display successfull message when demande has not been actually saved (no reference in response -> meta.reference)

## [17.6.2]

### Fixed

- [foehn-input-number](projects/prestations-ng/src/foehn-input/foehn-input-number.component.ts)
    - fixed bug where an empty value was not converted to `null`

## [17.6.1] - should be aligned with prestations-be 17.6.1, if you want to use the new `readonly` field of `DocumentReference`)

### Added

- [document-reference.ts](projects/prestations-ng/src/foehn-upload/document-reference.ts)
    - added `readonly` property as optional

### Updated

- [bo-multi-upload.service.ts](projects/prestations-ng/src/foehn-upload/foehn-bo-multi-upload/bo-multi-upload.service.ts)
- [multi-upload.service.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/multi-upload.service.ts)
    - cannot delete a file which is readonly

- [bo-multi-upload.component.html](projects/prestations-ng/src/foehn-upload/foehn-bo-multi-upload/bo-multi-upload.component.html)
- [multi-upload.component.html](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/multi-upload.component.html)
    - do not show delete button on readonly files

- [bo-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-bo-multi-upload/bo-multi-upload.component.ts)
- [multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.ts)
    - do not take into account readonly files when:
        - `get addedFiles`
        - `isMaxFilesCountReached`
        - `isMaxFilesSizeReached`
        - `getTotalFilesSize`
        - `canAddMoreFiles`
        - `manageSingleFile`

- [page-upload-limit.service.ts](projects/prestations-ng/src/foehn-upload/page-upload-limit.service.ts)
    - do not take into account readonly files when:
        - `canUploadMoreFiles`
        - `willTotalCountExceedLimit`
        - `willTotalSizeExceedLimit`

## [17.6.0] - must be aligned with prestations-be (17.6.0+)

### Updated

- [package.json](package.json)
    - Updated `@dsivd/foehn` to `=2.0.4` (fix radio and checkbox visibility)

### Added

- [municipality.ts](projects/prestations-ng/src/refinf/model/municipality.ts)
    - Added field `districtId`, to be used to store the districtof a Municipality (historyIds are not stable over time)

## [17.5.4]

### Fixed

- [foehn-input-address.component.ts](projects/prestations-ng/src/foehn-address/foehn-input-address.component.ts)
    - fixed country autocomplete not being able to clear it's model with default country to Switzerland

- [foehn-input-foreign-street.component.html](projects/prestations-ng/src/foehn-address/foehn-input-foreign-street.component.html)
    - fixed error not being shown properly due to new error `AtLeastOneNotNull` being triggered on parent `street` and not on `street.longName`

## [17.5.3]

### Fixed

- [foehn-input.component.ts](projects/prestations-ng/src/foehn-input/foehn-input.component.ts)
    - sort errors by message to maintain a coherent order when the same errors are displayed in multiple components on the same page

### Added

- [object.helper.ts](projects/prestations-ng/src/helpers/object.helper.ts)
    - added new function `stripHtml`

## [17.5.2]

### Fixed

- [foehn-picture-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-picture-upload/foehn-picture-upload.component.ts)
    - set content-type on created picture (checked by prestations-be)

## [17.5.0 / 17.5.1] - must be aligned with prestations-be (17.5.0+)

### Fixed

- Payment management : If a payment is already ongoing (pending), the user will be redirected to the 'recap' page and will be forced to finish the payment, or explicitly cancel it.
    - [foehn-navigation.component.html](projects/prestations-ng/src/foehn-navigation/foehn-navigation/foehn-navigation.component.html)
        - added <sdk-pending-payment>
    - [foehn-navigation.service.ts](projects/prestations-ng/src/foehn-navigation/foehn-navigation.service.ts)
        - added `isForcedOnRecapForPendingPayment` to check if we are on recap for pending payment
        - added `recap()` to redirect to recap page for pending payment
    - [sdk-pending-payment.component.html](projects/prestations-ng/src/sdk-pending-payment/sdk-pending-payment.component.html)
        - added a modal to inform the user that a payment is ongoing

## [17.4.0] - must be aligned with prestations-be (17.4.0+)

### Added

- [gesdem-error.component.html](projects/prestations-ng/src/gesdem-error/gesdem-error.component.html)
    - handle `DemandeNotFoundException` by showing error from dictionary with key `gesdem-error.text.demande-not-found`, default is `La demande {reference} a été supprimée`

## [17.3.0] - must be aligned with prestations-be (17.3.0+)

### Added

- [gesdem-error.component.html](projects/prestations-ng/src/gesdem-error/gesdem-error.component.html)
    - handle `WrongEtapeException` by showing error from dictionary with key `gesdem-error.text.wrong-etape-requested`, default is `La demande {reference} ne peut plus être modifiée via ce formulaire`

## [17.2.4]

### Fixed

- [foehn-multiselect-autocomplete.component.html](projects/prestations-ng/src/foehn-multiselect-autocomplete/foehn-multiselect-autocomplete.component.html)
    - added missing inputs to `foehn-autocomplete`: `isLabelSrOnly` and `isSuggestionListDynamic`

- [foehn-input-address.component.ts](projects/prestations-ng/src/foehn-address/foehn-input-address.component.ts)
    - locality identity (equals) is now checked on `zipCodeId` instead of `postalLocalityHistoryId` (not a stable id)

## [17.2.3]

### Added

- [foehn-table.component.ts](projects/prestations-ng/src/foehn-table/foehn-table.component.ts)
    - Build filtered list in the list input setter

- [gesdem-action-recovery-login.component.ts](projects/prestations-ng/src/gesdem-action-recovery/gesdem-action-recovery-login/gesdem-action-recovery-login.component.ts)
    - Fix redirection after expired session

## [17.2.1]

### Fixed

- [foehn-input.component.ts](projects/prestations-ng/src/foehn-input/foehn-input.component.ts)
    - `markAsPristine()` now marks as pristine the subcomponents instead of marking them as dirty

## [17.2.0] - must be aligned with prestations-be (17.2.0+)

### Updated

- [demande-expiration-interceptor.ts](projects/prestations-ng/src/foehn-page/foehn-page-expiration-timer/demande-expiration-interceptor.ts)
    - adapt to work with IAM Cyber as well as with Session Token

- [foehn-confirm-modal-content.ts](projects/prestations-ng/src/foehn-confirm-modal/foehn-confirm-modal-content.ts)
    - added two boolean attributes to hide one of the button (`showOkButton` / `showCancelButton`), both defaults to `true`

- [gesdem-action-recovery-login.component.ts](projects/prestations-ng/src/gesdem-action-recovery/gesdem-action-recovery-login/gesdem-action-recovery-login.component.ts)
    - when action recovery is disabled but session has expired, we used to show a growl that only lasted 3 seconds, in this version it has been replaced by a modal, forcing the user to acknowledge the message

### Fixed

- [foehn-decision-electronique.component.html](projects/prestations-ng/src/foehn-decision-electronique/foehn-decision-electronique.component.html)
    - Radio buttons style now matches `foehn-boolean-radio` component

## [17.1.3]

### Added

- [session-info-data.ts](projects/prestations-ng/src/sdk-session-info/session-info-data.ts)
    - Added `ofs` to `SessionInfoData` class

## [17.1.2]

### Updated

- [UPGRADING_V17](UPGRADING_V17.md)

## [17.1.1]

## [17.1.0] - must be aligned with prestations-be (17.1.0+)

### Added

- [breadcrumb.ts](projects/prestations-ng/src/foehn-breadcrumb/breadcrumb.ts)
    - Added `routerLinkQueryParams` to `BreadcrumbItem` class
- [foehn-breadcrumb.component.ts](projects/prestations-ng/src/foehn-breadcrumb/foehn-breadcrumb.component.ts)
    - Added `SdkEventType.BREADCRUMB_CLICK` to `SdkEventsLoggerService` with details as `[URL|LINK]LABEL`
- [sdk-event-type.ts](projects/prestations-ng/src/sdk-events-logger/sdk-event-type.ts)
    - added `BREADCRUMB_CLICK` : user has clicked on a breadcrumb item

### Updated

- [foehn-feedback-notification.component.ts](projects/prestations-ng/src/foehn-feedback-notification/foehn-feedback-notification.component.ts)
    - Notification feedback answer is now encrypted in url when redirecting to feedback prestation

## [17.0.0] - must be aligned with prestations-be (17.0.0+)

### Added

- [UPGRADING_V17](UPGRADING_V17.md)
    - Added migration guide

- [gesdem-handler.service.ts](projects/prestations-ng/src/gesdem/gesdem-handler.service.ts)
    - set `?updateOnly=false` to `api/validated` when saving from first page

- [foehn-table.component.ts](projects/prestations-ng/src/foehn-table/foehn-table.component.ts)
    - added `@Input() title: string;` to set a title (caption) to the table
    - added `@Input() titleSrOnly: boolean;` when set to `true`, only screen readers will see the table title

- [foehn-feedback-notification.component.ts](projects/prestations-ng/src/foehn-feedback-notification/foehn-feedback-notification.component.ts)
    - Component used to redirect to users feedback prestation by sending first feedback answer
    - By default, it is added to [gesdem-confirmation.component.ts](projects/prestations-ng/src/gesdem-confirmation/gesdem-confirmation.component.ts)
    - Can be activated through `Catalogue de prestations`

- [gesdem-action-recovery-registration.component.ts](projects/prestations-ng/src/gesdem-action-recovery/gesdem-action-recovery-registration/gesdem-action-recovery-registration.component.ts)
    - by default the form errors are not displayed when registering for recovery
    - you can change that by setting the new `@Input() dispatchFormErrors:boolean` to `true`

## [16.6.3]

### Added

- [foehn-table.component.ts](projects/prestations-ng/src/foehn-table/foehn-table.component.ts)
    - added `@Output() rowClick = new EventEmitter<RowElement>()`
    - added `RowElement` type containing:
        - `indexInArray` which is the index of the row clicked in the list
        - `element` which is the `HTMLTableRowElement` clicked

## [16.6.2]

### Fixed

- [foehn-input-address.component.ts](projects/prestations-ng/src/foehn-address/foehn-input-address.component.ts)
    - fixed bug where default country was not set when component was not on first page

- [foehn-page-counter.component.ts](projects/prestations-ng/src/foehn-page/foehn-page-counter.component.ts)
    - Changed wording in default dictionary. Now displays `Page X sur Y`.

## [16.6.1]

### Fixed

- [IamExpiredInterceptorService](projects/prestations-ng/src/sdk-redirect/iam-expired-interceptor.service.ts)
    - set default value to `isIamSessionExpired`

## [16.6.0] - must be aligned with prestations-be

### Fixed

- [gesdem-error-handler.service.ts](projects/prestations-ng/src/gesdem/gesdem-error-handler.service.ts)
    - do not redirect to error page if iamExpiredInterceptorService has caught that IAM session is expired

### Added

- [foehn-footer.component.ts](projects/prestations-ng/src/foehn-footer/foehn-footer.component.ts)
    - display the app version in the green bar at the bottom of the page

## [16.5.6]

### Fixed

- [iam-expired-interceptor.service.ts](projects/prestations-ng/src/sdk-redirect/iam-expired-interceptor.service.ts)
    - handle `BENEFICIARY_REQUIRED` exception globally

## [16.5.5]

### Added

- [foehn-input-address.component.ts](projects/prestations-ng/src/foehn-address/foehn-input-address.component.ts)
    - added `@Input() withDefaultCountry = true;`, can be set to `false` to prevent the component of setting a default country.

## [16.5.4]

### Added

- [foehn-input-time.component.html](projects/prestations-ng/src/foehn-input-time/foehn-input-time.component.html)
    - added `allowLeadingZero` to true to allowed leading 0 in hours and minutes

- [ApplicationInfo](projects/prestations-ng/src/sdk-appinfo/application-info.ts)
    - added `baseVdChUrl?: string` to `ApplicationInfo.Configuration.Portail`
    - with default value by environnement
    - use in `BreadcrumbEventService` and `GesdemConfirmationComponent`

### Fixed

- [redirect.component.ts](projects/prestations-ng/src/sdk-redirect/redirect.component.ts)
    - fixed redirect url when IAM ACV session is expired

## [16.5.3]

### Added

- [foehn-error-pill-component.html](projects/prestations-ng/src/foehn-menu-prestation/foehn-error-pill/foehn-error-pill.component.html)
    - added dictionary keys `foehn-error-pill.incomplete` and `foehn-error-pill.complete` for pills. Defaults are already added in prestations-ng.

## [16.5.1] - must be aligned with prestations-be (16.5.1+)

### Added

- [gesdem-handler.service.ts](projects/prestations-ng/src/gesdem/gesdem-handler.service.ts)
    - added `validate(form: any): Observable<any>` method to validate form without saving to GesDem
    - must be used when needing to refresh errors coming from BE (ex: removing an item in a list with errors)

- [foehn-menu-item.component.ts](projects/prestations-ng/src/foehn-menu-prestation/foehn-menu-items/foehn-menu-item/foehn-menu-item.component.ts)
    - added `@Input() queryParamsHandling: QueryParamsHandling = ''` to configure the router link

### Updated

- [bo-multi-upload.service.ts](projects/prestations-ng/src/foehn-upload/foehn-bo-multi-upload/bo-multi-upload.service.ts)
    - now opens redirect modal to cyberLogin when adding or deleting a document fails due to required authentification

### Fixed

- [foehn-multiselect-autocomplete.component.ts](projects/prestations-ng/src/foehn-multiselect-autocomplete/foehn-multiselect-autocomplete.component.ts)
    - fixed bug where multi-select would remain hidden after clearing the model (when all elements were selected)

## [16.5.0] - must be aligned with prestations-be (16.5.0+)

### Updated

- [upload.helper.ts](projects/prestations-ng/src/foehn-upload/uploader.helper.ts)
    - added `const PERMANENT_ILLEGAL_CHARACTERS = [',']`
    - characters lists that are forbidden everytime since gesdem cannot handle it.

### Fixed

- [foehn-input-address.component.ts](projects/prestations-ng/src/foehn-address/foehn-input-address.component.ts)
    - Fixed component being disabled when `isOnlySwiss` is `true` and model is `null` (beside component initialization)

## [16.4.12]

### Fixed

- [foehn-autocomplete.component.html](projects/prestations-ng/src/foehn-autocomplete/foehn-autocomplete.component.html)
    - now displays item label on multiple lines when text is too long (vertical scroll bar will be shown as a side effect).

### Updated

- [gesdem-error-handler.service.ts](projects/prestations-ng/src/gesdem/gesdem-error-handler.service.ts)
    - now opens redirect modal to cyberLogin when authentification is required **(only with prestations-be 16.4.10)**

- [multi-upload.service.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/multi-upload.service.ts)
    - now opens redirect modal to cyberLogin when adding or deleting a document fails due to required authentification **(only with prestations-be 16.4.10)**

## [16.4.10] / [16.4.11]

### Added

- [sdk-events-logger.service.ts](projects/prestations-ng/src/sdk-events-logger/sdk-events-logger.service.ts)
    - a service that logs different events done by the user
    - you can listen to these events by subscribing to `SdkEventsLoggerService.events(): Observable<SdkEvent>`
        - i.e. you may want to report some of these events to matomo
    - you can publish additional events by calling `SdkEventsLoggerService.addEvent(type: SdkEventType | string, detail?: string): void`
    - Some events are already triggered by the framework :
        - PDF_RECAP_DOWNLOAD : user has clicked on the button to download the PDF in GesdemConfirmationComponent
        - RECOVERY_MODAL_OPENED : user has clicked on the button to open the recovery registration modal
        - RECOVERY_REGISTERED : user has registered for action recovery
        - RECOVERY_LOGIN_STARTED : user is starting action recovery
        - RECOVERY_LOGIN_SUCCESS : user has successfully recovered it's action
        - RECOVERY_LOGIN_FAILED : user login for action recovery has failed
        - NAVIGATION_FORWARD : user has clicked on navigation 'next'
        - NAVIGATION_BACKWARD : user has clicked on navigation 'forward'
        - TRANSMIT : user has requested the form to be transmitted

- [gesdem-handler.service.ts](projects/prestations-ng/src/gesdem/gesdem-handler.service.ts)
    - added `byPassEmitResponse?: boolean` optional parameter to `require` function.
    - When set to `true`, does not call `emitResponse`.
    - It is used by `gesdem-loader` guard to avoid infinite loop when loading a page (other than `confirmation`) with a reference which has been transmitted.

- [object.helper.ts](projects/prestations-ng/src/helpers/object.helper.ts)
    - added new parameter `skipFunctionType` (default: true) to `isEqual(...)` static function to skip comparing function as properties in object. When set to true, will compare fonctions as string.
    - added `static isDifferent(value1: unknown, value2: unknown, skipFunctionType: boolean = true): boolean`
-
- [demande.helper.ts](projects/prestations-ng/src/helpers/demande.helper.ts)
    - added `static getSafeReference(reference: string): string` (returns the reference if the format is valid otherwise returns null)

- [interval.helper.ts](projects/prestations-ng/src/foehn-page/foehn-page-expiration-timer/interval.helper.ts)
    - added `static accurateInterval(callBack: Function, interval: number, errorCallBack?: Function)` which avoids time drifting.
    - `callBack: Function` is the function called every `intervalInMilliseconds`
    - `intervalInMilliseconds: number` iteration frequency in milliseconds
    - `errorCallBack: function` (optional) is the function called when time drifting is too important (browser tab sleeping for example)

### Fixed

- [gesdem-loader.guard](projects/prestations-ng/src/gesdem/gesdem-loader.guard.ts)
    - now bypassing last response emit when calling `require` on Gesdem

- [demande-transmit-interceptor.ts](projects/prestations-ng/src/foehn-page/foehn-transmit-waiting-modal/demande-transmit-interceptor.ts)
    - hide `foehn-transmit-waiting-modal` on any http error

- [foehn-debug-summary.component.ts](projects/prestations-ng/src/foehn-debug-summary/foehn-debug-summary.component.ts)
    - do not display reference if not in the correct format

- [foehn-input-address.component.ts](projects/prestations-ng/src/foehn-address/foehn-input-address.component.ts)
    - when `isOnlySwiss` is `true` and address is empty (all attributes excepted `country` are empty), component returns `null`.

- [foehn-input-prefixed-text.component.html](projects/prestations-ng/src/foehn-input/foehn-input-prefixed-text.component.html)
- [foehn-input-date.component.html](projects/prestations-ng/src/foehn-input-date/foehn-input-date.component.html)
- [foehn-input-date-time.component.html](projects/prestations-ng/src/foehn-input-date-time/foehn-input-date-time.component.html)
- [foehn-input-time.component.html](projects/prestations-ng/src/foehn-input-time/foehn-input-time.component.html)
- [foehn-input-nav13.component.html](projects/prestations-ng/src/foehn-nav13/foehn-input-nav13.component.html)
    - fixed margin bottom so vertical red error bar does not merge with following component in error

- [foehn-bo-multi-upload.component.html](projects/prestations-ng/src/foehn-upload/foehn-bo-multi-upload/foehn-bo-multi-upload.component.html)
- [foehn-multi-upload.component.html](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.html)
    - use `disabled` attribute in template

- [foehn-page.component.ts](projects/prestations-ng/src/foehn-page/foehn-page.component.ts)
- [foehn-page-expiration-timer.component.ts](projects/prestations-ng/src/foehn-page/foehn-page-expiration-timer/foehn-page-expiration-timer.component.ts)
- [demande-expiration.service.ts](projects/prestations-ng/src/foehn-page/foehn-page-expiration-timer/demande-expiration.service.ts)
    - fixed session expiration timer for more accuracy by using new `accurateInterval`

### Updated

- [foehn-remaining-alerts-summary.component.html](projects/prestations-ng/src/foehn-remaining-alerts-summary/foehn-remaining-alerts-summary.component.html)
    - updated error message

- [foehn-list-summary.component.ts](projects/prestations-ng/src/foehn-menu-prestation/foehn-list-summary/foehn-list-summary.component.ts)
    - `@Input() list` and `@Input() listItemDescriptions` now check if data has changed before updating the DOM

- [foehn-remaining-alerts-summary.component.html](projects/prestations-ng/src/foehn-recap-section/foehn-recap-section.component.html)
    - columns size now adapt to content

## [16.4.9]

### Added

- [recaptcha.service.ts](projects/prestations-ng/src/sdk-recaptcha/recaptcha.service.ts)
    - added `CAPTCHA_URL_TOKEN = new InjectionToken<string>` to be able to configure the captcha script url

- [foehn-transmit-waiting-modal.component.ts](projects/prestations-ng/src/foehn-page/foehn-transmit-waiting-modal/foehn-transmit-waiting-modal.component.ts)
- [foehn-transmit-waiting-modal.component.html](projects/prestations-ng/src/foehn-page/foehn-transmit-waiting-modal/foehn-transmit-waiting-modal.component.html)
    - added a modal to transmit action so users know something is actually being processed

- New dictionary keys:
    - `foehn-transmit-waiting-modal.title` is the modal displayed title
    - `foehn-transmit-waiting-modal.message` is the main modal message
    - `foehn-transmit-waiting-modal.help` is a help message displayed underneath undetermined progressbar

- [foehn-menu-item-transmit.component.ts](projects/prestations-ng/src/foehn-menu-prestation/foehn-menu-items/foehn-menu-item-transmit/foehn-menu-item-transmit.component.ts)
- [foehn-remaining-alerts-summary.component.ts](projects/prestations-ng/src/foehn-remaining-alerts-summary/foehn-remaining-alerts-summary.component.ts)
    - added `@Input() remainingErrorNamesToIgnore: string[] = []` to be able to ignore errors that could be on the verification page, like a last checkbox to check

## [16.4.8]

### Added

- [foehn-input.component.ts](projects/prestations-ng/src/foehn-input/foehn-input.component.ts)
    - added `@Input() standardHelpText` to set the standard help text of the input mail

### Fixed

- [foehn-autocomplete.component.ts](projects/prestations-ng/src/foehn-autocomplete/foehn-autocomplete.component.ts)
    - now escaping regex characters in search value

- [foehn-radio.component.html](projects/prestations-ng/src/foehn-checkables/foehn-radio.component.html)
- [foehn-boolean-radio.component.html](projects/prestations-ng/src/foehn-boolean/foehn-boolean-radio.component.html)
    - fixed `[attr.name]` and `[name]` for native keyboard navigation

- [foehn-list-summary.component.ts](projects/prestations-ng/src/foehn-menu-prestation/foehn-list-summary/foehn-list-summary.component.ts)
- [foehn-table.component.ts](projects/prestations-ng/src/foehn-table/foehn-table.component.ts)
    - fixed tracking functions

- [foehn-input-email.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-email.component.ts)
    - fixed 'helpText' to 'standardHelpText'

- [default-dictionary.ts](projects/prestations-ng/src/sdk-dictionary/default-dictionary.ts)
    - fixed keys: `foehn-input-email.help-text` to `foehn-input-email.standard-text`

## [16.4.7]

### Added

- New [form control testing](https://dsi-vd.github.io/prestations-ng/form-control) page

- [foehn-input-email.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-email.component.ts)
    - added a default helpText for email input

- New dictionary keys:
    - `foehn-input-email.help-text` is the message displayed in the helptext of the email input

### Fixed

- [foehn-input.component.ts](projects/prestations-ng/src/foehn-input/foehn-input.component.ts)
    - fixed `markAsDirty()` not been called when clearing input

- [foehn-input-date.component.ts](projects/prestations-ng/src/foehn-input-date/foehn-input-date.component.ts)
- [foehn-input-date-time.component.ts](projects/prestations-ng/src/foehn-input-date-time/foehn-input-date-time.component.ts)
- [foehn-input-time.component.ts](projects/prestations-ng/src/foehn-input-time/foehn-input-time.component.ts)
    - fixed `markAsDirty()` not been called when clearing all inputs

- [foehn-bo-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-bo-multi-upload/foehn-bo-multi-upload.component.ts)
- [foehn-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.ts)
- [foehn-multiselect-autocomplete.component.ts](projects/prestations-ng/src/foehn-multiselect-autocomplete/foehn-multiselect-autocomplete.component.ts)
    - fixed `markAsDirty()` not been called when deleting an item

### Updated

- [foehn-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.ts)
- [foehn-bo-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-bo-multi-upload/foehn-bo-multi-upload.component.ts)
    - `@Input() maxSimultaneousSelectedFiles` has now `null` as default value (feature is disabled)

## [16.4.6]

### Added

- [page-upload-limit.service.ts](projects/prestations-ng/src/foehn-upload/page-upload-limit.service.ts)
    - new service that controls a global upload limit for every `foehn-multi-upload` or `foehn-bo-multi-upload` existing at the same time (on a same page)
        - limits can be set using `setPageMaxFilesCount(countLimit: number)` (default : null) and/or `setPageMaxFilesSizeInMo(maxSizeInMo: number)` (default : null)

- [foehn-input-address.component.html](projects/prestations-ng/src/foehn-address/foehn-input-address.component.html)
    - exposed `hideNotRequiredExtraLabelStreetNumber` (default to `true`) to make street number label 'required' suffix hidden or not.

## [16.4.5]

### Added

- [foehn-input.component.ts](projects/prestations-ng/src/foehn-input/foehn-input.component.ts)
    - added `@Input() updateModelWhenDisabled = false;`. When set to `true` allows double-binding even when input is disabled

### Fixed

- [foehn-input-textarea.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-textarea.component.ts)
    - input displayed value not being updated properly when input `model` is set dynamically to `NULL`

- [gesdem-action-recovery-login.component.ts](projects/prestations-ng/src/gesdem-action-recovery/gesdem-action-recovery-login)
    - fixed redirection on action recovery login success on a multi-prestation

## [16.4.4]

### Fixed

- [foehn-input-address.component.html](projects/prestations-ng/src/foehn-address/foehn-input-address.component.html)
    - always set hideNotRequiredExtraLabel to true

- [foehn-input.component.ts](projects/prestations-ng/src/foehn-input/foehn-input.component.ts)
    - fixed focus for component containing foehnInput subcomponents

- [foehn-input-prefixed-text.component.html](projects/prestations-ng/src/foehn-input/foehn-input-prefixed-text.component.html)
- [foehn-input-date-time.component.html](projects/prestations-ng/src/foehn-input-date-time/foehn-input-date-time.component.html)
- [foehn-input-date.component.html](projects/prestations-ng/src/foehn-input-date/foehn-input-date.component.html)
- [foehn-input-time.component.html](projects/prestations-ng/src/foehn-input-time/foehn-input-time.component.html)
- [foehn-input-nav13.component.html](projects/prestations-ng/src/foehn-nav13/foehn-input-nav13.component.html)
    - fixed margin bottom being to big due to component having subcomponents

- [foehn-input-date-time.component.ts](projects/prestations-ng/src/foehn-input-date-time/foehn-input-date-time.component.ts)
    - fixed model not being updated properly when clearing model
    - fixed clearing model not taking into account disabled fields

- [foehn-input-date-time.component.html](projects/prestations-ng/src/foehn-input-date-time/foehn-input-date-time.component.html)
    - fixed clear button visibility not taking into account disabled fields

- [abstract-page-component.ts](projects/prestations-ng/src/abstract-page-component.ts)
    - set default language in form when creating the form (calling newForm())

- [foehn-input-prefixed-text.component.html](projects/prestations-ng/src/foehn-input/foehn-input-prefixed-text.component.html)
    - fixed a bug where a custom prefix would crash the component if the custom prefix contains the default prefix

### Added

- [foehn-input-date-time.component.html](projects/prestations-ng/src/foehn-input-date-time/foehn-input-date-time.component.html)
- [foehn-input-time.component.html](projects/prestations-ng/src/foehn-input-time/foehn-input-time.component.html)
    - Added clear button to empty fields

## [16.4.3]

### Fixed

- [sdk-epayment.component.html](projects/prestations-ng/src/sdk-epayment/sdk-epayment.component.html)
- [sdk-epayment.component.ts](projects/prestations-ng/src/sdk-epayment/sdk-epayment.component.ts)
    - added a modal triggered before redirecting to postfinance to prevent users from creating multiple transactions

## [16.4.2]

### Fixed

- [gesdem-action-recovery-registration.component.ts](projects/prestations-ng/src/gesdem-action-recovery/gesdem-action-recovery-registration/gesdem-action-recovery-registration.component.ts)
    - fixed navigation loop when getting default recovery values

## [16.4.1]

### Fixed

- [demande-expiration-interceptor.ts](projects/prestations-ng/src/foehn-page/foehn-page-expiration-timer/demande-expiration-interceptor.ts)
    - fixed bug when intercepting request without a response body

## [16.4.0] - must be aligned with prestations-be

### Added

- [foehn-page-expiration-timer.component.ts](projects/prestations-ng/src/foehn-page/foehn-page-expiration-timer/foehn-page-expiration-timer.component.ts)
- [foehn-page-expiration-timer.component.html](projects/prestations-ng/src/foehn-page/foehn-page-expiration-timer/foehn-page-expiration-timer.component.html)
    - added a timer message to alert user of session expiration
    - `session-token.session-time-to-live-in-minutes` can be overridden in back-end properties
    - `session-token.message-delay-in-minutes` can be overridden in back-end properties

- New dictionary keys:
    - `foehn-page-expiration-timer.count-down-message` is the message displayed when timer is running
    - `foehn-page-expiration-timer.count-down-message.sr-only` same as above but for screen reader
    - `foehn-page-expiration-timer.expired-message` is the message displayed when session has expired
    - `foehn-page-expiration-timer.expired-message.sr-only` same as above but for screen reader

- [foehn-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.ts)
- [foehn-bo-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-bo-multi-upload/foehn-bo-multi-upload.component.ts)
    - added `@Input() maxFilesCount;`
    - prevents global upload of more than `maxFilesCount` files and displays an alert from default-dictionary.ts (`foehn-uploader.max-files-count-reached`)

- [foehn-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.ts)
- [foehn-bo-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-bo-multi-upload/foehn-bo-multi-upload.component.ts)
    - added `@Input() maxFilesSizeInMo;`
    - prevents global upload of more than `maxFilesSizeInMo` Mo and displays an alert from default-dictionary.ts (`foehn-uploader.max-files-size-reached`)

- [gesdem-handler.service.ts](projects/prestations-ng/src/gesdem/gesdem-handler.service.ts)
    - added a second optional parameter to `save(form: any, displaySuccessMessage: boolean = true): Observable<any>`
    - `displaySuccessMessage` by default is true. When set to false, the form success saving message is not displayed

### Updated

- [foehn-page.component.html](projects/prestations-ng/src/foehn-page/foehn-page-expiration-timer/foehn-page-expiration-timer.component.html)
    - updated `foehn-page` to add session expiration timer message

- [gesdem-action-recovery-registration.component.ts](projects/prestations-ng/src/gesdem-action-recovery/gesdem-action-recovery-registration/gesdem-action-recovery-registration.component.ts)
    - updated recovery registration modal to inform the user of its current registration
    - added `@Input() triggerOnPageChange = false`

- [foehn-simple-navigation.component.ts](projects/prestations-ng/src/foehn-navigation/foehn-navigation/foehn-navigation.component.ts)
- [foehn-simple-navigation.component.ts](projects/prestations-ng/src/foehn-navigation/foehn-simple-navigation/foehn-simple-navigation.component.ts)
    - added `@Input() triggerRecoveryOnPageChange = false` to set `triggerOnPageChange` to its `<gesdem-action-recovery-registration>'

- [ApplicationInfo](projects/prestations-ng/src/sdk-appinfo/application-info.ts)
    - added fields to `ApplicationInfo.EtapeInfo` :
    - `lienAcces : string` link to the FO's base url as defined in Catprest
    - `Integer draftDemRetentionDaysPublic : number` conservation duration of draft demands when not connected (in days)
    - `Integer draftDemRetentionDaysConnected : number` conservation duration of draft demands when connected (in days)

- [I18NForm](projects/prestations-ng/src/i18n-form.ts)
    - added field `referenceInterne = ''`, since the reference interne can now be set via action recovery, it has to be kept in sync with the form
        - you can use this field to request the user for a reference interne.

- [pending-upload.service.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/pending-upload.service.ts)
    - Does not display the form success saving message after saving pending files

### Fixed

- [pattern.const](projects/prestations-ng/src/foehn-input/pattern.const.ts)
    - fixed `HTML_PHONE_PATTERN` not escaping parenthesis

## [16.3.0] - must be aligned with prestations-be

### Added

- [foehn-icon-pencil.component.ts](projects/prestations-ng/src/foehn-icons/foehn-icon-pencil.component.ts)
    - New icon `foehn-icon-pencil` available

- [drafts-container.component.ts](projects/prestations-ng/src/sdk-drafts/drafts-container.component.ts)
    - A new component integrated in the `foehn-page` that show existing draft demands for a connected user
    - disabled for now, can be enabled by setting `[draftsEnabled]="true"` to the foehn-page

- [foehn-input-number](projects/prestations-ng/src/foehn-input/foehn-input-number.component.ts)
    - add `@Input() allowLeadingZero = false` to specify if we allow leading `0` such as NAVS13 numbers

- add prestations-be documentation

- [foehn-input-date.component.ts](projects/prestations-ng/src/foehn-input-date/foehn-input-date.component.ts)
    - added global clear button

### Updated

- [breadcrumb-event.service.ts](projects/prestations-ng/src/foehn-breadcrumb/breadcrumb-event.service.ts)
- remove level "Accéder aux prestations" when user is connected

- [foehn-input-number](projects/prestations-ng/src/foehn-input/foehn-input-number.component.ts)
    - removes leading `0` when `allowFreeInput` is set to `false` such as `01` or `-01`

- [gesdem-handler.service.ts](projects/prestations-ng/src/gesdem/gesdem-handler.service.ts)
    - updates save confirmation message when user is connected

- [gesdem-action-recovery-login.component.ts](projects/prestations-ng/src/gesdem-action-recovery/gesdem-action-recovery-login)
    - displays a confirmation message after loading a recovered demand

### Fixed

- [foehn-input-string](projects/prestations-ng/src/foehn-input/foehn-input-string.component.ts)
    - replaces one or multiple consecutive tabulations with one white space on blur
    - all `foehn-input-*` components extending `foehn-input-string` component will be fixed (i.e. text, textarea, email, phone...)

- [foehn-input-address](projects/prestations-ng/src/foehn-address/foehn-input-address.component.ts)
    - now listens to changes on `model` and `isOnlySwiss` to set default country to switzerland

## [16.2.0] - must be aligned with prestations-be

### Added

- [foehn-recap-section](projects/prestations-ng/src/foehn-recap-section/foehn-recap-section.type.ts)
    - add `titleLevel?: 'h2' | 'h3' | 'h4' | 'h5' | 'h6'` to specify the title level

- [default-dictionary.ts](projects/prestations-ng/src/sdk-dictionary/default-dictionary.ts)
    - added keys:
        - `espace-securise.menu.item.accueil.label`
        - `espace-securise.menu.item.accueil.title`
        - `espace-securise.menu.item.preferences.label`
        - `espace-securise.menu.item.preferences.title`
        - `espace-securise.menu.item.gestion-compte.label`
        - `espace-securise.menu.item.gestion-compte.title`
        - `espace-securise.menu.item.operations-liees-espace-pro.label`
        - `espace-securise.menu.item.operations-liees-espace-pro.title`
        - `espace-securise.menu.item.administrer-espace-pro.label`
        - `espace-securise.menu.item.administrer-espace-pro.title`
        - `espace-securise.menu.item.deconnection.label`
        - `espace-securise.menu.item.deconnection.title`

### Changed

- [foehn-recap-section](projects/prestations-ng/src/foehn-recap-section/foehn-recap-section.component.html)
    - manages specified title level

- [foehn-header](projects/prestations-ng/src/foehn-header/foehn-header.component.ts)
    - changed drop down menu items

## [16.1.1]

### Added

- [foehn-multiselect-autocomplete](projects/prestations-ng/src/foehn-multiselect-autocomplete/foehn-multiselect-autocomplete.component.ts)
    - add `@Input() isSuggestionListDynamic = false` to specifies if suggestion elements list is being retrieved dynamically while user inputs in search field.
    - add `@Output() userSearchInput = new EventEmitter<string>()` fired when user changes search input value

### Removed

- [foehn-page.component.ts](projects/prestations-ng/src/foehn-page/foehn-page.component.ts)
    - removed `showSecuredAreaLoginButton` (now driven by catprest `deployeCyber` attribute)
    - removed info alert that engaged the user to connect with it's MIE

- [default-dictionary.ts](projects/prestations-ng/src/sdk-dictionary/default-dictionary.ts)
    - removed keys:
        - `use-login.text.decision-electronique-available`
        - `use-login.text`
        - `use-login.button.text`
        - `use-login.continue-without-login.button.text`

## [16.1.0] - must be aligned with prestations-be

### Added

- [Locality](projects/prestations-ng/src/foehn-address/address.type.ts)
    - added field `municipalityId: number`
    - added field `cantonCode: string`

- [foehn-menu-item-transmit.component.ts](projects/prestations-ng/src/foehn-menu-prestation/foehn-menu-items/foehn-menu-item-transmit/foehn-menu-item-transmit.component.ts)
    - added `@Ouput() clickedWithRemainingErrors = new EventEmitter<number>();` to be able to react to a click on the button when the form still has errors

- [default-dictionary.ts](projects/prestations-ng/src/sdk-dictionary/default-dictionary.ts)
    - added keys:
        - `foehn-uploader.files-saved-success-message` (default message: `{successfulDocumentsCount} fichier(s) sauvegardé(s) avec succès`)
        - `foehn-uploader.transmission-error-message` (default message: `Une erreur est survenue lors de la transmission de vos documents`)
        - `foehn-uploader.files-deleted-success-message` (default message: `Suppression du fichier {filename} réussie`)
        - `foehn-uploader.delete-error-message` (default message: `Une erreur est survenue lors de la suppression de votre document`)
        - `foehn-upload-progress-bar.group.upload` (default message: `Lot {packageIndex}/{nbPackages}: Enregistrement en cours...`)
        - `foehn-upload-progress-bar.group.analysis` (default message: `Lot {packageIndex}/{nbPackages}: Analyse en cours... Merci de patienter.`)
        - `foehn-upload-progress-bar.group.info` (default message: `Le téléchargement se fait en plusieurs lots en fonction du nombre de fichiers chargés`)

### Fixed

- [uploader.helper.ts](projects/prestations-ng/src/foehn-upload/uploader.helper.ts)
    - handle `applicationInfo.configuration.document.fileMaxSizeInBytesByFormKey` correctly if the key is a regex

### Updated

- [multi-upload.service.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/multi-upload.service.ts)
- [bo-multi-upload.service.ts](projects/prestations-ng/src/foehn-upload/foehn-bo-multi-upload/bo-multi-upload.service.ts)
    - multiple document uploads are now done by packages of 3 files maximum

- [upload-progress.service.ts](projects/prestations-ng/src/foehn-upload/foehn-upload-progress-bar/upload-progress.service.ts)
    - Function `manageUploadEventFilter` has two more parameters `packageIndex: number` (default: 0) and `nbPackages: number` (default: 1)

- [foehn-upload-progress-bar.component.html](projects/prestations-ng/src/foehn-upload/foehn-upload-progress-bar/foehn-upload-progress-bar.component.html)
    - Upload and analysis messages have been updated to take into account packages upload

- [gesdem-action-recovery-registration.component.ts](projects/prestations-ng/src/gesdem-action-recovery/gesdem-action-recovery-registration/gesdem-action-recovery-registration.component.ts)
    - reload form from the backend after a successfull registration
    - added default labels in [default-dictionary.ts](projects/prestations-ng/src/sdk-dictionary/default-dictionary.ts)

## [16.0.7]

### Added

- [foehn-input-time.ts](projects/prestations-ng/src/foehn-input-time/foehn-input-time.component.ts)
- [foehn-input-date-time.ts](projects/prestations-ng/src/foehn-input-date-time/foehn-input-date-time.component.ts)
- [foehn-input-date.component.ts](projects/prestations-ng/src/foehn-input-date/foehn-input-date.component.ts)
    - added `@Input() childrenLabelSrOnly = false;` to set sr-only labels to children components

### Fixed

- [foehn-header.component.html](projects/prestations-ng/src/foehn-header/foehn-header.component.html)
    - do not display fontawesome user icon for screen readers

## [16.0.6]

### Fixed

- [multi-upload.service.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/multi-upload.service.ts)
    - close progress modal when upload request failed

## [16.0.5]

### Added

- [foehn-page.component.html](projects/prestations-ng/src/foehn-page/foehn-page.component.html)
- [foehn-page.component.ts](projects/prestations-ng/src/foehn-page/foehn-page.component.ts)
    - added `@Input() routerLinkAppTitle: string` to give to `foehn-header-component`.

- [foehn-header.component.html](projects/prestations-ng/src/foehn-header/foehn-header.component.html)
- [foehn-header.component.ts](projects/prestations-ng/src/foehn-header/foehn-header.component.ts)
    - added `@Input() routerLinkAppTitle: string` to display a clickable `title` to redirect user to the
      given `routerLink`. By default this is undefined and the title will be displayed as usual in a `span`

## [16.0.4]

### Added

- [foehn-page.component.html](projects/prestations-ng/src/foehn-page/foehn-page.component.html)
- [foehn-page.component.ts](projects/prestations-ng/src/foehn-page/foehn-page.component.ts)
    - added `@Input() showSecuredAreaLoginButton = false;` to display secured area login button in header

- [foehn-header.component.html](projects/prestations-ng/src/foehn-header/foehn-header.component.html)
- [foehn-header.component.ts](projects/prestations-ng/src/foehn-header/foehn-header.component.ts)
    - added `@Input() showSecuredAreaLoginButton = false;` to display secured area login button

### Fixed

- [default-dictionary.ts](projects/prestations-ng/src/sdk-dictionary/default-dictionary.ts)
    - added missing keys:
        - `foehn-page.browser-not-supported`
        - `foehn-page.browser-download-invitation`
        - `foehn-page.continue-with-same-browser`
        - `foehn-page.browser-download-list.ou`
        - `foehn-page.external-link.srOnly`,
        - `foehn-header.logo.title`,
        - `foehn-header.cyber-secured-area.identity.srOnly`,
        - `foehn-header.cyber-secured-area.title`,
        - `foehn-header.cyber-secured-area.connected-user`,
        - `foehn-header.cyber-secured-area.connection.srOnly`,
        - `foehn-header.cyber-secured-area.connection.button.title`,
        - `foehn-header.iam-secured-area.identity.srOnly`,
        - `foehn-header.iam-secured-area.connected-user`,
        - `foehn-header.iam-secured-area.logout`,
        - `foehn-skip-link.title`,
        - `foehn-skip-link.content`

## [16.0.3]

### Fixed

- [foehn-input-address.components.ts](projects/prestations-ng/src/foehn-address/foehn-input-address.component.ts)
    - clean fields that are not displayed when model is updated programmaticaly (i.e. by session info)
        - addressLine1
        - addressLine2
        - postOfficeBoxText
        - postOfficeBoxNumber

## [16.0.2]

### Fixed

- [foehn-list-summary.component.ts](projects/prestations-ng/src/foehn-menu-prestation/foehn-list-summary/foehn-list-summary.component.ts)
    - fixed bug where `<foehn-table>` was not refreshed on item removal when `showAsTable = true`

## [16.0.1]

### Updated

- [foehn-list-summary.component.ts](projects/prestations-ng/src/foehn-menu-prestation/foehn-list-summary/foehn-list-summary.component.ts)
    - added `@Input() showAsTable = false;` to display elements in a `<foehn-table>`

## [16.0.0]

### Added

- [UPGRADING_V16](UPGRADING_V16.md)
    - Added migration guide
- [FoehnRecapSectionElement](projects/prestations-ng/src/foehn-recap-section/foehn-recap-section.component.ts)
    - added field `isComment: boolean`, used to display comments without a label below the other elements of the section

- [foehn-simple-navigation.component.html](projects/prestations-ng/src/foehn-navigation/foehn-simple-navigation/foehn-simple-navigation.component.html)
    - added simple navigation bar, used in list detail pages because the foehn-navigation does not properly fit in this type of pages

- [foehn-form.component.html](projects/prestations-ng/src/foehn-form/foehn-form.component.html)
    - added accessibility on form (`aria-live="polite"` and `aria-atomic="false"`)

- [foehn-dropdown-menu](projects/prestations-ng/src/foehn-dropdown-menu/foehn-dropdown-menu.component.ts)
    - added a dropdown menu or group menu component

- New [dropdown menu documentation](https://dsi-vd.github.io/prestations-ng/dropdown-menu) page

- [foehn-dropdown-menu](projects/prestations-ng/src/foehn-dropdown-menu/foehn-dropdown-menu.component.ts)
    - `@Input() id: string` used to identify dropdown-menu
    - `@Input() model: DropdownMenuGroup[]` used to display dropdown-menu
    - `@Input() btnCssClass = 'btn-secondary'` used to define the CSS class of the dropdown menu button, by default is a secondary button

- [DropdownMenuGroup](projects/prestations-ng/src/foehn-dropdown-menu/dropdown-menu-group.type.ts)
- [DropdownMenuItem](projects/prestations-ng/src/foehn-dropdown-menu/dropdown-menu-item.type.ts)
    - Classes used to define dropdown-menu model

### Updated

- [foehn-multiselect-autocomplete](projects/prestations-ng/src/foehn-multiselect-autocomplete/foehn-multiselect-autocomplete.component.ts)
    - added a `<legend>` to describe the selected items
        - defaults to `foehn-multiselect-autocomplete.selected-items-list-legend` from `default-dictionary.ts`
        - can be overridden on each component with `@Input() selectedItemsListLegend`
    - selected pills now have the color `primary` instead of `danger`

- [gesdem-confirmation.component.ts](projects/prestations-ng/src/gesdem-confirmation/gesdem-confirmation.component.ts)
    - allow to override button "Se déconnecter" (label + link) (when user is connected)
        - via `@Input() closeButtonConnectedText` + `@Input() closeHrefConnected`
        - via route data : `closeButtonConnectedText` + `closeHrefConnected`
        - default value for label is `gesdem-confirmation.exit-button-connected` from dictionary
        - default value for link is `/100018/logout`

- [demo-accessibility-page.component.html](src/app/demo-accessibility-page/demo-accessibility-page.component.html)
    - updated accessibility page to include dropdown menu

- [foehn-header.component.html](projects/prestations-ng/src/foehn-header/foehn-header.component.html)
- [foehn-header.component.ts](projects/prestations-ng/src/foehn-header/foehn-header.component.ts)
    - updated header to include new dropdown menu

- [gesdem-handler.service.ts](projects/prestations-ng/src/gesdem/gesdem-handler.service.ts)
    - do not display a success message when downloading the PDF

### Removed

- [foehn-checkable-group.component.ts](projects/prestations-ng/src/foehn-checkables/foehn-checkable-group.component.ts)
    - removed `@Input() allElementDisabled = false`. Now managed by setting `@Input() disabled` to `true` on component.
- [abstract-foehn-uploader.component.ts](projects/prestations-ng/src/foehn-upload/abstract-foehn-uploader.component.ts)
- [foehn-bo-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-bo-multi-upload/foehn-bo-multi-upload.component.ts)
- [foehn-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.ts)
    - removed `@Input() overrideMaxSizeInMo`. Now managed by the backend (see `DocumentProperties.fileMaxSizeByFormKey`)

- [foehn-table-column-configuration.ts](projects/prestations-ng/src/foehn-table/foehn-table-column-configuration.ts)
    - removed `routerLinkGetter` attribute

- [gesdem-loader.guard](projects/prestations-ng/src/gesdem/gesdem-loader.guard.ts)
    - removed `GesdemLoaderGuard` service extending `CanActivate` and replaced it by `CanActivateFn` function

## [15.5.15]

### Fixed

- [foehn-input-date-time.ts](projects/prestations-ng/src/foehn-input-date-time/foehn-input-date-time.component.ts)
    - fixed time input (hours and seconds) not accepting 0 as number value

### Added

- [date-helper.ts](projects/prestations-ng/src/sdk-date/date.helper.ts)
    - added `leftPad` function taken from `FoehnDateTimeComponent` and `FoehnTimeComponent` and fixed not adding 0 on empty string

### Updated

- [foehn-input-time.ts](projects/prestations-ng/src/foehn-input-time/foehn-input-time.component.ts)
- [foehn-input-date-time.ts](projects/prestations-ng/src/foehn-input-date-time/foehn-input-date-time.component.ts)
    - now uses `leftPad` function from `DateHelper`

## [15.5.14]

### Fixed

- [foehn-input-time.ts](projects/prestations-ng/src/foehn-input-time/foehn-input-time.component.ts)
    - fixed model not being updated properly

- [foehn-input-prefixed-text.ts](projects/prestations-ng/src/foehn-input/foehn-input-prefixed-text.component.ts)
    - fixed model not being updated properly when prefix changes

## [15.5.13]

**Version has been deprecated**

## [15.5.12]

### Added

- [foehn-input-prefixed-text.ts](projects/prestations-ng/src/foehn-input/foehn-input-prefixed-text.component.ts)
    - new text input to request a text with a read-only prefix
    - `@Input prefix: string` : the read-only prefix
    - `@Input() prefixColClass = 'col-md-4'` : the class applied to the foehn-input-text of the prefix part
    - `@Input() textColClass = 'col-md-8'` : the class applied to the foehn-input-text of the user text part

- [gesdem-confirmation.component.ts](projects/prestations-ng/src/gesdem-confirmation/gesdem-confirmation.component.ts)
    - go to top of the page when component initializes (same as [abstract-page-component.ts](projects/prestations-ng/src/abstract-page-component.ts)).

### Fixed

- [multi-upload.service.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/multi-upload.service.ts)
- [bo-multi-upload.service.ts](projects/prestations-ng/src/foehn-upload/foehn-bo-multi-upload/bo-multi-upload.service.ts)
    - timestamp used in document `key` for multiple uploads is now generated when calling `mapToDocumentReference` (not when service is created).

## [15.5.10]

### Added

- [foehn-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.ts)
- [foehn-bo-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-bo-multi-upload/foehn-bo-multi-upload.component.ts)
    - added `@Input() maxSimultaneousSelectedFiles = 50;`
    - prevents the upload of more than `maxSimultaneousSelectedFiles` files at once and display an alert from default-dictionary.ts (`foehn-uploader.max-upload-selection-reached`)

## [15.5.9]

### Updated

- [foehn-recap-section.component.html](projects/prestations-ng/src/foehn-recap-section/foehn-recap-section.component.html)
    - removed class `font-weight-light` for `dt` elements. By default, `dt` it is bold.

## [15.5.8]

### Fixed

- [recaptcha.service.ts](projects/prestations-ng/src/sdk-recaptcha/recaptcha.service.ts)
    - when user was connected on page load and the back-end returns a captcha error => redirect to cyberlogin with return url to self

## [15.5.7]

### Fixed

- [recaptcha.service.ts](projects/prestations-ng/src/sdk-recaptcha/recaptcha.service.ts)
    - Always display the captcha if it has an error (even if connected)

## [15.5.6]

### Fixed

- [multi-upload.service.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/multi-upload.service.ts)
    - get reference from lastresponse when needed

## [15.5.5]

### Updated

- [foehn-select.component.ts](projects/prestations-ng/src/foehn-checkables/foehn-select.component.ts)
    - an empty option is displayed if `[required]="true"` as long as no choice has been made
        - fixes bug https://github.com/angular/angular/issues/14505

## [15.5.4]

### Updated

- [foehn-select.component.ts](projects/prestations-ng/src/foehn-checkables/foehn-select.component.ts)
    - option `-` is displayed even if `[required]="true"` (but disabled in this case)

## [15.5.3]

### Added

- [foehn-bo-multi-upload.component.html](projects/prestations-ng/src/foehn-upload/foehn-bo-multi-upload/foehn-bo-multi-upload.component.html)
    - Added `<foehn-upload-progress-bar></foehn-upload-progress-bar>`

- [foehn-status-progress-bar.component.ts](projects/prestations-ng/src/foehn-status-progress-bar/foehn-status-progress-bar.component.ts)
    - In your application routing module, you can force page to be in step 2 (Verification)

```diff
data: {
   order: 3,
+    isStep2: true
}
```

### Fixed

- [foehn-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.ts)
    - Now provides `MultiUploadService` and `UploadProgressService` to avoid using a singleton

- [foehn-bo-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-bo-multi-upload/foehn-bo-multi-upload.component.ts)
    - Now provides `BoMultiUploadService` and `UploadProgressService` to avoid using a singleton

- [foehn-input-date-time.component.ts](projects/prestations-ng/src/foehn-input-date-time/foehn-input-date-time.component.ts)
- [foehn-input-date-time.component.html](projects/prestations-ng/src/foehn-input-date-time/foehn-input-date-time.component.html)
    - Fixed date picker not selecting nor updating model after first selection

## [15.5.2]

### Updated

- [foehn-page.component.html](projects/prestations-ng/src/foehn-page/foehn-page.component.html)
    - update message on first page if user is not connected + reversal the buttons

## [15.5.1]

### Fixed

- [foehn-input-nav13.component.ts](projects/prestations-ng/src/foehn-nav13/foehn-input-nav13.component.ts)
    - remove non numeric characters when pasting a complet avs number in the second field

## [15.5.0]

### Fixed

- [foehn-input-address.components.ts](projects/prestations-ng/src/foehn-address/foehn-input-address.component.ts)
    - Fixed errors not being displayed when switching countries (Suisse -> France)

- [foehn-form.components.ts](projects/prestations-ng/src/foehn-form/foehn-form.component.ts)
- [foehn-input.components.ts](projects/prestations-ng/src/foehn-input/foehn-input.component.ts)
    - Fixed ngModel not being registered when deep nested FoehnInputComponent.
    - `FoehnInputComponent` notifies `FoehnFormComponent` for its children changes using [register-ng-model.service.ts](projects/prestations-ng/src/foehn-form/register-ng-model.service.ts) service.
    - **WARNING** `FoehnInputComponent` now implements `AfterViewInit` method so when extending, you will need to call `super.ngAfterViewInit()`

### Added

- [foehn-boolean-radio.component.ts](projects/prestations-ng/src/foehn-boolean/foehn-boolean-radio.component.ts)
    - Added `@Input() verticalDisplay = false`

- [foehn-input-date-time.components.ts](projects/prestations-ng/src/foehn-input-date-time/foehn-input-date-time.component.ts)
    - `@Input() disableDay = false` used to disable date input day
    - `@Input() disableMonth = false` used to disable date input month
    - `@Input() disableYear = false` used to disable date input year
    - `@Input() minDate: number[]` used as minDate in datePicker
    - `@Input() maxDate: number[]` used as maxDate in datePicker
    - `@Input() hideDatePickerButton = false` used to hide date picker for date input

### Updated

- [foehn-input.component.ts](projects/prestations-ng/src/foehn-input/foehn-input.component.ts)
    - No double-binding when component is disabled
    - No userInput event dispatch when component is disabled

- [foehn-input-address.component.html](projects/prestations-ng/src/foehn-address/foehn-input-address.component.html)
    - add custom error override for street auto-complete to handle error code `AtLeastOneNotNull`, see prestations-be

## [15.4.9]

### Fixed

- [foehn-input-number.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-number.component.ts)
- [currency-formatter.directive.ts](projects/prestations-ng/src/directives/currency-formatter.directive.ts)
    - fixed a bug where input was impossible after a blur event on input "-"

### Added

- [global.const.ts](projects/prestations-ng/src/global.const.ts)
    - Added `HTTP_LOADER_FILTERED_URL: string[]` constant to be used with component `<ng-http-loader></ng-http-loader>` (input `filteredUrlPatterns`). Default value in array: `['api/support-alert', '(api\\/document(\\/([a-zA-Z0-9])+)*\\/upload)']`.

- [foehn-upload-progress-bar.component.ts](projects/prestations-ng/src/foehn-upload/foehn-upload-progress-bar/foehn-upload-progress-bar.component.ts)
    - See [documentation](upload#foehn_upload_progress_bar)
    - Added a progress bar displaying upload progress and indeterminated document analysis

- [foehn-multi-upload.component.html](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.html)
    - Added `<foehn-upload-progress-bar></foehn-upload-progress-bar>`

### Updated

- [gesdem-confirmation.component.html](projects/prestations-ng/src/gesdem-confirmation/gesdem-confirmation.component.html)
    - Update link when user is connected: link redirects to demande page
    - Move labels into default dictionary

## [15.4.8]

### Fixed

- [foehn-decision-electronique.component.ts](projects/prestations-ng/src/foehn-decision-electronique/foehn-decision-electronique.component.ts)
    - use labels from `default-dictionary.ts`
    - added an example here : https://dsi-vd.github.io/prestations-ng/espace-securise

## [15.4.7]

### Fixed

- [foehn-validation-alert-summary.component.ts](projects/prestations-ng/src/foehn-validation-alert-summary/foehn-validation-alert-summary.component.ts)
    - set first letter of first word in error message to lowercase (respect words that are all upper case)
        - "Votre prénom : Ce champ doit être rempli"
            - is transformed to "Votre prénom : **c**e champ doit être rempli"
        - "N° AVS : NAVS13 invalide"
            - is not transformed

## [15.4.6]

### Fixed

- [date.helper.ts](projects/prestations-ng/src/sdk-date/date.helper.ts)
    - fixed method `isValid(value: number[]): boolean` to avoid day shifting issues
        - i.e. `31.02.2021` should not be transformed to `03.03.2021` and considered as valid

## [15.4.5]

### Added

- [foehn-multiselect-autocomplete](projects/prestations-ng/src/foehn-multiselect-autocomplete/foehn-multiselect-autocomplete.component.ts)
    - add `@Input() caseSensitiveSearch = false` to allow search without converting input to lowercase

## [15.4.4]

### Added

- [foehn-autocomplete.component.ts](projects/prestations-ng/src/foehn-autocomplete/foehn-autocomplete.component.ts)
    - add `@Input() caseSensitiveSearch = false` to allow search without converting input to lowercase

## [15.4.3]

### Added

- [sdk-dictionary.service.ts](projects/prestations-ng/src/sdk-dictionary/sdk-dictionary.service.ts)
    - added browser language detection. When browser language is not managed, default language is used.
    - added `setDefaultLanguageCode(code: string): void` to change default language

### Fixed

- [foehn-input-email.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-email.component.ts)
    - hiding default help-modal is now possible by setting `helpModal` attribute to `null` such as `[helpModal]="null"`

### Updated

- [foehn-input-address.component.html](projects/prestations-ng/src/foehn-address/foehn-input-address.component.html)
    - Swiss **locality** autocomplete component now allows **custom values** when **disabled**

## [15.4.2]

### Added

- [foehn-autocomplete.component.ts](projects/prestations-ng/src/foehn-autocomplete/foehn-autocomplete.component.ts)
    - add `@Input() elementSuggestionLabel: any` (fallback: elementLabel) to customize suggestion list item with some HTML

### Fixed

- [default-dictionary.ts](projects/prestations-ng/src/sdk-dictionary/default-dictionary.ts)
    - fixed label for `foehn-textarea.chars-remaining.zero` (missing plurals)

## [15.4.1]

### Fixed

- [support-alert.service.ts](projects/prestations-ng/src/sdk-support-alert/support-alert.service.ts)
    - handle failure when calling support-alert api
- [gesdem-confirmation.component.ts](projects/prestations-ng/src/gesdem-confirmation/gesdem-confirmation.component.ts)
    - fixed bug where `demandeIsClosedOnTransmit` was not read from route data.

## [15.4.0]

### Updated

- [upload.helper.ts](projects/prestations-ng/src/foehn-upload/uploader.helper.ts)
    - manage new error code from prestations-be : `IMAGE_NOT_READABLE` (dico key : `errors.IMAGE_NOT_READABLE`)

- [default-dictionary.ts](projects/prestations-ng/src/sdk-dictionary/default-dictionary.ts)
    - added dico value for key `errors.IMAGE_NOT_READABLE` (defaults to `Votre pièce jointe %1$s n'est pas une image valide`)

### Fixed

- [foehn-input-number.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-number.component.ts)
    - fixed bug where standard help text appears twice

## [15.3.1]

### Updated

- [foehn-input-number.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-number.component.ts)
    - As in the other components, we don't want to force the user input, when `[allowFreeInput]="false"` (which is the default) :
        - It is still done for :
            - `maxlength` (to avoid a number overflow in the backend)
            - `allowDecimal` (to avoid a number conversion error in the backend)
            - `allowNegative`
    - `min` and `max` are not used to force the user input anymore
    - `min` and `max` are only used to display a standard help text
    - the standard help text is only displayed if `min` and `max` are set
    - to better understand how to use the `foehn-input-number`, please check the explanations on https://dsi-vd.github.io/prestations-ng/input-number
    - **apart from certain exceptions, foehn-input-number is to be used as such:**
        - `min` and `max` to display help text
        - `maxlength` depending on your backend
        - `allowDecimal` and `allowNegative` when needed

- [foehn-input.component.ts](projects/prestations-ng/src/foehn-input/foehn-input.component.ts)
    - removed `@Input() showHelpModal = false` show an help-modal related to an foehn-input
    - removed `@Input() helpModalTitle: string` The title of the modal
    - removed `@Input() helpModalContent: string` The content of the modal
    - replaced by `@Input() helpModal: HelpModal`

- [HelpModal](projects/prestations-ng/src/foehn-help-modal/foehn-help-modal.type.ts)
    - add value `modalSize?: string` to configure the size of the foehn-help-modal (defaults to `modal-lg`)

- [Image](projects/prestations-ng/src/foehn-help-modal/foehn-help-modal.type.ts)
    - add value `width?: string` to configure the size of the picture (defaults to `100%`)
    - add value `height?: string` to configure the size of the picture (defaults to `auto`)

### Fixed

- [foehn-input-textarea.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-textarea.component.ts)
    - CSS color of remaining chars not being changed when input is reset

- [foehn-boolean-checkbox.component.html](projects/prestations-ng/src/foehn-boolean/foehn-boolean-checkbox.component.html)
    - handle `isLabelSrOnly` input

- [foehn-picture-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-picture-upload/foehn-picture-upload.component.ts)
    - check file format before trying to display the image for cropping
        - when file has wrong extension, display error with key `foehn-picture-upload.invalid-file-type`

## [15.3.0]

### Added

- [foehn-multiselect-autocomplete.component.ts](projects/prestations-ng/src/foehn-multiselect-autocomplete/foehn-multiselect-autocomplete.component.ts)
    - add `@Input() itemHeightInSuggestionListInPx = 40` to customize height of each item in the suggestion list
    - add `@Input() elementBadgeLabel: any = 'label'` to customize selected items labels
- [foehn-input.component.ts](projects/prestations-ng/src/foehn-input/foehn-input.component.ts)
    - add `@Input() showHelpModal = false` show an help-modal related to an foehn-input
    - add `@Input() helpModalTitle: string` The title of the modal
    - add `@Input() helpModalContent: string` The content of the modal
- [foehn-input-email.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-email.component.ts)
    - add default help-modal in order to help user if email considered as not valid

- [foehn-checkable-group.component.ts](projects/prestations-ng/src/foehn-checkables/foehn-checkable-group.component.ts)
    - add `@Input() helpModal: HelpModal`
- [foehn-help-modal.type.ts](projects/prestations-ng/src/foehn-help-modal/foehn-help-modal.type.ts)
    - add buttonTitle in order to be able to specify the title of the info button

### Fixed

- [foehn-page.component.ts](projects/prestations-ng/src/foehn-page/foehn-page.component.ts)
    - hide `foehn-status-progress-bar` if the prestation has a blocking alert

## [15.2.5]

### Added

- [foehn-autocomplete.component.ts](projects/prestations-ng/src/foehn-autocomplete/foehn-autocomplete.component.ts)
    - add `@Input() itemHeightInSuggestionListInPx = 40` to customize height of each item in the suggestion list

### Fixed

- [foehn-input-textarea.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-textarea.component.ts)
    - add function `getCharCountLabel` that return the plural or singular form of the label accordingly (one dictionary key for plural and another one for singular)
        - add default label for remaining characters in [default-dictionary.ts](projects/prestations-ng/src/sdk-dictionary/default-dictionary.ts)
            - `'foehn-textarea.chars-remaining.plural': '{charCountLeft} caractères restants'`
            - `'foehn-textarea.chars-remaining.singular': '{charCountLeft} caractère restant'`
            - `'foehn-textarea.chars-remaining.zero': 'Vous avez atteint le nombre de caractère autorisé!'`
            - `'foehn-textarea.chars-remaining.exceeded': 'Vous avez dépassé le nombre de caractères autorisés de {charCountLeft}'`

- [foehn-modal.component.html](projects/prestations-ng/src/foehn-modal/foehn-modal.component.html)
    - close button label + aria-label can now be overridden in dictionary
        - add default label for remaining characters in [default-dictionary.ts](projects/prestations-ng/src/sdk-dictionary/default-dictionary.ts)
            - `'foehn-modal.btn-close.aria-label': 'Fermer la boite de dialogue'`
            - `'foehn-modal.btn-close.title': 'Fermer'`

- [gesdem-confirmation.component.ts](projects/prestations-ng/src/gesdem-confirmation/gesdem-confirmation.component.ts)
    - `@Input() hideReference = false` to choose if the confirmation message display the reference number

- [gesdem-confirmation.component.html](projects/prestations-ng/projects/prestations-ng/src/gesdem-confirmation/gesdem-confirmation.component.html)
    - add condition `*ngIf="!hideReference"`

## [15.2.4]

### Added

- [foehn-select.component.ts](projects/prestations-ng/src/foehn-checkables/foehn-select.component.ts)
    - add `@Input() noSelectionLabel = '-'` to customize the value displayed when the field is not required and nothing has been selected

## [15.2.3]

### Added

- [foehn-table-column-configuration.ts](projects/prestations-ng/src/foehn-table/foehn-table-column-configuration.ts)
    - add optional field `template: TemplateRef<unknown>` to customize a cell
    - field `valueGetter` becomes optional

### Fixed

- [redirect.component.ts](projects/prestations-ng/src/sdk-redirect/redirect.component.ts)
    - reload page instead of redirecting to `/iam/accueil` when session has expired

### Removed

- [foehn-modal.component.ts](projects/prestations-ng/src/foehn-modal/foehn-modal.component.ts)
    - removed `@Input() modalFooterText` (was not used in the template)

### Updated

- [package.json](package.json)
    - Updated `core-js` to ~3.23.3

### Updated

- [foehn-input-number.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-number.component.ts)
    - added a standard help-text that describes the expected input (i.e. "Saisir un nombre entre 0 et 999'999")
        - label is configurable with the dictionary (`foehn-input-number.standard-help-text.label`, defaults to `Saisir un nombre entre {minValue} et {maxValue}`)
        - is placed after the `[helpText]` if provided
        - can be deactivated with the new `@Input() hideStandardHelpText` (defaults to `false`)
    - added a new `@Input() allowFreeInput` (defaults to `false`)
        - uses the component configuration to generate the standard help text, but allows the user to input anything in the field
            - /!\ if you use this, make sure your backend can deserialize any number correctly

- [currency-formatter.directive.ts](projects/prestations-ng/src/directives/currency-formatter.directive.ts)
    - do not format decimal part with thousands separator

## [15.2.2]

### Fixed

- [foehn-select.component.html](projects/prestations-ng/src/foehn-checkables/foehn-select.component.html)
    - use `elementValueIdentity` function if provided

### Added

- [foehn-table-column-configuration.ts](projects/prestations-ng/src/foehn-table/foehn-table-column-configuration.ts)
    - added optional field `iconGetter` to display an icon in a cell

## [15.2.1]

### Updated

- [foehn-page.component.ts](projects/prestations-ng/src/foehn-page/foehn-page.component.ts)
    - update login message (can be discarded to continue without login)

## [15.2.0]

### Updated

- [gesdem-error.component.html](projects/prestations-ng/src/gesdem-error/gesdem-error.component.html)
    - use new endpoint `/action-statut` from prestations-be to get the status without trigerring any validation

- [sdk-epayment.service.ts](projects/prestations-ng/src/sdk-epayment/sdk-epayment.service.ts)
    - added missing growl message on `createPendingPayment` failure

## [15.1.4]

### Updated

- [gesdem-error.component.html](projects/prestations-ng/src/gesdem-error/gesdem-error.component.html)
    - display a custom message if the error page is displayed when the action status in `PENDING_PAYMENT`
    - redirect to the last page if the error page is displayed when the action status is final (`TRANSFERRED`, `ABANDONED`)

## [15.1.3]

### Updated

- [foehn-input-nav13.component.ts](projects/prestations-ng/src/foehn-nav13/foehn-input-nav13.component.ts)
    - pasting an AVS number (witouht the prefix `756`) in the first editable input will now expand it to the other inputs.

- [foehn-agenda-timeslot-panel.component.ts](projects/prestations-ng/src/foehn-agenda/foehn-agenda-timeslot-panel/foehn-agenda-timeslot-panel.component.ts)
    - don't allow closing the panel if it would hide the selected slot

## [15.1.2]

### Removed

- [foehn-agenda.components.ts](projects/prestations-ng/src/foehn-agenda/foehn-agenda.component.ts)
    - removed `@Input() minDate: number[]`, replaced by `Calendar.minAvailableDate`
    - removed `@Input() maxDate: number[]`, replaced by `Calendar.maxAvailableDate`

### Fixed

- [foehn-date-picker.component.html](projects/prestations-ng/src/foehn-date-picker/foehn-date-picker.component.html)
    - do not display (`hidden`) days that are not in the current month (to avoid confusion with actually disabled days)

## [15.1.1]

### Updated

- [foehn-input-nav13.component.ts](projects/prestations-ng/src/foehn-nav13/foehn-input-nav13.component.ts)
    - pasting an AVS number in the first editable input will now expand it to the other inputs.

- [foehn-input-number.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-number.component.ts)
    - added a default value for `@Input() maxlength: number`, set to `9`
        - this avoids having a value that exceeds Integer.MAX_INT which leads to a deserialization error in the backend
        - if you expect a Long or a BigDecimal, you should override this value.

### Fixed

- [gesdem-confirmation.component.ts](projects/prestations-ng/src/gesdem-confirmation/gesdem-confirmation.component.ts)
    - some boolean values were not overridable by route data :
        - `showDownloadPdfRecapButton`
        - `showLinkToMyDemandes`
        - `demandeIsClosedOnTransmit`

## [15.1.0]

### Added

- [ApplicationInfo](projects/prestations-ng/src/sdk-appinfo/application-info.ts)
    - added one attribute to ApplicationInfo :
        - `string[] mockedServices` : all properties name containing 'mock' having value != "false". Will be displayed in a warning banner at top of the page. Need prestations-ng >=15.1.0

- [foehn-input.component.ts](projects/prestations-ng/src/foehn-input/foehn-input.component.ts)
    - `@Input() autocapitalize: string` Possible values: `off|on|words|characters`

### Fixed

- [foehn-input-address.component.ts](projects/prestations-ng/src/foehn-address/foehn-input-address.component.ts)
    - fixed streets and houseNumbers suggestion list not being emptied when locality is cleared

- [foehn-input-date.component.ts](projects/prestations-ng/src/foehn-input-date/foehn-input-date.component.ts)
    - fixed error not disappearing when selecting a date in date picker

- [foehn-input.component.ts](projects/prestations-ng/src/foehn-input/foehn-input.component.ts)
    - fixed `markAsDirty()` and `markAsPristine()` not handling `subComponents`

## [15.0.2]

### Added

- [sdk-statistics.service.ts](projects/prestations-ng/src/sdk-statistics/sdk-statistics.service.ts)
    - New statistics tool. Set `application-info.properties.matomoUrl` & `application-info.properties.matomoSiteId` properties

### Updated

- [package.json](package.json)
    - Updated `@dsivd/foehn` to 1.8.4. See [the changelog](https://github.com/DSI-VD/foehn/blob/master/CHANGELOG.md) for more information.

## [15.0.1]

### Fixed

- [Accessibility demo page](https://dsi-vd.github.io/prestations-ng/demo-accessibilite)
    - fixed `foehn-input-date` migration
    - added min/max date to `foehn-agenda`

## [15.0.0]

### Added

- [UPGRADING_V15](UPGRADING_V15.md)
    - Added migration guide

- New [agenda documentation](https://dsi-vd.github.io/prestations-ng/agenda) page

- [foehn-agenda.components.ts](projects/prestations-ng/src/foehn-agenda/foehn-agenda.component.ts)
    - Model `calendar.type.ts` ([Calendar](projects/prestations-ng/src/foehn-agenda/calendar.type.ts))
    - Model `current-week.type.ts` ([CurrentWeek](projects/prestations-ng/src/foehn-agenda/current-week.type.ts))
    - Model `day-slots.type.ts` ([DaySlots](projects/prestations-ng/src/foehn-agenda/day-slots.type.ts))
    - Model `pagination-week.type.ts` ([PaginationWeek](projects/prestations-ng/src/foehn-agenda/pagination-week.type.ts))
    - `@Input() calendar: Observable<Calendar>`
    - `@Input() nbVisibleElements: number` default number of visible elements is 22
    - `@Input() minDate: number[]` used as minDate in datePicker
    - `@Input() maxDate: number[]` used as maxDate in datePicker
    - `@Output() paginationChange: EventEmitter<PaginationWeek>()`

- Add [foehn-status-progress-bar.component.spec.ts](projects/prestations-ng/src/foehn-status-progress-bar/foehn-status-progress-bar.component.spec.ts)

- [foehn-input-date.component.html](projects/prestations-ng/src/foehn-input-date/foehn-input-date.component.html)
    - Added `<foehn-date-picker-button>` directly into template. Please refer to the [datepicker documentation](https://dsi-vd.github.io/prestations-ng/datepicker)

### Updated

- [foehn-status-progress-bar.component.ts](projects/prestations-ng/src/foehn-status-progress-bar/foehn-status-progress-bar.component.ts)
    - Bugfix: no visual glitch on the first page (step 2 "Verification" was briefly displayed when starting)

- [foehn-confirm-modal.component.html](projects/prestations-ng/src/foehn-confirm-modal/foehn-confirm-modal.component.html)
    - Add closeable on FoehnConfirmModalContent. Default value is true. If false, modal has to be closed by the yes and no buttons.

- Added RefInf DTOs matching to prestations-be
    - [address-type-light.ts](projects/prestations-ng/src/refinf/model/address-type-light.ts)
    - [canton.ts](projects/prestations-ng/src/refinf/model/canton.ts)
    - [district.ts](projects/prestations-ng/src/refinf/model/district.ts)
    - [municipality.ts](projects/prestations-ng/src/refinf/model/municipality.ts)
    - [place-of-origin.ts](projects/prestations-ng/src/refinf/model/place-of-origin.ts)
    - [postal-locality.ts](projects/prestations-ng/src/refinf/model/postal-locality.ts)

- [foehn-date-picker.component.ts](projects/prestations-ng/src/foehn-date-picker/foehn-date-picker.component.ts)
- [foehn-date-picker-button.component.ts](projects/prestations-ng/src/foehn-date-picker-button/foehn-date-picker-button.component.ts)
    - added `@Input() minDate: number[]` - minDate's year will override minYear setting
    - added `@Input() maxDate: number[]` - maxDate's year will override maxYear setting

- [package.json](package.json)
    - Updated angular stack to ^13.1.0
    - Updated @fortawesome/angular-fontawesome to ^0.10.0
    - Updated rxjs to ~7.5.2
    - Updated ngx-image-cropper to ~6.0.0

- [sdk-epayment.component.ts](projects/prestations-ng/src/sdk-epayment/sdk-epayment.component.ts)
- [sdk-epayment.component.html](projects/prestations-ng/src/sdk-epayment/sdk-epayment.component.html)
- [sdk-epayment.service.ts](projects/prestations-ng/src/sdk-epayment/sdk-epayment.service.ts)
    - Adaptations to use new e-payment method "Postfinance Checkout"

- [backend-reponse.ts](projects/prestations-ng/src/backend-response.ts)
    - renamed to `FormPostResponse` to match prestations-be
    - renamed `GesdemMeta` to `FormMetadata` to match prestations-be

- [error-template.ts](projects/prestations-ng/src/error-template.ts)
    - renamed to `FormError` to match prestations-be

- DTOs from Refinf : Long attributes are now serialized by the back-end as String since their value can be higher than javascript's MAX_SAFE_INTEGER :
    - [address.type.ts](projects/prestations-ng/src/foehn-address/address.type.ts)
        - Street : `estrid`
        - Locality : `postalLocalityHistoryId`, `zipCodeId`

- [foehn-date-picker.component.html](projects/prestations-ng/src/foehn-date-picker/foehn-date-picker.component.html)
    - added unique ids

- [foehn-checkable-group.component.ts](projects/prestations-ng/src/foehn-checkables/foehn-checkable-group.component.ts)
    - set default value for `autocomplete` to `off`

- [foehn-input-date.component.ts](projects/prestations-ng/src/foehn-input-date/foehn-input-date.component.ts)
    - Added `@Input() hideDatePickerButton: boolean` (default: false). Set to `true` to hide `foehn-date-picker-button`

### Removed

- [session-info-data.ts](projects/prestations-ng/src/sdk-session-info/session-info-data.ts)
    - removed field `email` since this is the security e-mail that should not be used by prestations (`preferences.email` is the one that is allowed)]

    - [foehn-page.component.html](projects/prestations-ng/src/foehn-page/foehn-page.component.html)
        - removed `@Input() neverConnected`, if you needed this feature, you have to inject the value as a provider :
        ```json
        providers: [{ provide: 'neverConnected', useValue: true },]
        ```

- [foehn-input-date.component.html](projects/prestations-ng/src/foehn-input-date/foehn-input-date.component.html)
    - Removed `<ng-content select="[date-picker-button]">` from template. Please refer to the [UPGRADING_V15](UPGRADING_V15.md)

## [14.5.25]

### Updated

- [foehn-debug-summary.component.ts](projects/prestations-ng/src/foehn-debug-summary/foehn-debug-summary.component.ts)
    - Added `Référence de la demande` to debug summary

## [14.5.24]

### Added

- New [multiselect-autocomplete documentation](https://dsi-vd.github.io/prestations-ng/autocomplete#multiselect_autocomplete) page

- [foehn-multiselect-autocomplete.component.ts](projects/prestations-ng/src/foehn-multiselect-autocomplete/foehn-multiselect-autocomplete.component.ts)
    - `@Input() defaultElementValues: unknown[]` To set default elements in list of selected

- [foehn-checkable-group.component.ts](projects/prestations-ng/src/foehn-checkables/foehn-checkable-group.component.ts)
    - added `@Output() elementsLoaded = new EventEmitter<any>()` fired when checkable's elements are loaded

## [14.5.23]

### Updated

- [default-dictionary.ts](projects/prestations-ng/src/sdk-dictionary/default-dictionary.ts)
    - Rename last step in `foehn-status-progress-bar`

## [14.5.22]

### Updated

- [grecaptcha.component.ts](projects/prestations-ng/src/sdk-recaptcha/grecaptcha/grecaptcha.component.ts)
    - updated url to call recaptcha.net instead of google.com

## [14.5.21]

### Updated

- [foehn-status-progress-bar.component.ts](projects/prestations-ng/src/foehn-status-progress-bar/foehn-status-progress-bar.component.ts)
    - By default, `foehn-status-progress-bar` is visible

## [14.5.20]

### Added

- [foehn-status-progress-bar.component.ts](projects/prestations-ng/src/foehn-status-progress-bar/foehn-status-progress-bar.component.ts)
    - Add foehn-status-progress-bar component. Component used in foehn-page and can be hidden with `statusProgressBarHidden` input

## [14.5.19]

### Added

- [foehn-confirm-modal.component.html](projects/prestations-ng/src/foehn-confirm-modal/foehn-confirm-modal.component.html)
    - Add closeable on FoehnConfirmModalContent. Default value is true. If false, modal has to be closed by the yes and no buttons.

## [14.5.18]

### Fixed

- [object.helper.ts](projects/prestations-ng/src/helpers/object.helper.ts)
    - Fix isEqual method for arrays. The issue was if first array has same objects but less items.
    - This issue impacts foehn-select, foehn-list and foehn-table

## [14.5.17]

### Updated

- [support-alert.service.ts](projects/prestations-ng/src/sdk-support-alert/support-alert.service.ts)
    - removed `setRefreshIntervalInSeconds(refreshIntervalsInSeconds: number)`, support alerts are now refreshed on every NavigationStart event from the Angular Router, but at most every 3 minutes.
- [foehn-page.component.html](projects/prestations-ng/src/foehn-page/foehn-page.component.html)
    - added `@Input() supportAlertRefreshIntervalsInSeconds: number`, support alerts are now refreshed on every NavigationStart event from the Angular Router, but at most every 3 minutes.

## [14.5.16]

### Updated

- [support-alert.service.ts](projects/prestations-ng/src/sdk-support-alert/support-alert.service.ts)
    - added `setRefreshIntervalInSeconds(refreshIntervalsInSeconds: number)` allowing to override the default refresh interval for support-alerts (default = 5 \* 1000)
- [foehn-page.component.html](projects/prestations-ng/src/foehn-page/foehn-page.component.html)
    - added `@Input() supportAlertRefreshIntervalsInSeconds: number` allowing to call SupportAlertService.setRefreshIntervalInSeconds()

## [14.5.15]

### Added

- [Autogenerated documentation](https://dsi-vd.github.io/prestations-ng/generateddoc)
    - prestations-ng documentation generated automatically by `compodoc`

- [foehn-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.ts)
- [foehn-bo-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-bo-multi-upload/foehn-bo-multi-upload.component.ts)
    - Add possibility to hide confirmation message when a file is saved. Default is message is displayed. To change default value, add [shouldDisplayFileSavedConfirmation]="false" in your upload

- [gesdem-confirmation.component.html](projects/prestations-ng/src/gesdem-confirmation/gesdem-confirmation.component.html)
    - `telechargerBtn` (Télécharger la demande (pdf)) is also shown to a connected user
    - `logoutBtn` (Se déconnecter) is shown to a connected user instead of `terminerBtn` (Terminer)

### Fixed

- [foehn-table.component.ts](projects/prestations-ng/src/foehn-table/foehn-table.component.ts)
    - table content was not being refreshed when sorting column

## [14.5.14]

### Added

- [foehn-table.module.ts](projects/prestations-ng/src/foehn-table/foehn-table.module.ts)
- [foehn-table.component.ts](projects/prestations-ng/src/foehn-table/foehn-table.component.ts)
- [foehn-table.component.html](projects/prestations-ng/src/foehn-table/foehn-table.component.html)
    - added a paginated table
    - for examples, see related page in the devtool (https://dsi-vd.github.io/prestations-ng/list#foehn_table)

## [14.5.13]

### Added

- [foehn-picture-upload.module.ts](projects/prestations-ng/src/foehn-upload/foehn-picture-upload/foehn-picture-upload.module.ts)
- [foehn-picture-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-picture-upload/foehn-picture-upload.component.ts)
- [foehn-picture-upload.component.html](projects/prestations-ng/src/foehn-upload/foehn-picture-upload/foehn-picture-upload.component.html)
    - added a picture uploader that allows the user to crop the uploaded picture
    - requires `ngx-image-cropper@~5.0.0`
    - for examples, see related page in the devtool (https://dsi-vd.github.io/prestations-ng/upload#foehn_picture_upload)

## [14.5.12]

### Fixed

- [foehn-footer.component.ts](projects/prestations-ng/src/foehn-footer/foehn-footer.component.ts)
- Fixed "SecurityBestPracticeLink" URL

## [14.5.11]

### Fixed

- [foehn-page.component.html](projects/prestations-ng/src/foehn-page/foehn-page.component.html)
    - do not try to display login messages when `neverConnected` is `true`

## [14.5.10]

### Removed

- [currency-formatter.directive.ts](projects/prestations-ng/src/directives/currency-formatter.directive.ts)
    - Removed `@Input() maxDecimalCount` and added to [foehn-input-number.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-number.component.ts)

### Fixed

- [foehn-boolean-radio.component.html](projects/prestations-ng/src/foehn-boolean/foehn-boolean-radio.component.html)
    - Fixed focus highlight not being foehn like
    - `trueLabel` and `falseLabel` have been added the html property `innerHTML`

- [foehn-boolean-checkbox.component.html](projects/prestations-ng/src/foehn-boolean/foehn-boolean-checkbox.component.html)
    - Fixed focus highlight not being foehn like

- [currency-formatter.directive.ts](projects/prestations-ng/src/directives/currency-formatter.directive.ts)
    - fixed bug when input is not formatted when programmatically changed
    - takes into account the `maxlength` and `maxDecimalCount` of the directive's host when formatting for decimals

- [foehn-input-number.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-number.component.ts)
    - cannot exceed `maxDecimalCount` anymore when user inputs

- [foehn-input-address.component.ts](projects/prestations-ng/src/foehn-address/foehn-input-address.component.ts)
    - fix ids of address fields to link from foehn-validation-alert-summary
    - fix showing individual errors on zipCode and longName when locality is empty and country is not Switzerland

- [foehn-input.component.ts](projects/prestations-ng/src/foehn-input/foehn-input.component.ts)
    - A field should not have any error indicator when disabled
        - added method `hasErrorsToDisplay()` that returns `true` if `hasErrors()` AND component is not disabled
        - replaced every use of `hasErrors()` in templates by `hasErrorsToDisplay()`
        - FoehnFormComponent still calls `hasErrors()` on each children in its `isValid()` method

- [foehn-autocomplete.component.ts](projects/prestations-ng/src/foehn-autocomplete/foehn-autocomplete.component.ts)
    - fixed suggestion list not displaying when emptying model by using keyboard combinations (ie: Shift+Home+Delete)

- [foehn-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.ts)
- [foehn-bo-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-bo-multi-upload/foehn-bo-multi-upload.component.ts)
    - Fixed drop zone or upload button not showing anymore after dropping 1 file as pending file and multiple is set to true

- [foehn-footer.component.ts](projects/prestations-ng/src/foehn-footer/foehn-footer.component.ts)
- Fixed "term of use" URL

### Added

- [date.helper.ts](projects/prestations-ng/src/sdk-date/date.helper.ts)
    - added function `toDayjsFromNumberArray(value: number[]): dayjs.Dayjs`
    - added function `isValid(value: number[]): boolean`
    - added function `isToday(value: number[]): boolean`

- [foehn-input-number.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-number.component.ts)
    - added `@Input() maxDecimalCount` which was removed from [currency-formatter.directive.ts](projects/prestations-ng/src/directives/currency-formatter.directive.ts)

- [foehn-input.component.ts](projects/prestations-ng/src/foehn-input/foehn-input.component.ts)
    - added `@Input() showErrorWhenDisabled` (default is `false`) giving the possibility to show an error on a disabled input

### Updated

- [foehn-input-address.component.ts](projects/prestations-ng/src/foehn-address/foehn-input-address.component.ts)
    - Removed `searchValueMinCharsCount` for country and npaLocality because virtual scrolling is used for displaying results in `foehn-autocomplete`

- [foehn-autocomplete.component.ts](projects/prestations-ng/src/foehn-autocomplete/foehn-autocomplete.component.ts)
    - Pressing `Escape` key closes suggestion list when opened
    - Pressing `ArrowDown` key opens suggestion list when closed (if there are results to be shown)

- [foehn-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.ts)
- [foehn-bo-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-bo-multi-upload/foehn-bo-multi-upload.component.ts)
    - Drop zone is bigger and now highlighted when file enters navigator window. Dropping file outside drop zone is prevented to avoid navigator default action.

- [package.json](package.json)
    - Updated `@dsivd/foehn` to 1.8.3. See [the changelog](https://github.com/DSI-VD/foehn/blob/master/CHANGELOG.md) for more information.

## [14.5.9]

### Fixed

- [foehn-checkable-group.component.ts](projects/prestations-ng/src/foehn-checkables/foehn-checkable-group.component.ts)
- fixed elements not displaying when used with a pipe async

## [14.5.8]

### Added

- [foehn-checkable-group.component.ts](projects/prestations-ng/src/foehn-checkables/foehn-checkable-group.component.ts)
    - Added the possibility to group checkables (currently only checkboxes and radio buttons) and to have a group label displayed

## [14.5.7]

### Fixed

- [foehn-page-modal.component.ts](projects/prestations-ng/src/foehn-page/foehn-page-modal.component.ts)
    - do not display login messages when user is connected via IAM ACV (no context)

- [gesdem-action-recovery-registration.component.ts](projects/prestations-ng/src/gesdem-action-recovery/gesdem-action-recovery-registration/gesdem-action-recovery-registration.component.ts)
    - do not show recovery link when user is connected via IAM ACV (no context)

## [14.5.6]

### Fixed

- [foehn-select.component.html](projects/prestations-ng/src/foehn-checkables/foehn-select.component.html)
    - attribute `disabled` was not used

### Added

- [gesdem-confirmation.component.ts](projects/prestations-ng/src/gesdem-confirmation/gesdem-confirmation.component.ts)
    - updated confirmation message to `gesdem-confirmation.next-step.success-label` (Réponse transmise) when the action that has been sent is not the first one

## [14.5.5]

### Added

- [object-helper.ts](projects/prestations-ng/src/helpers/object.helper.ts)
    - added a helper for manipulating objects
        - `static isEqual(value1: unknown, value2: unknown): boolean`
        - `static hasAnyValue(value: any): boolean`
        - `static isEmpty(value: any): boolean`
        - `static deepCopy(obj: any): any`

### Fixed

- Library is now compiled using `"compilationMode": "partial"` as it should have when upgrading it to Angular 12.
    - No need to use `yarn start:symlink` anymore when linking library in project
    - Cleanup your project if needed :
        - in your `package.json` located at the root of your application, remove `start:symlink`
        - remove `projects->[YOUR_PROJECT_NAME]->architect->build->configurations->symlink` attribute
        - remove `projects->[YOUR_PROJECT_NAME]->architect->serve->configurations->symlink` attribute
        - delete `front/src/tsconfig.app.symlink.json`

- [foehn-select.component.html](projects/prestations-ng/src/foehn-checkables/foehn-select.component.html)
    - fixed problem when model holds a complex object (object in an object in an...)

## [14.5.4]

### Updated

- [foehn-input-address.component.ts](projects/prestations-ng/src/foehn-address/foehn-input-address.component.ts)
    - new `@Input countriesUrl = 'api/refinf/countries'` to be able to override the suggested list of countries

## [14.5.3]

### Fixed

- [foehn-page-modal.component.ts](projects/prestations-ng/src/foehn-page/foehn-page-modal.component.ts)
    - manage connected user with multiple `SessionInfoData.categories`

## [14.5.2]

### Updated

- [foehn-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.ts)
    - Added new error message to match new error code from prestations-be : PDF_HAS_RESTRICTIONS

## [14.5.1]

### Updated

- [ESLINT_MIGRATION_GUIDE](ESLINT_MIGRATION_GUIDE.md)
    - Added missing plugins (`import`, `jsdoc`, `prefer-arrow` and `rxjs-angular`) when adding them with `yarn`
    - Uncommented `rxjs-angular` plugin and `rxjs-angular/prefer-async-pipe` rule in `.eslintrc.json` example because we are now building with node >= 12.0.0
    - Added more information on "Subtype vs Assignment"
    - Added more cleaning in `.editorconfig` file

- [foehn-recap-section.component.ts](projects/prestations-ng/src/foehn-recap-section/foehn-recap-section.component.ts)
    - added class `text-break` to `dt` and `dd` elements
- [foehn-bo-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-bo-multi-upload/foehn-bo-multi-upload.component.ts)
    - added `@Output() documentDeleted` to get an event when a document has been deleted

### Fixed

- [foehn-input-textarea.component.html](projects/prestations-ng/src/foehn-input/foehn-input-text.component.ts)
    - fixed bug where the number of remaining chars was announced too early on screen-readers

## [14.5.0]

### Added

- [UPGRADING_V14](UPGRADING_V14.md)
    - Added migration guide

- Schematic for setting `allowSyntheticDefaultImports` to `true` in `tsconfig.json` compiler options
    - In project, you can either:
        - `ng add @dsivd/prestations-ng` if you do not have our library
        - `ng update @dsivd/prestations-ng` if your version of the library is smaller than 14.5.0

### Updated

- [package.json](package.json)
    - Updated angular stack to ^12.1.0
    - Updated @fortawesome/angular-fontawesome to ^0.9.0
    - Updated core-js to ^3.15.2

## [14.4.1]

### Fixed

- [foehn-page.component.html](projects/prestations-ng/src/foehn-page/foehn-page.component.html)
    - the "please login" message was shown on the final page

## [14.4.0]

### Added

- [ApplicationInfo](projects/prestations-ng/src/sdk-appinfo/application-info.ts)
    - added two attributes to ApplicationInfo.EtapeInfo :
        - `boolean decisionElectroniqueAvailable` true, when prestation can result in an official electronical decision
        - `boolean deployeeCyber` true, when prestation is displayed in the "Espace Securisé"
- [I18NForm](projects/prestations-ng/src/i18n-form.ts)
    - added field `acceptDecisionElectronique: boolean`, must be answered when `ApplicationInfo.EtapeInfo.decisionElectroniqueAvailable` is true

- [foehn-decision-electronique.component.ts](projects/prestations-ng/src/foehn-decision-electronique/foehn-decision-electronique.component.ts)
- [foehn-decision-electronique.module.ts](projects/prestations-ng/src/foehn-decision-electronique/foehn-decision-electronique.module.ts)
    - component to let the user choose `I18NForm.acceptDecisionElectronique` when `ApplicationInfo.EtapeInfo.decisionElectroniqueAvailable` is true
    - should be added to the last page of the "prestation"

- [foehn-page.component.html](projects/prestations-ng/src/foehn-page/foehn-page.component.html)
    - when relevant, a message is shown to the user, suggesting to login to fully use the Espace sécurisé's features

### Fixed

- [foehn-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.ts)
    - Fix issue on multi upload. The file name globalSequence should be incremented in order to have unique file names

## [14.3.2]

### Added

- [foehn-bo-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-bo-multi-upload/foehn-bo-multi-upload.component.ts)
    - See [documentation](upload#foehn_bo_multi_upload)
    - Default setting:
        - `@Input() multiple = true` (setting to false actes as a single file uploader)
        - `@Input() dragAndDrop = true` (setting to false hiddes drop zone)
        - `@Input() showUploadButton = true` to be able to display the drag& drop zone only
        - `@Input() readonly = false` to be able to display the component as read-only
        - `@Input() hideGlobalInfos = false` to be able to hide the global infos in multiple mode
        - `@Input showDeleteConfirmationMessage = false` to be able to ask confirmation by the user when deleting a file
        - `@Input deleteConfirmationMessage = 'Êtes-vous sûr de vouloir supprimer ce fichier ?'`
    - `@Input() uploadUrl` is used for uploading documents
    - `@Input() deleteUrl` is used for deleting a document
    - `@Input() downloadUrl` is used for displaying a document
    - file extension authorized `.pdf` (can be overridden by adding in back-end properties `document.file-extensions=[YOUR_EXTENSIONS_HERE]`)
    - file max size is `1 Mo` (can be overridden by changing back-end property `spring.servlet.multipart.max-file-size`)

## [14.3.1]

- [foehn-validation-alert-summary.component.ts](projects/prestations-ng/src/foehn-validation-alert-summary/foehn-validation-alert-summary.component.ts)
    - the message "il y a un problème" has been added to the [default dictionary](projects/prestations-ng/src/sdk-dictionary/default-dictionary.ts) and can be translated

- [foehn-navigation.component.html](projects/prestations-ng/src/foehn-navigation/foehn-navigation/foehn-navigation.component.html)
    - the word "sur" in the middle of the pagination links has been added to the [default dictionary](projects/prestations-ng/src/sdk-dictionary/default-dictionary.ts) and can be translated

## [14.3.0] - Version aligned with prestations-be

### Added

- [gesdem-confirmation.component.ts](projects/prestations-ng/src/gesdem-confirmation/gesdem-confirmation.component.ts)
    - added `<ng-content></ng-content>` between green box and action buttons, see https://dsi-vd.github.io/prestations-ng/confirmation

- New [datepicker documentation](https://dsi-vd.github.io/prestations-ng/datepicker) page

- [foehn-input-date.component.html](projects/prestations-ng/src/foehn-input-date/foehn-input-date.component.html)
    - Added a `<ng-content select="[date-picker-button]">` to include `<foehn-date-picker-button>`. Please refer to the [datepicker documentation](https://dsi-vd.github.io/prestations-ng/datepicker)

- [foehn-date-picker-button.component.ts](projects/prestations-ng/src/foehn-date-picker-button/foehn-date-picker-button.component.ts)
    - `@Input() minYear: number` (default: today - 100) minimum year to be displayed
    - `@Input() maxYear: number` (default: today + 10) maximum year to be displayed
    - `@Input() displaySelectedDate = true` When set to false, hides the selected date displayed beside the button
    - `@Output() modelChange = new EventEmitter<number[]>()` Fired when a model changes
    - `@Output() userInput = new EventEmitter<number[]>();` Fired when user chooses a date

- [foehn-date-picker.component.ts](projects/prestations-ng/src/foehn-date-picker/foehn-date-picker.component.ts)
    - `@Input() minYear: number` (default: today - 100) minimum year to be displayed
    - `@Input() maxYear: number` (default: today + 10) maximum year to be displayed
    - `@Input() datepickerTriggerHtmlElement: HTMLElement` HTML element which opens the date picker
    - `@Input() closeable = true` When set to false, date picker will always be visible
    - `@Output() modelChange = new EventEmitter<number[]>()` Fired when a model changes
    - `@Output() userInput = new EventEmitter<number[]>();` Fired when user chooses a date
    - `@Output() isDatepickerVisibleChange = new EventEmitter();` Fired when date picker visibility changes

- [foehn-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.ts)
    - added `@Input() showUploadButton = true` to be able to display the drag& drop zone only
    - added `@Input() readonly = false` to be able to display the component as read-only
    - added `@Input() hideGlobalInfos = false` to be able to hide the global infos in multiple mode

### Updated

- [foehn-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.ts)
    - Default error messages have been moved to the default dictionary. They can be overridden and/or translated

## [14.0.1]

### Added

- [foehn-input-address.component.ts](projects/prestations-ng/src/foehn-address/foehn-input-address.component.ts)
    - default value for postOfficeBoxText's help text ("Exemple : Case postale 122 ou CP122 ou CP 122"), can be overridden in dictionary with key `foehn-input-address.postOfficeBoxText.help-text`

- [foehn-input.component.ts](projects/prestations-ng/src/foehn-input/foehn-input.component.ts)
    - Function `markAsDirty` to manually set component NgModel control to dirty
    - Function `markAsPristine` to manually set component NgModel control to pristine

### Fixed

- [foehn-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.ts)
    - Manage manually markAsDirty and markAsPrestine for validation purpose

### Updated

- The base url sent as parameter to 'payNow' has been removed and has been replaced by an input that defaults to 'api/'. When the popup displaying an information message to the user explaining why the payment was cancelled in Postfinance, the request's status is set back to 'DRAFT'.
    - [sdk-epayment.component.ts](projects/prestations-ng/src/sdk-epayment/sdk-epayment.component.ts)

## [14.0.0]

### Fixed

- [grecaptcha.component.ts](projects/prestations-ng/src/sdk-recaptcha/grecaptcha/grecaptcha.component.ts)
    - reCaptcha language now depends on user language settings

- [foehn-input-time.component.html](projects/prestations-ng/src/foehn-input-time/foehn-input-time.component.html)
- [foehn-input-nav13.component.html](projects/prestations-ng/src/foehn-nav13/foehn-input-nav13.component.html)
    - Now disables all inputs when attribute `[disabled]` is set to `true`

- [foehn-boolean-radio.component.html](projects/prestations-ng/src/foehn-boolean/foehn-boolean-radio.component.html)
- [foehn-checkbox.component.html](projects/prestations-ng/src/foehn-checkables/foehn-checkbox.component.html)
- [foehn-radio.component.html](projects/prestations-ng/src/foehn-checkables/foehn-radio.component.html)
    - added a suffix to `[attr.name]` to reflect `[name]` attribute and avoid radio or checkbox not being checked by user action after page refresh

### Added

- [form-select-option.ts](projects/prestations-ng/src/foehn-checkables/form-select-option.ts)
    - Added `FormSelectOption` class to be used for foehn checkables components. Avoids re-creating it in every project. Gives the possibility to disable elements individually.

- [backend-reponse.ts](projects/prestations-ng/src/backend-response.ts)
    - Added `currentAction: number` to class GesdemMeta.

- [foehn-page.component.html](projects/prestations-ng/src/foehn-page/foehn-page.component.html)
    - page content is blocked when the browser is not supported but a button allows the user to continue anyway.

- [foehn-navigation.component.html](projects/prestations-ng/src/foehn-navigation/foehn-navigation/foehn-navigation.component.html)
    - added `@Input() showContinueLaterButton = true` to be able to hide the "Continue Later" button on a specific page

### Removed

- [gesdem-confirmation.component.ts](projects/prestations-ng/src/gesdem-confirmation/gesdem-confirmation.component.ts)
    - removed `@Input() currentEtape: number` and `ActivatedRoute.data.currentEtape`, `lastResponse.meta.currentAction` is now used to download the right pdf

## [13.7.0]

### Fixed

- [date.pipe.ts](projects/prestations-ng/src/pipes/date.pipe.ts)
    - Rollback eslint fix and return `any` to avoid breaking apps

- [gesdem-action-recovery-registration.component.ts](projects/prestations-ng/src/gesdem-action-recovery/gesdem-action-recovery-registration/gesdem-action-recovery-registration.component.ts)
    - recovery registration errors should not override form errors (both should be displayed)

## [13.6.0]

### updated

- [foehn-input.component.ts](projects/prestations-ng/src/foehn-input/foehn-input.component.ts)
    - `GESDEM_MAX_DATA_LENGTH` is now 10'000

## [13.5.1]

### Added

- Schematic for replacing `karma-coverage-istanbul-reporter` with `karma-coverage` because `karma-coverage-istanbul-reporter` usage has been deprecated since angular version 11.
    - In project, you can either:
        - `ng add @dsivd/prestations-ng` if you do not have our library
        - `ng update @dsivd/prestations-ng` if your version of the library is smaller than 13.5.0
        - `ng g @dsivd/prestations-ng:update-karma-config` if you want to execute only the schematic

## [13.5.0]

### Added

- [ESLINT_MIGRATION_GUIDE](ESLINT_MIGRATION_GUIDE.md)
    - Added guide for migrating projects from TSLint to ESLint

## [13.4.1]

### Added

- Migration from TSlint to ESlint: TSLint's support is deprecated in Angular CLI. To opt-in using the community driven ESLint builder, see: [migrating guide](https://github.com/angular-eslint/angular-eslint#migrating-from-codelyzer-and-tslint).

### Fixed

- [abstract-list-item-detail-page.component.ts](projects/prestations-ng/src/foehn/foehn-menu-prestation/abstract-list-item-detail-page.component.ts)
    - reset breadcrumb on destroy
    - `getListPagePath()` is now abstract since it should always be overridden (value was 'page-3' from skeleton's front-with-menu example)

- [abstract-page-from-menu.component.ts](projects/prestations-ng/src/foehn/foehn-menu-prestation/abstract-page-from-menu.component.ts)
    - `getMenuPath()` is now abstract since it should always be overridden (value was 'Menu' from skeleton's front-with-menu example)
    - `getMenuLabel()` is now abstract since it should always be overridden (value was '/menu' from skeleton's front-with-menu example)

## [13.4.0]

### Added

- [foehn-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.ts)
    - Added new error messages to match new error codes from prestations-be : EMPTY_PDF

- [currency.helper.ts](projects/prestations-ng/src/sdk-currency/currency.helper.ts)
    - Function `formatCurrency` helps to format number or string as a readable value (i.e: 1'123.30)
    - parameters:
        - `value` (string|number)
        - `currency` (string) (default: 'CHF')
        - `fixedDecimalCount` (number) (default: null): number of decimals to display
        - `showZero` (boolean) (default: true): whether or not to show 0 value

- [currency.pipe.ts](projects/prestations-ng/src/pipes/currency.pipe.ts)
    - uses `formatCurrency` from [currency.helper.ts](projects/prestations-ng/src/sdk-currency/currency.helper.ts) to format value
    - options:
        - `currency` (string) (default: 'CHF')
        - `fixedDecimalCount` (number) (default: null): number of decimals to display
        - `showZero` (boolean) (default: true): whether or not to show 0 value

## [13.3.1]

### Fixed

- [abstract-page-from-menu.component.ts](projects/prestations-ng/src/foehn/foehn-menu-prestation/abstract-page-from-menu.component.ts)
    - fixed bug where "continue later" modal would not appear on children of AbstractPageFromMenuComponent

## [13.3.0]

- keep minor version aligned with prestations-be

## [13.2.0]

### Updated

- [session-info-data.ts](projects/prestations-ng/src/sdk-session-info/session-info-data.ts)
    - EMPD-4691 : add fullFirstNames
    - EMPD-4663 : add lastLogin

## [13.1.2]

### Updated

- [foehn-input-address.component.ts](projects/prestations-ng/src/foehn-address/foehn-input-address.component.ts)
    - disabled attribute is now taken into account.

- [foehn-recap-section.component.ts](projects/prestations-ng/src/foehn-recap-section/foehn-recap-section.component.ts)
    - <foehn-recap-section> now supports boolean elements (translated to 'Oui', 'Non')

## [13.1.0]

### Added

- [UPGRADING_V13](UPGRADING_V13.md)
    - Added migration guide

### Updated

- [package.json](package.json)
    - Updated angular stack to ^11.0.0
    - Updated `@dsivd/foehn` to 1.8.0. See [the changelog](https://github.com/DSI-VD/foehn/blob/master/CHANGELOG.md) for more information.

## [12.4.5]

### Fixed

- [foehn-input.component.ts](projects/prestations-ng/src/foehn-input/foehn-input.component.ts)
    - fixed `focus` not focusing on input for components such as `<foehn-radio>, <foehn-checkbox>,...`

- [foehn-validation-alert-summary.component.ts](projects/prestations-ng/src/foehn-validation-alert-summary/foehn-validation-alert-summary.component.ts)
    - fixed `scrollToError` not focusing on input for components such as `<foehn-input-date>, <foehn-input-time>, <foehn-radio>, <foehn-checkbox>,...`

- [foehn-input-foreign-locality.component.html](projects/prestations-ng/src/foehn-address/foehn-input-foreign-locality.component.html)
- [foehn-input-foreign-street.component.html](projects/prestations-ng/src/foehn-address/foehn-input-foreign-street.component.html)
    - fixed error not being inherited

### Updated

- [foehn-input-address.component.ts](projects/prestations-ng/src/foehn-address/foehn-input-address.component.ts)
    - When changing country, all input fields of the address are cleared and set to null

- [foehn-page.component.html](projects/prestations-ng/src/foehn-page/foehn-page.component.html)
    - removed browser support condition on page display. Now page will always be loaded but if the browser is not supported, an alert message will be displayed at the top of the page.

- [browserlist](src/browserslist)
    - Improved documentation with a few command lines to fetch latest version of browsers and test browser list

## [12.4.4]

### Updated

- [browserlist](src/browserslist)
    - added firefox 68 as supported browser

## [12.4.3]

### Updated

- [foehn-input.component.html](projects/prestations-ng/src/foehn-input/foehn-input.component.html)
    - added `@Input() overrideGesdemMaxlength = false` to be able to set `@Input() maxlength` to more than 2000 chars (when used in a BO)

- [date.pipe.ts](projects/prestations-ng/src/pipes/date.pipe.ts)
    - `displayDate` has a new argument to show the time (defaults to true)
        - e.g. `{{[2020, 11, 10, 16, 6, 40, 902000000] | displayDate}}` would display "10.11.2020 à 16:06:40"
        - e.g. `{{[2020, 11, 10, 16, 6, 40, 902000000] | displayDate:false}}` would display "10.11.2020"

## [12.4.2]

### Updated

- [session-info-with-application.service.ts](projects/prestations-ng/src/sdk-session-info/session-info-with-application.service.ts)
    - add a `isUserConnected` observable that returns a `boolean` to disable fields filled by user connected info
    - add a `isReady` observable that returns a `boolean` to display form fields when session info datas are ready (mandatory when using `<foehn-input-address>` tag)

## [12.4.1]

### Updated

- [foehn-input-address.component.ts](projects/prestations-ng/src/foehn-address/foehn-input-address.component.ts)
    - new `@Input showAdressLine1 = true` to be able to show/hide field `addressLine1` (overridden by `showAdressLines = true`)
    - new `@Input showAdressLine2 = true` to be able to show/hide field `addressLine2` (overridden by `showAdressLines = true`)

- [gesdem-action-recovery-login](projects/prestations-ng/src/gesdem-action-recovery/gesdem-action-recovery-login)
    - Message précis quand une reprise est tentée pour une action déjà transmise

## [12.4.0]

### Updated

- [foehn-page.component.ts](projects/prestations-ng/src/foehn-page/foehn-page.component.ts)
    - get title from footer link "contact" from backend (applicationInfo)

## [12.3.3]

### Updated

- [foehn-input-phone.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-phone.component.ts)
    - Improved accessibility of the helptexts on phone inputs

- [foehn-input-text.component.spec.ts](projects/prestations-ng/src/foehn-input/foehn-input-text.component.ts)
- [foehn-input-textarea.component.html](projects/prestations-ng/src/foehn-input/foehn-input-text.component.ts)
    - changed `@Input() autocomplete` to type string in order to be able to use every possible HTML values (cf. https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete)
        - you should replace [autocomplete]="false" by [autocomplete]="'off'".ch

* [foehn-input-address.component.ts](projects/prestations-ng/src/foehn-address/foehn-input-address.component.ts)
    - use autocomplete values "address-line1", "address-line2", "address-line3", "postal-code"

* [foehn-input-email.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-email.component.ts)
    - use autocomplete value "email"

* [foehn-input-password.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-password.component.ts)
    - use autocomplete value "current-password"

* [foehn-input-phone.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-phone.component.ts)
    - use autocomplete value "tel"

* [foehn-input-nav13.component.ts](projects/prestations-ng/src/foehn-nav13/foehn-input-nav13.component.ts)
    - use autocomplete value "off" on every field

## [12.3.2]

### Fixed

- [sdk-recaptcha.component.ts](projects/prestations-ng/src/sdk-recaptcha/sdk-recaptcha.component.ts)
    - Fix reset issue when we want to invalidate recaptcha because of business errors

## [12.3.1]

### Fixed

- [abstract-list-item-detail-page.component.ts](projects/prestations-ng/src/foehn/foehn-menu-prestation/abstract-list-item-detail-page.component.ts)
- [abstract-page-from-menu.component.ts](projects/prestations-ng/src/foehn/foehn-menu-prestation/abstract-page-from-menu.component.ts)
- [abstract-menu-page.component.ts](projects/prestations-ng/src/foehn/foehn-menu-prestation/abstract-menu-page.component.ts)
    - Fixed issue with typescript generic (FORM_TYPE should extend I18NForm)

## [12.3.0]

### Updated

- [foehn-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.ts)
    - Added new error messages to match new error codes from prestations-be : FILE_TOO_SMALL, PDF_PASSWORD_LOCKED, PDF_CONTAINS_SCRIPT, PDF_HAS_ATTACHMENTS, PDF_GENERAL_PROBLEM, FILENAME_TOO_LONG

## [12.2.1]

### Updated

- [UPGRADING_V12](UPGRADING_V12.md)
    - Updated migration guide

## [12.2.0]

### Added

- [foehn-input-address.component.html](projects/prestations-ng/src/foehn-address/foehn-input-address.component.html)
    - Added `@Input() withCompanyLocalities = false;` that allows to include localities for companies (i.e. "1018 Montreux La Redoute")

## [12.1.2]

### Fixed

- [currency-formatter.directive.ts](projects/prestations-ng/src/directives/currency-formatter.directive.ts)
    - NumberCurrencyFormatter : fixed bug where model was not updated after formatting (i.e. when decimals where removed by the formatter)
    - NumberCurrencyFormatter : added `@Input() maxDecimalCount = 2` used when the component has `[allowDecimal]="true"`

### Removed

- [currency-formatter.directive.ts](projects/prestations-ng/src/directives/currency-formatter.directive.ts)
    - CurrencyFormatter : removed this formatter that was used to format numbers in a foehn-input-text
        - please use NumberCurrencyFormatter on a foehn-input-number

## [12.1.1]

### Fixed

- [foehn-page-counter.component.ts](projects/prestations-ng/src/foehn-page/foehn-page-counter.component.ts)
    - Fixed problem with page number when navigating forwards or backwards

## [12.1.0]

### Added

- new translations with default values
    - [foehn-input-address.component.html](projects/prestations-ng/src/foehn-address/foehn-input-address.component.html)
    - [foehn-input-foreign-locality.component.html](projects/prestations-ng/src/foehn-address/foehn-input-foreign-locality.component.html)
    - [foehn-autocomplete.component.html](projects/prestations-ng/src/foehn-autocomplete/foehn-autocomplete.component.html)
    - [foehn-boolean-checkbox.component.html](projects/prestations-ng/src/foehn-boolean/foehn-boolean-checkbox.component.html)
    - [foehn-boolean-radio.component.html](projects/prestations-ng/src/foehn-boolean/foehn-boolean-radio.component.html)
    - [foehn-checkbox.component.html](projects/prestations-ng/src/foehn-checkables/foehn-checkbox.component.html)
    - [foehn-radio.component.html](projects/prestations-ng/src/foehn-checkables/foehn-radio.component.html)
    - [foehn-select.component.html](projects/prestations-ng/src/foehn-checkables/foehn-select.component.html)
    - [foehn-input.component.html](projects/prestations-ng/src/foehn-input/foehn-input.component.html)
    - [foehn-input-textarea.component.html](projects/prestations-ng/src/foehn-input/foehn-input-textarea.component.html)
    - [foehn-input-date.component.html](projects/prestations-ng/src/foehn-input-date/foehn-input-date.component.html)
    - [foehn-input-time.component.html](projects/prestations-ng/src/foehn-input-time/foehn-input-time.component.html)
    - [foehn-list-summary.component.html](projects/prestations-ng/src/foehn-menu-prestation/foehn-list-summary/foehn-list-summary.component.html)
    - [foehn-multi-upload.component.html](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.html)
    - [foehn-input-nav13.component.html](projects/prestations-ng/src/foehn-nav13/foehn-input-nav13.component.html)
        - foehn-input.optional=(facultatif)

    - [foehn-input-address.component.html](projects/prestations-ng/src/foehn-address/foehn-input-address.component.html)
        - foehn-input-address.street.help-text=Exemple : Avenue de la Sallaz
        - foehn-input-address.houseNumber.help-text=Exemple : 40 pour une adresse à l'Avenue de la Sallaz 40

    - [foehn-input-foreign-locality.component.html](projects/prestations-ng/src/foehn-address/foehn-input-foreign-locality.component.html)
        - foehn-input-foreign-locality.zipCode.label=Code postal
        - foehn-input-foreign-locality.locality.label=Localité

## [12.0.0]

### Updated

- [foehn-recap-section.component.ts](projects/prestations-ng/src/foehn-recap-section/foehn-recap-section.component.ts)
    - Update <foehn-recap-section> in order to display 0 in recap. Before this fix, 0 was treated as an empty value and was not displayed

### Added

- added I18N support (to be used with prestations-be 11.3.x)
    - [i18n-form.ts](projects/prestations-ng/src/i18n-form.ts)
        - your business form should extend this class to be able to send the currently selected language to the backend.

    - [sdk-dictionary.service.ts](projects/prestations-ng/src/sdk-dictionary/sdk-dictionary.service.ts)
        - getAvailableLanguages() : returns languages given by DictionaryController in prestations-be
        - changeLanguage(code: string) : get dictionary in given language
        - getCurrentLanguageCode() : get the selected language code
        - getDictionary can be triggered multiple times, so you should add `first()` into the pipe of you call in MetaService.

    - [default-dictionary.ts](projects/prestations-ng/src/sdk-dictionary/default-dictionary.ts)
        - stores default labels in french

    - [foehn-input-address.component.html](projects/prestations-ng/src/foehn-address/foehn-input-address.component.html)
        - new translations with default values :
            - foehn-input-address.country.label=Pays
            - foehn-input-address.locality.label=NPA, Localité
            - foehn-input-foreign-locality.zipCode.label=Code postal
            - foehn-input-foreign-locality.locality.label=Localité
            - foehn-input-address.street.label=Rue
            - foehn-input-address.street.help-text=Exemple : Avenue de la Sallaz
            - foehn-input-address.houseNumber.label=Numéro de rue
            - foehn-input-address.houseNumber.help-text=Exemple : 40 pour une adresse à l'Avenue de la Sallaz 40
            - foehn-input-address.postOfficeBoxText.label=Case postale
            - foehn-input-address.addressLine1.label=c/o
            - foehn-input-address.addressLine2.label=Complément d'adresse

    - [foehn-navigation.component.html](projects/prestations-ng/src/foehn-navigation/foehn-navigation/foehn-navigation.component.html)
        - new translations with default values :
            - foehn-navigation.next.label=Suivant
            - foehn-navigation.previous.label=Précédent
            - foehn-navigation.transmit.label=Transmettre
            - foehn-navigation.continue-later.label=Finir la demande plus tard

    - [foehn-page-counter.component.ts](projects/prestations-ng/src/foehn-page/foehn-page-counter.component.ts)
        - new translations with default values :
            - foehn-page-counter.label=Page {currentPage} de {pageCount}

    - [foehn-boolean-radio.component.html](projects/prestations-ng/src/foehn-boolean/foehn-boolean-radio.component.html)
        - new translations with default values :
            - Oui=Oui
            - Non=Non

    - [gesdem-confirmation.component.ts](projects/prestations-ng/src/gesdem-confirmation/gesdem-confirmation.component.ts)
        - new translations with default values :
            - gesdem-confirmation.title=Confirmation
            - gesdem-confirmation.success-label=Demande transmise
            - gesdem-confirmation.abort-label=Demande abandonnée
            - gesdem-confirmation.reference-title.label=Votre numéro de référence
            - gesdem-confirmation.mail-sent.label=Vous recevrez un email de confirmation dans quelques instants.
            - gesdem-confirmation.download-pdf-recap-button=Télécharger la demande (pdf)
            - gesdem-confirmation.exit-button=Terminer
            - gesdem-confirmation.extra-content=<empty> allows to add some text in the page

    - [foehn-input-date.component.html](projects/prestations-ng/src/foehn-input-date/foehn-input-date.component.html)
        - new translations with default values :
            - foehn-input-date.day.label=Jour
            - foehn-input-date.month.label=Mois
            - foehn-input-date.year.label=Année

    - [foehn-input-time.component.html](projects/prestations-ng/src/foehn-input-time/foehn-input-time.component.html)
        - new translations with default values :
            - foehn-input-time.hours.label=Heure
            - foehn-input-time.minutes.label=Minutes

## [11.2.2]

### Updated

- [foehn-page.component.ts](projects/prestations-ng/src/foehn-page/foehn-page.component.ts)
    - fixed label "Paramètre de connexion" in header (missing "s" at the end of Paramètres)

## [11.2.1]

### Updated

- [breadcrumb-event.service.ts](projects/prestations-ng/src/foehn-breadcrumb/breadcrumb-event.service.ts)
    - updated default root breabcrumb item to display sessionInfo.espaceLabel instead of "Mon Espace"

- [foehn-page.component.ts](projects/prestations-ng/src/foehn-page/foehn-page.component.ts)
    - minor accessibility improvements on connected user sr-only labels

## [11.2.0]

### Added

- [foehn-page.component.ts](projects/prestations-ng/src/foehn-page/foehn-page.component.ts)
    - Add two default footer links.
    - Add an attribute `showDefaultTermOfUseLink` to disable or enable the default "Term of use" footer link; set by default to `true`.
    - Add an attribute `showDefaultSecurityBestPracticeLink` to disable or enable the default "Security best practice" footer link; set by default to `true`.

- [foehn-header.component.ts](projects/prestations-ng/src/foehn-header/foehn-header.component.ts)
    - new design for the header that requires prestations-be 11.2.0 to get user avatar

## [11.1.5]

### Added

- [foehn-input-address.component.html](projects/prestations-ng/src/foehn-address/foehn-input-address.component.html)
    - added some inputs to affect the presence of (facultatif) on every label :
        - `@Input() countryRequired = true`
        - `@Input() swissNpaLocalityRequired = true`
        - `@Input() streetRequired = true`
        - `@Input() streetNumberRequired = false`
        - `@Input() foreignZipCodeRequired = true`
        - `@Input() foreignLocalityRequired = true`
        - `@Input() foreignStreetRequired = true`
        - `@Input() foreignStreetNumberRequired = false`
        - `@Input() postOfficeBoxTextRequired = false`
        - `@Input() addressLine1Required = false`
        - `@Input() addressLine2Required = false`

## [11.1.4]

### Added

- [foehn-list.component.ts](projects/prestations-ng/src/foehn-list/foehn-list.component.ts)
    - Added public method `showPage(page: number, emitPageChangeEvent = false)`.

## [11.1.3]

### Updated

- [package.json](package.json)
    - Bump to tslib v2

## [11.1.2]

- Synchronize with prestations-be v11.1.2

## [11.1.1]

### Updated

- [sdk-recaptcha.component.ts](projects/prestations-ng/src/sdk-recaptcha/sdk-recaptcha.component.ts)
    - Fix on recaptcha component. Don't reset component if there's an error, otherwise the next validation won't work

## [11.1.0]

### Updated

- [package.json](package.json)
    - Updated `@dsivd/foehn` to 1.6.0. See [the changelog](https://github.com/DSI-VD/foehn/blob/master/CHANGELOG.md) for more information.

- [foehn-notfound.component.html](projects/prestations-ng/src/foehn-notfound/foehn-notfound.component.html)
- [gesdem-error.component.html](projects/prestations-ng/src/gesdem-error/gesdem-error.component.html)
    - added contextual infos for support in error pages (see https://dsi-vd.github.io/prestations-ng/error)

## [11.0.2]

### Updated

- [foehn-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.ts)
    - Updated error message when file name is not valid

- prestations-ng will now be released on npmjs under 3 tags :
    - latest : the current version (currently 11.x.x)
    - lts : previous supported version (currently ^10.15.x)
    - next : draft version used internally for testing (use at your own risks)

### Fixed

- [foehn-select.component.ts](projects/prestations-ng/src/foehn-checkables/foehn-select.component.ts)
    - Fixed `markAsDirty` not being called

- [foehn-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.ts)
    - Filenames with character '°' are not valid in ESB, so they should be seen as invalid.

## [11.0.1]

### Fixed

- [foehn-select.component.ts](projects/prestations-ng/src/foehn-checkables/foehn-select.component.ts)
    - Multiple select: fixed highlighting selected options from model

## [11.0.0]

### Updated

- [package.json](package.json)
    - Updated angular stack to ^9.0.0
    - Updated `@dsivd/foehn` to 1.5.3. See [the changelog](https://github.com/DSI-VD/foehn/blob/master/CHANGELOG.md) for more information.
    - Updated `@fortawesome/angular-fontawesome` to ^0.6.0. See [the upgrading process](https://github.com/FortAwesome/angular-fontawesome/blob/master/docs/upgrading/0.5.0-0.6.0.md)
    - Added back `^` (minor) and `~` (patch) on versions. Using `yarn upgrade` updates dependencies to their latest version based on the version range specified in the `package.json` file. The `yarn.lock` file will be recreated as well.

### Deleted

- Removed deprecated features (See [UPGRADING_V12](UPGRADING_V12.md) for replacements)
    - Component `foehn-address.component.ts` (selector: **foehn-address**)
    - Model `foehn-address.type.ts` (FoehnAddress)
    - Component `foehn-simple-upload.component.ts` (selector: **foehn-upload**)
    - Service `upload.service.ts` (UploadService)
    - Function get `appInfo` returning `ApplicationInfo` in [application-info.service.ts](projects/prestations-ng/src/sdk-appinfo/application-info.service.ts)
        - Function `isProduction` using `appInfo` in [foehn-header.component.ts](projects/prestations-ng/src/foehn-header/foehn-header.component.ts)
        - Function `getEnvironment` using `appInfo` in [foehn-header.component.ts](projects/prestations-ng/src/foehn-header/foehn-header.component.ts)

### Changed

- [foehn-header.component.ts](projects/prestations-ng/src/foehn-header/foehn-header.component.ts)
    - `getEnvironmentLabel` takes `ApplicationInfo` as a parameter

- Html property `innerHTML` has been added to following components
    - [foehn-input-address.component.html](projects/prestations-ng/src/foehn-address/foehn-input-address.component.html)
    - [foehn-input-foreign-locality.component.html](projects/prestations-ng/src/foehn-address/foehn-input-foreign-locality.component.html)
    - [foehn-autocomplete.component.html](projects/prestations-ng/src/foehn-autocomplete/foehn-autocomplete.component.html)
    - [foehn-boolean-checkbox.component.html](projects/prestations-ng/src/foehn-boolean/foehn-boolean-checkbox.component.html)
    - [foehn-boolean-radio.component.html](projects/prestations-ng/src/foehn-boolean/foehn-boolean-radio.component.html)
    - [foehn-checkbox.component.html](projects/prestations-ng/src/foehn-checkables/foehn-checkbox.component.html)
    - [foehn-radio.component.html](projects/prestations-ng/src/foehn-checkables/foehn-radio.component.html)
    - [foehn-select.component.html](projects/prestations-ng/src/foehn-checkables/foehn-select.component.html)
    - [foehn-confirm-modal.component.html](projects/prestations-ng/src/foehn-confirm-modal/foehn-confirm-modal.component.html)
    - [foehn-growl.component.html](projects/prestations-ng/src/foehn-growl/foehn-growl.component.html)
    - [foehn-input.component.html](projects/prestations-ng/src/foehn-input/foehn-input.component.html)
    - [foehn-input-textarea.component.html](projects/prestations-ng/src/foehn-input/foehn-input-textarea.component.html)
    - [foehn-input-date.component.html](projects/prestations-ng/src/foehn-input-date/foehn-input-date.component.html)
    - [foehn-input-time.component.html](projects/prestations-ng/src/foehn-input-time/foehn-input-time.component.html)
    - [foehn-modal.component.html](projects/prestations-ng/src/foehn-modal/foehn-modal.component.html)
    - [foehn-input-nav13.component.html](projects/prestations-ng/src/foehn-nav13/foehn-input-nav13.component.html)
    - [foehn-page.component.html](projects/prestations-ng/src/foehn-page/foehn-page.component.html)
    - [foehn-recap-section.component.html](projects/prestations-ng/src/foehn-recap-section/foehn-recap-section.component.html)
    - [foehn-remaining-alerts-summary.html](projects/prestations-ng/src/foehn-remaining-alerts-summary/foehn-remaining-alerts-summary.component.html)
    - [foehn-multi-upload.component.html](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.html)
    - [foehn-validation-alert-summary.component.html](projects/prestations-ng/src/foehn-validation-alert-summary/foehn-validation-alert-summary.component.html)
    - [foehn-validation-alerts.component.html](projects/prestations-ng/src/foehn-validation-alerts/foehn-validation-alerts.component.html)
    - [gesdem-confirmation.component.html](projects/prestations-ng/src/gesdem-confirmation/gesdem-confirmation.component.html)

### Fixed

- used `@Input hideNotRequiredExtraLabel` in template allowing to hide the " (facultatif)" of the label even if the `@Input required` is false
    - [foehn-autocomplete.component.html](projects/prestations-ng/src/foehn-autocomplete/foehn-autocomplete.component.html)
    - [foehn-boolean-checkbox.component.html](projects/prestations-ng/src/foehn-boolean/foehn-boolean-checkbox.component.html)
    - [foehn-boolean-radio.component.html](projects/prestations-ng/src/foehn-boolean/foehn-boolean-radio.component.html)
    - [foehn-checkbox.component.html](projects/prestations-ng/src/foehn-checkables/foehn-checkbox.component.html)
    - [foehn-radio.component.html](projects/prestations-ng/src/foehn-checkables/foehn-radio.component.html)
    - [foehn-select.component.html](projects/prestations-ng/src/foehn-checkables/foehn-select.component.html)
    - [foehn-input-date.component.html](projects/prestations-ng/src/foehn-input-date/foehn-input-date.component.html)
    - [foehn-input-time.component.html](projects/prestations-ng/src/foehn-input-time/foehn-input-time.component.html)
    - [foehn-input-nav13.component.html](projects/prestations-ng/src/foehn-nav13/foehn-input-nav13.component.html)
    - [foehn-multi-upload.component.html](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.html)

- [foehn-checkable-group.component.ts](projects/prestations-ng/src/foehn-checkables/foehn-checkable-group.component.ts)
    - fixed issue on 'elementsUrl' not processing http call when url changes

- [foehn-radio.component.ts](projects/prestations-ng/src/foehn-checkables/foehn-radio.component.ts)
    - Fixed issue on component supporting objects as value.

- [foehn-autocomplete.component.html](projects/prestations-ng/src/foehn-autocomplete/foehn-autocomplete.component.html)
    - Fixed issue on component emitting `(userInput)` event when model has not changed and having complex object as value.

### Added

- [foehn-checkable-group.component.ts](projects/prestations-ng/src/foehn-checkables/foehn-checkable-group.component.ts)
    - added function `refreshElementsUrl()` to trigger an new http call to existing `elementsUrl`

- [foehn-menu-prestation.module.ts](projects/prestations-ng/src/foehn-menu-prestation/foehn-menu-prestation.module.ts)
    - Added `FoehnMenuPrestationModule` to be able to create a prestation that has the same flow as VaudTax 2.0 with a menu
        - check [Skeleton's alternative front](https://portail.etat-de-vaud.ch/outils/git/projects/CYBSDK/repos/skeleton/browse/front-with-menu) for a complete example

## [10.16.3]

### Fixed

- [foehn-checkable-group.component.ts](projects/prestations-ng/src/foehn-checkables/foehn-checkable-group.component.ts)
    - fixed an issue when using 'elements' to populate the checkable group

## [10.16.2]

## Fixed

- [foehn-autocomplete.component.html](projects/prestations-ng/src/foehn-autocomplete/foehn-autocomplete.component.html)
    - should be able to select a proposition with the `tab` key

## Added

- [foehn-list.component.ts](projects/prestations-ng/src/foehn-list/foehn-list.component.ts)
    - Added `@Input fixedPageCount: number` allowing to force the page count when doing server-side paging.

- alert when browser is not compatible
    - [foehn-page.component.ts](projects/prestations-ng/src/foehn-page/foehn-page.component.ts)
    - [foehn-page.component.html](projects/prestations-ng/src/foehn-page/foehn-page.component.html)
    - [foehn-page.component.css](projects/prestations-ng/src/foehn-page/foehn-page.component.css)
    - [generate-browserslist.js](build-scripts/generate-browserslist.js)
        - script that generate the browser compatibility regex

### Updated

- [browserlist](src/browserslist)
    - updated list of supported browsers

```text
> 0.5% in CH
last 2 versions
Firefox ESR
not IE 11
not IE_Mob 11
Safari >= 10
ios_saf >= 10
not dead
```

- [foehn-autocomplete.component.html](projects/prestations-ng/src/foehn-autocomplete/foehn-autocomplete.component.html)
    - Improved performance for accessibility reasons
        - Use of `cdk-virtual-scroll-viewport` from Angular Material. No need to use attribute `searchValueMinCharsCount`anymore.
        - Visible elements in dropdown suggestions has been reduced to 5 elements instead of 10.

## [10.16.1]

### Updated

- avoid using conditional plural (adding an "s" between parenthesis at the end of a word)
    - [foehn-input-textarea.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-textarea.component.html)
        - character count's plural form is used when charactert left > 1
    - [foehn-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.ts)
        - split `@Input chooseButtonLabel` into separate inputs to be used depending on `@Input multiple` state :
            - `@Input chooseButtonLabel` is used when `multiple` = false and `@Input chooseButtonLabelMultiple` is used when `multiple` = true
        - split `@Input dropZoneLabel` into separate inputs to be used depending on `@Input multiple` state :
            - `@Input dropZoneLabel` is used when `multiple` = false and `@Input dropZoneLabelMultiple` is used when `multiple` = true

## [10.16.0]

### Updated

- [gesdem-confirmation.component.ts](projects/prestations-ng/src/gesdem-confirmation/gesdem-confirmation.component.ts)
    - added default link for "Terminer" button, the order is :
        - route data attribute `closeHref` :

```json
{
    "path": "confirmation",
    "component": GesdemConfirmationComponent,
    "data": {
        "order": 4,
        "closeHref": "./"
    }
}
```

        -   `@Input closeHref`
        -   default link (`https://www.vd.ch/go.to?prestation=<etapeId>`)

## [10.15.4]

### Added

- [foehn-icon-clock.component.ts](projects/prestations-ng/src/foehn-icons/foehn-icon-clock.component.ts)
    - New icon `foehn-icon-clock` available

### Updated

- [foehn-growl.component.html](projects/prestations-ng/src/foehn-growl/foehn-growl.component.html)
    - removed close button since the alert disappears automatically and the button was disturbing screen-reader users.

## [10.15.3]

### Fixed

- [support-alert.service.ts](projects/prestations-ng/src/sdk-support-alert/support-alert.service.ts)
    - Handles call to support-alert when returned body is null instead of []

## [10.15.2]

### Fixed

- [currency-formatter.directive.ts](projects/prestations-ng/src/directives/currency-formatter.directive.ts)
    - Fixed a bug that treat 0 as null value in formatting. When the value was 0, the foehn-input-number didn't display the value

## [10.15.1]

### Updated

- [README.MD](README.md)
    - Prestakit version are now aligned, you should always use the same minor version of prestations-ng and prestations-be.

## [10.15.0]

### Updated

- [package.json](package.json)
    - Updated `@dsivd/foehn` to 1.5.0. See [the changelog](https://github.com/DSI-VD/foehn/blob/master/CHANGELOG.md) for more information.

- Improved accessibility
    - [foehn-header.component.html](projects/prestations-ng/src/foehn-header/foehn-header.component.html)
    - [foehn-validation-alerts.component.html](projects/prestations-ng/src/foehn-validation-alerts/foehn-validation-alerts.component.html)
    - [foehn-validation-alert-summary.component.html](projects/prestations-ng/src/foehn-validation-alert-summary/foehn-validation-alert-summary.component.html)
    - [foehn-radio.component.html](projects/prestations-ng/src/foehn-checkables/foehn-radio.component.html)
    - [foehn-checkbox.component.html](projects/prestations-ng/src/foehn-checkables/foehn-checkbox.component.html)
    - [foehn-input-address.component.html](projects/prestations-ng/src/foehn-address/foehn-input-address.component.html)
    - [foehn-input-foreign-locality.component.html](projects/prestations-ng/src/foehn-address/foehn-input-foreign-locality.component.html)
    - [foehn-input-foreign-street.component.html](projects/prestations-ng/src/foehn-address/foehn-input-foreign-street.component.html)
    - [foehn-boolean-radio.component.html](projects/prestations-ng/src/foehn-boolean/foehn-boolean-radio.component.html)
    - [foehn-input-date.component.html](projects/prestations-ng/src/foehn-input-date/foehn-input-date.component.html)
    - [foehn-input-time.component.html](projects/prestations-ng/src/foehn-input-time/foehn-input-time.component.html)
    - [foehn-input-nav13.component.html](projects/prestations-ng/src/foehn-nav13/foehn-input-nav13.component.html)

- New error red border
    - [foehn-input.component.html](projects/prestations-ng/src/foehn-input/foehn-input.component.html)
    - [foehn-autocomplete.component.html](projects/prestations-ng/src/foehn-autocomplete/foehn-autocomplete.component.html)
    - [foehn-select.component.html](projects/prestations-ng/src/foehn-checkables/foehn-select.component.html)
    - [foehn-input-textarea.component.html](projects/prestations-ng/src/foehn-input/foehn-input-textarea.component.html)
    - [foehn-input-time.component.html](projects/prestations-ng/src/foehn-input-time/foehn-input-time.component.html)
    - [foehn-input-nav13.component.html](projects/prestations-ng/src/foehn-nav13/foehn-input-nav13.component.html)
    - [foehn-input-date.component.html](projects/prestations-ng/src/foehn-input-date/foehn-input-date.component.html)

- [foehn-page.component.ts](projects/prestations-ng/src/foehn-page/foehn-page.component.ts)
    - browser title is now FoehnPageComponent.appTitle (was pageTitle)

- [foehn-input.component.ts](projects/prestations-ng/src/foehn-input/foehn-input.component.ts)
- [foehn-input.component.html](projects/prestations-ng/src/foehn-input/foehn-input.component.html)
    - new `@Input() isErrorInherited = false` for inheriting error from parent component. See below for implementation :
        - [foehn-input-time.component.html](projects/prestations-ng/src/foehn-input-time/foehn-input-time.component.html)
        - [foehn-input-nav13.component.html](projects/prestations-ng/src/foehn-nav13/foehn-input-nav13.component.html)
        - [foehn-input-date.component.html](projects/prestations-ng/src/foehn-input-date/foehn-input-date.component.html)

## [10.14.0]

### Added

- [foehn-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.ts)
    - new `@Input showDeleteConfirmationMessage = false` to be able to ask confirmation by the user when deleting a file
    - new `@Input deleteConfirmationMessage = 'Êtes-vous sûr de vouloir supprimer ce fichier ?'`

## [10.13.3]

### Fixed

- [currency-formatter.directive.ts](projects/prestations-ng/src/directives/currency-formatter.directive.ts)
    - Fixed a bug where formatting would not happen on model load

## [10.13.2]

### Fixed

- [foehn-input-number.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-number.component.ts)
    - Fixed text selection when user navigates with tab and the number is formatted

- [foehn-form.component.ts](projects/prestations-ng/src/foehn-form/foehn-form.component.ts)
    - Listen to changes on subComponents to update registered NgModels

## [10.13.1]

### Updated

- [foehn-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.ts)
    - Multi-upload do not allow filename with illegal character (by default: /,\\,?,%,\*,:,|,",<,>).

    - Added 1 input, used for overriding illegal character properties coming from the backend.
        - overrideIllegalCharacters

- (deprecated) [foehn-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-simple-upload/foehn-upload.component.ts)
    - Simple-upload do not allow filename with illegal character.

## [10.13.0]

### Updated

- [foehn-input-nav13.component.ts](projects/prestations-ng/src/foehn-nav13/foehn-input-nav13.component.ts)
    - First input (part 1) has default swiss NAVS value "756".

- [foehn-input-nav13.component.html](projects/prestations-ng/src/foehn-nav13/foehn-input-nav13.component.html)
    - First input (part 1) is no more editable and display default swiss NAVS value "756".

- [foehn-input-address.component.html](projects/prestations-ng/src/foehn-address/foehn-input-address.component.html)
    - Updated label : "Complément d'adresse" is now "c/o".

## [10.12.0] - 2020.01.07

### Fixed

- [foehn-autocomplete.component](projects/prestations-ng/src/foehn-autocomplete/foehn-autocomplete.component.ts)
    - Autocomplete list disappear if user click on its scroll bar ;
    - Title wording correction

### Updated

- [foehn-modal.component.ts](projects/prestations-ng/src/foehn-modal/foehn-modal.component.ts)
    - Scroll to modal's top when help-modal is opened.

- [foehn-help-modal.component.html](projects/prestations-ng/src/foehn-help-modal/foehn-help-modal.component.html)
    - Prefix added on help button's name for screen reader.

- [multi-upload.service.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/multi-upload.service.ts)
    - function mapToFormData: commas are removed from label when set to avoid wrong interpretation as array of string.

## [10.11.0] - 2019.12.17

### Updated

- [foehn-breadcrumb.component.ts](projects/prestations-ng/src/foehn-breadcrumb/foehn-breadcrumb.component.ts)
    - Alerting the user that clicking on the breadcrumb will make him leave the "page" without saving is now opt-in.
        - an empty value on `BreadcrumbItem.skipLeavingAlert` (default value) is now considered as `true` so the alert will be skipped by default

## [10.10.1] - 2019.12.16

### Fixed

- [foehn-breadcrumb.component.ts](projects/prestations-ng/src/foehn-breadcrumb/foehn-breadcrumb.component.ts)
    - Don't alert the user that clicking on the breadcrumb will make him loose data when demand is transmitted.

- [gesdem-action-recovery-registration.component.ts](projects/prestations-ng/src/gesdem-action-recovery/gesdem-action-recovery-registration/gesdem-action-recovery-registration.component.ts)
    - Default recovery values are requested only when user is not connected.

## [10.10.0] - 2019.12.12

### Fixed

- [foehn-autocomplete.component](projects/prestations-ng/src/foehn-autocomplete/foehn-autocomplete.component.ts)
    - User cannot bypass autocomplete form error on submit to access next page anymore

## [10.9.0] - 2019.12.11

### Updated

- [growl-broker.service.ts](projects/prestations-ng/src/foehn-growl/growl-broker.service.ts)
    - Add possibility to specify time to display message in seconds

- [foehn-input-address.component.ts](projects/prestations-ng/src/foehn-address/foehn-input-address.component.ts)
    - street and street number are set to null if locality change. (only when country is Swiss)

- [foehn-input-address.component.ts](projects/prestations-ng/src/foehn-address/foehn-input-address.component.ts)
    - Add possibility to specify a canton for the foehn-input-address component

    ```
        <foehn-input-address
                            [label]="'label' | fromDictionary"
                            [(model)]="model"
                            [isOnlySwiss]="true"
                            [showPostOfficeBoxText]="true"
                            [showAdressLines]="false"
                            [isLabelSrOnly]="true"
                            [specifiedCanton]="'NE'"
                        ></foehn-input-address>
    ```

    Note : You have to update prestations-be to 7.14.0 minimum

## [10.8.0] - 2019.12.04

### Added

- [iban-formatter.directive.ts](projects/prestations-ng/src/directives/iban-formatter.directive.ts)
    - Adds a directive to format an Iban (swiss or internationnal)
      Example:

        ```
            <foehn-input-text ibanFormatter ...></foehn-input-text>
        ```

## [10.7.0] - 2019.12.03

- Due to `10.6.0` changes, you need to add `@fortawesome/free-regular-svg-icons` to your project dependencies. Use the command `yarn add @fortawesome/free-regular-svg-icons` to do so.

### Added

- [foehn-confirm-modal.component.ts](projects/prestations-ng/src/foehn-confirm-modal/foehn-confirm-modal.component.ts)
    - Added a confirmation modal in the foehn page.
    - Cane be trigerred by using `FoehnConfirmModalService`, see `modal-page.component` for an example

### Updated

- [foehn-breadcrumb.component.ts](projects/prestations-ng/src/foehn-breadcrumb/foehn-breadcrumb.component.ts)
    - Used `FoehnConfirmModalComponent` to alert the user that clicking on the breadcrumb will make him leave the "page" without saving

## [10.6.0] - 2019.11.28

### Updated

- [public-api.ts](projects/prestations-ng/src/public-api.ts)
    - Add FoehnPageCounterComponent export
- `@fortawesome/free-solid-svg-icons` and `@fortawesome/fontawesome-free` libraries to 5.11.2

### Added

- `@fortawesome/free-regular-svg-icons` library
- [foehn-icon-external-link-alt.component.ts](projects/prestations-ng/src/foehn-icons/foehn-icon-external-link-alt.component.ts)
- [foehn-icon-file-pdf.component.ts](projects/prestations-ng/src/foehn-icons/foehn-icon-file-pdf.component.ts)
    - New icons available (pdf and external-link)

## [10.5.0] - 2019.11.28

### Updated

- [foehn-radio.component.html](projects/prestations-ng/src/foehn-checkables/foehn-radio.component.html)
    - accept html in elements label

## [10.4.0] - 2019.11.25

### Updated

- [gesdem-confirmation.component.html](projects/prestations-ng/src/gesdem-confirmation/gesdem-confirmation.component.html)
    - Allow possibility to override download pdf base Url. Default is : 'api/document/pdf/'

## [10.3.0] - 2019.11.21

### Updated

- [foehn-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.ts)
    - Add 3 inputs, used for overriding properties coming from the backend. This is only for overriding. For example, if your prestation has multiple upload rules (first is PDF, second is JPG...).
        - overrideAcceptedExtensions
        - overrideMaxSizeInMo
        - overrideMaxFileNameLength

- [foehn-select.component.ts](projects/prestations-ng/src/foehn-checkables/foehn-select.component.ts)
    - Foehn-select has empty option when attribute 'required' and 'multiple' are false.

- [foehn-recap-section.component.html](projects/prestations-ng/src/foehn-recap-section/foehn-recap-section.component.html)
    - added "@Input() acceptEmptyValue = false" to add the possibility to show a line even if the value is empty

- [foehn-input-address.component.ts](projects/prestations-ng/src/foehn-address/foehn-input-address.component.ts)
    - Add sorting to the streetnumber list

### Fixed

- [foehn-input-nav13.component.html](projects/prestations-ng/src/foehn-nav13/foehn-input-nav13.component.html)
    - fixed missing space before (facultatif) in label

## [10.2.0] - 2019.11.01

### Updated

- Multi-upload do not allow filename exceeding 64 chars.
    - [foehn-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.ts)
- Simple-upload (deprecated) do not allow filename exceeding 64 chars.
    - [foehn-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-simple-upload/foehn-upload.component.ts)

### Added

- [foehn-input-date.component.html](projects/prestations-ng/src/foehn-input-date/foehn-input-date.component.html)
    - added @Input() to disable fields (disableDay, disableMonth, disableYear)

### Fixed

- [foehn-input-date.component.html](projects/prestations-ng/src/foehn-input-date/foehn-input-date.component.html)
    - fixed TypeError onBlur

## [10.1.1] - 2019.10.18

### Fixed

- Fixed typo in payment's error message
    - [sdk-epayment.component.ts](projects/prestations-ng/src/sdk-epayment/sdk-epayment.component.ts)

### Updated

- Support link in footer links to actual support form.
    - [foehn-browsers-support-alert.component.ts](projects/prestations-ng/src/foehn-footer/foehn-footer.component.ts)

## [10.1.0] - 2019.10.03

### Added

- Miscellaneous module
    - Abbr component for abbreviation which supports screen readers to improve accessibility
        - [foehn-abbr.ts](projects/prestations-ng/src/foehn-misc/foehn-abbr.component.ts)
        - [foehn-abbr.html](projects/prestations-ng/src/foehn-misc/foehn-abbr.component.html)
- [foehn-icon-comment-dots.component.ts](projects/prestations-ng/src/foehn-icons/foehn-icon-comment-dots.component.ts)
    - added comment-dots icon

### Updated

- Possibility to accept empty value in the recap section
    - [foehn-recap-section.component.html](projects/prestations-ng/src/foehn-recap-section/foehn-recap-section.component.html)
    - [foehn-recap-section.component.ts](projects/prestations-ng/src/foehn-recap-section/foehn-recap-section.component.ts)
    - [foehn-recap-section.type.ts](projects/prestations-ng/src/foehn-recap-section/foehn-recap-section.type.ts)

## [10.0.2] - 2019.08.29

### Updated

- Improved accessibility
    - [foehn-multi-upload.component.html](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.html)

- [abstract-page-component.ts](projects/prestations-ng/src/abstract-page-component.ts)
    - allow overriding of onFormSent method in AbstractPageComponent

### Fixed

- [foehn-input-foreign-street.component.html](projects/prestations-ng/src/foehn-address/foehn-input-foreign-street.component.html)
    - fixed foreign street label not displaying

## [10.0.1] - 2019.08.19

### Updated

- [package.json](package.json)
    - Updated angular stack to 8.2.x
    - Updated `@dsivd/foehn` to 1.3.0. See [the changelog](https://github.com/DSI-VD/foehn/blob/master/CHANGELOG.md) for more information.
    - Updated `@fortawesome/angular-fontawesome` to 0.5.0. See [the upgrading process](https://github.com/FortAwesome/angular-fontawesome/blob/master/docs/upgrading/0.4.0-0.5.0.md)
    - Added back `^` (minor) and `~` (patch) on versions. Using `yarn upgrade` updates dependencies to their latest version based on the version range specified in the `package.json` file. The `yarn.lock` file will be recreated as well.

- Improved accessibility
    - [foehn-navigation.component.html](projects/prestations-ng/src/foehn-navigation/foehn-navigation/foehn-navigation.component.html)
    - [gesdem-confirmation.component.html](projects/prestations-ng/src/gesdem-confirmation/gesdem-confirmation.component.html)
    - [foehn-multi-upload.component.html](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.html)
        - Wrapped the validation alerts into a div and set its aria-live attribute to 'assertive' on file size or extension error.

- [foehn-display-address.component.ts](projects/prestations-ng/src/foehn-address/foehn-display-address.component.ts)
    - format the address to display although the zipCode or the longName is missing on Locality.

### Fixed

- [foehn-input-address.component.html](projects/prestations-ng/src/foehn-address/foehn-input-address.component.html)
- [foehn-input-foreign-street.component.ts](projects/prestations-ng/src/foehn-address/foehn-input-foreign-street.component.ts)
- [foehn-input-foreign-street.component.html](projects/prestations-ng/src/foehn-address/foehn-input-foreign-street.component.html)
    - Fixed issue with validation error not displaying properly

## [9.6.1] - 2019.08.05

### Updated

- [foehn-checkable-group.component.ts](projects/prestations-ng/src/foehn-checkables/foehn-checkable-group.component.ts)
    - fixed bug when checking if an element is selected and `elementValueIdentity` function has been provided and `multiple` is true (use `elementValueIdentity` function instead of indexOf)

## [9.6.0] - 2019.08.02

### Updated

- [foehn-checkbox.component.html](projects/prestations-ng/src/foehn-checkables/foehn-checkbox.component.html)
    - accept html in elements label

## [9.5.3] - 2019.07.31

### Updated

- [foehn-recap-section.component.ts](projects/prestations-ng/src/foehn-recap-section/foehn-recap-section.component.ts)
    - `FoehnRecapSectionElement` object can now take an `Address` type as value
    - `dd` tag element will be displaying a `foehn-display-address` component when an address is detected (address object must at least have the following attributs `country`, `locality` and `street`)

## [9.5.2] - 2019.07.25

### Updated

- [foehn-modal.component.ts](projects/prestations-ng/src/foehn-modal/foehn-modal.component.ts)
    - Added an attribute `modalTriggerHtmlElement` to specify the DOM element used to trigger the modal opening. When closing modal, we focus back on this given element.

### Fixed

- [foehn-modal.component.ts](projects/prestations-ng/src/foehn-modal/foehn-modal.component.ts)
    - Improve the accessibility on the `foehn-modal`.

- [foehn-input-phone.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-phone.component.ts)
    - Setting `acceptInternational` to `true` will NOT ignore anymore `acceptPhone` and `acceptMobilePhone`.
    - Setting `acceptInternational` to `true` and `acceptPhone` to `false` will reject international swiss phones.
    - Setting `acceptInternational` to `true` and `acceptMobilePhone` to `false` will reject international swiss mobiles.
    - Setting `acceptInternational` to `true` and `acceptPhone` to `false` and `acceptMobilePhone` to `false` will reject international swiss phones and mobiles.
    - Changed help text for international format with swiss phone and/or mobile rejected.

## [9.5.1] - 2019.07.16

### Fixed

- [foehn-input-address.component.ts](projects/prestations-ng/src/foehn-address/foehn-input-address.component.ts)
    - Fixed issue of component crashing when receiving an empty model from back-end

## [9.5.0] - 2019.07.09

### Add

- [gesdem-action-recovery.service.ts](projects/prestations-ng/src/gesdem-action-recovery/gesdem-action-recovery.service.ts)
- [gesdem-action-recovery-registration.component.ts](projects/prestations-ng/src/gesdem-action-recovery/gesdem-action-recovery-registration/gesdem-action-recovery-registration.component.ts)
    - when "continueLater" button is clicked, default recovery values are retrieved to fill the model.

## [9.4.4] - 2019.07.05

### Fixed

- [foehn-autocomplete.component.html](projects/prestations-ng/src/foehn-autocomplete/foehn-autocomplete.component.html)
    - Fixed bug when component has a model set before suggestion list has been loaded

## [9.4.3] - 2019.07.05

### Updated

- [foehn-input-address.component.ts](projects/prestations-ng/src/foehn-address/foehn-input-address.component.ts)
    - Added field `postOfficeBoxText` to be editable by the user
    - new `@Input showPostOfficeBoxText = false` to be able to show/hide field `postOfficeBoxText`
    - new `@Input showAdressLines = true` to be able to show/hide fields `addressLine1` and `addressLine2`

## [9.4.2] - 2019.07.03

### Fixed

- [foehn-autocomplete.component.ts](projects/prestations-ng/src/foehn-autocomplete/foehn-autocomplete.component.ts)
    - Fixed error when `displayedElements` in function `shouldDisplayListbox` is NULL. Only happens when user enters component with `tab` key.

### Updated

- [foehn-input-address.component.ts](projects/prestations-ng/src/foehn-address/foehn-input-address.component.ts)
    - Removed useless function
    - Locality, Street and HouseNumber in model are resetted to NULL each time Country changes
    - Increased test coverage on component and sub-components (`foehn-input-foreign-locality` and `foehn-input-foreign-street`)

## [9.4.1] - 2019.06.27

### Fixed

- [foehn-input-address.component.ts](projects/prestations-ng/src/foehn-address/foehn-input-address.component.ts)
    - Fixed error on model changing when `isOnlySwiss` is `true` (default) and injecting an address with country other than Switzerland.

### Changed

- [session-info-data.ts](projects/prestations-ng/src/sdk-session-info/session-info-data.ts)
    - Uses new address model

## [9.4.0] - 2019.06.25

### Added

- [foehn-input-address.component.ts](projects/prestations-ng/src/foehn-address/foehn-input-address.component.ts)
    - Uses new address model coming from prestations-be.
    - By default, country is set to Switzerland (CH) and dropdown is hidden.
    - Attribute `isOnlySwiss` can be set to `false` when international addresses are needed.
    - When `isOnlySwiss` is `true` (default) and injecting an address with country other than Switzerland, address model is resetted. Country will then be set to 'CH' as default value.

## [9.3.1] - 2019.06.18

### Fixed

- [gesdem-action-recovery.service.ts](projects/prestations-ng/src/gesdem-action-recovery/gesdem-action-recovery.service.ts)
    - Multi-etape applications can now use the action recovery feature properly.

## [9.3.0] - 2019.06.18

## Removed

- [abstract-page-component.ts](projects/prestations-ng/src/abstract-page-component.ts)
    - Removed default type `any`. Model is not optional anymore.

## [9.2.1] - 2019.06.17

- Remove some deep imports to improve Ivy compatibility.

## [9.2.0] - 2019.06.13

### Added

- [foehn-page.component.ts](projects/prestations-ng/src/foehn-page/foehn-page.component.ts)
    - Add two default footer links.
    - Add an attribute `showDefaultContactFooterLink` to disable or enable the default Contact footer link; set by default to `true`.
    - Add an attribute `showDefaultGuideFooterLink` to disable or enable the default Guide footer link; set by default to `true`.

```diff
<foehn-page
    ...
+    [showDefaultContactFooterLink]="false"
+    [showDefaultGuideFooterLink]="false"
    ...
>
```

### Fixed

- [abstract-page-component.ts](projects/prestations-ng/src/abstract-page-component.ts)
    - Fix a regression on the "Reprise de la demande" feature.
- [sdk-recaptcha.component.ts](projects/prestations-ng/src/sdk-recaptcha/sdk-recaptcha.component.ts)
    - Do not display error messages multiple times.

## [9.1.0] - 2019.06.07

### Removed

Removed some deprecated features. See the [update documentation](UPGRADING_V9.md) for more information.

### Fixed

- [foehn-modal.component.ts](projects/prestations-ng/src/foehn-modal/foehn-modal.component.ts)
    - Improve the accessibility on the `foehn-modal`.

## [9.0.3] - 2019.06.06

### Fixed

- [multi-upload.service.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/multi-upload.service.ts)
    - When `multiple` property is set to `false` (acting as a single upload), document `key` is managed as it was in foehn-upload component (backwards compatibility)

## [9.0.2] - 2019.06.05

### Fixed

- [foehn-select.component.ts](projects/prestations-ng/src/foehn-checkables/foehn-select.component.ts)
    - Fix a potential issue with the `foehn-select` when the model used is a `number`.

## [9.0.1] - 2019.06.04

### Fixed

- [foehn-select.component.ts](projects/prestations-ng/src/foehn-checkables/foehn-select.component.ts)
    - Fix an issue with the display of the initial value of a `foehn-select`.

## [8.40.4] - 2019.06.07

### Fixed

- [foehn-modal.component.ts](projects/prestations-ng/src/foehn-modal/foehn-modal.component.ts)
    - Improve the accessibility on the `foehn-modal`.

## [8.40.3] - 2019.06.06

### Fixed

- [multi-upload.service.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/multi-upload.service.ts)
    - When `multiple` property is set to `false` (acting as a single upload), document `key` is managed as it was in foehn-upload component (backwards compatibility)

## [8.40.2] - 2019.06.05

### Fixed

- [foehn-select.component.ts](projects/prestations-ng/src/foehn-checkables/foehn-select.component.ts)
    - Fix a potential issue with the `foehn-select` when the model used is a `number`.

## [8.40.1] - 2019.06.04

### Fixed

- [foehn-select.component.ts](projects/prestations-ng/src/foehn-checkables/foehn-select.component.ts)
    - Fix an issue with the display of the initial value of a `foehn-select`.

## [8.40.0] - 2019.06.04

### Added

- [foehn-navigation.service.ts](projects/prestations-ng/src/foehn-navigation/foehn-navigation.service.ts)
    - Add the ability to specify a `basePath` in the `data` of the route (at root level). This
      allows to use the routing with a code-splitted module. For instance:

```typescript
// app.routing.module.ts
const routes: Routes = [
    {
        path: '',
        children: [
            { path: '', redirectTo: 'myPath', pathMatch: 'full' },
            {
                path: 'myPath', // <-----------------------
                // Lazy Loaded module
                loadChildren: './my-module/my-module.module#MyModuleModule'
            },
        ]
    }
];

// Routing of the lazy loaded module.
const routes: Routes = [
    {
        path: '',
        data: {
            root: true,
            basePath: 'myPath' // <-----------------------
        },
        children: [
            {
                path: '',
                component: MyComponent,
            [...]
```

### Fixed

- [foehn-notfound.component.ts](projects/prestations-ng/src/foehn-notfound/foehn-notfound.component.ts)
    - Do not redirect the user to the root of the project after the component has been destroyed.
- [foehn-display-address.component.ts](projects/prestations-ng/src/foehn-address/foehn-display-address.component.ts)
    - The ZIP code is now displayed only once.

## [8.39.1] - 2019.05.27

### Fixed

- [foehn-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.ts)
    - Getting a `500 Internal Server Error` would result in not replacing `{fileName}` variable in default error message.

## [8.39.0] - 2019.05.23

### Deprecated

- [foehn-address.component.ts](projects/prestations-ng/src/foehn-address/foehn-address.component.ts)
    - `foehn-address` is deprecated, used `foehn-display-address` instead.

### Added

- [foehn-input-address.component.ts](projects/prestations-ng/src/foehn-address/foehn-input-address.component.ts)
    - Add a new `foehn-input-address` component to capture a Swiss address.

```angular2html
<foehn-input-address
  [(model)]="address"
  name="test-component"
></foehn-input-address>
```

### Fixed

- [gesdem-confirmation.component.ts](projects/prestations-ng/src/gesdem-confirmation/gesdem-confirmation.component.ts)
    - Improve the display of the Download PDF and Close buttons on mobile phones.
- [foehn-page.component.ts](projects/prestations-ng/src/foehn-page/foehn-page.component.ts)
    - The component `foehn-user-connected-as` was sometimes not displayed on the first page
- [foehn-select.component.ts](projects/prestations-ng/src/foehn-checkables/foehn-select.component.ts)
    - The `foehn-select` component now supports objects as value. Please refer to the documentation.

## [8.38.1] - 2019.05.21

### Fixed

- [foehn-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.ts)
    - fixed form field label not being sent to server with file

## [8.38.0] - 2019.05.17

### Added

- [application-info.service.ts](projects/prestations-ng/src/sdk-appinfo/application-info.service.ts)
    - add a `getSafeCyberLoginUrl` observable that returns the url of the cyber login from application info or by building it if not provided.
    - add a `getSafeSupportFormUrl` observable that returns the url of the support form from application info or by building it if not provided.
    - add a `getSafeEspacesSecuriseUrl` observable that returns the url of the "Espace securise" from application info or by building it if not provided.

### Fixed

- [foehn-page.component.ts](projects/prestations-ng/src/foehn-page/foehn-page.component.ts)
    - fixed redirection link to cyberlogin when user is connected in the wrong context

- [foehn-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.ts)
    - fixed ability to set custom errors
    - keys replaced in error message: '{fileName}', '{fileMaxSize}' and '{fileExtensions}'

## [8.37.0] - 2019.05.16

### Added

- [abstract-page-component.ts](projects/prestations-ng/src/abstract-page-component.ts)
    - Add the ability to **optionally** specify the type of the form in the `AbstractPageComponent`.
      This helps with autocompletion and code inspection in IDEs.

```diff

+export class MyForm {
+    testValue: string;
+}

@Component({
    selector: 'foehn-test-page',
    templateUrl: './test-page.component.html',
})
-export class TestPageComponent extends AbstractPageComponent {
+export class TestPageComponent extends AbstractPageComponent<MyForm> {
    constructor(protected activatedRoute: ActivatedRoute) {
        super(activatedRoute);
    }

-   newForm(): any {
+   newForm(): MyForm {
        return {
            testValue: 'test',
        };
    }
}
```

## [8.36.1] - 2019.05.15

### Fixed

- [foehn-page.component.ts](projects/prestations-ng/src/foehn-page/foehn-page.component.ts)
    - The component `foehn-user-connected-as` was displayed on the confirmation page, which should not have been the case

## [8.36.0] - 2019.05.14

### Added

- [foehn-multi-upload.component.html](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.html)
- [foehn-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.ts)
    - Default setting:
        - `multiple` is `true`
        - `dragAndDrop` is `true`
        - `url` is `api/document`
        - file extension authorized `.pdf` (can be overridden by adding in back-end properties `document.file-extensions=[YOUR_EXTENSIONS_HERE]`)
        - file max size is `1 Mo` (can be overridden by changing back-end property `spring.servlet.multipart.max-file-size`)
    - Setting `multiple` to `false` acts as a single file uploader
    - Migrating from `foehn-upload` to `foehn-multi-upload` component:
        - Back-end:
            - In main `pom.xml`, bump to latest version of `application-parent` (minimum required: `6.10.0`)
            - In your `Application.java`, remove bean `buildSdkDocumentController` and import `DocumentConfig.class` in `@Import` annotation
        - Front-end:
            - Replace `<foehn-upload></foehn-upload>` by `<foehn-multi-upload></foehn-multi-upload>`
            - Remove properties: `accept`, `maxSizeInMo`, `page` and `section`
            - Add property `multiple` and set it to `false`

### Fixed

- [foehn-page.component.ts](projects/prestations-ng/src/foehn-page/foehn-page.component.ts)
    - The component `foehn-user-connected-as` is not displayed on the first page when the flag `neverConnected` is set to true

## [8.35.0] - 2019.05.13

### Added

- [gesdem-confirmation-page.component.ts](projects/prestations-ng/src/gesdem-confirmation/gesdem-confirmation.component.ts)
    - Add two options to customize the component: `downloadPdfButtonText`, `closeButtonText`. To be used through the routing:

```diff
{
    path: 'confirmation',
    component: GesdemConfirmationComponent,
    data: {
        order: 4,
        hasEmailSent: false,
        closeHref: './',
+       downloadPdfRecapButtonText: 'Télécharger la quittance (PDF)',
+       closeButtonText: 'Quitter',
        currentEtape: 1
    }
},
```

## [8.34.0] - 2019.05.09

### Added

- [gesdem-error-handler.service.ts](projects/prestations-ng/src/gesdem/gesdem-error-handler.service.ts)
    - PDF generation errors are displayed specifically (using a growl message)

### Changed

- [foehn-page.component.ts](projects/prestations-ng/src/foehn-page/foehn-page.component.ts)
    - The component `foehn-user-connected-as` is included in the foehn page and is displayed on the first page (unless you disable it using the input field `userConnectedAsDisplayed`)

## [8.33.0] - 2019.05.08

### Changed

- [foehn-list.component.ts](projects/prestations-ng/src/foehn-list/foehn-list.component.ts)
    - Added a `pageChange` `@Output` fired when the user navigates between the pages in the list. (see example in https://dsi-vd.github.io/prestations-ng/list)

## [8.32.1] - 2019.05.08

### Changed

- [gesdem-action-recovery-registration.component.ts](projects/prestations-ng/src/gesdem-action-recovery/gesdem-action-recovery-registration/gesdem-action-recovery-registration.component.ts)
    - Only display the action recovery button on the initial etape when the user is connected.

## [8.32.0] - 2019.05.02

### Changed

- [foehn-modal.component.ts](projects/prestations-ng/src/foehn-modal/foehn-modal.component.ts)
    - Improve the display of the buttons in the footer on mobile phones.
- [gesdem-action-recovery-registration.component.ts](projects/prestations-ng/src/gesdem-action-recovery/gesdem-action-recovery-registration/gesdem-action-recovery-registration.component.ts)
    - The action recovery button is now also displayed for connected users.

### Added

- [foehn-user-connected-as.component.ts](projects/prestations-ng/src/foehn-user-connected-as/foehn-user-connected-as.component.ts)
    - Add a component that displays the space on which the current user is connected. Please add this
      component in all first pages and recap pages in your application.

```angular2html
<foehn-user-connected-as></foehn-user-connected-as>
```

### Updated

- [foehn-page.component.ts](projects/prestations-ng/src/foehn-page/foehn-page.component.ts)
    - Added a modal to prevent a user from filling a form if the target audience does not match the user's category
- [foehn-help-modal.component.ts](projects/prestations-ng/src/foehn-modal/foehn-modal.component.ts)
    - Added an option that allows disabling the close button / key in the modal

## [8.31.1] - 2019.05.01

### Fixed

- [foehn-input-phone.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-phone.component.ts)
    - Changed help text for international format. Now showing swiss example instead of a french one.

## [8.31.0] - 2019.05.01

### Added

- [foehn-input-phone.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-phone.component.ts)
    - Add a `foehn-input-phone` component to standardize user's phone input. It displays a default help text showing a national phone or mobile phone number example.
    - Setting `acceptInternational` to `true` will ignore `acceptPhone` and `acceptMobilePhone`.
    - Setting `acceptPhone` and `acceptMobilePhone` to `false` modifies the default help text with an bad parameters message.
    - `acceptInternational` modifies the default help text with an international phone number example.
    - `acceptPhone` modifies the default help text with an national phone number example.
    - `acceptMobilePhone` modifies the default help text with an national mobile phone number example.
- [gesdem-handler.service.ts](projects/prestations-ng/src/gesdem/gesdem-handler.service.ts)
    - Display a message to connected users when the form is saved in GesDem.

### Updated

- [foehn-input-textarea.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-textarea.component.ts)
    - Accessibility improvements
        - user can read character counter even if he is not warned

## [8.30.1] - 2019.04.29

- [foehn-input-textarea.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-textarea.component.ts)
    - Accessibility improvements
        - user is warned when it remaines 10 characters / 0 character / limits has been exceeded

## [8.30.0] - 2019.04.26

### Updated

- Update `@dsivd/foehn` to 1.2.0. See [the changelog](https://github.com/DSI-VD/foehn/blob/master/CHANGELOG.md) for more information.

### Fixed

- [gesdem-action-recovery.service.ts](projects/prestations-ng/src/gesdem-action-recovery/gesdem-action-recovery.service.ts)
    - Remove whitespaces before sending a new recovery registration to the backend.
    - Better error handling in case of 500 errors from the backend.

### Added

- [foehn-input-textarea.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-textarea.component.ts)
    - Add possibility to display characters count on textarea through boolean input "displayCharCount"
- [gesdem-confirmation.component.ts](projects/prestations-ng/src/gesdem-confirmation/gesdem-confirmation.component.ts)
    - Manage connected link sending the user to the Espace Securise as route parameter `demandeIsClosedOnTransmit`.
      If the Demande is closed on transmit, you should set demandeIsClosedOnTransmit to true. Default is false

## [8.29.2] - 2019.04.10

### Fixed

- [foehn-page-counter.component.ts](projects/prestations-ng/src/foehn-page/foehn-page-counter.component.ts)
    - Fix a potential `Error` being thrown on some edge cases.

### Added

- [session-info-data.ts](projects/prestations-ng/src/sdk-session-info/session-info-data.ts)
    - Add an attribute `birthDateAsLocalDate` on `SessionInfoData` to match the `prestations-be` model.
      Requires `prestations-be` 6.8.0 or above.

## [8.29.1] - 2019.04.10

- [foehn-recap-section.component.ts](projects/prestations-ng/src/foehn-recap-section/foehn-recap-section.component.ts)
    - Add an `id` on the `dd` element.

## [8.29.0] - 2019.04.10

- [foehn-page-counter.component.ts](projects/prestations-ng/src/foehn-page/foehn-page-counter.component.ts)
    - Add `foehn-page-counter` that displays a standard page counter taking into account
      the pages that are unavailable due to guards.

## [8.28.0] - 2019.04.10

### Added

- [foehn-recap-section.component.ts](projects/prestations-ng/src/foehn-recap-section/foehn-recap-section.component.ts)
    - Add a `foehn-recap-section` component to standardize verification pages. See the [documentation](https://dsi-vd.github.io/prestations-ng/recap)
      for more information.

### Updated

- Bump `@dsivd/foehn` to 1.1.2

### Fixed

- Minor fixes to improve tests stability
- [date.pipe.ts](projects/prestations-ng/src/pipes/date.pipe.ts)
    - `displayDate` does not require at least on argument anymore.

## [8.27.1] - 2019.04.08

### Fixed

- [gesdem-confirmation.component.ts](projects/prestations-ng/src/gesdem-confirmation/gesdem-confirmation.component.ts)
    - display link to first page + explicit label when action is still in progress

### Added

- [gesdem-confirmation.component.ts](projects/prestations-ng/src/gesdem-confirmation/gesdem-confirmation.component.ts)
    - manage status ABANDONED in confirmation component

## [8.27.0] - 2019.04.08

### Added

- [abstract-page-component.ts](projects/prestations-ng/src/abstract-page-component.ts)
    - user is redirected to last page when action status is final (was statut = 'TRANSFERRED', is now 'TRANSFERRED' or 'ABANDONED')

## [8.26.7] - 2019.04.05

### Fixed

- [foehn-notfound.component.html](projects/prestations-ng/src/foehn-notfound/foehn-notfound.component.html)
- [foehn-remaining-alerts-summary.html](projects/prestations-ng/src/foehn-remaining-alerts-summary/foehn-remaining-alerts-summary.component.html)
- [gesdem-confirmation.component.html](projects/prestations-ng/src/gesdem-confirmation/gesdem-confirmation.component.html)
- [sdk-recaptcha.component.html](projects/prestations-ng/src/sdk-recaptcha/sdk-recaptcha.component.html)
    - Removed useless html `role="alert"` tags for accessibility reasons

## [8.26.6] - 2019.04.05

### Fixed

- [foehn-help-modal.component.ts](projects/prestations-ng/src/foehn-help-modal/foehn-help-modal.component.ts)
    - Use the title of the modal as an `sr-only` element to have a more explicit textual content on the help modal trigger button.

## [8.26.5] - 2019.04.04

### Added

- Action recovery management : Since prestations-be 6.7.0, the application will be able to secure the recovery of a previously created action by using a session cookie.
  This is made possible in prestations-ng by the following components :
    - [gesdem-action-recovery-registration.component.ts](projects/prestations-ng/src/gesdem-action-recovery/gesdem-action-recovery-registration/gesdem-action-recovery-registration.component.ts)
        - Component allowing the user to register for action recovery by providing an email address and a phone number. (integrated in FoehnNavigationComponent)
    - [gesdem-action-recovery-login.component.ts](projects/prestations-ng/src/gesdem-action-recovery/gesdem-action-recovery-login/gesdem-action-recovery-login.component.ts)
        - Component allowing the user to request and verify a password when recovering an action. (integrated in GesdemErrorComponent)

## [8.26.4] - 2019.03.27

### Fixed

- [sdk-recaptcha.component.ts](projects/prestations-ng/src/sdk-recaptcha/sdk-recaptcha.component.ts)
    - Fix an issue with IE11 and the captcha when then component is removed from the DOM.

## [8.26.3] - 2019.03.25

### Fixed

- [sdk-recaptcha.component.ts](projects/prestations-ng/src/sdk-recaptcha/sdk-recaptcha.component.ts)
    - More aggressive cleanup of the captcha when the component unmount.

## [8.26.2] - 2019.03.25

### Modified

- [sdk-epayment.component.ts](projects/prestations-ng/src/sdk-epayment/sdk-epayment.component.ts)
    - The payment panel has been deprecated. The recommended way to replace it is to add a checkbox on the recap page and to rename the button (see example in Skeleton)

### Fixed

- [sdk-recaptcha.component.ts](projects/prestations-ng/src/sdk-recaptcha/sdk-recaptcha.component.ts)
    - Reset the captcha before removing it to comply with Google's recommendations.

## [8.26.1] - 2019.03.21

### Fixed

- [sdk-recaptcha.component.ts](projects/prestations-ng/src/sdk-recaptcha/sdk-recaptcha.component.ts)
    - Fix an issue with IE11 and the reCAPTCHA integration.

## [8.26.0] - 2019.03.19

### Added

- [foehn-autocomplete.component.ts](projects/prestations-ng/src/foehn-autocomplete/foehn-autocomplete.component.ts)
    - Add an option `customValueModelGenerator` Input to help deal with custom values used in conjonction when using
      an object returned by `elementValue`.

## [8.25.1] - 2019.03.13

### Added

- Generate an `index.html` supporting a very basic SSR and displaying a message if JavaScript is not enabled.
    - You can also manually update your `angular.json` as described in [USAGE_IN_PROJECTS.md](USAGE_IN_PROJECTS.md)

### Modified

- [foehn-input-text.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-text.component.ts)
- [foehn-input-email.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-email.component.ts)
- [foehn-input-hiddent.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-hidden.component.ts)
- [foehn-input-number.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-number.component.ts)
- [foehn-input-password.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-password.component.ts)
- [foehn-input-textarea.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-textarea.component.ts)
- [foehn-input-time.component.ts](projects/prestations-ng/src/foehn-input-time/foehn-input-time.component.ts)
- [foehn-input-nav13.component.ts](projects/prestations-ng/src/foehn-nav13/foehn-input-nav13.component.ts)
    - extends new abstract class `FoehnInputStringComponent` which extends `FoehnInputComponent<string>`
    - trim model on blur (can be desactivated by using new `@Input trimOnBlur:boolean`)

- [foehn-input-textarea.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-textarea.component.ts)
    - template was not using the following parameters : autocomplete/pattern/min/max/keydown/blur/focus

## [8.23.0] - 2019.03.13

- Accessibility improvements
    - The focus is now set on the `h1` element after successfully navigating from one page to another
    - The user can now use the `ENTER` key to activate the Next button within a form
    - The focus is now set properly on the error summary or the first field on error
    - Remove some `role="alert"` on elements to improve the user experience with NVDA
    - The pagination Next/Previous controls are now buttons
    - The heading "Pagination" is now only read one time

## [8.22.1] - 2019.03.12

- [foehn-autocomplete.component.ts](projects/prestations-ng/src/foehn-autocomplete/foehn-autocomplete.component.ts)
    - Properly refresh the displayed value when the `elements` changes.

## [8.22.0] - 2019.03.11

- [foehn-autocomplete.component.ts](projects/prestations-ng/src/foehn-autocomplete/foehn-autocomplete.component.ts)
    - Add an option `elementValueIdentity` to specify the comparaison element when using an object in `elementValue`.

## [8.21.1] - 2019.03.08

- [foehn-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-simple-upload/foehn-upload.component.ts)
    - Allow to upload a file for applications that don't have reference number yet when the page is not reloaded.

## [8.21.0] - 2019.03.05

### Modified

- [foehn-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-simple-upload/foehn-upload.component.ts)
    - Preserve filename as uploaded by user (was normalized by the component)

## [8.20.1] - 2019.03.04

### Added

- [recaptcha.service.ts](projects/prestations-ng/src/sdk-recaptcha/recaptcha.service.ts)
    - Add a `getToken` method to get the latest token

## [8.20.0] - 2019.03.04

### Modified

- [foehn-input.component.ts](projects/prestations-ng/src/foehn-input/foehn-input.component.ts)
    - /!\ potentially breaking change : removed dependency on GesdemHandlerService (please use constructor injection on your component if required)

### Added

- [gesdem-error-handler.service.ts](projects/prestations-ng/src/gesdem/gesdem-error-handler.service.ts)
    - manage gesdem errors in a new service.
    - redirect to cyberlogin when an action has been created as a connected user, but the user is not currently connected
- [application-info.service.ts](projects/prestations-ng/src/sdk-appinfo/application-info.service.ts)
    - Mark `appInfo` as deprecated. Use `data` instead.

## [8.19.0] - 2019.02.28

### Added

- [sdk-recaptcha.component.ts](projects/prestations-ng/src/sdk-recaptcha/sdk-recaptcha.component.ts)
    - The public key can now be read from the `applicationInfo`. More information in the [documentation](https://dsi-vd.github.io/prestations-ng/captcha).

## [8.18.0] - 2019.02.27

### Fixed

- Fix a potential memory leak with `shareReplay` operator following the [update of RxJS to 6.4.0](https://medium.com/@cartant/rxjs-whats-changed-with-sharereplay-65c098843e95).
    - [support-alert.service.ts](projects/prestations-ng/src/sdk-support-alert/support-alert.service.ts)
    - [sdk-dictionary.service.ts](projects/prestations-ng/src/sdk-dictionary/sdk-dictionary.service.ts)

### Modified

- [sdk-recaptcha.component.ts](projects/prestations-ng/src/sdk-recaptcha/sdk-recaptcha.component.ts)
    - Refactor the component to be more reliable
    - Add a message if the captcha script from Google fails to load
    - Remove the need of specifying a `reference` to the component

## [8.17.1] - 2019.02.20

### Fixed

- [foehn-autocomplete.component.ts](projects/prestations-ng/src/foehn-autocomplete/foehn-autocomplete.component.ts)
    - IE11 now supports keyboard interaction with the component (Arrow keys and Enter key)

## [8.17.0] - 2019.02.19

### Fixed

- [foehn-header.component.html](projects/prestations-ng/src/foehn-header/foehn-header.component.html)
    - Don't display an empty environment label when the page loads.

### Added

- Add a new service to get the sessionInfo for a new application (`SessionInfoWithApplicationService`) to help when
  pre-loading a form with user information (such as first name, last name, email, etc...)

Example of usage:

```typescript
this.sessionInfoWithApplicationService.prefillForm((info: SessionInfoData) => {
    form.myForm.firstName = info.firstName;
    form.myForm.lastName = info.lastName;

    if (info.preferences) {
        form.myForm.email = info.preferences.email;
    }
});
```

## [8.16.0] - 2019.02.13

### Added

- Add an `isLabelSrOnly` `@Input` giving the possibility to add class `sr-only` (only for screen readers) on tag `<label>` or `<legend>` depending on component
    - [foehn-input.component.html](projects/prestations-ng/src/foehn-input/foehn-input.component.html)
    - [foehn-input-textarea.component.html](projects/prestations-ng/src/foehn-input/foehn-input-textarea.component.html)
    - [foehn-boolean-radio.component.html](projects/prestations-ng/src/foehn-boolean/foehn-boolean-radio.component.html)
    - [foehn-checkbox.component.html](projects/prestations-ng/src/foehn-checkables/foehn-checkbox.component.html)
    - [foehn-radio.component.html](projects/prestations-ng/src/foehn-checkables/foehn-radio.component.html)
    - [foehn-select.component.html](projects/prestations-ng/src/foehn-checkables/foehn-select.component.html)
    - [foehn-input-date.component.html](projects/prestations-ng/src/foehn-input-date/foehn-input-date.component.html)
    - [foehn-input-time.component.html](projects/prestations-ng/src/foehn-input-time/foehn-input-time.component.html)
    - [foehn-input-nav13.component.html](projects/prestations-ng/src/foehn-nav13/foehn-input-nav13.component.html)
    - [foehn-autocomplete.component.html](projects/prestations-ng/src/foehn-autocomplete/foehn-autocomplete.component.html)
    - [foehn-input-date.component.html](projects/prestations-ng/src/foehn-input-date/foehn-input-date.component.html)
    - [foehn-input-time.component.html](projects/prestations-ng/src/foehn-input-time/foehn-input-time.component.html)
    - [foehn-upload.component.html](projects/prestations-ng/src/foehn-upload/foehn-simple-upload/foehn-upload.component.html)

### Modified

- [foehn-validation-alert-summary.component.html](projects/prestations-ng/src/foehn-validation-alert-summary/foehn-validation-alert-summary.component.html)
    - Component label is now displayed in a `<span>` with `innerHTML`

- [foehn-input-nav13.component.ts](projects/prestations-ng/src/foehn-nav13/foehn-input-nav13.component.ts)
    - When `label` attribute is not set, display default `label` information

## [8.15.1] - 2019.02.13

### Fixed

- [date.helper.ts](projects/prestations-ng/src/sdk-date/date.helper.ts)
    - toDateFromNumberArray is able to parse date in array of length 5 (it happens when time is 00:00:00)

## [8.15.0] - 2019.02.11

### Added

- Add an `showDefaultCGU` `@Input` to show/hide default component CGU.
    - [sdk-epayment.component.ts](projects/prestations-ng/src/sdk-epayment/sdk-epayment.component.ts)
    - [sdk-epayment.component.html](projects/prestations-ng/src/sdk-epayment/sdk-epayment.component.html)

## [8.14.1] - 2019.02.08

### Fixed

- [foehn-help-modal.component.ts](projects/prestations-ng/src/foehn-help-modal/foehn-help-modal.component.ts)
    - Don't set the focus on the trigger when the page loads.

## [8.14.0] - 2019.02.07

### Modified

- Update [Foehn](https://github.com/DSI-VD/foehn/blob/master/CHANGELOG.md) to 1.0.6
- [foehn-form.component.ts](projects/prestations-ng/src/foehn-form/foehn-form.component.ts)
    - scroll to title summary when displaying errors. (when error summary is already rendered)
- [foehn-validation-alert-summary.component.ts](projects/prestations-ng/src/foehn-validation-alert-summary/foehn-validation-alert-summary.component.ts)
    - scroll to title summary when displaying errors. (when error summray is not yet rendered)
    - scroll to title error when clicking on an error of the summary.

### Added

- Add an `userInput` `@Output` to be fired when the user changes a value on the component.
    - [foehn-autocomplete.component.html](projects/prestations-ng/src/foehn-autocomplete/foehn-autocomplete.component.html)
    - [foehn-checkbox.component.html](projects/prestations-ng/src/foehn-checkables/foehn-checkbox.component.html)
    - [foehn-radio.component.html](projects/prestations-ng/src/foehn-checkables/foehn-radio.component.html)
    - [foehn-select.component.html](projects/prestations-ng/src/foehn-checkables/foehn-select.component.html)
    - [foehn-input-date.component.html](projects/prestations-ng/src/foehn-input-date/foehn-input-date.component.html)
    - [foehn-input-time.component.html](projects/prestations-ng/src/foehn-input-time/foehn-input-time.component.html)
    - [foehn-input-textarea.component.html](projects/prestations-ng/src/foehn-input/foehn-input-textarea.component.html)
    - [foehn-input.component.html](projects/prestations-ng/src/foehn-input/foehn-input.component.html)
    - [foehn-input-nav13.component.html](projects/prestations-ng/src/foehn-nav13/foehn-input-nav13.component.html)
    - [foehn-boolean-radio.component.html](projects/prestations-ng/src/foehn-boolean/foehn-boolean-radio.component.html)
    - [foehn-boolean-checkbox.component.html](projects/prestations-ng/src/foehn-boolean/foehn-boolean-checkbox.component.html)

## [8.13.0] - 2019.02.05

### Fixed

- [foehn-autocomplete.component.ts](projects/prestations-ng/src/foehn-autocomplete/foehn-autocomplete.component.ts)
    - Properly update the displayed value when the model changes
- Update dependencies and fix peer dependencies definition

## [8.12.0] - 2019.01.29

### Added

- [sdk-dictionary.pipe.ts](projects/prestations-ng/src/sdk-dictionary/sdk-dictionary.pipe.ts)
    - Add the ability to specify placeholders in the key. See example below.
    - Handle errors when loading the dictionary more gracefully.

```properties
my.key = Value with {myValue}
```

```html
<foehn-input-text
    [label]="'my.key' | fromDictionary: { myValue : 'value' }"
></foehn-input-text>
```

## [8.11.3] - 2019.01.28

### Changed

- Contributions from people who have left the DSI-VD or do not wish to have their name published have been obfuscated.
  Please see https://portail.etat-de-vaud.ch/outils/dsiwiki/display/PE/PrestaKit+-+OpenSource+-+Anonymisation for more information.
- Deploy the dev-tool to [https://dsi-vd.github.io/prestations-ng/](https://dsi-vd.github.io/prestations-ng/)

## [8.11.2] - 2019.01.25

### Fixed

- [foehn-input-date.component.html](projects/prestations-ng/src/foehn-input-date/foehn-input-date.component.html)
    - Unset the minimum value (min) for day and month so that the user can input "01" or "02", etc. Instead set allowNegative to false.

## [8.11.1] - 2019.01.21

### Fixed

- [foehn-input-date.component.html](projects/prestations-ng/src/foehn-input-date/foehn-input-date.component.html)
    - Properly display the "facultatif" label
- [foehn-input-time.component.html](projects/prestations-ng/src/foehn-input-time/foehn-input-time.component.html)
    - Properly display the "facultatif" label

## [8.11.0] - 2019.01.21

### Fixed

- [abstract-page-component.ts](projects/prestations-ng/src/abstract-page-component.ts)
    - `send` and `sendAndTransmit` are now guarding against double-clicks by the user.

### Changed

- [foehn-icons.module.ts](projects/prestations-ng/src/foehn-icons/foehn-icons.module.ts)
    - Remove the special imports of `@fortawesome/free-solid-svg-icons` icons now that Angular depends on Webpack 4.28
      and terser rather than uglify-es (c.f. https://fontawesome.com/how-to-use/with-the-api/other/tree-shaking)
- Replace "obligatoire" (when required) by "facultatif" (when not required) to align with Foehn
    - [foehn-autocomplete.component.html](projects/prestations-ng/src/foehn-autocomplete/foehn-autocomplete.component.html)
    - [foehn-checkbox.component.html](projects/prestations-ng/src/foehn-checkables/foehn-checkbox.component.html)
    - [foehn-radio.component.html](projects/prestations-ng/src/foehn-checkables/foehn-radio.component.html)
    - [foehn-select.component.html](projects/prestations-ng/src/foehn-checkables/foehn-select.component.html)
    - [foehn-input-date.component.html](projects/prestations-ng/src/foehn-input-date/foehn-input-date.component.html)
    - [foehn-input-time.component.html](projects/prestations-ng/src/foehn-input-time/foehn-input-time.component.html)
    - [foehn-input-textarea.component.html](projects/prestations-ng/src/foehn-input/foehn-input-textarea.component.html)
    - [foehn-input.component.html](projects/prestations-ng/src/foehn-input/foehn-input.component.html)
    - [foehn-input-nav13.component.html](projects/prestations-ng/src/foehn-nav13/foehn-input-nav13.component.html)
    - [foehn-upload.component.html](projects/prestations-ng/src/foehn-upload/foehn-simple-upload/foehn-upload.component.html)

If you've added an "facultatif" label somewhere in your prestation, please change the logic as follow:

```diff
-<span *ngIf="required" aria-hidden="true">obligatoire</span>
+<span *ngIf="!required" aria-hidden="true">facultatif</span>
```

## [8.10.0] - 2019.01.16

### Added

- [foehn-navigation.component.ts](projects/prestations-ng/src/foehn-navigation/foehn-navigation/foehn-navigation.component.ts)
    - Add a `showNextButton` property on the component to programmatically hide the next or transmit button.
- [foehn-input.component.ts](projects/prestations-ng/src/foehn-input/foehn-input.component.ts)
    - Add a `excludeFromErrorSummary` property on all input components to exclude errors from the error summary.

## [8.9.0] - 2019.01.14

### Added

- Format the code with Prettier

### Fixed

- [foehn-input-number.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-number.component.ts)
    - Do not display `undefined` upon page load when the component allows negative values with `allowNegative`
    - Auto-format amounts if the component has a `numberCurrencyFormatter` directive.

## [8.8.0] - 2018.12.19

### Added

- [foehn-help-modal.component.ts](projects/prestations-ng/src/foehn-help-modal/foehn-help-modal.component.ts)
    - Add a new component to handle a modal with a trigger, typically used for displaying
      help to the user
- Add `@angular/cdk` as a dependency. This will be moved to peer dependency hopefully at the
  major release
- Update dependencies
- Apache2 license

### Fixed

- [foehn-modal.component.html](projects/prestations-ng/src/foehn-modal/foehn-modal.component.html)
    - Improve accessibility and focus management

## [8.7.1] - 2018.12.10

### Fixed

- [sdk-epayment.component.ts](projects/prestations-ng/src/sdk-epayment/sdk-epayment.component.ts)
    - added missing providers configuration

## [8.7.0] - 2018.12.07

The package is now available on the npmjs.org registry.

## [8.6.2] - 2018.12.06

### Fixed

- [foehn-input-number.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-number.component.ts)
    - Always set `null` to the model when the field is empty

## [8.6.1] - 2018.12.04

### Fixed

- [foehn-input-number.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-number.component.ts)
    - Fix the focus jumping from one field to another with IE11

## [8.6.0] - 2018.12.03

### Fixed

- [foehn-autocomplete.component.ts](projects/prestations-ng/src/foehn-autocomplete/foehn-autocomplete.component.ts)
    - Don't nullify the value when the custom value comes from the form
- [foehn-input-number.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-number.component.ts)
    - Fix an issue where the page wouldn't load with IE11 if a `foehn-input-number` component had an initial value

### Added

- [foehn-autocomplete.component.ts](projects/prestations-ng/src/foehn-autocomplete/foehn-autocomplete.component.ts)
    - Ignore accents when searching in the results

## [8.5.0] - 2018.11.29

### Added

- [foehn-input-date.component.html](projects/prestations-ng/src/foehn-input-date/foehn-input-date.component.html)
    - Add a check on min and max values for days and month
- [foehn-autocomplete.component.ts](projects/prestations-ng/src/foehn-autocomplete/foehn-autocomplete.component.ts)
    - Add an attribute `allowCustomValue` to use the autocomplete to capture values that are not in the list

## [8.4.4] - 2018.11.26

- [support-alert-container.component.html](projects/prestations-ng/src/sdk-support-alert/support-alert-container.component.html)
    - Align the start of the text on the restore alerts button to the content below.

## [8.4.3] - 2018.11.22

- [support-alert-container.component.html](projects/prestations-ng/src/sdk-support-alert/support-alert-container.component.html)
    - Tweak the display of the restore alerts button

## [8.4.2] - 2018.11.22

### Fixed

- [foehn-header.component.html](projects/prestations-ng/src/foehn-header/foehn-header.component.html)
    - Remove unnecessary margins
    - Fix viewBox on the logo svg to be compatible with IE

## [8.4.0] - 2018.11.22

### Added

- Update `@dsivd/foehn` to 1.0.2
- [foehn-header.component.html](projects/prestations-ng/src/foehn-header/foehn-header.component.html)
    - Update the title to reflect the Foehn standard
    - Update the logo to be in line with Foehn
- [foehn-page.component.html](projects/prestations-ng/src/foehn-page/foehn-page.component.html)
    - `headerTitle` is now deprecated as it's not displayed anymore
- [gesdem-error.component.ts](projects/prestations-ng/src/gesdem-error/gesdem-error.component.ts)
    - Refresh the support alerts when an error is displayed

## [8.3.0] - 2018.11.21

### Added

- [sdk-epayment.service.ts](projects/prestations-ng/src/sdk-epayment/sdk-epayment.service.ts)
    - In createPendingPayment, the parameter baseUrl is not optional anymore

## [8.2.6] - 2018.11.20

### Added

- Export `RecaptchaService`.

## [8.2.5] - 2018.11.19

### Fixed

- [currency-formatter.directive.ts](projects/prestations-ng/src/directives/currency-formatter.directive.ts)
    - Fix `ExpressionChangedAfterItHasBeenCheckedError` being thrown.
- Export some validation alert modules.

## [8.2.3] - 2018.11.19

### Fixed

- [foehn-input-date.component.ts](projects/prestations-ng/src/foehn-input-date/foehn-input-date.component.ts)
    - The component now doesn't add zeroes to values that haven't yet been filled by the user.
- [foehn-header.component.html](projects/prestations-ng/src/foehn-header/foehn-header.component.html)
    - Fix a visual regression on the lock icon when the user is connected
- Export the `ErrorTemplate` type.
- Export `GesdemEventService`.

## [8.2.0] - 2018.11.16

### Fixed

- [foehn-input-number.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-number.component.ts)
    - Editing a value in an input number doesn't add the new user input at the end of the existing value.
    - The constructor of `FoehnInputNumberComponent` doesn't take `NumberInputService` as argument.

### Removed

- Removed `NumberInputService`.

## [8.1.1] - 2018.11.15

### Added

- export more inputs in public api :
    - [foehn-input-text.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-text.component.ts)
    - [foehn-input-textarea.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-textarea.component.ts)
    - [foehn-input-number.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-number.component.ts)
    - [foehn-input-email.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-email.component.ts)
    - [foehn-input-password.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-password.component.ts)
    - [foehn-input-hidden.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-hidden.component.ts)
    - [foehn-input-date.component.ts](projects/prestations-ng/src/foehn-input-date/foehn-input-date.component.ts)
    - [foehn-input-time.component.ts](projects/prestations-ng/src/foehn-input-time/foehn-input-time.component.ts)
    - [foehn-input-nav13.component.ts](projects/prestations-ng/src/foehn-nav13/foehn-input-nav13.component.ts)

## [8.1.0] - 2018.11.14

### Fixed

- Every components including `<foehn-validation-alerts>`
    - added an id to container div and set tabindex to -1
- [foehn-validation-alert-summary.component.ts](projects/prestations-ng/src/foehn-validation-alert-summary/foehn-validation-alert-summary.component.ts)
    - set focus to input container on link click

### Added

- [foehn-page.component.html](projects/prestations-ng/src/foehn-page/foehn-page.component.html)
    - Add support alerts in foehn-page.

```diff
<!-- 'etapeId' must be specified -->
<foehn-page
    ...
+    [etapeId]="'000000'"
    ...
>
```

## [8.0.5] - 2018.11.12

### Fixed

- Export `date-helper` dependencies properly

## [8.0.4] - 2018.11.07

### Fixed

- Export `foehn-upload` dependencies properly

## [8.0.3] - 2018.11.07

### Fixed

- [foehn-modal.module.ts](projects/prestations-ng/src/foehn-modal/foehn-modal.module.ts)
    - export FoehnModalModule

## [8.0.2] - 2018.11.02

### Fixed

- [foehn-boolean-radio.component.html](projects/prestations-ng/src/foehn-boolean/foehn-boolean-radio.component.html)
- [foehn-boolean-checkbox.component.html](projects/prestations-ng/src/foehn-boolean/foehn-boolean-checkbox.component.html)
- [foehn-checkbox.component.html](projects/prestations-ng/src/foehn-checkables/foehn-checkbox.component.html)
- [foehn-radio.component.html](projects/prestations-ng/src/foehn-checkables/foehn-radio.component.html)
    - restore name on child elements

## [8.0.1] - 2018.11.02

### Fixed

- [foehn-boolean-radio.component.html](projects/prestations-ng/src/foehn-boolean/foehn-boolean-radio.component.html)
- [foehn-boolean-checkbox.component.html](projects/prestations-ng/src/foehn-boolean/foehn-boolean-checkbox.component.html)
- [foehn-checkbox.component.html](projects/prestations-ng/src/foehn-checkables/foehn-checkbox.component.html)
- [foehn-radio.component.html](projects/prestations-ng/src/foehn-checkables/foehn-radio.component.html)
    - set attribute.name to child elements

## [8.0.0] - 2018.11.01

This release contains breaking changes. More information on how to upgrade from v7 to v8 in the dedicated section
in [Upgrading Guide](UPGRADING_V8.md).

### Changed

- `prestations-ng` is now called `@dsivd/prestations-ng`
- Depends on `@dsivd/foehn` rather than just `foehn`
- Dependencies are now peer dependencies
- Support for Angular 6 and 7
- Support for rxjs 6
- Split some features into dedicated modules to improve tree shaking. More information in the [Upgrading Guide](UPGRADING_V8.md)
- All imports are now on the `@dsivd/prestations-ng` name. More information in the [Upgrading Guide](UPGRADING_V8.md)
- Add a simple Dev Tool. More information in [CONTRIBUTING.md](CONTRIBUTING.md)
- Replace `ln -s` integration strategy with `yarn link`. More information in [CONTRIBUTING.md](CONTRIBUTING.md)
- Remove factories and use `provideIn: 'root'` in services instead
- [sdk-epayment.component.ts](projects/prestations-ng/src/sdk-epayment/sdk-epayment.component.ts)
    - Add a component to pay with Postfinance
- [sdk-epayment.component.ts](projects/prestations-ng/src/sdk-epayment/sdk-epayment.component.ts)
    - Add a component to pay with Postfinance

### Fixed

- [foehn-boolean-radio.component.ts](projects/prestations-ng/src/foehn-boolean/foehn-boolean-radio.component.ts)
    - Fix duplicated Ids

## [7.32.1] - 2018.10.24

### Fixed

- [currency-formatter.directive.ts](projects/prestations-ng/src/directives/currency-formatter.directive.ts)
    - Properly set the underline fields to `null` if there's no value in the field. This avoids sending
      `''` to the backend when the user just sets the focus on the field.

## [7.32.0] - 2018.10.19

### Added

- [foehn-boolean-radio.component.ts](projects/prestations-ng/src/foehn-boolean/foehn-boolean-radio.component.ts)
    - Add a radio (type yes/no) component to handle ternary values (undefined, true, false)

```html
<foehn-boolean-radio
    [(model)]="my.model"
    [label]="'my.model.key' | fromDictionary"
    name="my.name"
    [required]="true"
></foehn-boolean-radio>
```

## [7.31.0] - 2018.10.16

### Added

- Add the ability to import individual modules rather than `PrestationsNgModule`
  for a better tree shaking.
- Add documentation on which module to import for which feature. See [MODULES.md](MODULES.md).
- Add a npm script to automatically format the code with tslint: `npm run format`
- [foehn-input.component.html](projects/prestations-ng/src/foehn-input/foehn-input.component.html)
    - added `getCompatibleClipboardData` function which returns an IE11 compatible clipboard data (i.e. used when retrieving data from clipboard paste event)

### Fixed

- [foehn-input-number.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-number.component.ts)
    - `onPaste` function now calls `getCompatibleClipboardData` to retrieve the clipboard data from paste event

### Removed

- Remove the definition of the RxJS operators `fromEvent`, `combineLatest`, `debounceTime` and `distinctUntilChanged`
  leaking to the client applications through imports such as `import 'rxjs/add/operator/<operator>;`. If your
  prestations depends on this side effect, please import the operator directly rather than relying on `rxjs/add`.

## [Released]

## [7.30.0] - 2018.10.15

### Added

- [foehn-boolean-checkbox.component.ts](projects/prestations-ng/src/foehn-boolean/foehn-boolean-checkbox.component.ts)
    - Added a new component to handle a boolean checkbox rather than a list of elements. This should allow to hook a
      checkbox to a boolean model rather than an array of string. Using this component requires a boolean in the model.

```html
<foehn-boolean-checkbox
    [(model)]="form.myobject.booleanmodel"
    label="My Label"
    name="form.myobject.booleanmodel"
></foehn-boolean-checkbox>
```

## [7.29.1] - 2018.10.12

### Fixed

- [foehn-header.component.html](projects/prestations-ng/src/foehn-header/foehn-header.component.html)
    - Fix a visual regression on the logo.

## [7.29.0] - 2018.10.12

### Fixed

- [foehn-upload.component.html](projects/prestations-ng/src/foehn-upload/foehn-simple-upload/foehn-upload.component.html)
    - Remove a static `id` on the component
- [foehn-page.component.html](projects/prestations-ng/src/foehn-page/foehn-page.component.html)
    - The `main` section now starts by a `h1` rather than an `h2`
- [foehn-navigation.component.html](projects/prestations-ng/src/foehn-navigation/foehn-navigation/foehn-navigation.component.html)
    - Convert `h3` to `h2`
- [foehn-notfound.component.html](projects/prestations-ng/src/foehn-notfound/foehn-notfound.component.html)
    - Remove duplicated `main`
- [gesdem-confirmation.component.html](projects/prestations-ng/src/gesdem-confirmation/gesdem-confirmation.component.html)
    - Remove duplicated `main`
- [gesdem-error.component.html](projects/prestations-ng/src/gesdem-error/gesdem-error.component.html)
    - Remove duplicated `main`
- [foehn-input-number.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-number.component.ts)
    - The `pattern` attribute set on the `input` now depends of `allowDecimal` to fix an issue with iOS keyboard

### Updated

- Update (Foehn)[https://portail.etat-de-vaud.ch/outils/git/projects/CYBSDK/repos/foehn/browse/CHANGELOG.md] to 0.54
- Update font-awesome to 5.4.0
- Update some dev dependencies

### Removed

- Removed support for `FontLoaderModule` as Foehn handles the loading of fonts in the CSS. This is a potentially breaking
  change as any reference to `FontLoaderModule` must be removed. Typically where the module is overridden in a test, as shown
  below:

```diff
-TestBed.overrideModule(FontLoaderModule, { set: { providers: [] } });
```

## [7.28.2] - 2018.10.09

### Fixed

- [foehn-validation-alert-summary.component.ts](projects/prestations-ng/src/foehn-validation-alert-summary/foehn-validation-alert-summary.component.ts)
    - do not display a colon before the label when the label is null

## [7.28.1] - 2018.10.09

### Fixed

- [foehn-input.component.html](projects/prestations-ng/src/foehn-input/foehn-input.component.html)
    - hide the label (can still be set to be used by foehn-validation-alert-summary.component.ts)

## [7.28.0] - 2018.10.09

### Added

- [currency-formatter.directive.ts](projects/prestations-ng/src/directives/currency-formatter.directive.ts)
    - Remove the formatting when the user sets the focus the field
    - Allow to edit the value within a formatted field
    - Take the `allowDecimal` input in consideration for `FoehnInputNumber`

```html
<!-- Format the currency on an input text. With decimal by default -->
<foehn-input-text currencyFormatter></foehn-input-text>

<!-- Format the currency on an input number without decimal -->
<foehn-input-number
    numberCurrencyFormatter
    [allowDecimal]="false"
></foehn-input-number>

<!-- Format the currency on an input number with decimal -->
<foehn-input-number
    numberCurrencyFormatter
    [allowDecimal]="true"
></foehn-input-number>
```

## [7.27.0] - 2018.10.04

### Added

- [foehn-page.component.html](projects/prestations-ng/src/foehn-page/foehn-page.component.html)
    - The page title now supports HTML content

## [7.26.9] - 2018.10.03

### Fixed

Due to side effects introduced in some applications (wrong error message behaviour when an invalid form is submitted
for the first time)

- [abstract-page-component.ts](projects/prestations-ng/src/abstract-page-component.ts)
    - When first loading the page never show errors (even when the action already exists)

- [application-info.service.ts](projects/prestations-ng/src/sdk-appinfo/application-info.service.ts)
    - Fail more gracefully if the application info contains an empty `etapeInfos`

## [7.26.8] - 2018.09.26

### Fixed

- Dramatically decrease the build time on projects depending on prestations-ng

## [7.26.7] - 2018.09.25

### Fixed

- [foehn-validation-alert-summary.component.ts](projects/prestations-ng/src/foehn-validation-alert-summary/foehn-validation-alert-summary.component.ts)
    - display error with innerHtml, as in foehn-validation-alerts

### Added

- [foehn-form.component.ts](projects/prestations-ng/src/foehn-form/foehn-form.component.ts)
    - added the ability to disable the alert summary with the attribute "shouldDisplayAlertSummary" (defaults to true)

## [7.26.6] - 2018.09.24

### Fixed

- [foehn-input.component.html](projects/prestations-ng/src/foehn-input/foehn-input.component.html)
    - Fix invalid aria-\* attributes

- [foehn-autocomplete.component.html](projects/prestations-ng/src/foehn-autocomplete/foehn-autocomplete.component.html)
    - Fix invalid aria-\* attributes

## [7.26.5] - 2018.09.24

### Fixed

- [gesdem-confirmation.component.html](projects/prestations-ng/src/gesdem-confirmation/gesdem-confirmation.component.html)
    - When the user is connected, the "My Requests" link now properly points to the Espace Securise.

## [7.26.4] - 2018.09.24

### Fixed

- [foehn-breadcrumb.component.ts](projects/prestations-ng/src/foehn-breadcrumb/foehn-breadcrumb.component.ts)
    - Add support for the `neverConnected` Input on the component

## [7.26.3] - 2018.09.24

### Added

- [ide-formatter.directive.ts](projects/prestations-ng/src/directives/ide-formatter.directive.ts)
    - Adds a directive to format a company ide code.
      Example:

        ```html
        <foehn-input-text ideFormatter ...></foehn-input-text>
        ```

## [7.26.2] - 2018.09.21

### Fixed

- [foehn-address.component.ts](projects/prestations-ng/src/foehn-address/foehn-address.component.ts)
    - Address format was showing "null" when housingNumber was null.
- [abstract-page-component.ts](projects/prestations-ng/src/abstract-page-component.ts)
    - When first loading the page never show errors (even when the action already exists)

## [7.26.1] - 2018.09.20

### Fixed

- [breadcrumb-event.service.ts](projects/prestations-ng/src/foehn-breadcrumb/breadcrumb-event.service.ts)
    - The current breadcrumb is set even if there's an override.

## [7.26.0] - 2018.09.20

### Added

- [breadcrumb-event.service.ts](projects/prestations-ng/src/foehn-breadcrumb/breadcrumb-event.service.ts)
    - The root of the breadcrumb now points to Espace Securise if the user is connected
    - Allow a better customization of the breadcrumb using `setConfiguration`.
    - Mark `initPrestationBreadcrumb` as deprecated. Use `setConfiguration` instead.

```javascript
// Typical usage
breadcrumbService.setConfiguration({
    prestationCode: '101016',
});

// All options
breadcrumbService.setConfiguration({
    espaceSecuriseUrl: '/100002/accueil',
    allPrestationsUrl: '/100002/prestations',
    vdChUrl: 'https://www.vd.ch/',
    descriptionPageBaseUrl: 'https://www.vd.ch/go.to?prestation=',
    prestationCode: '101016',
});
```

- [foehn-notfound.component.ts](projects/prestations-ng/src/foehn-notfound/foehn-notfound.component.ts)
    - Add a page title to be consistent with other error pages.

- [application-info.service.ts](projects/prestations-ng/src/sdk-appinfo/application-info.service.ts)
    - Add a `firstEtapeInfo` observable allowing to easily access to the etape info from GesDem.

```javascript
// Example of usage
this.applicationInfoService.firstEtapeInfo.subscribe((etapeInfo) => {
    const { titreEtape, idMetierPrestation } = etapeInfo;

    this.breadcrumbService.setConfiguration({
        prestationCode: idMetierPrestation,
    });

    this.appTitle = titreEtape;
});
```

- Minor update of dev dependencies
- Add a few missing unit tests

## [7.25.0] - 2018.09.14

### Added

- [gesdem-confirmation.component.ts](projects/prestations-ng/src/gesdem-confirmation/gesdem-confirmation.component.ts)
    - Allow to customize the confirmation message displayed to connected user via a route data attribute.

```diff
data: {
   order: 5,
+    connectedConfirmationMessage: 'My Message',
}
```

## [7.24.0] - 2018.09.14

### Changed

- [gesdem-confirmation.component.ts](projects/prestations-ng/src/gesdem-confirmation/gesdem-confirmation.component.ts)
    - `GesdemRecapComponent` is now called `GesdemConfirmationComponent` to reflect the purpose of the component
    - The component now display the standard screen if the user is connected to Espace Securisé.
    - The component doesn't reset the breadcrump anymore

If you're using `GesdemRecapComponent` if your prestation, you need to update the import and the usage of the component.

```diff
-import { GesdemRecapComponent } from './gesdem-recap/gesdem-recap.component';
+import { GesdemConfirmationComponent } from './gesdem-confirmation/gesdem-confirmation.component';
```

```diff
-<gesdem-recap></gesdem-recap>
+<gesdem-confirmation></gesdem-confirmation>
```

- [gesdem-error.component.ts](projects/prestations-ng/src/gesdem-error/gesdem-error.component.ts)
    - The component now defines a page title

## [7.23.0] - 2018.09.14

### Changed

- Replaced "Obligatoire" by "obligatoire" to align with Foehn
    - [foehn-autocomplete.component.html](projects/prestations-ng/src/foehn-autocomplete/foehn-autocomplete.component.html)
    - [foehn-checkbox.component.html](projects/prestations-ng/src/foehn-checkables/foehn-checkbox.component.html)
    - [foehn-radio.component.html](projects/prestations-ng/src/foehn-checkables/foehn-radio.component.html)
    - [foehn-select.component.html](projects/prestations-ng/src/foehn-checkables/foehn-select.component.html)
    - [foehn-input-date.component.html](projects/prestations-ng/src/foehn-input-date/foehn-input-date.component.html)
    - [foehn-input-time.component.html](projects/prestations-ng/src/foehn-input-time/foehn-input-time.component.html)
    - [foehn-input-textarea.component.html](projects/prestations-ng/src/foehn-input/foehn-input-textarea.component.html)
    - [foehn-input.component.html](projects/prestations-ng/src/foehn-input/foehn-input.component.html)
    - [foehn-input-nav13.component.html](projects/prestations-ng/src/foehn-nav13/foehn-input-nav13.component.html)
    - [foehn-upload.component.html](projects/prestations-ng/src/foehn-upload/foehn-simple-upload/foehn-upload.component.html)

If you've added an "Obligatoire" label somewhere in your prestation, please change the "O" to lower case.

```diff
-<span aria-hidden="true">Obligatoire</span>
+<span aria-hidden="true">obligatoire</span>
```

## [7.22.1] - 2018.09.12

### Fixed

- [foehn-form.component.ts](projects/prestations-ng/src/foehn-form/foehn-form.component.ts)
    - Properly unregister the models when removing a component

## [7.22.0] - 2018.09.12

### Added

- [foehn-icon-edit.component.ts](projects/prestations-ng/src/foehn-icons/foehn-icon-edit.component.ts)
    - added edit icon

## [7.21.0] - 2018.08.31

### Added

- [foehn-list.component.ts](projects/prestations-ng/src/foehn-list/foehn-list.component.ts)
    - added a list that supports pagination. Example:

    ```html
    <foehn-list [list]="list" [itemsPerPage]="10" [trackByFn]="trackByDemande">
        <ng-template let-element="item" let-index="index">
            Element {{index}} : {{element}}
        </ng-template>
    </foehn-list>
    `
    ```

    - itemsPerPage is 10, if none provided
    - trackBy is done on index, if no trackBy function is provided

## [7.20.0] - 2018.08.29

### Changed

- [foehn-input.component.ts](projects/prestations-ng/src/foehn-input/foehn-input.component.ts)
    - The clear icon is now opt-in. Enable with the attribute `clearButton`. Exemple:
    ```html
    <foehn-input-text
        name="myName"
        label="myLabel"
        required="true"
        [(model)]="myModel"
        [clearButton]="true"
    ></foehn-input-text>
    ```

## [7.19.2] - 2018.08.29

### Fixed

- [foehn-upload.component.html](projects/prestations-ng/src/foehn-upload/foehn-simple-upload/foehn-upload.component.html)
    - return an explicit error when uploaded file size is higher than the portal's max upload size.

## [7.19.1] - 2018.08.29

### Fixed

- [gesdem-error.component.ts](projects/prestations-ng/src/gesdem-error/gesdem-error.component.ts)
    - Properly comes back to the first page of the prestation in case of error

## [7.19.0] - 2018.08.28

### Added

- [foehn-remaining-alerts-summary.component.ts](projects/prestations-ng/src/foehn-remaining-alerts-summary/foehn-remaining-alerts-summary.component.ts)
    - Component to include in the last page that displays an alert if some errors prevent the form to be transmitted.
- [foehn-validation-alert-summary.component.ts](projects/prestations-ng/src/foehn-validation-alert-summary/foehn-validation-alert-summary.component.ts)
    - Component that display an error summary for the foehn-form given in input.

### Changed

- [foehn-form.component.ts](projects/prestations-ng/src/foehn-form/foehn-form.component.ts)
    - Added a foehn-validation-alert-summary at the top of the form

## Fixed

- Fix small visual regressions introduced by the migration to the latest version of Foehn.

## [7.18.0] - 2018.08.28

### Added

- [abstract-page-component.ts](projects/prestations-ng/src/abstract-page-component.ts)
    - `protected setPageTitle(pageTitle: string): void` Allows to define just the page title per page.
- [breadcrumb-event.service](projects/prestations-ng/src/foehn-breadcrumb/breadcrumb-event.service.ts)
    - `initPrestationBreadcrumb(vdChUrl: string, prestationTitle: string)` Initialize the top breadcrumb shared with all pages
- [breadcrumb-event.service](projects/prestations-ng/src/foehn-breadcrumb/breadcrumb-event.service.ts)
    - `setCurrentBreadcrumb(currentItem: BreadcrumbItem)` Set the current breadcrumb
- Migration to Foehn 0.52.2. BREAKING CHANGES
    - The library no longer includes all Font Awesome icons. If a prestation is using `<i class="fa fa-something"` to
      display an icon, the prestation must include and import the icon itself similar to what's done in
      `src/foehn.icons.module.ts`. Alternatively, the prestation can use one of the `<foehn-icon-*` from the list below.

    ```html
    <foehn-icon-check></foehn-icon-check>
    <foehn-icon-check-square-o></foehn-icon-check-square-o>
    <foehn-icon-chevron-down></foehn-icon-chevron-down>
    <foehn-icon-chevron-up></foehn-icon-chevron-up>
    <foehn-icon-info-circle></foehn-icon-info-circle>
    <foehn-icon-lock></foehn-icon-lock>
    <foehn-icon-map-marker></foehn-icon-map-marker>
    <foehn-icon-minus-circle></foehn-icon-minus-circle>
    <foehn-icon-plus-circle></foehn-icon-plus-circle>
    <foehn-icon-plus-square></foehn-icon-plus-square>
    <foehn-icon-search></foehn-icon-search>
    <foehn-icon-times></foehn-icon-times>
    <foehn-icon-trash-alt></foehn-icon-trash-alt>
    <foehn-icon-unlock-alt></foehn-icon-unlock-alt>
    ```

### Fixed

- [foehn-header.component.html](projects/prestations-ng/src/foehn-header/foehn-header.component.html)
    - Properly navigate to the page content with using the skip links.
- [ndc-formatter.directive.ts](projects/prestations-ng/src/directives/ndc-formatter.directive.ts)
    - fixed an issue when updating an existing value.

## [7.17.1] - 2018.08.27

### Fixed

- [foehn-input-hidden.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-hidden.component.ts)
    - prevent the clear icon to be displayed in the hidden component.

## [7.17.0] - 2018.08.27

### Added

- [foehn-input-text.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-text.component.ts)
- [foehn-input-email.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-email.component.ts)
- [foehn-input-number.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-number.component.ts)
- [foehn-input-password.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-password.component.ts)
- [foehn-input-time.component.ts](projects/prestations-ng/src/foehn-input-time/foehn-input-time.component.ts)
- [foehn-input-date.component.ts](projects/prestations-ng/src/foehn-input-date/foehn-input-date.component.ts)
    - Added a clear icon as in [foehn-autocomplete.component.ts](projects/prestations-ng/src/foehn-autocomplete/foehn-autocomplete.component.ts)

### Changed

- [foehn-autocomplete.component.html](projects/prestations-ng/src/foehn-autocomplete/foehn-autocomplete.component.html)
    - Improve the screen reader compatibility of the component with NVDA, JAWS and VoiceOver on iOS
- [ndc-formatter.directive.ts](projects/prestations-ng/src/directives/ndc-formatter.directive.ts)
    - Format tax payer numbers from 1 to 8 digits properly

## [7.16.0] - 2018.08.21

### Fixed

- [foehn-input.component.ts](projects/prestations-ng/src/foehn-input/foehn-input.component.ts)
    - Revert the fix on the errors as it introduces a nasty side effect.
- [foehn-header.component.html](projects/prestations-ng/src/foehn-header/foehn-header.component.html)
    - Remove unnecessary skiplinks

## [7.15.0] - 2018.08.21

### Added

- [currency-formatter.directive.ts](projects/prestations-ng/src/directives/currency-formatter.directive.ts)
    - Adds a directive to format a currency input on a foehn-input-number.
      Example:

        ```
            <foehn-input-number numberCurrencyFormatter ...></foehn-input-text>
        ```

## [7.14.0] - 2018.08.20

### Added

- [foehn-header.component.html](projects/prestations-ng/src/foehn-header/foehn-header.component.html)
    - Allow using the foehn header with a back-office connected via IAM ACV (no context)

## [7.13.0] - 2018.08.17

### Added

- [application-info.ts](projects/prestations-ng/src/sdk-appinfo/application-info.ts)
    - Add the ability to get the `EtapeInfo` containing the tile of the step from the `ApplicationInfo`.

### Fixed

- [foehn-upload.component.html](projects/prestations-ng/src/foehn-upload/foehn-simple-upload/foehn-upload.component.html)
    - Properly set the focus on the upload component in case of error
    - Add a style on the select file button

## [7.12.4] - 2018.08.15

### Fixed

- [foehn-input.component.ts](projects/prestations-ng/src/foehn-input/foehn-input.component.ts)
    - Properly display errors in components nested into other components when the page loads.

## [7.12.3] - 2018.08.14

### Added

- [currency-formatter.directive.ts](projects/prestations-ng/src/directives/currency-formatter.directive.ts)
    - Adds a directive to format a currency input.
      Example:

        ```
            <foehn-input-text currencyFormatter ...></foehn-input-text>
        ```

## [7.12.2] - 2018.08.14

### Fixed

- [foehn-navigation.component.ts](projects/prestations-ng/src/foehn-navigation/foehn-navigation/foehn-navigation.component.ts)
    - Properly handles skipping more than one route when using dynamic routing.

## [7.12.1] - 2018.08.10

### Added

- [ndc-formatter.directive.ts](projects/prestations-ng/src/directives/ndc-formatter.directive.ts)
    - Adds a directive to format a swiss taxpayer code.
      Example:

        ```
            <foehn-input-text ndcFormatter ...></foehn-input-text>
        ```

## [7.11.0] - 2018.08.09

### Added

- [sdk-dictionary.pipe.ts](projects/prestations-ng/src/sdk-dictionary/sdk-dictionary.pipe.ts)
    - Add a simple pipe to get the data from the dictionary assuming the prestation supports calls to /api/dictionary.
      Example:

        ```
            <label for="myId">{{'name.of.the.key.from.the.dictionary` | fromDictionary}}</label>
        ```

## [7.10.0] - 2018.08.07

### Added

- [foehn-navigation.component.ts](projects/prestations-ng/src/foehn-navigation/foehn-navigation/foehn-navigation.component.ts)
    - The navigation component now evaluates canActivate guards on the children routes when doing a next() and a
      previous(). Only supports guards returning a boolean. This feature is useful to create dynamic workflow based
      on user inputs.

- [gesdem-handler.service.ts](projects/prestations-ng/src/gesdem/gesdem-handler.service.ts)
    - Display 'session expired' message and redirect to prestation first page if http error 401 is thrown by GesDem. This means that session cookie is expired.

## [7.9.5] - 2018.07.27

### Changed

- [foehn-input-text.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-text.component.ts)
    - Bugfix - Conservation de la référence du timeout afin d'éviter d'écraser une valeur dans l'input text.

## [7.9.3] - 2018.07.18

### Changed

- [backend-reponse.ts](projects/prestations-ng/src/backend-response.ts)
    - Added initialisationDateTime and transfertDateTime in class GesdemMeta. InitialisationDate and transferDate are still available.

- [foehn-modal.component.html](projects/prestations-ng/src/foehn-modal/foehn-modal.component.html)
    - Align modal to foehn style

## [7.9.0] - 2018.07.12

### Changed

- [foehn-form.component.ts](projects/prestations-ng/src/foehn-form/foehn-form.component.ts)
    - All the children of foehn-form (all inputs) now have an Id at the host level
    - Remove the \*Container Id on all the children of foehn-form

This change will have an impact on any external systems, such as automated tests, that might rely
on these ids.

## [7.8.7] - 2018.07.11

### Changed

- [foehn-input-number.component.ts](projects/prestations-ng/src/foehn-input/foehn-input.component.ts)
    - Fixed bug where maxLength was not respected.

### Removed

- [foehn-input-number.component.ts](projects/prestations-ng/src/foehn-input/foehn-input.component.ts)
    - removed "allowTrailingAndLeadingZeros", this should by done with a directive on blur
        - we don't want to change the user input as he's typing.

## [7.8.6] - 2018.07.10

- [foehn-address.html](projects/prestations-ng/src/foehn-address/foehn-address.component.html)
    - Properly display the town rather than the locality (which is an Id)

## [7.8.5] - 2018.07.09

### Changed

- [foehn-input-number.component.ts](projects/prestations-ng/src/foehn-input/foehn-input.component.ts)
    - Fixed bug on IE (number with decimal was not possible with the num pad)

### Added

- [foehn-input-number.component.ts](projects/prestations-ng/src/foehn-input/foehn-input.component.ts)
    - Added new Input() "allowTrailingAndLeadingZeros", set to true by default.

## [7.8.4] - 2018.07.09

### Changed

- [foehn-input.component.ts](projects/prestations-ng/src/foehn-input/foehn-input.component.ts)
    - Add focus and blur support
- [foehn-input.component.html](projects/prestations-ng/src/foehn-input/foehn-input.component.html)
    - Added call to onFocus and onBlur functions

## [7.8.2] - 2018.07.02

### Added

- [date.pipe.ts](projects/prestations-ng/src/pipes/date.pipe.ts)
    - Add a pipe to display dates in fr-CH format. Supports the array data source (e.g. [2017, 12, 23, 23, 59, 59])
- [formatIde.pipe.ts](projects/prestations-ng/src/pipes/formatIde.pipe.ts)
    - Add a pipe to format the IDE number (e.g. CHE-123.456.789)

## [7.8.1] - 2018.06.25

### Added

- [foehn-address.html](projects/prestations-ng/src/foehn-address/foehn-address.component.html)
    - Add a component to display an address

## [7.7.2] - 2018.06.21

### Changed

- [foehn-page.component.html](projects/prestations-ng/src/foehn-page/foehn-page.component.html)
    - Reversed title tags `<h1>` and `<h2>` for accessibility reasons
- [foehn-validation-alerts.component.html](projects/prestations-ng/src/foehn-validation-alerts/foehn-validation-alerts.component.html)
    - Error messages now displayed in `innerHtml` tag for Html injection

## [7.7.1] - 2018.06.14

### Changed

- [foehn-page.component.html](projects/prestations-ng/src/foehn-page/foehn-page.component.html)
    - Added id on `<h1>` and `<h2>` tag
- [foehn-breadcrumb.component.html](projects/prestations-ng/src/foehn-breadcrumb/foehn-breadcrumb.component.html)
    - Added id on `<nav>` tag

## [7.7.0] - 2018.06.14

### Changed

- Official LTS version (v7.7)

## [7.6.6] - 2018.06.14

### Fixed

- [gesdem-confirmation.component.ts](projects/prestations-ng/src/gesdem-confirmation/gesdem-confirmation.component.ts)
    - Now always load the recaptcha in French

## [7.6.5] - 2018.06.13

### Changed

- [foehn-page.component.html](projects/prestations-ng/src/foehn-page/foehn-page.component.html)
    - `<h1>` tag has now a h2 class
    - `<h2>` tag has now a h1 class
    - Changed margin for `<h1>` and `<h2>`

### Added

- [abstract-page-component.ts](projects/prestations-ng/src/abstract-page-component.ts)
    - `protected initPageInfo(vdChUrl: string, prestationTitle: string, pageTitle: string): void` which can be call in each prestation page. Creates breadcrumb, sets page and browser tab title.

## [7.6.3] - 2018.06.13

### Fixed

- [abstract-page-component.ts](projects/prestations-ng/src/abstract-page-component.ts)
    - fix sendAndTransmit bug on critical error

## [7.6.2] - 2018.06.12

### Fixed

- [gesdem-confirmation.component.ts](projects/prestations-ng/src/gesdem-confirmation/gesdem-confirmation.component.ts)
    - Set page title to 'Confirmation'
    - Reset breadcrumb (no display in last page)

## [7.6.1] - 2018.06.12

### Changed

- [foehn-page.component.ts](projects/prestations-ng/src/foehn-page/foehn-page.component.ts)
    - Subscribes to `foehnPageObservable()` and updates page `<h2>` title and browser tab title when using `setPageTitle` function of [foehn-page.service.ts](projects/prestations-ng/src/foehn-page/foehn-page.service.ts)
- [foehn-page.component.html](projects/prestations-ng/src/foehn-page/foehn-page.component.html)
    - Changed layout to match Foehn
    - Added Foehn breadcrumb ([foehn-breadcrumb.component.ts](projects/prestations-ng/src/foehn-breadcrumb/foehn-breadcrumb.component.ts))
- [gesdem-confirmation.component.ts](projects/prestations-ng/src/gesdem-confirmation/gesdem-confirmation.component.ts)
    - Added BreadcrumbEventService for extend
    - Added FoehnPageService for extend
- [abstract-page-component.ts](projects/prestations-ng/src/abstract-page-component.ts)
    - Added BreadcrumbEventService for extend
    - Added FoehnPageService for extend

### Added

- Breadcrumb component :
    - [foehn-breadcrumb.component.ts](projects/prestations-ng/src/foehn-breadcrumb/foehn-breadcrumb.component.ts)
        - `@Input() public breadcrumbItems` populates the breadcrumb with breadcrumbItems
        - `@Input() public currentNav` used for screen reader only to announce current location
    - [foehn-breadcrumb.component.html](projects/prestations-ng/src/foehn-breadcrumb/foehn-breadcrumb.component.html)
        - A Foehn like breadcrumb
        - Populate breadcrumb items (BreadcrumbItem class) with either **routerLink** or **url** (putting **null** when not desired) for `<a>` tag to use `routerLink` or normal `href`
        - When `breadcrumbItems` is empty, component is not displayed
    - [breadcrumb.ts](projects/prestations-ng/src/foehn-breadcrumb/breadcrumb.ts)
        - Breadcrumb class with two attributes :
            - `breadcrumbItems: BreadcrumbItem[]`
            - `current: BreadcrumbItem`
        - BreadcrumbItem class with three attributes :
            - `url: string`
            - `routerLink: string`
            - `label: string`
    - [breadcrumb-event.service.ts](projects/prestations-ng/src/foehn-breadcrumb/breadcrumb-event.service.ts)
        - Subscribe on `breadcrumbObservable()` to retrieve data sent when breadcrumb is populate with breadcrumb service
        - Populate breadcrumb with `Breadcrumb` class using `setBreadcrumb` function
- [foehn-page.service.ts](projects/prestations-ng/src/foehn-page/foehn-page.service.ts)
    - Subscribe on `foehnPageObservable()` to retrieve page title sent by service
    - Populate page title using `setPageTitle` function (populates `<h2>` title below breadcrumb and adds title in browser tab to improve accessibility)

## [7.5.2] - 2018.06.08

### Changed

- [foehn-autocomplete.component.html](projects/prestations-ng/src/foehn-autocomplete/foehn-autocomplete.component.html)
    - Improve the screen reader compatibility of the component with NVDA, JAWS and VoiceOver on iOS

## [7.5.1] - 2018.06.06

### Changed

- [foehn-autocomplete.component.html](projects/prestations-ng/src/foehn-autocomplete/foehn-autocomplete.component.html)
    - Improve the screen reader compatibility of the component
    - The clear field button can now be activated using the keyboard
- [foehn-upload.component.html](projects/prestations-ng/src/foehn-upload/foehn-simple-upload/foehn-upload.component.html)
    - The upload button isn't triggered when the user submits the form anymore

## [7.4.0] - 2018.05.31

### Added

- All the foehn checkables have now a `<ng-content></ng-content>` between the validation alerts and the helpText
- Updated SessionInfoData preferences with new attributes (phone / adresseCourrier / adresseFacturation / adresseLivraison)

## [7.3.2] - 2018.05.18

### Added

- Changed [foehn-checkable-group.component.ts](projects/prestations-ng/src/foehn-checkables/foehn-checkable-group.component.ts)
    - Added `[allElementDisabled]` as input : disable all elements with one new @input

## [7.3.1] - 2018.05.17

### Added

- Changed [foehn-modal.component.html](projects/prestations-ng/src/foehn-modal/foehn-modal.component.html)
    - Added `[ng-content]` to modal body
- Changed [foehn-modal.component.ts](projects/prestations-ng/src/foehn-modal/foehn-modal.component.ts)
    - Added `@Input() public id: string;`
    - Added `@Input() public name: string;`
    - Added `@Input() public modalSize: string;` which is boostrap modal size (i.e. modal-sm, modal-lg or nothing for medium)

## [7.3.0] - 2018.05.15

### Changed

- [foehn-header.component.html](projects/prestations-ng/src/foehn-header/foehn-header.component.html)
    - Changed `<h1>` tag into `<span>` to be used as a grouping title (i.e.: Usefull for Espace Sécurisé)

### Added

- Changed [foehn-header.component.html](projects/prestations-ng/src/foehn-header/foehn-header.component.html)
    - Added a few CSS classes
- Changed [foehn-page.component.ts](projects/prestations-ng/src/foehn-page/foehn-page.component.ts)
    - Added `@Input headerTitle` to display a grouping title in [foehn-header.component.html](projects/prestations-ng/src/foehn-header/foehn-header.component.html) (i.e.: Usefull for Espace Sécurisé)
- Changed [foehn-page.component.html](projects/prestations-ng/src/foehn-page/foehn-page.component.html)
    - Added `<h1>` tag in `<main>` tag

## [7.2.3] - 2018.05.07

### Changed

- Updated [foehn-header.component.html](projects/prestations-ng/src/foehn-header/foehn-header.component.html)
    - Added div element to display environment label
- Updated [foehn-header.component.ts](projects/prestations-ng/src/foehn-header/foehn-header.component.ts)
    - Added methods to return environment label
- Updated [application-info.ts](projects/prestations-ng/src/sdk-appinfo/application-info.ts)
    - Added environmentLabel property
- Updated [application-info.service.ts](projects/prestations-ng/src/sdk-appinfo/application-info.service.ts)
    - Set applicationInfo.environmentLabel value

### Added

- Changed [foehn-header.component.css](projects/prestations-ng/src/foehn-header/foehn-header.component.css)
    - Added styles for environment label
    - Added tansparency on banner

## [7.1.0] - 2018-04-17

### Changed

- Updated [foehn-input-number.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-number.component.ts)
    - Changed RegEx for decimal and negative decimal

### Added

- Changed [foehn-input-number.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-number.component.ts)
    - Added controls on Pasted data
    - Added control on MIN and MAX

## [7.0.1] - 2018-04-11

## Fixed

- Fixed [foehn-autocomplete.component.ts](projects/prestations-ng/src/foehn-autocomplete/foehn-autocomplete.component.ts)
    - DispatchEvent by creating an event the old-fashioned way for IE to understand (See [developer.mozilla.org](https://developer.mozilla.org/en-US/docs/Web/Guide/Events/Creating_and_triggering_events#Creating_custom_events))
- Fixed [foehn-form.component.ts](projects/prestations-ng/src/foehn-form/foehn-form.component.ts) typing issues

## [7.0.0] - 2018-04-11

## Fixed

- Fixed [foehn-form.component.ts](projects/prestations-ng/src/foehn-form/foehn-form.component.ts)
    - register / unregister properly nested foehn-input components
    - added function `updateRegisteredNgModels`
    - added function `getAllNativeModels`
    - added function `getAllComponents`
    - fixed function `focusFirstInError`
    - fixed function `focusFirst`
    - removed getter `allChildrenInputComponents`
    - removed public function `registerComponent`
- Fixed [foehn-input.component.ts](projects/prestations-ng/src/foehn-input/foehn-input.component.ts)
    - renamed public function `getNaviteInputList` into `getNativeInputList`
    - added public function `getMeAndSubComponents`
- Fixed hiding error in [foehn-autocomplete.component.ts](projects/prestations-ng/src/foehn-autocomplete/foehn-autocomplete.component.ts)
- Fixed hiding error in [foehn-select.component.ts](projects/prestations-ng/src/foehn-checkables/foehn-select.component.ts)

### Changed

- Changed [foehn-navigation.component.html](projects/prestations-ng/src/foehn-navigation/foehn-navigation/foehn-navigation.component.html)
    - Added new foehn design and layout
    - Now displaying as link showing previous/next step as 'X sur Y' for accessibility reasons

## [6.0.7] - 2018-04-10

### Fixed

- Now waiting for pending files upload before form is transmitted

## [6.0.4] - 2018-03-29

### Changed

- Manage recap download pdf button presence as route parameter in [gesdem-confirmation.component.ts](projects/prestations-ng/src/gesdem-confirmation/gesdem-confirmation.component.ts). You can hide this button with parameter showDownloadPdfRecapButton = false. Default is true
    - `{path: 'confirmation', component: GesdemConfirmationComponent, data: {order: 5, hasEmailSent: true, closeHref: closeHref, currentEtape: 1, showDownloadPdfRecapButton: false }}`
- Manage gesdem currentEtape as route parameter in [gesdem-confirmation.component.ts](projects/prestations-ng/src/gesdem-confirmation/gesdem-confirmation.component.ts) for custom PDF url. See routing example below:
    - `{path: 'confirmation', component: GesdemConfirmationComponent, data: {order: 5, hasEmailSent: true, closeHref: closeHref, currentEtape: 1}}`

## [6.0.2] - 2018-03-28

### Changed

- Cleanup useless `console.log` in [foehn-navigation.service.ts](projects/prestations-ng/src/foehn-navigation/foehn-navigation.service.ts)

## [6.0.1] - 2018-03-27

### Added

- Added [foehn-icon-plus-square.ts](projects/prestations-ng/src/foehn-icons/foehn-icon-plus-square.component.ts)
- Removed **placeholder** property due to accessibility issues
    - Changed [foehn-input.component.ts](projects/prestations-ng/src/foehn-input/foehn-input.component.ts)
    - Changed [foehn-input.component.html](projects/prestations-ng/src/foehn-input/foehn-input.component.html)
- Added [foehn-icon-trash-alt.ts](projects/prestations-ng/src/foehn-icons/foehn-icon-trash-alt.component.ts)

## [6.0.0] - 2018-03-22

### Changed

- Changed [foehn-input-textarea.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-textarea.component.ts)
- Changed [foehn-select.component.ts](projects/prestations-ng/src/foehn-checkables/foehn-select.component.ts)
- Changed [foehn-autocomplete.component.ts](projects/prestations-ng/src/foehn-autocomplete/foehn-autocomplete.component.ts)
    - When setting searchValueMinCharsCount > 0 default placeholder applied
- HTML markup of `@checkbox` has changed. The `<input>` is now outside of the `<label>` (Foehn [changelog](http://dsi-vd.github.io/foehn/docs/changelog) [0.47.0] 2018-03-14)
- Removed **vendor.css** (Foehn [changelog](http://dsi-vd.github.io/foehn/docs/changelog) [0.41.0] 2017-12-22)
- HTML markup of `@radio` has changed. The `<input>` is now outside of the `<label>` (Foehn [changelog](http://dsi-vd.github.io/foehn/docs/changelog) [0.47.0] 2018-03-14)
- Upgrade Fontawesome to v5
    - Update [foehn-icon-check.component.ts](projects/prestations-ng/src/foehn-icons/foehn-icon-check.component.ts)
    - Update [foehn-icon-check-square-o.component.ts](projects/prestations-ng/src/foehn-icons/foehn-icon-check-square-o.component.ts)
    - Update [foehn-icon-chevron-down.component.ts](projects/prestations-ng/src/foehn-icons/foehn-icon-chevron-down.component.ts)
    - Update [foehn-icon-chevron-up.component.ts](projects/prestations-ng/src/foehn-icons/foehn-icon-chevron-up.component.ts)
    - Update [foehn-icon-info-circle.component.ts](projects/prestations-ng/src/foehn-icons/foehn-icon-info-circle.component.ts)
    - Update [foehn-icon-lock.component.ts](projects/prestations-ng/src/foehn-icons/foehn-icon-lock.component.ts)
    - Update [foehn-icon-map-marker.component.ts](projects/prestations-ng/src/foehn-icons/foehn-icon-map-marker.component.ts)
    - Update [foehn-icon-minus-circle.component.ts](projects/prestations-ng/src/foehn-icons/foehn-icon-minus-circle.component.ts)
    - Update [foehn-icon-plus-circle.component.ts](projects/prestations-ng/src/foehn-icons/foehn-icon-plus-circle.component.ts)
    - Update [foehn-icon-search.component.ts](projects/prestations-ng/src/foehn-icons/foehn-icon-search.component.ts)
    - Update [foehn-icon-times.component.ts](projects/prestations-ng/src/foehn-icons/foehn-icon-times.component.ts)
    - Update [foehn-icon-unlock-alt.component.ts](projects/prestations-ng/src/foehn-icons/foehn-icon-unlock-alt.component.ts)
    - Added accessibility on all icons
- Removed `.vd-btn-chevron-*` class in `@button-back-to-top` (Foehn [changelog](http://dsi-vd.github.io/foehn/docs/changelog) [0.41.0] 2017-12-22)
- Rename `.card-block` class in `.card-body` (Foehn [changelog](http://dsi-vd.github.io/foehn/docs/changelog) [0.36.0] 2017-10-19)

### Fixed

- Upgrade to **Foehn 0.48.1**
