@tscircuit/core 0.0.1036 → 0.0.1037

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
@@ -4047,6 +4047,147 @@ declare class MountedBoard extends Subcircuit {
4047
4047
  outlineOffsetY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
4048
4048
  circuitJson: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
4049
4049
  } & {
4050
+ manufacturerPartNumber: z.ZodOptional<z.ZodString>;
4051
+ pinLabels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodReadonly<z.ZodArray<z.ZodString, "many">>]>, z.ZodArray<z.ZodString, "many">]>>>;
4052
+ showPinAliases: z.ZodOptional<z.ZodBoolean>;
4053
+ pcbPinLabels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4054
+ schPortArrangement: z.ZodOptional<z.ZodObject<{
4055
+ leftSize: z.ZodOptional<z.ZodNumber>;
4056
+ topSize: z.ZodOptional<z.ZodNumber>;
4057
+ rightSize: z.ZodOptional<z.ZodNumber>;
4058
+ bottomSize: z.ZodOptional<z.ZodNumber>;
4059
+ leftPinCount: z.ZodOptional<z.ZodNumber>;
4060
+ rightPinCount: z.ZodOptional<z.ZodNumber>;
4061
+ topPinCount: z.ZodOptional<z.ZodNumber>;
4062
+ bottomPinCount: z.ZodOptional<z.ZodNumber>;
4063
+ leftSide: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodObject<{
4064
+ pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
4065
+ direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
4066
+ }, "strip", z.ZodTypeAny, {
4067
+ pins: (string | number)[];
4068
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
4069
+ }, {
4070
+ pins: (string | number)[];
4071
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
4072
+ }>, z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">]>, {
4073
+ pins: (string | number)[];
4074
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
4075
+ }, (string | number)[] | {
4076
+ pins: (string | number)[];
4077
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
4078
+ }>>;
4079
+ rightSide: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodObject<{
4080
+ pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
4081
+ direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
4082
+ }, "strip", z.ZodTypeAny, {
4083
+ pins: (string | number)[];
4084
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
4085
+ }, {
4086
+ pins: (string | number)[];
4087
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
4088
+ }>, z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">]>, {
4089
+ pins: (string | number)[];
4090
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
4091
+ }, (string | number)[] | {
4092
+ pins: (string | number)[];
4093
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
4094
+ }>>;
4095
+ topSide: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodObject<{
4096
+ pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
4097
+ direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
4098
+ }, "strip", z.ZodTypeAny, {
4099
+ pins: (string | number)[];
4100
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
4101
+ }, {
4102
+ pins: (string | number)[];
4103
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
4104
+ }>, z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">]>, {
4105
+ pins: (string | number)[];
4106
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
4107
+ }, (string | number)[] | {
4108
+ pins: (string | number)[];
4109
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
4110
+ }>>;
4111
+ bottomSide: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodObject<{
4112
+ pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
4113
+ direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
4114
+ }, "strip", z.ZodTypeAny, {
4115
+ pins: (string | number)[];
4116
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
4117
+ }, {
4118
+ pins: (string | number)[];
4119
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
4120
+ }>, z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">]>, {
4121
+ pins: (string | number)[];
4122
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
4123
+ }, (string | number)[] | {
4124
+ pins: (string | number)[];
4125
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
4126
+ }>>;
4127
+ }, "strip", z.ZodTypeAny, {
4128
+ leftSize?: number | undefined;
4129
+ topSize?: number | undefined;
4130
+ rightSize?: number | undefined;
4131
+ bottomSize?: number | undefined;
4132
+ leftSide?: {
4133
+ pins: (string | number)[];
4134
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
4135
+ } | undefined;
4136
+ topSide?: {
4137
+ pins: (string | number)[];
4138
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
4139
+ } | undefined;
4140
+ rightSide?: {
4141
+ pins: (string | number)[];
4142
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
4143
+ } | undefined;
4144
+ bottomSide?: {
4145
+ pins: (string | number)[];
4146
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
4147
+ } | undefined;
4148
+ leftPinCount?: number | undefined;
4149
+ rightPinCount?: number | undefined;
4150
+ topPinCount?: number | undefined;
4151
+ bottomPinCount?: number | undefined;
4152
+ }, {
4153
+ leftSize?: number | undefined;
4154
+ topSize?: number | undefined;
4155
+ rightSize?: number | undefined;
4156
+ bottomSize?: number | undefined;
4157
+ leftSide?: (string | number)[] | {
4158
+ pins: (string | number)[];
4159
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
4160
+ } | undefined;
4161
+ topSide?: (string | number)[] | {
4162
+ pins: (string | number)[];
4163
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
4164
+ } | undefined;
4165
+ rightSide?: (string | number)[] | {
4166
+ pins: (string | number)[];
4167
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
4168
+ } | undefined;
4169
+ bottomSide?: (string | number)[] | {
4170
+ pins: (string | number)[];
4171
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
4172
+ } | undefined;
4173
+ leftPinCount?: number | undefined;
4174
+ rightPinCount?: number | undefined;
4175
+ topPinCount?: number | undefined;
4176
+ bottomPinCount?: number | undefined;
4177
+ }>>;
4178
+ pinCompatibleVariants: z.ZodOptional<z.ZodArray<z.ZodObject<{
4179
+ manufacturerPartNumber: z.ZodOptional<z.ZodString>;
4180
+ supplierPartNumber: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
4181
+ }, "strip", z.ZodTypeAny, {
4182
+ manufacturerPartNumber?: string | undefined;
4183
+ supplierPartNumber?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
4184
+ }, {
4185
+ manufacturerPartNumber?: string | undefined;
4186
+ supplierPartNumber?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
4187
+ }>, "many">>;
4188
+ noSchematicRepresentation: z.ZodOptional<z.ZodBoolean>;
4189
+ internallyConnectedPins: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">, "many">>;
4190
+ externallyConnectedPins: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
4050
4191
  boardToBoardDistance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
4051
4192
  mountOrientation: z.ZodOptional<z.ZodEnum<["faceDown", "faceUp"]>>;
