@crystaltech/hsms-shared-ui 0.7.9 → 0.7.10-alpha.0.2

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,4 +1,4 @@
1
- import { default as moduleLogo } from '../../assets/images/mis_logo.png';
1
+ import { default as moduleLogo } from '../../assets/images/bangladesh-govt-logo.png';
2
2
  export interface MenuItem {
3
3
  clients: string[];
4
4
  label: string;
package/dist/index.es.js CHANGED
@@ -1,8 +1,8 @@
1
1
  var O0 = Object.defineProperty;
2
2
  var B0 = (e, t, n) => t in e ? O0(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var bi = (e, t, n) => B0(e, typeof t != "symbol" ? t + "" : t, n);
4
- import { j as g, g as Gr, L as Nf, a as va, s as Vl } from "./Loader-DFeqDjU2.js";
5
- import { c as zF, b as HF, d as FF } from "./Loader-DFeqDjU2.js";
4
+ import { j as g, g as Gr, L as Nf, a as va, s as Vl } from "./Loader-uLIY-UOV.js";
5
+ import { c as zF, b as HF, d as FF } from "./Loader-uLIY-UOV.js";
6
6
  import * as v from "react";
7
7
  import T, { isValidElement as Ui, PureComponent as ya, Component as Ea, useState as Ue, cloneElement as fs, Children as D0, useEffect as Dt, Suspense as k0, useRef as Oh, useCallback as T0 } from "react";
8
8
  import { Box as Qe, IconButton as Vs, Typography as ke, Stack as Ft, Button as qr, Popper as M0, Fade as j0, Paper as _r, TextField as ps, Autocomplete as Q0, SpeedDial as N0, SpeedDialIcon as L0, Dialog as z0, DialogTitle as H0, DialogContent as F0, DialogActions as Y0, styled as Cr, Container as Lf, AppBar as V0, Toolbar as G0, Drawer as q0, Tooltip as ia, Divider as Vy, List as aa, ListItemButton as Ar, ListItemIcon as zr, ListItemText as Go, Collapse as U0, Popover as Gy, Grid as Wi, Avatar as uf, useMediaQuery as W0, FormControl as J0, OutlinedInput as X0, Grid2 as vi, Chip as Bh, TableCell as K0, TableContainer as Z0, Table as _0, TableHead as $0, TableRow as Dh, TableBody as ew, TablePagination as tw, CircularProgress as kh, StyledEngineProvider as Th, ThemeProvider as Mh, CssBaseline as jh, createTheme as Qh } from "@mui/material";
@@ -32,11 +32,11 @@ const Ln = {
32
32
  // Changed to match primary color
33
33
  },
34
34
  primary: {
35
- main: "#1976d2"
35
+ main: "#2563EB"
36
36
  // Changed to Material UI default primary blue
37
37
  },
38
38
  secondary: {
39
- main: "#dc004e"
39
+ main: "#26A69A"
40
40
  // Changed to Material UI default secondary color
41
41
  },
42
42
  background: {
@@ -29047,7 +29047,7 @@ const xQ = () => {
29047
29047
  "hsms-qms-client": {
29048
29048
  roles: ["QMS_ADMIN", "QMS_USER"]
29049
29049
  }
29050
- }, i = JSON.parse(localStorage.getItem("user_info") || "{}"), a = na(i, ["SUPER_ADMIN"]) ? r : JSON.parse(localStorage.getItem("user_info") || "{}").resource_access || r, s = (u) => {
29050
+ }, i = JSON.parse(localStorage.getItem("user_info") || "{}"), a = na(i, ["SUPER_ADMIN", "FACILITY_ADMIN"]) ? r : JSON.parse(localStorage.getItem("user_info") || "{}").resource_access || r, s = (u) => {
29051
29051
  t(u.currentTarget);
29052
29052
  }, l = () => {
29053
29053
  t(null);
@@ -29511,7 +29511,7 @@ const xQ = () => {
29511
29511
  ]
29512
29512
  }
29513
29513
  ) }),
29514
- /* @__PURE__ */ g.jsx(dQ, { fixed: !0, children: e }),
29514
+ /* @__PURE__ */ g.jsx(dQ, { children: e }),
29515
29515
  /* @__PURE__ */ g.jsx(hQ, { footerText: t.footerText })
29516
29516
  ]
29517
29517
  }