@smals-belgium-shared/vidis-prescription-list 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
@@ -41,11 +41,13 @@ The system also enables users to select one or multiple prescriptions from the l
41
41
 
42
42
  ## Outputs
43
43
 
44
- | Name | Type | Description |
45
- |------------------------|------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------|
46
- | `onSelectPrescription` | string | Notified with the selected RID code as string |
47
- | `onPrint` | {title: string, content: string, mimeType: 'application/base64'} | Notified with the selected prescriptions as base64 pdf and title. The pdf is created for portrait printing |
48
- | `getTotalItems` | number | Gets the number of total prescriptions |
44
+ | Name | Type | Description |
45
+ |------------------------|------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------|
46
+ | `onSelectPrescription` | string | Notified with the selected RID code as string |
47
+ | `onPrint` | {title: string, content: string, mimeType: 'application/base64'} | Notified with the selected prescriptions as base64 pdf and title. The pdf is created for portrait printing |
48
+ | `getTotalItems` | number | Gets the number of total prescriptions |
49
+ | `onError` | {reported: boolean} | Emitted after the error dialog closes. reported is true if the user confirmed reporting the error; otherwise false. |
50
+
49
51
 
50
52
 
51
53
  ## Usage