4052
4193
  }, "strip", z.ZodTypeAny, {
@@ -4100,6 +4241,7 @@ declare class MountedBoard extends Subcircuit {
4100
4241
  } | undefined;
4101
4242
  schRelative?: boolean | undefined;
4102
4243
  children?: any;
4244
+ manufacturerPartNumber?: string | undefined;
4103
4245
  grid?: boolean | undefined;
4104
4246
  flex?: string | boolean | undefined;
4105
4247
  layoutMode?: "none" | "relative" | "grid" | "flex" | "match-adapt" | undefined;
@@ -4355,6 +4497,42 @@ declare class MountedBoard extends Subcircuit {
4355
4497
  outlineOffsetX?: number | undefined;
4356
4498
  outlineOffsetY?: number | undefined;
4357
4499
  circuitJson?: any[] | undefined;
4500
+ pinLabels?: Record<string, string | readonly string[] | string[]> | undefined;
4501
+ showPinAliases?: boolean | undefined;
4502
+ pcbPinLabels?: Record<string, string> | undefined;
4503
+ internallyConnectedPins?: (string | number)[][] | undefined;
4504
+ externallyConnectedPins?: string[][] | undefined;
4505
+ schPortArrangement?: {
4506
+ leftSize?: number | undefined;
4507
+ topSize?: number | undefined;
4508
+ rightSize?: number | undefined;
4509
+ bottomSize?: number | undefined;
4510
+ leftSide?: {
4511
+ pins: (string | number)[];
4512
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
4513
+ } | undefined;
4514
+ topSide?: {
4515
+ pins: (string | number)[];
4516
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
4517
+ } | undefined;
4518
+ rightSide?: {
4519
+ pins: (string | number)[];
4520
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
4521
+ } | undefined;
4522
+ bottomSide?: {
4523
+ pins: (string | number)[];
4524
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
4525
+ } | undefined;
4526
+ leftPinCount?: number | undefined;
4527
+ rightPinCount?: number | undefined;
4528
+ topPinCount?: number | undefined;
4529
+ bottomPinCount?: number | undefined;
4530
+ } | undefined;
4531
+ pinCompatibleVariants?: {
4532
+ manufacturerPartNumber?: string | undefined;
4533
+ supplierPartNumber?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
4534
+ }[] | undefined;
4535
+ noSchematicRepresentation?: boolean | undefined;
4358
4536
  boardToBoardDistance?: number | undefined;
4359
4537
  mountOrientation?: "faceDown" | "faceUp" | undefined;
4360
4538
  }, {
@@ -4410,6 +4588,7 @@ declare class MountedBoard extends Subcircuit {
4410
4588
  } | undefined;
4411
4589
  schRelative?: boolean | undefined;
4412
4590
  children?: any;
4591
+ manufacturerPartNumber?: string | undefined;
4413
4592
  grid?: boolean | undefined;
4414
4593
  flex?: string | boolean | undefined;
4415
4594
  layoutMode?: "none" | "relative" | "grid" | "flex" | "match-adapt" | undefined;
@@ -4667,6 +4846,42 @@ declare class MountedBoard extends Subcircuit {
4667
4846
  outlineOffsetX?: string | number | undefined;
4668
4847
  outlineOffsetY?: string | number | undefined;
4669
4848
  circuitJson?: any[] | undefined;
4849
+ pinLabels?: Record<string, string | readonly string[] | string[]> | undefined;
4850
+ showPinAliases?: boolean | undefined;
4851
+ pcbPinLabels?: Record<string, string> | undefined;
4852
+ internallyConnectedPins?: (string | number)[][] | undefined;
4853
+ externallyConnectedPins?: string[][] | undefined;
4854
+ schPortArrangement?: {
4855
+ leftSize?: number | undefined;
4856
+ topSize?: number | undefined;
4857
+ rightSize?: number | undefined;
4858
+ bottomSize?: number | undefined;
4859
+ leftSide?: (string | number)[] | {
4860
+ pins: (string | number)[];
4861
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
4862
+ } | undefined;
4863
+ topSide?: (string | number)[] | {
4864
+ pins: (string | number)[];
4865
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
4866
+ } | undefined;
4867
+ rightSide?: (string | number)[] | {
4868
+ pins: (string | number)[];
4869
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
4870
+ } | undefined;
4871
+ bottomSide?: (string | number)[] | {
4872
+ pins: (string | number)[];
4873
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
4874
+ } | undefined;
4875
+ leftPinCount?: number | undefined;
4876
+ rightPinCount?: number | undefined;
4877
+ topPinCount?: number | undefined;
4878
+ bottomPinCount?: number | undefined;
4879
+ } | undefined;
4880
+ pinCompatibleVariants?: {
4881
+ manufacturerPartNumber?: string | undefined;
4882
+ supplierPartNumber?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
4883
+ }[] | undefined;
4884
+ noSchematicRepresentation?: boolean | undefined;
4670
4885
  boardToBoardDistance?: string | number | undefined;
4671
4886
  mountOrientation?: "faceDown" | "faceUp" | undefined;
4672
4887
  }>;
@@ -10038,6 +10253,7 @@ declare class Capacitor extends NormalComponent<typeof capacitorProps, Polarized
10038
10253
  children: zod.ZodOptional<zod.ZodAny>;
10039
10254
  symbolName: zod.ZodOptional<zod.ZodString>;
10040
10255
  doNotPlace: zod.ZodOptional<zod.ZodBoolean>;
10256
+ allowOffBoard: zod.ZodOptional<zod.ZodBoolean>;
10041
10257
  obstructsWithinBounds: zod.ZodOptional<zod.ZodBoolean>;
10042
10258
  showAsTranslucentModel: zod.ZodOptional<zod.ZodBoolean>;
10043
10259
  pinAttributes: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
@@ -10584,6 +10800,7 @@ declare class Capacitor extends NormalComponent<typeof capacitorProps, Polarized
10584
10800
  } | undefined;
10585
10801
  children?: any;
10586
10802
  doNotPlace?: boolean | undefined;
10803
+ allowOffBoard?: boolean | undefined;
10587
10804
  obstructsWithinBounds?: boolean | undefined;
10588
10805
  showAsTranslucentModel?: boolean | undefined;
10589
10806
  mfn?: string | undefined;
@@ -11092,6 +11309,7 @@ declare class Capacitor extends NormalComponent<typeof capacitorProps, Polarized
11092
11309
  } | undefined;
11093
11310
  children?: any;
11094
11311
  doNotPlace?: boolean | undefined;
11312
+ allowOffBoard?: boolean | undefined;
11095
11313
  obstructsWithinBounds?: boolean | undefined;
11096
11314
  showAsTranslucentModel?: boolean | undefined;
11097
11315
  mfn?: string | undefined;
@@ -14147,6 +14365,7 @@ declare class Chip<PinLabels extends string = never> extends NormalComponent<typ
14147
14365
  children: z.ZodOptional<z.ZodAny>;
14148
14366
  symbolName: z.ZodOptional<z.ZodString>;
14149
14367
  doNotPlace: z.ZodOptional<z.ZodBoolean>;
14368
+ allowOffBoard: z.ZodOptional<z.ZodBoolean>;
14150
14369
  obstructsWithinBounds: z.ZodOptional<z.ZodBoolean>;
14151
14370
  showAsTranslucentModel: z.ZodOptional<z.ZodBoolean>;
14152
14371
  pinAttributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -14974,6 +15193,7 @@ declare class Chip<PinLabels extends string = never> extends NormalComponent<typ
14974
15193
  } | undefined;
14975
15194
  children?: any;
14976
15195
  doNotPlace?: boolean | undefined;
15196
+ allowOffBoard?: boolean | undefined;
14977
15197
  obstructsWithinBounds?: boolean | undefined;
14978
15198
  showAsTranslucentModel?: boolean | undefined;
14979
15199
  mfn?: string | undefined;
@@ -15548,6 +15768,7 @@ declare class Chip<PinLabels extends string = never> extends NormalComponent<typ
15548
15768
  } | undefined;
15549
15769
  children?: any;
15550
15770
  doNotPlace?: boolean | undefined;
15771
+ allowOffBoard?: boolean | undefined;
15551
15772
  obstructsWithinBounds?: boolean | undefined;
15552
15773
  showAsTranslucentModel?: boolean | undefined;
15553
15774
  mfn?: string | undefined;
@@ -18668,6 +18889,7 @@ declare class Pinout<PinLabels extends string = never> extends Chip<PinLabels> {
18668
18889
  children: z.ZodOptional<z.ZodAny>;
18669
18890
  symbolName: z.ZodOptional<z.ZodString>;
18670
18891
  doNotPlace: z.ZodOptional<z.ZodBoolean>;
18892
+ allowOffBoard: z.ZodOptional<z.ZodBoolean>;
18671
18893
  obstructsWithinBounds: z.ZodOptional<z.ZodBoolean>;
18672
18894
  showAsTranslucentModel: z.ZodOptional<z.ZodBoolean>;
18673
18895
  pinAttributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -19495,6 +19717,7 @@ declare class Pinout<PinLabels extends string = never> extends Chip<PinLabels> {
19495
19717
  } | undefined;
19496
19718
  children?: any;
19497
19719
  doNotPlace?: boolean | undefined;
19720
+ allowOffBoard?: boolean | undefined;
19498
19721
  obstructsWithinBounds?: boolean | undefined;
19499
19722
  showAsTranslucentModel?: boolean | undefined;
19500
19723
  mfn?: string | undefined;
@@ -20069,6 +20292,7 @@ declare class Pinout<PinLabels extends string = never> extends Chip<PinLabels> {
20069
20292
  } | undefined;
20070
20293
  children?: any;
20071
20294
  doNotPlace?: boolean | undefined;
20295
+ allowOffBoard?: boolean | undefined;
20072
20296
  obstructsWithinBounds?: boolean | undefined;
20073
20297
  showAsTranslucentModel?: boolean | undefined;
20074
20298
  mfn?: string | undefined;
@@ -23186,6 +23410,7 @@ declare class Diode extends NormalComponent<typeof diodeProps, PolarizedPassiveP
23186
23410
  children: zod.ZodOptional<zod.ZodAny>;
23187
23411
  symbolName: zod.ZodOptional<zod.ZodString>;
23188
23412
  doNotPlace: zod.ZodOptional<zod.ZodBoolean>;
23413
+ allowOffBoard: zod.ZodOptional<zod.ZodBoolean>;
23189
23414
  obstructsWithinBounds: zod.ZodOptional<zod.ZodBoolean>;
23190
23415
  showAsTranslucentModel: zod.ZodOptional<zod.ZodBoolean>;
23191
23416
  pinAttributes: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
@@ -23727,6 +23952,7 @@ declare class Diode extends NormalComponent<typeof diodeProps, PolarizedPassiveP
23727
23952
  } | undefined;
