@bahmni/widgets 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 T, Fragment as Y } from "react/jsx-runtime";
2
- import { u as W, a as X, p as J, b as Z, T as x, m as ee, y as te } from "./index-CG6CxLD9.js";
2
+ import { u as W, a as X, p as J, b as Z, T as x, m as ee, y as te } from "./index-Deay0cXM.js";
3
3
  import { useQuery as ne } from "@tanstack/react-query";
4
4
  import { useState as m, useCallback as p, useEffect as I, useMemo as _ } from "react";
5
5
  import { useTranslation as ae } from "react-i18next";
@@ -1,5 +1,5 @@
1
1
  import { jsx as n, jsxs as Z, Fragment as ee } from "react/jsx-runtime";
2
- import { z as re, u as te, D as oe, K as ae, Y as se, G as ne, I as de, c as ie, M as U, T as me, b as le, m as x, e as ce, t as ue, y as fe, O as ye } from "./index-CG6CxLD9.js";
2
+ import { z as re, u as te, D as oe, K as ae, Y as se, G as ne, I as de, c as ie, M as U, T as me, b as le, m as x, e as ce, t as ue, y as fe, O as ye } from "./index-Deay0cXM.js";
3
3
  import { useQueryClient as be, useQuery as y } from "@tanstack/react-query";
4
4
  import { useState as k, useMemo as d, useCallback as b } from "react";
5
5
  import { useTranslation as pe } from "react-i18next";
@@ -1,5 +1,5 @@
1
1
  import { jsx as l, jsxs as C } from "react/jsx-runtime";
2
- import { f as V, x as D, d as k, g as w, i as Q, h as q, j as G, k as P, u as j, a as z, l as H, n as J, c as Y, o as x, q as W, s as X, r as Z, m as ee } from "./index-CG6CxLD9.js";
2
+ import { f as V, x as D, d as k, g as w, i as Q, h as q, j as G, k as P, u as j, a as z, l as H, n as J, c as Y, o as x, q as W, s as X, r as Z, m as ee } from "./index-Deay0cXM.js";
3
3
  import { useQueries as te, useQuery as se } from "@tanstack/react-query";
4
4
  import { useRef as oe, useEffect as S, useMemo as h } from "react";
5
5
  import { useTranslation as U } from "react-i18next";
@@ -62103,14 +62103,15 @@ const RQe = "_bahmniIcon_1cg5e_1", SQe = "_paddingNone_1cg5e_1", $Qe = "_padding
62103
62103
  id: n,
62104
62104
  ariaLabel: a = n,
62105
62105
  padding: i = sn.XXSMALL,
62106
- testId: s
62106
+ testId: s,
62107
+ fixedWidth: l = !1
62107
62108
  }) => {
62108
- const l = PQe(i);
62109
+ const c = PQe(i);
62109
62110
  if (!(!t || !/^fas?-[a-zA-Z0-9_-]+$/.test(t)))
62110
62111
  return /* @__PURE__ */ Y(
62111
62112
  "span",
62112
62113
  {
62113
- className: `${Bn.bahmniIcon} ${l}`,
62114
+ className: `${Bn.bahmniIcon} ${c}`,
62114
62115
  id: n,
62115
62116
  "data-testid": s,
62116
62117
  role: a ? "img" : void 0,
@@ -62121,6 +62122,7 @@ const RQe = "_bahmniIcon_1cg5e_1", SQe = "_paddingNone_1cg5e_1", $Qe = "_padding
62121
62122
  icon: ["fas", t],
62122
62123
  size: e,
62123
62124
  color: r,
62125
+ fixedWidth: l,
62124
62126
  "data-testid": n
62125
62127
  }
62126
62128
  )
@@ -62694,7 +62696,8 @@ const fXe = o.memo(
62694
62696
  {
62695
62697
  name: v.icon,
62696
62698
  id: `sidebar-icon-${v.id}`,
62697
- size: Hn.LG
62699
+ size: Hn.LG,
62700
+ fixedWidth: !0
62698
62701
  }
62699
62702
  ),
62700
62703
  href: v.href ?? "#",
@@ -87540,7 +87543,7 @@ const wpt = [
87540
87543
  },
87541
87544
  {
87542
87545
  type: "patientDocuments",
87543
- component: Br(() => import("./DocumentsTable-Blmvrcxt.js"))
87546
+ component: Br(() => import("./DocumentsTable-H0tLHUoA.js"))
87544
87547
  },
87545
87548
  {
87546
87549
  type: "flowSheet",
@@ -87548,7 +87551,7 @@ const wpt = [
87548
87551
  },
87549
87552
  {
87550
87553
  type: "forms",
87551
- component: Br(() => import("./FormsTable-ln6iYzAc.js"))
87554
+ component: Br(() => import("./FormsTable-DAwiJxLP.js"))
87552
87555
  },
87553
87556
  {
87554
87557
  type: "labOrders",
@@ -87556,7 +87559,7 @@ const wpt = [
87556
87559
  },
87557
87560
  {
87558
87561
  type: "observations",
87559
- component: Br(() => import("./Observations-aatDTD34.js"))
87562
+ component: Br(() => import("./Observations-DZKCRd34.js"))
87560
87563
  },
87561
87564
  {
87562
87565
  type: "ordersControl",
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { a3 as s, a1 as t, A as o, a0 as r, v as n, $ as g, w as l, C as c, B as P, H as d, N as v, L as C, ad as b, af as A, ag as T, E as f, U as m, W as p, O as u, P as I, J as L, Q as R, F as S, R as W, S as N, _ as U, V as y, a5 as D, a4 as x, ab as H, aa as O, a7 as h, a8 as E, a9 as V, a6 as _, ac as w, a2 as F, Z as G, ae as M, a as k, u as q, X as z } from "./index-CG6CxLD9.js";
1
+ import { a3 as s, a1 as t, A as o, a0 as r, v as n, $ as g, w as l, C as c, B as P, H as d, N as v, L as C, ad as b, af as A, ag as T, E as f, U as m, W as p, O as u, P as I, J as L, Q as R, F as S, R as W, S as N, _ as U, V as y, a5 as D, a4 as x, ab as H, aa as O, a7 as h, a8 as E, a9 as V, a6 as _, ac as w, a2 as F, Z as G, ae as M, a as k, u as q, X as z } from "./index-Deay0cXM.js";
2
2
  import "react";
3
3
  export {
4
4
  s as ActivePractitionerContext,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bahmni/widgets",
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",