@bahmni/widgets 0.0.1-dev.384 → 0.0.1-dev.386

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 { ae as o, ac as r, J as n, ab as g, K as c, h as l, a4 as d, ak as P, L as m, E as v, Q as u, G as T, H as A, aa as C, $ as b, a2 as p, V as I, av as S, ax as W, ay as f, S as L, a6 as R, a7 as U, O as h, P as D, a1 as y, a3 as E, U as N, T as x, W as G, a0 as O, at as _, as as H, a9 as V, _ as k, aj as q, ag as w, af as F, f as M, aq as j, ap as z, ai as B, am as J, an as K, ao as Q, ah as $, al as X, I as Y, ar as Z, ad as aa, a5 as ea, a8 as sa, c as ta, aw as ia, a as oa, u as ra, au as na, d as ga } from "./index-DgSe-s_z.js";
1
+ import { ae as o, ac as r, K as n, ab as g, M as c, l, a4 as d, ak as P, Q as m, G as v, R as u, H as T, I as A, aa as C, $ as b, a2 as p, W as I, av as S, ax as W, ay as R, S as f, a6 as D, a7 as L, j as U, P as h, a1 as y, a3 as N, V as x, T as E, X as G, a0 as _, at as H, as as O, a9 as V, _ as k, aj as M, ag as j, af as q, g as w, aq as F, ap as z, ai as B, am as J, an as K, ao as Q, ah as X, al as $, J as Y, ar as Z, ad as aa, a5 as ea, a8 as sa, c as ta, aw as ia, a as oa, u as ra, au as na, d as ga } from "./index-C4Ies-5q.js";
2
2
  import "react";
3
3
  import "react/jsx-runtime";
4
4
  import "@tanstack/react-query";