23728
23953
  children?: any;
23729
23954
  doNotPlace?: boolean | undefined;
23955
+ allowOffBoard?: boolean | undefined;
23730
23956
  obstructsWithinBounds?: boolean | undefined;
23731
23957
  showAsTranslucentModel?: boolean | undefined;
23732
23958
  mfn?: string | undefined;
@@ -24233,6 +24459,7 @@ declare class Diode extends NormalComponent<typeof diodeProps, PolarizedPassiveP
24233
24459
  } | undefined;
24234
24460
  children?: any;
24235
24461
  doNotPlace?: boolean | undefined;
24462
+ allowOffBoard?: boolean | undefined;
24236
24463
  obstructsWithinBounds?: boolean | undefined;
24237
24464
  showAsTranslucentModel?: boolean | undefined;
24238
24465
  mfn?: string | undefined;
@@ -24739,6 +24966,7 @@ declare class Diode extends NormalComponent<typeof diodeProps, PolarizedPassiveP
24739
24966
  } | undefined;
24740
24967
  children?: any;
24741
24968
  doNotPlace?: boolean | undefined;
24969
+ allowOffBoard?: boolean | undefined;
24742
24970
  obstructsWithinBounds?: boolean | undefined;
24743
24971
  showAsTranslucentModel?: boolean | undefined;
24744
24972
  mfn?: string | undefined;
@@ -25245,6 +25473,7 @@ declare class Diode extends NormalComponent<typeof diodeProps, PolarizedPassiveP
25245
25473
  } | undefined;
25246
25474
  children?: any;
25247
25475
  doNotPlace?: boolean | undefined;
25476
+ allowOffBoard?: boolean | undefined;
25248
25477
  obstructsWithinBounds?: boolean | undefined;
25249
25478
  showAsTranslucentModel?: boolean | undefined;
25250
25479
  mfn?: string | undefined;
@@ -25757,6 +25986,7 @@ declare class Diode extends NormalComponent<typeof diodeProps, PolarizedPassiveP
25757
25986
  } | undefined;
25758
25987
  children?: any;
25759
25988
  doNotPlace?: boolean | undefined;
25989
+ allowOffBoard?: boolean | undefined;
25760
25990
  obstructsWithinBounds?: boolean | undefined;
25761
25991
  showAsTranslucentModel?: boolean | undefined;
25762
25992
  mfn?: string | undefined;
@@ -26257,6 +26487,7 @@ declare class Diode extends NormalComponent<typeof diodeProps, PolarizedPassiveP
26257
26487
  } | undefined;
26258
26488
  children?: any;
26259
26489
  doNotPlace?: boolean | undefined;
26490
+ allowOffBoard?: boolean | undefined;
26260
26491
  obstructsWithinBounds?: boolean | undefined;
26261
26492
  showAsTranslucentModel?: boolean | undefined;
26262
26493
  mfn?: string | undefined;
@@ -29312,6 +29543,7 @@ declare class Fuse extends NormalComponent<typeof fuseProps, PassivePorts> {
29312
29543
  children: zod.ZodOptional<zod.ZodAny>;
29313
29544
  symbolName: zod.ZodOptional<zod.ZodString>;
29314
29545
  doNotPlace: zod.ZodOptional<zod.ZodBoolean>;
29546
+ allowOffBoard: zod.ZodOptional<zod.ZodBoolean>;
29315
29547
  obstructsWithinBounds: zod.ZodOptional<zod.ZodBoolean>;
29316
29548
  showAsTranslucentModel: zod.ZodOptional<zod.ZodBoolean>;
29317
29549
  pinAttributes: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
@@ -29849,6 +30081,7 @@ declare class Fuse extends NormalComponent<typeof fuseProps, PassivePorts> {
29849
30081
  } | undefined;
29850
30082
  children?: any;
29851
30083
  doNotPlace?: boolean | undefined;
30084
+ allowOffBoard?: boolean | undefined;
29852
30085
  obstructsWithinBounds?: boolean | undefined;
29853
30086
  showAsTranslucentModel?: boolean | undefined;
29854
30087
  mfn?: string | undefined;
@@ -30352,6 +30585,7 @@ declare class Fuse extends NormalComponent<typeof fuseProps, PassivePorts> {
30352
30585
  } | undefined;
30353
30586
  children?: any;
30354
30587
  doNotPlace?: boolean | undefined;
30588
+ allowOffBoard?: boolean | undefined;
30355
30589
  obstructsWithinBounds?: boolean | undefined;
30356
30590
  showAsTranslucentModel?: boolean | undefined;
30357
30591
  mfn?: string | undefined;
@@ -33397,6 +33631,7 @@ declare class Jumper<PinLabels extends string = never> extends NormalComponent<t
33397
33631
  children: zod.ZodOptional<zod.ZodAny>;
33398
33632
  symbolName: zod.ZodOptional<zod.ZodString>;
33399
33633
  doNotPlace: zod.ZodOptional<zod.ZodBoolean>;
33634
+ allowOffBoard: zod.ZodOptional<zod.ZodBoolean>;
33400
33635
  obstructsWithinBounds: zod.ZodOptional<zod.ZodBoolean>;
33401
33636
  showAsTranslucentModel: zod.ZodOptional<zod.ZodBoolean>;
33402
33637
  pinAttributes: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
@@ -34213,6 +34448,7 @@ declare class Jumper<PinLabels extends string = never> extends NormalComponent<t
34213
34448
  } | undefined;
34214
34449
  children?: any;
34215
34450
  doNotPlace?: boolean | undefined;
34451
+ allowOffBoard?: boolean | undefined;
34216
34452
  obstructsWithinBounds?: boolean | undefined;
34217
34453
  showAsTranslucentModel?: boolean | undefined;
34218
34454
  mfn?: string | undefined;
@@ -34782,6 +35018,7 @@ declare class Jumper<PinLabels extends string = never> extends NormalComponent<t
34782
35018
  } | undefined;
34783
35019
  children?: any;
34784
35020
  doNotPlace?: boolean | undefined;
35021
+ allowOffBoard?: boolean | undefined;
34785
35022
  obstructsWithinBounds?: boolean | undefined;
34786
35023
  showAsTranslucentModel?: boolean | undefined;
34787
35024
  mfn?: string | undefined;
@@ -37896,6 +38133,7 @@ declare class Interconnect extends NormalComponent<typeof interconnectProps> {
37896
38133
  children: zod.ZodOptional<zod.ZodAny>;
37897
38134
  symbolName: zod.ZodOptional<zod.ZodString>;
37898
38135
  doNotPlace: zod.ZodOptional<zod.ZodBoolean>;
38136
+ allowOffBoard: zod.ZodOptional<zod.ZodBoolean>;
37899
38137
  obstructsWithinBounds: zod.ZodOptional<zod.ZodBoolean>;
37900
38138
  showAsTranslucentModel: zod.ZodOptional<zod.ZodBoolean>;
37901
38139
  pinAttributes: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
@@ -38430,6 +38668,7 @@ declare class Interconnect extends NormalComponent<typeof interconnectProps> {
38430
38668
  } | undefined;
38431
38669
  children?: any;
38432
38670
  doNotPlace?: boolean | undefined;
38671
+ allowOffBoard?: boolean | undefined;
38433
38672
  obstructsWithinBounds?: boolean | undefined;
38434
38673
  showAsTranslucentModel?: boolean | undefined;
38435
38674
  mfn?: string | undefined;
@@ -38931,6 +39170,7 @@ declare class Interconnect extends NormalComponent<typeof interconnectProps> {
38931
39170
  } | undefined;
38932
39171
  children?: any;
38933
39172
  doNotPlace?: boolean | undefined;
39173
+ allowOffBoard?: boolean | undefined;
38934
39174
  obstructsWithinBounds?: boolean | undefined;
38935
39175
  showAsTranslucentModel?: boolean | undefined;
38936
39176
  mfn?: string | undefined;
@@ -41989,6 +42229,7 @@ declare class SolderJumper<PinLabels extends string = never> extends NormalCompo
41989
42229
  children: zod.ZodOptional<zod.ZodAny>;
41990
42230
  symbolName: zod.ZodOptional<zod.ZodString>;
41991
42231
  doNotPlace: zod.ZodOptional<zod.ZodBoolean>;
42232
+ allowOffBoard: zod.ZodOptional<zod.ZodBoolean>;
41992
42233
  obstructsWithinBounds: zod.ZodOptional<zod.ZodBoolean>;
41993
42234
  showAsTranslucentModel: zod.ZodOptional<zod.ZodBoolean>;
41994
42235
  pinAttributes: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
@@ -42808,6 +43049,7 @@ declare class SolderJumper<PinLabels extends string = never> extends NormalCompo
42808
43049
  } | undefined;
