@bahmni/clinical-app 0.0.1-dev.389 → 0.0.1-dev.390

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,10 +1,10 @@
1
1
  import { jsxs, jsx, Fragment } from "react/jsx-runtime";
2
- import { u as useTranslation, s as B, t as ENCOUNTER_CONCEPTS_URL, v as Yr, C as Ci, x as BAHMNI_USER_LOCATION_COOKIE_NAME, G as km, H as t8, g as g0, I as hb2, M as ub2, Q as sb2, S as Bx2, W as ol1, X as ab2, _ as CE, $ as Di, a0 as Cd, a1 as gE, a2 as Dd, a3 as vs, a4 as dist, a5 as yt, a6 as ge, a7 as ss, a8 as H_, a9 as eb, aa as tb, ab as mb2, ac as Cb2, ad as Nz2, L as L1, A as A3, ae as rb, af as Oy2, ag as Ky2, ah as Bb2, ai as _b2, aj as xb2, J as J01, ak as Ib, al as fb2, am as Xb, an as Ps, ao as Lb, ap as vv, aq as X_, ar as Yy2, as as ub, at as fb, au as CLINICAL_V2_CONFIG_BASE_URL, av as yb, aw as qE, ax as Qr, ay as hb, az as z_, aA as Tv, aB as aL2, aC as xb, aD as gb, aE as wb, aF as Ov, aG as ib2, aH as qv, aI as V_, aJ as Eb, aK as St, aL as jr, aM as Dv, aN as Mv, e as e2, aO as nv, aP as Mb, aQ as Fb, P as Pqt, aR as Rb2, aS as Ob2, aT as av, aU as ov, aV as ne, aW as STOP_REASON_VALUESET_EXPAND_URL, aX as wE, aY as STOP_REASON_VALUESET_TITLE, aZ as gf, a_ as es$2, a$ as Tb2, b0 as sv, b1 as cv, b2 as XE, b3 as F_, b4 as QE, b5 as an, b6 as N4, b7 as c3, b8 as Ab2, b9 as AE, ba as iv, bb as lv, bc as dv, bd as fv, be as Ii, bf as ns, bg as Yb, bh as ob, bi as Uv, bj as Rv, bk as Sv, bl as bv, bm as CDSS_SERVER_CONFIG_URL, bn as ib, bo as Mi, bp as R_, bq as Ze, br as Hb2, bs as tr1, bt as Eb2, bu as rw, bv as Gb, bw as Kb, bx as ob2, by as Hs1, bz as Qb, bA as Jb, bB as Wb, bC as k01, bD as S01, bE as e_, bF as Zb, bG as dE, bH as BAHMNI_CLINICAL_PATH, bI as IE, bJ as cw, bK as Vb2, bL as vb2, bM as Cz2, bN as Y11, bO as NE, bP as G01 } from "./index-C4xAP_NB.js";
2
+ import { u as useTranslation, s as B, t as ENCOUNTER_CONCEPTS_URL, v as Yr, C as Ci, x as BAHMNI_USER_LOCATION_COOKIE_NAME, G as km, H as t8, g as g0, I as hb2, M as ub2, Q as sb2, S as Bx2, W as ol1, X as ab2, _ as CE, $ as Di, a0 as Cd, a1 as gE, a2 as Dd, a3 as vs, a4 as dist, a5 as yt, a6 as ge, a7 as ss, a8 as H_, a9 as eb, aa as tb, ab as mb2, ac as Cb2, ad as Nz2, L as L1, A as A3, ae as rb, af as Oy2, ag as Ky2, ah as Bb2, ai as _b2, aj as xb2, J as J01, ak as Ib, al as fb2, am as Xb, an as Ps, ao as Lb, ap as vv, aq as X_, ar as Yy2, as as ub, at as fb, au as CLINICAL_V2_CONFIG_BASE_URL, av as yb, aw as qE, ax as Qr, ay as hb, az as z_, aA as Tv, aB as aL2, aC as xb, aD as gb, aE as wb, aF as Ov, aG as ib2, aH as qv, aI as V_, aJ as Eb, aK as St, aL as jr, aM as Dv, aN as Mv, e as e2, aO as nv, aP as Mb, aQ as Fb, P as Pqt, aR as Rb2, aS as Ob2, aT as av, aU as ov, aV as ne, aW as STOP_REASON_VALUESET_EXPAND_URL, aX as wE, aY as STOP_REASON_VALUESET_TITLE, aZ as gf, a_ as es$2, a$ as Tb2, b0 as sv, b1 as cv, b2 as XE, b3 as F_, b4 as QE, b5 as an, b6 as N4, b7 as c3, b8 as Ab2, b9 as AE, ba as iv, bb as lv, bc as dv, bd as fv, be as Ii, bf as ns, bg as Yb, bh as ob, bi as Uv, bj as Rv, bk as Sv, bl as bv, bm as CDSS_SERVER_CONFIG_URL, bn as ib, bo as Mi, bp as R_, bq as Ze, br as Hb2, bs as tr1, bt as Eb2, bu as rw, bv as Gb, bw as Kb, bx as ob2, by as Hs1, bz as Qb, bA as Jb, bB as Wb, bC as k01, bD as S01, bE as e_, bF as Zb, bG as dE, bH as BAHMNI_CLINICAL_PATH, bI as IE, bJ as cw, bK as Vb2, bL as vb2, bM as Cz2, bN as Y11, bO as NE, bP as G01 } from "./index-CXHgO9y6.js";
3
3
  import * as React from "react";
