@tscircuit/core 0.0.2144 → 0.0.2146

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -4094,6 +4094,8 @@ declare abstract class PrimitiveComponent<ZodProps extends ZodType = any> extend
4094
4094
  _computePcbGlobalTransformBeforeLayout(): Matrix;
4095
4095
  private _getEnclosingFootprint;
4096
4096
  getPrimitiveContainer(): PrimitiveComponent | null;
4097
+ /** Resolve mounting intent from the container owning this primitive. */
4098
+ _getIsSmt(): boolean;
4097
4099
  /**
4098
4100
  * Get the Symbol ancestor if this component is inside a Symbol primitive container.
4099
4101
  * Used by schematic primitives to access the symbol's resize transform.
@@ -4685,6 +4687,7 @@ declare class NormalComponent<ZodProps extends z.ZodType = any, PortNames extend
4685
4687
  _resolvedPcbCalcOffsetY: number | undefined;
4686
4688
  isPrimitiveContainer: boolean;
4687
4689
  _isNormalComponent: boolean;
4690
+ _getIsSmt(): boolean;
4688
4691
  _attributeLowerToCamelNameMap: {
4689
4692
  _isnormalcomponent: string;
4690
4693
  };
@@ -16448,6 +16451,7 @@ declare class Capacitor extends NormalComponent<typeof capacitorProps, Polarized
16448
16451
  children: zod.ZodOptional<zod.ZodAny>;
16449
16452
  symbolName: zod.ZodOptional<zod.ZodString>;
16450
16453
  doNotPlace: zod.ZodOptional<zod.ZodBoolean>;
16454
+ isSmt: zod.ZodOptional<zod.ZodBoolean>;
16451
16455
  allowOffBoard: zod.ZodOptional<zod.ZodBoolean>;
16452
16456
  obstructsWithinBounds: zod.ZodOptional<zod.ZodBoolean>;
16453
16457
  showAsTranslucentModel: zod.ZodOptional<zod.ZodBoolean>;
@@ -17252,6 +17256,7 @@ declare class Capacitor extends NormalComponent<typeof capacitorProps, Polarized
17252
17256
  onBoard?: boolean | undefined;
17253
17257
  } | undefined;
17254
17258
  doNotPlace?: boolean | undefined;
17259
+ isSmt?: boolean | undefined;
17255
17260
  allowOffBoard?: boolean | undefined;
17256
17261
  obstructsWithinBounds?: boolean | undefined;
17257
17262
  mpn?: string | undefined;
@@ -17938,6 +17943,7 @@ declare class Capacitor extends NormalComponent<typeof capacitorProps, Polarized
17938
17943
  onBoard?: boolean | undefined;
17939
17944
  } | undefined;
17940
17945
  doNotPlace?: boolean | undefined;
17946
+ isSmt?: boolean | undefined;
17941
17947
  allowOffBoard?: boolean | undefined;
17942
17948
  obstructsWithinBounds?: boolean | undefined;
17943
17949
  mpn?: string | undefined;
@@ -21761,6 +21767,7 @@ declare class Antenna extends NormalComponent<typeof antennaProps, "pin1" | "fee
21761
21767
  children: zod.ZodOptional<zod.ZodAny>;
21762
21768
  symbolName: zod.ZodOptional<zod.ZodString>;
21763
21769
  doNotPlace: zod.ZodOptional<zod.ZodBoolean>;
21770
+ isSmt: zod.ZodOptional<zod.ZodBoolean>;
21764
21771
  allowOffBoard: zod.ZodOptional<zod.ZodBoolean>;
21765
21772
  obstructsWithinBounds: zod.ZodOptional<zod.ZodBoolean>;
21766
21773
  showAsTranslucentModel: zod.ZodOptional<zod.ZodBoolean>;
@@ -22608,6 +22615,7 @@ declare class Antenna extends NormalComponent<typeof antennaProps, "pin1" | "fee
22608
22615
  onBoard?: boolean | undefined;
22609
22616
  } | undefined;
22610
22617
  doNotPlace?: boolean | undefined;
22618
+ isSmt?: boolean | undefined;
22611
22619
  allowOffBoard?: boolean | undefined;
22612
22620
  obstructsWithinBounds?: boolean | undefined;
22613
22621
  mpn?: string | undefined;
@@ -23293,6 +23301,7 @@ declare class Antenna extends NormalComponent<typeof antennaProps, "pin1" | "fee
23293
23301
  onBoard?: boolean | undefined;
23294
23302
  } | undefined;
23295
23303
  doNotPlace?: boolean | undefined;
23304
+ isSmt?: boolean | undefined;
23296
23305
  allowOffBoard?: boolean | undefined;
23297
23306
  obstructsWithinBounds?: boolean | undefined;
23298
23307
  mpn?: string | undefined;
@@ -27117,6 +27126,7 @@ declare class Chip<PinLabels extends string = never> extends NormalComponent<typ
27117
27126
  children: zod.ZodOptional<zod.ZodAny>;
27118
27127
  symbolName: zod.ZodOptional<zod.ZodString>;
27119
27128
  doNotPlace: zod.ZodOptional<zod.ZodBoolean>;
27129
+ isSmt: zod.ZodOptional<zod.ZodBoolean>;
27120
27130
  allowOffBoard: zod.ZodOptional<zod.ZodBoolean>;
27121
27131
  obstructsWithinBounds: zod.ZodOptional<zod.ZodBoolean>;
27122
27132
  showAsTranslucentModel: zod.ZodOptional<zod.ZodBoolean>;
@@ -28207,6 +28217,7 @@ declare class Chip<PinLabels extends string = never> extends NormalComponent<typ
28207
28217
  onBoard?: boolean | undefined;
28208
28218
  } | undefined;
28209
28219
  doNotPlace?: boolean | undefined;
28220
+ isSmt?: boolean | undefined;
28210
28221
  allowOffBoard?: boolean | undefined;
28211
28222
  obstructsWithinBounds?: boolean | undefined;
28212
28223
  mpn?: string | undefined;
@@ -28962,6 +28973,7 @@ declare class Chip<PinLabels extends string = never> extends NormalComponent<typ
28962
28973
  onBoard?: boolean | undefined;
28963
28974
  } | undefined;
28964
28975
  doNotPlace?: boolean | undefined;
28976
+ isSmt?: boolean | undefined;
28965
28977
  allowOffBoard?: boolean | undefined;
28966
28978
  obstructsWithinBounds?: boolean | undefined;
28967
28979
  mpn?: string | undefined;
@@ -32854,6 +32866,7 @@ declare class Pinout<PinLabels extends string = never> extends Chip<PinLabels> {
32854
32866
  children: z.ZodOptional<z.ZodAny>;
32855
32867
  symbolName: z.ZodOptional<z.ZodString>;
32856
32868
  doNotPlace: z.ZodOptional<z.ZodBoolean>;
32869
+ isSmt: z.ZodOptional<z.ZodBoolean>;
32857
32870
  allowOffBoard: z.ZodOptional<z.ZodBoolean>;
32858
32871
  obstructsWithinBounds: z.ZodOptional<z.ZodBoolean>;
32859
32872
  showAsTranslucentModel: z.ZodOptional<z.ZodBoolean>;
@@ -33944,6 +33957,7 @@ declare class Pinout<PinLabels extends string = never> extends Chip<PinLabels> {
33944
33957
  onBoard?: boolean | undefined;
33945
33958
  } | undefined;
33946
33959
  doNotPlace?: boolean | undefined;
33960
+ isSmt?: boolean | undefined;
33947
33961
  allowOffBoard?: boolean | undefined;
33948
33962
  obstructsWithinBounds?: boolean | undefined;
33949
33963
  mpn?: string | undefined;
@@ -34699,6 +34713,7 @@ declare class Pinout<PinLabels extends string = never> extends Chip<PinLabels> {
34699
34713
  onBoard?: boolean | undefined;
34700
34714
  } | undefined;
34701
34715
  doNotPlace?: boolean | undefined;
34716
+ isSmt?: boolean | undefined;
34702
34717
  allowOffBoard?: boolean | undefined;
34703
34718
  obstructsWithinBounds?: boolean | undefined;
34704
34719
  mpn?: string | undefined;
@@ -38586,6 +38601,7 @@ declare class Diode extends NormalComponent<typeof diodeProps, PolarizedPassiveP
38586
38601
  children: zod.ZodOptional<zod.ZodAny>;
38587
38602
  symbolName: zod.ZodOptional<zod.ZodString>;
38588
38603
  doNotPlace: zod.ZodOptional<zod.ZodBoolean>;
38604
+ isSmt: zod.ZodOptional<zod.ZodBoolean>;
38589
38605
  allowOffBoard: zod.ZodOptional<zod.ZodBoolean>;
38590
38606
  obstructsWithinBounds: zod.ZodOptional<zod.ZodBoolean>;
38591
38607
  showAsTranslucentModel: zod.ZodOptional<zod.ZodBoolean>;
@@ -39388,6 +39404,7 @@ declare class Diode extends NormalComponent<typeof diodeProps, PolarizedPassiveP
39388
39404
  onBoard?: boolean | undefined;
39389
39405
  } | undefined;
39390
39406
  doNotPlace?: boolean | undefined;
39407
+ isSmt?: boolean | undefined;
39391
39408
  allowOffBoard?: boolean | undefined;
39392
39409
  obstructsWithinBounds?: boolean | undefined;
39393
39410
  mpn?: string | undefined;
@@ -40074,6 +40091,7 @@ declare class Diode extends NormalComponent<typeof diodeProps, PolarizedPassiveP
40074
40091
  onBoard?: boolean | undefined;
40075
40092
  } | undefined;
40076
40093
  doNotPlace?: boolean | undefined;
40094
+ isSmt?: boolean | undefined;
40077
40095
  allowOffBoard?: boolean | undefined;
40078
40096
  obstructsWithinBounds?: boolean | undefined;
40079
40097
  mpn?: string | undefined;
@@ -40760,6 +40778,7 @@ declare class Diode extends NormalComponent<typeof diodeProps, PolarizedPassiveP
40760
40778
  onBoard?: boolean | undefined;
40761
40779
  } | undefined;
40762
40780
  doNotPlace?: boolean | undefined;
40781
+ isSmt?: boolean | undefined;
40763
40782
  allowOffBoard?: boolean | undefined;
40764
40783
  obstructsWithinBounds?: boolean | undefined;
40765
40784
  mpn?: string | undefined;
@@ -41446,6 +41465,7 @@ declare class Diode extends NormalComponent<typeof diodeProps, PolarizedPassiveP
41446
41465
  onBoard?: boolean | undefined;
41447
41466
  } | undefined;
41448
41467
  doNotPlace?: boolean | undefined;
41468
+ isSmt?: boolean | undefined;
41449
41469
  allowOffBoard?: boolean | undefined;
41450
41470
  obstructsWithinBounds?: boolean | undefined;
41451
41471
  mpn?: string | undefined;
@@ -42137,6 +42157,7 @@ declare class Diode extends NormalComponent<typeof diodeProps, PolarizedPassiveP
42137
42157
  onBoard?: boolean | undefined;
42138
42158
  } | undefined;
42139
42159
  doNotPlace?: boolean | undefined;
42160
+ isSmt?: boolean | undefined;
42140
42161
  allowOffBoard?: boolean | undefined;
42141
42162
  obstructsWithinBounds?: boolean | undefined;
42142
42163
  mpn?: string | undefined;
@@ -42818,6 +42839,7 @@ declare class Diode extends NormalComponent<typeof diodeProps, PolarizedPassiveP
42818
42839
  onBoard?: boolean | undefined;
42819
42840
  } | undefined;
42820
42841
  doNotPlace?: boolean | undefined;
42842
+ isSmt?: boolean | undefined;
42821
42843
  allowOffBoard?: boolean | undefined;
42822
42844
  obstructsWithinBounds?: boolean | undefined;
42823
42845
  mpn?: string | undefined;
@@ -46641,6 +46663,7 @@ declare class Fuse extends NormalComponent<typeof fuseProps, PassivePorts> {
46641
46663
  children: zod.ZodOptional<zod.ZodAny>;
46642
46664
  symbolName: zod.ZodOptional<zod.ZodString>;
46643
46665
  doNotPlace: zod.ZodOptional<zod.ZodBoolean>;
46666
+ isSmt: zod.ZodOptional<zod.ZodBoolean>;
46644
46667
  allowOffBoard: zod.ZodOptional<zod.ZodBoolean>;
46645
46668
  obstructsWithinBounds: zod.ZodOptional<zod.ZodBoolean>;
46646
46669
  showAsTranslucentModel: zod.ZodOptional<zod.ZodBoolean>;
@@ -47436,6 +47459,7 @@ declare class Fuse extends NormalComponent<typeof fuseProps, PassivePorts> {
47436
47459
  onBoard?: boolean | undefined;
47437
47460
  } | undefined;
47438
47461
  doNotPlace?: boolean | undefined;
47462
+ isSmt?: boolean | undefined;
47439
47463
  allowOffBoard?: boolean | undefined;
47440
47464
  obstructsWithinBounds?: boolean | undefined;
47441
47465
  mpn?: string | undefined;
@@ -48117,6 +48141,7 @@ declare class Fuse extends NormalComponent<typeof fuseProps, PassivePorts> {
48117
48141
  onBoard?: boolean | undefined;
48118
48142
  } | undefined;
48119
48143
  doNotPlace?: boolean | undefined;
48144
+ isSmt?: boolean | undefined;
48120
48145
  allowOffBoard?: boolean | undefined;
48121
48146
  obstructsWithinBounds?: boolean | undefined;
48122
48147
  mpn?: string | undefined;
@@ -51928,6 +51953,7 @@ declare class Jumper<PinLabels extends string = never> extends NormalComponent<t
51928
51953
  children: zod.ZodOptional<zod.ZodAny>;
51929
51954
  symbolName: zod.ZodOptional<zod.ZodString>;
51930
51955
  doNotPlace: zod.ZodOptional<zod.ZodBoolean>;
51956
+ isSmt: zod.ZodOptional<zod.ZodBoolean>;
51931
51957
  allowOffBoard: zod.ZodOptional<zod.ZodBoolean>;
51932
51958
  obstructsWithinBounds: zod.ZodOptional<zod.ZodBoolean>;
51933
51959
  showAsTranslucentModel: zod.ZodOptional<zod.ZodBoolean>;
@@ -53002,6 +53028,7 @@ declare class Jumper<PinLabels extends string = never> extends NormalComponent<t
53002
53028
  onBoard?: boolean | undefined;
53003
53029
  } | undefined;
53004
53030
  doNotPlace?: boolean | undefined;
53031
+ isSmt?: boolean | undefined;
53005
53032
  allowOffBoard?: boolean | undefined;
53006
53033
  obstructsWithinBounds?: boolean | undefined;
53007
53034
  mpn?: string | undefined;
@@ -53749,6 +53776,7 @@ declare class Jumper<PinLabels extends string = never> extends NormalComponent<t
53749
53776
  onBoard?: boolean | undefined;
53750
53777
  } | undefined;
53751
53778
  doNotPlace?: boolean | undefined;
53779
+ isSmt?: boolean | undefined;
53752
53780
  allowOffBoard?: boolean | undefined;
53753
53781
  obstructsWithinBounds?: boolean | undefined;
53754
53782
  mpn?: string | undefined;
@@ -57629,6 +57657,7 @@ declare class Interconnect extends NormalComponent<typeof interconnectProps> {
57629
57657
  children: zod.ZodOptional<zod.ZodAny>;
57630
57658
  symbolName: zod.ZodOptional<zod.ZodString>;
57631
57659
  doNotPlace: zod.ZodOptional<zod.ZodBoolean>;
57660
+ isSmt: zod.ZodOptional<zod.ZodBoolean>;
57632
57661
  allowOffBoard: zod.ZodOptional<zod.ZodBoolean>;
57633
57662
  obstructsWithinBounds: zod.ZodOptional<zod.ZodBoolean>;
57634
57663
  showAsTranslucentModel: zod.ZodOptional<zod.ZodBoolean>;
@@ -58422,6 +58451,7 @@ declare class Interconnect extends NormalComponent<typeof interconnectProps> {
58422
58451
  onBoard?: boolean | undefined;
58423
58452
  } | undefined;
58424
58453
  doNotPlace?: boolean | undefined;
58454
+ isSmt?: boolean | undefined;
58425
58455
  allowOffBoard?: boolean | undefined;
58426
58456
  obstructsWithinBounds?: boolean | undefined;
58427
58457
  mpn?: string | undefined;
@@ -59101,6 +59131,7 @@ declare class Interconnect extends NormalComponent<typeof interconnectProps> {
59101
59131
  onBoard?: boolean | undefined;
59102
59132
  } | undefined;
59103
59133
  doNotPlace?: boolean | undefined;
59134
+ isSmt?: boolean | undefined;
59104
59135
  allowOffBoard?: boolean | undefined;
59105
59136
  obstructsWithinBounds?: boolean | undefined;
59106
59137
  mpn?: string | undefined;
@@ -62928,6 +62959,7 @@ declare class SolderJumper<PinLabels extends string = never> extends NormalCompo
62928
62959
  children: zod.ZodOptional<zod.ZodAny>;
62929
62960
  symbolName: zod.ZodOptional<zod.ZodString>;
62930
62961
  doNotPlace: zod.ZodOptional<zod.ZodBoolean>;
62962
+ isSmt: zod.ZodOptional<zod.ZodBoolean>;
62931
62963
  allowOffBoard: zod.ZodOptional<zod.ZodBoolean>;
62932
62964
  obstructsWithinBounds: zod.ZodOptional<zod.ZodBoolean>;
62933
62965
  showAsTranslucentModel: zod.ZodOptional<zod.ZodBoolean>;
@@ -64005,6 +64037,7 @@ declare class SolderJumper<PinLabels extends string = never> extends NormalCompo
64005
64037
  onBoard?: boolean | undefined;
64006
64038
  } | undefined;
64007
64039
  doNotPlace?: boolean | undefined;
64040
+ isSmt?: boolean | undefined;
64008
64041
  allowOffBoard?: boolean | undefined;
64009
64042
  obstructsWithinBounds?: boolean | undefined;
64010
64043
  mpn?: string | undefined;
@@ -64754,6 +64787,7 @@ declare class SolderJumper<PinLabels extends string = never> extends NormalCompo
64754
64787
  onBoard?: boolean | undefined;
64755
64788
  } | undefined;
64756
64789
  doNotPlace?: boolean | undefined;
64790
+ isSmt?: boolean | undefined;
64757
64791
  allowOffBoard?: boolean | undefined;
64758
64792
  obstructsWithinBounds?: boolean | undefined;
64759
64793
  mpn?: string | undefined;
@@ -68637,6 +68671,7 @@ declare class Led extends NormalComponent<typeof ledProps, PolarizedPassivePorts
68637
68671
  children: zod.ZodOptional<zod.ZodAny>;
68638
68672
  symbolName: zod.ZodOptional<zod.ZodString>;
68639
68673
  doNotPlace: zod.ZodOptional<zod.ZodBoolean>;
68674
+ isSmt: zod.ZodOptional<zod.ZodBoolean>;
68640
68675
  allowOffBoard: zod.ZodOptional<zod.ZodBoolean>;
68641
68676
  obstructsWithinBounds: zod.ZodOptional<zod.ZodBoolean>;
68642
68677
  showAsTranslucentModel: zod.ZodOptional<zod.ZodBoolean>;
@@ -69438,6 +69473,7 @@ declare class Led extends NormalComponent<typeof ledProps, PolarizedPassivePorts
69438
69473
  onBoard?: boolean | undefined;
69439
69474
  } | undefined;
69440
69475
  doNotPlace?: boolean | undefined;
69476
+ isSmt?: boolean | undefined;
69441
69477
  allowOffBoard?: boolean | undefined;
69442
69478
  obstructsWithinBounds?: boolean | undefined;
69443
69479
  mpn?: string | undefined;
@@ -70125,6 +70161,7 @@ declare class Led extends NormalComponent<typeof ledProps, PolarizedPassivePorts
70125
70161
  onBoard?: boolean | undefined;
70126
70162
  } | undefined;
70127
70163
  doNotPlace?: boolean | undefined;
70164
+ isSmt?: boolean | undefined;
70128
70165
  allowOffBoard?: boolean | undefined;
70129
70166
  obstructsWithinBounds?: boolean | undefined;
70130
70167
  mpn?: string | undefined;
@@ -73947,6 +73984,7 @@ declare class PowerSource extends NormalComponent<typeof powerSourceProps, Polar
73947
73984
  children: zod.ZodOptional<zod.ZodAny>;
73948
73985
  symbolName: zod.ZodOptional<zod.ZodString>;
73949
73986
  doNotPlace: zod.ZodOptional<zod.ZodBoolean>;
73987
+ isSmt: zod.ZodOptional<zod.ZodBoolean>;
73950
73988
  allowOffBoard: zod.ZodOptional<zod.ZodBoolean>;
73951
73989
  obstructsWithinBounds: zod.ZodOptional<zod.ZodBoolean>;
73952
73990
  showAsTranslucentModel: zod.ZodOptional<zod.ZodBoolean>;
@@ -74738,6 +74776,7 @@ declare class PowerSource extends NormalComponent<typeof powerSourceProps, Polar
74738
74776
  onBoard?: boolean | undefined;
74739
74777
  } | undefined;
74740
74778
  doNotPlace?: boolean | undefined;
74779
+ isSmt?: boolean | undefined;
74741
74780
  allowOffBoard?: boolean | undefined;
74742
74781
  obstructsWithinBounds?: boolean | undefined;
74743
74782
  mpn?: string | undefined;
@@ -75415,6 +75454,7 @@ declare class PowerSource extends NormalComponent<typeof powerSourceProps, Polar
75415
75454
  onBoard?: boolean | undefined;
75416
75455
  } | undefined;
75417
75456
  doNotPlace?: boolean | undefined;
75457
+ isSmt?: boolean | undefined;
75418
75458
  allowOffBoard?: boolean | undefined;
75419
75459
  obstructsWithinBounds?: boolean | undefined;
75420
75460
  mpn?: string | undefined;
@@ -79229,6 +79269,7 @@ declare class VoltageSource extends NormalComponent<typeof voltageSourceProps, "
79229
79269
  children: zod.ZodOptional<zod.ZodAny>;
79230
79270
  symbolName: zod.ZodOptional<zod.ZodString>;
79231
79271
  doNotPlace: zod.ZodOptional<zod.ZodBoolean>;
79272
+ isSmt: zod.ZodOptional<zod.ZodBoolean>;
79232
79273
  allowOffBoard: zod.ZodOptional<zod.ZodBoolean>;
79233
79274
  obstructsWithinBounds: zod.ZodOptional<zod.ZodBoolean>;
79234
79275
  showAsTranslucentModel: zod.ZodOptional<zod.ZodBoolean>;
@@ -80032,6 +80073,7 @@ declare class VoltageSource extends NormalComponent<typeof voltageSourceProps, "
80032
80073
  onBoard?: boolean | undefined;
80033
80074
  } | undefined;
80034
80075
  doNotPlace?: boolean | undefined;
80076
+ isSmt?: boolean | undefined;
80035
80077
  allowOffBoard?: boolean | undefined;
80036
80078
  obstructsWithinBounds?: boolean | undefined;
80037
80079
  mpn?: string | undefined;
@@ -80722,6 +80764,7 @@ declare class VoltageSource extends NormalComponent<typeof voltageSourceProps, "
80722
80764
  onBoard?: boolean | undefined;
80723
80765
  } | undefined;
80724
80766
  doNotPlace?: boolean | undefined;
80767
+ isSmt?: boolean | undefined;
80725
80768
  allowOffBoard?: boolean | undefined;
80726
80769
  obstructsWithinBounds?: boolean | undefined;
80727
80770
  mpn?: string | undefined;
@@ -84552,6 +84595,7 @@ declare class CurrentSource extends NormalComponent<typeof currentSourceProps, "
84552
84595
  children: zod.ZodOptional<zod.ZodAny>;
84553
84596
  symbolName: zod.ZodOptional<zod.ZodString>;
84554
84597
  doNotPlace: zod.ZodOptional<zod.ZodBoolean>;
84598
+ isSmt: zod.ZodOptional<zod.ZodBoolean>;
84555
84599
  allowOffBoard: zod.ZodOptional<zod.ZodBoolean>;
84556
84600
  obstructsWithinBounds: zod.ZodOptional<zod.ZodBoolean>;
84557
84601
  showAsTranslucentModel: zod.ZodOptional<zod.ZodBoolean>;
@@ -85350,6 +85394,7 @@ declare class CurrentSource extends NormalComponent<typeof currentSourceProps, "
85350
85394
  onBoard?: boolean | undefined;
85351
85395
  } | undefined;
85352
85396
  doNotPlace?: boolean | undefined;
85397
+ isSmt?: boolean | undefined;
85353
85398
  allowOffBoard?: boolean | undefined;
85354
85399
  obstructsWithinBounds?: boolean | undefined;
85355
85400
  mpn?: string | undefined;
@@ -86035,6 +86080,7 @@ declare class CurrentSource extends NormalComponent<typeof currentSourceProps, "
86035
86080
  onBoard?: boolean | undefined;
86036
86081
  } | undefined;
86037
86082
  doNotPlace?: boolean | undefined;
86083
+ isSmt?: boolean | undefined;
86038
86084
  allowOffBoard?: boolean | undefined;
86039
86085
  obstructsWithinBounds?: boolean | undefined;
86040
86086
  mpn?: string | undefined;
@@ -89859,6 +89905,7 @@ declare class Ammeter extends NormalComponent<typeof ammeterProps, "pos" | "neg"
89859
89905
  children: zod.ZodOptional<zod.ZodAny>;
89860
89906
  symbolName: zod.ZodOptional<zod.ZodString>;
89861
89907
  doNotPlace: zod.ZodOptional<zod.ZodBoolean>;
89908
+ isSmt: zod.ZodOptional<zod.ZodBoolean>;
89862
89909
  allowOffBoard: zod.ZodOptional<zod.ZodBoolean>;
89863
89910
  obstructsWithinBounds: zod.ZodOptional<zod.ZodBoolean>;
89864
89911
  showAsTranslucentModel: zod.ZodOptional<zod.ZodBoolean>;
@@ -90656,6 +90703,7 @@ declare class Ammeter extends NormalComponent<typeof ammeterProps, "pos" | "neg"
90656
90703
  onBoard?: boolean | undefined;
90657
90704
  } | undefined;
90658
90705
  doNotPlace?: boolean | undefined;
90706
+ isSmt?: boolean | undefined;
90659
90707
  allowOffBoard?: boolean | undefined;
90660
90708
  obstructsWithinBounds?: boolean | undefined;
90661
90709
  mpn?: string | undefined;
@@ -91338,6 +91386,7 @@ declare class Ammeter extends NormalComponent<typeof ammeterProps, "pos" | "neg"
91338
91386
  onBoard?: boolean | undefined;
91339
91387
  } | undefined;
91340
91388
  doNotPlace?: boolean | undefined;
91389
+ isSmt?: boolean | undefined;
91341
91390
  allowOffBoard?: boolean | undefined;
91342
91391
  obstructsWithinBounds?: boolean | undefined;
91343
91392
  mpn?: string | undefined;
@@ -95154,6 +95203,7 @@ declare class Resistor extends NormalComponent<typeof resistorProps, PassivePort
95154
95203
  children: zod.ZodOptional<zod.ZodAny>;
95155
95204
  symbolName: zod.ZodOptional<zod.ZodString>;
95156
95205
  doNotPlace: zod.ZodOptional<zod.ZodBoolean>;
95206
+ isSmt: zod.ZodOptional<zod.ZodBoolean>;
95157
95207
  allowOffBoard: zod.ZodOptional<zod.ZodBoolean>;
95158
95208
  obstructsWithinBounds: zod.ZodOptional<zod.ZodBoolean>;
95159
95209
  showAsTranslucentModel: zod.ZodOptional<zod.ZodBoolean>;
@@ -95954,6 +96004,7 @@ declare class Resistor extends NormalComponent<typeof resistorProps, PassivePort
95954
96004
  onBoard?: boolean | undefined;
95955
96005
  } | undefined;
95956
96006
  doNotPlace?: boolean | undefined;
96007
+ isSmt?: boolean | undefined;
95957
96008
  allowOffBoard?: boolean | undefined;
95958
96009
  obstructsWithinBounds?: boolean | undefined;
95959
96010
  mpn?: string | undefined;
@@ -96639,6 +96690,7 @@ declare class Resistor extends NormalComponent<typeof resistorProps, PassivePort
96639
96690
  onBoard?: boolean | undefined;
96640
96691
  } | undefined;
96641
96692
  doNotPlace?: boolean | undefined;
96693
+ isSmt?: boolean | undefined;
96642
96694
  allowOffBoard?: boolean | undefined;
96643
96695
  obstructsWithinBounds?: boolean | undefined;
96644
96696
  mpn?: string | undefined;
@@ -108641,6 +108693,7 @@ declare class Fiducial extends PrimitiveComponent<typeof fiducialProps> {
108641
108693
  children: z.ZodOptional<z.ZodAny>;
108642
108694
  symbolName: z.ZodOptional<z.ZodString>;
108643
108695
  doNotPlace: z.ZodOptional<z.ZodBoolean>;
108696
+ isSmt: z.ZodOptional<z.ZodBoolean>;
108644
108697
  allowOffBoard: z.ZodOptional<z.ZodBoolean>;
108645
108698
  obstructsWithinBounds: z.ZodOptional<z.ZodBoolean>;
108646
108699
  showAsTranslucentModel: z.ZodOptional<z.ZodBoolean>;
@@ -109433,6 +109486,7 @@ declare class Fiducial extends PrimitiveComponent<typeof fiducialProps> {
109433
109486
  onBoard?: boolean | undefined;
109434
109487
  } | undefined;
109435
109488
  doNotPlace?: boolean | undefined;
109489
+ isSmt?: boolean | undefined;
109436
109490
  allowOffBoard?: boolean | undefined;
109437
109491
  obstructsWithinBounds?: boolean | undefined;
109438
109492
  mpn?: string | undefined;
@@ -110111,6 +110165,7 @@ declare class Fiducial extends PrimitiveComponent<typeof fiducialProps> {
110111
110165
  onBoard?: boolean | undefined;
110112
110166
  } | undefined;
110113
110167
  doNotPlace?: boolean | undefined;
110168
+ isSmt?: boolean | undefined;
110114
110169
  allowOffBoard?: boolean | undefined;
110115
110170
  obstructsWithinBounds?: boolean | undefined;
110116
110171
  mpn?: string | undefined;
@@ -122494,6 +122549,7 @@ declare class Battery extends NormalComponent<typeof batteryProps, PassivePorts>
122494
122549
  children: zod.ZodOptional<zod.ZodAny>;
122495
122550
  symbolName: zod.ZodOptional<zod.ZodString>;
122496
122551
  doNotPlace: zod.ZodOptional<zod.ZodBoolean>;
122552
+ isSmt: zod.ZodOptional<zod.ZodBoolean>;
122497
122553
  allowOffBoard: zod.ZodOptional<zod.ZodBoolean>;
122498
122554
  obstructsWithinBounds: zod.ZodOptional<zod.ZodBoolean>;
122499
122555
  showAsTranslucentModel: zod.ZodOptional<zod.ZodBoolean>;
@@ -123289,6 +123345,7 @@ declare class Battery extends NormalComponent<typeof batteryProps, PassivePorts>
123289
123345
  onBoard?: boolean | undefined;
123290
123346
  } | undefined;
123291
123347
  doNotPlace?: boolean | undefined;
123348
+ isSmt?: boolean | undefined;
123292
123349
  allowOffBoard?: boolean | undefined;
123293
123350
  obstructsWithinBounds?: boolean | undefined;
123294
123351
  mpn?: string | undefined;
@@ -123970,6 +124027,7 @@ declare class Battery extends NormalComponent<typeof batteryProps, PassivePorts>
123970
124027
  onBoard?: boolean | undefined;
123971
124028
  } | undefined;
123972
124029
  doNotPlace?: boolean | undefined;
124030
+ isSmt?: boolean | undefined;
123973
124031
  allowOffBoard?: boolean | undefined;
123974
124032
  obstructsWithinBounds?: boolean | undefined;
123975
124033
  mpn?: string | undefined;
@@ -127792,6 +127850,7 @@ declare class Connector<PinLabels extends string = never> extends Chip<PinLabels
127792
127850
  children: zod.ZodOptional<zod.ZodAny>;
127793
127851
  symbolName: zod.ZodOptional<zod.ZodString>;
127794
127852
  doNotPlace: zod.ZodOptional<zod.ZodBoolean>;
127853
+ isSmt: zod.ZodOptional<zod.ZodBoolean>;
127795
127854
  allowOffBoard: zod.ZodOptional<zod.ZodBoolean>;
127796
127855
  obstructsWithinBounds: zod.ZodOptional<zod.ZodBoolean>;
127797
127856
  showAsTranslucentModel: zod.ZodOptional<zod.ZodBoolean>;
@@ -128886,6 +128945,7 @@ declare class Connector<PinLabels extends string = never> extends Chip<PinLabels
128886
128945
  onBoard?: boolean | undefined;
128887
128946
  } | undefined;
128888
128947
  doNotPlace?: boolean | undefined;
128948
+ isSmt?: boolean | undefined;
128889
128949
  allowOffBoard?: boolean | undefined;
128890
128950
  obstructsWithinBounds?: boolean | undefined;
128891
128951
  mpn?: string | undefined;
@@ -129643,6 +129703,7 @@ declare class Connector<PinLabels extends string = never> extends Chip<PinLabels
129643
129703
  onBoard?: boolean | undefined;
129644
129704
  } | undefined;
129645
129705
  doNotPlace?: boolean | undefined;
129706
+ isSmt?: boolean | undefined;
129646
129707
  allowOffBoard?: boolean | undefined;
129647
129708
  obstructsWithinBounds?: boolean | undefined;
129648
129709
  mpn?: string | undefined;
@@ -133537,6 +133598,7 @@ declare class PinHeader extends NormalComponent<typeof pinHeaderProps> {
133537
133598
  children: zod.ZodOptional<zod.ZodAny>;
133538
133599
  symbolName: zod.ZodOptional<zod.ZodString>;
133539
133600
  doNotPlace: zod.ZodOptional<zod.ZodBoolean>;
133601
+ isSmt: zod.ZodOptional<zod.ZodBoolean>;
133540
133602
  allowOffBoard: zod.ZodOptional<zod.ZodBoolean>;
133541
133603
  obstructsWithinBounds: zod.ZodOptional<zod.ZodBoolean>;
133542
133604
  showAsTranslucentModel: zod.ZodOptional<zod.ZodBoolean>;
@@ -134499,6 +134561,7 @@ declare class PinHeader extends NormalComponent<typeof pinHeaderProps> {
134499
134561
  onBoard?: boolean | undefined;
134500
134562
  } | undefined;
134501
134563
  doNotPlace?: boolean | undefined;
134564
+ isSmt?: boolean | undefined;
134502
134565
  allowOffBoard?: boolean | undefined;
134503
134566
  obstructsWithinBounds?: boolean | undefined;
134504
134567
  mpn?: string | undefined;
@@ -135229,6 +135292,7 @@ declare class PinHeader extends NormalComponent<typeof pinHeaderProps> {
135229
135292
  onBoard?: boolean | undefined;
135230
135293
  } | undefined;
135231
135294
  doNotPlace?: boolean | undefined;
135295
+ isSmt?: boolean | undefined;
135232
135296
  allowOffBoard?: boolean | undefined;
135233
135297
  obstructsWithinBounds?: boolean | undefined;
135234
135298
  mpn?: string | undefined;
@@ -135959,6 +136023,7 @@ declare class PinHeader extends NormalComponent<typeof pinHeaderProps> {
135959
136023
  onBoard?: boolean | undefined;
135960
136024
  } | undefined;
135961
136025
  doNotPlace?: boolean | undefined;
136026
+ isSmt?: boolean | undefined;
135962
136027
  allowOffBoard?: boolean | undefined;
135963
136028
  obstructsWithinBounds?: boolean | undefined;
135964
136029
  mpn?: string | undefined;
@@ -136689,6 +136754,7 @@ declare class PinHeader extends NormalComponent<typeof pinHeaderProps> {
136689
136754
  onBoard?: boolean | undefined;
136690
136755
  } | undefined;
136691
136756
  doNotPlace?: boolean | undefined;
136757
+ isSmt?: boolean | undefined;
136692
136758
  allowOffBoard?: boolean | undefined;
136693
136759
  obstructsWithinBounds?: boolean | undefined;
136694
136760
  mpn?: string | undefined;
@@ -137419,6 +137485,7 @@ declare class PinHeader extends NormalComponent<typeof pinHeaderProps> {
137419
137485
  onBoard?: boolean | undefined;
137420
137486
  } | undefined;
137421
137487
  doNotPlace?: boolean | undefined;
137488
+ isSmt?: boolean | undefined;
137422
137489
  allowOffBoard?: boolean | undefined;
137423
137490
  obstructsWithinBounds?: boolean | undefined;
137424
137491
  mpn?: string | undefined;
@@ -138149,6 +138216,7 @@ declare class PinHeader extends NormalComponent<typeof pinHeaderProps> {
138149
138216
  onBoard?: boolean | undefined;
138150
138217
  } | undefined;
138151
138218
  doNotPlace?: boolean | undefined;
138219
+ isSmt?: boolean | undefined;
138152
138220
  allowOffBoard?: boolean | undefined;
138153
138221
  obstructsWithinBounds?: boolean | undefined;
138154
138222
  mpn?: string | undefined;
@@ -142013,6 +142081,7 @@ declare class Resonator extends NormalComponent<typeof resonatorProps> {
142013
142081
  children: zod.ZodOptional<zod.ZodAny>;
142014
142082
  symbolName: zod.ZodOptional<zod.ZodString>;
142015
142083
  doNotPlace: zod.ZodOptional<zod.ZodBoolean>;
142084
+ isSmt: zod.ZodOptional<zod.ZodBoolean>;
142016
142085
  allowOffBoard: zod.ZodOptional<zod.ZodBoolean>;
142017
142086
  obstructsWithinBounds: zod.ZodOptional<zod.ZodBoolean>;
142018
142087
  showAsTranslucentModel: zod.ZodOptional<zod.ZodBoolean>;
@@ -142807,6 +142876,7 @@ declare class Resonator extends NormalComponent<typeof resonatorProps> {
142807
142876
  onBoard?: boolean | undefined;
142808
142877
  } | undefined;
142809
142878
  doNotPlace?: boolean | undefined;
142879
+ isSmt?: boolean | undefined;
142810
142880
  allowOffBoard?: boolean | undefined;
142811
142881
  obstructsWithinBounds?: boolean | undefined;
142812
142882
  mpn?: string | undefined;
@@ -143486,6 +143556,7 @@ declare class Resonator extends NormalComponent<typeof resonatorProps> {
143486
143556
  onBoard?: boolean | undefined;
143487
143557
  } | undefined;
143488
143558
  doNotPlace?: boolean | undefined;
143559
+ isSmt?: boolean | undefined;
143489
143560
  allowOffBoard?: boolean | undefined;
143490
143561
  obstructsWithinBounds?: boolean | undefined;
143491
143562
  mpn?: string | undefined;
@@ -147296,6 +147367,7 @@ declare class Inductor extends NormalComponent<typeof inductorProps, PassivePort
147296
147367
  children: zod.ZodOptional<zod.ZodAny>;
147297
147368
  symbolName: zod.ZodOptional<zod.ZodString>;
147298
147369
  doNotPlace: zod.ZodOptional<zod.ZodBoolean>;
147370
+ isSmt: zod.ZodOptional<zod.ZodBoolean>;
147299
147371
  allowOffBoard: zod.ZodOptional<zod.ZodBoolean>;
147300
147372
  obstructsWithinBounds: zod.ZodOptional<zod.ZodBoolean>;
147301
147373
  showAsTranslucentModel: zod.ZodOptional<zod.ZodBoolean>;
@@ -148090,6 +148162,7 @@ declare class Inductor extends NormalComponent<typeof inductorProps, PassivePort
148090
148162
  onBoard?: boolean | undefined;
148091
148163
  } | undefined;
148092
148164
  doNotPlace?: boolean | undefined;
148165
+ isSmt?: boolean | undefined;
148093
148166
  allowOffBoard?: boolean | undefined;
148094
148167
  obstructsWithinBounds?: boolean | undefined;
148095
148168
  mpn?: string | undefined;
@@ -148770,6 +148843,7 @@ declare class Inductor extends NormalComponent<typeof inductorProps, PassivePort
148770
148843
  onBoard?: boolean | undefined;
148771
148844
  } | undefined;
148772
148845
  doNotPlace?: boolean | undefined;
148846
+ isSmt?: boolean | undefined;
148773
148847
  allowOffBoard?: boolean | undefined;
148774
148848
  obstructsWithinBounds?: boolean | undefined;
148775
148849
  mpn?: string | undefined;
@@ -152582,6 +152656,7 @@ declare class Potentiometer extends NormalComponent<typeof potentiometerProps> {
152582
152656
  children: zod.ZodOptional<zod.ZodAny>;
152583
152657
  symbolName: zod.ZodOptional<zod.ZodString>;
152584
152658
  doNotPlace: zod.ZodOptional<zod.ZodBoolean>;
152659
+ isSmt: zod.ZodOptional<zod.ZodBoolean>;
152585
152660
  allowOffBoard: zod.ZodOptional<zod.ZodBoolean>;
152586
152661
  obstructsWithinBounds: zod.ZodOptional<zod.ZodBoolean>;
152587
152662
  showAsTranslucentModel: zod.ZodOptional<zod.ZodBoolean>;
@@ -153375,6 +153450,7 @@ declare class Potentiometer extends NormalComponent<typeof potentiometerProps> {
153375
153450
  onBoard?: boolean | undefined;
153376
153451
  } | undefined;
153377
153452
  doNotPlace?: boolean | undefined;
153453
+ isSmt?: boolean | undefined;
153378
153454
  allowOffBoard?: boolean | undefined;
153379
153455
  obstructsWithinBounds?: boolean | undefined;
153380
153456
  mpn?: string | undefined;
@@ -154054,6 +154130,7 @@ declare class Potentiometer extends NormalComponent<typeof potentiometerProps> {
154054
154130
  onBoard?: boolean | undefined;
154055
154131
  } | undefined;
154056
154132
  doNotPlace?: boolean | undefined;
154133
+ isSmt?: boolean | undefined;
154057
154134
  allowOffBoard?: boolean | undefined;
154058
154135
  obstructsWithinBounds?: boolean | undefined;
154059
154136
  mpn?: string | undefined;
@@ -157862,6 +157939,7 @@ declare class PushButton extends NormalComponent<typeof pushButtonProps, Passive
157862
157939
  children: zod.ZodOptional<zod.ZodAny>;
157863
157940
  symbolName: zod.ZodOptional<zod.ZodString>;
157864
157941
  doNotPlace: zod.ZodOptional<zod.ZodBoolean>;
157942
+ isSmt: zod.ZodOptional<zod.ZodBoolean>;
157865
157943
  allowOffBoard: zod.ZodOptional<zod.ZodBoolean>;
157866
157944
  obstructsWithinBounds: zod.ZodOptional<zod.ZodBoolean>;
157867
157945
  showAsTranslucentModel: zod.ZodOptional<zod.ZodBoolean>;
@@ -158952,6 +159030,7 @@ declare class PushButton extends NormalComponent<typeof pushButtonProps, Passive
158952
159030
  onBoard?: boolean | undefined;
158953
159031
  } | undefined;
158954
159032
  doNotPlace?: boolean | undefined;
159033
+ isSmt?: boolean | undefined;
158955
159034
  allowOffBoard?: boolean | undefined;
158956
159035
  obstructsWithinBounds?: boolean | undefined;
158957
159036
  mpn?: string | undefined;
@@ -159707,6 +159786,7 @@ declare class PushButton extends NormalComponent<typeof pushButtonProps, Passive
159707
159786
  onBoard?: boolean | undefined;
159708
159787
  } | undefined;
159709
159788
  doNotPlace?: boolean | undefined;
159789
+ isSmt?: boolean | undefined;
159710
159790
  allowOffBoard?: boolean | undefined;
159711
159791
  obstructsWithinBounds?: boolean | undefined;
159712
159792
  mpn?: string | undefined;
@@ -163595,6 +163675,7 @@ declare class Crystal extends NormalComponent<typeof crystalProps, CrystalPorts>
163595
163675
  children: zod.ZodOptional<zod.ZodAny>;
163596
163676
  symbolName: zod.ZodOptional<zod.ZodString>;
163597
163677
  doNotPlace: zod.ZodOptional<zod.ZodBoolean>;
163678
+ isSmt: zod.ZodOptional<zod.ZodBoolean>;
163598
163679
  allowOffBoard: zod.ZodOptional<zod.ZodBoolean>;
163599
163680
  obstructsWithinBounds: zod.ZodOptional<zod.ZodBoolean>;
163600
163681
  showAsTranslucentModel: zod.ZodOptional<zod.ZodBoolean>;
@@ -164392,6 +164473,7 @@ declare class Crystal extends NormalComponent<typeof crystalProps, CrystalPorts>
164392
164473
  onBoard?: boolean | undefined;
164393
164474
  } | undefined;
164394
164475
  doNotPlace?: boolean | undefined;
164476
+ isSmt?: boolean | undefined;
164395
164477
  allowOffBoard?: boolean | undefined;
164396
164478
  obstructsWithinBounds?: boolean | undefined;
164397
164479
  mpn?: string | undefined;
@@ -165074,6 +165156,7 @@ declare class Crystal extends NormalComponent<typeof crystalProps, CrystalPorts>
165074
165156
  onBoard?: boolean | undefined;
165075
165157
  } | undefined;
165076
165158
  doNotPlace?: boolean | undefined;
165159
+ isSmt?: boolean | undefined;
165077
165160
  allowOffBoard?: boolean | undefined;
165078
165161
  obstructsWithinBounds?: boolean | undefined;
165079
165162
  mpn?: string | undefined;
@@ -168888,6 +168971,7 @@ declare class Transistor extends NormalComponent<typeof transistorProps, Transis
168888
168971
  children: zod.ZodOptional<zod.ZodAny>;
168889
168972
  symbolName: zod.ZodOptional<zod.ZodString>;
168890
168973
  doNotPlace: zod.ZodOptional<zod.ZodBoolean>;
168974
+ isSmt: zod.ZodOptional<zod.ZodBoolean>;
168891
168975
  allowOffBoard: zod.ZodOptional<zod.ZodBoolean>;
168892
168976
  obstructsWithinBounds: zod.ZodOptional<zod.ZodBoolean>;
168893
168977
  showAsTranslucentModel: zod.ZodOptional<zod.ZodBoolean>;
@@ -169680,6 +169764,7 @@ declare class Transistor extends NormalComponent<typeof transistorProps, Transis
169680
169764
  onBoard?: boolean | undefined;
169681
169765
  } | undefined;
169682
169766
  doNotPlace?: boolean | undefined;
169767
+ isSmt?: boolean | undefined;
169683
169768
  allowOffBoard?: boolean | undefined;
169684
169769
  obstructsWithinBounds?: boolean | undefined;
169685
169770
  mpn?: string | undefined;
@@ -170358,6 +170443,7 @@ declare class Transistor extends NormalComponent<typeof transistorProps, Transis
170358
170443
  onBoard?: boolean | undefined;
170359
170444
  } | undefined;
170360
170445
  doNotPlace?: boolean | undefined;
170446
+ isSmt?: boolean | undefined;
170361
170447
  allowOffBoard?: boolean | undefined;
170362
170448
  obstructsWithinBounds?: boolean | undefined;
170363
170449
  mpn?: string | undefined;
@@ -174173,6 +174259,7 @@ declare class Mosfet extends NormalComponent<typeof mosfetProps> {
174173
174259
  children: zod.ZodOptional<zod.ZodAny>;
174174
174260
  symbolName: zod.ZodOptional<zod.ZodString>;
174175
174261
  doNotPlace: zod.ZodOptional<zod.ZodBoolean>;
174262
+ isSmt: zod.ZodOptional<zod.ZodBoolean>;
174176
174263
  allowOffBoard: zod.ZodOptional<zod.ZodBoolean>;
174177
174264
  obstructsWithinBounds: zod.ZodOptional<zod.ZodBoolean>;
174178
174265
  showAsTranslucentModel: zod.ZodOptional<zod.ZodBoolean>;
@@ -174970,6 +175057,7 @@ declare class Mosfet extends NormalComponent<typeof mosfetProps> {
174970
175057
  onBoard?: boolean | undefined;
174971
175058
  } | undefined;
174972
175059
  doNotPlace?: boolean | undefined;
175060
+ isSmt?: boolean | undefined;
174973
175061
  allowOffBoard?: boolean | undefined;
174974
175062
  obstructsWithinBounds?: boolean | undefined;
174975
175063
  mpn?: string | undefined;
@@ -175652,6 +175740,7 @@ declare class Mosfet extends NormalComponent<typeof mosfetProps> {
175652
175740
  onBoard?: boolean | undefined;
175653
175741
  } | undefined;
175654
175742
  doNotPlace?: boolean | undefined;
175743
+ isSmt?: boolean | undefined;
175655
175744
  allowOffBoard?: boolean | undefined;
175656
175745
  obstructsWithinBounds?: boolean | undefined;
175657
175746
  mpn?: string | undefined;
@@ -179464,6 +179553,7 @@ declare class OpAmp extends NormalComponent<typeof opampProps, OpAmpPinLabels> {
179464
179553
  children: zod.ZodOptional<zod.ZodAny>;
179465
179554
  symbolName: zod.ZodOptional<zod.ZodString>;
179466
179555
  doNotPlace: zod.ZodOptional<zod.ZodBoolean>;
179556
+ isSmt: zod.ZodOptional<zod.ZodBoolean>;
179467
179557
  allowOffBoard: zod.ZodOptional<zod.ZodBoolean>;
179468
179558
  obstructsWithinBounds: zod.ZodOptional<zod.ZodBoolean>;
179469
179559
  showAsTranslucentModel: zod.ZodOptional<zod.ZodBoolean>;
@@ -180254,6 +180344,7 @@ declare class OpAmp extends NormalComponent<typeof opampProps, OpAmpPinLabels> {
180254
180344
  onBoard?: boolean | undefined;
180255
180345
  } | undefined;
180256
180346
  doNotPlace?: boolean | undefined;
180347
+ isSmt?: boolean | undefined;
180257
180348
  allowOffBoard?: boolean | undefined;
180258
180349
  obstructsWithinBounds?: boolean | undefined;
180259
180350
  mpn?: string | undefined;
@@ -180931,6 +181022,7 @@ declare class OpAmp extends NormalComponent<typeof opampProps, OpAmpPinLabels> {
180931
181022
  onBoard?: boolean | undefined;
180932
181023
  } | undefined;
180933
181024
  doNotPlace?: boolean | undefined;
181025
+ isSmt?: boolean | undefined;
180934
181026
  allowOffBoard?: boolean | undefined;
180935
181027
  obstructsWithinBounds?: boolean | undefined;
180936
181028
  mpn?: string | undefined;
@@ -184747,6 +184839,7 @@ declare class Switch extends NormalComponent<typeof switchProps> {
184747
184839
  children: zod.ZodOptional<zod.ZodAny>;
184748
184840
  symbolName: zod.ZodOptional<zod.ZodString>;
184749
184841
  doNotPlace: zod.ZodOptional<zod.ZodBoolean>;
184842
+ isSmt: zod.ZodOptional<zod.ZodBoolean>;
184750
184843
  allowOffBoard: zod.ZodOptional<zod.ZodBoolean>;
184751
184844
  obstructsWithinBounds: zod.ZodOptional<zod.ZodBoolean>;
184752
184845
  showAsTranslucentModel: zod.ZodOptional<zod.ZodBoolean>;
@@ -185552,6 +185645,7 @@ declare class Switch extends NormalComponent<typeof switchProps> {
185552
185645
  onBoard?: boolean | undefined;
185553
185646
  } | undefined;
185554
185647
  doNotPlace?: boolean | undefined;
185648
+ isSmt?: boolean | undefined;
185555
185649
  allowOffBoard?: boolean | undefined;
185556
185650
  obstructsWithinBounds?: boolean | undefined;
185557
185651
  mpn?: string | undefined;
@@ -186241,6 +186335,7 @@ declare class Switch extends NormalComponent<typeof switchProps> {
186241
186335
  onBoard?: boolean | undefined;
186242
186336
  } | undefined;
186243
186337
  doNotPlace?: boolean | undefined;
186338
+ isSmt?: boolean | undefined;
186244
186339
  allowOffBoard?: boolean | undefined;
186245
186340
  obstructsWithinBounds?: boolean | undefined;
186246
186341
  mpn?: string | undefined;
@@ -186931,6 +187026,7 @@ declare class Switch extends NormalComponent<typeof switchProps> {
186931
187026
  onBoard?: boolean | undefined;
186932
187027
  } | undefined;
186933
187028
  doNotPlace?: boolean | undefined;
187029
+ isSmt?: boolean | undefined;
186934
187030
  allowOffBoard?: boolean | undefined;
186935
187031
  obstructsWithinBounds?: boolean | undefined;
186936
187032
  mpn?: string | undefined;
@@ -190752,6 +190848,7 @@ declare class TestPoint extends NormalComponent<typeof testpointProps> {
190752
190848
  children: zod.ZodOptional<zod.ZodAny>;
190753
190849
  symbolName: zod.ZodOptional<zod.ZodString>;
190754
190850
  doNotPlace: zod.ZodOptional<zod.ZodBoolean>;
190851
+ isSmt: zod.ZodOptional<zod.ZodBoolean>;
190755
190852
  allowOffBoard: zod.ZodOptional<zod.ZodBoolean>;
190756
190853
  obstructsWithinBounds: zod.ZodOptional<zod.ZodBoolean>;
190757
190854
  showAsTranslucentModel: zod.ZodOptional<zod.ZodBoolean>;
@@ -191557,6 +191654,7 @@ declare class TestPoint extends NormalComponent<typeof testpointProps> {
191557
191654
  onBoard?: boolean | undefined;
191558
191655
  } | undefined;
191559
191656
  doNotPlace?: boolean | undefined;
191657
+ isSmt?: boolean | undefined;
191560
191658
  allowOffBoard?: boolean | undefined;
191561
191659
  obstructsWithinBounds?: boolean | undefined;
191562
191660
  mpn?: string | undefined;
@@ -192241,6 +192339,7 @@ declare class TestPoint extends NormalComponent<typeof testpointProps> {
192241
192339
  onBoard?: boolean | undefined;
192242
192340
  } | undefined;
192243
192341
  doNotPlace?: boolean | undefined;
192342
+ isSmt?: boolean | undefined;
192244
192343
  allowOffBoard?: boolean | undefined;
192245
192344
  obstructsWithinBounds?: boolean | undefined;
192246
192345
  mpn?: string | undefined;
@@ -192925,6 +193024,7 @@ declare class TestPoint extends NormalComponent<typeof testpointProps> {
192925
193024
  onBoard?: boolean | undefined;
192926
193025
  } | undefined;
192927
193026
  doNotPlace?: boolean | undefined;
193027
+ isSmt?: boolean | undefined;
192928
193028
  allowOffBoard?: boolean | undefined;
192929
193029
  obstructsWithinBounds?: boolean | undefined;
192930
193030
  mpn?: string | undefined;
@@ -193609,6 +193709,7 @@ declare class TestPoint extends NormalComponent<typeof testpointProps> {
193609
193709
  onBoard?: boolean | undefined;
193610
193710
  } | undefined;
193611
193711
  doNotPlace?: boolean | undefined;
193712
+ isSmt?: boolean | undefined;
193612
193713
  allowOffBoard?: boolean | undefined;
193613
193714
  obstructsWithinBounds?: boolean | undefined;
193614
193715
  mpn?: string | undefined;
@@ -199312,6 +199413,7 @@ declare class VoltageProbe extends PrimitiveComponent<typeof voltageProbeProps>
199312
199413
  children: z.ZodOptional<z.ZodAny>;
199313
199414
  symbolName: z.ZodOptional<z.ZodString>;
199314
199415
  doNotPlace: z.ZodOptional<z.ZodBoolean>;
199416
+ isSmt: z.ZodOptional<z.ZodBoolean>;
199315
199417
  allowOffBoard: z.ZodOptional<z.ZodBoolean>;
199316
199418
  obstructsWithinBounds: z.ZodOptional<z.ZodBoolean>;
199317
199419
  showAsTranslucentModel: z.ZodOptional<z.ZodBoolean>;
@@ -200111,6 +200213,7 @@ declare class VoltageProbe extends PrimitiveComponent<typeof voltageProbeProps>
200111
200213
  onBoard?: boolean | undefined;
200112
200214
  } | undefined;
200113
200215
  doNotPlace?: boolean | undefined;
200216
+ isSmt?: boolean | undefined;
200114
200217
  allowOffBoard?: boolean | undefined;
200115
200218
  obstructsWithinBounds?: boolean | undefined;
200116
200219
  mpn?: string | undefined;
@@ -200794,6 +200897,7 @@ declare class VoltageProbe extends PrimitiveComponent<typeof voltageProbeProps>
200794
200897
  onBoard?: boolean | undefined;
200795
200898
  } | undefined;
200796
200899
  doNotPlace?: boolean | undefined;
200900
+ isSmt?: boolean | undefined;
200797
200901
  allowOffBoard?: boolean | undefined;
200798
200902
  obstructsWithinBounds?: boolean | undefined;
200799
200903
  mpn?: string | undefined;
@@ -205089,6 +205193,7 @@ declare const useLed: <PropsFromHook extends Omit<{
205089
205193
  onBoard?: boolean | undefined;
205090
205194
  } | undefined;
205091
205195
  doNotPlace?: boolean | undefined;
205196
+ isSmt?: boolean | undefined;
205092
205197
  allowOffBoard?: boolean | undefined;
205093
205198
  obstructsWithinBounds?: boolean | undefined;
205094
205199
  mpn?: string | undefined;
@@ -205773,6 +205878,7 @@ declare const useLed: <PropsFromHook extends Omit<{
205773
205878
  onBoard?: boolean | undefined;
205774
205879
  } | undefined;
205775
205880
  doNotPlace?: boolean | undefined;
205881
+ isSmt?: boolean | undefined;
205776
205882
  allowOffBoard?: boolean | undefined;
205777
205883
  obstructsWithinBounds?: boolean | undefined;
205778
205884
  mpn?: string | undefined;
package/dist/index.js CHANGED
@@ -2431,6 +2431,11 @@ var PrimitiveComponent2 = class extends Renderable {
2431
2431
  if (this.isPrimitiveContainer) return this;
2432
2432
  return this.parent?.getPrimitiveContainer?.() ?? null;
2433
2433
  }
2434
+ /** Resolve mounting intent from the container owning this primitive. */
2435
+ _getIsSmt() {
2436
+ const container = this.getPrimitiveContainer();
2437
+ return container && container !== this ? container._getIsSmt() : true;
2438
+ }
2434
2439
  /**
2435
2440
  * Get the Symbol ancestor if this component is inside a Symbol primitive container.
2436
2441
  * Used by schematic primitives to access the symbol's resize transform.
@@ -11191,6 +11196,7 @@ var PlatedHole = class extends PrimitiveComponent2 {
11191
11196
  const position = this._getGlobalPcbPositionBeforeLayout();
11192
11197
  const pcb_component_id = this.parent?.pcb_component_id ?? this.getPrimitiveContainer()?.pcb_component_id;
11193
11198
  const subcircuit = this.getSubcircuit();
11199
+ const shouldCreateSolderPaste = this._getIsSmt();
11194
11200
  const platedHoleLayers = this.getAvailablePcbLayers();
11195
11201
  const soldermaskMargin = props.solderMaskMargin;
11196
11202
  const isCoveredWithSolderMask = props.coveredWithSolderMask ?? false;
@@ -11219,26 +11225,28 @@ var PlatedHole = class extends PrimitiveComponent2 {
11219
11225
  pcb_group_id: this.getGroup()?.pcb_group_id ?? void 0
11220
11226
  });
11221
11227
  this.pcb_plated_hole_id = pcb_plated_hole.pcb_plated_hole_id;
11222
- db2.pcb_solder_paste.insert({
11223
- layer: "top",
11224
- shape: "circle",
11225
- // @ts-ignore: no idea why this is triggering
11226
- radius: props.outerDiameter / 2,
11227
- x: position.x,
11228
- y: position.y,
11229
- subcircuit_id: subcircuit?.subcircuit_id ?? void 0,
11230
- pcb_group_id: this.getGroup()?.pcb_group_id ?? void 0
11231
- });
11232
- db2.pcb_solder_paste.insert({
11233
- layer: "bottom",
11234
- shape: "circle",
11235
- // @ts-ignore: no idea why this is triggering
11236
- radius: props.outerDiameter / 2,
11237
- x: position.x,
11238
- y: position.y,
11239
- subcircuit_id: subcircuit?.subcircuit_id ?? void 0,
11240
- pcb_group_id: this.getGroup()?.pcb_group_id ?? void 0
11241
- });
11228
+ if (shouldCreateSolderPaste) {
11229
+ db2.pcb_solder_paste.insert({
11230
+ layer: "top",
11231
+ shape: "circle",
11232
+ // @ts-ignore: no idea why this is triggering
11233
+ radius: props.outerDiameter / 2,
11234
+ x: position.x,
11235
+ y: position.y,
11236
+ subcircuit_id: subcircuit?.subcircuit_id ?? void 0,
11237
+ pcb_group_id: this.getGroup()?.pcb_group_id ?? void 0
11238
+ });
11239
+ db2.pcb_solder_paste.insert({
11240
+ layer: "bottom",
11241
+ shape: "circle",
11242
+ // @ts-ignore: no idea why this is triggering
11243
+ radius: props.outerDiameter / 2,
11244
+ x: position.x,
11245
+ y: position.y,
11246
+ subcircuit_id: subcircuit?.subcircuit_id ?? void 0,
11247
+ pcb_group_id: this.getGroup()?.pcb_group_id ?? void 0
11248
+ });
11249
+ }
11242
11250
  } else if (props.shape === "pill" && props.rectPad) {
11243
11251
  const pcb_plated_hole = db2.pcb_plated_hole.insert({
11244
11252
  pcb_component_id,
@@ -11288,7 +11296,7 @@ var PlatedHole = class extends PrimitiveComponent2 {
11288
11296
  // NOTE: currently PcbPlatedHoleOval erroneously includes both the shape "pill" and "oval"
11289
11297
  });
11290
11298
  this.pcb_plated_hole_id = pcb_plated_hole.pcb_plated_hole_id;
11291
- if (props.shape === "pill") {
11299
+ if (props.shape === "pill" && shouldCreateSolderPaste) {
11292
11300
  db2.pcb_solder_paste.insert({
11293
11301
  layer: "top",
11294
11302
  shape: "rotated_pill",
@@ -11313,7 +11321,7 @@ var PlatedHole = class extends PrimitiveComponent2 {
11313
11321
  subcircuit_id: subcircuit?.subcircuit_id ?? void 0,
11314
11322
  pcb_group_id: this.getGroup()?.pcb_group_id ?? void 0
11315
11323
  });
11316
- } else if (props.shape === "oval") {
11324
+ } else if (props.shape === "oval" && shouldCreateSolderPaste) {
11317
11325
  db2.pcb_solder_paste.insert({
11318
11326
  layer: "top",
11319
11327
  shape: "oval",
@@ -12667,7 +12675,7 @@ var SmtPad = class extends PrimitiveComponent2 {
12667
12675
  const { db: db2 } = this.root;
12668
12676
  const { _parsedProps: props } = this;
12669
12677
  const isCoveredWithSolderMask = props.coveredWithSolderMask ?? false;
12670
- const shouldCreateSolderPaste = !isCoveredWithSolderMask;
12678
+ const shouldCreateSolderPaste = !isCoveredWithSolderMask && this._getIsSmt();
12671
12679
  const soldermaskMargin = props.solderMaskMargin;
12672
12680
  const solderPasteMargin = props.solderPasteMargin;
12673
12681
  const getSolderPasteSize = (padSize2, marginScale = 2) => solderPasteMargin !== void 0 ? Math.max(padSize2 + marginScale * solderPasteMargin, 0) : padSize2 * 0.7;
@@ -17603,6 +17611,12 @@ var NormalComponent = class extends PrimitiveComponent2 {
17603
17611
  _resolvedPcbCalcOffsetY;
17604
17612
  isPrimitiveContainer = true;
17605
17613
  _isNormalComponent = true;
17614
+ _getIsSmt() {
17615
+ if (this._parsedProps.isSmt !== void 0) return this._parsedProps.isSmt;
17616
+ return this.selectAll("smtpad").some(
17617
+ (pad) => pad.getPrimitiveContainer() === this
17618
+ );
17619
+ }
17606
17620
  // Mapping from camelCase attribute names to their lowercase equivalents
17607
17621
  // This is used by the CSS selector adapter for fast attribute lookups
17608
17622
  // Reverse mapping from lowercase to camelCase for O(1) lookups
@@ -116103,13 +116117,11 @@ function createSchematicTraceSolverInputProblem(group, opts = {}) {
116103
116117
  width: schematicComponent.size.width,
116104
116118
  height: schematicComponent.size.height
116105
116119
  });
116106
- if (schematicComponent.is_box_with_pins !== false) {
116107
- for (const port of schematicPorts) {
116108
- obstacleBounds.minX = Math.min(obstacleBounds.minX, port.center.x);
116109
- obstacleBounds.maxX = Math.max(obstacleBounds.maxX, port.center.x);
116110
- obstacleBounds.minY = Math.min(obstacleBounds.minY, port.center.y);
116111
- obstacleBounds.maxY = Math.max(obstacleBounds.maxY, port.center.y);
116112
- }
116120
+ for (const port of schematicPorts) {
116121
+ obstacleBounds.minX = Math.min(obstacleBounds.minX, port.center.x);
116122
+ obstacleBounds.maxX = Math.max(obstacleBounds.maxX, port.center.x);
116123
+ obstacleBounds.minY = Math.min(obstacleBounds.minY, port.center.y);
116124
+ obstacleBounds.maxY = Math.max(obstacleBounds.maxY, port.center.y);
116113
116125
  }
116114
116126
  chips.push({
116115
116127
  chipId,
@@ -118545,7 +118557,7 @@ var RoutingPhasePreparationError = class extends Error {
118545
118557
  var package_default = {
118546
118558
  name: "@tscircuit/core",
118547
118559
  type: "module",
118548
- version: "0.0.2143",
118560
+ version: "0.0.2145",
118549
118561
  types: "dist/index.d.ts",
118550
118562
  main: "dist/index.js",
118551
118563
  module: "dist/index.js",
@@ -118604,7 +118616,7 @@ var package_default = {
118604
118616
  "@tscircuit/miniflex": "^0.0.4",
118605
118617
  "@tscircuit/modelprinter": "^0.0.18",
118606
118618
  "@tscircuit/ngspice-spice-engine": "^0.0.20",
118607
- "@tscircuit/props": "^0.0.700",
118619
+ "@tscircuit/props": "^0.0.701",
118608
118620
  "@tscircuit/schematic-match-adapt": "^0.0.18",
118609
118621
  "@tscircuit/schematic-trace-solver": "https://jscdn.tscircuit.com/@tscircuit/schematic-trace-solver/0.0.230.tgz",
118610
118622
  "@tscircuit/solver-utils": "^0.0.16",
@@ -118688,7 +118700,7 @@ var package_default = {
118688
118700
  },
118689
118701
  overrides: {
118690
118702
  "@tscircuit/circuit-json-util": "^0.0.121",
118691
- "@tscircuit/props": "^0.0.700",
118703
+ "@tscircuit/props": "^0.0.701",
118692
118704
  "circuit-json": "^0.0.525",
118693
118705
  "@tscircuit/cableprinter": "^0.0.6"
118694
118706
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tscircuit/core",
3
3
  "type": "module",
4
- "version": "0.0.2144",
4
+ "version": "0.0.2146",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",
@@ -60,7 +60,7 @@
60
60
  "@tscircuit/miniflex": "^0.0.4",
61
61
  "@tscircuit/modelprinter": "^0.0.18",
62
62
  "@tscircuit/ngspice-spice-engine": "^0.0.20",
63
- "@tscircuit/props": "^0.0.700",
63
+ "@tscircuit/props": "^0.0.701",
64
64
  "@tscircuit/schematic-match-adapt": "^0.0.18",
65
65
  "@tscircuit/schematic-trace-solver": "https://jscdn.tscircuit.com/@tscircuit/schematic-trace-solver/0.0.230.tgz",
66
66
  "@tscircuit/solver-utils": "^0.0.16",
@@ -144,7 +144,7 @@
144
144
  },
145
145
  "overrides": {
146
146
  "@tscircuit/circuit-json-util": "^0.0.121",
147
- "@tscircuit/props": "^0.0.700",
147
+ "@tscircuit/props": "^0.0.701",
148
148
  "circuit-json": "^0.0.525",
149
149
  "@tscircuit/cableprinter": "^0.0.6"
150
150
  }