sevago-sso-fe 1.0.7 → 1.0.8

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
@@ -19466,7 +19466,29 @@ const DashboardLayout = ({ children }) => {
19466
19466
  return /* @__PURE__ */ jsxRuntimeExports.jsx(MonitorPart, { children });
19467
19467
  };
19468
19468
  const DefaultLayout = ({ children }) => {
19469
- return /* @__PURE__ */ jsxRuntimeExports.jsx(Stack$1, { sx: { backgroundColor: "background.default", minHeight: "100vh", width: "100%", overflowY: "auto" }, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Stack$1, { sx: { flex: 1, alignItems: "center", py: STYLE.PADDING_GAP_LAYOUT, justifyContent: "center" }, children }) });
19469
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(
19470
+ Stack$1,
19471
+ {
19472
+ sx: {
19473
+ backgroundColor: "background.default",
19474
+ minHeight: "100vh",
19475
+ width: "100%",
19476
+ overflowY: "auto"
19477
+ },
19478
+ children: /* @__PURE__ */ jsxRuntimeExports.jsx(
19479
+ Stack$1,
19480
+ {
19481
+ sx: {
19482
+ flex: 1,
19483
+ alignItems: "center",
19484
+ py: STYLE.PADDING_GAP_LAYOUT,
19485
+ justifyContent: "center"
19486
+ },
19487
+ children
19488
+ }
19489
+ )
19490
+ }
19491
+ );
19470
19492
  };
19471
19493
  var isMergeableObject = function isMergeableObject2(value2) {
19472
19494
  return isNonNullObject(value2) && !isSpecial(value2);
@@ -31953,34 +31975,42 @@ const SystemMonitorScreen = () => {
31953
31975
  { key: AppCategory.HRM, label: "HRM" },
31954
31976
  { key: AppCategory.WORKFLOW, label: "Workflow Engine" },
31955
31977
  { key: AppCategory.PLATFORM_INFO, label: "Platform & Info" }
31956
- ].map((t) => /* @__PURE__ */ jsxRuntimeExports.jsxs(MotionBox, { sx: { position: "relative" }, preset: "tabUnderline", children: [
31957
- /* @__PURE__ */ jsxRuntimeExports.jsx(
31958
- Typography,
31959
- {
31960
- onClick: () => setTab(t.key),
31961
- sx: {
31962
- cursor: "pointer",
31963
- color: tab === t.key ? theme.palette.common.white : theme.palette.grey[300]
31964
- },
31965
- children: t.label
31966
- }
31967
- ),
31968
- tab === t.key && /* @__PURE__ */ jsxRuntimeExports.jsx(
31969
- MotionBox,
31970
- {
31971
- preset: "tabUnderline",
31972
- sx: {
31973
- position: "absolute",
31974
- left: 0,
31975
- right: 0,
31976
- height: 2,
31977
- backgroundColor: theme.palette.common.white,
31978
- transformOrigin: "left"
31979
- },
31980
- children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", {})
31981
- }
31982
- )
31983
- ] }, t.key))
31978
+ ].map((t) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
31979
+ MotionBox,
31980
+ {
31981
+ sx: { position: "relative" },
31982
+ preset: "tabUnderline",
31983
+ children: [
31984
+ /* @__PURE__ */ jsxRuntimeExports.jsx(
31985
+ Typography,
31986
+ {
31987
+ onClick: () => setTab(t.key),
31988
+ sx: {
31989
+ cursor: "pointer",
31990
+ color: tab === t.key ? theme.palette.common.white : theme.palette.grey[300]
31991
+ },
31992
+ children: t.label
31993
+ }
31994
+ ),
31995
+ tab === t.key && /* @__PURE__ */ jsxRuntimeExports.jsx(
31996
+ MotionBox,
31997
+ {
31998
+ preset: "tabUnderline",
31999
+ sx: {
32000
+ position: "absolute",
32001
+ left: 0,
32002
+ right: 0,
32003
+ height: 2,
32004
+ backgroundColor: theme.palette.common.white,
32005
+ transformOrigin: "left"
32006
+ },
32007
+ children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", {})
32008
+ }
32009
+ )
32010
+ ]
32011
+ },
32012
+ t.key
32013
+ ))
31984
32014
  }
31985
32015
  ),
31986
32016
  /* @__PURE__ */ jsxRuntimeExports.jsx(MotionBox, { preset: "tabContent", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -31993,7 +32023,9 @@ const SystemMonitorScreen = () => {
31993
32023
  gap: PADDING_GAP_TAB,
31994
32024
  selectedAppId: currentApp?.key,
31995
32025
  onClickItem: async (app2) => {
31996
- await dispatch(ACTION_ACCOUNT.updateCurrentAccess(app2.key)).unwrap();
32026
+ await dispatch(
32027
+ ACTION_ACCOUNT.updateCurrentAccess(app2.key)
32028
+ ).unwrap();
31997
32029
  }
31998
32030
  }
31999
32031
  ) }, tab)