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