@wandelbots/wandelbots-js-react-components 2.46.0 → 2.47.0-pr.feature-add-more-states.390.df5bed1

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
@@ -621,6 +621,8 @@ 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",
624
626
  "RobotSetupReadinessIndicator.PreconditionNotFulfilled.lb": "Voraussetzung nicht erfüllt",
625
627
  "RobotCard.Runtime.lb": "Laufzeit",
626
628
  "RobotCard.DriveToHome.bt": "Zur Home-Position fahren"
@@ -704,6 +706,8 @@ Bei einem physischen Roboter bedeutet dies im Allgemeinen, dass ein Freigabescha
704
706
  "ProgramStateIndicator.ManualT2.lb": "Manual T2",
705
707
  "RobotSetupReadinessIndicator.Ready.lb": "Ready",
706
708
  "RobotSetupReadinessIndicator.RobotDisconnected.lb": "Robot disconnected",
709
+ "RobotSetupReadinessIndicator.CellOpen.lb": "Cell open",
710
+ "RobotSetupReadinessIndicator.EStop.lb": "E-Stop",
707
711
  "RobotSetupReadinessIndicator.PreconditionNotFulfilled.lb": "Precondition not fulfilled",
708
712
  "RobotCard.Runtime.lb": "Runtime",
709
713
  "RobotCard.DriveToHome.bt": "Drive to Home"
@@ -32685,7 +32689,7 @@ const v$ = Ge(
32685
32689
  case St.STOPPED:
32686
32690
  return {
32687
32691
  label: o("ProgramStateIndicator.Stopped.lb"),
32688
- color: a.palette.grey[600]
32692
+ color: a.palette.warning.main
32689
32693
  };
32690
32694
  case St.ERROR:
32691
32695
  return {
@@ -33425,11 +33429,11 @@ const S$ = Ge(
33425
33429
  titleId: t,
33426
33430
  ...r
33427
33431
  }, 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 || {});
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 || {});
33429
33433
  const Hj = Ge(
33430
33434
  Ce(({ setupState: e, className: t }) => {
33431
33435
  const r = Be(), { t: n } = Qe(), a = () => {
33432
- var c, u, d, h;
33436
+ var c, u, d, h, p, f;
33433
33437
  switch (e) {
33434
33438
  case "READY":
33435
33439
  return {
@@ -33445,6 +33449,20 @@ const Hj = Ge(
33445
33449
  backgroundColor: ((d = r.palette.backgroundPaperElevation) == null ? void 0 : d[11]) || r.palette.background.paper,
33446
33450
  textColor: r.palette.secondary.contrastText
33447
33451
  };
33452
+ case "CELL_OPEN":
33453
+ return {
33454
+ label: n("RobotSetupReadinessIndicator.CellOpen.lb"),
33455
+ indicatorColor: r.palette.error.main,
33456
+ backgroundColor: ((h = r.palette.backgroundPaperElevation) == null ? void 0 : h[11]) || r.palette.background.paper,
33457
+ textColor: r.palette.secondary.contrastText
33458
+ };
33459
+ case "E_STOP":
33460
+ return {
33461
+ label: n("RobotSetupReadinessIndicator.EStop.lb"),
33462
+ indicatorColor: r.palette.error.main,
33463
+ backgroundColor: ((p = r.palette.backgroundPaperElevation) == null ? void 0 : p[11]) || r.palette.background.paper,
33464
+ textColor: r.palette.secondary.contrastText
33465
+ };
33448
33466
  case "PRECONDITION_NOT_FULFILLED":
33449
33467
  default:
33450
33468
  return {
@@ -33452,7 +33470,7 @@ const Hj = Ge(
33452
33470
  "RobotSetupReadinessIndicator.PreconditionNotFulfilled.lb"
33453
33471
  ),
33454
33472
  indicatorColor: r.palette.error.main,
33455
- backgroundColor: ((h = r.palette.backgroundPaperElevation) == null ? void 0 : h[11]) || r.palette.background.paper,
33473
+ backgroundColor: ((f = r.palette.backgroundPaperElevation) == null ? void 0 : f[11]) || r.palette.background.paper,
33456
33474
  textColor: r.palette.secondary.contrastText
33457
33475
  };
33458
33476
  }