@dsivd/prestations-ng 14.5.27 → 14.6.10-beta.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (655) hide show
  1. package/CHANGELOG.md +1499 -176
  2. package/CONTRIBUTING.md +35 -14
  3. package/ESLINT_MIGRATION_GUIDE.md +342 -275
  4. package/README.md +4 -0
  5. package/README_COMMON.md +33 -0
  6. package/UPGRADING_V14.md +2 -0
  7. package/UPGRADING_V15.md +116 -0
  8. package/UPGRADING_V16.md +736 -0
  9. package/abstract-page-component.d.ts +8 -8
  10. package/directives/currency-formatter.directive.d.ts +4 -1
  11. package/directives/iban-formatter.directive.d.ts +1 -1
  12. package/directives/ide-formatter.directive.d.ts +1 -1
  13. package/directives/ndc-formatter.directive.d.ts +1 -1
  14. package/dsivd-prestations-ng-v14.6.10-beta.6.tgz +0 -0
  15. package/esm2020/abstract-page-component.mjs +212 -0
  16. package/esm2020/directives/currency-formatter.directive.mjs +143 -0
  17. package/{esm2015/directives/formatter.module.js → esm2020/directives/formatter.module.mjs} +8 -8
  18. package/{esm2015/directives/iban-formatter.directive.js → esm2020/directives/iban-formatter.directive.mjs} +4 -4
  19. package/{esm2015/directives/ide-formatter.directive.js → esm2020/directives/ide-formatter.directive.mjs} +4 -4
  20. package/{esm2015/directives/ndc-formatter.directive.js → esm2020/directives/ndc-formatter.directive.mjs} +4 -4
  21. package/{esm2015/dsivd-prestations-ng.js → esm2020/dsivd-prestations-ng.mjs} +2 -2
  22. package/esm2020/foehn-address/address.type.mjs +10 -0
  23. package/esm2020/foehn-address/foehn-address.module.mjs +55 -0
  24. package/{esm2015/foehn-address/foehn-display-address.component.js → esm2020/foehn-address/foehn-display-address.component.mjs} +5 -9
  25. package/esm2020/foehn-address/foehn-input-address.component.mjs +467 -0
  26. package/esm2020/foehn-address/foehn-input-foreign-locality.component.mjs +66 -0
  27. package/esm2020/foehn-address/foehn-input-foreign-street.component.mjs +55 -0
  28. package/esm2020/foehn-agenda/calendar.type.mjs +3 -0
  29. package/esm2020/foehn-agenda/current-week.type.mjs +4 -0
  30. package/esm2020/foehn-agenda/day-slots.type.mjs +3 -0
  31. package/esm2020/foehn-agenda/foehn-agenda-navigation/foehn-agenda-navigation.component.mjs +74 -0
  32. package/esm2020/foehn-agenda/foehn-agenda-timeslot-panel/foehn-agenda-timeslot-panel.component.mjs +242 -0
  33. package/esm2020/foehn-agenda/foehn-agenda.component.mjs +95 -0
  34. package/esm2020/foehn-agenda/foehn-agenda.module.mjs +62 -0
  35. package/esm2020/foehn-agenda/pagination-week.type.mjs +3 -0
  36. package/esm2020/foehn-agenda/selected-slot.type.mjs +3 -0
  37. package/esm2020/foehn-autocomplete/foehn-autocomplete.component.mjs +675 -0
  38. package/esm2020/foehn-autocomplete/foehn-autocomplete.module.mjs +40 -0
  39. package/esm2020/foehn-boolean/foehn-boolean-checkbox.component.mjs +28 -0
  40. package/esm2020/foehn-boolean/foehn-boolean-radio.component.mjs +40 -0
  41. package/esm2020/foehn-boolean/foehn-boolean.module.mjs +33 -0
  42. package/esm2020/foehn-breadcrumb/breadcrumb-event.service.mjs +176 -0
  43. package/esm2020/foehn-breadcrumb/foehn-breadcrumb.component.mjs +80 -0
  44. package/esm2020/foehn-breadcrumb/foehn-breadcrumb.module.mjs +19 -0
  45. package/esm2020/foehn-checkables/foehn-checkable-group.component.mjs +298 -0
  46. package/esm2020/foehn-checkables/foehn-checkables.module.mjs +68 -0
  47. package/esm2020/foehn-checkables/foehn-checkbox.component.mjs +37 -0
  48. package/esm2020/foehn-checkables/foehn-radio.component.mjs +64 -0
  49. package/esm2020/foehn-checkables/foehn-select.component.mjs +56 -0
  50. package/esm2020/foehn-confirm-modal/foehn-confirm-modal.component.mjs +40 -0
  51. package/esm2020/foehn-confirm-modal/foehn-confirm-modal.module.mjs +19 -0
  52. package/{esm2015/foehn-confirm-modal/foehn-confirm-modal.service.js → esm2020/foehn-confirm-modal/foehn-confirm-modal.service.mjs} +4 -4
  53. package/esm2020/foehn-date-picker/date-picker-navigation.helper.mjs +167 -0
  54. package/esm2020/foehn-date-picker/date-picker.helper.mjs +132 -0
  55. package/esm2020/foehn-date-picker/foehn-date-picker.component.mjs +389 -0
  56. package/esm2020/foehn-date-picker/foehn-date-picker.module.mjs +40 -0
  57. package/esm2020/foehn-date-picker-button/foehn-date-picker-button.component.mjs +97 -0
  58. package/esm2020/foehn-date-picker-button/foehn-date-picker-button.module.mjs +36 -0
  59. package/esm2020/foehn-debug-summary/foehn-debug-summary.component.mjs +84 -0
  60. package/{esm2015/foehn-debug-summary/foehn-debug-summary.component.module.js → esm2020/foehn-debug-summary/foehn-debug-summary.component.module.mjs} +7 -7
  61. package/esm2020/foehn-decision-electronique/foehn-decision-electronique.component.mjs +37 -0
  62. package/esm2020/foehn-decision-electronique/foehn-decision-electronique.module.mjs +32 -0
  63. package/esm2020/foehn-dropdown-menu/dropdown-menu-group.type.mjs +3 -0
  64. package/esm2020/foehn-dropdown-menu/dropdown-menu-item.type.mjs +6 -0
  65. package/esm2020/foehn-dropdown-menu/foehn-dropdown-menu.component.mjs +212 -0
  66. package/esm2020/foehn-dropdown-menu/foehn-dropdown-menu.module.mjs +21 -0
  67. package/esm2020/foehn-footer/foehn-footer.component.mjs +130 -0
  68. package/{esm2015/foehn-footer/foehn-footer.module.js → esm2020/foehn-footer/foehn-footer.module.mjs} +6 -6
  69. package/esm2020/foehn-form/foehn-form.component.mjs +135 -0
  70. package/esm2020/foehn-form/foehn-form.module.mjs +32 -0
  71. package/esm2020/foehn-form/register-ng-model.service.mjs +23 -0
  72. package/esm2020/foehn-growl/foehn-growl.component.mjs +44 -0
  73. package/{esm2015/foehn-growl/foehn-growl.module.js → esm2020/foehn-growl/foehn-growl.module.mjs} +6 -6
  74. package/{esm2015/foehn-growl/growl-broker.service.js → esm2020/foehn-growl/growl-broker.service.mjs} +5 -5
  75. package/{esm2015/foehn-growl/growl-message.js → esm2020/foehn-growl/growl-message.mjs} +1 -1
  76. package/esm2020/foehn-header/foehn-header.component.mjs +157 -0
  77. package/esm2020/foehn-header/foehn-header.module.mjs +40 -0
  78. package/{esm2015/foehn-header/foehn-skip-link.component.js → esm2020/foehn-header/foehn-skip-link.component.mjs} +5 -8
  79. package/esm2020/foehn-help-modal/foehn-help-modal.component.mjs +44 -0
  80. package/esm2020/foehn-help-modal/foehn-help-modal.module.mjs +20 -0
  81. package/esm2020/foehn-help-modal/foehn-help-modal.type.mjs +2 -0
  82. package/{esm2015/foehn-icons/abstract-icon-component.js → esm2020/foehn-icons/abstract-icon-component.mjs} +5 -5
  83. package/esm2020/foehn-icons/foehn-icon-calendar.component.mjs +19 -0
  84. package/esm2020/foehn-icons/foehn-icon-check-square-o.component.mjs +19 -0
  85. package/esm2020/foehn-icons/foehn-icon-check.component.mjs +19 -0
  86. package/esm2020/foehn-icons/foehn-icon-chevron-down.component.mjs +19 -0
  87. package/esm2020/foehn-icons/foehn-icon-chevron-left.component.mjs +19 -0
  88. package/esm2020/foehn-icons/foehn-icon-chevron-right.component.mjs +19 -0
  89. package/esm2020/foehn-icons/foehn-icon-chevron-up.component.mjs +19 -0
  90. package/esm2020/foehn-icons/foehn-icon-clock.component.mjs +19 -0
  91. package/esm2020/foehn-icons/foehn-icon-comment-dots.component.mjs +19 -0
  92. package/esm2020/foehn-icons/foehn-icon-edit.component.mjs +19 -0
  93. package/esm2020/foehn-icons/foehn-icon-external-link-alt.component.mjs +19 -0
  94. package/esm2020/foehn-icons/foehn-icon-file-pdf.component.mjs +19 -0
  95. package/esm2020/foehn-icons/foehn-icon-info-circle.component.mjs +19 -0
  96. package/esm2020/foehn-icons/foehn-icon-lock.component.mjs +19 -0
  97. package/esm2020/foehn-icons/foehn-icon-map-marker.component.mjs +19 -0
  98. package/esm2020/foehn-icons/foehn-icon-minus-circle.component.mjs +19 -0
  99. package/esm2020/foehn-icons/foehn-icon-pencil.component.mjs +19 -0
  100. package/esm2020/foehn-icons/foehn-icon-plus-circle.component.mjs +19 -0
  101. package/esm2020/foehn-icons/foehn-icon-plus-square.component.mjs +19 -0
  102. package/esm2020/foehn-icons/foehn-icon-search.component.mjs +19 -0
  103. package/esm2020/foehn-icons/foehn-icon-times.component.mjs +19 -0
  104. package/esm2020/foehn-icons/foehn-icon-trash-alt.component.mjs +19 -0
  105. package/esm2020/foehn-icons/foehn-icon-unlock-alt.component.mjs +19 -0
  106. package/esm2020/foehn-icons/foehn-icon-user.component.mjs +19 -0
  107. package/esm2020/foehn-icons/foehn-icons.module.mjs +139 -0
  108. package/esm2020/foehn-input/foehn-input-email.component.mjs +59 -0
  109. package/esm2020/foehn-input/foehn-input-hidden.component.mjs +54 -0
  110. package/esm2020/foehn-input/foehn-input-number.component.mjs +318 -0
  111. package/esm2020/foehn-input/foehn-input-password.component.mjs +51 -0
  112. package/esm2020/foehn-input/foehn-input-phone.component.mjs +92 -0
  113. package/esm2020/foehn-input/foehn-input-prefixed-text.component.mjs +116 -0
  114. package/esm2020/foehn-input/foehn-input-string.component.mjs +25 -0
  115. package/esm2020/foehn-input/foehn-input-text.component.mjs +69 -0
  116. package/esm2020/foehn-input/foehn-input-textarea.component.mjs +97 -0
  117. package/esm2020/foehn-input/foehn-input.component.mjs +401 -0
  118. package/esm2020/foehn-input/foehn-input.module.mjs +98 -0
  119. package/{esm2015/foehn-input/pattern.const.js → esm2020/foehn-input/pattern.const.mjs} +2 -2
  120. package/esm2020/foehn-input-date/foehn-input-date.component.mjs +163 -0
  121. package/esm2020/foehn-input-date-time/foehn-input-date-time.component.mjs +201 -0
  122. package/esm2020/foehn-input-time/foehn-input-time.component.mjs +89 -0
  123. package/esm2020/foehn-list/foehn-list.component.mjs +128 -0
  124. package/esm2020/foehn-list/foehn-list.module.mjs +19 -0
  125. package/esm2020/foehn-menu-prestation/abstract-list-item-detail-page.component.mjs +122 -0
  126. package/{esm2015/foehn-menu-prestation/abstract-menu-page.component.js → esm2020/foehn-menu-prestation/abstract-menu-page.component.mjs} +4 -4
  127. package/{esm2015/foehn-menu-prestation/abstract-page-from-menu.component.js → esm2020/foehn-menu-prestation/abstract-page-from-menu.component.mjs} +4 -4
  128. package/esm2020/foehn-menu-prestation/foehn-error-pill/foehn-error-pill.component.mjs +23 -0
  129. package/esm2020/foehn-menu-prestation/foehn-list-summary/foehn-list-summary.component.mjs +157 -0
  130. package/esm2020/foehn-menu-prestation/foehn-menu-items/foehn-menu-item/foehn-menu-item.component.mjs +35 -0
  131. package/esm2020/foehn-menu-prestation/foehn-menu-items/foehn-menu-item-transmit/foehn-menu-item-transmit.component.mjs +58 -0
  132. package/esm2020/foehn-menu-prestation/foehn-menu-prestation.module.mjs +67 -0
  133. package/{esm2015/foehn-misc/foehn-abbr.component.js → esm2020/foehn-misc/foehn-abbr.component.mjs} +5 -9
  134. package/{esm2015/foehn-misc/foehn-misc.module.js → esm2020/foehn-misc/foehn-misc.module.mjs} +5 -5
  135. package/esm2020/foehn-modal/foehn-modal.component.mjs +94 -0
  136. package/esm2020/foehn-modal/foehn-modal.module.mjs +21 -0
  137. package/esm2020/foehn-multiselect-autocomplete/foehn-multiselect-autocomplete.component.mjs +274 -0
  138. package/esm2020/foehn-multiselect-autocomplete/foehn-multiselect-autocomplete.module.mjs +40 -0
  139. package/esm2020/foehn-nav13/foehn-input-nav13.component.mjs +114 -0
  140. package/esm2020/foehn-nav13/foehn-input-nav13.module.mjs +32 -0
  141. package/esm2020/foehn-navigation/abstract-foehn-navigation.component.mjs +57 -0
  142. package/esm2020/foehn-navigation/foehn-navigation/foehn-navigation.component.mjs +63 -0
  143. package/esm2020/foehn-navigation/foehn-navigation.module.mjs +33 -0
  144. package/esm2020/foehn-navigation/foehn-navigation.service.mjs +303 -0
  145. package/esm2020/foehn-navigation/foehn-simple-navigation/foehn-simple-navigation.component.mjs +26 -0
  146. package/{esm2015/foehn-notfound/foehn-notfound.component.js → esm2020/foehn-notfound/foehn-notfound.component.mjs} +7 -10
  147. package/esm2020/foehn-notfound/foehn-notfound.module.mjs +20 -0
  148. package/{esm2015/foehn-page/foehn-page-counter.component.js → esm2020/foehn-page/foehn-page-counter.component.mjs} +5 -8
  149. package/esm2020/foehn-page/foehn-page-expiration-timer/demande-expiration-interceptor.mjs +61 -0
  150. package/esm2020/foehn-page/foehn-page-expiration-timer/demande-expiration.service.mjs +46 -0
  151. package/esm2020/foehn-page/foehn-page-expiration-timer/foehn-page-expiration-timer.component.mjs +147 -0
  152. package/esm2020/foehn-page/foehn-page-modal.component.mjs +53 -0
  153. package/{esm2015/foehn-page/foehn-page-modal.service.js → esm2020/foehn-page/foehn-page-modal.service.mjs} +4 -4
  154. package/esm2020/foehn-page/foehn-page.component.mjs +221 -0
  155. package/esm2020/foehn-page/foehn-page.module.mjs +101 -0
  156. package/{esm2015/foehn-page/foehn-page.service.js → esm2020/foehn-page/foehn-page.service.mjs} +4 -4
  157. package/esm2020/foehn-page/foehn-transmit-waiting-modal/demande-transmit-interceptor.mjs +52 -0
  158. package/esm2020/foehn-page/foehn-transmit-waiting-modal/foehn-transmit-waiting-modal.component.mjs +23 -0
  159. package/esm2020/foehn-page/foehn-transmit-waiting-modal/foehn-transmit-waiting-modal.service.mjs +32 -0
  160. package/esm2020/foehn-recap-section/foehn-recap-section.component.mjs +98 -0
  161. package/esm2020/foehn-recap-section/foehn-recap-section.module.mjs +20 -0
  162. package/{esm2015/foehn-recap-section/foehn-recap-section.type.js → esm2020/foehn-recap-section/foehn-recap-section.type.mjs} +1 -1
  163. package/esm2020/foehn-remaining-alerts-summary/foehn-remaining-alerts-summary.component.mjs +50 -0
  164. package/{esm2015/foehn-remaining-alerts-summary/foehn-remaining-alerts-summary.module.js → esm2020/foehn-remaining-alerts-summary/foehn-remaining-alerts-summary.module.mjs} +6 -6
  165. package/esm2020/foehn-status-progress-bar/foehn-status-progress-bar.component.mjs +56 -0
  166. package/esm2020/foehn-status-progress-bar/foehn-status-progress-bar.module.mjs +20 -0
  167. package/esm2020/foehn-table/foehn-table-column-configuration.mjs +3 -0
  168. package/esm2020/foehn-table/foehn-table.component.mjs +149 -0
  169. package/esm2020/foehn-table/foehn-table.module.mjs +32 -0
  170. package/esm2020/foehn-upload/abstract-foehn-uploader.component.mjs +242 -0
  171. package/esm2020/foehn-upload/foehn-bo-multi-upload/bo-multi-upload.service.mjs +111 -0
  172. package/esm2020/foehn-upload/foehn-bo-multi-upload/foehn-bo-multi-upload.component.mjs +195 -0
  173. package/esm2020/foehn-upload/foehn-bo-multi-upload/foehn-bo-multi-upload.module.mjs +40 -0
  174. package/esm2020/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.mjs +246 -0
  175. package/esm2020/foehn-upload/foehn-multi-upload/foehn-multi-upload.module.mjs +40 -0
  176. package/esm2020/foehn-upload/foehn-multi-upload/multi-upload.service.mjs +120 -0
  177. package/esm2020/foehn-upload/foehn-multi-upload/pending-upload.service.mjs +160 -0
  178. package/esm2020/foehn-upload/foehn-picture-upload/foehn-picture-upload.component.mjs +203 -0
  179. package/esm2020/foehn-upload/foehn-picture-upload/foehn-picture-upload.module.mjs +44 -0
  180. package/esm2020/foehn-upload/foehn-upload-progress-bar/foehn-upload-progress-bar.component.mjs +82 -0
  181. package/esm2020/foehn-upload/foehn-upload-progress-bar/foehn-upload-progress-bar.module.mjs +21 -0
  182. package/esm2020/foehn-upload/foehn-upload-progress-bar/upload-progress.service.mjs +66 -0
  183. package/esm2020/foehn-upload/foehn-upload-progress-bar/upload-progress.type.mjs +7 -0
  184. package/esm2020/foehn-upload/page-upload-limit.service.mjs +81 -0
  185. package/esm2020/foehn-upload/uploader.helper.mjs +323 -0
  186. package/{esm2015/foehn-user-connected-as/foehn-user-connected-as.component.js → esm2020/foehn-user-connected-as/foehn-user-connected-as.component.mjs} +5 -8
  187. package/{esm2015/foehn-user-connected-as/foehn-user-connected-as.module.js → esm2020/foehn-user-connected-as/foehn-user-connected-as.module.mjs} +6 -6
  188. package/esm2020/foehn-validation-alert-summary/foehn-validation-alert-summary.component.mjs +96 -0
  189. package/esm2020/foehn-validation-alert-summary/foehn-validation-alert-summary.module.mjs +19 -0
  190. package/esm2020/foehn-validation-alerts/foehn-validation-alerts.component.mjs +29 -0
  191. package/{esm2015/foehn-validation-alerts/foehn-validation-alerts.module.js → esm2020/foehn-validation-alerts/foehn-validation-alerts.module.mjs} +6 -6
  192. package/esm2020/form-error.mjs +2 -0
  193. package/esm2020/form-post-response.mjs +10 -0
  194. package/esm2020/gesdem/gesdem-error-handler.service.mjs +85 -0
  195. package/esm2020/gesdem/gesdem-event.service.mjs +38 -0
  196. package/esm2020/gesdem/gesdem-handler.service.mjs +167 -0
  197. package/esm2020/gesdem/gesdem-loader.guard.mjs +25 -0
  198. package/esm2020/gesdem-action-recovery/gesdem-action-recovery-login/gesdem-action-recovery-login.component.mjs +121 -0
  199. package/esm2020/gesdem-action-recovery/gesdem-action-recovery-registration/gesdem-action-recovery-registration.component.mjs +198 -0
  200. package/esm2020/gesdem-action-recovery/gesdem-action-recovery.module.mjs +58 -0
  201. package/esm2020/gesdem-action-recovery/gesdem-action-recovery.service.mjs +82 -0
  202. package/esm2020/gesdem-action-recovery/reprise-info.mjs +4 -0
  203. package/esm2020/gesdem-confirmation/gesdem-confirmation.component.mjs +223 -0
  204. package/esm2020/gesdem-confirmation/gesdem-confirmation.module.mjs +32 -0
  205. package/esm2020/gesdem-error/gesdem-error.component.mjs +90 -0
  206. package/esm2020/gesdem-error/gesdem-error.module.mjs +36 -0
  207. package/esm2020/global.const.mjs +5 -0
  208. package/esm2020/helpers/demande.helper.mjs +19 -0
  209. package/esm2020/helpers/object.helper.mjs +103 -0
  210. package/{esm2015/i18n-form.js → esm2020/i18n-form.mjs} +2 -1
  211. package/{esm2015/pipes/currency.pipe.js → esm2020/pipes/currency.pipe.mjs} +4 -4
  212. package/{esm2015/pipes/date.pipe.js → esm2020/pipes/date.pipe.mjs} +4 -4
  213. package/{esm2015/pipes/formatIde.pipe.js → esm2020/pipes/formatIde.pipe.mjs} +3 -3
  214. package/{esm2015/pipes/pipes.module.js → esm2020/pipes/pipes.module.mjs} +7 -7
  215. package/{esm2015/prestations-ng-core.module.js → esm2020/prestations-ng-core.module.mjs} +7 -7
  216. package/esm2020/public_api.mjs +278 -0
  217. package/esm2020/refinf/model/address-type-light.mjs +3 -0
  218. package/esm2020/refinf/model/canton.mjs +3 -0
  219. package/esm2020/refinf/model/district.mjs +3 -0
  220. package/esm2020/refinf/model/municipality.mjs +3 -0
  221. package/esm2020/refinf/model/place-of-origin.mjs +3 -0
  222. package/esm2020/refinf/model/postal-locality.mjs +3 -0
  223. package/esm2020/sdk-appinfo/application-info.mjs +16 -0
  224. package/esm2020/sdk-appinfo/application-info.service.mjs +116 -0
  225. package/{esm2015/sdk-currency/currency.helper.js → esm2020/sdk-currency/currency.helper.mjs} +3 -3
  226. package/esm2020/sdk-date/date.helper.mjs +109 -0
  227. package/esm2020/sdk-dictionary/default-dictionary.mjs +271 -0
  228. package/{esm2015/sdk-dictionary/sdk-dictionary.module.js → esm2020/sdk-dictionary/sdk-dictionary.module.mjs} +5 -5
  229. package/{esm2015/sdk-dictionary/sdk-dictionary.pipe.js → esm2020/sdk-dictionary/sdk-dictionary.pipe.mjs} +6 -6
  230. package/esm2020/sdk-dictionary/sdk-dictionary.service.mjs +111 -0
  231. package/esm2020/sdk-drafts/draft.model.mjs +2 -0
  232. package/esm2020/sdk-drafts/drafts-container.component.mjs +98 -0
  233. package/esm2020/sdk-drafts/drafts.module.mjs +47 -0
  234. package/esm2020/sdk-drafts/drafts.service.mjs +51 -0
  235. package/esm2020/sdk-epayment/sdk-epayment.component.mjs +77 -0
  236. package/esm2020/sdk-epayment/sdk-epayment.module.mjs +22 -0
  237. package/esm2020/sdk-epayment/sdk-epayment.service.mjs +52 -0
  238. package/esm2020/sdk-recaptcha/grecaptcha/grecaptcha.component.mjs +110 -0
  239. package/esm2020/sdk-recaptcha/recaptcha.service.mjs +192 -0
  240. package/esm2020/sdk-recaptcha/sdk-recaptcha.component.mjs +71 -0
  241. package/esm2020/sdk-recaptcha/sdk-recaptcha.module.mjs +19 -0
  242. package/esm2020/sdk-redirect/iam-expired-interceptor.service.mjs +61 -0
  243. package/esm2020/sdk-redirect/redirect.component.mjs +43 -0
  244. package/esm2020/sdk-redirect/sdk-redirect.module.mjs +19 -0
  245. package/{esm2015/sdk-session-info/session-info-data.js → esm2020/sdk-session-info/session-info-data.mjs} +1 -1
  246. package/{esm2015/sdk-session-info/session-info-with-application.service.js → esm2020/sdk-session-info/session-info-with-application.service.mjs} +5 -5
  247. package/esm2020/sdk-session-info/session-info.service.mjs +50 -0
  248. package/{esm2015/sdk-statistics/sdk-statistics.service.js → esm2020/sdk-statistics/sdk-statistics.service.mjs} +4 -4
  249. package/esm2020/sdk-support-alert/support-alert-container.component.mjs +49 -0
  250. package/esm2020/sdk-support-alert/support-alert.component.mjs +34 -0
  251. package/esm2020/sdk-support-alert/support-alert.module.mjs +21 -0
  252. package/esm2020/sdk-support-alert/support-alert.service.mjs +117 -0
  253. package/esm2020/supported-browser.mjs +2 -0
  254. package/esm2020/validation/validation-handler.service.mjs +44 -0
  255. package/fesm2015/dsivd-prestations-ng.mjs +15411 -0
  256. package/fesm2015/dsivd-prestations-ng.mjs.map +1 -0
  257. package/fesm2020/dsivd-prestations-ng.mjs +15369 -0
  258. package/fesm2020/dsivd-prestations-ng.mjs.map +1 -0
  259. package/foehn-address/address.type.d.ts +5 -3
  260. package/foehn-address/foehn-display-address.component.d.ts +1 -1
  261. package/foehn-address/foehn-input-address.component.d.ts +28 -11
  262. package/foehn-address/foehn-input-foreign-locality.component.d.ts +1 -1
  263. package/foehn-address/foehn-input-foreign-street.component.d.ts +1 -1
  264. package/foehn-agenda/calendar.type.d.ts +9 -0
  265. package/foehn-agenda/current-week.type.d.ts +5 -0
  266. package/foehn-agenda/day-slots.type.d.ts +5 -0
  267. package/foehn-agenda/foehn-agenda-navigation/foehn-agenda-navigation.component.d.ts +21 -0
  268. package/foehn-agenda/foehn-agenda-timeslot-panel/foehn-agenda-timeslot-panel.component.d.ts +51 -0
  269. package/foehn-agenda/foehn-agenda.component.d.ts +29 -0
  270. package/foehn-agenda/foehn-agenda.module.d.ts +17 -0
  271. package/foehn-agenda/pagination-week.type.d.ts +5 -0
  272. package/foehn-agenda/selected-slot.type.d.ts +7 -0
  273. package/foehn-autocomplete/foehn-autocomplete.component.d.ts +41 -7
  274. package/foehn-boolean/foehn-boolean-checkbox.component.d.ts +1 -1
  275. package/foehn-boolean/foehn-boolean-radio.component.d.ts +2 -1
  276. package/foehn-breadcrumb/breadcrumb-event.service.d.ts +2 -2
  277. package/foehn-breadcrumb/foehn-breadcrumb.component.d.ts +6 -5
  278. package/foehn-checkables/foehn-checkable-group.component.d.ts +7 -8
  279. package/foehn-checkables/foehn-checkables.module.d.ts +3 -1
  280. package/foehn-checkables/foehn-checkbox.component.d.ts +1 -1
  281. package/foehn-checkables/foehn-radio.component.d.ts +1 -1
  282. package/foehn-checkables/foehn-select.component.d.ts +3 -10
  283. package/foehn-confirm-modal/foehn-confirm-modal.component.d.ts +2 -2
  284. package/foehn-date-picker/date-picker-navigation.helper.d.ts +7 -1
  285. package/foehn-date-picker/date-picker.helper.d.ts +3 -2
  286. package/foehn-date-picker/foehn-date-picker.component.d.ts +21 -10
  287. package/foehn-date-picker-button/foehn-date-picker-button.component.d.ts +13 -5
  288. package/foehn-debug-summary/foehn-debug-summary.component.d.ts +5 -5
  289. package/foehn-decision-electronique/foehn-decision-electronique.component.d.ts +2 -2
  290. package/foehn-decision-electronique/foehn-decision-electronique.module.d.ts +2 -1
  291. package/foehn-dropdown-menu/dropdown-menu-group.type.d.ts +5 -0
  292. package/foehn-dropdown-menu/dropdown-menu-item.type.d.ts +7 -0
  293. package/foehn-dropdown-menu/foehn-dropdown-menu.component.d.ts +42 -0
  294. package/foehn-dropdown-menu/foehn-dropdown-menu.module.d.ts +11 -0
  295. package/foehn-footer/foehn-footer.component.d.ts +4 -4
  296. package/foehn-form/foehn-form.component.d.ts +7 -4
  297. package/foehn-form/register-ng-model.service.d.ts +9 -0
  298. package/foehn-growl/foehn-growl.component.d.ts +3 -3
  299. package/foehn-growl/growl-broker.service.d.ts +1 -1
  300. package/foehn-header/foehn-header.component.d.ts +23 -9
  301. package/foehn-header/foehn-header.module.d.ts +4 -1
  302. package/foehn-header/foehn-skip-link.component.d.ts +2 -2
  303. package/foehn-help-modal/foehn-help-modal.component.d.ts +1 -1
  304. package/foehn-help-modal/foehn-help-modal.type.d.ts +4 -0
  305. package/foehn-icons/abstract-icon-component.d.ts +1 -1
  306. package/foehn-icons/foehn-icon-calendar.component.d.ts +1 -1
  307. package/foehn-icons/foehn-icon-check-square-o.component.d.ts +1 -1
  308. package/foehn-icons/foehn-icon-check.component.d.ts +1 -1
  309. package/foehn-icons/foehn-icon-chevron-down.component.d.ts +1 -1
  310. package/foehn-icons/foehn-icon-chevron-left.component.d.ts +1 -1
  311. package/foehn-icons/foehn-icon-chevron-right.component.d.ts +1 -1
  312. package/foehn-icons/foehn-icon-chevron-up.component.d.ts +1 -1
  313. package/foehn-icons/foehn-icon-clock.component.d.ts +1 -1
  314. package/foehn-icons/foehn-icon-comment-dots.component.d.ts +1 -1
  315. package/foehn-icons/foehn-icon-edit.component.d.ts +1 -1
  316. package/foehn-icons/foehn-icon-external-link-alt.component.d.ts +1 -1
  317. package/foehn-icons/foehn-icon-file-pdf.component.d.ts +1 -1
  318. package/foehn-icons/foehn-icon-info-circle.component.d.ts +1 -1
  319. package/foehn-icons/foehn-icon-lock.component.d.ts +1 -1
  320. package/foehn-icons/foehn-icon-map-marker.component.d.ts +1 -1
  321. package/foehn-icons/foehn-icon-minus-circle.component.d.ts +1 -1
  322. package/foehn-icons/foehn-icon-pencil.component.d.ts +8 -0
  323. package/foehn-icons/foehn-icon-plus-circle.component.d.ts +1 -1
  324. package/foehn-icons/foehn-icon-plus-square.component.d.ts +1 -1
  325. package/foehn-icons/foehn-icon-search.component.d.ts +1 -1
  326. package/foehn-icons/foehn-icon-times.component.d.ts +1 -1
  327. package/foehn-icons/foehn-icon-trash-alt.component.d.ts +1 -1
  328. package/foehn-icons/foehn-icon-unlock-alt.component.d.ts +1 -1
  329. package/foehn-icons/foehn-icon-user.component.d.ts +8 -0
  330. package/foehn-icons/foehn-icons.module.d.ts +4 -2
  331. package/foehn-input/foehn-input-email.component.d.ts +5 -2
  332. package/foehn-input/foehn-input-hidden.component.d.ts +2 -1
  333. package/foehn-input/foehn-input-number.component.d.ts +18 -6
  334. package/foehn-input/foehn-input-password.component.d.ts +2 -1
  335. package/foehn-input/foehn-input-phone.component.d.ts +1 -1
  336. package/foehn-input/foehn-input-prefixed-text.component.d.ts +26 -0
  337. package/foehn-input/foehn-input-string.component.d.ts +2 -1
  338. package/foehn-input/foehn-input-text.component.d.ts +1 -2
  339. package/foehn-input/foehn-input-textarea.component.d.ts +5 -2
  340. package/foehn-input/foehn-input.component.d.ts +30 -9
  341. package/foehn-input/foehn-input.module.d.ts +10 -6
  342. package/foehn-input/pattern.const.d.ts +1 -1
  343. package/foehn-input-date/foehn-input-date.component.d.ts +17 -4
  344. package/foehn-input-date-time/foehn-input-date-time.component.d.ts +40 -0
  345. package/foehn-input-time/foehn-input-time.component.d.ts +8 -1
  346. package/foehn-list/foehn-list.component.d.ts +2 -2
  347. package/foehn-menu-prestation/abstract-list-item-detail-page.component.d.ts +5 -5
  348. package/foehn-menu-prestation/abstract-menu-page.component.d.ts +1 -1
  349. package/foehn-menu-prestation/abstract-page-from-menu.component.d.ts +1 -1
  350. package/foehn-menu-prestation/foehn-error-pill/foehn-error-pill.component.d.ts +1 -1
  351. package/foehn-menu-prestation/foehn-list-summary/foehn-list-summary.component.d.ts +27 -9
  352. package/foehn-menu-prestation/foehn-menu-items/foehn-menu-item/foehn-menu-item.component.d.ts +1 -1
  353. package/foehn-menu-prestation/foehn-menu-items/foehn-menu-item-transmit/foehn-menu-item-transmit.component.d.ts +5 -2
  354. package/foehn-menu-prestation/foehn-menu-prestation.module.d.ts +3 -1
  355. package/foehn-misc/foehn-abbr.component.d.ts +1 -1
  356. package/foehn-modal/foehn-modal.component.d.ts +2 -3
  357. package/foehn-modal/foehn-modal.module.d.ts +3 -1
  358. package/foehn-multiselect-autocomplete/foehn-multiselect-autocomplete.component.d.ts +12 -4
  359. package/foehn-nav13/foehn-input-nav13.component.d.ts +2 -1
  360. package/foehn-navigation/abstract-foehn-navigation.component.d.ts +19 -0
  361. package/foehn-navigation/foehn-navigation/foehn-navigation.component.d.ts +21 -0
  362. package/foehn-navigation/foehn-navigation.module.d.ts +7 -6
  363. package/foehn-navigation/foehn-navigation.service.d.ts +7 -5
  364. package/foehn-navigation/foehn-simple-navigation/foehn-simple-navigation.component.d.ts +8 -0
  365. package/foehn-notfound/foehn-notfound.component.d.ts +1 -1
  366. package/foehn-page/foehn-page-counter.component.d.ts +1 -1
  367. package/foehn-page/foehn-page-expiration-timer/demande-expiration-interceptor.d.ts +15 -0
  368. package/foehn-page/foehn-page-expiration-timer/demande-expiration.service.d.ts +16 -0
  369. package/foehn-page/foehn-page-expiration-timer/foehn-page-expiration-timer.component.d.ts +32 -0
  370. package/foehn-page/foehn-page-modal.component.d.ts +1 -1
  371. package/foehn-page/foehn-page-modal.service.d.ts +1 -1
  372. package/foehn-page/foehn-page.component.d.ts +19 -18
  373. package/foehn-page/foehn-page.module.d.ts +16 -13
  374. package/foehn-page/foehn-page.service.d.ts +2 -2
  375. package/foehn-page/foehn-transmit-waiting-modal/demande-transmit-interceptor.d.ts +16 -0
  376. package/foehn-page/foehn-transmit-waiting-modal/foehn-transmit-waiting-modal.component.d.ts +11 -0
  377. package/foehn-page/foehn-transmit-waiting-modal/foehn-transmit-waiting-modal.service.d.ts +11 -0
  378. package/foehn-recap-section/foehn-recap-section.component.d.ts +7 -2
  379. package/foehn-recap-section/foehn-recap-section.type.d.ts +3 -0
  380. package/foehn-remaining-alerts-summary/foehn-remaining-alerts-summary.component.d.ts +13 -4
  381. package/foehn-status-progress-bar/foehn-status-progress-bar.component.d.ts +10 -6
  382. package/foehn-table/foehn-table-column-configuration.d.ts +8 -2
  383. package/foehn-table/foehn-table.component.d.ts +6 -5
  384. package/foehn-upload/abstract-foehn-uploader.component.d.ts +19 -9
  385. package/foehn-upload/foehn-bo-multi-upload/bo-multi-upload.service.d.ts +8 -4
  386. package/foehn-upload/foehn-bo-multi-upload/foehn-bo-multi-upload.component.d.ts +14 -8
  387. package/foehn-upload/foehn-bo-multi-upload/foehn-bo-multi-upload.module.d.ts +2 -1
  388. package/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.d.ts +15 -10
  389. package/foehn-upload/foehn-multi-upload/foehn-multi-upload.module.d.ts +2 -1
  390. package/foehn-upload/foehn-multi-upload/multi-upload.service.d.ts +8 -7
  391. package/foehn-upload/foehn-multi-upload/pending-upload.service.d.ts +2 -2
  392. package/foehn-upload/foehn-picture-upload/foehn-picture-upload.component.d.ts +6 -4
  393. package/foehn-upload/foehn-picture-upload/foehn-picture-upload.module.d.ts +2 -1
  394. package/foehn-upload/foehn-upload-progress-bar/foehn-upload-progress-bar.component.d.ts +22 -0
  395. package/foehn-upload/foehn-upload-progress-bar/foehn-upload-progress-bar.module.d.ts +11 -0
  396. package/foehn-upload/foehn-upload-progress-bar/upload-progress.service.d.ts +19 -0
  397. package/foehn-upload/foehn-upload-progress-bar/upload-progress.type.d.ts +6 -0
  398. package/foehn-upload/page-upload-limit.service.d.ts +22 -0
  399. package/foehn-upload/uploader.helper.d.ts +16 -17
  400. package/foehn-user-connected-as/foehn-user-connected-as.component.d.ts +2 -2
  401. package/foehn-validation-alert-summary/foehn-validation-alert-summary.component.d.ts +2 -2
  402. package/foehn-validation-alerts/foehn-validation-alerts.component.d.ts +4 -4
  403. package/{error-template.d.ts → form-error.d.ts} +1 -1
  404. package/form-post-response.d.ts +19 -0
  405. package/gesdem/gesdem-error-handler.service.d.ts +2 -2
  406. package/gesdem/gesdem-event.service.d.ts +7 -7
  407. package/gesdem/gesdem-handler.service.d.ts +14 -9
  408. package/gesdem/gesdem-loader.guard.d.ts +2 -13
  409. package/gesdem-action-recovery/gesdem-action-recovery-login/gesdem-action-recovery-login.component.d.ts +10 -6
  410. package/gesdem-action-recovery/gesdem-action-recovery-registration/gesdem-action-recovery-registration.component.d.ts +23 -11
  411. package/gesdem-action-recovery/gesdem-action-recovery.module.d.ts +3 -1
  412. package/gesdem-action-recovery/gesdem-action-recovery.service.d.ts +3 -3
  413. package/gesdem-action-recovery/reprise-info.d.ts +2 -0
  414. package/gesdem-confirmation/gesdem-confirmation.component.d.ts +15 -10
  415. package/gesdem-error/gesdem-error.component.d.ts +10 -3
  416. package/gesdem-error/gesdem-error.module.d.ts +2 -1
  417. package/global.const.d.ts +1 -0
  418. package/helpers/demande.helper.d.ts +3 -0
  419. package/helpers/object.helper.d.ts +3 -1
  420. package/i18n-form.d.ts +1 -0
  421. package/index.d.ts +5 -194
  422. package/package.json +39 -22
  423. package/pipes/currency.pipe.d.ts +1 -1
  424. package/pipes/date.pipe.d.ts +1 -1
  425. package/pipes/formatIde.pipe.d.ts +1 -1
  426. package/public_api.d.ts +230 -0
  427. package/refinf/model/address-type-light.d.ts +5 -0
  428. package/refinf/model/canton.d.ts +4 -0
  429. package/refinf/model/district.d.ts +7 -0
  430. package/refinf/model/municipality.d.ts +8 -0
  431. package/refinf/model/place-of-origin.d.ts +9 -0
  432. package/refinf/model/postal-locality.d.ts +11 -0
  433. package/schematics/collection.json +4 -0
  434. package/schematics/ng-add/index.js +10 -10
  435. package/schematics/ng-update/migrations/update-13_1_0/index.js +2 -2
  436. package/schematics/ng-update/migrations/update-13_2_0/index.js +3 -3
  437. package/schematics/ng-update/migrations/update-13_5_1/index.js +3 -3
  438. package/schematics/ng-update/migrations/update-14_5_0/index.js +2 -2
  439. package/schematics/replace-browsers-list/index.d.ts +3 -0
  440. package/schematics/replace-browsers-list/index.js +15 -0
  441. package/schematics/update-karma-config/index.js +2 -2
  442. package/schematics/utility/migrate-to-karma-coverage.js +3 -3
  443. package/sdk-appinfo/application-info.d.ts +11 -1
  444. package/sdk-appinfo/application-info.service.d.ts +5 -4
  445. package/sdk-date/date.helper.d.ts +1 -0
  446. package/sdk-dictionary/sdk-dictionary.pipe.d.ts +1 -1
  447. package/sdk-dictionary/sdk-dictionary.service.d.ts +9 -0
  448. package/sdk-drafts/draft.model.d.ts +5 -0
  449. package/sdk-drafts/drafts-container.component.d.ts +33 -0
  450. package/sdk-drafts/drafts.module.d.ts +15 -0
  451. package/sdk-drafts/drafts.service.d.ts +20 -0
  452. package/sdk-epayment/sdk-epayment.component.d.ts +11 -20
  453. package/sdk-epayment/sdk-epayment.module.d.ts +2 -1
  454. package/sdk-epayment/sdk-epayment.service.d.ts +3 -6
  455. package/sdk-recaptcha/grecaptcha/grecaptcha.component.d.ts +4 -2
  456. package/sdk-recaptcha/recaptcha.service.d.ts +12 -6
  457. package/sdk-recaptcha/sdk-recaptcha.component.d.ts +5 -4
  458. package/sdk-redirect/iam-expired-interceptor.service.d.ts +4 -3
  459. package/sdk-redirect/redirect.component.d.ts +8 -10
  460. package/sdk-session-info/session-info-data.d.ts +0 -1
  461. package/sdk-session-info/session-info.service.d.ts +4 -4
  462. package/sdk-statistics/sdk-statistics.service.d.ts +1 -1
  463. package/sdk-support-alert/support-alert-container.component.d.ts +3 -3
  464. package/sdk-support-alert/support-alert.component.d.ts +1 -1
  465. package/sdk-support-alert/support-alert.service.d.ts +3 -3
  466. package/validation/validation-handler.service.d.ts +4 -4
  467. package/backend-response.d.ts +0 -18
  468. package/bundles/dsivd-prestations-ng.umd.js +0 -13874
  469. package/bundles/dsivd-prestations-ng.umd.js.map +0 -1
  470. package/dsivd-prestations-ng-v14.5.27.tgz +0 -0
  471. package/dsivd-prestations-ng.d.ts +0 -5
  472. package/esm2015/abstract-page-component.js +0 -224
  473. package/esm2015/backend-response.js +0 -10
  474. package/esm2015/directives/currency-formatter.directive.js +0 -116
  475. package/esm2015/error-template.js +0 -2
  476. package/esm2015/foehn-address/address.type.js +0 -10
  477. package/esm2015/foehn-address/foehn-address.module.js +0 -57
  478. package/esm2015/foehn-address/foehn-input-address.component.js +0 -365
  479. package/esm2015/foehn-address/foehn-input-foreign-locality.component.js +0 -71
  480. package/esm2015/foehn-address/foehn-input-foreign-street.component.js +0 -60
  481. package/esm2015/foehn-autocomplete/foehn-autocomplete.component.js +0 -556
  482. package/esm2015/foehn-autocomplete/foehn-autocomplete.module.js +0 -42
  483. package/esm2015/foehn-boolean/foehn-boolean-checkbox.component.js +0 -32
  484. package/esm2015/foehn-boolean/foehn-boolean-radio.component.js +0 -41
  485. package/esm2015/foehn-boolean/foehn-boolean.module.js +0 -35
  486. package/esm2015/foehn-breadcrumb/breadcrumb-event.service.js +0 -182
  487. package/esm2015/foehn-breadcrumb/foehn-breadcrumb.component.js +0 -85
  488. package/esm2015/foehn-breadcrumb/foehn-breadcrumb.module.js +0 -19
  489. package/esm2015/foehn-checkables/foehn-checkable-group.component.js +0 -303
  490. package/esm2015/foehn-checkables/foehn-checkables.module.js +0 -62
  491. package/esm2015/foehn-checkables/foehn-checkbox.component.js +0 -40
  492. package/esm2015/foehn-checkables/foehn-radio.component.js +0 -67
  493. package/esm2015/foehn-checkables/foehn-select.component.js +0 -66
  494. package/esm2015/foehn-confirm-modal/foehn-confirm-modal.component.js +0 -42
  495. package/esm2015/foehn-confirm-modal/foehn-confirm-modal.module.js +0 -19
  496. package/esm2015/foehn-date-picker/date-picker-navigation.helper.js +0 -117
  497. package/esm2015/foehn-date-picker/date-picker.helper.js +0 -126
  498. package/esm2015/foehn-date-picker/foehn-date-picker.component.js +0 -300
  499. package/esm2015/foehn-date-picker/foehn-date-picker.module.js +0 -42
  500. package/esm2015/foehn-date-picker-button/foehn-date-picker-button.component.js +0 -74
  501. package/esm2015/foehn-date-picker-button/foehn-date-picker-button.module.js +0 -38
  502. package/esm2015/foehn-debug-summary/foehn-debug-summary.component.js +0 -70
  503. package/esm2015/foehn-decision-electronique/foehn-decision-electronique.component.js +0 -40
  504. package/esm2015/foehn-decision-electronique/foehn-decision-electronique.module.js +0 -20
  505. package/esm2015/foehn-footer/foehn-footer.component.js +0 -132
  506. package/esm2015/foehn-form/foehn-form.component.js +0 -146
  507. package/esm2015/foehn-form/foehn-form.module.js +0 -20
  508. package/esm2015/foehn-growl/foehn-growl.component.js +0 -47
  509. package/esm2015/foehn-header/foehn-header.component.js +0 -73
  510. package/esm2015/foehn-header/foehn-header.module.js +0 -21
  511. package/esm2015/foehn-help-modal/foehn-help-modal.component.js +0 -48
  512. package/esm2015/foehn-help-modal/foehn-help-modal.module.js +0 -20
  513. package/esm2015/foehn-help-modal/foehn-help-modal.type.js +0 -2
  514. package/esm2015/foehn-icons/foehn-icon-calendar.component.js +0 -22
  515. package/esm2015/foehn-icons/foehn-icon-check-square-o.component.js +0 -22
  516. package/esm2015/foehn-icons/foehn-icon-check.component.js +0 -22
  517. package/esm2015/foehn-icons/foehn-icon-chevron-down.component.js +0 -22
  518. package/esm2015/foehn-icons/foehn-icon-chevron-left.component.js +0 -22
  519. package/esm2015/foehn-icons/foehn-icon-chevron-right.component.js +0 -22
  520. package/esm2015/foehn-icons/foehn-icon-chevron-up.component.js +0 -22
  521. package/esm2015/foehn-icons/foehn-icon-clock.component.js +0 -22
  522. package/esm2015/foehn-icons/foehn-icon-comment-dots.component.js +0 -22
  523. package/esm2015/foehn-icons/foehn-icon-edit.component.js +0 -22
  524. package/esm2015/foehn-icons/foehn-icon-external-link-alt.component.js +0 -22
  525. package/esm2015/foehn-icons/foehn-icon-file-pdf.component.js +0 -22
  526. package/esm2015/foehn-icons/foehn-icon-info-circle.component.js +0 -22
  527. package/esm2015/foehn-icons/foehn-icon-lock.component.js +0 -22
  528. package/esm2015/foehn-icons/foehn-icon-map-marker.component.js +0 -22
  529. package/esm2015/foehn-icons/foehn-icon-minus-circle.component.js +0 -22
  530. package/esm2015/foehn-icons/foehn-icon-plus-circle.component.js +0 -22
  531. package/esm2015/foehn-icons/foehn-icon-plus-square.component.js +0 -22
  532. package/esm2015/foehn-icons/foehn-icon-search.component.js +0 -22
  533. package/esm2015/foehn-icons/foehn-icon-times.component.js +0 -22
  534. package/esm2015/foehn-icons/foehn-icon-trash-alt.component.js +0 -22
  535. package/esm2015/foehn-icons/foehn-icon-unlock-alt.component.js +0 -22
  536. package/esm2015/foehn-icons/foehn-icons.module.js +0 -129
  537. package/esm2015/foehn-input/foehn-input-email.component.js +0 -55
  538. package/esm2015/foehn-input/foehn-input-hidden.component.js +0 -57
  539. package/esm2015/foehn-input/foehn-input-number.component.js +0 -190
  540. package/esm2015/foehn-input/foehn-input-password.component.js +0 -55
  541. package/esm2015/foehn-input/foehn-input-phone.component.js +0 -96
  542. package/esm2015/foehn-input/foehn-input-string.component.js +0 -23
  543. package/esm2015/foehn-input/foehn-input-text.component.js +0 -80
  544. package/esm2015/foehn-input/foehn-input-textarea.component.js +0 -104
  545. package/esm2015/foehn-input/foehn-input.component.js +0 -364
  546. package/esm2015/foehn-input/foehn-input.module.js +0 -82
  547. package/esm2015/foehn-input-date/foehn-input-date.component.js +0 -94
  548. package/esm2015/foehn-input-time/foehn-input-time.component.js +0 -79
  549. package/esm2015/foehn-list/foehn-list.component.js +0 -134
  550. package/esm2015/foehn-list/foehn-list.module.js +0 -19
  551. package/esm2015/foehn-menu-prestation/abstract-list-item-detail-page.component.js +0 -122
  552. package/esm2015/foehn-menu-prestation/foehn-error-pill/foehn-error-pill.component.js +0 -26
  553. package/esm2015/foehn-menu-prestation/foehn-list-summary/foehn-list-summary.component.js +0 -75
  554. package/esm2015/foehn-menu-prestation/foehn-menu-items/foehn-menu-item/foehn-menu-item.component.js +0 -38
  555. package/esm2015/foehn-menu-prestation/foehn-menu-items/foehn-menu-item-transmit/foehn-menu-item-transmit.component.js +0 -54
  556. package/esm2015/foehn-menu-prestation/foehn-menu-prestation.module.js +0 -61
  557. package/esm2015/foehn-modal/foehn-modal.component.js +0 -100
  558. package/esm2015/foehn-modal/foehn-modal.module.js +0 -19
  559. package/esm2015/foehn-multiselect-autocomplete/foehn-multiselect-autocomplete.component.js +0 -259
  560. package/esm2015/foehn-multiselect-autocomplete/foehn-multiselect-autocomplete.module.js +0 -42
  561. package/esm2015/foehn-nav13/foehn-input-nav13.component.js +0 -98
  562. package/esm2015/foehn-nav13/foehn-input-nav13.module.js +0 -34
  563. package/esm2015/foehn-navigation/foehn-navigation.component.js +0 -98
  564. package/esm2015/foehn-navigation/foehn-navigation.module.js +0 -34
  565. package/esm2015/foehn-navigation/foehn-navigation.service.js +0 -300
  566. package/esm2015/foehn-notfound/foehn-notfound.module.js +0 -20
  567. package/esm2015/foehn-page/foehn-page-modal.component.js +0 -55
  568. package/esm2015/foehn-page/foehn-page.component.js +0 -220
  569. package/esm2015/foehn-page/foehn-page.module.js +0 -80
  570. package/esm2015/foehn-recap-section/foehn-recap-section.component.js +0 -88
  571. package/esm2015/foehn-recap-section/foehn-recap-section.module.js +0 -20
  572. package/esm2015/foehn-remaining-alerts-summary/foehn-remaining-alerts-summary.component.js +0 -28
  573. package/esm2015/foehn-status-progress-bar/foehn-status-progress-bar.component.js +0 -40
  574. package/esm2015/foehn-status-progress-bar/foehn-status-progress-bar.module.js +0 -20
  575. package/esm2015/foehn-table/foehn-table-column-configuration.js +0 -3
  576. package/esm2015/foehn-table/foehn-table.component.js +0 -151
  577. package/esm2015/foehn-table/foehn-table.module.js +0 -34
  578. package/esm2015/foehn-upload/abstract-foehn-uploader.component.js +0 -192
  579. package/esm2015/foehn-upload/foehn-bo-multi-upload/bo-multi-upload.service.js +0 -63
  580. package/esm2015/foehn-upload/foehn-bo-multi-upload/foehn-bo-multi-upload.component.js +0 -171
  581. package/esm2015/foehn-upload/foehn-bo-multi-upload/foehn-bo-multi-upload.module.js +0 -38
  582. package/esm2015/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.js +0 -220
  583. package/esm2015/foehn-upload/foehn-multi-upload/foehn-multi-upload.module.js +0 -38
  584. package/esm2015/foehn-upload/foehn-multi-upload/multi-upload.service.js +0 -77
  585. package/esm2015/foehn-upload/foehn-multi-upload/pending-upload.service.js +0 -158
  586. package/esm2015/foehn-upload/foehn-picture-upload/foehn-picture-upload.component.js +0 -167
  587. package/esm2015/foehn-upload/foehn-picture-upload/foehn-picture-upload.module.js +0 -42
  588. package/esm2015/foehn-upload/uploader.helper.js +0 -322
  589. package/esm2015/foehn-validation-alert-summary/foehn-validation-alert-summary.component.js +0 -88
  590. package/esm2015/foehn-validation-alert-summary/foehn-validation-alert-summary.module.js +0 -19
  591. package/esm2015/foehn-validation-alerts/foehn-validation-alerts.component.js +0 -32
  592. package/esm2015/gesdem/gesdem-error-handler.service.js +0 -85
  593. package/esm2015/gesdem/gesdem-event.service.js +0 -38
  594. package/esm2015/gesdem/gesdem-handler.service.js +0 -151
  595. package/esm2015/gesdem/gesdem-loader.guard.js +0 -40
  596. package/esm2015/gesdem-action-recovery/gesdem-action-recovery-login/gesdem-action-recovery-login.component.js +0 -103
  597. package/esm2015/gesdem-action-recovery/gesdem-action-recovery-registration/gesdem-action-recovery-registration.component.js +0 -133
  598. package/esm2015/gesdem-action-recovery/gesdem-action-recovery.module.js +0 -52
  599. package/esm2015/gesdem-action-recovery/gesdem-action-recovery.service.js +0 -82
  600. package/esm2015/gesdem-action-recovery/reprise-info.js +0 -3
  601. package/esm2015/gesdem-confirmation/gesdem-confirmation.component.js +0 -194
  602. package/esm2015/gesdem-confirmation/gesdem-confirmation.module.js +0 -34
  603. package/esm2015/gesdem-error/gesdem-error.component.js +0 -70
  604. package/esm2015/gesdem-error/gesdem-error.module.js +0 -34
  605. package/esm2015/helpers/object.helper.js +0 -89
  606. package/esm2015/index.js +0 -238
  607. package/esm2015/sdk-appinfo/application-info.js +0 -14
  608. package/esm2015/sdk-appinfo/application-info.service.js +0 -111
  609. package/esm2015/sdk-date/date.helper.js +0 -90
  610. package/esm2015/sdk-dictionary/default-dictionary.js +0 -98
  611. package/esm2015/sdk-dictionary/sdk-dictionary.service.js +0 -96
  612. package/esm2015/sdk-epayment/model/EPaymentRequest.js +0 -3
  613. package/esm2015/sdk-epayment/sdk-epayment.component.js +0 -113
  614. package/esm2015/sdk-epayment/sdk-epayment.module.js +0 -21
  615. package/esm2015/sdk-epayment/sdk-epayment.service.js +0 -46
  616. package/esm2015/sdk-recaptcha/grecaptcha/grecaptcha.component.js +0 -112
  617. package/esm2015/sdk-recaptcha/recaptcha.service.js +0 -162
  618. package/esm2015/sdk-recaptcha/sdk-recaptcha.component.js +0 -72
  619. package/esm2015/sdk-recaptcha/sdk-recaptcha.module.js +0 -19
  620. package/esm2015/sdk-redirect/iam-expired-interceptor.service.js +0 -48
  621. package/esm2015/sdk-redirect/redirect.component.js +0 -47
  622. package/esm2015/sdk-redirect/sdk-redirect.module.js +0 -19
  623. package/esm2015/sdk-session-info/session-info.service.js +0 -44
  624. package/esm2015/sdk-support-alert/support-alert-container.component.js +0 -53
  625. package/esm2015/sdk-support-alert/support-alert.component.js +0 -38
  626. package/esm2015/sdk-support-alert/support-alert.module.js +0 -21
  627. package/esm2015/sdk-support-alert/support-alert.service.js +0 -114
  628. package/esm2015/supported-browser.js +0 -2
  629. package/esm2015/validation/validation-handler.service.js +0 -44
  630. package/fesm2015/dsivd-prestations-ng.js +0 -12236
  631. package/fesm2015/dsivd-prestations-ng.js.map +0 -1
  632. package/foehn-navigation/foehn-navigation.component.d.ts +0 -29
  633. package/sdk-epayment/model/EPaymentRequest.d.ts +0 -5
  634. /package/{esm2015/foehn-breadcrumb/breadcrumb.js → esm2020/foehn-breadcrumb/breadcrumb.mjs} +0 -0
  635. /package/{esm2015/foehn-checkables/form-select-option-group.js → esm2020/foehn-checkables/form-select-option-group.mjs} +0 -0
  636. /package/{esm2015/foehn-checkables/form-select-option.js → esm2020/foehn-checkables/form-select-option.mjs} +0 -0
  637. /package/{esm2015/foehn-confirm-modal/foehn-confirm-modal-content.js → esm2020/foehn-confirm-modal/foehn-confirm-modal-content.mjs} +0 -0
  638. /package/{esm2015/foehn-date-picker/day-month.type.js → esm2020/foehn-date-picker/day-month.type.mjs} +0 -0
  639. /package/{esm2015/foehn-date-picker/focused-day.type.js → esm2020/foehn-date-picker/focused-day.type.mjs} +0 -0
  640. /package/{esm2015/foehn-date-picker/month-year.type.js → esm2020/foehn-date-picker/month-year.type.mjs} +0 -0
  641. /package/{esm2015/foehn-footer/footer-link.type.js → esm2020/foehn-footer/footer-link.type.mjs} +0 -0
  642. /package/{esm2015/foehn-growl/growl-types.js → esm2020/foehn-growl/growl-types.mjs} +0 -0
  643. /package/{esm2015/foehn-list/page-change-event.js → esm2020/foehn-list/page-change-event.mjs} +0 -0
  644. /package/{esm2015/foehn-menu-prestation/foehn-list-summary/foehn-list-item-description.js → esm2020/foehn-menu-prestation/foehn-list-summary/foehn-list-item-description.mjs} +0 -0
  645. /package/{esm2015/foehn-menu-prestation/foehn-list-summary/foehn-list-item.js → esm2020/foehn-menu-prestation/foehn-list-summary/foehn-list-item.mjs} +0 -0
  646. /package/{esm2015/foehn-table/foehn-table-page-change-event.js → esm2020/foehn-table/foehn-table-page-change-event.mjs} +0 -0
  647. /package/{esm2015/foehn-table/tableSort.js → esm2020/foehn-table/tableSort.mjs} +0 -0
  648. /package/{esm2015/foehn-upload/document-reference.js → esm2020/foehn-upload/document-reference.mjs} +0 -0
  649. /package/{esm2015/foehn-upload/foehn-bo-multi-upload/bo-multi-upload.type.js → esm2020/foehn-upload/foehn-bo-multi-upload/bo-multi-upload.type.mjs} +0 -0
  650. /package/{esm2015/foehn-upload/foehn-multi-upload/multi-upload.type.js → esm2020/foehn-upload/foehn-multi-upload/multi-upload.type.mjs} +0 -0
  651. /package/{esm2015/foehn-upload/pending-upload.type.js → esm2020/foehn-upload/pending-upload.type.mjs} +0 -0
  652. /package/{esm2015/gesdem/gesdem-statut-utils.js → esm2020/gesdem/gesdem-statut-utils.mjs} +0 -0
  653. /package/{esm2015/sdk-epayment/model/EPaymentParameters.js → esm2020/sdk-epayment/model/EPaymentParameters.mjs} +0 -0
  654. /package/{esm2015/sdk-support-alert/support-alert.model.js → esm2020/sdk-support-alert/support-alert.model.mjs} +0 -0
  655. /package/{esm2015/service-locator.js → esm2020/service-locator.mjs} +0 -0
