@bahmni/reports-app 0.0.1-dev.459 → 0.0.1-dev.461

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 n, jsxs as h, Fragment as _e } from "react/jsx-runtime";
2
- import { u as pe, a as Ee, z as ge, i as Ce, Q as Ne, w as Ie, T as v, b as Ae, c as be, K as fe, h as Le, O as ye, d as De, U as Q, J as ve, L as we, I as Oe, e as Se, N as Ue, X as J, G as ee } from "./index-CakdCXWR.js";
2
+ import { u as pe, a as Ee, z as ge, i as Ce, Q as Ne, w as Ie, T as v, b as Ae, c as be, K as fe, h as Le, O as ye, d as De, U as Q, J as ve, L as we, I as Oe, e as Se, N as Ue, X as J, G as ee } from "./index-CGSYweTe.js";
3
3
  import { useQuery as Me } from "@tanstack/react-query";
4
4
  import { useState as T, useRef as Re, useEffect as E, useMemo as g, useCallback as _ } from "react";
5
5
  const ke = "DocumentsTable-module_documentsTableBody__6iR3w", $e = "DocumentsTable-module_viewAttachmentsLink__aQ1on", He = "DocumentsTable-module_documentViewerContainer__F5m8D", Be = "DocumentsTable-module_printContainer__rtarJ", Ge = "DocumentsTable-module_attachmentItem__17KA7", ze = "DocumentsTable-module_attachmentCounter__WFiI3", Ve = "DocumentsTable-module_attachmentError__RI4U2", We = "DocumentsTable-module_documentIframe__ptq5I", Fe = "DocumentsTable-module_attachmentContent__IaCEe", xe = "DocumentsTable-module_attachmentLoading__FAR6p", qe = "DocumentsTable-module_hiddenWhileLoading__IxocW", Ke = "DocumentsTable-module_documentImage__KQVgS", Pe = "DocumentsTable-module_header__345GY", je = "DocumentsTable-module_documentTypeCell__uWGM8", Qe = "DocumentsTable-module_printAllButton__IVYUW", Je = "DocumentsTable-module_attachmentHeader__yI2xn", o = {
@@ -1,5 +1,5 @@
1
1
  import { jsx as n, jsxs as q, Fragment as ne } from "react/jsx-runtime";
2
- import { a as ie, u as de, i as le, Z as me, V as ue, f as ce, g as fe, j as ye, w as Ne, $ as he, A as ge, R as Te, h as Ie, U as H, k as K, K as Oe, I as $, W as pe, l as be, e as Ae, m as Ee, y as _e } from "./index-CakdCXWR.js";
2
+ import { a as ie, u as de, i as le, Z as me, V as ue, f as ce, g as fe, j as ye, w as Ne, $ as he, A as ge, R as Te, h as Ie, U as H, k as K, K as Oe, I as $, W as pe, l as be, e as Ae, m as Ee, y as _e } from "./index-CGSYweTe.js";
3
3
  import { useQueryClient as Re, useQuery as A } from "@tanstack/react-query";
4
4
  import { useState as j, useMemo as i, useCallback as d } from "react";
5
5
  const ve = "FormsTable-module_formsTableBody__SvGha", Ce = "FormsTable-module_modalHeading__wnTmA", Ue = "FormsTable-module_customAccordianItem__isszs", g = {
@@ -1,5 +1,5 @@
1
- import { c, T as l, P as m, a as u, D as v, Q as i } from "./YPM2AS64-B-FqchYW.js";
2
- import { at as d, au as f, av as e } from "./index-CakdCXWR.js";
1
+ import { c, T as l, P as m, a as u, D as v, Q as i } from "./YPM2AS64-BxqTs3Oh.js";
2
+ import { at as d, au as f, av as e } from "./index-CGSYweTe.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-B-FqchYW.js";
2
- import { at as v, au as C, av as e } from "./index-CakdCXWR.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-BxqTs3Oh.js";
2
+ import { at as v, au as C, av as e } from "./index-CGSYweTe.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 S, jsx as n } from "react/jsx-runtime";
2
- import { u as z, z as Q, a as V, n as M, V as G, o as H, Y, w as j, p as J, q as P, r as W, s as X, d as ee, I as ae, t as se, v as B, x as te, B as re, h as ie, C as oe, D as ne, E as de, F as le } from "./index-CakdCXWR.js";
2
+ import { u as z, z as Q, a as V, n as M, V as G, o as H, Y, w as j, p as J, q as P, r as W, s as X, d as ee, I as ae, t as se, v as B, x as te, B as re, h as ie, C as oe, D as ne, E as de, F as le } from "./index-CGSYweTe.js";
3
3
  import { useQueries as ue, useQuery as ce } from "@tanstack/react-query";
4
4
  import { useRef as pe, useEffect as L, useMemo as g } from "react";
5
5
  const me = "Observations-module_observations__RKSyo", be = "Observations-module_title__TJL3z", he = "Observations-module_wrapper__muk2L", ve = "Observations-module_secondary__14nuS", O = {
@@ -1,8 +1,8 @@
1
1
  import { jsx as r, jsxs as S, Fragment as K } from "react/jsx-runtime";
2
- import { H as de, M as me, P as Se, S as fe, _ as Oe, a0 as ge, a1 as Pe, a2 as Ae, a3 as he, a4 as Re, a5 as Le, a as w, z as ce, a6 as De, a7 as q, a8 as Q, a9 as X, aa as Ce, ab as be, ac as Ne, ad as Z, ae as J, Z as ye, af as Me, ag as Ie, ah as ee, ai as Fe, aj as te, ak as Be, al as Ue, am as ve, an as He, ao as ae, ap as Ye, aq as ne, ar as we, as as xe } from "./index-CakdCXWR.js";
2
+ import { H as de, M as me, P as Se, S as fe, _ as Oe, a0 as ge, a1 as Pe, a2 as Ae, a3 as he, a4 as Re, a5 as Le, a as w, z as ce, a6 as De, a7 as q, a8 as Q, a9 as X, aa as Ce, ab as be, ac as Ne, ad as Z, ae as J, Z as ye, af as Me, ag as Ie, ah as ee, ai as Fe, aj as te, ak as Be, al as Ue, am as ve, an as He, ao as ae, ap as Ye, aq as ne, ar as we, as as xe } from "./index-CGSYweTe.js";
3
3
  import { useQuery as _e } from "@tanstack/react-query";
4
4
  import qe, { useCallback as W, useState as A, useEffect as ue, useMemo as x } from "react";
5
- import { useLocation as Qe, useNavigate as Ge } from "react-router-dom";
5
+ import { useLocation as Qe, useNavigate as Ge } from "react-router";
6
6
  const $e = "http://json-schema.org/draft-07/schema#", ke = "Reports App Configuration", Xe = "object", je = { config: { type: "object", properties: { supportedFormats: { type: "array", items: { type: "string" }, description: "List of supported report formats" }, paperSize: { type: "string", description: "Default paper size for generated reports (e.g., A4)" }, enableReportQueue: { type: "boolean", description: "Whether reports can be queued (run asynchronously) in addition to running immediately" } }, additionalProperties: !0 } }, ze = !0, We = {
7
7
  $schema: $e,
8
8
  title: ke,
@@ -1,4 +1,4 @@
1
- import { aw as we, ax as z, ay as xt, az as B, au as q, av as y, aA as Ro, aB as ye, aC as R, aD as _, aE as k, aF as N, aG as A, aH as bs, aI as ir, aJ as $e, aK as U, aL as Hn, aM as Vn, aN as dt, aO as D, aP as xs, aQ as cn, aR as Be, aS as ws, aT as qt, aU as zt, aV as $s, aW as Cs, aX as $n, aY as Ss, aZ as Nr, a_ as Bt, a$ as zo, b0 as ks, b1 as Es, b2 as j, b3 as Ur, b4 as Ms, b5 as Ds, b6 as sr, b7 as As, b8 as Ts, b9 as zn, ba as Fs, bb as Is, bc as Z, bd as Ps, be as Ls } from "./index-CakdCXWR.js";
1
+ import { aw as we, ax as z, ay as xt, az as B, au as q, av as y, aA as Ro, aB as ye, aC as R, aD as _, aE as k, aF as N, aG as A, aH as bs, aI as ir, aJ as $e, aK as U, aL as Hn, aM as Vn, aN as dt, aO as D, aP as xs, aQ as cn, aR as Be, aS as ws, aT as qt, aU as zt, aV as $s, aW as Cs, aX as $n, aY as Ss, aZ as Nr, a_ as Bt, a$ as zo, b0 as ks, b1 as Es, b2 as j, b3 as Ur, b4 as Ms, b5 as Ds, b6 as sr, b7 as As, b8 as Ts, b9 as zn, ba as Fs, bb as Is, bc as Z, bd as Ps, be as Ls } from "./index-CGSYweTe.js";
2
2
  var Os = (e) => e != null, qs = (e) => e.filter(Os);
3
3
  function _s(e) {
4
4
  return (...t) => {
@@ -5,7 +5,7 @@ import n, { forwardRef as T1, useRef as ye, useEffect as Me, useCallback as Ze,
5
5
  import * as m7 from "react-dom";
6
6
  import Hg, { createPortal as w7 } from "react-dom";
7
7
  import { useQuery as p2, useQueryClient as oc, useQueries as YR1, useMutation as Nz, onlineManager as JR1, QueryClient as Zt2, QueryClientProvider as It2 } from "@tanstack/react-query";
8
- import { useParams as Bt2, useNavigate as Pt2, Route as Cz, Navigate as jt2, Routes as Ft2 } from "react-router-dom";
8
+ import { useParams as Bt2, useNavigate as Pt2, Route as Cz, Navigate as jt2, Routes as Ft2 } from "react-router";
9
9
  function Ut2(t, e, r) {
10
10
  return (e = Kt2(e)) in t ? Object.defineProperty(t, e, {
11
11
  value: r,
@@ -190284,7 +190284,7 @@ n02({
190284
190284
  key: "commonSearch",
190285
190285
  component: Xpt
190286
190286
  });
190287
- B0(() => Promise.resolve().then(() => dlt)), B0(() => Promise.resolve().then(() => Slt)), B0(() => Promise.resolve().then(() => mit)), B0(() => Promise.resolve().then(() => Vit)), B0(() => import("./DocumentsTable-CIFLmXxN-BYCEhhS-.js")), B0(() => Promise.resolve().then(() => A9t)), B0(() => import("./FormsTable-VESfRLut-B_HLahb5.js")), B0(() => Promise.resolve().then(() => M8t)), B0(() => import("./Observations-D8l6VsZ7-CB4s617A.js")), B0(
190287
+ B0(() => Promise.resolve().then(() => dlt)), B0(() => Promise.resolve().then(() => Slt)), B0(() => Promise.resolve().then(() => mit)), B0(() => Promise.resolve().then(() => Vit)), B0(() => import("./DocumentsTable-CD8jsIEf-t83aCFCO.js")), B0(() => Promise.resolve().then(() => A9t)), B0(() => import("./FormsTable-CGD1xMCV-C6f4rmVI.js")), B0(() => Promise.resolve().then(() => M8t)), B0(() => import("./Observations-x0JPCClc-lhpcytrp.js")), B0(
190288
190288
  () => Promise.resolve().then(() => v7t)
190289
190289
  ), B0(
190290
190290
  () => Promise.resolve().then(() => P5t)
@@ -192301,7 +192301,7 @@ var cvt = (t, e = !1) => {
192301
192301
  const e = gt2(() => {
192302
192302
  const r = this, [o] = this.#n, [a] = this.#o, [c] = this.#a, [l] = this.#c, [i] = this.#p, [s] = this.#t;
192303
192303
  let d;
192304
- return this.#l ? d = this.#l : (d = mt2(() => import("./LNWAZHJI-COkTViOA.js")), this.#l = d), Rt2(this.#h, this.#r), pt2(d, ft2({
192304
+ return this.#l ? d = this.#l : (d = mt2(() => import("./LNWAZHJI-D4An6TPA.js")), this.#l = d), Rt2(this.#h, this.#r), pt2(d, ft2({
192305
192305
  get queryFlavor() {
192306
192306
  return r.#d;
192307
192307
  },
@@ -192399,7 +192399,7 @@ var cvt = (t, e = !1) => {
192399
192399
  const e = gt2(() => {
192400
192400
  const r = this, [o] = this.#n, [a] = this.#o, [c] = this.#a, [l] = this.#c, [i] = this.#p, [s] = this.#t, [d] = this.#l;
192401
192401
  let u;
192402
- return this.#i ? u = this.#i : (u = mt2(() => import("./MWZ6AO7Z-D_8OX56z.js")), this.#i = u), Rt2(this.#h, this.#r), pt2(u, ft2({
192402
+ return this.#i ? u = this.#i : (u = mt2(() => import("./MWZ6AO7Z-DS_j4e6T.js")), this.#i = u), Rt2(this.#h, this.#r), pt2(u, ft2({
192403
192403
  get queryFlavor() {
192404
192404
  return r.#d;
192405
192405
  },
@@ -192568,7 +192568,7 @@ const Pmt = "reports", jmt = "app:reports", uvt = "/reports/", hvt = "/reports/m
192568
192568
  }
192569
192569
  }
192570
192570
  }, KR1 = B0(
192571
- () => import("./ReportsPage-DI_wB8eD.js").then((t) => ({
192571
+ () => import("./ReportsPage-8DRHI8mc.js").then((t) => ({
192572
192572
  default: t.ReportsPage
192573
192573
  }))
192574
192574
  ), Gmt = [
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { bf as r } from "./index-CakdCXWR.js";
1
+ import { bf as r } from "./index-CGSYweTe.js";
2
2
  export {
3
3
  r as ReportsApp
4
4
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bahmni/reports-app",
3
- "version": "0.0.1-dev.459",
3
+ "version": "0.0.1-dev.461",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",
@@ -16,9 +16,9 @@
16
16
  "./locales/*": "./dist/locales/*"
17
17
  },
18
18
  "peerDependencies": {
19
- "react": "^19.0.0",
20
- "react-dom": "^19.0.0",
21
- "react-router-dom": "^7.15.0"
19
+ "react": "^19.2.7",
20
+ "react-dom": "^19.2.7",
21
+ "react-router": "^8.3.0"
22
22
  },
23
23
  "author": "Thoughtworks Inc.",
24
24
  "license": "MPLv2",