@esrf/daiquiri-lib 5.1.1 → 5.2.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 +45 -5
- package/dist/index.js +12 -12
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2264 -2053
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -157,9 +157,9 @@ declare namespace schema_d {
|
|
|
157
157
|
export type { schema_d_AnySchema as AnySchema, schema_d_GenericSchema as GenericSchema };
|
|
158
158
|
}
|
|
159
159
|
|
|
160
|
-
declare const Variants$
|
|
160
|
+
declare const Variants$s: HardwareVariant<AnySchema>;
|
|
161
161
|
|
|
162
|
-
declare const Mocks$
|
|
162
|
+
declare const Mocks$o: {
|
|
163
163
|
default: {
|
|
164
164
|
response: {
|
|
165
165
|
callables: never[];
|
|
@@ -297,7 +297,7 @@ type ActuatorSchema = Hardware<{
|
|
|
297
297
|
type AirBearingSchema = Hardware<{
|
|
298
298
|
state: string;
|
|
299
299
|
}>;
|
|
300
|
-
declare const Variants$
|
|
300
|
+
declare const Variants$r: HardwareVariant<AirBearingSchema>;
|
|
301
301
|
|
|
302
302
|
declare function AirBearing(props: HardwareWidgetProps<AirBearingSchema, HardwareWidgetOptions>): react_jsx_runtime.JSX.Element;
|
|
303
303
|
|
|
@@ -307,7 +307,7 @@ declare function AirBearingState(props: {
|
|
|
307
307
|
hardware: AirBearingSchema;
|
|
308
308
|
}): react_jsx_runtime.JSX.Element;
|
|
309
309
|
|
|
310
|
-
declare const Mocks$
|
|
310
|
+
declare const Mocks$n: {
|
|
311
311
|
default: {
|
|
312
312
|
callables: string[];
|
|
313
313
|
id: string;
|
|
@@ -335,6 +335,46 @@ type PropsWithSimulator<P = Record<string, never>> = P & {
|
|
|
335
335
|
|
|
336
336
|
declare function AirBearingSimulator(props: PropsWithSimulator): react_jsx_runtime.JSX.Element;
|
|
337
337
|
|
|
338
|
+
/**
|
|
339
|
+
* Hardware as exposed by Redux
|
|
340
|
+
*/
|
|
341
|
+
type BeamviewerSchema = Hardware<{
|
|
342
|
+
/**
|
|
343
|
+
* Tango state of the Lima camera monitoring the beam
|
|
344
|
+
*/
|
|
345
|
+
state: string;
|
|
346
|
+
foil: 'IN' | 'OUT' | 'NONE' | 'UNKNOWN';
|
|
347
|
+
led: 'ON' | 'OFF' | 'UNKNOWN';
|
|
348
|
+
screen: 'IN' | 'OUT' | 'UNKNOWN';
|
|
349
|
+
diode_ranges: string[];
|
|
350
|
+
diode_range: string;
|
|
351
|
+
}>;
|
|
352
|
+
declare const Variants$q: HardwareVariant<BeamviewerSchema>;
|
|
353
|
+
|
|
354
|
+
declare function Beamviewer(props: HardwareWidgetProps<BeamviewerSchema>): react_jsx_runtime.JSX.Element;
|
|
355
|
+
|
|
356
|
+
declare const Mocks$m: {
|
|
357
|
+
default: {
|
|
358
|
+
callables: string[];
|
|
359
|
+
id: string;
|
|
360
|
+
name: string;
|
|
361
|
+
online: boolean;
|
|
362
|
+
properties: {
|
|
363
|
+
diode_range: string;
|
|
364
|
+
diode_ranges: string[];
|
|
365
|
+
foil: string;
|
|
366
|
+
led: string;
|
|
367
|
+
screen: string;
|
|
368
|
+
state: string;
|
|
369
|
+
};
|
|
370
|
+
protocol: string;
|
|
371
|
+
require_staff: boolean;
|
|
372
|
+
type: string;
|
|
373
|
+
};
|
|
374
|
+
};
|
|
375
|
+
|
|
376
|
+
declare function BeamviewerSimulator(props: PropsWithSimulator): react_jsx_runtime.JSX.Element;
|
|
377
|
+
|
|
338
378
|
type EnergyManagerSchema = Hardware<{
|
|
339
379
|
energy: number | null;
|
|
340
380
|
unit: string;
|
|
@@ -2607,4 +2647,4 @@ declare function registerHardwareVariant(type: string, variant: string, componen
|
|
|
2607
2647
|
*/
|
|
2608
2648
|
declare function getHardwareVariantComponent(type: string, variant: string): HardwareComponentType | null;
|
|
2609
2649
|
|
|
2610
|
-
export { type ActuatorSchema, AirBearing, Mocks$
|
|
2650
|
+
export { type ActuatorSchema, AirBearing, Mocks$n as AirBearingMocks, AirBearingProtected, type AirBearingSchema, AirBearingSimulator, AirBearingState, Variants$r as AirBearingVariants, type AnyHardware, type AnySchema, type BaseHardware, Info as BaseInfo, type BaseInfoWidgetOptions, Mocks$o as BaseMocks, Name as BaseName, type BaseNameWidgetOptions, Property as BaseProperty, type BasePropertyWidgetOptions, DefaultState as BaseState, Variants$s as BaseVariants, Beamviewer, Mocks$m as BeamviewerMocks, type BeamviewerSchema, BeamviewerSimulator, Variants$q as BeamviewerVariants, EnergyManagerDefault, Mocks$l as EnergyManagerMocks, type EnergyManagerSchema, EnergyManagerSimulator, EnergyManagerState, Variants$p as EnergyManagerVariants, ErrorObject, type ExceptionFromProcedure, formatting_d as Formatting, Frontend, Mocks$k as FrontendMocks, type FrontendSchema, Variants$o as FrontendVariants, FullSizer, Gauge$1 as Gauge, Gauge as GaugeIndicator, Mocks$j as GaugeMocks, type GaugeSchema, Variants$n as GaugeVariants, type GaugeWidgetOptions, type GenericSchema, type Hardware, type HardwareComponentType, type HardwareFromProcedure, HardwareInputNumber, HardwareNumericStep, type HardwareObjectProps, schema_d as HardwareSchema, HardwareState, HardwareTemplate, types_d as HardwareTypes, type HardwareVariant, InfiniteKnob360, 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, MonitorHardwareProperty, MonitorPanel, MonitorPanelItem, type MonitorPanelProps, MotorDefault, type MotorDefaultOptions, Mocks$d as MotorMocks, MotorRotation, type MotorSchema, MotorSimulator, MotorState, MotorText, Variants$h as MotorVariants, MultiState, Multiposition$1 as Multiposition, Multiposition as MultipositionDefault2, type MultipositionDefault2Options, 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 PusherOptions, 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, State$1 as State, Synoptic, type SynopticElementType, type SynopticType, Yaml$1 as Todo, TomoConfigLatencyTime, type TomoConfigSchema, Variants$2 as TomoConfigVariants, TomoDetectorAcquisitionMode, type TomoDetectorFieldOfViewOptions, 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 TomoImagingOptions, 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$8 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, type YamlNode, createMotorMock, dynamicOp, getHardwareVariantComponent, isLimaHardware, isMotorClockWise, isMotorHardware, isOpticHardware, isProcedureHardware, isTomoConfigHardware, isTomoDetectorHardware, isTomoDetectorsHardware, isTomoFlatMotionHardware, isTomoHoloHardware, isTomoReferencePositionHardware, isTomoSampleStageHardware, limaGuessSubframes, motorLimits, registerHardwareVariant, registerMonitorComponent, registerRuntimeHook, registerYamlComponent, registerYamlComponents, registerYamlContainer, renderYamlNode, useHardware, useHardwareChangeActions, useHardwareSchema, useLimaHardware, useMotorHardware, useMotorStates, useOperator, useProcedureHardware, useScanRunning, useTomoConfigHardware, useTomoDetectorHardware, useTomoDetectorsHardware, useTomoFlatMotionHardware, useTomoHoloHardware, useTomoSampleStageHardware, yamlComponents, yamlContainers };
|