schematic-symbols 0.0.133 → 0.0.134

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 CHANGED
@@ -44,10 +44,10 @@ function getBoundsOfPrimitives(primitives) {
44
44
  function defineSymbol(symbol) {
45
45
  let size = symbol.size;
46
46
  if (!size) {
47
- const bounds59 = getBoundsOfPrimitives(symbol.primitives);
47
+ const bounds63 = getBoundsOfPrimitives(symbol.primitives);
48
48
  size = {
49
- width: bounds59.maxX - bounds59.minX,
50
- height: bounds59.maxY - bounds59.minY
49
+ width: bounds63.maxX - bounds63.minX,
50
+ height: bounds63.maxY - bounds63.minY
51
51
  };
52
52
  }
53
53
  return { ...symbol, size };
@@ -494,14 +494,14 @@ var rotateRightFacingSymbol = (symbol, opts) => {
494
494
  ...applyToPoint(transform2, port)
495
495
  })
496
496
  );
497
- const bounds59 = getBoundsOfPrimitives(rotatedPrimitives);
497
+ const bounds63 = getBoundsOfPrimitives(rotatedPrimitives);
498
498
  return {
499
499
  primitives: rotatedPrimitives,
500
500
  center,
501
501
  ports: rotatedPorts,
502
502
  size: {
503
- width: bounds59.maxX - bounds59.minX,
504
- height: bounds59.maxY - bounds59.minY
503
+ width: bounds63.maxX - bounds63.minX,
504
+ height: bounds63.maxY - bounds63.minY
505
505
  },
506
506
  ...overrides
507
507
  };
@@ -902,10 +902,10 @@ var SymbolModifier = class {
902
902
  return this;
903
903
  }
904
904
  computeSize() {
905
- const bounds59 = getBoundsOfPrimitives(this.symbol.primitives);
905
+ const bounds63 = getBoundsOfPrimitives(this.symbol.primitives);
906
906
  return {
907
- width: bounds59.maxX - bounds59.minX,
908
- height: bounds59.maxY - bounds59.minY
907
+ width: bounds63.maxX - bounds63.minX,
908
+ height: bounds63.maxY - bounds63.minY
909
909
  };
910
910
  }
