@bahmni/clinical-app 0.0.1-dev.429 → 0.0.1-dev.430
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.
- package/dist/{ConsultationPage-rHorm4mf.js → ConsultationPage-B_ul3mgo.js} +8 -3
- package/dist/{DocumentsTable-DWjMvJ6C-Zprq_O_p.js → DocumentsTable-DWjMvJ6C-NG6BzHJg.js} +1 -1
- package/dist/{FormsTable-B-Iv4X3R-DWJCmNzP.js → FormsTable-B-Iv4X3R-BEJJleCA.js} +1 -1
- package/dist/{LNWAZHJI-DTtXMrw2.js → LNWAZHJI-fuUl-8Tj.js} +2 -2
- package/dist/{MWZ6AO7Z-D-yzZyb_.js → MWZ6AO7Z-DgUHqsaS.js} +2 -2
- package/dist/{Observations-C-GGEtZL-DWfY6XW9.js → Observations-C-GGEtZL-jPbFkMa-.js} +1 -1
- package/dist/{YPM2AS64-DmBttDi5.js → YPM2AS64-BWlni2YE.js} +1 -1
- package/dist/{hook-CP6jOlzx.js → hook-AjZC3Av_.js} +1 -1
- package/dist/{index-CAqfd32G.js → index-B0EvrLrQ.js} +6 -6
- package/dist/{index-DUsA_YKD.js → index-C3zl2NRn.js} +3 -3
- package/dist/{index-CnSpHfxb.js → index-DCpdvKHr.js} +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
2
|
-
import { u as useTranslation, V, E as ENCOUNTER_CONCEPTS_URL, G as Gr, B as wWt, I as As, J as BAHMNI_USER_LOCATION_COOKIE_NAME, L as Zm, M as up, g as g0, N as vb2, O as Eb2, P as mb2, T as Wx2, X as ll1, _ as pb2, a0 as r0, a1 as Vi, a2 as Yd, a3 as FE, a4 as zd, a5 as Os, a6 as dist, a7 as nt, a8 as we, a9 as as, aa as g_, ab as A_, ac as P_, ad as Vb2, ae as bb2, af as Rz2, z as z1, h as hp, ag as $_, ah as Fy2, ai as tb2, aj as jb2, ak as $b2, al as Ab2, d as dn1, am as sb, an as wb2, ao as Ob, ap as Ls, aq as ib, ar as Jb, as as R_, at as nb2, au as k_, av as F_, aw as CLINICAL_V2_CONFIG_BASE_URL, ax as B_, ay as c0, az as un, aA as j_, aB as w_, aC as Qb, aD as aL2, aE as cb, aF as H_, aG as z_, aH as ev, aI as ub2, aJ as hv, aK as m_, aL as Y_, aM as Rt, aN as Vr, aO as av, aP as dv, Z as Zr, aQ as Ib, aR as lb, aS as pb, $ as $Gt, aT as Pb2, aU as Fb2, aV as xb, aW as Cb, aX as yb2, aY as se, aZ as STOP_REASON_VALUESET_EXPAND_URL, a_ as Be, a$ as jE, b0 as STOP_REASON_VALUESET_TITLE, b1 as Df, b2 as rs, b3 as kb2, b4 as Db, b5 as kb, b6 as b0, b7 as h_, b8 as _0, b9 as cn, ba as N4, bb as c3, bc as Ob2, bd as JE, be as Lb, bf as Ub, bg as Fb, bh as qb, bi as ji, bj as os, bk as _b, bl as D_, bm as fv, bn as Xb, bo as Zb, bp as Wb, bq as CDSS_SERVER_CONFIG_URL, br as x_, bs as Yi, bt as Q0, bu as et, bv as fn1, bw as _b2, bx as Tw, by as bb, bz as vb, bA as hb2, bB as Xt, bC as Rb, bD as Sb, bE as Tb, bF as Xr1, bG as Gr1, bH as T0, bI as Ab, bJ as Ni, bK as xE, bL as BAHMNI_CLINICAL_PATH, bM as e0, bN as $w, bO as zb2, bP as Lb2, bQ as bz2, bR as X01, bS as ZE, bT as sn1 } from "./index-
|
|
2
|
+
import { u as useTranslation, V, E as ENCOUNTER_CONCEPTS_URL, G as Gr, B as wWt, I as As, J as BAHMNI_USER_LOCATION_COOKIE_NAME, L as Zm, M as up, g as g0, N as vb2, O as Eb2, P as mb2, T as Wx2, X as ll1, _ as pb2, a0 as r0, a1 as Vi, a2 as Yd, a3 as FE, a4 as zd, a5 as Os, a6 as dist, a7 as nt, a8 as we, a9 as as, aa as g_, ab as A_, ac as P_, ad as Vb2, ae as bb2, af as Rz2, z as z1, h as hp, ag as $_, ah as Fy2, ai as tb2, aj as jb2, ak as $b2, al as Ab2, d as dn1, am as sb, an as wb2, ao as Ob, ap as Ls, aq as ib, ar as Jb, as as R_, at as nb2, au as k_, av as F_, aw as CLINICAL_V2_CONFIG_BASE_URL, ax as B_, ay as c0, az as un, aA as j_, aB as w_, aC as Qb, aD as aL2, aE as cb, aF as H_, aG as z_, aH as ev, aI as ub2, aJ as hv, aK as m_, aL as Y_, aM as Rt, aN as Vr, aO as av, aP as dv, Z as Zr, aQ as Ib, aR as lb, aS as pb, $ as $Gt, aT as Pb2, aU as Fb2, aV as xb, aW as Cb, aX as yb2, aY as se, aZ as STOP_REASON_VALUESET_EXPAND_URL, a_ as Be, a$ as jE, b0 as STOP_REASON_VALUESET_TITLE, b1 as Df, b2 as rs, b3 as kb2, b4 as Db, b5 as kb, b6 as b0, b7 as h_, b8 as _0, b9 as cn, ba as N4, bb as c3, bc as Ob2, bd as JE, be as Lb, bf as Ub, bg as Fb, bh as qb, bi as ji, bj as os, bk as _b, bl as D_, bm as fv, bn as Xb, bo as Zb, bp as Wb, bq as CDSS_SERVER_CONFIG_URL, br as x_, bs as Yi, bt as Q0, bu as et, bv as fn1, bw as _b2, bx as Tw, by as bb, bz as vb, bA as hb2, bB as Xt, bC as Rb, bD as Sb, bE as Tb, bF as Xr1, bG as Gr1, bH as T0, bI as Ab, bJ as Ni, bK as xE, bL as BAHMNI_CLINICAL_PATH, bM as e0, bN as $w, bO as zb2, bP as Lb2, bQ as bz2, bR as X01, bS as ZE, bT as sn1 } from "./index-B0EvrLrQ.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-
|
|
7
|
+
import { u as useClinicalConfig } from "./hook-AjZC3Av_.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 : {};
|
|
@@ -134548,6 +134548,11 @@ Try polyfilling it using "@formatjs/intl-displaynames"
|
|
|
134548
134548
|
_formatDate(u) {
|
|
134549
134549
|
if (u) return `${u.getFullYear()}-${String(u.getMonth() + 1).padStart(2, "0")}-${String(u.getDate()).padStart(2, "0")}`;
|
|
134550
134550
|
}
|
|
134551
|
+
_parseDate(u) {
|
|
134552
|
+
if (!u) return !1;
|
|
134553
|
+
const [A, m, y] = u.split("-").map(Number);
|
|
134554
|
+
return !!(A && m && y) && new globalThis.Date(A, m - 1, y);
|
|
134555
|
+
}
|
|
134551
134556
|
_shouldValidateOnMount() {
|
|
134552
134557
|
return !!this.props.formFieldPath && this._isCreateByAddMore();
|
|
134553
134558
|
}
|
|
@@ -134566,7 +134571,7 @@ Try polyfilling it using "@formatjs/intl-displaynames"
|
|
|
134566
134571
|
}
|
|
134567
134572
|
render() {
|
|
134568
134573
|
const { conceptUuid: u, label: A, enabled: m } = this.props;
|
|
134569
|
-
return (0, ge.jsx)(Fa.DatePicker, { datePickerType: "single", dateFormat: "d-M-Y", value: this.props.value, onChange: (y) => this.handleChange(y), ref: (y) => {
|
|
134574
|
+
return (0, ge.jsx)(Fa.DatePicker, { datePickerType: "single", dateFormat: "d-M-Y", value: this.props.value, parseDate: (y) => this._parseDate(y), onChange: (y) => this.handleChange(y), ref: (y) => {
|
|
134570
134575
|
this.datePickerRef = y;
|
|
134571
134576
|
}, children: (0, ge.jsx)(Fa.DatePickerInput, { id: u, labelText: A, placeholder: "dd-Mmm-yyyy", size: "sm", disabled: !m, invalid: this.state.hasErrors, warn: this.state.hasWarnings }) });
|
|
134572
134577
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as r, jsxs as p, Fragment as Y } from "react/jsx-runtime";
|
|
2
|
-
import { g as x, u as G, z as W, q as J, K as X, w as Z, Y as ee, p as te } from "./index-
|
|
2
|
+
import { g as x, u as G, z as W, q as J, K as X, w as Z, Y as ee, p as te } from "./index-B0EvrLrQ.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 n, jsxs as V, Fragment as ne } from "react/jsx-runtime";
|
|
2
|
-
import { u as ie, g as de, h as le, Z as me, y as ue, W as ce, e as fe, a as ye, m as ge, f as he, $ as pe, R as Ne, w as Te, C as q, H as $, K as Oe, Y as K, F as Ie, j as be, p as Ee, v as _e, d as Ae } from "./index-
|
|
2
|
+
import { u as ie, g as de, h as le, Z as me, y as ue, W as ce, e as fe, a as ye, m as ge, f as he, $ as pe, R as Ne, w as Te, C as q, H as $, K as Oe, Y as K, F as Ie, j as be, p as Ee, v as _e, d as Ae } from "./index-B0EvrLrQ.js";
|
|
3
3
|
import { useQueryClient as ve, useQuery as E } from "@tanstack/react-query";
|
|
4
4
|
import { useState as j, useMemo as i, useCallback as d } from "react";
|
|
5
5
|
const Ce = "FormsTable-module_formsTableBody__SvGha", Fe = "FormsTable-module_modalHeading__wnTmA", Re = "FormsTable-module_customAccordianItem__isszs", p = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c, T as l, P as m, a as u, D as v, Q as i } from "./YPM2AS64-
|
|
2
|
-
import { bZ as d, b_ as f, b$ as e } from "./index-
|
|
1
|
+
import { c, T as l, P as m, a as u, D as v, Q as i } from "./YPM2AS64-BWlni2YE.js";
|
|
2
|
+
import { bZ as d, b_ as f, b$ as e } from "./index-B0EvrLrQ.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-
|
|
2
|
-
import { bZ as v, b_ as C, b$ as e } from "./index-
|
|
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-BWlni2YE.js";
|
|
2
|
+
import { bZ as v, b_ as C, b$ as e } from "./index-B0EvrLrQ.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 o } from "react/jsx-runtime";
|
|
2
|
-
import { g as x, z as M, u as U, b as j, y as G, U as H, c as Y, m as J, t as P, o as W, r as X, n as Z, i as ee, Y as ae, Q as se, k as V, l as re, s as te, w as ie, x as ne, A as oe, S as de, D as le } from "./index-
|
|
2
|
+
import { g as x, z as M, u as U, b as j, y as G, U as H, c as Y, m as J, t as P, o as W, r as X, n as Z, i as ee, Y as ae, Q as se, k as V, l as re, s as te, w as ie, x as ne, A as oe, S as de, D as le } from "./index-B0EvrLrQ.js";
|
|
3
3
|
import { useQueries as ce, useQuery as ue } from "@tanstack/react-query";
|
|
4
4
|
import { useRef as me, useEffect as L, useMemo as E } from "react";
|
|
5
5
|
const pe = "Observations-module_observations__RKSyo", be = "Observations-module_title__TJL3z", he = "Observations-module_wrapper__muk2L", ve = "Observations-module_secondary__14nuS", O = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c0 as we, c1 as z, c2 as xt, c3 as B, b_ as q, b$ as y, c4 as Ro, c5 as ye, c6 as R, c7 as _, c8 as k, c9 as N, ca as A, cb as bs, cc as ir, cd as $e, ce as G, cf as Hn, cg as Vn, ch as dt, ci as D, cj as xs, ck as cn, cl as Be, cm as ws, cn as qt, co as zt, cp as $s, cq as Cs, cr as $n, cs as Ss, ct as Nr, cu as Bt, cv as zo, cw as ks, cx as Es, cy as j, cz as Gr, cA as Ms, cB as Ds, cC as sr, cD as As, cE as Ts, cF as zn, cG as Fs, cH as Is, cI as Z, cJ as Ps, cK as Ls } from "./index-
|
|
1
|
+
import { c0 as we, c1 as z, c2 as xt, c3 as B, b_ as q, b$ as y, c4 as Ro, c5 as ye, c6 as R, c7 as _, c8 as k, c9 as N, ca as A, cb as bs, cc as ir, cd as $e, ce as G, cf as Hn, cg as Vn, ch as dt, ci as D, cj as xs, ck as cn, cl as Be, cm as ws, cn as qt, co as zt, cp as $s, cq as Cs, cr as $n, cs as Ss, ct as Nr, cu as Bt, cv as zo, cw as ks, cx as Es, cy as j, cz as Gr, cA as Ms, cB as Ds, cC as sr, cD as As, cE as Ts, cF as zn, cG as Fs, cH as Is, cI as Z, cJ as Ps, cK as Ls } from "./index-B0EvrLrQ.js";
|
|
2
2
|
var Os = (e) => e != null, qs = (e) => e.filter(Os);
|
|
3
3
|
function _s(e) {
|
|
4
4
|
return (...t) => {
|
|
@@ -115225,7 +115225,7 @@ const CA0 = [
|
|
|
115225
115225
|
},
|
|
115226
115226
|
{
|
|
115227
115227
|
type: "patientDocuments",
|
|
115228
|
-
component: Q0(() => import("./DocumentsTable-DWjMvJ6C-
|
|
115228
|
+
component: Q0(() => import("./DocumentsTable-DWjMvJ6C-NG6BzHJg.js"))
|
|
115229
115229
|
},
|
|
115230
115230
|
{
|
|
115231
115231
|
type: "flowSheet",
|
|
@@ -115233,7 +115233,7 @@ const CA0 = [
|
|
|
115233
115233
|
},
|
|
115234
115234
|
{
|
|
115235
115235
|
type: "forms",
|
|
115236
|
-
component: Q0(() => import("./FormsTable-B-Iv4X3R-
|
|
115236
|
+
component: Q0(() => import("./FormsTable-B-Iv4X3R-BEJJleCA.js"))
|
|
115237
115237
|
},
|
|
115238
115238
|
{
|
|
115239
115239
|
type: "labOrders",
|
|
@@ -115241,7 +115241,7 @@ const CA0 = [
|
|
|
115241
115241
|
},
|
|
115242
115242
|
{
|
|
115243
115243
|
type: "observations",
|
|
115244
|
-
component: Q0(() => import("./Observations-C-GGEtZL-
|
|
115244
|
+
component: Q0(() => import("./Observations-C-GGEtZL-jPbFkMa-.js"))
|
|
115245
115245
|
},
|
|
115246
115246
|
{
|
|
115247
115247
|
type: "ordersControl",
|
|
@@ -211338,7 +211338,7 @@ var ger = (t, e = !1) => {
|
|
|
211338
211338
|
const e = jp2(() => {
|
|
211339
211339
|
const r = this, [n] = this.#n, [a] = this.#o, [l] = this.#a, [c] = this.#l, [i] = this.#p, [s] = this.#e;
|
|
211340
211340
|
let d;
|
|
211341
|
-
return this.#c ? d = this.#c : (d = Pp2(() => import("./LNWAZHJI-
|
|
211341
|
+
return this.#c ? d = this.#c : (d = Pp2(() => import("./LNWAZHJI-fuUl-8Tj.js")), this.#c = d), sf2(this.#h, this.#r), Ip2(d, Bp2({
|
|
211342
211342
|
get queryFlavor() {
|
|
211343
211343
|
return r.#d;
|
|
211344
211344
|
},
|
|
@@ -211436,7 +211436,7 @@ var ger = (t, e = !1) => {
|
|
|
211436
211436
|
const e = jp2(() => {
|
|
211437
211437
|
const r = this, [n] = this.#n, [a] = this.#o, [l] = this.#a, [c] = this.#l, [i] = this.#p, [s] = this.#e, [d] = this.#c;
|
|
211438
211438
|
let u;
|
|
211439
|
-
return this.#i ? u = this.#i : (u = Pp2(() => import("./MWZ6AO7Z-
|
|
211439
|
+
return this.#i ? u = this.#i : (u = Pp2(() => import("./MWZ6AO7Z-DgUHqsaS.js")), this.#i = u), sf2(this.#h, this.#r), Ip2(u, Bp2({
|
|
211440
211440
|
get queryFlavor() {
|
|
211441
211441
|
return r.#d;
|
|
211442
211442
|
},
|
|
@@ -211592,7 +211592,7 @@ const kYt = {
|
|
|
211592
211592
|
id: "clinical-config",
|
|
211593
211593
|
name: "Clinical Config",
|
|
211594
211594
|
displayName: "ClinicalConfigProvider"
|
|
211595
|
-
}), XYt = Q0(() => import("./ConsultationPage-
|
|
211595
|
+
}), XYt = Q0(() => import("./ConsultationPage-B_ul3mgo.js")), QYt = Q0(() => import("./index-C3zl2NRn.js")), eJt = [
|
|
211596
211596
|
{
|
|
211597
211597
|
path: ":patientUuid",
|
|
211598
211598
|
component: XYt
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import { u as g, Z as u, bK as b, bU as x, bV as f, bW as p, aI as _, bQ as N } from "./index-
|
|
2
|
+
import { u as g, Z as u, bK as b, bU as x, bV as f, bW as p, aI as _, bQ as N } from "./index-B0EvrLrQ.js";
|
|
3
3
|
import { lazy as h, useMemo as t, Suspense as E } from "react";
|
|
4
4
|
import "@tanstack/react-query";
|
|
5
|
-
import { u as C } from "./hook-
|
|
5
|
+
import { u as C } from "./hook-AjZC3Av_.js";
|
|
6
6
|
const L = {
|
|
7
7
|
"org.bahmni.clinical.v2.search": h(
|
|
8
|
-
() => import("./index-
|
|
8
|
+
() => import("./index-DCpdvKHr.js")
|
|
9
9
|
)
|
|
10
10
|
}, v = "index-module_page__16xxw", I = "index-module_loading__wNI-4", y = "index-module_message__Ib5Iw", l = {
|
|
11
11
|
page: v,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as d, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { u as r, cL as l, cM as o, cN as c, ba as m, bb as g, cO as h, cP as p, cQ as b, aI as u } from "./index-
|
|
2
|
+
import { u as r, cL as l, cM as o, cN as c, ba as m, bb as g, cO as h, cP as p, cQ as b, aI as u } from "./index-B0EvrLrQ.js";
|
|
3
3
|
import { Suspense as _ } from "react";
|
|
4
4
|
import "@tanstack/react-query";
|
|
5
5
|
const E = "index-module_loading__eyE2k", $ = "index-module_message__95HmH", y = "index-module_panel__8VJh2", s = {
|
package/dist/index.js
CHANGED