hplx-feature-library 1.0.194 → 1.0.196
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-COgXobfy.cjs → PatientPopupContainer-BY4Q-aMH.cjs} +1 -1
- package/dist/{PatientPopupContainer-_1ZRT2iA.js → PatientPopupContainer-Ca8A989n.js} +1 -1
- package/dist/{PrintModal-DBIODbrQ.cjs → PrintModal-BoT-tRum.cjs} +4 -4
- package/dist/{PrintModal-C_u3LGLk.js → PrintModal-CIs2pEEz.js} +37 -15
- package/dist/index.js +2 -2
- package/dist/print-pdf/index.js +1 -1
- package/package.json +1 -1
|
@@ -6956,22 +6956,44 @@ 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
|
-
const
|
|
6960
|
-
|
|
6961
|
-
|
|
6962
|
-
|
|
6963
|
-
|
|
6964
|
-
|
|
6965
|
-
|
|
6966
|
-
|
|
6967
|
-
|
|
6968
|
-
|
|
6969
|
-
|
|
6970
|
-
|
|
6959
|
+
const isPlainObject = (N) => {
|
|
6960
|
+
if (Object.prototype.toString.call(N) !== "[object Object]") return !1;
|
|
6961
|
+
const W = Object.getPrototypeOf(N);
|
|
6962
|
+
return W === Object.prototype || W === null;
|
|
6963
|
+
}, isDiffable = (N) => Array.isArray(N) || isPlainObject(N), findChangedProperties = (N, W, M = "", Y = /* @__PURE__ */ new WeakMap()) => {
|
|
6964
|
+
const X = {};
|
|
6965
|
+
if (N === W) return X;
|
|
6966
|
+
if (typeof N == "object" && N !== null && typeof W == "object" && W !== null) {
|
|
6967
|
+
let I = Y.get(N);
|
|
6968
|
+
if (I || (I = /* @__PURE__ */ new WeakSet(), Y.set(N, I)), I.has(W)) return X;
|
|
6969
|
+
I.add(W);
|
|
6970
|
+
}
|
|
6971
|
+
for (const I in N) {
|
|
6972
|
+
if (!Object.prototype.hasOwnProperty.call(N, I)) continue;
|
|
6973
|
+
const w = N[I], x = W[I], D = M ? `${M}.${I}` : I;
|
|
6974
|
+
if (Object.prototype.hasOwnProperty.call(W, I)) {
|
|
6975
|
+
if (w === x) continue;
|
|
6976
|
+
isDiffable(w) && isDiffable(x) ? Object.assign(
|
|
6977
|
+
X,
|
|
6978
|
+
findChangedProperties(
|
|
6979
|
+
w,
|
|
6980
|
+
x,
|
|
6981
|
+
D,
|
|
6982
|
+
Y
|
|
6983
|
+
)
|
|
6984
|
+
) : Object.is(w, x) || (X[D] = { oldValue: w, newValue: x });
|
|
6985
|
+
} else
|
|
6986
|
+
X[D] = { oldValue: w, newValue: void 0 };
|
|
6987
|
+
}
|
|
6988
|
+
for (const I in W) {
|
|
6989
|
+
if (!Object.prototype.hasOwnProperty.call(W, I) || Object.prototype.hasOwnProperty.call(N, I)) continue;
|
|
6990
|
+
const w = M ? `${M}.${I}` : I;
|
|
6991
|
+
X[w] = {
|
|
6971
6992
|
oldValue: void 0,
|
|
6972
|
-
newValue: W[
|
|
6973
|
-
}
|
|
6974
|
-
|
|
6993
|
+
newValue: W[I]
|
|
6994
|
+
};
|
|
6995
|
+
}
|
|
6996
|
+
return X;
|
|
6975
6997
|
}, convertDaysToWeeksAndDays = (N) => {
|
|
6976
6998
|
if (!N) return { weeks: 0, days: 0 };
|
|
6977
6999
|
const W = Math.floor(N / 7), M = N % 7;
|
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-Ca8A989n.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-CIs2pEEz.js";
|
|
10
10
|
export {
|
|
11
11
|
e as AllInvestigations,
|
|
12
12
|
P as Attachments,
|
package/dist/print-pdf/index.js
CHANGED