@bahmni/clinical-app 0.0.1-dev.342 → 0.0.1-dev.343

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,7 @@
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-B2JKo9fD.js";
2
+ import { by as m, u, aM as f, bv as p, bF as b, aF as _, bB as x } from "./index-B7ZynpI4.js";
3
3
  import { lazy as N, useMemo as r, Suspense as h } from "react";
4
- import { u as E } from "./hook-D0Jte7cL.js";
4
+ import { u as E } from "./hook-CLgCYVOd.js";
5
5
  const P = (s) => {
6
6
  const i = /* @__PURE__ */ new Map();
7
7
  for (const e of s) {
@@ -13,12 +13,12 @@ const P = (s) => {
13
13
  (e) => !e.requiredPrivileges || e.requiredPrivileges.length === 0 || m(i, e.requiredPrivileges)
14
14
  ), C = {
15
15
  "org.bahmni.clinical.v2.search": N(
16
- () => import("./index-8jABWVHf.js")
16
+ () => import("./index-Dec9PNZn.js")
17
17
  )
18
- }, L = "index-module_page__16xxw", y = "index-module_loading__wNI-4", I = "index-module_tabs__ZZv8Y", w = "index-module_message__Ib5Iw", l = {
19
- page: L,
20
- loading: y,
21
- tabs: I,
18
+ }, I = "index-module_page__16xxw", L = "index-module_loading__wNI-4", y = "index-module_tabs__ZZv8Y", w = "index-module_message__Ib5Iw", l = {
19
+ page: I,
20
+ loading: L,
21
+ tabs: y,
22
22
  message: w
23
23
  }, S = () => {
24
24
  const { t: s } = u(), { clinicalConfig: i } = E(), { userPrivileges: e } = f(), o = r(
@@ -1,12 +1,12 @@
1
- import { jsxs as t, 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 u, aF as p } from "./index-B2JKo9fD.js";
3
- import { Suspense as $ } from "react";
4
- const _ = "index-module_loading__FAL7n", E = "index-module_message__KjCnF", d = {
5
- loading: _,
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-B7ZynpI4.js";
3
+ import { Suspense as _ } from "react";
4
+ const $ = "index-module_loading__FAL7n", E = "index-module_message__KjCnF", t = {
5
+ loading: $,
6
6
  message: E
7
7
  }, I = ({ extensions: i }) => {
8
8
  const { t: s } = r();
9
- return i.length === 0 ? null : /* @__PURE__ */ t(o, { children: [
9
+ return i.length === 0 ? null : /* @__PURE__ */ d(o, { children: [
10
10
  /* @__PURE__ */ e(
11
11
  l,
12
12
  {
@@ -40,19 +40,19 @@ const _ = "index-module_loading__FAL7n", E = "index-module_message__KjCnF", d =
40
40
  a.extensionParams?.searchHandler ?? ""
41
41
  )?.component;
42
42
  return /* @__PURE__ */ e(
43
- u,
43
+ p,
44
44
  {
45
45
  id: `${a.id}-panel`,
46
46
  "data-testid": `${a.id}-panel-test-id`,
47
47
  "aria-label": `Panel ${a.id}`,
48
48
  children: n ? /* @__PURE__ */ e(
49
- $,
49
+ _,
50
50
  {
51
51
  fallback: /* @__PURE__ */ e(
52
- p,
52
+ u,
53
53
  {
54
54
  type: "multi",
55
- className: d.loading
55
+ className: t.loading
56
56
  }
57
57
  ),
58
58
  children: /* @__PURE__ */ e(n, { extensionParams: a.extensionParams })
@@ -63,7 +63,7 @@ const _ = "index-module_loading__FAL7n", E = "index-module_message__KjCnF", d =
63
63
  id: "extension-widget-not-registered",
64
64
  "data-testid": "extension-widget-not-registered-test-id",
65
65
  "aria-label": "Extension widget not registered",
66
- className: d.message,
66
+ className: t.message,
67
67
  children: s("EXTENSION_WIDGET_NOT_REGISTERED")
68
68
  }
69
69
  )