42809
43050
  children?: any;
42810
43051
  doNotPlace?: boolean | undefined;
43052
+ allowOffBoard?: boolean | undefined;
42811
43053
  obstructsWithinBounds?: boolean | undefined;
42812
43054
  showAsTranslucentModel?: boolean | undefined;
42813
43055
  mfn?: string | undefined;
@@ -43379,6 +43621,7 @@ declare class SolderJumper<PinLabels extends string = never> extends NormalCompo
43379
43621
  } | undefined;
43380
43622
  children?: any;
43381
43623
  doNotPlace?: boolean | undefined;
43624
+ allowOffBoard?: boolean | undefined;
43382
43625
  obstructsWithinBounds?: boolean | undefined;
43383
43626
  showAsTranslucentModel?: boolean | undefined;
43384
43627
  mfn?: string | undefined;
@@ -46496,6 +46739,7 @@ declare class Led extends NormalComponent<typeof ledProps, PolarizedPassivePorts
46496
46739
  children: zod.ZodOptional<zod.ZodAny>;
46497
46740
  symbolName: zod.ZodOptional<zod.ZodString>;
46498
46741
  doNotPlace: zod.ZodOptional<zod.ZodBoolean>;
46742
+ allowOffBoard: zod.ZodOptional<zod.ZodBoolean>;
46499
46743
  obstructsWithinBounds: zod.ZodOptional<zod.ZodBoolean>;
46500
46744
  showAsTranslucentModel: zod.ZodOptional<zod.ZodBoolean>;
46501
46745
  pinAttributes: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
@@ -47033,6 +47277,7 @@ declare class Led extends NormalComponent<typeof ledProps, PolarizedPassivePorts
47033
47277
  } | undefined;
47034
47278
  children?: any;
47035
47279
  doNotPlace?: boolean | undefined;
47280
+ allowOffBoard?: boolean | undefined;
47036
47281
  obstructsWithinBounds?: boolean | undefined;
47037
47282
  showAsTranslucentModel?: boolean | undefined;
47038
47283
  mfn?: string | undefined;
@@ -47537,6 +47782,7 @@ declare class Led extends NormalComponent<typeof ledProps, PolarizedPassivePorts
47537
47782
  } | undefined;
47538
47783
  children?: any;
47539
47784
  doNotPlace?: boolean | undefined;
47785
+ allowOffBoard?: boolean | undefined;
47540
47786
  obstructsWithinBounds?: boolean | undefined;
47541
47787
  showAsTranslucentModel?: boolean | undefined;
47542
47788
  mfn?: string | undefined;
@@ -50591,6 +50837,7 @@ declare class PowerSource extends NormalComponent<typeof powerSourceProps, Polar
50591
50837
  children: zod.ZodOptional<zod.ZodAny>;
50592
50838
  symbolName: zod.ZodOptional<zod.ZodString>;
50593
50839
  doNotPlace: zod.ZodOptional<zod.ZodBoolean>;
50840
+ allowOffBoard: zod.ZodOptional<zod.ZodBoolean>;
50594
50841
  obstructsWithinBounds: zod.ZodOptional<zod.ZodBoolean>;
50595
50842
  showAsTranslucentModel: zod.ZodOptional<zod.ZodBoolean>;
50596
50843
  pinAttributes: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
@@ -51124,6 +51371,7 @@ declare class PowerSource extends NormalComponent<typeof powerSourceProps, Polar
51124
51371
  } | undefined;
51125
51372
  children?: any;
51126
51373
  doNotPlace?: boolean | undefined;
51374
+ allowOffBoard?: boolean | undefined;
51127
51375
  obstructsWithinBounds?: boolean | undefined;
51128
51376
  showAsTranslucentModel?: boolean | undefined;
51129
51377
  mfn?: string | undefined;
@@ -51623,6 +51871,7 @@ declare class PowerSource extends NormalComponent<typeof powerSourceProps, Polar
51623
51871
  } | undefined;
51624
51872
  children?: any;
51625
51873
  doNotPlace?: boolean | undefined;
51874
+ allowOffBoard?: boolean | undefined;
51626
51875
  obstructsWithinBounds?: boolean | undefined;
51627
51876
  showAsTranslucentModel?: boolean | undefined;
51628
51877
  mfn?: string | undefined;
@@ -54669,6 +54918,7 @@ declare class VoltageSource extends NormalComponent<typeof voltageSourceProps, "
54669
54918
  children: zod.ZodOptional<zod.ZodAny>;
54670
54919
  symbolName: zod.ZodOptional<zod.ZodString>;
54671
54920
  doNotPlace: zod.ZodOptional<zod.ZodBoolean>;
54921
+ allowOffBoard: zod.ZodOptional<zod.ZodBoolean>;
54672
54922
  obstructsWithinBounds: zod.ZodOptional<zod.ZodBoolean>;
54673
54923
  showAsTranslucentModel: zod.ZodOptional<zod.ZodBoolean>;
54674
54924
  pinAttributes: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
@@ -55207,6 +55457,7 @@ declare class VoltageSource extends NormalComponent<typeof voltageSourceProps, "
55207
55457
  } | undefined;
55208
55458
  children?: any;
55209
55459
  doNotPlace?: boolean | undefined;
55460
+ allowOffBoard?: boolean | undefined;
55210
55461
  obstructsWithinBounds?: boolean | undefined;
55211
55462
  showAsTranslucentModel?: boolean | undefined;
55212
55463
  mfn?: string | undefined;
@@ -55712,6 +55963,7 @@ declare class VoltageSource extends NormalComponent<typeof voltageSourceProps, "
55712
55963
  } | undefined;
55713
55964
  children?: any;
55714
55965
  doNotPlace?: boolean | undefined;
55966
+ allowOffBoard?: boolean | undefined;
55715
55967
  obstructsWithinBounds?: boolean | undefined;
55716
55968
  showAsTranslucentModel?: boolean | undefined;
55717
55969
  mfn?: string | undefined;
@@ -58767,6 +59019,7 @@ declare class CurrentSource extends NormalComponent<typeof currentSourceProps, "
58767
59019
  children: zod.ZodOptional<zod.ZodAny>;
58768
59020
  symbolName: zod.ZodOptional<zod.ZodString>;
58769
59021
  doNotPlace: zod.ZodOptional<zod.ZodBoolean>;
59022
+ allowOffBoard: zod.ZodOptional<zod.ZodBoolean>;
58770
59023
  obstructsWithinBounds: zod.ZodOptional<zod.ZodBoolean>;
58771
59024
  showAsTranslucentModel: zod.ZodOptional<zod.ZodBoolean>;
58772
59025
  pinAttributes: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
@@ -59305,6 +59558,7 @@ declare class CurrentSource extends NormalComponent<typeof currentSourceProps, "
59305
59558
  } | undefined;
59306
59559
  children?: any;
59307
59560
  doNotPlace?: boolean | undefined;
59561
+ allowOffBoard?: boolean | undefined;
59308
59562
  obstructsWithinBounds?: boolean | undefined;
59309
59563
  showAsTranslucentModel?: boolean | undefined;
59310
59564
  mfn?: string | undefined;
