@bahmni/clinical-app 0.0.1-dev.328 → 0.0.1-dev.329

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,27 +1,27 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
- import { bt as m, u, aL as f, bq as p, bz as b, aF as _, bw as x } from "./index-BHPHdADf.js";
2
+ import { bu as m, u, aL as f, br as p, bA as b, aF as x, bx as _ } from "./index-CPZMkmDc.js";
3
3
  import { lazy as N, useMemo as r, Suspense as h } from "react";
4
- import { u as E } from "./hook-DE7_WRwf.js";
4
+ import { u as E } from "./hook-P01D_v5f.js";
5
5
  const P = (s) => {
6
6
  const i = /* @__PURE__ */ new Map();
7
7
  for (const e of s) {
8
- const o = i.get(e.extensionPointId) ?? [];
9
- o.push(e), i.set(e.extensionPointId, o);
8
+ const l = i.get(e.extensionPointId) ?? [];
9
+ l.push(e), i.set(e.extensionPointId, l);
10
10
  }
11
11
  return i;
12
12
  }, v = (s, i) => s.filter(
13
13
  (e) => !e.requiredPrivileges || e.requiredPrivileges.length === 0 || m(i, e.requiredPrivileges)
14
14
  ), L = {
15
15
  "org.bahmni.clinical.v2.search": N(
16
- () => import("./index-DEe43Szm.js")
16
+ () => import("./index-Bv85BZbp.js")
17
17
  )
18
- }, C = "index-module_page__16xxw", I = "index-module_loading__wNI-4", y = "index-module_tabs__ZZv8Y", w = "index-module_message__Ib5Iw", l = {
18
+ }, C = "index-module_page__16xxw", y = "index-module_loading__wNI-4", I = "index-module_tabs__ZZv8Y", A = "index-module_message__Ib5Iw", o = {
19
19
  page: C,
20
- loading: I,
21
- tabs: y,
22
- message: w
20
+ loading: y,
21
+ tabs: I,
22
+ message: A
23
23
  }, S = () => {
24
- const { t: s } = u(), { clinicalConfig: i } = E(), { userPrivileges: e } = f(), o = r(
24
+ const { t: s } = u(), { clinicalConfig: i } = E(), { userPrivileges: e } = f(), l = r(
25
25
  () => [
26
26
  { id: "home", label: s("HOME_LABEL"), href: p },
27
27
  { id: "clinical", label: s("CLINICAL_LABEL"), isCurrentPage: !0 }
@@ -41,28 +41,28 @@ const P = (s) => {
41
41
  return /* @__PURE__ */ a(
42
42
  b,
43
43
  {
44
- header: /* @__PURE__ */ a(x, { breadcrumbItems: o }),
44
+ header: /* @__PURE__ */ a(_, { breadcrumbItems: l }),
45
45
  main: /* @__PURE__ */ a(
46
46
  "div",
47
47
  {
48
48
  id: "clinical-list-page",
49
49
  "data-testid": "clinical-list-page-test-id",
50
50
  "aria-label": "Clinical List Page",
51
- className: l.page,
51
+ className: o.page,
52
52
  children: d.length > 0 ? d.map(({ pointId: n, Handler: t, filtered: g }) => /* @__PURE__ */ a(
53
53
  "div",
54
54
  {
55
55
  id: n,
56
56
  "data-testid": `${n}-test-id`,
57
- className: l.tabs,
57
+ className: o.tabs,
58
58
  children: /* @__PURE__ */ a(
59
59
  h,
60
60
  {
61
61
  fallback: /* @__PURE__ */ a(
62
- _,
62
+ x,
63
63
  {
64
64
  type: "multi",
65
- className: l.loading
65
+ className: o.loading
66
66
  }
67
67
  ),
68
68
  children: /* @__PURE__ */ a(t, { extensions: g })
@@ -76,7 +76,7 @@ const P = (s) => {
76
76
  id: "no-extensions-configured",
77
77
  "data-testid": "no-extensions-configured-test-id",
78
78
  "aria-label": "No extensions configured",
79
- className: l.message,
79
+ className: o.message,
80
80
  children: s("NO_EXTENSIONS_CONFIGURED")
81
81
  }
82
82
  )
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { cu as c } from "./index-BHPHdADf.js";
1
+ import { cv as c } from "./index-CPZMkmDc.js";
2
2
  export {
3
3
  c as ClinicalApp
4
4
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bahmni/clinical-app",
3
- "version": "0.0.1-dev.328",
3
+ "version": "0.0.1-dev.329",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",