@dsivd/prestations-ng 17.1.0 → 17.1.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 (217) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/UPGRADING_V17.md +49 -6
  3. package/dsivd-prestations-ng-17.1.2.tgz +0 -0
  4. package/esm2022/abstract-page-component.mjs +3 -3
  5. package/esm2022/directives/currency-formatter.directive.mjs +3 -3
  6. package/esm2022/directives/formatter.module.mjs +4 -4
  7. package/esm2022/directives/iban-formatter.directive.mjs +3 -3
  8. package/esm2022/directives/ide-formatter.directive.mjs +3 -3
  9. package/esm2022/directives/ndc-formatter.directive.mjs +3 -3
  10. package/esm2022/foehn-address/foehn-address.module.mjs +4 -4
  11. package/esm2022/foehn-address/foehn-display-address.component.mjs +3 -3
  12. package/esm2022/foehn-address/foehn-input-address.component.mjs +3 -3
  13. package/esm2022/foehn-address/foehn-input-foreign-locality.component.mjs +3 -3
  14. package/esm2022/foehn-address/foehn-input-foreign-street.component.mjs +3 -3
  15. package/esm2022/foehn-agenda/foehn-agenda-navigation/foehn-agenda-navigation.component.mjs +3 -3
  16. package/esm2022/foehn-agenda/foehn-agenda-timeslot-panel/foehn-agenda-timeslot-panel.component.mjs +3 -3
  17. package/esm2022/foehn-agenda/foehn-agenda.component.mjs +3 -3
  18. package/esm2022/foehn-agenda/foehn-agenda.module.mjs +4 -4
  19. package/esm2022/foehn-autocomplete/foehn-autocomplete.component.mjs +3 -3
  20. package/esm2022/foehn-autocomplete/foehn-autocomplete.module.mjs +4 -4
  21. package/esm2022/foehn-boolean/foehn-boolean-checkbox.component.mjs +3 -3
  22. package/esm2022/foehn-boolean/foehn-boolean-radio.component.mjs +3 -3
  23. package/esm2022/foehn-boolean/foehn-boolean.module.mjs +4 -4
  24. package/esm2022/foehn-breadcrumb/breadcrumb-event.service.mjs +3 -3
  25. package/esm2022/foehn-breadcrumb/foehn-breadcrumb.component.mjs +3 -3
  26. package/esm2022/foehn-breadcrumb/foehn-breadcrumb.module.mjs +4 -4
  27. package/esm2022/foehn-checkables/foehn-checkable-group.component.mjs +3 -3
  28. package/esm2022/foehn-checkables/foehn-checkables.module.mjs +4 -4
  29. package/esm2022/foehn-checkables/foehn-checkbox.component.mjs +3 -3
  30. package/esm2022/foehn-checkables/foehn-radio.component.mjs +3 -3
  31. package/esm2022/foehn-checkables/foehn-select.component.mjs +3 -3
  32. package/esm2022/foehn-confirm-modal/foehn-confirm-modal.component.mjs +3 -3
  33. package/esm2022/foehn-confirm-modal/foehn-confirm-modal.module.mjs +4 -4
  34. package/esm2022/foehn-confirm-modal/foehn-confirm-modal.service.mjs +3 -3
  35. package/esm2022/foehn-date-picker/foehn-date-picker.component.mjs +3 -3
  36. package/esm2022/foehn-date-picker/foehn-date-picker.module.mjs +4 -4
  37. package/esm2022/foehn-date-picker-button/foehn-date-picker-button.component.mjs +3 -3
  38. package/esm2022/foehn-date-picker-button/foehn-date-picker-button.module.mjs +4 -4
  39. package/esm2022/foehn-debug-summary/foehn-debug-summary.component.mjs +3 -3
  40. package/esm2022/foehn-debug-summary/foehn-debug-summary.component.module.mjs +4 -4
  41. package/esm2022/foehn-decision-electronique/foehn-decision-electronique.component.mjs +3 -3
  42. package/esm2022/foehn-decision-electronique/foehn-decision-electronique.module.mjs +4 -4
  43. package/esm2022/foehn-dropdown-menu/foehn-dropdown-menu.component.mjs +3 -3
  44. package/esm2022/foehn-dropdown-menu/foehn-dropdown-menu.module.mjs +4 -4
  45. package/esm2022/foehn-feedback-notification/foehn-feedback-notification.component.mjs +3 -3
  46. package/esm2022/foehn-feedback-notification/foehn-feedback-notification.module.mjs +4 -4
  47. package/esm2022/foehn-footer/foehn-footer.component.mjs +3 -3
  48. package/esm2022/foehn-footer/foehn-footer.module.mjs +4 -4
  49. package/esm2022/foehn-form/foehn-form.component.mjs +3 -3
  50. package/esm2022/foehn-form/foehn-form.module.mjs +4 -4
  51. package/esm2022/foehn-form/register-ng-model.service.mjs +3 -3
  52. package/esm2022/foehn-growl/foehn-growl.component.mjs +3 -3
  53. package/esm2022/foehn-growl/foehn-growl.module.mjs +4 -4
  54. package/esm2022/foehn-growl/growl-broker.service.mjs +3 -3
  55. package/esm2022/foehn-header/foehn-header.component.mjs +3 -3
  56. package/esm2022/foehn-header/foehn-header.module.mjs +4 -4
  57. package/esm2022/foehn-header/foehn-skip-link.component.mjs +3 -3
  58. package/esm2022/foehn-help-modal/foehn-help-modal.component.mjs +3 -3
  59. package/esm2022/foehn-help-modal/foehn-help-modal.module.mjs +4 -4
  60. package/esm2022/foehn-icons/abstract-icon-component.mjs +3 -3
  61. package/esm2022/foehn-icons/foehn-icon-calendar.component.mjs +3 -3
  62. package/esm2022/foehn-icons/foehn-icon-check-square-o.component.mjs +3 -3
  63. package/esm2022/foehn-icons/foehn-icon-check.component.mjs +3 -3
  64. package/esm2022/foehn-icons/foehn-icon-chevron-down.component.mjs +3 -3
  65. package/esm2022/foehn-icons/foehn-icon-chevron-left.component.mjs +3 -3
  66. package/esm2022/foehn-icons/foehn-icon-chevron-right.component.mjs +3 -3
  67. package/esm2022/foehn-icons/foehn-icon-chevron-up.component.mjs +3 -3
  68. package/esm2022/foehn-icons/foehn-icon-clock.component.mjs +3 -3
  69. package/esm2022/foehn-icons/foehn-icon-comment-dots.component.mjs +3 -3
  70. package/esm2022/foehn-icons/foehn-icon-edit.component.mjs +3 -3
  71. package/esm2022/foehn-icons/foehn-icon-external-link-alt.component.mjs +3 -3
  72. package/esm2022/foehn-icons/foehn-icon-file-pdf.component.mjs +3 -3
  73. package/esm2022/foehn-icons/foehn-icon-info-circle.component.mjs +3 -3
  74. package/esm2022/foehn-icons/foehn-icon-lock.component.mjs +3 -3
  75. package/esm2022/foehn-icons/foehn-icon-map-marker.component.mjs +3 -3
  76. package/esm2022/foehn-icons/foehn-icon-minus-circle.component.mjs +3 -3
  77. package/esm2022/foehn-icons/foehn-icon-pencil.component.mjs +3 -3
  78. package/esm2022/foehn-icons/foehn-icon-plus-circle.component.mjs +3 -3
  79. package/esm2022/foehn-icons/foehn-icon-plus-square.component.mjs +3 -3
  80. package/esm2022/foehn-icons/foehn-icon-search.component.mjs +3 -3
  81. package/esm2022/foehn-icons/foehn-icon-times.component.mjs +3 -3
  82. package/esm2022/foehn-icons/foehn-icon-trash-alt.component.mjs +3 -3
  83. package/esm2022/foehn-icons/foehn-icon-unlock-alt.component.mjs +3 -3
  84. package/esm2022/foehn-icons/foehn-icon-user.component.mjs +3 -3
  85. package/esm2022/foehn-icons/foehn-icons.module.mjs +4 -4
  86. package/esm2022/foehn-input/foehn-input-email.component.mjs +3 -3
  87. package/esm2022/foehn-input/foehn-input-hidden.component.mjs +3 -3
  88. package/esm2022/foehn-input/foehn-input-number.component.mjs +3 -3
  89. package/esm2022/foehn-input/foehn-input-password.component.mjs +3 -3
  90. package/esm2022/foehn-input/foehn-input-phone.component.mjs +3 -3
  91. package/esm2022/foehn-input/foehn-input-prefixed-text.component.mjs +3 -3
  92. package/esm2022/foehn-input/foehn-input-string.component.mjs +3 -3
  93. package/esm2022/foehn-input/foehn-input-text.component.mjs +3 -3
  94. package/esm2022/foehn-input/foehn-input-textarea.component.mjs +3 -3
  95. package/esm2022/foehn-input/foehn-input.component.mjs +3 -3
  96. package/esm2022/foehn-input/foehn-input.module.mjs +4 -4
  97. package/esm2022/foehn-input-date/foehn-input-date.component.mjs +3 -3
  98. package/esm2022/foehn-input-date-time/foehn-input-date-time.component.mjs +3 -3
  99. package/esm2022/foehn-input-time/foehn-input-time.component.mjs +3 -3
  100. package/esm2022/foehn-list/foehn-list.component.mjs +3 -3
  101. package/esm2022/foehn-list/foehn-list.module.mjs +4 -4
  102. package/esm2022/foehn-menu-prestation/abstract-list-item-detail-page.component.mjs +3 -3
  103. package/esm2022/foehn-menu-prestation/abstract-menu-page.component.mjs +3 -3
  104. package/esm2022/foehn-menu-prestation/abstract-page-from-menu.component.mjs +3 -3
  105. package/esm2022/foehn-menu-prestation/foehn-error-pill/foehn-error-pill.component.mjs +3 -3
  106. package/esm2022/foehn-menu-prestation/foehn-list-summary/foehn-list-summary.component.mjs +4 -4
  107. package/esm2022/foehn-menu-prestation/foehn-menu-items/foehn-menu-item/foehn-menu-item.component.mjs +3 -3
  108. package/esm2022/foehn-menu-prestation/foehn-menu-items/foehn-menu-item-transmit/foehn-menu-item-transmit.component.mjs +3 -3
  109. package/esm2022/foehn-menu-prestation/foehn-menu-prestation.module.mjs +4 -4
  110. package/esm2022/foehn-misc/foehn-abbr.component.mjs +3 -3
  111. package/esm2022/foehn-misc/foehn-misc.module.mjs +4 -4
  112. package/esm2022/foehn-modal/foehn-modal.component.mjs +3 -3
  113. package/esm2022/foehn-modal/foehn-modal.module.mjs +4 -4
  114. package/esm2022/foehn-multiselect-autocomplete/foehn-multiselect-autocomplete.component.mjs +3 -3
  115. package/esm2022/foehn-multiselect-autocomplete/foehn-multiselect-autocomplete.module.mjs +4 -4
  116. package/esm2022/foehn-nav13/foehn-input-nav13.component.mjs +3 -3
  117. package/esm2022/foehn-nav13/foehn-input-nav13.module.mjs +4 -4
  118. package/esm2022/foehn-navigation/abstract-foehn-navigation.component.mjs +3 -3
  119. package/esm2022/foehn-navigation/foehn-navigation/foehn-navigation.component.mjs +3 -3
  120. package/esm2022/foehn-navigation/foehn-navigation.module.mjs +4 -4
  121. package/esm2022/foehn-navigation/foehn-navigation.service.mjs +3 -3
  122. package/esm2022/foehn-navigation/foehn-simple-navigation/foehn-simple-navigation.component.mjs +3 -3
  123. package/esm2022/foehn-notfound/foehn-notfound.component.mjs +3 -3
  124. package/esm2022/foehn-notfound/foehn-notfound.module.mjs +4 -4
  125. package/esm2022/foehn-page/foehn-page-counter.component.mjs +3 -3
  126. package/esm2022/foehn-page/foehn-page-expiration-timer/demande-expiration-interceptor.mjs +3 -3
  127. package/esm2022/foehn-page/foehn-page-expiration-timer/demande-expiration.service.mjs +3 -3
  128. package/esm2022/foehn-page/foehn-page-expiration-timer/foehn-page-expiration-timer.component.mjs +3 -3
  129. package/esm2022/foehn-page/foehn-page-modal.component.mjs +3 -3
  130. package/esm2022/foehn-page/foehn-page-modal.service.mjs +3 -3
  131. package/esm2022/foehn-page/foehn-page.component.mjs +3 -3
  132. package/esm2022/foehn-page/foehn-page.module.mjs +4 -4
  133. package/esm2022/foehn-page/foehn-page.service.mjs +3 -3
  134. package/esm2022/foehn-page/foehn-transmit-waiting-modal/demande-transmit-interceptor.mjs +3 -3
  135. package/esm2022/foehn-page/foehn-transmit-waiting-modal/foehn-transmit-waiting-modal.component.mjs +3 -3
  136. package/esm2022/foehn-page/foehn-transmit-waiting-modal/foehn-transmit-waiting-modal.service.mjs +3 -3
  137. package/esm2022/foehn-recap-section/foehn-recap-section.component.mjs +3 -3
  138. package/esm2022/foehn-recap-section/foehn-recap-section.module.mjs +4 -4
  139. package/esm2022/foehn-remaining-alerts-summary/foehn-remaining-alerts-summary.component.mjs +3 -3
  140. package/esm2022/foehn-remaining-alerts-summary/foehn-remaining-alerts-summary.module.mjs +4 -4
  141. package/esm2022/foehn-status-progress-bar/foehn-status-progress-bar.component.mjs +3 -3
  142. package/esm2022/foehn-status-progress-bar/foehn-status-progress-bar.module.mjs +4 -4
  143. package/esm2022/foehn-table/foehn-table.component.mjs +14 -5
  144. package/esm2022/foehn-table/foehn-table.module.mjs +4 -4
  145. package/esm2022/foehn-table/row-element.type.mjs +3 -0
  146. package/esm2022/foehn-upload/abstract-foehn-uploader.component.mjs +3 -3
  147. package/esm2022/foehn-upload/foehn-bo-multi-upload/bo-multi-upload.service.mjs +3 -3
  148. package/esm2022/foehn-upload/foehn-bo-multi-upload/foehn-bo-multi-upload.component.mjs +3 -3
  149. package/esm2022/foehn-upload/foehn-bo-multi-upload/foehn-bo-multi-upload.module.mjs +4 -4
  150. package/esm2022/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.mjs +3 -3
  151. package/esm2022/foehn-upload/foehn-multi-upload/foehn-multi-upload.module.mjs +4 -4
  152. package/esm2022/foehn-upload/foehn-multi-upload/multi-upload.service.mjs +3 -3
  153. package/esm2022/foehn-upload/foehn-multi-upload/pending-upload.service.mjs +3 -3
  154. package/esm2022/foehn-upload/foehn-picture-upload/foehn-picture-upload.component.mjs +3 -3
  155. package/esm2022/foehn-upload/foehn-picture-upload/foehn-picture-upload.module.mjs +4 -4
  156. package/esm2022/foehn-upload/foehn-upload-progress-bar/foehn-upload-progress-bar.component.mjs +3 -3
  157. package/esm2022/foehn-upload/foehn-upload-progress-bar/foehn-upload-progress-bar.module.mjs +4 -4
  158. package/esm2022/foehn-upload/foehn-upload-progress-bar/upload-progress.service.mjs +3 -3
  159. package/esm2022/foehn-upload/page-upload-limit.service.mjs +3 -3
  160. package/esm2022/foehn-user-connected-as/foehn-user-connected-as.component.mjs +3 -3
  161. package/esm2022/foehn-user-connected-as/foehn-user-connected-as.module.mjs +4 -4
  162. package/esm2022/foehn-validation-alert-summary/foehn-validation-alert-summary.component.mjs +3 -3
  163. package/esm2022/foehn-validation-alert-summary/foehn-validation-alert-summary.module.mjs +4 -4
  164. package/esm2022/foehn-validation-alerts/foehn-validation-alerts.component.mjs +3 -3
  165. package/esm2022/foehn-validation-alerts/foehn-validation-alerts.module.mjs +4 -4
  166. package/esm2022/gesdem/gesdem-error-handler.service.mjs +3 -3
  167. package/esm2022/gesdem/gesdem-event.service.mjs +3 -3
  168. package/esm2022/gesdem/gesdem-handler.service.mjs +3 -3
  169. package/esm2022/gesdem-action-recovery/gesdem-action-recovery-login/gesdem-action-recovery-login.component.mjs +3 -3
  170. package/esm2022/gesdem-action-recovery/gesdem-action-recovery-registration/gesdem-action-recovery-registration.component.mjs +3 -3
  171. package/esm2022/gesdem-action-recovery/gesdem-action-recovery.module.mjs +4 -4
  172. package/esm2022/gesdem-action-recovery/gesdem-action-recovery.service.mjs +3 -3
  173. package/esm2022/gesdem-confirmation/gesdem-confirmation.component.mjs +3 -3
  174. package/esm2022/gesdem-confirmation/gesdem-confirmation.module.mjs +4 -4
  175. package/esm2022/gesdem-error/gesdem-error.component.mjs +3 -3
  176. package/esm2022/gesdem-error/gesdem-error.module.mjs +4 -4
  177. package/esm2022/pipes/currency.pipe.mjs +3 -3
  178. package/esm2022/pipes/date.pipe.mjs +3 -3
  179. package/esm2022/pipes/formatIde.pipe.mjs +3 -3
  180. package/esm2022/pipes/pipes.module.mjs +4 -4
  181. package/esm2022/prestations-ng-core.module.mjs +4 -4
  182. package/esm2022/public_api.mjs +2 -1
  183. package/esm2022/sdk-appinfo/application-info.service.mjs +3 -3
  184. package/esm2022/sdk-currency/currency.helper.mjs +3 -3
  185. package/esm2022/sdk-date/date.helper.mjs +3 -3
  186. package/esm2022/sdk-dictionary/sdk-dictionary.module.mjs +4 -4
  187. package/esm2022/sdk-dictionary/sdk-dictionary.pipe.mjs +3 -3
  188. package/esm2022/sdk-dictionary/sdk-dictionary.service.mjs +3 -3
  189. package/esm2022/sdk-drafts/drafts-container.component.mjs +3 -3
  190. package/esm2022/sdk-drafts/drafts.module.mjs +4 -4
  191. package/esm2022/sdk-drafts/drafts.service.mjs +3 -3
  192. package/esm2022/sdk-epayment/sdk-epayment.component.mjs +3 -3
  193. package/esm2022/sdk-epayment/sdk-epayment.module.mjs +4 -4
  194. package/esm2022/sdk-epayment/sdk-epayment.service.mjs +3 -3
  195. package/esm2022/sdk-events-logger/sdk-events-logger.service.mjs +3 -3
  196. package/esm2022/sdk-recaptcha/grecaptcha/grecaptcha.component.mjs +3 -3
  197. package/esm2022/sdk-recaptcha/recaptcha.service.mjs +3 -3
  198. package/esm2022/sdk-recaptcha/sdk-recaptcha.component.mjs +3 -3
  199. package/esm2022/sdk-recaptcha/sdk-recaptcha.module.mjs +4 -4
  200. package/esm2022/sdk-redirect/iam-expired-interceptor.service.mjs +3 -3
  201. package/esm2022/sdk-redirect/redirect.component.mjs +3 -3
  202. package/esm2022/sdk-redirect/sdk-redirect.module.mjs +4 -4
  203. package/esm2022/sdk-session-info/session-info-with-application.service.mjs +3 -3
  204. package/esm2022/sdk-session-info/session-info.service.mjs +3 -3
  205. package/esm2022/sdk-statistics/sdk-statistics.service.mjs +3 -3
  206. package/esm2022/sdk-support-alert/support-alert-container.component.mjs +3 -3
  207. package/esm2022/sdk-support-alert/support-alert.component.mjs +3 -3
  208. package/esm2022/sdk-support-alert/support-alert.module.mjs +4 -4
  209. package/esm2022/sdk-support-alert/support-alert.service.mjs +3 -3
  210. package/esm2022/validation/validation-handler.service.mjs +3 -3
  211. package/fesm2022/dsivd-prestations-ng.mjs +682 -670
  212. package/fesm2022/dsivd-prestations-ng.mjs.map +1 -1
  213. package/foehn-table/foehn-table.component.d.ts +4 -1
  214. package/foehn-table/row-element.type.d.ts +4 -0
  215. package/package.json +1 -1
  216. package/public_api.d.ts +1 -0
  217. package/dsivd-prestations-ng-17.1.0.tgz +0 -0
