@wandelbots/wandelbots-js-react-components 2.47.0-pr.feature-add-more-states.390.df5bed1 → 2.47.0-pr.feature-add-more-states.390.15e4e08
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 +3 -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 +12 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/RobotSetupReadinessIndicator.tsx +12 -1
- package/src/i18n/locales/de/translations.json +1 -0
- package/src/i18n/locales/en/translations.json +1 -0
package/dist/index.js
CHANGED
|
@@ -623,6 +623,7 @@ Bei einem physischen Roboter bedeutet dies im Allgemeinen, dass ein Freigabescha
|
|
|
623
623
|
"RobotSetupReadinessIndicator.RobotDisconnected.lb": "Roboter getrennt",
|
|
624
624
|
"RobotSetupReadinessIndicator.CellOpen.lb": "Zelle offen",
|
|
625
625
|
"RobotSetupReadinessIndicator.EStop.lb": "Not-Stopp",
|
|
626
|
+
"RobotSetupReadinessIndicator.ManualMode.lb": "Manueller Modus",
|
|
626
627
|
"RobotSetupReadinessIndicator.PreconditionNotFulfilled.lb": "Voraussetzung nicht erfüllt",
|
|
627
628
|
"RobotCard.Runtime.lb": "Laufzeit",
|
|
628
629
|
"RobotCard.DriveToHome.bt": "Zur Home-Position fahren"
|
|
@@ -708,6 +709,7 @@ Bei einem physischen Roboter bedeutet dies im Allgemeinen, dass ein Freigabescha
|
|
|
708
709
|
"RobotSetupReadinessIndicator.RobotDisconnected.lb": "Robot disconnected",
|
|
709
710
|
"RobotSetupReadinessIndicator.CellOpen.lb": "Cell open",
|
|
710
711
|
"RobotSetupReadinessIndicator.EStop.lb": "E-Stop",
|
|
712
|
+
"RobotSetupReadinessIndicator.ManualMode.lb": "Manual mode",
|
|
711
713
|
"RobotSetupReadinessIndicator.PreconditionNotFulfilled.lb": "Precondition not fulfilled",
|
|
712
714
|
"RobotCard.Runtime.lb": "Runtime",
|
|
713
715
|
"RobotCard.DriveToHome.bt": "Drive to Home"
|
|
@@ -33429,11 +33431,11 @@ const S$ = Ge(
|
|
|
33429
33431
|
titleId: t,
|
|
33430
33432
|
...r
|
|
33431
33433
|
}, n) => /* @__PURE__ */ B.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 18, height: 18, fill: "none", ref: n, "aria-labelledby": t, ...r }, e ? /* @__PURE__ */ B.createElement("title", { id: t }, e) : null, /* @__PURE__ */ B.createElement("path", { fill: "#38C6F4", fillRule: "evenodd", d: "M6.359 14.25v2.934h7.63v-3.521L10.196 9.87 9 8.674l.859-.859.337-.337.858-.858.565.565.631.63.565.565 1.196-1.195.543-.544 1.196-1.195-1.196-1.196-2.304-2.304L11.054.75 9.86 1.946 3.446 8.359 2.25 9.554l1.196 1.196 2.913 2.913zm1.69 0v1.244h4.249v-1.13L7.804 9.87 6.608 8.674l1.196-1.196L9.86 5.424l.007-.008-.543-.543-4.681 4.681 2.912 2.913.496.496v.113h2.124l1.174 1.174zm3.005-10.022-.294.294-.543-.543.837-.837 2.304 2.304-.543.543-.565-.565z", clipRule: "evenodd" })), Gj = rt(zj);
|
|
33432
|
-
var wg = /* @__PURE__ */ ((e) => (e.PRECONDITION_NOT_FULFILLED = "PRECONDITION_NOT_FULFILLED", e.ROBOT_DISCONNECTED = "ROBOT_DISCONNECTED", e.CELL_OPEN = "CELL_OPEN", e.E_STOP = "E_STOP", e.READY = "READY", e))(wg || {});
|
|
33434
|
+
var wg = /* @__PURE__ */ ((e) => (e.PRECONDITION_NOT_FULFILLED = "PRECONDITION_NOT_FULFILLED", e.ROBOT_DISCONNECTED = "ROBOT_DISCONNECTED", e.CELL_OPEN = "CELL_OPEN", e.E_STOP = "E_STOP", e.MANUAL_MODE = "MANUAL_MODE", e.READY = "READY", e))(wg || {});
|
|
33433
33435
|
const Hj = Ge(
|
|
33434
33436
|
Ce(({ setupState: e, className: t }) => {
|
|
33435
33437
|
const r = Be(), { t: n } = Qe(), a = () => {
|
|
33436
|
-
var c, u, d, h, p, f;
|
|
33438
|
+
var c, u, d, h, p, f, m;
|
|
33437
33439
|
switch (e) {
|
|
33438
33440
|
case "READY":
|
|
33439
33441
|
return {
|
|
@@ -33463,6 +33465,13 @@ const Hj = Ge(
|
|
|
33463
33465
|
backgroundColor: ((p = r.palette.backgroundPaperElevation) == null ? void 0 : p[11]) || r.palette.background.paper,
|
|
33464
33466
|
textColor: r.palette.secondary.contrastText
|
|
33465
33467
|
};
|
|
33468
|
+
case "MANUAL_MODE":
|
|
33469
|
+
return {
|
|
33470
|
+
label: n("RobotSetupReadinessIndicator.ManualMode.lb"),
|
|
33471
|
+
indicatorColor: r.palette.error.main,
|
|
33472
|
+
backgroundColor: ((f = r.palette.backgroundPaperElevation) == null ? void 0 : f[11]) || r.palette.background.paper,
|
|
33473
|
+
textColor: r.palette.secondary.contrastText
|
|
33474
|
+
};
|
|
33466
33475
|
case "PRECONDITION_NOT_FULFILLED":
|
|
33467
33476
|
default:
|
|
33468
33477
|
return {
|
|
@@ -33470,7 +33479,7 @@ const Hj = Ge(
|
|
|
33470
33479
|
"RobotSetupReadinessIndicator.PreconditionNotFulfilled.lb"
|
|
33471
33480
|
),
|
|
33472
33481
|
indicatorColor: r.palette.error.main,
|
|
33473
|
-
backgroundColor: ((
|
|
33482
|
+
backgroundColor: ((m = r.palette.backgroundPaperElevation) == null ? void 0 : m[11]) || r.palette.background.paper,
|
|
33474
33483
|
textColor: r.palette.secondary.contrastText
|
|
33475
33484
|
};
|
|
33476
33485
|
}
|