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.cjs.js +62 -30
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +62 -30
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -19484,7 +19484,29 @@ const DashboardLayout = ({ children }) => {
|
|
|
19484
19484
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(MonitorPart, { children });
|
|
19485
19485
|
};
|
|
19486
19486
|
const DefaultLayout = ({ children }) => {
|
|
19487
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
19487
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
19488
|
+
material.Stack,
|
|
19489
|
+
{
|
|
19490
|
+
sx: {
|
|
19491
|
+
backgroundColor: "background.default",
|
|
19492
|
+
minHeight: "100vh",
|
|
19493
|
+
width: "100%",
|
|
19494
|
+
overflowY: "auto"
|
|
19495
|
+
},
|
|
19496
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
19497
|
+
material.Stack,
|
|
19498
|
+
{
|
|
19499
|
+
sx: {
|
|
19500
|
+
flex: 1,
|
|
19501
|
+
alignItems: "center",
|
|
19502
|
+
py: STYLE.PADDING_GAP_LAYOUT,
|
|
19503
|
+
justifyContent: "center"
|
|
19504
|
+
},
|
|
19505
|
+
children
|
|
19506
|
+
}
|
|
19507
|
+
)
|
|
19508
|
+
}
|
|
19509
|
+
);
|
|
19488
19510
|
};
|
|
19489
19511
|
var isMergeableObject = function isMergeableObject2(value2) {
|
|
19490
19512
|
return isNonNullObject(value2) && !isSpecial(value2);
|
|
@@ -31971,34 +31993,42 @@ const SystemMonitorScreen = () => {
|
|
|
31971
31993
|
{ key: AppCategory.HRM, label: "HRM" },
|
|
31972
31994
|
{ key: AppCategory.WORKFLOW, label: "Workflow Engine" },
|
|
31973
31995
|
{ key: AppCategory.PLATFORM_INFO, label: "Platform & Info" }
|
|
31974
|
-
].map((t) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
31975
|
-
|
|
31976
|
-
|
|
31977
|
-
{
|
|
31978
|
-
|
|
31979
|
-
|
|
31980
|
-
|
|
31981
|
-
|
|
31982
|
-
|
|
31983
|
-
|
|
31984
|
-
|
|
31985
|
-
|
|
31986
|
-
|
|
31987
|
-
|
|
31988
|
-
|
|
31989
|
-
|
|
31990
|
-
|
|
31991
|
-
|
|
31992
|
-
|
|
31993
|
-
|
|
31994
|
-
|
|
31995
|
-
|
|
31996
|
-
|
|
31997
|
-
|
|
31998
|
-
|
|
31999
|
-
|
|
32000
|
-
|
|
32001
|
-
|
|
31996
|
+
].map((t) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
31997
|
+
MotionBox,
|
|
31998
|
+
{
|
|
31999
|
+
sx: { position: "relative" },
|
|
32000
|
+
preset: "tabUnderline",
|
|
32001
|
+
children: [
|
|
32002
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
32003
|
+
material.Typography,
|
|
32004
|
+
{
|
|
32005
|
+
onClick: () => setTab(t.key),
|
|
32006
|
+
sx: {
|
|
32007
|
+
cursor: "pointer",
|
|
32008
|
+
color: tab === t.key ? theme.palette.common.white : theme.palette.grey[300]
|
|
32009
|
+
},
|
|
32010
|
+
children: t.label
|
|
32011
|
+
}
|
|
32012
|
+
),
|
|
32013
|
+
tab === t.key && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
32014
|
+
MotionBox,
|
|
32015
|
+
{
|
|
32016
|
+
preset: "tabUnderline",
|
|
32017
|
+
sx: {
|
|
32018
|
+
position: "absolute",
|
|
32019
|
+
left: 0,
|
|
32020
|
+
right: 0,
|
|
32021
|
+
height: 2,
|
|
32022
|
+
backgroundColor: theme.palette.common.white,
|
|
32023
|
+
transformOrigin: "left"
|
|
32024
|
+
},
|
|
32025
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", {})
|
|
32026
|
+
}
|
|
32027
|
+
)
|
|
32028
|
+
]
|
|
32029
|
+
},
|
|
32030
|
+
t.key
|
|
32031
|
+
))
|
|
32002
32032
|
}
|
|
32003
32033
|
),
|
|
32004
32034
|
/* @__PURE__ */ jsxRuntimeExports.jsx(MotionBox, { preset: "tabContent", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
@@ -32011,7 +32041,9 @@ const SystemMonitorScreen = () => {
|
|
|
32011
32041
|
gap: PADDING_GAP_TAB,
|
|
32012
32042
|
selectedAppId: currentApp?.key,
|
|
32013
32043
|
onClickItem: async (app2) => {
|
|
32014
|
-
await dispatch(
|
|
32044
|
+
await dispatch(
|
|
32045
|
+
ACTION_ACCOUNT.updateCurrentAccess(app2.key)
|
|
32046
|
+
).unwrap();
|
|
32015
32047
|
}
|
|
32016
32048
|
}
|
|
32017
32049
|
) }, tab)
|