@wandelbots/wandelbots-js-react-components
Version:
React UI toolkit for building applications on top of the Wandelbots platform
37 lines • 1.59 kB
TypeScript
/**
* Enum representing the robot setup readiness state
*/
export declare enum RobotSetupReadinessState {
/** Preconditions are not fulfilled for robot operation */
PRECONDITION_NOT_FULFILLED = "PRECONDITION_NOT_FULFILLED",
/** Robot is disconnected from the system */
ROBOT_DISCONNECTED = "ROBOT_DISCONNECTED",
/** Safety cell is open and robot cannot operate */
CELL_OPEN = "CELL_OPEN",
/** Emergency stop is active and robot cannot operate */
E_STOP = "E_STOP",
/** Robot is in manual mode and requires manual intervention */
MANUAL_MODE = "MANUAL_MODE",
/** Robot is ready for operation */
READY = "READY"
}
export interface RobotSetupReadinessIndicatorProps {
/** The current setup readiness state of the robot */
setupState: RobotSetupReadinessState;
/** Additional CSS class name */
className?: string;
}
/**
* A state indicator component that displays the current robot setup readiness state.
*
* Features:
* - Shows six states: Precondition not fulfilled, Robot disconnected, Cell open, E-Stop, Manual mode, Ready
* - Color-coded based on state (ready: tertiary/main, others: error/main)
* - Rendered as Material-UI filled chip with paper-elevation-11 background
* - Includes colored circle indicator (8px width)
* - Localization support via react-i18next
*/
export declare const RobotSetupReadinessIndicator: (({ setupState, className }: RobotSetupReadinessIndicatorProps) => import("react/jsx-runtime").JSX.Element) & {
displayName: string;
};
//# sourceMappingURL=RobotSetupReadinessIndicator.d.ts.map