@esrf/daiquiri-lib 2.2.0 → 2.3.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 +182 -116
- package/dist/index.js +9 -9
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3392 -2958
- 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 {
|
|
@@ -70,7 +71,14 @@ interface HardwareWidgetOptions {
|
|
|
70
71
|
/** Kind of header displayed */
|
|
71
72
|
header?: string;
|
|
72
73
|
}
|
|
73
|
-
|
|
74
|
+
/**
|
|
75
|
+
* Common options exposed to user as yaml configuration for editable hardware widgets
|
|
76
|
+
*/
|
|
77
|
+
interface EditableHardwareWidgetOptions extends HardwareWidgetOptions {
|
|
78
|
+
/** Disable edition for an editable widget */
|
|
79
|
+
readonly?: boolean;
|
|
80
|
+
}
|
|
81
|
+
type EditableHardware<H extends Hardware = Hardware> = H & {
|
|
74
82
|
/** Call the API to make a change on the hardware object */
|
|
75
83
|
actions: HardwareChangeActions;
|
|
76
84
|
};
|
|
@@ -89,13 +97,14 @@ interface HardwareWidgetProps<H extends Hardware = Hardware, O extends HardwareW
|
|
|
89
97
|
/** True if the session have the control */
|
|
90
98
|
operator: boolean;
|
|
91
99
|
}
|
|
92
|
-
|
|
100
|
+
type HardwareComponentType<H extends Hardware = Hardware> = ComponentType<HardwareWidgetProps<H, any>>;
|
|
93
101
|
interface HardwareVariant<H extends Hardware = Hardware> {
|
|
94
102
|
[name: string]: HardwareComponentType<H>;
|
|
95
103
|
}
|
|
96
104
|
|
|
97
105
|
type types_d_AnyHardware = AnyHardware;
|
|
98
106
|
type types_d_EditableHardware<H extends Hardware = Hardware> = EditableHardware<H>;
|
|
107
|
+
type types_d_EditableHardwareWidgetOptions = EditableHardwareWidgetOptions;
|
|
99
108
|
type types_d_Hardware = Hardware;
|
|
100
109
|
type types_d_HardwareChangeActions = HardwareChangeActions;
|
|
101
110
|
type types_d_HardwareComponentType<H extends Hardware = Hardware> = HardwareComponentType<H>;
|
|
@@ -104,7 +113,7 @@ 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>;
|
|
106
115
|
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 };
|
|
116
|
+
export type { types_d_AnyHardware as AnyHardware, 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 };
|
|
108
117
|
}
|
|
109
118
|
|
|
110
119
|
interface GenericSchema extends Hardware {
|
|
@@ -226,20 +235,20 @@ declare const Mocks$m: {
|
|
|
226
235
|
};
|
|
227
236
|
};
|
|
228
237
|
|
|
229
|
-
declare function DefaultState(props: HardwareWidgetProps<AnySchema>): JSX.Element;
|
|
238
|
+
declare function DefaultState(props: HardwareWidgetProps<AnySchema>): react_jsx_runtime.JSX.Element;
|
|
230
239
|
|
|
231
240
|
interface BaseNameWidgetOptions extends HardwareWidgetOptions {
|
|
232
241
|
overrideName?: string;
|
|
233
242
|
emptyifnone?: boolean;
|
|
234
243
|
}
|
|
235
|
-
declare function Name(props: HardwareWidgetProps<AnySchema, BaseNameWidgetOptions>): JSX.Element;
|
|
244
|
+
declare function Name(props: HardwareWidgetProps<AnySchema, BaseNameWidgetOptions>): react_jsx_runtime.JSX.Element;
|
|
236
245
|
|
|
237
246
|
interface BasePropertyWidgetOptions extends HardwareWidgetOptions {
|
|
238
247
|
header?: string;
|
|
239
248
|
property?: string;
|
|
240
249
|
unit?: string;
|
|
241
250
|
}
|
|
242
|
-
declare function Property(props: HardwareWidgetProps<AnySchema, BasePropertyWidgetOptions>): JSX.Element;
|
|
251
|
+
declare function Property(props: HardwareWidgetProps<AnySchema, BasePropertyWidgetOptions>): react_jsx_runtime.JSX.Element;
|
|
243
252
|
|
|
244
253
|
interface BaseInfoWidgetOptions extends HardwareWidgetOptions {
|
|
245
254
|
/** The property */
|
|
@@ -247,7 +256,7 @@ interface BaseInfoWidgetOptions extends HardwareWidgetOptions {
|
|
|
247
256
|
/** Unit for the property */
|
|
248
257
|
unit?: string;
|
|
249
258
|
}
|
|
250
|
-
declare function Info(props: HardwareWidgetProps<AnySchema, BaseInfoWidgetOptions>): JSX.Element;
|
|
259
|
+
declare function Info(props: HardwareWidgetProps<AnySchema, BaseInfoWidgetOptions>): react_jsx_runtime.JSX.Element;
|
|
251
260
|
|
|
252
261
|
/**
|
|
253
262
|
* Hardware as exposed by Redux
|
|
@@ -268,13 +277,13 @@ interface AirBearingSchema extends Hardware {
|
|
|
268
277
|
}
|
|
269
278
|
declare const Variants$p: HardwareVariant<AirBearingSchema>;
|
|
270
279
|
|
|
271
|
-
declare function AirBearing(props: HardwareWidgetProps<AirBearingSchema, HardwareWidgetOptions>): JSX.Element;
|
|
280
|
+
declare function AirBearing(props: HardwareWidgetProps<AirBearingSchema, HardwareWidgetOptions>): react_jsx_runtime.JSX.Element;
|
|
272
281
|
|
|
273
|
-
declare function AirBearingProtected(props: HardwareWidgetProps<AirBearingSchema, HardwareWidgetOptions>): JSX.Element;
|
|
282
|
+
declare function AirBearingProtected(props: HardwareWidgetProps<AirBearingSchema, HardwareWidgetOptions>): react_jsx_runtime.JSX.Element;
|
|
274
283
|
|
|
275
284
|
declare function AirBearingState(props: {
|
|
276
285
|
hardware: AirBearingSchema;
|
|
277
|
-
}): JSX.Element;
|
|
286
|
+
}): react_jsx_runtime.JSX.Element;
|
|
278
287
|
|
|
279
288
|
declare const Mocks$l: {
|
|
280
289
|
default: {
|
|
@@ -291,7 +300,7 @@ declare const Mocks$l: {
|
|
|
291
300
|
};
|
|
292
301
|
};
|
|
293
302
|
|
|
294
|
-
|
|
303
|
+
type PropsWithSimulator<P = Record<string, never>> = P & {
|
|
295
304
|
name: string;
|
|
296
305
|
alias?: string;
|
|
297
306
|
useHardwareContext?: () => {
|
|
@@ -302,7 +311,7 @@ declare type PropsWithSimulator<P = Record<string, never>> = P & {
|
|
|
302
311
|
};
|
|
303
312
|
};
|
|
304
313
|
|
|
305
|
-
declare function AirBearingSimulator(props: PropsWithSimulator): JSX.Element;
|
|
314
|
+
declare function AirBearingSimulator(props: PropsWithSimulator): react_jsx_runtime.JSX.Element;
|
|
306
315
|
|
|
307
316
|
interface FrontendSchema extends Hardware {
|
|
308
317
|
properties: {
|
|
@@ -321,7 +330,7 @@ interface FrontendSchema extends Hardware {
|
|
|
321
330
|
}
|
|
322
331
|
declare const Variants$o: HardwareVariant<FrontendSchema>;
|
|
323
332
|
|
|
324
|
-
declare function Frontend(props: HardwareWidgetProps<FrontendSchema>): JSX.Element;
|
|
333
|
+
declare function Frontend(props: HardwareWidgetProps<FrontendSchema>): react_jsx_runtime.JSX.Element;
|
|
325
334
|
|
|
326
335
|
declare const Mocks$k: {
|
|
327
336
|
default: {
|
|
@@ -366,7 +375,7 @@ interface GaugeWidgetOptions extends HardwareWidgetOptions {
|
|
|
366
375
|
/** Precision to show, default 3 */
|
|
367
376
|
precision?: number;
|
|
368
377
|
}
|
|
369
|
-
declare function Gauge(props: HardwareWidgetProps<GaugeSchema, GaugeWidgetOptions>): JSX.Element;
|
|
378
|
+
declare function Gauge(props: HardwareWidgetProps<GaugeSchema, GaugeWidgetOptions>): react_jsx_runtime.JSX.Element;
|
|
370
379
|
|
|
371
380
|
declare const Mocks$j: {
|
|
372
381
|
default: {
|
|
@@ -416,7 +425,7 @@ interface LaserWidgetOptions extends HardwareWidgetOptions {
|
|
|
416
425
|
/** Array of selectable step sizes */
|
|
417
426
|
steps?: number[];
|
|
418
427
|
}
|
|
419
|
-
declare function Laser(props: HardwareWidgetProps<LaserSchema, LaserWidgetOptions>): JSX.Element;
|
|
428
|
+
declare function Laser(props: HardwareWidgetProps<LaserSchema, LaserWidgetOptions>): react_jsx_runtime.JSX.Element;
|
|
420
429
|
|
|
421
430
|
declare const Mocks$i: {
|
|
422
431
|
default: {
|
|
@@ -454,7 +463,7 @@ interface LaserHeatingWidgetOptions extends HardwareWidgetOptions {
|
|
|
454
463
|
/** Array of selectable step sizes */
|
|
455
464
|
exposureSteps?: number[];
|
|
456
465
|
}
|
|
457
|
-
declare function LaserHeating(props: HardwareWidgetProps<LaserHeatingSchema, LaserHeatingWidgetOptions>): JSX.Element;
|
|
466
|
+
declare function LaserHeating(props: HardwareWidgetProps<LaserHeatingSchema, LaserHeatingWidgetOptions>): react_jsx_runtime.JSX.Element;
|
|
458
467
|
|
|
459
468
|
declare const Mocks$h: {
|
|
460
469
|
default: {
|
|
@@ -487,7 +496,7 @@ interface LightSchema extends Hardware {
|
|
|
487
496
|
}
|
|
488
497
|
declare const Variants$k: HardwareVariant<LightSchema>;
|
|
489
498
|
|
|
490
|
-
declare function Light(props: HardwareWidgetProps<LightSchema>): JSX.Element;
|
|
499
|
+
declare function Light(props: HardwareWidgetProps<LightSchema>): react_jsx_runtime.JSX.Element;
|
|
491
500
|
|
|
492
501
|
declare const Mocks$g: {
|
|
493
502
|
default: {
|
|
@@ -548,6 +557,12 @@ interface LimaSchema extends Hardware {
|
|
|
548
557
|
* Binning applied to the resulting image
|
|
549
558
|
*/
|
|
550
559
|
binning: [number, number];
|
|
560
|
+
/**
|
|
561
|
+
* Binning mode applied to the resulting image
|
|
562
|
+
*
|
|
563
|
+
* Introduced in BLISS 2.3, Lima 1.10.4
|
|
564
|
+
*/
|
|
565
|
+
binning_mode?: 'SUM' | 'MEAN';
|
|
551
566
|
/**
|
|
552
567
|
* Location and size of the ROI in the raw image.
|
|
553
568
|
*
|
|
@@ -572,21 +587,23 @@ declare function useLimaHardware(name: string | null): LimaSchema | null;
|
|
|
572
587
|
declare function limaGuessSubframes(exposureTime: number, accMaxExpoTime: number): [number, number];
|
|
573
588
|
declare const Variants$j: HardwareVariant<LimaSchema>;
|
|
574
589
|
|
|
575
|
-
declare function LimaBinning(props: HardwareWidgetProps<LimaSchema,
|
|
590
|
+
declare function LimaBinning(props: HardwareWidgetProps<LimaSchema, EditableHardwareWidgetOptions>): react_jsx_runtime.JSX.Element;
|
|
591
|
+
|
|
592
|
+
declare function LimaDefault(props: HardwareWidgetProps<LimaSchema>): react_jsx_runtime.JSX.Element;
|
|
576
593
|
|
|
577
|
-
declare function
|
|
594
|
+
declare function TomoDetectorSize$2(props: HardwareWidgetProps<LimaSchema, HardwareWidgetOptions>): react_jsx_runtime.JSX.Element;
|
|
578
595
|
|
|
579
|
-
declare function TomoDetectorSize$
|
|
596
|
+
declare function TomoDetectorSize$1(props: HardwareWidgetProps<LimaSchema, HardwareWidgetOptions>): react_jsx_runtime.JSX.Element;
|
|
580
597
|
|
|
581
|
-
declare function TomoDetectorSize
|
|
598
|
+
declare function TomoDetectorSize(props: HardwareWidgetProps<LimaSchema, HardwareWidgetOptions>): react_jsx_runtime.JSX.Element;
|
|
582
599
|
|
|
583
|
-
declare function
|
|
600
|
+
declare function LimaTransformation(props: HardwareWidgetProps<LimaSchema, EditableHardwareWidgetOptions>): react_jsx_runtime.JSX.Element;
|
|
584
601
|
|
|
585
|
-
declare function
|
|
602
|
+
declare function LimaRoiShape(props: HardwareWidgetProps<LimaSchema, HardwareWidgetOptions>): react_jsx_runtime.JSX.Element;
|
|
586
603
|
|
|
587
604
|
declare function LimaState(props: {
|
|
588
605
|
hardware: LimaSchema;
|
|
589
|
-
}): JSX.Element;
|
|
606
|
+
}): react_jsx_runtime.JSX.Element;
|
|
590
607
|
|
|
591
608
|
declare const Mocks$f: {
|
|
592
609
|
default: {
|
|
@@ -608,7 +625,6 @@ declare const Mocks$f: {
|
|
|
608
625
|
acc_max_expo_time: number;
|
|
609
626
|
binning: number[];
|
|
610
627
|
flip: boolean[];
|
|
611
|
-
max_size: number[];
|
|
612
628
|
pixel_size: number[];
|
|
613
629
|
raw_roi: number[];
|
|
614
630
|
roi: number[];
|
|
@@ -636,7 +652,6 @@ declare const Mocks$f: {
|
|
|
636
652
|
acc_max_expo_time: number;
|
|
637
653
|
binning: number[];
|
|
638
654
|
flip: boolean[];
|
|
639
|
-
max_size: number[];
|
|
640
655
|
pixel_size: number[];
|
|
641
656
|
raw_roi: number[];
|
|
642
657
|
roi: number[];
|
|
@@ -664,7 +679,60 @@ declare const Mocks$f: {
|
|
|
664
679
|
acc_max_expo_time: number;
|
|
665
680
|
binning: number[];
|
|
666
681
|
flip: boolean[];
|
|
667
|
-
|
|
682
|
+
pixel_size: number[];
|
|
683
|
+
raw_roi: number[];
|
|
684
|
+
roi: number[];
|
|
685
|
+
rotation: number;
|
|
686
|
+
size: number[];
|
|
687
|
+
state: string;
|
|
688
|
+
};
|
|
689
|
+
};
|
|
690
|
+
roicenter: {
|
|
691
|
+
id: string;
|
|
692
|
+
name: string;
|
|
693
|
+
protocol: string;
|
|
694
|
+
type: string;
|
|
695
|
+
online: boolean;
|
|
696
|
+
require_staff: boolean;
|
|
697
|
+
properties: {
|
|
698
|
+
static: {
|
|
699
|
+
lima_version: string;
|
|
700
|
+
lima_type: string;
|
|
701
|
+
camera_type: string;
|
|
702
|
+
camera_model: string;
|
|
703
|
+
camera_pixelsize: number[];
|
|
704
|
+
image_max_dim: number[];
|
|
705
|
+
};
|
|
706
|
+
acc_max_expo_time: number;
|
|
707
|
+
binning: number[];
|
|
708
|
+
flip: boolean[];
|
|
709
|
+
pixel_size: number[];
|
|
710
|
+
raw_roi: number[];
|
|
711
|
+
roi: number[];
|
|
712
|
+
rotation: number;
|
|
713
|
+
size: number[];
|
|
714
|
+
state: string;
|
|
715
|
+
};
|
|
716
|
+
};
|
|
717
|
+
squaredetector: {
|
|
718
|
+
id: string;
|
|
719
|
+
name: string;
|
|
720
|
+
protocol: string;
|
|
721
|
+
type: string;
|
|
722
|
+
online: boolean;
|
|
723
|
+
require_staff: boolean;
|
|
724
|
+
properties: {
|
|
725
|
+
static: {
|
|
726
|
+
lima_version: string;
|
|
727
|
+
lima_type: string;
|
|
728
|
+
camera_type: string;
|
|
729
|
+
camera_model: string;
|
|
730
|
+
camera_pixelsize: number[];
|
|
731
|
+
image_max_dim: number[];
|
|
732
|
+
};
|
|
733
|
+
acc_max_expo_time: number;
|
|
734
|
+
binning: number[];
|
|
735
|
+
flip: boolean[];
|
|
668
736
|
pixel_size: number[];
|
|
669
737
|
raw_roi: number[];
|
|
670
738
|
roi: number[];
|
|
@@ -675,7 +743,7 @@ declare const Mocks$f: {
|
|
|
675
743
|
};
|
|
676
744
|
};
|
|
677
745
|
|
|
678
|
-
declare function LimaSimulator(props: PropsWithSimulator): JSX.Element;
|
|
746
|
+
declare function LimaSimulator(props: PropsWithSimulator): react_jsx_runtime.JSX.Element;
|
|
679
747
|
|
|
680
748
|
/**
|
|
681
749
|
* Hardware as exposed by Redux
|
|
@@ -693,7 +761,7 @@ interface MeasurementGroupSchema extends Hardware {
|
|
|
693
761
|
}
|
|
694
762
|
declare const Variants$i: HardwareVariant<MeasurementGroupSchema>;
|
|
695
763
|
|
|
696
|
-
declare function MeasurementGroup(props: HardwareWidgetProps<MeasurementGroupSchema>): JSX.Element;
|
|
764
|
+
declare function MeasurementGroup(props: HardwareWidgetProps<MeasurementGroupSchema>): react_jsx_runtime.JSX.Element;
|
|
697
765
|
|
|
698
766
|
declare const Mocks$e: {
|
|
699
767
|
default: {
|
|
@@ -711,7 +779,7 @@ declare const Mocks$e: {
|
|
|
711
779
|
};
|
|
712
780
|
};
|
|
713
781
|
|
|
714
|
-
declare function MeasurementGroupSimulator(props: PropsWithSimulator): JSX.Element;
|
|
782
|
+
declare function MeasurementGroupSimulator(props: PropsWithSimulator): react_jsx_runtime.JSX.Element;
|
|
715
783
|
|
|
716
784
|
interface MotorSchema extends Hardware {
|
|
717
785
|
properties: {
|
|
@@ -807,12 +875,12 @@ interface MotorDefaultOptions extends HardwareWidgetOptions {
|
|
|
807
875
|
/**
|
|
808
876
|
* The default motor widget
|
|
809
877
|
*/
|
|
810
|
-
declare function MotorDefault(props: HardwareWidgetProps<MotorSchema, MotorDefaultOptions>): JSX.Element;
|
|
878
|
+
declare function MotorDefault(props: HardwareWidgetProps<MotorSchema, MotorDefaultOptions>): react_jsx_runtime.JSX.Element;
|
|
811
879
|
|
|
812
880
|
/**
|
|
813
881
|
* The default motor widget
|
|
814
882
|
*/
|
|
815
|
-
declare function MotorText(props: HardwareWidgetProps<MotorSchema, MotorDefaultOptions>): JSX.Element;
|
|
883
|
+
declare function MotorText(props: HardwareWidgetProps<MotorSchema, MotorDefaultOptions>): react_jsx_runtime.JSX.Element;
|
|
816
884
|
|
|
817
885
|
/**
|
|
818
886
|
* A motor have a set of flags as state.
|
|
@@ -825,7 +893,7 @@ declare function MotorText(props: HardwareWidgetProps<MotorSchema, MotorDefaultO
|
|
|
825
893
|
*/
|
|
826
894
|
declare function MotorState(props: {
|
|
827
895
|
hardware: MotorSchema;
|
|
828
|
-
}): JSX.Element;
|
|
896
|
+
}): react_jsx_runtime.JSX.Element;
|
|
829
897
|
|
|
830
898
|
declare const Mocks$d: {
|
|
831
899
|
default: {
|
|
@@ -975,7 +1043,7 @@ interface Props$e {
|
|
|
975
1043
|
};
|
|
976
1044
|
};
|
|
977
1045
|
}
|
|
978
|
-
declare function MotorSimulator(props: Props$e): JSX.Element;
|
|
1046
|
+
declare function MotorSimulator(props: Props$e): react_jsx_runtime.JSX.Element;
|
|
979
1047
|
|
|
980
1048
|
interface MultipositionSchema extends Hardware {
|
|
981
1049
|
properties: {
|
|
@@ -994,7 +1062,7 @@ interface MultipositionSchema extends Hardware {
|
|
|
994
1062
|
}
|
|
995
1063
|
declare const Variants$g: HardwareVariant<MultipositionSchema>;
|
|
996
1064
|
|
|
997
|
-
declare function Multiposition(props: HardwareWidgetProps<MultipositionSchema>): JSX.Element;
|
|
1065
|
+
declare function Multiposition(props: HardwareWidgetProps<MultipositionSchema>): react_jsx_runtime.JSX.Element;
|
|
998
1066
|
|
|
999
1067
|
declare const Mocks$c: {
|
|
1000
1068
|
default: {
|
|
@@ -1020,7 +1088,7 @@ declare const Mocks$c: {
|
|
|
1020
1088
|
};
|
|
1021
1089
|
};
|
|
1022
1090
|
|
|
1023
|
-
declare function MultipositionSimulator(props: PropsWithSimulator): JSX.Element;
|
|
1091
|
+
declare function MultipositionSimulator(props: PropsWithSimulator): react_jsx_runtime.JSX.Element;
|
|
1024
1092
|
|
|
1025
1093
|
/**
|
|
1026
1094
|
* Hardware as exposed by Redux
|
|
@@ -1047,11 +1115,11 @@ interface OpticWidgetOptions extends HardwareWidgetOptions {
|
|
|
1047
1115
|
digits?: number;
|
|
1048
1116
|
allowtuning?: boolean;
|
|
1049
1117
|
}
|
|
1050
|
-
declare function Optic(props: HardwareWidgetProps<OpticSchema, OpticWidgetOptions>): JSX.Element;
|
|
1118
|
+
declare function Optic(props: HardwareWidgetProps<OpticSchema, OpticWidgetOptions>): react_jsx_runtime.JSX.Element;
|
|
1051
1119
|
|
|
1052
1120
|
declare function OpticState(props: {
|
|
1053
1121
|
hardware: OpticSchema;
|
|
1054
|
-
}): JSX.Element;
|
|
1122
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1055
1123
|
|
|
1056
1124
|
declare const Mocks$b: {
|
|
1057
1125
|
default: {
|
|
@@ -1123,7 +1191,7 @@ declare const Mocks$b: {
|
|
|
1123
1191
|
interface Props$d {
|
|
1124
1192
|
kind: 'fixed' | 'range' | 'multi';
|
|
1125
1193
|
}
|
|
1126
|
-
declare function OpticSimulator(props: PropsWithSimulator<Props$d>): JSX.Element;
|
|
1194
|
+
declare function OpticSimulator(props: PropsWithSimulator<Props$d>): react_jsx_runtime.JSX.Element;
|
|
1127
1195
|
|
|
1128
1196
|
interface ProcedureSchema extends Hardware {
|
|
1129
1197
|
properties: {
|
|
@@ -1152,15 +1220,15 @@ interface ExceptionFromProcedure {
|
|
|
1152
1220
|
traceback: Record<string, any>;
|
|
1153
1221
|
}
|
|
1154
1222
|
|
|
1155
|
-
declare function ProcedureExecution(props: HardwareWidgetProps<ProcedureSchema>): JSX.Element;
|
|
1223
|
+
declare function ProcedureExecution(props: HardwareWidgetProps<ProcedureSchema>): react_jsx_runtime.JSX.Element;
|
|
1156
1224
|
|
|
1157
|
-
declare function ProcedureManage(props: HardwareWidgetProps<ProcedureSchema>): JSX.Element;
|
|
1225
|
+
declare function ProcedureManage(props: HardwareWidgetProps<ProcedureSchema>): react_jsx_runtime.JSX.Element;
|
|
1158
1226
|
|
|
1159
|
-
declare function ProcedureValidate(props: HardwareWidgetProps<ProcedureSchema>): JSX.Element;
|
|
1227
|
+
declare function ProcedureValidate(props: HardwareWidgetProps<ProcedureSchema>): react_jsx_runtime.JSX.Element;
|
|
1160
1228
|
|
|
1161
1229
|
declare function ProcedureState(props: {
|
|
1162
1230
|
hardware: ProcedureSchema;
|
|
1163
|
-
}): JSX.Element;
|
|
1231
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1164
1232
|
|
|
1165
1233
|
declare const Mocks$a: {
|
|
1166
1234
|
standby: {
|
|
@@ -1230,14 +1298,14 @@ interface ShutterSchema extends Hardware {
|
|
|
1230
1298
|
}
|
|
1231
1299
|
declare const Variants$d: HardwareVariant<ShutterSchema>;
|
|
1232
1300
|
|
|
1233
|
-
declare function ShutterDefault(props: HardwareWidgetProps<ShutterSchema, HardwareWidgetOptions>): JSX.Element;
|
|
1301
|
+
declare function ShutterDefault(props: HardwareWidgetProps<ShutterSchema, HardwareWidgetOptions>): react_jsx_runtime.JSX.Element;
|
|
1234
1302
|
|
|
1235
|
-
declare function ShutterProtected(props: HardwareWidgetProps<ShutterSchema, HardwareWidgetOptions>): JSX.Element;
|
|
1303
|
+
declare function ShutterProtected(props: HardwareWidgetProps<ShutterSchema, HardwareWidgetOptions>): react_jsx_runtime.JSX.Element;
|
|
1236
1304
|
|
|
1237
1305
|
declare function ShutterState(props: {
|
|
1238
1306
|
hardware: ShutterSchema;
|
|
1239
1307
|
useReadyState?: boolean;
|
|
1240
|
-
}): JSX.Element;
|
|
1308
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1241
1309
|
|
|
1242
1310
|
declare const Mocks$9: {
|
|
1243
1311
|
default: {
|
|
@@ -1258,7 +1326,7 @@ declare const Mocks$9: {
|
|
|
1258
1326
|
};
|
|
1259
1327
|
};
|
|
1260
1328
|
|
|
1261
|
-
declare function ShutterSimulator(props: PropsWithSimulator): JSX.Element;
|
|
1329
|
+
declare function ShutterSimulator(props: PropsWithSimulator): react_jsx_runtime.JSX.Element;
|
|
1262
1330
|
|
|
1263
1331
|
/**
|
|
1264
1332
|
* Hardware as exposed by Redux
|
|
@@ -1281,11 +1349,11 @@ interface SlitDefaultOptions extends HardwareWidgetOptions {
|
|
|
1281
1349
|
}
|
|
1282
1350
|
declare const Variants$c: HardwareVariant<SlitSchema>;
|
|
1283
1351
|
|
|
1284
|
-
declare function SlitDefault(props: HardwareWidgetProps<SlitSchema, SlitDefaultOptions>): JSX.Element;
|
|
1352
|
+
declare function SlitDefault(props: HardwareWidgetProps<SlitSchema, SlitDefaultOptions>): react_jsx_runtime.JSX.Element;
|
|
1285
1353
|
|
|
1286
1354
|
declare function SlitState(props: {
|
|
1287
1355
|
hardware: SlitSchema;
|
|
1288
|
-
}): JSX.Element;
|
|
1356
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1289
1357
|
|
|
1290
1358
|
declare const Mocks$8: {
|
|
1291
1359
|
default: {
|
|
@@ -1345,7 +1413,7 @@ interface PumpWidgetOptions extends HardwareWidgetOptions {
|
|
|
1345
1413
|
unit?: string;
|
|
1346
1414
|
precision?: number;
|
|
1347
1415
|
}
|
|
1348
|
-
declare function Pump(props: HardwareWidgetProps<PumpSchema, PumpWidgetOptions>): JSX.Element;
|
|
1416
|
+
declare function Pump(props: HardwareWidgetProps<PumpSchema, PumpWidgetOptions>): react_jsx_runtime.JSX.Element;
|
|
1349
1417
|
|
|
1350
1418
|
declare const Mocks$7: {
|
|
1351
1419
|
default: {
|
|
@@ -1376,11 +1444,11 @@ interface PusherSchema extends Hardware {
|
|
|
1376
1444
|
}
|
|
1377
1445
|
declare const Variants$a: HardwareVariant<PusherSchema>;
|
|
1378
1446
|
|
|
1379
|
-
declare function Pusher(props: HardwareWidgetProps<PusherSchema, HardwareWidgetOptions>): JSX.Element;
|
|
1447
|
+
declare function Pusher(props: HardwareWidgetProps<PusherSchema, HardwareWidgetOptions>): react_jsx_runtime.JSX.Element;
|
|
1380
1448
|
|
|
1381
1449
|
declare function PusherState(props: {
|
|
1382
1450
|
hardware: PusherSchema;
|
|
1383
|
-
}): JSX.Element;
|
|
1451
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1384
1452
|
|
|
1385
1453
|
declare const Mocks$6: {
|
|
1386
1454
|
default: {
|
|
@@ -1397,7 +1465,7 @@ declare const Mocks$6: {
|
|
|
1397
1465
|
};
|
|
1398
1466
|
};
|
|
1399
1467
|
|
|
1400
|
-
declare function PusherSimulator(props: PropsWithSimulator): JSX.Element;
|
|
1468
|
+
declare function PusherSimulator(props: PropsWithSimulator): react_jsx_runtime.JSX.Element;
|
|
1401
1469
|
|
|
1402
1470
|
/**
|
|
1403
1471
|
* Hardware as exposed by Redux
|
|
@@ -1409,17 +1477,17 @@ interface ServiceSchema extends Hardware {
|
|
|
1409
1477
|
}
|
|
1410
1478
|
declare const Variants$9: HardwareVariant<ServiceSchema>;
|
|
1411
1479
|
|
|
1412
|
-
declare function ServiceDefault(props: HardwareWidgetProps<ServiceSchema, HardwareWidgetOptions>): JSX.Element;
|
|
1480
|
+
declare function ServiceDefault(props: HardwareWidgetProps<ServiceSchema, HardwareWidgetOptions>): react_jsx_runtime.JSX.Element;
|
|
1413
1481
|
|
|
1414
1482
|
interface ServiceProectedOptions extends HardwareWidgetOptions {
|
|
1415
1483
|
/** Direction to drop the menu */
|
|
1416
1484
|
dropDirection?: string;
|
|
1417
1485
|
}
|
|
1418
|
-
declare function ServiceProtected(props: HardwareWidgetProps<ServiceSchema, ServiceProectedOptions>): JSX.Element;
|
|
1486
|
+
declare function ServiceProtected(props: HardwareWidgetProps<ServiceSchema, ServiceProectedOptions>): react_jsx_runtime.JSX.Element;
|
|
1419
1487
|
|
|
1420
1488
|
declare function ServiceState(props: {
|
|
1421
1489
|
hardware: ServiceSchema;
|
|
1422
|
-
}): JSX.Element;
|
|
1490
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1423
1491
|
|
|
1424
1492
|
declare const Mocks$5: {
|
|
1425
1493
|
default: {
|
|
@@ -1460,13 +1528,13 @@ declare const Variants$8: HardwareVariant<TomoFlatMotionSchema>;
|
|
|
1460
1528
|
declare function isTomoFlatMotionHardware(entity: Hardware): entity is TomoFlatMotionSchema;
|
|
1461
1529
|
declare function useTomoFlatMotionHardware(name: string | null): TomoFlatMotionSchema | null;
|
|
1462
1530
|
|
|
1463
|
-
declare function TomoFlatMotionDefault(props: HardwareWidgetProps<TomoFlatMotionSchema>): JSX.Element;
|
|
1531
|
+
declare function TomoFlatMotionDefault(props: HardwareWidgetProps<TomoFlatMotionSchema>): react_jsx_runtime.JSX.Element;
|
|
1464
1532
|
|
|
1465
|
-
declare function TomoFlatMotionSmall(props: HardwareWidgetProps<TomoFlatMotionSchema>): JSX.Element;
|
|
1533
|
+
declare function TomoFlatMotionSmall(props: HardwareWidgetProps<TomoFlatMotionSchema>): react_jsx_runtime.JSX.Element;
|
|
1466
1534
|
|
|
1467
1535
|
declare function TomoFlatMotionState(props: {
|
|
1468
1536
|
hardware: TomoFlatMotionSchema;
|
|
1469
|
-
}): JSX.Element;
|
|
1537
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1470
1538
|
|
|
1471
1539
|
declare const Mocks$4: {
|
|
1472
1540
|
default: {
|
|
@@ -1535,7 +1603,7 @@ declare const Mocks$4: {
|
|
|
1535
1603
|
};
|
|
1536
1604
|
};
|
|
1537
1605
|
|
|
1538
|
-
declare function TomoFlatMotionSimulator(props: PropsWithSimulator): JSX.Element;
|
|
1606
|
+
declare function TomoFlatMotionSimulator(props: PropsWithSimulator): react_jsx_runtime.JSX.Element;
|
|
1539
1607
|
|
|
1540
1608
|
/**
|
|
1541
1609
|
* Hardware as exposed by Redux
|
|
@@ -1546,7 +1614,7 @@ interface TomoReferencePositionSchema extends Hardware {
|
|
|
1546
1614
|
declare function isTomoReferencePositionHardware(entity: Hardware): entity is TomoReferencePositionSchema;
|
|
1547
1615
|
declare const Variants$7: HardwareVariant<TomoReferencePositionSchema>;
|
|
1548
1616
|
|
|
1549
|
-
declare function TomoReferencePositionDefault(props: HardwareWidgetProps<TomoReferencePositionSchema>): JSX.Element;
|
|
1617
|
+
declare function TomoReferencePositionDefault(props: HardwareWidgetProps<TomoReferencePositionSchema>): react_jsx_runtime.JSX.Element;
|
|
1550
1618
|
|
|
1551
1619
|
/**
|
|
1552
1620
|
* Hardware as exposed by Redux
|
|
@@ -1569,16 +1637,16 @@ declare const Variants$6: HardwareVariant<TomoDetectorSchema>;
|
|
|
1569
1637
|
declare function isTomoDetectorHardware(entity: Hardware): entity is TomoDetectorSchema;
|
|
1570
1638
|
declare function useTomoDetectorHardware(name: string | null): TomoDetectorSchema | null;
|
|
1571
1639
|
|
|
1572
|
-
declare function TomoDetectorAcquisitionMode(props: HardwareWidgetProps<TomoDetectorSchema, HardwareWidgetOptions>): JSX.Element;
|
|
1640
|
+
declare function TomoDetectorAcquisitionMode(props: HardwareWidgetProps<TomoDetectorSchema, HardwareWidgetOptions>): react_jsx_runtime.JSX.Element;
|
|
1573
1641
|
|
|
1574
1642
|
interface TomoDetectorSamplePixelSizeOptions extends HardwareWidgetOptions {
|
|
1575
1643
|
display_unit?: string | null;
|
|
1576
1644
|
}
|
|
1577
|
-
declare function TomoDetectorSamplePixelSize(props: HardwareWidgetProps<TomoDetectorSchema, TomoDetectorSamplePixelSizeOptions>): JSX.Element;
|
|
1645
|
+
declare function TomoDetectorSamplePixelSize(props: HardwareWidgetProps<TomoDetectorSchema, TomoDetectorSamplePixelSizeOptions>): react_jsx_runtime.JSX.Element;
|
|
1578
1646
|
|
|
1579
1647
|
declare function TomoDetectorState(props: {
|
|
1580
1648
|
hardware: TomoDetectorSchema;
|
|
1581
|
-
}): JSX.Element;
|
|
1649
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1582
1650
|
|
|
1583
1651
|
declare const Mocks$3: {
|
|
1584
1652
|
default: {
|
|
@@ -1614,11 +1682,11 @@ declare const Variants$5: HardwareVariant<TomoDetectorsSchema>;
|
|
|
1614
1682
|
declare function isTomoDetectorsHardware(entity: Hardware): entity is TomoDetectorsSchema;
|
|
1615
1683
|
declare function useTomoDetectorsHardware(name: string | null): TomoDetectorsSchema | null;
|
|
1616
1684
|
|
|
1617
|
-
declare function TomoDetectors(props: HardwareWidgetProps<TomoDetectorsSchema>): JSX.Element;
|
|
1685
|
+
declare function TomoDetectors(props: HardwareWidgetProps<TomoDetectorsSchema>): react_jsx_runtime.JSX.Element;
|
|
1618
1686
|
|
|
1619
1687
|
declare function TomoDetectorsState(props: {
|
|
1620
1688
|
hardware: TomoDetectorsSchema;
|
|
1621
|
-
}): JSX.Element;
|
|
1689
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1622
1690
|
|
|
1623
1691
|
declare const Mocks$2: {
|
|
1624
1692
|
default: {
|
|
@@ -1649,19 +1717,19 @@ interface TomoImagingSchema extends Hardware {
|
|
|
1649
1717
|
}
|
|
1650
1718
|
declare const Variants$4: HardwareVariant<TomoImagingSchema>;
|
|
1651
1719
|
|
|
1652
|
-
declare function TomoImagingActions(props: HardwareWidgetProps<TomoImagingSchema>): JSX.Element;
|
|
1720
|
+
declare function TomoImagingActions(props: HardwareWidgetProps<TomoImagingSchema>): react_jsx_runtime.JSX.Element;
|
|
1653
1721
|
|
|
1654
|
-
declare function TomoImagingDefault(props: HardwareWidgetProps<TomoImagingSchema>): JSX.Element;
|
|
1722
|
+
declare function TomoImagingDefault(props: HardwareWidgetProps<TomoImagingSchema>): react_jsx_runtime.JSX.Element;
|
|
1655
1723
|
|
|
1656
|
-
declare function TomoImagingExposureTime(props: HardwareWidgetProps<TomoImagingSchema>): JSX.Element;
|
|
1724
|
+
declare function TomoImagingExposureTime(props: HardwareWidgetProps<TomoImagingSchema>): react_jsx_runtime.JSX.Element;
|
|
1657
1725
|
|
|
1658
|
-
declare function TomoImagingSettleTime(props: HardwareWidgetProps<TomoImagingSchema>): JSX.Element;
|
|
1726
|
+
declare function TomoImagingSettleTime(props: HardwareWidgetProps<TomoImagingSchema>): react_jsx_runtime.JSX.Element;
|
|
1659
1727
|
|
|
1660
|
-
declare function TomoImagingUpdateMode(props: HardwareWidgetProps<TomoImagingSchema>): JSX.Element;
|
|
1728
|
+
declare function TomoImagingUpdateMode(props: HardwareWidgetProps<TomoImagingSchema>): react_jsx_runtime.JSX.Element;
|
|
1661
1729
|
|
|
1662
1730
|
declare function TomoImagingState(props: {
|
|
1663
1731
|
hardware: TomoImagingSchema;
|
|
1664
|
-
}): JSX.Element;
|
|
1732
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1665
1733
|
|
|
1666
1734
|
declare const Mocks$1: {
|
|
1667
1735
|
default: {
|
|
@@ -1679,7 +1747,7 @@ declare const Mocks$1: {
|
|
|
1679
1747
|
};
|
|
1680
1748
|
};
|
|
1681
1749
|
|
|
1682
|
-
declare function TomoImagingSimulator(props: PropsWithSimulator): JSX.Element;
|
|
1750
|
+
declare function TomoImagingSimulator(props: PropsWithSimulator): react_jsx_runtime.JSX.Element;
|
|
1683
1751
|
|
|
1684
1752
|
/**
|
|
1685
1753
|
* Hardware as exposed by Redux
|
|
@@ -1720,7 +1788,7 @@ declare const Variants$2: HardwareVariant<TomoConfigSchema>;
|
|
|
1720
1788
|
declare function isTomoConfigHardware(entity: Hardware): entity is TomoConfigSchema;
|
|
1721
1789
|
declare function useTomoConfigHardware(name: string | null): TomoConfigSchema | null;
|
|
1722
1790
|
|
|
1723
|
-
declare function TomoConfigLatencyTime(props: HardwareWidgetProps<TomoConfigSchema>): JSX.Element;
|
|
1791
|
+
declare function TomoConfigLatencyTime(props: HardwareWidgetProps<TomoConfigSchema>): react_jsx_runtime.JSX.Element;
|
|
1724
1792
|
|
|
1725
1793
|
interface TomoHoloDistance {
|
|
1726
1794
|
z1: number;
|
|
@@ -1746,7 +1814,7 @@ declare function useTomoHoloHardware(name: string | null): TomoHoloSchema | null
|
|
|
1746
1814
|
|
|
1747
1815
|
declare function TomoHoloState(props: {
|
|
1748
1816
|
hardware: TomoHoloSchema;
|
|
1749
|
-
}): JSX.Element;
|
|
1817
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1750
1818
|
|
|
1751
1819
|
/**
|
|
1752
1820
|
* Hardware as exposed by Redux
|
|
@@ -1759,7 +1827,7 @@ interface ValveSchema extends Hardware {
|
|
|
1759
1827
|
}
|
|
1760
1828
|
declare const Variants: HardwareVariant<ValveSchema>;
|
|
1761
1829
|
|
|
1762
|
-
declare function Valve(props: HardwareWidgetProps<ValveSchema>): JSX.Element;
|
|
1830
|
+
declare function Valve(props: HardwareWidgetProps<ValveSchema>): react_jsx_runtime.JSX.Element;
|
|
1763
1831
|
|
|
1764
1832
|
declare const Mocks: {
|
|
1765
1833
|
default: {
|
|
@@ -1785,7 +1853,7 @@ interface Props$c {
|
|
|
1785
1853
|
icon: string;
|
|
1786
1854
|
name: string;
|
|
1787
1855
|
}
|
|
1788
|
-
declare function TypeIcon(props: Props$c): JSX.Element;
|
|
1856
|
+
declare function TypeIcon(props: Props$c): react_jsx_runtime.JSX.Element;
|
|
1789
1857
|
|
|
1790
1858
|
interface Props$b {
|
|
1791
1859
|
hardware: Hardware;
|
|
@@ -1798,7 +1866,7 @@ interface Props$b {
|
|
|
1798
1866
|
* Normalized way to compose hardware component in order to provide the same
|
|
1799
1867
|
* kind of layout
|
|
1800
1868
|
*/
|
|
1801
|
-
declare function HardwareTemplate(props: Props$b): JSX.Element;
|
|
1869
|
+
declare function HardwareTemplate(props: Props$b): react_jsx_runtime.JSX.Element;
|
|
1802
1870
|
|
|
1803
1871
|
/**
|
|
1804
1872
|
* Input number synchronized with a hardware.
|
|
@@ -1818,7 +1886,7 @@ declare function HardwareInputNumber(props: {
|
|
|
1818
1886
|
readOnly?: boolean;
|
|
1819
1887
|
precision?: number;
|
|
1820
1888
|
step?: number;
|
|
1821
|
-
}): JSX.Element;
|
|
1889
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1822
1890
|
|
|
1823
1891
|
/**
|
|
1824
1892
|
* NumericStep handled hardware properties.
|
|
@@ -1855,7 +1923,7 @@ declare function HardwareNumericStep(props: {
|
|
|
1855
1923
|
largeArrows?: boolean;
|
|
1856
1924
|
/** Identifier passed to the input element */
|
|
1857
1925
|
id?: string;
|
|
1858
|
-
}): JSX.Element;
|
|
1926
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1859
1927
|
|
|
1860
1928
|
/**
|
|
1861
1929
|
* Normalize the way to display an hardware state.
|
|
@@ -1868,7 +1936,7 @@ declare function HardwareState(props: {
|
|
|
1868
1936
|
variant: string;
|
|
1869
1937
|
minWidth?: number;
|
|
1870
1938
|
description?: string;
|
|
1871
|
-
}): JSX.Element;
|
|
1939
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1872
1940
|
/**
|
|
1873
1941
|
* Normalize the way to display an hardware exposing multiple states.
|
|
1874
1942
|
*
|
|
@@ -1884,7 +1952,7 @@ declare function HardwareMultiState(props: {
|
|
|
1884
1952
|
variants?: Record<string, string>;
|
|
1885
1953
|
descriptions?: Record<string, string>;
|
|
1886
1954
|
minWidth?: number;
|
|
1887
|
-
}): JSX.Element;
|
|
1955
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1888
1956
|
|
|
1889
1957
|
declare const State_d_HardwareMultiState: typeof HardwareMultiState;
|
|
1890
1958
|
declare const State_d_HardwareState: typeof HardwareState;
|
|
@@ -1922,7 +1990,7 @@ interface NoObjectProps$5 {
|
|
|
1922
1990
|
emptyifnone?: boolean;
|
|
1923
1991
|
};
|
|
1924
1992
|
}
|
|
1925
|
-
declare function NoObject$1(props: NoObjectProps$5): JSX.Element;
|
|
1993
|
+
declare function NoObject$1(props: NoObjectProps$5): react_jsx_runtime.JSX.Element;
|
|
1926
1994
|
|
|
1927
1995
|
interface NoObjectProps$4 {
|
|
1928
1996
|
id: string;
|
|
@@ -1931,7 +1999,7 @@ interface NoObjectProps$4 {
|
|
|
1931
1999
|
header?: string;
|
|
1932
2000
|
};
|
|
1933
2001
|
}
|
|
1934
|
-
declare function LoadingObject(props: NoObjectProps$4): JSX.Element;
|
|
2002
|
+
declare function LoadingObject(props: NoObjectProps$4): react_jsx_runtime.JSX.Element;
|
|
1935
2003
|
|
|
1936
2004
|
interface NoObjectProps$3 {
|
|
1937
2005
|
id: string;
|
|
@@ -1941,7 +2009,7 @@ interface NoObjectProps$3 {
|
|
|
1941
2009
|
emptyifnone?: boolean;
|
|
1942
2010
|
};
|
|
1943
2011
|
}
|
|
1944
|
-
declare function MissingObject(props: NoObjectProps$3): JSX.Element;
|
|
2012
|
+
declare function MissingObject(props: NoObjectProps$3): react_jsx_runtime.JSX.Element;
|
|
1945
2013
|
|
|
1946
2014
|
interface NoObjectProps$2 {
|
|
1947
2015
|
id: string;
|
|
@@ -1953,7 +2021,7 @@ interface NoObjectProps$2 {
|
|
|
1953
2021
|
header?: string;
|
|
1954
2022
|
};
|
|
1955
2023
|
}
|
|
1956
|
-
declare function ErrorObject(props: NoObjectProps$2): JSX.Element;
|
|
2024
|
+
declare function ErrorObject(props: NoObjectProps$2): react_jsx_runtime.JSX.Element;
|
|
1957
2025
|
|
|
1958
2026
|
interface NoObjectProps$1 {
|
|
1959
2027
|
id: string;
|
|
@@ -1965,7 +2033,7 @@ interface NoObjectProps$1 {
|
|
|
1965
2033
|
emptyifnone?: boolean;
|
|
1966
2034
|
};
|
|
1967
2035
|
}
|
|
1968
|
-
declare function MissingComponentObject(props: NoObjectProps$1): JSX.Element;
|
|
2036
|
+
declare function MissingComponentObject(props: NoObjectProps$1): react_jsx_runtime.JSX.Element;
|
|
1969
2037
|
|
|
1970
2038
|
interface NoObjectProps {
|
|
1971
2039
|
id: string;
|
|
@@ -1975,12 +2043,12 @@ interface NoObjectProps {
|
|
|
1975
2043
|
emptyifnone?: boolean;
|
|
1976
2044
|
};
|
|
1977
2045
|
}
|
|
1978
|
-
declare function NoObject(props: NoObjectProps): JSX.Element;
|
|
2046
|
+
declare function NoObject(props: NoObjectProps): react_jsx_runtime.JSX.Element;
|
|
1979
2047
|
|
|
1980
2048
|
interface Props$a {
|
|
1981
2049
|
className?: string;
|
|
1982
2050
|
}
|
|
1983
|
-
declare function FullSizer(props: PropsWithChildren<Props$a>): JSX.Element;
|
|
2051
|
+
declare function FullSizer(props: PropsWithChildren<Props$a>): react_jsx_runtime.JSX.Element;
|
|
1984
2052
|
|
|
1985
2053
|
interface Props$9 {
|
|
1986
2054
|
step?: number | string;
|
|
@@ -1989,7 +2057,7 @@ interface Props$9 {
|
|
|
1989
2057
|
stepOnly?: boolean;
|
|
1990
2058
|
id?: string;
|
|
1991
2059
|
unit?: string;
|
|
1992
|
-
overlay?:
|
|
2060
|
+
overlay?: ReactNode | null;
|
|
1993
2061
|
incIcon?: string;
|
|
1994
2062
|
decIcon?: string;
|
|
1995
2063
|
swapIncDec?: boolean;
|
|
@@ -2007,29 +2075,27 @@ interface Props$9 {
|
|
|
2007
2075
|
}
|
|
2008
2076
|
declare const NumericStep: React$1.ForwardRefExoticComponent<Props$9 & React$1.RefAttributes<HTMLInputElement>>;
|
|
2009
2077
|
|
|
2010
|
-
declare function PanelHeader(props: {
|
|
2011
|
-
children?: ReactChild | ReactChild[];
|
|
2078
|
+
declare function PanelHeader(props: PropsWithChildren<{
|
|
2012
2079
|
style?: Record<string, any>;
|
|
2013
|
-
}): JSX.Element;
|
|
2014
|
-
declare function PanelContents(props: {
|
|
2015
|
-
children?: ReactChild | ReactChild[];
|
|
2080
|
+
}>): react_jsx_runtime.JSX.Element;
|
|
2081
|
+
declare function PanelContents(props: PropsWithChildren<{
|
|
2016
2082
|
style?: Record<string, any>;
|
|
2017
2083
|
className?: string;
|
|
2018
|
-
}): JSX.Element;
|
|
2084
|
+
}>): react_jsx_runtime.JSX.Element;
|
|
2019
2085
|
interface Props$8 {
|
|
2020
2086
|
style?: Record<string, any>;
|
|
2021
2087
|
scroll?: boolean;
|
|
2022
2088
|
className?: string;
|
|
2023
2089
|
}
|
|
2024
|
-
declare function Panel(props: PropsWithChildren<Props$8>): JSX.Element;
|
|
2090
|
+
declare function Panel(props: PropsWithChildren<Props$8>): react_jsx_runtime.JSX.Element;
|
|
2025
2091
|
declare namespace Panel {
|
|
2026
2092
|
var Header: typeof PanelHeader;
|
|
2027
2093
|
var Contents: typeof PanelContents;
|
|
2028
2094
|
}
|
|
2029
2095
|
|
|
2030
|
-
declare function Yaml$1(props: YamlComponent$2): JSX.Element;
|
|
2096
|
+
declare function Yaml$1(props: YamlComponent$2): react_jsx_runtime.JSX.Element;
|
|
2031
2097
|
|
|
2032
|
-
declare function Yaml(props: YamlComponent$2): JSX.Element;
|
|
2098
|
+
declare function Yaml(props: YamlComponent$2): react_jsx_runtime.JSX.Element;
|
|
2033
2099
|
|
|
2034
2100
|
interface YamlNode {
|
|
2035
2101
|
type: string;
|
|
@@ -2054,13 +2120,13 @@ interface Props$7 {
|
|
|
2054
2120
|
yamlNode: AnyYamlNode;
|
|
2055
2121
|
panel: boolean;
|
|
2056
2122
|
}
|
|
2057
|
-
declare function YamlRow({ yamlNode, panel }: Props$7): JSX.Element;
|
|
2123
|
+
declare function YamlRow({ yamlNode, panel }: Props$7): react_jsx_runtime.JSX.Element;
|
|
2058
2124
|
|
|
2059
2125
|
interface Props$6 {
|
|
2060
2126
|
yamlNode: AnyYamlNode;
|
|
2061
2127
|
panel: boolean;
|
|
2062
2128
|
}
|
|
2063
|
-
declare function YamlCol({ yamlNode, panel }: Props$6): JSX.Element;
|
|
2129
|
+
declare function YamlCol({ yamlNode, panel }: Props$6): react_jsx_runtime.JSX.Element;
|
|
2064
2130
|
|
|
2065
2131
|
declare function registerComponent(name: string, component: React__default.ComponentType<any>): void;
|
|
2066
2132
|
declare function registerComponents(map: Record<string, React__default.ComponentType<any>>): void;
|
|
@@ -2074,7 +2140,7 @@ interface YamlComponentNode extends YamlNode {
|
|
|
2074
2140
|
declare function YamlComponent(props: {
|
|
2075
2141
|
yamlNode: YamlComponentNode;
|
|
2076
2142
|
panel: boolean;
|
|
2077
|
-
}): JSX.Element;
|
|
2143
|
+
}): react_jsx_runtime.JSX.Element;
|
|
2078
2144
|
|
|
2079
2145
|
interface Props$5 {
|
|
2080
2146
|
yamlNode: {
|
|
@@ -2083,7 +2149,7 @@ interface Props$5 {
|
|
|
2083
2149
|
};
|
|
2084
2150
|
panel: boolean;
|
|
2085
2151
|
}
|
|
2086
|
-
declare function YamlContainer({ yamlNode, panel }: Props$5): JSX.Element;
|
|
2152
|
+
declare function YamlContainer({ yamlNode, panel }: Props$5): react_jsx_runtime.JSX.Element;
|
|
2087
2153
|
|
|
2088
2154
|
interface Props$4 {
|
|
2089
2155
|
yamlNode: {
|
|
@@ -2103,7 +2169,7 @@ interface Props$3 {
|
|
|
2103
2169
|
};
|
|
2104
2170
|
panel: boolean;
|
|
2105
2171
|
}
|
|
2106
|
-
declare function YamlTabs({ yamlNode, panel }: Props$3): JSX.Element;
|
|
2172
|
+
declare function YamlTabs({ yamlNode, panel }: Props$3): react_jsx_runtime.JSX.Element;
|
|
2107
2173
|
|
|
2108
2174
|
interface YamlFormHeaderNode extends YamlNode {
|
|
2109
2175
|
type: 'formheader';
|
|
@@ -2128,7 +2194,7 @@ interface YamlFormNode extends YamlNode {
|
|
|
2128
2194
|
declare function YamlForm(props: {
|
|
2129
2195
|
yamlNode: YamlFormNode;
|
|
2130
2196
|
panel: boolean;
|
|
2131
|
-
}): JSX.Element;
|
|
2197
|
+
}): react_jsx_runtime.JSX.Element;
|
|
2132
2198
|
|
|
2133
2199
|
interface YamlGridNode extends YamlNode {
|
|
2134
2200
|
children: YamlGridCellNode[];
|
|
@@ -2143,7 +2209,7 @@ interface YamlGridCellNode extends YamlNode {
|
|
|
2143
2209
|
declare function YamlGrid(props: {
|
|
2144
2210
|
yamlNode: YamlGridNode;
|
|
2145
2211
|
panel: boolean;
|
|
2146
|
-
}): JSX.Element;
|
|
2212
|
+
}): react_jsx_runtime.JSX.Element;
|
|
2147
2213
|
|
|
2148
2214
|
interface Props$2 {
|
|
2149
2215
|
yamlNode: {
|
|
@@ -2157,7 +2223,7 @@ interface Props$2 {
|
|
|
2157
2223
|
};
|
|
2158
2224
|
panel: boolean;
|
|
2159
2225
|
}
|
|
2160
|
-
declare function YamlLabel({ yamlNode, panel }: Props$2): JSX.Element;
|
|
2226
|
+
declare function YamlLabel({ yamlNode, panel }: Props$2): react_jsx_runtime.JSX.Element;
|
|
2161
2227
|
|
|
2162
2228
|
declare const yamlMap: {
|
|
2163
2229
|
row: typeof YamlRow;
|
|
@@ -2177,7 +2243,7 @@ interface Props$1 {
|
|
|
2177
2243
|
unhandledComponentDidCatch?: (error: Error, setStateCallback: (data: Record<string, any>) => void) => void;
|
|
2178
2244
|
UnhandledErrorComponent?: React.ComponentType<any>;
|
|
2179
2245
|
}
|
|
2180
|
-
declare function Main(props: Props$1): JSX.Element;
|
|
2246
|
+
declare function Main(props: Props$1): react_jsx_runtime.JSX.Element;
|
|
2181
2247
|
|
|
2182
2248
|
interface State {
|
|
2183
2249
|
hasError: boolean;
|
|
@@ -2197,7 +2263,7 @@ declare class ErrorBoundary extends Component<PropsWithChildren<Props>, State> {
|
|
|
2197
2263
|
private readonly reload;
|
|
2198
2264
|
componentDidCatch(error: Error): void;
|
|
2199
2265
|
componentDidUpdate(prevProps: Props, prevState: State): void;
|
|
2200
|
-
render(): React__default.ReactNode;
|
|
2266
|
+
render(): string | number | boolean | react_jsx_runtime.JSX.Element | Iterable<React__default.ReactNode> | null | undefined;
|
|
2201
2267
|
}
|
|
2202
2268
|
|
|
2203
2269
|
/**
|
|
@@ -2207,7 +2273,7 @@ declare function registerYamlType(name: string, component: React.ComponentType<a
|
|
|
2207
2273
|
/**
|
|
2208
2274
|
* Render a Yaml node using registred component from the node type
|
|
2209
2275
|
*/
|
|
2210
|
-
declare function renderYamlNode(yamlNode: AnyYamlNode, key: number | string, panel?: boolean):
|
|
2276
|
+
declare function renderYamlNode(yamlNode: AnyYamlNode, key: number | string, panel?: boolean): react_jsx_runtime.JSX.Element;
|
|
2211
2277
|
declare class LayoutError extends Error {
|
|
2212
2278
|
readonly yamlNode: YamlNode;
|
|
2213
2279
|
constructor(message: string, yamlNode: YamlNode);
|
|
@@ -2222,7 +2288,7 @@ declare class KeyError extends LayoutError {
|
|
|
2222
2288
|
constructor(yamlNode: YamlNode, key: string, message: string);
|
|
2223
2289
|
}
|
|
2224
2290
|
|
|
2225
|
-
|
|
2291
|
+
type Defined<T> = T extends undefined ? never : T;
|
|
2226
2292
|
declare function assertKeyExpected<T>(yamlNode: YamlNode | undefined, key: string, value: T): asserts value is Defined<T>;
|
|
2227
2293
|
declare function assertString(yamlNode: YamlNode, key: string, value: any): asserts value is string;
|
|
2228
2294
|
declare function assertBoolean(yamlNode: YamlNode, key: string, value: unknown): asserts value is boolean;
|
|
@@ -2304,7 +2370,7 @@ interface Monitor {
|
|
|
2304
2370
|
declare const dynamicOp: (op: string, a1: any, b1: any) => boolean | undefined;
|
|
2305
2371
|
declare function MonitorHardware(props: {
|
|
2306
2372
|
monitor: Monitor;
|
|
2307
|
-
}): JSX.Element;
|
|
2373
|
+
}): react_jsx_runtime.JSX.Element;
|
|
2308
2374
|
|
|
2309
2375
|
declare function registerMonitorComponent(name: string, component: React.ComponentType<any>): void;
|
|
2310
2376
|
interface MonitorPanelProps {
|
|
@@ -2312,9 +2378,9 @@ interface MonitorPanelProps {
|
|
|
2312
2378
|
margin?: 'start' | null;
|
|
2313
2379
|
bg?: 'light' | null;
|
|
2314
2380
|
}
|
|
2315
|
-
declare function MonitorPanel(props: MonitorPanelProps): JSX.Element;
|
|
2381
|
+
declare function MonitorPanel(props: MonitorPanelProps): react_jsx_runtime.JSX.Element;
|
|
2316
2382
|
interface MonitorPanelItemProps {
|
|
2317
2383
|
}
|
|
2318
|
-
declare function MonitorPanelItem(props: PropsWithChildren<MonitorPanelItemProps>): JSX.Element;
|
|
2384
|
+
declare function MonitorPanelItem(props: PropsWithChildren<MonitorPanelItemProps>): react_jsx_runtime.JSX.Element;
|
|
2319
2385
|
|
|
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$
|
|
2386
|
+
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$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$c 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, createMotorMock, dynamicOp, isLimaHardware, isMotorHardware, isOpticHardware, isTomoConfigHardware, isTomoDetectorHardware, isTomoDetectorsHardware, isTomoFlatMotionHardware, isTomoHoloHardware, isTomoReferencePositionHardware, isTomoSampleStageHardware, limaGuessSubframes, registerHardwareComponent, registerMonitorComponent, registerRuntimeHook, registerComponent as registerYamlComponent, registerComponents as registerYamlComponents, registerYamlType, renderYamlNode, useLimaHardware, useMotorHardware, useMotorStates, useTomoConfigHardware, useTomoDetectorHardware, useTomoDetectorsHardware, useTomoFlatMotionHardware, useTomoHoloHardware, useTomoSampleStageHardware, yamlMap };
|