@bahmni/clinical-app 0.0.1-dev.440 → 0.0.1-dev.442
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-BYmrmLYy.js → ConsultationPage-C2iwAovC.js} +2132 -2132
- package/dist/{DocumentsTable-CirHKvw9-C14hnZnd.js → DocumentsTable-v84RmXjK-GOlv1ior.js} +14 -14
- package/dist/{FormsTable-CqUGhZ65-mzxEMwwT.js → FormsTable-nHUlMFve-EVRk_DGl.js} +69 -69
- package/dist/{LNWAZHJI-DCXOn2QA.js → LNWAZHJI-CwpiQkt5.js} +2 -2
- package/dist/{MWZ6AO7Z-DDPI1559.js → MWZ6AO7Z-CAcXB62l.js} +2 -2
- package/dist/Observations-j0hpIS7w-20OdMS44.js +246 -0
- package/dist/{YPM2AS64-BO9HNslJ.js → YPM2AS64-CACpDKFs.js} +1 -1
- package/dist/{hook-D8h3x6mN.js → hook-CovTOTdy.js} +1 -1
- package/dist/{index-CUk3F169.js → index-4P1hmC-C.js} +5 -5
- package/dist/{index-CUDJLcGC.js → index-BSNKwD2R.js} +25 -25
- package/dist/{index-qHxzHYCk.js → index-DUipt5G5.js} +37411 -37288
- 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-BhAU90jX-s1YfkDul.js +0 -246
|
@@ -1,5 +1,5 @@
|
|
|
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 h, cV as p, cW as b, aO as u } from "./index-
|
|
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 h, cV as p, cW as b, aO as u } from "./index-DUipt5G5.js";
|
|
3
3
|
import { Suspense as _ } from "react";
|
|
4
4
|
import "@tanstack/react-query";
|
|
5
5
|
const E = "index-module_loading__eyE2k", $ = "index-module_message__95HmH", y = "index-module_panel__8VJh2", s = {
|
|
@@ -9,58 +9,58 @@ const E = "index-module_loading__eyE2k", $ = "index-module_message__95HmH", y =
|
|
|
9
9
|
}, w = ({ 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__ */
|
|
40
|
+
/* @__PURE__ */ e(h, { children: i.map((a) => {
|
|
41
41
|
const t = p(
|
|
42
|
-
|
|
42
|
+
a.extensionParams?.searchHandler ?? ""
|
|
43
43
|
)?.component;
|
|
44
|
-
return /* @__PURE__ */
|
|
44
|
+
return /* @__PURE__ */ e(
|
|
45
45
|
b,
|
|
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,7 +71,7 @@ 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
|
] });
|