@dsivd/prestations-ng 18.8.0-beta.13 → 19.0.0-beta.2

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 (298) hide show
  1. package/.browserslistrc +12 -21
  2. package/ANGULAR_SIGNALS.md +856 -0
  3. package/CHANGELOG.md +333 -312
  4. package/COMPONENTS.md +350 -0
  5. package/CONTRIBUTING.md +2 -4
  6. package/ESLINT_MIGRATION_GUIDE.md +64 -67
  7. package/IAM_ACV_MIGRATION_OIDC.md +138 -0
  8. package/MULTI_ETAPES.md +1 -1
  9. package/README.md +4 -2
  10. package/UPGRADING_V12.md +0 -10
  11. package/UPGRADING_V16.md +0 -1
  12. package/UPGRADING_V18.md +398 -233
  13. package/UPGRADING_V19.md +174 -0
  14. package/dsivd-prestations-ng-19.0.0-beta.2.tgz +0 -0
  15. package/fesm2022/dsivd-prestations-ng.mjs +9333 -10485
  16. package/fesm2022/dsivd-prestations-ng.mjs.map +1 -1
  17. package/index.html +1 -1
  18. package/package.json +18 -17
  19. package/schematics/utility/add-allow-synthetic-default-imports.js +2 -2
  20. package/schematics/utility/add-allowed-common-js-dependencies.js +3 -3
  21. package/schematics/utility/foehn2-bootstrap5-migration.js +21 -21
  22. package/schematics/utility/migrate-to-karma-coverage.js +2 -2
  23. package/schematics/utility/remove-emit-decorator-metadata.js +2 -2
  24. package/types/dsivd-prestations-ng.d.ts +3699 -0
  25. package/MODULES.md +0 -371
  26. package/abstract-page-component.d.ts +0 -57
  27. package/directives/currency-formatter.directive.d.ts +0 -20
  28. package/directives/formatter.module.d.ts +0 -11
  29. package/directives/iban-formatter.directive.d.ts +0 -10
  30. package/directives/ide-formatter.directive.d.ts +0 -17
  31. package/directives/ndc-formatter.directive.d.ts +0 -24
  32. package/dsivd-prestations-ng-18.8.0-beta.13.tgz +0 -0
  33. package/foehn-address/address.type.d.ts +0 -27
  34. package/foehn-address/foehn-address.module.d.ts +0 -15
  35. package/foehn-address/foehn-display-address.component.d.ts +0 -16
  36. package/foehn-address/foehn-input-address.component.d.ts +0 -107
  37. package/foehn-address/foehn-input-foreign-locality.component.d.ts +0 -16
  38. package/foehn-address/foehn-input-foreign-street.component.d.ts +0 -12
  39. package/foehn-agenda/calendar.type.d.ts +0 -9
  40. package/foehn-agenda/current-week.type.d.ts +0 -5
  41. package/foehn-agenda/day-slots.type.d.ts +0 -5
  42. package/foehn-agenda/foehn-agenda-navigation/foehn-agenda-navigation.component.d.ts +0 -21
  43. package/foehn-agenda/foehn-agenda-timeslot-panel/foehn-agenda-timeslot-panel.component.d.ts +0 -51
  44. package/foehn-agenda/foehn-agenda.component.d.ts +0 -29
  45. package/foehn-agenda/foehn-agenda.module.d.ts +0 -17
  46. package/foehn-agenda/pagination-week.type.d.ts +0 -5
  47. package/foehn-agenda/selected-slot.type.d.ts +0 -7
  48. package/foehn-autocomplete/foehn-autocomplete.component.d.ts +0 -126
  49. package/foehn-autocomplete/foehn-autocomplete.module.d.ts +0 -13
  50. package/foehn-boolean/foehn-boolean-checkbox.component.d.ts +0 -6
  51. package/foehn-boolean/foehn-boolean-radio.component.d.ts +0 -9
  52. package/foehn-boolean/foehn-boolean.module.d.ts +0 -12
  53. package/foehn-breadcrumb/breadcrumb-event.service.d.ts +0 -48
  54. package/foehn-breadcrumb/breadcrumb.d.ts +0 -19
  55. package/foehn-breadcrumb/foehn-breadcrumb.component.d.ts +0 -30
  56. package/foehn-breadcrumb/foehn-breadcrumb.module.d.ts +0 -10
  57. package/foehn-checkables/foehn-checkable-group.component.d.ts +0 -64
  58. package/foehn-checkables/foehn-checkables.module.d.ts +0 -17
  59. package/foehn-checkables/foehn-checkbox.component.d.ts +0 -9
  60. package/foehn-checkables/foehn-radio.component.d.ts +0 -12
  61. package/foehn-checkables/foehn-select.component.d.ts +0 -22
  62. package/foehn-checkables/form-select-option-group.d.ts +0 -4
  63. package/foehn-checkables/form-select-option.d.ts +0 -5
  64. package/foehn-confirm-modal/foehn-confirm-modal-content.d.ts +0 -9
  65. package/foehn-confirm-modal/foehn-confirm-modal.component.d.ts +0 -17
  66. package/foehn-confirm-modal/foehn-confirm-modal.module.d.ts +0 -9
  67. package/foehn-confirm-modal/foehn-confirm-modal.service.d.ts +0 -18
  68. package/foehn-date-picker/date-picker-navigation.helper.d.ts +0 -26
  69. package/foehn-date-picker/date-picker.helper.d.ts +0 -30
  70. package/foehn-date-picker/day-month.type.d.ts +0 -8
  71. package/foehn-date-picker/focused-day.type.d.ts +0 -6
  72. package/foehn-date-picker/foehn-date-picker.component.d.ts +0 -78
  73. package/foehn-date-picker/foehn-date-picker.module.d.ts +0 -13
  74. package/foehn-date-picker/month-year.type.d.ts +0 -4
  75. package/foehn-date-picker-button/foehn-date-picker-button.component.d.ts +0 -31
  76. package/foehn-date-picker-button/foehn-date-picker-button.module.d.ts +0 -12
  77. package/foehn-debug-summary/foehn-debug-summary.component.d.ts +0 -21
  78. package/foehn-debug-summary/foehn-debug-summary.component.module.d.ts +0 -9
  79. package/foehn-decision-electronique/foehn-decision-electronique.component.d.ts +0 -11
  80. package/foehn-decision-electronique/foehn-decision-electronique.module.d.ts +0 -11
  81. package/foehn-dropdown-menu/dropdown-menu-group.type.d.ts +0 -5
  82. package/foehn-dropdown-menu/dropdown-menu-item.type.d.ts +0 -9
  83. package/foehn-dropdown-menu/foehn-dropdown-menu.component.d.ts +0 -42
  84. package/foehn-dropdown-menu/foehn-dropdown-menu.module.d.ts +0 -11
  85. package/foehn-feedback-notification/foehn-feedback-notification.component.d.ts +0 -32
  86. package/foehn-feedback-notification/foehn-feedback-notification.module.d.ts +0 -11
  87. package/foehn-feedback-notification/foehn-feedback-notification.type.d.ts +0 -8
  88. package/foehn-footer/foehn-footer.component.d.ts +0 -44
  89. package/foehn-footer/foehn-footer.module.d.ts +0 -9
  90. package/foehn-footer/footer-link.type.d.ts +0 -4
  91. package/foehn-form/foehn-form.component.d.ts +0 -27
  92. package/foehn-form/foehn-form.module.d.ts +0 -10
  93. package/foehn-form/register-ng-model.service.d.ts +0 -9
  94. package/foehn-growl/foehn-growl.component.d.ts +0 -17
  95. package/foehn-growl/foehn-growl.module.d.ts +0 -8
  96. package/foehn-growl/growl-broker.service.d.ts +0 -12
  97. package/foehn-growl/growl-message.d.ts +0 -7
  98. package/foehn-growl/growl-types.d.ts +0 -6
  99. package/foehn-header/foehn-header.component.d.ts +0 -47
  100. package/foehn-header/foehn-header.module.d.ts +0 -14
  101. package/foehn-header/foehn-skip-link.component.d.ts +0 -23
  102. package/foehn-help-modal/foehn-help-modal.component.d.ts +0 -17
  103. package/foehn-help-modal/foehn-help-modal.module.d.ts +0 -10
  104. package/foehn-help-modal/foehn-help-modal.type.d.ts +0 -13
  105. package/foehn-icons/abstract-icon-component.d.ts +0 -9
  106. package/foehn-icons/foehn-icon-calendar.component.d.ts +0 -8
  107. package/foehn-icons/foehn-icon-check-square-o.component.d.ts +0 -8
  108. package/foehn-icons/foehn-icon-check.component.d.ts +0 -8
  109. package/foehn-icons/foehn-icon-chevron-down.component.d.ts +0 -8
  110. package/foehn-icons/foehn-icon-chevron-left.component.d.ts +0 -8
  111. package/foehn-icons/foehn-icon-chevron-right.component.d.ts +0 -8
  112. package/foehn-icons/foehn-icon-chevron-up.component.d.ts +0 -8
  113. package/foehn-icons/foehn-icon-clock.component.d.ts +0 -8
  114. package/foehn-icons/foehn-icon-comment-dots.component.d.ts +0 -8
  115. package/foehn-icons/foehn-icon-edit.component.d.ts +0 -8
  116. package/foehn-icons/foehn-icon-external-link-alt.component.d.ts +0 -8
  117. package/foehn-icons/foehn-icon-file-pdf.component.d.ts +0 -8
  118. package/foehn-icons/foehn-icon-info-circle.component.d.ts +0 -8
  119. package/foehn-icons/foehn-icon-lock.component.d.ts +0 -8
  120. package/foehn-icons/foehn-icon-map-marker.component.d.ts +0 -8
  121. package/foehn-icons/foehn-icon-minus-circle.component.d.ts +0 -8
  122. package/foehn-icons/foehn-icon-pencil.component.d.ts +0 -8
  123. package/foehn-icons/foehn-icon-plus-circle.component.d.ts +0 -8
  124. package/foehn-icons/foehn-icon-plus-square.component.d.ts +0 -8
  125. package/foehn-icons/foehn-icon-search.component.d.ts +0 -8
  126. package/foehn-icons/foehn-icon-times.component.d.ts +0 -8
  127. package/foehn-icons/foehn-icon-trash-alt.component.d.ts +0 -8
  128. package/foehn-icons/foehn-icon-unlock-alt.component.d.ts +0 -8
  129. package/foehn-icons/foehn-icon-user.component.d.ts +0 -8
  130. package/foehn-icons/foehn-icons.module.d.ts +0 -31
  131. package/foehn-input/foehn-input-email.component.d.ts +0 -15
  132. package/foehn-input/foehn-input-hidden.component.d.ts +0 -14
  133. package/foehn-input/foehn-input-number.component.d.ts +0 -42
  134. package/foehn-input/foehn-input-password.component.d.ts +0 -12
  135. package/foehn-input/foehn-input-phone.component.d.ts +0 -25
  136. package/foehn-input/foehn-input-prefixed-text.component.d.ts +0 -26
  137. package/foehn-input/foehn-input-string.component.d.ts +0 -9
  138. package/foehn-input/foehn-input-text.component.d.ts +0 -11
  139. package/foehn-input/foehn-input-textarea.component.d.ts +0 -22
  140. package/foehn-input/foehn-input.component.d.ts +0 -127
  141. package/foehn-input/foehn-input.module.d.ts +0 -24
  142. package/foehn-input/pattern.const.d.ts +0 -11
  143. package/foehn-input-date/foehn-input-date.component.d.ts +0 -33
  144. package/foehn-input-date-time/foehn-input-date-time.component.d.ts +0 -40
  145. package/foehn-input-time/foehn-input-time.component.d.ts +0 -19
  146. package/foehn-list/foehn-list.component.d.ts +0 -27
  147. package/foehn-list/foehn-list.module.d.ts +0 -9
  148. package/foehn-list/page-change-event.d.ts +0 -5
  149. package/foehn-menu-prestation/abstract-list-item-detail-page.component.d.ts +0 -35
  150. package/foehn-menu-prestation/abstract-menu-page.component.d.ts +0 -13
  151. package/foehn-menu-prestation/abstract-page-from-menu.component.d.ts +0 -20
  152. package/foehn-menu-prestation/foehn-error-pill/foehn-error-pill.component.d.ts +0 -12
  153. package/foehn-menu-prestation/foehn-list-summary/foehn-list-item-description.d.ts +0 -6
  154. package/foehn-menu-prestation/foehn-list-summary/foehn-list-item.d.ts +0 -5
  155. package/foehn-menu-prestation/foehn-list-summary/foehn-list-summary.component.d.ts +0 -40
  156. package/foehn-menu-prestation/foehn-menu-items/foehn-menu-item/foehn-menu-item.component.d.ts +0 -16
  157. package/foehn-menu-prestation/foehn-menu-items/foehn-menu-item-transmit/foehn-menu-item-transmit.component.d.ts +0 -23
  158. package/foehn-menu-prestation/foehn-menu-prestation.module.d.ts +0 -18
  159. package/foehn-misc/foehn-abbr.component.d.ts +0 -7
  160. package/foehn-misc/foehn-misc.module.d.ts +0 -7
  161. package/foehn-modal/foehn-modal.component.d.ts +0 -24
  162. package/foehn-modal/foehn-modal.module.d.ts +0 -11
  163. package/foehn-multiselect-autocomplete/foehn-multiselect-autocomplete.component.d.ts +0 -54
  164. package/foehn-multiselect-autocomplete/foehn-multiselect-autocomplete.module.d.ts +0 -13
  165. package/foehn-nav13/foehn-input-nav13.component.d.ts +0 -20
  166. package/foehn-nav13/foehn-input-nav13.module.d.ts +0 -11
  167. package/foehn-navigation/abstract-foehn-navigation.component.d.ts +0 -19
  168. package/foehn-navigation/foehn-navigation/foehn-navigation.component.d.ts +0 -22
  169. package/foehn-navigation/foehn-navigation.module.d.ts +0 -13
  170. package/foehn-navigation/foehn-navigation.service.d.ts +0 -69
  171. package/foehn-navigation/foehn-simple-navigation/foehn-simple-navigation.component.d.ts +0 -8
  172. package/foehn-notfound/foehn-notfound.component.d.ts +0 -19
  173. package/foehn-notfound/foehn-notfound.module.d.ts +0 -10
  174. package/foehn-page/foehn-page-counter.component.d.ts +0 -15
  175. package/foehn-page/foehn-page-expiration-timer/current-session-expiration.d.ts +0 -5
  176. package/foehn-page/foehn-page-expiration-timer/demande-expiration-interceptor.d.ts +0 -15
  177. package/foehn-page/foehn-page-expiration-timer/demande-expiration.service.d.ts +0 -16
  178. package/foehn-page/foehn-page-expiration-timer/foehn-page-expiration-timer.component.d.ts +0 -36
  179. package/foehn-page/foehn-page-expiration-timer/interval.helper.d.ts +0 -3
  180. package/foehn-page/foehn-page-modal.component.d.ts +0 -23
  181. package/foehn-page/foehn-page-modal.service.d.ts +0 -12
  182. package/foehn-page/foehn-page.component.d.ts +0 -80
  183. package/foehn-page/foehn-page.module.d.ts +0 -24
  184. package/foehn-page/foehn-page.service.d.ts +0 -19
  185. package/foehn-page/foehn-transmit-waiting-modal/demande-transmit-interceptor.d.ts +0 -16
  186. package/foehn-page/foehn-transmit-waiting-modal/foehn-transmit-waiting-modal.component.d.ts +0 -11
  187. package/foehn-page/foehn-transmit-waiting-modal/foehn-transmit-waiting-modal.service.d.ts +0 -11
  188. package/foehn-recap-section/foehn-recap-section.component.d.ts +0 -21
  189. package/foehn-recap-section/foehn-recap-section.module.d.ts +0 -10
  190. package/foehn-recap-section/foehn-recap-section.type.d.ts +0 -17
  191. package/foehn-remaining-alerts-summary/foehn-remaining-alerts-summary.component.d.ts +0 -20
  192. package/foehn-remaining-alerts-summary/foehn-remaining-alerts-summary.module.d.ts +0 -8
  193. package/foehn-status-progress-bar/foehn-status-progress-bar.component.d.ts +0 -23
  194. package/foehn-status-progress-bar/foehn-status-progress-bar.module.d.ts +0 -10
  195. package/foehn-table/foehn-table-column-configuration.d.ts +0 -14
  196. package/foehn-table/foehn-table-page-change-event.d.ts +0 -5
  197. package/foehn-table/foehn-table.component.d.ts +0 -40
  198. package/foehn-table/foehn-table.module.d.ts +0 -13
  199. package/foehn-table/row-element.type.d.ts +0 -4
  200. package/foehn-table/tableSort.d.ts +0 -4
  201. package/foehn-upload/abstract-foehn-uploader.component.d.ts +0 -68
  202. package/foehn-upload/document-reference.d.ts +0 -12
  203. package/foehn-upload/foehn-bo-multi-upload/bo-multi-upload.service.d.ts +0 -27
  204. package/foehn-upload/foehn-bo-multi-upload/bo-multi-upload.type.d.ts +0 -11
  205. package/foehn-upload/foehn-bo-multi-upload/foehn-bo-multi-upload.component.d.ts +0 -38
  206. package/foehn-upload/foehn-bo-multi-upload/foehn-bo-multi-upload.module.d.ts +0 -13
  207. package/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.d.ts +0 -42
  208. package/foehn-upload/foehn-multi-upload/foehn-multi-upload.module.d.ts +0 -13
  209. package/foehn-upload/foehn-multi-upload/multi-upload.service.d.ts +0 -29
  210. package/foehn-upload/foehn-multi-upload/multi-upload.type.d.ts +0 -11
  211. package/foehn-upload/foehn-multi-upload/pending-upload.service.d.ts +0 -26
  212. package/foehn-upload/foehn-picture-upload/foehn-picture-upload.component.d.ts +0 -38
  213. package/foehn-upload/foehn-picture-upload/foehn-picture-upload.module.d.ts +0 -14
  214. package/foehn-upload/foehn-upload-progress-bar/foehn-upload-progress-bar.component.d.ts +0 -22
  215. package/foehn-upload/foehn-upload-progress-bar/foehn-upload-progress-bar.module.d.ts +0 -11
  216. package/foehn-upload/foehn-upload-progress-bar/upload-progress.service.d.ts +0 -19
  217. package/foehn-upload/foehn-upload-progress-bar/upload-progress.type.d.ts +0 -6
  218. package/foehn-upload/page-upload-limit.service.d.ts +0 -22
  219. package/foehn-upload/pending-upload.type.d.ts +0 -9
  220. package/foehn-upload/uploader.helper.d.ts +0 -66
  221. package/foehn-user-connected-as/foehn-user-connected-as.component.d.ts +0 -12
  222. package/foehn-user-connected-as/foehn-user-connected-as.module.d.ts +0 -9
  223. package/foehn-validation-alert-summary/foehn-validation-alert-summary.component.d.ts +0 -20
  224. package/foehn-validation-alert-summary/foehn-validation-alert-summary.module.d.ts +0 -9
  225. package/foehn-validation-alerts/foehn-validation-alerts.component.d.ts +0 -14
  226. package/foehn-validation-alerts/foehn-validation-alerts.module.d.ts +0 -8
  227. package/form-error.d.ts +0 -5
  228. package/form-post-response.d.ts +0 -19
  229. package/gesdem/gesdem-error-handler.service.d.ts +0 -22
  230. package/gesdem/gesdem-event.service.d.ts +0 -16
  231. package/gesdem/gesdem-handler.service.d.ts +0 -52
  232. package/gesdem/gesdem-loader.guard.d.ts +0 -2
  233. package/gesdem/gesdem-statut-utils.d.ts +0 -12
  234. package/gesdem-action-recovery/gesdem-action-recovery-login/gesdem-action-recovery-login.component.d.ts +0 -39
  235. package/gesdem-action-recovery/gesdem-action-recovery-registration/gesdem-action-recovery-registration.component.d.ts +0 -59
  236. package/gesdem-action-recovery/gesdem-action-recovery.module.d.ts +0 -17
  237. package/gesdem-action-recovery/gesdem-action-recovery.service.d.ts +0 -24
  238. package/gesdem-action-recovery/reprise-info.d.ts +0 -6
  239. package/gesdem-confirmation/gesdem-confirmation.component.d.ts +0 -65
  240. package/gesdem-confirmation/gesdem-confirmation.module.d.ts +0 -12
  241. package/gesdem-error/gesdem-error.component.d.ts +0 -34
  242. package/gesdem-error/gesdem-error.module.d.ts +0 -12
  243. package/global.const.d.ts +0 -1
  244. package/helpers/demande.helper.d.ts +0 -3
  245. package/helpers/object.helper.d.ts +0 -30
  246. package/i18n-form.d.ts +0 -5
  247. package/index.d.ts +0 -5
  248. package/pipes/currency.pipe.d.ts +0 -10
  249. package/pipes/date.pipe.d.ts +0 -12
  250. package/pipes/formatIde.pipe.d.ts +0 -7
  251. package/pipes/pipes.module.d.ts +0 -9
  252. package/prestations-ng-core.module.d.ts +0 -12
  253. package/public-api.d.ts +0 -238
  254. package/refinf/model/address-type-light.d.ts +0 -5
  255. package/refinf/model/canton.d.ts +0 -4
  256. package/refinf/model/district.d.ts +0 -7
  257. package/refinf/model/municipality.d.ts +0 -9
  258. package/refinf/model/place-of-origin.d.ts +0 -9
  259. package/refinf/model/postal-locality.d.ts +0 -11
  260. package/sdk-appinfo/application-info.d.ts +0 -61
  261. package/sdk-appinfo/application-info.service.d.ts +0 -32
  262. package/sdk-currency/currency.helper.d.ts +0 -9
  263. package/sdk-date/date.helper.d.ts +0 -20
  264. package/sdk-dictionary/default-dictionary.d.ts +0 -2
  265. package/sdk-dictionary/sdk-dictionary.module.d.ts +0 -7
  266. package/sdk-dictionary/sdk-dictionary.pipe.d.ts +0 -12
  267. package/sdk-dictionary/sdk-dictionary.service.d.ts +0 -44
  268. package/sdk-drafts/draft.model.d.ts +0 -5
  269. package/sdk-drafts/drafts-container.component.d.ts +0 -33
  270. package/sdk-drafts/drafts.module.d.ts +0 -14
  271. package/sdk-drafts/drafts.service.d.ts +0 -20
  272. package/sdk-epayment/model/EPaymentParameters.d.ts +0 -21
  273. package/sdk-epayment/pending-payment/pending-payment.component.d.ts +0 -9
  274. package/sdk-epayment/sdk-epayment.component.d.ts +0 -33
  275. package/sdk-epayment/sdk-epayment.module.d.ts +0 -11
  276. package/sdk-epayment/sdk-epayment.service.d.ts +0 -21
  277. package/sdk-events-logger/sdk-event-type.d.ts +0 -12
  278. package/sdk-events-logger/sdk-event.d.ts +0 -8
  279. package/sdk-events-logger/sdk-events-logger.service.d.ts +0 -18
  280. package/sdk-recaptcha/grecaptcha/grecaptcha.component.d.ts +0 -39
  281. package/sdk-recaptcha/recaptcha.service.d.ts +0 -44
  282. package/sdk-recaptcha/sdk-recaptcha.component.d.ts +0 -27
  283. package/sdk-recaptcha/sdk-recaptcha.module.d.ts +0 -9
  284. package/sdk-redirect/iam-expired-interceptor.service.d.ts +0 -12
  285. package/sdk-redirect/redirect.component.d.ts +0 -22
  286. package/sdk-redirect/sdk-redirect.module.d.ts +0 -9
  287. package/sdk-session-info/session-info-data.d.ts +0 -29
  288. package/sdk-session-info/session-info-with-application.service.d.ts +0 -20
  289. package/sdk-session-info/session-info.service.d.ts +0 -17
  290. package/sdk-statistics/sdk-statistics.service.d.ts +0 -24
  291. package/sdk-support-alert/support-alert-container.component.d.ts +0 -20
  292. package/sdk-support-alert/support-alert.component.d.ts +0 -12
  293. package/sdk-support-alert/support-alert.model.d.ts +0 -12
  294. package/sdk-support-alert/support-alert.module.d.ts +0 -10
  295. package/sdk-support-alert/support-alert.service.d.ts +0 -34
  296. package/service-locator.d.ts +0 -4
  297. package/supported-browser.d.ts +0 -1
  298. package/validation/validation-handler.service.d.ts +0 -15
