@wandelbots/wandelbots-js-react-components 2.47.0 → 2.48.0
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/components/RobotSetupReadinessIndicator.d.ts +7 -1
- package/dist/components/RobotSetupReadinessIndicator.d.ts.map +1 -1
- package/dist/index.cjs +28 -28
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +31 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/ProgramStateIndicator.tsx +1 -1
- package/src/components/RobotSetupReadinessIndicator.tsx +34 -1
- package/src/i18n/locales/de/translations.json +3 -0
- package/src/i18n/locales/en/translations.json +3 -0
|
@@ -6,6 +6,12 @@ export declare enum RobotSetupReadinessState {
|
|
|
6
6
|
PRECONDITION_NOT_FULFILLED = "PRECONDITION_NOT_FULFILLED",
|
|
7
7
|
/** Robot is disconnected from the system */
|
|
8
8
|
ROBOT_DISCONNECTED = "ROBOT_DISCONNECTED",
|
|
9
|
+
/** Safety cell is open and robot cannot operate */
|
|
10
|
+
CELL_OPEN = "CELL_OPEN",
|
|
11
|
+
/** Emergency stop is active and robot cannot operate */
|
|
12
|
+
E_STOP = "E_STOP",
|
|
13
|
+
/** Robot is in manual mode and requires manual intervention */
|
|
14
|
+
MANUAL_MODE = "MANUAL_MODE",
|
|
9
15
|
/** Robot is ready for operation */
|
|
10
16
|
READY = "READY"
|
|
11
17
|
}
|
|
@@ -19,7 +25,7 @@ export interface RobotSetupReadinessIndicatorProps {
|
|
|
19
25
|
* A state indicator component that displays the current robot setup readiness state.
|
|
20
26
|
*
|
|
21
27
|
* Features:
|
|
22
|
-
* - Shows
|
|
28
|
+
* - Shows six states: Precondition not fulfilled, Robot disconnected, Cell open, E-Stop, Manual mode, Ready
|
|
23
29
|
* - Color-coded based on state (ready: tertiary/main, others: error/main)
|
|
24
30
|
* - Rendered as Material-UI filled chip with paper-elevation-11 background
|
|
25
31
|
* - Includes colored circle indicator (8px width)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RobotSetupReadinessIndicator.d.ts","sourceRoot":"","sources":["../../src/components/RobotSetupReadinessIndicator.tsx"],"names":[],"mappings":"AAKA;;GAEG;AACH,oBAAY,wBAAwB;IAClC,0DAA0D;IAC1D,0BAA0B,+BAA+B;IACzD,4CAA4C;IAC5C,kBAAkB,uBAAuB;IACzC,mCAAmC;IACnC,KAAK,UAAU;CAChB;AAED,MAAM,WAAW,iCAAiC;IAChD,qDAAqD;IACrD,UAAU,EAAE,wBAAwB,CAAA;IACpC,gCAAgC;IAChC,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED;;;;;;;;;GASG;AACH,eAAO,MAAM,4BAA4B,+BACF,iCAAiC;;
|
|
1
|
+
{"version":3,"file":"RobotSetupReadinessIndicator.d.ts","sourceRoot":"","sources":["../../src/components/RobotSetupReadinessIndicator.tsx"],"names":[],"mappings":"AAKA;;GAEG;AACH,oBAAY,wBAAwB;IAClC,0DAA0D;IAC1D,0BAA0B,+BAA+B;IACzD,4CAA4C;IAC5C,kBAAkB,uBAAuB;IACzC,mDAAmD;IACnD,SAAS,cAAc;IACvB,wDAAwD;IACxD,MAAM,WAAW;IACjB,+DAA+D;IAC/D,WAAW,gBAAgB;IAC3B,mCAAmC;IACnC,KAAK,UAAU;CAChB;AAED,MAAM,WAAW,iCAAiC;IAChD,qDAAqD;IACrD,UAAU,EAAE,wBAAwB,CAAA;IACpC,gCAAgC;IAChC,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED;;;;;;;;;GASG;AACH,eAAO,MAAM,4BAA4B,+BACF,iCAAiC;;CAmHvE,CAAA"}
|