schematic-symbols 0.0.49 → 0.0.51

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
@@ -726,6 +726,133 @@ var capacitor_horz_default = defineSymbol({
726
726
  // symbols/capacitor_vert.ts
727
727
  var capacitor_vert_default = rotateSymbol(capacitor_horz_default);
728
728
 
729
+ // assets/generated/constant_current_diode.json
730
+ var constant_current_diode_default = {
731
+ paths: {
732
+ path11: {
733
+ type: "path",
734
+ points: [
735
+ {
736
+ x: -0.5307178,
737
+ y: 0
738
+ },
739
+ {
740
+ x: -0.3042887999999997,
741
+ y: 0
742
+ }
743
+ ],
744
+ color: "primary",
745
+ fill: false
746
+ },
747
+ path12: {
748
+ type: "path",
749
+ points: [
750
+ {
751
+ x: 0.2899773000000003,
752
+ y: 0
753
+ },
754
+ {
755
+ x: 0.5307178000000001,
756
+ y: 0
757
+ }
758
+ ],
759
+ color: "primary",
760
+ fill: false
761
+ },
762
+ path2: {
763
+ type: "path",
764
+ points: [
765
+ {
766
+ x: 0.2899773000000003,
767
+ y: -0.2633966000000001
768
+ },
769
+ {
770
+ x: 0.2899773000000003,
771
+ y: 0.2633966000000001
772
+ }
773
+ ],
774
+ color: "primary",
775
+ fill: false
776
+ }
777
+ },
778
+ texts: {
779
+ top1: {
780
+ type: "text",
781
+ text: "{REF}",
782
+ x: -0.17652089999999898,
783
+ y: -0.36197569999999946
784
+ },
785
+ bottom1: {
786
+ type: "text",
787
+ text: "{VAL}",
788
+ x: -0.009849199999999891,
789
+ y: 0.43234960000000044
790
+ }
791
+ },
792
+ refblocks: {
793
+ left1: {
794
+ x: -0.5446330999999993,
795
+ y: 852800000000542e-18
796
+ },
797
+ right1: {
798
+ x: 0.5381638000000004,
799
+ y: -14359999999924433e-20
800
+ }
801
+ },
802
+ bounds: {
803
+ minX: -0.5307178,
804
+ maxX: 0.5307178000000001,
805
+ minY: -0.2633966000000001,
806
+ maxY: 0.2633966000000001,
807
+ width: 1.0614356000000003,
808
+ height: 1,
809
+ centerX: 5551115123125783e-32,
810
+ centerY: 0
811
+ },
812
+ circles: {
813
+ path1: {
814
+ type: "circle",
815
+ x: -0.006997299999999651,
816
+ y: -0.007128299999999532,
817
+ radius: 0.28854213,
818
+ color: "primary",
819
+ fill: false
820
+ }
821
+ }
822
+ };
823
+
824
+ // symbols/constant_current_diode_horz.ts
825
+ var { paths: paths5, texts: texts4, bounds: bounds5, refblocks: refblocks5, circles: circles3 } = constant_current_diode_default;
826
+ var constant_current_diode_horz_default = defineSymbol({
827
+ primitives: [
828
+ ...Object.values(paths5),
829
+ ...Object.values(circles3),
830
+ { ...texts4.top1, anchor: "middle_left", x: -0.15, y: -0.4 },
831
+ { ...texts4.bottom1, anchor: "middle_left", x: -0.15 }
832
+ ],
833
+ ports: [
834
+ { ...refblocks5.left1, labels: ["1"] },
835
+ // TODO add more "standard" labels
836
+ { ...refblocks5.right1, labels: ["2"] }
837
+ // TODO add more "standard" labels
838
+ ],
839
+ size: { width: bounds5.width, height: bounds5.height },
840
+ center: { x: bounds5.centerX, y: bounds5.centerY }
841
+ });
842
+
843
+ // symbols/constant_current_diode_vert.ts
844
+ var rotatedSymbol2 = rotateSymbol(constant_current_diode_horz_default);
845
+ var texts5 = rotatedSymbol2.primitives.filter((p) => p.type === "text");
846
+ var val2 = texts5.find((t) => t.text === "{VAL}");
847
+ val2.x = -0.35;
848
+ val2.y = 0;
849
+ val2.anchor = "middle_right";
850
+ var ref2 = texts5.find((t) => t.text === "{REF}");
851
+ ref2.y = 0;
852
+ ref2.x = 0.35;
853
+ ref2.anchor = "middle_left";
854
+ var constant_current_diode_vert_default = rotatedSymbol2;
855
+
729
856
  // assets/generated/dc_ammeter.json
730
857
  var dc_ammeter_default = {
731
858
  paths: {
@@ -828,11 +955,11 @@ var dc_ammeter_default = {
828
955
  };
829
956
 
830
957
  // symbols/dc_ammeter_horz.ts
831
- var { paths: paths5, texts: texts4, bounds: bounds5, refblocks: refblocks5, circles: circles3 } = dc_ammeter_default;
958
+ var { paths: paths6, texts: texts6, bounds: bounds6, refblocks: refblocks6, circles: circles4 } = dc_ammeter_default;
832
959
  var dc_ammeter_horz_default = defineSymbol({
833
960
  primitives: [
834
- ...Object.values(paths5),
835
- ...Object.values(circles3),
961
+ ...Object.values(paths6),
962
+ ...Object.values(circles4),
836
963
  {
837
964
  type: "text",
838
965
  text: "{REF}",
@@ -847,16 +974,16 @@ var dc_ammeter_horz_default = defineSymbol({
847
974
  y: 0.35,
848
975
  anchor: "middle_top"
849
976
  },
850
- { ...texts4.left1, anchor: "center", fontSize: 0.3 }
977
+ { ...texts6.left1, anchor: "center", fontSize: 0.3 }
851
978
  ],
852
979
  ports: [
853
- { ...refblocks5.left1, labels: ["1"] },
980
+ { ...refblocks6.left1, labels: ["1"] },
854
981
  // TODO add more "standard" labels
855
- { ...refblocks5.right1, labels: ["2"] }
982
+ { ...refblocks6.right1, labels: ["2"] }
856
983
  // TODO add more "standard" labels
857
984
  ],
858
- size: { width: bounds5.width, height: bounds5.height },
859
- center: { x: bounds5.centerX, y: bounds5.centerY }
985
+ size: { width: bounds6.width, height: bounds6.height },
986
+ center: { x: bounds6.centerX, y: bounds6.centerY }
860
987
  });
861
988
 
862
989
  // symbols/dc_ammeter_vert.ts
@@ -878,13 +1005,13 @@ if (isTextPrimitive(letter2)) {
878
1005
  function isPrimitive2(value) {
879
1006
  return typeof value === "object";
880
1007
  }
881
- var rotatedSymbol2 = rotateSymbol({
1008
+ var rotatedSymbol3 = rotateSymbol({
882
1009
  ...dc_ammeter_horz_default,
883
1010
  primitives: Object.values(rest2).filter(isPrimitive2)
884
1011
  });
885
1012
  var dc_ammeter_vert_default = {
886
- ...rotatedSymbol2,
887
- primitives: [...rotatedSymbol2.primitives, letter2, underline]
1013
+ ...rotatedSymbol3,
1014
+ primitives: [...rotatedSymbol3.primitives, letter2, underline]
888
1015
  };
889
1016
 
890
1017
  // assets/generated/dc_voltmeter.json
@@ -1002,11 +1129,11 @@ var dc_voltmeter_default = {
1002
1129
  };
1003
1130
 
1004
1131
  // symbols/dc_voltmeter_horz.ts
1005
- var { paths: paths6, texts: texts5, bounds: bounds6, refblocks: refblocks6, circles: circles4 } = dc_voltmeter_default;
1132
+ var { paths: paths7, texts: texts7, bounds: bounds7, refblocks: refblocks7, circles: circles5 } = dc_voltmeter_default;
1006
1133
  var dc_voltmeter_horz_default = defineSymbol({
1007
1134
  primitives: [
1008
- ...Object.values(paths6),
1009
- ...Object.values(circles4),
1135
+ ...Object.values(paths7),
1136
+ ...Object.values(circles5),
1010
1137
  {
1011
1138
  type: "text",
1012
1139
  text: "{REF}",
@@ -1023,13 +1150,13 @@ var dc_voltmeter_horz_default = defineSymbol({
1023
1150
  }
1024
1151
  ],
1025
1152
  ports: [
1026
- { ...refblocks6.left1, labels: ["1"] },
1153
+ { ...refblocks7.left1, labels: ["1"] },
1027
1154
  // TODO add more "standard" labels
1028
- { ...refblocks6.right1, labels: ["2"] }
1155
+ { ...refblocks7.right1, labels: ["2"] }
1029
1156
  // TODO add more "standard" labels
1030
1157
  ],
1031
- size: { width: bounds6.width, height: bounds6.height },
1032
- center: { x: bounds6.centerX, y: bounds6.centerY }
1158
+ size: { width: bounds7.width, height: bounds7.height },
1159
+ center: { x: bounds7.centerX, y: bounds7.centerY }
1033
1160
  });
1034
1161
 
1035
1162
  // symbols/dc_voltmeter_vert.ts
@@ -1037,13 +1164,13 @@ var { 2: letter3, 3: underline2, ...rest3 } = dc_voltmeter_horz_default.primitiv
1037
1164
  function isPrimitive3(value) {
1038
1165
  return typeof value === "object";
1039
1166
  }
1040
- var rotatedSymbol3 = rotateSymbol({
1167
+ var rotatedSymbol4 = rotateSymbol({
1041
1168
  ...dc_voltmeter_horz_default,
1042
1169
  primitives: Object.values(rest3).filter(isPrimitive3)
1043
1170
  });
1044
1171
  var dc_voltmeter_vert_default = {
1045
- ...rotatedSymbol3,
1046
- primitives: [...rotatedSymbol3.primitives, letter3, underline2]
1172
+ ...rotatedSymbol4,
1173
+ primitives: [...rotatedSymbol4.primitives, letter3, underline2]
1047
1174
  };
1048
1175
 
1049
1176
  // assets/generated/diode.json
@@ -1177,21 +1304,21 @@ var diode_default = {
1177
1304
  };
1178
1305
 
1179
1306
  // symbols/diode_horz.ts
1180
- var { paths: paths7, texts: texts6, bounds: bounds7, refblocks: refblocks7 } = diode_default;
1307
+ var { paths: paths8, texts: texts8, bounds: bounds8, refblocks: refblocks8 } = diode_default;
1181
1308
  var diode_horz_default = defineSymbol({
1182
1309
  primitives: [
1183
- ...Object.values(paths7),
1184
- { ...texts6.top1, anchor: "middle_bottom" },
1185
- { ...texts6.bottom1, anchor: "middle_top" }
1310
+ ...Object.values(paths8),
1311
+ { ...texts8.top1, anchor: "middle_bottom" },
1312
+ { ...texts8.bottom1, anchor: "middle_top" }
1186
1313
  ],
1187
1314
  ports: [
1188
- { ...refblocks7.left1, labels: ["1"] },
1315
+ { ...refblocks8.left1, labels: ["1"] },
1189
1316
  // TODO add more "standard" labels
1190
- { ...refblocks7.right1, labels: ["2"] }
1317
+ { ...refblocks8.right1, labels: ["2"] }
1191
1318
  // TODO add more "standard" labels
1192
1319
  ],
1193
- size: { width: bounds7.width, height: bounds7.height },
1194
- center: { x: bounds7.centerX, y: bounds7.centerY }
1320
+ size: { width: bounds8.width, height: bounds8.height },
1321
+ center: { x: bounds8.centerX, y: bounds8.centerY }
1195
1322
  });
1196
1323
 
1197
1324
  // symbols/diode_vert.ts
@@ -1284,11 +1411,11 @@ var fuse_default = {
1284
1411
  };
1285
1412
 
1286
1413
  // symbols/fuse_horz.ts
1287
- var { paths: paths8, texts: texts7, bounds: bounds8, refblocks: refblocks8 } = fuse_default;
1414
+ var { paths: paths9, texts: texts9, bounds: bounds9, refblocks: refblocks9 } = fuse_default;
1288
1415
  var fuse_horz_default = defineSymbol({
1289
1416
  primitives: [
1290
- ...Object.values(paths8),
1291
- { ...texts7.top1, anchor: "middle_bottom" },
1417
+ ...Object.values(paths9),
1418
+ { ...texts9.top1, anchor: "middle_bottom" },
1292
1419
  {
1293
1420
  type: "text",
1294
1421
  text: "{VAL}",
@@ -1298,13 +1425,13 @@ var fuse_horz_default = defineSymbol({
1298
1425
  }
1299
1426
  ],
1300
1427
  ports: [
1301
- { ...refblocks8.left1, labels: ["1"] },
1428
+ { ...refblocks9.left1, labels: ["1"] },
1302
1429
  // TODO add more "standard" labels
1303
- { ...refblocks8.right1, labels: ["2"] }
1430
+ { ...refblocks9.right1, labels: ["2"] }
1304
1431
  // TODO add more "standard" labels
1305
1432
  ],
1306
- size: { width: bounds8.width, height: bounds8.height },
1307
- center: { x: bounds8.centerX, y: bounds8.centerY }
1433
+ size: { width: bounds9.width, height: bounds9.height },
1434
+ center: { x: bounds9.centerX, y: bounds9.centerY }
1308
1435
  });
1309
1436
 
1310
1437
  // symbols/fuse_vert.ts
@@ -1489,11 +1616,11 @@ var igbt_transistor_default = {
1489
1616
  };
1490
1617
 
1491
1618
  // symbols/igbt_transistor_horz.ts
1492
- var { paths: paths9, texts: texts8, bounds: bounds9, refblocks: refblocks9, circles: circles5 } = igbt_transistor_default;
1619
+ var { paths: paths10, texts: texts10, bounds: bounds10, refblocks: refblocks10, circles: circles6 } = igbt_transistor_default;
1493
1620
  var igbt_transistor_horz_default = defineSymbol({
1494
1621
  primitives: [
1495
- ...Object.values(paths9),
1496
- ...Object.values(circles5),
1622
+ ...Object.values(paths10),
1623
+ ...Object.values(circles6),
1497
1624
  {
1498
1625
  type: "text",
1499
1626
  text: "{REF}",
@@ -1510,30 +1637,30 @@ var igbt_transistor_horz_default = defineSymbol({
1510
1637
  }
1511
1638
  ],
1512
1639
  ports: [
1513
- { ...refblocks9.top1, labels: ["1"] },
1640
+ { ...refblocks10.top1, labels: ["1"] },
1514
1641
  // TODO add more "standard" labels
1515
- { ...refblocks9.bottom1, labels: ["2"] },
1642
+ { ...refblocks10.bottom1, labels: ["2"] },
1516
1643
  // TODO add more "standard" labels
1517
- { ...refblocks9.left1, labels: ["3"] }
1644
+ { ...refblocks10.left1, labels: ["3"] }
1518
1645
  // TODO add more "standard" labels
1519
1646
  ],
1520
- size: { width: bounds9.width, height: bounds9.height },
1521
- center: { x: bounds9.centerX + 0.06, y: bounds9.centerY }
1647
+ size: { width: bounds10.width, height: bounds10.height },
1648
+ center: { x: bounds10.centerX + 0.06, y: bounds10.centerY }
1522
1649
  });
1523
1650
 
1524
1651
  // symbols/igbt_transistor_vert.ts
1525
1652
  var rotated2 = rotateSymbol(igbt_transistor_horz_default);
1526
- var ref2 = rotated2.primitives.find(
1653
+ var ref3 = rotated2.primitives.find(
1527
1654
  (p) => p.type === "text" && p.text === "{REF}"
1528
1655
  );
1529
- var val2 = rotated2.primitives.find(
1656
+ var val3 = rotated2.primitives.find(
1530
1657
  (p) => p.type === "text" && p.text === "{VAL}"
1531
1658
  );
1532
- ref2.anchor = "middle_left";
1533
- val2.anchor = "middle_right";
1534
- ref2.x = 0.45;
1535
- ref2.y += 0.065;
1536
- val2.y += 0.065;
1659
+ ref3.anchor = "middle_left";
1660
+ val3.anchor = "middle_right";
1661
+ ref3.x = 0.45;
1662
+ ref3.y += 0.065;
1663
+ val3.y += 0.065;
1537
1664
  var igbt_transistor_vert_default = rotated2;
1538
1665
 
1539
1666
  // assets/generated/laser_diode.json
@@ -1776,31 +1903,31 @@ var laser_diode_default = {
1776
1903
  };
1777
1904
 
1778
1905
  // symbols/laser_diode_horz.ts
1779
- var { paths: paths10, texts: texts9, bounds: bounds10, refblocks: refblocks10, circles: circles6 } = laser_diode_default;
1906
+ var { paths: paths11, texts: texts11, bounds: bounds11, refblocks: refblocks11, circles: circles7 } = laser_diode_default;
1780
1907
  var laser_diode_horz_default = defineSymbol({
1781
1908
  primitives: [
1782
- ...Object.values(paths10),
1783
- ...Object.values(circles6),
1784
- { ...texts9.top1, anchor: "middle_left" },
1785
- { ...texts9.bottom1, anchor: "middle_bottom" }
1909
+ ...Object.values(paths11),
1910
+ ...Object.values(circles7),
1911
+ { ...texts11.top1, anchor: "middle_left" },
1912
+ { ...texts11.bottom1, anchor: "middle_bottom" }
1786
1913
  ],
1787
1914
  ports: [
1788
- { ...refblocks10.left1, labels: ["1"] },
1915
+ { ...refblocks11.left1, labels: ["1"] },
1789
1916
  // TODO add more "standard" labels
1790
- { ...refblocks10.right1, labels: ["2"] }
1917
+ { ...refblocks11.right1, labels: ["2"] }
1791
1918
  // TODO add more "standard" labels
1792
1919
  ],
1793
- size: { width: bounds10.width, height: bounds10.height },
1794
- center: { x: bounds10.centerX, y: bounds10.centerY }
1920
+ size: { width: bounds11.width, height: bounds11.height },
1921
+ center: { x: bounds11.centerX, y: bounds11.centerY }
1795
1922
  });
1796
1923
 
1797
1924
  // symbols/laser_diode_vert.ts
1798
- var rotatedSymbol4 = rotateSymbol(laser_diode_horz_default);
1799
- var texts10 = rotatedSymbol4.primitives.filter((p) => p.type === "text");
1800
- var ref3 = texts10.find((t) => t.text === "{VAL}");
1801
- ref3.x = -0.52;
1802
- ref3.anchor = "middle_right";
1803
- var laser_diode_vert_default = rotatedSymbol4;
1925
+ var rotatedSymbol5 = rotateSymbol(laser_diode_horz_default);
1926
+ var texts12 = rotatedSymbol5.primitives.filter((p) => p.type === "text");
1927
+ var ref4 = texts12.find((t) => t.text === "{VAL}");
1928
+ ref4.x = -0.52;
1929
+ ref4.anchor = "middle_right";
1930
+ var laser_diode_vert_default = rotatedSymbol5;
1804
1931
 
1805
1932
  // assets/generated/led.json
1806
1933
  var led_default = {
@@ -2017,35 +2144,35 @@ var led_default = {
2017
2144
  };
2018
2145
 
2019
2146
  // symbols/led_horz.ts
2020
- var { paths: paths11, texts: texts11, bounds: bounds11, refblocks: refblocks11 } = led_default;
2147
+ var { paths: paths12, texts: texts13, bounds: bounds12, refblocks: refblocks12 } = led_default;
2021
2148
  var led_horz_default = defineSymbol({
2022
2149
  primitives: [
2023
- ...Object.values(paths11),
2024
- { ...texts11.bottom1, anchor: "middle_right" },
2025
- { ...texts11.right1, anchor: "middle_left" }
2150
+ ...Object.values(paths12),
2151
+ { ...texts13.bottom1, anchor: "middle_right" },
2152
+ { ...texts13.right1, anchor: "middle_left" }
2026
2153
  ],
2027
2154
  ports: [
2028
- { ...refblocks11.left1, labels: ["1", "anode", "pos"] },
2029
- { ...refblocks11.right1, labels: ["2", "cathode", "neg"] }
2155
+ { ...refblocks12.left1, labels: ["1", "anode", "pos"] },
2156
+ { ...refblocks12.right1, labels: ["2", "cathode", "neg"] }
2030
2157
  ],
2031
- size: { width: bounds11.width, height: bounds11.height },
2032
- center: { x: bounds11.centerX, y: bounds11.centerY + 0.1 }
2158
+ size: { width: bounds12.width, height: bounds12.height },
2159
+ center: { x: bounds12.centerX, y: bounds12.centerY + 0.1 }
2033
2160
  });
2034
2161
 
2035
2162
  // symbols/led_vert.ts
2036
2163
  var rotated3 = rotateSymbol(led_horz_default);
2037
- var ref4 = rotated3.primitives.find(
2164
+ var ref5 = rotated3.primitives.find(
2038
2165
  (p) => p.type === "text" && p.text === "{REF}"
2039
2166
  );
2040
- var val3 = rotated3.primitives.find(
2167
+ var val4 = rotated3.primitives.find(
2041
2168
  (p) => p.type === "text" && p.text === "{VAL}"
2042
2169
  );
2043
- ref4.anchor = "middle_left";
2044
- val3.anchor = "middle_right";
2045
- ref4.x += 0.1;
2046
- ref4.y += 0.017;
2047
- val3.y = ref4.y;
2048
- val3.x = -0.3;
2170
+ ref5.anchor = "middle_left";
2171
+ val4.anchor = "middle_right";
2172
+ ref5.x += 0.1;
2173
+ ref5.y += 0.017;
2174
+ val4.y = ref5.y;
2175
+ val4.x = -0.3;
2049
2176
  var led_vert_default = rotated3;
2050
2177
 
2051
2178
  // assets/generated/mosfet_depletion_normally_on.json
@@ -2318,37 +2445,37 @@ var mosfet_depletion_normally_on_default = {
2318
2445
  };
2319
2446
 
2320
2447
  // symbols/mosfet_depletion_normally_on_horz.ts
2321
- var { paths: paths12, texts: texts12, bounds: bounds12, refblocks: refblocks12 } = mosfet_depletion_normally_on_default;
2448
+ var { paths: paths13, texts: texts14, bounds: bounds13, refblocks: refblocks13 } = mosfet_depletion_normally_on_default;
2322
2449
  var mosfet_depletion_normally_on_horz_default = defineSymbol({
2323
2450
  primitives: [
2324
- ...Object.values(paths12),
2325
- { ...texts12.right1, anchor: "middle_left" },
2326
- { ...texts12.right2, anchor: "middle_left" }
2451
+ ...Object.values(paths13),
2452
+ { ...texts14.right1, anchor: "middle_left" },
2453
+ { ...texts14.right2, anchor: "middle_left" }
2327
2454
  ],
2328
2455
  ports: [
2329
- { ...refblocks12.top1, labels: ["1"] },
2456
+ { ...refblocks13.top1, labels: ["1"] },
2330
2457
  // TODO add more "standard" labels
2331
- { ...refblocks12.bottom1, labels: ["2"] },
2458
+ { ...refblocks13.bottom1, labels: ["2"] },
2332
2459
  // TODO add more "standard" labels
2333
- { ...refblocks12.left1, labels: ["3"] }
2460
+ { ...refblocks13.left1, labels: ["3"] }
2334
2461
  // TODO add more "standard" labels
2335
2462
  ],
2336
- size: { width: bounds12.width + 0.4, height: bounds12.height },
2337
- center: { x: bounds12.centerX + 0.2, y: bounds12.centerY }
2463
+ size: { width: bounds13.width + 0.4, height: bounds13.height },
2464
+ center: { x: bounds13.centerX + 0.2, y: bounds13.centerY }
2338
2465
  });
2339
2466
 
2340
2467
  // symbols/mosfet_depletion_normally_on_vert.ts
2341
2468
  var rotated4 = rotateSymbol(mosfet_depletion_normally_on_horz_default);
2342
- var ref5 = rotated4.primitives.find(
2469
+ var ref6 = rotated4.primitives.find(
2343
2470
  (p) => p.type === "text" && p.text === "{REF}"
2344
2471
  );
2345
- var val4 = rotated4.primitives.find(
2472
+ var val5 = rotated4.primitives.find(
2346
2473
  (p) => p.type === "text" && p.text === "{VAL}"
2347
2474
  );
2348
- ref5.anchor = "middle_top";
2349
- val4.anchor = "middle_top";
2350
- ref5.x = val4.x;
2351
- val4.y += 0.15;
2475
+ ref6.anchor = "middle_top";
2476
+ val5.anchor = "middle_top";
2477
+ ref6.x = val5.x;
2478
+ val5.y += 0.15;
2352
2479
  var mosfet_depletion_normally_on_vert_default = rotated4;
2353
2480
 
2354
2481
  // assets/generated/photodiode.json
@@ -2576,11 +2703,11 @@ var photodiode_default = {
2576
2703
  };
2577
2704
 
2578
2705
  // symbols/photodiode_horz.ts
2579
- var { paths: paths13, texts: texts13, bounds: bounds13, refblocks: refblocks13, circles: circles7 } = photodiode_default;
2706
+ var { paths: paths14, texts: texts15, bounds: bounds14, refblocks: refblocks14, circles: circles8 } = photodiode_default;
2580
2707
  var photodiode_horz_default = defineSymbol({
2581
2708
  primitives: [
2582
- ...Object.values(paths13),
2583
- ...Object.values(circles7),
2709
+ ...Object.values(paths14),
2710
+ ...Object.values(circles8),
2584
2711
  {
2585
2712
  type: "text",
2586
2713
  text: "{REF}",
@@ -2597,22 +2724,22 @@ var photodiode_horz_default = defineSymbol({
2597
2724
  }
2598
2725
  ],
2599
2726
  ports: [
2600
- { ...refblocks13.left1, labels: ["1"] },
2727
+ { ...refblocks14.left1, labels: ["1"] },
2601
2728
  // TODO add more "standard" labels
2602
- { ...refblocks13.right1, labels: ["2"] }
2729
+ { ...refblocks14.right1, labels: ["2"] }
2603
2730
  // TODO add more "standard" labels
2604
2731
  ],
2605
- size: { width: bounds13.width, height: bounds13.height },
2606
- center: { x: bounds13.centerX, y: bounds13.centerY }
2732
+ size: { width: bounds14.width, height: bounds14.height },
2733
+ center: { x: bounds14.centerX, y: bounds14.centerY }
2607
2734
  });
2608
2735
 
2609
2736
  // symbols/photodiode_vert.ts
2610
- var rotatedSymbol5 = rotateSymbol(photodiode_horz_default);
2611
- var texts14 = rotatedSymbol5.primitives.filter((p) => p.type === "text");
2612
- var ref6 = texts14.find((t) => t.text === "{REF}");
2613
- ref6.y = 0;
2614
- ref6.anchor = "middle_left";
2615
- var photodiode_vert_default = rotatedSymbol5;
2737
+ var rotatedSymbol6 = rotateSymbol(photodiode_horz_default);
2738
+ var texts16 = rotatedSymbol6.primitives.filter((p) => p.type === "text");
2739
+ var ref7 = texts16.find((t) => t.text === "{REF}");
2740
+ ref7.y = 0;
2741
+ ref7.anchor = "middle_left";
2742
+ var photodiode_vert_default = rotatedSymbol6;
2616
2743
 
2617
2744
  // assets/generated/potentiometer.json
2618
2745
  var potentiometer_default = {
@@ -2750,21 +2877,21 @@ var potentiometer_default = {
2750
2877
  };
2751
2878
 
2752
2879
  // symbols/potentiometer_horz.ts
2753
- var { paths: paths14, texts: texts15, bounds: bounds14, refblocks: refblocks14 } = potentiometer_default;
2880
+ var { paths: paths15, texts: texts17, bounds: bounds15, refblocks: refblocks15 } = potentiometer_default;
2754
2881
  var potentiometer_horz_default = defineSymbol({
2755
2882
  primitives: [
2756
- ...Object.values(paths14),
2757
- { ...texts15.bottom1, y: 0.35, anchor: "middle_top" },
2758
- { ...texts15.right1, anchor: "middle_left" }
2883
+ ...Object.values(paths15),
2884
+ { ...texts17.bottom1, y: 0.35, anchor: "middle_top" },
2885
+ { ...texts17.right1, anchor: "middle_left" }
2759
2886
  ],
2760
2887
  ports: [
2761
- { ...refblocks14.left1, labels: ["1"] },
2888
+ { ...refblocks15.left1, labels: ["1"] },
2762
2889
  // TODO add more "standard" labels
2763
- { ...refblocks14.right1, labels: ["2"] }
2890
+ { ...refblocks15.right1, labels: ["2"] }
2764
2891
  // TODO add more "standard" labels
2765
2892
  ],
2766
- size: { width: bounds14.width + 0.05, height: bounds14.height },
2767
- center: { x: bounds14.centerX, y: bounds14.centerY }
2893
+ size: { width: bounds15.width + 0.05, height: bounds15.height },
2894
+ center: { x: bounds15.centerX, y: bounds15.centerY }
2768
2895
  });
2769
2896
 
2770
2897
  // symbols/potentiometer_vert.ts
@@ -2926,21 +3053,21 @@ var potentiometer2_default = {
2926
3053
  };
2927
3054
 
2928
3055
  // symbols/potentiometer2_horz.ts
2929
- var { paths: paths15, texts: texts16, bounds: bounds15, refblocks: refblocks15 } = potentiometer2_default;
3056
+ var { paths: paths16, texts: texts18, bounds: bounds16, refblocks: refblocks16 } = potentiometer2_default;
2930
3057
  var potentiometer2_horz_default = defineSymbol({
2931
3058
  primitives: [
2932
- ...Object.values(paths15),
2933
- { ...texts16.bottom1, anchor: "middle_right" },
2934
- { ...texts16.top1, anchor: "middle_left" }
3059
+ ...Object.values(paths16),
3060
+ { ...texts18.bottom1, anchor: "middle_right" },
3061
+ { ...texts18.top1, anchor: "middle_left" }
2935
3062
  ],
2936
3063
  ports: [
2937
- { ...refblocks15.left1, labels: ["1"] },
3064
+ { ...refblocks16.left1, labels: ["1"] },
2938
3065
  // TODO add more "standard" labels
2939
- { ...refblocks15.right1, labels: ["2"] }
3066
+ { ...refblocks16.right1, labels: ["2"] }
2940
3067
  // TODO add more "standard" labels
2941
3068
  ],
2942
- size: { width: bounds15.width, height: bounds15.height },
2943
- center: { x: bounds15.centerX, y: bounds15.centerY }
3069
+ size: { width: bounds16.width, height: bounds16.height },
3070
+ center: { x: bounds16.centerX, y: bounds16.centerY }
2944
3071
  });
2945
3072
 
2946
3073
  // symbols/potentiometer2_vert.ts
@@ -3033,11 +3160,11 @@ var power_factor_meter_default = {
3033
3160
  };
3034
3161
 
3035
3162
  // symbols/power_factor_meter_horz.ts
3036
- var { paths: paths16, texts: texts17, bounds: bounds16, refblocks: refblocks16, circles: circles8 } = power_factor_meter_default;
3163
+ var { paths: paths17, texts: texts19, bounds: bounds17, refblocks: refblocks17, circles: circles9 } = power_factor_meter_default;
3037
3164
  var power_factor_meter_horz_default = defineSymbol({
3038
3165
  primitives: [
3039
- ...Object.values(paths16),
3040
- ...Object.values(circles8),
3166
+ ...Object.values(paths17),
3167
+ ...Object.values(circles9),
3041
3168
  // { ...texts.top1, anchor: "middle_left" },
3042
3169
  {
3043
3170
  type: "text",
@@ -3064,28 +3191,28 @@ var power_factor_meter_horz_default = defineSymbol({
3064
3191
  }
3065
3192
  ],
3066
3193
  ports: [
3067
- { ...refblocks16.left1, labels: ["1"] },
3194
+ { ...refblocks17.left1, labels: ["1"] },
3068
3195
  // TODO add more "standard" labels
3069
- { ...refblocks16.right1, labels: ["2"] }
3196
+ { ...refblocks17.right1, labels: ["2"] }
3070
3197
  // TODO add more "standard" labels
3071
3198
  ],
3072
- size: { width: bounds16.width, height: bounds16.height },
3073
- center: { x: bounds16.centerX, y: bounds16.centerY }
3199
+ size: { width: bounds17.width, height: bounds17.height },
3200
+ center: { x: bounds17.centerX, y: bounds17.centerY }
3074
3201
  });
3075
3202
 
3076
3203
  // symbols/power_factor_meter_vert.ts
3077
- var rotatedSymbol6 = rotateSymbol(power_factor_meter_horz_default);
3078
- var texts18 = rotatedSymbol6.primitives.filter((p) => p.type === "text");
3079
- var ref7 = texts18.find((t) => t.text === "{REF}");
3080
- var val5 = texts18.find((t) => t.text === "{VAL}");
3081
- var text_cos = texts18.find((t) => t.text === "COS \u03C6");
3082
- ref7.x = 0.35;
3083
- ref7.y = 0;
3084
- val5.x = -0.6;
3085
- val5.y = 0;
3204
+ var rotatedSymbol7 = rotateSymbol(power_factor_meter_horz_default);
3205
+ var texts20 = rotatedSymbol7.primitives.filter((p) => p.type === "text");
3206
+ var ref8 = texts20.find((t) => t.text === "{REF}");
3207
+ var val6 = texts20.find((t) => t.text === "{VAL}");
3208
+ var text_cos = texts20.find((t) => t.text === "COS \u03C6");
3209
+ ref8.x = 0.35;
3210
+ ref8.y = 0;
3211
+ val6.x = -0.6;
3212
+ val6.y = 0;
3086
3213
  text_cos.x = -0.1;
3087
3214
  text_cos.y = 0;
3088
- var power_factor_meter_vert_default = rotatedSymbol6;
3215
+ var power_factor_meter_vert_default = rotatedSymbol7;
3089
3216
 
3090
3217
  // assets/generated/push_button_normally_closed_momentary.json
3091
3218
  var push_button_normally_closed_momentary_default = {
@@ -3188,37 +3315,37 @@ var push_button_normally_closed_momentary_default = {
3188
3315
  };
3189
3316
 
3190
3317
  // symbols/push_button_normally_closed_momentary_horz.ts
3191
- var { paths: paths17, texts: texts19, bounds: bounds17, refblocks: refblocks17 } = push_button_normally_closed_momentary_default;
3318
+ var { paths: paths18, texts: texts21, bounds: bounds18, refblocks: refblocks18 } = push_button_normally_closed_momentary_default;
3192
3319
  var push_button_normally_closed_momentary_horz_default = defineSymbol({
3193
3320
  primitives: [
3194
- ...Object.values(paths17),
3195
- { ...texts19.top1, anchor: "middle_bottom" },
3196
- { ...texts19.bottom1, anchor: "middle_top" }
3321
+ ...Object.values(paths18),
3322
+ { ...texts21.top1, anchor: "middle_bottom" },
3323
+ { ...texts21.bottom1, anchor: "middle_top" }
3197
3324
  ],
3198
3325
  ports: [
3199
- { ...refblocks17.left1, labels: ["1"] },
3326
+ { ...refblocks18.left1, labels: ["1"] },
3200
3327
  // TODO add more "standard" labels
3201
- { ...refblocks17.right1, labels: ["2"] }
3328
+ { ...refblocks18.right1, labels: ["2"] }
3202
3329
  // TODO add more "standard" labels
3203
3330
  ],
3204
- size: { width: bounds17.width, height: bounds17.height },
3205
- center: { x: bounds17.centerX, y: bounds17.centerY }
3331
+ size: { width: bounds18.width, height: bounds18.height },
3332
+ center: { x: bounds18.centerX, y: bounds18.centerY }
3206
3333
  });
3207
3334
 
3208
3335
  // symbols/push_button_normally_closed_momentary_vert.ts
3209
3336
  var rotated6 = rotateSymbol(push_button_normally_closed_momentary_horz_default);
3210
- var ref8 = rotated6.primitives.find(
3337
+ var ref9 = rotated6.primitives.find(
3211
3338
  (p) => p.type === "text" && p.text === "{REF}"
3212
3339
  );
3213
- var val6 = rotated6.primitives.find(
3340
+ var val7 = rotated6.primitives.find(
3214
3341
  (p) => p.type === "text" && p.text === "{VAL}"
3215
3342
  );
3216
- ref8.anchor = "middle_left";
3217
- val6.anchor = "middle_right";
3218
- ref8.x = ref8.x - 0.03;
3219
- ref8.y = ref8.y;
3220
- val6.x = val6.x;
3221
- val6.y = 0;
3343
+ ref9.anchor = "middle_left";
3344
+ val7.anchor = "middle_right";
3345
+ ref9.x = ref9.x - 0.03;
3346
+ ref9.y = ref9.y;
3347
+ val7.x = val7.x;
3348
+ val7.y = 0;
3222
3349
  var push_button_normally_closed_momentary_vert_default = rotated6;
3223
3350
 
3224
3351
  // assets/generated/push_button_normally_open_momentary.json
@@ -3322,37 +3449,37 @@ var push_button_normally_open_momentary_default = {
3322
3449
  };
3323
3450
 
3324
3451
  // symbols/push_button_normally_open_momentary_horz.ts
3325
- var { paths: paths18, texts: texts20, bounds: bounds18, refblocks: refblocks18 } = push_button_normally_open_momentary_default;
3452
+ var { paths: paths19, texts: texts22, bounds: bounds19, refblocks: refblocks19 } = push_button_normally_open_momentary_default;
3326
3453
  var push_button_normally_open_momentary_horz_default = defineSymbol({
3327
3454
  primitives: [
3328
- ...Object.values(paths18),
3329
- { ...texts20.top1, anchor: "middle_bottom" },
3330
- { ...texts20.bottom1, anchor: "middle_top" }
3455
+ ...Object.values(paths19),
3456
+ { ...texts22.top1, anchor: "middle_bottom" },
3457
+ { ...texts22.bottom1, anchor: "middle_top" }
3331
3458
  ],
3332
3459
  ports: [
3333
- { ...refblocks18.left1, labels: ["1"] },
3460
+ { ...refblocks19.left1, labels: ["1"] },
3334
3461
  // TODO add more "standard" labels
3335
- { ...refblocks18.right1, labels: ["2"] }
3462
+ { ...refblocks19.right1, labels: ["2"] }
3336
3463
  // TODO add more "standard" labels
3337
3464
  ],
3338
- size: { width: bounds18.width, height: bounds18.height },
3339
- center: { x: bounds18.centerX, y: bounds18.centerY }
3465
+ size: { width: bounds19.width, height: bounds19.height },
3466
+ center: { x: bounds19.centerX, y: bounds19.centerY }
3340
3467
  });
3341
3468
 
3342
3469
  // symbols/push_button_normally_open_momentary_vert.ts
3343
3470
  var rotated7 = rotateSymbol(push_button_normally_open_momentary_horz_default);
3344
- var ref9 = rotated7.primitives.find(
3471
+ var ref10 = rotated7.primitives.find(
3345
3472
  (p) => p.type === "text" && p.text === "{REF}"
3346
3473
  );
3347
- var val7 = rotated7.primitives.find(
3474
+ var val8 = rotated7.primitives.find(
3348
3475
  (p) => p.type === "text" && p.text === "{VAL}"
3349
3476
  );
3350
- ref9.anchor = "middle_left";
3351
- val7.anchor = "middle_right";
3352
- ref9.x = ref9.x + 0.1;
3353
- ref9.y = ref9.y;
3354
- val7.x = val7.x;
3355
- val7.y = 0;
3477
+ ref10.anchor = "middle_left";
3478
+ val8.anchor = "middle_right";
3479
+ ref10.x = ref10.x + 0.1;
3480
+ ref10.y = ref10.y;
3481
+ val8.x = val8.x;
3482
+ val8.y = 0;
3356
3483
  var push_button_normally_open_momentary_vert_default = rotated7;
3357
3484
 
3358
3485
  // assets/generated/schottky_diode.json
@@ -3547,34 +3674,34 @@ var schottky_diode_default = {
3547
3674
  };
3548
3675
 
3549
3676
  // symbols/schottky_diode_horz.ts
3550
- var { paths: paths19, texts: texts21, bounds: bounds19, refblocks: refblocks19, circles: circles9 } = schottky_diode_default;
3677
+ var { paths: paths20, texts: texts23, bounds: bounds20, refblocks: refblocks20, circles: circles10 } = schottky_diode_default;
3551
3678
  var schottky_diode_horz_default = defineSymbol({
3552
3679
  primitives: [
3553
- ...Object.values(paths19),
3554
- ...Object.values(circles9),
3555
- { ...texts21.top1, anchor: "middle_bottom" },
3556
- { ...texts21.bottom1, anchor: "middle_top" }
3680
+ ...Object.values(paths20),
3681
+ ...Object.values(circles10),
3682
+ { ...texts23.top1, anchor: "middle_bottom" },
3683
+ { ...texts23.bottom1, anchor: "middle_top" }
3557
3684
  ],
3558
3685
  ports: [
3559
- { ...refblocks19.left1, labels: ["1"] },
3686
+ { ...refblocks20.left1, labels: ["1"] },
3560
3687
  // TODO add more "standard" labels
3561
- { ...refblocks19.right1, labels: ["2"] }
3688
+ { ...refblocks20.right1, labels: ["2"] }
3562
3689
  // TODO add more "standard" labels
3563
3690
  ],
3564
- size: { width: bounds19.width, height: bounds19.height },
3565
- center: { x: bounds19.centerX, y: bounds19.centerY }
3691
+ size: { width: bounds20.width, height: bounds20.height },
3692
+ center: { x: bounds20.centerX, y: bounds20.centerY }
3566
3693
  });
3567
3694
 
3568
3695
  // symbols/schottky_diode_vert.ts
3569
3696
  var rotated8 = rotateSymbol(schottky_diode_horz_default);
3570
- var ref10 = rotated8.primitives.find(
3697
+ var ref11 = rotated8.primitives.find(
3571
3698
  (p) => p.type === "text" && p.text === "{REF}"
3572
3699
  );
3573
- var val8 = rotated8.primitives.find(
3700
+ var val9 = rotated8.primitives.find(
3574
3701
  (p) => p.type === "text" && p.text === "{VAL}"
3575
3702
  );
3576
- ref10.anchor = "middle_left";
3577
- val8.anchor = "middle_right";
3703
+ ref11.anchor = "middle_left";
3704
+ val9.anchor = "middle_right";
3578
3705
  var schottky_diode_vert_default = rotated8;
3579
3706
 
3580
3707
  // assets/generated/silicon_controlled_rectifier.json
@@ -3721,35 +3848,35 @@ var silicon_controlled_rectifier_default = {
3721
3848
  };
3722
3849
 
3723
3850
  // symbols/silicon_controlled_rectifier_horz.ts
3724
- var { paths: paths20, texts: texts22, bounds: bounds20, refblocks: refblocks20, circles: circles10 } = silicon_controlled_rectifier_default;
3851
+ var { paths: paths21, texts: texts24, bounds: bounds21, refblocks: refblocks21, circles: circles11 } = silicon_controlled_rectifier_default;
3725
3852
  var silicon_controlled_rectifier_horz_default = defineSymbol({
3726
3853
  primitives: [
3727
- ...Object.values(paths20),
3728
- ...Object.values(circles10),
3729
- { ...texts22.top1, anchor: "middle_left" },
3730
- { ...texts22.bottom1, anchor: "middle_top" }
3854
+ ...Object.values(paths21),
3855
+ ...Object.values(circles11),
3856
+ { ...texts24.top1, anchor: "middle_left" },
3857
+ { ...texts24.bottom1, anchor: "middle_top" }
3731
3858
  ],
3732
3859
  ports: [
3733
- { ...refblocks20.left1, labels: ["1"] },
3860
+ { ...refblocks21.left1, labels: ["1"] },
3734
3861
  // TODO add more "standard" labels
3735
- { ...refblocks20.right1, labels: ["2"] },
3862
+ { ...refblocks21.right1, labels: ["2"] },
3736
3863
  // TODO add more "standard" labels
3737
- { ...refblocks20.right2, labels: ["3"] }
3864
+ { ...refblocks21.right2, labels: ["3"] }
3738
3865
  // TODO add more "standard" labels
3739
3866
  ],
3740
- size: { width: bounds20.width, height: bounds20.height },
3741
- center: { x: bounds20.centerX, y: bounds20.centerY }
3867
+ size: { width: bounds21.width, height: bounds21.height },
3868
+ center: { x: bounds21.centerX, y: bounds21.centerY }
3742
3869
  });
3743
3870
 
3744
3871
  // symbols/silicon_controlled_rectifier_vert.ts
3745
- var rotatedSymbol7 = rotateSymbol(silicon_controlled_rectifier_horz_default);
3746
- var texts23 = rotatedSymbol7.primitives.filter(
3872
+ var rotatedSymbol8 = rotateSymbol(silicon_controlled_rectifier_horz_default);
3873
+ var texts25 = rotatedSymbol8.primitives.filter(
3747
3874
  (primitive) => primitive.type === "text"
3748
3875
  );
3749
- var ref11 = texts23.find((text) => text.text === "{REF}");
3750
- ref11.y = 0;
3751
- ref11.anchor = "middle_left";
3752
- var silicon_controlled_rectifier_vert_default = rotatedSymbol7;
3876
+ var ref12 = texts25.find((text) => text.text === "{REF}");
3877
+ ref12.y = 0;
3878
+ ref12.anchor = "middle_left";
3879
+ var silicon_controlled_rectifier_vert_default = rotatedSymbol8;
3753
3880
 
3754
3881
  // assets/generated/triac.json
3755
3882
  var triac_default = {
@@ -3942,36 +4069,36 @@ var triac_default = {
3942
4069
  };
3943
4070
 
3944
4071
  // symbols/triac_horz.ts
3945
- var { paths: paths21, texts: texts24, bounds: bounds21, refblocks: refblocks21, circles: circles11 } = triac_default;
4072
+ var { paths: paths22, texts: texts26, bounds: bounds22, refblocks: refblocks22, circles: circles12 } = triac_default;
3946
4073
  var triac_horz_default = defineSymbol({
3947
4074
  primitives: [
3948
- ...Object.values(paths21),
3949
- ...Object.values(circles11),
3950
- { ...texts24.top1, anchor: "middle_left" },
3951
- { ...texts24.bottom1, anchor: "middle_top" }
4075
+ ...Object.values(paths22),
4076
+ ...Object.values(circles12),
4077
+ { ...texts26.top1, anchor: "middle_left" },
4078
+ { ...texts26.bottom1, anchor: "middle_top" }
3952
4079
  ],
3953
4080
  ports: [
3954
- { ...refblocks21.left1, labels: ["1"] },
4081
+ { ...refblocks22.left1, labels: ["1"] },
3955
4082
  // TODO add more "standard" labels
3956
- { ...refblocks21.right1, labels: ["2"] },
4083
+ { ...refblocks22.right1, labels: ["2"] },
3957
4084
  // TODO add more "standard" labels
3958
- { ...refblocks21.bottom1, labels: ["3"] }
4085
+ { ...refblocks22.bottom1, labels: ["3"] }
3959
4086
  // TODO add more "standard" labels
3960
4087
  ],
3961
- size: { width: bounds21.width, height: bounds21.height },
3962
- center: { x: bounds21.centerX, y: bounds21.centerY }
4088
+ size: { width: bounds22.width, height: bounds22.height },
4089
+ center: { x: bounds22.centerX, y: bounds22.centerY }
3963
4090
  });
3964
4091
 
3965
4092
  // symbols/triac_vert.ts
3966
- var rotatedSymbol8 = rotateSymbol(triac_horz_default);
3967
- var texts25 = rotatedSymbol8.primitives.filter(
4093
+ var rotatedSymbol9 = rotateSymbol(triac_horz_default);
4094
+ var texts27 = rotatedSymbol9.primitives.filter(
3968
4095
  (primitive) => primitive.type === "text"
3969
4096
  );
3970
- var ref12 = texts25.find((text) => text.text === "{REF}");
3971
- var val9 = texts25.find((text) => text.text === "{VAL}");
3972
- ref12.y = 0;
3973
- val9.y = 0;
3974
- var triac_vert_default = rotatedSymbol8;
4097
+ var ref13 = texts27.find((text) => text.text === "{REF}");
4098
+ var val10 = texts27.find((text) => text.text === "{VAL}");
4099
+ ref13.y = 0;
4100
+ val10.y = 0;
4101
+ var triac_vert_default = rotatedSymbol9;
3975
4102
 
3976
4103
  // assets/generated/tunnel_diode.json
3977
4104
  var tunnel_diode_default = {
@@ -4135,34 +4262,34 @@ var tunnel_diode_default = {
4135
4262
  };
4136
4263
 
4137
4264
  // symbols/tunnel_diode_horz.ts
4138
- var { paths: paths22, texts: texts26, bounds: bounds22, refblocks: refblocks22, circles: circles12 } = tunnel_diode_default;
4265
+ var { paths: paths23, texts: texts28, bounds: bounds23, refblocks: refblocks23, circles: circles13 } = tunnel_diode_default;
4139
4266
  var tunnel_diode_horz_default = defineSymbol({
4140
4267
  primitives: [
4141
- ...Object.values(paths22),
4142
- ...Object.values(circles12),
4143
- { ...texts26.top1, anchor: "middle_bottom" },
4144
- { ...texts26.bottom1, anchor: "middle_top" }
4268
+ ...Object.values(paths23),
4269
+ ...Object.values(circles13),
4270
+ { ...texts28.top1, anchor: "middle_bottom" },
4271
+ { ...texts28.bottom1, anchor: "middle_top" }
4145
4272
  ],
4146
4273
  ports: [
4147
- { ...refblocks22.left1, labels: ["1"] },
4274
+ { ...refblocks23.left1, labels: ["1"] },
4148
4275
  // TODO add more "standard" labels
4149
- { ...refblocks22.right1, labels: ["2"] }
4276
+ { ...refblocks23.right1, labels: ["2"] }
4150
4277
  // TODO add more "standard" labels
4151
4278
  ],
4152
- size: { width: bounds22.width, height: bounds22.height },
4153
- center: { x: bounds22.centerX, y: bounds22.centerY }
4279
+ size: { width: bounds23.width, height: bounds23.height },
4280
+ center: { x: bounds23.centerX, y: bounds23.centerY }
4154
4281
  });
4155
4282
 
4156
4283
  // symbols/tunnel_diode_vert.ts
4157
4284
  var rotated9 = rotateSymbol(tunnel_diode_horz_default);
4158
- var ref13 = rotated9.primitives.find(
4285
+ var ref14 = rotated9.primitives.find(
4159
4286
  (p) => p.type === "text" && p.text === "{REF}"
4160
4287
  );
4161
- var val10 = rotated9.primitives.find(
4288
+ var val11 = rotated9.primitives.find(
4162
4289
  (p) => p.type === "text" && p.text === "{VAL}"
4163
4290
  );
4164
- ref13.anchor = "middle_left";
4165
- val10.anchor = "middle_right";
4291
+ ref14.anchor = "middle_left";
4292
+ val11.anchor = "middle_right";
4166
4293
  var tunnel_diode_vert_default = rotated9;
4167
4294
 
4168
4295
  // assets/generated/var_meter.json
@@ -4252,33 +4379,33 @@ var var_meter_default = {
4252
4379
  };
4253
4380
 
4254
4381
  // symbols/var_meter_horz.ts
4255
- var { paths: paths23, texts: texts27, bounds: bounds23, refblocks: refblocks23, circles: circles13 } = var_meter_default;
4382
+ var { paths: paths24, texts: texts29, bounds: bounds24, refblocks: refblocks24, circles: circles14 } = var_meter_default;
4256
4383
  var var_meter_horz_default = defineSymbol({
4257
4384
  primitives: [
4258
- ...Object.values(paths23),
4259
- ...Object.values(circles13),
4385
+ ...Object.values(paths24),
4386
+ ...Object.values(circles14),
4260
4387
  {
4261
- ...texts27.top1,
4388
+ ...texts29.top1,
4262
4389
  x: 0,
4263
4390
  y: -0.3594553499999995,
4264
4391
  anchor: "middle_bottom"
4265
4392
  },
4266
4393
  {
4267
- ...texts27.bottom1,
4394
+ ...texts29.bottom1,
4268
4395
  x: 0,
4269
4396
  y: 0.35,
4270
4397
  anchor: "middle_top"
4271
4398
  },
4272
- { ...texts27.left1, x: -0.02, y: -0.02, fontSize: 0.2, anchor: "center" }
4399
+ { ...texts29.left1, x: -0.02, y: -0.02, fontSize: 0.2, anchor: "center" }
4273
4400
  ],
4274
4401
  ports: [
4275
- { ...refblocks23.left1, labels: ["1"] },
4402
+ { ...refblocks24.left1, labels: ["1"] },
4276
4403
  // TODO add more "standard" labels
4277
- { ...refblocks23.right1, labels: ["2"] }
4404
+ { ...refblocks24.right1, labels: ["2"] }
4278
4405
  // TODO add more "standard" labels
4279
4406
  ],
4280
- size: { width: bounds23.width, height: bounds23.height },
4281
- center: { x: bounds23.centerX, y: bounds23.centerY }
4407
+ size: { width: bounds24.width, height: bounds24.height },
4408
+ center: { x: bounds24.centerX, y: bounds24.centerY }
4282
4409
  });
4283
4410
 
4284
4411
  // symbols/var_meter_vert.ts
@@ -4431,34 +4558,34 @@ var varactor_diode_default = {
4431
4558
  };
4432
4559
 
4433
4560
  // symbols/varactor_diode_horz.ts
4434
- var { paths: paths24, texts: texts28, bounds: bounds24, refblocks: refblocks24, circles: circles14 } = varactor_diode_default;
4561
+ var { paths: paths25, texts: texts30, bounds: bounds25, refblocks: refblocks25, circles: circles15 } = varactor_diode_default;
4435
4562
  var varactor_diode_horz_default = defineSymbol({
4436
4563
  primitives: [
4437
- ...Object.values(paths24),
4438
- ...Object.values(circles14),
4439
- { ...texts28.top1, anchor: "middle_bottom" },
4440
- { ...texts28.bottom1, anchor: "middle_top" }
4564
+ ...Object.values(paths25),
4565
+ ...Object.values(circles15),
4566
+ { ...texts30.top1, anchor: "middle_bottom" },
4567
+ { ...texts30.bottom1, anchor: "middle_top" }
4441
4568
  ],
4442
4569
  ports: [
4443
- { ...refblocks24.left1, labels: ["1"] },
4570
+ { ...refblocks25.left1, labels: ["1"] },
4444
4571
  // TODO add more "standard" labels
4445
- { ...refblocks24.right1, labels: ["2"] }
4572
+ { ...refblocks25.right1, labels: ["2"] }
4446
4573
  // TODO add more "standard" labels
4447
4574
  ],
4448
- size: { width: bounds24.width, height: bounds24.height },
4449
- center: { x: bounds24.centerX, y: bounds24.centerY }
4575
+ size: { width: bounds25.width, height: bounds25.height },
4576
+ center: { x: bounds25.centerX, y: bounds25.centerY }
4450
4577
  });
4451
4578
 
4452
4579
  // symbols/varactor_diode_vert.ts
4453
4580
  var rotated10 = rotateSymbol(varactor_diode_horz_default);
4454
- var ref14 = rotated10.primitives.find(
4581
+ var ref15 = rotated10.primitives.find(
4455
4582
  (p) => p.type === "text" && p.text === "{REF}"
4456
4583
  );
4457
- var val11 = rotated10.primitives.find(
4584
+ var val12 = rotated10.primitives.find(
4458
4585
  (p) => p.type === "text" && p.text === "{VAL}"
4459
4586
  );
4460
- ref14.anchor = "middle_left";
4461
- val11.anchor = "middle_right";
4587
+ ref15.anchor = "middle_left";
4588
+ val12.anchor = "middle_right";
4462
4589
  var varactor_diode_vert_default = rotated10;
4463
4590
 
4464
4591
  // assets/generated/varistor.json
@@ -4593,26 +4720,26 @@ var varistor_default = {
4593
4720
  };
4594
4721
 
4595
4722
  // symbols/varistor_horz.ts
4596
- var { paths: paths25, texts: texts29, bounds: bounds25, refblocks: refblocks25 } = varistor_default;
4723
+ var { paths: paths26, texts: texts31, bounds: bounds26, refblocks: refblocks26 } = varistor_default;
4597
4724
  var varistor_horz_default = defineSymbol({
4598
4725
  primitives: [
4599
- ...Object.values(paths25),
4600
- { ...texts29.top1, anchor: "middle_left" },
4601
- { ...texts29.bottom1, anchor: "middle_right" }
4726
+ ...Object.values(paths26),
4727
+ { ...texts31.top1, anchor: "middle_left" },
4728
+ { ...texts31.bottom1, anchor: "middle_right" }
4602
4729
  ],
4603
4730
  ports: [
4604
4731
  {
4605
- ...refblocks25.left1,
4732
+ ...refblocks26.left1,
4606
4733
  labels: ["1", "-"]
4607
4734
  },
4608
4735
  {
4609
- ...refblocks25.right1,
4736
+ ...refblocks26.right1,
4610
4737
  labels: ["2", "+"]
4611
4738
  }
4612
4739
  ],
4613
- size: { width: bounds25.width, height: bounds25.height },
4740
+ size: { width: bounds26.width, height: bounds26.height },
4614
4741
  //{ width: 1, height: 0.24 },
4615
- center: { x: bounds25.centerX, y: bounds25.centerY }
4742
+ center: { x: bounds26.centerX, y: bounds26.centerY }
4616
4743
  });
4617
4744
 
4618
4745
  // symbols/varistor_vert.ts
@@ -4718,11 +4845,11 @@ var volt_meter_default = {
4718
4845
  };
4719
4846
 
4720
4847
  // symbols/volt_meter_horz.ts
4721
- var { paths: paths26, texts: texts30, bounds: bounds26, circles: circles15, refblocks: refblocks26 } = volt_meter_default;
4848
+ var { paths: paths27, texts: texts32, bounds: bounds27, circles: circles16, refblocks: refblocks27 } = volt_meter_default;
4722
4849
  var volt_meter_horz_default = defineSymbol({
4723
4850
  primitives: [
4724
- ...Object.values(paths26),
4725
- ...Object.values(circles15),
4851
+ ...Object.values(paths27),
4852
+ ...Object.values(circles16),
4726
4853
  {
4727
4854
  type: "text",
4728
4855
  text: "{REF}",
@@ -4739,13 +4866,13 @@ var volt_meter_horz_default = defineSymbol({
4739
4866
  }
4740
4867
  ],
4741
4868
  ports: [
4742
- { ...refblocks26.left1, labels: ["1"] },
4869
+ { ...refblocks27.left1, labels: ["1"] },
4743
4870
  // TODO add more "standard" labels
4744
- { ...refblocks26.right1, labels: ["2"] }
4871
+ { ...refblocks27.right1, labels: ["2"] }
4745
4872
  // TODO add more "standard" labels
4746
4873
  ],
4747
- size: { width: bounds26.width, height: bounds26.height },
4748
- center: { x: bounds26.centerX, y: bounds26.centerY }
4874
+ size: { width: bounds27.width, height: bounds27.height },
4875
+ center: { x: bounds27.centerX, y: bounds27.centerY }
4749
4876
  });
4750
4877
 
4751
4878
  // symbols/volt_meter_vert.ts
@@ -4898,34 +5025,34 @@ var zener_diode_default = {
4898
5025
  };
4899
5026
 
4900
5027
  // symbols/zener_diode_horz.ts
4901
- var { paths: paths27, texts: texts31, bounds: bounds27, refblocks: refblocks27, circles: circles16 } = zener_diode_default;
5028
+ var { paths: paths28, texts: texts33, bounds: bounds28, refblocks: refblocks28, circles: circles17 } = zener_diode_default;
4902
5029
  var zener_diode_horz_default = defineSymbol({
4903
5030
  primitives: [
4904
- ...Object.values(paths27),
4905
- ...Object.values(circles16),
4906
- { ...texts31.top1, anchor: "middle_bottom" },
4907
- { ...texts31.bottom1, anchor: "middle_top" }
5031
+ ...Object.values(paths28),
5032
+ ...Object.values(circles17),
5033
+ { ...texts33.top1, anchor: "middle_bottom" },
5034
+ { ...texts33.bottom1, anchor: "middle_top" }
4908
5035
  ],
4909
5036
  ports: [
4910
- { ...refblocks27.left1, labels: ["1"] },
5037
+ { ...refblocks28.left1, labels: ["1"] },
4911
5038
  // TODO add more "standard" labels
4912
- { ...refblocks27.right1, labels: ["2"] }
5039
+ { ...refblocks28.right1, labels: ["2"] }
4913
5040
  // TODO add more "standard" labels
4914
5041
  ],
4915
- size: { width: bounds27.width, height: bounds27.height },
4916
- center: { x: bounds27.centerX, y: bounds27.centerY }
5042
+ size: { width: bounds28.width, height: bounds28.height },
5043
+ center: { x: bounds28.centerX, y: bounds28.centerY }
4917
5044
  });
4918
5045
 
4919
5046
  // symbols/zener_diode_vert.ts
4920
5047
  var rotated11 = rotateSymbol(zener_diode_horz_default);
4921
- var ref15 = rotated11.primitives.find(
5048
+ var ref16 = rotated11.primitives.find(
4922
5049
  (p) => p.type === "text" && p.text === "{REF}"
4923
5050
  );
4924
- var val12 = rotated11.primitives.find(
5051
+ var val13 = rotated11.primitives.find(
4925
5052
  (p) => p.type === "text" && p.text === "{VAL}"
4926
5053
  );
4927
- ref15.anchor = "middle_left";
4928
- val12.anchor = "middle_right";
5054
+ ref16.anchor = "middle_left";
5055
+ val13.anchor = "middle_right";
4929
5056
  var zener_diode_vert_default = rotated11;
4930
5057
 
4931
5058
  // generated/symbols-index.ts
@@ -4938,6 +5065,8 @@ var symbols_index_default = {
4938
5065
  "boxresistor_vert": boxresistor_vert_default,
4939
5066
  "capacitor_horz": capacitor_horz_default,
4940
5067
  "capacitor_vert": capacitor_vert_default,
5068
+ "constant_current_diode_horz": constant_current_diode_horz_default,
5069
+ "constant_current_diode_vert": constant_current_diode_vert_default,
4941
5070
  "dc_ammeter_horz": dc_ammeter_horz_default,
4942
5071
  "dc_ammeter_vert": dc_ammeter_vert_default,
4943
5072
  "dc_voltmeter_horz": dc_voltmeter_horz_default,