@bahmni/clinical-app 0.0.1-dev.349 → 0.0.1-dev.351

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 +1 @@
1
- {"version":3,"file":"DashboardSection.d.ts","sourceRoot":"","sources":["../../../src/components/dashboardSection/DashboardSection.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,EAAiB,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAG3E,MAAM,WAAW,qBAAqB;IACpC,OAAO,EAAE,sBAAsB,CAAC;IAChC,GAAG,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;IAC5C,kBAAkB,EAAE,MAAM,EAAE,CAAC;IAC7B,cAAc,EAAE,MAAM,EAAE,CAAC;IACzB,UAAU,EAAE,MAAM,EAAE,CAAC;CACtB;AAED,QAAA,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CAwFrD,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"DashboardSection.d.ts","sourceRoot":"","sources":["../../../src/components/dashboardSection/DashboardSection.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,EAAiB,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAG3E,MAAM,WAAW,qBAAqB;IACpC,OAAO,EAAE,sBAAsB,CAAC;IAChC,GAAG,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;IAC5C,kBAAkB,EAAE,MAAM,EAAE,CAAC;IAC7B,cAAc,EAAE,MAAM,EAAE,CAAC;IACzB,UAAU,EAAE,MAAM,EAAE,CAAC;CACtB;AAED,QAAA,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CA2FrD,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
@@ -1,4 +1,4 @@
1
- import { bL as i, bM as o } from "./index-aVz5vm6R.js";
1
+ import { bM as i, bN as o } from "./index-BUeio6DV.js";
2
2
  import "react";
3
3
  import "react/jsx-runtime";
4
4
  import "@tanstack/react-query";
@@ -1 +1 @@
1
- {"version":3,"file":"useEncounterSession.d.ts","sourceRoot":"","sources":["../../src/hooks/useEncounterSession.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAGR,eAAe,EAEhB,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAGpC,MAAM,WAAW,0BAA0B;IACzC,YAAY,EAAE,QAAQ,GAAG,IAAI,CAAC;IAC9B,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED,MAAM,WAAW,yBAAyB;IACxC,gBAAgB,EAAE,OAAO,CAAC;IAC1B,eAAe,EAAE,SAAS,GAAG,IAAI,CAAC;IAClC,mBAAmB,EAAE,OAAO,CAAC;IAC7B,WAAW,EAAE,eAAe,EAAE,CAAC;IAC/B,mBAAmB,EAAE,OAAO,CAAC;IAC7B,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,OAAO,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;CAC9B;AAED,wBAAgB,mBAAmB,CACjC,OAAO,EAAE,0BAA0B,GAClC,yBAAyB,CAgG3B"}
1
+ {"version":3,"file":"useEncounterSession.d.ts","sourceRoot":"","sources":["../../src/hooks/useEncounterSession.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAGR,eAAe,EAGhB,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAGpC,MAAM,WAAW,0BAA0B;IACzC,YAAY,EAAE,QAAQ,GAAG,IAAI,CAAC;IAC9B,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED,MAAM,WAAW,yBAAyB;IACxC,gBAAgB,EAAE,OAAO,CAAC;IAC1B,eAAe,EAAE,SAAS,GAAG,IAAI,CAAC;IAClC,mBAAmB,EAAE,OAAO,CAAC;IAC7B,WAAW,EAAE,eAAe,EAAE,CAAC;IAC/B,mBAAmB,EAAE,OAAO,CAAC;IAC7B,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,OAAO,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;CAC9B;AAED,wBAAgB,mBAAmB,CACjC,OAAO,EAAE,0BAA0B,GAClC,yBAAyB,CAmH3B"}
@@ -1,8 +1,8 @@
1
1
  import { jsx as t } from "react/jsx-runtime";
2
- import { bD as m, u, M as p, bA as f, bK as b, aG as _, bG as x } from "./index-aVz5vm6R.js";
3
- import { lazy as N, useMemo as r, Suspense as h } from "react";
2
+ import { bE as m, u, H as p, bB as f, bL as b, aG as _, bH as x } from "./index-BUeio6DV.js";
3
+ import { lazy as E, useMemo as r, Suspense as N } from "react";
4
4
  import "@tanstack/react-query";
5
- import { u as E } from "./hook-Dfbe9Yfh.js";
5
+ import { u as h } from "./hook-CcvJOz2O.js";
6
6
  const P = (s) => {
7
7
  const i = /* @__PURE__ */ new Map();
8
8
  for (const e of s) {
@@ -12,17 +12,17 @@ const P = (s) => {
12
12
  return i;
13
13
  }, v = (s, i) => s.filter(
14
14
  (e) => !e.requiredPrivileges || e.requiredPrivileges.length === 0 || m(i, e.requiredPrivileges)
15
- ), C = {
16
- "org.bahmni.clinical.v2.search": N(
17
- () => import("./index-DhSka-Il.js")
15
+ ), L = {
16
+ "org.bahmni.clinical.v2.search": E(
17
+ () => import("./index-BofloRYy.js")
18
18
  )
19
- }, L = "index-module_page__16xxw", I = "index-module_loading__wNI-4", y = "index-module_tabs__ZZv8Y", A = "index-module_message__Ib5Iw", l = {
20
- page: L,
21
- loading: I,
22
- tabs: y,
23
- message: A
24
- }, S = () => {
25
- const { t: s } = u(), { clinicalConfig: i } = E(), { userPrivileges: e } = p(), o = r(
19
+ }, C = "index-module_page__16xxw", H = "index-module_loading__wNI-4", I = "index-module_tabs__ZZv8Y", y = "index-module_message__Ib5Iw", l = {
20
+ page: C,
21
+ loading: H,
22
+ tabs: I,
23
+ message: y
24
+ }, q = () => {
25
+ const { t: s } = u(), { clinicalConfig: i } = h(), { userPrivileges: e } = p(), o = r(
26
26
  () => [
27
27
  { id: "home", label: s("HOME_LABEL"), href: f },
28
28
  { id: "clinical", label: s("CLINICAL_LABEL"), isCurrentPage: !0 }
@@ -34,7 +34,7 @@ const P = (s) => {
34
34
  ), d = r(
35
35
  () => Array.from(c.entries()).map(([n, a]) => ({
36
36
  pointId: n,
37
- Handler: C[n],
37
+ Handler: L[n],
38
38
  filtered: v(a, e)
39
39
  })).filter(({ Handler: n, filtered: a }) => !!n && a.length > 0),
40
40
  [c, e]
@@ -57,7 +57,7 @@ const P = (s) => {
57
57
  "data-testid": `${n}-test-id`,
58
58
  className: l.tabs,
59
59
  children: /* @__PURE__ */ t(
60
- h,
60
+ N,
61
61
  {
62
62
  fallback: /* @__PURE__ */ t(
63
63
  _,
@@ -87,5 +87,5 @@ const P = (s) => {
87
87
  );
88
88
  };
89
89
  export {
90
- S as default
90
+ q as default
91
91
  };