@bahmni/appointments-app 0.0.1-dev.189 → 0.0.1-dev.191
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-BCnYVvIx-DkjD5EMK.js +202 -0
- package/dist/{FormsTable-BUw2KCew-DFrzYZQv.js → FormsTable-DFknJTr7-KWIKlcuY.js} +10 -10
- package/dist/{LNWAZHJI-Dqcnyu8p.js → LNWAZHJI-CcqFpevw.js} +2 -2
- package/dist/{MWZ6AO7Z-BRNK5Khx.js → MWZ6AO7Z-B2LG7tHX.js} +2 -2
- package/dist/{Observations-D9XzsEPN-D3PFx0d2.js → Observations-D0PH7TgR-Cm0LOrHD.js} +5 -5
- package/dist/{YPM2AS64-DgDcZUZ4.js → YPM2AS64-BAceGX4o.js} +1 -1
- package/dist/{index-K6GOsKKv.js → index-DtAPMuCM.js} +65 -65
- package/dist/{index-nHLaycbQ.js → index-DuYWQfRt.js} +1 -1
- package/dist/index.css +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/dist/DocumentsTable-BQYdm5FO-B89nzO7T.js +0 -5430
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
import { jsx as o, jsxs as l, Fragment as k } from "react/jsx-runtime";
|
|
2
|
+
import { p as V, u as F, o as H, a as x, $ as P, b as j, A as G, c as Y, m as z, g as J } from "./index-DtAPMuCM.js";
|
|
3
|
+
import { useState as C, useCallback as T, useEffect as S, useMemo as E } from "react";
|
|
4
|
+
const K = "_documentsTableBody_6qsah_1", Q = "_viewAttachmentsLink_6qsah_11", W = "_documentViewerContainer_6qsah_15", X = "_attachmentItem_6qsah_23", Z = "_attachmentCounter_6qsah_27", ee = "_attachmentError_6qsah_36", te = "_documentIframe_6qsah_44", ae = "_documentImage_6qsah_50", d = {
|
|
5
|
+
documentsTableBody: K,
|
|
6
|
+
viewAttachmentsLink: Q,
|
|
7
|
+
documentViewerContainer: W,
|
|
8
|
+
attachmentItem: X,
|
|
9
|
+
attachmentCounter: Z,
|
|
10
|
+
attachmentError: ee,
|
|
11
|
+
documentIframe: te,
|
|
12
|
+
documentImage: ae
|
|
13
|
+
}, ne = {
|
|
14
|
+
documentIdentifier: "DOCUMENTS_DOCUMENT_IDENTIFIER",
|
|
15
|
+
documentType: "DOCUMENTS_TYPE",
|
|
16
|
+
uploadedOn: "DOCUMENTS_UPLOADED_ON",
|
|
17
|
+
uploadedBy: "DOCUMENTS_UPLOADED_BY",
|
|
18
|
+
action: "DOCUMENTS_ACTION"
|
|
19
|
+
};
|
|
20
|
+
function U(a) {
|
|
21
|
+
return !a || a.includes(":") ? "#" : `/openmrs/auth?requested_document=/document_images/${a}`;
|
|
22
|
+
}
|
|
23
|
+
function re(a, u) {
|
|
24
|
+
return a.map((s) => ({
|
|
25
|
+
key: s,
|
|
26
|
+
header: u(ne[s])
|
|
27
|
+
}));
|
|
28
|
+
}
|
|
29
|
+
const oe = [
|
|
30
|
+
"documentIdentifier",
|
|
31
|
+
"documentType",
|
|
32
|
+
"uploadedOn",
|
|
33
|
+
"uploadedBy",
|
|
34
|
+
"action"
|
|
35
|
+
], M = (a) => a.attachments.length > 0 ? a.attachments : a.documentUrl ? [{ url: a.documentUrl, contentType: a.contentType }] : [], me = ({ config: a, encounterUuids: u }) => {
|
|
36
|
+
const [s, g] = C(!1), [r, O] = C(
|
|
37
|
+
null
|
|
38
|
+
), [w, p] = C(
|
|
39
|
+
/* @__PURE__ */ new Set()
|
|
40
|
+
), N = V(), { t: n } = F(), { addNotification: y } = H(), D = T((e) => {
|
|
41
|
+
O(e), g(!0);
|
|
42
|
+
}, []), b = T(() => {
|
|
43
|
+
g(!1), O(null), p(/* @__PURE__ */ new Set());
|
|
44
|
+
}, []), L = T((e) => {
|
|
45
|
+
p((t) => new Set(t).add(e));
|
|
46
|
+
}, []), { data: q, isLoading: B, isError: f, error: I } = x({
|
|
47
|
+
queryKey: ["documents", N, u],
|
|
48
|
+
enabled: !!N,
|
|
49
|
+
queryFn: () => J(N, u)
|
|
50
|
+
});
|
|
51
|
+
S(() => {
|
|
52
|
+
f && y({
|
|
53
|
+
title: n("ERROR_DEFAULT_TITLE"),
|
|
54
|
+
message: I?.message ?? "",
|
|
55
|
+
type: "error"
|
|
56
|
+
});
|
|
57
|
+
}, [f, I, y, n]), S(() => {
|
|
58
|
+
const e = new AbortController();
|
|
59
|
+
return (async () => {
|
|
60
|
+
if (!s || !r) return;
|
|
61
|
+
const t = /* @__PURE__ */ new Set(), c = M(r);
|
|
62
|
+
for (let m = 0; m < c.length; m++) {
|
|
63
|
+
const A = U(c[m].url);
|
|
64
|
+
try {
|
|
65
|
+
(await fetch(A, {
|
|
66
|
+
method: "HEAD",
|
|
67
|
+
signal: e.signal
|
|
68
|
+
})).ok || t.add(m);
|
|
69
|
+
} catch (_) {
|
|
70
|
+
_ instanceof Error && _.name !== "AbortError" && t.add(m);
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
e.signal.aborted || p(t);
|
|
74
|
+
})(), () => e.abort();
|
|
75
|
+
}, [s, r]);
|
|
76
|
+
const h = E(
|
|
77
|
+
() => a?.fields ?? oe,
|
|
78
|
+
[a?.fields]
|
|
79
|
+
), R = E(() => re(h, n), [h, n]), $ = E(
|
|
80
|
+
() => h.map((e) => ({
|
|
81
|
+
key: e,
|
|
82
|
+
sortable: e !== "action"
|
|
83
|
+
})),
|
|
84
|
+
[h]
|
|
85
|
+
), i = E(
|
|
86
|
+
() => r ? M(r) : [],
|
|
87
|
+
[r]
|
|
88
|
+
), v = T(
|
|
89
|
+
(e, t) => {
|
|
90
|
+
switch (t) {
|
|
91
|
+
case "documentIdentifier":
|
|
92
|
+
return /* @__PURE__ */ o("span", { children: e.documentIdentifier });
|
|
93
|
+
case "documentType":
|
|
94
|
+
return e.documentType ?? n("DOCUMENTS_NOT_AVAILABLE");
|
|
95
|
+
case "uploadedOn":
|
|
96
|
+
return j(
|
|
97
|
+
e.uploadedOn,
|
|
98
|
+
n,
|
|
99
|
+
z
|
|
100
|
+
).formattedResult || n("DOCUMENTS_NOT_AVAILABLE");
|
|
101
|
+
case "uploadedBy":
|
|
102
|
+
return e.uploadedBy ?? n("DOCUMENTS_NOT_AVAILABLE");
|
|
103
|
+
case "action":
|
|
104
|
+
return e.attachments.length > 0 || e.documentUrl ? /* @__PURE__ */ o(
|
|
105
|
+
P,
|
|
106
|
+
{
|
|
107
|
+
onClick: () => D(e),
|
|
108
|
+
className: d.viewAttachmentsLink,
|
|
109
|
+
"data-testid": `view-attachments-${e.id}`,
|
|
110
|
+
children: n("DOCUMENTS_VIEW_ATTACHMENTS")
|
|
111
|
+
}
|
|
112
|
+
) : "--";
|
|
113
|
+
default:
|
|
114
|
+
return null;
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
[D, n]
|
|
118
|
+
);
|
|
119
|
+
return /* @__PURE__ */ l(k, { children: [
|
|
120
|
+
/* @__PURE__ */ o("div", { "data-testid": "documents-table", children: /* @__PURE__ */ o(
|
|
121
|
+
G,
|
|
122
|
+
{
|
|
123
|
+
headers: R,
|
|
124
|
+
ariaLabel: n("DOCUMENTS_TABLE_HEADING"),
|
|
125
|
+
rows: q ?? [],
|
|
126
|
+
loading: B,
|
|
127
|
+
errorStateMessage: f ? I?.message : null,
|
|
128
|
+
sortable: $,
|
|
129
|
+
emptyStateMessage: n("DOCUMENTS_NO_RECORDS"),
|
|
130
|
+
renderCell: v,
|
|
131
|
+
className: d.documentsTableBody,
|
|
132
|
+
dataTestId: "documents-table"
|
|
133
|
+
}
|
|
134
|
+
) }),
|
|
135
|
+
s && r && /* @__PURE__ */ o(
|
|
136
|
+
Y,
|
|
137
|
+
{
|
|
138
|
+
id: "modalIdForActionAreaLayout",
|
|
139
|
+
portalId: "main-display-area",
|
|
140
|
+
open: s,
|
|
141
|
+
onRequestClose: b,
|
|
142
|
+
modalHeading: r.documentIdentifier,
|
|
143
|
+
passiveModal: !0,
|
|
144
|
+
size: "lg",
|
|
145
|
+
testId: "document-view-modal",
|
|
146
|
+
children: /* @__PURE__ */ o("div", { className: d.documentViewerContainer, children: i.map((e, t) => {
|
|
147
|
+
const c = U(e.url), m = e.contentType?.toLowerCase().includes("pdf"), A = e.contentType?.toLowerCase().includes("image"), _ = w.has(t);
|
|
148
|
+
return c === "#" || _ ? /* @__PURE__ */ l(
|
|
149
|
+
"div",
|
|
150
|
+
{
|
|
151
|
+
className: d.attachmentError,
|
|
152
|
+
"data-testid": `attachment-error-${t}`,
|
|
153
|
+
children: [
|
|
154
|
+
i.length > 1 && /* @__PURE__ */ l("p", { className: d.attachmentCounter, children: [
|
|
155
|
+
t + 1,
|
|
156
|
+
"/",
|
|
157
|
+
i.length
|
|
158
|
+
] }),
|
|
159
|
+
/* @__PURE__ */ o("p", { children: n("DOCUMENTS_ERROR_LOADING_ATTACHMENT") })
|
|
160
|
+
]
|
|
161
|
+
},
|
|
162
|
+
`${r.id}-${e.url}`
|
|
163
|
+
) : /* @__PURE__ */ l(
|
|
164
|
+
"div",
|
|
165
|
+
{
|
|
166
|
+
className: d.attachmentItem,
|
|
167
|
+
"data-testid": `attachment-item-${t}`,
|
|
168
|
+
children: [
|
|
169
|
+
i.length > 1 && /* @__PURE__ */ l("p", { className: d.attachmentCounter, children: [
|
|
170
|
+
t + 1,
|
|
171
|
+
"/",
|
|
172
|
+
i.length
|
|
173
|
+
] }),
|
|
174
|
+
A ? /* @__PURE__ */ o(
|
|
175
|
+
"img",
|
|
176
|
+
{
|
|
177
|
+
src: c,
|
|
178
|
+
alt: r.documentIdentifier,
|
|
179
|
+
className: d.documentImage,
|
|
180
|
+
onError: () => L(t)
|
|
181
|
+
}
|
|
182
|
+
) : /* @__PURE__ */ o(
|
|
183
|
+
"iframe",
|
|
184
|
+
{
|
|
185
|
+
src: m ? `${c}#toolbar=0` : c,
|
|
186
|
+
className: d.documentIframe,
|
|
187
|
+
title: r.documentIdentifier,
|
|
188
|
+
onError: () => L(t)
|
|
189
|
+
}
|
|
190
|
+
)
|
|
191
|
+
]
|
|
192
|
+
},
|
|
193
|
+
`${r.id}-${e.url}`
|
|
194
|
+
);
|
|
195
|
+
}) })
|
|
196
|
+
}
|
|
197
|
+
)
|
|
198
|
+
] });
|
|
199
|
+
};
|
|
200
|
+
export {
|
|
201
|
+
me as default
|
|
202
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as s, jsxs as p, Fragment as k } from "react/jsx-runtime";
|
|
2
|
-
import { u as ee, p as re, y as ae,
|
|
2
|
+
import { u as ee, p as re, y as ae, d as te, a as A, e as oe, b as ne, $ as se, A as q, Y as de, G as me, c as ie, P as le, Z as U, h as ce, m as ue, T as R, f as be, F as pe, q as fe, W as _e, i as $e, w as he, j as ve, k as ge, l as ye } from "./index-DtAPMuCM.js";
|
|
3
3
|
import { useState as P, useMemo as g, useCallback as F } from "react";
|
|
4
|
-
const Ne = "_formsTableBody_1pd36_1", Ae = "_customAccordianItem_1pd36_6", Fe = "_formContent_1pd36_18", Re = "_formDetailsContainer_1pd36_25", Le = "_observation_1pd36_30", Ce = "_groupContainer_1pd36_39", Oe = "_rowContainer_1pd36_43", Ie = "_groupLabel_1pd36_48", Te = "_rowLabel_1pd36_58", Me = "_rowValue_1pd36_67", Ve = "_groupMembers_1pd36_75", Se = "_memberRow_1pd36_81", we = "_memberLabel_1pd36_86", De = "_memberValue_1pd36_94",
|
|
4
|
+
const Ne = "_formsTableBody_1pd36_1", Ae = "_customAccordianItem_1pd36_6", Fe = "_formContent_1pd36_18", Re = "_formDetailsContainer_1pd36_25", Le = "_observation_1pd36_30", Ce = "_groupContainer_1pd36_39", Oe = "_rowContainer_1pd36_43", Ie = "_groupLabel_1pd36_48", Te = "_rowLabel_1pd36_58", Me = "_rowValue_1pd36_67", Ve = "_groupMembers_1pd36_75", Se = "_memberRow_1pd36_81", we = "_memberLabel_1pd36_86", De = "_memberValue_1pd36_94", Ee = "_abnormalValue_1pd36_102", xe = "_commentSection_1pd36_110", Be = "_commentText_1pd36_116", Ge = "_nestedGroup_1pd36_125", qe = "_nestedGroupLabel_1pd36_132", Ue = "_nestedGroupMembers_1pd36_141", o = {
|
|
5
5
|
formsTableBody: Ne,
|
|
6
6
|
customAccordianItem: Ae,
|
|
7
7
|
formContent: Fe,
|
|
@@ -16,8 +16,8 @@ const Ne = "_formsTableBody_1pd36_1", Ae = "_customAccordianItem_1pd36_6", Fe =
|
|
|
16
16
|
memberRow: Se,
|
|
17
17
|
memberLabel: we,
|
|
18
18
|
memberValue: De,
|
|
19
|
-
abnormalValue:
|
|
20
|
-
commentSection:
|
|
19
|
+
abnormalValue: Ee,
|
|
20
|
+
commentSection: xe,
|
|
21
21
|
commentText: Be,
|
|
22
22
|
nestedGroup: Ge,
|
|
23
23
|
nestedGroupLabel: qe,
|
|
@@ -297,7 +297,7 @@ const Ne = "_formsTableBody_1pd36_1", Ae = "_customAccordianItem_1pd36_6", Fe =
|
|
|
297
297
|
const D = g(() => !C || !t?.formName ? [] : Ke(
|
|
298
298
|
C,
|
|
299
299
|
t.formName
|
|
300
|
-
), [C, t?.formName]),
|
|
300
|
+
), [C, t?.formName]), E = g(
|
|
301
301
|
() => [
|
|
302
302
|
{ key: "recordedOn", header: a("FORM_RECORDED_ON") },
|
|
303
303
|
{ key: "recordedBy", header: a("FORM_RECORDED_BY") }
|
|
@@ -309,7 +309,7 @@ const Ne = "_formsTableBody_1pd36_1", Ae = "_customAccordianItem_1pd36_6", Fe =
|
|
|
309
309
|
{ key: "recordedBy", sortable: !0 }
|
|
310
310
|
],
|
|
311
311
|
[]
|
|
312
|
-
),
|
|
312
|
+
), x = g(() => {
|
|
313
313
|
const i = T.reduce(
|
|
314
314
|
(u, l) => {
|
|
315
315
|
const v = l.formName;
|
|
@@ -352,10 +352,10 @@ const Ne = "_formsTableBody_1pd36_1", Ae = "_customAccordianItem_1pd36_6", Fe =
|
|
|
352
352
|
[B]
|
|
353
353
|
);
|
|
354
354
|
return /* @__PURE__ */ p(k, { children: [
|
|
355
|
-
/* @__PURE__ */ s("div", { "data-testid": "forms-table", children: y || N ||
|
|
355
|
+
/* @__PURE__ */ s("div", { "data-testid": "forms-table", children: y || N || x.length === 0 || f ? /* @__PURE__ */ s(
|
|
356
356
|
q,
|
|
357
357
|
{
|
|
358
|
-
headers:
|
|
358
|
+
headers: E,
|
|
359
359
|
ariaLabel: a("FORMS_HEADING"),
|
|
360
360
|
rows: [],
|
|
361
361
|
loading: y,
|
|
@@ -365,7 +365,7 @@ const Ne = "_formsTableBody_1pd36_1", Ae = "_customAccordianItem_1pd36_6", Fe =
|
|
|
365
365
|
className: o.formsTableBody,
|
|
366
366
|
dataTestId: "forms-table"
|
|
367
367
|
}
|
|
368
|
-
) : /* @__PURE__ */ s(de, { align: "start", children:
|
|
368
|
+
) : /* @__PURE__ */ s(de, { align: "start", children: x.map((i, u) => {
|
|
369
369
|
const { formName: l, records: v } = i;
|
|
370
370
|
return /* @__PURE__ */ s(
|
|
371
371
|
me,
|
|
@@ -377,7 +377,7 @@ const Ne = "_formsTableBody_1pd36_1", Ae = "_customAccordianItem_1pd36_6", Fe =
|
|
|
377
377
|
children: /* @__PURE__ */ s(
|
|
378
378
|
q,
|
|
379
379
|
{
|
|
380
|
-
headers:
|
|
380
|
+
headers: E,
|
|
381
381
|
ariaLabel: a("FORMS_HEADING"),
|
|
382
382
|
rows: v,
|
|
383
383
|
loading: !1,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c, T as l, P as m, a as u, D as v, Q as i } from "./YPM2AS64-
|
|
2
|
-
import {
|
|
1
|
+
import { c, T as l, P as m, a as u, D as v, Q as i } from "./YPM2AS64-BAceGX4o.js";
|
|
2
|
+
import { K as d, N as f, Q as e } from "./index-DtAPMuCM.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-
|
|
2
|
-
import {
|
|
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-BAceGX4o.js";
|
|
2
|
+
import { K as v, N as C, Q as e } from "./index-DtAPMuCM.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 l } from "react/jsx-runtime";
|
|
2
|
-
import { p as
|
|
2
|
+
import { p as k, o as B, u as N, n as H, r as K, a as x, e as Q, h as j, H as w, s as G, L as M, A as z, t as P, v as S, V as W, f as Y, x as J, F as X, q as Z, W as ee, z as te } from "./index-DtAPMuCM.js";
|
|
3
3
|
import { useRef as ae, useEffect as $, useMemo as E } from "react";
|
|
4
4
|
const F = (t, d, n, u, o) => {
|
|
5
5
|
const a = W(t, d), s = a.value, r = Y(s);
|
|
@@ -77,7 +77,7 @@ const F = (t, d, n, u, o) => {
|
|
|
77
77
|
observations: oe,
|
|
78
78
|
title: ie
|
|
79
79
|
}, ne = (t) => ["conceptUuid", t], de = (t, d) => ["observations", t, ...d], be = ({ config: t }) => {
|
|
80
|
-
const d = t, { conceptNames: n = [], conceptUuid: u = [] } = d, o = ae(/* @__PURE__ */ new Set()), a =
|
|
80
|
+
const d = t, { conceptNames: n = [], conceptUuid: u = [] } = d, o = ae(/* @__PURE__ */ new Set()), a = k(), { addNotification: s } = B(), { t: r } = N(), i = H({
|
|
81
81
|
queries: n.map((e) => ({
|
|
82
82
|
queryKey: ne(e),
|
|
83
83
|
queryFn: () => K(e),
|
|
@@ -101,12 +101,12 @@ const F = (t, d, n, u, o) => {
|
|
|
101
101
|
isLoading: A,
|
|
102
102
|
isError: R,
|
|
103
103
|
refetch: f
|
|
104
|
-
} =
|
|
104
|
+
} = x({
|
|
105
105
|
queryKey: de(a, p),
|
|
106
106
|
queryFn: () => te(a, p),
|
|
107
107
|
enabled: !!a && p.length > 0 && v
|
|
108
108
|
});
|
|
109
|
-
|
|
109
|
+
Q(
|
|
110
110
|
(e) => {
|
|
111
111
|
e.patientUUID === a && e.updatedConcepts.size > 0 && [...e.updatedConcepts.keys()].some(
|
|
112
112
|
(m) => p.includes(m)
|
|
@@ -122,7 +122,7 @@ const F = (t, d, n, u, o) => {
|
|
|
122
122
|
}, [R]);
|
|
123
123
|
const g = E(() => {
|
|
124
124
|
if (!c) return [];
|
|
125
|
-
const e =
|
|
125
|
+
const e = j(c), m = w(e);
|
|
126
126
|
return G(m);
|
|
127
127
|
}, [c]), L = [
|
|
128
128
|
{ key: "name", header: "name" },
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { R as we, S as z, U as xt, X as B, N as q, Q as y, _ as Ro, a0 as ye, a1 as R, a2 as _, a3 as k, a4 as N, a5 as A, a6 as bs, a7 as ir, a8 as $e, a9 as U, aa as Hn, ab as Vn, ac as dt, ad as D, ae as xs, af as cn, ag as Be, ah as ws, ai as qt, aj as zt, ak as $s, al as Cs, am as $n, an as Ss, ao as Nr, ap as Bt, aq as zo, ar as ks, as as Es, at as j, au as Ur, av as Ms, aw as Ds, ax as sr, ay as As, az as Ts, aA as zn, aB as Fs, aC as Is, aD as Z, aE as Ps, aF as Ls } from "./index-DtAPMuCM.js";
|
|
2
2
|
var Os = (e) => e != null, qs = (e) => e.filter(Os);
|
|
3
3
|
function _s(e) {
|
|
4
4
|
return (...t) => {
|
|
@@ -153273,15 +153273,16 @@ const ode = "consultation:saved", t3 = (t, e = []) => {
|
|
|
153273
153273
|
};
|
|
153274
153274
|
function SE0(t) {
|
|
153275
153275
|
return t.filter((e) => e.resource?.resourceType === "DocumentReference").map((e) => {
|
|
153276
|
-
const r = e.resource, o = r.
|
|
153276
|
+
const r = e.resource, o = r.masterIdentifier?.value ?? r.id ?? "", a = (r.content ?? []).map((l) => l.attachment).filter((l) => !!l).map((l) => ({ url: l.url ?? "", contentType: l.contentType })), c = a[0];
|
|
153277
153277
|
return {
|
|
153278
|
-
id: r.id ??
|
|
153279
|
-
documentIdentifier:
|
|
153278
|
+
id: r.id ?? o,
|
|
153279
|
+
documentIdentifier: o,
|
|
153280
153280
|
documentType: r.type?.coding?.[0]?.display ?? r.category?.[0]?.coding?.[0]?.display,
|
|
153281
153281
|
uploadedOn: r.date ?? "",
|
|
153282
153282
|
uploadedBy: r.author?.[0]?.display,
|
|
153283
|
-
contentType:
|
|
153284
|
-
documentUrl:
|
|
153283
|
+
contentType: c?.contentType,
|
|
153284
|
+
documentUrl: c?.url ?? "",
|
|
153285
|
+
attachments: a
|
|
153285
153286
|
};
|
|
153286
153287
|
});
|
|
153287
153288
|
}
|
|
@@ -159303,7 +159304,7 @@ function xL0(t, e, r) {
|
|
|
159303
159304
|
return o;
|
|
159304
159305
|
};
|
|
159305
159306
|
}
|
|
159306
|
-
k0(() => Promise.resolve().then(() => eM0)), k0(() => Promise.resolve().then(() => Ky0)), k0(() => Promise.resolve().then(() => bz0)), k0(() => Promise.resolve().then(() => $z0)), k0(() => import("./DocumentsTable-
|
|
159307
|
+
k0(() => Promise.resolve().then(() => eM0)), k0(() => Promise.resolve().then(() => Ky0)), k0(() => Promise.resolve().then(() => bz0)), k0(() => Promise.resolve().then(() => $z0)), k0(() => import("./DocumentsTable-BCnYVvIx-DkjD5EMK.js")), k0(() => Promise.resolve().then(() => qH0)), k0(() => import("./FormsTable-DFknJTr7-KWIKlcuY.js")), k0(() => Promise.resolve().then(() => NH0)), k0(() => import("./Observations-D0PH7TgR-Cm0LOrHD.js")), k0(
|
|
159307
159308
|
() => Promise.resolve().then(() => tb0)
|
|
159308
159309
|
), k0(
|
|
159309
159310
|
() => Promise.resolve().then(() => GV0)
|
|
@@ -161142,7 +161143,7 @@ var YL0 = (t, e = !1) => {
|
|
|
161142
161143
|
const e = cAe(() => {
|
|
161143
161144
|
const r = this, [o] = this.#a, [a] = this.#h, [c] = this.#d, [l] = this.#u, [i] = this.#p, [s] = this.#t;
|
|
161144
161145
|
let d;
|
|
161145
|
-
return this.#i ? d = this.#i : (d = oAe(() => import("./LNWAZHJI-
|
|
161146
|
+
return this.#i ? d = this.#i : (d = oAe(() => import("./LNWAZHJI-CcqFpevw.js")), this.#i = d), bAe(this.#l, this.#c), rAe(d, nAe({
|
|
161146
161147
|
get queryFlavor() {
|
|
161147
161148
|
return r.#r;
|
|
161148
161149
|
},
|
|
@@ -161240,7 +161241,7 @@ var YL0 = (t, e = !1) => {
|
|
|
161240
161241
|
const e = cAe(() => {
|
|
161241
161242
|
const r = this, [o] = this.#a, [a] = this.#h, [c] = this.#d, [l] = this.#u, [i] = this.#p, [s] = this.#t, [d] = this.#i;
|
|
161242
161243
|
let u;
|
|
161243
|
-
return this.#s ? u = this.#s : (u = oAe(() => import("./MWZ6AO7Z-
|
|
161244
|
+
return this.#s ? u = this.#s : (u = oAe(() => import("./MWZ6AO7Z-B2LG7tHX.js")), this.#s = u), bAe(this.#l, this.#c), rAe(u, nAe({
|
|
161244
161245
|
get queryFlavor() {
|
|
161245
161246
|
return r.#r;
|
|
161246
161247
|
},
|
|
@@ -161400,7 +161401,7 @@ const jx0 = {
|
|
|
161400
161401
|
}), rN0 = k0(
|
|
161401
161402
|
() => import("./index-CFigb5vF.js").then((t) => ({ default: t.IndexPage }))
|
|
161402
161403
|
), nN0 = k0(
|
|
161403
|
-
() => import("./index-
|
|
161404
|
+
() => import("./index-DuYWQfRt.js").then((t) => ({
|
|
161404
161405
|
default: t.default
|
|
161405
161406
|
}))
|
|
161406
161407
|
), oN0 = [
|
|
@@ -161437,7 +161438,7 @@ function tC0() {
|
|
|
161437
161438
|
] }) }) }) }) : /* @__PURE__ */ d1(eh1, {});
|
|
161438
161439
|
}
|
|
161439
161440
|
export {
|
|
161440
|
-
|
|
161441
|
+
op as $,
|
|
161441
161442
|
F0 as A,
|
|
161442
161443
|
Wx0 as B,
|
|
161443
161444
|
xL0 as C,
|
|
@@ -161448,72 +161449,71 @@ export {
|
|
|
161448
161449
|
HL0 as H,
|
|
161449
161450
|
pN0 as I,
|
|
161450
161451
|
h$2 as J,
|
|
161451
|
-
|
|
161452
|
+
eC0 as K,
|
|
161452
161453
|
zNe as L,
|
|
161453
161454
|
FN0 as M,
|
|
161454
|
-
|
|
161455
|
+
i0 as N,
|
|
161455
161456
|
PN0 as O,
|
|
161456
161457
|
UN0 as P,
|
|
161457
|
-
|
|
161458
|
-
|
|
161459
|
-
|
|
161458
|
+
rAe as Q,
|
|
161459
|
+
_L0 as R,
|
|
161460
|
+
k2 as S,
|
|
161460
161461
|
pc as T,
|
|
161461
|
-
|
|
161462
|
+
yb0 as U,
|
|
161462
161463
|
VL0 as V,
|
|
161463
161464
|
GN0 as W,
|
|
161464
|
-
|
|
161465
|
+
GCe as X,
|
|
161465
161466
|
tl as Y,
|
|
161466
161467
|
Ft as Z,
|
|
161467
|
-
|
|
161468
|
+
PL0 as _,
|
|
161468
161469
|
N0 as a,
|
|
161469
|
-
|
|
161470
|
-
|
|
161471
|
-
|
|
161472
|
-
|
|
161473
|
-
|
|
161474
|
-
|
|
161475
|
-
|
|
161476
|
-
|
|
161477
|
-
|
|
161478
|
-
|
|
161479
|
-
|
|
161480
|
-
|
|
161481
|
-
|
|
161482
|
-
|
|
161483
|
-
|
|
161484
|
-
|
|
161485
|
-
|
|
161486
|
-
|
|
161487
|
-
|
|
161488
|
-
|
|
161489
|
-
|
|
161490
|
-
|
|
161491
|
-
|
|
161492
|
-
|
|
161493
|
-
|
|
161494
|
-
|
|
161495
|
-
|
|
161496
|
-
|
|
161497
|
-
|
|
161498
|
-
|
|
161499
|
-
|
|
161500
|
-
|
|
161501
|
-
|
|
161502
|
-
|
|
161503
|
-
|
|
161504
|
-
|
|
161505
|
-
|
|
161506
|
-
|
|
161507
|
-
|
|
161508
|
-
|
|
161509
|
-
|
|
161510
|
-
|
|
161511
|
-
|
|
161512
|
-
Kb0 as az,
|
|
161470
|
+
ZL0 as a0,
|
|
161471
|
+
RL0 as a1,
|
|
161472
|
+
IL0 as a2,
|
|
161473
|
+
yp as a3,
|
|
161474
|
+
C3 as a4,
|
|
161475
|
+
Wb0 as a5,
|
|
161476
|
+
BL0 as a6,
|
|
161477
|
+
Fb0 as a7,
|
|
161478
|
+
$L0 as a8,
|
|
161479
|
+
gc as a9,
|
|
161480
|
+
kL0 as aA,
|
|
161481
|
+
SL0 as aB,
|
|
161482
|
+
H6 as aC,
|
|
161483
|
+
$b0 as aD,
|
|
161484
|
+
jL0 as aE,
|
|
161485
|
+
gb0 as aF,
|
|
161486
|
+
tC0 as aG,
|
|
161487
|
+
JL0 as aa,
|
|
161488
|
+
QL0 as ab,
|
|
161489
|
+
LL0 as ac,
|
|
161490
|
+
Mp as ad,
|
|
161491
|
+
UL0 as ae,
|
|
161492
|
+
Qb0 as af,
|
|
161493
|
+
OL0 as ag,
|
|
161494
|
+
NL0 as ah,
|
|
161495
|
+
qL0 as ai,
|
|
161496
|
+
KL0 as aj,
|
|
161497
|
+
WL0 as ak,
|
|
161498
|
+
GL0 as al,
|
|
161499
|
+
YL0 as am,
|
|
161500
|
+
TL0 as an,
|
|
161501
|
+
XL0 as ao,
|
|
161502
|
+
E0 as ap,
|
|
161503
|
+
UCe as aq,
|
|
161504
|
+
AL0 as ar,
|
|
161505
|
+
Jb0 as as,
|
|
161506
|
+
nAe as at,
|
|
161507
|
+
L3 as au,
|
|
161508
|
+
Tx0 as av,
|
|
161509
|
+
DL0 as aw,
|
|
161510
|
+
V6 as ax,
|
|
161511
|
+
Kb0 as ay,
|
|
161512
|
+
FL0 as az,
|
|
161513
161513
|
x0 as b,
|
|
161514
|
-
|
|
161515
|
-
|
|
161516
|
-
|
|
161514
|
+
Rr as c,
|
|
161515
|
+
D5 as d,
|
|
161516
|
+
t3 as e,
|
|
161517
161517
|
pL0 as f,
|
|
161518
161518
|
yL0 as g,
|
|
161519
161519
|
fV0 as h,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { C, B as E, D as M, u as S, a as f, O as L, E as y, I as N, J as g, M as I } from "./index-
|
|
2
|
+
import { C, B as E, D as M, u as S, a as f, O as L, E as y, I as N, J as g, M as I } from "./index-DtAPMuCM.js";
|
|
3
3
|
import { useMemo as o } from "react";
|
|
4
4
|
const R = C(
|
|
5
5
|
E,
|