schematic-symbols 0.0.60 → 0.0.62

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
@@ -853,6 +853,209 @@ ref2.x = 0.35;
853
853
  ref2.anchor = "middle_left";
854
854
  var constant_current_diode_vert_default = rotatedSymbol2;
855
855
 
856
+ // assets/generated/crystal.json
857
+ var crystal_default = {
858
+ paths: {
859
+ path27: {
860
+ type: "path",
861
+ points: [
862
+ {
863
+ x: 0.5229378000000002,
864
+ y: -0.012283099999995883
865
+ },
866
+ {
867
+ x: 0.13246630000000037,
868
+ y: -0.012283099999995883
869
+ }
870
+ ],
871
+ color: "primary",
872
+ fill: false
873
+ },
874
+ path28: {
875
+ type: "path",
876
+ points: [
877
+ {
878
+ x: -0.14263049999999966,
879
+ y: -0.012283099999995883
880
+ },
881
+ {
882
+ x: -0.5353954999999999,
883
+ y: -0.012283099999995883
884
+ }
885
+ ],
886
+ color: "primary",
887
+ fill: false
888
+ },
889
+ path29: {
890
+ type: "path",
891
+ points: [
892
+ {
893
+ x: 0.12606289999999998,
894
+ y: -0.2768663999999976
895
+ },
896
+ {
897
+ x: 0.12606290000000042,
898
+ y: 0.2523002000000023
899
+ }
900
+ ],
901
+ color: "primary",
902
+ fill: false
903
+ },
904
+ "path29-2": {
905
+ type: "path",
906
+ points: [
907
+ {
908
+ x: 0.07263109999999973,
909
+ y: -0.27614569999999716
910
+ },
911
+ {
912
+ x: 0.07263110000000017,
913
+ y: 0.253020900000001
914
+ }
915
+ ],
916
+ color: "primary",
917
+ fill: false
918
+ },
919
+ path30: {
920
+ type: "path",
921
+ points: [
922
+ {
923
+ x: -0.13852050000000027,
924
+ y: -0.2768663999999976
925
+ },
926
+ {
927
+ x: -0.13852049999999982,
928
+ y: 0.2523002000000023
929
+ }
930
+ ],
931
+ color: "primary",
932
+ fill: false
933
+ },
934
+ "path29-5": {
935
+ type: "path",
936
+ points: [
937
+ {
938
+ x: -0.08244070000000026,
939
+ y: -0.27777869999999893
940
+ },
941
+ {
942
+ x: -0.08244069999999981,
943
+ y: 0.2513879000000028
944
+ }
945
+ ],
946
+ color: "primary",
947
+ fill: false
948
+ },
949
+ "path29-2-7": {
950
+ type: "path",
951
+ points: [
952
+ {
953
+ x: 0.07253150000000019,
954
+ y: -0.27761959999999597
955
+ },
956
+ {
957
+ x: -0.08185069999999994,
958
+ y: -0.27761959999999597
959
+ }
960
+ ],
961
+ color: "primary",
962
+ fill: false
963
+ },
964
+ "path29-2-7-6": {
965
+ type: "path",
966
+ points: [
967
+ {
968
+ x: 0.0721257000000004,
969
+ y: 0.255806800000002
970
+ },
971
+ {
972
+ x: -0.08225649999999973,
973
+ y: 0.255806800000002
974
+ }
975
+ ],
976
+ color: "primary",
977
+ fill: false
978
+ }
979
+ },
980
+ texts: {
981
+ top1: {
982
+ type: "text",
983
+ text: "{REF}",
984
+ x: -0.012864500000000056,
985
+ y: -0.4150086999999978
986
+ },
987
+ bottom1: {
988
+ type: "text",
989
+ text: "{VAL}",
990
+ x: -0.003850500000000423,
991
+ y: 0.4250087000000011
992
+ }
993
+ },
994
+ refblocks: {
995
+ left1: {
996
+ x: -0.5512093000000002,
997
+ y: -0.011380399999998403
998
+ },
999
+ right1: {
1000
+ x: 0.5512093,
1001
+ y: -0.011926899999997076
1002
+ }
1003
+ },
1004
+ bounds: {
1005
+ minX: -0.5793677410000002,
1006
+ maxX: 0.579367741,
1007
+ minY: -0.5150086999999978,
1008
+ maxY: 0.4250087000000011,
1009
+ width: 1.1587354820000002,
1010
+ height: 1,
1011
+ centerX: -11102230246251565e-32,
1012
+ centerY: -0.04499999999999832
1013
+ },
1014
+ circles: {}
1015
+ };
1016
+
1017
+ // symbols/crystal_horz.ts
1018
+ var { paths: paths6, texts: texts6, bounds: bounds6, refblocks: refblocks6, circles: circles4 } = crystal_default;
1019
+ var crystal_horz_default = defineSymbol({
1020
+ primitives: [
1021
+ ...Object.values(paths6),
1022
+ ...Object.values(circles4),
1023
+ // { ...texts.top1, anchor: "middle_left" },
1024
+ // { ...texts.bottom1, anchor: "middle_left" },
1025
+ {
1026
+ type: "text",
1027
+ text: "{REF}",
1028
+ x: -0.012864500000000056,
1029
+ y: -0.4150086999999978,
1030
+ anchor: "middle_bottom"
1031
+ },
1032
+ {
1033
+ type: "text",
1034
+ text: "{VAL}",
1035
+ x: -0.003850500000000423,
1036
+ y: 0.4250087000000011,
1037
+ anchor: "middle_top"
1038
+ }
1039
+ ],
1040
+ ports: [
1041
+ { ...refblocks6.left1, labels: ["1"] },
1042
+ // TODO add more "standard" labels
1043
+ { ...refblocks6.right1, labels: ["2"] }
1044
+ // TODO add more "standard" labels
1045
+ ],
1046
+ size: { width: bounds6.width, height: bounds6.height },
1047
+ center: { x: bounds6.centerX, y: bounds6.centerY }
1048
+ });
1049
+
1050
+ // symbols/crystal_vert.ts
1051
+ var rotatedSymbol3 = rotateSymbol(crystal_horz_default);
1052
+ var texts7 = rotatedSymbol3.primitives.filter((p) => p.type === "text");
1053
+ var ref3 = texts7.find((t) => t.text === "{REF}");
1054
+ var val3 = texts7.find((t) => t.text === "{VAL}");
1055
+ val3.x = -0.4;
1056
+ ref3.x = 0.35;
1057
+ var crystal_vert_default = rotatedSymbol3;
1058
+
856
1059
  // assets/generated/dc_ammeter.json
