@bahmni/registration-app 0.0.1-dev.218 → 0.0.1-dev.219
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-DGCf8sB7-C61NDdx5.js → DocumentsTable-DGCf8sB7-DfwbBEkq.js} +1 -1
- package/dist/{FormsTable-Cngf3xjx-Ilrk_WSe.js → FormsTable-Cngf3xjx-2LuJ_pWR.js} +1 -1
- package/dist/{LNWAZHJI-CH4bmENl.js → LNWAZHJI-tcOPJnEl.js} +2 -2
- package/dist/{MWZ6AO7Z-Bv2RyPYB.js → MWZ6AO7Z-BXeK3khR.js} +2 -2
- package/dist/{Observations-BTspCmvP-C7KqMSHA.js → Observations-BTspCmvP-DH-HxWsf.js} +1 -1
- package/dist/{YPM2AS64-Dvz5zr7R.js → YPM2AS64-CnNXh1qY.js} +1 -1
- package/dist/{index-Bk59OamO.js → index-B_QFxkcq.js} +5 -29
- package/dist/index.js +1 -1
- package/dist/pages/PatientRegister/patientFormService.d.ts.map +1 -1
- 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 { u as K, a as Q, e as W, V as J, E as X, T as Z, h as ee, b as te } from "./index-
|
|
2
|
+
import { u as K, a as Q, e as W, V as J, E as X, T as Z, h as ee, b as te } from "./index-B_QFxkcq.js";
|
|
3
3
|
import { useQuery as ae } from "@tanstack/react-query";
|
|
4
4
|
import { useState as m, useCallback as h, useEffect as f, useMemo as T } from "react";
|
|
5
5
|
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", me = "_documentImage_1voj8_50", d = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as s, jsxs as W, Fragment as X } from "react/jsx-runtime";
|
|
2
|
-
import { a as Z, u as ee, c as re, y as ae, v as te, d as oe, g as se, f as ne, i as R, T as de, E as ie, h as q, q as ue, U as me, b as le, L as ce, m as fe } from "./index-
|
|
2
|
+
import { a as Z, u as ee, c as re, y as ae, v as te, d as oe, g as se, f as ne, i as R, T as de, E as ie, h as q, q as ue, U as me, b as le, L as ce, m as fe } from "./index-B_QFxkcq.js";
|
|
3
3
|
import { useQueryClient as ye, useQuery as c } from "@tanstack/react-query";
|
|
4
4
|
import { useState as S, useMemo as d, useCallback as f } from "react";
|
|
5
5
|
const be = "_formsTableBody_81hra_1", ge = "_customAccordianItem_81hra_6", A = {
|
|
@@ -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 { o as p, p as d, s as e } from "./index-
|
|
1
|
+
import { c, T as l, P as m, a as u, D as v, Q as i } from "./YPM2AS64-CnNXh1qY.js";
|
|
2
|
+
import { o as p, p as d, s as e } from "./index-B_QFxkcq.js";
|
|
3
3
|
var f = (a) => {
|
|
4
4
|
const [r, o] = c({
|
|
5
5
|
prefix: "TanstackQueryDevtools"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as l, T as c, P as u, a as i, b as m, C as P, Q as d } from "./YPM2AS64-
|
|
2
|
-
import { o as v, p as C, s as e } from "./index-
|
|
1
|
+
import { c as l, T as c, P as u, a as i, b as m, C as P, Q as d } from "./YPM2AS64-CnNXh1qY.js";
|
|
2
|
+
import { o as v, p as C, s as e } from "./index-B_QFxkcq.js";
|
|
3
3
|
var h = (t) => {
|
|
4
4
|
const [r, o] = l({
|
|
5
5
|
prefix: "TanstackQueryDevtools"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as I, jsx as u } from "react/jsx-runtime";
|
|
2
|
-
import { u as B, e as K, a as N, j as M, w, f as x, z as Q, N as j, A as z, k as G, h as H, M as J, J as A, x as P, S as Y, C as W, r as X, l as Z, n as ee } from "./index-
|
|
2
|
+
import { u as B, e as K, a as N, j as M, w, f as x, z as Q, N as j, A as z, k as G, h as H, M as J, J as A, x as P, S as Y, C as W, r as X, l as Z, n as ee } from "./index-B_QFxkcq.js";
|
|
3
3
|
import { useQueries as ae, useQuery as te } from "@tanstack/react-query";
|
|
4
4
|
import { useRef as se, useEffect as $, useMemo as E } from "react";
|
|
5
5
|
const U = (a, n, d, l, b, r) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as we, B as z, D as xt, F as B, p as q, s as y, P as Ro, G as ye, H as R, I as _, K as k, O as N, Q as A, R as bs, W as ir, X as $e, Y as G, Z as Hn, _ as Vn, $ as dt, a0 as D, a1 as xs, a2 as cn, a3 as Be, a4 as ws, a5 as qt, a6 as zt, a7 as $s, a8 as Cs, a9 as $n, aa as Ss, ab as Nr, ac as Bt, ad as zo, ae as ks, af as Es, ag as j, ah as Gr, ai as Ms, aj as Ds, ak as sr, al as As, am as Ts, an as zn, ao as Fs, ap as Is, aq as Z, ar as Ps, as as Os } from "./index-
|
|
1
|
+
import { t as we, B as z, D as xt, F as B, p as q, s as y, P as Ro, G as ye, H as R, I as _, K as k, O as N, Q as A, R as bs, W as ir, X as $e, Y as G, Z as Hn, _ as Vn, $ as dt, a0 as D, a1 as xs, a2 as cn, a3 as Be, a4 as ws, a5 as qt, a6 as zt, a7 as $s, a8 as Cs, a9 as $n, aa as Ss, ab as Nr, ac as Bt, ad as zo, ae as ks, af as Es, ag as j, ah as Gr, ai as Ms, aj as Ds, ak as sr, al as As, am as Ts, an as zn, ao as Fs, ap as Is, aq as Z, ar as Ps, as as Os } from "./index-B_QFxkcq.js";
|
|
2
2
|
var Ls = (e) => e != null, qs = (e) => e.filter(Ls);
|
|
3
3
|
function _s(e) {
|
|
4
4
|
return (...t) => {
|
|
@@ -159229,7 +159229,7 @@ function c$0(t, e, r) {
|
|
|
159229
159229
|
return o;
|
|
159230
159230
|
};
|
|
159231
159231
|
}
|
|
159232
|
-
Lt(() => Promise.resolve().then(() => BC0)), Lt(() => Promise.resolve().then(() => fL0)), Lt(() => Promise.resolve().then(() => jL0)), Lt(() => Promise.resolve().then(() => JL0)), Lt(() => import("./DocumentsTable-DGCf8sB7-
|
|
159232
|
+
Lt(() => Promise.resolve().then(() => BC0)), Lt(() => Promise.resolve().then(() => fL0)), Lt(() => Promise.resolve().then(() => jL0)), Lt(() => Promise.resolve().then(() => JL0)), Lt(() => import("./DocumentsTable-DGCf8sB7-DfwbBEkq.js")), Lt(() => Promise.resolve().then(() => ST0)), Lt(() => import("./FormsTable-Cngf3xjx-2LuJ_pWR.js")), Lt(() => Promise.resolve().then(() => dT0)), Lt(() => import("./Observations-BTspCmvP-DH-HxWsf.js")), Lt(
|
|
159233
159233
|
() => Promise.resolve().then(() => WT0)
|
|
159234
159234
|
), Lt(
|
|
159235
159235
|
() => Promise.resolve().then(() => T_0)
|
|
@@ -161068,7 +161068,7 @@ var qF0 = (t, e = !1) => {
|
|
|
161068
161068
|
const e = nS1(() => {
|
|
161069
161069
|
const r = this, [o] = this.#n, [a] = this.#o, [c] = this.#a, [i] = this.#c, [l] = this.#p, [s] = this.#t;
|
|
161070
161070
|
let d;
|
|
161071
|
-
return this.#i ? d = this.#i : (d = tS1(() => import("./LNWAZHJI-
|
|
161071
|
+
return this.#i ? d = this.#i : (d = tS1(() => import("./LNWAZHJI-tcOPJnEl.js")), this.#i = d), VS1(this.#h, this.#r), QR1(d, eS1({
|
|
161072
161072
|
get queryFlavor() {
|
|
161073
161073
|
return r.#d;
|
|
161074
161074
|
},
|
|
@@ -161166,7 +161166,7 @@ var qF0 = (t, e = !1) => {
|
|
|
161166
161166
|
const e = nS1(() => {
|
|
161167
161167
|
const r = this, [o] = this.#n, [a] = this.#o, [c] = this.#a, [i] = this.#c, [l] = this.#p, [s] = this.#t, [d] = this.#i;
|
|
161168
161168
|
let u;
|
|
161169
|
-
return this.#l ? u = this.#l : (u = tS1(() => import("./MWZ6AO7Z-
|
|
161169
|
+
return this.#l ? u = this.#l : (u = tS1(() => import("./MWZ6AO7Z-BXeK3khR.js")), this.#l = u), VS1(this.#h, this.#r), QR1(u, eS1({
|
|
161170
161170
|
get queryFlavor() {
|
|
161171
161171
|
return r.#d;
|
|
161172
161172
|
},
|
|
@@ -169295,7 +169295,7 @@ function oB0(t, e, r, o) {
|
|
|
169295
169295
|
additionalRef: l,
|
|
169296
169296
|
relationshipsRef: s,
|
|
169297
169297
|
additionalIdentifiersRef: d
|
|
169298
|
-
} = t, u = a.current?.validate() ?? !1, p = c.current?.validate() ?? !
|
|
169298
|
+
} = t, u = a.current?.validate() ?? !1, p = c.current?.validate() ?? !0, w = i.current?.validate() ?? !0, g = l.current?.validate() ?? !0, M = s?.current?.validate() ?? !0;
|
|
169299
169299
|
let m = u && p && w && g && M;
|
|
169300
169300
|
if (o?.shouldValidateAdditionalIdentifiers ?? !1) {
|
|
169301
169301
|
const E = d.current?.validate() ?? !0;
|
|
@@ -169324,31 +169324,7 @@ function aB0(t, e, r) {
|
|
|
169324
169324
|
type: "error",
|
|
169325
169325
|
timeout: 5e3
|
|
169326
169326
|
}), null;
|
|
169327
|
-
const u = a.current?.getData();
|
|
169328
|
-
if (!u)
|
|
169329
|
-
return e({
|
|
169330
|
-
title: r("NOTIFICATION_ERROR_TITLE"),
|
|
169331
|
-
message: r("NOTIFICATION_UNABLE_TO_GET_ADDRESS_DATA"),
|
|
169332
|
-
type: "error",
|
|
169333
|
-
timeout: 5e3
|
|
169334
|
-
}), null;
|
|
169335
|
-
const p = c.current?.getData();
|
|
169336
|
-
if (!p)
|
|
169337
|
-
return e({
|
|
169338
|
-
title: r("NOTIFICATION_ERROR_TITLE"),
|
|
169339
|
-
message: r("NOTIFICATION_UNABLE_TO_GET_CONTACT_DATA"),
|
|
169340
|
-
type: "error",
|
|
169341
|
-
timeout: 5e3
|
|
169342
|
-
}), null;
|
|
169343
|
-
const w = i.current?.getData();
|
|
169344
|
-
if (!w)
|
|
169345
|
-
return e({
|
|
169346
|
-
title: r("NOTIFICATION_ERROR_TITLE"),
|
|
169347
|
-
message: r("NOTIFICATION_UNABLE_TO_GET_ADDITIONAL_DATA"),
|
|
169348
|
-
type: "error",
|
|
169349
|
-
timeout: 5e3
|
|
169350
|
-
}), null;
|
|
169351
|
-
const g = l?.current?.getData() ?? [], M = s.current?.getData() ?? {};
|
|
169327
|
+
const u = a.current?.getData() ?? {}, p = c.current?.getData() ?? {}, w = i.current?.getData() ?? {}, g = l?.current?.getData() ?? [], M = s.current?.getData() ?? {};
|
|
169352
169328
|
return {
|
|
169353
169329
|
profile: d,
|
|
169354
169330
|
address: u,
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"patientFormService.d.ts","sourceRoot":"","sources":["../../../src/pages/PatientRegister/patientFormService.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,oEAAoE,CAAC;AACnH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sDAAsD,CAAC;AAC9F,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gDAAgD,CAAC;AACrF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gDAAgD,CAAC;AACrF,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,kEAAkE,CAAC;AAChH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wCAAwC,CAAC;AAEzE,MAAM,WAAW,eAAe;IAC9B,UAAU,EAAE,KAAK,CAAC,SAAS,CAAC,UAAU,GAAG,IAAI,CAAC,CAAC;IAC/C,UAAU,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;IACnD,UAAU,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;IACnD,aAAa,EAAE,KAAK,CAAC,SAAS,CAAC,iBAAiB,GAAG,IAAI,CAAC,CAAC;IACzD,gBAAgB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,uBAAuB,GAAG,IAAI,CAAC,CAAC;IACnE,wBAAwB,EAAE,KAAK,CAAC,SAAS,CAAC,wBAAwB,GAAG,IAAI,CAAC,CAAC;CAC5E;AAED,MAAM,WAAW,iBAAiB;IAChC,2EAA2E;IAC3E,mCAAmC,CAAC,EAAE,OAAO,CAAC;CAC/C;AAED,wBAAgB,mBAAmB,CACjC,IAAI,EAAE,eAAe,EACrB,eAAe,EAAE,CAAC,YAAY,EAAE,IAAI,CAAC,YAAY,EAAE,IAAI,CAAC,KAAK,IAAI,EACjE,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,MAAM,EAC1B,OAAO,CAAC,EAAE,iBAAiB,GAC1B,OAAO,CAwCT;AAED;;;;;;;GAOG;AACH,wBAAgB,eAAe,CAC7B,IAAI,EAAE,eAAe,EACrB,eAAe,EAAE,CAAC,YAAY,EAAE,IAAI,CAAC,YAAY,EAAE,IAAI,CAAC,KAAK,IAAI,EACjE,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,MAAM;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"patientFormService.d.ts","sourceRoot":"","sources":["../../../src/pages/PatientRegister/patientFormService.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,oEAAoE,CAAC;AACnH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sDAAsD,CAAC;AAC9F,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gDAAgD,CAAC;AACrF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gDAAgD,CAAC;AACrF,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,kEAAkE,CAAC;AAChH,OAAO,KAAK,EAAE,UAAU,EAAE,MAA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