@bahmni/clinical-app 0.0.1-dev.335 → 0.0.1-dev.337

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 { a as G, u as W, q as Y, p as J, $ as X, v as Z, R as ee, b as te } from "./index-C138nX-J.js";
2
+ import { a as G, u as W, q as Y, p as J, $ as X, v as Z, R as ee, b as te } from "./index-BhAxGLgK.js";
3
3
  import { useQuery as ae } from "@tanstack/react-query";
4
4
  import { useState as l, useCallback as h, useEffect as I, 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", me = "DocumentsTable-module_attachmentError__RI4U2", ce = "DocumentsTable-module_documentIframe__ptq5I", le = "DocumentsTable-module_documentImage__KQVgS", d = {
@@ -1,5 +1,5 @@
1
1
  import { jsx as i, jsxs as re, Fragment as oe } from "react/jsx-runtime";
2
- import { u as ae, a as se, c as te, h as ne, d as de, e as ie, f as le, U as me, l as ce, g as q, v as ue, $ as fe, R as $, _ as ye, A as he, b as be, i as pe } from "./index-C138nX-J.js";
2
+ import { u as ae, a as se, c as te, h as ne, d as de, e as ie, f as le, U as me, l as ce, g as q, v as ue, $ as fe, R as $, _ as ye, A as he, b as be, i as pe } from "./index-BhAxGLgK.js";
3
3
  import { useQueryClient as ge, useQuery as y } from "@tanstack/react-query";
4
4
  import { useState as k, useMemo as d, useCallback as h } from "react";
5
5
  const Ne = "FormsTable-module_formsTableBody__SvGha", Ae = "FormsTable-module_customAccordianItem__isszs", O = {
@@ -1,5 +1,5 @@
1
- import { c, T as l, P as m, a as u, D as v, Q as i } from "./YPM2AS64-DkhAJCNw.js";
2
- import { bH as d, bI as f, bJ as e } from "./index-C138nX-J.js";
1
+ import { c, T as l, P as m, a as u, D as v, Q as i } from "./YPM2AS64-D5iZtkwN.js";
2
+ import { bH as d, bI as f, bJ as e } from "./index-BhAxGLgK.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-DkhAJCNw.js";
2
- import { bH as v, bI as C, bJ as e } from "./index-C138nX-J.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-D5iZtkwN.js";
2
+ import { bH as v, bI as C, bJ as e } from "./index-BhAxGLgK.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 u } from "react/jsx-runtime";
2
- import { a as B, q as K, u as N, s as M, j as k, U as H, y as j, H as w, M as x, k as G, R as z, E as P, F, V as W, m as J, n as X, o as Y, W as Z, r as ee } from "./index-C138nX-J.js";
2
+ import { a as B, q as K, u as N, s as M, j as k, U as H, y as j, H as w, M as x, k as G, R as z, E as P, F, V as W, m as J, n as X, o as Y, W as Z, r as ee } from "./index-BhAxGLgK.js";
3
3
  import { useQueries as ae, useQuery as te } from "@tanstack/react-query";
4
4
  import { useRef as se, useEffect as _, useMemo as R } from "react";
5
5
  const Q = (a, n, d, l, b, r) => {
@@ -1,4 +1,4 @@
1
- import { bK as we, bL as z, bM as xt, bN as B, bI as q, bJ as y, bO as Ro, bP as ye, bQ as R, bR as _, bS as k, bT as N, bU as A, bV as bs, bW as ir, bX as $e, bY as U, bZ as Hn, b_ as Vn, b$ as dt, c0 as D, c1 as xs, c2 as cn, c3 as Be, c4 as ws, c5 as qt, c6 as zt, c7 as $s, c8 as Cs, c9 as $n, ca as Ss, cb as Nr, cc as Bt, cd as zo, ce as ks, cf as Es, cg as j, ch as Ur, ci as Ms, cj as Ds, ck as sr, cl as As, cm as Ts, cn as zn, co as Fs, cp as Is, cq as Z, cr as Ps, cs as Ls } from "./index-C138nX-J.js";
1
+ import { bK as we, bL as z, bM as xt, bN as B, bI as q, bJ as y, bO as Ro, bP as ye, bQ as R, bR as _, bS as k, bT as N, bU as A, bV as bs, bW as ir, bX as $e, bY as U, bZ as Hn, b_ as Vn, b$ as dt, c0 as D, c1 as xs, c2 as cn, c3 as Be, c4 as ws, c5 as qt, c6 as zt, c7 as $s, c8 as Cs, c9 as $n, ca as Ss, cb as Nr, cc as Bt, cd as zo, ce as ks, cf as Es, cg as j, ch as Ur, ci as Ms, cj as Ds, ck as sr, cl as As, cm as Ts, cn as zn, co as Fs, cp as Is, cq as Z, cr as Ps, cs as Ls } from "./index-BhAxGLgK.js";
2
2
  var Os = (e) => e != null, qs = (e) => e.filter(Os);
3
3
  function _s(e) {
4
4
  return (...t) => {
@@ -1,4 +1,4 @@
1
- import { bF as i, bG as o } from "./index-C138nX-J.js";
1
+ import { bF as i, bG as o } from "./index-BhAxGLgK.js";
2
2
  import "react";
3
3
  const l = i(
4
4
  o,
@@ -1,5 +1,5 @@
1
1
  import { jsxs as d, jsx as e } from "react/jsx-runtime";
2
- import { u as r, ct as o, cu as l, cv as c, b4 as m, b5 as g, cw as h, cx as b, cy as u, aF as p } from "./index-C138nX-J.js";
2
+ import { u as r, ct as o, cu as l, cv as c, b4 as m, b5 as g, cw as h, cx as b, cy as u, aF as p } from "./index-BhAxGLgK.js";
3
3
  import { Suspense as $ } from "react";
4
4
  const _ = "index-module_loading__FAL7n", E = "index-module_message__KjCnF", t = {
5
5
  loading: _,
@@ -1,7 +1,7 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
- import { by as m, u, aM as b, bv as f, bE as p, aF as _, bB as x } from "./index-C138nX-J.js";
2
+ import { by as m, u, aM as b, bv as f, bE as p, aF as _, bB as x } from "./index-BhAxGLgK.js";
3
3
  import { lazy as N, useMemo as r, Suspense as h } from "react";
4
- import { u as E } from "./hook-Cv0cI5FK.js";
4
+ import { u as E } from "./hook-DJbi6Kw5.js";
5
5
  const P = (s) => {
6
6
  const i = /* @__PURE__ */ new Map();
7
7
  for (const e of s) {
@@ -13,7 +13,7 @@ const P = (s) => {
13
13
  (e) => !e.requiredPrivileges || e.requiredPrivileges.length === 0 || m(i, e.requiredPrivileges)
14
14
  ), C = {
15
15
  "org.bahmni.clinical.v2.search": N(
16
- () => import("./index-tibyzss_.js")
16
+ () => import("./index-Af1212xD.js")
17
17
  )
18
18
  }, L = "index-module_page__16xxw", y = "index-module_loading__wNI-4", I = "index-module_tabs__ZZv8Y", B = "index-module_message__Ib5Iw", o = {
19
19
  page: L,
@@ -74437,10 +74437,10 @@ const c20 = () => {
74437
74437
  );
74438
74438
  }
74439
74439
  };
74440
- }, BV = c20(), i20 = (t) => `${Ht}/concept?s=byFullySpecifiedName&name=${encodeURIComponent(t)}`, s20 = "SHORT", d20 = "FULLY_SPECIFIED";
74441
- async function oZt(t) {
74442
- const e = i20(t), r = await Z2(e);
74443
- return !r.results || r.results.length === 0 ? null : r.results[0];
74440
+ }, BV = c20(), i20 = (t, e) => `${Ht}/concept?s=byFullySpecifiedName&name=${encodeURIComponent(t)}`, s20 = "SHORT", d20 = "FULLY_SPECIFIED";
74441
+ async function oZt(t, e) {
74442
+ const r = i20(t), o = await Z2(r);
74443
+ return !o.results || o.results.length === 0 ? null : o.results[0];
74444
74444
  }
74445
74445
  function u20(t) {
74446
74446
  if (!t?.length) return null;
@@ -107235,7 +107235,7 @@ const uE0 = [
107235
107235
  },
107236
107236
  {
107237
107237
  type: "patientDocuments",
107238
- component: $0(() => import("./DocumentsTable-CTusNB7B-5_YdZ5je.js"))
107238
+ component: $0(() => import("./DocumentsTable-B8kKM-VS-Pp26dnT7.js"))
107239
107239
  },
107240
107240
  {
107241
107241
  type: "flowSheet",
@@ -107243,7 +107243,7 @@ const uE0 = [
107243
107243
  },
107244
107244
  {
107245
107245
  type: "forms",
107246
- component: $0(() => import("./FormsTable-BG5HiaLE-im8Ar32o.js"))
107246
+ component: $0(() => import("./FormsTable-Bx36hODf-Bsr_ECOK.js"))
107247
107247
  },
107248
107248
  {
107249
107249
  type: "labOrders",
@@ -107251,7 +107251,7 @@ const uE0 = [
107251
107251
  },
107252
107252
  {
107253
107253
  type: "observations",
107254
- component: $0(() => import("./Observations-CMEosjHX-BI6TDN96.js"))
107254
+ component: $0(() => import("./Observations-DrShFy9o-CjfhzsJX.js"))
107255
107255
  },
107256
107256
  {
107257
107257
  type: "ordersControl",
@@ -191520,8 +191520,16 @@ const G52 = () => {
191520
191520
  }) => /* @__PURE__ */ G(E32, { ...r, "data-testid": t, children: e }), DLt = ({
191521
191521
  testId: t,
191522
191522
  "data-testid": e,
191523
- ...r
191524
- }) => /* @__PURE__ */ G(o32, { ...r, "data-testid": t ?? e }), RLt = ({
191523
+ disableWheel: r = !0,
191524
+ ...o
191525
+ }) => /* @__PURE__ */ G(
191526
+ o32,
191527
+ {
191528
+ ...o,
191529
+ disableWheel: r,
191530
+ "data-testid": t ?? e
191531
+ }
191532
+ ), RLt = ({
191525
191533
  testId: t,
191526
191534
  "data-testid": e,
191527
191535
  selectedItem: r,
@@ -199775,7 +199783,7 @@ var OIt = (t, e = !1) => {
199775
199783
  const e = Y82(() => {
199776
199784
  const r = this, [o] = this.#n, [a] = this.#o, [l] = this.#a, [c] = this.#l, [i] = this.#p, [s] = this.#e;
199777
199785
  let d;
199778
- return this.#c ? d = this.#c : (d = G82(() => import("./LNWAZHJI-B1DpK-b9.js")), this.#c = d), m92(this.#h, this.#r), U82(d, W82({
199786
+ return this.#c ? d = this.#c : (d = G82(() => import("./LNWAZHJI-B7WitnCW.js")), this.#c = d), m92(this.#h, this.#r), U82(d, W82({
199779
199787
  get queryFlavor() {
199780
199788
  return r.#d;
199781
199789
  },
@@ -199873,7 +199881,7 @@ var OIt = (t, e = !1) => {
199873
199881
  const e = Y82(() => {
199874
199882
  const r = this, [o] = this.#n, [a] = this.#o, [l] = this.#a, [c] = this.#l, [i] = this.#p, [s] = this.#e, [d] = this.#c;
199875
199883
  let u;
199876
- return this.#i ? u = this.#i : (u = G82(() => import("./MWZ6AO7Z-CTwv7l73.js")), this.#i = u), m92(this.#h, this.#r), U82(u, W82({
199884
+ return this.#i ? u = this.#i : (u = G82(() => import("./MWZ6AO7Z-D9mUBUlh.js")), this.#i = u), m92(this.#h, this.#r), U82(u, W82({
199877
199885
  get queryFlavor() {
199878
199886
  return r.#d;
199879
199887
  },
@@ -200029,7 +200037,7 @@ const sSt = {
200029
200037
  id: "clinical-config",
200030
200038
  name: "Clinical Config",
200031
200039
  displayName: "ClinicalConfigProvider"
200032
- }), zSt = $0(() => import("./ConsultationPage-pneL7CYh.js")), HSt = $0(() => import("./index-D54kRayW.js")), xSt = [
200040
+ }), zSt = $0(() => import("./ConsultationPage-BYzdBFxA.js")), HSt = $0(() => import("./index-B_idIMN-.js")), xSt = [
200033
200041
  {
200034
200042
  path: ":patientUuid",
200035
200043
  component: zSt
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { cz as c } from "./index-C138nX-J.js";
1
+ import { cz as c } from "./index-BhAxGLgK.js";
2
2
  export {
3
3
  c 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.335",
3
+ "version": "0.0.1-dev.337",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",