@bahmni/home-app 0.0.1-dev.405 → 0.0.1-dev.408
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-CIJwgXmb-D3Z-yefq.js → DocumentsTable-BSBWfrYe-K4-fp7cB.js} +11 -11
- package/dist/{FormsTable-DMPfuqmY-IDtATXYn.js → FormsTable-D8eS1feV-DEOnth-4.js} +39 -39
- package/dist/{LNWAZHJI-ipM9wVpN.js → LNWAZHJI-FNLuNz1A.js} +2 -2
- package/dist/{MWZ6AO7Z-DvyQIXn6.js → MWZ6AO7Z-C25CIsAn.js} +2 -2
- package/dist/{Observations-BflI1_YX-BOSQX59a.js → Observations-CbJng7Yn-MIVn1nyY.js} +66 -66
- package/dist/{YPM2AS64-CbaAOFUJ.js → YPM2AS64-DJb3J_xq.js} +138 -138
- package/dist/{index-CuC_lo4i.js → index-BLBZZpTy.js} +30565 -30542
- package/dist/{index-l85yN2dU.js → index-CiNLyZ2s.js} +16 -16
- 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 b } from "react/jsx-runtime";
|
|
2
|
-
import { u as m, W as p, N as y, H,
|
|
2
|
+
import { u as m, W as p, N as y, C as H, D as N, a as E, E as P, H as v, G, I as f, K as L, R as O, _ as S } from "./index-BLBZZpTy.js";
|
|
3
3
|
import "react";
|
|
4
4
|
import { useQuery as T } from "@tanstack/react-query";
|
|
5
|
-
const C = "AppTile-module_tile__-CBFh", B = "AppTile-module_label__6vslD",
|
|
5
|
+
const C = "AppTile-module_tile__-CBFh", B = "AppTile-module_label__6vslD", A = "AppTile-module_bottom__lcJiG", d = {
|
|
6
6
|
tile: C,
|
|
7
7
|
label: B,
|
|
8
|
-
bottom:
|
|
9
|
-
},
|
|
8
|
+
bottom: A
|
|
9
|
+
}, M = ({ id: o, label: n, icon: s, url: l }) => {
|
|
10
10
|
const { t } = m(), i = t(n);
|
|
11
11
|
return /* @__PURE__ */ c(
|
|
12
12
|
p,
|
|
@@ -24,13 +24,13 @@ const C = "AppTile-module_tile__-CBFh", B = "AppTile-module_label__6vslD", M = "
|
|
|
24
24
|
]
|
|
25
25
|
}
|
|
26
26
|
);
|
|
27
|
-
},
|
|
28
|
-
container:
|
|
27
|
+
}, K = "HomePageGrid-module_container__Kxfim", k = "HomePageGrid-module_tileGrid__X6-Bm", x = "HomePageGrid-module_skeletonTile__U-1vu", F = "HomePageGrid-module_emptyState__xEwoK", I = "HomePageGrid-module_errorContainer__IKR3E", r = {
|
|
28
|
+
container: K,
|
|
29
29
|
tileGrid: k,
|
|
30
30
|
skeletonTile: x,
|
|
31
|
-
emptyState:
|
|
32
|
-
errorContainer:
|
|
33
|
-
},
|
|
31
|
+
emptyState: F,
|
|
32
|
+
errorContainer: I
|
|
33
|
+
}, D = () => {
|
|
34
34
|
const { t: o } = m(), {
|
|
35
35
|
userPrivileges: n,
|
|
36
36
|
isLoading: s,
|
|
@@ -75,7 +75,7 @@ const C = "AppTile-module_tile__-CBFh", B = "AppTile-module_label__6vslD", M = "
|
|
|
75
75
|
)
|
|
76
76
|
}
|
|
77
77
|
) : i.length === 0 ? /* @__PURE__ */ e("div", { className: r.emptyState, role: "status", children: o("HOME_NO_MODULES") }) : /* @__PURE__ */ e("div", { className: r.container, children: /* @__PURE__ */ e("div", { className: r.tileGrid, children: i.map((a) => /* @__PURE__ */ e(
|
|
78
|
-
|
|
78
|
+
M,
|
|
79
79
|
{
|
|
80
80
|
id: a.id,
|
|
81
81
|
label: a.translationKey ?? a.label,
|
|
@@ -84,8 +84,8 @@ const C = "AppTile-module_tile__-CBFh", B = "AppTile-module_label__6vslD", M = "
|
|
|
84
84
|
},
|
|
85
85
|
a.id
|
|
86
86
|
)) }) });
|
|
87
|
-
},
|
|
88
|
-
locationSelector:
|
|
87
|
+
}, R = "HomePageHeader-module_locationSelector__foYmn", $ = {
|
|
88
|
+
locationSelector: R
|
|
89
89
|
}, U = () => {
|
|
90
90
|
const { t: o } = m();
|
|
91
91
|
return /* @__PURE__ */ e(
|
|
@@ -95,17 +95,17 @@ const C = "AppTile-module_tile__-CBFh", B = "AppTile-module_label__6vslD", M = "
|
|
|
95
95
|
brandPrefix: o("HOME_LABEL"),
|
|
96
96
|
brandHref: "/",
|
|
97
97
|
globalFeatures: [
|
|
98
|
-
/* @__PURE__ */ e("div", { className:
|
|
98
|
+
/* @__PURE__ */ e("div", { className: $.locationSelector, children: /* @__PURE__ */ e(S, {}) }, "location")
|
|
99
99
|
],
|
|
100
100
|
userMenu: /* @__PURE__ */ e(O, {})
|
|
101
101
|
}
|
|
102
102
|
);
|
|
103
103
|
}, j = "HomePage-module_homePageBody__0qtrS", q = {
|
|
104
104
|
homePageBody: j
|
|
105
|
-
},
|
|
105
|
+
}, J = () => /* @__PURE__ */ c(b, { children: [
|
|
106
106
|
/* @__PURE__ */ e(U, {}),
|
|
107
|
-
/* @__PURE__ */ e("main", { className: q.homePageBody, children: /* @__PURE__ */ e(
|
|
107
|
+
/* @__PURE__ */ e("main", { className: q.homePageBody, children: /* @__PURE__ */ e(D, {}) })
|
|
108
108
|
] });
|
|
109
109
|
export {
|
|
110
|
-
|
|
110
|
+
J as HomePage
|
|
111
111
|
};
|
package/dist/index.js
CHANGED