package/CHANGELOG.md CHANGED
@@ -6,6 +6,14 @@
6
6
 
7
7
  ---
8
8
 
9
+ ## [17.1.2]
10
+
11
+ ### Updated
12
+
13
+ - [UPGRADING_V17](UPGRADING_V17.md)
14
+
15
+ ## [17.1.1]
16
+
9
17
  ## [17.1.0] - must be aligned with prestations-be (17.1.0+)
10
18
 
11
19
  ### Added
@@ -51,6 +59,16 @@
51
59
  - by default the form errors are not displayed when registering for recovery
52
60
  - you can change that by setting the new `@Input() dispatchFormErrors:boolean` to `true`
53
61
 
62
+ ## [16.6.3]
63
+
64
+ ### Added
65
+
66
+ - [foehn-table.component.ts](projects/prestations-ng/src/foehn-table/foehn-table.component.ts)
67
+ - added `@Output() rowClick = new EventEmitter<RowElement>()`
68
+ - added `RowElement` type containing:
69
+ - `indexInArray` which is the index of the row clicked in the list
70
+ - `element` which is the `HTMLTableRowElement` clicked
71
+
54
72
  ## [16.6.2]
55
73
 
56
74
  ### Fixed
package/UPGRADING_V17.md CHANGED
@@ -159,17 +159,23 @@ ng update @typescript-eslint/eslint-plugin@7 @typescript-eslint/parser@7
159
159
  ng update eslint-plugin-import eslint-plugin-jasmine eslint-plugin-jsdoc eslint-plugin-rxjs-angular
160
160
  ng update eslint@8
161
161
  ng update eslint-plugin-rxjs
162
- ng update \
163
- @types/jasmine@5 \
164
- @types/node@20 \
165
- ts-node@10
162
+ ng update @types/jasmine@5 @types/node@20 ts-node@10
166
163
 
167
164
  npm remove puppeteer
168
- npm install puppeteer@~22.7.1 --save-dev
165
+ npm install puppeteer@~22.13.1 --save-dev
169
166
 
170
167
  npm update
