@smals-belgium-shared/vidis-diarynote 1.1.3 → 2.0.0
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 +20 -0
- package/MatSymbols-Rounded.woff2 +0 -0
- package/OpenSans-Bold.ttf +0 -0
- package/OpenSans-ExtraBold.ttf +0 -0
- package/OpenSans-Italic.ttf +0 -0
- package/OpenSans-Light.ttf +0 -0
- package/OpenSans-Medium.ttf +0 -0
- package/OpenSans-Regular.ttf +0 -0
- package/OpenSans-SemiBold.ttf +0 -0
- package/README.md +9 -2
- package/assets/main-hvW41_QJ.js +60 -0
- package/assets/polyfills-CGYnV-49.js +2 -0
- package/diarynote.css +1 -1
- package/diarynote.js +1 -1
- package/package.json +1 -1
- package/assets/main-D0Hc2pKb.js +0 -31
- package/assets/polyfills-C4iAblqc.js +0 -2
package/CHANGELOG.md
CHANGED
|
@@ -35,4 +35,24 @@
|
|
|
35
35
|
## v1.1.3 (2025-05-16)
|
|
36
36
|
* Bugfixes
|
|
37
37
|
|
|
38
|
+
## v2.0.0 (2025-06-06)
|
|
39
|
+
* Update to Angular v19
|
|
40
|
+
* Update Design Kit to v2.5
|
|
41
|
+
* Remove title and back button
|
|
42
|
+
|
|
43
|
+
### vidis-medication-scheme-list:
|
|
44
|
+
* Label correction
|
|
45
|
+
* Your filtering is saved when you go back from an other component
|
|
46
|
+
|
|
47
|
+
### vidis-diarynote-list
|
|
48
|
+
* Add getTotalItems output
|
|
49
|
+
|
|
50
|
+
### vidis-prescription-list
|
|
51
|
+
* Add getTotalItems output
|
|
52
|
+
* Change `onPrintPrescriptions` output to `onPrint` and type from `{base64Pdf: string, printOptions: {filename: string, orientation: 'portrait'}}` to `{title: string, content: string}`
|
|
53
|
+
|
|
54
|
+
### vidis-prescription-detail
|
|
55
|
+
* Change `onPrintDetail` output to `onPrint` and type from `{base64Pdf: string, printOptions: {filename: string, orientation: 'portrait'}}` to `{title: string, content: string}`
|
|
56
|
+
|
|
57
|
+
|
|
38
58
|
## __RELEASE_VERSION__ (__RELEASE_DATE__)
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/README.md
CHANGED
|
@@ -14,6 +14,9 @@ The container application will have to provide the input parameters to provision
|
|
|
14
14
|
|
|
15
15
|
- A supported browser [by our Web Components](https://angular.dev/reference/versions#browser-support) AND [by eHealth][Supported browsers]
|
|
16
16
|
- A valid VIDIS token. It could be obtained from [eHealth Token eXchange][eHealth IAM] service. This token must be refreshed periodically in order to be used by VIDIS
|
|
17
|
+
- Notify partners that are using REST APIs so your VIDIS tokens & clients will be trusted :
|
|
18
|
+
- [Vitalink][Vitalink] & their Apigee service – Contact: vitalink-support@smals.be
|
|
19
|
+
- [Farmaflux][Farmaflux] – Contact: vidis@farmaflux.be
|
|
17
20
|
|
|
18
21
|
⚠️ IE (internet explorer) is not supported. You can include [polyfill scripts ("polyfills")](https://www.webcomponents.org/polyfills) for the browsers that you must support.
|
|
19
22
|
|
|
@@ -52,7 +55,11 @@ The main view displays a list of all diary notes that have been created by the p
|
|
|
52
55
|
| `configName` | true | `acc`, `prod` | Name of the configuration the application and the components are being deployed to. |
|
|
53
56
|
| `services` | true | N/A | Set of services to be consumed by the component. see [USAGE](#Usage). |
|
|
54
57
|
|
|
58
|
+
## Outputs
|
|
55
59
|
|
|
60
|
+
| Name | Type | Description |
|
|
61
|
+
|-----------------|--------|----------------------------------------------|
|
|
62
|
+
| `getTotalItems` | number | Gets the number of total diary notes |
|
|
56
63
|
|
|
57
64
|
|
|
58
65
|
## Usage
|
|
@@ -99,12 +106,12 @@ The main view displays a list of all diary notes that have been created by the p
|
|
|
99
106
|
})
|
|
100
107
|
|
|
101
108
|
// Example on how to listen to output parameter(s), for printing
|
|
102
|
-
wc.addEventListener("
|
|
109
|
+
wc.addEventListener("onPrint", (event) => {
|
|
103
110
|
console.log(`event:`, event)
|
|
104
111
|
const params = event.detail;
|
|
105
112
|
console.log('param:', params);
|
|
106
113
|
|
|
107
|
-
const byteArray = new Uint8Array(atob(params.
|
|
114
|
+
const byteArray = new Uint8Array(atob(params.content).split('').map(char => char.charCodeAt(0)))
|
|
108
115
|
const blob = new Blob([byteArray], {type: 'application/pdf'})
|
|
109
116
|
const url = window.URL.createObjectURL(blob)
|
|
110
117
|
window.open(url, '_blank').print()
|