@bahmni/registration-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-oBuGb57o.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-BrgcH5ip.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-oBuGb57o.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-BrgcH5ip.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 u, D as v, Q as i } from "./YPM2AS64-DBGKco50.js";
2
- import { p, q as d, r as e } from "./index-oBuGb57o.js";
1
+ import { c, T as l, P as m, a as u, D as v, Q as i } from "./YPM2AS64-BS3RTseC.js";
2
+ import { p, q as d, r as e } from "./index-BrgcH5ip.js";
3
3
  var f = (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-DBGKco50.js";
2
- import { p as v, q as C, r as e } from "./index-oBuGb57o.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-BS3RTseC.js";
2
+ import { p as v, q as C, r as e } from "./index-BrgcH5ip.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 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-oBuGb57o.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-BrgcH5ip.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 { v as we, x as z, B as xt, D as B, q, r as y, P as Ro, E as ye, F as R, H as _, I as k, L as N, N as A, O as bs, U as ir, V as $e, W as U, Z as Hn, _ as Vn, $ 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 Ur, 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-oBuGb57o.js";
1
+ import { v as we, x as z, B as xt, D as B, q, r as y, P as Ro, E as ye, F as R, H as _, I as k, L as N, N as A, O as bs, U as ir, V as $e, W as U, Z as Hn, _ as Vn, $ 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 Ur, 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-BrgcH5ip.js";
2
2
  var Os = (e) => e != null, qs = (e) => e.filter(Os);
3
3
  function _s(e) {
4
4
  return (...t) => {
@@ -61612,14 +61612,15 @@ const lE2 = "_bahmniIcon_1cg5e_1", sE2 = "_paddingNone_1cg5e_1", dE2 = "_padding
61612
61612
  id: n,
61613
61613
  ariaLabel: a = n,
61614
61614
  padding: c = Dn.XXSMALL,
61615
- testId: i
61615
+ testId: i,
61616
+ fixedWidth: l = !1
61616
61617
  }) => {
61617
- const l = mE2(c);
61618
+ const s = mE2(c);
61618
61619
  if (!(!t || !/^fas?-[a-zA-Z0-9_-]+$/.test(t)))
61619
61620
  return /* @__PURE__ */ ce(
61620
61621
  "span",
61621
61622
  {
61622
- className: `${Yo.bahmniIcon} ${l}`,
61623
+ className: `${Yo.bahmniIcon} ${s}`,
61623
61624
  id: n,
61624
61625
  "data-testid": i,
61625
61626
  role: a ? "img" : void 0,
@@ -61630,6 +61631,7 @@ const lE2 = "_bahmniIcon_1cg5e_1", sE2 = "_paddingNone_1cg5e_1", dE2 = "_padding
61630
61631
  icon: ["fas", t],
61631
61632
  size: e,
61632
61633
  color: r,
61634
+ fixedWidth: l,
61633
61635
  "data-testid": n
61634
61636
  }
61635
61637
  )
@@ -69622,7 +69624,8 @@ const OE = o.memo(
69622
69624
  {
69623
69625
  name: f.icon,
69624
69626
  id: `sidebar-icon-${f.id}`,
69625
- size: q3.LG
69627
+ size: q3.LG,
69628
+ fixedWidth: !0
69626
69629
  }
69627
69630
  ),
69628
69631
  href: f.href ?? "#",
@@ -142335,14 +142338,15 @@ const UN0 = "_bahmniIcon_1cg5e_1", WN0 = "_paddingNone_1cg5e_1", KN0 = "_padding
142335
142338
  id: n,
142336
142339
  ariaLabel: a = n,
142337
142340
  padding: c = Rn.XXSMALL,
142338
- testId: i
142341
+ testId: i,
142342
+ fixedWidth: l = !1
142339
142343
  }) => {
142340
- const l = XN0(c);
142344
+ const s = XN0(c);
142341
142345
  if (!(!t || !/^fas?-[a-zA-Z0-9_-]+$/.test(t)))
142342
142346
  return /* @__PURE__ */ ce(
142343
142347
  "span",
142344
142348
  {
142345
- className: `${Jo.bahmniIcon} ${l}`,
142349
+ className: `${Jo.bahmniIcon} ${s}`,
142346
142350
  id: n,
142347
142351
  "data-testid": i,
142348
142352
  role: a ? "img" : void 0,
@@ -142353,6 +142357,7 @@ const UN0 = "_bahmniIcon_1cg5e_1", WN0 = "_paddingNone_1cg5e_1", KN0 = "_padding
142353
142357
  icon: ["fas", t],
142354
142358
  size: e,
142355
142359
  color: r,
142360
+ fixedWidth: l,
142356
142361
  "data-testid": n
142357
142362
  }
142358
142363
  )
@@ -142884,7 +142889,8 @@ const HC0 = o.memo(
142884
142889
  {
142885
142890
  name: f.icon,
142886
142891
  id: `sidebar-icon-${f.id}`,
142887
- size: Zl.LG
142892
+ size: Zl.LG,
142893
+ fixedWidth: !0
142888
142894
  }
142889
142895
  ),
142890
142896
  href: f.href ?? "#",
@@ -167231,7 +167237,7 @@ function AU0(t, e, r) {
167231
167237
  return n;
167232
167238
  };
167233
167239
  }
167234
- mt(() => Promise.resolve().then(() => LB0)), mt(() => Promise.resolve().then(() => rP0)), mt(() => Promise.resolve().then(() => $P0)), mt(() => Promise.resolve().then(() => ZP0)), mt(() => import("./DocumentsTable-BTIXt5P5-baSRMp72.js")), mt(() => Promise.resolve().then(() => Pq0)), mt(() => import("./FormsTable-Cg_0tmR0-CVONvYEy.js")), mt(() => Promise.resolve().then(() => fq0)), mt(() => import("./Observations-M8evq10v-BMYRY3jE.js")), mt(
167240
+ mt(() => Promise.resolve().then(() => LB0)), mt(() => Promise.resolve().then(() => rP0)), mt(() => Promise.resolve().then(() => $P0)), mt(() => Promise.resolve().then(() => ZP0)), mt(() => import("./DocumentsTable-CBd3EBSh-CwAMtJfB.js")), mt(() => Promise.resolve().then(() => Pq0)), mt(() => import("./FormsTable-DMJEteY7-nBPYPZ4K.js")), mt(() => Promise.resolve().then(() => fq0)), mt(() => import("./Observations-CKw5OQxh-DJc8azf_.js")), mt(
167235
167241
  () => Promise.resolve().then(() => Qq0)
167236
167242
  ), mt(
167237
167243
  () => Promise.resolve().then(() => Rj0)
@@ -169071,7 +169077,7 @@ var t0t = (t, e = !1) => {
169071
169077
  const e = gj1(() => {
169072
169078
  const r = this, [n] = this.#n, [a] = this.#o, [c] = this.#a, [i] = this.#c, [l] = this.#p, [s] = this.#t;
169073
169079
  let u;
169074
- return this.#i ? u = this.#i : (u = mj1(() => import("./LNWAZHJI-DGX8wgch.js")), this.#i = u), Rj1(this.#h, this.#r), pj1(u, fj1({
169080
+ return this.#i ? u = this.#i : (u = mj1(() => import("./LNWAZHJI-CUQaAsvZ.js")), this.#i = u), Rj1(this.#h, this.#r), pj1(u, fj1({
169075
169081
  get queryFlavor() {
169076
169082
  return r.#d;
169077
169083
  },
@@ -169169,7 +169175,7 @@ var t0t = (t, e = !1) => {
169169
169175
  const e = gj1(() => {
169170
169176
  const r = this, [n] = this.#n, [a] = this.#o, [c] = this.#a, [i] = this.#c, [l] = this.#p, [s] = this.#t, [u] = this.#i;
169171
169177
  let d;
169172
- return this.#l ? d = this.#l : (d = mj1(() => import("./MWZ6AO7Z-CSDoID2_.js")), this.#l = d), Rj1(this.#h, this.#r), pj1(d, fj1({
169178
+ return this.#l ? d = this.#l : (d = mj1(() => import("./MWZ6AO7Z-Dy8v46Lp.js")), this.#l = d), Rj1(this.#h, this.#r), pj1(d, fj1({
169173
169179
  get queryFlavor() {
169174
169180
  return r.#d;
169175
169181
  },
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { av as s, at as t, au as E } from "./index-oBuGb57o.js";
1
+ import { av as s, at as t, au as E } from "./index-BrgcH5ip.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.271",
3
+ "version": "0.0.1-dev.272",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",