171
168
  ```
172
169
 
170
+ #### Align Angular & ESLint versions
171
+
172
+ Make sure that @angular & @angular-eslint packages are aligned up to the minor version (17.X).
173
+ If it is not the case, run the following command with the wanted version (here we downgrade from 17.5 to 17.3 as an exemple)
174
+
175
+ ```bash
176
+ npm install @angular-eslint/builder@17.3.0 @angular-eslint/eslint-plugin@17.3.0 @angular-eslint/eslint-plugin-template@17.3.0 @angular-eslint/template-parser@17.3.0
177
+ ```
178
+
173
179
  #### Browsers list update
174
180
 
175
181
  Run update schematic:
@@ -218,7 +224,7 @@ replace `RouterTestingModule` by `RouterModule.forRoot([])`
218
224
 
219
225
  ### Cloudflare (`app.module.ts`)
220
226
 
221
- Need to remove `CAPTCHA_URL_TOKEN` override
227
+ If you have captcha cloudflare setup already, you need to remove `CAPTCHA_URL_TOKEN` override
222
228
 
223
229
  ```diff
224
230
  @NgModule({
@@ -232,6 +238,17 @@ Need to remove `CAPTCHA_URL_TOKEN` override
232
238
  })
233
239
  ```
234
240
 
241
+ Else, you want to set it up by updating config keys (all environments)
242
+
243
+ ```diff
244
+ - recaptcha.secretkey=XXX
245
+ - recaptcha.publickey=YYY
246
+ + recaptcha.secretkey=<encrypted key>
247
+ + recaptcha.publickey=0x4AAAAAAAOmGOIAyj2IGZdl (PR : 0x4AAAAAAAP2z-zwJP_3g-0T)
248
+ ```
249
+
250
+ You can obtain a Cloudflare Trunstile key by creating a free account on https://dash.cloudflare.com/sign-up or writing an e-mail to imt.portail[at]vd.ch
251
+
235
252
  ### gesdem-action-recovery-registration
236
253
 
237
254
  If you use the `<gesdem-action-recovery-registration>` component in a page which includes some `<foehn-error-pill>` or `<foehn-menu-item>` (i.e. e-vaudtax, pocama, any form with a menu)
@@ -376,6 +393,32 @@ Then remove following plugin:
376
393
  - </execution>
377
394
  - </executions>
378
395
  -</plugin>
396
+ -<plugin>
397
+ - <groupId>org.apache.maven.plugins</groupId>
398
+ - <artifactId>maven-resources-plugin</artifactId>
399
+ - <version>${maven-resources-plugin.version}</version>
400
+ - <configuration>
401
+ - <encoding>${project.build.sourceEncoding}</encoding>
402
+ - </configuration>
403
+ - <executions>
404
+ - <execution>
405
+ - <id>copy-ngcli-dist</id>
406
+ - <phase>prepare-package</phase>
407
+ - <goals>
408
+ - <goal>copy-resources</goal>
409
+ - </goals>
410
+ - <configuration>
411
+ - <outputDirectory>${basedir}/target/classes/static</outputDirectory>
412
+ - <resources>
413
+ - <resource>
414
+ - <directory>front/dist</directory>
415
+ - <filtering>false</filtering>
416
+ - </resource>
417
+ - </resources>
418
+ - </configuration>
419
+ - </execution>
420
+ - </executions>
421
+ -</plugin>
379
422
  ```
380
423
 
381
424
  If it is an Angular application but you have other configurations to build the front, add -Dskip-build-angular-front-npm in .mvn/maven-config at the same level as the pom.xml.
Binary file
@@ -211,10 +211,10 @@ export class AbstractPageComponent {
211
211
  gotToTop() {
212
212
  window.scrollTo(0, 0);
213
213
  }
214
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: AbstractPageComponent, deps: [{ token: i1.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Directive }); }
215
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.11", type: AbstractPageComponent, viewQueries: [{ propertyName: "foehnFormComponent", first: true, predicate: FoehnFormComponent, descendants: true, static: true }], ngImport: i0 }); }
214
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AbstractPageComponent, deps: [{ token: i1.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Directive }); }
215
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.12", type: AbstractPageComponent, viewQueries: [{ propertyName: "foehnFormComponent", first: true, predicate: FoehnFormComponent, descendants: true, static: true }], ngImport: i0 }); }
216
216
  }
217
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: AbstractPageComponent, decorators: [{
217
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AbstractPageComponent, decorators: [{
218
218
  type: Directive
219
219
  }], ctorParameters: () => [{ type: i1.ActivatedRoute }], propDecorators: { foehnFormComponent: [{
220
220
  type: ViewChild,
@@ -124,10 +124,10 @@ export class NumberCurrencyFormatterDirective {
124
124
  return (!this.host.model ||
125
125
  this.host.model.toString() !== newValueWithoutFormatting);
126
126
  }
127
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: NumberCurrencyFormatterDirective, deps: [{ token: i1.FoehnInputNumberComponent }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive }); }
128
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.11", type: NumberCurrencyFormatterDirective, selector: "[numberCurrencyFormatter]", host: { listeners: { "blur": "onBlur($event.target.value)", "focus": "onFocus($event.target.value)", "modelChange": "onModelChange($event)" } }, ngImport: i0 }); }
127
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: NumberCurrencyFormatterDirective, deps: [{ token: i1.FoehnInputNumberComponent }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive }); }
128
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.12", type: NumberCurrencyFormatterDirective, selector: "[numberCurrencyFormatter]", host: { listeners: { "blur": "onBlur($event.target.value)", "focus": "onFocus($event.target.value)", "modelChange": "onModelChange($event)" } }, ngImport: i0 }); }
129
129
  }
130
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: NumberCurrencyFormatterDirective, decorators: [{
130
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: NumberCurrencyFormatterDirective, decorators: [{
131
131
  type: Directive,
132
132
  args: [{ selector: '[numberCurrencyFormatter]' }]
133
133
  }], ctorParameters: () => [{ type: i1.FoehnInputNumberComponent }, { type: i0.NgZone }], propDecorators: { onBlur: [{
@@ -6,17 +6,17 @@ import { IdeFormatterDirective } from './ide-formatter.directive';
6
6
  import { NDCFormatterDirective } from './ndc-formatter.directive';
7
7
  import * as i0 from "@angular/core";
8
8
  export class FormatterModule {
9
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: FormatterModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
10
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.11", ngImport: i0, type: FormatterModule, declarations: [NDCFormatterDirective,
9
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormatterModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
10
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: FormatterModule, declarations: [NDCFormatterDirective,
11
11
  NumberCurrencyFormatterDirective,
12
12
  IdeFormatterDirective,
13
13
  IbanFormatterDirective], imports: [FoehnInputModule], exports: [NDCFormatterDirective,
14
14
  NumberCurrencyFormatterDirective,
15
15
  IdeFormatterDirective,
16
16
  IbanFormatterDirective] }); }
17
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: FormatterModule, imports: [FoehnInputModule] }); }
17
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormatterModule, imports: [FoehnInputModule] }); }
18
18
  }
19
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: FormatterModule, decorators: [{
19
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormatterModule, decorators: [{
20
20
  type: NgModule,
21
21
  args: [{
22
22
  imports: [FoehnInputModule],
@@ -16,10 +16,10 @@ export class IbanFormatterDirective {
16
16
  }
17
17
  return iban.printFormat(value, ' ');
18
18
  }
19
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: IbanFormatterDirective, deps: [{ token: i1.FoehnInputTextComponent }], target: i0.ɵɵFactoryTarget.Directive }); }
20
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.11", type: IbanFormatterDirective, selector: "[ibanFormatter]", host: { listeners: { "blur": "onBlur($event.target.value)" } }, ngImport: i0 }); }
19
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: IbanFormatterDirective, deps: [{ token: i1.FoehnInputTextComponent }], target: i0.ɵɵFactoryTarget.Directive }); }
20
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.12", type: IbanFormatterDirective, selector: "[ibanFormatter]", host: { listeners: { "blur": "onBlur($event.target.value)" } }, ngImport: i0 }); }
21
21
  }
22
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: IbanFormatterDirective, decorators: [{
22
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: IbanFormatterDirective, decorators: [{
23
23
  type: Directive,
24
24
  args: [{ selector: '[ibanFormatter]' }]
25
25
  }], ctorParameters: () => [{ type: i1.FoehnInputTextComponent }], propDecorators: { onBlur: [{
@@ -24,10 +24,10 @@ export class IdeFormatterDirective {
24
24
  const trimmedValue = value.trim();
25
25
  return trimmedValue.replace(new RegExp(IDE_PATTERN, 'g'), 'CHE-$1.$2.$3');
26
26
  }
27
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: IdeFormatterDirective, deps: [{ token: i1.FoehnInputTextComponent }], target: i0.ɵɵFactoryTarget.Directive }); }
28
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.11", type: IdeFormatterDirective, selector: "[ideFormatter]", host: { listeners: { "blur": "onBlur($event.target.value)" } }, ngImport: i0 }); }
27
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: IdeFormatterDirective, deps: [{ token: i1.FoehnInputTextComponent }], target: i0.ɵɵFactoryTarget.Directive }); }
28
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.12", type: IdeFormatterDirective, selector: "[ideFormatter]", host: { listeners: { "blur": "onBlur($event.target.value)" } }, ngImport: i0 }); }
29
29
  }
30
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: IdeFormatterDirective, decorators: [{
30
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: IdeFormatterDirective, decorators: [{
31
31
  type: Directive,
32
32
  args: [{ selector: '[ideFormatter]' }]
33
33
  }], ctorParameters: () => [{ type: i1.FoehnInputTextComponent }], propDecorators: { onBlur: [{
@@ -62,10 +62,10 @@ export class NDCFormatterDirective {
62
62
  */
63
63
  return digits.replace(new RegExp(NO_CONTRIB_PATTERN_WITH_TWO_DOTS, 'g'), '$1.$2.$3');
64
64
  }
65
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: NDCFormatterDirective, deps: [{ token: i1.FoehnInputTextComponent }], target: i0.ɵɵFactoryTarget.Directive }); }
66
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.11", type: NDCFormatterDirective, selector: "[ndcFormatter]", host: { listeners: { "blur": "onBlur($event.target.value)" } }, ngImport: i0 }); }
65
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: NDCFormatterDirective, deps: [{ token: i1.FoehnInputTextComponent }], target: i0.ɵɵFactoryTarget.Directive }); }
66
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.12", type: NDCFormatterDirective, selector: "[ndcFormatter]", host: { listeners: { "blur": "onBlur($event.target.value)" } }, ngImport: i0 }); }
67
67
  }