@@ -22,34 +22,34 @@ export {
22
22
  I as LabInvestigation,
23
23
  S as LocationContext,
24
24
  W as LocationProvider,
25
- f as LocationSelector,
26
- L as MedicationsTable,
27
- R as NotificationProvider,
28
- U as NotificationServiceComponent,
29
- h as ObservationsRenderer,
30
- D as PatientDetails,
25
+ R as LocationSelector,
26
+ f as MedicationsTable,
27
+ D as NotificationProvider,
28
+ L as NotificationServiceComponent,
29
+ U as ObservationsRenderer,
30
+ h as PatientDetails,
31
31
  y as PatientProgramsTable,
32
- E as ProgramDetails,
33
- N as RadiologyInvestigationReport,
34
- x as RadiologyInvestigationTable,
32
+ N as ProgramDetails,
33
+ x as RadiologyInvestigationReport,
34
+ E as RadiologyInvestigationTable,
35
35
  G as SearchPatient,
36
- O as TaskList,
37
- _ as UserActionProvider,
38
- H as UserGlobalAction,
36
+ _ as TaskList,
37
+ H as UserActionProvider,
38
+ O as UserGlobalAction,
39
39
  V as UserPrivilegeProvider,
40
40
  k as VitalFlowSheet,
41
- q as clearSearchWidgetRegistry,
42
- w as createConfigHook,
43
- F as createConfigProvider,
44
- M as extractFormName,
45
- j as getAllWidgetConfigs,
41
+ M as clearSearchWidgetRegistry,
42
+ j as createConfigHook,
43
+ q as createConfigProvider,
44
+ w as extractFormName,
45
+ F as getAllWidgetConfigs,
46
46
  z as getAllWidgetTypes,
47
47
  B as getSearchWidget,
48
48
  J as getWidget,
49
49
  K as getWidgetConfig,
50
50
  Q as hasWidget,
51
- $ as registerSearchWidget,
52
- X as registerWidget,
51
+ X as registerSearchWidget,
52
+ $ as registerWidget,
53
53
  Y as renderDocumentTile,
54
54
  Z as resetWidgetRegistry,
55
55
  aa as useActivePractitioner,
@@ -1 +1 @@
1
- {"version":3,"file":"PatientProgramsTable.d.ts","sourceRoot":"","sources":["../../src/patientPrograms/PatientProgramsTable.tsx"],"names":[],"mappings":"AASA,OAAO,KAAoD,MAAM,OAAO,CAAC;AAEzE,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAUhD;;GAEG;AACH,QAAA,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAiO/C,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
1
+ {"version":3,"file":"PatientProgramsTable.d.ts","sourceRoot":"","sources":["../../src/patientPrograms/PatientProgramsTable.tsx"],"names":[],"mappings":"AASA,OAAO,KAAoD,MAAM,OAAO,CAAC;AAEzE,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAUhD;;GAEG;AACH,QAAA,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAqO/C,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
@@ -10,7 +10,7 @@ export interface PatientProgramViewModel {
10
10
  readonly outcomeName: string | null;
11
11
  readonly outcomeDetails: string | null;
12
12
  readonly currentStateName: string | null;
13
- readonly attributes: Record<string, string | null>;
13
+ readonly attributes: Record<string, string | Date | null>;
14
14
  readonly careManagerDisplay?: string | null;
15
15
  }
16
16
  export interface ProgramField {
@@ -1 +1 @@
1
- {"version":3,"file":"model.d.ts","sourceRoot":"","sources":["../../src/patientPrograms/model.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IACtC,QAAQ,CAAC,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC,QAAQ,CAAC,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IACvC,QAAQ,CAAC,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IACzC,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC,CAAC;IACnD,QAAQ,CAAC,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC7C;AAED,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B"}
1
+ {"version":3,"file":"model.d.ts","sourceRoot":"","sources":["../../src/patientPrograms/model.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IACtC,QAAQ,CAAC,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC,QAAQ,CAAC,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IACvC,QAAQ,CAAC,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IACzC,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,CAAC,CAAC;IAC1D,QAAQ,CAAC,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC7C;AAED,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B"}
@@ -1 +1 @@
1
- {"version":3,"file":"ProgramDetails.d.ts","sourceRoot":"","sources":["../../src/programDetails/ProgramDetails.tsx"],"names":[],"mappings":"AAsBA,OAAO,KAA4B,MAAM,OAAO,CAAC;AASjD,OAAO,EAA2B,YAAY,EAAE,MAAM,SAAS,CAAC;AAOhE,eAAO,MAAM,iBAAiB,GAAI,aAAa,MAAM,kCACjB,CAAC;AAmBrC,UAAU,mBAAmB;IAC3B,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE;QACN,MAAM,EAAE,YAAY,EAAE,CAAC;KACxB,CAAC;CACH;AAED;;GAEG;AACH,QAAA,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAiQjD,CAAC;AAEF,eAAe,cAAc,CAAC"}
1
+ {"version":3,"file":"ProgramDetails.d.ts","sourceRoot":"","sources":["../../src/programDetails/ProgramDetails.tsx"],"names":[],"mappings":"AAsBA,OAAO,KAA4B,MAAM,OAAO,CAAC;AASjD,OAAO,EAA2B,YAAY,EAAE,MAAM,SAAS,CAAC;AAOhE,eAAO,MAAM,iBAAiB,GAAI,aAAa,MAAM,kCACjB,CAAC;AAmBrC,UAAU,mBAAmB;IAC3B,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE;QACN,MAAM,EAAE,YAAY,EAAE,CAAC;KACxB,CAAC;CACH;AAED;;GAEG;AACH,QAAA,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAqQjD,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -7,7 +7,7 @@ export interface ProgramDetailsViewModel {
7
7
  readonly outcomeName: string | null;
8
8
  readonly outcomeDetails: string | null;
9
9
  readonly currentStateName: string | null;
10
- readonly attributes: Record<string, string | null>;
10
+ readonly attributes: Record<string, string | Date | null>;
11
11
  readonly careManagerDisplay?: string | null;
12
12
  readonly allowedStates: {
13
13
  uuid: string;
@@ -1 +1 @@
1
- {"version":3,"file":"model.d.ts","sourceRoot":"","sources":["../../src/programDetails/model.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IACtC,QAAQ,CAAC,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC,QAAQ,CAAC,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IACvC,QAAQ,CAAC,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IACzC,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC,CAAC;IACnD,QAAQ,CAAC,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5C,QAAQ,CAAC,aAAa,EAAE;QACtB,IAAI,EAAE,MAAM,CAAC;QACb,OAAO,EAAE,MAAM,CAAC;KACjB,EAAE,CAAC;CACL;AACD,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B"}
1
+ {"version":3,"file":"model.d.ts","sourceRoot":"","sources":["../../src/programDetails/model.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IACtC,QAAQ,CAAC,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC,QAAQ,CAAC,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IACvC,QAAQ,CAAC,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IACzC,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,CAAC,CAAC;IAC1D,QAAQ,CAAC,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5C,QAAQ,CAAC,aAAa,EAAE;QACtB,IAAI,EAAE,MAAM,CAAC;QACb,OAAO,EAAE,MAAM,CAAC;KACjB,EAAE,CAAC;CACL;AACD,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bahmni/widgets",
3
- "version": "0.0.1-dev.384",
3
+ "version": "0.0.1-dev.386",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",