schematic-symbols 0.0.78 → 0.0.80

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
@@ -484,6 +484,129 @@ ref.anchor = "middle_left";
484
484
  val.anchor = "middle_right";
485
485
  var avalanche_diode_vert_default = rotated;
486
486
 
487
+ // assets/generated/battery.json
488
+ var battery_default = {
489
+ paths: {
490
+ path43: {
491
+ type: "path",
492
+ points: [
493
+ {
494
+ x: -0.05901489999999909,
495
+ y: -0.18831315000000015
496
+ },
497
+ {
498
+ x: -0.05869489999999833,
499
+ y: 0.11814524999999954
500
+ }
501
+ ],
502
+ color: "primary",
503
+ fill: false
504
+ },
505
+ "path43-6": {
506
+ type: "path",
507
+ points: [
508
+ {
509
+ x: 0.015375000000000805,
510
+ y: -0.12533125000000034
511
+ },
512
+ {
513
+ x: 0.016669000000000933,
514
+ y: 0.05562075000000033
515
+ }
516
+ ],
517
+ color: "primary",
518
+ fill: false
519
+ },
520
+ path44: {
521
+ type: "path",
522
+ points: [
523
+ {
524
+ x: -0.06443049999999961,
525
+ y: -0.032673549999999496
526
+ },
527
+ {
528
+ x: -0.4368029,
529
+ y: -0.032673549999999496
530
+ }
531
+ ],
532
+ color: "primary",
533
+ fill: false
534
+ },
535
+ "path44-0": {
536
+ type: "path",
537
+ points: [
538
+ {
539
+ x: 0.4350822999999997,
540
+ y: -0.03438825000000034
541
+ },
542
+ {
543
+ x: 0.028285099999999952,
544
+ y: -0.03438825000000034
545
+ }
546
+ ],
547
+ color: "primary",
548
+ fill: false
549
+ }
550
+ },
551
+ texts: {
552
+ top1: {
553
+ type: "text",
554
+ text: "{REF}",
555
+ x: -0.027835099999999446,
556
+ y: -0.26964474999999943
557
+ },
558
+ bottom1: {
559
+ type: "text",
560
+ text: "{VAL}",
561
+ x: -0.028373699999999502,
562
+ y: 0.19564474999999967
563
+ }
564
+ },
565
+ refblocks: {
566
+ left1: {
567
+ x: -0.4458008,
568
+ y: -0.033557849999999334
569
+ },
570
+ right1: {
571
+ x: 0.4458008,
572
+ y: -0.03343344999999931
573
+ }
574
+ },
575
+ bounds: {
576
+ minX: -0.473959241,
577
+ maxX: 0.473959241,
578
+ minY: -0.3656447499999994,
579
+ maxY: 0.27564474999999966,
580
+ width: 0.947918482,
581
+ height: 0.2912894999999991,
582
+ centerX: 0,
583
+ centerY: -0.04499999999999987
584
+ },
585
+ circles: {}
586
+ };
587
+
588
+ // symbols/battery_horz.ts
589
+ var { paths: paths3, texts: texts2, bounds: bounds3, refblocks: refblocks3, circles: circles3 } = battery_default;
590
+ var battery_horz_default = defineSymbol({
591
+ primitives: [
592
+ ...Object.values(paths3),
593
+ ...Object.values(circles3),
594
+ { ...texts2.top1, anchor: "middle_bottom" },
595
+ { ...texts2.bottom1, anchor: "middle_top" }
596
+ ],
597
+ ports: [
598
+ { ...refblocks3.left1, labels: ["1"] },
599
+ // TODO add more "standard" labels
600
+ { ...refblocks3.right1, labels: ["2"] }
601
+ // TODO add more "standard" labels
602
+ ],
603
+ size: { width: bounds3.width, height: bounds3.height },
604
+ center: { x: bounds3.centerX, y: bounds3.centerY }
605
+ });
606
+
607
+ // symbols/battery_vert.ts
608
+ var battery_vert_default = rotateSymbol(battery_horz_default);
609
+
487
610
  // assets/generated/boxresistor.json
