@bahmni/widgets 0.0.1-dev.318 → 0.0.1-dev.325

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.
Files changed (41) hide show
  1. package/dist/{DocumentsTable-DoSAODvG.js → DocumentsTable-BCApmM0e.js} +1 -1
  2. package/dist/{FormsTable-DEtGhXWv.js → FormsTable-D4uH1t5n.js} +1 -1
  3. package/dist/{Observations-Bz_9txk-.js → Observations-BuBMVV44.js} +1 -1
  4. package/dist/{index-5LDkoVtj.js → index-0AuXrwfX.js} +15045 -14858
  5. package/dist/index.css +1 -1
  6. package/dist/index.d.ts +1 -0
  7. package/dist/index.d.ts.map +1 -1
  8. package/dist/index.js +42 -38
  9. package/dist/patientPrograms/PatientProgramsTable.d.ts.map +1 -1
  10. package/dist/patientPrograms/__tests__/__mocks__/patientProgramMocks.d.ts +3 -0
  11. package/dist/patientPrograms/__tests__/__mocks__/patientProgramMocks.d.ts.map +1 -0
  12. package/dist/patientPrograms/model.d.ts +4 -0
  13. package/dist/patientPrograms/model.d.ts.map +1 -1
  14. package/dist/patientPrograms/utils.d.ts +3 -3
  15. package/dist/patientPrograms/utils.d.ts.map +1 -1
  16. package/dist/programDetails/ProgramDetails.d.ts +2 -1
  17. package/dist/programDetails/ProgramDetails.d.ts.map +1 -1
  18. package/dist/programDetails/model.d.ts +4 -0
  19. package/dist/programDetails/model.d.ts.map +1 -1
  20. package/dist/programDetails/utils.d.ts +2 -2
  21. package/dist/programDetails/utils.d.ts.map +1 -1
  22. package/dist/search/commonSearch/CommonSearchWidget.d.ts +4 -0
  23. package/dist/search/commonSearch/CommonSearchWidget.d.ts.map +1 -0
  24. package/dist/search/commonSearch/__tests__/__mocks__/commonSearchWidgetMocks.d.ts +3 -0
  25. package/dist/search/commonSearch/__tests__/__mocks__/commonSearchWidgetMocks.d.ts.map +1 -0
  26. package/dist/search/commonSearch/index.d.ts +2 -0
  27. package/dist/search/commonSearch/index.d.ts.map +1 -0
  28. package/dist/search/commonSearch/models.d.ts +2 -0
  29. package/dist/search/commonSearch/models.d.ts.map +1 -0
  30. package/dist/search/commonSearch/schema.json.d.ts +8 -0
  31. package/dist/search/index.d.ts +4 -0
  32. package/dist/search/index.d.ts.map +1 -0
  33. package/dist/search/models.d.ts +4 -0
  34. package/dist/search/models.d.ts.map +1 -0
  35. package/dist/search/registry/index.d.ts +3 -0
  36. package/dist/search/registry/index.d.ts.map +1 -0
  37. package/dist/search/registry/models.d.ts +6 -0
  38. package/dist/search/registry/models.d.ts.map +1 -0
  39. package/dist/search/registry/registry.d.ts +9 -0
  40. package/dist/search/registry/registry.d.ts.map +1 -0
  41. package/package.json +1 -1
