@bahmni/clinical-app 0.0.1-dev.329 → 0.0.1-dev.331

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 (32) hide show
  1. package/dist/{ConsultationPage-CavYmyoS.js → ConsultationPage-CygpRPCu.js} +7713 -7726
  2. package/dist/{DocumentsTable-y7KKSEft-CEGuRaCu.js → DocumentsTable-BWdWCSEF-HRL0c35v.js} +43 -43
  3. package/dist/FormsTable-BeIgWoc7-C-bREFdD.js +234 -0
  4. package/dist/{LNWAZHJI-Dpex2331.js → LNWAZHJI-GpwItJW2.js} +2 -2
  5. package/dist/{MWZ6AO7Z-MgRsApVy.js → MWZ6AO7Z-D25cYVQY.js} +2 -2
  6. package/dist/{Observations-BVrVtdFC-B7e7qFes.js → Observations-BjoSIa29-C3b6HEll.js} +58 -58
  7. package/dist/{YPM2AS64-DPvc2F0O.js → YPM2AS64-BGd6IYN_.js} +1 -1
  8. package/dist/components/consultationPad/__tests__/__mocks__/servicesMocks.d.ts +1 -1
  9. package/dist/components/consultationPad/__tests__/__mocks__/servicesMocks.d.ts.map +1 -1
  10. package/dist/components/consultationPad/services.d.ts.map +1 -1
  11. package/dist/components/forms/encounterDetails/EncounterDetails.d.ts.map +1 -1
  12. package/dist/components/forms/immunization/utils.d.ts.map +1 -1
  13. package/dist/components/forms/medicationRequest/utils.d.ts.map +1 -1
  14. package/dist/components/forms/observations/ObservationFormsPanel.d.ts.map +1 -1
  15. package/dist/constants/app.d.ts +0 -1
  16. package/dist/constants/app.d.ts.map +1 -1
  17. package/dist/{hook-P01D_v5f.js → hook-pTnUM5ii.js} +1 -1
  18. package/dist/{index-CPZMkmDc.js → index-Bv43LMU1.js} +75263 -64138
  19. package/dist/{index-Bv85BZbp.js → index-CZeJmUWH.js} +3 -3
  20. package/dist/{index-D3nRKUzi.js → index-DjnJL8ZR.js} +15 -15
  21. package/dist/index.css +1 -1
  22. package/dist/index.js +1 -1
  23. package/dist/services/encounterBundleService.d.ts +1 -2
  24. package/dist/services/encounterBundleService.d.ts.map +1 -1
  25. package/dist/utils/fhir/encounterResourceCreator.d.ts +1 -1
  26. package/dist/utils/fhir/encounterResourceCreator.d.ts.map +1 -1
  27. package/package.json +1 -1
  28. package/dist/FormsTable-DWjxOeF0-ClHmQ2a6.js +0 -234
  29. package/dist/models/encounterBundle.d.ts +0 -8
  30. package/dist/models/encounterBundle.d.ts.map +0 -1
  31. package/dist/utils/fhir/encounterBundleCreator.d.ts +0 -5
  32. package/dist/utils/fhir/encounterBundleCreator.d.ts.map +0 -1
@@ -1,5 +1,5 @@
1
1
  import { jsxs as d, jsx as e } from "react/jsx-runtime";
2
- import { u as r, cp as o, cq as l, cr as c, b1 as m, b2 as g, cs as h, ct as b, cu as p, aF as u } from "./index-CPZMkmDc.js";
2
+ import { u as r, cr as o, cs as l, ct as c, b2 as m, b3 as g, cu as h, cv as b, cw as u, aG as p } from "./index-Bv43LMU1.js";
3
3
  import { Suspense as $ } from "react";
4
4
  const _ = "index-module_loading__FAL7n", E = "index-module_message__KjCnF", t = {
5
5
  loading: _,
@@ -40,7 +40,7 @@ const _ = "index-module_loading__FAL7n", E = "index-module_message__KjCnF", t =
40
40
  a.extensionParams?.searchHandler ?? ""
41
41
  )?.component;
