hplx-feature-library 1.0.218 → 1.0.220
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/{APIAction-l6i46qgX.js → APIAction-CTNOzVOC.js} +1 -1
- package/dist/{APIAction-5-3i1gGx.cjs → APIAction-DB6Ulkss.cjs} +1 -1
- package/dist/PatientAddEdit/index.js +1 -1
- package/dist/{PatientAddEdit-CPjv2_ZF.js → PatientAddEdit-9W7ONHSd.js} +2 -2
- package/dist/{PatientAddEdit-UFho4sOA.cjs → PatientAddEdit-DmpV8z5a.cjs} +1 -1
- package/dist/PatientPopup/index.js +1 -1
- package/dist/{PatientPopupContainer-DwRuku_i.js → PatientPopupContainer-BpqwmITO.js} +3 -3
- package/dist/{PatientPopupContainer-Cm4YyNet.cjs → PatientPopupContainer-D4Me6ygu.cjs} +1 -1
- package/dist/{PrintModal-CRb5OQWF.js → PrintModal-DJrnqOVW.js} +22 -3
- package/dist/{PrintModal-D_rOEa3n.cjs → PrintModal-DpJ3WZlU.cjs} +5 -5
- package/dist/SearchPatients/index.js +1 -1
- package/dist/{SearchPatients-BXNWucYz.cjs → SearchPatients-6D7IL_wj.cjs} +1 -1
- package/dist/{SearchPatients-BYGGaUoD.js → SearchPatients-D7cCFV9o.js} +2 -2
- package/dist/UserProfile/index.js +1 -1
- package/dist/{UserProfile-DkQgWGvV.cjs → UserProfile-4L3aOHNv.cjs} +1 -1
- package/dist/{UserProfile-CcEbhDhd.js → UserProfile-D3cCwQxw.js} +1 -1
- package/dist/{common-utils-Dq5TMP7t.js → common-utils-CprPMjtz.js} +1 -1
- package/dist/{common-utils-CJv4_aVl.cjs → common-utils-DrDXKNhv.cjs} +1 -1
- package/dist/index.js +5 -5
- package/dist/print-pdf/index.js +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { j as jsxRuntimeExports, K as Ku, A as Ap, P as Ps, g as getDefaultExportFromCjs$2, f as getAugmentedNamespace$2, d as commonjsGlobal$1, l as requireObjectAssign, m as PropTypes, b as bs } from "./index-Bd0CDVpH.js";
|
|
2
2
|
import React__default, { useState, useEffect, useRef, useCallback, Fragment, memo, createContext, useReducer, forwardRef, useImperativeHandle, useMemo, useContext, useLayoutEffect } from "react";
|
|
3
|
-
import { h as hplxAPI, n as E_ENVIRONMENT, o as getDurationFormat, j as isValidDate, m as capitalizeFirstLetter, i as isJson, d as debounceFn } from "./common-utils-
|
|
3
|
+
import { h as hplxAPI, n as E_ENVIRONMENT, o as getDurationFormat, j as isValidDate, m as capitalizeFirstLetter, i as isJson, d as debounceFn } from "./common-utils-CprPMjtz.js";
|
|
4
4
|
import { d as dayjs } from "./dayjs.min-D52_GdfV.js";
|
|
5
5
|
import { g as genderList, D as DefinedLanguages } from "./CommonConstant-Bj7SvPfU.js";
|
|
6
6
|
import { c as create$6 } from "./index.esm-Bn1Rklqj.js";
|
|
@@ -6956,7 +6956,23 @@ 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
|
|
6959
|
+
const findChangedProperties = (N, W, M = "") => {
|
|
6960
|
+
if (N === window || W === window || N === globalThis || W === globalThis)
|
|
6961
|
+
return {};
|
|
6962
|
+
let Y = {};
|
|
6963
|
+
console.log("444obj1, obj2", N, W);
|
|
6964
|
+
for (const X in N)
|
|
6965
|
+
if (W.hasOwnProperty(X))
|
|
6966
|
+
if (typeof N[X] == "object" && typeof W[X] == "object") {
|
|
6967
|
+
const I = findChangedProperties(N[X], W[X], `${M}.${X}`);
|
|
6968
|
+
Object.keys(I).length > 0 && (Y = { ...Y, ...I });
|
|
6969
|
+
} else N[X] !== W[X] && (Y[`${M}.${X}`] = { oldValue: N[X], newValue: W[X] });
|
|
6970
|
+
else
|
|
6971
|
+
Y[`${M}.${X}`] = { oldValue: N[X], newValue: void 0 };
|
|
6972
|
+
for (const X in W)
|
|
6973
|
+
N.hasOwnProperty(X) || (Y[`${M}.${X}`] = { oldValue: void 0, newValue: W[X] });
|
|
6974
|
+
return console.log("444changedProperties", Y), Y;
|
|
6975
|
+
}, convertDaysToWeeksAndDays = (N) => {
|
|
6960
6976
|
if (!N) return { weeks: 0, days: 0 };
|
|
6961
6977
|
const W = Math.floor(N / 7), M = N % 7;
|
|
6962
6978
|
return { weeks: W, days: M };
|
|
@@ -120957,7 +120973,10 @@ const PrintPediaChartsPdf = memo(
|
|
|
120957
120973
|
),
|
|
120958
120974
|
ht() && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "hfl-fixed hfl-inset-0 hfl-z-[51] hfl-bg-Black hfl-opacity-25" })
|
|
120959
120975
|
] });
|
|
120960
|
-
}, PrintModal$1 = memo(PrintModal, () =>
|
|
120976
|
+
}, PrintModal$1 = memo(PrintModal, (N, W) => {
|
|
120977
|
+
const M = findChangedProperties(N, W);
|
|
120978
|
+
return !Object.keys(M).length;
|
|
120979
|
+
});
|
|
120961
120980
|
export {
|
|
120962
120981
|
GET_ABHA_CONSENT as A,
|
|
120963
120982
|
GENERATE_OTP_BY_ABHA_ADDRESS as B,
|