@bahmni/clinical-app 0.0.1-dev.346 → 0.0.1-dev.348
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-CPulLQv4.js → ConsultationPage-Cj4sR0YF.js} +3831 -3819
- package/dist/{DocumentsTable-D-yL-evA-C2Kj9eJx.js → DocumentsTable-c08bldqE-Dtv4Xp6q.js} +62 -62
- package/dist/{FormsTable-BbwKhyCn-DV9ZFfpm.js → FormsTable-Bt99F81Y-BqUmg3sD.js} +87 -87
- package/dist/{LNWAZHJI-IjlvK0hM.js → LNWAZHJI-Ddjk4Uzd.js} +2 -2
- package/dist/{MWZ6AO7Z-CLzjurwj.js → MWZ6AO7Z-BOUIUQ1f.js} +2 -2
- package/dist/{Observations-CiATLznu-DIX0Urkx.js → Observations-Ce1nztbS-BxKzfVMI.js} +46 -46
- package/dist/{YPM2AS64-CX6FHGOW.js → YPM2AS64-DFBlovbU.js} +1 -1
- package/dist/components/consultationPad/index.d.ts.map +1 -1
- package/dist/hook-B4nWn5gZ.js +12 -0
- package/dist/{index-BheoR2zJ.js → index-D8VlPiOt.js} +55926 -59599
- package/dist/{index-CqCupWIr.js → index-DbY_HTl6.js} +16 -15
- package/dist/{index-Cb41sysr.js → index-P9Hox9Kh.js} +4 -3
- package/dist/index.css +1 -1
- package/dist/index.js +1 -1
- package/dist/locales/locale_en.json +3 -0
- package/dist/locales/locale_es.json +3 -0
- package/package.json +1 -1
- package/dist/hook--55FHW70.js +0 -10
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { bz as m, u, aK as p, bw as f, bG as b, aC as _, bC as x } from "./index-D8VlPiOt.js";
|
|
3
3
|
import { lazy as N, useMemo as r, Suspense as h } from "react";
|
|
4
|
-
import
|
|
5
|
-
|
|
4
|
+
import "@tanstack/react-query";
|
|
5
|
+
import { u as E } from "./hook-B4nWn5gZ.js";
|
|
6
|
+
const C = (s) => {
|
|
6
7
|
const i = /* @__PURE__ */ new Map();
|
|
7
8
|
for (const e of s) {
|
|
8
9
|
const o = i.get(e.extensionPointId) ?? [];
|
|
@@ -11,29 +12,29 @@ const v = (s) => {
|
|
|
11
12
|
return i;
|
|
12
13
|
}, P = (s, i) => s.filter(
|
|
13
14
|
(e) => !e.requiredPrivileges || e.requiredPrivileges.length === 0 || m(i, e.requiredPrivileges)
|
|
14
|
-
),
|
|
15
|
+
), v = {
|
|
15
16
|
"org.bahmni.clinical.v2.search": N(
|
|
16
|
-
() => import("./index-
|
|
17
|
+
() => import("./index-P9Hox9Kh.js")
|
|
17
18
|
)
|
|
18
|
-
}, L = "index-module_page__16xxw",
|
|
19
|
+
}, L = "index-module_page__16xxw", I = "index-module_loading__wNI-4", y = "index-module_tabs__ZZv8Y", w = "index-module_message__Ib5Iw", l = {
|
|
19
20
|
page: L,
|
|
20
|
-
loading:
|
|
21
|
-
tabs:
|
|
22
|
-
message:
|
|
23
|
-
},
|
|
24
|
-
const { t: s } = u(), { clinicalConfig: i } = E(), { userPrivileges: e } =
|
|
21
|
+
loading: I,
|
|
22
|
+
tabs: y,
|
|
23
|
+
message: w
|
|
24
|
+
}, M = () => {
|
|
25
|
+
const { t: s } = u(), { clinicalConfig: i } = E(), { userPrivileges: e } = p(), o = r(
|
|
25
26
|
() => [
|
|
26
|
-
{ id: "home", label: s("HOME_LABEL"), href:
|
|
27
|
+
{ id: "home", label: s("HOME_LABEL"), href: f },
|
|
27
28
|
{ id: "clinical", label: s("CLINICAL_LABEL"), isCurrentPage: !0 }
|
|
28
29
|
],
|
|
29
30
|
[s]
|
|
30
31
|
), c = r(
|
|
31
|
-
() =>
|
|
32
|
+
() => C(i?.extensions ?? []),
|
|
32
33
|
[i]
|
|
33
34
|
), d = r(
|
|
34
35
|
() => Array.from(c.entries()).map(([n, t]) => ({
|
|
35
36
|
pointId: n,
|
|
36
|
-
Handler:
|
|
37
|
+
Handler: v[n],
|
|
37
38
|
filtered: P(t, e)
|
|
38
39
|
})).filter(({ Handler: n, filtered: t }) => !!n && t.length > 0),
|
|
39
40
|
[c, e]
|
|
@@ -86,5 +87,5 @@ const v = (s) => {
|
|
|
86
87
|
);
|
|
87
88
|
};
|
|
88
89
|
export {
|
|
89
|
-
|
|
90
|
+
M as default
|
|
90
91
|
};
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { jsxs as d, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { u as r,
|
|
2
|
+
import { u as r, cv as o, cw as l, cx as c, b2 as m, b3 as g, cy as h, cz as b, cA as p, aC as u } from "./index-D8VlPiOt.js";
|
|
3
3
|
import { Suspense as E } from "react";
|
|
4
|
+
import "@tanstack/react-query";
|
|
4
5
|
const _ = "index-module_loading__FAL7n", $ = "index-module_message__KjCnF", t = {
|
|
5
6
|
loading: _,
|
|
6
7
|
message: $
|
|
7
|
-
},
|
|
8
|
+
}, N = ({ extensions: i }) => {
|
|
8
9
|
const { t: s } = r();
|
|
9
10
|
return i.length === 0 ? null : /* @__PURE__ */ d(o, { children: [
|
|
10
11
|
/* @__PURE__ */ e(
|
|
@@ -74,5 +75,5 @@ const _ = "index-module_loading__FAL7n", $ = "index-module_message__KjCnF", t =
|
|
|
74
75
|
] });
|
|
75
76
|
};
|
|
76
77
|
export {
|
|
77
|
-
|
|
78
|
+
N as default
|
|
78
79
|
};
|