@bahmni/widgets 0.0.1-dev.476 → 0.0.1-dev.478
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.
- package/dist/{DocumentsTable-DpJOcXIi.js → DocumentsTable-DuuobxFg.js} +11 -11
- package/dist/{FormsTable-E1ZjD1EK.js → FormsTable-DXbo4A-P.js} +25 -25
- package/dist/{Observations-DX85kTDI.js → Observations-BKKZ8-hB.js} +33 -33
- package/dist/allergies/AllergiesTable.d.ts.map +1 -1
- package/dist/documentPrintButton/printOptionHandlers.d.ts.map +1 -1
- package/dist/{index-Dbjt5_ga.js → index-Ck_eR9tV.js} +11218 -11205
- package/dist/{index-BvBWYChS.js → index-DNnby-90.js} +1 -1
- package/dist/index.css +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as a, jsxs as h, Fragment as pe } from "react/jsx-runtime";
|
|
2
|
-
import { u as _e, a as Ae, b as ge,
|
|
2
|
+
import { u as _e, a as Ae, b as ge, d as Ee, c as fe, l as Ce, e as Ie, f as y, p as De, g as Ne, w as Le, h as be, S as Se, i as Q, j as ye, k as ve, A as Oe, F as we, m as Me, n as J, B as ee } from "./index-Ck_eR9tV.js";
|
|
3
3
|
import { useQuery as Ue } from "@tanstack/react-query";
|
|
4
4
|
import { useState as T, useRef as Re, useEffect as _, useMemo as A, useCallback as p } from "react";
|
|
5
5
|
import { useTranslation as ke } from "react-i18next";
|
|
@@ -100,7 +100,7 @@ const Be = "DocumentsTable-module_documentsTableBody__6iR3w", Pe = "DocumentsTab
|
|
|
100
100
|
if (!m || !r) return;
|
|
101
101
|
const n = /* @__PURE__ */ new Set(), i = x(r);
|
|
102
102
|
for (let c = 0; c < i.length; c++) {
|
|
103
|
-
const f =
|
|
103
|
+
const f = y(i[c].url);
|
|
104
104
|
try {
|
|
105
105
|
(await fetch(f, {
|
|
106
106
|
method: "HEAD",
|
|
@@ -138,20 +138,20 @@ const Be = "DocumentsTable-module_documentsTableBody__6iR3w", Pe = "DocumentsTab
|
|
|
138
138
|
t !== I ? (oe(t), U(1), R(void 0)) : U(e);
|
|
139
139
|
},
|
|
140
140
|
[I]
|
|
141
|
-
),
|
|
141
|
+
), S = A(
|
|
142
142
|
() => l?.fields ?? tt,
|
|
143
143
|
[l?.fields]
|
|
144
|
-
), ie = A(() => [...D?.documents ?? []].sort((t, n) => !t.uploadedOn && !n.uploadedOn ? 0 : t.uploadedOn ? n.uploadedOn ? new Date(n.uploadedOn).getTime() - new Date(t.uploadedOn).getTime() : -1 : 1), [D]), me = A(() => Ie(
|
|
145
|
-
() =>
|
|
144
|
+
), ie = A(() => [...D?.documents ?? []].sort((t, n) => !t.uploadedOn && !n.uploadedOn ? 0 : t.uploadedOn ? n.uploadedOn ? new Date(n.uploadedOn).getTime() - new Date(t.uploadedOn).getTime() : -1 : 1), [D]), me = A(() => Ie(S, o), [S, o]), ue = A(
|
|
145
|
+
() => S.map((e) => ({
|
|
146
146
|
key: e,
|
|
147
147
|
sortable: e !== "attachments"
|
|
148
148
|
})),
|
|
149
|
-
[
|
|
149
|
+
[S]
|
|
150
150
|
), d = A(
|
|
151
151
|
() => r ? x(r) : [],
|
|
152
152
|
[r]
|
|
153
153
|
), j = d.every(
|
|
154
|
-
(e, t) => L.has(t) || N.has(t) ||
|
|
154
|
+
(e, t) => L.has(t) || N.has(t) || y(e.url) === "#"
|
|
155
155
|
);
|
|
156
156
|
_(() => {
|
|
157
157
|
if (!m || d.length === 0) return;
|
|
@@ -186,7 +186,7 @@ const Be = "DocumentsTable-module_documentsTableBody__6iR3w", Pe = "DocumentsTab
|
|
|
186
186
|
[r, b, o]
|
|
187
187
|
), Y = A(
|
|
188
188
|
() => d.filter(
|
|
189
|
-
(e, t) =>
|
|
189
|
+
(e, t) => y(e.url) !== "#" && !N.has(t)
|
|
190
190
|
),
|
|
191
191
|
[d, N]
|
|
192
192
|
), he = p(
|
|
@@ -232,7 +232,7 @@ const Be = "DocumentsTable-module_documentsTableBody__6iR3w", Pe = "DocumentsTab
|
|
|
232
232
|
[V, o]
|
|
233
233
|
);
|
|
234
234
|
return /* @__PURE__ */ h(pe, { children: [
|
|
235
|
-
ne && /* @__PURE__ */ h(
|
|
235
|
+
ne && /* @__PURE__ */ h(Se, { className: s.header, testId: "documents-header", children: [
|
|
236
236
|
/* @__PURE__ */ a("p", { children: o("DOCUMENTS_TABLE_HEADING") }),
|
|
237
237
|
/* @__PURE__ */ a(
|
|
238
238
|
Q,
|
|
@@ -243,7 +243,7 @@ const Be = "DocumentsTable-module_documentsTableBody__6iR3w", Pe = "DocumentsTab
|
|
|
243
243
|
label: o(E.label),
|
|
244
244
|
testId: "documents-add-button",
|
|
245
245
|
onClick: ce,
|
|
246
|
-
children: /* @__PURE__ */ a(
|
|
246
|
+
children: /* @__PURE__ */ a(ye, { id: "documents-add-icon", name: "fa-plus", size: ve.LG })
|
|
247
247
|
}
|
|
248
248
|
)
|
|
249
249
|
] }),
|
|
@@ -292,7 +292,7 @@ const Be = "DocumentsTable-module_documentsTableBody__6iR3w", Pe = "DocumentsTab
|
|
|
292
292
|
}
|
|
293
293
|
),
|
|
294
294
|
d.map((e, t) => {
|
|
295
|
-
const n =
|
|
295
|
+
const n = y(e.url), i = e.contentType?.toLowerCase().includes("pdf"), c = (e.contentType?.toLowerCase().includes("image") ?? !1) || nt.test(e.url ?? ""), f = N.has(t);
|
|
296
296
|
return n === "#" || f ? /* @__PURE__ */ h(
|
|
297
297
|
"div",
|
|
298
298
|
{
|
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
import { jsx as n, jsxs as
|
|
2
|
-
import { u as de, b as le,
|
|
1
|
+
import { jsx as n, jsxs as q, Fragment as ie } from "react/jsx-runtime";
|
|
2
|
+
import { u as de, b as le, o as me, q as ce, K as ue, Y as fe, r as ye, l as be, s as he, t as pe, H as ge, w as Ne, d as Oe, i as x, G as V, g as Fe, A as G, v as Ie, x as Te, F as Ae, O as Ee, C as ve } from "./index-Ck_eR9tV.js";
|
|
3
3
|
import { useQueryClient as Re, useQuery as A } from "@tanstack/react-query";
|
|
4
|
-
import { useState as
|
|
5
|
-
import { useTranslation as
|
|
6
|
-
const
|
|
7
|
-
formsTableBody:
|
|
4
|
+
import { useState as K, useMemo as i, useCallback as d } from "react";
|
|
5
|
+
import { useTranslation as De } from "react-i18next";
|
|
6
|
+
const _e = "FormsTable-module_formsTableBody__SvGha", Be = "FormsTable-module_modalHeading__wnTmA", Le = "FormsTable-module_customAccordianItem__isszs", p = {
|
|
7
|
+
formsTableBody: _e,
|
|
8
8
|
modalHeading: Be,
|
|
9
9
|
customAccordianItem: Le
|
|
10
10
|
}, ke = ({
|
|
11
11
|
episodeOfCareUuids: E,
|
|
12
12
|
encounterUuids: m,
|
|
13
|
-
config:
|
|
14
|
-
disableActions:
|
|
13
|
+
config: $,
|
|
14
|
+
disableActions: j = !1,
|
|
15
15
|
activeEncounterUuid: y = null
|
|
16
16
|
}) => {
|
|
17
|
-
const { t: o } =
|
|
18
|
-
numberOfVisits:
|
|
17
|
+
const { t: o } = De(), c = de(), [g, v] = K(!1), [a, R] = K(null), {
|
|
18
|
+
numberOfVisits: z,
|
|
19
19
|
hideThumbnail: Q = !1,
|
|
20
20
|
forms: b
|
|
21
|
-
} =
|
|
21
|
+
} = $ ?? {}, Y = le(
|
|
22
22
|
ve.EDIT_OBSERVATIONS
|
|
23
|
-
), { userPrivileges: h } = me(), N =
|
|
23
|
+
), { userPrivileges: h } = me(), N = Y && !j && !!y, D = ce(
|
|
24
24
|
E,
|
|
25
25
|
m
|
|
26
|
-
),
|
|
27
|
-
data:
|
|
26
|
+
), W = Re(), {
|
|
27
|
+
data: _ = [],
|
|
28
28
|
isLoading: B,
|
|
29
29
|
isError: L,
|
|
30
30
|
error: J,
|
|
31
31
|
refetch: X
|
|
32
32
|
} = A({
|
|
33
33
|
queryKey: ["forms", c, E],
|
|
34
|
-
queryFn: () => ue(c, void 0,
|
|
35
|
-
enabled: !!c && !
|
|
34
|
+
queryFn: () => ue(c, void 0, z),
|
|
35
|
+
enabled: !!c && !D
|
|
36
36
|
}), C = i(() => {
|
|
37
|
-
let e =
|
|
37
|
+
let e = _;
|
|
38
38
|
return m && m.length > 0 && (e = e.filter(
|
|
39
39
|
(t) => m.includes(t.encounterUuid)
|
|
40
40
|
)), Array.isArray(b) && b.length > 0 && (e = e.filter(
|
|
41
41
|
(t) => b.some((s) => s.toLowerCase() === t.formName.toLowerCase())
|
|
42
42
|
)), e;
|
|
43
|
-
}, [
|
|
43
|
+
}, [_, m, b]), { data: M = [] } = A({
|
|
44
44
|
queryKey: ["observationForms"],
|
|
45
45
|
queryFn: () => fe()
|
|
46
46
|
}), S = d(
|
|
@@ -71,7 +71,7 @@ const De = "FormsTable-module_formsTableBody__SvGha", Be = "FormsTable-module_mo
|
|
|
71
71
|
});
|
|
72
72
|
be(
|
|
73
73
|
(e) => {
|
|
74
|
-
e.patientUUID === c && (X(),
|
|
74
|
+
e.patientUUID === c && (X(), W.invalidateQueries({ queryKey: ["formsEncounterFHIR"] }));
|
|
75
75
|
},
|
|
76
76
|
[c]
|
|
77
77
|
);
|
|
@@ -134,7 +134,7 @@ const De = "FormsTable-module_formsTableBody__SvGha", Be = "FormsTable-module_mo
|
|
|
134
134
|
},
|
|
135
135
|
action: { type: "update", resourceType: "Observation" }
|
|
136
136
|
});
|
|
137
|
-
}, []),
|
|
137
|
+
}, []), P = d(
|
|
138
138
|
(e, t) => {
|
|
139
139
|
switch (t) {
|
|
140
140
|
case "recordedOn":
|
|
@@ -159,8 +159,8 @@ const De = "FormsTable-module_formsTableBody__SvGha", Be = "FormsTable-module_mo
|
|
|
159
159
|
},
|
|
160
160
|
[k, I, u, o]
|
|
161
161
|
);
|
|
162
|
-
return /* @__PURE__ */
|
|
163
|
-
/* @__PURE__ */ n("div", { id: "forms-table", "data-testid": "forms-table", children: B || L || H.length === 0 ||
|
|
162
|
+
return /* @__PURE__ */ q(ie, { children: [
|
|
163
|
+
/* @__PURE__ */ n("div", { id: "forms-table", "data-testid": "forms-table", children: B || L || H.length === 0 || D ? /* @__PURE__ */ n(
|
|
164
164
|
G,
|
|
165
165
|
{
|
|
166
166
|
headers: oe,
|
|
@@ -169,7 +169,7 @@ const De = "FormsTable-module_formsTableBody__SvGha", Be = "FormsTable-module_mo
|
|
|
169
169
|
loading: B,
|
|
170
170
|
errorStateMessage: L ? J?.message : void 0,
|
|
171
171
|
emptyStateMessage: o("FORMS_UNAVAILABLE"),
|
|
172
|
-
renderCell:
|
|
172
|
+
renderCell: P,
|
|
173
173
|
className: p.formsTableBody,
|
|
174
174
|
dataTestId: "forms-table"
|
|
175
175
|
}
|
|
@@ -192,7 +192,7 @@ const De = "FormsTable-module_formsTableBody__SvGha", Be = "FormsTable-module_mo
|
|
|
192
192
|
errorStateMessage: "",
|
|
193
193
|
sortable: ae,
|
|
194
194
|
emptyStateMessage: o("FORMS_UNAVAILABLE"),
|
|
195
|
-
renderCell:
|
|
195
|
+
renderCell: P,
|
|
196
196
|
className: p.formsTableBody,
|
|
197
197
|
dataTestId: `forms-table-${s}`
|
|
198
198
|
}
|
|
@@ -208,7 +208,7 @@ const De = "FormsTable-module_formsTableBody__SvGha", Be = "FormsTable-module_mo
|
|
|
208
208
|
portalId: "main-display-area",
|
|
209
209
|
open: g,
|
|
210
210
|
onRequestClose: U,
|
|
211
|
-
modalHeading: /* @__PURE__ */
|
|
211
|
+
modalHeading: /* @__PURE__ */ q("div", { className: p.modalHeading, children: [
|
|
212
212
|
/* @__PURE__ */ n("span", { children: a.formName }),
|
|
213
213
|
N && u(a) && /* @__PURE__ */ n(
|
|
214
214
|
x,
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { jsx as i, jsxs as N } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { y as z, _ as w, z as G, D as H, w as P, E as j, I as J, L as x, J as Y, u as W, a as X, M as Z, q as ee, N as se, P as te, l as re, Q as ae, R as oe, T as ne, U as ie, S as ce, A as le } from "./index-Ck_eR9tV.js";
|
|
3
3
|
import { useQueries as de, useQuery as ue } from "@tanstack/react-query";
|
|
4
4
|
import { useRef as pe, useEffect as C, useMemo as I } from "react";
|
|
5
|
-
import { useTranslation as
|
|
5
|
+
import { useTranslation as U } from "react-i18next";
|
|
6
6
|
const me = "Observations-module_observations__RKSyo", be = "Observations-module_title__TJL3z", ve = "Observations-module_wrapper__muk2L", ye = "Observations-module_secondary__14nuS", y = {
|
|
7
7
|
observations: me,
|
|
8
8
|
title: be,
|
|
9
9
|
wrapper: ve,
|
|
10
10
|
secondary: ye
|
|
11
|
-
},
|
|
12
|
-
const a =
|
|
11
|
+
}, F = (t, l, n, c, u, r) => {
|
|
12
|
+
const a = G(t, l, u), e = a.value, p = H(e);
|
|
13
13
|
let o = e;
|
|
14
14
|
p === "Image" && (o = /* @__PURE__ */ i(
|
|
15
15
|
J,
|
|
@@ -35,27 +35,27 @@ const me = "Observations-module_observations__RKSyo", be = "Observations-module_
|
|
|
35
35
|
}), b = t.effectiveDateTime ? P(t.effectiveDateTime, u, !0).formattedResult : void 0, g = /* @__PURE__ */ N("div", { className: y.wrapper, children: [
|
|
36
36
|
/* @__PURE__ */ i("span", { children: d }),
|
|
37
37
|
b && /* @__PURE__ */ i("span", { className: y.secondary, children: b })
|
|
38
|
-
] }), v = t.display,
|
|
38
|
+
] }), v = t.display, _ = t.observationValue?.isAbnormal ? "abnormal-obs" : "obs", O = c ? `${c}-${_}-${v}-${n}-${l}` : `${_}-${v}-${n}-${l}`;
|
|
39
39
|
return /* @__PURE__ */ i(
|
|
40
40
|
j,
|
|
41
41
|
{
|
|
42
42
|
header: m,
|
|
43
43
|
value: o,
|
|
44
44
|
info: g,
|
|
45
|
-
id:
|
|
46
|
-
testId:
|
|
47
|
-
ariaLabel:
|
|
45
|
+
id: O,
|
|
46
|
+
testId: O,
|
|
47
|
+
ariaLabel: O
|
|
48
48
|
},
|
|
49
49
|
`obs-${t.id}`
|
|
50
50
|
);
|
|
51
51
|
}, fe = (t, l, n, c, u, r, a) => /* @__PURE__ */ i(
|
|
52
|
-
|
|
52
|
+
w,
|
|
53
53
|
{
|
|
54
54
|
title: t.display,
|
|
55
55
|
id: `grouped-obs-${t.display}-${c}`,
|
|
56
56
|
open: n,
|
|
57
57
|
children: t.members?.map(
|
|
58
|
-
(e, p) =>
|
|
58
|
+
(e, p) => F(
|
|
59
59
|
e,
|
|
60
60
|
p,
|
|
61
61
|
u,
|
|
@@ -66,22 +66,22 @@ const me = "Observations-module_observations__RKSyo", be = "Observations-module_
|
|
|
66
66
|
)
|
|
67
67
|
},
|
|
68
68
|
`grouped-obs-${t.id}`
|
|
69
|
-
),
|
|
69
|
+
), Oe = ({
|
|
70
70
|
groupedData: t,
|
|
71
71
|
title: l = "",
|
|
72
72
|
hideThumbnail: n
|
|
73
73
|
}) => {
|
|
74
|
-
const { t: c } =
|
|
75
|
-
const p =
|
|
74
|
+
const { t: c } = U(), u = (r, a, e) => {
|
|
75
|
+
const p = z(r.encounterDetails, c);
|
|
76
76
|
return /* @__PURE__ */ N(
|
|
77
|
-
|
|
77
|
+
w,
|
|
78
78
|
{
|
|
79
79
|
title: p,
|
|
80
80
|
id: `encounter-${r.encounterId}`,
|
|
81
81
|
open: a,
|
|
82
82
|
children: [
|
|
83
83
|
r.observations.map(
|
|
84
|
-
(o, m) =>
|
|
84
|
+
(o, m) => F(
|
|
85
85
|
o,
|
|
86
86
|
m,
|
|
87
87
|
e,
|
|
@@ -117,7 +117,7 @@ const me = "Observations-module_observations__RKSyo", be = "Observations-module_
|
|
|
117
117
|
)
|
|
118
118
|
}
|
|
119
119
|
);
|
|
120
|
-
},
|
|
120
|
+
}, Ee = (t) => ["conceptUuid", t], he = (t, l, n, c) => [
|
|
121
121
|
"observations",
|
|
122
122
|
t,
|
|
123
123
|
...l,
|
|
@@ -133,9 +133,9 @@ const me = "Observations-module_observations__RKSyo", be = "Observations-module_
|
|
|
133
133
|
conceptUuid: r = [],
|
|
134
134
|
hideThumbnail: a = !1,
|
|
135
135
|
scope: e = "all"
|
|
136
|
-
} = c, p = pe(/* @__PURE__ */ new Set()), o = W(), { addNotification: m } = X(), { t: d } =
|
|
136
|
+
} = c, p = pe(/* @__PURE__ */ new Set()), o = W(), { addNotification: m } = X(), { t: d } = U(), b = de({
|
|
137
137
|
queries: u.map((s) => ({
|
|
138
|
-
queryKey:
|
|
138
|
+
queryKey: Ee(s),
|
|
139
139
|
queryFn: () => Z(s),
|
|
140
140
|
enabled: !!s
|
|
141
141
|
}))
|
|
@@ -148,11 +148,11 @@ const me = "Observations-module_observations__RKSyo", be = "Observations-module_
|
|
|
148
148
|
type: "error"
|
|
149
149
|
}), p.current.add(0)) : !s && R && p.current.clear();
|
|
150
150
|
}, [b, m, d]);
|
|
151
|
-
const g = I(() => b.map((s) => s.data?.uuid).filter((s) => !!s), [b]), v = I(() => [.../* @__PURE__ */ new Set([...g, ...r])], [g, r]), f = I(() => u.length === 0 ? !0 : b.every((s) => !s.isLoading), [b, u.length]),
|
|
151
|
+
const g = I(() => b.map((s) => s.data?.uuid).filter((s) => !!s), [b]), v = I(() => [.../* @__PURE__ */ new Set([...g, ...r])], [g, r]), f = I(() => u.length === 0 ? !0 : b.every((s) => !s.isLoading), [b, u.length]), _ = e === "latest" || e === "latest-encounter", O = ee(
|
|
152
152
|
l,
|
|
153
153
|
n
|
|
154
154
|
), {
|
|
155
|
-
data:
|
|
155
|
+
data: E,
|
|
156
156
|
isLoading: V,
|
|
157
157
|
isError: S,
|
|
158
158
|
refetch: A
|
|
@@ -163,7 +163,7 @@ const me = "Observations-module_observations__RKSyo", be = "Observations-module_
|
|
|
163
163
|
n,
|
|
164
164
|
e
|
|
165
165
|
),
|
|
166
|
-
queryFn: () =>
|
|
166
|
+
queryFn: () => _ ? se(
|
|
167
167
|
o,
|
|
168
168
|
v,
|
|
169
169
|
n
|
|
@@ -172,7 +172,7 @@ const me = "Observations-module_observations__RKSyo", be = "Observations-module_
|
|
|
172
172
|
v,
|
|
173
173
|
n
|
|
174
174
|
),
|
|
175
|
-
enabled: !!o && v.length > 0 && f && !
|
|
175
|
+
enabled: !!o && v.length > 0 && f && !O
|
|
176
176
|
});
|
|
177
177
|
re(
|
|
178
178
|
(s) => {
|
|
@@ -189,21 +189,21 @@ const me = "Observations-module_observations__RKSyo", be = "Observations-module_
|
|
|
189
189
|
});
|
|
190
190
|
}, [S]);
|
|
191
191
|
const D = I(() => {
|
|
192
|
-
if (!
|
|
193
|
-
let s = ae(
|
|
192
|
+
if (!E) return [];
|
|
193
|
+
let s = ae(E);
|
|
194
194
|
e === "latest-encounter" && (s = oe(s));
|
|
195
195
|
const R = ne(s);
|
|
196
196
|
return ie(R);
|
|
197
|
-
}, [
|
|
197
|
+
}, [E, e]), M = [
|
|
198
198
|
{ key: "name", header: "name" },
|
|
199
199
|
{ key: "value", header: "value" },
|
|
200
200
|
{ key: "form", header: "form" }
|
|
201
|
-
], L = V || !f, B = S && f,
|
|
201
|
+
], L = V || !f, B = S && f, K = (!E || E.entry?.length === 0 || v.length === 0) && f, Q = B ? d("ERROR_FETCHING_OBSERVATIONS") : null, q = K ? d("NO_OBSERVATIONS_FOUND") : void 0, k = D.length > 0 && !L && !B, T = c.titleTranslationKey, h = T ? d(T) : "";
|
|
202
202
|
return /* @__PURE__ */ N(
|
|
203
203
|
"div",
|
|
204
204
|
{
|
|
205
205
|
id: "observations",
|
|
206
|
-
"data-testid":
|
|
206
|
+
"data-testid": T ? `observations-${h}` : "observations",
|
|
207
207
|
"aria-label": "observations-aria-label",
|
|
208
208
|
className: y.observations,
|
|
209
209
|
children: [
|
|
@@ -211,14 +211,14 @@ const me = "Observations-module_observations__RKSyo", be = "Observations-module_
|
|
|
211
211
|
ce,
|
|
212
212
|
{
|
|
213
213
|
id: "observations-title",
|
|
214
|
-
testId:
|
|
214
|
+
testId: T ? `observations-title-${h}` : "observations-title",
|
|
215
215
|
title: h,
|
|
216
216
|
className: y.title,
|
|
217
217
|
children: /* @__PURE__ */ i("p", { children: h })
|
|
218
218
|
}
|
|
219
219
|
),
|
|
220
220
|
k ? /* @__PURE__ */ i(
|
|
221
|
-
|
|
221
|
+
Oe,
|
|
222
222
|
{
|
|
223
223
|
groupedData: D,
|
|
224
224
|
title: h,
|
|
@@ -227,12 +227,12 @@ const me = "Observations-module_observations__RKSyo", be = "Observations-module_
|
|
|
227
227
|
) : /* @__PURE__ */ i(
|
|
228
228
|
le,
|
|
229
229
|
{
|
|
230
|
-
headers:
|
|
230
|
+
headers: M,
|
|
231
231
|
rows: [],
|
|
232
232
|
ariaLabel: d("OBSERVATIONS"),
|
|
233
233
|
loading: L,
|
|
234
|
-
errorStateMessage:
|
|
235
|
-
emptyStateMessage:
|
|
234
|
+
errorStateMessage: Q,
|
|
235
|
+
emptyStateMessage: q ?? d("NO_OBSERVATIONS_AVAILABLE"),
|
|
236
236
|
dataTestId: "observations-table"
|
|
237
237
|
}
|
|
238
238
|
)
|
|
@@ -241,7 +241,7 @@ const me = "Observations-module_observations__RKSyo", be = "Observations-module_
|
|
|
241
241
|
);
|
|
242
242
|
};
|
|
243
243
|
export {
|
|
244
|
-
|
|
244
|
+
Ee as conceptUuidQueryKeys,
|
|
245
245
|
Ne as default,
|
|
246
246
|
he as observationsQueryKeys
|
|
247
247
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AllergiesTable.d.ts","sourceRoot":"","sources":["../../src/allergies/AllergiesTable.tsx"],"names":[],"mappings":"AAoBA,OAAO,KAAoD,MAAM,OAAO,CAAC;AAGzE,OAAO,EAAsB,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAyBpE,QAAA,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,
|
|
1
|
+
{"version":3,"file":"AllergiesTable.d.ts","sourceRoot":"","sources":["../../src/allergies/AllergiesTable.tsx"],"names":[],"mappings":"AAoBA,OAAO,KAAoD,MAAM,OAAO,CAAC;AAGzE,OAAO,EAAsB,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAyBpE,QAAA,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAwLzC,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"printOptionHandlers.d.ts","sourceRoot":"","sources":["../../src/documentPrintButton/printOptionHandlers.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"printOptionHandlers.d.ts","sourceRoot":"","sources":["../../src/documentPrintButton/printOptionHandlers.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAG3E,MAAM,WAAW,oBAAoB;IACnC,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACrC,aAAa,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;IACzE,aAAa,EAAE,CAAC,UAAU,EAAE,OAAO,KAAK,IAAI,CAAC;CAC9C;AAED,MAAM,WAAW,yBAA0B,SAAQ,oBAAoB;IACrE,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACtC,UAAU,EAAE,CAAC,MAAM,EAAE,cAAc,CAAC,OAAO,CAAC,EAAE,MAAM,EAAE,WAAW,KAAK,IAAI,CAAC;CAC5E;AAED,MAAM,WAAW,kBAAkB;IACjC,OAAO,EAAE,CAAC,MAAM,EAAE,WAAW,EAAE,GAAG,EAAE,yBAAyB,KAAK,IAAI,CAAC;CACxE;AAED,wBAAsB,aAAa,CACjC,MAAM,EAAE,WAAW,EACnB,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EACrC,GAAG,EAAE,oBAAoB,EACzB,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAClC,OAAO,CAAC,IAAI,CAAC,CAoCf;AAED,eAAO,MAAM,kBAAkB,EAAE,kBAEhC,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAChC,QAAQ,cAAc,CAAC,OAAO,CAAC,KAC9B,kBAED,CAAC;AAUH,wBAAgB,aAAa,CAAC,MAAM,EAAE,WAAW,GAAG,kBAAkB,CAOrE"}
|