@bahmni/home-app 0.0.1-dev.428 → 0.0.1-dev.432
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-CK8np2C4-DVFhBiGH.js → DocumentsTable-DM3a085C-DhNlikwX.js} +1 -1
- package/dist/{FormsTable-ChI1ra4a-B_UQf79g.js → FormsTable-DWtk8gJI-7oacIbH-.js} +1 -1
- package/dist/{LNWAZHJI-zwejPUX2.js → LNWAZHJI-B026n1PS.js} +2 -2
- package/dist/{MWZ6AO7Z-CrEiQUu4.js → MWZ6AO7Z-DdN3vf2k.js} +2 -2
- package/dist/{Observations-D-kOVsE9-yaFxpIf7.js → Observations-zsrk4ocW-B5O9O8HK.js} +1 -1
- package/dist/{YPM2AS64-q8IOhYAr.js → YPM2AS64-gditoNDs.js} +1 -1
- package/dist/components/HomePage/HomePage.d.ts.map +1 -1
- package/dist/constants/app.d.ts +1 -0
- package/dist/constants/app.d.ts.map +1 -1
- package/dist/{index-BrLkvQ3H.js → index-C1Xrk0w1.js} +62 -59
- package/dist/index-Z3V9S1ar.js +52 -0
- package/dist/index.js +1 -1
- package/dist/locales/locale_en.json +2 -0
- package/dist/locales/locale_es.json +2 -0
- package/package.json +1 -1
- package/dist/index-CVhdFW7G.js +0 -41
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as r, jsxs as p, Fragment as Y } from "react/jsx-runtime";
|
|
2
|
-
import { g as x, u as G, z as W, q as J, K as X, w as Z, Y as ee, p as te } from "./index-
|
|
2
|
+
import { g as x, u as G, z as W, q as J, K as X, w as Z, Y as ee, p as te } from "./index-C1Xrk0w1.js";
|
|
3
3
|
import { useQuery as ae } from "@tanstack/react-query";
|
|
4
4
|
import { useState as l, useCallback as h, useEffect as I, useMemo as _ } from "react";
|
|
5
5
|
const ne = "DocumentsTable-module_documentsTableBody__6iR3w", oe = "DocumentsTable-module_viewAttachmentsLink__aQ1on", re = "DocumentsTable-module_documentViewerContainer__F5m8D", de = "DocumentsTable-module_attachmentItem__17KA7", se = "DocumentsTable-module_attachmentCounter__WFiI3", me = "DocumentsTable-module_attachmentError__RI4U2", ce = "DocumentsTable-module_documentIframe__ptq5I", le = "DocumentsTable-module_documentImage__KQVgS", d = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as n, jsxs as V, Fragment as ne } from "react/jsx-runtime";
|
|
2
|
-
import { u as ie, g as de, h as le, Z as me, y as ue, W as ce, e as fe, a as ye, m as ge, f as he, $ as pe, R as Ne, w as Te, C as q, H as $, K as Oe, Y as K, F as Ie, j as be, p as Ee, v as _e, d as Ae } from "./index-
|
|
2
|
+
import { u as ie, g as de, h as le, Z as me, y as ue, W as ce, e as fe, a as ye, m as ge, f as he, $ as pe, R as Ne, w as Te, C as q, H as $, K as Oe, Y as K, F as Ie, j as be, p as Ee, v as _e, d as Ae } from "./index-C1Xrk0w1.js";
|
|
3
3
|
import { useQueryClient as ve, useQuery as E } from "@tanstack/react-query";
|
|
4
4
|
import { useState as j, useMemo as i, useCallback as d } from "react";
|
|
5
5
|
const Ce = "FormsTable-module_formsTableBody__SvGha", Fe = "FormsTable-module_modalHeading__wnTmA", Re = "FormsTable-module_customAccordianItem__isszs", p = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c, T as l, P as m, a as u, D as v, Q as i } from "./YPM2AS64-
|
|
2
|
-
import {
|
|
1
|
+
import { c, T as l, P as m, a as u, D as v, Q as i } from "./YPM2AS64-gditoNDs.js";
|
|
2
|
+
import { J as d, L as f, M as e } from "./index-C1Xrk0w1.js";
|
|
3
3
|
var p = (a) => {
|
|
4
4
|
const [r, t] = c({
|
|
5
5
|
prefix: "TanstackQueryDevtools"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as s, T as c, P as u, a as i, b as m, C as P, Q as d } from "./YPM2AS64-
|
|
2
|
-
import {
|
|
1
|
+
import { c as s, T as c, P as u, a as i, b as m, C as P, Q as d } from "./YPM2AS64-gditoNDs.js";
|
|
2
|
+
import { J as v, L as C, M as e } from "./index-C1Xrk0w1.js";
|
|
3
3
|
var h = (t) => {
|
|
4
4
|
const [r, o] = s({
|
|
5
5
|
prefix: "TanstackQueryDevtools"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as S, jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { g as x, z as M, u as U, b as j, y as G, U as H, c as Y, m as J, t as P, o as W, r as X, n as Z, i as ee, Y as ae, Q as se, k as V, l as re, s as te, w as ie, x as ne, A as oe, S as de, D as le } from "./index-
|
|
2
|
+
import { g as x, z as M, u as U, b as j, y as G, U as H, c as Y, m as J, t as P, o as W, r as X, n as Z, i as ee, Y as ae, Q as se, k as V, l as re, s as te, w as ie, x as ne, A as oe, S as de, D as le } from "./index-C1Xrk0w1.js";
|
|
3
3
|
import { useQueries as ce, useQuery as ue } from "@tanstack/react-query";
|
|
4
4
|
import { useRef as me, useEffect as L, useMemo as E } from "react";
|
|
5
5
|
const pe = "Observations-module_observations__RKSyo", be = "Observations-module_title__TJL3z", he = "Observations-module_wrapper__muk2L", ve = "Observations-module_secondary__14nuS", O = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { N as we, O as z, P as xt, T as B, L as q, M as y, _ as Ro, a0 as ye, a1 as R, a2 as _, a3 as k, a4 as N, a5 as A, a6 as bs, a7 as ir, a8 as $e, a9 as U, aa as Hn, ab as Vn, ac as dt, ad as D, ae as xs, af as cn, ag as Be, ah as ws, ai as qt, aj as zt, ak as $s, al as Cs, am as $n, an as Ss, ao as Nr, ap as Bt, aq as zo, ar as ks, as as Es, at as j, au as Ur, av as Ms, aw as Ds, ax as sr, ay as As, az as Ts, aA as zn, aB as Fs, aC as Is, aD as Z, aE as Ps, aF as Ls } from "./index-C1Xrk0w1.js";
|
|
2
2
|
var Os = (e) => e != null, qs = (e) => e.filter(Os);
|
|
3
3
|
function _s(e) {
|
|
4
4
|
return (...t) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HomePage.d.ts","sourceRoot":"","sources":["../../../src/components/HomePage/HomePage.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"HomePage.d.ts","sourceRoot":"","sources":["../../../src/components/HomePage/HomePage.tsx"],"names":[],"mappings":"AAEA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAOjD,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAmC5B,CAAC"}
|
package/dist/constants/app.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.ts","sourceRoot":"","sources":["../../src/constants/app.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,cAAc,SAAS,CAAC;AACrC,eAAO,MAAM,oBAAoB,8BAA8B,CAAC"}
|
|
1
|
+
{"version":3,"file":"app.d.ts","sourceRoot":"","sources":["../../src/constants/app.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,cAAc,SAAS,CAAC;AACrC,eAAO,MAAM,oBAAoB,8BAA8B,CAAC;AAChE,eAAO,MAAM,qCAAqC,OAAO,CAAC"}
|
|
@@ -98492,13 +98492,15 @@ He(function({
|
|
|
98492
98492
|
}), c1.length > 0 && d({
|
|
98493
98493
|
title: s("DOCUMENT_UPLOAD_INVALID_TYPE_TITLE"),
|
|
98494
98494
|
message: s("DOCUMENT_UPLOAD_INVALID_TYPE_MESSAGE"),
|
|
98495
|
-
type: "error"
|
|
98495
|
+
type: "error",
|
|
98496
|
+
timeout: 5e3
|
|
98496
98497
|
}), K.length > 0 && d({
|
|
98497
98498
|
title: s("DOCUMENT_UPLOAD_SIZE_EXCEEDED_TITLE"),
|
|
98498
98499
|
message: s("DOCUMENT_UPLOAD_SIZE_EXCEEDED_MESSAGE", {
|
|
98499
98500
|
size: f
|
|
98500
98501
|
}),
|
|
98501
|
-
type: "error"
|
|
98502
|
+
type: "error",
|
|
98503
|
+
timeout: 5e3
|
|
98502
98504
|
}), l1.length > 0 && M((o1) => [...o1, ...l1]);
|
|
98503
98505
|
}, j = ({ document: Y, url: r1 }) => {
|
|
98504
98506
|
const l1 = w(Y);
|
|
@@ -114425,7 +114427,7 @@ X02({
|
|
|
114425
114427
|
key: "commonSearch",
|
|
114426
114428
|
component: Zy0
|
|
114427
114429
|
});
|
|
114428
|
-
et(() => Promise.resolve().then(() => Ed0)), et(() => Promise.resolve().then(() => Ud0)), et(() => Promise.resolve().then(() => xu0)), et(() => Promise.resolve().then(() => Tu0)), et(() => import("./DocumentsTable-
|
|
114430
|
+
et(() => Promise.resolve().then(() => Ed0)), et(() => Promise.resolve().then(() => Ud0)), et(() => Promise.resolve().then(() => xu0)), et(() => Promise.resolve().then(() => Tu0)), et(() => import("./DocumentsTable-DM3a085C-DhNlikwX.js")), et(() => Promise.resolve().then(() => Zw0)), et(() => import("./FormsTable-DWtk8gJI-7oacIbH-.js")), et(() => Promise.resolve().then(() => _m0)), et(() => import("./Observations-zsrk4ocW-B5O9O8HK.js")), et(
|
|
114429
114431
|
() => Promise.resolve().then(() => Ng0)
|
|
114430
114432
|
), et(
|
|
114431
114433
|
() => Promise.resolve().then(() => Xf0)
|
|
@@ -199400,7 +199402,7 @@ var KSt = (t, e = !1) => {
|
|
|
199400
199402
|
const e = O82(() => {
|
|
199401
199403
|
const r = this, [o] = this.#n, [a] = this.#o, [c] = this.#a, [l] = this.#c, [i] = this.#p, [s] = this.#t;
|
|
199402
199404
|
let d;
|
|
199403
|
-
return this.#l ? d = this.#l : (d = _82(() => import("./LNWAZHJI-
|
|
199405
|
+
return this.#l ? d = this.#l : (d = _82(() => import("./LNWAZHJI-B026n1PS.js")), this.#l = d), Q82(this.#h, this.#r), L82(d, C82({
|
|
199404
199406
|
get queryFlavor() {
|
|
199405
199407
|
return r.#d;
|
|
199406
199408
|
},
|
|
@@ -199498,7 +199500,7 @@ var KSt = (t, e = !1) => {
|
|
|
199498
199500
|
const e = O82(() => {
|
|
199499
199501
|
const r = this, [o] = this.#n, [a] = this.#o, [c] = this.#a, [l] = this.#c, [i] = this.#p, [s] = this.#t, [d] = this.#l;
|
|
199500
199502
|
let u;
|
|
199501
|
-
return this.#i ? u = this.#i : (u = _82(() => import("./MWZ6AO7Z-
|
|
199503
|
+
return this.#i ? u = this.#i : (u = _82(() => import("./MWZ6AO7Z-DdN3vf2k.js")), this.#i = u), Q82(this.#h, this.#r), L82(u, C82({
|
|
199502
199504
|
get queryFlavor() {
|
|
199503
199505
|
return r.#d;
|
|
199504
199506
|
},
|
|
@@ -199627,8 +199629,8 @@ const G$t = {
|
|
|
199627
199629
|
refetchOnWindowFocus: !1
|
|
199628
199630
|
}
|
|
199629
199631
|
}
|
|
199630
|
-
}, Y$t = "home", XSt = "org.bahmni.home.dashboard", J$t = et(
|
|
199631
|
-
() => import("./index-
|
|
199632
|
+
}, Y$t = "home", XSt = "org.bahmni.home.dashboard", eZt = 5e3, J$t = et(
|
|
199633
|
+
() => import("./index-Z3V9S1ar.js").then((t) => ({
|
|
199632
199634
|
default: t.HomePage
|
|
199633
199635
|
}))
|
|
199634
199636
|
), Q$t = [
|
|
@@ -199641,7 +199643,7 @@ const G$t = {
|
|
|
199641
199643
|
...t.map((e) => /* @__PURE__ */ t1(Mz, { path: e.path, element: /* @__PURE__ */ t1(e.component, {}) }, e.path)),
|
|
199642
199644
|
/* @__PURE__ */ t1(Mz, { path: "*", element: /* @__PURE__ */ t1(c92, { to: "/", replace: !0 }) }, "not-found")
|
|
199643
199645
|
], eRt = new t92(G$t);
|
|
199644
|
-
function
|
|
199646
|
+
function tZt() {
|
|
199645
199647
|
const [t, e] = y1(!1);
|
|
199646
199648
|
return z1(() => {
|
|
199647
199649
|
(async () => {
|
|
@@ -199667,68 +199669,69 @@ export {
|
|
|
199667
199669
|
gc as F,
|
|
199668
199670
|
VDt as G,
|
|
199669
199671
|
i7 as H,
|
|
199670
|
-
|
|
199671
|
-
|
|
199672
|
+
eZt as I,
|
|
199673
|
+
QSt as J,
|
|
199672
199674
|
Jn as K,
|
|
199673
|
-
|
|
199674
|
-
|
|
199675
|
-
|
|
199676
|
-
|
|
199677
|
-
|
|
199675
|
+
D0 as L,
|
|
199676
|
+
L82 as M,
|
|
199677
|
+
LSt as N,
|
|
199678
|
+
p0 as O,
|
|
199679
|
+
NDt as P,
|
|
199678
199680
|
ZRt as Q,
|
|
199679
199681
|
$0 as R,
|
|
199680
199682
|
ue2 as S,
|
|
199681
|
-
|
|
199683
|
+
y82 as T,
|
|
199682
199684
|
ORt as U,
|
|
199683
199685
|
WRt as V,
|
|
199684
199686
|
DRt as W,
|
|
199685
199687
|
Qy0 as X,
|
|
199686
199688
|
W0 as Y,
|
|
199687
199689
|
s3 as Z,
|
|
199688
|
-
|
|
199690
|
+
ISt as _,
|
|
199689
199691
|
r30 as a,
|
|
199690
|
-
|
|
199691
|
-
|
|
199692
|
-
|
|
199693
|
-
|
|
199694
|
-
|
|
199695
|
-
|
|
199696
|
-
|
|
199697
|
-
|
|
199698
|
-
|
|
199699
|
-
|
|
199700
|
-
|
|
199701
|
-
|
|
199702
|
-
|
|
199703
|
-
|
|
199704
|
-
|
|
199705
|
-
|
|
199706
|
-
|
|
199707
|
-
|
|
199708
|
-
|
|
199709
|
-
|
|
199710
|
-
|
|
199711
|
-
|
|
199712
|
-
|
|
199713
|
-
|
|
199714
|
-
|
|
199715
|
-
|
|
199716
|
-
|
|
199717
|
-
|
|
199718
|
-
|
|
199719
|
-
|
|
199720
|
-
|
|
199721
|
-
|
|
199722
|
-
|
|
199723
|
-
|
|
199724
|
-
|
|
199725
|
-
|
|
199726
|
-
|
|
199727
|
-
|
|
199728
|
-
$
|
|
199729
|
-
|
|
199730
|
-
|
|
199731
|
-
|
|
199692
|
+
SSt as a0,
|
|
199693
|
+
DSt as a1,
|
|
199694
|
+
ZSt as a2,
|
|
199695
|
+
tg as a3,
|
|
199696
|
+
K4 as a4,
|
|
199697
|
+
XDt as a5,
|
|
199698
|
+
kSt as a6,
|
|
199699
|
+
YDt as a7,
|
|
199700
|
+
CSt as a8,
|
|
199701
|
+
ui as a9,
|
|
199702
|
+
RSt as aA,
|
|
199703
|
+
$St as aB,
|
|
199704
|
+
R5 as aC,
|
|
199705
|
+
ZDt as aD,
|
|
199706
|
+
BSt as aE,
|
|
199707
|
+
HDt as aF,
|
|
199708
|
+
tZt as aG,
|
|
199709
|
+
GSt as aa,
|
|
199710
|
+
YSt as ab,
|
|
199711
|
+
bSt as ac,
|
|
199712
|
+
eg as ad,
|
|
199713
|
+
jSt as ae,
|
|
199714
|
+
o$t as af,
|
|
199715
|
+
_St as ag,
|
|
199716
|
+
xSt as ah,
|
|
199717
|
+
FSt as ai,
|
|
199718
|
+
USt as aj,
|
|
199719
|
+
qSt as ak,
|
|
199720
|
+
WSt as al,
|
|
199721
|
+
KSt as am,
|
|
199722
|
+
TSt as an,
|
|
199723
|
+
JSt as ao,
|
|
199724
|
+
K0 as ap,
|
|
199725
|
+
E82 as aq,
|
|
199726
|
+
ASt as ar,
|
|
199727
|
+
n$t as as,
|
|
199728
|
+
C82 as at,
|
|
199729
|
+
W4 as au,
|
|
199730
|
+
I$t as av,
|
|
199731
|
+
OSt as aw,
|
|
199732
|
+
$5 as ax,
|
|
199733
|
+
e$t as ay,
|
|
199734
|
+
PSt as az,
|
|
199732
199735
|
_Rt as b,
|
|
199733
199736
|
TRt as c,
|
|
199734
199737
|
URt as d,
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { jsx as e, jsxs as d, Fragment as E } from "react/jsx-runtime";
|
|
2
|
+
import { B as _, E as f, u as m, G as u, X as O, V as g, z as h, I as H } from "./index-C1Xrk0w1.js";
|
|
3
|
+
import { useRef as N, useEffect as S } from "react";
|
|
4
|
+
import "@tanstack/react-query";
|
|
5
|
+
import { useNavigate as I, useLocation as M } from "react-router-dom";
|
|
6
|
+
const p = "HomePageGrid-module_headerOffset__xmJ-q", P = {
|
|
7
|
+
headerOffset: p
|
|
8
|
+
}, y = () => /* @__PURE__ */ e(
|
|
9
|
+
_,
|
|
10
|
+
{
|
|
11
|
+
extensionPointId: f,
|
|
12
|
+
loadingLabelKey: "HOME_LOADING_MODULES",
|
|
13
|
+
errorMessageKey: "HOME_ERROR_FETCH_CONFIG",
|
|
14
|
+
emptyMessageKey: "HOME_NO_MODULES",
|
|
15
|
+
className: P.headerOffset,
|
|
16
|
+
testId: "home-modules"
|
|
17
|
+
}
|
|
18
|
+
), D = "HomePageHeader-module_locationSelector__foYmn", T = {
|
|
19
|
+
locationSelector: D
|
|
20
|
+
}, C = () => {
|
|
21
|
+
const { t: o } = m();
|
|
22
|
+
return /* @__PURE__ */ e(
|
|
23
|
+
u,
|
|
24
|
+
{
|
|
25
|
+
ariaLabel: "Bahmni",
|
|
26
|
+
brandPrefix: o("HOME_LABEL"),
|
|
27
|
+
brandHref: "/",
|
|
28
|
+
globalFeatures: [
|
|
29
|
+
/* @__PURE__ */ e("div", { className: T.locationSelector, children: /* @__PURE__ */ e(g, {}) }, "location")
|
|
30
|
+
],
|
|
31
|
+
userMenu: /* @__PURE__ */ e(O, {})
|
|
32
|
+
}
|
|
33
|
+
);
|
|
34
|
+
}, L = "HomePage-module_homePageBody__0qtrS", A = {
|
|
35
|
+
homePageBody: L
|
|
36
|
+
}, R = () => {
|
|
37
|
+
const { t: o } = m(), { addNotification: a } = h(), s = I(), { pathname: r, search: n, hash: c, state: l } = M(), t = l?.accessDenied, i = N(!1);
|
|
38
|
+
return S(() => {
|
|
39
|
+
!t || i.current || (i.current = !0, a({
|
|
40
|
+
title: o("HOME_ACCESS_DENIED_TITLE"),
|
|
41
|
+
message: o("HOME_ACCESS_DENIED_MESSAGE", { app: t.app ?? "" }),
|
|
42
|
+
type: "error",
|
|
43
|
+
timeout: H
|
|
44
|
+
}), s({ pathname: r, search: n, hash: c }, { replace: !0, state: null }));
|
|
45
|
+
}, [t, a, o, s, r, n, c]), /* @__PURE__ */ d(E, { children: [
|
|
46
|
+
/* @__PURE__ */ e(C, {}),
|
|
47
|
+
/* @__PURE__ */ e("main", { className: A.homePageBody, children: /* @__PURE__ */ e(y, {}) })
|
|
48
|
+
] });
|
|
49
|
+
};
|
|
50
|
+
export {
|
|
51
|
+
R as HomePage
|
|
52
|
+
};
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
+
"HOME_ACCESS_DENIED_MESSAGE": "You do not have permission to access {{app}}.",
|
|
3
|
+
"HOME_ACCESS_DENIED_TITLE": "Access Denied",
|
|
2
4
|
"HOME_ERROR_FETCH_CONFIG": "Failed to load home page configuration",
|
|
3
5
|
"HOME_ERROR_LOCATION_SYNC_FAILED": "Location change saved locally but failed to sync to server.",
|
|
4
6
|
"HOME_ERROR_LOCATION_SYNC_FAILED_TITLE": "Location Sync Warning",
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
+
"HOME_ACCESS_DENIED_MESSAGE": "No tiene permiso para acceder a {{app}}.",
|
|
3
|
+
"HOME_ACCESS_DENIED_TITLE": "Acceso denegado",
|
|
2
4
|
"HOME_ERROR_FETCH_CONFIG": "Error al cargar la configuración de la página de inicio",
|
|
3
5
|
"HOME_ERROR_LOCATION_SYNC_FAILED": "El cambio de ubicación se guardó localmente pero no se pudo sincronizar con el servidor.",
|
|
4
6
|
"HOME_ERROR_LOCATION_SYNC_FAILED_TITLE": "Advertencia de sincronización de ubicación",
|
package/package.json
CHANGED
package/dist/index-CVhdFW7G.js
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { jsx as e, jsxs as a, Fragment as s } from "react/jsx-runtime";
|
|
2
|
-
import { B as t, E as r, u as n, G as m, X as l, V as c } from "./index-BrLkvQ3H.js";
|
|
3
|
-
import "react";
|
|
4
|
-
import "@tanstack/react-query";
|
|
5
|
-
const d = "HomePageGrid-module_headerOffset__xmJ-q", i = {
|
|
6
|
-
headerOffset: d
|
|
7
|
-
}, _ = () => /* @__PURE__ */ e(
|
|
8
|
-
t,
|
|
9
|
-
{
|
|
10
|
-
extensionPointId: r,
|
|
11
|
-
loadingLabelKey: "HOME_LOADING_MODULES",
|
|
12
|
-
errorMessageKey: "HOME_ERROR_FETCH_CONFIG",
|
|
13
|
-
emptyMessageKey: "HOME_NO_MODULES",
|
|
14
|
-
className: i.headerOffset,
|
|
15
|
-
testId: "home-modules"
|
|
16
|
-
}
|
|
17
|
-
), O = "HomePageHeader-module_locationSelector__foYmn", H = {
|
|
18
|
-
locationSelector: O
|
|
19
|
-
}, g = () => {
|
|
20
|
-
const { t: o } = n();
|
|
21
|
-
return /* @__PURE__ */ e(
|
|
22
|
-
m,
|
|
23
|
-
{
|
|
24
|
-
ariaLabel: "Bahmni",
|
|
25
|
-
brandPrefix: o("HOME_LABEL"),
|
|
26
|
-
brandHref: "/",
|
|
27
|
-
globalFeatures: [
|
|
28
|
-
/* @__PURE__ */ e("div", { className: H.locationSelector, children: /* @__PURE__ */ e(c, {}) }, "location")
|
|
29
|
-
],
|
|
30
|
-
userMenu: /* @__PURE__ */ e(l, {})
|
|
31
|
-
}
|
|
32
|
-
);
|
|
33
|
-
}, f = "HomePage-module_homePageBody__0qtrS", h = {
|
|
34
|
-
homePageBody: f
|
|
35
|
-
}, M = () => /* @__PURE__ */ a(s, { children: [
|
|
36
|
-
/* @__PURE__ */ e(g, {}),
|
|
37
|
-
/* @__PURE__ */ e("main", { className: h.homePageBody, children: /* @__PURE__ */ e(_, {}) })
|
|
38
|
-
] });
|
|
39
|
-
export {
|
|
40
|
-
M as HomePage
|
|
41
|
-
};
|