@bahmni/registration-app 0.0.1-dev.149 → 0.0.1-dev.150
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/{FormsTable-CuElNQoi-BSREkVuW.js → FormsTable-2H_unWnb-BMSDpi1c.js} +1 -1
- package/dist/{LNWAZHJI-BE8GgBRd.js → LNWAZHJI-C3jSkzaq.js} +2 -2
- package/dist/{MWZ6AO7Z-B7P6EtP9.js → MWZ6AO7Z-DYYoMlgH.js} +2 -2
- package/dist/{Observations-Bnj4tFMi-Cy7aRBqF.js → Observations-Dj336sZY-DGcE0djF.js} +1 -1
- package/dist/{YPM2AS64-DsYOuI9_.js → YPM2AS64-DvBT3iux.js} +1 -1
- package/dist/{index-DNexEXy5.js → index-O3L-Q5oy.js} +6 -8
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as t, jsxs as p, Fragment as W } from "react/jsx-runtime";
|
|
2
|
-
import { u as J, H as Q, w as X, W as Z, q as ee, U as re, F as ae, i as oe, C as te, A as G, Y as ne, G as se, a as me, V as de, b as U, g as ie, c as v } from "./index-
|
|
2
|
+
import { u as J, H as Q, w as X, W as Z, q as ee, U as re, F as ae, i as oe, C as te, A as G, Y as ne, G as se, a as me, V as de, b as U, g as ie, c as v } from "./index-O3L-Q5oy.js";
|
|
3
3
|
import { useQuery as h } from "@tanstack/react-query";
|
|
4
4
|
import { useState as x, useMemo as N, useCallback as y } from "react";
|
|
5
5
|
const le = "_formsTableBody_1pd36_1", ce = "_customAccordianItem_1pd36_6", ue = "_formContent_1pd36_18", pe = "_formDetailsContainer_1pd36_25", be = "_observation_1pd36_30", _e = "_groupContainer_1pd36_39", fe = "_rowContainer_1pd36_43", Ne = "_groupLabel_1pd36_48", $e = "_rowLabel_1pd36_58", ge = "_rowValue_1pd36_67", he = "_groupMembers_1pd36_75", ye = "_memberRow_1pd36_81", ve = "_memberLabel_1pd36_86", Ae = "_memberValue_1pd36_94", Me = "_abnormalValue_1pd36_102", Te = "_commentSection_1pd36_110", Ce = "_commentText_1pd36_116", Le = "_nestedGroup_1pd36_125", De = "_nestedGroupLabel_1pd36_132", Oe = "_nestedGroupMembers_1pd36_141", o = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c, T as l, P as m, a as u, D as v, Q as i } from "./YPM2AS64-
|
|
2
|
-
import { l as d, m as f, n as e } from "./index-
|
|
1
|
+
import { c, T as l, P as m, a as u, D as v, Q as i } from "./YPM2AS64-DvBT3iux.js";
|
|
2
|
+
import { l as d, m as f, n as e } from "./index-O3L-Q5oy.js";
|
|
3
3
|
var p = (a) => {
|
|
4
4
|
const [r, t] = c({
|
|
5
5
|
prefix: "TanstackQueryDevtools"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as s, T as c, P as u, a as i, b as m, C as P, Q as d } from "./YPM2AS64-
|
|
2
|
-
import { l as v, m as C, n as e } from "./index-
|
|
1
|
+
import { c as s, T as c, P as u, a as i, b as m, C as P, Q as d } from "./YPM2AS64-DvBT3iux.js";
|
|
2
|
+
import { l as v, m as C, n as e } from "./index-O3L-Q5oy.js";
|
|
3
3
|
var h = (t) => {
|
|
4
4
|
const [r, o] = s({
|
|
5
5
|
prefix: "TanstackQueryDevtools"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as $, jsx as b } from "react/jsx-runtime";
|
|
2
|
-
import { H as C, h as K, u as I, P as U, j as V, K as H, X as Q, Q as M, d as j, A as G, e as w, f as N, J as x, B as P, O as X, k as J, M as Y } from "./index-
|
|
2
|
+
import { H as C, h as K, u as I, P as U, j as V, K as H, X as Q, Q as M, d as j, A as G, e as w, f as N, J as x, B as P, O as X, k as J, M as Y } from "./index-O3L-Q5oy.js";
|
|
3
3
|
import { useQueries as z, useQuery as W } from "@tanstack/react-query";
|
|
4
4
|
import { useRef as Z, useEffect as _, useMemo as h } from "react";
|
|
5
5
|
const S = (e, d, o, l, t) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as we, p as z, r as xt, s as B, m as q, n as y, t as Ro, v as ye, S as R, x as _, y as k, z as N, D as A, E as bs, I as ir, L as $e, N as U, R as Hn, T as Vn, Z as dt, _ as D, $ as xs, a0 as cn, a1 as Be, a2 as ws, a3 as qt, a4 as zt, a5 as $s, a6 as Cs, a7 as $n, a8 as Ss, a9 as Nr, aa as Bt, ab as zo, ac as ks, ad as Es, ae as j, af as Ur, ag as Ms, ah as Ds, ai as sr, aj as As, ak as Ts, al as zn, am as Fs, an as Is, ao as Z, ap as Ps, aq as Ls } from "./index-
|
|
1
|
+
import { o as we, p as z, r as xt, s as B, m as q, n as y, t as Ro, v as ye, S as R, x as _, y as k, z as N, D as A, E as bs, I as ir, L as $e, N as U, R as Hn, T as Vn, Z as dt, _ as D, $ as xs, a0 as cn, a1 as Be, a2 as ws, a3 as qt, a4 as zt, a5 as $s, a6 as Cs, a7 as $n, a8 as Ss, a9 as Nr, aa as Bt, ab as zo, ac as ks, ad as Es, ae as j, af as Ur, ag as Ms, ah as Ds, ai as sr, aj as As, ak as Ts, al as zn, am as Fs, an as Is, ao as Z, ap as Ps, aq as Ls } from "./index-O3L-Q5oy.js";
|
|
2
2
|
var Os = (e) => e != null, qs = (e) => e.filter(Os);
|
|
3
3
|
function _s(e) {
|
|
4
4
|
return (...t) => {
|
|
@@ -149544,7 +149544,7 @@ const od = (t, e) => t?.length === 0 ? !1 : e?.length === 0, Qv0 = async () => {
|
|
|
149544
149544
|
});
|
|
149545
149545
|
const c = nE0 + a.toString();
|
|
149546
149546
|
return M0(c);
|
|
149547
|
-
}, aE0 = "custom:(uuid,episodeUuid,patient,program,display,dateEnrolled,dateCompleted,location,voided,allowedStates,outcome,states:(uuid,startDate,endDate,voided,state:(uuid,concept:(uuid,display,name,names))),auditInfo,attributes)", cE0 = (t) => `${or}/bahmniprogramenrollment?patient=${t}&v=${aE0}`, iE0 = async (t) => await M0(cE0(t));
|
|
149547
|
+
}, aE0 = "custom:(uuid,episodeUuid,patient,program,display,dateEnrolled,dateCompleted,location,voided,allowedStates,outcome,states:(uuid,startDate,endDate,voided,state:(uuid,concept:(uuid,display,name,names)),auditInfo),auditInfo,attributes)", cE0 = (t) => `${or}/bahmniprogramenrollment?patient=${t}&v=${aE0}`, iE0 = async (t) => await M0(cE0(t));
|
|
149548
149548
|
function lE0(t) {
|
|
149549
149549
|
if (t.states.length === 0)
|
|
149550
149550
|
return null;
|
|
@@ -149553,15 +149553,13 @@ function lE0(t) {
|
|
|
149553
149553
|
const r = t.states.filter(
|
|
149554
149554
|
(n) => n.endDate !== null
|
|
149555
149555
|
).sort((n, a) => {
|
|
149556
|
-
const c = new Date(n.
|
|
149556
|
+
const c = new Date(n.auditInfo.dateCreated).getTime(), i = new Date(a.auditInfo.dateCreated).getTime();
|
|
149557
149557
|
return c - i;
|
|
149558
149558
|
});
|
|
149559
149559
|
e = r[r.length - 1];
|
|
149560
149560
|
} else
|
|
149561
149561
|
e = t.states.find((r) => r.endDate === null);
|
|
149562
|
-
return e ? $w0(
|
|
149563
|
-
e.state.concept.names
|
|
149564
|
-
) ?? e.state.concept.display : null;
|
|
149562
|
+
return e ? $w0(e.state.concept.names) ?? e.state.concept.display : null;
|
|
149565
149563
|
}
|
|
149566
149564
|
function sE0(t, e) {
|
|
149567
149565
|
if (e.length === 0)
|
|
@@ -155695,7 +155693,7 @@ const KC1 = (t, e) => ["programs", t, e], SH0 = async (t, e) => {
|
|
|
155695
155693
|
};
|
|
155696
155694
|
JC1.displayName = "UserPrivilegeProvider";
|
|
155697
155695
|
U2(void 0);
|
|
155698
|
-
ar(() => Promise.resolve().then(() => bE0)), ar(() => Promise.resolve().then(() => mM0)), ar(() => Promise.resolve().then(() => WM0)), ar(() => Promise.resolve().then(() => QM0)), ar(() => Promise.resolve().then(() => yH0)), ar(() => import("./FormsTable-
|
|
155696
|
+
ar(() => Promise.resolve().then(() => bE0)), ar(() => Promise.resolve().then(() => mM0)), ar(() => Promise.resolve().then(() => WM0)), ar(() => Promise.resolve().then(() => QM0)), ar(() => Promise.resolve().then(() => yH0)), ar(() => import("./FormsTable-2H_unWnb-BMSDpi1c.js")), ar(() => Promise.resolve().then(() => UV0)), ar(() => import("./Observations-Dj336sZY-DGcE0djF.js")), ar(
|
|
155699
155697
|
() => Promise.resolve().then(() => LH0)
|
|
155700
155698
|
), ar(
|
|
155701
155699
|
() => Promise.resolve().then(() => mV0)
|
|
@@ -157534,7 +157532,7 @@ var VD0 = (t, e = !1) => {
|
|
|
157534
157532
|
const e = fL1(() => {
|
|
157535
157533
|
const r = this, [n] = this.#n, [a] = this.#o, [c] = this.#a, [i] = this.#c, [l] = this.#p, [s] = this.#t;
|
|
157536
157534
|
let d;
|
|
157537
|
-
return this.#i ? d = this.#i : (d = hL1(() => import("./LNWAZHJI-
|
|
157535
|
+
return this.#i ? d = this.#i : (d = hL1(() => import("./LNWAZHJI-C3jSkzaq.js")), this.#i = d), $L1(this.#h, this.#r), dL1(d, uL1({
|
|
157538
157536
|
get queryFlavor() {
|
|
157539
157537
|
return r.#d;
|
|
157540
157538
|
},
|
|
@@ -157632,7 +157630,7 @@ var VD0 = (t, e = !1) => {
|
|
|
157632
157630
|
const e = fL1(() => {
|
|
157633
157631
|
const r = this, [n] = this.#n, [a] = this.#o, [c] = this.#a, [i] = this.#c, [l] = this.#p, [s] = this.#t, [d] = this.#i;
|
|
157634
157632
|
let u;
|
|
157635
|
-
return this.#l ? u = this.#l : (u = hL1(() => import("./MWZ6AO7Z-
|
|
157633
|
+
return this.#l ? u = this.#l : (u = hL1(() => import("./MWZ6AO7Z-DYYoMlgH.js")), this.#l = u), $L1(this.#h, this.#r), dL1(u, uL1({
|
|
157636
157634
|
get queryFlavor() {
|
|
157637
157635
|
return r.#d;
|
|
157638
157636
|
},
|
package/dist/index.js
CHANGED