@bahmni/widgets 0.0.1-dev.166 → 0.0.1-dev.167

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 b, jsx as d, Fragment as k } from "react/jsx-runtime";
2
- import { c as C, L as te, N as re, $ as ae, e as oe, T as se, u as ne, a as de, y as ie, m as le, g as ce, b as me, d as ue, v as pe, f as be, t as x, H as fe, C as _e, h as $e, o as ge, i as H, l as ye } from "./index-qzRrsNNl.js";
2
+ import { c as C, L as te, N as re, $ as ae, e as oe, T as se, u as ne, a as de, y as ie, m as le, g as ce, b as me, d as ue, v as pe, f as be, t as x, H as fe, C as _e, h as $e, o as ge, i as H, l as ye } from "./index-CefCE_cy.js";
3
3
  import { useQueryClient as he, useQuery as O } from "@tanstack/react-query";
4
4
  import { useState as P, useMemo as h, useCallback as F } from "react";
5
5
  import { useTranslation as ve } from "react-i18next";
@@ -1,5 +1,5 @@
1
1
  import { jsx as d, jsxs as S } from "react/jsx-runtime";
2
- import { j as k, _ as C, k as q, L as M, n as V, N as K, $ as Q, u as G, p as j, q as H, r as P, d as z, e as Y, s as J, w as W, B as X, t as Z } from "./index-qzRrsNNl.js";
2
+ import { j as k, _ as C, k as q, L as M, n as V, N as K, $ as Q, u as G, p as j, q as H, r as P, d as z, e as Y, s as J, w as W, B as X, t as Z } from "./index-CefCE_cy.js";
3
3
  import { useQueries as x, useQuery as ee } from "@tanstack/react-query";
4
4
  import { useRef as te, useEffect as I, useMemo as h } from "react";
5
5
  import { useTranslation as D } from "react-i18next";
@@ -77521,11 +77521,8 @@ const fet = "_searchPatientContainer_4r1cg_1", met = "_searchPatient_4r1cg_1", g
77521
77521
  message: _ instanceof Error ? _.message : String(_),
77522
77522
  type: "error"
77523
77523
  }), w([]), m("");
77524
- else if (M?.patientSearch?.customAttributes) {
77525
- const k = [
77526
- ...M.patientSearch.customAttributes || [],
77527
- ...M.patientSearch.appointment || []
77528
- ];
77524
+ else if (M?.patientSearch) {
77525
+ const k = Object.values(M.patientSearch).filter(Array.isArray).flat();
77529
77526
  x(k);
77530
77527
  const Y = k.map(
77531
77528
  (z) => v(z.translationKey)
@@ -78645,7 +78642,7 @@ const irt = () => {
78645
78642
  },
78646
78643
  {
78647
78644
  type: "forms",
78648
- component: nn(() => import("./FormsTable-GBHqYBC8.js"))
78645
+ component: nn(() => import("./FormsTable-CFv9vxue.js"))
78649
78646
  },
78650
78647
  {
78651
78648
  type: "labOrders",
@@ -78653,7 +78650,7 @@ const irt = () => {
78653
78650
  },
78654
78651
  {
78655
78652
  type: "observations",
78656
- component: nn(() => import("./Observations-DwtrmYYV.js"))
78653
+ component: nn(() => import("./Observations-WBixHtoT.js"))
78657
78654
  },
78658
78655
  {
78659
78656
  type: "ordersControl",
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { Y as t, W as s, A as o, x as r, z as n, D as g, G as l, F as P, M as c, K as d, O as v, P as b, I as T, J as p, E as A, R as W, S as f, U as m, V as u, a4 as R, a3 as C, a0 as D, a1 as I, a2 as S, Z as U, a5 as y, X as h, p as x, u as N, Q as F } from "./index-qzRrsNNl.js";
1
+ import { Y as t, W as s, A as o, x as r, z as n, D as g, G as l, F as P, M as c, K as d, O as v, P as b, I as T, J as p, E as A, R as W, S as f, U as m, V as u, a4 as R, a3 as C, a0 as D, a1 as I, a2 as S, Z as U, a5 as y, X as h, p as x, u as N, Q as F } from "./index-CefCE_cy.js";
2
2
  import "react";
3
3
  export {
4
4
  t as ActivePractitionerContext,
@@ -1 +1 @@
1
- {"version":3,"file":"SearchPatient.d.ts","sourceRoot":"","sources":["../../src/searchPatient/SearchPatient.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,yBAAyB,EAI1B,MAAM,kBAAkB,CAAC;AAQ1B,UAAU,kBAAkB;IAC1B,WAAW,EAAE,MAAM,CAAC;IACpB,oBAAoB,EAAE,MAAM,CAAC;IAC7B,QAAQ,EAAE,CACR,IAAI,EAAE,yBAAyB,GAAG,SAAS,EAC3C,UAAU,EAAE,MAAM,EAClB,SAAS,EAAE,OAAO,EAClB,OAAO,EAAE,OAAO,EAChB,gBAAgB,EAAE,OAAO,EACzB,iBAAiB,CAAC,EAAE,MAAM,KACvB,IAAI,CAAC;CACX;AAED,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CA0V/C,CAAC;AAEF,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"SearchPatient.d.ts","sourceRoot":"","sources":["../../src/searchPatient/SearchPatient.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,yBAAyB,EAI1B,MAAM,kBAAkB,CAAC;AAQ1B,UAAU,kBAAkB;IAC1B,WAAW,EAAE,MAAM,CAAC;IACpB,oBAAoB,EAAE,MAAM,CAAC;IAC7B,QAAQ,EAAE,CACR,IAAI,EAAE,yBAAyB,GAAG,SAAS,EAC3C,UAAU,EAAE,MAAM,EAClB,SAAS,EAAE,OAAO,EAClB,OAAO,EAAE,OAAO,EAChB,gBAAgB,EAAE,OAAO,EACzB,iBAAiB,CAAC,EAAE,MAAM,KACvB,IAAI,CAAC;CACX;AAED,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAyV/C,CAAC;AAEF,eAAe,aAAa,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bahmni/widgets",
3
- "version": "0.0.1-dev.166",
3
+ "version": "0.0.1-dev.167",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",