package/CHANGELOG.md CHANGED
@@ -6,26 +6,340 @@
6
6
 
7
7
  ---
8
8
 
9
+ ## [18.3.12]
10
+
11
+ ### Updated
12
+
13
+ - [foehn-remaining-alerts-summary.component.html](projects/prestations-ng/src/foehn-remaining-alerts-summary/foehn-remaining-alerts-summary.component.html)
14
+ - show debug infos that would be sent to the support form when not in prod
15
+
16
+ ## [18.3.11]
17
+
18
+ ### Updated
19
+
20
+ - [foehn-error-pill.component.ts](projects/prestations-ng/src/foehn-menu-prestation/foehn-error-pill/foehn-error-pill.component.ts)
21
+ - `errorPrefix` input now accepts both `string` and `RegExp` for more flexible error matching
22
+ - supports regex patterns like `maListe\\[\\d+\\]\\.objetB` to match dynamic array indices
23
+ - backward compatible: string values continue to work with `startsWith()` matching
24
+
25
+ ### Fixed
26
+
27
+ - [gesdem-action-recovery-registration.component.ts](projects/prestations-ng/src/gesdem-action-recovery/gesdem-action-recovery-registration/gesdem-action-recovery-registration.component.ts)
28
+ - fix labels (action recovery is not limited in time when action is > 1)
29
+
30
+ ## [18.3.10]
31
+
32
+ ### Fixed
33
+
34
+ - [IamExpiredInterceptorService](projects/prestations-ng/src/sdk-redirect/iam-expired-interceptor.service.ts)
35
+ - [gesdem-error-handler.service.ts](projects/prestations-ng/src/gesdem/gesdem-error-handler.service.ts)
36
+ - fix action recovery not showing OTP for since v18.3.5
37
+
38
+ ## [18.3.9]
39
+
40
+ ### Fixed
41
+
42
+ - [foehn-header.component.ts](projects/prestations-ng/src/foehn-header/foehn-header.component.ts)
43
+ - Do not display preferences in the menu if they are not ready
44
+
45
+ ## [18.3.8]
46
+
47
+ ### Fixed
48
+
49
+ - [upload.helper.ts](projects/prestations-ng/src/foehn-upload/uploader.helper.ts)
50
+ - do not encode some characters in filename to be displayed to the user
51
+
52
+ ## [18.3.7]
53
+
54
+ ### Fixed
55
+
56
+ - [support-alert.service.ts](projects/prestations-ng/src/sdk-support-alert/support-alert.service.ts)
57
+ - fixed `canBypassAlerts` (removed extra trailing slash)
58
+
59
+ ## [18.3.6]
60
+
61
+ ### Updated
62
+
63
+ - [foehn-multiselect-autocomplete.component.html](projects/prestations-ng/src/foehn-multiselect-autocomplete/foehn-multiselect-autocomplete.component.html)
64
+ - now uses `innerHTML` to display items selected label
65
+
66
+ ### Fixed
67
+
68
+ - [application-info.service.ts](projects/prestations-ng/src/sdk-appinfo/application-info.service.ts)
69
+ - fixed `getSafeSupportFormUrl(...)` to encode form errors for formsupportcyber.
70
+
71
+ ## [18.3.5]
72
+
73
+ ### Fixed
74
+
75
+ - [redirect.component.ts](projects/prestations-ng/src/sdk-redirect/redirect.component.ts)
76
+ - do not display native browser alert message when being redirected to login
77
+
78
+ ## [18.3.4]
79
+
80
+ ### Fixed
81
+
82
+ - [IamExpiredInterceptorService](projects/prestations-ng/src/sdk-redirect/iam-expired-interceptor.service.ts)
83
+ - fix disconnected modal not appearing after migration to keycloak
84
+
85
+ ## [18.3.2]
86
+
87
+ ### Added
88
+
89
+ - [IAM_ACV_MIGRATION_OIDC.md](IAM_ACV_MIGRATION_OIDC.md)
90
+ - Migration guide to protect IAM applications wiht OIDC instead of IAM headers (deprecated)
91
+
92
+ - [oidc-not-authenticated-interceptor.ts](projects/prestations-ng/src/oidc/oidc-not-authenticated-interceptor.ts)
93
+ - HTTP interceptor that redirect to login when using ng serve if the current application is behind IAM with OIDC
94
+
95
+ - [oidc-injection-token.ts](projects/prestations-ng/src/oidc/oidc-injection-token.ts)
96
+ - Enables the OidcNotAuthenticatedInterceptor
97
+
98
+ - [foehn-global-upload-progress-bar.component.ts](projects/prestations-ng/src/foehn-upload/foehn-upload-progress-bar/foehn-global-upload-progress-bar.component.ts)
99
+ - Added a global progress bar displaying upload progress of pending files
100
+
101
+ - [global-upload-progress.service.ts](projects/prestations-ng/src/foehn-upload/foehn-upload-progress-bar/global-upload-progress.service.ts)
102
+ - Added a global upload progress service to manage global progress bar
103
+
104
+ - [foehn-page.component.ts](projects/prestations-ng/src/foehn-page/foehn-page.component.ts)
105
+ - added a global progress bar to manage pending files upload
106
+
107
+ ### Fixed
108
+
109
+ - [foehn-multiselect-autocomplete](projects/prestations-ng/src/foehn-multiselect-autocomplete/foehn-multiselect-autocomplete.component.ts)
110
+ - When component input `isSuggestionListDynamic` is set to `true`, no filter on suggestions is added because elements list is being retrieved dynamically while user inputs in search field.
111
+
112
+ ## [18.3.1]
113
+
114
+ ### Added
115
+
116
+ - [foehn-breadcrumb.component.ts](projects/prestations-ng/src/foehn-breadcrumb/breadcrumb.ts)
117
+ - added optional property `urlTarget?: '_blank' | '_self' | '_parent' | '_top';`
118
+
119
+ ### Updated
120
+
121
+ - [foehn-breadcrumb.component.ts](projects/prestations-ng/src/foehn-breadcrumb/foehn-breadcrumb.component.ts)
122
+ - uses optional `urlTarget` property for external links
123
+
124
+ ## [18.3.0] - should be aligned with prestations-be 18.3.x
125
+
126
+ ### Added
127
+
128
+ - [gesdem-action-recovery-login.component.ts](projects/prestations-ng/src/gesdem-action-recovery/gesdem-action-recovery-login/gesdem-action-recovery-login.component.ts)
129
+ - Display a countdown to get a new OTP during action recovery (to handle backend rate limiter)
130
+
131
+ - [pending-upload.service.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/pending-upload.service.ts)
132
+ - Added `registerUploadExecutor` and `unregisterUploadExecutor` to register/unregister uploaders for pending uploads
133
+
134
+ ### Fixed
135
+
136
+ - [multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.ts)
137
+ - Now register/unregister themselves to pending upload service so progress bar can be shown when navigating to next page
138
+
139
+ ## [18.2.4]
140
+
141
+ ### Fixed
142
+
143
+ - [ApplicationInfo](projects/prestations-ng/src/sdk-appinfo/application-info.ts)
144
+ - fixed `getPortailBaseUrl` by adding a slash (`/`) at the end of url when missing in properties
145
+
146
+ ### Updated
147
+
148
+ - [foehn-form.component.ts](projects/prestations-ng/src/foehn-form/foehn-form.component.ts)
149
+ - updated `focusFirst` method with optional parameter `scrollIntoView` (default is `true`)
150
+
151
+ - [foehn-input.component.ts](projects/prestations-ng/src/foehn-input/foehn-input.component.ts)
152
+ - updated `focus` method with optional parameter `scrollIntoView` (default is `true`)
153
+
154
+ ## [18.2.1]
155
+
156
+ ### Fixed
157
+
158
+ - [foehn-modal-content-draggable.directive.ts](projects/prestations-ng/src/foehn-modal/foehn-modal-content-draggable.directive.ts)
159
+ - Fixed `handleDrag` being called on `@HostListener('window:resize')` even if `isModalDraggable` is `false`
160
+ - Fixed drag start zone to be on modal header instead of content
161
+
162
+ - [abstract-page-component.ts](projects/prestations-ng/src/abstract-page-component.ts)
163
+ - Fixed errors being displayed ((`this._validationHandlerService.shouldDisplayErrors(true);`)) before getting new errors from backend
164
+
165
+ - [foehn-form.component.ts](projects/prestations-ng/src/foehn-form/foehn-form.component.ts)
166
+ - Fixed components (i.e. checkbox list) not being marked as pristine when resetting the form
167
+
168
+ ### Added
169
+
170
+ - [scroll.helper.ts](projects/prestations-ng/src/helpers/scroll.helper.ts)
171
+ - `scrollIntoViewWithExpirationTimerOffset(elementContainer: Element): void` scrolls to element and takes into account expiration timer banner when visible
172
+
173
+ ### Updated
174
+
175
+ - [foehn-input.component.ts](projects/prestations-ng/src/foehn-input/foehn-input.component.ts)
176
+ - `focus()` now uses `scrollIntoViewWithExpirationTimerOffset` and takes into account expiration timer banner visibility when scrolling into view
177
+
178
+ - [foehn-form.component.ts](projects/prestations-ng/src/foehn-form/foehn-form.component.ts)
179
+ - `focusFirstInError()`, `focusFirst()` and `focusErrorSummary` now uses `scrollIntoViewWithExpirationTimerOffset` and takes into account expiration timer banner visibility when scrolling into view
180
+
181
+ - [abstract-list-item-detail-page.component](projects/prestations-ng/src/foehn-menu-prestation/abstract-list-item-detail-page.component.ts)
182
+ - [abstract-menu-page.component](projects/prestations-ng/src/foehn-menu-prestation/abstract-menu-page.component.ts)
183
+ - now uses `scrollIntoViewWithExpirationTimerOffset` and takes into account expiration timer banner visibility when scrolling into view
184
+
185
+ ## [18.2.0] - should be aligned with prestations-be 18.2.x
186
+
187
+ ### Added
188
+
189
+ - [app-info-headers-interceptor.ts](projects/prestations-ng/src/foehn-page/foehn-app-version-mismatch/app-info-headers-interceptor.ts)
190
+ - read new header `app-version` and trigger new `foehnPageService.onAppVersionMismatch()` when application has been updated
191
+
192
+ - [foehn-app-version-mis-match-modal.component.ts](projects/prestations-ng/src/foehn-page/foehn-app-version-mismatch/foehn-app-version-mis-match-modal.component.ts)
193
+ - warn the user that the app has been updated and that the application will be reloaded
194
+ - added in `<foehn-page>`, can be deactivated with `[showAppVersionMismatchAlert]="false"`
195
+
196
+ ### Updated
197
+
198
+ - [default-dictionary.ts](projects/prestations-ng/src/sdk-dictionary/default-dictionary.ts)
199
+ - added new keys for `foehn-app-version-mis-match-modal` :
200
+ - `foehn-app-version-mismatch-modal.title` : Mise à jour détectée
201
+ - `foehn-app-version-mismatch-modal.content` : Cette application à été mise à jour. Avant de continuer votre saisie, merci de recharger la page.
202
+ - `foehn-app-version-mismatch-modal.btn.save-and-reload` : Sauver et recharger
203
+ - `foehn-app-version-mismatch-modal.btn.reload` : Recharger
204
+
205
+ - [foehn-page.component.ts](projects/prestations-ng/src/foehn-page/foehn-page.component.ts)
206
+ - updated `@Input() showBeforeUnloadNativeConfirmAlert = true;`: Now comes from CatPrest etape configuration (default is still `true`) but can still be overridden by `input`
207
+
208
+ ### Fixed
209
+
210
+ - [i18n-form.ts](projects/prestations-ng/src/i18n-form.ts)
211
+ - initialize referenceInterne with nothing instead of ''
212
+
213
+ ## [18.1.1]
214
+
215
+ ### Fixed
216
+
217
+ - [sdk-epayment.component.ts](projects/prestations-ng/src/sdk-epayment/sdk-epayment.component.ts)
218
+ - do not show native alert message when navigating to payment web page
219
+
220
+ ## [18.1.0]
221
+
222
+ ### Added
223
+
224
+ - [foehn-input-string](projects/prestations-ng/src/foehn-input/foehn-input-string.component.ts)
225
+ - Added `@Input() sanitizeOnBlur = true;` Set to `false` to not sanitize
226
+ - sanitizes input string on blur event to avoid having invisible characters
227
+ - all `foehn-input-*` components extending `foehn-input-string` component will be cleaned
228
+
229
+ - [foehn-page.component.ts](projects/prestations-ng/src/foehn-page/foehn-page.component.ts)
230
+ - Added `@Input() showBeforeUnloadNativeConfirmAlert = true;` to display or hide native browser alert message when closing the tab, closing the browser or reloading the page while having unsaved data or a gesdem reference.
231
+
232
+ - [foehn-modal.component.ts](projects/prestations-ng/src/foehn-modal/foehn-modal.component.ts)
233
+ - [foehn-help-modal.component.ts](projects/prestations-ng/src/foehn-help-modal/foehn-help-modal.component.ts)
234
+ - Added `@Input() draggable = false` to be able to drag the modal
235
+ - Added `@Input() hideable = true` to be able to hide the modal when dragging outside of the webpage
236
+
237
+ - [foehn-confirm-modal-content.ts](projects/prestations-ng/src/foehn-confirm-modal/foehn-confirm-modal-content.ts)
238
+ - Added `draggable?: boolean` to be able to drag the modal
239
+ - Added `hideable?: boolean` to be able to hide the modal when dragging outside of the webpage
240
+
241
+ - [sdk-logs.service.ts](projects/prestations-ng/src/sdk-logs/sdk-logs.service.ts)
242
+ - [sdk-log-level.enum.ts](projects/prestations-ng/src/sdk-logs/sdk-log-level.enum.ts)
243
+ - Added a service to log messages to the backend
244
+
245
+ ## [18.0.5]
246
+
247
+ ### Updated
248
+
249
+ - [foehn-input-email.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-email.component.ts)
250
+ - Do not override `helpModal` and `standardHelpText` if already set as input
251
+
252
+ ## [18.0.4]
253
+
254
+ ### Added
255
+
256
+ - [default-dictionary.ts](projects/prestations-ng/src/sdk-dictionary/default-dictionary.ts)
257
+ - added key `foehn-input-email.standard-connected-help-text`
258
+
259
+ ### Updated
260
+
261
+ - [.browserslistrc](src/.browserslistrc)
262
+ - added step by step for upgrading browsers list
263
+ - updated browserslist supported browsers
264
+
265
+ ## [18.0.3]
266
+
267
+ ### Added
268
+
269
+ - [default-dictionary.ts](projects/prestations-ng/src/sdk-dictionary/default-dictionary.ts)
270
+ - added key `foehn-uploader.unknown-error-message` (default value: `Impossible de transmettre le fichier`)
271
+
272
+ ### Updated
273
+
274
+ - [uploader.helper.ts](projects/prestations-ng/src/foehn-upload/uploader.helper.ts)
275
+ - `getDefaultUnknownErrorMessage` now uses new dictionary key `foehn-uploader.unknown-error-message`
276
+
277
+ - [gesdem-confirmation.component.ts](projects/prestations-ng/src/gesdem-confirmation/gesdem-confirmation.component.ts)
278
+ - allow to override connected success label for first step
279
+ - via `@Input() successLabelDicoKeyFirstStep`
280
+ - via route data : `successLabelDicoKeyFirstStep`
281
+ - default value for label is `gesdem-confirmation.success-label` from dictionary
282
+ - allow to override connected success label for additional steps
283
+ - via `@Input() successLabelDicoAdditionalSteps`
284
+ - via route data : `successLabelDicoAdditionalSteps`
285
+ - default value for label is `gesdem-confirmation.next-step.success-label` from dictionary
286
+
287
+ ### Fixed
288
+
289
+ - [foehn-select.component.ts](projects/prestations-ng/src/foehn-checkables/foehn-select.component.ts)
290
+ - [foehn-radio.component.ts](projects/prestations-ng/src/foehn-checkables/foehn-radio.component.ts)
291
+ - [foehn-checkbox.component.ts](projects/prestations-ng/src/foehn-checkables/foehn-checkbox.component.ts)
292
+ - [foehn-input-date.component.ts](projects/prestations-ng/src/foehn-input-date/foehn-input-date.component.ts)
293
+ - fixed `disabled`: now checks if all elements are disabled
294
+
295
+ - [foehn-form.component.ts](projects/prestations-ng/src/foehn-form/foehn-form.component.ts)
296
+ - fixed `focusFirst()`: now checks if focusable element is not `disabled` or `hidden`
297
+ - fixed `focusFirst()`: now only takes lowest level components (no parents having subComponents)
298
+
299
+ ## [18.0.2]
300
+
301
+ ### Fixed
302
+
303
+ - [gesdem-handler.service.ts](projects/prestations-ng/src/gesdem/gesdem-handler.service.ts)
304
+ - Fixed success message when user is connected and demande is not draft. (do not display expiration notice).
305
+
306
+ ## [18.0.1]
307
+
308
+ ### Fixed
309
+
310
+ - [FoehnInputStringComponent](projects/prestations-ng/src/foehn-input/foehn-input-string.component.ts)
311
+ - fixed trimOnBlur()
312
+
9
313
  ## [18.0.0]
