@bahmni/home-app 0.0.1-dev.465 → 0.0.1-dev.466

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 n, jsxs as u, Fragment as pe } from "react/jsx-runtime";
2
- import { u as _e, a as Ee, z as ge, s as Ne, N as Ce, K as fe, w as Ae, O as w, t as Ie, r as Le, b as be, h as De, R as ye, p as we, q as Q, J as ve, L as Oe, $ as Se, c as Re, d as Ue, Q as J, e as ee } from "./index-ByiKJ35l.js";
2
+ import { u as _e, a as Ee, z as ge, s as Ne, N as Ce, K as fe, w as Ae, O as w, t as Ie, r as Le, b as be, h as De, R as ye, p as we, q as Q, J as ve, L as Oe, $ as Se, c as Re, d as Ue, Q as J, e as ee } from "./index-BXrO9hti.js";
3
3
  import { useQuery as Me } from "@tanstack/react-query";
4
4
  import { useState as h, useRef as $e, useEffect as _, useMemo as E, useCallback as T } from "react";
5
5
  const ke = "DocumentsTable-module_documentsTableBody__6iR3w", He = "DocumentsTable-module_viewAttachmentsLink__aQ1on", Be = "DocumentsTable-module_documentViewerContainer__F5m8D", ze = "DocumentsTable-module_printContainer__rtarJ", Ve = "DocumentsTable-module_attachmentItem__17KA7", We = "DocumentsTable-module_attachmentCounter__WFiI3", qe = "DocumentsTable-module_attachmentError__RI4U2", xe = "DocumentsTable-module_documentIframe__ptq5I", Fe = "DocumentsTable-module_attachmentContent__IaCEe", Ge = "DocumentsTable-module_attachmentLoading__FAR6p", Ke = "DocumentsTable-module_hiddenWhileLoading__IxocW", Pe = "DocumentsTable-module_documentImage__KQVgS", je = "DocumentsTable-module_header__345GY", Qe = "DocumentsTable-module_documentTypeCell__uWGM8", Je = "DocumentsTable-module_printAllButton__IVYUW", Ye = "DocumentsTable-module_attachmentHeader__yI2xn", o = {
@@ -1,5 +1,5 @@
1
1
  import { jsx as n, jsxs as H, Fragment as ne } from "react/jsx-runtime";
2
- import { a as ie, u as de, s as le, Z as me, f as ue, G as ce, y as fe, v as ye, w as Ne, k as be, M as pe, g as ge, h as he, N as Ae, q as K, C as $, b as Oe, $ as V, i as Te, j as Ie, c as _e, A as Ee, l as Ce } from "./index-ByiKJ35l.js";
2
+ import { a as ie, u as de, s as le, Z as me, f as ue, G as ce, y as fe, v as ye, w as Ne, k as be, M as pe, g as ge, h as he, N as Ae, q as K, C as $, b as Oe, $ as V, i as Te, j as Ie, c as _e, A as Ee, l as Ce } from "./index-BXrO9hti.js";
3
3
  import { useQueryClient as ve, useQuery as I } from "@tanstack/react-query";
4
4
  import { useState as G, useMemo as i, useCallback as d } from "react";
5
5
  const Le = "FormsTable-module_formsTableBody__SvGha", Re = "FormsTable-module_modalHeading__wnTmA", Be = "FormsTable-module_customAccordianItem__isszs", p = {
@@ -1,5 +1,5 @@
1
- import { c, T as l, P as m, a as u, D as v, Q as i } from "./YPM2AS64-CfEK805M.js";
2
- import { a2 as d, a3 as f, a4 as e } from "./index-ByiKJ35l.js";
1
+ import { c, T as l, P as m, a as u, D as v, Q as i } from "./YPM2AS64-CTijv4oG.js";
2
+ import { a2 as d, a3 as f, a4 as e } from "./index-BXrO9hti.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-CfEK805M.js";
2
- import { a2 as v, a3 as C, a4 as e } from "./index-ByiKJ35l.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-CTijv4oG.js";
2
+ import { a2 as v, a3 as C, a4 as e } from "./index-BXrO9hti.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 n } from "react/jsx-runtime";
2
- import { u as z, z as Q, a as B, m as G, f as H, W as M, n as j, w as P, o as W, x as J, B as Y, D as X, p as ee, $ as ae, E as se, F as U, H as te, I as re, h as ie, P as oe, S as ne, T as de, U as le } from "./index-ByiKJ35l.js";
2
+ import { u as z, z as Q, a as B, m as G, f as H, W as M, n as j, w as P, o as W, x as J, B as Y, D as X, p as ee, $ as ae, E as se, F as U, H as te, I as re, h as ie, P as oe, S as ne, T as de, U as le } from "./index-BXrO9hti.js";
3
3
  import { useQueries as ue, useQuery as ce } from "@tanstack/react-query";
4
4
  import { useRef as pe, useEffect as L, useMemo as g } from "react";
5
5
  const me = "Observations-module_observations__RKSyo", be = "Observations-module_title__TJL3z", he = "Observations-module_wrapper__muk2L", ve = "Observations-module_secondary__14nuS", O = {
@@ -1,4 +1,4 @@
1
- import { a5 as we, a6 as z, a7 as xt, a8 as B, a3 as q, a4 as y, a9 as Ro, aa as ye, ab as R, ac as _, ad as k, ae as N, af as A, ag as bs, ah as ir, ai as $e, aj as G, ak as Hn, al as Vn, am as dt, an as D, ao as xs, ap as cn, aq as Be, ar as ws, as as qt, at as zt, au as $s, av as Cs, aw as $n, ax as Ss, ay as Nr, az as Bt, aA as zo, aB as ks, aC as Es, aD as j, aE as Gr, aF as Ms, aG as Ds, aH as sr, aI as As, aJ as Ts, aK as zn, aL as Fs, aM as Is, aN as Z, aO as Ps, aP as Ls } from "./index-ByiKJ35l.js";
1
+ import { a5 as we, a6 as z, a7 as xt, a8 as B, a3 as q, a4 as y, a9 as Ro, aa as ye, ab as R, ac as _, ad as k, ae as N, af as A, ag as bs, ah as ir, ai as $e, aj as G, ak as Hn, al as Vn, am as dt, an as D, ao as xs, ap as cn, aq as Be, ar as ws, as as qt, at as zt, au as $s, av as Cs, aw as $n, ax as Ss, ay as Nr, az as Bt, aA as zo, aB as ks, aC as Es, aD as j, aE as Gr, aF as Ms, aG as Ds, aH as sr, aI as As, aJ as Ts, aK as zn, aL as Fs, aM as Is, aN as Z, aO as Ps, aP as Ls } from "./index-BXrO9hti.js";
2
2
  var Os = (e) => e != null, qs = (e) => e.filter(Os);
3
3
  function _s(e) {
4
4
  return (...t) => {
@@ -105724,7 +105724,7 @@ JF1({
105724
105724
  key: "commonSearch",
105725
105725
  component: al0
105726
105726
  });
105727
- _0(() => Promise.resolve().then(() => bX2)), _0(() => Promise.resolve().then(() => QX2)), _0(() => Promise.resolve().then(() => _e0)), _0(() => Promise.resolve().then(() => ke0)), _0(() => import("./DocumentsTable-C6mSkdKj-Ul3pupPS.js")), _0(() => Promise.resolve().then(() => jr0)), _0(() => import("./FormsTable-BlX4wnXs-C0wh50IE.js")), _0(() => Promise.resolve().then(() => Dt0)), _0(() => import("./Observations-C_-u3sfQ-Chpy26De.js")), _0(
105727
+ _0(() => Promise.resolve().then(() => bX2)), _0(() => Promise.resolve().then(() => QX2)), _0(() => Promise.resolve().then(() => _e0)), _0(() => Promise.resolve().then(() => ke0)), _0(() => import("./DocumentsTable-Cdjrw4yW-Bvm9v6KO.js")), _0(() => Promise.resolve().then(() => jr0)), _0(() => import("./FormsTable-hfP2wv7g-DaziNRV1.js")), _0(() => Promise.resolve().then(() => Dt0)), _0(() => import("./Observations-B-dxdRlx-BF_q1_kq.js")), _0(
105728
105728
  () => Promise.resolve().then(() => On0)
105729
105729
  ), _0(
105730
105730
  () => Promise.resolve().then(() => nt0)
@@ -106006,17 +106006,26 @@ const Yj1 = n.createContext(void 0), yl0 = () => {
106006
106006
  tile: Nl0,
106007
106007
  label: Cl0,
106008
106008
  bottom: Al0
106009
- }, Ll0 = ({ id: t, label: e, icon: r, url: o }) => {
106010
- const { t: a } = P1(), c = a(e);
106009
+ }, Ll0 = ({
106010
+ id: t,
106011
+ label: e,
106012
+ icon: r,
106013
+ url: o,
106014
+ fallbackLabel: a
106015
+ }) => {
106016
+ const { t: c } = P1(), l = c(
106017
+ e,
106018
+ a ? { defaultValue: a } : void 0
106019
+ );
106011
106020
  return /* @__PURE__ */ Be(
106012
106021
  DO2,
106013
106022
  {
106014
106023
  href: o,
106015
106024
  className: vp.tile,
106016
- "aria-label": c,
106025
+ "aria-label": l,
106017
106026
  testId: `app-tile-${t}`,
106018
106027
  children: [
106019
- /* @__PURE__ */ te("h2", { className: vp.label, "aria-hidden": "true", children: c }),
106028
+ /* @__PURE__ */ te("h2", { className: vp.label, "aria-hidden": "true", children: l }),
106020
106029
  /* @__PURE__ */ Be("div", { className: vp.bottom, children: [
106021
106030
  /* @__PURE__ */ te(Ci, { name: r, id: t, size: hc.X2, "aria-hidden": "true" }),
106022
106031
  /* @__PURE__ */ te(QR1, { size: 20, "aria-hidden": "true" })
@@ -106103,6 +106112,7 @@ const Yj1 = n.createContext(void 0), yl0 = () => {
106103
106112
  {
106104
106113
  id: v.id,
106105
106114
  label: v.translationKey ?? v.label,
106115
+ fallbackLabel: v.label,
106106
106116
  icon: v.icon,
106107
106117
  url: v.url
106108
106118
  },
@@ -190701,7 +190711,7 @@ var vgt = (t, e = !1) => {
190701
190711
  const e = T02(() => {
190702
190712
  const r = this, [o] = this.#n, [a] = this.#o, [c] = this.#a, [l] = this.#c, [i] = this.#p, [s] = this.#t;
190703
190713
  let d;
190704
- return this.#l ? d = this.#l : (d = L02(() => import("./LNWAZHJI-CIgil_Z3.js")), this.#l = d), J02(this.#h, this.#r), C02(d, A02({
190714
+ return this.#l ? d = this.#l : (d = L02(() => import("./LNWAZHJI-UvSDfL7G.js")), this.#l = d), J02(this.#h, this.#r), C02(d, A02({
190705
190715
  get queryFlavor() {
190706
190716
  return r.#d;
190707
190717
  },
@@ -190799,7 +190809,7 @@ var vgt = (t, e = !1) => {
190799
190809
  const e = T02(() => {
190800
190810
  const r = this, [o] = this.#n, [a] = this.#o, [c] = this.#a, [l] = this.#c, [i] = this.#p, [s] = this.#t, [d] = this.#l;
190801
190811
  let u;
190802
- return this.#i ? u = this.#i : (u = L02(() => import("./MWZ6AO7Z-Bm9laUJp.js")), this.#i = u), J02(this.#h, this.#r), C02(u, A02({
190812
+ return this.#i ? u = this.#i : (u = L02(() => import("./MWZ6AO7Z-Dce_RT_N.js")), this.#i = u), J02(this.#h, this.#r), C02(u, A02({
190803
190813
  get queryFlavor() {
190804
190814
  return r.#d;
190805
190815
  },
@@ -190929,7 +190939,7 @@ const wmt = {
190929
190939
  }
190930
190940
  }
190931
190941
  }, gmt = "home", zgt = "org.bahmni.home.dashboard", Hgt = 5e3, vmt = _0(
190932
- () => import("./index-DR_tlh0s.js").then((t) => ({
190942
+ () => import("./index-sSTaq7Q4.js").then((t) => ({
190933
190943
  default: t.HomePage
190934
190944
  }))
190935
190945
  ), Emt = _0(
@@ -1,5 +1,5 @@
1
1
  import { jsx as e, jsxs as _, Fragment as d } from "react/jsx-runtime";
2
- import { V as E, X as f, a as m, Y as O, _ as u, a0 as g, z as h, a1 as H } from "./index-ByiKJ35l.js";
2
+ import { V as E, X as f, a as m, Y as O, _ as u, a0 as g, z as h, a1 as H } from "./index-BXrO9hti.js";
3
3
  import "@tanstack/react-query";
4
4
  import { useRef as N, useEffect as S } from "react";
5
5
  import { useNavigate as M, useLocation as p } from "react-router";
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { aQ as a } from "./index-ByiKJ35l.js";
1
+ import { aQ as a } from "./index-BXrO9hti.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.465",
3
+ "version": "0.0.1-dev.466",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",