@smals-belgium-shared/vidis-diarynote 4.2.2-snapshot.31 → 4.2.2-snapshot.33
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 +18 -18
- package/diarynote.js +7 -7
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -291,15 +291,6 @@
|
|
|
291
291
|
* Fix "This element has insufficient contrast at this conformance level" issues in all web components
|
|
292
292
|
* Dynamically update HTML lang attribute to ensure correct screen reader pronunciation
|
|
293
293
|
|
|
294
|
-
### vidis-medication-scheme-list:
|
|
295
|
-
* Styling correction for mobile view
|
|
296
|
-
* Using togglers to change view on desktop view
|
|
297
|
-
* New icons for the togglers on desktop view and for the menu in mobile view
|
|
298
|
-
* Remove "Reasons" field on the mobile view for daily and weekly view to be aligned with desktop view
|
|
299
|
-
* Change the colors and remove the icon of the date-picker on mobile view when we are not on the current date
|
|
300
|
-
* Years are not displayed in the date-picker on the weekly view when looking for a week that runs over 2 months
|
|
301
|
-
* The message when the patient has no medication-scheme is now the correct one
|
|
302
|
-
|
|
303
294
|
### vidis-prescription-list
|
|
304
295
|
* Using /api/v3 instead of /v3 for all requests
|
|
305
296
|
* Make practitioner null-safe
|
|
@@ -308,6 +299,7 @@
|
|
|
308
299
|
* Resolve focus loss on sorting control and ensure sort announcements
|
|
309
300
|
* Adapt details button to align with other components
|
|
310
301
|
* Resolve display of fullname in the printed prescription
|
|
302
|
+
* Update mandateType endpoint from /v1 to /v3
|
|
311
303
|
|
|
312
304
|
### vidis-prescription-detail
|
|
313
305
|
* Desktop view Redesign
|
|
@@ -320,6 +312,7 @@
|
|
|
320
312
|
* The text below the pharmacy visibility label is now correctly grouped
|
|
321
313
|
* Give context to the SSIN number
|
|
322
314
|
* Resolve display of fullname in the printed prescription
|
|
315
|
+
* Add accessibility translation to cancel button for pharmacy reservation
|
|
323
316
|
|
|
324
317
|
### vidis-diarynote
|
|
325
318
|
* Redesign journal notes-list table for desktop
|
|
@@ -339,22 +332,29 @@
|
|
|
339
332
|
* download leaflet: using API V3 instead of V2
|
|
340
333
|
* Desktop and mobile views redesign
|
|
341
334
|
|
|
342
|
-
### vidis-medication-scheme-list:
|
|
343
|
-
* Using API V3 instead of V2 for all requests
|
|
344
|
-
* Secure components against API v3 payload changes and add '-' in case of empty or null value
|
|
345
|
-
* Desktop redesign
|
|
346
|
-
* Align NIHDI number to correct format
|
|
347
|
-
* Remove leaflet icon for weekly and daily view when leaflet is empty
|
|
348
|
-
|
|
349
335
|
### vidis-medication-scheme-detail
|
|
350
336
|
* Using API V3 instead of V2 for all requests
|
|
351
337
|
* Redesign for desktop
|
|
352
338
|
* Align NIHDI number to correct format
|
|
353
339
|
|
|
354
|
-
### vidis-medication-scheme-list
|
|
340
|
+
### vidis-medication-scheme-list
|
|
355
341
|
* Desktop redesign of weekly and daily section
|
|
356
342
|
* Align NIHDI number to correct format
|
|
357
343
|
* Resolve focus loss on sorting control
|
|
358
344
|
* Adapt details button to align with other components
|
|
359
345
|
* Restore focus and screen reader reading on list cards
|
|
360
|
-
|
|
346
|
+
* Improve view switching controls to comply with accessibility requirements for assistive technology users
|
|
347
|
+
* Improve date selector accessibility: the selected date is now correctly announced by screen readers and fully keyboard navigable
|
|
348
|
+
* Improve the contrast of the date selector texts
|
|
349
|
+
* Styling correction for mobile view
|
|
350
|
+
* Using togglers to change view on desktop view
|
|
351
|
+
* New icons for the togglers on desktop view and for the menu in mobile view
|
|
352
|
+
* Remove "Reasons" field on the mobile view for daily and weekly view to be aligned with desktop view
|
|
353
|
+
* Change the colors and remove the icon of the date-picker on mobile view when we are not on the current date
|
|
354
|
+
* Years are not displayed in the date-picker on the weekly view when looking for a week that runs over 2 months
|
|
355
|
+
* The message when the patient has no medication-scheme is now the correct one
|
|
356
|
+
* Using API V3 instead of V2 for all requests
|
|
357
|
+
* Secure components against API v3 payload changes and add '-' in case of empty or null value
|
|
358
|
+
* Desktop redesign
|
|
359
|
+
* Align NIHDI number to correct format
|
|
360
|
+
* Remove leaflet icon for weekly and daily view when leaflet is empty
|
package/diarynote.js
CHANGED
|
@@ -29978,7 +29978,7 @@ var vbe = (() => {
|
|
|
29978
29978
|
}, t.ɵprov = _e({ token: t, factory: t.ɵfac, providedIn: "root" });
|
|
29979
29979
|
let e = t;
|
|
29980
29980
|
return e;
|
|
29981
|
-
})(), ybe = { demo: { env: Jn.DEMO }, dev: { apiUrl: "http://vidis-fake-api.test.paas.vasdc.be", env: Jn.DEV }, int: { apiUrl: "https://vidis-api.int.pub.vascloud.be", env: Jn.INT }, acc: { apiUrl: "https://vidis-api.acc.vasha.be", env: Jn.ACC }, prod: { apiUrl: "https://vidis-api.vasha.be", env: Jn.PROD } }, Yu = (() => {
|
|
29981
|
+
})(), ybe = { demo: { env: Jn.DEMO }, dev: { apiUrl: "http://vidis-fake-api.test.paas.vasdc.be", env: Jn.DEV }, int: { apiUrl: "https://vidis-api.int.pub.vascloud.be/api/v3", env: Jn.INT }, acc: { apiUrl: "https://vidis-api.acc.vasha.be/api/v3", env: Jn.ACC }, prod: { apiUrl: "https://vidis-api.vasha.be/api/v3", env: Jn.PROD } }, Yu = (() => {
|
|
29982
29982
|
const t = class t {
|
|
29983
29983
|
constructor() {
|
|
29984
29984
|
this.environment = Fa(w(bs).configName$), this.configVariables = hi(() => {
|
|
@@ -30747,10 +30747,10 @@ var Jbe = Qbe, cE = new Jbe(Xbe, Kbe)._freeze(), nl = function(e) {
|
|
|
30747
30747
|
}
|
|
30748
30748
|
search(i, a, r, s) {
|
|
30749
30749
|
let l = {};
|
|
30750
|
-
return s && (l.ssin = s), i.dateRange.from && (l.fromDate = _l(i.dateRange.from, "yyyy-MM-dd")), i.dateRange.until && (l.toDate = _l(i.dateRange.until, "yyyy-MM-dd")), i.role && (l.roles = [i.role]), i.tags && (l.tags = i.tags), i.author && (l.authors = [i.author]), r.sort && (l.sort = nl[r.sort]), r.order === Lr.ascending && (l.sortDirection = "ascending"), a.page && (l.page = a.page), a.pageSize && (l.pageSize = a.pageSize), this.http.post("/
|
|
30750
|
+
return s && (l.ssin = s), i.dateRange.from && (l.fromDate = _l(i.dateRange.from, "yyyy-MM-dd")), i.dateRange.until && (l.toDate = _l(i.dateRange.until, "yyyy-MM-dd")), i.role && (l.roles = [i.role]), i.tags && (l.tags = i.tags), i.author && (l.authors = [i.author]), r.sort && (l.sort = nl[r.sort]), r.order === Lr.ascending && (l.sortDirection = "ascending"), a.page && (l.page = a.page), a.pageSize && (l.pageSize = a.pageSize), this.http.post("/diarynote/search", { ssin: s, pagination: { page: a.page ?? 0, pageSize: a.pageSize ?? 10, order: l.sortDirection ?? "descending" }, fromDate: l.fromDate, toDate: l.toDate, roles: l.roles, tags: l.tags, authors: l.authors, sortBy: this.toApiSort(r.sort) }, { headers: this.buildClientIdHeader() }).pipe(ct((c) => this.mapDiaryNotesResponse(c)));
|
|
30751
30751
|
}
|
|
30752
30752
|
downloadDiaryNoteAttachment({ id: i, attachmentIndex: a, patientSsin: r, source: s, version: l }) {
|
|
30753
|
-
return this.http.post("/
|
|
30753
|
+
return this.http.post("/diarynote/findOne", { ssin: r, id: i, version: l, source: s ?? "vitalink" }, { headers: this.buildClientIdHeader() }).pipe(ct((c) => {
|
|
30754
30754
|
var u;
|
|
30755
30755
|
let d = (u = c.attachments) == null ? void 0 : u[a];
|
|
30756
30756
|
if (d != null && d.data) {
|
|
@@ -30761,13 +30761,13 @@ var Jbe = Qbe, cE = new Jbe(Xbe, Kbe)._freeze(), nl = function(e) {
|
|
|
30761
30761
|
}), Dl((c) => Xm(() => c)));
|
|
30762
30762
|
}
|
|
30763
30763
|
postDiaryNote(i, a, r, s) {
|
|
30764
|
-
return this.http.post("/
|
|
30764
|
+
return this.http.post("/diarynote", this.buildFormData(i, a, r, s), { headers: this.buildClientIdHeader() });
|
|
30765
30765
|
}
|
|
30766
30766
|
deleteDiaryNote(i, a, r, s) {
|
|
30767
|
-
return this.http.delete("/
|
|
30767
|
+
return this.http.delete("/diarynote", { body: { ssin: s, id: i, version: a, source: r ?? "vitalink" }, observe: "response", headers: this.buildClientIdHeader() }).pipe(ct((l) => ({ diaryNote: l.body ?? void 0, statusCode: l.status })));
|
|
30768
30768
|
}
|
|
30769
30769
|
findDiaryNote(i, a, r, s) {
|
|
30770
|
-
return this.http.post("/
|
|
30770
|
+
return this.http.post("/diarynote/findOne", { ssin: s, id: i, version: a, source: r ?? "vitalink" }, { headers: this.buildClientIdHeader() }).pipe(ct((l) => this.mapDiaryNoteItem(l)));
|
|
30771
30771
|
}
|
|
30772
30772
|
buildFormData(i, a, r, s) {
|
|
30773
30773
|
let l = new FormData(), c = { language: s, subject: { firstName: r.firstName, lastName: r.lastName, ssin: r.ssin }, content: i, contentType: "plaintext" };
|
|
@@ -31586,7 +31586,7 @@ var y0e = (() => {
|
|
|
31586
31586
|
this.http = w(jl), this.authService = w(fo).getInstance(), this.apiUrl = w(Yu).getEnvironmentVariable("apiUrl");
|
|
31587
31587
|
}
|
|
31588
31588
|
reportError(i) {
|
|
31589
|
-
return this.http.post(`${this.apiUrl}/
|
|
31589
|
+
return this.http.post(`${this.apiUrl}/report/error`, i, { headers: { [To.userType]: Tr.getUserType({ isProfessional: this.authService.isProfessional }), [To.clientType]: nk() ? Tr.clientType.mobileApp : Tr.clientType.webApp } });
|
|
31590
31590
|
}
|
|
31591
31591
|
};
|
|
31592
31592
|
t.ɵfac = function(i) {
|