@bahmni/widgets 0.0.1-dev.259 → 0.0.1-dev.261
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-f3vDcKC9.js → DocumentsTable-Ba-_vJJn.js} +6 -6
- package/dist/{FormsTable-B1VtE96y.js → FormsTable-DgVxYxdU.js} +39 -39
- package/dist/{Observations-CzvANUPq.js → Observations-fEEVRIys.js} +23 -23
- package/dist/allergies/AllergiesTable.d.ts +2 -4
- package/dist/allergies/AllergiesTable.d.ts.map +1 -1
- package/dist/conditions/ConditionsTable.d.ts +0 -3
- package/dist/conditions/ConditionsTable.d.ts.map +1 -1
- package/dist/conditions/models.d.ts +1 -0
- package/dist/conditions/models.d.ts.map +1 -1
- package/dist/conditions/utils.d.ts.map +1 -1
- package/dist/confirmationModal/ConfirmationModal.d.ts +16 -0
- package/dist/confirmationModal/ConfirmationModal.d.ts.map +1 -0
- package/dist/{index-BXQ-G7DC.js → index-D8GZ0bSc.js} +16058 -15883
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +23 -22
- package/dist/registry/model.d.ts +9 -0
- package/dist/registry/model.d.ts.map +1 -1
- package/dist/userPrivileges/consultationPadPrivileges.d.ts +1 -0
- package/dist/userPrivileges/consultationPadPrivileges.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,8BAA8B,CAAC;AAEtC,OAAO,EACL,OAAO,IAAI,iBAAiB,EAC5B,KAAK,sBAAsB,GAC5B,MAAM,uCAAuC,CAAC;AAG/C,OAAO,EAAE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EAC1B,qBAAqB,EACrB,yBAAyB,EACzB,KAAK,6BAA6B,GACnC,MAAM,sBAAsB,CAAC;AAG9B,OAAO,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAG1E,OAAO,EACL,cAAc,EACd,SAAS,EACT,eAAe,EACf,SAAS,EACT,iBAAiB,EACjB,mBAAmB,EACnB,mBAAmB,EACnB,KAAK,YAAY,GAClB,MAAM,YAAY,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a3 as s, a1 as t, B as o, a0 as r, D as n, Z as g, E as l, A as P, F as d, H as c, J as v, L as b, M as A, N as T, Q as C, O as f, P as m, I as p, K as I, G as u, R, S as W, Y as S, V as D, a5 as N, a4 as y, ab as U, aa as H, a7 as L, a8 as O, a9 as h, a6 as x, ac as E, a2 as G, X as M, a as V, u as F, W as _ } from "./index-D8GZ0bSc.js";
|
|
2
2
|
import "react";
|
|
3
3
|
export {
|
|
4
4
|
s as ActivePractitionerContext,
|
|
@@ -8,34 +8,35 @@ export {
|
|
|
8
8
|
n as AppointmentsTable,
|
|
9
9
|
g as CONSULTATION_PAD_PRIVILEGES,
|
|
10
10
|
l as ConditionsTable,
|
|
11
|
-
P as
|
|
11
|
+
P as ConfirmationModal,
|
|
12
|
+
d as DiagnosesTable,
|
|
12
13
|
c as GenericServiceRequestTable,
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
14
|
+
v as ImmunizationHistory,
|
|
15
|
+
b as LabInvestigation,
|
|
16
|
+
A as MedicationsTable,
|
|
17
|
+
T as NotificationProvider,
|
|
18
|
+
C as NotificationServiceComponent,
|
|
19
|
+
f as ObservationsRenderer,
|
|
20
|
+
m as PatientDetails,
|
|
21
|
+
p as PatientProgramsTable,
|
|
22
|
+
I as ProgramDetails,
|
|
23
|
+
u as RadiologyInvestigationReport,
|
|
24
|
+
R as RadiologyInvestigationTable,
|
|
25
|
+
W as SearchPatient,
|
|
26
|
+
S as UserPrivilegeProvider,
|
|
26
27
|
D as VitalFlowSheet,
|
|
27
28
|
N as createConfigHook,
|
|
28
|
-
|
|
29
|
+
y as createConfigProvider,
|
|
29
30
|
U as getAllWidgetConfigs,
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
H as getAllWidgetTypes,
|
|
32
|
+
L as getWidget,
|
|
33
|
+
O as getWidgetConfig,
|
|
33
34
|
h as hasWidget,
|
|
34
35
|
x as registerWidget,
|
|
35
36
|
E as resetWidgetRegistry,
|
|
36
37
|
G as useActivePractitioner,
|
|
37
|
-
|
|
38
|
+
M as useHasPrivilege,
|
|
38
39
|
V as useNotification,
|
|
39
|
-
|
|
40
|
-
|
|
40
|
+
F as usePatientUUID,
|
|
41
|
+
_ as useUserPrivilege
|
|
41
42
|
};
|
package/dist/registry/model.d.ts
CHANGED
|
@@ -1,9 +1,18 @@
|
|
|
1
1
|
import { ComponentType, LazyExoticComponent } from 'react';
|
|
2
|
+
export interface WidgetActionConfig {
|
|
3
|
+
label: string;
|
|
4
|
+
type: string;
|
|
5
|
+
requiredPrivilege?: string[];
|
|
6
|
+
}
|
|
2
7
|
export interface WidgetProps {
|
|
3
8
|
config?: Record<string, unknown>;
|
|
4
9
|
episodeOfCareUuids?: string[];
|
|
5
10
|
encounterUuids?: string[];
|
|
6
11
|
visitUuids?: string[];
|
|
12
|
+
onEditClick?: () => void;
|
|
13
|
+
disableActions?: boolean;
|
|
14
|
+
/** Row-level edit callback — passes the FHIR resource UUID of the row being edited. */
|
|
15
|
+
onRowEditClick?: (resourceId: string) => void;
|
|
7
16
|
}
|
|
8
17
|
export interface WidgetConfig {
|
|
9
18
|
type: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model.d.ts","sourceRoot":"","sources":["../../src/registry/model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAE3D,MAAM,WAAW,WAAW;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACjC,kBAAkB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC9B,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAC1B,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"model.d.ts","sourceRoot":"","sources":["../../src/registry/model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAE3D,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAC;CAC9B;AAED,MAAM,WAAW,WAAW;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACjC,kBAAkB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC9B,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAC1B,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,uFAAuF;IACvF,cAAc,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;CAC/C;AACD,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,mBAAmB,CAAC,aAAa,CAAC,WAAW,CAAC,CAAC,CAAC;CAC5D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"consultationPadPrivileges.d.ts","sourceRoot":"","sources":["../../src/userPrivileges/consultationPadPrivileges.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,eAAO,MAAM,2BAA2B
|
|
1
|
+
{"version":3,"file":"consultationPadPrivileges.d.ts","sourceRoot":"","sources":["../../src/userPrivileges/consultationPadPrivileges.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,eAAO,MAAM,2BAA2B;;;;;;;;;CASvC,CAAC"}
|