@bahmni/widgets 0.0.1-dev.275 → 0.0.1-dev.280

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,7 +1,7 @@
1
- import { jsx as r, jsxs as T, Fragment as Y } from "react/jsx-runtime";
2
- import { u as W, a as X, m as J, p as Z, R as x, b as ee, y as te } from "./index-uWfi2bKy.js";
1
+ import { jsx as r, jsxs as T, Fragment as X } from "react/jsx-runtime";
2
+ import { u as Y, a as W, m as J, X as Z, R as x, b as ee, I as te } from "./index-Cfvw6Moy.js";
3
3
  import { useQuery as ne } from "@tanstack/react-query";
4
- import { useState as m, useCallback as p, useEffect as I, useMemo as _ } from "react";
4
+ import { useState as m, useCallback as _, useEffect as g, useMemo as p } from "react";
5
5
  import { useTranslation as ae } from "react-i18next";
6
6
  const oe = "DocumentsTable-module_documentsTableBody__6iR3w", se = "DocumentsTable-module_viewAttachmentsLink__aQ1on", re = "DocumentsTable-module_documentViewerContainer__F5m8D", ce = "DocumentsTable-module_attachmentItem__17KA7", de = "DocumentsTable-module_attachmentCounter__WFiI3", le = "DocumentsTable-module_attachmentError__RI4U2", me = "DocumentsTable-module_documentIframe__ptq5I", ie = "DocumentsTable-module_documentImage__KQVgS", c = {
7
7
  documentsTableBody: oe,
@@ -34,16 +34,16 @@ const Te = [
34
34
  "uploadedOn",
35
35
  "uploadedBy",
36
36
  "action"
37
- ], pe = /\.(jpg|jpeg|png|gif|webp|bmp|svg)$/i, F = (n) => n.attachments.length > 0 ? n.attachments : n.documentUrl ? [{ url: n.documentUrl, contentType: n.contentType }] : [], Ie = ({ config: n, encounterUuids: f }) => {
37
+ ], _e = /\.(jpg|jpeg|png|gif|webp|bmp|svg)$/i, F = (n) => n.attachments.length > 0 ? n.attachments : n.documentUrl ? [{ url: n.documentUrl, contentType: n.contentType }] : [], ge = ({ config: n, encounterUuids: f }) => {
38
38
  const [d, M] = m(!1), [s, U] = m(
39
39
  null
40
40
  ), [P, A] = m(
41
41
  /* @__PURE__ */ new Set()
42
- ), E = W(), { t: o } = ae(), { addNotification: w } = X(), V = Number(n?.pageSize) || 5, [N, O] = m(1), [i, $] = m(V), [k, C] = m(void 0), v = p((e) => {
42
+ ), E = Y(), { t: o } = ae(), { addNotification: w } = W(), V = Number(n?.pageSize) || 5, [N, O] = m(1), [i, $] = m(V), [k, C] = m(void 0), v = _((e) => {
43
43
  U(e), M(!0);
44
- }, []), z = p(() => {
44
+ }, []), z = _(() => {
45
45
  M(!1), U(null), A(/* @__PURE__ */ new Set());
46
- }, []), R = p((e) => {
46
+ }, []), R = _((e) => {
47
47
  A((t) => new Set(t).add(e));
48
48
  }, []), { data: u, isLoading: H, isError: S, error: y } = ne({
49
49
  queryKey: [
@@ -61,23 +61,23 @@ const Te = [
61
61
  N
62
62
  )
63
63
  });
64
- I(() => {
64
+ g(() => {
65
65
  u && C(u.total);
66
- }, [u]), I(() => {
66
+ }, [u]), g(() => {
67
67
  O(1), C(void 0);
68
- }, [E]), I(() => {
68
+ }, [E]), g(() => {
69
69
  S && w({
70
70
  title: o("ERROR_DEFAULT_TITLE"),
71
71
  message: y?.message ?? "",
72
72
  type: "error"
73
73
  });
74
- }, [S, y, w, o]), I(() => {
74
+ }, [S, y, w, o]), g(() => {
75
75
  const e = new AbortController();
76
76
  return (async () => {
77
77
  if (!d || !s) return;
78
- const a = /* @__PURE__ */ new Set(), g = F(s);
79
- for (let l = 0; l < g.length; l++) {
80
- const b = B(g[l].url);
78
+ const a = /* @__PURE__ */ new Set(), I = F(s);
79
+ for (let l = 0; l < I.length; l++) {
80
+ const b = B(I[l].url);
81
81
  try {
82
82
  (await fetch(b, {
83
83
  method: "HEAD",
@@ -90,24 +90,24 @@ const Te = [
90
90
  e.signal.aborted || A(a);
91
91
  })(), () => e.abort();
92
92
  }, [d, s]);
93
- const q = p(
93
+ const q = _(
94
94
  (e, t) => {
95
95
  t !== i ? ($(t), O(1), C(void 0)) : O(e);
96
96
  },
97
97
  [i]
98
- ), D = _(
98
+ ), D = p(
99
99
  () => n?.fields ?? Te,
100
100
  [n?.fields]
101
- ), j = _(() => [...u?.documents ?? []].sort((t, a) => !t.uploadedOn && !a.uploadedOn ? 0 : t.uploadedOn ? a.uploadedOn ? new Date(a.uploadedOn).getTime() - new Date(t.uploadedOn).getTime() : -1 : 1), [u]), K = _(() => he(D, o), [D, o]), G = _(
101
+ ), j = p(() => [...u?.documents ?? []].sort((t, a) => !t.uploadedOn && !a.uploadedOn ? 0 : t.uploadedOn ? a.uploadedOn ? new Date(a.uploadedOn).getTime() - new Date(t.uploadedOn).getTime() : -1 : 1), [u]), K = p(() => he(D, o), [D, o]), G = p(
102
102
  () => D.map((e) => ({
103
103
  key: e,
104
104
  sortable: e !== "action"
105
105
  })),
106
106
  [D]
107
- ), h = _(
107
+ ), h = p(
108
108
  () => s ? F(s) : [],
109
109
  [s]
110
- ), Q = p(
110
+ ), Q = _(
111
111
  (e, t) => {
112
112
  switch (t) {
113
113
  case "documentIdentifier":
@@ -138,7 +138,7 @@ const Te = [
138
138
  },
139
139
  [v, o]
140
140
  );
141
- return /* @__PURE__ */ T(Y, { children: [
141
+ return /* @__PURE__ */ T(X, { children: [
142
142
  /* @__PURE__ */ r("div", { "data-testid": "documents-table", children: /* @__PURE__ */ r(
143
143
  ee,
144
144
  {
@@ -170,7 +170,7 @@ const Te = [
170
170
  size: "lg",
171
171
  testId: "document-view-modal",
172
172
  children: /* @__PURE__ */ r("div", { className: c.documentViewerContainer, children: h.map((e, t) => {
173
- const a = B(e.url), g = e.contentType?.toLowerCase().includes("pdf"), l = (e.contentType?.toLowerCase().includes("image") ?? !1) || pe.test(e.url ?? ""), b = P.has(t);
173
+ const a = B(e.url), I = e.contentType?.toLowerCase().includes("pdf"), l = (e.contentType?.toLowerCase().includes("image") ?? !1) || _e.test(e.url ?? ""), b = P.has(t);
174
174
  return a === "#" || b ? /* @__PURE__ */ T(
175
175
  "div",
176
176
  {
@@ -208,7 +208,7 @@ const Te = [
208
208
  ) : /* @__PURE__ */ r(
209
209
  "iframe",
210
210
  {
211
- src: g ? `${a}#toolbar=0` : a,
211
+ src: I ? `${a}#toolbar=0` : a,
212
212
  className: c.documentIframe,
213
213
  title: s.documentIdentifier,
214
214
  onError: () => R(t)
@@ -224,5 +224,5 @@ const Te = [
224
224
  ] });
225
225
  };
226
226
  export {
227
- Ie as default
227
+ ge as default
228
228
  };
@@ -1,5 +1,5 @@
1
1
  import { jsx as n, jsxs as Z, Fragment as ee } from "react/jsx-runtime";
2
- import { Y as re, u as te, C as oe, W as ae, G as se, K as ne, D as de, c as ie, M as U, R as me, p as le, b as x, e as ce, t as ue, y as fe, O as ye } from "./index-uWfi2bKy.js";
2
+ import { Y as re, u as te, C as oe, W as ae, G as se, K as ne, D as de, c as ie, M as U, R as me, X as le, b as x, J as ce, d as ue, I as fe, O as ye } from "./index-Cfvw6Moy.js";
3
3
  import { useQueryClient as be, useQuery as y } from "@tanstack/react-query";
4
4
  import { useState as k, useMemo as d, useCallback as b } from "react";
5
5
  import { useTranslation as pe } from "react-i18next";
@@ -8,20 +8,20 @@ const ge = "FormsTable-module_formsTableBody__SvGha", Fe = "FormsTable-module_cu
8
8
  customAccordianItem: Fe
9
9
  }, he = (m) => m ? m.extension?.find(
10
10
  (p) => p.url === re
11
- )?.valueString : void 0, Ae = ({
11
+ )?.valueString : void 0, Me = ({
12
12
  episodeOfCareUuids: m,
13
13
  encounterUuids: i,
14
14
  config: p
15
15
  }) => {
16
- const { t: s } = pe(), l = te(), [c, D] = k(!1), [o, M] = k(null), {
16
+ const { t: s } = pe(), l = te(), [c, D] = k(!1), [o, I] = k(null), {
17
17
  numberOfVisits: K,
18
18
  hideThumbnail: P = !1,
19
19
  forms: u
20
- } = p ?? {}, A = oe(
20
+ } = p ?? {}, M = oe(
21
21
  m,
22
22
  i
23
23
  ), w = be(), {
24
- data: I = [],
24
+ data: A = [],
25
25
  isLoading: v,
26
26
  isError: B,
27
27
  error: G,
@@ -29,15 +29,15 @@ const ge = "FormsTable-module_formsTableBody__SvGha", Fe = "FormsTable-module_cu
29
29
  } = y({
30
30
  queryKey: ["forms", l, m],
31
31
  queryFn: () => ae(l, void 0, K),
32
- enabled: !!l && !A
32
+ enabled: !!l && !M
33
33
  }), R = d(() => {
34
- let e = I;
34
+ let e = A;
35
35
  return i && i.length > 0 && (e = e.filter(
36
36
  (t) => i.includes(t.encounterUuid)
37
37
  )), Array.isArray(u) && u.length > 0 && (e = e.filter(
38
38
  (t) => u.some((r) => r.toLowerCase() === t.formName.toLowerCase())
39
39
  )), e;
40
- }, [I, i, u]), { data: T = [] } = y({
40
+ }, [A, i, u]), { data: T = [] } = y({
41
41
  queryKey: ["observationForms"],
42
42
  queryFn: () => se()
43
43
  }), L = b(
@@ -73,7 +73,7 @@ const ge = "FormsTable-module_formsTableBody__SvGha", Fe = "FormsTable-module_cu
73
73
  const Q = d(() => !h?.entry || !o?.formName ? [] : h.entry.filter((t) => t.resource?.resourceType === "Observation").map((t) => t.resource).filter((t) => {
74
74
  const r = he(t);
75
75
  return !r || r.includes(o.formName);
76
- }), [h, o?.formName]), Y = d(() => {
76
+ }), [h, o?.formName]), X = d(() => {
77
77
  if (F)
78
78
  return U(F).message;
79
79
  if (N)
@@ -84,7 +84,7 @@ const ge = "FormsTable-module_formsTableBody__SvGha", Fe = "FormsTable-module_cu
84
84
  { key: "recordedBy", header: s("RECORDED_BY") }
85
85
  ],
86
86
  [s]
87
- ), W = d(
87
+ ), Y = d(
88
88
  () => [
89
89
  { key: "recordedOn", sortable: !0 },
90
90
  { key: "recordedBy", sortable: !0 }
@@ -95,7 +95,7 @@ const ge = "FormsTable-module_formsTableBody__SvGha", Fe = "FormsTable-module_cu
95
95
  (r, a) => {
96
96
  const f = a.formName;
97
97
  r[f] ??= [];
98
- const E = a.providers.map((X) => X.providerName).filter(Boolean).join(", ");
98
+ const E = a.providers.map((W) => W.providerName).filter(Boolean).join(", ");
99
99
  return r[f].push({
100
100
  id: a.encounterUuid,
101
101
  formName: a.formName,
@@ -116,9 +116,9 @@ const ge = "FormsTable-module_formsTableBody__SvGha", Fe = "FormsTable-module_cu
116
116
  })
117
117
  ).sort((r, a) => r.formName.localeCompare(a.formName));
118
118
  }, [R, s]), S = b((e) => {
119
- M(e), D(!0);
119
+ I(e), D(!0);
120
120
  }, []), J = b(() => {
121
- D(!1), M(null);
121
+ D(!1), I(null);
122
122
  }, []), q = b(
123
123
  (e, t) => {
124
124
  switch (t) {
@@ -133,7 +133,7 @@ const ge = "FormsTable-module_formsTableBody__SvGha", Fe = "FormsTable-module_cu
133
133
  [S]
134
134
  );
135
135
  return /* @__PURE__ */ Z(ee, { children: [
136
- /* @__PURE__ */ n("div", { id: "forms-table", "data-testid": "forms-table", children: v || B || C.length === 0 || A ? /* @__PURE__ */ n(
136
+ /* @__PURE__ */ n("div", { id: "forms-table", "data-testid": "forms-table", children: v || B || C.length === 0 || M ? /* @__PURE__ */ n(
137
137
  x,
138
138
  {
139
139
  headers: _,
@@ -163,7 +163,7 @@ const ge = "FormsTable-module_formsTableBody__SvGha", Fe = "FormsTable-module_cu
163
163
  rows: a,
164
164
  loading: !1,
165
165
  errorStateMessage: "",
166
- sortable: W,
166
+ sortable: Y,
167
167
  emptyStateMessage: s("FORMS_UNAVAILABLE"),
168
168
  renderCell: q,
169
169
  className: O.formsTableBody,
@@ -192,7 +192,7 @@ const ge = "FormsTable-module_formsTableBody__SvGha", Fe = "FormsTable-module_cu
192
192
  observations: Q,
193
193
  isLoading: j || $,
194
194
  isError: V || z,
195
- errorMessage: Y,
195
+ errorMessage: X,
196
196
  emptyStateMessage: s("NO_FORM_DATA_AVAILABLE"),
197
197
  testIdPrefix: o.formName,
198
198
  hideThumbnail: P
@@ -203,5 +203,5 @@ const ge = "FormsTable-module_formsTableBody__SvGha", Fe = "FormsTable-module_cu
203
203
  ] });
204
204
  };
205
205
  export {
206
- Ae as default
206
+ Me as default
207
207
  };
@@ -1,12 +1,12 @@
1
- import { jsx as l, jsxs as C } from "react/jsx-runtime";
2
- import { f as V, x as D, d as k, g as w, i as Q, z as q, h as z, j as G, u as P, a as j, k as H, A as J, c as Y, l as x, n as W, s as X, T as Z, b as ee } from "./index-uWfi2bKy.js";
1
+ import { jsx as d, jsxs as C } from "react/jsx-runtime";
2
+ import { f as K, e as D, t as V, g as k, h as Q, p as q, i as G, j as P, u as j, a as H, k as z, A as J, c as Y, l as W, n as X, s as Z, o as x, b as ee } from "./index-Cfvw6Moy.js";
3
3
  import { useQueries as te, useQuery as se } from "@tanstack/react-query";
4
- import { useRef as oe, useEffect as S, useMemo as h } from "react";
4
+ import { useRef as oe, useEffect as S, useMemo as g } from "react";
5
5
  import { useTranslation as U } from "react-i18next";
6
- const A = (t, i, c, d, u, r) => {
7
- const s = k(t, i, u), o = s.value, a = w(o);
6
+ const A = (t, i, c, l, u, r) => {
7
+ const s = V(t, i, u), o = s.value, a = k(o);
8
8
  let n = o;
9
- a === "Image" && (n = /* @__PURE__ */ l(
9
+ a === "Image" && (n = /* @__PURE__ */ d(
10
10
  q,
11
11
  {
12
12
  imageSrc: o,
@@ -14,18 +14,18 @@ const A = (t, i, c, d, u, r) => {
14
14
  id: `${o}-img`,
15
15
  hideThumbnail: r
16
16
  }
17
- )), a === "Video" && (n = /* @__PURE__ */ l(
18
- z,
17
+ )), a === "Video" && (n = /* @__PURE__ */ d(
18
+ G,
19
19
  {
20
20
  id: `${o}-video`,
21
21
  videoSrc: o,
22
22
  hideThumbnail: r
23
23
  }
24
- )), a === "PDF" && (n = /* @__PURE__ */ l(G, { id: `${o}-pdf`, src: o }));
24
+ )), a === "PDF" && (n = /* @__PURE__ */ d(P, { id: `${o}-pdf`, src: o }));
25
25
  const b = u("OBSERVATIONS_RECORDED_BY", {
26
26
  provider: s.provider
27
- }), m = t.display, p = t.observationValue?.isAbnormal ? "abnormal-obs" : "obs", y = d ? `${d}-${p}-${m}-${c}-${i}` : `${p}-${m}-${c}-${i}`;
28
- return /* @__PURE__ */ l(
27
+ }), p = t.display, m = t.observationValue?.isAbnormal ? "abnormal-obs" : "obs", y = l ? `${l}-${m}-${p}-${c}-${i}` : `${m}-${p}-${c}-${i}`;
28
+ return /* @__PURE__ */ d(
29
29
  Q,
30
30
  {
31
31
  header: s.header,
@@ -37,11 +37,11 @@ const A = (t, i, c, d, u, r) => {
37
37
  },
38
38
  `obs-${t.id}`
39
39
  );
40
- }, re = (t, i, c, d, u, r, s) => /* @__PURE__ */ l(
40
+ }, re = (t, i, c, l, u, r, s) => /* @__PURE__ */ d(
41
41
  D,
42
42
  {
43
43
  title: t.display,
44
- id: `grouped-obs-${t.display}-${d}`,
44
+ id: `grouped-obs-${t.display}-${l}`,
45
45
  open: c,
46
46
  children: t.members?.map(
47
47
  (o, a) => A(
@@ -60,8 +60,8 @@ const A = (t, i, c, d, u, r) => {
60
60
  title: i = "",
61
61
  hideThumbnail: c
62
62
  }) => {
63
- const { t: d } = U(), u = (r, s, o) => {
64
- const a = V(r.encounterDetails, d);
63
+ const { t: l } = U(), u = (r, s, o) => {
64
+ const a = K(r.encounterDetails, l);
65
65
  return /* @__PURE__ */ C(
66
66
  D,
67
67
  {
@@ -75,14 +75,14 @@ const A = (t, i, c, d, u, r) => {
75
75
  b,
76
76
  o,
77
77
  i,
78
- d,
78
+ l,
79
79
  c
80
80
  )
81
81
  ),
82
82
  r.groupedObservations.map(
83
83
  (n, b) => re(
84
84
  n,
85
- d,
85
+ l,
86
86
  s,
87
87
  b,
88
88
  o,
@@ -95,7 +95,7 @@ const A = (t, i, c, d, u, r) => {
95
95
  `encounter-${r.encounterId}`
96
96
  );
97
97
  };
98
- return /* @__PURE__ */ l(
98
+ return /* @__PURE__ */ d(
99
99
  "div",
100
100
  {
101
101
  id: "obs-by-encounter",
@@ -109,15 +109,15 @@ const A = (t, i, c, d, u, r) => {
109
109
  }, ne = "Observations-module_observations__RKSyo", ie = "Observations-module_title__TJL3z", N = {
110
110
  observations: ne,
111
111
  title: ie
112
- }, ce = (t) => ["conceptUuid", t], de = (t, i) => ["observations", t, ...i], ve = ({ config: t }) => {
112
+ }, ce = (t) => ["conceptUuid", t], le = (t, i) => ["observations", t, ...i], ve = ({ config: t }) => {
113
113
  const i = t, {
114
114
  conceptNames: c = [],
115
- conceptUuid: d = [],
115
+ conceptUuid: l = [],
116
116
  hideThumbnail: u = !1
117
- } = i, r = oe(/* @__PURE__ */ new Set()), s = P(), { addNotification: o } = j(), { t: a } = U(), n = te({
117
+ } = i, r = oe(/* @__PURE__ */ new Set()), s = j(), { addNotification: o } = H(), { t: a } = U(), n = te({
118
118
  queries: c.map((e) => ({
119
119
  queryKey: ce(e),
120
- queryFn: () => H(e),
120
+ queryFn: () => z(e),
121
121
  enabled: !!e
122
122
  }))
123
123
  });
@@ -133,39 +133,39 @@ const A = (t, i, c, d, u, r) => {
133
133
  } else e.isError || r.current.delete(v);
134
134
  });
135
135
  }, [n, c]);
136
- const b = h(() => n.map((e) => e.data?.uuid).filter((e) => !!e), [n]), m = h(() => [.../* @__PURE__ */ new Set([...b, ...d])], [b, d]), f = h(() => c.length === 0 ? !0 : n.every((e) => !e.isLoading), [n, c.length]), {
137
- data: p,
136
+ const b = g(() => n.map((e) => e.data?.uuid).filter((e) => !!e), [n]), p = g(() => [.../* @__PURE__ */ new Set([...b, ...l])], [b, l]), f = g(() => c.length === 0 ? !0 : n.every((e) => !e.isLoading), [n, c.length]), {
137
+ data: m,
138
138
  isLoading: y,
139
- isError: g,
139
+ isError: h,
140
140
  refetch: T
141
141
  } = se({
142
- queryKey: de(s, m),
143
- queryFn: () => J(s, m),
144
- enabled: !!s && m.length > 0 && f
142
+ queryKey: le(s, p),
143
+ queryFn: () => J(s, p),
144
+ enabled: !!s && p.length > 0 && f
145
145
  });
146
146
  Y(
147
147
  (e) => {
148
148
  e.patientUUID === s && e.updatedConcepts.size > 0 && [...e.updatedConcepts.keys()].some(
149
- (R) => m.includes(R)
149
+ (R) => p.includes(R)
150
150
  ) && T();
151
151
  },
152
152
  [s, T]
153
153
  ), S(() => {
154
- g && o({
154
+ h && o({
155
155
  title: a("ERROR_DEFAULT_TITLE"),
156
156
  message: a("ERROR_FETCHING_OBSERVATIONS"),
157
157
  type: "error"
158
158
  });
159
- }, [g]);
160
- const _ = h(() => {
161
- if (!p) return [];
162
- const e = x(p), v = W(e);
163
- return X(v);
164
- }, [p]), B = [
159
+ }, [h]);
160
+ const _ = g(() => {
161
+ if (!m) return [];
162
+ const e = W(m), v = X(e);
163
+ return Z(v);
164
+ }, [m]), B = [
165
165
  { key: "name", header: "name" },
166
166
  { key: "value", header: "value" },
167
167
  { key: "form", header: "form" }
168
- ], I = y || !f, $ = g && f, F = (!p || p.entry?.length === 0 || m.length === 0) && f, L = $ ? a("ERROR_FETCHING_OBSERVATIONS") : null, K = F ? a("NO_OBSERVATIONS_FOUND") : void 0, M = _.length > 0 && !I && !$, O = i.titleTranslationKey, E = O ? a(O) : "";
168
+ ], I = y || !f, $ = h && f, w = (!m || m.entry?.length === 0 || p.length === 0) && f, F = $ ? a("ERROR_FETCHING_OBSERVATIONS") : null, L = w ? a("NO_OBSERVATIONS_FOUND") : void 0, M = _.length > 0 && !I && !$, O = i.titleTranslationKey, E = O ? a(O) : "";
169
169
  return /* @__PURE__ */ C(
170
170
  "div",
171
171
  {
@@ -174,32 +174,32 @@ const A = (t, i, c, d, u, r) => {
174
174
  "aria-label": "observations-aria-label",
175
175
  className: N.observations,
176
176
  children: [
177
- /* @__PURE__ */ l(
178
- Z,
177
+ /* @__PURE__ */ d(
178
+ x,
179
179
  {
180
180
  id: "observations-title",
181
181
  testId: O ? `observations-title-${E}` : "observations-title",
182
182
  title: E,
183
183
  className: N.title,
184
- children: /* @__PURE__ */ l("p", { children: E })
184
+ children: /* @__PURE__ */ d("p", { children: E })
185
185
  }
186
186
  ),
187
- M ? /* @__PURE__ */ l(
187
+ M ? /* @__PURE__ */ d(
188
188
  ae,
189
189
  {
190
190
  groupedData: _,
191
191
  title: E,
192
192
  hideThumbnail: u
193
193
  }
194
- ) : /* @__PURE__ */ l(
194
+ ) : /* @__PURE__ */ d(
195
195
  ee,
196
196
  {
197
197
  headers: B,
198
198
  rows: [],
199
199
  ariaLabel: a("OBSERVATIONS"),
200
200
  loading: I,
201
- errorStateMessage: L,
202
- emptyStateMessage: K,
201
+ errorStateMessage: F,
202
+ emptyStateMessage: L,
203
203
  dataTestId: "observations-table"
204
204
  }
205
205
  )
@@ -210,5 +210,5 @@ const A = (t, i, c, d, u, r) => {
210
210
  export {
211
211
  ce as conceptUuidQueryKeys,
212
212
  ve as default,
213
- de as observationsQueryKeys
213
+ le as observationsQueryKeys
214
214
  };