@bahmni/registration-app 0.0.1-dev.142 → 0.0.1-dev.143

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 J } from "react/jsx-runtime";
2
- import { u as z, V as Y, a as W, Q as Z, J as ee, X as re, G as ae, d as oe, g as te, $ as x, F as ne, q as se, b as me, x as de, y as G, B as ie, E as v } from "./index-BvKXaq0R.js";
2
+ import { u as z, V as Y, a as W, Q as Z, J as ee, X as re, G as ae, d as oe, g as te, $ as x, F as ne, q as se, b as me, x as de, y as G, B as ie, E as v } from "./index-C8JfSqHC.js";
3
3
  import { useQuery as h } from "@tanstack/react-query";
4
4
  import { useState as U, 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 i, D as u, Q as v } from "./YPM2AS64-BlmNJ7n4.js";
2
- import { h as d, i as f, j as e } from "./index-BvKXaq0R.js";
1
+ import { c, T as l, P as m, a as i, D as u, Q as v } from "./YPM2AS64-DYb-0X63.js";
2
+ import { h as d, i as f, j as e } from "./index-C8JfSqHC.js";
3
3
  var h = (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 i, a as u, b as m, C as P, Q as d } from "./YPM2AS64-BlmNJ7n4.js";
2
- import { h, i as v, j as e } from "./index-BvKXaq0R.js";
1
+ import { c as s, T as c, P as i, a as u, b as m, C as P, Q as d } from "./YPM2AS64-DYb-0X63.js";
2
+ import { h, i as v, j as e } from "./index-C8JfSqHC.js";
3
3
  var C = (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 { V as B, c as F, u as I, K as k, Y as K, e as x, $ as Q, W as G, N as A, U as H, f as Y, z as j, A as z } from "./index-BvKXaq0R.js";
2
+ import { V as B, c as F, u as I, K as k, Y as K, e as x, $ as Q, W as G, N as A, U as H, f as Y, z as j, A as z } from "./index-C8JfSqHC.js";
3
3
  import { useQueries as P, useQuery as W } from "@tanstack/react-query";
4
4
  import { useRef as X, useEffect as S, useMemo as h } from "react";
5
5
  const Z = "normal", J = "http://terminology.hl7.org/CodeSystem/referencerange-meaning", ee = "A", te = "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", ne = (e, n) => e?.date ? G(e.date, n).formattedResult : n("DATE_ERROR_PARSE"), re = (e) => {
@@ -1,4 +1,4 @@
1
- import { k as we, l as z, o as xt, m as B, i as q, j as m, P as Ro, n as me, S as R, t as _, p as k, r as N, s as A, v as bs, w as ir, C as $e, D as U, H as Hn, I as Vn, L as dt, M as D, O as xs, R as cn, T as Be, Z 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 Ur, 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-BvKXaq0R.js";
1
+ import { k as we, l as z, o as xt, m as B, i as q, j as m, P as Ro, n as me, S as R, t as _, p as k, r as N, s as A, v as bs, w as ir, C as $e, D as U, H as Hn, I as Vn, L as dt, M as D, O as xs, R as cn, T as Be, Z 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 Ur, 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-C8JfSqHC.js";
2
2
  var Os = (e) => e != null, qs = (e) => e.filter(Os);
3
3
  function _s(e) {
4
4
  return (...t) => {
@@ -144656,7 +144656,7 @@ async function Yw0(t, e, r, n) {
144656
144656
  const Gw0 = (t, e) => {
144657
144657
  const r = `${To}/DiagnosticReport?patient=${t}`;
144658
144658
  return e ? `${r}&based-on=${e}` : r;
144659
- }, Jw0 = (t) => `${To}/DiagnosticReportBundle/${t}`;
144659
+ }, Jw0 = (t) => `${To}/DiagnosticReport/${t}/$fetch-bundle`;
144660
144660
  async function Xw0(t, e = []) {
144661
144661
  const r = e.length > 0 ? e.join(",") : void 0, n = Gw0(t, r);
144662
144662
  return await E0(n);
@@ -154894,7 +154894,7 @@ const $C1 = (t, e) => ["programs", t, e], PV0 = async (t, e) => {
154894
154894
  };
154895
154895
  SC1.displayName = "UserPrivilegeProvider";
154896
154896
  W2(void 0);
154897
- nr(() => Promise.resolve().then(() => oE0)), nr(() => Promise.resolve().then(() => Ky0)), nr(() => Promise.resolve().then(() => bM0)), nr(() => Promise.resolve().then(() => TM0)), nr(() => Promise.resolve().then(() => xV0)), nr(() => import("./FormsTable-DxgSsdU6-B-vgDDRX.js")), nr(() => Promise.resolve().then(() => Qz0)), nr(() => import("./Observations-BuPGzlxD-CIrb-LuL.js")), nr(
154897
+ nr(() => Promise.resolve().then(() => oE0)), nr(() => Promise.resolve().then(() => Ky0)), nr(() => Promise.resolve().then(() => bM0)), nr(() => Promise.resolve().then(() => TM0)), nr(() => Promise.resolve().then(() => xV0)), nr(() => import("./FormsTable-tMH2a88--B1jRoSEA.js")), nr(() => Promise.resolve().then(() => Qz0)), nr(() => import("./Observations-CJvLqCvX-DTuUwKyq.js")), nr(
154898
154898
  () => Promise.resolve().then(() => DV0)
154899
154899
  ), nr(
154900
154900
  () => Promise.resolve().then(() => Ez0)
@@ -156733,7 +156733,7 @@ var NO0 = (t, e = !1) => {
156733
156733
  const e = QC1(() => {
156734
156734
  const r = this, [n] = this.#n, [a] = this.#o, [c] = this.#a, [i] = this.#c, [l] = this.#p, [s] = this.#t;
156735
156735
  let d;
156736
- return this.#i ? d = this.#i : (d = JC1(() => import("./LNWAZHJI-BlBEnLpR.js")), this.#i = d), vL1(this.#h, this.#r), YC1(d, GC1({
156736
+ return this.#i ? d = this.#i : (d = JC1(() => import("./LNWAZHJI-C8KJ389U.js")), this.#i = d), vL1(this.#h, this.#r), YC1(d, GC1({
156737
156737
  get queryFlavor() {
156738
156738
  return r.#d;
156739
156739
  },
@@ -156831,7 +156831,7 @@ var NO0 = (t, e = !1) => {
156831
156831
  const e = QC1(() => {
156832
156832
  const r = this, [n] = this.#n, [a] = this.#o, [c] = this.#a, [i] = this.#c, [l] = this.#p, [s] = this.#t, [d] = this.#i;
156833
156833
  let u;
156834
- return this.#l ? u = this.#l : (u = JC1(() => import("./MWZ6AO7Z-BDz1XSvx.js")), this.#l = u), vL1(this.#h, this.#r), YC1(u, GC1({
156834
+ return this.#l ? u = this.#l : (u = JC1(() => import("./MWZ6AO7Z-L_boVlDv.js")), this.#l = u), vL1(this.#h, this.#r), YC1(u, GC1({
156835
156835
  get queryFlavor() {
156836
156836
  return r.#d;
156837
156837
  },
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { ap as s, an as p, ao as E } from "./index-BvKXaq0R.js";
1
+ import { ap as s, an as p, ao as E } from "./index-C8JfSqHC.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.142",
3
+ "version": "0.0.1-dev.143",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",
@@ -16,9 +16,9 @@
16
16
  "./locales/*": "./dist/locales/*"
17
17
  },
18
18
  "peerDependencies": {
19
+ "@tanstack/react-query": "^5.85.5",
19
20
  "react": ">=18.0.0",
20
- "react-dom": ">=18.0.0",
21
- "@tanstack/react-query": "^5.85.5"
21
+ "react-dom": ">=18.0.0"
22
22
  },
23
23
  "author": "Thoughtworks Inc.",
24
24
  "license": "MPLv2",