@dsivd/prestations-ng 16.0.4 → 16.0.6

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