@esrf/daiquiri-lib 2.2.0 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +482 -459
- package/dist/index.js +9 -9
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3387 -2928
- package/dist/index.mjs.map +1 -1
- package/package.json +10 -8
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import * as React$1 from 'react';
|
|
3
|
-
import React__default, { ComponentType, ReactElement, PropsWithChildren,
|
|
3
|
+
import React__default, { ComponentType, ReactElement, PropsWithChildren, ReactNode, ChangeEvent, KeyboardEvent, Component } from 'react';
|
|
4
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
5
|
import { YamlComponent as YamlComponent$2 } from '@esrf/daiquiri-lib';
|
|
5
6
|
|
|
6
7
|
interface HardwareError {
|
|
@@ -32,7 +33,7 @@ interface HardwareSchemaDescription {
|
|
|
32
33
|
uiorder?: string[];
|
|
33
34
|
};
|
|
34
35
|
}
|
|
35
|
-
interface
|
|
36
|
+
interface BaseHardware<O = boolean, P extends Record<string, any> = Record<string, never>> {
|
|
36
37
|
/** Object name */
|
|
37
38
|
name: string;
|
|
38
39
|
/** Object id */
|
|
@@ -42,11 +43,9 @@ interface Hardware {
|
|
|
42
43
|
/** A list of user tags */
|
|
43
44
|
user_tags: string[];
|
|
44
45
|
/** The object properties as defined in the relevant schema */
|
|
45
|
-
properties:
|
|
46
|
-
[name: string]: any;
|
|
47
|
-
};
|
|
46
|
+
properties: P;
|
|
48
47
|
/** Whether the device is available */
|
|
49
|
-
online:
|
|
48
|
+
online: O;
|
|
50
49
|
/** The reason why the hardware is locked, else null */
|
|
51
50
|
locked: string | null;
|
|
52
51
|
/** The object type as defined by the REST API */
|
|
@@ -54,9 +53,10 @@ interface Hardware {
|
|
|
54
53
|
/** Any potential errors initialising this object */
|
|
55
54
|
errors?: HardwareError[];
|
|
56
55
|
}
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
56
|
+
type OnlineHardware<P extends Record<string, any> = Record<string, never>> = BaseHardware<true, P>;
|
|
57
|
+
type OfflineHardware = BaseHardware<false, Record<string, never>>;
|
|
58
|
+
type Hardware<P extends Record<string, unknown> = Record<string, any>> = OnlineHardware<P> | OfflineHardware;
|
|
59
|
+
type AnyHardware = Hardware<any>;
|
|
60
60
|
interface HardwareChangeActions {
|
|
61
61
|
setProperty: (name: string, value: any) => Promise<void>;
|
|
62
62
|
call: (name: string, ...args: any[]) => Promise<void>;
|
|
@@ -70,7 +70,14 @@ interface HardwareWidgetOptions {
|
|
|
70
70
|
/** Kind of header displayed */
|
|
71
71
|
header?: string;
|
|
72
72
|
}
|
|
73
|
-
|
|
73
|
+
/**
|
|
74
|
+
* Common options exposed to user as yaml configuration for editable hardware widgets
|
|
75
|
+
*/
|
|
76
|
+
interface EditableHardwareWidgetOptions extends HardwareWidgetOptions {
|
|
77
|
+
/** Disable edition for an editable widget */
|
|
78
|
+
readonly?: boolean;
|
|
79
|
+
}
|
|
80
|
+
type EditableHardware<H extends Hardware = Hardware> = H & {
|
|
74
81
|
/** Call the API to make a change on the hardware object */
|
|
75
82
|
actions: HardwareChangeActions;
|
|
76
83
|
};
|
|
@@ -89,32 +96,37 @@ interface HardwareWidgetProps<H extends Hardware = Hardware, O extends HardwareW
|
|
|
89
96
|
/** True if the session have the control */
|
|
90
97
|
operator: boolean;
|
|
91
98
|
}
|
|
92
|
-
|
|
99
|
+
type HardwareComponentType<H extends Hardware = Hardware> = ComponentType<HardwareWidgetProps<H, any>>;
|
|
93
100
|
interface HardwareVariant<H extends Hardware = Hardware> {
|
|
94
101
|
[name: string]: HardwareComponentType<H>;
|
|
95
102
|
}
|
|
96
103
|
|
|
97
104
|
type types_d_AnyHardware = AnyHardware;
|
|
105
|
+
type types_d_BaseHardware<O = boolean, P extends Record<string, any> = Record<string, never>> = BaseHardware<O, P>;
|
|
98
106
|
type types_d_EditableHardware<H extends Hardware = Hardware> = EditableHardware<H>;
|
|
99
|
-
type
|
|
107
|
+
type types_d_EditableHardwareWidgetOptions = EditableHardwareWidgetOptions;
|
|
108
|
+
type types_d_Hardware<P extends Record<string, unknown> = Record<string, any>> = Hardware<P>;
|
|
100
109
|
type types_d_HardwareChangeActions = HardwareChangeActions;
|
|
101
110
|
type types_d_HardwareComponentType<H extends Hardware = Hardware> = HardwareComponentType<H>;
|
|
102
111
|
type types_d_HardwareSchemaDescription = HardwareSchemaDescription;
|
|
103
112
|
type types_d_HardwareVariant<H extends Hardware = Hardware> = HardwareVariant<H>;
|
|
104
113
|
type types_d_HardwareWidgetOptions = HardwareWidgetOptions;
|
|
105
114
|
type types_d_HardwareWidgetProps<H extends Hardware = Hardware, O extends HardwareWidgetOptions = HardwareWidgetOptions> = HardwareWidgetProps<H, O>;
|
|
115
|
+
type types_d_OfflineHardware = OfflineHardware;
|
|
116
|
+
type types_d_OnlineHardware<P extends Record<string, any> = Record<string, never>> = OnlineHardware<P>;
|
|
106
117
|
declare namespace types_d {
|
|
107
|
-
export type { types_d_AnyHardware as AnyHardware, types_d_EditableHardware as EditableHardware, types_d_Hardware as Hardware, types_d_HardwareChangeActions as HardwareChangeActions, types_d_HardwareComponentType as HardwareComponentType, types_d_HardwareSchemaDescription as HardwareSchemaDescription, types_d_HardwareVariant as HardwareVariant, types_d_HardwareWidgetOptions as HardwareWidgetOptions, types_d_HardwareWidgetProps as HardwareWidgetProps };
|
|
118
|
+
export type { types_d_AnyHardware as AnyHardware, types_d_BaseHardware as BaseHardware, types_d_EditableHardware as EditableHardware, types_d_EditableHardwareWidgetOptions as EditableHardwareWidgetOptions, types_d_Hardware as Hardware, types_d_HardwareChangeActions as HardwareChangeActions, types_d_HardwareComponentType as HardwareComponentType, types_d_HardwareSchemaDescription as HardwareSchemaDescription, types_d_HardwareVariant as HardwareVariant, types_d_HardwareWidgetOptions as HardwareWidgetOptions, types_d_HardwareWidgetProps as HardwareWidgetProps, types_d_OfflineHardware as OfflineHardware, types_d_OnlineHardware as OnlineHardware };
|
|
108
119
|
}
|
|
109
120
|
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
}
|
|
121
|
+
/**
|
|
122
|
+
* Guess the hardware have a state
|
|
123
|
+
*
|
|
124
|
+
* FIXME: This should be dropped.
|
|
125
|
+
*/
|
|
126
|
+
type GenericSchema = Hardware<{
|
|
127
|
+
state: string;
|
|
128
|
+
}>;
|
|
129
|
+
type AnySchema = AnyHardware;
|
|
118
130
|
|
|
119
131
|
type schema_d_AnySchema = AnySchema;
|
|
120
132
|
type schema_d_GenericSchema = GenericSchema;
|
|
@@ -226,20 +238,20 @@ declare const Mocks$m: {
|
|
|
226
238
|
};
|
|
227
239
|
};
|
|
228
240
|
|
|
229
|
-
declare function DefaultState(props: HardwareWidgetProps<AnySchema>): JSX.Element;
|
|
241
|
+
declare function DefaultState(props: HardwareWidgetProps<AnySchema>): react_jsx_runtime.JSX.Element;
|
|
230
242
|
|
|
231
243
|
interface BaseNameWidgetOptions extends HardwareWidgetOptions {
|
|
232
244
|
overrideName?: string;
|
|
233
245
|
emptyifnone?: boolean;
|
|
234
246
|
}
|
|
235
|
-
declare function Name(props: HardwareWidgetProps<AnySchema, BaseNameWidgetOptions>): JSX.Element;
|
|
247
|
+
declare function Name(props: HardwareWidgetProps<AnySchema, BaseNameWidgetOptions>): react_jsx_runtime.JSX.Element;
|
|
236
248
|
|
|
237
249
|
interface BasePropertyWidgetOptions extends HardwareWidgetOptions {
|
|
238
250
|
header?: string;
|
|
239
251
|
property?: string;
|
|
240
252
|
unit?: string;
|
|
241
253
|
}
|
|
242
|
-
declare function Property(props: HardwareWidgetProps<AnySchema, BasePropertyWidgetOptions>): JSX.Element;
|
|
254
|
+
declare function Property(props: HardwareWidgetProps<AnySchema, BasePropertyWidgetOptions>): react_jsx_runtime.JSX.Element;
|
|
243
255
|
|
|
244
256
|
interface BaseInfoWidgetOptions extends HardwareWidgetOptions {
|
|
245
257
|
/** The property */
|
|
@@ -247,34 +259,30 @@ interface BaseInfoWidgetOptions extends HardwareWidgetOptions {
|
|
|
247
259
|
/** Unit for the property */
|
|
248
260
|
unit?: string;
|
|
249
261
|
}
|
|
250
|
-
declare function Info(props: HardwareWidgetProps<AnySchema, BaseInfoWidgetOptions>): JSX.Element;
|
|
262
|
+
declare function Info(props: HardwareWidgetProps<AnySchema, BaseInfoWidgetOptions>): react_jsx_runtime.JSX.Element;
|
|
251
263
|
|
|
252
264
|
/**
|
|
253
265
|
* Hardware as exposed by Redux
|
|
254
266
|
*/
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
};
|
|
259
|
-
}
|
|
267
|
+
type ActuatorSchema = Hardware<{
|
|
268
|
+
state: string;
|
|
269
|
+
}>;
|
|
260
270
|
|
|
261
271
|
/**
|
|
262
272
|
* Hardware as exposed by Redux
|
|
263
273
|
*/
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
};
|
|
268
|
-
}
|
|
274
|
+
type AirBearingSchema = Hardware<{
|
|
275
|
+
state: string;
|
|
276
|
+
}>;
|
|
269
277
|
declare const Variants$p: HardwareVariant<AirBearingSchema>;
|
|
270
278
|
|
|
271
|
-
declare function AirBearing(props: HardwareWidgetProps<AirBearingSchema, HardwareWidgetOptions>): JSX.Element;
|
|
279
|
+
declare function AirBearing(props: HardwareWidgetProps<AirBearingSchema, HardwareWidgetOptions>): react_jsx_runtime.JSX.Element;
|
|
272
280
|
|
|
273
|
-
declare function AirBearingProtected(props: HardwareWidgetProps<AirBearingSchema, HardwareWidgetOptions>): JSX.Element;
|
|
281
|
+
declare function AirBearingProtected(props: HardwareWidgetProps<AirBearingSchema, HardwareWidgetOptions>): react_jsx_runtime.JSX.Element;
|
|
274
282
|
|
|
275
283
|
declare function AirBearingState(props: {
|
|
276
284
|
hardware: AirBearingSchema;
|
|
277
|
-
}): JSX.Element;
|
|
285
|
+
}): react_jsx_runtime.JSX.Element;
|
|
278
286
|
|
|
279
287
|
declare const Mocks$l: {
|
|
280
288
|
default: {
|
|
@@ -291,7 +299,7 @@ declare const Mocks$l: {
|
|
|
291
299
|
};
|
|
292
300
|
};
|
|
293
301
|
|
|
294
|
-
|
|
302
|
+
type PropsWithSimulator<P = Record<string, never>> = P & {
|
|
295
303
|
name: string;
|
|
296
304
|
alias?: string;
|
|
297
305
|
useHardwareContext?: () => {
|
|
@@ -302,26 +310,24 @@ declare type PropsWithSimulator<P = Record<string, never>> = P & {
|
|
|
302
310
|
};
|
|
303
311
|
};
|
|
304
312
|
|
|
305
|
-
declare function AirBearingSimulator(props: PropsWithSimulator): JSX.Element;
|
|
313
|
+
declare function AirBearingSimulator(props: PropsWithSimulator): react_jsx_runtime.JSX.Element;
|
|
306
314
|
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
};
|
|
321
|
-
}
|
|
315
|
+
type FrontendSchema = Hardware<{
|
|
316
|
+
state: string;
|
|
317
|
+
status: string;
|
|
318
|
+
automatic: boolean;
|
|
319
|
+
frontend: string;
|
|
320
|
+
current: number;
|
|
321
|
+
refill: number;
|
|
322
|
+
mode: string;
|
|
323
|
+
message: string;
|
|
324
|
+
feitlk: string;
|
|
325
|
+
pssitlk: string;
|
|
326
|
+
expitlk: string;
|
|
327
|
+
}>;
|
|
322
328
|
declare const Variants$o: HardwareVariant<FrontendSchema>;
|
|
323
329
|
|
|
324
|
-
declare function Frontend(props: HardwareWidgetProps<FrontendSchema>): JSX.Element;
|
|
330
|
+
declare function Frontend(props: HardwareWidgetProps<FrontendSchema>): react_jsx_runtime.JSX.Element;
|
|
325
331
|
|
|
326
332
|
declare const Mocks$k: {
|
|
327
333
|
default: {
|
|
@@ -350,14 +356,12 @@ declare const Mocks$k: {
|
|
|
350
356
|
/**
|
|
351
357
|
* Hardware as exposed by Redux
|
|
352
358
|
*/
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
};
|
|
360
|
-
}
|
|
359
|
+
type GaugeSchema = Hardware<{
|
|
360
|
+
state: string;
|
|
361
|
+
status: string;
|
|
362
|
+
pressure: number;
|
|
363
|
+
unit?: string;
|
|
364
|
+
}>;
|
|
361
365
|
declare const Variants$n: HardwareVariant<GaugeSchema>;
|
|
362
366
|
|
|
363
367
|
interface GaugeWidgetOptions extends HardwareWidgetOptions {
|
|
@@ -366,7 +370,7 @@ interface GaugeWidgetOptions extends HardwareWidgetOptions {
|
|
|
366
370
|
/** Precision to show, default 3 */
|
|
367
371
|
precision?: number;
|
|
368
372
|
}
|
|
369
|
-
declare function Gauge(props: HardwareWidgetProps<GaugeSchema, GaugeWidgetOptions>): JSX.Element;
|
|
373
|
+
declare function Gauge(props: HardwareWidgetProps<GaugeSchema, GaugeWidgetOptions>): react_jsx_runtime.JSX.Element;
|
|
370
374
|
|
|
371
375
|
declare const Mocks$j: {
|
|
372
376
|
default: {
|
|
@@ -402,12 +406,10 @@ declare const Mocks$j: {
|
|
|
402
406
|
/**
|
|
403
407
|
* Hardware as exposed by Redux
|
|
404
408
|
*/
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
};
|
|
410
|
-
}
|
|
409
|
+
type LaserSchema = Hardware<{
|
|
410
|
+
state: string;
|
|
411
|
+
power: number;
|
|
412
|
+
}>;
|
|
411
413
|
declare const Variants$m: HardwareVariant<LaserSchema>;
|
|
412
414
|
|
|
413
415
|
interface LaserWidgetOptions extends HardwareWidgetOptions {
|
|
@@ -416,7 +418,7 @@ interface LaserWidgetOptions extends HardwareWidgetOptions {
|
|
|
416
418
|
/** Array of selectable step sizes */
|
|
417
419
|
steps?: number[];
|
|
418
420
|
}
|
|
419
|
-
declare function Laser(props: HardwareWidgetProps<LaserSchema, LaserWidgetOptions>): JSX.Element;
|
|
421
|
+
declare function Laser(props: HardwareWidgetProps<LaserSchema, LaserWidgetOptions>): react_jsx_runtime.JSX.Element;
|
|
420
422
|
|
|
421
423
|
declare const Mocks$i: {
|
|
422
424
|
default: {
|
|
@@ -437,15 +439,13 @@ declare const Mocks$i: {
|
|
|
437
439
|
/**
|
|
438
440
|
* Hardware as exposed by Redux
|
|
439
441
|
*/
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
};
|
|
448
|
-
}
|
|
442
|
+
type LaserHeatingSchema = Hardware<{
|
|
443
|
+
state: string;
|
|
444
|
+
exposure_time: number;
|
|
445
|
+
background_mode: 'ON' | 'OFF' | 'ALWAYS';
|
|
446
|
+
fit_wavelength: number[];
|
|
447
|
+
current_calibration: string;
|
|
448
|
+
}>;
|
|
449
449
|
declare const Variants$l: HardwareVariant<LaserHeatingSchema>;
|
|
450
450
|
|
|
451
451
|
interface LaserHeatingWidgetOptions extends HardwareWidgetOptions {
|
|
@@ -454,7 +454,7 @@ interface LaserHeatingWidgetOptions extends HardwareWidgetOptions {
|
|
|
454
454
|
/** Array of selectable step sizes */
|
|
455
455
|
exposureSteps?: number[];
|
|
456
456
|
}
|
|
457
|
-
declare function LaserHeating(props: HardwareWidgetProps<LaserHeatingSchema, LaserHeatingWidgetOptions>): JSX.Element;
|
|
457
|
+
declare function LaserHeating(props: HardwareWidgetProps<LaserHeatingSchema, LaserHeatingWidgetOptions>): react_jsx_runtime.JSX.Element;
|
|
458
458
|
|
|
459
459
|
declare const Mocks$h: {
|
|
460
460
|
default: {
|
|
@@ -478,16 +478,14 @@ declare const Mocks$h: {
|
|
|
478
478
|
/**
|
|
479
479
|
* Hardware as exposed by Redux
|
|
480
480
|
*/
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
};
|
|
487
|
-
}
|
|
481
|
+
type LightSchema = Hardware<{
|
|
482
|
+
state: string;
|
|
483
|
+
temperature: number;
|
|
484
|
+
intensity: number;
|
|
485
|
+
}>;
|
|
488
486
|
declare const Variants$k: HardwareVariant<LightSchema>;
|
|
489
487
|
|
|
490
|
-
declare function Light(props: HardwareWidgetProps<LightSchema>): JSX.Element;
|
|
488
|
+
declare function Light(props: HardwareWidgetProps<LightSchema>): react_jsx_runtime.JSX.Element;
|
|
491
489
|
|
|
492
490
|
declare const Mocks$g: {
|
|
493
491
|
default: {
|
|
@@ -506,64 +504,69 @@ declare const Mocks$g: {
|
|
|
506
504
|
};
|
|
507
505
|
};
|
|
508
506
|
|
|
507
|
+
interface LimaProperties extends Record<string, unknown> {
|
|
508
|
+
state: 'READY' | 'ACQUIRING' | 'CONFIGURATION' | 'FAULT' | 'UNKNOWN' | 'OFFLINE';
|
|
509
|
+
static: {
|
|
510
|
+
lima_version: string;
|
|
511
|
+
lima_type: string;
|
|
512
|
+
camera_type: string;
|
|
513
|
+
camera_model: string;
|
|
514
|
+
camera_pixelsize: [number, number];
|
|
515
|
+
image_max_dim: [number, number];
|
|
516
|
+
} | null;
|
|
517
|
+
/**
|
|
518
|
+
* Pixel size of the detector (without binning).
|
|
519
|
+
*
|
|
520
|
+
* It's a read-only property.
|
|
521
|
+
*/
|
|
522
|
+
pixel_size: [number, number];
|
|
523
|
+
/**
|
|
524
|
+
* Max exposition time of a single sub frame in accumulation.
|
|
525
|
+
*
|
|
526
|
+
* It is used (together with the exposure time) to determine the
|
|
527
|
+
* nb of sub frames and the expo time of a single sub frame.
|
|
528
|
+
* See `guessSubframes`.
|
|
529
|
+
*/
|
|
530
|
+
acc_max_expo_time: number | null;
|
|
531
|
+
/**
|
|
532
|
+
* Flip applied to the resulting image
|
|
533
|
+
*/
|
|
534
|
+
flip: [boolean, boolean];
|
|
535
|
+
/**
|
|
536
|
+
* Rotation applied to the resulting image.
|
|
537
|
+
*
|
|
538
|
+
* One of 0, 90, 180, 270
|
|
539
|
+
*/
|
|
540
|
+
rotation: 0 | 90 | 180 | 270;
|
|
541
|
+
/**
|
|
542
|
+
* Binning applied to the resulting image
|
|
543
|
+
*/
|
|
544
|
+
binning: [number, number];
|
|
545
|
+
/**
|
|
546
|
+
* Binning mode applied to the resulting image
|
|
547
|
+
*
|
|
548
|
+
* Introduced in BLISS 2.3, Lima 1.10.4
|
|
549
|
+
*/
|
|
550
|
+
binning_mode?: 'SUM' | 'MEAN';
|
|
551
|
+
/**
|
|
552
|
+
* Location and size of the ROI in the raw image.
|
|
553
|
+
*
|
|
554
|
+
* When binning=[1, 1] flip=[false, false], rotation=0
|
|
555
|
+
*/
|
|
556
|
+
raw_roi: [number, number, number, number];
|
|
557
|
+
/**
|
|
558
|
+
* Location of the ROI in the transformed image.
|
|
559
|
+
*/
|
|
560
|
+
roi: [number, number, number, number];
|
|
561
|
+
/**
|
|
562
|
+
* Final size of the detector. Including the crop of the ROI.
|
|
563
|
+
*/
|
|
564
|
+
size: [number, number];
|
|
565
|
+
}
|
|
509
566
|
/**
|
|
510
567
|
* Hardware as exposed by Redux
|
|
511
568
|
*/
|
|
512
|
-
|
|
513
|
-
properties: {
|
|
514
|
-
state: 'READY' | 'ACQUIRING' | 'CONFIGURATION' | 'FAULT' | 'UNKNOWN' | 'OFFLINE';
|
|
515
|
-
static: {
|
|
516
|
-
lima_version: string;
|
|
517
|
-
lima_type: string;
|
|
518
|
-
camera_type: string;
|
|
519
|
-
camera_model: string;
|
|
520
|
-
camera_pixelsize: [number, number];
|
|
521
|
-
image_max_dim: [number, number];
|
|
522
|
-
} | null;
|
|
523
|
-
/**
|
|
524
|
-
* Pixel size of the detector (without binning).
|
|
525
|
-
*
|
|
526
|
-
* It's a read-only property.
|
|
527
|
-
*/
|
|
528
|
-
pixel_size: [number, number];
|
|
529
|
-
/**
|
|
530
|
-
* Max exposition time of a single sub frame in accumulation.
|
|
531
|
-
*
|
|
532
|
-
* It is used (together with the exposure time) to determine the
|
|
533
|
-
* nb of sub frames and the expo time of a single sub frame.
|
|
534
|
-
* See `guessSubframes`.
|
|
535
|
-
*/
|
|
536
|
-
acc_max_expo_time: number | null;
|
|
537
|
-
/**
|
|
538
|
-
* Flip applied to the resulting image
|
|
539
|
-
*/
|
|
540
|
-
flip: [boolean, boolean];
|
|
541
|
-
/**
|
|
542
|
-
* Rotation applied to the resulting image.
|
|
543
|
-
*
|
|
544
|
-
* One of 0, 90, 180, 270
|
|
545
|
-
*/
|
|
546
|
-
rotation: 0 | 90 | 180 | 270;
|
|
547
|
-
/**
|
|
548
|
-
* Binning applied to the resulting image
|
|
549
|
-
*/
|
|
550
|
-
binning: [number, number];
|
|
551
|
-
/**
|
|
552
|
-
* Location and size of the ROI in the raw image.
|
|
553
|
-
*
|
|
554
|
-
* When binning=[1, 1] flip=[false, false], rotation=0
|
|
555
|
-
*/
|
|
556
|
-
raw_roi: [number, number, number, number];
|
|
557
|
-
/**
|
|
558
|
-
* Location of the ROI in the transformed image.
|
|
559
|
-
*/
|
|
560
|
-
roi: [number, number, number, number];
|
|
561
|
-
/**
|
|
562
|
-
* Final size of the detector. Including the crop of the ROI.
|
|
563
|
-
*/
|
|
564
|
-
size: [number, number];
|
|
565
|
-
};
|
|
566
|
-
}
|
|
569
|
+
type LimaSchema = Hardware<LimaProperties>;
|
|
567
570
|
declare function isLimaHardware(entity: Hardware): entity is LimaSchema;
|
|
568
571
|
declare function useLimaHardware(name: string | null): LimaSchema | null;
|
|
569
572
|
/**
|
|
@@ -572,21 +575,23 @@ declare function useLimaHardware(name: string | null): LimaSchema | null;
|
|
|
572
575
|
declare function limaGuessSubframes(exposureTime: number, accMaxExpoTime: number): [number, number];
|
|
573
576
|
declare const Variants$j: HardwareVariant<LimaSchema>;
|
|
574
577
|
|
|
575
|
-
declare function LimaBinning(props: HardwareWidgetProps<LimaSchema,
|
|
578
|
+
declare function LimaBinning(props: HardwareWidgetProps<LimaSchema, EditableHardwareWidgetOptions>): react_jsx_runtime.JSX.Element;
|
|
576
579
|
|
|
577
|
-
declare function LimaDefault(props: HardwareWidgetProps<LimaSchema>): JSX.Element;
|
|
580
|
+
declare function LimaDefault(props: HardwareWidgetProps<LimaSchema>): react_jsx_runtime.JSX.Element;
|
|
578
581
|
|
|
579
|
-
declare function TomoDetectorSize$
|
|
582
|
+
declare function TomoDetectorSize$2(props: HardwareWidgetProps<LimaSchema, HardwareWidgetOptions>): react_jsx_runtime.JSX.Element;
|
|
580
583
|
|
|
581
|
-
declare function TomoDetectorSize$
|
|
584
|
+
declare function TomoDetectorSize$1(props: HardwareWidgetProps<LimaSchema, HardwareWidgetOptions>): react_jsx_runtime.JSX.Element;
|
|
582
585
|
|
|
583
|
-
declare function TomoDetectorSize
|
|
586
|
+
declare function TomoDetectorSize(props: HardwareWidgetProps<LimaSchema, HardwareWidgetOptions>): react_jsx_runtime.JSX.Element;
|
|
584
587
|
|
|
585
|
-
declare function
|
|
588
|
+
declare function LimaTransformation(props: HardwareWidgetProps<LimaSchema, EditableHardwareWidgetOptions>): react_jsx_runtime.JSX.Element;
|
|
589
|
+
|
|
590
|
+
declare function LimaRoiShape(props: HardwareWidgetProps<LimaSchema, HardwareWidgetOptions>): react_jsx_runtime.JSX.Element;
|
|
586
591
|
|
|
587
592
|
declare function LimaState(props: {
|
|
588
593
|
hardware: LimaSchema;
|
|
589
|
-
}): JSX.Element;
|
|
594
|
+
}): react_jsx_runtime.JSX.Element;
|
|
590
595
|
|
|
591
596
|
declare const Mocks$f: {
|
|
592
597
|
default: {
|
|
@@ -608,7 +613,6 @@ declare const Mocks$f: {
|
|
|
608
613
|
acc_max_expo_time: number;
|
|
609
614
|
binning: number[];
|
|
610
615
|
flip: boolean[];
|
|
611
|
-
max_size: number[];
|
|
612
616
|
pixel_size: number[];
|
|
613
617
|
raw_roi: number[];
|
|
614
618
|
roi: number[];
|
|
@@ -636,7 +640,6 @@ declare const Mocks$f: {
|
|
|
636
640
|
acc_max_expo_time: number;
|
|
637
641
|
binning: number[];
|
|
638
642
|
flip: boolean[];
|
|
639
|
-
max_size: number[];
|
|
640
643
|
pixel_size: number[];
|
|
641
644
|
raw_roi: number[];
|
|
642
645
|
roi: number[];
|
|
@@ -664,7 +667,60 @@ declare const Mocks$f: {
|
|
|
664
667
|
acc_max_expo_time: number;
|
|
665
668
|
binning: number[];
|
|
666
669
|
flip: boolean[];
|
|
667
|
-
|
|
670
|
+
pixel_size: number[];
|
|
671
|
+
raw_roi: number[];
|
|
672
|
+
roi: number[];
|
|
673
|
+
rotation: number;
|
|
674
|
+
size: number[];
|
|
675
|
+
state: string;
|
|
676
|
+
};
|
|
677
|
+
};
|
|
678
|
+
roicenter: {
|
|
679
|
+
id: string;
|
|
680
|
+
name: string;
|
|
681
|
+
protocol: string;
|
|
682
|
+
type: string;
|
|
683
|
+
online: boolean;
|
|
684
|
+
require_staff: boolean;
|
|
685
|
+
properties: {
|
|
686
|
+
static: {
|
|
687
|
+
lima_version: string;
|
|
688
|
+
lima_type: string;
|
|
689
|
+
camera_type: string;
|
|
690
|
+
camera_model: string;
|
|
691
|
+
camera_pixelsize: number[];
|
|
692
|
+
image_max_dim: number[];
|
|
693
|
+
};
|
|
694
|
+
acc_max_expo_time: number;
|
|
695
|
+
binning: number[];
|
|
696
|
+
flip: boolean[];
|
|
697
|
+
pixel_size: number[];
|
|
698
|
+
raw_roi: number[];
|
|
699
|
+
roi: number[];
|
|
700
|
+
rotation: number;
|
|
701
|
+
size: number[];
|
|
702
|
+
state: string;
|
|
703
|
+
};
|
|
704
|
+
};
|
|
705
|
+
squaredetector: {
|
|
706
|
+
id: string;
|
|
707
|
+
name: string;
|
|
708
|
+
protocol: string;
|
|
709
|
+
type: string;
|
|
710
|
+
online: boolean;
|
|
711
|
+
require_staff: boolean;
|
|
712
|
+
properties: {
|
|
713
|
+
static: {
|
|
714
|
+
lima_version: string;
|
|
715
|
+
lima_type: string;
|
|
716
|
+
camera_type: string;
|
|
717
|
+
camera_model: string;
|
|
718
|
+
camera_pixelsize: number[];
|
|
719
|
+
image_max_dim: number[];
|
|
720
|
+
};
|
|
721
|
+
acc_max_expo_time: number;
|
|
722
|
+
binning: number[];
|
|
723
|
+
flip: boolean[];
|
|
668
724
|
pixel_size: number[];
|
|
669
725
|
raw_roi: number[];
|
|
670
726
|
roi: number[];
|
|
@@ -675,25 +731,24 @@ declare const Mocks$f: {
|
|
|
675
731
|
};
|
|
676
732
|
};
|
|
677
733
|
|
|
678
|
-
declare function LimaSimulator(props: PropsWithSimulator): JSX.Element;
|
|
734
|
+
declare function LimaSimulator(props: PropsWithSimulator): react_jsx_runtime.JSX.Element;
|
|
679
735
|
|
|
736
|
+
interface MeasurementGroupProperties extends Record<string, unknown> {
|
|
737
|
+
/** List of available counters */
|
|
738
|
+
available: string[];
|
|
739
|
+
/** List of disabled counters.
|
|
740
|
+
*
|
|
741
|
+
* It is a subset of the `available` list.
|
|
742
|
+
*/
|
|
743
|
+
disabled: string[];
|
|
744
|
+
}
|
|
680
745
|
/**
|
|
681
746
|
* Hardware as exposed by Redux
|
|
682
747
|
*/
|
|
683
|
-
|
|
684
|
-
properties: {
|
|
685
|
-
/** List of available counters */
|
|
686
|
-
available: string[];
|
|
687
|
-
/** List of disabled counters.
|
|
688
|
-
*
|
|
689
|
-
* It is a subset of the `available` list.
|
|
690
|
-
*/
|
|
691
|
-
disabled: string[];
|
|
692
|
-
};
|
|
693
|
-
}
|
|
748
|
+
type MeasurementGroupSchema = Hardware<MeasurementGroupProperties>;
|
|
694
749
|
declare const Variants$i: HardwareVariant<MeasurementGroupSchema>;
|
|
695
750
|
|
|
696
|
-
declare function MeasurementGroup(props: HardwareWidgetProps<MeasurementGroupSchema>): JSX.Element;
|
|
751
|
+
declare function MeasurementGroup(props: HardwareWidgetProps<MeasurementGroupSchema>): react_jsx_runtime.JSX.Element;
|
|
697
752
|
|
|
698
753
|
declare const Mocks$e: {
|
|
699
754
|
default: {
|
|
@@ -711,28 +766,26 @@ declare const Mocks$e: {
|
|
|
711
766
|
};
|
|
712
767
|
};
|
|
713
768
|
|
|
714
|
-
declare function MeasurementGroupSimulator(props: PropsWithSimulator): JSX.Element;
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
};
|
|
735
|
-
}
|
|
769
|
+
declare function MeasurementGroupSimulator(props: PropsWithSimulator): react_jsx_runtime.JSX.Element;
|
|
770
|
+
|
|
771
|
+
type MotorSchema = Hardware<{
|
|
772
|
+
position: number | null;
|
|
773
|
+
/**
|
|
774
|
+
* Target of the actual motion.
|
|
775
|
+
*
|
|
776
|
+
* If there is no motion, it is `null`.
|
|
777
|
+
*/
|
|
778
|
+
target: number | null;
|
|
779
|
+
tolerance: number;
|
|
780
|
+
acceleration: number;
|
|
781
|
+
velocity: number;
|
|
782
|
+
limits: [number, number];
|
|
783
|
+
state: string[];
|
|
784
|
+
unit: string;
|
|
785
|
+
offset: number;
|
|
786
|
+
sign: number;
|
|
787
|
+
display_digits: number | null;
|
|
788
|
+
}>;
|
|
736
789
|
/**
|
|
737
790
|
* Exposes the standard supported motor states
|
|
738
791
|
*/
|
|
@@ -807,12 +860,12 @@ interface MotorDefaultOptions extends HardwareWidgetOptions {
|
|
|
807
860
|
/**
|
|
808
861
|
* The default motor widget
|
|
809
862
|
*/
|
|
810
|
-
declare function MotorDefault(props: HardwareWidgetProps<MotorSchema, MotorDefaultOptions>): JSX.Element;
|
|
863
|
+
declare function MotorDefault(props: HardwareWidgetProps<MotorSchema, MotorDefaultOptions>): react_jsx_runtime.JSX.Element;
|
|
811
864
|
|
|
812
865
|
/**
|
|
813
866
|
* The default motor widget
|
|
814
867
|
*/
|
|
815
|
-
declare function MotorText(props: HardwareWidgetProps<MotorSchema, MotorDefaultOptions>): JSX.Element;
|
|
868
|
+
declare function MotorText(props: HardwareWidgetProps<MotorSchema, MotorDefaultOptions>): react_jsx_runtime.JSX.Element;
|
|
816
869
|
|
|
817
870
|
/**
|
|
818
871
|
* A motor have a set of flags as state.
|
|
@@ -825,7 +878,7 @@ declare function MotorText(props: HardwareWidgetProps<MotorSchema, MotorDefaultO
|
|
|
825
878
|
*/
|
|
826
879
|
declare function MotorState(props: {
|
|
827
880
|
hardware: MotorSchema;
|
|
828
|
-
}): JSX.Element;
|
|
881
|
+
}): react_jsx_runtime.JSX.Element;
|
|
829
882
|
|
|
830
883
|
declare const Mocks$d: {
|
|
831
884
|
default: {
|
|
@@ -962,7 +1015,7 @@ declare function createMotorMock(name: string, position: number): {
|
|
|
962
1015
|
online: boolean;
|
|
963
1016
|
};
|
|
964
1017
|
|
|
965
|
-
interface Props$
|
|
1018
|
+
interface Props$d {
|
|
966
1019
|
name?: string;
|
|
967
1020
|
minLimit?: number;
|
|
968
1021
|
maxLimit?: number;
|
|
@@ -975,26 +1028,24 @@ interface Props$e {
|
|
|
975
1028
|
};
|
|
976
1029
|
};
|
|
977
1030
|
}
|
|
978
|
-
declare function MotorSimulator(props: Props$
|
|
1031
|
+
declare function MotorSimulator(props: Props$d): react_jsx_runtime.JSX.Element;
|
|
979
1032
|
|
|
980
|
-
|
|
981
|
-
|
|
1033
|
+
type MultipositionSchema = Hardware<{
|
|
1034
|
+
position: string;
|
|
1035
|
+
positions: {
|
|
982
1036
|
position: string;
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
destination: number;
|
|
989
|
-
tolerance: number;
|
|
990
|
-
}[];
|
|
1037
|
+
description: string;
|
|
1038
|
+
target: {
|
|
1039
|
+
axis: string;
|
|
1040
|
+
destination: number;
|
|
1041
|
+
tolerance: number;
|
|
991
1042
|
}[];
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
}
|
|
1043
|
+
}[];
|
|
1044
|
+
state: string;
|
|
1045
|
+
}>;
|
|
995
1046
|
declare const Variants$g: HardwareVariant<MultipositionSchema>;
|
|
996
1047
|
|
|
997
|
-
declare function Multiposition(props: HardwareWidgetProps<MultipositionSchema>): JSX.Element;
|
|
1048
|
+
declare function Multiposition(props: HardwareWidgetProps<MultipositionSchema>): react_jsx_runtime.JSX.Element;
|
|
998
1049
|
|
|
999
1050
|
declare const Mocks$c: {
|
|
1000
1051
|
default: {
|
|
@@ -1020,25 +1071,24 @@ declare const Mocks$c: {
|
|
|
1020
1071
|
};
|
|
1021
1072
|
};
|
|
1022
1073
|
|
|
1023
|
-
declare function MultipositionSimulator(props: PropsWithSimulator): JSX.Element;
|
|
1074
|
+
declare function MultipositionSimulator(props: PropsWithSimulator): react_jsx_runtime.JSX.Element;
|
|
1024
1075
|
|
|
1076
|
+
interface OpticProperties extends Record<string, unknown> {
|
|
1077
|
+
state: string;
|
|
1078
|
+
magnification: number;
|
|
1079
|
+
available_magnifications: number[] | null;
|
|
1080
|
+
/**
|
|
1081
|
+
* Target of the actual motion.
|
|
1082
|
+
*
|
|
1083
|
+
* If there is no motion, it is `null `.
|
|
1084
|
+
*/
|
|
1085
|
+
target_magnification: number | null;
|
|
1086
|
+
magnification_range: [number, number] | null;
|
|
1087
|
+
}
|
|
1025
1088
|
/**
|
|
1026
1089
|
* Hardware as exposed by Redux
|
|
1027
1090
|
*/
|
|
1028
|
-
|
|
1029
|
-
properties: {
|
|
1030
|
-
state: string;
|
|
1031
|
-
magnification: number;
|
|
1032
|
-
available_magnifications: number[] | null;
|
|
1033
|
-
/**
|
|
1034
|
-
* Target of the actual motion.
|
|
1035
|
-
*
|
|
1036
|
-
* If there is no motion, it is `null `.
|
|
1037
|
-
*/
|
|
1038
|
-
target_magnification: number | null;
|
|
1039
|
-
magnification_range: [number, number] | null;
|
|
1040
|
-
};
|
|
1041
|
-
}
|
|
1091
|
+
type OpticSchema = Hardware<OpticProperties>;
|
|
1042
1092
|
declare function isOpticHardware(entity: Hardware): entity is OpticSchema;
|
|
1043
1093
|
declare const Variants$f: HardwareVariant<OpticSchema>;
|
|
1044
1094
|
|
|
@@ -1047,11 +1097,11 @@ interface OpticWidgetOptions extends HardwareWidgetOptions {
|
|
|
1047
1097
|
digits?: number;
|
|
1048
1098
|
allowtuning?: boolean;
|
|
1049
1099
|
}
|
|
1050
|
-
declare function Optic(props: HardwareWidgetProps<OpticSchema, OpticWidgetOptions>): JSX.Element;
|
|
1100
|
+
declare function Optic(props: HardwareWidgetProps<OpticSchema, OpticWidgetOptions>): react_jsx_runtime.JSX.Element;
|
|
1051
1101
|
|
|
1052
1102
|
declare function OpticState(props: {
|
|
1053
1103
|
hardware: OpticSchema;
|
|
1054
|
-
}): JSX.Element;
|
|
1104
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1055
1105
|
|
|
1056
1106
|
declare const Mocks$b: {
|
|
1057
1107
|
default: {
|
|
@@ -1120,19 +1170,17 @@ declare const Mocks$b: {
|
|
|
1120
1170
|
};
|
|
1121
1171
|
};
|
|
1122
1172
|
|
|
1123
|
-
interface Props$
|
|
1173
|
+
interface Props$c {
|
|
1124
1174
|
kind: 'fixed' | 'range' | 'multi';
|
|
1125
1175
|
}
|
|
1126
|
-
declare function OpticSimulator(props: PropsWithSimulator<Props$
|
|
1176
|
+
declare function OpticSimulator(props: PropsWithSimulator<Props$c>): react_jsx_runtime.JSX.Element;
|
|
1127
1177
|
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
};
|
|
1135
|
-
}
|
|
1178
|
+
type ProcedureSchema = Hardware<{
|
|
1179
|
+
state: string;
|
|
1180
|
+
previous_run_state: string;
|
|
1181
|
+
previous_run_exception: string | null;
|
|
1182
|
+
parameters: Record<string, any>;
|
|
1183
|
+
}>;
|
|
1136
1184
|
declare const Variants$e: HardwareVariant<ProcedureSchema>;
|
|
1137
1185
|
|
|
1138
1186
|
interface HardwareFromProcedure {
|
|
@@ -1151,16 +1199,25 @@ interface ExceptionFromProcedure {
|
|
|
1151
1199
|
message: string;
|
|
1152
1200
|
traceback: Record<string, any>;
|
|
1153
1201
|
}
|
|
1202
|
+
declare function isProcedureHardware(entity: Hardware): entity is ProcedureSchema;
|
|
1203
|
+
/**
|
|
1204
|
+
* Return a procedure from it's hardware name.
|
|
1205
|
+
*
|
|
1206
|
+
* Return `null` if the name refers to nothing or a mismatching hardware.
|
|
1207
|
+
*
|
|
1208
|
+
* @param name: An hardware identifier
|
|
1209
|
+
*/
|
|
1210
|
+
declare function useProcedureHardware(name: string | null): ProcedureSchema | null;
|
|
1154
1211
|
|
|
1155
|
-
declare function ProcedureExecution(props: HardwareWidgetProps<ProcedureSchema>): JSX.Element;
|
|
1212
|
+
declare function ProcedureExecution(props: HardwareWidgetProps<ProcedureSchema>): react_jsx_runtime.JSX.Element;
|
|
1156
1213
|
|
|
1157
|
-
declare function ProcedureManage(props: HardwareWidgetProps<ProcedureSchema>): JSX.Element;
|
|
1214
|
+
declare function ProcedureManage(props: HardwareWidgetProps<ProcedureSchema>): react_jsx_runtime.JSX.Element;
|
|
1158
1215
|
|
|
1159
|
-
declare function ProcedureValidate(props: HardwareWidgetProps<ProcedureSchema>): JSX.Element;
|
|
1216
|
+
declare function ProcedureValidate(props: HardwareWidgetProps<ProcedureSchema>): react_jsx_runtime.JSX.Element;
|
|
1160
1217
|
|
|
1161
1218
|
declare function ProcedureState(props: {
|
|
1162
1219
|
hardware: ProcedureSchema;
|
|
1163
|
-
}): JSX.Element;
|
|
1220
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1164
1221
|
|
|
1165
1222
|
declare const Mocks$a: {
|
|
1166
1223
|
standby: {
|
|
@@ -1219,25 +1276,23 @@ declare const Mocks$a: {
|
|
|
1219
1276
|
};
|
|
1220
1277
|
};
|
|
1221
1278
|
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
};
|
|
1230
|
-
}
|
|
1279
|
+
type ShutterSchema = Hardware<{
|
|
1280
|
+
state: string;
|
|
1281
|
+
status: string;
|
|
1282
|
+
valid: boolean;
|
|
1283
|
+
open_text: string;
|
|
1284
|
+
closed_text: string;
|
|
1285
|
+
}>;
|
|
1231
1286
|
declare const Variants$d: HardwareVariant<ShutterSchema>;
|
|
1232
1287
|
|
|
1233
|
-
declare function ShutterDefault(props: HardwareWidgetProps<ShutterSchema, HardwareWidgetOptions>): JSX.Element;
|
|
1288
|
+
declare function ShutterDefault(props: HardwareWidgetProps<ShutterSchema, HardwareWidgetOptions>): react_jsx_runtime.JSX.Element;
|
|
1234
1289
|
|
|
1235
|
-
declare function ShutterProtected(props: HardwareWidgetProps<ShutterSchema, HardwareWidgetOptions>): JSX.Element;
|
|
1290
|
+
declare function ShutterProtected(props: HardwareWidgetProps<ShutterSchema, HardwareWidgetOptions>): react_jsx_runtime.JSX.Element;
|
|
1236
1291
|
|
|
1237
1292
|
declare function ShutterState(props: {
|
|
1238
1293
|
hardware: ShutterSchema;
|
|
1239
1294
|
useReadyState?: boolean;
|
|
1240
|
-
}): JSX.Element;
|
|
1295
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1241
1296
|
|
|
1242
1297
|
declare const Mocks$9: {
|
|
1243
1298
|
default: {
|
|
@@ -1258,21 +1313,19 @@ declare const Mocks$9: {
|
|
|
1258
1313
|
};
|
|
1259
1314
|
};
|
|
1260
1315
|
|
|
1261
|
-
declare function ShutterSimulator(props: PropsWithSimulator): JSX.Element;
|
|
1316
|
+
declare function ShutterSimulator(props: PropsWithSimulator): react_jsx_runtime.JSX.Element;
|
|
1262
1317
|
|
|
1263
1318
|
/**
|
|
1264
1319
|
* Hardware as exposed by Redux
|
|
1265
1320
|
*/
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
};
|
|
1275
|
-
}
|
|
1321
|
+
type SlitSchema = Hardware<{
|
|
1322
|
+
state: string;
|
|
1323
|
+
type: 'vertical' | 'horizontal' | 'both';
|
|
1324
|
+
hgap: string;
|
|
1325
|
+
vgap: string;
|
|
1326
|
+
hoffset: string;
|
|
1327
|
+
voffset: string;
|
|
1328
|
+
}>;
|
|
1276
1329
|
interface SlitDefaultOptions extends HardwareWidgetOptions {
|
|
1277
1330
|
/** Number of decimals to show */
|
|
1278
1331
|
precision?: number;
|
|
@@ -1281,11 +1334,11 @@ interface SlitDefaultOptions extends HardwareWidgetOptions {
|
|
|
1281
1334
|
}
|
|
1282
1335
|
declare const Variants$c: HardwareVariant<SlitSchema>;
|
|
1283
1336
|
|
|
1284
|
-
declare function SlitDefault(props: HardwareWidgetProps<SlitSchema, SlitDefaultOptions>): JSX.Element;
|
|
1337
|
+
declare function SlitDefault(props: HardwareWidgetProps<SlitSchema, SlitDefaultOptions>): react_jsx_runtime.JSX.Element;
|
|
1285
1338
|
|
|
1286
1339
|
declare function SlitState(props: {
|
|
1287
1340
|
hardware: SlitSchema;
|
|
1288
|
-
}): JSX.Element;
|
|
1341
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1289
1342
|
|
|
1290
1343
|
declare const Mocks$8: {
|
|
1291
1344
|
default: {
|
|
@@ -1329,23 +1382,21 @@ declare const Mocks$8: {
|
|
|
1329
1382
|
/**
|
|
1330
1383
|
* Hardware as exposed by Redux
|
|
1331
1384
|
*/
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
};
|
|
1341
|
-
}
|
|
1385
|
+
type PumpSchema = Hardware<{
|
|
1386
|
+
state: string;
|
|
1387
|
+
status: string;
|
|
1388
|
+
pressure: number;
|
|
1389
|
+
voltage: number;
|
|
1390
|
+
current: number;
|
|
1391
|
+
unit?: string;
|
|
1392
|
+
}>;
|
|
1342
1393
|
declare const Variants$b: HardwareVariant<PumpSchema>;
|
|
1343
1394
|
|
|
1344
1395
|
interface PumpWidgetOptions extends HardwareWidgetOptions {
|
|
1345
1396
|
unit?: string;
|
|
1346
1397
|
precision?: number;
|
|
1347
1398
|
}
|
|
1348
|
-
declare function Pump(props: HardwareWidgetProps<PumpSchema, PumpWidgetOptions>): JSX.Element;
|
|
1399
|
+
declare function Pump(props: HardwareWidgetProps<PumpSchema, PumpWidgetOptions>): react_jsx_runtime.JSX.Element;
|
|
1349
1400
|
|
|
1350
1401
|
declare const Mocks$7: {
|
|
1351
1402
|
default: {
|
|
@@ -1369,18 +1420,16 @@ declare const Mocks$7: {
|
|
|
1369
1420
|
/**
|
|
1370
1421
|
* Hardware as exposed by Redux
|
|
1371
1422
|
*/
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
};
|
|
1376
|
-
}
|
|
1423
|
+
type PusherSchema = Hardware<{
|
|
1424
|
+
state: string;
|
|
1425
|
+
}>;
|
|
1377
1426
|
declare const Variants$a: HardwareVariant<PusherSchema>;
|
|
1378
1427
|
|
|
1379
|
-
declare function Pusher(props: HardwareWidgetProps<PusherSchema, HardwareWidgetOptions>): JSX.Element;
|
|
1428
|
+
declare function Pusher(props: HardwareWidgetProps<PusherSchema, HardwareWidgetOptions>): react_jsx_runtime.JSX.Element;
|
|
1380
1429
|
|
|
1381
1430
|
declare function PusherState(props: {
|
|
1382
1431
|
hardware: PusherSchema;
|
|
1383
|
-
}): JSX.Element;
|
|
1432
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1384
1433
|
|
|
1385
1434
|
declare const Mocks$6: {
|
|
1386
1435
|
default: {
|
|
@@ -1397,29 +1446,27 @@ declare const Mocks$6: {
|
|
|
1397
1446
|
};
|
|
1398
1447
|
};
|
|
1399
1448
|
|
|
1400
|
-
declare function PusherSimulator(props: PropsWithSimulator): JSX.Element;
|
|
1449
|
+
declare function PusherSimulator(props: PropsWithSimulator): react_jsx_runtime.JSX.Element;
|
|
1401
1450
|
|
|
1402
1451
|
/**
|
|
1403
1452
|
* Hardware as exposed by Redux
|
|
1404
1453
|
*/
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
};
|
|
1409
|
-
}
|
|
1454
|
+
type ServiceSchema = Hardware<{
|
|
1455
|
+
state: 'STOPPED' | 'STARTING' | 'RUNNING' | 'BACKOFF' | 'STOPPING' | 'EXITED' | 'FATAL' | 'UNKNOWN';
|
|
1456
|
+
}>;
|
|
1410
1457
|
declare const Variants$9: HardwareVariant<ServiceSchema>;
|
|
1411
1458
|
|
|
1412
|
-
declare function ServiceDefault(props: HardwareWidgetProps<ServiceSchema, HardwareWidgetOptions>): JSX.Element;
|
|
1459
|
+
declare function ServiceDefault(props: HardwareWidgetProps<ServiceSchema, HardwareWidgetOptions>): react_jsx_runtime.JSX.Element;
|
|
1413
1460
|
|
|
1414
1461
|
interface ServiceProectedOptions extends HardwareWidgetOptions {
|
|
1415
1462
|
/** Direction to drop the menu */
|
|
1416
1463
|
dropDirection?: string;
|
|
1417
1464
|
}
|
|
1418
|
-
declare function ServiceProtected(props: HardwareWidgetProps<ServiceSchema, ServiceProectedOptions>): JSX.Element;
|
|
1465
|
+
declare function ServiceProtected(props: HardwareWidgetProps<ServiceSchema, ServiceProectedOptions>): react_jsx_runtime.JSX.Element;
|
|
1419
1466
|
|
|
1420
1467
|
declare function ServiceState(props: {
|
|
1421
1468
|
hardware: ServiceSchema;
|
|
1422
|
-
}): JSX.Element;
|
|
1469
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1423
1470
|
|
|
1424
1471
|
declare const Mocks$5: {
|
|
1425
1472
|
default: {
|
|
@@ -1442,31 +1489,30 @@ interface TomoFlatMotionStep {
|
|
|
1442
1489
|
absolute_position: number | null;
|
|
1443
1490
|
relative_position: number | null;
|
|
1444
1491
|
}
|
|
1492
|
+
interface TomoFlatMotionProperties extends Record<string, unknown> {
|
|
1493
|
+
state: 'READY';
|
|
1494
|
+
available_axes: string[];
|
|
1495
|
+
motion: TomoFlatMotionStep[];
|
|
1496
|
+
move_in_parallel: boolean;
|
|
1497
|
+
power_onoff: boolean;
|
|
1498
|
+
settle_time: number;
|
|
1499
|
+
}
|
|
1445
1500
|
/**
|
|
1446
1501
|
* Hardware as exposed by Redux
|
|
1447
1502
|
*/
|
|
1448
|
-
|
|
1449
|
-
properties: {
|
|
1450
|
-
state: 'READY';
|
|
1451
|
-
available_axes: string[];
|
|
1452
|
-
motion: TomoFlatMotionStep[];
|
|
1453
|
-
move_in_parallel: boolean;
|
|
1454
|
-
power_onoff: boolean;
|
|
1455
|
-
settle_time: number;
|
|
1456
|
-
};
|
|
1457
|
-
}
|
|
1503
|
+
type TomoFlatMotionSchema = Hardware<TomoFlatMotionProperties>;
|
|
1458
1504
|
declare const Variants$8: HardwareVariant<TomoFlatMotionSchema>;
|
|
1459
1505
|
|
|
1460
1506
|
declare function isTomoFlatMotionHardware(entity: Hardware): entity is TomoFlatMotionSchema;
|
|
1461
1507
|
declare function useTomoFlatMotionHardware(name: string | null): TomoFlatMotionSchema | null;
|
|
1462
1508
|
|
|
1463
|
-
declare function TomoFlatMotionDefault(props: HardwareWidgetProps<TomoFlatMotionSchema>): JSX.Element;
|
|
1509
|
+
declare function TomoFlatMotionDefault(props: HardwareWidgetProps<TomoFlatMotionSchema>): react_jsx_runtime.JSX.Element;
|
|
1464
1510
|
|
|
1465
|
-
declare function TomoFlatMotionSmall(props: HardwareWidgetProps<TomoFlatMotionSchema>): JSX.Element;
|
|
1511
|
+
declare function TomoFlatMotionSmall(props: HardwareWidgetProps<TomoFlatMotionSchema>): react_jsx_runtime.JSX.Element;
|
|
1466
1512
|
|
|
1467
1513
|
declare function TomoFlatMotionState(props: {
|
|
1468
1514
|
hardware: TomoFlatMotionSchema;
|
|
1469
|
-
}): JSX.Element;
|
|
1515
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1470
1516
|
|
|
1471
1517
|
declare const Mocks$4: {
|
|
1472
1518
|
default: {
|
|
@@ -1535,50 +1581,46 @@ declare const Mocks$4: {
|
|
|
1535
1581
|
};
|
|
1536
1582
|
};
|
|
1537
1583
|
|
|
1538
|
-
declare function TomoFlatMotionSimulator(props: PropsWithSimulator): JSX.Element;
|
|
1584
|
+
declare function TomoFlatMotionSimulator(props: PropsWithSimulator): react_jsx_runtime.JSX.Element;
|
|
1539
1585
|
|
|
1540
1586
|
/**
|
|
1541
1587
|
* Hardware as exposed by Redux
|
|
1542
1588
|
*/
|
|
1543
|
-
|
|
1544
|
-
properties: Record<string, never>;
|
|
1545
|
-
}
|
|
1589
|
+
type TomoReferencePositionSchema = Hardware<Record<string, never>>;
|
|
1546
1590
|
declare function isTomoReferencePositionHardware(entity: Hardware): entity is TomoReferencePositionSchema;
|
|
1547
1591
|
declare const Variants$7: HardwareVariant<TomoReferencePositionSchema>;
|
|
1548
1592
|
|
|
1549
|
-
declare function TomoReferencePositionDefault(props: HardwareWidgetProps<TomoReferencePositionSchema>): JSX.Element;
|
|
1593
|
+
declare function TomoReferencePositionDefault(props: HardwareWidgetProps<TomoReferencePositionSchema>): react_jsx_runtime.JSX.Element;
|
|
1550
1594
|
|
|
1551
1595
|
/**
|
|
1552
1596
|
* Hardware as exposed by Redux
|
|
1553
1597
|
*/
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
};
|
|
1566
|
-
}
|
|
1598
|
+
type TomoDetectorSchema = Hardware<{
|
|
1599
|
+
state: string;
|
|
1600
|
+
user_sample_pixel_size: number | null;
|
|
1601
|
+
sample_pixel_size_mode: string;
|
|
1602
|
+
sample_pixel_size: number | null;
|
|
1603
|
+
field_of_view: number;
|
|
1604
|
+
detector: string;
|
|
1605
|
+
optic: string;
|
|
1606
|
+
source_distance: number | null;
|
|
1607
|
+
acq_mode: 'MANUAL' | 'SINGLE' | 'ACCUMULATION';
|
|
1608
|
+
}>;
|
|
1567
1609
|
declare const Variants$6: HardwareVariant<TomoDetectorSchema>;
|
|
1568
1610
|
|
|
1569
1611
|
declare function isTomoDetectorHardware(entity: Hardware): entity is TomoDetectorSchema;
|
|
1570
1612
|
declare function useTomoDetectorHardware(name: string | null): TomoDetectorSchema | null;
|
|
1571
1613
|
|
|
1572
|
-
declare function TomoDetectorAcquisitionMode(props: HardwareWidgetProps<TomoDetectorSchema, HardwareWidgetOptions>): JSX.Element;
|
|
1614
|
+
declare function TomoDetectorAcquisitionMode(props: HardwareWidgetProps<TomoDetectorSchema, HardwareWidgetOptions>): react_jsx_runtime.JSX.Element;
|
|
1573
1615
|
|
|
1574
1616
|
interface TomoDetectorSamplePixelSizeOptions extends HardwareWidgetOptions {
|
|
1575
1617
|
display_unit?: string | null;
|
|
1576
1618
|
}
|
|
1577
|
-
declare function TomoDetectorSamplePixelSize(props: HardwareWidgetProps<TomoDetectorSchema, TomoDetectorSamplePixelSizeOptions>): JSX.Element;
|
|
1619
|
+
declare function TomoDetectorSamplePixelSize(props: HardwareWidgetProps<TomoDetectorSchema, TomoDetectorSamplePixelSizeOptions>): react_jsx_runtime.JSX.Element;
|
|
1578
1620
|
|
|
1579
1621
|
declare function TomoDetectorState(props: {
|
|
1580
1622
|
hardware: TomoDetectorSchema;
|
|
1581
|
-
}): JSX.Element;
|
|
1623
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1582
1624
|
|
|
1583
1625
|
declare const Mocks$3: {
|
|
1584
1626
|
default: {
|
|
@@ -1601,24 +1643,22 @@ declare const Mocks$3: {
|
|
|
1601
1643
|
/**
|
|
1602
1644
|
* Hardware as exposed by Redux
|
|
1603
1645
|
*/
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
};
|
|
1611
|
-
}
|
|
1646
|
+
type TomoDetectorsSchema = Hardware<{
|
|
1647
|
+
state: string;
|
|
1648
|
+
detectors: string[];
|
|
1649
|
+
active_detector: string;
|
|
1650
|
+
target_detector?: string;
|
|
1651
|
+
}>;
|
|
1612
1652
|
declare const Variants$5: HardwareVariant<TomoDetectorsSchema>;
|
|
1613
1653
|
|
|
1614
1654
|
declare function isTomoDetectorsHardware(entity: Hardware): entity is TomoDetectorsSchema;
|
|
1615
1655
|
declare function useTomoDetectorsHardware(name: string | null): TomoDetectorsSchema | null;
|
|
1616
1656
|
|
|
1617
|
-
declare function TomoDetectors(props: HardwareWidgetProps<TomoDetectorsSchema>): JSX.Element;
|
|
1657
|
+
declare function TomoDetectors(props: HardwareWidgetProps<TomoDetectorsSchema>): react_jsx_runtime.JSX.Element;
|
|
1618
1658
|
|
|
1619
1659
|
declare function TomoDetectorsState(props: {
|
|
1620
1660
|
hardware: TomoDetectorsSchema;
|
|
1621
|
-
}): JSX.Element;
|
|
1661
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1622
1662
|
|
|
1623
1663
|
declare const Mocks$2: {
|
|
1624
1664
|
default: {
|
|
@@ -1639,29 +1679,27 @@ declare const Mocks$2: {
|
|
|
1639
1679
|
/**
|
|
1640
1680
|
* Hardware as exposed by Redux
|
|
1641
1681
|
*/
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
};
|
|
1649
|
-
}
|
|
1682
|
+
type TomoImagingSchema = Hardware<{
|
|
1683
|
+
state: string;
|
|
1684
|
+
update_on_move: boolean;
|
|
1685
|
+
exposure_time: number;
|
|
1686
|
+
settle_time: number;
|
|
1687
|
+
}>;
|
|
1650
1688
|
declare const Variants$4: HardwareVariant<TomoImagingSchema>;
|
|
1651
1689
|
|
|
1652
|
-
declare function TomoImagingActions(props: HardwareWidgetProps<TomoImagingSchema>): JSX.Element;
|
|
1690
|
+
declare function TomoImagingActions(props: HardwareWidgetProps<TomoImagingSchema>): react_jsx_runtime.JSX.Element;
|
|
1653
1691
|
|
|
1654
|
-
declare function TomoImagingDefault(props: HardwareWidgetProps<TomoImagingSchema>): JSX.Element;
|
|
1692
|
+
declare function TomoImagingDefault(props: HardwareWidgetProps<TomoImagingSchema>): react_jsx_runtime.JSX.Element;
|
|
1655
1693
|
|
|
1656
|
-
declare function TomoImagingExposureTime(props: HardwareWidgetProps<TomoImagingSchema>): JSX.Element;
|
|
1694
|
+
declare function TomoImagingExposureTime(props: HardwareWidgetProps<TomoImagingSchema>): react_jsx_runtime.JSX.Element;
|
|
1657
1695
|
|
|
1658
|
-
declare function TomoImagingSettleTime(props: HardwareWidgetProps<TomoImagingSchema>): JSX.Element;
|
|
1696
|
+
declare function TomoImagingSettleTime(props: HardwareWidgetProps<TomoImagingSchema>): react_jsx_runtime.JSX.Element;
|
|
1659
1697
|
|
|
1660
|
-
declare function TomoImagingUpdateMode(props: HardwareWidgetProps<TomoImagingSchema>): JSX.Element;
|
|
1698
|
+
declare function TomoImagingUpdateMode(props: HardwareWidgetProps<TomoImagingSchema>): react_jsx_runtime.JSX.Element;
|
|
1661
1699
|
|
|
1662
1700
|
declare function TomoImagingState(props: {
|
|
1663
1701
|
hardware: TomoImagingSchema;
|
|
1664
|
-
}): JSX.Element;
|
|
1702
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1665
1703
|
|
|
1666
1704
|
declare const Mocks$1: {
|
|
1667
1705
|
default: {
|
|
@@ -1679,25 +1717,23 @@ declare const Mocks$1: {
|
|
|
1679
1717
|
};
|
|
1680
1718
|
};
|
|
1681
1719
|
|
|
1682
|
-
declare function TomoImagingSimulator(props: PropsWithSimulator): JSX.Element;
|
|
1720
|
+
declare function TomoImagingSimulator(props: PropsWithSimulator): react_jsx_runtime.JSX.Element;
|
|
1683
1721
|
|
|
1684
1722
|
/**
|
|
1685
1723
|
* Hardware as exposed by Redux
|
|
1686
1724
|
*/
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
};
|
|
1700
|
-
}
|
|
1725
|
+
type TomoSampleStageSchema = Hardware<{
|
|
1726
|
+
sx: string;
|
|
1727
|
+
sy: string;
|
|
1728
|
+
sz: string;
|
|
1729
|
+
somega: string;
|
|
1730
|
+
sampx: string;
|
|
1731
|
+
sampy: string;
|
|
1732
|
+
sampu: string;
|
|
1733
|
+
sampv: string;
|
|
1734
|
+
x_axis_focal_pos: number | null;
|
|
1735
|
+
detector_center: [number | null, number | null];
|
|
1736
|
+
}>;
|
|
1701
1737
|
declare const Variants$3: HardwareVariant<TomoSampleStageSchema>;
|
|
1702
1738
|
|
|
1703
1739
|
declare function isTomoSampleStageHardware(entity: Hardware): entity is TomoSampleStageSchema;
|
|
@@ -1706,21 +1742,19 @@ declare function useTomoSampleStageHardware(name: string | null): TomoSampleStag
|
|
|
1706
1742
|
/**
|
|
1707
1743
|
* Hardware as exposed by Redux
|
|
1708
1744
|
*/
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
};
|
|
1717
|
-
}
|
|
1745
|
+
type TomoConfigSchema = Hardware<{
|
|
1746
|
+
sample_stage: string;
|
|
1747
|
+
sxbeam: string;
|
|
1748
|
+
detectors: string;
|
|
1749
|
+
holotomo: string;
|
|
1750
|
+
latency_time: number;
|
|
1751
|
+
}>;
|
|
1718
1752
|
declare const Variants$2: HardwareVariant<TomoConfigSchema>;
|
|
1719
1753
|
|
|
1720
1754
|
declare function isTomoConfigHardware(entity: Hardware): entity is TomoConfigSchema;
|
|
1721
1755
|
declare function useTomoConfigHardware(name: string | null): TomoConfigSchema | null;
|
|
1722
1756
|
|
|
1723
|
-
declare function TomoConfigLatencyTime(props: HardwareWidgetProps<TomoConfigSchema>): JSX.Element;
|
|
1757
|
+
declare function TomoConfigLatencyTime(props: HardwareWidgetProps<TomoConfigSchema>): react_jsx_runtime.JSX.Element;
|
|
1724
1758
|
|
|
1725
1759
|
interface TomoHoloDistance {
|
|
1726
1760
|
z1: number;
|
|
@@ -1730,15 +1764,13 @@ interface TomoHoloDistance {
|
|
|
1730
1764
|
/**
|
|
1731
1765
|
* Hardware as exposed by Redux
|
|
1732
1766
|
*/
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
};
|
|
1741
|
-
}
|
|
1767
|
+
type TomoHoloSchema = Hardware<{
|
|
1768
|
+
state: string;
|
|
1769
|
+
settle_time: number;
|
|
1770
|
+
pixel_size: number | null;
|
|
1771
|
+
nb_distances: number;
|
|
1772
|
+
distances: TomoHoloDistance[];
|
|
1773
|
+
}>;
|
|
1742
1774
|
declare const Variants$1: HardwareVariant<TomoHoloSchema>;
|
|
1743
1775
|
|
|
1744
1776
|
declare function isTomoHoloHardware(entity: Hardware): entity is TomoHoloSchema;
|
|
@@ -1746,20 +1778,18 @@ declare function useTomoHoloHardware(name: string | null): TomoHoloSchema | null
|
|
|
1746
1778
|
|
|
1747
1779
|
declare function TomoHoloState(props: {
|
|
1748
1780
|
hardware: TomoHoloSchema;
|
|
1749
|
-
}): JSX.Element;
|
|
1781
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1750
1782
|
|
|
1751
1783
|
/**
|
|
1752
1784
|
* Hardware as exposed by Redux
|
|
1753
1785
|
*/
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
};
|
|
1759
|
-
}
|
|
1786
|
+
type ValveSchema = Hardware<{
|
|
1787
|
+
state: string;
|
|
1788
|
+
status: string;
|
|
1789
|
+
}>;
|
|
1760
1790
|
declare const Variants: HardwareVariant<ValveSchema>;
|
|
1761
1791
|
|
|
1762
|
-
declare function Valve(props: HardwareWidgetProps<ValveSchema>): JSX.Element;
|
|
1792
|
+
declare function Valve(props: HardwareWidgetProps<ValveSchema>): react_jsx_runtime.JSX.Element;
|
|
1763
1793
|
|
|
1764
1794
|
declare const Mocks: {
|
|
1765
1795
|
default: {
|
|
@@ -1777,7 +1807,7 @@ declare const Mocks: {
|
|
|
1777
1807
|
};
|
|
1778
1808
|
};
|
|
1779
1809
|
|
|
1780
|
-
interface Props$
|
|
1810
|
+
interface Props$b {
|
|
1781
1811
|
online: boolean;
|
|
1782
1812
|
activeMessage?: string;
|
|
1783
1813
|
inactiveMessage?: string;
|
|
@@ -1785,9 +1815,9 @@ interface Props$c {
|
|
|
1785
1815
|
icon: string;
|
|
1786
1816
|
name: string;
|
|
1787
1817
|
}
|
|
1788
|
-
declare function TypeIcon(props: Props$
|
|
1818
|
+
declare function TypeIcon(props: Props$b): react_jsx_runtime.JSX.Element;
|
|
1789
1819
|
|
|
1790
|
-
interface Props$
|
|
1820
|
+
interface Props$a {
|
|
1791
1821
|
hardware: Hardware;
|
|
1792
1822
|
headerMode?: string;
|
|
1793
1823
|
widgetIcon: ReactElement;
|
|
@@ -1798,7 +1828,7 @@ interface Props$b {
|
|
|
1798
1828
|
* Normalized way to compose hardware component in order to provide the same
|
|
1799
1829
|
* kind of layout
|
|
1800
1830
|
*/
|
|
1801
|
-
declare function HardwareTemplate(props: Props$
|
|
1831
|
+
declare function HardwareTemplate(props: Props$a): react_jsx_runtime.JSX.Element;
|
|
1802
1832
|
|
|
1803
1833
|
/**
|
|
1804
1834
|
* Input number synchronized with a hardware.
|
|
@@ -1818,7 +1848,7 @@ declare function HardwareInputNumber(props: {
|
|
|
1818
1848
|
readOnly?: boolean;
|
|
1819
1849
|
precision?: number;
|
|
1820
1850
|
step?: number;
|
|
1821
|
-
}): JSX.Element;
|
|
1851
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1822
1852
|
|
|
1823
1853
|
/**
|
|
1824
1854
|
* NumericStep handled hardware properties.
|
|
@@ -1855,7 +1885,7 @@ declare function HardwareNumericStep(props: {
|
|
|
1855
1885
|
largeArrows?: boolean;
|
|
1856
1886
|
/** Identifier passed to the input element */
|
|
1857
1887
|
id?: string;
|
|
1858
|
-
}): JSX.Element;
|
|
1888
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1859
1889
|
|
|
1860
1890
|
/**
|
|
1861
1891
|
* Normalize the way to display an hardware state.
|
|
@@ -1868,7 +1898,7 @@ declare function HardwareState(props: {
|
|
|
1868
1898
|
variant: string;
|
|
1869
1899
|
minWidth?: number;
|
|
1870
1900
|
description?: string;
|
|
1871
|
-
}): JSX.Element;
|
|
1901
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1872
1902
|
/**
|
|
1873
1903
|
* Normalize the way to display an hardware exposing multiple states.
|
|
1874
1904
|
*
|
|
@@ -1884,7 +1914,7 @@ declare function HardwareMultiState(props: {
|
|
|
1884
1914
|
variants?: Record<string, string>;
|
|
1885
1915
|
descriptions?: Record<string, string>;
|
|
1886
1916
|
minWidth?: number;
|
|
1887
|
-
}): JSX.Element;
|
|
1917
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1888
1918
|
|
|
1889
1919
|
declare const State_d_HardwareMultiState: typeof HardwareMultiState;
|
|
1890
1920
|
declare const State_d_HardwareState: typeof HardwareState;
|
|
@@ -1922,7 +1952,7 @@ interface NoObjectProps$5 {
|
|
|
1922
1952
|
emptyifnone?: boolean;
|
|
1923
1953
|
};
|
|
1924
1954
|
}
|
|
1925
|
-
declare function NoObject$1(props: NoObjectProps$5): JSX.Element;
|
|
1955
|
+
declare function NoObject$1(props: NoObjectProps$5): react_jsx_runtime.JSX.Element;
|
|
1926
1956
|
|
|
1927
1957
|
interface NoObjectProps$4 {
|
|
1928
1958
|
id: string;
|
|
@@ -1931,7 +1961,7 @@ interface NoObjectProps$4 {
|
|
|
1931
1961
|
header?: string;
|
|
1932
1962
|
};
|
|
1933
1963
|
}
|
|
1934
|
-
declare function LoadingObject(props: NoObjectProps$4): JSX.Element;
|
|
1964
|
+
declare function LoadingObject(props: NoObjectProps$4): react_jsx_runtime.JSX.Element;
|
|
1935
1965
|
|
|
1936
1966
|
interface NoObjectProps$3 {
|
|
1937
1967
|
id: string;
|
|
@@ -1941,7 +1971,7 @@ interface NoObjectProps$3 {
|
|
|
1941
1971
|
emptyifnone?: boolean;
|
|
1942
1972
|
};
|
|
1943
1973
|
}
|
|
1944
|
-
declare function MissingObject(props: NoObjectProps$3): JSX.Element;
|
|
1974
|
+
declare function MissingObject(props: NoObjectProps$3): react_jsx_runtime.JSX.Element;
|
|
1945
1975
|
|
|
1946
1976
|
interface NoObjectProps$2 {
|
|
1947
1977
|
id: string;
|
|
@@ -1953,7 +1983,7 @@ interface NoObjectProps$2 {
|
|
|
1953
1983
|
header?: string;
|
|
1954
1984
|
};
|
|
1955
1985
|
}
|
|
1956
|
-
declare function ErrorObject(props: NoObjectProps$2): JSX.Element;
|
|
1986
|
+
declare function ErrorObject(props: NoObjectProps$2): react_jsx_runtime.JSX.Element;
|
|
1957
1987
|
|
|
1958
1988
|
interface NoObjectProps$1 {
|
|
1959
1989
|
id: string;
|
|
@@ -1965,7 +1995,7 @@ interface NoObjectProps$1 {
|
|
|
1965
1995
|
emptyifnone?: boolean;
|
|
1966
1996
|
};
|
|
1967
1997
|
}
|
|
1968
|
-
declare function MissingComponentObject(props: NoObjectProps$1): JSX.Element;
|
|
1998
|
+
declare function MissingComponentObject(props: NoObjectProps$1): react_jsx_runtime.JSX.Element;
|
|
1969
1999
|
|
|
1970
2000
|
interface NoObjectProps {
|
|
1971
2001
|
id: string;
|
|
@@ -1975,21 +2005,21 @@ interface NoObjectProps {
|
|
|
1975
2005
|
emptyifnone?: boolean;
|
|
1976
2006
|
};
|
|
1977
2007
|
}
|
|
1978
|
-
declare function NoObject(props: NoObjectProps): JSX.Element;
|
|
2008
|
+
declare function NoObject(props: NoObjectProps): react_jsx_runtime.JSX.Element;
|
|
1979
2009
|
|
|
1980
|
-
interface Props$
|
|
2010
|
+
interface Props$9 {
|
|
1981
2011
|
className?: string;
|
|
1982
2012
|
}
|
|
1983
|
-
declare function FullSizer(props: PropsWithChildren<Props$
|
|
2013
|
+
declare function FullSizer(props: PropsWithChildren<Props$9>): react_jsx_runtime.JSX.Element;
|
|
1984
2014
|
|
|
1985
|
-
interface Props$
|
|
2015
|
+
interface Props$8 {
|
|
1986
2016
|
step?: number | string;
|
|
1987
2017
|
steps?: (number | string)[];
|
|
1988
2018
|
disabled: boolean;
|
|
1989
2019
|
stepOnly?: boolean;
|
|
1990
2020
|
id?: string;
|
|
1991
2021
|
unit?: string;
|
|
1992
|
-
overlay?:
|
|
2022
|
+
overlay?: ReactNode | null;
|
|
1993
2023
|
incIcon?: string;
|
|
1994
2024
|
decIcon?: string;
|
|
1995
2025
|
swapIncDec?: boolean;
|
|
@@ -2005,31 +2035,29 @@ interface Props$9 {
|
|
|
2005
2035
|
}) => void;
|
|
2006
2036
|
onKeyDown?: (e: KeyboardEvent<HTMLInputElement>) => void;
|
|
2007
2037
|
}
|
|
2008
|
-
declare const NumericStep: React$1.ForwardRefExoticComponent<Props$
|
|
2038
|
+
declare const NumericStep: React$1.ForwardRefExoticComponent<Props$8 & React$1.RefAttributes<HTMLInputElement>>;
|
|
2009
2039
|
|
|
2010
|
-
declare function PanelHeader(props: {
|
|
2011
|
-
children?: ReactChild | ReactChild[];
|
|
2040
|
+
declare function PanelHeader(props: PropsWithChildren<{
|
|
2012
2041
|
style?: Record<string, any>;
|
|
2013
|
-
}): JSX.Element;
|
|
2014
|
-
declare function PanelContents(props: {
|
|
2015
|
-
children?: ReactChild | ReactChild[];
|
|
2042
|
+
}>): react_jsx_runtime.JSX.Element;
|
|
2043
|
+
declare function PanelContents(props: PropsWithChildren<{
|
|
2016
2044
|
style?: Record<string, any>;
|
|
2017
2045
|
className?: string;
|
|
2018
|
-
}): JSX.Element;
|
|
2019
|
-
interface Props$
|
|
2046
|
+
}>): react_jsx_runtime.JSX.Element;
|
|
2047
|
+
interface Props$7 {
|
|
2020
2048
|
style?: Record<string, any>;
|
|
2021
2049
|
scroll?: boolean;
|
|
2022
2050
|
className?: string;
|
|
2023
2051
|
}
|
|
2024
|
-
declare function Panel(props: PropsWithChildren<Props$
|
|
2052
|
+
declare function Panel(props: PropsWithChildren<Props$7>): react_jsx_runtime.JSX.Element;
|
|
2025
2053
|
declare namespace Panel {
|
|
2026
2054
|
var Header: typeof PanelHeader;
|
|
2027
2055
|
var Contents: typeof PanelContents;
|
|
2028
2056
|
}
|
|
2029
2057
|
|
|
2030
|
-
declare function Yaml$1(props: YamlComponent$2): JSX.Element;
|
|
2058
|
+
declare function Yaml$1(props: YamlComponent$2): react_jsx_runtime.JSX.Element;
|
|
2031
2059
|
|
|
2032
|
-
declare function Yaml(props: YamlComponent$2): JSX.Element;
|
|
2060
|
+
declare function Yaml(props: YamlComponent$2): react_jsx_runtime.JSX.Element;
|
|
2033
2061
|
|
|
2034
2062
|
interface YamlNode {
|
|
2035
2063
|
type: string;
|
|
@@ -2050,18 +2078,19 @@ interface YamlComponent$1 {
|
|
|
2050
2078
|
[option: string]: unknown;
|
|
2051
2079
|
}
|
|
2052
2080
|
|
|
2053
|
-
interface Props$
|
|
2081
|
+
interface Props$6 {
|
|
2054
2082
|
yamlNode: AnyYamlNode;
|
|
2055
2083
|
panel: boolean;
|
|
2056
2084
|
}
|
|
2057
|
-
declare function YamlRow({ yamlNode, panel }: Props$
|
|
2085
|
+
declare function YamlRow({ yamlNode, panel }: Props$6): react_jsx_runtime.JSX.Element;
|
|
2058
2086
|
|
|
2059
|
-
interface Props$
|
|
2087
|
+
interface Props$5 {
|
|
2060
2088
|
yamlNode: AnyYamlNode;
|
|
2061
2089
|
panel: boolean;
|
|
2062
2090
|
}
|
|
2063
|
-
declare function YamlCol({ yamlNode, panel }: Props$
|
|
2091
|
+
declare function YamlCol({ yamlNode, panel }: Props$5): react_jsx_runtime.JSX.Element;
|
|
2064
2092
|
|
|
2093
|
+
declare const componentMap: Record<string, React__default.ComponentType<any>>;
|
|
2065
2094
|
declare function registerComponent(name: string, component: React__default.ComponentType<any>): void;
|
|
2066
2095
|
declare function registerComponents(map: Record<string, React__default.ComponentType<any>>): void;
|
|
2067
2096
|
interface YamlComponentNode extends YamlNode {
|
|
@@ -2074,18 +2103,18 @@ interface YamlComponentNode extends YamlNode {
|
|
|
2074
2103
|
declare function YamlComponent(props: {
|
|
2075
2104
|
yamlNode: YamlComponentNode;
|
|
2076
2105
|
panel: boolean;
|
|
2077
|
-
}): JSX.Element;
|
|
2106
|
+
}): react_jsx_runtime.JSX.Element;
|
|
2078
2107
|
|
|
2079
|
-
interface Props$
|
|
2108
|
+
interface Props$4 {
|
|
2080
2109
|
yamlNode: {
|
|
2081
2110
|
children: any[];
|
|
2082
2111
|
options?: Record<string, any>;
|
|
2083
2112
|
};
|
|
2084
2113
|
panel: boolean;
|
|
2085
2114
|
}
|
|
2086
|
-
declare function YamlContainer({ yamlNode, panel }: Props$
|
|
2115
|
+
declare function YamlContainer({ yamlNode, panel }: Props$4): react_jsx_runtime.JSX.Element;
|
|
2087
2116
|
|
|
2088
|
-
interface Props$
|
|
2117
|
+
interface Props$3 {
|
|
2089
2118
|
yamlNode: {
|
|
2090
2119
|
children: any[];
|
|
2091
2120
|
options?: Record<string, any>;
|
|
@@ -2093,9 +2122,9 @@ interface Props$4 {
|
|
|
2093
2122
|
};
|
|
2094
2123
|
panel: boolean;
|
|
2095
2124
|
}
|
|
2096
|
-
declare function YamlPanel(props: Props$
|
|
2125
|
+
declare function YamlPanel(props: Props$3): ReactElement;
|
|
2097
2126
|
|
|
2098
|
-
interface Props$
|
|
2127
|
+
interface Props$2 {
|
|
2099
2128
|
yamlNode: {
|
|
2100
2129
|
children: any[];
|
|
2101
2130
|
options?: Record<string, any>;
|
|
@@ -2103,7 +2132,7 @@ interface Props$3 {
|
|
|
2103
2132
|
};
|
|
2104
2133
|
panel: boolean;
|
|
2105
2134
|
}
|
|
2106
|
-
declare function YamlTabs({ yamlNode, panel }: Props$
|
|
2135
|
+
declare function YamlTabs({ yamlNode, panel }: Props$2): react_jsx_runtime.JSX.Element;
|
|
2107
2136
|
|
|
2108
2137
|
interface YamlFormHeaderNode extends YamlNode {
|
|
2109
2138
|
type: 'formheader';
|
|
@@ -2128,7 +2157,7 @@ interface YamlFormNode extends YamlNode {
|
|
|
2128
2157
|
declare function YamlForm(props: {
|
|
2129
2158
|
yamlNode: YamlFormNode;
|
|
2130
2159
|
panel: boolean;
|
|
2131
|
-
}): JSX.Element;
|
|
2160
|
+
}): react_jsx_runtime.JSX.Element;
|
|
2132
2161
|
|
|
2133
2162
|
interface YamlGridNode extends YamlNode {
|
|
2134
2163
|
children: YamlGridCellNode[];
|
|
@@ -2143,32 +2172,26 @@ interface YamlGridCellNode extends YamlNode {
|
|
|
2143
2172
|
declare function YamlGrid(props: {
|
|
2144
2173
|
yamlNode: YamlGridNode;
|
|
2145
2174
|
panel: boolean;
|
|
2146
|
-
}): JSX.Element;
|
|
2147
|
-
|
|
2148
|
-
interface Props$2 {
|
|
2149
|
-
yamlNode: {
|
|
2150
|
-
children: any[];
|
|
2151
|
-
options?: {
|
|
2152
|
-
[name: string]: any;
|
|
2153
|
-
scroll?: boolean;
|
|
2154
|
-
style?: Record<string, any>;
|
|
2155
|
-
};
|
|
2156
|
-
label?: string;
|
|
2157
|
-
};
|
|
2158
|
-
panel: boolean;
|
|
2159
|
-
}
|
|
2160
|
-
declare function YamlLabel({ yamlNode, panel }: Props$2): JSX.Element;
|
|
2175
|
+
}): react_jsx_runtime.JSX.Element;
|
|
2161
2176
|
|
|
2162
|
-
declare const
|
|
2177
|
+
declare const yamlContainers: {
|
|
2163
2178
|
row: typeof YamlRow;
|
|
2164
2179
|
col: typeof YamlCol;
|
|
2165
2180
|
container: typeof YamlContainer;
|
|
2181
|
+
panel: typeof YamlPanel;
|
|
2182
|
+
tabs: typeof YamlTabs;
|
|
2183
|
+
form: typeof YamlForm;
|
|
2184
|
+
grid: typeof YamlGrid;
|
|
2185
|
+
};
|
|
2186
|
+
declare const yamlMap: {
|
|
2166
2187
|
component: typeof YamlComponent;
|
|
2188
|
+
row: typeof YamlRow;
|
|
2189
|
+
col: typeof YamlCol;
|
|
2190
|
+
container: typeof YamlContainer;
|
|
2167
2191
|
panel: typeof YamlPanel;
|
|
2168
2192
|
tabs: typeof YamlTabs;
|
|
2169
2193
|
form: typeof YamlForm;
|
|
2170
2194
|
grid: typeof YamlGrid;
|
|
2171
|
-
label: typeof YamlLabel;
|
|
2172
2195
|
};
|
|
2173
2196
|
interface Props$1 {
|
|
2174
2197
|
testid: string;
|
|
@@ -2177,7 +2200,7 @@ interface Props$1 {
|
|
|
2177
2200
|
unhandledComponentDidCatch?: (error: Error, setStateCallback: (data: Record<string, any>) => void) => void;
|
|
2178
2201
|
UnhandledErrorComponent?: React.ComponentType<any>;
|
|
2179
2202
|
}
|
|
2180
|
-
declare function Main(props: Props$1): JSX.Element;
|
|
2203
|
+
declare function Main(props: Props$1): react_jsx_runtime.JSX.Element;
|
|
2181
2204
|
|
|
2182
2205
|
interface State {
|
|
2183
2206
|
hasError: boolean;
|
|
@@ -2197,7 +2220,7 @@ declare class ErrorBoundary extends Component<PropsWithChildren<Props>, State> {
|
|
|
2197
2220
|
private readonly reload;
|
|
2198
2221
|
componentDidCatch(error: Error): void;
|
|
2199
2222
|
componentDidUpdate(prevProps: Props, prevState: State): void;
|
|
2200
|
-
render(): React__default.ReactNode;
|
|
2223
|
+
render(): string | number | boolean | react_jsx_runtime.JSX.Element | Iterable<React__default.ReactNode> | null | undefined;
|
|
2201
2224
|
}
|
|
2202
2225
|
|
|
2203
2226
|
/**
|
|
@@ -2207,7 +2230,7 @@ declare function registerYamlType(name: string, component: React.ComponentType<a
|
|
|
2207
2230
|
/**
|
|
2208
2231
|
* Render a Yaml node using registred component from the node type
|
|
2209
2232
|
*/
|
|
2210
|
-
declare function renderYamlNode(yamlNode: AnyYamlNode, key: number | string, panel?: boolean):
|
|
2233
|
+
declare function renderYamlNode(yamlNode: AnyYamlNode, key: number | string, panel?: boolean): react_jsx_runtime.JSX.Element;
|
|
2211
2234
|
declare class LayoutError extends Error {
|
|
2212
2235
|
readonly yamlNode: YamlNode;
|
|
2213
2236
|
constructor(message: string, yamlNode: YamlNode);
|
|
@@ -2222,7 +2245,7 @@ declare class KeyError extends LayoutError {
|
|
|
2222
2245
|
constructor(yamlNode: YamlNode, key: string, message: string);
|
|
2223
2246
|
}
|
|
2224
2247
|
|
|
2225
|
-
|
|
2248
|
+
type Defined<T> = T extends undefined ? never : T;
|
|
2226
2249
|
declare function assertKeyExpected<T>(yamlNode: YamlNode | undefined, key: string, value: T): asserts value is Defined<T>;
|
|
2227
2250
|
declare function assertString(yamlNode: YamlNode, key: string, value: any): asserts value is string;
|
|
2228
2251
|
declare function assertBoolean(yamlNode: YamlNode, key: string, value: unknown): asserts value is boolean;
|
|
@@ -2257,7 +2280,7 @@ declare namespace asserts_d {
|
|
|
2257
2280
|
}
|
|
2258
2281
|
|
|
2259
2282
|
interface RuntimeHooks {
|
|
2260
|
-
useHardware?: (id: string | null) =>
|
|
2283
|
+
useHardware?: (id: string | null) => AnyHardware | null;
|
|
2261
2284
|
useHardwareChangeActions?: (name: string | null) => HardwareChangeActions;
|
|
2262
2285
|
}
|
|
2263
2286
|
declare function registerRuntimeHook(hooks: Partial<RuntimeHooks>): void;
|
|
@@ -2304,7 +2327,7 @@ interface Monitor {
|
|
|
2304
2327
|
declare const dynamicOp: (op: string, a1: any, b1: any) => boolean | undefined;
|
|
2305
2328
|
declare function MonitorHardware(props: {
|
|
2306
2329
|
monitor: Monitor;
|
|
2307
|
-
}): JSX.Element;
|
|
2330
|
+
}): react_jsx_runtime.JSX.Element;
|
|
2308
2331
|
|
|
2309
2332
|
declare function registerMonitorComponent(name: string, component: React.ComponentType<any>): void;
|
|
2310
2333
|
interface MonitorPanelProps {
|
|
@@ -2312,9 +2335,9 @@ interface MonitorPanelProps {
|
|
|
2312
2335
|
margin?: 'start' | null;
|
|
2313
2336
|
bg?: 'light' | null;
|
|
2314
2337
|
}
|
|
2315
|
-
declare function MonitorPanel(props: MonitorPanelProps): JSX.Element;
|
|
2338
|
+
declare function MonitorPanel(props: MonitorPanelProps): react_jsx_runtime.JSX.Element;
|
|
2316
2339
|
interface MonitorPanelItemProps {
|
|
2317
2340
|
}
|
|
2318
|
-
declare function MonitorPanelItem(props: PropsWithChildren<MonitorPanelItemProps>): JSX.Element;
|
|
2341
|
+
declare function MonitorPanelItem(props: PropsWithChildren<MonitorPanelItemProps>): react_jsx_runtime.JSX.Element;
|
|
2319
2342
|
|
|
2320
|
-
export { type ActuatorSchema, AirBearing, Mocks$l as AirBearingMocks, AirBearingProtected, type AirBearingSchema, AirBearingSimulator, AirBearingState, Variants$p as AirBearingVariants, type AnySchema, Info as BaseInfo, type BaseInfoWidgetOptions, Mocks$m as BaseMocks, Name as BaseName, type BaseNameWidgetOptions, Property as BaseProperty, type BasePropertyWidgetOptions, DefaultState as BaseState, Variants$q as BaseVariants, ErrorObject, type ExceptionFromProcedure, formatting_d as Formatting, Frontend, Mocks$k as FrontendMocks, type FrontendSchema, Variants$o as FrontendVariants, FullSizer, Gauge, Mocks$j as GaugeMocks, type GaugeSchema, Variants$n as GaugeVariants, type GaugeWidgetOptions, type GenericSchema, HardwareObject_d as HWObject, type Hardware, type HardwareComponentType, type HardwareFromProcedure, HardwareInputNumber, HardwareNumericStep, schema_d as HardwareSchema, State_d as HardwareState, HardwareTemplate, types_d as HardwareTypes, type HardwareVariant, KeyError, Laser, LaserHeating, Mocks$h as LaserHeatingMocks, type LaserHeatingSchema, Variants$l as LaserHeatingVariants, type LaserHeatingWidgetOptions, Mocks$i as LaserMocks, type LaserSchema, Variants$m as LaserVariants, type LaserWidgetOptions, Light, Mocks$g as LightMocks, type LightSchema, Variants$k as LightVariants, LimaBinning, LimaDefault, TomoDetectorSize$
|
|
2343
|
+
export { type ActuatorSchema, AirBearing, Mocks$l as AirBearingMocks, AirBearingProtected, type AirBearingSchema, AirBearingSimulator, AirBearingState, Variants$p as AirBearingVariants, type AnyHardware, type AnySchema, Info as BaseInfo, type BaseInfoWidgetOptions, Mocks$m as BaseMocks, Name as BaseName, type BaseNameWidgetOptions, Property as BaseProperty, type BasePropertyWidgetOptions, DefaultState as BaseState, Variants$q as BaseVariants, ErrorObject, type ExceptionFromProcedure, formatting_d as Formatting, Frontend, Mocks$k as FrontendMocks, type FrontendSchema, Variants$o as FrontendVariants, FullSizer, Gauge, Mocks$j as GaugeMocks, type GaugeSchema, Variants$n as GaugeVariants, type GaugeWidgetOptions, type GenericSchema, HardwareObject_d as HWObject, type Hardware, type HardwareComponentType, type HardwareFromProcedure, HardwareInputNumber, HardwareNumericStep, schema_d as HardwareSchema, State_d as HardwareState, HardwareTemplate, types_d as HardwareTypes, type HardwareVariant, KeyError, Laser, LaserHeating, Mocks$h as LaserHeatingMocks, type LaserHeatingSchema, Variants$l as LaserHeatingVariants, type LaserHeatingWidgetOptions, Mocks$i as LaserMocks, type LaserSchema, Variants$m as LaserVariants, type LaserWidgetOptions, Light, Mocks$g as LightMocks, type LightSchema, Variants$k as LightVariants, LimaBinning, LimaDefault, TomoDetectorSize$2 as LimaDescription, TomoDetectorSize$1 as LimaImageRoi, Mocks$f as LimaMocks, type LimaSchema, LimaRoiShape as LimaShape, LimaSimulator, TomoDetectorSize as LimaSize, LimaState, LimaTransformation, Variants$j as LimaVariants, LoadingObject, MeasurementGroup as MeasurementGroupDefault, Mocks$e as MeasurementGroupMocks, type MeasurementGroupSchema, MeasurementGroupSimulator, Variants$i as MeasurementGroupVariants, MissingComponentObject, MissingKeysError, MissingObject, type Monitor, MonitorHardware, MonitorPanel, MonitorPanelItem, type MonitorPanelProps, MotorDefault, type MotorDefaultOptions, Mocks$d as MotorMocks, type MotorSchema, MotorSimulator, MotorState, MotorText, Variants$h as MotorVariants, Multiposition, Mocks$c as MultipositionMocks, type MultipositionSchema, MultipositionSimulator, Variants$g as MultipositionVariants, NoObject$1 as NoObject, Yaml as None, NoObject as NullObject, NumericStep, Optic as OpticDefault, Mocks$b as OpticMocks, type OpticSchema, OpticSimulator, OpticState, Variants$f as OpticVariants, type OpticWidgetOptions, Panel, ProcedureExecution, ProcedureManage, Mocks$a as ProcedureMocks, type ProcedureSchema, ProcedureState, ProcedureValidate, Variants$e as ProcedureVariants, Pump as PumpDefault, Mocks$7 as PumpMocks, type PumpSchema, Variants$b as PumpVariants, Pusher as PusherDefault, Mocks$6 as PusherMocks, type PusherSchema, PusherSimulator, PusherState, Variants$a as PusherVariants, type ScanFromProcedure, ServiceDefault, Mocks$5 as ServiceMocks, ServiceProtected, type ServiceSchema, ServiceState, Variants$9 as ServiceVariants, ShutterDefault, Mocks$9 as ShutterMocks, ShutterProtected, type ShutterSchema, ShutterSimulator, ShutterState, Variants$d as ShutterVariants, SlitDefault, Mocks$8 as SlitMocks, type SlitSchema, SlitState, Variants$c as SlitVariants, Yaml$1 as Todo, TomoConfigLatencyTime, type TomoConfigSchema, Variants$2 as TomoConfigVariants, TomoDetectorAcquisitionMode, Mocks$3 as TomoDetectorMocks, TomoDetectorSamplePixelSize, type TomoDetectorSchema, TomoDetectorState, Variants$6 as TomoDetectorVariants, TomoDetectors as TomoDetectorsDefault, Mocks$2 as TomoDetectorsMocks, type TomoDetectorsSchema, TomoDetectorsState, Variants$5 as TomoDetectorsVariants, TomoFlatMotionDefault, Mocks$4 as TomoFlatMotionMocks, type TomoFlatMotionSchema, TomoFlatMotionSimulator, TomoFlatMotionSmall, TomoFlatMotionState, type TomoFlatMotionStep, Variants$8 as TomoFlatMotionVariants, type TomoHoloDistance, type TomoHoloSchema, TomoHoloState, Variants$1 as TomoHoloVariants, TomoImagingActions, TomoImagingDefault, TomoImagingExposureTime, Mocks$1 as TomoImagingMocks, type TomoImagingSchema, TomoImagingSettleTime, TomoImagingSimulator, TomoImagingState, TomoImagingUpdateMode, Variants$4 as TomoImagingVariants, TomoReferencePositionDefault, type TomoReferencePositionSchema, Variants$7 as TomoReferencePositionVariants, type TomoSampleStageSchema, Variants$3 as TomoSampleStageVariants, TypeIcon, type Props$b as TypeIconOptions, Valve as ValveDefault, Mocks as ValveMocks, type ValveSchema, Variants as ValveVariants, ErrorBoundary as YAMLErrorBoundary, Main as YAMLLayout, asserts_d as YamlAsserts, type YamlComponent$1 as YamlComponent, type YamlNode, componentMap, createMotorMock, dynamicOp, isLimaHardware, isMotorHardware, isOpticHardware, isProcedureHardware, isTomoConfigHardware, isTomoDetectorHardware, isTomoDetectorsHardware, isTomoFlatMotionHardware, isTomoHoloHardware, isTomoReferencePositionHardware, isTomoSampleStageHardware, limaGuessSubframes, registerHardwareComponent, registerMonitorComponent, registerRuntimeHook, registerComponent as registerYamlComponent, registerComponents as registerYamlComponents, registerYamlType, renderYamlNode, useLimaHardware, useMotorHardware, useMotorStates, useProcedureHardware, useTomoConfigHardware, useTomoDetectorHardware, useTomoDetectorsHardware, useTomoFlatMotionHardware, useTomoHoloHardware, useTomoSampleStageHardware, yamlContainers, yamlMap };
|