@bahmni/registration-app 0.0.1-dev.58 → 0.0.1-dev.59
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/{LNWAZHJI-DBolH8L4.js → LNWAZHJI-DXQQrH0F.js} +2 -2
- package/dist/{MWZ6AO7Z-CBYr-oX2.js → MWZ6AO7Z-D393fQsP.js} +2 -2
- package/dist/{YPM2AS64-YV9rmhp4.js → YPM2AS64-8NLsMmZq.js} +1 -1
- package/dist/components/forms/additionalInfo/AdditionalInfo.d.ts.map +1 -1
- package/dist/components/forms/addressInfo/AddressInfo.d.ts +1 -3
- package/dist/components/forms/addressInfo/AddressInfo.d.ts.map +1 -1
- package/dist/components/forms/contactInfo/ContactInfo.d.ts.map +1 -1
- package/dist/components/forms/profile/Profile.d.ts +1 -2
- package/dist/components/forms/profile/Profile.d.ts.map +1 -1
- package/dist/components/patientPhotoUpload/PatientPhotoUpload.d.ts +0 -1
- package/dist/components/patientPhotoUpload/PatientPhotoUpload.d.ts.map +1 -1
- package/dist/constants/app.d.ts +0 -2
- package/dist/constants/app.d.ts.map +1 -1
- package/dist/hooks/useAddressFields.d.ts.map +1 -1
- package/dist/hooks/useCreatePatient.d.ts.map +1 -1
- package/dist/hooks/useUpdatePatient.d.ts +0 -1
- package/dist/hooks/useUpdatePatient.d.ts.map +1 -1
- package/dist/{index-u5oJCcVU.js → index-BVWaTTUO.js} +44267 -47378
- package/dist/index.css +1 -1
- package/dist/index.js +1 -1
- package/dist/locales/locale_en.json +18 -25
- package/dist/locales/locale_es.json +17 -25
- package/dist/models/patient.d.ts +6 -7
- package/dist/models/patient.d.ts.map +1 -1
- package/dist/pages/createPatientPage/CreatePatient.d.ts +3 -0
- package/dist/pages/createPatientPage/CreatePatient.d.ts.map +1 -0
- package/dist/pages/createPatientPage/patientFormService.d.ts.map +1 -0
- package/dist/pages/createPatientPage/visitTypeSelector.d.ts.map +1 -0
- package/dist/pages/patientSearchPage/index.d.ts.map +1 -1
- package/dist/utils/identifierGenderUtils.d.ts +0 -1
- package/dist/utils/identifierGenderUtils.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/hooks/usePatientDetails.d.ts +0 -21
- package/dist/hooks/usePatientDetails.d.ts.map +0 -1
- package/dist/hooks/usePatientPhoto.d.ts +0 -9
- package/dist/hooks/usePatientPhoto.d.ts.map +0 -1
- package/dist/pages/PatientRegister/PatientRegister.d.ts +0 -3
- package/dist/pages/PatientRegister/PatientRegister.d.ts.map +0 -1
- package/dist/pages/PatientRegister/patientFormService.d.ts.map +0 -1
- package/dist/pages/PatientRegister/visitTypeSelector.d.ts.map +0 -1
- package/dist/utils/patientDataConverter.d.ts +0 -8
- package/dist/utils/patientDataConverter.d.ts.map +0 -1
- /package/dist/pages/{PatientRegister → createPatientPage}/patientFormService.d.ts +0 -0
- /package/dist/pages/{PatientRegister → createPatientPage}/visitTypeSelector.d.ts +0 -0
|
@@ -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 { g as d, c as f, a as e } from "./index-
|
|
1
|
+
import { c, T as l, P as m, a as u, D as v, Q as i } from "./YPM2AS64-8NLsMmZq.js";
|
|
2
|
+
import { g as d, c as f, a as e } from "./index-BVWaTTUO.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 { g as v, c as C, a 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-8NLsMmZq.js";
|
|
2
|
+
import { g as v, c as C, a as e } from "./index-BVWaTTUO.js";
|
|
3
3
|
var h = (t) => {
|
|
4
4
|
const [r, o] = s({
|
|
5
5
|
prefix: "TanstackQueryDevtools"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var ws = Object.defineProperty;
|
|
2
2
|
var xs = (e, t, n) => t in e ? ws(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
3
|
var _e = (e, t, n) => xs(e, typeof t != "symbol" ? t + "" : t, n);
|
|
4
|
-
import { b as $e, d as K, o as xt, e as H, c as L, a as v, P as zo, m as ye, S as z, t as q, i as k, f as G, h as T, j as $s, k as sr, u as Ce, l as V, s as Vn, n as jn, p as ft, q as A, r as Cs, v as cn, w as He, x as Ss, y as _t, z as Kt, A as ks, B as Es, C as Cn, F as Ds, D as Hr, E as Nt, $ as Ko, G as Ms, H as As, I as W, J as Ur, K as Ts, L as Fs, M as lr, N as Is, O as Os, Q as Kn, R as Ls, T as Ps, U as oe, V as qs, W as _s } from "./index-
|
|
4
|
+
import { b as $e, d as K, o as xt, e as H, c as L, a as v, P as zo, m as ye, S as z, t as q, i as k, f as G, h as T, j as $s, k as sr, u as Ce, l as V, s as Vn, n as jn, p as ft, q as A, r as Cs, v as cn, w as He, x as Ss, y as _t, z as Kt, A as ks, B as Es, C as Cn, F as Ds, D as Hr, E as Nt, $ as Ko, G as Ms, H as As, I as W, J as Ur, K as Ts, L as Fs, M as lr, N as Is, O as Os, Q as Kn, R as Ls, T as Ps, U as oe, V as qs, W as _s } from "./index-BVWaTTUO.js";
|
|
5
5
|
var Rs = (e) => e != null, zs = (e) => e.filter(Rs);
|
|
6
6
|
function Ks(e) {
|
|
7
7
|
return (...t) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AdditionalInfo.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/additionalInfo/AdditionalInfo.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AdditionalInfo.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/additionalInfo/AdditionalInfo.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAgB9D,MAAM,WAAW,iBAAiB;IAChC,QAAQ,EAAE,MAAM,OAAO,CAAC;IACxB,OAAO,EAAE,MAAM,cAAc,CAAC;CAC/B;AAED,UAAU,mBAAmB;IAC3B,WAAW,CAAC,EAAE,cAAc,CAAC;IAC7B,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC;CACpC;AAED,eAAO,MAAM,cAAc;2BAA0B,mBAAmB;;CAwGvE,CAAC;AAIF,eAAe,cAAc,CAAC"}
|
|
@@ -1,15 +1,13 @@
|
|
|
1
1
|
import { PatientAddress } from '@bahmni/services';
|
|
2
|
-
import { AddressData } from '../../../hooks/useAddressFields';
|
|
3
2
|
export type AddressInfoRef = {
|
|
4
3
|
validate: () => boolean;
|
|
5
4
|
getData: () => PatientAddress;
|
|
6
5
|
};
|
|
7
6
|
interface AddressInfoProps {
|
|
8
|
-
initialData?: AddressData;
|
|
9
7
|
ref?: React.Ref<AddressInfoRef>;
|
|
10
8
|
}
|
|
11
9
|
export declare const AddressInfo: {
|
|
12
|
-
({
|
|
10
|
+
({ ref }: AddressInfoProps): import("react/jsx-runtime").JSX.Element;
|
|
13
11
|
displayName: string;
|
|
14
12
|
};
|
|
15
13
|
export default AddressInfo;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AddressInfo.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/addressInfo/AddressInfo.tsx"],"names":[],"mappings":"AACA,OAAO,EAGL,KAAK,cAAc,EACpB,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"AddressInfo.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/addressInfo/AddressInfo.tsx"],"names":[],"mappings":"AACA,OAAO,EAGL,KAAK,cAAc,EACpB,MAAM,kBAAkB,CAAC;AAc1B,MAAM,MAAM,cAAc,GAAG;IAC3B,QAAQ,EAAE,MAAM,OAAO,CAAC;IACxB,OAAO,EAAE,MAAM,cAAc,CAAC;CAC/B,CAAC;AAEF,UAAU,gBAAgB;IACxB,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;CACjC;AAED,eAAO,MAAM,WAAW;cAAa,gBAAgB;;CA4UpD,CAAC;AAIF,eAAe,WAAW,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContactInfo.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/contactInfo/ContactInfo.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ContactInfo.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/contactInfo/ContactInfo.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAc3D,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,MAAM,OAAO,CAAC;IACxB,OAAO,EAAE,MAAM,WAAW,CAAC;CAC5B;AAED,UAAU,gBAAgB;IACxB,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;CACjC;AAED,eAAO,MAAM,WAAW;2BAA0B,gBAAgB;;CA+FjE,CAAC;AAIF,eAAe,WAAW,CAAC"}
|
|
@@ -14,11 +14,10 @@ interface ProfileProps {
|
|
|
14
14
|
initialData?: BasicInfoData;
|
|
15
15
|
initialDobEstimated?: boolean;
|
|
16
16
|
patientIdentifier?: string | null;
|
|
17
|
-
initialPhoto?: string | null | undefined;
|
|
18
17
|
ref?: React.Ref<ProfileRef>;
|
|
19
18
|
}
|
|
20
19
|
export declare const Profile: {
|
|
21
|
-
({ initialData, initialDobEstimated, patientIdentifier,
|
|
20
|
+
({ initialData, initialDobEstimated, patientIdentifier, ref, }: ProfileProps): import("react/jsx-runtime").JSX.Element;
|
|
22
21
|
displayName: string;
|
|
23
22
|
};
|
|
24
23
|
export default Profile;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Profile.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/profile/Profile.tsx"],"names":[],"mappings":"AAQA,OAAO,EAIL,iBAAiB,EAClB,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"Profile.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/profile/Profile.tsx"],"names":[],"mappings":"AAQA,OAAO,EAIL,iBAAiB,EAClB,MAAM,kBAAkB,CAAC;AAG1B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAe7D,MAAM,WAAW,UAAU;IACzB,OAAO,EAAE,MAAM,aAAa,GAAG;QAC7B,YAAY,EAAE,OAAO,CAAC;QACtB,iBAAiB,EAAE,iBAAiB,CAAC;QACrC,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB,CAAC;IACF,QAAQ,EAAE,MAAM,OAAO,CAAC;IACxB,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,cAAc,EAAE,CAAC,KAAK,EAAE,MAAM,aAAa,EAAE,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;CACvE;AAED,UAAU,YAAY;IACpB,WAAW,CAAC,EAAE,aAAa,CAAC;IAC5B,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;CAC7B;AAED,eAAO,MAAM,OAAO;oEAKjB,YAAY;;CA+kBd,CAAC;AAIF,eAAe,OAAO,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PatientPhotoUpload.d.ts","sourceRoot":"","sources":["../../../src/components/patientPhotoUpload/PatientPhotoUpload.tsx"],"names":[],"mappings":"AAGA,OAAO,
|
|
1
|
+
{"version":3,"file":"PatientPhotoUpload.d.ts","sourceRoot":"","sources":["../../../src/components/patientPhotoUpload/PatientPhotoUpload.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAgC,MAAM,OAAO,CAAC;AAGrD,UAAU,uBAAuB;IAC/B,cAAc,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK,IAAI,CAAC;CAC/C;AAmBD,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CA0PhE,CAAC"}
|
package/dist/constants/app.d.ts
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
1
|
export declare const REGISTRATION_NAMESPACE = "registration";
|
|
2
2
|
export declare const BAHMNI_REGISTRATION_SEARCH = "/bahmni-new/registration/search";
|
|
3
|
-
export declare const BAHMNI_REGISTRATION_PATIENT = "/registration/patient";
|
|
4
|
-
export declare const getPatientUrl: (patientUuid: string) => string;
|
|
5
3
|
//# sourceMappingURL=app.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.ts","sourceRoot":"","sources":["../../src/constants/app.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,sBAAsB,iBAAiB,CAAC;AACrD,eAAO,MAAM,0BAA0B,oCAAoC,CAAC
|
|
1
|
+
{"version":3,"file":"app.d.ts","sourceRoot":"","sources":["../../src/constants/app.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,sBAAsB,iBAAiB,CAAC;AACrD,eAAO,MAAM,0BAA0B,oCAAoC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useAddressFields.d.ts","sourceRoot":"","sources":["../../src/hooks/useAddressFields.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,YAAY;IAC3B,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,OAAO,CAAC;IAClB,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAED,MAAM,WAAW,WAAW;IAC1B,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;CAC9B;AAED,MAAM,WAAW,sBAAsB;IACrC,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CACH;AAED,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,MAAM,CAAC,EAAE,oBAAoB,GAAG,SAAS,CAAC;CAC3C;AAED,wBAAgB,gBAAgB,CAC9B,aAAa,EAAE,YAAY,EAAE,EAC7B,MAAM,EAAE,sBAAsB,EAC9B,cAAc,CAAC,EAAE,WAAW;;;;;;;sBAjCd,MAAM;cACd,MAAM;kBACF,OAAO;;6BA2FP,YAAY,KAAG,OAAO;mCA0DlB,MAAM,gBAAgB,oBAAoB;mCAgD1C,MAAM,SAAS,MAAM;+BAarB,MAAM,KAAG,MAAM,GAAG,SAAS;kCAxF3B,MAAM;;iCAuG4B,WAAW;EAoB5D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCreatePatient.d.ts","sourceRoot":"","sources":["../../src/hooks/useCreatePatient.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,iBAAiB,EACjB,cAAc,
|
|
1
|
+
{"version":3,"file":"useCreatePatient.d.ts","sourceRoot":"","sources":["../../src/hooks/useCreatePatient.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,iBAAiB,EACjB,cAAc,EAMf,MAAM,kBAAkB,CAAC;AAK1B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+DAA+D,CAAC;AAEtG,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAI/E,UAAU,qBAAqB;IAC7B,OAAO,EAAE,aAAa,GAAG;QACvB,YAAY,EAAE,OAAO,CAAC;QACtB,iBAAiB,EAAE,iBAAiB,CAAC;QACrC,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB,CAAC;IACF,OAAO,EAAE,cAAc,CAAC;IACxB,OAAO,EAAE,WAAW,CAAC;IACrB,UAAU,EAAE,cAAc,CAAC;IAC3B,aAAa,EAAE,gBAAgB,EAAE,CAAC;CACnC;AAED,eAAO,MAAM,gBAAgB,kJAkD5B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useUpdatePatient.d.ts","sourceRoot":"","sources":["../../src/hooks/useUpdatePatient.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,iBAAiB,EACjB,cAAc,
|
|
1
|
+
{"version":3,"file":"useUpdatePatient.d.ts","sourceRoot":"","sources":["../../src/hooks/useUpdatePatient.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,iBAAiB,EACjB,cAAc,EAMf,MAAM,kBAAkB,CAAC;AAK1B,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAG/E,UAAU,qBAAqB;IAC7B,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,aAAa,GAAG;QACvB,YAAY,EAAE,OAAO,CAAC;QACtB,iBAAiB,EAAE,iBAAiB,CAAC;KACtC,CAAC;IACF,OAAO,EAAE,cAAc,CAAC;IACxB,OAAO,EAAE,WAAW,CAAC;IACrB,UAAU,EAAE,cAAc,CAAC;CAC5B;AAED,eAAO,MAAM,gBAAgB,kJAsC5B,CAAC"}
|