@bahmni/registration-app 0.0.1-dev.330 → 0.0.1-dev.331
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-Il19n5sp-CRtsc7BF.js → DocumentsTable-BWdWCSEF-KF3vAf6G.js} +1 -1
- package/dist/{FormsTable-CUvcHb6f-Z4jtXpwF.js → FormsTable-BeIgWoc7-DrcQsM2a.js} +1 -1
- package/dist/{LNWAZHJI-BFYBllMu.js → LNWAZHJI-DlmvSNQ4.js} +2 -2
- package/dist/{MWZ6AO7Z-DuY9fkYJ.js → MWZ6AO7Z-Xp19AtcN.js} +2 -2
- package/dist/{Observations-CeCquAyF-Cg57zR-5.js → Observations-BjoSIa29-BX_TUYbP.js} +1 -1
- package/dist/{YPM2AS64-GH1ZqEEP.js → YPM2AS64-DR4dOiZF.js} +1 -1
- package/dist/{index-C1ZPOmvO.js → index-DOc0CRms.js} +110 -110
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as r, jsxs as h, Fragment as x } from "react/jsx-runtime";
|
|
2
|
-
import { a as G, u as W, q as Y, h as J, $ as X, v as Z, R as ee, p as te } from "./index-
|
|
2
|
+
import { a as G, u as W, q as Y, h as J, $ as X, v as Z, R as ee, p as te } from "./index-DOc0CRms.js";
|
|
3
3
|
import { useQuery as ae } from "@tanstack/react-query";
|
|
4
4
|
import { useState as l, useCallback as p, useEffect as I, useMemo as _ } from "react";
|
|
5
5
|
const ne = "DocumentsTable-module_documentsTableBody__6iR3w", oe = "DocumentsTable-module_viewAttachmentsLink__aQ1on", re = "DocumentsTable-module_documentViewerContainer__F5m8D", de = "DocumentsTable-module_attachmentItem__17KA7", se = "DocumentsTable-module_attachmentCounter__WFiI3", me = "DocumentsTable-module_attachmentError__RI4U2", ce = "DocumentsTable-module_documentIframe__ptq5I", le = "DocumentsTable-module_documentImage__KQVgS", d = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as i, jsxs as re, Fragment as oe } from "react/jsx-runtime";
|
|
2
|
-
import { u as ae, a as se, b as te, c as ne, s as de, d as ie, e as le, U as ue, f as q, v as me, $ as ce, R as Q, _ as fe, A as ye, p as pe, g as be, i as he } from "./index-
|
|
2
|
+
import { u as ae, a as se, b as te, c as ne, s as de, d as ie, e as le, U as ue, f as q, v as me, $ as ce, R as Q, _ as fe, A as ye, p as pe, g as be, i as he } from "./index-DOc0CRms.js";
|
|
3
3
|
import { useQueryClient as ge, useQuery as p } from "@tanstack/react-query";
|
|
4
4
|
import { useState as $, useMemo as d, useCallback as b } from "react";
|
|
5
5
|
const Ne = "FormsTable-module_formsTableBody__SvGha", Ae = "FormsTable-module_customAccordianItem__isszs", v = {
|
|
@@ -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 { x as d, z 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-DR4dOiZF.js";
|
|
2
|
+
import { x as d, z as f, B as e } from "./index-DOc0CRms.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 { x as v, z 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-DR4dOiZF.js";
|
|
2
|
+
import { x as v, z as C, B as e } from "./index-DOc0CRms.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 S, jsx as u } from "react/jsx-runtime";
|
|
2
|
-
import { a as B, q as k, u as N, l as K, j as H, U as j, V as w, y as M, H as x, k as G, R as z, m as P, n as Q, E as W, o as J, r as X, t as Y, W as Z, w as ee } from "./index-
|
|
2
|
+
import { a as B, q as k, u as N, l as K, j as H, U as j, V as w, y as M, H as x, k as G, R as z, m as P, n as Q, E as W, o as J, r as X, t as Y, W as Z, w as ee } from "./index-DOc0CRms.js";
|
|
3
3
|
import { useQueries as ae, useQuery as te } from "@tanstack/react-query";
|
|
4
4
|
import { useRef as se, useEffect as _, useMemo as R } from "react";
|
|
5
5
|
const U = (a, n, d, l, b, r) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as we, D as z, F as xt, G as B, z as q, B as y, P as Ro, I as ye, S as R, J as _, K as k, L as N, M as A, N as bs, O as ir, Q as $e, T as G, X as Hn, Y as Vn, Z as dt, a0 as D, a1 as xs, a2 as cn, a3 as Be, a4 as ws, a5 as qt, a6 as zt, a7 as $s, a8 as Cs, a9 as $n, aa as Ss, ab as Nr, ac as Bt, ad as zo, ae as ks, af as Es, ag as j, ah as Gr, ai as Ms, aj as Ds, ak as sr, al as As, am as Ts, an as zn, ao as Fs, ap as Is, aq as Z, ar as Ps, as as Ls } from "./index-
|
|
1
|
+
import { C as we, D as z, F as xt, G as B, z as q, B as y, P as Ro, I as ye, S as R, J as _, K as k, L as N, M as A, N as bs, O as ir, Q as $e, T as G, X as Hn, Y as Vn, Z as dt, a0 as D, a1 as xs, a2 as cn, a3 as Be, a4 as ws, a5 as qt, a6 as zt, a7 as $s, a8 as Cs, a9 as $n, aa as Ss, ab as Nr, ac as Bt, ad as zo, ae as ks, af as Es, ag as j, ah as Gr, ai as Ms, aj as Ds, ak as sr, al as As, am as Ts, an as zn, ao as Fs, ap as Is, aq as Z, ar as Ps, as as Ls } from "./index-DOc0CRms.js";
|
|
2
2
|
var Os = (e) => e != null, qs = (e) => e.filter(Os);
|
|
3
3
|
function _s(e) {
|
|
4
4
|
return (...t) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as oe, jsxs as De, Fragment as I2 } from "react/jsx-runtime";
|
|
2
2
|
import "@carbon/styles/css/styles.css";
|
|
3
3
|
import * as de from "react";
|
|
4
|
-
import n, { createContext as v2, useContext as p1, useCallback as xe, useState as he, useRef as me, useEffect as pe, forwardRef as M1, useLayoutEffect as l0, isValidElement as It, cloneElement as
|
|
4
|
+
import n, { createContext as v2, useContext as p1, useCallback as xe, useState as he, useRef as me, useEffect as pe, forwardRef as M1, useLayoutEffect as l0, isValidElement as It, cloneElement as I1, useMemo as Ze, lazy as st, useReducer as Qi, Children as P0, useImperativeHandle as Tn, createElement as o4, Fragment as Pu2, Component as QX1 } from "react";
|
|
5
5
|
import * as nd from "react-dom";
|
|
6
6
|
import od, { createPortal as Ec } from "react-dom";
|
|
7
7
|
import { useQuery as a2, useQueryClient as e6, useQueries as eQ1, onlineManager as tQ1, useMutation as rQ1, QueryClient as Fu2, QueryClientProvider as ju2 } from "@tanstack/react-query";
|
|
@@ -109,7 +109,7 @@ const ih2 = (t, e) => {
|
|
|
109
109
|
return pe(() => {
|
|
110
110
|
r.current = t;
|
|
111
111
|
}, [t, e]), r.current;
|
|
112
|
-
}, aQ1 = (t, e, r, o) => t.getFixedT(e, r, o), sh2 = (t, e, r, o) => xe(aQ1(t, e, r, o), [t, e, r, o]),
|
|
112
|
+
}, aQ1 = (t, e, r, o) => t.getFixedT(e, r, o), sh2 = (t, e, r, o) => xe(aQ1(t, e, r, o), [t, e, r, o]), k1 = (t, e = {}) => {
|
|
113
113
|
const {
|
|
114
114
|
i18n: r
|
|
115
115
|
} = e, {
|
|
@@ -39855,7 +39855,7 @@ const a0 = (t, e) => /* @__PURE__ */ It(t) && t.type === e, oE = /* @__PURE__ */
|
|
|
39855
39855
|
[`${m}--checkbox-wrapper--decorator`]: e
|
|
39856
39856
|
}), O = be(`${m}--checkbox-label-text`, {
|
|
39857
39857
|
[`${m}--visually-hidden`]: u
|
|
39858
|
-
}), $ = w ?? e, S = a0($, s0) ? /* @__PURE__ */
|
|
39858
|
+
}), $ = w ?? e, S = a0($, s0) ? /* @__PURE__ */ I1($, {
|
|
39859
39859
|
size: $.props.kind === "inline" ? "md" : "mini"
|
|
39860
39860
|
}) : null;
|
|
39861
39861
|
return /* @__PURE__ */ n.createElement("div", {
|
|
@@ -40958,7 +40958,7 @@ var Ae2 = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0
|
|
|
40958
40958
|
if (this.getRootProps.called || this.props.suppressRefError)
|
|
40959
40959
|
return process.env.NODE_ENV !== "production" && !this.getRootProps.suppressRefError && !this.props.suppressRefError && Jj2(c, this.getRootProps), c;
|
|
40960
40960
|
if (ze2(c))
|
|
40961
|
-
return /* @__PURE__ */
|
|
40961
|
+
return /* @__PURE__ */ I1(c, this.getRootProps(xe2(c)));
|
|
40962
40962
|
if (process.env.NODE_ENV !== "production")
|
|
40963
40963
|
throw new Error("downshift: If you return a non-DOM element, you must apply the getRootProps function");
|
|
40964
40964
|
}, r;
|
|
@@ -43236,7 +43236,7 @@ const jr = (...t) => (e) => {
|
|
|
43236
43236
|
}]), Y1 = be(`${se}--text-input`, {
|
|
43237
43237
|
[`${se}--text-input--empty`]: !G,
|
|
43238
43238
|
[`${se}--combo-box--input--focus`]: ze
|
|
43239
|
-
}), t1 = g, e1 = T ?? s, Te = a0(e1, s0) ? /* @__PURE__ */
|
|
43239
|
+
}), t1 = g, e1 = T ?? s, Te = a0(e1, s0) ? /* @__PURE__ */ I1(e1, {
|
|
43240
43240
|
size: "mini"
|
|
43241
43241
|
}) : null, {
|
|
43242
43242
|
// Prop getters
|
|
@@ -45701,7 +45701,7 @@ const VU2 = /* @__PURE__ */ n.forwardRef(function({
|
|
|
45701
45701
|
})(L.current);
|
|
45702
45702
|
}
|
|
45703
45703
|
}, [u, p, N]);
|
|
45704
|
-
const D = v ?? l, Z = a0(D, s0) ? /* @__PURE__ */
|
|
45704
|
+
const D = v ?? l, Z = a0(D, s0) ? /* @__PURE__ */ I1(D, {
|
|
45705
45705
|
size: "sm"
|
|
45706
45706
|
}) : null, X = F ? /* @__PURE__ */ n.createElement(Cd, {
|
|
45707
45707
|
open: u,
|
|
@@ -46619,7 +46619,7 @@ const Ua = ({
|
|
|
46619
46619
|
},
|
|
46620
46620
|
[`${r}--table-column-decorator`]: !0,
|
|
46621
46621
|
[`${r}--table-column-decorator--active`]: e
|
|
46622
|
-
}), a = a0(e, s0) ? /* @__PURE__ */
|
|
46622
|
+
}), a = a0(e, s0) ? /* @__PURE__ */ I1(e, {
|
|
46623
46623
|
size: "mini"
|
|
46624
46624
|
}) : null;
|
|
46625
46625
|
return /* @__PURE__ */ n.createElement("td", {
|
|
@@ -46906,7 +46906,7 @@ const Od = _d({
|
|
|
46906
46906
|
id: h,
|
|
46907
46907
|
...p
|
|
46908
46908
|
}, f) {
|
|
46909
|
-
const E = We(), w = u2("table-sort"), v = me(null), M = u ?? o, m = a0(M, s0), g = m, N = m ? /* @__PURE__ */
|
|
46909
|
+
const E = We(), w = u2("table-sort"), v = me(null), M = u ?? o, m = a0(M, s0), g = m, N = m ? /* @__PURE__ */ I1(M, {
|
|
46910
46910
|
size: "mini",
|
|
46911
46911
|
ref: v
|
|
46912
46912
|
}) : null, V = be({
|
|
@@ -47245,7 +47245,7 @@ const cM = /* @__PURE__ */ n.forwardRef((t, e) => {
|
|
|
47245
47245
|
[`${w}--radio-button-wrapper--label-${i}`]: i !== "right",
|
|
47246
47246
|
[`${w}--radio-button-wrapper--slug`]: p,
|
|
47247
47247
|
[`${w}--radio-button-wrapper--decorator`]: o
|
|
47248
|
-
}), V = me(null), y = p ?? o, _ = a0(y, s0) ? /* @__PURE__ */
|
|
47248
|
+
}), V = me(null), y = p ?? o, _ = a0(y, s0) ? /* @__PURE__ */ I1(y, {
|
|
47249
47249
|
size: y.props?.kind === "inline" ? "md" : "mini"
|
|
47250
47250
|
}) : null;
|
|
47251
47251
|
return /* @__PURE__ */ n.createElement("div", {
|
|
@@ -48084,7 +48084,7 @@ const ga = /* @__PURE__ */ z4(PU2), FU2 = /* @__PURE__ */ (() => {
|
|
|
48084
48084
|
visibility: "hidden",
|
|
48085
48085
|
top: "0px"
|
|
48086
48086
|
};
|
|
48087
|
-
return /* @__PURE__ */
|
|
48087
|
+
return /* @__PURE__ */ I1(t, {
|
|
48088
48088
|
ref: V,
|
|
48089
48089
|
style: {
|
|
48090
48090
|
...s,
|
|
@@ -48269,7 +48269,7 @@ const ga = /* @__PURE__ */ z4(PU2), FU2 = /* @__PURE__ */ (() => {
|
|
|
48269
48269
|
}), ge = be(`${O}--overflow-menu__icon`, s), ve = P0.toArray(o).map((He, Ve) => {
|
|
48270
48270
|
if (/* @__PURE__ */ It(He)) {
|
|
48271
48271
|
const Le = He;
|
|
48272
|
-
return /* @__PURE__ */
|
|
48272
|
+
return /* @__PURE__ */ I1(Le, {
|
|
48273
48273
|
closeMenu: Le.props.closeMenu || X,
|
|
48274
48274
|
handleOverflowMenuItemFocus: ee,
|
|
48275
48275
|
ref: (Me) => {
|
|
@@ -48296,7 +48296,7 @@ const ga = /* @__PURE__ */ z4(PU2), FU2 = /* @__PURE__ */ (() => {
|
|
|
48296
48296
|
target: ie,
|
|
48297
48297
|
onPlace: P,
|
|
48298
48298
|
selectorPrimaryFocus: N
|
|
48299
|
-
}, /* @__PURE__ */
|
|
48299
|
+
}, /* @__PURE__ */ I1(ze, {
|
|
48300
48300
|
"data-floating-menu-direction": c
|
|
48301
48301
|
})), ye = y ? jr(R, y, L) : jr(R, L);
|
|
48302
48302
|
return /* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("span", {
|
|
@@ -53962,7 +53962,7 @@ const $9 = /* @__PURE__ */ n.forwardRef(function(t, e) {
|
|
|
53962
53962
|
"aria-describedby": c ? j : void 0
|
|
53963
53963
|
};
|
|
53964
53964
|
s && (J["data-invalid"] = !0);
|
|
53965
|
-
const W = /* @__PURE__ */ n.createElement("input", J), U = v ?? o, q = a0(U, s0) ? /* @__PURE__ */
|
|
53965
|
+
const W = /* @__PURE__ */ n.createElement("input", J), U = v ?? o, q = a0(U, s0) ? /* @__PURE__ */ I1(U, {
|
|
53966
53966
|
size: "mini"
|
|
53967
53967
|
}) : null;
|
|
53968
53968
|
return /* @__PURE__ */ n.createElement("div", {
|
|
@@ -55019,7 +55019,7 @@ const Rd = /* @__PURE__ */ n.forwardRef(({
|
|
|
55019
55019
|
onKeyDown: R1
|
|
55020
55020
|
}, [I, R1]), c1 = Ze(() => Q({
|
|
55021
55021
|
ref: W || t ? U.setFloating : null
|
|
55022
|
-
}), [t, Q, U.setFloating, W]), P1 = F ?? r, Y1 = a0(P1, s0) ? /* @__PURE__ */
|
|
55022
|
+
}), [t, Q, U.setFloating, W]), P1 = F ?? r, Y1 = a0(P1, s0) ? /* @__PURE__ */ I1(P1, {
|
|
55023
55023
|
size: "mini"
|
|
55024
55024
|
}) : null, t1 = ee(), e1 = /* @__PURE__ */ It(v) ? {
|
|
55025
55025
|
id: t1.id
|
|
@@ -56446,7 +56446,7 @@ const SW2 = (t) => {
|
|
|
56446
56446
|
e1.cancel(), window.removeEventListener("resize", e1);
|
|
56447
56447
|
};
|
|
56448
56448
|
}, []);
|
|
56449
|
-
const R1 = J ?? o, V1 = a0(R1, s0) ? /* @__PURE__ */
|
|
56449
|
+
const R1 = J ?? o, V1 = a0(R1, s0) ? /* @__PURE__ */ I1(R1, {
|
|
56450
56450
|
size: "sm"
|
|
56451
56451
|
}) : null, c1 = /* @__PURE__ */ n.createElement("div", {
|
|
56452
56452
|
className: `${q}--modal-close-button`
|
|
@@ -57211,7 +57211,7 @@ const kW2 = (t, {
|
|
|
57211
57211
|
const E1 = h1.current?.value;
|
|
57212
57212
|
E1?.length === 1 || Fe && "key" in Fe && N1(Fe, nt) ? ie("") : ie(E1 ?? ""), h1.current && h1.current.focus();
|
|
57213
57213
|
}
|
|
57214
|
-
const A2 = k ?? c, m0 = a0(A2, s0) ? /* @__PURE__ */
|
|
57214
|
+
const A2 = k ?? c, m0 = a0(A2, s0) ? /* @__PURE__ */ I1(A2, {
|
|
57215
57215
|
size: "mini"
|
|
57216
57216
|
}) : null, Ne = ye.filter((Fe) => !Fe.isSelectAll).length, r1 = be(`${Ue}--multi-select`, `${Ue}--combo-box`, `${Ue}--multi-select--filterable`, {
|
|
57217
57217
|
[`${Ue}--multi-select--invalid`]: E,
|
|
@@ -58219,7 +58219,7 @@ const LVe = {
|
|
|
58219
58219
|
const u1 = P1(Ie, s1);
|
|
58220
58220
|
_ && _(Ie, u1);
|
|
58221
58221
|
}
|
|
58222
|
-
}, t1 = I ?? a, e1 = a0(t1, s0) ? /* @__PURE__ */
|
|
58222
|
+
}, t1 = I ?? a, e1 = a0(t1, s0) ? /* @__PURE__ */ I1(t1, {
|
|
58223
58223
|
size: "mini"
|
|
58224
58224
|
}) : null;
|
|
58225
58225
|
let Te;
|
|
@@ -58614,7 +58614,7 @@ const yw = {
|
|
|
58614
58614
|
[`${w}--tag--interactive`]: f.onClick && !V && g
|
|
58615
58615
|
}), _ = a !== void 0 && a in Object.keys(yw) ? yw[a] : "", L = (F) => {
|
|
58616
58616
|
d && (F.stopPropagation(), d(F));
|
|
58617
|
-
}, O = p ?? r, $ = a0(O, s0) && !V ? /* @__PURE__ */
|
|
58617
|
+
}, O = p ?? r, $ = a0(O, s0) && !V ? /* @__PURE__ */ I1(O, {
|
|
58618
58618
|
size: "sm",
|
|
58619
58619
|
kind: "inline"
|
|
58620
58620
|
}) : null;
|
|
@@ -58893,7 +58893,7 @@ const Z9 = /* @__PURE__ */ n.forwardRef(function({
|
|
|
58893
58893
|
onKeyDown: (ee) => {
|
|
58894
58894
|
f && ["ArrowDown", "ArrowUp", " "].includes(ee.key) && ee.preventDefault();
|
|
58895
58895
|
}
|
|
58896
|
-
}, K = m ?? e, G = a0(K, s0) ? /* @__PURE__ */
|
|
58896
|
+
}, K = m ?? e, G = a0(K, s0) ? /* @__PURE__ */ I1(K, {
|
|
58897
58897
|
size: "mini"
|
|
58898
58898
|
}) : null, re = /* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("select", Se({}, g, B, {
|
|
58899
58899
|
id: r,
|
|
@@ -60256,7 +60256,7 @@ const T22 = (t, e, r = "character", o = "characters") => {
|
|
|
60256
60256
|
rows: V,
|
|
60257
60257
|
readOnly: _.readOnly,
|
|
60258
60258
|
ref: q
|
|
60259
|
-
})), Ve = y ?? o, Le = a0(Ve, s0) ? /* @__PURE__ */
|
|
60259
|
+
})), Ve = y ?? o, Le = a0(Ve, s0) ? /* @__PURE__ */ I1(Ve, {
|
|
60260
60260
|
size: "mini"
|
|
60261
60261
|
}) : null;
|
|
60262
60262
|
return /* @__PURE__ */ n.createElement("div", {
|
|
@@ -60525,7 +60525,7 @@ const gM = /* @__PURE__ */ n.forwardRef(function({
|
|
|
60525
60525
|
}
|
|
60526
60526
|
}
|
|
60527
60527
|
}, [se, ie]);
|
|
60528
|
-
const fe = W.icon, ge = V ?? e, ve = a0(ge, s0) ? /* @__PURE__ */
|
|
60528
|
+
const fe = W.icon, ge = V ?? e, ve = a0(ge, s0) ? /* @__PURE__ */ I1(ge, {
|
|
60529
60529
|
size: "mini"
|
|
60530
60530
|
}) : null;
|
|
60531
60531
|
return /* @__PURE__ */ n.createElement("div", {
|
|
@@ -60860,7 +60860,7 @@ const YK2 = /* @__PURE__ */ n.forwardRef(function({
|
|
|
60860
60860
|
function L(I) {
|
|
60861
60861
|
I?.persist?.(), ko(I, [hr, On]) && (I.preventDefault(), y(I, !g)), m(I);
|
|
60862
60862
|
}
|
|
60863
|
-
const O = me(null), $ = p ?? r, S = a0($, s0) ? /* @__PURE__ */
|
|
60863
|
+
const O = me(null), $ = p ?? r, S = a0($, s0) ? /* @__PURE__ */ I1($, {
|
|
60864
60864
|
size: "xs",
|
|
60865
60865
|
ref: O
|
|
60866
60866
|
}) : null;
|
|
@@ -61019,7 +61019,7 @@ const $22 = /* @__PURE__ */ n.forwardRef(function({
|
|
|
61019
61019
|
});
|
|
61020
61020
|
return ce.observe(W.current), () => ce.disconnect();
|
|
61021
61021
|
}, []);
|
|
61022
|
-
const Q = u2("expandable-tile-interactive"), P = E ?? o, ie = a0(P, s0) ? /* @__PURE__ */
|
|
61022
|
+
const Q = u2("expandable-tile-interactive"), P = E ?? o, ie = a0(P, s0) ? /* @__PURE__ */ I1(P, {
|
|
61023
61023
|
size: "xs"
|
|
61024
61024
|
}) : null;
|
|
61025
61025
|
return j ? /* @__PURE__ */ n.createElement("div", Se({
|
|
@@ -97166,7 +97166,7 @@ const Ma = /* @__PURE__ */ du(fh0), mh0 = /* @__PURE__ */ (() => {
|
|
|
97166
97166
|
visibility: "hidden",
|
|
97167
97167
|
top: "0px"
|
|
97168
97168
|
};
|
|
97169
|
-
return /* @__PURE__ */
|
|
97169
|
+
return /* @__PURE__ */ I1(t, {
|
|
97170
97170
|
ref: V,
|
|
97171
97171
|
style: {
|
|
97172
97172
|
...s,
|
|
@@ -97351,7 +97351,7 @@ const Ma = /* @__PURE__ */ du(fh0), mh0 = /* @__PURE__ */ (() => {
|
|
|
97351
97351
|
}), ge = J1(`${O}--overflow-menu__icon`, s), ve = P0.toArray(o).map((He, Ve) => {
|
|
97352
97352
|
if (/* @__PURE__ */ It(He)) {
|
|
97353
97353
|
const Le = He;
|
|
97354
|
-
return /* @__PURE__ */
|
|
97354
|
+
return /* @__PURE__ */ I1(Le, {
|
|
97355
97355
|
closeMenu: Le.props.closeMenu || X,
|
|
97356
97356
|
handleOverflowMenuItemFocus: ee,
|
|
97357
97357
|
ref: (Me) => {
|
|
@@ -97378,7 +97378,7 @@ const Ma = /* @__PURE__ */ du(fh0), mh0 = /* @__PURE__ */ (() => {
|
|
|
97378
97378
|
target: ie,
|
|
97379
97379
|
onPlace: P,
|
|
97380
97380
|
selectorPrimaryFocus: N
|
|
97381
|
-
}, /* @__PURE__ */
|
|
97381
|
+
}, /* @__PURE__ */ I1(ze, {
|
|
97382
97382
|
"data-floating-menu-direction": c
|
|
97383
97383
|
})), ye = y ? hg(R, y, L) : hg(R, L);
|
|
97384
97384
|
return /* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("span", {
|
|
@@ -97717,7 +97717,7 @@ const xh0 = (t, e, r = "character", o = "characters") => {
|
|
|
97717
97717
|
rows: V,
|
|
97718
97718
|
readOnly: _.readOnly,
|
|
97719
97719
|
ref: q
|
|
97720
|
-
})), Ve = y ?? o, Le = Yu0(Ve, EV) ? /* @__PURE__ */
|
|
97720
|
+
})), Ve = y ?? o, Le = Yu0(Ve, EV) ? /* @__PURE__ */ I1(Ve, {
|
|
97721
97721
|
size: "mini"
|
|
97722
97722
|
}) : null;
|
|
97723
97723
|
return /* @__PURE__ */ n.createElement("div", {
|
|
@@ -97973,7 +97973,7 @@ const mr = () => {
|
|
|
97973
97973
|
config: t,
|
|
97974
97974
|
disableActions: e = !1
|
|
97975
97975
|
}) => {
|
|
97976
|
-
const [r, o] = he([]), a = mr(), { t: c } =
|
|
97976
|
+
const [r, o] = he([]), a = mr(), { t: c } = k1(), { addNotification: l } = A0(), i = Ze(
|
|
97977
97977
|
() => t?.actions ?? [],
|
|
97978
97978
|
[t?.actions]
|
|
97979
97979
|
), s = Ze(
|
|
@@ -98154,7 +98154,7 @@ const mr = () => {
|
|
|
98154
98154
|
idPrefix: o,
|
|
98155
98155
|
queryFn: a
|
|
98156
98156
|
}) => {
|
|
98157
|
-
const { t: c } =
|
|
98157
|
+
const { t: c } = k1(), { addNotification: l } = A0(), [i, s] = he(1), [d, u] = he(r), [h, p] = he(void 0), { data: f, isLoading: E, isError: w, error: v } = a2({
|
|
98158
98158
|
queryKey: [t, e, i, d],
|
|
98159
98159
|
enabled: !!e,
|
|
98160
98160
|
queryFn: () => a(d, i)
|
|
@@ -98216,7 +98216,7 @@ const mr = () => {
|
|
|
98216
98216
|
totalItems: s,
|
|
98217
98217
|
onPageChange: d
|
|
98218
98218
|
}) => {
|
|
98219
|
-
const { t: u } =
|
|
98219
|
+
const { t: u } = k1();
|
|
98220
98220
|
return !e && t.length === 0 ? /* @__PURE__ */ oe("p", { className: _0.appointmentTableEmpty, children: u(r) }) : /* @__PURE__ */ oe(
|
|
98221
98221
|
tt,
|
|
98222
98222
|
{
|
|
@@ -98333,7 +98333,7 @@ const mr = () => {
|
|
|
98333
98333
|
"status",
|
|
98334
98334
|
"provider"
|
|
98335
98335
|
], vp0 = ({ config: t }) => {
|
|
98336
|
-
const { t: e } =
|
|
98336
|
+
const { t: e } = k1(), r = mr(), [o, a] = he(0), c = t?.fields ?? gp0, l = Number(t?.pageSize) || 5, i = Ze(
|
|
98337
98337
|
() => c.map((u) => ({
|
|
98338
98338
|
key: u,
|
|
98339
98339
|
header: e(wp0[u] || u)
|
|
@@ -99855,7 +99855,7 @@ const _We = ({
|
|
|
99855
99855
|
renderCell: c,
|
|
99856
99856
|
enabled: l = !0
|
|
99857
99857
|
}) => {
|
|
99858
|
-
const { t: i } =
|
|
99858
|
+
const { t: i } = k1(), { addNotification: s } = A0(), [d, u] = he(1), [h, p] = he(e), { data: f, isLoading: E, isError: w, error: v } = a2({
|
|
99859
99859
|
queryKey: [
|
|
99860
99860
|
"conditions",
|
|
99861
99861
|
r,
|
|
@@ -99915,7 +99915,7 @@ const _We = ({
|
|
|
99915
99915
|
config: t,
|
|
99916
99916
|
disableActions: e = !1
|
|
99917
99917
|
}) => {
|
|
99918
|
-
const r = Number(t?.pageSize) || 5, o = mr(), { t: a } =
|
|
99918
|
+
const r = Number(t?.pageSize) || 5, o = mr(), { t: a } = k1(), { addNotification: c } = A0(), l = e6(), [i, s] = he(0), [d, u] = he(!1), [h, p] = he(null), [f, E] = he(!1), w = Ze(
|
|
99919
99919
|
() => t?.actions ?? [],
|
|
99920
99920
|
[t?.actions]
|
|
99921
99921
|
), v = Ze(
|
|
@@ -100084,7 +100084,7 @@ const _We = ({
|
|
|
100084
100084
|
confirmedCell: rf0,
|
|
100085
100085
|
provisionalCell: nf0
|
|
100086
100086
|
}, of0 = ({ config: t }) => {
|
|
100087
|
-
const e = Number(t?.pageSize) || 5, { t: r } =
|
|
100087
|
+
const e = Number(t?.pageSize) || 5, { t: r } = k1(), o = mr(), { addNotification: a } = A0(), [c, l] = he(1), [i, s] = he(e), { data: d, isLoading: u, isError: h, error: p, refetch: f } = a2({
|
|
100088
100088
|
queryKey: ["diagnoses", o, c, i],
|
|
100089
100089
|
enabled: !!o,
|
|
100090
100090
|
placeholderData: (m) => m,
|
|
@@ -100219,7 +100219,7 @@ const _We = ({
|
|
|
100219
100219
|
startDate: r,
|
|
100220
100220
|
disabledActionTypes: o = []
|
|
100221
100221
|
}) => {
|
|
100222
|
-
const { t: a } =
|
|
100222
|
+
const { t: a } = k1(), { userPrivileges: c } = Rc(), l = Ze(
|
|
100223
100223
|
() => t.filter(
|
|
100224
100224
|
(s) => su(c, s.requiredPrivilege)
|
|
100225
100225
|
),
|
|
@@ -100560,7 +100560,7 @@ const Kf0 = (t) => !t || t.length === 0 ? [] : [...t].sort((e, r) => {
|
|
|
100560
100560
|
activeEncounterUuid: a = null,
|
|
100561
100561
|
disableActions: c = !1
|
|
100562
100562
|
}) => {
|
|
100563
|
-
const { t: l } =
|
|
100563
|
+
const { t: l } = k1(), i = mr(), { addNotification: s } = A0(), { userPrivileges: d } = Rc(), u = t?.code || [], h = t?.actions ?? [], p = Ze(
|
|
100564
100564
|
() => h.filter(
|
|
100565
100565
|
(T) => su(d, T.requiredPrivilege)
|
|
100566
100566
|
),
|
|
@@ -101159,7 +101159,7 @@ const pm0 = "ObservationsRenderer-module_resultsContainer__xvAwi", fm0 = "Observ
|
|
|
101159
101159
|
testIdPrefix: o = "",
|
|
101160
101160
|
hideThumbnail: a = !1
|
|
101161
101161
|
}) => {
|
|
101162
|
-
const { t: c } =
|
|
101162
|
+
const { t: c } = k1(), l = t.members && t.members.length > 0, i = t.display, s = o ? `${o}-` : "";
|
|
101163
101163
|
if (l)
|
|
101164
101164
|
return /* @__PURE__ */ De(
|
|
101165
101165
|
"div",
|
|
@@ -101333,7 +101333,7 @@ const pm0 = "ObservationsRenderer-module_resultsContainer__xvAwi", fm0 = "Observ
|
|
|
101333
101333
|
controlOrder: s,
|
|
101334
101334
|
sectionMap: d
|
|
101335
101335
|
}) => {
|
|
101336
|
-
const { t: u } =
|
|
101336
|
+
const { t: u } = k1(), h = Ze(() => {
|
|
101337
101337
|
if (t.length === 0) return [];
|
|
101338
101338
|
const M = dm0(t), m = s && s.length > 0 ? sm0(M, s) : on2(M);
|
|
101339
101339
|
return an2(m);
|
|
@@ -101431,7 +101431,7 @@ const pm0 = "ObservationsRenderer-module_resultsContainer__xvAwi", fm0 = "Observ
|
|
|
101431
101431
|
}
|
|
101432
101432
|
);
|
|
101433
101433
|
}, in2 = ({ reportId: t }) => {
|
|
101434
|
-
const { t: e } =
|
|
101434
|
+
const { t: e } = k1(), {
|
|
101435
101435
|
data: r,
|
|
101436
101436
|
isLoading: o,
|
|
101437
101437
|
isError: a,
|
|
@@ -101511,7 +101511,7 @@ const Om0 = "RadiologyInvestigationTable-module_inProgressStatus__PKgxl", Dm0 =
|
|
|
101511
101511
|
reportDetails: qm0,
|
|
101512
101512
|
reportTile: Um0
|
|
101513
101513
|
}, Wm0 = ({ investigation: t, headers: e, renderCell: r, showLinkedOrders: o, showReport: a }) => {
|
|
101514
|
-
const { t: c } =
|
|
101514
|
+
const { t: c } = k1(), l = t.status === "completed", i = !!t.reportId;
|
|
101515
101515
|
if (!o && !a)
|
|
101516
101516
|
return null;
|
|
101517
101517
|
const s = (h) => /* @__PURE__ */ De(
|
|
@@ -101556,7 +101556,7 @@ const Om0 = "RadiologyInvestigationTable-module_inProgressStatus__PKgxl", Dm0 =
|
|
|
101556
101556
|
imagingStudyId: t,
|
|
101557
101557
|
onDateLoaded: e
|
|
101558
101558
|
}) => {
|
|
101559
|
-
const { t: r } =
|
|
101559
|
+
const { t: r } = k1(), {
|
|
101560
101560
|
data: o,
|
|
101561
101561
|
isLoading: a,
|
|
101562
101562
|
isError: c,
|
|
@@ -101655,7 +101655,7 @@ const pn2 = (t) => ["radiologyInvestigation", t], aw0 = async (t, e, r, o) => {
|
|
|
101655
101655
|
encounterUuids: e,
|
|
101656
101656
|
episodeOfCareUuids: r
|
|
101657
101657
|
}) => {
|
|
101658
|
-
const o = mr(), { t: a } =
|
|
101658
|
+
const o = mr(), { t: a } = k1(), { addNotification: c } = A0(), l = t?.orderType, i = t?.numberOfVisits, s = t?.pacsViewerUrl, d = t?.groupLinkedOrders, u = t?.showInlineReport, [h, p] = he(
|
|
101659
101659
|
/* @__PURE__ */ new Set([0])
|
|
101660
101660
|
), [f, E] = he(null), [w, v] = he(null), [M, m] = he(), g = z6(
|
|
101661
101661
|
r,
|
|
@@ -102198,7 +102198,7 @@ const Rw0 = ({
|
|
|
102198
102198
|
hasProcessedReport: r,
|
|
102199
102199
|
reportId: o
|
|
102200
102200
|
}) => {
|
|
102201
|
-
const { t: a } =
|
|
102201
|
+
const { t: a } = k1(), [c, l] = he(!1), {
|
|
102202
102202
|
data: i,
|
|
102203
102203
|
isLoading: s,
|
|
102204
102204
|
isError: d
|
|
@@ -102325,7 +102325,7 @@ const Rw0 = ({
|
|
|
102325
102325
|
encounterUuids: e,
|
|
102326
102326
|
episodeOfCareUuids: r
|
|
102327
102327
|
}) => {
|
|
102328
|
-
const { t: o } =
|
|
102328
|
+
const { t: o } = k1(), a = mr(), { addNotification: c } = A0(), l = t?.orderType, i = t?.numberOfVisits, [s, d] = he(
|
|
102329
102329
|
/* @__PURE__ */ new Set([0])
|
|
102330
102330
|
), [u, h] = he(0), p = z6(
|
|
102331
102331
|
r,
|
|
@@ -102717,7 +102717,7 @@ const jw0 = "SearchPatient-module_searchPatientContainer__uqWDm", qw0 = "SearchP
|
|
|
102717
102717
|
patientSearch: r,
|
|
102718
102718
|
onSearch: o
|
|
102719
102719
|
}) => {
|
|
102720
|
-
const [a, c] = he(""), [l, i] = he(""), [s, d] = he(""), [u, h] = he(""), { addNotification: p } = A0(), { t: f } =
|
|
102720
|
+
const [a, c] = he(""), [l, i] = he(""), [s, d] = he(""), [u, h] = he(""), { addNotification: p } = A0(), { t: f } = k1(), [E, w] = he(!1), [v, M] = he([]), [m, g] = he(""), [N, V] = he([]), y = (W) => E ? W?.type === "appointment" ? "appointment" : "attributes" : "nameOrId", _ = async () => {
|
|
102721
102721
|
const W = N.find(
|
|
102722
102722
|
(k) => f(k.translationKey) === m
|
|
102723
102723
|
), U = y(W), q = Vu.getStrategy(U), Y = {
|
|
@@ -103094,7 +103094,7 @@ const jw0 = "SearchPatient-module_searchPatientContainer__uqWDm", qw0 = "SearchP
|
|
|
103094
103094
|
}, ug0 = [], hg0 = ({
|
|
103095
103095
|
config: { latestCount: t, obsConcepts: e, groupBy: r }
|
|
103096
103096
|
}) => {
|
|
103097
|
-
const { t: o } =
|
|
103097
|
+
const { t: o } = k1(), a = mr(), {
|
|
103098
103098
|
data: c,
|
|
103099
103099
|
loading: l,
|
|
103100
103100
|
error: i,
|
|
@@ -103300,24 +103300,24 @@ ${y.formattedResult}`
|
|
|
103300
103300
|
actionConfig: e,
|
|
103301
103301
|
episodeOfCareUuids: r
|
|
103302
103302
|
}) => {
|
|
103303
|
-
const { userPrivileges: o } = Rc(), a = mg0(e, t.code), { data:
|
|
103303
|
+
const { userPrivileges: o } = Rc(), { t: a } = k1(), c = mg0(e, t.code), { data: l = [], isLoading: i } = a2({
|
|
103304
103304
|
queryKey: ["observationForms", r],
|
|
103305
103305
|
queryFn: () => xo0(r),
|
|
103306
|
-
enabled:
|
|
103307
|
-
}),
|
|
103308
|
-
if (
|
|
103306
|
+
enabled: c
|
|
103307
|
+
}), s = Ze(() => e ? e.find((p) => p.taskCode === t.code) : null, [e, t.code]), d = Ze(() => !s?.actions || i ? [] : s.actions.filter((p) => su(o, p.requiredPrivileges) ? wg0(p, t, l, o) : !1), [s, o, l, i, t]);
|
|
103308
|
+
if (d.length === 0)
|
|
103309
103309
|
return null;
|
|
103310
|
-
const
|
|
103310
|
+
const u = d[0], h = t.status !== Eg0;
|
|
103311
103311
|
return /* @__PURE__ */ oe(
|
|
103312
103312
|
kd,
|
|
103313
103313
|
{
|
|
103314
|
-
label:
|
|
103314
|
+
label: a(u.label),
|
|
103315
103315
|
kind: "ghost",
|
|
103316
103316
|
size: "sm",
|
|
103317
|
-
onClick: () => vg0(
|
|
103318
|
-
testId: `task-action-${
|
|
103319
|
-
disabled:
|
|
103320
|
-
children: /* @__PURE__ */ oe(qd, { name:
|
|
103317
|
+
onClick: () => vg0(u, t),
|
|
103318
|
+
testId: `task-action-${u.type}-${t.id}`,
|
|
103319
|
+
disabled: h,
|
|
103320
|
+
children: /* @__PURE__ */ oe(qd, { name: u.icon, id: `task-action-icon-${t.id}` })
|
|
103321
103321
|
}
|
|
103322
103322
|
);
|
|
103323
103323
|
}, Vg0 = "TaskList-module_completedStatus__ubQOk", yg0 = "TaskList-module_activeStatus__2Pku3", Hg0 = "TaskList-module_scheduledStatus__theUP", zg0 = "TaskList-module_cancelledStatus__72eup", xg0 = "TaskList-module_stoppedStatus__SQvC1", bg0 = "TaskList-module_defaultStatus__cdKao", Ng0 = "TaskList-module_tasksTableBody__xNB7S", Ag0 = "TaskList-module_emptyState__D-JLC", Ao = {
|
|
@@ -103368,7 +103368,7 @@ ${y.formattedResult}`
|
|
|
103368
103368
|
orderReference: o,
|
|
103369
103369
|
showEmptyStateMessage: a = !0
|
|
103370
103370
|
}) => {
|
|
103371
|
-
const { t: c } =
|
|
103371
|
+
const { t: c } = k1(), l = mr(), i = t, s = i?.showOnlyLeafTasks ?? !1, d = i?.taskTypes, u = z6(
|
|
103372
103372
|
e,
|
|
103373
103373
|
r
|
|
103374
103374
|
), { data: h, isLoading: p, error: f, refetch: E } = a2({
|
|
@@ -103474,7 +103474,7 @@ ${y.formattedResult}`
|
|
|
103474
103474
|
encounterUuids: r,
|
|
103475
103475
|
visitUuids: o
|
|
103476
103476
|
}) => {
|
|
103477
|
-
const { t: a } =
|
|
103477
|
+
const { t: a } = k1(), c = mr(), { addNotification: l } = A0(), i = t?.orderType || "", s = t?.showTasks === !0, d = t?.tasksControlConfig, u = z6(
|
|
103478
103478
|
e,
|
|
103479
103479
|
r
|
|
103480
103480
|
), {
|
|
@@ -103714,7 +103714,7 @@ function Xg0(t, e) {
|
|
|
103714
103714
|
}));
|
|
103715
103715
|
}
|
|
103716
103716
|
const Qg0 = ({ config: t }) => {
|
|
103717
|
-
const { t: e } =
|
|
103717
|
+
const { t: e } = k1(), r = mr(), o = Number(t?.pageSize) || 5, [a, c] = he(1), [l, i] = he(o), s = t?.fields ?? [], d = Ze(
|
|
103718
103718
|
() => Yg0(s),
|
|
103719
103719
|
[s]
|
|
103720
103720
|
), { data: u, isLoading: h, isError: p } = a2({
|
|
@@ -103947,7 +103947,7 @@ const mv0 = async (t) => (await er2(t, "completed")).map(pv0), FWe = ({
|
|
|
103947
103947
|
patientUUID: t,
|
|
103948
103948
|
config: e
|
|
103949
103949
|
}) => {
|
|
103950
|
-
const { t: r } =
|
|
103950
|
+
const { t: r } = k1(), { data: o, isLoading: a, isError: c, refetch: l } = a2({
|
|
103951
103951
|
queryKey: ["immunizations", t, "completed"],
|
|
103952
103952
|
queryFn: () => mv0(t),
|
|
103953
103953
|
enabled: !!t
|
|
@@ -104056,7 +104056,7 @@ const mv0 = async (t) => (await er2(t, "completed")).map(pv0), FWe = ({
|
|
|
104056
104056
|
patientUUID: t,
|
|
104057
104057
|
config: e
|
|
104058
104058
|
}) => {
|
|
104059
|
-
const { t: r } =
|
|
104059
|
+
const { t: r } = k1(), { data: o, isLoading: a, isError: c, refetch: l } = a2({
|
|
104060
104060
|
queryKey: ["immunizations", t, "not-done"],
|
|
104061
104061
|
queryFn: () => wv0(t),
|
|
104062
104062
|
enabled: !!t
|
|
@@ -104111,7 +104111,7 @@ const mv0 = async (t) => (await er2(t, "completed")).map(pv0), FWe = ({
|
|
|
104111
104111
|
return "IMMUNIZATION_HISTORY_WIDGET_TITLE";
|
|
104112
104112
|
}
|
|
104113
104113
|
}, vv0 = ({ config: t }) => {
|
|
104114
|
-
const { t: e } =
|
|
104114
|
+
const { t: e } = k1(), r = mr(), [o, a] = he(0), c = t?.status, l = t?.encounterType, i = t?.startEncounterPrivilege, s = t?.administeredFields, d = t?.notAdministeredFields, u = {
|
|
104115
104115
|
columns: s ? s.filter((w) => IWe.includes(w)) : IWe,
|
|
104116
104116
|
expandedFields: s ? s.filter(
|
|
104117
104117
|
(w) => BWe.includes(w)
|
|
@@ -106016,7 +106016,7 @@ const MV0 = ({
|
|
|
106016
106016
|
activeActionIndex: o,
|
|
106017
106017
|
onNavigate: a
|
|
106018
106018
|
}) => {
|
|
106019
|
-
const { t: c } =
|
|
106019
|
+
const { t: c } = k1("command-palette"), [l, i] = he(!1), s = r[o], d = Y8.name.getValue(t) ?? "", u = wV0(t.givenName, t.familyName), h = gV0(
|
|
106020
106020
|
t,
|
|
106021
106021
|
e.primaryFields
|
|
106022
106022
|
), p = {
|
|
@@ -106160,7 +106160,7 @@ const zV0 = () => /* @__PURE__ */ De(
|
|
|
106160
106160
|
]
|
|
106161
106161
|
}
|
|
106162
106162
|
), xV0 = () => {
|
|
106163
|
-
const { t } =
|
|
106163
|
+
const { t } = k1("command-palette"), {
|
|
106164
106164
|
isOpen: e,
|
|
106165
106165
|
setOpen: r,
|
|
106166
106166
|
navItems: o,
|
|
@@ -106491,7 +106491,7 @@ function _V0(t) {
|
|
|
106491
106491
|
name: l,
|
|
106492
106492
|
displayName: i
|
|
106493
106493
|
} = t, s = ({ children: d }) => {
|
|
106494
|
-
const { t: u } =
|
|
106494
|
+
const { t: u } = k1(), { addNotification: h } = A0(), { data: p, isLoading: f, error: E } = a2({ queryKey: r, queryFn: o }), w = Ze(
|
|
106495
106495
|
() => a(p, f, E),
|
|
106496
106496
|
[p, f, E]
|
|
106497
106497
|
);
|
|
@@ -106553,7 +106553,7 @@ function TV0(t, e, r) {
|
|
|
106553
106553
|
return o;
|
|
106554
106554
|
};
|
|
106555
106555
|
}
|
|
106556
|
-
st(() => Promise.resolve().then(() => Uh0)), st(() => Promise.resolve().then(() => Ep0)), st(() => Promise.resolve().then(() => Xp0)), st(() => Promise.resolve().then(() => af0)), st(() => import("./DocumentsTable-
|
|
106556
|
+
st(() => Promise.resolve().then(() => Uh0)), st(() => Promise.resolve().then(() => Ep0)), st(() => Promise.resolve().then(() => Xp0)), st(() => Promise.resolve().then(() => af0)), st(() => import("./DocumentsTable-BWdWCSEF-KF3vAf6G.js")), st(() => Promise.resolve().then(() => pg0)), st(() => import("./FormsTable-BeIgWoc7-DrcQsM2a.js")), st(() => Promise.resolve().then(() => kw0)), st(() => import("./Observations-BjoSIa29-BX_TUYbP.js")), st(
|
|
106557
106557
|
() => Promise.resolve().then(() => Ug0)
|
|
106558
106558
|
), st(
|
|
106559
106559
|
() => Promise.resolve().then(() => lw0)
|
|
@@ -156899,7 +156899,7 @@ const n0 = (t, e) => /* @__PURE__ */ It(t) && t.type === e, Gu = /* @__PURE__ */
|
|
|
156899
156899
|
[`${m}--checkbox-wrapper--decorator`]: e
|
|
156900
156900
|
}), O = Ae(`${m}--checkbox-label-text`, {
|
|
156901
156901
|
[`${m}--visually-hidden`]: u
|
|
156902
|
-
}), $ = w ?? e, S = n0($, c0) ? /* @__PURE__ */
|
|
156902
|
+
}), $ = w ?? e, S = n0($, c0) ? /* @__PURE__ */ I1($, {
|
|
156903
156903
|
size: $.props.kind === "inline" ? "md" : "mini"
|
|
156904
156904
|
}) : null;
|
|
156905
156905
|
return /* @__PURE__ */ n.createElement("div", {
|
|
@@ -157046,7 +157046,7 @@ const y42 = ({
|
|
|
157046
157046
|
[`${E}--checkbox-group--warning`]: w,
|
|
157047
157047
|
[`${E}--checkbox-group--slug`]: h,
|
|
157048
157048
|
[`${E}--checkbox-group--decorator`]: r
|
|
157049
|
-
}), V = h ?? r, y = n0(V, c0) ? /* @__PURE__ */
|
|
157049
|
+
}), V = h ?? r, y = n0(V, c0) ? /* @__PURE__ */ I1(V, {
|
|
157050
157050
|
size: "mini",
|
|
157051
157051
|
kind: "default"
|
|
157052
157052
|
}) : null;
|
|
@@ -158075,7 +158075,7 @@ var C42 = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0
|
|
|
158075
158075
|
if (this.getRootProps.called || this.props.suppressRefError)
|
|
158076
158076
|
return process.env.NODE_ENV !== "production" && !this.getRootProps.suppressRefError && !this.props.suppressRefError && e3t(c, this.getRootProps), c;
|
|
158077
158077
|
if (x42(c))
|
|
158078
|
-
return /* @__PURE__ */
|
|
158078
|
+
return /* @__PURE__ */ I1(c, this.getRootProps(b42(c)));
|
|
158079
158079
|
if (process.env.NODE_ENV !== "production")
|
|
158080
158080
|
throw new Error("downshift: If you return a non-DOM element, you must apply the getRootProps function");
|
|
158081
158081
|
}, r;
|
|
@@ -160353,7 +160353,7 @@ const Yr = (...t) => (e) => {
|
|
|
160353
160353
|
}]), Y1 = Ae(`${se}--text-input`, {
|
|
160354
160354
|
[`${se}--text-input--empty`]: !G,
|
|
160355
160355
|
[`${se}--combo-box--input--focus`]: ze
|
|
160356
|
-
}), t1 = g, e1 = T ?? s, Te = n0(e1, c0) ? /* @__PURE__ */
|
|
160356
|
+
}), t1 = g, e1 = T ?? s, Te = n0(e1, c0) ? /* @__PURE__ */ I1(e1, {
|
|
160357
160357
|
size: "mini"
|
|
160358
160358
|
}) : null, {
|
|
160359
160359
|
// Prop getters
|
|
@@ -162818,7 +162818,7 @@ const z4t = /* @__PURE__ */ n.forwardRef(function({
|
|
|
162818
162818
|
})(L.current);
|
|
162819
162819
|
}
|
|
162820
162820
|
}, [u, p, N]);
|
|
162821
|
-
const D = v ?? l, Z = n0(D, c0) ? /* @__PURE__ */
|
|
162821
|
+
const D = v ?? l, Z = n0(D, c0) ? /* @__PURE__ */ I1(D, {
|
|
162822
162822
|
size: "sm"
|
|
162823
162823
|
}) : null, X = F ? /* @__PURE__ */ n.createElement(ah, {
|
|
162824
162824
|
open: u,
|
|
@@ -163736,7 +163736,7 @@ const fc = ({
|
|
|
163736
163736
|
},
|
|
163737
163737
|
[`${r}--table-column-decorator`]: !0,
|
|
163738
163738
|
[`${r}--table-column-decorator--active`]: e
|
|
163739
|
-
}), a = n0(e, c0) ? /* @__PURE__ */
|
|
163739
|
+
}), a = n0(e, c0) ? /* @__PURE__ */ I1(e, {
|
|
163740
163740
|
size: "mini"
|
|
163741
163741
|
}) : null;
|
|
163742
163742
|
return /* @__PURE__ */ n.createElement("td", {
|
|
@@ -164023,7 +164023,7 @@ const wH = lh({
|
|
|
164023
164023
|
id: h,
|
|
164024
164024
|
...p
|
|
164025
164025
|
}, f) {
|
|
164026
|
-
const E = Ke(), w = h2("table-sort"), v = me(null), M = u ?? o, m = n0(M, c0), g = m, N = m ? /* @__PURE__ */
|
|
164026
|
+
const E = Ke(), w = h2("table-sort"), v = me(null), M = u ?? o, m = n0(M, c0), g = m, N = m ? /* @__PURE__ */ I1(M, {
|
|
164027
164027
|
size: "mini",
|
|
164028
164028
|
ref: v
|
|
164029
164029
|
}) : null, V = Ae({
|
|
@@ -164362,7 +164362,7 @@ const vH = /* @__PURE__ */ n.forwardRef((t, e) => {
|
|
|
164362
164362
|
[`${w}--radio-button-wrapper--label-${i}`]: i !== "right",
|
|
164363
164363
|
[`${w}--radio-button-wrapper--slug`]: p,
|
|
164364
164364
|
[`${w}--radio-button-wrapper--decorator`]: o
|
|
164365
|
-
}), V = me(null), y = p ?? o, _ = n0(y, c0) ? /* @__PURE__ */
|
|
164365
|
+
}), V = me(null), y = p ?? o, _ = n0(y, c0) ? /* @__PURE__ */ I1(y, {
|
|
164366
164366
|
size: y.props?.kind === "inline" ? "md" : "mini"
|
|
164367
164367
|
}) : null;
|
|
164368
164368
|
return /* @__PURE__ */ n.createElement("div", {
|
|
@@ -165201,7 +165201,7 @@ const ya = /* @__PURE__ */ _4(U4t), W4t = /* @__PURE__ */ (() => {
|
|
|
165201
165201
|
visibility: "hidden",
|
|
165202
165202
|
top: "0px"
|
|
165203
165203
|
};
|
|
165204
|
-
return /* @__PURE__ */
|
|
165204
|
+
return /* @__PURE__ */ I1(t, {
|
|
165205
165205
|
ref: V,
|
|
165206
165206
|
style: {
|
|
165207
165207
|
...s,
|
|
@@ -165386,7 +165386,7 @@ const ya = /* @__PURE__ */ _4(U4t), W4t = /* @__PURE__ */ (() => {
|
|
|
165386
165386
|
}), ge = Ae(`${O}--overflow-menu__icon`, s), ve = P0.toArray(o).map((He, Ve) => {
|
|
165387
165387
|
if (/* @__PURE__ */ It(He)) {
|
|
165388
165388
|
const Le = He;
|
|
165389
|
-
return /* @__PURE__ */
|
|
165389
|
+
return /* @__PURE__ */ I1(Le, {
|
|
165390
165390
|
closeMenu: Le.props.closeMenu || X,
|
|
165391
165391
|
handleOverflowMenuItemFocus: ee,
|
|
165392
165392
|
ref: (Me) => {
|
|
@@ -165413,7 +165413,7 @@ const ya = /* @__PURE__ */ _4(U4t), W4t = /* @__PURE__ */ (() => {
|
|
|
165413
165413
|
target: ie,
|
|
165414
165414
|
onPlace: P,
|
|
165415
165415
|
selectorPrimaryFocus: N
|
|
165416
|
-
}, /* @__PURE__ */
|
|
165416
|
+
}, /* @__PURE__ */ I1(ze, {
|
|
165417
165417
|
"data-floating-menu-direction": c
|
|
165418
165418
|
})), ye = y ? Yr(R, y, L) : Yr(R, L);
|
|
165419
165419
|
return /* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("span", {
|
|
@@ -171079,7 +171079,7 @@ const $7 = /* @__PURE__ */ n.forwardRef(function(t, e) {
|
|
|
171079
171079
|
"aria-describedby": c ? j : void 0
|
|
171080
171080
|
};
|
|
171081
171081
|
s && (J["data-invalid"] = !0);
|
|
171082
|
-
const W = /* @__PURE__ */ n.createElement("input", J), U = v ?? o, q = n0(U, c0) ? /* @__PURE__ */
|
|
171082
|
+
const W = /* @__PURE__ */ n.createElement("input", J), U = v ?? o, q = n0(U, c0) ? /* @__PURE__ */ I1(U, {
|
|
171083
171083
|
size: "mini"
|
|
171084
171084
|
}) : null;
|
|
171085
171085
|
return /* @__PURE__ */ n.createElement("div", {
|
|
@@ -172136,7 +172136,7 @@ const yH = /* @__PURE__ */ n.forwardRef(({
|
|
|
172136
172136
|
onKeyDown: R1
|
|
172137
172137
|
}, [I, R1]), c1 = Ze(() => Q({
|
|
172138
172138
|
ref: W || t ? U.setFloating : null
|
|
172139
|
-
}), [t, Q, U.setFloating, W]), P1 = F ?? r, Y1 = n0(P1, c0) ? /* @__PURE__ */
|
|
172139
|
+
}), [t, Q, U.setFloating, W]), P1 = F ?? r, Y1 = n0(P1, c0) ? /* @__PURE__ */ I1(P1, {
|
|
172140
172140
|
size: "mini"
|
|
172141
172141
|
}) : null, t1 = ee(), e1 = /* @__PURE__ */ It(v) ? {
|
|
172142
172142
|
id: t1.id
|
|
@@ -173527,7 +173527,7 @@ const Iat = (t) => {
|
|
|
173527
173527
|
e1.cancel(), window.removeEventListener("resize", e1);
|
|
173528
173528
|
};
|
|
173529
173529
|
}, []);
|
|
173530
|
-
const R1 = J ?? o, V1 = n0(R1, c0) ? /* @__PURE__ */
|
|
173530
|
+
const R1 = J ?? o, V1 = n0(R1, c0) ? /* @__PURE__ */ I1(R1, {
|
|
173531
173531
|
size: "sm"
|
|
173532
173532
|
}) : null, c1 = /* @__PURE__ */ n.createElement("div", {
|
|
173533
173533
|
className: `${q}--modal-close-button`
|
|
@@ -174292,7 +174292,7 @@ const Pat = (t, {
|
|
|
174292
174292
|
const E1 = h1.current?.value;
|
|
174293
174293
|
E1?.length === 1 || Fe && "key" in Fe && _1(Fe, at) ? ie("") : ie(E1 ?? ""), h1.current && h1.current.focus();
|
|
174294
174294
|
}
|
|
174295
|
-
const A2 = k ?? c, m0 = n0(A2, c0) ? /* @__PURE__ */
|
|
174295
|
+
const A2 = k ?? c, m0 = n0(A2, c0) ? /* @__PURE__ */ I1(A2, {
|
|
174296
174296
|
size: "mini"
|
|
174297
174297
|
}) : null, Ne = ye.filter((Fe) => !Fe.isSelectAll).length, r1 = Ae(`${Ue}--multi-select`, `${Ue}--combo-box`, `${Ue}--multi-select--filterable`, {
|
|
174298
174298
|
[`${Ue}--multi-select--invalid`]: E,
|
|
@@ -175087,7 +175087,7 @@ const XU1 = {
|
|
|
175087
175087
|
const u1 = P1(Ie, s1);
|
|
175088
175088
|
_ && _(Ie, u1);
|
|
175089
175089
|
}
|
|
175090
|
-
}, t1 = I ?? a, e1 = n0(t1, c0) ? /* @__PURE__ */
|
|
175090
|
+
}, t1 = I ?? a, e1 = n0(t1, c0) ? /* @__PURE__ */ I1(t1, {
|
|
175091
175091
|
size: "mini"
|
|
175092
175092
|
}) : null;
|
|
175093
175093
|
let Te;
|
|
@@ -175482,7 +175482,7 @@ const rv = {
|
|
|
175482
175482
|
[`${w}--tag--interactive`]: f.onClick && !V && g
|
|
175483
175483
|
}), _ = a !== void 0 && a in Object.keys(rv) ? rv[a] : "", L = (F) => {
|
|
175484
175484
|
d && (F.stopPropagation(), d(F));
|
|
175485
|
-
}, O = p ?? r, $ = n0(O, c0) && !V ? /* @__PURE__ */
|
|
175485
|
+
}, O = p ?? r, $ = n0(O, c0) && !V ? /* @__PURE__ */ I1(O, {
|
|
175486
175486
|
size: "sm",
|
|
175487
175487
|
kind: "inline"
|
|
175488
175488
|
}) : null;
|
|
@@ -175761,7 +175761,7 @@ const k7 = /* @__PURE__ */ n.forwardRef(function({
|
|
|
175761
175761
|
onKeyDown: (ee) => {
|
|
175762
175762
|
f && ["ArrowDown", "ArrowUp", " "].includes(ee.key) && ee.preventDefault();
|
|
175763
175763
|
}
|
|
175764
|
-
}, K = m ?? e, G = n0(K, c0) ? /* @__PURE__ */
|
|
175764
|
+
}, K = m ?? e, G = n0(K, c0) ? /* @__PURE__ */ I1(K, {
|
|
175765
175765
|
size: "mini"
|
|
175766
175766
|
}) : null, re = /* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("select", Be({}, g, B, {
|
|
175767
175767
|
id: r,
|
|
@@ -176744,7 +176744,7 @@ const Cc2 = (t, e, r = "character", o = "characters") => {
|
|
|
176744
176744
|
rows: V,
|
|
176745
176745
|
readOnly: _.readOnly,
|
|
176746
176746
|
ref: q
|
|
176747
|
-
})), Ve = y ?? o, Le = n0(Ve, c0) ? /* @__PURE__ */
|
|
176747
|
+
})), Ve = y ?? o, Le = n0(Ve, c0) ? /* @__PURE__ */ I1(Ve, {
|
|
176748
176748
|
size: "mini"
|
|
176749
176749
|
}) : null;
|
|
176750
176750
|
return /* @__PURE__ */ n.createElement("div", {
|
|
@@ -177013,7 +177013,7 @@ const bH = /* @__PURE__ */ n.forwardRef(function({
|
|
|
177013
177013
|
}
|
|
177014
177014
|
}
|
|
177015
177015
|
}, [se, ie]);
|
|
177016
|
-
const fe = W.icon, ge = V ?? e, ve = n0(ge, c0) ? /* @__PURE__ */
|
|
177016
|
+
const fe = W.icon, ge = V ?? e, ve = n0(ge, c0) ? /* @__PURE__ */ I1(ge, {
|
|
177017
177017
|
size: "mini"
|
|
177018
177018
|
}) : null;
|
|
177019
177019
|
return /* @__PURE__ */ n.createElement("div", {
|
|
@@ -177348,7 +177348,7 @@ const Qct = /* @__PURE__ */ n.forwardRef(function({
|
|
|
177348
177348
|
function L(I) {
|
|
177349
177349
|
I?.persist?.(), v4(I, [wr, Rn]) && (I.preventDefault(), y(I, !g)), m(I);
|
|
177350
177350
|
}
|
|
177351
|
-
const O = me(null), $ = p ?? r, S = n0($, c0) ? /* @__PURE__ */
|
|
177351
|
+
const O = me(null), $ = p ?? r, S = n0($, c0) ? /* @__PURE__ */ I1($, {
|
|
177352
177352
|
size: "xs",
|
|
177353
177353
|
ref: O
|
|
177354
177354
|
}) : null;
|
|
@@ -177507,7 +177507,7 @@ const Tc2 = /* @__PURE__ */ n.forwardRef(function({
|
|
|
177507
177507
|
});
|
|
177508
177508
|
return ce.observe(W.current), () => ce.disconnect();
|
|
177509
177509
|
}, []);
|
|
177510
|
-
const Q = h2("expandable-tile-interactive"), P = E ?? o, ie = n0(P, c0) ? /* @__PURE__ */
|
|
177510
|
+
const Q = h2("expandable-tile-interactive"), P = E ?? o, ie = n0(P, c0) ? /* @__PURE__ */ I1(P, {
|
|
177511
177511
|
size: "xs"
|
|
177512
177512
|
}) : null;
|
|
177513
177513
|
return j ? /* @__PURE__ */ n.createElement("div", Be({
|
|
@@ -191389,7 +191389,7 @@ var QFt = (t, e = !1) => {
|
|
|
191389
191389
|
const e = xd2(() => {
|
|
191390
191390
|
const r = this, [o] = this.#n, [a] = this.#o, [c] = this.#a, [l] = this.#c, [i] = this.#p, [s] = this.#t;
|
|
191391
191391
|
let d;
|
|
191392
|
-
return this.#l ? d = this.#l : (d = Hd2(() => import("./LNWAZHJI-
|
|
191392
|
+
return this.#l ? d = this.#l : (d = Hd2(() => import("./LNWAZHJI-DlmvSNQ4.js")), this.#l = d), jd2(this.#h, this.#r), Vd2(d, yd2({
|
|
191393
191393
|
get queryFlavor() {
|
|
191394
191394
|
return r.#d;
|
|
191395
191395
|
},
|
|
@@ -191487,7 +191487,7 @@ var QFt = (t, e = !1) => {
|
|
|
191487
191487
|
const e = xd2(() => {
|
|
191488
191488
|
const r = this, [o] = this.#n, [a] = this.#o, [c] = this.#a, [l] = this.#c, [i] = this.#p, [s] = this.#t, [d] = this.#l;
|
|
191489
191489
|
let u;
|
|
191490
|
-
return this.#i ? u = this.#i : (u = Hd2(() => import("./MWZ6AO7Z-
|
|
191490
|
+
return this.#i ? u = this.#i : (u = Hd2(() => import("./MWZ6AO7Z-Xp19AtcN.js")), this.#i = u), jd2(this.#h, this.#r), Vd2(u, yd2({
|
|
191491
191491
|
get queryFlavor() {
|
|
191492
191492
|
return r.#d;
|
|
191493
191493
|
},
|
|
@@ -196974,7 +196974,7 @@ const NZt = (t) => t?.minWidthPx != null && t?.maxWidthPx != null && t?.minHeigh
|
|
|
196974
196974
|
initialPhoto: e,
|
|
196975
196975
|
photoConfig: r
|
|
196976
196976
|
}) => {
|
|
196977
|
-
const { t: o } =
|
|
196977
|
+
const { t: o } = k1(), a = AZt(r), { maxFileSizeBytes: c } = a, l = a.mode === "fixed" ? {
|
|
196978
196978
|
aspectRatio: `${a.widthPx} / ${a.heightPx}`,
|
|
196979
196979
|
maxWidth: `${a.widthPx}px`
|
|
196980
196980
|
} : {
|
|
@@ -198783,7 +198783,7 @@ const uIt = {
|
|
|
198783
198783
|
initialPhoto: o,
|
|
198784
198784
|
ref: a
|
|
198785
198785
|
}) => {
|
|
198786
|
-
const { t: c } =
|
|
198786
|
+
const { t: c } = k1(), {
|
|
198787
198787
|
identifierPrefixes: l,
|
|
198788
198788
|
primaryIdentifierType: i,
|
|
198789
198789
|
primaryIdentifierTypeName: s,
|
|
@@ -199425,7 +199425,7 @@ const Vu2 = () => {
|
|
|
199425
199425
|
});
|
|
199426
199426
|
return { hasActiveVisit: e, isLoading: r };
|
|
199427
199427
|
}, MIt = () => {
|
|
199428
|
-
const { t } =
|
|
199428
|
+
const { t } = k1(), { addNotification: e } = A0(), { patientUuid: r } = Mc(), { hasActiveVisit: o } = yu2(r), a = e6(), c = Vu2();
|
|
199429
199429
|
return { createVisit: async (i, s) => {
|
|
199430
199430
|
try {
|
|
199431
199431
|
if (o)
|
|
@@ -199472,7 +199472,7 @@ const Vu2 = () => {
|
|
|
199472
199472
|
onActiveVisitClick: r,
|
|
199473
199473
|
disabled: o = !1
|
|
199474
199474
|
}) => {
|
|
199475
|
-
const { t: a } =
|
|
199475
|
+
const { t: a } = k1(), { patientUuid: c } = Mc(), { hasActiveVisit: l } = yu2(c), { registrationConfig: i } = wo(), { visitTypes: s, isLoading: d } = EIt(), u = VIt(s), h = u.find(
|
|
199476
199476
|
(p) => p.name === i?.defaultVisitType
|
|
199477
199477
|
) ?? u[0];
|
|
199478
199478
|
return /* @__PURE__ */ De("div", { className: Gm.opdVisitGroup, children: [
|
|
@@ -199529,7 +199529,7 @@ const Vu2 = () => {
|
|
|
199529
199529
|
onBeforeNavigate: e,
|
|
199530
199530
|
disabled: r = !1
|
|
199531
199531
|
}) => {
|
|
199532
|
-
const { t: o } =
|
|
199532
|
+
const { t: o } = k1(), a = ad(), c = Mc(), { createVisit: l } = MIt(), { filteredExtensions: i, isLoading: s } = pIt({
|
|
199533
199533
|
extensionPointId: t
|
|
199534
199534
|
}), d = Object.fromEntries(
|
|
199535
199535
|
Object.entries(c).filter(([, f]) => f !== void 0)
|
|
@@ -199728,7 +199728,7 @@ function SIt(t) {
|
|
|
199728
199728
|
}), e;
|
|
199729
199729
|
}
|
|
199730
199730
|
const ZIt = () => {
|
|
199731
|
-
const { t } =
|
|
199731
|
+
const { t } = k1(), { addNotification: e } = A0(), r = ad(), { personAttributes: o } = Sh(), { data: a } = Rh(), c = Vu2(), l = async (s) => {
|
|
199732
199732
|
if (c)
|
|
199733
199733
|
try {
|
|
199734
199734
|
await vu2(
|
|
@@ -199888,7 +199888,7 @@ function qIt(t) {
|
|
|
199888
199888
|
return bu2(t.birthDate).estimated;
|
|
199889
199889
|
}
|
|
199890
199890
|
const UIt = ({ patientUuid: t }) => {
|
|
199891
|
-
const { t: e } =
|
|
199891
|
+
const { t: e } = k1(), { getGenderDisplay: r } = Wd2(e), { addNotification: o } = A0(), { personAttributes: a } = Sh(), [c, l] = he({
|
|
199892
199892
|
patientUuid: "",
|
|
199893
199893
|
patientIdentifier: "",
|
|
199894
199894
|
patientName: "",
|
|
@@ -199974,7 +199974,7 @@ const UIt = ({ patientUuid: t }) => {
|
|
|
199974
199974
|
return null;
|
|
199975
199975
|
}
|
|
199976
199976
|
}, Au2 = () => {
|
|
199977
|
-
const { t } =
|
|
199977
|
+
const { t } = k1(), e = YIt(), { data: r = [] } = a2({
|
|
199978
199978
|
queryKey: ["relationshipTypes"],
|
|
199979
199979
|
queryFn: ux0,
|
|
199980
199980
|
// Use cached data as placeholder while fetching fresh data in background
|
|
@@ -200034,7 +200034,7 @@ function XIt(t) {
|
|
|
200034
200034
|
}), e;
|
|
200035
200035
|
}
|
|
200036
200036
|
const QIt = () => {
|
|
200037
|
-
const { t } =
|
|
200037
|
+
const { t } = k1(), { addNotification: e } = A0(), { personAttributes: r } = Sh(), { data: o } = Rh(), a = e6();
|
|
200038
200038
|
return rQ1({
|
|
200039
200039
|
mutationFn: (l) => {
|
|
200040
200040
|
const i = zu2({
|
|
@@ -200137,7 +200137,7 @@ const GX1 = (t, e, r) => {
|
|
|
200137
200137
|
initialData: t,
|
|
200138
200138
|
ref: e
|
|
200139
200139
|
}) => {
|
|
200140
|
-
const { t: r } =
|
|
200140
|
+
const { t: r } = k1(), { data: o, isLoading: a } = Rh(), c = Ze(() => o ? o.filter(
|
|
200141
200141
|
(v) => v.primary === !1
|
|
200142
200142
|
) : [], [o]), [l, i] = he({}), [s, d] = he({});
|
|
200143
200143
|
pe(() => {
|
|
@@ -200299,7 +200299,7 @@ const Lu2 = () => {
|
|
|
200299
200299
|
validation: s,
|
|
200300
200300
|
onChange: d
|
|
200301
200301
|
}) => {
|
|
200302
|
-
const { t: u } =
|
|
200302
|
+
const { t: u } = k1();
|
|
200303
200303
|
switch (px0(o)) {
|
|
200304
200304
|
case fa.TEXT:
|
|
200305
200305
|
return /* @__PURE__ */ oe(
|
|
@@ -200466,7 +200466,7 @@ const Uz = (t, e) => {
|
|
|
200466
200466
|
row: hBt,
|
|
200467
200467
|
fieldsContainer: pBt
|
|
200468
200468
|
}, $u2 = ({ initialData: t, ref: e }) => {
|
|
200469
|
-
const { t: r } =
|
|
200469
|
+
const { t: r } = k1(), { registrationConfig: o } = wo(), { attributeFields: a } = Lu2(), l = o?.patientInformation?.additionalPatientInformation?.attributes ?? [], i = Ze(
|
|
200470
200470
|
() => _u2(a, l),
|
|
200471
200471
|
[l, a]
|
|
200472
200472
|
), s = Ze(
|
|
@@ -200860,7 +200860,7 @@ const gBt = "index-module_formSection__cj5kS", vBt = "index-module_row__bl4rb",
|
|
|
200860
200860
|
onInputChange: i,
|
|
200861
200861
|
translationKey: s
|
|
200862
200862
|
}) => {
|
|
200863
|
-
const { t: d } =
|
|
200863
|
+
const { t: d } = k1(), u = Ze(() => s ? d(s) : e.name, [d, s, e.name]), h = Ze(
|
|
200864
200864
|
() => (f) => f ? f.userGeneratedId ?? f.name : "",
|
|
200865
200865
|
[]
|
|
200866
200866
|
), p = Ze(
|
|
@@ -200905,7 +200905,7 @@ const gBt = "index-module_formSection__cj5kS", vBt = "index-module_row__bl4rb",
|
|
|
200905
200905
|
};
|
|
200906
200906
|
Ru2.displayName = "AddressAutocompleteField";
|
|
200907
200907
|
const Su2 = ({ initialData: t, ref: e }) => {
|
|
200908
|
-
const { t: r } =
|
|
200908
|
+
const { t: r } = k1(), {
|
|
200909
200909
|
address: o,
|
|
200910
200910
|
displayLevels: a,
|
|
200911
200911
|
handleFieldSelect: c,
|
|
@@ -201151,7 +201151,7 @@ const MBt = "index-module_formSection__C9nLc", VBt = "index-module_row__ARFPa",
|
|
|
201151
201151
|
phoneNumberField: yBt,
|
|
201152
201152
|
requiredAsterisk: HBt
|
|
201153
201153
|
}, Zu2 = ({ initialData: t, ref: e }) => {
|
|
201154
|
-
const { t: r } =
|
|
201154
|
+
const { t: r } = k1(), { attributeFields: o } = Lu2(), { registrationConfig: a } = wo(), l = a?.patientInformation?.contactInformation?.attributes ?? [], i = a?.fieldValidation, s = Ze(
|
|
201155
201155
|
() => _u2(o, l),
|
|
201156
201156
|
[l, o]
|
|
201157
201157
|
), d = Ze(
|
|
@@ -201520,7 +201520,7 @@ const JX1 = 2, _Bt = (t) => `${t.givenName} ${t.middleName || ""} ${t.familyName
|
|
|
201520
201520
|
initialData: t,
|
|
201521
201521
|
ref: e
|
|
201522
201522
|
}) => {
|
|
201523
|
-
const { t: r } =
|
|
201523
|
+
const { t: r } = k1(), {
|
|
201524
201524
|
relationships: o,
|
|
201525
201525
|
relationshipTypes: a,
|
|
201526
201526
|
validationErrors: c,
|
|
@@ -201663,7 +201663,7 @@ const DBt = [
|
|
|
201663
201663
|
isExpanded: c,
|
|
201664
201664
|
onToggle: l
|
|
201665
201665
|
}) => {
|
|
201666
|
-
const { t: i } =
|
|
201666
|
+
const { t: i } = k1(), s = (h) => {
|
|
201667
201667
|
const p = DBt.find((f) => f.type === h);
|
|
201668
201668
|
return p ? p.render(e, r, o) : null;
|
|
201669
201669
|
}, d = (h) => {
|
|
@@ -201701,7 +201701,7 @@ const DBt = [
|
|
|
201701
201701
|
/* @__PURE__ */ oe("div", { className: G1.sectionContent, "data-testid": "section-content", children: u })
|
|
201702
201702
|
] });
|
|
201703
201703
|
}, XX1 = () => {
|
|
201704
|
-
const { t } =
|
|
201704
|
+
const { t } = k1(), e = ad(), { addNotification: r } = A0(), { patientUuid: o } = Mc(), [a, c] = he(
|
|
201705
201705
|
o ?? null
|
|
201706
201706
|
), { shouldShowAdditionalIdentifiers: l } = AIt(), { relationshipTypes: i } = Au2(), { registrationConfig: s } = wo(), d = me(null), u = me(null), h = me(null), p = me(null), f = me(null), E = me(null), {
|
|
201707
201707
|
patientDetails: w,
|
|
@@ -202078,7 +202078,7 @@ const DBt = [
|
|
|
202078
202078
|
GENDER: "gender",
|
|
202079
202079
|
ACTIONS: "actions"
|
|
202080
202080
|
}, cPt = () => {
|
|
202081
|
-
const [t, e] = he(), [r, o] = he(""), [a, c] = he(!1), [l, i] = he(!1), [s, d] = he(!1), [u, h] = he(!1), [p, f] = he([]), { t: E } =
|
|
202081
|
+
const [t, e] = he(), [r, o] = he(""), [a, c] = he(!1), [l, i] = he(!1), [s, d] = he(!1), [u, h] = he(!1), [p, f] = he([]), { t: E } = k1(), w = ad(), [v, M] = he(""), { userPrivileges: m } = Rc(), { addNotification: g } = A0(), { registrationConfig: N } = wo(), V = () => {
|
|
202082
202082
|
w("/registration/patient/new");
|
|
202083
202083
|
};
|
|
202084
202084
|
pe(() => {
|
|
@@ -202419,7 +202419,7 @@ export {
|
|
|
202419
202419
|
nX2 as r,
|
|
202420
202420
|
xo0 as s,
|
|
202421
202421
|
Ce0 as t,
|
|
202422
|
-
|
|
202422
|
+
k1 as u,
|
|
202423
202423
|
i2 as v,
|
|
202424
202424
|
Oe0 as w,
|
|
202425
202425
|
njt as x,
|
package/dist/index.js
CHANGED