857
1060
  var dc_ammeter_default = {
858
1061
  paths: {
@@ -955,11 +1158,11 @@ var dc_ammeter_default = {
955
1158
  };
956
1159
 
957
1160
  // symbols/dc_ammeter_horz.ts
958
- var { paths: paths6, texts: texts6, bounds: bounds6, refblocks: refblocks6, circles: circles4 } = dc_ammeter_default;
1161
+ var { paths: paths7, texts: texts8, bounds: bounds7, refblocks: refblocks7, circles: circles5 } = dc_ammeter_default;
959
1162
  var dc_ammeter_horz_default = defineSymbol({
960
1163
  primitives: [
961
- ...Object.values(paths6),
962
- ...Object.values(circles4),
1164
+ ...Object.values(paths7),
1165
+ ...Object.values(circles5),
963
1166
  {
964
1167
  type: "text",
965
1168
  text: "{REF}",
@@ -974,16 +1177,16 @@ var dc_ammeter_horz_default = defineSymbol({
974
1177
  y: 0.35,
975
1178
  anchor: "middle_top"
976
1179
  },
977
- { ...texts6.left1, anchor: "center", fontSize: 0.3 }
1180
+ { ...texts8.left1, anchor: "center", fontSize: 0.3 }
978
1181
  ],
979
1182
  ports: [
980
- { ...refblocks6.left1, labels: ["1"] },
1183
+ { ...refblocks7.left1, labels: ["1"] },
981
1184
  // TODO add more "standard" labels
982
- { ...refblocks6.right1, labels: ["2"] }
1185
+ { ...refblocks7.right1, labels: ["2"] }
983
1186
  // TODO add more "standard" labels
984
1187
  ],
985
- size: { width: bounds6.width, height: bounds6.height },
986
- center: { x: bounds6.centerX, y: bounds6.centerY }
1188
+ size: { width: bounds7.width, height: bounds7.height },
1189
+ center: { x: bounds7.centerX, y: bounds7.centerY }
987
1190
  });
988
1191
 
989
1192
  // symbols/dc_ammeter_vert.ts
@@ -1005,13 +1208,13 @@ if (isTextPrimitive(letter2)) {
1005
1208
  function isPrimitive2(value) {
1006
1209
  return typeof value === "object";
1007
1210
  }
1008
- var rotatedSymbol3 = rotateSymbol({
1211
+ var rotatedSymbol4 = rotateSymbol({
1009
1212
  ...dc_ammeter_horz_default,
1010
1213
  primitives: Object.values(rest2).filter(isPrimitive2)
1011
1214
  });
1012
1215
  var dc_ammeter_vert_default = {
1013
- ...rotatedSymbol3,
1014
- primitives: [...rotatedSymbol3.primitives, letter2, underline]
1216
+ ...rotatedSymbol4,
1217
+ primitives: [...rotatedSymbol4.primitives, letter2, underline]
1015
1218
  };
1016
1219
 
1017
1220
  // assets/generated/dc_voltmeter.json
@@ -1129,11 +1332,11 @@ var dc_voltmeter_default = {
1129
1332
  };
1130
1333
 
1131
1334
  // symbols/dc_voltmeter_horz.ts
1132
- var { paths: paths7, texts: texts7, bounds: bounds7, refblocks: refblocks7, circles: circles5 } = dc_voltmeter_default;
1335
+ var { paths: paths8, texts: texts9, bounds: bounds8, refblocks: refblocks8, circles: circles6 } = dc_voltmeter_default;
1133
1336
  var dc_voltmeter_horz_default = defineSymbol({
1134
1337
  primitives: [
1135
- ...Object.values(paths7),
1136
- ...Object.values(circles5),
1338
+ ...Object.values(paths8),
1339
+ ...Object.values(circles6),
1137
1340
  {
1138
1341
  type: "text",
1139
1342
  text: "{REF}",
@@ -1150,13 +1353,13 @@ var dc_voltmeter_horz_default = defineSymbol({
1150
1353
  }
1151
1354
  ],
1152
1355
  ports: [
1153
- { ...refblocks7.left1, labels: ["1"] },
1356
+ { ...refblocks8.left1, labels: ["1"] },
1154
1357
  // TODO add more "standard" labels
1155
- { ...refblocks7.right1, labels: ["2"] }
1358
+ { ...refblocks8.right1, labels: ["2"] }
1156
1359
  // TODO add more "standard" labels
1157
1360
  ],
1158
- size: { width: bounds7.width, height: bounds7.height },
1159
- center: { x: bounds7.centerX, y: bounds7.centerY }
1361
+ size: { width: bounds8.width, height: bounds8.height },
1362
+ center: { x: bounds8.centerX, y: bounds8.centerY }
1160
1363
  });
1161
1364
 
1162
1365
  // symbols/dc_voltmeter_vert.ts
@@ -1164,13 +1367,13 @@ var { 2: letter3, 3: underline2, ...rest3 } = dc_voltmeter_horz_default.primitiv
1164
1367
  function isPrimitive3(value) {
1165
1368
  return typeof value === "object";
1166
1369
  }
1167
- var rotatedSymbol4 = rotateSymbol({
1370
+ var rotatedSymbol5 = rotateSymbol({
1168
1371
  ...dc_voltmeter_horz_default,
1169
1372
  primitives: Object.values(rest3).filter(isPrimitive3)
1170
1373
  });
1171
1374
  var dc_voltmeter_vert_default = {
1172
- ...rotatedSymbol4,
1173
- primitives: [...rotatedSymbol4.primitives, letter3, underline2]
1375
+ ...rotatedSymbol5,
1376
+ primitives: [...rotatedSymbol5.primitives, letter3, underline2]
1174
1377
  };
1175
1378
 
1176
1379
  // assets/generated/diac.json
@@ -1330,34 +1533,34 @@ var diac_default = {
1330
1533
  };
1331
1534
 
1332
1535
  // symbols/diac_horz.ts
1333
- var { paths: paths8, texts: texts8, bounds: bounds8, refblocks: refblocks8, circles: circles6 } = diac_default;
1536
+ var { paths: paths9, texts: texts10, bounds: bounds9, refblocks: refblocks9, circles: circles7 } = diac_default;
1334
1537
  var diac_horz_default = defineSymbol({
1335
1538
  primitives: [
1336
- ...Object.values(paths8),
1337
- ...Object.values(circles6),
1338
- { ...texts8.top1, anchor: "middle_bottom" },
1339
- { ...texts8.bottom1, anchor: "middle_top" }
1539
+ ...Object.values(paths9),
1540
+ ...Object.values(circles7),
1541
+ { ...texts10.top1, anchor: "middle_bottom" },
1542
+ { ...texts10.bottom1, anchor: "middle_top" }
1340
1543
  ],
1341
1544
  ports: [
1342
- { ...refblocks8.left1, labels: ["1"] },
1545
+ { ...refblocks9.left1, labels: ["1"] },
1343
1546
  // TODO add more "standard" labels
1344
- { ...refblocks8.right1, labels: ["2"] }
1547
+ { ...refblocks9.right1, labels: ["2"] }
1345
1548
  // TODO add more "standard" labels
1346
1549
  ],
1347
- size: { width: bounds8.width, height: bounds8.height },
1348
- center: { x: bounds8.centerX, y: bounds8.centerY }
1550
+ size: { width: bounds9.width, height: bounds9.height },
1551
+ center: { x: bounds9.centerX, y: bounds9.centerY }
1349
1552
  });
1350
1553
 
1351
1554
  // symbols/diac_vert.ts
1352
- var rotatedSymbol5 = rotateSymbol(diac_horz_default);
1353
- var texts9 = rotatedSymbol5.primitives.filter(
1555
+ var rotatedSymbol6 = rotateSymbol(diac_horz_default);
1556
+ var texts11 = rotatedSymbol6.primitives.filter(
1354
1557
  (primitive) => primitive.type === "text"
1355
1558
  );
1356
- var ref3 = texts9.find((text) => text.text === "{REF}");
1357
- var val3 = texts9.find((text) => text.text === "{VAL}");
1358
- ref3.y = 0;
1359
- val3.y = 0;
1360
- var diac_vert_default = rotatedSymbol5;
1559
+ var ref4 = texts11.find((text) => text.text === "{REF}");
1560
+ var val4 = texts11.find((text) => text.text === "{VAL}");
1561
+ ref4.y = 0;
1562
+ val4.y = 0;
1563
+ var diac_vert_default = rotatedSymbol6;
1361
1564
 
1362
1565
  // assets/generated/diode.json
1363
1566
  var diode_default = {
@@ -1490,21 +1693,21 @@ var diode_default = {
1490
1693
  };
1491
1694
 
1492
1695
  // symbols/diode_horz.ts
1493
- var { paths: paths9, texts: texts10, bounds: bounds9, refblocks: refblocks9 } = diode_default;
1696
+ var { paths: paths10, texts: texts12, bounds: bounds10, refblocks: refblocks10 } = diode_default;
1494
1697
  var diode_horz_default = defineSymbol({
1495
1698
  primitives: [
1496
- ...Object.values(paths9),
1497
- { ...texts10.top1, anchor: "middle_bottom" },
1498
- { ...texts10.bottom1, anchor: "middle_top" }
1699
+ ...Object.values(paths10),
1700
+ { ...texts12.top1, anchor: "middle_bottom" },
1701
+ { ...texts12.bottom1, anchor: "middle_top" }
1499
1702
  ],
1500
1703
  ports: [
1501
- { ...refblocks9.left1, labels: ["1"] },
1704
+ { ...refblocks10.left1, labels: ["1"] },
1502
1705
  // TODO add more "standard" labels
1503
- { ...refblocks9.right1, labels: ["2"] }
1706
+ { ...refblocks10.right1, labels: ["2"] }
1504
1707
  // TODO add more "standard" labels
1505
1708
  ],
1506
- size: { width: bounds9.width, height: bounds9.height },
1507
- center: { x: bounds9.centerX, y: bounds9.centerY }
1709
+ size: { width: bounds10.width, height: bounds10.height },
1710
+ center: { x: bounds10.centerX, y: bounds10.centerY }
1508
1711
  });
1509
1712
 
1510
1713
  // symbols/diode_vert.ts
@@ -1597,11 +1800,11 @@ var fuse_default = {
1597
1800
  };
1598
1801
 
1599
1802
  // symbols/fuse_horz.ts
1600
- var { paths: paths10, texts: texts11, bounds: bounds10, refblocks: refblocks10 } = fuse_default;
1803
+ var { paths: paths11, texts: texts13, bounds: bounds11, refblocks: refblocks11 } = fuse_default;
1601
1804
  var fuse_horz_default = defineSymbol({
1602
1805
  primitives: [
1603
- ...Object.values(paths10),
1604
- { ...texts11.top1, anchor: "middle_bottom" },
1806
+ ...Object.values(paths11),
1807
+ { ...texts13.top1, anchor: "middle_bottom" },
1605
1808
  {
1606
1809
  type: "text",
1607
1810
  text: "{VAL}",
@@ -1611,13 +1814,13 @@ var fuse_horz_default = defineSymbol({
1611
1814
  }
1612
1815
  ],
1613
1816
  ports: [
1614
- { ...refblocks10.left1, labels: ["1"] },
1817
+ { ...refblocks11.left1, labels: ["1"] },
1615
1818
  // TODO add more "standard" labels
1616
- { ...refblocks10.right1, labels: ["2"] }
1819
+ { ...refblocks11.right1, labels: ["2"] }
1617
1820
  // TODO add more "standard" labels
1618
1821
  ],
1619
- size: { width: bounds10.width, height: bounds10.height },
1620
- center: { x: bounds10.centerX, y: bounds10.centerY }
1822
+ size: { width: bounds11.width, height: bounds11.height },
1823
+ center: { x: bounds11.centerX, y: bounds11.centerY }
1621
1824
  });
1622
1825
 
1623
1826
  // symbols/fuse_vert.ts
@@ -1741,12 +1944,12 @@ var gunn_diode_default = {
1741
1944
  };
1742
1945
 
1743
1946
  // symbols/gunn_diode_horz.ts
1744
- var { paths: paths11, texts: texts12, bounds: bounds11, refblocks: refblocks11, circles: circles7 } = gunn_diode_default;
1947
+ var { paths: paths12, texts: texts14, bounds: bounds12, refblocks: refblocks12, circles: circles8 } = gunn_diode_default;
1745
1948
  var gunn_diode_horz_default = defineSymbol({
1746
1949
  primitives: [
1747
- ...Object.values(paths11),
1748
- ...Object.values(circles7),
1749
- { ...texts12.top1, anchor: "middle_left" },
1950
+ ...Object.values(paths12),
1951
+ ...Object.values(circles8),
1952
+ { ...texts14.top1, anchor: "middle_left" },
1750
1953
  {
1751
1954
  type: "text",
1752
1955
  text: "{VAL}",
@@ -1756,25 +1959,25 @@ var gunn_diode_horz_default = defineSymbol({
1756
1959
  // { ...texts.bottom1, anchor: "middle_left" },
1757
1960
  ],
1758
1961
  ports: [
1759
- { ...refblocks11.left1, labels: ["1"] },
1962
+ { ...refblocks12.left1, labels: ["1"] },
1760
1963
  // TODO add more "standard" labels
1761
- { ...refblocks11.right1, labels: ["2"] }
1964
+ { ...refblocks12.right1, labels: ["2"] }
1762
1965
  // TODO add more "standard" labels
1763
1966
  ],
1764
- size: { width: bounds11.width, height: bounds11.height },
1765
- center: { x: bounds11.centerX, y: bounds11.centerY }
1967
+ size: { width: bounds12.width, height: bounds12.height },
1968
+ center: { x: bounds12.centerX, y: bounds12.centerY }
1766
1969
  });
1767
1970
 
1768
1971
  // symbols/gunn_diode_vert.ts
1769
- var rotatedSymbol6 = rotateSymbol(gunn_diode_horz_default);
1770
- var texts13 = rotatedSymbol6.primitives.filter((p) => p.type === "text");
1771
- var ref4 = texts13.find((t) => t.text === "{REF}");
1772
- var val4 = texts13.find((t) => t.text === "{VAL}");
1773
- ref4.x = 0.25;
1774
- ref4.y = -0.045;
1775
- val4.x = -0.55;
1776
- val4.y = 0;
1777
- var gunn_diode_vert_default = rotatedSymbol6;
1972
+ var rotatedSymbol7 = rotateSymbol(gunn_diode_horz_default);
1973
+ var texts15 = rotatedSymbol7.primitives.filter((p) => p.type === "text");
1974
+ var ref5 = texts15.find((t) => t.text === "{REF}");
1975
+ var val5 = texts15.find((t) => t.text === "{VAL}");
1976
+ ref5.x = 0.25;
1977
+ ref5.y = -0.045;
1978
+ val5.x = -0.55;
1979
+ val5.y = 0;
1980
+ var gunn_diode_vert_default = rotatedSymbol7;
1778
1981
 
1779
1982
  // assets/generated/igbt_transistor.json
1780
1983
  var igbt_transistor_default = {
@@ -1955,11 +2158,11 @@ var igbt_transistor_default = {
1955
2158
  };
1956
2159
 
1957
2160
  // symbols/igbt_transistor_horz.ts
1958
- var { paths: paths12, texts: texts14, bounds: bounds12, refblocks: refblocks12, circles: circles8 } = igbt_transistor_default;
2161
+ var { paths: paths13, texts: texts16, bounds: bounds13, refblocks: refblocks13, circles: circles9 } = igbt_transistor_default;
1959
2162
  var igbt_transistor_horz_default = defineSymbol({
1960
2163
  primitives: [
1961
- ...Object.values(paths12),
1962
- ...Object.values(circles8),
2164
+ ...Object.values(paths13),
2165
+ ...Object.values(circles9),
1963
2166
  {
1964
2167
  type: "text",
1965
2168
  text: "{REF}",
@@ -1976,30 +2179,30 @@ var igbt_transistor_horz_default = defineSymbol({
1976
2179
  }
1977
2180
  ],
1978
2181
  ports: [
1979
- { ...refblocks12.top1, labels: ["1"] },
2182
+ { ...refblocks13.top1, labels: ["1"] },
1980
2183
  // TODO add more "standard" labels
1981
- { ...refblocks12.bottom1, labels: ["2"] },
2184
+ { ...refblocks13.bottom1, labels: ["2"] },
1982
2185
  // TODO add more "standard" labels
1983
- { ...refblocks12.left1, labels: ["3"] }
2186
+ { ...refblocks13.left1, labels: ["3"] }
1984
2187
  // TODO add more "standard" labels
1985
2188
  ],
1986
- size: { width: bounds12.width, height: bounds12.height },
1987
- center: { x: bounds12.centerX + 0.06, y: bounds12.centerY }
2189
+ size: { width: bounds13.width, height: bounds13.height },
2190
+ center: { x: bounds13.centerX + 0.06, y: bounds13.centerY }
1988
2191
  });
1989
2192
 
1990
2193
  // symbols/igbt_transistor_vert.ts
1991
2194
  var rotated2 = rotateSymbol(igbt_transistor_horz_default);
1992
- var ref5 = rotated2.primitives.find(
2195
+ var ref6 = rotated2.primitives.find(
1993
2196
  (p) => p.type === "text" && p.text === "{REF}"
1994
2197
  );
1995
- var val5 = rotated2.primitives.find(
2198
+ var val6 = rotated2.primitives.find(
1996
2199
  (p) => p.type === "text" && p.text === "{VAL}"
1997
2200
  );
1998
- ref5.anchor = "middle_left";
1999
- val5.anchor = "middle_right";
2000
- ref5.x = 0.45;
2001
- ref5.y += 0.065;
2002
- val5.y += 0.065;
2201
+ ref6.anchor = "middle_left";
2202
+ val6.anchor = "middle_right";
2203
+ ref6.x = 0.45;
2204
+ ref6.y += 0.065;
2205
+ val6.y += 0.065;
2003
2206
  var igbt_transistor_vert_default = rotated2;
2004
2207
 
2005
2208
  // assets/generated/laser_diode.json
@@ -2242,31 +2445,31 @@ var laser_diode_default = {
2242
2445
  };
2243
2446
 
2244
2447
  // symbols/laser_diode_horz.ts
2245
- var { paths: paths13, texts: texts15, bounds: bounds13, refblocks: refblocks13, circles: circles9 } = laser_diode_default;
2448
+ var { paths: paths14, texts: texts17, bounds: bounds14, refblocks: refblocks14, circles: circles10 } = laser_diode_default;
2246
2449
  var laser_diode_horz_default = defineSymbol({
2247
2450
  primitives: [
2248
- ...Object.values(paths13),
2249
- ...Object.values(circles9),
2250
- { ...texts15.top1, anchor: "middle_left" },
2251
- { ...texts15.bottom1, anchor: "middle_bottom" }
2451
+ ...Object.values(paths14),
2452
+ ...Object.values(circles10),
2453
+ { ...texts17.top1, anchor: "middle_left" },
2454
+ { ...texts17.bottom1, anchor: "middle_bottom" }
2252
2455
  ],
2253
2456
  ports: [
2254
- { ...refblocks13.left1, labels: ["1"] },
2457
+ { ...refblocks14.left1, labels: ["1"] },
2255
2458
  // TODO add more "standard" labels
2256
- { ...refblocks13.right1, labels: ["2"] }
2459
+ { ...refblocks14.right1, labels: ["2"] }
2257
2460
  // TODO add more "standard" labels
2258
2461
  ],
2259
- size: { width: bounds13.width, height: bounds13.height },
2260
- center: { x: bounds13.centerX, y: bounds13.centerY }
2462
+ size: { width: bounds14.width, height: bounds14.height },
2463
+ center: { x: bounds14.centerX, y: bounds14.centerY }
2261
2464
  });
2262
2465
 
2263
2466
  // symbols/laser_diode_vert.ts
2264
- var rotatedSymbol7 = rotateSymbol(laser_diode_horz_default);
2265
- var texts16 = rotatedSymbol7.primitives.filter((p) => p.type === "text");
2266
- var ref6 = texts16.find((t) => t.text === "{VAL}");
2267
- ref6.x = -0.52;
2268
- ref6.anchor = "middle_right";
2269
- var laser_diode_vert_default = rotatedSymbol7;
2467
+ var rotatedSymbol8 = rotateSymbol(laser_diode_horz_default);
2468
+ var texts18 = rotatedSymbol8.primitives.filter((p) => p.type === "text");
2469
+ var ref7 = texts18.find((t) => t.text === "{VAL}");
2470
+ ref7.x = -0.52;
2471
+ ref7.anchor = "middle_right";
2472
+ var laser_diode_vert_default = rotatedSymbol8;
2270
2473
 
2271
2474
  // assets/generated/led.json
2272
2475
  var led_default = {
@@ -2483,35 +2686,35 @@ var led_default = {
2483
2686
  };
2484
2687
 
2485
2688
  // symbols/led_horz.ts
2486
- var { paths: paths14, texts: texts17, bounds: bounds14, refblocks: refblocks14 } = led_default;
2689
+ var { paths: paths15, texts: texts19, bounds: bounds15, refblocks: refblocks15 } = led_default;
2487
2690
  var led_horz_default = defineSymbol({
2488
2691
  primitives: [
2489
- ...Object.values(paths14),
2490
- { ...texts17.bottom1, anchor: "middle_right" },
2491
- { ...texts17.right1, anchor: "middle_left" }
2692
+ ...Object.values(paths15),
2693
+ { ...texts19.bottom1, anchor: "middle_right" },
2694
+ { ...texts19.right1, anchor: "middle_left" }
2492
2695
  ],
2493
2696
  ports: [
2494
- { ...refblocks14.left1, labels: ["1", "anode", "pos"] },
2495
- { ...refblocks14.right1, labels: ["2", "cathode", "neg"] }
2697
+ { ...refblocks15.left1, labels: ["1", "anode", "pos"] },
2698
+ { ...refblocks15.right1, labels: ["2", "cathode", "neg"] }
2496
2699
  ],
2497
- size: { width: bounds14.width, height: bounds14.height },
2498
- center: { x: bounds14.centerX, y: bounds14.centerY + 0.1 }
2700
+ size: { width: bounds15.width, height: bounds15.height },
2701
+ center: { x: bounds15.centerX, y: bounds15.centerY + 0.1 }
2499
2702
  });
2500
2703
 
2501
2704
  // symbols/led_vert.ts
2502
2705
  var rotated3 = rotateSymbol(led_horz_default);
2503
- var ref7 = rotated3.primitives.find(
2706
+ var ref8 = rotated3.primitives.find(
2504
2707
  (p) => p.type === "text" && p.text === "{REF}"
2505
2708
  );
2506
- var val6 = rotated3.primitives.find(
2709
+ var val7 = rotated3.primitives.find(
2507
2710
  (p) => p.type === "text" && p.text === "{VAL}"
2508
2711
  );
2509
- ref7.anchor = "middle_left";
2510
- val6.anchor = "middle_right";
2511
- ref7.x += 0.1;
2512
- ref7.y += 0.017;
2513
- val6.y = ref7.y;
2514
- val6.x = -0.3;
2712
+ ref8.anchor = "middle_left";
2713
+ val7.anchor = "middle_right";
2714
+ ref8.x += 0.1;
2715
+ ref8.y += 0.017;
2716
+ val7.y = ref8.y;
2717
+ val7.x = -0.3;
2515
2718
  var led_vert_default = rotated3;
2516
2719
 
2517
2720
  // assets/generated/mosfet_depletion_normally_on.json
@@ -2784,37 +2987,37 @@ var mosfet_depletion_normally_on_default = {
2784
2987
  };
2785
2988
 
2786
2989
  // symbols/mosfet_depletion_normally_on_horz.ts
2787
- var { paths: paths15, texts: texts18, bounds: bounds15, refblocks: refblocks15 } = mosfet_depletion_normally_on_default;
2990
+ var { paths: paths16, texts: texts20, bounds: bounds16, refblocks: refblocks16 } = mosfet_depletion_normally_on_default;
2788
2991
  var mosfet_depletion_normally_on_horz_default = defineSymbol({
2789
2992
  primitives: [
2790
- ...Object.values(paths15),
2791
- { ...texts18.right1, anchor: "middle_left" },
2792
- { ...texts18.right2, anchor: "middle_left" }
2993
+ ...Object.values(paths16),
2994
+ { ...texts20.right1, anchor: "middle_left" },
2995
+ { ...texts20.right2, anchor: "middle_left" }
2793
2996
  ],
2794
2997
  ports: [
2795
- { ...refblocks15.top1, labels: ["1"] },
2998
+ { ...refblocks16.top1, labels: ["1"] },
2796
2999
  // TODO add more "standard" labels
2797
- { ...refblocks15.bottom1, labels: ["2"] },
3000
+ { ...refblocks16.bottom1, labels: ["2"] },
2798
3001
  // TODO add more "standard" labels
2799
- { ...refblocks15.left1, labels: ["3"] }
3002
+ { ...refblocks16.left1, labels: ["3"] }
2800
3003
  // TODO add more "standard" labels
2801
3004
  ],
2802
- size: { width: bounds15.width + 0.4, height: bounds15.height },
2803
- center: { x: bounds15.centerX + 0.2, y: bounds15.centerY }
3005
+ size: { width: bounds16.width + 0.4, height: bounds16.height },
3006
+ center: { x: bounds16.centerX + 0.2, y: bounds16.centerY }
2804
3007
  });
2805
3008
 
2806
3009
  // symbols/mosfet_depletion_normally_on_vert.ts
2807
3010
  var rotated4 = rotateSymbol(mosfet_depletion_normally_on_horz_default);
2808
- var ref8 = rotated4.primitives.find(
3011
+ var ref9 = rotated4.primitives.find(
2809
3012
  (p) => p.type === "text" && p.text === "{REF}"
2810
3013
  );
2811
- var val7 = rotated4.primitives.find(
3014
+ var val8 = rotated4.primitives.find(
2812
3015
  (p) => p.type === "text" && p.text === "{VAL}"
2813
3016
  );
2814
- ref8.anchor = "middle_top";
2815
- val7.anchor = "middle_top";
2816
- ref8.x = val7.x;
2817
- val7.y += 0.15;
3017
+ ref9.anchor = "middle_top";
3018
+ val8.anchor = "middle_top";
3019
+ ref9.x = val8.x;
3020
+ val8.y += 0.15;
2818
3021
  var mosfet_depletion_normally_on_vert_default = rotated4;
2819
3022
 
2820
3023
  // assets/generated/photodiode.json
@@ -3042,11 +3245,11 @@ var photodiode_default = {
3042
3245
  };
3043
3246
 
3044
3247
  // symbols/photodiode_horz.ts
3045
- var { paths: paths16, texts: texts19, bounds: bounds16, refblocks: refblocks16, circles: circles10 } = photodiode_default;
3248
+ var { paths: paths17, texts: texts21, bounds: bounds17, refblocks: refblocks17, circles: circles11 } = photodiode_default;
3046
3249
  var photodiode_horz_default = defineSymbol({
3047
3250
  primitives: [
3048
- ...Object.values(paths16),
3049
- ...Object.values(circles10),
3251
+ ...Object.values(paths17),
3252
+ ...Object.values(circles11),
3050
3253
  {
3051
3254
  type: "text",
3052
3255
  text: "{REF}",
@@ -3063,22 +3266,22 @@ var photodiode_horz_default = defineSymbol({
3063
3266
  }
3064
3267
  ],
3065
3268
  ports: [
3066
- { ...refblocks16.left1, labels: ["1"] },
3269
+ { ...refblocks17.left1, labels: ["1"] },
3067
3270
  // TODO add more "standard" labels
3068
- { ...refblocks16.right1, labels: ["2"] }
3271
+ { ...refblocks17.right1, labels: ["2"] }
3069
3272
  // TODO add more "standard" labels
3070
3273
  ],
3071
- size: { width: bounds16.width, height: bounds16.height },
3072
- center: { x: bounds16.centerX, y: bounds16.centerY }
3274
+ size: { width: bounds17.width, height: bounds17.height },
3275
+ center: { x: bounds17.centerX, y: bounds17.centerY }
3073
3276
  });
3074
3277
 
3075
3278
  // symbols/photodiode_vert.ts
3076
- var rotatedSymbol8 = rotateSymbol(photodiode_horz_default);
3077
- var texts20 = rotatedSymbol8.primitives.filter((p) => p.type === "text");
3078
- var ref9 = texts20.find((t) => t.text === "{REF}");
3079
- ref9.y = 0;
3080
- ref9.anchor = "middle_left";
3081
- var photodiode_vert_default = rotatedSymbol8;
3279
+ var rotatedSymbol9 = rotateSymbol(photodiode_horz_default);
3280
+ var texts22 = rotatedSymbol9.primitives.filter((p) => p.type === "text");
3281
+ var ref10 = texts22.find((t) => t.text === "{REF}");
3282
+ ref10.y = 0;
3283
+ ref10.anchor = "middle_left";
3284
+ var photodiode_vert_default = rotatedSymbol9;
3082
3285
 
3083
3286
  // assets/generated/potentiometer.json
3084
3287
  var potentiometer_default = {
@@ -3216,21 +3419,21 @@ var potentiometer_default = {
3216
3419
  };
3217
3420
 
3218
3421
  // symbols/potentiometer_horz.ts
3219
- var { paths: paths17, texts: texts21, bounds: bounds17, refblocks: refblocks17 } = potentiometer_default;
3422
+ var { paths: paths18, texts: texts23, bounds: bounds18, refblocks: refblocks18 } = potentiometer_default;
3220
3423
  var potentiometer_horz_default = defineSymbol({
3221
3424
  primitives: [
3222
- ...Object.values(paths17),
3223
- { ...texts21.bottom1, y: 0.35, anchor: "middle_top" },
3224
- { ...texts21.right1, anchor: "middle_left" }
3425
+ ...Object.values(paths18),
3426
+ { ...texts23.bottom1, y: 0.35, anchor: "middle_top" },
3427
+ { ...texts23.right1, anchor: "middle_left" }
3225
3428
  ],
3226
3429
  ports: [
3227
- { ...refblocks17.left1, labels: ["1"] },
3430
+ { ...refblocks18.left1, labels: ["1"] },
3228
3431
  // TODO add more "standard" labels
3229
- { ...refblocks17.right1, labels: ["2"] }
3432
+ { ...refblocks18.right1, labels: ["2"] }
3230
3433
  // TODO add more "standard" labels
3231
3434
  ],
3232
- size: { width: bounds17.width + 0.05, height: bounds17.height },
3233
- center: { x: bounds17.centerX, y: bounds17.centerY }
3435
+ size: { width: bounds18.width + 0.05, height: bounds18.height },
3436
+ center: { x: bounds18.centerX, y: bounds18.centerY }
3234
3437
  });
3235
3438
 
3236
3439
  // symbols/potentiometer_vert.ts
@@ -3392,21 +3595,21 @@ var potentiometer2_default = {
3392
3595
  };
3393
3596
 
3394
3597
  // symbols/potentiometer2_horz.ts
3395
- var { paths: paths18, texts: texts22, bounds: bounds18, refblocks: refblocks18 } = potentiometer2_default;
3598
+ var { paths: paths19, texts: texts24, bounds: bounds19, refblocks: refblocks19 } = potentiometer2_default;
3396
3599
  var potentiometer2_horz_default = defineSymbol({
3397
3600
  primitives: [
3398
- ...Object.values(paths18),
3399
- { ...texts22.bottom1, anchor: "middle_right" },
3400
- { ...texts22.top1, anchor: "middle_left" }
3601
+ ...Object.values(paths19),
3602
+ { ...texts24.bottom1, anchor: "middle_right" },
3603
+ { ...texts24.top1, anchor: "middle_left" }
3401
3604
  ],
3402
3605
  ports: [
3403
- { ...refblocks18.left1, labels: ["1"] },
3606
+ { ...refblocks19.left1, labels: ["1"] },
3404
3607
  // TODO add more "standard" labels
3405
- { ...refblocks18.right1, labels: ["2"] }
3608
+ { ...refblocks19.right1, labels: ["2"] }
3406
3609
  // TODO add more "standard" labels
3407
3610
  ],
3408
- size: { width: bounds18.width, height: bounds18.height },
3409
- center: { x: bounds18.centerX, y: bounds18.centerY }
3611
+ size: { width: bounds19.width, height: bounds19.height },
3612
+ center: { x: bounds19.centerX, y: bounds19.centerY }
3410
3613
  });
3411
3614
 
3412
3615
  // symbols/potentiometer2_vert.ts
@@ -3499,11 +3702,11 @@ var power_factor_meter_default = {
3499
3702
  };
3500
3703
 
3501
3704
  // symbols/power_factor_meter_horz.ts
3502
- var { paths: paths19, texts: texts23, bounds: bounds19, refblocks: refblocks19, circles: circles11 } = power_factor_meter_default;
3705
+ var { paths: paths20, texts: texts25, bounds: bounds20, refblocks: refblocks20, circles: circles12 } = power_factor_meter_default;
3503
3706
  var power_factor_meter_horz_default = defineSymbol({
3504
3707
  primitives: [
3505
- ...Object.values(paths19),
3506
- ...Object.values(circles11),
3708
+ ...Object.values(paths20),
3709
+ ...Object.values(circles12),
3507
3710
  // { ...texts.top1, anchor: "middle_left" },
3508
3711
  {
3509
3712
  type: "text",
@@ -3530,28 +3733,28 @@ var power_factor_meter_horz_default = defineSymbol({
3530
3733
  }
3531
3734
  ],
3532
3735
  ports: [
3533
- { ...refblocks19.left1, labels: ["1"] },
3736
+ { ...refblocks20.left1, labels: ["1"] },
3534
3737
  // TODO add more "standard" labels
3535
- { ...refblocks19.right1, labels: ["2"] }
3738
+ { ...refblocks20.right1, labels: ["2"] }
3536
3739
  // TODO add more "standard" labels
3537
3740
  ],
3538
- size: { width: bounds19.width, height: bounds19.height },
3539
- center: { x: bounds19.centerX, y: bounds19.centerY }
3741
+ size: { width: bounds20.width, height: bounds20.height },
3742
+ center: { x: bounds20.centerX, y: bounds20.centerY }
3540
3743
  });
3541
3744
 
3542
3745
  // symbols/power_factor_meter_vert.ts
3543
- var rotatedSymbol9 = rotateSymbol(power_factor_meter_horz_default);
3544
- var texts24 = rotatedSymbol9.primitives.filter((p) => p.type === "text");
3545
- var ref10 = texts24.find((t) => t.text === "{REF}");
3546
- var val8 = texts24.find((t) => t.text === "{VAL}");
3547
- var text_cos = texts24.find((t) => t.text === "COS \u03C6");
3548
- ref10.x = 0.35;
3549
- ref10.y = 0;
3550
- val8.x = -0.6;
3551
- val8.y = 0;
3746
+ var rotatedSymbol10 = rotateSymbol(power_factor_meter_horz_default);
3747
+ var texts26 = rotatedSymbol10.primitives.filter((p) => p.type === "text");
3748
+ var ref11 = texts26.find((t) => t.text === "{REF}");
3749
+ var val9 = texts26.find((t) => t.text === "{VAL}");
3750
+ var text_cos = texts26.find((t) => t.text === "COS \u03C6");
3751
+ ref11.x = 0.35;
3752
+ ref11.y = 0;
3753
+ val9.x = -0.6;
3754
+ val9.y = 0;
3552
3755
  text_cos.x = -0.1;
3553
3756
  text_cos.y = 0;
3554
- var power_factor_meter_vert_default = rotatedSymbol9;
3757
+ var power_factor_meter_vert_default = rotatedSymbol10;
3555
3758
 
3556
3759
  // assets/generated/push_button_normally_closed_momentary.json
3557
3760
  var push_button_normally_closed_momentary_default = {
@@ -3654,37 +3857,37 @@ var push_button_normally_closed_momentary_default = {
3654
3857
  };
3655
3858
 
3656
3859
  // symbols/push_button_normally_closed_momentary_horz.ts
3657
- var { paths: paths20, texts: texts25, bounds: bounds20, refblocks: refblocks20 } = push_button_normally_closed_momentary_default;
3860
+ var { paths: paths21, texts: texts27, bounds: bounds21, refblocks: refblocks21 } = push_button_normally_closed_momentary_default;
3658
3861
  var push_button_normally_closed_momentary_horz_default = defineSymbol({
3659
3862
  primitives: [
3660
- ...Object.values(paths20),
3661
- { ...texts25.top1, anchor: "middle_bottom" },
3662
- { ...texts25.bottom1, anchor: "middle_top" }
3863
+ ...Object.values(paths21),
3864
+ { ...texts27.top1, anchor: "middle_bottom" },
3865
+ { ...texts27.bottom1, anchor: "middle_top" }
3663
3866
  ],
3664
3867
  ports: [
3665
- { ...refblocks20.left1, labels: ["1"] },
3868
+ { ...refblocks21.left1, labels: ["1"] },
3666
3869
  // TODO add more "standard" labels
3667
- { ...refblocks20.right1, labels: ["2"] }
3870
+ { ...refblocks21.right1, labels: ["2"] }
3668
3871
  // TODO add more "standard" labels
3669
3872
  ],
3670
- size: { width: bounds20.width, height: bounds20.height },
3671
- center: { x: bounds20.centerX, y: bounds20.centerY }
3873
+ size: { width: bounds21.width, height: bounds21.height },
3874
+ center: { x: bounds21.centerX, y: bounds21.centerY }
3672
3875
  });
3673
3876
 
3674
3877
  // symbols/push_button_normally_closed_momentary_vert.ts
3675
3878
  var rotated6 = rotateSymbol(push_button_normally_closed_momentary_horz_default);
3676
- var ref11 = rotated6.primitives.find(
3879
+ var ref12 = rotated6.primitives.find(
3677
3880
  (p) => p.type === "text" && p.text === "{REF}"
3678
3881
  );
3679
- var val9 = rotated6.primitives.find(
3882
+ var val10 = rotated6.primitives.find(
3680
3883
  (p) => p.type === "text" && p.text === "{VAL}"
3681
3884
  );
3682
- ref11.anchor = "middle_left";
3683
- val9.anchor = "middle_right";
3684
- ref11.x = ref11.x - 0.03;
3685
- ref11.y = ref11.y;
3686
- val9.x = val9.x;
3687
- val9.y = 0;
3885
+ ref12.anchor = "middle_left";
3886
+ val10.anchor = "middle_right";
3887
+ ref12.x = ref12.x - 0.03;
3888
+ ref12.y = ref12.y;
3889
+ val10.x = val10.x;
3890
+ val10.y = 0;
3688
3891
  var push_button_normally_closed_momentary_vert_default = rotated6;
3689
3892
 
3690
3893
  // assets/generated/push_button_normally_open_momentary.json
@@ -3788,39 +3991,422 @@ var push_button_normally_open_momentary_default = {
3788
3991
  };
3789
3992
 
3790
3993
  // symbols/push_button_normally_open_momentary_horz.ts
3791
- var { paths: paths21, texts: texts26, bounds: bounds21, refblocks: refblocks21 } = push_button_normally_open_momentary_default;
3994
+ var { paths: paths22, texts: texts28, bounds: bounds22, refblocks: refblocks22 } = push_button_normally_open_momentary_default;
3792
3995
  var push_button_normally_open_momentary_horz_default = defineSymbol({
3793
3996
  primitives: [
3794
- ...Object.values(paths21),
3795
- { ...texts26.top1, anchor: "middle_bottom" },
3796
- { ...texts26.bottom1, anchor: "middle_top" }
3997
+ ...Object.values(paths22),
3998
+ { ...texts28.top1, anchor: "middle_bottom" },
3999
+ { ...texts28.bottom1, anchor: "middle_top" }
3797
4000
  ],
3798
4001
  ports: [
3799
- { ...refblocks21.left1, labels: ["1"] },
4002
+ { ...refblocks22.left1, labels: ["1"] },
3800
4003
  // TODO add more "standard" labels
3801
- { ...refblocks21.right1, labels: ["2"] }
4004
+ { ...refblocks22.right1, labels: ["2"] }
3802
4005
  // TODO add more "standard" labels
3803
4006
  ],
3804
- size: { width: bounds21.width, height: bounds21.height },
3805
- center: { x: bounds21.centerX, y: bounds21.centerY }
4007
+ size: { width: bounds22.width, height: bounds22.height },
4008
+ center: { x: bounds22.centerX, y: bounds22.centerY }
3806
4009
  });
3807
4010
 
3808
4011
  // symbols/push_button_normally_open_momentary_vert.ts
3809
4012
  var rotated7 = rotateSymbol(push_button_normally_open_momentary_horz_default);
3810
- var ref12 = rotated7.primitives.find(
4013
+ var ref13 = rotated7.primitives.find(
3811
4014
  (p) => p.type === "text" && p.text === "{REF}"
3812
4015
  );
3813
- var val10 = rotated7.primitives.find(
4016
+ var val11 = rotated7.primitives.find(
3814
4017
  (p) => p.type === "text" && p.text === "{VAL}"
3815
4018
  );
3816
- ref12.anchor = "middle_left";
3817
- val10.anchor = "middle_right";
3818
- ref12.x = ref12.x + 0.1;
3819
- ref12.y = ref12.y;
3820
- val10.x = val10.x;
3821
- val10.y = 0;
4019
+ ref13.anchor = "middle_left";
4020
+ val11.anchor = "middle_right";
4021
+ ref13.x = ref13.x + 0.1;
4022
+ ref13.y = ref13.y;
4023
+ val11.x = val11.x;
4024
+ val11.y = 0;
3822
4025
  var push_button_normally_open_momentary_vert_default = rotated7;
3823
4026
 
4027
+ // assets/generated/resonator.json
4028
+ var resonator_default = {
4029
+ paths: {
4030
+ path27: {
4031
+ type: "path",
4032
+ points: [
4033
+ {
4034
+ x: 0.7635944500000007,
4035
+ y: 0.28495445000000075
4036
+ },
4037
+ {
4038
+ x: 0.3138028500000005,
4039
+ y: 0.28495445000000075
4040
+ }
4041
+ ],
4042
+ color: "primary",
4043
+ fill: false
4044
+ },
4045
+ path28: {
4046
+ type: "path",
4047
+ points: [
4048
+ {
4049
+ x: -0.301017949999999,
4050
+ y: 0.02024775000000112
4051
+ },
4052
+ {
4053
+ x: -0.7508096499999994,
4054
+ y: 0.02024775000000112
4055
+ }
4056
+ ],
4057
+ color: "primary",
4058
+ fill: false
4059
+ },
4060
+ path30: {
4061
+ type: "path",
4062
+ points: [
4063
+ {
4064
+ x: -0.3010179499999994,
4065
+ y: -0.34304865000000007
4066
+ },
4067
+ {
4068
+ x: -0.301017949999999,
4069
+ y: 0.2848310499999993
4070
+ }
4071
+ ],
4072
+ color: "primary",
4073
+ fill: false
4074
+ },
4075
+ "path27-3": {
4076
+ type: "path",
4077
+ points: [
4078
+ {
4079
+ x: 0.7729788499999999,
4080
+ y: -0.34624514999999967
4081
+ },
4082
+ {
4083
+ x: 0.32318725000000015,
4084
+ y: -0.34624514999999967
4085
+ }
4086
+ ],
4087
+ color: "primary",
4088
+ fill: false
4089
+ },
4090
+ "path29-5": {
4091
+ type: "path",
4092
+ points: [
4093
+ {
4094
+ x: -0.07279374999999932,
4095
+ y: 0.28481924999999997
4096
+ },
4097
+ {
4098
+ x: -0.2983350499999995,
4099
+ y: 0.28481924999999997
4100
+ }
4101
+ ],
4102
+ color: "primary",
4103
+ fill: false
4104
+ },
4105
+ "path29-5-7": {
4106
+ type: "path",
4107
+ points: [
4108
+ {
4109
+ x: 0.33114835000000076,
4110
+ y: 0.284840449999999
4111
+ },
4112
+ {
4113
+ x: 0.10560705000000059,
4114
+ y: 0.284840449999999
4115
+ }
4116
+ ],
4117
+ color: "primary",
4118
+ fill: false
4119
+ },
4120
+ "path29-5-7-6": {
4121
+ type: "path",
4122
+ points: [
4123
+ {
4124
+ x: -0.055820049999999455,
4125
+ y: 0.17265845000000013
4126
+ },
4127
+ {
4128
+ x: -0.055820049999999455,
4129
+ y: 0.39819974999999985
4130
+ }
4131
+ ],
4132
+ color: "primary",
4133
+ fill: false
4134
+ },
4135
+ "path29-5-7-6-6": {
4136
+ type: "path",
4137
+ points: [
4138
+ {
4139
+ x: 0.09396265000000081,
4140
+ y: 0.17268285000000105
4141
+ },
4142
+ {
4143
+ x: 0.09396265000000081,
4144
+ y: 0.3982241500000008
4145
+ }
4146
+ ],
4147
+ color: "primary",
4148
+ fill: false
4149
+ },
4150
+ "path29-5-9": {
4151
+ type: "path",
4152
+ points: [
4153
+ {
4154
+ x: -0.07296184999999955,
4155
+ y: -0.3463701499999985
4156
+ },
4157
+ {
4158
+ x: -0.2985031499999997,
4159
+ y: -0.3463701499999985
4160
+ }
4161
+ ],
4162
+ color: "primary",
4163
+ fill: false
4164
+ },
4165
+ "path29-5-7-2": {
4166
+ type: "path",
4167
+ points: [
4168
+ {
4169
+ x: 0.33098025000000053,
4170
+ y: -0.3463489500000012
4171
+ },
4172
+ {
4173
+ x: 0.10543895000000036,
4174
+ y: -0.3463489500000012
4175
+ }
4176
+ ],
4177
+ color: "primary",
4178
+ fill: false
4179
+ },
4180
+ "path29-5-7-6-0": {
4181
+ type: "path",
4182
+ points: [
4183
+ {
4184
+ x: -0.05598814999999968,
4185
+ y: -0.4585309500000001
4186
+ },
4187
+ {
4188
+ x: -0.05598814999999968,
4189
+ y: -0.2329896499999986
4190
+ }
4191
+ ],
4192
+ color: "primary",
4193
+ fill: false
4194
+ },
4195
+ "path29-5-7-6-6-2": {
4196
+ type: "path",
4197
+ points: [
4198
+ {
4199
+ x: 0.09379455000000014,
4200
+ y: -0.45850655000000096
4201
+ },
4202
+ {
4203
+ x: 0.09379455000000014,
4204
+ y: -0.23296525000000123
4205
+ }
4206
+ ],
4207
+ color: "primary",
4208
+ fill: false
4209
+ },
4210
+ "path29-5-92": {
4211
+ type: "path",
4212
+ points: [
4213
+ {
4214
+ x: 0.3315317500000008,
4215
+ y: -0.12063885000000063
4216
+ },
4217
+ {
4218
+ x: 0.33153175000000035,
4219
+ y: -0.34618015000000035
4220
+ }
4221
+ ],
4222
+ color: "primary",
4223
+ fill: false
4224
+ },
4225
+ "path29-5-7-28": {
4226
+ type: "path",
4227
+ points: [
4228
+ {
4229
+ x: 0.3315105500000004,
4230
+ y: 0.28330324999999945
4231
+ },
4232
+ {
4233
+ x: 0.3315105500000004,
4234
+ y: 0.05776194999999973
4235
+ }
4236
+ ],
4237
+ color: "primary",
4238
+ fill: false
4239
+ },
4240
+ "path29-5-7-6-9": {
4241
+ type: "path",
4242
+ points: [
4243
+ {
4244
+ x: 0.44369255000000063,
4245
+ y: -0.1036651500000012
4246
+ },
4247
+ {
4248
+ x: 0.21815125000000046,
4249
+ y: -0.1036651500000012
4250
+ }
4251
+ ],
4252
+ color: "primary",
4253
+ fill: false
4254
+ },
4255
+ "path29-5-7-6-6-7": {
4256
+ type: "path",
4257
+ points: [
4258
+ {
4259
+ x: 0.4436681500000006,
4260
+ y: 0.04611754999999995
4261
+ },
4262
+ {
4263
+ x: 0.21812685000000043,
4264
+ y: 0.04611754999999995
4265
+ }
4266
+ ],
4267
+ color: "primary",
4268
+ fill: false
4269
+ },
4270
+ "path29-5-7-6-9-2": {
4271
+ type: "path",
4272
+ points: [
4273
+ {
4274
+ x: 0.44235445000000073,
4275
+ y: -0.06667004999999904
4276
+ },
4277
+ {
4278
+ x: 0.21681315000000057,
4279
+ y: -0.06667004999999904
4280
+ }
4281
+ ],
4282
+ color: "primary",
4283
+ fill: false
4284
+ },
4285
+ "path29-5-7-6-9-2-4": {
4286
+ type: "path",
4287
+ points: [
4288
+ {
4289
+ x: 0.4429695500000004,
4290
+ y: 0.007559849999998036
4291
+ },
4292
+ {
4293
+ x: 0.4430214500000007,
4294
+ y: -0.06634914999999886
4295
+ }
4296
+ ],
4297
+ color: "primary",
4298
+ fill: false
4299
+ },
4300
+ "path29-5-7-6-9-2-4-6": {
4301
+ type: "path",
4302
+ points: [
4303
+ {
4304
+ x: 0.21634305000000031,
4305
+ y: 0.008546850000001882
4306
+ },
4307
+ {
4308
+ x: 0.21639495000000064,
4309
+ y: -0.06536215000000212
4310
+ }
4311
+ ],
4312
+ color: "primary",
4313
+ fill: false
4314
+ },
4315
+ "path29-5-7-6-9-2-9": {
4316
+ type: "path",
4317
+ points: [
4318
+ {
4319
+ x: 0.4429537500000005,
4320
+ y: 0.009130850000000024
4321
+ },
4322
+ {
4323
+ x: 0.21741245000000076,
4324
+ y: 0.009130850000000024
4325
+ }
4326
+ ],
4327
+ color: "primary",
4328
+ fill: false
4329
+ }
4330
+ },
4331
+ texts: {
4332
+ top1: {
4333
+ type: "text",
4334
+ text: "{REF}",
4335
+ x: 0.01596175000000022,
4336
+ y: -0.5308501500000009
4337
+ },
4338
+ bottom1: {
4339
+ type: "text",
4340
+ text: "{VAL}",
4341
+ x: 0.013116750000000454,
4342
+ y: 0.5408501499999989
4343
+ }
4344
+ },
4345
+ refblocks: {
4346
+ left1: {
4347
+ x: -0.7666234499999998,
4348
+ y: 0.0211504499999986
4349
+ },
4350
+ right1: {
4351
+ x: 0.7666234500000004,
4352
+ y: -0.344347250000002
4353
+ },
4354
+ right2: {
4355
+ x: 0.7572390499999999,
4356
+ y: 0.2868523500000002
4357
+ }
4358
+ },
4359
+ bounds: {
4360
+ minX: -0.7947818909999997,
4361
+ maxX: 0.7947818910000004,
4362
+ minY: -0.6308501500000009,
4363
+ maxY: 0.5408501499999989,
4364
+ width: 1.5895637820000001,
4365
+ height: 1.1717003,
4366
+ centerX: 33306690738754696e-32,
4367
+ centerY: -0.045000000000000984
4368
+ },
4369
+ circles: {}
4370
+ };
4371
+
4372
+ // symbols/resonator_horz.ts
4373
+ var { paths: paths23, texts: texts29, bounds: bounds23, refblocks: refblocks23, circles: circles13 } = resonator_default;
4374
+ var resonator_horz_default = defineSymbol({
4375
+ primitives: [
4376
+ ...Object.values(paths23),
4377
+ ...Object.values(circles13),
4378
+ // { ...texts.top1, anchor: "middle_left" },
4379
+ // { ...texts.bottom1, anchor: "middle_left" },
4380
+ {
4381
+ type: "text",
4382
+ text: "{REF}",
4383
+ x: 0.01596175000000022,
4384
+ y: -0.5308501500000009,
4385
+ anchor: "middle_bottom"
4386
+ },
4387
+ {
4388
+ type: "text",
4389
+ text: "{VAL}",
4390
+ x: 0.013116750000000454,
4391
+ y: 0.5408501499999989,
4392
+ anchor: "middle_top"
4393
+ }
4394
+ ],
4395
+ ports: [
4396
+ { ...refblocks23.left1, labels: ["1"] },
4397
+ // TODO add more "standard" labels
4398
+ { ...refblocks23.right1, labels: ["2"] },
4399
+ // TODO add more "standard" labels
4400
+ { ...refblocks23.right2, labels: ["3"] }
4401
+ // TODO add more "standard" labels
4402
+ ],
4403
+ size: { width: bounds23.width, height: bounds23.height },
4404
+ center: { x: bounds23.centerX, y: bounds23.centerY }
4405
+ });
4406
+
4407
+ // symbols/resonator_vert.ts
4408
+ var resonator_vert_default = rotateSymbol(resonator_horz_default);
4409
+
3824
4410
  // assets/generated/schottky_diode.json
3825
4411
  var schottky_diode_default = {
3826
4412
  paths: {
@@ -4013,34 +4599,34 @@ var schottky_diode_default = {
4013
4599
  };
4014
4600
 
4015
4601
  // symbols/schottky_diode_horz.ts
4016
- var { paths: paths22, texts: texts27, bounds: bounds22, refblocks: refblocks22, circles: circles12 } = schottky_diode_default;
4602
+ var { paths: paths24, texts: texts30, bounds: bounds24, refblocks: refblocks24, circles: circles14 } = schottky_diode_default;
4017
4603
  var schottky_diode_horz_default = defineSymbol({
4018
4604
  primitives: [
4019
- ...Object.values(paths22),
4020
- ...Object.values(circles12),
4021
- { ...texts27.top1, anchor: "middle_bottom" },
4022
- { ...texts27.bottom1, anchor: "middle_top" }
4605
+ ...Object.values(paths24),
4606
+ ...Object.values(circles14),
4607
+ { ...texts30.top1, anchor: "middle_bottom" },
4608
+ { ...texts30.bottom1, anchor: "middle_top" }
4023
4609
  ],
4024
4610
  ports: [
4025
- { ...refblocks22.left1, labels: ["1"] },
4611
+ { ...refblocks24.left1, labels: ["1"] },
4026
4612
  // TODO add more "standard" labels
4027
- { ...refblocks22.right1, labels: ["2"] }
4613
+ { ...refblocks24.right1, labels: ["2"] }
4028
4614
  // TODO add more "standard" labels
4029
4615
  ],
4030
- size: { width: bounds22.width, height: bounds22.height },
4031
- center: { x: bounds22.centerX, y: bounds22.centerY }
4616
+ size: { width: bounds24.width, height: bounds24.height },
4617
+ center: { x: bounds24.centerX, y: bounds24.centerY }
4032
4618
  });
4033
4619
 
4034
4620
  // symbols/schottky_diode_vert.ts
4035
4621
  var rotated8 = rotateSymbol(schottky_diode_horz_default);
4036
- var ref13 = rotated8.primitives.find(
4622
+ var ref14 = rotated8.primitives.find(
4037
4623
  (p) => p.type === "text" && p.text === "{REF}"
4038
4624
  );
4039
- var val11 = rotated8.primitives.find(
4625
+ var val12 = rotated8.primitives.find(
4040
4626
  (p) => p.type === "text" && p.text === "{VAL}"
4041
4627
  );
4042
- ref13.anchor = "middle_left";
4043
- val11.anchor = "middle_right";
4628
+ ref14.anchor = "middle_left";
4629
+ val12.anchor = "middle_right";
4044
4630
  var schottky_diode_vert_default = rotated8;
4045
4631
 
4046
4632
  // assets/generated/silicon_controlled_rectifier.json
@@ -4187,35 +4773,35 @@ var silicon_controlled_rectifier_default = {
4187
4773
  };
4188
4774
 
4189
4775
  // symbols/silicon_controlled_rectifier_horz.ts
4190
- var { paths: paths23, texts: texts28, bounds: bounds23, refblocks: refblocks23, circles: circles13 } = silicon_controlled_rectifier_default;
4776
+ var { paths: paths25, texts: texts31, bounds: bounds25, refblocks: refblocks25, circles: circles15 } = silicon_controlled_rectifier_default;
4191
4777
  var silicon_controlled_rectifier_horz_default = defineSymbol({
4192
4778
  primitives: [
4193
- ...Object.values(paths23),
4194
- ...Object.values(circles13),
4195
- { ...texts28.top1, anchor: "middle_left" },
4196
- { ...texts28.bottom1, anchor: "middle_top" }
4779
+ ...Object.values(paths25),
4780
+ ...Object.values(circles15),
4781
+ { ...texts31.top1, anchor: "middle_left" },
4782
+ { ...texts31.bottom1, anchor: "middle_top" }
4197
4783
  ],
4198
4784
  ports: [
4199
- { ...refblocks23.left1, labels: ["1"] },
4785
+ { ...refblocks25.left1, labels: ["1"] },
4200
4786
  // TODO add more "standard" labels
4201
- { ...refblocks23.right1, labels: ["2"] },
4787
+ { ...refblocks25.right1, labels: ["2"] },
4202
4788
  // TODO add more "standard" labels
4203
- { ...refblocks23.bottom1, labels: ["3"] }
4789
+ { ...refblocks25.bottom1, labels: ["3"] }
4204
4790
  // TODO add more "standard" labels
4205
4791
  ],
4206
- size: { width: bounds23.width, height: bounds23.height },
4207
- center: { x: bounds23.centerX, y: bounds23.centerY }
4792
+ size: { width: bounds25.width, height: bounds25.height },
4793
+ center: { x: bounds25.centerX, y: bounds25.centerY }
4208
4794
  });
4209
4795
 
4210
4796
  // symbols/silicon_controlled_rectifier_vert.ts
4211
- var rotatedSymbol10 = rotateSymbol(silicon_controlled_rectifier_horz_default);
4212
- var texts29 = rotatedSymbol10.primitives.filter(
4797
+ var rotatedSymbol11 = rotateSymbol(silicon_controlled_rectifier_horz_default);
4798
+ var texts32 = rotatedSymbol11.primitives.filter(
4213
4799
  (primitive) => primitive.type === "text"
4214
4800
  );
4215
- var ref14 = texts29.find((text) => text.text === "{REF}");
4216
- ref14.y = 0;
4217
- ref14.anchor = "middle_left";
4218
- var silicon_controlled_rectifier_vert_default = rotatedSymbol10;
4801
+ var ref15 = texts32.find((text) => text.text === "{REF}");
4802
+ ref15.y = 0;
4803
+ ref15.anchor = "middle_left";
4804
+ var silicon_controlled_rectifier_vert_default = rotatedSymbol11;
4219
4805
 
4220
4806
  // assets/generated/step_recovery_diode.json
4221
4807
  var step_recovery_diode_default = {
@@ -4379,11 +4965,11 @@ var step_recovery_diode_default = {
4379
4965
  };
4380
4966
 
4381
4967
  // symbols/step_recovery_diode_horz.ts
4382
- var { paths: paths24, texts: texts30, bounds: bounds24, refblocks: refblocks24, circles: circles14 } = step_recovery_diode_default;
4968
+ var { paths: paths26, texts: texts33, bounds: bounds26, refblocks: refblocks26, circles: circles16 } = step_recovery_diode_default;
4383
4969
  var step_recovery_diode_horz_default = defineSymbol({
4384
4970
  primitives: [
4385
- ...Object.values(paths24),
4386
- ...Object.values(circles14),
4971
+ ...Object.values(paths26),
4972
+ ...Object.values(circles16),
4387
4973
  // { ...texts.top1, anchor: "middle_left" },
4388
4974
  // { ...texts.bottom1, anchor: "middle_left" },
4389
4975
  {
@@ -4402,13 +4988,13 @@ var step_recovery_diode_horz_default = defineSymbol({
4402
4988
  }
4403
4989
  ],
4404
4990
  ports: [
4405
- { ...refblocks24.left1, labels: ["1"] },
4991
+ { ...refblocks26.left1, labels: ["1"] },
4406
4992
  // TODO add more "standard" labels
4407
- { ...refblocks24.right1, labels: ["2"] }
4993
+ { ...refblocks26.right1, labels: ["2"] }
4408
4994
  // TODO add more "standard" labels
4409
4995
  ],
4410
- size: { width: bounds24.width, height: bounds24.height },
4411
- center: { x: bounds24.centerX, y: bounds24.centerY }
4996
+ size: { width: bounds26.width, height: bounds26.height },
4997
+ center: { x: bounds26.centerX, y: bounds26.centerY }
4412
4998
  });
4413
4999
 
4414
5000
  // symbols/step_recovery_diode_vert.ts
@@ -4605,36 +5191,36 @@ var triac_default = {
4605
5191
  };
4606
5192
 
4607
5193
  // symbols/triac_horz.ts
4608
- var { paths: paths25, texts: texts31, bounds: bounds25, refblocks: refblocks25, circles: circles15 } = triac_default;
5194
+ var { paths: paths27, texts: texts34, bounds: bounds27, refblocks: refblocks27, circles: circles17 } = triac_default;
4609
5195
  var triac_horz_default = defineSymbol({
4610
5196
  primitives: [
4611
- ...Object.values(paths25),
4612
- ...Object.values(circles15),
4613
- { ...texts31.top1, anchor: "middle_left" },
4614
- { ...texts31.bottom1, anchor: "middle_top" }
5197
+ ...Object.values(paths27),
5198
+ ...Object.values(circles17),
5199
+ { ...texts34.top1, anchor: "middle_left" },
5200
+ { ...texts34.bottom1, anchor: "middle_top" }
4615
5201
  ],
4616
5202
  ports: [
4617
- { ...refblocks25.left1, labels: ["1"] },
5203
+ { ...refblocks27.left1, labels: ["1"] },
4618
5204
  // TODO add more "standard" labels
4619
- { ...refblocks25.right1, labels: ["2"] },
5205
+ { ...refblocks27.right1, labels: ["2"] },
4620
5206
  // TODO add more "standard" labels
4621
- { ...refblocks25.bottom1, labels: ["3"] }
5207
+ { ...refblocks27.bottom1, labels: ["3"] }
4622
5208
  // TODO add more "standard" labels
4623
5209
  ],
4624
- size: { width: bounds25.width, height: bounds25.height },
4625
- center: { x: bounds25.centerX, y: bounds25.centerY }
5210
+ size: { width: bounds27.width, height: bounds27.height },
5211
+ center: { x: bounds27.centerX, y: bounds27.centerY }
4626
5212
  });
4627
5213
 
4628
5214
  // symbols/triac_vert.ts
4629
- var rotatedSymbol11 = rotateSymbol(triac_horz_default);
4630
- var texts32 = rotatedSymbol11.primitives.filter(
5215
+ var rotatedSymbol12 = rotateSymbol(triac_horz_default);
5216
+ var texts35 = rotatedSymbol12.primitives.filter(
4631
5217
  (primitive) => primitive.type === "text"
4632
5218
  );
4633
- var ref15 = texts32.find((text) => text.text === "{REF}");
4634
- var val12 = texts32.find((text) => text.text === "{VAL}");
4635
- ref15.y = 0;
4636
- val12.y = 0;
4637
- var triac_vert_default = rotatedSymbol11;
5219
+ var ref16 = texts35.find((text) => text.text === "{REF}");
5220
+ var val13 = texts35.find((text) => text.text === "{VAL}");
5221
+ ref16.y = 0;
5222
+ val13.y = 0;
5223
+ var triac_vert_default = rotatedSymbol12;
4638
5224
 
4639
5225
  // assets/generated/tunnel_diode.json
4640
5226
  var tunnel_diode_default = {
@@ -4798,34 +5384,34 @@ var tunnel_diode_default = {
4798
5384
  };
4799
5385
 
4800
5386
  // symbols/tunnel_diode_horz.ts
4801
- var { paths: paths26, texts: texts33, bounds: bounds26, refblocks: refblocks26, circles: circles16 } = tunnel_diode_default;
5387
+ var { paths: paths28, texts: texts36, bounds: bounds28, refblocks: refblocks28, circles: circles18 } = tunnel_diode_default;
4802
5388
  var tunnel_diode_horz_default = defineSymbol({
4803
5389
  primitives: [
4804
- ...Object.values(paths26),
4805
- ...Object.values(circles16),
4806
- { ...texts33.top1, anchor: "middle_bottom" },
4807
- { ...texts33.bottom1, anchor: "middle_top" }
5390
+ ...Object.values(paths28),
5391
+ ...Object.values(circles18),
5392
+ { ...texts36.top1, anchor: "middle_bottom" },
5393
+ { ...texts36.bottom1, anchor: "middle_top" }
4808
5394
  ],
4809
5395
  ports: [
4810
- { ...refblocks26.left1, labels: ["1"] },
5396
+ { ...refblocks28.left1, labels: ["1"] },
4811
5397
  // TODO add more "standard" labels
4812
- { ...refblocks26.right1, labels: ["2"] }
5398
+ { ...refblocks28.right1, labels: ["2"] }
4813
5399
  // TODO add more "standard" labels
4814
5400
  ],
4815
- size: { width: bounds26.width, height: bounds26.height },
4816
- center: { x: bounds26.centerX, y: bounds26.centerY }
5401
+ size: { width: bounds28.width, height: bounds28.height },
5402
+ center: { x: bounds28.centerX, y: bounds28.centerY }
4817
5403
  });
4818
5404
 
4819
5405
  // symbols/tunnel_diode_vert.ts
4820
5406
  var rotated9 = rotateSymbol(tunnel_diode_horz_default);
4821
- var ref16 = rotated9.primitives.find(
5407
+ var ref17 = rotated9.primitives.find(
4822
5408
  (p) => p.type === "text" && p.text === "{REF}"
4823
5409
  );
4824
- var val13 = rotated9.primitives.find(
5410
+ var val14 = rotated9.primitives.find(
4825
5411
  (p) => p.type === "text" && p.text === "{VAL}"
4826
5412
  );
4827
- ref16.anchor = "middle_left";
4828
- val13.anchor = "middle_right";
5413
+ ref17.anchor = "middle_left";
5414
+ val14.anchor = "middle_right";
4829
5415
  var tunnel_diode_vert_default = rotated9;
4830
5416
 
4831
5417
  // assets/generated/unijunction_transistor.json
@@ -4996,37 +5582,37 @@ var unijunction_transistor_default = {
4996
5582
  };
4997
5583
 
4998
5584
  // symbols/unijunction_transistor_horz.ts
4999
- var { paths: paths27, texts: texts34, bounds: bounds27, refblocks: refblocks27, circles: circles17 } = unijunction_transistor_default;
5585
+ var { paths: paths29, texts: texts37, bounds: bounds29, refblocks: refblocks29, circles: circles19 } = unijunction_transistor_default;
5000
5586
  var unijunction_transistor_horz_default = defineSymbol({
5001
5587
  primitives: [
5002
- ...Object.values(paths27),
5003
- ...Object.values(circles17),
5004
- { ...texts34.top1, anchor: "middle_left" },
5005
- { ...texts34.bottom1, anchor: "middle_right" }
5588
+ ...Object.values(paths29),
5589
+ ...Object.values(circles19),
5590
+ { ...texts37.top1, anchor: "middle_left" },
5591
+ { ...texts37.bottom1, anchor: "middle_right" }
5006
5592
  ],
5007
5593
  ports: [
5008
- { ...refblocks27.top1, labels: ["1"] },
5594
+ { ...refblocks29.top1, labels: ["1"] },
5009
5595
  // TODO add more "standard" labels
5010
- { ...refblocks27.bottom1, labels: ["2"] },
5596
+ { ...refblocks29.bottom1, labels: ["2"] },
5011
5597
  // TODO add more "standard" labels
5012
- { ...refblocks27.left1, labels: ["3"] }
5598
+ { ...refblocks29.left1, labels: ["3"] }
5013
5599
  // TODO add more "standard" labels
5014
5600
  ],
5015
- size: { width: bounds27.width, height: bounds27.height },
5016
- center: { x: bounds27.centerX, y: bounds27.centerY }
5601
+ size: { width: bounds29.width, height: bounds29.height },
5602
+ center: { x: bounds29.centerX, y: bounds29.centerY }
5017
5603
  });
5018
5604
 
5019
5605
  // symbols/unijunction_transistor_vert.ts
5020
- var rotatedSymbol12 = rotateSymbol(unijunction_transistor_horz_default);
5021
- var texts35 = rotatedSymbol12.primitives.filter(
5606
+ var rotatedSymbol13 = rotateSymbol(unijunction_transistor_horz_default);
5607
+ var texts38 = rotatedSymbol13.primitives.filter(
5022
5608
  (primitive) => primitive.type === "text"
5023
5609
  );
5024
- var ref17 = texts35.find((text) => text.text === "{REF}");
5025
- ref17.y = 0.1;
5026
- var val14 = texts35.find((text) => text.text === "{VAL}");
5027
- val14.y = 0.1;
5028
- val14.x = -0.4;
5029
- var unijunction_transistor_vert_default = rotatedSymbol12;
5610
+ var ref18 = texts38.find((text) => text.text === "{REF}");
5611
+ ref18.y = 0.1;
5612
+ var val15 = texts38.find((text) => text.text === "{VAL}");
5613
+ val15.y = 0.1;
5614
+ val15.x = -0.4;
5615
+ var unijunction_transistor_vert_default = rotatedSymbol13;
5030
5616
 
5031
5617
  // assets/generated/var_meter.json
5032
5618
  var var_meter_default = {
@@ -5115,33 +5701,33 @@ var var_meter_default = {
5115
5701
  };
5116
5702
 
5117
5703
  // symbols/var_meter_horz.ts
5118
- var { paths: paths28, texts: texts36, bounds: bounds28, refblocks: refblocks28, circles: circles18 } = var_meter_default;
5704
+ var { paths: paths30, texts: texts39, bounds: bounds30, refblocks: refblocks30, circles: circles20 } = var_meter_default;
5119
5705
  var var_meter_horz_default = defineSymbol({
5120
5706
  primitives: [
5121
- ...Object.values(paths28),
5122
- ...Object.values(circles18),
5707
+ ...Object.values(paths30),
5708
+ ...Object.values(circles20),
5123
5709
  {
5124
- ...texts36.top1,
5710
+ ...texts39.top1,
5125
5711
  x: 0,
5126
5712
  y: -0.3594553499999995,
5127
5713
  anchor: "middle_bottom"
5128
5714
  },
5129
5715
  {
5130
- ...texts36.bottom1,
5716
+ ...texts39.bottom1,
5131
5717
  x: 0,
5132
5718
  y: 0.35,
5133
5719
  anchor: "middle_top"
5134
5720
  },
5135
- { ...texts36.left1, x: -0.02, y: -0.02, fontSize: 0.2, anchor: "center" }
5721
+ { ...texts39.left1, x: -0.02, y: -0.02, fontSize: 0.2, anchor: "center" }
5136
5722
  ],
5137
5723
  ports: [
5138
- { ...refblocks28.left1, labels: ["1"] },
5724
+ { ...refblocks30.left1, labels: ["1"] },
5139
5725
  // TODO add more "standard" labels
5140
- { ...refblocks28.right1, labels: ["2"] }
5726
+ { ...refblocks30.right1, labels: ["2"] }
5141
5727
  // TODO add more "standard" labels
5142
5728
  ],
5143
- size: { width: bounds28.width, height: bounds28.height },
5144
- center: { x: bounds28.centerX, y: bounds28.centerY }
5729
+ size: { width: bounds30.width, height: bounds30.height },
5730
+ center: { x: bounds30.centerX, y: bounds30.centerY }
5145
5731
  });
5146
5732
 
5147
5733
  // symbols/var_meter_vert.ts
@@ -5294,34 +5880,34 @@ var varactor_diode_default = {
5294
5880
  };
5295
5881
 
5296
5882
  // symbols/varactor_diode_horz.ts
5297
- var { paths: paths29, texts: texts37, bounds: bounds29, refblocks: refblocks29, circles: circles19 } = varactor_diode_default;
5883
+ var { paths: paths31, texts: texts40, bounds: bounds31, refblocks: refblocks31, circles: circles21 } = varactor_diode_default;
5298
5884
  var varactor_diode_horz_default = defineSymbol({
5299
5885
  primitives: [
5300
- ...Object.values(paths29),
5301
- ...Object.values(circles19),
5302
- { ...texts37.top1, anchor: "middle_bottom" },
5303
- { ...texts37.bottom1, anchor: "middle_top" }
5886
+ ...Object.values(paths31),
5887
+ ...Object.values(circles21),
5888
+ { ...texts40.top1, anchor: "middle_bottom" },
5889
+ { ...texts40.bottom1, anchor: "middle_top" }
5304
5890
  ],
5305
5891
  ports: [
5306
- { ...refblocks29.left1, labels: ["1"] },
5892
+ { ...refblocks31.left1, labels: ["1"] },
5307
5893
  // TODO add more "standard" labels
5308
- { ...refblocks29.right1, labels: ["2"] }
5894
+ { ...refblocks31.right1, labels: ["2"] }
5309
5895
  // TODO add more "standard" labels
5310
5896
  ],
5311
- size: { width: bounds29.width, height: bounds29.height },
5312
- center: { x: bounds29.centerX, y: bounds29.centerY }
5897
+ size: { width: bounds31.width, height: bounds31.height },
5898
+ center: { x: bounds31.centerX, y: bounds31.centerY }
5313
5899
  });
5314
5900
 
5315
5901
  // symbols/varactor_diode_vert.ts
5316
5902
  var rotated10 = rotateSymbol(varactor_diode_horz_default);
5317
- var ref18 = rotated10.primitives.find(
5903
+ var ref19 = rotated10.primitives.find(
5318
5904
  (p) => p.type === "text" && p.text === "{REF}"
5319
5905
  );
5320
- var val15 = rotated10.primitives.find(
5906
+ var val16 = rotated10.primitives.find(
5321
5907
  (p) => p.type === "text" && p.text === "{VAL}"
5322
5908
  );
5323
- ref18.anchor = "middle_left";
5324
- val15.anchor = "middle_right";
5909
+ ref19.anchor = "middle_left";
5910
+ val16.anchor = "middle_right";
5325
5911
  var varactor_diode_vert_default = rotated10;
5326
5912
 
5327
5913
  // assets/generated/varistor.json
@@ -5456,26 +6042,26 @@ var varistor_default = {
5456
6042
  };
5457
6043
 
5458
6044
  // symbols/varistor_horz.ts
5459
- var { paths: paths30, texts: texts38, bounds: bounds30, refblocks: refblocks30 } = varistor_default;
6045
+ var { paths: paths32, texts: texts41, bounds: bounds32, refblocks: refblocks32 } = varistor_default;
5460
6046
  var varistor_horz_default = defineSymbol({
5461
6047
  primitives: [
5462
- ...Object.values(paths30),
5463
- { ...texts38.top1, anchor: "middle_left" },
5464
- { ...texts38.bottom1, anchor: "middle_right" }
6048
+ ...Object.values(paths32),
6049
+ { ...texts41.top1, anchor: "middle_left" },
6050
+ { ...texts41.bottom1, anchor: "middle_right" }
5465
6051
  ],
5466
6052
  ports: [
5467
6053
  {
5468
- ...refblocks30.left1,
6054
+ ...refblocks32.left1,
5469
6055
  labels: ["1", "-"]
5470
6056
  },
5471
6057
  {
5472
- ...refblocks30.right1,
6058
+ ...refblocks32.right1,
5473
6059
  labels: ["2", "+"]
5474
6060
  }
5475
6061
  ],
5476
- size: { width: bounds30.width, height: bounds30.height },
6062
+ size: { width: bounds32.width, height: bounds32.height },
5477
6063
  //{ width: 1, height: 0.24 },
5478
- center: { x: bounds30.centerX, y: bounds30.centerY }
6064
+ center: { x: bounds32.centerX, y: bounds32.centerY }
5479
6065
  });
5480
6066
 
5481
6067
  // symbols/varistor_vert.ts
@@ -5581,11 +6167,11 @@ var volt_meter_default = {
5581
6167
  };
5582
6168
 
5583
6169
  // symbols/volt_meter_horz.ts
5584
- var { paths: paths31, texts: texts39, bounds: bounds31, circles: circles20, refblocks: refblocks31 } = volt_meter_default;
6170
+ var { paths: paths33, texts: texts42, bounds: bounds33, circles: circles22, refblocks: refblocks33 } = volt_meter_default;
5585
6171
  var volt_meter_horz_default = defineSymbol({
5586
6172
  primitives: [
5587
- ...Object.values(paths31),
5588
- ...Object.values(circles20),
6173
+ ...Object.values(paths33),
6174
+ ...Object.values(circles22),
5589
6175
  {
5590
6176
  type: "text",
5591
6177
  text: "{REF}",
@@ -5602,13 +6188,13 @@ var volt_meter_horz_default = defineSymbol({
5602
6188
  }
5603
6189
  ],
5604
6190
  ports: [
5605
- { ...refblocks31.left1, labels: ["1"] },
6191
+ { ...refblocks33.left1, labels: ["1"] },
5606
6192
  // TODO add more "standard" labels
5607
- { ...refblocks31.right1, labels: ["2"] }
6193
+ { ...refblocks33.right1, labels: ["2"] }
5608
6194
  // TODO add more "standard" labels
5609
6195
  ],
5610
- size: { width: bounds31.width, height: bounds31.height },
5611
- center: { x: bounds31.centerX, y: bounds31.centerY }
6196
+ size: { width: bounds33.width, height: bounds33.height },
6197
+ center: { x: bounds33.centerX, y: bounds33.centerY }
5612
6198
  });
5613
6199
 
5614
6200
  // symbols/volt_meter_vert.ts
@@ -5761,34 +6347,34 @@ var zener_diode_default = {
5761
6347
  };
5762
6348
 
5763
6349
  // symbols/zener_diode_horz.ts
5764
- var { paths: paths32, texts: texts40, bounds: bounds32, refblocks: refblocks32, circles: circles21 } = zener_diode_default;
6350
+ var { paths: paths34, texts: texts43, bounds: bounds34, refblocks: refblocks34, circles: circles23 } = zener_diode_default;
5765
6351
  var zener_diode_horz_default = defineSymbol({
5766
6352
  primitives: [
5767
- ...Object.values(paths32),
5768
- ...Object.values(circles21),
5769
- { ...texts40.top1, anchor: "middle_bottom" },
5770
- { ...texts40.bottom1, anchor: "middle_top" }
6353
+ ...Object.values(paths34),
6354
+ ...Object.values(circles23),
6355
+ { ...texts43.top1, anchor: "middle_bottom" },
6356
+ { ...texts43.bottom1, anchor: "middle_top" }
5771
6357
  ],
5772
6358
  ports: [
5773
- { ...refblocks32.left1, labels: ["1"] },
6359
+ { ...refblocks34.left1, labels: ["1"] },
5774
6360
  // TODO add more "standard" labels
5775
- { ...refblocks32.right1, labels: ["2"] }
6361
+ { ...refblocks34.right1, labels: ["2"] }
5776
6362
  // TODO add more "standard" labels
5777
6363
  ],
5778
- size: { width: bounds32.width, height: bounds32.height },
5779
- center: { x: bounds32.centerX, y: bounds32.centerY }
6364
+ size: { width: bounds34.width, height: bounds34.height },
6365
+ center: { x: bounds34.centerX, y: bounds34.centerY }
5780
6366
  });
5781
6367
 
5782
6368
  // symbols/zener_diode_vert.ts
5783
6369
  var rotated11 = rotateSymbol(zener_diode_horz_default);
5784
- var ref19 = rotated11.primitives.find(
6370
+ var ref20 = rotated11.primitives.find(
5785
6371
  (p) => p.type === "text" && p.text === "{REF}"
5786
6372
  );
5787
- var val16 = rotated11.primitives.find(
6373
+ var val17 = rotated11.primitives.find(
5788
6374
  (p) => p.type === "text" && p.text === "{VAL}"
5789
6375
  );
5790
- ref19.anchor = "middle_left";
5791
- val16.anchor = "middle_right";
6376
+ ref20.anchor = "middle_left";
6377
+ val17.anchor = "middle_right";
5792
6378
  var zener_diode_vert_default = rotated11;
5793
6379
 
5794
6380
  // generated/symbols-index.ts
@@ -5803,6 +6389,8 @@ var symbols_index_default = {
5803
6389
  "capacitor_vert": capacitor_vert_default,
5804
6390
  "constant_current_diode_horz": constant_current_diode_horz_default,
5805
6391
  "constant_current_diode_vert": constant_current_diode_vert_default,
6392
+ "crystal_horz": crystal_horz_default,
6393
+ "crystal_vert": crystal_vert_default,
5806
6394
  "dc_ammeter_horz": dc_ammeter_horz_default,
5807
6395
  "dc_ammeter_vert": dc_ammeter_vert_default,
5808
6396
  "dc_voltmeter_horz": dc_voltmeter_horz_default,
@@ -5835,6 +6423,8 @@ var symbols_index_default = {
5835
6423
  "push_button_normally_closed_momentary_vert": push_button_normally_closed_momentary_vert_default,
5836
6424
  "push_button_normally_open_momentary_horz": push_button_normally_open_momentary_horz_default,
5837
6425
  "push_button_normally_open_momentary_vert": push_button_normally_open_momentary_vert_default,
6426
+ "resonator_horz": resonator_horz_default,
6427
+ "resonator_vert": resonator_vert_default,
5838
6428
  "schottky_diode_horz": schottky_diode_horz_default,
5839
6429
  "schottky_diode_vert": schottky_diode_vert_default,
5840
6430
  "silicon_controlled_rectifier_horz": silicon_controlled_rectifier_horz_default,