@bahmni/clinical-app 0.0.1-dev.362 → 0.0.1-dev.363
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-ClYIA8xI.js → ConsultationPage-DsRw8YYn.js} +24 -24
- package/dist/{DocumentsTable-DWtzocck-OdpJoLJE.js → DocumentsTable-ClhCu3Gn-Tup4hVRb.js} +33 -33
- package/dist/{FormsTable-cMrb-0Md-BgMVzqsz.js → FormsTable-B1Jf7c-q-Crxaz3NO.js} +60 -60
- package/dist/{LNWAZHJI-D3PtFqRe.js → LNWAZHJI-Ib9pzjmH.js} +2 -2
- package/dist/{MWZ6AO7Z-Ba30l2zT.js → MWZ6AO7Z-CDcmt8y2.js} +2 -2
- package/dist/{Observations-DNOcuCWE-DvhS75tW.js → Observations-BU2hE5R4-dUv2oABZ.js} +43 -43
- package/dist/{YPM2AS64-BlxW_DTC.js → YPM2AS64-C16VLrcR.js} +1 -1
- package/dist/{hook-BoQL42hZ.js → hook-Co0J9NE_.js} +1 -1
- package/dist/{index-8hfTiSbB.js → index-2_vXyzzs.js} +20 -18
- package/dist/{index-DVofVra1.js → index-DQ3rDVjy.js} +16056 -16065
- package/dist/{index-ALTIxFJT.js → index-zVjXa4YT.js} +31 -33
- package/dist/index.css +1 -1
- package/dist/index.js +1 -1
- package/dist/locales/locale_en.json +1 -0
- package/dist/locales/locale_es.json +1 -0
- package/dist/pages/list/extensions/searchHandler/index.d.ts.map +1 -1
- package/dist/pages/list/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,37 +1,36 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { bD as m, u, J as p, bA as f, bK as
|
|
3
|
-
import { lazy as
|
|
2
|
+
import { bD as m, u, J as p, bA as f, bK as x, aG as _, bG as b } from "./index-DQ3rDVjy.js";
|
|
3
|
+
import { lazy as h, useMemo as l, Suspense as E } from "react";
|
|
4
4
|
import "@tanstack/react-query";
|
|
5
|
-
import { u as
|
|
6
|
-
const P = (
|
|
7
|
-
const
|
|
8
|
-
for (const e of
|
|
9
|
-
const o =
|
|
10
|
-
o.push(e),
|
|
5
|
+
import { u as N } from "./hook-Co0J9NE_.js";
|
|
6
|
+
const P = (i) => {
|
|
7
|
+
const s = /* @__PURE__ */ new Map();
|
|
8
|
+
for (const e of i) {
|
|
9
|
+
const o = s.get(e.extensionPointId) ?? [];
|
|
10
|
+
o.push(e), s.set(e.extensionPointId, o);
|
|
11
11
|
}
|
|
12
|
-
return
|
|
13
|
-
}, v = (
|
|
14
|
-
(e) => !e.requiredPrivileges || e.requiredPrivileges.length === 0 || m(
|
|
12
|
+
return s;
|
|
13
|
+
}, v = (i, s) => i.filter(
|
|
14
|
+
(e) => !e.requiredPrivileges || e.requiredPrivileges.length === 0 || m(s, e.requiredPrivileges)
|
|
15
15
|
), C = {
|
|
16
|
-
"org.bahmni.clinical.v2.search":
|
|
17
|
-
() => import("./index-
|
|
16
|
+
"org.bahmni.clinical.v2.search": h(
|
|
17
|
+
() => import("./index-2_vXyzzs.js")
|
|
18
18
|
)
|
|
19
|
-
}, L = "index-module_page__16xxw", I = "index-module_loading__wNI-4", y = "index-
|
|
19
|
+
}, L = "index-module_page__16xxw", I = "index-module_loading__wNI-4", y = "index-module_message__Ib5Iw", r = {
|
|
20
20
|
page: L,
|
|
21
21
|
loading: I,
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
},
|
|
25
|
-
const { t: s } = u(), { clinicalConfig: i } = E(), { userPrivileges: e } = p(), o = r(
|
|
22
|
+
message: y
|
|
23
|
+
}, w = () => {
|
|
24
|
+
const { t: i } = u(), { clinicalConfig: s } = N(), { userPrivileges: e } = p(), o = l(
|
|
26
25
|
() => [
|
|
27
|
-
{ id: "home", label:
|
|
28
|
-
{ id: "clinical", label:
|
|
26
|
+
{ id: "home", label: i("HOME_LABEL"), href: f },
|
|
27
|
+
{ id: "clinical", label: i("CLINICAL_LABEL"), isCurrentPage: !0 }
|
|
29
28
|
],
|
|
30
|
-
[s]
|
|
31
|
-
), c = r(
|
|
32
|
-
() => P(i?.extensions ?? []),
|
|
33
29
|
[i]
|
|
34
|
-
),
|
|
30
|
+
), c = l(
|
|
31
|
+
() => P(s?.extensions ?? []),
|
|
32
|
+
[s]
|
|
33
|
+
), d = l(
|
|
35
34
|
() => Array.from(c.entries()).map(([n, a]) => ({
|
|
36
35
|
pointId: n,
|
|
37
36
|
Handler: C[n],
|
|
@@ -40,30 +39,29 @@ const P = (s) => {
|
|
|
40
39
|
[c, e]
|
|
41
40
|
);
|
|
42
41
|
return /* @__PURE__ */ t(
|
|
43
|
-
|
|
42
|
+
x,
|
|
44
43
|
{
|
|
45
|
-
header: /* @__PURE__ */ t(
|
|
44
|
+
header: /* @__PURE__ */ t(b, { breadcrumbItems: o }),
|
|
46
45
|
main: /* @__PURE__ */ t(
|
|
47
46
|
"div",
|
|
48
47
|
{
|
|
49
48
|
id: "clinical-list-page",
|
|
50
49
|
"data-testid": "clinical-list-page-test-id",
|
|
51
50
|
"aria-label": "Clinical List Page",
|
|
52
|
-
className:
|
|
51
|
+
className: r.page,
|
|
53
52
|
children: d.length > 0 ? d.map(({ pointId: n, Handler: a, filtered: g }) => /* @__PURE__ */ t(
|
|
54
53
|
"div",
|
|
55
54
|
{
|
|
56
55
|
id: n,
|
|
57
56
|
"data-testid": `${n}-test-id`,
|
|
58
|
-
className: l.tabs,
|
|
59
57
|
children: /* @__PURE__ */ t(
|
|
60
|
-
|
|
58
|
+
E,
|
|
61
59
|
{
|
|
62
60
|
fallback: /* @__PURE__ */ t(
|
|
63
61
|
_,
|
|
64
62
|
{
|
|
65
63
|
type: "multi",
|
|
66
|
-
className:
|
|
64
|
+
className: r.loading
|
|
67
65
|
}
|
|
68
66
|
),
|
|
69
67
|
children: /* @__PURE__ */ t(a, { extensions: g })
|
|
@@ -77,8 +75,8 @@ const P = (s) => {
|
|
|
77
75
|
id: "no-extensions-configured",
|
|
78
76
|
"data-testid": "no-extensions-configured-test-id",
|
|
79
77
|
"aria-label": "No extensions configured",
|
|
80
|
-
className:
|
|
81
|
-
children:
|
|
78
|
+
className: r.message,
|
|
79
|
+
children: i("NO_EXTENSIONS_CONFIGURED")
|
|
82
80
|
}
|
|
83
81
|
)
|
|
84
82
|
}
|
|
@@ -87,5 +85,5 @@ const P = (s) => {
|
|
|
87
85
|
);
|
|
88
86
|
};
|
|
89
87
|
export {
|
|
90
|
-
|
|
88
|
+
w as default
|
|
91
89
|
};
|