@bahmni/appointments-app 0.0.1-dev.271 → 0.0.1-dev.272

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 x } from "react/jsx-runtime";
2
- import { u as G, a as W, h as Y, t as J, b as X, m as Z, c as ee, n as te } from "./index-DIOplafV.js";
2
+ import { u as G, a as W, h as Y, t as J, b as X, m as Z, c as ee, n as te } from "./index-Btq8SR5P.js";
3
3
  import { useQuery as ae } from "@tanstack/react-query";
4
4
  import { useState as l, useCallback as h, useEffect as O, useMemo as _ } 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", ce = "DocumentsTable-module_attachmentError__RI4U2", me = "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 Z } from "react/jsx-runtime";
2
- import { a as ee, u as re, w as ae, e as oe, Q as te, X as se, J as ne, d as de, R as S, m as ie, b as me, c as U, T as ue, C as le, n as ce, f as fe, Y as ye } from "./index-DIOplafV.js";
2
+ import { a as ee, u as re, w as ae, e as oe, Q as te, X as se, J as ne, d as de, R as S, m as ie, b as me, c as U, T as ue, C as le, n as ce, f as fe, Y as ye } from "./index-Btq8SR5P.js";
3
3
  import { useQueryClient as pe, useQuery as f } from "@tanstack/react-query";
4
4
  import { useState as q, useMemo as d, useCallback as y } from "react";
5
5
  const be = "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 i, D as u, Q as v } from "./YPM2AS64-Cnv4Z8zX.js";
2
- import { ah as d, ai as f, aj as e } from "./index-DIOplafV.js";
1
+ import { c, T as l, P as m, a as i, D as u, Q as v } from "./YPM2AS64-CJzl5blR.js";
2
+ import { ah as d, ai as f, aj as e } from "./index-Btq8SR5P.js";
3
3
  var h = (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 i, a as u, b as m, C as P, Q as d } from "./YPM2AS64-Cnv4Z8zX.js";
2
- import { ah as h, ai as v, aj as e } from "./index-DIOplafV.js";
1
+ import { c as s, T as c, P as i, a as u, b as m, C as P, Q as d } from "./YPM2AS64-CJzl5blR.js";
2
+ import { ah as h, ai as v, aj as e } from "./index-Btq8SR5P.js";
3
3
  var C = (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 M, h as k, a as N, K as q, G, d as Q, i as z, s as X, l as j, z as w, c as x, o as H, g as A, j as P, y as Y, k as J, M as W, S as Z, A as ee } from "./index-DIOplafV.js";
2
+ import { u as M, h as k, a as N, K as q, G, d as Q, i as z, s as X, l as j, z as w, c as x, o as H, g as A, j as P, y as Y, k as J, M as W, S as Z, A as ee } from "./index-Btq8SR5P.js";
3
3
  import { useQueries as ae, useQuery as te } from "@tanstack/react-query";
4
4
  import { useRef as se, useEffect as $, useMemo as T } from "react";
