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

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,7 +1,8 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
- import { bz as m, u, aK as f, bw as p, bG as b, aC as _, bC as x } from "./index-DUVzEfOd.js";
2
+ import { bz as m, u, aK as p, bw as f, bG as b, aC as _, bC as x } from "./index-D8VlPiOt.js";
3
3
  import { lazy as N, useMemo as r, Suspense as h } from "react";
4
- import { u as E } from "./hook-CQJXPLXP.js";
4
+ import "@tanstack/react-query";
5
+ import { u as E } from "./hook-B4nWn5gZ.js";
5
6
  const C = (s) => {
6
7
  const i = /* @__PURE__ */ new Map();
7
8
  for (const e of s) {
@@ -13,17 +14,17 @@ const C = (s) => {
13
14
  (e) => !e.requiredPrivileges || e.requiredPrivileges.length === 0 || m(i, e.requiredPrivileges)
14
15
  ), v = {
15
16
  "org.bahmni.clinical.v2.search": N(
16
- () => import("./index-CjEhPxaX.js")
17
+ () => import("./index-P9Hox9Kh.js")
17
18
  )
18
19
  }, L = "index-module_page__16xxw", I = "index-module_loading__wNI-4", y = "index-module_tabs__ZZv8Y", w = "index-module_message__Ib5Iw", l = {
19
20
  page: L,
20
21
  loading: I,
21
22
  tabs: y,
22
23
  message: w
23
- }, S = () => {
24
- const { t: s } = u(), { clinicalConfig: i } = E(), { userPrivileges: e } = f(), o = r(
24
+ }, M = () => {
25
+ const { t: s } = u(), { clinicalConfig: i } = E(), { userPrivileges: e } = p(), o = r(
25
26
  () => [
26
- { id: "home", label: s("HOME_LABEL"), href: p },
27
+ { id: "home", label: s("HOME_LABEL"), href: f },
27
28
  { id: "clinical", label: s("CLINICAL_LABEL"), isCurrentPage: !0 }
28
29
  ],
29
30
  [s]
@@ -86,5 +87,5 @@ const C = (s) => {
86
87
  );
87
88
  };
88
89
  export {
89
- S as default
90
+ M as default
90
91
  };
@@ -1,10 +1,11 @@
1
1
  import { jsxs as d, jsx as e } from "react/jsx-runtime";
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";
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-D8VlPiOt.js";
3
3
  import { Suspense as E } from "react";
4
+ import "@tanstack/react-query";
4
5
  const _ = "index-module_loading__FAL7n", $ = "index-module_message__KjCnF", t = {
5
6
  loading: _,
6
7
  message: $
7
- }, I = ({ extensions: i }) => {
8
+ }, N = ({ extensions: i }) => {
8
9
  const { t: s } = r();
9
10
  return i.length === 0 ? null : /* @__PURE__ */ d(o, { children: [
10
11
  /* @__PURE__ */ e(
@@ -74,5 +75,5 @@ const _ = "index-module_loading__FAL7n", $ = "index-module_message__KjCnF", t =
74
75
  ] });
75
76
  };
76
77
  export {
77
- I as default
78
+ N as default
78
79
  };