@bahmni/registration-app 0.0.1-dev.166 → 0.0.1-dev.168
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-BdkkI5Rd-C4mLuXmo.js → FormsTable-C7QfrmD1-C8xKxTFG.js} +1 -1
- package/dist/{LNWAZHJI-DLIcpkCd.js → LNWAZHJI-lDbx5Q3a.js} +2 -2
- package/dist/{MWZ6AO7Z-BCN8Vfnu.js → MWZ6AO7Z-Dwh5b8AK.js} +2 -2
- package/dist/{Observations-JvnnwMDn-4dDOdgZO.js → Observations-BAaMZ7G3-DK11Ak19.js} +1 -1
- package/dist/{YPM2AS64-DArit2L_.js → YPM2AS64-ZfjFK021.js} +1 -1
- package/dist/components/common/personAttributeHelpers.d.ts.map +1 -1
- package/dist/{index-DyPvLf9f.js → index-pMxrukjk.js} +8 -16
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as s, jsxs as p, Fragment as H } from "react/jsx-runtime";
|
|
2
|
-
import { u as ee, h as re, w as ae, J as te, Y as oe, G as ne, K as se, e as de, i as me, C as ie, z as U, a as le, b as ce, c as ue, M as be, V as q, d as pe, g as _e, f as R, F as fe, N as $e, j as ve, U as ge } from "./index-
|
|
2
|
+
import { u as ee, h as re, w as ae, J as te, Y as oe, G as ne, K as se, e as de, i as me, C as ie, z as U, a as le, b as ce, c as ue, M as be, V as q, d as pe, g as _e, f as R, F as fe, N as $e, j as ve, U as ge } from "./index-pMxrukjk.js";
|
|
3
3
|
import { useQueryClient as he, useQuery as C } from "@tanstack/react-query";
|
|
4
4
|
import { useState as K, useMemo as h, useCallback as L } from "react";
|
|
5
5
|
const Ne = "_formsTableBody_1pd36_1", ye = "_customAccordianItem_1pd36_6", Ce = "_formContent_1pd36_18", Le = "_formDetailsContainer_1pd36_25", Re = "_observation_1pd36_30", Ae = "_groupContainer_1pd36_39", Fe = "_rowContainer_1pd36_43", Me = "_groupLabel_1pd36_48", Ve = "_rowLabel_1pd36_58", Oe = "_rowValue_1pd36_67", Ie = "_groupMembers_1pd36_75", Te = "_memberRow_1pd36_81", Se = "_memberLabel_1pd36_86", we = "_memberValue_1pd36_94", De = "_abnormalValue_1pd36_102", Ge = "_commentSection_1pd36_110", Ee = "_commentText_1pd36_116", xe = "_nestedGroup_1pd36_125", Be = "_nestedGroupLabel_1pd36_132", Ue = "_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, o as e } from "./index-
|
|
1
|
+
import { c, T as l, P as m, a as u, D as v, Q as i } from "./YPM2AS64-ZfjFK021.js";
|
|
2
|
+
import { l as d, m as f, o as e } from "./index-pMxrukjk.js";
|
|
3
3
|
var p = (a) => {
|
|
4
4
|
const [r, o] = 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, o 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-ZfjFK021.js";
|
|
2
|
+
import { l as v, m as C, o as e } from "./index-pMxrukjk.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 T, jsx as c } from "react/jsx-runtime";
|
|
2
|
-
import { h as B, p as V, u as I, q as x, W as K, e as w, d as z, r as G, n as Q, A as j, z as H, k as M, x as S, t as W, F as P, D as X, N as Y, j as J } from "./index-
|
|
2
|
+
import { h as B, p as V, u as I, q as x, W as K, e as w, d as z, r as G, n as Q, A as j, z as H, k as M, x as S, t as W, F as P, D as X, N as Y, j as J } from "./index-pMxrukjk.js";
|
|
3
3
|
import { useQueries as Z, useQuery as ee } from "@tanstack/react-query";
|
|
4
4
|
import { useRef as te, useEffect as $, useMemo as h } from "react";
|
|
5
5
|
const A = (t, d, i, l, r) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as we, v as z, y as xt, B, m as q, o as y, P as Ro, E as ye, S as R, H as _, I as k, L as N, O as A, Q as bs, R as ir, T as $e, X as U, Z as Hn, _ as Vn, $ as dt, a0 as D, a1 as xs, a2 as cn, a3 as Be, a4 as ws, a5 as qt, a6 as zt, a7 as $s, a8 as Cs, a9 as $n, aa as Ss, ab as Nr, ac as Bt, ad as zo, ae as ks, af as Es, ag as j, ah as Ur, ai as Ms, aj as Ds, ak as sr, al as As, am as Ts, an as zn, ao as Fs, ap as Is, aq as Z, ar as Ps, as as Ls } from "./index-
|
|
1
|
+
import { s as we, v as z, y as xt, B, m as q, o as y, P as Ro, E as ye, S as R, H as _, I as k, L as N, O as A, Q as bs, R as ir, T as $e, X as U, Z as Hn, _ as Vn, $ as dt, a0 as D, a1 as xs, a2 as cn, a3 as Be, a4 as ws, a5 as qt, a6 as zt, a7 as $s, a8 as Cs, a9 as $n, aa as Ss, ab as Nr, ac as Bt, ad as zo, ae as ks, af as Es, ag as j, ah as Ur, ai as Ms, aj as Ds, ak as sr, al as As, am as Ts, an as zn, ao as Fs, ap as Is, aq as Z, ar as Ps, as as Ls } from "./index-pMxrukjk.js";
|
|
2
2
|
var Os = (e) => e != null, qs = (e) => e.filter(Os);
|
|
3
3
|
function _s(e) {
|
|
4
4
|
return (...t) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"personAttributeHelpers.d.ts","sourceRoot":"","sources":["../../../src/components/common/personAttributeHelpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AACjF,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAEjE,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,EAAE,MAAM,CAAC;CACxB;AAED,eAAO,MAAM,eAAe,GAC1B,iBAAiB,oBAAoB,EAAE,EACvC,kBAAkB,eAAe,EAAE,KAClC,oBAAoB,
|
|
1
|
+
{"version":3,"file":"personAttributeHelpers.d.ts","sourceRoot":"","sources":["../../../src/components/common/personAttributeHelpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AACjF,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAEjE,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,EAAE,MAAM,CAAC;CACxB;AAED,eAAO,MAAM,eAAe,GAC1B,iBAAiB,oBAAoB,EAAE,EACvC,kBAAkB,eAAe,EAAE,KAClC,oBAAoB,EAUtB,CAAC;AAEF,eAAO,MAAM,yBAAyB,GACpC,kBAAkB,eAAe,EAAE,KAClC,MAAM,CAAC,MAAM,EAAE,MAAM,CAMvB,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAC7B,cAAc,oBAAoB,EAAE,EACpC,cAAc,oBAAoB,KACjC,oBAMF,CAAC;AAEF,eAAO,MAAM,aAAa,GACxB,WAAW,MAAM,EACjB,qBAAqB,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EAC3C,aAAa,CAAC,GAAG,EAAE,MAAM,KAAK,MAAM,KACnC,MAGF,CAAC"}
|
|
@@ -154899,11 +154899,8 @@ const QV0 = "_searchPatientContainer_4r1cg_1", eb0 = "_searchPatient_4r1cg_1", t
|
|
|
154899
154899
|
message: T instanceof Error ? T.message : String(T),
|
|
154900
154900
|
type: "error"
|
|
154901
154901
|
}), f([]), h("");
|
|
154902
|
-
else if (V?.patientSearch
|
|
154903
|
-
const B =
|
|
154904
|
-
...V.patientSearch.customAttributes || [],
|
|
154905
|
-
...V.patientSearch.appointment || []
|
|
154906
|
-
];
|
|
154902
|
+
else if (V?.patientSearch) {
|
|
154903
|
+
const B = Object.values(V.patientSearch).filter(Array.isArray).flat();
|
|
154907
154904
|
x(B);
|
|
154908
154905
|
const re = B.map(
|
|
154909
154906
|
(_) => w(_.translationKey)
|
|
@@ -155746,7 +155743,7 @@ const GC1 = (t, e) => ["programs", t, e], kb0 = async (t, e) => {
|
|
|
155746
155743
|
};
|
|
155747
155744
|
QC1.displayName = "UserPrivilegeProvider";
|
|
155748
155745
|
U2(void 0);
|
|
155749
|
-
or(() => Promise.resolve().then(() => xE0)), or(() => Promise.resolve().then(() => wM0)), or(() => Promise.resolve().then(() => UM0)), or(() => Promise.resolve().then(() => ez0)), or(() => Promise.resolve().then(() => Mb0)), or(() => import("./FormsTable-
|
|
155746
|
+
or(() => Promise.resolve().then(() => xE0)), or(() => Promise.resolve().then(() => wM0)), or(() => Promise.resolve().then(() => UM0)), or(() => Promise.resolve().then(() => ez0)), or(() => Promise.resolve().then(() => Mb0)), or(() => import("./FormsTable-C7QfrmD1-C8xKxTFG.js")), or(() => Promise.resolve().then(() => KV0)), or(() => import("./Observations-BAaMZ7G3-DK11Ak19.js")), or(
|
|
155750
155747
|
() => Promise.resolve().then(() => _b0)
|
|
155751
155748
|
), or(
|
|
155752
155749
|
() => Promise.resolve().then(() => wV0)
|
|
@@ -157585,7 +157582,7 @@ var xD0 = (t, e = !1) => {
|
|
|
157585
157582
|
const e = wL1(() => {
|
|
157586
157583
|
const r = this, [n] = this.#n, [a] = this.#o, [c] = this.#a, [i] = this.#c, [l] = this.#p, [s] = this.#t;
|
|
157587
157584
|
let d;
|
|
157588
|
-
return this.#i ? d = this.#i : (d = fL1(() => import("./LNWAZHJI-
|
|
157585
|
+
return this.#i ? d = this.#i : (d = fL1(() => import("./LNWAZHJI-lDbx5Q3a.js")), this.#i = d), DL1(this.#h, this.#r), hL1(d, pL1({
|
|
157589
157586
|
get queryFlavor() {
|
|
157590
157587
|
return r.#d;
|
|
157591
157588
|
},
|
|
@@ -157683,7 +157680,7 @@ var xD0 = (t, e = !1) => {
|
|
|
157683
157680
|
const e = wL1(() => {
|
|
157684
157681
|
const r = this, [n] = this.#n, [a] = this.#o, [c] = this.#a, [i] = this.#c, [l] = this.#p, [s] = this.#t, [d] = this.#i;
|
|
157685
157682
|
let u;
|
|
157686
|
-
return this.#l ? u = this.#l : (u = fL1(() => import("./MWZ6AO7Z-
|
|
157683
|
+
return this.#l ? u = this.#l : (u = fL1(() => import("./MWZ6AO7Z-Dwh5b8AK.js")), this.#l = u), DL1(this.#h, this.#r), hL1(u, pL1({
|
|
157687
157684
|
get queryFlavor() {
|
|
157688
157685
|
return r.#d;
|
|
157689
157686
|
},
|
|
@@ -158004,14 +158001,9 @@ const ZL1 = U2(void 0), $y = () => {
|
|
|
158004
158001
|
isLoading: e,
|
|
158005
158002
|
error: r
|
|
158006
158003
|
};
|
|
158007
|
-
}, PL1 = (t, e) =>
|
|
158008
|
-
|
|
158009
|
-
|
|
158010
|
-
const r = e.map((n) => n.field);
|
|
158011
|
-
return t.filter(
|
|
158012
|
-
(n) => r.includes(n.name)
|
|
158013
|
-
);
|
|
158014
|
-
}, jL1 = (t) => {
|
|
158004
|
+
}, PL1 = (t, e) => e.length === 0 ? [] : e.map(
|
|
158005
|
+
(r) => t.find((n) => n.name === r.field)
|
|
158006
|
+
).filter((r) => r !== void 0), jL1 = (t) => {
|
|
158015
158007
|
const e = {};
|
|
158016
158008
|
return t.forEach((r) => {
|
|
158017
158009
|
e[r.field] = r.translationKey;
|
package/dist/index.js
CHANGED