@bahmni/clinical-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-D8R0WjHJ.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-B_HaVKz0.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-D8R0WjHJ.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-B_HaVKz0.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-DXiOE6PS.js";
2
- import { p, q as d, r as e } from "./index-D8R0WjHJ.js";
1
+ import { c, T as l, P as m, a as u, D as v, Q as i } from "./YPM2AS64-Dtj_1qPH.js";
2
+ import { p, q as d, r as e } from "./index-B_HaVKz0.js";
3
3
  var f = (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-DXiOE6PS.js";
2
- import { p as v, q as C, r as e } from "./index-D8R0WjHJ.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-Dtj_1qPH.js";
2
+ import { p as v, q as C, r as e } from "./index-B_HaVKz0.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-D8R0WjHJ.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-B_HaVKz0.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 { v as we, x as z, B as xt, D as B, q, r as y, P as Ro, E as ye, F as R, H as _, I as k, L as N, N as A, O as bs, U as ir, V as $e, W as U, Z as Hn, _ as Vn, $ as dt, a0 as D, a1 as xs, a2 as cn, a3 as Be, a4 as ws, a5 as qt, a6 as zt, a7 as $s, a8 as Cs, a9 as $n, aa as Ss, ab as Nr, ac as Bt, ad as zo, ae as ks, af as Es, ag as j, ah as Ur, ai as Ms, aj as Ds, ak as sr, al as As, am as Ts, an as zn, ao as Fs, ap as Is, aq as Z, ar as Ps, as as Ls } from "./index-D8R0WjHJ.js";
1
+ import { v as we, x as z, B as xt, D as B, q, r as y, P as Ro, E as ye, F as R, H as _, I as k, L as N, N as A, O as bs, U as ir, V as $e, W as U, Z as Hn, _ as Vn, $ as dt, a0 as D, a1 as xs, a2 as cn, a3 as Be, a4 as ws, a5 as qt, a6 as zt, a7 as $s, a8 as Cs, a9 as $n, aa as Ss, ab as Nr, ac as Bt, ad as zo, ae as ks, af as Es, ag as j, ah as Ur, ai as Ms, aj as Ds, ak as sr, al as As, am as Ts, an as zn, ao as Fs, ap as Is, aq as Z, ar as Ps, as as Ls } from "./index-B_HaVKz0.js";
2
2
  var Os = (e) => e != null, qs = (e) => e.filter(Os);
3
3
  function _s(e) {
4
4
  return (...t) => {
@@ -60916,14 +60916,15 @@ const lU1 = "_bahmniIcon_1cg5e_1", iU1 = "_paddingNone_1cg5e_1", sU1 = "_padding
60916
60916
  id: r,
60917
60917
  ariaLabel: a = r,
60918
60918
  padding: l = b0$1.XXSMALL,
60919
- testId: c
60919
+ testId: c,
60920
+ fixedWidth: g = !1
60920
60921
  }) => {
60921
- const g = uU1(l);
60922
+ const A = uU1(l);
60922
60923
  if (!(!t || !/^fas?-[a-zA-Z0-9_-]+$/.test(t)))
60923
60924
  return /* @__PURE__ */ jsx(
60924
60925
  "span",
60925
60926
  {
60926
- className: `${be.bahmniIcon} ${g}`,
60927
+ className: `${be.bahmniIcon} ${A}`,
60927
60928
  id: r,
60928
60929
  "data-testid": c,
60929
60930
  role: a ? "img" : void 0,
@@ -60934,6 +60935,7 @@ const lU1 = "_bahmniIcon_1cg5e_1", iU1 = "_paddingNone_1cg5e_1", sU1 = "_padding
60934
60935
  icon: ["fas", t],
60935
60936
  size: e,
60936
60937
  color: n,
60938
+ fixedWidth: g,
60937
60939
  "data-testid": r
60938
60940
  }
60939
60941
  )
@@ -70830,7 +70832,8 @@ const xp2 = o__default.memo(
70830
70832
  {
70831
70833
  name: z.icon,
70832
70834
  id: `sidebar-icon-${z.id}`,
70833
- size: qe$1.LG
70835
+ size: qe$1.LG,
70836
+ fixedWidth: !0
70834
70837
  }
70835
70838
  ),
70836
70839
  href: z.href ?? "#",
@@ -144459,14 +144462,15 @@ const DQe = "_bahmniIcon_1cg5e_1", RQe = "_paddingNone_1cg5e_1", SQe = "_padding
144459
144462
  id: r,
144460
144463
  ariaLabel: a = r,
144461
144464
  padding: l = sn.XXSMALL,
144462
- testId: c
144465
+ testId: c,
144466
+ fixedWidth: g = !1
144463
144467
  }) => {
144464
- const g = BQe(l);
144468
+ const A = BQe(l);
144465
144469
  if (!(!t || !/^fas?-[a-zA-Z0-9_-]+$/.test(t)))
144466
144470
  return /* @__PURE__ */ jsx(
144467
144471
  "span",
144468
144472
  {
144469
- className: `${Bn.bahmniIcon} ${g}`,
144473
+ className: `${Bn.bahmniIcon} ${A}`,
144470
144474
  id: r,
144471
144475
  "data-testid": c,
144472
144476
  role: a ? "img" : void 0,
@@ -144477,6 +144481,7 @@ const DQe = "_bahmniIcon_1cg5e_1", RQe = "_paddingNone_1cg5e_1", SQe = "_padding
144477
144481
  icon: ["fas", t],
144478
144482
  size: e,
144479
144483
  color: n,
144484
+ fixedWidth: g,
144480
144485
  "data-testid": r
144481
144486
  }
144482
144487
  )
@@ -145043,7 +145048,8 @@ const pXe = o__default.memo(
145043
145048
  {
145044
145049
  name: z.icon,
145045
145050
  id: `sidebar-icon-${z.id}`,
145046
- size: Hn.LG
145051
+ size: Hn.LG,
145052
+ fixedWidth: !0
145047
145053
  }
145048
145054
  ),
145049
145055
  href: z.href ?? "#",
@@ -169676,7 +169682,7 @@ const mpt = [
169676
169682
  },
169677
169683
  {
169678
169684
  type: "patientDocuments",
169679
- component: lazy$1(() => import("./DocumentsTable-BTIXt5P5-CK8zpcYa.js"))
169685
+ component: lazy$1(() => import("./DocumentsTable-CBd3EBSh-B0Zj0DsI.js"))
169680
169686
  },
169681
169687
  {
169682
169688
  type: "flowSheet",
@@ -169684,7 +169690,7 @@ const mpt = [
169684
169690
  },
169685
169691
  {
169686
169692
  type: "forms",
169687
- component: lazy$1(() => import("./FormsTable-Cg_0tmR0-B51_cvjz.js"))
169693
+ component: lazy$1(() => import("./FormsTable-DMJEteY7-CH7VTjPD.js"))
169688
169694
  },
169689
169695
  {
169690
169696
  type: "labOrders",
@@ -169692,7 +169698,7 @@ const mpt = [
169692
169698
  },
169693
169699
  {
169694
169700
  type: "observations",
169695
- component: lazy$1(() => import("./Observations-M8evq10v-_QtGzHj0.js"))
169701
+ component: lazy$1(() => import("./Observations-CKw5OQxh-Cxv1tuje.js"))
169696
169702
  },
169697
169703
  {
169698
169704
  type: "ordersControl",
@@ -171598,7 +171604,7 @@ var displayValue = (t, e = !1) => {
171598
171604
  const e = render(() => {
171599
171605
  const n = this, [r] = this.#r, [a] = this.#a, [l] = this.#o, [c] = this.#l, [g] = this.#p, [A] = this.#e;
171600
171606
  let w;
171601
- return this.#i ? w = this.#i : (w = lazy(() => import("./LNWAZHJI-CjmkXsJn.js")), this.#i = w), setupStyleSheet(this.#d, this.#n), createComponent(w, mergeProps({
171607
+ return this.#i ? w = this.#i : (w = lazy(() => import("./LNWAZHJI-BYPVMZUa.js")), this.#i = w), setupStyleSheet(this.#d, this.#n), createComponent(w, mergeProps({
171602
171608
  get queryFlavor() {
171603
171609
  return n.#f;
171604
171610
  },
@@ -171696,7 +171702,7 @@ var displayValue = (t, e = !1) => {
171696
171702
  const e = render(() => {
171697
171703
  const n = this, [r] = this.#r, [a] = this.#a, [l] = this.#o, [c] = this.#l, [g] = this.#p, [A] = this.#e, [w] = this.#i;
171698
171704
  let _;
171699
- return this.#s ? _ = this.#s : (_ = lazy(() => import("./MWZ6AO7Z-q_ktVxSr.js")), this.#s = _), setupStyleSheet(this.#d, this.#n), createComponent(_, mergeProps({
171705
+ return this.#s ? _ = this.#s : (_ = lazy(() => import("./MWZ6AO7Z-CrT3pooj.js")), this.#s = _), setupStyleSheet(this.#d, this.#n), createComponent(_, mergeProps({
171700
171706
  get queryFlavor() {
171701
171707
  return n.#f;
171702
171708
  },
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { at as i } from "./index-D8R0WjHJ.js";
1
+ import { at as i } from "./index-B_HaVKz0.js";
2
2
  export {
3
3
  i as ClinicalApp
4
4
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bahmni/clinical-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",