@tscircuit/props 0.0.238 → 0.0.239
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 +39 -1
- package/dist/index.js +449 -420
- package/dist/index.js.map +1 -1
- package/lib/common/schematicOrientation.ts +35 -0
- package/lib/components/battery.ts +6 -0
- package/lib/components/capacitor.ts +6 -0
- package/lib/components/crystal.ts +6 -0
- package/lib/components/diode.ts +6 -0
- package/lib/components/fuse.ts +7 -0
- package/lib/components/inductor.ts +6 -0
- package/lib/components/led.ts +5 -0
- package/lib/components/resistor.ts +7 -0
- package/lib/index.ts +1 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1526,6 +1526,9 @@ declare const point3: z.ZodObject<{
|
|
|
1526
1526
|
z: string | number;
|
|
1527
1527
|
}>;
|
|
1528
1528
|
|
|
1529
|
+
declare const schematicOrientation: z.ZodEnum<["vertical", "horizontal", "pos_top", "pos_bottom", "pos_left", "pos_right", "neg_top", "neg_bottom", "neg_left", "neg_right"]>;
|
|
1530
|
+
type SchematicOrientation = "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right";
|
|
1531
|
+
|
|
1529
1532
|
/**
|
|
1530
1533
|
* @deprecated Use SchematicPortArrangementWithPinCounts instead.
|
|
1531
1534
|
*/
|
|
@@ -11619,6 +11622,7 @@ interface FuseProps extends CommonComponentProps {
|
|
|
11619
11622
|
* Whether to show ratings on schematic
|
|
11620
11623
|
*/
|
|
11621
11624
|
schShowRatings?: boolean;
|
|
11625
|
+
schOrientation?: SchematicOrientation;
|
|
11622
11626
|
/**
|
|
11623
11627
|
* Connections to other components
|
|
11624
11628
|
*/
|
|
@@ -11888,6 +11892,7 @@ declare const fuseProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.exten
|
|
|
11888
11892
|
currentRating: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
11889
11893
|
voltageRating: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
11890
11894
|
schShowRatings: z.ZodOptional<z.ZodBoolean>;
|
|
11895
|
+
schOrientation: z.ZodOptional<z.ZodEnum<["vertical", "horizontal", "pos_top", "pos_bottom", "pos_left", "pos_right", "neg_top", "neg_bottom", "neg_left", "neg_right"]>>;
|
|
11891
11896
|
connections: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodReadonly<z.ZodArray<z.ZodString, "many">>, z.ZodArray<z.ZodString, "many">]>>>;
|
|
11892
11897
|
}>, "strip", z.ZodTypeAny, {
|
|
11893
11898
|
name: string;
|
|
@@ -11961,6 +11966,7 @@ declare const fuseProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.exten
|
|
|
11961
11966
|
connections?: Record<string, string | readonly string[] | string[]> | undefined;
|
|
11962
11967
|
voltageRating?: string | number | undefined;
|
|
11963
11968
|
schShowRatings?: boolean | undefined;
|
|
11969
|
+
schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
|
|
11964
11970
|
}, {
|
|
11965
11971
|
name: string;
|
|
11966
11972
|
currentRating: string | number;
|
|
@@ -12035,6 +12041,7 @@ declare const fuseProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.exten
|
|
|
12035
12041
|
connections?: Record<string, string | readonly string[] | string[]> | undefined;
|
|
12036
12042
|
voltageRating?: string | number | undefined;
|
|
12037
12043
|
schShowRatings?: boolean | undefined;
|
|
12044
|
+
schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
|
|
12038
12045
|
}>;
|
|
12039
12046
|
type InferredFuseProps = z.input<typeof fuseProps>;
|
|
12040
12047
|
|
|
@@ -12433,6 +12440,7 @@ interface ResistorProps extends CommonComponentProps {
|
|
|
12433
12440
|
pullupTo?: string;
|
|
12434
12441
|
pulldownFor?: string;
|
|
12435
12442
|
pulldownTo?: string;
|
|
12443
|
+
schOrientation?: SchematicOrientation;
|
|
12436
12444
|
connections?: Connections<ResistorPinLabels>;
|
|
12437
12445
|
}
|
|
12438
12446
|
declare const resistorProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
@@ -12698,6 +12706,7 @@ declare const resistorProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.e
|
|
|
12698
12706
|
pullupTo: z.ZodOptional<z.ZodString>;
|
|
12699
12707
|
pulldownFor: z.ZodOptional<z.ZodString>;
|
|
12700
12708
|
pulldownTo: z.ZodOptional<z.ZodString>;
|
|
12709
|
+
schOrientation: z.ZodOptional<z.ZodEnum<["vertical", "horizontal", "pos_top", "pos_bottom", "pos_left", "pos_right", "neg_top", "neg_bottom", "neg_left", "neg_right"]>>;
|
|
12701
12710
|
connections: z.ZodOptional<z.ZodRecord<z.ZodEnum<["pin1", "pin2", "pos", "neg"]>, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodReadonly<z.ZodArray<z.ZodString, "many">>]>, z.ZodArray<z.ZodString, "many">]>>>;
|
|
12702
12711
|
}>, "strip", z.ZodTypeAny, {
|
|
12703
12712
|
name: string;
|
|
@@ -12769,6 +12778,7 @@ declare const resistorProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.e
|
|
|
12769
12778
|
symbolName?: string | undefined;
|
|
12770
12779
|
doNotPlace?: boolean | undefined;
|
|
12771
12780
|
connections?: Partial<Record<"pin1" | "pin2" | "pos" | "neg", string | readonly string[] | string[]>> | undefined;
|
|
12781
|
+
schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
|
|
12772
12782
|
pullupFor?: string | undefined;
|
|
12773
12783
|
pullupTo?: string | undefined;
|
|
12774
12784
|
pulldownFor?: string | undefined;
|
|
@@ -12845,6 +12855,7 @@ declare const resistorProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.e
|
|
|
12845
12855
|
symbolName?: string | undefined;
|
|
12846
12856
|
doNotPlace?: boolean | undefined;
|
|
12847
12857
|
connections?: Partial<Record<"pin1" | "pin2" | "pos" | "neg", string | readonly string[] | string[]>> | undefined;
|
|
12858
|
+
schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
|
|
12848
12859
|
pullupFor?: string | undefined;
|
|
12849
12860
|
pullupTo?: string | undefined;
|
|
12850
12861
|
pulldownFor?: string | undefined;
|
|
@@ -13266,6 +13277,7 @@ interface CrystalProps extends CommonComponentProps {
|
|
|
13266
13277
|
frequency: number | string;
|
|
13267
13278
|
loadCapacitance: number | string;
|
|
13268
13279
|
pinVariant?: PinVariant;
|
|
13280
|
+
schOrientation?: SchematicOrientation;
|
|
13269
13281
|
}
|
|
13270
13282
|
declare const crystalProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
13271
13283
|
pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -13528,6 +13540,7 @@ declare const crystalProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ex
|
|
|
13528
13540
|
frequency: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
13529
13541
|
loadCapacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
|
|
13530
13542
|
pinVariant: z.ZodOptional<z.ZodEnum<["two_pin", "four_pin"]>>;
|
|
13543
|
+
schOrientation: z.ZodOptional<z.ZodEnum<["vertical", "horizontal", "pos_top", "pos_bottom", "pos_left", "pos_right", "neg_top", "neg_bottom", "neg_left", "neg_right"]>>;
|
|
13531
13544
|
}>, "strip", z.ZodTypeAny, {
|
|
13532
13545
|
name: string;
|
|
13533
13546
|
frequency: number;
|
|
@@ -13598,6 +13611,7 @@ declare const crystalProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ex
|
|
|
13598
13611
|
children?: any;
|
|
13599
13612
|
symbolName?: string | undefined;
|
|
13600
13613
|
doNotPlace?: boolean | undefined;
|
|
13614
|
+
schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
|
|
13601
13615
|
pinVariant?: "two_pin" | "four_pin" | undefined;
|
|
13602
13616
|
}, {
|
|
13603
13617
|
name: string;
|
|
@@ -13671,6 +13685,7 @@ declare const crystalProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ex
|
|
|
13671
13685
|
children?: any;
|
|
13672
13686
|
symbolName?: string | undefined;
|
|
13673
13687
|
doNotPlace?: boolean | undefined;
|
|
13688
|
+
schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
|
|
13674
13689
|
pinVariant?: "two_pin" | "four_pin" | undefined;
|
|
13675
13690
|
}>;
|
|
13676
13691
|
declare const crystalPins: readonly ["pin1", "left", "pin2", "right"];
|
|
@@ -14959,6 +14974,7 @@ interface CapacitorProps extends CommonComponentProps {
|
|
|
14959
14974
|
bypassFor?: string;
|
|
14960
14975
|
bypassTo?: string;
|
|
14961
14976
|
maxDecouplingTraceLength?: number;
|
|
14977
|
+
schOrientation?: SchematicOrientation;
|
|
14962
14978
|
connections?: Connections<CapacitorPinLabels>;
|
|
14963
14979
|
}
|
|
14964
14980
|
declare const capacitorProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
@@ -15228,6 +15244,7 @@ declare const capacitorProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
|
|
|
15228
15244
|
bypassFor: z.ZodOptional<z.ZodString>;
|
|
15229
15245
|
bypassTo: z.ZodOptional<z.ZodString>;
|
|
15230
15246
|
maxDecouplingTraceLength: z.ZodOptional<z.ZodNumber>;
|
|
15247
|
+
schOrientation: z.ZodOptional<z.ZodEnum<["vertical", "horizontal", "pos_top", "pos_bottom", "pos_left", "pos_right", "neg_top", "neg_bottom", "neg_left", "neg_right"]>>;
|
|
15231
15248
|
connections: z.ZodOptional<z.ZodRecord<z.ZodEnum<["pin1", "pin2", "pos", "neg", "anode", "cathode"]>, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodReadonly<z.ZodArray<z.ZodString, "many">>]>, z.ZodArray<z.ZodString, "many">]>>>;
|
|
15232
15249
|
}>, "strip", z.ZodTypeAny, {
|
|
15233
15250
|
name: string;
|
|
@@ -15301,6 +15318,7 @@ declare const capacitorProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
|
|
|
15301
15318
|
symbolName?: string | undefined;
|
|
15302
15319
|
doNotPlace?: boolean | undefined;
|
|
15303
15320
|
connections?: Partial<Record<"pin1" | "pin2" | "anode" | "pos" | "cathode" | "neg", string | readonly string[] | string[]>> | undefined;
|
|
15321
|
+
schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
|
|
15304
15322
|
maxVoltageRating?: number | undefined;
|
|
15305
15323
|
decouplingFor?: string | undefined;
|
|
15306
15324
|
decouplingTo?: string | undefined;
|
|
@@ -15380,6 +15398,7 @@ declare const capacitorProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
|
|
|
15380
15398
|
doNotPlace?: boolean | undefined;
|
|
15381
15399
|
connections?: Partial<Record<"pin1" | "pin2" | "anode" | "pos" | "cathode" | "neg", string | readonly string[] | string[]>> | undefined;
|
|
15382
15400
|
schShowRatings?: boolean | undefined;
|
|
15401
|
+
schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
|
|
15383
15402
|
maxVoltageRating?: string | number | undefined;
|
|
15384
15403
|
polarized?: boolean | undefined;
|
|
15385
15404
|
decouplingFor?: string | undefined;
|
|
@@ -16711,6 +16730,7 @@ type FootprintPropsInput = z.input<typeof footprintProps>;
|
|
|
16711
16730
|
|
|
16712
16731
|
interface BatteryProps extends CommonComponentProps {
|
|
16713
16732
|
capacity?: number | string;
|
|
16733
|
+
schOrientation?: SchematicOrientation;
|
|
16714
16734
|
}
|
|
16715
16735
|
declare const batteryProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
16716
16736
|
pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -16971,6 +16991,7 @@ declare const batteryProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ex
|
|
|
16971
16991
|
doNotPlace: z.ZodOptional<z.ZodBoolean>;
|
|
16972
16992
|
}>, {
|
|
16973
16993
|
capacity: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>>;
|
|
16994
|
+
schOrientation: z.ZodOptional<z.ZodEnum<["vertical", "horizontal", "pos_top", "pos_bottom", "pos_left", "pos_right", "neg_top", "neg_bottom", "neg_left", "neg_right"]>>;
|
|
16974
16995
|
}>, "strip", z.ZodTypeAny, {
|
|
16975
16996
|
name: string;
|
|
16976
16997
|
pcbX?: number | undefined;
|
|
@@ -17039,6 +17060,7 @@ declare const batteryProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ex
|
|
|
17039
17060
|
children?: any;
|
|
17040
17061
|
symbolName?: string | undefined;
|
|
17041
17062
|
doNotPlace?: boolean | undefined;
|
|
17063
|
+
schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
|
|
17042
17064
|
capacity?: number | undefined;
|
|
17043
17065
|
}, {
|
|
17044
17066
|
name: string;
|
|
@@ -17110,6 +17132,7 @@ declare const batteryProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ex
|
|
|
17110
17132
|
children?: any;
|
|
17111
17133
|
symbolName?: string | undefined;
|
|
17112
17134
|
doNotPlace?: boolean | undefined;
|
|
17135
|
+
schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
|
|
17113
17136
|
capacity?: string | number | undefined;
|
|
17114
17137
|
}>;
|
|
17115
17138
|
declare const batteryPins: readonly ["pin1", "left", "anode", "pos", "pin2", "right", "cathode", "neg"];
|
|
@@ -20293,6 +20316,7 @@ declare const mosfetPins: readonly ["pin1", "drain", "pin2", "source", "pin3", "
|
|
|
20293
20316
|
interface InductorProps extends CommonComponentProps {
|
|
20294
20317
|
inductance: number | string;
|
|
20295
20318
|
maxCurrentRating?: number | string;
|
|
20319
|
+
schOrientation?: SchematicOrientation;
|
|
20296
20320
|
}
|
|
20297
20321
|
declare const inductorProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
20298
20322
|
pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -20554,6 +20578,7 @@ declare const inductorProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.e
|
|
|
20554
20578
|
}>, {
|
|
20555
20579
|
inductance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
20556
20580
|
maxCurrentRating: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
20581
|
+
schOrientation: z.ZodOptional<z.ZodEnum<["vertical", "horizontal", "pos_top", "pos_bottom", "pos_left", "pos_right", "neg_top", "neg_bottom", "neg_left", "neg_right"]>>;
|
|
20557
20582
|
}>, "strip", z.ZodTypeAny, {
|
|
20558
20583
|
name: string;
|
|
20559
20584
|
inductance: number;
|
|
@@ -20623,6 +20648,7 @@ declare const inductorProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.e
|
|
|
20623
20648
|
children?: any;
|
|
20624
20649
|
symbolName?: string | undefined;
|
|
20625
20650
|
doNotPlace?: boolean | undefined;
|
|
20651
|
+
schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
|
|
20626
20652
|
maxCurrentRating?: string | number | undefined;
|
|
20627
20653
|
}, {
|
|
20628
20654
|
name: string;
|
|
@@ -20695,6 +20721,7 @@ declare const inductorProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.e
|
|
|
20695
20721
|
children?: any;
|
|
20696
20722
|
symbolName?: string | undefined;
|
|
20697
20723
|
doNotPlace?: boolean | undefined;
|
|
20724
|
+
schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
|
|
20698
20725
|
maxCurrentRating?: string | number | undefined;
|
|
20699
20726
|
}>;
|
|
20700
20727
|
declare const inductorPins: readonly ["pin1", "left", "pin2", "right"];
|
|
@@ -20964,6 +20991,7 @@ declare const diodeProps: z.ZodEffects<z.ZodEffects<z.ZodObject<z.objectUtil.ext
|
|
|
20964
20991
|
zener: z.ZodOptional<z.ZodBoolean>;
|
|
20965
20992
|
photo: z.ZodOptional<z.ZodBoolean>;
|
|
20966
20993
|
tvs: z.ZodOptional<z.ZodBoolean>;
|
|
20994
|
+
schOrientation: z.ZodOptional<z.ZodEnum<["vertical", "horizontal", "pos_top", "pos_bottom", "pos_left", "pos_right", "neg_top", "neg_bottom", "neg_left", "neg_right"]>>;
|
|
20967
20995
|
}>, "strip", z.ZodTypeAny, {
|
|
20968
20996
|
name: string;
|
|
20969
20997
|
variant: "standard" | "schottky" | "zener" | "photo" | "tvs";
|
|
@@ -21035,6 +21063,7 @@ declare const diodeProps: z.ZodEffects<z.ZodEffects<z.ZodObject<z.objectUtil.ext
|
|
|
21035
21063
|
doNotPlace?: boolean | undefined;
|
|
21036
21064
|
connections?: Partial<Record<"pin1" | "pin2" | "anode" | "pos" | "cathode" | "neg", string | readonly string[] | string[]>> | undefined;
|
|
21037
21065
|
standard?: boolean | undefined;
|
|
21066
|
+
schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
|
|
21038
21067
|
schottky?: boolean | undefined;
|
|
21039
21068
|
zener?: boolean | undefined;
|
|
21040
21069
|
photo?: boolean | undefined;
|
|
@@ -21111,6 +21140,7 @@ declare const diodeProps: z.ZodEffects<z.ZodEffects<z.ZodObject<z.objectUtil.ext
|
|
|
21111
21140
|
doNotPlace?: boolean | undefined;
|
|
21112
21141
|
connections?: Partial<Record<"pin1" | "pin2" | "anode" | "pos" | "cathode" | "neg", string | readonly string[] | string[]>> | undefined;
|
|
21113
21142
|
standard?: boolean | undefined;
|
|
21143
|
+
schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
|
|
21114
21144
|
schottky?: boolean | undefined;
|
|
21115
21145
|
zener?: boolean | undefined;
|
|
21116
21146
|
photo?: boolean | undefined;
|
|
@@ -21187,6 +21217,7 @@ declare const diodeProps: z.ZodEffects<z.ZodEffects<z.ZodObject<z.objectUtil.ext
|
|
|
21187
21217
|
doNotPlace?: boolean | undefined;
|
|
21188
21218
|
connections?: Partial<Record<"pin1" | "pin2" | "anode" | "pos" | "cathode" | "neg", string | readonly string[] | string[]>> | undefined;
|
|
21189
21219
|
standard?: boolean | undefined;
|
|
21220
|
+
schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
|
|
21190
21221
|
schottky?: boolean | undefined;
|
|
21191
21222
|
zener?: boolean | undefined;
|
|
21192
21223
|
photo?: boolean | undefined;
|
|
@@ -21263,6 +21294,7 @@ declare const diodeProps: z.ZodEffects<z.ZodEffects<z.ZodObject<z.objectUtil.ext
|
|
|
21263
21294
|
doNotPlace?: boolean | undefined;
|
|
21264
21295
|
connections?: Partial<Record<"pin1" | "pin2" | "anode" | "pos" | "cathode" | "neg", string | readonly string[] | string[]>> | undefined;
|
|
21265
21296
|
standard?: boolean | undefined;
|
|
21297
|
+
schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
|
|
21266
21298
|
schottky?: boolean | undefined;
|
|
21267
21299
|
zener?: boolean | undefined;
|
|
21268
21300
|
photo?: boolean | undefined;
|
|
@@ -21343,6 +21375,7 @@ declare const diodeProps: z.ZodEffects<z.ZodEffects<z.ZodObject<z.objectUtil.ext
|
|
|
21343
21375
|
symbolName?: string | undefined;
|
|
21344
21376
|
doNotPlace?: boolean | undefined;
|
|
21345
21377
|
connections?: Partial<Record<"pin1" | "pin2" | "anode" | "pos" | "cathode" | "neg", string | readonly string[] | string[]>> | undefined;
|
|
21378
|
+
schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
|
|
21346
21379
|
}, {
|
|
21347
21380
|
name: string;
|
|
21348
21381
|
pcbX?: string | number | undefined;
|
|
@@ -21415,6 +21448,7 @@ declare const diodeProps: z.ZodEffects<z.ZodEffects<z.ZodObject<z.objectUtil.ext
|
|
|
21415
21448
|
doNotPlace?: boolean | undefined;
|
|
21416
21449
|
connections?: Partial<Record<"pin1" | "pin2" | "anode" | "pos" | "cathode" | "neg", string | readonly string[] | string[]>> | undefined;
|
|
21417
21450
|
standard?: boolean | undefined;
|
|
21451
|
+
schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
|
|
21418
21452
|
schottky?: boolean | undefined;
|
|
21419
21453
|
zener?: boolean | undefined;
|
|
21420
21454
|
photo?: boolean | undefined;
|
|
@@ -21437,6 +21471,7 @@ interface DiodeProps extends CommonComponentProps {
|
|
|
21437
21471
|
zener?: boolean;
|
|
21438
21472
|
photo?: boolean;
|
|
21439
21473
|
tvs?: boolean;
|
|
21474
|
+
schOrientation?: SchematicOrientation;
|
|
21440
21475
|
}
|
|
21441
21476
|
type InferredDiodeProps = z.input<typeof diodeProps>;
|
|
21442
21477
|
|
|
@@ -21701,6 +21736,7 @@ declare const ledProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
|
|
|
21701
21736
|
color: z.ZodOptional<z.ZodString>;
|
|
21702
21737
|
wavelength: z.ZodOptional<z.ZodString>;
|
|
21703
21738
|
schDisplayValue: z.ZodOptional<z.ZodString>;
|
|
21739
|
+
schOrientation: z.ZodOptional<z.ZodEnum<["vertical", "horizontal", "pos_top", "pos_bottom", "pos_left", "pos_right", "neg_top", "neg_bottom", "neg_left", "neg_right"]>>;
|
|
21704
21740
|
}>, "strip", z.ZodTypeAny, {
|
|
21705
21741
|
name: string;
|
|
21706
21742
|
pcbX?: number | undefined;
|
|
@@ -21769,6 +21805,7 @@ declare const ledProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
|
|
|
21769
21805
|
children?: any;
|
|
21770
21806
|
symbolName?: string | undefined;
|
|
21771
21807
|
doNotPlace?: boolean | undefined;
|
|
21808
|
+
schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
|
|
21772
21809
|
color?: string | undefined;
|
|
21773
21810
|
wavelength?: string | undefined;
|
|
21774
21811
|
schDisplayValue?: string | undefined;
|
|
@@ -21842,6 +21879,7 @@ declare const ledProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
|
|
|
21842
21879
|
children?: any;
|
|
21843
21880
|
symbolName?: string | undefined;
|
|
21844
21881
|
doNotPlace?: boolean | undefined;
|
|
21882
|
+
schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
|
|
21845
21883
|
color?: string | undefined;
|
|
21846
21884
|
wavelength?: string | undefined;
|
|
21847
21885
|
schDisplayValue?: string | undefined;
|
|
@@ -24392,4 +24430,4 @@ declare const platformConfig: z.ZodType<PlatformConfig>;
|
|
|
24392
24430
|
|
|
24393
24431
|
declare const ninePointAnchor: z.ZodEnum<["top_left", "top_center", "top_right", "center_left", "center", "center_right", "bottom_left", "bottom_center", "bottom_right"]>;
|
|
24394
24432
|
|
|
24395
|
-
export { type AutorouterConfig, type AutorouterProp, type BaseGroupProps, type BaseManualEditEvent, type BaseManualEditEventInput, type BatteryProps, type BoardProps, type Border, type BreakoutPointProps, type BreakoutProps, type CadModelBase, type CadModelJscad, type CadModelObj, type CadModelProp, type CadModelStl, type CapacitorPinLabels, type CapacitorProps, type ChipConnections, type ChipPinLabels, type ChipProps, type ChipPropsSU, type CircleCutoutProps, type CirclePlatedHoleProps, type CircleSmtPadProps, type CircleSolderPasteProps, type CircularHoleWithRectPlatedProps, type CommonComponentProps, type CommonLayoutProps, type ComponentProps, type ConnectionTarget, type Connections, type ConnectorProps, type ConstrainedLayoutProps, type ConstraintProps, type CrystalProps, type CutoutProps, type CutoutPropsInput, type DiodeProps, type Direction, type DirectionAlongEdge, type EditPcbComponentLocationEvent, type EditPcbComponentLocationEventInput, type EditPcbGroupLocationEvent, type EditPcbGroupLocationEventInput, type EditSchematicComponentLocationEvent, type EditSchematicComponentLocationEventInput, type EditSchematicGroupLocationEvent, type EditSchematicGroupLocationEventInput, type EditTraceHintEvent, type EditTraceHintEventInput, type FabricationNotePathProps, type FabricationNoteTextProps, type FootprintProp, type FootprintProps, type FootprintPropsInput, type FootprintSoupElements, type FusePinLabels, type FuseProps, type GroupProps, type HoleProps, type InductorProps, type InferredChipProps, type InferredConstrainedLayoutProps, type InferredDiodeProps, type InferredFuseProps, type InferredHoleProps, type InferredSmtPadProps, type InferredSolderPasteProps, type InferredSwitchProps, type InferredTestpointProps, type JumperProps, type LayoutConfig, type LedProps, type ManualEditEvent, type ManualEditEventInput, type ManualEditsFile, type ManualEditsFileInput, type ManualPcbPlacement, type ManualPcbPlacementInput, type ManualSchematicPlacement, type ManualSchematicPlacementInput, type ManualTraceHint, type ManualTraceHintInput, type MosfetProps, type NetAliasProps, type NetLabelProps, type NetProps, type NonSubcircuitGroupProps, type OvalPlatedHoleProps, type PartsEngine, type PcbKeepoutProps, type PcbLayoutProps, type PcbRouteCache, type PcbSameXConstraint, type PcbSameYConstraint, type PcbTraceProps, type PcbXDistConstraint, type PcbYDistConstraint, type PillPlatedHoleProps, type PillSmtPadProps, type PillWithRectPadPlatedHoleProps, type PinCompatibleVariant, type PinHeaderProps, type PinLabelFromPinLabelMap, type PinLabelsProp, type PinSideDefinition, type PinVariant, type PlatedHoleProps, type PlatformConfig, type PolygonCutoutProps, type PolygonSmtPadProps, type PortHints, type PortProps, type PotentiometerPinVariant, type PotentiometerProps, type PowerSourceProps, type PushButtonProps, type RectCutoutProps, type RectSmtPadProps, type RectSolderPasteProps, type ResistorPinLabels, type ResistorProps, type ResonatorPinVariant, type ResonatorProps, type RotatedRectSmtPadProps, type SchematicBoxProps, type SchematicLineProps, type SchematicPathProps, type SchematicPinArrangement, type SchematicPinArrangementWithPinCounts, type SchematicPinArrangementWithSides, type SchematicPinArrangementWithSizes, type SchematicPinStyle, type SchematicPortArrangement, type SchematicPortArrangementWithPinCounts, type SchematicPortArrangementWithSides, type SchematicPortArrangementWithSizes, type SchematicTextProps, type Selectors, type SilkscreenCircleProps, type SilkscreenLineProps, type SilkscreenPathProps, type SilkscreenRectProps, type SilkscreenTextProps, type SmtPadProps, type SolderJumperProps, type SolderPasteProps, type StampboardProps, type SubcircuitGroupProps, type SubcircuitGroupPropsWithBool, type SubcircuitProps, type SupplierName, type SupplierPartNumbers, type SupplierProps, type SwitchProps, type TestpointProps, type TraceHintProps, type TraceProps, type TransistorProps, type ViaProps, autorouterConfig, autorouterProp, baseGroupProps, base_manual_edit_event, batteryPins, batteryProps, boardProps, border, breakoutPointProps, breakoutProps, bugProps, cadModelBase, cadModelJscad, cadModelObj, cadModelProp, cadModelStl, capacitorPinLabels, capacitorPins, capacitorProps, chipProps, circleCutoutProps, circleSmtPadProps, circleSolderPasteProps, commonComponentProps, commonLayoutProps, componentProps, connectorProps, constrainedLayoutProps, constraintProps, crystalPins, crystalProps, cutoutProps, diodePins, diodeProps, direction, directionAlongEdge, distanceOrMultiplier, edit_component_location_event, edit_pcb_component_location_event, edit_pcb_group_location_event, edit_schematic_component_location_event, edit_schematic_group_location_event, edit_trace_hint_event, explicitPinSideDefinition, fabricationNotePathProps, fabricationNoteTextProps, footprintProp, footprintProps, fusePinLabels, fuseProps, groupProps, holeProps, inductorPins, inductorProps, jumperProps, layoutConfig, ledPins, ledProps, lrPins, lrPolarPins, manual_edit_event, manual_edits_file, manual_pcb_placement, manual_schematic_placement, manual_trace_hint, mosfetPins, mosfetProps, netAliasProps, netLabelProps, netProps, ninePointAnchor, partsEngine, pcbKeepoutProps, pcbLayoutProps, pcbSameXConstraintProps, pcbSameYConstraintProps, pcbTraceProps, pcbXDistConstraintProps, pcbYDistConstraintProps, pillSmtPadProps, pinCompatibleVariant, pinHeaderProps, pinLabelsProp, platedHoleProps, platformConfig, point3, polygonCutoutProps, polygonSmtPadProps, portHints, portProps, portRef, potentiometerProps, powerSourceProps, pushButtonProps, rectCutoutProps, rectSmtPadProps, rectSolderPasteProps, resistorPinLabels, resistorPins, resistorProps, resonatorProps, rotatedRectSmtPadProps, rotationPoint3, routeHintPointProps, schematicBoxProps, schematicLineProps, schematicPathProps, schematicPinArrangement, schematicPinStyle, schematicPortArrangement, schematicTextProps, silkscreenCircleProps, silkscreenLineProps, silkscreenPathProps, silkscreenRectProps, silkscreenTextProps, smtPadProps, solderPasteProps, solderjumperProps, stampboardProps, subcircuitGroupProps, subcircuitGroupPropsWithBool, subcircuitProps, supplierProps, switchProps, testpointProps, traceHintProps, traceProps, transistorPins, transistorProps, viaProps };
|
|
24433
|
+
export { type AutorouterConfig, type AutorouterProp, type BaseGroupProps, type BaseManualEditEvent, type BaseManualEditEventInput, type BatteryProps, type BoardProps, type Border, type BreakoutPointProps, type BreakoutProps, type CadModelBase, type CadModelJscad, type CadModelObj, type CadModelProp, type CadModelStl, type CapacitorPinLabels, type CapacitorProps, type ChipConnections, type ChipPinLabels, type ChipProps, type ChipPropsSU, type CircleCutoutProps, type CirclePlatedHoleProps, type CircleSmtPadProps, type CircleSolderPasteProps, type CircularHoleWithRectPlatedProps, type CommonComponentProps, type CommonLayoutProps, type ComponentProps, type ConnectionTarget, type Connections, type ConnectorProps, type ConstrainedLayoutProps, type ConstraintProps, type CrystalProps, type CutoutProps, type CutoutPropsInput, type DiodeProps, type Direction, type DirectionAlongEdge, type EditPcbComponentLocationEvent, type EditPcbComponentLocationEventInput, type EditPcbGroupLocationEvent, type EditPcbGroupLocationEventInput, type EditSchematicComponentLocationEvent, type EditSchematicComponentLocationEventInput, type EditSchematicGroupLocationEvent, type EditSchematicGroupLocationEventInput, type EditTraceHintEvent, type EditTraceHintEventInput, type FabricationNotePathProps, type FabricationNoteTextProps, type FootprintProp, type FootprintProps, type FootprintPropsInput, type FootprintSoupElements, type FusePinLabels, type FuseProps, type GroupProps, type HoleProps, type InductorProps, type InferredChipProps, type InferredConstrainedLayoutProps, type InferredDiodeProps, type InferredFuseProps, type InferredHoleProps, type InferredSmtPadProps, type InferredSolderPasteProps, type InferredSwitchProps, type InferredTestpointProps, type JumperProps, type LayoutConfig, type LedProps, type ManualEditEvent, type ManualEditEventInput, type ManualEditsFile, type ManualEditsFileInput, type ManualPcbPlacement, type ManualPcbPlacementInput, type ManualSchematicPlacement, type ManualSchematicPlacementInput, type ManualTraceHint, type ManualTraceHintInput, type MosfetProps, type NetAliasProps, type NetLabelProps, type NetProps, type NonSubcircuitGroupProps, type OvalPlatedHoleProps, type PartsEngine, type PcbKeepoutProps, type PcbLayoutProps, type PcbRouteCache, type PcbSameXConstraint, type PcbSameYConstraint, type PcbTraceProps, type PcbXDistConstraint, type PcbYDistConstraint, type PillPlatedHoleProps, type PillSmtPadProps, type PillWithRectPadPlatedHoleProps, type PinCompatibleVariant, type PinHeaderProps, type PinLabelFromPinLabelMap, type PinLabelsProp, type PinSideDefinition, type PinVariant, type PlatedHoleProps, type PlatformConfig, type PolygonCutoutProps, type PolygonSmtPadProps, type PortHints, type PortProps, type PotentiometerPinVariant, type PotentiometerProps, type PowerSourceProps, type PushButtonProps, type RectCutoutProps, type RectSmtPadProps, type RectSolderPasteProps, type ResistorPinLabels, type ResistorProps, type ResonatorPinVariant, type ResonatorProps, type RotatedRectSmtPadProps, type SchematicBoxProps, type SchematicLineProps, type SchematicOrientation, type SchematicPathProps, type SchematicPinArrangement, type SchematicPinArrangementWithPinCounts, type SchematicPinArrangementWithSides, type SchematicPinArrangementWithSizes, type SchematicPinStyle, type SchematicPortArrangement, type SchematicPortArrangementWithPinCounts, type SchematicPortArrangementWithSides, type SchematicPortArrangementWithSizes, type SchematicTextProps, type Selectors, type SilkscreenCircleProps, type SilkscreenLineProps, type SilkscreenPathProps, type SilkscreenRectProps, type SilkscreenTextProps, type SmtPadProps, type SolderJumperProps, type SolderPasteProps, type StampboardProps, type SubcircuitGroupProps, type SubcircuitGroupPropsWithBool, type SubcircuitProps, type SupplierName, type SupplierPartNumbers, type SupplierProps, type SwitchProps, type TestpointProps, type TraceHintProps, type TraceProps, type TransistorProps, type ViaProps, autorouterConfig, autorouterProp, baseGroupProps, base_manual_edit_event, batteryPins, batteryProps, boardProps, border, breakoutPointProps, breakoutProps, bugProps, cadModelBase, cadModelJscad, cadModelObj, cadModelProp, cadModelStl, capacitorPinLabels, capacitorPins, capacitorProps, chipProps, circleCutoutProps, circleSmtPadProps, circleSolderPasteProps, commonComponentProps, commonLayoutProps, componentProps, connectorProps, constrainedLayoutProps, constraintProps, crystalPins, crystalProps, cutoutProps, diodePins, diodeProps, direction, directionAlongEdge, distanceOrMultiplier, edit_component_location_event, edit_pcb_component_location_event, edit_pcb_group_location_event, edit_schematic_component_location_event, edit_schematic_group_location_event, edit_trace_hint_event, explicitPinSideDefinition, fabricationNotePathProps, fabricationNoteTextProps, footprintProp, footprintProps, fusePinLabels, fuseProps, groupProps, holeProps, inductorPins, inductorProps, jumperProps, layoutConfig, ledPins, ledProps, lrPins, lrPolarPins, manual_edit_event, manual_edits_file, manual_pcb_placement, manual_schematic_placement, manual_trace_hint, mosfetPins, mosfetProps, netAliasProps, netLabelProps, netProps, ninePointAnchor, partsEngine, pcbKeepoutProps, pcbLayoutProps, pcbSameXConstraintProps, pcbSameYConstraintProps, pcbTraceProps, pcbXDistConstraintProps, pcbYDistConstraintProps, pillSmtPadProps, pinCompatibleVariant, pinHeaderProps, pinLabelsProp, platedHoleProps, platformConfig, point3, polygonCutoutProps, polygonSmtPadProps, portHints, portProps, portRef, potentiometerProps, powerSourceProps, pushButtonProps, rectCutoutProps, rectSmtPadProps, rectSolderPasteProps, resistorPinLabels, resistorPins, resistorProps, resonatorProps, rotatedRectSmtPadProps, rotationPoint3, routeHintPointProps, schematicBoxProps, schematicLineProps, schematicOrientation, schematicPathProps, schematicPinArrangement, schematicPinStyle, schematicPortArrangement, schematicTextProps, silkscreenCircleProps, silkscreenLineProps, silkscreenPathProps, silkscreenRectProps, silkscreenTextProps, smtPadProps, solderPasteProps, solderjumperProps, stampboardProps, subcircuitGroupProps, subcircuitGroupPropsWithBool, subcircuitProps, supplierProps, switchProps, testpointProps, traceHintProps, traceProps, transistorPins, transistorProps, viaProps };
|