@bahmni/clinical-app 0.0.1-dev.345 → 0.0.1-dev.346
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/{ConsultationPage-C16UUcY9.js → ConsultationPage-CPulLQv4.js} +5431 -5431
- package/dist/{DocumentsTable-eF8z2BlA-DKH6plCQ.js → DocumentsTable-D-yL-evA-C2Kj9eJx.js} +59 -59
- package/dist/{FormsTable-CPVRSlLS-DXEZ0G7y.js → FormsTable-BbwKhyCn-DV9ZFfpm.js} +87 -87
- package/dist/{LNWAZHJI-DiqxMPAO.js → LNWAZHJI-IjlvK0hM.js} +2 -2
- package/dist/{MWZ6AO7Z-CA4CjR11.js → MWZ6AO7Z-CLzjurwj.js} +2 -2
- package/dist/{Observations-DisYmEmq-CBcTeSrp.js → Observations-CiATLznu-DIX0Urkx.js} +39 -39
- package/dist/{YPM2AS64-CorlLENH.js → YPM2AS64-CX6FHGOW.js} +1 -1
- package/dist/{hook-BOWWuzkL.js → hook--55FHW70.js} +1 -1
- package/dist/{index-BtKseXPE.js → index-BheoR2zJ.js} +54013 -53623
- package/dist/{index-BzYQyOmz.js → index-Cb41sysr.js} +6 -6
- package/dist/{index-BSFJfPyX.js → index-CqCupWIr.js} +12 -12
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsxs as d, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { u as r, cu as o, cv as l, cw as c, b4 as m, b5 as g, cx as h, cy as b, cz as p, aF as u } from "./index-
|
|
3
|
-
import { Suspense as
|
|
4
|
-
const
|
|
5
|
-
loading:
|
|
6
|
-
message:
|
|
2
|
+
import { u as r, cu as o, cv as l, cw as c, b4 as m, b5 as g, cx as h, cy as b, cz as p, aF as u } from "./index-BheoR2zJ.js";
|
|
3
|
+
import { Suspense as E } from "react";
|
|
4
|
+
const _ = "index-module_loading__FAL7n", $ = "index-module_message__KjCnF", t = {
|
|
5
|
+
loading: _,
|
|
6
|
+
message: $
|
|
7
7
|
}, I = ({ extensions: i }) => {
|
|
8
8
|
const { t: s } = r();
|
|
9
9
|
return i.length === 0 ? null : /* @__PURE__ */ d(o, { children: [
|
|
@@ -46,7 +46,7 @@ const $ = "index-module_loading__FAL7n", E = "index-module_message__KjCnF", t =
|
|
|
46
46
|
"data-testid": `${a.id}-panel-test-id`,
|
|
47
47
|
"aria-label": `Panel ${a.id}`,
|
|
48
48
|
children: n ? /* @__PURE__ */ e(
|
|
49
|
-
|
|
49
|
+
E,
|
|
50
50
|
{
|
|
51
51
|
fallback: /* @__PURE__ */ e(
|
|
52
52
|
u,
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import { by as m, u, aM as f, bv as p, bF as b, aF as _, bB as x } from "./index-
|
|
2
|
+
import { by as m, u, aM as f, bv as p, bF as b, aF as _, bB as x } from "./index-BheoR2zJ.js";
|
|
3
3
|
import { lazy as N, useMemo as r, Suspense as h } from "react";
|
|
4
|
-
import { u as E } from "./hook
|
|
5
|
-
const
|
|
4
|
+
import { u as E } from "./hook--55FHW70.js";
|
|
5
|
+
const v = (s) => {
|
|
6
6
|
const i = /* @__PURE__ */ new Map();
|
|
7
7
|
for (const e of s) {
|
|
8
8
|
const o = i.get(e.extensionPointId) ?? [];
|
|
9
9
|
o.push(e), i.set(e.extensionPointId, o);
|
|
10
10
|
}
|
|
11
11
|
return i;
|
|
12
|
-
},
|
|
12
|
+
}, P = (s, i) => s.filter(
|
|
13
13
|
(e) => !e.requiredPrivileges || e.requiredPrivileges.length === 0 || m(i, e.requiredPrivileges)
|
|
14
14
|
), C = {
|
|
15
15
|
"org.bahmni.clinical.v2.search": N(
|
|
16
|
-
() => import("./index-
|
|
16
|
+
() => import("./index-Cb41sysr.js")
|
|
17
17
|
)
|
|
18
|
-
},
|
|
19
|
-
page:
|
|
20
|
-
loading:
|
|
21
|
-
tabs:
|
|
22
|
-
message:
|
|
18
|
+
}, L = "index-module_page__16xxw", y = "index-module_loading__wNI-4", I = "index-module_tabs__ZZv8Y", B = "index-module_message__Ib5Iw", l = {
|
|
19
|
+
page: L,
|
|
20
|
+
loading: y,
|
|
21
|
+
tabs: I,
|
|
22
|
+
message: B
|
|
23
23
|
}, S = () => {
|
|
24
24
|
const { t: s } = u(), { clinicalConfig: i } = E(), { userPrivileges: e } = f(), o = r(
|
|
25
25
|
() => [
|
|
@@ -28,13 +28,13 @@ const P = (s) => {
|
|
|
28
28
|
],
|
|
29
29
|
[s]
|
|
30
30
|
), c = r(
|
|
31
|
-
() =>
|
|
31
|
+
() => v(i?.extensions ?? []),
|
|
32
32
|
[i]
|
|
33
33
|
), d = r(
|
|
34
34
|
() => Array.from(c.entries()).map(([n, t]) => ({
|
|
35
35
|
pointId: n,
|
|
36
36
|
Handler: C[n],
|
|
37
|
-
filtered:
|
|
37
|
+
filtered: P(t, e)
|
|
38
38
|
})).filter(({ Handler: n, filtered: t }) => !!n && t.length > 0),
|
|
39
39
|
[c, e]
|
|
40
40
|
);
|
package/dist/index.js
CHANGED