@bahmni/widgets 0.0.1-dev.90 → 0.0.1-dev.91

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.
@@ -1,8 +1,9 @@
1
1
  import { default as React } from 'react';
2
+ import { WidgetProps } from '../registry/model';
2
3
  /**
3
4
  * Component to display patient radiology investigations grouped by date in accordion format
4
5
  * Each accordion item contains an SortableDataTable with radiology investigations for that date
5
6
  */
6
- declare const RadiologyInvestigationTable: React.FC;
7
+ declare const RadiologyInvestigationTable: React.FC<WidgetProps>;
7
8
  export default RadiologyInvestigationTable;
8
9
  //# sourceMappingURL=RadiologyInvestigationTable.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"RadiologyInvestigationTable.d.ts","sourceRoot":"","sources":["../../src/radiologyInvestigation/RadiologyInvestigationTable.tsx"],"names":[],"mappings":"AAeA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAQpD;;;GAGG;AACH,QAAA,MAAM,2BAA2B,EAAE,KAAK,CAAC,EAiIxC,CAAC;AAEF,eAAe,2BAA2B,CAAC"}
1
+ {"version":3,"file":"RadiologyInvestigationTable.d.ts","sourceRoot":"","sources":["../../src/radiologyInvestigation/RadiologyInvestigationTable.tsx"],"names":[],"mappings":"AAqBA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAG/D,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAOhD;;;GAGG;AACH,QAAA,MAAM,2BAA2B,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CA+OtD,CAAC;AAEF,eAAe,2BAA2B,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bahmni/widgets",
3
- "version": "0.0.1-dev.90",
3
+ "version": "0.0.1-dev.91",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",
@@ -1,14 +0,0 @@
1
- import { RadiologyInvestigation } from '@bahmni/services';
2
- interface UseRadiologyInvestigationResult {
3
- radiologyInvestigations: RadiologyInvestigation[];
4
- loading: boolean;
5
- error: Error | null;
6
- refetch: () => void;
7
- }
8
- /**
9
- * Custom hook to fetch and manage radiology investigations for the current patient
10
- * @returns Object containing radiology investigations, loading state, error state, and refetch function
11
- */
12
- export declare const useRadiologyInvestigation: () => UseRadiologyInvestigationResult;
13
- export default useRadiologyInvestigation;
14
- //# sourceMappingURL=useRadiologyInvestigation.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useRadiologyInvestigation.d.ts","sourceRoot":"","sources":["../../src/radiologyInvestigation/useRadiologyInvestigation.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,sBAAsB,EAEvB,MAAM,kBAAkB,CAAC;AAI1B,UAAU,+BAA+B;IACvC,uBAAuB,EAAE,sBAAsB,EAAE,CAAC;IAClD,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;IACpB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED;;;GAGG;AACH,eAAO,MAAM,yBAAyB,QAChC,+BAuCH,CAAC;AAEJ,eAAe,yBAAyB,CAAC"}