@bahmni/home-app 0.0.1-dev.271 → 0.0.1-dev.272

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 p, Fragment as x } from "react/jsx-runtime";
2
- import { u as G, a as W, h as Y, t as J, b as X, m as Z, c as ee, n as te } from "./index-DAATtEkD.js";
2
+ import { u as G, a as W, h as Y, t as J, b as X, m as Z, c as ee, n as te } from "./index-Dv1mIf-k.js";
3
3
  import { useQuery as ae } from "@tanstack/react-query";
4
4
  import { useState as l, useCallback as h, useEffect as O, 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", ce = "DocumentsTable-module_attachmentError__RI4U2", me = "DocumentsTable-module_documentIframe__ptq5I", le = "DocumentsTable-module_documentImage__KQVgS", d = {
@@ -1,5 +1,5 @@
1
1
  import { jsx as s, jsxs as W, Fragment as Z } from "react/jsx-runtime";
2
- import { a as ee, u as re, w as ae, e as oe, Q as te, X as se, J as ne, d as de, R as S, m as ie, b as me, c as U, T as ue, C as le, n as ce, f as fe, Y as ye } from "./index-DAATtEkD.js";
2
+ import { a as ee, u as re, w as ae, e as oe, Q as te, X as se, J as ne, d as de, R as S, m as ie, b as me, c as U, T as ue, C as le, n as ce, f as fe, Y as ye } from "./index-Dv1mIf-k.js";
3
3
  import { useQueryClient as pe, useQuery as f } from "@tanstack/react-query";
4
4
  import { useState as q, useMemo as d, useCallback as y } from "react";
5
5
  const be = "FormsTable-module_formsTableBody__SvGha", ge = "FormsTable-module_customAccordianItem__isszs", A = {
@@ -1,5 +1,5 @@
1
- import { c, T as l, P as m, a as u, D as v, Q as i } from "./YPM2AS64-B-ArbTgh.js";
2
- import { U as d, V as f, W as e } from "./index-DAATtEkD.js";
1
+ import { c, T as l, P as m, a as u, D as v, Q as i } from "./YPM2AS64-n7d56V9h.js";
2
+ import { U as d, V as f, W as e } from "./index-Dv1mIf-k.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-B-ArbTgh.js";
2
- import { U as v, V as C, W as e } from "./index-DAATtEkD.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-n7d56V9h.js";
2
+ import { U as v, V as C, W as e } from "./index-Dv1mIf-k.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 I, jsx as u } from "react/jsx-runtime";
2
- import { u as M, h as k, a as N, K as q, G, d as Q, i as z, s as X, l as j, z as w, c as x, o as H, g as A, j as P, y as Y, k as J, M as W, S as Z, A as ee } from "./index-DAATtEkD.js";
2
+ import { u as M, h as k, a as N, K as q, G, d as Q, i as z, s as X, l as j, z as w, c as x, o as H, g as A, j as P, y as Y, k as J, M as W, S as Z, A as ee } from "./index-Dv1mIf-k.js";
3
3
  import { useQueries as ae, useQuery as te } from "@tanstack/react-query";
4
4
  import { useRef as se, useEffect as $, useMemo as T } from "react";
5
5
  const D = (a, n, d, l, b, r) => {
@@ -1,4 +1,4 @@
1
- import { Z as we, $ as z, a0 as xt, a1 as B, V as q, W 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-DAATtEkD.js";
1
+ import { Z as we, $ as z, a0 as xt, a1 as B, V as q, W 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-Dv1mIf-k.js";
2
2
  var Os = (e) => e != null, qs = (e) => e.filter(Os);
3
3
  function _s(e) {
4
4
  return (...t) => {
@@ -1,5 +1,5 @@
1
1
  import { jsxs as Ne, jsx as ne, Fragment as Xi } from "react/jsx-runtime";
2
- import { a as ot, D as Qi, p as Ji, q as ec, _ as tc, r as rc, E as nc, H as oc, v as hi, O as ac, x as lc, h as ic, B as cc, I as sc, L as fc, F as pc, N as hc, P as uc } from "./index-DAATtEkD.js";
2
+ import { a as ot, D as Qi, p as Ji, q as ec, _ as tc, r as rc, E as nc, H as oc, v as hi, O as ac, x as lc, h as ic, B as cc, I as sc, L as fc, F as pc, N as hc, P as uc } from "./index-Dv1mIf-k.js";
3
3
  import * as X 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";
@@ -60759,14 +60759,15 @@ const ad2 = "_bahmniIcon_1cg5e_1", cd2 = "_paddingNone_1cg5e_1", ld2 = "_padding
60759
60759
  id: o,
60760
60760
  ariaLabel: a = o,
60761
60761
  padding: c = Nn.XXSMALL,
60762
- testId: l
60762
+ testId: l,
60763
+ fixedWidth: i = !1
60763
60764
  }) => {
60764
- const i = hd2(c);
60765
+ const s = hd2(c);
60765
60766
  if (!(!t || !/^fas?-[a-zA-Z0-9_-]+$/.test(t)))
60766
60767
  return /* @__PURE__ */ i1(
60767
60768
  "span",
60768
60769
  {
60769
- className: `${m3.bahmniIcon} ${i}`,
60770
+ className: `${m3.bahmniIcon} ${s}`,
60770
60771
  id: o,
60771
60772
  "data-testid": l,
60772
60773
  role: a ? "img" : void 0,
@@ -60777,6 +60778,7 @@ const ad2 = "_bahmniIcon_1cg5e_1", cd2 = "_paddingNone_1cg5e_1", ld2 = "_padding
60777
60778
  icon: ["fas", t],
60778
60779
  size: e,
60779
60780
  color: r,
60781
+ fixedWidth: i,
60780
60782
  "data-testid": o
60781
60783
  }
60782
60784
  )
@@ -68450,7 +68452,8 @@ const rk2 = n.memo(
68450
68452
  {
68451
68453
  name: w.icon,
68452
68454
  id: `sidebar-icon-${w.id}`,
68453
- size: zw.LG
68455
+ size: zw.LG,
68456
+ fixedWidth: !0
68454
68457
  }
68455
68458
  ),
68456
68459
  href: w.href ?? "#",
@@ -139271,14 +139274,15 @@ const Ym0 = "_bahmniIcon_1cg5e_1", Gm0 = "_paddingNone_1cg5e_1", Jm0 = "_padding
139271
139274
  id: o,
139272
139275
  ariaLabel: a = o,
139273
139276
  padding: c = ln.XXSMALL,
139274
- testId: l
139277
+ testId: l,
139278
+ fixedWidth: i = !1
139275
139279
  }) => {
139276
- const i = rw0(c);
139280
+ const s = rw0(c);
139277
139281
  if (!(!t || !/^fas?-[a-zA-Z0-9_-]+$/.test(t)))
139278
139282
  return /* @__PURE__ */ i1(
139279
139283
  "span",
139280
139284
  {
139281
- className: `${w3.bahmniIcon} ${i}`,
139285
+ className: `${w3.bahmniIcon} ${s}`,
139282
139286
  id: o,
139283
139287
  "data-testid": l,
139284
139288
  role: a ? "img" : void 0,
@@ -139289,6 +139293,7 @@ const Ym0 = "_bahmniIcon_1cg5e_1", Gm0 = "_paddingNone_1cg5e_1", Jm0 = "_padding
139289
139293
  icon: ["fas", t],
139290
139294
  size: e,
139291
139295
  color: r,
139296
+ fixedWidth: i,
139292
139297
  "data-testid": o
139293
139298
  }
139294
139299
  )
@@ -139813,7 +139818,8 @@ const Nw0 = n.memo(
139813
139818
  {
139814
139819
  name: w.icon,
139815
139820
  id: `sidebar-icon-${w.id}`,
139816
- size: Vl.LG
139821
+ size: Vl.LG,
139822
+ fixedWidth: !0
139817
139823
  }
139818
139824
  ),
139819
139825
  href: w.href ?? "#",
@@ -163930,7 +163936,7 @@ const AS0 = () => {
163930
163936
  );
163931
163937
  return t;
163932
163938
  };
163933
- Z0(() => Promise.resolve().then(() => kC0)), Z0(() => Promise.resolve().then(() => uA0)), Z0(() => Promise.resolve().then(() => PA0)), Z0(() => Promise.resolve().then(() => YA0)), Z0(() => import("./DocumentsTable-BTIXt5P5-KnPV1igg.js")), Z0(() => Promise.resolve().then(() => PT0)), Z0(() => import("./FormsTable-Cg_0tmR0-ZQJPbD42.js")), Z0(() => Promise.resolve().then(() => VT0)), Z0(() => import("./Observations-M8evq10v-C5Ae7nRY.js")), Z0(
163939
+ Z0(() => Promise.resolve().then(() => kC0)), Z0(() => Promise.resolve().then(() => uA0)), Z0(() => Promise.resolve().then(() => PA0)), Z0(() => Promise.resolve().then(() => YA0)), Z0(() => import("./DocumentsTable-CBd3EBSh-B4OHxuy5.js")), Z0(() => Promise.resolve().then(() => PT0)), Z0(() => import("./FormsTable-DMJEteY7-CP90OJYg.js")), Z0(() => Promise.resolve().then(() => VT0)), Z0(() => import("./Observations-CKw5OQxh-DVOOzXG8.js")), Z0(
163934
163940
  () => Promise.resolve().then(() => QT0)
163935
163941
  ), Z0(
163936
163942
  () => Promise.resolve().then(() => q$0)
@@ -165866,7 +165872,7 @@ var tk0 = (t, e = !1) => {
165866
165872
  const e = eRe(() => {
165867
165873
  const r = this, [o] = this.#n, [a] = this.#o, [c] = this.#a, [l] = this.#c, [i] = this.#p, [s] = this.#t;
165868
165874
  let d;
165869
- return this.#l ? d = this.#l : (d = QDe(() => import("./LNWAZHJI-Cy17F8QB.js")), this.#l = d), ERe(this.#h, this.#r), GDe(d, JDe({
165875
+ return this.#l ? d = this.#l : (d = QDe(() => import("./LNWAZHJI-BgY0XGmk.js")), this.#l = d), ERe(this.#h, this.#r), GDe(d, JDe({
165870
165876
  get queryFlavor() {
165871
165877
  return r.#d;
165872
165878
  },
@@ -165964,7 +165970,7 @@ var tk0 = (t, e = !1) => {
165964
165970
  const e = eRe(() => {
165965
165971
  const r = this, [o] = this.#n, [a] = this.#o, [c] = this.#a, [l] = this.#c, [i] = this.#p, [s] = this.#t, [d] = this.#l;
165966
165972
  let u;
165967
- return this.#i ? u = this.#i : (u = QDe(() => import("./MWZ6AO7Z-CYMw9dey.js")), this.#i = u), ERe(this.#h, this.#r), GDe(u, JDe({
165973
+ return this.#i ? u = this.#i : (u = QDe(() => import("./MWZ6AO7Z-DLWYcD0I.js")), this.#i = u), ERe(this.#h, this.#r), GDe(u, JDe({
165968
165974
  get queryFlavor() {
165969
165975
  return r.#d;
165970
165976
  },
@@ -166094,7 +166100,7 @@ const aR0 = {
166094
166100
  }
166095
166101
  }
166096
166102
  }, cR0 = "home", ck0 = "/bahmni/home/index.html#/login", lk0 = "/bahmni/home/index.html#/changePassword", ik0 = 6, lR0 = Z0(
166097
- () => import("./index-DCV8zplb.js").then((t) => ({
166103
+ () => import("./index-C41R8NHV.js").then((t) => ({
166098
166104
  default: t.HomePage
166099
166105
  }))
166100
166106
  ), iR0 = [
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { aJ as a } from "./index-DAATtEkD.js";
1
+ import { aJ as a } from "./index-Dv1mIf-k.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.271",
3
+ "version": "0.0.1-dev.272",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",