@smals-belgium-shared/vidis-diarynote 4.2.2-snapshot.10 → 4.2.2-snapshot.12
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 +6 -2
- package/diarynote.js +5 -5
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -287,6 +287,7 @@
|
|
|
287
287
|
## __RELEASE_VERSION__ (__RELEASE_DATE__)
|
|
288
288
|
|
|
289
289
|
* Upgrade project to Angular version 22
|
|
290
|
+
* Migrate report error to use API v3.
|
|
290
291
|
|
|
291
292
|
### vidis-medication-scheme-list:
|
|
292
293
|
* Styling correction for mobile view.
|
|
@@ -317,13 +318,16 @@
|
|
|
317
318
|
|
|
318
319
|
### vidis-delivered-medication-detail
|
|
319
320
|
* Using /api/v3 instead of /v3 for all requests.
|
|
321
|
+
* download leaflet : using API V3 instead of V2.
|
|
320
322
|
|
|
321
323
|
### vidis-medication-scheme-list:
|
|
322
324
|
* Using API V3 instead of V2 for all requests.
|
|
325
|
+
* Secure components against API v3 payload changes and add '-' in case of empty or null value
|
|
326
|
+
* Desktop redesign.
|
|
323
327
|
|
|
324
328
|
### vidis-medication-scheme-detail
|
|
325
329
|
* Using API V3 instead of V2 for all requests.
|
|
330
|
+
* Redesign for desktop
|
|
326
331
|
|
|
327
332
|
### vidis-medication-scheme-list:
|
|
328
|
-
*
|
|
329
|
-
* Desktop redesign.
|
|
333
|
+
* Desktop redesign of weekly and daily section
|
package/diarynote.js
CHANGED
|
@@ -29922,7 +29922,7 @@ var hbe = (() => {
|
|
|
29922
29922
|
}, t.ɵprov = ye({ token: t, factory: t.ɵfac, providedIn: "root" });
|
|
29923
29923
|
let e = t;
|
|
29924
29924
|
return e;
|
|
29925
|
-
})(), mbe = { demo: { env: Qn.DEMO }, dev: { apiUrl: "http://vidis-fake-api.test.paas.vasdc.be", env: Qn.DEV }, int: { apiUrl: "https://vidis-api.int.pub.vascloud.be
|
|
29925
|
+
})(), mbe = { demo: { env: Qn.DEMO }, dev: { apiUrl: "http://vidis-fake-api.test.paas.vasdc.be", env: Qn.DEV }, int: { apiUrl: "https://vidis-api.int.pub.vascloud.be", env: Qn.INT }, acc: { apiUrl: "https://vidis-api.acc.vasha.be", env: Qn.ACC }, prod: { apiUrl: "https://vidis-api.vasha.be", env: Qn.PROD } }, Gu = (() => {
|
|
29926
29926
|
const t = class t {
|
|
29927
29927
|
constructor() {
|
|
29928
29928
|
this.environment = Pa(w(vs).configName$), this.configVariables = mi(() => {
|
|
@@ -29941,7 +29941,7 @@ var hbe = (() => {
|
|
|
29941
29941
|
let e = t;
|
|
29942
29942
|
return e;
|
|
29943
29943
|
})(), fbe = (e, t) => {
|
|
29944
|
-
let n = w(po).getInstance(), i = w(wg), a = w(vs), r = w(Gu).getEnvironmentVariable("apiUrl"), s =
|
|
29944
|
+
let n = w(po).getInstance(), i = w(wg), a = w(vs), r = w(Gu).getEnvironmentVariable("apiUrl"), s = `${r}${e.url}`;
|
|
29945
29945
|
if (e.url.includes("assets/") || e.url.startsWith("http") || !r) return t(e);
|
|
29946
29946
|
if (Pa(a.authenticationStatus$.pipe(ct((d) => d === Q_.OFFLINE)))()) return St();
|
|
29947
29947
|
let l = e.headers || new dn(), c = n.isProfessional;
|
|
@@ -31530,7 +31530,7 @@ var m0e = (() => {
|
|
|
31530
31530
|
this.http = w(Bl), this.authService = w(po).getInstance(), this.apiUrl = w(Gu).getEnvironmentVariable("apiUrl");
|
|
31531
31531
|
}
|
|
31532
31532
|
reportError(i) {
|
|
31533
|
-
return this.http.post(`${this.apiUrl}/
|
|
31533
|
+
return this.http.post(`${this.apiUrl}/v3/report/error`, i, { headers: { [Oo.userType]: Or.getUserType({ isProfessional: this.authService.isProfessional }), [Oo.clientType]: ek() ? Or.clientType.mobileApp : Or.clientType.webApp } });
|
|
31534
31534
|
}
|
|
31535
31535
|
};
|
|
31536
31536
|
t.ɵfac = function(i) {
|
|
@@ -31864,7 +31864,7 @@ var Y0e = (() => {
|
|
|
31864
31864
|
reportVidisError(i) {
|
|
31865
31865
|
let a = { backendTraceId: "", errorMessage: i.message, pageUrl: window.location.href, timestamp: this.formatDateWithZone() };
|
|
31866
31866
|
this.errorServiceSelector.getInstance().reportError(a).subscribe({ next: (r) => {
|
|
31867
|
-
(r == null ? void 0 : r.status) === "ok" ? this.snackbarService.showSuccess("commons.errors.report-message-confirm-toast") : this.snackbarService.showError("commons.errors
|
|
31867
|
+
(r == null ? void 0 : r.status) === "ok" ? this.snackbarService.showSuccess("commons.errors.report-message-confirm-toast") : this.snackbarService.showError("commons.errors.general");
|
|
31868
31868
|
}, error: () => {
|
|
31869
31869
|
this.snackbarService.showError("commons.errors.general");
|
|
31870
31870
|
} });
|
|
@@ -32088,7 +32088,7 @@ var qK = (() => {
|
|
|
32088
32088
|
return new (i || t)();
|
|
32089
32089
|
}, t.ɵcmp = me({ type: t, selectors: [["vidis-person-name"]], inputs: { fullname: [1, "fullname"], idNumber: [1, "idNumber"] }, decls: 2, vars: 2, template: function(i, a) {
|
|
32090
32090
|
i & 1 && (z(0), X(1, f_e, 3, 7, "span")), i & 2 && (Se(" ", a.fullname(), " "), D(), Q(a.idNumber() ? 1 : -1));
|
|
32091
|
-
}, dependencies: [ma], styles: ["span[_ngcontent-%COMP%]{color:#8f8f8f}"] });
|
|
32091
|
+
}, dependencies: [ma], styles: ["span[_ngcontent-%COMP%]{color:#8f8f8f}@media only screen and (min-width:960px){span[_ngcontent-%COMP%]{display:block}}"] });
|
|
32092
32092
|
let e = t;
|
|
32093
32093
|
return e;
|
|
32094
32094
|
})(), UK = (() => {
|