@bahmni/clinical-app 0.0.1-dev.451 → 0.0.1-dev.452
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-CSuJ2AyA.js → ConsultationPage-DRVbVSY1.js} +3177 -3014
- package/dist/DocumentsTable-DH1dnlXy-CFVOP_ER.js +439 -0
- package/dist/{FormsTable-BkZ7CAhs-B75t4NlN.js → FormsTable-B8Zxjboo-CSci7Lc3.js} +83 -83
- package/dist/{LNWAZHJI-Ck7o7Ghg.js → LNWAZHJI-pz5cu_gs.js} +7 -7
- package/dist/{MWZ6AO7Z-CpoFA_gI.js → MWZ6AO7Z-SipEeCd6.js} +7 -7
- package/dist/{Observations-ByaPCQhx-CndOctkY.js → Observations-BzjjSeWg-DpgkloUf.js} +41 -41
- package/dist/{YPM2AS64-D6_BOozD.js → YPM2AS64-DAI4mBn_.js} +138 -138
- package/dist/components/consultationPad/index.d.ts.map +1 -1
- package/dist/components/consultationPad/services.d.ts.map +1 -1
- package/dist/components/consultationPad/utils.d.ts +1 -0
- package/dist/components/consultationPad/utils.d.ts.map +1 -1
- package/dist/components/forms/documents/DocumentsForm.d.ts +8 -0
- package/dist/components/forms/documents/DocumentsForm.d.ts.map +1 -0
- package/dist/components/forms/documents/__tests__/__mocks__/documentsMocks.d.ts +24 -0
- package/dist/components/forms/documents/__tests__/__mocks__/documentsMocks.d.ts.map +1 -0
- package/dist/components/forms/documents/constants.d.ts +7 -0
- package/dist/components/forms/documents/constants.d.ts.map +1 -0
- package/dist/components/forms/documents/index.d.ts +2 -0
- package/dist/components/forms/documents/index.d.ts.map +1 -0
- package/dist/components/forms/documents/models.d.ts +21 -0
- package/dist/components/forms/documents/models.d.ts.map +1 -0
- package/dist/components/forms/documents/store.d.ts +4 -0
- package/dist/components/forms/documents/store.d.ts.map +1 -0
- package/dist/components/forms/documents/utils.d.ts +8 -0
- package/dist/components/forms/documents/utils.d.ts.map +1 -0
- package/dist/components/forms/index.d.ts.map +1 -1
- package/dist/components/forms/models.d.ts +5 -7
- package/dist/components/forms/models.d.ts.map +1 -1
- package/dist/{hook-Bfvw3hcE.js → hook-DtXbDyKC.js} +3 -3
- package/dist/{index-CFA4g7FG.js → index-D_m7RHtr.js} +59389 -67202
- package/dist/{index-DfwaWuXc.js → index-Dt6NYj-T.js} +12 -12
- package/dist/{index-B4nadjEE.js → index-eB0O306y.js} +16 -16
- package/dist/index.css +1 -1
- package/dist/index.js +2 -2
- package/dist/locales/locale_en.json +30 -0
- package/dist/locales/locale_es.json +30 -0
- package/package.json +1 -1
- package/dist/DocumentsTable-cTYcbFbC-gO9nbYh4.js +0 -227
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { u as r,
|
|
1
|
+
import { jsxs as t, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { u as r, d2 as l, d3 as o, d4 as c, bt as m, bu as b, d5 as g, d6 as h, d7 as p, aW as u } from "./index-D_m7RHtr.js";
|
|
3
3
|
import { Suspense as _ } from "react";
|
|
4
4
|
import "@tanstack/react-query";
|
|
5
|
-
const E = "index-module_loading__eyE2k", $ = "index-module_message__95HmH",
|
|
5
|
+
const E = "index-module_loading__eyE2k", $ = "index-module_message__95HmH", N = "index-module_panel__8VJh2", s = {
|
|
6
6
|
loading: E,
|
|
7
7
|
message: $,
|
|
8
|
-
panel:
|
|
9
|
-
},
|
|
8
|
+
panel: N
|
|
9
|
+
}, w = ({ extensions: i }) => {
|
|
10
10
|
const { t: n } = r();
|
|
11
|
-
return i.length === 0 ? null : /* @__PURE__ */
|
|
11
|
+
return i.length === 0 ? null : /* @__PURE__ */ t(l, { children: [
|
|
12
12
|
/* @__PURE__ */ e(
|
|
13
13
|
o,
|
|
14
14
|
{
|
|
@@ -28,7 +28,7 @@ const E = "index-module_loading__eyE2k", $ = "index-module_message__95HmH", S =
|
|
|
28
28
|
testId: `${a.id}-icon-test-id`,
|
|
29
29
|
ariaLabel: `Icon ${a.id}`,
|
|
30
30
|
name: a.icon,
|
|
31
|
-
size:
|
|
31
|
+
size: b.SM
|
|
32
32
|
}
|
|
33
33
|
) : void 0,
|
|
34
34
|
children: n(a.translationKey)
|
|
@@ -37,8 +37,8 @@ const E = "index-module_loading__eyE2k", $ = "index-module_message__95HmH", S =
|
|
|
37
37
|
))
|
|
38
38
|
}
|
|
39
39
|
),
|
|
40
|
-
/* @__PURE__ */ e(
|
|
41
|
-
const
|
|
40
|
+
/* @__PURE__ */ e(g, { children: i.map((a) => {
|
|
41
|
+
const d = h(
|
|
42
42
|
a.extensionParams?.searchHandler ?? ""
|
|
43
43
|
)?.component;
|
|
44
44
|
return /* @__PURE__ */ e(
|
|
@@ -48,7 +48,7 @@ const E = "index-module_loading__eyE2k", $ = "index-module_message__95HmH", S =
|
|
|
48
48
|
className: s.panel,
|
|
49
49
|
"data-testid": `${a.id}-panel-test-id`,
|
|
50
50
|
"aria-label": `Panel ${a.id}`,
|
|
51
|
-
children:
|
|
51
|
+
children: d && a.extensionParams ? /* @__PURE__ */ e(
|
|
52
52
|
_,
|
|
53
53
|
{
|
|
54
54
|
fallback: /* @__PURE__ */ e(
|
|
@@ -58,7 +58,7 @@ const E = "index-module_loading__eyE2k", $ = "index-module_message__95HmH", S =
|
|
|
58
58
|
className: s.loading
|
|
59
59
|
}
|
|
60
60
|
),
|
|
61
|
-
children: /* @__PURE__ */ e(
|
|
61
|
+
children: /* @__PURE__ */ e(d, { extensionParams: a.extensionParams })
|
|
62
62
|
}
|
|
63
63
|
) : /* @__PURE__ */ e(
|
|
64
64
|
"p",
|
|
@@ -77,5 +77,5 @@ const E = "index-module_loading__eyE2k", $ = "index-module_message__95HmH", S =
|
|
|
77
77
|
] });
|
|
78
78
|
};
|
|
79
79
|
export {
|
|
80
|
-
|
|
80
|
+
w as default
|
|
81
81
|
};
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import { u as g,
|
|
3
|
-
import { lazy as h, useMemo as t, Suspense as
|
|
2
|
+
import { u as g, Z as u, c1 as f, cb as p, cc as x, cd as _, aW as b, c7 as N } from "./index-D_m7RHtr.js";
|
|
3
|
+
import { lazy as h, useMemo as t, Suspense as C } from "react";
|
|
4
4
|
import "@tanstack/react-query";
|
|
5
|
-
import { u as
|
|
5
|
+
import { u as E } from "./hook-DtXbDyKC.js";
|
|
6
6
|
const L = {
|
|
7
7
|
"org.bahmni.clinical.v2.search": h(
|
|
8
|
-
() => import("./index-
|
|
8
|
+
() => import("./index-Dt6NYj-T.js")
|
|
9
9
|
)
|
|
10
|
-
},
|
|
11
|
-
page:
|
|
12
|
-
loading:
|
|
10
|
+
}, v = "index-module_page__16xxw", I = "index-module_loading__wNI-4", P = "index-module_message__Ib5Iw", l = {
|
|
11
|
+
page: v,
|
|
12
|
+
loading: I,
|
|
13
13
|
message: P
|
|
14
|
-
},
|
|
15
|
-
const { t: i } = g(), { clinicalConfig: o } =
|
|
14
|
+
}, S = () => {
|
|
15
|
+
const { t: i } = g(), { clinicalConfig: o } = E(), { userPrivileges: r } = u(), m = t(
|
|
16
16
|
() => [
|
|
17
|
-
{ id: "home", label: i("HOME_LABEL"), href:
|
|
17
|
+
{ id: "home", label: i("HOME_LABEL"), href: f },
|
|
18
18
|
{ id: "clinical", label: i("CLINICAL_LABEL"), isCurrentPage: !0 }
|
|
19
19
|
],
|
|
20
20
|
[i]
|
|
21
21
|
), c = t(
|
|
22
|
-
() =>
|
|
22
|
+
() => p(o?.extensions ?? []),
|
|
23
23
|
[o]
|
|
24
24
|
), d = t(
|
|
25
25
|
() => Array.from(c.entries()).map(([e, a]) => ({
|
|
26
26
|
pointId: e,
|
|
27
27
|
Handler: L[e],
|
|
28
|
-
filtered:
|
|
28
|
+
filtered: x(
|
|
29
29
|
a,
|
|
30
30
|
r
|
|
31
31
|
).filter(
|
|
@@ -35,7 +35,7 @@ const L = {
|
|
|
35
35
|
[c, r]
|
|
36
36
|
);
|
|
37
37
|
return /* @__PURE__ */ s(
|
|
38
|
-
|
|
38
|
+
_,
|
|
39
39
|
{
|
|
40
40
|
header: /* @__PURE__ */ s(N, { breadcrumbItems: m }),
|
|
41
41
|
main: /* @__PURE__ */ s(
|
|
@@ -51,10 +51,10 @@ const L = {
|
|
|
51
51
|
id: e,
|
|
52
52
|
"data-testid": `${e}-test-id`,
|
|
53
53
|
children: /* @__PURE__ */ s(
|
|
54
|
-
|
|
54
|
+
C,
|
|
55
55
|
{
|
|
56
56
|
fallback: /* @__PURE__ */ s(
|
|
57
|
-
|
|
57
|
+
b,
|
|
58
58
|
{
|
|
59
59
|
type: "multi",
|
|
60
60
|
className: l.loading
|
|
@@ -81,5 +81,5 @@ const L = {
|
|
|
81
81
|
);
|
|
82
82
|
};
|
|
83
83
|
export {
|
|
84
|
-
|
|
84
|
+
S as default
|
|
85
85
|
};
|