@wandelbots/wandelbots-js-react-components 1.17.9 → 1.18.1
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/VelocitySlider.d.ts.map +1 -1
- package/dist/components/jogging/JoggingJointValues.d.ts.map +1 -1
- package/dist/i18n/config.d.ts.map +1 -1
- package/dist/index.cjs +20 -20
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +142 -140
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/components/VelocitySlider.tsx +1 -0
- package/src/components/jogging/JoggingJointTab.tsx +2 -2
- package/src/components/jogging/JoggingJointValues.tsx +4 -6
- package/src/components/jogging/JoggingVelocitySlider.tsx +1 -1
- package/src/i18n/config.ts +3 -0
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as $ from "react";
|
|
2
2
|
import ki, { useState as ea, useEffect as Gt, lazy as zu, useRef as kt, Suspense as Li, useCallback as Gu, forwardRef as Yt } from "react";
|
|
3
3
|
import { Stack as oe, CircularProgress as Wu, useTheme as wo, capitalize as Ku, Button as Kr, Typography as pt, IconButton as Zo, Slider as Hu, InputLabel as Jr, Chip as Xu, Select as Ia, MenuItem as yn, ToggleButtonGroup as $i, ToggleButton as Dn, Paper as qu, Tabs as Yu, Tab as Zu, Dialog as Qu, DialogTitle as ec, DialogContent as tc, DialogActions as rc } from "@mui/material";
|
|
4
|
-
import { I18nextProvider as nc, useTranslation as
|
|
4
|
+
import { I18nextProvider as nc, useTranslation as br } from "react-i18next";
|
|
5
5
|
import ac from "i18next-browser-languagedetector";
|
|
6
6
|
import { lowerFirst as oc, omit as sc, isString as ic } from "lodash-es";
|
|
7
7
|
import { animated as b, Globals as lc, useSpring as uc } from "@react-spring/three";
|
|
@@ -9,7 +9,7 @@ import { useGLTF as fe, Line as cc, Environment as dc, Lightformer as Jt } from
|
|
|
9
9
|
import * as Pe from "three";
|
|
10
10
|
import { Matrix4 as kr, Vector3 as Qo, Quaternion as hc } from "three";
|
|
11
11
|
import { useThree as mc } from "@react-three/fiber";
|
|
12
|
-
import { autorun as Ni, reaction as fc, makeAutoObservable as pc, runInAction as
|
|
12
|
+
import { autorun as Ni, reaction as fc, makeAutoObservable as pc, runInAction as fr } from "mobx";
|
|
13
13
|
import { ErrorBoundary as gc } from "react-error-boundary";
|
|
14
14
|
import { ConvexGeometry as yc } from "three-stdlib";
|
|
15
15
|
import { observer as et, useLocalObservable as jo } from "mobx-react-lite";
|
|
@@ -311,7 +311,7 @@ function Pc() {
|
|
|
311
311
|
} finally {
|
|
312
312
|
lt = !1, it.current = ee, At(), Error.prepareStackTrace = D;
|
|
313
313
|
}
|
|
314
|
-
var
|
|
314
|
+
var or = p ? p.displayName || p.name : "", Ut = or ? De(or) : "";
|
|
315
315
|
return typeof p == "function" && ut.set(p, Ut), Ut;
|
|
316
316
|
}
|
|
317
317
|
function Be(p, w, T) {
|
|
@@ -397,7 +397,7 @@ function Pc() {
|
|
|
397
397
|
function Pr(p) {
|
|
398
398
|
return "" + p;
|
|
399
399
|
}
|
|
400
|
-
function
|
|
400
|
+
function tr(p) {
|
|
401
401
|
if (Ar(p))
|
|
402
402
|
return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Cr(p)), Pr(p);
|
|
403
403
|
}
|
|
@@ -484,7 +484,7 @@ function Pc() {
|
|
|
484
484
|
function Mt(p, w, T, L, D) {
|
|
485
485
|
{
|
|
486
486
|
var ee, J = {}, B = null, Me = null;
|
|
487
|
-
T !== void 0 && (
|
|
487
|
+
T !== void 0 && (tr(T), B = "" + T), W(w) && (tr(w.key), B = "" + w.key), q(w) && (Me = w.ref, Ue(w, D));
|
|
488
488
|
for (ee in w)
|
|
489
489
|
de.call(w, ee) && !M.hasOwnProperty(ee) && (J[ee] = w[ee]);
|
|
490
490
|
if (p && p.defaultProps) {
|
|
@@ -499,7 +499,7 @@ function Pc() {
|
|
|
499
499
|
return ke(p, B, Me, D, L, nt.current, J);
|
|
500
500
|
}
|
|
501
501
|
}
|
|
502
|
-
var
|
|
502
|
+
var rr = S.ReactCurrentOwner, Or = S.ReactDebugCurrentFrame;
|
|
503
503
|
function bt(p) {
|
|
504
504
|
if (p) {
|
|
505
505
|
var w = p._owner, T = Z(p.type, p._source, w ? w.type : null);
|
|
@@ -514,8 +514,8 @@ function Pc() {
|
|
|
514
514
|
}
|
|
515
515
|
function Mr() {
|
|
516
516
|
{
|
|
517
|
-
if (
|
|
518
|
-
var p = V(
|
|
517
|
+
if (rr.current) {
|
|
518
|
+
var p = V(rr.current.type);
|
|
519
519
|
if (p)
|
|
520
520
|
return `
|
|
521
521
|
|
|
@@ -540,7 +540,7 @@ Check the top-level render call using <` + T + ">.");
|
|
|
540
540
|
return w;
|
|
541
541
|
}
|
|
542
542
|
}
|
|
543
|
-
function
|
|
543
|
+
function nr(p, w) {
|
|
544
544
|
{
|
|
545
545
|
if (!p._store || p._store.validated || p.key != null)
|
|
546
546
|
return;
|
|
@@ -550,17 +550,17 @@ Check the top-level render call using <` + T + ">.");
|
|
|
550
550
|
return;
|
|
551
551
|
fn[T] = !0;
|
|
552
552
|
var L = "";
|
|
553
|
-
p && p._owner && p._owner !==
|
|
553
|
+
p && p._owner && p._owner !== rr.current && (L = " It was passed a child from " + V(p._owner.type) + "."), bt(p), j('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', T, L), bt(null);
|
|
554
554
|
}
|
|
555
555
|
}
|
|
556
|
-
function
|
|
556
|
+
function ar(p, w) {
|
|
557
557
|
{
|
|
558
558
|
if (typeof p != "object")
|
|
559
559
|
return;
|
|
560
560
|
if (Ft(p))
|
|
561
561
|
for (var T = 0; T < p.length; T++) {
|
|
562
562
|
var L = p[T];
|
|
563
|
-
Bt(L) &&
|
|
563
|
+
Bt(L) && nr(L, w);
|
|
564
564
|
}
|
|
565
565
|
else if (Bt(p))
|
|
566
566
|
p._store && (p._store.validated = !0);
|
|
@@ -568,7 +568,7 @@ Check the top-level render call using <` + T + ">.");
|
|
|
568
568
|
var D = g(p);
|
|
569
569
|
if (typeof D == "function" && D !== p.entries)
|
|
570
570
|
for (var ee = D.call(p), J; !(J = ee.next()).done; )
|
|
571
|
-
Bt(J.value) &&
|
|
571
|
+
Bt(J.value) && nr(J.value, w);
|
|
572
572
|
}
|
|
573
573
|
}
|
|
574
574
|
}
|
|
@@ -629,13 +629,13 @@ Check the top-level render call using <` + T + ">.");
|
|
|
629
629
|
if (He !== void 0)
|
|
630
630
|
if (L)
|
|
631
631
|
if (Ft(He)) {
|
|
632
|
-
for (var
|
|
633
|
-
|
|
632
|
+
for (var or = 0; or < He.length; or++)
|
|
633
|
+
ar(He[or], p);
|
|
634
634
|
Object.freeze && Object.freeze(He);
|
|
635
635
|
} else
|
|
636
636
|
j("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
637
637
|
else
|
|
638
|
-
|
|
638
|
+
ar(He, p);
|
|
639
639
|
}
|
|
640
640
|
if (de.call(w, "key")) {
|
|
641
641
|
var Ut = V(p), Le = Object.keys(w).filter(function(Vu) {
|
|
@@ -872,7 +872,7 @@ const Nr = () => {
|
|
|
872
872
|
for (const r in t)
|
|
873
873
|
r !== "__proto__" && r !== "constructor" && (r in e ? typeof e[r] == "string" || e[r] instanceof String || typeof t[r] == "string" || t[r] instanceof String ? n && (e[r] = t[r]) : Di(e[r], t[r], n) : e[r] = t[r]);
|
|
874
874
|
return e;
|
|
875
|
-
},
|
|
875
|
+
}, sr = (e) => e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
|
|
876
876
|
var Lc = {
|
|
877
877
|
"&": "&",
|
|
878
878
|
"<": "<",
|
|
@@ -1536,7 +1536,7 @@ class Kc {
|
|
|
1536
1536
|
maxReplaces: S,
|
|
1537
1537
|
alwaysFormat: j
|
|
1538
1538
|
} = t.interpolation;
|
|
1539
|
-
this.escape = n !== void 0 ? n : $c, this.escapeValue = r !== void 0 ? r : !0, this.useRawValueToEscape = a !== void 0 ? a : !1, this.prefix = s ?
|
|
1539
|
+
this.escape = n !== void 0 ? n : $c, this.escapeValue = r !== void 0 ? r : !0, this.useRawValueToEscape = a !== void 0 ? a : !1, this.prefix = s ? sr(s) : i || "{{", this.suffix = l ? sr(l) : u || "}}", this.formatSeparator = c || ",", this.unescapePrefix = d ? "" : m || "-", this.unescapeSuffix = this.unescapePrefix ? "" : d || "", this.nestingPrefix = h ? sr(h) : v || sr("$t("), this.nestingSuffix = _ ? sr(_) : y || sr(")"), this.nestingOptionsSeparator = g || ",", this.maxReplaces = S || 1e3, this.alwaysFormat = j !== void 0 ? j : !1, this.resetRegExp();
|
|
1540
1540
|
}
|
|
1541
1541
|
reset() {
|
|
1542
1542
|
this.options && this.init(this.options);
|
|
@@ -1649,7 +1649,7 @@ const Hc = (e) => {
|
|
|
1649
1649
|
formatName: t,
|
|
1650
1650
|
formatOptions: n
|
|
1651
1651
|
};
|
|
1652
|
-
},
|
|
1652
|
+
}, ir = (e) => {
|
|
1653
1653
|
const t = {};
|
|
1654
1654
|
return (n, r, a) => {
|
|
1655
1655
|
let s = a;
|
|
@@ -1668,32 +1668,32 @@ class Xc {
|
|
|
1668
1668
|
constructor() {
|
|
1669
1669
|
let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
1670
1670
|
this.logger = ht.create("formatter"), this.options = t, this.formats = {
|
|
1671
|
-
number:
|
|
1671
|
+
number: ir((n, r) => {
|
|
1672
1672
|
const a = new Intl.NumberFormat(n, {
|
|
1673
1673
|
...r
|
|
1674
1674
|
});
|
|
1675
1675
|
return (s) => a.format(s);
|
|
1676
1676
|
}),
|
|
1677
|
-
currency:
|
|
1677
|
+
currency: ir((n, r) => {
|
|
1678
1678
|
const a = new Intl.NumberFormat(n, {
|
|
1679
1679
|
...r,
|
|
1680
1680
|
style: "currency"
|
|
1681
1681
|
});
|
|
1682
1682
|
return (s) => a.format(s);
|
|
1683
1683
|
}),
|
|
1684
|
-
datetime:
|
|
1684
|
+
datetime: ir((n, r) => {
|
|
1685
1685
|
const a = new Intl.DateTimeFormat(n, {
|
|
1686
1686
|
...r
|
|
1687
1687
|
});
|
|
1688
1688
|
return (s) => a.format(s);
|
|
1689
1689
|
}),
|
|
1690
|
-
relativetime:
|
|
1690
|
+
relativetime: ir((n, r) => {
|
|
1691
1691
|
const a = new Intl.RelativeTimeFormat(n, {
|
|
1692
1692
|
...r
|
|
1693
1693
|
});
|
|
1694
1694
|
return (s) => a.format(s, r.range || "day");
|
|
1695
1695
|
}),
|
|
1696
|
-
list:
|
|
1696
|
+
list: ir((n, r) => {
|
|
1697
1697
|
const a = new Intl.ListFormat(n, {
|
|
1698
1698
|
...r
|
|
1699
1699
|
});
|
|
@@ -1711,7 +1711,7 @@ class Xc {
|
|
|
1711
1711
|
this.formats[t.toLowerCase().trim()] = n;
|
|
1712
1712
|
}
|
|
1713
1713
|
addCached(t, n) {
|
|
1714
|
-
this.formats[t.toLowerCase().trim()] =
|
|
1714
|
+
this.formats[t.toLowerCase().trim()] = ir(n);
|
|
1715
1715
|
}
|
|
1716
1716
|
format(t, n, r) {
|
|
1717
1717
|
let a = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
|
|
@@ -2240,7 +2240,10 @@ Ui.use(ac).init({
|
|
|
2240
2240
|
}
|
|
2241
2241
|
},
|
|
2242
2242
|
ns: ["translations"],
|
|
2243
|
-
defaultNS: "translations"
|
|
2243
|
+
defaultNS: "translations",
|
|
2244
|
+
detection: {
|
|
2245
|
+
order: ["navigator", "htmlTag"]
|
|
2246
|
+
}
|
|
2244
2247
|
});
|
|
2245
2248
|
function rn(e) {
|
|
2246
2249
|
return (n) => /* @__PURE__ */ o.jsx(td, { children: /* @__PURE__ */ o.jsx(e, { ...n }) });
|
|
@@ -9842,9 +9845,9 @@ function vn(e, t) {
|
|
|
9842
9845
|
function om(e, t) {
|
|
9843
9846
|
return e.map(t).join("");
|
|
9844
9847
|
}
|
|
9845
|
-
var la = 1,
|
|
9848
|
+
var la = 1, vr = 1, Ll = 0, Ne = 0, ve = 0, wr = "";
|
|
9846
9849
|
function ua(e, t, n, r, a, s, i) {
|
|
9847
|
-
return { value: e, root: t, parent: n, type: r, props: a, children: s, line: la, column:
|
|
9850
|
+
return { value: e, root: t, parent: n, type: r, props: a, children: s, line: la, column: vr, length: i, return: "" };
|
|
9848
9851
|
}
|
|
9849
9852
|
function Dr(e, t) {
|
|
9850
9853
|
return rm(ua("", null, null, "", null, null, 0), e, { length: -e.length }, t);
|
|
@@ -9853,10 +9856,10 @@ function sm() {
|
|
|
9853
9856
|
return ve;
|
|
9854
9857
|
}
|
|
9855
9858
|
function im() {
|
|
9856
|
-
return ve = Ne > 0 ? Re(wr, --Ne) : 0,
|
|
9859
|
+
return ve = Ne > 0 ? Re(wr, --Ne) : 0, vr--, ve === 10 && (vr = 1, la--), ve;
|
|
9857
9860
|
}
|
|
9858
9861
|
function ze() {
|
|
9859
|
-
return ve = Ne < Ll ? Re(wr, Ne++) : 0,
|
|
9862
|
+
return ve = Ne < Ll ? Re(wr, Ne++) : 0, vr++, ve === 10 && (vr = 1, la++), ve;
|
|
9860
9863
|
}
|
|
9861
9864
|
function mt() {
|
|
9862
9865
|
return Re(wr, Ne);
|
|
@@ -9900,7 +9903,7 @@ function Zr(e) {
|
|
|
9900
9903
|
return 0;
|
|
9901
9904
|
}
|
|
9902
9905
|
function $l(e) {
|
|
9903
|
-
return la =
|
|
9906
|
+
return la = vr = 1, Ll = ct(wr = e), Ne = 0, [];
|
|
9904
9907
|
}
|
|
9905
9908
|
function Nl(e) {
|
|
9906
9909
|
return wr = "", e;
|
|
@@ -10051,7 +10054,7 @@ function mm(e, t, n) {
|
|
|
10051
10054
|
function Is(e, t, n, r) {
|
|
10052
10055
|
return ua(e, t, n, To, Yr(e, 0, r), Yr(e, r + 1, -1), r);
|
|
10053
10056
|
}
|
|
10054
|
-
function
|
|
10057
|
+
function pr(e, t) {
|
|
10055
10058
|
for (var n = "", r = Eo(e), a = 0; a < r; a++)
|
|
10056
10059
|
n += t(e[a], a, e, t) || "";
|
|
10057
10060
|
return n;
|
|
@@ -10066,11 +10069,11 @@ function fm(e, t, n, r) {
|
|
|
10066
10069
|
case Tl:
|
|
10067
10070
|
return "";
|
|
10068
10071
|
case El:
|
|
10069
|
-
return e.return = e.value + "{" +
|
|
10072
|
+
return e.return = e.value + "{" + pr(e.children, r) + "}";
|
|
10070
10073
|
case Io:
|
|
10071
10074
|
e.value = e.props.join(",");
|
|
10072
10075
|
}
|
|
10073
|
-
return ct(n =
|
|
10076
|
+
return ct(n = pr(e.children, r)) ? e.return = e.value + "{" + n + "}" : "";
|
|
10074
10077
|
}
|
|
10075
10078
|
function pm(e) {
|
|
10076
10079
|
var t = Eo(e);
|
|
@@ -10249,7 +10252,7 @@ var Sm = function(t, n, r, a) {
|
|
|
10249
10252
|
t.return = Fl(t.value, t.length);
|
|
10250
10253
|
break;
|
|
10251
10254
|
case El:
|
|
10252
|
-
return
|
|
10255
|
+
return pr([Dr(t, {
|
|
10253
10256
|
value: re(t.value, "@", "@" + te)
|
|
10254
10257
|
})], a);
|
|
10255
10258
|
case Io:
|
|
@@ -10257,11 +10260,11 @@ var Sm = function(t, n, r, a) {
|
|
|
10257
10260
|
switch (am(s, /(::plac\w+|:read-\w+)/)) {
|
|
10258
10261
|
case ":read-only":
|
|
10259
10262
|
case ":read-write":
|
|
10260
|
-
return
|
|
10263
|
+
return pr([Dr(t, {
|
|
10261
10264
|
props: [re(s, /:(read-\w+)/, ":" + Wn + "$1")]
|
|
10262
10265
|
})], a);
|
|
10263
10266
|
case "::placeholder":
|
|
10264
|
-
return
|
|
10267
|
+
return pr([Dr(t, {
|
|
10265
10268
|
props: [re(s, /:(plac\w+)/, ":" + te + "input-$1")]
|
|
10266
10269
|
}), Dr(t, {
|
|
10267
10270
|
props: [re(s, /:(plac\w+)/, ":" + Wn + "$1")]
|
|
@@ -10297,7 +10300,7 @@ var Sm = function(t, n, r, a) {
|
|
|
10297
10300
|
var d, m = [fm, gm(function(y) {
|
|
10298
10301
|
d.insert(y);
|
|
10299
10302
|
})], h = pm(c.concat(a, m)), v = function(g) {
|
|
10300
|
-
return
|
|
10303
|
+
return pr(hm(g), h);
|
|
10301
10304
|
};
|
|
10302
10305
|
u = function(g, S, j, C) {
|
|
10303
10306
|
d = j, v(g ? g + "{" + S.styles + "}" : S.styles), C && (_.inserted[S.name] = !0);
|
|
@@ -10790,22 +10793,22 @@ const ef = ge({
|
|
|
10790
10793
|
prop: "gridArea"
|
|
10791
10794
|
});
|
|
10792
10795
|
ma(pa, ga, ya, ef, tf, rf, nf, af, of, sf, lf, uf);
|
|
10793
|
-
function
|
|
10796
|
+
function gr(e, t) {
|
|
10794
10797
|
return t === "grey" ? t : e;
|
|
10795
10798
|
}
|
|
10796
10799
|
const cf = ge({
|
|
10797
10800
|
prop: "color",
|
|
10798
10801
|
themeKey: "palette",
|
|
10799
|
-
transform:
|
|
10802
|
+
transform: gr
|
|
10800
10803
|
}), df = ge({
|
|
10801
10804
|
prop: "bgcolor",
|
|
10802
10805
|
cssProperty: "backgroundColor",
|
|
10803
10806
|
themeKey: "palette",
|
|
10804
|
-
transform:
|
|
10807
|
+
transform: gr
|
|
10805
10808
|
}), hf = ge({
|
|
10806
10809
|
prop: "backgroundColor",
|
|
10807
10810
|
themeKey: "palette",
|
|
10808
|
-
transform:
|
|
10811
|
+
transform: gr
|
|
10809
10812
|
});
|
|
10810
10813
|
ma(cf, df, hf);
|
|
10811
10814
|
function Je(e) {
|
|
@@ -10910,16 +10913,16 @@ const un = {
|
|
|
10910
10913
|
// palette
|
|
10911
10914
|
color: {
|
|
10912
10915
|
themeKey: "palette",
|
|
10913
|
-
transform:
|
|
10916
|
+
transform: gr
|
|
10914
10917
|
},
|
|
10915
10918
|
bgcolor: {
|
|
10916
10919
|
themeKey: "palette",
|
|
10917
10920
|
cssProperty: "backgroundColor",
|
|
10918
|
-
transform:
|
|
10921
|
+
transform: gr
|
|
10919
10922
|
},
|
|
10920
10923
|
backgroundColor: {
|
|
10921
10924
|
themeKey: "palette",
|
|
10922
|
-
transform:
|
|
10925
|
+
transform: gr
|
|
10923
10926
|
},
|
|
10924
10927
|
// spacing
|
|
10925
10928
|
p: {
|
|
@@ -11743,12 +11746,12 @@ function Wf({
|
|
|
11743
11746
|
});
|
|
11744
11747
|
}
|
|
11745
11748
|
const No = typeof window < "u" ? $.useLayoutEffect : $.useEffect;
|
|
11746
|
-
function
|
|
11749
|
+
function mr(e, t = Number.MIN_SAFE_INTEGER, n = Number.MAX_SAFE_INTEGER) {
|
|
11747
11750
|
return Math.max(t, Math.min(e, n));
|
|
11748
11751
|
}
|
|
11749
11752
|
const Kf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
11750
11753
|
__proto__: null,
|
|
11751
|
-
default:
|
|
11754
|
+
default: mr
|
|
11752
11755
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
11753
11756
|
function Us(e, t) {
|
|
11754
11757
|
return process.env.NODE_ENV === "production" ? () => null : function(...r) {
|
|
@@ -11788,11 +11791,11 @@ function Yf(e, t) {
|
|
|
11788
11791
|
(n = e.type.muiName) != null ? n : (r = e.type) == null || (r = r._payload) == null || (r = r.value) == null ? void 0 : r.muiName
|
|
11789
11792
|
) !== -1;
|
|
11790
11793
|
}
|
|
11791
|
-
function
|
|
11794
|
+
function yr(e) {
|
|
11792
11795
|
return e && e.ownerDocument || document;
|
|
11793
11796
|
}
|
|
11794
11797
|
function Zf(e) {
|
|
11795
|
-
return
|
|
11798
|
+
return yr(e).defaultView || window;
|
|
11796
11799
|
}
|
|
11797
11800
|
function Qf(e, t) {
|
|
11798
11801
|
if (process.env.NODE_ENV === "production")
|
|
@@ -12596,7 +12599,7 @@ const Qr = {
|
|
|
12596
12599
|
A200: "#eeeeee",
|
|
12597
12600
|
A400: "#bdbdbd",
|
|
12598
12601
|
A700: "#616161"
|
|
12599
|
-
},
|
|
12602
|
+
}, lr = {
|
|
12600
12603
|
50: "#f3e5f5",
|
|
12601
12604
|
100: "#e1bee7",
|
|
12602
12605
|
200: "#ce93d8",
|
|
@@ -12611,7 +12614,7 @@ const Qr = {
|
|
|
12611
12614
|
A200: "#e040fb",
|
|
12612
12615
|
A400: "#d500f9",
|
|
12613
12616
|
A700: "#aa00ff"
|
|
12614
|
-
},
|
|
12617
|
+
}, ur = {
|
|
12615
12618
|
50: "#ffebee",
|
|
12616
12619
|
100: "#ffcdd2",
|
|
12617
12620
|
200: "#ef9a9a",
|
|
@@ -12641,7 +12644,7 @@ const Qr = {
|
|
|
12641
12644
|
A200: "#ffab40",
|
|
12642
12645
|
A400: "#ff9100",
|
|
12643
12646
|
A700: "#ff6d00"
|
|
12644
|
-
},
|
|
12647
|
+
}, cr = {
|
|
12645
12648
|
50: "#e3f2fd",
|
|
12646
12649
|
100: "#bbdefb",
|
|
12647
12650
|
200: "#90caf9",
|
|
@@ -12656,7 +12659,7 @@ const Qr = {
|
|
|
12656
12659
|
A200: "#448aff",
|
|
12657
12660
|
A400: "#2979ff",
|
|
12658
12661
|
A700: "#2962ff"
|
|
12659
|
-
},
|
|
12662
|
+
}, dr = {
|
|
12660
12663
|
50: "#e1f5fe",
|
|
12661
12664
|
100: "#b3e5fc",
|
|
12662
12665
|
200: "#81d4fa",
|
|
@@ -12671,7 +12674,7 @@ const Qr = {
|
|
|
12671
12674
|
A200: "#40c4ff",
|
|
12672
12675
|
A400: "#00b0ff",
|
|
12673
12676
|
A700: "#0091ea"
|
|
12674
|
-
},
|
|
12677
|
+
}, hr = {
|
|
12675
12678
|
50: "#e8f5e9",
|
|
12676
12679
|
100: "#c8e6c9",
|
|
12677
12680
|
200: "#a5d6a7",
|
|
@@ -12755,59 +12758,59 @@ function Qs(e, t, n, r) {
|
|
|
12755
12758
|
}
|
|
12756
12759
|
function hp(e = "light") {
|
|
12757
12760
|
return e === "dark" ? {
|
|
12758
|
-
main:
|
|
12759
|
-
light:
|
|
12760
|
-
dark:
|
|
12761
|
+
main: cr[200],
|
|
12762
|
+
light: cr[50],
|
|
12763
|
+
dark: cr[400]
|
|
12761
12764
|
} : {
|
|
12762
|
-
main:
|
|
12763
|
-
light:
|
|
12764
|
-
dark:
|
|
12765
|
+
main: cr[700],
|
|
12766
|
+
light: cr[400],
|
|
12767
|
+
dark: cr[800]
|
|
12765
12768
|
};
|
|
12766
12769
|
}
|
|
12767
12770
|
function mp(e = "light") {
|
|
12768
12771
|
return e === "dark" ? {
|
|
12769
|
-
main:
|
|
12770
|
-
light:
|
|
12771
|
-
dark:
|
|
12772
|
+
main: lr[200],
|
|
12773
|
+
light: lr[50],
|
|
12774
|
+
dark: lr[400]
|
|
12772
12775
|
} : {
|
|
12776
|
+
main: lr[500],
|
|
12777
|
+
light: lr[300],
|
|
12778
|
+
dark: lr[700]
|
|
12779
|
+
};
|
|
12780
|
+
}
|
|
12781
|
+
function fp(e = "light") {
|
|
12782
|
+
return e === "dark" ? {
|
|
12773
12783
|
main: ur[500],
|
|
12774
12784
|
light: ur[300],
|
|
12775
12785
|
dark: ur[700]
|
|
12786
|
+
} : {
|
|
12787
|
+
main: ur[700],
|
|
12788
|
+
light: ur[400],
|
|
12789
|
+
dark: ur[800]
|
|
12776
12790
|
};
|
|
12777
12791
|
}
|
|
12778
|
-
function
|
|
12792
|
+
function pp(e = "light") {
|
|
12779
12793
|
return e === "dark" ? {
|
|
12780
|
-
main:
|
|
12781
|
-
light:
|
|
12782
|
-
dark:
|
|
12794
|
+
main: dr[400],
|
|
12795
|
+
light: dr[300],
|
|
12796
|
+
dark: dr[700]
|
|
12783
12797
|
} : {
|
|
12784
|
-
main:
|
|
12785
|
-
light:
|
|
12786
|
-
dark:
|
|
12798
|
+
main: dr[700],
|
|
12799
|
+
light: dr[500],
|
|
12800
|
+
dark: dr[900]
|
|
12787
12801
|
};
|
|
12788
12802
|
}
|
|
12789
|
-
function
|
|
12803
|
+
function gp(e = "light") {
|
|
12790
12804
|
return e === "dark" ? {
|
|
12791
12805
|
main: hr[400],
|
|
12792
12806
|
light: hr[300],
|
|
12793
12807
|
dark: hr[700]
|
|
12794
12808
|
} : {
|
|
12795
|
-
main: hr[
|
|
12809
|
+
main: hr[800],
|
|
12796
12810
|
light: hr[500],
|
|
12797
12811
|
dark: hr[900]
|
|
12798
12812
|
};
|
|
12799
12813
|
}
|
|
12800
|
-
function gp(e = "light") {
|
|
12801
|
-
return e === "dark" ? {
|
|
12802
|
-
main: mr[400],
|
|
12803
|
-
light: mr[300],
|
|
12804
|
-
dark: mr[700]
|
|
12805
|
-
} : {
|
|
12806
|
-
main: mr[800],
|
|
12807
|
-
light: mr[500],
|
|
12808
|
-
dark: mr[900]
|
|
12809
|
-
};
|
|
12810
|
-
}
|
|
12811
12814
|
function yp(e = "light") {
|
|
12812
12815
|
return e === "dark" ? {
|
|
12813
12816
|
main: Br[400],
|
|
@@ -13120,7 +13123,7 @@ process.env.NODE_ENV !== "production" && (f.node, f.object.isRequired);
|
|
|
13120
13123
|
function zo(e) {
|
|
13121
13124
|
return v0(e);
|
|
13122
13125
|
}
|
|
13123
|
-
const
|
|
13126
|
+
const _r = A0({
|
|
13124
13127
|
createStyledComponent: jt("div", {
|
|
13125
13128
|
name: "MuiStack",
|
|
13126
13129
|
slot: "Root",
|
|
@@ -13131,7 +13134,7 @@ const vr = A0({
|
|
|
13131
13134
|
name: "MuiStack"
|
|
13132
13135
|
})
|
|
13133
13136
|
});
|
|
13134
|
-
process.env.NODE_ENV !== "production" && (
|
|
13137
|
+
process.env.NODE_ENV !== "production" && (_r.propTypes = {
|
|
13135
13138
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
13136
13139
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
13137
13140
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
@@ -13198,7 +13201,7 @@ const ni = rn(
|
|
|
13198
13201
|
function c(d) {
|
|
13199
13202
|
d.button === 0 && r("+");
|
|
13200
13203
|
}
|
|
13201
|
-
return /* @__PURE__ */ o.jsxs(
|
|
13204
|
+
return /* @__PURE__ */ o.jsxs(_r, { height: "72px", direction: "row", ...i, children: [
|
|
13202
13205
|
/* @__PURE__ */ o.jsx(
|
|
13203
13206
|
Kr,
|
|
13204
13207
|
{
|
|
@@ -13222,7 +13225,7 @@ const ni = rn(
|
|
|
13222
13225
|
}
|
|
13223
13226
|
),
|
|
13224
13227
|
/* @__PURE__ */ o.jsxs(
|
|
13225
|
-
|
|
13228
|
+
_r,
|
|
13226
13229
|
{
|
|
13227
13230
|
spacing: "6px",
|
|
13228
13231
|
sx: {
|
|
@@ -13234,7 +13237,7 @@ const ni = rn(
|
|
|
13234
13237
|
},
|
|
13235
13238
|
children: [
|
|
13236
13239
|
/* @__PURE__ */ o.jsx(
|
|
13237
|
-
|
|
13240
|
+
_r,
|
|
13238
13241
|
{
|
|
13239
13242
|
height: "22px",
|
|
13240
13243
|
direction: "row",
|
|
@@ -13476,7 +13479,7 @@ const Up = {
|
|
|
13476
13479
|
debounce: Xf,
|
|
13477
13480
|
deprecatedPropType: qf,
|
|
13478
13481
|
isMuiElement: Yf,
|
|
13479
|
-
ownerDocument:
|
|
13482
|
+
ownerDocument: yr,
|
|
13480
13483
|
ownerWindow: Zf,
|
|
13481
13484
|
requirePropFactory: Qf,
|
|
13482
13485
|
setRef: nu,
|
|
@@ -13552,7 +13555,7 @@ function sg(e) {
|
|
|
13552
13555
|
return og.call(e);
|
|
13553
13556
|
}
|
|
13554
13557
|
var ig = "[object Null]", lg = "[object Undefined]", oi = Lt ? Lt.toStringTag : void 0;
|
|
13555
|
-
function
|
|
13558
|
+
function Zt(e) {
|
|
13556
13559
|
return e == null ? e === void 0 ? lg : ig : oi && oi in Object(e) ? ng(e) : sg(e);
|
|
13557
13560
|
}
|
|
13558
13561
|
function Xt(e) {
|
|
@@ -13560,7 +13563,7 @@ function Xt(e) {
|
|
|
13560
13563
|
}
|
|
13561
13564
|
var ug = "[object Symbol]";
|
|
13562
13565
|
function ba(e) {
|
|
13563
|
-
return typeof e == "symbol" || Xt(e) &&
|
|
13566
|
+
return typeof e == "symbol" || Xt(e) && Zt(e) == ug;
|
|
13564
13567
|
}
|
|
13565
13568
|
var si = NaN, cg = /^[-+]0x[0-9a-f]+$/i, dg = /^0b[01]+$/i, hg = /^0o[0-7]+$/i, mg = parseInt;
|
|
13566
13569
|
function ii(e) {
|
|
@@ -13648,7 +13651,7 @@ const bg = rn(
|
|
|
13648
13651
|
disabled: s,
|
|
13649
13652
|
...i
|
|
13650
13653
|
}) => {
|
|
13651
|
-
const { t: l } =
|
|
13654
|
+
const { t: l } = br(), [u, c] = ea(), d = jo(() => ({
|
|
13652
13655
|
activeJoggingDir: null,
|
|
13653
13656
|
startJogging(S) {
|
|
13654
13657
|
this.activeJoggingDir = S, e(S);
|
|
@@ -13680,7 +13683,7 @@ const bg = rn(
|
|
|
13680
13683
|
return S > 0 && j === 0 ? `+${C}` : C;
|
|
13681
13684
|
}
|
|
13682
13685
|
return /* @__PURE__ */ o.jsxs(
|
|
13683
|
-
|
|
13686
|
+
_r,
|
|
13684
13687
|
{
|
|
13685
13688
|
height: "64px",
|
|
13686
13689
|
width: "100%",
|
|
@@ -13719,7 +13722,7 @@ const bg = rn(
|
|
|
13719
13722
|
}
|
|
13720
13723
|
),
|
|
13721
13724
|
/* @__PURE__ */ o.jsxs(
|
|
13722
|
-
|
|
13725
|
+
_r,
|
|
13723
13726
|
{
|
|
13724
13727
|
flexGrow: 1,
|
|
13725
13728
|
alignItems: "center",
|
|
@@ -13847,7 +13850,7 @@ const bg = rn(
|
|
|
13847
13850
|
}
|
|
13848
13851
|
), vu = et(
|
|
13849
13852
|
({ store: e, children: t }) => {
|
|
13850
|
-
const { t: n } =
|
|
13853
|
+
const { t: n } = br();
|
|
13851
13854
|
function r() {
|
|
13852
13855
|
if (e.activationState === "inactive" && !e.activationError)
|
|
13853
13856
|
return /* @__PURE__ */ o.jsx(
|
|
@@ -13996,7 +13999,7 @@ var Ug = "[object AsyncFunction]", Jg = "[object Function]", Vg = "[object Gener
|
|
|
13996
13999
|
function Su(e) {
|
|
13997
14000
|
if (!Ht(e))
|
|
13998
14001
|
return !1;
|
|
13999
|
-
var t =
|
|
14002
|
+
var t = Zt(e);
|
|
14000
14003
|
return t == Jg || t == Vg || t == Ug || t == zg;
|
|
14001
14004
|
}
|
|
14002
14005
|
var Ka = yt["__core-js_shared__"], ui = function() {
|
|
@@ -14007,7 +14010,7 @@ function Gg(e) {
|
|
|
14007
14010
|
return !!ui && ui in e;
|
|
14008
14011
|
}
|
|
14009
14012
|
var Wg = Function.prototype, Kg = Wg.toString;
|
|
14010
|
-
function
|
|
14013
|
+
function Qt(e) {
|
|
14011
14014
|
if (e != null) {
|
|
14012
14015
|
try {
|
|
14013
14016
|
return Kg.call(e);
|
|
@@ -14027,16 +14030,16 @@ function ty(e) {
|
|
|
14027
14030
|
if (!Ht(e) || Gg(e))
|
|
14028
14031
|
return !1;
|
|
14029
14032
|
var t = Su(e) ? ey : Xg;
|
|
14030
|
-
return t.test(
|
|
14033
|
+
return t.test(Qt(e));
|
|
14031
14034
|
}
|
|
14032
14035
|
function ry(e, t) {
|
|
14033
14036
|
return e == null ? void 0 : e[t];
|
|
14034
14037
|
}
|
|
14035
|
-
function
|
|
14038
|
+
function er(e, t) {
|
|
14036
14039
|
var n = ry(e, t);
|
|
14037
14040
|
return ty(n) ? n : void 0;
|
|
14038
14041
|
}
|
|
14039
|
-
var en =
|
|
14042
|
+
var en = er(yt, "Map"), tn = er(Object, "create");
|
|
14040
14043
|
function ny() {
|
|
14041
14044
|
this.__data__ = tn ? tn(null) : {}, this.size = 0;
|
|
14042
14045
|
}
|
|
@@ -14274,7 +14277,7 @@ function Zy(e, t) {
|
|
|
14274
14277
|
}
|
|
14275
14278
|
var Qy = "[object Arguments]";
|
|
14276
14279
|
function mi(e) {
|
|
14277
|
-
return Xt(e) &&
|
|
14280
|
+
return Xt(e) && Zt(e) == Qy;
|
|
14278
14281
|
}
|
|
14279
14282
|
var ju = Object.prototype, e1 = ju.hasOwnProperty, t1 = ju.propertyIsEnumerable, Ru = mi(/* @__PURE__ */ function() {
|
|
14280
14283
|
return arguments;
|
|
@@ -14297,7 +14300,7 @@ var l1 = "[object Arguments]", u1 = "[object Array]", c1 = "[object Boolean]", d
|
|
|
14297
14300
|
ue[w1] = ue[j1] = ue[R1] = ue[C1] = ue[A1] = ue[P1] = ue[O1] = ue[M1] = ue[I1] = !0;
|
|
14298
14301
|
ue[l1] = ue[u1] = ue[x1] = ue[c1] = ue[S1] = ue[d1] = ue[h1] = ue[m1] = ue[f1] = ue[p1] = ue[g1] = ue[y1] = ue[_1] = ue[v1] = ue[b1] = !1;
|
|
14299
14302
|
function T1(e) {
|
|
14300
|
-
return Xt(e) && Ko(e.length) && !!ue[
|
|
14303
|
+
return Xt(e) && Ko(e.length) && !!ue[Zt(e)];
|
|
14301
14304
|
}
|
|
14302
14305
|
function E1(e) {
|
|
14303
14306
|
return function(t) {
|
|
@@ -14381,9 +14384,9 @@ function H1(e, t, n, r, a, s) {
|
|
|
14381
14384
|
}
|
|
14382
14385
|
return s.delete(e), s.delete(t), y;
|
|
14383
14386
|
}
|
|
14384
|
-
var _o =
|
|
14387
|
+
var _o = er(yt, "DataView"), vo = er(yt, "Promise"), bo = er(yt, "Set"), xo = er(yt, "WeakMap"), vi = "[object Map]", X1 = "[object Object]", bi = "[object Promise]", xi = "[object Set]", Si = "[object WeakMap]", wi = "[object DataView]", q1 = Qt(_o), Y1 = Qt(en), Z1 = Qt(vo), Q1 = Qt(bo), e_ = Qt(xo), Et = Zt;
|
|
14385
14388
|
(_o && Et(new _o(new ArrayBuffer(1))) != wi || en && Et(new en()) != vi || vo && Et(vo.resolve()) != bi || bo && Et(new bo()) != xi || xo && Et(new xo()) != Si) && (Et = function(e) {
|
|
14386
|
-
var t =
|
|
14389
|
+
var t = Zt(e), n = t == X1 ? e.constructor : void 0, r = n ? Qt(n) : "";
|
|
14387
14390
|
if (r)
|
|
14388
14391
|
switch (r) {
|
|
14389
14392
|
case q1:
|
|
@@ -14429,7 +14432,7 @@ function a_(e, t) {
|
|
|
14429
14432
|
const Iu = ({
|
|
14430
14433
|
store: e
|
|
14431
14434
|
}) => {
|
|
14432
|
-
const { t } =
|
|
14435
|
+
const { t } = br(), [n, r] = ea(
|
|
14433
14436
|
e.jogger.motionStream.rapidlyChangingMotionState.state.joint_limit_reached.limit_reached
|
|
14434
14437
|
), a = kt(n);
|
|
14435
14438
|
on(() => {
|
|
@@ -14463,7 +14466,7 @@ const Iu = ({
|
|
|
14463
14466
|
...n
|
|
14464
14467
|
}, r) => /* @__PURE__ */ $.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 15, height: 17, fill: "none", ref: r, "aria-labelledby": t, ...n }, e ? /* @__PURE__ */ $.createElement("title", { id: t }, e) : null, /* @__PURE__ */ $.createElement("path", { fill: "currentColor", d: "M12.9 7.667c-.133-.534-.533-1-1-1.134L10.367 6l-.4 1.267L11.5 7.8c.067 0 .133.067.133.2l1.067 4.867a.32.32 0 0 1-.133.4l-2.267 1.8c-.267.2-.333.666-.133.933s.666.333.933.133l2.267-1.8c.533-.4.733-1.133.6-1.733zM12.5 0H1.833A1.65 1.65 0 0 0 .167 1.667v1.4c0 .866.733 1.6 1.666 1.6h10.734c.866 0 1.6-.734 1.6-1.667V1.667A1.65 1.65 0 0 0 12.5 0M1.633 12.8 2.7 8c0-.067.067-.133.133-.2l1.534-.533-.4-1.2-1.534.466c-.533.2-.933.6-1 1.134L.367 12.533c-.134.667.066 1.334.6 1.734l2.266 1.8c.267.266.734.2.934-.067s.2-.733-.134-.933l-2.266-1.8c-.134-.134-.2-.267-.134-.467" })), l_ = Yt(i_), u_ = et(({ store: e }) => {
|
|
14465
14468
|
var r;
|
|
14466
|
-
const { t } =
|
|
14469
|
+
const { t } = br();
|
|
14467
14470
|
function n(a, s) {
|
|
14468
14471
|
(s === "coordsys" || s === "tool") && e.setSelectedOrientation(s);
|
|
14469
14472
|
}
|
|
@@ -14644,7 +14647,7 @@ function jn({
|
|
|
14644
14647
|
setActive: n
|
|
14645
14648
|
}) {
|
|
14646
14649
|
var r, a;
|
|
14647
|
-
const s =
|
|
14650
|
+
const s = yr(e.current);
|
|
14648
14651
|
if (!((r = e.current) != null && r.contains(s.activeElement)) || Number(s == null || (a = s.activeElement) == null ? void 0 : a.getAttribute("data-index")) !== t) {
|
|
14649
14652
|
var i;
|
|
14650
14653
|
(i = e.current) == null || i.querySelector(`[type="range"][data-index="${t}"]`).focus();
|
|
@@ -14719,7 +14722,7 @@ function y_(e) {
|
|
|
14719
14722
|
}), d(q, E, N);
|
|
14720
14723
|
}), X = Array.isArray(F);
|
|
14721
14724
|
let K = X ? F.slice().sort(Tu) : [F];
|
|
14722
|
-
K = K.map((M) => M == null ? u :
|
|
14725
|
+
K = K.map((M) => M == null ? u : mr(M, u, l));
|
|
14723
14726
|
const xe = i === !0 && y !== null ? [...Array(Math.floor((l - u) / y) + 1)].map((M, E) => ({
|
|
14724
14727
|
value: u + y * E
|
|
14725
14728
|
})) : i || [], ie = xe.map((M) => M.value), {
|
|
@@ -14741,8 +14744,8 @@ function y_(e) {
|
|
|
14741
14744
|
const Ue = ie[ie.length - 1];
|
|
14742
14745
|
W > Ue ? W = Ue : W < ie[0] ? W = ie[0] : W = W < G ? ie[q - 1] : ie[q + 1];
|
|
14743
14746
|
}
|
|
14744
|
-
if (W =
|
|
14745
|
-
a && (W =
|
|
14747
|
+
if (W = mr(W, u, l), X) {
|
|
14748
|
+
a && (W = mr(W, K[N - 1] || -1 / 0, K[N + 1] || 1 / 0));
|
|
14746
14749
|
const Ue = W;
|
|
14747
14750
|
W = Pi({
|
|
14748
14751
|
values: K,
|
|
@@ -14798,10 +14801,10 @@ function y_(e) {
|
|
|
14798
14801
|
const Mt = Ai(ie, Q);
|
|
14799
14802
|
Q = ie[Mt];
|
|
14800
14803
|
}
|
|
14801
|
-
Q =
|
|
14804
|
+
Q = mr(Q, u, l);
|
|
14802
14805
|
let ke = 0;
|
|
14803
14806
|
if (X) {
|
|
14804
|
-
E ? ke = vt.current : ke = Ai(K, Q), a && (Q =
|
|
14807
|
+
E ? ke = vt.current : ke = Ai(K, Q), a && (Q = mr(Q, K[ke - 1] || -1 / 0, K[ke + 1] || 1 / 0));
|
|
14805
14808
|
const Mt = Q;
|
|
14806
14809
|
Q = Pi({
|
|
14807
14810
|
values: K,
|
|
@@ -14865,14 +14868,14 @@ function y_(e) {
|
|
|
14865
14868
|
}), H(q), V && !Rn(q, F) && V(M, q, W);
|
|
14866
14869
|
}
|
|
14867
14870
|
le.current = 0;
|
|
14868
|
-
const G =
|
|
14871
|
+
const G = yr(Se.current);
|
|
14869
14872
|
G.addEventListener("touchmove", Z, {
|
|
14870
14873
|
passive: !0
|
|
14871
14874
|
}), G.addEventListener("touchend", de, {
|
|
14872
14875
|
passive: !0
|
|
14873
14876
|
});
|
|
14874
14877
|
}), Ee = $.useCallback(() => {
|
|
14875
|
-
const M =
|
|
14878
|
+
const M = yr(Se.current);
|
|
14876
14879
|
M.removeEventListener("mousemove", Z), M.removeEventListener("mouseup", de), M.removeEventListener("touchmove", Z), M.removeEventListener("touchend", de);
|
|
14877
14880
|
}, [de, Z]);
|
|
14878
14881
|
$.useEffect(() => {
|
|
@@ -14907,7 +14910,7 @@ function y_(e) {
|
|
|
14907
14910
|
}), H(W), V && !Rn(W, F) && V(E, W, Ue);
|
|
14908
14911
|
}
|
|
14909
14912
|
le.current = 0;
|
|
14910
|
-
const q =
|
|
14913
|
+
const q = yr(Se.current);
|
|
14911
14914
|
q.addEventListener("mousemove", Z, {
|
|
14912
14915
|
passive: !0
|
|
14913
14916
|
}), q.addEventListener("mouseup", de);
|
|
@@ -15596,7 +15599,7 @@ const S_ = jt("span", {
|
|
|
15596
15599
|
getHiddenInputProps: Cr,
|
|
15597
15600
|
getThumbProps: Ar,
|
|
15598
15601
|
open: Pr,
|
|
15599
|
-
active:
|
|
15602
|
+
active: tr,
|
|
15600
15603
|
axis: nt,
|
|
15601
15604
|
focusedThumbIndex: M,
|
|
15602
15605
|
range: E,
|
|
@@ -15610,7 +15613,7 @@ const S_ = jt("span", {
|
|
|
15610
15613
|
rootRef: n
|
|
15611
15614
|
}));
|
|
15612
15615
|
we.marked = G.length > 0 && G.some((L) => L.label), we.dragging = N, we.focusedThumbIndex = M;
|
|
15613
|
-
const Q = O_(we), ke = (r = (a = Z == null ? void 0 : Z.root) != null ? a : ie.Root) != null ? r : S_, Mt = (s = (i = Z == null ? void 0 : Z.rail) != null ? i : ie.Rail) != null ? s : w_,
|
|
15616
|
+
const Q = O_(we), ke = (r = (a = Z == null ? void 0 : Z.root) != null ? a : ie.Root) != null ? r : S_, Mt = (s = (i = Z == null ? void 0 : Z.rail) != null ? i : ie.Rail) != null ? s : w_, rr = (l = (u = Z == null ? void 0 : Z.track) != null ? u : ie.Track) != null ? l : j_, Or = (c = (d = Z == null ? void 0 : Z.thumb) != null ? d : ie.Thumb) != null ? c : R_, bt = (m = (h = Z == null ? void 0 : Z.valueLabel) != null ? h : ie.ValueLabel) != null ? m : C_, Dt = (v = (_ = Z == null ? void 0 : Z.mark) != null ? _ : ie.Mark) != null ? v : A_, Bt = (y = (g = Z == null ? void 0 : Z.markLabel) != null ? g : ie.MarkLabel) != null ? y : P_, Mr = (S = (j = Z == null ? void 0 : Z.input) != null ? j : ie.Input) != null ? S : "input", Ir = (C = I == null ? void 0 : I.root) != null ? C : Y.root, fn = (k = I == null ? void 0 : I.rail) != null ? k : Y.rail, Tr = (R = I == null ? void 0 : I.track) != null ? R : Y.track, nr = (P = I == null ? void 0 : I.thumb) != null ? P : Y.thumb, ar = (O = I == null ? void 0 : I.valueLabel) != null ? O : Y.valueLabel, Ra = (z = I == null ? void 0 : I.mark) != null ? z : Y.mark, Ca = (se = I == null ? void 0 : I.markLabel) != null ? se : Y.markLabel, pn = (le = I == null ? void 0 : I.input) != null ? le : Y.input, gn = Tt({
|
|
15614
15617
|
elementType: ke,
|
|
15615
15618
|
getSlotProps: Ft,
|
|
15616
15619
|
externalSlotProps: Ir,
|
|
@@ -15626,7 +15629,7 @@ const S_ = jt("span", {
|
|
|
15626
15629
|
ownerState: we,
|
|
15627
15630
|
className: Q.rail
|
|
15628
15631
|
}), Pa = Tt({
|
|
15629
|
-
elementType:
|
|
15632
|
+
elementType: rr,
|
|
15630
15633
|
externalSlotProps: Tr,
|
|
15631
15634
|
additionalProps: {
|
|
15632
15635
|
style: A({}, Ot[nt].offset(W), Ot[nt].leap(Ue))
|
|
@@ -15636,13 +15639,13 @@ const S_ = jt("span", {
|
|
|
15636
15639
|
}), Er = Tt({
|
|
15637
15640
|
elementType: Or,
|
|
15638
15641
|
getSlotProps: Ar,
|
|
15639
|
-
externalSlotProps:
|
|
15640
|
-
ownerState: A({}, we,
|
|
15642
|
+
externalSlotProps: nr,
|
|
15643
|
+
ownerState: A({}, we, nr == null ? void 0 : nr.ownerState),
|
|
15641
15644
|
className: Q.thumb
|
|
15642
15645
|
}), Oa = Tt({
|
|
15643
15646
|
elementType: bt,
|
|
15644
|
-
externalSlotProps:
|
|
15645
|
-
ownerState: A({}, we,
|
|
15647
|
+
externalSlotProps: ar,
|
|
15648
|
+
ownerState: A({}, we, ar == null ? void 0 : ar.ownerState),
|
|
15646
15649
|
className: Q.valueLabel
|
|
15647
15650
|
}), p = Tt({
|
|
15648
15651
|
elementType: Dt,
|
|
@@ -15661,7 +15664,7 @@ const S_ = jt("span", {
|
|
|
15661
15664
|
ownerState: we
|
|
15662
15665
|
});
|
|
15663
15666
|
return /* @__PURE__ */ o.jsxs(ke, A({}, gn, {
|
|
15664
|
-
children: [/* @__PURE__ */ o.jsx(Mt, A({}, Aa)), /* @__PURE__ */ o.jsx(
|
|
15667
|
+
children: [/* @__PURE__ */ o.jsx(Mt, A({}, Aa)), /* @__PURE__ */ o.jsx(rr, A({}, Pa)), G.filter((L) => L.value >= De && L.value <= We).map((L, D) => {
|
|
15665
15668
|
const ee = Qn(L.value, De, We), J = Ot[nt].offset(ee);
|
|
15666
15669
|
let B;
|
|
15667
15670
|
return de === !1 ? B = q.indexOf(L.value) !== -1 : B = de === "normal" && (E ? L.value >= q[0] && L.value <= q[q.length - 1] : L.value <= q[0]) || de === "inverted" && (E ? L.value <= q[0] || L.value >= q[q.length - 1] : L.value >= q[0]), /* @__PURE__ */ o.jsxs($.Fragment, {
|
|
@@ -15692,13 +15695,13 @@ const S_ = jt("span", {
|
|
|
15692
15695
|
valueLabelDisplay: Te,
|
|
15693
15696
|
value: typeof Ee == "function" ? Ee(Be(L), D) : Ee,
|
|
15694
15697
|
index: D,
|
|
15695
|
-
open: Pr === D ||
|
|
15698
|
+
open: Pr === D || tr === D || Te === "on",
|
|
15696
15699
|
disabled: Ge
|
|
15697
15700
|
}, Oa, {
|
|
15698
15701
|
children: /* @__PURE__ */ o.jsx(Or, A({
|
|
15699
15702
|
"data-index": D
|
|
15700
15703
|
}, Er, {
|
|
15701
|
-
className: ft(Q.thumb, Er.className,
|
|
15704
|
+
className: ft(Q.thumb, Er.className, tr === D && Q.active, M === D && Q.focusVisible),
|
|
15702
15705
|
style: A({}, J, Ke(D), Er.style),
|
|
15703
15706
|
children: /* @__PURE__ */ o.jsx(Mr, A({
|
|
15704
15707
|
"data-index": D,
|
|
@@ -15981,7 +15984,7 @@ process.env.NODE_ENV !== "production" && (ku.propTypes = {
|
|
|
15981
15984
|
});
|
|
15982
15985
|
var I_ = "[object Number]";
|
|
15983
15986
|
function T_(e) {
|
|
15984
|
-
return typeof e == "number" || Xt(e) &&
|
|
15987
|
+
return typeof e == "number" || Xt(e) && Zt(e) == I_;
|
|
15985
15988
|
}
|
|
15986
15989
|
const E_ = et((e) => {
|
|
15987
15990
|
const t = wo(), n = e.valueLabelFormat || ((a) => `${a}`);
|
|
@@ -15996,6 +15999,7 @@ const E_ = et((e) => {
|
|
|
15996
15999
|
textAlign: "center",
|
|
15997
16000
|
fontSize: "14px",
|
|
15998
16001
|
opacity: 0.8,
|
|
16002
|
+
lineHeight: 1,
|
|
15999
16003
|
color: t.palette.text.primary
|
|
16000
16004
|
},
|
|
16001
16005
|
children: n(e.velocity)
|
|
@@ -16022,7 +16026,7 @@ const E_ = et((e) => {
|
|
|
16022
16026
|
] });
|
|
16023
16027
|
}), Lu = et(
|
|
16024
16028
|
({ store: e }) => {
|
|
16025
|
-
const { t } =
|
|
16029
|
+
const { t } = br(), n = jo(() => ({
|
|
16026
16030
|
get valueLabelFormat() {
|
|
16027
16031
|
return e.currentMotionType === "translate" ? (r) => `v=${t("Jogging.Cartesian.Translation.velocityMmPerSec.lb", { amount: r })}` : (r) => `v=${t("Jogging.Cartesian.Rotation.velocityDegPerSec.lb", { amount: r })}`;
|
|
16028
16032
|
}
|
|
@@ -16032,7 +16036,7 @@ const E_ = et((e) => {
|
|
|
16032
16036
|
{
|
|
16033
16037
|
sx: {
|
|
16034
16038
|
margin: "0px 20px",
|
|
16035
|
-
marginBottom: "
|
|
16039
|
+
marginBottom: "6px"
|
|
16036
16040
|
},
|
|
16037
16041
|
children: /* @__PURE__ */ o.jsx(oe, { sx: { width: "380px", maxWidth: "90%", margin: "auto" }, children: /* @__PURE__ */ o.jsx(
|
|
16038
16042
|
E_,
|
|
@@ -16050,7 +16054,7 @@ const E_ = et((e) => {
|
|
|
16050
16054
|
}
|
|
16051
16055
|
), k_ = et(
|
|
16052
16056
|
({ store: e, children: t }) => {
|
|
16053
|
-
const { t: n } =
|
|
16057
|
+
const { t: n } = br();
|
|
16054
16058
|
function r(d, m) {
|
|
16055
16059
|
(m === "translate" || m === "rotate") && e.setSelectedCartesianMotionType(m);
|
|
16056
16060
|
}
|
|
@@ -16248,7 +16252,6 @@ const E_ = et((e) => {
|
|
|
16248
16252
|
), L_ = et(
|
|
16249
16253
|
({ store: e }) => {
|
|
16250
16254
|
const t = kt(null);
|
|
16251
|
-
Zt();
|
|
16252
16255
|
function n() {
|
|
16253
16256
|
const { joints: r } = e.jogger.motionStream.rapidlyChangingMotionState.state.joint_position;
|
|
16254
16257
|
return `[${r.map((a) => parseFloat(a.toFixed(4))).join(", ")}]`;
|
|
@@ -16271,7 +16274,6 @@ const E_ = et((e) => {
|
|
|
16271
16274
|
children: /* @__PURE__ */ o.jsx(
|
|
16272
16275
|
bu,
|
|
16273
16276
|
{
|
|
16274
|
-
label: "Pose",
|
|
16275
16277
|
value: n(),
|
|
16276
16278
|
ref: t
|
|
16277
16279
|
}
|
|
@@ -16293,7 +16295,6 @@ const E_ = et((e) => {
|
|
|
16293
16295
|
}
|
|
16294
16296
|
return /* @__PURE__ */ o.jsxs(oe, { flexGrow: 1, justifyContent: "space-between", children: [
|
|
16295
16297
|
/* @__PURE__ */ o.jsx(L_, { store: e }),
|
|
16296
|
-
/* @__PURE__ */ o.jsx(oe, { marginTop: "0.8rem" }),
|
|
16297
16298
|
/* @__PURE__ */ o.jsx(vu, { store: e, children: /* @__PURE__ */ o.jsx(oe, { gap: "0.8rem", children: e.jogger.motionStream.joints.map((a) => {
|
|
16298
16299
|
var u;
|
|
16299
16300
|
const s = (u = e.motionGroupSpec.mechanical_joint_limits) == null ? void 0 : u[a.index], i = (s == null ? void 0 : s.lower_limit) !== void 0 ? Pn(s.lower_limit) : void 0, l = (s == null ? void 0 : s.upper_limit) !== void 0 ? Pn(s.upper_limit) : void 0;
|
|
@@ -16346,13 +16347,14 @@ const E_ = et((e) => {
|
|
|
16346
16347
|
);
|
|
16347
16348
|
}) }) }),
|
|
16348
16349
|
/* @__PURE__ */ o.jsx(Iu, { store: e }),
|
|
16349
|
-
/* @__PURE__ */ o.jsx(Lu, { store: e })
|
|
16350
|
+
/* @__PURE__ */ o.jsx(Lu, { store: e }),
|
|
16351
|
+
t
|
|
16350
16352
|
] });
|
|
16351
16353
|
}
|
|
16352
16354
|
);
|
|
16353
16355
|
var Ii = function() {
|
|
16354
16356
|
try {
|
|
16355
|
-
var e =
|
|
16357
|
+
var e = er(Object, "defineProperty");
|
|
16356
16358
|
return e({}, "", {}), e;
|
|
16357
16359
|
} catch {
|
|
16358
16360
|
}
|
|
@@ -16628,7 +16630,7 @@ class Yo {
|
|
|
16628
16630
|
async deactivate(t = {}) {
|
|
16629
16631
|
if (this.activationState === "inactive") return;
|
|
16630
16632
|
const n = this.jogger.activeWebsocket;
|
|
16631
|
-
this.activationState = "inactive", this.jogger.setJoggingMode("increment"), n && await n.closed(), t.requireManualReactivation &&
|
|
16633
|
+
this.activationState = "inactive", this.jogger.setJoggingMode("increment"), n && await n.closed(), t.requireManualReactivation && fr(() => {
|
|
16632
16634
|
this.manualActivationRequired = !0;
|
|
16633
16635
|
});
|
|
16634
16636
|
}
|
|
@@ -16642,7 +16644,7 @@ class Yo {
|
|
|
16642
16644
|
jogger: i
|
|
16643
16645
|
} = this;
|
|
16644
16646
|
if (this.activationState !== "loading" && !(this.manualActivationRequired && !t.manual)) {
|
|
16645
|
-
|
|
16647
|
+
fr(() => {
|
|
16646
16648
|
this.activationState = "loading", this.activationError = null;
|
|
16647
16649
|
});
|
|
16648
16650
|
try {
|
|
@@ -16665,12 +16667,12 @@ class Yo {
|
|
|
16665
16667
|
try {
|
|
16666
16668
|
i.stop(), await i.activeWebsocket.nextMessage();
|
|
16667
16669
|
} catch (l) {
|
|
16668
|
-
|
|
16670
|
+
fr(() => {
|
|
16669
16671
|
this.activationState = "inactive", this.activationError = l;
|
|
16670
16672
|
});
|
|
16671
16673
|
return;
|
|
16672
16674
|
}
|
|
16673
|
-
|
|
16675
|
+
fr(() => {
|
|
16674
16676
|
this.activationState = "active", t.manual && (this.manualActivationRequired = !1);
|
|
16675
16677
|
});
|
|
16676
16678
|
}
|
|
@@ -16811,12 +16813,12 @@ const db = rn(
|
|
|
16811
16813
|
loadingError: null
|
|
16812
16814
|
}));
|
|
16813
16815
|
async function r() {
|
|
16814
|
-
|
|
16816
|
+
fr(() => {
|
|
16815
16817
|
n.loadingError = null, n.joggingStore = null;
|
|
16816
16818
|
});
|
|
16817
16819
|
try {
|
|
16818
16820
|
const a = await t.connectJogger(e.motionGroupId), s = await Yo.loadFor(a);
|
|
16819
|
-
|
|
16821
|
+
fr(() => {
|
|
16820
16822
|
n.joggingStore = s;
|
|
16821
16823
|
}), e.onSetup && e.onSetup(s);
|
|
16822
16824
|
} catch (a) {
|