@tscircuit/core 0.0.1060 → 0.0.1061
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.js +9 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -18085,7 +18085,7 @@ import { identity as identity4 } from "transformation-matrix";
|
|
|
18085
18085
|
var package_default = {
|
|
18086
18086
|
name: "@tscircuit/core",
|
|
18087
18087
|
type: "module",
|
|
18088
|
-
version: "0.0.
|
|
18088
|
+
version: "0.0.1060",
|
|
18089
18089
|
types: "dist/index.d.ts",
|
|
18090
18090
|
main: "dist/index.js",
|
|
18091
18091
|
module: "dist/index.js",
|
|
@@ -23276,6 +23276,14 @@ var SymbolComponent = class extends PrimitiveComponent2 {
|
|
|
23276
23276
|
const { db } = this.root;
|
|
23277
23277
|
const schematicElements = [];
|
|
23278
23278
|
for (const child of this.children) {
|
|
23279
|
+
if (child.componentName === "Port") {
|
|
23280
|
+
const portId = child.schematic_port_id;
|
|
23281
|
+
if (portId) {
|
|
23282
|
+
const port = db.schematic_port.get(portId);
|
|
23283
|
+
if (port) schematicElements.push(port);
|
|
23284
|
+
}
|
|
23285
|
+
continue;
|
|
23286
|
+
}
|
|
23279
23287
|
if (!child.isSchematicPrimitive) continue;
|
|
23280
23288
|
if (child.componentName === "SchematicLine") {
|
|
23281
23289
|
const line = db.schematic_line.get(child.schematic_line_id);
|