5
5
  const D = (a, n, d, l, b, r) => {
@@ -1,4 +1,4 @@
1
- import { ak as we, al as z, am as xt, an as B, ai as q, aj as y, ao as Ro, ap as ye, aq as R, ar as _, as as k, at as N, au as A, av as bs, aw as ir, ax as $e, ay as U, az as Hn, aA as Vn, aB as dt, aC as D, aD as xs, aE as cn, aF as Be, aG as ws, aH as qt, aI as zt, aJ as $s, aK as Cs, aL as $n, aM as Ss, aN as Nr, aO as Bt, aP as zo, aQ as ks, aR as Es, aS as j, aT as Ur, aU as Ms, aV as Ds, aW as sr, aX as As, aY as Ts, aZ as zn, a_ as Fs, a$ as Is, b0 as Z, b1 as Ps, b2 as Ls } from "./index-DIOplafV.js";
1
+ import { ak as we, al as z, am as xt, an as B, ai as q, aj as y, ao as Ro, ap as ye, aq as R, ar as _, as as k, at as N, au as A, av as bs, aw as ir, ax as $e, ay as U, az as Hn, aA as Vn, aB as dt, aC as D, aD as xs, aE as cn, aF as Be, aG as ws, aH as qt, aI as zt, aJ as $s, aK as Cs, aL as $n, aM as Ss, aN as Nr, aO as Bt, aP as zo, aQ as ks, aR as Es, aS as j, aT as Ur, aU as Ms, aV as Ds, aW as sr, aX as As, aY as Ts, aZ as zn, a_ as Fs, a$ as Is, b0 as Z, b1 as Ps, b2 as Ls } from "./index-Btq8SR5P.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 r, jsxs as p } from "react/jsx-runtime";
2
- import { P as g, U as S, V as B, W as P, Z as X, $ as ee, _ as te, a0 as ie, D as ae, a1 as ne, a as K, a2 as f, a3 as le, a4 as re, a5 as se, a6 as M, a7 as O, a8 as V, a9 as F, aa as C, ab as Y, ac as x, x as oe, h as de, B as k, ad as ce, E as me, ae as Ae, af as Ie, ag as ue, H as _e, I as Te } from "./index-DIOplafV.js";
2
+ import { P as g, U as S, V as B, W as P, Z as X, $ as ee, _ as te, a0 as ie, D as ae, a1 as ne, a as K, a2 as f, a3 as le, a4 as re, a5 as se, a6 as M, a7 as O, a8 as V, a9 as F, aa as C, ab as Y, ac as x, x as oe, h as de, B as k, ad as ce, E as me, ae as Ae, af as Ie, ag as ue, H as _e, I as Te } from "./index-Btq8SR5P.js";
3
3
  import { useState as U, useMemo as N, useEffect as $, useRef as Le, useCallback as E } from "react";
4
4
  import { useQuery as D, useQueryClient as ve } from "@tanstack/react-query";
5
5
  const Ne = "Available for appointments", q = "Get Appointment Unavailability", pe = "Add Appointment Unavailability", w = "Appointment Location", be = () => {
@@ -1,5 +1,5 @@
1
1
  import { jsx as n, jsxs as y } from "react/jsx-runtime";
2
- import { p as V, q as h, a as C, r as O, v as P, h as B, x, B as L, D as G, E as q, F as U, H as F, I as $, L as k, N as w, O as H } from "./index-DIOplafV.js";
2
+ import { p as V, q as h, a as C, r as O, v as P, h as B, x, B as L, D as G, E as q, F as U, H as F, I as $, L as k, N as w, O as H } from "./index-Btq8SR5P.js";
3
3
  import { useState as I, useMemo as _ } from "react";
4
4
  import { useQueryClient as j, useQuery as K } from "@tanstack/react-query";
5
5
  const Q = V(
@@ -61346,14 +61346,15 @@ const Xh2 = "_bahmniIcon_1cg5e_1", ep2 = "_paddingNone_1cg5e_1", tp2 = "_padding
61346
61346
  id: n,
61347
61347
  ariaLabel: a = n,
61348
61348
  padding: c = Gn.XXSMALL,
61349
- testId: l
61349
+ testId: l,
61350
+ fixedWidth: i = !1
61350
61351
  }) => {
61351
- const i = cp2(c);
61352
+ const s = cp2(c);
61352
61353
  if (!(!t || !/^fas?-[a-zA-Z0-9_-]+$/.test(t)))
61353
61354
  return /* @__PURE__ */ ie(
61354
61355
  "span",
61355
61356
  {
61356
- className: `${F3.bahmniIcon} ${i}`,
61357
+ className: `${F3.bahmniIcon} ${s}`,
61357
61358
  id: n,
61358
61359
  "data-testid": l,
61359
61360
  role: a ? "img" : void 0,
@@ -61364,6 +61365,7 @@ const Xh2 = "_bahmniIcon_1cg5e_1", ep2 = "_paddingNone_1cg5e_1", tp2 = "_padding
61364
61365
  icon: ["fas", t],
61365
61366
  size: e,
61366
61367
  color: r,
61368
+ fixedWidth: i,
61367
61369
  "data-testid": n
61368
61370
  }
61369
61371
  )
@@ -71522,7 +71524,8 @@ const QB2 = o.memo(
71522
71524
  {
71523
71525
  name: w.icon,
71524
71526
  id: `sidebar-icon-${w.id}`,
71525
- size: k9.LG
71527
+ size: k9.LG,
71528
+ fixedWidth: !0
71526
71529
  }
71527
71530
  ),
71528
71531
  href: w.href ?? "#",
@@ -145473,14 +145476,15 @@ const gz0 = "_bahmniIcon_1cg5e_1", vz0 = "_paddingNone_1cg5e_1", Ez0 = "_padding
145473
145476
  id: n,
145474
145477
  ariaLabel: a = n,
145475
145478
  padding: c = Cn.XXSMALL,
145476
- testId: l
145479
+ testId: l,
145480
+ fixedWidth: i = !1
145477
145481
  }) => {
145478
- const i = Hz0(c);
145482
+ const s = Hz0(c);
145479
145483
  if (!(!t || !/^fas?-[a-zA-Z0-9_-]+$/.test(t)))
145480
145484
  return /* @__PURE__ */ ie(
145481
145485
  "span",
145482
145486
  {
145483
- className: `${U3.bahmniIcon} ${i}`,
145487
+ className: `${U3.bahmniIcon} ${s}`,
145484
145488
  id: n,
145485
145489
  "data-testid": l,
145486
145490
  role: a ? "img" : void 0,
@@ -145491,6 +145495,7 @@ const gz0 = "_bahmniIcon_1cg5e_1", vz0 = "_paddingNone_1cg5e_1", Ez0 = "_padding
145491
145495
  icon: ["fas", t],
145492
145496
  size: e,
145493
145497
  color: r,
145498
+ fixedWidth: i,
145494
145499
  "data-testid": n
145495
145500
  }
145496
145501
  )
@@ -146018,7 +146023,8 @@ const Kz0 = o.memo(
146018
146023
  {
146019
146024
  name: w.icon,
146020
146025
  id: `sidebar-icon-${w.id}`,
146021
- size: Ei.LG
146026
+ size: Ei.LG,
146027
+ fixedWidth: !0
146022
146028
  }
146023
146029
  ),
146024
146030
  href: w.href ?? "#",
@@ -170137,7 +170143,7 @@ function QF0(t, e, r) {
170137
170143
  return n;
170138
170144
  };
170139
170145
  }
