@bahmni/registration-app 0.0.1-dev.289 → 0.0.1-dev.290

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
1
  import { jsx as r, jsxs as h, Fragment as x } from "react/jsx-runtime";
2
- import { u as G, a as W, h as Y, k as J, w as X, m as Z, c as ee, n as te } from "./index-BLpRPCMy.js";
2
+ import { u as G, a as W, h as Y, k as J, w as X, m as Z, c as ee, n as te } from "./index-BTBcwSGe.js";
3
3
  import { useQuery as ae } from "@tanstack/react-query";
4
4
  import { useState as l, useCallback as _, useEffect as N, useMemo as p } from "react";
5
5
  const ne = "DocumentsTable-module_documentsTableBody__6iR3w", oe = "DocumentsTable-module_viewAttachmentsLink__aQ1on", re = "DocumentsTable-module_documentViewerContainer__F5m8D", de = "DocumentsTable-module_attachmentItem__17KA7", se = "DocumentsTable-module_attachmentCounter__WFiI3", me = "DocumentsTable-module_attachmentError__RI4U2", ce = "DocumentsTable-module_documentIframe__ptq5I", le = "DocumentsTable-module_documentImage__KQVgS", 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 ee, u as re, v as ae, Z as oe, S as te, I as se, $ as ne, e as de, _ as R, m as ie, w as me, c as q, O as ue, L as le, n as ce, q as fe, D as ye } from "./index-BLpRPCMy.js";
2
+ import { a as ee, u as re, v as ae, Z as oe, S as te, I as se, $ as ne, e as de, _ as R, m as ie, w as me, c as q, O as ue, L as le, n as ce, q as fe, D as ye } from "./index-BTBcwSGe.js";
3
3
  import { useQueryClient as be, useQuery as f } from "@tanstack/react-query";
4
4
  import { useState as U, useMemo as d, useCallback as y } from "react";
5
5
  const pe = "FormsTable-module_formsTableBody__SvGha", ge = "FormsTable-module_customAccordianItem__isszs", 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-Bob4RqHA.js";
2
- import { o as p, p as d, r as e } from "./index-BLpRPCMy.js";
1
+ import { c, T as l, P as m, a as u, D as v, Q as i } from "./YPM2AS64-DH8NQpgN.js";
2
+ import { o as p, p as d, r as e } from "./index-BTBcwSGe.js";
3
3
  var f = (a) => {
4
4
  const [r, o] = 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-Bob4RqHA.js";
2
- import { o as v, p as C, r as e } from "./index-BLpRPCMy.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-DH8NQpgN.js";
2
+ import { o as v, p as C, r as e } from "./index-BTBcwSGe.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 I, jsx as u } from "react/jsx-runtime";
2
- import { u as B, h as V, a as S, b as w, R as j, e as k, W as z, d as Q, K as x, z as G, c as M, j as P, f as H, U as W, g as J, i as Y, H as X, l as Z, N as ee } from "./index-BLpRPCMy.js";
2
+ import { u as B, h as V, a as S, b as w, R as j, e as k, W as z, d as Q, K as x, z as G, c as M, j as P, f as H, U as W, g as J, i as Y, H as X, l as Z, N as ee } from "./index-BTBcwSGe.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 D = (a, n, d, l, b, r) => {
@@ -1,4 +1,4 @@
1
- import { s as we, t as z, x as xt, y as B, p as q, r as y, P as Ro, A as ye, B as R, C as _, E as k, F as N, G as A, J as bs, M as ir, Q as $e, T as G, V as Hn, X as Vn, Y 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 Ls } from "./index-BLpRPCMy.js";
1
+ import { s as we, t as z, x as xt, y as B, p as q, r as y, P as Ro, A as ye, B as R, C as _, E as k, F as N, G as A, J as bs, M as ir, Q as $e, T as G, V as Hn, X as Vn, Y 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 Ls } from "./index-BTBcwSGe.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":"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;AAgB7D,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,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACzC,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;CAC7B;AAED,eAAO,MAAM,OAAO;kFAMjB,YAAY;;CA6pBd,CAAC;AAIF,eAAe,OAAO,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;AAgB7D,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,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACzC,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;CAC7B;AAED,eAAO,MAAM,OAAO;kFAMjB,YAAY;;CAsqBd,CAAC;AAIF,eAAe,OAAO,CAAC"}
@@ -172683,7 +172683,7 @@ function unt(t, e, r) {
172683
172683
  return o;
172684
172684
  };