4
4
  import React__default, { createContext, useContext, useState, useCallback, useEffect, useMemo, Children, useRef, useLayoutEffect, forwardRef, isValidElement, cloneElement, useReducer, Component, useImperativeHandle, PureComponent, createRef, useSyncExternalStore, Suspense } from "react";
5
5
  import { useQuery, useQueries, useQueryClient } from "@tanstack/react-query";
6
6
  import { useNavigate, useSearchParams } from "react-router-dom";
7
- import { u as useClinicalConfig } from "./hook-Dm6MtAzF.js";
7
+ import { u as useClinicalConfig } from "./hook-LiFNx0WM.js";
8
8
  import * as ReactDOM from "react-dom";
9
9
  import ReactDOM__default, { createPortal } from "react-dom";
10
10
  var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
@@ -1,5 +1,5 @@
1
1
  import { jsx as r, jsxs as p, Fragment as x } from "react/jsx-runtime";
2
- import { g as G, u as W, L as Y, D as J, q as X, w as Z, K as ee, p as te } from "./index-C4xAP_NB.js";
2
+ import { g as G, u as W, L as Y, D as J, q as X, w as Z, K as ee, p as te } from "./index-CXHgO9y6.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 z, Fragment as ye } from "react/jsx-runtime";
2
- import { u as ge, g as be, A as Ne, e as Oe, a as Te, R as Ee, b as Ie, c as Ae, Z as _e, m as ve, d as Fe, P as Re, Y as $, w as Be, N as x, E as G, q as Se, K as Q, B as Le, f as Me, p as Ce, i as Ue, J as De } from "./index-C4xAP_NB.js";
2
+ import { u as ge, g as be, A as Ne, e as Oe, a as Te, R as Ee, b as Ie, c as Ae, Z as _e, m as ve, d as Fe, P as Re, Y as $, w as Be, N as x, E as G, q as Se, K as Q, B as Le, f as Me, p as Ce, i as Ue, J as De } from "./index-CXHgO9y6.js";
3
3
  import { useQueryClient as ke, useQuery as O } from "@tanstack/react-query";
4
4
  import { useState as Y, useMemo as d, useCallback as c } from "react";