10
314
 
11
315
  ### Added
12
316
 
13
317
  - [UPGRADING_V18](UPGRADING_V18.md)
14
-
15
318
  - Added migration guide
16
319
 
320
+ - [foehn-list.component.html](projects/prestations-ng/src/foehn-list/foehn-list.component.html)
321
+ - [foehn-table.component.html](projects/prestations-ng/src/foehn-table/foehn-table.component.html)
322
+ - Added ids on navigation and its buttons
323
+
17
324
  ### Deleted
18
325
 
19
326
  - [foehn-table.component.ts](projects/prestations-ng/src/foehn-table/foehn-table.component.ts)
20
327
  - `[list]` attribut has been removed. Use `[model]` instead.
21
328
 
329
+ ## [17.10.11]
330
+
331
+ ### Fixed
332
+
333
+ - [FoehnInputStringComponent](projects/prestations-ng/src/foehn-input/foehn-input-string.component.ts)
334
+ - fixed trimOnBlur()
335
+
22
336
  ## [17.10.10]
23
337
 
24
338
  ### Fixed
25
339
 
26
- - [redirect.component.ts](projects/prestations-ng/src/sdk-redirect/redirect.component.ts)
27
- - fixed interval destruction
28
- - now use `window.location.reload()` instead of `window.location.href = ''`
340
+ - [redirect.component.ts](projects/prestations-ng/src/sdk-redirect/redirect.component.ts)
341
+ - fixed interval destruction
342
+ - now use `window.location.reload()` instead of `window.location.href = ''`
29
343
 
30
344
  ## [17.10.9]
31
345
 
@@ -118,7 +432,6 @@
118
432
  ### Fixed
119
433
 
120
434
  - [foehn-input-address.component.ts](projects/prestations-ng/src/foehn-address/foehn-input-address.component.ts)
121
-
122
435
  - fixed foreign address creating an empty `Locality` for error purpose. Not needed anymore when using prestations-be 17.9.1
123
436
 
124
437
  - [sdk-statistics.service.ts](projects/prestations-ng/src/sdk-statistics/sdk-statistics.service.ts)
