@bahmni/clinical-app 0.0.1-dev.346 → 0.0.1-dev.347

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 { V as G, u as W, o as Y, g as J, p as X, M as Z, Q as ee, z as te } from "./index-BheoR2zJ.js";
2
+ import { V as G, u as W, o as Y, g as J, p as X, M as Z, Q as ee, z as te } from "./index-DUVzEfOd.js";
3
3
  import { useQuery as ae } from "@tanstack/react-query";
4
4
  import { useState as c, useCallback as h, useEffect as I, 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", me = "DocumentsTable-module_attachmentError__RI4U2", le = "DocumentsTable-module_documentIframe__ptq5I", ce = "DocumentsTable-module_documentImage__KQVgS", d = {
@@ -1,5 +1,5 @@
1
1
  import { jsx as i, jsxs as re, Fragment as oe } from "react/jsx-runtime";
2
- import { u as ae, V as te, d as se, w as ne, r as de, m as ie, f as me, a as le, t as ce, n as q, M as ue, p as fe, Q as k, b as ye, c as pe, z as be, k as he } from "./index-BheoR2zJ.js";
2
+ import { u as ae, V as te, d as se, w as ne, r as de, m as ie, f as me, a as le, t as ce, n as q, M as ue, p as fe, Q as k, b as ye, c as pe, z as be, k as he } from "./index-DUVzEfOd.js";
3
3
  import { useQueryClient as ge, useQuery as y } from "@tanstack/react-query";
4
4
  import { useState as w, useMemo as d, useCallback as p } from "react";
5
5
  const Ne = "FormsTable-module_formsTableBody__SvGha", Oe = "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-CX6FHGOW.js";
2
- import { bI as d, bJ as f, bK as e } from "./index-BheoR2zJ.js";
1
+ import { c, T as l, P as m, a as u, D as v, Q as i } from "./YPM2AS64-BSKjhDOv.js";
2
+ import { bJ as d, bK as f, bL as e } from "./index-DUVzEfOd.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-CX6FHGOW.js";
2
- import { bI as v, bJ as C, bK as e } from "./index-BheoR2zJ.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-BSKjhDOv.js";
2
+ import { bJ as v, bK as C, bL as e } from "./index-DUVzEfOd.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 u } from "react/jsx-runtime";
2
- import { V as Q, o as q, u as N, h as x, e as M, a as k, x as w, A as j, _ as G, W as H, Q as z, i as P, K as A, j as W, l as J, U as Y, q as X, E as Z, v as ee } from "./index-BheoR2zJ.js";
2
+ import { V as Q, o as q, u as N, h as x, e as M, a as k, x as w, A as j, _ as G, W as H, Q as z, i as P, K as A, j as W, l as J, U as Y, q as X, E as Z, v as ee } from "./index-DUVzEfOd.js";
3
3
  import { useQueries as ae, useQuery as te } from "@tanstack/react-query";
4
4
  import { useRef as se, useEffect as I, useMemo as R } from "react";
5
5
  const D = (a, n, d, l, b, r) => {
@@ -1,4 +1,4 @@
1
- import { bL as we, bM as z, bN as xt, bO as B, bJ as q, bK as y, bP as Ro, bQ as ye, bR as R, bS as _, bT as k, bU as N, bV as A, bW as bs, bX as ir, bY as $e, bZ as U, b_ as Hn, b$ as Vn, c0 as dt, c1 as D, c2 as xs, c3 as cn, c4 as Be, c5 as ws, c6 as qt, c7 as zt, c8 as $s, c9 as Cs, ca as $n, cb as Ss, cc as Nr, cd as Bt, ce as zo, cf as ks, cg as Es, ch as j, ci as Ur, cj as Ms, ck as Ds, cl as sr, cm as As, cn as Ts, co as zn, cp as Fs, cq as Is, cr as Z, cs as Ps, ct as Ls } from "./index-BheoR2zJ.js";
1
+ import { bM as we, bN as z, bO as xt, bP as B, bK as q, bL as y, bQ as Ro, bR as ye, bS as R, bT as _, bU as k, bV as N, bW as A, bX as bs, bY as ir, bZ as $e, b_ as U, b$ as Hn, c0 as Vn, c1 as dt, c2 as D, c3 as xs, c4 as cn, c5 as Be, c6 as ws, c7 as qt, c8 as zt, c9 as $s, ca as Cs, cb as $n, cc as Ss, cd as Nr, ce as Bt, cf as zo, cg as ks, ch as Es, ci as j, cj as Ur, ck as Ms, cl as Ds, cm as sr, cn as As, co as Ts, cp as zn, cq as Fs, cr as Is, cs as Z, ct as Ps, cu as Ls } from "./index-DUVzEfOd.js";
2
2
  var Os = (e) => e != null, qs = (e) => e.filter(Os);
3
3
  function _s(e) {
4
4
  return (...t) => {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/consultationPad/index.tsx"],"names":[],"mappings":"AAkBA,OAAO,KAON,MAAM,OAAO,CAAC;AAIf,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAsBnF,UAAU,oBAAoB;IAC5B,4BAA4B,EAAE,4BAA4B,CAAC;IAC3D,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,QAAA,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CA0gBnD,CAAC;AAEF,eAAe,eAAe,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/consultationPad/index.tsx"],"names":[],"mappings":"AAmBA,OAAO,KAON,MAAM,OAAO,CAAC;AAIf,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAqBnF,UAAU,oBAAoB;IAC5B,4BAA4B,EAAE,4BAA4B,CAAC;IAC3D,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,QAAA,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAohBnD,CAAC;AAEF,eAAe,eAAe,CAAC"}
@@ -1,4 +1,4 @@
1
- import { bG as i, bH as o } from "./index-BheoR2zJ.js";
1
+ import { bH as i, bI as o } from "./index-DUVzEfOd.js";
2
2
  import "react";
3
3
  const l = i(
4
4
  o,
@@ -1,8 +1,8 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
- import { by as m, u, aM as f, bv as p, bF as b, aF as _, bB as x } from "./index-BheoR2zJ.js";
2
+ import { bz as m, u, aK as f, bw as p, bG as b, aC as _, bC as x } from "./index-DUVzEfOd.js";
3
3
  import { lazy as N, useMemo as r, Suspense as h } from "react";
4
- import { u as E } from "./hook--55FHW70.js";
5
- const v = (s) => {
4
+ import { u as E } from "./hook-CQJXPLXP.js";
5
+ const C = (s) => {
6
6
  const i = /* @__PURE__ */ new Map();
7
7
  for (const e of s) {
8
8
  const o = i.get(e.extensionPointId) ?? [];
@@ -11,15 +11,15 @@ const v = (s) => {
11
11
  return i;
12
12
  }, P = (s, i) => s.filter(
13
13
  (e) => !e.requiredPrivileges || e.requiredPrivileges.length === 0 || m(i, e.requiredPrivileges)
14
- ), C = {
14
+ ), v = {
15
15
  "org.bahmni.clinical.v2.search": N(
16
- () => import("./index-Cb41sysr.js")
16
+ () => import("./index-CjEhPxaX.js")
17
17
  )
18
- }, L = "index-module_page__16xxw", y = "index-module_loading__wNI-4", I = "index-module_tabs__ZZv8Y", B = "index-module_message__Ib5Iw", l = {
18
+ }, L = "index-module_page__16xxw", I = "index-module_loading__wNI-4", y = "index-module_tabs__ZZv8Y", w = "index-module_message__Ib5Iw", l = {
19
19
  page: L,
20
- loading: y,
21
- tabs: I,
22
- message: B
20
+ loading: I,
21
+ tabs: y,
22
+ message: w
23
23
  }, S = () => {
24
24
  const { t: s } = u(), { clinicalConfig: i } = E(), { userPrivileges: e } = f(), o = r(
25
25
  () => [
@@ -28,12 +28,12 @@ const v = (s) => {
28
28
  ],
29
29
  [s]
30
30
  ), c = r(
31
- () => v(i?.extensions ?? []),
31
+ () => C(i?.extensions ?? []),
32
32
  [i]
33
33
  ), d = r(
34
34
  () => Array.from(c.entries()).map(([n, t]) => ({
35
35
  pointId: n,
36
- Handler: C[n],
36
+ Handler: v[n],
37
37
  filtered: P(t, e)
38
38
  })).filter(({ Handler: n, filtered: t }) => !!n && t.length > 0),
39
39
  [c, e]
@@ -1,5 +1,5 @@
1
1
  import { jsxs as d, jsx as e } from "react/jsx-runtime";
2
- import { u as r, cu as o, cv as l, cw as c, b4 as m, b5 as g, cx as h, cy as b, cz as p, aF as u } from "./index-BheoR2zJ.js";
2
+ import { u as r, cv as o, cw as l, cx as c, b2 as m, b3 as g, cy as h, cz as b, cA as p, aC as u } from "./index-DUVzEfOd.js";
3
3
  import { Suspense as E } from "react";
4
4
  const _ = "index-module_loading__FAL7n", $ = "index-module_message__KjCnF", t = {
5
5
  loading: _,