@bahmni/widgets 0.0.1-dev.206 → 0.0.1-dev.210

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/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { a3 as s, a1 as t, B as o, a0 as r, C as n, $ as g, D as l, E as P, N as c, K as d, M as v, T, U as b, P as A, O as C, Q as p, I as f, H as I, S as u, _ as S, V as W, a5 as m, a4 as D, ab as N, aa as R, a7 as U, a8 as y, a9 as h, a6 as x, ac as E, a2 as H, Z as L, a as O, u as V, Y as _ } from "./index-CsIK0Mfk.js";
1
+ import { a3 as s, a1 as t, A as o, a0 as r, B as n, $ as g, C as l, D as P, K as c, I as d, M as v, Q as A, U as T, P as b, N as C, O as p, H as f, G as I, S as W, _ as u, V as S, a5 as m, a4 as D, ab as N, aa as R, a7 as U, a8 as y, a9 as h, a6 as x, ac as G, a2 as H, Y as L, a as O, u as V, W as _ } from "./index-BuDLotQZ.js";
2
2
  import "react";
3
3
  export {
4
4
  s as ActivePractitionerContext,
@@ -12,16 +12,16 @@ export {
12
12
  c as GenericServiceRequestTable,
13
13
  d as LabInvestigation,
14
14
  v as MedicationsTable,
15
- T as NotificationProvider,
16
- b as NotificationServiceComponent,
17
- A as PatientDetails,
15
+ A as NotificationProvider,
16
+ T as NotificationServiceComponent,
17
+ b as PatientDetails,
18
18
  C as PatientProgramsTable,
19
19
  p as ProgramDetails,
20
20
  f as RadiologyInvestigationReport,
21
21
  I as RadiologyInvestigationTable,
22
- u as SearchPatient,
23
- S as UserPrivilegeProvider,
24
- W as VitalFlowSheet,
22
+ W as SearchPatient,
23
+ u as UserPrivilegeProvider,
24
+ S as VitalFlowSheet,
25
25
  m as createConfigHook,
26
26
  D as createConfigProvider,
27
27
  N as getAllWidgetConfigs,
@@ -30,7 +30,7 @@ export {
30
30
  y as getWidgetConfig,
31
31
  h as hasWidget,
32
32
  x as registerWidget,
33
- E as resetWidgetRegistry,
33
+ G as resetWidgetRegistry,
34
34
  H as useActivePractitioner,
35
35
  L as useHasPrivilege,
36
36
  O as useNotification,
@@ -1,13 +1,8 @@
1
1
  import { default as React } from 'react';
2
- export declare const programsQueryKeys: (patientUUID: string, programAttributes: string[]) => readonly ["programs", string, string[]];
3
- interface PatientProgramsTableProps {
4
- config: {
5
- fields: string[];
6
- };
7
- }
2
+ import { WidgetProps } from '../registry/model';
8
3
  /**
9
4
  * Component to display patient programs using SortableDataTable
10
5
  */
11
- declare const PatientProgramsTable: React.FC<PatientProgramsTableProps>;
6
+ declare const PatientProgramsTable: React.FC<WidgetProps>;
12
7
  export default PatientProgramsTable;
13
8
  //# sourceMappingURL=PatientProgramsTable.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PatientProgramsTable.d.ts","sourceRoot":"","sources":["../../src/patientPrograms/PatientProgramsTable.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAUvC,eAAO,MAAM,iBAAiB,GAC5B,aAAa,MAAM,EACnB,mBAAmB,MAAM,EAAE,4CAC6B,CAAC;AAU3D,UAAU,yBAAyB;IACjC,MAAM,EAAE;QACN,MAAM,EAAE,MAAM,EAAE,CAAC;KAClB,CAAC;CACH;AAED;;GAEG;AACH,QAAA,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,yBAAyB,CAqH7D,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
1
+ {"version":3,"file":"PatientProgramsTable.d.ts","sourceRoot":"","sources":["../../src/patientPrograms/PatientProgramsTable.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAoD,MAAM,OAAO,CAAC;AAEzE,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAShD;;GAEG;AACH,QAAA,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAkL/C,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
@@ -1,2 +1,2 @@
1
- export { default as PatientProgramsTable, programsQueryKeys, } from './PatientProgramsTable';
1
+ export { default as PatientProgramsTable } from './PatientProgramsTable';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/patientPrograms/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,IAAI,oBAAoB,EAC/B,iBAAiB,GAClB,MAAM,wBAAwB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/patientPrograms/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,wBAAwB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bahmni/widgets",
3
- "version": "0.0.1-dev.206",
3
+ "version": "0.0.1-dev.210",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",