@bahmni/registration-app 0.0.1-dev.208 → 0.0.1-dev.210

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 p, Fragment as Y } from "react/jsx-runtime";
2
- import { c as K, u as Q, e as W, a as X, V as J, C as Z, x as ee, L as te } from "./index-CT5YDE2N.js";
2
+ import { c as K, u as Q, e as W, a as X, V as J, C as Z, x as ee, L as te } from "./index-tjkiLqqv.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 = {
@@ -38,7 +38,7 @@ const _e = [
38
38
  null
39
39
  ), [R, C] = m(
40
40
  /* @__PURE__ */ new Set()
41
- ), g = K(), { t: n } = Q(), { addNotification: U } = W(), $ = Number(a?.pageSize) || 10, [I, A] = m(1), [l, V] = m($), [k, y] = m(void 0), M = h((e) => {
41
+ ), g = K(), { t: n } = Q(), { addNotification: U } = W(), $ = Number(a?.pageSize) || 5, [I, A] = m(1), [l, V] = m($), [k, y] = m(void 0), M = h((e) => {
42
42
  w(e), L(!0);
43
43
  }, []), F = h(() => {
44
44
  L(!1), w(null), C(/* @__PURE__ */ new Set());
@@ -1,5 +1,5 @@
1
1
  import { jsx as o, jsxs as p, Fragment as P } from "react/jsx-runtime";
2
- import { u as O, c as ae, b as te, l as oe, i as ne, s as se, d as de, w as me, C as ie, V as le, x as q, Z as ce, k as ue, L as be, D as pe, f as k, o as fe, G as K, M as A, t as _e, $ as $e, I as he, S as ge, n as ve } from "./index-CT5YDE2N.js";
2
+ import { u as O, c as ae, b as te, l as oe, i as ne, s as se, d as de, w as me, C as ie, V as le, x as q, Z as ce, k as ue, L as be, D as pe, f as k, o as fe, G as K, M as A, t as _e, $ as $e, I as he, S as ge, n as ve } from "./index-tjkiLqqv.js";
3
3
  import { useQueryClient as ye, useQuery as L } from "@tanstack/react-query";
4
4
  import { useState as H, useMemo as v, useCallback as C } from "react";
5
5
  const Ne = "_formsTableBody_1pd36_1", Le = "_customAccordianItem_1pd36_6", Ce = "_formContent_1pd36_18", Ae = "_formDetailsContainer_1pd36_25", Fe = "_observation_1pd36_30", Re = "_groupContainer_1pd36_39", Ie = "_rowContainer_1pd36_43", Me = "_groupLabel_1pd36_48", Oe = "_rowLabel_1pd36_58", Te = "_rowValue_1pd36_67", De = "_groupMembers_1pd36_75", Se = "_memberRow_1pd36_81", Ve = "_memberLabel_1pd36_86", we = "_memberValue_1pd36_94", xe = "_abnormalValue_1pd36_102", Ee = "_commentSection_1pd36_110", Be = "_commentText_1pd36_116", Ge = "_nestedGroup_1pd36_125", Ue = "_nestedGroupLabel_1pd36_132", qe = "_nestedGroupMembers_1pd36_141", n = {
@@ -1,5 +1,5 @@
1
- import { c, T as l, P as m, a as v, D as u, Q as i } from "./YPM2AS64-CV-PpqEY.js";
2
- import { q as d, v as f, A as e } from "./index-CT5YDE2N.js";
1
+ import { c, T as l, P as m, a as v, D as u, Q as i } from "./YPM2AS64-IvQ8oKhq.js";
2
+ import { q as d, v as f, A as e } from "./index-tjkiLqqv.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-CV-PpqEY.js";
2
- import { q as v, v as C, A as e } from "./index-CT5YDE2N.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-IvQ8oKhq.js";
2
+ import { q as v, v as C, A as e } from "./index-tjkiLqqv.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 T, jsx as l } from "react/jsx-runtime";
2
- import { c as V, e as k, u as S, r as w, g as x, w as K, o as Q, h as j, m as z, y as G, x as H, j as M, R as N, p as P, t as Y, z as J, $ as W, I as X, S as Z } from "./index-CT5YDE2N.js";
2
+ import { c as V, e as k, u as S, r as w, g as x, w as K, o as Q, h as j, m as z, y as G, x as H, j as M, R as N, p as P, t as Y, z as J, $ as W, I as X, S as Z } from "./index-tjkiLqqv.js";
3
3
  import { useQueries as ee, useQuery as te } from "@tanstack/react-query";
4
4
  import { useRef as ae, useEffect as _, useMemo as R } from "react";
5
5
  const D = (t, d, n, u, r) => {
@@ -1,4 +1,4 @@
1
- import { B as we, E as z, F as xt, H as B, v as q, A as y, P as Ro, J as ye, K as R, N as _, O as k, Q as N, T as A, U as bs, W as ir, X as $e, Y as U, _ as Hn, a0 as Vn, a1 as dt, a2 as D, a3 as xs, a4 as cn, a5 as Be, a6 as ws, a7 as qt, a8 as zt, a9 as $s, aa as Cs, ab as $n, ac as Ss, ad as Nr, ae as Bt, af as zo, ag as ks, ah as Es, ai as j, aj as Ur, ak as Ms, al as Ds, am as sr, an as As, ao as Ts, ap as zn, aq as Fs, ar as Is, as as Z, at as Ps, au as Os } from "./index-CT5YDE2N.js";
1
+ import { B as we, E as z, F as xt, H as B, v as q, A as y, P as Ro, J as ye, K as R, N as _, O as k, Q as N, T as A, U as bs, W as ir, X as $e, Y as U, _ as Hn, a0 as Vn, a1 as dt, a2 as D, a3 as xs, a4 as cn, a5 as Be, a6 as ws, a7 as qt, a8 as zt, a9 as $s, aa as Cs, ab as $n, ac as Ss, ad as Nr, ae as Bt, af as zo, ag as ks, ah as Es, ai as j, aj as Ur, ak as Ms, al as Ds, am as sr, an as As, ao as Ts, ap as zn, aq as Fs, ar as Is, as as Z, at as Ps, au as Os } from "./index-tjkiLqqv.js";
2
2
  var Ls = (e) => e != null, qs = (e) => e.filter(Ls);
3
3
  function _s(e) {
4
4
  return (...t) => {
@@ -69212,7 +69212,7 @@ const zZ2 = () => {
69212
69212
  children: i
69213
69213
  }
69214
69214
  );
69215
- const C = new Map(e.map((L) => [L.id, L])), z = u !== void 0 && (g !== void 0 ? g > u : e.length > u);
69215
+ const C = new Map(e.map((L) => [L.id, L])), z = u !== void 0;
69216
69216
  return /* @__PURE__ */ Ye(
69217
69217
  "div",
69218
69218
  {
@@ -142006,7 +142006,7 @@ const mM0 = "_bahmniIcon_1cg5e_1", wM0 = "_paddingNone_1cg5e_1", gM0 = "_padding
142006
142006
  children: i
142007
142007
  }
142008
142008
  );
142009
- const C = new Map(e.map((L) => [L.id, L])), z = u !== void 0 && (g !== void 0 ? g > u : e.length > u);
142009
+ const C = new Map(e.map((L) => [L.id, L])), z = u !== void 0;
142010
142010
  return /* @__PURE__ */ Ye(
142011
142011
  "div",
142012
142012
  {
@@ -155623,7 +155623,7 @@ function xL0(t) {
155623
155623
  });
155624
155624
  }
155625
155625
  const NL0 = ({ config: t }) => {
155626
- const e = Number(t?.pageSize) || 10, r = Or(), { t: o } = W1(), { addNotification: a } = S0(), [c, i] = pe(1), [l, s] = pe(e), { data: d, isLoading: u, isError: p, error: w, refetch: g } = O2({
155626
+ const e = Number(t?.pageSize) || 5, r = Or(), { t: o } = W1(), { addNotification: a } = S0(), [c, i] = pe(1), [l, s] = pe(e), { data: d, isLoading: u, isError: p, error: w, refetch: g } = O2({
155627
155627
  queryKey: ["conditions", r, c, l],
155628
155628
  enabled: !!r,
155629
155629
  placeholderData: (E) => E,
@@ -155731,7 +155731,7 @@ const NL0 = ({ config: t }) => {
155731
155731
  confirmedCell: TL0,
155732
155732
  provisionalCell: $L0
155733
155733
  }, OL0 = ({ config: t }) => {
155734
- const e = Number(t?.pageSize) || 10, { t: r } = W1(), o = Or(), { addNotification: a } = S0(), [c, i] = pe(1), [l, s] = pe(e), { data: d, isLoading: u, isError: p, error: w, refetch: g } = O2({
155734
+ const e = Number(t?.pageSize) || 5, { t: r } = W1(), o = Or(), { addNotification: a } = S0(), [c, i] = pe(1), [l, s] = pe(e), { data: d, isLoading: u, isError: p, error: w, refetch: g } = O2({
155735
155735
  queryKey: ["diagnoses", o, c, l],
155736
155736
  enabled: !!o,
155737
155737
  placeholderData: (h) => h,
@@ -158524,7 +158524,7 @@ function $T0(t, e) {
158524
158524
  }));
158525
158525
  }
158526
158526
  const OT0 = ({ config: t }) => {
158527
- const { t: e } = W1(), r = Or(), o = Number(t?.pageSize) || 15, [a, c] = pe(1), [i, l] = pe(o), s = Ie(
158527
+ const { t: e } = W1(), r = Or(), o = Number(t?.pageSize) || 5, [a, c] = pe(1), [i, l] = pe(o), s = Ie(
158528
158528
  () => _T0(t?.fields ?? []),
158529
158529
  [t?.fields]
158530
158530
  ), { data: d, isLoading: u, isError: p } = O2({
@@ -158774,7 +158774,7 @@ function IT0(t, e, r) {
158774
158774
  return o;
158775
158775
  };
158776
158776
  }
158777
- Ct(() => Promise.resolve().then(() => xC0)), Ct(() => Promise.resolve().then(() => QC0)), Ct(() => Promise.resolve().then(() => CL0)), Ct(() => Promise.resolve().then(() => DL0)), Ct(() => import("./DocumentsTable-D76ekIcO-Cvj957kc.js")), Ct(() => Promise.resolve().then(() => gT0)), Ct(() => import("./FormsTable-qUtc8I5l-BplISPid.js")), Ct(() => Promise.resolve().then(() => F_0)), Ct(() => import("./Observations-CdYZgPQ1-D-eaozih.js")), Ct(
158777
+ Ct(() => Promise.resolve().then(() => xC0)), Ct(() => Promise.resolve().then(() => QC0)), Ct(() => Promise.resolve().then(() => CL0)), Ct(() => Promise.resolve().then(() => DL0)), Ct(() => import("./DocumentsTable-BxEpAJXn-C9WJ6R7I.js")), Ct(() => Promise.resolve().then(() => gT0)), Ct(() => import("./FormsTable-CB6ab-uN-7LJ06fiJ.js")), Ct(() => Promise.resolve().then(() => F_0)), Ct(() => import("./Observations-B-3a239G-DoYIoOt-.js")), Ct(
158778
158778
  () => Promise.resolve().then(() => NT0)
158779
158779
  ), Ct(
158780
158780
  () => Promise.resolve().then(() => h_0)
@@ -160613,7 +160613,7 @@ var Lj0 = (t, e = !1) => {
160613
160613
  const e = FR1(() => {
160614
160614
  const r = this, [o] = this.#n, [a] = this.#o, [c] = this.#a, [i] = this.#c, [l] = this.#p, [s] = this.#t;
160615
160615
  let d;
160616
- return this.#i ? d = this.#i : (d = PR1(() => import("./LNWAZHJI-CJn8kTg4.js")), this.#i = d), sS1(this.#h, this.#r), IR1(d, BR1({
160616
+ return this.#i ? d = this.#i : (d = PR1(() => import("./LNWAZHJI-T7wTaffK.js")), this.#i = d), sS1(this.#h, this.#r), IR1(d, BR1({
160617
160617
  get queryFlavor() {
160618
160618
  return r.#d;
160619
160619
  },
@@ -160711,7 +160711,7 @@ var Lj0 = (t, e = !1) => {
160711
160711
  const e = FR1(() => {
160712
160712
  const r = this, [o] = this.#n, [a] = this.#o, [c] = this.#a, [i] = this.#c, [l] = this.#p, [s] = this.#t, [d] = this.#i;
160713
160713
  let u;
160714
- return this.#l ? u = this.#l : (u = PR1(() => import("./MWZ6AO7Z-6V0LrWMJ.js")), this.#l = u), sS1(this.#h, this.#r), IR1(u, BR1({
160714
+ return this.#l ? u = this.#l : (u = PR1(() => import("./MWZ6AO7Z-DCp6aQxN.js")), this.#l = u), sS1(this.#h, this.#r), IR1(u, BR1({
160715
160715
  get queryFlavor() {
160716
160716
  return r.#d;
160717
160717
  },
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { ax as s, av as E, aw as i } from "./index-CT5YDE2N.js";
1
+ import { ax as s, av as E, aw as i } from "./index-tjkiLqqv.js";
2
2
  export {
3
3
  s as IDENTIFIER_TYPES_QUERY_KEY,
4
4
  E as RegistrationApp,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bahmni/registration-app",
3
- "version": "0.0.1-dev.208",
3
+ "version": "0.0.1-dev.210",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",