@bahmni/widgets 0.0.1-dev.175 → 0.0.1-dev.177
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-r0rZJVUl.js → DocumentsTable-BGqBU_eh.js} +3 -2
- package/dist/{FormsTable-CUdJBL4f.js → FormsTable-zh0nB1dN.js} +8 -7
- package/dist/{Observations-C4CKGW4B.js → Observations-Dkmf8FNl.js} +1 -1
- package/dist/documents/DocumentsTable.d.ts.map +1 -1
- package/dist/forms/FormsTable.d.ts.map +1 -1
- package/dist/{index-ISsJ4Q8I.js → index-BSPrNaMV.js} +449 -434
- package/dist/index.css +1 -1
- package/dist/index.js +1 -1
- package/dist/labinvestigation/LabInvestigationItem.d.ts.map +1 -1
- package/dist/radiologyInvestigation/RadiologyInvestigationTable.d.ts.map +1 -1
- package/dist/radiologyInvestigationReport/RadiologyInvestigationReport.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as A, jsx as v, Fragment as $5 } from "react/jsx-runtime";
|
|
2
|
-
import { P as h, u as S5, a as W5, J as P5, k as k5, t as F5, m as U5, i as j5 } from "./index-
|
|
2
|
+
import { P as h, u as S5, a as W5, J as P5, k as k5, t as F5, m as U5, i as j5 } from "./index-BSPrNaMV.js";
|
|
3
3
|
import { useQuery as q5 } from "@tanstack/react-query";
|
|
4
4
|
import e, { useState as N, useCallback as _, useEffect as K5, useMemo as x } from "react";
|
|
5
5
|
import { useTranslation as Q5 } from "react-i18next";
|
|
@@ -5399,7 +5399,8 @@ const Go = [
|
|
|
5399
5399
|
t && o && /* @__PURE__ */ v(
|
|
5400
5400
|
U5,
|
|
5401
5401
|
{
|
|
5402
|
-
id: "
|
|
5402
|
+
id: "modalIdForActionAreaLayout",
|
|
5403
|
+
portalId: "main-display-area",
|
|
5403
5404
|
open: t,
|
|
5404
5405
|
onRequestClose: m,
|
|
5405
5406
|
modalHeading: o.documentIdentifier,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsxs as b, jsx as d, Fragment as P } from "react/jsx-runtime";
|
|
2
|
-
import { c as M, Q as te, N as re, $ as ae, e as oe, Y as se, u as ne, A as de, M as ie, L as le, b as ce, O as me, K as ue, k as pe, d as be, t as k, H as fe, C as _e, m as $e, o as ye, T as x, i as ge } from "./index-
|
|
2
|
+
import { c as M, Q as te, N as re, $ as ae, e as oe, Y as se, u as ne, A as de, M as ie, L as le, b as ce, O as me, K as ue, k as pe, d as be, t as k, H as fe, C as _e, m as $e, o as ye, T as x, i as ge } from "./index-BSPrNaMV.js";
|
|
3
3
|
import { useQueryClient as he, useQuery as L } from "@tanstack/react-query";
|
|
4
4
|
import { useState as H, useMemo as h, useCallback as F } from "react";
|
|
5
5
|
import { useTranslation as ve } from "react-i18next";
|
|
6
|
-
const Ne = "_formsTableBody_1pd36_1", Oe = "_customAccordianItem_1pd36_6", Le = "_formContent_1pd36_18", Fe = "_formDetailsContainer_1pd36_25", Me = "_observation_1pd36_30", Ce = "_groupContainer_1pd36_39", Re = "_rowContainer_1pd36_43", we = "_groupLabel_1pd36_48", Te = "_rowLabel_1pd36_58", De = "_rowValue_1pd36_67", Ve = "_groupMembers_1pd36_75", Ae = "_memberRow_1pd36_81",
|
|
6
|
+
const Ne = "_formsTableBody_1pd36_1", Oe = "_customAccordianItem_1pd36_6", Le = "_formContent_1pd36_18", Fe = "_formDetailsContainer_1pd36_25", Me = "_observation_1pd36_30", Ce = "_groupContainer_1pd36_39", Re = "_rowContainer_1pd36_43", we = "_groupLabel_1pd36_48", Te = "_rowLabel_1pd36_58", De = "_rowValue_1pd36_67", Ve = "_groupMembers_1pd36_75", Ae = "_memberRow_1pd36_81", Ie = "_memberLabel_1pd36_86", Ee = "_memberValue_1pd36_94", Be = "_abnormalValue_1pd36_102", Se = "_commentSection_1pd36_110", Ge = "_commentText_1pd36_116", qe = "_nestedGroup_1pd36_125", Ue = "_nestedGroupLabel_1pd36_132", ke = "_nestedGroupMembers_1pd36_141", o = {
|
|
7
7
|
formsTableBody: Ne,
|
|
8
8
|
customAccordianItem: Oe,
|
|
9
9
|
formContent: Le,
|
|
@@ -16,8 +16,8 @@ const Ne = "_formsTableBody_1pd36_1", Oe = "_customAccordianItem_1pd36_6", Le =
|
|
|
16
16
|
rowValue: De,
|
|
17
17
|
groupMembers: Ve,
|
|
18
18
|
memberRow: Ae,
|
|
19
|
-
memberLabel:
|
|
20
|
-
memberValue:
|
|
19
|
+
memberLabel: Ie,
|
|
20
|
+
memberValue: Ee,
|
|
21
21
|
abnormalValue: Be,
|
|
22
22
|
commentSection: Se,
|
|
23
23
|
commentText: Ge,
|
|
@@ -277,14 +277,14 @@ const Ne = "_formsTableBody_1pd36_1", Oe = "_customAccordianItem_1pd36_6", Le =
|
|
|
277
277
|
), C = h(() => {
|
|
278
278
|
if (r)
|
|
279
279
|
return A(r.formName);
|
|
280
|
-
}, [r, A]), { isLoading: W, error:
|
|
280
|
+
}, [r, A]), { isLoading: W, error: I } = L({
|
|
281
281
|
queryKey: ["formMetadata", C],
|
|
282
282
|
queryFn: () => ce(C),
|
|
283
283
|
enabled: !!C && c
|
|
284
284
|
}), {
|
|
285
285
|
data: R,
|
|
286
286
|
isLoading: J,
|
|
287
|
-
error:
|
|
287
|
+
error: E
|
|
288
288
|
} = L({
|
|
289
289
|
queryKey: ["formsEncounterFHIR", r?.encounterUuid],
|
|
290
290
|
queryFn: () => me(r.encounterUuid),
|
|
@@ -399,6 +399,7 @@ const Ne = "_formsTableBody_1pd36_1", Oe = "_customAccordianItem_1pd36_6", Le =
|
|
|
399
399
|
$e,
|
|
400
400
|
{
|
|
401
401
|
id: "modalIdForActionAreaLayout",
|
|
402
|
+
portalId: "main-display-area",
|
|
402
403
|
open: c,
|
|
403
404
|
onRequestClose: Z,
|
|
404
405
|
modalHeading: r.formName,
|
|
@@ -406,7 +407,7 @@ const Ne = "_formsTableBody_1pd36_1", Oe = "_customAccordianItem_1pd36_6", Le =
|
|
|
406
407
|
passiveModal: !0,
|
|
407
408
|
size: "md",
|
|
408
409
|
testId: "form-details-modal",
|
|
409
|
-
children: /* @__PURE__ */ d("div", { className: o.formContent, children: W || J ? /* @__PURE__ */ d(ye, { width: "100%", lineCount: 3 }) :
|
|
410
|
+
children: /* @__PURE__ */ d("div", { className: o.formContent, children: W || J ? /* @__PURE__ */ d(ye, { width: "100%", lineCount: 3 }) : I ? /* @__PURE__ */ d("div", { children: x(I).message ?? n("ERROR_FETCHING_FORM_METADATA") }) : E ? /* @__PURE__ */ d("div", { children: x(E).message ?? n("ERROR_FETCHING_FORM_DATA") }) : B.length > 0 ? /* @__PURE__ */ d("div", { className: o.formDetailsContainer, children: B.map(({ obs: l, comment: y }, m) => /* @__PURE__ */ d(
|
|
410
411
|
xe,
|
|
411
412
|
{
|
|
412
413
|
observation: l,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as d, jsxs as S } from "react/jsx-runtime";
|
|
2
|
-
import { f as K, _ as C, g as Q, Q as w, h as M, N as V, $ as k, u as G, a as j, q as H, R as P, K as z, e as Y, j as J, s as W, B as X, t as Z } from "./index-
|
|
2
|
+
import { f as K, _ as C, g as Q, Q as w, h as M, N as V, $ as k, u as G, a as j, q as H, R as P, K as z, e as Y, j as J, s as W, B as X, t as Z } from "./index-BSPrNaMV.js";
|
|
3
3
|
import { useQueries as x, useQuery as ee } from "@tanstack/react-query";
|
|
4
4
|
import { useRef as te, useEffect as I, useMemo as h } from "react";
|
|
5
5
|
import { useTranslation as D } from "react-i18next";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DocumentsTable.d.ts","sourceRoot":"","sources":["../../src/documents/DocumentsTable.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAoD,MAAM,OAAO,CAAC;AAGzE,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAiChD,QAAA,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,
|
|
1
|
+
{"version":3,"file":"DocumentsTable.d.ts","sourceRoot":"","sources":["../../src/documents/DocumentsTable.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAoD,MAAM,OAAO,CAAC;AAGzE,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAiChD,QAAA,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CA0IzC,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormsTable.d.ts","sourceRoot":"","sources":["../../src/forms/FormsTable.tsx"],"names":[],"mappings":"AA0BA,OAAO,KAAyC,MAAM,OAAO,CAAC;AAE9D,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAMhD;;;GAGG;AACH,QAAA,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,
|
|
1
|
+
{"version":3,"file":"FormsTable.d.ts","sourceRoot":"","sources":["../../src/forms/FormsTable.tsx"],"names":[],"mappings":"AA0BA,OAAO,KAAyC,MAAM,OAAO,CAAC;AAE9D,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAMhD;;;GAGG;AACH,QAAA,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CA+RrC,CAAC;AAEF,eAAe,UAAU,CAAC"}
|