hplx-feature-library 1.0.213 → 1.0.214
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/dist/PatientPopup/index.js +1 -1
- package/dist/{PatientPopupContainer-XHWeQLiT.js → PatientPopupContainer-BkgmTWBi.js} +1 -1
- package/dist/{PatientPopupContainer-B84HznIi.cjs → PatientPopupContainer-DEexBfG1.cjs} +1 -1
- package/dist/{PrintModal-CDOVr6Xr.cjs → PrintModal-BzD9ULHJ.cjs} +4 -4
- package/dist/{PrintModal-C83yfUUX.js → PrintModal-DS9Sz6v4.js} +24 -48
- package/dist/index.js +2 -2
- package/dist/print-pdf/index.js +1 -1
- package/package.json +1 -1
|
@@ -6956,55 +6956,31 @@ var renderElement = function(N, W) {
|
|
|
6956
6956
|
var Y = W.ownerDocument, X = Y.documentElement ? parseColor$1(N, getComputedStyle(Y.documentElement).backgroundColor) : COLORS.TRANSPARENT, I = Y.body ? parseColor$1(N, getComputedStyle(Y.body).backgroundColor) : COLORS.TRANSPARENT, w = typeof M == "string" ? parseColor$1(N, M) : M === null ? COLORS.TRANSPARENT : 4294967295;
|
|
6957
6957
|
return W === Y.documentElement ? isTransparent(X) ? isTransparent(I) ? w : I : X : w;
|
|
6958
6958
|
};
|
|
6959
|
-
|
|
6960
|
-
if (console.log("
|
|
6961
|
-
|
|
6962
|
-
|
|
6963
|
-
return
|
|
6964
|
-
|
|
6965
|
-
|
|
6966
|
-
|
|
6967
|
-
|
|
6968
|
-
|
|
6969
|
-
|
|
6970
|
-
|
|
6971
|
-
|
|
6972
|
-
|
|
6973
|
-
|
|
6974
|
-
|
|
6975
|
-
|
|
6976
|
-
|
|
6977
|
-
const Q = Array.isArray(D), $ = Array.isArray(R);
|
|
6978
|
-
if (Q || $) {
|
|
6979
|
-
if (Q && $) {
|
|
6980
|
-
const ce = Math.max(D.length, R.length);
|
|
6981
|
-
for (let te = 0; te < ce; te++) {
|
|
6982
|
-
const de = [...C, String(te)], ue = te in D ? D[te] : void 0, re = te in R ? R[te] : void 0;
|
|
6983
|
-
Object.is(ue, re) || w.push({ a: ue, b: re, path: de });
|
|
6984
|
-
}
|
|
6985
|
-
} else {
|
|
6986
|
-
const ce = C.join(".");
|
|
6987
|
-
I[ce] = { oldValue: D, newValue: R };
|
|
6988
|
-
}
|
|
6989
|
-
continue;
|
|
6990
|
-
}
|
|
6991
|
-
const _ = Object.keys(D), ee = Object.keys(R), ae = Object.hasOwn.bind(Object), ne = Object.hasOwn.bind(Object);
|
|
6992
|
-
for (let ce = 0; ce < _.length; ce++) {
|
|
6993
|
-
const te = _[ce], de = D[te];
|
|
6994
|
-
if (ae(R, te)) {
|
|
6995
|
-
const ue = R[te];
|
|
6996
|
-
Object.is(de, ue) || w.push({ a: de, b: ue, path: [...C, te] });
|
|
6997
|
-
} else
|
|
6998
|
-
I[[...C, te].join(".")] = { oldValue: de, newValue: void 0 };
|
|
6999
|
-
}
|
|
7000
|
-
for (let ce = 0; ce < ee.length; ce++) {
|
|
7001
|
-
const te = ee[ce];
|
|
7002
|
-
ne(D, te) || (I[[...C, te].join(".")] = { oldValue: void 0, newValue: R[te] });
|
|
7003
|
-
}
|
|
6959
|
+
const findChangedProperties = (N, W, M = "") => {
|
|
6960
|
+
if (console.log("findChangedProperties 44449090:", M), Object.is(N, W)) return {};
|
|
6961
|
+
const Y = {}, X = M ? M + "." : "";
|
|
6962
|
+
if (!(N !== null && typeof N == "object") || !(W !== null && typeof W == "object"))
|
|
6963
|
+
return M && (Y[M] = { oldValue: N, newValue: W }), Y;
|
|
6964
|
+
const x = Object.keys(N), D = Object.keys(W);
|
|
6965
|
+
for (let R = 0; R < x.length; R++) {
|
|
6966
|
+
const C = x[R];
|
|
6967
|
+
if (Object.hasOwn(W, C)) {
|
|
6968
|
+
const J = N[C], B = W[C];
|
|
6969
|
+
if (J !== B)
|
|
6970
|
+
if (J !== null && B !== null && typeof J == "object" && typeof B == "object") {
|
|
6971
|
+
const H = findChangedProperties(J, B, X + C);
|
|
6972
|
+
Object.keys(H).length && Object.assign(Y, H);
|
|
6973
|
+
} else
|
|
6974
|
+
Y[X + C] = { oldValue: J, newValue: B };
|
|
6975
|
+
} else
|
|
6976
|
+
Y[X + C] = { oldValue: N[C], newValue: void 0 };
|
|
7004
6977
|
}
|
|
7005
|
-
|
|
7006
|
-
|
|
7007
|
-
|
|
6978
|
+
for (let R = 0; R < D.length; R++) {
|
|
6979
|
+
const C = D[R];
|
|
6980
|
+
Object.hasOwn(N, C) || (Y[X + C] = { oldValue: void 0, newValue: W[C] });
|
|
6981
|
+
}
|
|
6982
|
+
return Y;
|
|
6983
|
+
}, convertDaysToWeeksAndDays = (N) => {
|
|
7008
6984
|
if (!N) return { weeks: 0, days: 0 };
|
|
7009
6985
|
const W = Math.floor(N / 7), M = N % 7;
|
|
7010
6986
|
return { weeks: W, days: M };
|
package/dist/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { P as r } from "./PediatricsCalculatorTable-G0ttbDpi.js";
|
|
2
2
|
import { A as e } from "./AllInvestigationsTable-Dg-YXASz.js";
|
|
3
|
-
import { P as i } from "./PatientPopupContainer-
|
|
3
|
+
import { P as i } from "./PatientPopupContainer-BkgmTWBi.js";
|
|
4
4
|
import { A as P } from "./Attachments-BzZHI8d3.js";
|
|
5
5
|
import { P as m } from "./PatientAddEdit-CPjv2_ZF.js";
|
|
6
6
|
import { S as n } from "./SearchPatients-BYGGaUoD.js";
|
|
7
7
|
import { N as d } from "./NineDots-CCtE2t9I.js";
|
|
8
8
|
import { U as c } from "./UserProfile-CcEbhDhd.js";
|
|
9
|
-
import { P as u } from "./PrintModal-
|
|
9
|
+
import { P as u } from "./PrintModal-DS9Sz6v4.js";
|
|
10
10
|
export {
|
|
11
11
|
e as AllInvestigations,
|
|
12
12
|
P as Attachments,
|
package/dist/print-pdf/index.js
CHANGED