@bahmni/widgets 0.0.1-dev.256 → 0.0.1-dev.259

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 s, jsxs as _, Fragment as Q } from "react/jsx-runtime";
2
- import { u as W, a as X, S as J, f as Z, B as x, m as ee, y as te } from "./index-Dis2HQ87.js";
2
+ import { u as W, a as X, S as J, f as Z, B as x, m as ee, y as te } from "./index-BXQ-G7DC.js";
3
3
  import { useQuery as ne } from "@tanstack/react-query";
4
4
  import { useState as l, useCallback as f, useEffect as N, useMemo as p } from "react";
5
5
  import { useTranslation as ae } from "react-i18next";
@@ -1,5 +1,5 @@
1
1
  import { jsx as n, jsxs as X, Fragment as Z } from "react/jsx-runtime";
2
- import { d as ee, u as re, W as te, i as oe, o as ae, b as se, K as ne, v as de, O as C, B as ie, f as me, m as U, e as ce, t as le, y as ue, c as fe } from "./index-Dis2HQ87.js";
2
+ import { d as ee, u as re, W as te, i as oe, o as ae, b as se, K as ne, v as de, O as C, B as ie, f as me, m as U, e as ce, t as le, y as ue, c as fe } from "./index-BXQ-G7DC.js";
3
3
  import { useQueryClient as ye, useQuery as f } from "@tanstack/react-query";
4
4
  import { useState as x, useMemo as d, useCallback as y } from "react";
5
5
  import { useTranslation as pe } from "react-i18next";
@@ -1,5 +1,5 @@
1
1
  import { jsx as l, jsxs as S } from "react/jsx-runtime";
2
- import { g as M, C as D, h as V, Y as K, j as Q, x as w, k as z, z as G, u as P, a as j, l as H, n as Y, v as x, p as J, q as W, s as X, $ as Z, m as ee } from "./index-Dis2HQ87.js";
2
+ import { g as M, C as D, h as V, Y as K, j as Q, x as w, k as z, z as G, u as P, a as j, l as H, n as Y, v as x, p as J, q as W, s as X, $ as Z, m as ee } from "./index-BXQ-G7DC.js";
3
3
  import { useQueries as te, useQuery as se } from "@tanstack/react-query";
4
4
  import { useRef as oe, useEffect as C, useMemo as g } from "react";
5
5
  import { useTranslation as U } from "react-i18next";
@@ -83639,7 +83639,7 @@ const C4t = (t) => !t || t.length === 0 ? [] : [...t].sort((e, r) => {
83639
83639
  });
83640
83640
  }, [H, E, i]), X1(
83641
83641
  (S) => {
83642
- S.patientUUID === a && S.updatedResources.medications && V();
83642
+ S.patientUUID === a && (S.updatedResources.medications || S.updatedResources.immunizationHistory) && V();
83643
83643
  },
83644
83644
  [a, V]
83645
83645
  );
@@ -87296,7 +87296,7 @@ const Bht = [
87296
87296
  },
87297
87297
  {
87298
87298
  type: "patientDocuments",
87299
- component: Br(() => import("./DocumentsTable-Ccz-PfO3.js"))
87299
+ component: Br(() => import("./DocumentsTable-f3vDcKC9.js"))
87300
87300
  },
87301
87301
  {
87302
87302
  type: "flowSheet",
@@ -87304,7 +87304,7 @@ const Bht = [
87304
87304
  },
87305
87305
  {
87306
87306
  type: "forms",
87307
- component: Br(() => import("./FormsTable-_7HeX2Z4.js"))
87307
+ component: Br(() => import("./FormsTable-B1VtE96y.js"))
87308
87308
  },
87309
87309
  {
87310
87310
  type: "labOrders",
@@ -87312,7 +87312,7 @@ const Bht = [
87312
87312
  },
87313
87313
  {
87314
87314
  type: "observations",
87315
- component: Br(() => import("./Observations-B0lIYNHb.js"))
87315
+ component: Br(() => import("./Observations-CzvANUPq.js"))
87316
87316
  },
87317
87317
  {
87318
87318
  type: "ordersControl",
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { a2 as s, a0 as t, A as o, _ as r, r as n, Z as g, w as l, D as P, G as c, I as d, L as v, M as T, N as b, Q as A, c as p, P as C, H as I, J as f, E as m, R as u, F as R, X as W, V as D, a4 as N, a3 as S, aa as U, a9 as y, a6 as H, a7 as L, a8 as h, a5 as x, ab as E, a1 as G, U as O, a as V, u as _, T as w } from "./index-Dis2HQ87.js";
1
+ import { a2 as s, a0 as t, A as o, _ as r, r as n, Z as g, w as l, D as P, G as c, I as d, L as v, M as T, N as b, Q as A, c as p, P as C, H as I, J as f, E as m, R as u, F as R, X as W, V as D, a4 as N, a3 as S, aa as U, a9 as y, a6 as H, a7 as L, a8 as h, a5 as x, ab as E, a1 as G, U as O, a as V, u as _, T as w } from "./index-BXQ-G7DC.js";
2
2
  import "react";
3
3
  export {
4
4
  s as ActivePractitionerContext,
@@ -1 +1 @@
1
- {"version":3,"file":"MedicationsTable.d.ts","sourceRoot":"","sources":["../../src/medications/MedicationsTable.tsx"],"names":[],"mappings":"AA0BA,OAAO,KAAoD,MAAM,OAAO,CAAC;AAGzE,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AA8DhD,QAAA,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAqT3C,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"MedicationsTable.d.ts","sourceRoot":"","sources":["../../src/medications/MedicationsTable.tsx"],"names":[],"mappings":"AA0BA,OAAO,KAAoD,MAAM,OAAO,CAAC;AAGzE,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AA8DhD,QAAA,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAkT3C,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bahmni/widgets",
3
- "version": "0.0.1-dev.256",
3
+ "version": "0.0.1-dev.259",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",