@bahmni/registration-app 0.0.1-dev.53 → 0.0.1-dev.54
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-DZ--FjwX.js → LNWAZHJI-C_g6-dsa.js} +2 -2
- package/dist/{MWZ6AO7Z-GD1jfC3S.js → MWZ6AO7Z-BSyPqOw3.js} +2 -2
- package/dist/{YPM2AS64-DWg0bVJV.js → YPM2AS64-DRA91NSI.js} +1 -1
- package/dist/components/forms/additionalIdentifiers/AdditionalIdentifiers.d.ts +15 -0
- package/dist/components/forms/additionalIdentifiers/AdditionalIdentifiers.d.ts.map +1 -0
- package/dist/hooks/useAdditionalIdentifiers.d.ts +11 -0
- package/dist/hooks/useAdditionalIdentifiers.d.ts.map +1 -0
- package/dist/hooks/useRegistrationConfig.d.ts +0 -5
- package/dist/hooks/useRegistrationConfig.d.ts.map +1 -1
- package/dist/{index-CAYZnFAk.js → index-3CImuQcH.js} +27100 -26981
- package/dist/index.css +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -2
- package/dist/locales/locale_en.json +2 -1
- package/dist/locales/locale_es.json +2 -1
- package/dist/models/patient.d.ts +7 -0
- package/dist/models/patient.d.ts.map +1 -1
- package/dist/pages/createPatientPage/CreatePatient.d.ts.map +1 -1
- package/dist/pages/createPatientPage/patientFormService.d.ts +8 -10
- package/dist/pages/createPatientPage/patientFormService.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -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-DRA91NSI.js";
|
|
2
|
+
import { g as d, c as f, a as e } from "./index-3CImuQcH.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-DRA91NSI.js";
|
|
2
|
+
import { g as v, c as C, a as e } from "./index-3CImuQcH.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-3CImuQcH.js";
|
|
5
5
|
var Rs = (e) => e != null, zs = (e) => e.filter(Rs);
|
|
6
6
|
function Ks(e) {
|
|
7
7
|
return (...t) => {
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { AdditionalIdentifiersData } from '../../../models/patient';
|
|
2
|
+
export interface AdditionalIdentifiersRef {
|
|
3
|
+
validate: () => boolean;
|
|
4
|
+
getData: () => AdditionalIdentifiersData;
|
|
5
|
+
}
|
|
6
|
+
interface AdditionalIdentifiersProps {
|
|
7
|
+
initialData?: AdditionalIdentifiersData;
|
|
8
|
+
ref?: React.Ref<AdditionalIdentifiersRef>;
|
|
9
|
+
}
|
|
10
|
+
export declare const AdditionalIdentifiers: {
|
|
11
|
+
({ initialData, ref, }: AdditionalIdentifiersProps): import("react/jsx-runtime").JSX.Element | null;
|
|
12
|
+
displayName: string;
|
|
13
|
+
};
|
|
14
|
+
export default AdditionalIdentifiers;
|
|
15
|
+
//# sourceMappingURL=AdditionalIdentifiers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AdditionalIdentifiers.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/additionalIdentifiers/AdditionalIdentifiers.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,yBAAyB,CAAC;AAGzE,MAAM,WAAW,wBAAwB;IACvC,QAAQ,EAAE,MAAM,OAAO,CAAC;IACxB,OAAO,EAAE,MAAM,yBAAyB,CAAC;CAC1C;AAED,UAAU,0BAA0B;IAClC,WAAW,CAAC,EAAE,yBAAyB,CAAC;IACxC,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,wBAAwB,CAAC,CAAC;CAC3C;AAQD,eAAO,MAAM,qBAAqB;4BAG/B,0BAA0B;;CAoF5B,CAAC;AAIF,eAAe,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { IdentifierTypesResponse } from '@bahmni/services';
|
|
2
|
+
export declare const IDENTIFIER_TYPES_QUERY_KEY: string[];
|
|
3
|
+
export declare const useIdentifierTypes: () => import('@tanstack/react-query').UseQueryResult<IdentifierTypesResponse, Error>;
|
|
4
|
+
export declare const useAdditionalIdentifiers: () => {
|
|
5
|
+
shouldShowAdditionalIdentifiers: boolean;
|
|
6
|
+
hasAdditionalIdentifiers: boolean;
|
|
7
|
+
isConfigEnabled: boolean;
|
|
8
|
+
identifierTypes: IdentifierTypesResponse | undefined;
|
|
9
|
+
isLoading: boolean;
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=useAdditionalIdentifiers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useAdditionalIdentifiers.d.ts","sourceRoot":"","sources":["../../src/hooks/useAdditionalIdentifiers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsB,uBAAuB,EAAE,MAAM,kBAAkB,CAAC;AAK/E,eAAO,MAAM,0BAA0B,UAAsB,CAAC;AAE9D,eAAO,MAAM,kBAAkB,sFAQ9B,CAAC;AAEF,eAAO,MAAM,wBAAwB;;;;;;CA0BpC,CAAC"}
|
|
@@ -1,8 +1,3 @@
|
|
|
1
1
|
import { RegistrationConfigContextType } from '../models/registrationConfig';
|
|
2
|
-
/**
|
|
3
|
-
* Custom hook to access the registration config context
|
|
4
|
-
* @returns The registration config context values including config, loading state, error, and refetch
|
|
5
|
-
* @throws Error if used outside RegistrationConfigProvider
|
|
6
|
-
*/
|
|
7
2
|
export declare const useRegistrationConfig: () => RegistrationConfigContextType;
|
|
8
3
|
//# sourceMappingURL=useRegistrationConfig.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useRegistrationConfig.d.ts","sourceRoot":"","sources":["../../src/hooks/useRegistrationConfig.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,6BAA6B,EAAE,MAAM,8BAA8B,CAAC;AAE7E
|
|
1
|
+
{"version":3,"file":"useRegistrationConfig.d.ts","sourceRoot":"","sources":["../../src/hooks/useRegistrationConfig.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,6BAA6B,EAAE,MAAM,8BAA8B,CAAC;AAE7E,eAAO,MAAM,qBAAqB,QAAO,6BAUxC,CAAC"}
|