@bahmni/widgets 0.0.1-dev.430 → 0.0.1-dev.432

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 T, Fragment as Y } from "react/jsx-runtime";
2
- import { u as W, a as X, s as J, V as Z, m as x, b as ee, F as te } from "./index-8DwKY7zc.js";
2
+ import { u as W, a as X, s as J, V as Z, m as x, b as ee, F as te } from "./index-D3lRHAEJ.js";
3
3
  import { useQuery as ne } from "@tanstack/react-query";
4
4
  import { useState as l, useCallback as _, useEffect as I, useMemo as p } from "react";
5
5
  import { useTranslation as ae } from "react-i18next";
@@ -1,5 +1,5 @@
1
1
  import { jsx as n, jsxs as P, Fragment as ie } from "react/jsx-runtime";
2
- import { u as de, c as le, d as me, L as ce, x as ue, I as fe, p as be, J as he, e as Ne, f as ye, G as Oe, m as ge, C as q, B as x, V as pe, b as G, r as Te, g as Ie, F as Ee, O as Fe, h as Ae } from "./index-8DwKY7zc.js";
2
+ import { u as de, c as le, d as me, L as ce, x as ue, I as fe, p as be, J as he, e as Ne, f as ye, G as Oe, m as ge, C as q, B as x, V as pe, b as G, r as Te, g as Ie, F as Ee, O as Fe, h as Ae } from "./index-D3lRHAEJ.js";
3
3
  import { useQueryClient as _e, useQuery as F } from "@tanstack/react-query";
4
4
  import { useState as $, useMemo as i, useCallback as d } from "react";
5
5
  import { useTranslation as Re } from "react-i18next";
@@ -1,5 +1,5 @@
1
1
  import { jsx as i, jsxs as S } from "react/jsx-runtime";
2
- import { i as G, D as F, t as j, j as z, m as H, k as J, T as P, R as x, S as Y, u as W, a as X, M as Z, L as ee, l as se, n as te, J as re, o as ae, q as oe, v as ne, w as ie, y as ce, b as le } from "./index-8DwKY7zc.js";
2
+ import { i as G, D as F, t as j, j as z, m as H, k as J, T as P, R as x, S as Y, u as W, a as X, M as Z, L as ee, l as se, n as te, J as re, o as ae, q as oe, v as ne, w as ie, y as ce, b as le } from "./index-D3lRHAEJ.js";
3
3
  import { useQueries as de, useQuery as ue } from "@tanstack/react-query";
4
4
  import { useRef as pe, useEffect as C, useMemo as I } from "react";
5
5
  import { useTranslation as w } from "react-i18next";
@@ -1 +1 @@
1
- {"version":3,"file":"DocumentUpload.d.ts","sourceRoot":"","sources":["../../src/documentUpload/DocumentUpload.tsx"],"names":[],"mappings":"AAcA,OAAO,KAMN,MAAM,OAAO,CAAC;AAMf,OAAO,EAGL,iBAAiB,EACjB,mBAAmB,EAEpB,MAAM,UAAU,CAAC;AAYlB,eAAO,MAAM,cAAc,+FA2WzB,CAAC;AAEH,eAAe,cAAc,CAAC"}
1
+ {"version":3,"file":"DocumentUpload.d.ts","sourceRoot":"","sources":["../../src/documentUpload/DocumentUpload.tsx"],"names":[],"mappings":"AAcA,OAAO,KAMN,MAAM,OAAO,CAAC;AAMf,OAAO,EAGL,iBAAiB,EACjB,mBAAmB,EAEpB,MAAM,UAAU,CAAC;AAYlB,eAAO,MAAM,cAAc,+FA6WzB,CAAC;AAEH,eAAe,cAAc,CAAC"}
@@ -98701,13 +98701,15 @@ const hjt = "DocumentUpload-module_container__rONO3", pjt = "DocumentUpload-modu
98701
98701
  }), J.length > 0 && u({
98702
98702
  title: d("DOCUMENT_UPLOAD_INVALID_TYPE_TITLE"),
98703
98703
  message: d("DOCUMENT_UPLOAD_INVALID_TYPE_MESSAGE"),
98704
- type: "error"
98704
+ type: "error",
98705
+ timeout: 5e3
98705
98706
  }), oe.length > 0 && u({
98706
98707
  title: d("DOCUMENT_UPLOAD_SIZE_EXCEEDED_TITLE"),
98707
98708
  message: d("DOCUMENT_UPLOAD_SIZE_EXCEEDED_MESSAGE", {
98708
98709
  size: g
98709
98710
  }),
98710
- type: "error"
98711
+ type: "error",
98712
+ timeout: 5e3
98711
98713
  }), ce.length > 0 && y((C) => [...C, ...ce]);
