@tscircuit/core 0.0.794 → 0.0.796
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 +41 -12
- package/dist/index.js +57 -11
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -635,7 +635,7 @@ declare class Trace extends PrimitiveComponent<typeof traceProps> implements Tra
|
|
|
635
635
|
trace_width?: string | number | undefined;
|
|
636
636
|
}>, "many">>;
|
|
637
637
|
pcbPathRelativeTo: z.ZodOptional<z.ZodString>;
|
|
638
|
-
pcbPath: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
638
|
+
pcbPath: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
639
639
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
640
640
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
641
641
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -644,7 +644,7 @@ declare class Trace extends PrimitiveComponent<typeof traceProps> implements Tra
|
|
|
644
644
|
}, {
|
|
645
645
|
x: string | number;
|
|
646
646
|
y: string | number;
|
|
647
|
-
}>, "many">>;
|
|
647
|
+
}>, z.ZodString]>, "many">>;
|
|
648
648
|
schDisplayLabel: z.ZodOptional<z.ZodString>;
|
|
649
649
|
schStroke: z.ZodOptional<z.ZodString>;
|
|
650
650
|
highlightColor: z.ZodOptional<z.ZodString>;
|
|
@@ -675,10 +675,10 @@ declare class Trace extends PrimitiveComponent<typeof traceProps> implements Tra
|
|
|
675
675
|
trace_width?: number | undefined;
|
|
676
676
|
}[] | undefined;
|
|
677
677
|
pcbPathRelativeTo?: string | undefined;
|
|
678
|
-
pcbPath?: {
|
|
678
|
+
pcbPath?: (string | {
|
|
679
679
|
x: number;
|
|
680
680
|
y: number;
|
|
681
|
-
}[] | undefined;
|
|
681
|
+
})[] | undefined;
|
|
682
682
|
schDisplayLabel?: string | undefined;
|
|
683
683
|
schStroke?: string | undefined;
|
|
684
684
|
}, {
|
|
@@ -703,10 +703,10 @@ declare class Trace extends PrimitiveComponent<typeof traceProps> implements Tra
|
|
|
703
703
|
trace_width?: string | number | undefined;
|
|
704
704
|
}[] | undefined;
|
|
705
705
|
pcbPathRelativeTo?: string | undefined;
|
|
706
|
-
pcbPath?: {
|
|
706
|
+
pcbPath?: (string | {
|
|
707
707
|
x: string | number;
|
|
708
708
|
y: string | number;
|
|
709
|
-
}[] | undefined;
|
|
709
|
+
})[] | undefined;
|
|
710
710
|
schDisplayLabel?: string | undefined;
|
|
711
711
|
schStroke?: string | undefined;
|
|
712
712
|
}>, z.ZodObject<{
|
|
@@ -752,7 +752,7 @@ declare class Trace extends PrimitiveComponent<typeof traceProps> implements Tra
|
|
|
752
752
|
trace_width?: string | number | undefined;
|
|
753
753
|
}>, "many">>;
|
|
754
754
|
pcbPathRelativeTo: z.ZodOptional<z.ZodString>;
|
|
755
|
-
pcbPath: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
755
|
+
pcbPath: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
756
756
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
757
757
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
758
758
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -761,7 +761,7 @@ declare class Trace extends PrimitiveComponent<typeof traceProps> implements Tra
|
|
|
761
761
|
}, {
|
|
762
762
|
x: string | number;
|
|
763
763
|
y: string | number;
|
|
764
|
-
}>, "many">>;
|
|
764
|
+
}>, z.ZodString]>, "many">>;
|
|
765
765
|
schDisplayLabel: z.ZodOptional<z.ZodString>;
|
|
766
766
|
schStroke: z.ZodOptional<z.ZodString>;
|
|
767
767
|
highlightColor: z.ZodOptional<z.ZodString>;
|
|
@@ -800,10 +800,10 @@ declare class Trace extends PrimitiveComponent<typeof traceProps> implements Tra
|
|
|
800
800
|
trace_width?: number | undefined;
|
|
801
801
|
}[] | undefined;
|
|
802
802
|
pcbPathRelativeTo?: string | undefined;
|
|
803
|
-
pcbPath?: {
|
|
803
|
+
pcbPath?: (string | {
|
|
804
804
|
x: number;
|
|
805
805
|
y: number;
|
|
806
|
-
}[] | undefined;
|
|
806
|
+
})[] | undefined;
|
|
807
807
|
schDisplayLabel?: string | undefined;
|
|
808
808
|
schStroke?: string | undefined;
|
|
809
809
|
}, {
|
|
@@ -831,10 +831,10 @@ declare class Trace extends PrimitiveComponent<typeof traceProps> implements Tra
|
|
|
831
831
|
trace_width?: string | number | undefined;
|
|
832
832
|
}[] | undefined;
|
|
833
833
|
pcbPathRelativeTo?: string | undefined;
|
|
834
|
-
pcbPath?: {
|
|
834
|
+
pcbPath?: (string | {
|
|
835
835
|
x: string | number;
|
|
836
836
|
y: string | number;
|
|
837
|
-
}[] | undefined;
|
|
837
|
+
})[] | undefined;
|
|
838
838
|
schDisplayLabel?: string | undefined;
|
|
839
839
|
schStroke?: string | undefined;
|
|
840
840
|
}>]>;
|
|
@@ -2000,9 +2000,11 @@ declare class Board extends Group<typeof boardProps> {
|
|
|
2000
2000
|
silkscreenColor: zod.ZodOptional<zod.ZodType<_tscircuit_props.BoardColor, zod.ZodTypeDef, _tscircuit_props.BoardColor>>;
|
|
2001
2001
|
topSilkscreenColor: zod.ZodOptional<zod.ZodType<_tscircuit_props.BoardColor, zod.ZodTypeDef, _tscircuit_props.BoardColor>>;
|
|
2002
2002
|
bottomSilkscreenColor: zod.ZodOptional<zod.ZodType<_tscircuit_props.BoardColor, zod.ZodTypeDef, _tscircuit_props.BoardColor>>;
|
|
2003
|
+
doubleSidedAssembly: zod.ZodDefault<zod.ZodOptional<zod.ZodBoolean>>;
|
|
2003
2004
|
}, "strip", zod.ZodTypeAny, {
|
|
2004
2005
|
material: "fr4" | "fr1";
|
|
2005
2006
|
layers: 2 | 4;
|
|
2007
|
+
doubleSidedAssembly: boolean;
|
|
2006
2008
|
symbol?: _tscircuit_props.SymbolProp | undefined;
|
|
2007
2009
|
key?: any;
|
|
2008
2010
|
pcbX?: number | undefined;
|
|
@@ -2588,6 +2590,7 @@ declare class Board extends Group<typeof boardProps> {
|
|
|
2588
2590
|
silkscreenColor?: _tscircuit_props.BoardColor | undefined;
|
|
2589
2591
|
topSilkscreenColor?: _tscircuit_props.BoardColor | undefined;
|
|
2590
2592
|
bottomSilkscreenColor?: _tscircuit_props.BoardColor | undefined;
|
|
2593
|
+
doubleSidedAssembly?: boolean | undefined;
|
|
2591
2594
|
}>;
|
|
2592
2595
|
};
|
|
2593
2596
|
get boardThickness(): number;
|
|
@@ -20215,6 +20218,7 @@ declare class SmtPad extends PrimitiveComponent<typeof smtPadProps> {
|
|
|
20215
20218
|
width: zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>;
|
|
20216
20219
|
height: zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>;
|
|
20217
20220
|
rectBorderRadius: zod.ZodOptional<zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>>;
|
|
20221
|
+
cornerRadius: zod.ZodOptional<zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>>;
|
|
20218
20222
|
portHints: zod.ZodOptional<zod.ZodArray<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, "many">>;
|
|
20219
20223
|
coveredWithSolderMask: zod.ZodOptional<zod.ZodBoolean>;
|
|
20220
20224
|
}, "strip", zod.ZodTypeAny, {
|
|
@@ -20236,6 +20240,7 @@ declare class SmtPad extends PrimitiveComponent<typeof smtPadProps> {
|
|
|
20236
20240
|
name?: string | undefined;
|
|
20237
20241
|
portHints?: (string | number)[] | undefined;
|
|
20238
20242
|
rectBorderRadius?: number | undefined;
|
|
20243
|
+
cornerRadius?: number | undefined;
|
|
20239
20244
|
coveredWithSolderMask?: boolean | undefined;
|
|
20240
20245
|
}, {
|
|
20241
20246
|
shape: "rect";
|
|
@@ -20258,6 +20263,7 @@ declare class SmtPad extends PrimitiveComponent<typeof smtPadProps> {
|
|
|
20258
20263
|
name?: string | undefined;
|
|
20259
20264
|
portHints?: (string | number)[] | undefined;
|
|
20260
20265
|
rectBorderRadius?: string | number | undefined;
|
|
20266
|
+
cornerRadius?: string | number | undefined;
|
|
20261
20267
|
coveredWithSolderMask?: boolean | undefined;
|
|
20262
20268
|
}>, zod.ZodObject<Omit<{
|
|
20263
20269
|
pcbX: zod.ZodOptional<zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>>;
|
|
@@ -20287,6 +20293,7 @@ declare class SmtPad extends PrimitiveComponent<typeof smtPadProps> {
|
|
|
20287
20293
|
width: zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>;
|
|
20288
20294
|
height: zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>;
|
|
20289
20295
|
ccwRotation: zod.ZodNumber;
|
|
20296
|
+
cornerRadius: zod.ZodOptional<zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>>;
|
|
20290
20297
|
portHints: zod.ZodOptional<zod.ZodArray<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, "many">>;
|
|
20291
20298
|
coveredWithSolderMask: zod.ZodOptional<zod.ZodBoolean>;
|
|
20292
20299
|
}, "strip", zod.ZodTypeAny, {
|
|
@@ -20308,6 +20315,7 @@ declare class SmtPad extends PrimitiveComponent<typeof smtPadProps> {
|
|
|
20308
20315
|
relative?: boolean | undefined;
|
|
20309
20316
|
name?: string | undefined;
|
|
20310
20317
|
portHints?: (string | number)[] | undefined;
|
|
20318
|
+
cornerRadius?: number | undefined;
|
|
20311
20319
|
coveredWithSolderMask?: boolean | undefined;
|
|
20312
20320
|
}, {
|
|
20313
20321
|
shape: "rotated_rect";
|
|
@@ -20330,6 +20338,7 @@ declare class SmtPad extends PrimitiveComponent<typeof smtPadProps> {
|
|
|
20330
20338
|
relative?: boolean | undefined;
|
|
20331
20339
|
name?: string | undefined;
|
|
20332
20340
|
portHints?: (string | number)[] | undefined;
|
|
20341
|
+
cornerRadius?: string | number | undefined;
|
|
20333
20342
|
coveredWithSolderMask?: boolean | undefined;
|
|
20334
20343
|
}>, zod.ZodObject<Omit<{
|
|
20335
20344
|
pcbX: zod.ZodOptional<zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>>;
|
|
@@ -31960,6 +31969,11 @@ declare class Switch extends NormalComponent<typeof switchProps> {
|
|
|
31960
31969
|
spdt: zod.ZodOptional<zod.ZodBoolean>;
|
|
31961
31970
|
dpst: zod.ZodOptional<zod.ZodBoolean>;
|
|
31962
31971
|
dpdt: zod.ZodOptional<zod.ZodBoolean>;
|
|
31972
|
+
simSwitchFrequency: zod.ZodOptional<zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>>;
|
|
31973
|
+
simCloseAt: zod.ZodOptional<zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>>;
|
|
31974
|
+
simOpenAt: zod.ZodOptional<zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>>;
|
|
31975
|
+
simStartClosed: zod.ZodOptional<zod.ZodBoolean>;
|
|
31976
|
+
simStartOpen: zod.ZodOptional<zod.ZodBoolean>;
|
|
31963
31977
|
connections: zod.ZodOptional<zod.ZodPipeline<zod.ZodType<Partial<Record<string, string | string[] | readonly string[]>>, zod.ZodTypeDef, Partial<Record<string, string | string[] | readonly string[]>>>, zod.ZodRecord<zod.ZodString, zod.ZodUnion<[zod.ZodUnion<[zod.ZodString, zod.ZodReadonly<zod.ZodArray<zod.ZodString, "many">>]>, zod.ZodArray<zod.ZodString, "many">]>>>>;
|
|
31964
31978
|
}, "strip", zod.ZodTypeAny, {
|
|
31965
31979
|
name: string;
|
|
@@ -32147,6 +32161,11 @@ declare class Switch extends NormalComponent<typeof switchProps> {
|
|
|
32147
32161
|
spdt?: boolean | undefined;
|
|
32148
32162
|
dpst?: boolean | undefined;
|
|
32149
32163
|
dpdt?: boolean | undefined;
|
|
32164
|
+
simSwitchFrequency?: number | undefined;
|
|
32165
|
+
simCloseAt?: number | undefined;
|
|
32166
|
+
simOpenAt?: number | undefined;
|
|
32167
|
+
simStartClosed?: boolean | undefined;
|
|
32168
|
+
simStartOpen?: boolean | undefined;
|
|
32150
32169
|
}, {
|
|
32151
32170
|
name: string;
|
|
32152
32171
|
symbol?: _tscircuit_props.SymbolProp | undefined;
|
|
@@ -32335,6 +32354,11 @@ declare class Switch extends NormalComponent<typeof switchProps> {
|
|
|
32335
32354
|
dpst?: boolean | undefined;
|
|
32336
32355
|
dpdt?: boolean | undefined;
|
|
32337
32356
|
isNormallyClosed?: boolean | undefined;
|
|
32357
|
+
simSwitchFrequency?: string | number | undefined;
|
|
32358
|
+
simCloseAt?: string | number | undefined;
|
|
32359
|
+
simOpenAt?: string | number | undefined;
|
|
32360
|
+
simStartClosed?: boolean | undefined;
|
|
32361
|
+
simStartOpen?: boolean | undefined;
|
|
32338
32362
|
}>, SwitchProps, {
|
|
32339
32363
|
name: string;
|
|
32340
32364
|
symbol?: _tscircuit_props.SymbolProp | undefined;
|
|
@@ -32523,6 +32547,11 @@ declare class Switch extends NormalComponent<typeof switchProps> {
|
|
|
32523
32547
|
dpst?: boolean | undefined;
|
|
32524
32548
|
dpdt?: boolean | undefined;
|
|
32525
32549
|
isNormallyClosed?: boolean | undefined;
|
|
32550
|
+
simSwitchFrequency?: string | number | undefined;
|
|
32551
|
+
simCloseAt?: string | number | undefined;
|
|
32552
|
+
simOpenAt?: string | number | undefined;
|
|
32553
|
+
simStartClosed?: boolean | undefined;
|
|
32554
|
+
simStartOpen?: boolean | undefined;
|
|
32526
32555
|
}>;
|
|
32527
32556
|
shouldRenderAsSchematicBox: boolean;
|
|
32528
32557
|
};
|
package/dist/index.js
CHANGED
|
@@ -87,6 +87,7 @@ import { fp } from "@tscircuit/footprinter";
|
|
|
87
87
|
import {
|
|
88
88
|
distance as distance4,
|
|
89
89
|
pcb_manual_edit_conflict_warning,
|
|
90
|
+
pcb_component_invalid_layer_error,
|
|
90
91
|
point3 as point32,
|
|
91
92
|
rotation as rotation2,
|
|
92
93
|
schematic_manual_edit_conflict_warning
|
|
@@ -6384,14 +6385,35 @@ function Trace_doInitialPcbManualTraceRender(trace) {
|
|
|
6384
6385
|
});
|
|
6385
6386
|
const transform = anchorPort?._computePcbGlobalTransformBeforeLayout?.() || identity3();
|
|
6386
6387
|
for (const pt of props.pcbPath) {
|
|
6387
|
-
|
|
6388
|
-
|
|
6389
|
-
|
|
6390
|
-
|
|
6388
|
+
let coordinates;
|
|
6389
|
+
let isGlobalPosition = false;
|
|
6390
|
+
if (typeof pt === "string") {
|
|
6391
|
+
const resolvedPort = trace.getSubcircuit().selectOne(pt, {
|
|
6392
|
+
type: "port"
|
|
6393
|
+
});
|
|
6394
|
+
if (!resolvedPort) {
|
|
6395
|
+
db.pcb_trace_error.insert({
|
|
6396
|
+
error_type: "pcb_trace_error",
|
|
6397
|
+
source_trace_id: trace.source_trace_id,
|
|
6398
|
+
message: `Could not resolve pcbPath selector "${pt}" for ${trace}`,
|
|
6399
|
+
pcb_trace_id: trace.pcb_trace_id,
|
|
6400
|
+
pcb_component_ids: [],
|
|
6401
|
+
pcb_port_ids: []
|
|
6402
|
+
});
|
|
6403
|
+
continue;
|
|
6404
|
+
}
|
|
6405
|
+
const portPos = resolvedPort._getGlobalPcbPositionAfterLayout();
|
|
6406
|
+
coordinates = { x: portPos.x, y: portPos.y };
|
|
6407
|
+
isGlobalPosition = true;
|
|
6408
|
+
} else {
|
|
6409
|
+
coordinates = { x: pt.x, y: pt.y };
|
|
6410
|
+
isGlobalPosition = false;
|
|
6411
|
+
}
|
|
6412
|
+
const finalCoordinates = isGlobalPosition ? coordinates : applyToPoint6(transform, coordinates);
|
|
6391
6413
|
route.push({
|
|
6392
6414
|
route_type: "wire",
|
|
6393
|
-
x:
|
|
6394
|
-
y:
|
|
6415
|
+
x: finalCoordinates.x,
|
|
6416
|
+
y: finalCoordinates.y,
|
|
6395
6417
|
width,
|
|
6396
6418
|
layer
|
|
6397
6419
|
});
|
|
@@ -7869,6 +7891,17 @@ var NormalComponent3 = class extends PrimitiveComponent2 {
|
|
|
7869
7891
|
const { db } = this.root;
|
|
7870
7892
|
const { _parsedProps: props } = this;
|
|
7871
7893
|
const subcircuit = this.getSubcircuit();
|
|
7894
|
+
const componentLayer = props.layer ?? "top";
|
|
7895
|
+
if (componentLayer !== "top" && componentLayer !== "bottom") {
|
|
7896
|
+
const error = pcb_component_invalid_layer_error.parse({
|
|
7897
|
+
type: "pcb_component_invalid_layer_error",
|
|
7898
|
+
message: `Component cannot be placed on layer '${componentLayer}'. Components can only be placed on 'top' or 'bottom' layers.`,
|
|
7899
|
+
source_component_id: this.source_component_id,
|
|
7900
|
+
layer: componentLayer,
|
|
7901
|
+
subcircuit_id: subcircuit.subcircuit_id ?? void 0
|
|
7902
|
+
});
|
|
7903
|
+
db.pcb_component_invalid_layer_error.insert(error);
|
|
7904
|
+
}
|
|
7872
7905
|
const globalTransform = this._computePcbGlobalTransformBeforeLayout();
|
|
7873
7906
|
const decomposedTransform = decomposeTSR5(globalTransform);
|
|
7874
7907
|
const accumulatedRotation = decomposedTransform.rotation.angle * 180 / Math.PI;
|
|
@@ -7877,7 +7910,7 @@ var NormalComponent3 = class extends PrimitiveComponent2 {
|
|
|
7877
7910
|
// width/height are computed in the PcbComponentSizeCalculation phase
|
|
7878
7911
|
width: 0,
|
|
7879
7912
|
height: 0,
|
|
7880
|
-
layer:
|
|
7913
|
+
layer: componentLayer === "top" || componentLayer === "bottom" ? componentLayer : "top",
|
|
7881
7914
|
rotation: props.pcbRotation ?? accumulatedRotation,
|
|
7882
7915
|
source_component_id: this.source_component_id,
|
|
7883
7916
|
subcircuit_id: subcircuit.subcircuit_id ?? void 0,
|
|
@@ -13552,6 +13585,7 @@ var Capacitor = class extends NormalComponent3 {
|
|
|
13552
13585
|
|
|
13553
13586
|
// lib/components/normal-components/Chip.ts
|
|
13554
13587
|
import { chipProps as chipProps2 } from "@tscircuit/props";
|
|
13588
|
+
import { pcb_component_invalid_layer_error as pcb_component_invalid_layer_error2 } from "circuit-json";
|
|
13555
13589
|
var Chip = class extends NormalComponent3 {
|
|
13556
13590
|
schematicBoxDimensions = null;
|
|
13557
13591
|
constructor(props) {
|
|
@@ -13619,13 +13653,25 @@ var Chip = class extends NormalComponent3 {
|
|
|
13619
13653
|
if (this.root?.pcbDisabled) return;
|
|
13620
13654
|
const { db } = this.root;
|
|
13621
13655
|
const { _parsedProps: props } = this;
|
|
13656
|
+
const componentLayer = props.layer ?? "top";
|
|
13657
|
+
if (componentLayer !== "top" && componentLayer !== "bottom") {
|
|
13658
|
+
const subcircuit = this.getSubcircuit();
|
|
13659
|
+
const error = pcb_component_invalid_layer_error2.parse({
|
|
13660
|
+
type: "pcb_component_invalid_layer_error",
|
|
13661
|
+
message: `Component cannot be placed on layer '${componentLayer}'. Components can only be placed on 'top' or 'bottom' layers.`,
|
|
13662
|
+
source_component_id: this.source_component_id,
|
|
13663
|
+
layer: componentLayer,
|
|
13664
|
+
subcircuit_id: subcircuit.subcircuit_id ?? void 0
|
|
13665
|
+
});
|
|
13666
|
+
db.pcb_component_invalid_layer_error.insert(error);
|
|
13667
|
+
}
|
|
13622
13668
|
const pcb_component = db.pcb_component.insert({
|
|
13623
13669
|
center: { x: props.pcbX ?? 0, y: props.pcbY ?? 0 },
|
|
13624
13670
|
width: 2,
|
|
13625
13671
|
// Default width, adjust as needed
|
|
13626
13672
|
height: 3,
|
|
13627
13673
|
// Default height, adjust as needed
|
|
13628
|
-
layer:
|
|
13674
|
+
layer: componentLayer === "top" || componentLayer === "bottom" ? componentLayer : "top",
|
|
13629
13675
|
rotation: props.pcbRotation ?? 0,
|
|
13630
13676
|
source_component_id: this.source_component_id,
|
|
13631
13677
|
subcircuit_id: this.getSubcircuit().subcircuit_id ?? void 0,
|
|
@@ -16868,7 +16914,7 @@ import { identity as identity6 } from "transformation-matrix";
|
|
|
16868
16914
|
var package_default = {
|
|
16869
16915
|
name: "@tscircuit/core",
|
|
16870
16916
|
type: "module",
|
|
16871
|
-
version: "0.0.
|
|
16917
|
+
version: "0.0.795",
|
|
16872
16918
|
types: "dist/index.d.ts",
|
|
16873
16919
|
main: "dist/index.js",
|
|
16874
16920
|
module: "dist/index.js",
|
|
@@ -16908,7 +16954,7 @@ var package_default = {
|
|
|
16908
16954
|
"@tscircuit/matchpack": "^0.0.16",
|
|
16909
16955
|
"@tscircuit/math-utils": "^0.0.21",
|
|
16910
16956
|
"@tscircuit/miniflex": "^0.0.4",
|
|
16911
|
-
"@tscircuit/props": "0.0.
|
|
16957
|
+
"@tscircuit/props": "0.0.369",
|
|
16912
16958
|
"@tscircuit/schematic-autolayout": "^0.0.6",
|
|
16913
16959
|
"@tscircuit/schematic-match-adapt": "^0.0.16",
|
|
16914
16960
|
"@tscircuit/schematic-trace-solver": "^0.0.41",
|
|
@@ -16921,7 +16967,7 @@ var package_default = {
|
|
|
16921
16967
|
"bun-match-svg": "0.0.12",
|
|
16922
16968
|
"calculate-elbow": "^0.0.12",
|
|
16923
16969
|
"chokidar-cli": "^3.0.0",
|
|
16924
|
-
"circuit-json": "^0.0.
|
|
16970
|
+
"circuit-json": "^0.0.283",
|
|
16925
16971
|
"circuit-json-to-bpc": "^0.0.13",
|
|
16926
16972
|
"circuit-json-to-connectivity-map": "^0.0.22",
|
|
16927
16973
|
"circuit-json-to-gltf": "^0.0.7",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tscircuit/core",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.796",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"module": "dist/index.js",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"@tscircuit/matchpack": "^0.0.16",
|
|
42
42
|
"@tscircuit/math-utils": "^0.0.21",
|
|
43
43
|
"@tscircuit/miniflex": "^0.0.4",
|
|
44
|
-
"@tscircuit/props": "0.0.
|
|
44
|
+
"@tscircuit/props": "0.0.369",
|
|
45
45
|
"@tscircuit/schematic-autolayout": "^0.0.6",
|
|
46
46
|
"@tscircuit/schematic-match-adapt": "^0.0.16",
|
|
47
47
|
"@tscircuit/schematic-trace-solver": "^0.0.41",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"bun-match-svg": "0.0.12",
|
|
55
55
|
"calculate-elbow": "^0.0.12",
|
|
56
56
|
"chokidar-cli": "^3.0.0",
|
|
57
|
-
"circuit-json": "^0.0.
|
|
57
|
+
"circuit-json": "^0.0.283",
|
|
58
58
|
"circuit-json-to-bpc": "^0.0.13",
|
|
59
59
|
"circuit-json-to-connectivity-map": "^0.0.22",
|
|
60
60
|
"circuit-json-to-gltf": "^0.0.7",
|