@bahmni/widgets 0.0.1-dev.246 → 0.0.1-dev.256
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-Ccz-PfO3.js} +11 -11
- package/dist/{FormsTable-DjZIOOsr.js → FormsTable-_7HeX2Z4.js} +25 -25
- package/dist/{Observations-CGI37M7w.js → Observations-B0lIYNHb.js} +26 -26
- package/dist/conditions/utils.d.ts.map +1 -1
- package/dist/{index-B8Sjdo3W.js → index-Dis2HQ87.js} +2138 -2104
- package/dist/index.css +1 -1
- package/dist/index.js +15 -15
- 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, r as n,
|
|
1
|
+
import { a2 as s, a0 as t, A as o, _ as r, r as n, Z as g, w as l, D as P, G as c, I as d, L as v, M as T, N as b, Q as A, c as p, P as C, H as I, J as f, E as m, R as u, F as R, X as W, V as D, a4 as N, a3 as S, aa as U, a9 as y, a6 as H, a7 as L, a8 as h, a5 as x, ab as E, a1 as G, U as O, a as V, u as _, T as w } from "./index-Dis2HQ87.js";
|
|
2
2
|
import "react";
|
|
3
3
|
export {
|
|
4
4
|
s as ActivePractitionerContext,
|
|
@@ -9,9 +9,9 @@ export {
|
|
|
9
9
|
g as CONSULTATION_PAD_PRIVILEGES,
|
|
10
10
|
l as ConditionsTable,
|
|
11
11
|
P as DiagnosesTable,
|
|
12
|
-
|
|
12
|
+
c as GenericServiceRequestTable,
|
|
13
13
|
d as ImmunizationHistory,
|
|
14
|
-
|
|
14
|
+
v as LabInvestigation,
|
|
15
15
|
T as MedicationsTable,
|
|
16
16
|
b as NotificationProvider,
|
|
17
17
|
A as NotificationServiceComponent,
|
|
@@ -22,20 +22,20 @@ export {
|
|
|
22
22
|
m as RadiologyInvestigationReport,
|
|
23
23
|
u as RadiologyInvestigationTable,
|
|
24
24
|
R as SearchPatient,
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
25
|
+
W as UserPrivilegeProvider,
|
|
26
|
+
D as VitalFlowSheet,
|
|
27
|
+
N as createConfigHook,
|
|
28
|
+
S as createConfigProvider,
|
|
29
29
|
U as getAllWidgetConfigs,
|
|
30
30
|
y as getAllWidgetTypes,
|
|
31
|
-
|
|
31
|
+
H as getWidget,
|
|
32
32
|
L as getWidgetConfig,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
33
|
+
h as hasWidget,
|
|
34
|
+
x as registerWidget,
|
|
35
|
+
E as resetWidgetRegistry,
|
|
36
|
+
G as useActivePractitioner,
|
|
37
37
|
O as useHasPrivilege,
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
38
|
+
V as useNotification,
|
|
39
|
+
_ as usePatientUUID,
|
|
40
|
+
w 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"}
|