@tscircuit/core 0.0.1216 → 0.0.1218
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 +118 -4
- package/dist/index.js +131 -5
- package/package.json +5 -4
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as circuit_json from 'circuit-json';
|
|
2
2
|
import { PcbTraceError, PcbPlacementError, PcbManualEditConflictWarning, PcbViaClearanceError, LayerRef, AnyCircuitElement, Size, PcbTraceRoutePoint, AnySourceComponent, PcbComponent, PcbTrace as PcbTrace$1, PcbVia, SchematicPort, SchematicComponent, RouteHintPoint, CircuitJson } from 'circuit-json';
|
|
3
3
|
import * as _tscircuit_props from '@tscircuit/props';
|
|
4
|
-
import { PlatformConfig, traceProps, netProps, subcircuitGroupProps, AutorouterConfig, PcbSx, SupplierPartNumbers, CadModelProp, SchematicPortArrangement, groupProps, boardProps, subcircuitProps, subpanelProps, capacitorProps, chipProps, pinoutProps, diodeProps, fuseProps, jumperProps, interconnectProps, solderjumperProps, ledProps, powerSourceProps, voltageSourceProps, currentSourceProps, resistorProps, constraintProps, 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, smtPadProps, fiducialProps, traceHintProps, viaProps, copperPourProps, copperTextProps, cutoutProps, batteryProps, pinHeaderProps, resonatorProps, inductorProps, potentiometerProps, pushButtonProps, crystalProps, transistorProps, mosfetProps, opampProps, OpAmpPinLabels, switchProps, SwitchProps, testpointProps, schematicTextProps, schematicLineProps, schematicRectProps, schematicArcProps, schematicCircleProps, schematicPathProps, schematicBoxProps, schematicTableProps, schematicRowProps, schematicCellProps, symbolProps, analogSimulationProps, voltageProbeProps, CapacitorProps, ChipProps, DiodeProps, ResistorProps, ManualEditEvent, ManualEditsFile, ChipConnections, manual_edits_file } from '@tscircuit/props';
|
|
4
|
+
import { PlatformConfig, traceProps, netProps, subcircuitGroupProps, AutorouterConfig, PcbSx, SupplierPartNumbers, CadModelProp, SchematicPortArrangement, groupProps, boardProps, subcircuitProps, subpanelProps, capacitorProps, chipProps, pinoutProps, diodeProps, fuseProps, jumperProps, interconnectProps, solderjumperProps, ledProps, powerSourceProps, voltageSourceProps, currentSourceProps, resistorProps, constraintProps, 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, smtPadProps, fiducialProps, traceHintProps, viaProps, copperPourProps, copperTextProps, cutoutProps, batteryProps, pinHeaderProps, resonatorProps, inductorProps, potentiometerProps, pushButtonProps, crystalProps, transistorProps, mosfetProps, opampProps, OpAmpPinLabels, switchProps, SwitchProps, testpointProps, schematicTextProps, schematicLineProps, schematicRectProps, schematicArcProps, schematicCircleProps, schematicPathProps, schematicBoxProps, schematicSectionProps, schematicTableProps, schematicRowProps, schematicCellProps, symbolProps, analogSimulationProps, voltageProbeProps, 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, DetailedHTMLProps, SVGProps } from 'react';
|
|
@@ -14,6 +14,7 @@ import { Matrix } from 'transformation-matrix';
|
|
|
14
14
|
import { PackSolver2 } from 'calculate-packing';
|
|
15
15
|
import { AutoroutingPipelineSolver, AssignableAutoroutingPipeline2, AssignableAutoroutingPipeline3, AutoroutingPipeline1_OriginalUnravel, AutoroutingPipelineSolver3_HgPortPointPathing, AutoroutingPipelineSolver5 } from '@tscircuit/capacity-autorouter';
|
|
16
16
|
import { CopperPourPipelineSolver } from '@tscircuit/copper-pour-solver';
|
|
17
|
+
import { Bounds } from '@tscircuit/math-utils';
|
|
17
18
|
import { ConnectivityMap } from 'circuit-json-to-connectivity-map';
|
|
18
19
|
import { GraphicsObject } from 'graphics-debug';
|
|
19
20
|
|
|
@@ -190,9 +191,9 @@ interface IIsolatedCircuit {
|
|
|
190
191
|
interface IRootCircuit extends IIsolatedCircuit {
|
|
191
192
|
}
|
|
192
193
|
|
|
193
|
-
declare const orderedRenderPhases: readonly ["ReactSubtreesRender", "RenderIsolatedSubcircuits", "InflateSubcircuitCircuitJson", "SourceNameDuplicateComponentRemoval", "PcbFootprintStringRender", "FetchPartFootprint", "InitializePortsFromChildren", "CreateNetsFromProps", "AssignFallbackProps", "CreateTracesFromProps", "CreateTracesFromNetLabels", "CreateTraceHintsFromProps", "SourceGroupRender", "AssignNameToUnnamedComponents", "SourceRender", "SourceComponentPropertyValidation", "SourceParentAttachment", "PortMatching", "OptimizeSelectorCache", "SourceTraceRender", "SourceAddConnectivityMapKey", "SourceDesignRuleChecks", "SimulationRender", "SchematicComponentRender", "SchematicPortRender", "SymbolContainerRender", "SchematicPrimitiveRender", "SchematicSymbolResize", "SchematicComponentSizeCalculation", "SchematicLayout", "SchematicTraceRender", "SchematicReplaceNetLabelsWithSymbols", "PanelBoardLayout", "ValidatePcbCoordinates", "PcbComponentRender", "PcbPrimitiveRender", "PcbFootprintLayout", "PcbPortRender", "PcbPortAttachment", "PcbComponentSizeCalculation", "PcbComponentAnchorAlignment", "PcbCalcPlacementResolution", "PcbLayout", "PcbBoardAutoSize", "PanelLayout", "PcbTraceHintRender", "PcbManualTraceRender", "PcbTraceRender", "PcbRouteNetIslands", "PcbCopperPourRender", "PcbDesignRuleChecks", "SilkscreenOverlapAdjustment", "CadModelRender", "PartsEngineRender", "SupplierFootprintMismatchWarning", "SimulationSpiceEngineRender"];
|
|
194
|
+
declare const orderedRenderPhases: readonly ["ReactSubtreesRender", "RenderIsolatedSubcircuits", "InflateSubcircuitCircuitJson", "SourceNameDuplicateComponentRemoval", "PcbFootprintStringRender", "FetchPartFootprint", "InitializePortsFromChildren", "CreateNetsFromProps", "AssignFallbackProps", "CreateTracesFromProps", "CreateTracesFromNetLabels", "CreateTraceHintsFromProps", "SourceGroupRender", "AssignNameToUnnamedComponents", "SourceRender", "SourceComponentPropertyValidation", "SourceParentAttachment", "PortMatching", "OptimizeSelectorCache", "SourceTraceRender", "SourceAddConnectivityMapKey", "SourceDesignRuleChecks", "SimulationRender", "SchematicComponentRender", "SchematicPortRender", "SymbolContainerRender", "SchematicPrimitiveRender", "SchematicSymbolResize", "SchematicComponentSizeCalculation", "SchematicLayout", "SchematicSectionRender", "SchematicTraceRender", "SchematicReplaceNetLabelsWithSymbols", "PanelBoardLayout", "ValidatePcbCoordinates", "PcbComponentRender", "PcbPrimitiveRender", "PcbFootprintLayout", "PcbPortRender", "PcbPortAttachment", "PcbComponentSizeCalculation", "PcbComponentAnchorAlignment", "PcbCalcPlacementResolution", "PcbLayout", "PcbBoardAutoSize", "PanelLayout", "PcbTraceHintRender", "PcbManualTraceRender", "PcbTraceRender", "PcbRouteNetIslands", "PcbCopperPourRender", "PcbDesignRuleChecks", "SilkscreenOverlapAdjustment", "CadModelRender", "PartsEngineRender", "SupplierFootprintMismatchWarning", "SimulationSpiceEngineRender"];
|
|
194
195
|
type RenderPhase = (typeof orderedRenderPhases)[number];
|
|
195
|
-
declare const renderPhaseIndexMap: Map<"ReactSubtreesRender" | "RenderIsolatedSubcircuits" | "InflateSubcircuitCircuitJson" | "SourceNameDuplicateComponentRemoval" | "PcbFootprintStringRender" | "FetchPartFootprint" | "InitializePortsFromChildren" | "CreateNetsFromProps" | "AssignFallbackProps" | "CreateTracesFromProps" | "CreateTracesFromNetLabels" | "CreateTraceHintsFromProps" | "SourceGroupRender" | "AssignNameToUnnamedComponents" | "SourceRender" | "SourceComponentPropertyValidation" | "SourceParentAttachment" | "PortMatching" | "OptimizeSelectorCache" | "SourceTraceRender" | "SourceAddConnectivityMapKey" | "SourceDesignRuleChecks" | "SimulationRender" | "SchematicComponentRender" | "SchematicPortRender" | "SymbolContainerRender" | "SchematicPrimitiveRender" | "SchematicSymbolResize" | "SchematicComponentSizeCalculation" | "SchematicLayout" | "SchematicTraceRender" | "SchematicReplaceNetLabelsWithSymbols" | "PanelBoardLayout" | "ValidatePcbCoordinates" | "PcbComponentRender" | "PcbPrimitiveRender" | "PcbFootprintLayout" | "PcbPortRender" | "PcbPortAttachment" | "PcbComponentSizeCalculation" | "PcbComponentAnchorAlignment" | "PcbCalcPlacementResolution" | "PcbLayout" | "PcbBoardAutoSize" | "PanelLayout" | "PcbTraceHintRender" | "PcbManualTraceRender" | "PcbTraceRender" | "PcbRouteNetIslands" | "PcbCopperPourRender" | "PcbDesignRuleChecks" | "SilkscreenOverlapAdjustment" | "CadModelRender" | "PartsEngineRender" | "SupplierFootprintMismatchWarning" | "SimulationSpiceEngineRender", number>;
|
|
196
|
+
declare const renderPhaseIndexMap: Map<"ReactSubtreesRender" | "RenderIsolatedSubcircuits" | "InflateSubcircuitCircuitJson" | "SourceNameDuplicateComponentRemoval" | "PcbFootprintStringRender" | "FetchPartFootprint" | "InitializePortsFromChildren" | "CreateNetsFromProps" | "AssignFallbackProps" | "CreateTracesFromProps" | "CreateTracesFromNetLabels" | "CreateTraceHintsFromProps" | "SourceGroupRender" | "AssignNameToUnnamedComponents" | "SourceRender" | "SourceComponentPropertyValidation" | "SourceParentAttachment" | "PortMatching" | "OptimizeSelectorCache" | "SourceTraceRender" | "SourceAddConnectivityMapKey" | "SourceDesignRuleChecks" | "SimulationRender" | "SchematicComponentRender" | "SchematicPortRender" | "SymbolContainerRender" | "SchematicPrimitiveRender" | "SchematicSymbolResize" | "SchematicComponentSizeCalculation" | "SchematicLayout" | "SchematicSectionRender" | "SchematicTraceRender" | "SchematicReplaceNetLabelsWithSymbols" | "PanelBoardLayout" | "ValidatePcbCoordinates" | "PcbComponentRender" | "PcbPrimitiveRender" | "PcbFootprintLayout" | "PcbPortRender" | "PcbPortAttachment" | "PcbComponentSizeCalculation" | "PcbComponentAnchorAlignment" | "PcbCalcPlacementResolution" | "PcbLayout" | "PcbBoardAutoSize" | "PanelLayout" | "PcbTraceHintRender" | "PcbManualTraceRender" | "PcbTraceRender" | "PcbRouteNetIslands" | "PcbCopperPourRender" | "PcbDesignRuleChecks" | "SilkscreenOverlapAdjustment" | "CadModelRender" | "PartsEngineRender" | "SupplierFootprintMismatchWarning" | "SimulationSpiceEngineRender", number>;
|
|
196
197
|
type RenderPhaseFn<K extends RenderPhase = RenderPhase> = `doInitial${K}` | `update${K}` | `remove${K}`;
|
|
197
198
|
type RenderPhaseStates = Record<RenderPhase, {
|
|
198
199
|
initialized: boolean;
|
|
@@ -7842,6 +7843,7 @@ declare class Capacitor extends NormalComponent<typeof capacitorProps, Polarized
|
|
|
7842
7843
|
key: zod.ZodOptional<zod.ZodAny>;
|
|
7843
7844
|
name: zod.ZodString;
|
|
7844
7845
|
displayName: zod.ZodOptional<zod.ZodString>;
|
|
7846
|
+
schSectionName: zod.ZodOptional<zod.ZodString>;
|
|
7845
7847
|
datasheetUrl: zod.ZodOptional<zod.ZodType<string, zod.ZodTypeDef, string>>;
|
|
7846
7848
|
cadModel: zod.ZodOptional<zod.ZodUnion<[zod.ZodNull, zod.ZodType<string, zod.ZodTypeDef, string>, zod.ZodType<react.ReactElement<any, string | react.JSXElementConstructor<any>>, zod.ZodTypeDef, react.ReactElement<any, string | react.JSXElementConstructor<any>>>, zod.ZodObject<{
|
|
7847
7849
|
rotationOffset: zod.ZodOptional<zod.ZodUnion<[zod.ZodNumber, zod.ZodObject<{
|
|
@@ -11698,6 +11700,7 @@ declare class Capacitor extends NormalComponent<typeof capacitorProps, Polarized
|
|
|
11698
11700
|
obstructsWithinBounds?: boolean | undefined;
|
|
11699
11701
|
mfn?: string | undefined;
|
|
11700
11702
|
manufacturerPartNumber?: string | undefined;
|
|
11703
|
+
schSectionName?: string | undefined;
|
|
11701
11704
|
connections?: Partial<Record<"pin1" | "pin2" | "anode" | "pos" | "cathode" | "neg", string | readonly string[] | string[]>> | undefined;
|
|
11702
11705
|
schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
|
|
11703
11706
|
schSize?: number | "default" | "xs" | "sm" | "md" | undefined;
|
|
@@ -12286,6 +12289,7 @@ declare class Capacitor extends NormalComponent<typeof capacitorProps, Polarized
|
|
|
12286
12289
|
obstructsWithinBounds?: boolean | undefined;
|
|
12287
12290
|
mfn?: string | undefined;
|
|
12288
12291
|
manufacturerPartNumber?: string | undefined;
|
|
12292
|
+
schSectionName?: string | undefined;
|
|
12289
12293
|
connections?: Partial<Record<"pin1" | "pin2" | "anode" | "pos" | "cathode" | "neg", string | readonly string[] | string[]>> | undefined;
|
|
12290
12294
|
schShowRatings?: boolean | undefined;
|
|
12291
12295
|
schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
|
|
@@ -12403,6 +12407,7 @@ declare class Chip<PinLabels extends string = never> extends NormalComponent<typ
|
|
|
12403
12407
|
key: z.ZodOptional<z.ZodAny>;
|
|
12404
12408
|
name: z.ZodString;
|
|
12405
12409
|
displayName: z.ZodOptional<z.ZodString>;
|
|
12410
|
+
schSectionName: z.ZodOptional<z.ZodString>;
|
|
12406
12411
|
datasheetUrl: z.ZodOptional<z.ZodType<string, z.ZodTypeDef, string>>;
|
|
12407
12412
|
cadModel: z.ZodOptional<z.ZodUnion<[z.ZodNull, z.ZodType<string, z.ZodTypeDef, string>, z.ZodType<react.ReactElement<any, string | react.JSXElementConstructor<any>>, z.ZodTypeDef, react.ReactElement<any, string | react.JSXElementConstructor<any>>>, z.ZodObject<{
|
|
12408
12413
|
rotationOffset: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
|
|
@@ -16541,6 +16546,7 @@ declare class Chip<PinLabels extends string = never> extends NormalComponent<typ
|
|
|
16541
16546
|
obstructsWithinBounds?: boolean | undefined;
|
|
16542
16547
|
mfn?: string | undefined;
|
|
16543
16548
|
manufacturerPartNumber?: string | undefined;
|
|
16549
|
+
schSectionName?: string | undefined;
|
|
16544
16550
|
connections?: Record<string, string | readonly string[] | string[]> | undefined;
|
|
16545
16551
|
schPinArrangement?: {
|
|
16546
16552
|
leftSize?: number | undefined;
|
|
@@ -17196,6 +17202,7 @@ declare class Chip<PinLabels extends string = never> extends NormalComponent<typ
|
|
|
17196
17202
|
obstructsWithinBounds?: boolean | undefined;
|
|
17197
17203
|
mfn?: string | undefined;
|
|
17198
17204
|
manufacturerPartNumber?: string | undefined;
|
|
17205
|
+
schSectionName?: string | undefined;
|
|
17199
17206
|
connections?: Partial<Record<string, string | string[] | readonly string[]>> | undefined;
|
|
17200
17207
|
schPinArrangement?: {
|
|
17201
17208
|
leftSize?: number | undefined;
|
|
@@ -17379,6 +17386,7 @@ declare class Pinout<PinLabels extends string = never> extends Chip<PinLabels> {
|
|
|
17379
17386
|
key: z.ZodOptional<z.ZodAny>;
|
|
17380
17387
|
name: z.ZodString;
|
|
17381
17388
|
displayName: z.ZodOptional<z.ZodString>;
|
|
17389
|
+
schSectionName: z.ZodOptional<z.ZodString>;
|
|
17382
17390
|
datasheetUrl: z.ZodOptional<z.ZodType<string, z.ZodTypeDef, string>>;
|
|
17383
17391
|
cadModel: z.ZodOptional<z.ZodUnion<[z.ZodNull, z.ZodType<string, z.ZodTypeDef, string>, z.ZodType<react.ReactElement<any, string | react.JSXElementConstructor<any>>, z.ZodTypeDef, react.ReactElement<any, string | react.JSXElementConstructor<any>>>, z.ZodObject<{
|
|
17384
17392
|
rotationOffset: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
|
|
@@ -21517,6 +21525,7 @@ declare class Pinout<PinLabels extends string = never> extends Chip<PinLabels> {
|
|
|
21517
21525
|
obstructsWithinBounds?: boolean | undefined;
|
|
21518
21526
|
mfn?: string | undefined;
|
|
21519
21527
|
manufacturerPartNumber?: string | undefined;
|
|
21528
|
+
schSectionName?: string | undefined;
|
|
21520
21529
|
connections?: Record<string, string | readonly string[] | string[]> | undefined;
|
|
21521
21530
|
schPinArrangement?: {
|
|
21522
21531
|
leftSize?: number | undefined;
|
|
@@ -22172,6 +22181,7 @@ declare class Pinout<PinLabels extends string = never> extends Chip<PinLabels> {
|
|
|
22172
22181
|
obstructsWithinBounds?: boolean | undefined;
|
|
22173
22182
|
mfn?: string | undefined;
|
|
22174
22183
|
manufacturerPartNumber?: string | undefined;
|
|
22184
|
+
schSectionName?: string | undefined;
|
|
22175
22185
|
connections?: Partial<Record<string, string | string[] | readonly string[]>> | undefined;
|
|
22176
22186
|
schPinArrangement?: {
|
|
22177
22187
|
leftSize?: number | undefined;
|
|
@@ -22352,6 +22362,7 @@ declare class Diode extends NormalComponent<typeof diodeProps, PolarizedPassiveP
|
|
|
22352
22362
|
key: zod.ZodOptional<zod.ZodAny>;
|
|
22353
22363
|
name: zod.ZodString;
|
|
22354
22364
|
displayName: zod.ZodOptional<zod.ZodString>;
|
|
22365
|
+
schSectionName: zod.ZodOptional<zod.ZodString>;
|
|
22355
22366
|
datasheetUrl: zod.ZodOptional<zod.ZodType<string, zod.ZodTypeDef, string>>;
|
|
22356
22367
|
cadModel: zod.ZodOptional<zod.ZodUnion<[zod.ZodNull, zod.ZodType<string, zod.ZodTypeDef, string>, zod.ZodType<react.ReactElement<any, string | react.JSXElementConstructor<any>>, zod.ZodTypeDef, react.ReactElement<any, string | react.JSXElementConstructor<any>>>, zod.ZodObject<{
|
|
22357
22368
|
rotationOffset: zod.ZodOptional<zod.ZodUnion<[zod.ZodNumber, zod.ZodObject<{
|
|
@@ -26203,6 +26214,7 @@ declare class Diode extends NormalComponent<typeof diodeProps, PolarizedPassiveP
|
|
|
26203
26214
|
obstructsWithinBounds?: boolean | undefined;
|
|
26204
26215
|
mfn?: string | undefined;
|
|
26205
26216
|
manufacturerPartNumber?: string | undefined;
|
|
26217
|
+
schSectionName?: string | undefined;
|
|
26206
26218
|
connections?: Partial<Record<"pin1" | "pin2" | "anode" | "pos" | "cathode" | "neg", string | readonly string[] | string[]>> | undefined;
|
|
26207
26219
|
standard?: boolean | undefined;
|
|
26208
26220
|
schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
|
|
@@ -26789,6 +26801,7 @@ declare class Diode extends NormalComponent<typeof diodeProps, PolarizedPassiveP
|
|
|
26789
26801
|
obstructsWithinBounds?: boolean | undefined;
|
|
26790
26802
|
mfn?: string | undefined;
|
|
26791
26803
|
manufacturerPartNumber?: string | undefined;
|
|
26804
|
+
schSectionName?: string | undefined;
|
|
26792
26805
|
connections?: Partial<Record<"pin1" | "pin2" | "anode" | "pos" | "cathode" | "neg", string | readonly string[] | string[]>> | undefined;
|
|
26793
26806
|
standard?: boolean | undefined;
|
|
26794
26807
|
schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
|
|
@@ -27375,6 +27388,7 @@ declare class Diode extends NormalComponent<typeof diodeProps, PolarizedPassiveP
|
|
|
27375
27388
|
obstructsWithinBounds?: boolean | undefined;
|
|
27376
27389
|
mfn?: string | undefined;
|
|
27377
27390
|
manufacturerPartNumber?: string | undefined;
|
|
27391
|
+
schSectionName?: string | undefined;
|
|
27378
27392
|
connections?: Partial<Record<"pin1" | "pin2" | "anode" | "pos" | "cathode" | "neg", string | readonly string[] | string[]>> | undefined;
|
|
27379
27393
|
standard?: boolean | undefined;
|
|
27380
27394
|
schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
|
|
@@ -27961,6 +27975,7 @@ declare class Diode extends NormalComponent<typeof diodeProps, PolarizedPassiveP
|
|
|
27961
27975
|
obstructsWithinBounds?: boolean | undefined;
|
|
27962
27976
|
mfn?: string | undefined;
|
|
27963
27977
|
manufacturerPartNumber?: string | undefined;
|
|
27978
|
+
schSectionName?: string | undefined;
|
|
27964
27979
|
connections?: Partial<Record<"pin1" | "pin2" | "anode" | "pos" | "cathode" | "neg", string | readonly string[] | string[]>> | undefined;
|
|
27965
27980
|
standard?: boolean | undefined;
|
|
27966
27981
|
schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
|
|
@@ -28553,6 +28568,7 @@ declare class Diode extends NormalComponent<typeof diodeProps, PolarizedPassiveP
|
|
|
28553
28568
|
obstructsWithinBounds?: boolean | undefined;
|
|
28554
28569
|
mfn?: string | undefined;
|
|
28555
28570
|
manufacturerPartNumber?: string | undefined;
|
|
28571
|
+
schSectionName?: string | undefined;
|
|
28556
28572
|
connections?: Partial<Record<"pin1" | "pin2" | "anode" | "pos" | "cathode" | "neg", string | readonly string[] | string[]>> | undefined;
|
|
28557
28573
|
schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
|
|
28558
28574
|
}, {
|
|
@@ -29133,6 +29149,7 @@ declare class Diode extends NormalComponent<typeof diodeProps, PolarizedPassiveP
|
|
|
29133
29149
|
obstructsWithinBounds?: boolean | undefined;
|
|
29134
29150
|
mfn?: string | undefined;
|
|
29135
29151
|
manufacturerPartNumber?: string | undefined;
|
|
29152
|
+
schSectionName?: string | undefined;
|
|
29136
29153
|
connections?: Partial<Record<"pin1" | "pin2" | "anode" | "pos" | "cathode" | "neg", string | readonly string[] | string[]>> | undefined;
|
|
29137
29154
|
standard?: boolean | undefined;
|
|
29138
29155
|
schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
|
|
@@ -29250,6 +29267,7 @@ declare class Fuse extends NormalComponent<typeof fuseProps, PassivePorts> {
|
|
|
29250
29267
|
key: zod.ZodOptional<zod.ZodAny>;
|
|
29251
29268
|
name: zod.ZodString;
|
|
29252
29269
|
displayName: zod.ZodOptional<zod.ZodString>;
|
|
29270
|
+
schSectionName: zod.ZodOptional<zod.ZodString>;
|
|
29253
29271
|
datasheetUrl: zod.ZodOptional<zod.ZodType<string, zod.ZodTypeDef, string>>;
|
|
29254
29272
|
cadModel: zod.ZodOptional<zod.ZodUnion<[zod.ZodNull, zod.ZodType<string, zod.ZodTypeDef, string>, zod.ZodType<react.ReactElement<any, string | react.JSXElementConstructor<any>>, zod.ZodTypeDef, react.ReactElement<any, string | react.JSXElementConstructor<any>>>, zod.ZodObject<{
|
|
29255
29273
|
rotationOffset: zod.ZodOptional<zod.ZodUnion<[zod.ZodNumber, zod.ZodObject<{
|
|
@@ -33097,6 +33115,7 @@ declare class Fuse extends NormalComponent<typeof fuseProps, PassivePorts> {
|
|
|
33097
33115
|
obstructsWithinBounds?: boolean | undefined;
|
|
33098
33116
|
mfn?: string | undefined;
|
|
33099
33117
|
manufacturerPartNumber?: string | undefined;
|
|
33118
|
+
schSectionName?: string | undefined;
|
|
33100
33119
|
connections?: Record<string, string | readonly string[] | string[]> | undefined;
|
|
33101
33120
|
voltageRating?: string | number | undefined;
|
|
33102
33121
|
schShowRatings?: boolean | undefined;
|
|
@@ -33680,6 +33699,7 @@ declare class Fuse extends NormalComponent<typeof fuseProps, PassivePorts> {
|
|
|
33680
33699
|
obstructsWithinBounds?: boolean | undefined;
|
|
33681
33700
|
mfn?: string | undefined;
|
|
33682
33701
|
manufacturerPartNumber?: string | undefined;
|
|
33702
|
+
schSectionName?: string | undefined;
|
|
33683
33703
|
connections?: Record<string, string | readonly string[] | string[]> | undefined;
|
|
33684
33704
|
voltageRating?: string | number | undefined;
|
|
33685
33705
|
schShowRatings?: boolean | undefined;
|
|
@@ -33787,6 +33807,7 @@ declare class Jumper<PinLabels extends string = never> extends NormalComponent<t
|
|
|
33787
33807
|
key: zod.ZodOptional<zod.ZodAny>;
|
|
33788
33808
|
name: zod.ZodString;
|
|
33789
33809
|
displayName: zod.ZodOptional<zod.ZodString>;
|
|
33810
|
+
schSectionName: zod.ZodOptional<zod.ZodString>;
|
|
33790
33811
|
datasheetUrl: zod.ZodOptional<zod.ZodType<string, zod.ZodTypeDef, string>>;
|
|
33791
33812
|
cadModel: zod.ZodOptional<zod.ZodUnion<[zod.ZodNull, zod.ZodType<string, zod.ZodTypeDef, string>, zod.ZodType<react.ReactElement<any, string | react.JSXElementConstructor<any>>, zod.ZodTypeDef, react.ReactElement<any, string | react.JSXElementConstructor<any>>>, zod.ZodObject<{
|
|
33792
33813
|
rotationOffset: zod.ZodOptional<zod.ZodUnion<[zod.ZodNumber, zod.ZodObject<{
|
|
@@ -37913,6 +37934,7 @@ declare class Jumper<PinLabels extends string = never> extends NormalComponent<t
|
|
|
37913
37934
|
obstructsWithinBounds?: boolean | undefined;
|
|
37914
37935
|
mfn?: string | undefined;
|
|
37915
37936
|
manufacturerPartNumber?: string | undefined;
|
|
37937
|
+
schSectionName?: string | undefined;
|
|
37916
37938
|
connections?: Record<string, string | readonly string[] | string[]> | undefined;
|
|
37917
37939
|
schPinArrangement?: {
|
|
37918
37940
|
leftSize?: number | undefined;
|
|
@@ -38562,6 +38584,7 @@ declare class Jumper<PinLabels extends string = never> extends NormalComponent<t
|
|
|
38562
38584
|
obstructsWithinBounds?: boolean | undefined;
|
|
38563
38585
|
mfn?: string | undefined;
|
|
38564
38586
|
manufacturerPartNumber?: string | undefined;
|
|
38587
|
+
schSectionName?: string | undefined;
|
|
38565
38588
|
connections?: Partial<Record<string, string | string[] | readonly string[]>> | undefined;
|
|
38566
38589
|
schPinArrangement?: {
|
|
38567
38590
|
leftSize?: number | undefined;
|
|
@@ -38738,6 +38761,7 @@ declare class Interconnect extends NormalComponent<typeof interconnectProps> {
|
|
|
38738
38761
|
key: zod.ZodOptional<zod.ZodAny>;
|
|
38739
38762
|
name: zod.ZodString;
|
|
38740
38763
|
displayName: zod.ZodOptional<zod.ZodString>;
|
|
38764
|
+
schSectionName: zod.ZodOptional<zod.ZodString>;
|
|
38741
38765
|
datasheetUrl: zod.ZodOptional<zod.ZodType<string, zod.ZodTypeDef, string>>;
|
|
38742
38766
|
cadModel: zod.ZodOptional<zod.ZodUnion<[zod.ZodNull, zod.ZodType<string, zod.ZodTypeDef, string>, zod.ZodType<react.ReactElement<any, string | react.JSXElementConstructor<any>>, zod.ZodTypeDef, react.ReactElement<any, string | react.JSXElementConstructor<any>>>, zod.ZodObject<{
|
|
38743
38767
|
rotationOffset: zod.ZodOptional<zod.ZodUnion<[zod.ZodNumber, zod.ZodObject<{
|
|
@@ -42582,6 +42606,7 @@ declare class Interconnect extends NormalComponent<typeof interconnectProps> {
|
|
|
42582
42606
|
obstructsWithinBounds?: boolean | undefined;
|
|
42583
42607
|
mfn?: string | undefined;
|
|
42584
42608
|
manufacturerPartNumber?: string | undefined;
|
|
42609
|
+
schSectionName?: string | undefined;
|
|
42585
42610
|
pinLabels?: Record<string | number, string | string[]> | undefined;
|
|
42586
42611
|
internallyConnectedPins?: (string | number)[][] | undefined;
|
|
42587
42612
|
standard?: "0603" | "0805" | "1206" | "TSC0001_36P_XALT_2025_11" | undefined;
|
|
@@ -43163,6 +43188,7 @@ declare class Interconnect extends NormalComponent<typeof interconnectProps> {
|
|
|
43163
43188
|
obstructsWithinBounds?: boolean | undefined;
|
|
43164
43189
|
mfn?: string | undefined;
|
|
43165
43190
|
manufacturerPartNumber?: string | undefined;
|
|
43191
|
+
schSectionName?: string | undefined;
|
|
43166
43192
|
pinLabels?: Record<string | number, string | string[]> | undefined;
|
|
43167
43193
|
internallyConnectedPins?: (string | number)[][] | undefined;
|
|
43168
43194
|
standard?: "0603" | "0805" | "1206" | "TSC0001_36P_XALT_2025_11" | undefined;
|
|
@@ -43283,6 +43309,7 @@ declare class SolderJumper<PinLabels extends string = never> extends NormalCompo
|
|
|
43283
43309
|
key: zod.ZodOptional<zod.ZodAny>;
|
|
43284
43310
|
name: zod.ZodString;
|
|
43285
43311
|
displayName: zod.ZodOptional<zod.ZodString>;
|
|
43312
|
+
schSectionName: zod.ZodOptional<zod.ZodString>;
|
|
43286
43313
|
datasheetUrl: zod.ZodOptional<zod.ZodType<string, zod.ZodTypeDef, string>>;
|
|
43287
43314
|
cadModel: zod.ZodOptional<zod.ZodUnion<[zod.ZodNull, zod.ZodType<string, zod.ZodTypeDef, string>, zod.ZodType<react.ReactElement<any, string | react.JSXElementConstructor<any>>, zod.ZodTypeDef, react.ReactElement<any, string | react.JSXElementConstructor<any>>>, zod.ZodObject<{
|
|
43288
43315
|
rotationOffset: zod.ZodOptional<zod.ZodUnion<[zod.ZodNumber, zod.ZodObject<{
|
|
@@ -47412,6 +47439,7 @@ declare class SolderJumper<PinLabels extends string = never> extends NormalCompo
|
|
|
47412
47439
|
obstructsWithinBounds?: boolean | undefined;
|
|
47413
47440
|
mfn?: string | undefined;
|
|
47414
47441
|
manufacturerPartNumber?: string | undefined;
|
|
47442
|
+
schSectionName?: string | undefined;
|
|
47415
47443
|
connections?: Record<string, string | readonly string[] | string[]> | undefined;
|
|
47416
47444
|
schPinArrangement?: {
|
|
47417
47445
|
leftSize?: number | undefined;
|
|
@@ -48063,6 +48091,7 @@ declare class SolderJumper<PinLabels extends string = never> extends NormalCompo
|
|
|
48063
48091
|
obstructsWithinBounds?: boolean | undefined;
|
|
48064
48092
|
mfn?: string | undefined;
|
|
48065
48093
|
manufacturerPartNumber?: string | undefined;
|
|
48094
|
+
schSectionName?: string | undefined;
|
|
48066
48095
|
connections?: Partial<Record<string, string | string[] | readonly string[]>> | undefined;
|
|
48067
48096
|
schPinArrangement?: {
|
|
48068
48097
|
leftSize?: number | undefined;
|
|
@@ -48242,6 +48271,7 @@ declare class Led extends NormalComponent<typeof ledProps, PolarizedPassivePorts
|
|
|
48242
48271
|
key: zod.ZodOptional<zod.ZodAny>;
|
|
48243
48272
|
name: zod.ZodString;
|
|
48244
48273
|
displayName: zod.ZodOptional<zod.ZodString>;
|
|
48274
|
+
schSectionName: zod.ZodOptional<zod.ZodString>;
|
|
48245
48275
|
datasheetUrl: zod.ZodOptional<zod.ZodType<string, zod.ZodTypeDef, string>>;
|
|
48246
48276
|
cadModel: zod.ZodOptional<zod.ZodUnion<[zod.ZodNull, zod.ZodType<string, zod.ZodTypeDef, string>, zod.ZodType<react.ReactElement<any, string | react.JSXElementConstructor<any>>, zod.ZodTypeDef, react.ReactElement<any, string | react.JSXElementConstructor<any>>>, zod.ZodObject<{
|
|
48247
48277
|
rotationOffset: zod.ZodOptional<zod.ZodUnion<[zod.ZodNumber, zod.ZodObject<{
|
|
@@ -52089,6 +52119,7 @@ declare class Led extends NormalComponent<typeof ledProps, PolarizedPassivePorts
|
|
|
52089
52119
|
obstructsWithinBounds?: boolean | undefined;
|
|
52090
52120
|
mfn?: string | undefined;
|
|
52091
52121
|
manufacturerPartNumber?: string | undefined;
|
|
52122
|
+
schSectionName?: string | undefined;
|
|
52092
52123
|
connections?: Partial<Record<"left" | "right" | "pin1" | "pin2" | "anode" | "pos" | "cathode" | "neg", string | readonly string[] | string[]>> | undefined;
|
|
52093
52124
|
schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
|
|
52094
52125
|
color?: string | undefined;
|
|
@@ -52673,6 +52704,7 @@ declare class Led extends NormalComponent<typeof ledProps, PolarizedPassivePorts
|
|
|
52673
52704
|
obstructsWithinBounds?: boolean | undefined;
|
|
52674
52705
|
mfn?: string | undefined;
|
|
52675
52706
|
manufacturerPartNumber?: string | undefined;
|
|
52707
|
+
schSectionName?: string | undefined;
|
|
52676
52708
|
connections?: Partial<Record<"left" | "right" | "pin1" | "pin2" | "anode" | "pos" | "cathode" | "neg", string | readonly string[] | string[]>> | undefined;
|
|
52677
52709
|
schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
|
|
52678
52710
|
color?: string | undefined;
|
|
@@ -52789,6 +52821,7 @@ declare class PowerSource extends NormalComponent<typeof powerSourceProps, Polar
|
|
|
52789
52821
|
key: zod.ZodOptional<zod.ZodAny>;
|
|
52790
52822
|
name: zod.ZodString;
|
|
52791
52823
|
displayName: zod.ZodOptional<zod.ZodString>;
|
|
52824
|
+
schSectionName: zod.ZodOptional<zod.ZodString>;
|
|
52792
52825
|
datasheetUrl: zod.ZodOptional<zod.ZodType<string, zod.ZodTypeDef, string>>;
|
|
52793
52826
|
cadModel: zod.ZodOptional<zod.ZodUnion<[zod.ZodNull, zod.ZodType<string, zod.ZodTypeDef, string>, zod.ZodType<react.ReactElement<any, string | react.JSXElementConstructor<any>>, zod.ZodTypeDef, react.ReactElement<any, string | react.JSXElementConstructor<any>>>, zod.ZodObject<{
|
|
52794
52827
|
rotationOffset: zod.ZodOptional<zod.ZodUnion<[zod.ZodNumber, zod.ZodObject<{
|
|
@@ -56632,6 +56665,7 @@ declare class PowerSource extends NormalComponent<typeof powerSourceProps, Polar
|
|
|
56632
56665
|
obstructsWithinBounds?: boolean | undefined;
|
|
56633
56666
|
mfn?: string | undefined;
|
|
56634
56667
|
manufacturerPartNumber?: string | undefined;
|
|
56668
|
+
schSectionName?: string | undefined;
|
|
56635
56669
|
}, {
|
|
56636
56670
|
name: string;
|
|
56637
56671
|
voltage: string | number;
|
|
@@ -57211,6 +57245,7 @@ declare class PowerSource extends NormalComponent<typeof powerSourceProps, Polar
|
|
|
57211
57245
|
obstructsWithinBounds?: boolean | undefined;
|
|
57212
57246
|
mfn?: string | undefined;
|
|
57213
57247
|
manufacturerPartNumber?: string | undefined;
|
|
57248
|
+
schSectionName?: string | undefined;
|
|
57214
57249
|
}>;
|
|
57215
57250
|
sourceFtype: Ftype;
|
|
57216
57251
|
};
|
|
@@ -57319,6 +57354,7 @@ declare class VoltageSource extends NormalComponent<typeof voltageSourceProps, "
|
|
|
57319
57354
|
key: zod.ZodOptional<zod.ZodAny>;
|
|
57320
57355
|
name: zod.ZodString;
|
|
57321
57356
|
displayName: zod.ZodOptional<zod.ZodString>;
|
|
57357
|
+
schSectionName: zod.ZodOptional<zod.ZodString>;
|
|
57322
57358
|
datasheetUrl: zod.ZodOptional<zod.ZodType<string, zod.ZodTypeDef, string>>;
|
|
57323
57359
|
cadModel: zod.ZodOptional<zod.ZodUnion<[zod.ZodNull, zod.ZodType<string, zod.ZodTypeDef, string>, zod.ZodType<react.ReactElement<any, string | react.JSXElementConstructor<any>>, zod.ZodTypeDef, react.ReactElement<any, string | react.JSXElementConstructor<any>>>, zod.ZodObject<{
|
|
57324
57360
|
rotationOffset: zod.ZodOptional<zod.ZodUnion<[zod.ZodNumber, zod.ZodObject<{
|
|
@@ -61167,6 +61203,7 @@ declare class VoltageSource extends NormalComponent<typeof voltageSourceProps, "
|
|
|
61167
61203
|
obstructsWithinBounds?: boolean | undefined;
|
|
61168
61204
|
mfn?: string | undefined;
|
|
61169
61205
|
manufacturerPartNumber?: string | undefined;
|
|
61206
|
+
schSectionName?: string | undefined;
|
|
61170
61207
|
connections?: Partial<Record<"pin1" | "pin2" | "pos" | "neg", string | readonly string[] | string[]>> | undefined;
|
|
61171
61208
|
frequency?: number | undefined;
|
|
61172
61209
|
voltage?: number | undefined;
|
|
@@ -61752,6 +61789,7 @@ declare class VoltageSource extends NormalComponent<typeof voltageSourceProps, "
|
|
|
61752
61789
|
obstructsWithinBounds?: boolean | undefined;
|
|
61753
61790
|
mfn?: string | undefined;
|
|
61754
61791
|
manufacturerPartNumber?: string | undefined;
|
|
61792
|
+
schSectionName?: string | undefined;
|
|
61755
61793
|
connections?: Partial<Record<"pin1" | "pin2" | "pos" | "neg", string | readonly string[] | string[]>> | undefined;
|
|
61756
61794
|
frequency?: string | number | undefined;
|
|
61757
61795
|
voltage?: string | number | undefined;
|
|
@@ -61869,6 +61907,7 @@ declare class CurrentSource extends NormalComponent<typeof currentSourceProps, "
|
|
|
61869
61907
|
key: zod.ZodOptional<zod.ZodAny>;
|
|
61870
61908
|
name: zod.ZodString;
|
|
61871
61909
|
displayName: zod.ZodOptional<zod.ZodString>;
|
|
61910
|
+
schSectionName: zod.ZodOptional<zod.ZodString>;
|
|
61872
61911
|
datasheetUrl: zod.ZodOptional<zod.ZodType<string, zod.ZodTypeDef, string>>;
|
|
61873
61912
|
cadModel: zod.ZodOptional<zod.ZodUnion<[zod.ZodNull, zod.ZodType<string, zod.ZodTypeDef, string>, zod.ZodType<react.ReactElement<any, string | react.JSXElementConstructor<any>>, zod.ZodTypeDef, react.ReactElement<any, string | react.JSXElementConstructor<any>>>, zod.ZodObject<{
|
|
61874
61913
|
rotationOffset: zod.ZodOptional<zod.ZodUnion<[zod.ZodNumber, zod.ZodObject<{
|
|
@@ -65717,6 +65756,7 @@ declare class CurrentSource extends NormalComponent<typeof currentSourceProps, "
|
|
|
65717
65756
|
obstructsWithinBounds?: boolean | undefined;
|
|
65718
65757
|
mfn?: string | undefined;
|
|
65719
65758
|
manufacturerPartNumber?: string | undefined;
|
|
65759
|
+
schSectionName?: string | undefined;
|
|
65720
65760
|
connections?: Partial<Record<"pin1" | "pin2" | "pos" | "neg", string | readonly string[] | string[]>> | undefined;
|
|
65721
65761
|
frequency?: number | undefined;
|
|
65722
65762
|
waveShape?: "square" | "sinewave" | "triangle" | "sawtooth" | undefined;
|
|
@@ -66302,6 +66342,7 @@ declare class CurrentSource extends NormalComponent<typeof currentSourceProps, "
|
|
|
66302
66342
|
obstructsWithinBounds?: boolean | undefined;
|
|
66303
66343
|
mfn?: string | undefined;
|
|
66304
66344
|
manufacturerPartNumber?: string | undefined;
|
|
66345
|
+
schSectionName?: string | undefined;
|
|
66305
66346
|
connections?: Partial<Record<"pin1" | "pin2" | "pos" | "neg", string | readonly string[] | string[]>> | undefined;
|
|
66306
66347
|
frequency?: string | number | undefined;
|
|
66307
66348
|
waveShape?: "square" | "sinewave" | "triangle" | "sawtooth" | undefined;
|
|
@@ -66420,6 +66461,7 @@ declare class Resistor extends NormalComponent<typeof resistorProps, PassivePort
|
|
|
66420
66461
|
key: zod.ZodOptional<zod.ZodAny>;
|
|
66421
66462
|
name: zod.ZodString;
|
|
66422
66463
|
displayName: zod.ZodOptional<zod.ZodString>;
|
|
66464
|
+
schSectionName: zod.ZodOptional<zod.ZodString>;
|
|
66423
66465
|
datasheetUrl: zod.ZodOptional<zod.ZodType<string, zod.ZodTypeDef, string>>;
|
|
66424
66466
|
cadModel: zod.ZodOptional<zod.ZodUnion<[zod.ZodNull, zod.ZodType<string, zod.ZodTypeDef, string>, zod.ZodType<react.ReactElement<any, string | react.JSXElementConstructor<any>>, zod.ZodTypeDef, react.ReactElement<any, string | react.JSXElementConstructor<any>>>, zod.ZodObject<{
|
|
66425
66467
|
rotationOffset: zod.ZodOptional<zod.ZodUnion<[zod.ZodNumber, zod.ZodObject<{
|
|
@@ -70271,6 +70313,7 @@ declare class Resistor extends NormalComponent<typeof resistorProps, PassivePort
|
|
|
70271
70313
|
obstructsWithinBounds?: boolean | undefined;
|
|
70272
70314
|
mfn?: string | undefined;
|
|
70273
70315
|
manufacturerPartNumber?: string | undefined;
|
|
70316
|
+
schSectionName?: string | undefined;
|
|
70274
70317
|
connections?: Partial<Record<"pin1" | "pin2" | "pos" | "neg", string | readonly string[] | string[]>> | undefined;
|
|
70275
70318
|
schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
|
|
70276
70319
|
tolerance?: number | undefined;
|
|
@@ -70858,6 +70901,7 @@ declare class Resistor extends NormalComponent<typeof resistorProps, PassivePort
|
|
|
70858
70901
|
obstructsWithinBounds?: boolean | undefined;
|
|
70859
70902
|
mfn?: string | undefined;
|
|
70860
70903
|
manufacturerPartNumber?: string | undefined;
|
|
70904
|
+
schSectionName?: string | undefined;
|
|
70861
70905
|
connections?: Partial<Record<"pin1" | "pin2" | "pos" | "neg", string | readonly string[] | string[]>> | undefined;
|
|
70862
70906
|
schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
|
|
70863
70907
|
tolerance?: string | number | undefined;
|
|
@@ -78099,6 +78143,7 @@ declare class Fiducial extends PrimitiveComponent<typeof fiducialProps> {
|
|
|
78099
78143
|
key: z.ZodOptional<z.ZodAny>;
|
|
78100
78144
|
name: z.ZodString;
|
|
78101
78145
|
displayName: z.ZodOptional<z.ZodString>;
|
|
78146
|
+
schSectionName: z.ZodOptional<z.ZodString>;
|
|
78102
78147
|
datasheetUrl: z.ZodOptional<z.ZodType<string, z.ZodTypeDef, string>>;
|
|
78103
78148
|
cadModel: z.ZodOptional<z.ZodUnion<[z.ZodNull, z.ZodType<string, z.ZodTypeDef, string>, z.ZodType<react.ReactElement<any, string | react.JSXElementConstructor<any>>, z.ZodTypeDef, react.ReactElement<any, string | react.JSXElementConstructor<any>>>, z.ZodObject<{
|
|
78104
78149
|
rotationOffset: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
|
|
@@ -81942,6 +81987,7 @@ declare class Fiducial extends PrimitiveComponent<typeof fiducialProps> {
|
|
|
81942
81987
|
obstructsWithinBounds?: boolean | undefined;
|
|
81943
81988
|
mfn?: string | undefined;
|
|
81944
81989
|
manufacturerPartNumber?: string | undefined;
|
|
81990
|
+
schSectionName?: string | undefined;
|
|
81945
81991
|
padDiameter?: number | undefined;
|
|
81946
81992
|
soldermaskPullback?: number | undefined;
|
|
81947
81993
|
}, {
|
|
@@ -82522,6 +82568,7 @@ declare class Fiducial extends PrimitiveComponent<typeof fiducialProps> {
|
|
|
82522
82568
|
obstructsWithinBounds?: boolean | undefined;
|
|
82523
82569
|
mfn?: string | undefined;
|
|
82524
82570
|
manufacturerPartNumber?: string | undefined;
|
|
82571
|
+
schSectionName?: string | undefined;
|
|
82525
82572
|
padDiameter?: string | number | undefined;
|
|
82526
82573
|
soldermaskPullback?: string | number | undefined;
|
|
82527
82574
|
}>;
|
|
@@ -84129,6 +84176,7 @@ declare class Battery extends NormalComponent<typeof batteryProps, PassivePorts>
|
|
|
84129
84176
|
key: zod.ZodOptional<zod.ZodAny>;
|
|
84130
84177
|
name: zod.ZodString;
|
|
84131
84178
|
displayName: zod.ZodOptional<zod.ZodString>;
|
|
84179
|
+
schSectionName: zod.ZodOptional<zod.ZodString>;
|
|
84132
84180
|
datasheetUrl: zod.ZodOptional<zod.ZodType<string, zod.ZodTypeDef, string>>;
|
|
84133
84181
|
cadModel: zod.ZodOptional<zod.ZodUnion<[zod.ZodNull, zod.ZodType<string, zod.ZodTypeDef, string>, zod.ZodType<react.ReactElement<any, string | react.JSXElementConstructor<any>>, zod.ZodTypeDef, react.ReactElement<any, string | react.JSXElementConstructor<any>>>, zod.ZodObject<{
|
|
84134
84182
|
rotationOffset: zod.ZodOptional<zod.ZodUnion<[zod.ZodNumber, zod.ZodObject<{
|
|
@@ -87974,6 +88022,7 @@ declare class Battery extends NormalComponent<typeof batteryProps, PassivePorts>
|
|
|
87974
88022
|
obstructsWithinBounds?: boolean | undefined;
|
|
87975
88023
|
mfn?: string | undefined;
|
|
87976
88024
|
manufacturerPartNumber?: string | undefined;
|
|
88025
|
+
schSectionName?: string | undefined;
|
|
87977
88026
|
standard?: "AA" | "AAA" | "9V" | "CR2032" | "18650" | "C" | undefined;
|
|
87978
88027
|
schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
|
|
87979
88028
|
capacity?: number | undefined;
|
|
@@ -88556,6 +88605,7 @@ declare class Battery extends NormalComponent<typeof batteryProps, PassivePorts>
|
|
|
88556
88605
|
obstructsWithinBounds?: boolean | undefined;
|
|
88557
88606
|
mfn?: string | undefined;
|
|
88558
88607
|
manufacturerPartNumber?: string | undefined;
|
|
88608
|
+
schSectionName?: string | undefined;
|
|
88559
88609
|
standard?: "AA" | "AAA" | "9V" | "CR2032" | "18650" | "C" | undefined;
|
|
88560
88610
|
schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
|
|
88561
88611
|
capacity?: string | number | undefined;
|
|
@@ -88672,6 +88722,7 @@ declare class Connector<PinLabels extends string = never> extends Chip<PinLabels
|
|
|
88672
88722
|
key: zod.ZodOptional<zod.ZodAny>;
|
|
88673
88723
|
name: zod.ZodString;
|
|
88674
88724
|
displayName: zod.ZodOptional<zod.ZodString>;
|
|
88725
|
+
schSectionName: zod.ZodOptional<zod.ZodString>;
|
|
88675
88726
|
datasheetUrl: zod.ZodOptional<zod.ZodType<string, zod.ZodTypeDef, string>>;
|
|
88676
88727
|
cadModel: zod.ZodOptional<zod.ZodUnion<[zod.ZodNull, zod.ZodType<string, zod.ZodTypeDef, string>, zod.ZodType<react.ReactElement<any, string | react.JSXElementConstructor<any>>, zod.ZodTypeDef, react.ReactElement<any, string | react.JSXElementConstructor<any>>>, zod.ZodObject<{
|
|
88677
88728
|
rotationOffset: zod.ZodOptional<zod.ZodUnion<[zod.ZodNumber, zod.ZodObject<{
|
|
@@ -92812,6 +92863,7 @@ declare class Connector<PinLabels extends string = never> extends Chip<PinLabels
|
|
|
92812
92863
|
obstructsWithinBounds?: boolean | undefined;
|
|
92813
92864
|
mfn?: string | undefined;
|
|
92814
92865
|
manufacturerPartNumber?: string | undefined;
|
|
92866
|
+
schSectionName?: string | undefined;
|
|
92815
92867
|
connections?: Record<string, string | readonly string[] | string[]> | undefined;
|
|
92816
92868
|
schPinArrangement?: {
|
|
92817
92869
|
leftSize?: number | undefined;
|
|
@@ -93468,6 +93520,7 @@ declare class Connector<PinLabels extends string = never> extends Chip<PinLabels
|
|
|
93468
93520
|
obstructsWithinBounds?: boolean | undefined;
|
|
93469
93521
|
mfn?: string | undefined;
|
|
93470
93522
|
manufacturerPartNumber?: string | undefined;
|
|
93523
|
+
schSectionName?: string | undefined;
|
|
93471
93524
|
connections?: Partial<Record<string, string | string[] | readonly string[]>> | undefined;
|
|
93472
93525
|
schPinArrangement?: {
|
|
93473
93526
|
leftSize?: number | undefined;
|
|
@@ -93655,6 +93708,7 @@ declare class PinHeader extends NormalComponent<typeof pinHeaderProps> {
|
|
|
93655
93708
|
key: zod.ZodOptional<zod.ZodAny>;
|
|
93656
93709
|
name: zod.ZodString;
|
|
93657
93710
|
displayName: zod.ZodOptional<zod.ZodString>;
|
|
93711
|
+
schSectionName: zod.ZodOptional<zod.ZodString>;
|
|
93658
93712
|
datasheetUrl: zod.ZodOptional<zod.ZodType<string, zod.ZodTypeDef, string>>;
|
|
93659
93713
|
cadModel: zod.ZodOptional<zod.ZodUnion<[zod.ZodNull, zod.ZodType<string, zod.ZodTypeDef, string>, zod.ZodType<react.ReactElement<any, string | react.JSXElementConstructor<any>>, zod.ZodTypeDef, react.ReactElement<any, string | react.JSXElementConstructor<any>>>, zod.ZodObject<{
|
|
93660
93714
|
rotationOffset: zod.ZodOptional<zod.ZodUnion<[zod.ZodNumber, zod.ZodObject<{
|
|
@@ -97667,6 +97721,7 @@ declare class PinHeader extends NormalComponent<typeof pinHeaderProps> {
|
|
|
97667
97721
|
obstructsWithinBounds?: boolean | undefined;
|
|
97668
97722
|
mfn?: string | undefined;
|
|
97669
97723
|
manufacturerPartNumber?: string | undefined;
|
|
97724
|
+
schSectionName?: string | undefined;
|
|
97670
97725
|
connections?: Record<string, string | readonly string[] | string[]> | undefined;
|
|
97671
97726
|
schPinArrangement?: {
|
|
97672
97727
|
leftSize?: number | undefined;
|
|
@@ -98297,6 +98352,7 @@ declare class PinHeader extends NormalComponent<typeof pinHeaderProps> {
|
|
|
98297
98352
|
obstructsWithinBounds?: boolean | undefined;
|
|
98298
98353
|
mfn?: string | undefined;
|
|
98299
98354
|
manufacturerPartNumber?: string | undefined;
|
|
98355
|
+
schSectionName?: string | undefined;
|
|
98300
98356
|
connections?: Partial<Record<string, string | string[] | readonly string[]>> | undefined;
|
|
98301
98357
|
schPinArrangement?: {
|
|
98302
98358
|
leftSize?: number | undefined;
|
|
@@ -98455,6 +98511,7 @@ declare class Resonator extends NormalComponent<typeof resonatorProps> {
|
|
|
98455
98511
|
key: zod.ZodOptional<zod.ZodAny>;
|
|
98456
98512
|
name: zod.ZodString;
|
|
98457
98513
|
displayName: zod.ZodOptional<zod.ZodString>;
|
|
98514
|
+
schSectionName: zod.ZodOptional<zod.ZodString>;
|
|
98458
98515
|
datasheetUrl: zod.ZodOptional<zod.ZodType<string, zod.ZodTypeDef, string>>;
|
|
98459
98516
|
cadModel: zod.ZodOptional<zod.ZodUnion<[zod.ZodNull, zod.ZodType<string, zod.ZodTypeDef, string>, zod.ZodType<react.ReactElement<any, string | react.JSXElementConstructor<any>>, zod.ZodTypeDef, react.ReactElement<any, string | react.JSXElementConstructor<any>>>, zod.ZodObject<{
|
|
98460
98517
|
rotationOffset: zod.ZodOptional<zod.ZodUnion<[zod.ZodNumber, zod.ZodObject<{
|
|
@@ -102301,6 +102358,7 @@ declare class Resonator extends NormalComponent<typeof resonatorProps> {
|
|
|
102301
102358
|
obstructsWithinBounds?: boolean | undefined;
|
|
102302
102359
|
mfn?: string | undefined;
|
|
102303
102360
|
manufacturerPartNumber?: string | undefined;
|
|
102361
|
+
schSectionName?: string | undefined;
|
|
102304
102362
|
pinVariant?: "no_ground" | "ground_pin" | "two_ground_pins" | undefined;
|
|
102305
102363
|
}, {
|
|
102306
102364
|
name: string;
|
|
@@ -102882,6 +102940,7 @@ declare class Resonator extends NormalComponent<typeof resonatorProps> {
|
|
|
102882
102940
|
obstructsWithinBounds?: boolean | undefined;
|
|
102883
102941
|
mfn?: string | undefined;
|
|
102884
102942
|
manufacturerPartNumber?: string | undefined;
|
|
102943
|
+
schSectionName?: string | undefined;
|
|
102885
102944
|
pinVariant?: "no_ground" | "ground_pin" | "two_ground_pins" | undefined;
|
|
102886
102945
|
}>;
|
|
102887
102946
|
shouldRenderAsSchematicBox: boolean;
|
|
@@ -102988,6 +103047,7 @@ declare class Inductor extends NormalComponent<typeof inductorProps, PassivePort
|
|
|
102988
103047
|
key: zod.ZodOptional<zod.ZodAny>;
|
|
102989
103048
|
name: zod.ZodString;
|
|
102990
103049
|
displayName: zod.ZodOptional<zod.ZodString>;
|
|
103050
|
+
schSectionName: zod.ZodOptional<zod.ZodString>;
|
|
102991
103051
|
datasheetUrl: zod.ZodOptional<zod.ZodType<string, zod.ZodTypeDef, string>>;
|
|
102992
103052
|
cadModel: zod.ZodOptional<zod.ZodUnion<[zod.ZodNull, zod.ZodType<string, zod.ZodTypeDef, string>, zod.ZodType<react.ReactElement<any, string | react.JSXElementConstructor<any>>, zod.ZodTypeDef, react.ReactElement<any, string | react.JSXElementConstructor<any>>>, zod.ZodObject<{
|
|
102993
103053
|
rotationOffset: zod.ZodOptional<zod.ZodUnion<[zod.ZodNumber, zod.ZodObject<{
|
|
@@ -106834,6 +106894,7 @@ declare class Inductor extends NormalComponent<typeof inductorProps, PassivePort
|
|
|
106834
106894
|
obstructsWithinBounds?: boolean | undefined;
|
|
106835
106895
|
mfn?: string | undefined;
|
|
106836
106896
|
manufacturerPartNumber?: string | undefined;
|
|
106897
|
+
schSectionName?: string | undefined;
|
|
106837
106898
|
connections?: Partial<Record<"left" | "right" | "pin1" | "pin2", string | readonly string[] | string[]>> | undefined;
|
|
106838
106899
|
schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
|
|
106839
106900
|
maxCurrentRating?: string | number | undefined;
|
|
@@ -107416,6 +107477,7 @@ declare class Inductor extends NormalComponent<typeof inductorProps, PassivePort
|
|
|
107416
107477
|
obstructsWithinBounds?: boolean | undefined;
|
|
107417
107478
|
mfn?: string | undefined;
|
|
107418
107479
|
manufacturerPartNumber?: string | undefined;
|
|
107480
|
+
schSectionName?: string | undefined;
|
|
107419
107481
|
connections?: Partial<Record<"left" | "right" | "pin1" | "pin2", string | readonly string[] | string[]>> | undefined;
|
|
107420
107482
|
schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
|
|
107421
107483
|
maxCurrentRating?: string | number | undefined;
|
|
@@ -107524,6 +107586,7 @@ declare class Potentiometer extends NormalComponent<typeof potentiometerProps> {
|
|
|
107524
107586
|
key: zod.ZodOptional<zod.ZodAny>;
|
|
107525
107587
|
name: zod.ZodString;
|
|
107526
107588
|
displayName: zod.ZodOptional<zod.ZodString>;
|
|
107589
|
+
schSectionName: zod.ZodOptional<zod.ZodString>;
|
|
107527
107590
|
datasheetUrl: zod.ZodOptional<zod.ZodType<string, zod.ZodTypeDef, string>>;
|
|
107528
107591
|
cadModel: zod.ZodOptional<zod.ZodUnion<[zod.ZodNull, zod.ZodType<string, zod.ZodTypeDef, string>, zod.ZodType<react.ReactElement<any, string | react.JSXElementConstructor<any>>, zod.ZodTypeDef, react.ReactElement<any, string | react.JSXElementConstructor<any>>>, zod.ZodObject<{
|
|
107529
107592
|
rotationOffset: zod.ZodOptional<zod.ZodUnion<[zod.ZodNumber, zod.ZodObject<{
|
|
@@ -111369,6 +111432,7 @@ declare class Potentiometer extends NormalComponent<typeof potentiometerProps> {
|
|
|
111369
111432
|
obstructsWithinBounds?: boolean | undefined;
|
|
111370
111433
|
mfn?: string | undefined;
|
|
111371
111434
|
manufacturerPartNumber?: string | undefined;
|
|
111435
|
+
schSectionName?: string | undefined;
|
|
111372
111436
|
connections?: Partial<Record<"pin1" | "pin2" | "pin3", string | readonly string[] | string[]>> | undefined;
|
|
111373
111437
|
pinVariant?: "two_pin" | "three_pin" | undefined;
|
|
111374
111438
|
}, {
|
|
@@ -111950,6 +112014,7 @@ declare class Potentiometer extends NormalComponent<typeof potentiometerProps> {
|
|
|
111950
112014
|
obstructsWithinBounds?: boolean | undefined;
|
|
111951
112015
|
mfn?: string | undefined;
|
|
111952
112016
|
manufacturerPartNumber?: string | undefined;
|
|
112017
|
+
schSectionName?: string | undefined;
|
|
111953
112018
|
connections?: Partial<Record<"pin1" | "pin2" | "pin3", string | readonly string[] | string[]>> | undefined;
|
|
111954
112019
|
pinVariant?: "two_pin" | "three_pin" | undefined;
|
|
111955
112020
|
}>;
|
|
@@ -112054,6 +112119,7 @@ declare class PushButton extends NormalComponent<typeof pushButtonProps, Passive
|
|
|
112054
112119
|
key: zod.ZodOptional<zod.ZodAny>;
|
|
112055
112120
|
name: zod.ZodString;
|
|
112056
112121
|
displayName: zod.ZodOptional<zod.ZodString>;
|
|
112122
|
+
schSectionName: zod.ZodOptional<zod.ZodString>;
|
|
112057
112123
|
datasheetUrl: zod.ZodOptional<zod.ZodType<string, zod.ZodTypeDef, string>>;
|
|
112058
112124
|
cadModel: zod.ZodOptional<zod.ZodUnion<[zod.ZodNull, zod.ZodType<string, zod.ZodTypeDef, string>, zod.ZodType<react.ReactElement<any, string | react.JSXElementConstructor<any>>, zod.ZodTypeDef, react.ReactElement<any, string | react.JSXElementConstructor<any>>>, zod.ZodObject<{
|
|
112059
112125
|
rotationOffset: zod.ZodOptional<zod.ZodUnion<[zod.ZodNumber, zod.ZodObject<{
|
|
@@ -116192,6 +116258,7 @@ declare class PushButton extends NormalComponent<typeof pushButtonProps, Passive
|
|
|
116192
116258
|
obstructsWithinBounds?: boolean | undefined;
|
|
116193
116259
|
mfn?: string | undefined;
|
|
116194
116260
|
manufacturerPartNumber?: string | undefined;
|
|
116261
|
+
schSectionName?: string | undefined;
|
|
116195
116262
|
connections?: Record<string, string | readonly string[] | string[]> | undefined;
|
|
116196
116263
|
schPinArrangement?: {
|
|
116197
116264
|
leftSize?: number | undefined;
|
|
@@ -116847,6 +116914,7 @@ declare class PushButton extends NormalComponent<typeof pushButtonProps, Passive
|
|
|
116847
116914
|
obstructsWithinBounds?: boolean | undefined;
|
|
116848
116915
|
mfn?: string | undefined;
|
|
116849
116916
|
manufacturerPartNumber?: string | undefined;
|
|
116917
|
+
schSectionName?: string | undefined;
|
|
116850
116918
|
connections?: Partial<Record<string, string | string[] | readonly string[]>> | undefined;
|
|
116851
116919
|
schPinArrangement?: {
|
|
116852
116920
|
leftSize?: number | undefined;
|
|
@@ -117027,6 +117095,7 @@ declare class Crystal extends NormalComponent<typeof crystalProps, PolarizedPass
|
|
|
117027
117095
|
key: zod.ZodOptional<zod.ZodAny>;
|
|
117028
117096
|
name: zod.ZodString;
|
|
117029
117097
|
displayName: zod.ZodOptional<zod.ZodString>;
|
|
117098
|
+
schSectionName: zod.ZodOptional<zod.ZodString>;
|
|
117030
117099
|
datasheetUrl: zod.ZodOptional<zod.ZodType<string, zod.ZodTypeDef, string>>;
|
|
117031
117100
|
cadModel: zod.ZodOptional<zod.ZodUnion<[zod.ZodNull, zod.ZodType<string, zod.ZodTypeDef, string>, zod.ZodType<react.ReactElement<any, string | react.JSXElementConstructor<any>>, zod.ZodTypeDef, react.ReactElement<any, string | react.JSXElementConstructor<any>>>, zod.ZodObject<{
|
|
117032
117101
|
rotationOffset: zod.ZodOptional<zod.ZodUnion<[zod.ZodNumber, zod.ZodObject<{
|
|
@@ -120876,6 +120945,7 @@ declare class Crystal extends NormalComponent<typeof crystalProps, PolarizedPass
|
|
|
120876
120945
|
obstructsWithinBounds?: boolean | undefined;
|
|
120877
120946
|
mfn?: string | undefined;
|
|
120878
120947
|
manufacturerPartNumber?: string | undefined;
|
|
120948
|
+
schSectionName?: string | undefined;
|
|
120879
120949
|
connections?: Partial<Record<"left" | "right" | "pin1" | "pin2", string | readonly string[] | string[]>> | undefined;
|
|
120880
120950
|
schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
|
|
120881
120951
|
pinVariant?: "two_pin" | "four_pin" | undefined;
|
|
@@ -121460,6 +121530,7 @@ declare class Crystal extends NormalComponent<typeof crystalProps, PolarizedPass
|
|
|
121460
121530
|
obstructsWithinBounds?: boolean | undefined;
|
|
121461
121531
|
mfn?: string | undefined;
|
|
121462
121532
|
manufacturerPartNumber?: string | undefined;
|
|
121533
|
+
schSectionName?: string | undefined;
|
|
121463
121534
|
connections?: Partial<Record<"left" | "right" | "pin1" | "pin2", string | readonly string[] | string[]>> | undefined;
|
|
121464
121535
|
schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
|
|
121465
121536
|
pinVariant?: "two_pin" | "four_pin" | undefined;
|
|
@@ -121569,6 +121640,7 @@ declare class Transistor extends NormalComponent<typeof transistorProps, Transis
|
|
|
121569
121640
|
key: zod.ZodOptional<zod.ZodAny>;
|
|
121570
121641
|
name: zod.ZodString;
|
|
121571
121642
|
displayName: zod.ZodOptional<zod.ZodString>;
|
|
121643
|
+
schSectionName: zod.ZodOptional<zod.ZodString>;
|
|
121572
121644
|
datasheetUrl: zod.ZodOptional<zod.ZodType<string, zod.ZodTypeDef, string>>;
|
|
121573
121645
|
cadModel: zod.ZodOptional<zod.ZodUnion<[zod.ZodNull, zod.ZodType<string, zod.ZodTypeDef, string>, zod.ZodType<react.ReactElement<any, string | react.JSXElementConstructor<any>>, zod.ZodTypeDef, react.ReactElement<any, string | react.JSXElementConstructor<any>>>, zod.ZodObject<{
|
|
121574
121646
|
rotationOffset: zod.ZodOptional<zod.ZodUnion<[zod.ZodNumber, zod.ZodObject<{
|
|
@@ -125413,6 +125485,7 @@ declare class Transistor extends NormalComponent<typeof transistorProps, Transis
|
|
|
125413
125485
|
obstructsWithinBounds?: boolean | undefined;
|
|
125414
125486
|
mfn?: string | undefined;
|
|
125415
125487
|
manufacturerPartNumber?: string | undefined;
|
|
125488
|
+
schSectionName?: string | undefined;
|
|
125416
125489
|
connections?: Partial<Record<"pin1" | "pin2" | "pin3" | "emitter" | "collector" | "base" | "gate" | "source" | "drain", string | readonly string[] | string[]>> | undefined;
|
|
125417
125490
|
}, {
|
|
125418
125491
|
type: "npn" | "pnp" | "bjt" | "jfet" | "mosfet" | "igbt";
|
|
@@ -125993,6 +126066,7 @@ declare class Transistor extends NormalComponent<typeof transistorProps, Transis
|
|
|
125993
126066
|
obstructsWithinBounds?: boolean | undefined;
|
|
125994
126067
|
mfn?: string | undefined;
|
|
125995
126068
|
manufacturerPartNumber?: string | undefined;
|
|
126069
|
+
schSectionName?: string | undefined;
|
|
125996
126070
|
connections?: Partial<Record<"pin1" | "pin2" | "pin3" | "emitter" | "collector" | "base" | "gate" | "source" | "drain", string | readonly string[] | string[]>> | undefined;
|
|
125997
126071
|
}>;
|
|
125998
126072
|
sourceFtype: Ftype;
|
|
@@ -126104,6 +126178,7 @@ declare class Mosfet extends NormalComponent<typeof mosfetProps> {
|
|
|
126104
126178
|
key: zod.ZodOptional<zod.ZodAny>;
|
|
126105
126179
|
name: zod.ZodString;
|
|
126106
126180
|
displayName: zod.ZodOptional<zod.ZodString>;
|
|
126181
|
+
schSectionName: zod.ZodOptional<zod.ZodString>;
|
|
126107
126182
|
datasheetUrl: zod.ZodOptional<zod.ZodType<string, zod.ZodTypeDef, string>>;
|
|
126108
126183
|
cadModel: zod.ZodOptional<zod.ZodUnion<[zod.ZodNull, zod.ZodType<string, zod.ZodTypeDef, string>, zod.ZodType<react.ReactElement<any, string | react.JSXElementConstructor<any>>, zod.ZodTypeDef, react.ReactElement<any, string | react.JSXElementConstructor<any>>>, zod.ZodObject<{
|
|
126109
126184
|
rotationOffset: zod.ZodOptional<zod.ZodUnion<[zod.ZodNumber, zod.ZodObject<{
|
|
@@ -129949,6 +130024,7 @@ declare class Mosfet extends NormalComponent<typeof mosfetProps> {
|
|
|
129949
130024
|
obstructsWithinBounds?: boolean | undefined;
|
|
129950
130025
|
mfn?: string | undefined;
|
|
129951
130026
|
manufacturerPartNumber?: string | undefined;
|
|
130027
|
+
schSectionName?: string | undefined;
|
|
129952
130028
|
}, {
|
|
129953
130029
|
name: string;
|
|
129954
130030
|
channelType: "n" | "p";
|
|
@@ -130529,6 +130605,7 @@ declare class Mosfet extends NormalComponent<typeof mosfetProps> {
|
|
|
130529
130605
|
obstructsWithinBounds?: boolean | undefined;
|
|
130530
130606
|
mfn?: string | undefined;
|
|
130531
130607
|
manufacturerPartNumber?: string | undefined;
|
|
130608
|
+
schSectionName?: string | undefined;
|
|
130532
130609
|
}>;
|
|
130533
130610
|
shouldRenderAsSchematicBox: boolean;
|
|
130534
130611
|
};
|
|
@@ -130632,6 +130709,7 @@ declare class OpAmp extends NormalComponent<typeof opampProps, OpAmpPinLabels> {
|
|
|
130632
130709
|
key: zod.ZodOptional<zod.ZodAny>;
|
|
130633
130710
|
name: zod.ZodString;
|
|
130634
130711
|
displayName: zod.ZodOptional<zod.ZodString>;
|
|
130712
|
+
schSectionName: zod.ZodOptional<zod.ZodString>;
|
|
130635
130713
|
datasheetUrl: zod.ZodOptional<zod.ZodType<string, zod.ZodTypeDef, string>>;
|
|
130636
130714
|
cadModel: zod.ZodOptional<zod.ZodUnion<[zod.ZodNull, zod.ZodType<string, zod.ZodTypeDef, string>, zod.ZodType<react.ReactElement<any, string | react.JSXElementConstructor<any>>, zod.ZodTypeDef, react.ReactElement<any, string | react.JSXElementConstructor<any>>>, zod.ZodObject<{
|
|
130637
130715
|
rotationOffset: zod.ZodOptional<zod.ZodUnion<[zod.ZodNumber, zod.ZodObject<{
|
|
@@ -134474,6 +134552,7 @@ declare class OpAmp extends NormalComponent<typeof opampProps, OpAmpPinLabels> {
|
|
|
134474
134552
|
obstructsWithinBounds?: boolean | undefined;
|
|
134475
134553
|
mfn?: string | undefined;
|
|
134476
134554
|
manufacturerPartNumber?: string | undefined;
|
|
134555
|
+
schSectionName?: string | undefined;
|
|
134477
134556
|
connections?: Partial<Record<"output" | "inverting_input" | "non_inverting_input" | "positive_supply" | "negative_supply", string | readonly string[] | string[]>> | undefined;
|
|
134478
134557
|
}, {
|
|
134479
134558
|
name: string;
|
|
@@ -135053,6 +135132,7 @@ declare class OpAmp extends NormalComponent<typeof opampProps, OpAmpPinLabels> {
|
|
|
135053
135132
|
obstructsWithinBounds?: boolean | undefined;
|
|
135054
135133
|
mfn?: string | undefined;
|
|
135055
135134
|
manufacturerPartNumber?: string | undefined;
|
|
135135
|
+
schSectionName?: string | undefined;
|
|
135056
135136
|
connections?: Partial<Record<"output" | "inverting_input" | "non_inverting_input" | "positive_supply" | "negative_supply", string | readonly string[] | string[]>> | undefined;
|
|
135057
135137
|
}>;
|
|
135058
135138
|
sourceFtype: Ftype;
|
|
@@ -135165,6 +135245,7 @@ declare class Switch extends NormalComponent<typeof switchProps> {
|
|
|
135165
135245
|
key: zod.ZodOptional<zod.ZodAny>;
|
|
135166
135246
|
name: zod.ZodString;
|
|
135167
135247
|
displayName: zod.ZodOptional<zod.ZodString>;
|
|
135248
|
+
schSectionName: zod.ZodOptional<zod.ZodString>;
|
|
135168
135249
|
datasheetUrl: zod.ZodOptional<zod.ZodType<string, zod.ZodTypeDef, string>>;
|
|
135169
135250
|
cadModel: zod.ZodOptional<zod.ZodUnion<[zod.ZodNull, zod.ZodType<string, zod.ZodTypeDef, string>, zod.ZodType<react.ReactElement<any, string | react.JSXElementConstructor<any>>, zod.ZodTypeDef, react.ReactElement<any, string | react.JSXElementConstructor<any>>>, zod.ZodObject<{
|
|
135170
135251
|
rotationOffset: zod.ZodOptional<zod.ZodUnion<[zod.ZodNumber, zod.ZodObject<{
|
|
@@ -139020,6 +139101,7 @@ declare class Switch extends NormalComponent<typeof switchProps> {
|
|
|
139020
139101
|
obstructsWithinBounds?: boolean | undefined;
|
|
139021
139102
|
mfn?: string | undefined;
|
|
139022
139103
|
manufacturerPartNumber?: string | undefined;
|
|
139104
|
+
schSectionName?: string | undefined;
|
|
139023
139105
|
connections?: Record<string, string | readonly string[] | string[]> | undefined;
|
|
139024
139106
|
spst?: boolean | undefined;
|
|
139025
139107
|
spdt?: boolean | undefined;
|
|
@@ -139609,6 +139691,7 @@ declare class Switch extends NormalComponent<typeof switchProps> {
|
|
|
139609
139691
|
obstructsWithinBounds?: boolean | undefined;
|
|
139610
139692
|
mfn?: string | undefined;
|
|
139611
139693
|
manufacturerPartNumber?: string | undefined;
|
|
139694
|
+
schSectionName?: string | undefined;
|
|
139612
139695
|
connections?: Partial<Record<string, string | string[] | readonly string[]>> | undefined;
|
|
139613
139696
|
spst?: boolean | undefined;
|
|
139614
139697
|
spdt?: boolean | undefined;
|
|
@@ -140199,6 +140282,7 @@ declare class Switch extends NormalComponent<typeof switchProps> {
|
|
|
140199
140282
|
obstructsWithinBounds?: boolean | undefined;
|
|
140200
140283
|
mfn?: string | undefined;
|
|
140201
140284
|
manufacturerPartNumber?: string | undefined;
|
|
140285
|
+
schSectionName?: string | undefined;
|
|
140202
140286
|
connections?: Partial<Record<string, string | string[] | readonly string[]>> | undefined;
|
|
140203
140287
|
spst?: boolean | undefined;
|
|
140204
140288
|
spdt?: boolean | undefined;
|
|
@@ -140314,6 +140398,7 @@ declare class TestPoint extends NormalComponent<typeof testpointProps> {
|
|
|
140314
140398
|
key: zod.ZodOptional<zod.ZodAny>;
|
|
140315
140399
|
name: zod.ZodString;
|
|
140316
140400
|
displayName: zod.ZodOptional<zod.ZodString>;
|
|
140401
|
+
schSectionName: zod.ZodOptional<zod.ZodString>;
|
|
140317
140402
|
datasheetUrl: zod.ZodOptional<zod.ZodType<string, zod.ZodTypeDef, string>>;
|
|
140318
140403
|
cadModel: zod.ZodOptional<zod.ZodUnion<[zod.ZodNull, zod.ZodType<string, zod.ZodTypeDef, string>, zod.ZodType<react.ReactElement<any, string | react.JSXElementConstructor<any>>, zod.ZodTypeDef, react.ReactElement<any, string | react.JSXElementConstructor<any>>>, zod.ZodObject<{
|
|
140319
140404
|
rotationOffset: zod.ZodOptional<zod.ZodUnion<[zod.ZodNumber, zod.ZodObject<{
|
|
@@ -144169,6 +144254,7 @@ declare class TestPoint extends NormalComponent<typeof testpointProps> {
|
|
|
144169
144254
|
obstructsWithinBounds?: boolean | undefined;
|
|
144170
144255
|
mfn?: string | undefined;
|
|
144171
144256
|
manufacturerPartNumber?: string | undefined;
|
|
144257
|
+
schSectionName?: string | undefined;
|
|
144172
144258
|
width?: number | undefined;
|
|
144173
144259
|
height?: number | undefined;
|
|
144174
144260
|
connections?: {
|
|
@@ -144755,6 +144841,7 @@ declare class TestPoint extends NormalComponent<typeof testpointProps> {
|
|
|
144755
144841
|
obstructsWithinBounds?: boolean | undefined;
|
|
144756
144842
|
mfn?: string | undefined;
|
|
144757
144843
|
manufacturerPartNumber?: string | undefined;
|
|
144844
|
+
schSectionName?: string | undefined;
|
|
144758
144845
|
width?: string | number | undefined;
|
|
144759
144846
|
height?: string | number | undefined;
|
|
144760
144847
|
connections?: {
|
|
@@ -145341,6 +145428,7 @@ declare class TestPoint extends NormalComponent<typeof testpointProps> {
|
|
|
145341
145428
|
obstructsWithinBounds?: boolean | undefined;
|
|
145342
145429
|
mfn?: string | undefined;
|
|
145343
145430
|
manufacturerPartNumber?: string | undefined;
|
|
145431
|
+
schSectionName?: string | undefined;
|
|
145344
145432
|
width?: number | undefined;
|
|
145345
145433
|
height?: number | undefined;
|
|
145346
145434
|
connections?: {
|
|
@@ -145927,6 +146015,7 @@ declare class TestPoint extends NormalComponent<typeof testpointProps> {
|
|
|
145927
146015
|
obstructsWithinBounds?: boolean | undefined;
|
|
145928
146016
|
mfn?: string | undefined;
|
|
145929
146017
|
manufacturerPartNumber?: string | undefined;
|
|
146018
|
+
schSectionName?: string | undefined;
|
|
145930
146019
|
width?: string | number | undefined;
|
|
145931
146020
|
height?: string | number | undefined;
|
|
145932
146021
|
connections?: {
|
|
@@ -146340,6 +146429,25 @@ declare class SchematicBox extends PrimitiveComponent<typeof schematicBoxProps>
|
|
|
146340
146429
|
doInitialSchematicPrimitiveRender(): void;
|
|
146341
146430
|
}
|
|
146342
146431
|
|
|
146432
|
+
declare class SchematicSection extends PrimitiveComponent<typeof schematicSectionProps> {
|
|
146433
|
+
isSchematicPrimitive: boolean;
|
|
146434
|
+
get config(): {
|
|
146435
|
+
componentName: string;
|
|
146436
|
+
zodProps: zod.ZodObject<{
|
|
146437
|
+
displayName: zod.ZodOptional<zod.ZodString>;
|
|
146438
|
+
name: zod.ZodString;
|
|
146439
|
+
}, "strip", zod.ZodTypeAny, {
|
|
146440
|
+
name: string;
|
|
146441
|
+
displayName?: string | undefined;
|
|
146442
|
+
}, {
|
|
146443
|
+
name: string;
|
|
146444
|
+
displayName?: string | undefined;
|
|
146445
|
+
}>;
|
|
146446
|
+
};
|
|
146447
|
+
_computeSectionBounds(board: PrimitiveComponent): Bounds | null;
|
|
146448
|
+
doInitialSchematicSectionRender(): void;
|
|
146449
|
+
}
|
|
146450
|
+
|
|
146343
146451
|
declare class SchematicTable extends PrimitiveComponent<typeof schematicTableProps> {
|
|
146344
146452
|
isSchematicPrimitive: boolean;
|
|
146345
146453
|
schematic_table_id: string | null;
|
|
@@ -146587,6 +146695,7 @@ declare class VoltageProbe extends PrimitiveComponent<typeof voltageProbeProps>
|
|
|
146587
146695
|
key: z.ZodOptional<z.ZodAny>;
|
|
146588
146696
|
name: z.ZodString;
|
|
146589
146697
|
displayName: z.ZodOptional<z.ZodString>;
|
|
146698
|
+
schSectionName: z.ZodOptional<z.ZodString>;
|
|
146590
146699
|
datasheetUrl: z.ZodOptional<z.ZodType<string, z.ZodTypeDef, string>>;
|
|
146591
146700
|
cadModel: z.ZodOptional<z.ZodUnion<[z.ZodNull, z.ZodType<string, z.ZodTypeDef, string>, z.ZodType<react.ReactElement<any, string | react.JSXElementConstructor<any>>, z.ZodTypeDef, react.ReactElement<any, string | react.JSXElementConstructor<any>>>, z.ZodObject<{
|
|
146592
146701
|
rotationOffset: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
|
|
@@ -150433,6 +150542,7 @@ declare class VoltageProbe extends PrimitiveComponent<typeof voltageProbeProps>
|
|
|
150433
150542
|
obstructsWithinBounds?: boolean | undefined;
|
|
150434
150543
|
mfn?: string | undefined;
|
|
150435
150544
|
manufacturerPartNumber?: string | undefined;
|
|
150545
|
+
schSectionName?: string | undefined;
|
|
150436
150546
|
color?: string | undefined;
|
|
150437
150547
|
referenceTo?: string | undefined;
|
|
150438
150548
|
}, {
|
|
@@ -151014,6 +151124,7 @@ declare class VoltageProbe extends PrimitiveComponent<typeof voltageProbeProps>
|
|
|
151014
151124
|
obstructsWithinBounds?: boolean | undefined;
|
|
151015
151125
|
mfn?: string | undefined;
|
|
151016
151126
|
manufacturerPartNumber?: string | undefined;
|
|
151127
|
+
schSectionName?: string | undefined;
|
|
151017
151128
|
color?: string | undefined;
|
|
151018
151129
|
referenceTo?: string | undefined;
|
|
151019
151130
|
}>;
|
|
@@ -151643,6 +151754,7 @@ declare const useLed: <PropsFromHook extends Omit<{
|
|
|
151643
151754
|
obstructsWithinBounds?: boolean | undefined;
|
|
151644
151755
|
mfn?: string | undefined;
|
|
151645
151756
|
manufacturerPartNumber?: string | undefined;
|
|
151757
|
+
schSectionName?: string | undefined;
|
|
151646
151758
|
connections?: Partial<Record<"left" | "right" | "pin1" | "pin2" | "anode" | "pos" | "cathode" | "neg", string | readonly string[] | string[]>> | undefined;
|
|
151647
151759
|
schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
|
|
151648
151760
|
color?: string | undefined;
|
|
@@ -152227,6 +152339,7 @@ declare const useLed: <PropsFromHook extends Omit<{
|
|
|
152227
152339
|
obstructsWithinBounds?: boolean | undefined;
|
|
152228
152340
|
mfn?: string | undefined;
|
|
152229
152341
|
manufacturerPartNumber?: string | undefined;
|
|
152342
|
+
schSectionName?: string | undefined;
|
|
152230
152343
|
connections?: Partial<Record<"left" | "right" | "pin1" | "pin2" | "anode" | "pos" | "cathode" | "neg", string | readonly string[] | string[]>> | undefined;
|
|
152231
152344
|
schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
|
|
152232
152345
|
color?: string | undefined;
|
|
@@ -152439,6 +152552,7 @@ interface TscircuitElements {
|
|
|
152439
152552
|
chip: _tscircuit_props.ChipProps;
|
|
152440
152553
|
pinout: _tscircuit_props.PinoutProps;
|
|
152441
152554
|
powersource: _tscircuit_props.PowerSourceProps;
|
|
152555
|
+
schematicsection: _tscircuit_props.SchematicSectionProps;
|
|
152442
152556
|
via: _tscircuit_props.ViaProps;
|
|
152443
152557
|
schematicbox: _tscircuit_props.SchematicBoxProps;
|
|
152444
152558
|
schematicline: _tscircuit_props.SchematicLineProps;
|
|
@@ -152524,4 +152638,4 @@ declare module "react/jsx-runtime" {
|
|
|
152524
152638
|
}
|
|
152525
152639
|
}
|
|
152526
152640
|
|
|
152527
|
-
export { AnalogSimulation, type AsyncEffect, type AutorouterCompleteEvent, type AutorouterErrorEvent, type AutorouterEvent, type AutorouterProgressEvent, type AutoroutingEndEvent, type AutoroutingErrorEvent, 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, Diode, FabricationNoteDimension, FabricationNotePath, FabricationNoteRect, FabricationNoteText, 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, 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, SchematicTable, SchematicText, type Sel, SilkscreenCircle, SilkscreenLine, SilkscreenPath, SilkscreenRect, SilkscreenText, type SimpleRouteConnection, type SimpleRouteJson, type SimplifiedPcbTrace, SmtPad, SolderJumper, type SolverName, type SolverStartedEvent, Subcircuit, Subpanel, Switch, SymbolComponent as Symbol, TestPoint, Trace, TraceHint, Transistor, Via, VoltageProbe, VoltageSource, applyEditEvents, applyEditEventsToManualEditsFile, applyPcbEditEventsToManualEditsFile, applySchematicEditEventsToManualEditsFile, createUseComponent, getPhaseTimingsFromRenderEvents, getSimpleRouteJsonFromCircuitJson, normalizePinLabels, orderedRenderPhases, renderPhaseIndexMap, resolveStaticFileImport, sel, useCapacitor, useChip, useDiode, useLed, useRenderedCircuit, useResistor };
|
|
152641
|
+
export { AnalogSimulation, type AsyncEffect, type AutorouterCompleteEvent, type AutorouterErrorEvent, type AutorouterEvent, type AutorouterProgressEvent, type AutoroutingEndEvent, type AutoroutingErrorEvent, 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, Diode, FabricationNoteDimension, FabricationNotePath, FabricationNoteRect, FabricationNoteText, 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, 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, SchematicTable, SchematicText, type Sel, SilkscreenCircle, SilkscreenLine, SilkscreenPath, SilkscreenRect, SilkscreenText, type SimpleRouteConnection, type SimpleRouteJson, type SimplifiedPcbTrace, SmtPad, SolderJumper, type SolverName, type SolverStartedEvent, Subcircuit, Subpanel, Switch, SymbolComponent as Symbol, TestPoint, Trace, TraceHint, Transistor, Via, VoltageProbe, VoltageSource, applyEditEvents, applyEditEventsToManualEditsFile, applyPcbEditEventsToManualEditsFile, applySchematicEditEventsToManualEditsFile, createUseComponent, getPhaseTimingsFromRenderEvents, getSimpleRouteJsonFromCircuitJson, normalizePinLabels, orderedRenderPhases, renderPhaseIndexMap, resolveStaticFileImport, sel, useCapacitor, useChip, useDiode, useLed, useRenderedCircuit, useResistor };
|
package/dist/index.js
CHANGED
|
@@ -73,6 +73,7 @@ __export(components_exports, {
|
|
|
73
73
|
SchematicPath: () => SchematicPath,
|
|
74
74
|
SchematicRect: () => SchematicRect,
|
|
75
75
|
SchematicRow: () => SchematicRow,
|
|
76
|
+
SchematicSection: () => SchematicSection,
|
|
76
77
|
SchematicTable: () => SchematicTable,
|
|
77
78
|
SchematicText: () => SchematicText,
|
|
78
79
|
SilkscreenCircle: () => SilkscreenCircle,
|
|
@@ -329,6 +330,7 @@ var orderedRenderPhases = [
|
|
|
329
330
|
"SchematicSymbolResize",
|
|
330
331
|
"SchematicComponentSizeCalculation",
|
|
331
332
|
"SchematicLayout",
|
|
333
|
+
"SchematicSectionRender",
|
|
332
334
|
"SchematicTraceRender",
|
|
333
335
|
"SchematicReplaceNetLabelsWithSymbols",
|
|
334
336
|
"PanelBoardLayout",
|
|
@@ -371,6 +373,7 @@ var asyncPhaseDependencies = {
|
|
|
371
373
|
"FetchPartFootprint"
|
|
372
374
|
],
|
|
373
375
|
SchematicLayout: ["PcbFootprintStringRender", "FetchPartFootprint"],
|
|
376
|
+
SchematicSectionRender: ["PcbFootprintStringRender", "FetchPartFootprint"],
|
|
374
377
|
SchematicTraceRender: ["PcbFootprintStringRender", "FetchPartFootprint"],
|
|
375
378
|
SchematicReplaceNetLabelsWithSymbols: [
|
|
376
379
|
"PcbFootprintStringRender",
|
|
@@ -17040,6 +17043,15 @@ function createSchematicTraceSolverInputProblem(group) {
|
|
|
17040
17043
|
...childGroups.map((a) => a.schematic_group_id)
|
|
17041
17044
|
];
|
|
17042
17045
|
const schematicComponents = db.schematic_component.list().filter((a) => allSchematicGroupIds.includes(a.schematic_group_id));
|
|
17046
|
+
const componentNameToSectionId = /* @__PURE__ */ new Map();
|
|
17047
|
+
for (const component of group.getDescendants()) {
|
|
17048
|
+
if (component.name && component._parsedProps?.schSectionName) {
|
|
17049
|
+
componentNameToSectionId.set(
|
|
17050
|
+
component.name,
|
|
17051
|
+
component._parsedProps.schSectionName
|
|
17052
|
+
);
|
|
17053
|
+
}
|
|
17054
|
+
}
|
|
17043
17055
|
const chips = [];
|
|
17044
17056
|
const pinIdToSchematicPortId = /* @__PURE__ */ new Map();
|
|
17045
17057
|
const schematicPortIdToPinId = /* @__PURE__ */ new Map();
|
|
@@ -17065,12 +17077,17 @@ function createSchematicTraceSolverInputProblem(group) {
|
|
|
17065
17077
|
y: schematicPort.center.y
|
|
17066
17078
|
});
|
|
17067
17079
|
}
|
|
17080
|
+
let sectionId;
|
|
17081
|
+
if (sourceComponent?.name) {
|
|
17082
|
+
sectionId = componentNameToSectionId.get(sourceComponent.name);
|
|
17083
|
+
}
|
|
17068
17084
|
chips.push({
|
|
17069
17085
|
chipId,
|
|
17070
17086
|
center: schematicComponent.center,
|
|
17071
17087
|
width: schematicComponent.size.width,
|
|
17072
17088
|
height: schematicComponent.size.height,
|
|
17073
|
-
pins
|
|
17089
|
+
pins,
|
|
17090
|
+
sectionId
|
|
17074
17091
|
});
|
|
17075
17092
|
}
|
|
17076
17093
|
const allSourceAndSchematicPortIdsInScope = /* @__PURE__ */ new Set();
|
|
@@ -20419,7 +20436,7 @@ import { identity as identity5 } from "transformation-matrix";
|
|
|
20419
20436
|
var package_default = {
|
|
20420
20437
|
name: "@tscircuit/core",
|
|
20421
20438
|
type: "module",
|
|
20422
|
-
version: "0.0.
|
|
20439
|
+
version: "0.0.1217",
|
|
20423
20440
|
types: "dist/index.d.ts",
|
|
20424
20441
|
main: "dist/index.js",
|
|
20425
20442
|
module: "dist/index.js",
|
|
@@ -20465,9 +20482,9 @@ var package_default = {
|
|
|
20465
20482
|
"@tscircuit/math-utils": "^0.0.36",
|
|
20466
20483
|
"@tscircuit/miniflex": "^0.0.4",
|
|
20467
20484
|
"@tscircuit/ngspice-spice-engine": "^0.0.8",
|
|
20468
|
-
"@tscircuit/props": "^0.0.
|
|
20485
|
+
"@tscircuit/props": "^0.0.522",
|
|
20469
20486
|
"@tscircuit/schematic-match-adapt": "^0.0.16",
|
|
20470
|
-
"@tscircuit/schematic-trace-solver": "^0.0.
|
|
20487
|
+
"@tscircuit/schematic-trace-solver": "^0.0.55",
|
|
20471
20488
|
"@tscircuit/solver-utils": "^0.0.3",
|
|
20472
20489
|
"@tscircuit/soup-util": "^0.0.41",
|
|
20473
20490
|
"@types/bun": "^1.2.16",
|
|
@@ -20525,7 +20542,8 @@ var package_default = {
|
|
|
20525
20542
|
dependencies: {
|
|
20526
20543
|
"@flatten-js/core": "^1.6.2",
|
|
20527
20544
|
"@lume/kiwi": "^0.4.3",
|
|
20528
|
-
"calculate-
|
|
20545
|
+
"calculate-cell-boundaries": "^0.0.1",
|
|
20546
|
+
"calculate-packing": "0.0.73",
|
|
20529
20547
|
"css-select": "5.1.0",
|
|
20530
20548
|
"format-si-unit": "^0.0.3",
|
|
20531
20549
|
nanoid: "^5.0.7",
|
|
@@ -25993,6 +26011,113 @@ var SchematicBox = class extends PrimitiveComponent2 {
|
|
|
25993
26011
|
}
|
|
25994
26012
|
};
|
|
25995
26013
|
|
|
26014
|
+
// lib/components/primitive-components/SchematicSection.ts
|
|
26015
|
+
import {
|
|
26016
|
+
calculateCellBoundaries,
|
|
26017
|
+
computeBoundsFromCellContents
|
|
26018
|
+
} from "calculate-cell-boundaries";
|
|
26019
|
+
import { schematicSectionProps } from "@tscircuit/props";
|
|
26020
|
+
var SchematicSection = class _SchematicSection extends PrimitiveComponent2 {
|
|
26021
|
+
isSchematicPrimitive = true;
|
|
26022
|
+
get config() {
|
|
26023
|
+
return {
|
|
26024
|
+
componentName: "SchematicSection",
|
|
26025
|
+
zodProps: schematicSectionProps
|
|
26026
|
+
};
|
|
26027
|
+
}
|
|
26028
|
+
_computeSectionBounds(board) {
|
|
26029
|
+
const { db } = this.root;
|
|
26030
|
+
const { name } = this._parsedProps;
|
|
26031
|
+
const members = board.getDescendants().filter((c) => c.props?.schSectionName === name);
|
|
26032
|
+
if (members.length === 0) return null;
|
|
26033
|
+
const positions = [];
|
|
26034
|
+
for (const member of members) {
|
|
26035
|
+
const schematicComponentId = member.schematic_component_id;
|
|
26036
|
+
if (!schematicComponentId) continue;
|
|
26037
|
+
const schComp = db.schematic_component.get(schematicComponentId);
|
|
26038
|
+
if (!schComp) continue;
|
|
26039
|
+
const hw = schComp.size.width / 2;
|
|
26040
|
+
const hh = schComp.size.height / 2;
|
|
26041
|
+
positions.push({
|
|
26042
|
+
minX: schComp.center.x - hw,
|
|
26043
|
+
maxX: schComp.center.x + hw,
|
|
26044
|
+
minY: schComp.center.y - hh,
|
|
26045
|
+
maxY: schComp.center.y + hh
|
|
26046
|
+
});
|
|
26047
|
+
}
|
|
26048
|
+
if (positions.length === 0) return null;
|
|
26049
|
+
return computeBoundsFromCellContents(positions);
|
|
26050
|
+
}
|
|
26051
|
+
doInitialSchematicSectionRender() {
|
|
26052
|
+
if (this.root?.schematicDisabled) return;
|
|
26053
|
+
const board = this.root?._getBoard();
|
|
26054
|
+
if (!board) return;
|
|
26055
|
+
const allSections = board.getDescendants().filter((c) => c instanceof _SchematicSection);
|
|
26056
|
+
if (allSections[0] !== this) return;
|
|
26057
|
+
const { db } = this.root;
|
|
26058
|
+
const PADDING = 0.5;
|
|
26059
|
+
const LABEL_PADDING = 0.2;
|
|
26060
|
+
const STROKE_WIDTH = 0.02;
|
|
26061
|
+
const TOL3 = 1e-3;
|
|
26062
|
+
const sectionData = allSections.map((section) => {
|
|
26063
|
+
const bounds = section._computeSectionBounds(board);
|
|
26064
|
+
if (!bounds) return null;
|
|
26065
|
+
return {
|
|
26066
|
+
section,
|
|
26067
|
+
rawBounds: bounds,
|
|
26068
|
+
cell: {
|
|
26069
|
+
minX: bounds.minX - PADDING,
|
|
26070
|
+
maxX: bounds.maxX + PADDING,
|
|
26071
|
+
minY: bounds.minY - PADDING,
|
|
26072
|
+
maxY: bounds.maxY + PADDING
|
|
26073
|
+
}
|
|
26074
|
+
};
|
|
26075
|
+
}).filter((s) => s !== null);
|
|
26076
|
+
if (sectionData.length === 0) return;
|
|
26077
|
+
const allCells = sectionData.map((s) => s.cell);
|
|
26078
|
+
const outer = computeBoundsFromCellContents(allCells);
|
|
26079
|
+
const dividers = calculateCellBoundaries(
|
|
26080
|
+
sectionData.map((s) => s.rawBounds)
|
|
26081
|
+
);
|
|
26082
|
+
for (const line of dividers) {
|
|
26083
|
+
db.schematic_line.insert({
|
|
26084
|
+
x1: line.start.x,
|
|
26085
|
+
y1: line.start.y,
|
|
26086
|
+
x2: line.end.x,
|
|
26087
|
+
y2: line.end.y,
|
|
26088
|
+
stroke_width: STROKE_WIDTH,
|
|
26089
|
+
color: "#000000",
|
|
26090
|
+
is_dashed: false
|
|
26091
|
+
});
|
|
26092
|
+
}
|
|
26093
|
+
const hDividers = dividers.filter(
|
|
26094
|
+
(l) => Math.abs(l.start.y - l.end.y) < TOL3
|
|
26095
|
+
);
|
|
26096
|
+
const vDividers = dividers.filter(
|
|
26097
|
+
(l) => Math.abs(l.start.x - l.end.x) < TOL3
|
|
26098
|
+
);
|
|
26099
|
+
for (const { section, cell, rawBounds } of sectionData) {
|
|
26100
|
+
const { displayName } = section._parsedProps;
|
|
26101
|
+
if (!displayName) continue;
|
|
26102
|
+
const dividersAbove = hDividers.map((l) => l.start.y).filter((y) => y > cell.minY);
|
|
26103
|
+
const topBoundary = dividersAbove.length > 0 ? Math.min(...dividersAbove) : outer.maxY;
|
|
26104
|
+
const dividersToLeft = vDividers.map((l) => l.start.x).filter((x) => x < rawBounds.minX);
|
|
26105
|
+
const leftBoundary = dividersToLeft.length > 0 ? Math.max(...dividersToLeft) : outer.minX;
|
|
26106
|
+
db.schematic_text.insert({
|
|
26107
|
+
anchor: "top_left",
|
|
26108
|
+
text: displayName,
|
|
26109
|
+
font_size: 0.18,
|
|
26110
|
+
color: "#000000",
|
|
26111
|
+
position: {
|
|
26112
|
+
x: leftBoundary + LABEL_PADDING,
|
|
26113
|
+
y: topBoundary - LABEL_PADDING
|
|
26114
|
+
},
|
|
26115
|
+
rotation: 0
|
|
26116
|
+
});
|
|
26117
|
+
}
|
|
26118
|
+
}
|
|
26119
|
+
};
|
|
26120
|
+
|
|
25996
26121
|
// lib/components/primitive-components/SchematicTable.ts
|
|
25997
26122
|
import { schematicTableProps } from "@tscircuit/props";
|
|
25998
26123
|
var SchematicTable = class extends PrimitiveComponent2 {
|
|
@@ -26861,6 +26986,7 @@ export {
|
|
|
26861
26986
|
SchematicPath,
|
|
26862
26987
|
SchematicRect,
|
|
26863
26988
|
SchematicRow,
|
|
26989
|
+
SchematicSection,
|
|
26864
26990
|
SchematicTable,
|
|
26865
26991
|
SchematicText,
|
|
26866
26992
|
SilkscreenCircle,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tscircuit/core",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.1218",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"module": "dist/index.js",
|
|
@@ -47,9 +47,9 @@
|
|
|
47
47
|
"@tscircuit/math-utils": "^0.0.36",
|
|
48
48
|
"@tscircuit/miniflex": "^0.0.4",
|
|
49
49
|
"@tscircuit/ngspice-spice-engine": "^0.0.8",
|
|
50
|
-
"@tscircuit/props": "^0.0.
|
|
50
|
+
"@tscircuit/props": "^0.0.522",
|
|
51
51
|
"@tscircuit/schematic-match-adapt": "^0.0.16",
|
|
52
|
-
"@tscircuit/schematic-trace-solver": "^0.0.
|
|
52
|
+
"@tscircuit/schematic-trace-solver": "^0.0.55",
|
|
53
53
|
"@tscircuit/solver-utils": "^0.0.3",
|
|
54
54
|
"@tscircuit/soup-util": "^0.0.41",
|
|
55
55
|
"@types/bun": "^1.2.16",
|
|
@@ -107,7 +107,8 @@
|
|
|
107
107
|
"dependencies": {
|
|
108
108
|
"@flatten-js/core": "^1.6.2",
|
|
109
109
|
"@lume/kiwi": "^0.4.3",
|
|
110
|
-
"calculate-
|
|
110
|
+
"calculate-cell-boundaries": "^0.0.1",
|
|
111
|
+
"calculate-packing": "0.0.73",
|
|
111
112
|
"css-select": "5.1.0",
|
|
112
113
|
"format-si-unit": "^0.0.3",
|
|
113
114
|
"nanoid": "^5.0.7",
|