@bahmni/home-app 0.0.1-dev.417 → 0.0.1-dev.419

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.
@@ -1,5 +1,5 @@
1
1
  import { jsx as r, jsxs as p, Fragment as Y } from "react/jsx-runtime";
2
- import { v as x, u as G, z as W, E as J, q as X, w as Z, Y as ee, p as te } from "./index-B_32G5Am.js";
2
+ import { v as x, u as G, z as W, E as J, q as X, w as Z, Y as ee, p as te } from "./index-DoAb9JBc.js";
3
3
  import { useQuery as ae } from "@tanstack/react-query";
4
4
  import { useState as l, useCallback as h, useEffect as I, useMemo as _ } from "react";
5
5
  const ne = "DocumentsTable-module_documentsTableBody__6iR3w", oe = "DocumentsTable-module_viewAttachmentsLink__aQ1on", re = "DocumentsTable-module_documentViewerContainer__F5m8D", de = "DocumentsTable-module_attachmentItem__17KA7", se = "DocumentsTable-module_attachmentCounter__WFiI3", me = "DocumentsTable-module_attachmentError__RI4U2", ce = "DocumentsTable-module_documentIframe__ptq5I", le = "DocumentsTable-module_documentImage__KQVgS", d = {
@@ -1,12 +1,12 @@
1
- import { jsx as n, jsxs as P, Fragment as ge } from "react/jsx-runtime";
2
- import { u as he, v as Ne, i as Te, e as Oe, a as be, b as Ie, J as Ae, N as Ee, c as _e, m as ve, d as Fe, V as Me, y as Se, S as $, w as Be, A as K, f as j, q as Ce, Y as z, P as De, F as Le, p as Ue, h as Re, g as qe } from "./index-B_32G5Am.js";
1
+ import { jsx as n, jsxs as $, Fragment as ge } from "react/jsx-runtime";
2
+ import { u as he, v as Ne, i as Te, e as Oe, a as be, b as Ie, J as Ae, N as Ee, c as _e, m as ve, d as Fe, V as Me, y as Se, S as x, w as Be, A as K, f as j, q as Ce, Y as z, P as De, F as Le, p as Ue, h as Re, g as qe } from "./index-DoAb9JBc.js";
3
3
  import { useQueryClient as we, useQuery as T } from "@tanstack/react-query";
4
4
  import { useState as Q, useMemo as i, useCallback as d } from "react";
5
- const Ve = "FormsTable-module_formsTableBody__SvGha", ke = "FormsTable-module_modalHeading__wnTmA", He = "FormsTable-module_customAccordianItem__isszs", O = {
6
- formsTableBody: Ve,
7
- modalHeading: ke,
5
+ const ke = "FormsTable-module_formsTableBody__SvGha", Ve = "FormsTable-module_modalHeading__wnTmA", He = "FormsTable-module_customAccordianItem__isszs", O = {
6
+ formsTableBody: ke,
7
+ modalHeading: Ve,
8
8
  customAccordianItem: He
9
- }, xe = "startConsultation", je = ({
9
+ }, Ge = "startConsultation", je = ({
10
10
  episodeOfCareUuids: F,
11
11
  encounterUuids: l,
12
12
  config: Y,
@@ -92,28 +92,28 @@ const Ve = "FormsTable-module_formsTableBody__SvGha", ke = "FormsTable-module_mo
92
92
  [w]
93
93
  ), ue = i(() => {
94
94
  if (A)
95
- return $(A).message;
95
+ return x(A).message;
96
96
  if (_)
97
- return $(_).message;
97
+ return x(_).message;
98
98
  }, [A, _]), c = i(
99
99
  () => [
100
100
  { key: "recordedOn", header: t("RECORDED_ON") },
101
101
  { key: "recordedBy", header: t("RECORDED_BY") }
102
102
  ],
103
103
  [t]
104
- ), V = i(
104
+ ), k = i(
105
105
  () => [...c, { key: "actions", header: t("ACTIONS") }],
106
106
  [c, t]
107
107
  ), ce = d(
108
- (e) => b && e.some((r) => u(r)) ? V : c,
109
- [b, u, V, c]
108
+ (e) => b && e.some((r) => u(r)) ? k : c,
109
+ [b, u, k, c]
110
110
  ), fe = c, ye = i(
111
111
  () => [
112
112
  { key: "recordedOn", sortable: !0 },
113
113
  { key: "recordedBy", sortable: !0 }
114
114
  ],
115
115
  []
116
- ), k = i(() => {
116
+ ), V = i(() => {
117
117
  const e = U.reduce(
118
118
  (r, a) => {
119
119
  const s = a.formName;
@@ -140,11 +140,11 @@ const Ve = "FormsTable-module_formsTableBody__SvGha", ke = "FormsTable-module_mo
140
140
  ).sort((r, a) => r.formName.localeCompare(a.formName));
141
141
  }, [U, t]), H = d((e) => {
142
142
  S(e), M(!0);
143
- }, []), x = d(() => {
143
+ }, []), G = d(() => {
144
144
  M(!1), S(null);
145
145
  }, []), v = d((e) => {
146
146
  globalThis.dispatchEvent(
147
- new CustomEvent(xe, {
147
+ new CustomEvent(Ge, {
148
148
  detail: {
149
149
  editOnly: "observationForms",
150
150
  editTitle: "EDIT_OBSERVATION_FORM_TITLE",
@@ -154,7 +154,7 @@ const Ve = "FormsTable-module_formsTableBody__SvGha", ke = "FormsTable-module_mo
154
154
  }
155
155
  })
156
156
  );
157
- }, []), G = d(
157
+ }, []), P = d(
158
158
  (e, r) => {
159
159
  switch (r) {
160
160
  case "recordedOn":
@@ -179,8 +179,8 @@ const Ve = "FormsTable-module_formsTableBody__SvGha", ke = "FormsTable-module_mo
179
179
  },
180
180
  [H, v, u, t]
181
181
  );
182
- return /* @__PURE__ */ P(ge, { children: [
183
- /* @__PURE__ */ n("div", { id: "forms-table", "data-testid": "forms-table", children: D || L || k.length === 0 || B ? /* @__PURE__ */ n(
182
+ return /* @__PURE__ */ $(ge, { children: [
183
+ /* @__PURE__ */ n("div", { id: "forms-table", "data-testid": "forms-table", children: D || L || V.length === 0 || B ? /* @__PURE__ */ n(
184
184
  z,
185
185
  {
186
186
  headers: fe,
@@ -189,11 +189,11 @@ const Ve = "FormsTable-module_formsTableBody__SvGha", ke = "FormsTable-module_mo
189
189
  loading: D,
190
190
  errorStateMessage: L ? re?.message : void 0,
191
191
  emptyStateMessage: t("FORMS_UNAVAILABLE"),
192
- renderCell: G,
192
+ renderCell: P,
193
193
  className: O.formsTableBody,
194
194
  dataTestId: "forms-table"
195
195
  }
196
- ) : /* @__PURE__ */ n(De, { align: "start", children: k.map((e, r) => {
196
+ ) : /* @__PURE__ */ n(De, { align: "start", children: V.map((e, r) => {
197
197
  const { formName: a, records: s } = e, f = ce(s);
198
198
  return /* @__PURE__ */ n(
199
199
  Le,
@@ -212,7 +212,7 @@ const Ve = "FormsTable-module_formsTableBody__SvGha", ke = "FormsTable-module_mo
212
212
  errorStateMessage: "",
213
213
  sortable: ye,
214
214
  emptyStateMessage: t("FORMS_UNAVAILABLE"),
215
- renderCell: G,
215
+ renderCell: P,
216
216
  className: O.formsTableBody,
217
217
  dataTestId: `forms-table-${a}`
218
218
  }
@@ -227,8 +227,8 @@ const Ve = "FormsTable-module_formsTableBody__SvGha", ke = "FormsTable-module_mo
227
227
  id: "modalIdForActionAreaLayout",
228
228
  portalId: "main-display-area",
229
229
  open: p,
230
- onRequestClose: x,
231
- modalHeading: /* @__PURE__ */ P("div", { className: O.modalHeading, children: [
230
+ onRequestClose: G,
231
+ modalHeading: /* @__PURE__ */ $("div", { className: O.modalHeading, children: [
232
232
  /* @__PURE__ */ n("span", { children: o.formName }),
233
233
  b && u(o) && /* @__PURE__ */ n(
234
234
  K,
@@ -238,7 +238,7 @@ const Ve = "FormsTable-module_formsTableBody__SvGha", ke = "FormsTable-module_mo
238
238
  size: "sm",
239
239
  testId: `edit-form-modal-${o.encounterUuid}`,
240
240
  onClick: () => {
241
- x(), v(o);
241
+ G(), v(o);
242
242
  },
243
243
  children: /* @__PURE__ */ n(j, {})
244
244
  }
@@ -1,5 +1,5 @@
1
- import { c, T as l, P as m, a as u, D as v, Q as i } from "./YPM2AS64-CuJ7bfry.js";
2
- import { $ as d, a0 as f, a1 as e } from "./index-B_32G5Am.js";
1
+ import { c, T as l, P as m, a as u, D as v, Q as i } from "./YPM2AS64-slby2TrG.js";
2
+ import { $ as d, a0 as f, a1 as e } from "./index-DoAb9JBc.js";
3
3
  var p = (a) => {
4
4
  const [r, t] = c({
5
5
  prefix: "TanstackQueryDevtools"
@@ -1,5 +1,5 @@
1
- import { c as s, T as c, P as u, a as i, b as m, C as P, Q as d } from "./YPM2AS64-CuJ7bfry.js";
2
- import { $ as v, a0 as C, a1 as e } from "./index-B_32G5Am.js";
1
+ import { c as s, T as c, P as u, a as i, b as m, C as P, Q as d } from "./YPM2AS64-slby2TrG.js";
2
+ import { $ as v, a0 as C, a1 as e } from "./index-DoAb9JBc.js";
3
3
  var h = (t) => {
4
4
  const [r, o] = s({
5
5
  prefix: "TanstackQueryDevtools"
@@ -1,13 +1,13 @@
1
1
  import { jsxs as I, jsx as n } from "react/jsx-runtime";
2
- import { v as Q, z as M, u as B, j as Y, a as j, k as G, l as H, m as J, n as P, o as W, _ as X, C as Z, r as ee, Y as ae, x as se, s as U, t as re, B as te, w as ie, R as oe, T as ne, L as de, O as le } from "./index-B_32G5Am.js";
2
+ import { v as Q, z as M, u as w, j as Y, a as j, k as G, l as H, m as J, n as P, o as W, _ as X, C as Z, r as ee, Y as ae, x as se, s as B, t as re, B as te, w as ie, R as oe, T as ne, L as de, O as le } from "./index-DoAb9JBc.js";
3
3
  import { useQueries as ue, useQuery as ce } from "@tanstack/react-query";
4
- import { useRef as me, useEffect as D, useMemo as g } from "react";
4
+ import { useRef as me, useEffect as D, useMemo as E } from "react";
5
5
  const pe = "Observations-module_observations__RKSyo", be = "Observations-module_title__TJL3z", ve = "Observations-module_wrapper__muk2L", he = "Observations-module_secondary__14nuS", O = {
6
6
  observations: pe,
7
7
  title: be,
8
8
  wrapper: ve,
9
9
  secondary: he
10
- }, V = (s, l, o, d, c, r) => {
10
+ }, U = (s, l, o, d, c, r) => {
11
11
  const t = re(s, l, c), e = t.value, m = te(e);
12
12
  let i = e;
13
13
  m === "Image" && (i = /* @__PURE__ */ n(
@@ -48,13 +48,13 @@ const pe = "Observations-module_observations__RKSyo", be = "Observations-module_
48
48
  `obs-${s.id}`
49
49
  );
50
50
  }, ye = (s, l, o, d, c, r, t) => /* @__PURE__ */ n(
51
- U,
51
+ B,
52
52
  {
53
53
  title: s.display,
54
54
  id: `grouped-obs-${s.display}-${d}`,
55
55
  open: o,
56
56
  children: s.members?.map(
57
- (e, m) => V(
57
+ (e, m) => U(
58
58
  e,
59
59
  m,
60
60
  c,
@@ -70,17 +70,17 @@ const pe = "Observations-module_observations__RKSyo", be = "Observations-module_
70
70
  title: l = "",
71
71
  hideThumbnail: o
72
72
  }) => {
73
- const { t: d } = B(), c = (r, t, e) => {
73
+ const { t: d } = w(), c = (r, t, e) => {
74
74
  const m = se(r.encounterDetails, d);
75
75
  return /* @__PURE__ */ I(
76
- U,
76
+ B,
77
77
  {
78
78
  title: m,
79
79
  id: `encounter-${r.encounterId}`,
80
80
  open: t,
81
81
  children: [
82
82
  r.observations.map(
83
- (i, p) => V(
83
+ (i, p) => U(
84
84
  i,
85
85
  p,
86
86
  e,
@@ -132,7 +132,7 @@ const pe = "Observations-module_observations__RKSyo", be = "Observations-module_
132
132
  conceptUuid: r = [],
133
133
  hideThumbnail: t = !1,
134
134
  scope: e = "all"
135
- } = d, m = me(/* @__PURE__ */ new Set()), i = Q(), { addNotification: p } = M(), { t: u } = B(), b = ue({
135
+ } = d, m = me(/* @__PURE__ */ new Set()), i = Q(), { addNotification: p } = M(), { t: u } = w(), b = ue({
136
136
  queries: c.map((a) => ({
137
137
  queryKey: Re(a),
138
138
  queryFn: () => Y(a),
@@ -147,7 +147,7 @@ const pe = "Observations-module_observations__RKSyo", be = "Observations-module_
147
147
  type: "error"
148
148
  }), m.current.add(0)) : !a && y && m.current.clear();
149
149
  }, [b, p, u]);
150
- const f = g(() => b.map((a) => a.data?.uuid).filter((a) => !!a), [b]), v = g(() => [.../* @__PURE__ */ new Set([...f, ...r])], [f, r]), h = g(() => c.length === 0 ? !0 : b.every((a) => !a.isLoading), [b, c.length]), R = e === "latest" || e === "latest-encounter", w = j(
150
+ const f = E(() => b.map((a) => a.data?.uuid).filter((a) => !!a), [b]), v = E(() => [.../* @__PURE__ */ new Set([...f, ...r])], [f, r]), h = E(() => c.length === 0 ? !0 : b.every((a) => !a.isLoading), [b, c.length]), R = e === "latest" || e === "latest-encounter", V = j(
151
151
  l,
152
152
  o
153
153
  ), {
@@ -171,7 +171,7 @@ const pe = "Observations-module_observations__RKSyo", be = "Observations-module_
171
171
  v,
172
172
  o
173
173
  ),
174
- enabled: !!i && v.length > 0 && h && !w
174
+ enabled: !!i && v.length > 0 && h && !V
175
175
  });
176
176
  J(
177
177
  (a) => {
@@ -187,7 +187,7 @@ const pe = "Observations-module_observations__RKSyo", be = "Observations-module_
187
187
  type: "error"
188
188
  });
189
189
  }, [N]);
190
- const $ = g(() => {
190
+ const $ = E(() => {
191
191
  if (!_) return [];
192
192
  let a = P(_);
193
193
  e === "latest-encounter" && (a = W(a));
@@ -197,12 +197,12 @@ const pe = "Observations-module_observations__RKSyo", be = "Observations-module_
197
197
  { key: "name", header: "name" },
198
198
  { key: "value", header: "value" },
199
199
  { key: "form", header: "form" }
200
- ], A = C || !h, L = N && h, k = (!_ || _.entry?.length === 0 || v.length === 0) && h, K = L ? u("ERROR_FETCHING_OBSERVATIONS") : null, q = k ? u("NO_OBSERVATIONS_FOUND") : void 0, z = $.length > 0 && !A && !L, E = d.titleTranslationKey, T = E ? u(E) : "";
200
+ ], A = C || !h, L = N && h, k = (!_ || _.entry?.length === 0 || v.length === 0) && h, K = L ? u("ERROR_FETCHING_OBSERVATIONS") : null, q = k ? u("NO_OBSERVATIONS_FOUND") : void 0, z = $.length > 0 && !A && !L, g = d.titleTranslationKey, T = g ? u(g) : "";
201
201
  return /* @__PURE__ */ I(
202
202
  "div",
203
203
  {
204
204
  id: "observations",
205
- "data-testid": E ? `observations-${T}` : "observations",
205
+ "data-testid": g ? `observations-${T}` : "observations",
206
206
  "aria-label": "observations-aria-label",
207
207
  className: O.observations,
208
208
  children: [
@@ -210,7 +210,7 @@ const pe = "Observations-module_observations__RKSyo", be = "Observations-module_
210
210
  ee,
211
211
  {
212
212
  id: "observations-title",
213
- testId: E ? `observations-title-${T}` : "observations-title",
213
+ testId: g ? `observations-title-${T}` : "observations-title",
214
214
  title: T,
215
215
  className: O.title,
216
216
  children: /* @__PURE__ */ n("p", { children: T })
@@ -1,4 +1,4 @@
1
- import { a2 as we, a3 as z, a4 as xt, a5 as B, a0 as q, a1 as y, a6 as Ro, a7 as ye, a8 as R, a9 as _, aa as k, ab as N, ac as A, ad as bs, ae as ir, af as $e, ag as G, ah as Hn, ai as Vn, aj as dt, ak as D, al as xs, am as cn, an as Be, ao as ws, ap as qt, aq as zt, ar as $s, as as Cs, at as $n, au as Ss, av as Nr, aw as Bt, ax as zo, ay as ks, az as Es, aA as j, aB as Gr, aC as Ms, aD as Ds, aE as sr, aF as As, aG as Ts, aH as zn, aI as Fs, aJ as Is, aK as Z, aL as Ps, aM as Ls } from "./index-B_32G5Am.js";
1
+ import { a2 as we, a3 as z, a4 as xt, a5 as B, a0 as q, a1 as y, a6 as Ro, a7 as ye, a8 as R, a9 as _, aa as k, ab as N, ac as A, ad as bs, ae as ir, af as $e, ag as G, ah as Hn, ai as Vn, aj as dt, ak as D, al as xs, am as cn, an as Be, ao as ws, ap as qt, aq as zt, ar as $s, as as Cs, at as $n, au as Ss, av as Nr, aw as Bt, ax as zo, ay as ks, az as Es, aA as j, aB as Gr, aC as Ms, aD as Ds, aE as sr, aF as As, aG as Ts, aH as zn, aI as Fs, aJ as Is, aK as Z, aL as Ps, aM as Ls } from "./index-DoAb9JBc.js";
2
2
  var Os = (e) => e != null, qs = (e) => e.filter(Os);
3
3
  function _s(e) {
4
4
  return (...t) => {
@@ -1,12 +1,12 @@
1
1
  import { jsxs as c, jsx as e, Fragment as b } from "react/jsx-runtime";
2
- import { u as m, W as p, D as y, G as H, H as N, e as E, Z as P, I as G, K as v, M as f, Q as L, U as O, X as S } from "./index-B_32G5Am.js";
2
+ import { u as m, W as p, D as y, G as H, H as N, e as E, I as P, K as v, M as G, Q as f, U as L, X as O, Z as S } from "./index-DoAb9JBc.js";
3
3
  import "react";
4
4
  import { useQuery as T } from "@tanstack/react-query";
5
5
  const C = "AppTile-module_tile__-CBFh", B = "AppTile-module_label__6vslD", M = "AppTile-module_bottom__lcJiG", d = {
6
6
  tile: C,
7
7
  label: B,
8
8
  bottom: M
9
- }, A = ({ id: o, label: n, icon: s, url: l }) => {
9
+ }, A = ({ id: r, label: n, icon: s, url: l }) => {
10
10
  const { t } = m(), i = t(n);
11
11
  return /* @__PURE__ */ c(
12
12
  p,
@@ -14,24 +14,24 @@ const C = "AppTile-module_tile__-CBFh", B = "AppTile-module_label__6vslD", M = "
14
14
  href: l,
15
15
  className: d.tile,
16
16
  "aria-label": i,
17
- testId: `app-tile-${o}`,
17
+ testId: `app-tile-${r}`,
18
18
  children: [
19
19
  /* @__PURE__ */ e("h2", { className: d.label, "aria-hidden": "true", children: i }),
20
20
  /* @__PURE__ */ c("div", { className: d.bottom, children: [
21
- /* @__PURE__ */ e(y, { name: s, id: o, size: H.X2, "aria-hidden": "true" }),
21
+ /* @__PURE__ */ e(y, { name: s, id: r, size: H.X2, "aria-hidden": "true" }),
22
22
  /* @__PURE__ */ e(N, { size: 20, "aria-hidden": "true" })
23
23
  ] })
24
24
  ]
25
25
  }
26
26
  );
27
- }, K = "HomePageGrid-module_container__Kxfim", k = "HomePageGrid-module_tileGrid__X6-Bm", x = "HomePageGrid-module_skeletonTile__U-1vu", F = "HomePageGrid-module_emptyState__xEwoK", I = "HomePageGrid-module_errorContainer__IKR3E", r = {
27
+ }, K = "HomePageGrid-module_container__Kxfim", k = "HomePageGrid-module_tileGrid__X6-Bm", x = "HomePageGrid-module_skeletonTile__U-1vu", F = "HomePageGrid-module_emptyState__xEwoK", I = "HomePageGrid-module_errorContainer__IKR3E", o = {
28
28
  container: K,
29
29
  tileGrid: k,
30
30
  skeletonTile: x,
31
31
  emptyState: F,
32
32
  errorContainer: I
33
33
  }, D = () => {
34
- const { t: o } = m(), {
34
+ const { t: r } = m(), {
35
35
  userPrivileges: n,
36
36
  isLoading: s,
37
37
  error: l
@@ -48,19 +48,19 @@ const C = "AppTile-module_tile__-CBFh", B = "AppTile-module_label__6vslD", M = "
48
48
  return s || _ || t === null && !l ? /* @__PURE__ */ e(
49
49
  "div",
50
50
  {
51
- className: r.container,
51
+ className: o.container,
52
52
  role: "status",
53
- "aria-label": o("HOME_LOADING_MODULES"),
53
+ "aria-label": r("HOME_LOADING_MODULES"),
54
54
  "aria-busy": "true",
55
- children: /* @__PURE__ */ e("div", { className: r.tileGrid, children: Array.from(
56
- { length: G },
55
+ children: /* @__PURE__ */ e("div", { className: o.tileGrid, children: Array.from(
56
+ { length: v },
57
57
  (a, g) => `skeleton-${g}`
58
- ).map((a) => /* @__PURE__ */ e(v, { className: r.skeletonTile }, a)) })
58
+ ).map((a) => /* @__PURE__ */ e(G, { className: o.skeletonTile }, a)) })
59
59
  }
60
60
  ) : l || u ? /* @__PURE__ */ e(
61
61
  "div",
62
62
  {
63
- className: r.errorContainer,
63
+ className: o.errorContainer,
64
64
  "data-testid": "home-error",
65
65
  role: "alert",
66
66
  children: /* @__PURE__ */ e(
@@ -68,13 +68,13 @@ const C = "AppTile-module_tile__-CBFh", B = "AppTile-module_label__6vslD", M = "
68
68
  {
69
69
  kind: "error",
70
70
  lowContrast: !0,
71
- subtitle: o("HOME_ERROR_FETCH_CONFIG"),
71
+ subtitle: r("HOME_ERROR_FETCH_CONFIG"),
72
72
  hideCloseButton: !1,
73
73
  onClose: () => void h()
74
74
  }
75
75
  )
76
76
  }
77
- ) : i.length === 0 ? /* @__PURE__ */ e("div", { className: r.emptyState, role: "status", children: o("HOME_NO_MODULES") }) : /* @__PURE__ */ e("div", { className: r.container, children: /* @__PURE__ */ e("div", { className: r.tileGrid, children: i.map((a) => /* @__PURE__ */ e(
77
+ ) : i.length === 0 ? /* @__PURE__ */ e("div", { className: o.emptyState, role: "status", children: r("HOME_NO_MODULES") }) : /* @__PURE__ */ e("div", { className: o.container, children: /* @__PURE__ */ e("div", { className: o.tileGrid, children: i.map((a) => /* @__PURE__ */ e(
78
78
  A,
79
79
  {
80
80
  id: a.id,
@@ -87,12 +87,12 @@ const C = "AppTile-module_tile__-CBFh", B = "AppTile-module_label__6vslD", M = "
87
87
  }, R = "HomePageHeader-module_locationSelector__foYmn", U = {
88
88
  locationSelector: R
89
89
  }, $ = () => {
90
- const { t: o } = m();
90
+ const { t: r } = m();
91
91
  return /* @__PURE__ */ e(
92
92
  L,
93
93
  {
94
94
  ariaLabel: "Bahmni",
95
- brandPrefix: o("HOME_LABEL"),
95
+ brandPrefix: r("HOME_LABEL"),
96
96
  brandHref: "/",
97
97
  globalFeatures: [
98
98
  /* @__PURE__ */ e("div", { className: U.locationSelector, children: /* @__PURE__ */ e(S, {}) }, "location")
@@ -103353,7 +103353,7 @@ const S02 = (t) => ["radiologyInvestigation", t], if0 = async (t, e, r, o) => {
103353
103353
  M(J), v(
103354
103354
  "qa"
103355
103355
  /* QA */
103356
- );
103356
+ ), T();
103357
103357
  },
103358
103358
  children: a("RADIOLOGY_VIEW_QA")
103359
103359
  }
@@ -103367,7 +103367,7 @@ const S02 = (t) => ["radiologyInvestigation", t], if0 = async (t, e, r, o) => {
103367
103367
  M(J), v(
103368
103368
  "report"
103369
103369
  /* REPORT */
103370
- );
103370
+ ), T();
103371
103371
  },
103372
103372
  children: a("RADIOLOGY_VIEW_REPORT")
103373
103373
  }
@@ -113765,7 +113765,7 @@ Z02({
113765
113765
  key: "commonSearch",
113766
113766
  component: GV0
113767
113767
  });
113768
- X0(() => Promise.resolve().then(() => T70)), X0(() => Promise.resolve().then(() => ad0)), X0(() => Promise.resolve().then(() => Zd0)), X0(() => Promise.resolve().then(() => Ud0)), X0(() => import("./DocumentsTable-DUyMa5Ip-CRgGufqb.js")), X0(() => Promise.resolve().then(() => Gm0)), X0(() => import("./FormsTable-CbK-Zc3w-Bnbll2oV.js")), X0(() => Promise.resolve().then(() => Pf0)), X0(() => import("./Observations-DG1ptvEC-Ihk5euQy.js")), X0(
113768
+ X0(() => Promise.resolve().then(() => T70)), X0(() => Promise.resolve().then(() => ad0)), X0(() => Promise.resolve().then(() => Zd0)), X0(() => Promise.resolve().then(() => Ud0)), X0(() => import("./DocumentsTable-Cik3MQZO-Dm3XUZhh.js")), X0(() => Promise.resolve().then(() => Gm0)), X0(() => import("./FormsTable-BdcB_G8V-CdGCQGYS.js")), X0(() => Promise.resolve().then(() => Pf0)), X0(() => import("./Observations-f5ZvMmFn-CnAmTCcB.js")), X0(
113769
113769
  () => Promise.resolve().then(() => Zw0)
113770
113770
  ), X0(
113771
113771
  () => Promise.resolve().then(() => df0)
@@ -198855,7 +198855,7 @@ var tSt = (t, e = !1) => {
198855
198855
  const e = H82(() => {
198856
198856
  const r = this, [o] = this.#n, [a] = this.#o, [c] = this.#a, [l] = this.#c, [i] = this.#p, [s] = this.#t;
198857
198857
  let d;
198858
- return this.#l ? d = this.#l : (d = y82(() => import("./LNWAZHJI-Bi9tejMC.js")), this.#l = d), F82(this.#h, this.#r), M82(d, V82({
198858
+ return this.#l ? d = this.#l : (d = y82(() => import("./LNWAZHJI-DiSuY7mL.js")), this.#l = d), F82(this.#h, this.#r), M82(d, V82({
198859
198859
  get queryFlavor() {
198860
198860
  return r.#d;
198861
198861
  },
@@ -198953,7 +198953,7 @@ var tSt = (t, e = !1) => {
198953
198953
  const e = H82(() => {
198954
198954
  const r = this, [o] = this.#n, [a] = this.#o, [c] = this.#a, [l] = this.#c, [i] = this.#p, [s] = this.#t, [d] = this.#l;
198955
198955
  let u;
198956
- return this.#i ? u = this.#i : (u = y82(() => import("./MWZ6AO7Z-Ci3Z_8U_.js")), this.#i = u), F82(this.#h, this.#r), M82(u, V82({
198956
+ return this.#i ? u = this.#i : (u = y82(() => import("./MWZ6AO7Z-CS4Dl9G-.js")), this.#i = u), F82(this.#h, this.#r), M82(u, V82({
198957
198957
  get queryFlavor() {
198958
198958
  return r.#d;
198959
198959
  },
@@ -199083,7 +199083,7 @@ const J$t = {
199083
199083
  }
199084
199084
  }
199085
199085
  }, X$t = "home", cSt = 6, Q$t = X0(
199086
- () => import("./index-BZrwDpAT.js").then((t) => ({
199086
+ () => import("./index-C1oXXeT2.js").then((t) => ({
199087
199087
  default: t.HomePage
199088
199088
  }))
199089
199089
  ), eDt = [
@@ -199122,24 +199122,24 @@ export {
199122
199122
  uc as F,
199123
199123
  vy as G,
199124
199124
  NRt as H,
199125
- cSt as I,
199125
+ bRt as I,
199126
199126
  M22 as J,
199127
- LRt as K,
199127
+ cSt as K,
199128
199128
  mQ2 as L,
199129
- _Rt as M,
199129
+ LRt as M,
199130
199130
  h30 as N,
199131
199131
  lQ2 as O,
199132
199132
  dc as P,
199133
- zOt as Q,
199133
+ _Rt as Q,
199134
199134
  bY2 as R,
199135
199135
  W0 as S,
199136
199136
  nQ2 as T,
199137
- sy0 as U,
199137
+ zOt as U,
199138
199138
  pp0 as V,
199139
199139
  ARt as W,
199140
- GDt as X,
199140
+ sy0 as X,
199141
199141
  q0 as Y,
199142
- bRt as Z,
199142
+ GDt as Z,
199143
199143
  FDt as _,
199144
199144
  Oi as a,
199145
199145
  O0 as a0,
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { aN as a } from "./index-B_32G5Am.js";
1
+ import { aN as a } from "./index-DoAb9JBc.js";
2
2
  export {
3
3
  a as HomeApp
4
4
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bahmni/home-app",
3
- "version": "0.0.1-dev.417",
3
+ "version": "0.0.1-dev.419",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",