42
42
  return /* @__PURE__ */ e(
43
- p,
43
+ u,
44
44
  {
45
45
  id: `${a.id}-panel`,
46
46
  "data-testid": `${a.id}-panel-test-id`,
@@ -49,7 +49,7 @@ const _ = "index-module_loading__FAL7n", E = "index-module_message__KjCnF", t =
49
49
  $,
50
50
  {
51
51
  fallback: /* @__PURE__ */ e(
52
- u,
52
+ p,
53
53
  {
54
54
  type: "multi",
55
55
  className: t.loading
@@ -1,7 +1,7 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
- import { bu as m, u, aL as f, br as p, bA as b, aF as x, bx as _ } from "./index-CPZMkmDc.js";
2
+ import { bw as m, u, aM as b, bt as f, bC as p, aG as _, bz as x } from "./index-Bv43LMU1.js";
3
3
  import { lazy as N, useMemo as r, Suspense as h } from "react";
4
- import { u as E } from "./hook-P01D_v5f.js";
4
+ import { u as E } from "./hook-pTnUM5ii.js";
5
5
  const P = (s) => {
6
6
  const i = /* @__PURE__ */ new Map();
7
7
  for (const e of s) {
@@ -11,19 +11,19 @@ const P = (s) => {
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
- ), L = {
14
+ ), C = {
15
15
  "org.bahmni.clinical.v2.search": N(
16
- () => import("./index-Bv85BZbp.js")
16
+ () => import("./index-CZeJmUWH.js")
17
17
  )
18
- }, C = "index-module_page__16xxw", y = "index-module_loading__wNI-4", I = "index-module_tabs__ZZv8Y", A = "index-module_message__Ib5Iw", o = {
19
- page: C,
20
- loading: y,
21
- tabs: I,
22
- message: A
18
+ }, L = "index-module_page__16xxw", I = "index-module_loading__wNI-4", y = "index-module_tabs__ZZv8Y", w = "index-module_message__Ib5Iw", o = {
19
+ page: L,
20
+ loading: I,
21
+ tabs: y,
22
+ message: w
23
23
  }, S = () => {
24
- const { t: s } = u(), { clinicalConfig: i } = E(), { userPrivileges: e } = f(), l = r(
24
+ const { t: s } = u(), { clinicalConfig: i } = E(), { userPrivileges: e } = b(), l = r(
25
25
  () => [
26
- { id: "home", label: s("HOME_LABEL"), href: p },
26
+ { id: "home", label: s("HOME_LABEL"), href: f },
27
27
  { id: "clinical", label: s("CLINICAL_LABEL"), isCurrentPage: !0 }
28
28
  ],
29
29
  [s]
@@ -33,15 +33,15 @@ const P = (s) => {
33
33
  ), d = r(
34
34
  () => Array.from(c.entries()).map(([n, t]) => ({
35
35
  pointId: n,
36
- Handler: L[n],
36
+ Handler: C[n],
37
37
  filtered: v(t, e)
38
38
  })).filter(({ Handler: n, filtered: t }) => !!n && t.length > 0),
39
39
  [c, e]
40
40
  );
41
41
  return /* @__PURE__ */ a(
42
- b,
42
+ p,
43
43
  {
44
- header: /* @__PURE__ */ a(_, { breadcrumbItems: l }),
44
+ header: /* @__PURE__ */ a(x, { breadcrumbItems: l }),
45
45
  main: /* @__PURE__ */ a(
46
46
  "div",
47
47
  {
@@ -59,7 +59,7 @@ const P = (s) => {
59
59
  h,
60
60
  {
61
61
  fallback: /* @__PURE__ */ a(
62
- x,
62
+ _,
63
63
  {
64
64
  type: "multi",
65
65
  className: o.loading