@smals-belgium-shared/vidis-prescription-detail 3.4.4-snapshot.3 → 3.4.4-snapshot.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/assets/{main-Bl9hotLU.js → main-Mc7F5AaT.js} +107 -108
- package/package.json +1 -1
- package/prescription-detail.js +1 -1
package/README.md
CHANGED
|
@@ -50,7 +50,7 @@ Moreover, the prescription detail page includes a variety of helpful features fo
|
|
|
50
50
|
|------------------|------|----------------------------------------------|
|
|
51
51
|
| `onPrint` | {title: string, content: string, mimeType: 'application/base64'} | Notified with the selected detail as base64 pdf and title. The pdf is created for portrait printing |
|
|
52
52
|
| `clickReserve` | {id: string, ssin: string} | ***MOBILE ONLY*** Emitted when a user wants to reserve the prescription. Needs to navigate to web component `vidis-pharmacy-reservation` with input `info` that comes from this event. |
|
|
53
|
-
| `clickVisibility` | {id: string, ssin: string} | ***MOBILE ONLY*** Emitted when a user wants to change the visibility for the prescription. Needs to navigate to web component `vidis-prescription-visibility` with input `info` that comes from this event. |
|
|
53
|
+
| `clickVisibility` | {id: string, ssin: string, action: 'pharmacy' | 'prescriber'} | ***MOBILE ONLY*** Emitted when a user wants to change the visibility for the prescription. Needs to navigate to web component `vidis-prescription-visibility` with input `info` that comes from this event. |
|
|
54
54
|
|
|
55
55
|
## Reservation component
|
|
56
56
|
tagName: `<vidis-pharmacy-reservation />`
|
|
@@ -68,7 +68,7 @@ tagName: `<vidis-prescription-visibility />`
|
|
|
68
68
|
|
|
69
69
|
| Property | Type | Required | Description |
|
|
70
70
|
|------------------|----------------------------|----------|----------------------------------------------|
|
|
71
|
-
| info | {id: string, ssin: string} | Yes | Recieved from the prescription detail component and needs to be passed to the visibility component for correct rendering |
|
|
71
|
+
| info | {id: string, ssin: string, action: 'pharmacy' | 'prescriber'} | Yes | Recieved from the prescription detail component and needs to be passed to the visibility component for correct rendering |
|
|
72
72
|
|
|
73
73
|
| Event | Type | Required | Description |
|
|
74
74
|
|------------------|-------------|----------|----------------------------------------------|
|