@bahmni/clinical-app 0.0.1-dev.223 → 0.0.1-dev.224
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/{DocumentsTable-itmbz5Wi-CI6EJVC-.js → DocumentsTable-itmbz5Wi-twr5ouQu.js} +1 -1
- package/dist/{FormsTable-CGFieZJf-Dn1mWlHa.js → FormsTable-CGFieZJf-CHT8X_FU.js} +1 -1
- package/dist/{LNWAZHJI-BLgIhvTV.js → LNWAZHJI-Cex87qrL.js} +2 -2
- package/dist/{MWZ6AO7Z-CSYzAq5H.js → MWZ6AO7Z-BsPgQMGH.js} +2 -2
- package/dist/{Observations-DCRioZtt-D2ZuEdt_.js → Observations-DCRioZtt-QA-gR2p0.js} +1 -1
- package/dist/{YPM2AS64-C1Fg-Lz_.js → YPM2AS64-CLlElQn_.js} +1 -1
- package/dist/components/forms/immunizationHistory/ImmunizationHistoryForm.d.ts.map +1 -1
- package/dist/components/forms/immunizationHistory/stores.d.ts.map +1 -1
- package/dist/{index-Dfj6Vo0T.js → index-DkZMxVVp.js} +13 -13
- package/dist/index.css +1 -1
- package/dist/index.js +1 -1
- package/dist/locales/locale_en.json +1 -0
- package/dist/locales/locale_es.json +1 -0
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as r, jsxs as p, Fragment as Y } from "react/jsx-runtime";
|
|
2
|
-
import { t as W, u as K, r as Q, a as J, M as X, N as Z, o as ee, s as te, b as ae } from "./index-
|
|
2
|
+
import { t as W, u as K, r as Q, a as J, M as X, N as Z, o as ee, s as te, b as ae } from "./index-DkZMxVVp.js";
|
|
3
3
|
import { useState as l, useCallback as h, useEffect as f, 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,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as o, jsxs as Y, Fragment as Z } from "react/jsx-runtime";
|
|
2
|
-
import { u as W, t as ee, m as re, c as ae, a as c, k as te, V as U, N as se, M as oe, o as C, G as ne, J as de, s as ie, Z as ue, d as me, e as le, X as ce, f as fe, Q as ye } from "./index-
|
|
2
|
+
import { u as W, t as ee, m as re, c as ae, a as c, k as te, V as U, N as se, M as oe, o as C, G as ne, J as de, s as ie, Z as ue, d as me, e as le, X as ce, f as fe, Q as ye } from "./index-DkZMxVVp.js";
|
|
3
3
|
import { useState as S, useMemo as d, useCallback as f } from "react";
|
|
4
4
|
const be = "_formsTableBody_81hra_1", Ne = "_customAccordianItem_81hra_6", O = {
|
|
5
5
|
formsTableBody: be,
|
|
@@ -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 { z as d, A 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-CLlElQn_.js";
|
|
2
|
+
import { z as d, A as f, B as e } from "./index-DkZMxVVp.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 { z as v, A 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-CLlElQn_.js";
|
|
2
|
+
import { z as v, A as C, B as e } from "./index-DkZMxVVp.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 N, jsx as u } from "react/jsx-runtime";
|
|
2
|
-
import { t as K, r as V, u as S, g as G, Y as w, a as x, k as M, h as Q, l as j, i as H, j as Y, o as P, n as z, O as U, p as J, q as W, I as X, v as Z, w as ee, x as ae, y as te } from "./index-
|
|
2
|
+
import { t as K, r as V, u as S, g as G, Y as w, a as x, k as M, h as Q, l as j, i as H, j as Y, o as P, n as z, O as U, p as J, q as W, I as X, v as Z, w as ee, x as ae, y as te } from "./index-DkZMxVVp.js";
|
|
3
3
|
import { useRef as se, useEffect as $, useMemo as R } from "react";
|
|
4
4
|
const D = (a, n, d, l, b, r) => {
|
|
5
5
|
const t = J(a, n, b), s = t.value, i = W(s);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as we, D as z, E as xt, F as B, A as q, B as y, P as Ro, H as ye, S as R, K as _, L as k, R as N, T as A, U as bs, W as ir, _ as $e, $ as U, a0 as Hn, a1 as Vn, a2 as dt, a3 as D, a4 as xs, a5 as cn, a6 as Be, a7 as ws, a8 as qt, a9 as zt, aa as $s, ab as Cs, ac as $n, ad as Ss, ae as Nr, af as Bt, ag as zo, ah as ks, ai as Es, aj as j, ak as Ur, al as Ms, am as Ds, an as sr, ao as As, ap as Ts, aq as zn, ar as Fs, as as Is, at as Z, au as Ps, av as Ls } from "./index-
|
|
1
|
+
import { C as we, D as z, E as xt, F as B, A as q, B as y, P as Ro, H as ye, S as R, K as _, L as k, R as N, T as A, U as bs, W as ir, _ as $e, $ as U, a0 as Hn, a1 as Vn, a2 as dt, a3 as D, a4 as xs, a5 as cn, a6 as Be, a7 as ws, a8 as qt, a9 as zt, aa as $s, ab as Cs, ac as $n, ad as Ss, ae as Nr, af as Bt, ag as zo, ah as ks, ai as Es, aj as j, ak as Ur, al as Ms, am as Ds, an as sr, ao as As, ap as Ts, aq as zn, ar as Fs, as as Is, at as Z, au as Ps, av as Ls } from "./index-DkZMxVVp.js";
|
|
2
2
|
var Os = (e) => e != null, qs = (e) => e.filter(Os);
|
|
3
3
|
function _s(e) {
|
|
4
4
|
return (...t) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ImmunizationHistoryForm.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/immunizationHistory/ImmunizationHistoryForm.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ImmunizationHistoryForm.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/immunizationHistory/ImmunizationHistoryForm.tsx"],"names":[],"mappings":"AAqBA,QAAA,MAAM,uBAAuB,+CAgQ5B,CAAC;AAEF,eAAe,uBAAuB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stores.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/immunizationHistory/stores.ts"],"names":[],"mappings":"AAGA,OAAO,EAEL,wBAAwB,EAGzB,MAAM,UAAU,CAAC;AAGlB,eAAO,MAAM,2BAA2B,
|
|
1
|
+
{"version":3,"file":"stores.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/immunizationHistory/stores.ts"],"names":[],"mappings":"AAGA,OAAO,EAEL,wBAAwB,EAGzB,MAAM,UAAU,CAAC;AAGlB,eAAO,MAAM,2BAA2B,uFAmRvC,CAAC"}
|
|
@@ -163892,7 +163892,7 @@ const b0t = [
|
|
|
163892
163892
|
},
|
|
163893
163893
|
{
|
|
163894
163894
|
type: "patientDocuments",
|
|
163895
|
-
component: lazy$1(() => import("./DocumentsTable-itmbz5Wi-
|
|
163895
|
+
component: lazy$1(() => import("./DocumentsTable-itmbz5Wi-twr5ouQu.js"))
|
|
163896
163896
|
},
|
|
163897
163897
|
{
|
|
163898
163898
|
type: "flowSheet",
|
|
@@ -163900,7 +163900,7 @@ const b0t = [
|
|
|
163900
163900
|
},
|
|
163901
163901
|
{
|
|
163902
163902
|
type: "forms",
|
|
163903
|
-
component: lazy$1(() => import("./FormsTable-CGFieZJf-
|
|
163903
|
+
component: lazy$1(() => import("./FormsTable-CGFieZJf-CHT8X_FU.js"))
|
|
163904
163904
|
},
|
|
163905
163905
|
{
|
|
163906
163906
|
type: "labOrders",
|
|
@@ -163908,7 +163908,7 @@ const b0t = [
|
|
|
163908
163908
|
},
|
|
163909
163909
|
{
|
|
163910
163910
|
type: "observations",
|
|
163911
|
-
component: lazy$1(() => import("./Observations-DCRioZtt-
|
|
163911
|
+
component: lazy$1(() => import("./Observations-DCRioZtt-QA-gR2p0.js"))
|
|
163912
163912
|
},
|
|
163913
163913
|
{
|
|
163914
163914
|
type: "ordersControl",
|
|
@@ -165813,7 +165813,7 @@ var displayValue = (n, e = !1) => {
|
|
|
165813
165813
|
const e = render(() => {
|
|
165814
165814
|
const r = this, [a] = this.#o, [l] = this.#d, [f] = this.#f, [d] = this.#u, [h] = this.#p, [m] = this.#t;
|
|
165815
165815
|
let A;
|
|
165816
|
-
return this.#s ? A = this.#s : (A = lazy(() => import("./LNWAZHJI-
|
|
165816
|
+
return this.#s ? A = this.#s : (A = lazy(() => import("./LNWAZHJI-Cex87qrL.js")), this.#s = A), setupStyleSheet(this.#i, this.#l), createComponent(A, mergeProps({
|
|
165817
165817
|
get queryFlavor() {
|
|
165818
165818
|
return r.#n;
|
|
165819
165819
|
},
|
|
@@ -165911,7 +165911,7 @@ var displayValue = (n, e = !1) => {
|
|
|
165911
165911
|
const e = render(() => {
|
|
165912
165912
|
const r = this, [a] = this.#o, [l] = this.#d, [f] = this.#f, [d] = this.#u, [h] = this.#p, [m] = this.#t, [A] = this.#s;
|
|
165913
165913
|
let g;
|
|
165914
|
-
return this.#c ? g = this.#c : (g = lazy(() => import("./MWZ6AO7Z-
|
|
165914
|
+
return this.#c ? g = this.#c : (g = lazy(() => import("./MWZ6AO7Z-BsPgQMGH.js")), this.#c = g), setupStyleSheet(this.#i, this.#l), createComponent(g, mergeProps({
|
|
165915
165915
|
get queryFlavor() {
|
|
165916
165916
|
return r.#n;
|
|
165917
165917
|
},
|
|
@@ -210518,7 +210518,7 @@ const useImmunizationHistoryStore = create(
|
|
|
210518
210518
|
selectedImmunizations: l.selectedImmunizations.map((f) => {
|
|
210519
210519
|
if (f.id !== r) return f;
|
|
210520
210520
|
const d = { ...f, administeredOn: a };
|
|
210521
|
-
return f.hasBeenValidated &&
|
|
210521
|
+
return f.hasBeenValidated && (d.errors = { ...f.errors }, a && delete d.errors.administeredOn, f.expiryDate && (a && f.expiryDate < a ? d.errors.expiryDate = "IMMUNIZATION_HISTORY_EXPIRY_DATE_BEFORE_ADMINISTERED_ON" : delete d.errors.expiryDate)), d;
|
|
210522
210522
|
})
|
|
210523
210523
|
}));
|
|
210524
210524
|
},
|
|
@@ -210563,7 +210563,7 @@ const useImmunizationHistoryStore = create(
|
|
|
210563
210563
|
selectedImmunizations: l.selectedImmunizations.map((f) => {
|
|
210564
210564
|
if (f.id !== r) return f;
|
|
210565
210565
|
const d = { ...f, expiryDate: a };
|
|
210566
|
-
return f.hasBeenValidated && a && (d.errors = { ...f.errors }, delete d.errors.expiryDate), d;
|
|
210566
|
+
return f.hasBeenValidated && a && (d.errors = { ...f.errors }, f.administeredOn && a < f.administeredOn ? d.errors.expiryDate = "IMMUNIZATION_HISTORY_EXPIRY_DATE_BEFORE_ADMINISTERED_ON" : delete d.errors.expiryDate), d;
|
|
210567
210567
|
})
|
|
210568
210568
|
}));
|
|
210569
210569
|
},
|
|
@@ -210640,7 +210640,7 @@ const useImmunizationHistoryStore = create(
|
|
|
210640
210640
|
"batchNumber",
|
|
210641
210641
|
!d.batchNumber?.trim(),
|
|
210642
210642
|
"IMMUNIZATION_HISTORY_BATCH_NUMBER_REQUIRED"
|
|
210643
|
-
), { ...d, errors: h, hasBeenValidated: !0 };
|
|
210643
|
+
), d.expiryDate && d.administeredOn && d.expiryDate < d.administeredOn && (h.expiryDate = "IMMUNIZATION_HISTORY_EXPIRY_DATE_BEFORE_ADMINISTERED_ON", r = !1), { ...d, errors: h, hasBeenValidated: !0 };
|
|
210644
210644
|
})
|
|
210645
210645
|
})), r;
|
|
210646
210646
|
},
|
|
@@ -210649,8 +210649,8 @@ const useImmunizationHistoryStore = create(
|
|
|
210649
210649
|
},
|
|
210650
210650
|
getState: () => e()
|
|
210651
210651
|
})
|
|
210652
|
-
),
|
|
210653
|
-
|
|
210652
|
+
), form = "_form_1lv9f_1", title$2 = "_title_1lv9f_7", box = "_box_1lv9f_15", loading = "_loading_1lv9f_19", error$1 = "_error_1lv9f_24", selectedItem = "_selectedItem_1lv9f_35", selectedItemTitle = "_selectedItemTitle_1lv9f_43", textArea = "_textArea_1lv9f_52", column$2 = "_column_1lv9f_57", datePicker = "_datePicker_1lv9f_62", styles$d = {
|
|
210653
|
+
form,
|
|
210654
210654
|
title: title$2,
|
|
210655
210655
|
box,
|
|
210656
210656
|
loading,
|
|
@@ -211028,11 +211028,11 @@ const useImmunizationHistoryStore = create(
|
|
|
211028
211028
|
Qhe
|
|
211029
211029
|
]), j = f.length > 0 && !(Q ?? J1 ?? S ?? Qhe) && !(B || H1 || H || Ole);
|
|
211030
211030
|
return /* @__PURE__ */ jsxs(
|
|
211031
|
-
|
|
211031
|
+
"div",
|
|
211032
211032
|
{
|
|
211033
211033
|
id: "immunization-history-form",
|
|
211034
|
-
"data-testid": "immunization-history-form-
|
|
211035
|
-
className: styles$d.
|
|
211034
|
+
"data-testid": "immunization-history-form-test-id",
|
|
211035
|
+
className: styles$d.form,
|
|
211036
211036
|
children: [
|
|
211037
211037
|
/* @__PURE__ */ jsx(
|
|
211038
211038
|
"div",
|