@@ -59810,6 +60064,7 @@ declare class CurrentSource extends NormalComponent<typeof currentSourceProps, "
59810
60064
  } | undefined;
59811
60065
  children?: any;
59812
60066
  doNotPlace?: boolean | undefined;
60067
+ allowOffBoard?: boolean | undefined;
59813
60068
  obstructsWithinBounds?: boolean | undefined;
59814
60069
  showAsTranslucentModel?: boolean | undefined;
59815
60070
  mfn?: string | undefined;
@@ -62866,6 +63121,7 @@ declare class Resistor extends NormalComponent<typeof resistorProps, PassivePort
62866
63121
  children: zod.ZodOptional<zod.ZodAny>;
62867
63122
  symbolName: zod.ZodOptional<zod.ZodString>;
62868
63123
  doNotPlace: zod.ZodOptional<zod.ZodBoolean>;
63124
+ allowOffBoard: zod.ZodOptional<zod.ZodBoolean>;
62869
63125
  obstructsWithinBounds: zod.ZodOptional<zod.ZodBoolean>;
62870
63126
  showAsTranslucentModel: zod.ZodOptional<zod.ZodBoolean>;
62871
63127
  pinAttributes: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
@@ -63407,6 +63663,7 @@ declare class Resistor extends NormalComponent<typeof resistorProps, PassivePort
63407
63663
  } | undefined;
63408
63664
  children?: any;
63409
63665
  doNotPlace?: boolean | undefined;
63666
+ allowOffBoard?: boolean | undefined;
63410
63667
  obstructsWithinBounds?: boolean | undefined;
63411
63668
  showAsTranslucentModel?: boolean | undefined;
63412
63669
  mfn?: string | undefined;
@@ -63914,6 +64171,7 @@ declare class Resistor extends NormalComponent<typeof resistorProps, PassivePort
63914
64171
  } | undefined;
63915
64172
  children?: any;
63916
64173
  doNotPlace?: boolean | undefined;
64174
+ allowOffBoard?: boolean | undefined;
63917
64175
  obstructsWithinBounds?: boolean | undefined;
63918
64176
  showAsTranslucentModel?: boolean | undefined;
63919
64177
  mfn?: string | undefined;
@@ -73632,6 +73890,7 @@ declare class Fiducial extends PrimitiveComponent<typeof fiducialProps> {
73632
73890
  children: z.ZodOptional<z.ZodAny>;
73633
73891
  symbolName: z.ZodOptional<z.ZodString>;
73634
73892
  doNotPlace: z.ZodOptional<z.ZodBoolean>;
73893
+ allowOffBoard: z.ZodOptional<z.ZodBoolean>;
73635
73894
  obstructsWithinBounds: z.ZodOptional<z.ZodBoolean>;
73636
73895
  showAsTranslucentModel: z.ZodOptional<z.ZodBoolean>;
73637
73896
  pinAttributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -74165,6 +74424,7 @@ declare class Fiducial extends PrimitiveComponent<typeof fiducialProps> {
74165
74424
  } | undefined;
74166
74425
  children?: any;
74167
74426
  doNotPlace?: boolean | undefined;
74427
+ allowOffBoard?: boolean | undefined;
74168
74428
  obstructsWithinBounds?: boolean | undefined;
74169
74429
  showAsTranslucentModel?: boolean | undefined;
74170
74430
  mfn?: string | undefined;
@@ -74665,6 +74925,7 @@ declare class Fiducial extends PrimitiveComponent<typeof fiducialProps> {
74665
74925
  } | undefined;
74666
74926
  children?: any;
74667
74927
  doNotPlace?: boolean | undefined;
74928
+ allowOffBoard?: boolean | undefined;
74668
74929
  obstructsWithinBounds?: boolean | undefined;
74669
74930
  showAsTranslucentModel?: boolean | undefined;
74670
74931
  mfn?: string | undefined;
@@ -79104,6 +79365,7 @@ declare class Battery extends NormalComponent<typeof batteryProps, PassivePorts>
79104
79365
  children: zod.ZodOptional<zod.ZodAny>;
79105
79366
  symbolName: zod.ZodOptional<zod.ZodString>;
79106
79367
  doNotPlace: zod.ZodOptional<zod.ZodBoolean>;
79368
+ allowOffBoard: zod.ZodOptional<zod.ZodBoolean>;
79107
79369
  obstructsWithinBounds: zod.ZodOptional<zod.ZodBoolean>;
79108
79370
  showAsTranslucentModel: zod.ZodOptional<zod.ZodBoolean>;
79109
79371
  pinAttributes: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
@@ -79639,6 +79901,7 @@ declare class Battery extends NormalComponent<typeof batteryProps, PassivePorts>
79639
79901
  } | undefined;
79640
79902
  children?: any;
79641
79903
  doNotPlace?: boolean | undefined;
79904
+ allowOffBoard?: boolean | undefined;
79642
79905
  obstructsWithinBounds?: boolean | undefined;
79643
79906
  showAsTranslucentModel?: boolean | undefined;
79644
79907
  mfn?: string | undefined;
@@ -80141,6 +80404,7 @@ declare class Battery extends NormalComponent<typeof batteryProps, PassivePorts>
80141
80404
  } | undefined;
80142
80405
  children?: any;
80143
80406
  doNotPlace?: boolean | undefined;
80407
+ allowOffBoard?: boolean | undefined;
80144
80408
  obstructsWithinBounds?: boolean | undefined;
80145
80409
  showAsTranslucentModel?: boolean | undefined;
80146
80410
  mfn?: string | undefined;
@@ -83187,6 +83451,7 @@ declare class PinHeader extends NormalComponent<typeof pinHeaderProps> {
83187
83451
  children: zod.ZodOptional<zod.ZodAny>;
83188
83452
  symbolName: zod.ZodOptional<zod.ZodString>;
83189
83453
  doNotPlace: zod.ZodOptional<zod.ZodBoolean>;
83454
+ allowOffBoard: zod.ZodOptional<zod.ZodBoolean>;
83190
83455
  obstructsWithinBounds: zod.ZodOptional<zod.ZodBoolean>;
83191
83456
  showAsTranslucentModel: zod.ZodOptional<zod.ZodBoolean>;
83192
83457
  pinAttributes: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
@@ -83889,6 +84154,7 @@ declare class PinHeader extends NormalComponent<typeof pinHeaderProps> {
83889
84154
  } | undefined;
83890
84155
  children?: any;
83891
84156
  doNotPlace?: boolean | undefined;
84157
+ allowOffBoard?: boolean | undefined;
83892
84158
  obstructsWithinBounds?: boolean | undefined;
83893
84159
  showAsTranslucentModel?: boolean | undefined;
83894
84160
  mfn?: string | undefined;
@@ -84439,6 +84705,7 @@ declare class PinHeader extends NormalComponent<typeof pinHeaderProps> {
84439
84705
  } | undefined;
84440
84706
  children?: any;
84441
84707
  doNotPlace?: boolean | undefined;
84708
+ allowOffBoard?: boolean | undefined;
84442
84709
  obstructsWithinBounds?: boolean | undefined;
84443
84710
  showAsTranslucentModel?: boolean | undefined;
84444
84711
  mfn?: string | undefined;
@@ -87535,6 +87802,7 @@ declare class Resonator extends NormalComponent<typeof resonatorProps> {
87535
87802
  children: zod.ZodOptional<zod.ZodAny>;
87536
87803
  symbolName: zod.ZodOptional<zod.ZodString>;
87537
87804
  doNotPlace: zod.ZodOptional<zod.ZodBoolean>;
87805
+ allowOffBoard: zod.ZodOptional<zod.ZodBoolean>;
87538
87806
  obstructsWithinBounds: zod.ZodOptional<zod.ZodBoolean>;
87539
87807
  showAsTranslucentModel: zod.ZodOptional<zod.ZodBoolean>;
87540
87808
  pinAttributes: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
@@ -88071,6 +88339,7 @@ declare class Resonator extends NormalComponent<typeof resonatorProps> {
88071
88339
  } | undefined;
88072
88340
  children?: any;
88073
88341
  doNotPlace?: boolean | undefined;
88342
+ allowOffBoard?: boolean | undefined;
88074
88343
  obstructsWithinBounds?: boolean | undefined;
88075
88344
  showAsTranslucentModel?: boolean | undefined;
88076
88345
  mfn?: string | undefined;
@@ -88572,6 +88841,7 @@ declare class Resonator extends NormalComponent<typeof resonatorProps> {
88572
88841
  } | undefined;
88573
88842
  children?: any;
88574
88843
  doNotPlace?: boolean | undefined;
88844
+ allowOffBoard?: boolean | undefined;
88575
88845
  obstructsWithinBounds?: boolean | undefined;
88576
88846
  showAsTranslucentModel?: boolean | undefined;
88577
88847
  mfn?: string | undefined;
@@ -91616,6 +91886,7 @@ declare class Inductor extends NormalComponent<typeof inductorProps, PassivePort
91616
91886
  children: zod.ZodOptional<zod.ZodAny>;
91617
91887
  symbolName: zod.ZodOptional<zod.ZodString>;
91618
91888
  doNotPlace: zod.ZodOptional<zod.ZodBoolean>;
91889
+ allowOffBoard: zod.ZodOptional<zod.ZodBoolean>;
91619
91890
  obstructsWithinBounds: zod.ZodOptional<zod.ZodBoolean>;
91620
91891
  showAsTranslucentModel: zod.ZodOptional<zod.ZodBoolean>;
91621
91892
  pinAttributes: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
@@ -92152,6 +92423,7 @@ declare class Inductor extends NormalComponent<typeof inductorProps, PassivePort
92152
92423
  } | undefined;
92153
92424
  children?: any;
92154
92425
  doNotPlace?: boolean | undefined;
92426
+ allowOffBoard?: boolean | undefined;
92155
92427
  obstructsWithinBounds?: boolean | undefined;
92156
92428
  showAsTranslucentModel?: boolean | undefined;
92157
92429
  mfn?: string | undefined;
@@ -92654,6 +92926,7 @@ declare class Inductor extends NormalComponent<typeof inductorProps, PassivePort
92654
92926
  } | undefined;
