@smals-belgium-shared/vidis-diarynote 3.4.4-snapshot.15 → 3.4.4-snapshot.16

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
@@ -182,6 +182,7 @@
182
182
  * Add of `detail` input, with the type : `{ id: string; date?: string; }`
183
183
 
184
184
  ## __RELEASE_VERSION__ (__RELEASE_DATE__)
185
+ * `onError` to be emitted after reporting an error (in all webcoponents).
185
186
  ### vidis-prescription-detail
186
187
  * Masanté Demo mode data: Modify instructions in 2 languages
187
188
  * Bugfix: hide reservation button when prescription is already reserved
package/README.md CHANGED
@@ -62,10 +62,11 @@ The main view displays a list of all diary notes that have been created by the p
62
62
 
63
63
  ## Outputs
64
64
 
65
- | Name | Type | Description |
66
- |-----------------|-------------------------------------------------------|--------------------------------------|
67
- | `getTotalItems` | number | Gets the number of total diary notes |
68
- | `onDownload` | { fileName: string; content: Blob; mimeType: string } | Download event diary note attachment |
65
+ | Name | Type | Description |
66
+ |-----------------|-------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------|
67
+ | `getTotalItems` | number | Gets the number of total diary notes |
68
+ | `onDownload` | { fileName: string; content: Blob; mimeType: string } | Download event diary note attachment |
69
+ | `onError` | {reported: boolean} | Emitted after the error dialog closes. reported is true if the user confirmed reporting the error; otherwise false. |
69
70
 
70
71
 
71
72
  ## Usage