@bahmni/clinical-app 0.0.1-dev.262 → 0.0.1-dev.263
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-BlVU4V60-IMUTbsM_.js → DocumentsTable-BlVU4V60-N8cwH_hd.js} +1 -1
- package/dist/{FormsTable-CkewSseV-CNAkFhLd.js → FormsTable-CkewSseV-CYAahIeA.js} +1 -1
- package/dist/{LNWAZHJI-Z_0nXaqk.js → LNWAZHJI-_iJ7Hyjm.js} +2 -2
- package/dist/{MWZ6AO7Z-C78CQTS3.js → MWZ6AO7Z-Boekue9h.js} +2 -2
- package/dist/{Observations-D0J6XB64-CABZxhZc.js → Observations-D0J6XB64-BU-f29Q0.js} +1 -1
- package/dist/{YPM2AS64-BuDlM03j.js → YPM2AS64-BA9GXrwG.js} +1 -1
- package/dist/components/patientHeader/ConsultationActionButton.d.ts.map +1 -1
- package/dist/hooks/useEncounterSession.d.ts.map +1 -1
- package/dist/{index-BlUzwm5p.js → index-B9B-KgVP.js} +40 -14
- 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 r, jsxs as p, Fragment as Y } from "react/jsx-runtime";
|
|
2
|
-
import { d as K, u as Q, a as W, b as J, c as X, m as Z, l as ee, r as te, A as ae } from "./index-
|
|
2
|
+
import { d as K, u as Q, a as W, b as J, c as X, m as Z, l as ee, r as te, A as ae } from "./index-B9B-KgVP.js";
|
|
3
3
|
import { useState as l, useCallback as h, useEffect as f, useMemo as T } from "react";
|
|
4
4
|
const ne = "_documentsTableBody_1voj8_1", oe = "_viewAttachmentsLink_1voj8_11", re = "_documentViewerContainer_1voj8_15", de = "_attachmentItem_1voj8_23", se = "_attachmentCounter_1voj8_27", ce = "_attachmentError_1voj8_36", ie = "_documentIframe_1voj8_44", le = "_documentImage_1voj8_50", d = {
|
|
5
5
|
documentsTableBody: ne,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as s, jsxs as J, Fragment as W } from "react/jsx-runtime";
|
|
2
|
-
import { u as Z, d as ee, h as re, e as ae, b as c, X as te, D as U, m as oe, c as se, l as S, f as ne, _ as de, r as ie, j as ue, H as me, z as le, x as ce, N as fe, M as ye } from "./index-
|
|
2
|
+
import { u as Z, d as ee, h as re, e as ae, b as c, X as te, D as U, m as oe, c as se, l as S, f as ne, _ as de, r as ie, j as ue, H as me, z as le, x as ce, N as fe, M as ye } from "./index-B9B-KgVP.js";
|
|
3
3
|
import { useState as q, useMemo as d, useCallback as f } from "react";
|
|
4
4
|
const pe = "_formsTableBody_81hra_1", be = "_customAccordianItem_81hra_6", A = {
|
|
5
5
|
formsTableBody: pe,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c, T as l, P as m, a as v, D as u, Q as i } from "./YPM2AS64-
|
|
2
|
-
import { v as d, w as f, y as e } from "./index-
|
|
1
|
+
import { c, T as l, P as m, a as v, D as u, Q as i } from "./YPM2AS64-BA9GXrwG.js";
|
|
2
|
+
import { v as d, w as f, y as e } from "./index-B9B-KgVP.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 { v, w as C, y 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-BA9GXrwG.js";
|
|
2
|
+
import { v, w as C, y as e } from "./index-B9B-KgVP.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 N, jsx as u } from "react/jsx-runtime";
|
|
2
|
-
import { d as B, a as K, u as S, g as Q, V as X, b as x, X as w, L as G, i as H, R as M, k as j, l as z, T as P, n as D, O as Y, o as J, p as W, q as Z, s as ee, E as ae, t as te } from "./index-
|
|
2
|
+
import { d as B, a as K, u as S, g as Q, V as X, b as x, X as w, L as G, i as H, R as M, k as j, l as z, T as P, n as D, O as Y, o as J, p as W, q as Z, s as ee, E as ae, t as te } from "./index-B9B-KgVP.js";
|
|
3
3
|
import { useRef as se, useEffect as $, useMemo as R } from "react";
|
|
4
4
|
const L = (a, n, d, l, c, r) => {
|
|
5
5
|
const t = Y(a, n, c), s = t.value, i = J(s);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as we, C as z, F as xt, G as B, w as q, y, P as Ro, I as ye, S as R, J as _, K as k, Q as N, U as A, W as bs, Y as ir, Z as $e, $ as U, a0 as Hn, a1 as Vn, a2 as dt, a3 as D, a4 as xs, a5 as cn, a6 as Be, a7 as ws, a8 as qt, a9 as zt, aa as $s, ab as Cs, ac as $n, ad as Ss, ae as Nr, af as Bt, ag as zo, ah as ks, ai as Es, aj as j, ak as Ur, al as Ms, am as Ds, an as sr, ao as As, ap as Ts, aq as zn, ar as Fs, as as Is, at as Z, au as Ps, av as Ls } from "./index-
|
|
1
|
+
import { B as we, C as z, F as xt, G as B, w as q, y, P as Ro, I as ye, S as R, J as _, K as k, Q as N, U as A, W as bs, Y as ir, Z as $e, $ as U, a0 as Hn, a1 as Vn, a2 as dt, a3 as D, a4 as xs, a5 as cn, a6 as Be, a7 as ws, a8 as qt, a9 as zt, aa as $s, ab as Cs, ac as $n, ad as Ss, ae as Nr, af as Bt, ag as zo, ah as ks, ai as Es, aj as j, ak as Ur, al as Ms, am as Ds, an as sr, ao as As, ap as Ts, aq as zn, ar as Fs, as as Is, at as Z, au as Ps, av as Ls } from "./index-B9B-KgVP.js";
|
|
2
2
|
var Os = (e) => e != null, qs = (e) => e.filter(Os);
|
|
3
3
|
function _s(e) {
|
|
4
4
|
return (...t) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConsultationActionButton.d.ts","sourceRoot":"","sources":["../../../src/components/patientHeader/ConsultationActionButton.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,UAAU,6BAA6B;IACrC,mBAAmB,EAAE,OAAO,CAAC;IAC7B,mBAAmB,EAAE,OAAO,CAAC;IAC7B,SAAS,EAAE,OAAO,CAAC;CACpB;AAED,QAAA,MAAM,wBAAwB,EAAE,KAAK,CAAC,EAAE,CAAC,6BAA6B,
|
|
1
|
+
{"version":3,"file":"ConsultationActionButton.d.ts","sourceRoot":"","sources":["../../../src/components/patientHeader/ConsultationActionButton.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,UAAU,6BAA6B;IACrC,mBAAmB,EAAE,OAAO,CAAC;IAC7B,mBAAmB,EAAE,OAAO,CAAC;IAC7B,SAAS,EAAE,OAAO,CAAC;CACpB;AAED,QAAA,MAAM,wBAAwB,EAAE,KAAK,CAAC,EAAE,CAAC,6BAA6B,CAsCrE,CAAC;AAEF,eAAe,wBAAwB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useEncounterSession.d.ts","sourceRoot":"","sources":["../../src/hooks/useEncounterSession.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAGR,eAAe,EAEhB,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAGpC,MAAM,WAAW,0BAA0B;IACzC,YAAY,EAAE,QAAQ,GAAG,IAAI,CAAC;IAC9B,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED,MAAM,WAAW,yBAAyB;IACxC,gBAAgB,EAAE,OAAO,CAAC;IAC1B,eAAe,EAAE,SAAS,GAAG,IAAI,CAAC;IAClC,mBAAmB,EAAE,OAAO,CAAC;IAC7B,WAAW,EAAE,eAAe,EAAE,CAAC;IAC/B,mBAAmB,EAAE,OAAO,CAAC;IAC7B,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,OAAO,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;CAC9B;AAED,wBAAgB,mBAAmB,CACjC,OAAO,EAAE,0BAA0B,GAClC,yBAAyB,
|
|
1
|
+
{"version":3,"file":"useEncounterSession.d.ts","sourceRoot":"","sources":["../../src/hooks/useEncounterSession.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAGR,eAAe,EAEhB,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAGpC,MAAM,WAAW,0BAA0B;IACzC,YAAY,EAAE,QAAQ,GAAG,IAAI,CAAC;IAC9B,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED,MAAM,WAAW,yBAAyB;IACxC,gBAAgB,EAAE,OAAO,CAAC;IAC1B,eAAe,EAAE,SAAS,GAAG,IAAI,CAAC;IAClC,mBAAmB,EAAE,OAAO,CAAC;IAC7B,WAAW,EAAE,eAAe,EAAE,CAAC;IAC/B,mBAAmB,EAAE,OAAO,CAAC;IAC7B,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,OAAO,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;CAC9B;AAED,wBAAgB,mBAAmB,CACjC,OAAO,EAAE,0BAA0B,GAClC,yBAAyB,CAgG3B"}
|
|
@@ -55616,8 +55616,24 @@ const nF1 = (t) => ({
|
|
|
55616
55616
|
...e ? nF1(n) : {},
|
|
55617
55617
|
...r ? cF1(a) : {},
|
|
55618
55618
|
...l ? rF1(c) : {}
|
|
55619
|
-
})
|
|
55620
|
-
|
|
55619
|
+
}), Wn1 = ({
|
|
55620
|
+
className: t,
|
|
55621
|
+
...e
|
|
55622
|
+
}) => {
|
|
55623
|
+
const n = s1$1(), r = q({
|
|
55624
|
+
[`${n}--skeleton__placeholder`]: !0
|
|
55625
|
+
}, t);
|
|
55626
|
+
return /* @__PURE__ */ o__default.createElement("div", l1$1({
|
|
55627
|
+
className: r
|
|
55628
|
+
}, e));
|
|
55629
|
+
};
|
|
55630
|
+
Wn1.propTypes = {
|
|
55631
|
+
/**
|
|
55632
|
+
* Add a custom class to the component
|
|
55633
|
+
* to set the height and width
|
|
55634
|
+
*/
|
|
55635
|
+
className: o.string
|
|
55636
|
+
};
|
|
55621
55637
|
const oF1 = Array.from({
|
|
55622
55638
|
length: QP1.length - 1
|
|
55623
55639
|
}, (t, e) => e + 1), jn1 = /* @__PURE__ */ forwardRef((t, e) => {
|
|
@@ -68537,7 +68553,10 @@ const Oh2 = () => {
|
|
|
68537
68553
|
}) => /* @__PURE__ */ jsx(dr$1, { ...n, "data-testid": t ?? e }), ed2 = ({
|
|
68538
68554
|
testId: t,
|
|
68539
68555
|
...e
|
|
68540
|
-
}) => /* @__PURE__ */ jsx(t61, { ...e, "data-testid": t }),
|
|
68556
|
+
}) => /* @__PURE__ */ jsx(t61, { ...e, "data-testid": t }), td2 = ({
|
|
68557
|
+
testId: t,
|
|
68558
|
+
...e
|
|
68559
|
+
}) => /* @__PURE__ */ jsx(Wn1, { ...e, "data-testid": t }), cd2 = ({
|
|
68541
68560
|
testId: t,
|
|
68542
68561
|
...e
|
|
68543
68562
|
}) => /* @__PURE__ */ jsx(D61, { ...e, "data-testid": t }), rd2 = ({
|
|
@@ -171422,7 +171441,7 @@ const Kht = [
|
|
|
171422
171441
|
},
|
|
171423
171442
|
{
|
|
171424
171443
|
type: "patientDocuments",
|
|
171425
|
-
component: lazy$1(() => import("./DocumentsTable-BlVU4V60-
|
|
171444
|
+
component: lazy$1(() => import("./DocumentsTable-BlVU4V60-N8cwH_hd.js"))
|
|
171426
171445
|
},
|
|
171427
171446
|
{
|
|
171428
171447
|
type: "flowSheet",
|
|
@@ -171430,7 +171449,7 @@ const Kht = [
|
|
|
171430
171449
|
},
|
|
171431
171450
|
{
|
|
171432
171451
|
type: "forms",
|
|
171433
|
-
component: lazy$1(() => import("./FormsTable-CkewSseV-
|
|
171452
|
+
component: lazy$1(() => import("./FormsTable-CkewSseV-CYAahIeA.js"))
|
|
171434
171453
|
},
|
|
171435
171454
|
{
|
|
171436
171455
|
type: "labOrders",
|
|
@@ -171438,7 +171457,7 @@ const Kht = [
|
|
|
171438
171457
|
},
|
|
171439
171458
|
{
|
|
171440
171459
|
type: "observations",
|
|
171441
|
-
component: lazy$1(() => import("./Observations-D0J6XB64-
|
|
171460
|
+
component: lazy$1(() => import("./Observations-D0J6XB64-BU-f29Q0.js"))
|
|
171442
171461
|
},
|
|
171443
171462
|
{
|
|
171444
171463
|
type: "ordersControl",
|
|
@@ -173343,7 +173362,7 @@ var displayValue = (t, e = !1) => {
|
|
|
173343
173362
|
const e = render(() => {
|
|
173344
173363
|
const n = this, [r] = this.#o, [a] = this.#d, [l] = this.#f, [c] = this.#u, [g] = this.#h, [A] = this.#t;
|
|
173345
173364
|
let w;
|
|
173346
|
-
return this.#s ? w = this.#s : (w = lazy(() => import("./LNWAZHJI-
|
|
173365
|
+
return this.#s ? w = this.#s : (w = lazy(() => import("./LNWAZHJI-_iJ7Hyjm.js")), this.#s = w), setupStyleSheet(this.#i, this.#l), createComponent(w, mergeProps({
|
|
173347
173366
|
get queryFlavor() {
|
|
173348
173367
|
return n.#n;
|
|
173349
173368
|
},
|
|
@@ -173441,7 +173460,7 @@ var displayValue = (t, e = !1) => {
|
|
|
173441
173460
|
const e = render(() => {
|
|
173442
173461
|
const n = this, [r] = this.#o, [a] = this.#d, [l] = this.#f, [c] = this.#u, [g] = this.#h, [A] = this.#t, [w] = this.#s;
|
|
173443
173462
|
let _;
|
|
173444
|
-
return this.#c ? _ = this.#c : (_ = lazy(() => import("./MWZ6AO7Z-
|
|
173463
|
+
return this.#c ? _ = this.#c : (_ = lazy(() => import("./MWZ6AO7Z-Boekue9h.js")), this.#c = _), setupStyleSheet(this.#i, this.#l), createComponent(_, mergeProps({
|
|
173445
173464
|
get queryFlavor() {
|
|
173446
173465
|
return n.#n;
|
|
173447
173466
|
},
|
|
@@ -175015,9 +175034,9 @@ const useEncounterConcepts = () => {
|
|
|
175015
175034
|
function useEncounterSession(t) {
|
|
175016
175035
|
const { practitioner: e, encounterTypeUUID: n } = t, [r, a] = useState(!1), [l, c] = useState(
|
|
175017
175036
|
null
|
|
175018
|
-
), [g, A] = useState(!1), [w, _] = useState(!
|
|
175037
|
+
), [g, A] = useState(!1), [w, _] = useState(!0), [b, C] = useState(null), [H, R] = useState([]), V = d1(), L = e?.uuid, O = async (N) => {
|
|
175019
175038
|
if (!V || !L || !n) {
|
|
175020
|
-
a(!1), c(null), A(!1), R([]), C(null)
|
|
175039
|
+
a(!1), c(null), A(!1), R([]), C(null);
|
|
175021
175040
|
return;
|
|
175022
175041
|
}
|
|
175023
175042
|
let P;
|
|
@@ -231910,9 +231929,10 @@ const sectionWrapper = "_sectionWrapper_1mshb_1", sectionName = "_sectionName_1m
|
|
|
231910
231929
|
))
|
|
231911
231930
|
}
|
|
231912
231931
|
) : /* @__PURE__ */ jsx("div", { children: r("NO_DASHBOARD_SECTIONS") });
|
|
231913
|
-
}, header = "
|
|
231932
|
+
}, header = "_header_r5ccq_1", newConsultationButton = "_newConsultationButton_r5ccq_16", newConsultationButtonSkeleton = "_newConsultationButtonSkeleton_r5ccq_21", styles$2 = {
|
|
231914
231933
|
header,
|
|
231915
|
-
newConsultationButton
|
|
231934
|
+
newConsultationButton,
|
|
231935
|
+
newConsultationButtonSkeleton
|
|
231916
231936
|
}, ConsultationActionButton = ({
|
|
231917
231937
|
isActionAreaVisible: t,
|
|
231918
231938
|
editActiveEncounter: e,
|
|
@@ -231921,12 +231941,18 @@ const sectionWrapper = "_sectionWrapper_1mshb_1", sectionName = "_sectionName_1m
|
|
|
231921
231941
|
const { t: r } = useTranslation();
|
|
231922
231942
|
return Wu(
|
|
231923
231943
|
Ipt.ENCOUNTER
|
|
231924
|
-
) ? /* @__PURE__ */ jsx(
|
|
231944
|
+
) ? n ? /* @__PURE__ */ jsx(
|
|
231945
|
+
td2,
|
|
231946
|
+
{
|
|
231947
|
+
className: styles$2.newConsultationButtonSkeleton,
|
|
231948
|
+
testId: "consultation-action-button-skeleton"
|
|
231949
|
+
}
|
|
231950
|
+
) : /* @__PURE__ */ jsx(
|
|
231925
231951
|
EF1,
|
|
231926
231952
|
{
|
|
231927
231953
|
className: styles$2.newConsultationButton,
|
|
231928
231954
|
size: "md",
|
|
231929
|
-
disabled: t
|
|
231955
|
+
disabled: t,
|
|
231930
231956
|
onClick: () => dispatchConsultationStart({}),
|
|
231931
231957
|
"data-testid": "consultation-action-button",
|
|
231932
231958
|
children: r(t ? "CONSULTATION_ACTION_IN_PROGRESS" : e ? "CONSULTATION_ACTION_EDIT" : "CONSULTATION_ACTION_NEW")
|