5
5
  const qe = "FormsTable-module_formsTableBody__SvGha", we = "FormsTable-module_modalHeading__wnTmA", He = "FormsTable-module_customAccordianItem__isszs", T = {
@@ -1,5 +1,5 @@
1
- import { c, T as l, P as m, a as u, D as v, Q as i } from "./YPM2AS64-CsEMRxUC.js";
2
- import { bV as d, bW as f, bX as e } from "./index-C4xAP_NB.js";
1
+ import { c, T as l, P as m, a as u, D as v, Q as i } from "./YPM2AS64-BbcMrsEi.js";
2
+ import { bV as d, bW as f, bX as e } from "./index-CXHgO9y6.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-CsEMRxUC.js";
2
- import { bV as v, bW as C, bX as e } from "./index-C4xAP_NB.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-BbcMrsEi.js";
2
+ import { bV as v, bW as C, bX as e } from "./index-CXHgO9y6.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 { g as k, L as q, u as N, T as j, O as z, m as M, F as Q, j as w, U as x, l as G, K as H, h as P, k as F, n as J, z as Y, o as W, r as X, V as Z, y as ee } from "./index-C4xAP_NB.js";
2
+ import { g as k, L as q, u as N, T as j, O as z, m as M, F as Q, j as w, U as x, l as G, K as H, h as P, k as F, n as J, z as Y, o as W, r as X, V as Z, y as ee } from "./index-CXHgO9y6.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 L = (a, n, d, l, b, r) => {
@@ -1,4 +1,4 @@
1
- import { bY as we, bZ as z, b_ as xt, b$ as B, bW as q, bX as y, c0 as Ro, c1 as ye, c2 as R, c3 as _, c4 as k, c5 as N, c6 as A, c7 as bs, c8 as ir, c9 as $e, ca as G, cb as Hn, cc as Vn, cd as dt, ce as D, cf as xs, cg as cn, ch as Be, ci as ws, cj as qt, ck as zt, cl as $s, cm as Cs, cn as $n, co as Ss, cp as Nr, cq as Bt, cr as zo, cs as ks, ct as Es, cu as j, cv as Gr, cw as Ms, cx as Ds, cy as sr, cz as As, cA as Ts, cB as zn, cC as Fs, cD as Is, cE as Z, cF as Ps, cG as Ls } from "./index-C4xAP_NB.js";
1
+ import { bY as we, bZ as z, b_ as xt, b$ as B, bW as q, bX as y, c0 as Ro, c1 as ye, c2 as R, c3 as _, c4 as k, c5 as N, c6 as A, c7 as bs, c8 as ir, c9 as $e, ca as G, cb as Hn, cc as Vn, cd as dt, ce as D, cf as xs, cg as cn, ch as Be, ci as ws, cj as qt, ck as zt, cl as $s, cm as Cs, cn as $n, co as Ss, cp as Nr, cq as Bt, cr as zo, cs as ks, ct as Es, cu as j, cv as Gr, cw as Ms, cx as Ds, cy as sr, cz as As, cA as Ts, cB as zn, cC as Fs, cD as Is, cE as Z, cF as Ps, cG as Ls } from "./index-CXHgO9y6.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 { bT as i, bU as o } from "./index-C4xAP_NB.js";
1
+ import { bT as i, bU as o } from "./index-CXHgO9y6.js";
2
2
  import "react";
3
3
  import "react/jsx-runtime";
4
4
  import "@tanstack/react-query";
@@ -1,11 +1,11 @@
1
1
  import { jsx as s } from "react/jsx-runtime";
2
- import { u as g, e as u, bG as b, bQ as f, bR as p, bS as _, aG as x, bM as N } from "./index-C4xAP_NB.js";
2
+ import { u as g, e as u, bG as b, bQ as f, bR as p, bS as _, aG as x, bM as N } from "./index-CXHgO9y6.js";
3
3
  import { lazy as h, useMemo as n, Suspense as C } from "react";
4
4
  import "@tanstack/react-query";
5
- import { u as E } from "./hook-Dm6MtAzF.js";
5
+ import { u as E } from "./hook-LiFNx0WM.js";
6
6
  const L = {
7
7
  "org.bahmni.clinical.v2.search": h(
8
- () => import("./index-DjYFVXQY.js")
8
+ () => import("./index-CpXN_HQq.js")
9
9
  )
10
10
  }, v = "index-module_page__16xxw", I = "index-module_loading__wNI-4", S = "index-module_message__Ib5Iw", t = {
11
11
  page: v,
@@ -114060,7 +114060,7 @@ const iC0 = [
114060
114060
  },
114061
114061
  {
114062
114062
  type: "patientDocuments",
114063
- component: J0(() => import("./DocumentsTable-BtTA_d0k-CKiPoLBZ.js"))
114063
+ component: J0(() => import("./DocumentsTable-B5utz65F-BdxOv07r.js"))
114064
114064
  },
114065
114065
  {
114066
114066
  type: "flowSheet",
@@ -114068,7 +114068,7 @@ const iC0 = [
114068
114068
  },
114069
114069
  {
114070
114070
  type: "forms",
114071
- component: J0(() => import("./FormsTable-6IDXNg6u-CsuOF2bo.js"))
114071
+ component: J0(() => import("./FormsTable-BaBg9zUs-zUVG7be7.js"))
114072
114072
  },
114073
114073
  {
114074
114074
  type: "labOrders",
@@ -114076,7 +114076,7 @@ const iC0 = [
114076
114076
  },
114077
114077
  {
114078
114078
  type: "observations",
114079
- component: J0(() => import("./Observations-D-MkCxN3-CtrPsttD.js"))
114079
+ component: J0(() => import("./Observations-5lkNtlYi-BqYKpL5Z.js"))
114080
114080
  },
114081
114081
  {
114082
114082
  type: "ordersControl",
@@ -114247,7 +114247,7 @@ const yYt = (t) => sC0.getInstance().get(t), dC0 = "/bahmni/home/index.html#/cha
114247
114247
  className: R4.userAction,
114248
114248
  children: [
114249
114249
  /* @__PURE__ */ q(kn2, { id: "user-icon", "data-testid": "user-icon-button-test-id" }),
114250
- d?.display && /* @__PURE__ */ q("span", { className: R4.greeting, children: t("USER_GLOBAL_ACTION_GREETING", {
114250
+ d?.display && /* @__PURE__ */ q("span", { className: R4.greeting, title: d.display, children: t("USER_GLOBAL_ACTION_GREETING", {
114251
114251
  name: MC0(d.display)
114252
114252
  }) })
114253
114253
  ]
@@ -209852,7 +209852,7 @@ var kXt = (t, e = !1) => {
209852
209852
  const e = mp2(() => {
209853
209853
  const r = this, [n] = this.#n, [a] = this.#o, [l] = this.#a, [c] = this.#l, [i] = this.#p, [s] = this.#e;
209854
209854
  let d;
209855
- return this.#c ? d = this.#c : (d = pp2(() => import("./LNWAZHJI-6XnvC_K9.js")), this.#c = d), $p2(this.#h, this.#r), up2(d, hp2({
209855
+ return this.#c ? d = this.#c : (d = pp2(() => import("./LNWAZHJI-kV7JpYYV.js")), this.#c = d), $p2(this.#h, this.#r), up2(d, hp2({
209856
209856
  get queryFlavor() {
209857
209857
  return r.#d;
209858
209858
  },
@@ -209950,7 +209950,7 @@ var kXt = (t, e = !1) => {
209950
209950
  const e = mp2(() => {
209951
209951
  const r = this, [n] = this.#n, [a] = this.#o, [l] = this.#a, [c] = this.#l, [i] = this.#p, [s] = this.#e, [d] = this.#c;
209952
209952
  let u;
209953
- return this.#i ? u = this.#i : (u = pp2(() => import("./MWZ6AO7Z-CcpDyHgW.js")), this.#i = u), $p2(this.#h, this.#r), up2(u, hp2({
209953
+ return this.#i ? u = this.#i : (u = pp2(() => import("./MWZ6AO7Z-BdkouXXX.js")), this.#i = u), $p2(this.#h, this.#r), up2(u, hp2({
209954
209954
  get queryFlavor() {
209955
209955
  return r.#d;
209956
209956
  },
@@ -210106,7 +210106,7 @@ const lKt = {
210106
210106
  id: "clinical-config",
210107
210107
  name: "Clinical Config",
210108
210108
  displayName: "ClinicalConfigProvider"
210109
- }), MKt = J0(() => import("./ConsultationPage-R3eLtjPQ.js")), yKt = J0(() => import("./index-SSHx9993.js")), VKt = [
210109
+ }), MKt = J0(() => import("./ConsultationPage-B1mhaHDz.js")), yKt = J0(() => import("./index-BaiYxw00.js")), VKt = [
210110
210110
  {
210111
210111
  path: ":patientUuid",
210112
210112
  component: MKt
@@ -1,5 +1,5 @@
1
1
  import { jsxs as d, jsx as e } from "react/jsx-runtime";
2
- import { u as r, cH as l, cI as o, cJ as c, b6 as m, b7 as g, cK as p, cL as h, cM as b, aG as u } from "./index-C4xAP_NB.js";
2
+ import { u as r, cH as l, cI as o, cJ as c, b6 as m, b7 as g, cK as p, cL as h, cM as b, aG as u } from "./index-CXHgO9y6.js";
3
3
  import { Suspense as _ } from "react";
4
4
  import "@tanstack/react-query";
5
5
  const $ = "index-module_loading__FAL7n", y = "index-module_message__KjCnF", E = "index-module_panel__j5vTu", s = {
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { cN as c } from "./index-C4xAP_NB.js";
1
+ import { cN as c } from "./index-CXHgO9y6.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.389",
3
+ "version": "0.0.1-dev.390",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",