@tscircuit/core 0.0.856 → 0.0.858
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 +6 -1
- package/dist/index.js +16 -6
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -216,7 +216,9 @@ declare class RootCircuit {
|
|
|
216
216
|
db: CircuitJsonUtilObjects;
|
|
217
217
|
root: RootCircuit | null;
|
|
218
218
|
isRoot: boolean;
|
|
219
|
-
|
|
219
|
+
private _schematicDisabledOverride;
|
|
220
|
+
get schematicDisabled(): boolean;
|
|
221
|
+
set schematicDisabled(value: boolean);
|
|
220
222
|
pcbDisabled: boolean;
|
|
221
223
|
pcbRoutingDisabled: boolean;
|
|
222
224
|
_featureMspSchematicTraceRouting: boolean;
|
|
@@ -2075,6 +2077,7 @@ declare class Board extends Group<typeof boardProps> {
|
|
|
2075
2077
|
topSilkscreenColor: zod.ZodOptional<zod.ZodType<_tscircuit_props.BoardColor, zod.ZodTypeDef, _tscircuit_props.BoardColor>>;
|
|
2076
2078
|
bottomSilkscreenColor: zod.ZodOptional<zod.ZodType<_tscircuit_props.BoardColor, zod.ZodTypeDef, _tscircuit_props.BoardColor>>;
|
|
2077
2079
|
doubleSidedAssembly: zod.ZodDefault<zod.ZodOptional<zod.ZodBoolean>>;
|
|
2080
|
+
schematicDisabled: zod.ZodOptional<zod.ZodBoolean>;
|
|
2078
2081
|
}, "strip", zod.ZodTypeAny, {
|
|
2079
2082
|
material: "fr4" | "fr1";
|
|
2080
2083
|
layers: 2 | 4;
|
|
@@ -2380,6 +2383,7 @@ declare class Board extends Group<typeof boardProps> {
|
|
|
2380
2383
|
silkscreenColor?: _tscircuit_props.BoardColor | undefined;
|
|
2381
2384
|
topSilkscreenColor?: _tscircuit_props.BoardColor | undefined;
|
|
2382
2385
|
bottomSilkscreenColor?: _tscircuit_props.BoardColor | undefined;
|
|
2386
|
+
schematicDisabled?: boolean | undefined;
|
|
2383
2387
|
}, {
|
|
2384
2388
|
symbol?: _tscircuit_props.SymbolProp | undefined;
|
|
2385
2389
|
key?: any;
|
|
@@ -2689,6 +2693,7 @@ declare class Board extends Group<typeof boardProps> {
|
|
|
2689
2693
|
topSilkscreenColor?: _tscircuit_props.BoardColor | undefined;
|
|
2690
2694
|
bottomSilkscreenColor?: _tscircuit_props.BoardColor | undefined;
|
|
2691
2695
|
doubleSidedAssembly?: boolean | undefined;
|
|
2696
|
+
schematicDisabled?: boolean | undefined;
|
|
2692
2697
|
}>;
|
|
2693
2698
|
};
|
|
2694
2699
|
get boardThickness(): number;
|
package/dist/index.js
CHANGED
|
@@ -9775,7 +9775,7 @@ function Group_doInitialSchematicLayoutMatchAdapt(group) {
|
|
|
9775
9775
|
source_group_id: group.source_group_id
|
|
9776
9776
|
});
|
|
9777
9777
|
const bpcGraphBeforeGeneratedNetLabels = convertCircuitJsonToBpc(subtreeCircuitJson);
|
|
9778
|
-
if (debug4.enabled) {
|
|
9778
|
+
if (debug4.enabled && global.debugGraphics) {
|
|
9779
9779
|
global.debugGraphics?.push(
|
|
9780
9780
|
getGraphicsForBpcGraph(bpcGraphBeforeGeneratedNetLabels, {
|
|
9781
9781
|
title: `floatingBpcGraph-${group.name}`
|
|
@@ -9821,7 +9821,7 @@ function Group_doInitialSchematicLayoutMatchAdapt(group) {
|
|
|
9821
9821
|
corpus: {}
|
|
9822
9822
|
}
|
|
9823
9823
|
);
|
|
9824
|
-
if (debug4.enabled) {
|
|
9824
|
+
if (debug4.enabled && global.debugGraphics) {
|
|
9825
9825
|
global.debugGraphics?.push(
|
|
9826
9826
|
getGraphicsForBpcGraph(laidOutBpcGraph, {
|
|
9827
9827
|
title: `laidOutBpcGraph-${group.name}`
|
|
@@ -11791,7 +11791,7 @@ var Group_doInitialPcbLayoutPack = (group) => {
|
|
|
11791
11791
|
});
|
|
11792
11792
|
}
|
|
11793
11793
|
const packOutput = pack(packInput);
|
|
11794
|
-
if (debug6.enabled) {
|
|
11794
|
+
if (debug6.enabled && global.debugGraphics) {
|
|
11795
11795
|
const graphics = getGraphicsFromPackOutput(packOutput);
|
|
11796
11796
|
graphics.title = `packOutput-${group.name}`;
|
|
11797
11797
|
global.debugGraphics?.push(graphics);
|
|
@@ -17715,7 +17715,7 @@ import { identity as identity6 } from "transformation-matrix";
|
|
|
17715
17715
|
var package_default = {
|
|
17716
17716
|
name: "@tscircuit/core",
|
|
17717
17717
|
type: "module",
|
|
17718
|
-
version: "0.0.
|
|
17718
|
+
version: "0.0.857",
|
|
17719
17719
|
types: "dist/index.d.ts",
|
|
17720
17720
|
main: "dist/index.js",
|
|
17721
17721
|
module: "dist/index.js",
|
|
@@ -17759,7 +17759,7 @@ var package_default = {
|
|
|
17759
17759
|
"@tscircuit/math-utils": "^0.0.29",
|
|
17760
17760
|
"@tscircuit/miniflex": "^0.0.4",
|
|
17761
17761
|
"@tscircuit/ngspice-spice-engine": "^0.0.2",
|
|
17762
|
-
"@tscircuit/props": "^0.0.
|
|
17762
|
+
"@tscircuit/props": "^0.0.398",
|
|
17763
17763
|
"@tscircuit/schematic-autolayout": "^0.0.6",
|
|
17764
17764
|
"@tscircuit/schematic-match-adapt": "^0.0.16",
|
|
17765
17765
|
"@tscircuit/schematic-trace-solver": "^v0.0.45",
|
|
@@ -17839,7 +17839,17 @@ var RootCircuit = class {
|
|
|
17839
17839
|
db;
|
|
17840
17840
|
root = null;
|
|
17841
17841
|
isRoot = true;
|
|
17842
|
-
|
|
17842
|
+
_schematicDisabledOverride;
|
|
17843
|
+
get schematicDisabled() {
|
|
17844
|
+
if (this._schematicDisabledOverride !== void 0) {
|
|
17845
|
+
return this._schematicDisabledOverride;
|
|
17846
|
+
}
|
|
17847
|
+
const board = this._getBoard();
|
|
17848
|
+
return board?._parsedProps?.schematicDisabled ?? false;
|
|
17849
|
+
}
|
|
17850
|
+
set schematicDisabled(value) {
|
|
17851
|
+
this._schematicDisabledOverride = value;
|
|
17852
|
+
}
|
|
17843
17853
|
pcbDisabled = false;
|
|
17844
17854
|
pcbRoutingDisabled = false;
|
|
17845
17855
|
_featureMspSchematicTraceRouting = true;
|
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.858",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"module": "dist/index.js",
|
|
@@ -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.2",
|
|
48
|
-
"@tscircuit/props": "^0.0.
|
|
48
|
+
"@tscircuit/props": "^0.0.398",
|
|
49
49
|
"@tscircuit/schematic-autolayout": "^0.0.6",
|
|
50
50
|
"@tscircuit/schematic-match-adapt": "^0.0.16",
|
|
51
51
|
"@tscircuit/schematic-trace-solver": "^v0.0.45",
|