@bahmni/registration-app 0.0.1-dev.175 → 0.0.1-dev.177

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,29 +1,29 @@
1
- import { jsx as s, jsxs as p, Fragment as k } from "react/jsx-runtime";
2
- import { u as ee, f as re, E as ae, W as te, F as oe, q as ne, j as se, H as de, a as me, D as ie, A as U, b as le, Y as ce, G as ue, c as be, Z as q, P as pe, p as fe, T as F, k as _e, V as $e, d as ge, B as ve } from "./index-CHABx_nr.js";
1
+ import { jsx as s, jsxs as p, Fragment as P } from "react/jsx-runtime";
2
+ import { u as ee, f as re, E as ae, U as te, q as oe, W as ne, F as se, H as de, a as me, D as ie, A as U, c as le, Y as ce, G as ue, y as be, Z as q, P as pe, p as fe, T as F, d as _e, e as $e, g as ge, h as ve } from "./index-BWUKMECq.js";
3
3
  import { useQueryClient as he, useQuery as A } from "@tanstack/react-query";
4
4
  import { useState as H, useMemo as h, useCallback as R } from "react";
5
- const Ne = "_formsTableBody_1pd36_1", ye = "_customAccordianItem_1pd36_6", Ae = "_formContent_1pd36_18", Re = "_formDetailsContainer_1pd36_25", Fe = "_observation_1pd36_30", Le = "_groupContainer_1pd36_39", Ce = "_rowContainer_1pd36_43", Oe = "_groupLabel_1pd36_48", Ve = "_rowLabel_1pd36_58", Te = "_rowValue_1pd36_67", Ie = "_groupMembers_1pd36_75", Me = "_memberRow_1pd36_81", Se = "_memberLabel_1pd36_86", De = "_memberValue_1pd36_94", Ee = "_abnormalValue_1pd36_102", we = "_commentSection_1pd36_110", Be = "_commentText_1pd36_116", xe = "_nestedGroup_1pd36_125", Ge = "_nestedGroupLabel_1pd36_132", Ue = "_nestedGroupMembers_1pd36_141", o = {
6
- formsTableBody: Ne,
7
- customAccordianItem: ye,
5
+ const ye = "_formsTableBody_1pd36_1", Ne = "_customAccordianItem_1pd36_6", Ae = "_formContent_1pd36_18", Re = "_formDetailsContainer_1pd36_25", Fe = "_observation_1pd36_30", Le = "_groupContainer_1pd36_39", Ce = "_rowContainer_1pd36_43", Oe = "_groupLabel_1pd36_48", Ie = "_rowLabel_1pd36_58", Te = "_rowValue_1pd36_67", Me = "_groupMembers_1pd36_75", Ve = "_memberRow_1pd36_81", Se = "_memberLabel_1pd36_86", De = "_memberValue_1pd36_94", Ee = "_abnormalValue_1pd36_102", we = "_commentSection_1pd36_110", xe = "_commentText_1pd36_116", Be = "_nestedGroup_1pd36_125", Ge = "_nestedGroupLabel_1pd36_132", Ue = "_nestedGroupMembers_1pd36_141", o = {
6
+ formsTableBody: ye,
7
+ customAccordianItem: Ne,
8
8
  formContent: Ae,
9
9
  formDetailsContainer: Re,
10
10
  observation: Fe,
11
11
  groupContainer: Le,
12
12
  rowContainer: Ce,
13
13
  groupLabel: Oe,
14
- rowLabel: Ve,
14
+ rowLabel: Ie,
15
15
  rowValue: Te,
16
- groupMembers: Ie,
17
- memberRow: Me,
16
+ groupMembers: Me,
17
+ memberRow: Ve,
18
18
  memberLabel: Se,
19
19
  memberValue: De,
20
20
  abnormalValue: Ee,
21
21
  commentSection: we,
22
- commentText: Be,
23
- nestedGroup: xe,
22
+ commentText: xe,
23
+ nestedGroup: Be,
24
24
  nestedGroupLabel: Ge,
25
25
  nestedGroupMembers: Ue
26
- }, P = (e) => {
26
+ }, K = (e) => {
27
27
  const r = _e(e);
28
28
  return r === "Image" ? /* @__PURE__ */ s(
29
29
  $e,
@@ -33,7 +33,7 @@ const Ne = "_formsTableBody_1pd36_1", ye = "_customAccordianItem_1pd36_6", Ae =
33
33
  id: `${e}-img`
34
34
  }
35
35
  ) : r === "Video" ? /* @__PURE__ */ s(ge, { id: `${e}-video`, videoSrc: e }) : e;
36
- }, K = (e) => {
36
+ }, k = (e) => {
37
37
  const r = e.observationValue?.unit, n = e.observationValue?.referenceRange?.low?.value, a = e.observationValue?.referenceRange?.high?.value, d = n != null, c = a != null, m = d && c ? ` (${n} - ${a})` : d ? ` (>${n})` : c ? ` (<${a})` : "", t = e.observationValue?.isAbnormal === !0;
38
38
  return { units: r, rangeString: m, isAbnormal: t };
39
39
  }, j = ({
@@ -65,23 +65,23 @@ const Ne = "_formsTableBody_1pd36_1", ye = "_customAccordianItem_1pd36_6", Ae =
65
65
  {
66
66
  className: o.nestedGroupMembers,
67
67
  "data-testid": `${t}obs-nested-group-members-${m}-${n}`,
68
- children: e.members?.map((N, y) => /* @__PURE__ */ s(
68
+ children: e.members?.map((y, N) => /* @__PURE__ */ s(
69
69
  j,
70
70
  {
71
- member: N,
71
+ member: y,
72
72
  depth: r + 1,
73
- memberIndex: y,
73
+ memberIndex: N,
74
74
  formName: a
75
75
  },
76
- `${N.id}`
76
+ `${y.id}`
77
77
  ))
78
78
  }
79
79
  )
80
80
  ]
81
81
  }
82
82
  );
