sevago-sso-fe 1.0.37 → 1.0.39
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/index.cjs.js
CHANGED
|
@@ -27677,14 +27677,13 @@ const AppsSidebar = ({
|
|
|
27677
27677
|
position = "left",
|
|
27678
27678
|
blacklist
|
|
27679
27679
|
}) => {
|
|
27680
|
+
if (!isOpen) return null;
|
|
27680
27681
|
const theme = useTheme();
|
|
27681
27682
|
const navigate = reactRouterDom.useNavigate();
|
|
27682
27683
|
const allApps = useApps();
|
|
27683
27684
|
const dispatch = useAppDispatch();
|
|
27684
27685
|
const currentApp = useActiveSidebar();
|
|
27685
27686
|
const { setActiveExpandMenu } = useSidebar();
|
|
27686
|
-
const { palette } = useTheme();
|
|
27687
|
-
if (!isOpen) return null;
|
|
27688
27687
|
const displayApps = React.useMemo(() => {
|
|
27689
27688
|
if (!blacklist || blacklist.length === 0) return allApps;
|
|
27690
27689
|
const matched = allApps.filter(
|
|
@@ -27706,7 +27705,7 @@ const AppsSidebar = ({
|
|
|
27706
27705
|
left: 0,
|
|
27707
27706
|
right: 0,
|
|
27708
27707
|
bottom: 0,
|
|
27709
|
-
backgroundColor: palette.action.selected,
|
|
27708
|
+
backgroundColor: theme.palette.action.selected,
|
|
27710
27709
|
zIndex: 100
|
|
27711
27710
|
}
|
|
27712
27711
|
}
|
|
@@ -28002,7 +28001,7 @@ const TooltipOnClickElement = ({
|
|
|
28002
28001
|
) })
|
|
28003
28002
|
);
|
|
28004
28003
|
};
|
|
28005
|
-
const SystemMonitorSidebarPart = ({}) => {
|
|
28004
|
+
const SystemMonitorSidebarPart = ({ position, blacklist }) => {
|
|
28006
28005
|
const { isSidebarOpen, openSidebar, closeSidebar } = useSidebarState();
|
|
28007
28006
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
28008
28007
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -28014,7 +28013,15 @@ const SystemMonitorSidebarPart = ({}) => {
|
|
|
28014
28013
|
sx: { width: MAP_SIZE.medium.width, height: MAP_SIZE.medium.height }
|
|
28015
28014
|
}
|
|
28016
28015
|
),
|
|
28017
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
28016
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
28017
|
+
AppsSidebar,
|
|
28018
|
+
{
|
|
28019
|
+
isOpen: isSidebarOpen,
|
|
28020
|
+
onClose: closeSidebar,
|
|
28021
|
+
position,
|
|
28022
|
+
blacklist
|
|
28023
|
+
}
|
|
28024
|
+
)
|
|
28018
28025
|
] });
|
|
28019
28026
|
};
|
|
28020
28027
|
const TypographyFilter = material.styled(material.Typography)(({ theme }) => ({
|