@bahmni/registration-app 0.0.1-dev.136 → 0.0.1-dev.139

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.
@@ -1,5 +1,5 @@
1
1
  import { jsx as t, jsxs as p, Fragment as Z } from "react/jsx-runtime";
2
- import { u as z, y as Q, a as X, Y as J, U as ee, K as re, W as ae, d as oe, m as te, $ as U, q as ne, b as se, F as me, V as de, c as G, Z as ie, v } from "./index-Cmg88CZY.js";
2
+ import { u as z, y as Q, a as X, Y as J, U as ee, K as re, W as ae, d as oe, m as te, $ as U, q as ne, b as se, F as me, V as de, c as G, Z as ie, v } from "./index-DPNl3mNU.js";
3
3
  import { useQuery as h } from "@tanstack/react-query";
4
4
  import { useState as x, useMemo as $, 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", $e = "_groupLabel_1pd36_48", Ne = "_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", Le = "_commentText_1pd36_116", Ce = "_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-CyCWm3jU.js";
2
- import { k as d, l as f, n as e } from "./index-Cmg88CZY.js";
1
+ import { c, T as l, P as m, a as u, D as v, Q as i } from "./YPM2AS64-CLCwLQnS.js";
2
+ import { k as d, l as f, n as e } from "./index-DPNl3mNU.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-CyCWm3jU.js";
2
- import { k as v, l as C, n as e } from "./index-Cmg88CZY.js";
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-CLCwLQnS.js";
2
+ import { k as v, l as C, n as e } from "./index-DPNl3mNU.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 { y as B, e as U, u as I, f as k, g as x, h as H, $ as K, P as Q, i as w, j, w as P, H as G, M as X } from "./index-Cmg88CZY.js";
2
+ import { y as B, e as U, u as I, f as k, g as x, h as H, $ as K, P as Q, i as w, j, w as P, H as G, M as X } from "./index-DPNl3mNU.js";
3
3
  import { useQueries as Y, useQuery as Z } from "@tanstack/react-query";
4
4
  import { useRef as z, useEffect as S, useMemo as h } from "react";
5
5
  const J = "normal", W = "http://terminology.hl7.org/CodeSystem/referencerange-meaning", ee = "A", te = "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", ne = (e, n) => e?.date ? Q(e.date, n).formattedResult : n("DATE_ERROR_PARSE"), re = (e) => {
@@ -1,4 +1,4 @@
1
- import { o as we, p as z, r as xt, s as B, l as q, n as y, t as Ro, x as ye, S as R, z as _, A as k, B as N, C as A, D as bs, E as ir, G as $e, I as G, J as Hn, L as Vn, N as dt, O as D, Q as xs, R as cn, T as Be, X as ws, _ as qt, a0 as zt, a1 as $s, a2 as Cs, a3 as $n, a4 as Ss, a5 as Nr, a6 as Bt, a7 as zo, a8 as ks, a9 as Es, aa as j, ab as Gr, ac as Ms, ad as Ds, ae as sr, af as As, ag as Ts, ah as zn, ai as Fs, aj as Is, ak as Z, al as Ps, am as Ls } from "./index-Cmg88CZY.js";
1
+ import { o as we, p as z, r as xt, s as B, l as q, n as y, t as Ro, x as ye, S as R, z as _, A as k, B as N, C as A, D as bs, E as ir, G as $e, I as G, J as Hn, L as Vn, N as dt, O as D, Q as xs, R as cn, T as Be, X as ws, _ as qt, a0 as zt, a1 as $s, a2 as Cs, a3 as $n, a4 as Ss, a5 as Nr, a6 as Bt, a7 as zo, a8 as ks, a9 as Es, aa as j, ab as Gr, ac as Ms, ad as Ds, ae as sr, af as As, ag as Ts, ah as zn, ai as Fs, aj as Is, ak as Z, al as Ps, am as Ls } from "./index-DPNl3mNU.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":"useAddressSuggestions.d.ts","sourceRoot":"","sources":["../../src/hooks/useAddressSuggestions.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,qBAAqB,EAC3B,MAAM,kBAAkB,CAAC;AAG1B,OAAO,KAAK,EAAE,YAAY,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AAEhF,wBAAgB,qBAAqB,CACnC,kBAAkB,EAAE,MAAM,EAAE,EAC5B,qBAAqB,EAAE,YAAY,EAAE,EACrC,gBAAgB,EAAE,uBAAuB;;;;;oCAqF/B,MAAM,cAAc,MAAM;uCAatB,MAAM;sCAyCiC,MAAM;EAkB5D"}
1
+ {"version":3,"file":"useAddressSuggestions.d.ts","sourceRoot":"","sources":["../../src/hooks/useAddressSuggestions.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,qBAAqB,EAC3B,MAAM,kBAAkB,CAAC;AAG1B,OAAO,KAAK,EAAE,YAAY,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AAEhF,wBAAgB,qBAAqB,CACnC,kBAAkB,EAAE,MAAM,EAAE,EAC5B,qBAAqB,EAAE,YAAY,EAAE,EACrC,gBAAgB,EAAE,uBAAuB;;;;;oCAuE/B,MAAM,cAAc,MAAM;uCAatB,MAAM;sCAyCiC,MAAM;EAkB5D"}
@@ -154759,7 +154759,7 @@ const RC1 = (t, e) => ["programs", t, e], IV0 = async (t, e) => {
154759
154759
  };
154760
154760
  ZC1.displayName = "UserPrivilegeProvider";
154761
154761
  W2(void 0);
154762
- nr(() => Promise.resolve().then(() => tE0)), nr(() => Promise.resolve().then(() => qy0)), nr(() => Promise.resolve().then(() => zM0)), nr(() => Promise.resolve().then(() => LM0)), nr(() => Promise.resolve().then(() => VV0)), nr(() => import("./FormsTable-L_FgKUMC-DeQYHvNV.js")), nr(() => Promise.resolve().then(() => Gz0)), nr(() => import("./Observations-DvU3hHuI-skfiqIg8.js")), nr(
154762
+ nr(() => Promise.resolve().then(() => tE0)), nr(() => Promise.resolve().then(() => qy0)), nr(() => Promise.resolve().then(() => zM0)), nr(() => Promise.resolve().then(() => LM0)), nr(() => Promise.resolve().then(() => VV0)), nr(() => import("./FormsTable-L_FgKUMC-DmfXukQs.js")), nr(() => Promise.resolve().then(() => Gz0)), nr(() => import("./Observations-DvU3hHuI-Cw9nxJ8M.js")), nr(
154763
154763
  () => Promise.resolve().then(() => TV0)
154764
154764
  ), nr(
154765
154765
  () => Promise.resolve().then(() => wz0)
@@ -156598,7 +156598,7 @@ var zO0 = (t, e = !1) => {
156598
156598
  const e = nL1(() => {
156599
156599
  const r = this, [n] = this.#n, [a] = this.#o, [c] = this.#a, [i] = this.#c, [l] = this.#p, [s] = this.#t;
156600
156600
  let d;
156601
- return this.#i ? d = this.#i : (d = tL1(() => import("./LNWAZHJI-CwKbIsWO.js")), this.#i = d), zL1(this.#h, this.#r), QC1(d, eL1({
156601
+ return this.#i ? d = this.#i : (d = tL1(() => import("./LNWAZHJI-CMEwxQfR.js")), this.#i = d), zL1(this.#h, this.#r), QC1(d, eL1({
156602
156602
  get queryFlavor() {
156603
156603
  return r.#d;
156604
156604
  },
@@ -156696,7 +156696,7 @@ var zO0 = (t, e = !1) => {
156696
156696
  const e = nL1(() => {
156697
156697
  const r = this, [n] = this.#n, [a] = this.#o, [c] = this.#a, [i] = this.#c, [l] = this.#p, [s] = this.#t, [d] = this.#i;
156698
156698
  let u;
156699
- return this.#l ? u = this.#l : (u = tL1(() => import("./MWZ6AO7Z-G1A_JxJ1.js")), this.#l = u), zL1(this.#h, this.#r), QC1(u, eL1({
156699
+ return this.#l ? u = this.#l : (u = tL1(() => import("./MWZ6AO7Z-Cn3Xlq8n.js")), this.#l = u), zL1(this.#h, this.#r), QC1(u, eL1({
156700
156700
  get queryFlavor() {
156701
156701
  return r.#d;
156702
156702
  },
@@ -157532,20 +157532,11 @@ function Ib0(t, e, r) {
157532
157532
  if (l.has(h))
157533
157533
  E[h] = [];
157534
157534
  else {
157535
- const x = p[g]?.data ?? [], V = u(h);
157536
- if (V) {
157537
- const L = x.filter((T) => T.parent?.uuid === V);
157538
- E[h] = L;
157539
- } else
157540
- E[h] = x;
157535
+ const x = p[g]?.data ?? [];
157536
+ E[h] = x;
157541
157537
  }
157542
157538
  }), E;
157543
- }, [
157544
- t,
157545
- p,
157546
- l,
157547
- u
157548
- ]), y = ze(
157539
+ }, [t, p, l]), y = ze(
157549
157540
  (E, h) => {
157550
157541
  d.current[E] && clearTimeout(d.current[E]), d.current[E] = window.setTimeout(() => {
157551
157542
  a((g) => ({ ...g, [E]: h }));
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { ap as s, an as p, ao as E } from "./index-Cmg88CZY.js";
1
+ import { ap as s, an as p, ao as E } from "./index-DPNl3mNU.js";
2
2
  export {
3
3
  s as IDENTIFIER_TYPES_QUERY_KEY,
4
4
  p as RegistrationApp,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bahmni/registration-app",
3
- "version": "0.0.1-dev.136",
3
+ "version": "0.0.1-dev.139",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",