@bahmni/widgets 0.0.1-dev.160 → 0.0.1-dev.162
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 { jsxs as b, jsx as d, Fragment as k } from "react/jsx-runtime";
|
|
2
|
-
import { c as C, C as te, N as re, $ as ae, e as oe, a as se, u as ne, i as de, m as ie, p as le, h as ce, o as me, O as ue, y as pe, b as be, t as x, H as fe, d as _e, f as $e, g as ye, j as H, l as ge } from "./index-
|
|
2
|
+
import { c as C, C as te, N as re, $ as ae, e as oe, a as se, u as ne, i as de, m as ie, p as le, h as ce, o as me, O as ue, y as pe, b as be, t as x, H as fe, d as _e, f as $e, g as ye, j as H, l as ge } from "./index-DmXkCYhd.js";
|
|
3
3
|
import { useQueryClient as he, useQuery as F } from "@tanstack/react-query";
|
|
4
4
|
import { useState as P, useMemo as h, useCallback as L } from "react";
|
|
5
5
|
import { useTranslation as ve } from "react-i18next";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as d, jsxs as C } from "react/jsx-runtime";
|
|
2
|
-
import { k, _ as S, n as q, C as M, q as V, N as K, $ as Q, u as G, r as H, s as P, v as j, O as z, e as Y, w as J, x as W, B as X, t as Z } from "./index-
|
|
2
|
+
import { k, _ as S, n as q, C as M, q as V, N as K, $ as Q, u as G, r as H, s as P, v as j, O as z, e as Y, w as J, x as W, B as X, t as Z } from "./index-DmXkCYhd.js";
|
|
3
3
|
import { useQueries as x, useQuery as ee } from "@tanstack/react-query";
|
|
4
4
|
import { useRef as te, useEffect as I, useMemo as h } from "react";
|
|
5
5
|
import { useTranslation as D } from "react-i18next";
|
|
@@ -59282,7 +59282,7 @@ const yke = "_bahmniIcon_1cg5e_1", Vke = "_paddingNone_1cg5e_1", bke = "_padding
|
|
|
59282
59282
|
}) }) }),
|
|
59283
59283
|
/* @__PURE__ */ ne(uu, { children: g.map((w) => {
|
|
59284
59284
|
const b = f.get(w.id);
|
|
59285
|
-
return /* @__PURE__ */ V3(
|
|
59285
|
+
return b ? /* @__PURE__ */ V3(
|
|
59286
59286
|
Ja,
|
|
59287
59287
|
{
|
|
59288
59288
|
...H({ row: w }),
|
|
@@ -59297,7 +59297,7 @@ const yke = "_bahmniIcon_1cg5e_1", Vke = "_paddingNone_1cg5e_1", bke = "_padding
|
|
|
59297
59297
|
},
|
|
59298
59298
|
m.id
|
|
59299
59299
|
))
|
|
59300
|
-
);
|
|
59300
|
+
) : null;
|
|
59301
59301
|
}) })
|
|
59302
59302
|
] }) })
|
|
59303
59303
|
}
|
|
@@ -67491,7 +67491,10 @@ function HWe(t, e, r) {
|
|
|
67491
67491
|
return n?.form ? n.form.text ?? n.form.coding?.[0]?.display ?? "" : "";
|
|
67492
67492
|
}
|
|
67493
67493
|
function MWe(t) {
|
|
67494
|
-
const e = t.entry?.filter((n) =>
|
|
67494
|
+
const e = t.entry?.filter((n) => {
|
|
67495
|
+
const a = n.resource;
|
|
67496
|
+
return a?.resourceType === "MedicationRequest" && !!a?.id;
|
|
67497
|
+
}).map((n) => n.resource) ?? [], r = /* @__PURE__ */ new Map();
|
|
67495
67498
|
return t.entry?.forEach((n) => {
|
|
67496
67499
|
const a = n.resource;
|
|
67497
67500
|
a.resourceType === "Medication" && r.set(a.id, a);
|
|
@@ -78642,7 +78645,7 @@ const irt = () => {
|
|
|
78642
78645
|
},
|
|
78643
78646
|
{
|
|
78644
78647
|
type: "forms",
|
|
78645
|
-
component: nn(() => import("./FormsTable-
|
|
78648
|
+
component: nn(() => import("./FormsTable-BrMo9kKI.js"))
|
|
78646
78649
|
},
|
|
78647
78650
|
{
|
|
78648
78651
|
type: "labOrders",
|
|
@@ -78650,7 +78653,7 @@ const irt = () => {
|
|
|
78650
78653
|
},
|
|
78651
78654
|
{
|
|
78652
78655
|
type: "observations",
|
|
78653
|
-
component: nn(() => import("./Observations-
|
|
78656
|
+
component: nn(() => import("./Observations-CMgpWfKH.js"))
|
|
78654
78657
|
},
|
|
78655
78658
|
{
|
|
78656
78659
|
type: "ordersControl",
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Y as t, W as s, A as o, z as r, D as n, E as g, G as l, L as P, M as c, K as d, Q as v, P as T, I as b, J as A, F as W, R as p, S as f, U as m, V as u, a4 as R, a3 as C, a0 as D, a1 as I, a2 as S, Z as U, a5 as y, X as h, r as N, u as x, T as F } from "./index-
|
|
1
|
+
import { Y as t, W as s, A as o, z as r, D as n, E as g, G as l, L as P, M as c, K as d, Q as v, P as T, I as b, J as A, F as W, R as p, S as f, U as m, V as u, a4 as R, a3 as C, a0 as D, a1 as I, a2 as S, Z as U, a5 as y, X as h, r as N, u as x, T as F } from "./index-DmXkCYhd.js";
|
|
2
2
|
import "react";
|
|
3
3
|
export {
|
|
4
4
|
t as ActivePractitionerContext,
|