schematic-symbols 0.0.163 → 0.0.164

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(symbol8) {
45
45
  let size = symbol8.size;
46
46
  if (!size) {
47
- const bounds70 = getBoundsOfPrimitives(symbol8.primitives);
47
+ const bounds73 = getBoundsOfPrimitives(symbol8.primitives);
48
48
  size = {
49
- width: bounds70.maxX - bounds70.minX,
50
- height: bounds70.maxY - bounds70.minY
49
+ width: bounds73.maxX - bounds73.minX,
50
+ height: bounds73.maxY - bounds73.minY
51
51
  };
52
52
  }
53
53
  return { ...symbol8, size };
@@ -494,14 +494,14 @@ var rotateRightFacingSymbol = (symbol8, opts) => {
494
494
  ...applyToPoint(transform2, port)
495
495
  })
496
496
  );
497
- const bounds70 = getBoundsOfPrimitives(rotatedPrimitives);
497
+ const bounds73 = getBoundsOfPrimitives(rotatedPrimitives);
498
498
  return {
499
499
  primitives: rotatedPrimitives,
500
500
  center,
501
501
  ports: rotatedPorts,
502
502
  size: {
503
- width: bounds70.maxX - bounds70.minX,
504
- height: bounds70.maxY - bounds70.minY
503
+ width: bounds73.maxX - bounds73.minX,
504
+ height: bounds73.maxY - bounds73.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 bounds70 = getBoundsOfPrimitives(this.symbol.primitives);
905
+ const bounds73 = getBoundsOfPrimitives(this.symbol.primitives);
906
906
  return {
907
- width: bounds70.maxX - bounds70.minX,
908
- height: bounds70.maxY - bounds70.minY
907
+ width: bounds73.maxX - bounds73.minX,
908
+ height: bounds73.maxY - bounds73.minY
909
909
  };
910
910
  }
911
911
  build() {
@@ -1630,6 +1630,186 @@ var boxresistor_up_default = modifySymbol({
1630
1630
  center: { x: bounds15.centerX, y: bounds15.centerY }
1631
1631
  }).changeTextAnchor("{VAL}", "middle_top").rotateRightFacingSymbol("up").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_left").build();
1632
1632
 
1633
+ // assets/generated/bridged_ground.json
1634
+ var bridged_ground_default = {
1635
+ paths: {
1636
+ "horizontal-bar": {
1637
+ type: "path",
1638
+ points: [
1639
+ { x: -0.4, y: 0 },
1640
+ { x: 0.4, y: 0 }
1641
+ ],
1642
+ color: "primary",
1643
+ fill: false
1644
+ },
1645
+ "middle-dash-1": {
1646
+ type: "path",
1647
+ points: [
1648
+ { x: 0, y: 0.2 },
1649
+ { x: 0, y: 0.07 }
1650
+ ],
1651
+ color: "primary",
1652
+ fill: false
1653
+ },
1654
+ "middle-dash-2": {
1655
+ type: "path",
1656
+ points: [
1657
+ { x: 0, y: 0.01 },
1658
+ { x: 0, y: -0.12 }
1659
+ ],
1660
+ color: "primary",
1661
+ fill: false
1662
+ },
1663
+ "middle-dash-3": {
1664
+ type: "path",
1665
+ points: [
1666
+ { x: 0, y: -0.18 },
1667
+ { x: 0, y: -0.31 }
1668
+ ],
1669
+ color: "primary",
1670
+ fill: false
1671
+ },
1672
+ "left-vertical": {
1673
+ type: "path",
1674
+ points: [
1675
+ { x: -0.25, y: 0 },
1676
+ { x: -0.25, y: -0.2 }
1677
+ ],
1678
+ color: "primary",
1679
+ fill: false
1680
+ },
1681
+ "right-vertical": {
1682
+ type: "path",
1683
+ points: [
1684
+ { x: 0.25, y: 0 },
1685
+ { x: 0.25, y: -0.2 }
1686
+ ],
1687
+ color: "primary",
1688
+ fill: false
1689
+ },
1690
+ "left-ground": {
1691
+ type: "path",
1692
+ points: [
1693
+ { x: -0.3, y: -0.2 },
1694
+ { x: -0.25, y: -0.3 },
1695
+ { x: -0.2, y: -0.2 },
1696
+ { x: -0.3, y: -0.2 }
1697
+ ],
1698
+ color: "primary",
1699
+ fill: false
1700
+ },
1701
+ "right-ground": {
1702
+ type: "path",
1703
+ points: [
1704
+ { x: 0.2, y: -0.2 },
1705
+ { x: 0.25, y: -0.3 },
1706
+ { x: 0.3, y: -0.2 },
1707
+ { x: 0.2, y: -0.2 }
1708
+ ],
1709
+ color: "primary",
1710
+ fill: false
1711
+ }
1712
+ },
1713
+ refblocks: {
1714
+ left1: {
1715
+ x: -0.4,
1716
+ y: 0
1717
+ },
1718
+ right1: {
1719
+ x: 0.4,
1720
+ y: 0
1721
+ }
1722
+ },
1723
+ texts: {
1724
+ ref: {
1725
+ type: "text",
1726
+ text: "{REF}",
1727
+ x: 0,
1728
+ y: 0.35
1729
+ }
1730
+ },
1731
+ bounds: {
1732
+ minX: -0.4,
1733
+ maxX: 0.4,
1734
+ minY: -0.4,
1735
+ maxY: 0.35,
1736
+ width: 0.8,
1737
+ height: 0.75,
1738
+ centerX: 0,
1739
+ centerY: -0.025
1740
+ },
1741
+ circles: {}
1742
+ };
1743
+
1744
+ // symbols/bridged_ground_down.ts
1745
+ var { paths: paths16, texts: texts15, bounds: bounds16, refblocks: refblocks16, circles: circles16 } = bridged_ground_default;
1746
+ var bridged_ground_down_default = modifySymbol({
1747
+ primitives: [
1748
+ ...Object.values(paths16),
1749
+ ...Object.values(circles16),
1750
+ {
1751
+ type: "text",
1752
+ text: "{REF}",
1753
+ x: 0,
1754
+ y: 0.2594553499999995
1755
+ }
1756
+ ],
1757
+ ports: [
1758
+ { ...refblocks16.left1, labels: ["1"] },
1759
+ // TODO add more "standard" labels
1760
+ { ...refblocks16.right1, labels: ["2"] }
1761
+ // TODO add more "standard" labels
1762
+ ],
1763
+ center: { x: bounds16.centerX, y: bounds16.centerY }
1764
+ }).changeTextAnchor("{VAL}", "middle_bottom").rotateRightFacingSymbol("down").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_left").build();
1765
+
1766
+ // symbols/bridged_ground_right.ts
1767
+ var { paths: paths17, texts: texts16, bounds: bounds17, refblocks: refblocks17, circles: circles17 } = bridged_ground_default;
1768
+ var bridged_ground_right_default = modifySymbol({
1769
+ primitives: [
1770
+ ...Object.values(paths17),
1771
+ ...Object.values(circles17),
1772
+ {
1773
+ type: "text",
1774
+ text: "{REF}",
1775
+ x: 0,
1776
+ y: 0.2594553499999995
1777
+ }
1778
+ ],
1779
+ ports: [
1780
+ { ...refblocks17.left1, labels: ["1"] },
1781
+ // TODO add more "standard" labels
1782
+ { ...refblocks17.right1, labels: ["2"] }
1783
+ // TODO add more "standard" labels
1784
+ ],
1785
+ center: { x: bounds17.centerX, y: bounds17.centerY }
1786
+ }).rotateRightFacingSymbol("right").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_bottom").build();
1787
+
1788
+ // symbols/bridged_ground_left.ts
1789
+ var bridged_ground_left_default = flipSymbolOverYAxis(bridged_ground_right_default);
1790
+
1791
+ // symbols/bridged_ground_up.ts
1792
+ var { paths: paths18, texts: texts17, bounds: bounds18, refblocks: refblocks18, circles: circles18 } = bridged_ground_default;
1793
+ var bridged_ground_up_default = modifySymbol({
1794
+ primitives: [
1795
+ ...Object.values(paths18),
1796
+ ...Object.values(circles18),
1797
+ {
1798
+ type: "text",
1799
+ text: "{REF}",
1800
+ x: 0,
1801
+ y: 0.2594553499999995
1802
+ }
1803
+ ],
1804
+ ports: [
1805
+ { ...refblocks18.left1, labels: ["1"] },
1806
+ // TODO add more "standard" labels
1807
+ { ...refblocks18.right1, labels: ["2"] }
1808
+ // TODO add more "standard" labels
1809
+ ],
1810
+ center: { x: bounds18.centerX, y: bounds18.centerY }
1811
+ }).rotateRightFacingSymbol("up").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_right").build();
1812
+
1633
1813
  // assets/generated/capacitor.json
1634
1814
  var capacitor_default = {
1635
1815
  paths: {
@@ -1732,11 +1912,11 @@ var capacitor_default = {
1732
1912
  };
1733
1913
 
1734
1914
  // symbols/capacitor_down.ts
1735
- var { paths: paths16, texts: texts15, bounds: bounds16, refblocks: refblocks16, circles: circles16 } = capacitor_default;
1915
+ var { paths: paths19, texts: texts18, bounds: bounds19, refblocks: refblocks19, circles: circles19 } = capacitor_default;
1736
1916
  var capacitor_down_default = modifySymbol({
1737
1917
  primitives: [
1738
- ...Object.values(paths16),
1739
- ...Object.values(circles16),
1918
+ ...Object.values(paths19),
1919
+ ...Object.values(circles19),
1740
1920
  {
1741
1921
  type: "text",
1742
1922
  text: "{REF}",
@@ -1751,13 +1931,13 @@ var capacitor_down_default = modifySymbol({
1751
1931
  }
1752
1932
  ],
1753
1933
  ports: [
1754
- { ...refblocks16.left1, labels: ["1"] },
1934
+ { ...refblocks19.left1, labels: ["1"] },
1755
1935
  // TODO add more "standard" labels
1756
- { ...refblocks16.right1, labels: ["2"] }
1936
+ { ...refblocks19.right1, labels: ["2"] }
1757
1937
  // TODO add more "standard" labels
1758
1938
  ],
1759
- size: { width: bounds16.width, height: bounds16.height },
1760
- center: { x: bounds16.centerX, y: bounds16.centerY }
1939
+ size: { width: bounds19.width, height: bounds19.height },
1940
+ center: { x: bounds19.centerX, y: bounds19.centerY }
1761
1941
  }).changeTextAnchor("{VAL}", "top_left").rotateRightFacingSymbol("down").labelPort("left1", ["1", "pos"]).labelPort("right1", ["2", "neg"]).changeTextAnchor("{REF}", "bottom_left").build();
1762
1942
 
1763
1943
  // symbols/capacitor_left.ts
@@ -3523,11 +3703,11 @@ var capacitor_polarized_default = {
3523
3703
  };
3524
3704
 
3525
3705
  // symbols/capacitor_polarized_down.ts
3526
- var { paths: paths17, texts: texts16, bounds: bounds17, refblocks: refblocks17, circles: circles17 } = capacitor_polarized_default;
3706
+ var { paths: paths20, texts: texts19, bounds: bounds20, refblocks: refblocks20, circles: circles20 } = capacitor_polarized_default;
3527
3707
  var capacitor_polarized_down_default = modifySymbol({
3528
3708
  primitives: [
3529
- ...Object.values(paths17),
3530
- ...Object.values(circles17),
3709
+ ...Object.values(paths20),
3710
+ ...Object.values(circles20),
3531
3711
  {
3532
3712
  type: "text",
3533
3713
  text: "{REF}",
@@ -3542,24 +3722,24 @@ var capacitor_polarized_down_default = modifySymbol({
3542
3722
  }
3543
3723
  ],
3544
3724
  ports: [
3545
- { ...refblocks17.left1, labels: ["2", "neg"] },
3725
+ { ...refblocks20.left1, labels: ["2", "neg"] },
3546
3726
  // TODO add more "standard" labels
3547
- { ...refblocks17.right1, labels: ["1", "pos"] }
3727
+ { ...refblocks20.right1, labels: ["1", "pos"] }
3548
3728
  // TODO add more "standard" labels
3549
3729
  ],
3550
- size: { width: bounds17.width, height: bounds17.height },
3551
- center: { x: bounds17.centerX, y: bounds17.centerY }
3730
+ size: { width: bounds20.width, height: bounds20.height },
3731
+ center: { x: bounds20.centerX, y: bounds20.centerY }
3552
3732
  }).changeTextAnchor("{VAL}", "top_left").rotateRightFacingSymbol("up").changeTextAnchor("{REF}", "bottom_left").build();
3553
3733
 
3554
3734
  // symbols/capacitor_polarized_left.ts
3555
3735
  var capacitor_polarized_left_default = modifySymbol(capacitor_polarized_default).changeTextAnchor("{VAL}", "middle_top").labelPort("left1", ["2", "neg"]).labelPort("right1", ["1", "pos"]).changeTextAnchor("{REF}", "middle_bottom").build();
3556
3736
 
3557
3737
  // symbols/capacitor_polarized_right.ts
3558
- var { paths: paths18, texts: texts17, bounds: bounds18, refblocks: refblocks18, circles: circles18 } = capacitor_polarized_default;
3738
+ var { paths: paths21, texts: texts20, bounds: bounds21, refblocks: refblocks21, circles: circles21 } = capacitor_polarized_default;
3559
3739
  var capacitor_polarized_right_default = modifySymbol({
3560
3740
  primitives: [
3561
- ...Object.values(paths18),
3562
- ...Object.values(circles18),
3741
+ ...Object.values(paths21),
3742
+ ...Object.values(circles21),
3563
3743
  {
3564
3744
  type: "text",
3565
3745
  text: "{REF}",
@@ -3574,21 +3754,21 @@ var capacitor_polarized_right_default = modifySymbol({
3574
3754
  }
3575
3755
  ],
3576
3756
  ports: [
3577
- { ...refblocks18.left1, labels: ["2", "neg"] },
3757
+ { ...refblocks21.left1, labels: ["2", "neg"] },
3578
3758
  // TODO add more "standard" labels
3579
- { ...refblocks18.right1, labels: ["1", "pos"] }
3759
+ { ...refblocks21.right1, labels: ["1", "pos"] }
3580
3760
  // TODO add more "standard" labels
3581
3761
  ],
3582
- size: { width: bounds18.width, height: bounds18.height },
3583
- center: { x: bounds18.centerX, y: bounds18.centerY }
3762
+ size: { width: bounds21.width, height: bounds21.height },
3763
+ center: { x: bounds21.centerX, y: bounds21.centerY }
3584
3764
  }).changeTextAnchor("{VAL}", "middle_bottom").rotateRightFacingSymbol("left").changeTextAnchor("{REF}", "middle_bottom").build();
3585
3765
 
3586
3766
  // symbols/capacitor_polarized_up.ts
3587
- var { paths: paths19, texts: texts18, bounds: bounds19, refblocks: refblocks19, circles: circles19 } = capacitor_polarized_default;
3767
+ var { paths: paths22, texts: texts21, bounds: bounds22, refblocks: refblocks22, circles: circles22 } = capacitor_polarized_default;
3588
3768
  var capacitor_polarized_up_default = modifySymbol({
3589
3769
  primitives: [
3590
- ...Object.values(paths19),
3591
- ...Object.values(circles19),
3770
+ ...Object.values(paths22),
3771
+ ...Object.values(circles22),
3592
3772
  {
3593
3773
  type: "text",
3594
3774
  text: "{REF}",
@@ -3603,24 +3783,24 @@ var capacitor_polarized_up_default = modifySymbol({
3603
3783
  }
3604
3784
  ],
3605
3785
  ports: [
3606
- { ...refblocks19.left1, labels: ["2", "neg"] },
3786
+ { ...refblocks22.left1, labels: ["2", "neg"] },
3607
3787
  // TODO add more "standard" labels
3608
- { ...refblocks19.right1, labels: ["1", "pos"] }
3788
+ { ...refblocks22.right1, labels: ["1", "pos"] }
3609
3789
  // TODO add more "standard" labels
3610
3790
  ],
3611
- size: { width: bounds19.width, height: bounds19.height },
3612
- center: { x: bounds19.centerX, y: bounds19.centerY }
3791
+ size: { width: bounds22.width, height: bounds22.height },
3792
+ center: { x: bounds22.centerX, y: bounds22.centerY }
3613
3793
  }).changeTextAnchor("{VAL}", "top_left").rotateRightFacingSymbol("down").changeTextAnchor("{REF}", "bottom_left").build();
3614
3794
 
3615
3795
  // symbols/capacitor_right.ts
3616
3796
  var capacitor_right_default = modifySymbol(capacitor_default).rotateRightFacingSymbol("right").changeTextAnchor("{VAL}", "middle_top").labelPort("left1", ["1", "pos"]).labelPort("right1", ["2", "neg"]).changeTextAnchor("{REF}", "middle_bottom").build();
3617
3797
 
3618
3798
  // symbols/capacitor_up.ts
3619
- var { paths: paths20, texts: texts19, bounds: bounds20, refblocks: refblocks20, circles: circles20 } = capacitor_default;
3799
+ var { paths: paths23, texts: texts22, bounds: bounds23, refblocks: refblocks23, circles: circles23 } = capacitor_default;
3620
3800
  var capacitor_up_default = modifySymbol({
3621
3801
  primitives: [
3622
- ...Object.values(paths20),
3623
- ...Object.values(circles20),
3802
+ ...Object.values(paths23),
3803
+ ...Object.values(circles23),
3624
3804
  {
3625
3805
  type: "text",
3626
3806
  text: "{REF}",
@@ -3635,13 +3815,13 @@ var capacitor_up_default = modifySymbol({
3635
3815
  }
3636
3816
  ],
3637
3817
  ports: [
3638
- { ...refblocks20.left1, labels: ["1"] },
3818
+ { ...refblocks23.left1, labels: ["1"] },
3639
3819
  // TODO add more "standard" labels
3640
- { ...refblocks20.right1, labels: ["2"] }
3820
+ { ...refblocks23.right1, labels: ["2"] }
3641
3821
  // TODO add more "standard" labels
3642
3822
  ],
3643
- size: { width: bounds20.width, height: bounds20.height },
3644
- center: { x: bounds20.centerX, y: bounds20.centerY }
3823
+ size: { width: bounds23.width, height: bounds23.height },
3824
+ center: { x: bounds23.centerX, y: bounds23.centerY }
3645
3825
  }).changeTextAnchor("{VAL}", "top_left").rotateRightFacingSymbol("up").labelPort("left1", ["1", "pos"]).labelPort("right1", ["2", "neg"]).changeTextAnchor("{REF}", "bottom_left").build();
3646
3826
 
3647
3827
  // assets/generated/constant_current_diode.json
@@ -4210,11 +4390,11 @@ var crystal_default = {
4210
4390
  };
4211
4391
 
4212
4392
  // symbols/crystal_down.ts
4213
- var { paths: paths21, texts: texts20, bounds: bounds21, refblocks: refblocks21, circles: circles21 } = crystal_default;
4393
+ var { paths: paths24, texts: texts23, bounds: bounds24, refblocks: refblocks24, circles: circles24 } = crystal_default;
4214
4394
  var crystal_down_default = modifySymbol({
4215
4395
  primitives: [
4216
- ...Object.values(paths21),
4217
- ...Object.values(circles21),
4396
+ ...Object.values(paths24),
4397
+ ...Object.values(circles24),
4218
4398
  {
4219
4399
  type: "text",
4220
4400
  text: "{REF}",
@@ -4229,13 +4409,13 @@ var crystal_down_default = modifySymbol({
4229
4409
  }
4230
4410
  ],
4231
4411
  ports: [
4232
- { ...refblocks21.left1, labels: ["1"] },
4412
+ { ...refblocks24.left1, labels: ["1"] },
4233
4413
  // TODO add more "standard" labels
4234
- { ...refblocks21.right1, labels: ["2"] }
4414
+ { ...refblocks24.right1, labels: ["2"] }
4235
4415
  // TODO add more "standard" labels
4236
4416
  ],
4237
- size: { width: bounds21.width, height: bounds21.height },
4238
- center: { x: bounds21.centerX, y: bounds21.centerY }
4417
+ size: { width: bounds24.width, height: bounds24.height },
4418
+ center: { x: bounds24.centerX, y: bounds24.centerY }
4239
4419
  }).changeTextAnchor("{VAL}", "top_left").rotateRightFacingSymbol("down").labelPort("left1", ["1", "pos"]).labelPort("right1", ["2", "neg"]).changeTextAnchor("{REF}", "bottom_left").build();
4240
4420
 
4241
4421
  // symbols/crystal_left.ts
@@ -4245,11 +4425,11 @@ var crystal_left_default = modifySymbol(crystal_default).changeTextAnchor("{VAL}
4245
4425
  var crystal_right_default = modifySymbol(crystal_default).changeTextAnchor("{VAL}", "middle_top").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_bottom").build();
4246
4426
 
4247
4427
  // symbols/crystal_up.ts
4248
- var { paths: paths22, texts: texts21, bounds: bounds22, refblocks: refblocks22, circles: circles22 } = crystal_default;
4428
+ var { paths: paths25, texts: texts24, bounds: bounds25, refblocks: refblocks25, circles: circles25 } = crystal_default;
4249
4429
  var crystal_up_default = modifySymbol({
4250
4430
  primitives: [
4251
- ...Object.values(paths22),
4252
- ...Object.values(circles22),
4431
+ ...Object.values(paths25),
4432
+ ...Object.values(circles25),
4253
4433
  {
4254
4434
  type: "text",
4255
4435
  text: "{REF}",
@@ -4264,13 +4444,13 @@ var crystal_up_default = modifySymbol({
4264
4444
  }
4265
4445
  ],
4266
4446
  ports: [
4267
- { ...refblocks22.left1, labels: ["1"] },
4447
+ { ...refblocks25.left1, labels: ["1"] },
4268
4448
  // TODO add more "standard" labels
4269
- { ...refblocks22.right1, labels: ["2"] }
4449
+ { ...refblocks25.right1, labels: ["2"] }
4270
4450
  // TODO add more "standard" labels
4271
4451
  ],
4272
- size: { width: bounds22.width, height: bounds22.height },
4273
- center: { x: bounds22.centerX, y: bounds22.centerY }
4452
+ size: { width: bounds25.width, height: bounds25.height },
4453
+ center: { x: bounds25.centerX, y: bounds25.centerY }
4274
4454
  }).changeTextAnchor("{VAL}", "middle_top").rotateRightFacingSymbol("up").labelPort("left1", ["1", "pos"]).labelPort("right1", ["2", "neg"]).changeTextAnchor("{REF}", "bottom_left").build();
4275
4455
 
4276
4456
  // assets/generated/darlington_pair_transistor.json
@@ -4647,11 +4827,11 @@ var dc_ammeter_default = {
4647
4827
  };
4648
4828
 
4649
4829
  // symbols/dc_ammeter_horz.ts
4650
- var { paths: paths23, texts: texts22, bounds: bounds23, refblocks: refblocks23, circles: circles23 } = dc_ammeter_default;
4830
+ var { paths: paths26, texts: texts25, bounds: bounds26, refblocks: refblocks26, circles: circles26 } = dc_ammeter_default;
4651
4831
  var dc_ammeter_horz_default = defineSymbol({
4652
4832
  primitives: [
4653
- ...Object.values(paths23),
4654
- ...Object.values(circles23),
4833
+ ...Object.values(paths26),
4834
+ ...Object.values(circles26),
4655
4835
  {
4656
4836
  type: "text",
4657
4837
  text: "{REF}",
@@ -4666,16 +4846,16 @@ var dc_ammeter_horz_default = defineSymbol({
4666
4846
  y: 0.35,
4667
4847
  anchor: "middle_bottom"
4668
4848
  },
4669
- { ...texts22.left1, x: 0, y: 0.01, anchor: "center", fontSize: 0.3 }
4849
+ { ...texts25.left1, x: 0, y: 0.01, anchor: "center", fontSize: 0.3 }
4670
4850
  ],
4671
4851
  ports: [
4672
- { ...refblocks23.left1, labels: ["1"] },
4852
+ { ...refblocks26.left1, labels: ["1"] },
4673
4853
  // TODO add more "standard" labels
4674
- { ...refblocks23.right1, labels: ["2"] }
4854
+ { ...refblocks26.right1, labels: ["2"] }
4675
4855
  // TODO add more "standard" labels
4676
4856
  ],
4677
- size: { width: bounds23.width, height: bounds23.height },
4678
- center: { x: bounds23.centerX, y: bounds23.centerY }
4857
+ size: { width: bounds26.width, height: bounds26.height },
4858
+ center: { x: bounds26.centerX, y: bounds26.centerY }
4679
4859
  });
4680
4860
 
4681
4861
  // symbols/dc_ammeter_vert.ts
@@ -4821,11 +5001,11 @@ var dc_voltmeter_default = {
4821
5001
  };
4822
5002
 
4823
5003
  // symbols/dc_voltmeter_horz.ts
4824
- var { paths: paths24, texts: texts23, bounds: bounds24, refblocks: refblocks24, circles: circles24 } = dc_voltmeter_default;
5004
+ var { paths: paths27, texts: texts26, bounds: bounds27, refblocks: refblocks27, circles: circles27 } = dc_voltmeter_default;
4825
5005
  var dc_voltmeter_horz_default = defineSymbol({
4826
5006
  primitives: [
4827
- ...Object.values(paths24),
4828
- ...Object.values(circles24),
5007
+ ...Object.values(paths27),
5008
+ ...Object.values(circles27),
4829
5009
  {
4830
5010
  type: "text",
4831
5011
  text: "{REF}",
@@ -4842,13 +5022,13 @@ var dc_voltmeter_horz_default = defineSymbol({
4842
5022
  }
4843
5023
  ],
4844
5024
  ports: [
4845
- { ...refblocks24.left1, labels: ["1"] },
5025
+ { ...refblocks27.left1, labels: ["1"] },
4846
5026
  // TODO add more "standard" labels
4847
- { ...refblocks24.right1, labels: ["2"] }
5027
+ { ...refblocks27.right1, labels: ["2"] }
4848
5028
  // TODO add more "standard" labels
4849
5029
  ],
4850
- size: { width: bounds24.width, height: bounds24.height },
4851
- center: { x: bounds24.centerX, y: bounds24.centerY }
5030
+ size: { width: bounds27.width, height: bounds27.height },
5031
+ center: { x: bounds27.centerX, y: bounds27.centerY }
4852
5032
  });
4853
5033
 
4854
5034
  // symbols/dc_voltmeter_vert.ts
@@ -5026,11 +5206,11 @@ var diac_horz_default = modifySymbol(diac_default).changeTextAnchor("{VAL}", "mi
5026
5206
 
5027
5207
  // symbols/diac_vert.ts
5028
5208
  var rotatedSymbol4 = rotateSymbol(diac_horz_default);
5029
- var texts24 = rotatedSymbol4.primitives.filter(
5209
+ var texts27 = rotatedSymbol4.primitives.filter(
5030
5210
  (primitive) => primitive.type === "text"
5031
5211
  );
5032
- var ref2 = texts24.find((text) => text.text === "{REF}");
5033
- var val2 = texts24.find((text) => text.text === "{VAL}");
5212
+ var ref2 = texts27.find((text) => text.text === "{REF}");
5213
+ var val2 = texts27.find((text) => text.text === "{VAL}");
5034
5214
  ref2.y = 0;
5035
5215
  val2.y = 0;
5036
5216
  var diac_vert_default = rotatedSymbol4;
@@ -6307,11 +6487,11 @@ var ferrite_bead_default = {
6307
6487
  };
6308
6488
 
6309
6489
  // symbols/ferrite_bead_up.ts
6310
- var { paths: paths25, texts: texts25, bounds: bounds25, refblocks: refblocks25, circles: circles25 } = ferrite_bead_default;
6490
+ var { paths: paths28, texts: texts28, bounds: bounds28, refblocks: refblocks28, circles: circles28 } = ferrite_bead_default;
6311
6491
  var ferrite_bead_up_default = modifySymbol({
6312
6492
  primitives: [
6313
- ...Object.values(paths25),
6314
- ...Object.values(circles25),
6493
+ ...Object.values(paths28),
6494
+ ...Object.values(circles28),
6315
6495
  {
6316
6496
  type: "text",
6317
6497
  text: "{REF}",
@@ -6326,13 +6506,13 @@ var ferrite_bead_up_default = modifySymbol({
6326
6506
  }
6327
6507
  ],
6328
6508
  ports: [
6329
- { ...refblocks25.left1, labels: ["1"] },
6509
+ { ...refblocks28.left1, labels: ["1"] },
6330
6510
  // TODO add more "standard" labels
6331
- { ...refblocks25.right1, labels: ["2"] }
6511
+ { ...refblocks28.right1, labels: ["2"] }
6332
6512
  // TODO add more "standard" labels
6333
6513
  ],
6334
- size: { width: bounds25.width, height: bounds25.height },
6335
- center: { x: bounds25.centerX, y: bounds25.centerY }
6514
+ size: { width: bounds28.width, height: bounds28.height },
6515
+ center: { x: bounds28.centerX, y: bounds28.centerY }
6336
6516
  }).rotateRightFacingSymbol("up").labelPort("left", ["1"]).labelPort("right", ["2"]).changeTextAnchor("{REF}", "middle_left").changeTextAnchor("{VAL}", "middle_left").build();
6337
6517
 
6338
6518
  // symbols/ferrite_bead_down.ts
@@ -6565,11 +6745,11 @@ var frequency_meter_default = {
6565
6745
  };
6566
6746
 
6567
6747
  // symbols/frequency_meter_horz.ts
6568
- var { paths: paths26, texts: texts26, bounds: bounds26, refblocks: refblocks26, circles: circles26 } = frequency_meter_default;
6748
+ var { paths: paths29, texts: texts29, bounds: bounds29, refblocks: refblocks29, circles: circles29 } = frequency_meter_default;
6569
6749
  var frequency_meter_horz_default = defineSymbol({
6570
6750
  primitives: [
6571
- ...Object.values(paths26),
6572
- ...Object.values(circles26),
6751
+ ...Object.values(paths29),
6752
+ ...Object.values(circles29),
6573
6753
  {
6574
6754
  type: "text",
6575
6755
  text: "{REF}",
@@ -6584,16 +6764,16 @@ var frequency_meter_horz_default = defineSymbol({
6584
6764
  y: 0.35,
6585
6765
  anchor: "middle_bottom"
6586
6766
  },
6587
- { ...texts26.left1, x: 0, y: 0.01, anchor: "center", fontSize: 0.2 }
6767
+ { ...texts29.left1, x: 0, y: 0.01, anchor: "center", fontSize: 0.2 }
6588
6768
  ],
6589
6769
  ports: [
6590
- { ...refblocks26.left1, labels: ["1"] },
6770
+ { ...refblocks29.left1, labels: ["1"] },
6591
6771
  // TODO add more "standard" labels
6592
- { ...refblocks26.right1, labels: ["2"] }
6772
+ { ...refblocks29.right1, labels: ["2"] }
6593
6773
  // TODO add more "standard" labels
6594
6774
  ],
6595
- size: { width: bounds26.width, height: bounds26.height },
6596
- center: { x: bounds26.centerX, y: bounds26.centerY }
6775
+ size: { width: bounds29.width, height: bounds29.height },
6776
+ center: { x: bounds29.centerX, y: bounds29.centerY }
6597
6777
  });
6598
6778
 
6599
6779
  // symbols/frequency_meter_vert.ts
@@ -6698,11 +6878,11 @@ var fuse_default = {
6698
6878
  };
6699
6879
 
6700
6880
  // symbols/fuse_horz.ts
6701
- var { paths: paths27, texts: texts27, bounds: bounds27, refblocks: refblocks27 } = fuse_default;
6881
+ var { paths: paths30, texts: texts30, bounds: bounds30, refblocks: refblocks30 } = fuse_default;
6702
6882
  var fuse_horz_default = defineSymbol({
6703
6883
  primitives: [
6704
- ...Object.values(paths27),
6705
- { ...texts27.top1, anchor: "middle_bottom" },
6884
+ ...Object.values(paths30),
6885
+ { ...texts30.top1, anchor: "middle_bottom" },
6706
6886
  {
6707
6887
  type: "text",
6708
6888
  text: "{VAL}",
@@ -6712,13 +6892,13 @@ var fuse_horz_default = defineSymbol({
6712
6892
  }
6713
6893
  ],
6714
6894
  ports: [
6715
- { ...refblocks27.left1, labels: ["1"] },
6895
+ { ...refblocks30.left1, labels: ["1"] },
6716
6896
  // TODO add more "standard" labels
6717
- { ...refblocks27.right1, labels: ["2"] }
6897
+ { ...refblocks30.right1, labels: ["2"] }
6718
6898
  // TODO add more "standard" labels
6719
6899
  ],
6720
- size: { width: bounds27.width, height: bounds27.height },
6721
- center: { x: bounds27.centerX, y: bounds27.centerY }
6900
+ size: { width: bounds30.width, height: bounds30.height },
6901
+ center: { x: bounds30.centerX, y: bounds30.centerY }
6722
6902
  });
6723
6903
 
6724
6904
  // symbols/fuse_vert.ts
@@ -6895,10 +7075,10 @@ var ground2_default = {
6895
7075
  };
6896
7076
 
6897
7077
  // symbols/ground2_down.ts
6898
- var { paths: paths28, texts: texts28, bounds: bounds28, refblocks: refblocks28 } = ground2_default;
7078
+ var { paths: paths31, texts: texts31, bounds: bounds31, refblocks: refblocks31 } = ground2_default;
6899
7079
  var ground2_down_default = modifySymbol({
6900
7080
  primitives: [
6901
- ...Object.values(paths28),
7081
+ ...Object.values(paths31),
6902
7082
  {
6903
7083
  type: "text",
6904
7084
  text: "{REF}",
@@ -6907,18 +7087,18 @@ var ground2_down_default = modifySymbol({
6907
7087
  }
6908
7088
  ],
6909
7089
  ports: [
6910
- { ...refblocks28.left1, labels: ["1"] }
7090
+ { ...refblocks31.left1, labels: ["1"] }
6911
7091
  // TODO add more "standard" labels
6912
7092
  ],
6913
- center: { x: bounds28.centerX, y: bounds28.centerY }
7093
+ center: { x: bounds31.centerX, y: bounds31.centerY }
6914
7094
  }).rotateRightFacingSymbol("down").labelPort("left1", ["1"]).changeTextAnchor("{REF}", "middle_bottom").build();
6915
7095
 
6916
7096
  // symbols/ground2_left.ts
6917
- var { paths: paths29, texts: texts29, bounds: bounds29, refblocks: refblocks29, circles: circles27 } = ground2_default;
7097
+ var { paths: paths32, texts: texts32, bounds: bounds32, refblocks: refblocks32, circles: circles30 } = ground2_default;
6918
7098
  var ground2_left_default = modifySymbol({
6919
7099
  primitives: [
6920
- ...Object.values(paths29),
6921
- ...Object.values(circles27),
7100
+ ...Object.values(paths32),
7101
+ ...Object.values(circles30),
6922
7102
  {
6923
7103
  type: "text",
6924
7104
  text: "{REF}",
@@ -6927,18 +7107,18 @@ var ground2_left_default = modifySymbol({
6927
7107
  }
6928
7108
  ],
6929
7109
  ports: [
6930
- { ...refblocks29.left1, labels: ["1"] }
7110
+ { ...refblocks32.left1, labels: ["1"] }
6931
7111
  // TODO add more "standard" labels
6932
7112
  ],
6933
- center: { x: bounds29.centerX, y: bounds29.centerY }
7113
+ center: { x: bounds32.centerX, y: bounds32.centerY }
6934
7114
  }).rotateRightFacingSymbol("left").labelPort("left1", ["1"]).changeTextAnchor("{REF}", "middle_left").build();
6935
7115
 
6936
7116
  // symbols/ground2_right.ts
6937
- var { paths: paths30, texts: texts30, bounds: bounds30, refblocks: refblocks30, circles: circles28 } = ground2_default;
7117
+ var { paths: paths33, texts: texts33, bounds: bounds33, refblocks: refblocks33, circles: circles31 } = ground2_default;
6938
7118
  var ground2_right_default = modifySymbol({
6939
7119
  primitives: [
6940
- ...Object.values(paths30),
6941
- ...Object.values(circles28),
7120
+ ...Object.values(paths33),
7121
+ ...Object.values(circles31),
6942
7122
  {
6943
7123
  type: "text",
6944
7124
  text: "{REF}",
@@ -6947,18 +7127,18 @@ var ground2_right_default = modifySymbol({
6947
7127
  }
6948
7128
  ],
6949
7129
  ports: [
6950
- { ...refblocks30.left1, labels: ["1"] }
7130
+ { ...refblocks33.left1, labels: ["1"] }
6951
7131
  // TODO add more "standard" labels
6952
7132
  ],
6953
- center: { x: bounds30.centerX, y: bounds30.centerY }
7133
+ center: { x: bounds33.centerX, y: bounds33.centerY }
6954
7134
  }).changeTextAnchor("{VAL}", "middle_top").rotateRightFacingSymbol("right").labelPort("left1", ["1"]).changeTextAnchor("{REF}", "middle_right").build();
6955
7135
 
6956
7136
  // symbols/ground2_up.ts
6957
- var { paths: paths31, texts: texts31, bounds: bounds31, refblocks: refblocks31, circles: circles29 } = ground2_default;
7137
+ var { paths: paths34, texts: texts34, bounds: bounds34, refblocks: refblocks34, circles: circles32 } = ground2_default;
6958
7138
  var ground2_up_default = modifySymbol({
6959
7139
  primitives: [
6960
- ...Object.values(paths31),
6961
- ...Object.values(circles29),
7140
+ ...Object.values(paths34),
7141
+ ...Object.values(circles32),
6962
7142
  {
6963
7143
  type: "text",
6964
7144
  text: "{REF}",
@@ -6967,10 +7147,10 @@ var ground2_up_default = modifySymbol({
6967
7147
  }
6968
7148
  ],
6969
7149
  ports: [
6970
- { ...refblocks31.left1, labels: ["1"] }
7150
+ { ...refblocks34.left1, labels: ["1"] }
6971
7151
  // TODO add more "standard" labels
6972
7152
  ],
6973
- center: { x: bounds31.centerX, y: bounds31.centerY }
7153
+ center: { x: bounds34.centerX, y: bounds34.centerY }
6974
7154
  }).rotateRightFacingSymbol("up").labelPort("left1", ["1"]).changeTextAnchor("{REF}", "middle_top").build();
6975
7155
 
6976
7156
  // assets/generated/gunn_diode.json
@@ -7091,7 +7271,7 @@ var gunn_diode_default = {
7091
7271
  };
7092
7272
 
7093
7273
  // symbols/gunn_diode_horz.ts
7094
- var { paths: paths32, texts: texts32, bounds: bounds32, refblocks: refblocks32, circles: circles30 } = gunn_diode_default;
7274
+ var { paths: paths35, texts: texts35, bounds: bounds35, refblocks: refblocks35, circles: circles33 } = gunn_diode_default;
7095
7275
  var gunn_diode_horz_default = modifySymbol(gunn_diode_default).changeTextAnchor("{VAL}", "middle_top").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_bottom").build();
7096
7276
 
7097
7277
  // symbols/gunn_diode_vert.ts
@@ -7856,12 +8036,12 @@ var illuminated_push_button_normally_open_horz_default = modifySymbol(illuminate
7856
8036
 
7857
8037
  // symbols/illuminated_push_button_normally_open_vert.ts
7858
8038
  var rotatedSymbol6 = rotateSymbol(illuminated_push_button_normally_open_horz_default);
7859
- var texts33 = rotatedSymbol6.primitives.filter((p) => p.type === "text");
7860
- var val18 = texts33.find((t) => t.text === "{VAL}");
8039
+ var texts36 = rotatedSymbol6.primitives.filter((p) => p.type === "text");
8040
+ var val18 = texts36.find((t) => t.text === "{VAL}");
7861
8041
  val18.x = -0.35;
7862
8042
  val18.y = 0;
7863
8043
  val18.anchor = "middle_right";
7864
- var ref18 = texts33.find((t) => t.text === "{REF}");
8044
+ var ref18 = texts36.find((t) => t.text === "{REF}");
7865
8045
  ref18.y = 0;
7866
8046
  ref18.x = 0.35;
7867
8047
  ref18.anchor = "middle_left";
@@ -9263,22 +9443,22 @@ var inductor_default = {
9263
9443
  };
9264
9444
 
9265
9445
  // symbols/inductor_right.ts
9266
- var { paths: paths33, texts: texts34, bounds: bounds33, refblocks: refblocks33, circles: circles31 } = inductor_default;
9446
+ var { paths: paths36, texts: texts37, bounds: bounds36, refblocks: refblocks36, circles: circles34 } = inductor_default;
9267
9447
  var inductor_right_default = defineSymbol({
9268
9448
  primitives: [
9269
- ...Object.values(paths33),
9270
- ...Object.values(circles31),
9271
- { ...texts34.top1, anchor: "middle_bottom" },
9272
- { ...texts34.bottom1, anchor: "middle_top" }
9449
+ ...Object.values(paths36),
9450
+ ...Object.values(circles34),
9451
+ { ...texts37.top1, anchor: "middle_bottom" },
9452
+ { ...texts37.bottom1, anchor: "middle_top" }
9273
9453
  ],
9274
9454
  ports: [
9275
- { ...refblocks33.left1, labels: ["1"] },
9455
+ { ...refblocks36.left1, labels: ["1"] },
9276
9456
  // TODO add more "standard" labels
9277
- { ...refblocks33.right1, labels: ["2"] }
9457
+ { ...refblocks36.right1, labels: ["2"] }
9278
9458
  // TODO add more "standard" labels
9279
9459
  ],
9280
- size: { width: bounds33.width, height: bounds33.height },
9281
- center: { x: bounds33.centerX, y: bounds33.centerY }
9460
+ size: { width: bounds36.width, height: bounds36.height },
9461
+ center: { x: bounds36.centerX, y: bounds36.centerY }
9282
9462
  });
9283
9463
 
9284
9464
  // symbols/inductor_up.ts
@@ -9535,8 +9715,8 @@ var laser_diode_horz_default = modifySymbol(laser_diode_default).changeTextAncho
9535
9715
 
9536
9716
  // symbols/laser_diode_vert.ts
9537
9717
  var rotatedSymbol7 = rotateSymbol(laser_diode_horz_default);
9538
- var texts35 = rotatedSymbol7.primitives.filter((p) => p.type === "text");
9539
- var ref19 = texts35.find((t) => t.text === "{VAL}");
9718
+ var texts38 = rotatedSymbol7.primitives.filter((p) => p.type === "text");
9719
+ var ref19 = texts38.find((t) => t.text === "{VAL}");
9540
9720
  ref19.x = -0.52;
9541
9721
  ref19.anchor = "middle_right";
9542
9722
  var laser_diode_vert_default = rotatedSymbol7;
@@ -9757,22 +9937,22 @@ var led_default = {
9757
9937
  };
9758
9938
 
9759
9939
  // symbols/led_right.ts
9760
- var { paths: paths34, texts: texts36, bounds: bounds34, refblocks: refblocks34, circles: circles32 } = led_default;
9940
+ var { paths: paths37, texts: texts39, bounds: bounds37, refblocks: refblocks37, circles: circles35 } = led_default;
9761
9941
  var led_right_default = defineSymbol({
9762
9942
  primitives: [
9763
- ...Object.values(paths34),
9764
- ...Object.values(circles32),
9765
- { ...texts36.bottom1, anchor: "middle_top" },
9766
- { ...texts36.right1, anchor: "middle_bottom" }
9943
+ ...Object.values(paths37),
9944
+ ...Object.values(circles35),
9945
+ { ...texts39.bottom1, anchor: "middle_top" },
9946
+ { ...texts39.right1, anchor: "middle_bottom" }
9767
9947
  ],
9768
9948
  ports: [
9769
- { ...refblocks34.left1, labels: ["1"] },
9949
+ { ...refblocks37.left1, labels: ["1"] },
9770
9950
  // TODO add more "standard" labels
9771
- { ...refblocks34.right1, labels: ["2"] }
9951
+ { ...refblocks37.right1, labels: ["2"] }
9772
9952
  // TODO add more "standard" labels
9773
9953
  ],
9774
- size: { width: bounds34.width, height: bounds34.height },
9775
- center: { x: bounds34.centerX, y: bounds34.centerY }
9954
+ size: { width: bounds37.width, height: bounds37.height },
9955
+ center: { x: bounds37.centerX, y: bounds37.centerY }
9776
9956
  });
9777
9957
 
9778
9958
  // symbols/led_up.ts
@@ -10035,32 +10215,32 @@ var light_dependent_resistor_default = {
10035
10215
  };
10036
10216
 
10037
10217
  // symbols/light_dependent_resistor_horz.ts
10038
- var { paths: paths35, texts: texts37, bounds: bounds35, refblocks: refblocks35, circles: circles33 } = light_dependent_resistor_default;
10218
+ var { paths: paths38, texts: texts40, bounds: bounds38, refblocks: refblocks38, circles: circles36 } = light_dependent_resistor_default;
10039
10219
  var light_dependent_resistor_horz_default = defineSymbol({
10040
10220
  primitives: [
10041
- ...Object.values(paths35),
10042
- ...Object.values(circles33),
10043
- { ...texts37.top1, anchor: "middle_left", x: 0 },
10044
- { ...texts37.bottom1, anchor: "middle_left", x: 0 }
10221
+ ...Object.values(paths38),
10222
+ ...Object.values(circles36),
10223
+ { ...texts40.top1, anchor: "middle_left", x: 0 },
10224
+ { ...texts40.bottom1, anchor: "middle_left", x: 0 }
10045
10225
  ],
10046
10226
  ports: [
10047
- { ...refblocks35.left1, labels: ["1"] },
10227
+ { ...refblocks38.left1, labels: ["1"] },
10048
10228
  // TODO add more "standard" labels
10049
- { ...refblocks35.right1, labels: ["2"] }
10229
+ { ...refblocks38.right1, labels: ["2"] }
10050
10230
  // TODO add more "standard" labels
10051
10231
  ],
10052
- size: { width: bounds35.width, height: bounds35.height },
10053
- center: { x: bounds35.centerX, y: bounds35.centerY }
10232
+ size: { width: bounds38.width, height: bounds38.height },
10233
+ center: { x: bounds38.centerX, y: bounds38.centerY }
10054
10234
  });
10055
10235
 
10056
10236
  // symbols/light_dependent_resistor_vert.ts
10057
10237
  var rotatedSymbol8 = rotateSymbol(light_dependent_resistor_horz_default);
10058
- var texts38 = rotatedSymbol8.primitives.filter((p) => p.type === "text");
10059
- var val21 = texts38.find((t) => t.text === "{VAL}");
10238
+ var texts41 = rotatedSymbol8.primitives.filter((p) => p.type === "text");
10239
+ var val21 = texts41.find((t) => t.text === "{VAL}");
10060
10240
  val21.x = -0.35;
10061
10241
  val21.y = 0;
10062
10242
  val21.anchor = "middle_right";
10063
- var ref22 = texts38.find((t) => t.text === "{REF}");
10243
+ var ref22 = texts41.find((t) => t.text === "{REF}");
10064
10244
  ref22.y = 0;
10065
10245
  ref22.x = 0.35;
10066
10246
  ref22.anchor = "middle_left";
@@ -10337,23 +10517,23 @@ var mosfet_depletion_normally_on_default = {
10337
10517
  };
10338
10518
 
10339
10519
  // symbols/mosfet_depletion_normally_on_horz.ts
10340
- var { paths: paths36, texts: texts39, bounds: bounds36, refblocks: refblocks36 } = mosfet_depletion_normally_on_default;
10520
+ var { paths: paths39, texts: texts42, bounds: bounds39, refblocks: refblocks39 } = mosfet_depletion_normally_on_default;
10341
10521
  var mosfet_depletion_normally_on_horz_default = defineSymbol({
10342
10522
  primitives: [
10343
- ...Object.values(paths36),
10344
- { ...texts39.right1, anchor: "middle_left" },
10345
- { ...texts39.right2, anchor: "middle_left" }
10523
+ ...Object.values(paths39),
10524
+ { ...texts42.right1, anchor: "middle_left" },
10525
+ { ...texts42.right2, anchor: "middle_left" }
10346
10526
  ],
10347
10527
  ports: [
10348
- { ...refblocks36.top1, labels: ["1"] },
10528
+ { ...refblocks39.top1, labels: ["1"] },
10349
10529
  // TODO add more "standard" labels
10350
- { ...refblocks36.bottom1, labels: ["2"] },
10530
+ { ...refblocks39.bottom1, labels: ["2"] },
10351
10531
  // TODO add more "standard" labels
10352
- { ...refblocks36.left1, labels: ["3"] }
10532
+ { ...refblocks39.left1, labels: ["3"] }
10353
10533
  // TODO add more "standard" labels
10354
10534
  ],
10355
- size: { width: bounds36.width + 0.4, height: bounds36.height },
10356
- center: { x: bounds36.centerX + 0.2, y: bounds36.centerY }
10535
+ size: { width: bounds39.width + 0.4, height: bounds39.height },
10536
+ center: { x: bounds39.centerX + 0.2, y: bounds39.centerY }
10357
10537
  });
10358
10538
 
10359
10539
  // symbols/mosfet_depletion_normally_on_vert.ts
@@ -10979,20 +11159,20 @@ var mushroom_head_normally_open_momentary_default = {
10979
11159
  };
10980
11160
 
10981
11161
  // symbols/mushroom_head_normally_open_momentary_horz.ts
10982
- var { paths: paths37, texts: texts40, bounds: bounds37, refblocks: refblocks37, circles: circles34 } = mushroom_head_normally_open_momentary_default;
11162
+ var { paths: paths40, texts: texts43, bounds: bounds40, refblocks: refblocks40, circles: circles37 } = mushroom_head_normally_open_momentary_default;
10983
11163
  var mushroom_head_normally_open_momentary_horz_default = defineSymbol({
10984
11164
  primitives: [
10985
- ...Object.values(paths37),
10986
- ...Object.values(circles34),
10987
- { ...texts40.top1, anchor: "middle_bottom", x: 0 },
10988
- { ...texts40.bottom1, anchor: "middle_top", x: 0 }
11165
+ ...Object.values(paths40),
11166
+ ...Object.values(circles37),
11167
+ { ...texts43.top1, anchor: "middle_bottom", x: 0 },
11168
+ { ...texts43.bottom1, anchor: "middle_top", x: 0 }
10989
11169
  ],
10990
11170
  ports: [
10991
- { ...refblocks37.left1, labels: ["1"] },
10992
- { ...refblocks37.right1, labels: ["2"] }
11171
+ { ...refblocks40.left1, labels: ["1"] },
11172
+ { ...refblocks40.right1, labels: ["2"] }
10993
11173
  ],
10994
- size: { width: bounds37.width, height: bounds37.height },
10995
- center: { x: bounds37.centerX + 6e-3, y: bounds37.centerY + 0.06 }
11174
+ size: { width: bounds40.width, height: bounds40.height },
11175
+ center: { x: bounds40.centerX + 6e-3, y: bounds40.centerY + 0.06 }
10996
11176
  });
10997
11177
 
10998
11178
  // symbols/mushroom_head_normally_open_momentary_vert.ts
@@ -11209,34 +11389,34 @@ var n_channel_d_mosfet_transistor_default = {
11209
11389
  };
11210
11390
 
11211
11391
  // symbols/n_channel_d_mosfet_transistor_horz.ts
11212
- var { paths: paths38, texts: texts41, bounds: bounds38, refblocks: refblocks38, circles: circles35 } = n_channel_d_mosfet_transistor_default;
11392
+ var { paths: paths41, texts: texts44, bounds: bounds41, refblocks: refblocks41, circles: circles38 } = n_channel_d_mosfet_transistor_default;
11213
11393
  var n_channel_d_mosfet_transistor_horz_default = defineSymbol({
11214
11394
  primitives: [
11215
- ...Object.values(paths38),
11216
- ...Object.values(circles35),
11217
- { ...texts41.top1, anchor: "middle_right", x: 0 },
11218
- { ...texts41.bottom1, anchor: "middle_right", x: 0 }
11395
+ ...Object.values(paths41),
11396
+ ...Object.values(circles38),
11397
+ { ...texts44.top1, anchor: "middle_right", x: 0 },
11398
+ { ...texts44.bottom1, anchor: "middle_right", x: 0 }
11219
11399
  ],
11220
11400
  ports: [
11221
- { ...refblocks38.top1, labels: ["1", "drain"] },
11401
+ { ...refblocks41.top1, labels: ["1", "drain"] },
11222
11402
  // TODO add more "standard" labels
11223
- { ...refblocks38.bottom1, labels: ["2", "source"] },
11403
+ { ...refblocks41.bottom1, labels: ["2", "source"] },
11224
11404
  // TODO add more "standard" labels
11225
- { ...refblocks38.left1, labels: ["3", "gate"] }
11405
+ { ...refblocks41.left1, labels: ["3", "gate"] }
11226
11406
  // TODO add more "standard" labels
11227
11407
  ],
11228
- size: { width: bounds38.width, height: bounds38.height },
11229
- center: { x: bounds38.centerX, y: bounds38.centerY }
11408
+ size: { width: bounds41.width, height: bounds41.height },
11409
+ center: { x: bounds41.centerX, y: bounds41.centerY }
11230
11410
  });
11231
11411
 
11232
11412
  // symbols/n_channel_d_mosfet_transistor_vert.ts
11233
11413
  var rotatedSymbol9 = rotateSymbol(n_channel_d_mosfet_transistor_horz_default);
11234
- var texts42 = rotatedSymbol9.primitives.filter((p) => p.type === "text");
11235
- var val24 = texts42.find((t) => t.text === "{VAL}");
11414
+ var texts45 = rotatedSymbol9.primitives.filter((p) => p.type === "text");
11415
+ var val24 = texts45.find((t) => t.text === "{VAL}");
11236
11416
  val24.x = -0.35;
11237
11417
  val24.y = 0;
11238
11418
  val24.anchor = "middle_right";
11239
- var ref25 = texts42.find((t) => t.text === "{REF}");
11419
+ var ref25 = texts45.find((t) => t.text === "{REF}");
11240
11420
  ref25.y = 0;
11241
11421
  ref25.x = 0.35;
11242
11422
  ref25.anchor = "middle_left";
@@ -11470,34 +11650,34 @@ var n_channel_e_mosfet_transistor_default = {
11470
11650
  };
11471
11651
 
11472
11652
  // symbols/n_channel_e_mosfet_transistor_horz.ts
11473
- var { paths: paths39, texts: texts43, bounds: bounds39, refblocks: refblocks39, circles: circles36 } = n_channel_e_mosfet_transistor_default;
11653
+ var { paths: paths42, texts: texts46, bounds: bounds42, refblocks: refblocks42, circles: circles39 } = n_channel_e_mosfet_transistor_default;
11474
11654
  var n_channel_e_mosfet_transistor_horz_default = defineSymbol({
11475
11655
  primitives: [
11476
- ...Object.values(paths39),
11477
- ...Object.values(circles36),
11478
- { ...texts43.top1, anchor: "middle_right", x: 0 },
11479
- { ...texts43.bottom1, anchor: "middle_right", x: 0 }
11656
+ ...Object.values(paths42),
11657
+ ...Object.values(circles39),
11658
+ { ...texts46.top1, anchor: "middle_right", x: 0 },
11659
+ { ...texts46.bottom1, anchor: "middle_right", x: 0 }
11480
11660
  ],
11481
11661
  ports: [
11482
- { ...refblocks39.top1, labels: ["1", "drain"] },
11662
+ { ...refblocks42.top1, labels: ["1", "drain"] },
11483
11663
  // TODO add more "standard" labels
11484
- { ...refblocks39.bottom1, labels: ["2", "source"] },
11664
+ { ...refblocks42.bottom1, labels: ["2", "source"] },
11485
11665
  // TODO add more "standard" labels
11486
- { ...refblocks39.left1, labels: ["3", "gate"] }
11666
+ { ...refblocks42.left1, labels: ["3", "gate"] }
11487
11667
  // TODO add more "standard" labels
11488
11668
  ],
11489
- size: { width: bounds39.width, height: bounds39.height },
11490
- center: { x: bounds39.centerX, y: bounds39.centerY }
11669
+ size: { width: bounds42.width, height: bounds42.height },
11670
+ center: { x: bounds42.centerX, y: bounds42.centerY }
11491
11671
  });
11492
11672
 
11493
11673
  // symbols/n_channel_e_mosfet_transistor_vert.ts
11494
11674
  var rotatedSymbol10 = rotateSymbol(n_channel_e_mosfet_transistor_horz_default);
11495
- var texts44 = rotatedSymbol10.primitives.filter((p) => p.type === "text");
11496
- var val25 = texts44.find((t) => t.text === "{VAL}");
11675
+ var texts47 = rotatedSymbol10.primitives.filter((p) => p.type === "text");
11676
+ var val25 = texts47.find((t) => t.text === "{VAL}");
11497
11677
  val25.x = -0.35;
11498
11678
  val25.y = 0;
11499
11679
  val25.anchor = "middle_right";
11500
- var ref26 = texts44.find((t) => t.text === "{REF}");
11680
+ var ref26 = texts47.find((t) => t.text === "{REF}");
11501
11681
  ref26.y = 0;
11502
11682
  ref26.x = 0.35;
11503
11683
  ref26.anchor = "middle_left";
@@ -11671,34 +11851,34 @@ var njfet_transistor_default = {
11671
11851
  };
11672
11852
 
11673
11853
  // symbols/njfet_transistor_horz.ts
11674
- var { paths: paths40, texts: texts45, bounds: bounds40, refblocks: refblocks40, circles: circles37 } = njfet_transistor_default;
11854
+ var { paths: paths43, texts: texts48, bounds: bounds43, refblocks: refblocks43, circles: circles40 } = njfet_transistor_default;
11675
11855
  var njfet_transistor_horz_default = defineSymbol({
11676
11856
  primitives: [
11677
- ...Object.values(paths40),
11678
- ...Object.values(circles37),
11679
- { ...texts45.top1, anchor: "middle_right", x: 0 },
11680
- { ...texts45.bottom1, anchor: "middle_right", x: 0 }
11857
+ ...Object.values(paths43),
11858
+ ...Object.values(circles40),
11859
+ { ...texts48.top1, anchor: "middle_right", x: 0 },
11860
+ { ...texts48.bottom1, anchor: "middle_right", x: 0 }
11681
11861
  ],
11682
11862
  ports: [
11683
- { ...refblocks40.top1, labels: ["1", "drain"] },
11863
+ { ...refblocks43.top1, labels: ["1", "drain"] },
11684
11864
  // TODO add more "standard" labels
11685
- { ...refblocks40.bottom1, labels: ["2", "source"] },
11865
+ { ...refblocks43.bottom1, labels: ["2", "source"] },
11686
11866
  // TODO add more "standard" labels
11687
- { ...refblocks40.left1, labels: ["3", "gate"] }
11867
+ { ...refblocks43.left1, labels: ["3", "gate"] }
11688
11868
  // TODO add more "standard" labels
11689
11869
  ],
11690
- size: { width: bounds40.width, height: bounds40.height },
11691
- center: { x: bounds40.centerX, y: bounds40.centerY }
11870
+ size: { width: bounds43.width, height: bounds43.height },
11871
+ center: { x: bounds43.centerX, y: bounds43.centerY }
11692
11872
  });
11693
11873
 
11694
11874
  // symbols/njfet_transistor_vert.ts
11695
11875
  var rotatedSymbol11 = rotateSymbol(njfet_transistor_horz_default);
11696
- var texts46 = rotatedSymbol11.primitives.filter((p) => p.type === "text");
11697
- var val26 = texts46.find((t) => t.text === "{VAL}");
11876
+ var texts49 = rotatedSymbol11.primitives.filter((p) => p.type === "text");
11877
+ var val26 = texts49.find((t) => t.text === "{VAL}");
11698
11878
  val26.x = -0.35;
11699
11879
  val26.y = 0;
11700
11880
  val26.anchor = "middle_right";
11701
- var ref27 = texts46.find((t) => t.text === "{REF}");
11881
+ var ref27 = texts49.find((t) => t.text === "{REF}");
11702
11882
  ref27.y = 0;
11703
11883
  ref27.x = 0.35;
11704
11884
  ref27.anchor = "middle_left";
@@ -11872,13 +12052,13 @@ var npn_bipolar_transistor_default = {
11872
12052
  };
11873
12053
 
11874
12054
  // symbols/npn_bipolar_transistor_horz.ts
11875
- var { paths: paths41, texts: texts47, bounds: bounds41, refblocks: refblocks41, circles: circles38 } = npn_bipolar_transistor_default;
12055
+ var { paths: paths44, texts: texts50, bounds: bounds44, refblocks: refblocks44, circles: circles41 } = npn_bipolar_transistor_default;
11876
12056
  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();
11877
12057
 
11878
12058
  // symbols/npn_bipolar_transistor_vert.ts
11879
12059
  var rotatedSymbol12 = rotateSymbol(npn_bipolar_transistor_horz_default);
11880
- var texts48 = rotatedSymbol12.primitives.filter((p) => p.type === "text");
11881
- var ref28 = texts48.find((t) => t.text === "{REF}");
12060
+ var texts51 = rotatedSymbol12.primitives.filter((p) => p.type === "text");
12061
+ var ref28 = texts51.find((t) => t.text === "{REF}");
11882
12062
  ref28.anchor = "middle_left";
11883
12063
  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();
11884
12064
 
@@ -12502,34 +12682,34 @@ var p_channel_d_mosfet_transistor_default = {
12502
12682
  };
12503
12683
 
12504
12684
  // symbols/p_channel_d_mosfet_transistor_horz.ts
12505
- var { paths: paths42, texts: texts49, bounds: bounds42, refblocks: refblocks42, circles: circles39 } = p_channel_d_mosfet_transistor_default;
12685
+ var { paths: paths45, texts: texts52, bounds: bounds45, refblocks: refblocks45, circles: circles42 } = p_channel_d_mosfet_transistor_default;
12506
12686
  var p_channel_d_mosfet_transistor_horz_default = defineSymbol({
12507
12687
  primitives: [
12508
- ...Object.values(paths42),
12509
- ...Object.values(circles39),
12510
- { ...texts49.top1, anchor: "middle_right", x: 0 },
12511
- { ...texts49.bottom1, anchor: "middle_right", x: 0 }
12688
+ ...Object.values(paths45),
12689
+ ...Object.values(circles42),
12690
+ { ...texts52.top1, anchor: "middle_right", x: 0 },
12691
+ { ...texts52.bottom1, anchor: "middle_right", x: 0 }
12512
12692
  ],
12513
12693
  ports: [
12514
- { ...refblocks42.top1, labels: ["1", "drain"] },
12694
+ { ...refblocks45.top1, labels: ["1", "drain"] },
12515
12695
  // TODO add more "standard" labels
12516
- { ...refblocks42.bottom1, labels: ["2", "source"] },
12696
+ { ...refblocks45.bottom1, labels: ["2", "source"] },
12517
12697
  // TODO add more "standard" labels
12518
- { ...refblocks42.left1, labels: ["3", "gate"] }
12698
+ { ...refblocks45.left1, labels: ["3", "gate"] }
12519
12699
  // TODO add more "standard" labels
12520
12700
  ],
12521
- size: { width: bounds42.width, height: bounds42.height },
12522
- center: { x: bounds42.centerX, y: bounds42.centerY }
12701
+ size: { width: bounds45.width, height: bounds45.height },
12702
+ center: { x: bounds45.centerX, y: bounds45.centerY }
12523
12703
  });
12524
12704
 
12525
12705
  // symbols/p_channel_d_mosfet_transistor_vert.ts
12526
12706
  var rotatedSymbol13 = rotateSymbol(p_channel_d_mosfet_transistor_horz_default);
12527
- var texts50 = rotatedSymbol13.primitives.filter((p) => p.type === "text");
12528
- var val27 = texts50.find((t) => t.text === "{VAL}");
12707
+ var texts53 = rotatedSymbol13.primitives.filter((p) => p.type === "text");
12708
+ var val27 = texts53.find((t) => t.text === "{VAL}");
12529
12709
  val27.x = -0.35;
12530
12710
  val27.y = 0;
12531
12711
  val27.anchor = "middle_right";
12532
- var ref29 = texts50.find((t) => t.text === "{REF}");
12712
+ var ref29 = texts53.find((t) => t.text === "{REF}");
12533
12713
  ref29.y = 0;
12534
12714
  ref29.x = 0.35;
12535
12715
  ref29.anchor = "middle_left";
@@ -12763,34 +12943,34 @@ var p_channel_e_mosfet_transistor_default = {
12763
12943
  };
12764
12944
 
12765
12945
  // symbols/p_channel_e_mosfet_transistor_horz.ts
12766
- var { paths: paths43, texts: texts51, bounds: bounds43, refblocks: refblocks43, circles: circles40 } = p_channel_e_mosfet_transistor_default;
12946
+ var { paths: paths46, texts: texts54, bounds: bounds46, refblocks: refblocks46, circles: circles43 } = p_channel_e_mosfet_transistor_default;
12767
12947
  var p_channel_e_mosfet_transistor_horz_default = defineSymbol({
12768
12948
  primitives: [
12769
- ...Object.values(paths43),
12770
- ...Object.values(circles40),
12771
- { ...texts51.top1, anchor: "middle_right", x: 0 },
12772
- { ...texts51.bottom1, anchor: "middle_right", x: 0 }
12949
+ ...Object.values(paths46),
12950
+ ...Object.values(circles43),
12951
+ { ...texts54.top1, anchor: "middle_right", x: 0 },
12952
+ { ...texts54.bottom1, anchor: "middle_right", x: 0 }
12773
12953
  ],
12774
12954
  ports: [
12775
- { ...refblocks43.top1, labels: ["1", "drain"] },
12955
+ { ...refblocks46.top1, labels: ["1", "drain"] },
12776
12956
  // TODO add more "standard" labels
12777
- { ...refblocks43.bottom1, labels: ["2", "source"] },
12957
+ { ...refblocks46.bottom1, labels: ["2", "source"] },
12778
12958
  // TODO add more "standard" labels
12779
- { ...refblocks43.left1, labels: ["3", "gate"] }
12959
+ { ...refblocks46.left1, labels: ["3", "gate"] }
12780
12960
  // TODO add more "standard" labels
12781
12961
  ],
12782
- size: { width: bounds43.width, height: bounds43.height },
12783
- center: { x: bounds43.centerX, y: bounds43.centerY }
12962
+ size: { width: bounds46.width, height: bounds46.height },
12963
+ center: { x: bounds46.centerX, y: bounds46.centerY }
12784
12964
  });
12785
12965
 
12786
12966
  // symbols/p_channel_e_mosfet_transistor_vert.ts
12787
12967
  var rotatedSymbol14 = rotateSymbol(p_channel_e_mosfet_transistor_horz_default);
12788
- var texts52 = rotatedSymbol14.primitives.filter((p) => p.type === "text");
12789
- var val28 = texts52.find((t) => t.text === "{VAL}");
12968
+ var texts55 = rotatedSymbol14.primitives.filter((p) => p.type === "text");
12969
+ var val28 = texts55.find((t) => t.text === "{VAL}");
12790
12970
  val28.x = -0.35;
12791
12971
  val28.y = 0;
12792
12972
  val28.anchor = "middle_right";
12793
- var ref30 = texts52.find((t) => t.text === "{REF}");
12973
+ var ref30 = texts55.find((t) => t.text === "{REF}");
12794
12974
  ref30.y = 0;
12795
12975
  ref30.x = 0.35;
12796
12976
  ref30.anchor = "middle_left";
@@ -13025,8 +13205,8 @@ var photodiode_horz_default = modifySymbol(photodiode_default).changeTextAnchor(
13025
13205
 
13026
13206
  // symbols/photodiode_vert.ts
13027
13207
  var rotatedSymbol15 = rotateSymbol(photodiode_horz_default);
13028
- var texts53 = rotatedSymbol15.primitives.filter((p) => p.type === "text");
13029
- var ref31 = texts53.find((t) => t.text === "{REF}");
13208
+ var texts56 = rotatedSymbol15.primitives.filter((p) => p.type === "text");
13209
+ var ref31 = texts56.find((t) => t.text === "{REF}");
13030
13210
  ref31.y = 0;
13031
13211
  ref31.anchor = "middle_left";
13032
13212
  var photodiode_vert_default = rotatedSymbol15;
@@ -13199,34 +13379,34 @@ var pjfet_transistor_default = {
13199
13379
  };
13200
13380
 
13201
13381
  // symbols/pjfet_transistor_horz.ts
13202
- var { paths: paths44, texts: texts54, bounds: bounds44, refblocks: refblocks44, circles: circles41 } = pjfet_transistor_default;
13382
+ var { paths: paths47, texts: texts57, bounds: bounds47, refblocks: refblocks47, circles: circles44 } = pjfet_transistor_default;
13203
13383
  var pjfet_transistor_horz_default = defineSymbol({
13204
13384
  primitives: [
13205
- ...Object.values(paths44),
13206
- ...Object.values(circles41),
13207
- { ...texts54.top1, anchor: "middle_right", x: 0 },
13208
- { ...texts54.bottom1, anchor: "middle_right" }
13385
+ ...Object.values(paths47),
13386
+ ...Object.values(circles44),
13387
+ { ...texts57.top1, anchor: "middle_right", x: 0 },
13388
+ { ...texts57.bottom1, anchor: "middle_right" }
13209
13389
  ],
13210
13390
  ports: [
13211
- { ...refblocks44.top1, labels: ["1", "drain"] },
13391
+ { ...refblocks47.top1, labels: ["1", "drain"] },
13212
13392
  // TODO add more "standard" labels
13213
- { ...refblocks44.bottom1, labels: ["2", "source"] },
13393
+ { ...refblocks47.bottom1, labels: ["2", "source"] },
13214
13394
  // TODO add more "standard" labels
13215
- { ...refblocks44.left1, labels: ["3", "gate"] }
13395
+ { ...refblocks47.left1, labels: ["3", "gate"] }
13216
13396
  // TODO add more "standard" labels
13217
13397
  ],
13218
- size: { width: bounds44.width, height: bounds44.height },
13219
- center: { x: bounds44.centerX, y: bounds44.centerY }
13398
+ size: { width: bounds47.width, height: bounds47.height },
13399
+ center: { x: bounds47.centerX, y: bounds47.centerY }
13220
13400
  });
13221
13401
 
13222
13402
  // symbols/pjfet_transistor_vert.ts
13223
13403
  var rotatedSymbol16 = rotateSymbol(pjfet_transistor_horz_default);
13224
- var texts55 = rotatedSymbol16.primitives.filter((p) => p.type === "text");
13225
- var val29 = texts55.find((t) => t.text === "{VAL}");
13404
+ var texts58 = rotatedSymbol16.primitives.filter((p) => p.type === "text");
13405
+ var val29 = texts58.find((t) => t.text === "{VAL}");
13226
13406
  val29.x = -0.35;
13227
13407
  val29.y = 0;
13228
13408
  val29.anchor = "middle_right";
13229
- var ref32 = texts55.find((t) => t.text === "{REF}");
13409
+ var ref32 = texts58.find((t) => t.text === "{REF}");
13230
13410
  ref32.y = 0;
13231
13411
  ref32.x = 0.35;
13232
13412
  ref32.anchor = "middle_left";
@@ -13404,8 +13584,8 @@ var pnp_bipolar_transistor_horz_default = modifySymbol(pnp_bipolar_transistor_de
13404
13584
 
13405
13585
  // symbols/pnp_bipolar_transistor_vert.ts
13406
13586
  var rotatedSymbol17 = rotateSymbol(pnp_bipolar_transistor_horz_default);
13407
- var texts56 = rotatedSymbol17.primitives.filter((p) => p.type === "text");
13408
- var ref33 = texts56.find((t) => t.text === "{REF}");
13587
+ var texts59 = rotatedSymbol17.primitives.filter((p) => p.type === "text");
13588
+ var ref33 = texts59.find((t) => t.text === "{REF}");
13409
13589
  ref33.anchor = "middle_left";
13410
13590
  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();
13411
13591
 
@@ -13819,21 +13999,21 @@ var potentiometer_default = {
13819
13999
  };
13820
14000
 
13821
14001
  // symbols/potentiometer_horz.ts
13822
- var { paths: paths45, texts: texts57, bounds: bounds45, refblocks: refblocks45 } = potentiometer_default;
14002
+ var { paths: paths48, texts: texts60, bounds: bounds48, refblocks: refblocks48 } = potentiometer_default;
13823
14003
  var potentiometer_horz_default = defineSymbol({
13824
14004
  primitives: [
13825
- ...Object.values(paths45),
13826
- { ...texts57.bottom1, y: 0.35, anchor: "middle_top" },
13827
- { ...texts57.top1, anchor: "middle_left" }
14005
+ ...Object.values(paths48),
14006
+ { ...texts60.bottom1, y: 0.35, anchor: "middle_top" },
14007
+ { ...texts60.top1, anchor: "middle_left" }
13828
14008
  ],
13829
14009
  ports: [
13830
- { ...refblocks45.left1, labels: ["1"] },
14010
+ { ...refblocks48.left1, labels: ["1"] },
13831
14011
  // TODO add more "standard" labels
13832
- { ...refblocks45.right1, labels: ["2"] }
14012
+ { ...refblocks48.right1, labels: ["2"] }
13833
14013
  // TODO add more "standard" labels
13834
14014
  ],
13835
- size: { width: bounds45.width + 0.05, height: bounds45.height },
13836
- center: { x: bounds45.centerX, y: bounds45.centerY }
14015
+ size: { width: bounds48.width + 0.05, height: bounds48.height },
14016
+ center: { x: bounds48.centerX, y: bounds48.centerY }
13837
14017
  });
13838
14018
 
13839
14019
  // symbols/potentiometer_vert.ts
@@ -13996,21 +14176,21 @@ var potentiometer2_default = {
13996
14176
  };
13997
14177
 
13998
14178
  // symbols/potentiometer2_right.ts
13999
- var { paths: paths46, texts: texts58, bounds: bounds46, refblocks: refblocks46 } = potentiometer2_default;
14179
+ var { paths: paths49, texts: texts61, bounds: bounds49, refblocks: refblocks49 } = potentiometer2_default;
14000
14180
  var potentiometer2_right_default = defineSymbol({
14001
14181
  primitives: [
14002
- ...Object.values(paths46),
14003
- { ...texts58.bottom1, x: 0, y: -0.35, anchor: "middle_top" },
14004
- { ...texts58.top1, x: 0, y: 0.35, anchor: "middle_bottom" }
14182
+ ...Object.values(paths49),
14183
+ { ...texts61.bottom1, x: 0, y: -0.35, anchor: "middle_top" },
14184
+ { ...texts61.top1, x: 0, y: 0.35, anchor: "middle_bottom" }
14005
14185
  ],
14006
14186
  ports: [
14007
- { ...refblocks46.left1, labels: ["1"] },
14187
+ { ...refblocks49.left1, labels: ["1"] },
14008
14188
  // TODO add more "standard" labels
14009
- { ...refblocks46.right1, labels: ["2"] }
14189
+ { ...refblocks49.right1, labels: ["2"] }
14010
14190
  // TODO add more "standard" labels
14011
14191
  ],
14012
- size: { width: bounds46.width + 0.05, height: bounds46.height },
14013
- center: { x: bounds46.centerX, y: bounds46.centerY }
14192
+ size: { width: bounds49.width + 0.05, height: bounds49.height },
14193
+ center: { x: bounds49.centerX, y: bounds49.centerY }
14014
14194
  });
14015
14195
 
14016
14196
  // symbols/potentiometer2_down.ts
@@ -14255,11 +14435,11 @@ var power_factor_meter_default = {
14255
14435
  };
14256
14436
 
14257
14437
  // symbols/power_factor_meter_horz.ts
14258
- var { paths: paths47, texts: texts59, bounds: bounds47, refblocks: refblocks47, circles: circles42 } = power_factor_meter_default;
14438
+ var { paths: paths50, texts: texts62, bounds: bounds50, refblocks: refblocks50, circles: circles45 } = power_factor_meter_default;
14259
14439
  var power_factor_meter_horz_default = defineSymbol({
14260
14440
  primitives: [
14261
- ...Object.values(paths47),
14262
- ...Object.values(circles42),
14441
+ ...Object.values(paths50),
14442
+ ...Object.values(circles45),
14263
14443
  // { ...texts.top1, anchor: "middle_left" },
14264
14444
  {
14265
14445
  type: "text",
@@ -14286,21 +14466,21 @@ var power_factor_meter_horz_default = defineSymbol({
14286
14466
  }
14287
14467
  ],
14288
14468
  ports: [
14289
- { ...refblocks47.left1, labels: ["1"] },
14469
+ { ...refblocks50.left1, labels: ["1"] },
14290
14470
  // TODO add more "standard" labels
14291
- { ...refblocks47.right1, labels: ["2"] }
14471
+ { ...refblocks50.right1, labels: ["2"] }
14292
14472
  // TODO add more "standard" labels
14293
14473
  ],
14294
- size: { width: bounds47.width, height: bounds47.height },
14295
- center: { x: bounds47.centerX, y: bounds47.centerY }
14474
+ size: { width: bounds50.width, height: bounds50.height },
14475
+ center: { x: bounds50.centerX, y: bounds50.centerY }
14296
14476
  });
14297
14477
 
14298
14478
  // symbols/power_factor_meter_vert.ts
14299
14479
  var rotatedSymbol18 = rotateSymbol(power_factor_meter_horz_default);
14300
- var texts60 = rotatedSymbol18.primitives.filter((p) => p.type === "text");
14301
- var ref37 = texts60.find((t) => t.text === "{REF}");
14302
- var val33 = texts60.find((t) => t.text === "{VAL}");
14303
- var text_cos = texts60.find((t) => t.text === "COS \u03C6");
14480
+ var texts63 = rotatedSymbol18.primitives.filter((p) => p.type === "text");
14481
+ var ref37 = texts63.find((t) => t.text === "{REF}");
14482
+ var val33 = texts63.find((t) => t.text === "{VAL}");
14483
+ var text_cos = texts63.find((t) => t.text === "COS \u03C6");
14304
14484
  ref37.x = 0.35;
14305
14485
  ref37.y = 0;
14306
14486
  ref37.anchor = "middle_left";
@@ -14431,22 +14611,22 @@ var push_button_normally_closed_momentary_default = {
14431
14611
  };
14432
14612
 
14433
14613
  // symbols/push_button_normally_closed_momentary_horz.ts
14434
- var { paths: paths48, texts: texts61, bounds: bounds48, refblocks: refblocks48, circles: circles43 } = push_button_normally_closed_momentary_default;
14614
+ var { paths: paths51, texts: texts64, bounds: bounds51, refblocks: refblocks51, circles: circles46 } = push_button_normally_closed_momentary_default;
14435
14615
  var push_button_normally_closed_momentary_horz_default = defineSymbol({
14436
14616
  primitives: [
14437
- ...Object.values(paths48),
14438
- ...Object.values(circles43),
14439
- { ...texts61.top1, anchor: "middle_left" },
14440
- { ...texts61.bottom1, anchor: "middle_left" }
14617
+ ...Object.values(paths51),
14618
+ ...Object.values(circles46),
14619
+ { ...texts64.top1, anchor: "middle_left" },
14620
+ { ...texts64.bottom1, anchor: "middle_left" }
14441
14621
  ],
14442
14622
  ports: [
14443
- { ...refblocks48.left1, labels: ["1"] },
14623
+ { ...refblocks51.left1, labels: ["1"] },
14444
14624
  // TODO add more "standard" labels
14445
- { ...refblocks48.right1, labels: ["2"] }
14625
+ { ...refblocks51.right1, labels: ["2"] }
14446
14626
  // TODO add more "standard" labels
14447
14627
  ],
14448
- size: { width: bounds48.width, height: bounds48.height },
14449
- center: { x: bounds48.centerX, y: bounds48.centerY }
14628
+ size: { width: bounds51.width, height: bounds51.height },
14629
+ center: { x: bounds51.centerX, y: bounds51.centerY }
14450
14630
  });
14451
14631
 
14452
14632
  // symbols/push_button_normally_closed_momentary_vert.ts
@@ -14601,22 +14781,22 @@ var push_button_normally_open_momentary_default = {
14601
14781
  };
14602
14782
 
14603
14783
  // symbols/push_button_normally_open_momentary_horz.ts
14604
- var { paths: paths49, texts: texts62, bounds: bounds49, refblocks: refblocks49, circles: circles44 } = push_button_normally_open_momentary_default;
14784
+ var { paths: paths52, texts: texts65, bounds: bounds52, refblocks: refblocks52, circles: circles47 } = push_button_normally_open_momentary_default;
14605
14785
  var push_button_normally_open_momentary_horz_default = defineSymbol({
14606
14786
  primitives: [
14607
- ...Object.values(paths49),
14608
- ...Object.values(circles44),
14609
- { ...texts62.top1, anchor: "middle_left" },
14610
- { ...texts62.bottom1, anchor: "middle_left" }
14787
+ ...Object.values(paths52),
14788
+ ...Object.values(circles47),
14789
+ { ...texts65.top1, anchor: "middle_left" },
14790
+ { ...texts65.bottom1, anchor: "middle_left" }
14611
14791
  ],
14612
14792
  ports: [
14613
- { ...refblocks49.left1, labels: ["1"] },
14793
+ { ...refblocks52.left1, labels: ["1"] },
14614
14794
  // TODO add more "standard" labels
14615
- { ...refblocks49.right1, labels: ["2"] }
14795
+ { ...refblocks52.right1, labels: ["2"] }
14616
14796
  // TODO add more "standard" labels
14617
14797
  ],
14618
- size: { width: bounds49.width, height: bounds49.height },
14619
- center: { x: bounds49.centerX, y: bounds49.centerY }
14798
+ size: { width: bounds52.width, height: bounds52.height },
14799
+ center: { x: bounds52.centerX, y: bounds52.centerY }
14620
14800
  });
14621
14801
 
14622
14802
  // symbols/push_button_normally_open_momentary_vert.ts
@@ -15032,26 +15212,26 @@ var rectifier_diode_default = {
15032
15212
  };
15033
15213
 
15034
15214
  // symbols/rectifier_diode_horz.ts
15035
- var { paths: paths50, texts: texts63, bounds: bounds50, refblocks: refblocks50, circles: circles45 } = rectifier_diode_default;
15215
+ var { paths: paths53, texts: texts66, bounds: bounds53, refblocks: refblocks53, circles: circles48 } = rectifier_diode_default;
15036
15216
  var rectifier_diode_horz_default = defineSymbol({
15037
15217
  primitives: [
15038
- ...Object.values(paths50),
15039
- ...Object.values(circles45),
15040
- { ...texts63.top1, anchor: "middle_right" },
15041
- { ...texts63.bottom1, anchor: "middle_right" }
15218
+ ...Object.values(paths53),
15219
+ ...Object.values(circles48),
15220
+ { ...texts66.top1, anchor: "middle_right" },
15221
+ { ...texts66.bottom1, anchor: "middle_right" }
15042
15222
  ],
15043
15223
  ports: [
15044
- { ...refblocks50.top1, labels: ["1"] },
15224
+ { ...refblocks53.top1, labels: ["1"] },
15045
15225
  // TODO add more "standard" labels
15046
- { ...refblocks50.bottom1, labels: ["2"] },
15226
+ { ...refblocks53.bottom1, labels: ["2"] },
15047
15227
  // TODO add more "standard" labels
15048
- { ...refblocks50.left1, labels: ["3"] },
15228
+ { ...refblocks53.left1, labels: ["3"] },
15049
15229
  // TODO add more "standard" labels
15050
- { ...refblocks50.right1, labels: ["4"] }
15230
+ { ...refblocks53.right1, labels: ["4"] }
15051
15231
  // TODO add more "standard" labels
15052
15232
  ],
15053
- size: { width: bounds50.width, height: bounds50.height },
15054
- center: { x: bounds50.centerX, y: bounds50.centerY }
15233
+ size: { width: bounds53.width, height: bounds53.height },
15234
+ center: { x: bounds53.centerX, y: bounds53.centerY }
15055
15235
  });
15056
15236
 
15057
15237
  // symbols/rectifier_diode_vert.ts
@@ -15273,11 +15453,11 @@ var resistor_default = {
15273
15453
  };
15274
15454
 
15275
15455
  // symbols/resistor_down.ts
15276
- var { paths: paths51, texts: texts64, bounds: bounds51, refblocks: refblocks51, circles: circles46 } = resistor_default;
15456
+ var { paths: paths54, texts: texts67, bounds: bounds54, refblocks: refblocks54, circles: circles49 } = resistor_default;
15277
15457
  var resistor_down_default = modifySymbol({
15278
15458
  primitives: [
15279
- ...Object.values(paths51),
15280
- ...Object.values(circles46),
15459
+ ...Object.values(paths54),
15460
+ ...Object.values(circles49),
15281
15461
  {
15282
15462
  type: "text",
15283
15463
  text: "{REF}",
@@ -15292,21 +15472,21 @@ var resistor_down_default = modifySymbol({
15292
15472
  }
15293
15473
  ],
15294
15474
  ports: [
15295
- { ...refblocks51.left1, labels: ["1"] },
15475
+ { ...refblocks54.left1, labels: ["1"] },
15296
15476
  // TODO add more "standard" labels
15297
- { ...refblocks51.right1, labels: ["2"] }
15477
+ { ...refblocks54.right1, labels: ["2"] }
15298
15478
  // TODO add more "standard" labels
15299
15479
  ],
15300
- size: { width: bounds51.width, height: bounds51.height },
15301
- center: { x: bounds51.centerX, y: bounds51.centerY }
15480
+ size: { width: bounds54.width, height: bounds54.height },
15481
+ center: { x: bounds54.centerX, y: bounds54.centerY }
15302
15482
  }).rotateRightFacingSymbol("down").labelPort("left", ["1"]).labelPort("right", ["2"]).changeTextAnchor("{REF}", "middle_left").changeTextAnchor("{VAL}", "middle_left").build();
15303
15483
 
15304
15484
  // symbols/resistor_left.ts
15305
- var { paths: paths52, texts: texts65, bounds: bounds52, refblocks: refblocks52, circles: circles47 } = resistor_default;
15485
+ var { paths: paths55, texts: texts68, bounds: bounds55, refblocks: refblocks55, circles: circles50 } = resistor_default;
15306
15486
  var resistor_left_default = modifySymbol({
15307
15487
  primitives: [
15308
- ...Object.values(paths52),
15309
- ...Object.values(circles47),
15488
+ ...Object.values(paths55),
15489
+ ...Object.values(circles50),
15310
15490
  {
15311
15491
  type: "text",
15312
15492
  text: "{REF}",
@@ -15321,21 +15501,21 @@ var resistor_left_default = modifySymbol({
15321
15501
  }
15322
15502
  ],
15323
15503
  ports: [
15324
- { ...refblocks52.left1, labels: ["1"] },
15504
+ { ...refblocks55.left1, labels: ["1"] },
15325
15505
  // TODO add more "standard" labels
15326
- { ...refblocks52.right1, labels: ["2"] }
15506
+ { ...refblocks55.right1, labels: ["2"] }
15327
15507
  // TODO add more "standard" labels
15328
15508
  ],
15329
- size: { width: bounds52.width, height: bounds52.height },
15330
- center: { x: bounds52.centerX, y: bounds52.centerY }
15509
+ size: { width: bounds55.width, height: bounds55.height },
15510
+ center: { x: bounds55.centerX, y: bounds55.centerY }
15331
15511
  }).rotateRightFacingSymbol("left").labelPort("left", ["1"]).labelPort("right", ["2"]).changeTextAnchor("{REF}", "middle_bottom").changeTextAnchor("{VAL}", "middle_top").build();
15332
15512
 
15333
15513
  // symbols/resistor_right.ts
15334
- var { paths: paths53, texts: texts66, bounds: bounds53, refblocks: refblocks53, circles: circles48 } = resistor_default;
15514
+ var { paths: paths56, texts: texts69, bounds: bounds56, refblocks: refblocks56, circles: circles51 } = resistor_default;
15335
15515
  var resistor_right_default = modifySymbol({
15336
15516
  primitives: [
15337
- ...Object.values(paths53),
15338
- ...Object.values(circles48),
15517
+ ...Object.values(paths56),
15518
+ ...Object.values(circles51),
15339
15519
  {
15340
15520
  type: "text",
15341
15521
  text: "{REF}",
@@ -15350,21 +15530,21 @@ var resistor_right_default = modifySymbol({
15350
15530
  }
15351
15531
  ],
15352
15532
  ports: [
15353
- { ...refblocks53.left1, labels: ["1"] },
15533
+ { ...refblocks56.left1, labels: ["1"] },
15354
15534
  // TODO add more "standard" labels
15355
- { ...refblocks53.right1, labels: ["2"] }
15535
+ { ...refblocks56.right1, labels: ["2"] }
15356
15536
  // TODO add more "standard" labels
15357
15537
  ],
15358
- size: { width: bounds53.width, height: bounds53.height },
15359
- center: { x: bounds53.centerX, y: bounds53.centerY }
15538
+ size: { width: bounds56.width, height: bounds56.height },
15539
+ center: { x: bounds56.centerX, y: bounds56.centerY }
15360
15540
  }).rotateRightFacingSymbol("right").labelPort("left", ["1"]).labelPort("right", ["2"]).changeTextAnchor("{REF}", "middle_bottom").changeTextAnchor("{VAL}", "middle_top").build();
15361
15541
 
15362
15542
  // symbols/resistor_up.ts
15363
- var { paths: paths54, texts: texts67, bounds: bounds54, refblocks: refblocks54, circles: circles49 } = resistor_default;
15543
+ var { paths: paths57, texts: texts70, bounds: bounds57, refblocks: refblocks57, circles: circles52 } = resistor_default;
15364
15544
  var resistor_up_default = modifySymbol({
15365
15545
  primitives: [
15366
- ...Object.values(paths54),
15367
- ...Object.values(circles49),
15546
+ ...Object.values(paths57),
15547
+ ...Object.values(circles52),
15368
15548
  {
15369
15549
  type: "text",
15370
15550
  text: "{REF}",
@@ -15379,13 +15559,13 @@ var resistor_up_default = modifySymbol({
15379
15559
  }
15380
15560
  ],
15381
15561
  ports: [
15382
- { ...refblocks54.left1, labels: ["1"] },
15562
+ { ...refblocks57.left1, labels: ["1"] },
15383
15563
  // TODO add more "standard" labels
15384
- { ...refblocks54.right1, labels: ["2"] }
15564
+ { ...refblocks57.right1, labels: ["2"] }
15385
15565
  // TODO add more "standard" labels
15386
15566
  ],
15387
- size: { width: bounds54.width, height: bounds54.height },
15388
- center: { x: bounds54.centerX, y: bounds54.centerY }
15567
+ size: { width: bounds57.width, height: bounds57.height },
15568
+ center: { x: bounds57.centerX, y: bounds57.centerY }
15389
15569
  }).rotateRightFacingSymbol("up").labelPort("left", ["1"]).labelPort("right", ["2"]).changeTextAnchor("{REF}", "middle_left").changeTextAnchor("{VAL}", "middle_left").build();
15390
15570
 
15391
15571
  // assets/generated/resonator.json
@@ -15734,11 +15914,11 @@ var resonator_default = {
15734
15914
  };
15735
15915
 
15736
15916
  // symbols/resonator_horz.ts
15737
- var { paths: paths55, texts: texts68, bounds: bounds55, refblocks: refblocks55, circles: circles50 } = resonator_default;
15917
+ var { paths: paths58, texts: texts71, bounds: bounds58, refblocks: refblocks58, circles: circles53 } = resonator_default;
15738
15918
  var resonator_horz_default = defineSymbol({
15739
15919
  primitives: [
15740
- ...Object.values(paths55),
15741
- ...Object.values(circles50),
15920
+ ...Object.values(paths58),
15921
+ ...Object.values(circles53),
15742
15922
  // { ...texts.top1, anchor: "middle_left" },
15743
15923
  // { ...texts.bottom1, anchor: "middle_left" },
15744
15924
  {
@@ -15757,15 +15937,15 @@ var resonator_horz_default = defineSymbol({
15757
15937
  }
15758
15938
  ],
15759
15939
  ports: [
15760
- { ...refblocks55.left1, labels: ["1"] },
15940
+ { ...refblocks58.left1, labels: ["1"] },
15761
15941
  // TODO add more "standard" labels
15762
- { ...refblocks55.right1, labels: ["2"] },
15942
+ { ...refblocks58.right1, labels: ["2"] },
15763
15943
  // TODO add more "standard" labels
15764
- { ...refblocks55.right2, labels: ["3"] }
15944
+ { ...refblocks58.right2, labels: ["3"] }
15765
15945
  // TODO add more "standard" labels
15766
15946
  ],
15767
- size: { width: bounds55.width, height: bounds55.height },
15768
- center: { x: bounds55.centerX, y: bounds55.centerY }
15947
+ size: { width: bounds58.width, height: bounds58.height },
15948
+ center: { x: bounds58.centerX, y: bounds58.centerY }
15769
15949
  });
15770
15950
 
15771
15951
  // symbols/resonator_vert.ts
@@ -16157,15 +16337,15 @@ var silicon_controlled_rectifier_default = {
16157
16337
  };
16158
16338
 
16159
16339
  // symbols/silicon_controlled_rectifier_horz.ts
16160
- var { paths: paths56, texts: texts69, bounds: bounds56, refblocks: refblocks56, circles: circles51 } = silicon_controlled_rectifier_default;
16340
+ var { paths: paths59, texts: texts72, bounds: bounds59, refblocks: refblocks59, circles: circles54 } = silicon_controlled_rectifier_default;
16161
16341
  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();
16162
16342
 
16163
16343
  // symbols/silicon_controlled_rectifier_vert.ts
16164
16344
  var rotatedSymbol19 = rotateSymbol(silicon_controlled_rectifier_horz_default);
16165
- var texts70 = rotatedSymbol19.primitives.filter(
16345
+ var texts73 = rotatedSymbol19.primitives.filter(
16166
16346
  (primitive) => primitive.type === "text"
16167
16347
  );
16168
- var ref42 = texts70.find((text) => text.text === "{REF}");
16348
+ var ref42 = texts73.find((text) => text.text === "{REF}");
16169
16349
  ref42.y = 0;
16170
16350
  ref42.anchor = "middle_left";
16171
16351
  var silicon_controlled_rectifier_vert_default = rotatedSymbol19;
@@ -19725,7 +19905,7 @@ var step_recovery_diode_default = {
19725
19905
  };
19726
19906
 
19727
19907
  // symbols/step_recovery_diode_horz.ts
19728
- var { paths: paths57, texts: texts71, bounds: bounds57, refblocks: refblocks57, circles: circles52 } = step_recovery_diode_default;
19908
+ var { paths: paths60, texts: texts74, bounds: bounds60, refblocks: refblocks60, circles: circles55 } = step_recovery_diode_default;
19729
19909
  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();
19730
19910
 
19731
19911
  // symbols/step_recovery_diode_vert.ts
@@ -19818,11 +19998,11 @@ var tachometer_default = {
19818
19998
  };
19819
19999
 
19820
20000
  // symbols/tachometer_horz.ts
19821
- var { paths: paths58, texts: texts72, bounds: bounds58, refblocks: refblocks58, circles: circles53 } = tachometer_default;
20001
+ var { paths: paths61, texts: texts75, bounds: bounds61, refblocks: refblocks61, circles: circles56 } = tachometer_default;
19822
20002
  var tachometer_horz_default = defineSymbol({
19823
20003
  primitives: [
19824
- ...Object.values(paths58),
19825
- ...Object.values(circles53),
20004
+ ...Object.values(paths61),
20005
+ ...Object.values(circles56),
19826
20006
  {
19827
20007
  type: "text",
19828
20008
  text: "{REF}",
@@ -19837,16 +20017,16 @@ var tachometer_horz_default = defineSymbol({
19837
20017
  y: 0.35,
19838
20018
  anchor: "middle_bottom"
19839
20019
  },
19840
- { ...texts72.left1, y: 0.01, anchor: "center", fontSize: 0.2 }
20020
+ { ...texts75.left1, y: 0.01, anchor: "center", fontSize: 0.2 }
19841
20021
  ],
19842
20022
  ports: [
19843
- { ...refblocks58.left1, labels: ["1"] },
20023
+ { ...refblocks61.left1, labels: ["1"] },
19844
20024
  // TODO add more "standard" labels
19845
- { ...refblocks58.right1, labels: ["2"] }
20025
+ { ...refblocks61.right1, labels: ["2"] }
19846
20026
  // TODO add more "standard" labels
19847
20027
  ],
19848
- size: { width: bounds58.width, height: bounds58.height },
19849
- center: { x: bounds58.centerX, y: bounds58.centerY }
20028
+ size: { width: bounds61.width, height: bounds61.height },
20029
+ center: { x: bounds61.centerX, y: bounds61.centerY }
19850
20030
  });
19851
20031
 
19852
20032
  // symbols/tachometer_vert.ts
@@ -20268,16 +20448,16 @@ var triac_default = {
20268
20448
  };
20269
20449
 
20270
20450
  // symbols/triac_horz.ts
20271
- var { paths: paths59, texts: texts73, bounds: bounds59, refblocks: refblocks59, circles: circles54 } = triac_default;
20451
+ var { paths: paths62, texts: texts76, bounds: bounds62, refblocks: refblocks62, circles: circles57 } = triac_default;
20272
20452
  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();
20273
20453
 
20274
20454
  // symbols/triac_vert.ts
20275
20455
  var rotatedSymbol21 = rotateSymbol(triac_horz_default);
20276
- var texts74 = rotatedSymbol21.primitives.filter(
20456
+ var texts77 = rotatedSymbol21.primitives.filter(
20277
20457
  (primitive) => primitive.type === "text"
20278
20458
  );
20279
- var ref60 = texts74.find((text) => text.text === "{REF}");
20280
- var val53 = texts74.find((text) => text.text === "{VAL}");
20459
+ var ref60 = texts77.find((text) => text.text === "{REF}");
20460
+ var val53 = texts77.find((text) => text.text === "{VAL}");
20281
20461
  ref60.y = 0;
20282
20462
  val53.y = 0;
20283
20463
  var triac_vert_default = rotatedSymbol21;
@@ -20444,22 +20624,22 @@ var tunnel_diode_default = {
20444
20624
  };
20445
20625
 
20446
20626
  // symbols/tunnel_diode_horz.ts
20447
- var { paths: paths60, texts: texts75, bounds: bounds60, refblocks: refblocks60, circles: circles55 } = tunnel_diode_default;
20627
+ var { paths: paths63, texts: texts78, bounds: bounds63, refblocks: refblocks63, circles: circles58 } = tunnel_diode_default;
20448
20628
  var tunnel_diode_horz_default = defineSymbol({
20449
20629
  primitives: [
20450
- ...Object.values(paths60),
20451
- ...Object.values(circles55),
20452
- { ...texts75.top1, anchor: "middle_bottom" },
20453
- { ...texts75.bottom1, anchor: "middle_top" }
20630
+ ...Object.values(paths63),
20631
+ ...Object.values(circles58),
20632
+ { ...texts78.top1, anchor: "middle_bottom" },
20633
+ { ...texts78.bottom1, anchor: "middle_top" }
20454
20634
  ],
20455
20635
  ports: [
20456
- { ...refblocks60.left1, labels: ["1"] },
20636
+ { ...refblocks63.left1, labels: ["1"] },
20457
20637
  // TODO add more "standard" labels
20458
- { ...refblocks60.right1, labels: ["2"] }
20638
+ { ...refblocks63.right1, labels: ["2"] }
20459
20639
  // TODO add more "standard" labels
20460
20640
  ],
20461
- size: { width: bounds60.width, height: bounds60.height },
20462
- center: { x: bounds60.centerX, y: bounds60.centerY }
20641
+ size: { width: bounds63.width, height: bounds63.height },
20642
+ center: { x: bounds63.centerX, y: bounds63.centerY }
20463
20643
  });
20464
20644
 
20465
20645
  // symbols/tunnel_diode_vert.ts
@@ -20642,34 +20822,34 @@ var unijunction_transistor_default = {
20642
20822
  };
20643
20823
 
20644
20824
  // symbols/unijunction_transistor_horz.ts
20645
- var { paths: paths61, texts: texts76, bounds: bounds61, refblocks: refblocks61, circles: circles56 } = unijunction_transistor_default;
20825
+ var { paths: paths64, texts: texts79, bounds: bounds64, refblocks: refblocks64, circles: circles59 } = unijunction_transistor_default;
20646
20826
  var unijunction_transistor_horz_default = defineSymbol({
20647
20827
  primitives: [
20648
- ...Object.values(paths61),
20649
- ...Object.values(circles56),
20650
- { ...texts76.top1, anchor: "middle_left" },
20651
- { ...texts76.bottom1, anchor: "middle_right" }
20828
+ ...Object.values(paths64),
20829
+ ...Object.values(circles59),
20830
+ { ...texts79.top1, anchor: "middle_left" },
20831
+ { ...texts79.bottom1, anchor: "middle_right" }
20652
20832
  ],
20653
20833
  ports: [
20654
- { ...refblocks61.top1, labels: ["1"] },
20834
+ { ...refblocks64.top1, labels: ["1"] },
20655
20835
  // TODO add more "standard" labels
20656
- { ...refblocks61.bottom1, labels: ["2"] },
20836
+ { ...refblocks64.bottom1, labels: ["2"] },
20657
20837
  // TODO add more "standard" labels
20658
- { ...refblocks61.left1, labels: ["3"] }
20838
+ { ...refblocks64.left1, labels: ["3"] }
20659
20839
  // TODO add more "standard" labels
20660
20840
  ],
20661
- size: { width: bounds61.width, height: bounds61.height },
20662
- center: { x: bounds61.centerX, y: bounds61.centerY }
20841
+ size: { width: bounds64.width, height: bounds64.height },
20842
+ center: { x: bounds64.centerX, y: bounds64.centerY }
20663
20843
  });
20664
20844
 
20665
20845
  // symbols/unijunction_transistor_vert.ts
20666
20846
  var rotatedSymbol22 = rotateSymbol(unijunction_transistor_horz_default);
20667
- var texts77 = rotatedSymbol22.primitives.filter(
20847
+ var texts80 = rotatedSymbol22.primitives.filter(
20668
20848
  (primitive) => primitive.type === "text"
20669
20849
  );
20670
- var ref62 = texts77.find((text) => text.text === "{REF}");
20850
+ var ref62 = texts80.find((text) => text.text === "{REF}");
20671
20851
  ref62.y = 0.1;
20672
- var val55 = texts77.find((text) => text.text === "{VAL}");
20852
+ var val55 = texts80.find((text) => text.text === "{VAL}");
20673
20853
  val55.y = 0.1;
20674
20854
  val55.x = -0.4;
20675
20855
  var unijunction_transistor_vert_default = rotatedSymbol22;
@@ -20761,33 +20941,33 @@ var var_meter_default = {
20761
20941
  };
20762
20942
 
20763
20943
  // symbols/var_meter_horz.ts
20764
- var { paths: paths62, texts: texts78, bounds: bounds62, refblocks: refblocks62, circles: circles57 } = var_meter_default;
20944
+ var { paths: paths65, texts: texts81, bounds: bounds65, refblocks: refblocks65, circles: circles60 } = var_meter_default;
20765
20945
  var var_meter_horz_default = defineSymbol({
20766
20946
  primitives: [
20767
- ...Object.values(paths62),
20768
- ...Object.values(circles57),
20947
+ ...Object.values(paths65),
20948
+ ...Object.values(circles60),
20769
20949
  {
20770
- ...texts78.top1,
20950
+ ...texts81.top1,
20771
20951
  x: 0,
20772
20952
  y: -0.3594553499999995,
20773
20953
  anchor: "middle_top"
20774
20954
  },
20775
20955
  {
20776
- ...texts78.bottom1,
20956
+ ...texts81.bottom1,
20777
20957
  x: 0,
20778
20958
  y: 0.35,
20779
20959
  anchor: "middle_bottom"
20780
20960
  },
20781
- { ...texts78.left1, x: -0.02, y: 0.01, fontSize: 0.2, anchor: "center" }
20961
+ { ...texts81.left1, x: -0.02, y: 0.01, fontSize: 0.2, anchor: "center" }
20782
20962
  ],
20783
20963
  ports: [
20784
- { ...refblocks62.left1, labels: ["1"] },
20964
+ { ...refblocks65.left1, labels: ["1"] },
20785
20965
  // TODO add more "standard" labels
20786
- { ...refblocks62.right1, labels: ["2"] }
20966
+ { ...refblocks65.right1, labels: ["2"] }
20787
20967
  // TODO add more "standard" labels
20788
20968
  ],
20789
- size: { width: bounds62.width, height: bounds62.height },
20790
- center: { x: bounds62.centerX, y: bounds62.centerY }
20969
+ size: { width: bounds65.width, height: bounds65.height },
20970
+ center: { x: bounds65.centerX, y: bounds65.centerY }
20791
20971
  });
20792
20972
 
20793
20973
  // symbols/var_meter_vert.ts
@@ -20940,22 +21120,22 @@ var varactor_diode_default = {
20940
21120
  };
20941
21121
 
20942
21122
  // symbols/varactor_diode_horz.ts
20943
- var { paths: paths63, texts: texts79, bounds: bounds63, refblocks: refblocks63, circles: circles58 } = varactor_diode_default;
21123
+ var { paths: paths66, texts: texts82, bounds: bounds66, refblocks: refblocks66, circles: circles61 } = varactor_diode_default;
20944
21124
  var varactor_diode_horz_default = defineSymbol({
20945
21125
  primitives: [
20946
- ...Object.values(paths63),
20947
- ...Object.values(circles58),
20948
- { ...texts79.top1, anchor: "middle_bottom" },
20949
- { ...texts79.bottom1, anchor: "middle_top" }
21126
+ ...Object.values(paths66),
21127
+ ...Object.values(circles61),
21128
+ { ...texts82.top1, anchor: "middle_bottom" },
21129
+ { ...texts82.bottom1, anchor: "middle_top" }
20950
21130
  ],
20951
21131
  ports: [
20952
- { ...refblocks63.left1, labels: ["1"] },
21132
+ { ...refblocks66.left1, labels: ["1"] },
20953
21133
  // TODO add more "standard" labels
20954
- { ...refblocks63.right1, labels: ["2"] }
21134
+ { ...refblocks66.right1, labels: ["2"] }
20955
21135
  // TODO add more "standard" labels
20956
21136
  ],
20957
- size: { width: bounds63.width, height: bounds63.height },
20958
- center: { x: bounds63.centerX, y: bounds63.centerY }
21137
+ size: { width: bounds66.width, height: bounds66.height },
21138
+ center: { x: bounds66.centerX, y: bounds66.centerY }
20959
21139
  });
20960
21140
 
20961
21141
  // symbols/varactor_diode_vert.ts
@@ -21103,26 +21283,26 @@ var varistor_default = {
21103
21283
  };
21104
21284
 
21105
21285
  // symbols/varistor_horz.ts
21106
- var { paths: paths64, texts: texts80, bounds: bounds64, refblocks: refblocks64 } = varistor_default;
21286
+ var { paths: paths67, texts: texts83, bounds: bounds67, refblocks: refblocks67 } = varistor_default;
21107
21287
  var varistor_horz_default = defineSymbol({
21108
21288
  primitives: [
21109
- ...Object.values(paths64),
21110
- { ...texts80.top1, anchor: "middle_left" },
21111
- { ...texts80.bottom1, anchor: "middle_right" }
21289
+ ...Object.values(paths67),
21290
+ { ...texts83.top1, anchor: "middle_left" },
21291
+ { ...texts83.bottom1, anchor: "middle_right" }
21112
21292
  ],
21113
21293
  ports: [
21114
21294
  {
21115
- ...refblocks64.left1,
21295
+ ...refblocks67.left1,
21116
21296
  labels: ["1", "-"]
21117
21297
  },
21118
21298
  {
21119
- ...refblocks64.right1,
21299
+ ...refblocks67.right1,
21120
21300
  labels: ["2", "+"]
21121
21301
  }
21122
21302
  ],
21123
- size: { width: bounds64.width, height: bounds64.height },
21303
+ size: { width: bounds67.width, height: bounds67.height },
21124
21304
  //{ width: 1, height: 0.24 },
21125
- center: { x: bounds64.centerX, y: bounds64.centerY }
21305
+ center: { x: bounds67.centerX, y: bounds67.centerY }
21126
21306
  });
21127
21307
 
21128
21308
  // symbols/varistor_vert.ts
@@ -21215,11 +21395,11 @@ var varmeter_default = {
21215
21395
  };
21216
21396
 
21217
21397
  // symbols/varmeter_horz.ts
21218
- var { paths: paths65, texts: texts81, bounds: bounds65, refblocks: refblocks65, circles: circles59 } = varmeter_default;
21398
+ var { paths: paths68, texts: texts84, bounds: bounds68, refblocks: refblocks68, circles: circles62 } = varmeter_default;
21219
21399
  var varmeter_horz_default = defineSymbol({
21220
21400
  primitives: [
21221
- ...Object.values(paths65),
21222
- ...Object.values(circles59),
21401
+ ...Object.values(paths68),
21402
+ ...Object.values(circles62),
21223
21403
  {
21224
21404
  type: "text",
21225
21405
  text: "{REF}",
@@ -21234,16 +21414,16 @@ var varmeter_horz_default = defineSymbol({
21234
21414
  y: 0.35,
21235
21415
  anchor: "middle_bottom"
21236
21416
  },
21237
- { ...texts81.left1, anchor: "center", y: 0.02, fontSize: 0.2 }
21417
+ { ...texts84.left1, anchor: "center", y: 0.02, fontSize: 0.2 }
21238
21418
  ],
21239
21419
  ports: [
21240
- { ...refblocks65.left1, labels: ["1"] },
21420
+ { ...refblocks68.left1, labels: ["1"] },
21241
21421
  // TODO add more "standard" labels
21242
- { ...refblocks65.right1, labels: ["2"] }
21422
+ { ...refblocks68.right1, labels: ["2"] }
21243
21423
  // TODO add more "standard" labels
21244
21424
  ],
21245
- size: { width: bounds65.width, height: bounds65.height },
21246
- center: { x: bounds65.centerX, y: bounds65.centerY }
21425
+ size: { width: bounds68.width, height: bounds68.height },
21426
+ center: { x: bounds68.centerX, y: bounds68.centerY }
21247
21427
  });
21248
21428
 
21249
21429
  // symbols/varmeter_vert.ts
@@ -21448,7 +21628,7 @@ var volt_meter_default = {
21448
21628
  };
21449
21629
 
21450
21630
  // symbols/volt_meter_horz.ts
21451
- var { paths: paths66, texts: texts82, bounds: bounds66, circles: circles60, refblocks: refblocks66 } = volt_meter_default;
21631
+ var { paths: paths69, texts: texts85, bounds: bounds69, circles: circles63, refblocks: refblocks69 } = volt_meter_default;
21452
21632
  var volt_meter_horz_default = modifySymbol(volt_meter_default).changeTextAnchor("{VAL}", "middle_top").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_bottom").build();
21453
21633
 
21454
21634
  // symbols/volt_meter_vert.ts
@@ -21541,11 +21721,11 @@ var watt_hour_meter_default = {
21541
21721
  };
21542
21722
 
21543
21723
  // symbols/watt_hour_meter_horz.ts
21544
- var { paths: paths67, texts: texts83, bounds: bounds67, refblocks: refblocks67, circles: circles61 } = watt_hour_meter_default;
21724
+ var { paths: paths70, texts: texts86, bounds: bounds70, refblocks: refblocks70, circles: circles64 } = watt_hour_meter_default;
21545
21725
  var watt_hour_meter_horz_default = defineSymbol({
21546
21726
  primitives: [
21547
- ...Object.values(paths67),
21548
- ...Object.values(circles61),
21727
+ ...Object.values(paths70),
21728
+ ...Object.values(circles64),
21549
21729
  {
21550
21730
  type: "text",
21551
21731
  text: "{REF}",
@@ -21560,16 +21740,16 @@ var watt_hour_meter_horz_default = defineSymbol({
21560
21740
  y: 0.35,
21561
21741
  anchor: "middle_bottom"
21562
21742
  },
21563
- { ...texts83.left1, anchor: "center", y: 0.01, fontSize: 0.2 }
21743
+ { ...texts86.left1, anchor: "center", y: 0.01, fontSize: 0.2 }
21564
21744
  ],
21565
21745
  ports: [
21566
- { ...refblocks67.left1, labels: ["1"] },
21746
+ { ...refblocks70.left1, labels: ["1"] },
21567
21747
  // TODO add more "standard" labels
21568
- { ...refblocks67.right1, labels: ["2"] }
21748
+ { ...refblocks70.right1, labels: ["2"] }
21569
21749
  // TODO add more "standard" labels
21570
21750
  ],
21571
- size: { width: bounds67.width, height: bounds67.height },
21572
- center: { x: bounds67.centerX, y: bounds67.centerY }
21751
+ size: { width: bounds70.width, height: bounds70.height },
21752
+ center: { x: bounds70.centerX, y: bounds70.centerY }
21573
21753
  });
21574
21754
 
21575
21755
  // symbols/watt_hour_meter_vert.ts
@@ -21673,11 +21853,11 @@ var wattmeter_default = {
21673
21853
  };
21674
21854
 
21675
21855
  // symbols/wattmeter_horz.ts
21676
- var { paths: paths68, texts: texts84, bounds: bounds68, refblocks: refblocks68, circles: circles62 } = wattmeter_default;
21856
+ var { paths: paths71, texts: texts87, bounds: bounds71, refblocks: refblocks71, circles: circles65 } = wattmeter_default;
21677
21857
  var wattmeter_horz_default = defineSymbol({
21678
21858
  primitives: [
21679
- ...Object.values(paths68),
21680
- ...Object.values(circles62),
21859
+ ...Object.values(paths71),
21860
+ ...Object.values(circles65),
21681
21861
  {
21682
21862
  type: "text",
21683
21863
  text: "{REF}",
@@ -21692,16 +21872,16 @@ var wattmeter_horz_default = defineSymbol({
21692
21872
  y: 0.35,
21693
21873
  anchor: "middle_bottom"
21694
21874
  },
21695
- { ...texts84.left1, anchor: "center", y: 0.01, fontSize: 0.3 }
21875
+ { ...texts87.left1, anchor: "center", y: 0.01, fontSize: 0.3 }
21696
21876
  ],
21697
21877
  ports: [
21698
- { ...refblocks68.left1, labels: ["1"] },
21878
+ { ...refblocks71.left1, labels: ["1"] },
21699
21879
  // TODO add more "standard" labels
21700
- { ...refblocks68.right1, labels: ["2"] }
21880
+ { ...refblocks71.right1, labels: ["2"] }
21701
21881
  // TODO add more "standard" labels
21702
21882
  ],
21703
- size: { width: bounds68.width, height: bounds68.height },
21704
- center: { x: bounds68.centerX, y: bounds68.centerY }
21883
+ size: { width: bounds71.width, height: bounds71.height },
21884
+ center: { x: bounds71.centerX, y: bounds71.centerY }
21705
21885
  });
21706
21886
 
21707
21887
  // symbols/wattmeter_vert.ts
@@ -21865,22 +22045,22 @@ var zener_diode_default = {
21865
22045
  };
21866
22046
 
21867
22047
  // symbols/zener_diode_horz.ts
21868
- var { paths: paths69, texts: texts85, bounds: bounds69, refblocks: refblocks69, circles: circles63 } = zener_diode_default;
22048
+ var { paths: paths72, texts: texts88, bounds: bounds72, refblocks: refblocks72, circles: circles66 } = zener_diode_default;
21869
22049
  var zener_diode_horz_default = defineSymbol({
21870
22050
  primitives: [
21871
- ...Object.values(paths69),
21872
- ...Object.values(circles63),
21873
- { ...texts85.top1, anchor: "middle_bottom" },
21874
- { ...texts85.bottom1, anchor: "middle_top" }
22051
+ ...Object.values(paths72),
22052
+ ...Object.values(circles66),
22053
+ { ...texts88.top1, anchor: "middle_bottom" },
22054
+ { ...texts88.bottom1, anchor: "middle_top" }
21875
22055
  ],
21876
22056
  ports: [
21877
- { ...refblocks69.left1, labels: ["1"] },
22057
+ { ...refblocks72.left1, labels: ["1"] },
21878
22058
  // TODO add more "standard" labels
21879
- { ...refblocks69.right1, labels: ["2"] }
22059
+ { ...refblocks72.right1, labels: ["2"] }
21880
22060
  // TODO add more "standard" labels
21881
22061
  ],
21882
- size: { width: bounds69.width, height: bounds69.height },
21883
- center: { x: bounds69.centerX, y: bounds69.centerY }
22062
+ size: { width: bounds72.width, height: bounds72.height },
22063
+ center: { x: bounds72.centerX, y: bounds72.centerY }
21884
22064
  });
21885
22065
 
21886
22066
  // symbols/zener_diode_vert.ts
@@ -21915,6 +22095,10 @@ var symbols_index_default = {
21915
22095
  "boxresistor_small_right": boxresistor_small_right_default,
21916
22096
  "boxresistor_small_up": boxresistor_small_up_default,
21917
22097
  "boxresistor_up": boxresistor_up_default,
22098
+ "bridged_ground_down": bridged_ground_down_default,
22099
+ "bridged_ground_left": bridged_ground_left_default,
22100
+ "bridged_ground_right": bridged_ground_right_default,
22101
+ "bridged_ground_up": bridged_ground_up_default,
21918
22102
  "capacitor_down": capacitor_down_default,
21919
22103
  "capacitor_left": capacitor_left_default,
21920
22104
  "capacitor_polarized_down": capacitor_polarized_down_default,