92655
92927
  children?: any;
92656
92928
  doNotPlace?: boolean | undefined;
92929
+ allowOffBoard?: boolean | undefined;
92657
92930
  obstructsWithinBounds?: boolean | undefined;
92658
92931
  showAsTranslucentModel?: boolean | undefined;
92659
92932
  mfn?: string | undefined;
@@ -95700,6 +95973,7 @@ declare class Potentiometer extends NormalComponent<typeof potentiometerProps> {
95700
95973
  children: zod.ZodOptional<zod.ZodAny>;
95701
95974
  symbolName: zod.ZodOptional<zod.ZodString>;
95702
95975
  doNotPlace: zod.ZodOptional<zod.ZodBoolean>;
95976
+ allowOffBoard: zod.ZodOptional<zod.ZodBoolean>;
95703
95977
  obstructsWithinBounds: zod.ZodOptional<zod.ZodBoolean>;
95704
95978
  showAsTranslucentModel: zod.ZodOptional<zod.ZodBoolean>;
95705
95979
  pinAttributes: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
@@ -96234,6 +96508,7 @@ declare class Potentiometer extends NormalComponent<typeof potentiometerProps> {
96234
96508
  } | undefined;
96235
96509
  children?: any;
96236
96510
  doNotPlace?: boolean | undefined;
96511
+ allowOffBoard?: boolean | undefined;
96237
96512
  obstructsWithinBounds?: boolean | undefined;
96238
96513
  showAsTranslucentModel?: boolean | undefined;
96239
96514
  mfn?: string | undefined;
@@ -96734,6 +97009,7 @@ declare class Potentiometer extends NormalComponent<typeof potentiometerProps> {
96734
97009
  } | undefined;
96735
97010
  children?: any;
96736
97011
  doNotPlace?: boolean | undefined;
97012
+ allowOffBoard?: boolean | undefined;
96737
97013
  obstructsWithinBounds?: boolean | undefined;
96738
97014
  showAsTranslucentModel?: boolean | undefined;
96739
97015
  mfn?: string | undefined;
@@ -99775,6 +100051,7 @@ declare class PushButton extends NormalComponent<typeof pushButtonProps, Passive
99775
100051
  children: zod.ZodOptional<zod.ZodAny>;
99776
100052
  symbolName: zod.ZodOptional<zod.ZodString>;
99777
100053
  doNotPlace: zod.ZodOptional<zod.ZodBoolean>;
100054
+ allowOffBoard: zod.ZodOptional<zod.ZodBoolean>;
99778
100055
  obstructsWithinBounds: zod.ZodOptional<zod.ZodBoolean>;
99779
100056
  showAsTranslucentModel: zod.ZodOptional<zod.ZodBoolean>;
99780
100057
  pinAttributes: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
@@ -100602,6 +100879,7 @@ declare class PushButton extends NormalComponent<typeof pushButtonProps, Passive
100602
100879
  } | undefined;
100603
100880
  children?: any;
100604
100881
  doNotPlace?: boolean | undefined;
100882
+ allowOffBoard?: boolean | undefined;
100605
100883
  obstructsWithinBounds?: boolean | undefined;
100606
100884
  showAsTranslucentModel?: boolean | undefined;
100607
100885
  mfn?: string | undefined;
@@ -101176,6 +101454,7 @@ declare class PushButton extends NormalComponent<typeof pushButtonProps, Passive
101176
101454
  } | undefined;
101177
101455
  children?: any;
101178
101456
  doNotPlace?: boolean | undefined;
101457
+ allowOffBoard?: boolean | undefined;
101179
101458
  obstructsWithinBounds?: boolean | undefined;
101180
101459
  showAsTranslucentModel?: boolean | undefined;
101181
101460
  mfn?: string | undefined;
@@ -104293,6 +104572,7 @@ declare class Crystal extends NormalComponent<typeof crystalProps, PolarizedPass
104293
104572
  children: zod.ZodOptional<zod.ZodAny>;
104294
104573
  symbolName: zod.ZodOptional<zod.ZodString>;
104295
104574
  doNotPlace: zod.ZodOptional<zod.ZodBoolean>;
104575
+ allowOffBoard: zod.ZodOptional<zod.ZodBoolean>;
104296
104576
  obstructsWithinBounds: zod.ZodOptional<zod.ZodBoolean>;
104297
104577
  showAsTranslucentModel: zod.ZodOptional<zod.ZodBoolean>;
104298
104578
  pinAttributes: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
@@ -104832,6 +105112,7 @@ declare class Crystal extends NormalComponent<typeof crystalProps, PolarizedPass
104832
105112
  } | undefined;
104833
105113
  children?: any;
104834
105114
  doNotPlace?: boolean | undefined;
105115
+ allowOffBoard?: boolean | undefined;
104835
105116
  obstructsWithinBounds?: boolean | undefined;
104836
105117
  showAsTranslucentModel?: boolean | undefined;
104837
105118
  mfn?: string | undefined;
@@ -105336,6 +105617,7 @@ declare class Crystal extends NormalComponent<typeof crystalProps, PolarizedPass
105336
105617
  } | undefined;
105337
105618
  children?: any;
105338
105619
  doNotPlace?: boolean | undefined;
105620
+ allowOffBoard?: boolean | undefined;
105339
105621
  obstructsWithinBounds?: boolean | undefined;
105340
105622
  showAsTranslucentModel?: boolean | undefined;
105341
105623
  mfn?: string | undefined;
@@ -108383,6 +108665,7 @@ declare class Transistor extends NormalComponent<typeof transistorProps, Transis
108383
108665
  children: zod.ZodOptional<zod.ZodAny>;
108384
108666
  symbolName: zod.ZodOptional<zod.ZodString>;
108385
108667
  doNotPlace: zod.ZodOptional<zod.ZodBoolean>;
108668
+ allowOffBoard: zod.ZodOptional<zod.ZodBoolean>;
108386
108669
  obstructsWithinBounds: zod.ZodOptional<zod.ZodBoolean>;
108387
108670
  showAsTranslucentModel: zod.ZodOptional<zod.ZodBoolean>;
108388
108671
  pinAttributes: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
@@ -108917,6 +109200,7 @@ declare class Transistor extends NormalComponent<typeof transistorProps, Transis
108917
109200
  } | undefined;
