@bahmni/clinical-app 0.0.1-dev.450 → 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.
Files changed (38) hide show
  1. package/dist/{ConsultationPage-BR2u64Uf.js → ConsultationPage-DRVbVSY1.js} +3177 -3014
  2. package/dist/DocumentsTable-DH1dnlXy-CFVOP_ER.js +439 -0
  3. package/dist/{FormsTable-Bbqg3PV1-DBHayGAH.js → FormsTable-B8Zxjboo-CSci7Lc3.js} +83 -83
  4. package/dist/{LNWAZHJI-BpfW7OSd.js → LNWAZHJI-pz5cu_gs.js} +7 -7
  5. package/dist/{MWZ6AO7Z-BMRU_FsJ.js → MWZ6AO7Z-SipEeCd6.js} +7 -7
  6. package/dist/{Observations-CJiVrL61-Bxewg-2c.js → Observations-BzjjSeWg-DpgkloUf.js} +41 -41
  7. package/dist/{YPM2AS64-CYt14rJl.js → YPM2AS64-DAI4mBn_.js} +138 -138
  8. package/dist/components/consultationPad/index.d.ts.map +1 -1
  9. package/dist/components/consultationPad/services.d.ts.map +1 -1
  10. package/dist/components/consultationPad/utils.d.ts +1 -0
  11. package/dist/components/consultationPad/utils.d.ts.map +1 -1
  12. package/dist/components/forms/documents/DocumentsForm.d.ts +8 -0
  13. package/dist/components/forms/documents/DocumentsForm.d.ts.map +1 -0
  14. package/dist/components/forms/documents/__tests__/__mocks__/documentsMocks.d.ts +24 -0
  15. package/dist/components/forms/documents/__tests__/__mocks__/documentsMocks.d.ts.map +1 -0
  16. package/dist/components/forms/documents/constants.d.ts +7 -0
  17. package/dist/components/forms/documents/constants.d.ts.map +1 -0
  18. package/dist/components/forms/documents/index.d.ts +2 -0
  19. package/dist/components/forms/documents/index.d.ts.map +1 -0
  20. package/dist/components/forms/documents/models.d.ts +21 -0
  21. package/dist/components/forms/documents/models.d.ts.map +1 -0
  22. package/dist/components/forms/documents/store.d.ts +4 -0
  23. package/dist/components/forms/documents/store.d.ts.map +1 -0
  24. package/dist/components/forms/documents/utils.d.ts +8 -0
  25. package/dist/components/forms/documents/utils.d.ts.map +1 -0
  26. package/dist/components/forms/index.d.ts.map +1 -1
  27. package/dist/components/forms/models.d.ts +5 -7
  28. package/dist/components/forms/models.d.ts.map +1 -1
  29. package/dist/{hook-BPP368lo.js → hook-DtXbDyKC.js} +3 -3
  30. package/dist/{index-yvHhX0be.js → index-D_m7RHtr.js} +59412 -67223
  31. package/dist/{index-D8KumN-s.js → index-Dt6NYj-T.js} +12 -12
  32. package/dist/{index-CAsc6r1V.js → index-eB0O306y.js} +16 -16
  33. package/dist/index.css +1 -1
  34. package/dist/index.js +2 -2
  35. package/dist/locales/locale_en.json +30 -0
  36. package/dist/locales/locale_es.json +30 -0
  37. package/package.json +1 -1
  38. package/dist/DocumentsTable-EFrvR1Y7-bCHfhR2_.js +0 -227
@@ -1,14 +1,14 @@
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-yvHhX0be.js";
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", S = "index-module_panel__8VJh2", s = {
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: S
9
- }, y = ({ extensions: i }) => {
8
+ panel: N
9
+ }, w = ({ extensions: i }) => {
10
10
  const { t: n } = r();
11
- return i.length === 0 ? null : /* @__PURE__ */ d(l, { children: [
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: g.SM
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(b, { children: i.map((a) => {
41
- const t = h(
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: t && a.extensionParams ? /* @__PURE__ */ e(
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(t, { extensionParams: a.extensionParams })
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
- y as default
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, k as u, bQ as b, b_ as f, b$ as _, c0 as p, aO as x, bW as N } from "./index-yvHhX0be.js";
3
- import { lazy as h, useMemo as t, Suspense as E } from "react";
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 C } from "./hook-BPP368lo.js";
5
+ import { u as E } from "./hook-DtXbDyKC.js";
6
6
  const L = {
7
7
  "org.bahmni.clinical.v2.search": h(
8
- () => import("./index-D8KumN-s.js")
8
+ () => import("./index-Dt6NYj-T.js")
9
9
  )
10
- }, I = "index-module_page__16xxw", O = "index-module_loading__wNI-4", P = "index-module_message__Ib5Iw", l = {
11
- page: I,
12
- loading: O,
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
- }, T = () => {
15
- const { t: i } = g(), { clinicalConfig: o } = C(), { userPrivileges: r } = u(), m = t(
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: b },
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
- () => f(o?.extensions ?? []),
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
- p,
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
- E,
54
+ C,
55
55
  {
56
56
  fallback: /* @__PURE__ */ s(
57
- x,
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
- T as default
84
+ S as default
85
85
  };