@bahmni/registration-app 0.0.1-dev.92 → 0.0.1-dev.95

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.
@@ -1,5 +1,5 @@
1
- import { c, T as l, P as m, a as u, D as v, Q as i } from "./YPM2AS64-DhpvE3xC.js";
2
- import { g as d, c as f, a as e } from "./index-B7zt2qFk.js";
1
+ import { c, T as l, P as m, a as u, D as v, Q as i } from "./YPM2AS64-DWmHuosc.js";
2
+ import { g as d, c as f, a as e } from "./index-CUMek64L.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-DhpvE3xC.js";
2
- import { g as v, c as C, a as e } from "./index-B7zt2qFk.js";
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-DWmHuosc.js";
2
+ import { g as v, c as C, a as e } from "./index-CUMek64L.js";
3
3
  var h = (t) => {
4
4
  const [r, o] = s({
5
5
  prefix: "TanstackQueryDevtools"
@@ -1,4 +1,4 @@
1
- import { b as we, d as z, o as xt, e as B, c as q, a as y, P as Ro, m as ye, S as R, t as _, i as k, f as N, h as A, j as bs, k as ir, u as $e, l as U, s as Hn, n as Vn, p as dt, q as D, r as xs, v as cn, w as Be, x as ws, y as qt, z as zt, A as $s, B as Cs, C as $n, F as Ss, D as Nr, E as Bt, $ as zo, G as ks, H as Es, I as j, J as Ur, K as Ms, L as Ds, M as sr, N as As, O as Ts, Q as zn, R as Fs, T as Is, U as Z, V as Ps, W as Ls } from "./index-B7zt2qFk.js";
1
+ import { b as we, d as z, o as xt, e as B, c as q, a as y, P as Ro, m as ye, S as R, t as _, i as k, f as N, h as A, j as bs, k as ir, u as $e, l as U, s as Hn, n as Vn, p as dt, q as D, r as xs, v as cn, w as Be, x as ws, y as qt, z as zt, A as $s, B as Cs, C as $n, F as Ss, D as Nr, E as Bt, $ as zo, G as ks, H as Es, I as j, J as Ur, K as Ms, L as Ds, M as sr, N as As, O as Ts, Q as zn, R as Fs, T as Is, U as Z, V as Ps, W as Ls } from "./index-CUMek64L.js";
2
2
  var Os = (e) => e != null, qs = (e) => e.filter(Os);
3
3
  function _s(e) {
4
4
  return (...t) => {
@@ -1,6 +1,6 @@
1
1
  export interface RegistrationActionsProps {
2
2
  extensionPointId?: string;
3
- onBeforeNavigate?: () => Promise<unknown>;
3
+ onBeforeNavigate?: () => Promise<string | null>;
4
4
  }
5
5
  /**
6
6
  * Component that renders extensions based on type
@@ -1 +1 @@
1
- {"version":3,"file":"RegistrationActions.d.ts","sourceRoot":"","sources":["../../../src/components/registrationActions/RegistrationActions.tsx"],"names":[],"mappings":"AAOA,MAAM,WAAW,wBAAwB;IACvC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,gBAAgB,CAAC,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC,CAAC;CAC3C;AAED;;;;;;;;;GASG;AACH,eAAO,MAAM,mBAAmB,GAAI,yCAGjC,wBAAwB,mDA6E1B,CAAC"}
1
+ {"version":3,"file":"RegistrationActions.d.ts","sourceRoot":"","sources":["../../../src/components/registrationActions/RegistrationActions.tsx"],"names":[],"mappings":"AAYA,MAAM,WAAW,wBAAwB;IACvC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,gBAAgB,CAAC,EAAE,MAAM,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;CACjD;AAED;;;;;;;;;GASG;AACH,eAAO,MAAM,mBAAmB,GAAI,yCAGjC,wBAAwB,mDAqF1B,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { VisitType } from '@bahmni/services';
2
+ export declare const useVisitTypes: () => {
3
+ visitTypes: import('@bahmni/services').VisitTypes | undefined;
4
+ isLoading: boolean;
5
+ };
6
+ export declare const useActiveVisit: (patientUuid?: string) => {
7
+ hasActiveVisit: boolean | undefined;
8
+ isLoading: boolean;
9
+ };
10
+ export declare const useCreateVisit: () => {
11
+ createVisit: (patientUuid: string, visitType: VisitType) => Promise<void>;
12
+ };
13
+ //# sourceMappingURL=useVisit.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useVisit.d.ts","sourceRoot":"","sources":["../../src/hooks/useVisit.ts"],"names":[],"mappings":"AAAA,OAAO,EAKL,KAAK,SAAS,EACf,MAAM,kBAAkB,CAAC;AAK1B,eAAO,MAAM,aAAa;;;CAYzB,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,cAAc,MAAM;;;CAUlD,CAAC;AAEF,eAAO,MAAM,cAAc;+BAOe,MAAM,aAAa,SAAS;CAoBrE,CAAC"}