108918
109201
  children?: any;
108919
109202
  doNotPlace?: boolean | undefined;
109203
+ allowOffBoard?: boolean | undefined;
108920
109204
  obstructsWithinBounds?: boolean | undefined;
108921
109205
  showAsTranslucentModel?: boolean | undefined;
108922
109206
  mfn?: string | undefined;
@@ -109417,6 +109701,7 @@ declare class Transistor extends NormalComponent<typeof transistorProps, Transis
109417
109701
  } | undefined;
109418
109702
  children?: any;
109419
109703
  doNotPlace?: boolean | undefined;
109704
+ allowOffBoard?: boolean | undefined;
109420
109705
  obstructsWithinBounds?: boolean | undefined;
109421
109706
  showAsTranslucentModel?: boolean | undefined;
109422
109707
  mfn?: string | undefined;
@@ -112466,6 +112751,7 @@ declare class Mosfet extends NormalComponent<typeof mosfetProps> {
112466
112751
  children: zod.ZodOptional<zod.ZodAny>;
112467
112752
  symbolName: zod.ZodOptional<zod.ZodString>;
112468
112753
  doNotPlace: zod.ZodOptional<zod.ZodBoolean>;
112754
+ allowOffBoard: zod.ZodOptional<zod.ZodBoolean>;
112469
112755
  obstructsWithinBounds: zod.ZodOptional<zod.ZodBoolean>;
112470
112756
  showAsTranslucentModel: zod.ZodOptional<zod.ZodBoolean>;
112471
112757
  pinAttributes: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
@@ -113001,6 +113287,7 @@ declare class Mosfet extends NormalComponent<typeof mosfetProps> {
113001
113287
  } | undefined;
113002
113288
  children?: any;
113003
113289
  doNotPlace?: boolean | undefined;
113290
+ allowOffBoard?: boolean | undefined;
113004
113291
  obstructsWithinBounds?: boolean | undefined;
113005
113292
  showAsTranslucentModel?: boolean | undefined;
113006
113293
  mfn?: string | undefined;
@@ -113501,6 +113788,7 @@ declare class Mosfet extends NormalComponent<typeof mosfetProps> {
113501
113788
  } | undefined;
113502
113789
  children?: any;
113503
113790
  doNotPlace?: boolean | undefined;
113791
+ allowOffBoard?: boolean | undefined;
113504
113792
  obstructsWithinBounds?: boolean | undefined;
113505
113793
  showAsTranslucentModel?: boolean | undefined;
113506
113794
  mfn?: string | undefined;
@@ -116542,6 +116830,7 @@ declare class OpAmp extends NormalComponent<typeof opampProps, OpAmpPinLabels> {
116542
116830
  children: zod.ZodOptional<zod.ZodAny>;
116543
116831
  symbolName: zod.ZodOptional<zod.ZodString>;
116544
116832
  doNotPlace: zod.ZodOptional<zod.ZodBoolean>;
116833
+ allowOffBoard: zod.ZodOptional<zod.ZodBoolean>;
116545
116834
  obstructsWithinBounds: zod.ZodOptional<zod.ZodBoolean>;
116546
116835
  showAsTranslucentModel: zod.ZodOptional<zod.ZodBoolean>;
116547
116836
  pinAttributes: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
@@ -117074,6 +117363,7 @@ declare class OpAmp extends NormalComponent<typeof opampProps, OpAmpPinLabels> {
117074
117363
  } | undefined;
117075
117364
  children?: any;
117076
117365
  doNotPlace?: boolean | undefined;
117366
+ allowOffBoard?: boolean | undefined;
117077
117367
  obstructsWithinBounds?: boolean | undefined;
117078
117368
  showAsTranslucentModel?: boolean | undefined;
117079
117369
  mfn?: string | undefined;
@@ -117573,6 +117863,7 @@ declare class OpAmp extends NormalComponent<typeof opampProps, OpAmpPinLabels> {
117573
117863
  } | undefined;
117574
117864
  children?: any;
117575
117865
  doNotPlace?: boolean | undefined;
117866
+ allowOffBoard?: boolean | undefined;
117576
117867
  obstructsWithinBounds?: boolean | undefined;
117577
117868
  showAsTranslucentModel?: boolean | undefined;
117578
117869
  mfn?: string | undefined;
@@ -120623,6 +120914,7 @@ declare class Switch extends NormalComponent<typeof switchProps> {
120623
120914
  children: zod.ZodOptional<zod.ZodAny>;
120624
120915
  symbolName: zod.ZodOptional<zod.ZodString>;
120625
120916
  doNotPlace: zod.ZodOptional<zod.ZodBoolean>;
120917
+ allowOffBoard: zod.ZodOptional<zod.ZodBoolean>;
120626
120918
  obstructsWithinBounds: zod.ZodOptional<zod.ZodBoolean>;
120627
120919
  showAsTranslucentModel: zod.ZodOptional<zod.ZodBoolean>;
120628
120920
  pinAttributes: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
@@ -121168,6 +121460,7 @@ declare class Switch extends NormalComponent<typeof switchProps> {
121168
121460
  } | undefined;
121169
121461
  children?: any;
121170
121462
  doNotPlace?: boolean | undefined;
121463
+ allowOffBoard?: boolean | undefined;
121171
121464
  obstructsWithinBounds?: boolean | undefined;
121172
121465
  showAsTranslucentModel?: boolean | undefined;
121173
121466
  mfn?: string | undefined;
@@ -121677,6 +121970,7 @@ declare class Switch extends NormalComponent<typeof switchProps> {
121677
121970
  } | undefined;
121678
121971
  children?: any;
121679
121972
  doNotPlace?: boolean | undefined;
121973
+ allowOffBoard?: boolean | undefined;
121680
121974
  obstructsWithinBounds?: boolean | undefined;
121681
121975
  showAsTranslucentModel?: boolean | undefined;
121682
121976
  mfn?: string | undefined;
@@ -122187,6 +122481,7 @@ declare class Switch extends NormalComponent<typeof switchProps> {
122187
122481
  } | undefined;
122188
122482
  children?: any;
122189
122483
  doNotPlace?: boolean | undefined;
122484
+ allowOffBoard?: boolean | undefined;
122190
122485
  obstructsWithinBounds?: boolean | undefined;
122191
122486
  showAsTranslucentModel?: boolean | undefined;
122192
122487
  mfn?: string | undefined;
@@ -125240,6 +125535,7 @@ declare class TestPoint extends NormalComponent<typeof testpointProps> {
125240
125535
  children: zod.ZodOptional<zod.ZodAny>;
125241
125536
  symbolName: zod.ZodOptional<zod.ZodString>;
125242
125537
  doNotPlace: zod.ZodOptional<zod.ZodBoolean>;
125538
+ allowOffBoard: zod.ZodOptional<zod.ZodBoolean>;
125243
125539
  obstructsWithinBounds: zod.ZodOptional<zod.ZodBoolean>;
125244
125540
  showAsTranslucentModel: zod.ZodOptional<zod.ZodBoolean>;
125245
125541
  pinAttributes: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
@@ -125785,6 +126081,7 @@ declare class TestPoint extends NormalComponent<typeof testpointProps> {
125785
126081
  } | undefined;
125786
126082
  children?: any;
125787
126083
  doNotPlace?: boolean | undefined;
126084
+ allowOffBoard?: boolean | undefined;
125788
126085
  obstructsWithinBounds?: boolean | undefined;
125789
126086
  showAsTranslucentModel?: boolean | undefined;
125790
126087
  mfn?: string | undefined;
@@ -126291,6 +126588,7 @@ declare class TestPoint extends NormalComponent<typeof testpointProps> {
126291
126588
  } | undefined;
126292
126589
  children?: any;
126293
126590
  doNotPlace?: boolean | undefined;
126591
+ allowOffBoard?: boolean | undefined;
126294
126592
  obstructsWithinBounds?: boolean | undefined;
126295
126593
  showAsTranslucentModel?: boolean | undefined;
126296
126594
  mfn?: string | undefined;
@@ -126797,6 +127095,7 @@ declare class TestPoint extends NormalComponent<typeof testpointProps> {
126797
127095
  } | undefined;
126798
127096
  children?: any;
126799
127097
  doNotPlace?: boolean | undefined;
127098
+ allowOffBoard?: boolean | undefined;
126800
127099
  obstructsWithinBounds?: boolean | undefined;
126801
127100
  showAsTranslucentModel?: boolean | undefined;
126802
127101
  mfn?: string | undefined;
@@ -127303,6 +127602,7 @@ declare class TestPoint extends NormalComponent<typeof testpointProps> {
127303
127602
  } | undefined;
127304
127603
  children?: any;
127305
127604
  doNotPlace?: boolean | undefined;
127605
+ allowOffBoard?: boolean | undefined;
127306
127606
  obstructsWithinBounds?: boolean | undefined;
127307
127607
  showAsTranslucentModel?: boolean | undefined;
127308
127608
  mfn?: string | undefined;
@@ -130901,6 +131201,7 @@ declare class VoltageProbe extends PrimitiveComponent<typeof voltageProbeProps>
130901
131201
  children: z.ZodOptional<z.ZodAny>;
130902
131202
  symbolName: z.ZodOptional<z.ZodString>;
130903
131203
  doNotPlace: z.ZodOptional<z.ZodBoolean>;
131204
+ allowOffBoard: z.ZodOptional<z.ZodBoolean>;
130904
131205
  obstructsWithinBounds: z.ZodOptional<z.ZodBoolean>;
130905
131206
  showAsTranslucentModel: z.ZodOptional<z.ZodBoolean>;
130906
131207
  pinAttributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -131437,6 +131738,7 @@ declare class VoltageProbe extends PrimitiveComponent<typeof voltageProbeProps>
131437
131738
  } | undefined;
131438
131739
  children?: any;
131439
131740
  doNotPlace?: boolean | undefined;
131741
+ allowOffBoard?: boolean | undefined;
131440
131742
  obstructsWithinBounds?: boolean | undefined;
131441
131743
  showAsTranslucentModel?: boolean | undefined;
131442
131744
  mfn?: string | undefined;
@@ -131938,6 +132240,7 @@ declare class VoltageProbe extends PrimitiveComponent<typeof voltageProbeProps>
131938
132240
  } | undefined;
131939
132241
  children?: any;
131940
132242
  doNotPlace?: boolean | undefined;
132243
+ allowOffBoard?: boolean | undefined;
131941
132244
  obstructsWithinBounds?: boolean | undefined;
131942
132245
  showAsTranslucentModel?: boolean | undefined;
131943
132246
  mfn?: string | undefined;
@@ -132487,6 +132790,7 @@ declare const useLed: <PropsFromHook extends Omit<{
132487
132790
  } | undefined;
132488
132791
  children?: any;
132489
132792
  doNotPlace?: boolean | undefined;
132793
+ allowOffBoard?: boolean | undefined;
132490
132794
  obstructsWithinBounds?: boolean | undefined;
132491
132795
  showAsTranslucentModel?: boolean | undefined;
132492
132796
  mfn?: string | undefined;
@@ -132991,6 +133295,7 @@ declare const useLed: <PropsFromHook extends Omit<{
132991
133295
  } | undefined;
132992
133296
  children?: any;
132993
133297
  doNotPlace?: boolean | undefined;
133298
+ allowOffBoard?: boolean | undefined;
132994
133299
  obstructsWithinBounds?: boolean | undefined;
132995
133300
  showAsTranslucentModel?: boolean | undefined;
132996
133301
  mfn?: string | undefined;
package/dist/index.js CHANGED
@@ -12547,7 +12547,7 @@ import { identity as identity4 } from "transformation-matrix";
12547
12547
  var package_default = {
12548
12548
  name: "@tscircuit/core",
12549
12549
  type: "module",
12550
- version: "0.0.1035",
12550
+ version: "0.0.1036",
12551
12551
  types: "dist/index.d.ts",
12552
12552
  main: "dist/index.js",
12553
12553
  module: "dist/index.js",
@@ -12580,7 +12580,7 @@ var package_default = {
12580
12580
  "@resvg/resvg-js": "^2.6.2",
12581
12581
  "@tscircuit/alphabet": "0.0.18",
12582
12582
  "@tscircuit/capacity-autorouter": "^0.0.269",
12583
- "@tscircuit/checks": "^0.0.88",
12583
+ "@tscircuit/checks": "^0.0.90",
12584
12584
  "@tscircuit/circuit-json-util": "^0.0.77",
12585
12585
  "@tscircuit/common": "^0.0.20",
12586
12586
  "@tscircuit/copper-pour-solver": "^0.0.20",
@@ -12591,7 +12591,7 @@ var package_default = {
12591
12591
  "@tscircuit/math-utils": "^0.0.29",
12592
12592
  "@tscircuit/miniflex": "^0.0.4",
12593
12593
  "@tscircuit/ngspice-spice-engine": "^0.0.8",
12594
- "@tscircuit/props": "^0.0.471",
12594
+ "@tscircuit/props": "^0.0.474",
12595
12595
  "@tscircuit/schematic-match-adapt": "^0.0.16",
12596
12596
  "@tscircuit/schematic-trace-solver": "^v0.0.45",
12597
12597
  "@tscircuit/solver-utils": "^0.0.3",
@@ -12605,7 +12605,7 @@ var package_default = {
12605
12605
  "bun-match-svg": "0.0.12",
12606
12606
  "calculate-elbow": "^0.0.12",
12607
12607
  "chokidar-cli": "^3.0.0",
12608
- "circuit-json": "^0.0.378",
12608
+ "circuit-json": "^0.0.379",
12609
12609
  "circuit-json-to-bpc": "^0.0.13",
12610
12610
  "circuit-json-to-connectivity-map": "^0.0.23",
12611
12611
  "circuit-json-to-gltf": "^0.0.65",
@@ -16736,7 +16736,8 @@ var Chip = class extends NormalComponent3 {
16736
16736
  source_component_id: this.source_component_id,
16737
16737
  subcircuit_id: this.getSubcircuit().subcircuit_id ?? void 0,
16738
16738
  do_not_place: props.doNotPlace ?? false,
16739
- obstructs_within_bounds: props.obstructsWithinBounds ?? true
16739
+ obstructs_within_bounds: props.obstructsWithinBounds ?? true,
16740
+ is_allowed_to_be_off_board: props.allowOffBoard ?? false
16740
16741
  });
16741
16742
  this.pcb_component_id = pcb_component.pcb_component_id;
16742
16743
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tscircuit/core",
3
3
  "type": "module",
4
- "version": "0.0.1036",
4
+ "version": "0.0.1037",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",
@@ -34,7 +34,7 @@
34
34
  "@resvg/resvg-js": "^2.6.2",
35
35
  "@tscircuit/alphabet": "0.0.18",
36
36
  "@tscircuit/capacity-autorouter": "^0.0.269",
37
- "@tscircuit/checks": "^0.0.88",
37
+ "@tscircuit/checks": "^0.0.90",
38
38
  "@tscircuit/circuit-json-util": "^0.0.77",
39
39
  "@tscircuit/common": "^0.0.20",
40
40
  "@tscircuit/copper-pour-solver": "^0.0.20",
@@ -45,7 +45,7 @@
45
45
  "@tscircuit/math-utils": "^0.0.29",
46
46
  "@tscircuit/miniflex": "^0.0.4",
47
47
  "@tscircuit/ngspice-spice-engine": "^0.0.8",
48
- "@tscircuit/props": "^0.0.471",
48
+ "@tscircuit/props": "^0.0.474",
49
49
  "@tscircuit/schematic-match-adapt": "^0.0.16",
50
50
  "@tscircuit/schematic-trace-solver": "^v0.0.45",
51
51
  "@tscircuit/solver-utils": "^0.0.3",
@@ -59,7 +59,7 @@
59
59
  "bun-match-svg": "0.0.12",
60
60
  "calculate-elbow": "^0.0.12",
61
61
  "chokidar-cli": "^3.0.0",
62
- "circuit-json": "^0.0.378",
62
+ "circuit-json": "^0.0.379",
63
63
  "circuit-json-to-bpc": "^0.0.13",
64
64
  "circuit-json-to-connectivity-map": "^0.0.23",
65
65
  "circuit-json-to-gltf": "^0.0.65",