@@ -188,7 +501,6 @@ and your `angular.json` (/projects/{nom-du-projet}/architect/build/options/style
188
501
  ### Added
189
502
 
190
503
  - [gesdem-confirmation.component.ts](projects/prestations-ng/src/gesdem-confirmation/gesdem-confirmation.component.ts)
191
-
192
504
  - allow to override [foehn-feedback-notification.component.ts](projects/prestations-ng/src/foehn-feedback-notification/foehn-feedback-notification.component.ts) visibility
193
505
  - via `@Input() hideFeedbackNotificationOverride`
194
506
  - via route data : `hideFeedbackNotificationOverride`
@@ -205,7 +517,6 @@ and your `angular.json` (/projects/{nom-du-projet}/architect/build/options/style
205
517
  ### Fixed
206
518
 
207
519
  - [object.helper.ts](projects/prestations-ng/src/helpers/object.helper.ts)
208
-
209
520
  - fixed function `hasAnyValue` and `isEmpty` when testing a NULL object
210
521
 
211
522
  ### Added
@@ -267,17 +578,14 @@ and your `angular.json` (/projects/{nom-du-projet}/architect/build/options/style
267
578
 
268
579
  - [bo-multi-upload.service.ts](projects/prestations-ng/src/foehn-upload/foehn-bo-multi-upload/bo-multi-upload.service.ts)
269
580
  - [multi-upload.service.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/multi-upload.service.ts)
270
-
271
581
  - cannot delete a file which is readonly
272
582
 
273
583
  - [bo-multi-upload.component.html](projects/prestations-ng/src/foehn-upload/foehn-bo-multi-upload/bo-multi-upload.component.html)
274
584
  - [multi-upload.component.html](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/multi-upload.component.html)
275
-
276
585
  - do not show delete button on readonly files
277
586
 
278
587
  - [bo-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-bo-multi-upload/bo-multi-upload.component.ts)
279
- - [multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/multi-upload.component.ts)
280
-
588
+ - [multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.ts)
281
589
  - do not take into account readonly files when:
282
590
  - `get addedFiles`
283
591
  - `isMaxFilesCountReached`
@@ -309,7 +617,6 @@ and your `angular.json` (/projects/{nom-du-projet}/architect/build/options/style
309
617
  ### Fixed
310
618
 
311
619
  - [foehn-input-address.component.ts](projects/prestations-ng/src/foehn-address/foehn-input-address.component.ts)
312
-
313
620
  - fixed country autocomplete not being able to clear it's model with default country to Switzerland
314
621
 
315
622
  - [foehn-input-foreign-street.component.html](projects/prestations-ng/src/foehn-address/foehn-input-foreign-street.component.html)
@@ -366,7 +673,6 @@ and your `angular.json` (/projects/{nom-du-projet}/architect/build/options/style
366
673
  ### Fixed
367
674
 
368
675
  - [foehn-multiselect-autocomplete.component.html](projects/prestations-ng/src/foehn-multiselect-autocomplete/foehn-multiselect-autocomplete.component.html)
369
-
370
676
  - added missing inputs to `foehn-autocomplete`: `isLabelSrOnly` and `isSuggestionListDynamic`
371
677
 
372
678
  - [foehn-input-address.component.ts](projects/prestations-ng/src/foehn-address/foehn-input-address.component.ts)
@@ -377,7 +683,6 @@ and your `angular.json` (/projects/{nom-du-projet}/architect/build/options/style
377
683
  ### Added
378
684
 
379
685
  - [foehn-table.component.ts](projects/prestations-ng/src/foehn-table/foehn-table.component.ts)
380
-
381
686
  - Build filtered list in the list input setter
382
687
 
383
688
  - [gesdem-action-recovery-login.component.ts](projects/prestations-ng/src/gesdem-action-recovery/gesdem-action-recovery-login/gesdem-action-recovery-login.component.ts)
@@ -395,11 +700,9 @@ and your `angular.json` (/projects/{nom-du-projet}/architect/build/options/style
395
700
  ### Updated
396
701
 
397
702
  - [demande-expiration-interceptor.ts](projects/prestations-ng/src/foehn-page/foehn-page-expiration-timer/demande-expiration-interceptor.ts)
398
-
399
703
  - adapt to work with IAM Cyber as well as with Session Token
400
704
 
401
705
  - [foehn-confirm-modal-content.ts](projects/prestations-ng/src/foehn-confirm-modal/foehn-confirm-modal-content.ts)
402
-
403
706
  - added two boolean attributes to hide one of the button (`showOkButton` / `showCancelButton`), both defaults to `true`
404
707
 
405
708
  - [gesdem-action-recovery-login.component.ts](projects/prestations-ng/src/gesdem-action-recovery/gesdem-action-recovery-login/gesdem-action-recovery-login.component.ts)
@@ -439,7 +742,6 @@ and your `angular.json` (/projects/{nom-du-projet}/architect/build/options/style
439
742
  ### Updated
440
743
 
441
744
  - [foehn-feedback-notification.component.ts](projects/prestations-ng/src/foehn-feedback-notification/foehn-feedback-notification.component.ts)
442
-
443
745
  - Notification feedback answer is now encrypted in url when redirecting to feedback prestation
444
746
 
445
747
  ## [17.0.0] - must be aligned with prestations-be (17.0.0+)
@@ -447,26 +749,21 @@ and your `angular.json` (/projects/{nom-du-projet}/architect/build/options/style
447
749
  ### Added
448
750
 
449
751
  - [UPGRADING_V17](UPGRADING_V17.md)
450
-
451
752
  - Added migration guide
452
753
 
453
754
  - [gesdem-handler.service.ts](projects/prestations-ng/src/gesdem/gesdem-handler.service.ts)
454
-
455
755
  - set `?updateOnly=false` to `api/validated` when saving from first page
456
756
 
457
757
  - [foehn-table.component.ts](projects/prestations-ng/src/foehn-table/foehn-table.component.ts)
458
-
459
758
  - added `@Input() title: string;` to set a title (caption) to the table
460
759
  - added `@Input() titleSrOnly: boolean;` when set to `true`, only screen readers will see the table title
461
760
 
462
761
  - [foehn-feedback-notification.component.ts](projects/prestations-ng/src/foehn-feedback-notification/foehn-feedback-notification.component.ts)
463
-
464
762
  - Component used to redirect to users feedback prestation by sending first feedback answer
465
763
  - By default, it is added to [gesdem-confirmation.component.ts](projects/prestations-ng/src/gesdem-confirmation/gesdem-confirmation.component.ts)
466
764
  - Can be activated through `Catalogue de prestations`
467
765
 
468
766
  - [gesdem-action-recovery-registration.component.ts](projects/prestations-ng/src/gesdem-action-recovery/gesdem-action-recovery-registration/gesdem-action-recovery-registration.component.ts)
469
-
470
767
  - by default the form errors are not displayed when registering for recovery
471
768
  - you can change that by setting the new `@Input() dispatchFormErrors:boolean` to `true`
472
769
 
@@ -485,7 +782,6 @@ and your `angular.json` (/projects/{nom-du-projet}/architect/build/options/style
485
782
  ### Fixed
486
783
 
487
784
  - [foehn-input-address.component.ts](projects/prestations-ng/src/foehn-address/foehn-input-address.component.ts)
488
-
489
785
  - fixed bug where default country was not set when component was not on first page
490
786
 
491
787
  - [foehn-page-counter.component.ts](projects/prestations-ng/src/foehn-page/foehn-page-counter.component.ts)
@@ -503,7 +799,6 @@ and your `angular.json` (/projects/{nom-du-projet}/architect/build/options/style
503
799
  ### Fixed
504
800
 
505
801
  - [gesdem-error-handler.service.ts](projects/prestations-ng/src/gesdem/gesdem-error-handler.service.ts)
506
-
507
802
  - do not redirect to error page if iamExpiredInterceptorService has caught that IAM session is expired
508
803
 
509
804
  ### Added
@@ -530,11 +825,9 @@ and your `angular.json` (/projects/{nom-du-projet}/architect/build/options/style
530
825
  ### Added
531
826
 
532
827
  - [foehn-input-time.component.html](projects/prestations-ng/src/foehn-input-time/foehn-input-time.component.html)
533
-
534
828
  - added `allowLeadingZero` to true to allowed leading 0 in hours and minutes
535
829
 
536
830
  - [ApplicationInfo](projects/prestations-ng/src/sdk-appinfo/application-info.ts)
537
-
538
831
  - added `baseVdChUrl?: string` to `ApplicationInfo.Configuration.Portail`
539
832
  - with default value by environnement
540
833
  - use in `BreadcrumbEventService` and `GesdemConfirmationComponent`
@@ -556,7 +849,6 @@ and your `angular.json` (/projects/{nom-du-projet}/architect/build/options/style
556
849
  ### Added
557
850
 
558
851
  - [gesdem-handler.service.ts](projects/prestations-ng/src/gesdem/gesdem-handler.service.ts)
559
-
560
852
  - added `validate(form: any): Observable<any>` method to validate form without saving to GesDem
561
853
  - must be used when needing to refresh errors coming from BE (ex: removing an item in a list with errors)
562
854
 
@@ -584,7 +876,6 @@ and your `angular.json` (/projects/{nom-du-projet}/architect/build/options/style
584
876
  ### Fixed
585
877
 
586
878
  - [foehn-input-address.component.ts](projects/prestations-ng/src/foehn-address/foehn-input-address.component.ts)
587
-
588
879
  - Fixed component being disabled when `isOnlySwiss` is `true` and model is `null` (beside component initialization)
589
880
 
590
881
  ## [16.4.12]
@@ -592,13 +883,11 @@ and your `angular.json` (/projects/{nom-du-projet}/architect/build/options/style
592
883
  ### Fixed
593
884
 
594
885
  - [foehn-autocomplete.component.html](projects/prestations-ng/src/foehn-autocomplete/foehn-autocomplete.component.html)
595
-
596
886
  - now displays item label on multiple lines when text is too long (vertical scroll bar will be shown as a side effect).
597
887
 
598
888
  ### Updated
599
889
 
600
890
  - [gesdem-error-handler.service.ts](projects/prestations-ng/src/gesdem/gesdem-error-handler.service.ts)
601
-
602
891
  - now opens redirect modal to cyberLogin when authentification is required **(only with prestations-be 16.4.10)**
603
892
 
604
893
  - [multi-upload.service.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/multi-upload.service.ts)
@@ -609,7 +898,6 @@ and your `angular.json` (/projects/{nom-du-projet}/architect/build/options/style
609
898
  ### Added
610
899
 
611
900
  - [sdk-events-logger.service.ts](projects/prestations-ng/src/sdk-events-logger/sdk-events-logger.service.ts)
612
-
613
901
  - a service that logs different events done by the user
614
902
  - you can listen to these events by subscribing to `SdkEventsLoggerService.events(): Observable<SdkEvent>`
615
903
  - i.e. you may want to report some of these events to matomo
@@ -626,7 +914,6 @@ and your `angular.json` (/projects/{nom-du-projet}/architect/build/options/style
626
914
  - TRANSMIT : user has requested the form to be transmitted
627
915
 
628
916
  - [gesdem-handler.service.ts](projects/prestations-ng/src/gesdem/gesdem-handler.service.ts)
629
-
630
917
  - added `byPassEmitResponse?: boolean` optional parameter to `require` function.
631
918
  - When set to `true`, does not call `emitResponse`.
632
919
  - 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.
@@ -636,7 +923,6 @@ and your `angular.json` (/projects/{nom-du-projet}/architect/build/options/style
636
923
  - added `static isDifferent(value1: unknown, value2: unknown, skipFunctionType: boolean = true): boolean`
637
924
  -
638
925
  - [demande.helper.ts](projects/prestations-ng/src/helpers/demande.helper.ts)
639
-
640
926
  - added `static getSafeReference(reference: string): string` (returns the reference if the format is valid otherwise returns null)
641
927
 
642
928
  - [interval.helper.ts](projects/prestations-ng/src/foehn-page/foehn-page-expiration-timer/interval.helper.ts)
@@ -648,19 +934,15 @@ and your `angular.json` (/projects/{nom-du-projet}/architect/build/options/style
648
934
  ### Fixed
649
935
 
650
936
  - [gesdem-loader.guard](projects/prestations-ng/src/gesdem/gesdem-loader.guard.ts)
651
-
652
937
  - now bypassing last response emit when calling `require` on Gesdem
653
938
 
654
939
  - [demande-transmit-interceptor.ts](projects/prestations-ng/src/foehn-page/foehn-transmit-waiting-modal/demande-transmit-interceptor.ts)
655
-
656
940
  - hide `foehn-transmit-waiting-modal` on any http error
657
941
 
658
942
  - [foehn-debug-summary.component.ts](projects/prestations-ng/src/foehn-debug-summary/foehn-debug-summary.component.ts)
659
-
660
943
  - do not display reference if not in the correct format
661
944
 
662
945
  - [foehn-input-address.component.ts](projects/prestations-ng/src/foehn-address/foehn-input-address.component.ts)
663
-
664
946
  - when `isOnlySwiss` is `true` and address is empty (all attributes excepted `country` are empty), component returns `null`.
665
947
 
666
948
  - [foehn-input-prefixed-text.component.html](projects/prestations-ng/src/foehn-input/foehn-input-prefixed-text.component.html)
@@ -668,12 +950,10 @@ and your `angular.json` (/projects/{nom-du-projet}/architect/build/options/style
668
950
  - [foehn-input-date-time.component.html](projects/prestations-ng/src/foehn-input-date-time/foehn-input-date-time.component.html)
669
951
  - [foehn-input-time.component.html](projects/prestations-ng/src/foehn-input-time/foehn-input-time.component.html)
670
952
  - [foehn-input-nav13.component.html](projects/prestations-ng/src/foehn-nav13/foehn-input-nav13.component.html)
671
-
672
953
  - fixed margin bottom so vertical red error bar does not merge with following component in error
673
954
 
674
955
  - [foehn-bo-multi-upload.component.html](projects/prestations-ng/src/foehn-upload/foehn-bo-multi-upload/foehn-bo-multi-upload.component.html)
675
956
  - [foehn-multi-upload.component.html](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.html)
676
-
677
957
  - use `disabled` attribute in template
678
958
 
679
959
  - [foehn-page.component.ts](projects/prestations-ng/src/foehn-page/foehn-page.component.ts)
@@ -684,11 +964,9 @@ and your `angular.json` (/projects/{nom-du-projet}/architect/build/options/style
684
964
  ### Updated
685
965
 
686
966
  - [foehn-remaining-alerts-summary.component.html](projects/prestations-ng/src/foehn-remaining-alerts-summary/foehn-remaining-alerts-summary.component.html)
687
-
688
967
  - updated error message
689
968
 
690
969
  - [foehn-list-summary.component.ts](projects/prestations-ng/src/foehn-menu-prestation/foehn-list-summary/foehn-list-summary.component.ts)
691
-
692
970
  - `@Input() list` and `@Input() listItemDescriptions` now check if data has changed before updating the DOM
693
971
 
694
972
  - [foehn-remaining-alerts-summary.component.html](projects/prestations-ng/src/foehn-recap-section/foehn-recap-section.component.html)
@@ -699,16 +977,13 @@ and your `angular.json` (/projects/{nom-du-projet}/architect/build/options/style
699
977
  ### Added
700
978
 
701
979
  - [recaptcha.service.ts](projects/prestations-ng/src/sdk-recaptcha/recaptcha.service.ts)
702
-
703
980
  - added `CAPTCHA_URL_TOKEN = new InjectionToken<string>` to be able to configure the captcha script url
704
981
 
705
982
  - [foehn-transmit-waiting-modal.component.ts](projects/prestations-ng/src/foehn-page/foehn-transmit-waiting-modal/foehn-transmit-waiting-modal.component.ts)
706
983
  - [foehn-transmit-waiting-modal.component.html](projects/prestations-ng/src/foehn-page/foehn-transmit-waiting-modal/foehn-transmit-waiting-modal.component.html)
707
-
708
984
  - added a modal to transmit action so users know something is actually being processed
709
985
 
710
986
  - New dictionary keys:
711
-
712
987
  - `foehn-transmit-waiting-modal.title` is the modal displayed title
713
988
  - `foehn-transmit-waiting-modal.message` is the main modal message
714
989
  - `foehn-transmit-waiting-modal.help` is a help message displayed underneath undetermined progressbar
@@ -722,27 +997,22 @@ and your `angular.json` (/projects/{nom-du-projet}/architect/build/options/style
722
997
  ### Added
723
998
 
724
999
  - [foehn-input.component.ts](projects/prestations-ng/src/foehn-input/foehn-input.component.ts)
725
-
726
1000
  - added `@Input() standardHelpText` to set the standard help text of the input mail
727
1001
 
728
1002
  ### Fixed
729
1003
 
730
1004
  - [foehn-autocomplete.component.ts](projects/prestations-ng/src/foehn-autocomplete/foehn-autocomplete.component.ts)
731
-
732
1005
  - now escaping regex characters in search value
733
1006
 
734
1007
  - [foehn-radio.component.html](projects/prestations-ng/src/foehn-checkables/foehn-radio.component.html)
735
1008
  - [foehn-boolean-radio.component.html](projects/prestations-ng/src/foehn-boolean/foehn-boolean-radio.component.html)
736
-
737
1009
  - fixed `[attr.name]` and `[name]` for native keyboard navigation
738
1010
 
739
1011
  - [foehn-list-summary.component.ts](projects/prestations-ng/src/foehn-menu-prestation/foehn-list-summary/foehn-list-summary.component.ts)
740
1012
  - [foehn-table.component.ts](projects/prestations-ng/src/foehn-table/foehn-table.component.ts)
741
-
742
1013
  - fixed tracking functions
743
1014
 
744
1015
  - [foehn-input-email.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-email.component.ts)
745
-
746
1016
  - fixed 'helpText' to 'standardHelpText'
747
1017
 
748
1018
  - [default-dictionary.ts](projects/prestations-ng/src/sdk-dictionary/default-dictionary.ts)
@@ -755,7 +1025,6 @@ and your `angular.json` (/projects/{nom-du-projet}/architect/build/options/style
755
1025
  - New [form control testing](https://dsi-vd.github.io/prestations-ng/form-control) page
756
1026
 
757
1027
  - [foehn-input-email.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-email.component.ts)
758
-
759
1028
  - added a default helpText for email input
760
1029
 
761
1030
  - New dictionary keys:
@@ -764,19 +1033,16 @@ and your `angular.json` (/projects/{nom-du-projet}/architect/build/options/style
764
1033
  ### Fixed
765
1034
 
766
1035
  - [foehn-input.component.ts](projects/prestations-ng/src/foehn-input/foehn-input.component.ts)
767
-
768
1036
  - fixed `markAsDirty()` not been called when clearing input
769
1037
 
770
1038
  - [foehn-input-date.component.ts](projects/prestations-ng/src/foehn-input-date/foehn-input-date.component.ts)
771
1039
  - [foehn-input-date-time.component.ts](projects/prestations-ng/src/foehn-input-date-time/foehn-input-date-time.component.ts)
772
1040
  - [foehn-input-time.component.ts](projects/prestations-ng/src/foehn-input-time/foehn-input-time.component.ts)
773
-
774
1041
  - fixed `markAsDirty()` not been called when clearing all inputs
775
1042
 
776
1043
  - [foehn-bo-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-bo-multi-upload/foehn-bo-multi-upload.component.ts)
777
1044
  - [foehn-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.ts)
778
1045
  - [foehn-multiselect-autocomplete.component.ts](projects/prestations-ng/src/foehn-multiselect-autocomplete/foehn-multiselect-autocomplete.component.ts)
779
-
780
1046
  - fixed `markAsDirty()` not been called when deleting an item
781
1047
 
782
1048
  ### Updated
@@ -790,12 +1056,10 @@ and your `angular.json` (/projects/{nom-du-projet}/architect/build/options/style
790
1056
  ### Added
791
1057
 
792
1058
  - [page-upload-limit.service.ts](projects/prestations-ng/src/foehn-upload/page-upload-limit.service.ts)
793
-
794
1059
  - 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)
795
1060
  - limits can be set using `setPageMaxFilesCount(countLimit: number)` (default : null) and/or `setPageMaxFilesSizeInMo(maxSizeInMo: number)` (default : null)
796
1061
 
797
1062
  - [foehn-input-address.component.html](projects/prestations-ng/src/foehn-address/foehn-input-address.component.html)
798
-
799
1063
  - exposed `hideNotRequiredExtraLabelStreetNumber` (default to `true`) to make street number label 'required' suffix hidden or not.
800
1064
 
801
1065
  ## [16.4.5]
@@ -803,17 +1067,14 @@ and your `angular.json` (/projects/{nom-du-projet}/architect/build/options/style
803
1067
  ### Added
804
1068
 
805
1069
  - [foehn-input.component.ts](projects/prestations-ng/src/foehn-input/foehn-input.component.ts)
806
-
807
1070
  - added `@Input() updateModelWhenDisabled = false;`. When set to `true` allows double-binding even when input is disabled
808
1071
 
809
1072
  ### Fixed
810
1073
 
811
1074
  - [foehn-input-textarea.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-textarea.component.ts)
812
-
813
1075
  - input displayed value not being updated properly when input `model` is set dynamically to `NULL`
814
1076
 
815
1077
  - [gesdem-action-recovery-login.component.ts](projects/prestations-ng/src/gesdem-action-recovery/gesdem-action-recovery-login)
816
-
817
1078
  - fixed redirection on action recovery login success on a multi-prestation
818
1079
 
819
1080
  ## [16.4.4]
@@ -821,11 +1082,9 @@ and your `angular.json` (/projects/{nom-du-projet}/architect/build/options/style
821
1082
  ### Fixed
822
1083
 
823
1084
  - [foehn-input-address.component.html](projects/prestations-ng/src/foehn-address/foehn-input-address.component.html)
824
-
825
1085
  - always set hideNotRequiredExtraLabel to true
826
1086
 
827
1087
  - [foehn-input.component.ts](projects/prestations-ng/src/foehn-input/foehn-input.component.ts)
828
-
829
1088
  - fixed focus for component containing foehnInput subcomponents
830
1089
 
831
1090
  - [foehn-input-prefixed-text.component.html](projects/prestations-ng/src/foehn-input/foehn-input-prefixed-text.component.html)
@@ -833,24 +1092,19 @@ and your `angular.json` (/projects/{nom-du-projet}/architect/build/options/style
833
1092
  - [foehn-input-date.component.html](projects/prestations-ng/src/foehn-input-date/foehn-input-date.component.html)
834
1093
  - [foehn-input-time.component.html](projects/prestations-ng/src/foehn-input-time/foehn-input-time.component.html)
835
1094
  - [foehn-input-nav13.component.html](projects/prestations-ng/src/foehn-nav13/foehn-input-nav13.component.html)
836
-
837
1095
  - fixed margin bottom being to big due to component having subcomponents
838
1096
 
839
1097
  - [foehn-input-date-time.component.ts](projects/prestations-ng/src/foehn-input-date-time/foehn-input-date-time.component.ts)
840
-
841
1098
  - fixed model not being updated properly when clearing model
842
1099
  - fixed clearing model not taking into account disabled fields
843
1100
 
844
1101
  - [foehn-input-date-time.component.html](projects/prestations-ng/src/foehn-input-date-time/foehn-input-date-time.component.html)
845
-
846
1102
  - fixed clear button visibility not taking into account disabled fields
847
1103
 
848
1104
  - [abstract-page-component.ts](projects/prestations-ng/src/abstract-page-component.ts)
849
-
850
1105
  - set default language in form when creating the form (calling newForm())
851
1106
 
852
1107
  - [foehn-input-prefixed-text.component.html](projects/prestations-ng/src/foehn-input/foehn-input-prefixed-text.component.html)
853
-
854
1108
  - fixed a bug where a custom prefix would crash the component if the custom prefix contains the default prefix
855
1109
 
856
1110
  ### Added
@@ -887,13 +1141,11 @@ and your `angular.json` (/projects/{nom-du-projet}/architect/build/options/style
887
1141
 
888
1142
  - [foehn-page-expiration-timer.component.ts](projects/prestations-ng/src/foehn-page/foehn-page-expiration-timer/foehn-page-expiration-timer.component.ts)
889
1143
  - [foehn-page-expiration-timer.component.html](projects/prestations-ng/src/foehn-page/foehn-page-expiration-timer/foehn-page-expiration-timer.component.html)
890
-
891
1144
  - added a timer message to alert user of session expiration
892
1145
  - `session-token.session-time-to-live-in-minutes` can be overridden in back-end properties
893
1146
  - `session-token.message-delay-in-minutes` can be overridden in back-end properties
894
1147
 
895
1148
  - New dictionary keys:
896
-
897
1149
  - `foehn-page-expiration-timer.count-down-message` is the message displayed when timer is running
898
1150
  - `foehn-page-expiration-timer.count-down-message.sr-only` same as above but for screen reader
899
1151
  - `foehn-page-expiration-timer.expired-message` is the message displayed when session has expired
@@ -901,13 +1153,11 @@ and your `angular.json` (/projects/{nom-du-projet}/architect/build/options/style
901
1153
 
902
1154
  - [foehn-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.ts)
903
1155
  - [foehn-bo-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-bo-multi-upload/foehn-bo-multi-upload.component.ts)
904
-
905
1156
  - added `@Input() maxFilesCount;`
906
1157
  - prevents global upload of more than `maxFilesCount` files and displays an alert from default-dictionary.ts (`foehn-uploader.max-files-count-reached`)
907
1158
 
908
1159
  - [foehn-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.ts)
909
1160
  - [foehn-bo-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-bo-multi-upload/foehn-bo-multi-upload.component.ts)
910
-
911
1161
  - added `@Input() maxFilesSizeInMo;`
912
1162
  - prevents global upload of more than `maxFilesSizeInMo` Mo and displays an alert from default-dictionary.ts (`foehn-uploader.max-files-size-reached`)
913
1163
 
@@ -918,28 +1168,23 @@ and your `angular.json` (/projects/{nom-du-projet}/architect/build/options/style
918
1168
  ### Updated
919
1169
 
920
1170
  - [foehn-page.component.html](projects/prestations-ng/src/foehn-page/foehn-page-expiration-timer/foehn-page-expiration-timer.component.html)
921
-
922
1171
  - updated `foehn-page` to add session expiration timer message
923
1172
 
924
1173
  - [gesdem-action-recovery-registration.component.ts](projects/prestations-ng/src/gesdem-action-recovery/gesdem-action-recovery-registration/gesdem-action-recovery-registration.component.ts)
925
-
926
1174
  - updated recovery registration modal to inform the user of its current registration
927
1175
  - added `@Input() triggerOnPageChange = false`
928
1176
 
929
1177
  - [foehn-simple-navigation.component.ts](projects/prestations-ng/src/foehn-navigation/foehn-navigation/foehn-navigation.component.ts)
930
1178
  - [foehn-simple-navigation.component.ts](projects/prestations-ng/src/foehn-navigation/foehn-simple-navigation/foehn-simple-navigation.component.ts)
931
-
932
1179
  - added `@Input() triggerRecoveryOnPageChange = false` to set `triggerOnPageChange` to its `<gesdem-action-recovery-registration>'
933
1180
 
934
1181
  - [ApplicationInfo](projects/prestations-ng/src/sdk-appinfo/application-info.ts)
935
-
936
1182
  - added fields to `ApplicationInfo.EtapeInfo` :
937
1183
  - `lienAcces : string` link to the FO's base url as defined in Catprest
938
1184
  - `Integer draftDemRetentionDaysPublic : number` conservation duration of draft demands when not connected (in days)
939
1185
  - `Integer draftDemRetentionDaysConnected : number` conservation duration of draft demands when connected (in days)
940
1186
 
941
1187
  - [I18NForm](projects/prestations-ng/src/i18n-form.ts)
942
-
943
1188
  - added field `referenceInterne = ''`, since the reference interne can now be set via action recovery, it has to be kept in sync with the form
944
1189
  - you can use this field to request the user for a reference interne.
945
1190
 
@@ -949,7 +1194,6 @@ and your `angular.json` (/projects/{nom-du-projet}/architect/build/options/style
949
1194
  ### Fixed
950
1195
 
951
1196
  - [pattern.const](projects/prestations-ng/src/foehn-input/pattern.const.ts)
952
-
953
1197
  - fixed `HTML_PHONE_PATTERN` not escaping parenthesis
954
1198
 
955
1199
  ## [16.3.0] - must be aligned with prestations-be
@@ -957,16 +1201,13 @@ and your `angular.json` (/projects/{nom-du-projet}/architect/build/options/style
957
1201
  ### Added
958
1202
 
959
1203
  - [foehn-icon-pencil.component.ts](projects/prestations-ng/src/foehn-icons/foehn-icon-pencil.component.ts)
960
-
961
1204
  - New icon `foehn-icon-pencil` available
962
1205
 
963
1206
  - [drafts-container.component.ts](projects/prestations-ng/src/sdk-drafts/drafts-container.component.ts)
964
-
965
1207
  - A new component integrated in the `foehn-page` that show existing draft demands for a connected user
966
1208
  - disabled for now, can be enabled by setting `[draftsEnabled]="true"` to the foehn-page
967
1209
 
968
1210
  - [foehn-input-number](projects/prestations-ng/src/foehn-input/foehn-input-number.component.ts)
969
-
970
1211
  - add `@Input() allowLeadingZero = false` to specify if we allow leading `0` such as NAVS13 numbers
971
1212
 
972
1213
  - add prestations-be documentation
@@ -980,11 +1221,9 @@ and your `angular.json` (/projects/{nom-du-projet}/architect/build/options/style
980
1221
  - remove level "Accéder aux prestations" when user is connected
981
1222
 
982
1223
  - [foehn-input-number](projects/prestations-ng/src/foehn-input/foehn-input-number.component.ts)
983
-
984
1224
  - removes leading `0` when `allowFreeInput` is set to `false` such as `01` or `-01`
985
1225
 
986
1226
  - [gesdem-handler.service.ts](projects/prestations-ng/src/gesdem/gesdem-handler.service.ts)
987
-
988
1227
  - updates save confirmation message when user is connected
989
1228
 
990
1229
  - [gesdem-action-recovery-login.component.ts](projects/prestations-ng/src/gesdem-action-recovery/gesdem-action-recovery-login)
@@ -993,7 +1232,6 @@ and your `angular.json` (/projects/{nom-du-projet}/architect/build/options/style
993
1232
  ### Fixed
994
1233
 
995
1234
  - [foehn-input-string](projects/prestations-ng/src/foehn-input/foehn-input-string.component.ts)
996
-
997
1235
  - replaces one or multiple consecutive tabulations with one white space on blur
998
1236
  - all `foehn-input-*` components extending `foehn-input-string` component will be fixed (i.e. text, textarea, email, phone...)
999
1237
 
@@ -1005,7 +1243,6 @@ and your `angular.json` (/projects/{nom-du-projet}/architect/build/options/style
1005
1243
  ### Added
1006
1244
 
1007
1245
  - [foehn-recap-section](projects/prestations-ng/src/foehn-recap-section/foehn-recap-section.type.ts)
1008
-
1009
1246
  - add `titleLevel?: 'h2' | 'h3' | 'h4' | 'h5' | 'h6'` to specify the title level
1010
1247
 
1011
1248
  - [default-dictionary.ts](projects/prestations-ng/src/sdk-dictionary/default-dictionary.ts)
@@ -1026,7 +1263,6 @@ and your `angular.json` (/projects/{nom-du-projet}/architect/build/options/style
1026
1263
  ### Changed
1027
1264
 
1028
1265
  - [foehn-recap-section](projects/prestations-ng/src/foehn-recap-section/foehn-recap-section.component.html)
1029
-
1030
1266
  - manages specified title level
1031
1267
 
1032
1268
  - [foehn-header](projects/prestations-ng/src/foehn-header/foehn-header.component.ts)
@@ -1043,7 +1279,6 @@ and your `angular.json` (/projects/{nom-du-projet}/architect/build/options/style
1043
1279
  ### Removed
1044
1280
 
1045
1281
  - [foehn-page.component.ts](projects/prestations-ng/src/foehn-page/foehn-page.component.ts)
1046
-
1047
1282
  - removed `showSecuredAreaLoginButton` (now driven by catprest `deployeCyber` attribute)
1048
1283
  - removed info alert that engaged the user to connect with it's MIE
1049
1284
 
@@ -1059,12 +1294,10 @@ and your `angular.json` (/projects/{nom-du-projet}/architect/build/options/style
1059
1294
  ### Added
1060
1295
 
1061
1296
  - [Locality](projects/prestations-ng/src/foehn-address/address.type.ts)
1062
-
1063
1297
  - added field `municipalityId: number`
1064
1298
  - added field `cantonCode: string`
1065
1299
 
1066
1300
  - [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)
1067
-
1068
1301
  - added `@Ouput() clickedWithRemainingErrors = new EventEmitter<number>();` to be able to react to a click on the button when the form still has errors
1069
1302
 
1070
1303
  - [default-dictionary.ts](projects/prestations-ng/src/sdk-dictionary/default-dictionary.ts)
@@ -1086,15 +1319,12 @@ and your `angular.json` (/projects/{nom-du-projet}/architect/build/options/style
1086
1319
 
1087
1320
  - [multi-upload.service.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/multi-upload.service.ts)
1088
1321
  - [bo-multi-upload.service.ts](projects/prestations-ng/src/foehn-upload/foehn-bo-multi-upload/bo-multi-upload.service.ts)
1089
-
1090
1322
  - multiple document uploads are now done by packages of 3 files maximum
1091
1323
 
1092
1324
  - [upload-progress.service.ts](projects/prestations-ng/src/foehn-upload/foehn-upload-progress-bar/upload-progress.service.ts)
1093
-
1094
1325
  - Function `manageUploadEventFilter` has two more parameters `packageIndex: number` (default: 0) and `nbPackages: number` (default: 1)
1095
1326
 
1096
1327
  - [foehn-upload-progress-bar.component.html](projects/prestations-ng/src/foehn-upload/foehn-upload-progress-bar/foehn-upload-progress-bar.component.html)
1097
-
1098
1328
  - Upload and analysis messages have been updated to take into account packages upload
1099
1329
 
1100
1330
  - [gesdem-action-recovery-registration.component.ts](projects/prestations-ng/src/gesdem-action-recovery/gesdem-action-recovery-registration/gesdem-action-recovery-registration.component.ts)
@@ -1128,7 +1358,6 @@ and your `angular.json` (/projects/{nom-du-projet}/architect/build/options/style
1128
1358
 
1129
1359
  - [foehn-page.component.html](projects/prestations-ng/src/foehn-page/foehn-page.component.html)
1130
1360
  - [foehn-page.component.ts](projects/prestations-ng/src/foehn-page/foehn-page.component.ts)
1131
-
1132
1361
  - added `@Input() routerLinkAppTitle: string` to give to `foehn-header-component`.
1133
1362
 
1134
1363
  - [foehn-header.component.html](projects/prestations-ng/src/foehn-header/foehn-header.component.html)
@@ -1142,7 +1371,6 @@ and your `angular.json` (/projects/{nom-du-projet}/architect/build/options/style
1142
1371
 
1143
1372
  - [foehn-page.component.html](projects/prestations-ng/src/foehn-page/foehn-page.component.html)
1144
1373
  - [foehn-page.component.ts](projects/prestations-ng/src/foehn-page/foehn-page.component.ts)
1145
-
1146
1374
  - added `@Input() showSecuredAreaLoginButton = false;` to display secured area login button in header
1147
1375
 
1148
1376
  - [foehn-header.component.html](projects/prestations-ng/src/foehn-header/foehn-header.component.html)
@@ -1202,25 +1430,20 @@ and your `angular.json` (/projects/{nom-du-projet}/architect/build/options/style
1202
1430
  - [UPGRADING_V16](UPGRADING_V16.md)
1203
1431
  - Added migration guide
1204
1432
  - [FoehnRecapSectionElement](projects/prestations-ng/src/foehn-recap-section/foehn-recap-section.component.ts)
1205
-
1206
1433
  - added field `isComment: boolean`, used to display comments without a label below the other elements of the section
1207
1434
 
1208
1435
  - [foehn-simple-navigation.component.html](projects/prestations-ng/src/foehn-navigation/foehn-simple-navigation/foehn-simple-navigation.component.html)
1209
-
1210
1436
  - added simple navigation bar, used in list detail pages because the foehn-navigation does not properly fit in this type of pages
1211
1437
 
1212
1438
  - [foehn-form.component.html](projects/prestations-ng/src/foehn-form/foehn-form.component.html)
1213
-
1214
1439
  - added accessibility on form (`aria-live="polite"` and `aria-atomic="false"`)
1215
1440
 
1216
1441
  - [foehn-dropdown-menu](projects/prestations-ng/src/foehn-dropdown-menu/foehn-dropdown-menu.component.ts)
1217
-
1218
1442
  - added a dropdown menu or group menu component
1219
1443
 
1220
1444
  - New [dropdown menu documentation](https://dsi-vd.github.io/prestations-ng/dropdown-menu) page
1221
1445
 
1222
1446
  - [foehn-dropdown-menu](projects/prestations-ng/src/foehn-dropdown-menu/foehn-dropdown-menu.component.ts)
1223
-
1224
1447
  - `@Input() id: string` used to identify dropdown-menu
1225
1448
  - `@Input() model: DropdownMenuGroup[]` used to display dropdown-menu
1226
1449
  - `@Input() btnCssClass = 'btn-secondary'` used to define the CSS class of the dropdown menu button, by default is a secondary button
@@ -1232,14 +1455,12 @@ and your `angular.json` (/projects/{nom-du-projet}/architect/build/options/style
1232
1455
  ### Updated
1233
1456
 
1234
1457
  - [foehn-multiselect-autocomplete](projects/prestations-ng/src/foehn-multiselect-autocomplete/foehn-multiselect-autocomplete.component.ts)
1235
-
1236
1458
  - added a `<legend>` to describe the selected items
1237
1459
  - defaults to `foehn-multiselect-autocomplete.selected-items-list-legend` from `default-dictionary.ts`
1238
- - can be overriden on each component with `@Input() selectedItemsListLegend`
1460
+ - can be overridden on each component with `@Input() selectedItemsListLegend`
1239
1461
  - selected pills now have the color `primary` instead of `danger`
1240
1462
 
1241
1463
  - [gesdem-confirmation.component.ts](projects/prestations-ng/src/gesdem-confirmation/gesdem-confirmation.component.ts)
1242
-
1243
1464
  - allow to override button "Se déconnecter" (label + link) (when user is connected)
1244
1465
  - via `@Input() closeButtonConnectedText` + `@Input() closeHrefConnected`
1245
1466
  - via route data : `closeButtonConnectedText` + `closeHrefConnected`
@@ -1247,12 +1468,10 @@ and your `angular.json` (/projects/{nom-du-projet}/architect/build/options/style
1247
1468
  - default value for link is `/100018/logout`
1248
1469
 
1249
1470
  - [demo-accessibility-page.component.html](src/app/demo-accessibility-page/demo-accessibility-page.component.html)
1250
-
1251
1471
  - updated accessibility page to include dropdown menu
1252
1472
 
1253
1473
  - [foehn-header.component.html](projects/prestations-ng/src/foehn-header/foehn-header.component.html)
1254
1474
  - [foehn-header.component.ts](projects/prestations-ng/src/foehn-header/foehn-header.component.ts)
1255
-
1256
1475
  - updated header to include new dropdown menu
1257
1476
 
1258
1477
  - [gesdem-handler.service.ts](projects/prestations-ng/src/gesdem/gesdem-handler.service.ts)
@@ -1265,11 +1484,9 @@ and your `angular.json` (/projects/{nom-du-projet}/architect/build/options/style
1265
1484
  - [abstract-foehn-uploader.component.ts](projects/prestations-ng/src/foehn-upload/abstract-foehn-uploader.component.ts)
1266
1485
  - [foehn-bo-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-bo-multi-upload/foehn-bo-multi-upload.component.ts)
1267
1486
  - [foehn-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.ts)
1268
-
1269
1487
  - removed `@Input() overrideMaxSizeInMo`. Now managed by the backend (see `DocumentProperties.fileMaxSizeByFormKey`)
1270
1488
 
1271
1489
  - [foehn-table-column-configuration.ts](projects/prestations-ng/src/foehn-table/foehn-table-column-configuration.ts)
1272
-
1273
1490
  - removed `routerLinkGetter` attribute
1274
1491
 
1275
1492
  - [gesdem-loader.guard](projects/prestations-ng/src/gesdem/gesdem-loader.guard.ts)
@@ -1298,7 +1515,6 @@ and your `angular.json` (/projects/{nom-du-projet}/architect/build/options/style
1298
1515
  ### Fixed
1299
1516
 
1300
1517
  - [foehn-input-time.ts](projects/prestations-ng/src/foehn-input-time/foehn-input-time.component.ts)
1301
-
1302
1518
  - fixed model not being updated properly
1303
1519
 
1304
1520
  - [foehn-input-prefixed-text.ts](projects/prestations-ng/src/foehn-input/foehn-input-prefixed-text.component.ts)
@@ -1313,7 +1529,6 @@ and your `angular.json` (/projects/{nom-du-projet}/architect/build/options/style
1313
1529
  ### Added
1314
1530
 
1315
1531
  - [foehn-input-prefixed-text.ts](projects/prestations-ng/src/foehn-input/foehn-input-prefixed-text.component.ts)
1316
-
1317
1532
  - new text input to request a text with a read-only prefix
1318
1533
  - `@Input prefix: string` : the read-only prefix
1319
1534
  - `@Input() prefixColClass = 'col-md-4'` : the class applied to the foehn-input-text of the prefix part
@@ -1385,7 +1600,6 @@ and your `angular.json` (/projects/{nom-du-projet}/architect/build/options/style
1385
1600
  ### Added
1386
1601
 
1387
1602
  - [foehn-bo-multi-upload.component.html](projects/prestations-ng/src/foehn-upload/foehn-bo-multi-upload/foehn-bo-multi-upload.component.html)
1388
-
1389
1603
  - Added `<foehn-upload-progress-bar></foehn-upload-progress-bar>`
1390
1604
 
1391
1605
  - [foehn-status-progress-bar.component.ts](projects/prestations-ng/src/foehn-status-progress-bar/foehn-status-progress-bar.component.ts)
@@ -1401,11 +1615,9 @@ data: {
1401
1615
  ### Fixed
1402
1616
 
1403
1617
  - [foehn-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.ts)
1404
-
1405
1618
  - Now provides `MultiUploadService` and `UploadProgressService` to avoid using a singleton
1406
1619
 
1407
1620
  - [foehn-bo-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-bo-multi-upload/foehn-bo-multi-upload.component.ts)
1408
-
1409
1621
  - Now provides `BoMultiUploadService` and `UploadProgressService` to avoid using a singleton
1410
1622
 
1411
1623
  - [foehn-input-date-time.component.ts](projects/prestations-ng/src/foehn-input-date-time/foehn-input-date-time.component.ts)
@@ -1431,7 +1643,6 @@ data: {
1431
1643
  ### Fixed
1432
1644
 
1433
1645
  - [foehn-input-address.components.ts](projects/prestations-ng/src/foehn-address/foehn-input-address.component.ts)
1434
-
1435
1646
  - Fixed errors not being displayed when switching countries (Suisse -> France)
1436
1647
 
1437
1648
  - [foehn-form.components.ts](projects/prestations-ng/src/foehn-form/foehn-form.component.ts)
@@ -1443,7 +1654,6 @@ data: {
1443
1654
  ### Added
1444
1655
 
1445
1656
  - [foehn-boolean-radio.component.ts](projects/prestations-ng/src/foehn-boolean/foehn-boolean-radio.component.ts)
1446
-
1447
1657
  - Added `@Input() verticalDisplay = false`
1448
1658
 
1449
1659
  - [foehn-input-date-time.components.ts](projects/prestations-ng/src/foehn-input-date-time/foehn-input-date-time.component.ts)
@@ -1457,7 +1667,6 @@ data: {
1457
1667
  ### Updated
1458
1668
 
1459
1669
  - [foehn-input.component.ts](projects/prestations-ng/src/foehn-input/foehn-input.component.ts)
1460
-
1461
1670
  - No double-binding when component is disabled
1462
1671
  - No userInput event dispatch when component is disabled
1463
1672
 
@@ -1475,11 +1684,9 @@ data: {
1475
1684
  ### Added
1476
1685
 
1477
1686
  - [global.const.ts](projects/prestations-ng/src/global.const.ts)
1478
-
1479
1687
  - 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)']`.
1480
1688
 
1481
1689
  - [foehn-upload-progress-bar.component.ts](projects/prestations-ng/src/foehn-upload/foehn-upload-progress-bar/foehn-upload-progress-bar.component.ts)
1482
-
1483
1690
  - See [documentation](upload#foehn_upload_progress_bar)
1484
1691
  - Added a progress bar displaying upload progress and indeterminated document analysis
1485
1692
 
@@ -1577,7 +1784,6 @@ data: {
1577
1784
  ### Updated
1578
1785
 
1579
1786
  - [upload.helper.ts](projects/prestations-ng/src/foehn-upload/uploader.helper.ts)
1580
-
1581
1787
  - manage new error code from prestations-be : `IMAGE_NOT_READABLE` (dico key : `errors.IMAGE_NOT_READABLE`)
1582
1788
 
1583
1789
  - [default-dictionary.ts](projects/prestations-ng/src/sdk-dictionary/default-dictionary.ts)
@@ -1593,7 +1799,6 @@ data: {
1593
1799
  ### Updated
1594
1800
 
1595
1801
  - [foehn-input-number.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-number.component.ts)
1596
-
1597
1802
  - As in the other components, we don't want to force the user input, when `[allowFreeInput]="false"` (which is the default) :
1598
1803
  - It is still done for :
1599
1804
  - `maxlength` (to avoid a number overflow in the backend)
@@ -1609,14 +1814,12 @@ data: {
1609
1814
  - `allowDecimal` and `allowNegative` when needed
1610
1815
 
1611
1816
  - [foehn-input.component.ts](projects/prestations-ng/src/foehn-input/foehn-input.component.ts)
1612
-
1613
1817
  - removed `@Input() showHelpModal = false` show an help-modal related to an foehn-input
1614
1818
  - removed `@Input() helpModalTitle: string` The title of the modal
1615
1819
  - removed `@Input() helpModalContent: string` The content of the modal
1616
1820
  - replaced by `@Input() helpModal: HelpModal`
1617
1821
 
1618
1822
  - [HelpModal](projects/prestations-ng/src/foehn-help-modal/foehn-help-modal.type.ts)
1619
-
1620
1823
  - add value `modalSize?: string` to configure the size of the foehn-help-modal (defaults to `modal-lg`)
1621
1824
 
1622
1825
  - [Image](projects/prestations-ng/src/foehn-help-modal/foehn-help-modal.type.ts)
@@ -1626,11 +1829,9 @@ data: {
1626
1829
  ### Fixed
1627
1830
 
1628
1831
  - [foehn-input-textarea.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-textarea.component.ts)
1629
-
1630
1832
  - CSS color of remaining chars not being changed when input is reset
1631
1833
 
1632
1834
  - [foehn-boolean-checkbox.component.html](projects/prestations-ng/src/foehn-boolean/foehn-boolean-checkbox.component.html)
1633
-
1634
1835
  - handle `isLabelSrOnly` input
1635
1836
 
1636
1837
  - [foehn-picture-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-picture-upload/foehn-picture-upload.component.ts)
@@ -1649,7 +1850,6 @@ data: {
1649
1850
  - add `@Input() helpModalTitle: string` The title of the modal
1650
1851
  - add `@Input() helpModalContent: string` The content of the modal
1651
1852
  - [foehn-input-email.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-email.component.ts)
1652
-
1653
1853
  - add default help-modal in order to help user if email considered as not valid
1654
1854
 
1655
1855
  - [foehn-checkable-group.component.ts](projects/prestations-ng/src/foehn-checkables/foehn-checkable-group.component.ts)
@@ -1672,7 +1872,6 @@ data: {
1672
1872
  ### Fixed
1673
1873
 
1674
1874
  - [foehn-input-textarea.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-textarea.component.ts)
1675
-
1676
1875
  - add function `getCharCountLabel` that return the plural or singular form of the label accordingly (one dictionary key for plural and another one for singular)
1677
1876
  - add default label for remaining characters in [default-dictionary.ts](projects/prestations-ng/src/sdk-dictionary/default-dictionary.ts)
1678
1877
  - `'foehn-textarea.chars-remaining.plural': '{charCountLeft} caractères restants'`
@@ -1681,14 +1880,12 @@ data: {
1681
1880
  - `'foehn-textarea.chars-remaining.exceeded': 'Vous avez dépassé le nombre de caractères autorisés de {charCountLeft}'`
1682
1881
 
1683
1882
  - [foehn-modal.component.html](projects/prestations-ng/src/foehn-modal/foehn-modal.component.html)
1684
-
1685
- - close button label + aria-label can now be overriden in dictionary
1883
+ - close button label + aria-label can now be overridden in dictionary
1686
1884
  - add default label for remaining characters in [default-dictionary.ts](projects/prestations-ng/src/sdk-dictionary/default-dictionary.ts)
1687
1885
  - `'foehn-modal.btn-close.aria-label': 'Fermer la boite de dialogue'`
1688
1886
  - `'foehn-modal.btn-close.title': 'Fermer'`
1689
1887
 
1690
1888
  - [gesdem-confirmation.component.ts](projects/prestations-ng/src/gesdem-confirmation/gesdem-confirmation.component.ts)
1691
-
1692
1889
  - `@Input() hideReference = false` to choose if the confirmation message display the reference number
1693
1890
 
1694
1891
  - [gesdem-confirmation.component.html](projects/prestations-ng/projects/prestations-ng/src/gesdem-confirmation/gesdem-confirmation.component.html)
@@ -1727,7 +1924,6 @@ data: {
1727
1924
  ### Updated
1728
1925
 
1729
1926
  - [foehn-input-number.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-number.component.ts)
1730
-
1731
1927
  - added a standard help-text that describes the expected input (i.e. "Saisir un nombre entre 0 et 999'999")
1732
1928
  - label is configurable with the dictionary (`foehn-input-number.standard-help-text.label`, defaults to `Saisir un nombre entre {minValue} et {maxValue}`)
1733
1929
  - is placed after the `[helpText]` if provided
@@ -1763,7 +1959,6 @@ data: {
1763
1959
  ### Updated
1764
1960
 
1765
1961
  - [gesdem-error.component.html](projects/prestations-ng/src/gesdem-error/gesdem-error.component.html)
1766
-
1767
1962
  - use new endpoint `/action-statut` from prestations-be to get the status without trigerring any validation
1768
1963
 
1769
1964
  - [sdk-epayment.service.ts](projects/prestations-ng/src/sdk-epayment/sdk-epayment.service.ts)
@@ -1782,7 +1977,6 @@ data: {
1782
1977
  ### Updated
1783
1978
 
1784
1979
  - [foehn-input-nav13.component.ts](projects/prestations-ng/src/foehn-nav13/foehn-input-nav13.component.ts)
1785
-
1786
1980
  - pasting an AVS number (witouht the prefix `756`) in the first editable input will now expand it to the other inputs.
1787
1981
 
1788
1982
  - [foehn-agenda-timeslot-panel.component.ts](projects/prestations-ng/src/foehn-agenda/foehn-agenda-timeslot-panel/foehn-agenda-timeslot-panel.component.ts)
@@ -1806,7 +2000,6 @@ data: {
1806
2000
  ### Updated
1807
2001
 
1808
2002
  - [foehn-input-nav13.component.ts](projects/prestations-ng/src/foehn-nav13/foehn-input-nav13.component.ts)
1809
-
1810
2003
  - pasting an AVS number in the first editable input will now expand it to the other inputs.
1811
2004
 
1812
2005
  - [foehn-input-number.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-number.component.ts)
@@ -1827,7 +2020,6 @@ data: {
1827
2020
  ### Added
1828
2021
 
1829
2022
  - [ApplicationInfo](projects/prestations-ng/src/sdk-appinfo/application-info.ts)
1830
-
1831
2023
  - added one attribute to ApplicationInfo :
1832
2024
  - `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
1833
2025
 
@@ -1837,11 +2029,9 @@ data: {
1837
2029
  ### Fixed
1838
2030
 
1839
2031
  - [foehn-input-address.component.ts](projects/prestations-ng/src/foehn-address/foehn-input-address.component.ts)
1840
-
1841
2032
  - fixed streets and houseNumbers suggestion list not being emptied when locality is cleared
1842
2033
 
1843
2034
  - [foehn-input-date.component.ts](projects/prestations-ng/src/foehn-input-date/foehn-input-date.component.ts)
1844
-
1845
2035
  - fixed error not disappearing when selecting a date in date picker
1846
2036
 
1847
2037
  - [foehn-input.component.ts](projects/prestations-ng/src/foehn-input/foehn-input.component.ts)
@@ -1872,13 +2062,11 @@ data: {
1872
2062
  ### Added
1873
2063
 
1874
2064
  - [UPGRADING_V15](UPGRADING_V15.md)
1875
-
1876
2065
  - Added migration guide
1877
2066
 
1878
2067
  - New [agenda documentation](https://dsi-vd.github.io/prestations-ng/agenda) page
1879
2068
 
1880
2069
  - [foehn-agenda.components.ts](projects/prestations-ng/src/foehn-agenda/foehn-agenda.component.ts)
1881
-
1882
2070
  - Model `calendar.type.ts` ([Calendar](projects/prestations-ng/src/foehn-agenda/calendar.type.ts))
1883
2071
  - Model `current-week.type.ts` ([CurrentWeek](projects/prestations-ng/src/foehn-agenda/current-week.type.ts))
1884
2072
  - Model `day-slots.type.ts` ([DaySlots](projects/prestations-ng/src/foehn-agenda/day-slots.type.ts))
@@ -1897,15 +2085,12 @@ data: {
1897
2085
  ### Updated
1898
2086
 
1899
2087
  - [foehn-status-progress-bar.component.ts](projects/prestations-ng/src/foehn-status-progress-bar/foehn-status-progress-bar.component.ts)
1900
-
1901
2088
  - Bugfix: no visual glitch on the first page (step 2 "Verification" was briefly displayed when starting)
1902
2089
 
1903
2090
  - [foehn-confirm-modal.component.html](projects/prestations-ng/src/foehn-confirm-modal/foehn-confirm-modal.component.html)
1904
-
1905
2091
  - Add closeable on FoehnConfirmModalContent. Default value is true. If false, modal has to be closed by the yes and no buttons.
1906
2092
 
1907
2093
  - Added RefInf DTOs matching to prestations-be
1908
-
1909
2094
  - [address-type-light.ts](projects/prestations-ng/src/refinf/model/address-type-light.ts)
1910
2095
  - [canton.ts](projects/prestations-ng/src/refinf/model/canton.ts)
1911
2096
  - [district.ts](projects/prestations-ng/src/refinf/model/district.ts)
@@ -1915,12 +2100,10 @@ data: {
1915
2100
 
1916
2101
  - [foehn-date-picker.component.ts](projects/prestations-ng/src/foehn-date-picker/foehn-date-picker.component.ts)
1917
2102
  - [foehn-date-picker-button.component.ts](projects/prestations-ng/src/foehn-date-picker-button/foehn-date-picker-button.component.ts)
1918
-
1919
2103
  - added `@Input() minDate: number[]` - minDate's year will override minYear setting
1920
2104
  - added `@Input() maxDate: number[]` - maxDate's year will override maxYear setting
1921
2105
 
1922
2106
  - [package.json](package.json)
1923
-
1924
2107
  - Updated angular stack to ^13.1.0
1925
2108
  - Updated @fortawesome/angular-fontawesome to ^0.10.0
1926
2109
  - Updated rxjs to ~7.5.2
@@ -1929,30 +2112,24 @@ data: {
1929
2112
  - [sdk-epayment.component.ts](projects/prestations-ng/src/sdk-epayment/sdk-epayment.component.ts)
1930
2113
  - [sdk-epayment.component.html](projects/prestations-ng/src/sdk-epayment/sdk-epayment.component.html)
1931
2114
  - [sdk-epayment.service.ts](projects/prestations-ng/src/sdk-epayment/sdk-epayment.service.ts)
1932
-
1933
2115
  - Adaptations to use new e-payment method "Postfinance Checkout"
1934
2116
 
1935
2117
  - [backend-reponse.ts](projects/prestations-ng/src/backend-response.ts)
1936
-
1937
2118
  - renamed to `FormPostResponse` to match prestations-be
1938
2119
  - renamed `GesdemMeta` to `FormMetadata` to match prestations-be
1939
2120
 
1940
2121
  - [error-template.ts](projects/prestations-ng/src/error-template.ts)
1941
-
1942
2122
  - renamed to `FormError` to match prestations-be
1943
2123
 
1944
2124
  - 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 :
1945
-
1946
2125
  - [address.type.ts](projects/prestations-ng/src/foehn-address/address.type.ts)
1947
2126
  - Street : `estrid`
1948
2127
  - Locality : `postalLocalityHistoryId`, `zipCodeId`
1949
2128
 
1950
2129
  - [foehn-date-picker.component.html](projects/prestations-ng/src/foehn-date-picker/foehn-date-picker.component.html)
1951
-
1952
2130
  - added unique ids
1953
2131
 
1954
2132
  - [foehn-checkable-group.component.ts](projects/prestations-ng/src/foehn-checkables/foehn-checkable-group.component.ts)
1955
-
1956
2133
  - set default value for `autocomplete` to `off`
1957
2134
 
1958
2135
  - [foehn-input-date.component.ts](projects/prestations-ng/src/foehn-input-date/foehn-input-date.component.ts)
@@ -1961,7 +2138,6 @@ data: {
1961
2138
  ### Removed
1962
2139
 
1963
2140
  - [session-info-data.ts](projects/prestations-ng/src/sdk-session-info/session-info-data.ts)
1964
-
1965
2141
  - 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)]
1966
2142
 
1967
2143
  - [foehn-page.component.html](projects/prestations-ng/src/foehn-page/foehn-page.component.html)
@@ -1987,7 +2163,6 @@ data: {
1987
2163
  - New [multiselect-autocomplete documentation](https://dsi-vd.github.io/prestations-ng/autocomplete#multiselect_autocomplete) page
1988
2164
 
1989
2165
  - [foehn-multiselect-autocomplete.component.ts](projects/prestations-ng/src/foehn-multiselect-autocomplete/foehn-multiselect-autocomplete.component.ts)
1990
-
1991
2166
  - `@Input() defaultElementValues: unknown[]` To set default elements in list of selected
1992
2167
 
1993
2168
  - [foehn-checkable-group.component.ts](projects/prestations-ng/src/foehn-checkables/foehn-checkable-group.component.ts)
@@ -2059,12 +2234,10 @@ data: {
2059
2234
  ### Added
2060
2235
 
2061
2236
  - [Autogenerated documentation](https://dsi-vd.github.io/prestations-ng/generateddoc)
2062
-
2063
2237
  - prestations-ng documentation generated automatically by `compodoc`
2064
2238
 
2065
2239
  - [foehn-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.ts)
2066
2240
  - [foehn-bo-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-bo-multi-upload/foehn-bo-multi-upload.component.ts)
2067
-
2068
2241
  - 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
2069
2242
 
2070
2243
  - [gesdem-confirmation.component.html](projects/prestations-ng/src/gesdem-confirmation/gesdem-confirmation.component.html)
@@ -2121,42 +2294,34 @@ data: {
2121
2294
  ### Fixed
2122
2295
 
2123
2296
  - [foehn-boolean-radio.component.html](projects/prestations-ng/src/foehn-boolean/foehn-boolean-radio.component.html)
2124
-
2125
2297
  - Fixed focus highlight not being foehn like
2126
2298
  - `trueLabel` and `falseLabel` have been added the html property `innerHTML`
2127
2299
 
2128
2300
  - [foehn-boolean-checkbox.component.html](projects/prestations-ng/src/foehn-boolean/foehn-boolean-checkbox.component.html)
2129
-
2130
2301
  - Fixed focus highlight not being foehn like
2131
2302
 
2132
2303
  - [currency-formatter.directive.ts](projects/prestations-ng/src/directives/currency-formatter.directive.ts)
2133
-
2134
2304
  - fixed bug when input is not formatted when programmatically changed
2135
2305
  - takes into account the `maxlength` and `maxDecimalCount` of the directive's host when formatting for decimals
2136
2306
 
2137
2307
  - [foehn-input-number.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-number.component.ts)
2138
-
2139
2308
  - cannot exceed `maxDecimalCount` anymore when user inputs
2140
2309
 
2141
2310
  - [foehn-input-address.component.ts](projects/prestations-ng/src/foehn-address/foehn-input-address.component.ts)
2142
-
2143
2311
  - fix ids of address fields to link from foehn-validation-alert-summary
2144
2312
  - fix showing individual errors on zipCode and longName when locality is empty and country is not Switzerland
2145
2313
 
2146
2314
  - [foehn-input.component.ts](projects/prestations-ng/src/foehn-input/foehn-input.component.ts)
2147
-
2148
2315
  - A field should not have any error indicator when disabled
2149
2316
  - added method `hasErrorsToDisplay()` that returns `true` if `hasErrors()` AND component is not disabled
2150
2317
  - replaced every use of `hasErrors()` in templates by `hasErrorsToDisplay()`
2151
2318
  - FoehnFormComponent still calls `hasErrors()` on each children in its `isValid()` method
2152
2319
 
2153
2320
  - [foehn-autocomplete.component.ts](projects/prestations-ng/src/foehn-autocomplete/foehn-autocomplete.component.ts)
2154
-
2155
2321
  - fixed suggestion list not displaying when emptying model by using keyboard combinations (ie: Shift+Home+Delete)
2156
2322
 
2157
2323
  - [foehn-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.ts)
2158
2324
  - [foehn-bo-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-bo-multi-upload/foehn-bo-multi-upload.component.ts)
2159
-
2160
2325
  - Fixed drop zone or upload button not showing anymore after dropping 1 file as pending file and multiple is set to true
2161
2326
 
2162
2327
  - [foehn-footer.component.ts](projects/prestations-ng/src/foehn-footer/foehn-footer.component.ts)
@@ -2165,13 +2330,11 @@ data: {
2165
2330
  ### Added
2166
2331
 
2167
2332
  - [date.helper.ts](projects/prestations-ng/src/sdk-date/date.helper.ts)
2168
-
2169
2333
  - added function `toDayjsFromNumberArray(value: number[]): dayjs.Dayjs`
2170
2334
  - added function `isValid(value: number[]): boolean`
2171
2335
  - added function `isToday(value: number[]): boolean`
2172
2336
 
2173
2337
  - [foehn-input-number.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-number.component.ts)
2174
-
2175
2338
  - added `@Input() maxDecimalCount` which was removed from [currency-formatter.directive.ts](projects/prestations-ng/src/directives/currency-formatter.directive.ts)
2176
2339
 
2177
2340
  - [foehn-input.component.ts](projects/prestations-ng/src/foehn-input/foehn-input.component.ts)
@@ -2180,17 +2343,14 @@ data: {
2180
2343
  ### Updated
2181
2344
 
2182
2345
  - [foehn-input-address.component.ts](projects/prestations-ng/src/foehn-address/foehn-input-address.component.ts)
2183
-
2184
2346
  - Removed `searchValueMinCharsCount` for country and npaLocality because virtual scrolling is used for displaying results in `foehn-autocomplete`
2185
2347
 
2186
2348
  - [foehn-autocomplete.component.ts](projects/prestations-ng/src/foehn-autocomplete/foehn-autocomplete.component.ts)
2187
-
2188
2349
  - Pressing `Escape` key closes suggestion list when opened
2189
2350
  - Pressing `ArrowDown` key opens suggestion list when closed (if there are results to be shown)
2190
2351
 
2191
2352
  - [foehn-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.ts)
2192
2353
  - [foehn-bo-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-bo-multi-upload/foehn-bo-multi-upload.component.ts)
2193
-
2194
2354
  - Drop zone is bigger and now highlighted when file enters navigator window. Dropping file outside drop zone is prevented to avoid navigator default action.
2195
2355
 
2196
2356
  - [package.json](package.json)
@@ -2215,7 +2375,6 @@ data: {
2215
2375
  ### Fixed
2216
2376
 
2217
2377
  - [foehn-page-modal.component.ts](projects/prestations-ng/src/foehn-page/foehn-page-modal.component.ts)
2218
-
2219
2378
  - do not display login messages when user is connected via IAM ACV (no context)
2220
2379
 
2221
2380
  - [gesdem-action-recovery-registration.component.ts](projects/prestations-ng/src/gesdem-action-recovery/gesdem-action-recovery-registration/gesdem-action-recovery-registration.component.ts)
@@ -2247,7 +2406,6 @@ data: {
2247
2406
  ### Fixed
2248
2407
 
2249
2408
  - Library is now compiled using `"compilationMode": "partial"` as it should have when upgrading it to Angular 12.
2250
-
2251
2409
  - No need to use `yarn start:symlink` anymore when linking library in project
2252
2410
  - Cleanup your project if needed :
2253
2411
  - in your `package.json` located at the root of your application, remove `start:symlink`
@@ -2284,7 +2442,6 @@ data: {
2284
2442
  ### Updated
2285
2443
 
2286
2444
  - [ESLINT_MIGRATION_GUIDE](ESLINT_MIGRATION_GUIDE.md)
2287
-
2288
2445
  - Added missing plugins (`import`, `jsdoc`, `prefer-arrow` and `rxjs-angular`) when adding them with `yarn`
2289
2446
  - 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
2290
2447
  - Added more information on "Subtype vs Assignment"
@@ -2305,7 +2462,6 @@ data: {
2305
2462
  ### Added
2306
2463
 
2307
2464
  - [UPGRADING_V14](UPGRADING_V14.md)
2308
-
2309
2465
  - Added migration guide
2310
2466
 
2311
2467
  - Schematic for setting `allowSyntheticDefaultImports` to `true` in `tsconfig.json` compiler options
@@ -2336,12 +2492,10 @@ data: {
2336
2492
  - `boolean decisionElectroniqueAvailable` true, when prestation can result in an official electronical decision
2337
2493
  - `boolean deployeeCyber` true, when prestation is displayed in the "Espace Securisé"
2338
2494
  - [I18NForm](projects/prestations-ng/src/i18n-form.ts)
2339
-
2340
2495
  - added field `acceptDecisionElectronique: boolean`, must be answered when `ApplicationInfo.EtapeInfo.decisionElectroniqueAvailable` is true
2341
2496
 
2342
2497
  - [foehn-decision-electronique.component.ts](projects/prestations-ng/src/foehn-decision-electronique/foehn-decision-electronique.component.ts)
2343
2498
  - [foehn-decision-electronique.module.ts](projects/prestations-ng/src/foehn-decision-electronique/foehn-decision-electronique.module.ts)
2344
-
2345
2499
  - component to let the user choose `I18NForm.acceptDecisionElectronique` when `ApplicationInfo.EtapeInfo.decisionElectroniqueAvailable` is true
2346
2500
  - should be added to the last page of the "prestation"
2347
2501
 
@@ -2376,7 +2530,6 @@ data: {
2376
2530
  ## [14.3.1]
2377
2531
 
2378
2532
  - [foehn-validation-alert-summary.component.ts](projects/prestations-ng/src/foehn-validation-alert-summary/foehn-validation-alert-summary.component.ts)
2379
-
2380
2533
  - 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
2381
2534
 
2382
2535
  - [foehn-navigation.component.html](projects/prestations-ng/src/foehn-navigation/foehn-navigation/foehn-navigation.component.html)
@@ -2387,17 +2540,14 @@ data: {
2387
2540
  ### Added
2388
2541
 
2389
2542
  - [gesdem-confirmation.component.ts](projects/prestations-ng/src/gesdem-confirmation/gesdem-confirmation.component.ts)
2390
-
2391
2543
  - added `<ng-content></ng-content>` between green box and action buttons, see https://dsi-vd.github.io/prestations-ng/confirmation
2392
2544
 
2393
2545
  - New [datepicker documentation](https://dsi-vd.github.io/prestations-ng/datepicker) page
2394
2546
 
2395
2547
  - [foehn-input-date.component.html](projects/prestations-ng/src/foehn-input-date/foehn-input-date.component.html)
2396
-
2397
2548
  - 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)
2398
2549
 
2399
2550
  - [foehn-date-picker-button.component.ts](projects/prestations-ng/src/foehn-date-picker-button/foehn-date-picker-button.component.ts)
2400
-
2401
2551
  - `@Input() minYear: number` (default: today - 100) minimum year to be displayed
2402
2552
  - `@Input() maxYear: number` (default: today + 10) maximum year to be displayed
2403
2553
  - `@Input() displaySelectedDate = true` When set to false, hides the selected date displayed beside the button
@@ -2405,7 +2555,6 @@ data: {
2405
2555
  - `@Output() userInput = new EventEmitter<number[]>();` Fired when user chooses a date
2406
2556
 
2407
2557
  - [foehn-date-picker.component.ts](projects/prestations-ng/src/foehn-date-picker/foehn-date-picker.component.ts)
2408
-
2409
2558
  - `@Input() minYear: number` (default: today - 100) minimum year to be displayed
2410
2559
  - `@Input() maxYear: number` (default: today + 10) maximum year to be displayed
2411
2560
  - `@Input() datepickerTriggerHtmlElement: HTMLElement` HTML element which opens the date picker
@@ -2429,8 +2578,7 @@ data: {
2429
2578
  ### Added
2430
2579
 
2431
2580
  - [foehn-input-address.component.ts](projects/prestations-ng/src/foehn-address/foehn-input-address.component.ts)
2432
-
2433
- - 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`
2581
+ - default value for postOfficeBoxText's help text ("Exemple : Case postale 122 ou CP122 ou CP 122"), can be overridden in dictionary with key `foehn-input-address.postOfficeBoxText.help-text`
2434
2582
 
2435
2583
  - [foehn-input.component.ts](projects/prestations-ng/src/foehn-input/foehn-input.component.ts)
2436
2584
  - Function `markAsDirty` to manually set component NgModel control to dirty
@@ -2451,12 +2599,10 @@ data: {
2451
2599
  ### Fixed
2452
2600
 
2453
2601
  - [grecaptcha.component.ts](projects/prestations-ng/src/sdk-recaptcha/grecaptcha/grecaptcha.component.ts)
2454
-
2455
2602
  - reCaptcha language now depends on user language settings
2456
2603
 
2457
2604
  - [foehn-input-time.component.html](projects/prestations-ng/src/foehn-input-time/foehn-input-time.component.html)
2458
2605
  - [foehn-input-nav13.component.html](projects/prestations-ng/src/foehn-nav13/foehn-input-nav13.component.html)
2459
-
2460
2606
  - Now disables all inputs when attribute `[disabled]` is set to `true`
2461
2607
 
2462
2608
  - [foehn-boolean-radio.component.html](projects/prestations-ng/src/foehn-boolean/foehn-boolean-radio.component.html)
@@ -2467,15 +2613,12 @@ data: {
2467
2613
  ### Added
2468
2614
 
2469
2615
  - [form-select-option.ts](projects/prestations-ng/src/foehn-checkables/form-select-option.ts)
2470
-
2471
2616
  - Added `FormSelectOption` class to be used for foehn checkables components. Avoids re-creating it in every project. Gives the possibility to disable elements individually.
2472
2617
 
2473
2618
  - [backend-reponse.ts](projects/prestations-ng/src/backend-response.ts)
2474
-
2475
2619
  - Added `currentAction: number` to class GesdemMeta.
2476
2620
 
2477
2621
  - [foehn-page.component.html](projects/prestations-ng/src/foehn-page/foehn-page.component.html)
2478
-
2479
2622
  - page content is blocked when the browser is not supported but a button allows the user to continue anyway.
2480
2623
 
2481
2624
  - [foehn-navigation.component.html](projects/prestations-ng/src/foehn-navigation/foehn-navigation/foehn-navigation.component.html)
@@ -2491,7 +2634,6 @@ data: {
2491
2634
  ### Fixed
2492
2635
 
2493
2636
  - [date.pipe.ts](projects/prestations-ng/src/pipes/date.pipe.ts)
2494
-
2495
2637
  - Rollback eslint fix and return `any` to avoid breaking apps
2496
2638
 
2497
2639
  - [gesdem-action-recovery-registration.component.ts](projects/prestations-ng/src/gesdem-action-recovery/gesdem-action-recovery-registration/gesdem-action-recovery-registration.component.ts)
@@ -2530,27 +2672,23 @@ data: {
2530
2672
  ### Fixed
2531
2673
 
2532
2674
  - [abstract-list-item-detail-page.component.ts](projects/prestations-ng/src/foehn/foehn-menu-prestation/abstract-list-item-detail-page.component.ts)
2533
-
2534
2675
  - reset breadcrumb on destroy
2535
- - `getListPagePath()` is now abstract since it should always be overriden (value was 'page-3' from skeleton's front-with-menu example)
2676
+ - `getListPagePath()` is now abstract since it should always be overridden (value was 'page-3' from skeleton's front-with-menu example)
2536
2677
 
2537
2678
  - [abstract-page-from-menu.component.ts](projects/prestations-ng/src/foehn/foehn-menu-prestation/abstract-page-from-menu.component.ts)
2538
- - `getMenuPath()` is now abstract since it should always be overriden (value was 'Menu' from skeleton's front-with-menu example)
2539
- - `getMenuLabel()` is now abstract since it should always be overriden (value was '/menu' from skeleton's front-with-menu example)
2679
+ - `getMenuPath()` is now abstract since it should always be overridden (value was 'Menu' from skeleton's front-with-menu example)
2680
+ - `getMenuLabel()` is now abstract since it should always be overridden (value was '/menu' from skeleton's front-with-menu example)
2540
2681
 
2541
2682
  ## [13.4.0]
2542
2683
 
2543
2684
  ### Added
2544
2685
 
2545
2686
  - [foehn-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.ts)
2546
-
2547
2687
  - Added new error messages to match new error codes from prestations-be : EMPTY_PDF
2548
2688
 
2549
2689
  - [currency.helper.ts](projects/prestations-ng/src/sdk-currency/currency.helper.ts)
2550
-
2551
2690
  - Function `formatCurrency` helps to format number or string as a readable value (i.e: 1'123.30)
2552
2691
  - parameters:
2553
-
2554
2692
  - `value` (string|number)
2555
2693
  - `currency` (string) (default: 'CHF')
2556
2694
  - `fixedDecimalCount` (number) (default: null): number of decimals to display
@@ -2587,7 +2725,6 @@ data: {
2587
2725
  ### Updated
2588
2726
 
2589
2727
  - [foehn-input-address.component.ts](projects/prestations-ng/src/foehn-address/foehn-input-address.component.ts)
2590
-
2591
2728
  - disabled attribute is now taken into account.
2592
2729
 
2593
2730
  - [foehn-recap-section.component.ts](projects/prestations-ng/src/foehn-recap-section/foehn-recap-section.component.ts)
@@ -2603,7 +2740,6 @@ data: {
2603
2740
  ### Updated
2604
2741
 
2605
2742
  - [package.json](package.json)
2606
-
2607
2743
  - Updated angular stack to ^11.0.0
2608
2744
  - Updated `@dsivd/foehn` to 1.8.0. See [the changelog](https://github.com/DSI-VD/foehn/blob/master/CHANGELOG.md) for more information.
2609
2745
 
@@ -2612,30 +2748,24 @@ data: {
2612
2748
  ### Fixed
2613
2749
 
2614
2750
  - [foehn-input.component.ts](projects/prestations-ng/src/foehn-input/foehn-input.component.ts)
2615
-
2616
2751
  - fixed `focus` not focusing on input for components such as `<foehn-radio>, <foehn-checkbox>,...`
2617
2752
 
2618
2753
  - [foehn-validation-alert-summary.component.ts](projects/prestations-ng/src/foehn-validation-alert-summary/foehn-validation-alert-summary.component.ts)
2619
-
2620
2754
  - fixed `scrollToError` not focusing on input for components such as `<foehn-input-date>, <foehn-input-time>, <foehn-radio>, <foehn-checkbox>,...`
2621
2755
 
2622
2756
  - [foehn-input-foreign-locality.component.html](projects/prestations-ng/src/foehn-address/foehn-input-foreign-locality.component.html)
2623
2757
  - [foehn-input-foreign-street.component.html](projects/prestations-ng/src/foehn-address/foehn-input-foreign-street.component.html)
2624
-
2625
2758
  - fixed error not being inherited
2626
2759
 
2627
2760
  ### Updated
2628
2761
 
2629
2762
  - [foehn-input-address.component.ts](projects/prestations-ng/src/foehn-address/foehn-input-address.component.ts)
2630
-
2631
2763
  - When changing country, all input fields of the address are cleared and set to null
2632
2764
 
2633
2765
  - [foehn-page.component.html](projects/prestations-ng/src/foehn-page/foehn-page.component.html)
2634
-
2635
2766
  - removed browser support condition on page display. Now page will always be loaded but if the browser is not supported, an alert message will be displayed at the top of the page.
2636
2767
 
2637
2768
  - [browserlist](src/browserslist)
2638
-
2639
2769
  - Improved documentation with a few command lines to fetch latest version of browsers and test browser list
2640
2770
 
2641
2771
  ## [12.4.4]
@@ -2643,7 +2773,6 @@ data: {
2643
2773
  ### Updated
2644
2774
 
2645
2775
  - [browserlist](src/browserslist)
2646
-
2647
2776
  - added firefox 68 as supported browser
2648
2777
 
2649
2778
  ## [12.4.3]
@@ -2651,7 +2780,6 @@ data: {
2651
2780
  ### Updated
2652
2781
 
2653
2782
  - [foehn-input.component.html](projects/prestations-ng/src/foehn-input/foehn-input.component.html)
2654
-
2655
2783
  - added `@Input() overrideGesdemMaxlength = false` to be able to set `@Input() maxlength` to more than 2000 chars (when used in a BO)
2656
2784
 
2657
2785
  - [date.pipe.ts](projects/prestations-ng/src/pipes/date.pipe.ts)
@@ -2672,12 +2800,10 @@ data: {
2672
2800
  ### Updated
2673
2801
 
2674
2802
  - [foehn-input-address.component.ts](projects/prestations-ng/src/foehn-address/foehn-input-address.component.ts)
2675
-
2676
- - new `@Input showAdressLine1 = true` to be able to show/hide field `addressLine1` (overriden by `showAdressLines = true`)
2677
- - new `@Input showAdressLine2 = true` to be able to show/hide field `addressLine2` (overriden by `showAdressLines = true`)
2803
+ - new `@Input showAdressLine1 = true` to be able to show/hide field `addressLine1` (overridden by `showAdressLines = true`)
2804
+ - new `@Input showAdressLine2 = true` to be able to show/hide field `addressLine2` (overridden by `showAdressLines = true`)
2678
2805
 
2679
2806
  - [gesdem-action-recovery-login](projects/prestations-ng/src/gesdem-action-recovery/gesdem-action-recovery-login)
2680
-
2681
2807
  - Message précis quand une reprise est tentée pour une action déjà transmise
2682
2808
 
2683
2809
  ## [12.4.0]
@@ -2685,7 +2811,6 @@ data: {
2685
2811
  ### Updated
2686
2812
 
2687
2813
  - [foehn-page.component.ts](projects/prestations-ng/src/foehn-page/foehn-page.component.ts)
2688
-
2689
2814
  - get title from footer link "contact" from backend (applicationInfo)
2690
2815
 
2691
2816
  ## [12.3.3]
@@ -2693,34 +2818,26 @@ data: {
2693
2818
  ### Updated
2694
2819
 
2695
2820
  - [foehn-input-phone.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-phone.component.ts)
2696
-
2697
2821
  - Improved accessibility of the helptexts on phone inputs
2698
2822
 
2699
2823
  - [foehn-input-text.component.spec.ts](projects/prestations-ng/src/foehn-input/foehn-input-text.component.ts)
2700
2824
  - [foehn-input-textarea.component.html](projects/prestations-ng/src/foehn-input/foehn-input-text.component.ts)
2701
-
2702
2825
  - changed `@Input() autocomplete` to type string in order to be able to use every possible HTML values (cf. https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete)
2703
-
2704
2826
  - you should replace [autocomplete]="false" by [autocomplete]="'off'".ch
2705
2827
 
2706
2828
  * [foehn-input-address.component.ts](projects/prestations-ng/src/foehn-address/foehn-input-address.component.ts)
2707
-
2708
2829
  - use autocomplete values "address-line1", "address-line2", "address-line3", "postal-code"
2709
2830
 
2710
2831
  * [foehn-input-email.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-email.component.ts)
2711
-
2712
2832
  - use autocomplete value "email"
2713
2833
 
2714
2834
  * [foehn-input-password.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-password.component.ts)
2715
-
2716
2835
  - use autocomplete value "current-password"
2717
2836
 
2718
2837
  * [foehn-input-phone.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-phone.component.ts)
2719
-
2720
2838
  - use autocomplete value "tel"
2721
2839
 
2722
2840
  * [foehn-input-nav13.component.ts](projects/prestations-ng/src/foehn-nav13/foehn-input-nav13.component.ts)
2723
-
2724
2841
  - use autocomplete value "off" on every field
2725
2842
 
2726
2843
  ## [12.3.2]
@@ -2737,7 +2854,6 @@ data: {
2737
2854
  - [abstract-list-item-detail-page.component.ts](projects/prestations-ng/src/foehn/foehn-menu-prestation/abstract-list-item-detail-page.component.ts)
2738
2855
  - [abstract-page-from-menu.component.ts](projects/prestations-ng/src/foehn/foehn-menu-prestation/abstract-page-from-menu.component.ts)
2739
2856
  - [abstract-menu-page.component.ts](projects/prestations-ng/src/foehn/foehn-menu-prestation/abstract-menu-page.component.ts)
2740
-
2741
2857
  - Fixed issue with typescript generic (FORM_TYPE should extend I18NForm)
2742
2858
 
2743
2859
  ## [12.3.0]
@@ -2745,7 +2861,6 @@ data: {
2745
2861
  ### Updated
2746
2862
 
2747
2863
  - [foehn-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.ts)
2748
-
2749
2864
  - Added new error messages to match new error codes from prestations-be : FILE_TOO_SMALL, PDF_PASSWORD_LOCKED, PDF_CONTAINS_SCRIPT, PDF_HAS_ATTACHMENTS, PDF_GENERAL_PROBLEM, FILENAME_TOO_LONG
2750
2865
 
2751
2866
  ## [12.2.1]
@@ -2788,7 +2903,6 @@ data: {
2788
2903
  ### Added
2789
2904
 
2790
2905
  - new translations with default values
2791
-
2792
2906
  - [foehn-input-address.component.html](projects/prestations-ng/src/foehn-address/foehn-input-address.component.html)
2793
2907
  - [foehn-input-foreign-locality.component.html](projects/prestations-ng/src/foehn-address/foehn-input-foreign-locality.component.html)
2794
2908
  - [foehn-autocomplete.component.html](projects/prestations-ng/src/foehn-autocomplete/foehn-autocomplete.component.html)
@@ -2804,16 +2918,13 @@ data: {
2804
2918
  - [foehn-list-summary.component.html](projects/prestations-ng/src/foehn-menu-prestation/foehn-list-summary/foehn-list-summary.component.html)
2805
2919
  - [foehn-multi-upload.component.html](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.html)
2806
2920
  - [foehn-input-nav13.component.html](projects/prestations-ng/src/foehn-nav13/foehn-input-nav13.component.html)
2807
-
2808
2921
  - foehn-input.optional=(facultatif)
2809
2922
 
2810
2923
  - [foehn-input-address.component.html](projects/prestations-ng/src/foehn-address/foehn-input-address.component.html)
2811
-
2812
2924
  - foehn-input-address.street.help-text=Exemple : Avenue de la Sallaz
2813
2925
  - foehn-input-address.houseNumber.help-text=Exemple : 40 pour une adresse à l'Avenue de la Sallaz 40
2814
2926
 
2815
2927
  - [foehn-input-foreign-locality.component.html](projects/prestations-ng/src/foehn-address/foehn-input-foreign-locality.component.html)
2816
-
2817
2928
  - foehn-input-foreign-locality.zipCode.label=Code postal
2818
2929
  - foehn-input-foreign-locality.locality.label=Localité
2819
2930
 
@@ -2822,32 +2933,25 @@ data: {
2822
2933
  ### Updated
2823
2934
 
2824
2935
  - [foehn-recap-section.component.ts](projects/prestations-ng/src/foehn-recap-section/foehn-recap-section.component.ts)
2825
-
2826
2936
  - Update <foehn-recap-section> in order to display 0 in recap. Before this fix, 0 was treated as an empty value and was not displayed
2827
2937
 
2828
2938
  ### Added
2829
2939
 
2830
2940
  - added I18N support (to be used with prestations-be 11.3.x)
2831
-
2832
2941
  - [i18n-form.ts](projects/prestations-ng/src/i18n-form.ts)
2833
-
2834
2942
  - your business form should extend this class to be able to send the currently selected language to the backend.
2835
2943
 
2836
2944
  - [sdk-dictionary.service.ts](projects/prestations-ng/src/sdk-dictionary/sdk-dictionary.service.ts)
2837
-
2838
2945
  - getAvailableLanguages() : returns languages given by DictionaryController in prestations-be
2839
2946
  - changeLanguage(code: string) : get dictionary in given language
2840
2947
  - getCurrentLanguageCode() : get the selected language code
2841
2948
  - getDictionary can be triggered multiple times, so you should add `first()` into the pipe of you call in MetaService.
2842
2949
 
2843
2950
  - [default-dictionary.ts](projects/prestations-ng/src/sdk-dictionary/default-dictionary.ts)
2844
-
2845
2951
  - stores default labels in french
2846
2952
 
2847
2953
  - [foehn-input-address.component.html](projects/prestations-ng/src/foehn-address/foehn-input-address.component.html)
2848
-
2849
2954
  - new translations with default values :
2850
-
2851
2955
  - foehn-input-address.country.label=Pays
2852
2956
  - foehn-input-address.locality.label=NPA, Localité
2853
2957
  - foehn-input-foreign-locality.zipCode.label=Code postal
@@ -2861,31 +2965,23 @@ data: {
2861
2965
  - foehn-input-address.addressLine2.label=Complément d'adresse
2862
2966
 
2863
2967
  - [foehn-navigation.component.html](projects/prestations-ng/src/foehn-navigation/foehn-navigation/foehn-navigation.component.html)
2864
-
2865
2968
  - new translations with default values :
2866
-
2867
2969
  - foehn-navigation.next.label=Suivant
2868
2970
  - foehn-navigation.previous.label=Précédent
2869
2971
  - foehn-navigation.transmit.label=Transmettre
2870
2972
  - foehn-navigation.continue-later.label=Finir la demande plus tard
2871
2973
 
2872
2974
  - [foehn-page-counter.component.ts](projects/prestations-ng/src/foehn-page/foehn-page-counter.component.ts)
2873
-
2874
2975
  - new translations with default values :
2875
-
2876
2976
  - foehn-page-counter.label=Page {currentPage} de {pageCount}
2877
2977
 
2878
2978
  - [foehn-boolean-radio.component.html](projects/prestations-ng/src/foehn-boolean/foehn-boolean-radio.component.html)
2879
-
2880
2979
  - new translations with default values :
2881
-
2882
2980
  - Oui=Oui
2883
2981
  - Non=Non
2884
2982
 
2885
2983
  - [gesdem-confirmation.component.ts](projects/prestations-ng/src/gesdem-confirmation/gesdem-confirmation.component.ts)
2886
-
2887
2984
  - new translations with default values :
2888
-
2889
2985
  - gesdem-confirmation.title=Confirmation
2890
2986
  - gesdem-confirmation.success-label=Demande transmise
2891
2987
  - gesdem-confirmation.abort-label=Demande abandonnée
@@ -2896,17 +2992,13 @@ data: {
2896
2992
  - gesdem-confirmation.extra-content=<empty> allows to add some text in the page
2897
2993
 
2898
2994
  - [foehn-input-date.component.html](projects/prestations-ng/src/foehn-input-date/foehn-input-date.component.html)
2899
-
2900
2995
  - new translations with default values :
2901
-
2902
2996
  - foehn-input-date.day.label=Jour
2903
2997
  - foehn-input-date.month.label=Mois
2904
2998
  - foehn-input-date.year.label=Année
2905
2999
 
2906
3000
  - [foehn-input-time.component.html](projects/prestations-ng/src/foehn-input-time/foehn-input-time.component.html)
2907
-
2908
3001
  - new translations with default values :
2909
-
2910
3002
  - foehn-input-time.hours.label=Heure
2911
3003
  - foehn-input-time.minutes.label=Minutes
2912
3004
 
@@ -2915,7 +3007,6 @@ data: {
2915
3007
  ### Updated
2916
3008
 
2917
3009
  - [foehn-page.component.ts](projects/prestations-ng/src/foehn-page/foehn-page.component.ts)
2918
-
2919
3010
  - fixed label "Paramètre de connexion" in header (missing "s" at the end of Paramètres)
2920
3011
 
2921
3012
  ## [11.2.1]
@@ -2923,11 +3014,9 @@ data: {
2923
3014
  ### Updated
2924
3015
 
2925
3016
  - [breadcrumb-event.service.ts](projects/prestations-ng/src/foehn-breadcrumb/breadcrumb-event.service.ts)
2926
-
2927
3017
  - updated default root breabcrumb item to display sessionInfo.espaceLabel instead of "Mon Espace"
2928
3018
 
2929
3019
  - [foehn-page.component.ts](projects/prestations-ng/src/foehn-page/foehn-page.component.ts)
2930
-
2931
3020
  - minor accessibility improvements on connected user sr-only labels
2932
3021
 
2933
3022
  ## [11.2.0]
@@ -2935,13 +3024,11 @@ data: {
2935
3024
  ### Added
2936
3025
 
2937
3026
  - [foehn-page.component.ts](projects/prestations-ng/src/foehn-page/foehn-page.component.ts)
2938
-
2939
3027
  - Add two default footer links.
2940
3028
  - Add an attribute `showDefaultTermOfUseLink` to disable or enable the default "Term of use" footer link; set by default to `true`.
2941
3029
  - Add an attribute `showDefaultSecurityBestPracticeLink` to disable or enable the default "Security best practice" footer link; set by default to `true`.
2942
3030
 
2943
3031
  - [foehn-header.component.ts](projects/prestations-ng/src/foehn-header/foehn-header.component.ts)
2944
-
2945
3032
  - new design for the header that requires prestations-be 11.2.0 to get user avatar
2946
3033
 
2947
3034
  ## [11.1.5]
@@ -2949,7 +3036,6 @@ data: {
2949
3036
  ### Added
2950
3037
 
2951
3038
  - [foehn-input-address.component.html](projects/prestations-ng/src/foehn-address/foehn-input-address.component.html)
2952
-
2953
3039
  - added some inputs to affect the presence of (facultatif) on every label :
2954
3040
  - `@Input() countryRequired = true`
2955
3041
  - `@Input() swissNpaLocalityRequired = true`
@@ -2968,7 +3054,6 @@ data: {
2968
3054
  ### Added
2969
3055
 
2970
3056
  - [foehn-list.component.ts](projects/prestations-ng/src/foehn-list/foehn-list.component.ts)
2971
-
2972
3057
  - Added public method `showPage(page: number, emitPageChangeEvent = false)`.
2973
3058
 
2974
3059
  ## [11.1.3]
@@ -2994,12 +3079,10 @@ data: {
2994
3079
  ### Updated
2995
3080
 
2996
3081
  - [package.json](package.json)
2997
-
2998
3082
  - Updated `@dsivd/foehn` to 1.6.0. See [the changelog](https://github.com/DSI-VD/foehn/blob/master/CHANGELOG.md) for more information.
2999
3083
 
3000
3084
  - [foehn-notfound.component.html](projects/prestations-ng/src/foehn-notfound/foehn-notfound.component.html)
3001
3085
  - [gesdem-error.component.html](projects/prestations-ng/src/gesdem-error/gesdem-error.component.html)
3002
-
3003
3086
  - added contextual infos for support in error pages (see https://dsi-vd.github.io/prestations-ng/error)
3004
3087
 
3005
3088
  ## [11.0.2]
@@ -3007,11 +3090,9 @@ data: {
3007
3090
  ### Updated
3008
3091
 
3009
3092
  - [foehn-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.ts)
3010
-
3011
3093
  - Updated error message when file name is not valid
3012
3094
 
3013
3095
  - prestations-ng will now be released on npmjs under 3 tags :
3014
-
3015
3096
  - latest : the current version (currently 11.x.x)
3016
3097
  - lts : previous supported version (currently ^10.15.x)
3017
3098
  - next : draft version used internally for testing (use at your own risks)
@@ -3019,11 +3100,9 @@ data: {
3019
3100
  ### Fixed
3020
3101
 
3021
3102
  - [foehn-select.component.ts](projects/prestations-ng/src/foehn-checkables/foehn-select.component.ts)
3022
-
3023
3103
  - Fixed `markAsDirty` not being called
3024
3104
 
3025
3105
  - [foehn-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.ts)
3026
-
3027
3106
  - Filenames with character '°' are not valid in ESB, so they should be seen as invalid.
3028
3107
 
3029
3108
  ## [11.0.1]
@@ -3031,7 +3110,6 @@ data: {
3031
3110
  ### Fixed
3032
3111
 
3033
3112
  - [foehn-select.component.ts](projects/prestations-ng/src/foehn-checkables/foehn-select.component.ts)
3034
-
3035
3113
  - Multiple select: fixed highlighting selected options from model
3036
3114
 
3037
3115
  ## [11.0.0]
@@ -3039,7 +3117,6 @@ data: {
3039
3117
  ### Updated
3040
3118
 
3041
3119
  - [package.json](package.json)
3042
-
3043
3120
  - Updated angular stack to ^9.0.0
3044
3121
  - Updated `@dsivd/foehn` to 1.5.3. See [the changelog](https://github.com/DSI-VD/foehn/blob/master/CHANGELOG.md) for more information.
3045
3122
  - Updated `@fortawesome/angular-fontawesome` to ^0.6.0. See [the upgrading process](https://github.com/FortAwesome/angular-fontawesome/blob/master/docs/upgrading/0.5.0-0.6.0.md)
@@ -3048,7 +3125,6 @@ data: {
3048
3125
  ### Deleted
3049
3126
 
3050
3127
  - Removed deprecated features (See [UPGRADING_V12](UPGRADING_V12.md) for replacements)
3051
-
3052
3128
  - Component `foehn-address.component.ts` (selector: **foehn-address**)
3053
3129
  - Model `foehn-address.type.ts` (FoehnAddress)
3054
3130
  - Component `foehn-simple-upload.component.ts` (selector: **foehn-upload**)
@@ -3060,7 +3136,6 @@ data: {
3060
3136
  ### Changed
3061
3137
 
3062
3138
  - [foehn-header.component.ts](projects/prestations-ng/src/foehn-header/foehn-header.component.ts)
3063
-
3064
3139
  - `getEnvironmentLabel` takes `ApplicationInfo` as a parameter
3065
3140
 
3066
3141
  - Html property `innerHTML` has been added to following components
@@ -3091,7 +3166,6 @@ data: {
3091
3166
  ### Fixed
3092
3167
 
3093
3168
  - used `@Input hideNotRequiredExtraLabel` in template allowing to hide the " (facultatif)" of the label even if the `@Input required` is false
3094
-
3095
3169
  - [foehn-autocomplete.component.html](projects/prestations-ng/src/foehn-autocomplete/foehn-autocomplete.component.html)
3096
3170
  - [foehn-boolean-checkbox.component.html](projects/prestations-ng/src/foehn-boolean/foehn-boolean-checkbox.component.html)
3097
3171
  - [foehn-boolean-radio.component.html](projects/prestations-ng/src/foehn-boolean/foehn-boolean-radio.component.html)
@@ -3104,11 +3178,9 @@ data: {
3104
3178
  - [foehn-multi-upload.component.html](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.html)
3105
3179
 
3106
3180
  - [foehn-checkable-group.component.ts](projects/prestations-ng/src/foehn-checkables/foehn-checkable-group.component.ts)
3107
-
3108
3181
  - fixed issue on 'elementsUrl' not processing http call when url changes
3109
3182
 
3110
3183
  - [foehn-radio.component.ts](projects/prestations-ng/src/foehn-checkables/foehn-radio.component.ts)
3111
-
3112
3184
  - Fixed issue on component supporting objects as value.
3113
3185
 
3114
3186
  - [foehn-autocomplete.component.html](projects/prestations-ng/src/foehn-autocomplete/foehn-autocomplete.component.html)
@@ -3117,7 +3189,6 @@ data: {
3117
3189
  ### Added
3118
3190
 
3119
3191
  - [foehn-checkable-group.component.ts](projects/prestations-ng/src/foehn-checkables/foehn-checkable-group.component.ts)
3120
-
3121
3192
  - added function `refreshElementsUrl()` to trigger an new http call to existing `elementsUrl`
3122
3193
 
3123
3194
  - [foehn-menu-prestation.module.ts](projects/prestations-ng/src/foehn-menu-prestation/foehn-menu-prestation.module.ts)
@@ -3136,13 +3207,11 @@ data: {
3136
3207
  ## Fixed
3137
3208
 
3138
3209
  - [foehn-autocomplete.component.html](projects/prestations-ng/src/foehn-autocomplete/foehn-autocomplete.component.html)
3139
-
3140
3210
  - should be able to select a proposition with the `tab` key
3141
3211
 
3142
3212
  ## Added
3143
3213
 
3144
3214
  - [foehn-list.component.ts](projects/prestations-ng/src/foehn-list/foehn-list.component.ts)
3145
-
3146
3215
  - Added `@Input fixedPageCount: number` allowing to force the page count when doing server-side paging.
3147
3216
 
3148
3217
  - alert when browser is not compatible
@@ -3155,7 +3224,6 @@ data: {
3155
3224
  ### Updated
3156
3225
 
3157
3226
  - [browserlist](src/browserslist)
3158
-
3159
3227
  - updated list of supported browsers
3160
3228
 
3161
3229
  ```text
@@ -3240,7 +3308,6 @@ not dead
3240
3308
  ### Updated
3241
3309
 
3242
3310
  - [README.MD](README.md)
3243
-
3244
3311
  - Prestakit version are now aligned, you should always use the same minor version of prestations-ng and prestations-be.
3245
3312
 
3246
3313
  ## [10.15.0]
@@ -3248,11 +3315,9 @@ not dead
3248
3315
  ### Updated
3249
3316
 
3250
3317
  - [package.json](package.json)
3251
-
3252
3318
  - Updated `@dsivd/foehn` to 1.5.0. See [the changelog](https://github.com/DSI-VD/foehn/blob/master/CHANGELOG.md) for more information.
3253
3319
 
3254
3320
  - Improved accessibility
3255
-
3256
3321
  - [foehn-header.component.html](projects/prestations-ng/src/foehn-header/foehn-header.component.html)
3257
3322
  - [foehn-validation-alerts.component.html](projects/prestations-ng/src/foehn-validation-alerts/foehn-validation-alerts.component.html)
3258
3323
  - [foehn-validation-alert-summary.component.html](projects/prestations-ng/src/foehn-validation-alert-summary/foehn-validation-alert-summary.component.html)
@@ -3267,7 +3332,6 @@ not dead
3267
3332
  - [foehn-input-nav13.component.html](projects/prestations-ng/src/foehn-nav13/foehn-input-nav13.component.html)
3268
3333
 
3269
3334
  - New error red border
3270
-
3271
3335
  - [foehn-input.component.html](projects/prestations-ng/src/foehn-input/foehn-input.component.html)
3272
3336
  - [foehn-autocomplete.component.html](projects/prestations-ng/src/foehn-autocomplete/foehn-autocomplete.component.html)
3273
3337
  - [foehn-select.component.html](projects/prestations-ng/src/foehn-checkables/foehn-select.component.html)
@@ -3277,7 +3341,6 @@ not dead
3277
3341
  - [foehn-input-date.component.html](projects/prestations-ng/src/foehn-input-date/foehn-input-date.component.html)
3278
3342
 
3279
3343
  - [foehn-page.component.ts](projects/prestations-ng/src/foehn-page/foehn-page.component.ts)
3280
-
3281
3344
  - browser title is now FoehnPageComponent.appTitle (was pageTitle)
3282
3345
 
3283
3346
  - [foehn-input.component.ts](projects/prestations-ng/src/foehn-input/foehn-input.component.ts)
@@ -3307,7 +3370,6 @@ not dead
3307
3370
  ### Fixed
3308
3371
 
3309
3372
  - [foehn-input-number.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-number.component.ts)
3310
-
3311
3373
  - Fixed text selection when user navigates with tab and the number is formatted
3312
3374
 
3313
3375
  - [foehn-form.component.ts](projects/prestations-ng/src/foehn-form/foehn-form.component.ts)
@@ -3318,14 +3380,12 @@ not dead
3318
3380
  ### Updated
3319
3381
 
3320
3382
  - [foehn-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.ts)
3321
-
3322
3383
  - Multi-upload do not allow filename with illegal character (by default: /,\\,?,%,\*,:,|,",<,>).
3323
3384
 
3324
3385
  - Added 1 input, used for overriding illegal character properties coming from the backend.
3325
3386
  - overrideIllegalCharacters
3326
3387
 
3327
3388
  - (deprecated) [foehn-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-simple-upload/foehn-upload.component.ts)
3328
-
3329
3389
  - Simple-upload do not allow filename with illegal character.
3330
3390
 
3331
3391
  ## [10.13.0]
@@ -3333,15 +3393,12 @@ not dead
3333
3393
  ### Updated
3334
3394
 
3335
3395
  - [foehn-input-nav13.component.ts](projects/prestations-ng/src/foehn-nav13/foehn-input-nav13.component.ts)
3336
-
3337
3396
  - First input (part 1) has default swiss NAVS value "756".
3338
3397
 
3339
3398
  - [foehn-input-nav13.component.html](projects/prestations-ng/src/foehn-nav13/foehn-input-nav13.component.html)
3340
-
3341
3399
  - First input (part 1) is no more editable and display default swiss NAVS value "756".
3342
3400
 
3343
3401
  - [foehn-input-address.component.html](projects/prestations-ng/src/foehn-address/foehn-input-address.component.html)
3344
-
3345
3402
  - Updated label : "Complément d'adresse" is now "c/o".
3346
3403
 
3347
3404
  ## [10.12.0] - 2020.01.07
@@ -3349,22 +3406,18 @@ not dead
3349
3406
  ### Fixed
3350
3407
 
3351
3408
  - [foehn-autocomplete.component](projects/prestations-ng/src/foehn-autocomplete/foehn-autocomplete.component.ts)
3352
-
3353
3409
  - Autocomplete list disappear if user click on its scroll bar ;
3354
3410
  - Title wording correction
3355
3411
 
3356
3412
  ### Updated
3357
3413
 
3358
3414
  - [foehn-modal.component.ts](projects/prestations-ng/src/foehn-modal/foehn-modal.component.ts)
3359
-
3360
3415
  - Scroll to modal's top when help-modal is opened.
3361
3416
 
3362
3417
  - [foehn-help-modal.component.html](projects/prestations-ng/src/foehn-help-modal/foehn-help-modal.component.html)
3363
-
3364
3418
  - Prefix added on help button's name for screen reader.
3365
3419
 
3366
3420
  - [multi-upload.service.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/multi-upload.service.ts)
3367
-
3368
3421
  - function mapToFormData: commas are removed from label when set to avoid wrong interpretation as array of string.
3369
3422
 
3370
3423
  ## [10.11.0] - 2019.12.17
@@ -3380,11 +3433,9 @@ not dead
3380
3433
  ### Fixed
3381
3434
 
3382
3435
  - [foehn-breadcrumb.component.ts](projects/prestations-ng/src/foehn-breadcrumb/foehn-breadcrumb.component.ts)
3383
-
3384
3436
  - Don't alert the user that clicking on the breadcrumb will make him loose data when demand is transmitted.
3385
3437
 
3386
3438
  - [gesdem-action-recovery-registration.component.ts](projects/prestations-ng/src/gesdem-action-recovery/gesdem-action-recovery-registration/gesdem-action-recovery-registration.component.ts)
3387
-
3388
3439
  - Default recovery values are requested only when user is not connected.
3389
3440
 
3390
3441
  ## [10.10.0] - 2019.12.12
@@ -3392,7 +3443,6 @@ not dead
3392
3443
  ### Fixed
3393
3444
 
3394
3445
  - [foehn-autocomplete.component](projects/prestations-ng/src/foehn-autocomplete/foehn-autocomplete.component.ts)
3395
-
3396
3446
  - User cannot bypass autocomplete form error on submit to access next page anymore
3397
3447
 
3398
3448
  ## [10.9.0] - 2019.12.11
@@ -3400,15 +3450,12 @@ not dead
3400
3450
  ### Updated
3401
3451
 
3402
3452
  - [growl-broker.service.ts](projects/prestations-ng/src/foehn-growl/growl-broker.service.ts)
3403
-
3404
3453
  - Add possibility to specify time to display message in seconds
3405
3454
 
3406
3455
  - [foehn-input-address.component.ts](projects/prestations-ng/src/foehn-address/foehn-input-address.component.ts)
3407
-
3408
3456
  - street and street number are set to null if locality change. (only when country is Swiss)
3409
3457
 
3410
3458
  - [foehn-input-address.component.ts](projects/prestations-ng/src/foehn-address/foehn-input-address.component.ts)
3411
-
3412
3459
  - Add possibility to specify a canton for the foehn-input-address component
3413
3460
 
3414
3461
  ```
@@ -3430,7 +3477,6 @@ not dead
3430
3477
  ### Added
3431
3478
 
3432
3479
  - [iban-formatter.directive.ts](projects/prestations-ng/src/directives/iban-formatter.directive.ts)
3433
-
3434
3480
  - Adds a directive to format an Iban (swiss or internationnal)
3435
3481
  Example:
3436
3482
 
@@ -3487,18 +3533,15 @@ not dead
3487
3533
  ### Updated
3488
3534
 
3489
3535
  - [foehn-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.ts)
3490
-
3491
3536
  - Add 3 inputs, used for overriding properties coming from the backend. This is only for overriding. For example, if your prestation has multiple upload rules (first is PDF, second is JPG...).
3492
3537
  - overrideAcceptedExtensions
3493
3538
  - overrideMaxSizeInMo
3494
3539
  - overrideMaxFileNameLength
3495
3540
 
3496
3541
  - [foehn-select.component.ts](projects/prestations-ng/src/foehn-checkables/foehn-select.component.ts)
3497
-
3498
3542
  - Foehn-select has empty option when attribute 'required' and 'multiple' are false.
3499
3543
 
3500
3544
  - [foehn-recap-section.component.html](projects/prestations-ng/src/foehn-recap-section/foehn-recap-section.component.html)
3501
-
3502
3545
  - added "@Input() acceptEmptyValue = false" to add the possibility to show a line even if the value is empty
3503
3546
 
3504
3547
  - [foehn-input-address.component.ts](projects/prestations-ng/src/foehn-address/foehn-input-address.component.ts)
@@ -3554,7 +3597,6 @@ not dead
3554
3597
  ### Updated
3555
3598
 
3556
3599
  - Possibility to accept empty value in the recap section
3557
-
3558
3600
  - [foehn-recap-section.component.html](projects/prestations-ng/src/foehn-recap-section/foehn-recap-section.component.html)
3559
3601
  - [foehn-recap-section.component.ts](projects/prestations-ng/src/foehn-recap-section/foehn-recap-section.component.ts)
3560
3602
  - [foehn-recap-section.type.ts](projects/prestations-ng/src/foehn-recap-section/foehn-recap-section.type.ts)
@@ -3564,7 +3606,6 @@ not dead
3564
3606
  ### Updated
3565
3607
 
3566
3608
  - Improved accessibility
3567
-
3568
3609
  - [foehn-multi-upload.component.html](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.html)
3569
3610
 
3570
3611
  - [abstract-page-component.ts](projects/prestations-ng/src/abstract-page-component.ts)
@@ -3580,14 +3621,12 @@ not dead
3580
3621
  ### Updated
3581
3622
 
3582
3623
  - [package.json](package.json)
3583
-
3584
3624
  - Updated angular stack to 8.2.x
3585
3625
  - Updated `@dsivd/foehn` to 1.3.0. See [the changelog](https://github.com/DSI-VD/foehn/blob/master/CHANGELOG.md) for more information.
3586
3626
  - Updated `@fortawesome/angular-fontawesome` to 0.5.0. See [the upgrading process](https://github.com/FortAwesome/angular-fontawesome/blob/master/docs/upgrading/0.4.0-0.5.0.md)
3587
3627
  - Added back `^` (minor) and `~` (patch) on versions. Using `yarn upgrade` updates dependencies to their latest version based on the version range specified in the `package.json` file. The `yarn.lock` file will be recreated as well.
3588
3628
 
3589
3629
  - Improved accessibility
3590
-
3591
3630
  - [foehn-navigation.component.html](projects/prestations-ng/src/foehn-navigation/foehn-navigation/foehn-navigation.component.html)
3592
3631
  - [gesdem-confirmation.component.html](projects/prestations-ng/src/gesdem-confirmation/gesdem-confirmation.component.html)
3593
3632
  - [foehn-multi-upload.component.html](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.html)
@@ -3635,7 +3674,6 @@ not dead
3635
3674
  ### Fixed
3636
3675
 
3637
3676
  - [foehn-modal.component.ts](projects/prestations-ng/src/foehn-modal/foehn-modal.component.ts)
3638
-
3639
3677
  - Improve the accessibility on the `foehn-modal`.
3640
3678
 
3641
3679
  - [foehn-input-phone.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-phone.component.ts)
@@ -3915,7 +3953,6 @@ const routes: Routes = [
3915
3953
  ### Fixed
3916
3954
 
3917
3955
  - [foehn-page.component.ts](projects/prestations-ng/src/foehn-page/foehn-page.component.ts)
3918
-
3919
3956
  - fixed redirection link to cyberlogin when user is connected in the wrong context
3920
3957
 
3921
3958
  - [foehn-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.ts)
@@ -4163,13 +4200,11 @@ const routes: Routes = [
4163
4200
  ### Fixed
4164
4201
 
4165
4202
  - [gesdem-confirmation.component.ts](projects/prestations-ng/src/gesdem-confirmation/gesdem-confirmation.component.ts)
4166
-
4167
4203
  - display link to first page + explicit label when action is still in progress
4168
4204
 
4169
4205
  ### Added
4170
4206
 
4171
4207
  - [gesdem-confirmation.component.ts](projects/prestations-ng/src/gesdem-confirmation/gesdem-confirmation.component.ts)
4172
-
4173
4208
  - manage status ABANDONED in confirmation component
4174
4209
 
4175
4210
  ## [8.27.0] - 2019.04.08
@@ -4202,7 +4237,6 @@ const routes: Routes = [
4202
4237
 
4203
4238
  - Action recovery management : Since prestations-be 6.7.0, the application will be able to secure the recovery of a previously created action by using a session cookie.
4204
4239
  This is made possible in prestations-ng by the following components :
4205
-
4206
4240
  - [gesdem-action-recovery-registration.component.ts](projects/prestations-ng/src/gesdem-action-recovery/gesdem-action-recovery-registration/gesdem-action-recovery-registration.component.ts)
4207
4241
  - Component allowing the user to register for action recovery by providing an email address and a phone number. (integrated in FoehnNavigationComponent)
4208
4242
  - [gesdem-action-recovery-login.component.ts](projects/prestations-ng/src/gesdem-action-recovery/gesdem-action-recovery-login/gesdem-action-recovery-login.component.ts)
@@ -4266,7 +4300,6 @@ const routes: Routes = [
4266
4300
  - [foehn-input-textarea.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-textarea.component.ts)
4267
4301
  - [foehn-input-time.component.ts](projects/prestations-ng/src/foehn-input-time/foehn-input-time.component.ts)
4268
4302
  - [foehn-input-nav13.component.ts](projects/prestations-ng/src/foehn-nav13/foehn-input-nav13.component.ts)
4269
-
4270
4303
  - extends new abstract class `FoehnInputStringComponent` which extends `FoehnInputComponent<string>`
4271
4304
  - trim model on blur (can be desactivated by using new `@Input trimOnBlur:boolean`)
4272
4305
 
@@ -4339,7 +4372,6 @@ const routes: Routes = [
4339
4372
  ### Fixed
4340
4373
 
4341
4374
  - Fix a potential memory leak with `shareReplay` operator following the [update of RxJS to 6.4.0](https://medium.com/@cartant/rxjs-whats-changed-with-sharereplay-65c098843e95).
4342
-
4343
4375
  - [support-alert.service.ts](projects/prestations-ng/src/sdk-support-alert/support-alert.service.ts)
4344
4376
  - [sdk-dictionary.service.ts](projects/prestations-ng/src/sdk-dictionary/sdk-dictionary.service.ts)
4345
4377
 
@@ -4387,7 +4419,6 @@ this.sessionInfoWithApplicationService.prefillForm((info: SessionInfoData) => {
4387
4419
  ### Added
4388
4420
 
4389
4421
  - Add an `isLabelSrOnly` `@Input` giving the possibility to add class `sr-only` (only for screen readers) on tag `<label>` or `<legend>` depending on component
4390
-
4391
4422
  - [foehn-input.component.html](projects/prestations-ng/src/foehn-input/foehn-input.component.html)
4392
4423
  - [foehn-input-textarea.component.html](projects/prestations-ng/src/foehn-input/foehn-input-textarea.component.html)
4393
4424
  - [foehn-boolean-radio.component.html](projects/prestations-ng/src/foehn-boolean/foehn-boolean-radio.component.html)
@@ -4405,7 +4436,6 @@ this.sessionInfoWithApplicationService.prefillForm((info: SessionInfoData) => {
4405
4436
  ### Modified
4406
4437
 
4407
4438
  - [foehn-validation-alert-summary.component.html](projects/prestations-ng/src/foehn-validation-alert-summary/foehn-validation-alert-summary.component.html)
4408
-
4409
4439
  - Component label is now displayed in a `<span>` with `innerHTML`
4410
4440
 
4411
4441
  - [foehn-input-nav13.component.ts](projects/prestations-ng/src/foehn-nav13/foehn-input-nav13.component.ts)
@@ -4966,7 +4996,6 @@ Due to side effects introduced in some applications (wrong error message behavio
4966
4996
  for the first time)
4967
4997
 
4968
4998
  - [abstract-page-component.ts](projects/prestations-ng/src/abstract-page-component.ts)
4969
-
4970
4999
  - When first loading the page never show errors (even when the action already exists)
4971
5000
 
4972
5001
  - [application-info.service.ts](projects/prestations-ng/src/sdk-appinfo/application-info.service.ts)
@@ -4995,7 +5024,6 @@ for the first time)
4995
5024
  ### Fixed
4996
5025
 
4997
5026
  - [foehn-input.component.html](projects/prestations-ng/src/foehn-input/foehn-input.component.html)
4998
-
4999
5027
  - Fix invalid aria-\* attributes
5000
5028
 
5001
5029
  - [foehn-autocomplete.component.html](projects/prestations-ng/src/foehn-autocomplete/foehn-autocomplete.component.html)
@@ -5020,7 +5048,6 @@ for the first time)
5020
5048
  ### Added
5021
5049
 
5022
5050
  - [ide-formatter.directive.ts](projects/prestations-ng/src/directives/ide-formatter.directive.ts)
5023
-
5024
5051
  - Adds a directive to format a company ide code.
5025
5052
  Example:
5026
5053
 
@@ -5056,7 +5083,7 @@ for the first time)
5056
5083
  ```javascript
5057
5084
  // Typical usage
5058
5085
  breadcrumbService.setConfiguration({
5059
- prestationCode: '101016'
5086
+ prestationCode: '101016',
5060
5087
  });
5061
5088
 
5062
5089
  // All options
@@ -5065,12 +5092,11 @@ breadcrumbService.setConfiguration({
5065
5092
  allPrestationsUrl: '/100002/prestations',
5066
5093
  vdChUrl: 'https://www.vd.ch/',
5067
5094
  descriptionPageBaseUrl: 'https://www.vd.ch/go.to?prestation=',
5068
- prestationCode: '101016'
5095
+ prestationCode: '101016',
5069
5096
  });
5070
5097
  ```
5071
5098
 
5072
5099
  - [foehn-notfound.component.ts](projects/prestations-ng/src/foehn-notfound/foehn-notfound.component.ts)
5073
-
5074
5100
  - Add a page title to be consistent with other error pages.
5075
5101
 
5076
5102
  - [application-info.service.ts](projects/prestations-ng/src/sdk-appinfo/application-info.service.ts)
@@ -5078,11 +5104,11 @@ breadcrumbService.setConfiguration({
5078
5104
 
5079
5105
  ```javascript
5080
5106
  // Example of usage
5081
- this.applicationInfoService.firstEtapeInfo.subscribe(etapeInfo => {
5107
+ this.applicationInfoService.firstEtapeInfo.subscribe((etapeInfo) => {
5082
5108
  const { titreEtape, idMetierPrestation } = etapeInfo;
5083
5109
 
5084
5110
  this.breadcrumbService.setConfiguration({
5085
- prestationCode: idMetierPrestation
5111
+ prestationCode: idMetierPrestation,
5086
5112
  });
5087
5113
 
5088
5114
  this.appTitle = titreEtape;
@@ -5173,6 +5199,7 @@ If you've added an "Obligatoire" label somewhere in your prestation, please chan
5173
5199
 
5174
5200
  - [foehn-list.component.ts](projects/prestations-ng/src/foehn-list/foehn-list.component.ts)
5175
5201
  - added a list that supports pagination. Example:
5202
+
5176
5203
  ```html
5177
5204
  <foehn-list [list]="list" [itemsPerPage]="10" [trackByFn]="trackByDemande">
5178
5205
  <ng-template let-element="item" let-index="index">
@@ -5181,6 +5208,7 @@ If you've added an "Obligatoire" label somewhere in your prestation, please chan
5181
5208
  </foehn-list>
5182
5209
  `
5183
5210
  ```
5211
+
5184
5212
  - itemsPerPage is 10, if none provided
5185
5213
  - trackBy is done on index, if no trackBy function is provided
5186
5214
 
@@ -5243,7 +5271,6 @@ If you've added an "Obligatoire" label somewhere in your prestation, please chan
5243
5271
  - [breadcrumb-event.service](projects/prestations-ng/src/foehn-breadcrumb/breadcrumb-event.service.ts)
5244
5272
  - `setCurrentBreadcrumb(currentItem: BreadcrumbItem)` Set the current breadcrumb
5245
5273
  - Migration to Foehn 0.52.2. BREAKING CHANGES
5246
-
5247
5274
  - The library no longer includes all Font Awesome icons. If a prestation is using `<i class="fa fa-something"` to
5248
5275
  display an icon, the prestation must include and import the icon itself similar to what's done in
5249
5276
  `src/foehn.icons.module.ts`. Alternatively, the prestation can use one of the `<foehn-icon-*` from the list below.
@@ -5312,7 +5339,6 @@ If you've added an "Obligatoire" label somewhere in your prestation, please chan
5312
5339
  ### Added
5313
5340
 
5314
5341
  - [currency-formatter.directive.ts](projects/prestations-ng/src/directives/currency-formatter.directive.ts)
5315
-
5316
5342
  - Adds a directive to format a currency input on a foehn-input-number.
5317
5343
  Example:
5318
5344
 
@@ -5352,7 +5378,6 @@ If you've added an "Obligatoire" label somewhere in your prestation, please chan
5352
5378
  ### Added
5353
5379
 
5354
5380
  - [currency-formatter.directive.ts](projects/prestations-ng/src/directives/currency-formatter.directive.ts)
5355
-
5356
5381
  - Adds a directive to format a currency input.
5357
5382
  Example:
5358
5383
 
@@ -5372,7 +5397,6 @@ If you've added an "Obligatoire" label somewhere in your prestation, please chan
5372
5397
  ### Added
5373
5398
 
5374
5399
  - [ndc-formatter.directive.ts](projects/prestations-ng/src/directives/ndc-formatter.directive.ts)
5375
-
5376
5400
  - Adds a directive to format a swiss taxpayer code.
5377
5401
  Example:
5378
5402
 
@@ -5385,7 +5409,6 @@ If you've added an "Obligatoire" label somewhere in your prestation, please chan
5385
5409
  ### Added
5386
5410
 
5387
5411
  - [sdk-dictionary.pipe.ts](projects/prestations-ng/src/sdk-dictionary/sdk-dictionary.pipe.ts)
5388
-
5389
5412
  - Add a simple pipe to get the data from the dictionary assuming the prestation supports calls to /api/dictionary.
5390
5413
  Example:
5391
5414
 
@@ -5398,7 +5421,6 @@ If you've added an "Obligatoire" label somewhere in your prestation, please chan
5398
5421
  ### Added
5399
5422
 
5400
5423
  - [foehn-navigation.component.ts](projects/prestations-ng/src/foehn-navigation/foehn-navigation/foehn-navigation.component.ts)
5401
-
5402
5424
  - The navigation component now evaluates canActivate guards on the children routes when doing a next() and a
5403
5425
  previous(). Only supports guards returning a boolean. This feature is useful to create dynamic workflow based
5404
5426
  on user inputs.
@@ -5418,7 +5440,6 @@ If you've added an "Obligatoire" label somewhere in your prestation, please chan
5418
5440
  ### Changed
5419
5441
 
5420
5442
  - [backend-reponse.ts](projects/prestations-ng/src/backend-response.ts)
5421
-
5422
5443
  - Added initialisationDateTime and transfertDateTime in class GesdemMeta. InitialisationDate and transferDate are still available.
5423
5444
 
5424
5445
  - [foehn-modal.component.html](projects/prestations-ng/src/foehn-modal/foehn-modal.component.html)