@wandelbots/wandelbots-js-react-components 2.31.0-pr.feature-add-program-state-indicatorr.371.39548f7 → 2.31.0-pr.feature-add-program-state-indicatorr.371.416edc3
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.js
CHANGED
|
@@ -30644,16 +30644,11 @@ const hj = Zt(
|
|
|
30644
30644
|
className: n
|
|
30645
30645
|
}) => {
|
|
30646
30646
|
const a = Qe(), { t: o } = pt(), s = () => {
|
|
30647
|
-
if (t === "SAFETY_STATE_DEVICE_EMERGENCY_STOP" || t === "SAFETY_STATE_ROBOT_EMERGENCY_STOP")
|
|
30647
|
+
if (t === "SAFETY_STATE_DEVICE_EMERGENCY_STOP" || t === "SAFETY_STATE_ROBOT_EMERGENCY_STOP" || t === "SAFETY_STATE_STOP_0" || t === "SAFETY_STATE_STOP_1" || t === "SAFETY_STATE_STOP_2" || t === "SAFETY_STATE_PROTECTIVE_STOP" || t === "SAFETY_STATE_STOP" || t === "SAFETY_STATE_REDUCED" || t === "SAFETY_STATE_MASTERING" || t === "SAFETY_STATE_CONFIRM_SAFETY" || t === "SAFETY_STATE_OPERATOR_SAFETY" || t === "SAFETY_STATE_RECOVERY" || t === "SAFETY_STATE_VIOLATION")
|
|
30648
30648
|
return {
|
|
30649
30649
|
label: o("ProgramStateIndicator.EStop.lb"),
|
|
30650
30650
|
color: a.palette.error.main
|
|
30651
30651
|
};
|
|
30652
|
-
if (t === "SAFETY_STATE_STOP_0" || t === "SAFETY_STATE_STOP_1" || t === "SAFETY_STATE_STOP_2" || t === "SAFETY_STATE_PROTECTIVE_STOP" || t === "SAFETY_STATE_STOP")
|
|
30653
|
-
return {
|
|
30654
|
-
label: o("ProgramStateIndicator.Stopped.lb"),
|
|
30655
|
-
color: a.palette.error.main
|
|
30656
|
-
};
|
|
30657
30652
|
if (t === "SAFETY_STATE_UNKNOWN" || t === "SAFETY_STATE_FAULT")
|
|
30658
30653
|
return {
|
|
30659
30654
|
label: o("ProgramStateIndicator.Error.lb"),
|
|
@@ -30683,10 +30678,7 @@ const hj = Zt(
|
|
|
30683
30678
|
color: a.palette.success.main
|
|
30684
30679
|
};
|
|
30685
30680
|
}
|
|
30686
|
-
return
|
|
30687
|
-
label: o("ProgramStateIndicator.Idle.lb"),
|
|
30688
|
-
color: a.palette.grey[600]
|
|
30689
|
-
} : {
|
|
30681
|
+
return {
|
|
30690
30682
|
label: o("ProgramStateIndicator.Idle.lb"),
|
|
30691
30683
|
color: a.palette.grey[600]
|
|
30692
30684
|
};
|