@tscircuit/core 0.0.1503 → 0.0.1505
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 +686 -5
- package/dist/index.js +685 -102
- package/package.json +11 -9
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as circuit_json from 'circuit-json';
|
|
2
|
-
import { PcbTraceError, PcbPlacementError, PcbManualEditConflictWarning, PcbViaClearanceError, LayerRef, AnyCircuitElement, Size, PcbTrace as PcbTrace$1, PcbVia as PcbVia$1, PcbTraceRoutePoint, AnySourceComponent, PcbComponent, SchematicPort, SchematicComponent, PcbSilkscreenGraphic, RouteHintPoint, PcbBoard, CircuitJson } from 'circuit-json';
|
|
2
|
+
import { PcbTraceError, PcbPlacementError, PcbManualEditConflictWarning, PcbViaClearanceError, LayerRef, AnyCircuitElement, Size, PcbTrace as PcbTrace$1, PcbVia as PcbVia$1, PcbTraceRoutePoint, AnySourceComponent, PcbComponent, SchematicPort, SchematicComponent, SimulationVoltageSource, SimulationCurrentSource, PcbSilkscreenGraphic, RouteHintPoint, PcbBoard, SimulationExperiment, SimulationParameterSweep, CircuitJson } from 'circuit-json';
|
|
3
3
|
import * as _tscircuit_props from '@tscircuit/props';
|
|
4
|
-
import { PlatformConfig, traceProps, netProps, AutorouterProp, AutoroutingPhaseProps, subcircuitGroupProps, AutorouterConfig, PcbSx, portProps, SupplierPartNumbers, CadModelProp, SchematicPortArrangement, groupProps, boardProps, subcircuitProps, subpanelProps, capacitorProps, chipProps, pinoutProps, diodeProps, fuseProps, jumperProps, interconnectProps, solderjumperProps, ledProps, powerSourceProps, voltageSourceProps, currentSourceProps, ammeterProps, resistorProps, constraintProps, drcCheckProps, autoroutingPhaseProps, fabricationNoteRectProps, fabricationNotePathProps, fabricationNoteTextProps, fabricationNoteDimensionProps, pcbNoteLineProps, pcbNoteRectProps, pcbNoteTextProps, pcbNotePathProps, pcbNoteDimensionProps, footprintProps, breakoutProps, breakoutPointProps, holeProps, pcbKeepoutProps, netLabelProps, cadmodelProps, cadassemblyProps, platedHoleProps, courtyardCircleProps, courtyardOutlineProps, courtyardRectProps, silkscreenCircleProps, silkscreenPathProps, silkscreenRectProps, silkscreenTextProps, silkscreenLineProps, silkscreenGraphicProps, smtPadProps, fiducialProps, differentialPairProps, traceHintProps, viaProps, copperPourProps, copperTextProps, cutoutProps, enclosureCutoutApertureProps, enclosureFdmBoxProps, batteryProps, pinHeaderProps, resonatorProps, inductorProps, potentiometerProps, pushButtonProps, crystalProps, CrystalPinLabels, transistorProps, mosfetProps, opampProps, OpAmpPinLabels, switchProps, SwitchProps, testpointProps, schematicTextProps, schematicLineProps, schematicRectProps, schematicArcProps, schematicCircleProps, schematicPathProps, schematicBoxProps, schematicSymbolProps, schematicSectionProps, schematicSheetProps, schematicTableProps, schematicRowProps, schematicCellProps, symbolProps, analogSimulationProps, voltageProbeProps, spicemodelProps, EnclosureCutoutApertureProps, EnclosureFdmBoxProps, CapacitorProps, ChipProps, DiodeProps, ResistorProps, ManualEditEvent, ManualEditsFile, ChipConnections, manual_edits_file } from '@tscircuit/props';
|
|
4
|
+
import { PlatformConfig, traceProps, netProps, AutorouterProp, AutoroutingPhaseProps, subcircuitGroupProps, AutorouterConfig, PcbSx, portProps, SupplierPartNumbers, CadModelProp, SchematicPortArrangement, groupProps, boardProps, subcircuitProps, subpanelProps, capacitorProps, chipProps, pinoutProps, diodeProps, fuseProps, jumperProps, interconnectProps, solderjumperProps, ledProps, powerSourceProps, voltageSourceProps, currentSourceProps, ammeterProps, resistorProps, constraintProps, drcCheckProps, autoroutingPhaseProps, fabricationNoteRectProps, fabricationNotePathProps, fabricationNoteTextProps, fabricationNoteDimensionProps, pcbNoteLineProps, pcbNoteRectProps, pcbNoteTextProps, pcbNotePathProps, pcbNoteDimensionProps, footprintProps, breakoutProps, breakoutPointProps, holeProps, pcbKeepoutProps, netLabelProps, cadmodelProps, cadassemblyProps, platedHoleProps, courtyardCircleProps, courtyardOutlineProps, courtyardRectProps, silkscreenCircleProps, silkscreenPathProps, silkscreenRectProps, silkscreenTextProps, silkscreenLineProps, silkscreenGraphicProps, smtPadProps, fiducialProps, differentialPairProps, traceHintProps, viaProps, copperPourProps, copperTextProps, cutoutProps, enclosureCutoutApertureProps, enclosureFdmBoxProps, batteryProps, pinHeaderProps, resonatorProps, inductorProps, potentiometerProps, pushButtonProps, crystalProps, CrystalPinLabels, transistorProps, mosfetProps, opampProps, OpAmpPinLabels, switchProps, SwitchProps, testpointProps, schematicTextProps, schematicLineProps, schematicRectProps, schematicArcProps, schematicCircleProps, schematicPathProps, schematicBoxProps, schematicSymbolProps, schematicSectionProps, schematicSheetProps, schematicTableProps, schematicRowProps, schematicCellProps, symbolProps, analogSimulationProps, analogTransientSimulationProps, analogDcOperatingPointSimulationProps, analogDcSweepSimulationProps, analogAcSweepSimulationProps, analogSweepParameterProps, voltageProbeProps, spicemodelProps, AnalogTransientSimulationProps, AnalogDcSweepSimulationProps, AnalogAcSweepSimulationProps, AnalogSweepParameterProps, EnclosureCutoutApertureProps, EnclosureFdmBoxProps, CapacitorProps, ChipProps, DiodeProps, ResistorProps, ManualEditEvent, ManualEditsFile, ChipConnections, manual_edits_file } from '@tscircuit/props';
|
|
5
5
|
export { kicadFootprintStrings } from '@tscircuit/props';
|
|
6
6
|
import * as react from 'react';
|
|
7
7
|
import react__default, { ReactElement } from 'react';
|
|
@@ -57686,7 +57686,9 @@ declare class PowerSource extends NormalComponent<typeof powerSourceProps, Polar
|
|
|
57686
57686
|
negative: Port;
|
|
57687
57687
|
}
|
|
57688
57688
|
|
|
57689
|
+
type SimulationVoltageSourceId = SimulationVoltageSource["simulation_voltage_source_id"];
|
|
57689
57690
|
declare class VoltageSource extends NormalComponent<typeof voltageSourceProps, "terminal1" | "terminal2"> {
|
|
57691
|
+
simulation_voltage_source_id: SimulationVoltageSourceId | null;
|
|
57690
57692
|
get config(): {
|
|
57691
57693
|
componentName: string;
|
|
57692
57694
|
schematicSymbolName: BaseSymbolName;
|
|
@@ -61061,6 +61063,8 @@ declare class VoltageSource extends NormalComponent<typeof voltageSourceProps, "
|
|
|
61061
61063
|
fallTime: zod.ZodOptional<zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>>;
|
|
61062
61064
|
pulseWidth: zod.ZodOptional<zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>>;
|
|
61063
61065
|
period: zod.ZodOptional<zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>>;
|
|
61066
|
+
acMagnitude: zod.ZodOptional<zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>>;
|
|
61067
|
+
acPhase: zod.ZodOptional<zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>>;
|
|
61064
61068
|
connections: zod.ZodOptional<zod.ZodRecord<zod.ZodEnum<["pin1", "pin2", "pos", "neg"]>, zod.ZodUnion<[zod.ZodUnion<[zod.ZodString, zod.ZodReadonly<zod.ZodArray<zod.ZodString, "many">>]>, zod.ZodArray<zod.ZodString, "many">]>>>;
|
|
61065
61069
|
}, "strip", zod.ZodTypeAny, {
|
|
61066
61070
|
name: string;
|
|
@@ -61652,6 +61656,8 @@ declare class VoltageSource extends NormalComponent<typeof voltageSourceProps, "
|
|
|
61652
61656
|
fallTime?: number | undefined;
|
|
61653
61657
|
pulseWidth?: number | undefined;
|
|
61654
61658
|
period?: number | undefined;
|
|
61659
|
+
acMagnitude?: number | undefined;
|
|
61660
|
+
acPhase?: number | undefined;
|
|
61655
61661
|
}, {
|
|
61656
61662
|
name: string;
|
|
61657
61663
|
symbol?: _tscircuit_props.SymbolProp | undefined;
|
|
@@ -62244,6 +62250,8 @@ declare class VoltageSource extends NormalComponent<typeof voltageSourceProps, "
|
|
|
62244
62250
|
fallTime?: string | number | undefined;
|
|
62245
62251
|
pulseWidth?: string | number | undefined;
|
|
62246
62252
|
period?: string | number | undefined;
|
|
62253
|
+
acMagnitude?: string | number | undefined;
|
|
62254
|
+
acPhase?: string | number | undefined;
|
|
62247
62255
|
}>;
|
|
62248
62256
|
sourceFtype: Ftype;
|
|
62249
62257
|
};
|
|
@@ -62257,7 +62265,9 @@ declare class VoltageSource extends NormalComponent<typeof voltageSourceProps, "
|
|
|
62257
62265
|
terminal2: Port;
|
|
62258
62266
|
}
|
|
62259
62267
|
|
|
62268
|
+
type SimulationCurrentSourceId = SimulationCurrentSource["simulation_current_source_id"];
|
|
62260
62269
|
declare class CurrentSource extends NormalComponent<typeof currentSourceProps, "pos" | "neg"> {
|
|
62270
|
+
simulation_current_source_id: SimulationCurrentSourceId | null;
|
|
62261
62271
|
get config(): {
|
|
62262
62272
|
componentName: string;
|
|
62263
62273
|
schematicSymbolName: string;
|
|
@@ -65627,6 +65637,8 @@ declare class CurrentSource extends NormalComponent<typeof currentSourceProps, "
|
|
|
65627
65637
|
waveShape: zod.ZodOptional<zod.ZodEnum<["sinewave", "square", "triangle", "sawtooth"]>>;
|
|
65628
65638
|
phase: zod.ZodOptional<zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>>;
|
|
65629
65639
|
dutyCycle: zod.ZodOptional<zod.ZodPipeline<zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>, zod.ZodNumber>>;
|
|
65640
|
+
acMagnitude: zod.ZodOptional<zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>>;
|
|
65641
|
+
acPhase: zod.ZodOptional<zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>>;
|
|
65630
65642
|
connections: zod.ZodOptional<zod.ZodRecord<zod.ZodEnum<["pin1", "pin2", "pos", "neg"]>, zod.ZodUnion<[zod.ZodUnion<[zod.ZodString, zod.ZodReadonly<zod.ZodArray<zod.ZodString, "many">>]>, zod.ZodArray<zod.ZodString, "many">]>>>;
|
|
65631
65643
|
}, "strip", zod.ZodTypeAny, {
|
|
65632
65644
|
name: string;
|
|
@@ -66208,10 +66220,12 @@ declare class CurrentSource extends NormalComponent<typeof currentSourceProps, "
|
|
|
66208
66220
|
schSheetName?: string | undefined;
|
|
66209
66221
|
connections?: Partial<Record<"pin1" | "pin2" | "pos" | "neg", string | readonly string[] | string[]>> | undefined;
|
|
66210
66222
|
frequency?: number | undefined;
|
|
66223
|
+
current?: number | undefined;
|
|
66211
66224
|
waveShape?: "square" | "triangle" | "sawtooth" | "sinewave" | undefined;
|
|
66212
66225
|
phase?: number | undefined;
|
|
66213
66226
|
dutyCycle?: number | undefined;
|
|
66214
|
-
|
|
66227
|
+
acMagnitude?: number | undefined;
|
|
66228
|
+
acPhase?: number | undefined;
|
|
66215
66229
|
peakToPeakCurrent?: number | undefined;
|
|
66216
66230
|
}, {
|
|
66217
66231
|
name: string;
|
|
@@ -66795,10 +66809,12 @@ declare class CurrentSource extends NormalComponent<typeof currentSourceProps, "
|
|
|
66795
66809
|
schSheetName?: string | undefined;
|
|
66796
66810
|
connections?: Partial<Record<"pin1" | "pin2" | "pos" | "neg", string | readonly string[] | string[]>> | undefined;
|
|
66797
66811
|
frequency?: string | number | undefined;
|
|
66812
|
+
current?: string | number | undefined;
|
|
66798
66813
|
waveShape?: "square" | "triangle" | "sawtooth" | "sinewave" | undefined;
|
|
66799
66814
|
phase?: string | number | undefined;
|
|
66800
66815
|
dutyCycle?: string | number | undefined;
|
|
66801
|
-
|
|
66816
|
+
acMagnitude?: string | number | undefined;
|
|
66817
|
+
acPhase?: string | number | undefined;
|
|
66802
66818
|
peakToPeakCurrent?: string | number | undefined;
|
|
66803
66819
|
}>;
|
|
66804
66820
|
sourceFtype: Ftype;
|
|
@@ -153596,6 +153612,658 @@ declare class AnalogSimulation extends PrimitiveComponent<typeof analogSimulatio
|
|
|
153596
153612
|
graphIndependentAxes?: boolean | undefined;
|
|
153597
153613
|
}>;
|
|
153598
153614
|
};
|
|
153615
|
+
getSpiceEngineName(): string | undefined;
|
|
153616
|
+
usesIndependentGraphAxes(): boolean;
|
|
153617
|
+
doInitialSimulationRender(): void;
|
|
153618
|
+
}
|
|
153619
|
+
|
|
153620
|
+
type SimulationExperimentId = SimulationExperiment["simulation_experiment_id"];
|
|
153621
|
+
declare abstract class AnalogAnalysisSimulation<PropsSchema extends ZodType> extends PrimitiveComponent<PropsSchema> {
|
|
153622
|
+
simulation_experiment_id: SimulationExperimentId | null;
|
|
153623
|
+
protected abstract insertSimulationExperiment(): SimulationExperiment | null;
|
|
153624
|
+
getSpiceEngineName(): string | undefined;
|
|
153625
|
+
usesIndependentGraphAxes(): boolean;
|
|
153626
|
+
getOrCreateSimulationExperiment(): SimulationExperiment | null;
|
|
153627
|
+
doInitialSimulationRender(): void;
|
|
153628
|
+
}
|
|
153629
|
+
|
|
153630
|
+
declare class AnalogTransientSimulation extends AnalogAnalysisSimulation<typeof analogTransientSimulationProps> {
|
|
153631
|
+
get config(): {
|
|
153632
|
+
componentName: string;
|
|
153633
|
+
zodProps: zod.ZodEffects<zod.ZodObject<{
|
|
153634
|
+
duration: zod.ZodDefault<zod.ZodEffects<zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>, number, string | number>>;
|
|
153635
|
+
startTime: zod.ZodDefault<zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>>;
|
|
153636
|
+
timePerStep: zod.ZodDefault<zod.ZodEffects<zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>, number, string | number>>;
|
|
153637
|
+
name: zod.ZodOptional<zod.ZodString>;
|
|
153638
|
+
spiceEngine: zod.ZodOptional<zod.ZodType<_tscircuit_props.AutocompleteString<"spicey" | "ngspice">, zod.ZodTypeDef, _tscircuit_props.AutocompleteString<"spicey" | "ngspice">>>;
|
|
153639
|
+
spiceOptions: zod.ZodOptional<zod.ZodObject<{
|
|
153640
|
+
method: zod.ZodOptional<zod.ZodEnum<["trap", "gear"]>>;
|
|
153641
|
+
reltol: zod.ZodOptional<zod.ZodUnion<[zod.ZodNumber, zod.ZodString]>>;
|
|
153642
|
+
abstol: zod.ZodOptional<zod.ZodUnion<[zod.ZodNumber, zod.ZodString]>>;
|
|
153643
|
+
vntol: zod.ZodOptional<zod.ZodUnion<[zod.ZodNumber, zod.ZodString]>>;
|
|
153644
|
+
}, "strip", zod.ZodTypeAny, {
|
|
153645
|
+
method?: "trap" | "gear" | undefined;
|
|
153646
|
+
reltol?: string | number | undefined;
|
|
153647
|
+
abstol?: string | number | undefined;
|
|
153648
|
+
vntol?: string | number | undefined;
|
|
153649
|
+
}, {
|
|
153650
|
+
method?: "trap" | "gear" | undefined;
|
|
153651
|
+
reltol?: string | number | undefined;
|
|
153652
|
+
abstol?: string | number | undefined;
|
|
153653
|
+
vntol?: string | number | undefined;
|
|
153654
|
+
}>>;
|
|
153655
|
+
graphIndependentAxes: zod.ZodOptional<zod.ZodBoolean>;
|
|
153656
|
+
children: zod.ZodOptional<zod.ZodType<react.ReactNode, zod.ZodTypeDef, react.ReactNode>>;
|
|
153657
|
+
}, "strip", zod.ZodTypeAny, {
|
|
153658
|
+
duration: number;
|
|
153659
|
+
startTime: number;
|
|
153660
|
+
timePerStep: number;
|
|
153661
|
+
name?: string | undefined;
|
|
153662
|
+
children?: react.ReactNode;
|
|
153663
|
+
spiceEngine?: _tscircuit_props.AutocompleteString<"spicey" | "ngspice"> | undefined;
|
|
153664
|
+
spiceOptions?: {
|
|
153665
|
+
method?: "trap" | "gear" | undefined;
|
|
153666
|
+
reltol?: string | number | undefined;
|
|
153667
|
+
abstol?: string | number | undefined;
|
|
153668
|
+
vntol?: string | number | undefined;
|
|
153669
|
+
} | undefined;
|
|
153670
|
+
graphIndependentAxes?: boolean | undefined;
|
|
153671
|
+
}, {
|
|
153672
|
+
name?: string | undefined;
|
|
153673
|
+
children?: react.ReactNode;
|
|
153674
|
+
duration?: string | number | undefined;
|
|
153675
|
+
startTime?: string | number | undefined;
|
|
153676
|
+
timePerStep?: string | number | undefined;
|
|
153677
|
+
spiceEngine?: _tscircuit_props.AutocompleteString<"spicey" | "ngspice"> | undefined;
|
|
153678
|
+
spiceOptions?: {
|
|
153679
|
+
method?: "trap" | "gear" | undefined;
|
|
153680
|
+
reltol?: string | number | undefined;
|
|
153681
|
+
abstol?: string | number | undefined;
|
|
153682
|
+
vntol?: string | number | undefined;
|
|
153683
|
+
} | undefined;
|
|
153684
|
+
graphIndependentAxes?: boolean | undefined;
|
|
153685
|
+
}>, {
|
|
153686
|
+
duration: number;
|
|
153687
|
+
startTime: number;
|
|
153688
|
+
timePerStep: number;
|
|
153689
|
+
name?: string | undefined;
|
|
153690
|
+
children?: react.ReactNode;
|
|
153691
|
+
spiceEngine?: _tscircuit_props.AutocompleteString<"spicey" | "ngspice"> | undefined;
|
|
153692
|
+
spiceOptions?: {
|
|
153693
|
+
method?: "trap" | "gear" | undefined;
|
|
153694
|
+
reltol?: string | number | undefined;
|
|
153695
|
+
abstol?: string | number | undefined;
|
|
153696
|
+
vntol?: string | number | undefined;
|
|
153697
|
+
} | undefined;
|
|
153698
|
+
graphIndependentAxes?: boolean | undefined;
|
|
153699
|
+
}, {
|
|
153700
|
+
name?: string | undefined;
|
|
153701
|
+
children?: react.ReactNode;
|
|
153702
|
+
duration?: string | number | undefined;
|
|
153703
|
+
startTime?: string | number | undefined;
|
|
153704
|
+
timePerStep?: string | number | undefined;
|
|
153705
|
+
spiceEngine?: _tscircuit_props.AutocompleteString<"spicey" | "ngspice"> | undefined;
|
|
153706
|
+
spiceOptions?: {
|
|
153707
|
+
method?: "trap" | "gear" | undefined;
|
|
153708
|
+
reltol?: string | number | undefined;
|
|
153709
|
+
abstol?: string | number | undefined;
|
|
153710
|
+
vntol?: string | number | undefined;
|
|
153711
|
+
} | undefined;
|
|
153712
|
+
graphIndependentAxes?: boolean | undefined;
|
|
153713
|
+
}>;
|
|
153714
|
+
};
|
|
153715
|
+
protected insertSimulationExperiment(): {
|
|
153716
|
+
type: "simulation_experiment";
|
|
153717
|
+
name: string;
|
|
153718
|
+
simulation_experiment_id: string;
|
|
153719
|
+
experiment_type: "spice_dc_sweep" | "spice_dc_operating_point" | "spice_transient_analysis" | "spice_ac_analysis";
|
|
153720
|
+
time_per_step?: number | undefined;
|
|
153721
|
+
start_time_ms?: number | undefined;
|
|
153722
|
+
end_time_ms?: number | undefined;
|
|
153723
|
+
spice_options?: {
|
|
153724
|
+
method?: "trap" | "gear" | undefined;
|
|
153725
|
+
reltol?: string | number | undefined;
|
|
153726
|
+
abstol?: string | number | undefined;
|
|
153727
|
+
vntol?: string | number | undefined;
|
|
153728
|
+
} | undefined;
|
|
153729
|
+
dc_sweep_voltage_source_id?: string | undefined;
|
|
153730
|
+
dc_sweep_current_source_id?: string | undefined;
|
|
153731
|
+
dc_sweep_start?: number | undefined;
|
|
153732
|
+
dc_sweep_stop?: number | undefined;
|
|
153733
|
+
dc_sweep_step?: number | undefined;
|
|
153734
|
+
dc_sweep_unit?: circuit_json.SimulationDcSweepUnit | undefined;
|
|
153735
|
+
ac_sweep_type?: "linear" | "decade" | "octave" | undefined;
|
|
153736
|
+
ac_samples_per_interval?: number | undefined;
|
|
153737
|
+
ac_sample_count?: number | undefined;
|
|
153738
|
+
ac_start_frequency_hz?: number | undefined;
|
|
153739
|
+
ac_stop_frequency_hz?: number | undefined;
|
|
153740
|
+
};
|
|
153741
|
+
}
|
|
153742
|
+
|
|
153743
|
+
declare class AnalogDcOperatingPointSimulation extends AnalogAnalysisSimulation<typeof analogDcOperatingPointSimulationProps> {
|
|
153744
|
+
get config(): {
|
|
153745
|
+
componentName: string;
|
|
153746
|
+
zodProps: zod.ZodObject<{
|
|
153747
|
+
name: zod.ZodOptional<zod.ZodString>;
|
|
153748
|
+
spiceEngine: zod.ZodOptional<zod.ZodType<_tscircuit_props.AutocompleteString<"spicey" | "ngspice">, zod.ZodTypeDef, _tscircuit_props.AutocompleteString<"spicey" | "ngspice">>>;
|
|
153749
|
+
spiceOptions: zod.ZodOptional<zod.ZodObject<{
|
|
153750
|
+
method: zod.ZodOptional<zod.ZodEnum<["trap", "gear"]>>;
|
|
153751
|
+
reltol: zod.ZodOptional<zod.ZodUnion<[zod.ZodNumber, zod.ZodString]>>;
|
|
153752
|
+
abstol: zod.ZodOptional<zod.ZodUnion<[zod.ZodNumber, zod.ZodString]>>;
|
|
153753
|
+
vntol: zod.ZodOptional<zod.ZodUnion<[zod.ZodNumber, zod.ZodString]>>;
|
|
153754
|
+
}, "strip", zod.ZodTypeAny, {
|
|
153755
|
+
method?: "trap" | "gear" | undefined;
|
|
153756
|
+
reltol?: string | number | undefined;
|
|
153757
|
+
abstol?: string | number | undefined;
|
|
153758
|
+
vntol?: string | number | undefined;
|
|
153759
|
+
}, {
|
|
153760
|
+
method?: "trap" | "gear" | undefined;
|
|
153761
|
+
reltol?: string | number | undefined;
|
|
153762
|
+
abstol?: string | number | undefined;
|
|
153763
|
+
vntol?: string | number | undefined;
|
|
153764
|
+
}>>;
|
|
153765
|
+
graphIndependentAxes: zod.ZodOptional<zod.ZodBoolean>;
|
|
153766
|
+
children: zod.ZodOptional<zod.ZodType<react.ReactNode, zod.ZodTypeDef, react.ReactNode>>;
|
|
153767
|
+
}, "strip", zod.ZodTypeAny, {
|
|
153768
|
+
name?: string | undefined;
|
|
153769
|
+
children?: react.ReactNode;
|
|
153770
|
+
spiceEngine?: _tscircuit_props.AutocompleteString<"spicey" | "ngspice"> | undefined;
|
|
153771
|
+
spiceOptions?: {
|
|
153772
|
+
method?: "trap" | "gear" | undefined;
|
|
153773
|
+
reltol?: string | number | undefined;
|
|
153774
|
+
abstol?: string | number | undefined;
|
|
153775
|
+
vntol?: string | number | undefined;
|
|
153776
|
+
} | undefined;
|
|
153777
|
+
graphIndependentAxes?: boolean | undefined;
|
|
153778
|
+
}, {
|
|
153779
|
+
name?: string | undefined;
|
|
153780
|
+
children?: react.ReactNode;
|
|
153781
|
+
spiceEngine?: _tscircuit_props.AutocompleteString<"spicey" | "ngspice"> | undefined;
|
|
153782
|
+
spiceOptions?: {
|
|
153783
|
+
method?: "trap" | "gear" | undefined;
|
|
153784
|
+
reltol?: string | number | undefined;
|
|
153785
|
+
abstol?: string | number | undefined;
|
|
153786
|
+
vntol?: string | number | undefined;
|
|
153787
|
+
} | undefined;
|
|
153788
|
+
graphIndependentAxes?: boolean | undefined;
|
|
153789
|
+
}>;
|
|
153790
|
+
};
|
|
153791
|
+
protected insertSimulationExperiment(): {
|
|
153792
|
+
type: "simulation_experiment";
|
|
153793
|
+
name: string;
|
|
153794
|
+
simulation_experiment_id: string;
|
|
153795
|
+
experiment_type: "spice_dc_sweep" | "spice_dc_operating_point" | "spice_transient_analysis" | "spice_ac_analysis";
|
|
153796
|
+
time_per_step?: number | undefined;
|
|
153797
|
+
start_time_ms?: number | undefined;
|
|
153798
|
+
end_time_ms?: number | undefined;
|
|
153799
|
+
spice_options?: {
|
|
153800
|
+
method?: "trap" | "gear" | undefined;
|
|
153801
|
+
reltol?: string | number | undefined;
|
|
153802
|
+
abstol?: string | number | undefined;
|
|
153803
|
+
vntol?: string | number | undefined;
|
|
153804
|
+
} | undefined;
|
|
153805
|
+
dc_sweep_voltage_source_id?: string | undefined;
|
|
153806
|
+
dc_sweep_current_source_id?: string | undefined;
|
|
153807
|
+
dc_sweep_start?: number | undefined;
|
|
153808
|
+
dc_sweep_stop?: number | undefined;
|
|
153809
|
+
dc_sweep_step?: number | undefined;
|
|
153810
|
+
dc_sweep_unit?: circuit_json.SimulationDcSweepUnit | undefined;
|
|
153811
|
+
ac_sweep_type?: "linear" | "decade" | "octave" | undefined;
|
|
153812
|
+
ac_samples_per_interval?: number | undefined;
|
|
153813
|
+
ac_sample_count?: number | undefined;
|
|
153814
|
+
ac_start_frequency_hz?: number | undefined;
|
|
153815
|
+
ac_stop_frequency_hz?: number | undefined;
|
|
153816
|
+
};
|
|
153817
|
+
}
|
|
153818
|
+
|
|
153819
|
+
declare class AnalogDcSweepSimulation extends AnalogAnalysisSimulation<typeof analogDcSweepSimulationProps> {
|
|
153820
|
+
get config(): {
|
|
153821
|
+
componentName: string;
|
|
153822
|
+
zodProps: zod.ZodEffects<zod.ZodObject<{
|
|
153823
|
+
sweepSource: zod.ZodString;
|
|
153824
|
+
sweepStart: zod.ZodUnion<[zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>, zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>]>;
|
|
153825
|
+
sweepStop: zod.ZodUnion<[zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>, zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>]>;
|
|
153826
|
+
sweepStep: zod.ZodEffects<zod.ZodUnion<[zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>, zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>]>, number, string | number>;
|
|
153827
|
+
name: zod.ZodOptional<zod.ZodString>;
|
|
153828
|
+
spiceEngine: zod.ZodOptional<zod.ZodType<_tscircuit_props.AutocompleteString<"spicey" | "ngspice">, zod.ZodTypeDef, _tscircuit_props.AutocompleteString<"spicey" | "ngspice">>>;
|
|
153829
|
+
spiceOptions: zod.ZodOptional<zod.ZodObject<{
|
|
153830
|
+
method: zod.ZodOptional<zod.ZodEnum<["trap", "gear"]>>;
|
|
153831
|
+
reltol: zod.ZodOptional<zod.ZodUnion<[zod.ZodNumber, zod.ZodString]>>;
|
|
153832
|
+
abstol: zod.ZodOptional<zod.ZodUnion<[zod.ZodNumber, zod.ZodString]>>;
|
|
153833
|
+
vntol: zod.ZodOptional<zod.ZodUnion<[zod.ZodNumber, zod.ZodString]>>;
|
|
153834
|
+
}, "strip", zod.ZodTypeAny, {
|
|
153835
|
+
method?: "trap" | "gear" | undefined;
|
|
153836
|
+
reltol?: string | number | undefined;
|
|
153837
|
+
abstol?: string | number | undefined;
|
|
153838
|
+
vntol?: string | number | undefined;
|
|
153839
|
+
}, {
|
|
153840
|
+
method?: "trap" | "gear" | undefined;
|
|
153841
|
+
reltol?: string | number | undefined;
|
|
153842
|
+
abstol?: string | number | undefined;
|
|
153843
|
+
vntol?: string | number | undefined;
|
|
153844
|
+
}>>;
|
|
153845
|
+
graphIndependentAxes: zod.ZodOptional<zod.ZodBoolean>;
|
|
153846
|
+
children: zod.ZodOptional<zod.ZodType<react.ReactNode, zod.ZodTypeDef, react.ReactNode>>;
|
|
153847
|
+
}, "strip", zod.ZodTypeAny, {
|
|
153848
|
+
sweepSource: string;
|
|
153849
|
+
sweepStart: number;
|
|
153850
|
+
sweepStop: number;
|
|
153851
|
+
sweepStep: number;
|
|
153852
|
+
name?: string | undefined;
|
|
153853
|
+
children?: react.ReactNode;
|
|
153854
|
+
spiceEngine?: _tscircuit_props.AutocompleteString<"spicey" | "ngspice"> | undefined;
|
|
153855
|
+
spiceOptions?: {
|
|
153856
|
+
method?: "trap" | "gear" | undefined;
|
|
153857
|
+
reltol?: string | number | undefined;
|
|
153858
|
+
abstol?: string | number | undefined;
|
|
153859
|
+
vntol?: string | number | undefined;
|
|
153860
|
+
} | undefined;
|
|
153861
|
+
graphIndependentAxes?: boolean | undefined;
|
|
153862
|
+
}, {
|
|
153863
|
+
sweepSource: string;
|
|
153864
|
+
sweepStart: string | number;
|
|
153865
|
+
sweepStop: string | number;
|
|
153866
|
+
sweepStep: string | number;
|
|
153867
|
+
name?: string | undefined;
|
|
153868
|
+
children?: react.ReactNode;
|
|
153869
|
+
spiceEngine?: _tscircuit_props.AutocompleteString<"spicey" | "ngspice"> | undefined;
|
|
153870
|
+
spiceOptions?: {
|
|
153871
|
+
method?: "trap" | "gear" | undefined;
|
|
153872
|
+
reltol?: string | number | undefined;
|
|
153873
|
+
abstol?: string | number | undefined;
|
|
153874
|
+
vntol?: string | number | undefined;
|
|
153875
|
+
} | undefined;
|
|
153876
|
+
graphIndependentAxes?: boolean | undefined;
|
|
153877
|
+
}>, {
|
|
153878
|
+
sweepSource: string;
|
|
153879
|
+
sweepStart: number;
|
|
153880
|
+
sweepStop: number;
|
|
153881
|
+
sweepStep: number;
|
|
153882
|
+
name?: string | undefined;
|
|
153883
|
+
children?: react.ReactNode;
|
|
153884
|
+
spiceEngine?: _tscircuit_props.AutocompleteString<"spicey" | "ngspice"> | undefined;
|
|
153885
|
+
spiceOptions?: {
|
|
153886
|
+
method?: "trap" | "gear" | undefined;
|
|
153887
|
+
reltol?: string | number | undefined;
|
|
153888
|
+
abstol?: string | number | undefined;
|
|
153889
|
+
vntol?: string | number | undefined;
|
|
153890
|
+
} | undefined;
|
|
153891
|
+
graphIndependentAxes?: boolean | undefined;
|
|
153892
|
+
}, {
|
|
153893
|
+
sweepSource: string;
|
|
153894
|
+
sweepStart: string | number;
|
|
153895
|
+
sweepStop: string | number;
|
|
153896
|
+
sweepStep: string | number;
|
|
153897
|
+
name?: string | undefined;
|
|
153898
|
+
children?: react.ReactNode;
|
|
153899
|
+
spiceEngine?: _tscircuit_props.AutocompleteString<"spicey" | "ngspice"> | undefined;
|
|
153900
|
+
spiceOptions?: {
|
|
153901
|
+
method?: "trap" | "gear" | undefined;
|
|
153902
|
+
reltol?: string | number | undefined;
|
|
153903
|
+
abstol?: string | number | undefined;
|
|
153904
|
+
vntol?: string | number | undefined;
|
|
153905
|
+
} | undefined;
|
|
153906
|
+
graphIndependentAxes?: boolean | undefined;
|
|
153907
|
+
}>;
|
|
153908
|
+
};
|
|
153909
|
+
protected insertSimulationExperiment(): {
|
|
153910
|
+
type: "simulation_experiment";
|
|
153911
|
+
name: string;
|
|
153912
|
+
simulation_experiment_id: string;
|
|
153913
|
+
experiment_type: "spice_dc_sweep" | "spice_dc_operating_point" | "spice_transient_analysis" | "spice_ac_analysis";
|
|
153914
|
+
time_per_step?: number | undefined;
|
|
153915
|
+
start_time_ms?: number | undefined;
|
|
153916
|
+
end_time_ms?: number | undefined;
|
|
153917
|
+
spice_options?: {
|
|
153918
|
+
method?: "trap" | "gear" | undefined;
|
|
153919
|
+
reltol?: string | number | undefined;
|
|
153920
|
+
abstol?: string | number | undefined;
|
|
153921
|
+
vntol?: string | number | undefined;
|
|
153922
|
+
} | undefined;
|
|
153923
|
+
dc_sweep_voltage_source_id?: string | undefined;
|
|
153924
|
+
dc_sweep_current_source_id?: string | undefined;
|
|
153925
|
+
dc_sweep_start?: number | undefined;
|
|
153926
|
+
dc_sweep_stop?: number | undefined;
|
|
153927
|
+
dc_sweep_step?: number | undefined;
|
|
153928
|
+
dc_sweep_unit?: circuit_json.SimulationDcSweepUnit | undefined;
|
|
153929
|
+
ac_sweep_type?: "linear" | "decade" | "octave" | undefined;
|
|
153930
|
+
ac_samples_per_interval?: number | undefined;
|
|
153931
|
+
ac_sample_count?: number | undefined;
|
|
153932
|
+
ac_start_frequency_hz?: number | undefined;
|
|
153933
|
+
ac_stop_frequency_hz?: number | undefined;
|
|
153934
|
+
} | null;
|
|
153935
|
+
}
|
|
153936
|
+
|
|
153937
|
+
declare class AnalogAcSweepSimulation extends AnalogAnalysisSimulation<typeof analogAcSweepSimulationProps> {
|
|
153938
|
+
get config(): {
|
|
153939
|
+
componentName: string;
|
|
153940
|
+
zodProps: zod.ZodEffects<zod.ZodObject<{
|
|
153941
|
+
sweepType: zod.ZodEnum<["linear", "decade", "octave"]>;
|
|
153942
|
+
startFrequency: zod.ZodEffects<zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>, number, string | number>;
|
|
153943
|
+
stopFrequency: zod.ZodEffects<zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>, number, string | number>;
|
|
153944
|
+
samplesPerInterval: zod.ZodOptional<zod.ZodNumber>;
|
|
153945
|
+
sampleCount: zod.ZodOptional<zod.ZodNumber>;
|
|
153946
|
+
name: zod.ZodOptional<zod.ZodString>;
|
|
153947
|
+
spiceEngine: zod.ZodOptional<zod.ZodType<_tscircuit_props.AutocompleteString<"spicey" | "ngspice">, zod.ZodTypeDef, _tscircuit_props.AutocompleteString<"spicey" | "ngspice">>>;
|
|
153948
|
+
spiceOptions: zod.ZodOptional<zod.ZodObject<{
|
|
153949
|
+
method: zod.ZodOptional<zod.ZodEnum<["trap", "gear"]>>;
|
|
153950
|
+
reltol: zod.ZodOptional<zod.ZodUnion<[zod.ZodNumber, zod.ZodString]>>;
|
|
153951
|
+
abstol: zod.ZodOptional<zod.ZodUnion<[zod.ZodNumber, zod.ZodString]>>;
|
|
153952
|
+
vntol: zod.ZodOptional<zod.ZodUnion<[zod.ZodNumber, zod.ZodString]>>;
|
|
153953
|
+
}, "strip", zod.ZodTypeAny, {
|
|
153954
|
+
method?: "trap" | "gear" | undefined;
|
|
153955
|
+
reltol?: string | number | undefined;
|
|
153956
|
+
abstol?: string | number | undefined;
|
|
153957
|
+
vntol?: string | number | undefined;
|
|
153958
|
+
}, {
|
|
153959
|
+
method?: "trap" | "gear" | undefined;
|
|
153960
|
+
reltol?: string | number | undefined;
|
|
153961
|
+
abstol?: string | number | undefined;
|
|
153962
|
+
vntol?: string | number | undefined;
|
|
153963
|
+
}>>;
|
|
153964
|
+
graphIndependentAxes: zod.ZodOptional<zod.ZodBoolean>;
|
|
153965
|
+
children: zod.ZodOptional<zod.ZodType<react.ReactNode, zod.ZodTypeDef, react.ReactNode>>;
|
|
153966
|
+
}, "strip", zod.ZodTypeAny, {
|
|
153967
|
+
sweepType: "linear" | "decade" | "octave";
|
|
153968
|
+
startFrequency: number;
|
|
153969
|
+
stopFrequency: number;
|
|
153970
|
+
name?: string | undefined;
|
|
153971
|
+
children?: react.ReactNode;
|
|
153972
|
+
spiceEngine?: _tscircuit_props.AutocompleteString<"spicey" | "ngspice"> | undefined;
|
|
153973
|
+
spiceOptions?: {
|
|
153974
|
+
method?: "trap" | "gear" | undefined;
|
|
153975
|
+
reltol?: string | number | undefined;
|
|
153976
|
+
abstol?: string | number | undefined;
|
|
153977
|
+
vntol?: string | number | undefined;
|
|
153978
|
+
} | undefined;
|
|
153979
|
+
graphIndependentAxes?: boolean | undefined;
|
|
153980
|
+
samplesPerInterval?: number | undefined;
|
|
153981
|
+
sampleCount?: number | undefined;
|
|
153982
|
+
}, {
|
|
153983
|
+
sweepType: "linear" | "decade" | "octave";
|
|
153984
|
+
startFrequency: string | number;
|
|
153985
|
+
stopFrequency: string | number;
|
|
153986
|
+
name?: string | undefined;
|
|
153987
|
+
children?: react.ReactNode;
|
|
153988
|
+
spiceEngine?: _tscircuit_props.AutocompleteString<"spicey" | "ngspice"> | undefined;
|
|
153989
|
+
spiceOptions?: {
|
|
153990
|
+
method?: "trap" | "gear" | undefined;
|
|
153991
|
+
reltol?: string | number | undefined;
|
|
153992
|
+
abstol?: string | number | undefined;
|
|
153993
|
+
vntol?: string | number | undefined;
|
|
153994
|
+
} | undefined;
|
|
153995
|
+
graphIndependentAxes?: boolean | undefined;
|
|
153996
|
+
samplesPerInterval?: number | undefined;
|
|
153997
|
+
sampleCount?: number | undefined;
|
|
153998
|
+
}>, {
|
|
153999
|
+
sweepType: "linear" | "decade" | "octave";
|
|
154000
|
+
startFrequency: number;
|
|
154001
|
+
stopFrequency: number;
|
|
154002
|
+
name?: string | undefined;
|
|
154003
|
+
children?: react.ReactNode;
|
|
154004
|
+
spiceEngine?: _tscircuit_props.AutocompleteString<"spicey" | "ngspice"> | undefined;
|
|
154005
|
+
spiceOptions?: {
|
|
154006
|
+
method?: "trap" | "gear" | undefined;
|
|
154007
|
+
reltol?: string | number | undefined;
|
|
154008
|
+
abstol?: string | number | undefined;
|
|
154009
|
+
vntol?: string | number | undefined;
|
|
154010
|
+
} | undefined;
|
|
154011
|
+
graphIndependentAxes?: boolean | undefined;
|
|
154012
|
+
samplesPerInterval?: number | undefined;
|
|
154013
|
+
sampleCount?: number | undefined;
|
|
154014
|
+
}, {
|
|
154015
|
+
sweepType: "linear" | "decade" | "octave";
|
|
154016
|
+
startFrequency: string | number;
|
|
154017
|
+
stopFrequency: string | number;
|
|
154018
|
+
name?: string | undefined;
|
|
154019
|
+
children?: react.ReactNode;
|
|
154020
|
+
spiceEngine?: _tscircuit_props.AutocompleteString<"spicey" | "ngspice"> | undefined;
|
|
154021
|
+
spiceOptions?: {
|
|
154022
|
+
method?: "trap" | "gear" | undefined;
|
|
154023
|
+
reltol?: string | number | undefined;
|
|
154024
|
+
abstol?: string | number | undefined;
|
|
154025
|
+
vntol?: string | number | undefined;
|
|
154026
|
+
} | undefined;
|
|
154027
|
+
graphIndependentAxes?: boolean | undefined;
|
|
154028
|
+
samplesPerInterval?: number | undefined;
|
|
154029
|
+
sampleCount?: number | undefined;
|
|
154030
|
+
}>;
|
|
154031
|
+
};
|
|
154032
|
+
protected insertSimulationExperiment(): {
|
|
154033
|
+
type: "simulation_experiment";
|
|
154034
|
+
name: string;
|
|
154035
|
+
simulation_experiment_id: string;
|
|
154036
|
+
experiment_type: "spice_dc_sweep" | "spice_dc_operating_point" | "spice_transient_analysis" | "spice_ac_analysis";
|
|
154037
|
+
time_per_step?: number | undefined;
|
|
154038
|
+
start_time_ms?: number | undefined;
|
|
154039
|
+
end_time_ms?: number | undefined;
|
|
154040
|
+
spice_options?: {
|
|
154041
|
+
method?: "trap" | "gear" | undefined;
|
|
154042
|
+
reltol?: string | number | undefined;
|
|
154043
|
+
abstol?: string | number | undefined;
|
|
154044
|
+
vntol?: string | number | undefined;
|
|
154045
|
+
} | undefined;
|
|
154046
|
+
dc_sweep_voltage_source_id?: string | undefined;
|
|
154047
|
+
dc_sweep_current_source_id?: string | undefined;
|
|
154048
|
+
dc_sweep_start?: number | undefined;
|
|
154049
|
+
dc_sweep_stop?: number | undefined;
|
|
154050
|
+
dc_sweep_step?: number | undefined;
|
|
154051
|
+
dc_sweep_unit?: circuit_json.SimulationDcSweepUnit | undefined;
|
|
154052
|
+
ac_sweep_type?: "linear" | "decade" | "octave" | undefined;
|
|
154053
|
+
ac_samples_per_interval?: number | undefined;
|
|
154054
|
+
ac_sample_count?: number | undefined;
|
|
154055
|
+
ac_start_frequency_hz?: number | undefined;
|
|
154056
|
+
ac_stop_frequency_hz?: number | undefined;
|
|
154057
|
+
};
|
|
154058
|
+
}
|
|
154059
|
+
|
|
154060
|
+
type SimulationParameterSweepId = SimulationParameterSweep["simulation_parameter_sweep_id"];
|
|
154061
|
+
declare class AnalogSweepParameter extends PrimitiveComponent<typeof analogSweepParameterProps> {
|
|
154062
|
+
simulation_parameter_sweep_id: SimulationParameterSweepId | null;
|
|
154063
|
+
get config(): {
|
|
154064
|
+
componentName: string;
|
|
154065
|
+
zodProps: zod.ZodEffects<zod.ZodDiscriminatedUnion<"parameterType", [zod.ZodObject<{
|
|
154066
|
+
parameterType: zod.ZodLiteral<"resistance">;
|
|
154067
|
+
resistorRef: zod.ZodString;
|
|
154068
|
+
name: zod.ZodOptional<zod.ZodString>;
|
|
154069
|
+
values: zod.ZodOptional<zod.ZodArray<zod.ZodType<number, zod.ZodTypeDef, string | number>, "many">>;
|
|
154070
|
+
start: zod.ZodOptional<zod.ZodType<number, zod.ZodTypeDef, string | number>>;
|
|
154071
|
+
stop: zod.ZodOptional<zod.ZodType<number, zod.ZodTypeDef, string | number>>;
|
|
154072
|
+
step: zod.ZodOptional<zod.ZodType<number, zod.ZodTypeDef, string | number>>;
|
|
154073
|
+
}, "strict", zod.ZodTypeAny, {
|
|
154074
|
+
parameterType: "resistance";
|
|
154075
|
+
resistorRef: string;
|
|
154076
|
+
values?: number[] | undefined;
|
|
154077
|
+
name?: string | undefined;
|
|
154078
|
+
start?: number | undefined;
|
|
154079
|
+
stop?: number | undefined;
|
|
154080
|
+
step?: number | undefined;
|
|
154081
|
+
}, {
|
|
154082
|
+
parameterType: "resistance";
|
|
154083
|
+
resistorRef: string;
|
|
154084
|
+
values?: (string | number)[] | undefined;
|
|
154085
|
+
name?: string | undefined;
|
|
154086
|
+
start?: string | number | undefined;
|
|
154087
|
+
stop?: string | number | undefined;
|
|
154088
|
+
step?: string | number | undefined;
|
|
154089
|
+
}>, zod.ZodObject<{
|
|
154090
|
+
parameterType: zod.ZodLiteral<"capacitance">;
|
|
154091
|
+
capacitorRef: zod.ZodString;
|
|
154092
|
+
name: zod.ZodOptional<zod.ZodString>;
|
|
154093
|
+
values: zod.ZodOptional<zod.ZodArray<zod.ZodType<number, zod.ZodTypeDef, string | number>, "many">>;
|
|
154094
|
+
start: zod.ZodOptional<zod.ZodType<number, zod.ZodTypeDef, string | number>>;
|
|
154095
|
+
stop: zod.ZodOptional<zod.ZodType<number, zod.ZodTypeDef, string | number>>;
|
|
154096
|
+
step: zod.ZodOptional<zod.ZodType<number, zod.ZodTypeDef, string | number>>;
|
|
154097
|
+
}, "strict", zod.ZodTypeAny, {
|
|
154098
|
+
parameterType: "capacitance";
|
|
154099
|
+
capacitorRef: string;
|
|
154100
|
+
values?: number[] | undefined;
|
|
154101
|
+
name?: string | undefined;
|
|
154102
|
+
start?: number | undefined;
|
|
154103
|
+
stop?: number | undefined;
|
|
154104
|
+
step?: number | undefined;
|
|
154105
|
+
}, {
|
|
154106
|
+
parameterType: "capacitance";
|
|
154107
|
+
capacitorRef: string;
|
|
154108
|
+
values?: (string | number)[] | undefined;
|
|
154109
|
+
name?: string | undefined;
|
|
154110
|
+
start?: string | number | undefined;
|
|
154111
|
+
stop?: string | number | undefined;
|
|
154112
|
+
step?: string | number | undefined;
|
|
154113
|
+
}>, zod.ZodObject<{
|
|
154114
|
+
parameterType: zod.ZodLiteral<"inductance">;
|
|
154115
|
+
inductorRef: zod.ZodString;
|
|
154116
|
+
name: zod.ZodOptional<zod.ZodString>;
|
|
154117
|
+
values: zod.ZodOptional<zod.ZodArray<zod.ZodType<number, zod.ZodTypeDef, string | number>, "many">>;
|
|
154118
|
+
start: zod.ZodOptional<zod.ZodType<number, zod.ZodTypeDef, string | number>>;
|
|
154119
|
+
stop: zod.ZodOptional<zod.ZodType<number, zod.ZodTypeDef, string | number>>;
|
|
154120
|
+
step: zod.ZodOptional<zod.ZodType<number, zod.ZodTypeDef, string | number>>;
|
|
154121
|
+
}, "strict", zod.ZodTypeAny, {
|
|
154122
|
+
parameterType: "inductance";
|
|
154123
|
+
inductorRef: string;
|
|
154124
|
+
values?: number[] | undefined;
|
|
154125
|
+
name?: string | undefined;
|
|
154126
|
+
start?: number | undefined;
|
|
154127
|
+
stop?: number | undefined;
|
|
154128
|
+
step?: number | undefined;
|
|
154129
|
+
}, {
|
|
154130
|
+
parameterType: "inductance";
|
|
154131
|
+
inductorRef: string;
|
|
154132
|
+
values?: (string | number)[] | undefined;
|
|
154133
|
+
name?: string | undefined;
|
|
154134
|
+
start?: string | number | undefined;
|
|
154135
|
+
stop?: string | number | undefined;
|
|
154136
|
+
step?: string | number | undefined;
|
|
154137
|
+
}>, zod.ZodObject<{
|
|
154138
|
+
parameterType: zod.ZodLiteral<"voltage">;
|
|
154139
|
+
net: zod.ZodString;
|
|
154140
|
+
name: zod.ZodOptional<zod.ZodString>;
|
|
154141
|
+
values: zod.ZodOptional<zod.ZodArray<zod.ZodType<number, zod.ZodTypeDef, string | number>, "many">>;
|
|
154142
|
+
start: zod.ZodOptional<zod.ZodType<number, zod.ZodTypeDef, string | number>>;
|
|
154143
|
+
stop: zod.ZodOptional<zod.ZodType<number, zod.ZodTypeDef, string | number>>;
|
|
154144
|
+
step: zod.ZodOptional<zod.ZodType<number, zod.ZodTypeDef, string | number>>;
|
|
154145
|
+
}, "strict", zod.ZodTypeAny, {
|
|
154146
|
+
net: string;
|
|
154147
|
+
parameterType: "voltage";
|
|
154148
|
+
values?: number[] | undefined;
|
|
154149
|
+
name?: string | undefined;
|
|
154150
|
+
start?: number | undefined;
|
|
154151
|
+
stop?: number | undefined;
|
|
154152
|
+
step?: number | undefined;
|
|
154153
|
+
}, {
|
|
154154
|
+
net: string;
|
|
154155
|
+
parameterType: "voltage";
|
|
154156
|
+
values?: (string | number)[] | undefined;
|
|
154157
|
+
name?: string | undefined;
|
|
154158
|
+
start?: string | number | undefined;
|
|
154159
|
+
stop?: string | number | undefined;
|
|
154160
|
+
step?: string | number | undefined;
|
|
154161
|
+
}>, zod.ZodObject<{
|
|
154162
|
+
parameterType: zod.ZodLiteral<"current">;
|
|
154163
|
+
currentSourceRef: zod.ZodString;
|
|
154164
|
+
name: zod.ZodOptional<zod.ZodString>;
|
|
154165
|
+
values: zod.ZodOptional<zod.ZodArray<zod.ZodType<number, zod.ZodTypeDef, string | number>, "many">>;
|
|
154166
|
+
start: zod.ZodOptional<zod.ZodType<number, zod.ZodTypeDef, string | number>>;
|
|
154167
|
+
stop: zod.ZodOptional<zod.ZodType<number, zod.ZodTypeDef, string | number>>;
|
|
154168
|
+
step: zod.ZodOptional<zod.ZodType<number, zod.ZodTypeDef, string | number>>;
|
|
154169
|
+
}, "strict", zod.ZodTypeAny, {
|
|
154170
|
+
parameterType: "current";
|
|
154171
|
+
currentSourceRef: string;
|
|
154172
|
+
values?: number[] | undefined;
|
|
154173
|
+
name?: string | undefined;
|
|
154174
|
+
start?: number | undefined;
|
|
154175
|
+
stop?: number | undefined;
|
|
154176
|
+
step?: number | undefined;
|
|
154177
|
+
}, {
|
|
154178
|
+
parameterType: "current";
|
|
154179
|
+
currentSourceRef: string;
|
|
154180
|
+
values?: (string | number)[] | undefined;
|
|
154181
|
+
name?: string | undefined;
|
|
154182
|
+
start?: string | number | undefined;
|
|
154183
|
+
stop?: string | number | undefined;
|
|
154184
|
+
step?: string | number | undefined;
|
|
154185
|
+
}>]>, {
|
|
154186
|
+
parameterType: "resistance";
|
|
154187
|
+
resistorRef: string;
|
|
154188
|
+
values?: number[] | undefined;
|
|
154189
|
+
name?: string | undefined;
|
|
154190
|
+
start?: number | undefined;
|
|
154191
|
+
stop?: number | undefined;
|
|
154192
|
+
step?: number | undefined;
|
|
154193
|
+
} | {
|
|
154194
|
+
parameterType: "capacitance";
|
|
154195
|
+
capacitorRef: string;
|
|
154196
|
+
values?: number[] | undefined;
|
|
154197
|
+
name?: string | undefined;
|
|
154198
|
+
start?: number | undefined;
|
|
154199
|
+
stop?: number | undefined;
|
|
154200
|
+
step?: number | undefined;
|
|
154201
|
+
} | {
|
|
154202
|
+
parameterType: "inductance";
|
|
154203
|
+
inductorRef: string;
|
|
154204
|
+
values?: number[] | undefined;
|
|
154205
|
+
name?: string | undefined;
|
|
154206
|
+
start?: number | undefined;
|
|
154207
|
+
stop?: number | undefined;
|
|
154208
|
+
step?: number | undefined;
|
|
154209
|
+
} | {
|
|
154210
|
+
net: string;
|
|
154211
|
+
parameterType: "voltage";
|
|
154212
|
+
values?: number[] | undefined;
|
|
154213
|
+
name?: string | undefined;
|
|
154214
|
+
start?: number | undefined;
|
|
154215
|
+
stop?: number | undefined;
|
|
154216
|
+
step?: number | undefined;
|
|
154217
|
+
} | {
|
|
154218
|
+
parameterType: "current";
|
|
154219
|
+
currentSourceRef: string;
|
|
154220
|
+
values?: number[] | undefined;
|
|
154221
|
+
name?: string | undefined;
|
|
154222
|
+
start?: number | undefined;
|
|
154223
|
+
stop?: number | undefined;
|
|
154224
|
+
step?: number | undefined;
|
|
154225
|
+
}, {
|
|
154226
|
+
parameterType: "resistance";
|
|
154227
|
+
resistorRef: string;
|
|
154228
|
+
values?: (string | number)[] | undefined;
|
|
154229
|
+
name?: string | undefined;
|
|
154230
|
+
start?: string | number | undefined;
|
|
154231
|
+
stop?: string | number | undefined;
|
|
154232
|
+
step?: string | number | undefined;
|
|
154233
|
+
} | {
|
|
154234
|
+
parameterType: "capacitance";
|
|
154235
|
+
capacitorRef: string;
|
|
154236
|
+
values?: (string | number)[] | undefined;
|
|
154237
|
+
name?: string | undefined;
|
|
154238
|
+
start?: string | number | undefined;
|
|
154239
|
+
stop?: string | number | undefined;
|
|
154240
|
+
step?: string | number | undefined;
|
|
154241
|
+
} | {
|
|
154242
|
+
parameterType: "inductance";
|
|
154243
|
+
inductorRef: string;
|
|
154244
|
+
values?: (string | number)[] | undefined;
|
|
154245
|
+
name?: string | undefined;
|
|
154246
|
+
start?: string | number | undefined;
|
|
154247
|
+
stop?: string | number | undefined;
|
|
154248
|
+
step?: string | number | undefined;
|
|
154249
|
+
} | {
|
|
154250
|
+
net: string;
|
|
154251
|
+
parameterType: "voltage";
|
|
154252
|
+
values?: (string | number)[] | undefined;
|
|
154253
|
+
name?: string | undefined;
|
|
154254
|
+
start?: string | number | undefined;
|
|
154255
|
+
stop?: string | number | undefined;
|
|
154256
|
+
step?: string | number | undefined;
|
|
154257
|
+
} | {
|
|
154258
|
+
parameterType: "current";
|
|
154259
|
+
currentSourceRef: string;
|
|
154260
|
+
values?: (string | number)[] | undefined;
|
|
154261
|
+
name?: string | undefined;
|
|
154262
|
+
start?: string | number | undefined;
|
|
154263
|
+
stop?: string | number | undefined;
|
|
154264
|
+
step?: string | number | undefined;
|
|
154265
|
+
}>;
|
|
154266
|
+
};
|
|
153599
154267
|
doInitialSimulationRender(): void;
|
|
153600
154268
|
}
|
|
153601
154269
|
|
|
@@ -158170,6 +158838,14 @@ declare class SpiceModel extends PrimitiveComponent<typeof spicemodelProps> {
|
|
|
158170
158838
|
private _insertSpiceModelError;
|
|
158171
158839
|
}
|
|
158172
158840
|
|
|
158841
|
+
declare const analog: {
|
|
158842
|
+
readonly transientsimulation: react.FunctionComponent<AnalogTransientSimulationProps>;
|
|
158843
|
+
readonly dcoperatingpointsimulation: react.FunctionComponent<_tscircuit_props.AnalogAnalysisSimulationBaseProps>;
|
|
158844
|
+
readonly dcsweepsimulation: react.FunctionComponent<AnalogDcSweepSimulationProps>;
|
|
158845
|
+
readonly acsweepsimulation: react.FunctionComponent<AnalogAcSweepSimulationProps>;
|
|
158846
|
+
readonly sweepparameter: react.FunctionComponent<AnalogSweepParameterProps>;
|
|
158847
|
+
};
|
|
158848
|
+
|
|
158173
158849
|
declare const enclosure: {
|
|
158174
158850
|
readonly cutoutaperture: react.FunctionComponent<EnclosureCutoutApertureProps>;
|
|
158175
158851
|
readonly fdm: {
|
|
@@ -159688,6 +160364,11 @@ interface TscircuitElements {
|
|
|
159688
160364
|
voltageprobe: _tscircuit_props.VoltageProbeProps;
|
|
159689
160365
|
copperpour: _tscircuit_props.CopperPourProps;
|
|
159690
160366
|
analogsimulation: _tscircuit_props.AnalogSimulationProps;
|
|
160367
|
+
analogtransientsimulation: _tscircuit_props.AnalogTransientSimulationProps;
|
|
160368
|
+
analogdcoperatingpointsimulation: _tscircuit_props.AnalogDcOperatingPointSimulationProps;
|
|
160369
|
+
analogdcsweepsimulation: _tscircuit_props.AnalogDcSweepSimulationProps;
|
|
160370
|
+
analogacsweepsimulation: _tscircuit_props.AnalogAcSweepSimulationProps;
|
|
160371
|
+
analogsweepparameter: _tscircuit_props.AnalogSweepParameterProps;
|
|
159691
160372
|
spicemodel: _tscircuit_props.SpiceModelProps;
|
|
159692
160373
|
fiducial: _tscircuit_props.FiducialProps;
|
|
159693
160374
|
jscad: any;
|
|
@@ -159710,4 +160391,4 @@ declare module "react/jsx-runtime" {
|
|
|
159710
160391
|
}
|
|
159711
160392
|
}
|
|
159712
160393
|
|
|
159713
|
-
export { Ammeter, AnalogSimulation, type AsyncEffect, type AutorouterCompleteEvent, type AutorouterErrorEvent, type AutorouterEvent, type AutorouterProgressEvent, type AutoroutingEndEvent, type AutoroutingErrorEvent, AutoroutingPhase, type AutoroutingProgressEvent, type AutoroutingStartEvent, Battery, Board, Breakout, BreakoutPoint, CadAssembly, CadModel, Capacitor, Chip, Circuit, type ComponentWithPins, Connector, Constraint, CopperPour, CopperText, CourtyardCircle, CourtyardOutline, CourtyardRect, Crystal, CurrentSource, Cutout, type DebugLogOutputEvent, DifferentialPair, Diode, DrcCheck, EnclosureCutoutAperture, EnclosureFdmBox, FabricationNoteDimension, FabricationNotePath, FabricationNoteRect, FabricationNoteText, Breakout as Fanout, BreakoutPoint as FanoutPoint, Fiducial, Footprint, Fuse, type GenericConnectionsAndSelectorsSel, type GenericLocalAutorouter, Group, Hole, type IIsolatedCircuit, type IRenderable, type IRootCircuit, Inductor, Interconnect, IsolatedCircuit, Jumper, Keepout, Led, type LocalCacheEngine, Mosfet, MountedBoard, Net, NetLabel, NormalComponent, type Obstacle, OpAmp, type PackingEndEvent, type PackingErrorEvent, type PackingStartEvent, Panel, PcbNoteDimension, PcbNoteLine, PcbNotePath, PcbNoteRect, PcbNoteText, PcbTrace, PcbVia, PinHeader, type PinLabelSpec, Pinout, PlatedHole, Port, Potentiometer, PowerSource, PrimitiveComponent, Project, PushButton, type RenderPhase, type RenderPhaseFn, type RenderPhaseFunctions, type RenderPhaseStates, Renderable, Resistor, Resonator, RootCircuit, type RootCircuitEventName, SOLVERS, SchematicArc, SchematicBox, SchematicCell, SchematicCircle, SchematicLine, SchematicPath, SchematicRect, SchematicRow, SchematicSection, SchematicSheet, SchematicSymbol, SchematicTable, SchematicText, type Sel, SilkscreenCircle, SilkscreenGraphic, SilkscreenLine, SilkscreenPath, SilkscreenRect, SilkscreenText, type SimpleRouteConnection, type SimpleRouteDifferentialPair, type SimpleRouteJson, type SimplifiedPcbTrace, SmtPad, SolderJumper, type SolverName, type SolverStartedEvent, SpiceModel, type SrjConnectionName, Subcircuit, Subpanel, Switch, SymbolComponent as Symbol, TestPoint, Trace, TraceHint, Transistor, Via, VoltageProbe, VoltageSource, applyEditEvents, applyEditEventsToManualEditsFile, applyPcbEditEventsToManualEditsFile, applySchematicEditEventsToManualEditsFile, createUseComponent, enclosure, getPhaseTimingsFromRenderEvents, getSimpleRouteJsonFromCircuitJson, normalizePinLabels, orderedRenderPhases, renderPhaseIndexMap, resolveStaticFileImport, sel, unrouteCircuitJson, useCapacitor, useChip, useDiode, useLed, useRenderedCircuit, useResistor };
|
|
160394
|
+
export { Ammeter, AnalogAcSweepSimulation, AnalogAnalysisSimulation, AnalogDcOperatingPointSimulation, AnalogDcSweepSimulation, AnalogSimulation, AnalogSweepParameter, AnalogTransientSimulation, type AsyncEffect, type AutorouterCompleteEvent, type AutorouterErrorEvent, type AutorouterEvent, type AutorouterProgressEvent, type AutoroutingEndEvent, type AutoroutingErrorEvent, AutoroutingPhase, type AutoroutingProgressEvent, type AutoroutingStartEvent, Battery, Board, Breakout, BreakoutPoint, CadAssembly, CadModel, Capacitor, Chip, Circuit, type ComponentWithPins, Connector, Constraint, CopperPour, CopperText, CourtyardCircle, CourtyardOutline, CourtyardRect, Crystal, CurrentSource, Cutout, type DebugLogOutputEvent, DifferentialPair, Diode, DrcCheck, EnclosureCutoutAperture, EnclosureFdmBox, FabricationNoteDimension, FabricationNotePath, FabricationNoteRect, FabricationNoteText, Breakout as Fanout, BreakoutPoint as FanoutPoint, Fiducial, Footprint, Fuse, type GenericConnectionsAndSelectorsSel, type GenericLocalAutorouter, Group, Hole, type IIsolatedCircuit, type IRenderable, type IRootCircuit, Inductor, Interconnect, IsolatedCircuit, Jumper, Keepout, Led, type LocalCacheEngine, Mosfet, MountedBoard, Net, NetLabel, NormalComponent, type Obstacle, OpAmp, type PackingEndEvent, type PackingErrorEvent, type PackingStartEvent, Panel, PcbNoteDimension, PcbNoteLine, PcbNotePath, PcbNoteRect, PcbNoteText, PcbTrace, PcbVia, PinHeader, type PinLabelSpec, Pinout, PlatedHole, Port, Potentiometer, PowerSource, PrimitiveComponent, Project, PushButton, type RenderPhase, type RenderPhaseFn, type RenderPhaseFunctions, type RenderPhaseStates, Renderable, Resistor, Resonator, RootCircuit, type RootCircuitEventName, SOLVERS, SchematicArc, SchematicBox, SchematicCell, SchematicCircle, SchematicLine, SchematicPath, SchematicRect, SchematicRow, SchematicSection, SchematicSheet, SchematicSymbol, SchematicTable, SchematicText, type Sel, SilkscreenCircle, SilkscreenGraphic, SilkscreenLine, SilkscreenPath, SilkscreenRect, SilkscreenText, type SimpleRouteConnection, type SimpleRouteDifferentialPair, type SimpleRouteJson, type SimplifiedPcbTrace, SmtPad, SolderJumper, type SolverName, type SolverStartedEvent, SpiceModel, type SrjConnectionName, Subcircuit, Subpanel, Switch, SymbolComponent as Symbol, TestPoint, Trace, TraceHint, Transistor, Via, VoltageProbe, VoltageSource, analog, applyEditEvents, applyEditEventsToManualEditsFile, applyPcbEditEventsToManualEditsFile, applySchematicEditEventsToManualEditsFile, createUseComponent, enclosure, getPhaseTimingsFromRenderEvents, getSimpleRouteJsonFromCircuitJson, normalizePinLabels, orderedRenderPhases, renderPhaseIndexMap, resolveStaticFileImport, sel, unrouteCircuitJson, useCapacitor, useChip, useDiode, useLed, useRenderedCircuit, useResistor };
|