@bahmni/home-app 0.0.1-dev.330 → 0.0.1-dev.333

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 r, jsxs as h, Fragment as x } from "react/jsx-runtime";
2
- import { a as G, u as W, q as Y, h as J, $ as X, v as Z, R as ee, p as te } from "./index-cL-oge32.js";
2
+ import { a as G, u as W, q as Y, h as J, $ as X, v as Z, R as ee, p as te } from "./index-CwsusbpG.js";
3
3
  import { useQuery as ae } from "@tanstack/react-query";
4
4
  import { useState as l, useCallback as p, useEffect as I, useMemo as _ } from "react";
5
5
  const ne = "DocumentsTable-module_documentsTableBody__6iR3w", oe = "DocumentsTable-module_viewAttachmentsLink__aQ1on", re = "DocumentsTable-module_documentViewerContainer__F5m8D", de = "DocumentsTable-module_attachmentItem__17KA7", se = "DocumentsTable-module_attachmentCounter__WFiI3", me = "DocumentsTable-module_attachmentError__RI4U2", ce = "DocumentsTable-module_documentIframe__ptq5I", le = "DocumentsTable-module_documentImage__KQVgS", d = {
@@ -1,5 +1,5 @@
1
1
  import { jsx as i, jsxs as re, Fragment as oe } from "react/jsx-runtime";
2
- import { u as ae, a as se, b as te, c as ne, s as de, d as ie, e as le, U as ue, f as q, v as me, $ as ce, R as Q, _ as fe, A as ye, p as pe, g as be, i as he } from "./index-cL-oge32.js";
2
+ import { u as ae, a as se, b as te, c as ne, s as de, d as ie, e as le, U as ue, f as q, v as me, $ as ce, R as Q, _ as fe, A as ye, p as pe, g as be, i as he } from "./index-CwsusbpG.js";
3
3
  import { useQueryClient as ge, useQuery as p } from "@tanstack/react-query";
4
4
  import { useState as $, useMemo as d, useCallback as b } from "react";
5
5
  const Ne = "FormsTable-module_formsTableBody__SvGha", Ae = "FormsTable-module_customAccordianItem__isszs", v = {
@@ -1,5 +1,5 @@
1
- import { c, T as l, P as m, a as u, D as v, Q as i } from "./YPM2AS64-B5Jrm2uh.js";
2
- import { S as d, T as f, X as e } from "./index-cL-oge32.js";
1
+ import { c, T as l, P as m, a as u, D as v, Q as i } from "./YPM2AS64-BHpI9QXa.js";
2
+ import { S as d, T as f, X as e } from "./index-CwsusbpG.js";
3
3
  var p = (a) => {
4
4
  const [r, t] = c({
5
5
  prefix: "TanstackQueryDevtools"
@@ -1,5 +1,5 @@
1
- import { c as s, T as c, P as u, a as i, b as m, C as P, Q as d } from "./YPM2AS64-B5Jrm2uh.js";
2
- import { S as v, T as C, X as e } from "./index-cL-oge32.js";
1
+ import { c as s, T as c, P as u, a as i, b as m, C as P, Q as d } from "./YPM2AS64-BHpI9QXa.js";
2
+ import { S as v, T as C, X as e } from "./index-CwsusbpG.js";
3
3
  var h = (t) => {
4
4
  const [r, o] = s({
5
5
  prefix: "TanstackQueryDevtools"
@@ -1,5 +1,5 @@
1
1
  import { jsxs as S, jsx as u } from "react/jsx-runtime";
2
- import { a as B, q as k, u as N, l as K, j as H, U as j, V as w, y as M, H as x, k as G, R as z, m as P, n as Q, E as W, o as J, r as X, t as Y, W as Z, w as ee } from "./index-cL-oge32.js";
2
+ import { a as B, q as k, u as N, l as K, j as H, U as j, V as w, y as M, H as x, k as G, R as z, m as P, n as Q, E as W, o as J, r as X, t as Y, W as Z, w as ee } from "./index-CwsusbpG.js";
3
3
  import { useQueries as ae, useQuery as te } from "@tanstack/react-query";
4
4
  import { useRef as se, useEffect as _, useMemo as R } from "react";
5
5
  const U = (a, n, d, l, b, r) => {
@@ -1,4 +1,4 @@
1
- import { Y as we, Z as z, a0 as xt, a1 as B, T as q, X as y, a2 as Ro, a3 as ye, a4 as R, a5 as _, a6 as k, a7 as N, a8 as A, a9 as bs, aa as ir, ab as $e, ac as G, ad as Hn, ae as Vn, af as dt, ag as D, ah as xs, ai as cn, aj as Be, ak as ws, al as qt, am as zt, an as $s, ao as Cs, ap as $n, aq as Ss, ar as Nr, as as Bt, at as zo, au as ks, av as Es, aw as j, ax as Gr, ay as Ms, az as Ds, aA as sr, aB as As, aC as Ts, aD as zn, aE as Fs, aF as Is, aG as Z, aH as Ps, aI as Ls } from "./index-cL-oge32.js";
1
+ import { Y as we, Z as z, a0 as xt, a1 as B, T as q, X as y, a2 as Ro, a3 as ye, a4 as R, a5 as _, a6 as k, a7 as N, a8 as A, a9 as bs, aa as ir, ab as $e, ac as G, ad as Hn, ae as Vn, af as dt, ag as D, ah as xs, ai as cn, aj as Be, ak as ws, al as qt, am as zt, an as $s, ao as Cs, ap as $n, aq as Ss, ar as Nr, as as Bt, at as zo, au as ks, av as Es, aw as j, ax as Gr, ay as Ms, az as Ds, aA as sr, aB as As, aC as Ts, aD as zn, aE as Fs, aF as Is, aG as Z, aH as Ps, aI as Ls } from "./index-CwsusbpG.js";
2
2
  var Os = (e) => e != null, qs = (e) => e.filter(Os);
3
3
  function _s(e) {
4
4
  return (...t) => {
@@ -106,7 +106,7 @@ const Wl2 = (t, e) => {
106
106
  return f1(() => {
107
107
  r.current = t;
108
108
  }, [t, e]), r.current;
109
- }, vqe = (t, e, r, o) => t.getFixedT(e, r, o), Kl2 = (t, e, r, o) => A1(vqe(t, e, r, o), [t, e, r, o]), k2 = (t, e = {}) => {
109
+ }, vqe = (t, e, r, o) => t.getFixedT(e, r, o), Kl2 = (t, e, r, o) => A1(vqe(t, e, r, o), [t, e, r, o]), S2 = (t, e = {}) => {
110
110
  const {
111
111
  i18n: r
112
112
  } = e, {
@@ -44502,7 +44502,7 @@ function JR2() {
44502
44502
  return typeof w == "string" || typeof w == "function" || w === r || w === a || w === o || w === s || w === d || typeof w == "object" && w !== null && (w.$$typeof === u || w.$$typeof === h || w.$$typeof === l || w.$$typeof === c || w.$$typeof === i || w.$$typeof === m || w.getModuleId !== void 0);
44503
44503
  }, C2.typeOf = z, C2;
44504
44504
  }
44505
- var S2 = {}, Nv1;
44505
+ var Z2 = {}, Nv1;
44506
44506
  function XR2() {
44507
44507
  return Nv1 || (Nv1 = 1, process.env.NODE_ENV !== "production" && (function() {
44508
44508
  function t(w) {
@@ -44537,34 +44537,34 @@ function XR2() {
44537
44537
  }
44538
44538
  }
44539
44539
  var e = Symbol.for("react.transitional.element"), r = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), c = Symbol.for("react.profiler"), l = Symbol.for("react.consumer"), i = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), u = Symbol.for("react.memo"), f = Symbol.for("react.lazy"), m = Symbol.for("react.view_transition"), z = Symbol.for("react.client.reference");
44540
- S2.ContextConsumer = l, S2.ContextProvider = i, S2.Element = e, S2.ForwardRef = s, S2.Fragment = o, S2.Lazy = f, S2.Memo = u, S2.Portal = r, S2.Profiler = c, S2.StrictMode = a, S2.Suspense = d, S2.SuspenseList = h, S2.isContextConsumer = function(w) {
44540
+ Z2.ContextConsumer = l, Z2.ContextProvider = i, Z2.Element = e, Z2.ForwardRef = s, Z2.Fragment = o, Z2.Lazy = f, Z2.Memo = u, Z2.Portal = r, Z2.Profiler = c, Z2.StrictMode = a, Z2.Suspense = d, Z2.SuspenseList = h, Z2.isContextConsumer = function(w) {
44541
44541
  return t(w) === l;
44542
- }, S2.isContextProvider = function(w) {
44542
+ }, Z2.isContextProvider = function(w) {
44543
44543
  return t(w) === i;
44544
- }, S2.isElement = function(w) {
44544
+ }, Z2.isElement = function(w) {
44545
44545
  return typeof w == "object" && w !== null && w.$$typeof === e;
44546
- }, S2.isForwardRef = function(w) {
44546
+ }, Z2.isForwardRef = function(w) {
44547
44547
  return t(w) === s;
44548
- }, S2.isFragment = function(w) {
44548
+ }, Z2.isFragment = function(w) {
44549
44549
  return t(w) === o;
44550
- }, S2.isLazy = function(w) {
44550
+ }, Z2.isLazy = function(w) {
44551
44551
  return t(w) === f;
44552
- }, S2.isMemo = function(w) {
44552
+ }, Z2.isMemo = function(w) {
44553
44553
  return t(w) === u;
44554
- }, S2.isPortal = function(w) {
44554
+ }, Z2.isPortal = function(w) {
44555
44555
  return t(w) === r;
44556
- }, S2.isProfiler = function(w) {
44556
+ }, Z2.isProfiler = function(w) {
44557
44557
  return t(w) === c;
44558
- }, S2.isStrictMode = function(w) {
44558
+ }, Z2.isStrictMode = function(w) {
44559
44559
  return t(w) === a;
44560
- }, S2.isSuspense = function(w) {
44560
+ }, Z2.isSuspense = function(w) {
44561
44561
  return t(w) === d;
44562
- }, S2.isSuspenseList = function(w) {
44562
+ }, Z2.isSuspenseList = function(w) {
44563
44563
  return t(w) === h;
44564
- }, S2.isValidElementType = function(w) {
44564
+ }, Z2.isValidElementType = function(w) {
44565
44565
  return typeof w == "string" || typeof w == "function" || w === o || w === c || w === a || w === d || w === h || typeof w == "object" && w !== null && (w.$$typeof === f || w.$$typeof === u || w.$$typeof === i || w.$$typeof === l || w.$$typeof === s || w.$$typeof === z || w.getModuleId !== void 0);
44566
- }, S2.typeOf = t;
44567
- })()), S2;
44566
+ }, Z2.typeOf = t;
44567
+ })()), Z2;
44568
44568
  }
44569
44569
  var Lv1;
44570
44570
  function QR2() {
@@ -98017,7 +98017,7 @@ const qt = () => {
98017
98017
  config: t,
98018
98018
  disableActions: e = !1
98019
98019
  }) => {
98020
- const [r, o] = w1([]), a = qt(), { t: c } = k2(), { addNotification: l } = Ar(), i = W1(
98020
+ const [r, o] = w1([]), a = qt(), { t: c } = S2(), { addNotification: l } = Ar(), i = W1(
98021
98021
  () => t?.actions ?? [],
98022
98022
  [t?.actions]
98023
98023
  ), s = W1(
@@ -98198,7 +98198,7 @@ const qt = () => {
98198
98198
  idPrefix: o,
98199
98199
  queryFn: a
98200
98200
  }) => {
98201
- const { t: c } = k2(), { addNotification: l } = Ar(), [i, s] = w1(1), [d, h] = w1(r), [u, f] = w1(void 0), { data: m, isLoading: z, isError: w, error: v } = h0({
98201
+ const { t: c } = S2(), { addNotification: l } = Ar(), [i, s] = w1(1), [d, h] = w1(r), [u, f] = w1(void 0), { data: m, isLoading: z, isError: w, error: v } = h0({
98202
98202
  queryKey: [t, e, i, d],
98203
98203
  enabled: !!e,
98204
98204
  queryFn: () => a(d, i)
@@ -98260,7 +98260,7 @@ const qt = () => {
98260
98260
  totalItems: s,
98261
98261
  onPageChange: d
98262
98262
  }) => {
98263
- const { t: h } = k2();
98263
+ const { t: h } = S2();
98264
98264
  return !e && t.length === 0 ? /* @__PURE__ */ i1("p", { className: g0.appointmentTableEmpty, children: h(r) }) : /* @__PURE__ */ i1(
98265
98265
  Z0,
98266
98266
  {
@@ -98377,7 +98377,7 @@ const qt = () => {
98377
98377
  "status",
98378
98378
  "provider"
98379
98379
  ], ii0 = ({ config: t }) => {
98380
- const { t: e } = k2(), r = qt(), [o, a] = w1(0), c = t?.fields ?? li0, l = Number(t?.pageSize) || 5, i = W1(
98380
+ const { t: e } = S2(), r = qt(), [o, a] = w1(0), c = t?.fields ?? li0, l = Number(t?.pageSize) || 5, i = W1(
98381
98381
  () => c.map((h) => ({
98382
98382
  key: h,
98383
98383
  header: e(ci0[h] || h)
@@ -99899,7 +99899,7 @@ const lq1 = ({
99899
99899
  renderCell: c,
99900
99900
  enabled: l = !0
99901
99901
  }) => {
99902
- const { t: i } = k2(), { addNotification: s } = Ar(), [d, h] = w1(1), [u, f] = w1(e), { data: m, isLoading: z, isError: w, error: v } = h0({
99902
+ const { t: i } = S2(), { addNotification: s } = Ar(), [d, h] = w1(1), [u, f] = w1(e), { data: m, isLoading: z, isError: w, error: v } = h0({
99903
99903
  queryKey: [
99904
99904
  "conditions",
99905
99905
  r,
@@ -99959,7 +99959,7 @@ const lq1 = ({
99959
99959
  config: t,
99960
99960
  disableActions: e = !1
99961
99961
  }) => {
99962
- const r = Number(t?.pageSize) || 5, o = qt(), { t: a } = k2(), { addNotification: c } = Ar(), l = Vw(), [i, s] = w1(0), [d, h] = w1(!1), [u, f] = w1(null), [m, z] = w1(!1), w = W1(
99962
+ const r = Number(t?.pageSize) || 5, o = qt(), { t: a } = S2(), { addNotification: c } = Ar(), l = Vw(), [i, s] = w1(0), [d, h] = w1(!1), [u, f] = w1(null), [m, z] = w1(!1), w = W1(
99963
99963
  () => t?.actions ?? [],
99964
99964
  [t?.actions]
99965
99965
  ), v = W1(
@@ -100128,7 +100128,7 @@ const lq1 = ({
100128
100128
  confirmedCell: Ui0,
100129
100129
  provisionalCell: Wi0
100130
100130
  }, Ki0 = ({ config: t }) => {
100131
- const e = Number(t?.pageSize) || 5, { t: r } = k2(), o = qt(), { addNotification: a } = Ar(), [c, l] = w1(1), [i, s] = w1(e), { data: d, isLoading: h, isError: u, error: f, refetch: m } = h0({
100131
+ const e = Number(t?.pageSize) || 5, { t: r } = S2(), o = qt(), { addNotification: a } = Ar(), [c, l] = w1(1), [i, s] = w1(e), { data: d, isLoading: h, isError: u, error: f, refetch: m } = h0({
100132
100132
  queryKey: ["diagnoses", o, c, i],
100133
100133
  enabled: !!o,
100134
100134
  placeholderData: (p) => p,
@@ -100263,7 +100263,7 @@ const lq1 = ({
100263
100263
  startDate: r,
100264
100264
  disabledActionTypes: o = []
100265
100265
  }) => {
100266
- const { t: a } = k2(), { userPrivileges: c } = T7(), l = W1(
100266
+ const { t: a } = S2(), { userPrivileges: c } = T7(), l = W1(
100267
100267
  () => t.filter(
100268
100268
  (s) => H7(c, s.requiredPrivilege)
100269
100269
  ),
@@ -100604,7 +100604,7 @@ const Zs0 = (t) => !t || t.length === 0 ? [] : [...t].sort((e, r) => {
100604
100604
  activeEncounterUuid: a = null,
100605
100605
  disableActions: c = !1
100606
100606
  }) => {
100607
- const { t: l } = k2(), i = qt(), { addNotification: s } = Ar(), { userPrivileges: d } = T7(), h = t?.code || [], u = t?.actions ?? [], f = W1(
100607
+ const { t: l } = S2(), i = qt(), { addNotification: s } = Ar(), { userPrivileges: d } = T7(), h = t?.code || [], u = t?.actions ?? [], f = W1(
100608
100608
  () => u.filter(
100609
100609
  (O) => H7(d, O.requiredPrivilege)
100610
100610
  ),
@@ -101203,7 +101203,7 @@ const n50 = "ObservationsRenderer-module_resultsContainer__xvAwi", o50 = "Observ
101203
101203
  testIdPrefix: o = "",
101204
101204
  hideThumbnail: a = !1
101205
101205
  }) => {
101206
- const { t: c } = k2(), l = t.members && t.members.length > 0, i = t.display, s = o ? `${o}-` : "";
101206
+ const { t: c } = S2(), l = t.members && t.members.length > 0, i = t.display, s = o ? `${o}-` : "";
101207
101207
  if (l)
101208
101208
  return /* @__PURE__ */ U1(
101209
101209
  "div",
@@ -101377,7 +101377,7 @@ const n50 = "ObservationsRenderer-module_resultsContainer__xvAwi", o50 = "Observ
101377
101377
  controlOrder: s,
101378
101378
  sectionMap: d
101379
101379
  }) => {
101380
- const { t: h } = k2(), u = W1(() => {
101380
+ const { t: h } = S2(), u = W1(() => {
101381
101381
  if (t.length === 0) return [];
101382
101382
  const M = e50(t), p = s && s.length > 0 ? Qs0(M, s) : vXe(M);
101383
101383
  return EXe(p);
@@ -101475,7 +101475,7 @@ const n50 = "ObservationsRenderer-module_resultsContainer__xvAwi", o50 = "Observ
101475
101475
  }
101476
101476
  );
101477
101477
  }, HXe = ({ reportId: t }) => {
101478
- const { t: e } = k2(), {
101478
+ const { t: e } = S2(), {
101479
101479
  data: r,
101480
101480
  isLoading: o,
101481
101481
  isError: a,
@@ -101555,7 +101555,7 @@ const z50 = "RadiologyInvestigationTable-module_inProgressStatus__PKgxl", y50 =
101555
101555
  reportDetails: D50,
101556
101556
  reportTile: R50
101557
101557
  }, S50 = ({ investigation: t, headers: e, renderCell: r, showLinkedOrders: o, showReport: a }) => {
101558
- const { t: c } = k2(), l = t.status === "completed", i = !!t.reportId;
101558
+ const { t: c } = S2(), l = t.status === "completed", i = !!t.reportId;
101559
101559
  if (!o && !a)
101560
101560
  return null;
101561
101561
  const s = (u) => /* @__PURE__ */ U1(
@@ -101600,7 +101600,7 @@ const z50 = "RadiologyInvestigationTable-module_inProgressStatus__PKgxl", y50 =
101600
101600
  imagingStudyId: t,
101601
101601
  onDateLoaded: e
101602
101602
  }) => {
101603
- const { t: r } = k2(), {
101603
+ const { t: r } = S2(), {
101604
101604
  data: o,
101605
101605
  isLoading: a,
101606
101606
  isError: c,
@@ -101699,7 +101699,7 @@ const NXe = (t) => ["radiologyInvestigation", t], G50 = async (t, e, r, o) => {
101699
101699
  encounterUuids: e,
101700
101700
  episodeOfCareUuids: r
101701
101701
  }) => {
101702
- const o = qt(), { t: a } = k2(), { addNotification: c } = Ar(), l = t?.orderType, i = t?.numberOfVisits, s = t?.pacsViewerUrl, d = t?.groupLinkedOrders, h = t?.showInlineReport, [u, f] = w1(
101702
+ const o = qt(), { t: a } = S2(), { addNotification: c } = Ar(), l = t?.orderType, i = t?.numberOfVisits, s = t?.pacsViewerUrl, d = t?.groupLinkedOrders, h = t?.showInlineReport, [u, f] = w1(
101703
101703
  /* @__PURE__ */ new Set([0])
101704
101704
  ), [m, z] = w1(null), [w, v] = w1(null), [M, p] = w1(), g = c6(
101705
101705
  r,
@@ -102242,7 +102242,7 @@ const b80 = ({
102242
102242
  hasProcessedReport: r,
102243
102243
  reportId: o
102244
102244
  }) => {
102245
- const { t: a } = k2(), [c, l] = w1(!1), {
102245
+ const { t: a } = S2(), [c, l] = w1(!1), {
102246
102246
  data: i,
102247
102247
  isLoading: s,
102248
102248
  isError: d
@@ -102369,7 +102369,7 @@ const b80 = ({
102369
102369
  encounterUuids: e,
102370
102370
  episodeOfCareUuids: r
102371
102371
  }) => {
102372
- const { t: o } = k2(), a = qt(), { addNotification: c } = Ar(), l = t?.orderType, i = t?.numberOfVisits, [s, d] = w1(
102372
+ const { t: o } = S2(), a = qt(), { addNotification: c } = Ar(), l = t?.orderType, i = t?.numberOfVisits, [s, d] = w1(
102373
102373
  /* @__PURE__ */ new Set([0])
102374
102374
  ), [h, u] = w1(0), f = c6(
102375
102375
  r,
@@ -102910,7 +102910,7 @@ const $80 = "VitalFlowSheet-module_vitalFlowSheetDataTable__Nnc7i", D80 = "Vital
102910
102910
  }, U80 = [], W80 = ({
102911
102911
  config: { latestCount: t, obsConcepts: e, groupBy: r }
102912
102912
  }) => {
102913
- const { t: o } = k2(), a = qt(), {
102913
+ const { t: o } = S2(), a = qt(), {
102914
102914
  data: c,
102915
102915
  loading: l,
102916
102916
  error: i,
@@ -103116,24 +103116,24 @@ ${A.formattedResult}`
103116
103116
  actionConfig: e,
103117
103117
  episodeOfCareUuids: r
103118
103118
  }) => {
103119
- const { userPrivileges: o } = T7(), a = Y80(e, t.code), { data: c = [], isLoading: l } = h0({
103119
+ const { userPrivileges: o } = T7(), { t: a } = S2(), c = Y80(e, t.code), { data: l = [], isLoading: i } = h0({
103120
103120
  queryKey: ["observationForms", r],
103121
103121
  queryFn: () => wX2(r),
103122
- enabled: a
103123
- }), i = W1(() => e ? e.find((u) => u.taskCode === t.code) : null, [e, t.code]), s = W1(() => !i?.actions || l ? [] : i.actions.filter((u) => H7(o, u.requiredPrivileges) ? J80(u, t, c, o) : !1), [i, o, c, l, t]);
103124
- if (s.length === 0)
103122
+ enabled: c
103123
+ }), s = W1(() => e ? e.find((f) => f.taskCode === t.code) : null, [e, t.code]), d = W1(() => !s?.actions || i ? [] : s.actions.filter((f) => H7(o, f.requiredPrivileges) ? J80(f, t, l, o) : !1), [s, o, l, i, t]);
103124
+ if (d.length === 0)
103125
103125
  return null;
103126
- const d = s[0], h = t.status !== e90;
103126
+ const h = d[0], u = t.status !== e90;
103127
103127
  return /* @__PURE__ */ i1(
103128
103128
  X9,
103129
103129
  {
103130
- label: d.label,
103130
+ label: a(h.label),
103131
103131
  kind: "ghost",
103132
103132
  size: "sm",
103133
- onClick: () => Q80(d, t),
103134
- testId: `task-action-${d.type}-${t.id}`,
103135
- disabled: h,
103136
- children: /* @__PURE__ */ i1(o7, { name: d.icon, id: `task-action-icon-${t.id}` })
103133
+ onClick: () => Q80(h, t),
103134
+ testId: `task-action-${h.type}-${t.id}`,
103135
+ disabled: u,
103136
+ children: /* @__PURE__ */ i1(o7, { name: h.icon, id: `task-action-icon-${t.id}` })
103137
103137
  }
103138
103138
  );
103139
103139
  }, r90 = "TaskList-module_completedStatus__ubQOk", n90 = "TaskList-module_activeStatus__2Pku3", o90 = "TaskList-module_scheduledStatus__theUP", a90 = "TaskList-module_cancelledStatus__72eup", c90 = "TaskList-module_stoppedStatus__SQvC1", l90 = "TaskList-module_defaultStatus__cdKao", i90 = "TaskList-module_tasksTableBody__xNB7S", s90 = "TaskList-module_emptyState__D-JLC", Wn = {
@@ -103184,7 +103184,7 @@ ${A.formattedResult}`
103184
103184
  orderReference: o,
103185
103185
  showEmptyStateMessage: a = !0
103186
103186
  }) => {
103187
- const { t: c } = k2(), l = qt(), i = t, s = i?.showOnlyLeafTasks ?? !1, d = i?.taskTypes, h = c6(
103187
+ const { t: c } = S2(), l = qt(), i = t, s = i?.showOnlyLeafTasks ?? !1, d = i?.taskTypes, h = c6(
103188
103188
  e,
103189
103189
  r
103190
103190
  ), { data: u, isLoading: f, error: m, refetch: z } = h0({
@@ -103290,7 +103290,7 @@ ${A.formattedResult}`
103290
103290
  encounterUuids: r,
103291
103291
  visitUuids: o
103292
103292
  }) => {
103293
- const { t: a } = k2(), c = qt(), { addNotification: l } = Ar(), i = t?.orderType || "", s = t?.showTasks === !0, d = t?.tasksControlConfig, h = c6(
103293
+ const { t: a } = S2(), c = qt(), { addNotification: l } = Ar(), i = t?.orderType || "", s = t?.showTasks === !0, d = t?.tasksControlConfig, h = c6(
103294
103294
  e,
103295
103295
  r
103296
103296
  ), {
@@ -103530,7 +103530,7 @@ function O90(t, e) {
103530
103530
  }));
103531
103531
  }
103532
103532
  const $90 = ({ config: t }) => {
103533
- const { t: e } = k2(), r = qt(), o = Number(t?.pageSize) || 5, [a, c] = w1(1), [l, i] = w1(o), s = t?.fields ?? [], d = W1(
103533
+ const { t: e } = S2(), r = qt(), o = Number(t?.pageSize) || 5, [a, c] = w1(1), [l, i] = w1(o), s = t?.fields ?? [], d = W1(
103534
103534
  () => _90(s),
103535
103535
  [s]
103536
103536
  ), { data: h, isLoading: u, isError: f } = h0({
@@ -103763,7 +103763,7 @@ const Y90 = async (t) => (await uJe(t, "completed")).map(K90), Eq1 = ({
103763
103763
  patientUUID: t,
103764
103764
  config: e
103765
103765
  }) => {
103766
- const { t: r } = k2(), { data: o, isLoading: a, isError: c, refetch: l } = h0({
103766
+ const { t: r } = S2(), { data: o, isLoading: a, isError: c, refetch: l } = h0({
103767
103767
  queryKey: ["immunizations", t, "completed"],
103768
103768
  queryFn: () => Y90(t),
103769
103769
  enabled: !!t
@@ -103872,7 +103872,7 @@ const Y90 = async (t) => (await uJe(t, "completed")).map(K90), Eq1 = ({
103872
103872
  patientUUID: t,
103873
103873
  config: e
103874
103874
  }) => {
103875
- const { t: r } = k2(), { data: o, isLoading: a, isError: c, refetch: l } = h0({
103875
+ const { t: r } = S2(), { data: o, isLoading: a, isError: c, refetch: l } = h0({
103876
103876
  queryKey: ["immunizations", t, "not-done"],
103877
103877
  queryFn: () => J90(t),
103878
103878
  enabled: !!t
@@ -103927,7 +103927,7 @@ const Y90 = async (t) => (await uJe(t, "completed")).map(K90), Eq1 = ({
103927
103927
  return "IMMUNIZATION_HISTORY_WIDGET_TITLE";
103928
103928
  }
103929
103929
  }, Q90 = ({ config: t }) => {
103930
- const { t: e } = k2(), r = qt(), [o, a] = w1(0), c = t?.status, l = t?.encounterType, i = t?.startEncounterPrivilege, s = t?.administeredFields, d = t?.notAdministeredFields, h = {
103930
+ const { t: e } = S2(), r = qt(), [o, a] = w1(0), c = t?.status, l = t?.encounterType, i = t?.startEncounterPrivilege, s = t?.administeredFields, d = t?.notAdministeredFields, h = {
103931
103931
  columns: s ? s.filter((w) => wq1.includes(w)) : wq1,
103932
103932
  expandedFields: s ? s.filter(
103933
103933
  (w) => gq1.includes(w)
@@ -105832,7 +105832,7 @@ const tu0 = ({
105832
105832
  activeActionIndex: o,
105833
105833
  onNavigate: a
105834
105834
  }) => {
105835
- const { t: c } = k2("command-palette"), [l, i] = w1(!1), s = r[o], d = H5.name.getValue(t) ?? "", h = Jh0(t.givenName, t.familyName), u = Xh0(
105835
+ const { t: c } = S2("command-palette"), [l, i] = w1(!1), s = r[o], d = H5.name.getValue(t) ?? "", h = Jh0(t.givenName, t.familyName), u = Xh0(
105836
105836
  t,
105837
105837
  e.primaryFields
105838
105838
  ), f = {
@@ -105976,7 +105976,7 @@ const au0 = () => /* @__PURE__ */ U1(
105976
105976
  ]
105977
105977
  }
105978
105978
  ), cu0 = () => {
105979
- const { t } = k2("command-palette"), {
105979
+ const { t } = S2("command-palette"), {
105980
105980
  isOpen: e,
105981
105981
  setOpen: r,
105982
105982
  navItems: o,
@@ -106292,7 +106292,7 @@ const vQe = ({
106292
106292
  return /* @__PURE__ */ i1(nXe.Provider, { value: i, children: t });
106293
106293
  };
106294
106294
  vQe.displayName = "UserPrivilegeProvider";
106295
- C0(() => Promise.resolve().then(() => R60)), C0(() => Promise.resolve().then(() => si0)), C0(() => Promise.resolve().then(() => Pi0)), C0(() => Promise.resolve().then(() => Gi0)), C0(() => import("./DocumentsTable-Il19n5sp-BF6ozzXH.js")), C0(() => Promise.resolve().then(() => K80)), C0(() => import("./FormsTable-CUvcHb6f-BwlfuqxX.js")), C0(() => Promise.resolve().then(() => A80)), C0(() => import("./Observations-CeCquAyF-BggXkHkl.js")), C0(
106295
+ C0(() => Promise.resolve().then(() => R60)), C0(() => Promise.resolve().then(() => si0)), C0(() => Promise.resolve().then(() => Pi0)), C0(() => Promise.resolve().then(() => Gi0)), C0(() => import("./DocumentsTable-BWdWCSEF-DOubd6c9.js")), C0(() => Promise.resolve().then(() => K80)), C0(() => import("./FormsTable-BeIgWoc7-DxHdxQ8c.js")), C0(() => Promise.resolve().then(() => A80)), C0(() => import("./Observations-BjoSIa29-CyID2ApD.js")), C0(
106296
106296
  () => Promise.resolve().then(() => N90)
106297
106297
  ), C0(
106298
106298
  () => Promise.resolve().then(() => J50)
@@ -106368,7 +106368,7 @@ const EQe = n.createContext(void 0), su0 = () => {
106368
106368
  error: pu0,
106369
106369
  noLocation: fu0
106370
106370
  }, Mzt = () => {
106371
- const { t } = k2(), { location: e, setLocation: r, availableLocations: o, loading: a, error: c } = su0(), l = (s) => {
106371
+ const { t } = S2(), { location: e, setLocation: r, availableLocations: o, loading: a, error: c } = su0(), l = (s) => {
106372
106372
  !s || s.uuid === e?.uuid || r(s);
106373
106373
  };
106374
106374
  if (a)
@@ -159239,7 +159239,7 @@ function aJ0() {
159239
159239
  return typeof w == "string" || typeof w == "function" || w === r || w === a || w === o || w === s || w === d || typeof w == "object" && w !== null && (w.$$typeof === u || w.$$typeof === h || w.$$typeof === l || w.$$typeof === c || w.$$typeof === i || w.$$typeof === m || w.getModuleId !== void 0);
159240
159240
  }, _2.typeOf = z, _2;
159241
159241
  }
159242
- var Z2 = {}, SFe;
159242
+ var k2 = {}, SFe;
159243
159243
  function cJ0() {
159244
159244
  return SFe || (SFe = 1, process.env.NODE_ENV !== "production" && (function() {
159245
159245
  function t(w) {
@@ -159274,34 +159274,34 @@ function cJ0() {
159274
159274
  }
159275
159275
  }
159276
159276
  var e = Symbol.for("react.transitional.element"), r = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), c = Symbol.for("react.profiler"), l = Symbol.for("react.consumer"), i = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), u = Symbol.for("react.memo"), f = Symbol.for("react.lazy"), m = Symbol.for("react.view_transition"), z = Symbol.for("react.client.reference");
159277
- Z2.ContextConsumer = l, Z2.ContextProvider = i, Z2.Element = e, Z2.ForwardRef = s, Z2.Fragment = o, Z2.Lazy = f, Z2.Memo = u, Z2.Portal = r, Z2.Profiler = c, Z2.StrictMode = a, Z2.Suspense = d, Z2.SuspenseList = h, Z2.isContextConsumer = function(w) {
159277
+ k2.ContextConsumer = l, k2.ContextProvider = i, k2.Element = e, k2.ForwardRef = s, k2.Fragment = o, k2.Lazy = f, k2.Memo = u, k2.Portal = r, k2.Profiler = c, k2.StrictMode = a, k2.Suspense = d, k2.SuspenseList = h, k2.isContextConsumer = function(w) {
159278
159278
  return t(w) === l;
159279
- }, Z2.isContextProvider = function(w) {
159279
+ }, k2.isContextProvider = function(w) {
159280
159280
  return t(w) === i;
159281
- }, Z2.isElement = function(w) {
159281
+ }, k2.isElement = function(w) {
159282
159282
  return typeof w == "object" && w !== null && w.$$typeof === e;
159283
- }, Z2.isForwardRef = function(w) {
159283
+ }, k2.isForwardRef = function(w) {
159284
159284
  return t(w) === s;
159285
- }, Z2.isFragment = function(w) {
159285
+ }, k2.isFragment = function(w) {
159286
159286
  return t(w) === o;
159287
- }, Z2.isLazy = function(w) {
159287
+ }, k2.isLazy = function(w) {
159288
159288
  return t(w) === f;
159289
- }, Z2.isMemo = function(w) {
159289
+ }, k2.isMemo = function(w) {
159290
159290
  return t(w) === u;
159291
- }, Z2.isPortal = function(w) {
159291
+ }, k2.isPortal = function(w) {
159292
159292
  return t(w) === r;
159293
- }, Z2.isProfiler = function(w) {
159293
+ }, k2.isProfiler = function(w) {
159294
159294
  return t(w) === c;
159295
- }, Z2.isStrictMode = function(w) {
159295
+ }, k2.isStrictMode = function(w) {
159296
159296
  return t(w) === a;
159297
- }, Z2.isSuspense = function(w) {
159297
+ }, k2.isSuspense = function(w) {
159298
159298
  return t(w) === d;
159299
- }, Z2.isSuspenseList = function(w) {
159299
+ }, k2.isSuspenseList = function(w) {
159300
159300
  return t(w) === h;
159301
- }, Z2.isValidElementType = function(w) {
159301
+ }, k2.isValidElementType = function(w) {
159302
159302
  return typeof w == "string" || typeof w == "function" || w === o || w === c || w === a || w === d || w === h || typeof w == "object" && w !== null && (w.$$typeof === f || w.$$typeof === u || w.$$typeof === i || w.$$typeof === l || w.$$typeof === s || w.$$typeof === z || w.getModuleId !== void 0);
159303
- }, Z2.typeOf = t;
159304
- })()), Z2;
159303
+ }, k2.typeOf = t;
159304
+ })()), k2;
159305
159305
  }
159306
159306
  var ZFe;
159307
159307
  function lJ0() {
@@ -188139,7 +188139,7 @@ var Nyt = (t, e = !1) => {
188139
188139
  const e = ol2(() => {
188140
188140
  const r = this, [o] = this.#n, [a] = this.#o, [c] = this.#a, [l] = this.#c, [i] = this.#p, [s] = this.#t;
188141
188141
  let d;
188142
- return this.#l ? d = this.#l : (d = rl2(() => import("./LNWAZHJI-DmT96-X5.js")), this.#l = d), zl2(this.#u, this.#r), el2(d, tl2({
188142
+ return this.#l ? d = this.#l : (d = rl2(() => import("./LNWAZHJI-dk-WYSKS.js")), this.#l = d), zl2(this.#u, this.#r), el2(d, tl2({
188143
188143
  get queryFlavor() {
188144
188144
  return r.#d;
188145
188145
  },
@@ -188237,7 +188237,7 @@ var Nyt = (t, e = !1) => {
188237
188237
  const e = ol2(() => {
188238
188238
  const r = this, [o] = this.#n, [a] = this.#o, [c] = this.#a, [l] = this.#c, [i] = this.#p, [s] = this.#t, [d] = this.#l;
188239
188239
  let h;
188240
- return this.#i ? h = this.#i : (h = rl2(() => import("./MWZ6AO7Z-CkCBcMGV.js")), this.#i = h), zl2(this.#u, this.#r), el2(h, tl2({
188240
+ return this.#i ? h = this.#i : (h = rl2(() => import("./MWZ6AO7Z-BYDneTRy.js")), this.#i = h), zl2(this.#u, this.#r), el2(h, tl2({
188241
188241
  get queryFlavor() {
188242
188242
  return r.#d;
188243
188243
  },
@@ -188367,7 +188367,7 @@ const HHt = {
188367
188367
  }
188368
188368
  }
188369
188369
  }, zHt = "home", Tyt = "/bahmni/home/index.html#/login", Oyt = "/bahmni/home/index.html#/changePassword", $yt = 6, yHt = C0(
188370
- () => import("./index-DxvIypJJ.js").then((t) => ({
188370
+ () => import("./index-DO0AtdWl.js").then((t) => ({
188371
188371
  default: t.HomePage
188372
188372
  }))
188373
188373
  ), xHt = [
@@ -188491,7 +188491,7 @@ export {
188491
188491
  PP2 as r,
188492
188492
  wX2 as s,
188493
188493
  pq2 as t,
188494
- k2 as u,
188494
+ S2 as u,
188495
188495
  n2 as v,
188496
188496
  gq2 as w,
188497
188497
  tyt as x,
@@ -1,5 +1,5 @@
1
1
  import { jsxs as Ne, jsx as ne, Fragment as Qi } from "react/jsx-runtime";
2
- import { u as ot, x as Xi, z as Ji, B as ec, C as tc, P as rc, Q as nc, D as oc, N as hi, F as ac, G as lc, q as ic, I as cc, J as sc, L as fc, K as pc, M as hc, O as uc } from "./index-cL-oge32.js";
2
+ import { u as ot, x as Xi, z as Ji, B as ec, C as tc, P as rc, Q as nc, D as oc, N as hi, F as ac, G as lc, q as ic, I as cc, J as sc, L as fc, K as pc, M as hc, O as uc } from "./index-CwsusbpG.js";
3
3
  import * as Q from "react";
4
4
  import r, { createContext as at, useContext as $e, Children as q1, useState as pe, useLayoutEffect as V1, useEffect as ie, useMemo as lt, useCallback as Me, useRef as oe, forwardRef as y1, useReducer as dc, cloneElement as G1, isValidElement as wc } from "react";
5
5
  import { useQuery as mc } from "@tanstack/react-query";
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { aJ as a } from "./index-cL-oge32.js";
1
+ import { aJ as a } from "./index-CwsusbpG.js";
2
2
  export {
3
3
  a as HomeApp
4
4
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bahmni/home-app",
3
- "version": "0.0.1-dev.330",
3
+ "version": "0.0.1-dev.333",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",
@@ -26,6 +26,6 @@
26
26
  "peerDependencies": {
27
27
  "react": "^19.0.0",
28
28
  "react-dom": "^19.0.0",
29
- "react-router-dom": "^7.12.0"
29
+ "react-router-dom": "^7.15.0"
30
30
  }
31
31
  }