@bahmni/appointments-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, b as ae } from "./index-Bq3dvsEB.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, b as ae } from "./index-DGhDkWpy.js";
3
3
  import { useState as l, useCallback as h, useEffect as C, useMemo as T } from "react";
4
4
  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", le = "_documentImage_1voj8_50", d = {
5
5
  documentsTableBody: ne,
@@ -37,7 +37,7 @@ const _e = [
37
37
  null
38
38
  ), [R, f] = l(
39
39
  /* @__PURE__ */ new Set()
40
- ), g = K(), { t: n } = Q(), { addNotification: U } = W(), $ = Number(a?.pageSize) || 10, [I, A] = l(1), [m, V] = l($), [k, y] = l(void 0), b = h((e) => {
40
+ ), g = K(), { t: n } = Q(), { addNotification: U } = W(), $ = Number(a?.pageSize) || 5, [I, A] = l(1), [m, V] = l($), [k, y] = l(void 0), b = h((e) => {
41
41
  w(e), L(!0);
42
42
  }, []), F = h(() => {
43
43
  L(!1), w(null), f(/* @__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, d as te, f as oe, a as L, w as ne, C as se, V as de, x as q, Z as me, k as ie, L as le, D as ce, g as k, o as ue, G as K, M as A, t as be, $ as pe, I as _e, S as fe, n as $e, l as he, i as ge, s as ve, h as ye } from "./index-Bq3dvsEB.js";
2
+ import { u as O, c as ae, d as te, f as oe, a as L, w as ne, C as se, V as de, x as q, Z as me, k as ie, L as le, D as ce, g as k, o as ue, G as K, M as A, t as be, $ as pe, I as _e, S as fe, n as $e, l as he, i as ge, s as ve, h as ye } from "./index-DGhDkWpy.js";
3
3
  import { useState as H, useMemo as v, useCallback as C } from "react";
4
4
  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 = {
5
5
  formsTableBody: Ne,
@@ -1,5 +1,5 @@
1
- import { c, T as l, P as m, a as u, D as v, Q as i } from "./YPM2AS64-7kAdvswW.js";
2
- import { Y as d, _ as f, a0 as e } from "./index-Bq3dvsEB.js";
1
+ import { c, T as l, P as m, a as u, D as v, Q as i } from "./YPM2AS64-D7_Y-B3I.js";
2
+ import { Y as d, _ as f, a0 as e } from "./index-DGhDkWpy.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-7kAdvswW.js";
2
- import { Y as v, _ as C, a0 as e } from "./index-Bq3dvsEB.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-D7_Y-B3I.js";
2
+ import { Y as v, _ as C, a0 as e } from "./index-DGhDkWpy.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, j as w, r as x, a as K, w as Q, o as j, m as z, p as G, y as H, x as M, q as P, R as N, v as Y, t as J, z as W, $ as X, I as Z, S as ee, A as te } from "./index-Bq3dvsEB.js";
2
+ import { c as V, e as k, u as S, j as w, r as x, a as K, w as Q, o as j, m as z, p as G, y as H, x as M, q as P, R as N, v as Y, t as J, z as W, $ as X, I as Z, S as ee, A as te } from "./index-DGhDkWpy.js";
3
3
  import { useRef as ae, useEffect as _, useMemo as h } from "react";
4
4
  const q = (t, d, i, u, r) => {
5
5
  const a = Y(t, d, r), s = a.value, o = J(s);
@@ -1,4 +1,4 @@
1
- import { a1 as we, a2 as z, a3 as xt, a4 as B, _ as q, a0 as y, a5 as Ro, a6 as ye, a7 as R, a8 as _, a9 as k, aa as N, ab as A, ac as bs, ad as ir, ae as $e, af as G, ag as Hn, ah as Vn, ai as dt, aj as D, ak as xs, al as cn, am as Be, an as ws, ao as qt, ap as zt, aq as $s, ar as Cs, as as $n, at as Ss, au as Nr, av as Bt, aw as zo, ax as ks, ay as Es, az as j, aA as Gr, aB as Ms, aC as Ds, aD as sr, aE as As, aF as Ts, aG as zn, aH as Fs, aI as Is, aJ as Z, aK as Ps, aL as Ls } from "./index-Bq3dvsEB.js";
1
+ import { a1 as we, a2 as z, a3 as xt, a4 as B, _ as q, a0 as y, a5 as Ro, a6 as ye, a7 as R, a8 as _, a9 as k, aa as N, ab as A, ac as bs, ad as ir, ae as $e, af as G, ag as Hn, ah as Vn, ai as dt, aj as D, ak as xs, al as cn, am as Be, an as ws, ao as qt, ap as zt, aq as $s, ar as Cs, as as $n, at as Ss, au as Nr, av as Bt, aw as zo, ax as ks, ay as Es, az as j, aA as Gr, aB as Ms, aC as Ds, aD as sr, aE as As, aF as Ts, aG as zn, aH as Fs, aI as Is, aJ as Z, aK as Ps, aL as Ls } from "./index-DGhDkWpy.js";
2
2
  var Os = (e) => e != null, qs = (e) => e.filter(Os);
3
3
  function _s(e) {
4
4
  return (...t) => {
@@ -1,5 +1,5 @@
1
1
  import { jsx as n, jsxs as y } from "react/jsx-runtime";
2
- import { H as V, B as O, u as C, E as h, F as P, f as B, e as G, J as U, K as A, a as x, N as q, O as F, P as H, Q as k, T as Q, U as $, W as K, X as j } from "./index-Bq3dvsEB.js";
2
+ import { H as V, B as O, u as C, E as h, F as P, f as B, e as G, J as U, K as A, a as x, N as q, O as F, P as H, Q as k, T as Q, U as $, W as K, X as j } from "./index-DGhDkWpy.js";
3
3
  import { useState as I, useMemo as _ } from "react";
4
4
  const W = V(
5
5
  O,
@@ -68837,7 +68837,7 @@ const k_2 = () => {
68837
68837
  children: l
68838
68838
  }
68839
68839
  );
68840
- const L = new Map(e.map((C) => [C.id, C])), N = u !== void 0 && (g !== void 0 ? g > u : e.length > u);
68840
+ const L = new Map(e.map((C) => [C.id, C])), N = u !== void 0;
68841
68841
  return /* @__PURE__ */ ce(
68842
68842
  "div",
68843
68843
  {
@@ -141611,7 +141611,7 @@ const dd0 = "_bahmniIcon_1cg5e_1", ud0 = "_paddingNone_1cg5e_1", hd0 = "_padding
141611
141611
  children: l
141612
141612
  }
141613
141613
  );
141614
- const L = new Map(e.map((C) => [C.id, C])), N = u !== void 0 && (g !== void 0 ? g > u : e.length > u);
141614
+ const L = new Map(e.map((C) => [C.id, C])), N = u !== void 0;
141615
141615
  return /* @__PURE__ */ ce(
141616
141616
  "div",
141617
141617
  {
@@ -155224,7 +155224,7 @@ function ME0(t) {
155224
155224
  });
155225
155225
  }
155226
155226
  const yE0 = ({ config: t }) => {
155227
- const e = Number(t?.pageSize) || 10, r = ur(), { t: o } = A0(), { addNotification: a } = hr(), [c, l] = w1(1), [i, s] = w1(e), { data: d, isLoading: u, isError: f, error: w, refetch: g } = H0({
155227
+ const e = Number(t?.pageSize) || 5, r = ur(), { t: o } = A0(), { addNotification: a } = hr(), [c, l] = w1(1), [i, s] = w1(e), { data: d, isLoading: u, isError: f, error: w, refetch: g } = H0({
155228
155228
  queryKey: ["conditions", r, c, i],
155229
155229
  enabled: !!r,
155230
155230
  placeholderData: (y) => y,
@@ -155332,7 +155332,7 @@ const yE0 = ({ config: t }) => {
155332
155332
  confirmedCell: xE0,
155333
155333
  provisionalCell: NE0
155334
155334
  }, LE0 = ({ config: t }) => {
155335
- const e = Number(t?.pageSize) || 10, { t: r } = A0(), o = ur(), { addNotification: a } = hr(), [c, l] = w1(1), [i, s] = w1(e), { data: d, isLoading: u, isError: f, error: w, refetch: g } = H0({
155335
+ const e = Number(t?.pageSize) || 5, { t: r } = A0(), o = ur(), { addNotification: a } = hr(), [c, l] = w1(1), [i, s] = w1(e), { data: d, isLoading: u, isError: f, error: w, refetch: g } = H0({
155336
155336
  queryKey: ["diagnoses", o, c, i],
155337
155337
  enabled: !!o,
155338
155338
  placeholderData: (h) => h,
@@ -157897,7 +157897,7 @@ function vz0(t, e) {
157897
157897
  }));
157898
157898
  }
157899
157899
  const Ez0 = ({ config: t }) => {
157900
- const { t: e } = A0(), r = ur(), o = Number(t?.pageSize) || 15, [a, c] = w1(1), [l, i] = w1(o), s = X1(
157900
+ const { t: e } = A0(), r = ur(), o = Number(t?.pageSize) || 5, [a, c] = w1(1), [l, i] = w1(o), s = X1(
157901
157901
  () => wz0(t?.fields ?? []),
157902
157902
  [t?.fields]
157903
157903
  ), { data: d, isLoading: u, isError: f } = H0({
@@ -158147,7 +158147,7 @@ function Zb0(t, e, r) {
158147
158147
  return o;
158148
158148
  };
158149
158149
  }
158150
- R0(() => Promise.resolve().then(() => Mv0)), R0(() => Promise.resolve().then(() => Uv0)), R0(() => Promise.resolve().then(() => zE0)), R0(() => Promise.resolve().then(() => CE0)), R0(() => import("./DocumentsTable-D76ekIcO-DG7MCfcw.js")), R0(() => Promise.resolve().then(() => rz0)), R0(() => import("./FormsTable-qUtc8I5l-CgsUrz3i.js")), R0(() => Promise.resolve().then(() => ky0)), R0(() => import("./Observations-CdYZgPQ1-CJ66LKT-.js")), R0(
158150
+ R0(() => Promise.resolve().then(() => Mv0)), R0(() => Promise.resolve().then(() => Uv0)), R0(() => Promise.resolve().then(() => zE0)), R0(() => Promise.resolve().then(() => CE0)), R0(() => import("./DocumentsTable-BxEpAJXn-B21DoZcl.js")), R0(() => Promise.resolve().then(() => rz0)), R0(() => import("./FormsTable-CB6ab-uN-B9GDPhdP.js")), R0(() => Promise.resolve().then(() => ky0)), R0(() => import("./Observations-B-3a239G-CDX6l7at.js")), R0(
158151
158151
  () => Promise.resolve().then(() => hz0)
158152
158152
  ), R0(
158153
158153
  () => Promise.resolve().then(() => cy0)
@@ -159986,7 +159986,7 @@ var sx0 = (t, e = !1) => {
159986
159986
  const e = WCe(() => {
159987
159987
  const r = this, [o] = this.#a, [a] = this.#h, [c] = this.#d, [l] = this.#u, [i] = this.#p, [s] = this.#t;
159988
159988
  let d;
159989
- return this.#i ? d = this.#i : (d = qCe(() => import("./LNWAZHJI-DFDRDEyI.js")), this.#i = d), hAe(this.#l, this.#c), jCe(d, FCe({
159989
+ return this.#i ? d = this.#i : (d = qCe(() => import("./LNWAZHJI-BwsgCtWr.js")), this.#i = d), hAe(this.#l, this.#c), jCe(d, FCe({
159990
159990
  get queryFlavor() {
159991
159991
  return r.#r;
159992
159992
  },
@@ -160084,7 +160084,7 @@ var sx0 = (t, e = !1) => {
160084
160084
  const e = WCe(() => {
160085
160085
  const r = this, [o] = this.#a, [a] = this.#h, [c] = this.#d, [l] = this.#u, [i] = this.#p, [s] = this.#t, [d] = this.#i;
160086
160086
  let u;
160087
- return this.#s ? u = this.#s : (u = qCe(() => import("./MWZ6AO7Z-fskPt3bY.js")), this.#s = u), hAe(this.#l, this.#c), jCe(u, FCe({
160087
+ return this.#s ? u = this.#s : (u = qCe(() => import("./MWZ6AO7Z-C98UroTn.js")), this.#s = u), hAe(this.#l, this.#c), jCe(u, FCe({
160088
160088
  get queryFlavor() {
160089
160089
  return r.#r;
160090
160090
  },
@@ -160244,7 +160244,7 @@ const QV0 = {
160244
160244
  }), uH0 = R0(
160245
160245
  () => import("./index-CFigb5vF.js").then((t) => ({ default: t.IndexPage }))
160246
160246
  ), hH0 = R0(
160247
- () => import("./index-C3kXDeRl.js").then((t) => ({
160247
+ () => import("./index-BzCyYXVL.js").then((t) => ({
160248
160248
  default: t.default
160249
160249
  }))
160250
160250
  ), pH0 = [
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { aM as t } from "./index-Bq3dvsEB.js";
1
+ import { aM as t } from "./index-DGhDkWpy.js";
2
2
  export {
3
3
  t as AppointmentsApp
4
4
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bahmni/appointments-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",