98712
98714
  }, Q = ({ document: ee, url: se }) => {
98713
98715
  const ce = N(ee);
@@ -115063,7 +115065,7 @@ const Z01 = [
115063
115065
  },
115064
115066
  {
115065
115067
  type: "patientDocuments",
115066
- component: l0(() => import("./DocumentsTable-GYAgWGwq.js"))
115068
+ component: l0(() => import("./DocumentsTable-B7thzGCf.js"))
115067
115069
  },
115068
115070
  {
115069
115071
  type: "flowSheet",
@@ -115071,7 +115073,7 @@ const Z01 = [
115071
115073
  },
115072
115074
  {
115073
115075
  type: "forms",
115074
- component: l0(() => import("./FormsTable-C-7V3So9.js"))
115076
+ component: l0(() => import("./FormsTable-DzRZuy3V.js"))
115075
115077
  },
115076
115078
  {
115077
115079
  type: "labOrders",
@@ -115079,7 +115081,7 @@ const Z01 = [
115079
115081
  },
115080
115082
  {
115081
115083
  type: "observations",
115082
- component: l0(() => import("./Observations-Can1-hcp.js"))
115084
+ component: l0(() => import("./Observations-BqSRYxWq.js"))
115083
115085
  },
115084
115086
  {
115085
115087
  type: "ordersControl",
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { ah as o, af as r, K as n, ae as c, aC as g, N as l, X as d, h as P, a6 as m, an as v, Q as u, z as C, U as T, A, E as p, a1 as S, a4 as N, _ as b, ay as D, aA as L, aB as U, aE as h, W as I, aD as W, a8 as f, a9 as E, O, P as R, a3 as _, a5 as y, Z as x, Y as F, $ as G, a2 as H, aw as M, av as k, ad as z, a0 as K, am as V, aj as q, ai as w, aF as B, f as Y, at as j, as as Q, al as X, ap as Z, aq as $, ar as J, ak as aa, ao as ea, H as sa, au as ta, ag as ia, a7 as oa, aa as ra, ac as na, c as ca, az as ga, a as la, ab as da, u as Pa, ax as ma, d as va } from "./index-8DwKY7zc.js";
1
+ import { ah as o, af as r, K as n, ae as c, aC as g, N as l, X as d, h as P, a6 as m, an as v, Q as u, z as C, U as T, A, E as p, a1 as S, a4 as N, _ as b, ay as D, aA as L, aB as U, aE as h, W as I, aD as W, a8 as f, a9 as E, O, P as R, a3 as _, a5 as y, Z as x, Y as F, $ as G, a2 as H, aw as M, av as k, ad as z, a0 as K, am as V, aj as q, ai as w, aF as B, f as Y, at as j, as as Q, al as X, ap as Z, aq as $, ar as J, ak as aa, ao as ea, H as sa, au as ta, ag as ia, a7 as oa, aa as ra, ac as na, c as ca, az as ga, a as la, ab as da, u as Pa, ax as ma, d as va } from "./index-D3lRHAEJ.js";
2
2
  import "react";
3
3
  import "react/jsx-runtime";
4
4
  import "@tanstack/react-query";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bahmni/widgets",
3
- "version": "0.0.1-dev.430",
3
+ "version": "0.0.1-dev.432",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",