@smals-belgium-shared/vidis-diarynote 4.2.1-snapshot.4 → 4.2.1-snapshot.6
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 +2 -0
- package/diarynote.js +4 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/diarynote.js
CHANGED
|
@@ -4979,9 +4979,9 @@ function hQ(e, t, n) {
|
|
|
4979
4979
|
return { code: i, message: n ?? "An unexpected error occurred", group: a, traceId: t };
|
|
4980
4980
|
}
|
|
4981
4981
|
function pQ(e) {
|
|
4982
|
-
var
|
|
4983
|
-
let t = ((
|
|
4984
|
-
return hQ(
|
|
4982
|
+
var r, s, l, c, d;
|
|
4983
|
+
let t = e ?? {}, n = ((r = t.error) == null ? void 0 : r.code) ?? void 0, i = ((s = t.error) == null ? void 0 : s.message) ?? t.message, a = ((l = t.error) == null ? void 0 : l.traceId) ?? ((d = (c = t.headers) == null ? void 0 : c.get) == null ? void 0 : d.call(c, "trace-id")) ?? void 0;
|
|
4984
|
+
return hQ(n, a, i);
|
|
4985
4985
|
}
|
|
4986
4986
|
var Mn = { DEV: "dev", INT: "int", ACC: "acc", PROD: "prod", DEMO: "demo" }, g0 = { OFFLINE: "offline-authenticated" }, v0 = "refresh", mQ = (e) => e, fQ = (e, t, n = ["medicaldatamanagement"]) => ({ specVersion: { major: 5, minor: 0, patch: 8 }, family: mQ(e), components: t, permissionsForMandateAccess: n });
|
|
4987
4987
|
function Jp(e, t) {
|
|
@@ -27272,7 +27272,7 @@ var abe = (() => {
|
|
|
27272
27272
|
reportVidisError(i) {
|
|
27273
27273
|
let a = { backendTraceId: "", errorMessage: i.message, pageUrl: window.location.href, timestamp: this.formatDateWithZone() };
|
|
27274
27274
|
this.errorServiceSelector.getInstance().reportError(a).subscribe({ next: (r) => {
|
|
27275
|
-
r.status === "ok" ? this.snackbarService.showSuccess("commons.errors.report-message-confirm-toast") : this.snackbarService.showError("commons.errors..general");
|
|
27275
|
+
(r == null ? void 0 : r.status) === "ok" ? this.snackbarService.showSuccess("commons.errors.report-message-confirm-toast") : this.snackbarService.showError("commons.errors..general");
|
|
27276
27276
|
}, error: () => {
|
|
27277
27277
|
this.snackbarService.showError("commons.errors.general");
|
|
27278
27278
|
} });
|