@bahmni/widgets 0.0.1-dev.188 → 0.0.1-dev.190
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/{DocumentsTable-DCRhOR7h.js → DocumentsTable-DvVXzGC-.js} +1 -1
- package/dist/{FormsTable-BwcfrE7A.js → FormsTable-DQOHUr73.js} +1 -1
- package/dist/{Observations-Dp94a95V.js → Observations-CLvr4ZXL.js} +1 -1
- package/dist/{index-CjV0jHQ6.js → index-p-FSqamS.js} +9 -5
- package/dist/index.js +1 -1
- package/dist/userPrivileges/useHasPrivilege.d.ts +1 -1
- package/dist/userPrivileges/useHasPrivilege.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as A, jsx as v, Fragment as $5 } from "react/jsx-runtime";
|
|
2
|
-
import { P as h, u as S5, a as W5, Q as P5, M as k5, t as F5, b as U5, i as j5 } from "./index-
|
|
2
|
+
import { P as h, u as S5, a as W5, Q as P5, M as k5, t as F5, b as U5, i as j5 } from "./index-p-FSqamS.js";
|
|
3
3
|
import { useQuery as q5 } from "@tanstack/react-query";
|
|
4
4
|
import e, { useState as N, useCallback as _, useEffect as Q5, useMemo as x } from "react";
|
|
5
5
|
import { useTranslation as K5 } from "react-i18next";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as b, jsx as n, Fragment as H } from "react/jsx-runtime";
|
|
2
|
-
import { c as M, Z as re, X as te, e as ae, d as oe, f as se, J as ne, u as de, N as ie, q as le, g as ce, x as me, h as ue, j as pe, M as be, R as fe, t as P, B as _e, k as he, b as $e, _ as ye, T as U, i as ge } from "./index-
|
|
2
|
+
import { c as M, Z as re, X as te, e as ae, d as oe, f as se, J as ne, u as de, N as ie, q as le, g as ce, x as me, h as ue, j as pe, M as be, R as fe, t as P, B as _e, k as he, b as $e, _ as ye, T as U, i as ge } from "./index-p-FSqamS.js";
|
|
3
3
|
import { useQueryClient as ve, useQuery as F } from "@tanstack/react-query";
|
|
4
4
|
import { useState as k, useMemo as g, useCallback as L } from "react";
|
|
5
5
|
import { useTranslation as Ne } from "react-i18next";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as l, jsxs as S } from "react/jsx-runtime";
|
|
2
|
-
import { l as M, m as C, n as Q, Z as V, G as k, X as q, e as G, d as K, u as j, a as P, o as H, p as X, j as Z, f as z, r as J, s as Y, v as W, t as x } from "./index-
|
|
2
|
+
import { l as M, m as C, n as Q, Z as V, G as k, X as q, e as G, d as K, u as j, a as P, o as H, p as X, j as Z, f as z, r as J, s as Y, v as W, t as x } from "./index-p-FSqamS.js";
|
|
3
3
|
import { useQueries as ee, useQuery as te } from "@tanstack/react-query";
|
|
4
4
|
import { useRef as se, useEffect as $, useMemo as E } from "react";
|
|
5
5
|
import { useTranslation as D } from "react-i18next";
|
|
@@ -74564,9 +74564,11 @@ async function ytt(t) {
|
|
|
74564
74564
|
);
|
|
74565
74565
|
return !e.results || e.results.length === 0 ? null : e.results[0];
|
|
74566
74566
|
}
|
|
74567
|
-
const Vtt = (t) => `${n1}/Observation?encounter=${t}`;
|
|
74567
|
+
const Vtt = (t) => `${n1}/Observation/$fetch-all?encounter=${t}`;
|
|
74568
74568
|
async function pat(t) {
|
|
74569
|
-
return await St(
|
|
74569
|
+
return await St(
|
|
74570
|
+
Vtt(t)
|
|
74571
|
+
);
|
|
74570
74572
|
}
|
|
74571
74573
|
const ys = (t, e) => t?.length === 0 ? !1 : e?.length === 0, Htt = async () => {
|
|
74572
74574
|
try {
|
|
@@ -74578,6 +74580,8 @@ const ys = (t, e) => t?.length === 0 ? !1 : e?.length === 0, Htt = async () => {
|
|
|
74578
74580
|
}, The = (t, e) => {
|
|
74579
74581
|
if (!t || t.length === 0)
|
|
74580
74582
|
return !1;
|
|
74583
|
+
if (!e || e.length === 0)
|
|
74584
|
+
return !0;
|
|
74581
74585
|
const r = Array.isArray(e) ? e : [e];
|
|
74582
74586
|
return t.some(
|
|
74583
74587
|
(n) => r.includes(n.name)
|
|
@@ -81297,7 +81301,7 @@ const Lot = [
|
|
|
81297
81301
|
},
|
|
81298
81302
|
{
|
|
81299
81303
|
type: "patientDocuments",
|
|
81300
|
-
component: Pr(() => import("./DocumentsTable-
|
|
81304
|
+
component: Pr(() => import("./DocumentsTable-DvVXzGC-.js"))
|
|
81301
81305
|
},
|
|
81302
81306
|
{
|
|
81303
81307
|
type: "flowSheet",
|
|
@@ -81305,7 +81309,7 @@ const Lot = [
|
|
|
81305
81309
|
},
|
|
81306
81310
|
{
|
|
81307
81311
|
type: "forms",
|
|
81308
|
-
component: Pr(() => import("./FormsTable-
|
|
81312
|
+
component: Pr(() => import("./FormsTable-DQOHUr73.js"))
|
|
81309
81313
|
},
|
|
81310
81314
|
{
|
|
81311
81315
|
type: "labOrders",
|
|
@@ -81313,7 +81317,7 @@ const Lot = [
|
|
|
81313
81317
|
},
|
|
81314
81318
|
{
|
|
81315
81319
|
type: "observations",
|
|
81316
|
-
component: Pr(() => import("./Observations-
|
|
81320
|
+
component: Pr(() => import("./Observations-CLvr4ZXL.js"))
|
|
81317
81321
|
},
|
|
81318
81322
|
{
|
|
81319
81323
|
type: "ordersControl",
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a3 as s, a1 as t, A as o, y as r, a0 as n, C as g, D as l, H as P, L as c, z as d, O as v, U as T, w as b, I as A, K as C, F as f, E as I, S as W, $ as p, V as u, a5 as S, a4 as m, ab as D, aa as R, a7 as U, a8 as y, a9 as N, a6 as L, ac as h, a2 as E, Y as H, a as O, u as V, W as w } from "./index-
|
|
1
|
+
import { a3 as s, a1 as t, A as o, y as r, a0 as n, C as g, D as l, H as P, L as c, z as d, O as v, U as T, w as b, I as A, K as C, F as f, E as I, S as W, $ as p, V as u, a5 as S, a4 as m, ab as D, aa as R, a7 as U, a8 as y, a9 as N, a6 as L, ac as h, a2 as E, Y as H, a as O, u as V, W as w } from "./index-p-FSqamS.js";
|
|
2
2
|
import "react";
|
|
3
3
|
export {
|
|
4
4
|
s as ActivePractitionerContext,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const useHasPrivilege: (privilege: string | string[]) => boolean;
|
|
1
|
+
export declare const useHasPrivilege: (privilege: string | string[] | undefined) => boolean;
|
|
2
2
|
//# sourceMappingURL=useHasPrivilege.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useHasPrivilege.d.ts","sourceRoot":"","sources":["../../src/userPrivileges/useHasPrivilege.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,eAAe,
|
|
1
|
+
{"version":3,"file":"useHasPrivilege.d.ts","sourceRoot":"","sources":["../../src/userPrivileges/useHasPrivilege.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,eAAe,GAC1B,WAAW,MAAM,GAAG,MAAM,EAAE,GAAG,SAAS,KACvC,OAGF,CAAC"}
|