hplx-feature-library 1.0.175 → 1.0.177
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-GKwgCFa7.cjs +1 -0
- package/dist/{index-nNWK2dDb.js → APIAction-owCQeK4h.js} +1 -1
- package/dist/AllInvestigations/index.js +1 -1
- package/dist/{AllInvestigationsTable-txmu7PTJ.js → AllInvestigationsTable-230u6fB3.js} +40 -38
- package/dist/{AllInvestigationsTable-C7uQ56B0.cjs → AllInvestigationsTable-BDLPOHjr.cjs} +4 -4
- package/dist/NineDots/index.js +4 -0
- package/dist/NineDots-Cy5GdMqh.cjs +3 -0
- package/dist/NineDots-Q7DH5xQq.js +1787 -0
- package/dist/{components → PatientAddEdit/components}/PatientAddEdit.d.ts +1 -1
- package/dist/PatientAddEdit/index.d.ts +1 -0
- package/dist/PatientAddEdit/index.js +2 -1661
- package/dist/PatientAddEdit-D-PuyA4h.cjs +7 -0
- package/dist/PatientAddEdit-MgBWiJqX.js +1665 -0
- package/dist/PatientPopup/components/bills/Bills.d.ts +3 -1
- package/dist/PatientPopup/index.js +1 -1
- package/dist/PatientPopupContainer-BREW2AZX.cjs +36 -0
- package/dist/{PatientPopupContainer-BSWU5CPk.js → PatientPopupContainer-CyTTjYhk.js} +3976 -3967
- package/dist/{PrintModal-BeR4-UcB.js → PrintModal-BR_tTgyn.js} +2 -1
- package/dist/{PrintModal-PPpn_LGy.cjs → PrintModal-CaqANEG3.cjs} +8 -8
- package/dist/{components → SearchPatients/components}/SearchPatients.d.ts +1 -1
- package/dist/SearchPatients/index.d.ts +1 -0
- package/dist/SearchPatients/index.js +4 -0
- package/dist/SearchPatients-BEQ0kjtj.js +233 -0
- package/dist/SearchPatients-eiOJOnND.cjs +1 -0
- package/dist/UserProfile/index.js +4 -0
- package/dist/UserProfile-Bs3EzSqu.js +1761 -0
- package/dist/UserProfile-C4cNhkeg.cjs +14 -0
- package/dist/common-utils-CDvwCtzy.js +2328 -0
- package/dist/common-utils-lI6oOpoS.cjs +6 -0
- package/dist/hplx-feature-library.css +1 -1
- package/dist/index.d.ts +4 -3
- package/dist/index.esm-BdlMQ1M7.cjs +4 -0
- package/dist/index.esm-Bn1Rklqj.js +1275 -0
- package/dist/index.js +16 -2023
- package/dist/nineDots/{nineDots.d.ts → NineDots.d.ts} +1 -1
- package/dist/nineDots/NineDotsUtils.d.ts +1 -1
- package/dist/nineDots/index.d.ts +1 -0
- package/dist/print-pdf/index.js +1 -1
- package/dist/types/AllInvestigationTypes.d.ts +2 -0
- package/dist/useMediaQuery-CZAbdJzN.js +13 -0
- package/dist/useMediaQuery-D4SIgdMW.cjs +1 -0
- package/dist/userProfile/index.d.ts +1 -0
- package/package.json +22 -11
- package/dist/PatientPopupContainer-nZZA67ZY.cjs +0 -36
- package/dist/index-Cy8OvNyb.cjs +0 -1
- package/dist/index.esm-BJMiy-rl.js +0 -3597
- package/dist/index.esm-DvJKLbVG.cjs +0 -9
- /package/dist/{nineDots → types}/NineDotsTypes.d.ts +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const i=require("./common-utils-lI6oOpoS.cjs"),P=require("./dayjs.min-DXp74Ozx.cjs"),m="/preferences/doctor",d="/preferences/visitpad",E="/preferences/branch",u="patient/search",A="../api/modelGetAddPatientSuggestion.php",g="appointments/get",_="/v1/patient/add",h="/v1/patients",f="../api/modelSavePatientImage.php",I="../api/modelDeletePatientImage.php",l="/patient/detail",D=async(s="",t={},e,n,r)=>{const{doc_rid:o=""}=t;let a="";Array.isArray(s)?a=s.map(c=>`&fields_required=${encodeURIComponent(c)}`).join(""):s&&(a=`&fields_required=${encodeURIComponent(s)}`);try{const c=await i.hplxAPI(r?.token,r.envName).get(`${m}/${o||e}?branch_id=${n}`+a),{data:p}=c||{};return Promise.resolve(p)}catch(c){return console.error("Error fetching doctor preference:",c),Promise.reject(c)}},T=async(s="",t,e)=>{try{const n=await i.ReArchAPI(e.token,e.envName).get(`${E}/${t}?fields_required=${s}`),{data:r}=n||{};return Promise.resolve(r)}catch(n){return console.log(n),Promise.reject(n)}},w=async(s,t,e,n,r)=>{try{const o={appnt_date:s,doctor_role_id:t,doctor_id:n,org_branch_id:e},a=await i.ReArchAPI(r.token,r.envName).post(g,{...o}),{data:c}=a||{};return Promise.resolve(c)}catch(o){return o instanceof Error&&console.error("Error fetching appointments:",o.message),o?.response?.status===401&&i.handle401Status(),Promise.reject(o)}},y=async(s,t)=>{let e=[];const n=await w(P.dayjs().format("YYYY-MM-DD"),s.doctor_role_id,s.branch_id,s.doctor_id,t);n?.appointments?.length&&(e=n.appointments),window.filteredUpcomingAppts=[],e.length&&(s.term?.length?window.filteredUpcomingAppts=e.filter(r=>r.org_person_name.length&&r.org_person_name.toLowerCase().includes(s.term.toLowerCase())&&r.appnt_date>=P.dayjs(new Date).format("YYYY-MM-DD")&&(r.remote_appnt_status==="CONFIRMED"||r.appnt_status===0||r.appnt_status===3||r.appnt_status===5)):window.filteredUpcomingAppts=e.filter(r=>r.appnt_date>=P.dayjs(new Date).format("YYYY-MM-DD")&&(r.remote_appnt_status==="CONFIRMED"||r.appnt_status===0||r.appnt_status===3||r.appnt_status===5)));try{const r=await i.ReArchAPI(t.token,t.envName).post(u,s),{data:o}=r||{};return Promise.resolve(o)}catch(r){return console.log(r),null}},N=async s=>{try{const t=await i.hplxAPI(s.token,s.envName).post(A),{data:e}=t||{},{apiError:n}=e||{};if(n)throw new Error(n);return Promise.resolve(e)}catch(t){return t instanceof Error&&console.error("Error fetching referred by list:",t.message),t?.response?.status===401&&i.handle401Status(),Promise.reject(t)}},R=async(s,t)=>{try{const e=await i.ReArchAPI(t.token,t.envName).post(_,{...s,token:t.token}),{data:n}=e||{};return Promise.resolve(n)}catch(e){return Promise.reject(e)}},j=async(s,t)=>{try{const e=await i.ReArchAPI(t.token,t.envName).put(h+"/"+s?.person_role_id,{...s}),{data:n}=e||{};return Promise.resolve(n)}catch(e){return console.log(e),Promise.reject(e)}},v=async(s,t)=>{try{const e=await i.hplxAPI(t.token,t.envName).post(f,s),{data:n}=e||{};return Promise.resolve(n)}catch(e){return console.log(e),Promise.reject(e)}},Y=async(s,t)=>{try{const e=await i.hplxAPI(t.token,t.envName).post(I,s),{data:n}=e||{};return Promise.resolve(n)}catch(e){return console.log(e),Promise.reject(e)}},C=async({callback:s,payload:t,token_env:e,isCallbackNeeded:n=!0})=>{try{const r=t;window?.partner_service_enabled==="1"&&(r.partner_service_enabled=!0);const o=await i.ReArchAPI(e.token,e.envName).post(l,{...r}),{data:a}=o||{},{error:c}=a||{};if(c)throw new Error(c);if(n)s(a);else return a}catch(r){console.log(r)}},G=async({doc_id:s="",doc_rid:t=""},e,n,r,o)=>{try{const a={branch_id:n,doctor_id:s||r,doctor_role_id:t||o},c=await i.hplxAPI(e.token,e.envName).post(d,a),{data:p}=c||{};return Promise.resolve(p)}catch(a){return console.error("Error fetching visitpad preference:",a),Promise.reject(a)}};exports.GET_PATIENT_DETAILS=l;exports.addPatientDetails=R;exports.addPatientImage=v;exports.deletePatientImage=Y;exports.getBranchPreferences=T;exports.getDoctorPreference=D;exports.getPatientDetails=C;exports.getPatientList=y;exports.getReferredByList=N;exports.getVisitpadPreference=G;exports.updatePatientDetails=j;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h as p, R as i,
|
|
1
|
+
import { h as p, R as i, b as d } from "./common-utils-CDvwCtzy.js";
|
|
2
2
|
import { d as l } from "./dayjs.min-B2cg6pUo.js";
|
|
3
3
|
const P = "/preferences/doctor", E = "/preferences/visitpad", u = "/preferences/branch", f = "patient/search", _ = "../api/modelGetAddPatientSuggestion.php", g = "appointments/get", h = "/v1/patient/add", A = "/v1/patients", w = "../api/modelSavePatientImage.php", D = "../api/modelDeletePatientImage.php", T = "/patient/detail", R = async (s = "", t = {}, e, o, r) => {
|
|
4
4
|
const { doc_rid: n = "" } = t;
|
|
@@ -1007,7 +1007,7 @@ var ht = /* @__PURE__ */ b.forwardRef((e, t) => {
|
|
|
1007
1007
|
ref: t
|
|
1008
1008
|
}), r);
|
|
1009
1009
|
}), dh = /* @__PURE__ */ Le(null);
|
|
1010
|
-
function
|
|
1010
|
+
function se(e) {
|
|
1011
1011
|
return function() {
|
|
1012
1012
|
return e;
|
|
1013
1013
|
};
|
|
@@ -1130,8 +1130,8 @@ function ac(e) {
|
|
|
1130
1130
|
return e[1];
|
|
1131
1131
|
}
|
|
1132
1132
|
function oc(e, t) {
|
|
1133
|
-
var r =
|
|
1134
|
-
e = typeof e == "function" ? e : e === void 0 ? ic :
|
|
1133
|
+
var r = se(!0), n = null, i = $2, a = null, o = rc(l);
|
|
1134
|
+
e = typeof e == "function" ? e : e === void 0 ? ic : se(e), t = typeof t == "function" ? t : t === void 0 ? ac : se(t);
|
|
1135
1135
|
function l(u) {
|
|
1136
1136
|
var c, s = (u = Ta(u)).length, f, h = !1, d;
|
|
1137
1137
|
for (n == null && (a = i(d = o())), c = 0; c <= s; ++c)
|
|
@@ -1139,11 +1139,11 @@ function oc(e, t) {
|
|
|
1139
1139
|
if (d) return a = null, d + "" || null;
|
|
1140
1140
|
}
|
|
1141
1141
|
return l.x = function(u) {
|
|
1142
|
-
return arguments.length ? (e = typeof u == "function" ? u :
|
|
1142
|
+
return arguments.length ? (e = typeof u == "function" ? u : se(+u), l) : e;
|
|
1143
1143
|
}, l.y = function(u) {
|
|
1144
|
-
return arguments.length ? (t = typeof u == "function" ? u :
|
|
1144
|
+
return arguments.length ? (t = typeof u == "function" ? u : se(+u), l) : t;
|
|
1145
1145
|
}, l.defined = function(u) {
|
|
1146
|
-
return arguments.length ? (r = typeof u == "function" ? u :
|
|
1146
|
+
return arguments.length ? (r = typeof u == "function" ? u : se(!!u), l) : r;
|
|
1147
1147
|
}, l.curve = function(u) {
|
|
1148
1148
|
return arguments.length ? (i = u, n != null && (a = i(n)), l) : i;
|
|
1149
1149
|
}, l.context = function(u) {
|
|
@@ -1151,8 +1151,8 @@ function oc(e, t) {
|
|
|
1151
1151
|
}, l;
|
|
1152
1152
|
}
|
|
1153
1153
|
function _n(e, t, r) {
|
|
1154
|
-
var n = null, i =
|
|
1155
|
-
e = typeof e == "function" ? e : e === void 0 ? ic :
|
|
1154
|
+
var n = null, i = se(!0), a = null, o = $2, l = null, u = rc(c);
|
|
1155
|
+
e = typeof e == "function" ? e : e === void 0 ? ic : se(+e), t = typeof t == "function" ? t : se(t === void 0 ? 0 : +t), r = typeof r == "function" ? r : r === void 0 ? ac : se(+r);
|
|
1156
1156
|
function c(f) {
|
|
1157
1157
|
var h, d, p, m = (f = Ta(f)).length, v, y = !1, x, g = new Array(m), O = new Array(m);
|
|
1158
1158
|
for (a == null && (l = o(x = u())), h = 0; h <= m; ++h) {
|
|
@@ -1172,17 +1172,17 @@ function _n(e, t, r) {
|
|
|
1172
1172
|
return oc().defined(i).curve(o).context(a);
|
|
1173
1173
|
}
|
|
1174
1174
|
return c.x = function(f) {
|
|
1175
|
-
return arguments.length ? (e = typeof f == "function" ? f :
|
|
1175
|
+
return arguments.length ? (e = typeof f == "function" ? f : se(+f), n = null, c) : e;
|
|
1176
1176
|
}, c.x0 = function(f) {
|
|
1177
|
-
return arguments.length ? (e = typeof f == "function" ? f :
|
|
1177
|
+
return arguments.length ? (e = typeof f == "function" ? f : se(+f), c) : e;
|
|
1178
1178
|
}, c.x1 = function(f) {
|
|
1179
|
-
return arguments.length ? (n = f == null ? null : typeof f == "function" ? f :
|
|
1179
|
+
return arguments.length ? (n = f == null ? null : typeof f == "function" ? f : se(+f), c) : n;
|
|
1180
1180
|
}, c.y = function(f) {
|
|
1181
|
-
return arguments.length ? (t = typeof f == "function" ? f :
|
|
1181
|
+
return arguments.length ? (t = typeof f == "function" ? f : se(+f), r = null, c) : t;
|
|
1182
1182
|
}, c.y0 = function(f) {
|
|
1183
|
-
return arguments.length ? (t = typeof f == "function" ? f :
|
|
1183
|
+
return arguments.length ? (t = typeof f == "function" ? f : se(+f), c) : t;
|
|
1184
1184
|
}, c.y1 = function(f) {
|
|
1185
|
-
return arguments.length ? (r = f == null ? null : typeof f == "function" ? f :
|
|
1185
|
+
return arguments.length ? (r = f == null ? null : typeof f == "function" ? f : se(+f), c) : r;
|
|
1186
1186
|
}, c.lineX0 = c.lineY0 = function() {
|
|
1187
1187
|
return s().x(e).y(t);
|
|
1188
1188
|
}, c.lineY1 = function() {
|
|
@@ -1190,7 +1190,7 @@ function _n(e, t, r) {
|
|
|
1190
1190
|
}, c.lineX1 = function() {
|
|
1191
1191
|
return s().x(n).y(t);
|
|
1192
1192
|
}, c.defined = function(f) {
|
|
1193
|
-
return arguments.length ? (i = typeof f == "function" ? f :
|
|
1193
|
+
return arguments.length ? (i = typeof f == "function" ? f : se(!!f), c) : i;
|
|
1194
1194
|
}, c.curve = function(f) {
|
|
1195
1195
|
return arguments.length ? (o = f, a != null && (l = o(a)), c) : o;
|
|
1196
1196
|
}, c.context = function(f) {
|
|
@@ -1591,7 +1591,7 @@ function kh(e) {
|
|
|
1591
1591
|
return t.key = e, t;
|
|
1592
1592
|
}
|
|
1593
1593
|
function Mh() {
|
|
1594
|
-
var e =
|
|
1594
|
+
var e = se([]), t = H0, r = Ar, n = _h;
|
|
1595
1595
|
function i(a) {
|
|
1596
1596
|
var o = Array.from(e.apply(this, arguments), kh), l, u = o.length, c = -1, s;
|
|
1597
1597
|
for (const f of a)
|
|
@@ -1602,11 +1602,11 @@ function Mh() {
|
|
|
1602
1602
|
return r(o, s), o;
|
|
1603
1603
|
}
|
|
1604
1604
|
return i.keys = function(a) {
|
|
1605
|
-
return arguments.length ? (e = typeof a == "function" ? a :
|
|
1605
|
+
return arguments.length ? (e = typeof a == "function" ? a : se(Array.from(a)), i) : e;
|
|
1606
1606
|
}, i.value = function(a) {
|
|
1607
|
-
return arguments.length ? (n = typeof a == "function" ? a :
|
|
1607
|
+
return arguments.length ? (n = typeof a == "function" ? a : se(+a), i) : n;
|
|
1608
1608
|
}, i.order = function(a) {
|
|
1609
|
-
return arguments.length ? (t = a == null ? H0 : typeof a == "function" ? a :
|
|
1609
|
+
return arguments.length ? (t = a == null ? H0 : typeof a == "function" ? a : se(Array.from(a)), i) : t;
|
|
1610
1610
|
}, i.offset = function(a) {
|
|
1611
1611
|
return arguments.length ? (r = a ?? Ar, i) : r;
|
|
1612
1612
|
}, i;
|
|
@@ -6652,9 +6652,9 @@ var Qu = (e, t, r, n, i) => {
|
|
|
6652
6652
|
} : Z = {
|
|
6653
6653
|
strokeDasharray: V
|
|
6654
6654
|
};
|
|
6655
|
-
var
|
|
6655
|
+
var ue = ot(t), {
|
|
6656
6656
|
radius: je
|
|
6657
|
-
} =
|
|
6657
|
+
} = ue, Q = Xu(ue, t5);
|
|
6658
6658
|
return /* @__PURE__ */ b.createElement("path", f2({}, Q, {
|
|
6659
6659
|
radius: typeof c == "number" ? c : void 0,
|
|
6660
6660
|
className: w,
|
|
@@ -8405,7 +8405,7 @@ function Bp(e) {
|
|
|
8405
8405
|
Z: xv,
|
|
8406
8406
|
"%": L1
|
|
8407
8407
|
}, O = {
|
|
8408
|
-
a:
|
|
8408
|
+
a: ue,
|
|
8409
8409
|
A: je,
|
|
8410
8410
|
b: Q,
|
|
8411
8411
|
B: fe,
|
|
@@ -8550,7 +8550,7 @@ function Bp(e) {
|
|
|
8550
8550
|
function Z(S) {
|
|
8551
8551
|
return 1 + ~~(S.getMonth() / 3);
|
|
8552
8552
|
}
|
|
8553
|
-
function
|
|
8553
|
+
function ue(S) {
|
|
8554
8554
|
return o[S.getUTCDay()];
|
|
8555
8555
|
}
|
|
8556
8556
|
function je(S) {
|
|
@@ -11559,14 +11559,14 @@ function Ug(e) {
|
|
|
11559
11559
|
return null;
|
|
11560
11560
|
var Z = V ?? as;
|
|
11561
11561
|
j || (Z = as), l && Z.length && (Z = o9(V.filter((Q) => Q.value != null && (Q.hide !== !0 || t.includeHidden)), s, Wg));
|
|
11562
|
-
var
|
|
11562
|
+
var ue = Z.length > 0, je = /* @__PURE__ */ b.createElement(c4, {
|
|
11563
11563
|
allowEscapeViewBox: n,
|
|
11564
11564
|
animationDuration: i,
|
|
11565
11565
|
animationEasing: a,
|
|
11566
11566
|
isAnimationActive: u,
|
|
11567
11567
|
active: j,
|
|
11568
11568
|
coordinate: z,
|
|
11569
|
-
hasPayload:
|
|
11569
|
+
hasPayload: ue,
|
|
11570
11570
|
offset: c,
|
|
11571
11571
|
position: f,
|
|
11572
11572
|
reverseDirection: h,
|
|
@@ -16383,7 +16383,7 @@ var LO = /* @__PURE__ */ De((e, t) => {
|
|
|
16383
16383
|
handler: l,
|
|
16384
16384
|
reactEvent: S
|
|
16385
16385
|
}));
|
|
16386
|
-
}, [C, l]),
|
|
16386
|
+
}, [C, l]), ue = K((S) => {
|
|
16387
16387
|
C(tt({
|
|
16388
16388
|
handler: u,
|
|
16389
16389
|
reactEvent: S
|
|
@@ -16428,7 +16428,7 @@ var LO = /* @__PURE__ */ De((e, t) => {
|
|
|
16428
16428
|
onDoubleClick: Z,
|
|
16429
16429
|
onFocus: R,
|
|
16430
16430
|
onKeyDown: L,
|
|
16431
|
-
onMouseDown:
|
|
16431
|
+
onMouseDown: ue,
|
|
16432
16432
|
onMouseEnter: ee,
|
|
16433
16433
|
onMouseLeave: j,
|
|
16434
16434
|
onMouseMove: W,
|
|
@@ -16800,7 +16800,7 @@ const rP = [
|
|
|
16800
16800
|
});
|
|
16801
16801
|
}, []), V = K(
|
|
16802
16802
|
async (j) => {
|
|
16803
|
-
const W = w.get(j) ?? "", R = _.get(j) ?? "", [L, oe] = j.split("::"), Z = p.find((Q) => Q.test_id === L),
|
|
16803
|
+
const W = w.get(j) ?? "", R = _.get(j) ?? "", [L, oe] = j.split("::"), Z = p.find((Q) => Q.test_id === L), ue = Z ? Z[oe] : void 0, je = ue?.test_value ?? "";
|
|
16804
16804
|
if (W === je) {
|
|
16805
16805
|
C((Q) => {
|
|
16806
16806
|
const fe = new Map(Q);
|
|
@@ -16821,8 +16821,9 @@ const rP = [
|
|
|
16821
16821
|
test_value: W,
|
|
16822
16822
|
out_of_range: R || !1,
|
|
16823
16823
|
created_on: "",
|
|
16824
|
-
source_id:
|
|
16825
|
-
source_type:
|
|
16824
|
+
source_id: ue?.source_id || 0,
|
|
16825
|
+
source_type: ue?.source_type || V8.INVESTIGATIONS,
|
|
16826
|
+
id: ue?.id || ""
|
|
16826
16827
|
}) && (C((fe) => {
|
|
16827
16828
|
const Ce = new Map(fe);
|
|
16828
16829
|
return Ce.set(j, !1), Ce;
|
|
@@ -16852,8 +16853,8 @@ const rP = [
|
|
|
16852
16853
|
type: "string",
|
|
16853
16854
|
value: L,
|
|
16854
16855
|
className: `hfl-w-3/4 hfl-h-full hfl-border-0 focus:hfl-outline-none hfl-bg-inherit ${Z && "hfl-text-Error-600 hfl-font-bold"}`,
|
|
16855
|
-
onChange: (
|
|
16856
|
-
const je =
|
|
16856
|
+
onChange: (ue) => {
|
|
16857
|
+
const je = ue.target.value, Q = n.find((Ce) => Ce.test_id === oe), fe = nP(
|
|
16857
16858
|
e,
|
|
16858
16859
|
t,
|
|
16859
16860
|
oe,
|
|
@@ -16970,10 +16971,10 @@ const rP = [
|
|
|
16970
16971
|
minWidth: "180px",
|
|
16971
16972
|
cellClasses: `${D}`,
|
|
16972
16973
|
renderCell: (R, L, oe, Z) => {
|
|
16973
|
-
const
|
|
16974
|
+
const ue = Z % 3, je = {
|
|
16974
16975
|
testName: L.test_name,
|
|
16975
16976
|
unit: L.test_unit,
|
|
16976
|
-
color: rP[
|
|
16977
|
+
color: rP[ue],
|
|
16977
16978
|
data: YO(L)
|
|
16978
16979
|
};
|
|
16979
16980
|
return /* @__PURE__ */ E.jsx(tP, { containerHeight: 32, containerWidth: 180, trendData: je });
|
|
@@ -16992,8 +16993,8 @@ const rP = [
|
|
|
16992
16993
|
},
|
|
16993
16994
|
renderHeaderCell: (L) => /* @__PURE__ */ E.jsx(E.Fragment, { children: Un(L.fieldHeaderName).format("DD-MMM-YY hh:mm A") }),
|
|
16994
16995
|
renderCell: (L, oe, Z) => {
|
|
16995
|
-
const
|
|
16996
|
-
return ee(L || {}, je,
|
|
16996
|
+
const ue = `${oe.test_id}::${String(Z.field)}`, je = O.get(ue) ?? !1;
|
|
16997
|
+
return ee(L || {}, je, ue);
|
|
16997
16998
|
}
|
|
16998
16999
|
}));
|
|
16999
17000
|
g([...j, ...W]);
|
|
@@ -17011,7 +17012,7 @@ const rP = [
|
|
|
17011
17012
|
y(j);
|
|
17012
17013
|
const W = /* @__PURE__ */ new Map();
|
|
17013
17014
|
r.forEach((L) => {
|
|
17014
|
-
const oe = n.find((
|
|
17015
|
+
const oe = n.find((ue) => ue?.test_id?.toString() === L?.test_id?.toString());
|
|
17015
17016
|
W.has(L.test_id) || W.set(L.test_id, {
|
|
17016
17017
|
test_id: L.test_id,
|
|
17017
17018
|
test_name: oe?.test_names || L.test_name,
|
|
@@ -17026,7 +17027,8 @@ const rP = [
|
|
|
17026
17027
|
created_on: L.created_on,
|
|
17027
17028
|
source_id: L.source_id,
|
|
17028
17029
|
source_type: L.source_type,
|
|
17029
|
-
isEditPermitted: L.isEditPermitted || !1
|
|
17030
|
+
isEditPermitted: L.isEditPermitted || !1,
|
|
17031
|
+
id: L.id || ""
|
|
17030
17032
|
};
|
|
17031
17033
|
});
|
|
17032
17034
|
const R = Array.from(W.values());
|