@bahmni/clinical-app 0.0.1-dev.328 → 0.0.1-dev.329
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-BLvxF8kV.js → ConsultationPage-CavYmyoS.js} +1545 -1543
- package/dist/{DocumentsTable-Cd0rZQF3-CAeFGxaz.js → DocumentsTable-y7KKSEft-CEGuRaCu.js} +4 -4
- package/dist/{FormsTable-CgyxKp9V-fNe7NXXc.js → FormsTable-DWjxOeF0-ClHmQ2a6.js} +29 -29
- package/dist/{LNWAZHJI-SQd0D-eQ.js → LNWAZHJI-Dpex2331.js} +4 -4
- package/dist/{MWZ6AO7Z-P43V0sDv.js → MWZ6AO7Z-MgRsApVy.js} +3 -3
- package/dist/{Observations-3VgJK5Ks-BF9if6iv.js → Observations-BVrVtdFC-B7e7qFes.js} +1 -1
- package/dist/{YPM2AS64-Cqh6aPgw.js → YPM2AS64-DPvc2F0O.js} +1 -1
- package/dist/components/forms/observations/ObservationFormsContainer.d.ts.map +1 -1
- package/dist/{hook-DE7_WRwf.js → hook-P01D_v5f.js} +1 -1
- package/dist/{index-DEe43Szm.js → index-Bv85BZbp.js} +1 -1
- package/dist/{index-BHPHdADf.js → index-CPZMkmDc.js} +7596 -7578
- package/dist/{index-DSm8uWLC.js → index-D3nRKUzi.js} +16 -16
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { bu as m, u, aL as f, br as p, bA as b, aF as x, bx as _ } from "./index-CPZMkmDc.js";
|
|
3
3
|
import { lazy as N, useMemo as r, Suspense as h } from "react";
|
|
4
|
-
import { u as E } from "./hook-
|
|
4
|
+
import { u as E } from "./hook-P01D_v5f.js";
|
|
5
5
|
const P = (s) => {
|
|
6
6
|
const i = /* @__PURE__ */ new Map();
|
|
7
7
|
for (const e of s) {
|
|
8
|
-
const
|
|
9
|
-
|
|
8
|
+
const l = i.get(e.extensionPointId) ?? [];
|
|
9
|
+
l.push(e), i.set(e.extensionPointId, l);
|
|
10
10
|
}
|
|
11
11
|
return i;
|
|
12
12
|
}, v = (s, i) => s.filter(
|
|
13
13
|
(e) => !e.requiredPrivileges || e.requiredPrivileges.length === 0 || m(i, e.requiredPrivileges)
|
|
14
14
|
), L = {
|
|
15
15
|
"org.bahmni.clinical.v2.search": N(
|
|
16
|
-
() => import("./index-
|
|
16
|
+
() => import("./index-Bv85BZbp.js")
|
|
17
17
|
)
|
|
18
|
-
}, C = "index-module_page__16xxw",
|
|
18
|
+
}, C = "index-module_page__16xxw", y = "index-module_loading__wNI-4", I = "index-module_tabs__ZZv8Y", A = "index-module_message__Ib5Iw", o = {
|
|
19
19
|
page: C,
|
|
20
|
-
loading:
|
|
21
|
-
tabs:
|
|
22
|
-
message:
|
|
20
|
+
loading: y,
|
|
21
|
+
tabs: I,
|
|
22
|
+
message: A
|
|
23
23
|
}, S = () => {
|
|
24
|
-
const { t: s } = u(), { clinicalConfig: i } = E(), { userPrivileges: e } = f(),
|
|
24
|
+
const { t: s } = u(), { clinicalConfig: i } = E(), { userPrivileges: e } = f(), l = r(
|
|
25
25
|
() => [
|
|
26
26
|
{ id: "home", label: s("HOME_LABEL"), href: p },
|
|
27
27
|
{ id: "clinical", label: s("CLINICAL_LABEL"), isCurrentPage: !0 }
|
|
@@ -41,28 +41,28 @@ const P = (s) => {
|
|
|
41
41
|
return /* @__PURE__ */ a(
|
|
42
42
|
b,
|
|
43
43
|
{
|
|
44
|
-
header: /* @__PURE__ */ a(
|
|
44
|
+
header: /* @__PURE__ */ a(_, { breadcrumbItems: l }),
|
|
45
45
|
main: /* @__PURE__ */ a(
|
|
46
46
|
"div",
|
|
47
47
|
{
|
|
48
48
|
id: "clinical-list-page",
|
|
49
49
|
"data-testid": "clinical-list-page-test-id",
|
|
50
50
|
"aria-label": "Clinical List Page",
|
|
51
|
-
className:
|
|
51
|
+
className: o.page,
|
|
52
52
|
children: d.length > 0 ? d.map(({ pointId: n, Handler: t, filtered: g }) => /* @__PURE__ */ a(
|
|
53
53
|
"div",
|
|
54
54
|
{
|
|
55
55
|
id: n,
|
|
56
56
|
"data-testid": `${n}-test-id`,
|
|
57
|
-
className:
|
|
57
|
+
className: o.tabs,
|
|
58
58
|
children: /* @__PURE__ */ a(
|
|
59
59
|
h,
|
|
60
60
|
{
|
|
61
61
|
fallback: /* @__PURE__ */ a(
|
|
62
|
-
|
|
62
|
+
x,
|
|
63
63
|
{
|
|
64
64
|
type: "multi",
|
|
65
|
-
className:
|
|
65
|
+
className: o.loading
|
|
66
66
|
}
|
|
67
67
|
),
|
|
68
68
|
children: /* @__PURE__ */ a(t, { extensions: g })
|
|
@@ -76,7 +76,7 @@ const P = (s) => {
|
|
|
76
76
|
id: "no-extensions-configured",
|
|
77
77
|
"data-testid": "no-extensions-configured-test-id",
|
|
78
78
|
"aria-label": "No extensions configured",
|
|
79
|
-
className:
|
|
79
|
+
className: o.message,
|
|
80
80
|
children: s("NO_EXTENSIONS_CONFIGURED")
|
|
81
81
|
}
|
|
82
82
|
)
|
package/dist/index.js
CHANGED