@bahmni/widgets 0.0.1-dev.197 → 0.0.1-dev.199

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,5 +1,5 @@
1
1
  import { jsx as s, jsxs as l, Fragment as k } from "react/jsx-runtime";
2
- import { u as V, a as H, b as P, F as q, j as z, c as G, y as Y } from "./index-dzifQaG5.js";
2
+ import { u as V, a as H, l as P, F as q, b as z, c as G, y as Y } from "./index-C8-cHHbW.js";
3
3
  import { useQuery as K } from "@tanstack/react-query";
4
4
  import { useState as C, useCallback as E, useEffect as M, useMemo as f } from "react";
5
5
  import { useTranslation as Q } from "react-i18next";
@@ -45,7 +45,7 @@ const re = [
45
45
  g(!1), O(null), T(/* @__PURE__ */ new Set());
46
46
  }, []), L = E((e) => {
47
47
  T((o) => new Set(o).add(e));
48
- }, []), { data: j, isLoading: B, isError: I, error: A } = K({
48
+ }, []), { data: B, isLoading: F, isError: I, error: A } = K({
49
49
  queryKey: ["documents", p, u],
50
50
  enabled: !!p,
51
51
  queryFn: () => P(p, u)
@@ -78,7 +78,7 @@ const re = [
78
78
  const h = f(
79
79
  () => t?.fields ?? re,
80
80
  [t?.fields]
81
- ), F = f(() => oe(h, n), [h, n]), R = f(
81
+ ), j = f(() => oe(h, n), [h, n]), R = f(
82
82
  () => h.map((e) => ({
83
83
  key: e,
84
84
  sortable: e !== "action"
@@ -122,10 +122,10 @@ const re = [
122
122
  /* @__PURE__ */ s("div", { "data-testid": "documents-table", children: /* @__PURE__ */ s(
123
123
  G,
124
124
  {
125
- headers: F,
125
+ headers: j,
126
126
  ariaLabel: n("DOCUMENTS_TABLE_HEADING"),
127
- rows: j ?? [],
128
- loading: B,
127
+ rows: B ?? [],
128
+ loading: F,
129
129
  errorStateMessage: I ? A?.message : null,
130
130
  sortable: R,
131
131
  emptyStateMessage: n("DOCUMENTS_NO_RECORDS"),
@@ -1,9 +1,9 @@
1
1
  import { jsxs as b, jsx as o, Fragment as j } from "react/jsx-runtime";
2
- import { f as K, d as R, Z as ae, r as oe, o as se, e as ne, g as de, i as ie, u as le, h as ce, W as me, K as ue, Y as pe, k as be, l as fe, j as _e, F as ye, c as P, m as he, n as $e, y as ge, D as Ne, R as k } from "./index-dzifQaG5.js";
2
+ import { f as K, d as R, e as ae, r as oe, o as se, g as ne, h as de, i as ie, u as le, V as ce, J as me, Y as ue, W as pe, j as be, k as fe, b as _e, F as ye, c as P, m as he, n as $e, y as ge, D as Ne, R as k } from "./index-C8-cHHbW.js";
3
3
  import { useQueryClient as ve, useQuery as O } from "@tanstack/react-query";
4
4
  import { useState as H, useMemo as g, useCallback as L } from "react";
5
- import { useTranslation as V } from "react-i18next";
6
- const Fe = "_formsTableBody_1pd36_1", Oe = "_customAccordianItem_1pd36_6", Le = "_formContent_1pd36_18", Re = "_formDetailsContainer_1pd36_25", Me = "_observation_1pd36_30", Ce = "_groupContainer_1pd36_39", De = "_rowContainer_1pd36_43", Te = "_groupLabel_1pd36_48", Ve = "_rowLabel_1pd36_58", we = "_rowValue_1pd36_67", Ie = "_groupMembers_1pd36_75", Ee = "_memberRow_1pd36_81", Be = "_memberLabel_1pd36_86", Ae = "_memberValue_1pd36_94", Ge = "_abnormalValue_1pd36_102", Se = "_commentSection_1pd36_110", qe = "_commentText_1pd36_116", Ue = "_nestedGroup_1pd36_125", xe = "_nestedGroupLabel_1pd36_132", Pe = "_nestedGroupMembers_1pd36_141", s = {
5
+ import { useTranslation as T } from "react-i18next";
6
+ const Fe = "_formsTableBody_1pd36_1", Oe = "_customAccordianItem_1pd36_6", Le = "_formContent_1pd36_18", Re = "_formDetailsContainer_1pd36_25", Me = "_observation_1pd36_30", Ce = "_groupContainer_1pd36_39", De = "_rowContainer_1pd36_43", Ve = "_groupLabel_1pd36_48", Te = "_rowLabel_1pd36_58", we = "_rowValue_1pd36_67", Ie = "_groupMembers_1pd36_75", Ee = "_memberRow_1pd36_81", Be = "_memberLabel_1pd36_86", Ae = "_memberValue_1pd36_94", Ge = "_abnormalValue_1pd36_102", Se = "_commentSection_1pd36_110", qe = "_commentText_1pd36_116", Ue = "_nestedGroup_1pd36_125", xe = "_nestedGroupLabel_1pd36_132", Pe = "_nestedGroupMembers_1pd36_141", s = {
7
7
  formsTableBody: Fe,
8
8
  customAccordianItem: Oe,
9
9
  formContent: Le,
@@ -11,8 +11,8 @@ const Fe = "_formsTableBody_1pd36_1", Oe = "_customAccordianItem_1pd36_6", Le =
11
11
  observation: Me,
12
12
  groupContainer: Ce,
13
13
  rowContainer: De,
14
- groupLabel: Te,
15
- rowLabel: Ve,
14
+ groupLabel: Ve,
15
+ rowLabel: Te,
16
16
  rowValue: we,
17
17
  groupMembers: Ie,
18
18
  memberRow: Ee,
@@ -47,7 +47,7 @@ const Fe = "_formsTableBody_1pd36_1", Oe = "_customAccordianItem_1pd36_6", Le =
47
47
  formName: n = "",
48
48
  comment: d
49
49
  }) => {
50
- const { t: i } = V(), u = e.members && e.members.length > 0, t = e.display, c = n ? `${n}-` : "";
50
+ const { t: i } = T(), u = e.members && e.members.length > 0, t = e.display, c = n ? `${n}-` : "";
51
51
  if (u)
52
52
  return /* @__PURE__ */ b(
53
53
  "div",
@@ -140,7 +140,7 @@ const Fe = "_formsTableBody_1pd36_1", Oe = "_customAccordianItem_1pd36_6", Le =
140
140
  formName: a = "",
141
141
  comment: n
142
142
  }) => {
143
- const { t: d } = V(), i = e.members && e.members.length > 0, { rangeString: u, isAbnormal: t } = Q(e), c = a ? `${a}-` : "", $ = K(e, d), f = $ ? W($) : null;
143
+ const { t: d } = T(), i = e.members && e.members.length > 0, { rangeString: u, isAbnormal: t } = Q(e), c = a ? `${a}-` : "", $ = K(e, d), f = $ ? W($) : null;
144
144
  return /* @__PURE__ */ b(
145
145
  "div",
146
146
  {
@@ -217,7 +217,7 @@ const Fe = "_formsTableBody_1pd36_1", Oe = "_customAccordianItem_1pd36_6", Le =
217
217
  )?.valueString : void 0, je = (e) => {
218
218
  if (e)
219
219
  return e.note?.[0]?.text;
220
- }, Ke = (e, r) => e.entry?.find((a) => a.resource?.id === r)?.resource, T = (e, r) => {
220
+ }, Ke = (e, r) => e.entry?.find((a) => a.resource?.id === r)?.resource, V = (e, r) => {
221
221
  const a = Ke(e, r);
222
222
  return a ? {
223
223
  formFieldPath: He(a),
@@ -229,28 +229,28 @@ const Fe = "_formsTableBody_1pd36_1", Oe = "_customAccordianItem_1pd36_6", Le =
229
229
  const a = de(e);
230
230
  return [
231
231
  ...a.observations.map((d) => {
232
- const { formFieldPath: i, comment: u } = T(
232
+ const { formFieldPath: i, comment: u } = V(
233
233
  e,
234
234
  d.id
235
235
  );
236
236
  return { obs: d, formFieldPath: i, comment: u };
237
237
  }),
238
238
  ...a.groupedObservations.flatMap((d) => {
239
- const { formFieldPath: i } = T(e, d.id);
239
+ const { formFieldPath: i } = V(e, d.id);
240
240
  return (d.members ?? []).map((u) => {
241
- const { comment: t } = T(e, u.id);
241
+ const { comment: t } = V(e, u.id);
242
242
  return { obs: u, formFieldPath: i, comment: t };
243
243
  });
244
244
  })
245
245
  ].filter(
246
246
  ({ formFieldPath: d }) => !d || d.includes(r)
247
247
  );
248
- }, Xe = ({
248
+ }, Ze = ({
249
249
  episodeOfCareUuids: e,
250
250
  encounterUuids: r,
251
251
  config: a
252
252
  }) => {
253
- const { t: n } = V(), d = le(), [i, u] = H(!1), [t, c] = H(null), $ = a?.numberOfVisits, f = ce(
253
+ const { t: n } = T(), d = le(), [i, u] = H(!1), [t, c] = H(null), $ = a?.numberOfVisits, f = ce(
254
254
  e,
255
255
  r
256
256
  ), _ = ve(), {
@@ -258,7 +258,7 @@ const Fe = "_formsTableBody_1pd36_1", Oe = "_customAccordianItem_1pd36_6", Le =
258
258
  isLoading: N,
259
259
  isError: v,
260
260
  error: z,
261
- refetch: Z
261
+ refetch: J
262
262
  } = O({
263
263
  queryKey: ["forms", d, e],
264
264
  queryFn: () => me(d, void 0, $),
@@ -274,13 +274,13 @@ const Fe = "_formsTableBody_1pd36_1", Oe = "_customAccordianItem_1pd36_6", Le =
274
274
  ), M = g(() => {
275
275
  if (t)
276
276
  return E(t.formName);
277
- }, [t, E]), { isLoading: J, error: B } = O({
277
+ }, [t, E]), { isLoading: X, error: B } = O({
278
278
  queryKey: ["formMetadata", M],
279
279
  queryFn: () => pe(M),
280
280
  enabled: !!M && i
281
281
  }), {
282
282
  data: C,
283
- isLoading: X,
283
+ isLoading: Z,
284
284
  error: A
285
285
  } = O({
286
286
  queryKey: ["formsEncounterFHIR", t?.encounterUuid],
@@ -289,7 +289,7 @@ const Fe = "_formsTableBody_1pd36_1", Oe = "_customAccordianItem_1pd36_6", Le =
289
289
  });
290
290
  fe(
291
291
  (l) => {
292
- l.patientUUID === d && l.updatedConcepts.size > 0 && (Z(), _.invalidateQueries({ queryKey: ["formsEncounterFHIR"] }));
292
+ l.patientUUID === d && l.updatedConcepts.size > 0 && (J(), _.invalidateQueries({ queryKey: ["formsEncounterFHIR"] }));
293
293
  },
294
294
  [d]
295
295
  );
@@ -404,7 +404,7 @@ const Fe = "_formsTableBody_1pd36_1", Oe = "_customAccordianItem_1pd36_6", Le =
404
404
  passiveModal: !0,
405
405
  size: "md",
406
406
  testId: "form-details-modal",
407
- children: /* @__PURE__ */ o("div", { className: s.formContent, children: J || X ? /* @__PURE__ */ o(Ne, { width: "100%", lineCount: 3 }) : B ? /* @__PURE__ */ o("div", { children: k(B).message ?? n("ERROR_FETCHING_FORM_METADATA") }) : A ? /* @__PURE__ */ o("div", { children: k(A).message ?? n("ERROR_FETCHING_FORM_DATA") }) : G.length > 0 ? /* @__PURE__ */ o("div", { className: s.formDetailsContainer, children: G.map(({ obs: l, comment: h }, m) => /* @__PURE__ */ o(
407
+ children: /* @__PURE__ */ o("div", { className: s.formContent, children: X || Z ? /* @__PURE__ */ o(Ne, { width: "100%", lineCount: 3 }) : B ? /* @__PURE__ */ o("div", { children: k(B).message ?? n("ERROR_FETCHING_FORM_METADATA") }) : A ? /* @__PURE__ */ o("div", { children: k(A).message ?? n("ERROR_FETCHING_FORM_DATA") }) : G.length > 0 ? /* @__PURE__ */ o("div", { className: s.formDetailsContainer, children: G.map(({ obs: l, comment: h }, m) => /* @__PURE__ */ o(
408
408
  ke,
409
409
  {
410
410
  observation: l,
@@ -419,5 +419,5 @@ const Fe = "_formsTableBody_1pd36_1", Oe = "_customAccordianItem_1pd36_6", Le =
419
419
  ] });
420
420
  };
421
421
  export {
422
- Xe as default
422
+ Ze as default
423
423
  };
@@ -1,17 +1,17 @@
1
1
  import { jsx as d, jsxs as S } from "react/jsx-runtime";
2
- import { p as q, q as U, t as M, Z as V, J as k, r as w, o as K, e as G, u as P, a as H, Q as j, U as J, l as Z, g as z, s as Y, v as W, w as X, c as x } from "./index-dzifQaG5.js";
2
+ import { p as k, q as C, t as M, e as V, s as w, r as K, o as Q, g as G, u as P, a as H, X as j, v as z, k as X, h as J, w as Y, x as W, z as Z, c as x } from "./index-C8-cHHbW.js";
3
3
  import { useQueries as ee, useQuery as te } from "@tanstack/react-query";
4
- import { useRef as se, useEffect as $, useMemo as h } from "react";
5
- import { useTranslation as C } from "react-i18next";
6
- const D = (t, c, i, l, r) => {
4
+ import { useRef as se, useEffect as $, useMemo as E } from "react";
5
+ import { useTranslation as D } from "react-i18next";
6
+ const U = (t, c, i, l, r) => {
7
7
  const s = M(t, c, r), o = s.value, a = V(o);
8
8
  let n = o;
9
- a === "Image" && (n = /* @__PURE__ */ d(w, { imageSrc: o, alt: o, id: `${o}-img` })), a === "Video" && (n = /* @__PURE__ */ d(K, { id: `${o}-video`, videoSrc: o })), a === "PDF" && (n = /* @__PURE__ */ d(G, { id: `${o}-pdf`, src: o }));
9
+ a === "Image" && (n = /* @__PURE__ */ d(K, { imageSrc: o, alt: o, id: `${o}-img` })), a === "Video" && (n = /* @__PURE__ */ d(Q, { id: `${o}-video`, videoSrc: o })), a === "PDF" && (n = /* @__PURE__ */ d(G, { id: `${o}-pdf`, src: o }));
10
10
  const u = r("OBSERVATIONS_RECORDED_BY", {
11
11
  provider: s.provider
12
12
  }), b = t.display, p = t.observationValue?.isAbnormal ? "abnormal-obs" : "obs", f = l ? `${l}-${p}-${b}-${i}-${c}` : `${p}-${b}-${i}-${c}`;
13
13
  return /* @__PURE__ */ d(
14
- k,
14
+ w,
15
15
  {
16
16
  header: s.header,
17
17
  value: n,
@@ -23,13 +23,13 @@ const D = (t, c, i, l, r) => {
23
23
  `obs-${t.id}`
24
24
  );
25
25
  }, oe = (t, c, i, l, r, s) => /* @__PURE__ */ d(
26
- U,
26
+ C,
27
27
  {
28
28
  title: t.display,
29
29
  id: `grouped-obs-${t.display}-${l}`,
30
30
  open: i,
31
31
  children: t.members?.map(
32
- (o, a) => D(o, a, r, s, c)
32
+ (o, a) => U(o, a, r, s, c)
33
33
  )
34
34
  },
35
35
  `grouped-obs-${t.id}`
@@ -37,17 +37,17 @@ const D = (t, c, i, l, r) => {
37
37
  groupedData: t,
38
38
  title: c = ""
39
39
  }) => {
40
- const { t: i } = C(), l = (r, s, o) => {
41
- const a = q(r.encounterDetails, i);
40
+ const { t: i } = D(), l = (r, s, o) => {
41
+ const a = k(r.encounterDetails, i);
42
42
  return /* @__PURE__ */ S(
43
- U,
43
+ C,
44
44
  {
45
45
  title: a,
46
46
  id: `encounter-${r.encounterId}`,
47
47
  open: s,
48
48
  children: [
49
49
  r.observations.map(
50
- (n, u) => D(n, u, o, c, i)
50
+ (n, u) => U(n, u, o, c, i)
51
51
  ),
52
52
  r.groupedObservations.map(
53
53
  (n, u) => oe(
@@ -79,7 +79,7 @@ const D = (t, c, i, l, r) => {
79
79
  observations: ae,
80
80
  title: ne
81
81
  }, ie = (t) => ["conceptUuid", t], ce = (t, c) => ["observations", t, ...c], me = ({ config: t }) => {
82
- const c = t, { conceptNames: i = [], conceptUuid: l = [] } = c, r = se(/* @__PURE__ */ new Set()), s = P(), { addNotification: o } = H(), { t: a } = C(), n = ee({
82
+ const c = t, { conceptNames: i = [], conceptUuid: l = [] } = c, r = se(/* @__PURE__ */ new Set()), s = P(), { addNotification: o } = H(), { t: a } = D(), n = ee({
83
83
  queries: i.map((e) => ({
84
84
  queryKey: ie(e),
85
85
  queryFn: () => j(e),
@@ -98,17 +98,17 @@ const D = (t, c, i, l, r) => {
98
98
  } else e.isError || r.current.delete(m);
99
99
  });
100
100
  }, [n, i]);
101
- const u = h(() => n.map((e) => e.data?.uuid).filter((e) => !!e), [n]), b = h(() => [.../* @__PURE__ */ new Set([...u, ...l])], [u, l]), v = h(() => i.length === 0 ? !0 : n.every((e) => !e.isLoading), [n, i.length]), {
101
+ const u = E(() => n.map((e) => e.data?.uuid).filter((e) => !!e), [n]), b = E(() => [.../* @__PURE__ */ new Set([...u, ...l])], [u, l]), v = E(() => i.length === 0 ? !0 : n.every((e) => !e.isLoading), [n, i.length]), {
102
102
  data: p,
103
103
  isLoading: f,
104
104
  isError: g,
105
105
  refetch: R
106
106
  } = te({
107
107
  queryKey: ce(s, b),
108
- queryFn: () => J(s, b),
108
+ queryFn: () => z(s, b),
109
109
  enabled: !!s && b.length > 0 && v
110
110
  });
111
- Z(
111
+ X(
112
112
  (e) => {
113
113
  e.patientUUID === s && e.updatedConcepts.size > 0 && [...e.updatedConcepts.keys()].some(
114
114
  (O) => b.includes(O)
@@ -122,34 +122,34 @@ const D = (t, c, i, l, r) => {
122
122
  type: "error"
123
123
  });
124
124
  }, [g]);
125
- const T = h(() => {
125
+ const T = E(() => {
126
126
  if (!p) return [];
127
- const e = z(p), m = Y(e);
127
+ const e = J(p), m = Y(e);
128
128
  return W(m);
129
129
  }, [p]), B = [
130
130
  { key: "name", header: "name" },
131
131
  { key: "value", header: "value" },
132
132
  { key: "form", header: "form" }
133
- ], I = f || !v, _ = g && v, A = (!p || p.entry?.length === 0 || b.length === 0) && v, F = _ ? a("ERROR_FETCHING_OBSERVATIONS") : null, L = A ? a("NO_OBSERVATIONS_FOUND") : void 0, Q = T.length > 0 && !I && !_, E = c.titleTranslationKey, y = E ? a(E) : "";
133
+ ], I = f || !v, _ = g && v, A = (!p || p.entry?.length === 0 || b.length === 0) && v, F = _ ? a("ERROR_FETCHING_OBSERVATIONS") : null, L = A ? a("NO_OBSERVATIONS_FOUND") : void 0, q = T.length > 0 && !I && !_, h = c.titleTranslationKey, y = h ? a(h) : "";
134
134
  return /* @__PURE__ */ S(
135
135
  "div",
136
136
  {
137
137
  id: "observations",
138
- "data-testid": E ? `observations-${y}` : "observations",
138
+ "data-testid": h ? `observations-${y}` : "observations",
139
139
  "aria-label": "observations-aria-label",
140
140
  className: N.observations,
141
141
  children: [
142
142
  /* @__PURE__ */ d(
143
- X,
143
+ Z,
144
144
  {
145
145
  id: "observations-title",
146
- testId: E ? `observations-title-${y}` : "observations-title",
146
+ testId: h ? `observations-title-${y}` : "observations-title",
147
147
  title: y,
148
148
  className: N.title,
149
149
  children: /* @__PURE__ */ d("p", { children: y })
150
150
  }
151
151
  ),
152
- Q ? /* @__PURE__ */ d(re, { groupedData: T, title: y }) : /* @__PURE__ */ d(
152
+ q ? /* @__PURE__ */ d(re, { groupedData: T, title: y }) : /* @__PURE__ */ d(
153
153
  x,
154
154
  {
155
155
  headers: B,
@@ -78680,9 +78680,9 @@ const cnt = {
78680
78680
  ALLERGIES: ["Add Allergies"],
78681
78681
  CONDITIONS_AND_DIAGNOSES: ["Add Diagnoses"],
78682
78682
  INVESTIGATIONS: ["Add Orders"],
78683
- MEDICATIONS: ["Add Medications"],
78683
+ MEDICATIONS: ["Add Orders"],
78684
78684
  OBSERVATIONS: ["Add Observations"],
78685
- VACCINATIONS: ["Add Vaccinations"]
78685
+ VACCINATIONS: ["Add Orders"]
78686
78686
  }, d0t = ({
78687
78687
  children: t
78688
78688
  }) => (de(() => {
@@ -78835,7 +78835,7 @@ const m0t = [
78835
78835
  },
78836
78836
  {
78837
78837
  type: "patientDocuments",
78838
- component: Ir(() => import("./DocumentsTable-BH2Lp5eF.js"))
78838
+ component: Ir(() => import("./DocumentsTable-CBUv3up-.js"))
78839
78839
  },
78840
78840
  {
78841
78841
  type: "flowSheet",
@@ -78843,7 +78843,7 @@ const m0t = [
78843
78843
  },
78844
78844
  {
78845
78845
  type: "forms",
78846
- component: Ir(() => import("./FormsTable-CMgSIy0l.js"))
78846
+ component: Ir(() => import("./FormsTable-BPlObDZf.js"))
78847
78847
  },
78848
78848
  {
78849
78849
  type: "labOrders",
@@ -78851,7 +78851,7 @@ const m0t = [
78851
78851
  },
78852
78852
  {
78853
78853
  type: "observations",
78854
- component: Ir(() => import("./Observations-o0yfLJhC.js"))
78854
+ component: Ir(() => import("./Observations-DrzS68CL.js"))
78855
78855
  },
78856
78856
  {
78857
78857
  type: "ordersControl",
@@ -78925,31 +78925,31 @@ const pnt = (t) => {
78925
78925
  export {
78926
78926
  cnt as $,
78927
78927
  IQe as A,
78928
- zrt as B,
78928
+ uet as B,
78929
78929
  jet as C,
78930
78930
  b0t as D,
78931
- hrt as E,
78931
+ Yet as E,
78932
78932
  Ec as F,
78933
- B1t as G,
78934
- Y1t as H,
78935
- snt as I,
78936
- wqe as J,
78937
- Y0t as K,
78933
+ zrt as G,
78934
+ hrt as H,
78935
+ T1t as I,
78936
+ X0t as J,
78937
+ B1t as K,
78938
78938
  a1t as L,
78939
78939
  Stt as M,
78940
- bQe as N,
78941
- tnt as O,
78940
+ Y1t as N,
78941
+ snt as O,
78942
78942
  ent as P,
78943
- U0t as Q,
78943
+ bQe as Q,
78944
78944
  Sr as R,
78945
78945
  int as S,
78946
- Mhe as T,
78947
- K0t as U,
78948
- T1t as V,
78949
- X0t as W,
78950
- lnt as X,
78951
- J0t as Y,
78952
- q0t as Z,
78946
+ tnt as T,
78947
+ Mhe as U,
78948
+ os as V,
78949
+ J0t as W,
78950
+ U0t as X,
78951
+ Y0t as Y,
78952
+ lnt as Z,
78953
78953
  c0t as _,
78954
78954
  Qr as a,
78955
78955
  d0t as a0,
@@ -78965,29 +78965,29 @@ export {
78965
78965
  vnt as aa,
78966
78966
  gnt as ab,
78967
78967
  Ent as ac,
78968
- Q0t as b,
78968
+ Ct as b,
78969
78969
  xr as c,
78970
78970
  bn as d,
78971
- z0t as e,
78971
+ q0t as e,
78972
78972
  q4 as f,
78973
- Wtt as g,
78974
- os as h,
78973
+ z0t as g,
78974
+ Wtt as h,
78975
78975
  W0t as i,
78976
- Ct as j,
78977
- G0t as k,
78978
- f0 as l,
78976
+ G0t as j,
78977
+ f0 as k,
78978
+ Q0t as l,
78979
78979
  I2 as m,
78980
78980
  Z2 as n,
78981
78981
  A0t as o,
78982
78982
  rnt as p,
78983
78983
  x0t as q,
78984
78984
  N0t as r,
78985
- ont as s,
78985
+ wqe as s,
78986
78986
  nnt as t,
78987
78987
  l1 as u,
78988
- ant as v,
78989
- m4 as w,
78990
- uet as x,
78988
+ K0t as v,
78989
+ ont as w,
78990
+ ant as x,
78991
78991
  T1 as y,
78992
- Yet as z
78992
+ m4 as z
78993
78993
  };
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { a3 as s, a1 as t, A as o, a0 as r, x as n, $ as g, C as l, z as P, G as c, L as d, M as v, N as T, O as A, P as b, H as C, I as p, E as f, B as I, S as u, _ as S, V as W, a5 as m, a4 as N, ab as R, aa as D, a7 as U, a8 as x, a9 as y, a6 as L, ac as h, a2 as E, X as G, a as H, u as O, T as V } from "./index-dzifQaG5.js";
1
+ import { a3 as s, a1 as t, A as o, a0 as r, B as n, $ as g, C as l, E as P, K as c, L as d, M as v, Q as T, T as A, P as b, N as C, O as p, H as f, G as I, S as u, _ as S, I as W, a5 as m, a4 as N, ab as R, aa as U, a7 as D, a8 as y, a9 as L, a6 as h, ac as x, a2 as E, Z as G, a as H, u as O, U as _ } from "./index-C8-cHHbW.js";
2
2
  import "react";
3
3
  export {
4
4
  s as ActivePractitionerContext,
@@ -25,15 +25,15 @@ export {
25
25
  m as createConfigHook,
26
26
  N as createConfigProvider,
27
27
  R as getAllWidgetConfigs,
28
- D as getAllWidgetTypes,
29
- U as getWidget,
30
- x as getWidgetConfig,
31
- y as hasWidget,
32
- L as registerWidget,
33
- h as resetWidgetRegistry,
28
+ U as getAllWidgetTypes,
29
+ D as getWidget,
30
+ y as getWidgetConfig,
31
+ L as hasWidget,
32
+ h as registerWidget,
33
+ x as resetWidgetRegistry,
34
34
  E as useActivePractitioner,
35
35
  G as useHasPrivilege,
36
36
  H as useNotification,
37
37
  O as usePatientUUID,
38
- V as useUserPrivilege
38
+ _ as useUserPrivilege
39
39
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bahmni/widgets",
3
- "version": "0.0.1-dev.197",
3
+ "version": "0.0.1-dev.199",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",