@bahmni/clinical-app 0.0.1-dev.441 → 0.0.1-dev.443
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-DlEUYH9D.js → ConsultationPage-h4Wbbjin.js} +10535 -10535
- package/dist/{DocumentsTable-BCWUH3WY-yIxEOeqS.js → DocumentsTable-v6NhgJsj-CIaPNCj0.js} +10 -10
- package/dist/{FormsTable-Bb-cDsSI-D6U8Jnch.js → FormsTable-DiD-aWUg-Z6mluyhh.js} +59 -59
- package/dist/{LNWAZHJI-BzOZnN3F.js → LNWAZHJI-LQzuej-S.js} +2 -2
- package/dist/{MWZ6AO7Z-C-pbv8MM.js → MWZ6AO7Z-CS2VgCHg.js} +2 -2
- package/dist/Observations-B2kwkXq0-BxI2RskT.js +246 -0
- package/dist/{YPM2AS64-DHndX1Gs.js → YPM2AS64-DZIFSK2p.js} +1 -1
- package/dist/{hook-CTrQG8ZB.js → hook-CdnuMa2Z.js} +1 -1
- package/dist/{index-CXVD8oVf.js → index-D9IwfHx_.js} +40670 -40587
- package/dist/{index-DIdgceKI.js → index-DK6oFPyP.js} +15 -15
- package/dist/{index-Da-7cqE_.js → index-LSVmX4V0.js} +31 -31
- 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/package.json +1 -1
- package/dist/Observations-B5TN5tfi-DBfEHkT6.js +0 -246
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import { u as g, k as u, bQ as b, b_ as f, b$ as
|
|
3
|
-
import { lazy as h, useMemo as t, Suspense as
|
|
2
|
+
import { u as g, k as u, bQ as b, b_ as f, b$ as _, c0 as p, aO as x, bW as N } from "./index-D9IwfHx_.js";
|
|
3
|
+
import { lazy as h, useMemo as t, Suspense as E } from "react";
|
|
4
4
|
import "@tanstack/react-query";
|
|
5
|
-
import { u as
|
|
5
|
+
import { u as C } from "./hook-CdnuMa2Z.js";
|
|
6
6
|
const L = {
|
|
7
7
|
"org.bahmni.clinical.v2.search": h(
|
|
8
|
-
() => import("./index-
|
|
8
|
+
() => import("./index-LSVmX4V0.js")
|
|
9
9
|
)
|
|
10
|
-
},
|
|
11
|
-
page:
|
|
12
|
-
loading:
|
|
13
|
-
message:
|
|
14
|
-
},
|
|
15
|
-
const { t: i } = g(), { clinicalConfig: o } =
|
|
10
|
+
}, I = "index-module_page__16xxw", O = "index-module_loading__wNI-4", P = "index-module_message__Ib5Iw", l = {
|
|
11
|
+
page: I,
|
|
12
|
+
loading: O,
|
|
13
|
+
message: P
|
|
14
|
+
}, T = () => {
|
|
15
|
+
const { t: i } = g(), { clinicalConfig: o } = C(), { userPrivileges: r } = u(), m = t(
|
|
16
16
|
() => [
|
|
17
17
|
{ id: "home", label: i("HOME_LABEL"), href: b },
|
|
18
18
|
{ id: "clinical", label: i("CLINICAL_LABEL"), isCurrentPage: !0 }
|
|
@@ -25,7 +25,7 @@ const L = {
|
|
|
25
25
|
() => Array.from(c.entries()).map(([e, a]) => ({
|
|
26
26
|
pointId: e,
|
|
27
27
|
Handler: L[e],
|
|
28
|
-
filtered:
|
|
28
|
+
filtered: _(
|
|
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
|
+
p,
|
|
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
|
+
E,
|
|
55
55
|
{
|
|
56
56
|
fallback: /* @__PURE__ */ s(
|
|
57
|
-
|
|
57
|
+
x,
|
|
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
|
+
T as default
|
|
85
85
|
};
|
|
@@ -1,66 +1,66 @@
|
|
|
1
|
-
import { jsxs as d, jsx as
|
|
2
|
-
import { u as r, cR as l, cS as o, cT as c, bg as m, bh as g, cU as
|
|
1
|
+
import { jsxs as d, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { u as r, cR as l, cS as o, cT as c, bg as m, bh as g, cU as b, cV as h, cW as p, aO as u } from "./index-D9IwfHx_.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", S = "index-module_panel__8VJh2", s = {
|
|
6
6
|
loading: E,
|
|
7
7
|
message: $,
|
|
8
|
-
panel:
|
|
9
|
-
},
|
|
8
|
+
panel: S
|
|
9
|
+
}, y = ({ extensions: i }) => {
|
|
10
10
|
const { t: n } = r();
|
|
11
11
|
return i.length === 0 ? null : /* @__PURE__ */ d(l, { children: [
|
|
12
|
-
/* @__PURE__ */
|
|
12
|
+
/* @__PURE__ */ e(
|
|
13
13
|
o,
|
|
14
14
|
{
|
|
15
15
|
id: "search-extension-tab-list",
|
|
16
16
|
"data-testid": "search-extension-tab-list-test-id",
|
|
17
17
|
"aria-label": "Search Extensions",
|
|
18
|
-
children: i.map((
|
|
18
|
+
children: i.map((a) => /* @__PURE__ */ e(
|
|
19
19
|
c,
|
|
20
20
|
{
|
|
21
|
-
id: `search-tab-${
|
|
22
|
-
"data-testid": `search-tab-${
|
|
23
|
-
"aria-label": `Search Tab ${
|
|
24
|
-
renderIcon:
|
|
21
|
+
id: `search-tab-${a.id}`,
|
|
22
|
+
"data-testid": `search-tab-${a.id}-test-id`,
|
|
23
|
+
"aria-label": `Search Tab ${a.id}`,
|
|
24
|
+
renderIcon: a.icon ? () => /* @__PURE__ */ e(
|
|
25
25
|
m,
|
|
26
26
|
{
|
|
27
|
-
id: `${
|
|
28
|
-
testId: `${
|
|
29
|
-
ariaLabel: `Icon ${
|
|
30
|
-
name:
|
|
27
|
+
id: `${a.id}-icon`,
|
|
28
|
+
testId: `${a.id}-icon-test-id`,
|
|
29
|
+
ariaLabel: `Icon ${a.id}`,
|
|
30
|
+
name: a.icon,
|
|
31
31
|
size: g.SM
|
|
32
32
|
}
|
|
33
33
|
) : void 0,
|
|
34
|
-
children: n(
|
|
34
|
+
children: n(a.translationKey)
|
|
35
35
|
},
|
|
36
|
-
|
|
36
|
+
a.id
|
|
37
37
|
))
|
|
38
38
|
}
|
|
39
39
|
),
|
|
40
|
-
/* @__PURE__ */
|
|
41
|
-
const t =
|
|
42
|
-
|
|
40
|
+
/* @__PURE__ */ e(b, { children: i.map((a) => {
|
|
41
|
+
const t = h(
|
|
42
|
+
a.extensionParams?.searchHandler ?? ""
|
|
43
43
|
)?.component;
|
|
44
|
-
return /* @__PURE__ */
|
|
45
|
-
|
|
44
|
+
return /* @__PURE__ */ e(
|
|
45
|
+
p,
|
|
46
46
|
{
|
|
47
|
-
id: `${
|
|
47
|
+
id: `${a.id}-panel`,
|
|
48
48
|
className: s.panel,
|
|
49
|
-
"data-testid": `${
|
|
50
|
-
"aria-label": `Panel ${
|
|
51
|
-
children: t &&
|
|
49
|
+
"data-testid": `${a.id}-panel-test-id`,
|
|
50
|
+
"aria-label": `Panel ${a.id}`,
|
|
51
|
+
children: t && a.extensionParams ? /* @__PURE__ */ e(
|
|
52
52
|
_,
|
|
53
53
|
{
|
|
54
|
-
fallback: /* @__PURE__ */
|
|
54
|
+
fallback: /* @__PURE__ */ e(
|
|
55
55
|
u,
|
|
56
56
|
{
|
|
57
57
|
type: "multi",
|
|
58
58
|
className: s.loading
|
|
59
59
|
}
|
|
60
60
|
),
|
|
61
|
-
children: /* @__PURE__ */
|
|
61
|
+
children: /* @__PURE__ */ e(t, { extensionParams: a.extensionParams })
|
|
62
62
|
}
|
|
63
|
-
) : /* @__PURE__ */
|
|
63
|
+
) : /* @__PURE__ */ e(
|
|
64
64
|
"p",
|
|
65
65
|
{
|
|
66
66
|
id: "extension-widget-not-registered",
|
|
@@ -71,11 +71,11 @@ const E = "index-module_loading__eyE2k", $ = "index-module_message__95HmH", y =
|
|
|
71
71
|
}
|
|
72
72
|
)
|
|
73
73
|
},
|
|
74
|
-
|
|
74
|
+
a.id
|
|
75
75
|
);
|
|
76
76
|
}) })
|
|
77
77
|
] });
|
|
78
78
|
};
|
|
79
79
|
export {
|
|
80
|
-
|
|
80
|
+
y as default
|
|
81
81
|
};
|