@bahmni/home-app 0.0.1-dev.373 → 0.0.1-dev.374

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 K } from "react/jsx-runtime";
2
- import { g as Q, u as W, G as Y, x as J, a as X, b as Z, W as ee, p as te } from "./index-CptkFVlT.js";
2
+ import { g as Q, u as W, G as Y, x as J, a as X, b as Z, W as ee, p as te } from "./index-D7NmN6ZW.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 = {
@@ -44,7 +44,7 @@ const Te = [
44
44
  w(!1), U(null), O(/* @__PURE__ */ new Set());
45
45
  }, []), v = h((e) => {
46
46
  O((t) => new Set(t).add(e));
47
- }, []), { data: i, isLoading: q, isError: y, error: b } = ae({
47
+ }, []), { data: i, isLoading: q, isError: b, error: y } = ae({
48
48
  queryKey: [
49
49
  "documents",
50
50
  E,
@@ -65,12 +65,12 @@ const Te = [
65
65
  }, [i]), I(() => {
66
66
  C(1), A(void 0);
67
67
  }, [E]), I(() => {
68
- y && L({
68
+ b && L({
69
69
  title: n("ERROR_DEFAULT_TITLE"),
70
- message: b?.message ?? "",
70
+ message: y?.message ?? "",
71
71
  type: "error"
72
72
  });
73
- }, [y, b, L, n]), I(() => {
73
+ }, [b, y, L, n]), I(() => {
74
74
  const e = new AbortController();
75
75
  return (async () => {
76
76
  if (!s || !o) return;
@@ -145,7 +145,7 @@ const Te = [
145
145
  ariaLabel: n("DOCUMENTS_TABLE_HEADING"),
146
146
  rows: x,
147
147
  loading: q,
148
- errorStateMessage: y ? b?.message : null,
148
+ errorStateMessage: b ? y?.message : null,
149
149
  sortable: P,
150
150
  emptyStateMessage: n("DOCUMENTS_NO_RECORDS"),
151
151
  renderCell: z,
@@ -1,94 +1,94 @@
1
- import { jsx as i, jsxs as j, Fragment as he } from "react/jsx-runtime";
2
- import { u as be, g as ye, H as pe, Q as Ne, f as Oe, c as Te, d as Ie, M as Ee, t as Ae, m as _e, S as ve, T as Se, s as z, b as Fe, e as K, n as Q, a as Ce, W as Y, I as Re, k as Be, p as Le, J as Me, P as Ue } from "./index-CptkFVlT.js";
3
- import { useQueryClient as De, useQuery as O } from "@tanstack/react-query";
4
- import { useState as G, useMemo as d, useCallback as l } from "react";
5
- const ke = "FormsTable-module_formsTableBody__SvGha", qe = "FormsTable-module_modalHeading__wnTmA", He = "FormsTable-module_customAccordianItem__isszs", T = {
6
- formsTableBody: ke,
7
- modalHeading: qe,
1
+ import { jsx as i, jsxs as K, Fragment as ge } from "react/jsx-runtime";
2
+ import { u as ye, g as be, H as Oe, Q as Te, f as Ne, c as Ie, d as Ee, M as Ae, t as _e, m as ve, S as Se, T as Fe, s as P, b as Me, e as Q, n as Y, a as Re, W as z, I as Be, k as Ce, p as Le, J as Ue, P as ke } from "./index-D7NmN6ZW.js";
3
+ import { useQueryClient as De, useQuery as T } from "@tanstack/react-query";
4
+ import { useState as G, useMemo as d, useCallback as c } from "react";
5
+ const qe = "FormsTable-module_formsTableBody__SvGha", we = "FormsTable-module_modalHeading__wnTmA", He = "FormsTable-module_customAccordianItem__isszs", N = {
6
+ formsTableBody: qe,
7
+ modalHeading: we,
8
8
  customAccordianItem: He
9
- }, we = "startConsultation", je = ({
10
- episodeOfCareUuids: C,
11
- encounterUuids: u,
9
+ }, Ve = "startConsultation", Pe = ({
10
+ episodeOfCareUuids: M,
11
+ encounterUuids: m,
12
12
  config: J,
13
13
  disableActions: W = !1,
14
- activeEncounterUuid: h = null
14
+ activeEncounterUuid: p = null
15
15
  }) => {
16
- const { t: n } = be(), c = ye(), [b, R] = G(!1), [s, B] = G(null), {
16
+ const { t: n } = ye(), u = be(), [g, R] = G(!1), [s, B] = G(null), {
17
17
  numberOfVisits: X,
18
18
  hideThumbnail: Z = !1,
19
19
  forms: y
20
- } = J ?? {}, ee = pe(
21
- Ue.EDIT_OBSERVATIONS
22
- ), { userPrivileges: p } = Ne(), I = ee && !W && !!h, L = Oe(
23
- C,
24
- u
20
+ } = J ?? {}, ee = Oe(
21
+ ke.EDIT_OBSERVATIONS
22
+ ), { userPrivileges: b } = Te(), I = ee && !W && !!p, C = Ne(
23
+ M,
24
+ m
25
25
  ), re = De(), {
26
- data: M = [],
26
+ data: L = [],
27
27
  isLoading: U,
28
- isError: D,
28
+ isError: k,
29
29
  error: oe,
30
- refetch: ae
31
- } = O({
32
- queryKey: ["forms", c, C],
33
- queryFn: () => Te(c, void 0, X),
34
- enabled: !!c && !L
35
- }), k = d(() => {
36
- let e = M;
37
- return u && u.length > 0 && (e = e.filter(
38
- (r) => u.includes(r.encounterUuid)
30
+ refetch: te
31
+ } = T({
32
+ queryKey: ["forms", u, M],
33
+ queryFn: () => Ie(u, void 0, X),
34
+ enabled: !!u && !C
35
+ }), D = d(() => {
36
+ let e = L;
37
+ return m && m.length > 0 && (e = e.filter(
38
+ (r) => m.includes(r.encounterUuid)
39
39
  )), Array.isArray(y) && y.length > 0 && (e = e.filter(
40
40
  (r) => y.some((o) => o.toLowerCase() === r.formName.toLowerCase())
41
41
  )), e;
42
- }, [M, u, y]), { data: N = [] } = O({
42
+ }, [L, m, y]), { data: O = [] } = T({
43
43
  queryKey: ["observationForms"],
44
- queryFn: () => Ie()
45
- }), q = l(
44
+ queryFn: () => Ee()
45
+ }), q = c(
46
46
  (e) => {
47
- const r = N.find((a) => a.name === e);
47
+ const r = O.find((a) => a.name === e);
48
48
  if (!r?.privileges || r.privileges.length === 0) return !0;
49
- if (!p || p.length === 0) return !1;
50
- const o = new Set(p.map((a) => a.name));
49
+ if (!b || b.length === 0) return !1;
50
+ const o = new Set(b.map((a) => a.name));
51
51
  return r.privileges.some(
52
52
  (a) => o.has(a.privilegeName) && a.editable
53
53
  );
54
54
  },
55
- [N, p]
56
- ), f = l(
57
- (e) => !h || e.encounterUuid !== h ? !1 : q(e.formName),
58
- [h, q]
59
- ), H = l(
60
- (e) => N.find((r) => r.name === e)?.uuid,
61
- [N]
55
+ [O, b]
56
+ ), f = c(
57
+ (e) => !p || e.encounterUuid !== p ? !1 : q(e.formName),
58
+ [p, q]
59
+ ), w = c(
60
+ (e) => O.find((r) => r.name === e)?.uuid,
61
+ [O]
62
62
  ), E = d(() => {
63
63
  if (s)
64
- return H(s.formName);
65
- }, [s, H]), {
66
- data: m,
67
- isLoading: te,
64
+ return w(s.formName);
65
+ }, [s, w]), {
66
+ data: l,
67
+ isLoading: ae,
68
68
  isError: se,
69
69
  error: A
70
- } = O({
70
+ } = T({
71
71
  queryKey: ["formMetadata", E],
72
- queryFn: () => Ee(E),
73
- enabled: !!E && b
72
+ queryFn: () => Ae(E),
73
+ enabled: !!E && g
74
74
  }), {
75
75
  data: _,
76
76
  isLoading: ne,
77
77
  isError: ie,
78
78
  error: v
79
- } = O({
79
+ } = T({
80
80
  queryKey: ["formsEncounterFHIR", s?.encounterUuid],
81
- queryFn: () => Ae(s.encounterUuid),
82
- enabled: !!s?.encounterUuid && b
81
+ queryFn: () => _e(s.encounterUuid),
82
+ enabled: !!s?.encounterUuid && g
83
83
  });
84
- _e(
84
+ ve(
85
85
  (e) => {
86
- e.patientUUID === c && e.updatedConcepts.size > 0 && (ae(), re.invalidateQueries({ queryKey: ["formsEncounterFHIR"] }));
86
+ e.patientUUID === u && (te(), re.invalidateQueries({ queryKey: ["formsEncounterFHIR"] }));
87
87
  },
88
- [c]
88
+ [u]
89
89
  );
90
- const de = d(() => !_?.entry || !s?.formName ? [] : _.entry.filter((e) => e.resource?.resourceType === "Observation").map((e) => e.resource).filter((e) => ve(e) ? Se(e)?.toLowerCase() === s.formName.toLowerCase() : !0), [_, s?.formName]), le = d(() => {
91
- if (!m?.schema) return;
90
+ const de = d(() => !_?.entry || !s?.formName ? [] : _.entry.filter((e) => e.resource?.resourceType === "Observation").map((e) => e.resource).filter((e) => Se(e) ? Fe(e)?.toLowerCase() === s.formName.toLowerCase() : !0), [_, s?.formName]), le = d(() => {
91
+ if (!l?.schema) return;
92
92
  const e = [], r = (o) => {
93
93
  (o ?? []).forEach((a) => {
94
94
  const t = a;
@@ -96,10 +96,10 @@ const ke = "FormsTable-module_formsTableBody__SvGha", qe = "FormsTable-module_mo
96
96
  });
97
97
  };
98
98
  return r(
99
- m.schema.controls ?? []
99
+ l.schema.controls ?? []
100
100
  ), e.length > 0 ? e : void 0;
101
- }, [m]), me = d(() => {
102
- if (!m?.schema) return;
101
+ }, [l]), ce = d(() => {
102
+ if (!l?.schema) return;
103
103
  const e = {}, r = (o, a) => {
104
104
  for (const t of o)
105
105
  if (t.type === "section") {
@@ -109,34 +109,45 @@ const ke = "FormsTable-module_formsTableBody__SvGha", qe = "FormsTable-module_mo
109
109
  t.id != null && a && (e[String(t.id)] = a), t.controls && r(t.controls, a);
110
110
  };
111
111
  return r(
112
- m.schema.controls ?? [],
112
+ l.schema.controls ?? [],
113
113
  null
114
114
  ), Object.keys(e).length > 0 ? e : void 0;
115
- }, [m]), ue = d(() => {
115
+ }, [l]), me = d(() => {
116
+ if (!l?.schema) return;
117
+ const e = {}, r = (o) => {
118
+ (o ?? []).forEach((a) => {
119
+ const t = a;
120
+ t.concept?.uuid && t.concept?.datatype && (e[t.concept.uuid] = t.concept.datatype), t.controls && r(t.controls);
121
+ });
122
+ };
123
+ return r(
124
+ l.schema.controls ?? []
125
+ ), Object.keys(e).length > 0 ? e : void 0;
126
+ }, [l]), ue = d(() => {
116
127
  if (A)
117
- return z(A).message;
128
+ return P(A).message;
118
129
  if (v)
119
- return z(v).message;
120
- }, [A, v]), g = d(
130
+ return P(v).message;
131
+ }, [A, v]), h = d(
121
132
  () => [
122
133
  { key: "recordedOn", header: n("RECORDED_ON") },
123
134
  { key: "recordedBy", header: n("RECORDED_BY") }
124
135
  ],
125
136
  [n]
126
- ), w = d(
127
- () => [...g, { key: "actions", header: n("ACTIONS") }],
128
- [g, n]
129
- ), ce = l(
130
- (e) => I && e.some((r) => f(r)) ? w : g,
131
- [I, f, w, g]
132
- ), fe = g, ge = d(
137
+ ), H = d(
138
+ () => [...h, { key: "actions", header: n("ACTIONS") }],
139
+ [h, n]
140
+ ), fe = c(
141
+ (e) => I && e.some((r) => f(r)) ? H : h,
142
+ [I, f, H, h]
143
+ ), he = h, pe = d(
133
144
  () => [
134
145
  { key: "recordedOn", sortable: !0 },
135
146
  { key: "recordedBy", sortable: !0 }
136
147
  ],
137
148
  []
138
149
  ), V = d(() => {
139
- const e = k.reduce(
150
+ const e = D.reduce(
140
151
  (r, o) => {
141
152
  const a = o.formName;
142
153
  r[a] ??= [];
@@ -144,7 +155,7 @@ const ke = "FormsTable-module_formsTableBody__SvGha", qe = "FormsTable-module_mo
144
155
  return r[a].push({
145
156
  id: o.encounterUuid,
146
157
  formName: o.formName,
147
- recordedOn: Fe(o.encounterDateTime, n, !0).formattedResult,
158
+ recordedOn: Me(o.encounterDateTime, n, !0).formattedResult,
148
159
  recordedBy: t ?? "--",
149
160
  encounterDateTime: o.encounterDateTime,
150
161
  encounterUuid: o.encounterUuid
@@ -160,13 +171,13 @@ const ke = "FormsTable-module_formsTableBody__SvGha", qe = "FormsTable-module_mo
160
171
  )
161
172
  })
162
173
  ).sort((r, o) => r.formName.localeCompare(o.formName));
163
- }, [k, n]), $ = l((e) => {
174
+ }, [D, n]), $ = c((e) => {
164
175
  B(e), R(!0);
165
- }, []), x = l(() => {
176
+ }, []), j = c(() => {
166
177
  R(!1), B(null);
167
- }, []), S = l((e) => {
178
+ }, []), S = c((e) => {
168
179
  globalThis.dispatchEvent(
169
- new CustomEvent(we, {
180
+ new CustomEvent(Ve, {
170
181
  detail: {
171
182
  editOnly: "observationForms",
172
183
  editTitle: "EDIT_OBSERVATION_FORM_TITLE",
@@ -176,23 +187,23 @@ const ke = "FormsTable-module_formsTableBody__SvGha", qe = "FormsTable-module_mo
176
187
  }
177
188
  })
178
189
  );
179
- }, []), P = l(
190
+ }, []), x = c(
180
191
  (e, r) => {
181
192
  switch (r) {
182
193
  case "recordedOn":
183
- return /* @__PURE__ */ i(Ce, { onClick: () => $(e), children: e.recordedOn });
194
+ return /* @__PURE__ */ i(Re, { onClick: () => $(e), children: e.recordedOn });
184
195
  case "recordedBy":
185
196
  return e.recordedBy;
186
197
  case "actions":
187
198
  return f(e) ? /* @__PURE__ */ i(
188
- K,
199
+ Q,
189
200
  {
190
201
  label: n("EDIT_OBSERVATION_FORM"),
191
202
  kind: "ghost",
192
203
  size: "sm",
193
204
  testId: `edit-form-${e.encounterUuid}`,
194
205
  onClick: () => S(e),
195
- children: /* @__PURE__ */ i(Q, {})
206
+ children: /* @__PURE__ */ i(Y, {})
196
207
  }
197
208
  ) : null;
198
209
  default:
@@ -201,41 +212,41 @@ const ke = "FormsTable-module_formsTableBody__SvGha", qe = "FormsTable-module_mo
201
212
  },
202
213
  [$, S, f, n]
203
214
  );
204
- return /* @__PURE__ */ j(he, { children: [
205
- /* @__PURE__ */ i("div", { id: "forms-table", "data-testid": "forms-table", children: U || D || V.length === 0 || L ? /* @__PURE__ */ i(
206
- Y,
215
+ return /* @__PURE__ */ K(ge, { children: [
216
+ /* @__PURE__ */ i("div", { id: "forms-table", "data-testid": "forms-table", children: U || k || V.length === 0 || C ? /* @__PURE__ */ i(
217
+ z,
207
218
  {
208
- headers: fe,
219
+ headers: he,
209
220
  ariaLabel: n("FORMS_HEADING"),
210
221
  rows: [],
211
222
  loading: U,
212
- errorStateMessage: D ? oe?.message : void 0,
223
+ errorStateMessage: k ? oe?.message : void 0,
213
224
  emptyStateMessage: n("FORMS_UNAVAILABLE"),
214
- renderCell: P,
215
- className: T.formsTableBody,
225
+ renderCell: x,
226
+ className: N.formsTableBody,
216
227
  dataTestId: "forms-table"
217
228
  }
218
- ) : /* @__PURE__ */ i(Re, { align: "start", children: V.map((e, r) => {
219
- const { formName: o, records: a } = e, t = ce(a);
229
+ ) : /* @__PURE__ */ i(Be, { align: "start", children: V.map((e, r) => {
230
+ const { formName: o, records: a } = e, t = fe(a);
220
231
  return /* @__PURE__ */ i(
221
- Be,
232
+ Ce,
222
233
  {
223
234
  title: o,
224
- className: T.customAccordianItem,
235
+ className: N.customAccordianItem,
225
236
  testId: `accordian-title-${o}`,
226
237
  open: r === 0,
227
238
  children: /* @__PURE__ */ i(
228
- Y,
239
+ z,
229
240
  {
230
241
  headers: t,
231
242
  ariaLabel: n("FORMS_HEADING"),
232
243
  rows: a,
233
244
  loading: !1,
234
245
  errorStateMessage: "",
235
- sortable: ge,
246
+ sortable: pe,
236
247
  emptyStateMessage: n("FORMS_UNAVAILABLE"),
237
- renderCell: P,
238
- className: T.formsTableBody,
248
+ renderCell: x,
249
+ className: N.formsTableBody,
239
250
  dataTestId: `forms-table-${o}`
240
251
  }
241
252
  )
@@ -243,26 +254,26 @@ const ke = "FormsTable-module_formsTableBody__SvGha", qe = "FormsTable-module_mo
243
254
  o
244
255
  );
245
256
  }) }) }),
246
- b && s && /* @__PURE__ */ i(
257
+ g && s && /* @__PURE__ */ i(
247
258
  Le,
248
259
  {
249
260
  id: "modalIdForActionAreaLayout",
250
261
  portalId: "main-display-area",
251
- open: b,
252
- onRequestClose: x,
253
- modalHeading: /* @__PURE__ */ j("div", { className: T.modalHeading, children: [
262
+ open: g,
263
+ onRequestClose: j,
264
+ modalHeading: /* @__PURE__ */ K("div", { className: N.modalHeading, children: [
254
265
  /* @__PURE__ */ i("span", { children: s.formName }),
255
266
  I && f(s) && /* @__PURE__ */ i(
256
- K,
267
+ Q,
257
268
  {
258
269
  label: n("EDIT_OBSERVATION_FORM"),
259
270
  kind: "ghost",
260
271
  size: "sm",
261
272
  testId: `edit-form-modal-${s.encounterUuid}`,
262
273
  onClick: () => {
263
- x(), S(s);
274
+ j(), S(s);
264
275
  },
265
- children: /* @__PURE__ */ i(Q, {})
276
+ children: /* @__PURE__ */ i(Y, {})
266
277
  }
267
278
  )
268
279
  ] }),
@@ -271,17 +282,18 @@ const ke = "FormsTable-module_formsTableBody__SvGha", qe = "FormsTable-module_mo
271
282
  size: "md",
272
283
  testId: "form-details-modal",
273
284
  children: /* @__PURE__ */ i(
274
- Me,
285
+ Ue,
275
286
  {
276
287
  observations: de,
277
- isLoading: te || ne,
288
+ isLoading: ae || ne,
278
289
  isError: se || ie,
279
290
  errorMessage: ue,
280
291
  emptyStateMessage: n("NO_FORM_DATA_AVAILABLE"),
281
292
  testIdPrefix: s.formName,
282
293
  hideThumbnail: Z,
283
294
  controlOrder: le,
284
- sectionMap: me
295
+ sectionMap: ce,
296
+ conceptDatatypeMap: me
285
297
  }
286
298
  )
287
299
  }
@@ -289,5 +301,5 @@ const ke = "FormsTable-module_formsTableBody__SvGha", qe = "FormsTable-module_mo
289
301
  ] });
290
302
  };
291
303
  export {
292
- je as default
304
+ Pe as default
293
305
  };
@@ -1,5 +1,5 @@
1
- import { c, T as l, P as m, a as u, D as v, Q as i } from "./YPM2AS64-DNGYQwaN.js";
2
- import { a0 as d, a1 as f, a2 as e } from "./index-CptkFVlT.js";
1
+ import { c, T as l, P as m, a as u, D as v, Q as i } from "./YPM2AS64-T0eYli2V.js";
2
+ import { a0 as d, a1 as f, a2 as e } from "./index-D7NmN6ZW.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-DNGYQwaN.js";
2
- import { a0 as v, a1 as C, a2 as e } from "./index-CptkFVlT.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-T0eYli2V.js";
2
+ import { a0 as v, a1 as C, a2 as e } from "./index-D7NmN6ZW.js";
3
3
  var h = (t) => {
4
4
  const [r, o] = s({
5
5
  prefix: "TanstackQueryDevtools"
@@ -1,5 +1,5 @@
1
1
  import { jsxs as I, jsx as u } from "react/jsx-runtime";
2
- import { g as K, G as q, u as N, V as G, h as k, m as H, R as M, D as Q, i as j, j as w, W as x, O as z, r as D, L as P, E as W, Z, l as J, o as X, q as ee } from "./index-CptkFVlT.js";
2
+ import { g as q, G as K, u as N, V as G, h as k, m as w, R as H, D as M, i as Q, j, W as x, O as z, r as D, L as P, E as W, Z, l as J, o as X, q as ee } from "./index-D7NmN6ZW.js";
3
3
  import { useQueries as ae, useQuery as te } from "@tanstack/react-query";
4
4
  import { useRef as se, useEffect as $, useMemo as E } from "react";
5
5
  const L = (a, n, d, l, b, r) => {
@@ -113,7 +113,7 @@ const L = (a, n, d, l, b, r) => {
113
113
  conceptNames: d = [],
114
114
  conceptUuid: l = [],
115
115
  hideThumbnail: b = !1
116
- } = n, r = se(/* @__PURE__ */ new Set()), t = K(), { addNotification: s } = q(), { t: i } = N(), o = ae({
116
+ } = n, r = se(/* @__PURE__ */ new Set()), t = q(), { addNotification: s } = K(), { t: i } = N(), o = ae({
117
117
  queries: d.map((e) => ({
118
118
  queryKey: de(e),
119
119
  queryFn: () => G(e),
@@ -142,7 +142,7 @@ const L = (a, n, d, l, b, r) => {
142
142
  queryFn: () => k(t, p),
143
143
  enabled: !!t && p.length > 0 && y
144
144
  });
145
- H(
145
+ w(
146
146
  (e) => {
147
147
  e.patientUUID === t && e.updatedConcepts.size > 0 && [...e.updatedConcepts.keys()].some(
148
148
  (h) => p.includes(h)
@@ -158,8 +158,8 @@ const L = (a, n, d, l, b, r) => {
158
158
  }, [O]);
159
159
  const g = E(() => {
160
160
  if (!c) return [];
161
- const e = M(c), h = Q(e);
162
- return j(h);
161
+ const e = H(c), h = M(e);
162
+ return Q(h);
163
163
  }, [c]), A = [
164
164
  { key: "name", header: "name" },
165
165
  { key: "value", header: "value" },
@@ -174,7 +174,7 @@ const L = (a, n, d, l, b, r) => {
174
174
  className: S.observations,
175
175
  children: [
176
176
  /* @__PURE__ */ u(
177
- w,
177
+ j,
178
178
  {
179
179
  id: "observations-title",
180
180
  testId: v ? `observations-title-${R}` : "observations-title",
@@ -1,4 +1,4 @@
1
- import { a3 as we, a4 as z, a5 as xt, a6 as B, a1 as q, a2 as y, a7 as Ro, a8 as ye, a9 as R, aa as _, ab as k, ac as N, ad as A, ae as bs, af as ir, ag as $e, ah as G, ai as Hn, aj as Vn, ak as dt, al as D, am as xs, an as cn, ao as Be, ap as ws, aq as qt, ar as zt, as as $s, at as Cs, au as $n, av as Ss, aw as Nr, ax as Bt, ay as zo, az as ks, aA as Es, aB as j, aC as Gr, aD as Ms, aE as Ds, aF as sr, aG as As, aH as Ts, aI as zn, aJ as Fs, aK as Is, aL as Z, aM as Ps, aN as Ls } from "./index-CptkFVlT.js";
1
+ import { a3 as we, a4 as z, a5 as xt, a6 as B, a1 as q, a2 as y, a7 as Ro, a8 as ye, a9 as R, aa as _, ab as k, ac as N, ad as A, ae as bs, af as ir, ag as $e, ah as G, ai as Hn, aj as Vn, ak as dt, al as D, am as xs, an as cn, ao as Be, ap as ws, aq as qt, ar as zt, as as $s, at as Cs, au as $n, av as Ss, aw as Nr, ax as Bt, ay as zo, az as ks, aA as Es, aB as j, aC as Gr, aD as Ms, aE as Ds, aF as sr, aG as As, aH as Ts, aI as zn, aJ as Fs, aK as Is, aL as Z, aM as Ps, aN as Ls } from "./index-D7NmN6ZW.js";
2
2
  var Os = (e) => e != null, qs = (e) => e.filter(Os);
3
3
  function _s(e) {
4
4
  return (...t) => {
@@ -99141,17 +99141,22 @@ const QK1 = (t) => t ? t.extension?.find(
99141
99141
  const r = e.split("/")[0].split("^").pop()?.replace(/\.\d+$/, "");
99142
99142
  if (r)
99143
99143
  return r;
99144
- }, fyt = (t, e) => t?.date ? n2(t.date, e).formattedResult : e("DATE_ERROR_PARSE"), IE = (t, e) => {
99144
+ }, fyt = (t, e) => t?.date ? n2(t.date, e).formattedResult : e("DATE_ERROR_PARSE"), IE = (t, e, r) => {
99145
99145
  if (t.observationValue?.value == null)
99146
99146
  return "";
99147
- const { value: r, unit: o, type: a } = t.observationValue;
99148
- if (a === "dateTime")
99149
- return n2(String(r), e).formattedResult;
99150
- if (a === "boolean") {
99151
- const c = (l) => l === !0 || l === "true" ? e ? e("YES") : "Yes" : e ? e("NO") : "No";
99152
- return typeof r == "boolean" ? c(r) : String(r).split(", ").map(c).join(", ");
99153
- }
99154
- return o ? `${r} ${o}` : String(r);
99147
+ const { value: o, unit: a, type: c } = t.observationValue;
99148
+ if (c === "dateTime") {
99149
+ const l = t.conceptId ? r?.[t.conceptId] : void 0, i = (s) => {
99150
+ const d = l != null ? l === "Datetime" : /T\d{2}:\d{2}:\d{2}/.test(s) && !/T00:00:00/.test(s);
99151
+ return n2(s, e, d).formattedResult;
99152
+ };
99153
+ return String(o).split(", ").map(i).join(", ");
99154
+ }
99155
+ if (c === "boolean") {
99156
+ const l = (i) => i === !0 || i === "true" ? e ? e("YES") : "Yes" : e ? e("NO") : "No";
99157
+ return typeof o == "boolean" ? l(o) : String(o).split(", ").map(l).join(", ");
99158
+ }
99159
+ return a ? `${o} ${a}` : String(o);
99155
99160
  }, kc0 = (t) => {
99156
99161
  const e = t.display;
99157
99162
  if (!t.observationValue)
@@ -99309,53 +99314,55 @@ const Ic0 = "ObservationsRenderer-module_resultsContainer__xvAwi", Bc0 = "Observ
99309
99314
  depth: e = 0,
99310
99315
  memberIndex: r = 0,
99311
99316
  testIdPrefix: o = "",
99312
- hideThumbnail: a = !1
99317
+ hideThumbnail: a = !1,
99318
+ conceptDatatypeMap: c
99313
99319
  }) => {
99314
- const { t: c } = X1(), l = t.members && t.members.length > 0, i = t.display, s = o ? `${o}-` : "";
99315
- if (l)
99320
+ const { t: l } = X1(), i = t.members && t.members.length > 0, s = t.display, d = o ? `${o}-` : "";
99321
+ if (i)
99316
99322
  return /* @__PURE__ */ Ge(
99317
99323
  "div",
99318
99324
  {
99319
99325
  className: N2.nestedGroup,
99320
- "data-testid": `${s}obs-nested-group-${i}-${r}`,
99326
+ "data-testid": `${d}obs-nested-group-${s}-${r}`,
99321
99327
  children: [
99322
99328
  /* @__PURE__ */ ae(
99323
99329
  "div",
99324
99330
  {
99325
99331
  className: N2.nestedGroupLabel,
99326
- "data-testid": `${s}obs-nested-group-label-${i}-${r}`,
99332
+ "data-testid": `${d}obs-nested-group-label-${s}-${r}`,
99327
99333
  style: { paddingLeft: `${e * 16}px` },
99328
- children: i
99334
+ children: s
99329
99335
  }
99330
99336
  ),
99331
99337
  /* @__PURE__ */ ae(
99332
99338
  "div",
99333
99339
  {
99334
99340
  className: N2.nestedGroupMembers,
99335
- "data-testid": `${s}obs-nested-group-members-${i}-${r}`,
99336
- children: t.members?.map((m, M) => /* @__PURE__ */ ae(
99341
+ "data-testid": `${d}obs-nested-group-members-${s}-${r}`,
99342
+ children: t.members?.map((M, w) => /* @__PURE__ */ ae(
99337
99343
  PE,
99338
99344
  {
99339
- member: m,
99345
+ member: M,
99340
99346
  depth: e + 1,
99341
- memberIndex: M,
99347
+ memberIndex: w,
99342
99348
  testIdPrefix: o,
99343
- hideThumbnail: a
99349
+ hideThumbnail: a,
99350
+ conceptDatatypeMap: c
99344
99351
  },
99345
- m.id
99352
+ M.id
99346
99353
  ))
99347
99354
  }
99348
99355
  )
99349
99356
  ]
99350
99357
  }
99351
99358
  );
99352
- const { rangeString: d, isAbnormal: u } = YK1(t), h = IE(t, c), f = h ? BE(h, a) : null;
99359
+ const { rangeString: u, isAbnormal: h } = YK1(t), f = IE(t, l, c), m = f ? BE(f, a) : null;
99353
99360
  return /* @__PURE__ */ Ge(o0, { children: [
99354
99361
  /* @__PURE__ */ Ge(
99355
99362
  "div",
99356
99363
  {
99357
99364
  className: N2.memberRow,
99358
- "data-testid": `${s}obs-member-row-${i}-${r}`,
99365
+ "data-testid": `${d}obs-member-row-${s}-${r}`,
99359
99366
  style: { paddingLeft: `${e * 16}px` },
99360
99367
  children: [
99361
99368
  /* @__PURE__ */ Ge(
@@ -99363,12 +99370,12 @@ const Ic0 = "ObservationsRenderer-module_resultsContainer__xvAwi", Bc0 = "Observ
99363
99370
  {
99364
99371
  className: E2(
99365
99372
  N2.memberLabel,
99366
- u ? N2.abnormalValue : ""
99373
+ h ? N2.abnormalValue : ""
99367
99374
  ),
99368
- "data-testid": `${s}obs-member-label-${i}-${r}`,
99375
+ "data-testid": `${d}obs-member-label-${s}-${r}`,
99369
99376
  children: [
99370
- /* @__PURE__ */ ae("span", { children: i }),
99371
- d && /* @__PURE__ */ ae("p", { className: N2.rangeInfo, children: d })
99377
+ /* @__PURE__ */ ae("span", { children: s }),
99378
+ u && /* @__PURE__ */ ae("p", { className: N2.rangeInfo, children: u })
99372
99379
  ]
99373
99380
  }
99374
99381
  ),
@@ -99377,10 +99384,10 @@ const Ic0 = "ObservationsRenderer-module_resultsContainer__xvAwi", Bc0 = "Observ
99377
99384
  {
99378
99385
  className: E2(
99379
99386
  N2.memberValue,
99380
- u ? N2.abnormalValue : ""
99387
+ h ? N2.abnormalValue : ""
99381
99388
  ),
99382
- "data-testid": `${s}obs-member-value-${i}-${r}`,
99383
- children: f
99389
+ "data-testid": `${d}obs-member-value-${s}-${r}`,
99390
+ children: m
99384
99391
  }
99385
99392
  )
99386
99393
  ]
@@ -99390,7 +99397,7 @@ const Ic0 = "ObservationsRenderer-module_resultsContainer__xvAwi", Bc0 = "Observ
99390
99397
  "p",
99391
99398
  {
99392
99399
  className: N2.commentSection,
99393
- "data-testid": `${s}obs-member-comment-${i}-${r}`,
99400
+ "data-testid": `${d}obs-member-comment-${s}-${r}`,
99394
99401
  style: { paddingLeft: `${e * 16}px` },
99395
99402
  children: [
99396
99403
  t.comment,
@@ -99399,49 +99406,54 @@ const Ic0 = "ObservationsRenderer-module_resultsContainer__xvAwi", Bc0 = "Observ
99399
99406
  }
99400
99407
  )
99401
99408
  ] });
99402
- }, al0 = (t, e, r, o = "", a = !1) => {
99403
- const c = t.members && t.members.length > 0, { rangeString: l, isAbnormal: i } = YK1(t), s = IE(t, r), d = s ? BE(s, a) : null, u = o ? `${o}-` : "";
99409
+ }, al0 = (t, e, r, o = "", a = !1, c) => {
99410
+ const l = t.members && t.members.length > 0, { rangeString: i, isAbnormal: s } = YK1(t), d = IE(
99411
+ t,
99412
+ r,
99413
+ c
99414
+ ), u = d ? BE(d, a) : null, h = o ? `${o}-` : "";
99404
99415
  return /* @__PURE__ */ Ge(
99405
99416
  "div",
99406
99417
  {
99407
99418
  className: N2.observation,
99408
- "data-testid": `${u}observation-item-${t.display}-${e}`,
99419
+ "data-testid": `${h}observation-item-${t.display}-${e}`,
99409
99420
  children: [
99410
99421
  /* @__PURE__ */ Ge(
99411
99422
  "div",
99412
99423
  {
99413
- className: c ? N2.groupContainer : N2.rowContainer,
99414
- "data-testid": `${u}observation-container-${t.display}-${e}`,
99424
+ className: l ? N2.groupContainer : N2.rowContainer,
99425
+ "data-testid": `${h}observation-container-${t.display}-${e}`,
99415
99426
  children: [
99416
99427
  /* @__PURE__ */ Ge(
99417
99428
  "div",
99418
99429
  {
99419
99430
  className: E2(
99420
- c ? N2.groupLabel : N2.rowLabel,
99421
- !c && i ? N2.abnormalValue : ""
99431
+ l ? N2.groupLabel : N2.rowLabel,
99432
+ !l && s ? N2.abnormalValue : ""
99422
99433
  ),
99423
- "data-testid": `${u}observation-label-${t.display}-${e}`,
99434
+ "data-testid": `${h}observation-label-${t.display}-${e}`,
99424
99435
  children: [
99425
99436
  /* @__PURE__ */ ae("span", { children: t.display }),
99426
- !c && l && /* @__PURE__ */ ae("p", { className: N2.rangeInfo, children: l })
99437
+ !l && i && /* @__PURE__ */ ae("p", { className: N2.rangeInfo, children: i })
99427
99438
  ]
99428
99439
  }
99429
99440
  ),
99430
- c ? /* @__PURE__ */ ae(
99441
+ l ? /* @__PURE__ */ ae(
99431
99442
  "div",
99432
99443
  {
99433
99444
  className: N2.groupMembers,
99434
- "data-testid": `${u}observation-group-members-${t.display}-${e}`,
99435
- children: t.members?.map((h, f) => /* @__PURE__ */ ae(
99445
+ "data-testid": `${h}observation-group-members-${t.display}-${e}`,
99446
+ children: t.members?.map((f, m) => /* @__PURE__ */ ae(
99436
99447
  PE,
99437
99448
  {
99438
- member: h,
99449
+ member: f,
99439
99450
  depth: 0,
99440
- memberIndex: f,
99451
+ memberIndex: m,
99441
99452
  testIdPrefix: o,
99442
- hideThumbnail: a
99453
+ hideThumbnail: a,
99454
+ conceptDatatypeMap: c
99443
99455
  },
99444
- h.id
99456
+ f.id
99445
99457
  ))
99446
99458
  }
99447
99459
  ) : /* @__PURE__ */ ae(
@@ -99449,10 +99461,10 @@ const Ic0 = "ObservationsRenderer-module_resultsContainer__xvAwi", Bc0 = "Observ
99449
99461
  {
99450
99462
  className: E2(
99451
99463
  N2.rowValue,
99452
- i ? N2.abnormalValue : ""
99464
+ s ? N2.abnormalValue : ""
99453
99465
  ),
99454
- "data-testid": `${u}observation-value-${t.display}-${e}`,
99455
- children: d
99466
+ "data-testid": `${h}observation-value-${t.display}-${e}`,
99467
+ children: u
99456
99468
  }
99457
99469
  )
99458
99470
  ]
@@ -99462,7 +99474,7 @@ const Ic0 = "ObservationsRenderer-module_resultsContainer__xvAwi", Bc0 = "Observ
99462
99474
  "p",
99463
99475
  {
99464
99476
  className: N2.commentSection,
99465
- "data-testid": `${u}observation-comment-${t.display}-${e}`,
99477
+ "data-testid": `${h}observation-comment-${t.display}-${e}`,
99466
99478
  children: [
99467
99479
  t.comment,
99468
99480
  t.encounter?.provider && ` - by ${t.encounter.provider}`
@@ -99483,13 +99495,14 @@ const Ic0 = "ObservationsRenderer-module_resultsContainer__xvAwi", Bc0 = "Observ
99483
99495
  testIdPrefix: l = "",
99484
99496
  hideThumbnail: i = !1,
99485
99497
  controlOrder: s,
99486
- sectionMap: d
99498
+ sectionMap: d,
99499
+ conceptDatatypeMap: u
99487
99500
  }) => {
99488
- const { t: u } = X1(), h = t1(() => {
99501
+ const { t: h } = X1(), f = t1(() => {
99489
99502
  if (t.length === 0) return [];
99490
- const y = Sc0(t), p = s && s.length > 0 ? Rc0(y, s) : JK1(y);
99491
- return XK1(p);
99492
- }, [t, s]), f = [
99503
+ const p = Sc0(t), g = s && s.length > 0 ? Rc0(p, s) : JK1(p);
99504
+ return XK1(g);
99505
+ }, [t, s]), m = [
99493
99506
  { key: "label", header: "label" },
99494
99507
  { key: "value", header: "value" }
99495
99508
  ];
@@ -99497,7 +99510,7 @@ const Ic0 = "ObservationsRenderer-module_resultsContainer__xvAwi", Bc0 = "Observ
99497
99510
  return /* @__PURE__ */ ae(
99498
99511
  F0,
99499
99512
  {
99500
- headers: f,
99513
+ headers: m,
99501
99514
  rows: [],
99502
99515
  loading: !0,
99503
99516
  ariaLabel: "Loading observations",
@@ -99509,68 +99522,70 @@ const Ic0 = "ObservationsRenderer-module_resultsContainer__xvAwi", Bc0 = "Observ
99509
99522
  return /* @__PURE__ */ ae(
99510
99523
  F0,
99511
99524
  {
99512
- headers: f,
99525
+ headers: m,
99513
99526
  rows: [],
99514
- errorStateMessage: o ?? u("ERROR_LOADING_OBSERVATIONS"),
99527
+ errorStateMessage: o ?? h("ERROR_LOADING_OBSERVATIONS"),
99515
99528
  ariaLabel: "Observations error",
99516
99529
  className: E2(N2.fullWidth, c)
99517
99530
  }
99518
99531
  );
99519
- if (h.length === 0)
99532
+ if (f.length === 0)
99520
99533
  return /* @__PURE__ */ ae(
99521
99534
  F0,
99522
99535
  {
99523
- headers: f,
99536
+ headers: m,
99524
99537
  rows: [],
99525
- emptyStateMessage: a ?? u("NO_OBSERVATIONS_AVAILABLE"),
99538
+ emptyStateMessage: a ?? h("NO_OBSERVATIONS_AVAILABLE"),
99526
99539
  ariaLabel: "No observations",
99527
99540
  className: E2(N2.fullWidth, c)
99528
99541
  }
99529
99542
  );
99530
- const m = [];
99531
- let M = null;
99532
- h.forEach((y, p) => {
99533
- const g = y.sortId?.split("-")[0] ?? "", C = d?.[g] ?? null;
99534
- C ? (M?.name !== C && (M = {
99543
+ const M = [];
99544
+ let w = null;
99545
+ f.forEach((p, g) => {
99546
+ const C = p.sortId?.split("-")[0] ?? "", v = d?.[C] ?? null;
99547
+ v ? (w?.name !== v && (w = {
99535
99548
  kind: "section",
99536
- name: C,
99549
+ name: v,
99537
99550
  members: []
99538
- }, m.push(M)), M.members.push({ obs: y, index: p })) : (M = null, m.push({ kind: "obs", obs: y, index: p }));
99551
+ }, M.push(w)), w.members.push({ obs: p, index: g })) : (w = null, M.push({ kind: "obs", obs: p, index: g }));
99539
99552
  });
99540
- const w = l ? `${l}-` : "", E = m.map((y) => y.kind === "obs" ? al0(
99541
- y.obs,
99542
- y.index,
99543
- u,
99553
+ const E = l ? `${l}-` : "", y = M.map((p) => p.kind === "obs" ? al0(
99554
+ p.obs,
99555
+ p.index,
99556
+ h,
99544
99557
  l,
99545
- i
99558
+ i,
99559
+ u
99546
99560
  ) : /* @__PURE__ */ ae(
99547
99561
  "div",
99548
99562
  {
99549
99563
  className: N2.observation,
99550
- "data-testid": `${w}section-${y.name}`,
99564
+ "data-testid": `${E}section-${p.name}`,
99551
99565
  children: /* @__PURE__ */ Ge("div", { className: N2.groupContainer, children: [
99552
99566
  /* @__PURE__ */ ae(
99553
99567
  "div",
99554
99568
  {
99555
99569
  className: N2.groupLabel,
99556
- "data-testid": `${w}section-label-${y.name}`,
99557
- children: y.name
99570
+ "data-testid": `${E}section-label-${p.name}`,
99571
+ children: p.name
99558
99572
  }
99559
99573
  ),
99560
- /* @__PURE__ */ ae("div", { className: N2.groupMembers, children: y.members.map(({ obs: p, index: g }) => /* @__PURE__ */ ae(
99574
+ /* @__PURE__ */ ae("div", { className: N2.groupMembers, children: p.members.map(({ obs: g, index: C }) => /* @__PURE__ */ ae(
99561
99575
  PE,
99562
99576
  {
99563
- member: p,
99577
+ member: g,
99564
99578
  depth: 0,
99565
- memberIndex: g,
99579
+ memberIndex: C,
99566
99580
  testIdPrefix: l,
99567
- hideThumbnail: i
99581
+ hideThumbnail: i,
99582
+ conceptDatatypeMap: u
99568
99583
  },
99569
- p.id
99584
+ g.id
99570
99585
  )) })
99571
99586
  ] })
99572
99587
  },
99573
- `section-${y.name}`
99588
+ `section-${p.name}`
99574
99589
  ));
99575
99590
  return /* @__PURE__ */ ae(
99576
99591
  "div",
@@ -99579,7 +99594,7 @@ const Ic0 = "ObservationsRenderer-module_resultsContainer__xvAwi", Bc0 = "Observ
99579
99594
  "data-testid": "observations-renderer-test-id",
99580
99595
  "aria-label": "observations-renderer-aria-label",
99581
99596
  className: E2(N2.resultsContainer, c),
99582
- children: E
99597
+ children: y
99583
99598
  }
99584
99599
  );
99585
99600
  }, tG1 = ({ reportId: t }) => {
@@ -110042,7 +110057,7 @@ lG1({
110042
110057
  key: "commonSearch",
110043
110058
  component: nd0
110044
110059
  });
110045
- Y0(() => Promise.resolve().then(() => do0)), Y0(() => Promise.resolve().then(() => So0)), Y0(() => Promise.resolve().then(() => w40)), Y0(() => Promise.resolve().then(() => H40)), Y0(() => import("./DocumentsTable-DvzP4zA0-Ctn06ZiV.js")), Y0(() => Promise.resolve().then(() => E60)), Y0(() => import("./FormsTable-BexiFTEe-aR2EeaaS.js")), Y0(() => Promise.resolve().then(() => hi0)), Y0(() => import("./Observations-DIntvvSw-DlFe6p8y.js")), Y0(
110060
+ Y0(() => Promise.resolve().then(() => do0)), Y0(() => Promise.resolve().then(() => So0)), Y0(() => Promise.resolve().then(() => w40)), Y0(() => Promise.resolve().then(() => H40)), Y0(() => import("./DocumentsTable-Cx3H-xNc-DXm8s6bY.js")), Y0(() => Promise.resolve().then(() => E60)), Y0(() => import("./FormsTable-BRgVe8lS-CLFnkEL2.js")), Y0(() => Promise.resolve().then(() => hi0)), Y0(() => import("./Observations-BZ0HyAoB-CshXgU3u.js")), Y0(
110046
110061
  () => Promise.resolve().then(() => ns0)
110047
110062
  ), Y0(
110048
110063
  () => Promise.resolve().then(() => $l0)
@@ -192094,7 +192109,7 @@ var AVt = (t, e = !1) => {
192094
192109
  const e = Fo2(() => {
192095
192110
  const r = this, [o] = this.#n, [a] = this.#o, [c] = this.#a, [l] = this.#c, [i] = this.#p, [s] = this.#t;
192096
192111
  let d;
192097
- return this.#l ? d = this.#l : (d = Po2(() => import("./LNWAZHJI-Vc_o0Tiw.js")), this.#l = d), s42(this.#h, this.#r), Io2(d, Bo2({
192112
+ return this.#l ? d = this.#l : (d = Po2(() => import("./LNWAZHJI-B0_PmrgT.js")), this.#l = d), s42(this.#h, this.#r), Io2(d, Bo2({
192098
192113
  get queryFlavor() {
192099
192114
  return r.#d;
192100
192115
  },
@@ -192192,7 +192207,7 @@ var AVt = (t, e = !1) => {
192192
192207
  const e = Fo2(() => {
192193
192208
  const r = this, [o] = this.#n, [a] = this.#o, [c] = this.#a, [l] = this.#c, [i] = this.#p, [s] = this.#t, [d] = this.#l;
192194
192209
  let u;
192195
- return this.#i ? u = this.#i : (u = Po2(() => import("./MWZ6AO7Z-GBbhSrRz.js")), this.#i = u), s42(this.#h, this.#r), Io2(u, Bo2({
192210
+ return this.#i ? u = this.#i : (u = Po2(() => import("./MWZ6AO7Z-CsNValOD.js")), this.#i = u), s42(this.#h, this.#r), Io2(u, Bo2({
192196
192211
  get queryFlavor() {
192197
192212
  return r.#d;
192198
192213
  },
@@ -192322,7 +192337,7 @@ const xMt = {
192322
192337
  }
192323
192338
  }
192324
192339
  }, bMt = "home", $Vt = "/bahmni/home/index.html#/login", DVt = "/bahmni/home/index.html#/changePassword", RVt = 6, NMt = Y0(
192325
- () => import("./index-BDA93bdX.js").then((t) => ({
192340
+ () => import("./index-DDyGV6fU.js").then((t) => ({
192326
192341
  default: t.HomePage
192327
192342
  }))
192328
192343
  ), CMt = [
@@ -192353,7 +192368,7 @@ function SVt() {
192353
192368
  }
192354
192369
  export {
192355
192370
  Qyt as $,
192356
- RVt as A,
192371
+ eVt as A,
192357
192372
  oVt as B,
192358
192373
  aVt as C,
192359
192374
  gyt as D,
@@ -192456,5 +192471,5 @@ export {
192456
192471
  cV as w,
192457
192472
  dyt as x,
192458
192473
  tVt as y,
192459
- eVt as z
192474
+ RVt as z
192460
192475
  };
@@ -1,5 +1,5 @@
1
1
  import { jsxs as Ne, jsx as ne, Fragment as Qi } from "react/jsx-runtime";
2
- import { u as ot, v as Xi, N as Ji, w as ec, y as tc, Q as rc, z as nc, A as oc, B as hi, C as ac, F as lc, G as ic, K as cc, $ as sc, U as fc, Y as pc, X as hc, _ as uc } from "./index-CptkFVlT.js";
2
+ import { u as ot, v as Xi, N as Ji, w as ec, y as tc, Q as rc, A as nc, z as oc, B as hi, C as ac, F as lc, G as ic, K as cc, $ as sc, U as fc, Y as pc, X as hc, _ as uc } from "./index-D7NmN6ZW.js";
3
3
  import * as Q from "react";
4
4
  import r, { createContext as at, useContext as $e, Children as q1, useState as pe, useLayoutEffect as V1, useEffect as ie, useMemo as lt, useCallback as Me, useRef as oe, forwardRef as y1, useReducer as dc, cloneElement as G1, isValidElement as wc } from "react";
5
5
  import { useQuery as mc } from "@tanstack/react-query";
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { aO as a } from "./index-CptkFVlT.js";
1
+ import { aO as a } from "./index-D7NmN6ZW.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.373",
3
+ "version": "0.0.1-dev.374",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",