@bahmni/widgets 0.0.1-dev.282 → 0.0.1-dev.284
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-_t5Q-fgi.js → DocumentsTable-CiTk1kST.js} +9 -9
- package/dist/{FormsTable-Dr7LvEY-.js → FormsTable-BVzS-sQT.js} +12 -12
- package/dist/{Observations-DGtRQbJf.js → Observations-kO36p_p_.js} +27 -27
- package/dist/{index-FhPWvTDE.js → index-Ce2aA1IO.js} +124 -118
- package/dist/index.css +1 -1
- package/dist/index.js +13 -13
- package/dist/observations/utils.d.ts.map +1 -1
- package/dist/observationsRenderer/ObservationsRenderer.d.ts.map +1 -1
- package/dist/utils/Observations.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -762,7 +762,7 @@ const f = {
|
|
|
762
762
|
size: d.oneOfType([d.number, d.string])
|
|
763
763
|
};
|
|
764
764
|
var O6, L6, D6, R6, $6, S6, I6, Z6, k6, B6, P6, F6, j6, U6, W6, q6, K6, G6, Y6, J6, X6, Q6, eh, th, rh, nh, oh, ah, ih, sh, lh, ch, dh, uh, hh, ph, fh, mh, wh, vh, gh, Eh, yh, Vh, Hh, Mh, bh, xh, Nh, Ah, _h, zh, Ch, Th, Oh, Lh, Dh, Rh, $h, Sh, Ih, Zh, kh, Bh, Ph, Fh, jh, Uh, Wh, qh, Kh, Gh, Yh, Jh, Xh, Qh, e5, t5, r5, n5, o5, a5, i5, s5, l5, c5, d5, u5, h5, p5, f5, m5, w5, v5, g5, E5, y5, V5, H5, M5, b5, x5, N5, A5, _5, z5, C5, T5, O5, L5, D5, R5, $5, S5, I5, Z5, k5, B5, P5, F5, j5, U5, W5, q5, K5, G5, Y5, J5, X5, Q5, ep, tp, rp, np, op, ap, ip, sp, lp, cp, dp, up, hp, pp, fp, mp, wp, vp, gp, Ep, yp, Vp, Hp, Mp, bp, xp, Np, Ap, _p, zp, Cp, Tp, Op, Lp, Dp, Rp, $p, Sp, Ip, Zp, kp, Bp, Pp, Fp, jp, Up, Wp, qp, Kp, Gp, Yp, Jp, Xp, Qp, e8, t8, r8, n8, o8, a8, i8, s8, l8, c8, d8, u8, h8, p8, f8, m8, w8, v8, g8, E8, y8, V8, H8, M8;
|
|
765
|
-
const
|
|
765
|
+
const It = {}, Dbe = /* @__PURE__ */ n.forwardRef(function({
|
|
766
766
|
children: r,
|
|
767
767
|
size: e = 16,
|
|
768
768
|
...t
|
|
@@ -1451,7 +1451,7 @@ const pxe = /* @__PURE__ */ n.forwardRef(function({
|
|
|
1451
1451
|
size: e = 16,
|
|
1452
1452
|
...t
|
|
1453
1453
|
}, o) {
|
|
1454
|
-
return process.env.NODE_ENV !== "production" && (
|
|
1454
|
+
return process.env.NODE_ENV !== "production" && (It.Ai || (It.Ai = !0, console.warn("Icon should not be used. Teams should use the Carbon AILabel component.. As a result, the Ai component will be removed in the next major version of @carbon/icons-react."))), /* @__PURE__ */ n.createElement(h, {
|
|
1455
1455
|
width: e,
|
|
1456
1456
|
height: e,
|
|
1457
1457
|
ref: o,
|
|
@@ -1652,7 +1652,7 @@ const Hxe = /* @__PURE__ */ n.forwardRef(function({
|
|
|
1652
1652
|
size: e = 16,
|
|
1653
1653
|
...t
|
|
1654
1654
|
}, o) {
|
|
1655
|
-
return process.env.NODE_ENV !== "production" && (
|
|
1655
|
+
return process.env.NODE_ENV !== "production" && (It.WatsonHealthAiResults || (It.WatsonHealthAiResults = !0, console.warn("Icon no longer relevant to how we represent AI moments. As a result, the WatsonHealthAiResults component will be removed in the next major version of @carbon/icons-react."))), /* @__PURE__ */ n.createElement(h, {
|
|
1656
1656
|
width: e,
|
|
1657
1657
|
height: e,
|
|
1658
1658
|
ref: o,
|
|
@@ -1670,7 +1670,7 @@ const Mxe = /* @__PURE__ */ n.forwardRef(function({
|
|
|
1670
1670
|
size: e = 16,
|
|
1671
1671
|
...t
|
|
1672
1672
|
}, o) {
|
|
1673
|
-
return process.env.NODE_ENV !== "production" && (
|
|
1673
|
+
return process.env.NODE_ENV !== "production" && (It.WatsonHealthAiResultsHigh || (It.WatsonHealthAiResultsHigh = !0, console.warn("Icon no longer relevant to how we represent AI moments. As a result, the WatsonHealthAiResultsHigh component will be removed in the next major version of @carbon/icons-react."))), /* @__PURE__ */ n.createElement(h, {
|
|
1674
1674
|
width: e,
|
|
1675
1675
|
height: e,
|
|
1676
1676
|
ref: o,
|
|
@@ -1688,7 +1688,7 @@ const bxe = /* @__PURE__ */ n.forwardRef(function({
|
|
|
1688
1688
|
size: e = 16,
|
|
1689
1689
|
...t
|
|
1690
1690
|
}, o) {
|
|
1691
|
-
return process.env.NODE_ENV !== "production" && (
|
|
1691
|
+
return process.env.NODE_ENV !== "production" && (It.WatsonHealthAiResultsLow || (It.WatsonHealthAiResultsLow = !0, console.warn("Icon no longer relevant to how we represent AI moments. As a result, the WatsonHealthAiResultsLow component will be removed in the next major version of @carbon/icons-react."))), /* @__PURE__ */ n.createElement(h, {
|
|
1692
1692
|
width: e,
|
|
1693
1693
|
height: e,
|
|
1694
1694
|
ref: o,
|
|
@@ -1706,7 +1706,7 @@ const xxe = /* @__PURE__ */ n.forwardRef(function({
|
|
|
1706
1706
|
size: e = 16,
|
|
1707
1707
|
...t
|
|
1708
1708
|
}, o) {
|
|
1709
|
-
return process.env.NODE_ENV !== "production" && (
|
|
1709
|
+
return process.env.NODE_ENV !== "production" && (It.WatsonHealthAiResultsMedium || (It.WatsonHealthAiResultsMedium = !0, console.warn("Icon no longer relevant to how we represent AI moments. As a result, the WatsonHealthAiResultsMedium component will be removed in the next major version of @carbon/icons-react."))), /* @__PURE__ */ n.createElement(h, {
|
|
1710
1710
|
width: e,
|
|
1711
1711
|
height: e,
|
|
1712
1712
|
ref: o,
|
|
@@ -1724,7 +1724,7 @@ const Nxe = /* @__PURE__ */ n.forwardRef(function({
|
|
|
1724
1724
|
size: e = 16,
|
|
1725
1725
|
...t
|
|
1726
1726
|
}, o) {
|
|
1727
|
-
return process.env.NODE_ENV !== "production" && (
|
|
1727
|
+
return process.env.NODE_ENV !== "production" && (It.WatsonHealthAiResultsUrgent || (It.WatsonHealthAiResultsUrgent = !0, console.warn("Icon no longer relevant to how we represent AI moments. As a result, the WatsonHealthAiResultsUrgent component will be removed in the next major version of @carbon/icons-react."))), /* @__PURE__ */ n.createElement(h, {
|
|
1728
1728
|
width: e,
|
|
1729
1729
|
height: e,
|
|
1730
1730
|
ref: o,
|
|
@@ -1742,7 +1742,7 @@ const Axe = /* @__PURE__ */ n.forwardRef(function({
|
|
|
1742
1742
|
size: e = 16,
|
|
1743
1743
|
...t
|
|
1744
1744
|
}, o) {
|
|
1745
|
-
return process.env.NODE_ENV !== "production" && (
|
|
1745
|
+
return process.env.NODE_ENV !== "production" && (It.WatsonHealthAiResultsVeryHigh || (It.WatsonHealthAiResultsVeryHigh = !0, console.warn("Icon no longer relevant to how we represent AI moments. As a result, the WatsonHealthAiResultsVeryHigh component will be removed in the next major version of @carbon/icons-react."))), /* @__PURE__ */ n.createElement(h, {
|
|
1746
1746
|
width: e,
|
|
1747
1747
|
height: e,
|
|
1748
1748
|
ref: o,
|
|
@@ -1760,7 +1760,7 @@ const _xe = /* @__PURE__ */ n.forwardRef(function({
|
|
|
1760
1760
|
size: e = 16,
|
|
1761
1761
|
...t
|
|
1762
1762
|
}, o) {
|
|
1763
|
-
return process.env.NODE_ENV !== "production" && (
|
|
1763
|
+
return process.env.NODE_ENV !== "production" && (It.WatsonHealthAiStatus || (It.WatsonHealthAiStatus = !0, console.warn("Icon no longer relevant to how we represent AI moments. As a result, the WatsonHealthAiStatus component will be removed in the next major version of @carbon/icons-react."))), /* @__PURE__ */ n.createElement(h, {
|
|
1764
1764
|
width: e,
|
|
1765
1765
|
height: e,
|
|
1766
1766
|
ref: o,
|
|
@@ -1780,7 +1780,7 @@ const zxe = /* @__PURE__ */ n.forwardRef(function({
|
|
|
1780
1780
|
size: e = 16,
|
|
1781
1781
|
...t
|
|
1782
1782
|
}, o) {
|
|
1783
|
-
return process.env.NODE_ENV !== "production" && (
|
|
1783
|
+
return process.env.NODE_ENV !== "production" && (It.WatsonHealthAiStatusComplete || (It.WatsonHealthAiStatusComplete = !0, console.warn("Icon no longer relevant to how we represent AI moments. As a result, the WatsonHealthAiStatusComplete component will be removed in the next major version of @carbon/icons-react."))), /* @__PURE__ */ n.createElement(h, {
|
|
1784
1784
|
width: e,
|
|
1785
1785
|
height: e,
|
|
1786
1786
|
ref: o,
|
|
@@ -1798,7 +1798,7 @@ const Cxe = /* @__PURE__ */ n.forwardRef(function({
|
|
|
1798
1798
|
size: e = 16,
|
|
1799
1799
|
...t
|
|
1800
1800
|
}, o) {
|
|
1801
|
-
return process.env.NODE_ENV !== "production" && (
|
|
1801
|
+
return process.env.NODE_ENV !== "production" && (It.WatsonHealthAiStatusFailed || (It.WatsonHealthAiStatusFailed = !0, console.warn("Icon no longer relevant to how we represent AI moments. As a result, the WatsonHealthAiStatusFailed component will be removed in the next major version of @carbon/icons-react."))), /* @__PURE__ */ n.createElement(h, {
|
|
1802
1802
|
width: e,
|
|
1803
1803
|
height: e,
|
|
1804
1804
|
ref: o,
|
|
@@ -1816,7 +1816,7 @@ const Txe = /* @__PURE__ */ n.forwardRef(function({
|
|
|
1816
1816
|
size: e = 16,
|
|
1817
1817
|
...t
|
|
1818
1818
|
}, o) {
|
|
1819
|
-
return process.env.NODE_ENV !== "production" && (
|
|
1819
|
+
return process.env.NODE_ENV !== "production" && (It.WatsonHealthAiStatusInProgress || (It.WatsonHealthAiStatusInProgress = !0, console.warn("Icon no longer relevant to how we represent AI moments. As a result, the WatsonHealthAiStatusInProgress component will be removed in the next major version of @carbon/icons-react."))), /* @__PURE__ */ n.createElement(h, {
|
|
1820
1820
|
width: e,
|
|
1821
1821
|
height: e,
|
|
1822
1822
|
ref: o,
|
|
@@ -1846,7 +1846,7 @@ const Oxe = /* @__PURE__ */ n.forwardRef(function({
|
|
|
1846
1846
|
size: e = 16,
|
|
1847
1847
|
...t
|
|
1848
1848
|
}, o) {
|
|
1849
|
-
return process.env.NODE_ENV !== "production" && (
|
|
1849
|
+
return process.env.NODE_ENV !== "production" && (It.WatsonHealthAiStatusQueued || (It.WatsonHealthAiStatusQueued = !0, console.warn("Icon no longer relevant to how we represent AI moments. As a result, the WatsonHealthAiStatusQueued component will be removed in the next major version of @carbon/icons-react."))), /* @__PURE__ */ n.createElement(h, {
|
|
1850
1850
|
width: e,
|
|
1851
1851
|
height: e,
|
|
1852
1852
|
ref: o,
|
|
@@ -1864,7 +1864,7 @@ const Lxe = /* @__PURE__ */ n.forwardRef(function({
|
|
|
1864
1864
|
size: e = 16,
|
|
1865
1865
|
...t
|
|
1866
1866
|
}, o) {
|
|
1867
|
-
return process.env.NODE_ENV !== "production" && (
|
|
1867
|
+
return process.env.NODE_ENV !== "production" && (It.WatsonHealthAiStatusRejected || (It.WatsonHealthAiStatusRejected = !0, console.warn("Icon no longer relevant to how we represent AI moments. As a result, the WatsonHealthAiStatusRejected component will be removed in the next major version of @carbon/icons-react."))), /* @__PURE__ */ n.createElement(h, {
|
|
1868
1868
|
width: e,
|
|
1869
1869
|
height: e,
|
|
1870
1870
|
ref: o,
|
|
@@ -45632,7 +45632,7 @@ const W1t = z4(), w1 = {
|
|
|
45632
45632
|
[w1.unselectAll]: "Unselect all rows",
|
|
45633
45633
|
[w1.selectRow]: "Select row",
|
|
45634
45634
|
[w1.unselectRow]: "Unselect row"
|
|
45635
|
-
}, K1t = (r) => q1t[r],
|
|
45635
|
+
}, K1t = (r) => q1t[r], Zt = (r) => {
|
|
45636
45636
|
const {
|
|
45637
45637
|
children: e,
|
|
45638
45638
|
filterRows: t = g1t,
|
|
@@ -45986,30 +45986,30 @@ const W1t = z4(), w1 = {
|
|
|
45986
45986
|
};
|
|
45987
45987
|
return typeof a < "u" ? a(G) : typeof e < "u" ? e(G) : null;
|
|
45988
45988
|
};
|
|
45989
|
-
|
|
45990
|
-
|
|
45991
|
-
|
|
45992
|
-
|
|
45993
|
-
|
|
45994
|
-
|
|
45995
|
-
|
|
45996
|
-
|
|
45997
|
-
|
|
45998
|
-
|
|
45999
|
-
|
|
46000
|
-
|
|
46001
|
-
|
|
46002
|
-
|
|
46003
|
-
|
|
46004
|
-
|
|
46005
|
-
|
|
46006
|
-
|
|
46007
|
-
|
|
46008
|
-
|
|
46009
|
-
|
|
46010
|
-
|
|
46011
|
-
|
|
46012
|
-
|
|
45989
|
+
Zt.translationKeys = Object.values(w1);
|
|
45990
|
+
Zt.Table = Ks;
|
|
45991
|
+
Zt.TableActionList = PEe;
|
|
45992
|
+
Zt.TableBatchAction = FEe;
|
|
45993
|
+
Zt.TableBatchActions = Bd;
|
|
45994
|
+
Zt.TableBody = Ys;
|
|
45995
|
+
Zt.TableCell = cr;
|
|
45996
|
+
Zt.TableContainer = WEe;
|
|
45997
|
+
Zt.TableDecoratorRow = U2;
|
|
45998
|
+
Zt.TableExpandHeader = Pd;
|
|
45999
|
+
Zt.TableExpandRow = Js;
|
|
46000
|
+
Zt.TableExpandedRow = Fd;
|
|
46001
|
+
Zt.TableHead = jd;
|
|
46002
|
+
Zt.TableHeader = un;
|
|
46003
|
+
Zt.TableRow = q2;
|
|
46004
|
+
Zt.TableSelectAll = KEe;
|
|
46005
|
+
Zt.TableSelectRow = GEe;
|
|
46006
|
+
Zt.TableSlugRow = W2;
|
|
46007
|
+
Zt.TableToolbar = YEe;
|
|
46008
|
+
Zt.TableToolbarAction = qd;
|
|
46009
|
+
Zt.TableToolbarContent = _1t;
|
|
46010
|
+
Zt.TableToolbarSearch = XEe;
|
|
46011
|
+
Zt.TableToolbarMenu = eye;
|
|
46012
|
+
Zt.propTypes = {
|
|
46013
46013
|
/**
|
|
46014
46014
|
* Experimental property. Allows table to align cell contents to the top if there is text wrapping in the content. Might have performance issues, intended for smaller tables
|
|
46015
46015
|
*/
|
|
@@ -50403,7 +50403,7 @@ function r0t() {
|
|
|
50403
50403
|
Se.l10ns.sq = At, Se.l10ns;
|
|
50404
50404
|
var jt = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
50405
50405
|
l10ns: {}
|
|
50406
|
-
},
|
|
50406
|
+
}, kt = {
|
|
50407
50407
|
weekdays: {
|
|
50408
50408
|
shorthand: ["Ned", "Pon", "Uto", "Sre", "Čet", "Pet", "Sub"],
|
|
50409
50409
|
longhand: [
|
|
@@ -50451,7 +50451,7 @@ function r0t() {
|
|
|
50451
50451
|
rangeSeparator: " do ",
|
|
50452
50452
|
time_24hr: !0
|
|
50453
50453
|
};
|
|
50454
|
-
jt.l10ns.sr =
|
|
50454
|
+
jt.l10ns.sr = kt, jt.l10ns;
|
|
50455
50455
|
var rt = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
50456
50456
|
l10ns: {}
|
|
50457
50457
|
}, V1 = {
|
|
@@ -50990,7 +50990,7 @@ function r0t() {
|
|
|
50990
50990
|
sk: pr,
|
|
50991
50991
|
sl: jo,
|
|
50992
50992
|
sq: At,
|
|
50993
|
-
sr:
|
|
50993
|
+
sr: kt,
|
|
50994
50994
|
sv: V1,
|
|
50995
50995
|
th: Ol,
|
|
50996
50996
|
tr: Wo,
|
|
@@ -54082,22 +54082,22 @@ const T0t = (r, {
|
|
|
54082
54082
|
selectAll: Ze,
|
|
54083
54083
|
filteredItems: ve
|
|
54084
54084
|
}), be = Oe(() => {
|
|
54085
|
-
const Se = Me.filter((
|
|
54085
|
+
const Se = Me.filter((kt) => !kt.disabled), At = Se.filter((kt) => !Ne.some((rt) => k0(rt, kt))).length, jt = Se.length;
|
|
54086
54086
|
return {
|
|
54087
54087
|
checked: jt > 0 && At === 0,
|
|
54088
54088
|
indeterminate: At > 0 && At < jt
|
|
54089
54089
|
};
|
|
54090
54090
|
}, [Ne, Me]), Re = _e(() => {
|
|
54091
|
-
const Se = Me.filter((
|
|
54091
|
+
const Se = Me.filter((kt) => !kt.disabled), {
|
|
54092
54092
|
checked: At,
|
|
54093
54093
|
indeterminate: jt
|
|
54094
54094
|
} = be;
|
|
54095
54095
|
if (At || jt) {
|
|
54096
|
-
const
|
|
54097
|
-
De(
|
|
54096
|
+
const kt = Ne.filter((rt) => !ve.some((V1) => k0(V1, rt)));
|
|
54097
|
+
De(kt);
|
|
54098
54098
|
} else {
|
|
54099
|
-
const
|
|
54100
|
-
De([...Ne, ...
|
|
54099
|
+
const kt = Se.filter((rt) => !Ne.some((V1) => k0(V1, rt)));
|
|
54100
|
+
De([...Ne, ...kt]);
|
|
54101
54101
|
}
|
|
54102
54102
|
}, [Me, be, Ne, De]), {
|
|
54103
54103
|
refs: Ge,
|
|
@@ -54139,7 +54139,7 @@ const T0t = (r, {
|
|
|
54139
54139
|
const $t = pe(null), y1 = Ht(), Fe = ge();
|
|
54140
54140
|
K !== N && (oe(N), q(N));
|
|
54141
54141
|
const a1 = Oe(() => {
|
|
54142
|
-
const Se = V.find((
|
|
54142
|
+
const Se = V.find((kt) => kt.isSelectAll), At = Me.filter((kt) => !kt.disabled), jt = ee(Me, {
|
|
54143
54143
|
selectedItems: {
|
|
54144
54144
|
top: Ne,
|
|
54145
54145
|
fixed: [],
|
|
@@ -54188,8 +54188,8 @@ const T0t = (r, {
|
|
|
54188
54188
|
R.current ? (R.current = !1, N && A?.(Z)) : A?.(Z);
|
|
54189
54189
|
}, [Z, A, N]), de(() => {
|
|
54190
54190
|
const Se = (At) => {
|
|
54191
|
-
const jt = At.target,
|
|
54192
|
-
|
|
54191
|
+
const jt = At.target, kt = document.getElementById(w)?.closest(`.${Fe}--multi-select__wrapper`);
|
|
54192
|
+
kt && !kt.contains(jt) && (Z || me) && (oe(!1), Ee(!1), ae(""));
|
|
54193
54193
|
};
|
|
54194
54194
|
return (me || Z) && document.addEventListener("mousedown", Se), () => {
|
|
54195
54195
|
document.removeEventListener("mousedown", Se);
|
|
@@ -54223,7 +54223,7 @@ const T0t = (r, {
|
|
|
54223
54223
|
function h1(Se, At) {
|
|
54224
54224
|
const {
|
|
54225
54225
|
type: jt,
|
|
54226
|
-
props:
|
|
54226
|
+
props: kt,
|
|
54227
54227
|
changes: rt
|
|
54228
54228
|
} = At, {
|
|
54229
54229
|
highlightedIndex: V1
|
|
@@ -54274,7 +54274,7 @@ const T0t = (r, {
|
|
|
54274
54274
|
};
|
|
54275
54275
|
if (V1 > -1) {
|
|
54276
54276
|
const Dr = document.querySelectorAll(`li.${Fe}--list-box__menu-item[role="option"]`);
|
|
54277
|
-
|
|
54277
|
+
kt.scrollIntoView(Dr[V1]);
|
|
54278
54278
|
}
|
|
54279
54279
|
return V1 === -1 ? {
|
|
54280
54280
|
...rt,
|
|
@@ -54288,7 +54288,7 @@ const T0t = (r, {
|
|
|
54288
54288
|
case G0t:
|
|
54289
54289
|
return Z ? {
|
|
54290
54290
|
...rt,
|
|
54291
|
-
highlightedIndex:
|
|
54291
|
+
highlightedIndex: kt.items.indexOf(V1)
|
|
54292
54292
|
} : {
|
|
54293
54293
|
...rt,
|
|
54294
54294
|
highlightedIndex: 0
|
|
@@ -54440,8 +54440,8 @@ const T0t = (r, {
|
|
|
54440
54440
|
}))), S ? L0 : i ? /* @__PURE__ */ n.createElement("div", {
|
|
54441
54441
|
className: `${Fe}--list-box__inner-wrapper--decorator`
|
|
54442
54442
|
}, L0) : "", /* @__PURE__ */ n.createElement(B0.Menu, f1, Z ? a1.map((Se, At) => {
|
|
54443
|
-
let jt,
|
|
54444
|
-
Se.isSelectAll ? (jt = be.checked,
|
|
54443
|
+
let jt, kt = !1;
|
|
54444
|
+
Se.isSelectAll ? (jt = be.checked, kt = be.indeterminate) : jt = Ne.filter((Wo) => k0(Wo, Se)).length > 0;
|
|
54445
54445
|
const rt = Ie({
|
|
54446
54446
|
item: Se,
|
|
54447
54447
|
"aria-selected": jt
|
|
@@ -54466,7 +54466,7 @@ const T0t = (r, {
|
|
|
54466
54466
|
}, Se)) : V1,
|
|
54467
54467
|
checked: jt,
|
|
54468
54468
|
title: B ? V1 : void 0,
|
|
54469
|
-
indeterminate:
|
|
54469
|
+
indeterminate: kt,
|
|
54470
54470
|
disabled: Dr,
|
|
54471
54471
|
tabIndex: -1
|
|
54472
54472
|
})));
|
|
@@ -62346,7 +62346,7 @@ const Sot = "_bahmniIcon_1cg5e_1", Iot = "_paddingNone_1cg5e_1", Zot = "_padding
|
|
|
62346
62346
|
className: se(c, Hn.sortableDataTableBody),
|
|
62347
62347
|
"data-testid": u,
|
|
62348
62348
|
children: [
|
|
62349
|
-
/* @__PURE__ */ Y(
|
|
62349
|
+
/* @__PURE__ */ Y(Zt, { rows: e, headers: r, isSortable: !0, size: "md", children: ({
|
|
62350
62350
|
rows: N,
|
|
62351
62351
|
headers: _,
|
|
62352
62352
|
getHeaderProps: A,
|
|
@@ -62469,7 +62469,7 @@ const Sot = "_bahmniIcon_1cg5e_1", Iot = "_paddingNone_1cg5e_1", Zot = "_padding
|
|
|
62469
62469
|
{
|
|
62470
62470
|
className: se(u, la.expandableDataTableBody),
|
|
62471
62471
|
"data-testid": p,
|
|
62472
|
-
children: /* @__PURE__ */ Y(
|
|
62472
|
+
children: /* @__PURE__ */ Y(Zt, { rows: e, headers: r, isSortable: !0, size: "md", children: ({
|
|
62473
62473
|
rows: b,
|
|
62474
62474
|
headers: v,
|
|
62475
62475
|
getHeaderProps: y,
|
|
@@ -89890,7 +89890,7 @@ function qMe(r) {
|
|
|
89890
89890
|
const o = t.conceptId ? e.find(
|
|
89891
89891
|
(a) => a.conceptId === t.conceptId
|
|
89892
89892
|
) : void 0;
|
|
89893
|
-
return o?.observationValue && t.observationValue ? o.observationValue.value = o.observationValue.value + ", " + t.observationValue.value : e.push(t), e;
|
|
89893
|
+
return o?.observationValue && t.observationValue ? (o.observationValue.value = o.observationValue.value + ", " + t.observationValue.value, !o.comment && t.comment && (o.comment = t.comment)) : e.push(t), e;
|
|
89894
89894
|
},
|
|
89895
89895
|
[]
|
|
89896
89896
|
);
|
|
@@ -89924,10 +89924,16 @@ function lEt(r) {
|
|
|
89924
89924
|
}), a;
|
|
89925
89925
|
}
|
|
89926
89926
|
const QHt = (r, e) => r?.date ? mt(r.date, e).formattedResult : e("DATE_ERROR_PARSE"), i6 = (r, e) => {
|
|
89927
|
-
if (
|
|
89927
|
+
if (r.observationValue?.value == null)
|
|
89928
89928
|
return "";
|
|
89929
89929
|
const { value: t, unit: o, type: a } = r.observationValue;
|
|
89930
|
-
|
|
89930
|
+
if (a === "dateTime")
|
|
89931
|
+
return mt(String(t), e).formattedResult;
|
|
89932
|
+
if (a === "boolean") {
|
|
89933
|
+
const s = (l) => l === !0 || l === "true" ? e ? e("YES") : "Yes" : e ? e("NO") : "No";
|
|
89934
|
+
return typeof t == "boolean" ? s(t) : String(t).split(", ").map(s).join(", ");
|
|
89935
|
+
}
|
|
89936
|
+
return o ? `${t} ${o}` : String(t);
|
|
89931
89937
|
}, cEt = (r) => {
|
|
89932
89938
|
const e = r.display;
|
|
89933
89939
|
if (!r.observationValue)
|
|
@@ -90034,7 +90040,7 @@ function nMt(r) {
|
|
|
90034
90040
|
return !o && !a ? 0 : o ? a ? new Date(a).getTime() - new Date(o).getTime() : -1 : 1;
|
|
90035
90041
|
});
|
|
90036
90042
|
}
|
|
90037
|
-
const uEt = "ObservationsRenderer-module_resultsContainer__xvAwi", hEt = "ObservationsRenderer-module_observation__VuMME", pEt = "ObservationsRenderer-module_groupContainer__L-UDN", fEt = "ObservationsRenderer-module_rowContainer__5dovd", mEt = "ObservationsRenderer-module_groupLabel__62Uiu", wEt = "ObservationsRenderer-module_rowLabel__ls-in", vEt = "ObservationsRenderer-module_rowValue__-MBZN", gEt = "ObservationsRenderer-module_groupMembers__QVkTs", EEt = "ObservationsRenderer-module_memberRow__6qwZf", yEt = "ObservationsRenderer-module_memberLabel__jO9vl", VEt = "ObservationsRenderer-module_memberValue__uEJiC", HEt = "ObservationsRenderer-module_abnormalValue__qYRmd", MEt = "ObservationsRenderer-module_rangeInfo__VvjEW", bEt = "ObservationsRenderer-module_nestedGroup__-ob2R", xEt = "ObservationsRenderer-module_nestedGroupLabel__69tP6", NEt = "ObservationsRenderer-module_nestedGroupMembers__hzKUQ", AEt = "ObservationsRenderer-module_fullWidth__KNNO9", _Et = "ObservationsRenderer-module_commentSection__U28N6",
|
|
90043
|
+
const uEt = "ObservationsRenderer-module_resultsContainer__xvAwi", hEt = "ObservationsRenderer-module_observation__VuMME", pEt = "ObservationsRenderer-module_groupContainer__L-UDN", fEt = "ObservationsRenderer-module_rowContainer__5dovd", mEt = "ObservationsRenderer-module_groupLabel__62Uiu", wEt = "ObservationsRenderer-module_rowLabel__ls-in", vEt = "ObservationsRenderer-module_rowValue__-MBZN", gEt = "ObservationsRenderer-module_groupMembers__QVkTs", EEt = "ObservationsRenderer-module_memberRow__6qwZf", yEt = "ObservationsRenderer-module_memberLabel__jO9vl", VEt = "ObservationsRenderer-module_memberValue__uEJiC", HEt = "ObservationsRenderer-module_abnormalValue__qYRmd", MEt = "ObservationsRenderer-module_rangeInfo__VvjEW", bEt = "ObservationsRenderer-module_nestedGroup__-ob2R", xEt = "ObservationsRenderer-module_nestedGroupLabel__69tP6", NEt = "ObservationsRenderer-module_nestedGroupMembers__hzKUQ", AEt = "ObservationsRenderer-module_fullWidth__KNNO9", _Et = "ObservationsRenderer-module_commentSection__U28N6", Bt = {
|
|
90038
90044
|
resultsContainer: uEt,
|
|
90039
90045
|
observation: hEt,
|
|
90040
90046
|
groupContainer: pEt,
|
|
@@ -90083,13 +90089,13 @@ const uEt = "ObservationsRenderer-module_resultsContainer__xvAwi", hEt = "Observ
|
|
|
90083
90089
|
return /* @__PURE__ */ Ce(
|
|
90084
90090
|
"div",
|
|
90085
90091
|
{
|
|
90086
|
-
className:
|
|
90092
|
+
className: Bt.nestedGroup,
|
|
90087
90093
|
"data-testid": `${c}obs-nested-group-${l}-${t}`,
|
|
90088
90094
|
children: [
|
|
90089
90095
|
/* @__PURE__ */ Y(
|
|
90090
90096
|
"div",
|
|
90091
90097
|
{
|
|
90092
|
-
className:
|
|
90098
|
+
className: Bt.nestedGroupLabel,
|
|
90093
90099
|
"data-testid": `${c}obs-nested-group-label-${l}-${t}`,
|
|
90094
90100
|
style: { paddingLeft: `${e * 16}px` },
|
|
90095
90101
|
children: l
|
|
@@ -90098,7 +90104,7 @@ const uEt = "ObservationsRenderer-module_resultsContainer__xvAwi", hEt = "Observ
|
|
|
90098
90104
|
/* @__PURE__ */ Y(
|
|
90099
90105
|
"div",
|
|
90100
90106
|
{
|
|
90101
|
-
className:
|
|
90107
|
+
className: Bt.nestedGroupMembers,
|
|
90102
90108
|
"data-testid": `${c}obs-nested-group-members-${l}-${t}`,
|
|
90103
90109
|
children: r.members?.map((g, M) => /* @__PURE__ */ Y(
|
|
90104
90110
|
YMe,
|
|
@@ -90121,7 +90127,7 @@ const uEt = "ObservationsRenderer-module_resultsContainer__xvAwi", hEt = "Observ
|
|
|
90121
90127
|
/* @__PURE__ */ Ce(
|
|
90122
90128
|
"div",
|
|
90123
90129
|
{
|
|
90124
|
-
className:
|
|
90130
|
+
className: Bt.memberRow,
|
|
90125
90131
|
"data-testid": `${c}obs-member-row-${l}-${t}`,
|
|
90126
90132
|
style: { paddingLeft: `${e * 16}px` },
|
|
90127
90133
|
children: [
|
|
@@ -90129,13 +90135,13 @@ const uEt = "ObservationsRenderer-module_resultsContainer__xvAwi", hEt = "Observ
|
|
|
90129
90135
|
"div",
|
|
90130
90136
|
{
|
|
90131
90137
|
className: yt(
|
|
90132
|
-
|
|
90133
|
-
p ?
|
|
90138
|
+
Bt.memberLabel,
|
|
90139
|
+
p ? Bt.abnormalValue : ""
|
|
90134
90140
|
),
|
|
90135
90141
|
"data-testid": `${c}obs-member-label-${l}-${t}`,
|
|
90136
90142
|
children: [
|
|
90137
90143
|
/* @__PURE__ */ Y("span", { children: l }),
|
|
90138
|
-
u && /* @__PURE__ */ Y("p", { className:
|
|
90144
|
+
u && /* @__PURE__ */ Y("p", { className: Bt.rangeInfo, children: u })
|
|
90139
90145
|
]
|
|
90140
90146
|
}
|
|
90141
90147
|
),
|
|
@@ -90143,8 +90149,8 @@ const uEt = "ObservationsRenderer-module_resultsContainer__xvAwi", hEt = "Observ
|
|
|
90143
90149
|
"div",
|
|
90144
90150
|
{
|
|
90145
90151
|
className: yt(
|
|
90146
|
-
|
|
90147
|
-
p ?
|
|
90152
|
+
Bt.memberValue,
|
|
90153
|
+
p ? Bt.abnormalValue : ""
|
|
90148
90154
|
),
|
|
90149
90155
|
"data-testid": `${c}obs-member-value-${l}-${t}`,
|
|
90150
90156
|
children: w
|
|
@@ -90156,7 +90162,7 @@ const uEt = "ObservationsRenderer-module_resultsContainer__xvAwi", hEt = "Observ
|
|
|
90156
90162
|
r.comment && /* @__PURE__ */ Ce(
|
|
90157
90163
|
"p",
|
|
90158
90164
|
{
|
|
90159
|
-
className:
|
|
90165
|
+
className: Bt.commentSection,
|
|
90160
90166
|
"data-testid": `${c}obs-member-comment-${l}-${t}`,
|
|
90161
90167
|
style: { paddingLeft: `${e * 16}px` },
|
|
90162
90168
|
children: [
|
|
@@ -90171,33 +90177,33 @@ const uEt = "ObservationsRenderer-module_resultsContainer__xvAwi", hEt = "Observ
|
|
|
90171
90177
|
return /* @__PURE__ */ Ce(
|
|
90172
90178
|
"div",
|
|
90173
90179
|
{
|
|
90174
|
-
className:
|
|
90180
|
+
className: Bt.observation,
|
|
90175
90181
|
"data-testid": `${p}observation-item-${r.display}-${e}`,
|
|
90176
90182
|
children: [
|
|
90177
90183
|
/* @__PURE__ */ Ce(
|
|
90178
90184
|
"div",
|
|
90179
90185
|
{
|
|
90180
|
-
className: i ?
|
|
90186
|
+
className: i ? Bt.groupContainer : Bt.rowContainer,
|
|
90181
90187
|
"data-testid": `${p}observation-container-${r.display}-${e}`,
|
|
90182
90188
|
children: [
|
|
90183
90189
|
/* @__PURE__ */ Ce(
|
|
90184
90190
|
"div",
|
|
90185
90191
|
{
|
|
90186
90192
|
className: yt(
|
|
90187
|
-
i ?
|
|
90188
|
-
!i && l ?
|
|
90193
|
+
i ? Bt.groupLabel : Bt.rowLabel,
|
|
90194
|
+
!i && l ? Bt.abnormalValue : ""
|
|
90189
90195
|
),
|
|
90190
90196
|
"data-testid": `${p}observation-label-${r.display}-${e}`,
|
|
90191
90197
|
children: [
|
|
90192
90198
|
/* @__PURE__ */ Y("span", { children: r.display }),
|
|
90193
|
-
!i && s && /* @__PURE__ */ Y("p", { className:
|
|
90199
|
+
!i && s && /* @__PURE__ */ Y("p", { className: Bt.rangeInfo, children: s })
|
|
90194
90200
|
]
|
|
90195
90201
|
}
|
|
90196
90202
|
),
|
|
90197
90203
|
i ? /* @__PURE__ */ Y(
|
|
90198
90204
|
"div",
|
|
90199
90205
|
{
|
|
90200
|
-
className:
|
|
90206
|
+
className: Bt.groupMembers,
|
|
90201
90207
|
"data-testid": `${p}observation-group-members-${r.display}-${e}`,
|
|
90202
90208
|
children: r.members?.map((m, w) => /* @__PURE__ */ Y(
|
|
90203
90209
|
YMe,
|
|
@@ -90215,8 +90221,8 @@ const uEt = "ObservationsRenderer-module_resultsContainer__xvAwi", hEt = "Observ
|
|
|
90215
90221
|
"div",
|
|
90216
90222
|
{
|
|
90217
90223
|
className: yt(
|
|
90218
|
-
|
|
90219
|
-
l ?
|
|
90224
|
+
Bt.rowValue,
|
|
90225
|
+
l ? Bt.abnormalValue : ""
|
|
90220
90226
|
),
|
|
90221
90227
|
"data-testid": `${p}observation-value-${r.display}-${e}`,
|
|
90222
90228
|
children: u
|
|
@@ -90225,15 +90231,15 @@ const uEt = "ObservationsRenderer-module_resultsContainer__xvAwi", hEt = "Observ
|
|
|
90225
90231
|
]
|
|
90226
90232
|
}
|
|
90227
90233
|
),
|
|
90228
|
-
r.comment && /* @__PURE__ */
|
|
90229
|
-
"
|
|
90234
|
+
r.comment && /* @__PURE__ */ Ce(
|
|
90235
|
+
"p",
|
|
90230
90236
|
{
|
|
90231
|
-
className:
|
|
90237
|
+
className: Bt.commentSection,
|
|
90232
90238
|
"data-testid": `${p}observation-comment-${r.display}-${e}`,
|
|
90233
|
-
children:
|
|
90239
|
+
children: [
|
|
90234
90240
|
r.comment,
|
|
90235
90241
|
r.encounter?.provider && ` - by ${r.encounter.provider}`
|
|
90236
|
-
]
|
|
90242
|
+
]
|
|
90237
90243
|
}
|
|
90238
90244
|
)
|
|
90239
90245
|
]
|
|
@@ -90265,7 +90271,7 @@ const uEt = "ObservationsRenderer-module_resultsContainer__xvAwi", hEt = "Observ
|
|
|
90265
90271
|
rows: [],
|
|
90266
90272
|
loading: !0,
|
|
90267
90273
|
ariaLabel: "Loading observations",
|
|
90268
|
-
className: yt(
|
|
90274
|
+
className: yt(Bt.fullWidth, i),
|
|
90269
90275
|
dataTestId: "observations-table"
|
|
90270
90276
|
}
|
|
90271
90277
|
) : t ? /* @__PURE__ */ Y(
|
|
@@ -90275,7 +90281,7 @@ const uEt = "ObservationsRenderer-module_resultsContainer__xvAwi", hEt = "Observ
|
|
|
90275
90281
|
rows: [],
|
|
90276
90282
|
errorStateMessage: o ?? c("ERROR_LOADING_OBSERVATIONS"),
|
|
90277
90283
|
ariaLabel: "Observations error",
|
|
90278
|
-
className: yt(
|
|
90284
|
+
className: yt(Bt.fullWidth, i)
|
|
90279
90285
|
}
|
|
90280
90286
|
) : u.length === 0 ? /* @__PURE__ */ Y(
|
|
90281
90287
|
c1,
|
|
@@ -90284,7 +90290,7 @@ const uEt = "ObservationsRenderer-module_resultsContainer__xvAwi", hEt = "Observ
|
|
|
90284
90290
|
rows: [],
|
|
90285
90291
|
emptyStateMessage: a ?? c("NO_OBSERVATIONS_AVAILABLE"),
|
|
90286
90292
|
ariaLabel: "No observations",
|
|
90287
|
-
className: yt(
|
|
90293
|
+
className: yt(Bt.fullWidth, i)
|
|
90288
90294
|
}
|
|
90289
90295
|
) : /* @__PURE__ */ Y(
|
|
90290
90296
|
"div",
|
|
@@ -90292,7 +90298,7 @@ const uEt = "ObservationsRenderer-module_resultsContainer__xvAwi", hEt = "Observ
|
|
|
90292
90298
|
id: "observations-renderer",
|
|
90293
90299
|
"data-testid": "observations-renderer-test-id",
|
|
90294
90300
|
"aria-label": "observations-renderer-aria-label",
|
|
90295
|
-
className: yt(
|
|
90301
|
+
className: yt(Bt.resultsContainer, i),
|
|
90296
90302
|
children: u.map(
|
|
90297
90303
|
(m, w) => zEt(m, w, c, s, l)
|
|
90298
90304
|
)
|
|
@@ -93255,7 +93261,7 @@ const dHt = [
|
|
|
93255
93261
|
},
|
|
93256
93262
|
{
|
|
93257
93263
|
type: "patientDocuments",
|
|
93258
|
-
component: B1(() => import("./DocumentsTable-
|
|
93264
|
+
component: B1(() => import("./DocumentsTable-CiTk1kST.js"))
|
|
93259
93265
|
},
|
|
93260
93266
|
{
|
|
93261
93267
|
type: "flowSheet",
|
|
@@ -93263,7 +93269,7 @@ const dHt = [
|
|
|
93263
93269
|
},
|
|
93264
93270
|
{
|
|
93265
93271
|
type: "forms",
|
|
93266
|
-
component: B1(() => import("./FormsTable-
|
|
93272
|
+
component: B1(() => import("./FormsTable-BVzS-sQT.js"))
|
|
93267
93273
|
},
|
|
93268
93274
|
{
|
|
93269
93275
|
type: "labOrders",
|
|
@@ -93271,7 +93277,7 @@ const dHt = [
|
|
|
93271
93277
|
},
|
|
93272
93278
|
{
|
|
93273
93279
|
type: "observations",
|
|
93274
|
-
component: B1(() => import("./Observations-
|
|
93280
|
+
component: B1(() => import("./Observations-kO36p_p_.js"))
|
|
93275
93281
|
},
|
|
93276
93282
|
{
|
|
93277
93283
|
type: "ordersControl",
|
|
@@ -93445,13 +93451,13 @@ const cMt = (r) => {
|
|
|
93445
93451
|
export {
|
|
93446
93452
|
oHt as $,
|
|
93447
93453
|
Ywt as A,
|
|
93448
|
-
|
|
93454
|
+
NVt as B,
|
|
93449
93455
|
Fat as C,
|
|
93450
93456
|
YHt as D,
|
|
93451
|
-
|
|
93452
|
-
|
|
93457
|
+
UVt as E,
|
|
93458
|
+
aMt as F,
|
|
93453
93459
|
gVt as G,
|
|
93454
|
-
|
|
93460
|
+
zo as H,
|
|
93455
93461
|
n0 as I,
|
|
93456
93462
|
qHt as J,
|
|
93457
93463
|
FHt as K,
|
|
@@ -93467,7 +93473,7 @@ export {
|
|
|
93467
93473
|
PHt as U,
|
|
93468
93474
|
lVt as V,
|
|
93469
93475
|
WHt as W,
|
|
93470
|
-
|
|
93476
|
+
Oo as X,
|
|
93471
93477
|
XHt as Y,
|
|
93472
93478
|
o6 as Z,
|
|
93473
93479
|
vs as _,
|
|
@@ -93490,29 +93496,29 @@ export {
|
|
|
93490
93496
|
uHt as af,
|
|
93491
93497
|
wMt as ag,
|
|
93492
93498
|
vMt as ah,
|
|
93493
|
-
|
|
93494
|
-
|
|
93499
|
+
Lo as b,
|
|
93500
|
+
JMe as c,
|
|
93495
93501
|
tr as d,
|
|
93496
|
-
|
|
93497
|
-
|
|
93498
|
-
|
|
93499
|
-
|
|
93500
|
-
|
|
93501
|
-
|
|
93502
|
-
|
|
93503
|
-
|
|
93504
|
-
|
|
93505
|
-
|
|
93506
|
-
|
|
93507
|
-
|
|
93508
|
-
|
|
93509
|
-
|
|
93502
|
+
bHt as e,
|
|
93503
|
+
QHt as f,
|
|
93504
|
+
eMt as g,
|
|
93505
|
+
Hlt as h,
|
|
93506
|
+
c1 as i,
|
|
93507
|
+
Aat as j,
|
|
93508
|
+
tMt as k,
|
|
93509
|
+
rMt as l,
|
|
93510
|
+
Tat as m,
|
|
93511
|
+
Mvt as n,
|
|
93512
|
+
Xot as o,
|
|
93513
|
+
egt as p,
|
|
93514
|
+
sgt as q,
|
|
93515
|
+
Ggt as r,
|
|
93510
93516
|
nMt as s,
|
|
93511
|
-
|
|
93517
|
+
wi as t,
|
|
93512
93518
|
u0 as u,
|
|
93513
|
-
|
|
93514
|
-
|
|
93519
|
+
XMe as v,
|
|
93520
|
+
Zat as w,
|
|
93515
93521
|
El as x,
|
|
93516
93522
|
GHt as y,
|
|
93517
|
-
|
|
93523
|
+
Ryt as z
|
|
93518
93524
|
};
|