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

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.1.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/COMPONENTS.md ADDED
@@ -0,0 +1,350 @@
1
+ # Components and features provided by prestations-ng (Standalone)
2
+
3
+ As of this version, all prestations-ng components and directives are **standalone**.
4
+ There are no more `NgModule`s — components are imported directly in the `imports` array of other standalone components, and providers are configured via `provide*()` functions.
5
+
6
+ ## Core setup (required)
7
+
8
+ [providePrestationsNgCore](projects/prestations-ng/src/provide-prestations-ng-core.ts)
9
+
10
+ Provides the core prestations-ng configuration: HTTP interceptors, chunk load error handling, and FontAwesome configuration.
11
+
12
+ **IMPORTANT**: this function **MUST** be called in the providers of `bootstrapApplication`.
13
+
14
+ ```typescript
15
+ import { bootstrapApplication } from '@angular/platform-browser';
16
+ import { providePrestationsNgCore } from '@dsivd/prestations-ng/provide-prestations-ng-core';
17
+ import { provideRouter } from '@angular/router';
18
+
19
+ import { AppComponent } from './app/app.component';
20
+ import { routes } from './app/app.routes';
21
+
22
+ bootstrapApplication(AppComponent, {
23
+ providers: [providePrestationsNgCore(), provideRouter(routes)],
24
+ });
25
+ ```
26
+
27
+ Provides:
28
+
29
+ - `IamExpiredInterceptorService` (HTTP interceptor)
30
+ - `oidcNotAuthenticatedInterceptor` (functional interceptor)
31
+ - `ChunkLoadErrorHandler` (ErrorHandler)
32
+ - FontAwesome configuration (disables CSS auto-injection for CSP compliance)
33
+
34
+ ## Formatter Directives
35
+
36
+ Import the standalone directives directly:
37
+
38
+ - `CurrencyFormatterDirective` — selector `currencyFormatter`
39
+ - `NdcFormatterDirective` — selector `ndcFormatter`
40
+ - `IdeFormatterDirective` — selector `ideFormatter`
41
+ - `IbanFormatterDirective` — selector `ibanFormatter`
42
+
43
+ ```typescript
44
+ import { CurrencyFormatterDirective } from '@dsivd/prestations-ng';
45
+
46
+ @Component({
47
+ imports: [CurrencyFormatterDirective]
48
+ })
49
+ ```
50
+
51
+ ## Pipes
52
+
53
+ Import the standalone pipes directly:
54
+
55
+ - `DisplayDatePipe` — `displayDate`
56
+ - `FormatIdePipe` — `formatIde`
57
+ - `CurrencyPipe` — `currency`
58
+ - `SdkDictionaryPipe` — `fromDictionary`
59
+
60
+ ```typescript
61
+ import { DisplayDatePipe, SdkDictionaryPipe } from '@dsivd/prestations-ng';
62
+
63
+ @Component({
64
+ imports: [DisplayDatePipe, SdkDictionaryPipe]
65
+ })
66
+ ```
67
+
68
+ ## Foehn Input
69
+
70
+ Standalone components for input fields:
71
+
72
+ - `FoehnInputTextComponent` — `foehn-input-text`
73
+ - `FoehnInputNumberComponent` — `foehn-input-number`
74
+ - `FoehnInputEmailComponent` — `foehn-input-email`
75
+ - `FoehnInputHiddenComponent` — `foehn-input-hidden`
76
+ - `FoehnInputPasswordComponent` — `foehn-input-password`
77
+ - `FoehnInputTextareaComponent` — `foehn-input-textarea`
78
+ - `FoehnInputPhoneComponent` — `foehn-input-phone`
79
+ - `FoehnInputPrefixedTextComponent` — `foehn-input-prefixed-text`
80
+ - `FoehnInputDateComponent` — `foehn-date`
81
+ - `FoehnInputDateTimeComponent` — `foehn-date-time`
82
+ - `FoehnInputTimeComponent` — `foehn-time`
83
+
84
+ ## Foehn Checkable
85
+
86
+ Standalone components for checkable/selectable fields:
87
+
88
+ - `FoehnCheckboxComponent` — `foehn-checkbox` (multiple only; for a simple checkbox use `foehn-boolean-checkbox`)
89
+ - `FoehnRadioComponent` — `foehn-radio`
90
+ - `FoehnSelectComponent` — `foehn-select`
91
+
92
+ ## Foehn Autocomplete
93
+
94
+ - `FoehnAutocompleteComponent` — `foehn-autocomplete`
95
+ - `FoehnMultiselectAutocompleteComponent` — `foehn-multiselect-autocomplete`
96
+
97
+ ## Foehn Address
98
+
99
+ - `FoehnInputAddressComponent` — `foehn-input-address`
100
+ - `FoehnDisplayAddressComponent` — `foehn-display-address`
101
+ - `FoehnInputForeignLocalityComponent` — `foehn-input-foreign-locality`
102
+ - `FoehnInputForeignStreetComponent` — `foehn-input-foreign-street`
103
+
104
+ ## Foehn Boolean
105
+
106
+ - `FoehnBooleanCheckboxComponent` — `foehn-boolean-checkbox`
107
+ - `FoehnBooleanRadioComponent` — `foehn-boolean-radio`
108
+
109
+ ## Foehn Breadcrumb
110
+
111
+ - `FoehnBreadcrumbComponent` — `foehn-breadcrumb`
112
+
113
+ ## Foehn Header
114
+
115
+ - `FoehnHeaderComponent` — `foehn-header`
116
+ - `FoehnSkipLinkComponent` — `foehn-skip-link`
117
+
118
+ ## Foehn Footer
119
+
120
+ - `FoehnFooterComponent` — `foehn-footer`
121
+
122
+ ## Foehn Form
123
+
124
+ - `FoehnFormComponent` — `foehn-form`
125
+
126
+ ## Foehn Growl
127
+
128
+ - `FoehnGrowlComponent` — `foehn-growl`
129
+
130
+ ## Foehn Icons
131
+
132
+ Standalone icon components:
133
+
134
+ - `FoehnIconCalendarComponent` — `foehn-icon-calendar`
135
+ - `FoehnIconCheckComponent` — `foehn-icon-check`
136
+ - `FoehnIconCheckSquareOComponent` — `foehn-icon-check-square-o`
137
+ - `FoehnIconChevronDownComponent` — `foehn-icon-chevron-down`
138
+ - `FoehnIconChevronUpComponent` — `foehn-icon-chevron-up`
139
+ - `FoehnIconChevronRightComponent` — `foehn-icon-chevron-right`
140
+ - `FoehnIconChevronLeftComponent` — `foehn-icon-chevron-left`
141
+ - `FoehnIconClockComponent` — `foehn-icon-clock`
142
+ - `FoehnIconCommentDotsComponent` — `foehn-icon-comment-dots`
143
+ - `FoehnIconEditComponent` — `foehn-icon-edit`
144
+ - `FoehnIconExternalLinkAltComponent` — `foehn-icon-external-link-alt`
145
+ - `FoehnIconInfoCircleComponent` — `foehn-icon-info-circle`
146
+ - `FoehnIconLockComponent` — `foehn-icon-lock`
147
+ - `FoehnIconMapMarkerComponent` — `foehn-icon-map-marker`
148
+ - `FoehnIconMinusCircleComponent` — `foehn-icon-minus-circle`
149
+ - `FoehnIconPlusCircleComponent` — `foehn-icon-plus-circle`
150
+ - `FoehnIconPlusSquareComponent` — `foehn-icon-plus-square`
151
+ - `FoehnIconSearchComponent` — `foehn-icon-search`
152
+ - `FoehnIconTimesComponent` — `foehn-icon-times`
153
+ - `FoehnIconTrashAltComponent` — `foehn-icon-trash-alt`
154
+ - `FoehnIconUnlockAltComponent` — `foehn-icon-unlock-alt`
155
+ - `FoehnIconFilePdfComponent` — `foehn-icon-file-pdf`
156
+ - `FoehnIconPencilComponent` — `foehn-icon-pencil`
157
+ - `FoehnIconUserComponent` — `foehn-icon-user`
158
+
159
+ ## Foehn List
160
+
161
+ - `FoehnListComponent` — `foehn-list`
162
+
163
+ ## Foehn Table
164
+
165
+ - `FoehnTableComponent` — `foehn-table`
166
+
167
+ ## Foehn Modal
168
+
169
+ - `FoehnModalComponent` — `foehn-modal`
170
+ - `FoehnPageModalComponent` — `foehn-page-modal`
171
+
172
+ ## Foehn Help Modal
173
+
174
+ - `FoehnHelpModalComponent` — `foehn-help-modal`
175
+
176
+ ## Foehn Confirm Modal
177
+
178
+ - `FoehnConfirmModalComponent` — `foehn-confirm-modal`
179
+ - `FoehnConfirmModalService` — injectable service
180
+
181
+ ## Foehn Input Nav13 (AVS)
182
+
183
+ - `FoehnInputNav13Component` — `foehn-input-nav13`
184
+
185
+ ## Foehn Navigation
186
+
187
+ - `FoehnNavigationComponent` — `foehn-navigation`
188
+ - `FoehnSimpleNavigationComponent` — `foehn-simple-navigation`
189
+ - `FoehnNavigationService` — injectable service
190
+
191
+ ## Foehn Not Found
192
+
193
+ - `FoehnNotfoundComponent` — `foehn-notfound` (can be used in the router)
194
+
195
+ ## Foehn Page
196
+
197
+ - `FoehnPageComponent` — `foehn-page`
198
+ - `FoehnPageCounterComponent` — `foehn-page-counter`
199
+ - `FoehnPageExpirationTimerComponent` — `foehn-page-expiration-timer`
200
+
201
+ ## Foehn Status Progress Bar
202
+
203
+ - `FoehnStatusProgressBarComponent` — `foehn-status-progress-bar`
204
+
205
+ ## Foehn Remaining Alerts Summary
206
+
207
+ - `FoehnRemainingAlertsSummaryComponent` — `foehn-remaining-alerts-summary`
208
+
209
+ ## Foehn Validation Alert Summary
210
+
211
+ - `FoehnValidationAlertSummaryComponent` — `foehn-validation-alert-summary`
212
+
213
+ ## Foehn Validation Alerts
214
+
215
+ - `FoehnValidationAlertsComponent` — `foehn-validation-alerts`
216
+
217
+ ## GesDem Confirmation Page
218
+
219
+ - `GesdemConfirmationComponent` — `gesdem-confirmation` (can be used in the router or as a super-class)
220
+
221
+ ## GesDem Error Page
222
+
223
+ - `GesdemErrorComponent` — `gesdem-error` (can be used in the router)
224
+
225
+ ## SDK Dictionary
226
+
227
+ - `SdkDictionaryService` — injectable service
228
+ - `SdkDictionaryPipe` — pipe `fromDictionary`
229
+
230
+ ## SDK Captcha
231
+
232
+ - `SdkRecaptchaComponent` — `captcha`
233
+ - `RecaptchaService` — injectable service
234
+
235
+ ## SDK Redirect
236
+
237
+ - `RedirectComponent` — `redirector`
238
+
239
+ ## Foehn Multi Upload
240
+
241
+ - `FoehnMultiUploadComponent` — `foehn-multi-upload`
242
+
243
+ ## Foehn Bo Multi Upload
244
+
245
+ - `FoehnBoMultiUploadComponent` — `foehn-bo-multi-upload`
246
+
247
+ ## Foehn Picture Upload
248
+
249
+ - `FoehnPictureUploadComponent` — `foehn-picture-upload`
250
+
251
+ ## Foehn Upload Progress Bar
252
+
253
+ - `FoehnUploadProgressBarComponent` — `foehn-upload-progress-bar`
254
+ - `FoehnGlobalUploadProgressBarComponent` — `foehn-global-upload-progress-bar`
255
+
256
+ ## Foehn Recap Section
257
+
258
+ - `FoehnRecapSectionComponent` — `foehn-recap-section`
259
+
260
+ ## Foehn User Connected As
261
+
262
+ - `FoehnUserConnectedAsComponent` — `foehn-user-connected-as`
263
+
264
+ ## Foehn Miscellaneous
265
+
266
+ - `FoehnAbbrComponent` — `foehn-abbr`
267
+
268
+ ## Foehn Menu Prestation
269
+
270
+ - `FoehnErrorPillComponent` — `foehn-error-pill`
271
+ - `FoehnMenuItemComponent` — `foehn-menu-item`
272
+ - `FoehnMenuItemTransmitComponent` — `foehn-menu-item-transmit`
273
+ - `FoehnListSummaryComponent` — `foehn-list-summary`
274
+
275
+ ## Foehn Date Picker
276
+
277
+ - `FoehnDatePickerComponent` — `foehn-date-picker`
278
+ - `FoehnDatePickerButtonComponent` — `foehn-date-picker-button`
279
+
280
+ ## Foehn Decision Electronique
281
+
282
+ - `FoehnDecisionElectroniqueComponent` — `foehn-decision-electronique`
283
+
284
+ ## Foehn Agenda
285
+
286
+ - `FoehnAgendaComponent` — `foehn-agenda`
287
+ - `FoehnAgendaNavigationComponent` — `foehn-agenda-navigation`
288
+ - `FoehnAgendaTimeslotPanelComponent` — `foehn-agenda-timeslot-panel`
289
+
290
+ ## Foehn Dropdown Menu
291
+
292
+ - `FoehnDropdownMenuComponent` — `foehn-dropdown-menu`
293
+
294
+ ## Foehn Feedback Notification
295
+
296
+ - `FoehnFeedbackNotificationComponent` — `foehn-feedback-notification`
297
+
298
+ ## SDK Payment (ePayment)
299
+
300
+ - `SdkEpaymentComponent` — `sdk-epayment`
301
+ - `PendingPaymentComponent` — `pending-payment`
302
+ - `SdkEpaymentService` — injectable service
303
+
304
+ ## GesDem Action Recovery
305
+
306
+ - `GesdemActionRecoveryLoginComponent` — login recovery component
307
+ - `GesdemActionRecoveryRegistrationComponent` — registration recovery component
308
+
309
+ ## Foehn Transmit Waiting Modal
310
+
311
+ - `FoehnTransmitWaitingModalComponent` — `foehn-transmit-waiting-modal`
312
+ - `FoehnTransmitWaitingModalService` — injectable service
313
+
314
+ ---
315
+
316
+ ## Migrating from NgModules
317
+
318
+ If you are migrating from a previous version that uses NgModules:
319
+
320
+ 1. **Replace `PrestationsNgCoreModule`** with `providePrestationsNgCore()` in the providers of `bootstrapApplication`.
321
+
322
+ 2. **Remove all module imports** (`FoehnInputModule`, `FoehnCheckablesModule`, etc.) and import standalone components directly in the `imports` array of your components.
323
+
324
+ 3. **Convert your components to standalone** and directly import the prestations-ng components you need:
325
+
326
+ ```typescript
327
+ // Before (with NgModule)
328
+ @NgModule({
329
+ imports: [FoehnInputModule, FoehnCheckablesModule],
330
+ declarations: [MyPageComponent],
331
+ })
332
+ export class MyPageModule {}
333
+
334
+ // After (standalone) (no need to add "standalone: true" because it's the default behavior)
335
+ @Component({
336
+ imports: [FoehnInputTextComponent, FoehnSelectComponent],
337
+ templateUrl: './my-page.component.html',
338
+ })
339
+ export class MyPageComponent {}
340
+ ```
341
+
342
+ 4. **Replace module-based `loadChildren`** with route files:
343
+
344
+ ```typescript
345
+ // Before
346
+ { path: 'page', loadChildren: () => import('./page/page.module').then(m => m.PageModule) }
347
+
348
+ // After
349
+ { path: 'page', loadChildren: () => import('./page/page.routes').then(m => m.ROUTES) }
350
+ ```
package/CONTRIBUTING.md CHANGED
@@ -72,7 +72,6 @@ run `npm run test:schematics` (at root level).
72
72
  ### Testing into a project such as **skeleton**
