@bahmni/widgets 0.0.1-dev.240 → 0.0.1-dev.241

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 _, Fragment as Q } from "react/jsx-runtime";
2
- import { u as W, a as X, b as J, o as Z, L as x, c as ee, y as te } from "./index-C44MssDN.js";
2
+ import { u as W, a as X, l as J, o as Z, k as x, b as ee, y as te } from "./index-BOsdedao.js";
3
3
  import { useQuery as ne } from "@tanstack/react-query";
4
4
  import { useState as l, useCallback as p, useEffect as N, useMemo as f } from "react";
5
5
  import { useTranslation as ae } from "react-i18next";
@@ -37,9 +37,9 @@ const _e = [
37
37
  ], pe = /\.(jpg|jpeg|png|gif|webp|bmp|svg)$/i, R = (n) => n.attachments.length > 0 ? n.attachments : n.documentUrl ? [{ url: n.documentUrl, contentType: n.contentType }] : [], Ne = ({ config: n, encounterUuids: E }) => {
38
38
  const [d, M] = l(!1), [r, U] = l(
39
39
  null
40
- ), [P, A] = l(
40
+ ), [k, A] = l(
41
41
  /* @__PURE__ */ new Set()
42
- ), T = W(), { t: o } = ae(), { addNotification: w } = X(), F = Number(n?.pageSize) || 5, [D, O] = l(1), [m, $] = l(F), [k, C] = l(void 0), b = p((e) => {
42
+ ), T = W(), { t: o } = ae(), { addNotification: w } = X(), P = Number(n?.pageSize) || 5, [D, O] = l(1), [m, F] = l(P), [$, C] = l(void 0), b = p((e) => {
43
43
  U(e), M(!0);
44
44
  }, []), V = p(() => {
45
45
  M(!1), U(null), A(/* @__PURE__ */ new Set());
@@ -92,7 +92,7 @@ const _e = [
92
92
  }, [d, r]);
93
93
  const H = p(
94
94
  (e, t) => {
95
- t !== m ? ($(t), O(1), C(void 0)) : O(e);
95
+ t !== m ? (F(t), O(1), C(void 0)) : O(e);
96
96
  },
97
97
  [m]
98
98
  ), g = f(
@@ -153,7 +153,7 @@ const _e = [
153
153
  className: c.documentsTableBody,
154
154
  dataTestId: "documents-table",
155
155
  pageSize: m,
156
- totalItems: k,
156
+ totalItems: $,
157
157
  page: D,
158
158
  onPageChange: H
159
159
  }
@@ -170,7 +170,7 @@ const _e = [
170
170
  size: "lg",
171
171
  testId: "document-view-modal",
172
172
  children: /* @__PURE__ */ s("div", { className: c.documentViewerContainer, children: h.map((e, t) => {
173
- const a = j(e.url), I = e.contentType?.toLowerCase().includes("pdf"), i = (e.contentType?.toLowerCase().includes("image") ?? !1) || pe.test(e.url ?? ""), v = P.has(t);
173
+ const a = j(e.url), I = e.contentType?.toLowerCase().includes("pdf"), i = (e.contentType?.toLowerCase().includes("image") ?? !1) || pe.test(e.url ?? ""), v = k.has(t);
174
174
  return a === "#" || v ? /* @__PURE__ */ _(
175
175
  "div",
176
176
  {
@@ -1,55 +1,55 @@
1
1
  import { jsx as n, jsxs as X, Fragment as Z } from "react/jsx-runtime";
2
- import { t as ee, u as re, q as te, K as oe, z as ae, G as se, M as ne, i as de, O as C, L as ie, o as me, c as U, Q as ce, e as le, y as ue, d as fe } from "./index-C44MssDN.js";
2
+ import { r as ee, u as re, F as te, Y as oe, G as ae, K as se, q as ne, c as de, O as C, k as ie, o as ce, b as U, Q as me, e as le, y as ue, d as fe } from "./index-BOsdedao.js";
3
3
  import { useQueryClient as ye, useQuery as f } from "@tanstack/react-query";
4
- import { useState as w, useMemo as d, useCallback as y } from "react";
4
+ import { useState as k, useMemo as d, useCallback as y } from "react";
5
5
  import { useTranslation as pe } from "react-i18next";
6
- const be = "_formsTableBody_81hra_1", ge = "_customAccordianItem_81hra_6", E = {
6
+ const be = "_formsTableBody_81hra_1", Fe = "_customAccordianItem_81hra_6", E = {
7
7
  formsTableBody: be,
8
- customAccordianItem: ge
9
- }, he = (m) => m ? m.extension?.find(
8
+ customAccordianItem: Fe
9
+ }, ge = (c) => c ? c.extension?.find(
10
10
  (p) => p.url === ee
11
- )?.valueString : void 0, De = ({
12
- episodeOfCareUuids: m,
11
+ )?.valueString : void 0, Ie = ({
12
+ episodeOfCareUuids: c,
13
13
  encounterUuids: i,
14
14
  config: p
15
15
  }) => {
16
- const { t: s } = pe(), c = re(), [l, M] = w(!1), [t, D] = w(null), { numberOfVisits: x, hideThumbnail: k = !1 } = p ?? {}, I = te(
17
- m,
16
+ const { t: s } = pe(), m = re(), [l, D] = k(!1), [t, I] = k(null), { numberOfVisits: w, hideThumbnail: x = !1 } = p ?? {}, v = te(
17
+ c,
18
18
  i
19
19
  ), K = ye(), {
20
20
  data: b = [],
21
- isLoading: v,
21
+ isLoading: M,
22
22
  isError: A,
23
23
  error: P,
24
24
  refetch: H
25
25
  } = f({
26
- queryKey: ["forms", c, m],
27
- queryFn: () => oe(c, void 0, x),
28
- enabled: !!c && !I
26
+ queryKey: ["forms", m, c],
27
+ queryFn: () => oe(m, void 0, w),
28
+ enabled: !!m && !v
29
29
  }), B = d(() => !i || i.length === 0 ? b : b.filter(
30
30
  (e) => i.includes(e.encounterUuid)
31
- ), [b, i]), { data: L = [] } = f({
31
+ ), [b, i]), { data: R = [] } = f({
32
32
  queryKey: ["observationForms"],
33
33
  queryFn: () => ae()
34
- }), R = y(
35
- (e) => L.find((r) => r.name === e)?.uuid,
36
- [L]
37
- ), g = d(() => {
34
+ }), T = y(
35
+ (e) => R.find((r) => r.name === e)?.uuid,
36
+ [R]
37
+ ), F = d(() => {
38
38
  if (t)
39
- return R(t.formName);
40
- }, [t, R]), {
39
+ return T(t.formName);
40
+ }, [t, T]), {
41
41
  isLoading: Q,
42
42
  isError: j,
43
- error: h
43
+ error: g
44
44
  } = f({
45
- queryKey: ["formMetadata", g],
46
- queryFn: () => se(g),
47
- enabled: !!g && l
45
+ queryKey: ["formMetadata", F],
46
+ queryFn: () => se(F),
47
+ enabled: !!F && l
48
48
  }), {
49
- data: O,
50
- isLoading: z,
51
- isError: G,
52
- error: F
49
+ data: h,
50
+ isLoading: G,
51
+ isError: V,
52
+ error: O
53
53
  } = f({
54
54
  queryKey: ["formsEncounterFHIR", t?.encounterUuid],
55
55
  queryFn: () => ne(t.encounterUuid),
@@ -57,25 +57,25 @@ const be = "_formsTableBody_81hra_1", ge = "_customAccordianItem_81hra_6", E = {
57
57
  });
58
58
  de(
59
59
  (e) => {
60
- e.patientUUID === c && e.updatedConcepts.size > 0 && (H(), K.invalidateQueries({ queryKey: ["formsEncounterFHIR"] }));
60
+ e.patientUUID === m && e.updatedConcepts.size > 0 && (H(), K.invalidateQueries({ queryKey: ["formsEncounterFHIR"] }));
61
61
  },
62
- [c]
62
+ [m]
63
63
  );
64
- const V = d(() => !O?.entry || !t?.formName ? [] : O.entry.filter((a) => a.resource?.resourceType === "Observation").map((a) => a.resource).filter((a) => {
65
- const r = he(a);
64
+ const $ = d(() => !h?.entry || !t?.formName ? [] : h.entry.filter((a) => a.resource?.resourceType === "Observation").map((a) => a.resource).filter((a) => {
65
+ const r = ge(a);
66
66
  return !r || r.includes(t.formName);
67
- }), [O, t?.formName]), $ = d(() => {
68
- if (h)
69
- return C(h).message;
70
- if (F)
71
- return C(F).message;
72
- }, [h, F]), T = d(
67
+ }), [h, t?.formName]), Y = d(() => {
68
+ if (g)
69
+ return C(g).message;
70
+ if (O)
71
+ return C(O).message;
72
+ }, [g, O]), L = d(
73
73
  () => [
74
74
  { key: "recordedOn", header: s("RECORDED_ON") },
75
75
  { key: "recordedBy", header: s("RECORDED_BY") }
76
76
  ],
77
77
  [s]
78
- ), Y = d(
78
+ ), z = d(
79
79
  () => [
80
80
  { key: "recordedOn", sortable: !0 },
81
81
  { key: "recordedBy", sortable: !0 }
@@ -107,14 +107,14 @@ const be = "_formsTableBody_81hra_1", ge = "_customAccordianItem_81hra_6", E = {
107
107
  })
108
108
  ).sort((r, o) => r.formName.localeCompare(o.formName));
109
109
  }, [B, s]), q = y((e) => {
110
- D(e), M(!0);
110
+ I(e), D(!0);
111
111
  }, []), J = y(() => {
112
- M(!1), D(null);
112
+ D(!1), I(null);
113
113
  }, []), S = y(
114
114
  (e, a) => {
115
115
  switch (a) {
116
116
  case "recordedOn":
117
- return /* @__PURE__ */ n(me, { onClick: () => q(e), children: e.recordedOn });
117
+ return /* @__PURE__ */ n(ce, { onClick: () => q(e), children: e.recordedOn });
118
118
  case "recordedBy":
119
119
  return e.recordedBy;
120
120
  default:
@@ -124,20 +124,20 @@ const be = "_formsTableBody_81hra_1", ge = "_customAccordianItem_81hra_6", E = {
124
124
  [q]
125
125
  );
126
126
  return /* @__PURE__ */ X(Z, { children: [
127
- /* @__PURE__ */ n("div", { "data-testid": "forms-table", children: v || A || _.length === 0 || I ? /* @__PURE__ */ n(
127
+ /* @__PURE__ */ n("div", { "data-testid": "forms-table", children: M || A || _.length === 0 || v ? /* @__PURE__ */ n(
128
128
  U,
129
129
  {
130
- headers: T,
130
+ headers: L,
131
131
  ariaLabel: s("FORMS_HEADING"),
132
132
  rows: [],
133
- loading: v,
133
+ loading: M,
134
134
  errorStateMessage: A ? P?.message : void 0,
135
135
  emptyStateMessage: s("FORMS_UNAVAILABLE"),
136
136
  renderCell: S,
137
137
  className: E.formsTableBody,
138
138
  dataTestId: "forms-table"
139
139
  }
140
- ) : /* @__PURE__ */ n(ce, { align: "start", children: _.map((e, a) => {
140
+ ) : /* @__PURE__ */ n(me, { align: "start", children: _.map((e, a) => {
141
141
  const { formName: r, records: o } = e;
142
142
  return /* @__PURE__ */ n(
143
143
  le,
@@ -149,12 +149,12 @@ const be = "_formsTableBody_81hra_1", ge = "_customAccordianItem_81hra_6", E = {
149
149
  children: /* @__PURE__ */ n(
150
150
  U,
151
151
  {
152
- headers: T,
152
+ headers: L,
153
153
  ariaLabel: s("FORMS_HEADING"),
154
154
  rows: o,
155
155
  loading: !1,
156
156
  errorStateMessage: "",
157
- sortable: Y,
157
+ sortable: z,
158
158
  emptyStateMessage: s("FORMS_UNAVAILABLE"),
159
159
  renderCell: S,
160
160
  className: E.formsTableBody,
@@ -180,13 +180,13 @@ const be = "_formsTableBody_81hra_1", ge = "_customAccordianItem_81hra_6", E = {
180
180
  children: /* @__PURE__ */ n(
181
181
  fe,
182
182
  {
183
- observations: V,
184
- isLoading: Q || z,
185
- isError: j || G,
186
- errorMessage: $,
183
+ observations: $,
184
+ isLoading: Q || G,
185
+ isError: j || V,
186
+ errorMessage: Y,
187
187
  emptyStateMessage: s("NO_FORM_DATA_AVAILABLE"),
188
188
  testIdPrefix: t.formName,
189
- hideThumbnail: k
189
+ hideThumbnail: x
190
190
  }
191
191
  )
192
192
  }
@@ -194,5 +194,5 @@ const be = "_formsTableBody_81hra_1", ge = "_customAccordianItem_81hra_6", E = {
194
194
  ] });
195
195
  };
196
196
  export {
197
- De as default
197
+ Ie as default
198
198
  };
@@ -1,12 +1,12 @@
1
- import { jsx as d, jsxs as C } from "react/jsx-runtime";
2
- import { f as M, E as D, g as q, F as w, l as K, V as Q, h as H, H as G, u as P, a as j, j as z, k as Y, i as J, m as W, n as X, s as Z, N as x, c as ee } from "./index-C44MssDN.js";
1
+ import { jsx as l, jsxs as C } from "react/jsx-runtime";
2
+ import { f as k, E as D, t as q, j as w, g as K, V as Q, L as G, H, u as j, a as P, h as z, x as Y, c as x, i as J, m as W, s as X, N as Z, b as ee } from "./index-BOsdedao.js";
3
3
  import { useQueries as te, useQuery as se } from "@tanstack/react-query";
4
4
  import { useRef as oe, useEffect as N, useMemo as g } from "react";
5
5
  import { useTranslation as U } from "react-i18next";
6
- const F = (t, i, c, l, u, r) => {
6
+ const B = (t, i, c, d, u, r) => {
7
7
  const s = q(t, i, u), o = s.value, a = w(o);
8
8
  let n = o;
9
- a === "Image" && (n = /* @__PURE__ */ d(
9
+ a === "Image" && (n = /* @__PURE__ */ l(
10
10
  Q,
11
11
  {
12
12
  imageSrc: o,
@@ -14,18 +14,18 @@ const F = (t, i, c, l, u, r) => {
14
14
  id: `${o}-img`,
15
15
  hideThumbnail: r
16
16
  }
17
- )), a === "Video" && (n = /* @__PURE__ */ d(
18
- H,
17
+ )), a === "Video" && (n = /* @__PURE__ */ l(
18
+ G,
19
19
  {
20
20
  id: `${o}-video`,
21
21
  videoSrc: o,
22
22
  hideThumbnail: r
23
23
  }
24
- )), a === "PDF" && (n = /* @__PURE__ */ d(G, { id: `${o}-pdf`, src: o }));
24
+ )), a === "PDF" && (n = /* @__PURE__ */ l(H, { id: `${o}-pdf`, src: o }));
25
25
  const b = u("OBSERVATIONS_RECORDED_BY", {
26
26
  provider: s.provider
27
- }), p = t.display, m = t.observationValue?.isAbnormal ? "abnormal-obs" : "obs", y = l ? `${l}-${m}-${p}-${c}-${i}` : `${m}-${p}-${c}-${i}`;
28
- return /* @__PURE__ */ d(
27
+ }), p = t.display, m = t.observationValue?.isAbnormal ? "abnormal-obs" : "obs", y = d ? `${d}-${m}-${p}-${c}-${i}` : `${m}-${p}-${c}-${i}`;
28
+ return /* @__PURE__ */ l(
29
29
  K,
30
30
  {
31
31
  header: s.header,
@@ -37,14 +37,14 @@ const F = (t, i, c, l, u, r) => {
37
37
  },
38
38
  `obs-${t.id}`
39
39
  );
40
- }, re = (t, i, c, l, u, r, s) => /* @__PURE__ */ d(
40
+ }, re = (t, i, c, d, u, r, s) => /* @__PURE__ */ l(
41
41
  D,
42
42
  {
43
43
  title: t.display,
44
- id: `grouped-obs-${t.display}-${l}`,
44
+ id: `grouped-obs-${t.display}-${d}`,
45
45
  open: c,
46
46
  children: t.members?.map(
47
- (o, a) => F(
47
+ (o, a) => B(
48
48
  o,
49
49
  a,
50
50
  u,
@@ -60,8 +60,8 @@ const F = (t, i, c, l, u, r) => {
60
60
  title: i = "",
61
61
  hideThumbnail: c
62
62
  }) => {
63
- const { t: l } = U(), u = (r, s, o) => {
64
- const a = M(r.encounterDetails, l);
63
+ const { t: d } = U(), u = (r, s, o) => {
64
+ const a = k(r.encounterDetails, d);
65
65
  return /* @__PURE__ */ C(
66
66
  D,
67
67
  {
@@ -70,19 +70,19 @@ const F = (t, i, c, l, u, r) => {
70
70
  open: s,
71
71
  children: [
72
72
  r.observations.map(
73
- (n, b) => F(
73
+ (n, b) => B(
74
74
  n,
75
75
  b,
76
76
  o,
77
77
  i,
78
- l,
78
+ d,
79
79
  c
80
80
  )
81
81
  ),
82
82
  r.groupedObservations.map(
83
83
  (n, b) => re(
84
84
  n,
85
- l,
85
+ d,
86
86
  s,
87
87
  b,
88
88
  o,
@@ -95,7 +95,7 @@ const F = (t, i, c, l, u, r) => {
95
95
  `encounter-${r.encounterId}`
96
96
  );
97
97
  };
98
- return /* @__PURE__ */ d(
98
+ return /* @__PURE__ */ l(
99
99
  "div",
100
100
  {
101
101
  id: "obs-by-encounter",
@@ -109,12 +109,12 @@ const F = (t, i, c, l, u, r) => {
109
109
  }, ne = "_observations_kfbhq_1", ie = "_title_kfbhq_12", S = {
110
110
  observations: ne,
111
111
  title: ie
112
- }, ce = (t) => ["conceptUuid", t], le = (t, i) => ["observations", t, ...i], ve = ({ config: t }) => {
112
+ }, ce = (t) => ["conceptUuid", t], de = (t, i) => ["observations", t, ...i], ve = ({ config: t }) => {
113
113
  const i = t, {
114
114
  conceptNames: c = [],
115
- conceptUuid: l = [],
115
+ conceptUuid: d = [],
116
116
  hideThumbnail: u = !1
117
- } = i, r = oe(/* @__PURE__ */ new Set()), s = P(), { addNotification: o } = j(), { t: a } = U(), n = te({
117
+ } = i, r = oe(/* @__PURE__ */ new Set()), s = j(), { addNotification: o } = P(), { t: a } = U(), n = te({
118
118
  queries: c.map((e) => ({
119
119
  queryKey: ce(e),
120
120
  queryFn: () => z(e),
@@ -133,17 +133,17 @@ const F = (t, i, c, l, u, r) => {
133
133
  } else e.isError || r.current.delete(v);
134
134
  });
135
135
  }, [n, c]);
136
- const b = g(() => n.map((e) => e.data?.uuid).filter((e) => !!e), [n]), p = g(() => [.../* @__PURE__ */ new Set([...b, ...l])], [b, l]), f = g(() => c.length === 0 ? !0 : n.every((e) => !e.isLoading), [n, c.length]), {
136
+ const b = g(() => n.map((e) => e.data?.uuid).filter((e) => !!e), [n]), p = g(() => [.../* @__PURE__ */ new Set([...b, ...d])], [b, d]), f = g(() => c.length === 0 ? !0 : n.every((e) => !e.isLoading), [n, c.length]), {
137
137
  data: m,
138
138
  isLoading: y,
139
139
  isError: O,
140
140
  refetch: T
141
141
  } = se({
142
- queryKey: le(s, p),
142
+ queryKey: de(s, p),
143
143
  queryFn: () => Y(s, p),
144
144
  enabled: !!s && p.length > 0 && f
145
145
  });
146
- J(
146
+ x(
147
147
  (e) => {
148
148
  e.patientUUID === s && e.updatedConcepts.size > 0 && [...e.updatedConcepts.keys()].some(
149
149
  (R) => p.includes(R)
@@ -159,13 +159,13 @@ const F = (t, i, c, l, u, r) => {
159
159
  }, [O]);
160
160
  const I = g(() => {
161
161
  if (!m) return [];
162
- const e = W(m), v = X(e);
163
- return Z(v);
164
- }, [m]), B = [
162
+ const e = J(m), v = W(e);
163
+ return X(v);
164
+ }, [m]), L = [
165
165
  { key: "name", header: "name" },
166
166
  { key: "value", header: "value" },
167
167
  { key: "form", header: "form" }
168
- ], _ = y || !f, $ = O && f, A = (!m || m.entry?.length === 0 || p.length === 0) && f, L = $ ? a("ERROR_FETCHING_OBSERVATIONS") : null, V = A ? a("NO_OBSERVATIONS_FOUND") : void 0, k = I.length > 0 && !_ && !$, h = i.titleTranslationKey, E = h ? a(h) : "";
168
+ ], _ = y || !f, $ = O && f, A = (!m || m.entry?.length === 0 || p.length === 0) && f, F = $ ? a("ERROR_FETCHING_OBSERVATIONS") : null, V = A ? a("NO_OBSERVATIONS_FOUND") : void 0, M = I.length > 0 && !_ && !$, h = i.titleTranslationKey, E = h ? a(h) : "";
169
169
  return /* @__PURE__ */ C(
170
170
  "div",
171
171
  {
@@ -174,31 +174,31 @@ const F = (t, i, c, l, u, r) => {
174
174
  "aria-label": "observations-aria-label",
175
175
  className: S.observations,
176
176
  children: [
177
- /* @__PURE__ */ d(
178
- x,
177
+ /* @__PURE__ */ l(
178
+ Z,
179
179
  {
180
180
  id: "observations-title",
181
181
  testId: h ? `observations-title-${E}` : "observations-title",
182
182
  title: E,
183
183
  className: S.title,
184
- children: /* @__PURE__ */ d("p", { children: E })
184
+ children: /* @__PURE__ */ l("p", { children: E })
185
185
  }
186
186
  ),
187
- k ? /* @__PURE__ */ d(
187
+ M ? /* @__PURE__ */ l(
188
188
  ae,
189
189
  {
190
190
  groupedData: I,
191
191
  title: E,
192
192
  hideThumbnail: u
193
193
  }
194
- ) : /* @__PURE__ */ d(
194
+ ) : /* @__PURE__ */ l(
195
195
  ee,
196
196
  {
197
- headers: B,
197
+ headers: L,
198
198
  rows: [],
199
199
  ariaLabel: a("OBSERVATIONS"),
200
200
  loading: _,
201
- errorStateMessage: L,
201
+ errorStateMessage: F,
202
202
  emptyStateMessage: V,
203
203
  dataTestId: "observations-table"
204
204
  }
@@ -210,5 +210,5 @@ const F = (t, i, c, l, u, r) => {
210
210
  export {
211
211
  ce as conceptUuidQueryKeys,
212
212
  ve as default,
213
- le as observationsQueryKeys
213
+ de as observationsQueryKeys
214
214
  };
@@ -87258,7 +87258,7 @@ const Tht = [
87258
87258
  },
87259
87259
  {
87260
87260
  type: "patientDocuments",
87261
- component: Br(() => import("./DocumentsTable-CoKoY-w8.js"))
87261
+ component: Br(() => import("./DocumentsTable-DteDdtZi.js"))
87262
87262
  },
87263
87263
  {
87264
87264
  type: "flowSheet",
@@ -87266,7 +87266,7 @@ const Tht = [
87266
87266
  },
87267
87267
  {
87268
87268
  type: "forms",
87269
- component: Br(() => import("./FormsTable-DrkyhUEu.js"))
87269
+ component: Br(() => import("./FormsTable-8rC2KDQs.js"))
87270
87270
  },
87271
87271
  {
87272
87272
  type: "labOrders",
@@ -87274,7 +87274,7 @@ const Tht = [
87274
87274
  },
87275
87275
  {
87276
87276
  type: "observations",
87277
- component: Br(() => import("./Observations-CGtdWWeN.js"))
87277
+ component: Br(() => import("./Observations-C4s1Hykn.js"))
87278
87278
  },
87279
87279
  {
87280
87280
  type: "ordersControl",
@@ -87352,30 +87352,30 @@ const xpt = (t) => {
87352
87352
  export {
87353
87353
  Nht as $,
87354
87354
  xct as A,
87355
- Iut as B,
87355
+ qut as B,
87356
87356
  A3t as C,
87357
87357
  R3t as D,
87358
87358
  kht as E,
87359
- rrt as F,
87360
- cpt as G,
87359
+ ul as F,
87360
+ lpt as G,
87361
87361
  mXe as H,
87362
- qut as I,
87363
- hht as J,
87364
- dpt as K,
87365
- mt as L,
87366
- spt as M,
87362
+ hht as I,
87363
+ ypt as J,
87364
+ cpt as K,
87365
+ bXe as L,
87366
+ b4t as M,
87367
87367
  Ho as N,
87368
87368
  Nr as O,
87369
87369
  hpt as P,
87370
87370
  xo as Q,
87371
87371
  bdt as R,
87372
87372
  Ept as S,
87373
- ypt as T,
87374
- uct as U,
87373
+ uct as T,
87374
+ ppt as U,
87375
87375
  uXe as V,
87376
- ppt as W,
87377
- Uu as X,
87378
- Kut as Y,
87376
+ Uu as W,
87377
+ Kut as X,
87378
+ dpt as Y,
87379
87379
  xht as Z,
87380
87380
  Vpt as _,
87381
87381
  d1 as a,
@@ -87391,29 +87391,29 @@ export {
87391
87391
  _pt as a9,
87392
87392
  Cpt as aa,
87393
87393
  Tpt as ab,
87394
- upt as b,
87395
- lr as c,
87394
+ lr as b,
87395
+ Q1 as c,
87396
87396
  Sme as d,
87397
87397
  No as e,
87398
87398
  fpt as f,
87399
- mpt as g,
87400
- bXe as h,
87401
- Q1 as i,
87402
- opt as j,
87403
- ipt as k,
87404
- $Qe as l,
87405
- wpt as m,
87406
- gpt as n,
87399
+ $Qe as g,
87400
+ opt as h,
87401
+ wpt as i,
87402
+ rrt as j,
87403
+ mt as k,
87404
+ upt as l,
87405
+ gpt as m,
87406
+ Qct as n,
87407
87407
  li as o,
87408
- Qct as p,
87409
- ul as q,
87410
- b4t as r,
87408
+ Ime as p,
87409
+ spt as q,
87410
+ apt as r,
87411
87411
  vpt as s,
87412
- apt as t,
87412
+ mpt as t,
87413
87413
  c1 as u,
87414
- Ime as v,
87415
- tut as w,
87416
- Aut as x,
87414
+ tut as v,
87415
+ Aut as w,
87416
+ ipt as x,
87417
87417
  w1 as y,
87418
- lpt as z
87418
+ Iut as z
87419
87419
  };
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { a2 as s, a0 as t, A as o, $ as r, p as n, _ as g, C as l, D as P, B as d, J as v, w as c, r as T, U as b, W as A, d as p, P as C, I, T as f, v as m, R as u, S as R, Z as W, x as S, a4 as D, a3 as U, aa as y, a9 as N, a6 as x, a7 as h, a8 as H, a5 as L, ab as O, a1 as _, Y as w, a as E, u as G, X as V } from "./index-C44MssDN.js";
1
+ import { a2 as s, a0 as t, A as o, $ as r, n, _ as g, C as l, D as P, z as d, I as v, v as c, M as T, T as b, U as A, d as p, P as C, B as I, J as f, p as m, R as u, S as R, Z as W, w as S, a4 as D, a3 as U, aa as y, a9 as N, a6 as h, a7 as x, a8 as H, a5 as L, ab as O, a1 as _, X as w, a as z, u as E, W as G } from "./index-BOsdedao.js";
2
2
  import "react";
3
3
  export {
4
4
  s as ActivePractitionerContext,
@@ -28,14 +28,14 @@ export {
28
28
  U as createConfigProvider,
29
29
  y as getAllWidgetConfigs,
30
30
  N as getAllWidgetTypes,
31
- x as getWidget,
32
- h as getWidgetConfig,
31
+ h as getWidget,
32
+ x as getWidgetConfig,
33
33
  H as hasWidget,
34
34
  L as registerWidget,
35
35
  O as resetWidgetRegistry,
36
36
  _ as useActivePractitioner,
37
37
  w as useHasPrivilege,
38
- E as useNotification,
39
- G as usePatientUUID,
40
- V as useUserPrivilege
38
+ z as useNotification,
39
+ E as usePatientUUID,
40
+ G as useUserPrivilege
41
41
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bahmni/widgets",
3
- "version": "0.0.1-dev.240",
3
+ "version": "0.0.1-dev.241",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",