@@ -0,0 +1,4 @@
1
+ import { SearchWidgetProps } from '../models';
2
+ declare const CommonSearchWidget: ({ extensionParams }: SearchWidgetProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default CommonSearchWidget;
4
+ //# sourceMappingURL=CommonSearchWidget.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CommonSearchWidget.d.ts","sourceRoot":"","sources":["../../../src/search/commonSearch/CommonSearchWidget.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAK9C,QAAA,MAAM,kBAAkB,GAAI,qBAAqB,iBAAiB,4CAyCjE,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { CommonSearchWidgetConfig } from '../../models';
2
+ export declare const mockCommonSearchWidgetConfig: CommonSearchWidgetConfig;
3
+ //# sourceMappingURL=commonSearchWidgetMocks.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"commonSearchWidgetMocks.d.ts","sourceRoot":"","sources":["../../../../../src/search/commonSearch/__tests__/__mocks__/commonSearchWidgetMocks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,cAAc,CAAC;AAExD,eAAO,MAAM,4BAA4B,EAAE,wBAK1C,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { default as CommonSearchWidget } from './CommonSearchWidget';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/search/commonSearch/index.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,sBAAsB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export type CommonSearchWidgetConfig = Record<string, unknown>;
2
+ //# sourceMappingURL=models.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"models.d.ts","sourceRoot":"","sources":["../../../src/search/commonSearch/models.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,wBAAwB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC"}
@@ -0,0 +1,8 @@
1
+ declare const _default: {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "title": "Tab Config Schema",
4
+ "type": "object"
5
+ }
6
+ ;
7
+
8
+ export default _default;
@@ -0,0 +1,4 @@
1
+ export { registerSearchWidget, getSearchWidget, clearSearchWidgetRegistry, type SearchWidget, } from './registry';
2
+ export type { SearchWidgetProps } from './models';
3
+ export { CommonSearchWidget } from './commonSearch';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/search/index.ts"],"names":[],"mappings":"AAAA,OAAO,gBAAgB,CAAC;AAExB,OAAO,EACL,oBAAoB,EACpB,eAAe,EACf,yBAAyB,EACzB,KAAK,YAAY,GAClB,MAAM,YAAY,CAAC;AAEpB,YAAY,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAElD,OAAO,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC"}
@@ -0,0 +1,4 @@
1
+ export interface SearchWidgetProps {
2
+ extensionParams?: Record<string, unknown>;
3
+ }
4
+ //# sourceMappingURL=models.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"models.d.ts","sourceRoot":"","sources":["../../src/search/models.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,iBAAiB;IAChC,eAAe,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAC3C"}
@@ -0,0 +1,3 @@
1
+ export { registerSearchWidget, getSearchWidget, clearSearchWidgetRegistry, } from './registry';
2
+ export type { SearchWidget } from './models';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/search/registry/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,oBAAoB,EACpB,eAAe,EACf,yBAAyB,GAC1B,MAAM,YAAY,CAAC;AACpB,YAAY,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { SearchWidgetProps } from '../models';
2
+ export interface SearchWidget {
3
+ key: string;
4
+ component: React.ComponentType<SearchWidgetProps>;
5
+ }
6
+ //# sourceMappingURL=models.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"models.d.ts","sourceRoot":"","sources":["../../../src/search/registry/models.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAE9C,MAAM,WAAW,YAAY;IAC3B,GAAG,EAAE,MAAM,CAAC;IACZ,SAAS,EAAE,KAAK,CAAC,aAAa,CAAC,iBAAiB,CAAC,CAAC;CACnD"}
@@ -0,0 +1,9 @@
1
+ import { default as React } from 'react';
2
+ import { SearchWidget } from './models';
3
+ export declare const registerSearchWidget: (entry: {
4
+ key: string;
5
+ component: React.ComponentType;
6
+ }) => void;
7
+ export declare const getSearchWidget: (key: string) => SearchWidget | undefined;
8
+ export declare const clearSearchWidgetRegistry: () => void;
9
+ //# sourceMappingURL=registry.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../../../src/search/registry/registry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAIxC,eAAO,MAAM,oBAAoB,GAAI,OAAO;IAC1C,GAAG,EAAE,MAAM,CAAC;IACZ,SAAS,EAAE,KAAK,CAAC,aAAa,CAAC;CAChC,KAAG,IAKH,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,KAAK,MAAM,KAAG,YAAY,GAAG,SACJ,CAAC;AAE1D,eAAO,MAAM,yBAAyB,QAAO,IAE5C,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bahmni/widgets",
3
- "version": "0.0.1-dev.318",
3
+ "version": "0.0.1-dev.325",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",