68
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: NDCFormatterDirective, decorators: [{
68
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: NDCFormatterDirective, decorators: [{
69
69
  type: Directive,
70
70
  args: [{ selector: '[ndcFormatter]' }]
71
71
  }], ctorParameters: () => [{ type: i1.FoehnInputTextComponent }], propDecorators: { onBlur: [{
@@ -10,8 +10,8 @@ import { FoehnInputForeignLocalityComponent } from './foehn-input-foreign-locali
10
10
  import { FoehnInputForeignStreetComponent } from './foehn-input-foreign-street.component';
11
11
  import * as i0 from "@angular/core";
12
12
  export class FoehnAddressModule {
13
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: FoehnAddressModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
14
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.11", ngImport: i0, type: FoehnAddressModule, declarations: [FoehnInputAddressComponent,
13
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FoehnAddressModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
14
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: FoehnAddressModule, declarations: [FoehnInputAddressComponent,
15
15
  FoehnDisplayAddressComponent,
16
16
  FoehnInputForeignLocalityComponent,
17
17
  FoehnInputForeignStreetComponent], imports: [CommonModule,
@@ -22,13 +22,13 @@ export class FoehnAddressModule {
22
22
  FoehnDisplayAddressComponent,
23
23
  FoehnInputForeignLocalityComponent,
24
24
  FoehnInputForeignStreetComponent] }); }
25
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: FoehnAddressModule, imports: [CommonModule,
25
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FoehnAddressModule, imports: [CommonModule,
26
26
  SdkDictionaryModule,
27
27
  FoehnAutocompleteModule,
28
28
  FoehnInputModule,
29
29
  FoehnValidationAlertsModule] }); }
30
30
  }
31
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: FoehnAddressModule, decorators: [{
31
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FoehnAddressModule, decorators: [{
32
32
  type: NgModule,
33
33
  args: [{
34
34
  imports: [
@@ -57,10 +57,10 @@ export class FoehnDisplayAddressComponent {
57
57
  }
58
58
  return lines;
59
59
  }
60
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: FoehnDisplayAddressComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
61
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.11", type: FoehnDisplayAddressComponent, selector: "foehn-display-address", inputs: { address: "address" }, ngImport: i0, template: "<address class=\"foehn-address\" *ngIf=\"address\">\n <div *ngFor=\"let addressLine of getLines(address)\">{{ addressLine }}</div>\n</address>\n", styles: [".foehn-address{margin:0;padding:0}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
60
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FoehnDisplayAddressComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
61
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: FoehnDisplayAddressComponent, selector: "foehn-display-address", inputs: { address: "address" }, ngImport: i0, template: "<address class=\"foehn-address\" *ngIf=\"address\">\n <div *ngFor=\"let addressLine of getLines(address)\">{{ addressLine }}</div>\n</address>\n", styles: [".foehn-address{margin:0;padding:0}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
62
62
  }
63
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: FoehnDisplayAddressComponent, decorators: [{
63
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FoehnDisplayAddressComponent, decorators: [{
64
64
  type: Component,
65
65
  args: [{ selector: 'foehn-display-address', template: "<address class=\"foehn-address\" *ngIf=\"address\">\n <div *ngFor=\"let addressLine of getLines(address)\">{{ addressLine }}</div>\n</address>\n", styles: [".foehn-address{margin:0;padding:0}\n"] }]
66
66
  }], propDecorators: { address: [{
@@ -403,8 +403,8 @@ export class FoehnInputAddressComponent extends FoehnInputComponent {
403
403
  // eslint-disable-next-line rxjs-angular/prefer-async-pipe
404
404
  .subscribe());
405
405
  }
406
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: FoehnInputAddressComponent, deps: [{ token: i1.HttpClient }, { token: i2.SdkDictionaryService }], target: i0.ɵɵFactoryTarget.Component }); }
407
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.11", type: FoehnInputAddressComponent, selector: "foehn-input-address", inputs: { countriesUrl: "countriesUrl", isOnlySwiss: "isOnlySwiss", showPostOfficeBoxText: "showPostOfficeBoxText", showAdressLines: "showAdressLines", showAdressLine1: "showAdressLine1", showAdressLine2: "showAdressLine2", specifiedCanton: "specifiedCanton", countryRequired: "countryRequired", swissNpaLocalityRequired: "swissNpaLocalityRequired", streetRequired: "streetRequired", streetNumberRequired: "streetNumberRequired", hideNotRequiredExtraLabelStreetNumber: "hideNotRequiredExtraLabelStreetNumber", foreignZipCodeRequired: "foreignZipCodeRequired", foreignLocalityRequired: "foreignLocalityRequired", foreignStreetRequired: "foreignStreetRequired", foreignStreetNumberRequired: "foreignStreetNumberRequired", postOfficeBoxTextRequired: "postOfficeBoxTextRequired", addressLine1Required: "addressLine1Required", addressLine2Required: "addressLine2Required", withCompanyLocalities: "withCompanyLocalities", withDefaultCountry: "withDefaultCountry" }, providers: [
406
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FoehnInputAddressComponent, deps: [{ token: i1.HttpClient }, { token: i2.SdkDictionaryService }], target: i0.ɵɵFactoryTarget.Component }); }
407
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: FoehnInputAddressComponent, selector: "foehn-input-address", inputs: { countriesUrl: "countriesUrl", isOnlySwiss: "isOnlySwiss", showPostOfficeBoxText: "showPostOfficeBoxText", showAdressLines: "showAdressLines", showAdressLine1: "showAdressLine1", showAdressLine2: "showAdressLine2", specifiedCanton: "specifiedCanton", countryRequired: "countryRequired", swissNpaLocalityRequired: "swissNpaLocalityRequired", streetRequired: "streetRequired", streetNumberRequired: "streetNumberRequired", hideNotRequiredExtraLabelStreetNumber: "hideNotRequiredExtraLabelStreetNumber", foreignZipCodeRequired: "foreignZipCodeRequired", foreignLocalityRequired: "foreignLocalityRequired", foreignStreetRequired: "foreignStreetRequired", foreignStreetNumberRequired: "foreignStreetNumberRequired", postOfficeBoxTextRequired: "postOfficeBoxTextRequired", addressLine1Required: "addressLine1Required", addressLine2Required: "addressLine2Required", withCompanyLocalities: "withCompanyLocalities", withDefaultCountry: "withDefaultCountry" }, providers: [
408
408
  {
409
409
  provide: FoehnInputComponent,
410
410
  useExisting: forwardRef(() => FoehnInputAddressComponent),
@@ -412,7 +412,7 @@ export class FoehnInputAddressComponent extends FoehnInputComponent {
412
412
  }
413
413
  ], viewQueries: [{ propertyName: "foreignLocalityComponent", first: true, predicate: FoehnInputForeignLocalityComponent, descendants: true }, { propertyName: "foreignStreetComponent", first: true, predicate: FoehnInputForeignStreetComponent, descendants: true }, { propertyName: "foreignHouseNumber", first: true, predicate: ["foreignHouseNumber"], descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<div\n [attr.id]=\"buildId() + 'Container'\"\n class=\"form-group\"\n [class.has-danger]=\"hasErrorsToDisplay()\"\n [class.vd-form-group-danger]=\"hasErrorsToDisplay()\"\n [tabIndex]=\"-1\"\n>\n <fieldset\n class=\"mb-3\"\n [attr.aria-describedby]=\"getDescribedBy()\"\n [attr.aria-invalid]=\"hasErrorsToDisplay() || null\"\n >\n <legend\n *ngIf=\"!!label\"\n [ngClass]=\"isLabelSrOnly ? 'visually-hidden' : 'vd-p'\"\n >\n <span [innerHTML]=\"label\"></span>\n <span\n *ngIf=\"!required && !hideNotRequiredExtraLabel\"\n aria-hidden=\"true\"\n >\n {{ 'foehn-input.optional' | fromDictionary }}\n </span>\n </legend>\n\n <foehn-validation-alerts [component]=\"this\"></foehn-validation-alerts>\n\n <small\n *ngIf=\"helpText\"\n [attr.id]=\"buildId() + 'Help'\"\n class=\"text-secondary\"\n [innerHTML]=\"helpText\"\n ></small>\n\n <ng-content></ng-content>\n\n <foehn-autocomplete\n *ngIf=\"!isOnlySwiss\"\n [label]=\"'foehn-input-address.country.label' | fromDictionary\"\n [elements]=\"countries | async\"\n elementLabel=\"shortNameFr\"\n [elementValue]=\"identity\"\n [elementValueIdentity]=\"countryIdentity\"\n (modelChange)=\"countryUpdated($event)\"\n (userInput)=\"userInputCountry()\"\n [model]=\"country\"\n [name]=\"name + '.country'\"\n [required]=\"countryRequired\"\n [disabled]=\"disabled\"\n ></foehn-autocomplete>\n\n <ng-container *ngIf=\"isSwiss()\">\n <foehn-autocomplete\n [label]=\"'foehn-input-address.locality.label' | fromDictionary\"\n [elements]=\"localities | async\"\n [elementLabel]=\"getLocalityDisplayedName\"\n [elementValue]=\"identity\"\n [elementValueIdentity]=\"localityIdentity\"\n (modelChange)=\"localityUpdated($event)\"\n (userInput)=\"userInputLocality($event)\"\n [model]=\"locality\"\n [name]=\"name + '.locality'\"\n [allowCustomValue]=\"disabled\"\n [required]=\"swissNpaLocalityRequired\"\n [disabled]=\"disabled\"\n ></foehn-autocomplete>\n\n <foehn-autocomplete\n [label]=\"'foehn-input-address.street.label' | fromDictionary\"\n [elements]=\"streets | async\"\n elementLabel=\"longName\"\n [elementValue]=\"identity\"\n [elementValueIdentity]=\"streetIdentity\"\n (modelChange)=\"streetUpdated($event)\"\n [model]=\"street\"\n [name]=\"name + '.street'\"\n [allowCustomValue]=\"true\"\n [customValueModelGenerator]=\"streetGenerator\"\n [required]=\"isStreetRequired()\"\n [helpText]=\"\n 'foehn-input-address.street.help-text' | fromDictionary\n \"\n [customErrors]=\"streetCustomErrors\"\n (userInput)=\"userInputStreet($event)\"\n [disabled]=\"disabled\"\n ></foehn-autocomplete>\n\n <foehn-autocomplete\n [label]=\"\n 'foehn-input-address.houseNumber.label' | fromDictionary\n \"\n [elements]=\"streetNumbers | async\"\n elementLabel=\"name\"\n elementValue=\"name\"\n [(model)]=\"houseNumber\"\n [name]=\"name + '.houseNumber'\"\n [allowCustomValue]=\"true\"\n [helpText]=\"\n 'foehn-input-address.houseNumber.help-text' | fromDictionary\n \"\n (modelChange)=\"updateAddress()\"\n (userInput)=\"handleUserInput()\"\n [required]=\"streetNumberRequired\"\n [hideNotRequiredExtraLabel]=\"\n hideNotRequiredExtraLabelStreetNumber\n \"\n [disabled]=\"disabled\"\n ></foehn-autocomplete>\n </ng-container>\n\n <ng-container *ngIf=\"!isSwiss()\">\n <!--\n Component <foehn-input-foreign-locality> is special because we use the same model when swiss or foreigner.\n To do so, we need:\n - Errors will be bind on 'locality' when NULL or on 'zipCode' and 'longName' model inside component when EMPTY\n - Hide label from component because we need label from children to be displayed (isLabelSrOnly: true)\n - required and disabled params are transmitted to children\n -->\n <foehn-input-foreign-locality\n [label]=\"'foehn-input-address.locality.label' | fromDictionary\"\n [name]=\"name + '.locality'\"\n [(model)]=\"locality\"\n [zipCodeRequired]=\"foreignZipCodeRequired\"\n [localityRequired]=\"foreignLocalityRequired\"\n [isLabelSrOnly]=\"true\"\n [disabled]=\"!country || disabled\"\n (modelChange)=\"updateAddress()\"\n (userInput)=\"handleUserInput()\"\n ></foehn-input-foreign-locality>\n <!--\n Component <foehn-input-foreign-street> is special because we use the same model when swiss or foreigner.\n To do so, we need:\n - Errors will be bind on 'street' when NULL or on 'longName' model inside component when EMPTY\n - required, helpText, isLabelSrOnly and disabled params are transmitted to children\n -->\n <foehn-input-foreign-street\n [label]=\"'foehn-input-address.street.label' | fromDictionary\"\n [name]=\"name + '.street'\"\n [(model)]=\"street\"\n [required]=\"isForeignStreetRequired()\"\n [helpText]=\"\n 'foehn-input-address.street.help-text' | fromDictionary\n \"\n [customErrors]=\"streetCustomErrors\"\n [disabled]=\"!country || disabled\"\n (modelChange)=\"updateAddress()\"\n (userInput)=\"handleUserInput()\"\n ></foehn-input-foreign-street>\n\n <foehn-input-text\n #foreignHouseNumber\n [label]=\"\n 'foehn-input-address.houseNumber.label' | fromDictionary\n \"\n [name]=\"name + '.houseNumber'\"\n [(model)]=\"houseNumber\"\n [helpText]=\"\n 'foehn-input-address.houseNumber.help-text' | fromDictionary\n \"\n [disabled]=\"!country || disabled\"\n (modelChange)=\"updateAddress()\"\n (userInput)=\"handleUserInput()\"\n [required]=\"foreignStreetNumberRequired\"\n ></foehn-input-text>\n </ng-container>\n\n <foehn-input-text\n *ngIf=\"showPostOfficeBoxText\"\n [(model)]=\"postOfficeBoxText\"\n [helpText]=\"\n 'foehn-input-address.postOfficeBoxText.help-text'\n | fromDictionary\n \"\n [label]=\"\n 'foehn-input-address.postOfficeBoxText.label' | fromDictionary\n \"\n [name]=\"name + '.postOfficeBoxText'\"\n (modelChange)=\"updateAddress()\"\n (userInput)=\"handleUserInput()\"\n [required]=\"isPostOfficeBoxTextRequired()\"\n [disabled]=\"disabled\"\n ></foehn-input-text>\n\n <foehn-input-text\n *ngIf=\"showAdressLines && showAdressLine1\"\n [(model)]=\"addressLine1\"\n [label]=\"'foehn-input-address.addressLine1.label' | fromDictionary\"\n [name]=\"name + '.addressLine1'\"\n (modelChange)=\"updateAddress()\"\n (userInput)=\"handleUserInput()\"\n [required]=\"addressLine1Required\"\n [autocomplete]=\"'address-line2'\"\n [disabled]=\"disabled\"\n ></foehn-input-text>\n\n <foehn-input-text\n *ngIf=\"showAdressLines && showAdressLine2\"\n [(model)]=\"addressLine2\"\n [label]=\"'foehn-input-address.addressLine2.label' | fromDictionary\"\n [name]=\"name + '.addressLine2'\"\n (modelChange)=\"updateAddress()\"\n (userInput)=\"handleUserInput()\"\n [required]=\"addressLine2Required\"\n [autocomplete]=\"'address-line3'\"\n [disabled]=\"disabled\"\n ></foehn-input-text>\n </fieldset>\n</div>\n", dependencies: [{ kind: "directive", type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i4.FoehnAutocompleteComponent, selector: "foehn-autocomplete", inputs: ["searchValueMinCharsCount", "allowCustomValue", "isSuggestionListDynamic", "customValueModelGenerator", "itemHeightInSuggestionListInPx", "elementSuggestionLabel", "caseSensitiveSearch", "disabled"], outputs: ["userSearchInput"] }, { kind: "component", type: i5.FoehnInputTextComponent, selector: "foehn-input-text", inputs: ["numberOnly"] }, { kind: "component", type: i6.FoehnValidationAlertsComponent, selector: "foehn-validation-alerts", inputs: ["component", "shouldErrorsBeLive"] }, { kind: "component", type: i7.FoehnInputForeignLocalityComponent, selector: "foehn-input-foreign-locality", inputs: ["localityRequired", "zipCodeRequired"] }, { kind: "component", type: i8.FoehnInputForeignStreetComponent, selector: "foehn-input-foreign-street" }, { kind: "pipe", type: i3.AsyncPipe, name: "async" }, { kind: "pipe", type: i9.SdkDictionaryPipe, name: "fromDictionary" }] }); }
414
414
  }
415
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: FoehnInputAddressComponent, decorators: [{
415
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FoehnInputAddressComponent, decorators: [{
416
416
  type: Component,
417
417
  args: [{ selector: 'foehn-input-address', providers: [
418
418
  {
@@ -40,8 +40,8 @@ export class FoehnInputForeignLocalityComponent extends FoehnInputComponent {
40
40
  }
41
41
  return { zipCode: this.zipCode, longName: this.longName };
42
42
  }
43
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: FoehnInputForeignLocalityComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
44
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.11", type: FoehnInputForeignLocalityComponent, selector: "foehn-input-foreign-locality", inputs: { localityRequired: "localityRequired", zipCodeRequired: "zipCodeRequired" }, providers: [
43
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FoehnInputForeignLocalityComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
44
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: FoehnInputForeignLocalityComponent, selector: "foehn-input-foreign-locality", inputs: { localityRequired: "localityRequired", zipCodeRequired: "zipCodeRequired" }, providers: [
45
45
  {
46
46
  provide: FoehnInputComponent,
47
47
  useExisting: forwardRef(() => FoehnInputForeignLocalityComponent),
@@ -49,7 +49,7 @@ export class FoehnInputForeignLocalityComponent extends FoehnInputComponent {
49
49
  }
50
50
  ], usesInheritance: true, ngImport: i0, template: "<div\n class=\"form-group\"\n [class.has-danger]=\"hasErrorsToDisplay()\"\n [class.vd-form-group-danger]=\"hasErrorsToDisplay()\"\n [attr.id]=\"buildId('Container')\"\n tabindex=\"-1\"\n>\n <fieldset\n [attr.aria-describedby]=\"getDescribedBy()\"\n [attr.aria-invalid]=\"hasErrorsToDisplay() || null\"\n >\n <legend\n *ngIf=\"!!label\"\n [ngClass]=\"isLabelSrOnly ? 'visually-hidden' : 'vd-p'\"\n >\n <span [innerHTML]=\"label\"></span>\n <span\n *ngIf=\"!isRequired() && !hideNotRequiredExtraLabel\"\n aria-hidden=\"true\"\n >\n {{ 'foehn-input.optional' | fromDictionary }}\n </span>\n </legend>\n\n <foehn-validation-alerts [component]=\"this\"></foehn-validation-alerts>\n\n <small\n *ngIf=\"helpText\"\n [attr.id]=\"buildId() + 'Help'\"\n class=\"text-secondary\"\n [innerHTML]=\"helpText\"\n ></small>\n\n <ng-content></ng-content>\n\n <foehn-input-text\n [name]=\"name + '.zipCode'\"\n [label]=\"\n 'foehn-input-foreign-locality.zipCode.label' | fromDictionary\n \"\n [(model)]=\"zipCode\"\n (modelChange)=\"updateLocality()\"\n [required]=\"zipCodeRequired\"\n (userInput)=\"handleUserInput()\"\n [disabled]=\"disabled\"\n [autocomplete]=\"'postal-code'\"\n [isErrorInherited]=\"hasErrorsToDisplay()\"\n ></foehn-input-text>\n\n <foehn-input-text\n [name]=\"name + '.longName'\"\n [label]=\"\n 'foehn-input-foreign-locality.locality.label' | fromDictionary\n \"\n [(model)]=\"longName\"\n (modelChange)=\"updateLocality()\"\n [required]=\"localityRequired\"\n (userInput)=\"handleUserInput()\"\n [disabled]=\"disabled\"\n [isErrorInherited]=\"hasErrorsToDisplay()\"\n ></foehn-input-text>\n </fieldset>\n</div>\n", styles: [":host ::ng-deep foehn-input-text:last-child .form-group{margin-bottom:0}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.FoehnInputTextComponent, selector: "foehn-input-text", inputs: ["numberOnly"] }, { kind: "component", type: i3.FoehnValidationAlertsComponent, selector: "foehn-validation-alerts", inputs: ["component", "shouldErrorsBeLive"] }, { kind: "pipe", type: i4.SdkDictionaryPipe, name: "fromDictionary" }] }); }
51
51
  }
52
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: FoehnInputForeignLocalityComponent, decorators: [{
52
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FoehnInputForeignLocalityComponent, decorators: [{
53
53
  type: Component,
54
54
  args: [{ selector: 'foehn-input-foreign-locality', providers: [
55
55
  {
@@ -32,8 +32,8 @@ export class FoehnInputForeignStreetComponent extends FoehnInputComponent {
32
32
  }
33
33
  return { estrid: null, longName: this.longName };
34
34
  }
35
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: FoehnInputForeignStreetComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
36
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.11", type: FoehnInputForeignStreetComponent, selector: "foehn-input-foreign-street", providers: [
35
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FoehnInputForeignStreetComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
36
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: FoehnInputForeignStreetComponent, selector: "foehn-input-foreign-street", providers: [
37
37
  {
38
38
  provide: FoehnInputComponent,
39
39
  useExisting: forwardRef(() => FoehnInputForeignStreetComponent),
@@ -41,7 +41,7 @@ export class FoehnInputForeignStreetComponent extends FoehnInputComponent {
41
41
  }
42
42
  ], usesInheritance: true, ngImport: i0, template: "<foehn-input-text\n [label]=\"label\"\n [name]=\"name + '.longName'\"\n [(model)]=\"longName\"\n (modelChange)=\"updateStreet()\"\n [required]=\"required\"\n [helpText]=\"helpText\"\n (userInput)=\"handleUserInput()\"\n [disabled]=\"disabled\"\n [isLabelSrOnly]=\"isLabelSrOnly\"\n [autocomplete]=\"'address-line1'\"\n [isErrorInherited]=\"hasErrorsToDisplay()\"\n>\n <ng-content></ng-content>\n</foehn-input-text>\n", dependencies: [{ kind: "component", type: i1.FoehnInputTextComponent, selector: "foehn-input-text", inputs: ["numberOnly"] }] }); }
43
43
  }
44
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: FoehnInputForeignStreetComponent, decorators: [{
44
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FoehnInputForeignStreetComponent, decorators: [{
45
45
  type: Component,
46
46
  args: [{ selector: 'foehn-input-foreign-street', providers: [
47
47
  {
@@ -53,10 +53,10 @@ export class FoehnAgendaNavigationComponent {
53
53
  this.currentDay = calendar.currentWeek.week[0].date;
54
54
  }
55
55
  }
56
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: FoehnAgendaNavigationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
57
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.11", type: FoehnAgendaNavigationComponent, selector: "foehn-agenda-navigation", inputs: { id: "id", calendar: "calendar", isSrOnly: "isSrOnly", minDate: "minDate", maxDate: "maxDate" }, outputs: { paginationChange: "paginationChange" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"row mb-3\" *ngIf=\"!!calendar\">\n <div class=\"col-12\">\n <nav\n class=\"vd-pagination calendar-week-navigation\"\n [attr.id]=\"id\"\n [attr.aria-label]=\"\n 'foehn-agenda-navigation.nav.aria-label' | fromDictionary\n \"\n >\n <ul class=\"vd-pagination__list\">\n <li\n class=\"vd-pagination__item vd-pagination__item--previous col-4\"\n *ngIf=\"!!calendar.previousWeek\"\n >\n <button\n [id]=\"id + 'ButtonPreviousWeek'\"\n class=\"btn btn-link vd-pagination__link vd-pagination__link-reset\"\n (click)=\"paginate(calendar.previousWeek)\"\n type=\"button\"\n >\n <span class=\"d-flex align-items-center\">\n <foehn-icon-chevron-left\n class=\"vd-pagination__title\"\n [title]=\"\n 'foehn-agenda-navigation.previous-week'\n | fromDictionary\n \"\n aria-hidden=\"true\"\n ></foehn-icon-chevron-left>\n <span\n class=\"vd-pagination__title ms-2 d-xs-none d-sm-block\"\n aria-hidden=\"true\"\n >\n {{\n 'foehn-agenda-navigation.previous-week'\n | fromDictionary\n }}\n </span>\n <span\n [id]=\"id + 'NavigationPreviousSrOnly'\"\n class=\"visually-hidden\"\n >\n {{\n 'foehn-agenda-navigation.previous-week-sr-only'\n | fromDictionary\n : {\n previousWeek:\n calendar.previousWeek\n .label\n }\n }}\n </span>\n </span>\n </button>\n </li>\n <li\n class=\"vd-pagination__item vd-pagination__item--previous col-4\"\n *ngIf=\"!calendar.previousWeek && !isSrOnly\"\n >\n <div\n [id]=\"id + 'NavigationPreviousDisabled'\"\n class=\"d-flex align-items-center link-week-disabled px-1\"\n >\n <foehn-icon-chevron-left\n class=\"vd-pagination__title\"\n [title]=\"\n 'foehn-agenda-navigation.previous-week'\n | fromDictionary\n \"\n ></foehn-icon-chevron-left>\n <span\n class=\"vd-pagination__title ms-2 d-xs-none d-sm-block\"\n >\n {{\n 'foehn-agenda-navigation.previous-week'\n | fromDictionary\n }}\n </span>\n </div>\n </li>\n\n <li\n class=\"vd-pagination__item d-flex justify-content-center col-4\"\n *ngIf=\"!isSrOnly\"\n >\n <foehn-date-picker-button\n [model]=\"currentDay\"\n [minDate]=\"minDate\"\n [maxDate]=\"maxDate\"\n [selectedDateSrOnlyLabelKey]=\"\n 'foehn-agenda-navigation.date-picker-button.screen-reader.selected-date'\n \"\n (userInput)=\"datePickerUserInput($event)\"\n ></foehn-date-picker-button>\n </li>\n\n <li\n class=\"vd-pagination__item vd-pagination__item--next col-4 d-flex justify-content-end\"\n *ngIf=\"!!calendar.nextWeek\"\n >\n <button\n [id]=\"id + 'ButtonNextWeek'\"\n class=\"btn btn-link vd-pagination__link vd-pagination__link-reset\"\n (click)=\"paginate(calendar.nextWeek)\"\n type=\"button\"\n >\n <span class=\"d-flex align-items-center\">\n <span\n aria-hidden=\"true\"\n class=\"vd-pagination__title d-xs-none d-sm-block\"\n >\n {{\n 'foehn-agenda-navigation.next-week'\n | fromDictionary\n }}\n </span>\n <span\n [id]=\"id + 'NavigationNextSrOnly'\"\n class=\"visually-hidden\"\n >\n {{\n 'foehn-agenda-navigation.next-week-sr-only'\n | fromDictionary\n : {\n nextWeek:\n calendar.nextWeek.label\n }\n }}\n </span>\n <foehn-icon-chevron-right\n class=\"vd-pagination__title ms-2\"\n [title]=\"\n 'foehn-agenda-navigation.next-week'\n | fromDictionary\n \"\n aria-hidden=\"true\"\n ></foehn-icon-chevron-right>\n </span>\n </button>\n </li>\n <li\n class=\"vd-pagination__item vd-pagination__item--next col-4 d-flex justify-content-end\"\n *ngIf=\"!calendar.nextWeek && !isSrOnly\"\n >\n <div\n [id]=\"id + 'NavigationNextDisabled'\"\n class=\"d-flex align-items-center link-week-disabled px-1\"\n >\n <span class=\"vd-pagination__title d-xs-none d-sm-block\">\n {{\n 'foehn-agenda-navigation.next-week'\n | fromDictionary\n }}\n </span>\n <foehn-icon-chevron-right\n class=\"vd-pagination__title ms-2\"\n [title]=\"\n 'foehn-agenda-navigation.next-week'\n | fromDictionary\n \"\n ></foehn-icon-chevron-right>\n </div>\n </li>\n </ul>\n </nav>\n </div>\n</div>\n", styles: [".calendar-week-navigation{margin-bottom:0}.calendar-week-navigation li.vd-pagination__item{margin-top:0}.calendar-week-navigation span.vd-pagination__title{font-size:1em;line-height:1.2em}:host ::ng-deep .calendar-week-navigation .btn.btn-link .svg-inline--fa{color:var(--vd-primary-dark)}:host ::ng-deep .calendar-week-navigation .btn.btn-link:hover .svg-inline--fa{color:var(--vd-neutral-darker)}.calendar-week-navigation .btn.btn-link{text-transform:none}.calendar-week-navigation .link-week-disabled .vd-pagination__title{color:var(--vd-neutral-light);cursor:not-allowed}.calendar-week-navigation .vd-pagination__link-reset{background:none;border:none;font-weight:inherit;text-decoration-line:none;text-align:inherit;cursor:pointer}.calendar-week-navigation .vd-pagination__link-reset:focus{background-color:var(--vd-focus)}nav ul{margin-bottom:0}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.FoehnIconChevronLeftComponent, selector: "foehn-icon-chevron-left" }, { kind: "component", type: i3.FoehnIconChevronRightComponent, selector: "foehn-icon-chevron-right" }, { kind: "component", type: i4.FoehnDatePickerButtonComponent, selector: "foehn-date-picker-button", inputs: ["id", "name", "minYear", "maxYear", "minDate", "maxDate", "displaySelectedDate", "selectedDateSrOnlyLabelKey", "model"], outputs: ["modelChange", "userInput"] }, { kind: "pipe", type: i5.SdkDictionaryPipe, name: "fromDictionary" }] }); }
56
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FoehnAgendaNavigationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
57
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: FoehnAgendaNavigationComponent, selector: "foehn-agenda-navigation", inputs: { id: "id", calendar: "calendar", isSrOnly: "isSrOnly", minDate: "minDate", maxDate: "maxDate" }, outputs: { paginationChange: "paginationChange" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"row mb-3\" *ngIf=\"!!calendar\">\n <div class=\"col-12\">\n <nav\n class=\"vd-pagination calendar-week-navigation\"\n [attr.id]=\"id\"\n [attr.aria-label]=\"\n 'foehn-agenda-navigation.nav.aria-label' | fromDictionary\n \"\n >\n <ul class=\"vd-pagination__list\">\n <li\n class=\"vd-pagination__item vd-pagination__item--previous col-4\"\n *ngIf=\"!!calendar.previousWeek\"\n >\n <button\n [id]=\"id + 'ButtonPreviousWeek'\"\n class=\"btn btn-link vd-pagination__link vd-pagination__link-reset\"\n (click)=\"paginate(calendar.previousWeek)\"\n type=\"button\"\n >\n <span class=\"d-flex align-items-center\">\n <foehn-icon-chevron-left\n class=\"vd-pagination__title\"\n [title]=\"\n 'foehn-agenda-navigation.previous-week'\n | fromDictionary\n \"\n aria-hidden=\"true\"\n ></foehn-icon-chevron-left>\n <span\n class=\"vd-pagination__title ms-2 d-xs-none d-sm-block\"\n aria-hidden=\"true\"\n >\n {{\n 'foehn-agenda-navigation.previous-week'\n | fromDictionary\n }}\n </span>\n <span\n [id]=\"id + 'NavigationPreviousSrOnly'\"\n class=\"visually-hidden\"\n >\n {{\n 'foehn-agenda-navigation.previous-week-sr-only'\n | fromDictionary\n : {\n previousWeek:\n calendar.previousWeek\n .label\n }\n }}\n </span>\n </span>\n </button>\n </li>\n <li\n class=\"vd-pagination__item vd-pagination__item--previous col-4\"\n *ngIf=\"!calendar.previousWeek && !isSrOnly\"\n >\n <div\n [id]=\"id + 'NavigationPreviousDisabled'\"\n class=\"d-flex align-items-center link-week-disabled px-1\"\n >\n <foehn-icon-chevron-left\n class=\"vd-pagination__title\"\n [title]=\"\n 'foehn-agenda-navigation.previous-week'\n | fromDictionary\n \"\n ></foehn-icon-chevron-left>\n <span\n class=\"vd-pagination__title ms-2 d-xs-none d-sm-block\"\n >\n {{\n 'foehn-agenda-navigation.previous-week'\n | fromDictionary\n }}\n </span>\n </div>\n </li>\n\n <li\n class=\"vd-pagination__item d-flex justify-content-center col-4\"\n *ngIf=\"!isSrOnly\"\n >\n <foehn-date-picker-button\n [model]=\"currentDay\"\n [minDate]=\"minDate\"\n [maxDate]=\"maxDate\"\n [selectedDateSrOnlyLabelKey]=\"\n 'foehn-agenda-navigation.date-picker-button.screen-reader.selected-date'\n \"\n (userInput)=\"datePickerUserInput($event)\"\n ></foehn-date-picker-button>\n </li>\n\n <li\n class=\"vd-pagination__item vd-pagination__item--next col-4 d-flex justify-content-end\"\n *ngIf=\"!!calendar.nextWeek\"\n >\n <button\n [id]=\"id + 'ButtonNextWeek'\"\n class=\"btn btn-link vd-pagination__link vd-pagination__link-reset\"\n (click)=\"paginate(calendar.nextWeek)\"\n type=\"button\"\n >\n <span class=\"d-flex align-items-center\">\n <span\n aria-hidden=\"true\"\n class=\"vd-pagination__title d-xs-none d-sm-block\"\n >\n {{\n 'foehn-agenda-navigation.next-week'\n | fromDictionary\n }}\n </span>\n <span\n [id]=\"id + 'NavigationNextSrOnly'\"\n class=\"visually-hidden\"\n >\n {{\n 'foehn-agenda-navigation.next-week-sr-only'\n | fromDictionary\n : {\n nextWeek:\n calendar.nextWeek.label\n }\n }}\n </span>\n <foehn-icon-chevron-right\n class=\"vd-pagination__title ms-2\"\n [title]=\"\n 'foehn-agenda-navigation.next-week'\n | fromDictionary\n \"\n aria-hidden=\"true\"\n ></foehn-icon-chevron-right>\n </span>\n </button>\n </li>\n <li\n class=\"vd-pagination__item vd-pagination__item--next col-4 d-flex justify-content-end\"\n *ngIf=\"!calendar.nextWeek && !isSrOnly\"\n >\n <div\n [id]=\"id + 'NavigationNextDisabled'\"\n class=\"d-flex align-items-center link-week-disabled px-1\"\n >\n <span class=\"vd-pagination__title d-xs-none d-sm-block\">\n {{\n 'foehn-agenda-navigation.next-week'\n | fromDictionary\n }}\n </span>\n <foehn-icon-chevron-right\n class=\"vd-pagination__title ms-2\"\n [title]=\"\n 'foehn-agenda-navigation.next-week'\n | fromDictionary\n \"\n ></foehn-icon-chevron-right>\n </div>\n </li>\n </ul>\n </nav>\n </div>\n</div>\n", styles: [".calendar-week-navigation{margin-bottom:0}.calendar-week-navigation li.vd-pagination__item{margin-top:0}.calendar-week-navigation span.vd-pagination__title{font-size:1em;line-height:1.2em}:host ::ng-deep .calendar-week-navigation .btn.btn-link .svg-inline--fa{color:var(--vd-primary-dark)}:host ::ng-deep .calendar-week-navigation .btn.btn-link:hover .svg-inline--fa{color:var(--vd-neutral-darker)}.calendar-week-navigation .btn.btn-link{text-transform:none}.calendar-week-navigation .link-week-disabled .vd-pagination__title{color:var(--vd-neutral-light);cursor:not-allowed}.calendar-week-navigation .vd-pagination__link-reset{background:none;border:none;font-weight:inherit;text-decoration-line:none;text-align:inherit;cursor:pointer}.calendar-week-navigation .vd-pagination__link-reset:focus{background-color:var(--vd-focus)}nav ul{margin-bottom:0}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.FoehnIconChevronLeftComponent, selector: "foehn-icon-chevron-left" }, { kind: "component", type: i3.FoehnIconChevronRightComponent, selector: "foehn-icon-chevron-right" }, { kind: "component", type: i4.FoehnDatePickerButtonComponent, selector: "foehn-date-picker-button", inputs: ["id", "name", "minYear", "maxYear", "minDate", "maxDate", "displaySelectedDate", "selectedDateSrOnlyLabelKey", "model"], outputs: ["modelChange", "userInput"] }, { kind: "pipe", type: i5.SdkDictionaryPipe, name: "fromDictionary" }] }); }
58
58
  }
59
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: FoehnAgendaNavigationComponent, decorators: [{
59
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FoehnAgendaNavigationComponent, decorators: [{
60
60
  type: Component,
61
61
  args: [{ selector: 'foehn-agenda-navigation', template: "<div class=\"row mb-3\" *ngIf=\"!!calendar\">\n <div class=\"col-12\">\n <nav\n class=\"vd-pagination calendar-week-navigation\"\n [attr.id]=\"id\"\n [attr.aria-label]=\"\n 'foehn-agenda-navigation.nav.aria-label' | fromDictionary\n \"\n >\n <ul class=\"vd-pagination__list\">\n <li\n class=\"vd-pagination__item vd-pagination__item--previous col-4\"\n *ngIf=\"!!calendar.previousWeek\"\n >\n <button\n [id]=\"id + 'ButtonPreviousWeek'\"\n class=\"btn btn-link vd-pagination__link vd-pagination__link-reset\"\n (click)=\"paginate(calendar.previousWeek)\"\n type=\"button\"\n >\n <span class=\"d-flex align-items-center\">\n <foehn-icon-chevron-left\n class=\"vd-pagination__title\"\n [title]=\"\n 'foehn-agenda-navigation.previous-week'\n | fromDictionary\n \"\n aria-hidden=\"true\"\n ></foehn-icon-chevron-left>\n <span\n class=\"vd-pagination__title ms-2 d-xs-none d-sm-block\"\n aria-hidden=\"true\"\n >\n {{\n 'foehn-agenda-navigation.previous-week'\n | fromDictionary\n }}\n </span>\n <span\n [id]=\"id + 'NavigationPreviousSrOnly'\"\n class=\"visually-hidden\"\n >\n {{\n 'foehn-agenda-navigation.previous-week-sr-only'\n | fromDictionary\n : {\n previousWeek:\n calendar.previousWeek\n .label\n }\n }}\n </span>\n </span>\n </button>\n </li>\n <li\n class=\"vd-pagination__item vd-pagination__item--previous col-4\"\n *ngIf=\"!calendar.previousWeek && !isSrOnly\"\n >\n <div\n [id]=\"id + 'NavigationPreviousDisabled'\"\n class=\"d-flex align-items-center link-week-disabled px-1\"\n >\n <foehn-icon-chevron-left\n class=\"vd-pagination__title\"\n [title]=\"\n 'foehn-agenda-navigation.previous-week'\n | fromDictionary\n \"\n ></foehn-icon-chevron-left>\n <span\n class=\"vd-pagination__title ms-2 d-xs-none d-sm-block\"\n >\n {{\n 'foehn-agenda-navigation.previous-week'\n | fromDictionary\n }}\n </span>\n </div>\n </li>\n\n <li\n class=\"vd-pagination__item d-flex justify-content-center col-4\"\n *ngIf=\"!isSrOnly\"\n >\n <foehn-date-picker-button\n [model]=\"currentDay\"\n [minDate]=\"minDate\"\n [maxDate]=\"maxDate\"\n [selectedDateSrOnlyLabelKey]=\"\n 'foehn-agenda-navigation.date-picker-button.screen-reader.selected-date'\n \"\n (userInput)=\"datePickerUserInput($event)\"\n ></foehn-date-picker-button>\n </li>\n\n <li\n class=\"vd-pagination__item vd-pagination__item--next col-4 d-flex justify-content-end\"\n *ngIf=\"!!calendar.nextWeek\"\n >\n <button\n [id]=\"id + 'ButtonNextWeek'\"\n class=\"btn btn-link vd-pagination__link vd-pagination__link-reset\"\n (click)=\"paginate(calendar.nextWeek)\"\n type=\"button\"\n >\n <span class=\"d-flex align-items-center\">\n <span\n aria-hidden=\"true\"\n class=\"vd-pagination__title d-xs-none d-sm-block\"\n >\n {{\n 'foehn-agenda-navigation.next-week'\n | fromDictionary\n }}\n </span>\n <span\n [id]=\"id + 'NavigationNextSrOnly'\"\n class=\"visually-hidden\"\n >\n {{\n 'foehn-agenda-navigation.next-week-sr-only'\n | fromDictionary\n : {\n nextWeek:\n calendar.nextWeek.label\n }\n }}\n </span>\n <foehn-icon-chevron-right\n class=\"vd-pagination__title ms-2\"\n [title]=\"\n 'foehn-agenda-navigation.next-week'\n | fromDictionary\n \"\n aria-hidden=\"true\"\n ></foehn-icon-chevron-right>\n </span>\n </button>\n </li>\n <li\n class=\"vd-pagination__item vd-pagination__item--next col-4 d-flex justify-content-end\"\n *ngIf=\"!calendar.nextWeek && !isSrOnly\"\n >\n <div\n [id]=\"id + 'NavigationNextDisabled'\"\n class=\"d-flex align-items-center link-week-disabled px-1\"\n >\n <span class=\"vd-pagination__title d-xs-none d-sm-block\">\n {{\n 'foehn-agenda-navigation.next-week'\n | fromDictionary\n }}\n </span>\n <foehn-icon-chevron-right\n class=\"vd-pagination__title ms-2\"\n [title]=\"\n 'foehn-agenda-navigation.next-week'\n | fromDictionary\n \"\n ></foehn-icon-chevron-right>\n </div>\n </li>\n </ul>\n </nav>\n </div>\n</div>\n", styles: [".calendar-week-navigation{margin-bottom:0}.calendar-week-navigation li.vd-pagination__item{margin-top:0}.calendar-week-navigation span.vd-pagination__title{font-size:1em;line-height:1.2em}:host ::ng-deep .calendar-week-navigation .btn.btn-link .svg-inline--fa{color:var(--vd-primary-dark)}:host ::ng-deep .calendar-week-navigation .btn.btn-link:hover .svg-inline--fa{color:var(--vd-neutral-darker)}.calendar-week-navigation .btn.btn-link{text-transform:none}.calendar-week-navigation .link-week-disabled .vd-pagination__title{color:var(--vd-neutral-light);cursor:not-allowed}.calendar-week-navigation .vd-pagination__link-reset{background:none;border:none;font-weight:inherit;text-decoration-line:none;text-align:inherit;cursor:pointer}.calendar-week-navigation .vd-pagination__link-reset:focus{background-color:var(--vd-focus)}nav ul{margin-bottom:0}\n"] }]
62
62
  }], propDecorators: { id: [{
@@ -208,8 +208,8 @@ export class FoehnAgendaTimeslotPanelComponent extends FoehnInputComponent {
208
208
  buttonsArray[newIndex].nativeElement.focus();
209
209
  }
210
210
  }
211
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: FoehnAgendaTimeslotPanelComponent, deps: [{ token: i1.SdkDictionaryService }], target: i0.ɵɵFactoryTarget.Component }); }
212
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.11", type: FoehnAgendaTimeslotPanelComponent, selector: "foehn-agenda-timeslot-panel", inputs: { calendar: "calendar", nbVisibleElements: "nbVisibleElements", currentWeek: "currentWeek" }, host: { listeners: { "keydown": "handleKeyboardDownEvent($event)" } }, providers: [
211
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FoehnAgendaTimeslotPanelComponent, deps: [{ token: i1.SdkDictionaryService }], target: i0.ɵɵFactoryTarget.Component }); }
212
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: FoehnAgendaTimeslotPanelComponent, selector: "foehn-agenda-timeslot-panel", inputs: { calendar: "calendar", nbVisibleElements: "nbVisibleElements", currentWeek: "currentWeek" }, host: { listeners: { "keydown": "handleKeyboardDownEvent($event)" } }, providers: [
213
213
  {
214
214
  provide: FoehnInputComponent,
215
215
  useExisting: forwardRef(() => FoehnAgendaTimeslotPanelComponent),
@@ -217,7 +217,7 @@ export class FoehnAgendaTimeslotPanelComponent extends FoehnInputComponent {
217
217
  }
218
218
  ], viewQueries: [{ propertyName: "timeSlotButtonsElemRef", predicate: ["timeSlotButtonsElemRef"], descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<section\n *ngIf=\"calendar | async as loadedCalendar\"\n class=\"panel panel-default mb-3\"\n>\n <div class=\"panel-heading mt-2 mb-2 py-2 d-flex align-items-baseline\">\n <h3 class=\"h5 ms-3 mt-0 mb-0\">\n {{ capitalCaseFirstLetter(currentWeek.day) }}\n <span class=\"visually-hidden\" *ngIf=\"!!isSelected(timeInputValue)\">\n &nbsp;{{\n 'foehn-agenda-timeslot-panel.selected-time'\n | fromDictionary: { timeSelectedValue: timeInputValue }\n }}\n </span>\n </h3>\n <small *ngIf=\"!!currentWeek.timeSlots.length\" class=\"visually-hidden\">\n {{\n 'foehn-agenda-timeslot-panel.nbr-dispo'\n | fromDictionary\n : {\n nbElements:\n currentWeek.timeSlots.length.toString()\n }\n }}\n </small>\n <small\n *ngIf=\"!currentWeek.timeSlots.length\"\n class=\"fst-italic align-self-end ms-2\"\n >\n {{ 'foehn-agenda-timeslot-panel.no-dispo' | fromDictionary }}\n </small>\n </div>\n\n <div\n *ngIf=\"!!currentWeek.timeSlots.length\"\n class=\"panel-body d-flex flex-wrap ms-auto me-auto ps-3 g-0\"\n (focusin)=\"onTimeFocusin()\"\n (focusout)=\"onTimeFocusout()\"\n role=\"application\"\n >\n <button\n *ngFor=\"let timeSlot of timeSlots; let index = index\"\n type=\"button\"\n class=\"btn me-2 mb-2\"\n #timeSlotButtonsElemRef\n [attr.id]=\"\n cleanIdForQuerySelector(currentWeek.day + '-' + timeSlot)\n \"\n [tabindex]=\"getTimeSlotTabIndex(timeSlot, index)\"\n [class.btn-info]=\"!isSelected(timeSlot)\"\n [class.btn-primary]=\"isSelected(timeSlot)\"\n (click)=\"\n handleUserInput(\n currentWeek.day,\n currentWeek.date,\n timeSlot,\n loadedCalendar\n )\n \"\n [attr.aria-label]=\"\n getButtonTimeSlotAriaLabel(currentWeek.day, timeSlot)\n \"\n >\n {{ timeSlot }}\n </button>\n <div\n class=\"col-12 d-flex justify-content-end mb-1\"\n *ngIf=\"currentWeek.timeSlots.length > nbVisibleElements && canClose\"\n >\n <button\n type=\"button\"\n class=\"btn btn-link show-more\"\n #timeSlotButtonsElemRef\n (click)=\"togglePanel()\"\n [attr.aria-label]=\"\n (isClosed\n ? 'foehn-agenda-timeslot-panel.show-more-sr-only'\n : 'foehn-agenda-timeslot-panel.show-less'\n )\n | fromDictionary\n : {\n nbrElementsHidden:\n timeslotRemaining.toString()\n }\n \"\n >\n {{\n (isClosed\n ? 'foehn.agenda-timeslot-panel.show-more'\n : 'foehn-agenda-timeslot-panel.show-less'\n )\n | fromDictionary\n : {\n nbrElementsHidden:\n timeslotRemaining.toString()\n }\n }}\n </button>\n </div>\n </div>\n</section>\n", styles: [".panel-default{border:1px solid #dfdfdf}.panel-heading{position:sticky;background-color:#fff;width:100%;top:0}.panel-heading small{font-size:.9rem}.panel-heading:focus{outline:0;box-shadow:inset 0 1px 1px #00000013,0 0 0 .2rem var(--vd-focus)}.panel-body .btn-info{background-color:var(--vd-neutral-light);border-color:var(--vd-neutral-light)}.panel-body .btn-info:hover{background-color:var(--vd-neutral-lighter);border-color:var(--vd-neutral-lighter)}.panel-body .btn-info,.panel-body .btn-primary{padding-right:.4rem;padding-left:.4rem}.panel-body .btn-info:hover,.panel-body .btn-primary:hover{box-shadow:0 0 0 .2rem var(--vd-focus)}.panel-body .btn.btn-link{padding:0;margin:0 .25rem 0 0}.show-more{cursor:pointer;font-size:.9rem}\n"], dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }, { kind: "pipe", type: i3.SdkDictionaryPipe, name: "fromDictionary" }] }); }
219
219
  }
220
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: FoehnAgendaTimeslotPanelComponent, decorators: [{
220
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FoehnAgendaTimeslotPanelComponent, decorators: [{
221
221
  type: Component,
222
222
  args: [{ selector: 'foehn-agenda-timeslot-panel', providers: [
223
223
  {
@@ -64,8 +64,8 @@ export class FoehnAgendaComponent extends FoehnInputComponent {
64
64
  this.srAnnouncements = '';
65
65
  }, this.SR_ANNOUNCEMENT_CLEAR_TIMEOUT_INTERVAL_MS);
66
66
  }
67
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: FoehnAgendaComponent, deps: [{ token: i1.SdkDictionaryService }], target: i0.ɵɵFactoryTarget.Component }); }
68
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.11", type: FoehnAgendaComponent, selector: "foehn-agenda", inputs: { calendar: "calendar", nbVisibleElements: "nbVisibleElements" }, outputs: { paginationChange: "paginationChange" }, providers: [
67
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FoehnAgendaComponent, deps: [{ token: i1.SdkDictionaryService }], target: i0.ɵɵFactoryTarget.Component }); }
68
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: FoehnAgendaComponent, selector: "foehn-agenda", inputs: { calendar: "calendar", nbVisibleElements: "nbVisibleElements" }, outputs: { paginationChange: "paginationChange" }, providers: [
69
69
  {
70
70
  provide: FoehnInputComponent,
71
71
  useExisting: forwardRef(() => FoehnAgendaComponent),
@@ -73,7 +73,7 @@ export class FoehnAgendaComponent extends FoehnInputComponent {
73
73
  }
74
74
  ], viewQueries: [{ propertyName: "timeSlotPanelsElemRef", predicate: ["timeSlotPanelElemRef"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<div\n class=\"form-group\"\n [class.has-danger]=\"hasErrors()\"\n [class.vd-form-group-danger]=\"hasErrors()\"\n [attr.id]=\"buildId('Container')\"\n tabindex=\"-1\"\n>\n <p\n [attr.id]=\"buildChildId() + 'Label'\"\n [attr.for]=\"buildChildId()\"\n *ngIf=\"label && type !== 'hidden'\"\n [ngClass]=\"isLabelSrOnly ? 'visually-hidden' : 'vd-p'\"\n >\n <span [innerHTML]=\"label\"></span>\n <span\n *ngIf=\"!required && !hideNotRequiredExtraLabel\"\n aria-hidden=\"true\"\n >\n {{ 'foehn-input.optional' | fromDictionary }}\n </span>\n </p>\n\n <small\n *ngIf=\"helpText && type !== 'hidden'\"\n [attr.id]=\"buildChildId() + 'Help'\"\n class=\"form-text text-secondary\"\n [innerHTML]=\"helpText\"\n ></small>\n\n <ng-container *ngIf=\"!(calendar | async)\">\n <foehn-validation-alerts [component]=\"this\"></foehn-validation-alerts>\n <p class=\"alert alert-warning\">\n {{ 'foehn-agenda.calendar-indisponible' | fromDictionary }}\n </p>\n </ng-container>\n\n <!-- Fake input with NgModel to be registered into Form controls -->\n <input type=\"hidden\" [name]=\"name || label\" [ngModel]=\"model\" />\n\n <p\n [id]=\"buildChildId('srOnlyAnnouncements')\"\n class=\"visually-hidden\"\n aria-live=\"polite\"\n aria-atomic=\"true\"\n >\n {{ srAnnouncements }}\n </p>\n\n <ng-content></ng-content>\n\n <ng-container *ngIf=\"calendar | async as loadedCalendar\">\n <section\n class=\"mb-3\"\n [attr.aria-describedby]=\"getDescribedBy()\"\n [attr.aria-invalid]=\"hasErrors() || null\"\n >\n <h2 class=\"h3 mt-3\">\n <span aria-live=\"polite\" role=\"status\" aria-atomic=\"true\">\n {{ loadedCalendar.currentWeek.label }}\n </span>\n </h2>\n\n <!-- Rappel de l'heure actuellement s\u00E9lectionn\u00E9e -->\n <p\n [id]=\"buildChildId('timeSlotSelectedSrOnly')\"\n class=\"visually-hidden\"\n >\n {{ extractDayTime(model) }}\n </p>\n\n <!-- Navigation top hidden from screen reader-->\n <foehn-agenda-navigation\n [id]=\"buildChildId() + 'week-pagination-top'\"\n [calendar]=\"loadedCalendar\"\n [minDate]=\"loadedCalendar.minAvailableDate\"\n [maxDate]=\"loadedCalendar.maxAvailableDate\"\n (paginationChange)=\"paginate($event)\"\n aria-hidden=\"true\"\n ></foehn-agenda-navigation>\n\n <!-- Link to navigation bottom only for screen reader -->\n <p\n [id]=\"buildChildId('navigationBottomAnchor')\"\n class=\"visually-hidden\"\n >\n {{\n 'foehn-agenda.pagination-anchor.first-part' | fromDictionary\n }}\n <a\n href=\"#\"\n (click)=\"$event.preventDefault(); scrollToNavigation(true)\"\n >\n {{\n 'foehn-agenda.pagination-anchor.top-next-part'\n | fromDictionary\n }}\n </a>\n </p>\n\n <foehn-validation-alerts\n [component]=\"this\"\n ></foehn-validation-alerts>\n\n <div\n class=\"row\"\n [tabIndex]=\"hasErrors() ? 0 : -1\"\n [attr.id]=\"buildChildId()\"\n #entryComponent\n >\n <foehn-agenda-timeslot-panel\n *ngFor=\"let currentWeek of loadedCalendar.currentWeek.week\"\n class=\"col-12\"\n #timeSlotPanelElemRef\n [currentWeek]=\"currentWeek\"\n [calendar]=\"calendar\"\n [nbVisibleElements]=\"nbVisibleElements\"\n [(model)]=\"model\"\n (userInput)=\"handleUserInput($event)\"\n ></foehn-agenda-timeslot-panel>\n </div>\n </section>\n\n <!-- Navigation bottom used for screen reader only -->\n <foehn-agenda-navigation\n class=\"visually-hidden\"\n [id]=\"buildChildId() + 'week-pagination-bottom'\"\n [calendar]=\"loadedCalendar\"\n [isSrOnly]=\"true\"\n [minDate]=\"loadedCalendar.minAvailableDate\"\n [maxDate]=\"loadedCalendar.maxAvailableDate\"\n (paginationChange)=\"paginate($event)\"\n ></foehn-agenda-navigation>\n\n <!-- Link to navigation top hidden from screen reader -->\n <p [id]=\"buildChildId('navigationTopAnchor')\" aria-hidden=\"true\">\n {{ 'foehn-agenda.pagination-anchor.first-part' | fromDictionary }}\n <a\n href=\"#\"\n (click)=\"$event.preventDefault(); scrollToNavigation(false)\"\n >\n {{\n 'foehn-agenda.pagination-anchor.bottom-next-part'\n | fromDictionary\n }}\n </a>\n </p>\n </ng-container>\n</div>\n", dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3.FoehnValidationAlertsComponent, selector: "foehn-validation-alerts", inputs: ["component", "shouldErrorsBeLive"] }, { kind: "directive", type: i4.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i5.FoehnAgendaNavigationComponent, selector: "foehn-agenda-navigation", inputs: ["id", "calendar", "isSrOnly", "minDate", "maxDate"], outputs: ["paginationChange"] }, { kind: "component", type: i6.FoehnAgendaTimeslotPanelComponent, selector: "foehn-agenda-timeslot-panel", inputs: ["calendar", "nbVisibleElements", "currentWeek"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }, { kind: "pipe", type: i7.SdkDictionaryPipe, name: "fromDictionary" }] }); }
75
75
  }
76
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: FoehnAgendaComponent, decorators: [{
76
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FoehnAgendaComponent, decorators: [{
77
77
  type: Component,
78
78
  args: [{ selector: 'foehn-agenda', providers: [
79
79
  {
@@ -12,8 +12,8 @@ import { FoehnAgendaNavigationComponent } from './foehn-agenda-navigation/foehn-
12
12
  import { FoehnAgendaTimeslotPanelComponent } from './foehn-agenda-timeslot-panel/foehn-agenda-timeslot-panel.component';
13
13
  import * as i0 from "@angular/core";
14
14
  export class FoehnAgendaModule {
15
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: FoehnAgendaModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
16
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.11", ngImport: i0, type: FoehnAgendaModule, declarations: [FoehnAgendaComponent,
15
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FoehnAgendaModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
16
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: FoehnAgendaModule, declarations: [FoehnAgendaComponent,
17
17
  FoehnAgendaNavigationComponent,
18
18
  FoehnAgendaTimeslotPanelComponent], imports: [CommonModule,
19
19
  A11yModule,
@@ -25,7 +25,7 @@ export class FoehnAgendaModule {
25
25
  FormsModule], exports: [FoehnAgendaComponent,
26
26
  FoehnAgendaNavigationComponent,
27
27
  FoehnAgendaTimeslotPanelComponent] }); }
28
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: FoehnAgendaModule, imports: [CommonModule,
28
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FoehnAgendaModule, imports: [CommonModule,
29
29
  A11yModule,
30
30
  FoehnMiscModule,
31
31
  SdkDictionaryModule,
@@ -34,7 +34,7 @@ export class FoehnAgendaModule {
34
34
  FoehnValidationAlertsModule,
35
35
  FormsModule] }); }
36
36
  }
37
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: FoehnAgendaModule, decorators: [{
37
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FoehnAgendaModule, decorators: [{
38
38
  type: NgModule,
39
39
  args: [{
40
40
  imports: [