170140
- x0(() => Promise.resolve().then(() => XD0)), x0(() => Promise.resolve().then(() => xR0)), x0(() => Promise.resolve().then(() => nS0)), x0(() => Promise.resolve().then(() => dS0)), x0(() => import("./DocumentsTable-BTIXt5P5-D0ONlAN9.js")), x0(() => Promise.resolve().then(() => nI0)), x0(() => import("./FormsTable-Cg_0tmR0-Dhn2FyUw.js")), x0(() => Promise.resolve().then(() => kZ0)), x0(() => import("./Observations-M8evq10v-C9QQK0pq.js")), x0(
170146
+ x0(() => Promise.resolve().then(() => XD0)), x0(() => Promise.resolve().then(() => xR0)), x0(() => Promise.resolve().then(() => nS0)), x0(() => Promise.resolve().then(() => dS0)), x0(() => import("./DocumentsTable-CBd3EBSh-C3cdWHf5.js")), x0(() => Promise.resolve().then(() => nI0)), x0(() => import("./FormsTable-DMJEteY7-DW_3wjLN.js")), x0(() => Promise.resolve().then(() => kZ0)), x0(() => import("./Observations-CKw5OQxh-9qkJdVBD.js")), x0(
170141
170147
  () => Promise.resolve().then(() => pI0)
170142
170148
  ), x0(
170143
170149
  () => Promise.resolve().then(() => cZ0)
@@ -171977,7 +171983,7 @@ var zq0 = (t, e = !1) => {
171977
171983
  const e = Xk1(() => {
171978
171984
  const r = this, [n] = this.#n, [a] = this.#o, [c] = this.#a, [l] = this.#c, [i] = this.#p, [s] = this.#e;
171979
171985
  let d;
171980
- return this.#l ? d = this.#l : (d = Jk1(() => import("./LNWAZHJI-CTgs_-ID.js")), this.#l = d), vZ1(this.#h, this.#r), Yk1(d, Gk1({
171986
+ return this.#l ? d = this.#l : (d = Jk1(() => import("./LNWAZHJI-DRzT_bsO.js")), this.#l = d), vZ1(this.#h, this.#r), Yk1(d, Gk1({
171981
171987
  get queryFlavor() {
171982
171988
  return r.#d;
171983
171989
  },
@@ -172075,7 +172081,7 @@ var zq0 = (t, e = !1) => {
172075
172081
  const e = Xk1(() => {
172076
172082
  const r = this, [n] = this.#n, [a] = this.#o, [c] = this.#a, [l] = this.#c, [i] = this.#p, [s] = this.#e, [d] = this.#l;
172077
172083
  let u;
172078
- return this.#i ? u = this.#i : (u = Jk1(() => import("./MWZ6AO7Z-BGn6u1yW.js")), this.#i = u), vZ1(this.#h, this.#r), Yk1(u, Gk1({
172084
+ return this.#i ? u = this.#i : (u = Jk1(() => import("./MWZ6AO7Z-DBHLDqXq.js")), this.#i = u), vZ1(this.#h, this.#r), Yk1(u, Gk1({
172079
172085
  get queryFlavor() {
172080
172086
  return r.#d;
172081
172087
  },
@@ -172235,11 +172241,11 @@ const vP0 = {
172235
172241
  }), _P0 = x0(
172236
172242
  () => import("./index-CFigb5vF.js").then((t) => ({ default: t.IndexPage }))
172237
172243
  ), $P0 = x0(
172238
- () => import("./index-gM9k4uhy.js").then((t) => ({
172244
+ () => import("./index-B2wrexoQ.js").then((t) => ({
172239
172245
  default: t.default
172240
172246
  }))
172241
172247
  ), TP0 = x0(
172242
- () => import("./index-BgUmjJ-c.js").then((t) => ({
172248
+ () => import("./index-3Loy8tQq.js").then((t) => ({
172243
172249
  default: t.default
172244
172250
  }))
172245
172251
  ), OP0 = [
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { b3 as t } from "./index-DIOplafV.js";
1
+ import { b3 as t } from "./index-Btq8SR5P.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.271",
3
+ "version": "0.0.1-dev.272",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",