@bahmni/widgets 0.0.1-dev.188 → 0.0.1-dev.189

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 { jsxs as A, jsx as v, Fragment as $5 } from "react/jsx-runtime";
2
- import { P as h, u as S5, a as W5, Q as P5, M as k5, t as F5, b as U5, i as j5 } from "./index-CjV0jHQ6.js";
2
+ import { P as h, u as S5, a as W5, Q as P5, M as k5, t as F5, b as U5, i as j5 } from "./index-zYYwI7OI.js";
3
3
  import { useQuery as q5 } from "@tanstack/react-query";
4
4
  import e, { useState as N, useCallback as _, useEffect as Q5, useMemo as x } from "react";
5
5
  import { useTranslation as K5 } from "react-i18next";
@@ -1,5 +1,5 @@
1
1
  import { jsxs as b, jsx as n, Fragment as H } from "react/jsx-runtime";
2
- import { c as M, Z as re, X as te, e as ae, d as oe, f as se, J as ne, u as de, N as ie, q as le, g as ce, x as me, h as ue, j as pe, M as be, R as fe, t as P, B as _e, k as he, b as $e, _ as ye, T as U, i as ge } from "./index-CjV0jHQ6.js";
2
+ import { c as M, Z as re, X as te, e as ae, d as oe, f as se, J as ne, u as de, N as ie, q as le, g as ce, x as me, h as ue, j as pe, M as be, R as fe, t as P, B as _e, k as he, b as $e, _ as ye, T as U, i as ge } from "./index-zYYwI7OI.js";
3
3
  import { useQueryClient as ve, useQuery as F } from "@tanstack/react-query";
4
4
  import { useState as k, useMemo as g, useCallback as L } from "react";
5
5
  import { useTranslation as Ne } from "react-i18next";
@@ -1,5 +1,5 @@
1
1
  import { jsx as l, jsxs as S } from "react/jsx-runtime";
2
- import { l as M, m as C, n as Q, Z as V, G as k, X as q, e as G, d as K, u as j, a as P, o as H, p as X, j as Z, f as z, r as J, s as Y, v as W, t as x } from "./index-CjV0jHQ6.js";
2
+ import { l as M, m as C, n as Q, Z as V, G as k, X as q, e as G, d as K, u as j, a as P, o as H, p as X, j as Z, f as z, r as J, s as Y, v as W, t as x } from "./index-zYYwI7OI.js";
3
3
  import { useQueries as ee, useQuery as te } from "@tanstack/react-query";
4
4
  import { useRef as se, useEffect as $, useMemo as E } from "react";
5
5
  import { useTranslation as D } from "react-i18next";
@@ -74564,9 +74564,11 @@ async function ytt(t) {
74564
74564
  );
74565
74565
  return !e.results || e.results.length === 0 ? null : e.results[0];
74566
74566
  }
74567
- const Vtt = (t) => `${n1}/Observation?encounter=${t}`;
74567
+ const Vtt = (t) => `${n1}/Observation/$fetch-all?encounter=${t}`;
74568
74568
  async function pat(t) {
74569
- return await St(Vtt(t));
74569
+ return await St(
74570
+ Vtt(t)
74571
+ );
74570
74572
  }
74571
74573
  const ys = (t, e) => t?.length === 0 ? !1 : e?.length === 0, Htt = async () => {
74572
74574
  try {
@@ -81297,7 +81299,7 @@ const Lot = [
81297
81299
  },
81298
81300
  {
81299
81301
  type: "patientDocuments",
81300
- component: Pr(() => import("./DocumentsTable-DCRhOR7h.js"))
81302
+ component: Pr(() => import("./DocumentsTable-CafHkVha.js"))
81301
81303
  },
81302
81304
  {
81303
81305
  type: "flowSheet",
@@ -81305,7 +81307,7 @@ const Lot = [
81305
81307
  },
81306
81308
  {
81307
81309
  type: "forms",
81308
- component: Pr(() => import("./FormsTable-BwcfrE7A.js"))
81310
+ component: Pr(() => import("./FormsTable-BMmldQfg.js"))
81309
81311
  },
81310
81312
  {
81311
81313
  type: "labOrders",
@@ -81313,7 +81315,7 @@ const Lot = [
81313
81315
  },
81314
81316
  {
81315
81317
  type: "observations",
81316
- component: Pr(() => import("./Observations-Dp94a95V.js"))
81318
+ component: Pr(() => import("./Observations-CHkBu95w.js"))
81317
81319
  },
81318
81320
  {
81319
81321
  type: "ordersControl",
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { a3 as s, a1 as t, A as o, y as r, a0 as n, C as g, D as l, H as P, L as c, z as d, O as v, U as T, w as b, I as A, K as C, F as f, E as I, S as W, $ as p, V as u, a5 as S, a4 as m, ab as D, aa as R, a7 as U, a8 as y, a9 as N, a6 as L, ac as h, a2 as E, Y as H, a as O, u as V, W as w } from "./index-CjV0jHQ6.js";
1
+ import { a3 as s, a1 as t, A as o, y as r, a0 as n, C as g, D as l, H as P, L as c, z as d, O as v, U as T, w as b, I as A, K as C, F as f, E as I, S as W, $ as p, V as u, a5 as S, a4 as m, ab as D, aa as R, a7 as U, a8 as y, a9 as N, a6 as L, ac as h, a2 as E, Y as H, a as O, u as V, W as w } from "./index-zYYwI7OI.js";
2
2
  import "react";
3
3
  export {
4
4
  s as ActivePractitionerContext,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bahmni/widgets",
3
- "version": "0.0.1-dev.188",
3
+ "version": "0.0.1-dev.189",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",