911
911
  build() {
@@ -1346,12 +1346,259 @@ var boxresistor_right_default = modifySymbol({
1346
1346
  center: { x: bounds10.centerX, y: bounds10.centerY }
1347
1347
  }).changeTextAnchor("{VAL}", "middle_top").rotateRightFacingSymbol("right").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_bottom").build();
1348
1348
 
1349
- // symbols/boxresistor_up.ts
1350
- var { paths: paths11, texts: texts10, bounds: bounds11, refblocks: refblocks11, circles: circles11 } = boxresistor_default;
1351
- var boxresistor_up_default = modifySymbol({
1349
+ // assets/generated/boxresistor_small.json
1350
+ var boxresistor_small_default = {
1351
+ paths: {
1352
+ path2: {
1353
+ type: "path",
1354
+ points: [
1355
+ {
1356
+ x: 0.15388670000000015,
1357
+ y: -0.011659850000000915
1358
+ },
1359
+ {
1360
+ x: 0.5624630000000006,
1361
+ y: -0.011659850000000915
1362
+ }
1363
+ ],
1364
+ color: "primary",
1365
+ fill: true
1366
+ },
1367
+ "path2-5": {
1368
+ type: "path",
1369
+ points: [
1370
+ {
1371
+ x: -0.15278139999999985,
1372
+ y: 0.0631857500000006
1373
+ },
1374
+ {
1375
+ x: 0.14088970000000023,
1376
+ y: 0.0631857500000006
1377
+ }
1378
+ ],
1379
+ color: "primary",
1380
+ fill: true
1381
+ },
1382
+ "path2-5-1": {
1383
+ type: "path",
1384
+ points: [
1385
+ {
1386
+ x: 0.1440984000000003,
1387
+ y: 0.062027949999999166
1388
+ },
1389
+ {
1390
+ x: 0.1440984000000003,
1391
+ y: -0.07771874999999895
1392
+ }
1393
+ ],
1394
+ color: "primary",
1395
+ fill: true
1396
+ },
1397
+ "path2-5-1-6": {
1398
+ type: "path",
1399
+ points: [
1400
+ {
1401
+ x: -0.1560009,
1402
+ y: 0.061948649999999716
1403
+ },
1404
+ {
1405
+ x: -0.1560009,
1406
+ y: -0.0777064499999991
1407
+ }
1408
+ ],
1409
+ color: "primary",
1410
+ fill: true
1411
+ },
1412
+ "path2-5-4": {
1413
+ type: "path",
1414
+ points: [
1415
+ {
1416
+ x: -0.15274009999999993,
1417
+ y: -0.07931364999999957
1418
+ },
1419
+ {
1420
+ x: 0.14080039999999983,
1421
+ y: -0.07931364999999957
1422
+ }
1423
+ ],
1424
+ color: "primary",
1425
+ fill: true
1426
+ },
1427
+ "path2-9": {
1428
+ type: "path",
1429
+ points: [
1430
+ {
1431
+ x: -0.5604024999999999,
1432
+ y: -0.011417950000000232
1433
+ },
1434
+ {
1435
+ x: -0.16549179999999986,
1436
+ y: -0.011417950000000232
1437
+ }
1438
+ ],
1439
+ color: "primary",
1440
+ fill: true
1441
+ }
1442
+ },
1443
+ texts: {
1444
+ top1: {
1445
+ type: "text",
1446
+ text: "{REF}",
1447
+ x: -0.007722799999999808,
1448
+ y: 0.17344284999999893
1449
+ },
1450
+ bottom1: {
1451
+ type: "text",
1452
+ text: "{VAL}",
1453
+ x: -0.003756900000000396,
1454
+ y: -0.1734428500000007
1455
+ }
1456
+ },
1457
+ refblocks: {
1458
+ left1: {
1459
+ x: -0.5512093000000005,
1460
+ y: -0.009974149999999682
1461
+ },
1462
+ right1: {
1463
+ x: 0.5512093,
1464
+ y: -0.009427450000000448
1465
+ }
1466
+ },
1467
+ bounds: {
1468
+ minX: -0.5793677410000004,
1469
+ maxX: 0.579367741,
1470
+ minY: -0.1734428500000007,
1471
+ maxY: 0.17344284999999893,
1472
+ width: 1.1587354820000004,
1473
+ height: 0.34688569999999963,
1474
+ centerX: -2220446049250313e-31,
1475
+ centerY: -8881784197001252e-31
1476
+ },
1477
+ circles: {}
1478
+ };
1479
+
1480
+ // symbols/boxresistor_small_down.ts
1481
+ var { paths: paths11, texts: texts10, bounds: bounds11, refblocks: refblocks11, circles: circles11 } = boxresistor_small_default;
1482
+ var boxresistor_small_down_default = modifySymbol({
1352
1483
  primitives: [
1353
1484
  ...Object.values(paths11),
1354
1485
  ...Object.values(circles11),
1486
+ {
1487
+ type: "text",
1488
+ text: "{REF}",
1489
+ x: -0.2,
1490
+ y: 0.1404553499999995
1491
+ },
1492
+ {
1493
+ type: "text",
1494
+ text: "{VAL}",
1495
+ x: 0.2,
1496
+ y: 0.1494553499999995
1497
+ }
1498
+ ],
1499
+ ports: [
1500
+ { ...refblocks11.left1, labels: ["1"] },
1501
+ // TODO add more "standard" labels
1502
+ { ...refblocks11.right1, labels: ["2"] }
1503
+ // TODO add more "standard" labels
1504
+ ],
1505
+ size: { width: bounds11.width, height: bounds11.height },
1506
+ center: { x: bounds11.centerX, y: bounds11.centerY }
1507
+ }).rotateRightFacingSymbol("down").labelPort("left", ["1"]).labelPort("right", ["2"]).changeTextAnchor("{REF}", "middle_left").changeTextAnchor("{VAL}", "middle_left").build();
1508
+
1509
+ // symbols/boxresistor_small_left.ts
1510
+ var { paths: paths12, texts: texts11, bounds: bounds12, refblocks: refblocks12, circles: circles12 } = boxresistor_small_default;
1511
+ var boxresistor_small_left_default = modifySymbol({
1512
+ primitives: [
1513
+ ...Object.values(paths12),
1514
+ ...Object.values(circles12),
1515
+ {
1516
+ type: "text",
1517
+ text: "{REF}",
1518
+ x: 0,
1519
+ y: -0.2294553499999995
1520
+ },
1521
+ {
1522
+ type: "text",
1523
+ text: "{VAL}",
1524
+ x: 0,
1525
+ y: 0.1704553499999995
1526
+ }
1527
+ ],
1528
+ ports: [
1529
+ { ...refblocks12.left1, labels: ["1"] },
1530
+ // TODO add more "standard" labels
1531
+ { ...refblocks12.right1, labels: ["2"] }
1532
+ // TODO add more "standard" labels
1533
+ ],
1534
+ size: { width: bounds12.width, height: bounds12.height },
1535
+ center: { x: bounds12.centerX, y: bounds12.centerY }
1536
+ }).rotateRightFacingSymbol("left").labelPort("left", ["1"]).labelPort("right", ["2"]).changeTextAnchor("{REF}", "middle_bottom").changeTextAnchor("{VAL}", "middle_top").build();
1537
+
1538
+ // symbols/boxresistor_small_right.ts
1539
+ var { paths: paths13, texts: texts12, bounds: bounds13, refblocks: refblocks13, circles: circles13 } = boxresistor_small_default;
1540
+ var boxresistor_small_right_default = modifySymbol({
1541
+ primitives: [
1542
+ ...Object.values(paths13),
1543
+ ...Object.values(circles13),
1544
+ {
1545
+ type: "text",
1546
+ text: "{REF}",
1547
+ x: 0,
1548
+ y: 0.2294553499999995
1549
+ },
1550
+ {
1551
+ type: "text",
1552
+ text: "{VAL}",
1553
+ x: 0,
1554
+ y: -0.1704553499999995
1555
+ }
1556
+ ],
1557
+ ports: [
1558
+ { ...refblocks13.left1, labels: ["1"] },
1559
+ // TODO add more "standard" labels
1560
+ { ...refblocks13.right1, labels: ["2"] }
1561
+ // TODO add more "standard" labels
1562
+ ],
1563
+ size: { width: bounds13.width, height: bounds13.height },
1564
+ center: { x: bounds13.centerX, y: bounds13.centerY }
1565
+ }).rotateRightFacingSymbol("right").labelPort("left", ["1"]).labelPort("right", ["2"]).changeTextAnchor("{REF}", "middle_bottom").changeTextAnchor("{VAL}", "middle_top").build();
1566
+
1567
+ // symbols/boxresistor_small_up.ts
1568
+ var { paths: paths14, texts: texts13, bounds: bounds14, refblocks: refblocks14, circles: circles14 } = boxresistor_small_default;
1569
+ var boxresistor_small_up_default = modifySymbol({
1570
+ primitives: [
1571
+ ...Object.values(paths14),
1572
+ ...Object.values(circles14),
1573
+ {
1574
+ type: "text",
1575
+ text: "{REF}",
1576
+ x: 0.2,
1577
+ y: -0.1404553499999995
1578
+ },
1579
+ {
1580
+ type: "text",
1581
+ text: "{VAL}",
1582
+ x: -0.2,
1583
+ y: -0.1494553499999995
1584
+ }
1585
+ ],
1586
+ ports: [
1587
+ { ...refblocks14.left1, labels: ["1"] },
1588
+ // TODO add more "standard" labels
1589
+ { ...refblocks14.right1, labels: ["2"] }
1590
+ // TODO add more "standard" labels
1591
+ ],
1592
+ size: { width: bounds14.width, height: bounds14.height },
1593
+ center: { x: bounds14.centerX, y: bounds14.centerY }
1594
+ }).rotateRightFacingSymbol("up").labelPort("left", ["1"]).labelPort("right", ["2"]).changeTextAnchor("{REF}", "middle_left").changeTextAnchor("{VAL}", "middle_left").build();
1595
+
1596
+ // symbols/boxresistor_up.ts
1597
+ var { paths: paths15, texts: texts14, bounds: bounds15, refblocks: refblocks15, circles: circles15 } = boxresistor_default;
1598
+ var boxresistor_up_default = modifySymbol({
1599
+ primitives: [
1600
+ ...Object.values(paths15),
1601
+ ...Object.values(circles15),
1355
1602
  {
1356
1603
  type: "text",
1357
1604
  text: "{REF}",
@@ -1366,12 +1613,12 @@ var boxresistor_up_default = modifySymbol({
1366
1613
  }
1367
1614
  ],
1368
1615
  ports: [
1369
- { ...refblocks11.left1, labels: ["1"] },
1616
+ { ...refblocks15.left1, labels: ["1"] },
1370
1617
  // TODO add more "standard" labels
1371
- { ...refblocks11.right1, labels: ["2"] }
1618
+ { ...refblocks15.right1, labels: ["2"] }
1372
1619
  // TODO add more "standard" labels
1373
1620
  ],
1374
- center: { x: bounds11.centerX, y: bounds11.centerY }
1621
+ center: { x: bounds15.centerX, y: bounds15.centerY }
1375
1622
  }).changeTextAnchor("{VAL}", "middle_bottom").rotateRightFacingSymbol("down").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_left").build();
1376
1623
 
1377
1624
  // assets/generated/capacitor.json
@@ -1476,11 +1723,11 @@ var capacitor_default = {
1476
1723
  };
1477
1724
 
1478
1725
  // symbols/capacitor_down.ts
1479
- var { paths: paths12, texts: texts11, bounds: bounds12, refblocks: refblocks12, circles: circles12 } = capacitor_default;
1726
+ var { paths: paths16, texts: texts15, bounds: bounds16, refblocks: refblocks16, circles: circles16 } = capacitor_default;
1480
1727
  var capacitor_down_default = modifySymbol({
1481
1728
  primitives: [
1482
- ...Object.values(paths12),
1483
- ...Object.values(circles12),
1729
+ ...Object.values(paths16),
1730
+ ...Object.values(circles16),
1484
1731
  {
1485
1732
  type: "text",
1486
1733
  text: "{REF}",
@@ -1495,13 +1742,13 @@ var capacitor_down_default = modifySymbol({
1495
1742
  }
1496
1743
  ],
1497
1744
  ports: [
1498
- { ...refblocks12.left1, labels: ["1"] },
1745
+ { ...refblocks16.left1, labels: ["1"] },
1499
1746
  // TODO add more "standard" labels
1500
- { ...refblocks12.right1, labels: ["2"] }
1747
+ { ...refblocks16.right1, labels: ["2"] }
1501
1748
  // TODO add more "standard" labels
1502
1749
  ],
1503
- size: { width: bounds12.width, height: bounds12.height },
1504
- center: { x: bounds12.centerX, y: bounds12.centerY }
1750
+ size: { width: bounds16.width, height: bounds16.height },
1751
+ center: { x: bounds16.centerX, y: bounds16.centerY }
1505
1752
  }).changeTextAnchor("{VAL}", "top_left").rotateRightFacingSymbol("down").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "bottom_left").build();
1506
1753
 
1507
1754
  // symbols/capacitor_left.ts
@@ -3267,11 +3514,11 @@ var capacitor_polarized_default = {
3267
3514
  };
3268
3515
 
3269
3516
  // symbols/capacitor_polarized_down.ts
3270
- var { paths: paths13, texts: texts12, bounds: bounds13, refblocks: refblocks13, circles: circles13 } = capacitor_polarized_default;
3517
+ var { paths: paths17, texts: texts16, bounds: bounds17, refblocks: refblocks17, circles: circles17 } = capacitor_polarized_default;
3271
3518
  var capacitor_polarized_down_default = modifySymbol({
3272
3519
  primitives: [
3273
- ...Object.values(paths13),
3274
- ...Object.values(circles13),
3520
+ ...Object.values(paths17),
3521
+ ...Object.values(circles17),
3275
3522
  {
3276
3523
  type: "text",
3277
3524
  text: "{REF}",
@@ -3286,13 +3533,13 @@ var capacitor_polarized_down_default = modifySymbol({
3286
3533
  }
3287
3534
  ],
3288
3535
  ports: [
3289
- { ...refblocks13.left1, labels: ["1"] },
3536
+ { ...refblocks17.left1, labels: ["1"] },
3290
3537
  // TODO add more "standard" labels
3291
- { ...refblocks13.right1, labels: ["2"] }
3538
+ { ...refblocks17.right1, labels: ["2"] }
3292
3539
  // TODO add more "standard" labels
3293
3540
  ],
3294
- size: { width: bounds13.width, height: bounds13.height },
3295
- center: { x: bounds13.centerX, y: bounds13.centerY }
3541
+ size: { width: bounds17.width, height: bounds17.height },
3542
+ center: { x: bounds17.centerX, y: bounds17.centerY }
3296
3543
  }).changeTextAnchor("{VAL}", "top_left").rotateRightFacingSymbol("down").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "bottom_left").build();
3297
3544
 
3298
3545
  // symbols/capacitor_polarized_right.ts
@@ -3302,11 +3549,11 @@ var capacitor_polarized_right_default = modifySymbol(capacitor_polarized_default
3302
3549
  var capacitor_polarized_left_default = modifySymbol(capacitor_polarized_right_default).changeTextAnchor("{VAL}", "middle_top").rotateRightFacingSymbol("left").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_top").build();
3303
3550
 
3304
3551
  // symbols/capacitor_polarized_up.ts
3305
- var { paths: paths14, texts: texts13, bounds: bounds14, refblocks: refblocks14, circles: circles14 } = capacitor_polarized_default;
3552
+ var { paths: paths18, texts: texts17, bounds: bounds18, refblocks: refblocks18, circles: circles18 } = capacitor_polarized_default;
3306
3553
  var capacitor_polarized_up_default = modifySymbol({
3307
3554
  primitives: [
3308
- ...Object.values(paths14),
3309
- ...Object.values(circles14),
3555
+ ...Object.values(paths18),
3556
+ ...Object.values(circles18),
3310
3557
  {
3311
3558
  type: "text",
3312
3559
  text: "{REF}",
@@ -3321,24 +3568,24 @@ var capacitor_polarized_up_default = modifySymbol({
3321
3568
  }
3322
3569
  ],
3323
3570
  ports: [
3324
- { ...refblocks14.left1, labels: ["1"] },
3571
+ { ...refblocks18.left1, labels: ["1"] },
3325
3572
  // TODO add more "standard" labels
3326
- { ...refblocks14.right1, labels: ["2"] }
3573
+ { ...refblocks18.right1, labels: ["2"] }
3327
3574
  // TODO add more "standard" labels
3328
3575
  ],
3329
- size: { width: bounds14.width, height: bounds14.height },
3330
- center: { x: bounds14.centerX, y: bounds14.centerY }
3576
+ size: { width: bounds18.width, height: bounds18.height },
3577
+ center: { x: bounds18.centerX, y: bounds18.centerY }
3331
3578
  }).changeTextAnchor("{VAL}", "top_left").rotateRightFacingSymbol("up").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "bottom_left").build();
3332
3579
 
3333
3580
  // symbols/capacitor_right.ts
3334
3581
  var capacitor_right_default = modifySymbol(capacitor_default).rotateRightFacingSymbol("right").changeTextAnchor("{VAL}", "middle_top").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_bottom").build();
3335
3582
 
3336
3583
  // symbols/capacitor_up.ts
3337
- var { paths: paths15, texts: texts14, bounds: bounds15, refblocks: refblocks15, circles: circles15 } = capacitor_default;
3584
+ var { paths: paths19, texts: texts18, bounds: bounds19, refblocks: refblocks19, circles: circles19 } = capacitor_default;
3338
3585
  var capacitor_up_default = modifySymbol({
3339
3586
  primitives: [
3340
- ...Object.values(paths15),
3341
- ...Object.values(circles15),
3587
+ ...Object.values(paths19),
3588
+ ...Object.values(circles19),
3342
3589
  {
3343
3590
  type: "text",
3344
3591
  text: "{REF}",
@@ -3353,13 +3600,13 @@ var capacitor_up_default = modifySymbol({
3353
3600
  }
3354
3601
  ],
3355
3602
  ports: [
3356
- { ...refblocks15.left1, labels: ["1"] },
3603
+ { ...refblocks19.left1, labels: ["1"] },
3357
3604
  // TODO add more "standard" labels
3358
- { ...refblocks15.right1, labels: ["2"] }
3605
+ { ...refblocks19.right1, labels: ["2"] }
3359
3606
  // TODO add more "standard" labels
3360
3607
  ],
3361
- size: { width: bounds15.width, height: bounds15.height },
3362
- center: { x: bounds15.centerX, y: bounds15.centerY }
3608
+ size: { width: bounds19.width, height: bounds19.height },
3609
+ center: { x: bounds19.centerX, y: bounds19.centerY }
3363
3610
  }).changeTextAnchor("{VAL}", "top_left").rotateRightFacingSymbol("up").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "bottom_left").build();
3364
3611
 
3365
3612
  // assets/generated/constant_current_diode.json
@@ -4307,11 +4554,11 @@ var dc_ammeter_default = {
4307
4554
  };
4308
4555
 
4309
4556
  // symbols/dc_ammeter_horz.ts
4310
- var { paths: paths16, texts: texts15, bounds: bounds16, refblocks: refblocks16, circles: circles16 } = dc_ammeter_default;
4557
+ var { paths: paths20, texts: texts19, bounds: bounds20, refblocks: refblocks20, circles: circles20 } = dc_ammeter_default;
4311
4558
  var dc_ammeter_horz_default = defineSymbol({
4312
4559
  primitives: [
4313
- ...Object.values(paths16),
4314
- ...Object.values(circles16),
4560
+ ...Object.values(paths20),
4561
+ ...Object.values(circles20),
4315
4562
  {
4316
4563
  type: "text",
4317
4564
  text: "{REF}",
@@ -4326,16 +4573,16 @@ var dc_ammeter_horz_default = defineSymbol({
4326
4573
  y: 0.35,
4327
4574
  anchor: "middle_bottom"
4328
4575
  },
4329
- { ...texts15.left1, x: 0, y: 0.01, anchor: "center", fontSize: 0.3 }
4576
+ { ...texts19.left1, x: 0, y: 0.01, anchor: "center", fontSize: 0.3 }
4330
4577
  ],
4331
4578
  ports: [
4332
- { ...refblocks16.left1, labels: ["1"] },
4579
+ { ...refblocks20.left1, labels: ["1"] },
4333
4580
  // TODO add more "standard" labels
4334
- { ...refblocks16.right1, labels: ["2"] }
4581
+ { ...refblocks20.right1, labels: ["2"] }
4335
4582
  // TODO add more "standard" labels
4336
4583
  ],
4337
- size: { width: bounds16.width, height: bounds16.height },
4338
- center: { x: bounds16.centerX, y: bounds16.centerY }
4584
+ size: { width: bounds20.width, height: bounds20.height },
4585
+ center: { x: bounds20.centerX, y: bounds20.centerY }
4339
4586
  });
4340
4587
 
4341
4588
  // symbols/dc_ammeter_vert.ts
@@ -4481,11 +4728,11 @@ var dc_voltmeter_default = {
4481
4728
  };
4482
4729
 
4483
4730
  // symbols/dc_voltmeter_horz.ts
4484
- var { paths: paths17, texts: texts16, bounds: bounds17, refblocks: refblocks17, circles: circles17 } = dc_voltmeter_default;
4731
+ var { paths: paths21, texts: texts20, bounds: bounds21, refblocks: refblocks21, circles: circles21 } = dc_voltmeter_default;
4485
4732
  var dc_voltmeter_horz_default = defineSymbol({
4486
4733
  primitives: [
4487
- ...Object.values(paths17),
4488
- ...Object.values(circles17),
4734
+ ...Object.values(paths21),
4735
+ ...Object.values(circles21),
4489
4736
  {
4490
4737
  type: "text",
4491
4738
  text: "{REF}",
@@ -4502,13 +4749,13 @@ var dc_voltmeter_horz_default = defineSymbol({
4502
4749
  }
4503
4750
  ],
4504
4751
  ports: [
4505
- { ...refblocks17.left1, labels: ["1"] },
4752
+ { ...refblocks21.left1, labels: ["1"] },
4506
4753
  // TODO add more "standard" labels
4507
- { ...refblocks17.right1, labels: ["2"] }
4754
+ { ...refblocks21.right1, labels: ["2"] }
4508
4755
  // TODO add more "standard" labels
4509
4756
  ],
4510
- size: { width: bounds17.width, height: bounds17.height },
4511
- center: { x: bounds17.centerX, y: bounds17.centerY }
4757
+ size: { width: bounds21.width, height: bounds21.height },
4758
+ center: { x: bounds21.centerX, y: bounds21.centerY }
4512
4759
  });
4513
4760
 
4514
4761
  // symbols/dc_voltmeter_vert.ts
@@ -4686,11 +4933,11 @@ var diac_horz_default = modifySymbol(diac_default).changeTextAnchor("{VAL}", "mi
4686
4933
 
4687
4934
  // symbols/diac_vert.ts
4688
4935
  var rotatedSymbol4 = rotateSymbol(diac_horz_default);
4689
- var texts17 = rotatedSymbol4.primitives.filter(
4936
+ var texts21 = rotatedSymbol4.primitives.filter(
4690
4937
  (primitive) => primitive.type === "text"
4691
4938
  );
4692
- var ref2 = texts17.find((text) => text.text === "{REF}");
4693
- var val2 = texts17.find((text) => text.text === "{VAL}");
4939
+ var ref2 = texts21.find((text) => text.text === "{REF}");
4940
+ var val2 = texts21.find((text) => text.text === "{VAL}");
4694
4941
  ref2.y = 0;
4695
4942
  val2.y = 0;
4696
4943
  var diac_vert_default = rotatedSymbol4;
@@ -6076,11 +6323,11 @@ var frequency_meter_default = {
6076
6323
  };
6077
6324
 
6078
6325
  // symbols/frequency_meter_horz.ts
6079
- var { paths: paths18, texts: texts18, bounds: bounds18, refblocks: refblocks18, circles: circles18 } = frequency_meter_default;
6326
+ var { paths: paths22, texts: texts22, bounds: bounds22, refblocks: refblocks22, circles: circles22 } = frequency_meter_default;
6080
6327
  var frequency_meter_horz_default = defineSymbol({
6081
6328
  primitives: [
6082
- ...Object.values(paths18),
6083
- ...Object.values(circles18),
6329
+ ...Object.values(paths22),
6330
+ ...Object.values(circles22),
6084
6331
  {
6085
6332
  type: "text",
6086
6333
  text: "{REF}",
@@ -6095,16 +6342,16 @@ var frequency_meter_horz_default = defineSymbol({
6095
6342
  y: 0.35,
6096
6343
  anchor: "middle_bottom"
6097
6344
  },
6098
- { ...texts18.left1, x: 0, y: 0.01, anchor: "center", fontSize: 0.2 }
6345
+ { ...texts22.left1, x: 0, y: 0.01, anchor: "center", fontSize: 0.2 }
6099
6346
  ],
6100
6347
  ports: [
6101
- { ...refblocks18.left1, labels: ["1"] },
6348
+ { ...refblocks22.left1, labels: ["1"] },
6102
6349
  // TODO add more "standard" labels
6103
- { ...refblocks18.right1, labels: ["2"] }
6350
+ { ...refblocks22.right1, labels: ["2"] }
6104
6351
  // TODO add more "standard" labels
6105
6352
  ],
6106
- size: { width: bounds18.width, height: bounds18.height },
6107
- center: { x: bounds18.centerX, y: bounds18.centerY }
6353
+ size: { width: bounds22.width, height: bounds22.height },
6354
+ center: { x: bounds22.centerX, y: bounds22.centerY }
6108
6355
  });
6109
6356
 
6110
6357
  // symbols/frequency_meter_vert.ts
@@ -6209,11 +6456,11 @@ var fuse_default = {
6209
6456
  };
6210
6457
 
6211
6458
  // symbols/fuse_horz.ts
6212
- var { paths: paths19, texts: texts19, bounds: bounds19, refblocks: refblocks19 } = fuse_default;
6459
+ var { paths: paths23, texts: texts23, bounds: bounds23, refblocks: refblocks23 } = fuse_default;
6213
6460
  var fuse_horz_default = defineSymbol({
6214
6461
  primitives: [
6215
- ...Object.values(paths19),
6216
- { ...texts19.top1, anchor: "middle_bottom" },
6462
+ ...Object.values(paths23),
6463
+ { ...texts23.top1, anchor: "middle_bottom" },
6217
6464
  {
6218
6465
  type: "text",
6219
6466
  text: "{VAL}",
@@ -6223,13 +6470,13 @@ var fuse_horz_default = defineSymbol({
6223
6470
  }
6224
6471
  ],
6225
6472
  ports: [
6226
- { ...refblocks19.left1, labels: ["1"] },
6473
+ { ...refblocks23.left1, labels: ["1"] },
6227
6474
  // TODO add more "standard" labels
6228
- { ...refblocks19.right1, labels: ["2"] }
6475
+ { ...refblocks23.right1, labels: ["2"] }
6229
6476
  // TODO add more "standard" labels
6230
6477
  ],
6231
- size: { width: bounds19.width, height: bounds19.height },
6232
- center: { x: bounds19.centerX, y: bounds19.centerY }
6478
+ size: { width: bounds23.width, height: bounds23.height },
6479
+ center: { x: bounds23.centerX, y: bounds23.centerY }
6233
6480
  });
6234
6481
 
6235
6482
  // symbols/fuse_vert.ts
@@ -6337,11 +6584,11 @@ var ground_default = {
6337
6584
  };
6338
6585
 
6339
6586
  // symbols/ground_horz.ts
6340
- var { paths: paths20, circles: circles19, bounds: bounds20, refblocks: refblocks20 } = ground_default;
6587
+ var { paths: paths24, circles: circles23, bounds: bounds24, refblocks: refblocks24 } = ground_default;
6341
6588
  var horizontalSymbol = defineSymbol({
6342
6589
  primitives: [
6343
- ...Object.values(paths20),
6344
- ...Object.values(circles19),
6590
+ ...Object.values(paths24),
6591
+ ...Object.values(circles23),
6345
6592
  {
6346
6593
  type: "text",
6347
6594
  text: "{REF}",
@@ -6365,7 +6612,7 @@ var horizontalSymbol = defineSymbol({
6365
6612
  // Horizontal anchor for VAL
6366
6613
  }
6367
6614
  ],
6368
- ports: [{ ...refblocks20.top1, labels: ["1"] }],
6615
+ ports: [{ ...refblocks24.top1, labels: ["1"] }],
6369
6616
  size: { width: 1, height: 1 },
6370
6617
  center: { x: 0, y: 0.4 }
6371
6618
  });
@@ -6492,7 +6739,7 @@ var gunn_diode_default = {
6492
6739
  };
6493
6740
 
6494
6741
  // symbols/gunn_diode_horz.ts
6495
- var { paths: paths21, texts: texts20, bounds: bounds21, refblocks: refblocks21, circles: circles20 } = gunn_diode_default;
6742
+ var { paths: paths25, texts: texts24, bounds: bounds25, refblocks: refblocks25, circles: circles24 } = gunn_diode_default;
6496
6743
  var gunn_diode_horz_default = modifySymbol(gunn_diode_default).changeTextAnchor("{VAL}", "middle_top").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_bottom").build();
6497
6744
 
6498
6745
  // symbols/gunn_diode_vert.ts
@@ -7260,12 +7507,12 @@ var illuminated_push_button_normally_open_horz_default = modifySymbol(illuminate
7260
7507
 
7261
7508
  // symbols/illuminated_push_button_normally_open_vert.ts
7262
7509
  var rotatedSymbol6 = rotateSymbol(illuminated_push_button_normally_open_horz_default);
7263
- var texts21 = rotatedSymbol6.primitives.filter((p) => p.type === "text");
7264
- var val16 = texts21.find((t) => t.text === "{VAL}");
7510
+ var texts25 = rotatedSymbol6.primitives.filter((p) => p.type === "text");
7511
+ var val16 = texts25.find((t) => t.text === "{VAL}");
7265
7512
  val16.x = -0.35;
7266
7513
  val16.y = 0;
7267
7514
  val16.anchor = "middle_right";
7268
- var ref16 = texts21.find((t) => t.text === "{REF}");
7515
+ var ref16 = texts25.find((t) => t.text === "{REF}");
7269
7516
  ref16.y = 0;
7270
7517
  ref16.x = 0.35;
7271
7518
  ref16.anchor = "middle_left";
@@ -8667,22 +8914,22 @@ var inductor_default = {
8667
8914
  };
8668
8915
 
8669
8916
  // symbols/inductor_right.ts
8670
- var { paths: paths22, texts: texts22, bounds: bounds22, refblocks: refblocks22, circles: circles21 } = inductor_default;
8917
+ var { paths: paths26, texts: texts26, bounds: bounds26, refblocks: refblocks26, circles: circles25 } = inductor_default;
8671
8918
  var inductor_right_default = defineSymbol({
8672
8919
  primitives: [
8673
- ...Object.values(paths22),
8674
- ...Object.values(circles21),
8675
- { ...texts22.top1, anchor: "middle_bottom" },
8676
- { ...texts22.bottom1, anchor: "middle_top" }
8920
+ ...Object.values(paths26),
8921
+ ...Object.values(circles25),
8922
+ { ...texts26.top1, anchor: "middle_bottom" },
8923
+ { ...texts26.bottom1, anchor: "middle_top" }
8677
8924
  ],
8678
8925
  ports: [
8679
- { ...refblocks22.left1, labels: ["1"] },
8926
+ { ...refblocks26.left1, labels: ["1"] },
8680
8927
  // TODO add more "standard" labels
8681
- { ...refblocks22.right1, labels: ["2"] }
8928
+ { ...refblocks26.right1, labels: ["2"] }
8682
8929
  // TODO add more "standard" labels
8683
8930
  ],
8684
- size: { width: bounds22.width, height: bounds22.height },
8685
- center: { x: bounds22.centerX, y: bounds22.centerY }
8931
+ size: { width: bounds26.width, height: bounds26.height },
8932
+ center: { x: bounds26.centerX, y: bounds26.centerY }
8686
8933
  });
8687
8934
 
8688
8935
  // symbols/inductor_up.ts
@@ -8939,8 +9186,8 @@ var laser_diode_horz_default = modifySymbol(laser_diode_default).changeTextAncho
8939
9186
 
8940
9187
  // symbols/laser_diode_vert.ts
8941
9188
  var rotatedSymbol7 = rotateSymbol(laser_diode_horz_default);
8942
- var texts23 = rotatedSymbol7.primitives.filter((p) => p.type === "text");
8943
- var ref17 = texts23.find((t) => t.text === "{VAL}");
9189
+ var texts27 = rotatedSymbol7.primitives.filter((p) => p.type === "text");
9190
+ var ref17 = texts27.find((t) => t.text === "{VAL}");
8944
9191
  ref17.x = -0.52;
8945
9192
  ref17.anchor = "middle_right";
8946
9193
  var laser_diode_vert_default = rotatedSymbol7;
@@ -9161,22 +9408,22 @@ var led_default = {
9161
9408
  };
9162
9409
 
9163
9410
  // symbols/led_right.ts
9164
- var { paths: paths23, texts: texts24, bounds: bounds23, refblocks: refblocks23, circles: circles22 } = led_default;
9411
+ var { paths: paths27, texts: texts28, bounds: bounds27, refblocks: refblocks27, circles: circles26 } = led_default;
9165
9412
  var led_right_default = defineSymbol({
9166
9413
  primitives: [
9167
- ...Object.values(paths23),
9168
- ...Object.values(circles22),
9169
- { ...texts24.bottom1, anchor: "middle_top" },
9170
- { ...texts24.right1, anchor: "middle_bottom" }
9414
+ ...Object.values(paths27),
9415
+ ...Object.values(circles26),
9416
+ { ...texts28.bottom1, anchor: "middle_top" },
9417
+ { ...texts28.right1, anchor: "middle_bottom" }
9171
9418
  ],
9172
9419
  ports: [
9173
- { ...refblocks23.left1, labels: ["1"] },
9420
+ { ...refblocks27.left1, labels: ["1"] },
9174
9421
  // TODO add more "standard" labels
9175
- { ...refblocks23.right1, labels: ["2"] }
9422
+ { ...refblocks27.right1, labels: ["2"] }
9176
9423
  // TODO add more "standard" labels
9177
9424
  ],
9178
- size: { width: bounds23.width, height: bounds23.height },
9179
- center: { x: bounds23.centerX, y: bounds23.centerY }
9425
+ size: { width: bounds27.width, height: bounds27.height },
9426
+ center: { x: bounds27.centerX, y: bounds27.centerY }
9180
9427
  });
9181
9428
 
9182
9429
  // symbols/led_down.ts
@@ -9429,32 +9676,32 @@ var light_dependent_resistor_default = {
9429
9676
  };
9430
9677
 
9431
9678
  // symbols/light_dependent_resistor_horz.ts
9432
- var { paths: paths24, texts: texts25, bounds: bounds24, refblocks: refblocks24, circles: circles23 } = light_dependent_resistor_default;
9679
+ var { paths: paths28, texts: texts29, bounds: bounds28, refblocks: refblocks28, circles: circles27 } = light_dependent_resistor_default;
9433
9680
  var light_dependent_resistor_horz_default = defineSymbol({
9434
9681
  primitives: [
9435
- ...Object.values(paths24),
9436
- ...Object.values(circles23),
9437
- { ...texts25.top1, anchor: "middle_left", x: 0 },
9438
- { ...texts25.bottom1, anchor: "middle_left", x: 0 }
9682
+ ...Object.values(paths28),
9683
+ ...Object.values(circles27),
9684
+ { ...texts29.top1, anchor: "middle_left", x: 0 },
9685
+ { ...texts29.bottom1, anchor: "middle_left", x: 0 }
9439
9686
  ],
9440
9687
  ports: [
9441
- { ...refblocks24.left1, labels: ["1"] },
9688
+ { ...refblocks28.left1, labels: ["1"] },
9442
9689
  // TODO add more "standard" labels
9443
- { ...refblocks24.right1, labels: ["2"] }
9690
+ { ...refblocks28.right1, labels: ["2"] }
9444
9691
  // TODO add more "standard" labels
9445
9692
  ],
9446
- size: { width: bounds24.width, height: bounds24.height },
9447
- center: { x: bounds24.centerX, y: bounds24.centerY }
9693
+ size: { width: bounds28.width, height: bounds28.height },
9694
+ center: { x: bounds28.centerX, y: bounds28.centerY }
9448
9695
  });
9449
9696
 
9450
9697
  // symbols/light_dependent_resistor_vert.ts
9451
9698
  var rotatedSymbol8 = rotateSymbol(light_dependent_resistor_horz_default);
9452
- var texts26 = rotatedSymbol8.primitives.filter((p) => p.type === "text");
9453
- var val17 = texts26.find((t) => t.text === "{VAL}");
9699
+ var texts30 = rotatedSymbol8.primitives.filter((p) => p.type === "text");
9700
+ var val17 = texts30.find((t) => t.text === "{VAL}");
9454
9701
  val17.x = -0.35;
9455
9702
  val17.y = 0;
9456
9703
  val17.anchor = "middle_right";
9457
- var ref18 = texts26.find((t) => t.text === "{REF}");
9704
+ var ref18 = texts30.find((t) => t.text === "{REF}");
9458
9705
  ref18.y = 0;
9459
9706
  ref18.x = 0.35;
9460
9707
  ref18.anchor = "middle_left";
@@ -9731,23 +9978,23 @@ var mosfet_depletion_normally_on_default = {
9731
9978
  };
9732
9979
 
9733
9980
  // symbols/mosfet_depletion_normally_on_horz.ts
9734
- var { paths: paths25, texts: texts27, bounds: bounds25, refblocks: refblocks25 } = mosfet_depletion_normally_on_default;
9981
+ var { paths: paths29, texts: texts31, bounds: bounds29, refblocks: refblocks29 } = mosfet_depletion_normally_on_default;
9735
9982
  var mosfet_depletion_normally_on_horz_default = defineSymbol({
9736
9983
  primitives: [
9737
- ...Object.values(paths25),
9738
- { ...texts27.right1, anchor: "middle_left" },
9739
- { ...texts27.right2, anchor: "middle_left" }
9984
+ ...Object.values(paths29),
9985
+ { ...texts31.right1, anchor: "middle_left" },
9986
+ { ...texts31.right2, anchor: "middle_left" }
9740
9987
  ],
9741
9988
  ports: [
9742
- { ...refblocks25.top1, labels: ["1"] },
9989
+ { ...refblocks29.top1, labels: ["1"] },
9743
9990
  // TODO add more "standard" labels
9744
- { ...refblocks25.bottom1, labels: ["2"] },
9991
+ { ...refblocks29.bottom1, labels: ["2"] },
9745
9992
  // TODO add more "standard" labels
9746
- { ...refblocks25.left1, labels: ["3"] }
9993
+ { ...refblocks29.left1, labels: ["3"] }
9747
9994
  // TODO add more "standard" labels
9748
9995
  ],
9749
- size: { width: bounds25.width + 0.4, height: bounds25.height },
9750
- center: { x: bounds25.centerX + 0.2, y: bounds25.centerY }
9996
+ size: { width: bounds29.width + 0.4, height: bounds29.height },
9997
+ center: { x: bounds29.centerX + 0.2, y: bounds29.centerY }
9751
9998
  });
9752
9999
 
9753
10000
  // symbols/mosfet_depletion_normally_on_vert.ts
@@ -10373,20 +10620,20 @@ var mushroom_head_normally_open_momentary_default = {
10373
10620
  };
10374
10621
 
10375
10622
  // symbols/mushroom_head_normally_open_momentary_horz.ts
10376
- var { paths: paths26, texts: texts28, bounds: bounds26, refblocks: refblocks26, circles: circles24 } = mushroom_head_normally_open_momentary_default;
10623
+ var { paths: paths30, texts: texts32, bounds: bounds30, refblocks: refblocks30, circles: circles28 } = mushroom_head_normally_open_momentary_default;
10377
10624
  var mushroom_head_normally_open_momentary_horz_default = defineSymbol({
10378
10625
  primitives: [
10379
- ...Object.values(paths26),
10380
- ...Object.values(circles24),
10381
- { ...texts28.top1, anchor: "middle_bottom", x: 0 },
10382
- { ...texts28.bottom1, anchor: "middle_top", x: 0 }
10626
+ ...Object.values(paths30),
10627
+ ...Object.values(circles28),
10628
+ { ...texts32.top1, anchor: "middle_bottom", x: 0 },
10629
+ { ...texts32.bottom1, anchor: "middle_top", x: 0 }
10383
10630
  ],
10384
10631
  ports: [
10385
- { ...refblocks26.left1, labels: ["1"] },
10386
- { ...refblocks26.right1, labels: ["2"] }
10632
+ { ...refblocks30.left1, labels: ["1"] },
10633
+ { ...refblocks30.right1, labels: ["2"] }
10387
10634
  ],
10388
- size: { width: bounds26.width, height: bounds26.height },
10389
- center: { x: bounds26.centerX + 6e-3, y: bounds26.centerY + 0.06 }
10635
+ size: { width: bounds30.width, height: bounds30.height },
10636
+ center: { x: bounds30.centerX + 6e-3, y: bounds30.centerY + 0.06 }
10390
10637
  });
10391
10638
 
10392
10639
  // symbols/mushroom_head_normally_open_momentary_vert.ts
@@ -10603,34 +10850,34 @@ var n_channel_d_mosfet_transistor_default = {
10603
10850
  };
10604
10851
 
10605
10852
  // symbols/n_channel_d_mosfet_transistor_horz.ts
10606
- var { paths: paths27, texts: texts29, bounds: bounds27, refblocks: refblocks27, circles: circles25 } = n_channel_d_mosfet_transistor_default;
10853
+ var { paths: paths31, texts: texts33, bounds: bounds31, refblocks: refblocks31, circles: circles29 } = n_channel_d_mosfet_transistor_default;
10607
10854
  var n_channel_d_mosfet_transistor_horz_default = defineSymbol({
10608
10855
  primitives: [
10609
- ...Object.values(paths27),
10610
- ...Object.values(circles25),
10611
- { ...texts29.top1, anchor: "middle_right", x: 0 },
10612
- { ...texts29.bottom1, anchor: "middle_right", x: 0 }
10856
+ ...Object.values(paths31),
10857
+ ...Object.values(circles29),
10858
+ { ...texts33.top1, anchor: "middle_right", x: 0 },
10859
+ { ...texts33.bottom1, anchor: "middle_right", x: 0 }
10613
10860
  ],
10614
10861
  ports: [
10615
- { ...refblocks27.top1, labels: ["1", "drain"] },
10862
+ { ...refblocks31.top1, labels: ["1", "drain"] },
10616
10863
  // TODO add more "standard" labels
10617
- { ...refblocks27.bottom1, labels: ["2", "source"] },
10864
+ { ...refblocks31.bottom1, labels: ["2", "source"] },
10618
10865
  // TODO add more "standard" labels
10619
- { ...refblocks27.left1, labels: ["3", "gate"] }
10866
+ { ...refblocks31.left1, labels: ["3", "gate"] }
10620
10867
  // TODO add more "standard" labels
10621
10868
  ],
10622
- size: { width: bounds27.width, height: bounds27.height },
10623
- center: { x: bounds27.centerX, y: bounds27.centerY }
10869
+ size: { width: bounds31.width, height: bounds31.height },
10870
+ center: { x: bounds31.centerX, y: bounds31.centerY }
10624
10871
  });
10625
10872
 
10626
10873
  // symbols/n_channel_d_mosfet_transistor_vert.ts
10627
10874
  var rotatedSymbol9 = rotateSymbol(n_channel_d_mosfet_transistor_horz_default);
10628
- var texts30 = rotatedSymbol9.primitives.filter((p) => p.type === "text");
10629
- var val20 = texts30.find((t) => t.text === "{VAL}");
10875
+ var texts34 = rotatedSymbol9.primitives.filter((p) => p.type === "text");
10876
+ var val20 = texts34.find((t) => t.text === "{VAL}");
10630
10877
  val20.x = -0.35;
10631
10878
  val20.y = 0;
10632
10879
  val20.anchor = "middle_right";
10633
- var ref21 = texts30.find((t) => t.text === "{REF}");
10880
+ var ref21 = texts34.find((t) => t.text === "{REF}");
10634
10881
  ref21.y = 0;
10635
10882
  ref21.x = 0.35;
10636
10883
  ref21.anchor = "middle_left";
@@ -10864,34 +11111,34 @@ var n_channel_e_mosfet_transistor_default = {
10864
11111
  };
10865
11112
 
10866
11113
  // symbols/n_channel_e_mosfet_transistor_horz.ts
10867
- var { paths: paths28, texts: texts31, bounds: bounds28, refblocks: refblocks28, circles: circles26 } = n_channel_e_mosfet_transistor_default;
11114
+ var { paths: paths32, texts: texts35, bounds: bounds32, refblocks: refblocks32, circles: circles30 } = n_channel_e_mosfet_transistor_default;
10868
11115
  var n_channel_e_mosfet_transistor_horz_default = defineSymbol({
10869
11116
  primitives: [
10870
- ...Object.values(paths28),
10871
- ...Object.values(circles26),
10872
- { ...texts31.top1, anchor: "middle_right", x: 0 },
10873
- { ...texts31.bottom1, anchor: "middle_right", x: 0 }
11117
+ ...Object.values(paths32),
11118
+ ...Object.values(circles30),
11119
+ { ...texts35.top1, anchor: "middle_right", x: 0 },
11120
+ { ...texts35.bottom1, anchor: "middle_right", x: 0 }
10874
11121
  ],
10875
11122
  ports: [
10876
- { ...refblocks28.top1, labels: ["1", "drain"] },
11123
+ { ...refblocks32.top1, labels: ["1", "drain"] },
10877
11124
  // TODO add more "standard" labels
10878
- { ...refblocks28.bottom1, labels: ["2", "source"] },
11125
+ { ...refblocks32.bottom1, labels: ["2", "source"] },
10879
11126
  // TODO add more "standard" labels
10880
- { ...refblocks28.left1, labels: ["3", "gate"] }
11127
+ { ...refblocks32.left1, labels: ["3", "gate"] }
10881
11128
  // TODO add more "standard" labels
10882
11129
  ],
10883
- size: { width: bounds28.width, height: bounds28.height },
10884
- center: { x: bounds28.centerX, y: bounds28.centerY }
11130
+ size: { width: bounds32.width, height: bounds32.height },
11131
+ center: { x: bounds32.centerX, y: bounds32.centerY }
10885
11132
  });
10886
11133
 
10887
11134
  // symbols/n_channel_e_mosfet_transistor_vert.ts
10888
11135
  var rotatedSymbol10 = rotateSymbol(n_channel_e_mosfet_transistor_horz_default);
10889
- var texts32 = rotatedSymbol10.primitives.filter((p) => p.type === "text");
10890
- var val21 = texts32.find((t) => t.text === "{VAL}");
11136
+ var texts36 = rotatedSymbol10.primitives.filter((p) => p.type === "text");
11137
+ var val21 = texts36.find((t) => t.text === "{VAL}");
10891
11138
  val21.x = -0.35;
10892
11139
  val21.y = 0;
10893
11140
  val21.anchor = "middle_right";
10894
- var ref22 = texts32.find((t) => t.text === "{REF}");
11141
+ var ref22 = texts36.find((t) => t.text === "{REF}");
10895
11142
  ref22.y = 0;
10896
11143
  ref22.x = 0.35;
10897
11144
  ref22.anchor = "middle_left";
@@ -11065,34 +11312,34 @@ var njfet_transistor_default = {
11065
11312
  };
11066
11313
 
11067
11314
  // symbols/njfet_transistor_horz.ts
11068
- var { paths: paths29, texts: texts33, bounds: bounds29, refblocks: refblocks29, circles: circles27 } = njfet_transistor_default;
11315
+ var { paths: paths33, texts: texts37, bounds: bounds33, refblocks: refblocks33, circles: circles31 } = njfet_transistor_default;
11069
11316
  var njfet_transistor_horz_default = defineSymbol({
11070
11317
  primitives: [
11071
- ...Object.values(paths29),
11072
- ...Object.values(circles27),
11073
- { ...texts33.top1, anchor: "middle_right", x: 0 },
11074
- { ...texts33.bottom1, anchor: "middle_right", x: 0 }
11318
+ ...Object.values(paths33),
11319
+ ...Object.values(circles31),
11320
+ { ...texts37.top1, anchor: "middle_right", x: 0 },
11321
+ { ...texts37.bottom1, anchor: "middle_right", x: 0 }
11075
11322
  ],
11076
11323
  ports: [
11077
- { ...refblocks29.top1, labels: ["1", "drain"] },
11324
+ { ...refblocks33.top1, labels: ["1", "drain"] },
11078
11325
  // TODO add more "standard" labels
11079
- { ...refblocks29.bottom1, labels: ["2", "source"] },
11326
+ { ...refblocks33.bottom1, labels: ["2", "source"] },
11080
11327
  // TODO add more "standard" labels
11081
- { ...refblocks29.left1, labels: ["3", "gate"] }
11328
+ { ...refblocks33.left1, labels: ["3", "gate"] }
11082
11329
  // TODO add more "standard" labels
11083
11330
  ],
11084
- size: { width: bounds29.width, height: bounds29.height },
11085
- center: { x: bounds29.centerX, y: bounds29.centerY }
11331
+ size: { width: bounds33.width, height: bounds33.height },
11332
+ center: { x: bounds33.centerX, y: bounds33.centerY }
11086
11333
  });
11087
11334
 
11088
11335
  // symbols/njfet_transistor_vert.ts
11089
11336
  var rotatedSymbol11 = rotateSymbol(njfet_transistor_horz_default);
11090
- var texts34 = rotatedSymbol11.primitives.filter((p) => p.type === "text");
11091
- var val22 = texts34.find((t) => t.text === "{VAL}");
11337
+ var texts38 = rotatedSymbol11.primitives.filter((p) => p.type === "text");
11338
+ var val22 = texts38.find((t) => t.text === "{VAL}");
11092
11339
  val22.x = -0.35;
11093
11340
  val22.y = 0;
11094
11341
  val22.anchor = "middle_right";
11095
- var ref23 = texts34.find((t) => t.text === "{REF}");
11342
+ var ref23 = texts38.find((t) => t.text === "{REF}");
11096
11343
  ref23.y = 0;
11097
11344
  ref23.x = 0.35;
11098
11345
  ref23.anchor = "middle_left";
@@ -11266,13 +11513,13 @@ var npn_bipolar_transistor_default = {
11266
11513
  };
11267
11514
 
11268
11515
  // symbols/npn_bipolar_transistor_horz.ts
11269
- var { paths: paths30, texts: texts35, bounds: bounds30, refblocks: refblocks30, circles: circles28 } = npn_bipolar_transistor_default;
11516
+ var { paths: paths34, texts: texts39, bounds: bounds34, refblocks: refblocks34, circles: circles32 } = npn_bipolar_transistor_default;
11270
11517
  var npn_bipolar_transistor_horz_default = modifySymbol(npn_bipolar_transistor_default).changeTextAnchor("{VAL}", "middle_right").labelPort("left1", ["3"]).labelPort("top1", ["1"]).labelPort("bottom1", ["2"]).changeTextAnchor("{REF}", "middle_right").build();
11271
11518
 
11272
11519
  // symbols/npn_bipolar_transistor_vert.ts
11273
11520
  var rotatedSymbol12 = rotateSymbol(npn_bipolar_transistor_horz_default);
11274
- var texts36 = rotatedSymbol12.primitives.filter((p) => p.type === "text");
11275
- var ref24 = texts36.find((t) => t.text === "{REF}");
11521
+ var texts40 = rotatedSymbol12.primitives.filter((p) => p.type === "text");
11522
+ var ref24 = texts40.find((t) => t.text === "{REF}");
11276
11523
  ref24.anchor = "middle_left";
11277
11524
  var npn_bipolar_transistor_vert_default = modifySymbol(npn_bipolar_transistor_default).rotateRightFacingSymbol("down").changeTextAnchor("{VAL}", "middle_right").labelPort("left1", ["3"]).labelPort("top1", ["1"]).labelPort("bottom1", ["2"]).changeTextAnchor("{REF}", "middle_left").build();
11278
11525
 
@@ -11896,34 +12143,34 @@ var p_channel_d_mosfet_transistor_default = {
11896
12143
  };
11897
12144
 
11898
12145
  // symbols/p_channel_d_mosfet_transistor_horz.ts
11899
- var { paths: paths31, texts: texts37, bounds: bounds31, refblocks: refblocks31, circles: circles29 } = p_channel_d_mosfet_transistor_default;
12146
+ var { paths: paths35, texts: texts41, bounds: bounds35, refblocks: refblocks35, circles: circles33 } = p_channel_d_mosfet_transistor_default;
11900
12147
  var p_channel_d_mosfet_transistor_horz_default = defineSymbol({
11901
12148
  primitives: [
11902
- ...Object.values(paths31),
11903
- ...Object.values(circles29),
11904
- { ...texts37.top1, anchor: "middle_right", x: 0 },
11905
- { ...texts37.bottom1, anchor: "middle_right", x: 0 }
12149
+ ...Object.values(paths35),
12150
+ ...Object.values(circles33),
12151
+ { ...texts41.top1, anchor: "middle_right", x: 0 },
12152
+ { ...texts41.bottom1, anchor: "middle_right", x: 0 }
11906
12153
  ],
11907
12154
  ports: [
11908
- { ...refblocks31.top1, labels: ["1", "drain"] },
12155
+ { ...refblocks35.top1, labels: ["1", "drain"] },
11909
12156
  // TODO add more "standard" labels
11910
- { ...refblocks31.bottom1, labels: ["2", "source"] },
12157
+ { ...refblocks35.bottom1, labels: ["2", "source"] },
11911
12158
  // TODO add more "standard" labels
11912
- { ...refblocks31.left1, labels: ["3", "gate"] }
12159
+ { ...refblocks35.left1, labels: ["3", "gate"] }
11913
12160
  // TODO add more "standard" labels
11914
12161
  ],
11915
- size: { width: bounds31.width, height: bounds31.height },
11916
- center: { x: bounds31.centerX, y: bounds31.centerY }
12162
+ size: { width: bounds35.width, height: bounds35.height },
12163
+ center: { x: bounds35.centerX, y: bounds35.centerY }
11917
12164
  });
11918
12165
 
11919
12166
  // symbols/p_channel_d_mosfet_transistor_vert.ts
11920
12167
  var rotatedSymbol13 = rotateSymbol(p_channel_d_mosfet_transistor_horz_default);
11921
- var texts38 = rotatedSymbol13.primitives.filter((p) => p.type === "text");
11922
- var val23 = texts38.find((t) => t.text === "{VAL}");
12168
+ var texts42 = rotatedSymbol13.primitives.filter((p) => p.type === "text");
12169
+ var val23 = texts42.find((t) => t.text === "{VAL}");
11923
12170
  val23.x = -0.35;
11924
12171
  val23.y = 0;
11925
12172
  val23.anchor = "middle_right";
11926
- var ref25 = texts38.find((t) => t.text === "{REF}");
12173
+ var ref25 = texts42.find((t) => t.text === "{REF}");
11927
12174
  ref25.y = 0;
11928
12175
  ref25.x = 0.35;
11929
12176
  ref25.anchor = "middle_left";
@@ -12157,34 +12404,34 @@ var p_channel_e_mosfet_transistor_default = {
12157
12404
  };
12158
12405
 
12159
12406
  // symbols/p_channel_e_mosfet_transistor_horz.ts
12160
- var { paths: paths32, texts: texts39, bounds: bounds32, refblocks: refblocks32, circles: circles30 } = p_channel_e_mosfet_transistor_default;
12407
+ var { paths: paths36, texts: texts43, bounds: bounds36, refblocks: refblocks36, circles: circles34 } = p_channel_e_mosfet_transistor_default;
12161
12408
  var p_channel_e_mosfet_transistor_horz_default = defineSymbol({
12162
12409
  primitives: [
12163
- ...Object.values(paths32),
12164
- ...Object.values(circles30),
12165
- { ...texts39.top1, anchor: "middle_right", x: 0 },
12166
- { ...texts39.bottom1, anchor: "middle_right", x: 0 }
12410
+ ...Object.values(paths36),
12411
+ ...Object.values(circles34),
12412
+ { ...texts43.top1, anchor: "middle_right", x: 0 },
12413
+ { ...texts43.bottom1, anchor: "middle_right", x: 0 }
12167
12414
  ],
12168
12415
  ports: [
12169
- { ...refblocks32.top1, labels: ["1", "drain"] },
12416
+ { ...refblocks36.top1, labels: ["1", "drain"] },
12170
12417
  // TODO add more "standard" labels
12171
- { ...refblocks32.bottom1, labels: ["2", "source"] },
12418
+ { ...refblocks36.bottom1, labels: ["2", "source"] },
12172
12419
  // TODO add more "standard" labels
12173
- { ...refblocks32.left1, labels: ["3", "gate"] }
12420
+ { ...refblocks36.left1, labels: ["3", "gate"] }
12174
12421
  // TODO add more "standard" labels
12175
12422
  ],
12176
- size: { width: bounds32.width, height: bounds32.height },
12177
- center: { x: bounds32.centerX, y: bounds32.centerY }
12423
+ size: { width: bounds36.width, height: bounds36.height },
12424
+ center: { x: bounds36.centerX, y: bounds36.centerY }
12178
12425
  });
12179
12426
 
12180
12427
  // symbols/p_channel_e_mosfet_transistor_vert.ts
12181
12428
  var rotatedSymbol14 = rotateSymbol(p_channel_e_mosfet_transistor_horz_default);
12182
- var texts40 = rotatedSymbol14.primitives.filter((p) => p.type === "text");
12183
- var val24 = texts40.find((t) => t.text === "{VAL}");
12429
+ var texts44 = rotatedSymbol14.primitives.filter((p) => p.type === "text");
12430
+ var val24 = texts44.find((t) => t.text === "{VAL}");
12184
12431
  val24.x = -0.35;
12185
12432
  val24.y = 0;
12186
12433
  val24.anchor = "middle_right";
12187
- var ref26 = texts40.find((t) => t.text === "{REF}");
12434
+ var ref26 = texts44.find((t) => t.text === "{REF}");
12188
12435
  ref26.y = 0;
12189
12436
  ref26.x = 0.35;
12190
12437
  ref26.anchor = "middle_left";
@@ -12419,8 +12666,8 @@ var photodiode_horz_default = modifySymbol(photodiode_default).changeTextAnchor(
12419
12666
 
12420
12667
  // symbols/photodiode_vert.ts
12421
12668
  var rotatedSymbol15 = rotateSymbol(photodiode_horz_default);
12422
- var texts41 = rotatedSymbol15.primitives.filter((p) => p.type === "text");
12423
- var ref27 = texts41.find((t) => t.text === "{REF}");
12669
+ var texts45 = rotatedSymbol15.primitives.filter((p) => p.type === "text");
12670
+ var ref27 = texts45.find((t) => t.text === "{REF}");
12424
12671
  ref27.y = 0;
12425
12672
  ref27.anchor = "middle_left";
12426
12673
  var photodiode_vert_default = rotatedSymbol15;
@@ -12593,34 +12840,34 @@ var pjfet_transistor_default = {
12593
12840
  };
12594
12841
 
12595
12842
  // symbols/pjfet_transistor_horz.ts
12596
- var { paths: paths33, texts: texts42, bounds: bounds33, refblocks: refblocks33, circles: circles31 } = pjfet_transistor_default;
12843
+ var { paths: paths37, texts: texts46, bounds: bounds37, refblocks: refblocks37, circles: circles35 } = pjfet_transistor_default;
12597
12844
  var pjfet_transistor_horz_default = defineSymbol({
12598
12845
  primitives: [
12599
- ...Object.values(paths33),
12600
- ...Object.values(circles31),
12601
- { ...texts42.top1, anchor: "middle_right", x: 0 },
12602
- { ...texts42.bottom1, anchor: "middle_right" }
12846
+ ...Object.values(paths37),
12847
+ ...Object.values(circles35),
12848
+ { ...texts46.top1, anchor: "middle_right", x: 0 },
12849
+ { ...texts46.bottom1, anchor: "middle_right" }
12603
12850
  ],
12604
12851
  ports: [
12605
- { ...refblocks33.top1, labels: ["1", "drain"] },
12852
+ { ...refblocks37.top1, labels: ["1", "drain"] },
12606
12853
  // TODO add more "standard" labels
12607
- { ...refblocks33.bottom1, labels: ["2", "source"] },
12854
+ { ...refblocks37.bottom1, labels: ["2", "source"] },
12608
12855
  // TODO add more "standard" labels
12609
- { ...refblocks33.left1, labels: ["3", "gate"] }
12856
+ { ...refblocks37.left1, labels: ["3", "gate"] }
12610
12857
  // TODO add more "standard" labels
12611
12858
  ],
12612
- size: { width: bounds33.width, height: bounds33.height },
12613
- center: { x: bounds33.centerX, y: bounds33.centerY }
12859
+ size: { width: bounds37.width, height: bounds37.height },
12860
+ center: { x: bounds37.centerX, y: bounds37.centerY }
12614
12861
  });
12615
12862
 
12616
12863
  // symbols/pjfet_transistor_vert.ts
12617
12864
  var rotatedSymbol16 = rotateSymbol(pjfet_transistor_horz_default);
12618
- var texts43 = rotatedSymbol16.primitives.filter((p) => p.type === "text");
12619
- var val25 = texts43.find((t) => t.text === "{VAL}");
12865
+ var texts47 = rotatedSymbol16.primitives.filter((p) => p.type === "text");
12866
+ var val25 = texts47.find((t) => t.text === "{VAL}");
12620
12867
  val25.x = -0.35;
12621
12868
  val25.y = 0;
12622
12869
  val25.anchor = "middle_right";
12623
- var ref28 = texts43.find((t) => t.text === "{REF}");
12870
+ var ref28 = texts47.find((t) => t.text === "{REF}");
12624
12871
  ref28.y = 0;
12625
12872
  ref28.x = 0.35;
12626
12873
  ref28.anchor = "middle_left";
@@ -12798,8 +13045,8 @@ var pnp_bipolar_transistor_horz_default = modifySymbol(pnp_bipolar_transistor_de
12798
13045
 
12799
13046
  // symbols/pnp_bipolar_transistor_vert.ts
12800
13047
  var rotatedSymbol17 = rotateSymbol(pnp_bipolar_transistor_horz_default);
12801
- var texts44 = rotatedSymbol17.primitives.filter((p) => p.type === "text");
12802
- var ref29 = texts44.find((t) => t.text === "{REF}");
13048
+ var texts48 = rotatedSymbol17.primitives.filter((p) => p.type === "text");
13049
+ var ref29 = texts48.find((t) => t.text === "{REF}");
12803
13050
  ref29.anchor = "middle_left";
12804
13051
  var pnp_bipolar_transistor_vert_default = modifySymbol(pnp_bipolar_transistor_default).rotateRightFacingSymbol("down").changeTextAnchor("{VAL}", "middle_right").labelPort("left1", ["3"]).labelPort("bottom1", ["2"]).labelPort("top1", ["1"]).changeTextAnchor("{REF}", "middle_left").build();
12805
13052
 
@@ -13213,21 +13460,21 @@ var potentiometer_default = {
13213
13460
  };
13214
13461
 
13215
13462
  // symbols/potentiometer_horz.ts
13216
- var { paths: paths34, texts: texts45, bounds: bounds34, refblocks: refblocks34 } = potentiometer_default;
13463
+ var { paths: paths38, texts: texts49, bounds: bounds38, refblocks: refblocks38 } = potentiometer_default;
13217
13464
  var potentiometer_horz_default = defineSymbol({
13218
13465
  primitives: [
13219
- ...Object.values(paths34),
13220
- { ...texts45.bottom1, y: 0.35, anchor: "middle_top" },
13221
- { ...texts45.top1, anchor: "middle_left" }
13466
+ ...Object.values(paths38),
13467
+ { ...texts49.bottom1, y: 0.35, anchor: "middle_top" },
13468
+ { ...texts49.top1, anchor: "middle_left" }
13222
13469
  ],
13223
13470
  ports: [
13224
- { ...refblocks34.left1, labels: ["1"] },
13471
+ { ...refblocks38.left1, labels: ["1"] },
13225
13472
  // TODO add more "standard" labels
13226
- { ...refblocks34.right1, labels: ["2"] }
13473
+ { ...refblocks38.right1, labels: ["2"] }
13227
13474
  // TODO add more "standard" labels
13228
13475
  ],
13229
- size: { width: bounds34.width + 0.05, height: bounds34.height },
13230
- center: { x: bounds34.centerX, y: bounds34.centerY }
13476
+ size: { width: bounds38.width + 0.05, height: bounds38.height },
13477
+ center: { x: bounds38.centerX, y: bounds38.centerY }
13231
13478
  });
13232
13479
 
13233
13480
  // symbols/potentiometer_vert.ts
@@ -13390,29 +13637,29 @@ var potentiometer2_default = {
13390
13637
  };
13391
13638
 
13392
13639
  // symbols/potentiometer2_horz.ts
13393
- var { paths: paths35, texts: texts46, bounds: bounds35, refblocks: refblocks35 } = potentiometer2_default;
13640
+ var { paths: paths39, texts: texts50, bounds: bounds39, refblocks: refblocks39 } = potentiometer2_default;
13394
13641
  var potentiometer2_horz_default = defineSymbol({
13395
13642
  primitives: [
13396
- ...Object.values(paths35),
13397
- { ...texts46.bottom1, anchor: "middle_top" },
13398
- { ...texts46.top1, anchor: "middle_bottom" }
13643
+ ...Object.values(paths39),
13644
+ { ...texts50.bottom1, anchor: "middle_top" },
13645
+ { ...texts50.top1, anchor: "middle_bottom" }
13399
13646
  ],
13400
13647
  ports: [
13401
- { ...refblocks35.left1, labels: ["1"] },
13648
+ { ...refblocks39.left1, labels: ["1"] },
13402
13649
  // TODO add more "standard" labels
13403
- { ...refblocks35.right1, labels: ["2"] }
13650
+ { ...refblocks39.right1, labels: ["2"] }
13404
13651
  // TODO add more "standard" labels
13405
13652
  ],
13406
- size: { width: bounds35.width, height: bounds35.height },
13407
- center: { x: bounds35.centerX, y: bounds35.centerY }
13653
+ size: { width: bounds39.width, height: bounds39.height },
13654
+ center: { x: bounds39.centerX, y: bounds39.centerY }
13408
13655
  });
13409
13656
 
13410
13657
  // symbols/potentiometer2_vert.ts
13411
13658
  var rotated19 = rotateSymbol(potentiometer2_horz_default);
13412
- var texts47 = rotated19.primitives.filter((p) => p.type === "text");
13413
- var val26 = texts47.find((t) => t.text === "{VAL}");
13659
+ var texts51 = rotated19.primitives.filter((p) => p.type === "text");
13660
+ var val26 = texts51.find((t) => t.text === "{VAL}");
13414
13661
  val26.anchor = "middle_right";
13415
- var ref30 = texts47.find((t) => t.text === "{REF}");
13662
+ var ref30 = texts51.find((t) => t.text === "{REF}");
13416
13663
  ref30.anchor = "middle_left";
13417
13664
  var potentiometer2_vert_default = rotated19;
13418
13665
 
@@ -13610,11 +13857,11 @@ var power_factor_meter_default = {
13610
13857
  };
13611
13858
 
13612
13859
  // symbols/power_factor_meter_horz.ts
13613
- var { paths: paths36, texts: texts48, bounds: bounds36, refblocks: refblocks36, circles: circles32 } = power_factor_meter_default;
13860
+ var { paths: paths40, texts: texts52, bounds: bounds40, refblocks: refblocks40, circles: circles36 } = power_factor_meter_default;
13614
13861
  var power_factor_meter_horz_default = defineSymbol({
13615
13862
  primitives: [
13616
- ...Object.values(paths36),
13617
- ...Object.values(circles32),
13863
+ ...Object.values(paths40),
13864
+ ...Object.values(circles36),
13618
13865
  // { ...texts.top1, anchor: "middle_left" },
13619
13866
  {
13620
13867
  type: "text",
@@ -13641,21 +13888,21 @@ var power_factor_meter_horz_default = defineSymbol({
13641
13888
  }
13642
13889
  ],
13643
13890
  ports: [
13644
- { ...refblocks36.left1, labels: ["1"] },
13891
+ { ...refblocks40.left1, labels: ["1"] },
13645
13892
  // TODO add more "standard" labels
13646
- { ...refblocks36.right1, labels: ["2"] }
13893
+ { ...refblocks40.right1, labels: ["2"] }
13647
13894
  // TODO add more "standard" labels
13648
13895
  ],
13649
- size: { width: bounds36.width, height: bounds36.height },
13650
- center: { x: bounds36.centerX, y: bounds36.centerY }
13896
+ size: { width: bounds40.width, height: bounds40.height },
13897
+ center: { x: bounds40.centerX, y: bounds40.centerY }
13651
13898
  });
13652
13899
 
13653
13900
  // symbols/power_factor_meter_vert.ts
13654
13901
  var rotatedSymbol18 = rotateSymbol(power_factor_meter_horz_default);
13655
- var texts49 = rotatedSymbol18.primitives.filter((p) => p.type === "text");
13656
- var ref31 = texts49.find((t) => t.text === "{REF}");
13657
- var val27 = texts49.find((t) => t.text === "{VAL}");
13658
- var text_cos = texts49.find((t) => t.text === "COS \u03C6");
13902
+ var texts53 = rotatedSymbol18.primitives.filter((p) => p.type === "text");
13903
+ var ref31 = texts53.find((t) => t.text === "{REF}");
13904
+ var val27 = texts53.find((t) => t.text === "{VAL}");
13905
+ var text_cos = texts53.find((t) => t.text === "COS \u03C6");
13659
13906
  ref31.x = 0.35;
13660
13907
  ref31.y = 0;
13661
13908
  ref31.anchor = "middle_left";
@@ -13786,22 +14033,22 @@ var push_button_normally_closed_momentary_default = {
13786
14033
  };
13787
14034
 
13788
14035
  // symbols/push_button_normally_closed_momentary_horz.ts
13789
- var { paths: paths37, texts: texts50, bounds: bounds37, refblocks: refblocks37, circles: circles33 } = push_button_normally_closed_momentary_default;
14036
+ var { paths: paths41, texts: texts54, bounds: bounds41, refblocks: refblocks41, circles: circles37 } = push_button_normally_closed_momentary_default;
13790
14037
  var push_button_normally_closed_momentary_horz_default = defineSymbol({
13791
14038
  primitives: [
13792
- ...Object.values(paths37),
13793
- ...Object.values(circles33),
13794
- { ...texts50.top1, anchor: "middle_left" },
13795
- { ...texts50.bottom1, anchor: "middle_left" }
14039
+ ...Object.values(paths41),
14040
+ ...Object.values(circles37),
14041
+ { ...texts54.top1, anchor: "middle_left" },
14042
+ { ...texts54.bottom1, anchor: "middle_left" }
13796
14043
  ],
13797
14044
  ports: [
13798
- { ...refblocks37.left1, labels: ["1"] },
14045
+ { ...refblocks41.left1, labels: ["1"] },
13799
14046
  // TODO add more "standard" labels
13800
- { ...refblocks37.right1, labels: ["2"] }
14047
+ { ...refblocks41.right1, labels: ["2"] }
13801
14048
  // TODO add more "standard" labels
13802
14049
  ],
13803
- size: { width: bounds37.width, height: bounds37.height },
13804
- center: { x: bounds37.centerX, y: bounds37.centerY }
14050
+ size: { width: bounds41.width, height: bounds41.height },
14051
+ center: { x: bounds41.centerX, y: bounds41.centerY }
13805
14052
  });
13806
14053
 
13807
14054
  // symbols/push_button_normally_closed_momentary_vert.ts
@@ -13956,22 +14203,22 @@ var push_button_normally_open_momentary_default = {
13956
14203
  };
13957
14204
 
13958
14205
  // symbols/push_button_normally_open_momentary_horz.ts
13959
- var { paths: paths38, texts: texts51, bounds: bounds38, refblocks: refblocks38, circles: circles34 } = push_button_normally_open_momentary_default;
14206
+ var { paths: paths42, texts: texts55, bounds: bounds42, refblocks: refblocks42, circles: circles38 } = push_button_normally_open_momentary_default;
13960
14207
  var push_button_normally_open_momentary_horz_default = defineSymbol({
13961
14208
  primitives: [
13962
- ...Object.values(paths38),
13963
- ...Object.values(circles34),
13964
- { ...texts51.top1, anchor: "middle_left" },
13965
- { ...texts51.bottom1, anchor: "middle_left" }
14209
+ ...Object.values(paths42),
14210
+ ...Object.values(circles38),
14211
+ { ...texts55.top1, anchor: "middle_left" },
14212
+ { ...texts55.bottom1, anchor: "middle_left" }
13966
14213
  ],
13967
14214
  ports: [
13968
- { ...refblocks38.left1, labels: ["1"] },
14215
+ { ...refblocks42.left1, labels: ["1"] },
13969
14216
  // TODO add more "standard" labels
13970
- { ...refblocks38.right1, labels: ["2"] }
14217
+ { ...refblocks42.right1, labels: ["2"] }
13971
14218
  // TODO add more "standard" labels
13972
14219
  ],
13973
- size: { width: bounds38.width, height: bounds38.height },
13974
- center: { x: bounds38.centerX, y: bounds38.centerY }
14220
+ size: { width: bounds42.width, height: bounds42.height },
14221
+ center: { x: bounds42.centerX, y: bounds42.centerY }
13975
14222
  });
13976
14223
 
13977
14224
  // symbols/push_button_normally_open_momentary_vert.ts
@@ -14387,26 +14634,26 @@ var rectifier_diode_default = {
14387
14634
  };
14388
14635
 
14389
14636
  // symbols/rectifier_diode_horz.ts
14390
- var { paths: paths39, texts: texts52, bounds: bounds39, refblocks: refblocks39, circles: circles35 } = rectifier_diode_default;
14637
+ var { paths: paths43, texts: texts56, bounds: bounds43, refblocks: refblocks43, circles: circles39 } = rectifier_diode_default;
14391
14638
  var rectifier_diode_horz_default = defineSymbol({
14392
14639
  primitives: [
14393
- ...Object.values(paths39),
14394
- ...Object.values(circles35),
14395
- { ...texts52.top1, anchor: "middle_right" },
14396
- { ...texts52.bottom1, anchor: "middle_right" }
14640
+ ...Object.values(paths43),
14641
+ ...Object.values(circles39),
14642
+ { ...texts56.top1, anchor: "middle_right" },
14643
+ { ...texts56.bottom1, anchor: "middle_right" }
14397
14644
  ],
14398
14645
  ports: [
14399
- { ...refblocks39.top1, labels: ["1"] },
14646
+ { ...refblocks43.top1, labels: ["1"] },
14400
14647
  // TODO add more "standard" labels
14401
- { ...refblocks39.bottom1, labels: ["2"] },
14648
+ { ...refblocks43.bottom1, labels: ["2"] },
14402
14649
  // TODO add more "standard" labels
14403
- { ...refblocks39.left1, labels: ["3"] },
14650
+ { ...refblocks43.left1, labels: ["3"] },
14404
14651
  // TODO add more "standard" labels
14405
- { ...refblocks39.right1, labels: ["4"] }
14652
+ { ...refblocks43.right1, labels: ["4"] }
14406
14653
  // TODO add more "standard" labels
14407
14654
  ],
14408
- size: { width: bounds39.width, height: bounds39.height },
14409
- center: { x: bounds39.centerX, y: bounds39.centerY }
14655
+ size: { width: bounds43.width, height: bounds43.height },
14656
+ center: { x: bounds43.centerX, y: bounds43.centerY }
14410
14657
  });
14411
14658
 
14412
14659
  // symbols/rectifier_diode_vert.ts
@@ -14628,11 +14875,11 @@ var resistor_default = {
14628
14875
  };
14629
14876
 
14630
14877
  // symbols/resistor_down.ts
14631
- var { paths: paths40, texts: texts53, bounds: bounds40, refblocks: refblocks40, circles: circles36 } = resistor_default;
14878
+ var { paths: paths44, texts: texts57, bounds: bounds44, refblocks: refblocks44, circles: circles40 } = resistor_default;
14632
14879
  var resistor_down_default = modifySymbol({
14633
14880
  primitives: [
14634
- ...Object.values(paths40),
14635
- ...Object.values(circles36),
14881
+ ...Object.values(paths44),
14882
+ ...Object.values(circles40),
14636
14883
  {
14637
14884
  type: "text",
14638
14885
  text: "{REF}",
@@ -14647,21 +14894,21 @@ var resistor_down_default = modifySymbol({
14647
14894
  }
14648
14895
  ],
14649
14896
  ports: [
14650
- { ...refblocks40.left1, labels: ["1"] },
14897
+ { ...refblocks44.left1, labels: ["1"] },
14651
14898
  // TODO add more "standard" labels
14652
- { ...refblocks40.right1, labels: ["2"] }
14899
+ { ...refblocks44.right1, labels: ["2"] }
14653
14900
  // TODO add more "standard" labels
14654
14901
  ],
14655
- size: { width: bounds40.width, height: bounds40.height },
14656
- center: { x: bounds40.centerX, y: bounds40.centerY }
14902
+ size: { width: bounds44.width, height: bounds44.height },
14903
+ center: { x: bounds44.centerX, y: bounds44.centerY }
14657
14904
  }).rotateRightFacingSymbol("down").labelPort("left", ["1"]).labelPort("right", ["2"]).changeTextAnchor("{REF}", "middle_left").changeTextAnchor("{VAL}", "middle_left").build();
14658
14905
 
14659
14906
  // symbols/resistor_left.ts
14660
- var { paths: paths41, texts: texts54, bounds: bounds41, refblocks: refblocks41, circles: circles37 } = resistor_default;
14907
+ var { paths: paths45, texts: texts58, bounds: bounds45, refblocks: refblocks45, circles: circles41 } = resistor_default;
14661
14908
  var resistor_left_default = modifySymbol({
14662
14909
  primitives: [
14663
- ...Object.values(paths41),
14664
- ...Object.values(circles37),
14910
+ ...Object.values(paths45),
14911
+ ...Object.values(circles41),
14665
14912
  {
14666
14913
  type: "text",
14667
14914
  text: "{REF}",
@@ -14676,21 +14923,21 @@ var resistor_left_default = modifySymbol({
14676
14923
  }
14677
14924
  ],
14678
14925
  ports: [
14679
- { ...refblocks41.left1, labels: ["1"] },
14926
+ { ...refblocks45.left1, labels: ["1"] },
14680
14927
  // TODO add more "standard" labels
14681
- { ...refblocks41.right1, labels: ["2"] }
14928
+ { ...refblocks45.right1, labels: ["2"] }
14682
14929
  // TODO add more "standard" labels
14683
14930
  ],
14684
- size: { width: bounds41.width, height: bounds41.height },
14685
- center: { x: bounds41.centerX, y: bounds41.centerY }
14931
+ size: { width: bounds45.width, height: bounds45.height },
14932
+ center: { x: bounds45.centerX, y: bounds45.centerY }
14686
14933
  }).rotateRightFacingSymbol("left").labelPort("left", ["1"]).labelPort("right", ["2"]).changeTextAnchor("{REF}", "middle_bottom").changeTextAnchor("{VAL}", "middle_top").build();
14687
14934
 
14688
14935
  // symbols/resistor_right.ts
14689
- var { paths: paths42, texts: texts55, bounds: bounds42, refblocks: refblocks42, circles: circles38 } = resistor_default;
14936
+ var { paths: paths46, texts: texts59, bounds: bounds46, refblocks: refblocks46, circles: circles42 } = resistor_default;
14690
14937
  var resistor_right_default = modifySymbol({
14691
14938
  primitives: [
14692
- ...Object.values(paths42),
14693
- ...Object.values(circles38),
14939
+ ...Object.values(paths46),
14940
+ ...Object.values(circles42),
14694
14941
  {
14695
14942
  type: "text",
14696
14943
  text: "{REF}",
@@ -14705,21 +14952,21 @@ var resistor_right_default = modifySymbol({
14705
14952
  }
14706
14953
  ],
14707
14954
  ports: [
14708
- { ...refblocks42.left1, labels: ["1"] },
14955
+ { ...refblocks46.left1, labels: ["1"] },
14709
14956
  // TODO add more "standard" labels
14710
- { ...refblocks42.right1, labels: ["2"] }
14957
+ { ...refblocks46.right1, labels: ["2"] }
14711
14958
  // TODO add more "standard" labels
14712
14959
  ],
14713
- size: { width: bounds42.width, height: bounds42.height },
14714
- center: { x: bounds42.centerX, y: bounds42.centerY }
14960
+ size: { width: bounds46.width, height: bounds46.height },
14961
+ center: { x: bounds46.centerX, y: bounds46.centerY }
14715
14962
  }).rotateRightFacingSymbol("right").labelPort("left", ["1"]).labelPort("right", ["2"]).changeTextAnchor("{REF}", "middle_bottom").changeTextAnchor("{VAL}", "middle_top").build();
14716
14963
 
14717
14964
  // symbols/resistor_up.ts
14718
- var { paths: paths43, texts: texts56, bounds: bounds43, refblocks: refblocks43, circles: circles39 } = resistor_default;
14965
+ var { paths: paths47, texts: texts60, bounds: bounds47, refblocks: refblocks47, circles: circles43 } = resistor_default;
14719
14966
  var resistor_up_default = modifySymbol({
14720
14967
  primitives: [
14721
- ...Object.values(paths43),
14722
- ...Object.values(circles39),
14968
+ ...Object.values(paths47),
14969
+ ...Object.values(circles43),
14723
14970
  {
14724
14971
  type: "text",
14725
14972
  text: "{REF}",
@@ -14734,13 +14981,13 @@ var resistor_up_default = modifySymbol({
14734
14981
  }
14735
14982
  ],
14736
14983
  ports: [
14737
- { ...refblocks43.left1, labels: ["1"] },
14984
+ { ...refblocks47.left1, labels: ["1"] },
14738
14985
  // TODO add more "standard" labels
14739
- { ...refblocks43.right1, labels: ["2"] }
14986
+ { ...refblocks47.right1, labels: ["2"] }
14740
14987
  // TODO add more "standard" labels
14741
14988
  ],
14742
- size: { width: bounds43.width, height: bounds43.height },
14743
- center: { x: bounds43.centerX, y: bounds43.centerY }
14989
+ size: { width: bounds47.width, height: bounds47.height },
14990
+ center: { x: bounds47.centerX, y: bounds47.centerY }
14744
14991
  }).rotateRightFacingSymbol("up").labelPort("left", ["1"]).labelPort("right", ["2"]).changeTextAnchor("{REF}", "middle_left").changeTextAnchor("{VAL}", "middle_left").build();
14745
14992
 
14746
14993
  // assets/generated/resonator.json
@@ -15089,11 +15336,11 @@ var resonator_default = {
15089
15336
  };
15090
15337
 
15091
15338
  // symbols/resonator_horz.ts
15092
- var { paths: paths44, texts: texts57, bounds: bounds44, refblocks: refblocks44, circles: circles40 } = resonator_default;
15339
+ var { paths: paths48, texts: texts61, bounds: bounds48, refblocks: refblocks48, circles: circles44 } = resonator_default;
15093
15340
  var resonator_horz_default = defineSymbol({
15094
15341
  primitives: [
15095
- ...Object.values(paths44),
15096
- ...Object.values(circles40),
15342
+ ...Object.values(paths48),
15343
+ ...Object.values(circles44),
15097
15344
  // { ...texts.top1, anchor: "middle_left" },
15098
15345
  // { ...texts.bottom1, anchor: "middle_left" },
15099
15346
  {
@@ -15112,15 +15359,15 @@ var resonator_horz_default = defineSymbol({
15112
15359
  }
15113
15360
  ],
15114
15361
  ports: [
15115
- { ...refblocks44.left1, labels: ["1"] },
15362
+ { ...refblocks48.left1, labels: ["1"] },
15116
15363
  // TODO add more "standard" labels
15117
- { ...refblocks44.right1, labels: ["2"] },
15364
+ { ...refblocks48.right1, labels: ["2"] },
15118
15365
  // TODO add more "standard" labels
15119
- { ...refblocks44.right2, labels: ["3"] }
15366
+ { ...refblocks48.right2, labels: ["3"] }
15120
15367
  // TODO add more "standard" labels
15121
15368
  ],
15122
- size: { width: bounds44.width, height: bounds44.height },
15123
- center: { x: bounds44.centerX, y: bounds44.centerY }
15369
+ size: { width: bounds48.width, height: bounds48.height },
15370
+ center: { x: bounds48.centerX, y: bounds48.centerY }
15124
15371
  });
15125
15372
 
15126
15373
  // symbols/resonator_vert.ts
@@ -15476,15 +15723,15 @@ var silicon_controlled_rectifier_default = {
15476
15723
  };
15477
15724
 
15478
15725
  // symbols/silicon_controlled_rectifier_horz.ts
15479
- var { paths: paths45, texts: texts58, bounds: bounds45, refblocks: refblocks45, circles: circles41 } = silicon_controlled_rectifier_default;
15726
+ var { paths: paths49, texts: texts62, bounds: bounds49, refblocks: refblocks49, circles: circles45 } = silicon_controlled_rectifier_default;
15480
15727
  var silicon_controlled_rectifier_horz_default = modifySymbol(silicon_controlled_rectifier_default).changeTextAnchor("{VAL}", "middle_top").labelPort("left1", ["1"]).labelPort("right1", ["2"]).labelPort("bottom1", ["3"]).changeTextAnchor("{REF}", "middle_bottom").build();
15481
15728
 
15482
15729
  // symbols/silicon_controlled_rectifier_vert.ts
15483
15730
  var rotatedSymbol19 = rotateSymbol(silicon_controlled_rectifier_horz_default);
15484
- var texts59 = rotatedSymbol19.primitives.filter(
15731
+ var texts63 = rotatedSymbol19.primitives.filter(
15485
15732
  (primitive) => primitive.type === "text"
15486
15733
  );
15487
- var ref34 = texts59.find((text) => text.text === "{REF}");
15734
+ var ref34 = texts63.find((text) => text.text === "{REF}");
15488
15735
  ref34.y = 0;
15489
15736
  ref34.anchor = "middle_left";
15490
15737
  var silicon_controlled_rectifier_vert_default = rotatedSymbol19;
@@ -19044,7 +19291,7 @@ var step_recovery_diode_default = {
19044
19291
  };
19045
19292
 
19046
19293
  // symbols/step_recovery_diode_horz.ts
19047
- var { paths: paths46, texts: texts60, bounds: bounds46, refblocks: refblocks46, circles: circles42 } = step_recovery_diode_default;
19294
+ var { paths: paths50, texts: texts64, bounds: bounds50, refblocks: refblocks50, circles: circles46 } = step_recovery_diode_default;
19048
19295
  var step_recovery_diode_horz_default = modifySymbol(step_recovery_diode_default).changeTextAnchor("{VAL}", "middle_top").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_bottom").build();
19049
19296
 
19050
19297
  // symbols/step_recovery_diode_vert.ts
@@ -19137,11 +19384,11 @@ var tachometer_default = {
19137
19384
  };
19138
19385
 
19139
19386
  // symbols/tachometer_horz.ts
19140
- var { paths: paths47, texts: texts61, bounds: bounds47, refblocks: refblocks47, circles: circles43 } = tachometer_default;
19387
+ var { paths: paths51, texts: texts65, bounds: bounds51, refblocks: refblocks51, circles: circles47 } = tachometer_default;
19141
19388
  var tachometer_horz_default = defineSymbol({
19142
19389
  primitives: [
19143
- ...Object.values(paths47),
19144
- ...Object.values(circles43),
19390
+ ...Object.values(paths51),
19391
+ ...Object.values(circles47),
19145
19392
  {
19146
19393
  type: "text",
19147
19394
  text: "{REF}",
@@ -19156,16 +19403,16 @@ var tachometer_horz_default = defineSymbol({
19156
19403
  y: 0.35,
19157
19404
  anchor: "middle_bottom"
19158
19405
  },
19159
- { ...texts61.left1, y: 0.01, anchor: "center", fontSize: 0.2 }
19406
+ { ...texts65.left1, y: 0.01, anchor: "center", fontSize: 0.2 }
19160
19407
  ],
19161
19408
  ports: [
19162
- { ...refblocks47.left1, labels: ["1"] },
19409
+ { ...refblocks51.left1, labels: ["1"] },
19163
19410
  // TODO add more "standard" labels
19164
- { ...refblocks47.right1, labels: ["2"] }
19411
+ { ...refblocks51.right1, labels: ["2"] }
19165
19412
  // TODO add more "standard" labels
19166
19413
  ],
19167
- size: { width: bounds47.width, height: bounds47.height },
19168
- center: { x: bounds47.centerX, y: bounds47.centerY }
19414
+ size: { width: bounds51.width, height: bounds51.height },
19415
+ center: { x: bounds51.centerX, y: bounds51.centerY }
19169
19416
  });
19170
19417
 
19171
19418
  // symbols/tachometer_vert.ts
@@ -19536,16 +19783,16 @@ var triac_default = {
19536
19783
  };
19537
19784
 
19538
19785
  // symbols/triac_horz.ts
19539
- var { paths: paths48, texts: texts62, bounds: bounds48, refblocks: refblocks48, circles: circles44 } = triac_default;
19786
+ var { paths: paths52, texts: texts66, bounds: bounds52, refblocks: refblocks52, circles: circles48 } = triac_default;
19540
19787
  var triac_horz_default = modifySymbol(triac_default).changeTextAnchor("{VAL}", "middle_top").labelPort("left1", ["1"]).labelPort("right1", ["2"]).labelPort("bottom1", ["3"]).changeTextAnchor("{REF}", "middle_bottom").build();
19541
19788
 
19542
19789
  // symbols/triac_vert.ts
19543
19790
  var rotatedSymbol21 = rotateSymbol(triac_horz_default);
19544
- var texts63 = rotatedSymbol21.primitives.filter(
19791
+ var texts67 = rotatedSymbol21.primitives.filter(
19545
19792
  (primitive) => primitive.type === "text"
19546
19793
  );
19547
- var ref50 = texts63.find((text) => text.text === "{REF}");
19548
- var val45 = texts63.find((text) => text.text === "{VAL}");
19794
+ var ref50 = texts67.find((text) => text.text === "{REF}");
19795
+ var val45 = texts67.find((text) => text.text === "{VAL}");
19549
19796
  ref50.y = 0;
19550
19797
  val45.y = 0;
19551
19798
  var triac_vert_default = rotatedSymbol21;
@@ -19712,22 +19959,22 @@ var tunnel_diode_default = {
19712
19959
  };
19713
19960
 
19714
19961
  // symbols/tunnel_diode_horz.ts
19715
- var { paths: paths49, texts: texts64, bounds: bounds49, refblocks: refblocks49, circles: circles45 } = tunnel_diode_default;
19962
+ var { paths: paths53, texts: texts68, bounds: bounds53, refblocks: refblocks53, circles: circles49 } = tunnel_diode_default;
19716
19963
  var tunnel_diode_horz_default = defineSymbol({
19717
19964
  primitives: [
19718
- ...Object.values(paths49),
19719
- ...Object.values(circles45),
19720
- { ...texts64.top1, anchor: "middle_bottom" },
19721
- { ...texts64.bottom1, anchor: "middle_top" }
19965
+ ...Object.values(paths53),
19966
+ ...Object.values(circles49),
19967
+ { ...texts68.top1, anchor: "middle_bottom" },
19968
+ { ...texts68.bottom1, anchor: "middle_top" }
19722
19969
  ],
19723
19970
  ports: [
19724
- { ...refblocks49.left1, labels: ["1"] },
19971
+ { ...refblocks53.left1, labels: ["1"] },
19725
19972
  // TODO add more "standard" labels
19726
- { ...refblocks49.right1, labels: ["2"] }
19973
+ { ...refblocks53.right1, labels: ["2"] }
19727
19974
  // TODO add more "standard" labels
19728
19975
  ],
19729
- size: { width: bounds49.width, height: bounds49.height },
19730
- center: { x: bounds49.centerX, y: bounds49.centerY }
19976
+ size: { width: bounds53.width, height: bounds53.height },
19977
+ center: { x: bounds53.centerX, y: bounds53.centerY }
19731
19978
  });
19732
19979
 
19733
19980
  // symbols/tunnel_diode_vert.ts
@@ -19910,34 +20157,34 @@ var unijunction_transistor_default = {
19910
20157
  };
19911
20158
 
19912
20159
  // symbols/unijunction_transistor_horz.ts
19913
- var { paths: paths50, texts: texts65, bounds: bounds50, refblocks: refblocks50, circles: circles46 } = unijunction_transistor_default;
20160
+ var { paths: paths54, texts: texts69, bounds: bounds54, refblocks: refblocks54, circles: circles50 } = unijunction_transistor_default;
19914
20161
  var unijunction_transistor_horz_default = defineSymbol({
19915
20162
  primitives: [
19916
- ...Object.values(paths50),
19917
- ...Object.values(circles46),
19918
- { ...texts65.top1, anchor: "middle_left" },
19919
- { ...texts65.bottom1, anchor: "middle_right" }
20163
+ ...Object.values(paths54),
20164
+ ...Object.values(circles50),
20165
+ { ...texts69.top1, anchor: "middle_left" },
20166
+ { ...texts69.bottom1, anchor: "middle_right" }
19920
20167
  ],
19921
20168
  ports: [
19922
- { ...refblocks50.top1, labels: ["1"] },
20169
+ { ...refblocks54.top1, labels: ["1"] },
19923
20170
  // TODO add more "standard" labels
19924
- { ...refblocks50.bottom1, labels: ["2"] },
20171
+ { ...refblocks54.bottom1, labels: ["2"] },
19925
20172
  // TODO add more "standard" labels
19926
- { ...refblocks50.left1, labels: ["3"] }
20173
+ { ...refblocks54.left1, labels: ["3"] }
19927
20174
  // TODO add more "standard" labels
19928
20175
  ],
19929
- size: { width: bounds50.width, height: bounds50.height },
19930
- center: { x: bounds50.centerX, y: bounds50.centerY }
20176
+ size: { width: bounds54.width, height: bounds54.height },
20177
+ center: { x: bounds54.centerX, y: bounds54.centerY }
19931
20178
  });
19932
20179
 
19933
20180
  // symbols/unijunction_transistor_vert.ts
19934
20181
  var rotatedSymbol22 = rotateSymbol(unijunction_transistor_horz_default);
19935
- var texts66 = rotatedSymbol22.primitives.filter(
20182
+ var texts70 = rotatedSymbol22.primitives.filter(
19936
20183
  (primitive) => primitive.type === "text"
19937
20184
  );
19938
- var ref52 = texts66.find((text) => text.text === "{REF}");
20185
+ var ref52 = texts70.find((text) => text.text === "{REF}");
19939
20186
  ref52.y = 0.1;
19940
- var val47 = texts66.find((text) => text.text === "{VAL}");
20187
+ var val47 = texts70.find((text) => text.text === "{VAL}");
19941
20188
  val47.y = 0.1;
19942
20189
  val47.x = -0.4;
19943
20190
  var unijunction_transistor_vert_default = rotatedSymbol22;
@@ -20029,33 +20276,33 @@ var var_meter_default = {
20029
20276
  };
20030
20277
 
20031
20278
  // symbols/var_meter_horz.ts
20032
- var { paths: paths51, texts: texts67, bounds: bounds51, refblocks: refblocks51, circles: circles47 } = var_meter_default;
20279
+ var { paths: paths55, texts: texts71, bounds: bounds55, refblocks: refblocks55, circles: circles51 } = var_meter_default;
20033
20280
  var var_meter_horz_default = defineSymbol({
20034
20281
  primitives: [
20035
- ...Object.values(paths51),
20036
- ...Object.values(circles47),
20282
+ ...Object.values(paths55),
20283
+ ...Object.values(circles51),
20037
20284
  {
20038
- ...texts67.top1,
20285
+ ...texts71.top1,
20039
20286
  x: 0,
20040
20287
  y: -0.3594553499999995,
20041
20288
  anchor: "middle_top"
20042
20289
  },
20043
20290
  {
20044
- ...texts67.bottom1,
20291
+ ...texts71.bottom1,
20045
20292
  x: 0,
20046
20293
  y: 0.35,
20047
20294
  anchor: "middle_bottom"
20048
20295
  },
20049
- { ...texts67.left1, x: -0.02, y: 0.01, fontSize: 0.2, anchor: "center" }
20296
+ { ...texts71.left1, x: -0.02, y: 0.01, fontSize: 0.2, anchor: "center" }
20050
20297
  ],
20051
20298
  ports: [
20052
- { ...refblocks51.left1, labels: ["1"] },
20299
+ { ...refblocks55.left1, labels: ["1"] },
20053
20300
  // TODO add more "standard" labels
20054
- { ...refblocks51.right1, labels: ["2"] }
20301
+ { ...refblocks55.right1, labels: ["2"] }
20055
20302
  // TODO add more "standard" labels
20056
20303
  ],
20057
- size: { width: bounds51.width, height: bounds51.height },
20058
- center: { x: bounds51.centerX, y: bounds51.centerY }
20304
+ size: { width: bounds55.width, height: bounds55.height },
20305
+ center: { x: bounds55.centerX, y: bounds55.centerY }
20059
20306
  });
20060
20307
 
20061
20308
  // symbols/var_meter_vert.ts
@@ -20208,22 +20455,22 @@ var varactor_diode_default = {
20208
20455
  };
20209
20456
 
20210
20457
  // symbols/varactor_diode_horz.ts
20211
- var { paths: paths52, texts: texts68, bounds: bounds52, refblocks: refblocks52, circles: circles48 } = varactor_diode_default;
20458
+ var { paths: paths56, texts: texts72, bounds: bounds56, refblocks: refblocks56, circles: circles52 } = varactor_diode_default;
20212
20459
  var varactor_diode_horz_default = defineSymbol({
20213
20460
  primitives: [
20214
- ...Object.values(paths52),
20215
- ...Object.values(circles48),
20216
- { ...texts68.top1, anchor: "middle_bottom" },
20217
- { ...texts68.bottom1, anchor: "middle_top" }
20461
+ ...Object.values(paths56),
20462
+ ...Object.values(circles52),
20463
+ { ...texts72.top1, anchor: "middle_bottom" },
20464
+ { ...texts72.bottom1, anchor: "middle_top" }
20218
20465
  ],
20219
20466
  ports: [
20220
- { ...refblocks52.left1, labels: ["1"] },
20467
+ { ...refblocks56.left1, labels: ["1"] },
20221
20468
  // TODO add more "standard" labels
20222
- { ...refblocks52.right1, labels: ["2"] }
20469
+ { ...refblocks56.right1, labels: ["2"] }
20223
20470
  // TODO add more "standard" labels
20224
20471
  ],
20225
- size: { width: bounds52.width, height: bounds52.height },
20226
- center: { x: bounds52.centerX, y: bounds52.centerY }
20472
+ size: { width: bounds56.width, height: bounds56.height },
20473
+ center: { x: bounds56.centerX, y: bounds56.centerY }
20227
20474
  });
20228
20475
 
20229
20476
  // symbols/varactor_diode_vert.ts
@@ -20371,26 +20618,26 @@ var varistor_default = {
20371
20618
  };
20372
20619
 
20373
20620
  // symbols/varistor_horz.ts
20374
- var { paths: paths53, texts: texts69, bounds: bounds53, refblocks: refblocks53 } = varistor_default;
20621
+ var { paths: paths57, texts: texts73, bounds: bounds57, refblocks: refblocks57 } = varistor_default;
20375
20622
  var varistor_horz_default = defineSymbol({
20376
20623
  primitives: [
20377
- ...Object.values(paths53),
20378
- { ...texts69.top1, anchor: "middle_left" },
20379
- { ...texts69.bottom1, anchor: "middle_right" }
20624
+ ...Object.values(paths57),
20625
+ { ...texts73.top1, anchor: "middle_left" },
20626
+ { ...texts73.bottom1, anchor: "middle_right" }
20380
20627
  ],
20381
20628
  ports: [
20382
20629
  {
20383
- ...refblocks53.left1,
20630
+ ...refblocks57.left1,
20384
20631
  labels: ["1", "-"]
20385
20632
  },
20386
20633
  {
20387
- ...refblocks53.right1,
20634
+ ...refblocks57.right1,
20388
20635
  labels: ["2", "+"]
20389
20636
  }
20390
20637
  ],
20391
- size: { width: bounds53.width, height: bounds53.height },
20638
+ size: { width: bounds57.width, height: bounds57.height },
20392
20639
  //{ width: 1, height: 0.24 },
20393
- center: { x: bounds53.centerX, y: bounds53.centerY }
20640
+ center: { x: bounds57.centerX, y: bounds57.centerY }
20394
20641
  });
20395
20642
 
20396
20643
  // symbols/varistor_vert.ts
@@ -20483,11 +20730,11 @@ var varmeter_default = {
20483
20730
  };
20484
20731
 
20485
20732
  // symbols/varmeter_horz.ts
20486
- var { paths: paths54, texts: texts70, bounds: bounds54, refblocks: refblocks54, circles: circles49 } = varmeter_default;
20733
+ var { paths: paths58, texts: texts74, bounds: bounds58, refblocks: refblocks58, circles: circles53 } = varmeter_default;
20487
20734
  var varmeter_horz_default = defineSymbol({
20488
20735
  primitives: [
20489
- ...Object.values(paths54),
20490
- ...Object.values(circles49),
20736
+ ...Object.values(paths58),
20737
+ ...Object.values(circles53),
20491
20738
  {
20492
20739
  type: "text",
20493
20740
  text: "{REF}",
@@ -20502,16 +20749,16 @@ var varmeter_horz_default = defineSymbol({
20502
20749
  y: 0.35,
20503
20750
  anchor: "middle_bottom"
20504
20751
  },
20505
- { ...texts70.left1, anchor: "center", y: 0.02, fontSize: 0.2 }
20752
+ { ...texts74.left1, anchor: "center", y: 0.02, fontSize: 0.2 }
20506
20753
  ],
20507
20754
  ports: [
20508
- { ...refblocks54.left1, labels: ["1"] },
20755
+ { ...refblocks58.left1, labels: ["1"] },
20509
20756
  // TODO add more "standard" labels
20510
- { ...refblocks54.right1, labels: ["2"] }
20757
+ { ...refblocks58.right1, labels: ["2"] }
20511
20758
  // TODO add more "standard" labels
20512
20759
  ],
20513
- size: { width: bounds54.width, height: bounds54.height },
20514
- center: { x: bounds54.centerX, y: bounds54.centerY }
20760
+ size: { width: bounds58.width, height: bounds58.height },
20761
+ center: { x: bounds58.centerX, y: bounds58.centerY }
20515
20762
  });
20516
20763
 
20517
20764
  // symbols/varmeter_vert.ts
@@ -20628,7 +20875,7 @@ var volt_meter_default = {
20628
20875
  };
20629
20876
 
20630
20877
  // symbols/volt_meter_horz.ts
20631
- var { paths: paths55, texts: texts71, bounds: bounds55, circles: circles50, refblocks: refblocks55 } = volt_meter_default;
20878
+ var { paths: paths59, texts: texts75, bounds: bounds59, circles: circles54, refblocks: refblocks59 } = volt_meter_default;
20632
20879
  var volt_meter_horz_default = modifySymbol(volt_meter_default).changeTextAnchor("{VAL}", "middle_top").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_bottom").build();
20633
20880
 
20634
20881
  // symbols/volt_meter_vert.ts
@@ -20721,11 +20968,11 @@ var watt_hour_meter_default = {
20721
20968
  };
20722
20969
 
20723
20970
  // symbols/watt_hour_meter_horz.ts
20724
- var { paths: paths56, texts: texts72, bounds: bounds56, refblocks: refblocks56, circles: circles51 } = watt_hour_meter_default;
20971
+ var { paths: paths60, texts: texts76, bounds: bounds60, refblocks: refblocks60, circles: circles55 } = watt_hour_meter_default;
20725
20972
  var watt_hour_meter_horz_default = defineSymbol({
20726
20973
  primitives: [
20727
- ...Object.values(paths56),
20728
- ...Object.values(circles51),
20974
+ ...Object.values(paths60),
20975
+ ...Object.values(circles55),
20729
20976
  {
20730
20977
  type: "text",
20731
20978
  text: "{REF}",
@@ -20740,16 +20987,16 @@ var watt_hour_meter_horz_default = defineSymbol({
20740
20987
  y: 0.35,
20741
20988
  anchor: "middle_bottom"
20742
20989
  },
20743
- { ...texts72.left1, anchor: "center", y: 0.01, fontSize: 0.2 }
20990
+ { ...texts76.left1, anchor: "center", y: 0.01, fontSize: 0.2 }
20744
20991
  ],
20745
20992
  ports: [
20746
- { ...refblocks56.left1, labels: ["1"] },
20993
+ { ...refblocks60.left1, labels: ["1"] },
20747
20994
  // TODO add more "standard" labels
20748
- { ...refblocks56.right1, labels: ["2"] }
20995
+ { ...refblocks60.right1, labels: ["2"] }
20749
20996
  // TODO add more "standard" labels
20750
20997
  ],
20751
- size: { width: bounds56.width, height: bounds56.height },
20752
- center: { x: bounds56.centerX, y: bounds56.centerY }
20998
+ size: { width: bounds60.width, height: bounds60.height },
20999
+ center: { x: bounds60.centerX, y: bounds60.centerY }
20753
21000
  });
20754
21001
 
20755
21002
  // symbols/watt_hour_meter_vert.ts
@@ -20853,11 +21100,11 @@ var wattmeter_default = {
20853
21100
  };
20854
21101
 
20855
21102
  // symbols/wattmeter_horz.ts
20856
- var { paths: paths57, texts: texts73, bounds: bounds57, refblocks: refblocks57, circles: circles52 } = wattmeter_default;
21103
+ var { paths: paths61, texts: texts77, bounds: bounds61, refblocks: refblocks61, circles: circles56 } = wattmeter_default;
20857
21104
  var wattmeter_horz_default = defineSymbol({
20858
21105
  primitives: [
20859
- ...Object.values(paths57),
20860
- ...Object.values(circles52),
21106
+ ...Object.values(paths61),
21107
+ ...Object.values(circles56),
20861
21108
  {
20862
21109
  type: "text",
20863
21110
  text: "{REF}",
@@ -20872,16 +21119,16 @@ var wattmeter_horz_default = defineSymbol({
20872
21119
  y: 0.35,
20873
21120
  anchor: "middle_bottom"
20874
21121
  },
20875
- { ...texts73.left1, anchor: "center", y: 0.01, fontSize: 0.3 }
21122
+ { ...texts77.left1, anchor: "center", y: 0.01, fontSize: 0.3 }
20876
21123
  ],
20877
21124
  ports: [
20878
- { ...refblocks57.left1, labels: ["1"] },
21125
+ { ...refblocks61.left1, labels: ["1"] },
20879
21126
  // TODO add more "standard" labels
20880
- { ...refblocks57.right1, labels: ["2"] }
21127
+ { ...refblocks61.right1, labels: ["2"] }
20881
21128
  // TODO add more "standard" labels
20882
21129
  ],
20883
- size: { width: bounds57.width, height: bounds57.height },
20884
- center: { x: bounds57.centerX, y: bounds57.centerY }
21130
+ size: { width: bounds61.width, height: bounds61.height },
21131
+ center: { x: bounds61.centerX, y: bounds61.centerY }
20885
21132
  });
20886
21133
 
20887
21134
  // symbols/wattmeter_vert.ts
@@ -21045,22 +21292,22 @@ var zener_diode_default = {
21045
21292
  };
21046
21293
 
21047
21294
  // symbols/zener_diode_horz.ts
21048
- var { paths: paths58, texts: texts74, bounds: bounds58, refblocks: refblocks58, circles: circles53 } = zener_diode_default;
21295
+ var { paths: paths62, texts: texts78, bounds: bounds62, refblocks: refblocks62, circles: circles57 } = zener_diode_default;
21049
21296
  var zener_diode_horz_default = defineSymbol({
21050
21297
  primitives: [
21051
- ...Object.values(paths58),
21052
- ...Object.values(circles53),
21053
- { ...texts74.top1, anchor: "middle_bottom" },
21054
- { ...texts74.bottom1, anchor: "middle_top" }
21298
+ ...Object.values(paths62),
21299
+ ...Object.values(circles57),
21300
+ { ...texts78.top1, anchor: "middle_bottom" },
21301
+ { ...texts78.bottom1, anchor: "middle_top" }
21055
21302
  ],
21056
21303
  ports: [
21057
- { ...refblocks58.left1, labels: ["1"] },
21304
+ { ...refblocks62.left1, labels: ["1"] },
21058
21305
  // TODO add more "standard" labels
21059
- { ...refblocks58.right1, labels: ["2"] }
21306
+ { ...refblocks62.right1, labels: ["2"] }
21060
21307
  // TODO add more "standard" labels
21061
21308
  ],
21062
- size: { width: bounds58.width, height: bounds58.height },
21063
- center: { x: bounds58.centerX, y: bounds58.centerY }
21309
+ size: { width: bounds62.width, height: bounds62.height },
21310
+ center: { x: bounds62.centerX, y: bounds62.centerY }
21064
21311
  });
21065
21312
 
21066
21313
  // symbols/zener_diode_vert.ts
@@ -21090,6 +21337,10 @@ var symbols_index_default = {
21090
21337
  "boxresistor_down": boxresistor_down_default,
21091
21338
  "boxresistor_left": boxresistor_left_default,
21092
21339
  "boxresistor_right": boxresistor_right_default,
21340
+ "boxresistor_small_down": boxresistor_small_down_default,
21341
+ "boxresistor_small_left": boxresistor_small_left_default,
21342
+ "boxresistor_small_right": boxresistor_small_right_default,
21343
+ "boxresistor_small_up": boxresistor_small_up_default,
21093
21344
  "boxresistor_up": boxresistor_up_default,
21094
21345
  "capacitor_down": capacitor_down_default,
21095
21346
  "capacitor_left": capacitor_left_default,