@wandelbots/wandelbots-js-react-components 2.37.0-pr.feature-states-for-cycle-timer.379.b99a9af → 2.37.0-pr.feature-states-for-cycle-timer.379.6ceb08e
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/jogging/PoseCartesianValues.d.ts.map +1 -1
- package/dist/components/jogging/PoseJointValues.d.ts.map +1 -1
- package/dist/index.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +166 -146
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/CycleTimer/useTimerLogic.ts +2 -2
- package/src/components/jogging/PoseCartesianValues.tsx +27 -9
- package/src/components/jogging/PoseJointValues.tsx +27 -9
package/dist/index.js
CHANGED
|
@@ -390,7 +390,7 @@ function V0(e) {
|
|
|
390
390
|
}
|
|
391
391
|
return { isCoplanar: !0, normal: s };
|
|
392
392
|
}
|
|
393
|
-
function
|
|
393
|
+
function $$({
|
|
394
394
|
safetyZones: e,
|
|
395
395
|
...t
|
|
396
396
|
}) {
|
|
@@ -431,7 +431,7 @@ function M$({
|
|
|
431
431
|
});
|
|
432
432
|
}) });
|
|
433
433
|
}
|
|
434
|
-
function
|
|
434
|
+
function k$({
|
|
435
435
|
trajectory: e,
|
|
436
436
|
...t
|
|
437
437
|
}) {
|
|
@@ -633,7 +633,7 @@ const $0 = ({
|
|
|
633
633
|
fill: "currentColor",
|
|
634
634
|
fillOpacity: "0.56"
|
|
635
635
|
}
|
|
636
|
-
) }),
|
|
636
|
+
) }), U$ = tt(
|
|
637
637
|
Te((e) => {
|
|
638
638
|
const { appIcon: t, appName: r, apps: n = [], onAppSelect: a, sx: o } = e, [s, i] = Fe(null), l = !!s, c = (h) => {
|
|
639
639
|
i(h.currentTarget);
|
|
@@ -12103,7 +12103,7 @@ const eP = ({
|
|
|
12103
12103
|
remainingTime: I,
|
|
12104
12104
|
currentProgress: y
|
|
12105
12105
|
// Immediately set progress
|
|
12106
|
-
})), p.setImmediate([y]), I === 0 ? (c((T) => ({ ...T, isRunning: !1 })), d.current = null, t &&
|
|
12106
|
+
})), p.setImmediate([y]), I === 0 ? (c((T) => ({ ...T, isRunning: !1 })), d.current = null, t && queueMicrotask(() => t())) : e ? setTimeout(() => {
|
|
12107
12107
|
d.current = Date.now() - P * 1e3, c((T) => ({ ...T, isRunning: !0 }));
|
|
12108
12108
|
}, 0) : d.current = null;
|
|
12109
12109
|
} else {
|
|
@@ -12188,7 +12188,7 @@ const eP = ({
|
|
|
12188
12188
|
...T,
|
|
12189
12189
|
isRunning: !1,
|
|
12190
12190
|
remainingTime: 0
|
|
12191
|
-
})), d.current = null, p.setTarget([100]), t &&
|
|
12191
|
+
})), d.current = null, p.setTarget([100]), t && queueMicrotask(() => t());
|
|
12192
12192
|
return;
|
|
12193
12193
|
}
|
|
12194
12194
|
} else if (l.currentState === "measuring") {
|
|
@@ -16488,22 +16488,22 @@ _.getAdapter = Mf.getAdapter;
|
|
|
16488
16488
|
_.HttpStatusCode = Rl;
|
|
16489
16489
|
_.default = _;
|
|
16490
16490
|
const {
|
|
16491
|
-
Axios:
|
|
16491
|
+
Axios: F$,
|
|
16492
16492
|
AxiosError: Al,
|
|
16493
|
-
CanceledError:
|
|
16494
|
-
isCancel:
|
|
16495
|
-
CancelToken:
|
|
16496
|
-
VERSION:
|
|
16497
|
-
all:
|
|
16498
|
-
Cancel:
|
|
16493
|
+
CanceledError: B$,
|
|
16494
|
+
isCancel: N$,
|
|
16495
|
+
CancelToken: z$,
|
|
16496
|
+
VERSION: G$,
|
|
16497
|
+
all: H$,
|
|
16498
|
+
Cancel: q$,
|
|
16499
16499
|
isAxiosError: tI,
|
|
16500
|
-
spread:
|
|
16501
|
-
toFormData:
|
|
16502
|
-
AxiosHeaders:
|
|
16503
|
-
HttpStatusCode:
|
|
16504
|
-
formToJSON:
|
|
16505
|
-
getAdapter:
|
|
16506
|
-
mergeConfig:
|
|
16500
|
+
spread: W$,
|
|
16501
|
+
toFormData: J$,
|
|
16502
|
+
AxiosHeaders: Y$,
|
|
16503
|
+
HttpStatusCode: K$,
|
|
16504
|
+
formToJSON: Q$,
|
|
16505
|
+
getAdapter: X$,
|
|
16506
|
+
mergeConfig: Z$
|
|
16507
16507
|
} = _, M = "/api/v1".replace(/\/+$/, "");
|
|
16508
16508
|
class Ve {
|
|
16509
16509
|
constructor(t, r = M, n = _) {
|
|
@@ -31344,7 +31344,7 @@ const dg = Te(
|
|
|
31344
31344
|
t
|
|
31345
31345
|
] });
|
|
31346
31346
|
}
|
|
31347
|
-
),
|
|
31347
|
+
), ek = tt(
|
|
31348
31348
|
Te((e) => {
|
|
31349
31349
|
const t = y0(e.nova) ? new cV({ instanceUrl: e.nova }) : e.nova, r = ps(() => ({
|
|
31350
31350
|
joggingStore: null,
|
|
@@ -31498,15 +31498,25 @@ const dg = Te(
|
|
|
31498
31498
|
)
|
|
31499
31499
|
}
|
|
31500
31500
|
) });
|
|
31501
|
-
}
|
|
31501
|
+
};
|
|
31502
|
+
function yj(e, t) {
|
|
31503
|
+
if (e)
|
|
31504
|
+
return e;
|
|
31505
|
+
if (t)
|
|
31506
|
+
return {
|
|
31507
|
+
rapidlyChangingMotionState: t.rapidlyChangingMotionState
|
|
31508
|
+
};
|
|
31509
|
+
}
|
|
31510
|
+
const tk = Te(
|
|
31502
31511
|
({
|
|
31503
31512
|
motionStream: e,
|
|
31504
31513
|
connectedMotionGroup: t,
|
|
31505
31514
|
showCopyButton: r = !1
|
|
31506
31515
|
}) => {
|
|
31507
|
-
const n = Re(null), [a, o] = Fe(""), s =
|
|
31508
|
-
|
|
31509
|
-
|
|
31516
|
+
const n = Re(null), [a, o] = Fe(""), s = yj(
|
|
31517
|
+
e,
|
|
31518
|
+
t
|
|
31519
|
+
);
|
|
31510
31520
|
if (!s)
|
|
31511
31521
|
throw new Error(
|
|
31512
31522
|
"PoseCartesianValues requires either motionStream or connectedMotionGroup prop"
|
|
@@ -31553,15 +31563,25 @@ const dg = Te(
|
|
|
31553
31563
|
}
|
|
31554
31564
|
);
|
|
31555
31565
|
}
|
|
31556
|
-
)
|
|
31566
|
+
);
|
|
31567
|
+
function bj(e, t) {
|
|
31568
|
+
if (e)
|
|
31569
|
+
return e;
|
|
31570
|
+
if (t)
|
|
31571
|
+
return {
|
|
31572
|
+
rapidlyChangingMotionState: t.rapidlyChangingMotionState
|
|
31573
|
+
};
|
|
31574
|
+
}
|
|
31575
|
+
const rk = Te(
|
|
31557
31576
|
({
|
|
31558
31577
|
motionStream: e,
|
|
31559
31578
|
connectedMotionGroup: t,
|
|
31560
31579
|
showCopyButton: r = !1
|
|
31561
31580
|
}) => {
|
|
31562
|
-
const n = Re(null), [a, o] = Fe(""), s =
|
|
31563
|
-
|
|
31564
|
-
|
|
31581
|
+
const n = Re(null), [a, o] = Fe(""), s = bj(
|
|
31582
|
+
e,
|
|
31583
|
+
t
|
|
31584
|
+
);
|
|
31565
31585
|
if (!s)
|
|
31566
31586
|
throw new Error(
|
|
31567
31587
|
"PoseJointValues requires either motionStream or connectedMotionGroup prop"
|
|
@@ -31609,7 +31629,7 @@ const dg = Te(
|
|
|
31609
31629
|
);
|
|
31610
31630
|
}
|
|
31611
31631
|
);
|
|
31612
|
-
class
|
|
31632
|
+
class xj {
|
|
31613
31633
|
constructor() {
|
|
31614
31634
|
this.messages = [], this.addMessage = (t, r = "info") => {
|
|
31615
31635
|
const n = {
|
|
@@ -31641,7 +31661,7 @@ const oi = (e, t, r) => ({
|
|
|
31641
31661
|
timestamp: /* @__PURE__ */ new Date(),
|
|
31642
31662
|
message: e,
|
|
31643
31663
|
level: t
|
|
31644
|
-
}),
|
|
31664
|
+
}), nk = (e, t) => oi(e, "debug", t), ak = (e, t) => oi(e, "info", t), ok = (e, t) => oi(e, "warning", t), sk = (e, t) => oi(e, "error", t), vj = tt(
|
|
31645
31665
|
Te((e) => {
|
|
31646
31666
|
var u;
|
|
31647
31667
|
const { messages: t = [], onClear: r, height: n = 400, sx: a } = e, o = De(), s = Re(null);
|
|
@@ -31910,7 +31930,7 @@ const oi = (e, t, r) => ({
|
|
|
31910
31930
|
}
|
|
31911
31931
|
);
|
|
31912
31932
|
})
|
|
31913
|
-
),
|
|
31933
|
+
), ik = tt(
|
|
31914
31934
|
Te((e) => {
|
|
31915
31935
|
const { store: t, onStoreReady: r, ...n } = e, a = Re(r);
|
|
31916
31936
|
ze(() => {
|
|
@@ -31918,13 +31938,13 @@ const oi = (e, t, r) => ({
|
|
|
31918
31938
|
}, [r]);
|
|
31919
31939
|
const o = _o(() => {
|
|
31920
31940
|
var l;
|
|
31921
|
-
const i = t || new
|
|
31941
|
+
const i = t || new xj();
|
|
31922
31942
|
return (l = a.current) == null || l.call(a, i), i;
|
|
31923
31943
|
}, [t]), s = () => {
|
|
31924
31944
|
o.clearMessages();
|
|
31925
31945
|
};
|
|
31926
31946
|
return /* @__PURE__ */ g.jsx(
|
|
31927
|
-
|
|
31947
|
+
vj,
|
|
31928
31948
|
{
|
|
31929
31949
|
...n,
|
|
31930
31950
|
messages: o.messages,
|
|
@@ -31933,15 +31953,15 @@ const oi = (e, t, r) => ({
|
|
|
31933
31953
|
);
|
|
31934
31954
|
})
|
|
31935
31955
|
);
|
|
31936
|
-
function
|
|
31956
|
+
function Sj() {
|
|
31937
31957
|
const e = window.location.href;
|
|
31938
31958
|
return e.substring(
|
|
31939
31959
|
0,
|
|
31940
31960
|
e.indexOf("/", e.indexOf("//") + 2)
|
|
31941
31961
|
);
|
|
31942
31962
|
}
|
|
31943
|
-
function
|
|
31944
|
-
baseUrl: e =
|
|
31963
|
+
function lk({
|
|
31964
|
+
baseUrl: e = Sj(),
|
|
31945
31965
|
...t
|
|
31946
31966
|
}) {
|
|
31947
31967
|
return /* @__PURE__ */ g.jsxs(
|
|
@@ -32013,7 +32033,7 @@ function sk({
|
|
|
32013
32033
|
);
|
|
32014
32034
|
}
|
|
32015
32035
|
var gn = /* @__PURE__ */ ((e) => (e.IDLE = "idle", e.RUNNING = "running", e.PAUSED = "paused", e.STOPPING = "stopping", e.ERROR = "error", e))(gn || {});
|
|
32016
|
-
const
|
|
32036
|
+
const ck = tt(
|
|
32017
32037
|
Te(
|
|
32018
32038
|
({
|
|
32019
32039
|
state: e,
|
|
@@ -32243,7 +32263,7 @@ function pg(e) {
|
|
|
32243
32263
|
let t = Kh;
|
|
32244
32264
|
return Kh.startsWith("0.") && (t = ""), `https://cdn.jsdelivr.net/gh/wandelbotsgmbh/wandelbots-js-react-components${t ? `@${t}` : ""}/public/models/${e}.glb`;
|
|
32245
32265
|
}
|
|
32246
|
-
function
|
|
32266
|
+
function wj(e) {
|
|
32247
32267
|
function t(r) {
|
|
32248
32268
|
return r.children.length === 0 ? [r] : [r, ...r.children.flatMap((n) => t(n))];
|
|
32249
32269
|
}
|
|
@@ -32255,7 +32275,7 @@ function mg(e) {
|
|
|
32255
32275
|
function fg(e) {
|
|
32256
32276
|
return /_J[0-9]+$/.test(e.name);
|
|
32257
32277
|
}
|
|
32258
|
-
function
|
|
32278
|
+
function Oj(e, t) {
|
|
32259
32279
|
let r;
|
|
32260
32280
|
function n(a) {
|
|
32261
32281
|
if (mg(a)) {
|
|
@@ -32301,7 +32321,7 @@ function gg({
|
|
|
32301
32321
|
}
|
|
32302
32322
|
});
|
|
32303
32323
|
function l(d) {
|
|
32304
|
-
d && (o.current =
|
|
32324
|
+
d && (o.current = wj(d), u(), i());
|
|
32305
32325
|
}
|
|
32306
32326
|
function c(d) {
|
|
32307
32327
|
var h;
|
|
@@ -32325,8 +32345,8 @@ function gg({
|
|
|
32325
32345
|
requestAnimationFrame(() => c(d));
|
|
32326
32346
|
}), /* @__PURE__ */ g.jsx("group", { ref: l, children: n });
|
|
32327
32347
|
}
|
|
32328
|
-
const
|
|
32329
|
-
function
|
|
32348
|
+
const Cj = "line", Pj = "mesh";
|
|
32349
|
+
function Tj({
|
|
32330
32350
|
rapidlyChangingMotionState: e,
|
|
32331
32351
|
dhParameters: t,
|
|
32332
32352
|
...r
|
|
@@ -32382,7 +32402,7 @@ function Cj({
|
|
|
32382
32402
|
ref: (f) => {
|
|
32383
32403
|
a.current[u] = f;
|
|
32384
32404
|
},
|
|
32385
|
-
name:
|
|
32405
|
+
name: Cj,
|
|
32386
32406
|
points: [d, h],
|
|
32387
32407
|
color: "white",
|
|
32388
32408
|
lineWidth: 5
|
|
@@ -32394,7 +32414,7 @@ function Cj({
|
|
|
32394
32414
|
ref: (f) => {
|
|
32395
32415
|
o.current[u] = f;
|
|
32396
32416
|
},
|
|
32397
|
-
name:
|
|
32417
|
+
name: Pj,
|
|
32398
32418
|
position: h,
|
|
32399
32419
|
children: [
|
|
32400
32420
|
/* @__PURE__ */ g.jsx("sphereGeometry", { args: [0.01, 32, 32] }),
|
|
@@ -32409,24 +32429,24 @@ function Cj({
|
|
|
32409
32429
|
}
|
|
32410
32430
|
) });
|
|
32411
32431
|
}
|
|
32412
|
-
const
|
|
32413
|
-
function
|
|
32432
|
+
const Rj = console.warn;
|
|
32433
|
+
function Aj() {
|
|
32414
32434
|
return ze(() => {
|
|
32415
32435
|
console.warn = (e) => {
|
|
32416
|
-
e !== "Cannot call the manual advancement of rafz whilst frameLoop is not set as demand" &&
|
|
32436
|
+
e !== "Cannot call the manual advancement of rafz whilst frameLoop is not set as demand" && Rj(e);
|
|
32417
32437
|
};
|
|
32418
32438
|
}, []), /* @__PURE__ */ g.jsx(g.Fragment, {});
|
|
32419
32439
|
}
|
|
32420
|
-
function
|
|
32440
|
+
function _j(e) {
|
|
32421
32441
|
return e.type === "Mesh";
|
|
32422
32442
|
}
|
|
32423
|
-
function
|
|
32443
|
+
function Ej({
|
|
32424
32444
|
modelURL: e,
|
|
32425
32445
|
flangeRef: t,
|
|
32426
32446
|
postModelRender: r,
|
|
32427
32447
|
...n
|
|
32428
32448
|
}) {
|
|
32429
|
-
const { gltf: a } =
|
|
32449
|
+
const { gltf: a } = Oj(
|
|
32430
32450
|
Tg(e),
|
|
32431
32451
|
e.split("/").pop() || e
|
|
32432
32452
|
), o = Ee(
|
|
@@ -32436,7 +32456,7 @@ function Aj({
|
|
|
32436
32456
|
[e]
|
|
32437
32457
|
);
|
|
32438
32458
|
function s(i) {
|
|
32439
|
-
return
|
|
32459
|
+
return _j(i) ? /* @__PURE__ */ g.jsx(
|
|
32440
32460
|
"mesh",
|
|
32441
32461
|
{
|
|
32442
32462
|
name: i.name,
|
|
@@ -32460,7 +32480,7 @@ function Aj({
|
|
|
32460
32480
|
}
|
|
32461
32481
|
return /* @__PURE__ */ g.jsx("group", { ...n, dispose: null, ref: o, children: s(a.scene) });
|
|
32462
32482
|
}
|
|
32463
|
-
const
|
|
32483
|
+
const Ij = (e, t) => {
|
|
32464
32484
|
e.userData.isGhost || (e.traverse((r) => {
|
|
32465
32485
|
if (r instanceof Le.Mesh) {
|
|
32466
32486
|
r.material instanceof Le.Material && (r.material.colorWrite = !1);
|
|
@@ -32484,7 +32504,7 @@ const _j = (e, t) => {
|
|
|
32484
32504
|
}), a.userData.isGhost = !0, r.parent && (r.parent.add(n), r.parent.add(a));
|
|
32485
32505
|
}
|
|
32486
32506
|
}), e.userData.isGhost = !0);
|
|
32487
|
-
},
|
|
32507
|
+
}, Vj = (e) => {
|
|
32488
32508
|
if (!e.userData.isGhost) return;
|
|
32489
32509
|
const t = [];
|
|
32490
32510
|
e.traverse((r) => {
|
|
@@ -32493,7 +32513,7 @@ const _j = (e, t) => {
|
|
|
32493
32513
|
}), t.forEach((r) => {
|
|
32494
32514
|
r.parent && r.parent.remove(r);
|
|
32495
32515
|
}), e.userData.isGhost = !1;
|
|
32496
|
-
},
|
|
32516
|
+
}, Mj = tt(
|
|
32497
32517
|
({
|
|
32498
32518
|
rapidlyChangingMotionState: e,
|
|
32499
32519
|
modelFromController: t,
|
|
@@ -32508,10 +32528,10 @@ const _j = (e, t) => {
|
|
|
32508
32528
|
c(h);
|
|
32509
32529
|
}, []);
|
|
32510
32530
|
ze(() => {
|
|
32511
|
-
l && (s ?
|
|
32531
|
+
l && (s ? Ij(l, s) : Vj(l));
|
|
32512
32532
|
}, [l, s]);
|
|
32513
32533
|
const d = /* @__PURE__ */ g.jsx(
|
|
32514
|
-
|
|
32534
|
+
Tj,
|
|
32515
32535
|
{
|
|
32516
32536
|
rapidlyChangingMotionState: e,
|
|
32517
32537
|
dhParameters: r,
|
|
@@ -32532,7 +32552,7 @@ const _j = (e, t) => {
|
|
|
32532
32552
|
rapidlyChangingMotionState: e,
|
|
32533
32553
|
dhParameters: r,
|
|
32534
32554
|
children: /* @__PURE__ */ g.jsx(
|
|
32535
|
-
|
|
32555
|
+
Ej,
|
|
32536
32556
|
{
|
|
32537
32557
|
modelURL: n(t),
|
|
32538
32558
|
postModelRender: o,
|
|
@@ -32542,13 +32562,13 @@ const _j = (e, t) => {
|
|
|
32542
32562
|
)
|
|
32543
32563
|
}
|
|
32544
32564
|
) }) }),
|
|
32545
|
-
/* @__PURE__ */ g.jsx(
|
|
32565
|
+
/* @__PURE__ */ g.jsx(Aj, {})
|
|
32546
32566
|
]
|
|
32547
32567
|
}
|
|
32548
32568
|
);
|
|
32549
32569
|
}
|
|
32550
32570
|
);
|
|
32551
|
-
function
|
|
32571
|
+
function jj({
|
|
32552
32572
|
connectedMotionGroup: e,
|
|
32553
32573
|
getModel: t = pg,
|
|
32554
32574
|
flangeRef: r,
|
|
@@ -32557,7 +32577,7 @@ function Vj({
|
|
|
32557
32577
|
...o
|
|
32558
32578
|
}) {
|
|
32559
32579
|
return e.dhParameters ? /* @__PURE__ */ g.jsx(
|
|
32560
|
-
|
|
32580
|
+
Mj,
|
|
32561
32581
|
{
|
|
32562
32582
|
rapidlyChangingMotionState: e.rapidlyChangingMotionState,
|
|
32563
32583
|
modelFromController: e.modelFromController || "",
|
|
@@ -32570,7 +32590,7 @@ function Vj({
|
|
|
32570
32590
|
}
|
|
32571
32591
|
) : null;
|
|
32572
32592
|
}
|
|
32573
|
-
const
|
|
32593
|
+
const uk = tt(
|
|
32574
32594
|
Te(
|
|
32575
32595
|
({
|
|
32576
32596
|
robotName: e,
|
|
@@ -32581,7 +32601,7 @@ const lk = tt(
|
|
|
32581
32601
|
onDriveToHomePress: o,
|
|
32582
32602
|
onDriveToHomeRelease: s,
|
|
32583
32603
|
connectedMotionGroup: i,
|
|
32584
|
-
robotComponent: l =
|
|
32604
|
+
robotComponent: l = jj,
|
|
32585
32605
|
cycleTimerComponent: c = tP,
|
|
32586
32606
|
onCycleTimerReady: u,
|
|
32587
32607
|
onCycleEnd: d,
|
|
@@ -32952,15 +32972,15 @@ const lk = tt(
|
|
|
32952
32972
|
);
|
|
32953
32973
|
}
|
|
32954
32974
|
)
|
|
32955
|
-
),
|
|
32975
|
+
), $j = Or(/* @__PURE__ */ g.jsx("path", {
|
|
32956
32976
|
d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-2h2zm0-4h-2V7h2z"
|
|
32957
|
-
}), "Error"),
|
|
32977
|
+
}), "Error"), kj = ({
|
|
32958
32978
|
title: e,
|
|
32959
32979
|
titleId: t,
|
|
32960
32980
|
...r
|
|
32961
|
-
}, 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" })),
|
|
32981
|
+
}, 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" })), Uj = et(kj);
|
|
32962
32982
|
var yg = /* @__PURE__ */ ((e) => (e.PRECONDITION_NOT_FULFILLED = "PRECONDITION_NOT_FULFILLED", e.ROBOT_DISCONNECTED = "ROBOT_DISCONNECTED", e.READY = "READY", e))(yg || {});
|
|
32963
|
-
const
|
|
32983
|
+
const Dj = tt(
|
|
32964
32984
|
Te(({ setupState: e, className: t }) => {
|
|
32965
32985
|
const r = De(), { t: n } = at(), a = () => {
|
|
32966
32986
|
var c, u, d, h;
|
|
@@ -33046,13 +33066,13 @@ const kj = tt(
|
|
|
33046
33066
|
}
|
|
33047
33067
|
);
|
|
33048
33068
|
})
|
|
33049
|
-
),
|
|
33069
|
+
), dk = tt(
|
|
33050
33070
|
Te(
|
|
33051
33071
|
({
|
|
33052
33072
|
robotName: e,
|
|
33053
33073
|
robotType: t,
|
|
33054
33074
|
setupState: r,
|
|
33055
|
-
PreconditionComponent: n =
|
|
33075
|
+
PreconditionComponent: n = Dj,
|
|
33056
33076
|
className: a
|
|
33057
33077
|
}) => {
|
|
33058
33078
|
var l;
|
|
@@ -33099,10 +33119,10 @@ const kj = tt(
|
|
|
33099
33119
|
fill: `${o.palette.primary.main} !important`
|
|
33100
33120
|
}
|
|
33101
33121
|
},
|
|
33102
|
-
children: /* @__PURE__ */ g.jsx(
|
|
33122
|
+
children: /* @__PURE__ */ g.jsx(Uj, {})
|
|
33103
33123
|
}
|
|
33104
33124
|
) : /* @__PURE__ */ g.jsx(
|
|
33105
|
-
|
|
33125
|
+
$j,
|
|
33106
33126
|
{
|
|
33107
33127
|
sx: {
|
|
33108
33128
|
color: o.palette.error.main,
|
|
@@ -33152,7 +33172,7 @@ const kj = tt(
|
|
|
33152
33172
|
);
|
|
33153
33173
|
}
|
|
33154
33174
|
)
|
|
33155
|
-
),
|
|
33175
|
+
), hk = Array(6).fill(2 * Math.PI), Qh = {
|
|
33156
33176
|
[Lt.Abb]: [0, 0, 0, 0, Math.PI / 2, 0, 0],
|
|
33157
33177
|
[Lt.Fanuc]: [0, 0, 0, 0, -Math.PI / 2, 0, 0],
|
|
33158
33178
|
[Lt.Yaskawa]: [0, 0, 0, 0, -Math.PI / 2, 0, 0],
|
|
@@ -33175,7 +33195,7 @@ const kj = tt(
|
|
|
33175
33195
|
0
|
|
33176
33196
|
]
|
|
33177
33197
|
};
|
|
33178
|
-
function
|
|
33198
|
+
function Lj(e) {
|
|
33179
33199
|
const [t] = e.split("_");
|
|
33180
33200
|
switch (t) {
|
|
33181
33201
|
case "ABB":
|
|
@@ -33192,19 +33212,19 @@ function Uj(e) {
|
|
|
33192
33212
|
return null;
|
|
33193
33213
|
}
|
|
33194
33214
|
}
|
|
33195
|
-
function
|
|
33196
|
-
const r =
|
|
33215
|
+
function pk(e, t) {
|
|
33216
|
+
const r = Lj(e);
|
|
33197
33217
|
return r && r in Qh ? Qh[r] : t || null;
|
|
33198
33218
|
}
|
|
33199
|
-
const
|
|
33219
|
+
const Fj = ({
|
|
33200
33220
|
title: e,
|
|
33201
33221
|
titleId: t,
|
|
33202
33222
|
...r
|
|
33203
|
-
}, n) => /* @__PURE__ */ B.createElement("svg", { width: 24, height: 24, xmlns: "http://www.w3.org/2000/svg", ref: n, "aria-labelledby": t, ...r }, e ? /* @__PURE__ */ B.createElement("title", { id: t }, e) : null, /* @__PURE__ */ B.createElement("path", { d: "M5.248 21c-.334 0-.619-.116-.853-.35a1.153 1.153 0 0 1-.351-.848c0-.333.117-.616.351-.85.234-.233.519-.35.853-.35H7.24L4.558 9.87a2.881 2.881 0 0 1-1.126-1.042A2.77 2.77 0 0 1 3 7.317c0-.793.28-1.467.838-2.023a2.774 2.774 0 0 1 2.033-.834 2.71 2.71 0 0 1 1.728.585c.494.389.832.887 1.014 1.493h3.58V5.239c0-.22.076-.406.226-.555a.76.76 0 0 1 .558-.224c.136 0 .263.035.381.104.118.07.209.167.273.292v.14l1.835-1.702a.979.979 0 0 1 .52-.279.881.881 0 0 1 .58.091l4.01 1.85a.74.74 0 0 1 .36.364.537.537 0 0 1-.002.474.592.592 0 0 1-.366.323.657.657 0 0 1-.477-.039l-3.858-1.774L13.76 6.59v1.454l2.473 2.233 3.858-1.774a.648.648 0 0 1 .485-.03.571.571 0 0 1 .358.314.513.513 0 0 1 .01.482.79.79 0 0 1-.367.357l-4.011 1.882a.881.881 0 0 1-.58.09.979.979 0 0 1-.52-.278L13.63 9.638v.14a.92.92 0 0 1-.273.275.665.665 0 0 1-.381.12.76.76 0 0 1-.558-.224.752.752 0 0 1-.225-.555V8.096h-3.58a2.82 2.82 0 0 1-.215.54 2.552 2.552 0 0 1-.323.479l5.139 9.488h2.673c.335 0 .62.116.854.35.234.233.35.516.35.849 0 .332-.116.615-.35.849a1.167 1.167 0 0 1-.854.349H5.248Zm.623-12.385c.362 0 .67-.126.924-.378a1.25 1.25 0 0 0 .38-.92 1.25 1.25 0 0 0-.38-.92 1.261 1.261 0 0 0-.924-.379 1.26 1.26 0 0 0-.925.379 1.25 1.25 0 0 0-.38.92c0 .36.127.667.38.92.254.252.562.378.925.378Z" })),
|
|
33223
|
+
}, n) => /* @__PURE__ */ B.createElement("svg", { width: 24, height: 24, xmlns: "http://www.w3.org/2000/svg", ref: n, "aria-labelledby": t, ...r }, e ? /* @__PURE__ */ B.createElement("title", { id: t }, e) : null, /* @__PURE__ */ B.createElement("path", { d: "M5.248 21c-.334 0-.619-.116-.853-.35a1.153 1.153 0 0 1-.351-.848c0-.333.117-.616.351-.85.234-.233.519-.35.853-.35H7.24L4.558 9.87a2.881 2.881 0 0 1-1.126-1.042A2.77 2.77 0 0 1 3 7.317c0-.793.28-1.467.838-2.023a2.774 2.774 0 0 1 2.033-.834 2.71 2.71 0 0 1 1.728.585c.494.389.832.887 1.014 1.493h3.58V5.239c0-.22.076-.406.226-.555a.76.76 0 0 1 .558-.224c.136 0 .263.035.381.104.118.07.209.167.273.292v.14l1.835-1.702a.979.979 0 0 1 .52-.279.881.881 0 0 1 .58.091l4.01 1.85a.74.74 0 0 1 .36.364.537.537 0 0 1-.002.474.592.592 0 0 1-.366.323.657.657 0 0 1-.477-.039l-3.858-1.774L13.76 6.59v1.454l2.473 2.233 3.858-1.774a.648.648 0 0 1 .485-.03.571.571 0 0 1 .358.314.513.513 0 0 1 .01.482.79.79 0 0 1-.367.357l-4.011 1.882a.881.881 0 0 1-.58.09.979.979 0 0 1-.52-.278L13.63 9.638v.14a.92.92 0 0 1-.273.275.665.665 0 0 1-.381.12.76.76 0 0 1-.558-.224.752.752 0 0 1-.225-.555V8.096h-3.58a2.82 2.82 0 0 1-.215.54 2.552 2.552 0 0 1-.323.479l5.139 9.488h2.673c.335 0 .62.116.854.35.234.233.35.516.35.849 0 .332-.116.615-.35.849a1.167 1.167 0 0 1-.854.349H5.248Zm.623-12.385c.362 0 .67-.126.924-.378a1.25 1.25 0 0 0 .38-.92 1.25 1.25 0 0 0-.38-.92 1.261 1.261 0 0 0-.924-.379 1.26 1.26 0 0 0-.925.379 1.25 1.25 0 0 0-.38.92c0 .36.127.667.38.92.254.252.562.378.925.378Z" })), Bj = et(Fj), Nj = ({
|
|
33204
33224
|
title: e,
|
|
33205
33225
|
titleId: t,
|
|
33206
33226
|
...r
|
|
33207
|
-
}, n) => /* @__PURE__ */ B.createElement("svg", { width: 24, height: 24, xmlns: "http://www.w3.org/2000/svg", ref: n, "aria-labelledby": t, ...r }, e ? /* @__PURE__ */ B.createElement("title", { id: t }, e) : null, /* @__PURE__ */ B.createElement("path", { d: "m13.37 9.12 1.69 1.69 2.99-2.99-3.73-3.73-.95-.95-7.66 7.66-.95.95 3.99 3.99v3.44h7.55v-3.55l-4.72-4.72 1.79-1.79Zm-.91-2.99.91-.91 2.6 2.6-.91.91-2.6-2.6Zm-2.25 10.24h3.74l-1.34-1.34-.04-.04h-2.5l-3.25-3.25 4.59-4.59.92.92L9.5 10.9l5.33 5.33v1.48H10.2v-1.35l.01.01ZM2 2v4.99h1.41V3.4h3.58V2H2ZM22.21 2h-4.98v1.41h3.59v3.58h1.4V2h-.01ZM20.81 20.65h-3.58v1.4h4.98v-4.99h-1.4v3.59ZM3.4 17.06H2v4.98h4.99v-1.4H3.4v-3.58Z" })),
|
|
33227
|
+
}, n) => /* @__PURE__ */ B.createElement("svg", { width: 24, height: 24, xmlns: "http://www.w3.org/2000/svg", ref: n, "aria-labelledby": t, ...r }, e ? /* @__PURE__ */ B.createElement("title", { id: t }, e) : null, /* @__PURE__ */ B.createElement("path", { d: "m13.37 9.12 1.69 1.69 2.99-2.99-3.73-3.73-.95-.95-7.66 7.66-.95.95 3.99 3.99v3.44h7.55v-3.55l-4.72-4.72 1.79-1.79Zm-.91-2.99.91-.91 2.6 2.6-.91.91-2.6-2.6Zm-2.25 10.24h3.74l-1.34-1.34-.04-.04h-2.5l-3.25-3.25 4.59-4.59.92.92L9.5 10.9l5.33 5.33v1.48H10.2v-1.35l.01.01ZM2 2v4.99h1.41V3.4h3.58V2H2ZM22.21 2h-4.98v1.41h3.59v3.58h1.4V2h-.01ZM20.81 20.65h-3.58v1.4h4.98v-4.99h-1.4v3.59ZM3.4 17.06H2v4.98h4.99v-1.4H3.4v-3.58Z" })), zj = et(Nj), Ft = Te(
|
|
33208
33228
|
({
|
|
33209
33229
|
id: e,
|
|
33210
33230
|
icon: t,
|
|
@@ -33309,7 +33329,7 @@ const Dj = ({
|
|
|
33309
33329
|
)
|
|
33310
33330
|
] });
|
|
33311
33331
|
}
|
|
33312
|
-
),
|
|
33332
|
+
), Gj = Te(
|
|
33313
33333
|
({
|
|
33314
33334
|
isVirtual: e,
|
|
33315
33335
|
motionGroupId: t,
|
|
@@ -33322,7 +33342,7 @@ const Dj = ({
|
|
|
33322
33342
|
Ft,
|
|
33323
33343
|
{
|
|
33324
33344
|
id: "motion-group-virtual",
|
|
33325
|
-
icon:
|
|
33345
|
+
icon: zj,
|
|
33326
33346
|
color: o.palette.tertiary.main,
|
|
33327
33347
|
name: s("SafetyBar.ControllerType.Virtual.lb"),
|
|
33328
33348
|
label: a ? null : s("SafetyBar.ControllerType.Virtual.lb"),
|
|
@@ -33347,7 +33367,7 @@ const Dj = ({
|
|
|
33347
33367
|
Ft,
|
|
33348
33368
|
{
|
|
33349
33369
|
id: "motion-group-physical",
|
|
33350
|
-
icon:
|
|
33370
|
+
icon: Bj,
|
|
33351
33371
|
color: o.palette.primary.main,
|
|
33352
33372
|
name: s("SafetyBar.ControllerType.Physical.lb"),
|
|
33353
33373
|
label: a ? null : s("SafetyBar.ControllerType.Physical.lb"),
|
|
@@ -33366,19 +33386,19 @@ const Dj = ({
|
|
|
33366
33386
|
}
|
|
33367
33387
|
);
|
|
33368
33388
|
}
|
|
33369
|
-
),
|
|
33389
|
+
), Hj = ({
|
|
33370
33390
|
title: e,
|
|
33371
33391
|
titleId: t,
|
|
33372
33392
|
...r
|
|
33373
|
-
}, n) => /* @__PURE__ */ B.createElement("svg", { width: 24, height: 24, xmlns: "http://www.w3.org/2000/svg", ref: n, "aria-labelledby": t, ...r }, e ? /* @__PURE__ */ B.createElement("title", { id: t }, e) : null, /* @__PURE__ */ B.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M15.306 2.768c0-.424.344-.768.768-.768h.406C19.53 2 22 4.551 22 7.699c0 3.237-2.51 5.587-5.31 5.703-.84 1.595-2.478 2.677-4.36 2.677a4.845 4.845 0 0 1-3.146-1.163c-.6 1.783 0 3.922 1.79 4.99 1.929 1.149 4.395.467 5.508-1.524l.212-.378a.75.75 0 1 1 1.308.732l-.231.414c-1.524 2.725-4.9 3.66-7.54 2.085-2.716-1.618-3.432-5.037-2.129-7.599a5.22 5.22 0 0 1-.73-2.677c0-2.192 1.335-4.063 3.212-4.793-1.195-1.427-3.29-1.96-5.08-.892-1.928 1.15-2.589 3.696-1.475 5.687l.231.413a.75.75 0 0 1-1.308.732l-.212-.377c-1.524-2.726-.62-6.211 2.02-7.785 2.716-1.619 5.943-.55 7.44 1.897l.13-.001c2.739 0 4.96 2.292 4.96 5.12 0 .284-.023.563-.066.834 1.795-.354 3.288-1.96 3.288-4.095 0-2.3-1.805-4.163-4.032-4.163h-.406a.768.768 0 0 1-.768-.768Zm.496 8.191c0 .286-.033.564-.094.831a3.62 3.62 0 0 1-.672 1.415 3.425 3.425 0 0 1-2.706 1.338 3.402 3.402 0 0 1-2.384-.98 3.598 3.598 0 0 1-.852-1.306 3.677 3.677 0 0 1-.235-1.298c0-1.623 1.046-2.994 2.48-3.435a3.37 3.37 0 0 1 1.522-.107c1.665.264 2.94 1.75 2.94 3.542Z" })),
|
|
33393
|
+
}, n) => /* @__PURE__ */ B.createElement("svg", { width: 24, height: 24, xmlns: "http://www.w3.org/2000/svg", ref: n, "aria-labelledby": t, ...r }, e ? /* @__PURE__ */ B.createElement("title", { id: t }, e) : null, /* @__PURE__ */ B.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M15.306 2.768c0-.424.344-.768.768-.768h.406C19.53 2 22 4.551 22 7.699c0 3.237-2.51 5.587-5.31 5.703-.84 1.595-2.478 2.677-4.36 2.677a4.845 4.845 0 0 1-3.146-1.163c-.6 1.783 0 3.922 1.79 4.99 1.929 1.149 4.395.467 5.508-1.524l.212-.378a.75.75 0 1 1 1.308.732l-.231.414c-1.524 2.725-4.9 3.66-7.54 2.085-2.716-1.618-3.432-5.037-2.129-7.599a5.22 5.22 0 0 1-.73-2.677c0-2.192 1.335-4.063 3.212-4.793-1.195-1.427-3.29-1.96-5.08-.892-1.928 1.15-2.589 3.696-1.475 5.687l.231.413a.75.75 0 0 1-1.308.732l-.212-.377c-1.524-2.726-.62-6.211 2.02-7.785 2.716-1.619 5.943-.55 7.44 1.897l.13-.001c2.739 0 4.96 2.292 4.96 5.12 0 .284-.023.563-.066.834 1.795-.354 3.288-1.96 3.288-4.095 0-2.3-1.805-4.163-4.032-4.163h-.406a.768.768 0 0 1-.768-.768Zm.496 8.191c0 .286-.033.564-.094.831a3.62 3.62 0 0 1-.672 1.415 3.425 3.425 0 0 1-2.706 1.338 3.402 3.402 0 0 1-2.384-.98 3.598 3.598 0 0 1-.852-1.306 3.677 3.677 0 0 1-.235-1.298c0-1.623 1.046-2.994 2.48-3.435a3.37 3.37 0 0 1 1.522-.107c1.665.264 2.94 1.75 2.94 3.542Z" })), qj = et(Hj), Wj = ({
|
|
33374
33394
|
title: e,
|
|
33375
33395
|
titleId: t,
|
|
33376
33396
|
...r
|
|
33377
|
-
}, n) => /* @__PURE__ */ B.createElement("svg", { width: 24, height: 24, fill: "none", xmlns: "http://www.w3.org/2000/svg", ref: n, "aria-labelledby": t, ...r }, e ? /* @__PURE__ */ B.createElement("title", { id: t }, e) : null, /* @__PURE__ */ B.createElement("path", { d: "M19.763 16.432 13.516 5.864c-.674-1.152-2.358-1.152-3.049 0l-6.23 10.568C3.563 17.567 4.405 19 5.753 19H18.23c1.364 0 2.206-1.432 1.532-2.568ZM12 8.498c.539 0 .96.428.96.938v.066l-.32 4.708a.639.639 0 0 1-.64.592.639.639 0 0 1-.64-.592l-.32-4.708A.953.953 0 0 1 12 8.498Zm0 8.79c-.556 0-1.01-.444-1.01-.987 0-.544.454-.988 1.01-.988s1.01.444 1.01.988c0 .542-.454.987-1.01.987Z", fill: "#fff", fillOpacity: 0.56 })),
|
|
33397
|
+
}, n) => /* @__PURE__ */ B.createElement("svg", { width: 24, height: 24, fill: "none", xmlns: "http://www.w3.org/2000/svg", ref: n, "aria-labelledby": t, ...r }, e ? /* @__PURE__ */ B.createElement("title", { id: t }, e) : null, /* @__PURE__ */ B.createElement("path", { d: "M19.763 16.432 13.516 5.864c-.674-1.152-2.358-1.152-3.049 0l-6.23 10.568C3.563 17.567 4.405 19 5.753 19H18.23c1.364 0 2.206-1.432 1.532-2.568ZM12 8.498c.539 0 .96.428.96.938v.066l-.32 4.708a.639.639 0 0 1-.64.592.639.639 0 0 1-.64-.592l-.32-4.708A.953.953 0 0 1 12 8.498Zm0 8.79c-.556 0-1.01-.444-1.01-.987 0-.544.454-.988 1.01-.988s1.01.444 1.01.988c0 .542-.454.987-1.01.987Z", fill: "#fff", fillOpacity: 0.56 })), Jj = et(Wj), Yj = ({
|
|
33378
33398
|
title: e,
|
|
33379
33399
|
titleId: t,
|
|
33380
33400
|
...r
|
|
33381
|
-
}, n) => /* @__PURE__ */ B.createElement("svg", { width: 24, height: 24, fill: "none", xmlns: "http://www.w3.org/2000/svg", ref: n, "aria-labelledby": t, ...r }, e ? /* @__PURE__ */ B.createElement("title", { id: t }, e) : null, /* @__PURE__ */ B.createElement("path", { d: "M12.953 5.09a1.497 1.497 0 0 0-1.653-.518l-1.35.43a1.504 1.504 0 0 0-1.726-.376L2.858 6.97c-.736.321-1.06 1.155-.726 1.862.334.707 1.202 1.02 1.937.698l4.27-1.865 1.466 1.973v.402c0 .873-.627 1.63-1.512 1.827l-2.56.567c-1.329.295-2.27 1.431-2.27 2.74v.107c0 .26.22.469.489.469h11.117c1.329 0 2.618.435 3.656 1.233l1.665 1.28A1 1 0 0 0 22 17.47V11.062c0-.312-.108-.616-.308-.863l-3.415-4.218a1.5 1.5 0 0 0-1.618-.471l-.378.12-.866-.475a1.516 1.516 0 0 0-1.188-.114l-1.06.338-.214-.289Z" })),
|
|
33401
|
+
}, n) => /* @__PURE__ */ B.createElement("svg", { width: 24, height: 24, fill: "none", xmlns: "http://www.w3.org/2000/svg", ref: n, "aria-labelledby": t, ...r }, e ? /* @__PURE__ */ B.createElement("title", { id: t }, e) : null, /* @__PURE__ */ B.createElement("path", { d: "M12.953 5.09a1.497 1.497 0 0 0-1.653-.518l-1.35.43a1.504 1.504 0 0 0-1.726-.376L2.858 6.97c-.736.321-1.06 1.155-.726 1.862.334.707 1.202 1.02 1.937.698l4.27-1.865 1.466 1.973v.402c0 .873-.627 1.63-1.512 1.827l-2.56.567c-1.329.295-2.27 1.431-2.27 2.74v.107c0 .26.22.469.489.469h11.117c1.329 0 2.618.435 3.656 1.233l1.665 1.28A1 1 0 0 0 22 17.47V11.062c0-.312-.108-.616-.308-.863l-3.415-4.218a1.5 1.5 0 0 0-1.618-.471l-.378.12-.866-.475a1.516 1.516 0 0 0-1.188-.114l-1.06.338-.214-.289Z" })), Kj = et(Yj), Qj = Te(
|
|
33382
33402
|
({
|
|
33383
33403
|
operationMode: e,
|
|
33384
33404
|
anchorOrigin: t,
|
|
@@ -33392,7 +33412,7 @@ const Dj = ({
|
|
|
33392
33412
|
Ft,
|
|
33393
33413
|
{
|
|
33394
33414
|
id: "operation-mode-auto",
|
|
33395
|
-
icon:
|
|
33415
|
+
icon: qj,
|
|
33396
33416
|
title: a("SafetyBar.OperationMode.ti"),
|
|
33397
33417
|
name: a("SafetyBar.OperationMode.Automatic.ti"),
|
|
33398
33418
|
label: n ? null : a("SafetyBar.OperationMode.Automatic.ti"),
|
|
@@ -33409,7 +33429,7 @@ const Dj = ({
|
|
|
33409
33429
|
Ft,
|
|
33410
33430
|
{
|
|
33411
33431
|
id: "operation-mode-manual",
|
|
33412
|
-
icon:
|
|
33432
|
+
icon: Kj,
|
|
33413
33433
|
color: o.palette.warning.main,
|
|
33414
33434
|
title: a("SafetyBar.OperationMode.ti"),
|
|
33415
33435
|
name: a("SafetyBar.OperationMode.Manual.lb"),
|
|
@@ -33425,7 +33445,7 @@ const Dj = ({
|
|
|
33425
33445
|
Ft,
|
|
33426
33446
|
{
|
|
33427
33447
|
id: "operation-mode-error",
|
|
33428
|
-
icon:
|
|
33448
|
+
icon: Jj,
|
|
33429
33449
|
color: o.palette.warning.main,
|
|
33430
33450
|
title: a("SafetyBar.OperationMode.ti"),
|
|
33431
33451
|
name: a("SafetyBar.OperationMode.Error.lb"),
|
|
@@ -33438,27 +33458,27 @@ const Dj = ({
|
|
|
33438
33458
|
);
|
|
33439
33459
|
}
|
|
33440
33460
|
}
|
|
33441
|
-
),
|
|
33461
|
+
), Xj = ({
|
|
33442
33462
|
title: e,
|
|
33443
33463
|
titleId: t,
|
|
33444
33464
|
...r
|
|
33445
|
-
}, n) => /* @__PURE__ */ B.createElement("svg", { width: 24, height: 24, xmlns: "http://www.w3.org/2000/svg", ref: n, "aria-labelledby": t, ...r }, e ? /* @__PURE__ */ B.createElement("title", { id: t }, e) : null, /* @__PURE__ */ B.createElement("path", { d: "M19.763 16.432 13.516 5.864c-.674-1.152-2.358-1.152-3.049 0l-6.23 10.568C3.563 17.567 4.405 19 5.753 19H18.23c1.364 0 2.206-1.432 1.532-2.568ZM12 8.498c.539 0 .96.428.96.938v.066l-.32 4.708a.639.639 0 0 1-.64.592.639.639 0 0 1-.64-.592l-.32-4.708A.953.953 0 0 1 12 8.498Zm0 8.79c-.556 0-1.01-.444-1.01-.987 0-.544.454-.988 1.01-.988s1.01.444 1.01.988c0 .542-.454.987-1.01.987Z" })),
|
|
33465
|
+
}, n) => /* @__PURE__ */ B.createElement("svg", { width: 24, height: 24, xmlns: "http://www.w3.org/2000/svg", ref: n, "aria-labelledby": t, ...r }, e ? /* @__PURE__ */ B.createElement("title", { id: t }, e) : null, /* @__PURE__ */ B.createElement("path", { d: "M19.763 16.432 13.516 5.864c-.674-1.152-2.358-1.152-3.049 0l-6.23 10.568C3.563 17.567 4.405 19 5.753 19H18.23c1.364 0 2.206-1.432 1.532-2.568ZM12 8.498c.539 0 .96.428.96.938v.066l-.32 4.708a.639.639 0 0 1-.64.592.639.639 0 0 1-.64-.592l-.32-4.708A.953.953 0 0 1 12 8.498Zm0 8.79c-.556 0-1.01-.444-1.01-.987 0-.544.454-.988 1.01-.988s1.01.444 1.01.988c0 .542-.454.987-1.01.987Z" })), Zj = et(Xj), e$ = ({
|
|
33446
33466
|
title: e,
|
|
33447
33467
|
titleId: t,
|
|
33448
33468
|
...r
|
|
33449
|
-
}, n) => /* @__PURE__ */ B.createElement("svg", { width: 24, height: 24, xmlns: "http://www.w3.org/2000/svg", ref: n, "aria-labelledby": t, ...r }, e ? /* @__PURE__ */ B.createElement("title", { id: t }, e) : null, /* @__PURE__ */ B.createElement("path", { d: "M10.24 10.636 12 13.764l1.76-3.128h-3.52Z" }), /* @__PURE__ */ B.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M18.364 12a6.364 6.364 0 1 1-12.728 0 6.364 6.364 0 0 1 12.728 0ZM7.909 9.273 12 16.546l4.09-7.273H7.91Z" }), /* @__PURE__ */ B.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Zm-1.364 0a8.636 8.636 0 1 1-17.273 0 8.636 8.636 0 0 1 17.273 0Z" })),
|
|
33469
|
+
}, n) => /* @__PURE__ */ B.createElement("svg", { width: 24, height: 24, xmlns: "http://www.w3.org/2000/svg", ref: n, "aria-labelledby": t, ...r }, e ? /* @__PURE__ */ B.createElement("title", { id: t }, e) : null, /* @__PURE__ */ B.createElement("path", { d: "M10.24 10.636 12 13.764l1.76-3.128h-3.52Z" }), /* @__PURE__ */ B.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M18.364 12a6.364 6.364 0 1 1-12.728 0 6.364 6.364 0 0 1 12.728 0ZM7.909 9.273 12 16.546l4.09-7.273H7.91Z" }), /* @__PURE__ */ B.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Zm-1.364 0a8.636 8.636 0 1 1-17.273 0 8.636 8.636 0 0 1 17.273 0Z" })), t$ = et(e$), r$ = ({
|
|
33450
33470
|
title: e,
|
|
33451
33471
|
titleId: t,
|
|
33452
33472
|
...r
|
|
33453
|
-
}, n) => /* @__PURE__ */ B.createElement("svg", { width: 24, height: 24, fill: "none", xmlns: "http://www.w3.org/2000/svg", ref: n, "aria-labelledby": t, ...r }, e ? /* @__PURE__ */ B.createElement("title", { id: t }, e) : null, /* @__PURE__ */ B.createElement("path", { d: "M9.057 15.115c-1.681 0-3.111-.59-4.29-1.768C3.59 12.17 3 10.74 3 9.057c0-.29.021-.582.064-.876a4.1 4.1 0 0 1 .214-.844.78.78 0 0 1 .273-.36c.115-.077.244-.133.389-.168a.857.857 0 0 1 .437.008c.146.04.28.12.4.24l2.806 2.787 2.26-2.261-2.775-2.786a.903.903 0 0 1-.241-.405.875.875 0 0 1-.008-.442 1.13 1.13 0 0 1 .174-.389.82.82 0 0 1 .355-.273c.268-.107.548-.182.838-.224.29-.043.581-.064.871-.064 1.682 0 3.112.59 4.29 1.768 1.179 1.178 1.768 2.608 1.768 4.29 0 .444-.042.858-.126 1.241-.084.384-.21.755-.377 1.113l5.726 5.692A2.2 2.2 0 0 1 21 18.721a2.2 2.2 0 0 1-.662 1.617A2.2 2.2 0 0 1 18.72 21a2.173 2.173 0 0 1-1.617-.679l-5.692-5.709c-.372.161-.75.285-1.133.372-.383.087-.79.13-1.222.13Z", fill: "#fff", fillOpacity: 0.56 })),
|
|
33473
|
+
}, n) => /* @__PURE__ */ B.createElement("svg", { width: 24, height: 24, fill: "none", xmlns: "http://www.w3.org/2000/svg", ref: n, "aria-labelledby": t, ...r }, e ? /* @__PURE__ */ B.createElement("title", { id: t }, e) : null, /* @__PURE__ */ B.createElement("path", { d: "M9.057 15.115c-1.681 0-3.111-.59-4.29-1.768C3.59 12.17 3 10.74 3 9.057c0-.29.021-.582.064-.876a4.1 4.1 0 0 1 .214-.844.78.78 0 0 1 .273-.36c.115-.077.244-.133.389-.168a.857.857 0 0 1 .437.008c.146.04.28.12.4.24l2.806 2.787 2.26-2.261-2.775-2.786a.903.903 0 0 1-.241-.405.875.875 0 0 1-.008-.442 1.13 1.13 0 0 1 .174-.389.82.82 0 0 1 .355-.273c.268-.107.548-.182.838-.224.29-.043.581-.064.871-.064 1.682 0 3.112.59 4.29 1.768 1.179 1.178 1.768 2.608 1.768 4.29 0 .444-.042.858-.126 1.241-.084.384-.21.755-.377 1.113l5.726 5.692A2.2 2.2 0 0 1 21 18.721a2.2 2.2 0 0 1-.662 1.617A2.2 2.2 0 0 1 18.72 21a2.173 2.173 0 0 1-1.617-.679l-5.692-5.709c-.372.161-.75.285-1.133.372-.383.087-.79.13-1.222.13Z", fill: "#fff", fillOpacity: 0.56 })), n$ = et(r$), a$ = ({
|
|
33454
33474
|
title: e,
|
|
33455
33475
|
titleId: t,
|
|
33456
33476
|
...r
|
|
33457
|
-
}, n) => /* @__PURE__ */ B.createElement("svg", { width: 24, height: 24, fill: "none", xmlns: "http://www.w3.org/2000/svg", ref: n, "aria-labelledby": t, ...r }, e ? /* @__PURE__ */ B.createElement("title", { id: t }, e) : null, /* @__PURE__ */ B.createElement("path", { d: "m10.6 13.8-2.15-2.15a.948.948 0 0 0-.7-.275.948.948 0 0 0-.7.275.948.948 0 0 0-.275.7c0 .283.092.517.275.7L9.9 15.9c.2.2.433.3.7.3.267 0 .5-.1.7-.3l5.65-5.65a.948.948 0 0 0 .275-.7.948.948 0 0 0-.275-.7.948.948 0 0 0-.7-.275.948.948 0 0 0-.7.275L10.6 13.8ZM12 22a9.738 9.738 0 0 1-3.9-.788 10.099 10.099 0 0 1-3.175-2.137c-.9-.9-1.612-1.958-2.137-3.175A9.738 9.738 0 0 1 2 12c0-1.383.263-2.683.788-3.9a10.099 10.099 0 0 1 2.137-3.175c.9-.9 1.958-1.612 3.175-2.137A9.738 9.738 0 0 1 12 2c1.383 0 2.683.263 3.9.788a10.098 10.098 0 0 1 3.175 2.137c.9.9 1.613 1.958 2.137 3.175A9.738 9.738 0 0 1 22 12a9.738 9.738 0 0 1-.788 3.9 10.098 10.098 0 0 1-2.137 3.175c-.9.9-1.958 1.613-3.175 2.137A9.738 9.738 0 0 1 12 22Zm0-2c2.233 0 4.125-.775 5.675-2.325C19.225 16.125 20 14.233 20 12c0-2.233-.775-4.125-2.325-5.675C16.125 4.775 14.233 4 12 4c-2.233 0-4.125.775-5.675 2.325C4.775 7.875 4 9.767 4 12c0 2.233.775 4.125 2.325 5.675C7.875 19.225 9.767 20 12 20Z" })),
|
|
33477
|
+
}, n) => /* @__PURE__ */ B.createElement("svg", { width: 24, height: 24, fill: "none", xmlns: "http://www.w3.org/2000/svg", ref: n, "aria-labelledby": t, ...r }, e ? /* @__PURE__ */ B.createElement("title", { id: t }, e) : null, /* @__PURE__ */ B.createElement("path", { d: "m10.6 13.8-2.15-2.15a.948.948 0 0 0-.7-.275.948.948 0 0 0-.7.275.948.948 0 0 0-.275.7c0 .283.092.517.275.7L9.9 15.9c.2.2.433.3.7.3.267 0 .5-.1.7-.3l5.65-5.65a.948.948 0 0 0 .275-.7.948.948 0 0 0-.275-.7.948.948 0 0 0-.7-.275.948.948 0 0 0-.7.275L10.6 13.8ZM12 22a9.738 9.738 0 0 1-3.9-.788 10.099 10.099 0 0 1-3.175-2.137c-.9-.9-1.612-1.958-2.137-3.175A9.738 9.738 0 0 1 2 12c0-1.383.263-2.683.788-3.9a10.099 10.099 0 0 1 2.137-3.175c.9-.9 1.958-1.612 3.175-2.137A9.738 9.738 0 0 1 12 2c1.383 0 2.683.263 3.9.788a10.098 10.098 0 0 1 3.175 2.137c.9.9 1.613 1.958 2.137 3.175A9.738 9.738 0 0 1 22 12a9.738 9.738 0 0 1-.788 3.9 10.098 10.098 0 0 1-2.137 3.175c-.9.9-1.958 1.613-3.175 2.137A9.738 9.738 0 0 1 12 22Zm0-2c2.233 0 4.125-.775 5.675-2.325C19.225 16.125 20 14.233 20 12c0-2.233-.775-4.125-2.325-5.675C16.125 4.775 14.233 4 12 4c-2.233 0-4.125.775-5.675 2.325C4.775 7.875 4 9.767 4 12c0 2.233.775 4.125 2.325 5.675C7.875 19.225 9.767 20 12 20Z" })), o$ = et(a$), s$ = ({
|
|
33458
33478
|
title: e,
|
|
33459
33479
|
titleId: t,
|
|
33460
33480
|
...r
|
|
33461
|
-
}, n) => /* @__PURE__ */ B.createElement("svg", { width: 24, height: 24, xmlns: "http://www.w3.org/2000/svg", ref: n, "aria-labelledby": t, ...r }, e ? /* @__PURE__ */ B.createElement("title", { id: t }, e) : null, /* @__PURE__ */ B.createElement("path", { d: "M9 16h6c.283 0 .52-.096.713-.287A.968.968 0 0 0 16 15V9a.967.967 0 0 0-.287-.713A.968.968 0 0 0 15 8H9a.968.968 0 0 0-.713.287A.968.968 0 0 0 8 9v6c0 .283.096.52.287.713.192.191.43.287.713.287Zm3 6a9.738 9.738 0 0 1-3.9-.788 10.099 10.099 0 0 1-3.175-2.137c-.9-.9-1.612-1.958-2.137-3.175A9.738 9.738 0 0 1 2 12c0-1.383.263-2.683.788-3.9a10.099 10.099 0 0 1 2.137-3.175c.9-.9 1.958-1.612 3.175-2.137A9.738 9.738 0 0 1 12 2c1.383 0 2.683.263 3.9.788a10.098 10.098 0 0 1 3.175 2.137c.9.9 1.613 1.958 2.137 3.175A9.738 9.738 0 0 1 22 12a9.738 9.738 0 0 1-.788 3.9 10.098 10.098 0 0 1-2.137 3.175c-.9.9-1.958 1.613-3.175 2.137A9.738 9.738 0 0 1 12 22Zm0-2c2.233 0 4.125-.775 5.675-2.325C19.225 16.125 20 14.233 20 12c0-2.233-.775-4.125-2.325-5.675C16.125 4.775 14.233 4 12 4c-2.233 0-4.125.775-5.675 2.325C4.775 7.875 4 9.767 4 12c0 2.233.775 4.125 2.325 5.675C7.875 19.225 9.767 20 12 20Z" })),
|
|
33481
|
+
}, n) => /* @__PURE__ */ B.createElement("svg", { width: 24, height: 24, xmlns: "http://www.w3.org/2000/svg", ref: n, "aria-labelledby": t, ...r }, e ? /* @__PURE__ */ B.createElement("title", { id: t }, e) : null, /* @__PURE__ */ B.createElement("path", { d: "M9 16h6c.283 0 .52-.096.713-.287A.968.968 0 0 0 16 15V9a.967.967 0 0 0-.287-.713A.968.968 0 0 0 15 8H9a.968.968 0 0 0-.713.287A.968.968 0 0 0 8 9v6c0 .283.096.52.287.713.192.191.43.287.713.287Zm3 6a9.738 9.738 0 0 1-3.9-.788 10.099 10.099 0 0 1-3.175-2.137c-.9-.9-1.612-1.958-2.137-3.175A9.738 9.738 0 0 1 2 12c0-1.383.263-2.683.788-3.9a10.099 10.099 0 0 1 2.137-3.175c.9-.9 1.958-1.612 3.175-2.137A9.738 9.738 0 0 1 12 2c1.383 0 2.683.263 3.9.788a10.098 10.098 0 0 1 3.175 2.137c.9.9 1.613 1.958 2.137 3.175A9.738 9.738 0 0 1 22 12a9.738 9.738 0 0 1-.788 3.9 10.098 10.098 0 0 1-2.137 3.175c-.9.9-1.958 1.613-3.175 2.137A9.738 9.738 0 0 1 12 22Zm0-2c2.233 0 4.125-.775 5.675-2.325C19.225 16.125 20 14.233 20 12c0-2.233-.775-4.125-2.325-5.675C16.125 4.775 14.233 4 12 4c-2.233 0-4.125.775-5.675 2.325C4.775 7.875 4 9.767 4 12c0 2.233.775 4.125 2.325 5.675C7.875 19.225 9.767 20 12 20Z" })), i$ = et(s$), l$ = Te(
|
|
33462
33482
|
({
|
|
33463
33483
|
safetyState: e,
|
|
33464
33484
|
anchorOrigin: t,
|
|
@@ -33476,7 +33496,7 @@ const Dj = ({
|
|
|
33476
33496
|
title: a("SafetyBar.SafetyState.ti"),
|
|
33477
33497
|
name: a("SafetyBar.SafetyState.Normal.lb"),
|
|
33478
33498
|
label: n ? null : a("SafetyBar.SafetyState.Normal.lb"),
|
|
33479
|
-
icon:
|
|
33499
|
+
icon: o$,
|
|
33480
33500
|
color: o.palette.text.secondary,
|
|
33481
33501
|
explanation: /* @__PURE__ */ g.jsx(Ut, { i18nKey: "SafetyBar.SafetyState.Normal.Explanation.lb", children: "The robot controller is in a normal safety state. Movement is not prevented by this state." }),
|
|
33482
33502
|
anchorOrigin: t,
|
|
@@ -33493,7 +33513,7 @@ const Dj = ({
|
|
|
33493
33513
|
title: a("SafetyBar.SafetyState.ti"),
|
|
33494
33514
|
name: a("SafetyBar.SafetyState.Estop.lb"),
|
|
33495
33515
|
label: n ? null : a("SafetyBar.SafetyState.Estop.lb"),
|
|
33496
|
-
icon:
|
|
33516
|
+
icon: t$,
|
|
33497
33517
|
color: o.palette.error.main,
|
|
33498
33518
|
explanation: /* @__PURE__ */ g.jsx(Ut, { i18nKey: "SafetyBar.StopState.Estop.Explanation.lb", children: "An emergency stop of the robot controller has been triggered. Movement of the robot is no longer possible until the estop is released." }),
|
|
33499
33519
|
literalValue: e,
|
|
@@ -33511,7 +33531,7 @@ const Dj = ({
|
|
|
33511
33531
|
Ft,
|
|
33512
33532
|
{
|
|
33513
33533
|
id: "safety-state-stop",
|
|
33514
|
-
icon:
|
|
33534
|
+
icon: i$,
|
|
33515
33535
|
title: a("SafetyBar.SafetyState.ti"),
|
|
33516
33536
|
name: a("SafetyBar.SafetyState.Stop.lb"),
|
|
33517
33537
|
label: n ? null : a("SafetyBar.SafetyState.Stop.lb"),
|
|
@@ -33533,7 +33553,7 @@ const Dj = ({
|
|
|
33533
33553
|
Ft,
|
|
33534
33554
|
{
|
|
33535
33555
|
id: "safety-state-manual-action-required",
|
|
33536
|
-
icon:
|
|
33556
|
+
icon: n$,
|
|
33537
33557
|
color: o.palette.warning.main,
|
|
33538
33558
|
title: a("SafetyBar.SafetyState.ti"),
|
|
33539
33559
|
name: a("SafetyBar.SafetyState.ManualActionRequired.lb"),
|
|
@@ -33551,7 +33571,7 @@ const Dj = ({
|
|
|
33551
33571
|
Ft,
|
|
33552
33572
|
{
|
|
33553
33573
|
id: "safety-state-error",
|
|
33554
|
-
icon:
|
|
33574
|
+
icon: Zj,
|
|
33555
33575
|
color: o.palette.error.main,
|
|
33556
33576
|
title: a("SafetyBar.SafetyState.ti"),
|
|
33557
33577
|
name: a("SafetyBar.SafetyState.Error.lb"),
|
|
@@ -33566,7 +33586,7 @@ const Dj = ({
|
|
|
33566
33586
|
dV(e, `Unknown safety state ${e}`);
|
|
33567
33587
|
}
|
|
33568
33588
|
}
|
|
33569
|
-
),
|
|
33589
|
+
), mk = tt(
|
|
33570
33590
|
Te(
|
|
33571
33591
|
({
|
|
33572
33592
|
isVirtual: e,
|
|
@@ -33587,7 +33607,7 @@ const Dj = ({
|
|
|
33587
33607
|
sx: { height: "24px" },
|
|
33588
33608
|
children: [
|
|
33589
33609
|
/* @__PURE__ */ g.jsx(
|
|
33590
|
-
|
|
33610
|
+
l$,
|
|
33591
33611
|
{
|
|
33592
33612
|
safetyState: n,
|
|
33593
33613
|
anchorOrigin: a,
|
|
@@ -33597,7 +33617,7 @@ const Dj = ({
|
|
|
33597
33617
|
),
|
|
33598
33618
|
/* @__PURE__ */ g.jsx(Nt, { orientation: "vertical", flexItem: !0 }),
|
|
33599
33619
|
/* @__PURE__ */ g.jsx(
|
|
33600
|
-
|
|
33620
|
+
Qj,
|
|
33601
33621
|
{
|
|
33602
33622
|
operationMode: r,
|
|
33603
33623
|
anchorOrigin: a,
|
|
@@ -33607,7 +33627,7 @@ const Dj = ({
|
|
|
33607
33627
|
),
|
|
33608
33628
|
/* @__PURE__ */ g.jsx(Nt, { orientation: "vertical", flexItem: !0 }),
|
|
33609
33629
|
/* @__PURE__ */ g.jsx(
|
|
33610
|
-
|
|
33630
|
+
Gj,
|
|
33611
33631
|
{
|
|
33612
33632
|
isVirtual: e,
|
|
33613
33633
|
motionGroupId: t,
|
|
@@ -33621,7 +33641,7 @@ const Dj = ({
|
|
|
33621
33641
|
);
|
|
33622
33642
|
}
|
|
33623
33643
|
)
|
|
33624
|
-
),
|
|
33644
|
+
), c$ = kl(Kg, {
|
|
33625
33645
|
shouldForwardProp: (e) => e !== "selected"
|
|
33626
33646
|
})(({ theme: e }) => {
|
|
33627
33647
|
var t, r, n;
|
|
@@ -33651,10 +33671,10 @@ const Dj = ({
|
|
|
33651
33671
|
}
|
|
33652
33672
|
]
|
|
33653
33673
|
};
|
|
33654
|
-
}),
|
|
33674
|
+
}), fk = (e) => {
|
|
33655
33675
|
const { ref: t, ...r } = e;
|
|
33656
33676
|
return /* @__PURE__ */ g.jsx(
|
|
33657
|
-
|
|
33677
|
+
c$,
|
|
33658
33678
|
{
|
|
33659
33679
|
ref: t,
|
|
33660
33680
|
selected: e.selected,
|
|
@@ -33664,7 +33684,7 @@ const Dj = ({
|
|
|
33664
33684
|
}
|
|
33665
33685
|
);
|
|
33666
33686
|
};
|
|
33667
|
-
function
|
|
33687
|
+
function u$(e) {
|
|
33668
33688
|
const { children: t, value: r, index: n, ...a } = e;
|
|
33669
33689
|
return /* @__PURE__ */ g.jsx(
|
|
33670
33690
|
"div",
|
|
@@ -33678,7 +33698,7 @@ function l$(e) {
|
|
|
33678
33698
|
}
|
|
33679
33699
|
);
|
|
33680
33700
|
}
|
|
33681
|
-
const
|
|
33701
|
+
const gk = tt(
|
|
33682
33702
|
Te((e) => {
|
|
33683
33703
|
const { items: t, defaultActiveTab: r = 0, onTabChange: n, sx: a, ref: o } = e, [s, i] = Fe(r), l = (c, u) => {
|
|
33684
33704
|
i(u), n == null || n(u);
|
|
@@ -33749,12 +33769,12 @@ const mk = tt(
|
|
|
33749
33769
|
}
|
|
33750
33770
|
) }),
|
|
33751
33771
|
/* @__PURE__ */ g.jsx(ne, { sx: { mt: "32px", borderBottom: 1, borderColor: "divider" } }),
|
|
33752
|
-
/* @__PURE__ */ g.jsx(ne, { sx: { flex: 1, overflow: "auto" }, children: t.map((c, u) => /* @__PURE__ */ g.jsx(
|
|
33772
|
+
/* @__PURE__ */ g.jsx(ne, { sx: { flex: 1, overflow: "auto" }, children: t.map((c, u) => /* @__PURE__ */ g.jsx(u$, { value: s, index: u, children: c.content }, c.id)) })
|
|
33753
33773
|
]
|
|
33754
33774
|
}
|
|
33755
33775
|
);
|
|
33756
33776
|
})
|
|
33757
|
-
),
|
|
33777
|
+
), d$ = {
|
|
33758
33778
|
$schema: "https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json",
|
|
33759
33779
|
name: "wandelscript",
|
|
33760
33780
|
patterns: [
|
|
@@ -33813,9 +33833,9 @@ const mk = tt(
|
|
|
33813
33833
|
}
|
|
33814
33834
|
},
|
|
33815
33835
|
scopeName: "source.wandelscript"
|
|
33816
|
-
},
|
|
33836
|
+
}, h$ = Cg(() => import("@monaco-editor/react"));
|
|
33817
33837
|
let Xi = null;
|
|
33818
|
-
async function
|
|
33838
|
+
async function p$() {
|
|
33819
33839
|
if (!Xi) {
|
|
33820
33840
|
const [{ createHighlighter: e }, { shikiToMonaco: t }] = await Promise.all([
|
|
33821
33841
|
import("shiki"),
|
|
@@ -33825,7 +33845,7 @@ async function d$() {
|
|
|
33825
33845
|
shiki: await e({
|
|
33826
33846
|
// Our textmate grammar doesn't quite conform to the expected type
|
|
33827
33847
|
// here; I'm not sure what the missing properties mean exactly
|
|
33828
|
-
langs: [
|
|
33848
|
+
langs: [d$],
|
|
33829
33849
|
themes: ["dark-plus", "light-plus"]
|
|
33830
33850
|
}),
|
|
33831
33851
|
shikiToMonaco: t
|
|
@@ -33833,7 +33853,7 @@ async function d$() {
|
|
|
33833
33853
|
}
|
|
33834
33854
|
return Xi;
|
|
33835
33855
|
}
|
|
33836
|
-
const
|
|
33856
|
+
const yk = tt(
|
|
33837
33857
|
(e) => {
|
|
33838
33858
|
const t = De(), [r, n] = Fe("dark-plus"), a = t.palette.mode === "dark" ? "dark-plus" : "light-plus";
|
|
33839
33859
|
async function o(s) {
|
|
@@ -33855,7 +33875,7 @@ const fk = tt(
|
|
|
33855
33875
|
{ open: "(", close: ")" }
|
|
33856
33876
|
]
|
|
33857
33877
|
});
|
|
33858
|
-
const { shiki: i, shikiToMonaco: l } = await
|
|
33878
|
+
const { shiki: i, shikiToMonaco: l } = await p$();
|
|
33859
33879
|
l(i, s), s.editor.defineTheme(
|
|
33860
33880
|
a,
|
|
33861
33881
|
((u = (c = t.componentsExt) == null ? void 0 : c.WandelscriptEditor) == null ? void 0 : u.monacoTheme) ?? {
|
|
@@ -33867,7 +33887,7 @@ const fk = tt(
|
|
|
33867
33887
|
), e.monacoSetup && e.monacoSetup(s), n(a);
|
|
33868
33888
|
}
|
|
33869
33889
|
return /* @__PURE__ */ g.jsx(Xh, { fallback: /* @__PURE__ */ g.jsx(Nf, {}), children: /* @__PURE__ */ g.jsx(
|
|
33870
|
-
|
|
33890
|
+
h$,
|
|
33871
33891
|
{
|
|
33872
33892
|
value: e.code,
|
|
33873
33893
|
onMount: (s, i) => {
|
|
@@ -34246,63 +34266,63 @@ function bg() {
|
|
|
34246
34266
|
}
|
|
34247
34267
|
};
|
|
34248
34268
|
}
|
|
34249
|
-
function
|
|
34269
|
+
function m$() {
|
|
34250
34270
|
const e = bg();
|
|
34251
34271
|
return e.palette.mode = "light", e;
|
|
34252
34272
|
}
|
|
34253
|
-
function
|
|
34273
|
+
function bk(e) {
|
|
34254
34274
|
var n, a, o, s;
|
|
34255
34275
|
let t = !0;
|
|
34256
34276
|
((n = e.palette) == null ? void 0 : n.mode) === "light" ? t = !1 : ((a = e.palette) == null ? void 0 : a.mode) !== "dark" && (t = !(typeof window < "u" && ((s = (o = window.matchMedia) == null ? void 0 : o.call(window, "(prefers-color-scheme: light)")) == null ? void 0 : s.matches)));
|
|
34257
|
-
const r = t ? bg() :
|
|
34277
|
+
const r = t ? bg() : m$();
|
|
34258
34278
|
return Tp(r, e);
|
|
34259
34279
|
}
|
|
34260
34280
|
export {
|
|
34261
|
-
|
|
34281
|
+
U$ as AppHeader,
|
|
34262
34282
|
tP as CycleTimer,
|
|
34263
34283
|
Ed as JoggingCartesianAxisControl,
|
|
34264
34284
|
BP as JoggingJointRotationControl,
|
|
34265
|
-
|
|
34285
|
+
ek as JoggingPanel,
|
|
34266
34286
|
kc as JoggingStore,
|
|
34267
34287
|
Nf as LoadingCover,
|
|
34268
34288
|
pV as LoadingErrorMessage,
|
|
34269
|
-
|
|
34270
|
-
|
|
34271
|
-
|
|
34289
|
+
ik as LogPanel,
|
|
34290
|
+
xj as LogStore,
|
|
34291
|
+
vj as LogViewer,
|
|
34272
34292
|
Qh as MANUFACTURER_HOME_CONFIGS,
|
|
34273
|
-
|
|
34274
|
-
|
|
34275
|
-
|
|
34293
|
+
lk as NoMotionGroupModal,
|
|
34294
|
+
tk as PoseCartesianValues,
|
|
34295
|
+
rk as PoseJointValues,
|
|
34276
34296
|
Jc as PresetEnvironment,
|
|
34277
|
-
|
|
34297
|
+
ck as ProgramControl,
|
|
34278
34298
|
gn as ProgramState,
|
|
34279
34299
|
Yh as ProgramStateIndicator,
|
|
34280
|
-
|
|
34281
|
-
|
|
34282
|
-
|
|
34283
|
-
|
|
34300
|
+
jj as Robot,
|
|
34301
|
+
uk as RobotCard,
|
|
34302
|
+
dk as RobotListItem,
|
|
34303
|
+
Dj as RobotSetupReadinessIndicator,
|
|
34284
34304
|
yg as RobotSetupReadinessState,
|
|
34285
|
-
|
|
34286
|
-
|
|
34287
|
-
|
|
34288
|
-
|
|
34289
|
-
|
|
34290
|
-
|
|
34305
|
+
mk as SafetyBar,
|
|
34306
|
+
$$ as SafetyZonesRenderer,
|
|
34307
|
+
fk as SelectableFab,
|
|
34308
|
+
Mj as SupportedRobot,
|
|
34309
|
+
gk as TabBar,
|
|
34310
|
+
k$ as TrajectoryRenderer,
|
|
34291
34311
|
Jm as ValueInterpolator,
|
|
34292
34312
|
pj as VelocitySlider,
|
|
34293
34313
|
ug as VelocitySliderLabel,
|
|
34294
34314
|
lP as WandelbotsDataGrid,
|
|
34295
|
-
|
|
34296
|
-
|
|
34297
|
-
|
|
34298
|
-
|
|
34315
|
+
yk as WandelscriptEditor,
|
|
34316
|
+
nk as createDebugMessage,
|
|
34317
|
+
sk as createErrorMessage,
|
|
34318
|
+
ak as createInfoMessage,
|
|
34299
34319
|
oi as createLogMessage,
|
|
34300
|
-
|
|
34301
|
-
|
|
34302
|
-
|
|
34320
|
+
bk as createNovaMuiTheme,
|
|
34321
|
+
ok as createWarningMessage,
|
|
34322
|
+
hk as defaultAxisConfig,
|
|
34303
34323
|
pg as defaultGetModel,
|
|
34304
|
-
|
|
34305
|
-
|
|
34324
|
+
Lj as extractManufacturer,
|
|
34325
|
+
pk as getDefaultHomeConfig,
|
|
34306
34326
|
op as i18n,
|
|
34307
34327
|
Ga as useAnimationFrame,
|
|
34308
34328
|
pP as useAutorun,
|