@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
package/dist/index.js
CHANGED
|
@@ -621,6 +621,9 @@ Bei einem physischen Roboter bedeutet dies im Allgemeinen, dass ein Freigabescha
|
|
|
621
621
|
"ProgramStateIndicator.ManualT2.lb": "Manuell T2",
|
|
622
622
|
"RobotSetupReadinessIndicator.Ready.lb": "Bereit",
|
|
623
623
|
"RobotSetupReadinessIndicator.RobotDisconnected.lb": "Roboter getrennt",
|
|
624
|
+
"RobotSetupReadinessIndicator.CellOpen.lb": "Zelle offen",
|
|
625
|
+
"RobotSetupReadinessIndicator.EStop.lb": "Not-Stopp",
|
|
626
|
+
"RobotSetupReadinessIndicator.ManualMode.lb": "Manueller Modus",
|
|
624
627
|
"RobotSetupReadinessIndicator.PreconditionNotFulfilled.lb": "Voraussetzung nicht erfüllt",
|
|
625
628
|
"RobotCard.Runtime.lb": "Laufzeit",
|
|
626
629
|
"RobotCard.DriveToHome.bt": "Zur Home-Position fahren"
|
|
@@ -704,6 +707,9 @@ Bei einem physischen Roboter bedeutet dies im Allgemeinen, dass ein Freigabescha
|
|
|
704
707
|
"ProgramStateIndicator.ManualT2.lb": "Manual T2",
|
|
705
708
|
"RobotSetupReadinessIndicator.Ready.lb": "Ready",
|
|
706
709
|
"RobotSetupReadinessIndicator.RobotDisconnected.lb": "Robot disconnected",
|
|
710
|
+
"RobotSetupReadinessIndicator.CellOpen.lb": "Cell open",
|
|
711
|
+
"RobotSetupReadinessIndicator.EStop.lb": "E-Stop",
|
|
712
|
+
"RobotSetupReadinessIndicator.ManualMode.lb": "Manual mode",
|
|
707
713
|
"RobotSetupReadinessIndicator.PreconditionNotFulfilled.lb": "Precondition not fulfilled",
|
|
708
714
|
"RobotCard.Runtime.lb": "Runtime",
|
|
709
715
|
"RobotCard.DriveToHome.bt": "Drive to Home"
|
|
@@ -32685,7 +32691,7 @@ const v$ = Ge(
|
|
|
32685
32691
|
case St.STOPPED:
|
|
32686
32692
|
return {
|
|
32687
32693
|
label: o("ProgramStateIndicator.Stopped.lb"),
|
|
32688
|
-
color: a.palette.
|
|
32694
|
+
color: a.palette.warning.main
|
|
32689
32695
|
};
|
|
32690
32696
|
case St.ERROR:
|
|
32691
32697
|
return {
|
|
@@ -33425,11 +33431,11 @@ const S$ = Ge(
|
|
|
33425
33431
|
titleId: t,
|
|
33426
33432
|
...r
|
|
33427
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);
|
|
33428
|
-
var wg = /* @__PURE__ */ ((e) => (e.PRECONDITION_NOT_FULFILLED = "PRECONDITION_NOT_FULFILLED", e.ROBOT_DISCONNECTED = "ROBOT_DISCONNECTED", 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 || {});
|
|
33429
33435
|
const Hj = Ge(
|
|
33430
33436
|
Ce(({ setupState: e, className: t }) => {
|
|
33431
33437
|
const r = Be(), { t: n } = Qe(), a = () => {
|
|
33432
|
-
var c, u, d, h;
|
|
33438
|
+
var c, u, d, h, p, f, m;
|
|
33433
33439
|
switch (e) {
|
|
33434
33440
|
case "READY":
|
|
33435
33441
|
return {
|
|
@@ -33445,6 +33451,27 @@ const Hj = Ge(
|
|
|
33445
33451
|
backgroundColor: ((d = r.palette.backgroundPaperElevation) == null ? void 0 : d[11]) || r.palette.background.paper,
|
|
33446
33452
|
textColor: r.palette.secondary.contrastText
|
|
33447
33453
|
};
|
|
33454
|
+
case "CELL_OPEN":
|
|
33455
|
+
return {
|
|
33456
|
+
label: n("RobotSetupReadinessIndicator.CellOpen.lb"),
|
|
33457
|
+
indicatorColor: r.palette.error.main,
|
|
33458
|
+
backgroundColor: ((h = r.palette.backgroundPaperElevation) == null ? void 0 : h[11]) || r.palette.background.paper,
|
|
33459
|
+
textColor: r.palette.secondary.contrastText
|
|
33460
|
+
};
|
|
33461
|
+
case "E_STOP":
|
|
33462
|
+
return {
|
|
33463
|
+
label: n("RobotSetupReadinessIndicator.EStop.lb"),
|
|
33464
|
+
indicatorColor: r.palette.error.main,
|
|
33465
|
+
backgroundColor: ((p = r.palette.backgroundPaperElevation) == null ? void 0 : p[11]) || r.palette.background.paper,
|
|
33466
|
+
textColor: r.palette.secondary.contrastText
|
|
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
|
+
};
|
|
33448
33475
|
case "PRECONDITION_NOT_FULFILLED":
|
|
33449
33476
|
default:
|
|
33450
33477
|
return {
|
|
@@ -33452,7 +33479,7 @@ const Hj = Ge(
|
|
|
33452
33479
|
"RobotSetupReadinessIndicator.PreconditionNotFulfilled.lb"
|
|
33453
33480
|
),
|
|
33454
33481
|
indicatorColor: r.palette.error.main,
|
|
33455
|
-
backgroundColor: ((
|
|
33482
|
+
backgroundColor: ((m = r.palette.backgroundPaperElevation) == null ? void 0 : m[11]) || r.palette.background.paper,
|
|
33456
33483
|
textColor: r.palette.secondary.contrastText
|
|
33457
33484
|
};
|
|
33458
33485
|
}
|