488
611
  var boxresistor_default = {
489
612
  paths: {
@@ -587,20 +710,20 @@ var boxresistor_default = {
587
710
  };
588
711
 
589
712
  // symbols/boxresistor_horz.ts
590
- var { paths: paths3, texts: texts2, bounds: bounds3, refblocks: refblocks3 } = boxresistor_default;
713
+ var { paths: paths4, texts: texts3, bounds: bounds4, refblocks: refblocks4 } = boxresistor_default;
591
714
  var boxresistor_horz_default = defineSymbol({
592
715
  primitives: [
593
- ...Object.values(paths3),
594
- { ...texts2.top1, anchor: "middle_bottom" },
595
- { ...texts2.bottom1, anchor: "middle_top" }
716
+ ...Object.values(paths4),
717
+ { ...texts3.top1, anchor: "middle_bottom" },
718
+ { ...texts3.bottom1, anchor: "middle_top" }
596
719
  ],
597
720
  ports: [
598
- { ...refblocks3.left1, labels: ["1"] },
599
- { ...refblocks3.right1, labels: ["2"] }
721
+ { ...refblocks4.left1, labels: ["1"] },
722
+ { ...refblocks4.right1, labels: ["2"] }
600
723
  ],
601
- size: { width: bounds3.width, height: bounds3.height },
724
+ size: { width: bounds4.width, height: bounds4.height },
602
725
  //{ width: 1, height: 0.24 },
603
- center: { x: bounds3.centerX, y: bounds3.centerY }
726
+ center: { x: bounds4.centerX, y: bounds4.centerY }
604
727
  });
605
728
 
606
729
  // symbols/boxresistor_vert.ts
@@ -708,20 +831,20 @@ var capacitor_default = {
708
831
  };
709
832
 
710
833
  // symbols/capacitor_horz.ts
711
- var { paths: paths4, bounds: bounds4, refblocks: refblocks4, texts: texts3 } = capacitor_default;
834
+ var { paths: paths5, bounds: bounds5, refblocks: refblocks5, texts: texts4 } = capacitor_default;
712
835
  var capacitor_horz_default = defineSymbol({
713
836
  primitives: [
714
- ...Object.values(paths4),
715
- { ...texts3.top1, anchor: "middle_bottom" },
716
- { ...texts3.bottom1, anchor: "middle_top" }
837
+ ...Object.values(paths5),
838
+ { ...texts4.top1, anchor: "middle_bottom" },
839
+ { ...texts4.bottom1, anchor: "middle_top" }
717
840
  ],
718
841
  ports: [
719
- { ...refblocks4.left1, labels: ["1"] },
720
- { ...refblocks4.right1, labels: ["2"] }
842
+ { ...refblocks5.left1, labels: ["1"] },
843
+ { ...refblocks5.right1, labels: ["2"] }
721
844
  ],
722
- size: { width: bounds4.width, height: bounds4.height },
845
+ size: { width: bounds5.width, height: bounds5.height },
723
846
  //{ width: 1, height: 0.24 },
724
- center: { x: bounds4.centerX, y: bounds4.centerY }
847
+ center: { x: bounds5.centerX, y: bounds5.centerY }
725
848
  });
726
849
 
727
850
  // symbols/capacitor_vert.ts
@@ -823,32 +946,32 @@ var constant_current_diode_default = {
823
946
  };
824
947
 
825
948
  // symbols/constant_current_diode_horz.ts
826
- var { paths: paths5, texts: texts4, bounds: bounds5, refblocks: refblocks5, circles: circles3 } = constant_current_diode_default;
949
+ var { paths: paths6, texts: texts5, bounds: bounds6, refblocks: refblocks6, circles: circles4 } = constant_current_diode_default;
827
950
  var constant_current_diode_horz_default = defineSymbol({
828
951
  primitives: [
829
- ...Object.values(paths5),
830
- ...Object.values(circles3),
831
- { ...texts4.top1, anchor: "middle_left", x: -0.15, y: -0.4 },
832
- { ...texts4.bottom1, anchor: "middle_left", x: -0.15 }
952
+ ...Object.values(paths6),
953
+ ...Object.values(circles4),
954
+ { ...texts5.top1, anchor: "middle_left", x: -0.15, y: -0.4 },
955
+ { ...texts5.bottom1, anchor: "middle_left", x: -0.15 }
833
956
  ],
834
957
  ports: [
835
- { ...refblocks5.left1, labels: ["1"] },
958
+ { ...refblocks6.left1, labels: ["1"] },
836
959
  // TODO add more "standard" labels
837
- { ...refblocks5.right1, labels: ["2"] }
960
+ { ...refblocks6.right1, labels: ["2"] }
838
961
  // TODO add more "standard" labels
839
962
  ],
840
- size: { width: bounds5.width, height: bounds5.height },
841
- center: { x: bounds5.centerX, y: bounds5.centerY }
963
+ size: { width: bounds6.width, height: bounds6.height },
964
+ center: { x: bounds6.centerX, y: bounds6.centerY }
842
965
  });
843
966
 
844
967
  // symbols/constant_current_diode_vert.ts
845
968
  var rotatedSymbol2 = rotateSymbol(constant_current_diode_horz_default);
846
- var texts5 = rotatedSymbol2.primitives.filter((p) => p.type === "text");
847
- var val2 = texts5.find((t) => t.text === "{VAL}");
969
+ var texts6 = rotatedSymbol2.primitives.filter((p) => p.type === "text");
970
+ var val2 = texts6.find((t) => t.text === "{VAL}");
848
971
  val2.x = -0.35;
849
972
  val2.y = 0;
850
973
  val2.anchor = "middle_right";
851
- var ref2 = texts5.find((t) => t.text === "{REF}");
974
+ var ref2 = texts6.find((t) => t.text === "{REF}");
852
975
  ref2.y = 0;
853
976
  ref2.x = 0.35;
854
977
  ref2.anchor = "middle_left";
@@ -1016,11 +1139,11 @@ var crystal_default = {
1016
1139
  };
1017
1140
 
1018
1141
  // symbols/crystal_horz.ts
1019
- var { paths: paths6, texts: texts6, bounds: bounds6, refblocks: refblocks6, circles: circles4 } = crystal_default;
1142
+ var { paths: paths7, texts: texts7, bounds: bounds7, refblocks: refblocks7, circles: circles5 } = crystal_default;
1020
1143
  var crystal_horz_default = defineSymbol({
1021
1144
  primitives: [
1022
- ...Object.values(paths6),
1023
- ...Object.values(circles4),
1145
+ ...Object.values(paths7),
1146
+ ...Object.values(circles5),
1024
1147
  // { ...texts.top1, anchor: "middle_left" },
1025
1148
  // { ...texts.bottom1, anchor: "middle_left" },
1026
1149
  {
@@ -1039,24 +1162,313 @@ var crystal_horz_default = defineSymbol({
1039
1162
  }
1040
1163
  ],
1041
1164
  ports: [
1042
- { ...refblocks6.left1, labels: ["1"] },
1165
+ { ...refblocks7.left1, labels: ["1"] },
1043
1166
  // TODO add more "standard" labels
1044
- { ...refblocks6.right1, labels: ["2"] }
1167
+ { ...refblocks7.right1, labels: ["2"] }
1045
1168
  // TODO add more "standard" labels
1046
1169
  ],
1047
- size: { width: bounds6.width, height: bounds6.height },
1048
- center: { x: bounds6.centerX, y: bounds6.centerY }
1170
+ size: { width: bounds7.width, height: bounds7.height },
1171
+ center: { x: bounds7.centerX, y: bounds7.centerY }
1049
1172
  });
1050
1173
 
1051
1174
  // symbols/crystal_vert.ts
1052
1175
  var rotatedSymbol3 = rotateSymbol(crystal_horz_default);
1053
- var texts7 = rotatedSymbol3.primitives.filter((p) => p.type === "text");
1054
- var ref3 = texts7.find((t) => t.text === "{REF}");
1055
- var val3 = texts7.find((t) => t.text === "{VAL}");
1176
+ var texts8 = rotatedSymbol3.primitives.filter((p) => p.type === "text");
1177
+ var ref3 = texts8.find((t) => t.text === "{REF}");
1178
+ var val3 = texts8.find((t) => t.text === "{VAL}");
1056
1179
  val3.x = -0.4;
1057
1180
  ref3.x = 0.35;
1058
1181
  var crystal_vert_default = rotatedSymbol3;
1059
1182
 
1183
+ // assets/generated/darlington_pair_transistor.json
1184
+ var darlington_pair_transistor_default = {
1185
+ paths: {
1186
+ path11: {
1187
+ type: "path",
1188
+ points: [
1189
+ {
1190
+ x: 1.9942486145,
1191
+ y: 1.6315233295000002
1192
+ },
1193
+ {
1194
+ x: 2.0984258145,
1195
+ y: 1.6321433295000003
1196
+ }
1197
+ ],
1198
+ color: "primary",
1199
+ fill: false
1200
+ },
1201
+ "path40-0": {
1202
+ type: "path",
1203
+ points: [
1204
+ {
1205
+ x: 2.1030704145000003,
1206
+ y: 1.4702420295
1207
+ },
1208
+ {
1209
+ x: 2.1026604145,
1210
+ y: 1.7934203295
1211
+ }
1212
+ ],
1213
+ color: "primary",
1214
+ fill: false
1215
+ },
1216
+ "path40-0-5": {
1217
+ type: "path",
1218
+ points: [
1219
+ {
1220
+ x: 2.2218770145,
1221
+ y: 1.4862575295
1222
+ },
1223
+ {
1224
+ x: 2.1063461145,
1225
+ y: 1.5650515295000003
1226
+ }
1227
+ ],
1228
+ color: "primary",
1229
+ fill: false
1230
+ },
1231
+ "path40-0-5-0": {
1232
+ type: "path",
1233
+ points: [
1234
+ {
1235
+ x: 2.2286252145,
1236
+ y: 1.7712556295000002
1237
+ },
1238
+ {
1239
+ x: 2.1136540145000002,
1240
+ y: 1.6926424295
1241
+ }
1242
+ ],
1243
+ color: "primary",
1244
+ fill: false
1245
+ },
1246
+ "path12-1-5": {
1247
+ type: "path",
1248
+ points: [
1249
+ {
1250
+ x: 2.2273251145,
1251
+ y: 1.4841963295
1252
+ },
1253
+ {
1254
+ x: 2.2284101145,
1255
+ y: 1.1411599295000001
1256
+ }
1257
+ ],
1258
+ color: "primary",
1259
+ fill: false
1260
+ },
1261
+ "path12-1-5-3": {
1262
+ type: "path",
1263
+ points: [
1264
+ {
1265
+ x: 2.2276017145,
1266
+ y: 1.9460598295
1267
+ },
1268
+ {
1269
+ x: 2.2281317145,
1270
+ y: 1.7781501295000002
1271
+ }
1272
+ ],
1273
+ color: "primary",
1274
+ fill: false
1275
+ },
1276
+ "arrow-2": {
1277
+ type: "path",
1278
+ points: [
1279
+ {
1280
+ x: 2.1704797145,
1281
+ y: 1.6884541295000002
1282
+ },
1283
+ {
1284
+ x: 2.1275815145,
1285
+ y: 1.7497189295000002
1286
+ },
1287
+ {
1288
+ x: 2.1917009144999997,
1289
+ y: 1.7494989295000003
1290
+ },
1291
+ {
1292
+ x: 2.1704797145,
1293
+ y: 1.6884541295000002
1294
+ }
1295
+ ],
1296
+ color: "primary",
1297
+ fill: true
1298
+ },
1299
+ path1: {
1300
+ type: "path",
1301
+ points: [
1302
+ {
1303
+ x: 1.5978828145000001,
1304
+ y: 1.4913252295000001
1305
+ },
1306
+ {
1307
+ x: 1.8597023145000002,
1308
+ y: 1.4928722295
1309
+ }
1310
+ ],
1311
+ color: "primary",
1312
+ fill: false
1313
+ },
1314
+ path2: {
1315
+ type: "path",
1316
+ points: [
1317
+ {
1318
+ x: 1.8686937145000002,
1319
+ y: 1.3305097295000001
1320
+ },
1321
+ {
1322
+ x: 1.8682837145,
1323
+ y: 1.6536880295
1324
+ }
1325
+ ],
1326
+ color: "primary",
1327
+ fill: false
1328
+ },
1329
+ path3: {
1330
+ type: "path",
1331
+ points: [
1332
+ {
1333
+ x: 1.9875004145000004,
1334
+ y: 1.3465253295000001
1335
+ },
1336
+ {
1337
+ x: 1.8719693145,
1338
+ y: 1.4253192295000001
1339
+ }
1340
+ ],
1341
+ color: "primary",
1342
+ fill: false
1343
+ },
1344
+ path4: {
1345
+ type: "path",
1346
+ points: [
1347
+ {
1348
+ x: 1.9942486145,
1349
+ y: 1.6315233295000002
1350
+ },
1351
+ {
1352
+ x: 1.8792773145000001,
1353
+ y: 1.5529101295000003
1354
+ }
1355
+ ],
1356
+ color: "primary",
1357
+ fill: false
1358
+ },
1359
+ "arrow-1": {
1360
+ type: "path",
1361
+ points: [
1362
+ {
1363
+ x: 1.9361028144999999,
1364
+ y: 1.5487218295000003
1365
+ },
1366
+ {
1367
+ x: 1.8932048145,
1368
+ y: 1.6099866295000003
1369
+ },
1370
+ {
1371
+ x: 1.9573242144999998,
1372
+ y: 1.6097666295000004
1373
+ },
1374
+ {
1375
+ x: 1.9361028144999999,
1376
+ y: 1.5487218295000003
1377
+ }
1378
+ ],
1379
+ color: "primary",
1380
+ fill: true
1381
+ },
1382
+ path9: {
1383
+ type: "path",
1384
+ points: [
1385
+ {
1386
+ x: 1.9943087144999998,
1387
+ y: 1.3432655295000002
1388
+ },
1389
+ {
1390
+ x: 2.2269582145,
1391
+ y: 1.3449695295000001
1392
+ }
1393
+ ],
1394
+ color: "primary",
1395
+ fill: false
1396
+ }
1397
+ },
1398
+ texts: {
1399
+ bottom1: {
1400
+ type: "text",
1401
+ text: "{VAL}",
1402
+ x: 1.8,
1403
+ y: 1.8674276295000003
1404
+ },
1405
+ right1: {
1406
+ type: "text",
1407
+ text: "{REF}",
1408
+ x: 1.8,
1409
+ y: 1.177447295
1410
+ }
1411
+ },
1412
+ refblocks: {
1413
+ right1: {
1414
+ x: 2.2278680145,
1415
+ y: 1.1297132295
1416
+ },
1417
+ right2: {
1418
+ x: 1.5977076145000002,
1419
+ y: 1.4920988295000002
1420
+ },
1421
+ right3: {
1422
+ x: 2.2278617145000004,
1423
+ y: 1.9544573295000003
1424
+ }
1425
+ },
1426
+ bounds: {
1427
+ minX: 1.5810976555000003,
1428
+ maxX: 2.3461148445,
1429
+ minY: 1.0757447295,
1430
+ maxY: 1.9710672885000002,
1431
+ width: 1,
1432
+ height: 1,
1433
+ centerX: 1.9636062500000002,
1434
+ centerY: 1.5234060090000001
1435
+ },
1436
+ circles: {
1437
+ "path1-0": {
1438
+ type: "circle",
1439
+ x: 2.0463372145000003,
1440
+ y: 1.5256545295000001,
1441
+ radius: 0.29977763,
1442
+ color: "primary",
1443
+ fill: false
1444
+ }
1445
+ }
1446
+ };
1447
+
1448
+ // symbols/darlington_pair_transistor_horz.ts
1449
+ var { paths: paths8, texts: texts9, bounds: bounds8, refblocks: refblocks8, circles: circles6 } = darlington_pair_transistor_default;
1450
+ var darlington_pair_transistor_horz_default = defineSymbol({
1451
+ primitives: [
1452
+ ...Object.values(paths8),
1453
+ ...Object.values(circles6),
1454
+ { ...texts9.bottom1, anchor: "middle_top" },
1455
+ { ...texts9.right1, anchor: "middle_bottom" }
1456
+ ],
1457
+ ports: [
1458
+ { ...refblocks8.right1, labels: ["3"] },
1459
+ // TODO add more "standard" labels
1460
+ { ...refblocks8.right2, labels: ["1"] },
1461
+ // TODO add more "standard" labels
1462
+ { ...refblocks8.right3, labels: ["2"] }
1463
+ // TODO add more "standard" labels
1464
+ ],
1465
+ size: { width: bounds8.width, height: bounds8.height },
1466
+ center: { x: bounds8.centerX, y: bounds8.centerY }
1467
+ });
1468
+
1469
+ // symbols/darlington_pair_transistor_vert.ts
1470
+ var darlington_pair_transistor_vert_default = rotateSymbol(darlington_pair_transistor_horz_default);
1471
+
1060
1472
  // assets/generated/dc_ammeter.json
1061
1473
  var dc_ammeter_default = {
1062
1474
  paths: {
@@ -1159,11 +1571,11 @@ var dc_ammeter_default = {
1159
1571
  };
1160
1572
 
1161
1573
  // symbols/dc_ammeter_horz.ts
1162
- var { paths: paths7, texts: texts8, bounds: bounds7, refblocks: refblocks7, circles: circles5 } = dc_ammeter_default;
1574
+ var { paths: paths9, texts: texts10, bounds: bounds9, refblocks: refblocks9, circles: circles7 } = dc_ammeter_default;
1163
1575
  var dc_ammeter_horz_default = defineSymbol({
1164
1576
  primitives: [
1165
- ...Object.values(paths7),
1166
- ...Object.values(circles5),
1577
+ ...Object.values(paths9),
1578
+ ...Object.values(circles7),
1167
1579
  {
1168
1580
  type: "text",
1169
1581
  text: "{REF}",
@@ -1178,16 +1590,16 @@ var dc_ammeter_horz_default = defineSymbol({
1178
1590
  y: 0.35,
1179
1591
  anchor: "middle_top"
1180
1592
  },
1181
- { ...texts8.left1, anchor: "center", fontSize: 0.3 }
1593
+ { ...texts10.left1, anchor: "center", fontSize: 0.3 }
1182
1594
  ],
1183
1595
  ports: [
1184
- { ...refblocks7.left1, labels: ["1"] },
1596
+ { ...refblocks9.left1, labels: ["1"] },
1185
1597
  // TODO add more "standard" labels
1186
- { ...refblocks7.right1, labels: ["2"] }
1598
+ { ...refblocks9.right1, labels: ["2"] }
1187
1599
  // TODO add more "standard" labels
1188
1600
  ],
1189
- size: { width: bounds7.width, height: bounds7.height },
1190
- center: { x: bounds7.centerX, y: bounds7.centerY }
1601
+ size: { width: bounds9.width, height: bounds9.height },
1602
+ center: { x: bounds9.centerX, y: bounds9.centerY }
1191
1603
  });
1192
1604
 
1193
1605
  // symbols/dc_ammeter_vert.ts
@@ -1333,11 +1745,11 @@ var dc_voltmeter_default = {
1333
1745
  };
1334
1746
 
1335
1747
  // symbols/dc_voltmeter_horz.ts
1336
- var { paths: paths8, texts: texts9, bounds: bounds8, refblocks: refblocks8, circles: circles6 } = dc_voltmeter_default;
1748
+ var { paths: paths10, texts: texts11, bounds: bounds10, refblocks: refblocks10, circles: circles8 } = dc_voltmeter_default;
1337
1749
  var dc_voltmeter_horz_default = defineSymbol({
1338
1750
  primitives: [
1339
- ...Object.values(paths8),
1340
- ...Object.values(circles6),
1751
+ ...Object.values(paths10),
1752
+ ...Object.values(circles8),
1341
1753
  {
1342
1754
  type: "text",
1343
1755
  text: "{REF}",
@@ -1354,13 +1766,13 @@ var dc_voltmeter_horz_default = defineSymbol({
1354
1766
  }
1355
1767
  ],
1356
1768
  ports: [
1357
- { ...refblocks8.left1, labels: ["1"] },
1769
+ { ...refblocks10.left1, labels: ["1"] },
1358
1770
  // TODO add more "standard" labels
1359
- { ...refblocks8.right1, labels: ["2"] }
1771
+ { ...refblocks10.right1, labels: ["2"] }
1360
1772
  // TODO add more "standard" labels
1361
1773
  ],
1362
- size: { width: bounds8.width, height: bounds8.height },
1363
- center: { x: bounds8.centerX, y: bounds8.centerY }
1774
+ size: { width: bounds10.width, height: bounds10.height },
1775
+ center: { x: bounds10.centerX, y: bounds10.centerY }
1364
1776
  });
1365
1777
 
1366
1778
  // symbols/dc_voltmeter_vert.ts
@@ -1534,31 +1946,31 @@ var diac_default = {
1534
1946
  };
1535
1947
 
1536
1948
  // symbols/diac_horz.ts
1537
- var { paths: paths9, texts: texts10, bounds: bounds9, refblocks: refblocks9, circles: circles7 } = diac_default;
1949
+ var { paths: paths11, texts: texts12, bounds: bounds11, refblocks: refblocks11, circles: circles9 } = diac_default;
1538
1950
  var diac_horz_default = defineSymbol({
1539
1951
  primitives: [
1540
- ...Object.values(paths9),
1541
- ...Object.values(circles7),
1542
- { ...texts10.top1, anchor: "middle_bottom" },
1543
- { ...texts10.bottom1, anchor: "middle_top" }
1952
+ ...Object.values(paths11),
1953
+ ...Object.values(circles9),
1954
+ { ...texts12.top1, anchor: "middle_bottom" },
1955
+ { ...texts12.bottom1, anchor: "middle_top" }
1544
1956
  ],
1545
1957
  ports: [
1546
- { ...refblocks9.left1, labels: ["1"] },
1958
+ { ...refblocks11.left1, labels: ["1"] },
1547
1959
  // TODO add more "standard" labels
1548
- { ...refblocks9.right1, labels: ["2"] }
1960
+ { ...refblocks11.right1, labels: ["2"] }
1549
1961
  // TODO add more "standard" labels
1550
1962
  ],
1551
- size: { width: bounds9.width, height: bounds9.height },
1552
- center: { x: bounds9.centerX, y: bounds9.centerY }
1963
+ size: { width: bounds11.width, height: bounds11.height },
1964
+ center: { x: bounds11.centerX, y: bounds11.centerY }
1553
1965
  });
1554
1966
 
1555
1967
  // symbols/diac_vert.ts
1556
1968
  var rotatedSymbol6 = rotateSymbol(diac_horz_default);
1557
- var texts11 = rotatedSymbol6.primitives.filter(
1969
+ var texts13 = rotatedSymbol6.primitives.filter(
1558
1970
  (primitive) => primitive.type === "text"
1559
1971
  );
1560
- var ref4 = texts11.find((text) => text.text === "{REF}");
1561
- var val4 = texts11.find((text) => text.text === "{VAL}");
1972
+ var ref4 = texts13.find((text) => text.text === "{REF}");
1973
+ var val4 = texts13.find((text) => text.text === "{VAL}");
1562
1974
  ref4.y = 0;
1563
1975
  val4.y = 0;
1564
1976
  var diac_vert_default = rotatedSymbol6;
@@ -1707,43 +2119,234 @@ var diode_default = {
1707
2119
  y: -0.0399206999999997
1708
2120
  },
1709
2121
  right1: {
1710
- x: 0.5191471000000001,
1711
- y: -0.03889610000000232
2122
+ x: 0.5191471000000001,
2123
+ y: -0.03889610000000232
2124
+ }
2125
+ },
2126
+ bounds: {
2127
+ minX: -0.5473055410000001,
2128
+ maxX: 0.5473055410000001,
2129
+ minY: -0.3688452999999988,
2130
+ maxY: 0.2788453000000004,
2131
+ width: 1.0946110820000001,
2132
+ height: 0.29769059999999925,
2133
+ centerX: 0,
2134
+ centerY: -0.04499999999999921
2135
+ },
2136
+ circles: {}
2137
+ };
2138
+
2139
+ // symbols/diode_horz.ts
2140
+ var { paths: paths12, texts: texts14, bounds: bounds12, refblocks: refblocks12 } = diode_default;
2141
+ var diode_horz_default = defineSymbol({
2142
+ primitives: [
2143
+ ...Object.values(paths12),
2144
+ { ...texts14.top1, anchor: "middle_bottom" },
2145
+ { ...texts14.bottom1, anchor: "middle_top" }
2146
+ ],
2147
+ ports: [
2148
+ { ...refblocks12.left1, labels: ["1"] },
2149
+ // TODO add more "standard" labels
2150
+ { ...refblocks12.right1, labels: ["2"] }
2151
+ // TODO add more "standard" labels
2152
+ ],
2153
+ size: { width: bounds12.width, height: bounds12.height },
2154
+ center: { x: bounds12.centerX, y: bounds12.centerY }
2155
+ });
2156
+
2157
+ // symbols/diode_vert.ts
2158
+ var diode_vert_default = rotateSymbol(diode_horz_default);
2159
+
2160
+ // assets/generated/dpst_switch.json
2161
+ var dpst_switch_default = {
2162
+ paths: {
2163
+ path11: {
2164
+ type: "path",
2165
+ points: [
2166
+ {
2167
+ x: -0.3622268000000006,
2168
+ y: -0.05787995000000046
2169
+ },
2170
+ {
2171
+ x: -0.1357978000000004,
2172
+ y: -0.05787995000000046
2173
+ }
2174
+ ],
2175
+ color: "primary",
2176
+ fill: false
2177
+ },
2178
+ "path11-0": {
2179
+ type: "path",
2180
+ points: [
2181
+ {
2182
+ x: -0.12009950000000069,
2183
+ y: -0.0563494500000008
2184
+ },
2185
+ {
2186
+ x: 0.10307889999999986,
2187
+ y: -0.19603885000000099
2188
+ }
2189
+ ],
2190
+ color: "primary",
2191
+ fill: false
2192
+ },
2193
+ path12: {
2194
+ type: "path",
2195
+ points: [
2196
+ {
2197
+ x: 0.12795640000000064,
2198
+ y: -0.05787995000000046
2199
+ },
2200
+ {
2201
+ x: 0.36869780000000096,
2202
+ y: -0.05787995000000046
2203
+ }
2204
+ ],
2205
+ color: "primary",
2206
+ fill: false
2207
+ },
2208
+ "path11-5": {
2209
+ type: "path",
2210
+ points: [
2211
+ {
2212
+ x: -0.3622270999999999,
2213
+ y: 0.1736642499999992
2214
+ },
2215
+ {
2216
+ x: -0.1357980999999997,
2217
+ y: 0.1736642499999992
2218
+ }
2219
+ ],
2220
+ color: "primary",
2221
+ fill: false
2222
+ },
2223
+ "path11-0-3": {
2224
+ type: "path",
2225
+ points: [
2226
+ {
2227
+ x: -0.12009979999999998,
2228
+ y: 0.17519474999999973
2229
+ },
2230
+ {
2231
+ x: 0.10307860000000058,
2232
+ y: 0.035505349999999325
2233
+ }
2234
+ ],
2235
+ color: "primary",
2236
+ fill: false
2237
+ },
2238
+ "path12-0": {
2239
+ type: "path",
2240
+ points: [
2241
+ {
2242
+ x: 0.12795610000000002,
2243
+ y: 0.1736642499999992
2244
+ },
2245
+ {
2246
+ x: 0.3686968000000006,
2247
+ y: 0.1736642499999992
2248
+ }
2249
+ ],
2250
+ color: "primary",
2251
+ fill: false
2252
+ }
2253
+ },
2254
+ texts: {
2255
+ top1: {
2256
+ type: "text",
2257
+ text: "{REF}",
2258
+ x: -0.1958158999999995,
2259
+ y: -0.39216264999999995
2260
+ },
2261
+ bottom1: {
2262
+ type: "text",
2263
+ text: "{VAL}",
2264
+ x: -0.029144200000000398,
2265
+ y: 0.40216264999999995
2266
+ }
2267
+ },
2268
+ refblocks: {
2269
+ bottom1: {
2270
+ x: -0.12356020000000001,
2271
+ y: 0.17845394999999975
2272
+ },
2273
+ bottom2: {
2274
+ x: 0.1153169000000005,
2275
+ y: 0.17845394999999975
2276
+ },
2277
+ left1: {
2278
+ x: -0.37614279999999956,
2279
+ y: -0.057027350000000254
2280
+ },
2281
+ left2: {
2282
+ x: -0.12356020000000001,
2283
+ y: -0.05309054999999985
2284
+ },
2285
+ left3: {
2286
+ x: -0.37614279999999956,
2287
+ y: 0.17451715000000023
2288
+ },
2289
+ right1: {
2290
+ x: 0.37614279999999933,
2291
+ y: -0.05802374999999982
2292
+ },
2293
+ right2: {
2294
+ x: 0.1153169000000005,
2295
+ y: -0.05309054999999985
2296
+ },
2297
+ right3: {
2298
+ x: 0.37614279999999933,
2299
+ y: 0.17352074999999978
1712
2300
  }
1713
2301
  },
1714
2302
  bounds: {
1715
- minX: -0.5473055410000001,
1716
- maxX: 0.5473055410000001,
1717
- minY: -0.3688452999999988,
1718
- maxY: 0.2788453000000004,
1719
- width: 1.0946110820000001,
1720
- height: 0.29769059999999925,
1721
- centerX: 0,
1722
- centerY: -0.04499999999999921
2303
+ minX: -0.40430124099999953,
2304
+ maxX: 0.4043012409999993,
2305
+ minY: -0.4921626499999999,
2306
+ maxY: 0.40216264999999995,
2307
+ width: 1,
2308
+ height: 1,
2309
+ centerX: -11102230246251565e-32,
2310
+ centerY: -0.044999999999999984
1723
2311
  },
1724
2312
  circles: {}
1725
2313
  };
1726
2314
 
1727
- // symbols/diode_horz.ts
1728
- var { paths: paths10, texts: texts12, bounds: bounds10, refblocks: refblocks10 } = diode_default;
1729
- var diode_horz_default = defineSymbol({
2315
+ // symbols/dpst_switch_horz.ts
2316
+ var { paths: paths13, texts: texts15, bounds: bounds13, refblocks: refblocks13, circles: circles10 } = dpst_switch_default;
2317
+ var dpst_switch_horz_default = defineSymbol({
1730
2318
  primitives: [
1731
- ...Object.values(paths10),
1732
- { ...texts12.top1, anchor: "middle_bottom" },
1733
- { ...texts12.bottom1, anchor: "middle_top" }
2319
+ ...Object.values(paths13),
2320
+ ...Object.values(circles10),
2321
+ { ...texts15.top1, anchor: "middle_bottom", x: 0 },
2322
+ { ...texts15.bottom1, anchor: "middle_top", x: 0 }
1734
2323
  ],
1735
2324
  ports: [
1736
- { ...refblocks10.left1, labels: ["1"] },
2325
+ { ...refblocks13.left1, labels: ["1", "left1"] },
1737
2326
  // TODO add more "standard" labels
1738
- { ...refblocks10.right1, labels: ["2"] }
2327
+ { ...refblocks13.left3, labels: ["3", "left3"] },
2328
+ // TODO add more "standard" labels
2329
+ { ...refblocks13.right1, labels: ["2", "right1"] },
2330
+ // TODO add more "standard" labels
2331
+ { ...refblocks13.right3, labels: ["4", "right3"] }
1739
2332
  // TODO add more "standard" labels
1740
2333
  ],
1741
- size: { width: bounds10.width, height: bounds10.height },
1742
- center: { x: bounds10.centerX, y: bounds10.centerY }
2334
+ size: { width: bounds13.width, height: bounds13.height },
2335
+ center: { x: bounds13.centerX, y: bounds13.centerY }
1743
2336
  });
1744
2337
 
1745
- // symbols/diode_vert.ts
1746
- var diode_vert_default = rotateSymbol(diode_horz_default);
2338
+ // symbols/dpst_switch_vert.ts
2339
+ var rotatedSymbol7 = rotateSymbol(dpst_switch_horz_default);
2340
+ var texts16 = rotatedSymbol7.primitives.filter((p) => p.type === "text");
2341
+ var val5 = texts16.find((t) => t.text === "{VAL}");
2342
+ val5.anchor = "middle_right";
2343
+ val5.x = -0.35;
2344
+ val5.y = 0;
2345
+ var ref5 = texts16.find((t) => t.text === "{REF}");
2346
+ ref5.anchor = "middle_left";
2347
+ ref5.x = 0.3;
2348
+ ref5.y = 0;
2349
+ var dpst_switch_vert_default = rotatedSymbol7;
1747
2350
 
1748
2351
  // assets/generated/filled_diode.json
1749
2352
  var filled_diode_default = {
@@ -1861,11 +2464,11 @@ var filled_diode_default = {
1861
2464
  };
1862
2465
 
1863
2466
  // symbols/filled_diode_horz.ts
1864
- var { paths: paths11, texts: texts13, bounds: bounds11, refblocks: refblocks11, circles: circles8 } = filled_diode_default;
2467
+ var { paths: paths14, texts: texts17, bounds: bounds14, refblocks: refblocks14, circles: circles11 } = filled_diode_default;
1865
2468
  var filled_diode_horz_default = defineSymbol({
1866
2469
  primitives: [
1867
- ...Object.values(paths11),
1868
- ...Object.values(circles8),
2470
+ ...Object.values(paths14),
2471
+ ...Object.values(circles11),
1869
2472
  {
1870
2473
  type: "text",
1871
2474
  text: "{REF}",
@@ -1882,13 +2485,13 @@ var filled_diode_horz_default = defineSymbol({
1882
2485
  }
1883
2486
  ],
1884
2487
  ports: [
1885
- { ...refblocks11.left1, labels: ["1"] },
2488
+ { ...refblocks14.left1, labels: ["1"] },
1886
2489
  // TODO add more "standard" labels
1887
- { ...refblocks11.right1, labels: ["2"] }
2490
+ { ...refblocks14.right1, labels: ["2"] }
1888
2491
  // TODO add more "standard" labels
1889
2492
  ],
1890
- size: { width: bounds11.width, height: bounds11.height },
1891
- center: { x: bounds11.centerX, y: bounds11.centerY }
2493
+ size: { width: bounds14.width, height: bounds14.height },
2494
+ center: { x: bounds14.centerX, y: bounds14.centerY }
1892
2495
  });
1893
2496
 
1894
2497
  // symbols/filled_diode_vert.ts
@@ -1982,11 +2585,11 @@ var fuse_default = {
1982
2585
  };
1983
2586
 
1984
2587
  // symbols/fuse_horz.ts
1985
- var { paths: paths12, texts: texts14, bounds: bounds12, refblocks: refblocks12 } = fuse_default;
2588
+ var { paths: paths15, texts: texts18, bounds: bounds15, refblocks: refblocks15 } = fuse_default;
1986
2589
  var fuse_horz_default = defineSymbol({
1987
2590
  primitives: [
1988
- ...Object.values(paths12),
1989
- { ...texts14.top1, anchor: "middle_bottom" },
2591
+ ...Object.values(paths15),
2592
+ { ...texts18.top1, anchor: "middle_bottom" },
1990
2593
  {
1991
2594
  type: "text",
1992
2595
  text: "{VAL}",
@@ -1996,13 +2599,13 @@ var fuse_horz_default = defineSymbol({
1996
2599
  }
1997
2600
  ],
1998
2601
  ports: [
1999
- { ...refblocks12.left1, labels: ["1"] },
2602
+ { ...refblocks15.left1, labels: ["1"] },
2000
2603
  // TODO add more "standard" labels
2001
- { ...refblocks12.right1, labels: ["2"] }
2604
+ { ...refblocks15.right1, labels: ["2"] }
2002
2605
  // TODO add more "standard" labels
2003
2606
  ],
2004
- size: { width: bounds12.width, height: bounds12.height },
2005
- center: { x: bounds12.centerX, y: bounds12.centerY }
2607
+ size: { width: bounds15.width, height: bounds15.height },
2608
+ center: { x: bounds15.centerX, y: bounds15.centerY }
2006
2609
  });
2007
2610
 
2008
2611
  // symbols/fuse_vert.ts
@@ -2126,12 +2729,12 @@ var gunn_diode_default = {
2126
2729
  };
2127
2730
 
2128
2731
  // symbols/gunn_diode_horz.ts
2129
- var { paths: paths13, texts: texts15, bounds: bounds13, refblocks: refblocks13, circles: circles9 } = gunn_diode_default;
2732
+ var { paths: paths16, texts: texts19, bounds: bounds16, refblocks: refblocks16, circles: circles12 } = gunn_diode_default;
2130
2733
  var gunn_diode_horz_default = defineSymbol({
2131
2734
  primitives: [
2132
- ...Object.values(paths13),
2133
- ...Object.values(circles9),
2134
- { ...texts15.top1, anchor: "middle_left" },
2735
+ ...Object.values(paths16),
2736
+ ...Object.values(circles12),
2737
+ { ...texts19.top1, anchor: "middle_left" },
2135
2738
  {
2136
2739
  type: "text",
2137
2740
  text: "{VAL}",
@@ -2141,25 +2744,25 @@ var gunn_diode_horz_default = defineSymbol({
2141
2744
  // { ...texts.bottom1, anchor: "middle_left" },
2142
2745
  ],
2143
2746
  ports: [
2144
- { ...refblocks13.left1, labels: ["1"] },
2747
+ { ...refblocks16.left1, labels: ["1"] },
2145
2748
  // TODO add more "standard" labels
2146
- { ...refblocks13.right1, labels: ["2"] }
2749
+ { ...refblocks16.right1, labels: ["2"] }
2147
2750
  // TODO add more "standard" labels
2148
2751
  ],
2149
- size: { width: bounds13.width, height: bounds13.height },
2150
- center: { x: bounds13.centerX, y: bounds13.centerY }
2752
+ size: { width: bounds16.width, height: bounds16.height },
2753
+ center: { x: bounds16.centerX, y: bounds16.centerY }
2151
2754
  });
2152
2755
 
2153
2756
  // symbols/gunn_diode_vert.ts
2154
- var rotatedSymbol7 = rotateSymbol(gunn_diode_horz_default);
2155
- var texts16 = rotatedSymbol7.primitives.filter((p) => p.type === "text");
2156
- var ref5 = texts16.find((t) => t.text === "{REF}");
2157
- var val5 = texts16.find((t) => t.text === "{VAL}");
2158
- ref5.x = 0.25;
2159
- ref5.y = -0.045;
2160
- val5.x = -0.55;
2161
- val5.y = 0;
2162
- var gunn_diode_vert_default = rotatedSymbol7;
2757
+ var rotatedSymbol8 = rotateSymbol(gunn_diode_horz_default);
2758
+ var texts20 = rotatedSymbol8.primitives.filter((p) => p.type === "text");
2759
+ var ref6 = texts20.find((t) => t.text === "{REF}");
2760
+ var val6 = texts20.find((t) => t.text === "{VAL}");
2761
+ ref6.x = 0.25;
2762
+ ref6.y = -0.045;
2763
+ val6.x = -0.55;
2764
+ val6.y = 0;
2765
+ var gunn_diode_vert_default = rotatedSymbol8;
2163
2766
 
2164
2767
  // assets/generated/igbt_transistor.json
2165
2768
  var igbt_transistor_default = {
@@ -2340,11 +2943,11 @@ var igbt_transistor_default = {
2340
2943
  };
2341
2944
 
2342
2945
  // symbols/igbt_transistor_horz.ts
2343
- var { paths: paths14, texts: texts17, bounds: bounds14, refblocks: refblocks14, circles: circles10 } = igbt_transistor_default;
2946
+ var { paths: paths17, texts: texts21, bounds: bounds17, refblocks: refblocks17, circles: circles13 } = igbt_transistor_default;
2344
2947
  var igbt_transistor_horz_default = defineSymbol({
2345
2948
  primitives: [
2346
- ...Object.values(paths14),
2347
- ...Object.values(circles10),
2949
+ ...Object.values(paths17),
2950
+ ...Object.values(circles13),
2348
2951
  {
2349
2952
  type: "text",
2350
2953
  text: "{REF}",
@@ -2361,30 +2964,30 @@ var igbt_transistor_horz_default = defineSymbol({
2361
2964
  }
2362
2965
  ],
2363
2966
  ports: [
2364
- { ...refblocks14.top1, labels: ["1"] },
2967
+ { ...refblocks17.top1, labels: ["1"] },
2365
2968
  // TODO add more "standard" labels
2366
- { ...refblocks14.bottom1, labels: ["2"] },
2969
+ { ...refblocks17.bottom1, labels: ["2"] },
2367
2970
  // TODO add more "standard" labels
2368
- { ...refblocks14.left1, labels: ["3"] }
2971
+ { ...refblocks17.left1, labels: ["3"] }
2369
2972
  // TODO add more "standard" labels
2370
2973
  ],
2371
- size: { width: bounds14.width, height: bounds14.height },
2372
- center: { x: bounds14.centerX + 0.06, y: bounds14.centerY }
2974
+ size: { width: bounds17.width, height: bounds17.height },
2975
+ center: { x: bounds17.centerX + 0.06, y: bounds17.centerY }
2373
2976
  });
2374
2977
 
2375
2978
  // symbols/igbt_transistor_vert.ts
2376
2979
  var rotated2 = rotateSymbol(igbt_transistor_horz_default);
2377
- var ref6 = rotated2.primitives.find(
2980
+ var ref7 = rotated2.primitives.find(
2378
2981
  (p) => p.type === "text" && p.text === "{REF}"
2379
2982
  );
2380
- var val6 = rotated2.primitives.find(
2983
+ var val7 = rotated2.primitives.find(
2381
2984
  (p) => p.type === "text" && p.text === "{VAL}"
2382
2985
  );
2383
- ref6.anchor = "middle_left";
2384
- val6.anchor = "middle_right";
2385
- ref6.x = 0.45;
2386
- ref6.y += 0.065;
2387
- val6.y += 0.065;
2986
+ ref7.anchor = "middle_left";
2987
+ val7.anchor = "middle_right";
2988
+ ref7.x = 0.45;
2989
+ ref7.y += 0.065;
2990
+ val7.y += 0.065;
2388
2991
  var igbt_transistor_vert_default = rotated2;
2389
2992
 
2390
2993
  // assets/generated/laser_diode.json
@@ -2627,31 +3230,31 @@ var laser_diode_default = {
2627
3230
  };
2628
3231
 
2629
3232
  // symbols/laser_diode_horz.ts
2630
- var { paths: paths15, texts: texts18, bounds: bounds15, refblocks: refblocks15, circles: circles11 } = laser_diode_default;
3233
+ var { paths: paths18, texts: texts22, bounds: bounds18, refblocks: refblocks18, circles: circles14 } = laser_diode_default;
2631
3234
  var laser_diode_horz_default = defineSymbol({
2632
3235
  primitives: [
2633
- ...Object.values(paths15),
2634
- ...Object.values(circles11),
2635
- { ...texts18.top1, anchor: "middle_left" },
2636
- { ...texts18.bottom1, anchor: "middle_bottom" }
3236
+ ...Object.values(paths18),
3237
+ ...Object.values(circles14),
3238
+ { ...texts22.top1, anchor: "middle_left" },
3239
+ { ...texts22.bottom1, anchor: "middle_bottom" }
2637
3240
  ],
2638
3241
  ports: [
2639
- { ...refblocks15.left1, labels: ["1"] },
3242
+ { ...refblocks18.left1, labels: ["1"] },
2640
3243
  // TODO add more "standard" labels
2641
- { ...refblocks15.right1, labels: ["2"] }
3244
+ { ...refblocks18.right1, labels: ["2"] }
2642
3245
  // TODO add more "standard" labels
2643
3246
  ],
2644
- size: { width: bounds15.width, height: bounds15.height },
2645
- center: { x: bounds15.centerX, y: bounds15.centerY }
3247
+ size: { width: bounds18.width, height: bounds18.height },
3248
+ center: { x: bounds18.centerX, y: bounds18.centerY }
2646
3249
  });
2647
3250
 
2648
3251
  // symbols/laser_diode_vert.ts
2649
- var rotatedSymbol8 = rotateSymbol(laser_diode_horz_default);
2650
- var texts19 = rotatedSymbol8.primitives.filter((p) => p.type === "text");
2651
- var ref7 = texts19.find((t) => t.text === "{VAL}");
2652
- ref7.x = -0.52;
2653
- ref7.anchor = "middle_right";
2654
- var laser_diode_vert_default = rotatedSymbol8;
3252
+ var rotatedSymbol9 = rotateSymbol(laser_diode_horz_default);
3253
+ var texts23 = rotatedSymbol9.primitives.filter((p) => p.type === "text");
3254
+ var ref8 = texts23.find((t) => t.text === "{VAL}");
3255
+ ref8.x = -0.52;
3256
+ ref8.anchor = "middle_right";
3257
+ var laser_diode_vert_default = rotatedSymbol9;
2655
3258
 
2656
3259
  // assets/generated/led.json
2657
3260
  var led_default = {
@@ -2869,35 +3472,35 @@ var led_default = {
2869
3472
  };
2870
3473
 
2871
3474
  // symbols/led_horz.ts
2872
- var { paths: paths16, texts: texts20, bounds: bounds16, refblocks: refblocks16 } = led_default;
3475
+ var { paths: paths19, texts: texts24, bounds: bounds19, refblocks: refblocks19 } = led_default;
2873
3476
  var led_horz_default = defineSymbol({
2874
3477
  primitives: [
2875
- ...Object.values(paths16),
2876
- { ...texts20.bottom1, anchor: "middle_right" },
2877
- { ...texts20.right1, anchor: "middle_left" }
3478
+ ...Object.values(paths19),
3479
+ { ...texts24.bottom1, anchor: "middle_right" },
3480
+ { ...texts24.right1, anchor: "middle_left" }
2878
3481
  ],
2879
3482
  ports: [
2880
- { ...refblocks16.left1, labels: ["1", "anode", "pos"] },
2881
- { ...refblocks16.right1, labels: ["2", "cathode", "neg"] }
3483
+ { ...refblocks19.left1, labels: ["1", "anode", "pos"] },
3484
+ { ...refblocks19.right1, labels: ["2", "cathode", "neg"] }
2882
3485
  ],
2883
- size: { width: bounds16.width, height: bounds16.height },
2884
- center: { x: bounds16.centerX, y: bounds16.centerY + 0.1 }
3486
+ size: { width: bounds19.width, height: bounds19.height },
3487
+ center: { x: bounds19.centerX, y: bounds19.centerY + 0.1 }
2885
3488
  });
2886
3489
 
2887
3490
  // symbols/led_vert.ts
2888
3491
  var rotated3 = rotateSymbol(led_horz_default);
2889
- var ref8 = rotated3.primitives.find(
3492
+ var ref9 = rotated3.primitives.find(
2890
3493
  (p) => p.type === "text" && p.text === "{REF}"
2891
3494
  );
2892
- var val7 = rotated3.primitives.find(
3495
+ var val8 = rotated3.primitives.find(
2893
3496
  (p) => p.type === "text" && p.text === "{VAL}"
2894
3497
  );
2895
- ref8.anchor = "middle_left";
2896
- val7.anchor = "middle_right";
2897
- ref8.x += 0.1;
2898
- ref8.y += 0.017;
2899
- val7.y = ref8.y;
2900
- val7.x = -0.3;
3498
+ ref9.anchor = "middle_left";
3499
+ val8.anchor = "middle_right";
3500
+ ref9.x += 0.1;
3501
+ ref9.y += 0.017;
3502
+ val8.y = ref9.y;
3503
+ val8.x = -0.3;
2901
3504
  var led_vert_default = rotated3;
2902
3505
 
2903
3506
  // assets/generated/mosfet_depletion_normally_on.json
@@ -3171,37 +3774,37 @@ var mosfet_depletion_normally_on_default = {
3171
3774
  };
3172
3775
 
3173
3776
  // symbols/mosfet_depletion_normally_on_horz.ts
3174
- var { paths: paths17, texts: texts21, bounds: bounds17, refblocks: refblocks17 } = mosfet_depletion_normally_on_default;
3777
+ var { paths: paths20, texts: texts25, bounds: bounds20, refblocks: refblocks20 } = mosfet_depletion_normally_on_default;
3175
3778
  var mosfet_depletion_normally_on_horz_default = defineSymbol({
3176
3779
  primitives: [
3177
- ...Object.values(paths17),
3178
- { ...texts21.right1, anchor: "middle_left" },
3179
- { ...texts21.right2, anchor: "middle_left" }
3780
+ ...Object.values(paths20),
3781
+ { ...texts25.right1, anchor: "middle_left" },
3782
+ { ...texts25.right2, anchor: "middle_left" }
3180
3783
  ],
3181
3784
  ports: [
3182
- { ...refblocks17.top1, labels: ["1"] },
3785
+ { ...refblocks20.top1, labels: ["1"] },
3183
3786
  // TODO add more "standard" labels
3184
- { ...refblocks17.bottom1, labels: ["2"] },
3787
+ { ...refblocks20.bottom1, labels: ["2"] },
3185
3788
  // TODO add more "standard" labels
3186
- { ...refblocks17.left1, labels: ["3"] }
3789
+ { ...refblocks20.left1, labels: ["3"] }
3187
3790
  // TODO add more "standard" labels
3188
3791
  ],
3189
- size: { width: bounds17.width + 0.4, height: bounds17.height },
3190
- center: { x: bounds17.centerX + 0.2, y: bounds17.centerY }
3792
+ size: { width: bounds20.width + 0.4, height: bounds20.height },
3793
+ center: { x: bounds20.centerX + 0.2, y: bounds20.centerY }
3191
3794
  });
3192
3795
 
3193
3796
  // symbols/mosfet_depletion_normally_on_vert.ts
3194
3797
  var rotated4 = rotateSymbol(mosfet_depletion_normally_on_horz_default);
3195
- var ref9 = rotated4.primitives.find(
3798
+ var ref10 = rotated4.primitives.find(
3196
3799
  (p) => p.type === "text" && p.text === "{REF}"
3197
3800
  );
3198
- var val8 = rotated4.primitives.find(
3801
+ var val9 = rotated4.primitives.find(
3199
3802
  (p) => p.type === "text" && p.text === "{VAL}"
3200
3803
  );
3201
- ref9.anchor = "middle_top";
3202
- val8.anchor = "middle_top";
3203
- ref9.x = val8.x;
3204
- val8.y += 0.15;
3804
+ ref10.anchor = "middle_top";
3805
+ val9.anchor = "middle_top";
3806
+ ref10.x = val9.x;
3807
+ val9.y += 0.15;
3205
3808
  var mosfet_depletion_normally_on_vert_default = rotated4;
3206
3809
 
3207
3810
  // assets/generated/mushroom_head_normally_open_momentary.json
@@ -3813,36 +4416,36 @@ var mushroom_head_normally_open_momentary_default = {
3813
4416
  };
3814
4417
 
3815
4418
  // symbols/mushroom_head_normally_open_momentary_horz.ts
3816
- var { paths: paths18, texts: texts22, bounds: bounds18, refblocks: refblocks18, circles: circles12 } = mushroom_head_normally_open_momentary_default;
4419
+ var { paths: paths21, texts: texts26, bounds: bounds21, refblocks: refblocks21, circles: circles15 } = mushroom_head_normally_open_momentary_default;
3817
4420
  var mushroom_head_normally_open_momentary_horz_default = defineSymbol({
3818
4421
  primitives: [
3819
- ...Object.values(paths18),
3820
- ...Object.values(circles12),
3821
- { ...texts22.top1, anchor: "middle_bottom", x: 0 },
3822
- { ...texts22.bottom1, anchor: "middle_top", x: 0 }
4422
+ ...Object.values(paths21),
4423
+ ...Object.values(circles15),
4424
+ { ...texts26.top1, anchor: "middle_bottom", x: 0 },
4425
+ { ...texts26.bottom1, anchor: "middle_top", x: 0 }
3823
4426
  ],
3824
4427
  ports: [
3825
- { ...refblocks18.left1, labels: ["1"] },
3826
- { ...refblocks18.right1, labels: ["2"] }
4428
+ { ...refblocks21.left1, labels: ["1"] },
4429
+ { ...refblocks21.right1, labels: ["2"] }
3827
4430
  ],
3828
- size: { width: bounds18.width, height: bounds18.height },
3829
- center: { x: bounds18.centerX + 6e-3, y: bounds18.centerY + 0.06 }
4431
+ size: { width: bounds21.width, height: bounds21.height },
4432
+ center: { x: bounds21.centerX + 6e-3, y: bounds21.centerY + 0.06 }
3830
4433
  });
3831
4434
 
3832
4435
  // symbols/mushroom_head_normally_open_momentary_vert.ts
3833
4436
  var rotated5 = rotateSymbol(mushroom_head_normally_open_momentary_horz_default);
3834
- var ref10 = rotated5.primitives.find(
4437
+ var ref11 = rotated5.primitives.find(
3835
4438
  (p) => p.type === "text" && p.text === "{REF}"
3836
4439
  );
3837
- var val9 = rotated5.primitives.find(
4440
+ var val10 = rotated5.primitives.find(
3838
4441
  (p) => p.type === "text" && p.text === "{VAL}"
3839
4442
  );
3840
- ref10.anchor = "middle_left";
3841
- val9.anchor = "middle_right";
3842
- ref10.x = ref10.x - 0.03;
3843
- ref10.y = ref10.y;
3844
- val9.x = val9.x;
3845
- val9.y = 0;
4443
+ ref11.anchor = "middle_left";
4444
+ val10.anchor = "middle_right";
4445
+ ref11.x = ref11.x - 0.03;
4446
+ ref11.y = ref11.y;
4447
+ val10.x = val10.x;
4448
+ val10.y = 0;
3846
4449
  var mushroom_head_normally_open_momentary_vert_default = rotated5;
3847
4450
 
3848
4451
  // assets/generated/n_channel_d_mosfet_transistor.json
@@ -4039,38 +4642,38 @@ var n_channel_d_mosfet_transistor_default = {
4039
4642
  };
4040
4643
 
4041
4644
  // symbols/n_channel_d_mosfet_transistor_horz.ts
4042
- var { paths: paths19, texts: texts23, bounds: bounds19, refblocks: refblocks19, circles: circles13 } = n_channel_d_mosfet_transistor_default;
4645
+ var { paths: paths22, texts: texts27, bounds: bounds22, refblocks: refblocks22, circles: circles16 } = n_channel_d_mosfet_transistor_default;
4043
4646
  var n_channel_d_mosfet_transistor_horz_default = defineSymbol({
4044
4647
  primitives: [
4045
- ...Object.values(paths19),
4046
- ...Object.values(circles13),
4047
- { ...texts23.top1, anchor: "middle_right", x: 0 },
4048
- { ...texts23.bottom1, anchor: "middle_right", x: 0 }
4648
+ ...Object.values(paths22),
4649
+ ...Object.values(circles16),
4650
+ { ...texts27.top1, anchor: "middle_right", x: 0 },
4651
+ { ...texts27.bottom1, anchor: "middle_right", x: 0 }
4049
4652
  ],
4050
4653
  ports: [
4051
- { ...refblocks19.top1, labels: ["1", "drain"] },
4654
+ { ...refblocks22.top1, labels: ["1", "drain"] },
4052
4655
  // TODO add more "standard" labels
4053
- { ...refblocks19.bottom1, labels: ["2", "source"] },
4656
+ { ...refblocks22.bottom1, labels: ["2", "source"] },
4054
4657
  // TODO add more "standard" labels
4055
- { ...refblocks19.left1, labels: ["3", "gate"] }
4658
+ { ...refblocks22.left1, labels: ["3", "gate"] }
4056
4659
  // TODO add more "standard" labels
4057
4660
  ],
4058
- size: { width: bounds19.width, height: bounds19.height },
4059
- center: { x: bounds19.centerX, y: bounds19.centerY }
4661
+ size: { width: bounds22.width, height: bounds22.height },
4662
+ center: { x: bounds22.centerX, y: bounds22.centerY }
4060
4663
  });
4061
4664
 
4062
4665
  // symbols/n_channel_d_mosfet_transistor_vert.ts
4063
- var rotatedSymbol9 = rotateSymbol(n_channel_d_mosfet_transistor_horz_default);
4064
- var texts24 = rotatedSymbol9.primitives.filter((p) => p.type === "text");
4065
- var val10 = texts24.find((t) => t.text === "{VAL}");
4066
- val10.x = -0.35;
4067
- val10.y = 0;
4068
- val10.anchor = "middle_right";
4069
- var ref11 = texts24.find((t) => t.text === "{REF}");
4070
- ref11.y = 0;
4071
- ref11.x = 0.35;
4072
- ref11.anchor = "middle_left";
4073
- var n_channel_d_mosfet_transistor_vert_default = rotatedSymbol9;
4666
+ var rotatedSymbol10 = rotateSymbol(n_channel_d_mosfet_transistor_horz_default);
4667
+ var texts28 = rotatedSymbol10.primitives.filter((p) => p.type === "text");
4668
+ var val11 = texts28.find((t) => t.text === "{VAL}");
4669
+ val11.x = -0.35;
4670
+ val11.y = 0;
4671
+ val11.anchor = "middle_right";
4672
+ var ref12 = texts28.find((t) => t.text === "{REF}");
4673
+ ref12.y = 0;
4674
+ ref12.x = 0.35;
4675
+ ref12.anchor = "middle_left";
4676
+ var n_channel_d_mosfet_transistor_vert_default = rotatedSymbol10;
4074
4677
 
4075
4678
  // assets/generated/n_channel_e_mosfet_transistor.json
4076
4679
  var n_channel_e_mosfet_transistor_default = {
@@ -4296,38 +4899,38 @@ var n_channel_e_mosfet_transistor_default = {
4296
4899
  };
4297
4900
 
4298
4901
  // symbols/n_channel_e_mosfet_transistor_horz.ts
4299
- var { paths: paths20, texts: texts25, bounds: bounds20, refblocks: refblocks20, circles: circles14 } = n_channel_e_mosfet_transistor_default;
4902
+ var { paths: paths23, texts: texts29, bounds: bounds23, refblocks: refblocks23, circles: circles17 } = n_channel_e_mosfet_transistor_default;
4300
4903
  var n_channel_e_mosfet_transistor_horz_default = defineSymbol({
4301
4904
  primitives: [
4302
- ...Object.values(paths20),
4303
- ...Object.values(circles14),
4304
- { ...texts25.top1, anchor: "middle_right", x: 0 },
4305
- { ...texts25.bottom1, anchor: "middle_right", x: 0 }
4905
+ ...Object.values(paths23),
4906
+ ...Object.values(circles17),
4907
+ { ...texts29.top1, anchor: "middle_right", x: 0 },
4908
+ { ...texts29.bottom1, anchor: "middle_right", x: 0 }
4306
4909
  ],
4307
4910
  ports: [
4308
- { ...refblocks20.top1, labels: ["1", "drain"] },
4911
+ { ...refblocks23.top1, labels: ["1", "drain"] },
4309
4912
  // TODO add more "standard" labels
4310
- { ...refblocks20.bottom1, labels: ["2", "source"] },
4913
+ { ...refblocks23.bottom1, labels: ["2", "source"] },
4311
4914
  // TODO add more "standard" labels
4312
- { ...refblocks20.left1, labels: ["3", "gate"] }
4915
+ { ...refblocks23.left1, labels: ["3", "gate"] }
4313
4916
  // TODO add more "standard" labels
4314
4917
  ],
4315
- size: { width: bounds20.width, height: bounds20.height },
4316
- center: { x: bounds20.centerX, y: bounds20.centerY }
4918
+ size: { width: bounds23.width, height: bounds23.height },
4919
+ center: { x: bounds23.centerX, y: bounds23.centerY }
4317
4920
  });
4318
4921
 
4319
4922
  // symbols/n_channel_e_mosfet_transistor_vert.ts
4320
- var rotatedSymbol10 = rotateSymbol(n_channel_e_mosfet_transistor_horz_default);
4321
- var texts26 = rotatedSymbol10.primitives.filter((p) => p.type === "text");
4322
- var val11 = texts26.find((t) => t.text === "{VAL}");
4323
- val11.x = -0.35;
4324
- val11.y = 0;
4325
- val11.anchor = "middle_right";
4326
- var ref12 = texts26.find((t) => t.text === "{REF}");
4327
- ref12.y = 0;
4328
- ref12.x = 0.35;
4329
- ref12.anchor = "middle_left";
4330
- var n_channel_e_mosfet_transistor_vert_default = rotatedSymbol10;
4923
+ var rotatedSymbol11 = rotateSymbol(n_channel_e_mosfet_transistor_horz_default);
4924
+ var texts30 = rotatedSymbol11.primitives.filter((p) => p.type === "text");
4925
+ var val12 = texts30.find((t) => t.text === "{VAL}");
4926
+ val12.x = -0.35;
4927
+ val12.y = 0;
4928
+ val12.anchor = "middle_right";
4929
+ var ref13 = texts30.find((t) => t.text === "{REF}");
4930
+ ref13.y = 0;
4931
+ ref13.x = 0.35;
4932
+ ref13.anchor = "middle_left";
4933
+ var n_channel_e_mosfet_transistor_vert_default = rotatedSymbol11;
4331
4934
 
4332
4935
  // assets/generated/njfet_transistor.json
4333
4936
  var njfet_transistor_default = {
@@ -4493,38 +5096,38 @@ var njfet_transistor_default = {
4493
5096
  };
4494
5097
 
4495
5098
  // symbols/njfet_transistor_horz.ts
4496
- var { paths: paths21, texts: texts27, bounds: bounds21, refblocks: refblocks21, circles: circles15 } = njfet_transistor_default;
5099
+ var { paths: paths24, texts: texts31, bounds: bounds24, refblocks: refblocks24, circles: circles18 } = njfet_transistor_default;
4497
5100
  var njfet_transistor_horz_default = defineSymbol({
4498
5101
  primitives: [
4499
- ...Object.values(paths21),
4500
- ...Object.values(circles15),
4501
- { ...texts27.top1, anchor: "middle_right", x: 0 },
4502
- { ...texts27.bottom1, anchor: "middle_right", x: 0 }
5102
+ ...Object.values(paths24),
5103
+ ...Object.values(circles18),
5104
+ { ...texts31.top1, anchor: "middle_right", x: 0 },
5105
+ { ...texts31.bottom1, anchor: "middle_right", x: 0 }
4503
5106
  ],
4504
5107
  ports: [
4505
- { ...refblocks21.top1, labels: ["1", "drain"] },
5108
+ { ...refblocks24.top1, labels: ["1", "drain"] },
4506
5109
  // TODO add more "standard" labels
4507
- { ...refblocks21.bottom1, labels: ["2", "source"] },
5110
+ { ...refblocks24.bottom1, labels: ["2", "source"] },
4508
5111
  // TODO add more "standard" labels
4509
- { ...refblocks21.left1, labels: ["3", "gate"] }
5112
+ { ...refblocks24.left1, labels: ["3", "gate"] }
4510
5113
  // TODO add more "standard" labels
4511
5114
  ],
4512
- size: { width: bounds21.width, height: bounds21.height },
4513
- center: { x: bounds21.centerX, y: bounds21.centerY }
5115
+ size: { width: bounds24.width, height: bounds24.height },
5116
+ center: { x: bounds24.centerX, y: bounds24.centerY }
4514
5117
  });
4515
5118
 
4516
5119
  // symbols/njfet_transistor_vert.ts
4517
- var rotatedSymbol11 = rotateSymbol(njfet_transistor_horz_default);
4518
- var texts28 = rotatedSymbol11.primitives.filter((p) => p.type === "text");
4519
- var val12 = texts28.find((t) => t.text === "{VAL}");
4520
- val12.x = -0.35;
4521
- val12.y = 0;
4522
- val12.anchor = "middle_right";
4523
- var ref13 = texts28.find((t) => t.text === "{REF}");
4524
- ref13.y = 0;
4525
- ref13.x = 0.35;
4526
- ref13.anchor = "middle_left";
4527
- var njfet_transistor_vert_default = rotatedSymbol11;
5120
+ var rotatedSymbol12 = rotateSymbol(njfet_transistor_horz_default);
5121
+ var texts32 = rotatedSymbol12.primitives.filter((p) => p.type === "text");
5122
+ var val13 = texts32.find((t) => t.text === "{VAL}");
5123
+ val13.x = -0.35;
5124
+ val13.y = 0;
5125
+ val13.anchor = "middle_right";
5126
+ var ref14 = texts32.find((t) => t.text === "{REF}");
5127
+ ref14.y = 0;
5128
+ ref14.x = 0.35;
5129
+ ref14.anchor = "middle_left";
5130
+ var njfet_transistor_vert_default = rotatedSymbol12;
4528
5131
 
4529
5132
  // assets/generated/npn_bipolar_transistor.json
4530
5133
  var npn_bipolar_transistor_default = {
@@ -4690,11 +5293,11 @@ var npn_bipolar_transistor_default = {
4690
5293
  };
4691
5294
 
4692
5295
  // symbols/npn_bipolar_transistor_horz.ts
4693
- var { paths: paths22, texts: texts29, bounds: bounds22, refblocks: refblocks22, circles: circles16 } = npn_bipolar_transistor_default;
5296
+ var { paths: paths25, texts: texts33, bounds: bounds25, refblocks: refblocks25, circles: circles19 } = npn_bipolar_transistor_default;
4694
5297
  var npn_bipolar_transistor_horz_default = defineSymbol({
4695
5298
  primitives: [
4696
- ...Object.values(paths22),
4697
- ...Object.values(circles16),
5299
+ ...Object.values(paths25),
5300
+ ...Object.values(circles19),
4698
5301
  {
4699
5302
  type: "text",
4700
5303
  text: "{REF}",
@@ -4711,20 +5314,20 @@ var npn_bipolar_transistor_horz_default = defineSymbol({
4711
5314
  }
4712
5315
  ],
4713
5316
  ports: [
4714
- { ...refblocks22.top1, labels: ["1", "collector"] },
4715
- { ...refblocks22.bottom1, labels: ["2", "emitter"] },
4716
- { ...refblocks22.left1, labels: ["3", "base"] }
5317
+ { ...refblocks25.top1, labels: ["1", "collector"] },
5318
+ { ...refblocks25.bottom1, labels: ["2", "emitter"] },
5319
+ { ...refblocks25.left1, labels: ["3", "base"] }
4717
5320
  ],
4718
- size: { width: bounds22.width, height: bounds22.height },
4719
- center: { x: bounds22.centerX, y: bounds22.centerY }
5321
+ size: { width: bounds25.width, height: bounds25.height },
5322
+ center: { x: bounds25.centerX, y: bounds25.centerY }
4720
5323
  });
4721
5324
 
4722
5325
  // symbols/npn_bipolar_transistor_vert.ts
4723
- var rotatedSymbol12 = rotateSymbol(npn_bipolar_transistor_horz_default);
4724
- var texts30 = rotatedSymbol12.primitives.filter((p) => p.type === "text");
4725
- var ref14 = texts30.find((t) => t.text === "{REF}");
4726
- ref14.anchor = "middle_left";
4727
- var npn_bipolar_transistor_vert_default = rotatedSymbol12;
5326
+ var rotatedSymbol13 = rotateSymbol(npn_bipolar_transistor_horz_default);
5327
+ var texts34 = rotatedSymbol13.primitives.filter((p) => p.type === "text");
5328
+ var ref15 = texts34.find((t) => t.text === "{REF}");
5329
+ ref15.anchor = "middle_left";
5330
+ var npn_bipolar_transistor_vert_default = rotatedSymbol13;
4728
5331
 
4729
5332
  // assets/generated/p_channel_d_mosfet_transistor.json
4730
5333
  var p_channel_d_mosfet_transistor_default = {
@@ -4920,38 +5523,38 @@ var p_channel_d_mosfet_transistor_default = {
4920
5523
  };
4921
5524
 
4922
5525
  // symbols/p_channel_d_mosfet_transistor_horz.ts
4923
- var { paths: paths23, texts: texts31, bounds: bounds23, refblocks: refblocks23, circles: circles17 } = p_channel_d_mosfet_transistor_default;
5526
+ var { paths: paths26, texts: texts35, bounds: bounds26, refblocks: refblocks26, circles: circles20 } = p_channel_d_mosfet_transistor_default;
4924
5527
  var p_channel_d_mosfet_transistor_horz_default = defineSymbol({
4925
5528
  primitives: [
4926
- ...Object.values(paths23),
4927
- ...Object.values(circles17),
4928
- { ...texts31.top1, anchor: "middle_right", x: 0 },
4929
- { ...texts31.bottom1, anchor: "middle_right", x: 0 }
5529
+ ...Object.values(paths26),
5530
+ ...Object.values(circles20),
5531
+ { ...texts35.top1, anchor: "middle_right", x: 0 },
5532
+ { ...texts35.bottom1, anchor: "middle_right", x: 0 }
4930
5533
  ],
4931
5534
  ports: [
4932
- { ...refblocks23.top1, labels: ["1", "drain"] },
5535
+ { ...refblocks26.top1, labels: ["1", "drain"] },
4933
5536
  // TODO add more "standard" labels
4934
- { ...refblocks23.bottom1, labels: ["2", "source"] },
5537
+ { ...refblocks26.bottom1, labels: ["2", "source"] },
4935
5538
  // TODO add more "standard" labels
4936
- { ...refblocks23.left1, labels: ["3", "gate"] }
5539
+ { ...refblocks26.left1, labels: ["3", "gate"] }
4937
5540
  // TODO add more "standard" labels
4938
5541
  ],
4939
- size: { width: bounds23.width, height: bounds23.height },
4940
- center: { x: bounds23.centerX, y: bounds23.centerY }
5542
+ size: { width: bounds26.width, height: bounds26.height },
5543
+ center: { x: bounds26.centerX, y: bounds26.centerY }
4941
5544
  });
4942
5545
 
4943
5546
  // symbols/p_channel_d_mosfet_transistor_vert.ts
4944
- var rotatedSymbol13 = rotateSymbol(p_channel_d_mosfet_transistor_horz_default);
4945
- var texts32 = rotatedSymbol13.primitives.filter((p) => p.type === "text");
4946
- var val13 = texts32.find((t) => t.text === "{VAL}");
4947
- val13.x = -0.35;
4948
- val13.y = 0;
4949
- val13.anchor = "middle_right";
4950
- var ref15 = texts32.find((t) => t.text === "{REF}");
4951
- ref15.y = 0;
4952
- ref15.x = 0.35;
4953
- ref15.anchor = "middle_left";
4954
- var p_channel_d_mosfet_transistor_vert_default = rotatedSymbol13;
5547
+ var rotatedSymbol14 = rotateSymbol(p_channel_d_mosfet_transistor_horz_default);
5548
+ var texts36 = rotatedSymbol14.primitives.filter((p) => p.type === "text");
5549
+ var val14 = texts36.find((t) => t.text === "{VAL}");
5550
+ val14.x = -0.35;
5551
+ val14.y = 0;
5552
+ val14.anchor = "middle_right";
5553
+ var ref16 = texts36.find((t) => t.text === "{REF}");
5554
+ ref16.y = 0;
5555
+ ref16.x = 0.35;
5556
+ ref16.anchor = "middle_left";
5557
+ var p_channel_d_mosfet_transistor_vert_default = rotatedSymbol14;
4955
5558
 
4956
5559
  // assets/generated/p_channel_e_mosfet_transistor.json
4957
5560
  var p_channel_e_mosfet_transistor_default = {
@@ -5177,38 +5780,38 @@ var p_channel_e_mosfet_transistor_default = {
5177
5780
  };
5178
5781
 
5179
5782
  // symbols/p_channel_e_mosfet_transistor_horz.ts
5180
- var { paths: paths24, texts: texts33, bounds: bounds24, refblocks: refblocks24, circles: circles18 } = p_channel_e_mosfet_transistor_default;
5783
+ var { paths: paths27, texts: texts37, bounds: bounds27, refblocks: refblocks27, circles: circles21 } = p_channel_e_mosfet_transistor_default;
5181
5784
  var p_channel_e_mosfet_transistor_horz_default = defineSymbol({
5182
5785
  primitives: [
5183
- ...Object.values(paths24),
5184
- ...Object.values(circles18),
5185
- { ...texts33.top1, anchor: "middle_right", x: 0 },
5186
- { ...texts33.bottom1, anchor: "middle_right", x: 0 }
5786
+ ...Object.values(paths27),
5787
+ ...Object.values(circles21),
5788
+ { ...texts37.top1, anchor: "middle_right", x: 0 },
5789
+ { ...texts37.bottom1, anchor: "middle_right", x: 0 }
5187
5790
  ],
5188
5791
  ports: [
5189
- { ...refblocks24.top1, labels: ["1", "drain"] },
5792
+ { ...refblocks27.top1, labels: ["1", "drain"] },
5190
5793
  // TODO add more "standard" labels
5191
- { ...refblocks24.bottom1, labels: ["2", "source"] },
5794
+ { ...refblocks27.bottom1, labels: ["2", "source"] },
5192
5795
  // TODO add more "standard" labels
5193
- { ...refblocks24.left1, labels: ["3", "gate"] }
5796
+ { ...refblocks27.left1, labels: ["3", "gate"] }
5194
5797
  // TODO add more "standard" labels
5195
5798
  ],
5196
- size: { width: bounds24.width, height: bounds24.height },
5197
- center: { x: bounds24.centerX, y: bounds24.centerY }
5799
+ size: { width: bounds27.width, height: bounds27.height },
5800
+ center: { x: bounds27.centerX, y: bounds27.centerY }
5198
5801
  });
5199
5802
 
5200
5803
  // symbols/p_channel_e_mosfet_transistor_vert.ts
5201
- var rotatedSymbol14 = rotateSymbol(p_channel_e_mosfet_transistor_horz_default);
5202
- var texts34 = rotatedSymbol14.primitives.filter((p) => p.type === "text");
5203
- var val14 = texts34.find((t) => t.text === "{VAL}");
5204
- val14.x = -0.35;
5205
- val14.y = 0;
5206
- val14.anchor = "middle_right";
5207
- var ref16 = texts34.find((t) => t.text === "{REF}");
5208
- ref16.y = 0;
5209
- ref16.x = 0.35;
5210
- ref16.anchor = "middle_left";
5211
- var p_channel_e_mosfet_transistor_vert_default = rotatedSymbol14;
5804
+ var rotatedSymbol15 = rotateSymbol(p_channel_e_mosfet_transistor_horz_default);
5805
+ var texts38 = rotatedSymbol15.primitives.filter((p) => p.type === "text");
5806
+ var val15 = texts38.find((t) => t.text === "{VAL}");
5807
+ val15.x = -0.35;
5808
+ val15.y = 0;
5809
+ val15.anchor = "middle_right";
5810
+ var ref17 = texts38.find((t) => t.text === "{REF}");
5811
+ ref17.y = 0;
5812
+ ref17.x = 0.35;
5813
+ ref17.anchor = "middle_left";
5814
+ var p_channel_e_mosfet_transistor_vert_default = rotatedSymbol15;
5212
5815
 
5213
5816
  // assets/generated/photodiode.json
5214
5817
  var photodiode_default = {
@@ -5435,11 +6038,11 @@ var photodiode_default = {
5435
6038
  };
5436
6039
 
5437
6040
  // symbols/photodiode_horz.ts
5438
- var { paths: paths25, texts: texts35, bounds: bounds25, refblocks: refblocks25, circles: circles19 } = photodiode_default;
6041
+ var { paths: paths28, texts: texts39, bounds: bounds28, refblocks: refblocks28, circles: circles22 } = photodiode_default;
5439
6042
  var photodiode_horz_default = defineSymbol({
5440
6043
  primitives: [
5441
- ...Object.values(paths25),
5442
- ...Object.values(circles19),
6044
+ ...Object.values(paths28),
6045
+ ...Object.values(circles22),
5443
6046
  {
5444
6047
  type: "text",
5445
6048
  text: "{REF}",
@@ -5456,22 +6059,22 @@ var photodiode_horz_default = defineSymbol({
5456
6059
  }
5457
6060
  ],
5458
6061
  ports: [
5459
- { ...refblocks25.left1, labels: ["1"] },
6062
+ { ...refblocks28.left1, labels: ["1"] },
5460
6063
  // TODO add more "standard" labels
5461
- { ...refblocks25.right1, labels: ["2"] }
6064
+ { ...refblocks28.right1, labels: ["2"] }
5462
6065
  // TODO add more "standard" labels
5463
6066
  ],
5464
- size: { width: bounds25.width, height: bounds25.height },
5465
- center: { x: bounds25.centerX, y: bounds25.centerY }
6067
+ size: { width: bounds28.width, height: bounds28.height },
6068
+ center: { x: bounds28.centerX, y: bounds28.centerY }
5466
6069
  });
5467
6070
 
5468
6071
  // symbols/photodiode_vert.ts
5469
- var rotatedSymbol15 = rotateSymbol(photodiode_horz_default);
5470
- var texts36 = rotatedSymbol15.primitives.filter((p) => p.type === "text");
5471
- var ref17 = texts36.find((t) => t.text === "{REF}");
5472
- ref17.y = 0;
5473
- ref17.anchor = "middle_left";
5474
- var photodiode_vert_default = rotatedSymbol15;
6072
+ var rotatedSymbol16 = rotateSymbol(photodiode_horz_default);
6073
+ var texts40 = rotatedSymbol16.primitives.filter((p) => p.type === "text");
6074
+ var ref18 = texts40.find((t) => t.text === "{REF}");
6075
+ ref18.y = 0;
6076
+ ref18.anchor = "middle_left";
6077
+ var photodiode_vert_default = rotatedSymbol16;
5475
6078
 
5476
6079
  // assets/generated/pjfet_transistor.json
5477
6080
  var pjfet_transistor_default = {
@@ -5637,38 +6240,38 @@ var pjfet_transistor_default = {
5637
6240
  };
5638
6241
 
5639
6242
  // symbols/pjfet_transistor_horz.ts
5640
- var { paths: paths26, texts: texts37, bounds: bounds26, refblocks: refblocks26, circles: circles20 } = pjfet_transistor_default;
6243
+ var { paths: paths29, texts: texts41, bounds: bounds29, refblocks: refblocks29, circles: circles23 } = pjfet_transistor_default;
5641
6244
  var pjfet_transistor_horz_default = defineSymbol({
5642
6245
  primitives: [
5643
- ...Object.values(paths26),
5644
- ...Object.values(circles20),
5645
- { ...texts37.top1, anchor: "middle_right", x: 0 },
5646
- { ...texts37.bottom1, anchor: "middle_right" }
6246
+ ...Object.values(paths29),
6247
+ ...Object.values(circles23),
6248
+ { ...texts41.top1, anchor: "middle_right", x: 0 },
6249
+ { ...texts41.bottom1, anchor: "middle_right" }
5647
6250
  ],
5648
6251
  ports: [
5649
- { ...refblocks26.top1, labels: ["1", "drain"] },
6252
+ { ...refblocks29.top1, labels: ["1", "drain"] },
5650
6253
  // TODO add more "standard" labels
5651
- { ...refblocks26.bottom1, labels: ["2", "source"] },
6254
+ { ...refblocks29.bottom1, labels: ["2", "source"] },
5652
6255
  // TODO add more "standard" labels
5653
- { ...refblocks26.left1, labels: ["3", "gate"] }
6256
+ { ...refblocks29.left1, labels: ["3", "gate"] }
5654
6257
  // TODO add more "standard" labels
5655
6258
  ],
5656
- size: { width: bounds26.width, height: bounds26.height },
5657
- center: { x: bounds26.centerX, y: bounds26.centerY }
6259
+ size: { width: bounds29.width, height: bounds29.height },
6260
+ center: { x: bounds29.centerX, y: bounds29.centerY }
5658
6261
  });
5659
6262
 
5660
6263
  // symbols/pjfet_transistor_vert.ts
5661
- var rotatedSymbol16 = rotateSymbol(pjfet_transistor_horz_default);
5662
- var texts38 = rotatedSymbol16.primitives.filter((p) => p.type === "text");
5663
- var val15 = texts38.find((t) => t.text === "{VAL}");
5664
- val15.x = -0.35;
5665
- val15.y = 0;
5666
- val15.anchor = "middle_right";
5667
- var ref18 = texts38.find((t) => t.text === "{REF}");
5668
- ref18.y = 0;
5669
- ref18.x = 0.35;
5670
- ref18.anchor = "middle_left";
5671
- var pjfet_transistor_vert_default = rotatedSymbol16;
6264
+ var rotatedSymbol17 = rotateSymbol(pjfet_transistor_horz_default);
6265
+ var texts42 = rotatedSymbol17.primitives.filter((p) => p.type === "text");
6266
+ var val16 = texts42.find((t) => t.text === "{VAL}");
6267
+ val16.x = -0.35;
6268
+ val16.y = 0;
6269
+ val16.anchor = "middle_right";
6270
+ var ref19 = texts42.find((t) => t.text === "{REF}");
6271
+ ref19.y = 0;
6272
+ ref19.x = 0.35;
6273
+ ref19.anchor = "middle_left";
6274
+ var pjfet_transistor_vert_default = rotatedSymbol17;
5672
6275
 
5673
6276
  // assets/generated/pnp_bipolar_transistor.json
5674
6277
  var pnp_bipolar_transistor_default = {
@@ -5834,11 +6437,11 @@ var pnp_bipolar_transistor_default = {
5834
6437
  };
5835
6438
 
5836
6439
  // symbols/pnp_bipolar_transistor_horz.ts
5837
- var { paths: paths27, texts: texts39, bounds: bounds27, refblocks: refblocks27, circles: circles21 } = pnp_bipolar_transistor_default;
6440
+ var { paths: paths30, texts: texts43, bounds: bounds30, refblocks: refblocks30, circles: circles24 } = pnp_bipolar_transistor_default;
5838
6441
  var pnp_bipolar_transistor_horz_default = defineSymbol({
5839
6442
  primitives: [
5840
- ...Object.values(paths27),
5841
- ...Object.values(circles21),
6443
+ ...Object.values(paths30),
6444
+ ...Object.values(circles24),
5842
6445
  {
5843
6446
  type: "text",
5844
6447
  text: "{REF}",
@@ -5855,20 +6458,20 @@ var pnp_bipolar_transistor_horz_default = defineSymbol({
5855
6458
  }
5856
6459
  ],
5857
6460
  ports: [
5858
- { ...refblocks27.top1, labels: ["1", "collector"] },
5859
- { ...refblocks27.bottom1, labels: ["2", "emitter"] },
5860
- { ...refblocks27.left1, labels: ["3", "base"] }
6461
+ { ...refblocks30.top1, labels: ["1", "collector"] },
6462
+ { ...refblocks30.bottom1, labels: ["2", "emitter"] },
6463
+ { ...refblocks30.left1, labels: ["3", "base"] }
5861
6464
  ],
5862
- size: { width: bounds27.width, height: bounds27.height },
5863
- center: { x: bounds27.centerX, y: bounds27.centerY }
6465
+ size: { width: bounds30.width, height: bounds30.height },
6466
+ center: { x: bounds30.centerX, y: bounds30.centerY }
5864
6467
  });
5865
6468
 
5866
6469
  // symbols/pnp_bipolar_transistor_vert.ts
5867
- var rotatedSymbol17 = rotateSymbol(pnp_bipolar_transistor_horz_default);
5868
- var texts40 = rotatedSymbol17.primitives.filter((p) => p.type === "text");
5869
- var ref19 = texts40.find((t) => t.text === "{REF}");
5870
- ref19.anchor = "middle_left";
5871
- var pnp_bipolar_transistor_vert_default = rotatedSymbol17;
6470
+ var rotatedSymbol18 = rotateSymbol(pnp_bipolar_transistor_horz_default);
6471
+ var texts44 = rotatedSymbol18.primitives.filter((p) => p.type === "text");
6472
+ var ref20 = texts44.find((t) => t.text === "{REF}");
6473
+ ref20.anchor = "middle_left";
6474
+ var pnp_bipolar_transistor_vert_default = rotatedSymbol18;
5872
6475
 
5873
6476
  // assets/generated/potentiometer.json
5874
6477
  var potentiometer_default = {
@@ -5985,21 +6588,21 @@ var potentiometer_default = {
5985
6588
  };
5986
6589
 
5987
6590
  // symbols/potentiometer_horz.ts
5988
- var { paths: paths28, texts: texts41, bounds: bounds28, refblocks: refblocks28 } = potentiometer_default;
6591
+ var { paths: paths31, texts: texts45, bounds: bounds31, refblocks: refblocks31 } = potentiometer_default;
5989
6592
  var potentiometer_horz_default = defineSymbol({
5990
6593
  primitives: [
5991
- ...Object.values(paths28),
5992
- { ...texts41.bottom1, y: 0.35, anchor: "middle_top" },
5993
- { ...texts41.top1, anchor: "middle_left" }
6594
+ ...Object.values(paths31),
6595
+ { ...texts45.bottom1, y: 0.35, anchor: "middle_top" },
6596
+ { ...texts45.top1, anchor: "middle_left" }
5994
6597
  ],
5995
6598
  ports: [
5996
- { ...refblocks28.left1, labels: ["1"] },
6599
+ { ...refblocks31.left1, labels: ["1"] },
5997
6600
  // TODO add more "standard" labels
5998
- { ...refblocks28.right1, labels: ["2"] }
6601
+ { ...refblocks31.right1, labels: ["2"] }
5999
6602
  // TODO add more "standard" labels
6000
6603
  ],
6001
- size: { width: bounds28.width + 0.05, height: bounds28.height },
6002
- center: { x: bounds28.centerX, y: bounds28.centerY }
6604
+ size: { width: bounds31.width + 0.05, height: bounds31.height },
6605
+ center: { x: bounds31.centerX, y: bounds31.centerY }
6003
6606
  });
6004
6607
 
6005
6608
  // symbols/potentiometer_vert.ts
@@ -6162,21 +6765,21 @@ var potentiometer2_default = {
6162
6765
  };
6163
6766
 
6164
6767
  // symbols/potentiometer2_horz.ts
6165
- var { paths: paths29, texts: texts42, bounds: bounds29, refblocks: refblocks29 } = potentiometer2_default;
6768
+ var { paths: paths32, texts: texts46, bounds: bounds32, refblocks: refblocks32 } = potentiometer2_default;
6166
6769
  var potentiometer2_horz_default = defineSymbol({
6167
6770
  primitives: [
6168
- ...Object.values(paths29),
6169
- { ...texts42.bottom1, anchor: "middle_right" },
6170
- { ...texts42.top1, anchor: "middle_left" }
6771
+ ...Object.values(paths32),
6772
+ { ...texts46.bottom1, anchor: "middle_right" },
6773
+ { ...texts46.top1, anchor: "middle_left" }
6171
6774
  ],
6172
6775
  ports: [
6173
- { ...refblocks29.left1, labels: ["1"] },
6776
+ { ...refblocks32.left1, labels: ["1"] },
6174
6777
  // TODO add more "standard" labels
6175
- { ...refblocks29.right1, labels: ["2"] }
6778
+ { ...refblocks32.right1, labels: ["2"] }
6176
6779
  // TODO add more "standard" labels
6177
6780
  ],
6178
- size: { width: bounds29.width, height: bounds29.height },
6179
- center: { x: bounds29.centerX, y: bounds29.centerY }
6781
+ size: { width: bounds32.width, height: bounds32.height },
6782
+ center: { x: bounds32.centerX, y: bounds32.centerY }
6180
6783
  });
6181
6784
 
6182
6785
  // symbols/potentiometer2_vert.ts
@@ -6269,11 +6872,11 @@ var power_factor_meter_default = {
6269
6872
  };
6270
6873
 
6271
6874
  // symbols/power_factor_meter_horz.ts
6272
- var { paths: paths30, texts: texts43, bounds: bounds30, refblocks: refblocks30, circles: circles22 } = power_factor_meter_default;
6875
+ var { paths: paths33, texts: texts47, bounds: bounds33, refblocks: refblocks33, circles: circles25 } = power_factor_meter_default;
6273
6876
  var power_factor_meter_horz_default = defineSymbol({
6274
6877
  primitives: [
6275
- ...Object.values(paths30),
6276
- ...Object.values(circles22),
6878
+ ...Object.values(paths33),
6879
+ ...Object.values(circles25),
6277
6880
  // { ...texts.top1, anchor: "middle_left" },
6278
6881
  {
6279
6882
  type: "text",
@@ -6300,28 +6903,28 @@ var power_factor_meter_horz_default = defineSymbol({
6300
6903
  }
6301
6904
  ],
6302
6905
  ports: [
6303
- { ...refblocks30.left1, labels: ["1"] },
6906
+ { ...refblocks33.left1, labels: ["1"] },
6304
6907
  // TODO add more "standard" labels
6305
- { ...refblocks30.right1, labels: ["2"] }
6908
+ { ...refblocks33.right1, labels: ["2"] }
6306
6909
  // TODO add more "standard" labels
6307
6910
  ],
6308
- size: { width: bounds30.width, height: bounds30.height },
6309
- center: { x: bounds30.centerX, y: bounds30.centerY }
6911
+ size: { width: bounds33.width, height: bounds33.height },
6912
+ center: { x: bounds33.centerX, y: bounds33.centerY }
6310
6913
  });
6311
6914
 
6312
6915
  // symbols/power_factor_meter_vert.ts
6313
- var rotatedSymbol18 = rotateSymbol(power_factor_meter_horz_default);
6314
- var texts44 = rotatedSymbol18.primitives.filter((p) => p.type === "text");
6315
- var ref20 = texts44.find((t) => t.text === "{REF}");
6316
- var val16 = texts44.find((t) => t.text === "{VAL}");
6317
- var text_cos = texts44.find((t) => t.text === "COS \u03C6");
6318
- ref20.x = 0.35;
6319
- ref20.y = 0;
6320
- val16.x = -0.6;
6321
- val16.y = 0;
6916
+ var rotatedSymbol19 = rotateSymbol(power_factor_meter_horz_default);
6917
+ var texts48 = rotatedSymbol19.primitives.filter((p) => p.type === "text");
6918
+ var ref21 = texts48.find((t) => t.text === "{REF}");
6919
+ var val17 = texts48.find((t) => t.text === "{VAL}");
6920
+ var text_cos = texts48.find((t) => t.text === "COS \u03C6");
6921
+ ref21.x = 0.35;
6922
+ ref21.y = 0;
6923
+ val17.x = -0.6;
6924
+ val17.y = 0;
6322
6925
  text_cos.x = -0.1;
6323
6926
  text_cos.y = 0;
6324
- var power_factor_meter_vert_default = rotatedSymbol18;
6927
+ var power_factor_meter_vert_default = rotatedSymbol19;
6325
6928
 
6326
6929
  // assets/generated/push_button_normally_closed_momentary.json
6327
6930
  var push_button_normally_closed_momentary_default = {
@@ -6425,37 +7028,37 @@ var push_button_normally_closed_momentary_default = {
6425
7028
  };
6426
7029
 
6427
7030
  // symbols/push_button_normally_closed_momentary_horz.ts
6428
- var { paths: paths31, texts: texts45, bounds: bounds31, refblocks: refblocks31 } = push_button_normally_closed_momentary_default;
7031
+ var { paths: paths34, texts: texts49, bounds: bounds34, refblocks: refblocks34 } = push_button_normally_closed_momentary_default;
6429
7032
  var push_button_normally_closed_momentary_horz_default = defineSymbol({
6430
7033
  primitives: [
6431
- ...Object.values(paths31),
6432
- { ...texts45.top1, anchor: "middle_bottom" },
6433
- { ...texts45.bottom1, anchor: "middle_top" }
7034
+ ...Object.values(paths34),
7035
+ { ...texts49.top1, anchor: "middle_bottom" },
7036
+ { ...texts49.bottom1, anchor: "middle_top" }
6434
7037
  ],
6435
7038
  ports: [
6436
- { ...refblocks31.left1, labels: ["1"] },
7039
+ { ...refblocks34.left1, labels: ["1"] },
6437
7040
  // TODO add more "standard" labels
6438
- { ...refblocks31.right1, labels: ["2"] }
7041
+ { ...refblocks34.right1, labels: ["2"] }
6439
7042
  // TODO add more "standard" labels
6440
7043
  ],
6441
- size: { width: bounds31.width, height: bounds31.height },
6442
- center: { x: bounds31.centerX, y: bounds31.centerY }
7044
+ size: { width: bounds34.width, height: bounds34.height },
7045
+ center: { x: bounds34.centerX, y: bounds34.centerY }
6443
7046
  });
6444
7047
 
6445
7048
  // symbols/push_button_normally_closed_momentary_vert.ts
6446
7049
  var rotated7 = rotateSymbol(push_button_normally_closed_momentary_horz_default);
6447
- var ref21 = rotated7.primitives.find(
7050
+ var ref22 = rotated7.primitives.find(
6448
7051
  (p) => p.type === "text" && p.text === "{REF}"
6449
7052
  );
6450
- var val17 = rotated7.primitives.find(
7053
+ var val18 = rotated7.primitives.find(
6451
7054
  (p) => p.type === "text" && p.text === "{VAL}"
6452
7055
  );
6453
- ref21.anchor = "middle_left";
6454
- val17.anchor = "middle_right";
6455
- ref21.x = ref21.x - 0.03;
6456
- ref21.y = ref21.y;
6457
- val17.x = val17.x;
6458
- val17.y = 0;
7056
+ ref22.anchor = "middle_left";
7057
+ val18.anchor = "middle_right";
7058
+ ref22.x = ref22.x - 0.03;
7059
+ ref22.y = ref22.y;
7060
+ val18.x = val18.x;
7061
+ val18.y = 0;
6459
7062
  var push_button_normally_closed_momentary_vert_default = rotated7;
6460
7063
 
6461
7064
  // assets/generated/push_button_normally_open_momentary.json
@@ -6560,37 +7163,37 @@ var push_button_normally_open_momentary_default = {
6560
7163
  };
6561
7164
 
6562
7165
  // symbols/push_button_normally_open_momentary_horz.ts
6563
- var { paths: paths32, texts: texts46, bounds: bounds32, refblocks: refblocks32 } = push_button_normally_open_momentary_default;
7166
+ var { paths: paths35, texts: texts50, bounds: bounds35, refblocks: refblocks35 } = push_button_normally_open_momentary_default;
6564
7167
  var push_button_normally_open_momentary_horz_default = defineSymbol({
6565
7168
  primitives: [
6566
- ...Object.values(paths32),
6567
- { ...texts46.top1, anchor: "middle_bottom" },
6568
- { ...texts46.bottom1, anchor: "middle_top" }
7169
+ ...Object.values(paths35),
7170
+ { ...texts50.top1, anchor: "middle_bottom" },
7171
+ { ...texts50.bottom1, anchor: "middle_top" }
6569
7172
  ],
6570
7173
  ports: [
6571
- { ...refblocks32.left1, labels: ["1"] },
7174
+ { ...refblocks35.left1, labels: ["1"] },
6572
7175
  // TODO add more "standard" labels
6573
- { ...refblocks32.right1, labels: ["2"] }
7176
+ { ...refblocks35.right1, labels: ["2"] }
6574
7177
  // TODO add more "standard" labels
6575
7178
  ],
6576
- size: { width: bounds32.width, height: bounds32.height },
6577
- center: { x: bounds32.centerX, y: bounds32.centerY }
7179
+ size: { width: bounds35.width, height: bounds35.height },
7180
+ center: { x: bounds35.centerX, y: bounds35.centerY }
6578
7181
  });
6579
7182
 
6580
7183
  // symbols/push_button_normally_open_momentary_vert.ts
6581
7184
  var rotated8 = rotateSymbol(push_button_normally_open_momentary_horz_default);
6582
- var ref22 = rotated8.primitives.find(
7185
+ var ref23 = rotated8.primitives.find(
6583
7186
  (p) => p.type === "text" && p.text === "{REF}"
6584
7187
  );
6585
- var val18 = rotated8.primitives.find(
7188
+ var val19 = rotated8.primitives.find(
6586
7189
  (p) => p.type === "text" && p.text === "{VAL}"
6587
7190
  );
6588
- ref22.anchor = "middle_left";
6589
- val18.anchor = "middle_right";
6590
- ref22.x = ref22.x + 0.1;
6591
- ref22.y = ref22.y;
6592
- val18.x = val18.x;
6593
- val18.y = 0;
7191
+ ref23.anchor = "middle_left";
7192
+ val19.anchor = "middle_right";
7193
+ ref23.x = ref23.x + 0.1;
7194
+ ref23.y = ref23.y;
7195
+ val19.x = val19.x;
7196
+ val19.y = 0;
6594
7197
  var push_button_normally_open_momentary_vert_default = rotated8;
6595
7198
 
6596
7199
  // assets/generated/resonator.json
@@ -6939,11 +7542,11 @@ var resonator_default = {
6939
7542
  };
6940
7543
 
6941
7544
  // symbols/resonator_horz.ts
6942
- var { paths: paths33, texts: texts47, bounds: bounds33, refblocks: refblocks33, circles: circles23 } = resonator_default;
7545
+ var { paths: paths36, texts: texts51, bounds: bounds36, refblocks: refblocks36, circles: circles26 } = resonator_default;
6943
7546
  var resonator_horz_default = defineSymbol({
6944
7547
  primitives: [
6945
- ...Object.values(paths33),
6946
- ...Object.values(circles23),
7548
+ ...Object.values(paths36),
7549
+ ...Object.values(circles26),
6947
7550
  // { ...texts.top1, anchor: "middle_left" },
6948
7551
  // { ...texts.bottom1, anchor: "middle_left" },
6949
7552
  {
@@ -6962,15 +7565,15 @@ var resonator_horz_default = defineSymbol({
6962
7565
  }
6963
7566
  ],
6964
7567
  ports: [
6965
- { ...refblocks33.left1, labels: ["1"] },
7568
+ { ...refblocks36.left1, labels: ["1"] },
6966
7569
  // TODO add more "standard" labels
6967
- { ...refblocks33.right1, labels: ["2"] },
7570
+ { ...refblocks36.right1, labels: ["2"] },
6968
7571
  // TODO add more "standard" labels
6969
- { ...refblocks33.right2, labels: ["3"] }
7572
+ { ...refblocks36.right2, labels: ["3"] }
6970
7573
  // TODO add more "standard" labels
6971
7574
  ],
6972
- size: { width: bounds33.width, height: bounds33.height },
6973
- center: { x: bounds33.centerX, y: bounds33.centerY }
7575
+ size: { width: bounds36.width, height: bounds36.height },
7576
+ center: { x: bounds36.centerX, y: bounds36.centerY }
6974
7577
  });
6975
7578
 
6976
7579
  // symbols/resonator_vert.ts
@@ -7168,34 +7771,34 @@ var schottky_diode_default = {
7168
7771
  };
7169
7772
 
7170
7773
  // symbols/schottky_diode_horz.ts
7171
- var { paths: paths34, texts: texts48, bounds: bounds34, refblocks: refblocks34, circles: circles24 } = schottky_diode_default;
7774
+ var { paths: paths37, texts: texts52, bounds: bounds37, refblocks: refblocks37, circles: circles27 } = schottky_diode_default;
7172
7775
  var schottky_diode_horz_default = defineSymbol({
7173
7776
  primitives: [
7174
- ...Object.values(paths34),
7175
- ...Object.values(circles24),
7176
- { ...texts48.top1, anchor: "middle_bottom" },
7177
- { ...texts48.bottom1, anchor: "middle_top" }
7777
+ ...Object.values(paths37),
7778
+ ...Object.values(circles27),
7779
+ { ...texts52.top1, anchor: "middle_bottom" },
7780
+ { ...texts52.bottom1, anchor: "middle_top" }
7178
7781
  ],
7179
7782
  ports: [
7180
- { ...refblocks34.left1, labels: ["1"] },
7783
+ { ...refblocks37.left1, labels: ["1"] },
7181
7784
  // TODO add more "standard" labels
7182
- { ...refblocks34.right1, labels: ["2"] }
7785
+ { ...refblocks37.right1, labels: ["2"] }
7183
7786
  // TODO add more "standard" labels
7184
7787
  ],
7185
- size: { width: bounds34.width, height: bounds34.height },
7186
- center: { x: bounds34.centerX, y: bounds34.centerY }
7788
+ size: { width: bounds37.width, height: bounds37.height },
7789
+ center: { x: bounds37.centerX, y: bounds37.centerY }
7187
7790
  });
7188
7791
 
7189
7792
  // symbols/schottky_diode_vert.ts
7190
7793
  var rotated9 = rotateSymbol(schottky_diode_horz_default);
7191
- var ref23 = rotated9.primitives.find(
7794
+ var ref24 = rotated9.primitives.find(
7192
7795
  (p) => p.type === "text" && p.text === "{REF}"
7193
7796
  );
7194
- var val19 = rotated9.primitives.find(
7797
+ var val20 = rotated9.primitives.find(
7195
7798
  (p) => p.type === "text" && p.text === "{VAL}"
7196
7799
  );
7197
- ref23.anchor = "middle_left";
7198
- val19.anchor = "middle_right";
7800
+ ref24.anchor = "middle_left";
7801
+ val20.anchor = "middle_right";
7199
7802
  var schottky_diode_vert_default = rotated9;
7200
7803
 
7201
7804
  // assets/generated/silicon_controlled_rectifier.json
@@ -7342,35 +7945,35 @@ var silicon_controlled_rectifier_default = {
7342
7945
  };
7343
7946
 
7344
7947
  // symbols/silicon_controlled_rectifier_horz.ts
7345
- var { paths: paths35, texts: texts49, bounds: bounds35, refblocks: refblocks35, circles: circles25 } = silicon_controlled_rectifier_default;
7948
+ var { paths: paths38, texts: texts53, bounds: bounds38, refblocks: refblocks38, circles: circles28 } = silicon_controlled_rectifier_default;
7346
7949
  var silicon_controlled_rectifier_horz_default = defineSymbol({
7347
7950
  primitives: [
7348
- ...Object.values(paths35),
7349
- ...Object.values(circles25),
7350
- { ...texts49.top1, anchor: "middle_left" },
7351
- { ...texts49.bottom1, anchor: "middle_top" }
7951
+ ...Object.values(paths38),
7952
+ ...Object.values(circles28),
7953
+ { ...texts53.top1, anchor: "middle_left" },
7954
+ { ...texts53.bottom1, anchor: "middle_top" }
7352
7955
  ],
7353
7956
  ports: [
7354
- { ...refblocks35.left1, labels: ["1"] },
7957
+ { ...refblocks38.left1, labels: ["1"] },
7355
7958
  // TODO add more "standard" labels
7356
- { ...refblocks35.right1, labels: ["2"] },
7959
+ { ...refblocks38.right1, labels: ["2"] },
7357
7960
  // TODO add more "standard" labels
7358
- { ...refblocks35.bottom1, labels: ["3"] }
7961
+ { ...refblocks38.bottom1, labels: ["3"] }
7359
7962
  // TODO add more "standard" labels
7360
7963
  ],
7361
- size: { width: bounds35.width, height: bounds35.height },
7362
- center: { x: bounds35.centerX, y: bounds35.centerY }
7964
+ size: { width: bounds38.width, height: bounds38.height },
7965
+ center: { x: bounds38.centerX, y: bounds38.centerY }
7363
7966
  });
7364
7967
 
7365
7968
  // symbols/silicon_controlled_rectifier_vert.ts
7366
- var rotatedSymbol19 = rotateSymbol(silicon_controlled_rectifier_horz_default);
7367
- var texts50 = rotatedSymbol19.primitives.filter(
7969
+ var rotatedSymbol20 = rotateSymbol(silicon_controlled_rectifier_horz_default);
7970
+ var texts54 = rotatedSymbol20.primitives.filter(
7368
7971
  (primitive) => primitive.type === "text"
7369
7972
  );
7370
- var ref24 = texts50.find((text) => text.text === "{REF}");
7371
- ref24.y = 0;
7372
- ref24.anchor = "middle_left";
7373
- var silicon_controlled_rectifier_vert_default = rotatedSymbol19;
7973
+ var ref25 = texts54.find((text) => text.text === "{REF}");
7974
+ ref25.y = 0;
7975
+ ref25.anchor = "middle_left";
7976
+ var silicon_controlled_rectifier_vert_default = rotatedSymbol20;
7374
7977
 
7375
7978
  // assets/generated/SPDT_switch.json
7376
7979
  var SPDT_switch_default = {
@@ -7490,38 +8093,38 @@ var SPDT_switch_default = {
7490
8093
  };
7491
8094
 
7492
8095
  // symbols/SPDT_switch_horz.ts
7493
- var { paths: paths36, texts: texts51, bounds: bounds36, refblocks: refblocks36, circles: circles26 } = SPDT_switch_default;
8096
+ var { paths: paths39, texts: texts55, bounds: bounds39, refblocks: refblocks39, circles: circles29 } = SPDT_switch_default;
7494
8097
  var SPDT_switch_horz_default = defineSymbol({
7495
8098
  primitives: [
7496
- ...Object.values(paths36),
7497
- ...Object.values(circles26),
7498
- { ...texts51.top1, anchor: "middle_bottom", x: -0.01 },
7499
- { ...texts51.bottom1, anchor: "middle_top", x: -0.01 }
8099
+ ...Object.values(paths39),
8100
+ ...Object.values(circles29),
8101
+ { ...texts55.top1, anchor: "middle_bottom", x: -0.01 },
8102
+ { ...texts55.bottom1, anchor: "middle_top", x: -0.01 }
7500
8103
  ],
7501
8104
  ports: [
7502
- { ...refblocks36.left1, labels: ["1"] },
8105
+ { ...refblocks39.left1, labels: ["1"] },
7503
8106
  // TODO add more "standard" labels
7504
- { ...refblocks36.right1, labels: ["3"] },
8107
+ { ...refblocks39.right1, labels: ["3"] },
7505
8108
  // TODO add more "standard" labels
7506
- { ...refblocks36.right2, labels: ["2"] }
8109
+ { ...refblocks39.right2, labels: ["2"] }
7507
8110
  // TODO add more "standard" labels
7508
8111
  ],
7509
- size: { width: bounds36.width, height: bounds36.height },
7510
- center: { x: bounds36.centerX, y: bounds36.centerY }
8112
+ size: { width: bounds39.width, height: bounds39.height },
8113
+ center: { x: bounds39.centerX, y: bounds39.centerY }
7511
8114
  });
7512
8115
 
7513
8116
  // symbols/SPDT_switch_vert.ts
7514
- var rotatedSymbol20 = rotateSymbol(SPDT_switch_horz_default);
7515
- var texts52 = rotatedSymbol20.primitives.filter((p) => p.type === "text");
7516
- var val20 = texts52.find((t) => t.text === "{VAL}");
7517
- val20.anchor = "middle_right";
7518
- val20.x = -0.3;
7519
- val20.y = 0;
7520
- var ref25 = texts52.find((t) => t.text === "{REF}");
7521
- ref25.anchor = "middle_left";
7522
- ref25.x = 0.3;
7523
- ref25.y = 0;
7524
- var SPDT_switch_vert_default = rotatedSymbol20;
8117
+ var rotatedSymbol21 = rotateSymbol(SPDT_switch_horz_default);
8118
+ var texts56 = rotatedSymbol21.primitives.filter((p) => p.type === "text");
8119
+ var val21 = texts56.find((t) => t.text === "{VAL}");
8120
+ val21.anchor = "middle_right";
8121
+ val21.x = -0.3;
8122
+ val21.y = 0;
8123
+ var ref26 = texts56.find((t) => t.text === "{REF}");
8124
+ ref26.anchor = "middle_left";
8125
+ ref26.x = 0.3;
8126
+ ref26.y = 0;
8127
+ var SPDT_switch_vert_default = rotatedSymbol21;
7525
8128
 
7526
8129
  // assets/generated/SPST_switch.json
7527
8130
  var SPST_switch_default = {
@@ -7618,36 +8221,36 @@ var SPST_switch_default = {
7618
8221
  };
7619
8222
 
7620
8223
  // symbols/SPST_switch_horz.ts
7621
- var { paths: paths37, texts: texts53, bounds: bounds37, refblocks: refblocks37, circles: circles27 } = SPST_switch_default;
8224
+ var { paths: paths40, texts: texts57, bounds: bounds40, refblocks: refblocks40, circles: circles30 } = SPST_switch_default;
7622
8225
  var SPST_switch_horz_default = defineSymbol({
7623
8226
  primitives: [
7624
- ...Object.values(paths37),
7625
- ...Object.values(circles27),
7626
- { ...texts53.top1, anchor: "middle_bottom", x: 0 },
7627
- { ...texts53.bottom1, anchor: "middle_top", x: 0 }
8227
+ ...Object.values(paths40),
8228
+ ...Object.values(circles30),
8229
+ { ...texts57.top1, anchor: "middle_bottom", x: 0 },
8230
+ { ...texts57.bottom1, anchor: "middle_top", x: 0 }
7628
8231
  ],
7629
8232
  ports: [
7630
- { ...refblocks37.left1, labels: ["1"] },
8233
+ { ...refblocks40.left1, labels: ["1"] },
7631
8234
  // TODO add more "standard" labels
7632
- { ...refblocks37.right1, labels: ["2"] }
8235
+ { ...refblocks40.right1, labels: ["2"] }
7633
8236
  // TODO add more "standard" labels
7634
8237
  ],
7635
- size: { width: bounds37.width, height: bounds37.height },
7636
- center: { x: bounds37.centerX, y: bounds37.centerY }
8238
+ size: { width: bounds40.width, height: bounds40.height },
8239
+ center: { x: bounds40.centerX, y: bounds40.centerY }
7637
8240
  });
7638
8241
 
7639
8242
  // symbols/SPST_switch_vert.ts
7640
- var rotatedSymbol21 = rotateSymbol(SPST_switch_horz_default);
7641
- var texts54 = rotatedSymbol21.primitives.filter((p) => p.type === "text");
7642
- var val21 = texts54.find((t) => t.text === "{VAL}");
7643
- val21.anchor = "middle_right";
7644
- val21.x = -0.3;
7645
- val21.y = 0;
7646
- var ref26 = texts54.find((t) => t.text === "{REF}");
7647
- ref26.anchor = "middle_left";
7648
- ref26.x = 0.3;
7649
- ref26.y = 0;
7650
- var SPST_switch_vert_default = rotatedSymbol21;
8243
+ var rotatedSymbol22 = rotateSymbol(SPST_switch_horz_default);
8244
+ var texts58 = rotatedSymbol22.primitives.filter((p) => p.type === "text");
8245
+ var val22 = texts58.find((t) => t.text === "{VAL}");
8246
+ val22.anchor = "middle_right";
8247
+ val22.x = -0.3;
8248
+ val22.y = 0;
8249
+ var ref27 = texts58.find((t) => t.text === "{REF}");
8250
+ ref27.anchor = "middle_left";
8251
+ ref27.x = 0.3;
8252
+ ref27.y = 0;
8253
+ var SPST_switch_vert_default = rotatedSymbol22;
7651
8254
 
7652
8255
  // assets/generated/step_recovery_diode.json
7653
8256
  var step_recovery_diode_default = {
@@ -7811,11 +8414,11 @@ var step_recovery_diode_default = {
7811
8414
  };
7812
8415
 
7813
8416
  // symbols/step_recovery_diode_horz.ts
7814
- var { paths: paths38, texts: texts55, bounds: bounds38, refblocks: refblocks38, circles: circles28 } = step_recovery_diode_default;
8417
+ var { paths: paths41, texts: texts59, bounds: bounds41, refblocks: refblocks41, circles: circles31 } = step_recovery_diode_default;
7815
8418
  var step_recovery_diode_horz_default = defineSymbol({
7816
8419
  primitives: [
7817
- ...Object.values(paths38),
7818
- ...Object.values(circles28),
8420
+ ...Object.values(paths41),
8421
+ ...Object.values(circles31),
7819
8422
  // { ...texts.top1, anchor: "middle_left" },
7820
8423
  // { ...texts.bottom1, anchor: "middle_left" },
7821
8424
  {
@@ -7834,13 +8437,13 @@ var step_recovery_diode_horz_default = defineSymbol({
7834
8437
  }
7835
8438
  ],
7836
8439
  ports: [
7837
- { ...refblocks38.left1, labels: ["1"] },
8440
+ { ...refblocks41.left1, labels: ["1"] },
7838
8441
  // TODO add more "standard" labels
7839
- { ...refblocks38.right1, labels: ["2"] }
8442
+ { ...refblocks41.right1, labels: ["2"] }
7840
8443
  // TODO add more "standard" labels
7841
8444
  ],
7842
- size: { width: bounds38.width, height: bounds38.height },
7843
- center: { x: bounds38.centerX, y: bounds38.centerY }
8445
+ size: { width: bounds41.width, height: bounds41.height },
8446
+ center: { x: bounds41.centerX, y: bounds41.centerY }
7844
8447
  });
7845
8448
 
7846
8449
  // symbols/step_recovery_diode_vert.ts
@@ -8037,36 +8640,36 @@ var triac_default = {
8037
8640
  };
8038
8641
 
8039
8642
  // symbols/triac_horz.ts
8040
- var { paths: paths39, texts: texts56, bounds: bounds39, refblocks: refblocks39, circles: circles29 } = triac_default;
8643
+ var { paths: paths42, texts: texts60, bounds: bounds42, refblocks: refblocks42, circles: circles32 } = triac_default;
8041
8644
  var triac_horz_default = defineSymbol({
8042
8645
  primitives: [
8043
- ...Object.values(paths39),
8044
- ...Object.values(circles29),
8045
- { ...texts56.top1, anchor: "middle_left" },
8046
- { ...texts56.bottom1, anchor: "middle_top" }
8646
+ ...Object.values(paths42),
8647
+ ...Object.values(circles32),
8648
+ { ...texts60.top1, anchor: "middle_left" },
8649
+ { ...texts60.bottom1, anchor: "middle_top" }
8047
8650
  ],
8048
8651
  ports: [
8049
- { ...refblocks39.left1, labels: ["1"] },
8652
+ { ...refblocks42.left1, labels: ["1"] },
8050
8653
  // TODO add more "standard" labels
8051
- { ...refblocks39.right1, labels: ["2"] },
8654
+ { ...refblocks42.right1, labels: ["2"] },
8052
8655
  // TODO add more "standard" labels
8053
- { ...refblocks39.bottom1, labels: ["3"] }
8656
+ { ...refblocks42.bottom1, labels: ["3"] }
8054
8657
  // TODO add more "standard" labels
8055
8658
  ],
8056
- size: { width: bounds39.width, height: bounds39.height },
8057
- center: { x: bounds39.centerX, y: bounds39.centerY }
8659
+ size: { width: bounds42.width, height: bounds42.height },
8660
+ center: { x: bounds42.centerX, y: bounds42.centerY }
8058
8661
  });
8059
8662
 
8060
8663
  // symbols/triac_vert.ts
8061
- var rotatedSymbol22 = rotateSymbol(triac_horz_default);
8062
- var texts57 = rotatedSymbol22.primitives.filter(
8664
+ var rotatedSymbol23 = rotateSymbol(triac_horz_default);
8665
+ var texts61 = rotatedSymbol23.primitives.filter(
8063
8666
  (primitive) => primitive.type === "text"
8064
8667
  );
8065
- var ref27 = texts57.find((text) => text.text === "{REF}");
8066
- var val22 = texts57.find((text) => text.text === "{VAL}");
8067
- ref27.y = 0;
8068
- val22.y = 0;
8069
- var triac_vert_default = rotatedSymbol22;
8668
+ var ref28 = texts61.find((text) => text.text === "{REF}");
8669
+ var val23 = texts61.find((text) => text.text === "{VAL}");
8670
+ ref28.y = 0;
8671
+ val23.y = 0;
8672
+ var triac_vert_default = rotatedSymbol23;
8070
8673
 
8071
8674
  // assets/generated/tunnel_diode.json
8072
8675
  var tunnel_diode_default = {
@@ -8230,34 +8833,34 @@ var tunnel_diode_default = {
8230
8833
  };
8231
8834
 
8232
8835
  // symbols/tunnel_diode_horz.ts
8233
- var { paths: paths40, texts: texts58, bounds: bounds40, refblocks: refblocks40, circles: circles30 } = tunnel_diode_default;
8836
+ var { paths: paths43, texts: texts62, bounds: bounds43, refblocks: refblocks43, circles: circles33 } = tunnel_diode_default;
8234
8837
  var tunnel_diode_horz_default = defineSymbol({
8235
8838
  primitives: [
8236
- ...Object.values(paths40),
8237
- ...Object.values(circles30),
8238
- { ...texts58.top1, anchor: "middle_bottom" },
8239
- { ...texts58.bottom1, anchor: "middle_top" }
8839
+ ...Object.values(paths43),
8840
+ ...Object.values(circles33),
8841
+ { ...texts62.top1, anchor: "middle_bottom" },
8842
+ { ...texts62.bottom1, anchor: "middle_top" }
8240
8843
  ],
8241
8844
  ports: [
8242
- { ...refblocks40.left1, labels: ["1"] },
8845
+ { ...refblocks43.left1, labels: ["1"] },
8243
8846
  // TODO add more "standard" labels
8244
- { ...refblocks40.right1, labels: ["2"] }
8847
+ { ...refblocks43.right1, labels: ["2"] }
8245
8848
  // TODO add more "standard" labels
8246
8849
  ],
8247
- size: { width: bounds40.width, height: bounds40.height },
8248
- center: { x: bounds40.centerX, y: bounds40.centerY }
8850
+ size: { width: bounds43.width, height: bounds43.height },
8851
+ center: { x: bounds43.centerX, y: bounds43.centerY }
8249
8852
  });
8250
8853
 
8251
8854
  // symbols/tunnel_diode_vert.ts
8252
8855
  var rotated10 = rotateSymbol(tunnel_diode_horz_default);
8253
- var ref28 = rotated10.primitives.find(
8856
+ var ref29 = rotated10.primitives.find(
8254
8857
  (p) => p.type === "text" && p.text === "{REF}"
8255
8858
  );
8256
- var val23 = rotated10.primitives.find(
8859
+ var val24 = rotated10.primitives.find(
8257
8860
  (p) => p.type === "text" && p.text === "{VAL}"
8258
8861
  );
8259
- ref28.anchor = "middle_left";
8260
- val23.anchor = "middle_right";
8862
+ ref29.anchor = "middle_left";
8863
+ val24.anchor = "middle_right";
8261
8864
  var tunnel_diode_vert_default = rotated10;
8262
8865
 
8263
8866
  // assets/generated/unijunction_transistor.json
@@ -8428,37 +9031,37 @@ var unijunction_transistor_default = {
8428
9031
  };
8429
9032
 
8430
9033
  // symbols/unijunction_transistor_horz.ts
8431
- var { paths: paths41, texts: texts59, bounds: bounds41, refblocks: refblocks41, circles: circles31 } = unijunction_transistor_default;
9034
+ var { paths: paths44, texts: texts63, bounds: bounds44, refblocks: refblocks44, circles: circles34 } = unijunction_transistor_default;
8432
9035
  var unijunction_transistor_horz_default = defineSymbol({
8433
9036
  primitives: [
8434
- ...Object.values(paths41),
8435
- ...Object.values(circles31),
8436
- { ...texts59.top1, anchor: "middle_left" },
8437
- { ...texts59.bottom1, anchor: "middle_right" }
9037
+ ...Object.values(paths44),
9038
+ ...Object.values(circles34),
9039
+ { ...texts63.top1, anchor: "middle_left" },
9040
+ { ...texts63.bottom1, anchor: "middle_right" }
8438
9041
  ],
8439
9042
  ports: [
8440
- { ...refblocks41.top1, labels: ["1"] },
9043
+ { ...refblocks44.top1, labels: ["1"] },
8441
9044
  // TODO add more "standard" labels
8442
- { ...refblocks41.bottom1, labels: ["2"] },
9045
+ { ...refblocks44.bottom1, labels: ["2"] },
8443
9046
  // TODO add more "standard" labels
8444
- { ...refblocks41.left1, labels: ["3"] }
9047
+ { ...refblocks44.left1, labels: ["3"] }
8445
9048
  // TODO add more "standard" labels
8446
9049
  ],
8447
- size: { width: bounds41.width, height: bounds41.height },
8448
- center: { x: bounds41.centerX, y: bounds41.centerY }
9050
+ size: { width: bounds44.width, height: bounds44.height },
9051
+ center: { x: bounds44.centerX, y: bounds44.centerY }
8449
9052
  });
8450
9053
 
8451
9054
  // symbols/unijunction_transistor_vert.ts
8452
- var rotatedSymbol23 = rotateSymbol(unijunction_transistor_horz_default);
8453
- var texts60 = rotatedSymbol23.primitives.filter(
9055
+ var rotatedSymbol24 = rotateSymbol(unijunction_transistor_horz_default);
9056
+ var texts64 = rotatedSymbol24.primitives.filter(
8454
9057
  (primitive) => primitive.type === "text"
8455
9058
  );
8456
- var ref29 = texts60.find((text) => text.text === "{REF}");
8457
- ref29.y = 0.1;
8458
- var val24 = texts60.find((text) => text.text === "{VAL}");
8459
- val24.y = 0.1;
8460
- val24.x = -0.4;
8461
- var unijunction_transistor_vert_default = rotatedSymbol23;
9059
+ var ref30 = texts64.find((text) => text.text === "{REF}");
9060
+ ref30.y = 0.1;
9061
+ var val25 = texts64.find((text) => text.text === "{VAL}");
9062
+ val25.y = 0.1;
9063
+ val25.x = -0.4;
9064
+ var unijunction_transistor_vert_default = rotatedSymbol24;
8462
9065
 
8463
9066
  // assets/generated/var_meter.json
8464
9067
  var var_meter_default = {
@@ -8547,33 +9150,33 @@ var var_meter_default = {
8547
9150
  };
8548
9151
 
8549
9152
  // symbols/var_meter_horz.ts
8550
- var { paths: paths42, texts: texts61, bounds: bounds42, refblocks: refblocks42, circles: circles32 } = var_meter_default;
9153
+ var { paths: paths45, texts: texts65, bounds: bounds45, refblocks: refblocks45, circles: circles35 } = var_meter_default;
8551
9154
  var var_meter_horz_default = defineSymbol({
8552
9155
  primitives: [
8553
- ...Object.values(paths42),
8554
- ...Object.values(circles32),
9156
+ ...Object.values(paths45),
9157
+ ...Object.values(circles35),
8555
9158
  {
8556
- ...texts61.top1,
9159
+ ...texts65.top1,
8557
9160
  x: 0,
8558
9161
  y: -0.3594553499999995,
8559
9162
  anchor: "middle_bottom"
8560
9163
  },
8561
9164
  {
8562
- ...texts61.bottom1,
9165
+ ...texts65.bottom1,
8563
9166
  x: 0,
8564
9167
  y: 0.35,
8565
9168
  anchor: "middle_top"
8566
9169
  },
8567
- { ...texts61.left1, x: -0.02, y: -0.02, fontSize: 0.2, anchor: "center" }
9170
+ { ...texts65.left1, x: -0.02, y: -0.02, fontSize: 0.2, anchor: "center" }
8568
9171
  ],
8569
9172
  ports: [
8570
- { ...refblocks42.left1, labels: ["1"] },
9173
+ { ...refblocks45.left1, labels: ["1"] },
8571
9174
  // TODO add more "standard" labels
8572
- { ...refblocks42.right1, labels: ["2"] }
9175
+ { ...refblocks45.right1, labels: ["2"] }
8573
9176
  // TODO add more "standard" labels
8574
9177
  ],
8575
- size: { width: bounds42.width, height: bounds42.height },
8576
- center: { x: bounds42.centerX, y: bounds42.centerY }
9178
+ size: { width: bounds45.width, height: bounds45.height },
9179
+ center: { x: bounds45.centerX, y: bounds45.centerY }
8577
9180
  });
8578
9181
 
8579
9182
  // symbols/var_meter_vert.ts
@@ -8726,34 +9329,34 @@ var varactor_diode_default = {
8726
9329
  };
8727
9330
 
8728
9331
  // symbols/varactor_diode_horz.ts
8729
- var { paths: paths43, texts: texts62, bounds: bounds43, refblocks: refblocks43, circles: circles33 } = varactor_diode_default;
9332
+ var { paths: paths46, texts: texts66, bounds: bounds46, refblocks: refblocks46, circles: circles36 } = varactor_diode_default;
8730
9333
  var varactor_diode_horz_default = defineSymbol({
8731
9334
  primitives: [
8732
- ...Object.values(paths43),
8733
- ...Object.values(circles33),
8734
- { ...texts62.top1, anchor: "middle_bottom" },
8735
- { ...texts62.bottom1, anchor: "middle_top" }
9335
+ ...Object.values(paths46),
9336
+ ...Object.values(circles36),
9337
+ { ...texts66.top1, anchor: "middle_bottom" },
9338
+ { ...texts66.bottom1, anchor: "middle_top" }
8736
9339
  ],
8737
9340
  ports: [
8738
- { ...refblocks43.left1, labels: ["1"] },
9341
+ { ...refblocks46.left1, labels: ["1"] },
8739
9342
  // TODO add more "standard" labels
8740
- { ...refblocks43.right1, labels: ["2"] }
9343
+ { ...refblocks46.right1, labels: ["2"] }
8741
9344
  // TODO add more "standard" labels
8742
9345
  ],
8743
- size: { width: bounds43.width, height: bounds43.height },
8744
- center: { x: bounds43.centerX, y: bounds43.centerY }
9346
+ size: { width: bounds46.width, height: bounds46.height },
9347
+ center: { x: bounds46.centerX, y: bounds46.centerY }
8745
9348
  });
8746
9349
 
8747
9350
  // symbols/varactor_diode_vert.ts
8748
9351
  var rotated11 = rotateSymbol(varactor_diode_horz_default);
8749
- var ref30 = rotated11.primitives.find(
9352
+ var ref31 = rotated11.primitives.find(
8750
9353
  (p) => p.type === "text" && p.text === "{REF}"
8751
9354
  );
8752
- var val25 = rotated11.primitives.find(
9355
+ var val26 = rotated11.primitives.find(
8753
9356
  (p) => p.type === "text" && p.text === "{VAL}"
8754
9357
  );
8755
- ref30.anchor = "middle_left";
8756
- val25.anchor = "middle_right";
9358
+ ref31.anchor = "middle_left";
9359
+ val26.anchor = "middle_right";
8757
9360
  var varactor_diode_vert_default = rotated11;
8758
9361
 
8759
9362
  // assets/generated/varistor.json
@@ -8889,26 +9492,26 @@ var varistor_default = {
8889
9492
  };
8890
9493
 
8891
9494
  // symbols/varistor_horz.ts
8892
- var { paths: paths44, texts: texts63, bounds: bounds44, refblocks: refblocks44 } = varistor_default;
9495
+ var { paths: paths47, texts: texts67, bounds: bounds47, refblocks: refblocks47 } = varistor_default;
8893
9496
  var varistor_horz_default = defineSymbol({
8894
9497
  primitives: [
8895
- ...Object.values(paths44),
8896
- { ...texts63.top1, anchor: "middle_left" },
8897
- { ...texts63.bottom1, anchor: "middle_right" }
9498
+ ...Object.values(paths47),
9499
+ { ...texts67.top1, anchor: "middle_left" },
9500
+ { ...texts67.bottom1, anchor: "middle_right" }
8898
9501
  ],
8899
9502
  ports: [
8900
9503
  {
8901
- ...refblocks44.left1,
9504
+ ...refblocks47.left1,
8902
9505
  labels: ["1", "-"]
8903
9506
  },
8904
9507
  {
8905
- ...refblocks44.right1,
9508
+ ...refblocks47.right1,
8906
9509
  labels: ["2", "+"]
8907
9510
  }
8908
9511
  ],
8909
- size: { width: bounds44.width, height: bounds44.height },
9512
+ size: { width: bounds47.width, height: bounds47.height },
8910
9513
  //{ width: 1, height: 0.24 },
8911
- center: { x: bounds44.centerX, y: bounds44.centerY }
9514
+ center: { x: bounds47.centerX, y: bounds47.centerY }
8912
9515
  });
8913
9516
 
8914
9517
  // symbols/varistor_vert.ts
@@ -9014,11 +9617,11 @@ var volt_meter_default = {
9014
9617
  };
9015
9618
 
9016
9619
  // symbols/volt_meter_horz.ts
9017
- var { paths: paths45, texts: texts64, bounds: bounds45, circles: circles34, refblocks: refblocks45 } = volt_meter_default;
9620
+ var { paths: paths48, texts: texts68, bounds: bounds48, circles: circles37, refblocks: refblocks48 } = volt_meter_default;
9018
9621
  var volt_meter_horz_default = defineSymbol({
9019
9622
  primitives: [
9020
- ...Object.values(paths45),
9021
- ...Object.values(circles34),
9623
+ ...Object.values(paths48),
9624
+ ...Object.values(circles37),
9022
9625
  {
9023
9626
  type: "text",
9024
9627
  text: "{REF}",
@@ -9035,13 +9638,13 @@ var volt_meter_horz_default = defineSymbol({
9035
9638
  }
9036
9639
  ],
9037
9640
  ports: [
9038
- { ...refblocks45.left1, labels: ["1"] },
9641
+ { ...refblocks48.left1, labels: ["1"] },
9039
9642
  // TODO add more "standard" labels
9040
- { ...refblocks45.right1, labels: ["2"] }
9643
+ { ...refblocks48.right1, labels: ["2"] }
9041
9644
  // TODO add more "standard" labels
9042
9645
  ],
9043
- size: { width: bounds45.width, height: bounds45.height },
9044
- center: { x: bounds45.centerX, y: bounds45.centerY }
9646
+ size: { width: bounds48.width, height: bounds48.height },
9647
+ center: { x: bounds48.centerX, y: bounds48.centerY }
9045
9648
  });
9046
9649
 
9047
9650
  // symbols/volt_meter_vert.ts
@@ -9194,34 +9797,34 @@ var zener_diode_default = {
9194
9797
  };
9195
9798
 
9196
9799
  // symbols/zener_diode_horz.ts
9197
- var { paths: paths46, texts: texts65, bounds: bounds46, refblocks: refblocks46, circles: circles35 } = zener_diode_default;
9800
+ var { paths: paths49, texts: texts69, bounds: bounds49, refblocks: refblocks49, circles: circles38 } = zener_diode_default;
9198
9801
  var zener_diode_horz_default = defineSymbol({
9199
9802
  primitives: [
9200
- ...Object.values(paths46),
9201
- ...Object.values(circles35),
9202
- { ...texts65.top1, anchor: "middle_bottom" },
9203
- { ...texts65.bottom1, anchor: "middle_top" }
9803
+ ...Object.values(paths49),
9804
+ ...Object.values(circles38),
9805
+ { ...texts69.top1, anchor: "middle_bottom" },
9806
+ { ...texts69.bottom1, anchor: "middle_top" }
9204
9807
  ],
9205
9808
  ports: [
9206
- { ...refblocks46.left1, labels: ["1"] },
9809
+ { ...refblocks49.left1, labels: ["1"] },
9207
9810
  // TODO add more "standard" labels
9208
- { ...refblocks46.right1, labels: ["2"] }
9811
+ { ...refblocks49.right1, labels: ["2"] }
9209
9812
  // TODO add more "standard" labels
9210
9813
  ],
9211
- size: { width: bounds46.width, height: bounds46.height },
9212
- center: { x: bounds46.centerX, y: bounds46.centerY }
9814
+ size: { width: bounds49.width, height: bounds49.height },
9815
+ center: { x: bounds49.centerX, y: bounds49.centerY }
9213
9816
  });
9214
9817
 
9215
9818
  // symbols/zener_diode_vert.ts
9216
9819
  var rotated12 = rotateSymbol(zener_diode_horz_default);
9217
- var ref31 = rotated12.primitives.find(
9820
+ var ref32 = rotated12.primitives.find(
9218
9821
  (p) => p.type === "text" && p.text === "{REF}"
9219
9822
  );
9220
- var val26 = rotated12.primitives.find(
9823
+ var val27 = rotated12.primitives.find(
9221
9824
  (p) => p.type === "text" && p.text === "{VAL}"
9222
9825
  );
9223
- ref31.anchor = "middle_left";
9224
- val26.anchor = "middle_right";
9826
+ ref32.anchor = "middle_left";
9827
+ val27.anchor = "middle_right";
9225
9828
  var zener_diode_vert_default = rotated12;
9226
9829
 
9227
9830
  // generated/symbols-index.ts
@@ -9230,6 +9833,8 @@ var symbols_index_default = {
9230
9833
  "ac_voltmeter_vert": ac_voltmeter_vert_default,
9231
9834
  "avalanche_diode_horz": avalanche_diode_horz_default,
9232
9835
  "avalanche_diode_vert": avalanche_diode_vert_default,
9836
+ "battery_horz": battery_horz_default,
9837
+ "battery_vert": battery_vert_default,
9233
9838
  "boxresistor_horz": boxresistor_horz_default,
9234
9839
  "boxresistor_vert": boxresistor_vert_default,
9235
9840
  "capacitor_horz": capacitor_horz_default,
@@ -9238,6 +9843,8 @@ var symbols_index_default = {
9238
9843
  "constant_current_diode_vert": constant_current_diode_vert_default,
9239
9844
  "crystal_horz": crystal_horz_default,
9240
9845
  "crystal_vert": crystal_vert_default,
9846
+ "darlington_pair_transistor_horz": darlington_pair_transistor_horz_default,
9847
+ "darlington_pair_transistor_vert": darlington_pair_transistor_vert_default,
9241
9848
  "dc_ammeter_horz": dc_ammeter_horz_default,
9242
9849
  "dc_ammeter_vert": dc_ammeter_vert_default,
9243
9850
  "dc_voltmeter_horz": dc_voltmeter_horz_default,
@@ -9246,6 +9853,8 @@ var symbols_index_default = {
9246
9853
  "diac_vert": diac_vert_default,
9247
9854
  "diode_horz": diode_horz_default,
9248
9855
  "diode_vert": diode_vert_default,
9856
+ "dpst_switch_horz": dpst_switch_horz_default,
9857
+ "dpst_switch_vert": dpst_switch_vert_default,
9249
9858
  "filled_diode_horz": filled_diode_horz_default,
9250
9859
  "filled_diode_vert": filled_diode_vert_default,
9251
9860
  "fuse_horz": fuse_horz_default,