@bahmni/clinical-app 0.0.1-dev.209 → 0.0.1-dev.210

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 Y } from "react/jsx-runtime";
2
- import { c as K, u as Q, e as W, a as X, V as J, C as Z, x as ee, L as te, b as ae } from "./index-BdcGJu2c.js";
2
+ import { c as K, u as Q, e as W, a as X, V as J, C as Z, x as ee, L as te, b as ae } from "./index-DG_Dh38u.js";
3
3
  import { useState as l, useCallback as h, useEffect as C, useMemo as T } from "react";
4
4
  const ne = "_documentsTableBody_1voj8_1", oe = "_viewAttachmentsLink_1voj8_11", re = "_documentViewerContainer_1voj8_15", de = "_attachmentItem_1voj8_23", se = "_attachmentCounter_1voj8_27", ce = "_attachmentError_1voj8_36", ie = "_documentIframe_1voj8_44", le = "_documentImage_1voj8_50", d = {
5
5
  documentsTableBody: ne,
@@ -37,7 +37,7 @@ const _e = [
37
37
  null
38
38
  ), [R, f] = l(
39
39
  /* @__PURE__ */ new Set()
40
- ), g = K(), { t: n } = Q(), { addNotification: U } = W(), $ = Number(a?.pageSize) || 10, [I, A] = l(1), [m, V] = l($), [k, y] = l(void 0), b = h((e) => {
40
+ ), g = K(), { t: n } = Q(), { addNotification: U } = W(), $ = Number(a?.pageSize) || 5, [I, A] = l(1), [m, V] = l($), [k, y] = l(void 0), b = h((e) => {
41
41
  w(e), L(!0);
42
42
  }, []), F = h(() => {
43
43
  L(!1), w(null), f(/* @__PURE__ */ new Set());
@@ -1,5 +1,5 @@
1
1
  import { jsx as o, jsxs as p, Fragment as P } from "react/jsx-runtime";
2
- import { u as O, c as ae, d as te, f as oe, a as L, w as ne, C as se, V as de, x as q, Z as me, k as ie, L as le, D as ce, g as k, o as ue, G as K, M as A, t as be, $ as pe, I as _e, S as fe, n as $e, l as he, i as ge, s as ve, h as ye } from "./index-BdcGJu2c.js";
2
+ import { u as O, c as ae, d as te, f as oe, a as L, w as ne, C as se, V as de, x as q, Z as me, k as ie, L as le, D as ce, g as k, o as ue, G as K, M as A, t as be, $ as pe, I as _e, S as fe, n as $e, l as he, i as ge, s as ve, h as ye } from "./index-DG_Dh38u.js";
3
3
  import { useState as H, useMemo as v, useCallback as C } from "react";
4
4
  const Ne = "_formsTableBody_1pd36_1", Le = "_customAccordianItem_1pd36_6", Ce = "_formContent_1pd36_18", Ae = "_formDetailsContainer_1pd36_25", Fe = "_observation_1pd36_30", Re = "_groupContainer_1pd36_39", Ie = "_rowContainer_1pd36_43", Me = "_groupLabel_1pd36_48", Oe = "_rowLabel_1pd36_58", Te = "_rowValue_1pd36_67", De = "_groupMembers_1pd36_75", Se = "_memberRow_1pd36_81", Ve = "_memberLabel_1pd36_86", we = "_memberValue_1pd36_94", xe = "_abnormalValue_1pd36_102", Ee = "_commentSection_1pd36_110", Be = "_commentText_1pd36_116", Ge = "_nestedGroup_1pd36_125", Ue = "_nestedGroupLabel_1pd36_132", qe = "_nestedGroupMembers_1pd36_141", n = {
5
5
  formsTableBody: Ne,
@@ -1,5 +1,5 @@
1
- import { c, T as l, P as m, a as u, D as v, Q as i } from "./YPM2AS64-6Bwyz3g6.js";
2
- import { B as d, E as f, F as e } from "./index-BdcGJu2c.js";
1
+ import { c, T as l, P as m, a as u, D as v, Q as i } from "./YPM2AS64-B2gzxi0g.js";
2
+ import { B as d, E as f, F as e } from "./index-DG_Dh38u.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-6Bwyz3g6.js";
2
- import { B as v, E as C, F as e } from "./index-BdcGJu2c.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-B2gzxi0g.js";
2
+ import { B as v, E as C, F as e } from "./index-DG_Dh38u.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 T, jsx as l } from "react/jsx-runtime";
2
- import { c as V, e as k, u as S, j as w, r as x, a as K, w as Q, o as j, m as z, p as G, y as H, x as M, q as P, R as N, v as Y, t as J, z as W, $ as X, I as Z, S as ee, A as te } from "./index-BdcGJu2c.js";
2
+ import { c as V, e as k, u as S, j as w, r as x, a as K, w as Q, o as j, m as z, p as G, y as H, x as M, q as P, R as N, v as Y, t as J, z as W, $ as X, I as Z, S as ee, A as te } from "./index-DG_Dh38u.js";
3
3
  import { useRef as ae, useEffect as _, useMemo as h } from "react";
4
4
  const q = (t, d, i, u, r) => {
5
5
  const a = Y(t, d, r), s = a.value, o = J(s);
@@ -1,4 +1,4 @@
1
- import { H as we, J as z, K as xt, N as B, E as q, F as y, P as Ro, O as ye, Q as R, T as _, U as k, W as N, X as A, Y as bs, _ as ir, a0 as $e, a1 as U, a2 as Hn, a3 as Vn, a4 as dt, a5 as D, a6 as xs, a7 as cn, a8 as Be, a9 as ws, aa as qt, ab as zt, ac as $s, ad as Cs, ae as $n, af as Ss, ag as Nr, ah as Bt, ai as zo, aj as ks, ak as Es, al as j, am as Ur, an as Ms, ao as Ds, ap as sr, aq as As, ar as Ts, as as zn, at as Fs, au as Is, av as Z, aw as Ps, ax as Os } from "./index-BdcGJu2c.js";
1
+ import { H as we, J as z, K as xt, N as B, E as q, F as y, P as Ro, O as ye, Q as R, T as _, U as k, W as N, X as A, Y as bs, _ as ir, a0 as $e, a1 as U, a2 as Hn, a3 as Vn, a4 as dt, a5 as D, a6 as xs, a7 as cn, a8 as Be, a9 as ws, aa as qt, ab as zt, ac as $s, ad as Cs, ae as $n, af as Ss, ag as Nr, ah as Bt, ai as zo, aj as ks, ak as Es, al as j, am as Ur, an as Ms, ao as Ds, ap as sr, aq as As, ar as Ts, as as zn, at as Fs, au as Is, av as Z, aw as Ps, ax as Os } from "./index-DG_Dh38u.js";
2
2
  var Ls = (e) => e != null, qs = (e) => e.filter(Ls);
3
3
  function _s(e) {
4
4
  return (...t) => {
@@ -145843,7 +145843,7 @@ const hqe = "_bahmniIcon_1cg5e_1", pqe = "_paddingNone_1cg5e_1", fqe = "_padding
145843
145843
  children: d
145844
145844
  }
145845
145845
  );
145846
- const O = new Map(e.map((k) => [k.id, k])), $ = g !== void 0 && (C !== void 0 ? C > g : e.length > g);
145846
+ const O = new Map(e.map((k) => [k.id, k])), $ = g !== void 0;
145847
145847
  return /* @__PURE__ */ jsxs(
145848
145848
  "div",
145849
145849
  {
@@ -159680,7 +159680,7 @@ function Xet(n) {
159680
159680
  });
159681
159681
  }
159682
159682
  const ett = ({ config: n }) => {
159683
- const e = Number(n?.pageSize) || 10, r = c1(), { t: a } = useTranslation(), { addNotification: l } = e1(), [f, d] = useState(1), [p, m] = useState(e), { data: A, isLoading: g, isError: w, error: E, refetch: C } = useQuery({
159683
+ const e = Number(n?.pageSize) || 5, r = c1(), { t: a } = useTranslation(), { addNotification: l } = e1(), [f, d] = useState(1), [p, m] = useState(e), { data: A, isLoading: g, isError: w, error: E, refetch: C } = useQuery({
159684
159684
  queryKey: ["conditions", r, f, p],
159685
159685
  enabled: !!r,
159686
159686
  placeholderData: (V) => V,
@@ -159788,7 +159788,7 @@ const ett = ({ config: n }) => {
159788
159788
  confirmedCell: att,
159789
159789
  provisionalCell: itt
159790
159790
  }, stt = ({ config: n }) => {
159791
- const e = Number(n?.pageSize) || 10, { t: r } = useTranslation(), a = c1(), { addNotification: l } = e1(), [f, d] = useState(1), [p, m] = useState(e), { data: A, isLoading: g, isError: w, error: E, refetch: C } = useQuery({
159791
+ const e = Number(n?.pageSize) || 5, { t: r } = useTranslation(), a = c1(), { addNotification: l } = e1(), [f, d] = useState(1), [p, m] = useState(e), { data: A, isLoading: g, isError: w, error: E, refetch: C } = useQuery({
159792
159792
  queryKey: ["diagnoses", a, f, p],
159793
159793
  enabled: !!a,
159794
159794
  placeholderData: (v) => v,
@@ -162353,7 +162353,7 @@ function ant(n, e) {
162353
162353
  }));
162354
162354
  }
162355
162355
  const int = ({ config: n }) => {
162356
- const { t: e } = useTranslation(), r = c1(), a = Number(n?.pageSize) || 15, [l, f] = useState(1), [d, p] = useState(a), m = useMemo(
162356
+ const { t: e } = useTranslation(), r = c1(), a = Number(n?.pageSize) || 5, [l, f] = useState(1), [d, p] = useState(a), m = useMemo(
162357
162357
  () => nnt(n?.fields ?? []),
162358
162358
  [n?.fields]
162359
162359
  ), { data: A, isLoading: g, isError: w } = useQuery({
@@ -162887,7 +162887,7 @@ const xnt = [
162887
162887
  },
162888
162888
  {
162889
162889
  type: "patientDocuments",
162890
- component: lazy$1(() => import("./DocumentsTable-D76ekIcO-B9GQDHf2.js"))
162890
+ component: lazy$1(() => import("./DocumentsTable-BxEpAJXn-DhFHaFO8.js"))
162891
162891
  },
162892
162892
  {
162893
162893
  type: "flowSheet",
@@ -162895,7 +162895,7 @@ const xnt = [
162895
162895
  },
162896
162896
  {
162897
162897
  type: "forms",
162898
- component: lazy$1(() => import("./FormsTable-qUtc8I5l-CDVIWJ0i.js"))
162898
+ component: lazy$1(() => import("./FormsTable-CB6ab-uN-VvP0xy6v.js"))
162899
162899
  },
162900
162900
  {
162901
162901
  type: "labOrders",
@@ -162903,7 +162903,7 @@ const xnt = [
162903
162903
  },
162904
162904
  {
162905
162905
  type: "observations",
162906
- component: lazy$1(() => import("./Observations-CdYZgPQ1-Dw_AUSTl.js"))
162906
+ component: lazy$1(() => import("./Observations-B-3a239G-Bl-UFH39.js"))
162907
162907
  },
162908
162908
  {
162909
162909
  type: "ordersControl",
@@ -164804,7 +164804,7 @@ var displayValue = (n, e = !1) => {
164804
164804
  const e = render(() => {
164805
164805
  const r = this, [a] = this.#o, [l] = this.#d, [f] = this.#f, [d] = this.#u, [p] = this.#h, [m] = this.#t;
164806
164806
  let A;
164807
- return this.#s ? A = this.#s : (A = lazy(() => import("./LNWAZHJI-BSNlx7i_.js")), this.#s = A), setupStyleSheet(this.#i, this.#l), createComponent(A, mergeProps({
164807
+ return this.#s ? A = this.#s : (A = lazy(() => import("./LNWAZHJI-B7fXMUAN.js")), this.#s = A), setupStyleSheet(this.#i, this.#l), createComponent(A, mergeProps({
164808
164808
  get queryFlavor() {
164809
164809
  return r.#n;
164810
164810
  },
@@ -164902,7 +164902,7 @@ var displayValue = (n, e = !1) => {
164902
164902
  const e = render(() => {
164903
164903
  const r = this, [a] = this.#o, [l] = this.#d, [f] = this.#f, [d] = this.#u, [p] = this.#h, [m] = this.#t, [A] = this.#s;
164904
164904
  let g;
164905
- return this.#c ? g = this.#c : (g = lazy(() => import("./MWZ6AO7Z-C6UiK4t3.js")), this.#c = g), setupStyleSheet(this.#i, this.#l), createComponent(g, mergeProps({
164905
+ return this.#c ? g = this.#c : (g = lazy(() => import("./MWZ6AO7Z-tIAhGyxb.js")), this.#c = g), setupStyleSheet(this.#i, this.#l), createComponent(g, mergeProps({
164906
164906
  get queryFlavor() {
164907
164907
  return r.#n;
164908
164908
  },
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { ay as i } from "./index-BdcGJu2c.js";
1
+ import { ay as i } from "./index-DG_Dh38u.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.209",
3
+ "version": "0.0.1-dev.210",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",