73
73
 
74
74
  - **In prestations-ng**:
75
-
76
75
  - if it is the first time, execute `npm install` then `npm run build:lib` (at root level)
77
76
  - `cd dist/prestations-ng && npm link` (it's critical to link the content of `dist/prestations-ng`, not the root)
78
77
  - `npm run build:lib:dev` (at root level)
@@ -87,15 +86,14 @@ If you want to test `ng-update`, you will need to release the library under a be
87
86
 
88
87
  **NB: Do not forget to add your utility into ng-add and ng-update schematics**
89
88
 
90
- ## Adding a module
89
+ ## Adding a standalone component
91
90
 
92
- In case you're adding or modifying a `*.module.ts`, please update [MODULES.md](MODULES.md).
91
+ In case you're adding or modifying a `*.component.ts`, please update [COMPONENTS.md](COMPONENTS.md).
93
92
 
94
93
  ## Adding an icon
95
94
 
96
95
  - Create a `.ts` and `.html` similar to `foehn-icon-lock.component`, and replace the name of the icon accordingly
97
96
  - Add a `title` for accessibility
98
- - Import and export the new `*.component.ts` in [foehn-icons.module.ts](projects/prestations-ng/src/foehn-icons/foehn-icons.module.ts)
99
97
 
100
98
  ## Notes about linting, formatting and pre-commit hooks
101
99