83
- const { units: b, rangeString: g, isAbnormal: f } = K(e), _ = e.observationValue?.value?.toString(), $ = _ ? P(_) : null;
84
- return /* @__PURE__ */ p(k, { children: [
83
+ const { units: b, rangeString: g, isAbnormal: f } = k(e), _ = e.observationValue?.value?.toString(), $ = _ ? K(_) : null;
84
+ return /* @__PURE__ */ p(P, { children: [
85
85
  /* @__PURE__ */ p(
86
86
  "div",
87
87
  {
@@ -139,7 +139,7 @@ const Ne = "_formsTableBody_1pd36_1", ye = "_customAccordianItem_1pd36_6", Ae =
139
139
  formName: n = "",
140
140
  comment: a
141
141
  }) => {
142
- const d = e.members && e.members.length > 0, { units: c, rangeString: m, isAbnormal: t } = K(e), b = n ? `${n}-` : "", g = e.observationValue?.value?.toString(), f = g ? P(g) : null;
142
+ const d = e.members && e.members.length > 0, { units: c, rangeString: m, isAbnormal: t } = k(e), b = n ? `${n}-` : "", g = e.observationValue?.value?.toString(), f = g ? K(g) : null;
143
143
  return /* @__PURE__ */ p(
144
144
  "div",
145
145
  {
@@ -216,38 +216,38 @@ const Ne = "_formsTableBody_1pd36_1", ye = "_customAccordianItem_1pd36_6", Ae =
216
216
  );
217
217
  }, He = (e) => e ? e.extension?.find(
218
218
  (r) => r.url === ve
219
- )?.valueString : void 0, ke = (e) => {
219
+ )?.valueString : void 0, Pe = (e) => {
220
220
  if (e)
221
221
  return e.note?.[0]?.text;
222
- }, Pe = (e, r) => e.entry?.find((n) => n.resource?.id === r)?.resource, V = (e, r) => {
223
- const n = Pe(e, r);
222
+ }, Ke = (e, r) => e.entry?.find((n) => n.resource?.id === r)?.resource, I = (e, r) => {
223
+ const n = Ke(e, r);
224
224
  return n ? {
225
225
  formFieldPath: He(n),
226
- comment: ke(n)
226
+ comment: Pe(n)
227
227
  } : {};
228
- }, Ke = (e, r) => {
228
+ }, ke = (e, r) => {
229
229
  if (!e?.entry || !r)
230
230
  return [];
231
231
  const n = pe(e);
232
232
  return [
233
233
  ...n.observations.map((a) => {
234
- const { formFieldPath: d, comment: c } = V(
234
+ const { formFieldPath: d, comment: c } = I(
235
235
  e,
236
236
  a.id
237
237
  );
238
238
  return { obs: a, formFieldPath: d, comment: c };
239
239
  }),
240
240
  ...n.groupedObservations.flatMap((a) => {
241
- const { formFieldPath: d } = V(e, a.id);
241
+ const { formFieldPath: d } = I(e, a.id);
242
242
  return (a.members ?? []).map((c) => {
243
- const { comment: m } = V(e, c.id);
243
+ const { comment: m } = I(e, c.id);
244
244
  return { obs: c, formFieldPath: d, comment: m };
245
245
  });
246
246
  })
247
247
  ].filter(
248
248
  ({ formFieldPath: a }) => !a || a.includes(r)
249
249
  );
250
- }, We = ({
250
+ }, ze = ({
251
251
  episodeOfCareUuids: e,
252
252
  encounterUuids: r,
253
253
  config: n
@@ -257,8 +257,8 @@ const Ne = "_formsTableBody_1pd36_1", ye = "_customAccordianItem_1pd36_6", Ae =
257
257
  r
258
258
  ), _ = he(), {
259
259
  data: $ = [],
260
- isLoading: N,
261
- isError: y,
260
+ isLoading: y,
261
+ isError: N,
262
262
  error: Q,
263
263
  refetch: Y
264
264
  } = A({
@@ -267,22 +267,22 @@ const Ne = "_formsTableBody_1pd36_1", ye = "_customAccordianItem_1pd36_6", Ae =
267
267
  enabled: !!d && !f
268
268
  }), T = h(() => !r || r.length === 0 ? $ : $.filter(
269
269
  (i) => r.includes(i.encounterUuid)
270
- ), [$, r]), { data: I = [] } = A({
270
+ ), [$, r]), { data: M = [] } = A({
271
271
  queryKey: ["observationForms"],
272
272
  queryFn: () => oe()
273
- }), M = R(
274
- (i) => I.find((u) => u.name === i)?.uuid,
275
- [I]
273
+ }), V = R(
274
+ (i) => M.find((u) => u.name === i)?.uuid,
275
+ [M]
276
276
  ), L = h(() => {
277
277
  if (t)
278
- return M(t.formName);
279
- }, [t, M]), { isLoading: z, error: S } = A({
278
+ return V(t.formName);
279
+ }, [t, V]), { isLoading: Z, error: S } = A({
280
280
  queryKey: ["formMetadata", L],
281
281
  queryFn: () => ne(L),
282
282
  enabled: !!L && c
283
283
  }), {
284
284
  data: C,
285
- isLoading: W,
285
+ isLoading: z,
286
286
  error: D
287
287
  } = A({
288
288
  queryKey: ["formsEncounterFHIR", t?.encounterUuid],
@@ -295,7 +295,7 @@ const Ne = "_formsTableBody_1pd36_1", ye = "_customAccordianItem_1pd36_6", Ae =
295
295
  },
296
296
  [d]
297
297
  );
298
- const E = h(() => !C || !t?.formName ? [] : Ke(
298
+ const E = h(() => !C || !t?.formName ? [] : ke(
299
299
  C,
300
300
  t.formName
301
301
  ), [C, t?.formName]), w = h(
@@ -304,13 +304,13 @@ const Ne = "_formsTableBody_1pd36_1", ye = "_customAccordianItem_1pd36_6", Ae =
304
304
  { key: "recordedBy", header: a("FORM_RECORDED_BY") }
305
305
  ],
306
306
  [a]
307
- ), X = h(
307
+ ), W = h(
308
308
  () => [
309
309
  { key: "recordedOn", sortable: !0 },
310
310
  { key: "recordedBy", sortable: !0 }
311
311
  ],
312
312
  []
313
- ), B = h(() => {
313
+ ), x = h(() => {
314
314
  const i = T.reduce(
315
315
  (u, l) => {
316
316
  const v = l.formName;
@@ -335,38 +335,38 @@ const Ne = "_formsTableBody_1pd36_1", ye = "_customAccordianItem_1pd36_6", Ae =
335
335
  )
336
336
  })
337
337
  ).sort((u, l) => u.formName.localeCompare(l.formName));
338
- }, [T, a]), x = R((i) => {
338
+ }, [T, a]), B = R((i) => {
339
339
  b(i), m(!0);
340
- }, []), Z = R(() => {
340
+ }, []), X = R(() => {
341
341
  m(!1), b(null);
342
342
  }, []), G = R(
343
343
  (i, u) => {
344
344
  switch (u) {
345
345
  case "recordedOn":
346
- return /* @__PURE__ */ s(ie, { onClick: () => x(i), children: i.recordedOn });
346
+ return /* @__PURE__ */ s(ie, { onClick: () => B(i), children: i.recordedOn });
347
347
  case "recordedBy":
348
348
  return i.recordedBy;
349
349
  default:
350
350
  return null;
351
351
  }
352
352
  },
353
- [x]
353
+ [B]
354
354
  );
355
- return /* @__PURE__ */ p(k, { children: [
356
- /* @__PURE__ */ s("div", { "data-testid": "forms-table", children: N || y || B.length === 0 || f ? /* @__PURE__ */ s(
355
+ return /* @__PURE__ */ p(P, { children: [
356
+ /* @__PURE__ */ s("div", { "data-testid": "forms-table", children: y || N || x.length === 0 || f ? /* @__PURE__ */ s(
357
357
  U,
358
358
  {
359
359
  headers: w,
360
360
  ariaLabel: a("FORMS_HEADING"),
361
361
  rows: [],
362
- loading: N,
363
- errorStateMessage: y ? Q?.message : void 0,
362
+ loading: y,
363
+ errorStateMessage: N ? Q?.message : void 0,
364
364
  emptyStateMessage: a("FORMS_UNAVAILABLE"),
365
365
  renderCell: G,
366
366
  className: o.formsTableBody,
367
367
  dataTestId: "forms-table"
368
368
  }
369
- ) : /* @__PURE__ */ s(le, { align: "start", children: B.map((i, u) => {
369
+ ) : /* @__PURE__ */ s(le, { align: "start", children: x.map((i, u) => {
370
370
  const { formName: l, records: v } = i;
371
371
  return /* @__PURE__ */ s(
372
372
  ce,
@@ -383,7 +383,7 @@ const Ne = "_formsTableBody_1pd36_1", ye = "_customAccordianItem_1pd36_6", Ae =
383
383
  rows: v,
384
384
  loading: !1,
385
385
  errorStateMessage: "",
386
- sortable: X,
386
+ sortable: W,
387
387
  emptyStateMessage: a("FORMS_UNAVAILABLE"),
388
388
  renderCell: G,
389
389
  className: o.formsTableBody,
@@ -398,14 +398,15 @@ const Ne = "_formsTableBody_1pd36_1", ye = "_customAccordianItem_1pd36_6", Ae =
398
398
  ue,
399
399
  {
400
400
  id: "modalIdForActionAreaLayout",
401
+ portalId: "main-display-area",
401
402
  open: c,
402
- onRequestClose: Z,
403
+ onRequestClose: X,
403
404
  modalHeading: t.formName,
404
405
  modalLabel: `${t.recordedOn} | ${t.recordedBy}`,
405
406
  passiveModal: !0,
406
407
  size: "md",
407
408
  testId: "form-details-modal",
408
- children: /* @__PURE__ */ s("div", { className: o.formContent, children: z || W ? /* @__PURE__ */ s(be, { width: "100%", lineCount: 3 }) : S ? /* @__PURE__ */ s("div", { children: q(S).message ?? a("ERROR_FETCHING_FORM_METADATA") }) : D ? /* @__PURE__ */ s("div", { children: q(D).message ?? a("ERROR_FETCHING_FORM_DATA") }) : E.length > 0 ? /* @__PURE__ */ s("div", { className: o.formDetailsContainer, children: E.map(({ obs: i, comment: u }, l) => /* @__PURE__ */ s(
409
+ children: /* @__PURE__ */ s("div", { className: o.formContent, children: Z || z ? /* @__PURE__ */ s(be, { width: "100%", lineCount: 3 }) : S ? /* @__PURE__ */ s("div", { children: q(S).message ?? a("ERROR_FETCHING_FORM_METADATA") }) : D ? /* @__PURE__ */ s("div", { children: q(D).message ?? a("ERROR_FETCHING_FORM_DATA") }) : E.length > 0 ? /* @__PURE__ */ s("div", { className: o.formDetailsContainer, children: E.map(({ obs: i, comment: u }, l) => /* @__PURE__ */ s(
409
410
  qe,
410
411
  {
411
412
  observation: i,
@@ -420,5 +421,5 @@ const Ne = "_formsTableBody_1pd36_1", ye = "_customAccordianItem_1pd36_6", Ae =
420
421
  ] });
421
422
  };
422
423
  export {
423
- We as default
424
+ ze as default
424
425
  };
@@ -1,5 +1,5 @@
1
- import { c, T as l, P as m, a as u, D as v, Q as i } from "./YPM2AS64-5zLI5oHW.js";
2
- import { l as d, m as f, n as e } from "./index-CHABx_nr.js";
1
+ import { c, T as l, P as m, a as u, D as v, Q as i } from "./YPM2AS64-DY6hluiJ.js";
2
+ import { l as d, m as f, n as e } from "./index-BWUKMECq.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-5zLI5oHW.js";
2
- import { l as v, m as C, n as e } from "./index-CHABx_nr.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-DY6hluiJ.js";
2
+ import { l as v, m as C, n as e } from "./index-BWUKMECq.js";
3
3
  var h = (t) => {
4
4
  const [r, o] = s({
5
5
  prefix: "TanstackQueryDevtools"
@@ -1,14 +1,14 @@
1
1
  import { jsxs as I, jsx as c } from "react/jsx-runtime";
2
- import { f as C, o as B, u as N, e as Q, g as H, H as K, P as G, X as P, Q as w, h as x, A as M, i as X, y as S, J as j, k as J, R as z, V as Y, d as Z } from "./index-CHABx_nr.js";
2
+ import { f as q, o as C, u as N, B as H, j as Q, H as K, P as j, Q as w, i as x, k as G, A as M, J as P, V as S, X, d as J, R as z, e as Y, g as Z } from "./index-BWUKMECq.js";
3
3
  import { useQueries as W, useQuery as ee } from "@tanstack/react-query";
4
4
  import { useRef as te, useEffect as T, useMemo as R } from "react";
5
5
  const A = (t, d, i, l, s) => {
6
- const a = j(t, d), r = a.value, o = J(r);
6
+ const a = X(t, d), r = a.value, o = J(r);
7
7
  let n = r;
8
8
  o === "Image" && (n = /* @__PURE__ */ c(Y, { imageSrc: r, alt: r, id: `${r}-img` })), o === "Video" && (n = /* @__PURE__ */ c(Z, { id: `${r}-video`, videoSrc: r }));
9
9
  const b = s("OBSERVATIONS_RECORDED_BY", {
10
10
  provider: a.provider
11
- }), p = t.display, y = t.observationValue?.isAbnormal ? "abnormal-obs" : "obs", u = l ? `${l}-${y}-${p}-${i}-${d}` : `${y}-${p}-${i}-${d}`;
11
+ }), p = t.display, v = t.observationValue?.isAbnormal ? "abnormal-obs" : "obs", u = l ? `${l}-${v}-${p}-${i}-${d}` : `${v}-${p}-${i}-${d}`;
12
12
  return /* @__PURE__ */ c(
13
13
  z,
14
14
  {
@@ -37,7 +37,7 @@ const A = (t, d, i, l, s) => {
37
37
  title: d = ""
38
38
  }) => {
39
39
  const { t: i } = N(), l = (s, a, r) => {
40
- const o = X(s.encounterDetails, i);
40
+ const o = P(s.encounterDetails, i);
41
41
  return /* @__PURE__ */ I(
42
42
  S,
43
43
  {
@@ -78,34 +78,34 @@ const A = (t, d, i, l, s) => {
78
78
  observations: re,
79
79
  title: oe
80
80
  }, ie = (t) => ["conceptUuid", t], ne = (t, d) => ["observations", t, ...d], be = ({ config: t }) => {
81
- const d = t, { conceptNames: i = [], conceptUuid: l = [] } = d, s = te(/* @__PURE__ */ new Set()), a = C(), { addNotification: r } = B(), { t: o } = N(), n = W({
81
+ const d = t, { conceptNames: i = [], conceptUuid: l = [] } = d, s = te(/* @__PURE__ */ new Set()), a = q(), { addNotification: r } = C(), { t: o } = N(), n = W({
82
82
  queries: i.map((e) => ({
83
83
  queryKey: ie(e),
84
- queryFn: () => Q(e),
84
+ queryFn: () => H(e),
85
85
  enabled: !!e
86
86
  }))
87
87
  });
88
88
  T(() => {
89
89
  n.forEach((e, m) => {
90
90
  if (e.isError && !s.current.has(m)) {
91
- const q = i[m];
91
+ const k = i[m];
92
92
  r({
93
93
  title: o("ERROR_DEFAULT_TITLE"),
94
- message: o("ERROR_FETCHING_CONCEPT", { conceptName: q }),
94
+ message: o("ERROR_FETCHING_CONCEPT", { conceptName: k }),
95
95
  type: "error"
96
96
  }), s.current.add(m);
97
97
  } else e.isError || s.current.delete(m);
98
98
  });
99
99
  }, [n, i]);
100
- const b = R(() => n.map((e) => e.data?.uuid).filter((e) => !!e), [n]), p = R(() => [.../* @__PURE__ */ new Set([...b, ...l])], [b, l]), y = R(() => i.length === 0 ? !0 : n.every((e) => !e.isLoading), [n, i.length]), {
100
+ const b = R(() => n.map((e) => e.data?.uuid).filter((e) => !!e), [n]), p = R(() => [.../* @__PURE__ */ new Set([...b, ...l])], [b, l]), v = R(() => i.length === 0 ? !0 : n.every((e) => !e.isLoading), [n, i.length]), {
101
101
  data: u,
102
- isLoading: k,
102
+ isLoading: B,
103
103
  isError: f,
104
104
  refetch: g
105
105
  } = ee({
106
106
  queryKey: ne(a, p),
107
- queryFn: () => H(a, p),
108
- enabled: !!a && p.length > 0 && y
107
+ queryFn: () => Q(a, p),
108
+ enabled: !!a && p.length > 0 && v
109
109
  });
110
110
  K(
111
111
  (e) => {
@@ -123,32 +123,32 @@ const A = (t, d, i, l, s) => {
123
123
  }, [f]);
124
124
  const h = R(() => {
125
125
  if (!u) return [];
126
- const e = G(u), m = P(e);
127
- return w(m);
126
+ const e = j(u), m = w(e);
127
+ return x(m);
128
128
  }, [u]), D = [
129
129
  { key: "name", header: "name" },
130
130
  { key: "value", header: "value" },
131
131
  { key: "form", header: "form" }
132
- ], O = k || !y, _ = f && y, F = (!u || u.entry?.length === 0 || p.length === 0) && y, L = _ ? o("ERROR_FETCHING_OBSERVATIONS") : null, U = F ? o("NO_OBSERVATIONS_FOUND") : void 0, V = h.length > 0 && !O && !_, E = d.titleTranslationKey, v = E ? o(E) : "";
132
+ ], O = B || !v, _ = f && v, F = (!u || u.entry?.length === 0 || p.length === 0) && v, L = _ ? o("ERROR_FETCHING_OBSERVATIONS") : null, U = F ? o("NO_OBSERVATIONS_FOUND") : void 0, V = h.length > 0 && !O && !_, E = d.titleTranslationKey, y = E ? o(E) : "";
133
133
  return /* @__PURE__ */ I(
134
134
  "div",
135
135
  {
136
136
  id: "observations",
137
- "data-testid": E ? `observations-${v}` : "observations",
137
+ "data-testid": E ? `observations-${y}` : "observations",
138
138
  "aria-label": "observations-aria-label",
139
139
  className: $.observations,
140
140
  children: [
141
141
  /* @__PURE__ */ c(
142
- x,
142
+ G,
143
143
  {
144
144
  id: "observations-title",
145
- testId: E ? `observations-title-${v}` : "observations-title",
146
- title: v,
145
+ testId: E ? `observations-title-${y}` : "observations-title",
146
+ title: y,
147
147
  className: $.title,
148
- children: /* @__PURE__ */ c("p", { children: v })
148
+ children: /* @__PURE__ */ c("p", { children: y })
149
149
  }
150
150
  ),
151
- V ? /* @__PURE__ */ c(se, { groupedData: h, title: v }) : /* @__PURE__ */ c(
151
+ V ? /* @__PURE__ */ c(se, { groupedData: h, title: y }) : /* @__PURE__ */ c(
152
152
  M,
153
153
  {
154
154
  headers: D,
@@ -1,4 +1,4 @@
1
- import { r as we, s as z, t as xt, v as B, m as q, n as m, w as Ro, x as me, S as R, z as _, C as k, I as N, L as A, M as bs, N as ir, O as $e, _ as U, $ as Hn, a0 as Vn, a1 as dt, a2 as D, a3 as xs, a4 as cn, a5 as Be, a6 as ws, a7 as qt, a8 as zt, a9 as $s, aa as Cs, ab as $n, ac as Ss, ad as Nr, ae as Bt, af as zo, ag as ks, ah as Es, ai as j, aj as Ur, ak as Ms, al as Ds, am as sr, an as As, ao as Ts, ap as zn, aq as Fs, ar as Is, as as Z, at as Ps, au as Ls } from "./index-CHABx_nr.js";
1
+ import { r as we, s as z, t as xt, v as B, m as q, n as m, w as Ro, x as me, S as R, z as _, C as k, I as N, L as A, M as bs, N as ir, O as $e, _ as U, $ as Hn, a0 as Vn, a1 as dt, a2 as D, a3 as xs, a4 as cn, a5 as Be, a6 as ws, a7 as qt, a8 as zt, a9 as $s, aa as Cs, ab as $n, ac as Ss, ad as Nr, ae as Bt, af as zo, ag as ks, ah as Es, ai as j, aj as Ur, ak as Ms, al as Ds, am as sr, an as As, ao as Ts, ap as zn, aq as Fs, ar as Is, as as Z, at as Ps, au as Ls } from "./index-BWUKMECq.js";
2
2
  var Os = (e) => e != null, qs = (e) => e.filter(Os);
3
3
  function _s(e) {
4
4
  return (...t) => {