172685
172685
  }
172686
- mt(() => Promise.resolve().then(() => l1t)), mt(() => Promise.resolve().then(() => D1t)), mt(() => Promise.resolve().then(() => h2t)), mt(() => Promise.resolve().then(() => E2t)), mt(() => import("./DocumentsTable-DXWkjdux-CfofuNq8.js")), mt(() => Promise.resolve().then(() => Hrt)), mt(() => import("./FormsTable-DLJpQ6yJ-CmcZBS9G.js")), mt(() => Promise.resolve().then(() => Ytt)), mt(() => import("./Observations-Dk1JBpvB-CNCj4h93.js")), mt(
172686
+ mt(() => Promise.resolve().then(() => l1t)), mt(() => Promise.resolve().then(() => D1t)), mt(() => Promise.resolve().then(() => h2t)), mt(() => Promise.resolve().then(() => E2t)), mt(() => import("./DocumentsTable-DXWkjdux-CdZUW5ON.js")), mt(() => Promise.resolve().then(() => Hrt)), mt(() => import("./FormsTable-DLJpQ6yJ-HjJhH_p8.js")), mt(() => Promise.resolve().then(() => Ytt)), mt(() => import("./Observations-Dk1JBpvB-DO1dbq3W.js")), mt(
172687
172687
  () => Promise.resolve().then(() => Ort)
172688
172688
  ), mt(
172689
172689
  () => Promise.resolve().then(() => gtt)
@@ -174523,7 +174523,7 @@ var I8t = (t, e = !1) => {
174523
174523
  const e = iX1(() => {
174524
174524
  const r = this, [o] = this.#n, [a] = this.#o, [c] = this.#a, [i] = this.#c, [l] = this.#p, [s] = this.#t;
174525
174525
  let u;
174526
- return this.#i ? u = this.#i : (u = aX1(() => import("./LNWAZHJI-_lMGC2Y3.js")), this.#i = u), bX1(this.#h, this.#r), nX1(u, oX1({
174526
+ return this.#i ? u = this.#i : (u = aX1(() => import("./LNWAZHJI-DM1-AxY2.js")), this.#i = u), bX1(this.#h, this.#r), nX1(u, oX1({
174527
174527
  get queryFlavor() {
174528
174528
  return r.#d;
174529
174529
  },
@@ -174621,7 +174621,7 @@ var I8t = (t, e = !1) => {
174621
174621
  const e = iX1(() => {
174622
174622
  const r = this, [o] = this.#n, [a] = this.#o, [c] = this.#a, [i] = this.#c, [l] = this.#p, [s] = this.#t, [u] = this.#i;
174623
174623
  let d;
174624
- return this.#l ? d = this.#l : (d = aX1(() => import("./MWZ6AO7Z-DAkBk35Z.js")), this.#l = d), bX1(this.#h, this.#r), nX1(d, oX1({
174624
+ return this.#l ? d = this.#l : (d = aX1(() => import("./MWZ6AO7Z-CaqY_ARH.js")), this.#l = d), bX1(this.#h, this.#r), nX1(d, oX1({
174625
174625
  get queryFlavor() {
174626
174626
  return r.#d;
174627
174627
  },
@@ -181940,6 +181940,11 @@ const hlt = {
181940
181940
  nameUuid: ""
181941
181941
  }), [E, z] = me(!1), [_, A] = me("");
181942
181942
  ue(() => {
181943
+ if (o && !_) {
181944
+ const re = o.includes(",") ? o.split(",")[1] : o;
181945
+ A(re);
181946
+ }
181947
+ }, [o]), ue(() => {
181943
181948
  t && x({
181944
181949
  patientIdFormat: t.patientIdFormat || i[0] || "",
181945
181950
  entryType: t.entryType ?? !1,
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { av as s, at as t, au as E } from "./index-BLpRPCMy.js";
1
+ import { av as s, at as t, au as E } from "./index-BTBcwSGe.js";
2
2
  export {
3
3
  s as IDENTIFIER_TYPES_QUERY_KEY,
4
4
  t as RegistrationApp,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bahmni/registration-app",
3
- "version": "0.0.1-dev.289",
3
+ "version": "0.0.1-dev.290",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",