@esrf/daiquiri-lib 5.1.0 → 5.1.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/index.d.ts +12 -0
- package/dist/index.js +11 -11
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +730 -729
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -329,7 +329,7 @@ const yn = {
|
|
|
329
329
|
}, _n = {
|
|
330
330
|
response: Nn,
|
|
331
331
|
schema: bn
|
|
332
|
-
},
|
|
332
|
+
}, Pm = {
|
|
333
333
|
default: _n
|
|
334
334
|
};
|
|
335
335
|
function V(t) {
|
|
@@ -613,7 +613,7 @@ const Tn = {
|
|
|
613
613
|
protocol: Pn,
|
|
614
614
|
require_staff: Ln,
|
|
615
615
|
type: Un
|
|
616
|
-
},
|
|
616
|
+
}, Lm = {
|
|
617
617
|
default: Vn
|
|
618
618
|
};
|
|
619
619
|
async function ee(t) {
|
|
@@ -652,7 +652,7 @@ function se(t) {
|
|
|
652
652
|
(f.current === null || !yt(f.current, l)) && (f.current = l, u == null || u.actions.updateHardware(e, l));
|
|
653
653
|
}, [e, l]), /* @__PURE__ */ n(O, {});
|
|
654
654
|
}
|
|
655
|
-
function
|
|
655
|
+
function Um(t) {
|
|
656
656
|
const { name: e, alias: o, useHardwareContext: r } = t, [i, a] = E("ON");
|
|
657
657
|
async function s(d, l) {
|
|
658
658
|
if (d === "on") {
|
|
@@ -797,14 +797,14 @@ const Wn = {
|
|
|
797
797
|
protocol: Xn,
|
|
798
798
|
require_staff: Zn,
|
|
799
799
|
type: Jn
|
|
800
|
-
},
|
|
800
|
+
}, Vm = {
|
|
801
801
|
default: eo
|
|
802
802
|
}, dt = {
|
|
803
803
|
pink_beam: 1.2,
|
|
804
804
|
dcm: 15.6,
|
|
805
805
|
dcm_off: null
|
|
806
806
|
};
|
|
807
|
-
function
|
|
807
|
+
function Gm(t) {
|
|
808
808
|
const { name: e, alias: o, useHardwareContext: r } = t, [i, a] = E("pink_beam");
|
|
809
809
|
async function s(l, f) {
|
|
810
810
|
console.log("MultipositionSimulator: Unsupported call", l, f);
|
|
@@ -876,7 +876,7 @@ function oo(t) {
|
|
|
876
876
|
function ro(t, e) {
|
|
877
877
|
return Number.parseFloat(t.toFixed(e));
|
|
878
878
|
}
|
|
879
|
-
const
|
|
879
|
+
const Hm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
880
880
|
__proto__: null,
|
|
881
881
|
formatEng: to,
|
|
882
882
|
round: ro,
|
|
@@ -1051,7 +1051,7 @@ Module 2 Gate Valve 1: Open
|
|
|
1051
1051
|
protocol: wo,
|
|
1052
1052
|
require_staff: yo,
|
|
1053
1053
|
type: vo
|
|
1054
|
-
},
|
|
1054
|
+
}, qm = {
|
|
1055
1055
|
default: No
|
|
1056
1056
|
};
|
|
1057
1057
|
function bo(t) {
|
|
@@ -1162,7 +1162,7 @@ Rel. | Lower | Upper | SA | State
|
|
|
1162
1162
|
protocol: Uo,
|
|
1163
1163
|
require_staff: Vo,
|
|
1164
1164
|
type: Go
|
|
1165
|
-
},
|
|
1165
|
+
}, Wm = {
|
|
1166
1166
|
default: ko,
|
|
1167
1167
|
default2: Ho
|
|
1168
1168
|
}, qo = Le((t, e) => {
|
|
@@ -1450,7 +1450,7 @@ const Bo = {
|
|
|
1450
1450
|
protocol: Jo,
|
|
1451
1451
|
require_staff: er,
|
|
1452
1452
|
type: tr
|
|
1453
|
-
},
|
|
1453
|
+
}, zm = {
|
|
1454
1454
|
default: nr
|
|
1455
1455
|
};
|
|
1456
1456
|
function or(t) {
|
|
@@ -1577,7 +1577,7 @@ const ir = {
|
|
|
1577
1577
|
protocol: fr,
|
|
1578
1578
|
require_staff: mr,
|
|
1579
1579
|
type: pr
|
|
1580
|
-
},
|
|
1580
|
+
}, Bm = {
|
|
1581
1581
|
default: hr
|
|
1582
1582
|
};
|
|
1583
1583
|
function gr(t) {
|
|
@@ -1646,7 +1646,7 @@ const wr = {
|
|
|
1646
1646
|
protocol: xr,
|
|
1647
1647
|
require_staff: Or,
|
|
1648
1648
|
type: Sr
|
|
1649
|
-
},
|
|
1649
|
+
}, jm = {
|
|
1650
1650
|
default: Cr
|
|
1651
1651
|
};
|
|
1652
1652
|
function fe(t) {
|
|
@@ -2165,7 +2165,7 @@ function Wr(t) {
|
|
|
2165
2165
|
);
|
|
2166
2166
|
}
|
|
2167
2167
|
const q = {};
|
|
2168
|
-
function
|
|
2168
|
+
function Km(t) {
|
|
2169
2169
|
t.useHardware && (q.useHardware && console.warn("useHardware hook was already registered"), q.useHardware = t.useHardware), t.useHardwareChangeActions && (q.useHardwareChangeActions && console.warn("useHardwareChangeActions hook was already registered"), q.useHardwareChangeActions = t.useHardwareChangeActions), t.useHardwareSchema && (q.useHardwareSchema && console.warn("useHardwareSchema hook was already registered"), q.useHardwareSchema = t.useHardwareSchema), t.useOperator && (q.useOperator && console.warn("useOperator hook was already registered"), q.useOperator = t.useOperator), t.useScanRunning && (q.useScanRunning && console.warn("useScanRunning hook was already registered"), q.useScanRunning = t.useScanRunning);
|
|
2170
2170
|
}
|
|
2171
2171
|
function Z(t) {
|
|
@@ -2178,17 +2178,17 @@ function ge(t) {
|
|
|
2178
2178
|
throw new Error("No `useHardwareChangeActions` hook registered");
|
|
2179
2179
|
return q.useHardwareChangeActions(t);
|
|
2180
2180
|
}
|
|
2181
|
-
function
|
|
2181
|
+
function Ym(t) {
|
|
2182
2182
|
if (!q.useHardwareSchema)
|
|
2183
2183
|
throw new Error("No `useHardwareSchema` hook registered");
|
|
2184
2184
|
return q.useHardwareSchema(t);
|
|
2185
2185
|
}
|
|
2186
|
-
function
|
|
2186
|
+
function Qm() {
|
|
2187
2187
|
if (!q.useOperator)
|
|
2188
2188
|
throw new Error("No `useOperator` hook registered");
|
|
2189
2189
|
return q.useOperator();
|
|
2190
2190
|
}
|
|
2191
|
-
function
|
|
2191
|
+
function Xm() {
|
|
2192
2192
|
if (!q.useScanRunning)
|
|
2193
2193
|
throw new Error("No `useScanRunning` hook registered");
|
|
2194
2194
|
return q.useScanRunning();
|
|
@@ -2489,14 +2489,14 @@ const Qr = "lima_cam", Xr = "lima_cam", Zr = "bliss", Jr = "lima", ei = !0, ti =
|
|
|
2489
2489
|
online: Ei,
|
|
2490
2490
|
require_staff: ki,
|
|
2491
2491
|
properties: Di
|
|
2492
|
-
},
|
|
2492
|
+
}, Zm = {
|
|
2493
2493
|
default: oi,
|
|
2494
2494
|
flip: ui,
|
|
2495
2495
|
rot: vi,
|
|
2496
2496
|
roicenter: Ci,
|
|
2497
2497
|
squaredetector: Fi
|
|
2498
2498
|
};
|
|
2499
|
-
function
|
|
2499
|
+
function Jm(t) {
|
|
2500
2500
|
const { name: e, alias: o, useHardwareContext: r } = t, i = [1920, 1920], a = [16e-6, 16e-6], [s, c] = E({
|
|
2501
2501
|
static: {
|
|
2502
2502
|
lima_version: "1.9.23",
|
|
@@ -2768,7 +2768,7 @@ function Vi(t) {
|
|
|
2768
2768
|
}
|
|
2769
2769
|
const Gi = {
|
|
2770
2770
|
default: Vi
|
|
2771
|
-
},
|
|
2771
|
+
}, Hi = Gi, qi = [], Wi = "mg", zi = "mg", Bi = !0, ji = {
|
|
2772
2772
|
available: [
|
|
2773
2773
|
"lima:image",
|
|
2774
2774
|
"diode1",
|
|
@@ -2779,17 +2779,17 @@ const Gi = {
|
|
|
2779
2779
|
disabled: [
|
|
2780
2780
|
"machinfo:current"
|
|
2781
2781
|
]
|
|
2782
|
-
},
|
|
2783
|
-
callables:
|
|
2784
|
-
id:
|
|
2785
|
-
name:
|
|
2786
|
-
online:
|
|
2787
|
-
properties:
|
|
2788
|
-
protocol:
|
|
2789
|
-
require_staff:
|
|
2790
|
-
type:
|
|
2782
|
+
}, Ki = "bliss", Yi = !1, Qi = "measurementgroup", Xi = {
|
|
2783
|
+
callables: qi,
|
|
2784
|
+
id: Wi,
|
|
2785
|
+
name: zi,
|
|
2786
|
+
online: Bi,
|
|
2787
|
+
properties: ji,
|
|
2788
|
+
protocol: Ki,
|
|
2789
|
+
require_staff: Yi,
|
|
2790
|
+
type: Qi
|
|
2791
2791
|
}, ep = {
|
|
2792
|
-
default:
|
|
2792
|
+
default: Xi
|
|
2793
2793
|
};
|
|
2794
2794
|
function tp(t) {
|
|
2795
2795
|
const { name: e, alias: o, useHardwareContext: r } = t, [i, a] = E({
|
|
@@ -2954,7 +2954,7 @@ function Ge(t) {
|
|
|
2954
2954
|
}
|
|
2955
2955
|
);
|
|
2956
2956
|
}
|
|
2957
|
-
function
|
|
2957
|
+
function Zi(t) {
|
|
2958
2958
|
const { hardware: e } = t;
|
|
2959
2959
|
return /* @__PURE__ */ n(Ge, { hardware: e });
|
|
2960
2960
|
}
|
|
@@ -3012,7 +3012,7 @@ function Re(t) {
|
|
|
3012
3012
|
}
|
|
3013
3013
|
);
|
|
3014
3014
|
}
|
|
3015
|
-
function
|
|
3015
|
+
function Ji(t) {
|
|
3016
3016
|
const { states: e, hardware: o } = t, { properties: r } = o;
|
|
3017
3017
|
function i(s) {
|
|
3018
3018
|
return o.actions.setProperty("velocity", s);
|
|
@@ -3105,7 +3105,7 @@ function Oe(t) {
|
|
|
3105
3105
|
),
|
|
3106
3106
|
r.unit && /* @__PURE__ */ n(N.Text, { children: r.unit }),
|
|
3107
3107
|
!c.MOVING && o.extended && /* @__PURE__ */ n(
|
|
3108
|
-
|
|
3108
|
+
Ji,
|
|
3109
3109
|
{
|
|
3110
3110
|
hardware: e,
|
|
3111
3111
|
disabled: t.disabled,
|
|
@@ -3140,7 +3140,7 @@ function mt(t) {
|
|
|
3140
3140
|
e.properties.unit && /* @__PURE__ */ n("div", { className: "ms-auto", children: /* @__PURE__ */ n("small", { children: /* @__PURE__ */ n("small", { children: e.properties.unit }) }) })
|
|
3141
3141
|
] });
|
|
3142
3142
|
}
|
|
3143
|
-
function
|
|
3143
|
+
function ea(t) {
|
|
3144
3144
|
const { hardware: e } = t, o = /* @__PURE__ */ n(x, { name: "Motor", icon: "fam-hardware-motor", online: e.online }), r = /* @__PURE__ */ n(Ge, { hardware: e }), i = t.options ? t.options.header : "top";
|
|
3145
3145
|
return i === "none" ? /* @__PURE__ */ n(mt, { ...t }) : /* @__PURE__ */ n(
|
|
3146
3146
|
C,
|
|
@@ -3164,13 +3164,13 @@ const z = {
|
|
|
3164
3164
|
transient: "#4285eb",
|
|
3165
3165
|
text: "black",
|
|
3166
3166
|
textD10: "black"
|
|
3167
|
-
},
|
|
3167
|
+
}, ta = {
|
|
3168
3168
|
up: 0,
|
|
3169
3169
|
right: -90,
|
|
3170
3170
|
down: 180,
|
|
3171
3171
|
left: 90
|
|
3172
3172
|
};
|
|
3173
|
-
function
|
|
3173
|
+
function na(t) {
|
|
3174
3174
|
const {
|
|
3175
3175
|
size: e,
|
|
3176
3176
|
value: o = null,
|
|
@@ -3202,7 +3202,7 @@ function ta(t) {
|
|
|
3202
3202
|
const re = a - i;
|
|
3203
3203
|
return re >= 360 ? null : [(a - 360) / 360, (a - 360 + 360 - re) / 360];
|
|
3204
3204
|
}
|
|
3205
|
-
const ce = me(), Wt = d === "clockwise" ? 360 : -360, zt =
|
|
3205
|
+
const ce = me(), Wt = d === "clockwise" ? 360 : -360, zt = ta[u] + (d === "clockwise" ? 0 : 360);
|
|
3206
3206
|
return /* @__PURE__ */ m(
|
|
3207
3207
|
vt,
|
|
3208
3208
|
{
|
|
@@ -3410,22 +3410,22 @@ function ta(t) {
|
|
|
3410
3410
|
}
|
|
3411
3411
|
);
|
|
3412
3412
|
}
|
|
3413
|
-
function
|
|
3413
|
+
function oa(t) {
|
|
3414
3414
|
const { hardware: e, options: o = {} } = t, r = ln(
|
|
3415
3415
|
(p) => {
|
|
3416
3416
|
e.actions.call("move", p);
|
|
3417
3417
|
},
|
|
3418
3418
|
[e.actions],
|
|
3419
3419
|
100
|
|
3420
|
-
), i = He(e.properties.state, e.user_tags), a = i.MOVING ? e.properties.target : void 0, s =
|
|
3420
|
+
), i = He(e.properties.state, e.user_tags), a = i.MOVING ? e.properties.target : void 0, s = ca(e, o), c = /* @__PURE__ */ n(
|
|
3421
3421
|
x,
|
|
3422
3422
|
{
|
|
3423
3423
|
name: "Motor",
|
|
3424
3424
|
icon: "fam-hardware-motor-r",
|
|
3425
3425
|
online: e.online
|
|
3426
3426
|
}
|
|
3427
|
-
), u =
|
|
3428
|
-
|
|
3427
|
+
), u = la(e), d = /* @__PURE__ */ n(Ge, { hardware: e }), l = /* @__PURE__ */ n(
|
|
3428
|
+
na,
|
|
3429
3429
|
{
|
|
3430
3430
|
className: "mx-auto my-auto",
|
|
3431
3431
|
size: 100,
|
|
@@ -3451,11 +3451,11 @@ function na(t) {
|
|
|
3451
3451
|
}
|
|
3452
3452
|
);
|
|
3453
3453
|
}
|
|
3454
|
-
function
|
|
3454
|
+
function ra(t, e) {
|
|
3455
3455
|
return t ? e.FAULT ? "danger" : e.MOVING ? "transient" : "secondary" : "secondary";
|
|
3456
3456
|
}
|
|
3457
|
-
function
|
|
3458
|
-
const { hardware: e, options: o = {} } = t, { online: r = !1, properties: i = {} } = e, { state: a, position: s, unit: c = null, display_digits: u } = i, d = He(a, []), l = o.name ?? e.alias ?? e.name ?? e.id, f =
|
|
3457
|
+
function ia(t) {
|
|
3458
|
+
const { hardware: e, options: o = {} } = t, { online: r = !1, properties: i = {} } = e, { state: a, position: s, unit: c = null, display_digits: u } = i, d = He(a, []), l = o.name ?? e.alias ?? e.name ?? e.id, f = ra(r, d);
|
|
3459
3459
|
function p() {
|
|
3460
3460
|
let w = "";
|
|
3461
3461
|
return s !== void 0 && (s === null ? w = "null" : Number.isFinite(s) ? w += s.toFixed(u ?? 2) : w = `${s}`), c !== null && c !== "" && (w = `${w} ${c}`), w;
|
|
@@ -3477,23 +3477,23 @@ function He(t, e = []) {
|
|
|
3477
3477
|
return i.READY === void 0 && r && i.OFF && (i.READY = !0), i;
|
|
3478
3478
|
}, [t, e]);
|
|
3479
3479
|
}
|
|
3480
|
-
function
|
|
3480
|
+
function aa(t) {
|
|
3481
3481
|
return t.type === "motor";
|
|
3482
3482
|
}
|
|
3483
3483
|
function te(t) {
|
|
3484
3484
|
const e = Z(t);
|
|
3485
|
-
return e === null || !
|
|
3485
|
+
return e === null || !aa(e) ? null : e;
|
|
3486
3486
|
}
|
|
3487
|
-
const
|
|
3487
|
+
const sa = {
|
|
3488
3488
|
default: Oe,
|
|
3489
|
-
text:
|
|
3490
|
-
rotation:
|
|
3489
|
+
text: ea,
|
|
3490
|
+
rotation: oa,
|
|
3491
3491
|
// Override base state
|
|
3492
|
-
state:
|
|
3492
|
+
state: Zi,
|
|
3493
3493
|
// Override base monitor
|
|
3494
|
-
monitor:
|
|
3494
|
+
monitor: ia
|
|
3495
3495
|
};
|
|
3496
|
-
function
|
|
3496
|
+
function ca(t, e) {
|
|
3497
3497
|
if ((e == null ? void 0 : e.clockwise) !== void 0)
|
|
3498
3498
|
return e.clockwise;
|
|
3499
3499
|
const o = t.properties.sign < 0, r = t.user_tags.includes("dial.anticlockwise"), i = t.user_tags.includes("dial.clockwise");
|
|
@@ -3501,7 +3501,7 @@ function sa(t, e) {
|
|
|
3501
3501
|
"Both tags 'dial.clockwise' and 'dial.anticlockwise' are defined"
|
|
3502
3502
|
), (i || !r) !== o;
|
|
3503
3503
|
}
|
|
3504
|
-
function
|
|
3504
|
+
function la(t) {
|
|
3505
3505
|
var i;
|
|
3506
3506
|
const e = (i = t.properties) == null ? void 0 : i.limits;
|
|
3507
3507
|
if (e == null)
|
|
@@ -3512,12 +3512,12 @@ function ca(t) {
|
|
|
3512
3512
|
Number.isFinite(r) ? r : void 0
|
|
3513
3513
|
];
|
|
3514
3514
|
}
|
|
3515
|
-
const
|
|
3515
|
+
const da = sa, ua = [
|
|
3516
3516
|
"move",
|
|
3517
3517
|
"stop",
|
|
3518
3518
|
"wait",
|
|
3519
3519
|
"rmove"
|
|
3520
|
-
],
|
|
3520
|
+
], fa = "omega", ma = "omega 123", pa = !0, ha = {
|
|
3521
3521
|
offset: 0,
|
|
3522
3522
|
sign: 1,
|
|
3523
3523
|
acceleration: 300,
|
|
@@ -3533,22 +3533,22 @@ const la = aa, da = [
|
|
|
3533
3533
|
unit: "um",
|
|
3534
3534
|
velocity: 1e3,
|
|
3535
3535
|
display_digits: 4
|
|
3536
|
-
},
|
|
3537
|
-
callables:
|
|
3538
|
-
id:
|
|
3539
|
-
name:
|
|
3540
|
-
online:
|
|
3541
|
-
properties:
|
|
3542
|
-
protocol:
|
|
3543
|
-
require_staff:
|
|
3544
|
-
type:
|
|
3545
|
-
user_tags:
|
|
3546
|
-
},
|
|
3536
|
+
}, ga = "bliss", wa = !1, ya = "motor", va = [], Na = {
|
|
3537
|
+
callables: ua,
|
|
3538
|
+
id: fa,
|
|
3539
|
+
name: ma,
|
|
3540
|
+
online: pa,
|
|
3541
|
+
properties: ha,
|
|
3542
|
+
protocol: ga,
|
|
3543
|
+
require_staff: wa,
|
|
3544
|
+
type: ya,
|
|
3545
|
+
user_tags: va
|
|
3546
|
+
}, ba = [
|
|
3547
3547
|
"move",
|
|
3548
3548
|
"stop",
|
|
3549
3549
|
"wait",
|
|
3550
3550
|
"rmove"
|
|
3551
|
-
],
|
|
3551
|
+
], _a = "omega", $a = "omega 123", xa = !0, Oa = {
|
|
3552
3552
|
offset: 0,
|
|
3553
3553
|
sign: 1,
|
|
3554
3554
|
acceleration: 300,
|
|
@@ -3563,22 +3563,22 @@ const la = aa, da = [
|
|
|
3563
3563
|
tolerance: 1e-4,
|
|
3564
3564
|
unit: "um",
|
|
3565
3565
|
velocity: 1e3
|
|
3566
|
-
},
|
|
3567
|
-
callables:
|
|
3568
|
-
id:
|
|
3569
|
-
name:
|
|
3570
|
-
online:
|
|
3571
|
-
properties:
|
|
3572
|
-
protocol:
|
|
3573
|
-
require_staff:
|
|
3574
|
-
type:
|
|
3575
|
-
user_tags:
|
|
3576
|
-
},
|
|
3566
|
+
}, Sa = "bliss", Ca = !1, Ia = "motor", Ma = [], Ta = {
|
|
3567
|
+
callables: ba,
|
|
3568
|
+
id: _a,
|
|
3569
|
+
name: $a,
|
|
3570
|
+
online: xa,
|
|
3571
|
+
properties: Oa,
|
|
3572
|
+
protocol: Sa,
|
|
3573
|
+
require_staff: Ca,
|
|
3574
|
+
type: Ia,
|
|
3575
|
+
user_tags: Ma
|
|
3576
|
+
}, Aa = [
|
|
3577
3577
|
"move",
|
|
3578
3578
|
"wait",
|
|
3579
3579
|
"stop",
|
|
3580
3580
|
"rmove"
|
|
3581
|
-
],
|
|
3581
|
+
], Ea = "omega", ka = "omega 123", Da = !0, Fa = {
|
|
3582
3582
|
acceleration: null,
|
|
3583
3583
|
limits: [
|
|
3584
3584
|
null,
|
|
@@ -3594,22 +3594,22 @@ const la = aa, da = [
|
|
|
3594
3594
|
tolerance: 1e-4,
|
|
3595
3595
|
unit: "deg",
|
|
3596
3596
|
velocity: null
|
|
3597
|
-
},
|
|
3598
|
-
callables:
|
|
3599
|
-
id:
|
|
3600
|
-
name:
|
|
3601
|
-
online:
|
|
3602
|
-
properties:
|
|
3603
|
-
protocol:
|
|
3604
|
-
require_staff:
|
|
3605
|
-
type:
|
|
3606
|
-
user_tags:
|
|
3607
|
-
},
|
|
3597
|
+
}, Ra = "bliss", Pa = !1, La = "motor", Ua = [], Va = {
|
|
3598
|
+
callables: Aa,
|
|
3599
|
+
id: Ea,
|
|
3600
|
+
name: ka,
|
|
3601
|
+
online: Da,
|
|
3602
|
+
properties: Fa,
|
|
3603
|
+
protocol: Ra,
|
|
3604
|
+
require_staff: Pa,
|
|
3605
|
+
type: La,
|
|
3606
|
+
user_tags: Ua
|
|
3607
|
+
}, Ga = [
|
|
3608
3608
|
"move",
|
|
3609
3609
|
"wait",
|
|
3610
3610
|
"stop",
|
|
3611
3611
|
"rmove"
|
|
3612
|
-
],
|
|
3612
|
+
], Ha = "omega", qa = "omega 123", Wa = !0, za = {
|
|
3613
3613
|
acceleration: null,
|
|
3614
3614
|
limits: [
|
|
3615
3615
|
null,
|
|
@@ -3623,37 +3623,37 @@ const la = aa, da = [
|
|
|
3623
3623
|
tolerance: 1e-4,
|
|
3624
3624
|
unit: "deg",
|
|
3625
3625
|
velocity: null
|
|
3626
|
-
},
|
|
3627
|
-
callables:
|
|
3628
|
-
id:
|
|
3629
|
-
name:
|
|
3630
|
-
online:
|
|
3631
|
-
properties:
|
|
3632
|
-
protocol:
|
|
3633
|
-
require_staff:
|
|
3634
|
-
type:
|
|
3635
|
-
user_tags:
|
|
3636
|
-
},
|
|
3626
|
+
}, Ba = "bliss", ja = !1, Ka = "motor", Ya = [], Qa = {
|
|
3627
|
+
callables: Ga,
|
|
3628
|
+
id: Ha,
|
|
3629
|
+
name: qa,
|
|
3630
|
+
online: Wa,
|
|
3631
|
+
properties: za,
|
|
3632
|
+
protocol: Ba,
|
|
3633
|
+
require_staff: ja,
|
|
3634
|
+
type: Ka,
|
|
3635
|
+
user_tags: Ya
|
|
3636
|
+
}, Xa = [
|
|
3637
3637
|
"move",
|
|
3638
3638
|
"wait",
|
|
3639
3639
|
"stop",
|
|
3640
3640
|
"rmove"
|
|
3641
|
-
],
|
|
3642
|
-
callables:
|
|
3643
|
-
id:
|
|
3644
|
-
name:
|
|
3645
|
-
online:
|
|
3646
|
-
properties:
|
|
3647
|
-
protocol:
|
|
3648
|
-
require_staff:
|
|
3649
|
-
type:
|
|
3650
|
-
user_tags:
|
|
3651
|
-
},
|
|
3641
|
+
], Za = "omega", Ja = "omega 123", es = !1, ts = {}, ns = "bliss", os = !1, rs = "motor", is = [], as = {
|
|
3642
|
+
callables: Xa,
|
|
3643
|
+
id: Za,
|
|
3644
|
+
name: Ja,
|
|
3645
|
+
online: es,
|
|
3646
|
+
properties: ts,
|
|
3647
|
+
protocol: ns,
|
|
3648
|
+
require_staff: os,
|
|
3649
|
+
type: rs,
|
|
3650
|
+
user_tags: is
|
|
3651
|
+
}, ss = [
|
|
3652
3652
|
"move",
|
|
3653
3653
|
"wait",
|
|
3654
3654
|
"stop",
|
|
3655
3655
|
"rmove"
|
|
3656
|
-
],
|
|
3656
|
+
], cs = "omega", ls = "omega 123", ds = !0, us = {
|
|
3657
3657
|
acceleration: null,
|
|
3658
3658
|
limits: [
|
|
3659
3659
|
null,
|
|
@@ -3669,23 +3669,23 @@ const la = aa, da = [
|
|
|
3669
3669
|
tolerance: 1e-4,
|
|
3670
3670
|
unit: "deg",
|
|
3671
3671
|
velocity: null
|
|
3672
|
-
},
|
|
3673
|
-
callables:
|
|
3674
|
-
id:
|
|
3675
|
-
name:
|
|
3676
|
-
online:
|
|
3677
|
-
properties:
|
|
3678
|
-
protocol:
|
|
3679
|
-
require_staff:
|
|
3680
|
-
type:
|
|
3681
|
-
user_tags:
|
|
3672
|
+
}, fs = "bliss", ms = !1, ps = "motor", hs = [], gs = {
|
|
3673
|
+
callables: ss,
|
|
3674
|
+
id: cs,
|
|
3675
|
+
name: ls,
|
|
3676
|
+
online: ds,
|
|
3677
|
+
properties: us,
|
|
3678
|
+
protocol: fs,
|
|
3679
|
+
require_staff: ms,
|
|
3680
|
+
type: ps,
|
|
3681
|
+
user_tags: hs
|
|
3682
3682
|
}, np = {
|
|
3683
|
-
default:
|
|
3684
|
-
halfMotor:
|
|
3685
|
-
unknownMotor:
|
|
3686
|
-
notReadyMotor:
|
|
3687
|
-
disconnectedMotor:
|
|
3688
|
-
powerOffMotor:
|
|
3683
|
+
default: Na,
|
|
3684
|
+
halfMotor: Ta,
|
|
3685
|
+
unknownMotor: Va,
|
|
3686
|
+
notReadyMotor: Qa,
|
|
3687
|
+
disconnectedMotor: as,
|
|
3688
|
+
powerOffMotor: gs
|
|
3689
3689
|
};
|
|
3690
3690
|
function op(t, e) {
|
|
3691
3691
|
return {
|
|
@@ -3783,7 +3783,7 @@ function tt(t) {
|
|
|
3783
3783
|
}[i] || "success";
|
|
3784
3784
|
return /* @__PURE__ */ n(P, { bg: s, children: i });
|
|
3785
3785
|
}
|
|
3786
|
-
function
|
|
3786
|
+
function ws(t) {
|
|
3787
3787
|
const { hardware: e, options: o = {} } = t, r = W(null);
|
|
3788
3788
|
J(() => {
|
|
3789
3789
|
if (!r.current) {
|
|
@@ -3885,8 +3885,8 @@ const Ot = Le(
|
|
|
3885
3885
|
] })
|
|
3886
3886
|
);
|
|
3887
3887
|
Ot.displayName = "DropdownButton2";
|
|
3888
|
-
const
|
|
3889
|
-
function
|
|
3888
|
+
const ys = Ot;
|
|
3889
|
+
function vs(t) {
|
|
3890
3890
|
const { currentPositionId: e, position: o, disabled: r, onSelect: i, filter: a } = t, s = o.position, c = s === e, u = c ? "fa fa-fw fa-dot-circle-o" : "fa fa-fw fa-circle-o";
|
|
3891
3891
|
return H(() => {
|
|
3892
3892
|
var f, p;
|
|
@@ -3923,7 +3923,7 @@ function ys(t) {
|
|
|
3923
3923
|
o.position
|
|
3924
3924
|
) : /* @__PURE__ */ n(O, {});
|
|
3925
3925
|
}
|
|
3926
|
-
function
|
|
3926
|
+
function Ns(t, e) {
|
|
3927
3927
|
if (t === null)
|
|
3928
3928
|
return null;
|
|
3929
3929
|
for (const o of e)
|
|
@@ -3931,7 +3931,7 @@ function vs(t, e) {
|
|
|
3931
3931
|
return o;
|
|
3932
3932
|
return null;
|
|
3933
3933
|
}
|
|
3934
|
-
function
|
|
3934
|
+
function bs(t) {
|
|
3935
3935
|
const { positionId: e, targetPositionId: o, hardware: r } = t, { properties: i = {} } = r, { positions: a = [] } = i;
|
|
3936
3936
|
function s() {
|
|
3937
3937
|
return o ? /* @__PURE__ */ n(P, { bg: "transient", children: o }) : e ? /* @__PURE__ */ n(P, { children: e }) : /* @__PURE__ */ n(P, { bg: "warning", children: "unknown" });
|
|
@@ -3939,7 +3939,7 @@ function Ns(t) {
|
|
|
3939
3939
|
const c = s(), u = H(() => {
|
|
3940
3940
|
if (o)
|
|
3941
3941
|
return "Moving...";
|
|
3942
|
-
const d =
|
|
3942
|
+
const d = Ns(e, a);
|
|
3943
3943
|
return d === null ? "Position not described" : d.description ?? "";
|
|
3944
3944
|
}, [o, e, a]);
|
|
3945
3945
|
return /* @__PURE__ */ m(O, { children: [
|
|
@@ -3955,7 +3955,7 @@ function Ns(t) {
|
|
|
3955
3955
|
)
|
|
3956
3956
|
] });
|
|
3957
3957
|
}
|
|
3958
|
-
function
|
|
3958
|
+
function _s(t) {
|
|
3959
3959
|
const { hardware: e, options: o = {} } = t, { properties: r = {} } = e, i = r.state === "READY", a = (r == null ? void 0 : r.state) === "MOVING", s = t.disabled || !e.online || !i;
|
|
3960
3960
|
function c(T) {
|
|
3961
3961
|
e.actions.call("move", T);
|
|
@@ -3980,11 +3980,11 @@ function bs(t) {
|
|
|
3980
3980
|
function y() {
|
|
3981
3981
|
return /* @__PURE__ */ m(N, { className: "flex-nowrap", style: { alignItems: "stretch" }, children: [
|
|
3982
3982
|
/* @__PURE__ */ m(
|
|
3983
|
-
|
|
3983
|
+
ys,
|
|
3984
3984
|
{
|
|
3985
3985
|
variant: "secondary",
|
|
3986
3986
|
title: /* @__PURE__ */ n(
|
|
3987
|
-
|
|
3987
|
+
bs,
|
|
3988
3988
|
{
|
|
3989
3989
|
positionId: h,
|
|
3990
3990
|
targetPositionId: f,
|
|
@@ -4020,7 +4020,7 @@ function bs(t) {
|
|
|
4020
4020
|
)
|
|
4021
4021
|
] }),
|
|
4022
4022
|
r.positions.map((T) => /* @__PURE__ */ n(
|
|
4023
|
-
|
|
4023
|
+
vs,
|
|
4024
4024
|
{
|
|
4025
4025
|
currentPositionId: h,
|
|
4026
4026
|
position: T,
|
|
@@ -4061,14 +4061,14 @@ function bs(t) {
|
|
|
4061
4061
|
}
|
|
4062
4062
|
);
|
|
4063
4063
|
}
|
|
4064
|
-
const
|
|
4064
|
+
const $s = {
|
|
4065
4065
|
state: tt,
|
|
4066
|
-
default:
|
|
4067
|
-
default2:
|
|
4068
|
-
},
|
|
4066
|
+
default: ws,
|
|
4067
|
+
default2: _s
|
|
4068
|
+
}, xs = $s, Os = [
|
|
4069
4069
|
"move",
|
|
4070
4070
|
"stop"
|
|
4071
|
-
],
|
|
4071
|
+
], Ss = "beamstop", Cs = "beamstop", Is = !0, Ms = {
|
|
4072
4072
|
position: "OUT",
|
|
4073
4073
|
positions: [
|
|
4074
4074
|
{
|
|
@@ -4101,17 +4101,17 @@ const _s = {
|
|
|
4101
4101
|
}
|
|
4102
4102
|
],
|
|
4103
4103
|
state: "READY"
|
|
4104
|
-
},
|
|
4105
|
-
callables:
|
|
4106
|
-
id:
|
|
4107
|
-
name:
|
|
4108
|
-
online:
|
|
4109
|
-
properties:
|
|
4110
|
-
protocol:
|
|
4111
|
-
require_staff:
|
|
4112
|
-
type:
|
|
4104
|
+
}, Ts = "bliss", As = !1, Es = "multiposition", ks = {
|
|
4105
|
+
callables: Os,
|
|
4106
|
+
id: Ss,
|
|
4107
|
+
name: Cs,
|
|
4108
|
+
online: Is,
|
|
4109
|
+
properties: Ms,
|
|
4110
|
+
protocol: Ts,
|
|
4111
|
+
require_staff: As,
|
|
4112
|
+
type: Es
|
|
4113
4113
|
}, ip = {
|
|
4114
|
-
default:
|
|
4114
|
+
default: ks
|
|
4115
4115
|
};
|
|
4116
4116
|
function ap(t) {
|
|
4117
4117
|
const { name: e, alias: o, useHardwareContext: r } = t, [i, a] = E("empty"), [s, c] = E("READY");
|
|
@@ -4161,11 +4161,11 @@ function St(t) {
|
|
|
4161
4161
|
}, i = r[o] || r.UNKNOWN;
|
|
4162
4162
|
return /* @__PURE__ */ n(V, { state: o, minWidth: 6, variant: i });
|
|
4163
4163
|
}
|
|
4164
|
-
function
|
|
4164
|
+
function Ds(t) {
|
|
4165
4165
|
const { hardware: e } = t;
|
|
4166
4166
|
return /* @__PURE__ */ n(St, { hardware: e });
|
|
4167
4167
|
}
|
|
4168
|
-
function
|
|
4168
|
+
function Fs(t) {
|
|
4169
4169
|
const { hardware: e, options: o = {} } = t, { properties: r } = e, { state: i } = r, a = i === "MOVING", s = i === "READY", c = a ? r.target_magnification || 0 : r.magnification || 0, d = [...r.available_magnifications ?? []];
|
|
4170
4170
|
d.sort((w, g) => w > g ? 1 : g > w ? -1 : 0);
|
|
4171
4171
|
const l = t.disabled || !e.online || !s, f = o.digits || 2;
|
|
@@ -4206,7 +4206,7 @@ function Ds(t) {
|
|
|
4206
4206
|
] })
|
|
4207
4207
|
] });
|
|
4208
4208
|
}
|
|
4209
|
-
function
|
|
4209
|
+
function Rs(t) {
|
|
4210
4210
|
const { hardware: e, options: o = {} } = t, r = e.properties.magnification || 0, i = o.digits || 2, a = !!o.allowtuning;
|
|
4211
4211
|
return /* @__PURE__ */ m(O, { children: [
|
|
4212
4212
|
/* @__PURE__ */ n(Q, { value: r.toFixed(i) }),
|
|
@@ -4308,7 +4308,7 @@ function Ct(t) {
|
|
|
4308
4308
|
)
|
|
4309
4309
|
] });
|
|
4310
4310
|
}
|
|
4311
|
-
function
|
|
4311
|
+
function Ps(t) {
|
|
4312
4312
|
const { hardware: e, options: o = {} } = t, { properties: r } = e, i = r.state === "MOVING", a = r.state === "READY", s = i ? r.target_magnification || 0 : r.magnification || 0, c = t.options.digits || 2;
|
|
4313
4313
|
return /* @__PURE__ */ m(O, { children: [
|
|
4314
4314
|
/* @__PURE__ */ n(
|
|
@@ -4329,7 +4329,7 @@ function Rs(t) {
|
|
|
4329
4329
|
] })
|
|
4330
4330
|
] });
|
|
4331
4331
|
}
|
|
4332
|
-
function
|
|
4332
|
+
function Ls(t) {
|
|
4333
4333
|
return /* @__PURE__ */ n(
|
|
4334
4334
|
F.Control,
|
|
4335
4335
|
{
|
|
@@ -4340,11 +4340,11 @@ function Ps(t) {
|
|
|
4340
4340
|
}
|
|
4341
4341
|
);
|
|
4342
4342
|
}
|
|
4343
|
-
function
|
|
4343
|
+
function Us(t) {
|
|
4344
4344
|
const { hardware: e, options: o = {} } = t, r = /* @__PURE__ */ n(x, { name: "Optic", icon: "fam-hardware-optic", online: e.online }), i = /* @__PURE__ */ n(St, { hardware: e });
|
|
4345
4345
|
function a() {
|
|
4346
4346
|
function c() {
|
|
4347
|
-
return e.online ? e.properties.available_magnifications ?
|
|
4347
|
+
return e.online ? e.properties.available_magnifications ? Fs : e.properties.magnification_range ? Ps : Rs : Ls;
|
|
4348
4348
|
}
|
|
4349
4349
|
const u = c();
|
|
4350
4350
|
return /* @__PURE__ */ m(N, { children: [
|
|
@@ -4367,15 +4367,15 @@ function Ls(t) {
|
|
|
4367
4367
|
function sp(t) {
|
|
4368
4368
|
return t.type === "optic";
|
|
4369
4369
|
}
|
|
4370
|
-
const
|
|
4371
|
-
default:
|
|
4370
|
+
const Vs = {
|
|
4371
|
+
default: Us,
|
|
4372
4372
|
// Override base state
|
|
4373
|
-
state:
|
|
4374
|
-
},
|
|
4373
|
+
state: Ds
|
|
4374
|
+
}, Gs = Vs, Hs = [
|
|
4375
4375
|
"magnification",
|
|
4376
4376
|
"reset",
|
|
4377
4377
|
"open"
|
|
4378
|
-
],
|
|
4378
|
+
], qs = "optic", Ws = "optic", zs = !0, Bs = {
|
|
4379
4379
|
state: "READY",
|
|
4380
4380
|
magnification: 10,
|
|
4381
4381
|
target_magnification: null,
|
|
@@ -4385,15 +4385,15 @@ const Us = {
|
|
|
4385
4385
|
10
|
|
4386
4386
|
],
|
|
4387
4387
|
magnification_range: null
|
|
4388
|
-
},
|
|
4389
|
-
callables:
|
|
4390
|
-
id:
|
|
4391
|
-
name:
|
|
4392
|
-
online:
|
|
4393
|
-
properties:
|
|
4394
|
-
protocol:
|
|
4395
|
-
require_staff:
|
|
4396
|
-
type:
|
|
4388
|
+
}, js = "bliss", Ks = !1, Ys = "optic", ke = {
|
|
4389
|
+
callables: Hs,
|
|
4390
|
+
id: qs,
|
|
4391
|
+
name: Ws,
|
|
4392
|
+
online: zs,
|
|
4393
|
+
properties: Bs,
|
|
4394
|
+
protocol: js,
|
|
4395
|
+
require_staff: Ks,
|
|
4396
|
+
type: Ys
|
|
4397
4397
|
}, cp = {
|
|
4398
4398
|
default: ke,
|
|
4399
4399
|
fixed: ke,
|
|
@@ -4485,11 +4485,11 @@ function qe(t) {
|
|
|
4485
4485
|
}, i = r[o] || r.UNKNOWN;
|
|
4486
4486
|
return /* @__PURE__ */ n(V, { state: o, minWidth: 6, variant: i });
|
|
4487
4487
|
}
|
|
4488
|
-
function
|
|
4488
|
+
function Qs(t) {
|
|
4489
4489
|
const { hardware: e } = t;
|
|
4490
4490
|
return /* @__PURE__ */ n(qe, { hardware: e });
|
|
4491
4491
|
}
|
|
4492
|
-
function
|
|
4492
|
+
function Xs(t) {
|
|
4493
4493
|
const { hardware: e, options: o } = t, r = t.disabled || !e.online, i = e.properties.state === "AWAITING_USER_INPUT", a = e.properties.state === "ABORTING", s = e.properties.state === "RUNNING" || i || a;
|
|
4494
4494
|
function c(d) {
|
|
4495
4495
|
o.foreground ? e.actions.call("run_foreground") : e.actions.call("start");
|
|
@@ -4520,7 +4520,7 @@ function Qs(t) {
|
|
|
4520
4520
|
}
|
|
4521
4521
|
function pt(t) {
|
|
4522
4522
|
const { hardware: e, options: o = {} } = t, r = /* @__PURE__ */ n(x, { name: "Procedure", icon: "fa-cog", online: e.online }), i = /* @__PURE__ */ n(qe, { hardware: e }), a = /* @__PURE__ */ n(K, { children: /* @__PURE__ */ n(
|
|
4523
|
-
|
|
4523
|
+
Xs,
|
|
4524
4524
|
{
|
|
4525
4525
|
hardware: e,
|
|
4526
4526
|
disabled: !t.operator,
|
|
@@ -4538,7 +4538,7 @@ function pt(t) {
|
|
|
4538
4538
|
}
|
|
4539
4539
|
);
|
|
4540
4540
|
}
|
|
4541
|
-
function
|
|
4541
|
+
function Zs(t) {
|
|
4542
4542
|
const { hardware: e } = t, o = e.properties.state === "AWAITING_USER_INPUT", r = e.properties.state === "ABORTING", i = e.properties.state === "RUNNING";
|
|
4543
4543
|
return r ? /* @__PURE__ */ m(P, { bg: "warning", children: [
|
|
4544
4544
|
/* @__PURE__ */ n("i", { className: "fa-solid fa-heart-crack fa-beat" }),
|
|
@@ -4549,9 +4549,9 @@ function Xs(t) {
|
|
|
4549
4549
|
] }) : o ? /* @__PURE__ */ m(P, { bg: "warning", title: "A user input is expected", children: [
|
|
4550
4550
|
/* @__PURE__ */ n("i", { className: "fa-solid fa-user fa-beat" }),
|
|
4551
4551
|
" AWAITING INPUT"
|
|
4552
|
-
] }) : /* @__PURE__ */ n(
|
|
4552
|
+
] }) : /* @__PURE__ */ n(Js, { hardware: e });
|
|
4553
4553
|
}
|
|
4554
|
-
function
|
|
4554
|
+
function Js(t) {
|
|
4555
4555
|
const { hardware: e } = t, { previous_run_state: o, previous_run_exception: r } = e.properties, i = {
|
|
4556
4556
|
NONE: ["secondary", null],
|
|
4557
4557
|
ABORTED: ["warning", "fa-heart-crack"],
|
|
@@ -4567,8 +4567,8 @@ function Zs(t) {
|
|
|
4567
4567
|
o
|
|
4568
4568
|
] });
|
|
4569
4569
|
}
|
|
4570
|
-
function
|
|
4571
|
-
const { hardware: e, options: o = {} } = t, r = /* @__PURE__ */ n(x, { name: "Procedure", icon: "fa-cog", online: e.online }), i = /* @__PURE__ */ n(qe, { hardware: e }), a = /* @__PURE__ */ n(K, { children: /* @__PURE__ */ n("div", { children: /* @__PURE__ */ n("h3", { children: /* @__PURE__ */ n(
|
|
4570
|
+
function ec(t) {
|
|
4571
|
+
const { hardware: e, options: o = {} } = t, r = /* @__PURE__ */ n(x, { name: "Procedure", icon: "fa-cog", online: e.online }), i = /* @__PURE__ */ n(qe, { hardware: e }), a = /* @__PURE__ */ n(K, { children: /* @__PURE__ */ n("div", { children: /* @__PURE__ */ n("h3", { children: /* @__PURE__ */ n(Zs, { hardware: e }) }) }) }), s = o.header || "top";
|
|
4572
4572
|
return /* @__PURE__ */ n(
|
|
4573
4573
|
C,
|
|
4574
4574
|
{
|
|
@@ -4580,7 +4580,7 @@ function Js(t) {
|
|
|
4580
4580
|
}
|
|
4581
4581
|
);
|
|
4582
4582
|
}
|
|
4583
|
-
function
|
|
4583
|
+
function tc(t) {
|
|
4584
4584
|
const { hardware: e } = t, o = t.disabled || !e.online, r = e.properties.state === "AWAITING_USER_INPUT";
|
|
4585
4585
|
function i(a) {
|
|
4586
4586
|
e.actions.call("validate");
|
|
@@ -4595,8 +4595,8 @@ function ec(t) {
|
|
|
4595
4595
|
}
|
|
4596
4596
|
) });
|
|
4597
4597
|
}
|
|
4598
|
-
function
|
|
4599
|
-
const { hardware: e, options: o = {} } = t, r = /* @__PURE__ */ n(x, { name: "Procedure", icon: "fa-cog", online: e.online }), i = /* @__PURE__ */ n(qe, { hardware: e }), a = /* @__PURE__ */ n(K, { children: /* @__PURE__ */ n(
|
|
4598
|
+
function nc(t) {
|
|
4599
|
+
const { hardware: e, options: o = {} } = t, r = /* @__PURE__ */ n(x, { name: "Procedure", icon: "fa-cog", online: e.online }), i = /* @__PURE__ */ n(qe, { hardware: e }), a = /* @__PURE__ */ n(K, { children: /* @__PURE__ */ n(tc, { hardware: e, disabled: !t.operator }) }), s = o.header || "top";
|
|
4600
4600
|
return /* @__PURE__ */ n(
|
|
4601
4601
|
C,
|
|
4602
4602
|
{
|
|
@@ -4608,27 +4608,27 @@ function tc(t) {
|
|
|
4608
4608
|
}
|
|
4609
4609
|
);
|
|
4610
4610
|
}
|
|
4611
|
-
const
|
|
4611
|
+
const oc = {
|
|
4612
4612
|
default: pt,
|
|
4613
4613
|
manage: pt,
|
|
4614
|
-
execution:
|
|
4615
|
-
validate:
|
|
4614
|
+
execution: ec,
|
|
4615
|
+
validate: nc,
|
|
4616
4616
|
// Override base state
|
|
4617
|
-
state:
|
|
4618
|
-
},
|
|
4619
|
-
function
|
|
4617
|
+
state: Qs
|
|
4618
|
+
}, rc = oc;
|
|
4619
|
+
function ic(t) {
|
|
4620
4620
|
return t.type === "procedure";
|
|
4621
4621
|
}
|
|
4622
4622
|
function dp(t) {
|
|
4623
4623
|
const e = Z(t);
|
|
4624
|
-
return e === null || !
|
|
4624
|
+
return e === null || !ic(e) ? null : e;
|
|
4625
4625
|
}
|
|
4626
|
-
const
|
|
4626
|
+
const ac = [
|
|
4627
4627
|
"start",
|
|
4628
4628
|
"abort",
|
|
4629
4629
|
"clear",
|
|
4630
4630
|
"validate"
|
|
4631
|
-
],
|
|
4631
|
+
], sc = "procedure", cc = "procedure", lc = "procedure", dc = "bliss", uc = !1, fc = !0, mc = {
|
|
4632
4632
|
state: "STANDBY",
|
|
4633
4633
|
previous_run_state: "NONE",
|
|
4634
4634
|
previous_run_exception: null,
|
|
@@ -4676,17 +4676,17 @@ const ic = [
|
|
|
4676
4676
|
name: "roby"
|
|
4677
4677
|
}
|
|
4678
4678
|
}
|
|
4679
|
-
},
|
|
4680
|
-
callables:
|
|
4681
|
-
type:
|
|
4682
|
-
id:
|
|
4683
|
-
name:
|
|
4684
|
-
protocol:
|
|
4685
|
-
require_staff:
|
|
4686
|
-
online:
|
|
4687
|
-
properties:
|
|
4679
|
+
}, pc = {
|
|
4680
|
+
callables: ac,
|
|
4681
|
+
type: sc,
|
|
4682
|
+
id: cc,
|
|
4683
|
+
name: lc,
|
|
4684
|
+
protocol: dc,
|
|
4685
|
+
require_staff: uc,
|
|
4686
|
+
online: fc,
|
|
4687
|
+
properties: mc
|
|
4688
4688
|
}, up = {
|
|
4689
|
-
standby:
|
|
4689
|
+
standby: pc
|
|
4690
4690
|
};
|
|
4691
4691
|
function We(t) {
|
|
4692
4692
|
const { hardware: e } = t;
|
|
@@ -4720,11 +4720,11 @@ function We(t) {
|
|
|
4720
4720
|
}
|
|
4721
4721
|
return /* @__PURE__ */ n(V, { state: r, minWidth: 6, variant: i() });
|
|
4722
4722
|
}
|
|
4723
|
-
function
|
|
4723
|
+
function hc(t) {
|
|
4724
4724
|
const { hardware: e } = t;
|
|
4725
4725
|
return /* @__PURE__ */ n(We, { hardware: e, useReadyState: !0 });
|
|
4726
4726
|
}
|
|
4727
|
-
function
|
|
4727
|
+
function gc(t) {
|
|
4728
4728
|
const { hardware: e } = t;
|
|
4729
4729
|
function o() {
|
|
4730
4730
|
e.actions.call("reset");
|
|
@@ -4749,7 +4749,7 @@ function hc(t) {
|
|
|
4749
4749
|
}
|
|
4750
4750
|
);
|
|
4751
4751
|
}
|
|
4752
|
-
function
|
|
4752
|
+
function wc(t) {
|
|
4753
4753
|
const { hardware: e, options: o = {} } = t, r = /* @__PURE__ */ n(
|
|
4754
4754
|
x,
|
|
4755
4755
|
{
|
|
@@ -4786,7 +4786,7 @@ function gc(t) {
|
|
|
4786
4786
|
children: u
|
|
4787
4787
|
}
|
|
4788
4788
|
),
|
|
4789
|
-
o.extended && /* @__PURE__ */ n(
|
|
4789
|
+
o.extended && /* @__PURE__ */ n(gc, { ...t })
|
|
4790
4790
|
] }), w = t.options.header || "top";
|
|
4791
4791
|
return /* @__PURE__ */ n(
|
|
4792
4792
|
C,
|
|
@@ -4799,7 +4799,7 @@ function gc(t) {
|
|
|
4799
4799
|
}
|
|
4800
4800
|
);
|
|
4801
4801
|
}
|
|
4802
|
-
function
|
|
4802
|
+
function yc(t) {
|
|
4803
4803
|
var u;
|
|
4804
4804
|
const { hardware: e, options: o = {} } = t;
|
|
4805
4805
|
function r() {
|
|
@@ -4848,7 +4848,7 @@ function wc(t) {
|
|
|
4848
4848
|
] }) })
|
|
4849
4849
|
] });
|
|
4850
4850
|
}
|
|
4851
|
-
function
|
|
4851
|
+
function vc(t) {
|
|
4852
4852
|
const { hardware: e, options: o = {} } = t, r = /* @__PURE__ */ n(
|
|
4853
4853
|
x,
|
|
4854
4854
|
{
|
|
@@ -4884,7 +4884,7 @@ function yc(t) {
|
|
|
4884
4884
|
value: p
|
|
4885
4885
|
}
|
|
4886
4886
|
),
|
|
4887
|
-
/* @__PURE__ */ n(
|
|
4887
|
+
/* @__PURE__ */ n(yc, { ...t })
|
|
4888
4888
|
] }), w = o.header || "top";
|
|
4889
4889
|
return /* @__PURE__ */ n(
|
|
4890
4890
|
C,
|
|
@@ -4897,7 +4897,7 @@ function yc(t) {
|
|
|
4897
4897
|
}
|
|
4898
4898
|
);
|
|
4899
4899
|
}
|
|
4900
|
-
function
|
|
4900
|
+
function Nc(t) {
|
|
4901
4901
|
const { hardware: e, options: o = {} } = t, { properties: r = {} } = e, { state: i = "OFFLINE", status: a } = r, s = o.name ?? e.alias ?? e.name, c = /* @__PURE__ */ m(be, { children: [
|
|
4902
4902
|
/* @__PURE__ */ n("h1", { children: s }),
|
|
4903
4903
|
/* @__PURE__ */ n(We, { hardware: e })
|
|
@@ -4916,58 +4916,58 @@ function vc(t) {
|
|
|
4916
4916
|
}
|
|
4917
4917
|
return c;
|
|
4918
4918
|
}
|
|
4919
|
-
const
|
|
4920
|
-
default:
|
|
4921
|
-
protected:
|
|
4919
|
+
const bc = {
|
|
4920
|
+
default: wc,
|
|
4921
|
+
protected: vc,
|
|
4922
4922
|
// Override default state
|
|
4923
|
-
state:
|
|
4923
|
+
state: hc,
|
|
4924
4924
|
// Override default monitor
|
|
4925
|
-
monitor:
|
|
4926
|
-
},
|
|
4925
|
+
monitor: Nc
|
|
4926
|
+
}, _c = bc, $c = [
|
|
4927
4927
|
"reset",
|
|
4928
4928
|
"open",
|
|
4929
4929
|
"close",
|
|
4930
4930
|
"toggle"
|
|
4931
|
-
],
|
|
4931
|
+
], xc = "abs1", Oc = "abs1", Sc = !0, Cc = {
|
|
4932
4932
|
closed_text: "",
|
|
4933
4933
|
open_text: "",
|
|
4934
4934
|
state: "OPEN",
|
|
4935
4935
|
status: `Pneumatic Beam Shutter is open
|
|
4936
4936
|
`,
|
|
4937
4937
|
valid: !0
|
|
4938
|
-
},
|
|
4939
|
-
callables:
|
|
4940
|
-
id:
|
|
4941
|
-
name:
|
|
4942
|
-
online:
|
|
4943
|
-
properties:
|
|
4944
|
-
protocol:
|
|
4945
|
-
require_staff:
|
|
4946
|
-
type:
|
|
4947
|
-
},
|
|
4938
|
+
}, Ic = "tango", Mc = !0, Tc = "shutter", Ac = {
|
|
4939
|
+
callables: $c,
|
|
4940
|
+
id: xc,
|
|
4941
|
+
name: Oc,
|
|
4942
|
+
online: Sc,
|
|
4943
|
+
properties: Cc,
|
|
4944
|
+
protocol: Ic,
|
|
4945
|
+
require_staff: Mc,
|
|
4946
|
+
type: Tc
|
|
4947
|
+
}, Ec = [
|
|
4948
4948
|
"reset",
|
|
4949
4949
|
"open",
|
|
4950
4950
|
"close",
|
|
4951
4951
|
"toggle"
|
|
4952
|
-
],
|
|
4952
|
+
], kc = "abs1", Dc = "abs1", Fc = !0, Rc = {
|
|
4953
4953
|
closed_text: "",
|
|
4954
4954
|
open_text: "",
|
|
4955
4955
|
state: "CLOSED",
|
|
4956
4956
|
status: `Pneumatic Beam Shutter is closed
|
|
4957
4957
|
`,
|
|
4958
4958
|
valid: !0
|
|
4959
|
-
},
|
|
4960
|
-
callables:
|
|
4961
|
-
id:
|
|
4962
|
-
name:
|
|
4963
|
-
online:
|
|
4964
|
-
properties:
|
|
4965
|
-
protocol:
|
|
4966
|
-
require_staff:
|
|
4967
|
-
type:
|
|
4959
|
+
}, Pc = "tango", Lc = !0, Uc = "shutter", Vc = {
|
|
4960
|
+
callables: Ec,
|
|
4961
|
+
id: kc,
|
|
4962
|
+
name: Dc,
|
|
4963
|
+
online: Fc,
|
|
4964
|
+
properties: Rc,
|
|
4965
|
+
protocol: Pc,
|
|
4966
|
+
require_staff: Lc,
|
|
4967
|
+
type: Uc
|
|
4968
4968
|
}, fp = {
|
|
4969
|
-
default:
|
|
4970
|
-
closed:
|
|
4969
|
+
default: Ac,
|
|
4970
|
+
closed: Vc
|
|
4971
4971
|
};
|
|
4972
4972
|
function mp(t) {
|
|
4973
4973
|
const { name: e, alias: o, useHardwareContext: r } = t, [i, a] = E("OPEN");
|
|
@@ -5005,7 +5005,7 @@ function mp(t) {
|
|
|
5005
5005
|
}
|
|
5006
5006
|
);
|
|
5007
5007
|
}
|
|
5008
|
-
function
|
|
5008
|
+
function Gc(t) {
|
|
5009
5009
|
var l, f, p, h;
|
|
5010
5010
|
const { properties: e } = t, o = (l = e.vgap) == null ? void 0 : l.slice(9), r = te(o), i = (f = e.hgap) == null ? void 0 : f.slice(9), a = te(i), s = (p = e.voffset) == null ? void 0 : p.slice(9), c = te(s), u = (h = e.hoffset) == null ? void 0 : h.slice(9), d = te(u);
|
|
5011
5011
|
return H(() => {
|
|
@@ -5019,7 +5019,7 @@ function Vc(t) {
|
|
|
5019
5019
|
}, [r, a, c, d]);
|
|
5020
5020
|
}
|
|
5021
5021
|
function It(t) {
|
|
5022
|
-
const { hardware: e } = t, o =
|
|
5022
|
+
const { hardware: e } = t, o = Gc(e), [r, i, a] = H(() => {
|
|
5023
5023
|
if (!e.online)
|
|
5024
5024
|
return ["OFFLINE", "secondary", "No motor online"];
|
|
5025
5025
|
if (o.vgap === null && o.hgap === null && o.voffset === null && o.hoffset === null)
|
|
@@ -5042,11 +5042,11 @@ function It(t) {
|
|
|
5042
5042
|
}
|
|
5043
5043
|
);
|
|
5044
5044
|
}
|
|
5045
|
-
function
|
|
5045
|
+
function Hc(t) {
|
|
5046
5046
|
const { hardware: e } = t;
|
|
5047
5047
|
return /* @__PURE__ */ n(It, { hardware: e });
|
|
5048
5048
|
}
|
|
5049
|
-
function
|
|
5049
|
+
function qc(t) {
|
|
5050
5050
|
var g, y, v, T;
|
|
5051
5051
|
const { properties: e } = t, o = (g = e.vgap) == null ? void 0 : g.slice(9), r = te(o), i = ge(o), a = (y = e.hgap) == null ? void 0 : y.slice(9), s = te(a), c = ge(a), u = (v = e.voffset) == null ? void 0 : v.slice(9), d = te(u), l = ge(u), f = (T = e.hoffset) == null ? void 0 : T.slice(9), p = te(f), h = ge(f);
|
|
5052
5052
|
function w(k, S) {
|
|
@@ -5059,7 +5059,7 @@ function Hc(t) {
|
|
|
5059
5059
|
hoffset: w(p, h)
|
|
5060
5060
|
};
|
|
5061
5061
|
}
|
|
5062
|
-
function
|
|
5062
|
+
function Wc(t) {
|
|
5063
5063
|
const { hardware: e, operator: o, disabled: r, resolved: i } = t;
|
|
5064
5064
|
return /* @__PURE__ */ m(I, { children: [
|
|
5065
5065
|
/* @__PURE__ */ n(I.Toggle, { variant: "secondary" }),
|
|
@@ -5125,8 +5125,8 @@ function qc(t) {
|
|
|
5125
5125
|
] }) })
|
|
5126
5126
|
] });
|
|
5127
5127
|
}
|
|
5128
|
-
function
|
|
5129
|
-
const { hardware: e, options: o = {} } = t, r =
|
|
5128
|
+
function zc(t) {
|
|
5129
|
+
const { hardware: e, options: o = {} } = t, r = qc(e), { readonly: i = !1 } = o;
|
|
5130
5130
|
function a(p) {
|
|
5131
5131
|
var g, y;
|
|
5132
5132
|
const h = ((g = p == null ? void 0 : p.properties) == null ? void 0 : g.position) ?? null;
|
|
@@ -5171,11 +5171,11 @@ function Wc(t) {
|
|
|
5171
5171
|
}
|
|
5172
5172
|
),
|
|
5173
5173
|
/* @__PURE__ */ n(N.Text, { children: l }),
|
|
5174
|
-
!i && /* @__PURE__ */ n(
|
|
5174
|
+
!i && /* @__PURE__ */ n(Wc, { ...t, resolved: r })
|
|
5175
5175
|
] });
|
|
5176
5176
|
}
|
|
5177
|
-
function
|
|
5178
|
-
const { hardware: e, options: o = {} } = t, r = /* @__PURE__ */ n(x, { name: "Slit", icon: "fam-hardware-motor", online: e.online }), i = /* @__PURE__ */ n(It, { hardware: e }), a = /* @__PURE__ */ n(
|
|
5177
|
+
function Bc(t) {
|
|
5178
|
+
const { hardware: e, options: o = {} } = t, r = /* @__PURE__ */ n(x, { name: "Slit", icon: "fam-hardware-motor", online: e.online }), i = /* @__PURE__ */ n(It, { hardware: e }), a = /* @__PURE__ */ n(zc, { ...t }), s = o.header || "top";
|
|
5179
5179
|
return /* @__PURE__ */ n(
|
|
5180
5180
|
C,
|
|
5181
5181
|
{
|
|
@@ -5187,49 +5187,49 @@ function zc(t) {
|
|
|
5187
5187
|
}
|
|
5188
5188
|
);
|
|
5189
5189
|
}
|
|
5190
|
-
const
|
|
5191
|
-
default:
|
|
5190
|
+
const jc = {
|
|
5191
|
+
default: Bc,
|
|
5192
5192
|
// Override default state
|
|
5193
|
-
state:
|
|
5194
|
-
}, pp =
|
|
5193
|
+
state: Hc
|
|
5194
|
+
}, pp = jc, Kc = "s1", Yc = "s1", Qc = !0, Xc = {
|
|
5195
5195
|
vgap: "hardware:s1vg",
|
|
5196
5196
|
voffset: "hardware:s1vo",
|
|
5197
5197
|
hgap: "hardware:s1hg",
|
|
5198
5198
|
hoffset: "hardware:s1ho"
|
|
5199
|
-
},
|
|
5200
|
-
id:
|
|
5201
|
-
name:
|
|
5202
|
-
online:
|
|
5203
|
-
properties:
|
|
5204
|
-
type:
|
|
5205
|
-
},
|
|
5199
|
+
}, Zc = "slit", Jc = {
|
|
5200
|
+
id: Kc,
|
|
5201
|
+
name: Yc,
|
|
5202
|
+
online: Qc,
|
|
5203
|
+
properties: Xc,
|
|
5204
|
+
type: Zc
|
|
5205
|
+
}, el = "s1", tl = "s1", nl = !0, ol = {
|
|
5206
5206
|
vgap: "hardware:",
|
|
5207
5207
|
voffset: "hardware:",
|
|
5208
5208
|
hgap: "hardware:s1hg",
|
|
5209
5209
|
hoffset: "hardware:s1ho"
|
|
5210
|
-
},
|
|
5211
|
-
id:
|
|
5212
|
-
name:
|
|
5213
|
-
online:
|
|
5214
|
-
properties:
|
|
5215
|
-
type:
|
|
5216
|
-
},
|
|
5210
|
+
}, rl = "slit", il = {
|
|
5211
|
+
id: el,
|
|
5212
|
+
name: tl,
|
|
5213
|
+
online: nl,
|
|
5214
|
+
properties: ol,
|
|
5215
|
+
type: rl
|
|
5216
|
+
}, al = "s1", sl = "s1", cl = !0, ll = {
|
|
5217
5217
|
vgap: "hardware:s1vg",
|
|
5218
5218
|
voffset: "hardware:s1vo",
|
|
5219
5219
|
hgap: "hardware:",
|
|
5220
5220
|
hoffset: "hardware:"
|
|
5221
|
-
},
|
|
5222
|
-
id:
|
|
5223
|
-
name:
|
|
5224
|
-
online:
|
|
5225
|
-
properties:
|
|
5226
|
-
type:
|
|
5221
|
+
}, dl = "slit", ul = {
|
|
5222
|
+
id: al,
|
|
5223
|
+
name: sl,
|
|
5224
|
+
online: cl,
|
|
5225
|
+
properties: ll,
|
|
5226
|
+
type: dl
|
|
5227
5227
|
}, hp = {
|
|
5228
|
-
default:
|
|
5229
|
-
horizontal:
|
|
5230
|
-
vertical:
|
|
5228
|
+
default: Jc,
|
|
5229
|
+
horizontal: il,
|
|
5230
|
+
vertical: ul
|
|
5231
5231
|
};
|
|
5232
|
-
function
|
|
5232
|
+
function fl(t) {
|
|
5233
5233
|
const { hardware: e } = t, o = () => {
|
|
5234
5234
|
e.actions.call(
|
|
5235
5235
|
e.properties.state === "ON" ? "off" : "on"
|
|
@@ -5274,7 +5274,7 @@ function ul(t) {
|
|
|
5274
5274
|
}
|
|
5275
5275
|
);
|
|
5276
5276
|
}
|
|
5277
|
-
function
|
|
5277
|
+
function ml(t) {
|
|
5278
5278
|
const { hardware: e, options: o = {} } = t;
|
|
5279
5279
|
return /* @__PURE__ */ m("div", { className: "hw-component", children: [
|
|
5280
5280
|
/* @__PURE__ */ m("div", { className: "hw-head", children: [
|
|
@@ -5300,16 +5300,16 @@ function fl(t) {
|
|
|
5300
5300
|
}
|
|
5301
5301
|
),
|
|
5302
5302
|
(e.properties.unit || o.unit) && /* @__PURE__ */ n(N.Text, { children: e.properties.unit || o.unit }),
|
|
5303
|
-
/* @__PURE__ */ n(
|
|
5303
|
+
/* @__PURE__ */ n(fl, { ...t })
|
|
5304
5304
|
] }) })
|
|
5305
5305
|
] });
|
|
5306
5306
|
}
|
|
5307
|
-
const
|
|
5308
|
-
default:
|
|
5309
|
-
},
|
|
5307
|
+
const pl = {
|
|
5308
|
+
default: ml
|
|
5309
|
+
}, hl = pl, gl = [
|
|
5310
5310
|
"off",
|
|
5311
5311
|
"on"
|
|
5312
|
-
],
|
|
5312
|
+
], wl = "ip121", yl = "ip121", vl = !0, Nl = {
|
|
5313
5313
|
current: 3000000142492354e-19,
|
|
5314
5314
|
pressure: 26000000730164174e-23,
|
|
5315
5315
|
state: "ON",
|
|
@@ -5319,17 +5319,17 @@ ID21/v-var-ctrl/121 - Serial line OK
|
|
|
5319
5319
|
Pump size: 75-55-40 SC/T
|
|
5320
5320
|
`,
|
|
5321
5321
|
voltage: 6998
|
|
5322
|
-
},
|
|
5323
|
-
callables:
|
|
5324
|
-
id:
|
|
5325
|
-
name:
|
|
5326
|
-
online:
|
|
5327
|
-
properties:
|
|
5328
|
-
protocol:
|
|
5329
|
-
require_staff:
|
|
5330
|
-
type:
|
|
5322
|
+
}, bl = "tango", _l = !0, $l = "pump", xl = {
|
|
5323
|
+
callables: gl,
|
|
5324
|
+
id: wl,
|
|
5325
|
+
name: yl,
|
|
5326
|
+
online: vl,
|
|
5327
|
+
properties: Nl,
|
|
5328
|
+
protocol: bl,
|
|
5329
|
+
require_staff: _l,
|
|
5330
|
+
type: $l
|
|
5331
5331
|
}, gp = {
|
|
5332
|
-
default:
|
|
5332
|
+
default: xl
|
|
5333
5333
|
};
|
|
5334
5334
|
function Mt(t) {
|
|
5335
5335
|
const { hardware: e } = t, o = e.online ? e.properties.state : "OFFLINE", r = {
|
|
@@ -5343,7 +5343,7 @@ function Mt(t) {
|
|
|
5343
5343
|
}, i = r[o] || r.UNKNOWN;
|
|
5344
5344
|
return /* @__PURE__ */ n(V, { state: o, minWidth: 6, variant: i });
|
|
5345
5345
|
}
|
|
5346
|
-
function
|
|
5346
|
+
function Ol(t) {
|
|
5347
5347
|
const { hardware: e } = t;
|
|
5348
5348
|
return /* @__PURE__ */ n(Mt, { hardware: e });
|
|
5349
5349
|
}
|
|
@@ -5397,7 +5397,7 @@ function Fe(t) {
|
|
|
5397
5397
|
}
|
|
5398
5398
|
);
|
|
5399
5399
|
}
|
|
5400
|
-
function
|
|
5400
|
+
function Sl(t) {
|
|
5401
5401
|
const { className: e, hardware: o, options: r = {}, style: i = {}, leftToRight: a } = t, { state: s } = o.properties ?? "OFFLINE", u = !(s === "IN_TOUCH") || t.disabled;
|
|
5402
5402
|
function d(l) {
|
|
5403
5403
|
const { distance: f, style: p } = l;
|
|
@@ -5521,7 +5521,7 @@ function Ol(t) {
|
|
|
5521
5521
|
}
|
|
5522
5522
|
);
|
|
5523
5523
|
}
|
|
5524
|
-
function
|
|
5524
|
+
function Cl(t) {
|
|
5525
5525
|
const { hardware: e, options: o, disabled: r, leftToRight: i } = t, { state: a } = e.properties ?? "OFFLINE", s = a === "RETRACTED", c = a === "IN_TOUCH", u = a === "LOST", [d, l] = E(!1);
|
|
5526
5526
|
function f() {
|
|
5527
5527
|
return s ? i ? "ms-0" : "ms-auto" : c ? i ? "ms-auto" : "ms-0" : "mx-auto";
|
|
@@ -5545,7 +5545,7 @@ function Sl(t) {
|
|
|
5545
5545
|
}
|
|
5546
5546
|
),
|
|
5547
5547
|
/* @__PURE__ */ n(
|
|
5548
|
-
|
|
5548
|
+
Sl,
|
|
5549
5549
|
{
|
|
5550
5550
|
className: p,
|
|
5551
5551
|
...t,
|
|
@@ -5611,7 +5611,7 @@ function Sl(t) {
|
|
|
5611
5611
|
}
|
|
5612
5612
|
);
|
|
5613
5613
|
}
|
|
5614
|
-
function
|
|
5614
|
+
function Il(t) {
|
|
5615
5615
|
const { hardware: e, options: o = {} } = t, r = (o.orientation ?? "left-right") === "left-right", i = /* @__PURE__ */ n(
|
|
5616
5616
|
x,
|
|
5617
5617
|
{
|
|
@@ -5621,7 +5621,7 @@ function Cl(t) {
|
|
|
5621
5621
|
}
|
|
5622
5622
|
), a = /* @__PURE__ */ n(Mt, { hardware: e });
|
|
5623
5623
|
function s() {
|
|
5624
|
-
return /* @__PURE__ */ n(
|
|
5624
|
+
return /* @__PURE__ */ n(Cl, { ...t, leftToRight: r });
|
|
5625
5625
|
}
|
|
5626
5626
|
const c = o.header || "top";
|
|
5627
5627
|
return /* @__PURE__ */ n(
|
|
@@ -5635,28 +5635,28 @@ function Cl(t) {
|
|
|
5635
5635
|
}
|
|
5636
5636
|
);
|
|
5637
5637
|
}
|
|
5638
|
-
const
|
|
5639
|
-
default:
|
|
5638
|
+
const Ml = {
|
|
5639
|
+
default: Il,
|
|
5640
5640
|
// Override base state
|
|
5641
|
-
state:
|
|
5642
|
-
},
|
|
5641
|
+
state: Ol
|
|
5642
|
+
}, Tl = Ml, Al = [
|
|
5643
5643
|
"move_in",
|
|
5644
5644
|
"move_out",
|
|
5645
5645
|
"push",
|
|
5646
5646
|
"sync_hard"
|
|
5647
|
-
],
|
|
5647
|
+
], El = "pusher", kl = "pusher", Dl = !0, Fl = {
|
|
5648
5648
|
state: "RETRACTED"
|
|
5649
|
-
},
|
|
5650
|
-
callables:
|
|
5651
|
-
id:
|
|
5652
|
-
name:
|
|
5653
|
-
online:
|
|
5654
|
-
properties:
|
|
5655
|
-
protocol:
|
|
5656
|
-
require_staff:
|
|
5657
|
-
type:
|
|
5649
|
+
}, Rl = "bliss", Pl = !1, Ll = "pusher", Ul = {
|
|
5650
|
+
callables: Al,
|
|
5651
|
+
id: El,
|
|
5652
|
+
name: kl,
|
|
5653
|
+
online: Dl,
|
|
5654
|
+
properties: Fl,
|
|
5655
|
+
protocol: Rl,
|
|
5656
|
+
require_staff: Pl,
|
|
5657
|
+
type: Ll
|
|
5658
5658
|
}, wp = {
|
|
5659
|
-
default:
|
|
5659
|
+
default: Ul
|
|
5660
5660
|
};
|
|
5661
5661
|
function yp(t) {
|
|
5662
5662
|
const { name: e, alias: o, useHardwareContext: r } = t, [i, a] = E("RETRACTED");
|
|
@@ -5705,11 +5705,11 @@ function nt(t) {
|
|
|
5705
5705
|
}, i = r[o] || r.UNKNOWN;
|
|
5706
5706
|
return /* @__PURE__ */ n(V, { state: o, minWidth: 6, variant: i });
|
|
5707
5707
|
}
|
|
5708
|
-
function
|
|
5708
|
+
function Vl(t) {
|
|
5709
5709
|
const { hardware: e } = t;
|
|
5710
5710
|
return /* @__PURE__ */ n(nt, { hardware: e });
|
|
5711
5711
|
}
|
|
5712
|
-
function
|
|
5712
|
+
function Gl(t) {
|
|
5713
5713
|
const { hardware: e, options: o = {} } = t, r = /* @__PURE__ */ n(x, { name: "Shutter", icon: "fa-cog", online: e.online }), i = /* @__PURE__ */ n(nt, { hardware: e });
|
|
5714
5714
|
function a() {
|
|
5715
5715
|
e.actions.call("start");
|
|
@@ -5803,7 +5803,7 @@ function Vl(t) {
|
|
|
5803
5803
|
}
|
|
5804
5804
|
);
|
|
5805
5805
|
}
|
|
5806
|
-
function
|
|
5806
|
+
function Hl(t) {
|
|
5807
5807
|
var u;
|
|
5808
5808
|
const { hardware: e, options: o = {} } = t;
|
|
5809
5809
|
function r() {
|
|
@@ -5884,7 +5884,7 @@ function Gl(t) {
|
|
|
5884
5884
|
}
|
|
5885
5885
|
);
|
|
5886
5886
|
}
|
|
5887
|
-
function
|
|
5887
|
+
function ql(t) {
|
|
5888
5888
|
const { hardware: e, options: o = {} } = t, r = /* @__PURE__ */ n(x, { name: "Shutter", icon: "fa-cog", online: e.online }), i = /* @__PURE__ */ n(nt, { hardware: e });
|
|
5889
5889
|
function a() {
|
|
5890
5890
|
return e.properties ? e.properties.state : "UNKNOWN";
|
|
@@ -5912,7 +5912,7 @@ function Hl(t) {
|
|
|
5912
5912
|
className: "text-center"
|
|
5913
5913
|
}
|
|
5914
5914
|
),
|
|
5915
|
-
/* @__PURE__ */ n(
|
|
5915
|
+
/* @__PURE__ */ n(Hl, { ...t })
|
|
5916
5916
|
] }), p = o.header || "top";
|
|
5917
5917
|
return /* @__PURE__ */ n(
|
|
5918
5918
|
C,
|
|
@@ -5925,28 +5925,28 @@ function Hl(t) {
|
|
|
5925
5925
|
}
|
|
5926
5926
|
);
|
|
5927
5927
|
}
|
|
5928
|
-
const
|
|
5929
|
-
default:
|
|
5930
|
-
protected:
|
|
5928
|
+
const Wl = {
|
|
5929
|
+
default: Gl,
|
|
5930
|
+
protected: ql,
|
|
5931
5931
|
// Override base state
|
|
5932
|
-
state:
|
|
5933
|
-
},
|
|
5932
|
+
state: Vl
|
|
5933
|
+
}, zl = Wl, Bl = [
|
|
5934
5934
|
"start",
|
|
5935
5935
|
"stop",
|
|
5936
5936
|
"restart"
|
|
5937
|
-
],
|
|
5937
|
+
], jl = "service1", Kl = "service1", Yl = !0, Ql = {
|
|
5938
5938
|
state: "RUNNING"
|
|
5939
|
-
},
|
|
5940
|
-
callables:
|
|
5941
|
-
id:
|
|
5942
|
-
name:
|
|
5943
|
-
online:
|
|
5944
|
-
properties:
|
|
5945
|
-
protocol:
|
|
5946
|
-
require_staff:
|
|
5947
|
-
type:
|
|
5939
|
+
}, Xl = "multivisor", Zl = !0, Jl = "service", ed = {
|
|
5940
|
+
callables: Bl,
|
|
5941
|
+
id: jl,
|
|
5942
|
+
name: Kl,
|
|
5943
|
+
online: Yl,
|
|
5944
|
+
properties: Ql,
|
|
5945
|
+
protocol: Xl,
|
|
5946
|
+
require_staff: Zl,
|
|
5947
|
+
type: Jl
|
|
5948
5948
|
}, vp = {
|
|
5949
|
-
default:
|
|
5949
|
+
default: ed
|
|
5950
5950
|
};
|
|
5951
5951
|
function ze(t) {
|
|
5952
5952
|
const { hardware: e } = t, o = e.online ? e.properties.state : "OFFLINE", r = {
|
|
@@ -5974,22 +5974,22 @@ function ze(t) {
|
|
|
5974
5974
|
}
|
|
5975
5975
|
);
|
|
5976
5976
|
}
|
|
5977
|
-
function
|
|
5977
|
+
function td(t) {
|
|
5978
5978
|
const { hardware: e } = t;
|
|
5979
5979
|
return /* @__PURE__ */ n(ze, { hardware: e });
|
|
5980
5980
|
}
|
|
5981
|
-
function
|
|
5981
|
+
function nd(t) {
|
|
5982
5982
|
const { motion: e } = t, r = e.axisRef.slice(9), i = te(r), a = (i == null ? void 0 : i.alias) ?? (i == null ? void 0 : i.name) ?? (i == null ? void 0 : i.id) ?? r;
|
|
5983
5983
|
return /* @__PURE__ */ n("div", { className: "my-auto", children: a });
|
|
5984
5984
|
}
|
|
5985
|
-
function
|
|
5985
|
+
function od(t) {
|
|
5986
5986
|
const { motion: e, actions: o, disabled: r } = t, i = e.axisRef;
|
|
5987
5987
|
function a() {
|
|
5988
5988
|
o.call("update_axis", { axis_ref: i });
|
|
5989
5989
|
}
|
|
5990
5990
|
return /* @__PURE__ */ n(b, { variant: "danger", onClick: a, disabled: r, children: /* @__PURE__ */ n("i", { className: "fa fa-trash" }) });
|
|
5991
5991
|
}
|
|
5992
|
-
function
|
|
5992
|
+
function rd(t) {
|
|
5993
5993
|
const { motion: e, actions: o, axisRef: r, disabled: i } = t, a = H(() => {
|
|
5994
5994
|
for (const l of e)
|
|
5995
5995
|
if (l.axisRef === r)
|
|
@@ -6016,7 +6016,7 @@ function od(t) {
|
|
|
6016
6016
|
}
|
|
6017
6017
|
);
|
|
6018
6018
|
}
|
|
6019
|
-
function
|
|
6019
|
+
function id(t) {
|
|
6020
6020
|
var g;
|
|
6021
6021
|
const { motion: e, actions: o } = t, r = e.axisRef, i = e.absolute_position ?? e.relative_position ?? 0, a = r.slice(9), s = te(a), c = t.disabled || !(s != null && s.online), u = W(null), [d, l] = E(!1), f = 3, p = ((g = s == null ? void 0 : s.properties) == null ? void 0 : g.unit) ?? "";
|
|
6022
6022
|
function h(y) {
|
|
@@ -6058,7 +6058,7 @@ function rd(t) {
|
|
|
6058
6058
|
/* @__PURE__ */ n(N.Text, { children: p })
|
|
6059
6059
|
] });
|
|
6060
6060
|
}
|
|
6061
|
-
function
|
|
6061
|
+
function ad(t) {
|
|
6062
6062
|
const { actions: e, motion: o, disabled: r } = t;
|
|
6063
6063
|
function i() {
|
|
6064
6064
|
e.call("update_axis", {
|
|
@@ -6093,7 +6093,7 @@ function id(t) {
|
|
|
6093
6093
|
)
|
|
6094
6094
|
] });
|
|
6095
6095
|
}
|
|
6096
|
-
function
|
|
6096
|
+
function sd(t) {
|
|
6097
6097
|
const { hardware: e, options: o = {}, disabled: r } = t, { properties: i = {} } = e, a = Tt(e), s = /* @__PURE__ */ n(
|
|
6098
6098
|
x,
|
|
6099
6099
|
{
|
|
@@ -6121,7 +6121,7 @@ function ad(t) {
|
|
|
6121
6121
|
/* @__PURE__ */ m(A, { className: "mt-1", children: [
|
|
6122
6122
|
/* @__PURE__ */ n(_, { xs: 3, children: "Available axes" }),
|
|
6123
6123
|
/* @__PURE__ */ n(_, { xs: 9, children: i.available_axes.map((l) => /* @__PURE__ */ n(
|
|
6124
|
-
|
|
6124
|
+
rd,
|
|
6125
6125
|
{
|
|
6126
6126
|
axisRef: l,
|
|
6127
6127
|
motion: i.motion,
|
|
@@ -6147,9 +6147,9 @@ function ad(t) {
|
|
|
6147
6147
|
/* @__PURE__ */ n("div", { children: "Displacement" }),
|
|
6148
6148
|
/* @__PURE__ */ n("div", {}),
|
|
6149
6149
|
i.motion.map((l, f) => /* @__PURE__ */ m(wt, { children: [
|
|
6150
|
-
/* @__PURE__ */ n(
|
|
6150
|
+
/* @__PURE__ */ n(nd, { motion: l }),
|
|
6151
6151
|
/* @__PURE__ */ n(
|
|
6152
|
-
|
|
6152
|
+
ad,
|
|
6153
6153
|
{
|
|
6154
6154
|
motion: l,
|
|
6155
6155
|
actions: e.actions,
|
|
@@ -6157,7 +6157,7 @@ function ad(t) {
|
|
|
6157
6157
|
}
|
|
6158
6158
|
),
|
|
6159
6159
|
/* @__PURE__ */ n(
|
|
6160
|
-
|
|
6160
|
+
id,
|
|
6161
6161
|
{
|
|
6162
6162
|
motion: l,
|
|
6163
6163
|
actions: e.actions,
|
|
@@ -6165,7 +6165,7 @@ function ad(t) {
|
|
|
6165
6165
|
}
|
|
6166
6166
|
),
|
|
6167
6167
|
/* @__PURE__ */ n(
|
|
6168
|
-
|
|
6168
|
+
od,
|
|
6169
6169
|
{
|
|
6170
6170
|
motion: l,
|
|
6171
6171
|
actions: e.actions,
|
|
@@ -6189,7 +6189,7 @@ function ad(t) {
|
|
|
6189
6189
|
}
|
|
6190
6190
|
);
|
|
6191
6191
|
}
|
|
6192
|
-
function
|
|
6192
|
+
function cd(t) {
|
|
6193
6193
|
var S;
|
|
6194
6194
|
const { motion: e, actions: o } = t, r = e.axisRef, i = e.absolute_position ?? e.relative_position ?? 0, a = r.slice(9), s = te(a), c = t.disabled || !(s != null && s.online), u = W(null), [d, l] = E(!1), f = 3, p = ((S = s == null ? void 0 : s.properties) == null ? void 0 : S.unit) ?? "", h = (s == null ? void 0 : s.alias) ?? (s == null ? void 0 : s.name) ?? (s == null ? void 0 : s.id) ?? "none";
|
|
6195
6195
|
function w($) {
|
|
@@ -6253,7 +6253,7 @@ function sd(t) {
|
|
|
6253
6253
|
/* @__PURE__ */ n(N.Text, { children: p })
|
|
6254
6254
|
] });
|
|
6255
6255
|
}
|
|
6256
|
-
function
|
|
6256
|
+
function ld(t) {
|
|
6257
6257
|
const { hardware: e, options: o = {}, disabled: r } = t, { properties: i = {} } = e, a = Tt(e), s = /* @__PURE__ */ n(
|
|
6258
6258
|
x,
|
|
6259
6259
|
{
|
|
@@ -6264,7 +6264,7 @@ function cd(t) {
|
|
|
6264
6264
|
), c = /* @__PURE__ */ n(ze, { hardware: e }), u = /* @__PURE__ */ m(O, { children: [
|
|
6265
6265
|
i.motion.length === 0 && /* @__PURE__ */ n(le, { variant: "danger", className: "mb-0", children: "No flat motion defined" }),
|
|
6266
6266
|
i.motion.length > 0 && /* @__PURE__ */ n(Pe, { direction: "vertical", children: i.motion.map((l, f) => /* @__PURE__ */ n(
|
|
6267
|
-
|
|
6267
|
+
cd,
|
|
6268
6268
|
{
|
|
6269
6269
|
actions: e.actions,
|
|
6270
6270
|
motion: l,
|
|
@@ -6284,7 +6284,7 @@ function cd(t) {
|
|
|
6284
6284
|
}
|
|
6285
6285
|
);
|
|
6286
6286
|
}
|
|
6287
|
-
function
|
|
6287
|
+
function dd(t) {
|
|
6288
6288
|
const { hardware: e, options: o = {}, disabled: r } = t, { properties: i } = e, { state: a = "UNKNOWN" } = i, s = /* @__PURE__ */ n(
|
|
6289
6289
|
x,
|
|
6290
6290
|
{
|
|
@@ -6326,19 +6326,19 @@ function ld(t) {
|
|
|
6326
6326
|
}
|
|
6327
6327
|
);
|
|
6328
6328
|
}
|
|
6329
|
-
const
|
|
6330
|
-
default:
|
|
6331
|
-
small:
|
|
6329
|
+
const ud = {
|
|
6330
|
+
default: sd,
|
|
6331
|
+
small: ld,
|
|
6332
6332
|
// Override base state
|
|
6333
|
-
state:
|
|
6334
|
-
sample_location:
|
|
6335
|
-
},
|
|
6336
|
-
function
|
|
6333
|
+
state: td,
|
|
6334
|
+
sample_location: dd
|
|
6335
|
+
}, fd = ud;
|
|
6336
|
+
function md(t) {
|
|
6337
6337
|
return t.type === "tomoflatmotion";
|
|
6338
6338
|
}
|
|
6339
6339
|
function Np(t) {
|
|
6340
6340
|
const e = Z(t);
|
|
6341
|
-
return e === null || !
|
|
6341
|
+
return e === null || !md(e) ? null : e;
|
|
6342
6342
|
}
|
|
6343
6343
|
function Tt(t) {
|
|
6344
6344
|
const { properties: e = {} } = t, { state: o = "UNKNOWN" } = e;
|
|
@@ -6348,7 +6348,7 @@ function Tt(t) {
|
|
|
6348
6348
|
"READY"
|
|
6349
6349
|
].includes(o);
|
|
6350
6350
|
}
|
|
6351
|
-
const
|
|
6351
|
+
const pd = "tomoflatmotion", hd = "tomoflatmotion", gd = !0, wd = {
|
|
6352
6352
|
state: "READY",
|
|
6353
6353
|
settle_time: 2,
|
|
6354
6354
|
power_onoff: !1,
|
|
@@ -6364,20 +6364,20 @@ const md = "tomoflatmotion", pd = "tomoflatmotion", hd = !0, gd = {
|
|
|
6364
6364
|
relative_position: 1
|
|
6365
6365
|
}
|
|
6366
6366
|
]
|
|
6367
|
-
},
|
|
6368
|
-
id:
|
|
6369
|
-
name:
|
|
6370
|
-
online:
|
|
6371
|
-
properties:
|
|
6372
|
-
protocol:
|
|
6373
|
-
require_staff:
|
|
6374
|
-
type:
|
|
6375
|
-
},
|
|
6367
|
+
}, yd = "bliss", vd = !1, Nd = "tomoflatmotion", bd = {
|
|
6368
|
+
id: pd,
|
|
6369
|
+
name: hd,
|
|
6370
|
+
online: gd,
|
|
6371
|
+
properties: wd,
|
|
6372
|
+
protocol: yd,
|
|
6373
|
+
require_staff: vd,
|
|
6374
|
+
type: Nd
|
|
6375
|
+
}, _d = [
|
|
6376
6376
|
"move",
|
|
6377
6377
|
"stop",
|
|
6378
6378
|
"wait",
|
|
6379
6379
|
"rmove"
|
|
6380
|
-
],
|
|
6380
|
+
], $d = "sy", xd = "sy", Od = !0, Sd = {
|
|
6381
6381
|
offset: 0,
|
|
6382
6382
|
sign: 1,
|
|
6383
6383
|
acceleration: 300,
|
|
@@ -6393,22 +6393,22 @@ const md = "tomoflatmotion", pd = "tomoflatmotion", hd = !0, gd = {
|
|
|
6393
6393
|
unit: "um",
|
|
6394
6394
|
velocity: 1e3,
|
|
6395
6395
|
display_digits: 4
|
|
6396
|
-
},
|
|
6397
|
-
callables:
|
|
6398
|
-
id:
|
|
6399
|
-
name:
|
|
6400
|
-
online:
|
|
6401
|
-
properties:
|
|
6402
|
-
protocol:
|
|
6403
|
-
require_staff:
|
|
6404
|
-
type:
|
|
6405
|
-
user_tags:
|
|
6406
|
-
},
|
|
6396
|
+
}, Cd = "bliss", Id = !1, Md = "motor", Td = [], Ad = {
|
|
6397
|
+
callables: _d,
|
|
6398
|
+
id: $d,
|
|
6399
|
+
name: xd,
|
|
6400
|
+
online: Od,
|
|
6401
|
+
properties: Sd,
|
|
6402
|
+
protocol: Cd,
|
|
6403
|
+
require_staff: Id,
|
|
6404
|
+
type: Md,
|
|
6405
|
+
user_tags: Td
|
|
6406
|
+
}, Ed = [
|
|
6407
6407
|
"move",
|
|
6408
6408
|
"stop",
|
|
6409
6409
|
"wait",
|
|
6410
6410
|
"rmove"
|
|
6411
|
-
],
|
|
6411
|
+
], kd = "sy2", Dd = "sy2", Fd = !0, Rd = {
|
|
6412
6412
|
offset: 0,
|
|
6413
6413
|
sign: 1,
|
|
6414
6414
|
acceleration: 300,
|
|
@@ -6424,20 +6424,20 @@ const md = "tomoflatmotion", pd = "tomoflatmotion", hd = !0, gd = {
|
|
|
6424
6424
|
unit: "um",
|
|
6425
6425
|
velocity: 1e3,
|
|
6426
6426
|
display_digits: 4
|
|
6427
|
-
},
|
|
6428
|
-
callables:
|
|
6429
|
-
id:
|
|
6430
|
-
name:
|
|
6431
|
-
online:
|
|
6432
|
-
properties:
|
|
6433
|
-
protocol:
|
|
6434
|
-
require_staff:
|
|
6435
|
-
type:
|
|
6436
|
-
user_tags:
|
|
6427
|
+
}, Pd = "bliss", Ld = !1, Ud = "motor", Vd = [], Gd = {
|
|
6428
|
+
callables: Ed,
|
|
6429
|
+
id: kd,
|
|
6430
|
+
name: Dd,
|
|
6431
|
+
online: Fd,
|
|
6432
|
+
properties: Rd,
|
|
6433
|
+
protocol: Pd,
|
|
6434
|
+
require_staff: Ld,
|
|
6435
|
+
type: Ud,
|
|
6436
|
+
user_tags: Vd
|
|
6437
6437
|
}, bp = {
|
|
6438
|
-
default:
|
|
6439
|
-
sy:
|
|
6440
|
-
sy2:
|
|
6438
|
+
default: bd,
|
|
6439
|
+
sy: Ad,
|
|
6440
|
+
sy2: Gd
|
|
6441
6441
|
};
|
|
6442
6442
|
function _p(t) {
|
|
6443
6443
|
const { name: e, alias: o, useHardwareContext: r } = t, [i, a] = E({
|
|
@@ -6505,7 +6505,7 @@ function _p(t) {
|
|
|
6505
6505
|
}
|
|
6506
6506
|
);
|
|
6507
6507
|
}
|
|
6508
|
-
function
|
|
6508
|
+
function Hd(t) {
|
|
6509
6509
|
const { hardware: e, options: o = {}, disabled: r } = t, { actions: i } = e, { label: a } = o, [s, c] = E(void 0), [u, d] = E(!1), l = /* @__PURE__ */ n(
|
|
6510
6510
|
x,
|
|
6511
6511
|
{
|
|
@@ -6549,9 +6549,9 @@ function Gd(t) {
|
|
|
6549
6549
|
function $p(t) {
|
|
6550
6550
|
return t.type === "tomoreferenceposition";
|
|
6551
6551
|
}
|
|
6552
|
-
const
|
|
6553
|
-
default:
|
|
6554
|
-
},
|
|
6552
|
+
const qd = {
|
|
6553
|
+
default: Hd
|
|
6554
|
+
}, Wd = qd;
|
|
6555
6555
|
function Be(t) {
|
|
6556
6556
|
const { hardware: e } = t, { online: o, locked: r = null } = e, i = o ? (r !== null ? "LOCKED" : e.properties.state) || "UNKNOWN" : "OFFLINE", a = {
|
|
6557
6557
|
UNKNOWN: "danger",
|
|
@@ -6564,11 +6564,11 @@ function Be(t) {
|
|
|
6564
6564
|
}, s = a[i] || a.UNKNOWN;
|
|
6565
6565
|
return /* @__PURE__ */ n(V, { state: i, minWidth: 6, variant: s });
|
|
6566
6566
|
}
|
|
6567
|
-
function
|
|
6567
|
+
function zd(t) {
|
|
6568
6568
|
const { hardware: e } = t;
|
|
6569
6569
|
return /* @__PURE__ */ n(Be, { hardware: e });
|
|
6570
6570
|
}
|
|
6571
|
-
function
|
|
6571
|
+
function Bd(t) {
|
|
6572
6572
|
const { hardware: e, options: o = {} } = t;
|
|
6573
6573
|
function r(a) {
|
|
6574
6574
|
return e.actions ? e.actions.setProperty("sample_pixel_size_mode", a) : console.error("Change request was triggered with:", a), null;
|
|
@@ -6601,7 +6601,7 @@ function zd(t) {
|
|
|
6601
6601
|
)
|
|
6602
6602
|
] }) });
|
|
6603
6603
|
}
|
|
6604
|
-
function
|
|
6604
|
+
function jd(t) {
|
|
6605
6605
|
const { hardware: e, options: o = {} } = t, r = e.properties.user_sample_pixel_size || 0, { state: i } = e.properties, a = i === "READY";
|
|
6606
6606
|
function s(c) {
|
|
6607
6607
|
return e.actions ? e.actions.setProperty("user_sample_pixel_size", c) : console.error("Change request was triggered with:", c), null;
|
|
@@ -6618,22 +6618,22 @@ function Bd(t) {
|
|
|
6618
6618
|
}
|
|
6619
6619
|
);
|
|
6620
6620
|
}
|
|
6621
|
-
function
|
|
6621
|
+
function Kd(t) {
|
|
6622
6622
|
const { hardware: e, options: o = {} } = t;
|
|
6623
6623
|
return e.properties.state, /* @__PURE__ */ m(I, { children: [
|
|
6624
6624
|
/* @__PURE__ */ n(I.Toggle, { disabled: t.disabled, variant: "secondary" }),
|
|
6625
6625
|
/* @__PURE__ */ n(I.Menu, { popperConfig: { strategy: "fixed" }, children: /* @__PURE__ */ m(K, { children: [
|
|
6626
6626
|
/* @__PURE__ */ n(A, { children: /* @__PURE__ */ n(_, { className: "text-center", children: "Mode" }) }),
|
|
6627
|
-
/* @__PURE__ */ n(A, { children: /* @__PURE__ */ n(_, { children: /* @__PURE__ */ n(
|
|
6627
|
+
/* @__PURE__ */ n(A, { children: /* @__PURE__ */ n(_, { children: /* @__PURE__ */ n(Bd, { ...t, style: { width: "100%" } }) }) }),
|
|
6628
6628
|
/* @__PURE__ */ n(A, { children: /* @__PURE__ */ n(_, { className: "text-center mt-1", children: "User pixel size" }) }),
|
|
6629
6629
|
/* @__PURE__ */ n(A, { children: /* @__PURE__ */ n(_, { children: /* @__PURE__ */ m(N, { children: [
|
|
6630
|
-
/* @__PURE__ */ n(
|
|
6630
|
+
/* @__PURE__ */ n(jd, { ...t }),
|
|
6631
6631
|
/* @__PURE__ */ n(N.Text, { children: "um" })
|
|
6632
6632
|
] }) }) })
|
|
6633
6633
|
] }) })
|
|
6634
6634
|
] });
|
|
6635
6635
|
}
|
|
6636
|
-
function
|
|
6636
|
+
function Yd(t, e, o) {
|
|
6637
6637
|
return H(() => {
|
|
6638
6638
|
function r(s) {
|
|
6639
6639
|
return s === "um" ? "μm" : s;
|
|
@@ -6649,8 +6649,8 @@ function Kd(t, e, o) {
|
|
|
6649
6649
|
return [i(a.to(o).scalar), r(o)];
|
|
6650
6650
|
}, [t, e, o]);
|
|
6651
6651
|
}
|
|
6652
|
-
function
|
|
6653
|
-
const { hardware: e, options: o = {} } = t, r = o.display_unit ?? "um", i = /* @__PURE__ */ n(x, { name: "TomoDetector", icon: "fa-cog", online: e.online }), a = /* @__PURE__ */ n(Be, { hardware: e }), [s, c] =
|
|
6652
|
+
function Qd(t) {
|
|
6653
|
+
const { hardware: e, options: o = {} } = t, r = o.display_unit ?? "um", i = /* @__PURE__ */ n(x, { name: "TomoDetector", icon: "fa-cog", online: e.online }), a = /* @__PURE__ */ n(Be, { hardware: e }), [s, c] = Yd(
|
|
6654
6654
|
e.properties.sample_pixel_size,
|
|
6655
6655
|
"um",
|
|
6656
6656
|
r
|
|
@@ -6671,7 +6671,7 @@ function Yd(t) {
|
|
|
6671
6671
|
}
|
|
6672
6672
|
),
|
|
6673
6673
|
/* @__PURE__ */ n(N.Text, { children: c }),
|
|
6674
|
-
/* @__PURE__ */ n(
|
|
6674
|
+
/* @__PURE__ */ n(Kd, { ...t })
|
|
6675
6675
|
] }), d = t.options ? t.options.header : "top";
|
|
6676
6676
|
return /* @__PURE__ */ n(
|
|
6677
6677
|
C,
|
|
@@ -6717,7 +6717,7 @@ function At(t) {
|
|
|
6717
6717
|
function we(t) {
|
|
6718
6718
|
return !t || !t.startsWith("hardware:") ? null : t.slice(9);
|
|
6719
6719
|
}
|
|
6720
|
-
function
|
|
6720
|
+
function Xd(t) {
|
|
6721
6721
|
const { hardware: e, options: o = {} } = t, { properties: r = {} } = e, { sample_pixel_size: i, detector: a = null } = r, s = zr(we(a)), { properties: c = {} } = s ?? {}, { size: u } = c, d = o.display_unit ?? "mm", l = o.digits ?? 3, f = /* @__PURE__ */ n(x, { name: "TomoDetector", icon: "fa-eye", online: e.online }), p = /* @__PURE__ */ n(Be, { hardware: e }), h = H(() => {
|
|
6722
6722
|
if (i == null || u === null || u === void 0)
|
|
6723
6723
|
return "∅";
|
|
@@ -6738,7 +6738,7 @@ function Qd(t) {
|
|
|
6738
6738
|
}
|
|
6739
6739
|
);
|
|
6740
6740
|
}
|
|
6741
|
-
function
|
|
6741
|
+
function Zd(t) {
|
|
6742
6742
|
const { hardware: e, options: o = {} } = t;
|
|
6743
6743
|
function r(a) {
|
|
6744
6744
|
return e.actions ? e.actions.setProperty("acq_mode", a) : console.error("Change request was triggered with:", a), null;
|
|
@@ -6771,7 +6771,7 @@ function Xd(t) {
|
|
|
6771
6771
|
)
|
|
6772
6772
|
] }) });
|
|
6773
6773
|
}
|
|
6774
|
-
function
|
|
6774
|
+
function Jd(t) {
|
|
6775
6775
|
const { hardware: e, actions: o } = t, r = e.properties.acc_max_expo_time || 0, { state: i } = e.properties, a = i === "READY";
|
|
6776
6776
|
function s(c) {
|
|
6777
6777
|
return o.setProperty("acc_max_expo_time", c), null;
|
|
@@ -6788,30 +6788,30 @@ function Zd(t) {
|
|
|
6788
6788
|
}
|
|
6789
6789
|
);
|
|
6790
6790
|
}
|
|
6791
|
-
function
|
|
6791
|
+
function eu(t) {
|
|
6792
6792
|
const e = Z(t);
|
|
6793
6793
|
return e !== null && Ve(e) ? e : null;
|
|
6794
6794
|
}
|
|
6795
|
-
function
|
|
6795
|
+
function tu(t) {
|
|
6796
6796
|
var s;
|
|
6797
|
-
const { hardware: e } = t, { properties: o } = e, r = ((s = o.detector) == null ? void 0 : s.slice(9)) ?? "", i =
|
|
6797
|
+
const { hardware: e } = t, { properties: o } = e, r = ((s = o.detector) == null ? void 0 : s.slice(9)) ?? "", i = eu(r), a = ge(r);
|
|
6798
6798
|
return /* @__PURE__ */ m(I, { children: [
|
|
6799
6799
|
/* @__PURE__ */ n(I.Toggle, { disabled: t.disabled, variant: "secondary" }),
|
|
6800
6800
|
/* @__PURE__ */ n(I.Menu, { popperConfig: { strategy: "fixed" }, children: /* @__PURE__ */ m(K, { children: [
|
|
6801
6801
|
/* @__PURE__ */ n(A, { children: /* @__PURE__ */ n(_, { className: "text-center", children: "Acquisition mode" }) }),
|
|
6802
|
-
/* @__PURE__ */ n(A, { children: /* @__PURE__ */ n(_, { children: /* @__PURE__ */ n(
|
|
6802
|
+
/* @__PURE__ */ n(A, { children: /* @__PURE__ */ n(_, { children: /* @__PURE__ */ n(Zd, { ...t, style: { width: "100%" } }) }) }),
|
|
6803
6803
|
/* @__PURE__ */ n(A, { children: /* @__PURE__ */ n(_, { className: "text-center mt-1", children: "Max sub frame exposition" }) }),
|
|
6804
6804
|
/* @__PURE__ */ n(A, { children: /* @__PURE__ */ n(_, { children: i && /* @__PURE__ */ m(N, { children: [
|
|
6805
|
-
/* @__PURE__ */ n(
|
|
6805
|
+
/* @__PURE__ */ n(Jd, { hardware: i, actions: a }),
|
|
6806
6806
|
/* @__PURE__ */ n(N.Text, { children: "um" })
|
|
6807
6807
|
] }) }) })
|
|
6808
6808
|
] }) })
|
|
6809
6809
|
] });
|
|
6810
6810
|
}
|
|
6811
|
-
function
|
|
6811
|
+
function nu(t) {
|
|
6812
6812
|
const { hardware: e } = t, o = /* @__PURE__ */ n(x, { name: "TomoDetector", icon: "fa-cog", online: e.online }), r = /* @__PURE__ */ n(Be, { hardware: e }), i = /* @__PURE__ */ m(N, { className: "flex-nowrap", children: [
|
|
6813
6813
|
/* @__PURE__ */ n(Q, { value: e.properties.acq_mode }),
|
|
6814
|
-
/* @__PURE__ */ n(
|
|
6814
|
+
/* @__PURE__ */ n(tu, { ...t })
|
|
6815
6815
|
] }), a = t.options ? t.options.header : "top";
|
|
6816
6816
|
return /* @__PURE__ */ n(
|
|
6817
6817
|
C,
|
|
@@ -6824,13 +6824,13 @@ function tu(t) {
|
|
|
6824
6824
|
}
|
|
6825
6825
|
);
|
|
6826
6826
|
}
|
|
6827
|
-
const
|
|
6828
|
-
samplepixelsize:
|
|
6829
|
-
acquisitionmode:
|
|
6830
|
-
fieldofview:
|
|
6827
|
+
const ou = {
|
|
6828
|
+
samplepixelsize: Qd,
|
|
6829
|
+
acquisitionmode: nu,
|
|
6830
|
+
fieldofview: Xd,
|
|
6831
6831
|
// Override base state
|
|
6832
|
-
state:
|
|
6833
|
-
},
|
|
6832
|
+
state: zd
|
|
6833
|
+
}, ru = ou;
|
|
6834
6834
|
function Et(t) {
|
|
6835
6835
|
return t.type === "tomodetector";
|
|
6836
6836
|
}
|
|
@@ -6838,7 +6838,7 @@ function xp(t) {
|
|
|
6838
6838
|
const e = Z(t);
|
|
6839
6839
|
return e === null || !Et(e) ? null : e;
|
|
6840
6840
|
}
|
|
6841
|
-
const
|
|
6841
|
+
const iu = "tomodet1", au = "tomodet1", su = !0, cu = {
|
|
6842
6842
|
state: "READY",
|
|
6843
6843
|
sample_pixel_size_mode: "AUTO",
|
|
6844
6844
|
user_sample_pixel_size: 50,
|
|
@@ -6847,16 +6847,16 @@ const ru = "tomodet1", iu = "tomodet1", au = !0, su = {
|
|
|
6847
6847
|
optic: "hardware:opt1",
|
|
6848
6848
|
source_distance: 10,
|
|
6849
6849
|
acq_mode: "SINGLE"
|
|
6850
|
-
},
|
|
6851
|
-
id:
|
|
6852
|
-
name:
|
|
6853
|
-
online:
|
|
6854
|
-
properties:
|
|
6855
|
-
protocol:
|
|
6856
|
-
require_staff:
|
|
6857
|
-
type:
|
|
6850
|
+
}, lu = "bliss", du = !1, uu = "tomodetector", fu = {
|
|
6851
|
+
id: iu,
|
|
6852
|
+
name: au,
|
|
6853
|
+
online: su,
|
|
6854
|
+
properties: cu,
|
|
6855
|
+
protocol: lu,
|
|
6856
|
+
require_staff: du,
|
|
6857
|
+
type: uu
|
|
6858
6858
|
}, Op = {
|
|
6859
|
-
default:
|
|
6859
|
+
default: fu
|
|
6860
6860
|
};
|
|
6861
6861
|
function kt(t) {
|
|
6862
6862
|
const { hardware: e } = t, o = e.online ? e.properties.state : "OFFLINE", r = {
|
|
@@ -6868,11 +6868,11 @@ function kt(t) {
|
|
|
6868
6868
|
}, i = r[o] || r.UNKNOWN;
|
|
6869
6869
|
return /* @__PURE__ */ n(V, { state: o, minWidth: 6, variant: i });
|
|
6870
6870
|
}
|
|
6871
|
-
function
|
|
6871
|
+
function mu(t) {
|
|
6872
6872
|
const { hardware: e } = t;
|
|
6873
6873
|
return /* @__PURE__ */ n(kt, { hardware: e });
|
|
6874
6874
|
}
|
|
6875
|
-
function
|
|
6875
|
+
function pu(t) {
|
|
6876
6876
|
const { hardware: e } = t, { properties: o } = e, { detectors: r } = o, i = we(o.active_detector), a = we(o.target_detector), s = o.state === "READY", c = t.disabled || !e.online || !s;
|
|
6877
6877
|
function u(l) {
|
|
6878
6878
|
e.actions ? e.actions.call("mount", l) : console.error("Change request was triggered with:", l);
|
|
@@ -6900,7 +6900,7 @@ function mu(t) {
|
|
|
6900
6900
|
/* @__PURE__ */ n(I.Menu, { popperConfig: { strategy: "fixed" }, children: r.map((l) => d(l)) })
|
|
6901
6901
|
] });
|
|
6902
6902
|
}
|
|
6903
|
-
function
|
|
6903
|
+
function hu(t) {
|
|
6904
6904
|
const { hardware: e, options: o = {} } = t, r = /* @__PURE__ */ n(
|
|
6905
6905
|
x,
|
|
6906
6906
|
{
|
|
@@ -6920,7 +6920,7 @@ function pu(t) {
|
|
|
6920
6920
|
value: u || c || "No detector"
|
|
6921
6921
|
}
|
|
6922
6922
|
),
|
|
6923
|
-
/* @__PURE__ */ n(
|
|
6923
|
+
/* @__PURE__ */ n(pu, { ...t })
|
|
6924
6924
|
] });
|
|
6925
6925
|
}
|
|
6926
6926
|
const l = o.header || "top";
|
|
@@ -6935,19 +6935,19 @@ function pu(t) {
|
|
|
6935
6935
|
}
|
|
6936
6936
|
);
|
|
6937
6937
|
}
|
|
6938
|
-
const
|
|
6939
|
-
default:
|
|
6938
|
+
const gu = {
|
|
6939
|
+
default: hu,
|
|
6940
6940
|
// Override base state
|
|
6941
|
-
state:
|
|
6942
|
-
},
|
|
6943
|
-
function
|
|
6941
|
+
state: mu
|
|
6942
|
+
}, wu = gu;
|
|
6943
|
+
function yu(t) {
|
|
6944
6944
|
return t.type === "tomodetectors";
|
|
6945
6945
|
}
|
|
6946
6946
|
function Sp(t) {
|
|
6947
6947
|
const e = Z(t);
|
|
6948
|
-
return e === null || !
|
|
6948
|
+
return e === null || !yu(e) ? null : e;
|
|
6949
6949
|
}
|
|
6950
|
-
const
|
|
6950
|
+
const vu = "tomodetectors", Nu = "tomodetectors", bu = !0, _u = {
|
|
6951
6951
|
state: "READY",
|
|
6952
6952
|
active_detector: "hardware:limadetector1",
|
|
6953
6953
|
detectors: [
|
|
@@ -6955,16 +6955,16 @@ const yu = "tomodetectors", vu = "tomodetectors", Nu = !0, bu = {
|
|
|
6955
6955
|
"hardware:limadetector2",
|
|
6956
6956
|
"hardware:limadetector3"
|
|
6957
6957
|
]
|
|
6958
|
-
},
|
|
6959
|
-
id:
|
|
6960
|
-
name:
|
|
6961
|
-
online:
|
|
6962
|
-
properties:
|
|
6963
|
-
protocol:
|
|
6964
|
-
require_staff:
|
|
6965
|
-
type:
|
|
6958
|
+
}, $u = "bliss", xu = !1, Ou = "optic", Su = {
|
|
6959
|
+
id: vu,
|
|
6960
|
+
name: Nu,
|
|
6961
|
+
online: bu,
|
|
6962
|
+
properties: _u,
|
|
6963
|
+
protocol: $u,
|
|
6964
|
+
require_staff: xu,
|
|
6965
|
+
type: Ou
|
|
6966
6966
|
}, Cp = {
|
|
6967
|
-
default:
|
|
6967
|
+
default: Su
|
|
6968
6968
|
};
|
|
6969
6969
|
function _e(t) {
|
|
6970
6970
|
const { hardware: e } = t, o = e.online ? e.properties.state : "OFFLINE", r = {
|
|
@@ -6975,11 +6975,11 @@ function _e(t) {
|
|
|
6975
6975
|
}, i = r[o] || r.UNKNOWN;
|
|
6976
6976
|
return /* @__PURE__ */ n(V, { state: o, minWidth: 6, variant: i });
|
|
6977
6977
|
}
|
|
6978
|
-
function
|
|
6978
|
+
function Cu(t) {
|
|
6979
6979
|
const { hardware: e } = t;
|
|
6980
6980
|
return /* @__PURE__ */ n(_e, { hardware: e });
|
|
6981
6981
|
}
|
|
6982
|
-
function
|
|
6982
|
+
function Iu(t) {
|
|
6983
6983
|
const { hardware: e } = t, o = e.properties.update_on_move, r = t.disabled || !e.online;
|
|
6984
6984
|
function i(s) {
|
|
6985
6985
|
e.actions.setProperty("update_on_move", !1);
|
|
@@ -7009,7 +7009,7 @@ function Cu(t) {
|
|
|
7009
7009
|
)
|
|
7010
7010
|
] });
|
|
7011
7011
|
}
|
|
7012
|
-
function
|
|
7012
|
+
function Mu(t) {
|
|
7013
7013
|
const { hardware: e } = t, o = e.properties.exposure_time ?? 0, r = t.disabled || !e.online, i = W(null), [a, s] = E(!1), c = 2;
|
|
7014
7014
|
function u(l) {
|
|
7015
7015
|
!i || !i.current ? console.log("formRef not yet defined") : l.key === "Enter" ? (s(!1), e.actions.setProperty(
|
|
@@ -7043,7 +7043,7 @@ function Iu(t) {
|
|
|
7043
7043
|
/* @__PURE__ */ n(N.Text, { children: "s" })
|
|
7044
7044
|
] });
|
|
7045
7045
|
}
|
|
7046
|
-
function
|
|
7046
|
+
function Tu(t) {
|
|
7047
7047
|
const { hardware: e } = t, o = t.disabled || !e.online;
|
|
7048
7048
|
function r(s) {
|
|
7049
7049
|
e.actions.call("take_proj");
|
|
@@ -7061,7 +7061,7 @@ function Mu(t) {
|
|
|
7061
7061
|
/* @__PURE__ */ n(b, { onClick: i, disabled: o, variant: "primary", children: "Dark" })
|
|
7062
7062
|
] });
|
|
7063
7063
|
}
|
|
7064
|
-
function
|
|
7064
|
+
function Au(t) {
|
|
7065
7065
|
const { hardware: e, options: o = {} } = t, r = /* @__PURE__ */ n(
|
|
7066
7066
|
x,
|
|
7067
7067
|
{
|
|
@@ -7070,9 +7070,9 @@ function Tu(t) {
|
|
|
7070
7070
|
online: e.online
|
|
7071
7071
|
}
|
|
7072
7072
|
), i = /* @__PURE__ */ n(_e, { hardware: e }), a = /* @__PURE__ */ m(K, { children: [
|
|
7073
|
-
/* @__PURE__ */ n(A, { className: "mt-1", children: /* @__PURE__ */ n(_, { children: /* @__PURE__ */ n(Cu, { hardware: e, disabled: t.disabled }) }) }),
|
|
7074
7073
|
/* @__PURE__ */ n(A, { className: "mt-1", children: /* @__PURE__ */ n(_, { children: /* @__PURE__ */ n(Iu, { hardware: e, disabled: t.disabled }) }) }),
|
|
7075
|
-
/* @__PURE__ */ n(A, { className: "mt-1", children: /* @__PURE__ */ n(_, { children: /* @__PURE__ */ n(Mu, { hardware: e, disabled: t.disabled }) }) })
|
|
7074
|
+
/* @__PURE__ */ n(A, { className: "mt-1", children: /* @__PURE__ */ n(_, { children: /* @__PURE__ */ n(Mu, { hardware: e, disabled: t.disabled }) }) }),
|
|
7075
|
+
/* @__PURE__ */ n(A, { className: "mt-1", children: /* @__PURE__ */ n(_, { children: /* @__PURE__ */ n(Tu, { hardware: e, disabled: t.disabled }) }) })
|
|
7076
7076
|
] }), s = o.header || "top";
|
|
7077
7077
|
return /* @__PURE__ */ n(
|
|
7078
7078
|
C,
|
|
@@ -7085,7 +7085,7 @@ function Tu(t) {
|
|
|
7085
7085
|
}
|
|
7086
7086
|
);
|
|
7087
7087
|
}
|
|
7088
|
-
function
|
|
7088
|
+
function Eu(t) {
|
|
7089
7089
|
const {
|
|
7090
7090
|
style: e,
|
|
7091
7091
|
className: o,
|
|
@@ -7151,10 +7151,10 @@ function Au(t) {
|
|
|
7151
7151
|
}
|
|
7152
7152
|
);
|
|
7153
7153
|
}
|
|
7154
|
-
function
|
|
7154
|
+
function ku(t) {
|
|
7155
7155
|
const { onAccepted: e, ...o } = t;
|
|
7156
7156
|
return /* @__PURE__ */ n(
|
|
7157
|
-
|
|
7157
|
+
Eu,
|
|
7158
7158
|
{
|
|
7159
7159
|
...o,
|
|
7160
7160
|
allowNullAsEmpty: !1,
|
|
@@ -7162,11 +7162,11 @@ function Eu(t) {
|
|
|
7162
7162
|
}
|
|
7163
7163
|
);
|
|
7164
7164
|
}
|
|
7165
|
-
function
|
|
7165
|
+
function Du(t) {
|
|
7166
7166
|
const { hardware: e, options: o } = t, r = e.properties.exposure_time ?? 0, i = t.disabled || !e.online, a = o.unit ?? "s", s = o.digits ?? 3;
|
|
7167
7167
|
return /* @__PURE__ */ m(N, { className: "w-100", children: [
|
|
7168
7168
|
/* @__PURE__ */ n(
|
|
7169
|
-
|
|
7169
|
+
ku,
|
|
7170
7170
|
{
|
|
7171
7171
|
value: r,
|
|
7172
7172
|
unit: "s",
|
|
@@ -7181,7 +7181,7 @@ function ku(t) {
|
|
|
7181
7181
|
/* @__PURE__ */ n(N.Text, { children: At(a) })
|
|
7182
7182
|
] });
|
|
7183
7183
|
}
|
|
7184
|
-
function
|
|
7184
|
+
function Fu(t) {
|
|
7185
7185
|
const { exposureTime: e } = t, o = Z(
|
|
7186
7186
|
"ACTIVE_TOMOCONFIG.ref.detectors.active_detector.detector"
|
|
7187
7187
|
), r = Z(
|
|
@@ -7204,7 +7204,7 @@ function Du(t) {
|
|
|
7204
7204
|
c.toFixed(3)
|
|
7205
7205
|
] });
|
|
7206
7206
|
}
|
|
7207
|
-
function
|
|
7207
|
+
function Ru(t) {
|
|
7208
7208
|
const { hardware: e, options: o = {} } = t, r = /* @__PURE__ */ n(
|
|
7209
7209
|
x,
|
|
7210
7210
|
{
|
|
@@ -7214,14 +7214,14 @@ function Fu(t) {
|
|
|
7214
7214
|
}
|
|
7215
7215
|
), i = /* @__PURE__ */ n(_e, { hardware: e }), a = /* @__PURE__ */ m(O, { children: [
|
|
7216
7216
|
/* @__PURE__ */ n(
|
|
7217
|
-
|
|
7217
|
+
Du,
|
|
7218
7218
|
{
|
|
7219
7219
|
hardware: e,
|
|
7220
7220
|
disabled: t.disabled,
|
|
7221
7221
|
options: o
|
|
7222
7222
|
}
|
|
7223
7223
|
),
|
|
7224
|
-
/* @__PURE__ */ n(
|
|
7224
|
+
/* @__PURE__ */ n(Fu, { exposureTime: e.properties.exposure_time })
|
|
7225
7225
|
] }), s = o.header || "top";
|
|
7226
7226
|
return /* @__PURE__ */ n(
|
|
7227
7227
|
C,
|
|
@@ -7234,7 +7234,7 @@ function Fu(t) {
|
|
|
7234
7234
|
}
|
|
7235
7235
|
);
|
|
7236
7236
|
}
|
|
7237
|
-
function
|
|
7237
|
+
function Pu(t) {
|
|
7238
7238
|
const { hardware: e } = t, o = e.properties.settle_time || 0, r = t.disabled || !e.online, i = W(null), [a, s] = E(!1), c = 3;
|
|
7239
7239
|
function u(l) {
|
|
7240
7240
|
!i || !i.current ? console.log("formRef not yet defined") : l.key === "Enter" ? (s(!1), e.actions.setProperty(
|
|
@@ -7267,7 +7267,7 @@ function Ru(t) {
|
|
|
7267
7267
|
/* @__PURE__ */ n(N.Text, { children: "s" })
|
|
7268
7268
|
] });
|
|
7269
7269
|
}
|
|
7270
|
-
function
|
|
7270
|
+
function Lu(t) {
|
|
7271
7271
|
const { hardware: e, options: o = {} } = t, r = /* @__PURE__ */ n(
|
|
7272
7272
|
x,
|
|
7273
7273
|
{
|
|
@@ -7275,7 +7275,7 @@ function Pu(t) {
|
|
|
7275
7275
|
icon: "fam-hardware-camera",
|
|
7276
7276
|
online: e.online
|
|
7277
7277
|
}
|
|
7278
|
-
), i = /* @__PURE__ */ n(_e, { hardware: e }), a = /* @__PURE__ */ n(
|
|
7278
|
+
), i = /* @__PURE__ */ n(_e, { hardware: e }), a = /* @__PURE__ */ n(Pu, { hardware: e, disabled: t.disabled }), s = o.header || "top";
|
|
7279
7279
|
return /* @__PURE__ */ n(
|
|
7280
7280
|
C,
|
|
7281
7281
|
{
|
|
@@ -7312,14 +7312,14 @@ function je(t) {
|
|
|
7312
7312
|
}
|
|
7313
7313
|
);
|
|
7314
7314
|
}
|
|
7315
|
-
function
|
|
7315
|
+
function Uu() {
|
|
7316
7316
|
const t = Z(
|
|
7317
7317
|
"ACTIVE_TOMOCONFIG.ref.detectors.active_detector.detector"
|
|
7318
7318
|
);
|
|
7319
7319
|
return t === null || !Ve(t) ? null : t;
|
|
7320
7320
|
}
|
|
7321
|
-
function
|
|
7322
|
-
const { hardware: e, restoreSample: o } = t, [r, i] = E(!1), a = t.disabled || !e.online || r, s =
|
|
7321
|
+
function Vu(t) {
|
|
7322
|
+
const { hardware: e, restoreSample: o } = t, [r, i] = E(!1), a = t.disabled || !e.online || r, s = Uu(), c = (s == null ? void 0 : s.properties.state) === "OFFLINE";
|
|
7323
7323
|
function u() {
|
|
7324
7324
|
i(!0);
|
|
7325
7325
|
}
|
|
@@ -7381,7 +7381,7 @@ function Uu(t) {
|
|
|
7381
7381
|
}
|
|
7382
7382
|
);
|
|
7383
7383
|
}
|
|
7384
|
-
function
|
|
7384
|
+
function Gu(t) {
|
|
7385
7385
|
const { hardware: e, options: o = {} } = t, { restore_sample: r = !0 } = o, i = /* @__PURE__ */ n(
|
|
7386
7386
|
x,
|
|
7387
7387
|
{
|
|
@@ -7390,7 +7390,7 @@ function Vu(t) {
|
|
|
7390
7390
|
online: e.online
|
|
7391
7391
|
}
|
|
7392
7392
|
), a = /* @__PURE__ */ n(_e, { hardware: e }), s = /* @__PURE__ */ n(
|
|
7393
|
-
|
|
7393
|
+
Vu,
|
|
7394
7394
|
{
|
|
7395
7395
|
hardware: e,
|
|
7396
7396
|
disabled: t.disabled,
|
|
@@ -7408,7 +7408,7 @@ function Vu(t) {
|
|
|
7408
7408
|
}
|
|
7409
7409
|
);
|
|
7410
7410
|
}
|
|
7411
|
-
function
|
|
7411
|
+
function Hu(t) {
|
|
7412
7412
|
const { hardware: e } = t, o = e.properties.update_on_move, r = t.disabled || !e.online;
|
|
7413
7413
|
function i(s) {
|
|
7414
7414
|
e.actions.setProperty("update_on_move", !1);
|
|
@@ -7437,7 +7437,7 @@ function Gu(t) {
|
|
|
7437
7437
|
)
|
|
7438
7438
|
] });
|
|
7439
7439
|
}
|
|
7440
|
-
function
|
|
7440
|
+
function qu(t) {
|
|
7441
7441
|
const { hardware: e, options: o = {} } = t, r = /* @__PURE__ */ n(
|
|
7442
7442
|
x,
|
|
7443
7443
|
{
|
|
@@ -7445,7 +7445,7 @@ function Hu(t) {
|
|
|
7445
7445
|
icon: "fam-hardware-camera",
|
|
7446
7446
|
online: e.online
|
|
7447
7447
|
}
|
|
7448
|
-
), i = /* @__PURE__ */ n(_e, { hardware: e }), a = /* @__PURE__ */ n(
|
|
7448
|
+
), i = /* @__PURE__ */ n(_e, { hardware: e }), a = /* @__PURE__ */ n(Hu, { hardware: e, disabled: t.disabled }), s = o.header || "top";
|
|
7449
7449
|
return /* @__PURE__ */ n(
|
|
7450
7450
|
C,
|
|
7451
7451
|
{
|
|
@@ -7457,28 +7457,28 @@ function Hu(t) {
|
|
|
7457
7457
|
}
|
|
7458
7458
|
);
|
|
7459
7459
|
}
|
|
7460
|
-
const
|
|
7461
|
-
default:
|
|
7462
|
-
exposuretime:
|
|
7463
|
-
settletime:
|
|
7464
|
-
actions:
|
|
7465
|
-
updatemode:
|
|
7460
|
+
const Wu = {
|
|
7461
|
+
default: Au,
|
|
7462
|
+
exposuretime: Ru,
|
|
7463
|
+
settletime: Lu,
|
|
7464
|
+
actions: Gu,
|
|
7465
|
+
updatemode: qu,
|
|
7466
7466
|
// Override base state
|
|
7467
|
-
state:
|
|
7468
|
-
},
|
|
7467
|
+
state: Cu
|
|
7468
|
+
}, zu = Wu, Bu = "tomoimaging", ju = "tomoimaging", Ku = !0, Yu = {
|
|
7469
7469
|
state: "READY",
|
|
7470
7470
|
update_on_move: !1,
|
|
7471
7471
|
exposure_time: 1
|
|
7472
|
-
},
|
|
7473
|
-
id:
|
|
7474
|
-
name:
|
|
7475
|
-
online:
|
|
7476
|
-
properties:
|
|
7477
|
-
protocol:
|
|
7478
|
-
require_staff:
|
|
7479
|
-
type:
|
|
7472
|
+
}, Qu = "bliss", Xu = !1, Zu = "optic", Ju = {
|
|
7473
|
+
id: Bu,
|
|
7474
|
+
name: ju,
|
|
7475
|
+
online: Ku,
|
|
7476
|
+
properties: Yu,
|
|
7477
|
+
protocol: Qu,
|
|
7478
|
+
require_staff: Xu,
|
|
7479
|
+
type: Zu
|
|
7480
7480
|
}, Ip = {
|
|
7481
|
-
default:
|
|
7481
|
+
default: Ju
|
|
7482
7482
|
};
|
|
7483
7483
|
function Mp(t) {
|
|
7484
7484
|
const { name: e, alias: o, useHardwareContext: r } = t, [i, a] = E({
|
|
@@ -7521,15 +7521,15 @@ function Mp(t) {
|
|
|
7521
7521
|
}
|
|
7522
7522
|
);
|
|
7523
7523
|
}
|
|
7524
|
-
const
|
|
7525
|
-
function
|
|
7524
|
+
const ef = {}, Tp = ef;
|
|
7525
|
+
function tf(t) {
|
|
7526
7526
|
return t.type === "tomosamplestage";
|
|
7527
7527
|
}
|
|
7528
7528
|
function Ap(t) {
|
|
7529
7529
|
const e = Z(t);
|
|
7530
|
-
return e === null || !
|
|
7530
|
+
return e === null || !tf(e) ? null : e;
|
|
7531
7531
|
}
|
|
7532
|
-
function
|
|
7532
|
+
function nf(t) {
|
|
7533
7533
|
const { hardware: e } = t, o = e.properties.latency_time || 0, r = t.disabled || !e.online, i = W(null), [a, s] = E(!1), c = 3;
|
|
7534
7534
|
function u(l) {
|
|
7535
7535
|
!i || !i.current ? console.log("formRef not yet defined") : l.key === "Enter" ? (s(!1), e.actions.setProperty("latency_time", i.current.value)) : l.key === "Escape" ? (i.current.value = o.toFixed(c), s(!1)) : console.log(l.key);
|
|
@@ -7559,7 +7559,7 @@ function tf(t) {
|
|
|
7559
7559
|
/* @__PURE__ */ n(N.Text, { children: "s" })
|
|
7560
7560
|
] });
|
|
7561
7561
|
}
|
|
7562
|
-
function
|
|
7562
|
+
function of(t) {
|
|
7563
7563
|
const { hardware: e, options: o = {} } = t, r = /* @__PURE__ */ n(
|
|
7564
7564
|
x,
|
|
7565
7565
|
{
|
|
@@ -7567,7 +7567,7 @@ function nf(t) {
|
|
|
7567
7567
|
icon: "fam-hardware-camera",
|
|
7568
7568
|
online: e.online
|
|
7569
7569
|
}
|
|
7570
|
-
), i = /* @__PURE__ */ n(O, {}), a = /* @__PURE__ */ n(
|
|
7570
|
+
), i = /* @__PURE__ */ n(O, {}), a = /* @__PURE__ */ n(nf, { hardware: e, disabled: t.disabled }), s = o.header || "top";
|
|
7571
7571
|
return /* @__PURE__ */ n(
|
|
7572
7572
|
C,
|
|
7573
7573
|
{
|
|
@@ -7579,17 +7579,17 @@ function nf(t) {
|
|
|
7579
7579
|
}
|
|
7580
7580
|
);
|
|
7581
7581
|
}
|
|
7582
|
-
const
|
|
7583
|
-
latencytime:
|
|
7584
|
-
},
|
|
7585
|
-
function
|
|
7582
|
+
const rf = {
|
|
7583
|
+
latencytime: of
|
|
7584
|
+
}, af = rf;
|
|
7585
|
+
function sf(t) {
|
|
7586
7586
|
return t.type === "tomoconfig";
|
|
7587
7587
|
}
|
|
7588
7588
|
function Ep(t) {
|
|
7589
7589
|
const e = Z(t);
|
|
7590
|
-
return e === null || !
|
|
7590
|
+
return e === null || !sf(e) ? null : e;
|
|
7591
7591
|
}
|
|
7592
|
-
function
|
|
7592
|
+
function cf(t) {
|
|
7593
7593
|
const { hardware: e } = t, o = e.online ? e.properties.state : "OFFLINE", r = {
|
|
7594
7594
|
READY: "success",
|
|
7595
7595
|
MOVING: "transient",
|
|
@@ -7601,22 +7601,22 @@ function sf(t) {
|
|
|
7601
7601
|
}, i = r[o] || r.UNKNOWN;
|
|
7602
7602
|
return /* @__PURE__ */ n(V, { state: o, minWidth: 6, variant: i });
|
|
7603
7603
|
}
|
|
7604
|
-
function
|
|
7604
|
+
function lf(t) {
|
|
7605
7605
|
const { hardware: e } = t;
|
|
7606
|
-
return /* @__PURE__ */ n(
|
|
7606
|
+
return /* @__PURE__ */ n(cf, { hardware: e });
|
|
7607
7607
|
}
|
|
7608
|
-
const
|
|
7608
|
+
const df = {
|
|
7609
7609
|
// Override base state
|
|
7610
|
-
state:
|
|
7611
|
-
}, kp =
|
|
7612
|
-
function
|
|
7610
|
+
state: lf
|
|
7611
|
+
}, kp = df;
|
|
7612
|
+
function uf(t) {
|
|
7613
7613
|
return t.type === "tomoholo";
|
|
7614
7614
|
}
|
|
7615
7615
|
function Dp(t) {
|
|
7616
7616
|
const e = Z(t);
|
|
7617
|
-
return e === null || !
|
|
7617
|
+
return e === null || !uf(e) ? null : e;
|
|
7618
7618
|
}
|
|
7619
|
-
function
|
|
7619
|
+
function ff(t) {
|
|
7620
7620
|
const { hardware: e } = t, o = () => {
|
|
7621
7621
|
e.actions.call("reset");
|
|
7622
7622
|
};
|
|
@@ -7640,7 +7640,7 @@ function uf(t) {
|
|
|
7640
7640
|
}
|
|
7641
7641
|
);
|
|
7642
7642
|
}
|
|
7643
|
-
function
|
|
7643
|
+
function mf(t) {
|
|
7644
7644
|
const { hardware: e, options: o = {} } = t, r = () => {
|
|
7645
7645
|
e.actions.call(
|
|
7646
7646
|
e.properties.state === "OPEN" ? "close" : "open"
|
|
@@ -7675,35 +7675,35 @@ function ff(t) {
|
|
|
7675
7675
|
children: e.properties.state === "OPEN" ? "Close" : "Open"
|
|
7676
7676
|
}
|
|
7677
7677
|
),
|
|
7678
|
-
/* @__PURE__ */ n(
|
|
7678
|
+
/* @__PURE__ */ n(ff, { ...t })
|
|
7679
7679
|
] }) })
|
|
7680
7680
|
] });
|
|
7681
7681
|
}
|
|
7682
|
-
const
|
|
7683
|
-
default:
|
|
7684
|
-
},
|
|
7682
|
+
const pf = {
|
|
7683
|
+
default: mf
|
|
7684
|
+
}, hf = pf, gf = [
|
|
7685
7685
|
"close",
|
|
7686
7686
|
"reset",
|
|
7687
7687
|
"open"
|
|
7688
|
-
],
|
|
7688
|
+
], wf = "rv12", yf = "rv12", vf = !0, Nf = {
|
|
7689
7689
|
state: "CLOSED",
|
|
7690
7690
|
status: `Pneumatic is closed
|
|
7691
7691
|
`
|
|
7692
|
-
},
|
|
7693
|
-
callables:
|
|
7694
|
-
id:
|
|
7695
|
-
name:
|
|
7696
|
-
online:
|
|
7697
|
-
properties:
|
|
7698
|
-
protocol:
|
|
7699
|
-
require_staff:
|
|
7700
|
-
type:
|
|
7692
|
+
}, bf = "tango", _f = !1, $f = "valve", xf = {
|
|
7693
|
+
callables: gf,
|
|
7694
|
+
id: wf,
|
|
7695
|
+
name: yf,
|
|
7696
|
+
online: vf,
|
|
7697
|
+
properties: Nf,
|
|
7698
|
+
protocol: bf,
|
|
7699
|
+
require_staff: _f,
|
|
7700
|
+
type: $f
|
|
7701
7701
|
}, Fp = {
|
|
7702
|
-
default:
|
|
7703
|
-
},
|
|
7702
|
+
default: xf
|
|
7703
|
+
}, Of = Ze("daiquiri.components.hardware.NoObject");
|
|
7704
7704
|
function Rp(t) {
|
|
7705
7705
|
if (t.options.emptyifnone)
|
|
7706
|
-
return
|
|
7706
|
+
return Of(
|
|
7707
7707
|
'Component id:"%s" name:"%s" not displayed cause setup with emptyifnone.',
|
|
7708
7708
|
t.id,
|
|
7709
7709
|
t.name
|
|
@@ -7751,10 +7751,10 @@ function Pp(t) {
|
|
|
7751
7751
|
}
|
|
7752
7752
|
);
|
|
7753
7753
|
}
|
|
7754
|
-
const
|
|
7754
|
+
const Sf = Ze("daiquiri.components.hardware.MissingObject");
|
|
7755
7755
|
function Lp(t) {
|
|
7756
7756
|
if (t.options.emptyifnone)
|
|
7757
|
-
return
|
|
7757
|
+
return Sf(
|
|
7758
7758
|
'Component id:"%s" name:"%s" not displayed cause setup with emptyifnone.',
|
|
7759
7759
|
t.id,
|
|
7760
7760
|
t.name
|
|
@@ -7817,11 +7817,11 @@ function Up(t) {
|
|
|
7817
7817
|
}
|
|
7818
7818
|
);
|
|
7819
7819
|
}
|
|
7820
|
-
const
|
|
7820
|
+
const Cf = Ze("daiquiri.components.hardware.MissingComponentObject");
|
|
7821
7821
|
function Vp(t) {
|
|
7822
7822
|
const { options: e } = t, { variant: o = "default" } = e;
|
|
7823
7823
|
if (e.emptyifnone)
|
|
7824
|
-
return
|
|
7824
|
+
return Cf(
|
|
7825
7825
|
'Component id:"%s" name:"%s" not displayed cause setup with emptyifnone.',
|
|
7826
7826
|
t.id,
|
|
7827
7827
|
t.name
|
|
@@ -7894,7 +7894,7 @@ function Gp(t) {
|
|
|
7894
7894
|
}
|
|
7895
7895
|
);
|
|
7896
7896
|
}
|
|
7897
|
-
function
|
|
7897
|
+
function If(t) {
|
|
7898
7898
|
const [e, o] = E({}), r = W(null);
|
|
7899
7899
|
return J(() => {
|
|
7900
7900
|
if (r.current) {
|
|
@@ -8035,30 +8035,30 @@ function Hp(t) {
|
|
|
8035
8035
|
}
|
|
8036
8036
|
);
|
|
8037
8037
|
}
|
|
8038
|
-
function
|
|
8038
|
+
function Mf(t) {
|
|
8039
8039
|
return /* @__PURE__ */ n("div", { className: "panel-header", style: t.style, children: t.children });
|
|
8040
8040
|
}
|
|
8041
|
-
function
|
|
8041
|
+
function Tf(t) {
|
|
8042
8042
|
return /* @__PURE__ */ n("div", { className: `panel-contents ${t.className}`, style: t.style, children: t.children });
|
|
8043
8043
|
}
|
|
8044
8044
|
function B(t) {
|
|
8045
|
-
const e = t.scroll ?
|
|
8045
|
+
const e = t.scroll ? If : wt;
|
|
8046
8046
|
return /* @__PURE__ */ n("div", { className: `panel ${t.className ?? ""}`, style: t.style, children: /* @__PURE__ */ n(e, { children: t.children }) });
|
|
8047
8047
|
}
|
|
8048
|
-
B.Header =
|
|
8049
|
-
B.Contents =
|
|
8050
|
-
function
|
|
8048
|
+
B.Header = Mf;
|
|
8049
|
+
B.Contents = Tf;
|
|
8050
|
+
function Af(t) {
|
|
8051
8051
|
return /* @__PURE__ */ n(O, {});
|
|
8052
8052
|
}
|
|
8053
|
-
function
|
|
8053
|
+
function Ef(t) {
|
|
8054
8054
|
const { providers: e = {}, yamlNode: o, label: r, ...i } = t;
|
|
8055
8055
|
return Rt(o, "label", r), Me(o, i), /* @__PURE__ */ n("div", { children: r });
|
|
8056
8056
|
}
|
|
8057
|
-
function
|
|
8057
|
+
function kf({ yamlNode: t, panel: e }) {
|
|
8058
8058
|
const { type: o, style: r, children: i, ...a } = t;
|
|
8059
8059
|
return Me(t, a), /* @__PURE__ */ n(A, { className: "ymllayout-row gx-0", style: r, children: ne(i, (s, c) => ae(s, c, e)) });
|
|
8060
8060
|
}
|
|
8061
|
-
function
|
|
8061
|
+
function Df({ yamlNode: t, panel: e }) {
|
|
8062
8062
|
const { type: o, style: r, xs: i, children: a, ...s } = t;
|
|
8063
8063
|
return Me(t, s), Lt(t, "xs", i), /* @__PURE__ */ n(
|
|
8064
8064
|
_,
|
|
@@ -8070,11 +8070,11 @@ function kf({ yamlNode: t, panel: e }) {
|
|
|
8070
8070
|
}
|
|
8071
8071
|
);
|
|
8072
8072
|
}
|
|
8073
|
-
function
|
|
8073
|
+
function Ff({ yamlNode: t, panel: e }) {
|
|
8074
8074
|
const o = t.options || {};
|
|
8075
8075
|
return /* @__PURE__ */ n(K, { className: "ymllayout-container", ...o, children: ne(t.children, (r, i) => ae(r, i, e)) });
|
|
8076
8076
|
}
|
|
8077
|
-
function
|
|
8077
|
+
function Rf(t) {
|
|
8078
8078
|
const { yamlNode: e } = t, o = e.options || {}, r = {};
|
|
8079
8079
|
return o.centerContent && (r.margin = "auto"), /* @__PURE__ */ m(B, { className: "ymllayout-panel", ...o, children: [
|
|
8080
8080
|
e.title && /* @__PURE__ */ n(B.Header, { children: e.title }),
|
|
@@ -8084,23 +8084,23 @@ function Ff(t) {
|
|
|
8084
8084
|
) })
|
|
8085
8085
|
] });
|
|
8086
8086
|
}
|
|
8087
|
-
const
|
|
8088
|
-
function
|
|
8087
|
+
const Pf = () => Math.random().toString(36).slice(2, 15) + Math.random().toString(36).slice(2, 15);
|
|
8088
|
+
function Lf({ yamlNode: t, panel: e }) {
|
|
8089
8089
|
const o = [];
|
|
8090
8090
|
return nn(t.children, (r, i) => {
|
|
8091
8091
|
o.push(
|
|
8092
|
-
/* @__PURE__ */ n(Xt, { eventKey:
|
|
8092
|
+
/* @__PURE__ */ n(Xt, { eventKey: Pf(), title: r.title, children: ae(r, 0, !1) }, i)
|
|
8093
8093
|
);
|
|
8094
8094
|
}), e ? /* @__PURE__ */ m(B, { className: "ymllayout-tabs", children: [
|
|
8095
8095
|
t.title && /* @__PURE__ */ n(B.Header, { children: t.title }),
|
|
8096
8096
|
/* @__PURE__ */ n(B.Contents, { children: /* @__PURE__ */ n(ot, { mountOnEnter: !0, children: o }) })
|
|
8097
8097
|
] }) : /* @__PURE__ */ n(ot, { children: o });
|
|
8098
8098
|
}
|
|
8099
|
-
function
|
|
8099
|
+
function Uf(t) {
|
|
8100
8100
|
const { node: e } = t, { type: o, title: r, ...i } = e;
|
|
8101
8101
|
return Dt(e, i), /* @__PURE__ */ n("div", { className: "ymllayout-form-header", style: { gridColumn: "1 / 3" }, children: /* @__PURE__ */ n("h3", { children: r }) });
|
|
8102
8102
|
}
|
|
8103
|
-
function
|
|
8103
|
+
function Vf(t) {
|
|
8104
8104
|
const { node: e, state: o, row: r } = t, { title: i } = e;
|
|
8105
8105
|
function a() {
|
|
8106
8106
|
if (e.id)
|
|
@@ -8145,7 +8145,7 @@ function Uf(t) {
|
|
|
8145
8145
|
}
|
|
8146
8146
|
);
|
|
8147
8147
|
}
|
|
8148
|
-
function
|
|
8148
|
+
function Gf(t) {
|
|
8149
8149
|
const { node: e, row: o } = t, {
|
|
8150
8150
|
titlealign: r,
|
|
8151
8151
|
title: i,
|
|
@@ -8180,13 +8180,13 @@ function Vf(t) {
|
|
|
8180
8180
|
gridColumn: 1,
|
|
8181
8181
|
alignSelf: r ?? "center"
|
|
8182
8182
|
},
|
|
8183
|
-
children: /* @__PURE__ */ n(
|
|
8183
|
+
children: /* @__PURE__ */ n(Vf, { node: e, state: l, row: o })
|
|
8184
8184
|
}
|
|
8185
8185
|
),
|
|
8186
8186
|
/* @__PURE__ */ n("div", { style: { gridColumn: 2, alignSelf: "center", overflow: "auto" }, children: ae(d, "k", !1) })
|
|
8187
8187
|
] });
|
|
8188
8188
|
}
|
|
8189
|
-
function
|
|
8189
|
+
function Hf(t) {
|
|
8190
8190
|
const { yamlNode: e, panel: o } = t, { type: r, children: i, options: a = {}, title: s, ...c } = e;
|
|
8191
8191
|
return Dt(e, c), /* @__PURE__ */ m(B, { className: "ymllayout-form", ...a, children: [
|
|
8192
8192
|
e.title && /* @__PURE__ */ n(B.Header, { children: e.title }),
|
|
@@ -8198,18 +8198,18 @@ function Gf(t) {
|
|
|
8198
8198
|
gridTemplateColumns: "min-content auto"
|
|
8199
8199
|
},
|
|
8200
8200
|
children: ne(i, (u, d) => u.type === "formheader" ? /* @__PURE__ */ n(
|
|
8201
|
-
|
|
8201
|
+
Uf,
|
|
8202
8202
|
{
|
|
8203
8203
|
node: u,
|
|
8204
8204
|
row: d
|
|
8205
8205
|
},
|
|
8206
8206
|
d
|
|
8207
|
-
) : u.type === "none" ? /* @__PURE__ */ n(Zt.Fragment, {}, d) : /* @__PURE__ */ n(
|
|
8207
|
+
) : u.type === "none" ? /* @__PURE__ */ n(Zt.Fragment, {}, d) : /* @__PURE__ */ n(Gf, { node: u, row: d }, d))
|
|
8208
8208
|
}
|
|
8209
8209
|
) })
|
|
8210
8210
|
] });
|
|
8211
8211
|
}
|
|
8212
|
-
function
|
|
8212
|
+
function qf(t) {
|
|
8213
8213
|
const { yamlNode: e, panel: o } = t;
|
|
8214
8214
|
return /* @__PURE__ */ n(
|
|
8215
8215
|
"div",
|
|
@@ -8238,13 +8238,13 @@ function Hf(t) {
|
|
|
8238
8238
|
);
|
|
8239
8239
|
}
|
|
8240
8240
|
const Se = {
|
|
8241
|
-
row:
|
|
8242
|
-
col:
|
|
8243
|
-
container:
|
|
8244
|
-
panel:
|
|
8245
|
-
tabs:
|
|
8246
|
-
form:
|
|
8247
|
-
grid:
|
|
8241
|
+
row: kf,
|
|
8242
|
+
col: Df,
|
|
8243
|
+
container: Ff,
|
|
8244
|
+
panel: Rf,
|
|
8245
|
+
tabs: Lf,
|
|
8246
|
+
form: Hf,
|
|
8247
|
+
grid: qf
|
|
8248
8248
|
};
|
|
8249
8249
|
function qp(t, e) {
|
|
8250
8250
|
Ce[t] && console.warn(
|
|
@@ -8254,11 +8254,11 @@ function qp(t, e) {
|
|
|
8254
8254
|
), Se[t] = e;
|
|
8255
8255
|
}
|
|
8256
8256
|
const Ce = {
|
|
8257
|
-
todo:
|
|
8258
|
-
none:
|
|
8259
|
-
label:
|
|
8257
|
+
todo: cm,
|
|
8258
|
+
none: Af,
|
|
8259
|
+
label: Ef
|
|
8260
8260
|
};
|
|
8261
|
-
function
|
|
8261
|
+
function Wf(t, e) {
|
|
8262
8262
|
Ce[t] && console.warn(
|
|
8263
8263
|
`yaml registration: The type ${t} is already a component. The previous component will be dropped.`
|
|
8264
8264
|
), Se[t] && console.warn(
|
|
@@ -8267,10 +8267,10 @@ function qf(t, e) {
|
|
|
8267
8267
|
}
|
|
8268
8268
|
function Wp(t) {
|
|
8269
8269
|
Object.entries(t).forEach(
|
|
8270
|
-
([e, o]) =>
|
|
8270
|
+
([e, o]) => Wf(e, o)
|
|
8271
8271
|
);
|
|
8272
8272
|
}
|
|
8273
|
-
function
|
|
8273
|
+
function zf(t) {
|
|
8274
8274
|
const { yamlNode: e, panel: o } = t, { type: r, style: i, scroll: a, title: s, ...c } = e;
|
|
8275
8275
|
if (!(r in Ce))
|
|
8276
8276
|
return /* @__PURE__ */ n(B, { children: /* @__PURE__ */ n(B.Contents, { children: /* @__PURE__ */ m(le, { variant: "warning", children: [
|
|
@@ -8287,7 +8287,7 @@ function Wf(t) {
|
|
|
8287
8287
|
function ae(t, e, o = !0) {
|
|
8288
8288
|
if (!t)
|
|
8289
8289
|
return /* @__PURE__ */ n(O, {});
|
|
8290
|
-
const { type: r } = t, i = r && r in Se ? Se[r] :
|
|
8290
|
+
const { type: r } = t, i = r && r in Se ? Se[r] : zf;
|
|
8291
8291
|
return /* @__PURE__ */ n(i, { yamlNode: t, panel: o }, e);
|
|
8292
8292
|
}
|
|
8293
8293
|
function Dt(t, e) {
|
|
@@ -8324,13 +8324,13 @@ class G extends he {
|
|
|
8324
8324
|
this.key = r, this.keyMessage = i;
|
|
8325
8325
|
}
|
|
8326
8326
|
}
|
|
8327
|
-
function
|
|
8327
|
+
function Bf(t) {
|
|
8328
8328
|
let e = t;
|
|
8329
8329
|
for (; e._parentNode; )
|
|
8330
8330
|
e = e._parentNode;
|
|
8331
8331
|
return e;
|
|
8332
8332
|
}
|
|
8333
|
-
function
|
|
8333
|
+
function jf(t) {
|
|
8334
8334
|
const e = [];
|
|
8335
8335
|
let o = t;
|
|
8336
8336
|
for (; o; )
|
|
@@ -8356,7 +8356,7 @@ function Ft(t, e = null, o = null) {
|
|
|
8356
8356
|
}
|
|
8357
8357
|
return Object.freeze(r), r;
|
|
8358
8358
|
}
|
|
8359
|
-
function
|
|
8359
|
+
function Kf(t, e, o) {
|
|
8360
8360
|
if (t && o === void 0)
|
|
8361
8361
|
throw new Ye(t, [e]);
|
|
8362
8362
|
}
|
|
@@ -8364,15 +8364,15 @@ function Rt(t, e, o) {
|
|
|
8364
8364
|
if (typeof o != "string")
|
|
8365
8365
|
throw new G(t, e, "A string is expected");
|
|
8366
8366
|
}
|
|
8367
|
-
function
|
|
8367
|
+
function Yf(t, e, o) {
|
|
8368
8368
|
if (typeof o != "boolean")
|
|
8369
8369
|
throw new G(t, e, "A boolean is expected");
|
|
8370
8370
|
}
|
|
8371
|
-
function
|
|
8371
|
+
function Qf(t, e, o) {
|
|
8372
8372
|
if (typeof o != "number")
|
|
8373
8373
|
throw new G(t, e, "A number is expected");
|
|
8374
8374
|
}
|
|
8375
|
-
function
|
|
8375
|
+
function Xf(t, e, o) {
|
|
8376
8376
|
if (o !== void 0 && typeof o != "boolean")
|
|
8377
8377
|
throw new G(t, e, "An optional boolean is expected");
|
|
8378
8378
|
}
|
|
@@ -8380,7 +8380,7 @@ function Pt(t, e, o) {
|
|
|
8380
8380
|
if (o !== void 0 && typeof o != "string")
|
|
8381
8381
|
throw new G(t, e, "An optional string is expected");
|
|
8382
8382
|
}
|
|
8383
|
-
function
|
|
8383
|
+
function Zf(t, e, o) {
|
|
8384
8384
|
if (!Array.isArray(o))
|
|
8385
8385
|
throw new G(t, e, "A list of string is expected");
|
|
8386
8386
|
o.forEach((r) => {
|
|
@@ -8388,7 +8388,7 @@ function Xf(t, e, o) {
|
|
|
8388
8388
|
throw new G(t, e, "A list of string is expected");
|
|
8389
8389
|
});
|
|
8390
8390
|
}
|
|
8391
|
-
function
|
|
8391
|
+
function Jf(t, e, o) {
|
|
8392
8392
|
if (o !== void 0 && typeof o != "string") {
|
|
8393
8393
|
if (!Array.isArray(o))
|
|
8394
8394
|
throw new G(
|
|
@@ -8406,7 +8406,7 @@ function Zf(t, e, o) {
|
|
|
8406
8406
|
});
|
|
8407
8407
|
}
|
|
8408
8408
|
}
|
|
8409
|
-
function
|
|
8409
|
+
function em(t, e, o) {
|
|
8410
8410
|
if (o !== void 0) {
|
|
8411
8411
|
if (!Array.isArray(o))
|
|
8412
8412
|
throw new G(t, e, "An optional list of string is expected");
|
|
@@ -8424,7 +8424,7 @@ function Lt(t, e, o) {
|
|
|
8424
8424
|
if (o !== void 0 && typeof o != "number")
|
|
8425
8425
|
throw new G(t, e, "An optional number is expected");
|
|
8426
8426
|
}
|
|
8427
|
-
function
|
|
8427
|
+
function tm(t, e, o) {
|
|
8428
8428
|
if (o !== void 0) {
|
|
8429
8429
|
if (!Array.isArray(o))
|
|
8430
8430
|
throw new G(
|
|
@@ -8442,7 +8442,7 @@ function em(t, e, o) {
|
|
|
8442
8442
|
});
|
|
8443
8443
|
}
|
|
8444
8444
|
}
|
|
8445
|
-
function
|
|
8445
|
+
function nm(t, e, o, r, i) {
|
|
8446
8446
|
if (o !== void 0) {
|
|
8447
8447
|
if (!Array.isArray(o))
|
|
8448
8448
|
throw new G(
|
|
@@ -8465,23 +8465,23 @@ function Me(t, e) {
|
|
|
8465
8465
|
if (t && Object.keys(i).length > 0)
|
|
8466
8466
|
throw new Ie(t, Object.keys(i));
|
|
8467
8467
|
}
|
|
8468
|
-
function
|
|
8468
|
+
function om(t, e, o) {
|
|
8469
8469
|
if (o !== "last" && typeof o != "number")
|
|
8470
8470
|
throw new G(t, e, '"last" or a number is expected');
|
|
8471
8471
|
}
|
|
8472
|
-
function
|
|
8472
|
+
function rm(t, e, o) {
|
|
8473
8473
|
if (o !== void 0 && o !== "h5web" && o !== "plotly")
|
|
8474
8474
|
throw new G(t, e, '"h5web" or "plotly" string is expected');
|
|
8475
8475
|
}
|
|
8476
|
-
function
|
|
8476
|
+
function im(t, e, o) {
|
|
8477
8477
|
if (o !== void 0 && !Array.isArray(o))
|
|
8478
8478
|
throw new G(t, e, "A list is expected");
|
|
8479
8479
|
}
|
|
8480
|
-
function
|
|
8480
|
+
function am(t, e, o) {
|
|
8481
8481
|
if (o !== void 0 && (o === null || typeof o != "object"))
|
|
8482
8482
|
throw new G(t, e, "A list is expected");
|
|
8483
8483
|
}
|
|
8484
|
-
function
|
|
8484
|
+
function sm(t, e, o, r) {
|
|
8485
8485
|
const { optional: i, schema: a } = r;
|
|
8486
8486
|
if (i && o === void 0)
|
|
8487
8487
|
return;
|
|
@@ -8500,30 +8500,30 @@ function am(t, e, o, r) {
|
|
|
8500
8500
|
}
|
|
8501
8501
|
const zp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
8502
8502
|
__proto__: null,
|
|
8503
|
-
assertBoolean:
|
|
8504
|
-
assertDataCollectionId:
|
|
8505
|
-
assertKeyExpected:
|
|
8503
|
+
assertBoolean: Yf,
|
|
8504
|
+
assertDataCollectionId: om,
|
|
8505
|
+
assertKeyExpected: Kf,
|
|
8506
8506
|
assertNoUnknownKeys: Me,
|
|
8507
|
-
assertNumber:
|
|
8508
|
-
assertOptionalArgs:
|
|
8509
|
-
assertOptionalBackend:
|
|
8510
|
-
assertOptionalBoolean:
|
|
8511
|
-
assertOptionalKwargs:
|
|
8512
|
-
assertOptionalListOfType:
|
|
8507
|
+
assertNumber: Qf,
|
|
8508
|
+
assertOptionalArgs: im,
|
|
8509
|
+
assertOptionalBackend: rm,
|
|
8510
|
+
assertOptionalBoolean: Xf,
|
|
8511
|
+
assertOptionalKwargs: am,
|
|
8512
|
+
assertOptionalListOfType: nm,
|
|
8513
8513
|
assertOptionalNumber: Lt,
|
|
8514
|
-
assertOptionalNumberList:
|
|
8514
|
+
assertOptionalNumberList: tm,
|
|
8515
8515
|
assertOptionalString: Pt,
|
|
8516
|
-
assertOptionalStringList:
|
|
8517
|
-
assertOptionalStringOrStringList:
|
|
8516
|
+
assertOptionalStringList: em,
|
|
8517
|
+
assertOptionalStringOrStringList: Jf,
|
|
8518
8518
|
assertString: Rt,
|
|
8519
|
-
assertStringList:
|
|
8520
|
-
assertStringMappingRecord:
|
|
8519
|
+
assertStringList: Zf,
|
|
8520
|
+
assertStringMappingRecord: sm
|
|
8521
8521
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
8522
|
-
function
|
|
8522
|
+
function cm(t) {
|
|
8523
8523
|
const { providers: e = {}, yamlNode: o, message: r, ...i } = t;
|
|
8524
8524
|
return Pt(o, "message", r), Me(o, i), /* @__PURE__ */ n(le, { variant: "warning", className: "mb-0", children: r ?? "TODO" });
|
|
8525
8525
|
}
|
|
8526
|
-
const ue = {},
|
|
8526
|
+
const ue = {}, lm = {
|
|
8527
8527
|
airbearing: An,
|
|
8528
8528
|
base: vn,
|
|
8529
8529
|
energymanager: zn,
|
|
@@ -8533,23 +8533,24 @@ const ue = {}, cm = {
|
|
|
8533
8533
|
laserheating: jo,
|
|
8534
8534
|
light: yr,
|
|
8535
8535
|
lima: Kr,
|
|
8536
|
-
|
|
8537
|
-
|
|
8538
|
-
|
|
8539
|
-
|
|
8540
|
-
|
|
8541
|
-
|
|
8542
|
-
|
|
8543
|
-
|
|
8544
|
-
|
|
8545
|
-
|
|
8546
|
-
|
|
8547
|
-
|
|
8548
|
-
|
|
8549
|
-
|
|
8550
|
-
|
|
8536
|
+
measurementgroup: Hi,
|
|
8537
|
+
motor: da,
|
|
8538
|
+
multiposition: xs,
|
|
8539
|
+
optic: Gs,
|
|
8540
|
+
procedure: rc,
|
|
8541
|
+
pump: hl,
|
|
8542
|
+
pusher: Tl,
|
|
8543
|
+
service: zl,
|
|
8544
|
+
shutter: _c,
|
|
8545
|
+
tomoconfig: af,
|
|
8546
|
+
tomodetector: ru,
|
|
8547
|
+
tomodetectors: wu,
|
|
8548
|
+
tomoflatmotion: fd,
|
|
8549
|
+
tomoimaging: zu,
|
|
8550
|
+
tomoreferenceposition: Wd,
|
|
8551
|
+
valve: hf
|
|
8551
8552
|
};
|
|
8552
|
-
Object.entries(
|
|
8553
|
+
Object.entries(lm).forEach(([t, e]) => {
|
|
8553
8554
|
ue[t] = { ...e };
|
|
8554
8555
|
});
|
|
8555
8556
|
function Bp(t, e, o) {
|
|
@@ -8614,7 +8615,7 @@ function jp(t) {
|
|
|
8614
8615
|
}
|
|
8615
8616
|
) : /* @__PURE__ */ n(Ue, { hardware: e });
|
|
8616
8617
|
}
|
|
8617
|
-
function
|
|
8618
|
+
function dm(t) {
|
|
8618
8619
|
const {
|
|
8619
8620
|
title: e,
|
|
8620
8621
|
children: o,
|
|
@@ -8651,10 +8652,10 @@ function lm(t) {
|
|
|
8651
8652
|
}
|
|
8652
8653
|
);
|
|
8653
8654
|
}
|
|
8654
|
-
function
|
|
8655
|
+
function um(t) {
|
|
8655
8656
|
return t.condition ? t.wrap(t.children) : t.children;
|
|
8656
8657
|
}
|
|
8657
|
-
const
|
|
8658
|
+
const fm = Le((t, e) => {
|
|
8658
8659
|
const [o, r] = E(!1), { showButton: i = !0 } = t, a = W(null);
|
|
8659
8660
|
function s() {
|
|
8660
8661
|
r(!1), t.onClose && t.onClose();
|
|
@@ -8666,10 +8667,10 @@ const um = Le((t, e) => {
|
|
|
8666
8667
|
showModal: () => r(!0),
|
|
8667
8668
|
close: () => c()
|
|
8668
8669
|
}));
|
|
8669
|
-
const u = t.modalClass ||
|
|
8670
|
+
const u = t.modalClass || dm;
|
|
8670
8671
|
return /* @__PURE__ */ m(O, { children: [
|
|
8671
8672
|
i && /* @__PURE__ */ n(
|
|
8672
|
-
|
|
8673
|
+
um,
|
|
8673
8674
|
{
|
|
8674
8675
|
condition: t.tooltip,
|
|
8675
8676
|
wrap: (d) => /* @__PURE__ */ n(
|
|
@@ -8705,7 +8706,7 @@ const um = Le((t, e) => {
|
|
|
8705
8706
|
}
|
|
8706
8707
|
)
|
|
8707
8708
|
] });
|
|
8708
|
-
}),
|
|
8709
|
+
}), mm = fm, Qe = (t, e, o) => {
|
|
8709
8710
|
const r = {
|
|
8710
8711
|
">": (i, a) => i > a,
|
|
8711
8712
|
"<": (i, a) => i < a,
|
|
@@ -8735,17 +8736,17 @@ function ht(t) {
|
|
|
8735
8736
|
const i = o.properties[r];
|
|
8736
8737
|
return Array.isArray(i) ? i[0] : i;
|
|
8737
8738
|
}
|
|
8738
|
-
function
|
|
8739
|
+
function pm(t) {
|
|
8739
8740
|
const e = t !== void 0 && !t.includes("."), o = t !== void 0 ? Vt(t, ".", 1) : [null, ""], r = Z(Gt(o[0]));
|
|
8740
8741
|
if (e)
|
|
8741
8742
|
return t;
|
|
8742
8743
|
if (r && r.properties && o[1] !== null)
|
|
8743
8744
|
return `${r.properties[o[1]]}`;
|
|
8744
8745
|
}
|
|
8745
|
-
function
|
|
8746
|
+
function hm(t) {
|
|
8746
8747
|
const { monitor: e } = t;
|
|
8747
8748
|
let o = ht(e.value) ?? "-";
|
|
8748
|
-
const r =
|
|
8749
|
+
const r = pm(e.unit), i = ht(e.overlay), a = Number.parseFloat(`${o}`);
|
|
8749
8750
|
Number.isNaN(a) || String(a).length > 5 && (o = a.toPrecision(5));
|
|
8750
8751
|
function s() {
|
|
8751
8752
|
return e.comparator && e.comparison ? Qe(e.comparator, o, e.comparison) ? "success" : "danger" : "secondary";
|
|
@@ -8770,7 +8771,7 @@ function pm(t) {
|
|
|
8770
8771
|
}
|
|
8771
8772
|
return u;
|
|
8772
8773
|
}
|
|
8773
|
-
function
|
|
8774
|
+
function gm({
|
|
8774
8775
|
value: t,
|
|
8775
8776
|
unit: e,
|
|
8776
8777
|
display_digits: o
|
|
@@ -8817,7 +8818,7 @@ function Kp(t) {
|
|
|
8817
8818
|
let g = null;
|
|
8818
8819
|
if (f.value) {
|
|
8819
8820
|
const $ = f.value.split("."), M = c[$[0]];
|
|
8820
|
-
M && (g =
|
|
8821
|
+
M && (g = gm({
|
|
8821
8822
|
value: M.properties[$[1]],
|
|
8822
8823
|
unit: M.properties.unit,
|
|
8823
8824
|
display_digits: f.value_display_digits
|
|
@@ -8861,7 +8862,7 @@ function Kp(t) {
|
|
|
8861
8862
|
}).map((f) => {
|
|
8862
8863
|
const p = f.name.toLowerCase(), h = en();
|
|
8863
8864
|
return e.current[p] = h, /* @__PURE__ */ n(
|
|
8864
|
-
|
|
8865
|
+
mm,
|
|
8865
8866
|
{
|
|
8866
8867
|
ref: h,
|
|
8867
8868
|
title: f.name,
|
|
@@ -8903,12 +8904,12 @@ function Ht(t) {
|
|
|
8903
8904
|
/* @__PURE__ */ n("pre", { children: (e = t.error) == null ? void 0 : e.stack })
|
|
8904
8905
|
] });
|
|
8905
8906
|
}
|
|
8906
|
-
function
|
|
8907
|
+
function wm(t) {
|
|
8907
8908
|
const { error: e } = t;
|
|
8908
8909
|
if (!(e instanceof he))
|
|
8909
8910
|
return /* @__PURE__ */ n(O, {});
|
|
8910
8911
|
function o(a, s = 3) {
|
|
8911
|
-
const c =
|
|
8912
|
+
const c = jf(a.yamlNode), u = [];
|
|
8912
8913
|
let d = "";
|
|
8913
8914
|
for (let l = 1; l < c.length; l++) {
|
|
8914
8915
|
const { node: f, indexFromParent: p } = c[l];
|
|
@@ -8937,7 +8938,7 @@ function gm(t) {
|
|
|
8937
8938
|
), u.join(`
|
|
8938
8939
|
`);
|
|
8939
8940
|
}
|
|
8940
|
-
const i =
|
|
8941
|
+
const i = Bf(e.yamlNode).name;
|
|
8941
8942
|
if (e instanceof Ie) {
|
|
8942
8943
|
const a = e.keys.length === 1 ? "key" : "keys";
|
|
8943
8944
|
return /* @__PURE__ */ m(le, { variant: "danger", children: [
|
|
@@ -8992,7 +8993,7 @@ const gt = {
|
|
|
8992
8993
|
message: "",
|
|
8993
8994
|
error: void 0
|
|
8994
8995
|
};
|
|
8995
|
-
class
|
|
8996
|
+
class ym extends tn {
|
|
8996
8997
|
constructor(o) {
|
|
8997
8998
|
super(o);
|
|
8998
8999
|
pe(this, "reload", () => {
|
|
@@ -9032,7 +9033,7 @@ class wm extends tn {
|
|
|
9032
9033
|
return /* @__PURE__ */ m(K, { className: "mt-2", children: [
|
|
9033
9034
|
/* @__PURE__ */ n("h4", { children: "Something went wrong" }),
|
|
9034
9035
|
this.state.error instanceof he && /* @__PURE__ */ n(
|
|
9035
|
-
|
|
9036
|
+
wm,
|
|
9036
9037
|
{
|
|
9037
9038
|
message: this.state.message,
|
|
9038
9039
|
error: this.state.error
|
|
@@ -9085,7 +9086,7 @@ function Xp(t) {
|
|
|
9085
9086
|
className: `${t.className ?? ""} ymllayout-main`,
|
|
9086
9087
|
"data-testid": t.testid,
|
|
9087
9088
|
children: /* @__PURE__ */ n(
|
|
9088
|
-
|
|
9089
|
+
ym,
|
|
9089
9090
|
{
|
|
9090
9091
|
resetKey: e,
|
|
9091
9092
|
unhandledComponentDidCatch: t.unhandledComponentDidCatch,
|
|
@@ -9097,8 +9098,8 @@ function Xp(t) {
|
|
|
9097
9098
|
);
|
|
9098
9099
|
}
|
|
9099
9100
|
const qt = {
|
|
9100
|
-
hardwareproperty:
|
|
9101
|
-
hardware:
|
|
9101
|
+
hardwareproperty: hm,
|
|
9102
|
+
hardware: Nm
|
|
9102
9103
|
};
|
|
9103
9104
|
function Zp(t, e) {
|
|
9104
9105
|
qt[t] = e;
|
|
@@ -9141,11 +9142,11 @@ function Jp(t) {
|
|
|
9141
9142
|
}
|
|
9142
9143
|
);
|
|
9143
9144
|
}
|
|
9144
|
-
function
|
|
9145
|
+
function vm(t) {
|
|
9145
9146
|
return t === void 0 || t === null || typeof t != "string" ? null : t.startsWith("$") ? t.slice(1) : t;
|
|
9146
9147
|
}
|
|
9147
|
-
function
|
|
9148
|
-
const { monitor: e } = t, { id: o } = e, r =
|
|
9148
|
+
function Nm(t) {
|
|
9149
|
+
const { monitor: e } = t, { id: o } = e, r = vm(o), i = Z(r), a = ge(r);
|
|
9149
9150
|
if (o === void 0)
|
|
9150
9151
|
return /* @__PURE__ */ n(Xe, { monitor: e, message: "'id' is missing" });
|
|
9151
9152
|
if (typeof o != "string")
|
|
@@ -9175,31 +9176,31 @@ function vm(t) {
|
|
|
9175
9176
|
}
|
|
9176
9177
|
export {
|
|
9177
9178
|
Sn as AirBearing,
|
|
9178
|
-
|
|
9179
|
+
Lm as AirBearingMocks,
|
|
9179
9180
|
Mn as AirBearingProtected,
|
|
9180
|
-
|
|
9181
|
+
Um as AirBearingSimulator,
|
|
9181
9182
|
Je as AirBearingState,
|
|
9182
9183
|
An as AirBearingVariants,
|
|
9183
9184
|
mn as BaseInfo,
|
|
9184
|
-
|
|
9185
|
+
Pm as BaseMocks,
|
|
9185
9186
|
fn as BaseName,
|
|
9186
9187
|
gn as BaseProperty,
|
|
9187
9188
|
un as BaseState,
|
|
9188
9189
|
vn as BaseVariants,
|
|
9189
9190
|
Hn as EnergyManagerDefault,
|
|
9190
|
-
|
|
9191
|
-
|
|
9191
|
+
Vm as EnergyManagerMocks,
|
|
9192
|
+
Gm as EnergyManagerSimulator,
|
|
9192
9193
|
_t as EnergyManagerState,
|
|
9193
9194
|
zn as EnergyManagerVariants,
|
|
9194
9195
|
Up as ErrorObject,
|
|
9195
|
-
|
|
9196
|
+
Hm as Formatting,
|
|
9196
9197
|
ao as Frontend,
|
|
9197
|
-
|
|
9198
|
+
qm as FrontendMocks,
|
|
9198
9199
|
uo as FrontendVariants,
|
|
9199
|
-
|
|
9200
|
+
If as FullSizer,
|
|
9200
9201
|
_o as Gauge,
|
|
9201
9202
|
Hp as GaugeIndicator,
|
|
9202
|
-
|
|
9203
|
+
Wm as GaugeMocks,
|
|
9203
9204
|
xo as GaugeVariants,
|
|
9204
9205
|
Re as HardwareInputNumber,
|
|
9205
9206
|
et as HardwareNumericStep,
|
|
@@ -9207,24 +9208,24 @@ export {
|
|
|
9207
9208
|
jp as HardwareState,
|
|
9208
9209
|
C as HardwareTemplate,
|
|
9209
9210
|
Yp as HardwareTypes,
|
|
9210
|
-
|
|
9211
|
+
na as InfiniteKnob360,
|
|
9211
9212
|
G as KeyError,
|
|
9212
9213
|
zo as Laser,
|
|
9213
9214
|
rr as LaserHeating,
|
|
9214
|
-
|
|
9215
|
+
Bm as LaserHeatingMocks,
|
|
9215
9216
|
ar as LaserHeatingVariants,
|
|
9216
|
-
|
|
9217
|
+
zm as LaserMocks,
|
|
9217
9218
|
jo as LaserVariants,
|
|
9218
9219
|
gr as Light,
|
|
9219
|
-
|
|
9220
|
+
jm as LightMocks,
|
|
9220
9221
|
yr as LightVariants,
|
|
9221
9222
|
Rr as LimaBinning,
|
|
9222
9223
|
Mr as LimaDefault,
|
|
9223
9224
|
Hr as LimaDescription,
|
|
9224
9225
|
Lr as LimaImageRoi,
|
|
9225
|
-
|
|
9226
|
+
Zm as LimaMocks,
|
|
9226
9227
|
Wr as LimaShape,
|
|
9227
|
-
|
|
9228
|
+
Jm as LimaSimulator,
|
|
9228
9229
|
Tr as LimaSize,
|
|
9229
9230
|
fe as LimaState,
|
|
9230
9231
|
kr as LimaTransformation,
|
|
@@ -9233,140 +9234,140 @@ export {
|
|
|
9233
9234
|
Vi as MeasurementGroupDefault,
|
|
9234
9235
|
ep as MeasurementGroupMocks,
|
|
9235
9236
|
tp as MeasurementGroupSimulator,
|
|
9236
|
-
|
|
9237
|
+
Hi as MeasurementGroupVariants,
|
|
9237
9238
|
Vp as MissingComponentObject,
|
|
9238
9239
|
Ye as MissingKeysError,
|
|
9239
9240
|
Lp as MissingObject,
|
|
9240
|
-
|
|
9241
|
-
|
|
9241
|
+
Nm as MonitorHardware,
|
|
9242
|
+
hm as MonitorHardwareProperty,
|
|
9242
9243
|
Jp as MonitorPanel,
|
|
9243
9244
|
be as MonitorPanelItem,
|
|
9244
9245
|
Oe as MotorDefault,
|
|
9245
9246
|
np as MotorMocks,
|
|
9246
|
-
|
|
9247
|
+
oa as MotorRotation,
|
|
9247
9248
|
rp as MotorSimulator,
|
|
9248
9249
|
Ge as MotorState,
|
|
9249
|
-
|
|
9250
|
-
|
|
9250
|
+
ea as MotorText,
|
|
9251
|
+
da as MotorVariants,
|
|
9251
9252
|
$n as MultiState,
|
|
9252
|
-
|
|
9253
|
-
|
|
9253
|
+
ws as Multiposition,
|
|
9254
|
+
_s as MultipositionDefault2,
|
|
9254
9255
|
ip as MultipositionMocks,
|
|
9255
9256
|
ap as MultipositionSimulator,
|
|
9256
|
-
|
|
9257
|
+
xs as MultipositionVariants,
|
|
9257
9258
|
Rp as NoObject,
|
|
9258
|
-
|
|
9259
|
+
Af as None,
|
|
9259
9260
|
Gp as NullObject,
|
|
9260
9261
|
Wo as NumericStep,
|
|
9261
|
-
|
|
9262
|
+
Us as OpticDefault,
|
|
9262
9263
|
cp as OpticMocks,
|
|
9263
9264
|
lp as OpticSimulator,
|
|
9264
9265
|
St as OpticState,
|
|
9265
|
-
|
|
9266
|
+
Gs as OpticVariants,
|
|
9266
9267
|
B as Panel,
|
|
9267
|
-
|
|
9268
|
+
ec as ProcedureExecution,
|
|
9268
9269
|
pt as ProcedureManage,
|
|
9269
9270
|
up as ProcedureMocks,
|
|
9270
9271
|
qe as ProcedureState,
|
|
9271
|
-
|
|
9272
|
-
|
|
9273
|
-
|
|
9272
|
+
nc as ProcedureValidate,
|
|
9273
|
+
rc as ProcedureVariants,
|
|
9274
|
+
ml as PumpDefault,
|
|
9274
9275
|
gp as PumpMocks,
|
|
9275
|
-
|
|
9276
|
-
|
|
9276
|
+
hl as PumpVariants,
|
|
9277
|
+
Il as PusherDefault,
|
|
9277
9278
|
wp as PusherMocks,
|
|
9278
9279
|
yp as PusherSimulator,
|
|
9279
9280
|
Mt as PusherState,
|
|
9280
|
-
|
|
9281
|
-
|
|
9281
|
+
Tl as PusherVariants,
|
|
9282
|
+
Gl as ServiceDefault,
|
|
9282
9283
|
vp as ServiceMocks,
|
|
9283
|
-
|
|
9284
|
+
ql as ServiceProtected,
|
|
9284
9285
|
nt as ServiceState,
|
|
9285
|
-
|
|
9286
|
-
|
|
9286
|
+
zl as ServiceVariants,
|
|
9287
|
+
wc as ShutterDefault,
|
|
9287
9288
|
fp as ShutterMocks,
|
|
9288
|
-
|
|
9289
|
+
vc as ShutterProtected,
|
|
9289
9290
|
mp as ShutterSimulator,
|
|
9290
9291
|
We as ShutterState,
|
|
9291
|
-
|
|
9292
|
-
|
|
9292
|
+
_c as ShutterVariants,
|
|
9293
|
+
Bc as SlitDefault,
|
|
9293
9294
|
hp as SlitMocks,
|
|
9294
9295
|
It as SlitState,
|
|
9295
9296
|
pp as SlitVariants,
|
|
9296
9297
|
V as State,
|
|
9297
9298
|
Kp as Synoptic,
|
|
9298
|
-
|
|
9299
|
-
|
|
9300
|
-
|
|
9301
|
-
|
|
9299
|
+
cm as Todo,
|
|
9300
|
+
of as TomoConfigLatencyTime,
|
|
9301
|
+
af as TomoConfigVariants,
|
|
9302
|
+
nu as TomoDetectorAcquisitionMode,
|
|
9302
9303
|
Op as TomoDetectorMocks,
|
|
9303
|
-
|
|
9304
|
+
Qd as TomoDetectorSamplePixelSize,
|
|
9304
9305
|
Be as TomoDetectorState,
|
|
9305
|
-
|
|
9306
|
-
|
|
9306
|
+
ru as TomoDetectorVariants,
|
|
9307
|
+
hu as TomoDetectorsDefault,
|
|
9307
9308
|
Cp as TomoDetectorsMocks,
|
|
9308
9309
|
kt as TomoDetectorsState,
|
|
9309
|
-
|
|
9310
|
-
|
|
9310
|
+
wu as TomoDetectorsVariants,
|
|
9311
|
+
sd as TomoFlatMotionDefault,
|
|
9311
9312
|
bp as TomoFlatMotionMocks,
|
|
9312
9313
|
_p as TomoFlatMotionSimulator,
|
|
9313
|
-
|
|
9314
|
+
ld as TomoFlatMotionSmall,
|
|
9314
9315
|
ze as TomoFlatMotionState,
|
|
9315
|
-
|
|
9316
|
-
|
|
9316
|
+
fd as TomoFlatMotionVariants,
|
|
9317
|
+
cf as TomoHoloState,
|
|
9317
9318
|
kp as TomoHoloVariants,
|
|
9318
|
-
|
|
9319
|
-
|
|
9320
|
-
|
|
9319
|
+
Gu as TomoImagingActions,
|
|
9320
|
+
Au as TomoImagingDefault,
|
|
9321
|
+
Ru as TomoImagingExposureTime,
|
|
9321
9322
|
Ip as TomoImagingMocks,
|
|
9322
|
-
|
|
9323
|
+
Lu as TomoImagingSettleTime,
|
|
9323
9324
|
Mp as TomoImagingSimulator,
|
|
9324
9325
|
_e as TomoImagingState,
|
|
9325
|
-
|
|
9326
|
-
|
|
9327
|
-
|
|
9328
|
-
|
|
9326
|
+
qu as TomoImagingUpdateMode,
|
|
9327
|
+
zu as TomoImagingVariants,
|
|
9328
|
+
Hd as TomoReferencePositionDefault,
|
|
9329
|
+
Wd as TomoReferencePositionVariants,
|
|
9329
9330
|
Tp as TomoSampleStageVariants,
|
|
9330
9331
|
x as TypeIcon,
|
|
9331
|
-
|
|
9332
|
+
mf as ValveDefault,
|
|
9332
9333
|
Fp as ValveMocks,
|
|
9333
|
-
|
|
9334
|
-
|
|
9334
|
+
hf as ValveVariants,
|
|
9335
|
+
ym as YAMLErrorBoundary,
|
|
9335
9336
|
Xp as YAMLLayout,
|
|
9336
9337
|
zp as YamlAsserts,
|
|
9337
9338
|
op as createMotorMock,
|
|
9338
9339
|
Qe as dynamicOp,
|
|
9339
9340
|
Ut as getHardwareVariantComponent,
|
|
9340
9341
|
Ve as isLimaHardware,
|
|
9341
|
-
|
|
9342
|
-
|
|
9342
|
+
ca as isMotorClockWise,
|
|
9343
|
+
aa as isMotorHardware,
|
|
9343
9344
|
sp as isOpticHardware,
|
|
9344
|
-
|
|
9345
|
-
|
|
9345
|
+
ic as isProcedureHardware,
|
|
9346
|
+
sf as isTomoConfigHardware,
|
|
9346
9347
|
Et as isTomoDetectorHardware,
|
|
9347
|
-
|
|
9348
|
-
|
|
9349
|
-
|
|
9348
|
+
yu as isTomoDetectorsHardware,
|
|
9349
|
+
md as isTomoFlatMotionHardware,
|
|
9350
|
+
uf as isTomoHoloHardware,
|
|
9350
9351
|
$p as isTomoReferencePositionHardware,
|
|
9351
|
-
|
|
9352
|
+
tf as isTomoSampleStageHardware,
|
|
9352
9353
|
Br as limaGuessSubframes,
|
|
9353
|
-
|
|
9354
|
+
la as motorLimits,
|
|
9354
9355
|
Bp as registerHardwareVariant,
|
|
9355
9356
|
Zp as registerMonitorComponent,
|
|
9356
|
-
|
|
9357
|
-
|
|
9357
|
+
Km as registerRuntimeHook,
|
|
9358
|
+
Wf as registerYamlComponent,
|
|
9358
9359
|
Wp as registerYamlComponents,
|
|
9359
9360
|
qp as registerYamlContainer,
|
|
9360
9361
|
ae as renderYamlNode,
|
|
9361
9362
|
Z as useHardware,
|
|
9362
9363
|
ge as useHardwareChangeActions,
|
|
9363
|
-
|
|
9364
|
+
Ym as useHardwareSchema,
|
|
9364
9365
|
zr as useLimaHardware,
|
|
9365
9366
|
te as useMotorHardware,
|
|
9366
9367
|
He as useMotorStates,
|
|
9367
|
-
|
|
9368
|
+
Qm as useOperator,
|
|
9368
9369
|
dp as useProcedureHardware,
|
|
9369
|
-
|
|
9370
|
+
Xm as useScanRunning,
|
|
9370
9371
|
Ep as useTomoConfigHardware,
|
|
9371
9372
|
xp as useTomoDetectorHardware,
|
|
9372
9373
|
Sp as useTomoDetectorsHardware,
|