package/CHANGELOG.md CHANGED
@@ -1,262 +1,1562 @@
1
1
  # Changelog
2
2
 
3
3
  - All notable changes to this project will be documented in this file.
4
- - This changelog, as well as a demo of some of the components, can be consulted here : https://dsi-vd.github.io/prestations-ng/
4
+ - This changelog, as well as a demo of some of the components, can be consulted here : https://dsi-vd.github.io/prestations-ng/
5
5
  - **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)**
6
6
 
7
- ## Notes about versioning in Prestakit
7
+ ---
8
+
9
+ ## [16.4.10]
10
+
11
+ ### Added
12
+
13
+ - [gesdem-handler.service.ts](projects/prestations-ng/src/gesdem/gesdem-handler.service.ts)
14
+
15
+ - added `byPassEmitResponse?: boolean` optional parameter to `require` function.
16
+ - When set to `true`, does not call `emitResponse`.
17
+ - 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.
18
+
19
+ - [object.helper.ts](projects/prestations-ng/src/helpers/object.helper.ts)
20
+ - 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.
21
+ - added `static isDifferent(value1: unknown, value2: unknown, skipFunctionType: boolean = true): boolean`
22
+ -
23
+ - [demande.helper.ts](projects/prestations-ng/src/helpers/demande.helper.ts)
24
+ - added `static getSafeReference(reference: string): string` (returns the reference if the format is valid otherwise returns null)
25
+
26
+ ### Fixed
27
+
28
+ - [gesdem-loader.guard](projects/prestations-ng/src/gesdem/gesdem-loader.guard.ts)
29
+
30
+ - now bypassing last response emit when calling `require` on Gesdem
31
+
32
+ - [demande-transmit-interceptor.ts](projects/prestations-ng/src/foehn-page/foehn-transmit-waiting-modal/demande-transmit-interceptor.ts)
33
+
34
+ - hide `foehn-transmit-waiting-modal` on any http error
35
+
36
+ - [foehn-debug-summary.component.ts](projects/prestations-ng/src/foehn-debug-summary/foehn-debug-summary.component.ts)
37
+ - do not display reference if not in the correct format
38
+
39
+ ### Updated
40
+
41
+ - [foehn-remaining-alerts-summary.component.html](projects/prestations-ng/src/foehn-remaining-alerts-summary/foehn-remaining-alerts-summary.component.html)
42
+
43
+ - updated error message
44
+
45
+ - [foehn-list-summary.component.ts](projects/prestations-ng/src/foehn-menu-prestation/foehn-list-summary/foehn-list-summary.component.ts)
46
+
47
+ - `@Input() list` and `@Input() listItemDescriptions` now check if data has changed before updating the DOM
48
+
49
+ - [foehn-remaining-alerts-summary.component.html](projects/prestations-ng/src/foehn-recap-section/foehn-recap-section.component.html)
50
+ - columns size now adapt to content
51
+
52
+ ## [16.4.9]
53
+
54
+ ### Added
55
+
56
+ - [recaptcha.service.ts](projects/prestations-ng/src/sdk-recaptcha/recaptcha.service.ts)
57
+
58
+ - added `CAPTCHA_URL_TOKEN = new InjectionToken<string>` to be able to configure the captcha script url
59
+
60
+ - [foehn-transmit-waiting-modal.component.ts](projects/prestations-ng/src/foehn-page/foehn-transmit-waiting-modal/foehn-transmit-waiting-modal.component.ts)
61
+ - [foehn-transmit-waiting-modal.component.html](projects/prestations-ng/src/foehn-page/foehn-transmit-waiting-modal/foehn-transmit-waiting-modal.component.html)
62
+
63
+ - added a modal to transmit action so users know something is actually being processed
64
+
65
+ - New dictionary keys:
66
+
67
+ - `foehn-transmit-waiting-modal.title` is the modal displayed title
68
+ - `foehn-transmit-waiting-modal.message` is the main modal message
69
+ - `foehn-transmit-waiting-modal.help` is a help message displayed underneath undetermined progressbar
70
+
71
+ - [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)
72
+ - [foehn-remaining-alerts-summary.component.ts](projects/prestations-ng/src/foehn-remaining-alerts-summary/foehn-remaining-alerts-summary.component.ts)
73
+ - added `@Input() remainingErrorNamesToIgnore: string[] = []` to be able to ignore errors that could be on the verification page, like a last checkbox to check
74
+
75
+ ## [16.4.8]
76
+
77
+ ### Added
78
+
79
+ - [foehn-input.component.ts](projects/prestations-ng/src/foehn-input/foehn-input.component.ts)
80
+
81
+ - added `@Input() standardHelpText` to set the standard help text of the input mail
82
+
83
+ ### Fixed
84
+
85
+ - [foehn-autocomplete.component.ts](projects/prestations-ng/src/foehn-autocomplete/foehn-autocomplete.component.ts)
86
+
87
+ - now escaping regex characters in search value
88
+
89
+ - [foehn-radio.component.html](projects/prestations-ng/src/foehn-checkables/foehn-radio.component.html)
90
+ - [foehn-boolean-radio.component.html](projects/prestations-ng/src/foehn-boolean/foehn-boolean-radio.component.html)
91
+
92
+ - fixed `[attr.name]` and `[name]` for native keyboard navigation
93
+
94
+ - [foehn-list-summary.component.ts](projects/prestations-ng/src/foehn-menu-prestation/foehn-list-summary/foehn-list-summary.component.ts)
95
+ - [foehn-table.component.ts](projects/prestations-ng/src/foehn-table/foehn-table.component.ts)
96
+
97
+ - fixed tracking functions
98
+
99
+ - [foehn-input-email.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-email.component.ts)
100
+
101
+ - fixed 'helpText' to 'standardHelpText'
102
+
103
+ - [default-dictionary.ts](projects/prestations-ng/src/sdk-dictionary/default-dictionary.ts)
104
+ - fixed keys: `foehn-input-email.help-text` to `foehn-input-email.standard-text`
105
+
106
+ ## [16.4.7]
107
+
108
+ ### Added
109
+
110
+ - New [form control testing](https://dsi-vd.github.io/prestations-ng/form-control) page
111
+
112
+ - [foehn-input-email.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-email.component.ts)
113
+
114
+ - added a default helpText for email input
115
+
116
+ - New dictionary keys:
117
+ - `foehn-input-email.help-text` is the message displayed in the helptext of the email input
118
+
119
+ ### Fixed
120
+
121
+ - [foehn-input.component.ts](projects/prestations-ng/src/foehn-input/foehn-input.component.ts)
122
+
123
+ - fixed `markAsDirty()` not been called when clearing input
124
+
125
+ - [foehn-input-date.component.ts](projects/prestations-ng/src/foehn-input-date/foehn-input-date.component.ts)
126
+ - [foehn-input-date-time.component.ts](projects/prestations-ng/src/foehn-input-date-time/foehn-input-date-time.component.ts)
127
+ - [foehn-input-time.component.ts](projects/prestations-ng/src/foehn-input-time/foehn-input-time.component.ts)
128
+
129
+ - fixed `markAsDirty()` not been called when clearing all inputs
130
+
131
+ - [foehn-bo-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-bo-multi-upload/foehn-bo-multi-upload.component.ts)
132
+ - [foehn-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.ts)
133
+ - [foehn-multiselect-autocomplete.component.ts](projects/prestations-ng/src/foehn-multiselect-autocomplete/foehn-multiselect-autocomplete.component.ts)
134
+
135
+ - fixed `markAsDirty()` not been called when deleting an item
136
+
137
+ ### Updated
138
+
139
+ - [foehn-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.ts)
140
+ - [foehn-bo-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-bo-multi-upload/foehn-bo-multi-upload.component.ts)
141
+ - `@Input() maxSimultaneousSelectedFiles` has now `null` as default value (feature is disabled)
142
+
143
+ ## [16.4.6]
144
+
145
+ ### Added
146
+
147
+ - [page-upload-limit.service.ts](projects/prestations-ng/src/foehn-upload/page-upload-limit.service.ts)
148
+
149
+ - 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)
150
+ - limits can be set using `setPageMaxFilesCount(countLimit: number)` (default : null) and/or `setPageMaxFilesSizeInMo(maxSizeInMo: number)` (default : null)
151
+
152
+ - [foehn-input-address.component.html](projects/prestations-ng/src/foehn-address/foehn-input-address.component.html)
153
+
154
+ - exposed `hideNotRequiredExtraLabelStreetNumber` (default to `true`) to make street number label 'required' suffix hidden or not.
155
+
156
+ ## [16.4.5]
157
+
158
+ ### Added
159
+
160
+ - [foehn-input.component.ts](projects/prestations-ng/src/foehn-input/foehn-input.component.ts)
161
+
162
+ - added `@Input() updateModelWhenDisabled = false;`. When set to `true` allows double-binding even when input is disabled
163
+
164
+ ### Fixed
165
+
166
+ - [foehn-input-textarea.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-textarea.component.ts)
167
+
168
+ - input displayed value not being updated properly when input `model` is set dynamically to `NULL`
169
+
170
+ - [gesdem-action-recovery-login.component.ts](projects/prestations-ng/src/gesdem-action-recovery/gesdem-action-recovery-login)
171
+
172
+ - fixed redirection on action recovery login success on a multi-prestation
173
+
174
+ ## [16.4.4]
175
+
176
+ ### Fixed
177
+
178
+ - [foehn-input-address.component.html](projects/prestations-ng/src/foehn-address/foehn-input-address.component.html)
179
+
180
+ - always set hideNotRequiredExtraLabel to true
181
+
182
+ - [foehn-input.component.ts](projects/prestations-ng/src/foehn-input/foehn-input.component.ts)
183
+
184
+ - fixed focus for component containing foehnInput subcomponents
185
+
186
+ - [foehn-input-prefixed-text.component.html](projects/prestations-ng/src/foehn-input/foehn-input-prefixed-text.component.html)
187
+ - [foehn-input-date-time.component.html](projects/prestations-ng/src/foehn-input-date-time/foehn-input-date-time.component.html)
188
+ - [foehn-input-date.component.html](projects/prestations-ng/src/foehn-input-date/foehn-input-date.component.html)
189
+ - [foehn-input-time.component.html](projects/prestations-ng/src/foehn-input-time/foehn-input-time.component.html)
190
+ - [foehn-input-nav13.component.html](projects/prestations-ng/src/foehn-nav13/foehn-input-nav13.component.html)
191
+
192
+ - fixed margin bottom being to big due to component having subcomponents
193
+
194
+ - [foehn-input-date-time.component.ts](projects/prestations-ng/src/foehn-input-date-time/foehn-input-date-time.component.ts)
195
+
196
+ - fixed model not being updated properly when clearing model
197
+ - fixed clearing model not taking into account disabled fields
198
+
199
+ - [foehn-input-date-time.component.html](projects/prestations-ng/src/foehn-input-date-time/foehn-input-date-time.component.html)
200
+
201
+ - fixed clear button visibility not taking into account disabled fields
202
+
203
+ - [abstract-page-component.ts](projects/prestations-ng/src/abstract-page-component.ts)
204
+
205
+ - set default language in form when creating the form (calling newForm())
206
+
207
+ - [foehn-input-prefixed-text.component.html](projects/prestations-ng/src/foehn-input/foehn-input-prefixed-text.component.html)
208
+
209
+ - fixed a bug where a custom prefix would crash the component if the custom prefix contains the default prefix
210
+
211
+ ### Added
212
+
213
+ - [foehn-input-date-time.component.html](projects/prestations-ng/src/foehn-input-date-time/foehn-input-date-time.component.html)
214
+ - [foehn-input-time.component.html](projects/prestations-ng/src/foehn-input-time/foehn-input-time.component.html)
215
+ - Added clear button to empty fields
216
+
217
+ ## [16.4.3]
218
+
219
+ ### Fixed
220
+
221
+ - [sdk-epayment.component.html](projects/prestations-ng/src/sdk-epayment/sdk-epayment.component.html)
222
+ - [sdk-epayment.component.ts](projects/prestations-ng/src/sdk-epayment/sdk-epayment.component.ts)
223
+ - added a modal triggered before redirecting to postfinance to prevent users from creating multiple transactions
224
+
225
+ ## [16.4.2]
226
+
227
+ ### Fixed
228
+
229
+ - [gesdem-action-recovery-registration.component.ts](projects/prestations-ng/src/gesdem-action-recovery/gesdem-action-recovery-registration/gesdem-action-recovery-registration.component.ts)
230
+ - fixed navigation loop when getting default recovery values
231
+
232
+ ## [16.4.1]
233
+
234
+ ### Fixed
235
+
236
+ - [demande-expiration-interceptor.ts](projects/prestations-ng/src/foehn-page/foehn-page-expiration-timer/demande-expiration-interceptor.ts)
237
+ - fixed bug when intercepting request without a response body
238
+
239
+ ## [16.4.0] - must be aligned with prestations-be
240
+
241
+ ### Added
242
+
243
+ - [foehn-page-expiration-timer.component.ts](projects/prestations-ng/src/foehn-page/foehn-page-expiration-timer/foehn-page-expiration-timer.component.ts)
244
+ - [foehn-page-expiration-timer.component.html](projects/prestations-ng/src/foehn-page/foehn-page-expiration-timer/foehn-page-expiration-timer.component.html)
245
+
246
+ - added a timer message to alert user of session expiration
247
+ - `session-token.session-time-to-live-in-minutes` can be overridden in back-end properties
248
+ - `session-token.message-delay-in-minutes` can be overridden in back-end properties
249
+
250
+ - New dictionary keys:
251
+
252
+ - `foehn-page-expiration-timer.count-down-message` is the message displayed when timer is running
253
+ - `foehn-page-expiration-timer.count-down-message.sr-only` same as above but for screen reader
254
+ - `foehn-page-expiration-timer.expired-message` is the message displayed when session has expired
255
+ - `foehn-page-expiration-timer.expired-message.sr-only` same as above but for screen reader
256
+
257
+ - [foehn-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.ts)
258
+ - [foehn-bo-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-bo-multi-upload/foehn-bo-multi-upload.component.ts)
259
+
260
+ - added `@Input() maxFilesCount;`
261
+ - prevents global upload of more than `maxFilesCount` files and displays an alert from default-dictionary.ts (`foehn-uploader.max-files-count-reached`)
262
+
263
+ - [foehn-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.ts)
264
+ - [foehn-bo-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-bo-multi-upload/foehn-bo-multi-upload.component.ts)
265
+
266
+ - added `@Input() maxFilesSizeInMo;`
267
+ - prevents global upload of more than `maxFilesSizeInMo` Mo and displays an alert from default-dictionary.ts (`foehn-uploader.max-files-size-reached`)
268
+
269
+ - [gesdem-handler.service.ts](projects/prestations-ng/src/gesdem/gesdem-handler.service.ts)
270
+ - added a second optional parameter to `save(form: any, displaySuccessMessage: boolean = true): Observable<any>`
271
+ - `displaySuccessMessage` by default is true. When set to false, the form success saving message is not displayed
272
+
273
+ ### Updated
274
+
275
+ - [foehn-page.component.html](projects/prestations-ng/src/foehn-page/foehn-page-expiration-timer/foehn-page-expiration-timer.component.html)
276
+
277
+ - updated `foehn-page` to add session expiration timer message
278
+
279
+ - [gesdem-action-recovery-registration.component.ts](projects/prestations-ng/src/gesdem-action-recovery/gesdem-action-recovery-registration/gesdem-action-recovery-registration.component.ts)
280
+
281
+ - updated recovery registration modal to inform the user of its current registration
282
+ - added `@Input() triggerOnPageChange = false`
283
+
284
+ - [foehn-simple-navigation.component.ts](projects/prestations-ng/src/foehn-navigation/foehn-navigation/foehn-navigation.component.ts)
285
+ - [foehn-simple-navigation.component.ts](projects/prestations-ng/src/foehn-navigation/foehn-simple-navigation/foehn-simple-navigation.component.ts)
286
+
287
+ - added `@Input() triggerRecoveryOnPageChange = false` to set `triggerOnPageChange` to its `<gesdem-action-recovery-registration>'
288
+
289
+ - [ApplicationInfo](projects/prestations-ng/src/sdk-appinfo/application-info.ts)
290
+
291
+ - added fields to `ApplicationInfo.EtapeInfo` :
292
+ - `lienAcces : string` link to the FO's base url as defined in Catprest
293
+ - `Integer draftDemRetentionDaysPublic : number` conservation duration of draft demands when not connected (in days)
294
+ - `Integer draftDemRetentionDaysConnected : number` conservation duration of draft demands when connected (in days)
295
+
296
+ - [I18NForm](projects/prestations-ng/src/i18n-form.ts)
297
+
298
+ - added field `referenceInterne = ''`, since the reference interne can now be set via action recovery, it has to be kept in sync with the form
299
+ - you can use this field to request the user for a reference interne.
300
+
301
+ - [pending-upload.service.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/pending-upload.service.ts)
302
+ - Does not display the form success saving message after saving pending files
303
+
304
+ ### Fixed
305
+
306
+ - [pattern.const](projects/prestations-ng/src/foehn-input/pattern.const.ts)
307
+
308
+ - fixed `HTML_PHONE_PATTERN` not escaping parenthesis
309
+
310
+ ## [16.3.0] - must be aligned with prestations-be
311
+
312
+ ### Added
313
+
314
+ - [foehn-icon-pencil.component.ts](projects/prestations-ng/src/foehn-icons/foehn-icon-pencil.component.ts)
315
+
316
+ - New icon `foehn-icon-pencil` available
317
+
318
+ - [drafts-container.component.ts](projects/prestations-ng/src/sdk-drafts/drafts-container.component.ts)
319
+
320
+ - A new component integrated in the `foehn-page` that show existing draft demands for a connected user
321
+ - disabled for now, can be enabled by setting `[draftsEnabled]="true"` to the foehn-page
322
+
323
+ - [foehn-input-number](projects/prestations-ng/src/foehn-input/foehn-input-number.component.ts)
324
+
325
+ - add `@Input() allowLeadingZero = false` to specify if we allow leading `0` such as NAVS13 numbers
326
+
327
+ - add prestations-be documentation
328
+
329
+ - [foehn-input-date.component.ts](projects/prestations-ng/src/foehn-input-date/foehn-input-date.component.ts)
330
+ - added global clear button
331
+
332
+ ### Updated
333
+
334
+ - [breadcrumb-event.service.ts](projects/prestations-ng/src/foehn-breadcrumb/breadcrumb-event.service.ts)
335
+ - remove level "Accéder aux prestations" when user is connected
336
+
337
+ - [foehn-input-number](projects/prestations-ng/src/foehn-input/foehn-input-number.component.ts)
338
+
339
+ - removes leading `0` when `allowFreeInput` is set to `false` such as `01` or `-01`
340
+
341
+ - [gesdem-handler.service.ts](projects/prestations-ng/src/gesdem/gesdem-handler.service.ts)
342
+
343
+ - updates save confirmation message when user is connected
344
+
345
+ - [gesdem-action-recovery-login.component.ts](projects/prestations-ng/src/gesdem-action-recovery/gesdem-action-recovery-login)
346
+ - displays a confirmation message after loading a recovered demand
347
+
348
+ ### Fixed
349
+
350
+ - [foehn-input-string](projects/prestations-ng/src/foehn-input/foehn-input-string.component.ts)
351
+
352
+ - replaces one or multiple consecutive tabulations with one white space on blur
353
+ - all `foehn-input-*` components extending `foehn-input-string` component will be fixed (i.e. text, textarea, email, phone...)
354
+
355
+ - [foehn-input-address](projects/prestations-ng/src/foehn-address/foehn-input-address.component.ts)
356
+ - now listens to changes on `model` and `isOnlySwiss` to set default country to switzerland
357
+
358
+ ## [16.2.0] - must be aligned with prestations-be
359
+
360
+ ### Added
361
+
362
+ - [foehn-recap-section](projects/prestations-ng/src/foehn-recap-section/foehn-recap-section.type.ts)
363
+
364
+ - add `titleLevel?: 'h2' | 'h3' | 'h4' | 'h5' | 'h6'` to specify the title level
365
+
366
+ - [default-dictionary.ts](projects/prestations-ng/src/sdk-dictionary/default-dictionary.ts)
367
+ - added keys:
368
+ - `espace-securise.menu.item.accueil.label`
369
+ - `espace-securise.menu.item.accueil.title`
370
+ - `espace-securise.menu.item.preferences.label`
371
+ - `espace-securise.menu.item.preferences.title`
372
+ - `espace-securise.menu.item.gestion-compte.label`
373
+ - `espace-securise.menu.item.gestion-compte.title`
374
+ - `espace-securise.menu.item.operations-liees-espace-pro.label`
375
+ - `espace-securise.menu.item.operations-liees-espace-pro.title`
376
+ - `espace-securise.menu.item.administrer-espace-pro.label`
377
+ - `espace-securise.menu.item.administrer-espace-pro.title`
378
+ - `espace-securise.menu.item.deconnection.label`
379
+ - `espace-securise.menu.item.deconnection.title`
380
+
381
+ ### Changed
382
+
383
+ - [foehn-recap-section](projects/prestations-ng/src/foehn-recap-section/foehn-recap-section.component.html)
384
+
385
+ - manages specified title level
386
+
387
+ - [foehn-header](projects/prestations-ng/src/foehn-header/foehn-header.component.ts)
388
+ - changed drop down menu items
389
+
390
+ ## [16.1.1]
391
+
392
+ ### Added
393
+
394
+ - [foehn-multiselect-autocomplete](projects/prestations-ng/src/foehn-multiselect-autocomplete/foehn-multiselect-autocomplete.component.ts)
395
+ - add `@Input() isSuggestionListDynamic = false` to specifies if suggestion elements list is being retrieved dynamically while user inputs in search field.
396
+ - add `@Output() userSearchInput = new EventEmitter<string>()` fired when user changes search input value
397
+
398
+ ### Removed
399
+
400
+ - [foehn-page.component.ts](projects/prestations-ng/src/foehn-page/foehn-page.component.ts)
401
+
402
+ - removed `showSecuredAreaLoginButton` (now driven by catprest `deployeCyber` attribute)
403
+ - removed info alert that engaged the user to connect with it's MIE
404
+
405
+ - [default-dictionary.ts](projects/prestations-ng/src/sdk-dictionary/default-dictionary.ts)
406
+ - removed keys:
407
+ - `use-login.text.decision-electronique-available`
408
+ - `use-login.text`
409
+ - `use-login.button.text`
410
+ - `use-login.continue-without-login.button.text`
411
+
412
+ ## [16.1.0] - must be aligned with prestations-be
413
+
414
+ ### Added
415
+
416
+ - [Locality](projects/prestations-ng/src/foehn-address/address.type.ts)
417
+
418
+ - added field `municipalityId: number`
419
+ - added field `cantonCode: string`
420
+
421
+ - [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)
422
+
423
+ - added `@Ouput() clickedWithRemainingErrors = new EventEmitter<number>();` to be able to react to a click on the button when the form still has errors
424
+
425
+ - [default-dictionary.ts](projects/prestations-ng/src/sdk-dictionary/default-dictionary.ts)
426
+ - added keys:
427
+ - `foehn-uploader.files-saved-success-message` (default message: `{successfulDocumentsCount} fichier(s) sauvegardé(s) avec succès`)
428
+ - `foehn-uploader.transmission-error-message` (default message: `Une erreur est survenue lors de la transmission de vos documents`)
429
+ - `foehn-uploader.files-deleted-success-message` (default message: `Suppression du fichier {filename} réussie`)
430
+ - `foehn-uploader.delete-error-message` (default message: `Une erreur est survenue lors de la suppression de votre document`)
431
+ - `foehn-upload-progress-bar.group.upload` (default message: `Lot {packageIndex}/{nbPackages}: Enregistrement en cours...`)
432
+ - `foehn-upload-progress-bar.group.analysis` (default message: `Lot {packageIndex}/{nbPackages}: Analyse en cours... Merci de patienter.`)
433
+ - `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`)
434
+
435
+ ### Fixed
436
+
437
+ - [uploader.helper.ts](projects/prestations-ng/src/foehn-upload/uploader.helper.ts)
438
+ - handle `applicationInfo.configuration.document.fileMaxSizeInBytesByFormKey` correctly if the key is a regex
439
+
440
+ ### Updated
441
+
442
+ - [multi-upload.service.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/multi-upload.service.ts)
443
+ - [bo-multi-upload.service.ts](projects/prestations-ng/src/foehn-upload/foehn-bo-multi-upload/bo-multi-upload.service.ts)
444
+
445
+ - multiple document uploads are now done by packages of 3 files maximum
446
+
447
+ - [upload-progress.service.ts](projects/prestations-ng/src/foehn-upload/foehn-upload-progress-bar/upload-progress.service.ts)
448
+
449
+ - Function `manageUploadEventFilter` has two more parameters `packageIndex: number` (default: 0) and `nbPackages: number` (default: 1)
450
+
451
+ - [foehn-upload-progress-bar.component.html](projects/prestations-ng/src/foehn-upload/foehn-upload-progress-bar/foehn-upload-progress-bar.component.html)
452
+
453
+ - Upload and analysis messages have been updated to take into account packages upload
454
+
455
+ - [gesdem-action-recovery-registration.component.ts](projects/prestations-ng/src/gesdem-action-recovery/gesdem-action-recovery-registration/gesdem-action-recovery-registration.component.ts)
456
+ - reload form from the backend after a successfull registration
457
+ - added default labels in [default-dictionary.ts](projects/prestations-ng/src/sdk-dictionary/default-dictionary.ts)
458
+
459
+ ## [16.0.7]
460
+
461
+ ### Added
462
+
463
+ - [foehn-input-time.ts](projects/prestations-ng/src/foehn-input-time/foehn-input-time.component.ts)
464
+ - [foehn-input-date-time.ts](projects/prestations-ng/src/foehn-input-date-time/foehn-input-date-time.component.ts)
465
+ - [foehn-input-date.component.ts](projects/prestations-ng/src/foehn-input-date/foehn-input-date.component.ts)
466
+ - added `@Input() childrenLabelSrOnly = false;` to set sr-only labels to children components
467
+
468
+ ### Fixed
469
+
470
+ - [foehn-header.component.html](projects/prestations-ng/src/foehn-header/foehn-header.component.html)
471
+ - do not display fontawesome user icon for screen readers
472
+
473
+ ## [16.0.6]
474
+
475
+ ### Fixed
476
+
477
+ - [multi-upload.service.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/multi-upload.service.ts)
478
+ - close progress modal when upload request failed
479
+
480
+ ## [16.0.5]
481
+
482
+ ### Added
483
+
484
+ - [foehn-page.component.html](projects/prestations-ng/src/foehn-page/foehn-page.component.html)
485
+ - [foehn-page.component.ts](projects/prestations-ng/src/foehn-page/foehn-page.component.ts)
486
+
487
+ - added `@Input() routerLinkAppTitle: string` to give to `foehn-header-component`.
488
+
489
+ - [foehn-header.component.html](projects/prestations-ng/src/foehn-header/foehn-header.component.html)
490
+ - [foehn-header.component.ts](projects/prestations-ng/src/foehn-header/foehn-header.component.ts)
491
+ - added `@Input() routerLinkAppTitle: string` to display a clickable `title` to redirect user to the
492
+ given `routerLink`. By default this is undefined and the title will be displayed as usual in a `span`
493
+
494
+ ## [16.0.4]
495
+
496
+ ### Added
497
+
498
+ - [foehn-page.component.html](projects/prestations-ng/src/foehn-page/foehn-page.component.html)
499
+ - [foehn-page.component.ts](projects/prestations-ng/src/foehn-page/foehn-page.component.ts)
500
+
501
+ - added `@Input() showSecuredAreaLoginButton = false;` to display secured area login button in header
502
+
503
+ - [foehn-header.component.html](projects/prestations-ng/src/foehn-header/foehn-header.component.html)
504
+ - [foehn-header.component.ts](projects/prestations-ng/src/foehn-header/foehn-header.component.ts)
505
+ - added `@Input() showSecuredAreaLoginButton = false;` to display secured area login button
506
+
507
+ ### Fixed
508
+
509
+ - [default-dictionary.ts](projects/prestations-ng/src/sdk-dictionary/default-dictionary.ts)
510
+ - added missing keys:
511
+ - `foehn-page.browser-not-supported`
512
+ - `foehn-page.browser-download-invitation`
513
+ - `foehn-page.continue-with-same-browser`
514
+ - `foehn-page.browser-download-list.ou`
515
+ - `foehn-page.external-link.srOnly`,
516
+ - `foehn-header.logo.title`,
517
+ - `foehn-header.cyber-secured-area.identity.srOnly`,
518
+ - `foehn-header.cyber-secured-area.title`,
519
+ - `foehn-header.cyber-secured-area.connected-user`,
520
+ - `foehn-header.cyber-secured-area.connection.srOnly`,
521
+ - `foehn-header.cyber-secured-area.connection.button.title`,
522
+ - `foehn-header.iam-secured-area.identity.srOnly`,
523
+ - `foehn-header.iam-secured-area.connected-user`,
524
+ - `foehn-header.iam-secured-area.logout`,
525
+ - `foehn-skip-link.title`,
526
+ - `foehn-skip-link.content`
527
+
528
+ ## [16.0.3]
529
+
530
+ ### Fixed
531
+
532
+ - [foehn-input-address.components.ts](projects/prestations-ng/src/foehn-address/foehn-input-address.component.ts)
533
+ - clean fields that are not displayed when model is updated programmaticaly (i.e. by session info)
534
+ - addressLine1
535
+ - addressLine2
536
+ - postOfficeBoxText
537
+ - postOfficeBoxNumber
538
+
539
+ ## [16.0.2]
540
+
541
+ ### Fixed
542
+
543
+ - [foehn-list-summary.component.ts](projects/prestations-ng/src/foehn-menu-prestation/foehn-list-summary/foehn-list-summary.component.ts)
544
+ - fixed bug where `<foehn-table>` was not refreshed on item removal when `showAsTable = true`
545
+
546
+ ## [16.0.1]
547
+
548
+ ### Updated
549
+
550
+ - [foehn-list-summary.component.ts](projects/prestations-ng/src/foehn-menu-prestation/foehn-list-summary/foehn-list-summary.component.ts)
551
+ - added `@Input() showAsTable = false;` to display elements in a `<foehn-table>`
552
+
553
+ ## [16.0.0]
554
+
555
+ ### Added
556
+
557
+ - [UPGRADING_V16](UPGRADING_V16.md)
558
+ - Added migration guide
559
+ - [FoehnRecapSectionElement](projects/prestations-ng/src/foehn-recap-section/foehn-recap-section.component.ts)
560
+
561
+ - added field `isComment: boolean`, used to display comments without a label below the other elements of the section
562
+
563
+ - [foehn-simple-navigation.component.html](projects/prestations-ng/src/foehn-navigation/foehn-simple-navigation/foehn-simple-navigation.component.html)
564
+
565
+ - added simple navigation bar, used in list detail pages because the foehn-navigation does not properly fit in this type of pages
566
+
567
+ - [foehn-form.component.html](projects/prestations-ng/src/foehn-form/foehn-form.component.html)
568
+
569
+ - added accessibility on form (`aria-live="polite"` and `aria-atomic="false"`)
570
+
571
+ - [foehn-dropdown-menu](projects/prestations-ng/src/foehn-dropdown-menu/foehn-dropdown-menu.component.ts)
572
+
573
+ - added a dropdown menu or group menu component
574
+
575
+ - New [dropdown menu documentation](https://dsi-vd.github.io/prestations-ng/dropdown-menu) page
576
+
577
+ - [foehn-dropdown-menu](projects/prestations-ng/src/foehn-dropdown-menu/foehn-dropdown-menu.component.ts)
578
+
579
+ - `@Input() id: string` used to identify dropdown-menu
580
+ - `@Input() model: DropdownMenuGroup[]` used to display dropdown-menu
581
+ - `@Input() btnCssClass = 'btn-secondary'` used to define the CSS class of the dropdown menu button, by default is a secondary button
582
+
583
+ - [DropdownMenuGroup](projects/prestations-ng/src/foehn-dropdown-menu/dropdown-menu-group.type.ts)
584
+ - [DropdownMenuItem](projects/prestations-ng/src/foehn-dropdown-menu/dropdown-menu-item.type.ts)
585
+ - Classes used to define dropdown-menu model
586
+
587
+ ### Updated
588
+
589
+ - [foehn-multiselect-autocomplete](projects/prestations-ng/src/foehn-multiselect-autocomplete/foehn-multiselect-autocomplete.component.ts)
590
+
591
+ - added a `<legend>` to describe the selected items
592
+ - defaults to `foehn-multiselect-autocomplete.selected-items-list-legend` from `default-dictionary.ts`
593
+ - can be overriden on each component with `@Input() selectedItemsListLegend`
594
+ - selected pills now have the color `primary` instead of `danger`
595
+
596
+ - [gesdem-confirmation.component.ts](projects/prestations-ng/src/gesdem-confirmation/gesdem-confirmation.component.ts)
597
+
598
+ - allow to override button "Se déconnecter" (label + link) (when user is connected)
599
+ - via `@Input() closeButtonConnectedText` + `@Input() closeHrefConnected`
600
+ - via route data : `closeButtonConnectedText` + `closeHrefConnected`
601
+ - default value for label is `gesdem-confirmation.exit-button-connected` from dictionary
602
+ - default value for link is `/100018/logout`
603
+
604
+ - [demo-accessibility-page.component.html](src/app/demo-accessibility-page/demo-accessibility-page.component.html)
605
+
606
+ - updated accessibility page to include dropdown menu
607
+
608
+ - [foehn-header.component.html](projects/prestations-ng/src/foehn-header/foehn-header.component.html)
609
+ - [foehn-header.component.ts](projects/prestations-ng/src/foehn-header/foehn-header.component.ts)
610
+
611
+ - updated header to include new dropdown menu
612
+
613
+ - [gesdem-handler.service.ts](projects/prestations-ng/src/gesdem/gesdem-handler.service.ts)
614
+ - do not display a success message when downloading the PDF
615
+
616
+ ### Removed
617
+
618
+ - [foehn-checkable-group.component.ts](projects/prestations-ng/src/foehn-checkables/foehn-checkable-group.component.ts)
619
+ - removed `@Input() allElementDisabled = false`. Now managed by setting `@Input() disabled` to `true` on component.
620
+ - [abstract-foehn-uploader.component.ts](projects/prestations-ng/src/foehn-upload/abstract-foehn-uploader.component.ts)
621
+ - [foehn-bo-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-bo-multi-upload/foehn-bo-multi-upload.component.ts)
622
+ - [foehn-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.ts)
623
+
624
+ - removed `@Input() overrideMaxSizeInMo`. Now managed by the backend (see `DocumentProperties.fileMaxSizeByFormKey`)
625
+
626
+ - [foehn-table-column-configuration.ts](projects/prestations-ng/src/foehn-table/foehn-table-column-configuration.ts)
627
+
628
+ - removed `routerLinkGetter` attribute
629
+
630
+ - [gesdem-loader.guard](projects/prestations-ng/src/gesdem/gesdem-loader.guard.ts)
631
+ - removed `GesdemLoaderGuard` service extending `CanActivate` and replaced it by `CanActivateFn` function
632
+
633
+ ## [15.5.15]
634
+
635
+ ### Fixed
636
+
637
+ - [foehn-input-date-time.ts](projects/prestations-ng/src/foehn-input-date-time/foehn-input-date-time.component.ts)
638
+ - fixed time input (hours and seconds) not accepting 0 as number value
639
+
640
+ ### Added
641
+
642
+ - [date-helper.ts](projects/prestations-ng/src/sdk-date/date.helper.ts)
643
+ - added `leftPad` function taken from `FoehnDateTimeComponent` and `FoehnTimeComponent` and fixed not adding 0 on empty string
644
+
645
+ ### Updated
646
+
647
+ - [foehn-input-time.ts](projects/prestations-ng/src/foehn-input-time/foehn-input-time.component.ts)
648
+ - [foehn-input-date-time.ts](projects/prestations-ng/src/foehn-input-date-time/foehn-input-date-time.component.ts)
649
+ - now uses `leftPad` function from `DateHelper`
650
+
651
+ ## [15.5.14]
652
+
653
+ ### Fixed
654
+
655
+ - [foehn-input-time.ts](projects/prestations-ng/src/foehn-input-time/foehn-input-time.component.ts)
656
+
657
+ - fixed model not being updated properly
658
+
659
+ - [foehn-input-prefixed-text.ts](projects/prestations-ng/src/foehn-input/foehn-input-prefixed-text.component.ts)
660
+ - fixed model not being updated properly when prefix changes
661
+
662
+ ## [15.5.13]
663
+
664
+ **Version has been deprecated**
665
+
666
+ ## [15.5.12]
667
+
668
+ ### Added
669
+
670
+ - [foehn-input-prefixed-text.ts](projects/prestations-ng/src/foehn-input/foehn-input-prefixed-text.component.ts)
671
+
672
+ - new text input to request a text with a read-only prefix
673
+ - `@Input prefix: string` : the read-only prefix
674
+ - `@Input() prefixColClass = 'col-md-4'` : the class applied to the foehn-input-text of the prefix part
675
+ - `@Input() textColClass = 'col-md-8'` : the class applied to the foehn-input-text of the user text part
676
+
677
+ - [gesdem-confirmation.component.ts](projects/prestations-ng/src/gesdem-confirmation/gesdem-confirmation.component.ts)
678
+ - go to top of the page when component initializes (same as [abstract-page-component.ts](projects/prestations-ng/src/abstract-page-component.ts)).
679
+
680
+ ### Fixed
681
+
682
+ - [multi-upload.service.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/multi-upload.service.ts)
683
+ - [bo-multi-upload.service.ts](projects/prestations-ng/src/foehn-upload/foehn-bo-multi-upload/bo-multi-upload.service.ts)
684
+ - timestamp used in document `key` for multiple uploads is now generated when calling `mapToDocumentReference` (not when service is created).
685
+
686
+ ## [15.5.10]
687
+
688
+ ### Added
689
+
690
+ - [foehn-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.ts)
691
+ - [foehn-bo-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-bo-multi-upload/foehn-bo-multi-upload.component.ts)
692
+ - added `@Input() maxSimultaneousSelectedFiles = 50;`
693
+ - prevents the upload of more than `maxSimultaneousSelectedFiles` files at once and display an alert from default-dictionary.ts (`foehn-uploader.max-upload-selection-reached`)
694
+
695
+ ## [15.5.9]
696
+
697
+ ### Updated
698
+
699
+ - [foehn-recap-section.component.html](projects/prestations-ng/src/foehn-recap-section/foehn-recap-section.component.html)
700
+ - removed class `font-weight-light` for `dt` elements. By default, `dt` it is bold.
701
+
702
+ ## [15.5.8]
703
+
704
+ ### Fixed
705
+
706
+ - [recaptcha.service.ts](projects/prestations-ng/src/sdk-recaptcha/recaptcha.service.ts)
707
+ - when user was connected on page load and the back-end returns a captcha error => redirect to cyberlogin with return url to self
708
+
709
+ ## [15.5.7]
710
+
711
+ ### Fixed
712
+
713
+ - [recaptcha.service.ts](projects/prestations-ng/src/sdk-recaptcha/recaptcha.service.ts)
714
+ - Always display the captcha if it has an error (even if connected)
715
+
716
+ ## [15.5.6]
717
+
718
+ ### Fixed
719
+
720
+ - [multi-upload.service.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/multi-upload.service.ts)
721
+ - get reference from lastresponse when needed
722
+
723
+ ## [15.5.5]
724
+
725
+ ### Updated
726
+
727
+ - [foehn-select.component.ts](projects/prestations-ng/src/foehn-checkables/foehn-select.component.ts)
728
+ - an empty option is displayed if `[required]="true"` as long as no choice has been made
729
+ - fixes bug https://github.com/angular/angular/issues/14505
730
+
731
+ ## [15.5.4]
732
+
733
+ ### Updated
734
+
735
+ - [foehn-select.component.ts](projects/prestations-ng/src/foehn-checkables/foehn-select.component.ts)
736
+ - option `-` is displayed even if `[required]="true"` (but disabled in this case)
737
+
738
+ ## [15.5.3]
739
+
740
+ ### Added
741
+
742
+ - [foehn-bo-multi-upload.component.html](projects/prestations-ng/src/foehn-upload/foehn-bo-multi-upload/foehn-bo-multi-upload.component.html)
743
+
744
+ - Added `<foehn-upload-progress-bar></foehn-upload-progress-bar>`
745
+
746
+ - [foehn-status-progress-bar.component.ts](projects/prestations-ng/src/foehn-status-progress-bar/foehn-status-progress-bar.component.ts)
747
+ - In your application routing module, you can force page to be in step 2 (Verification)
748
+
749
+ ```diff
750
+ data: {
751
+ order: 3,
752
+ + isStep2: true
753
+ }
754
+ ```
755
+
756
+ ### Fixed
757
+
758
+ - [foehn-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.ts)
759
+
760
+ - Now provides `MultiUploadService` and `UploadProgressService` to avoid using a singleton
761
+
762
+ - [foehn-bo-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-bo-multi-upload/foehn-bo-multi-upload.component.ts)
763
+
764
+ - Now provides `BoMultiUploadService` and `UploadProgressService` to avoid using a singleton
765
+
766
+ - [foehn-input-date-time.component.ts](projects/prestations-ng/src/foehn-input-date-time/foehn-input-date-time.component.ts)
767
+ - [foehn-input-date-time.component.html](projects/prestations-ng/src/foehn-input-date-time/foehn-input-date-time.component.html)
768
+ - Fixed date picker not selecting nor updating model after first selection
769
+
770
+ ## [15.5.2]
771
+
772
+ ### Updated
773
+
774
+ - [foehn-page.component.html](projects/prestations-ng/src/foehn-page/foehn-page.component.html)
775
+ - update message on first page if user is not connected + reversal the buttons
776
+
777
+ ## [15.5.1]
778
+
779
+ ### Fixed
780
+
781
+ - [foehn-input-nav13.component.ts](projects/prestations-ng/src/foehn-nav13/foehn-input-nav13.component.ts)
782
+ - remove non numeric characters when pasting a complet avs number in the second field
783
+
784
+ ## [15.5.0]
785
+
786
+ ### Fixed
787
+
788
+ - [foehn-input-address.components.ts](projects/prestations-ng/src/foehn-address/foehn-input-address.component.ts)
789
+
790
+ - Fixed errors not being displayed when switching countries (Suisse -> France)
791
+
792
+ - [foehn-form.components.ts](projects/prestations-ng/src/foehn-form/foehn-form.component.ts)
793
+ - [foehn-input.components.ts](projects/prestations-ng/src/foehn-input/foehn-input.component.ts)
794
+ - Fixed ngModel not being registered when deep nested FoehnInputComponent.
795
+ - `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.
796
+ - **WARNING** `FoehnInputComponent` now implements `AfterViewInit` method so when extending, you will need to call `super.ngAfterViewInit()`
797
+
798
+ ### Added
799
+
800
+ - [foehn-boolean-radio.component.ts](projects/prestations-ng/src/foehn-boolean/foehn-boolean-radio.component.ts)
801
+
802
+ - Added `@Input() verticalDisplay = false`
803
+
804
+ - [foehn-input-date-time.components.ts](projects/prestations-ng/src/foehn-input-date-time/foehn-input-date-time.component.ts)
805
+ - `@Input() disableDay = false` used to disable date input day
806
+ - `@Input() disableMonth = false` used to disable date input month
807
+ - `@Input() disableYear = false` used to disable date input year
808
+ - `@Input() minDate: number[]` used as minDate in datePicker
809
+ - `@Input() maxDate: number[]` used as maxDate in datePicker
810
+ - `@Input() hideDatePickerButton = false` used to hide date picker for date input
811
+
812
+ ### Updated
813
+
814
+ - [foehn-input.component.ts](projects/prestations-ng/src/foehn-input/foehn-input.component.ts)
815
+
816
+ - No double-binding when component is disabled
817
+ - No userInput event dispatch when component is disabled
818
+
819
+ - [foehn-input-address.component.html](projects/prestations-ng/src/foehn-address/foehn-input-address.component.html)
820
+ - add custom error override for street auto-complete to handle error code `AtLeastOneNotNull`, see prestations-be
821
+
822
+ ## [15.4.9]
823
+
824
+ ### Fixed
825
+
826
+ - [foehn-input-number.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-number.component.ts)
827
+ - [currency-formatter.directive.ts](projects/prestations-ng/src/directives/currency-formatter.directive.ts)
828
+ - fixed a bug where input was impossible after a blur event on input "-"
829
+
830
+ ### Added
831
+
832
+ - [global.const.ts](projects/prestations-ng/src/global.const.ts)
833
+
834
+ - 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)']`.
835
+
836
+ - [foehn-upload-progress-bar.component.ts](projects/prestations-ng/src/foehn-upload/foehn-upload-progress-bar/foehn-upload-progress-bar.component.ts)
837
+
838
+ - See [documentation](upload#foehn_upload_progress_bar)
839
+ - Added a progress bar displaying upload progress and indeterminated document analysis
840
+
841
+ - [foehn-multi-upload.component.html](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.html)
842
+ - Added `<foehn-upload-progress-bar></foehn-upload-progress-bar>`
843
+
844
+ ### Updated
845
+
846
+ - [gesdem-confirmation.component.html](projects/prestations-ng/src/gesdem-confirmation/gesdem-confirmation.component.html)
847
+ - Update link when user is connected: link redirects to demande page
848
+ - Move labels into default dictionary
849
+
850
+ ## [15.4.8]
851
+
852
+ ### Fixed
853
+
854
+ - [foehn-decision-electronique.component.ts](projects/prestations-ng/src/foehn-decision-electronique/foehn-decision-electronique.component.ts)
855
+ - use labels from `default-dictionary.ts`
856
+ - added an example here : https://dsi-vd.github.io/prestations-ng/espace-securise
857
+
858
+ ## [15.4.7]
859
+
860
+ ### Fixed
861
+
862
+ - [foehn-validation-alert-summary.component.ts](projects/prestations-ng/src/foehn-validation-alert-summary/foehn-validation-alert-summary.component.ts)
863
+ - set first letter of first word in error message to lowercase (respect words that are all upper case)
864
+ - "Votre prénom : Ce champ doit être rempli"
865
+ - is transformed to "Votre prénom : **c**e champ doit être rempli"
866
+ - "N° AVS : NAVS13 invalide"
867
+ - is not transformed
868
+
869
+ ## [15.4.6]
870
+
871
+ ### Fixed
872
+
873
+ - [date.helper.ts](projects/prestations-ng/src/sdk-date/date.helper.ts)
874
+ - fixed method `isValid(value: number[]): boolean` to avoid day shifting issues
875
+ - i.e. `31.02.2021` should not be transformed to `03.03.2021` and considered as valid
876
+
877
+ ## [15.4.5]
878
+
879
+ ### Added
880
+
881
+ - [foehn-multiselect-autocomplete](projects/prestations-ng/src/foehn-multiselect-autocomplete/foehn-multiselect-autocomplete.component.ts)
882
+ - add `@Input() caseSensitiveSearch = false` to allow search without converting input to lowercase
883
+
884
+ ## [15.4.4]
885
+
886
+ ### Added
887
+
888
+ - [foehn-autocomplete.component.ts](projects/prestations-ng/src/foehn-autocomplete/foehn-autocomplete.component.ts)
889
+ - add `@Input() caseSensitiveSearch = false` to allow search without converting input to lowercase
890
+
891
+ ## [15.4.3]
892
+
893
+ ### Added
894
+
895
+ - [sdk-dictionary.service.ts](projects/prestations-ng/src/sdk-dictionary/sdk-dictionary.service.ts)
896
+ - added browser language detection. When browser language is not managed, default language is used.
897
+ - added `setDefaultLanguageCode(code: string): void` to change default language
898
+
899
+ ### Fixed
900
+
901
+ - [foehn-input-email.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-email.component.ts)
902
+ - hiding default help-modal is now possible by setting `helpModal` attribute to `null` such as `[helpModal]="null"`
903
+
904
+ ### Updated
905
+
906
+ - [foehn-input-address.component.html](projects/prestations-ng/src/foehn-address/foehn-input-address.component.html)
907
+ - Swiss **locality** autocomplete component now allows **custom values** when **disabled**
908
+
909
+ ## [15.4.2]
910
+
911
+ ### Added
912
+
913
+ - [foehn-autocomplete.component.ts](projects/prestations-ng/src/foehn-autocomplete/foehn-autocomplete.component.ts)
914
+ - add `@Input() elementSuggestionLabel: any` (fallback: elementLabel) to customize suggestion list item with some HTML
915
+
916
+ ### Fixed
917
+
918
+ - [default-dictionary.ts](projects/prestations-ng/src/sdk-dictionary/default-dictionary.ts)
919
+ - fixed label for `foehn-textarea.chars-remaining.zero` (missing plurals)
920
+
921
+ ## [15.4.1]
922
+
923
+ ### Fixed
924
+
925
+ - [support-alert.service.ts](projects/prestations-ng/src/sdk-support-alert/support-alert.service.ts)
926
+ - handle failure when calling support-alert api
927
+ - [gesdem-confirmation.component.ts](projects/prestations-ng/src/gesdem-confirmation/gesdem-confirmation.component.ts)
928
+ - fixed bug where `demandeIsClosedOnTransmit` was not read from route data.
929
+
930
+ ## [15.4.0]
931
+
932
+ ### Updated
933
+
934
+ - [upload.helper.ts](projects/prestations-ng/src/foehn-upload/uploader.helper.ts)
935
+
936
+ - manage new error code from prestations-be : `IMAGE_NOT_READABLE` (dico key : `errors.IMAGE_NOT_READABLE`)
937
+
938
+ - [default-dictionary.ts](projects/prestations-ng/src/sdk-dictionary/default-dictionary.ts)
939
+ - added dico value for key `errors.IMAGE_NOT_READABLE` (defaults to `Votre pièce jointe %1$s n'est pas une image valide`)
940
+
941
+ ### Fixed
942
+
943
+ - [foehn-input-number.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-number.component.ts)
944
+ - fixed bug where standard help text appears twice
945
+
946
+ ## [15.3.1]
947
+
948
+ ### Updated
949
+
950
+ - [foehn-input-number.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-number.component.ts)
951
+
952
+ - As in the other components, we don't want to force the user input, when `[allowFreeInput]="false"` (which is the default) :
953
+ - It is still done for :
954
+ - `maxlength` (to avoid a number overflow in the backend)
955
+ - `allowDecimal` (to avoid a number conversion error in the backend)
956
+ - `allowNegative`
957
+ - `min` and `max` are not used to force the user input anymore
958
+ - `min` and `max` are only used to display a standard help text
959
+ - the standard help text is only displayed if `min` and `max` are set
960
+ - to better understand how to use the `foehn-input-number`, please check the explanations on https://dsi-vd.github.io/prestations-ng/input-number
961
+ - **apart from certain exceptions, foehn-input-number is to be used as such:**
962
+ - `min` and `max` to display help text
963
+ - `maxlength` depending on your backend
964
+ - `allowDecimal` and `allowNegative` when needed
965
+
966
+ - [foehn-input.component.ts](projects/prestations-ng/src/foehn-input/foehn-input.component.ts)
967
+
968
+ - removed `@Input() showHelpModal = false` show an help-modal related to an foehn-input
969
+ - removed `@Input() helpModalTitle: string` The title of the modal
970
+ - removed `@Input() helpModalContent: string` The content of the modal
971
+ - replaced by `@Input() helpModal: HelpModal`
972
+
973
+ - [HelpModal](projects/prestations-ng/src/foehn-help-modal/foehn-help-modal.type.ts)
974
+
975
+ - add value `modalSize?: string` to configure the size of the foehn-help-modal (defaults to `modal-lg`)
976
+
977
+ - [Image](projects/prestations-ng/src/foehn-help-modal/foehn-help-modal.type.ts)
978
+ - add value `width?: string` to configure the size of the picture (defaults to `100%`)
979
+ - add value `height?: string` to configure the size of the picture (defaults to `auto`)
980
+
981
+ ### Fixed
982
+
983
+ - [foehn-input-textarea.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-textarea.component.ts)
984
+
985
+ - CSS color of remaining chars not being changed when input is reset
986
+
987
+ - [foehn-boolean-checkbox.component.html](projects/prestations-ng/src/foehn-boolean/foehn-boolean-checkbox.component.html)
988
+
989
+ - handle `isLabelSrOnly` input
990
+
991
+ - [foehn-picture-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-picture-upload/foehn-picture-upload.component.ts)
992
+ - check file format before trying to display the image for cropping
993
+ - when file has wrong extension, display error with key `foehn-picture-upload.invalid-file-type`
994
+
995
+ ## [15.3.0]
996
+
997
+ ### Added
8
998
 
9
- This project does not follow the Semantic Versioning principles, since it is made to be used with its backend counterpart [prestations-be](https://dsigit.etat-de-vaud.ch/outils/git/projects/CYBSDK/repos/prestations-be/browse).
999
+ - [foehn-multiselect-autocomplete.component.ts](projects/prestations-ng/src/foehn-multiselect-autocomplete/foehn-multiselect-autocomplete.component.ts)
1000
+ - add `@Input() itemHeightInSuggestionListInPx = 40` to customize height of each item in the suggestion list
1001
+ - add `@Input() elementBadgeLabel: any = 'label'` to customize selected items labels
1002
+ - [foehn-input.component.ts](projects/prestations-ng/src/foehn-input/foehn-input.component.ts)
1003
+ - add `@Input() showHelpModal = false` show an help-modal related to an foehn-input
1004
+ - add `@Input() helpModalTitle: string` The title of the modal
1005
+ - add `@Input() helpModalContent: string` The content of the modal
1006
+ - [foehn-input-email.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-email.component.ts)
10
1007
 
11
- The goal is to be able to quickly identify which combination of both library should be used together
1008
+ - add default help-modal in order to help user if email considered as not valid
12
1009
 
13
- * **Major version** : updated when a [breaking change](#breaking-change) is introduced in either library
14
- * **Minor version** : updated when a change has an impact on both library
15
- * **Patch version** : updated when a change has an impact on a specific library (can be more than an actual patch but shouldn't force you to change your code)
1010
+ - [foehn-checkable-group.component.ts](projects/prestations-ng/src/foehn-checkables/foehn-checkable-group.component.ts)
1011
+ - add `@Input() helpModal: HelpModal`
1012
+ - [foehn-help-modal.type.ts](projects/prestations-ng/src/foehn-help-modal/foehn-help-modal.type.ts)
1013
+ - add buttonTitle in order to be able to specify the title of the info button
16
1014
 
17
- e.g.
18
- - you **cannot** use prestations-be@**14**.0.2 and prestations-ng@**13**.0.0
19
- - you **cannot** use prestations-be@14.**0**.0 and prestations-ng@14.**1**.0
20
- - you **can** use prestations-be@**14.0**.2 and prestations-ng@**14.0**.17
1015
+ ### Fixed
21
1016
 
22
- ### Breaking change
23
- A change is considered **breaking** if you have to change your code or update your external dependencies (e.g. Spring Boot or Angular)
24
- - In some specific case, we allow ourselves to not consider a change as breaking if the fix is "easy"
25
- - adding a new constructor argument in one of our service is OK, if you just have to update your constructor's signature and your call to `super(...)`
1017
+ - [foehn-page.component.ts](projects/prestations-ng/src/foehn-page/foehn-page.component.ts)
1018
+ - hide `foehn-status-progress-bar` if the prestation has a blocking alert
26
1019
 
27
- ---
28
- ## [14.5.26]
1020
+ ## [15.2.5]
29
1021
 
30
1022
  ### Added
31
- - [sdk-statistics.service.ts](projects/prestations-ng/src/sdk-statistics/sdk-statistics.service.ts)
32
- - New statistics tool. Set `application-info.properties.matomoUrl` & `application-info.properties.matomoSiteId` properties and call `track()` function in `AppComponent` constructor to use it
33
1023
 
34
- ## [14.5.24]
1024
+ - [foehn-autocomplete.component.ts](projects/prestations-ng/src/foehn-autocomplete/foehn-autocomplete.component.ts)
1025
+ - add `@Input() itemHeightInSuggestionListInPx = 40` to customize height of each item in the suggestion list
1026
+
1027
+ ### Fixed
1028
+
1029
+ - [foehn-input-textarea.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-textarea.component.ts)
1030
+
1031
+ - add function `getCharCountLabel` that return the plural or singular form of the label accordingly (one dictionary key for plural and another one for singular)
1032
+ - add default label for remaining characters in [default-dictionary.ts](projects/prestations-ng/src/sdk-dictionary/default-dictionary.ts)
1033
+ - `'foehn-textarea.chars-remaining.plural': '{charCountLeft} caractères restants'`
1034
+ - `'foehn-textarea.chars-remaining.singular': '{charCountLeft} caractère restant'`
1035
+ - `'foehn-textarea.chars-remaining.zero': 'Vous avez atteint le nombre de caractère autorisé!'`
1036
+ - `'foehn-textarea.chars-remaining.exceeded': 'Vous avez dépassé le nombre de caractères autorisés de {charCountLeft}'`
1037
+
1038
+ - [foehn-modal.component.html](projects/prestations-ng/src/foehn-modal/foehn-modal.component.html)
1039
+
1040
+ - close button label + aria-label can now be overriden in dictionary
1041
+ - add default label for remaining characters in [default-dictionary.ts](projects/prestations-ng/src/sdk-dictionary/default-dictionary.ts)
1042
+ - `'foehn-modal.btn-close.aria-label': 'Fermer la boite de dialogue'`
1043
+ - `'foehn-modal.btn-close.title': 'Fermer'`
1044
+
1045
+ - [gesdem-confirmation.component.ts](projects/prestations-ng/src/gesdem-confirmation/gesdem-confirmation.component.ts)
1046
+
1047
+ - `@Input() hideReference = false` to choose if the confirmation message display the reference number
1048
+
1049
+ - [gesdem-confirmation.component.html](projects/prestations-ng/projects/prestations-ng/src/gesdem-confirmation/gesdem-confirmation.component.html)
1050
+ - add condition `*ngIf="!hideReference"`
1051
+
1052
+ ## [15.2.4]
1053
+
1054
+ ### Added
1055
+
1056
+ - [foehn-select.component.ts](projects/prestations-ng/src/foehn-checkables/foehn-select.component.ts)
1057
+ - add `@Input() noSelectionLabel = '-'` to customize the value displayed when the field is not required and nothing has been selected
1058
+
1059
+ ## [15.2.3]
1060
+
1061
+ ### Added
1062
+
1063
+ - [foehn-table-column-configuration.ts](projects/prestations-ng/src/foehn-table/foehn-table-column-configuration.ts)
1064
+ - add optional field `template: TemplateRef<unknown>` to customize a cell
1065
+ - field `valueGetter` becomes optional
1066
+
1067
+ ### Fixed
1068
+
1069
+ - [redirect.component.ts](projects/prestations-ng/src/sdk-redirect/redirect.component.ts)
1070
+ - reload page instead of redirecting to `/iam/accueil` when session has expired
1071
+
1072
+ ### Removed
1073
+
1074
+ - [foehn-modal.component.ts](projects/prestations-ng/src/foehn-modal/foehn-modal.component.ts)
1075
+ - removed `@Input() modalFooterText` (was not used in the template)
1076
+
1077
+ ### Updated
1078
+
1079
+ - [package.json](package.json)
1080
+ - Updated `core-js` to ~3.23.3
1081
+
1082
+ ### Updated
1083
+
1084
+ - [foehn-input-number.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-number.component.ts)
1085
+
1086
+ - added a standard help-text that describes the expected input (i.e. "Saisir un nombre entre 0 et 999'999")
1087
+ - label is configurable with the dictionary (`foehn-input-number.standard-help-text.label`, defaults to `Saisir un nombre entre {minValue} et {maxValue}`)
1088
+ - is placed after the `[helpText]` if provided
1089
+ - can be deactivated with the new `@Input() hideStandardHelpText` (defaults to `false`)
1090
+ - added a new `@Input() allowFreeInput` (defaults to `false`)
1091
+ - uses the component configuration to generate the standard help text, but allows the user to input anything in the field
1092
+ - /!\ if you use this, make sure your backend can deserialize any number correctly
1093
+
1094
+ - [currency-formatter.directive.ts](projects/prestations-ng/src/directives/currency-formatter.directive.ts)
1095
+ - do not format decimal part with thousands separator
1096
+
1097
+ ## [15.2.2]
1098
+
1099
+ ### Fixed
1100
+
1101
+ - [foehn-select.component.html](projects/prestations-ng/src/foehn-checkables/foehn-select.component.html)
1102
+ - use `elementValueIdentity` function if provided
1103
+
1104
+ ### Added
1105
+
1106
+ - [foehn-table-column-configuration.ts](projects/prestations-ng/src/foehn-table/foehn-table-column-configuration.ts)
1107
+ - added optional field `iconGetter` to display an icon in a cell
1108
+
1109
+ ## [15.2.1]
1110
+
1111
+ ### Updated
1112
+
1113
+ - [foehn-page.component.ts](projects/prestations-ng/src/foehn-page/foehn-page.component.ts)
1114
+ - update login message (can be discarded to continue without login)
1115
+
1116
+ ## [15.2.0]
1117
+
1118
+ ### Updated
1119
+
1120
+ - [gesdem-error.component.html](projects/prestations-ng/src/gesdem-error/gesdem-error.component.html)
1121
+
1122
+ - use new endpoint `/action-statut` from prestations-be to get the status without trigerring any validation
1123
+
1124
+ - [sdk-epayment.service.ts](projects/prestations-ng/src/sdk-epayment/sdk-epayment.service.ts)
1125
+ - added missing growl message on `createPendingPayment` failure
1126
+
1127
+ ## [15.1.4]
1128
+
1129
+ ### Updated
1130
+
1131
+ - [gesdem-error.component.html](projects/prestations-ng/src/gesdem-error/gesdem-error.component.html)
1132
+ - display a custom message if the error page is displayed when the action status in `PENDING_PAYMENT`
1133
+ - redirect to the last page if the error page is displayed when the action status is final (`TRANSFERRED`, `ABANDONED`)
1134
+
1135
+ ## [15.1.3]
1136
+
1137
+ ### Updated
1138
+
1139
+ - [foehn-input-nav13.component.ts](projects/prestations-ng/src/foehn-nav13/foehn-input-nav13.component.ts)
1140
+
1141
+ - pasting an AVS number (witouht the prefix `756`) in the first editable input will now expand it to the other inputs.
1142
+
1143
+ - [foehn-agenda-timeslot-panel.component.ts](projects/prestations-ng/src/foehn-agenda/foehn-agenda-timeslot-panel/foehn-agenda-timeslot-panel.component.ts)
1144
+ - don't allow closing the panel if it would hide the selected slot
1145
+
1146
+ ## [15.1.2]
1147
+
1148
+ ### Removed
1149
+
1150
+ - [foehn-agenda.components.ts](projects/prestations-ng/src/foehn-agenda/foehn-agenda.component.ts)
1151
+ - removed `@Input() minDate: number[]`, replaced by `Calendar.minAvailableDate`
1152
+ - removed `@Input() maxDate: number[]`, replaced by `Calendar.maxAvailableDate`
1153
+
1154
+ ### Fixed
1155
+
1156
+ - [foehn-date-picker.component.html](projects/prestations-ng/src/foehn-date-picker/foehn-date-picker.component.html)
1157
+ - do not display (`hidden`) days that are not in the current month (to avoid confusion with actually disabled days)
1158
+
1159
+ ## [15.1.1]
1160
+
1161
+ ### Updated
1162
+
1163
+ - [foehn-input-nav13.component.ts](projects/prestations-ng/src/foehn-nav13/foehn-input-nav13.component.ts)
1164
+
1165
+ - pasting an AVS number in the first editable input will now expand it to the other inputs.
1166
+
1167
+ - [foehn-input-number.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-number.component.ts)
1168
+ - added a default value for `@Input() maxlength: number`, set to `9`
1169
+ - this avoids having a value that exceeds Integer.MAX_INT which leads to a deserialization error in the backend
1170
+ - if you expect a Long or a BigDecimal, you should override this value.
1171
+
1172
+ ### Fixed
1173
+
1174
+ - [gesdem-confirmation.component.ts](projects/prestations-ng/src/gesdem-confirmation/gesdem-confirmation.component.ts)
1175
+ - some boolean values were not overridable by route data :
1176
+ - `showDownloadPdfRecapButton`
1177
+ - `showLinkToMyDemandes`
1178
+ - `demandeIsClosedOnTransmit`
1179
+
1180
+ ## [15.1.0]
1181
+
1182
+ ### Added
1183
+
1184
+ - [ApplicationInfo](projects/prestations-ng/src/sdk-appinfo/application-info.ts)
1185
+
1186
+ - added one attribute to ApplicationInfo :
1187
+ - `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
1188
+
1189
+ - [foehn-input.component.ts](projects/prestations-ng/src/foehn-input/foehn-input.component.ts)
1190
+ - `@Input() autocapitalize: string` Possible values: `off|on|words|characters`
1191
+
1192
+ ### Fixed
1193
+
1194
+ - [foehn-input-address.component.ts](projects/prestations-ng/src/foehn-address/foehn-input-address.component.ts)
1195
+
1196
+ - fixed streets and houseNumbers suggestion list not being emptied when locality is cleared
1197
+
1198
+ - [foehn-input-date.component.ts](projects/prestations-ng/src/foehn-input-date/foehn-input-date.component.ts)
1199
+
1200
+ - fixed error not disappearing when selecting a date in date picker
1201
+
1202
+ - [foehn-input.component.ts](projects/prestations-ng/src/foehn-input/foehn-input.component.ts)
1203
+ - fixed `markAsDirty()` and `markAsPristine()` not handling `subComponents`
1204
+
1205
+ ## [15.0.2]
1206
+
1207
+ ### Added
1208
+
1209
+ - [sdk-statistics.service.ts](projects/prestations-ng/src/sdk-statistics/sdk-statistics.service.ts)
1210
+ - New statistics tool. Set `application-info.properties.matomoUrl` & `application-info.properties.matomoSiteId` properties
1211
+
1212
+ ### Updated
1213
+
1214
+ - [package.json](package.json)
1215
+ - Updated `@dsivd/foehn` to 1.8.4. See [the changelog](https://github.com/DSI-VD/foehn/blob/master/CHANGELOG.md) for more information.
1216
+
1217
+ ## [15.0.1]
1218
+
1219
+ ### Fixed
1220
+
1221
+ - [Accessibility demo page](https://dsi-vd.github.io/prestations-ng/demo-accessibilite)
1222
+ - fixed `foehn-input-date` migration
1223
+ - added min/max date to `foehn-agenda`
1224
+
1225
+ ## [15.0.0]
35
1226
 
36
1227
  ### Added
37
1228
 
38
- - New [multiselect-autocomplete documentation](https://dsi-vd.github.io/prestations-ng/autocomplete#multiselect_autocomplete) page
1229
+ - [UPGRADING_V15](UPGRADING_V15.md)
1230
+
1231
+ - Added migration guide
1232
+
1233
+ - New [agenda documentation](https://dsi-vd.github.io/prestations-ng/agenda) page
1234
+
1235
+ - [foehn-agenda.components.ts](projects/prestations-ng/src/foehn-agenda/foehn-agenda.component.ts)
1236
+
1237
+ - Model `calendar.type.ts` ([Calendar](projects/prestations-ng/src/foehn-agenda/calendar.type.ts))
1238
+ - Model `current-week.type.ts` ([CurrentWeek](projects/prestations-ng/src/foehn-agenda/current-week.type.ts))
1239
+ - Model `day-slots.type.ts` ([DaySlots](projects/prestations-ng/src/foehn-agenda/day-slots.type.ts))
1240
+ - Model `pagination-week.type.ts` ([PaginationWeek](projects/prestations-ng/src/foehn-agenda/pagination-week.type.ts))
1241
+ - `@Input() calendar: Observable<Calendar>`
1242
+ - `@Input() nbVisibleElements: number` default number of visible elements is 22
1243
+ - `@Input() minDate: number[]` used as minDate in datePicker
1244
+ - `@Input() maxDate: number[]` used as maxDate in datePicker
1245
+ - `@Output() paginationChange: EventEmitter<PaginationWeek>()`
1246
+
1247
+ - Add [foehn-status-progress-bar.component.spec.ts](projects/prestations-ng/src/foehn-status-progress-bar/foehn-status-progress-bar.component.spec.ts)
1248
+
1249
+ - [foehn-input-date.component.html](projects/prestations-ng/src/foehn-input-date/foehn-input-date.component.html)
1250
+ - Added `<foehn-date-picker-button>` directly into template. Please refer to the [datepicker documentation](https://dsi-vd.github.io/prestations-ng/datepicker)
1251
+
1252
+ ### Updated
1253
+
1254
+ - [foehn-status-progress-bar.component.ts](projects/prestations-ng/src/foehn-status-progress-bar/foehn-status-progress-bar.component.ts)
1255
+
1256
+ - Bugfix: no visual glitch on the first page (step 2 "Verification" was briefly displayed when starting)
1257
+
1258
+ - [foehn-confirm-modal.component.html](projects/prestations-ng/src/foehn-confirm-modal/foehn-confirm-modal.component.html)
1259
+
1260
+ - Add closeable on FoehnConfirmModalContent. Default value is true. If false, modal has to be closed by the yes and no buttons.
1261
+
1262
+ - Added RefInf DTOs matching to prestations-be
1263
+
1264
+ - [address-type-light.ts](projects/prestations-ng/src/refinf/model/address-type-light.ts)
1265
+ - [canton.ts](projects/prestations-ng/src/refinf/model/canton.ts)
1266
+ - [district.ts](projects/prestations-ng/src/refinf/model/district.ts)
1267
+ - [municipality.ts](projects/prestations-ng/src/refinf/model/municipality.ts)
1268
+ - [place-of-origin.ts](projects/prestations-ng/src/refinf/model/place-of-origin.ts)
1269
+ - [postal-locality.ts](projects/prestations-ng/src/refinf/model/postal-locality.ts)
1270
+
1271
+ - [foehn-date-picker.component.ts](projects/prestations-ng/src/foehn-date-picker/foehn-date-picker.component.ts)
1272
+ - [foehn-date-picker-button.component.ts](projects/prestations-ng/src/foehn-date-picker-button/foehn-date-picker-button.component.ts)
1273
+
1274
+ - added `@Input() minDate: number[]` - minDate's year will override minYear setting
1275
+ - added `@Input() maxDate: number[]` - maxDate's year will override maxYear setting
1276
+
1277
+ - [package.json](package.json)
1278
+
1279
+ - Updated angular stack to ^13.1.0
1280
+ - Updated @fortawesome/angular-fontawesome to ^0.10.0
1281
+ - Updated rxjs to ~7.5.2
1282
+ - Updated ngx-image-cropper to ~6.0.0
1283
+
1284
+ - [sdk-epayment.component.ts](projects/prestations-ng/src/sdk-epayment/sdk-epayment.component.ts)
1285
+ - [sdk-epayment.component.html](projects/prestations-ng/src/sdk-epayment/sdk-epayment.component.html)
1286
+ - [sdk-epayment.service.ts](projects/prestations-ng/src/sdk-epayment/sdk-epayment.service.ts)
1287
+
1288
+ - Adaptations to use new e-payment method "Postfinance Checkout"
1289
+
1290
+ - [backend-reponse.ts](projects/prestations-ng/src/backend-response.ts)
1291
+
1292
+ - renamed to `FormPostResponse` to match prestations-be
1293
+ - renamed `GesdemMeta` to `FormMetadata` to match prestations-be
39
1294
 
40
- - [foehn-multiselect-autocomplete.component.ts](projects/prestations-ng/src/foehn-multiselect-autocomplete/foehn-multiselect-autocomplete.component.ts)
41
- - `@Input() defaultElementValues: unknown[]` To set default elements in list of selected
1295
+ - [error-template.ts](projects/prestations-ng/src/error-template.ts)
42
1296
 
43
- - [foehn-checkable-group.component.ts](projects/prestations-ng/src/foehn-checkables/foehn-checkable-group.component.ts)
44
- - added `@Output() elementsLoaded = new EventEmitter<any>()` fired when checkable's elements are loaded
1297
+ - renamed to `FormError` to match prestations-be
1298
+
1299
+ - 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 :
1300
+
1301
+ - [address.type.ts](projects/prestations-ng/src/foehn-address/address.type.ts)
1302
+ - Street : `estrid`
1303
+ - Locality : `postalLocalityHistoryId`, `zipCodeId`
1304
+
1305
+ - [foehn-date-picker.component.html](projects/prestations-ng/src/foehn-date-picker/foehn-date-picker.component.html)
1306
+
1307
+ - added unique ids
1308
+
1309
+ - [foehn-checkable-group.component.ts](projects/prestations-ng/src/foehn-checkables/foehn-checkable-group.component.ts)
1310
+
1311
+ - set default value for `autocomplete` to `off`
1312
+
1313
+ - [foehn-input-date.component.ts](projects/prestations-ng/src/foehn-input-date/foehn-input-date.component.ts)
1314
+ - Added `@Input() hideDatePickerButton: boolean` (default: false). Set to `true` to hide `foehn-date-picker-button`
1315
+
1316
+ ### Removed
1317
+
1318
+ - [session-info-data.ts](projects/prestations-ng/src/sdk-session-info/session-info-data.ts)
1319
+
1320
+ - 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)]
1321
+
1322
+ - [foehn-page.component.html](projects/prestations-ng/src/foehn-page/foehn-page.component.html)
1323
+ - removed `@Input() neverConnected`, if you needed this feature, you have to inject the value as a provider :
1324
+ ```json
1325
+ providers: [{ provide: 'neverConnected', useValue: true },]
1326
+ ```
1327
+
1328
+ - [foehn-input-date.component.html](projects/prestations-ng/src/foehn-input-date/foehn-input-date.component.html)
1329
+ - Removed `<ng-content select="[date-picker-button]">` from template. Please refer to the [UPGRADING_V15](UPGRADING_V15.md)
45
1330
 
46
1331
  ## [14.5.25]
47
1332
 
48
1333
  ### Updated
49
1334
 
50
- - [foehn-debug-summary.component.ts](projects/prestations-ng/src/foehn-debug-summary/foehn-debug-summary.component.ts)
51
- - Added `Référence de la demande` to debug summary
1335
+ - [foehn-debug-summary.component.ts](projects/prestations-ng/src/foehn-debug-summary/foehn-debug-summary.component.ts)
1336
+ - Added `Référence de la demande` to debug summary
52
1337
 
53
1338
  ## [14.5.24]
54
1339
 
55
1340
  ### Added
56
1341
 
57
- - New [multiselect-autocomplete documentation](https://dsi-vd.github.io/prestations-ng/autocomplete#multiselect_autocomplete) page
1342
+ - New [multiselect-autocomplete documentation](https://dsi-vd.github.io/prestations-ng/autocomplete#multiselect_autocomplete) page
1343
+
1344
+ - [foehn-multiselect-autocomplete.component.ts](projects/prestations-ng/src/foehn-multiselect-autocomplete/foehn-multiselect-autocomplete.component.ts)
58
1345
 
59
- - [foehn-multiselect-autocomplete.component.ts](projects/prestations-ng/src/foehn-multiselect-autocomplete/foehn-multiselect-autocomplete.component.ts)
60
- - `@Input() defaultElementValues: unknown[]` To set default elements in list of selected
1346
+ - `@Input() defaultElementValues: unknown[]` To set default elements in list of selected
61
1347
 
62
- - [foehn-checkable-group.component.ts](projects/prestations-ng/src/foehn-checkables/foehn-checkable-group.component.ts)
63
- - added `@Output() elementsLoaded = new EventEmitter<any>()` fired when checkable's elements are loaded
1348
+ - [foehn-checkable-group.component.ts](projects/prestations-ng/src/foehn-checkables/foehn-checkable-group.component.ts)
1349
+ - added `@Output() elementsLoaded = new EventEmitter<any>()` fired when checkable's elements are loaded
64
1350
 
65
1351
  ## [14.5.23]
66
1352
 
67
1353
  ### Updated
68
1354
 
69
- - [default-dictionary.ts](projects/prestations-ng/src/sdk-dictionary/default-dictionary.ts)
70
- - Rename last step in `foehn-status-progress-bar`
1355
+ - [default-dictionary.ts](projects/prestations-ng/src/sdk-dictionary/default-dictionary.ts)
1356
+ - Rename last step in `foehn-status-progress-bar`
71
1357
 
72
1358
  ## [14.5.22]
73
1359
 
74
1360
  ### Updated
75
1361
 
76
- - [grecaptcha.component.ts](projects/prestations-ng/src/sdk-recaptcha/grecaptcha/grecaptcha.component.ts)
77
- - updated url to call recaptcha.net instead of google.com
78
-
1362
+ - [grecaptcha.component.ts](projects/prestations-ng/src/sdk-recaptcha/grecaptcha/grecaptcha.component.ts)
1363
+ - updated url to call recaptcha.net instead of google.com
1364
+
79
1365
  ## [14.5.21]
80
1366
 
81
1367
  ### Updated
82
1368
 
83
- - [foehn-status-progress-bar.component.ts](projects/prestations-ng/src/foehn-status-progress-bar/foehn-status-progress-bar.component.ts)
84
- - By default, `foehn-status-progress-bar` is visible
1369
+ - [foehn-status-progress-bar.component.ts](projects/prestations-ng/src/foehn-status-progress-bar/foehn-status-progress-bar.component.ts)
1370
+ - By default, `foehn-status-progress-bar` is visible
85
1371
 
86
1372
  ## [14.5.20]
87
1373
 
88
1374
  ### Added
89
1375
 
90
- - [foehn-status-progress-bar.component.ts](projects/prestations-ng/src/foehn-status-progress-bar/foehn-status-progress-bar.component.ts)
91
- - Add foehn-status-progress-bar component. Component used in foehn-page and can be hidden with `statusProgressBarHidden` input
1376
+ - [foehn-status-progress-bar.component.ts](projects/prestations-ng/src/foehn-status-progress-bar/foehn-status-progress-bar.component.ts)
1377
+ - Add foehn-status-progress-bar component. Component used in foehn-page and can be hidden with `statusProgressBarHidden` input
92
1378
 
93
1379
  ## [14.5.19]
94
1380
 
95
1381
  ### Added
96
1382
 
97
- - [foehn-confirm-modal.component.html](projects/prestations-ng/src/foehn-confirm-modal/foehn-confirm-modal.component.html)
98
- - Add closeable on FoehnConfirmModalContent. Default value is true. If false, modal has to be closed by the yes and no buttons.
1383
+ - [foehn-confirm-modal.component.html](projects/prestations-ng/src/foehn-confirm-modal/foehn-confirm-modal.component.html)
1384
+ - Add closeable on FoehnConfirmModalContent. Default value is true. If false, modal has to be closed by the yes and no buttons.
99
1385
 
100
1386
  ## [14.5.18]
101
1387
 
102
1388
  ### Fixed
103
1389
 
104
- - [object.helper.ts](projects/prestations-ng/src/helpers/object.helper.ts)
105
- - Fix isEqual method for arrays. The issue was if first array has same objects but less items.
106
- - This issue impacts foehn-select, foehn-list and foehn-table
107
-
1390
+ - [object.helper.ts](projects/prestations-ng/src/helpers/object.helper.ts)
1391
+ - Fix isEqual method for arrays. The issue was if first array has same objects but less items.
1392
+ - This issue impacts foehn-select, foehn-list and foehn-table
108
1393
 
109
1394
  ## [14.5.17]
110
1395
 
111
1396
  ### Updated
112
1397
 
113
- - [support-alert.service.ts](projects/prestations-ng/src/sdk-support-alert/support-alert.service.ts)
114
- - removed `setRefreshIntervalInSeconds(refreshIntervalsInSeconds: number)`, support alerts are now refreshed on every NavigationStart event from the Angular Router, but at most every 3 minutes.
115
- - [foehn-page.component.html](projects/prestations-ng/src/foehn-page/foehn-page.component.html)
116
- - added `@Input() supportAlertRefreshIntervalsInSeconds: number`, support alerts are now refreshed on every NavigationStart event from the Angular Router, but at most every 3 minutes.
1398
+ - [support-alert.service.ts](projects/prestations-ng/src/sdk-support-alert/support-alert.service.ts)
1399
+ - removed `setRefreshIntervalInSeconds(refreshIntervalsInSeconds: number)`, support alerts are now refreshed on every NavigationStart event from the Angular Router, but at most every 3 minutes.
1400
+ - [foehn-page.component.html](projects/prestations-ng/src/foehn-page/foehn-page.component.html)
1401
+ - added `@Input() supportAlertRefreshIntervalsInSeconds: number`, support alerts are now refreshed on every NavigationStart event from the Angular Router, but at most every 3 minutes.
117
1402
 
118
1403
  ## [14.5.16]
119
1404
 
120
1405
  ### Updated
121
1406
 
122
- - [support-alert.service.ts](projects/prestations-ng/src/sdk-support-alert/support-alert.service.ts)
123
- - added `setRefreshIntervalInSeconds(refreshIntervalsInSeconds: number)` allowing to override the default refresh interval for support-alerts (default = 5 * 1000)
124
- - [foehn-page.component.html](projects/prestations-ng/src/foehn-page/foehn-page.component.html)
125
- - added `@Input() supportAlertRefreshIntervalsInSeconds: number` allowing to call SupportAlertService.setRefreshIntervalInSeconds()
1407
+ - [support-alert.service.ts](projects/prestations-ng/src/sdk-support-alert/support-alert.service.ts)
1408
+ - added `setRefreshIntervalInSeconds(refreshIntervalsInSeconds: number)` allowing to override the default refresh interval for support-alerts (default = 5 \* 1000)
1409
+ - [foehn-page.component.html](projects/prestations-ng/src/foehn-page/foehn-page.component.html)
1410
+ - added `@Input() supportAlertRefreshIntervalsInSeconds: number` allowing to call SupportAlertService.setRefreshIntervalInSeconds()
126
1411
 
127
1412
  ## [14.5.15]
128
1413
 
129
1414
  ### Added
130
1415
 
131
- - [Autogenerated documentation](https://dsi-vd.github.io/prestations-ng/generateddoc)
132
- - prestations-ng documentation generated automatically by `compodoc`
1416
+ - [Autogenerated documentation](https://dsi-vd.github.io/prestations-ng/generateddoc)
1417
+
1418
+ - prestations-ng documentation generated automatically by `compodoc`
133
1419
 
134
- - [foehn-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.ts)
135
- - [foehn-bo-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-bo-multi-upload/foehn-bo-multi-upload.component.ts)
136
- - 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
1420
+ - [foehn-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.ts)
1421
+ - [foehn-bo-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-bo-multi-upload/foehn-bo-multi-upload.component.ts)
137
1422
 
138
- - [gesdem-confirmation.component.html](projects/prestations-ng/src/gesdem-confirmation/gesdem-confirmation.component.html)
139
- - `telechargerBtn` (Télécharger la demande (pdf)) is also shown to a connected user
140
- - `logoutBtn` (Se déconnecter) is shown to a connected user instead of `terminerBtn` (Terminer)
1423
+ - 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
1424
+
1425
+ - [gesdem-confirmation.component.html](projects/prestations-ng/src/gesdem-confirmation/gesdem-confirmation.component.html)
1426
+ - `telechargerBtn` (Télécharger la demande (pdf)) is also shown to a connected user
1427
+ - `logoutBtn` (Se déconnecter) is shown to a connected user instead of `terminerBtn` (Terminer)
141
1428
 
142
1429
  ### Fixed
143
1430
 
144
- - [foehn-table.component.ts](projects/prestations-ng/src/foehn-table/foehn-table.component.ts)
145
- - table content was not being refreshed when sorting column
1431
+ - [foehn-table.component.ts](projects/prestations-ng/src/foehn-table/foehn-table.component.ts)
1432
+ - table content was not being refreshed when sorting column
146
1433
 
147
1434
  ## [14.5.14]
148
1435
 
149
1436
  ### Added
150
1437
 
151
- - [foehn-table.module.ts](projects/prestations-ng/src/foehn-table/foehn-table.module.ts)
152
- - [foehn-table.component.ts](projects/prestations-ng/src/foehn-table/foehn-table.component.ts)
153
- - [foehn-table.component.html](projects/prestations-ng/src/foehn-table/foehn-table.component.html)
154
- - added a paginated table
155
- - for examples, see related page in the devtool (https://dsi-vd.github.io/prestations-ng/list#foehn_table)
1438
+ - [foehn-table.module.ts](projects/prestations-ng/src/foehn-table/foehn-table.module.ts)
1439
+ - [foehn-table.component.ts](projects/prestations-ng/src/foehn-table/foehn-table.component.ts)
1440
+ - [foehn-table.component.html](projects/prestations-ng/src/foehn-table/foehn-table.component.html)
1441
+ - added a paginated table
1442
+ - for examples, see related page in the devtool (https://dsi-vd.github.io/prestations-ng/list#foehn_table)
156
1443
 
157
1444
  ## [14.5.13]
158
1445
 
159
1446
  ### Added
160
1447
 
161
- - [foehn-picture-upload.module.ts](projects/prestations-ng/src/foehn-upload/foehn-picture-upload/foehn-picture-upload.module.ts)
162
- - [foehn-picture-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-picture-upload/foehn-picture-upload.component.ts)
163
- - [foehn-picture-upload.component.html](projects/prestations-ng/src/foehn-upload/foehn-picture-upload/foehn-picture-upload.component.html)
164
- - added a picture uploader that allows the user to crop the uploaded picture
165
- - requires `ngx-image-cropper@~5.0.0`
166
- - for examples, see related page in the devtool (https://dsi-vd.github.io/prestations-ng/upload#foehn_picture_upload)
1448
+ - [foehn-picture-upload.module.ts](projects/prestations-ng/src/foehn-upload/foehn-picture-upload/foehn-picture-upload.module.ts)
1449
+ - [foehn-picture-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-picture-upload/foehn-picture-upload.component.ts)
1450
+ - [foehn-picture-upload.component.html](projects/prestations-ng/src/foehn-upload/foehn-picture-upload/foehn-picture-upload.component.html)
1451
+ - added a picture uploader that allows the user to crop the uploaded picture
1452
+ - requires `ngx-image-cropper@~5.0.0`
1453
+ - for examples, see related page in the devtool (https://dsi-vd.github.io/prestations-ng/upload#foehn_picture_upload)
167
1454
 
168
1455
  ## [14.5.12]
169
1456
 
170
1457
  ### Fixed
171
1458
 
172
1459
  - [foehn-footer.component.ts](projects/prestations-ng/src/foehn-footer/foehn-footer.component.ts)
173
- - Fixed "SecurityBestPracticeLink" URL
1460
+ - Fixed "SecurityBestPracticeLink" URL
174
1461
 
175
1462
  ## [14.5.11]
176
1463
 
177
1464
  ### Fixed
178
1465
 
179
1466
  - [foehn-page.component.html](projects/prestations-ng/src/foehn-page/foehn-page.component.html)
180
- - do not try to display login messages when `neverConnected` is `true`
1467
+ - do not try to display login messages when `neverConnected` is `true`
181
1468
 
182
1469
  ## [14.5.10]
183
1470
 
184
1471
  ### Removed
185
1472
 
186
- - [currency-formatter.directive.ts](projects/prestations-ng/src/directives/currency-formatter.directive.ts)
187
- - Removed `@Input() maxDecimalCount` and added to [foehn-input-number.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-number.component.ts)
1473
+ - [currency-formatter.directive.ts](projects/prestations-ng/src/directives/currency-formatter.directive.ts)
1474
+ - Removed `@Input() maxDecimalCount` and added to [foehn-input-number.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-number.component.ts)
188
1475
 
189
1476
  ### Fixed
190
1477
 
191
- - [foehn-boolean-radio.component.html](projects/prestations-ng/src/foehn-boolean/foehn-boolean-radio.component.html)
192
- - Fixed focus highlight not being foehn like
193
- - `trueLabel` and `falseLabel` have been added the html property `innerHTML`
1478
+ - [foehn-boolean-radio.component.html](projects/prestations-ng/src/foehn-boolean/foehn-boolean-radio.component.html)
1479
+
1480
+ - Fixed focus highlight not being foehn like
1481
+ - `trueLabel` and `falseLabel` have been added the html property `innerHTML`
1482
+
1483
+ - [foehn-boolean-checkbox.component.html](projects/prestations-ng/src/foehn-boolean/foehn-boolean-checkbox.component.html)
1484
+
1485
+ - Fixed focus highlight not being foehn like
1486
+
1487
+ - [currency-formatter.directive.ts](projects/prestations-ng/src/directives/currency-formatter.directive.ts)
1488
+
1489
+ - fixed bug when input is not formatted when programmatically changed
1490
+ - takes into account the `maxlength` and `maxDecimalCount` of the directive's host when formatting for decimals
1491
+
1492
+ - [foehn-input-number.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-number.component.ts)
1493
+
1494
+ - cannot exceed `maxDecimalCount` anymore when user inputs
194
1495
 
195
- - [foehn-boolean-checkbox.component.html](projects/prestations-ng/src/foehn-boolean/foehn-boolean-checkbox.component.html)
196
- - Fixed focus highlight not being foehn like
1496
+ - [foehn-input-address.component.ts](projects/prestations-ng/src/foehn-address/foehn-input-address.component.ts)
1497
+
1498
+ - fix ids of address fields to link from foehn-validation-alert-summary
1499
+ - fix showing individual errors on zipCode and longName when locality is empty and country is not Switzerland
197
1500
 
198
- - [currency-formatter.directive.ts](projects/prestations-ng/src/directives/currency-formatter.directive.ts)
199
- - fixed bug when input is not formatted when programmatically changed
200
- - takes into account the `maxlength` and `maxDecimalCount` of the directive's host when formatting for decimals
1501
+ - [foehn-input.component.ts](projects/prestations-ng/src/foehn-input/foehn-input.component.ts)
201
1502
 
202
- - [foehn-input-number.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-number.component.ts)
203
- - cannot exceed `maxDecimalCount` anymore when user inputs
1503
+ - A field should not have any error indicator when disabled
1504
+ - added method `hasErrorsToDisplay()` that returns `true` if `hasErrors()` AND component is not disabled
1505
+ - replaced every use of `hasErrors()` in templates by `hasErrorsToDisplay()`
1506
+ - FoehnFormComponent still calls `hasErrors()` on each children in its `isValid()` method
204
1507
 
205
- - [foehn-input-address.component.ts](projects/prestations-ng/src/foehn-address/foehn-input-address.component.ts)
206
- - fix ids of address fields to link from foehn-validation-alert-summary
207
- - fix showing individual errors on zipCode and longName when locality is empty and country is not Switzerland
1508
+ - [foehn-autocomplete.component.ts](projects/prestations-ng/src/foehn-autocomplete/foehn-autocomplete.component.ts)
208
1509
 
209
- - [foehn-input.component.ts](projects/prestations-ng/src/foehn-input/foehn-input.component.ts)
210
- - A field should not have any error indicator when disabled
211
- - added method `hasErrorsToDisplay()` that returns `true` if `hasErrors()` AND component is not disabled
212
- - replaced every use of `hasErrors()` in templates by `hasErrorsToDisplay()`
213
- - FoehnFormComponent still calls `hasErrors()` on each children in its `isValid()` method
1510
+ - fixed suggestion list not displaying when emptying model by using keyboard combinations (ie: Shift+Home+Delete)
214
1511
 
215
- - [foehn-autocomplete.component.ts](projects/prestations-ng/src/foehn-autocomplete/foehn-autocomplete.component.ts)
216
- - fixed suggestion list not displaying when emptying model by using keyboard combinations (ie: Shift+Home+Delete)
1512
+ - [foehn-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.ts)
1513
+ - [foehn-bo-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-bo-multi-upload/foehn-bo-multi-upload.component.ts)
217
1514
 
218
- - [foehn-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.ts)
219
- - [foehn-bo-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-bo-multi-upload/foehn-bo-multi-upload.component.ts)
220
- - Fixed drop zone or upload button not showing anymore after dropping 1 file as pending file and multiple is set to true
1515
+ - Fixed drop zone or upload button not showing anymore after dropping 1 file as pending file and multiple is set to true
221
1516
 
222
1517
  - [foehn-footer.component.ts](projects/prestations-ng/src/foehn-footer/foehn-footer.component.ts)
223
- - Fixed "term of use" URL
1518
+ - Fixed "term of use" URL
224
1519
 
225
1520
  ### Added
226
1521
 
227
- - [date.helper.ts](projects/prestations-ng/src/sdk-date/date.helper.ts)
228
- - added function `toDayjsFromNumberArray(value: number[]): dayjs.Dayjs`
229
- - added function `isValid(value: number[]): boolean`
230
- - added function `isToday(value: number[]): boolean`
1522
+ - [date.helper.ts](projects/prestations-ng/src/sdk-date/date.helper.ts)
1523
+
1524
+ - added function `toDayjsFromNumberArray(value: number[]): dayjs.Dayjs`
1525
+ - added function `isValid(value: number[]): boolean`
1526
+ - added function `isToday(value: number[]): boolean`
231
1527
 
232
- - [foehn-input-number.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-number.component.ts)
233
- - added `@Input() maxDecimalCount` which was removed from [currency-formatter.directive.ts](projects/prestations-ng/src/directives/currency-formatter.directive.ts)
1528
+ - [foehn-input-number.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-number.component.ts)
1529
+
1530
+ - added `@Input() maxDecimalCount` which was removed from [currency-formatter.directive.ts](projects/prestations-ng/src/directives/currency-formatter.directive.ts)
234
1531
 
235
- - [foehn-input.component.ts](projects/prestations-ng/src/foehn-input/foehn-input.component.ts)
236
- - added `@Input() showErrorWhenDisabled` (default is `false`) giving the possibility to show an error on a disabled input
1532
+ - [foehn-input.component.ts](projects/prestations-ng/src/foehn-input/foehn-input.component.ts)
1533
+ - added `@Input() showErrorWhenDisabled` (default is `false`) giving the possibility to show an error on a disabled input
237
1534
 
238
1535
  ### Updated
239
1536
 
240
- - [foehn-input-address.component.ts](projects/prestations-ng/src/foehn-address/foehn-input-address.component.ts)
241
- - Removed `searchValueMinCharsCount` for country and npaLocality because virtual scrolling is used for displaying results in `foehn-autocomplete`
1537
+ - [foehn-input-address.component.ts](projects/prestations-ng/src/foehn-address/foehn-input-address.component.ts)
1538
+
1539
+ - Removed `searchValueMinCharsCount` for country and npaLocality because virtual scrolling is used for displaying results in `foehn-autocomplete`
1540
+
1541
+ - [foehn-autocomplete.component.ts](projects/prestations-ng/src/foehn-autocomplete/foehn-autocomplete.component.ts)
1542
+
1543
+ - Pressing `Escape` key closes suggestion list when opened
1544
+ - Pressing `ArrowDown` key opens suggestion list when closed (if there are results to be shown)
242
1545
 
243
- - [foehn-autocomplete.component.ts](projects/prestations-ng/src/foehn-autocomplete/foehn-autocomplete.component.ts)
244
- - Pressing `Escape` key closes suggestion list when opened
245
- - Pressing `ArrowDown` key opens suggestion list when closed (if there are results to be shown)
1546
+ - [foehn-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.ts)
1547
+ - [foehn-bo-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-bo-multi-upload/foehn-bo-multi-upload.component.ts)
246
1548
 
247
- - [foehn-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.ts)
248
- - [foehn-bo-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-bo-multi-upload/foehn-bo-multi-upload.component.ts)
249
- - Drop zone is bigger and now highlighted when file enters navigator window. Dropping file outside drop zone is prevented to avoid navigator default action.
1549
+ - Drop zone is bigger and now highlighted when file enters navigator window. Dropping file outside drop zone is prevented to avoid navigator default action.
250
1550
 
251
- - [package.json](package.json)
252
- - Updated `@dsivd/foehn` to 1.8.3. See [the changelog](https://github.com/DSI-VD/foehn/blob/master/CHANGELOG.md) for more information.
1551
+ - [package.json](package.json)
1552
+ - Updated `@dsivd/foehn` to 1.8.3. See [the changelog](https://github.com/DSI-VD/foehn/blob/master/CHANGELOG.md) for more information.
253
1553
 
254
1554
  ## [14.5.9]
255
1555
 
256
1556
  ### Fixed
257
1557
 
258
1558
  - [foehn-checkable-group.component.ts](projects/prestations-ng/src/foehn-checkables/foehn-checkable-group.component.ts)
259
- - fixed elements not displaying when used with a pipe async
1559
+ - fixed elements not displaying when used with a pipe async
260
1560
 
261
1561
  ## [14.5.8]
262
1562
 
@@ -268,8 +1568,10 @@ A change is considered **breaking** if you have to change your code or update yo
268
1568
  ## [14.5.7]
269
1569
 
270
1570
  ### Fixed
1571
+
271
1572
  - [foehn-page-modal.component.ts](projects/prestations-ng/src/foehn-page/foehn-page-modal.component.ts)
272
- - do not display login messages when user is connected via IAM ACV (no context)
1573
+
1574
+ - do not display login messages when user is connected via IAM ACV (no context)
273
1575
 
274
1576
  - [gesdem-action-recovery-registration.component.ts](projects/prestations-ng/src/gesdem-action-recovery/gesdem-action-recovery-registration/gesdem-action-recovery-registration.component.ts)
275
1577
  - do not show recovery link when user is connected via IAM ACV (no context)
@@ -277,36 +1579,39 @@ A change is considered **breaking** if you have to change your code or update yo
277
1579
  ## [14.5.6]
278
1580
 
279
1581
  ### Fixed
280
- - [foehn-select.component.html](projects/prestations-ng/src/foehn-checkables/foehn-select.component.html)
1582
+
1583
+ - [foehn-select.component.html](projects/prestations-ng/src/foehn-checkables/foehn-select.component.html)
281
1584
  - attribute `disabled` was not used
282
1585
 
283
1586
  ### Added
1587
+
284
1588
  - [gesdem-confirmation.component.ts](projects/prestations-ng/src/gesdem-confirmation/gesdem-confirmation.component.ts)
285
- - 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
1589
+ - 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
286
1590
 
287
1591
  ## [14.5.5]
288
1592
 
289
1593
  ### Added
290
1594
 
291
- - [object-helper.ts](projects/prestations-ng/src/helpers/object.helper.ts)
292
- - added a helper for manipulating objects
293
- - `static isEqual(value1: unknown, value2: unknown): boolean`
294
- - `static hasAnyValue(value: any): boolean`
295
- - `static isEmpty(value: any): boolean`
296
- - `static deepCopy(obj: any): any`
1595
+ - [object-helper.ts](projects/prestations-ng/src/helpers/object.helper.ts)
1596
+ - added a helper for manipulating objects
1597
+ - `static isEqual(value1: unknown, value2: unknown): boolean`
1598
+ - `static hasAnyValue(value: any): boolean`
1599
+ - `static isEmpty(value: any): boolean`
1600
+ - `static deepCopy(obj: any): any`
297
1601
 
298
1602
  ### Fixed
299
1603
 
300
- - Library is now compiled using `"compilationMode": "partial"` as it should have when upgrading it to Angular 12.
301
- - No need to use `yarn start:symlink` anymore when linking library in project
302
- - Cleanup your project if needed :
303
- - in your `package.json` located at the root of your application, remove `start:symlink`
304
- - remove `projects->[YOUR_PROJECT_NAME]->architect->build->configurations->symlink` attribute
305
- - remove `projects->[YOUR_PROJECT_NAME]->architect->serve->configurations->symlink` attribute
306
- - delete `front/src/tsconfig.app.symlink.json`
1604
+ - Library is now compiled using `"compilationMode": "partial"` as it should have when upgrading it to Angular 12.
1605
+
1606
+ - No need to use `yarn start:symlink` anymore when linking library in project
1607
+ - Cleanup your project if needed :
1608
+ - in your `package.json` located at the root of your application, remove `start:symlink`
1609
+ - remove `projects->[YOUR_PROJECT_NAME]->architect->build->configurations->symlink` attribute
1610
+ - remove `projects->[YOUR_PROJECT_NAME]->architect->serve->configurations->symlink` attribute
1611
+ - delete `front/src/tsconfig.app.symlink.json`
307
1612
 
308
- - [foehn-select.component.html](projects/prestations-ng/src/foehn-checkables/foehn-select.component.html)
309
- - fixed problem when model holds a complex object (object in an object in an...)
1613
+ - [foehn-select.component.html](projects/prestations-ng/src/foehn-checkables/foehn-select.component.html)
1614
+ - fixed problem when model holds a complex object (object in an object in an...)
310
1615
 
311
1616
  ## [14.5.4]
312
1617
 
@@ -321,7 +1626,7 @@ A change is considered **breaking** if you have to change your code or update yo
321
1626
 
322
1627
  - [foehn-page-modal.component.ts](projects/prestations-ng/src/foehn-page/foehn-page-modal.component.ts)
323
1628
  - manage connected user with multiple `SessionInfoData.categories`
324
-
1629
+
325
1630
  ## [14.5.2]
326
1631
 
327
1632
  ### Updated
@@ -334,6 +1639,7 @@ A change is considered **breaking** if you have to change your code or update yo
334
1639
  ### Updated
335
1640
 
336
1641
  - [ESLINT_MIGRATION_GUIDE](ESLINT_MIGRATION_GUIDE.md)
1642
+
337
1643
  - Added missing plugins (`import`, `jsdoc`, `prefer-arrow` and `rxjs-angular`) when adding them with `yarn`
338
1644
  - 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
339
1645
  - Added more information on "Subtype vs Assignment"
@@ -341,7 +1647,6 @@ A change is considered **breaking** if you have to change your code or update yo
341
1647
 
342
1648
  - [foehn-recap-section.component.ts](projects/prestations-ng/src/foehn-recap-section/foehn-recap-section.component.ts)
343
1649
  - added class `text-break` to `dt` and `dd` elements
344
-
345
1650
  - [foehn-bo-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-bo-multi-upload/foehn-bo-multi-upload.component.ts)
346
1651
  - added `@Output() documentDeleted` to get an event when a document has been deleted
347
1652
 
@@ -355,6 +1660,7 @@ A change is considered **breaking** if you have to change your code or update yo
355
1660
  ### Added
356
1661
 
357
1662
  - [UPGRADING_V14](UPGRADING_V14.md)
1663
+
358
1664
  - Added migration guide
359
1665
 
360
1666
  - Schematic for setting `allowSyntheticDefaultImports` to `true` in `tsconfig.json` compiler options
@@ -381,22 +1687,22 @@ A change is considered **breaking** if you have to change your code or update yo
381
1687
  ### Added
382
1688
 
383
1689
  - [ApplicationInfo](projects/prestations-ng/src/sdk-appinfo/application-info.ts)
384
- - added two attributes to ApplicationInfo.EtapeInfo :
385
- - `boolean decisionElectroniqueAvailable` true, when prestation can result in an official electronical decision
386
- - `boolean deployeeCyber` true, when prestation is displayed in the "Espace Securisé"
387
-
1690
+ - added two attributes to ApplicationInfo.EtapeInfo :
1691
+ - `boolean decisionElectroniqueAvailable` true, when prestation can result in an official electronical decision
1692
+ - `boolean deployeeCyber` true, when prestation is displayed in the "Espace Securisé"
388
1693
  - [I18NForm](projects/prestations-ng/src/i18n-form.ts)
389
- - added field `acceptDecisionElectronique: boolean`, must be answered when `ApplicationInfo.EtapeInfo.decisionElectroniqueAvailable` is true
1694
+
1695
+ - added field `acceptDecisionElectronique: boolean`, must be answered when `ApplicationInfo.EtapeInfo.decisionElectroniqueAvailable` is true
390
1696
 
391
1697
  - [foehn-decision-electronique.component.ts](projects/prestations-ng/src/foehn-decision-electronique/foehn-decision-electronique.component.ts)
392
1698
  - [foehn-decision-electronique.module.ts](projects/prestations-ng/src/foehn-decision-electronique/foehn-decision-electronique.module.ts)
1699
+
393
1700
  - component to let the user choose `I18NForm.acceptDecisionElectronique` when `ApplicationInfo.EtapeInfo.decisionElectroniqueAvailable` is true
394
1701
  - should be added to the last page of the "prestation"
395
1702
 
396
1703
  - [foehn-page.component.html](projects/prestations-ng/src/foehn-page/foehn-page.component.html)
397
1704
  - when relevant, a message is shown to the user, suggesting to login to fully use the Espace sécurisé's features
398
1705
 
399
-
400
1706
  ### Fixed
401
1707
 
402
1708
  - [foehn-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.ts)
@@ -407,7 +1713,7 @@ A change is considered **breaking** if you have to change your code or update yo
407
1713
  ### Added
408
1714
 
409
1715
  - [foehn-bo-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-bo-multi-upload/foehn-bo-multi-upload.component.ts)
410
- - See [documentation](upload#foehn_bo_multi_upload)
1716
+ - See [documentation](upload#foehn_bo_multi_upload)
411
1717
  - Default setting:
412
1718
  - `@Input() multiple = true` (setting to false actes as a single file uploader)
413
1719
  - `@Input() dragAndDrop = true` (setting to false hiddes drop zone)
@@ -422,28 +1728,31 @@ A change is considered **breaking** if you have to change your code or update yo
422
1728
  - file extension authorized `.pdf` (can be overridden by adding in back-end properties `document.file-extensions=[YOUR_EXTENSIONS_HERE]`)
423
1729
  - file max size is `1 Mo` (can be overridden by changing back-end property `spring.servlet.multipart.max-file-size`)
424
1730
 
425
-
426
1731
  ## [14.3.1]
427
1732
 
428
1733
  - [foehn-validation-alert-summary.component.ts](projects/prestations-ng/src/foehn-validation-alert-summary/foehn-validation-alert-summary.component.ts)
429
- - 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
430
1734
 
431
- - [foehn-navigation.component.html](projects/prestations-ng/src/foehn-navigation/foehn-navigation.component.html)
432
- - 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
1735
+ - 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
1736
+
1737
+ - [foehn-navigation.component.html](projects/prestations-ng/src/foehn-navigation/foehn-navigation/foehn-navigation.component.html)
1738
+ - 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
433
1739
 
434
1740
  ## [14.3.0] - Version aligned with prestations-be
435
1741
 
436
1742
  ### Added
437
1743
 
438
1744
  - [gesdem-confirmation.component.ts](projects/prestations-ng/src/gesdem-confirmation/gesdem-confirmation.component.ts)
1745
+
439
1746
  - added `<ng-content></ng-content>` between green box and action buttons, see https://dsi-vd.github.io/prestations-ng/confirmation
440
1747
 
441
1748
  - New [datepicker documentation](https://dsi-vd.github.io/prestations-ng/datepicker) page
442
1749
 
443
1750
  - [foehn-input-date.component.html](projects/prestations-ng/src/foehn-input-date/foehn-input-date.component.html)
1751
+
444
1752
  - 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)
445
1753
 
446
1754
  - [foehn-date-picker-button.component.ts](projects/prestations-ng/src/foehn-date-picker-button/foehn-date-picker-button.component.ts)
1755
+
447
1756
  - `@Input() minYear: number` (default: today - 100) minimum year to be displayed
448
1757
  - `@Input() maxYear: number` (default: today + 10) maximum year to be displayed
449
1758
  - `@Input() displaySelectedDate = true` When set to false, hides the selected date displayed beside the button
@@ -451,6 +1760,7 @@ A change is considered **breaking** if you have to change your code or update yo
451
1760
  - `@Output() userInput = new EventEmitter<number[]>();` Fired when user chooses a date
452
1761
 
453
1762
  - [foehn-date-picker.component.ts](projects/prestations-ng/src/foehn-date-picker/foehn-date-picker.component.ts)
1763
+
454
1764
  - `@Input() minYear: number` (default: today - 100) minimum year to be displayed
455
1765
  - `@Input() maxYear: number` (default: today + 10) maximum year to be displayed
456
1766
  - `@Input() datepickerTriggerHtmlElement: HTMLElement` HTML element which opens the date picker
@@ -465,6 +1775,7 @@ A change is considered **breaking** if you have to change your code or update yo
465
1775
  - added `@Input() hideGlobalInfos = false` to be able to hide the global infos in multiple mode
466
1776
 
467
1777
  ### Updated
1778
+
468
1779
  - [foehn-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.ts)
469
1780
  - Default error messages have been moved to the default dictionary. They can be overridden and/or translated
470
1781
 
@@ -473,7 +1784,8 @@ A change is considered **breaking** if you have to change your code or update yo
473
1784
  ### Added
474
1785
 
475
1786
  - [foehn-input-address.component.ts](projects/prestations-ng/src/foehn-address/foehn-input-address.component.ts)
476
- - default value for postOfficeBoxText's help text ("Exemple : Case postale 122 ou CP122 ou CP 122"), can be overriden in dictionary with key `foehn-input-address.postOfficeBoxText.help-text`
1787
+
1788
+ - default value for postOfficeBoxText's help text ("Exemple : Case postale 122 ou CP122 ou CP 122"), can be overriden in dictionary with key `foehn-input-address.postOfficeBoxText.help-text`
477
1789
 
478
1790
  - [foehn-input.component.ts](projects/prestations-ng/src/foehn-input/foehn-input.component.ts)
479
1791
  - Function `markAsDirty` to manually set component NgModel control to dirty
@@ -485,17 +1797,21 @@ A change is considered **breaking** if you have to change your code or update yo
485
1797
  - Manage manually markAsDirty and markAsPrestine for validation purpose
486
1798
 
487
1799
  ### Updated
488
- - 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'.
1800
+
1801
+ - 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'.
489
1802
  - [sdk-epayment.component.ts](projects/prestations-ng/src/sdk-epayment/sdk-epayment.component.ts)
490
1803
 
491
1804
  ## [14.0.0]
492
1805
 
493
1806
  ### Fixed
1807
+
494
1808
  - [grecaptcha.component.ts](projects/prestations-ng/src/sdk-recaptcha/grecaptcha/grecaptcha.component.ts)
1809
+
495
1810
  - reCaptcha language now depends on user language settings
496
1811
 
497
1812
  - [foehn-input-time.component.html](projects/prestations-ng/src/foehn-input-time/foehn-input-time.component.html)
498
1813
  - [foehn-input-nav13.component.html](projects/prestations-ng/src/foehn-nav13/foehn-input-nav13.component.html)
1814
+
499
1815
  - Now disables all inputs when attribute `[disabled]` is set to `true`
500
1816
 
501
1817
  - [foehn-boolean-radio.component.html](projects/prestations-ng/src/foehn-boolean/foehn-boolean-radio.component.html)
@@ -506,30 +1822,35 @@ A change is considered **breaking** if you have to change your code or update yo
506
1822
  ### Added
507
1823
 
508
1824
  - [form-select-option.ts](projects/prestations-ng/src/foehn-checkables/form-select-option.ts)
1825
+
509
1826
  - Added `FormSelectOption` class to be used for foehn checkables components. Avoids re-creating it in every project. Gives the possibility to disable elements individually.
510
1827
 
511
1828
  - [backend-reponse.ts](projects/prestations-ng/src/backend-response.ts)
1829
+
512
1830
  - Added `currentAction: number` to class GesdemMeta.
513
1831
 
514
1832
  - [foehn-page.component.html](projects/prestations-ng/src/foehn-page/foehn-page.component.html)
1833
+
515
1834
  - page content is blocked when the browser is not supported but a button allows the user to continue anyway.
516
1835
 
517
- - [foehn-navigation.component.html](projects/prestations-ng/src/foehn-navigation/foehn-navigation.component.html)
1836
+ - [foehn-navigation.component.html](projects/prestations-ng/src/foehn-navigation/foehn-navigation/foehn-navigation.component.html)
518
1837
  - added `@Input() showContinueLaterButton = true` to be able to hide the "Continue Later" button on a specific page
519
1838
 
520
1839
  ### Removed
1840
+
521
1841
  - [gesdem-confirmation.component.ts](projects/prestations-ng/src/gesdem-confirmation/gesdem-confirmation.component.ts)
522
- - removed `@Input() currentEtape: number` and `ActivatedRoute.data.currentEtape`, `lastResponse.meta.currentAction` is now used to download the right pdf
1842
+ - removed `@Input() currentEtape: number` and `ActivatedRoute.data.currentEtape`, `lastResponse.meta.currentAction` is now used to download the right pdf
523
1843
 
524
1844
  ## [13.7.0]
525
1845
 
526
1846
  ### Fixed
527
1847
 
528
1848
  - [date.pipe.ts](projects/prestations-ng/src/pipes/date.pipe.ts)
1849
+
529
1850
  - Rollback eslint fix and return `any` to avoid breaking apps
530
1851
 
531
1852
  - [gesdem-action-recovery-registration.component.ts](projects/prestations-ng/src/gesdem-action-recovery/gesdem-action-recovery-registration/gesdem-action-recovery-registration.component.ts)
532
- - recovery registration errors should not override form errors (both should be displayed)
1853
+ - recovery registration errors should not override form errors (both should be displayed)
533
1854
 
534
1855
  ## [13.6.0]
535
1856
 
@@ -537,7 +1858,7 @@ A change is considered **breaking** if you have to change your code or update yo
537
1858
 
538
1859
  - [foehn-input.component.ts](projects/prestations-ng/src/foehn-input/foehn-input.component.ts)
539
1860
  - `GESDEM_MAX_DATA_LENGTH` is now 10'000
540
-
1861
+
541
1862
  ## [13.5.1]
542
1863
 
543
1864
  ### Added
@@ -554,21 +1875,23 @@ A change is considered **breaking** if you have to change your code or update yo
554
1875
 
555
1876
  - [ESLINT_MIGRATION_GUIDE](ESLINT_MIGRATION_GUIDE.md)
556
1877
  - Added guide for migrating projects from TSLint to ESLint
557
-
1878
+
558
1879
  ## [13.4.1]
559
1880
 
560
1881
  ### Added
561
-
1882
+
562
1883
  - 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).
563
1884
 
564
1885
  ### Fixed
1886
+
565
1887
  - [abstract-list-item-detail-page.component.ts](projects/prestations-ng/src/foehn/foehn-menu-prestation/abstract-list-item-detail-page.component.ts)
1888
+
566
1889
  - reset breadcrumb on destroy
567
- - `getListPagePath()` is now abstract since it should always be overriden (value was 'page-3' from skeleton's front-with-menu example)
1890
+ - `getListPagePath()` is now abstract since it should always be overriden (value was 'page-3' from skeleton's front-with-menu example)
568
1891
 
569
1892
  - [abstract-page-from-menu.component.ts](projects/prestations-ng/src/foehn/foehn-menu-prestation/abstract-page-from-menu.component.ts)
570
- - `getMenuPath()` is now abstract since it should always be overriden (value was 'Menu' from skeleton's front-with-menu example)
571
- - `getMenuLabel()` is now abstract since it should always be overriden (value was '/menu' from skeleton's front-with-menu example)
1893
+ - `getMenuPath()` is now abstract since it should always be overriden (value was 'Menu' from skeleton's front-with-menu example)
1894
+ - `getMenuLabel()` is now abstract since it should always be overriden (value was '/menu' from skeleton's front-with-menu example)
572
1895
 
573
1896
  ## [13.4.0]
574
1897
 
@@ -892,7 +2215,7 @@ A change is considered **breaking** if you have to change your code or update yo
892
2215
  - foehn-input-address.addressLine1.label=c/o
893
2216
  - foehn-input-address.addressLine2.label=Complément d'adresse
894
2217
 
895
- - [foehn-navigation.component.html](projects/prestations-ng/src/foehn-navigation/foehn-navigation.component.html)
2218
+ - [foehn-navigation.component.html](projects/prestations-ng/src/foehn-navigation/foehn-navigation/foehn-navigation.component.html)
896
2219
 
897
2220
  - new translations with default values :
898
2221
 
@@ -1621,7 +2944,7 @@ not dead
1621
2944
 
1622
2945
  - Improved accessibility
1623
2946
 
1624
- - [foehn-navigation.component.html](projects/prestations-ng/src/foehn-navigation/foehn-navigation.component.html)
2947
+ - [foehn-navigation.component.html](projects/prestations-ng/src/foehn-navigation/foehn-navigation/foehn-navigation.component.html)
1625
2948
  - [gesdem-confirmation.component.html](projects/prestations-ng/src/gesdem-confirmation/gesdem-confirmation.component.html)
1626
2949
  - [foehn-multi-upload.component.html](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.html)
1627
2950
  - Wrapped the validation alerts into a div and set its aria-live attribute to 'assertive' on file size or extension error.
@@ -2442,7 +3765,7 @@ this.sessionInfoWithApplicationService.prefillForm((info: SessionInfoData) => {
2442
3765
  - Component label is now displayed in a `<span>` with `innerHTML`
2443
3766
 
2444
3767
  - [foehn-input-nav13.component.ts](projects/prestations-ng/src/foehn-nav13/foehn-input-nav13.component.ts)
2445
- - When `label` attribut is not set, display default `label` information
3768
+ - When `label` attribute is not set, display default `label` information
2446
3769
 
2447
3770
  ## [8.15.1] - 2019.02.13
2448
3771
 
@@ -2577,7 +3900,7 @@ If you've added an "facultatif" label somewhere in your prestation, please chang
2577
3900
 
2578
3901
  ### Added
2579
3902
 
2580
- - [foehn-navigation.component.ts](projects/prestations-ng/src/foehn-navigation/foehn-navigation.component.ts)
3903
+ - [foehn-navigation.component.ts](projects/prestations-ng/src/foehn-navigation/foehn-navigation/foehn-navigation.component.ts)
2581
3904
  - Add a `showNextButton` property on the component to programmatically hide the next or transmit button.
2582
3905
  - [foehn-input.component.ts](projects/prestations-ng/src/foehn-input/foehn-input.component.ts)
2583
3906
  - Add a `excludeFromErrorSummary` property on all input components to exclude errors from the error summary.
@@ -2917,7 +4240,7 @@ in [Upgrading Guide](UPGRADING_V8.md).
2917
4240
  - Remove a static `id` on the component
2918
4241
  - [foehn-page.component.html](projects/prestations-ng/src/foehn-page/foehn-page.component.html)
2919
4242
  - The `main` section now starts by a `h1` rather than an `h2`
2920
- - [foehn-navigation.component.html](projects/prestations-ng/src/foehn-navigation/foehn-navigation.component.html)
4243
+ - [foehn-navigation.component.html](projects/prestations-ng/src/foehn-navigation/foehn-navigation/foehn-navigation.component.html)
2921
4244
  - Convert `h3` to `h2`
2922
4245
  - [foehn-notfound.component.html](projects/prestations-ng/src/foehn-notfound/foehn-notfound.component.html)
2923
4246
  - Remove duplicated `main`
@@ -3089,7 +4412,7 @@ for the first time)
3089
4412
  ```javascript
3090
4413
  // Typical usage
3091
4414
  breadcrumbService.setConfiguration({
3092
- prestationCode: '101016',
4415
+ prestationCode: '101016'
3093
4416
  });
3094
4417
 
3095
4418
  // All options
@@ -3098,7 +4421,7 @@ breadcrumbService.setConfiguration({
3098
4421
  allPrestationsUrl: '/100002/prestations',
3099
4422
  vdChUrl: 'https://www.vd.ch/',
3100
4423
  descriptionPageBaseUrl: 'https://www.vd.ch/go.to?prestation=',
3101
- prestationCode: '101016',
4424
+ prestationCode: '101016'
3102
4425
  });
3103
4426
  ```
3104
4427
 
@@ -3115,7 +4438,7 @@ this.applicationInfoService.firstEtapeInfo.subscribe(etapeInfo => {
3115
4438
  const { titreEtape, idMetierPrestation } = etapeInfo;
3116
4439
 
3117
4440
  this.breadcrumbService.setConfiguration({
3118
- prestationCode: idMetierPrestation,
4441
+ prestationCode: idMetierPrestation
3119
4442
  });
3120
4443
 
3121
4444
  this.appTitle = titreEtape;
@@ -3397,7 +4720,7 @@ If you've added an "Obligatoire" label somewhere in your prestation, please chan
3397
4720
 
3398
4721
  ### Fixed
3399
4722
 
3400
- - [foehn-navigation.component.ts](projects/prestations-ng/src/foehn-navigation/foehn-navigation.component.ts)
4723
+ - [foehn-navigation.component.ts](projects/prestations-ng/src/foehn-navigation/foehn-navigation/foehn-navigation.component.ts)
3401
4724
  - Properly handles skipping more than one route when using dynamic routing.
3402
4725
 
3403
4726
  ## [7.12.1] - 2018.08.10
@@ -3430,7 +4753,7 @@ If you've added an "Obligatoire" label somewhere in your prestation, please chan
3430
4753
 
3431
4754
  ### Added
3432
4755
 
3433
- - [foehn-navigation.component.ts](projects/prestations-ng/src/foehn-navigation/foehn-navigation.component.ts)
4756
+ - [foehn-navigation.component.ts](projects/prestations-ng/src/foehn-navigation/foehn-navigation/foehn-navigation.component.ts)
3434
4757
 
3435
4758
  - The navigation component now evaluates canActivate guards on the children routes when doing a next() and a
3436
4759
  previous(). Only supports guards returning a boolean. This feature is useful to create dynamic workflow based
@@ -3743,7 +5066,7 @@ on these ids.
3743
5066
 
3744
5067
  ### Changed
3745
5068
 
3746
- - Changed [foehn-navigation.component.html](projects/prestations-ng/src/foehn-navigation/foehn-navigation.component.html)
5069
+ - Changed [foehn-navigation.component.html](projects/prestations-ng/src/foehn-navigation/foehn-navigation/foehn-navigation.component.html)
3747
5070
  - Added new foehn design and layout
3748
5071
  - Now displaying as link showing previous/next step as 'X sur Y' for accessibility reasons
3749
5072