@bahmni/home-app 0.0.1-dev.387 → 0.0.1-dev.389
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.
- package/dist/{DocumentsTable-DKoqNebk-Br_bi8Pg.js → DocumentsTable-BtTA_d0k-BeL4K37i.js} +22 -22
- package/dist/{FormsTable-CHKYAxeN-DagMD7Lt.js → FormsTable-6IDXNg6u-c2RxR7BN.js} +62 -62
- package/dist/{LNWAZHJI-vbD-S6BV.js → LNWAZHJI-DkRZmzgn.js} +2 -2
- package/dist/{MWZ6AO7Z-C43hFwhx.js → MWZ6AO7Z-bQSB2OKc.js} +2 -2
- package/dist/{Observations-DJE57Epe-CliRaHSH.js → Observations-D-MkCxN3-nTFMqv_D.js} +37 -37
- package/dist/{YPM2AS64-D2eFebQW.js → YPM2AS64-B0tTNasm.js} +1 -1
- package/dist/{index-CU2ZPmKb.js → index-D0lua_VZ.js} +20 -20
- package/dist/{index-C0DNi_Vd.js → index-DbPXFyTj.js} +26100 -26021
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsxs as c, jsx as e, Fragment as p } from "react/jsx-runtime";
|
|
2
|
-
import { u as m,
|
|
2
|
+
import { u as m, s as b, t as y, v as H, x as N, e as v, C as P, H as E, G, I as f, M as S, Q as C, S as T } from "./index-DbPXFyTj.js";
|
|
3
3
|
import "react";
|
|
4
4
|
import { useQuery as O } from "@tanstack/react-query";
|
|
5
5
|
const L = "AppTile-module_tile__-CBFh", B = "AppTile-module_label__6vslD", M = "AppTile-module_bottom__lcJiG", d = {
|
|
6
6
|
tile: L,
|
|
7
7
|
label: B,
|
|
8
8
|
bottom: M
|
|
9
|
-
},
|
|
9
|
+
}, k = ({ id: r, label: n, icon: s, url: l }) => {
|
|
10
10
|
const { t } = m(), i = t(n);
|
|
11
11
|
return /* @__PURE__ */ c(
|
|
12
12
|
b,
|
|
@@ -24,13 +24,13 @@ const L = "AppTile-module_tile__-CBFh", B = "AppTile-module_label__6vslD", M = "
|
|
|
24
24
|
]
|
|
25
25
|
}
|
|
26
26
|
);
|
|
27
|
-
},
|
|
28
|
-
container:
|
|
29
|
-
tileGrid:
|
|
30
|
-
skeletonTile:
|
|
31
|
-
emptyState:
|
|
27
|
+
}, x = "HomePageGrid-module_container__Kxfim", A = "HomePageGrid-module_tileGrid__X6-Bm", F = "HomePageGrid-module_skeletonTile__U-1vu", I = "HomePageGrid-module_emptyState__xEwoK", K = "HomePageGrid-module_errorContainer__IKR3E", o = {
|
|
28
|
+
container: x,
|
|
29
|
+
tileGrid: A,
|
|
30
|
+
skeletonTile: F,
|
|
31
|
+
emptyState: I,
|
|
32
32
|
errorContainer: K
|
|
33
|
-
},
|
|
33
|
+
}, D = () => {
|
|
34
34
|
const { t: r } = m(), {
|
|
35
35
|
userPrivileges: n,
|
|
36
36
|
isLoading: s,
|
|
@@ -75,7 +75,7 @@ const L = "AppTile-module_tile__-CBFh", B = "AppTile-module_label__6vslD", M = "
|
|
|
75
75
|
)
|
|
76
76
|
}
|
|
77
77
|
) : i.length === 0 ? /* @__PURE__ */ e("div", { className: o.emptyState, role: "status", children: r("HOME_NO_MODULES") }) : /* @__PURE__ */ e("div", { className: o.container, children: /* @__PURE__ */ e("div", { className: o.tileGrid, children: i.map((a) => /* @__PURE__ */ e(
|
|
78
|
-
|
|
78
|
+
k,
|
|
79
79
|
{
|
|
80
80
|
id: a.id,
|
|
81
81
|
label: a.translationKey ?? a.label,
|
|
@@ -84,25 +84,25 @@ const L = "AppTile-module_tile__-CBFh", B = "AppTile-module_label__6vslD", M = "
|
|
|
84
84
|
},
|
|
85
85
|
a.id
|
|
86
86
|
)) }) });
|
|
87
|
-
},
|
|
88
|
-
locationSelector:
|
|
89
|
-
},
|
|
87
|
+
}, $ = "HomePageHeader-module_locationSelector__foYmn", R = {
|
|
88
|
+
locationSelector: $
|
|
89
|
+
}, U = () => /* @__PURE__ */ e(
|
|
90
90
|
S,
|
|
91
91
|
{
|
|
92
92
|
ariaLabel: "Bahmni",
|
|
93
93
|
brandPrefix: "Home",
|
|
94
94
|
brandHref: "/",
|
|
95
95
|
globalFeatures: [
|
|
96
|
-
/* @__PURE__ */ e("div", { className:
|
|
96
|
+
/* @__PURE__ */ e("div", { className: R.locationSelector, children: /* @__PURE__ */ e(T, {}) }, "location")
|
|
97
97
|
],
|
|
98
|
-
userMenu: /* @__PURE__ */ e(
|
|
98
|
+
userMenu: /* @__PURE__ */ e(C, {})
|
|
99
99
|
}
|
|
100
|
-
),
|
|
101
|
-
homePageBody:
|
|
102
|
-
},
|
|
103
|
-
/* @__PURE__ */ e(
|
|
104
|
-
/* @__PURE__ */ e("main", { className: z.homePageBody, children: /* @__PURE__ */ e(
|
|
100
|
+
), q = "HomePage-module_homePageBody__0qtrS", z = {
|
|
101
|
+
homePageBody: q
|
|
102
|
+
}, Y = () => /* @__PURE__ */ c(p, { children: [
|
|
103
|
+
/* @__PURE__ */ e(U, {}),
|
|
104
|
+
/* @__PURE__ */ e("main", { className: z.homePageBody, children: /* @__PURE__ */ e(D, {}) })
|
|
105
105
|
] });
|
|
106
106
|
export {
|
|
107
|
-
|
|
107
|
+
Y as HomePage
|
|
108
108
|
};
|