@bahmni/clinical-app 0.0.1-dev.437 → 0.0.1-dev.438
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/{ConsultationPage-DgfFrWA3.js → ConsultationPage-B57YOvYW.js} +5333 -5333
- package/dist/{DocumentsTable-BCTxjJzA-bEcV5H9y.js → DocumentsTable-CBaZduLC-DvuC7XfT.js} +1 -1
- package/dist/{FormsTable-gakvtSHk-CW5cTLCa.js → FormsTable-BYeW3DRV-CfCum4hw.js} +17 -17
- package/dist/{LNWAZHJI-kdc0iEok.js → LNWAZHJI-pY0_FhNO.js} +2 -2
- package/dist/{MWZ6AO7Z-sIqp6Qfi.js → MWZ6AO7Z-DUAXx-Zf.js} +2 -2
- package/dist/{Observations-D67fHQ1l-BWJFgP5X.js → Observations-Brw1YHvF-a_cjjPlH.js} +14 -14
- package/dist/{YPM2AS64-BzNJFPm6.js → YPM2AS64-D3wFjpju.js} +1 -1
- package/dist/{hook-BA5E-9cv.js → hook-5YN_fGC_.js} +1 -1
- package/dist/{index-Dken7fyZ.js → index-CjTXJaEx.js} +1 -1
- package/dist/{index-BN5nDe2f.js → index-DuBrxkQU.js} +3 -3
- package/dist/{index-C4MhN0Z2.js → index-oWgjP_o2.js} +50 -44
- 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 d, jsxs as h, Fragment as x } from "react/jsx-runtime";
|
|
2
|
-
import { d as G, u as W, z as Y, R as J, s as X, h as Z, $ as ee, a as te } from "./index-
|
|
2
|
+
import { d as G, u as W, z as Y, R as J, s as X, h as Z, $ as ee, a as te } from "./index-oWgjP_o2.js";
|
|
3
3
|
import { useQuery as ae } from "@tanstack/react-query";
|
|
4
4
|
import { useState as l, useCallback as _, useEffect as I, useMemo as p } from "react";
|
|
5
5
|
const ne = "DocumentsTable-module_documentsTableBody__6iR3w", oe = "DocumentsTable-module_viewAttachmentsLink__aQ1on", de = "DocumentsTable-module_documentViewerContainer__F5m8D", re = "DocumentsTable-module_attachmentItem__17KA7", se = "DocumentsTable-module_attachmentCounter__WFiI3", me = "DocumentsTable-module_attachmentError__RI4U2", ce = "DocumentsTable-module_documentIframe__ptq5I", le = "DocumentsTable-module_documentImage__KQVgS", r = {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as n, jsxs as q, Fragment as ne } from "react/jsx-runtime";
|
|
2
|
-
import { u as ie, d as de, g as le, k as me, H as ue, L as ce, b as fe, A as ye, w as ge, M as he, l as Ne, c as Oe, h as Te, O as V, x as $, s as pe, $ as x, W as be, q as Ie, a as Ae, e as Ee, J as _e } from "./index-
|
|
2
|
+
import { u as ie, d as de, g as le, k as me, H as ue, L as ce, b as fe, A as ye, w as ge, M as he, l as Ne, c as Oe, h as Te, O as V, x as $, s as pe, $ as x, W as be, q as Ie, a as Ae, e as Ee, J as _e } from "./index-oWgjP_o2.js";
|
|
3
3
|
import { useQueryClient as Le, useQuery as A } from "@tanstack/react-query";
|
|
4
4
|
import { useState as K, useMemo as i, useCallback as d } from "react";
|
|
5
|
-
const
|
|
6
|
-
formsTableBody:
|
|
7
|
-
modalHeading:
|
|
8
|
-
customAccordianItem:
|
|
9
|
-
},
|
|
5
|
+
const Re = "FormsTable-module_formsTableBody__SvGha", ve = "FormsTable-module_modalHeading__wnTmA", Be = "FormsTable-module_customAccordianItem__isszs", N = {
|
|
6
|
+
formsTableBody: Re,
|
|
7
|
+
modalHeading: ve,
|
|
8
|
+
customAccordianItem: Be
|
|
9
|
+
}, Ce = "startConsultation", Se = ({
|
|
10
10
|
episodeOfCareUuids: E,
|
|
11
11
|
encounterUuids: l,
|
|
12
12
|
config: j,
|
|
@@ -19,27 +19,27 @@ const ve = "FormsTable-module_formsTableBody__SvGha", Ce = "FormsTable-module_mo
|
|
|
19
19
|
forms: g
|
|
20
20
|
} = j ?? {}, J = le(
|
|
21
21
|
_e.EDIT_OBSERVATIONS
|
|
22
|
-
), { userPrivileges: h } = me(), T = J && !z && !!y,
|
|
22
|
+
), { userPrivileges: h } = me(), T = J && !z && !!y, R = ue(
|
|
23
23
|
E,
|
|
24
24
|
l
|
|
25
25
|
), W = Le(), {
|
|
26
|
-
data:
|
|
27
|
-
isLoading:
|
|
28
|
-
isError:
|
|
26
|
+
data: v = [],
|
|
27
|
+
isLoading: B,
|
|
28
|
+
isError: C,
|
|
29
29
|
error: P,
|
|
30
30
|
refetch: Y
|
|
31
31
|
} = A({
|
|
32
32
|
queryKey: ["forms", m, E],
|
|
33
33
|
queryFn: () => ce(m, void 0, Q),
|
|
34
|
-
enabled: !!m && !
|
|
34
|
+
enabled: !!m && !R
|
|
35
35
|
}), F = i(() => {
|
|
36
|
-
let e =
|
|
36
|
+
let e = v;
|
|
37
37
|
return l && l.length > 0 && (e = e.filter(
|
|
38
38
|
(r) => l.includes(r.encounterUuid)
|
|
39
39
|
)), Array.isArray(g) && g.length > 0 && (e = e.filter(
|
|
40
40
|
(r) => g.some((a) => a.toLowerCase() === r.formName.toLowerCase())
|
|
41
41
|
)), e;
|
|
42
|
-
}, [
|
|
42
|
+
}, [v, l, g]), { data: M = [] } = A({
|
|
43
43
|
queryKey: ["observationForms"],
|
|
44
44
|
queryFn: () => fe()
|
|
45
45
|
}), U = d(
|
|
@@ -126,7 +126,7 @@ const ve = "FormsTable-module_formsTableBody__SvGha", Ce = "FormsTable-module_mo
|
|
|
126
126
|
_(!1), L(null);
|
|
127
127
|
}, []), I = d((e) => {
|
|
128
128
|
globalThis.dispatchEvent(
|
|
129
|
-
new CustomEvent(
|
|
129
|
+
new CustomEvent(Ce, {
|
|
130
130
|
detail: {
|
|
131
131
|
editOnly: "observationForms",
|
|
132
132
|
editTitle: "EDIT_OBSERVATION_FORM_TITLE",
|
|
@@ -162,14 +162,14 @@ const ve = "FormsTable-module_formsTableBody__SvGha", Ce = "FormsTable-module_mo
|
|
|
162
162
|
[k, I, u, o]
|
|
163
163
|
);
|
|
164
164
|
return /* @__PURE__ */ q(ne, { children: [
|
|
165
|
-
/* @__PURE__ */ n("div", { id: "forms-table", "data-testid": "forms-table", children:
|
|
165
|
+
/* @__PURE__ */ n("div", { id: "forms-table", "data-testid": "forms-table", children: B || C || S.length === 0 || R ? /* @__PURE__ */ n(
|
|
166
166
|
x,
|
|
167
167
|
{
|
|
168
168
|
headers: oe,
|
|
169
169
|
ariaLabel: o("FORMS_HEADING"),
|
|
170
170
|
rows: [],
|
|
171
|
-
loading:
|
|
172
|
-
errorStateMessage:
|
|
171
|
+
loading: B,
|
|
172
|
+
errorStateMessage: C ? P?.message : void 0,
|
|
173
173
|
emptyStateMessage: o("FORMS_UNAVAILABLE"),
|
|
174
174
|
renderCell: H,
|
|
175
175
|
className: N.formsTableBody,
|
|
@@ -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 { bZ as d, b_ as f, b$ as e } from "./index-
|
|
1
|
+
import { c, T as l, P as m, a as u, D as v, Q as i } from "./YPM2AS64-D3wFjpju.js";
|
|
2
|
+
import { bZ as d, b_ as f, b$ as e } from "./index-oWgjP_o2.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 { bZ as v, b_ as C, b$ as e } from "./index-
|
|
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-D3wFjpju.js";
|
|
2
|
+
import { bZ as v, b_ as C, b$ as e } from "./index-oWgjP_o2.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 o } from "react/jsx-runtime";
|
|
2
|
-
import { d as Q, z as j, u as L, f as M, H as P, i as x, T as G, w as Y, P as J, U as W, F as X, j as Z, m as ee, $ as ae, n as se, o as F, B as te, Y as re, h as ie, p as ne, r as oe, t as de, v as le } from "./index-
|
|
2
|
+
import { d as Q, z as j, u as L, f as M, H as P, i as x, T as G, w as Y, P as J, U as W, F as X, j as Z, m as ee, $ as ae, n as se, o as F, B as te, Y as re, h as ie, p as ne, r as oe, t as de, v as le } from "./index-oWgjP_o2.js";
|
|
3
3
|
import { useQueries as ue, useQuery as ce } from "@tanstack/react-query";
|
|
4
4
|
import { useRef as pe, useEffect as D, useMemo as g } from "react";
|
|
5
5
|
const me = "Observations-module_observations__RKSyo", be = "Observations-module_title__TJL3z", he = "Observations-module_wrapper__muk2L", ve = "Observations-module_secondary__14nuS", O = {
|
|
@@ -116,7 +116,7 @@ const me = "Observations-module_observations__RKSyo", be = "Observations-module_
|
|
|
116
116
|
)
|
|
117
117
|
}
|
|
118
118
|
);
|
|
119
|
-
}, Re = (s) => ["conceptUuid", s],
|
|
119
|
+
}, Re = (s) => ["conceptUuid", s], fe = (s, l, n, d) => [
|
|
120
120
|
"observations",
|
|
121
121
|
s,
|
|
122
122
|
...l,
|
|
@@ -151,12 +151,12 @@ const me = "Observations-module_observations__RKSyo", be = "Observations-module_
|
|
|
151
151
|
l,
|
|
152
152
|
n
|
|
153
153
|
), {
|
|
154
|
-
data:
|
|
154
|
+
data: f,
|
|
155
155
|
isLoading: w,
|
|
156
156
|
isError: S,
|
|
157
157
|
refetch: N
|
|
158
158
|
} = ce({
|
|
159
|
-
queryKey:
|
|
159
|
+
queryKey: fe(
|
|
160
160
|
i,
|
|
161
161
|
h,
|
|
162
162
|
n,
|
|
@@ -188,21 +188,21 @@ const me = "Observations-module_observations__RKSyo", be = "Observations-module_
|
|
|
188
188
|
});
|
|
189
189
|
}, [S]);
|
|
190
190
|
const $ = g(() => {
|
|
191
|
-
if (!
|
|
192
|
-
let a = J(
|
|
191
|
+
if (!f) return [];
|
|
192
|
+
let a = J(f);
|
|
193
193
|
e === "latest-encounter" && (a = W(a));
|
|
194
194
|
const y = X(a);
|
|
195
195
|
return Z(y);
|
|
196
|
-
}, [
|
|
196
|
+
}, [f, e]), k = [
|
|
197
197
|
{ key: "name", header: "name" },
|
|
198
198
|
{ key: "value", header: "value" },
|
|
199
199
|
{ key: "form", header: "form" }
|
|
200
|
-
], A = w || !v, B = S && v, q = (!
|
|
200
|
+
], A = w || !v, B = S && v, q = (!f || f.entry?.length === 0 || h.length === 0) && v, C = B ? u("ERROR_FETCHING_OBSERVATIONS") : null, K = q ? u("NO_OBSERVATIONS_FOUND") : void 0, z = $.length > 0 && !A && !B, E = d.titleTranslationKey, T = E ? u(E) : "";
|
|
201
201
|
return /* @__PURE__ */ I(
|
|
202
202
|
"div",
|
|
203
203
|
{
|
|
204
204
|
id: "observations",
|
|
205
|
-
"data-testid": E ? `observations-${
|
|
205
|
+
"data-testid": E ? `observations-${T}` : "observations",
|
|
206
206
|
"aria-label": "observations-aria-label",
|
|
207
207
|
className: O.observations,
|
|
208
208
|
children: [
|
|
@@ -210,17 +210,17 @@ const me = "Observations-module_observations__RKSyo", be = "Observations-module_
|
|
|
210
210
|
ee,
|
|
211
211
|
{
|
|
212
212
|
id: "observations-title",
|
|
213
|
-
testId: E ? `observations-title-${
|
|
214
|
-
title:
|
|
213
|
+
testId: E ? `observations-title-${T}` : "observations-title",
|
|
214
|
+
title: T,
|
|
215
215
|
className: O.title,
|
|
216
|
-
children: /* @__PURE__ */ o("p", { children:
|
|
216
|
+
children: /* @__PURE__ */ o("p", { children: T })
|
|
217
217
|
}
|
|
218
218
|
),
|
|
219
219
|
z ? /* @__PURE__ */ o(
|
|
220
220
|
Oe,
|
|
221
221
|
{
|
|
222
222
|
groupedData: $,
|
|
223
|
-
title:
|
|
223
|
+
title: T,
|
|
224
224
|
hideThumbnail: r
|
|
225
225
|
}
|
|
226
226
|
) : /* @__PURE__ */ o(
|
|
@@ -242,5 +242,5 @@ const me = "Observations-module_observations__RKSyo", be = "Observations-module_
|
|
|
242
242
|
export {
|
|
243
243
|
Re as conceptUuidQueryKeys,
|
|
244
244
|
Ie as default,
|
|
245
|
-
|
|
245
|
+
fe as observationsQueryKeys
|
|
246
246
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c0 as we, c1 as z, c2 as xt, c3 as B, b_ as q, b$ as y, c4 as Ro, c5 as ye, c6 as R, c7 as _, c8 as k, c9 as N, ca as A, cb as bs, cc as ir, cd as $e, ce as G, cf as Hn, cg as Vn, ch as dt, ci as D, cj as xs, ck as cn, cl as Be, cm as ws, cn as qt, co as zt, cp as $s, cq as Cs, cr as $n, cs as Ss, ct as Nr, cu as Bt, cv as zo, cw as ks, cx as Es, cy as j, cz as Gr, cA as Ms, cB as Ds, cC as sr, cD as As, cE as Ts, cF as zn, cG as Fs, cH as Is, cI as Z, cJ as Ps, cK as Ls } from "./index-
|
|
1
|
+
import { c0 as we, c1 as z, c2 as xt, c3 as B, b_ as q, b$ as y, c4 as Ro, c5 as ye, c6 as R, c7 as _, c8 as k, c9 as N, ca as A, cb as bs, cc as ir, cd as $e, ce as G, cf as Hn, cg as Vn, ch as dt, ci as D, cj as xs, ck as cn, cl as Be, cm as ws, cn as qt, co as zt, cp as $s, cq as Cs, cr as $n, cs as Ss, ct as Nr, cu as Bt, cv as zo, cw as ks, cx as Es, cy as j, cz as Gr, cA as Ms, cB as Ds, cC as sr, cD as As, cE as Ts, cF as zn, cG as Fs, cH as Is, cI as Z, cJ as Ps, cK as Ls } from "./index-oWgjP_o2.js";
|
|
2
2
|
var Os = (e) => e != null, qs = (e) => e.filter(Os);
|
|
3
3
|
function _s(e) {
|
|
4
4
|
return (...t) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as d, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { u as r, cL as l, cM as o, cN as c, ba as m, bb as g, cO as h, cP as p, cQ as b, aI as u } from "./index-
|
|
2
|
+
import { u as r, cL as l, cM as o, cN as c, ba as m, bb as g, cO as h, cP as p, cQ as b, aI as u } from "./index-oWgjP_o2.js";
|
|
3
3
|
import { Suspense as _ } from "react";
|
|
4
4
|
import "@tanstack/react-query";
|
|
5
5
|
const E = "index-module_loading__eyE2k", $ = "index-module_message__95HmH", y = "index-module_panel__8VJh2", s = {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import { u as g, k as u, bK as b, bU as f, bV as x, bW as p, aI as _, bQ as N } from "./index-
|
|
2
|
+
import { u as g, k as u, bK as b, bU as f, bV as x, bW as p, aI as _, bQ as N } from "./index-oWgjP_o2.js";
|
|
3
3
|
import { lazy as h, useMemo as t, Suspense as E } from "react";
|
|
4
4
|
import "@tanstack/react-query";
|
|
5
|
-
import { u as C } from "./hook-
|
|
5
|
+
import { u as C } from "./hook-5YN_fGC_.js";
|
|
6
6
|
const L = {
|
|
7
7
|
"org.bahmni.clinical.v2.search": h(
|
|
8
|
-
() => import("./index-
|
|
8
|
+
() => import("./index-CjTXJaEx.js")
|
|
9
9
|
)
|
|
10
10
|
}, v = "index-module_page__16xxw", I = "index-module_loading__wNI-4", P = "index-module_message__Ib5Iw", l = {
|
|
11
11
|
page: v,
|
|
@@ -69979,7 +69979,7 @@ function ot0(t) {
|
|
|
69979
69979
|
}
|
|
69980
69980
|
})), r.current;
|
|
69981
69981
|
}
|
|
69982
|
-
const at0 = "
|
|
69982
|
+
const at0 = "_dataTableBody_11n0o_1", lt0 = "_skeleton_11n0o_72", ct0 = "_statePlaceholder_11n0o_77", it0 = "_emptyStateCell_11n0o_88", st0 = "_pagination_11n0o_99", dt0 = "_setPagination_11n0o_104", ut0 = "_setNavButton_11n0o_114", ht0 = "_setPaginationPages_11n0o_126", pt0 = "_setPaginationPage_11n0o_126", ft0 = "_setPaginationPageActive_11n0o_156", mt0 = "_filterRow_11n0o_165", wt0 = "_filterCell_11n0o_169", gt0 = "_filterPlaceholderCell_11n0o_174", vt0 = "_groupRow_11n0o_179", Et0 = "_groupCell_11n0o_183", Mt0 = "_groupToggle_11n0o_187", yt0 = "_groupCount_11n0o_201", Vt0 = "_groupByDropdown_11n0o_206", zt0 = "_actionButtons_11n0o_211", Ht0 = "_visuallyHidden_11n0o_216", bt0 = "_selectFilter_11n0o_228", xt0 = "_dateRangeFilter_11n0o_232", s0 = {
|
|
69983
69983
|
dataTableBody: at0,
|
|
69984
69984
|
skeleton: lt0,
|
|
69985
69985
|
statePlaceholder: ct0,
|
|
@@ -70469,12 +70469,13 @@ const L9 = ({
|
|
|
70469
70469
|
startPage: n = 1,
|
|
70470
70470
|
hasNext: a,
|
|
70471
70471
|
hasPrevious: l,
|
|
70472
|
-
|
|
70473
|
-
|
|
70474
|
-
|
|
70475
|
-
|
|
70476
|
-
|
|
70477
|
-
|
|
70472
|
+
disabled: c = !1,
|
|
70473
|
+
onSetChange: i,
|
|
70474
|
+
previousLabel: s = "Previous set",
|
|
70475
|
+
nextLabel: d = "Next set"
|
|
70476
|
+
} = e, u = t.getPageCount();
|
|
70477
|
+
if (u <= 1 && !l && !a) return null;
|
|
70478
|
+
const h = n + t.getState().pagination.pageIndex;
|
|
70478
70479
|
return /* @__PURE__ */ Le(
|
|
70479
70480
|
"nav",
|
|
70480
70481
|
{
|
|
@@ -70488,29 +70489,30 @@ const L9 = ({
|
|
|
70488
70489
|
kind: "ghost",
|
|
70489
70490
|
size: "sm",
|
|
70490
70491
|
className: s0.setNavButton,
|
|
70491
|
-
onClick: () =>
|
|
70492
|
+
onClick: () => i("prev", t),
|
|
70493
|
+
disabled: c,
|
|
70492
70494
|
testId: `${r}-previous-set`,
|
|
70493
70495
|
children: [
|
|
70494
70496
|
/* @__PURE__ */ F(Yd, {}),
|
|
70495
|
-
|
|
70497
|
+
s
|
|
70496
70498
|
]
|
|
70497
70499
|
}
|
|
70498
70500
|
),
|
|
70499
|
-
/* @__PURE__ */ F("ul", { className: s0.setPaginationPages, children: Array.from({ length:
|
|
70500
|
-
const
|
|
70501
|
+
/* @__PURE__ */ F("ul", { className: s0.setPaginationPages, children: Array.from({ length: u }, (p, f) => {
|
|
70502
|
+
const E = n + f, w = E === h;
|
|
70501
70503
|
return /* @__PURE__ */ F("li", { children: /* @__PURE__ */ F(
|
|
70502
70504
|
"button",
|
|
70503
70505
|
{
|
|
70504
70506
|
type: "button",
|
|
70505
70507
|
className: _e(s0.setPaginationPage, {
|
|
70506
|
-
[s0.setPaginationPageActive]:
|
|
70508
|
+
[s0.setPaginationPageActive]: w
|
|
70507
70509
|
}),
|
|
70508
|
-
"aria-current":
|
|
70509
|
-
onClick: () => t.setPageIndex(
|
|
70510
|
-
"data-testid": `${r}-page-${
|
|
70511
|
-
children:
|
|
70510
|
+
"aria-current": w ? "page" : void 0,
|
|
70511
|
+
onClick: () => t.setPageIndex(f),
|
|
70512
|
+
"data-testid": `${r}-page-${E}`,
|
|
70513
|
+
children: E
|
|
70512
70514
|
}
|
|
70513
|
-
) },
|
|
70515
|
+
) }, E);
|
|
70514
70516
|
}) }),
|
|
70515
70517
|
a && /* @__PURE__ */ Le(
|
|
70516
70518
|
sr,
|
|
@@ -70518,10 +70520,11 @@ const L9 = ({
|
|
|
70518
70520
|
kind: "ghost",
|
|
70519
70521
|
size: "sm",
|
|
70520
70522
|
className: s0.setNavButton,
|
|
70521
|
-
onClick: () =>
|
|
70523
|
+
onClick: () => i("next", t),
|
|
70524
|
+
disabled: c,
|
|
70522
70525
|
testId: `${r}-next-set`,
|
|
70523
70526
|
children: [
|
|
70524
|
-
|
|
70527
|
+
d,
|
|
70525
70528
|
/* @__PURE__ */ F(Jd, {})
|
|
70526
70529
|
]
|
|
70527
70530
|
}
|
|
@@ -115655,7 +115658,7 @@ const gL0 = [
|
|
|
115655
115658
|
},
|
|
115656
115659
|
{
|
|
115657
115660
|
type: "patientDocuments",
|
|
115658
|
-
component: B0(() => import("./DocumentsTable-
|
|
115661
|
+
component: B0(() => import("./DocumentsTable-CBaZduLC-DvuC7XfT.js"))
|
|
115659
115662
|
},
|
|
115660
115663
|
{
|
|
115661
115664
|
type: "flowSheet",
|
|
@@ -115663,7 +115666,7 @@ const gL0 = [
|
|
|
115663
115666
|
},
|
|
115664
115667
|
{
|
|
115665
115668
|
type: "forms",
|
|
115666
|
-
component: B0(() => import("./FormsTable-
|
|
115669
|
+
component: B0(() => import("./FormsTable-BYeW3DRV-CfCum4hw.js"))
|
|
115667
115670
|
},
|
|
115668
115671
|
{
|
|
115669
115672
|
type: "labOrders",
|
|
@@ -115671,7 +115674,7 @@ const gL0 = [
|
|
|
115671
115674
|
},
|
|
115672
115675
|
{
|
|
115673
115676
|
type: "observations",
|
|
115674
|
-
component: B0(() => import("./Observations-
|
|
115677
|
+
component: B0(() => import("./Observations-Brw1YHvF-a_cjjPlH.js"))
|
|
115675
115678
|
},
|
|
115676
115679
|
{
|
|
115677
115680
|
type: "ordersControl",
|
|
@@ -205420,7 +205423,7 @@ function KUt(t) {
|
|
|
205420
205423
|
}
|
|
205421
205424
|
})), r.current;
|
|
205422
205425
|
}
|
|
205423
|
-
const GUt = "
|
|
205426
|
+
const GUt = "_dataTableBody_11n0o_1", YUt = "_skeleton_11n0o_72", JUt = "_statePlaceholder_11n0o_77", XUt = "_emptyStateCell_11n0o_88", QUt = "_pagination_11n0o_99", eqt = "_setPagination_11n0o_104", tqt = "_setNavButton_11n0o_114", rqt = "_setPaginationPages_11n0o_126", nqt = "_setPaginationPage_11n0o_126", oqt = "_setPaginationPageActive_11n0o_156", aqt = "_filterRow_11n0o_165", lqt = "_filterCell_11n0o_169", cqt = "_filterPlaceholderCell_11n0o_174", iqt = "_groupRow_11n0o_179", sqt = "_groupCell_11n0o_183", dqt = "_groupToggle_11n0o_187", uqt = "_groupCount_11n0o_201", hqt = "_groupByDropdown_11n0o_206", pqt = "_actionButtons_11n0o_211", fqt = "_visuallyHidden_11n0o_216", mqt = "_selectFilter_11n0o_228", wqt = "_dateRangeFilter_11n0o_232", d0 = {
|
|
205424
205427
|
dataTableBody: GUt,
|
|
205425
205428
|
skeleton: YUt,
|
|
205426
205429
|
statePlaceholder: JUt,
|
|
@@ -205910,12 +205913,13 @@ const fp2 = ({
|
|
|
205910
205913
|
startPage: n = 1,
|
|
205911
205914
|
hasNext: a,
|
|
205912
205915
|
hasPrevious: l,
|
|
205913
|
-
|
|
205914
|
-
|
|
205915
|
-
|
|
205916
|
-
|
|
205917
|
-
|
|
205918
|
-
|
|
205916
|
+
disabled: c = !1,
|
|
205917
|
+
onSetChange: i,
|
|
205918
|
+
previousLabel: s = "Previous set",
|
|
205919
|
+
nextLabel: d = "Next set"
|
|
205920
|
+
} = e, u = t.getPageCount();
|
|
205921
|
+
if (u <= 1 && !l && !a) return null;
|
|
205922
|
+
const h = n + t.getState().pagination.pageIndex;
|
|
205919
205923
|
return /* @__PURE__ */ Le(
|
|
205920
205924
|
"nav",
|
|
205921
205925
|
{
|
|
@@ -205929,29 +205933,30 @@ const fp2 = ({
|
|
|
205929
205933
|
kind: "ghost",
|
|
205930
205934
|
size: "sm",
|
|
205931
205935
|
className: d0.setNavButton,
|
|
205932
|
-
onClick: () =>
|
|
205936
|
+
onClick: () => i("prev", t),
|
|
205937
|
+
disabled: c,
|
|
205933
205938
|
testId: `${r}-previous-set`,
|
|
205934
205939
|
children: [
|
|
205935
205940
|
/* @__PURE__ */ F(Lh, {}),
|
|
205936
|
-
|
|
205941
|
+
s
|
|
205937
205942
|
]
|
|
205938
205943
|
}
|
|
205939
205944
|
),
|
|
205940
|
-
/* @__PURE__ */ F("ul", { className: d0.setPaginationPages, children: Array.from({ length:
|
|
205941
|
-
const
|
|
205945
|
+
/* @__PURE__ */ F("ul", { className: d0.setPaginationPages, children: Array.from({ length: u }, (p, f) => {
|
|
205946
|
+
const E = n + f, w = E === h;
|
|
205942
205947
|
return /* @__PURE__ */ F("li", { children: /* @__PURE__ */ F(
|
|
205943
205948
|
"button",
|
|
205944
205949
|
{
|
|
205945
205950
|
type: "button",
|
|
205946
205951
|
className: Ae(d0.setPaginationPage, {
|
|
205947
|
-
[d0.setPaginationPageActive]:
|
|
205952
|
+
[d0.setPaginationPageActive]: w
|
|
205948
205953
|
}),
|
|
205949
|
-
"aria-current":
|
|
205950
|
-
onClick: () => t.setPageIndex(
|
|
205951
|
-
"data-testid": `${r}-page-${
|
|
205952
|
-
children:
|
|
205954
|
+
"aria-current": w ? "page" : void 0,
|
|
205955
|
+
onClick: () => t.setPageIndex(f),
|
|
205956
|
+
"data-testid": `${r}-page-${E}`,
|
|
205957
|
+
children: E
|
|
205953
205958
|
}
|
|
205954
|
-
) },
|
|
205959
|
+
) }, E);
|
|
205955
205960
|
}) }),
|
|
205956
205961
|
a && /* @__PURE__ */ Le(
|
|
205957
205962
|
Cs,
|
|
@@ -205959,10 +205964,11 @@ const fp2 = ({
|
|
|
205959
205964
|
kind: "ghost",
|
|
205960
205965
|
size: "sm",
|
|
205961
205966
|
className: d0.setNavButton,
|
|
205962
|
-
onClick: () =>
|
|
205967
|
+
onClick: () => i("next", t),
|
|
205968
|
+
disabled: c,
|
|
205963
205969
|
testId: `${r}-next-set`,
|
|
205964
205970
|
children: [
|
|
205965
|
-
|
|
205971
|
+
d,
|
|
205966
205972
|
/* @__PURE__ */ F(_h, {})
|
|
205967
205973
|
]
|
|
205968
205974
|
}
|
|
@@ -211775,7 +211781,7 @@ var a1r = (t, e = !1) => {
|
|
|
211775
211781
|
const e = Jp2(() => {
|
|
211776
211782
|
const r = this, [n] = this.#n, [a] = this.#o, [l] = this.#a, [c] = this.#l, [i] = this.#p, [s] = this.#e;
|
|
211777
211783
|
let d;
|
|
211778
|
-
return this.#c ? d = this.#c : (d = Gp2(() => import("./LNWAZHJI-
|
|
211784
|
+
return this.#c ? d = this.#c : (d = Gp2(() => import("./LNWAZHJI-pY0_FhNO.js")), this.#c = d), wf2(this.#h, this.#r), Wp2(d, Kp2({
|
|
211779
211785
|
get queryFlavor() {
|
|
211780
211786
|
return r.#d;
|
|
211781
211787
|
},
|
|
@@ -211873,7 +211879,7 @@ var a1r = (t, e = !1) => {
|
|
|
211873
211879
|
const e = Jp2(() => {
|
|
211874
211880
|
const r = this, [n] = this.#n, [a] = this.#o, [l] = this.#a, [c] = this.#l, [i] = this.#p, [s] = this.#e, [d] = this.#c;
|
|
211875
211881
|
let u;
|
|
211876
|
-
return this.#i ? u = this.#i : (u = Gp2(() => import("./MWZ6AO7Z-
|
|
211882
|
+
return this.#i ? u = this.#i : (u = Gp2(() => import("./MWZ6AO7Z-DUAXx-Zf.js")), this.#i = u), wf2(this.#h, this.#r), Wp2(u, Kp2({
|
|
211877
211883
|
get queryFlavor() {
|
|
211878
211884
|
return r.#d;
|
|
211879
211885
|
},
|
|
@@ -212029,7 +212035,7 @@ const NJt = {
|
|
|
212029
212035
|
id: "clinical-config",
|
|
212030
212036
|
name: "Clinical Config",
|
|
212031
212037
|
displayName: "ClinicalConfigProvider"
|
|
212032
|
-
}), BJt = B0(() => import("./ConsultationPage-
|
|
212038
|
+
}), BJt = B0(() => import("./ConsultationPage-B57YOvYW.js")), PJt = B0(() => import("./index-DuBrxkQU.js")), FJt = [
|
|
212033
212039
|
{
|
|
212034
212040
|
path: ":patientUuid",
|
|
212035
212041
|
component: BJt
|