@bahmni/widgets 0.0.1-dev.246 → 0.0.1-dev.247
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-fFNZaJRC.js → DocumentsTable-BAVNcor9.js} +10 -10
- package/dist/{FormsTable-DjZIOOsr.js → FormsTable-D_0WlGE7.js} +29 -29
- package/dist/{Observations-CGI37M7w.js → Observations-CL6xx-_f.js} +24 -24
- package/dist/{index-B8Sjdo3W.js → index-B9vjxIp3.js} +2130 -2098
- package/dist/index.css +1 -1
- package/dist/index.js +8 -8
- package/dist/patientDetails/PatientDetails.d.ts.map +1 -1
- package/dist/patientDetails/__tests__/__mocks__/patientDetailsMocks.d.ts +4 -0
- package/dist/patientDetails/__tests__/__mocks__/patientDetailsMocks.d.ts.map +1 -0
- package/dist/patientDetails/models.d.ts +7 -0
- package/dist/patientDetails/models.d.ts.map +1 -0
- package/dist/patientDetails/utils.d.ts +4 -0
- package/dist/patientDetails/utils.d.ts.map +1 -0
- package/package.json +1 -1
- package/dist/patientDetails/usePatient.d.ts +0 -14
- package/dist/patientDetails/usePatient.d.ts.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a2 as s, a0 as t, A as o, _ as r,
|
|
1
|
+
import { a2 as s, a0 as t, A as o, _ as r, v as n, Z as g, w as l, D as P, I as v, N as d, L as c, M as T, T as b, U as A, h as p, P as C, K as I, Q as f, G as m, R as u, S as R, Y as W, V as S, a4 as D, a3 as N, aa as U, a9 as y, a6 as h, a7 as L, a8 as x, a5 as G, ab as H, a1 as O, X as V, a as _, u as w, W as E } from "./index-B9vjxIp3.js";
|
|
2
2
|
import "react";
|
|
3
3
|
export {
|
|
4
4
|
s as ActivePractitionerContext,
|
|
@@ -22,8 +22,8 @@ export {
|
|
|
22
22
|
m as RadiologyInvestigationReport,
|
|
23
23
|
u as RadiologyInvestigationTable,
|
|
24
24
|
R as SearchPatient,
|
|
25
|
-
|
|
26
|
-
|
|
25
|
+
W as UserPrivilegeProvider,
|
|
26
|
+
S as VitalFlowSheet,
|
|
27
27
|
D as createConfigHook,
|
|
28
28
|
N as createConfigProvider,
|
|
29
29
|
U as getAllWidgetConfigs,
|
|
@@ -31,11 +31,11 @@ export {
|
|
|
31
31
|
h as getWidget,
|
|
32
32
|
L as getWidgetConfig,
|
|
33
33
|
x as hasWidget,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
34
|
+
G as registerWidget,
|
|
35
|
+
H as resetWidgetRegistry,
|
|
36
|
+
O as useActivePractitioner,
|
|
37
|
+
V as useHasPrivilege,
|
|
38
38
|
_ as useNotification,
|
|
39
39
|
w as usePatientUUID,
|
|
40
|
-
|
|
40
|
+
E as useUserPrivilege
|
|
41
41
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PatientDetails.d.ts","sourceRoot":"","sources":["../../src/patientDetails/PatientDetails.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PatientDetails.d.ts","sourceRoot":"","sources":["../../src/patientDetails/PatientDetails.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,QAAA,MAAM,cAAc,EAAE,KAAK,CAAC,EA0E3B,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"patientDetailsMocks.d.ts","sourceRoot":"","sources":["../../../../src/patientDetails/__tests__/__mocks__/patientDetailsMocks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAExD,eAAO,MAAM,eAAe,EAAE,oBAW7B,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,oBAQhC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"models.d.ts","sourceRoot":"","sources":["../../src/patientDetails/models.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,uBAAuB;IACtC,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,oBAAoB,EAAE,MAAM,CAAC;IAC7B,UAAU,EAAE,MAAM,CAAC;CACpB"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { FormattedPatientData } from '@bahmni/services';
|
|
2
|
+
import { PatientDetailsViewModel } from './models';
|
|
3
|
+
export declare function createPatientDetailsViewModel(patient: FormattedPatientData, t: (key: string) => string): PatientDetailsViewModel;
|
|
4
|
+
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/patientDetails/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,oBAAoB,EAGrB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAC;AAsBnD,wBAAgB,6BAA6B,CAC3C,OAAO,EAAE,oBAAoB,EAC7B,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,MAAM,GACzB,uBAAuB,CAOzB"}
|
package/package.json
CHANGED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { FormattedPatientData } from '@bahmni/services';
|
|
2
|
-
interface UsePatientResult {
|
|
3
|
-
patient: FormattedPatientData | null;
|
|
4
|
-
loading: boolean;
|
|
5
|
-
error: Error | null;
|
|
6
|
-
refetch: () => void;
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
* Custom hook to fetch and manage patient data
|
|
10
|
-
* @returns Object containing patient, loading state, error state, and refetch function
|
|
11
|
-
*/
|
|
12
|
-
export declare const usePatient: () => UsePatientResult;
|
|
13
|
-
export {};
|
|
14
|
-
//# sourceMappingURL=usePatient.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"usePatient.d.ts","sourceRoot":"","sources":["../../src/patientDetails/usePatient.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,oBAAoB,EAGrB,MAAM,kBAAkB,CAAC;AAI1B,UAAU,gBAAgB;IACxB,OAAO,EAAE,oBAAoB,GAAG,IAAI,CAAC;IACrC,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;IACpB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED;;;GAGG;AACH,eAAO,MAAM,UAAU,QAAO,gBA8B7B,CAAC"}
|