sevago-sso-fe 1.0.37 → 1.0.40
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.esm.js
CHANGED
|
@@ -27659,14 +27659,13 @@ const AppsSidebar = ({
|
|
|
27659
27659
|
position = "left",
|
|
27660
27660
|
blacklist
|
|
27661
27661
|
}) => {
|
|
27662
|
+
if (!isOpen) return null;
|
|
27662
27663
|
const theme = useTheme();
|
|
27663
27664
|
const navigate = useNavigate();
|
|
27664
27665
|
const allApps = useApps();
|
|
27665
27666
|
const dispatch = useAppDispatch();
|
|
27666
27667
|
const currentApp = useActiveSidebar();
|
|
27667
27668
|
const { setActiveExpandMenu } = useSidebar();
|
|
27668
|
-
const { palette } = useTheme();
|
|
27669
|
-
if (!isOpen) return null;
|
|
27670
27669
|
const displayApps = React__default.useMemo(() => {
|
|
27671
27670
|
if (!blacklist || blacklist.length === 0) return allApps;
|
|
27672
27671
|
const matched = allApps.filter(
|
|
@@ -27688,8 +27687,8 @@ const AppsSidebar = ({
|
|
|
27688
27687
|
left: 0,
|
|
27689
27688
|
right: 0,
|
|
27690
27689
|
bottom: 0,
|
|
27691
|
-
backgroundColor: palette.action.selected,
|
|
27692
|
-
zIndex:
|
|
27690
|
+
backgroundColor: theme.palette.action.selected,
|
|
27691
|
+
zIndex: 9999
|
|
27693
27692
|
}
|
|
27694
27693
|
}
|
|
27695
27694
|
),
|
|
@@ -27984,7 +27983,7 @@ const TooltipOnClickElement = ({
|
|
|
27984
27983
|
) })
|
|
27985
27984
|
);
|
|
27986
27985
|
};
|
|
27987
|
-
const SystemMonitorSidebarPart = ({}) => {
|
|
27986
|
+
const SystemMonitorSidebarPart = ({ position, blacklist }) => {
|
|
27988
27987
|
const { isSidebarOpen, openSidebar, closeSidebar } = useSidebarState();
|
|
27989
27988
|
return /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
27990
27989
|
/* @__PURE__ */ jsx(
|
|
@@ -27996,7 +27995,15 @@ const SystemMonitorSidebarPart = ({}) => {
|
|
|
27996
27995
|
sx: { width: MAP_SIZE.medium.width, height: MAP_SIZE.medium.height }
|
|
27997
27996
|
}
|
|
27998
27997
|
),
|
|
27999
|
-
/* @__PURE__ */ jsx(
|
|
27998
|
+
/* @__PURE__ */ jsx(
|
|
27999
|
+
AppsSidebar,
|
|
28000
|
+
{
|
|
28001
|
+
isOpen: isSidebarOpen,
|
|
28002
|
+
onClose: closeSidebar,
|
|
28003
|
+
position,
|
|
28004
|
+
blacklist
|
|
28005
|
+
}
|
|
28006
|
+
)
|
|
28000
28007
|
] });
|
|
28001
28008
|
};
|
|
28002
28009
|
const TypographyFilter = styled$2(Typography)(({ theme }) => ({
|