@bahmni/widgets 0.0.1-dev.189 → 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-CafHkVha.js → DocumentsTable-DvVXzGC-.js} +1 -1
- package/dist/{FormsTable-BMmldQfg.js → FormsTable-DQOHUr73.js} +1 -1
- package/dist/{Observations-CHkBu95w.js → Observations-CLvr4ZXL.js} +1 -1
- package/dist/{index-zYYwI7OI.js → index-p-FSqamS.js} +5 -3
- 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";
|
|
@@ -74580,6 +74580,8 @@ const ys = (t, e) => t?.length === 0 ? !1 : e?.length === 0, Htt = async () => {
|
|
|
74580
74580
|
}, The = (t, e) => {
|
|
74581
74581
|
if (!t || t.length === 0)
|
|
74582
74582
|
return !1;
|
|
74583
|
+
if (!e || e.length === 0)
|
|
74584
|
+
return !0;
|
|
74583
74585
|
const r = Array.isArray(e) ? e : [e];
|
|
74584
74586
|
return t.some(
|
|
74585
74587
|
(n) => r.includes(n.name)
|
|
@@ -81299,7 +81301,7 @@ const Lot = [
|
|
|
81299
81301
|
},
|
|
81300
81302
|
{
|
|
81301
81303
|
type: "patientDocuments",
|
|
81302
|
-
component: Pr(() => import("./DocumentsTable-
|
|
81304
|
+
component: Pr(() => import("./DocumentsTable-DvVXzGC-.js"))
|
|
81303
81305
|
},
|
|
81304
81306
|
{
|
|
81305
81307
|
type: "flowSheet",
|
|
@@ -81307,7 +81309,7 @@ const Lot = [
|
|
|
81307
81309
|
},
|
|
81308
81310
|
{
|
|
81309
81311
|
type: "forms",
|
|
81310
|
-
component: Pr(() => import("./FormsTable-
|
|
81312
|
+
component: Pr(() => import("./FormsTable-DQOHUr73.js"))
|
|
81311
81313
|
},
|
|
81312
81314
|
{
|
|
81313
81315
|
type: "labOrders",
|
|
@@ -81315,7 +81317,7 @@ const Lot = [
|
|
|
81315
81317
|
},
|
|
81316
81318
|
{
|
|
81317
81319
|
type: "observations",
|
|
81318
|
-
component: Pr(() => import("./Observations-
|
|
81320
|
+
component: Pr(() => import("./Observations-CLvr4ZXL.js"))
|
|
81319
81321
|
},
|
|
81320
81322
|
{
|
|
81321
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"}
|