@dsivd/prestations-ng 16.0.3 → 16.0.5

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.
package/CHANGELOG.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # Changelog
2
2
 
3
3
  - All notable changes to this project will be documented in this file.
4
- - This changelog, as well as a demo of some of the components, can be consulted here : https://dsi-vd.github.io/prestations-ng/
4
+ - This changelog, as well as a demo of some of the components, can be consulted here : https://dsi-vd.github.io/prestations-ng/
5
5
  - **You can follow how these changes are used in a real project. See: [Skeleton repo](https://portail.etat-de-vaud.ch/outils/git/projects/CYBSDK/repos/skeleton/browse)**
6
6
 
7
7
  ## Notes about versioning in Prestakit
@@ -10,147 +10,206 @@ This project does not follow the Semantic Versioning principles, since it is mad
10
10
 
11
11
  The goal is to be able to quickly identify which combination of both library should be used together
12
12
 
13
- * **Major version** : updated when a [breaking change](#breaking-change) is introduced in either library
14
- * **Minor version** : updated when a change has an impact on both library
15
- * **Patch version** : updated when a change has an impact on a specific library (can be more than an actual patch but shouldn't force you to change your code)
13
+ - **Major version** : updated when a [breaking change](#breaking-change) is introduced in either library
14
+ - **Minor version** : updated when a change has an impact on both library
15
+ - **Patch version** : updated when a change has an impact on a specific library (can be more than an actual patch but shouldn't force you to change your code)
16
16
 
17
17
  e.g.
18
- - you **cannot** use prestations-be@**14**.0.2 and prestations-ng@**13**.0.0
19
- - you **cannot** use prestations-be@14.**0**.0 and prestations-ng@14.**1**.0
20
- - you **can** use prestations-be@**14.0**.2 and prestations-ng@**14.0**.17
18
+
19
+ - you **cannot** use prestations-be@**14**.0.2 and prestations-ng@**13**.0.0
20
+ - you **cannot** use prestations-be@14.**0**.0 and prestations-ng@14.**1**.0
21
+ - you **can** use prestations-be@**14.0**.2 and prestations-ng@**14.0**.17
21
22
 
22
23
  ### Breaking change
24
+
23
25
  A change is considered **breaking** if you have to change your code or update your external dependencies (e.g. Spring Boot or Angular)
26
+
24
27
  - In some specific case, we allow ourselves to not consider a change as breaking if the fix is "easy"
25
28
  - adding a new constructor argument in one of our service is OK, if you just have to update your constructor's signature and your call to `super(...)`
26
29
 
27
30
  ---
28
31
 
32
+ ## [16.0.5]
33
+
34
+ ### Added
35
+
36
+ - [foehn-page.component.html](projects/prestations-ng/src/foehn-page/foehn-page.component.html)
37
+ - [foehn-page.component.ts](projects/prestations-ng/src/foehn-page/foehn-page.component.ts)
38
+
39
+ - added `@Input() routerLinkAppTitle: string` to give to `foehn-header-component`.
40
+
41
+ - [foehn-header.component.html](projects/prestations-ng/src/foehn-header/foehn-header.component.html)
42
+ - [foehn-header.component.ts](projects/prestations-ng/src/foehn-header/foehn-header.component.ts)
43
+ - added `@Input() routerLinkAppTitle: string` to display a clickable `title` to redirect user to the
44
+ given `routerLink`. By default this is undefined and the title will be displayed as usual in a `span`
45
+
46
+ ## [16.0.4]
47
+
48
+ ### Added
49
+
50
+ - [foehn-page.component.html](projects/prestations-ng/src/foehn-page/foehn-page.component.html)
51
+ - [foehn-page.component.ts](projects/prestations-ng/src/foehn-page/foehn-page.component.ts)
52
+
53
+ - added `@Input() showSecuredAreaLoginButton = false;` to display secured area login button in header
54
+
55
+ - [foehn-header.component.html](projects/prestations-ng/src/foehn-header/foehn-header.component.html)
56
+ - [foehn-header.component.ts](projects/prestations-ng/src/foehn-header/foehn-header.component.ts)
57
+ - added `@Input() showSecuredAreaLoginButton = false;` to display secured area login button
58
+
59
+ ### Fixed
60
+
61
+ - [default-dictionary.ts](projects/prestations-ng/src/sdk-dictionary/default-dictionary.ts)
62
+ - added missing keys:
63
+ - `foehn-page.browser-not-supported`
64
+ - `foehn-page.browser-download-invitation`
65
+ - `foehn-page.continue-with-same-browser`
66
+ - `foehn-page.browser-download-list.ou`
67
+ - `foehn-page.external-link.srOnly`,
68
+ - `foehn-header.logo.title`,
69
+ - `foehn-header.cyber-secured-area.identity.srOnly`,
70
+ - `foehn-header.cyber-secured-area.title`,
71
+ - `foehn-header.cyber-secured-area.connected-user`,
72
+ - `foehn-header.cyber-secured-area.connection.srOnly`,
73
+ - `foehn-header.cyber-secured-area.connection.button.title`,
74
+ - `foehn-header.iam-secured-area.identity.srOnly`,
75
+ - `foehn-header.iam-secured-area.connected-user`,
76
+ - `foehn-header.iam-secured-area.logout`,
77
+ - `foehn-skip-link.title`,
78
+ - `foehn-skip-link.content`
79
+
29
80
  ## [16.0.3]
30
81
 
31
82
  ### Fixed
32
83
 
33
- - [foehn-input-address.components.ts](projects/prestations-ng/src/foehn-address/foehn-input-address.component.ts)
34
- - clean fields that are not displayed when model is updated programmaticaly (i.e. by session info)
35
- - addressLine1
36
- - addressLine2
37
- - postOfficeBoxText
38
- - postOfficeBoxNumber
84
+ - [foehn-input-address.components.ts](projects/prestations-ng/src/foehn-address/foehn-input-address.component.ts)
85
+ - clean fields that are not displayed when model is updated programmaticaly (i.e. by session info)
86
+ - addressLine1
87
+ - addressLine2
88
+ - postOfficeBoxText
89
+ - postOfficeBoxNumber
39
90
 
40
91
  ## [16.0.2]
41
92
 
42
93
  ### Fixed
43
94
 
44
- - [foehn-list-summary.component.ts](projects/prestations-ng/src/foehn-menu-prestation/foehn-list-summary/foehn-list-summary.component.ts)
45
- - fixed bug where `<foehn-table>` was not refreshed on item removal when `showAsTable = true`
46
-
95
+ - [foehn-list-summary.component.ts](projects/prestations-ng/src/foehn-menu-prestation/foehn-list-summary/foehn-list-summary.component.ts)
96
+ - fixed bug where `<foehn-table>` was not refreshed on item removal when `showAsTable = true`
47
97
 
48
98
  ## [16.0.1]
49
99
 
50
100
  ### Updated
51
-
52
- - [foehn-list-summary.component.ts](projects/prestations-ng/src/foehn-menu-prestation/foehn-list-summary/foehn-list-summary.component.ts)
53
- - added `@Input() showAsTable = false;` to display elements in a `<foehn-table>`
101
+
102
+ - [foehn-list-summary.component.ts](projects/prestations-ng/src/foehn-menu-prestation/foehn-list-summary/foehn-list-summary.component.ts)
103
+ - added `@Input() showAsTable = false;` to display elements in a `<foehn-table>`
54
104
 
55
105
  ## [16.0.0]
56
106
 
57
107
  ### Added
58
108
 
59
- - [UPGRADING_V16](UPGRADING_V16.md)
60
- - Added migration guide
61
-
62
- - [FoehnRecapSectionElement](projects/prestations-ng/src/foehn-recap-section/foehn-recap-section.component.ts)
63
- - added field `isComment: boolean`, used to display comments without a label below the other elements of the section
109
+ - [UPGRADING_V16](UPGRADING_V16.md)
110
+ - Added migration guide
111
+ - [FoehnRecapSectionElement](projects/prestations-ng/src/foehn-recap-section/foehn-recap-section.component.ts)
64
112
 
65
- - [foehn-simple-navigation.component.html](projects/prestations-ng/src/foehn-navigation/foehn-simple-navigation/foehn-simple-navigation.component.html)
66
- - added simple navigation bar, used in list detail pages because the foehn-navigation does not properly fit in this type of pages
113
+ - added field `isComment: boolean`, used to display comments without a label below the other elements of the section
67
114
 
68
- - [foehn-form.component.html](projects/prestations-ng/src/foehn-form/foehn-form.component.html)
69
- - added accessibility on form (`aria-live="polite"` and `aria-atomic="false"`)
115
+ - [foehn-simple-navigation.component.html](projects/prestations-ng/src/foehn-navigation/foehn-simple-navigation/foehn-simple-navigation.component.html)
70
116
 
71
- - [foehn-dropdown-menu](projects/prestations-ng/src/foehn-dropdown-menu/foehn-dropdown-menu.component.ts)
72
- - added a dropdown menu or group menu component
117
+ - added simple navigation bar, used in list detail pages because the foehn-navigation does not properly fit in this type of pages
73
118
 
74
- - New [dropdown menu documentation](https://dsi-vd.github.io/prestations-ng/dropdown-menu) page
119
+ - [foehn-form.component.html](projects/prestations-ng/src/foehn-form/foehn-form.component.html)
75
120
 
76
- - [foehn-dropdown-menu](projects/prestations-ng/src/foehn-dropdown-menu/foehn-dropdown-menu.component.ts)
77
- - `@Input() id: string` used to identify dropdown-menu
78
- - `@Input() model: DropdownMenuGroup[]` used to display dropdown-menu
79
- - `@Input() btnCssClass = 'btn-secondary'` used to define the CSS class of the dropdown menu button, by default is a secondary button
121
+ - added accessibility on form (`aria-live="polite"` and `aria-atomic="false"`)
80
122
 
81
- - [DropdownMenuGroup](projects/prestations-ng/src/foehn-dropdown-menu/dropdown-menu-group.type.ts)
82
- - [DropdownMenuItem](projects/prestations-ng/src/foehn-dropdown-menu/dropdown-menu-item.type.ts)
83
- - Classes used to define dropdown-menu model
123
+ - [foehn-dropdown-menu](projects/prestations-ng/src/foehn-dropdown-menu/foehn-dropdown-menu.component.ts)
124
+
125
+ - added a dropdown menu or group menu component
126
+
127
+ - New [dropdown menu documentation](https://dsi-vd.github.io/prestations-ng/dropdown-menu) page
128
+
129
+ - [foehn-dropdown-menu](projects/prestations-ng/src/foehn-dropdown-menu/foehn-dropdown-menu.component.ts)
130
+
131
+ - `@Input() id: string` used to identify dropdown-menu
132
+ - `@Input() model: DropdownMenuGroup[]` used to display dropdown-menu
133
+ - `@Input() btnCssClass = 'btn-secondary'` used to define the CSS class of the dropdown menu button, by default is a secondary button
134
+
135
+ - [DropdownMenuGroup](projects/prestations-ng/src/foehn-dropdown-menu/dropdown-menu-group.type.ts)
136
+ - [DropdownMenuItem](projects/prestations-ng/src/foehn-dropdown-menu/dropdown-menu-item.type.ts)
137
+ - Classes used to define dropdown-menu model
84
138
 
85
139
  ### Updated
86
140
 
87
- - [foehn-multiselect-autocomplete](projects/prestations-ng/src/foehn-multiselect-autocomplete/foehn-multiselect-autocomplete.component.ts)
88
- - added a `<legend>` to describe the selected items
89
- - defaults to `foehn-multiselect-autocomplete.selected-items-list-legend` from `default-dictionary.ts`
90
- - can be overriden on each component with `@Input() selectedItemsListLegend`
91
- - selected pills now have the color `primary` instead of `danger`
141
+ - [foehn-multiselect-autocomplete](projects/prestations-ng/src/foehn-multiselect-autocomplete/foehn-multiselect-autocomplete.component.ts)
142
+
143
+ - added a `<legend>` to describe the selected items
144
+ - defaults to `foehn-multiselect-autocomplete.selected-items-list-legend` from `default-dictionary.ts`
145
+ - can be overriden on each component with `@Input() selectedItemsListLegend`
146
+ - selected pills now have the color `primary` instead of `danger`
92
147
 
93
- - [gesdem-confirmation.component.ts](projects/prestations-ng/src/gesdem-confirmation/gesdem-confirmation.component.ts)
94
- - allow to override button "Se déconnecter" (label + link) (when user is connected)
95
- - via `@Input() closeButtonConnectedText` + `@Input() closeHrefConnected`
96
- - via route data : `closeButtonConnectedText` + `closeHrefConnected`
97
- - default value for label is `gesdem-confirmation.exit-button-connected` from dictionary
98
- - default value for link is `/100018/logout`
148
+ - [gesdem-confirmation.component.ts](projects/prestations-ng/src/gesdem-confirmation/gesdem-confirmation.component.ts)
99
149
 
100
- - [demo-accessibility-page.component.html](src/app/demo-accessibility-page/demo-accessibility-page.component.html)
101
- - updated accessibility page to include dropdown menu
150
+ - allow to override button "Se déconnecter" (label + link) (when user is connected)
151
+ - via `@Input() closeButtonConnectedText` + `@Input() closeHrefConnected`
152
+ - via route data : `closeButtonConnectedText` + `closeHrefConnected`
153
+ - default value for label is `gesdem-confirmation.exit-button-connected` from dictionary
154
+ - default value for link is `/100018/logout`
102
155
 
103
- - [foehn-header.component.html](projects/prestations-ng/src/foehn-header/foehn-header.component.html)
104
- - [foehn-header.component.ts](projects/prestations-ng/src/foehn-header/foehn-header.component.ts)
105
- - updated header to include new dropdown menu
156
+ - [demo-accessibility-page.component.html](src/app/demo-accessibility-page/demo-accessibility-page.component.html)
106
157
 
107
- - [gesdem-handler.service.ts](projects/prestations-ng/src/gesdem/gesdem-handler.service.ts)
108
- - do not display a success message when downloading the PDF
158
+ - updated accessibility page to include dropdown menu
159
+
160
+ - [foehn-header.component.html](projects/prestations-ng/src/foehn-header/foehn-header.component.html)
161
+ - [foehn-header.component.ts](projects/prestations-ng/src/foehn-header/foehn-header.component.ts)
162
+
163
+ - updated header to include new dropdown menu
164
+
165
+ - [gesdem-handler.service.ts](projects/prestations-ng/src/gesdem/gesdem-handler.service.ts)
166
+ - do not display a success message when downloading the PDF
109
167
 
110
168
  ### Removed
111
169
 
112
- - [foehn-checkable-group.component.ts](projects/prestations-ng/src/foehn-checkables/foehn-checkable-group.component.ts)
113
- - removed `@Input() allElementDisabled = false`. Now managed by setting `@Input() disabled` to `true` on component.
114
-
115
- - [abstract-foehn-uploader.component.ts](projects/prestations-ng/src/foehn-upload/abstract-foehn-uploader.component.ts)
116
- - [foehn-bo-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-bo-multi-upload/foehn-bo-multi-upload.component.ts)
117
- - [foehn-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.ts)
118
- - removed `@Input() overrideMaxSizeInMo`. Now managed by the backend (see `DocumentProperties.fileMaxSizeByFormKey`)
170
+ - [foehn-checkable-group.component.ts](projects/prestations-ng/src/foehn-checkables/foehn-checkable-group.component.ts)
171
+ - removed `@Input() allElementDisabled = false`. Now managed by setting `@Input() disabled` to `true` on component.
172
+ - [abstract-foehn-uploader.component.ts](projects/prestations-ng/src/foehn-upload/abstract-foehn-uploader.component.ts)
173
+ - [foehn-bo-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-bo-multi-upload/foehn-bo-multi-upload.component.ts)
174
+ - [foehn-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.ts)
175
+
176
+ - removed `@Input() overrideMaxSizeInMo`. Now managed by the backend (see `DocumentProperties.fileMaxSizeByFormKey`)
119
177
 
120
- - [foehn-table-column-configuration.ts](projects/prestations-ng/src/foehn-table/foehn-table-column-configuration.ts)
121
- - removed `routerLinkGetter` attribute
178
+ - [foehn-table-column-configuration.ts](projects/prestations-ng/src/foehn-table/foehn-table-column-configuration.ts)
122
179
 
123
- - [gesdem-loader.guard](projects/prestations-ng/src/gesdem/gesdem-loader.guard.ts)
124
- - removed `GesdemLoaderGuard` service extending `CanActivate` and replaced it by `CanActivateFn` function
180
+ - removed `routerLinkGetter` attribute
125
181
 
182
+ - [gesdem-loader.guard](projects/prestations-ng/src/gesdem/gesdem-loader.guard.ts)
183
+ - removed `GesdemLoaderGuard` service extending `CanActivate` and replaced it by `CanActivateFn` function
126
184
 
127
185
  ## [15.5.15]
128
186
 
129
187
  ### Fixed
130
188
 
131
- - [foehn-input-date-time.ts](projects/prestations-ng/src/foehn-input-date-time/foehn-input-date-time.component.ts)
132
- - fixed time input (hours and seconds) not accepting 0 as number value
189
+ - [foehn-input-date-time.ts](projects/prestations-ng/src/foehn-input-date-time/foehn-input-date-time.component.ts)
190
+ - fixed time input (hours and seconds) not accepting 0 as number value
133
191
 
134
192
  ### Added
135
193
 
136
- - [date-helper.ts](projects/prestations-ng/src/sdk-date/date.helper.ts)
137
- - added `leftPad` function taken from `FoehnDateTimeComponent` and `FoehnTimeComponent` and fixed not adding 0 on empty string
194
+ - [date-helper.ts](projects/prestations-ng/src/sdk-date/date.helper.ts)
195
+ - added `leftPad` function taken from `FoehnDateTimeComponent` and `FoehnTimeComponent` and fixed not adding 0 on empty string
138
196
 
139
197
  ### Updated
140
198
 
141
- - [foehn-input-time.ts](projects/prestations-ng/src/foehn-input-time/foehn-input-time.component.ts)
142
- - [foehn-input-date-time.ts](projects/prestations-ng/src/foehn-input-date-time/foehn-input-date-time.component.ts)
143
- - now uses `leftPad` function from `DateHelper`
199
+ - [foehn-input-time.ts](projects/prestations-ng/src/foehn-input-time/foehn-input-time.component.ts)
200
+ - [foehn-input-date-time.ts](projects/prestations-ng/src/foehn-input-date-time/foehn-input-date-time.component.ts)
201
+ - now uses `leftPad` function from `DateHelper`
144
202
 
145
203
  ## [15.5.14]
146
204
 
147
205
  ### Fixed
148
206
 
149
- - [foehn-input-time.ts](projects/prestations-ng/src/foehn-input-time/foehn-input-time.component.ts)
150
- - fixed model not being updated properly
207
+ - [foehn-input-time.ts](projects/prestations-ng/src/foehn-input-time/foehn-input-time.component.ts)
151
208
 
152
- - [foehn-input-prefixed-text.ts](projects/prestations-ng/src/foehn-input/foehn-input-prefixed-text.component.ts)
153
- - fixed model not being updated properly when prefix changes
209
+ - fixed model not being updated properly
210
+
211
+ - [foehn-input-prefixed-text.ts](projects/prestations-ng/src/foehn-input/foehn-input-prefixed-text.component.ts)
212
+ - fixed model not being updated properly when prefix changes
154
213
 
155
214
  ## [15.5.13]
156
215
 
@@ -160,82 +219,84 @@ A change is considered **breaking** if you have to change your code or update yo
160
219
 
161
220
  ### Added
162
221
 
163
- - [foehn-input-prefixed-text.ts](projects/prestations-ng/src/foehn-input/foehn-input-prefixed-text.component.ts)
164
- - new text input to request a text with a read-only prefix
165
- - `@Input prefix: string` : the read-only prefix
166
- - `@Input() prefixColClass = 'col-md-4'` : the class applied to the foehn-input-text of the prefix part
167
- - `@Input() textColClass = 'col-md-8'` : the class applied to the foehn-input-text of the user text part
222
+ - [foehn-input-prefixed-text.ts](projects/prestations-ng/src/foehn-input/foehn-input-prefixed-text.component.ts)
223
+
224
+ - new text input to request a text with a read-only prefix
225
+ - `@Input prefix: string` : the read-only prefix
226
+ - `@Input() prefixColClass = 'col-md-4'` : the class applied to the foehn-input-text of the prefix part
227
+ - `@Input() textColClass = 'col-md-8'` : the class applied to the foehn-input-text of the user text part
168
228
 
169
- - [gesdem-confirmation.component.ts](projects/prestations-ng/src/gesdem-confirmation/gesdem-confirmation.component.ts)
170
- - go to top of the page when component initializes (same as [abstract-page-component.ts](projects/prestations-ng/src/abstract-page-component.ts)).
229
+ - [gesdem-confirmation.component.ts](projects/prestations-ng/src/gesdem-confirmation/gesdem-confirmation.component.ts)
230
+ - go to top of the page when component initializes (same as [abstract-page-component.ts](projects/prestations-ng/src/abstract-page-component.ts)).
171
231
 
172
232
  ### Fixed
173
233
 
174
- - [multi-upload.service.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/multi-upload.service.ts)
175
- - [bo-multi-upload.service.ts](projects/prestations-ng/src/foehn-upload/foehn-bo-multi-upload/bo-multi-upload.service.ts)
176
- - timestamp used in document `key` for multiple uploads is now generated when calling `mapToDocumentReference` (not when service is created).
234
+ - [multi-upload.service.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/multi-upload.service.ts)
235
+ - [bo-multi-upload.service.ts](projects/prestations-ng/src/foehn-upload/foehn-bo-multi-upload/bo-multi-upload.service.ts)
236
+ - timestamp used in document `key` for multiple uploads is now generated when calling `mapToDocumentReference` (not when service is created).
177
237
 
178
238
  ## [15.5.10]
179
239
 
180
240
  ### Added
181
241
 
182
- - [foehn-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.ts)
183
- - [foehn-bo-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-bo-multi-upload/foehn-bo-multi-upload.component.ts)
184
- - added `@Input() maxSimultaneousSelectedFiles = 50;`
185
- - prevents the upload of more than `maxSimultaneousSelectedFiles` files at once and display an alert from default-dictionary.ts (`foehn-uploader.max-upload-selection-reached`)
242
+ - [foehn-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.ts)
243
+ - [foehn-bo-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-bo-multi-upload/foehn-bo-multi-upload.component.ts)
244
+ - added `@Input() maxSimultaneousSelectedFiles = 50;`
245
+ - prevents the upload of more than `maxSimultaneousSelectedFiles` files at once and display an alert from default-dictionary.ts (`foehn-uploader.max-upload-selection-reached`)
186
246
 
187
247
  ## [15.5.9]
188
248
 
189
249
  ### Updated
190
250
 
191
- - [foehn-recap-section.component.html](projects/prestations-ng/src/foehn-recap-section/foehn-recap-section.component.html)
192
- - removed class `font-weight-light` for `dt` elements. By default, `dt` it is bold.
251
+ - [foehn-recap-section.component.html](projects/prestations-ng/src/foehn-recap-section/foehn-recap-section.component.html)
252
+ - removed class `font-weight-light` for `dt` elements. By default, `dt` it is bold.
193
253
 
194
254
  ## [15.5.8]
195
255
 
196
256
  ### Fixed
197
257
 
198
- - [recaptcha.service.ts](projects/prestations-ng/src/sdk-recaptcha/recaptcha.service.ts)
199
- - when user was connected on page load and the back-end returns a captcha error => redirect to cyberlogin with return url to self
258
+ - [recaptcha.service.ts](projects/prestations-ng/src/sdk-recaptcha/recaptcha.service.ts)
259
+ - when user was connected on page load and the back-end returns a captcha error => redirect to cyberlogin with return url to self
200
260
 
201
261
  ## [15.5.7]
202
262
 
203
263
  ### Fixed
204
264
 
205
- - [recaptcha.service.ts](projects/prestations-ng/src/sdk-recaptcha/recaptcha.service.ts)
206
- - Always display the captcha if it has an error (even if connected)
265
+ - [recaptcha.service.ts](projects/prestations-ng/src/sdk-recaptcha/recaptcha.service.ts)
266
+ - Always display the captcha if it has an error (even if connected)
207
267
 
208
268
  ## [15.5.6]
209
269
 
210
270
  ### Fixed
211
271
 
212
- - [multi-upload.service.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/multi-upload.service.ts)
213
- - get reference from lastresponse when needed
272
+ - [multi-upload.service.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/multi-upload.service.ts)
273
+ - get reference from lastresponse when needed
214
274
 
215
275
  ## [15.5.5]
216
276
 
217
277
  ### Updated
218
278
 
219
- - [foehn-select.component.ts](projects/prestations-ng/src/foehn-checkables/foehn-select.component.ts)
220
- - an empty option is displayed if `[required]="true"` as long as no choice has been made
221
- - fixes bug https://github.com/angular/angular/issues/14505
279
+ - [foehn-select.component.ts](projects/prestations-ng/src/foehn-checkables/foehn-select.component.ts)
280
+ - an empty option is displayed if `[required]="true"` as long as no choice has been made
281
+ - fixes bug https://github.com/angular/angular/issues/14505
222
282
 
223
283
  ## [15.5.4]
224
284
 
225
285
  ### Updated
226
286
 
227
- - [foehn-select.component.ts](projects/prestations-ng/src/foehn-checkables/foehn-select.component.ts)
228
- - option `-` is displayed even if `[required]="true"` (but disabled in this case)
287
+ - [foehn-select.component.ts](projects/prestations-ng/src/foehn-checkables/foehn-select.component.ts)
288
+ - option `-` is displayed even if `[required]="true"` (but disabled in this case)
229
289
 
230
290
  ## [15.5.3]
231
291
 
232
292
  ### Added
233
293
 
234
- - [foehn-bo-multi-upload.component.html](projects/prestations-ng/src/foehn-upload/foehn-bo-multi-upload/foehn-bo-multi-upload.component.html)
235
- - Added `<foehn-upload-progress-bar></foehn-upload-progress-bar>`
294
+ - [foehn-bo-multi-upload.component.html](projects/prestations-ng/src/foehn-upload/foehn-bo-multi-upload/foehn-bo-multi-upload.component.html)
236
295
 
237
- - [foehn-status-progress-bar.component.ts](projects/prestations-ng/src/foehn-status-progress-bar/foehn-status-progress-bar.component.ts)
238
- - In your application routing module, you can force page to be in step 2 (Verification)
296
+ - Added `<foehn-upload-progress-bar></foehn-upload-progress-bar>`
297
+
298
+ - [foehn-status-progress-bar.component.ts](projects/prestations-ng/src/foehn-status-progress-bar/foehn-status-progress-bar.component.ts)
299
+ - In your application routing module, you can force page to be in step 2 (Verification)
239
300
 
240
301
  ```diff
241
302
  data: {
@@ -246,300 +307,324 @@ data: {
246
307
 
247
308
  ### Fixed
248
309
 
249
- - [foehn-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.ts)
250
- - Now provides `MultiUploadService` and `UploadProgressService` to avoid using a singleton
310
+ - [foehn-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.ts)
311
+
312
+ - Now provides `MultiUploadService` and `UploadProgressService` to avoid using a singleton
313
+
314
+ - [foehn-bo-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-bo-multi-upload/foehn-bo-multi-upload.component.ts)
251
315
 
252
- - [foehn-bo-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-bo-multi-upload/foehn-bo-multi-upload.component.ts)
253
- - Now provides `BoMultiUploadService` and `UploadProgressService` to avoid using a singleton
316
+ - Now provides `BoMultiUploadService` and `UploadProgressService` to avoid using a singleton
254
317
 
255
- - [foehn-input-date-time.component.ts](projects/prestations-ng/src/foehn-input-date-time/foehn-input-date-time.component.ts)
256
- - [foehn-input-date-time.component.html](projects/prestations-ng/src/foehn-input-date-time/foehn-input-date-time.component.html)
257
- - Fixed date picker not selecting nor updating model after first selection
318
+ - [foehn-input-date-time.component.ts](projects/prestations-ng/src/foehn-input-date-time/foehn-input-date-time.component.ts)
319
+ - [foehn-input-date-time.component.html](projects/prestations-ng/src/foehn-input-date-time/foehn-input-date-time.component.html)
320
+ - Fixed date picker not selecting nor updating model after first selection
258
321
 
259
322
  ## [15.5.2]
260
323
 
261
324
  ### Updated
262
325
 
263
- - [foehn-page.component.html](projects/prestations-ng/src/foehn-page/foehn-page.component.html)
264
- - update message on first page if user is not connected + reversal the buttons
326
+ - [foehn-page.component.html](projects/prestations-ng/src/foehn-page/foehn-page.component.html)
327
+ - update message on first page if user is not connected + reversal the buttons
265
328
 
266
329
  ## [15.5.1]
267
330
 
268
331
  ### Fixed
269
332
 
270
- - [foehn-input-nav13.component.ts](projects/prestations-ng/src/foehn-nav13/foehn-input-nav13.component.ts)
271
- - remove non numeric characters when pasting a complet avs number in the second field
333
+ - [foehn-input-nav13.component.ts](projects/prestations-ng/src/foehn-nav13/foehn-input-nav13.component.ts)
334
+ - remove non numeric characters when pasting a complet avs number in the second field
272
335
 
273
336
  ## [15.5.0]
274
337
 
275
338
  ### Fixed
276
339
 
277
- - [foehn-input-address.components.ts](projects/prestations-ng/src/foehn-address/foehn-input-address.component.ts)
278
- - Fixed errors not being displayed when switching countries (Suisse -> France)
340
+ - [foehn-input-address.components.ts](projects/prestations-ng/src/foehn-address/foehn-input-address.component.ts)
341
+
342
+ - Fixed errors not being displayed when switching countries (Suisse -> France)
279
343
 
280
- - [foehn-form.components.ts](projects/prestations-ng/src/foehn-form/foehn-form.component.ts)
281
- - [foehn-input.components.ts](projects/prestations-ng/src/foehn-input/foehn-input.component.ts)
282
- - Fixed ngModel not being registered when deep nested FoehnInputComponent.
283
- - `FoehnInputComponent` notifies `FoehnFormComponent` for its children changes using [register-ng-model.service.ts](projects/prestations-ng/src/foehn-form/register-ng-model.service.ts) service.
284
- - **WARNING** `FoehnInputComponent` now implements `AfterViewInit` method so when extending, you will need to call `super.ngAfterViewInit()`
344
+ - [foehn-form.components.ts](projects/prestations-ng/src/foehn-form/foehn-form.component.ts)
345
+ - [foehn-input.components.ts](projects/prestations-ng/src/foehn-input/foehn-input.component.ts)
346
+ - Fixed ngModel not being registered when deep nested FoehnInputComponent.
347
+ - `FoehnInputComponent` notifies `FoehnFormComponent` for its children changes using [register-ng-model.service.ts](projects/prestations-ng/src/foehn-form/register-ng-model.service.ts) service.
348
+ - **WARNING** `FoehnInputComponent` now implements `AfterViewInit` method so when extending, you will need to call `super.ngAfterViewInit()`
285
349
 
286
350
  ### Added
287
351
 
288
- - [foehn-boolean-radio.component.ts](projects/prestations-ng/src/foehn-boolean/foehn-boolean-radio.component.ts)
289
- - Added `@Input() verticalDisplay = false`
352
+ - [foehn-boolean-radio.component.ts](projects/prestations-ng/src/foehn-boolean/foehn-boolean-radio.component.ts)
353
+
354
+ - Added `@Input() verticalDisplay = false`
290
355
 
291
- - [foehn-input-date-time.components.ts](projects/prestations-ng/src/foehn-input-date-time/foehn-input-date-time.component.ts)
292
- - `@Input() disableDay = false` used to disable date input day
293
- - `@Input() disableMonth = false` used to disable date input month
294
- - `@Input() disableYear = false` used to disable date input year
295
- - `@Input() minDate: number[]` used as minDate in datePicker
296
- - `@Input() maxDate: number[]` used as maxDate in datePicker
297
- - `@Output() hideDatePickerButton = false` used to hide date picker for date input
356
+ - [foehn-input-date-time.components.ts](projects/prestations-ng/src/foehn-input-date-time/foehn-input-date-time.component.ts)
357
+ - `@Input() disableDay = false` used to disable date input day
358
+ - `@Input() disableMonth = false` used to disable date input month
359
+ - `@Input() disableYear = false` used to disable date input year
360
+ - `@Input() minDate: number[]` used as minDate in datePicker
361
+ - `@Input() maxDate: number[]` used as maxDate in datePicker
362
+ - `@Output() hideDatePickerButton = false` used to hide date picker for date input
298
363
 
299
364
  ### Updated
300
365
 
301
- - [foehn-input.component.ts](projects/prestations-ng/src/foehn-input/foehn-input.component.ts)
302
- - No double-binding when component is disabled
303
- - No userInput event dispatch when component is disabled
304
-
305
- - [foehn-input-address.component.html](projects/prestations-ng/src/foehn-address/foehn-input-address.component.html)
306
- - add custom error override for street auto-complete to handle error code `AtLeastOneNotNull`, see prestations-be
366
+ - [foehn-input.component.ts](projects/prestations-ng/src/foehn-input/foehn-input.component.ts)
367
+
368
+ - No double-binding when component is disabled
369
+ - No userInput event dispatch when component is disabled
370
+
371
+ - [foehn-input-address.component.html](projects/prestations-ng/src/foehn-address/foehn-input-address.component.html)
372
+ - add custom error override for street auto-complete to handle error code `AtLeastOneNotNull`, see prestations-be
307
373
 
308
374
  ## [15.4.9]
309
375
 
310
376
  ### Fixed
311
377
 
312
- - [foehn-input-number.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-number.component.ts)
313
- - [currency-formatter.directive.ts](projects/prestations-ng/src/directives/currency-formatter.directive.ts)
314
- - fixed a bug where input was impossible after a blur event on input "-"
378
+ - [foehn-input-number.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-number.component.ts)
379
+ - [currency-formatter.directive.ts](projects/prestations-ng/src/directives/currency-formatter.directive.ts)
380
+ - fixed a bug where input was impossible after a blur event on input "-"
315
381
 
316
382
  ### Added
317
383
 
318
- - [global.const.ts](projects/prestations-ng/src/global.const.ts)
319
- - Added `HTTP_LOADER_FILTERED_URL: string[]` constant to be used with component `<ng-http-loader></ng-http-loader>` (input `filteredUrlPatterns`). Default value in array: `['api/support-alert', '(api\\/document(\\/([a-zA-Z0-9])+)*\\/upload)']`.
384
+ - [global.const.ts](projects/prestations-ng/src/global.const.ts)
385
+
386
+ - Added `HTTP_LOADER_FILTERED_URL: string[]` constant to be used with component `<ng-http-loader></ng-http-loader>` (input `filteredUrlPatterns`). Default value in array: `['api/support-alert', '(api\\/document(\\/([a-zA-Z0-9])+)*\\/upload)']`.
320
387
 
321
- - [foehn-upload-progress-bar.component.ts](projects/prestations-ng/src/foehn-upload/foehn-upload-progress-bar/foehn-upload-progress-bar.component.ts)
322
- - See [documentation](upload#foehn_upload_progress_bar)
323
- - Added a progress bar displaying upload progress and indeterminated document analysis
388
+ - [foehn-upload-progress-bar.component.ts](projects/prestations-ng/src/foehn-upload/foehn-upload-progress-bar/foehn-upload-progress-bar.component.ts)
324
389
 
325
- - [foehn-multi-upload.component.html](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.html)
326
- - Added `<foehn-upload-progress-bar></foehn-upload-progress-bar>`
390
+ - See [documentation](upload#foehn_upload_progress_bar)
391
+ - Added a progress bar displaying upload progress and indeterminated document analysis
392
+
393
+ - [foehn-multi-upload.component.html](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.html)
394
+ - Added `<foehn-upload-progress-bar></foehn-upload-progress-bar>`
327
395
 
328
396
  ### Updated
329
397
 
330
- - [gesdem-confirmation.component.html](projects/prestations-ng/src/gesdem-confirmation/gesdem-confirmation.component.html)
331
- - Update link when user is connected: link redirects to demande page
332
- - Move labels into default dictionary
398
+ - [gesdem-confirmation.component.html](projects/prestations-ng/src/gesdem-confirmation/gesdem-confirmation.component.html)
399
+ - Update link when user is connected: link redirects to demande page
400
+ - Move labels into default dictionary
333
401
 
334
402
  ## [15.4.8]
335
403
 
336
404
  ### Fixed
337
- - [foehn-decision-electronique.component.ts](projects/prestations-ng/src/foehn-decision-electronique/foehn-decision-electronique.component.ts)
338
- - use labels from `default-dictionary.ts`
339
- - added an example here : https://dsi-vd.github.io/prestations-ng/espace-securise
405
+
406
+ - [foehn-decision-electronique.component.ts](projects/prestations-ng/src/foehn-decision-electronique/foehn-decision-electronique.component.ts)
407
+ - use labels from `default-dictionary.ts`
408
+ - added an example here : https://dsi-vd.github.io/prestations-ng/espace-securise
340
409
 
341
410
  ## [15.4.7]
342
411
 
343
412
  ### Fixed
344
- - [foehn-validation-alert-summary.component.ts](projects/prestations-ng/src/foehn-validation-alert-summary/foehn-validation-alert-summary.component.ts)
345
- - set first letter of first word in error message to lowercase (respect words that are all upper case)
346
- - "Votre prénom : Ce champ doit être rempli"
347
- - is transformed to "Votre prénom : **c**e champ doit être rempli"
348
- - " AVS : NAVS13 invalide"
349
- - is not transformed
413
+
414
+ - [foehn-validation-alert-summary.component.ts](projects/prestations-ng/src/foehn-validation-alert-summary/foehn-validation-alert-summary.component.ts)
415
+ - set first letter of first word in error message to lowercase (respect words that are all upper case)
416
+ - "Votre prénom : Ce champ doit être rempli"
417
+ - is transformed to "Votre prénom : **c**e champ doit être rempli"
418
+ - "N° AVS : NAVS13 invalide"
419
+ - is not transformed
350
420
 
351
421
  ## [15.4.6]
352
422
 
353
423
  ### Fixed
354
- - [date.helper.ts](projects/prestations-ng/src/sdk-date/date.helper.ts)
355
- - fixed method `isValid(value: number[]): boolean` to avoid day shifting issues
356
- - i.e. `31.02.2021` should not be transformed to `03.03.2021` and considered as valid
424
+
425
+ - [date.helper.ts](projects/prestations-ng/src/sdk-date/date.helper.ts)
426
+ - fixed method `isValid(value: number[]): boolean` to avoid day shifting issues
427
+ - i.e. `31.02.2021` should not be transformed to `03.03.2021` and considered as valid
357
428
 
358
429
  ## [15.4.5]
359
430
 
360
431
  ### Added
361
- - [foehn-multiselect-autocomplete](projects/prestations-ng/src/foehn-multiselect-autocomplete/foehn-multiselect-autocomplete.component.ts)
362
- - add `@Input() caseSensitiveSearch = false` to allow search without converting input to lowercase
432
+
433
+ - [foehn-multiselect-autocomplete](projects/prestations-ng/src/foehn-multiselect-autocomplete/foehn-multiselect-autocomplete.component.ts)
434
+ - add `@Input() caseSensitiveSearch = false` to allow search without converting input to lowercase
363
435
 
364
436
  ## [15.4.4]
365
437
 
366
438
  ### Added
367
- - [foehn-autocomplete.component.ts](projects/prestations-ng/src/foehn-autocomplete/foehn-autocomplete.component.ts)
368
- - add `@Input() caseSensitiveSearch = false` to allow search without converting input to lowercase
439
+
440
+ - [foehn-autocomplete.component.ts](projects/prestations-ng/src/foehn-autocomplete/foehn-autocomplete.component.ts)
441
+ - add `@Input() caseSensitiveSearch = false` to allow search without converting input to lowercase
369
442
 
370
443
  ## [15.4.3]
371
444
 
372
445
  ### Added
373
446
 
374
- - [sdk-dictionary.service.ts](projects/prestations-ng/src/sdk-dictionary/sdk-dictionary.service.ts)
375
- - added browser language detection. When browser language is not managed, default language is used.
376
- - added `setDefaultLanguageCode(code: string): void` to change default language
447
+ - [sdk-dictionary.service.ts](projects/prestations-ng/src/sdk-dictionary/sdk-dictionary.service.ts)
448
+ - added browser language detection. When browser language is not managed, default language is used.
449
+ - added `setDefaultLanguageCode(code: string): void` to change default language
377
450
 
378
451
  ### Fixed
379
452
 
380
- - [foehn-input-email.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-email.component.ts)
381
- - hiding default help-modal is now possible by setting `helpModal` attribute to `null` such as `[helpModal]="null"`
453
+ - [foehn-input-email.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-email.component.ts)
454
+ - hiding default help-modal is now possible by setting `helpModal` attribute to `null` such as `[helpModal]="null"`
382
455
 
383
456
  ### Updated
384
457
 
385
- - [foehn-input-address.component.html](projects/prestations-ng/src/foehn-address/foehn-input-address.component.html)
386
- - Swiss **locality** autocomplete component now allows **custom values** when **disabled**
458
+ - [foehn-input-address.component.html](projects/prestations-ng/src/foehn-address/foehn-input-address.component.html)
459
+ - Swiss **locality** autocomplete component now allows **custom values** when **disabled**
387
460
 
388
461
  ## [15.4.2]
389
462
 
390
463
  ### Added
391
- - [foehn-autocomplete.component.ts](projects/prestations-ng/src/foehn-autocomplete/foehn-autocomplete.component.ts)
392
- - add `@Input() elementSuggestionLabel: any` (fallback: elementLabel) to customize suggestion list item with some HTML
393
-
464
+
465
+ - [foehn-autocomplete.component.ts](projects/prestations-ng/src/foehn-autocomplete/foehn-autocomplete.component.ts)
466
+ - add `@Input() elementSuggestionLabel: any` (fallback: elementLabel) to customize suggestion list item with some HTML
467
+
394
468
  ### Fixed
395
- - [default-dictionary.ts](projects/prestations-ng/src/sdk-dictionary/default-dictionary.ts)
396
- - fixed label for `foehn-textarea.chars-remaining.zero` (missing plurals)
469
+
470
+ - [default-dictionary.ts](projects/prestations-ng/src/sdk-dictionary/default-dictionary.ts)
471
+ - fixed label for `foehn-textarea.chars-remaining.zero` (missing plurals)
397
472
 
398
473
  ## [15.4.1]
399
474
 
400
475
  ### Fixed
401
- - [support-alert.service.ts](projects/prestations-ng/src/sdk-support-alert/support-alert.service.ts)
402
- - handle failure when calling support-alert api
403
-
404
- - [gesdem-confirmation.component.ts](projects/prestations-ng/src/gesdem-confirmation/gesdem-confirmation.component.ts)
405
- - fixed bug where `demandeIsClosedOnTransmit` was not read from route data.
476
+
477
+ - [support-alert.service.ts](projects/prestations-ng/src/sdk-support-alert/support-alert.service.ts)
478
+ - handle failure when calling support-alert api
479
+ - [gesdem-confirmation.component.ts](projects/prestations-ng/src/gesdem-confirmation/gesdem-confirmation.component.ts)
480
+ - fixed bug where `demandeIsClosedOnTransmit` was not read from route data.
406
481
 
407
482
  ## [15.4.0]
408
483
 
409
484
  ### Updated
410
- - [upload.helper.ts](projects/prestations-ng/src/foehn-upload/uploader.helper.ts)
411
- - manage new error code from prestations-be : `IMAGE_NOT_READABLE` (dico key : `errors.IMAGE_NOT_READABLE`)
412
485
 
413
- - [default-dictionary.ts](projects/prestations-ng/src/sdk-dictionary/default-dictionary.ts)
414
- - added dico value for key `errors.IMAGE_NOT_READABLE` (defaults to `Votre pièce jointe %1$s n'est pas une image valide`)
486
+ - [upload.helper.ts](projects/prestations-ng/src/foehn-upload/uploader.helper.ts)
487
+
488
+ - manage new error code from prestations-be : `IMAGE_NOT_READABLE` (dico key : `errors.IMAGE_NOT_READABLE`)
489
+
490
+ - [default-dictionary.ts](projects/prestations-ng/src/sdk-dictionary/default-dictionary.ts)
491
+ - added dico value for key `errors.IMAGE_NOT_READABLE` (defaults to `Votre pièce jointe %1$s n'est pas une image valide`)
415
492
 
416
493
  ### Fixed
417
- - [foehn-input-number.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-number.component.ts)
418
- - fixed bug where standard help text appears twice
494
+
495
+ - [foehn-input-number.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-number.component.ts)
496
+ - fixed bug where standard help text appears twice
419
497
 
420
498
  ## [15.3.1]
421
499
 
422
500
  ### Updated
423
501
 
424
- - [foehn-input-number.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-number.component.ts)
425
- - As in the other components, we don't want to force the user input, when `[allowFreeInput]="false"` (which is the default) :
426
- - It is still done for :
427
- - `maxlength` (to avoid a number overflow in the backend)
428
- - `allowDecimal` (to avoid a number conversion error in the backend)
429
- - `allowNegative`
430
- - `min` and `max` are not used to force the user input anymore
431
- - `min` and `max` are only used to display a standard help text
432
- - the standard help text is only displayed if `min` and `max` are set
433
- - to better understand how to use the `foehn-input-number`, please check the explanations on https://dsi-vd.github.io/prestations-ng/input-number
434
- - **apart from certain exceptions, foehn-input-number is to be used as such:**
435
- - `min` and `max` to display help text
436
- - `maxlength` depending on your backend
437
- - `allowDecimal` and `allowNegative` when needed
502
+ - [foehn-input-number.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-number.component.ts)
503
+
504
+ - As in the other components, we don't want to force the user input, when `[allowFreeInput]="false"` (which is the default) :
505
+ - It is still done for :
506
+ - `maxlength` (to avoid a number overflow in the backend)
507
+ - `allowDecimal` (to avoid a number conversion error in the backend)
508
+ - `allowNegative`
509
+ - `min` and `max` are not used to force the user input anymore
510
+ - `min` and `max` are only used to display a standard help text
511
+ - the standard help text is only displayed if `min` and `max` are set
512
+ - to better understand how to use the `foehn-input-number`, please check the explanations on https://dsi-vd.github.io/prestations-ng/input-number
513
+ - **apart from certain exceptions, foehn-input-number is to be used as such:**
514
+ - `min` and `max` to display help text
515
+ - `maxlength` depending on your backend
516
+ - `allowDecimal` and `allowNegative` when needed
517
+
518
+ - [foehn-input.component.ts](projects/prestations-ng/src/foehn-input/foehn-input.component.ts)
438
519
 
439
- - [foehn-input.component.ts](projects/prestations-ng/src/foehn-input/foehn-input.component.ts)
440
- - removed `@Input() showHelpModal = false` show an help-modal related to an foehn-input
441
- - removed `@Input() helpModalTitle: string` The title of the modal
442
- - removed `@Input() helpModalContent: string` The content of the modal
443
- - replaced by `@Input() helpModal: HelpModal`
520
+ - removed `@Input() showHelpModal = false` show an help-modal related to an foehn-input
521
+ - removed `@Input() helpModalTitle: string` The title of the modal
522
+ - removed `@Input() helpModalContent: string` The content of the modal
523
+ - replaced by `@Input() helpModal: HelpModal`
444
524
 
445
- - [HelpModal](projects/prestations-ng/src/foehn-help-modal/foehn-help-modal.type.ts)
446
- - add value `modalSize?: string` to configure the size of the foehn-help-modal (defaults to `modal-lg`)
525
+ - [HelpModal](projects/prestations-ng/src/foehn-help-modal/foehn-help-modal.type.ts)
447
526
 
448
- - [Image](projects/prestations-ng/src/foehn-help-modal/foehn-help-modal.type.ts)
449
- - add value `width?: string` to configure the size of the picture (defaults to `100%`)
450
- - add value `height?: string` to configure the size of the picture (defaults to `auto`)
527
+ - add value `modalSize?: string` to configure the size of the foehn-help-modal (defaults to `modal-lg`)
528
+
529
+ - [Image](projects/prestations-ng/src/foehn-help-modal/foehn-help-modal.type.ts)
530
+ - add value `width?: string` to configure the size of the picture (defaults to `100%`)
531
+ - add value `height?: string` to configure the size of the picture (defaults to `auto`)
451
532
 
452
533
  ### Fixed
453
534
 
454
- - [foehn-input-textarea.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-textarea.component.ts)
455
- - CSS color of remaining chars not being changed when input is reset
535
+ - [foehn-input-textarea.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-textarea.component.ts)
536
+
537
+ - CSS color of remaining chars not being changed when input is reset
538
+
539
+ - [foehn-boolean-checkbox.component.html](projects/prestations-ng/src/foehn-boolean/foehn-boolean-checkbox.component.html)
456
540
 
457
- - [foehn-boolean-checkbox.component.html](projects/prestations-ng/src/foehn-boolean/foehn-boolean-checkbox.component.html)
458
- - handle `isLabelSrOnly` input
541
+ - handle `isLabelSrOnly` input
459
542
 
460
- - [foehn-picture-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-picture-upload/foehn-picture-upload.component.ts)
461
- - check file format before trying to display the image for cropping
462
- - when file has wrong extension, display error with key `foehn-picture-upload.invalid-file-type`
543
+ - [foehn-picture-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-picture-upload/foehn-picture-upload.component.ts)
544
+ - check file format before trying to display the image for cropping
545
+ - when file has wrong extension, display error with key `foehn-picture-upload.invalid-file-type`
463
546
 
464
547
  ## [15.3.0]
465
548
 
466
549
  ### Added
467
550
 
468
- - [foehn-multiselect-autocomplete.component.ts](projects/prestations-ng/src/foehn-multiselect-autocomplete/foehn-multiselect-autocomplete.component.ts)
469
- - add `@Input() itemHeightInSuggestionListInPx = 40` to customize height of each item in the suggestion list
470
- - add `@Input() elementBadgeLabel: any = 'label'` to customize selected items labels
471
-
472
- - [foehn-input.component.ts](projects/prestations-ng/src/foehn-input/foehn-input.component.ts)
473
- - add `@Input() showHelpModal = false` show an help-modal related to an foehn-input
474
- - add `@Input() helpModalTitle: string` The title of the modal
475
- - add `@Input() helpModalContent: string` The content of the modal
476
-
477
- - [foehn-input-email.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-email.component.ts)
478
- - add default help-modal in order to help user if email considered as not valid
551
+ - [foehn-multiselect-autocomplete.component.ts](projects/prestations-ng/src/foehn-multiselect-autocomplete/foehn-multiselect-autocomplete.component.ts)
552
+ - add `@Input() itemHeightInSuggestionListInPx = 40` to customize height of each item in the suggestion list
553
+ - add `@Input() elementBadgeLabel: any = 'label'` to customize selected items labels
554
+ - [foehn-input.component.ts](projects/prestations-ng/src/foehn-input/foehn-input.component.ts)
555
+ - add `@Input() showHelpModal = false` show an help-modal related to an foehn-input
556
+ - add `@Input() helpModalTitle: string` The title of the modal
557
+ - add `@Input() helpModalContent: string` The content of the modal
558
+ - [foehn-input-email.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-email.component.ts)
479
559
 
480
- - [foehn-checkable-group.component.ts](projects/prestations-ng/src/foehn-checkables/foehn-checkable-group.component.ts)
481
- - add `@Input() helpModal: HelpModal`
482
- - [foehn-help-modal.type.ts](projects/prestations-ng/src/foehn-help-modal/foehn-help-modal.type.ts)
483
- - add buttonTitle in order to be able to specify the title of the info button
560
+ - add default help-modal in order to help user if email considered as not valid
561
+
562
+ - [foehn-checkable-group.component.ts](projects/prestations-ng/src/foehn-checkables/foehn-checkable-group.component.ts)
563
+ - add `@Input() helpModal: HelpModal`
564
+ - [foehn-help-modal.type.ts](projects/prestations-ng/src/foehn-help-modal/foehn-help-modal.type.ts)
565
+ - add buttonTitle in order to be able to specify the title of the info button
484
566
 
485
567
  ### Fixed
486
568
 
487
- - [foehn-page.component.ts](projects/prestations-ng/src/foehn-page/foehn-page.component.ts)
488
- - hide `foehn-status-progress-bar` if the prestation has a blocking alert
569
+ - [foehn-page.component.ts](projects/prestations-ng/src/foehn-page/foehn-page.component.ts)
570
+ - hide `foehn-status-progress-bar` if the prestation has a blocking alert
489
571
 
490
572
  ## [15.2.5]
491
573
 
492
574
  ### Added
493
575
 
494
- - [foehn-autocomplete.component.ts](projects/prestations-ng/src/foehn-autocomplete/foehn-autocomplete.component.ts)
495
- - add `@Input() itemHeightInSuggestionListInPx = 40` to customize height of each item in the suggestion list
496
-
576
+ - [foehn-autocomplete.component.ts](projects/prestations-ng/src/foehn-autocomplete/foehn-autocomplete.component.ts)
577
+ - add `@Input() itemHeightInSuggestionListInPx = 40` to customize height of each item in the suggestion list
578
+
497
579
  ### Fixed
498
580
 
499
- - [foehn-input-textarea.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-textarea.component.ts)
500
- - add function `getCharCountLabel` that return the plural or singular form of the label accordingly (one dictionary key for plural and another one for singular)
501
- - add default label for remaining characters in [default-dictionary.ts](projects/prestations-ng/src/sdk-dictionary/default-dictionary.ts)
502
- - `'foehn-textarea.chars-remaining.plural': '{charCountLeft} caractères restants'`
503
- - `'foehn-textarea.chars-remaining.singular': '{charCountLeft} caractère restant'`
504
- - `'foehn-textarea.chars-remaining.zero': 'Vous avez atteint le nombre de caractère autorisé!'`
505
- - `'foehn-textarea.chars-remaining.exceeded': 'Vous avez dépassé le nombre de caractères autorisés de {charCountLeft}'`
581
+ - [foehn-input-textarea.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-textarea.component.ts)
582
+
583
+ - add function `getCharCountLabel` that return the plural or singular form of the label accordingly (one dictionary key for plural and another one for singular)
584
+ - add default label for remaining characters in [default-dictionary.ts](projects/prestations-ng/src/sdk-dictionary/default-dictionary.ts)
585
+ - `'foehn-textarea.chars-remaining.plural': '{charCountLeft} caractères restants'`
586
+ - `'foehn-textarea.chars-remaining.singular': '{charCountLeft} caractère restant'`
587
+ - `'foehn-textarea.chars-remaining.zero': 'Vous avez atteint le nombre de caractère autorisé!'`
588
+ - `'foehn-textarea.chars-remaining.exceeded': 'Vous avez dépassé le nombre de caractères autorisés de {charCountLeft}'`
589
+
590
+ - [foehn-modal.component.html](projects/prestations-ng/src/foehn-modal/foehn-modal.component.html)
506
591
 
507
- - [foehn-modal.component.html](projects/prestations-ng/src/foehn-modal/foehn-modal.component.html)
508
- - close button label + aria-label can now be overriden in dictionary
509
- - add default label for remaining characters in [default-dictionary.ts](projects/prestations-ng/src/sdk-dictionary/default-dictionary.ts)
510
- - `'foehn-modal.btn-close.aria-label': 'Fermer la boite de dialogue'`
511
- - `'foehn-modal.btn-close.title': 'Fermer'`
592
+ - close button label + aria-label can now be overriden in dictionary
593
+ - add default label for remaining characters in [default-dictionary.ts](projects/prestations-ng/src/sdk-dictionary/default-dictionary.ts)
594
+ - `'foehn-modal.btn-close.aria-label': 'Fermer la boite de dialogue'`
595
+ - `'foehn-modal.btn-close.title': 'Fermer'`
512
596
 
513
- - [gesdem-confirmation.component.ts](projects/prestations-ng/src/gesdem-confirmation/gesdem-confirmation.component.ts)
514
- - `@Input() hideReference = false` to choose if the confirmation message display the reference number
597
+ - [gesdem-confirmation.component.ts](projects/prestations-ng/src/gesdem-confirmation/gesdem-confirmation.component.ts)
598
+
599
+ - `@Input() hideReference = false` to choose if the confirmation message display the reference number
600
+
601
+ - [gesdem-confirmation.component.html](projects/prestations-ng/projects/prestations-ng/src/gesdem-confirmation/gesdem-confirmation.component.html)
602
+ - add condition `*ngIf="!hideReference"`
515
603
 
516
- - [gesdem-confirmation.component.html](projects/prestations-ng/projects/prestations-ng/src/gesdem-confirmation/gesdem-confirmation.component.html)
517
- - add condition `*ngIf="!hideReference"`
518
-
519
604
  ## [15.2.4]
520
605
 
521
606
  ### Added
522
607
 
523
- - [foehn-select.component.ts](projects/prestations-ng/src/foehn-checkables/foehn-select.component.ts)
524
- - add `@Input() noSelectionLabel = '-'` to customize the value displayed when the field is not required and nothing has been selected
608
+ - [foehn-select.component.ts](projects/prestations-ng/src/foehn-checkables/foehn-select.component.ts)
609
+ - add `@Input() noSelectionLabel = '-'` to customize the value displayed when the field is not required and nothing has been selected
525
610
 
526
611
  ## [15.2.3]
527
612
 
528
613
  ### Added
529
614
 
530
- - [foehn-table-column-configuration.ts](projects/prestations-ng/src/foehn-table/foehn-table-column-configuration.ts)
531
- - add optional field `template: TemplateRef<unknown>` to customize a cell
532
- - field `valueGetter` becomes optional
615
+ - [foehn-table-column-configuration.ts](projects/prestations-ng/src/foehn-table/foehn-table-column-configuration.ts)
616
+ - add optional field `template: TemplateRef<unknown>` to customize a cell
617
+ - field `valueGetter` becomes optional
533
618
 
534
619
  ### Fixed
535
620
 
536
- - [redirect.component.ts](projects/prestations-ng/src/sdk-redirect/redirect.component.ts)
537
- - reload page instead of redirecting to `/iam/accueil` when session has expired
621
+ - [redirect.component.ts](projects/prestations-ng/src/sdk-redirect/redirect.component.ts)
622
+ - reload page instead of redirecting to `/iam/accueil` when session has expired
538
623
 
539
624
  ### Removed
540
625
 
541
- - [foehn-modal.component.ts](projects/prestations-ng/src/foehn-modal/foehn-modal.component.ts)
542
- - removed `@Input() modalFooterText` (was not used in the template)
626
+ - [foehn-modal.component.ts](projects/prestations-ng/src/foehn-modal/foehn-modal.component.ts)
627
+ - removed `@Input() modalFooterText` (was not used in the template)
543
628
 
544
629
  ### Updated
545
630
 
@@ -548,441 +633,482 @@ data: {
548
633
 
549
634
  ### Updated
550
635
 
551
- - [foehn-input-number.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-number.component.ts)
552
- - added a standard help-text that describes the expected input (i.e. "Saisir un nombre entre 0 et 999'999")
553
- - label is configurable with the dictionary (`foehn-input-number.standard-help-text.label`, defaults to `Saisir un nombre entre {minValue} et {maxValue}`)
554
- - is placed after the `[helpText]` if provided
555
- - can be deactivated with the new `@Input() hideStandardHelpText` (defaults to `false`)
556
- - added a new `@Input() allowFreeInput` (defaults to `false`)
557
- - uses the component configuration to generate the standard help text, but allows the user to input anything in the field
558
- - /!\ if you use this, make sure your backend can deserialize any number correctly
559
-
560
- - [currency-formatter.directive.ts](projects/prestations-ng/src/directives/currency-formatter.directive.ts)
561
- - do not format decimal part with thousands separator
562
-
636
+ - [foehn-input-number.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-number.component.ts)
637
+
638
+ - added a standard help-text that describes the expected input (i.e. "Saisir un nombre entre 0 et 999'999")
639
+ - label is configurable with the dictionary (`foehn-input-number.standard-help-text.label`, defaults to `Saisir un nombre entre {minValue} et {maxValue}`)
640
+ - is placed after the `[helpText]` if provided
641
+ - can be deactivated with the new `@Input() hideStandardHelpText` (defaults to `false`)
642
+ - added a new `@Input() allowFreeInput` (defaults to `false`)
643
+ - uses the component configuration to generate the standard help text, but allows the user to input anything in the field
644
+ - /!\ if you use this, make sure your backend can deserialize any number correctly
645
+
646
+ - [currency-formatter.directive.ts](projects/prestations-ng/src/directives/currency-formatter.directive.ts)
647
+ - do not format decimal part with thousands separator
648
+
563
649
  ## [15.2.2]
564
650
 
565
651
  ### Fixed
566
652
 
567
- - [foehn-select.component.html](projects/prestations-ng/src/foehn-checkables/foehn-select.component.html)
568
- - use `elementValueIdentity` function if provided
653
+ - [foehn-select.component.html](projects/prestations-ng/src/foehn-checkables/foehn-select.component.html)
654
+ - use `elementValueIdentity` function if provided
569
655
 
570
- ### Added
656
+ ### Added
571
657
 
572
- - [foehn-table-column-configuration.ts](projects/prestations-ng/src/foehn-table/foehn-table-column-configuration.ts)
573
- - added optional field `iconGetter` to display an icon in a cell
658
+ - [foehn-table-column-configuration.ts](projects/prestations-ng/src/foehn-table/foehn-table-column-configuration.ts)
659
+ - added optional field `iconGetter` to display an icon in a cell
574
660
 
575
661
  ## [15.2.1]
576
662
 
577
663
  ### Updated
578
664
 
579
- - [foehn-page.component.ts](projects/prestations-ng/src/foehn-page/foehn-page.component.ts)
580
- - update login message (can be discarded to continue without login)
665
+ - [foehn-page.component.ts](projects/prestations-ng/src/foehn-page/foehn-page.component.ts)
666
+ - update login message (can be discarded to continue without login)
581
667
 
582
668
  ## [15.2.0]
583
669
 
584
670
  ### Updated
585
671
 
586
- - [gesdem-error.component.html](projects/prestations-ng/src/gesdem-error/gesdem-error.component.html)
587
- - use new endpoint `/action-statut` from prestations-be to get the status without trigerring any validation
672
+ - [gesdem-error.component.html](projects/prestations-ng/src/gesdem-error/gesdem-error.component.html)
588
673
 
589
- - [sdk-epayment.service.ts](projects/prestations-ng/src/sdk-epayment/sdk-epayment.service.ts)
590
- - added missing growl message on `createPendingPayment` failure
674
+ - use new endpoint `/action-statut` from prestations-be to get the status without trigerring any validation
591
675
 
676
+ - [sdk-epayment.service.ts](projects/prestations-ng/src/sdk-epayment/sdk-epayment.service.ts)
677
+ - added missing growl message on `createPendingPayment` failure
592
678
 
593
679
  ## [15.1.4]
594
680
 
595
681
  ### Updated
596
682
 
597
- - [gesdem-error.component.html](projects/prestations-ng/src/gesdem-error/gesdem-error.component.html)
598
- - display a custom message if the error page is displayed when the action status in `PENDING_PAYMENT`
599
- - redirect to the last page if the error page is displayed when the action status is final (`TRANSFERRED`, `ABANDONED`)
683
+ - [gesdem-error.component.html](projects/prestations-ng/src/gesdem-error/gesdem-error.component.html)
684
+ - display a custom message if the error page is displayed when the action status in `PENDING_PAYMENT`
685
+ - redirect to the last page if the error page is displayed when the action status is final (`TRANSFERRED`, `ABANDONED`)
600
686
 
601
687
  ## [15.1.3]
602
688
 
603
689
  ### Updated
604
- - [foehn-input-nav13.component.ts](projects/prestations-ng/src/foehn-nav13/foehn-input-nav13.component.ts)
605
- - pasting an AVS number (witouht the prefix `756`) in the first editable input will now expand it to the other inputs.
606
-
607
- - [foehn-agenda-timeslot-panel.component.ts](projects/prestations-ng/src/foehn-agenda/foehn-agenda-timeslot-panel/foehn-agenda-timeslot-panel.component.ts)
608
- - don't allow closing the panel if it would hide the selected slot
690
+
691
+ - [foehn-input-nav13.component.ts](projects/prestations-ng/src/foehn-nav13/foehn-input-nav13.component.ts)
692
+
693
+ - pasting an AVS number (witouht the prefix `756`) in the first editable input will now expand it to the other inputs.
694
+
695
+ - [foehn-agenda-timeslot-panel.component.ts](projects/prestations-ng/src/foehn-agenda/foehn-agenda-timeslot-panel/foehn-agenda-timeslot-panel.component.ts)
696
+ - don't allow closing the panel if it would hide the selected slot
609
697
 
610
698
  ## [15.1.2]
611
699
 
612
700
  ### Removed
613
- - [foehn-agenda.components.ts](projects/prestations-ng/src/foehn-agenda/foehn-agenda.component.ts)
614
- - removed `@Input() minDate: number[]`, replaced by `Calendar.minAvailableDate`
615
- - removed `@Input() maxDate: number[]`, replaced by `Calendar.maxAvailableDate`
701
+
702
+ - [foehn-agenda.components.ts](projects/prestations-ng/src/foehn-agenda/foehn-agenda.component.ts)
703
+ - removed `@Input() minDate: number[]`, replaced by `Calendar.minAvailableDate`
704
+ - removed `@Input() maxDate: number[]`, replaced by `Calendar.maxAvailableDate`
616
705
 
617
706
  ### Fixed
618
- - [foehn-date-picker.component.html](projects/prestations-ng/src/foehn-date-picker/foehn-date-picker.component.html)
619
- - do not display (`hidden`) days that are not in the current month (to avoid confusion with actually disabled days)
707
+
708
+ - [foehn-date-picker.component.html](projects/prestations-ng/src/foehn-date-picker/foehn-date-picker.component.html)
709
+ - do not display (`hidden`) days that are not in the current month (to avoid confusion with actually disabled days)
620
710
 
621
711
  ## [15.1.1]
622
712
 
623
713
  ### Updated
624
714
 
625
- - [foehn-input-nav13.component.ts](projects/prestations-ng/src/foehn-nav13/foehn-input-nav13.component.ts)
626
- - pasting an AVS number in the first editable input will now expand it to the other inputs.
715
+ - [foehn-input-nav13.component.ts](projects/prestations-ng/src/foehn-nav13/foehn-input-nav13.component.ts)
627
716
 
628
- - [foehn-input-number.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-number.component.ts)
629
- - added a default value for `@Input() maxlength: number`, set to `9`
630
- - this avoids having a value that exceeds Integer.MAX_INT which leads to a deserialization error in the backend
631
- - if you expect a Long or a BigDecimal, you should override this value.
717
+ - pasting an AVS number in the first editable input will now expand it to the other inputs.
718
+
719
+ - [foehn-input-number.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-number.component.ts)
720
+ - added a default value for `@Input() maxlength: number`, set to `9`
721
+ - this avoids having a value that exceeds Integer.MAX_INT which leads to a deserialization error in the backend
722
+ - if you expect a Long or a BigDecimal, you should override this value.
632
723
 
633
724
  ### Fixed
634
- - [gesdem-confirmation.component.ts](projects/prestations-ng/src/gesdem-confirmation/gesdem-confirmation.component.ts)
635
- - some boolean values were not overridable by route data :
636
- - `showDownloadPdfRecapButton`
637
- - `showLinkToMyDemandes`
638
- - `demandeIsClosedOnTransmit`
639
725
 
640
- ## [15.1.0]
726
+ - [gesdem-confirmation.component.ts](projects/prestations-ng/src/gesdem-confirmation/gesdem-confirmation.component.ts)
727
+ - some boolean values were not overridable by route data :
728
+ - `showDownloadPdfRecapButton`
729
+ - `showLinkToMyDemandes`
730
+ - `demandeIsClosedOnTransmit`
731
+
732
+ ## [15.1.0]
641
733
 
642
734
  ### Added
643
735
 
644
736
  - [ApplicationInfo](projects/prestations-ng/src/sdk-appinfo/application-info.ts)
645
- - added one attribute to ApplicationInfo :
646
- - `string[] mockedServices` : all properties name containing 'mock' having value != "false". Will be displayed in a warning banner at top of the page. Need prestations-ng >=15.1.0
647
737
 
648
- - [foehn-input.component.ts](projects/prestations-ng/src/foehn-input/foehn-input.component.ts)
649
- - `@Input() autocapitalize: string` Possible values: `off|on|words|characters`
738
+ - added one attribute to ApplicationInfo :
739
+ - `string[] mockedServices` : all properties name containing 'mock' having value != "false". Will be displayed in a warning banner at top of the page. Need prestations-ng >=15.1.0
740
+
741
+ - [foehn-input.component.ts](projects/prestations-ng/src/foehn-input/foehn-input.component.ts)
742
+ - `@Input() autocapitalize: string` Possible values: `off|on|words|characters`
650
743
 
651
744
  ### Fixed
652
745
 
653
- - [foehn-input-address.component.ts](projects/prestations-ng/src/foehn-address/foehn-input-address.component.ts)
654
- - fixed streets and houseNumbers suggestion list not being emptied when locality is cleared
746
+ - [foehn-input-address.component.ts](projects/prestations-ng/src/foehn-address/foehn-input-address.component.ts)
747
+
748
+ - fixed streets and houseNumbers suggestion list not being emptied when locality is cleared
655
749
 
656
- - [foehn-input-date.component.ts](projects/prestations-ng/src/foehn-input-date/foehn-input-date.component.ts)
657
- - fixed error not disappearing when selecting a date in date picker
750
+ - [foehn-input-date.component.ts](projects/prestations-ng/src/foehn-input-date/foehn-input-date.component.ts)
751
+
752
+ - fixed error not disappearing when selecting a date in date picker
658
753
 
659
- - [foehn-input.component.ts](projects/prestations-ng/src/foehn-input/foehn-input.component.ts)
660
- - fixed `markAsDirty()` and `markAsPristine()` not handling `subComponents`
754
+ - [foehn-input.component.ts](projects/prestations-ng/src/foehn-input/foehn-input.component.ts)
755
+ - fixed `markAsDirty()` and `markAsPristine()` not handling `subComponents`
661
756
 
662
757
  ## [15.0.2]
663
758
 
664
759
  ### Added
665
- - [sdk-statistics.service.ts](projects/prestations-ng/src/sdk-statistics/sdk-statistics.service.ts)
666
- - New statistics tool. Set `application-info.properties.matomoUrl` & `application-info.properties.matomoSiteId` properties
760
+
761
+ - [sdk-statistics.service.ts](projects/prestations-ng/src/sdk-statistics/sdk-statistics.service.ts)
762
+ - New statistics tool. Set `application-info.properties.matomoUrl` & `application-info.properties.matomoSiteId` properties
667
763
 
668
764
  ### Updated
669
765
 
670
- - [package.json](package.json)
671
- - Updated `@dsivd/foehn` to 1.8.4. See [the changelog](https://github.com/DSI-VD/foehn/blob/master/CHANGELOG.md) for more information.
766
+ - [package.json](package.json)
767
+ - Updated `@dsivd/foehn` to 1.8.4. See [the changelog](https://github.com/DSI-VD/foehn/blob/master/CHANGELOG.md) for more information.
672
768
 
673
769
  ## [15.0.1]
674
770
 
675
771
  ### Fixed
676
772
 
677
- - [Accessibility demo page](https://dsi-vd.github.io/prestations-ng/demo-accessibilite)
678
- - fixed `foehn-input-date` migration
679
- - added min/max date to `foehn-agenda`
773
+ - [Accessibility demo page](https://dsi-vd.github.io/prestations-ng/demo-accessibilite)
774
+ - fixed `foehn-input-date` migration
775
+ - added min/max date to `foehn-agenda`
680
776
 
681
777
  ## [15.0.0]
682
778
 
683
779
  ### Added
684
780
 
685
- - [UPGRADING_V15](UPGRADING_V15.md)
686
- - Added migration guide
781
+ - [UPGRADING_V15](UPGRADING_V15.md)
782
+
783
+ - Added migration guide
687
784
 
688
- - New [agenda documentation](https://dsi-vd.github.io/prestations-ng/agenda) page
785
+ - New [agenda documentation](https://dsi-vd.github.io/prestations-ng/agenda) page
689
786
 
690
- - [foehn-agenda.components.ts](projects/prestations-ng/src/foehn-agenda/foehn-agenda.component.ts)
691
- - Model `calendar.type.ts` ([Calendar](projects/prestations-ng/src/foehn-agenda/calendar.type.ts))
692
- - Model `current-week.type.ts` ([CurrentWeek](projects/prestations-ng/src/foehn-agenda/current-week.type.ts))
693
- - Model `day-slots.type.ts` ([DaySlots](projects/prestations-ng/src/foehn-agenda/day-slots.type.ts))
694
- - Model `pagination-week.type.ts` ([PaginationWeek](projects/prestations-ng/src/foehn-agenda/pagination-week.type.ts))
695
- - `@Input() calendar: Observable<Calendar>`
696
- - `@Input() nbVisibleElements: number` default number of visible elements is 22
697
- - `@Input() minDate: number[]` used as minDate in datePicker
698
- - `@Input() maxDate: number[]` used as maxDate in datePicker
699
- - `@Output() paginationChange: EventEmitter<PaginationWeek>()`
787
+ - [foehn-agenda.components.ts](projects/prestations-ng/src/foehn-agenda/foehn-agenda.component.ts)
700
788
 
701
- - Add [foehn-status-progress-bar.component.spec.ts](projects/prestations-ng/src/foehn-status-progress-bar/foehn-status-progress-bar.component.spec.ts)
789
+ - Model `calendar.type.ts` ([Calendar](projects/prestations-ng/src/foehn-agenda/calendar.type.ts))
790
+ - Model `current-week.type.ts` ([CurrentWeek](projects/prestations-ng/src/foehn-agenda/current-week.type.ts))
791
+ - Model `day-slots.type.ts` ([DaySlots](projects/prestations-ng/src/foehn-agenda/day-slots.type.ts))
792
+ - Model `pagination-week.type.ts` ([PaginationWeek](projects/prestations-ng/src/foehn-agenda/pagination-week.type.ts))
793
+ - `@Input() calendar: Observable<Calendar>`
794
+ - `@Input() nbVisibleElements: number` default number of visible elements is 22
795
+ - `@Input() minDate: number[]` used as minDate in datePicker
796
+ - `@Input() maxDate: number[]` used as maxDate in datePicker
797
+ - `@Output() paginationChange: EventEmitter<PaginationWeek>()`
702
798
 
703
- - [foehn-input-date.component.html](projects/prestations-ng/src/foehn-input-date/foehn-input-date.component.html)
704
- - Added `<foehn-date-picker-button>` directly into template. Please refer to the [datepicker documentation](https://dsi-vd.github.io/prestations-ng/datepicker)
799
+ - Add [foehn-status-progress-bar.component.spec.ts](projects/prestations-ng/src/foehn-status-progress-bar/foehn-status-progress-bar.component.spec.ts)
800
+
801
+ - [foehn-input-date.component.html](projects/prestations-ng/src/foehn-input-date/foehn-input-date.component.html)
802
+ - Added `<foehn-date-picker-button>` directly into template. Please refer to the [datepicker documentation](https://dsi-vd.github.io/prestations-ng/datepicker)
705
803
 
706
804
  ### Updated
707
805
 
708
- - [foehn-status-progress-bar.component.ts](projects/prestations-ng/src/foehn-status-progress-bar/foehn-status-progress-bar.component.ts)
709
- - Bugfix: no visual glitch on the first page (step 2 "Verification" was briefly displayed when starting)
710
-
711
- - [foehn-confirm-modal.component.html](projects/prestations-ng/src/foehn-confirm-modal/foehn-confirm-modal.component.html)
712
- - Add closeable on FoehnConfirmModalContent. Default value is true. If false, modal has to be closed by the yes and no buttons.
713
-
714
- - Added RefInf DTOs matching to prestations-be
715
- - [address-type-light.ts](projects/prestations-ng/src/refinf/model/address-type-light.ts)
716
- - [canton.ts](projects/prestations-ng/src/refinf/model/canton.ts)
717
- - [district.ts](projects/prestations-ng/src/refinf/model/district.ts)
718
- - [municipality.ts](projects/prestations-ng/src/refinf/model/municipality.ts)
719
- - [place-of-origin.ts](projects/prestations-ng/src/refinf/model/place-of-origin.ts)
720
- - [postal-locality.ts](projects/prestations-ng/src/refinf/model/postal-locality.ts)
721
-
722
- - [foehn-date-picker.component.ts](projects/prestations-ng/src/foehn-date-picker/foehn-date-picker.component.ts)
723
- - [foehn-date-picker-button.component.ts](projects/prestations-ng/src/foehn-date-picker-button/foehn-date-picker-button.component.ts)
724
- - added `@Input() minDate: number[]` - minDate's year will override minYear setting
725
- - added `@Input() maxDate: number[]` - maxDate's year will override maxYear setting
726
-
727
- - [package.json](package.json)
728
- - Updated angular stack to ^13.1.0
729
- - Updated @fortawesome/angular-fontawesome to ^0.10.0
730
- - Updated rxjs to ~7.5.2
731
- - Updated ngx-image-cropper to ~6.0.0
732
-
733
- - [sdk-epayment.component.ts](projects/prestations-ng/src/sdk-epayment/sdk-epayment.component.ts)
734
- - [sdk-epayment.component.html](projects/prestations-ng/src/sdk-epayment/sdk-epayment.component.html)
735
- - [sdk-epayment.service.ts](projects/prestations-ng/src/sdk-epayment/sdk-epayment.service.ts)
736
- - Adaptations to use new e-payment method "Postfinance Checkout"
737
-
738
- - [backend-reponse.ts](projects/prestations-ng/src/backend-response.ts)
739
- - renamed to `FormPostResponse` to match prestations-be
740
- - renamed `GesdemMeta` to `FormMetadata` to match prestations-be
741
-
742
- - [error-template.ts](projects/prestations-ng/src/error-template.ts)
743
- - renamed to `FormError` to match prestations-be
744
-
745
- - DTOs from Refinf : Long attributes are now serialized by the back-end as String since their value can be higher than javascript's MAX_SAFE_INTEGER :
746
- - [address.type.ts](projects/prestations-ng/src/foehn-address/address.type.ts)
747
- - Street : `estrid`
748
- - Locality : `postalLocalityHistoryId`, `zipCodeId`
749
-
750
- - [foehn-date-picker.component.html](projects/prestations-ng/src/foehn-date-picker/foehn-date-picker.component.html)
751
- - added unique ids
752
-
753
- - [foehn-checkable-group.component.ts](projects/prestations-ng/src/foehn-checkables/foehn-checkable-group.component.ts)
754
- - set default value for `autocomplete` to `off`
755
-
756
- - [foehn-input-date.component.ts](projects/prestations-ng/src/foehn-input-date/foehn-input-date.component.ts)
757
- - Added `@Input() hideDatePickerButton: boolean` (default: false). Set to `true` to hide `foehn-date-picker-button`
806
+ - [foehn-status-progress-bar.component.ts](projects/prestations-ng/src/foehn-status-progress-bar/foehn-status-progress-bar.component.ts)
807
+
808
+ - Bugfix: no visual glitch on the first page (step 2 "Verification" was briefly displayed when starting)
809
+
810
+ - [foehn-confirm-modal.component.html](projects/prestations-ng/src/foehn-confirm-modal/foehn-confirm-modal.component.html)
811
+
812
+ - Add closeable on FoehnConfirmModalContent. Default value is true. If false, modal has to be closed by the yes and no buttons.
813
+
814
+ - Added RefInf DTOs matching to prestations-be
815
+
816
+ - [address-type-light.ts](projects/prestations-ng/src/refinf/model/address-type-light.ts)
817
+ - [canton.ts](projects/prestations-ng/src/refinf/model/canton.ts)
818
+ - [district.ts](projects/prestations-ng/src/refinf/model/district.ts)
819
+ - [municipality.ts](projects/prestations-ng/src/refinf/model/municipality.ts)
820
+ - [place-of-origin.ts](projects/prestations-ng/src/refinf/model/place-of-origin.ts)
821
+ - [postal-locality.ts](projects/prestations-ng/src/refinf/model/postal-locality.ts)
822
+
823
+ - [foehn-date-picker.component.ts](projects/prestations-ng/src/foehn-date-picker/foehn-date-picker.component.ts)
824
+ - [foehn-date-picker-button.component.ts](projects/prestations-ng/src/foehn-date-picker-button/foehn-date-picker-button.component.ts)
825
+
826
+ - added `@Input() minDate: number[]` - minDate's year will override minYear setting
827
+ - added `@Input() maxDate: number[]` - maxDate's year will override maxYear setting
828
+
829
+ - [package.json](package.json)
830
+
831
+ - Updated angular stack to ^13.1.0
832
+ - Updated @fortawesome/angular-fontawesome to ^0.10.0
833
+ - Updated rxjs to ~7.5.2
834
+ - Updated ngx-image-cropper to ~6.0.0
835
+
836
+ - [sdk-epayment.component.ts](projects/prestations-ng/src/sdk-epayment/sdk-epayment.component.ts)
837
+ - [sdk-epayment.component.html](projects/prestations-ng/src/sdk-epayment/sdk-epayment.component.html)
838
+ - [sdk-epayment.service.ts](projects/prestations-ng/src/sdk-epayment/sdk-epayment.service.ts)
839
+
840
+ - Adaptations to use new e-payment method "Postfinance Checkout"
841
+
842
+ - [backend-reponse.ts](projects/prestations-ng/src/backend-response.ts)
843
+
844
+ - renamed to `FormPostResponse` to match prestations-be
845
+ - renamed `GesdemMeta` to `FormMetadata` to match prestations-be
846
+
847
+ - [error-template.ts](projects/prestations-ng/src/error-template.ts)
848
+
849
+ - renamed to `FormError` to match prestations-be
850
+
851
+ - DTOs from Refinf : Long attributes are now serialized by the back-end as String since their value can be higher than javascript's MAX_SAFE_INTEGER :
852
+
853
+ - [address.type.ts](projects/prestations-ng/src/foehn-address/address.type.ts)
854
+ - Street : `estrid`
855
+ - Locality : `postalLocalityHistoryId`, `zipCodeId`
856
+
857
+ - [foehn-date-picker.component.html](projects/prestations-ng/src/foehn-date-picker/foehn-date-picker.component.html)
858
+
859
+ - added unique ids
860
+
861
+ - [foehn-checkable-group.component.ts](projects/prestations-ng/src/foehn-checkables/foehn-checkable-group.component.ts)
862
+
863
+ - set default value for `autocomplete` to `off`
864
+
865
+ - [foehn-input-date.component.ts](projects/prestations-ng/src/foehn-input-date/foehn-input-date.component.ts)
866
+ - Added `@Input() hideDatePickerButton: boolean` (default: false). Set to `true` to hide `foehn-date-picker-button`
758
867
 
759
868
  ### Removed
760
- - [session-info-data.ts](projects/prestations-ng/src/sdk-session-info/session-info-data.ts)
761
- - removed field `email` since this is the security e-mail that should not be used by prestations (`preferences.email` is the one that is allowed)]
762
869
 
763
- - [foehn-page.component.html](projects/prestations-ng/src/foehn-page/foehn-page.component.html)
764
- - removed `@Input() neverConnected`, if you needed this feature, you have to inject the value as a provider :
870
+ - [session-info-data.ts](projects/prestations-ng/src/sdk-session-info/session-info-data.ts)
871
+
872
+ - removed field `email` since this is the security e-mail that should not be used by prestations (`preferences.email` is the one that is allowed)]
873
+
874
+ - [foehn-page.component.html](projects/prestations-ng/src/foehn-page/foehn-page.component.html)
875
+ - removed `@Input() neverConnected`, if you needed this feature, you have to inject the value as a provider :
765
876
  ```json
766
877
  providers: [{ provide: 'neverConnected', useValue: true },]
767
878
  ```
768
879
 
769
- - [foehn-input-date.component.html](projects/prestations-ng/src/foehn-input-date/foehn-input-date.component.html)
770
- - Removed `<ng-content select="[date-picker-button]">` from template. Please refer to the [UPGRADING_V15](UPGRADING_V15.md)
880
+ - [foehn-input-date.component.html](projects/prestations-ng/src/foehn-input-date/foehn-input-date.component.html)
881
+ - Removed `<ng-content select="[date-picker-button]">` from template. Please refer to the [UPGRADING_V15](UPGRADING_V15.md)
771
882
 
772
883
  ## [14.5.25]
773
884
 
774
885
  ### Updated
775
886
 
776
- - [foehn-debug-summary.component.ts](projects/prestations-ng/src/foehn-debug-summary/foehn-debug-summary.component.ts)
777
- - Added `Référence de la demande` to debug summary
887
+ - [foehn-debug-summary.component.ts](projects/prestations-ng/src/foehn-debug-summary/foehn-debug-summary.component.ts)
888
+ - Added `Référence de la demande` to debug summary
778
889
 
779
890
  ## [14.5.24]
780
891
 
781
892
  ### Added
782
893
 
783
- - New [multiselect-autocomplete documentation](https://dsi-vd.github.io/prestations-ng/autocomplete#multiselect_autocomplete) page
894
+ - New [multiselect-autocomplete documentation](https://dsi-vd.github.io/prestations-ng/autocomplete#multiselect_autocomplete) page
784
895
 
785
- - [foehn-multiselect-autocomplete.component.ts](projects/prestations-ng/src/foehn-multiselect-autocomplete/foehn-multiselect-autocomplete.component.ts)
786
- - `@Input() defaultElementValues: unknown[]` To set default elements in list of selected
896
+ - [foehn-multiselect-autocomplete.component.ts](projects/prestations-ng/src/foehn-multiselect-autocomplete/foehn-multiselect-autocomplete.component.ts)
787
897
 
788
- - [foehn-checkable-group.component.ts](projects/prestations-ng/src/foehn-checkables/foehn-checkable-group.component.ts)
789
- - added `@Output() elementsLoaded = new EventEmitter<any>()` fired when checkable's elements are loaded
898
+ - `@Input() defaultElementValues: unknown[]` To set default elements in list of selected
899
+
900
+ - [foehn-checkable-group.component.ts](projects/prestations-ng/src/foehn-checkables/foehn-checkable-group.component.ts)
901
+ - added `@Output() elementsLoaded = new EventEmitter<any>()` fired when checkable's elements are loaded
790
902
 
791
903
  ## [14.5.23]
792
904
 
793
905
  ### Updated
794
906
 
795
- - [default-dictionary.ts](projects/prestations-ng/src/sdk-dictionary/default-dictionary.ts)
796
- - Rename last step in `foehn-status-progress-bar`
907
+ - [default-dictionary.ts](projects/prestations-ng/src/sdk-dictionary/default-dictionary.ts)
908
+ - Rename last step in `foehn-status-progress-bar`
797
909
 
798
910
  ## [14.5.22]
799
911
 
800
912
  ### Updated
801
913
 
802
- - [grecaptcha.component.ts](projects/prestations-ng/src/sdk-recaptcha/grecaptcha/grecaptcha.component.ts)
803
- - updated url to call recaptcha.net instead of google.com
804
-
914
+ - [grecaptcha.component.ts](projects/prestations-ng/src/sdk-recaptcha/grecaptcha/grecaptcha.component.ts)
915
+ - updated url to call recaptcha.net instead of google.com
916
+
805
917
  ## [14.5.21]
806
918
 
807
919
  ### Updated
808
920
 
809
- - [foehn-status-progress-bar.component.ts](projects/prestations-ng/src/foehn-status-progress-bar/foehn-status-progress-bar.component.ts)
810
- - By default, `foehn-status-progress-bar` is visible
921
+ - [foehn-status-progress-bar.component.ts](projects/prestations-ng/src/foehn-status-progress-bar/foehn-status-progress-bar.component.ts)
922
+ - By default, `foehn-status-progress-bar` is visible
811
923
 
812
924
  ## [14.5.20]
813
925
 
814
926
  ### Added
815
927
 
816
- - [foehn-status-progress-bar.component.ts](projects/prestations-ng/src/foehn-status-progress-bar/foehn-status-progress-bar.component.ts)
817
- - Add foehn-status-progress-bar component. Component used in foehn-page and can be hidden with `statusProgressBarHidden` input
928
+ - [foehn-status-progress-bar.component.ts](projects/prestations-ng/src/foehn-status-progress-bar/foehn-status-progress-bar.component.ts)
929
+ - Add foehn-status-progress-bar component. Component used in foehn-page and can be hidden with `statusProgressBarHidden` input
818
930
 
819
931
  ## [14.5.19]
820
932
 
821
933
  ### Added
822
934
 
823
- - [foehn-confirm-modal.component.html](projects/prestations-ng/src/foehn-confirm-modal/foehn-confirm-modal.component.html)
824
- - Add closeable on FoehnConfirmModalContent. Default value is true. If false, modal has to be closed by the yes and no buttons.
935
+ - [foehn-confirm-modal.component.html](projects/prestations-ng/src/foehn-confirm-modal/foehn-confirm-modal.component.html)
936
+ - Add closeable on FoehnConfirmModalContent. Default value is true. If false, modal has to be closed by the yes and no buttons.
825
937
 
826
938
  ## [14.5.18]
827
939
 
828
940
  ### Fixed
829
941
 
830
- - [object.helper.ts](projects/prestations-ng/src/helpers/object.helper.ts)
831
- - Fix isEqual method for arrays. The issue was if first array has same objects but less items.
832
- - This issue impacts foehn-select, foehn-list and foehn-table
833
-
942
+ - [object.helper.ts](projects/prestations-ng/src/helpers/object.helper.ts)
943
+ - Fix isEqual method for arrays. The issue was if first array has same objects but less items.
944
+ - This issue impacts foehn-select, foehn-list and foehn-table
834
945
 
835
946
  ## [14.5.17]
836
947
 
837
948
  ### Updated
838
949
 
839
- - [support-alert.service.ts](projects/prestations-ng/src/sdk-support-alert/support-alert.service.ts)
840
- - removed `setRefreshIntervalInSeconds(refreshIntervalsInSeconds: number)`, support alerts are now refreshed on every NavigationStart event from the Angular Router, but at most every 3 minutes.
841
- - [foehn-page.component.html](projects/prestations-ng/src/foehn-page/foehn-page.component.html)
842
- - added `@Input() supportAlertRefreshIntervalsInSeconds: number`, support alerts are now refreshed on every NavigationStart event from the Angular Router, but at most every 3 minutes.
950
+ - [support-alert.service.ts](projects/prestations-ng/src/sdk-support-alert/support-alert.service.ts)
951
+ - removed `setRefreshIntervalInSeconds(refreshIntervalsInSeconds: number)`, support alerts are now refreshed on every NavigationStart event from the Angular Router, but at most every 3 minutes.
952
+ - [foehn-page.component.html](projects/prestations-ng/src/foehn-page/foehn-page.component.html)
953
+ - added `@Input() supportAlertRefreshIntervalsInSeconds: number`, support alerts are now refreshed on every NavigationStart event from the Angular Router, but at most every 3 minutes.
843
954
 
844
955
  ## [14.5.16]
845
956
 
846
957
  ### Updated
847
958
 
848
- - [support-alert.service.ts](projects/prestations-ng/src/sdk-support-alert/support-alert.service.ts)
849
- - added `setRefreshIntervalInSeconds(refreshIntervalsInSeconds: number)` allowing to override the default refresh interval for support-alerts (default = 5 * 1000)
850
- - [foehn-page.component.html](projects/prestations-ng/src/foehn-page/foehn-page.component.html)
851
- - added `@Input() supportAlertRefreshIntervalsInSeconds: number` allowing to call SupportAlertService.setRefreshIntervalInSeconds()
959
+ - [support-alert.service.ts](projects/prestations-ng/src/sdk-support-alert/support-alert.service.ts)
960
+ - added `setRefreshIntervalInSeconds(refreshIntervalsInSeconds: number)` allowing to override the default refresh interval for support-alerts (default = 5 \* 1000)
961
+ - [foehn-page.component.html](projects/prestations-ng/src/foehn-page/foehn-page.component.html)
962
+ - added `@Input() supportAlertRefreshIntervalsInSeconds: number` allowing to call SupportAlertService.setRefreshIntervalInSeconds()
852
963
 
853
964
  ## [14.5.15]
854
965
 
855
966
  ### Added
856
967
 
857
- - [Autogenerated documentation](https://dsi-vd.github.io/prestations-ng/generateddoc)
858
- - prestations-ng documentation generated automatically by `compodoc`
968
+ - [Autogenerated documentation](https://dsi-vd.github.io/prestations-ng/generateddoc)
969
+
970
+ - prestations-ng documentation generated automatically by `compodoc`
971
+
972
+ - [foehn-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.ts)
973
+ - [foehn-bo-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-bo-multi-upload/foehn-bo-multi-upload.component.ts)
859
974
 
860
- - [foehn-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.ts)
861
- - [foehn-bo-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-bo-multi-upload/foehn-bo-multi-upload.component.ts)
862
- - Add possibility to hide confirmation message when a file is saved. Default is message is displayed. To change default value, add [shouldDisplayFileSavedConfirmation]="false" in your upload
975
+ - Add possibility to hide confirmation message when a file is saved. Default is message is displayed. To change default value, add [shouldDisplayFileSavedConfirmation]="false" in your upload
863
976
 
864
- - [gesdem-confirmation.component.html](projects/prestations-ng/src/gesdem-confirmation/gesdem-confirmation.component.html)
865
- - `telechargerBtn` (Télécharger la demande (pdf)) is also shown to a connected user
866
- - `logoutBtn` (Se déconnecter) is shown to a connected user instead of `terminerBtn` (Terminer)
977
+ - [gesdem-confirmation.component.html](projects/prestations-ng/src/gesdem-confirmation/gesdem-confirmation.component.html)
978
+ - `telechargerBtn` (Télécharger la demande (pdf)) is also shown to a connected user
979
+ - `logoutBtn` (Se déconnecter) is shown to a connected user instead of `terminerBtn` (Terminer)
867
980
 
868
981
  ### Fixed
869
982
 
870
- - [foehn-table.component.ts](projects/prestations-ng/src/foehn-table/foehn-table.component.ts)
871
- - table content was not being refreshed when sorting column
983
+ - [foehn-table.component.ts](projects/prestations-ng/src/foehn-table/foehn-table.component.ts)
984
+ - table content was not being refreshed when sorting column
872
985
 
873
986
  ## [14.5.14]
874
987
 
875
988
  ### Added
876
989
 
877
- - [foehn-table.module.ts](projects/prestations-ng/src/foehn-table/foehn-table.module.ts)
878
- - [foehn-table.component.ts](projects/prestations-ng/src/foehn-table/foehn-table.component.ts)
879
- - [foehn-table.component.html](projects/prestations-ng/src/foehn-table/foehn-table.component.html)
880
- - added a paginated table
881
- - for examples, see related page in the devtool (https://dsi-vd.github.io/prestations-ng/list#foehn_table)
990
+ - [foehn-table.module.ts](projects/prestations-ng/src/foehn-table/foehn-table.module.ts)
991
+ - [foehn-table.component.ts](projects/prestations-ng/src/foehn-table/foehn-table.component.ts)
992
+ - [foehn-table.component.html](projects/prestations-ng/src/foehn-table/foehn-table.component.html)
993
+ - added a paginated table
994
+ - for examples, see related page in the devtool (https://dsi-vd.github.io/prestations-ng/list#foehn_table)
882
995
 
883
996
  ## [14.5.13]
884
997
 
885
998
  ### Added
886
999
 
887
- - [foehn-picture-upload.module.ts](projects/prestations-ng/src/foehn-upload/foehn-picture-upload/foehn-picture-upload.module.ts)
888
- - [foehn-picture-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-picture-upload/foehn-picture-upload.component.ts)
889
- - [foehn-picture-upload.component.html](projects/prestations-ng/src/foehn-upload/foehn-picture-upload/foehn-picture-upload.component.html)
890
- - added a picture uploader that allows the user to crop the uploaded picture
891
- - requires `ngx-image-cropper@~5.0.0`
892
- - for examples, see related page in the devtool (https://dsi-vd.github.io/prestations-ng/upload#foehn_picture_upload)
1000
+ - [foehn-picture-upload.module.ts](projects/prestations-ng/src/foehn-upload/foehn-picture-upload/foehn-picture-upload.module.ts)
1001
+ - [foehn-picture-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-picture-upload/foehn-picture-upload.component.ts)
1002
+ - [foehn-picture-upload.component.html](projects/prestations-ng/src/foehn-upload/foehn-picture-upload/foehn-picture-upload.component.html)
1003
+ - added a picture uploader that allows the user to crop the uploaded picture
1004
+ - requires `ngx-image-cropper@~5.0.0`
1005
+ - for examples, see related page in the devtool (https://dsi-vd.github.io/prestations-ng/upload#foehn_picture_upload)
893
1006
 
894
1007
  ## [14.5.12]
895
1008
 
896
1009
  ### Fixed
897
1010
 
898
1011
  - [foehn-footer.component.ts](projects/prestations-ng/src/foehn-footer/foehn-footer.component.ts)
899
- - Fixed "SecurityBestPracticeLink" URL
1012
+ - Fixed "SecurityBestPracticeLink" URL
900
1013
 
901
1014
  ## [14.5.11]
902
1015
 
903
1016
  ### Fixed
904
1017
 
905
1018
  - [foehn-page.component.html](projects/prestations-ng/src/foehn-page/foehn-page.component.html)
906
- - do not try to display login messages when `neverConnected` is `true`
1019
+ - do not try to display login messages when `neverConnected` is `true`
907
1020
 
908
1021
  ## [14.5.10]
909
1022
 
910
1023
  ### Removed
911
1024
 
912
- - [currency-formatter.directive.ts](projects/prestations-ng/src/directives/currency-formatter.directive.ts)
913
- - Removed `@Input() maxDecimalCount` and added to [foehn-input-number.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-number.component.ts)
1025
+ - [currency-formatter.directive.ts](projects/prestations-ng/src/directives/currency-formatter.directive.ts)
1026
+ - Removed `@Input() maxDecimalCount` and added to [foehn-input-number.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-number.component.ts)
914
1027
 
915
1028
  ### Fixed
916
1029
 
917
- - [foehn-boolean-radio.component.html](projects/prestations-ng/src/foehn-boolean/foehn-boolean-radio.component.html)
918
- - Fixed focus highlight not being foehn like
919
- - `trueLabel` and `falseLabel` have been added the html property `innerHTML`
1030
+ - [foehn-boolean-radio.component.html](projects/prestations-ng/src/foehn-boolean/foehn-boolean-radio.component.html)
1031
+
1032
+ - Fixed focus highlight not being foehn like
1033
+ - `trueLabel` and `falseLabel` have been added the html property `innerHTML`
1034
+
1035
+ - [foehn-boolean-checkbox.component.html](projects/prestations-ng/src/foehn-boolean/foehn-boolean-checkbox.component.html)
1036
+
1037
+ - Fixed focus highlight not being foehn like
1038
+
1039
+ - [currency-formatter.directive.ts](projects/prestations-ng/src/directives/currency-formatter.directive.ts)
1040
+
1041
+ - fixed bug when input is not formatted when programmatically changed
1042
+ - takes into account the `maxlength` and `maxDecimalCount` of the directive's host when formatting for decimals
1043
+
1044
+ - [foehn-input-number.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-number.component.ts)
1045
+
1046
+ - cannot exceed `maxDecimalCount` anymore when user inputs
1047
+
1048
+ - [foehn-input-address.component.ts](projects/prestations-ng/src/foehn-address/foehn-input-address.component.ts)
920
1049
 
921
- - [foehn-boolean-checkbox.component.html](projects/prestations-ng/src/foehn-boolean/foehn-boolean-checkbox.component.html)
922
- - Fixed focus highlight not being foehn like
1050
+ - fix ids of address fields to link from foehn-validation-alert-summary
1051
+ - fix showing individual errors on zipCode and longName when locality is empty and country is not Switzerland
923
1052
 
924
- - [currency-formatter.directive.ts](projects/prestations-ng/src/directives/currency-formatter.directive.ts)
925
- - fixed bug when input is not formatted when programmatically changed
926
- - takes into account the `maxlength` and `maxDecimalCount` of the directive's host when formatting for decimals
1053
+ - [foehn-input.component.ts](projects/prestations-ng/src/foehn-input/foehn-input.component.ts)
927
1054
 
928
- - [foehn-input-number.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-number.component.ts)
929
- - cannot exceed `maxDecimalCount` anymore when user inputs
1055
+ - A field should not have any error indicator when disabled
1056
+ - added method `hasErrorsToDisplay()` that returns `true` if `hasErrors()` AND component is not disabled
1057
+ - replaced every use of `hasErrors()` in templates by `hasErrorsToDisplay()`
1058
+ - FoehnFormComponent still calls `hasErrors()` on each children in its `isValid()` method
930
1059
 
931
- - [foehn-input-address.component.ts](projects/prestations-ng/src/foehn-address/foehn-input-address.component.ts)
932
- - fix ids of address fields to link from foehn-validation-alert-summary
933
- - fix showing individual errors on zipCode and longName when locality is empty and country is not Switzerland
1060
+ - [foehn-autocomplete.component.ts](projects/prestations-ng/src/foehn-autocomplete/foehn-autocomplete.component.ts)
934
1061
 
935
- - [foehn-input.component.ts](projects/prestations-ng/src/foehn-input/foehn-input.component.ts)
936
- - A field should not have any error indicator when disabled
937
- - added method `hasErrorsToDisplay()` that returns `true` if `hasErrors()` AND component is not disabled
938
- - replaced every use of `hasErrors()` in templates by `hasErrorsToDisplay()`
939
- - FoehnFormComponent still calls `hasErrors()` on each children in its `isValid()` method
1062
+ - fixed suggestion list not displaying when emptying model by using keyboard combinations (ie: Shift+Home+Delete)
940
1063
 
941
- - [foehn-autocomplete.component.ts](projects/prestations-ng/src/foehn-autocomplete/foehn-autocomplete.component.ts)
942
- - fixed suggestion list not displaying when emptying model by using keyboard combinations (ie: Shift+Home+Delete)
1064
+ - [foehn-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.ts)
1065
+ - [foehn-bo-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-bo-multi-upload/foehn-bo-multi-upload.component.ts)
943
1066
 
944
- - [foehn-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.ts)
945
- - [foehn-bo-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-bo-multi-upload/foehn-bo-multi-upload.component.ts)
946
- - Fixed drop zone or upload button not showing anymore after dropping 1 file as pending file and multiple is set to true
1067
+ - Fixed drop zone or upload button not showing anymore after dropping 1 file as pending file and multiple is set to true
947
1068
 
948
1069
  - [foehn-footer.component.ts](projects/prestations-ng/src/foehn-footer/foehn-footer.component.ts)
949
- - Fixed "term of use" URL
1070
+ - Fixed "term of use" URL
950
1071
 
951
1072
  ### Added
952
1073
 
953
- - [date.helper.ts](projects/prestations-ng/src/sdk-date/date.helper.ts)
954
- - added function `toDayjsFromNumberArray(value: number[]): dayjs.Dayjs`
955
- - added function `isValid(value: number[]): boolean`
956
- - added function `isToday(value: number[]): boolean`
1074
+ - [date.helper.ts](projects/prestations-ng/src/sdk-date/date.helper.ts)
957
1075
 
958
- - [foehn-input-number.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-number.component.ts)
959
- - added `@Input() maxDecimalCount` which was removed from [currency-formatter.directive.ts](projects/prestations-ng/src/directives/currency-formatter.directive.ts)
1076
+ - added function `toDayjsFromNumberArray(value: number[]): dayjs.Dayjs`
1077
+ - added function `isValid(value: number[]): boolean`
1078
+ - added function `isToday(value: number[]): boolean`
960
1079
 
961
- - [foehn-input.component.ts](projects/prestations-ng/src/foehn-input/foehn-input.component.ts)
962
- - added `@Input() showErrorWhenDisabled` (default is `false`) giving the possibility to show an error on a disabled input
1080
+ - [foehn-input-number.component.ts](projects/prestations-ng/src/foehn-input/foehn-input-number.component.ts)
1081
+
1082
+ - added `@Input() maxDecimalCount` which was removed from [currency-formatter.directive.ts](projects/prestations-ng/src/directives/currency-formatter.directive.ts)
1083
+
1084
+ - [foehn-input.component.ts](projects/prestations-ng/src/foehn-input/foehn-input.component.ts)
1085
+ - added `@Input() showErrorWhenDisabled` (default is `false`) giving the possibility to show an error on a disabled input
963
1086
 
964
1087
  ### Updated
965
1088
 
966
- - [foehn-input-address.component.ts](projects/prestations-ng/src/foehn-address/foehn-input-address.component.ts)
967
- - Removed `searchValueMinCharsCount` for country and npaLocality because virtual scrolling is used for displaying results in `foehn-autocomplete`
1089
+ - [foehn-input-address.component.ts](projects/prestations-ng/src/foehn-address/foehn-input-address.component.ts)
1090
+
1091
+ - Removed `searchValueMinCharsCount` for country and npaLocality because virtual scrolling is used for displaying results in `foehn-autocomplete`
1092
+
1093
+ - [foehn-autocomplete.component.ts](projects/prestations-ng/src/foehn-autocomplete/foehn-autocomplete.component.ts)
968
1094
 
969
- - [foehn-autocomplete.component.ts](projects/prestations-ng/src/foehn-autocomplete/foehn-autocomplete.component.ts)
970
- - Pressing `Escape` key closes suggestion list when opened
971
- - Pressing `ArrowDown` key opens suggestion list when closed (if there are results to be shown)
1095
+ - Pressing `Escape` key closes suggestion list when opened
1096
+ - Pressing `ArrowDown` key opens suggestion list when closed (if there are results to be shown)
972
1097
 
973
- - [foehn-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.ts)
974
- - [foehn-bo-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-bo-multi-upload/foehn-bo-multi-upload.component.ts)
975
- - Drop zone is bigger and now highlighted when file enters navigator window. Dropping file outside drop zone is prevented to avoid navigator default action.
1098
+ - [foehn-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.ts)
1099
+ - [foehn-bo-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-bo-multi-upload/foehn-bo-multi-upload.component.ts)
976
1100
 
977
- - [package.json](package.json)
978
- - Updated `@dsivd/foehn` to 1.8.3. See [the changelog](https://github.com/DSI-VD/foehn/blob/master/CHANGELOG.md) for more information.
1101
+ - Drop zone is bigger and now highlighted when file enters navigator window. Dropping file outside drop zone is prevented to avoid navigator default action.
1102
+
1103
+ - [package.json](package.json)
1104
+ - Updated `@dsivd/foehn` to 1.8.3. See [the changelog](https://github.com/DSI-VD/foehn/blob/master/CHANGELOG.md) for more information.
979
1105
 
980
1106
  ## [14.5.9]
981
1107
 
982
1108
  ### Fixed
983
1109
 
984
1110
  - [foehn-checkable-group.component.ts](projects/prestations-ng/src/foehn-checkables/foehn-checkable-group.component.ts)
985
- - fixed elements not displaying when used with a pipe async
1111
+ - fixed elements not displaying when used with a pipe async
986
1112
 
987
1113
  ## [14.5.8]
988
1114
 
@@ -994,8 +1120,10 @@ data: {
994
1120
  ## [14.5.7]
995
1121
 
996
1122
  ### Fixed
1123
+
997
1124
  - [foehn-page-modal.component.ts](projects/prestations-ng/src/foehn-page/foehn-page-modal.component.ts)
998
- - do not display login messages when user is connected via IAM ACV (no context)
1125
+
1126
+ - do not display login messages when user is connected via IAM ACV (no context)
999
1127
 
1000
1128
  - [gesdem-action-recovery-registration.component.ts](projects/prestations-ng/src/gesdem-action-recovery/gesdem-action-recovery-registration/gesdem-action-recovery-registration.component.ts)
1001
1129
  - do not show recovery link when user is connected via IAM ACV (no context)
@@ -1003,36 +1131,39 @@ data: {
1003
1131
  ## [14.5.6]
1004
1132
 
1005
1133
  ### Fixed
1006
- - [foehn-select.component.html](projects/prestations-ng/src/foehn-checkables/foehn-select.component.html)
1134
+
1135
+ - [foehn-select.component.html](projects/prestations-ng/src/foehn-checkables/foehn-select.component.html)
1007
1136
  - attribute `disabled` was not used
1008
1137
 
1009
1138
  ### Added
1139
+
1010
1140
  - [gesdem-confirmation.component.ts](projects/prestations-ng/src/gesdem-confirmation/gesdem-confirmation.component.ts)
1011
- - updated confirmation message to `gesdem-confirmation.next-step.success-label` (Réponse transmise) when the action that has been sent is not the first one
1141
+ - updated confirmation message to `gesdem-confirmation.next-step.success-label` (Réponse transmise) when the action that has been sent is not the first one
1012
1142
 
1013
1143
  ## [14.5.5]
1014
1144
 
1015
1145
  ### Added
1016
1146
 
1017
- - [object-helper.ts](projects/prestations-ng/src/helpers/object.helper.ts)
1018
- - added a helper for manipulating objects
1019
- - `static isEqual(value1: unknown, value2: unknown): boolean`
1020
- - `static hasAnyValue(value: any): boolean`
1021
- - `static isEmpty(value: any): boolean`
1022
- - `static deepCopy(obj: any): any`
1147
+ - [object-helper.ts](projects/prestations-ng/src/helpers/object.helper.ts)
1148
+ - added a helper for manipulating objects
1149
+ - `static isEqual(value1: unknown, value2: unknown): boolean`
1150
+ - `static hasAnyValue(value: any): boolean`
1151
+ - `static isEmpty(value: any): boolean`
1152
+ - `static deepCopy(obj: any): any`
1023
1153
 
1024
1154
  ### Fixed
1025
1155
 
1026
- - Library is now compiled using `"compilationMode": "partial"` as it should have when upgrading it to Angular 12.
1027
- - No need to use `yarn start:symlink` anymore when linking library in project
1028
- - Cleanup your project if needed :
1029
- - in your `package.json` located at the root of your application, remove `start:symlink`
1030
- - remove `projects->[YOUR_PROJECT_NAME]->architect->build->configurations->symlink` attribute
1031
- - remove `projects->[YOUR_PROJECT_NAME]->architect->serve->configurations->symlink` attribute
1032
- - delete `front/src/tsconfig.app.symlink.json`
1156
+ - Library is now compiled using `"compilationMode": "partial"` as it should have when upgrading it to Angular 12.
1157
+
1158
+ - No need to use `yarn start:symlink` anymore when linking library in project
1159
+ - Cleanup your project if needed :
1160
+ - in your `package.json` located at the root of your application, remove `start:symlink`
1161
+ - remove `projects->[YOUR_PROJECT_NAME]->architect->build->configurations->symlink` attribute
1162
+ - remove `projects->[YOUR_PROJECT_NAME]->architect->serve->configurations->symlink` attribute
1163
+ - delete `front/src/tsconfig.app.symlink.json`
1033
1164
 
1034
- - [foehn-select.component.html](projects/prestations-ng/src/foehn-checkables/foehn-select.component.html)
1035
- - fixed problem when model holds a complex object (object in an object in an...)
1165
+ - [foehn-select.component.html](projects/prestations-ng/src/foehn-checkables/foehn-select.component.html)
1166
+ - fixed problem when model holds a complex object (object in an object in an...)
1036
1167
 
1037
1168
  ## [14.5.4]
1038
1169
 
@@ -1047,7 +1178,7 @@ data: {
1047
1178
 
1048
1179
  - [foehn-page-modal.component.ts](projects/prestations-ng/src/foehn-page/foehn-page-modal.component.ts)
1049
1180
  - manage connected user with multiple `SessionInfoData.categories`
1050
-
1181
+
1051
1182
  ## [14.5.2]
1052
1183
 
1053
1184
  ### Updated
@@ -1060,6 +1191,7 @@ data: {
1060
1191
  ### Updated
1061
1192
 
1062
1193
  - [ESLINT_MIGRATION_GUIDE](ESLINT_MIGRATION_GUIDE.md)
1194
+
1063
1195
  - Added missing plugins (`import`, `jsdoc`, `prefer-arrow` and `rxjs-angular`) when adding them with `yarn`
1064
1196
  - Uncommented `rxjs-angular` plugin and `rxjs-angular/prefer-async-pipe` rule in `.eslintrc.json` example because we are now building with node >= 12.0.0
1065
1197
  - Added more information on "Subtype vs Assignment"
@@ -1067,7 +1199,6 @@ data: {
1067
1199
 
1068
1200
  - [foehn-recap-section.component.ts](projects/prestations-ng/src/foehn-recap-section/foehn-recap-section.component.ts)
1069
1201
  - added class `text-break` to `dt` and `dd` elements
1070
-
1071
1202
  - [foehn-bo-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-bo-multi-upload/foehn-bo-multi-upload.component.ts)
1072
1203
  - added `@Output() documentDeleted` to get an event when a document has been deleted
1073
1204
 
@@ -1081,6 +1212,7 @@ data: {
1081
1212
  ### Added
1082
1213
 
1083
1214
  - [UPGRADING_V14](UPGRADING_V14.md)
1215
+
1084
1216
  - Added migration guide
1085
1217
 
1086
1218
  - Schematic for setting `allowSyntheticDefaultImports` to `true` in `tsconfig.json` compiler options
@@ -1107,22 +1239,22 @@ data: {
1107
1239
  ### Added
1108
1240
 
1109
1241
  - [ApplicationInfo](projects/prestations-ng/src/sdk-appinfo/application-info.ts)
1110
- - added two attributes to ApplicationInfo.EtapeInfo :
1111
- - `boolean decisionElectroniqueAvailable` true, when prestation can result in an official electronical decision
1112
- - `boolean deployeeCyber` true, when prestation is displayed in the "Espace Securisé"
1113
-
1242
+ - added two attributes to ApplicationInfo.EtapeInfo :
1243
+ - `boolean decisionElectroniqueAvailable` true, when prestation can result in an official electronical decision
1244
+ - `boolean deployeeCyber` true, when prestation is displayed in the "Espace Securisé"
1114
1245
  - [I18NForm](projects/prestations-ng/src/i18n-form.ts)
1115
- - added field `acceptDecisionElectronique: boolean`, must be answered when `ApplicationInfo.EtapeInfo.decisionElectroniqueAvailable` is true
1246
+
1247
+ - added field `acceptDecisionElectronique: boolean`, must be answered when `ApplicationInfo.EtapeInfo.decisionElectroniqueAvailable` is true
1116
1248
 
1117
1249
  - [foehn-decision-electronique.component.ts](projects/prestations-ng/src/foehn-decision-electronique/foehn-decision-electronique.component.ts)
1118
1250
  - [foehn-decision-electronique.module.ts](projects/prestations-ng/src/foehn-decision-electronique/foehn-decision-electronique.module.ts)
1251
+
1119
1252
  - component to let the user choose `I18NForm.acceptDecisionElectronique` when `ApplicationInfo.EtapeInfo.decisionElectroniqueAvailable` is true
1120
1253
  - should be added to the last page of the "prestation"
1121
1254
 
1122
1255
  - [foehn-page.component.html](projects/prestations-ng/src/foehn-page/foehn-page.component.html)
1123
1256
  - when relevant, a message is shown to the user, suggesting to login to fully use the Espace sécurisé's features
1124
1257
 
1125
-
1126
1258
  ### Fixed
1127
1259
 
1128
1260
  - [foehn-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.ts)
@@ -1133,7 +1265,7 @@ data: {
1133
1265
  ### Added
1134
1266
 
1135
1267
  - [foehn-bo-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-bo-multi-upload/foehn-bo-multi-upload.component.ts)
1136
- - See [documentation](upload#foehn_bo_multi_upload)
1268
+ - See [documentation](upload#foehn_bo_multi_upload)
1137
1269
  - Default setting:
1138
1270
  - `@Input() multiple = true` (setting to false actes as a single file uploader)
1139
1271
  - `@Input() dragAndDrop = true` (setting to false hiddes drop zone)
@@ -1148,28 +1280,31 @@ data: {
1148
1280
  - file extension authorized `.pdf` (can be overridden by adding in back-end properties `document.file-extensions=[YOUR_EXTENSIONS_HERE]`)
1149
1281
  - file max size is `1 Mo` (can be overridden by changing back-end property `spring.servlet.multipart.max-file-size`)
1150
1282
 
1151
-
1152
1283
  ## [14.3.1]
1153
1284
 
1154
1285
  - [foehn-validation-alert-summary.component.ts](projects/prestations-ng/src/foehn-validation-alert-summary/foehn-validation-alert-summary.component.ts)
1155
- - the message "il y a un problème" has been added to the [default dictionary](projects/prestations-ng/src/sdk-dictionary/default-dictionary.ts) and can be translated
1286
+
1287
+ - the message "il y a un problème" has been added to the [default dictionary](projects/prestations-ng/src/sdk-dictionary/default-dictionary.ts) and can be translated
1156
1288
 
1157
1289
  - [foehn-navigation.component.html](projects/prestations-ng/src/foehn-navigation/foehn-navigation/foehn-navigation.component.html)
1158
- - the word "sur" in the middle of the pagination links has been added to the [default dictionary](projects/prestations-ng/src/sdk-dictionary/default-dictionary.ts) and can be translated
1290
+ - the word "sur" in the middle of the pagination links has been added to the [default dictionary](projects/prestations-ng/src/sdk-dictionary/default-dictionary.ts) and can be translated
1159
1291
 
1160
1292
  ## [14.3.0] - Version aligned with prestations-be
1161
1293
 
1162
1294
  ### Added
1163
1295
 
1164
1296
  - [gesdem-confirmation.component.ts](projects/prestations-ng/src/gesdem-confirmation/gesdem-confirmation.component.ts)
1297
+
1165
1298
  - added `<ng-content></ng-content>` between green box and action buttons, see https://dsi-vd.github.io/prestations-ng/confirmation
1166
1299
 
1167
1300
  - New [datepicker documentation](https://dsi-vd.github.io/prestations-ng/datepicker) page
1168
1301
 
1169
1302
  - [foehn-input-date.component.html](projects/prestations-ng/src/foehn-input-date/foehn-input-date.component.html)
1303
+
1170
1304
  - Added a `<ng-content select="[date-picker-button]">` to include `<foehn-date-picker-button>`. Please refer to the [datepicker documentation](https://dsi-vd.github.io/prestations-ng/datepicker)
1171
1305
 
1172
1306
  - [foehn-date-picker-button.component.ts](projects/prestations-ng/src/foehn-date-picker-button/foehn-date-picker-button.component.ts)
1307
+
1173
1308
  - `@Input() minYear: number` (default: today - 100) minimum year to be displayed
1174
1309
  - `@Input() maxYear: number` (default: today + 10) maximum year to be displayed
1175
1310
  - `@Input() displaySelectedDate = true` When set to false, hides the selected date displayed beside the button
@@ -1177,6 +1312,7 @@ data: {
1177
1312
  - `@Output() userInput = new EventEmitter<number[]>();` Fired when user chooses a date
1178
1313
 
1179
1314
  - [foehn-date-picker.component.ts](projects/prestations-ng/src/foehn-date-picker/foehn-date-picker.component.ts)
1315
+
1180
1316
  - `@Input() minYear: number` (default: today - 100) minimum year to be displayed
1181
1317
  - `@Input() maxYear: number` (default: today + 10) maximum year to be displayed
1182
1318
  - `@Input() datepickerTriggerHtmlElement: HTMLElement` HTML element which opens the date picker
@@ -1191,6 +1327,7 @@ data: {
1191
1327
  - added `@Input() hideGlobalInfos = false` to be able to hide the global infos in multiple mode
1192
1328
 
1193
1329
  ### Updated
1330
+
1194
1331
  - [foehn-multi-upload.component.ts](projects/prestations-ng/src/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.ts)
1195
1332
  - Default error messages have been moved to the default dictionary. They can be overridden and/or translated
1196
1333
 
@@ -1199,7 +1336,8 @@ data: {
1199
1336
  ### Added
1200
1337
 
1201
1338
  - [foehn-input-address.component.ts](projects/prestations-ng/src/foehn-address/foehn-input-address.component.ts)
1202
- - default value for postOfficeBoxText's help text ("Exemple : Case postale 122 ou CP122 ou CP 122"), can be overriden in dictionary with key `foehn-input-address.postOfficeBoxText.help-text`
1339
+
1340
+ - default value for postOfficeBoxText's help text ("Exemple : Case postale 122 ou CP122 ou CP 122"), can be overriden in dictionary with key `foehn-input-address.postOfficeBoxText.help-text`
1203
1341
 
1204
1342
  - [foehn-input.component.ts](projects/prestations-ng/src/foehn-input/foehn-input.component.ts)
1205
1343
  - Function `markAsDirty` to manually set component NgModel control to dirty
@@ -1211,17 +1349,21 @@ data: {
1211
1349
  - Manage manually markAsDirty and markAsPrestine for validation purpose
1212
1350
 
1213
1351
  ### Updated
1214
- - The base url sent as parameter to 'payNow' has been removed and has been replaced by an input that defaults to 'api/'. When the popup displaying an information message to the user explaining why the payment was cancelled in Postfinance, the request's status is set back to 'DRAFT'.
1352
+
1353
+ - The base url sent as parameter to 'payNow' has been removed and has been replaced by an input that defaults to 'api/'. When the popup displaying an information message to the user explaining why the payment was cancelled in Postfinance, the request's status is set back to 'DRAFT'.
1215
1354
  - [sdk-epayment.component.ts](projects/prestations-ng/src/sdk-epayment/sdk-epayment.component.ts)
1216
1355
 
1217
1356
  ## [14.0.0]
1218
1357
 
1219
1358
  ### Fixed
1359
+
1220
1360
  - [grecaptcha.component.ts](projects/prestations-ng/src/sdk-recaptcha/grecaptcha/grecaptcha.component.ts)
1361
+
1221
1362
  - reCaptcha language now depends on user language settings
1222
1363
 
1223
1364
  - [foehn-input-time.component.html](projects/prestations-ng/src/foehn-input-time/foehn-input-time.component.html)
1224
1365
  - [foehn-input-nav13.component.html](projects/prestations-ng/src/foehn-nav13/foehn-input-nav13.component.html)
1366
+
1225
1367
  - Now disables all inputs when attribute `[disabled]` is set to `true`
1226
1368
 
1227
1369
  - [foehn-boolean-radio.component.html](projects/prestations-ng/src/foehn-boolean/foehn-boolean-radio.component.html)
@@ -1232,30 +1374,35 @@ data: {
1232
1374
  ### Added
1233
1375
 
1234
1376
  - [form-select-option.ts](projects/prestations-ng/src/foehn-checkables/form-select-option.ts)
1377
+
1235
1378
  - Added `FormSelectOption` class to be used for foehn checkables components. Avoids re-creating it in every project. Gives the possibility to disable elements individually.
1236
1379
 
1237
1380
  - [backend-reponse.ts](projects/prestations-ng/src/backend-response.ts)
1381
+
1238
1382
  - Added `currentAction: number` to class GesdemMeta.
1239
1383
 
1240
1384
  - [foehn-page.component.html](projects/prestations-ng/src/foehn-page/foehn-page.component.html)
1385
+
1241
1386
  - page content is blocked when the browser is not supported but a button allows the user to continue anyway.
1242
1387
 
1243
1388
  - [foehn-navigation.component.html](projects/prestations-ng/src/foehn-navigation/foehn-navigation/foehn-navigation.component.html)
1244
1389
  - added `@Input() showContinueLaterButton = true` to be able to hide the "Continue Later" button on a specific page
1245
1390
 
1246
1391
  ### Removed
1392
+
1247
1393
  - [gesdem-confirmation.component.ts](projects/prestations-ng/src/gesdem-confirmation/gesdem-confirmation.component.ts)
1248
- - removed `@Input() currentEtape: number` and `ActivatedRoute.data.currentEtape`, `lastResponse.meta.currentAction` is now used to download the right pdf
1394
+ - removed `@Input() currentEtape: number` and `ActivatedRoute.data.currentEtape`, `lastResponse.meta.currentAction` is now used to download the right pdf
1249
1395
 
1250
1396
  ## [13.7.0]
1251
1397
 
1252
1398
  ### Fixed
1253
1399
 
1254
1400
  - [date.pipe.ts](projects/prestations-ng/src/pipes/date.pipe.ts)
1401
+
1255
1402
  - Rollback eslint fix and return `any` to avoid breaking apps
1256
1403
 
1257
1404
  - [gesdem-action-recovery-registration.component.ts](projects/prestations-ng/src/gesdem-action-recovery/gesdem-action-recovery-registration/gesdem-action-recovery-registration.component.ts)
1258
- - recovery registration errors should not override form errors (both should be displayed)
1405
+ - recovery registration errors should not override form errors (both should be displayed)
1259
1406
 
1260
1407
  ## [13.6.0]
1261
1408
 
@@ -1263,7 +1410,7 @@ data: {
1263
1410
 
1264
1411
  - [foehn-input.component.ts](projects/prestations-ng/src/foehn-input/foehn-input.component.ts)
1265
1412
  - `GESDEM_MAX_DATA_LENGTH` is now 10'000
1266
-
1413
+
1267
1414
  ## [13.5.1]
1268
1415
 
1269
1416
  ### Added
@@ -1280,21 +1427,23 @@ data: {
1280
1427
 
1281
1428
  - [ESLINT_MIGRATION_GUIDE](ESLINT_MIGRATION_GUIDE.md)
1282
1429
  - Added guide for migrating projects from TSLint to ESLint
1283
-
1430
+
1284
1431
  ## [13.4.1]
1285
1432
 
1286
1433
  ### Added
1287
-
1434
+
1288
1435
  - Migration from TSlint to ESlint: TSLint's support is deprecated in Angular CLI. To opt-in using the community driven ESLint builder, see: [migrating guide](https://github.com/angular-eslint/angular-eslint#migrating-from-codelyzer-and-tslint).
1289
1436
 
1290
1437
  ### Fixed
1438
+
1291
1439
  - [abstract-list-item-detail-page.component.ts](projects/prestations-ng/src/foehn/foehn-menu-prestation/abstract-list-item-detail-page.component.ts)
1440
+
1292
1441
  - reset breadcrumb on destroy
1293
- - `getListPagePath()` is now abstract since it should always be overriden (value was 'page-3' from skeleton's front-with-menu example)
1442
+ - `getListPagePath()` is now abstract since it should always be overriden (value was 'page-3' from skeleton's front-with-menu example)
1294
1443
 
1295
1444
  - [abstract-page-from-menu.component.ts](projects/prestations-ng/src/foehn/foehn-menu-prestation/abstract-page-from-menu.component.ts)
1296
- - `getMenuPath()` is now abstract since it should always be overriden (value was 'Menu' from skeleton's front-with-menu example)
1297
- - `getMenuLabel()` is now abstract since it should always be overriden (value was '/menu' from skeleton's front-with-menu example)
1445
+ - `getMenuPath()` is now abstract since it should always be overriden (value was 'Menu' from skeleton's front-with-menu example)
1446
+ - `getMenuLabel()` is now abstract since it should always be overriden (value was '/menu' from skeleton's front-with-menu example)
1298
1447
 
1299
1448
  ## [13.4.0]
1300
1449
 
@@ -3815,7 +3964,7 @@ for the first time)
3815
3964
  ```javascript
3816
3965
  // Typical usage
3817
3966
  breadcrumbService.setConfiguration({
3818
- prestationCode: '101016',
3967
+ prestationCode: '101016'
3819
3968
  });
3820
3969
 
3821
3970
  // All options
@@ -3824,7 +3973,7 @@ breadcrumbService.setConfiguration({
3824
3973
  allPrestationsUrl: '/100002/prestations',
3825
3974
  vdChUrl: 'https://www.vd.ch/',
3826
3975
  descriptionPageBaseUrl: 'https://www.vd.ch/go.to?prestation=',
3827
- prestationCode: '101016',
3976
+ prestationCode: '101016'
3828
3977
  });
3829
3978
  ```
3830
3979
 
@@ -3841,7 +3990,7 @@ this.applicationInfoService.firstEtapeInfo.subscribe(etapeInfo => {
3841
3990
  const { titreEtape, idMetierPrestation } = etapeInfo;
3842
3991
 
3843
3992
  this.breadcrumbService.setConfiguration({
3844
- prestationCode: idMetierPrestation,
3993
+ prestationCode: idMetierPrestation
3845
3994
  });
3846
3995
 
3847
3996
  this.appTitle = titreEtape;