schematic-symbols 0.0.174 → 0.0.176

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
@@ -1,3 +1,6 @@
1
+ // drawing/rotateSymbol.ts
2
+ import { rotate, applyToPoint, transform } from "transformation-matrix";
3
+
1
4
  // drawing/utils/getBoundsOfPrimitives.ts
2
5
  function getBoundsOfPrimitives(primitives) {
3
6
  if (primitives.length === 0) {
@@ -40,211 +43,7 @@ function getBoundsOfPrimitives(primitives) {
40
43
  return { minX, maxX, minY, maxY };
41
44
  }
42
45
 
43
- // drawing/defineSymbol.ts
44
- function defineSymbol(symbol11) {
45
- let size = symbol11.size;
46
- if (!size) {
47
- const bounds90 = getBoundsOfPrimitives(symbol11.primitives);
48
- size = {
49
- width: bounds90.maxX - bounds90.minX,
50
- height: bounds90.maxY - bounds90.minY
51
- };
52
- }
53
- return { ...symbol11, size };
54
- }
55
-
56
- // assets/generated/ac_voltmeter.json
57
- var ac_voltmeter_default = {
58
- paths: {
59
- path11: {
60
- type: "path",
61
- points: [
62
- {
63
- x: -0.5274831500000005,
64
- y: 0.03018695000000049
65
- },
66
- {
67
- x: -0.30105415000000013,
68
- y: 0.03018695000000049
69
- }
70
- ],
71
- color: "primary",
72
- fill: false
73
- },
74
- path12: {
75
- type: "path",
76
- points: [
77
- {
78
- x: 0.2932119499999999,
79
- y: 0.03018695000000049
80
- },
81
- {
82
- x: 0.5339524499999997,
83
- y: 0.03018695000000049
84
- }
85
- ],
86
- color: "primary",
87
- fill: false
88
- },
89
- "path11-5-5": {
90
- type: "path",
91
- points: [
92
- {
93
- x: 0.09765764999999949,
94
- y: 0.12845085000000034
95
- },
96
- {
97
- x: -0.0011297500000011507,
98
- y: -0.06303624999999946
99
- },
100
- {
101
- x: -0.10778645000000164,
102
- y: 0.12845085000000034
103
- }
104
- ],
105
- color: "primary",
106
- fill: false
107
- },
108
- path17: {
109
- type: "path",
110
- points: [
111
- {
112
- x: -0.002934749999999875,
113
- y: -0.13606674999999946
114
- },
115
- {
116
- x: 0.06869635000000063,
117
- y: -0.11019914999999947
118
- }
119
- ],
120
- color: "primary",
121
- fill: false
122
- },
123
- path18: {
124
- type: "path",
125
- points: [
126
- {
127
- x: 0.06869635000000063,
128
- y: -0.11019914999999947
129
- },
130
- {
131
- x: 0.1403274500000009,
132
- y: -0.13606674999999946
133
- }
134
- ],
135
- color: "primary",
136
- fill: false
137
- },
138
- path19: {
139
- type: "path",
140
- points: [
141
- {
142
- x: -0.1461968499999997,
143
- y: -0.13606674999999946
144
- },
145
- {
146
- x: -0.07456574999999921,
147
- y: -0.11019914999999947
148
- }
149
- ],
150
- color: "primary",
151
- fill: false
152
- },
153
- path20: {
154
- type: "path",
155
- points: [
156
- {
157
- x: -0.07456575000000054,
158
- y: -0.11019914999999947
159
- },
160
- {
161
- x: -0.0029346500000002607,
162
- y: -0.13606674999999946
163
- }
164
- ],
165
- color: "primary",
166
- fill: false
167
- }
168
- },
169
- texts: {
170
- top1: {
171
- type: "text",
172
- text: "{REF}",
173
- x: -0.17328624999999942,
174
- y: 0.39216264999999995
175
- },
176
- bottom1: {
177
- type: "text",
178
- text: "{VAL}",
179
- x: -0.00661455000000033,
180
- y: -0.40216264999999995
181
- }
182
- },
183
- refblocks: {
184
- left1: {
185
- x: -0.5413984499999998,
186
- y: 0.029334149999999948
187
- },
188
- right1: {
189
- x: 0.54139845,
190
- y: 0.030330549999999734
191
- }
192
- },
193
- bounds: {
194
- minX: -0.5695568909999997,
195
- maxX: 0.569556891,
196
- minY: -0.5021626499999999,
197
- maxY: 0.39216264999999995,
198
- width: 1.1391137819999997,
199
- height: 0.5443252999999999,
200
- centerX: 11102230246251565e-32,
201
- centerY: 0.05499999999999999
202
- },
203
- circles: {
204
- path1: {
205
- type: "circle",
206
- x: -0.0037626500000000895,
207
- y: 0.03731525000000002,
208
- radius: 0.28854213,
209
- color: "primary",
210
- fill: false
211
- }
212
- }
213
- };
214
-
215
- // symbols/ac_voltmeter_horz.ts
216
- var { paths, bounds, refblocks, circles } = ac_voltmeter_default;
217
- var ac_voltmeter_horz_default = defineSymbol({
218
- primitives: [
219
- ...Object.values(paths),
220
- ...Object.values(circles),
221
- {
222
- type: "text",
223
- text: "{REF}",
224
- x: 0,
225
- y: -0.3594553499999995,
226
- anchor: "middle_top"
227
- },
228
- {
229
- type: "text",
230
- text: "{VAL}",
231
- x: 0,
232
- y: 0.35,
233
- anchor: "middle_bottom"
234
- }
235
- ],
236
- ports: [
237
- { ...refblocks.left1, labels: ["1"] },
238
- // TODO add more "standard" labels
239
- { ...refblocks.right1, labels: ["2"] }
240
- // TODO add more "standard" labels
241
- ],
242
- size: { width: bounds.width, height: bounds.height },
243
- center: { x: bounds.centerX, y: bounds.centerY }
244
- });
245
-
246
46
  // drawing/rotateSymbol.ts
247
- import { rotate, applyToPoint, transform } from "transformation-matrix";
248
47
  var rotateRightFacingAnchor = (anchor, newOrientation = "right") => {
249
48
  switch (newOrientation) {
250
49
  case "down":
@@ -494,104 +293,419 @@ var rotateRightFacingSymbol = (symbol11, opts) => {
494
293
  ...applyToPoint(transform2, port)
495
294
  })
496
295
  );
497
- const bounds90 = getBoundsOfPrimitives(rotatedPrimitives);
296
+ const bounds104 = getBoundsOfPrimitives(rotatedPrimitives);
498
297
  return {
499
298
  primitives: rotatedPrimitives,
500
299
  center,
501
300
  ports: rotatedPorts,
502
301
  size: {
503
- width: bounds90.maxX - bounds90.minX,
504
- height: bounds90.maxY - bounds90.minY
302
+ width: bounds104.maxX - bounds104.minX,
303
+ height: bounds104.maxY - bounds104.minY
304
+ },
305
+ ...overrides
306
+ };
307
+ };
308
+ var rotateSymbol = (symbol11, orientation = "down", overrides = {}) => rotateRightFacingSymbol(symbol11, {
309
+ newOrientation: orientation,
310
+ overrides
311
+ });
312
+
313
+ // drawing/modify-symbol/modify-symbol.ts
314
+ var SymbolModifier = class {
315
+ symbol;
316
+ constructor(symbol11) {
317
+ this.symbol = JSON.parse(JSON.stringify(symbol11));
318
+ this.symbol.size = this.computeSize();
319
+ }
320
+ changeTextAnchor(text, newAnchor) {
321
+ this.symbol = {
322
+ ...this.symbol,
323
+ primitives: this.symbol.primitives.map((primitive) => {
324
+ if (primitive.type === "text" && primitive.text === text) {
325
+ return {
326
+ ...primitive,
327
+ anchor: newAnchor
328
+ };
329
+ }
330
+ return primitive;
331
+ })
332
+ };
333
+ return this;
334
+ }
335
+ labelPort(currentLabel, newLabels) {
336
+ this.symbol = {
337
+ ...this.symbol,
338
+ ports: this.symbol.ports.map((port) => {
339
+ return port.labels.includes(currentLabel) ? { ...port, labels: newLabels } : port;
340
+ })
341
+ };
342
+ return this;
343
+ }
344
+ rotateRightFacingSymbol(newOrientation) {
345
+ this.symbol = rotateRightFacingSymbol(this.symbol, {
346
+ newOrientation
347
+ });
348
+ return this;
349
+ }
350
+ computeSize() {
351
+ const bounds104 = getBoundsOfPrimitives(this.symbol.primitives);
352
+ return {
353
+ width: bounds104.maxX - bounds104.minX,
354
+ height: bounds104.maxY - bounds104.minY
355
+ };
356
+ }
357
+ build() {
358
+ return { ...this.symbol, size: this.computeSize() };
359
+ }
360
+ };
361
+ var modifySymbol = (symbol11) => {
362
+ const primitives = symbol11.primitives ?? [
363
+ ...Object.values(symbol11.paths ?? {}),
364
+ ...Object.values(symbol11.texts ?? {}),
365
+ ...Object.values(symbol11.circles ?? {}),
366
+ ...Object.values(symbol11.rects ?? {})
367
+ ];
368
+ const ports = symbol11.ports ?? Object.entries(symbol11.refblocks).flatMap(([key, refblock]) => {
369
+ return [{ ...refblock, labels: [key] }];
370
+ });
371
+ let center = symbol11.center ?? {
372
+ x: symbol11.bounds.centerX,
373
+ y: symbol11.bounds.centerY
374
+ };
375
+ if (ports.length === 2) {
376
+ center = {
377
+ x: (ports[0].x + ports[1].x) / 2,
378
+ y: (ports[0].y + ports[1].y) / 2
379
+ };
380
+ }
381
+ return new SymbolModifier({
382
+ ...symbol11,
383
+ primitives,
384
+ ports,
385
+ center
386
+ });
387
+ };
388
+
389
+ // assets/generated/ac_voltmeter.json
390
+ var ac_voltmeter_default = {
391
+ paths: {
392
+ path11: {
393
+ type: "path",
394
+ points: [
395
+ {
396
+ x: -0.5274831500000005,
397
+ y: 0.035186950000000605
398
+ },
399
+ {
400
+ x: -0.30105415000000013,
401
+ y: 0.035186950000000605
402
+ }
403
+ ],
404
+ color: "primary",
405
+ fill: false
406
+ },
407
+ path12: {
408
+ type: "path",
409
+ points: [
410
+ {
411
+ x: 0.2932119499999999,
412
+ y: 0.035186950000000605
413
+ },
414
+ {
415
+ x: 0.5339524499999997,
416
+ y: 0.035186950000000605
417
+ }
418
+ ],
419
+ color: "primary",
420
+ fill: false
421
+ },
422
+ "path11-5-5": {
423
+ type: "path",
424
+ points: [
425
+ {
426
+ x: 0.09765764999999949,
427
+ y: 0.13345085000000045
428
+ },
429
+ {
430
+ x: -0.0011297500000011507,
431
+ y: -0.058036249999999345
432
+ },
433
+ {
434
+ x: -0.10778645000000164,
435
+ y: 0.13345085000000045
436
+ }
437
+ ],
438
+ color: "primary",
439
+ fill: false
440
+ },
441
+ path17: {
442
+ type: "path",
443
+ points: [
444
+ {
445
+ x: -0.002934749999999875,
446
+ y: -0.13106674999999934
447
+ },
448
+ {
449
+ x: 0.06869635000000063,
450
+ y: -0.10519914999999935
451
+ }
452
+ ],
453
+ color: "primary",
454
+ fill: false
455
+ },
456
+ path18: {
457
+ type: "path",
458
+ points: [
459
+ {
460
+ x: 0.06869635000000063,
461
+ y: -0.10519914999999935
462
+ },
463
+ {
464
+ x: 0.1403274500000009,
465
+ y: -0.13106674999999934
466
+ }
467
+ ],
468
+ color: "primary",
469
+ fill: false
470
+ },
471
+ path19: {
472
+ type: "path",
473
+ points: [
474
+ {
475
+ x: -0.1461968499999997,
476
+ y: -0.13106674999999934
477
+ },
478
+ {
479
+ x: -0.07456574999999921,
480
+ y: -0.10519914999999935
481
+ }
482
+ ],
483
+ color: "primary",
484
+ fill: false
485
+ },
486
+ path20: {
487
+ type: "path",
488
+ points: [
489
+ {
490
+ x: -0.07456575000000054,
491
+ y: -0.10519914999999935
492
+ },
493
+ {
494
+ x: -0.0029346500000002607,
495
+ y: -0.13106674999999934
496
+ }
497
+ ],
498
+ color: "primary",
499
+ fill: false
500
+ }
501
+ },
502
+ texts: {
503
+ top1: {
504
+ type: "text",
505
+ text: "{REF}",
506
+ x: -0.17328624999999942,
507
+ y: 0.39716265000000006
508
+ },
509
+ bottom1: {
510
+ type: "text",
511
+ text: "{VAL}",
512
+ x: -0.00661455000000033,
513
+ y: -0.39716264999999984
514
+ }
515
+ },
516
+ refblocks: {
517
+ left1: {
518
+ x: -0.5413984499999998,
519
+ y: 0.03433415000000006
520
+ },
521
+ right1: {
522
+ x: 0.54139845,
523
+ y: 0.03533054999999985
524
+ }
525
+ },
526
+ bounds: {
527
+ minX: -0.5695568909999997,
528
+ maxX: 0.569556891,
529
+ minY: -0.39716264999999984,
530
+ maxY: 0.39716265000000006,
531
+ width: 1.1391137819999997,
532
+ height: 0.7943252999999999,
533
+ centerX: 11102230246251565e-32,
534
+ centerY: 11102230246251565e-32
535
+ },
536
+ circles: {
537
+ path1: {
538
+ type: "circle",
539
+ x: -0.0037626500000000895,
540
+ y: 0.04231525000000014,
541
+ radius: 0.28854213,
542
+ color: "primary",
543
+ fill: false
544
+ }
545
+ }
546
+ };
547
+
548
+ // symbols/ac_voltmeter_down.ts
549
+ var { paths, texts, bounds, refblocks, circles } = ac_voltmeter_default;
550
+ var ac_voltmeter_down_default = modifySymbol({
551
+ primitives: [
552
+ ...Object.values(paths),
553
+ ...Object.values(circles),
554
+ {
555
+ type: "text",
556
+ text: "{REF}",
557
+ x: -0.15,
558
+ y: 0.3894553499999995
559
+ },
560
+ {
561
+ type: "text",
562
+ text: "{VAL}",
563
+ x: 0.15,
564
+ y: 0.3894553499999995
565
+ }
566
+ ],
567
+ ports: [
568
+ { ...refblocks.left1, labels: ["1"] },
569
+ { ...refblocks.right1, labels: ["2"] }
570
+ ],
571
+ size: { width: bounds.width, height: bounds.height },
572
+ center: { x: bounds.centerX, y: bounds.centerY }
573
+ }).rotateRightFacingSymbol("down").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_left").changeTextAnchor("{VAL}", "middle_left").build();
574
+
575
+ // symbols/ac_voltmeter_horz.ts
576
+ var { paths: paths2, texts: texts2, bounds: bounds2, refblocks: refblocks2, circles: circles2 } = ac_voltmeter_default;
577
+ var ac_voltmeter_horz_default = modifySymbol({
578
+ primitives: [
579
+ ...Object.values(paths2),
580
+ ...Object.values(circles2),
581
+ {
582
+ type: "text",
583
+ text: "{REF}",
584
+ x: -0,
585
+ y: 0.4094553499999995
586
+ },
587
+ {
588
+ type: "text",
589
+ text: "{VAL}",
590
+ x: 0,
591
+ y: -0.4094553499999995
592
+ }
593
+ ],
594
+ ports: [
595
+ { ...refblocks2.left1, labels: ["1"] },
596
+ { ...refblocks2.right1, labels: ["2"] }
597
+ ],
598
+ size: { width: bounds2.width, height: bounds2.height },
599
+ center: { x: bounds2.centerX, y: bounds2.centerY }
600
+ }).changeTextAnchor("{VAL}", "middle_top").rotateRightFacingSymbol("right").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_bottom").build();
601
+
602
+ // symbols/ac_voltmeter_left.ts
603
+ var { paths: paths3, texts: texts3, bounds: bounds3, refblocks: refblocks3, circles: circles3 } = ac_voltmeter_default;
604
+ var ac_voltmeter_left_default = modifySymbol({
605
+ primitives: [
606
+ ...Object.values(paths3),
607
+ ...Object.values(circles3),
608
+ {
609
+ type: "text",
610
+ text: "{REF}",
611
+ x: -0,
612
+ y: -0.3094553499999995
613
+ },
614
+ {
615
+ type: "text",
616
+ text: "{VAL}",
617
+ x: 0,
618
+ y: 0.4094553499999995
619
+ }
620
+ ],
621
+ ports: [
622
+ { ...refblocks3.left1, labels: ["1"] },
623
+ { ...refblocks3.right1, labels: ["2"] }
624
+ ],
625
+ size: { width: bounds3.width, height: bounds3.height },
626
+ center: { x: bounds3.centerX, y: bounds3.centerY }
627
+ }).changeTextAnchor("{VAL}", "middle_bottom").rotateRightFacingSymbol("left").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_bottom").build();
628
+
629
+ // symbols/ac_voltmeter_right.ts
630
+ var { paths: paths4, texts: texts4, bounds: bounds4, refblocks: refblocks4, circles: circles4 } = ac_voltmeter_default;
631
+ var ac_voltmeter_right_default = modifySymbol({
632
+ primitives: [
633
+ ...Object.values(paths4),
634
+ ...Object.values(circles4),
635
+ {
636
+ type: "text",
637
+ text: "{REF}",
638
+ x: -0,
639
+ y: 0.4094553499999995
640
+ },
641
+ {
642
+ type: "text",
643
+ text: "{VAL}",
644
+ x: 0,
645
+ y: -0.4094553499999995
646
+ }
647
+ ],
648
+ ports: [
649
+ { ...refblocks4.left1, labels: ["1"] },
650
+ { ...refblocks4.right1, labels: ["2"] }
651
+ ],
652
+ size: { width: bounds4.width, height: bounds4.height },
653
+ center: { x: bounds4.centerX, y: bounds4.centerY }
654
+ }).changeTextAnchor("{VAL}", "middle_top").rotateRightFacingSymbol("right").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_bottom").build();
655
+
656
+ // symbols/ac_voltmeter_up.ts
657
+ var { paths: paths5, texts: texts5, bounds: bounds5, refblocks: refblocks5, circles: circles5 } = ac_voltmeter_default;
658
+ var ac_voltmeter_up_default = modifySymbol({
659
+ primitives: [
660
+ ...Object.values(paths5),
661
+ ...Object.values(circles5),
662
+ {
663
+ type: "text",
664
+ text: "{REF}",
665
+ x: 0.15,
666
+ y: -0.2894553499999995
505
667
  },
506
- ...overrides
507
- };
508
- };
509
- var rotateSymbol = (symbol11, orientation = "down", overrides = {}) => rotateRightFacingSymbol(symbol11, {
510
- newOrientation: orientation,
511
- overrides
512
- });
668
+ {
669
+ type: "text",
670
+ text: "{VAL}",
671
+ x: -0.15,
672
+ y: -0.2894553499999995
673
+ }
674
+ ],
675
+ ports: [
676
+ { ...refblocks5.left1, labels: ["1"] },
677
+ { ...refblocks5.right1, labels: ["2"] }
678
+ ],
679
+ size: { width: bounds5.width, height: bounds5.height },
680
+ center: { x: bounds5.centerX, y: bounds5.centerY }
681
+ }).rotateRightFacingSymbol("up").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_left").changeTextAnchor("{VAL}", "middle_left").build();
513
682
 
514
683
  // symbols/ac_voltmeter_vert.ts
515
- var rotatedSymbol = rotateRightFacingSymbol(ac_voltmeter_horz_default, {
516
- newOrientation: "up"
517
- });
518
- var ac_voltmeter_vert_default = rotatedSymbol;
519
-
520
- // drawing/modify-symbol/modify-symbol.ts
521
- var SymbolModifier = class {
522
- symbol;
523
- constructor(symbol11) {
524
- this.symbol = JSON.parse(JSON.stringify(symbol11));
525
- this.symbol.size = this.computeSize();
526
- }
527
- changeTextAnchor(text, newAnchor) {
528
- this.symbol = {
529
- ...this.symbol,
530
- primitives: this.symbol.primitives.map((primitive) => {
531
- if (primitive.type === "text" && primitive.text === text) {
532
- return {
533
- ...primitive,
534
- anchor: newAnchor
535
- };
536
- }
537
- return primitive;
538
- })
539
- };
540
- return this;
541
- }
542
- labelPort(currentLabel, newLabels) {
543
- this.symbol = {
544
- ...this.symbol,
545
- ports: this.symbol.ports.map((port) => {
546
- return port.labels.includes(currentLabel) ? { ...port, labels: newLabels } : port;
547
- })
548
- };
549
- return this;
550
- }
551
- rotateRightFacingSymbol(newOrientation) {
552
- this.symbol = rotateRightFacingSymbol(this.symbol, {
553
- newOrientation
554
- });
555
- return this;
556
- }
557
- computeSize() {
558
- const bounds90 = getBoundsOfPrimitives(this.symbol.primitives);
559
- return {
560
- width: bounds90.maxX - bounds90.minX,
561
- height: bounds90.maxY - bounds90.minY
562
- };
563
- }
564
- build() {
565
- return { ...this.symbol, size: this.computeSize() };
566
- }
567
- };
568
- var modifySymbol = (symbol11) => {
569
- const primitives = symbol11.primitives ?? [
570
- ...Object.values(symbol11.paths ?? {}),
571
- ...Object.values(symbol11.texts ?? {}),
572
- ...Object.values(symbol11.circles ?? {}),
573
- ...Object.values(symbol11.rects ?? {})
574
- ];
575
- const ports = symbol11.ports ?? Object.entries(symbol11.refblocks).flatMap(([key, refblock]) => {
576
- return [{ ...refblock, labels: [key] }];
577
- });
578
- let center = symbol11.center ?? {
579
- x: symbol11.bounds.centerX,
580
- y: symbol11.bounds.centerY
581
- };
582
- if (ports.length === 2) {
583
- center = {
584
- x: (ports[0].x + ports[1].x) / 2,
585
- y: (ports[0].y + ports[1].y) / 2
586
- };
587
- }
588
- return new SymbolModifier({
589
- ...symbol11,
590
- primitives,
591
- ports,
592
- center
593
- });
594
- };
684
+ var { paths: paths6, texts: texts6, bounds: bounds6, refblocks: refblocks6, circles: circles6 } = ac_voltmeter_default;
685
+ var ac_voltmeter_vert_default = modifySymbol({
686
+ primitives: [
687
+ ...Object.values(paths6),
688
+ ...Object.values(circles6),
689
+ {
690
+ type: "text",
691
+ text: "{REF}",
692
+ x: 0.15,
693
+ y: -0.2894553499999995
694
+ },
695
+ {
696
+ type: "text",
697
+ text: "{VAL}",
698
+ x: -0.15,
699
+ y: -0.2894553499999995
700
+ }
701
+ ],
702
+ ports: [
703
+ { ...refblocks6.left1, labels: ["1"] },
704
+ { ...refblocks6.right1, labels: ["2"] }
705
+ ],
706
+ size: { width: bounds6.width, height: bounds6.height },
707
+ center: { x: bounds6.centerX, y: bounds6.centerY }
708
+ }).rotateRightFacingSymbol("up").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_left").changeTextAnchor("{VAL}", "middle_left").build();
595
709
 
596
710
  // assets/generated/avalanche_diode.json
597
711
  var avalanche_diode_default = {
@@ -755,11 +869,11 @@ var avalanche_diode_default = {
755
869
  };
756
870
 
757
871
  // symbols/avalanche_diode_down.ts
758
- var { paths: paths2, texts, bounds: bounds2, refblocks: refblocks2, circles: circles2 } = avalanche_diode_default;
872
+ var { paths: paths7, texts: texts7, bounds: bounds7, refblocks: refblocks7, circles: circles7 } = avalanche_diode_default;
759
873
  var avalanche_diode_down_default = modifySymbol({
760
874
  primitives: [
761
- ...Object.values(paths2),
762
- ...Object.values(circles2),
875
+ ...Object.values(paths7),
876
+ ...Object.values(circles7),
763
877
  {
764
878
  type: "text",
765
879
  text: "{REF}",
@@ -774,22 +888,22 @@ var avalanche_diode_down_default = modifySymbol({
774
888
  }
775
889
  ],
776
890
  ports: [
777
- { ...refblocks2.left1, labels: ["1"] },
778
- { ...refblocks2.right1, labels: ["2"] }
891
+ { ...refblocks7.left1, labels: ["1"] },
892
+ { ...refblocks7.right1, labels: ["2"] }
779
893
  ],
780
- size: { width: bounds2.width, height: bounds2.height },
781
- center: { x: bounds2.centerX, y: bounds2.centerY }
894
+ size: { width: bounds7.width, height: bounds7.height },
895
+ center: { x: bounds7.centerX, y: bounds7.centerY }
782
896
  }).rotateRightFacingSymbol("down").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_left").changeTextAnchor("{VAL}", "middle_left").build();
783
897
 
784
898
  // symbols/avalanche_diode_horz.ts
785
899
  var avalanche_diode_horz_default = modifySymbol(avalanche_diode_default).changeTextAnchor("{VAL}", "middle_top").labelPort("left1", ["1", "neg"]).labelPort("right1", ["2", "pos"]).changeTextAnchor("{REF}", "middle_bottom").build();
786
900
 
787
901
  // symbols/avalanche_diode_left.ts
788
- var { paths: paths3, texts: texts2, bounds: bounds3, refblocks: refblocks3, circles: circles3 } = avalanche_diode_default;
902
+ var { paths: paths8, texts: texts8, bounds: bounds8, refblocks: refblocks8, circles: circles8 } = avalanche_diode_default;
789
903
  var avalanche_diode_left_default = modifySymbol({
790
904
  primitives: [
791
- ...Object.values(paths3),
792
- ...Object.values(circles3),
905
+ ...Object.values(paths8),
906
+ ...Object.values(circles8),
793
907
  {
794
908
  type: "text",
795
909
  text: "{REF}",
@@ -804,22 +918,22 @@ var avalanche_diode_left_default = modifySymbol({
804
918
  }
805
919
  ],
806
920
  ports: [
807
- { ...refblocks3.left1, labels: ["1"] },
808
- { ...refblocks3.right1, labels: ["2"] }
921
+ { ...refblocks8.left1, labels: ["1"] },
922
+ { ...refblocks8.right1, labels: ["2"] }
809
923
  ],
810
- size: { width: bounds3.width, height: bounds3.height },
811
- center: { x: bounds3.centerX, y: bounds3.centerY }
924
+ size: { width: bounds8.width, height: bounds8.height },
925
+ center: { x: bounds8.centerX, y: bounds8.centerY }
812
926
  }).changeTextAnchor("{VAL}", "middle_bottom").rotateRightFacingSymbol("left").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_bottom").build();
813
927
 
814
928
  // symbols/avalanche_diode_right.ts
815
929
  var avalanche_diode_right_default = modifySymbol(avalanche_diode_default).changeTextAnchor("{VAL}", "middle_top").labelPort("left1", ["1", "neg"]).labelPort("right1", ["2", "pos"]).changeTextAnchor("{REF}", "middle_bottom").build();
816
930
 
817
931
  // symbols/avalanche_diode_up.ts
818
- var { paths: paths4, texts: texts3, bounds: bounds4, refblocks: refblocks4, circles: circles4 } = avalanche_diode_default;
932
+ var { paths: paths9, texts: texts9, bounds: bounds9, refblocks: refblocks9, circles: circles9 } = avalanche_diode_default;
819
933
  var avalanche_diode_up_default = modifySymbol({
820
934
  primitives: [
821
- ...Object.values(paths4),
822
- ...Object.values(circles4),
935
+ ...Object.values(paths9),
936
+ ...Object.values(circles9),
823
937
  {
824
938
  type: "text",
825
939
  text: "{REF}",
@@ -834,19 +948,19 @@ var avalanche_diode_up_default = modifySymbol({
834
948
  }
835
949
  ],
836
950
  ports: [
837
- { ...refblocks4.left1, labels: ["1"] },
838
- { ...refblocks4.right1, labels: ["2"] }
951
+ { ...refblocks9.left1, labels: ["1"] },
952
+ { ...refblocks9.right1, labels: ["2"] }
839
953
  ],
840
- size: { width: bounds4.width, height: bounds4.height },
841
- center: { x: bounds4.centerX, y: bounds4.centerY }
954
+ size: { width: bounds9.width, height: bounds9.height },
955
+ center: { x: bounds9.centerX, y: bounds9.centerY }
842
956
  }).rotateRightFacingSymbol("up").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_left").changeTextAnchor("{VAL}", "middle_left").build();
843
957
 
844
958
  // symbols/avalanche_diode_vert.ts
845
- var { paths: paths5, texts: texts4, bounds: bounds5, refblocks: refblocks5, circles: circles5 } = avalanche_diode_default;
959
+ var { paths: paths10, texts: texts10, bounds: bounds10, refblocks: refblocks10, circles: circles10 } = avalanche_diode_default;
846
960
  var avalanche_diode_vert_default = modifySymbol({
847
961
  primitives: [
848
- ...Object.values(paths5),
849
- ...Object.values(circles5),
962
+ ...Object.values(paths10),
963
+ ...Object.values(circles10),
850
964
  {
851
965
  type: "text",
852
966
  text: "{REF}",
@@ -861,11 +975,11 @@ var avalanche_diode_vert_default = modifySymbol({
861
975
  }
862
976
  ],
863
977
  ports: [
864
- { ...refblocks5.left1, labels: ["1"] },
865
- { ...refblocks5.right1, labels: ["2"] }
978
+ { ...refblocks10.left1, labels: ["1"] },
979
+ { ...refblocks10.right1, labels: ["2"] }
866
980
  ],
867
- size: { width: bounds5.width, height: bounds5.height },
868
- center: { x: bounds5.centerX, y: bounds5.centerY }
981
+ size: { width: bounds10.width, height: bounds10.height },
982
+ center: { x: bounds10.centerX, y: bounds10.centerY }
869
983
  }).rotateRightFacingSymbol("up").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_left").changeTextAnchor("{VAL}", "middle_left").build();
870
984
 
871
985
  // assets/generated/backward_diode.json
@@ -1030,11 +1144,11 @@ var backward_diode_default = {
1030
1144
  };
1031
1145
 
1032
1146
  // symbols/backward_diode_down.ts
1033
- var { paths: paths6, texts: texts5, bounds: bounds6, refblocks: refblocks6, circles: circles6 } = backward_diode_default;
1147
+ var { paths: paths11, texts: texts11, bounds: bounds11, refblocks: refblocks11, circles: circles11 } = backward_diode_default;
1034
1148
  var backward_diode_down_default = modifySymbol({
1035
1149
  primitives: [
1036
- ...Object.values(paths6),
1037
- ...Object.values(circles6),
1150
+ ...Object.values(paths11),
1151
+ ...Object.values(circles11),
1038
1152
  {
1039
1153
  type: "text",
1040
1154
  text: "{REF}",
@@ -1049,21 +1163,21 @@ var backward_diode_down_default = modifySymbol({
1049
1163
  }
1050
1164
  ],
1051
1165
  ports: [
1052
- { ...refblocks6.left1, labels: ["1"] },
1166
+ { ...refblocks11.left1, labels: ["1"] },
1053
1167
  // TODO add more "standard" labels
1054
- { ...refblocks6.right1, labels: ["2"] }
1168
+ { ...refblocks11.right1, labels: ["2"] }
1055
1169
  // TODO add more "standard" labels
1056
1170
  ],
1057
- size: { width: bounds6.width, height: bounds6.height },
1058
- center: { x: bounds6.centerX, y: bounds6.centerY }
1171
+ size: { width: bounds11.width, height: bounds11.height },
1172
+ center: { x: bounds11.centerX, y: bounds11.centerY }
1059
1173
  }).changeTextAnchor("{VAL}", "middle_bottom").rotateRightFacingSymbol("down").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_left").build();
1060
1174
 
1061
1175
  // symbols/backward_diode_left.ts
1062
- var { paths: paths7, texts: texts6, bounds: bounds7, refblocks: refblocks7, circles: circles7 } = backward_diode_default;
1176
+ var { paths: paths12, texts: texts12, bounds: bounds12, refblocks: refblocks12, circles: circles12 } = backward_diode_default;
1063
1177
  var backward_diode_left_default = modifySymbol({
1064
1178
  primitives: [
1065
- ...Object.values(paths7),
1066
- ...Object.values(circles7),
1179
+ ...Object.values(paths12),
1180
+ ...Object.values(circles12),
1067
1181
  {
1068
1182
  type: "text",
1069
1183
  text: "{REF}",
@@ -1078,19 +1192,19 @@ var backward_diode_left_default = modifySymbol({
1078
1192
  }
1079
1193
  ],
1080
1194
  ports: [
1081
- { ...refblocks7.left1, labels: ["1"] },
1082
- { ...refblocks7.right1, labels: ["2"] }
1195
+ { ...refblocks12.left1, labels: ["1"] },
1196
+ { ...refblocks12.right1, labels: ["2"] }
1083
1197
  ],
1084
- size: { width: bounds7.width, height: bounds7.height },
1085
- center: { x: bounds7.centerX, y: bounds7.centerY }
1198
+ size: { width: bounds12.width, height: bounds12.height },
1199
+ center: { x: bounds12.centerX, y: bounds12.centerY }
1086
1200
  }).changeTextAnchor("{VAL}", "middle_bottom").rotateRightFacingSymbol("left").labelPort("left1", ["2"]).labelPort("right1", ["1"]).changeTextAnchor("{REF}", "middle_bottom").build();
1087
1201
 
1088
1202
  // symbols/backward_diode_right.ts
1089
- var { paths: paths8, texts: texts7, bounds: bounds8, refblocks: refblocks8, circles: circles8 } = backward_diode_default;
1203
+ var { paths: paths13, texts: texts13, bounds: bounds13, refblocks: refblocks13, circles: circles13 } = backward_diode_default;
1090
1204
  var backward_diode_right_default = modifySymbol({
1091
1205
  primitives: [
1092
- ...Object.values(paths8),
1093
- ...Object.values(circles8),
1206
+ ...Object.values(paths13),
1207
+ ...Object.values(circles13),
1094
1208
  {
1095
1209
  type: "text",
1096
1210
  text: "{REF}",
@@ -1107,17 +1221,17 @@ var backward_diode_right_default = modifySymbol({
1107
1221
  }
1108
1222
  ],
1109
1223
  ports: [
1110
- { ...refblocks8.left1, labels: ["1"] },
1224
+ { ...refblocks13.left1, labels: ["1"] },
1111
1225
  // TODO add more "standard" labels
1112
- { ...refblocks8.right1, labels: ["2"] }
1226
+ { ...refblocks13.right1, labels: ["2"] }
1113
1227
  // TODO add more "standard" labels
1114
1228
  ],
1115
- size: { width: bounds8.width, height: bounds8.height },
1116
- center: { x: bounds8.centerX, y: bounds8.centerY }
1229
+ size: { width: bounds13.width, height: bounds13.height },
1230
+ center: { x: bounds13.centerX, y: bounds13.centerY }
1117
1231
  }).changeTextAnchor("{VAL}", "middle_top").labelPort("right1", ["2"]).labelPort("left1", ["1"]).changeTextAnchor("{REF}", "middle_bottom").build();
1118
1232
 
1119
1233
  // symbols/backward_diode_up.ts
1120
- var { paths: paths9, texts: texts8, bounds: bounds9, refblocks: refblocks9, circles: circles9 } = backward_diode_default;
1234
+ var { paths: paths14, texts: texts14, bounds: bounds14, refblocks: refblocks14, circles: circles14 } = backward_diode_default;
1121
1235
  var rotated = rotateSymbol(backward_diode_left_default, "down");
1122
1236
  var ref = rotated.primitives.find(
1123
1237
  (p) => p.type === "text" && p.text === "{REF}"
@@ -1133,6 +1247,19 @@ val.y -= 0.21;
1133
1247
  val.x = 0.25;
1134
1248
  var backward_diode_up_default = rotated;
1135
1249
 
1250
+ // drawing/defineSymbol.ts
1251
+ function defineSymbol(symbol11) {
1252
+ let size = symbol11.size;
1253
+ if (!size) {
1254
+ const bounds104 = getBoundsOfPrimitives(symbol11.primitives);
1255
+ size = {
1256
+ width: bounds104.maxX - bounds104.minX,
1257
+ height: bounds104.maxY - bounds104.minY
1258
+ };
1259
+ }
1260
+ return { ...symbol11, size };
1261
+ }
1262
+
1136
1263
  // assets/generated/battery.json
1137
1264
  var battery_default = {
1138
1265
  paths: {
@@ -1235,22 +1362,22 @@ var battery_default = {
1235
1362
  };
1236
1363
 
1237
1364
  // symbols/battery_horz.ts
1238
- var { paths: paths10, texts: texts9, bounds: bounds10, refblocks: refblocks10, circles: circles10 } = battery_default;
1365
+ var { paths: paths15, texts: texts15, bounds: bounds15, refblocks: refblocks15, circles: circles15 } = battery_default;
1239
1366
  var battery_horz_default = defineSymbol({
1240
1367
  primitives: [
1241
- ...Object.values(paths10),
1242
- ...Object.values(circles10),
1243
- { ...texts9.top1, anchor: "middle_bottom" },
1244
- { ...texts9.bottom1, anchor: "middle_top" }
1368
+ ...Object.values(paths15),
1369
+ ...Object.values(circles15),
1370
+ { ...texts15.top1, anchor: "middle_bottom" },
1371
+ { ...texts15.bottom1, anchor: "middle_top" }
1245
1372
  ],
1246
1373
  ports: [
1247
- { ...refblocks10.left1, labels: ["1"] },
1374
+ { ...refblocks15.left1, labels: ["1"] },
1248
1375
  // TODO add more "standard" labels
1249
- { ...refblocks10.right1, labels: ["2"] }
1376
+ { ...refblocks15.right1, labels: ["2"] }
1250
1377
  // TODO add more "standard" labels
1251
1378
  ],
1252
- size: { width: bounds10.width, height: bounds10.height },
1253
- center: { x: bounds10.centerX, y: bounds10.centerY }
1379
+ size: { width: bounds15.width, height: bounds15.height },
1380
+ center: { x: bounds15.centerX, y: bounds15.centerY }
1254
1381
  });
1255
1382
 
1256
1383
  // symbols/battery_vert.ts
@@ -1361,11 +1488,11 @@ var boxresistor_default = {
1361
1488
  };
1362
1489
 
1363
1490
  // symbols/boxresistor_down.ts
1364
- var { paths: paths11, texts: texts10, bounds: bounds11, refblocks: refblocks11, circles: circles11 } = boxresistor_default;
1491
+ var { paths: paths16, texts: texts16, bounds: bounds16, refblocks: refblocks16, circles: circles16 } = boxresistor_default;
1365
1492
  var boxresistor_down_default = modifySymbol({
1366
1493
  primitives: [
1367
- ...Object.values(paths11),
1368
- ...Object.values(circles11),
1494
+ ...Object.values(paths16),
1495
+ ...Object.values(circles16),
1369
1496
  {
1370
1497
  type: "text",
1371
1498
  text: "{REF}",
@@ -1380,20 +1507,20 @@ var boxresistor_down_default = modifySymbol({
1380
1507
  }
1381
1508
  ],
1382
1509
  ports: [
1383
- { ...refblocks11.left1, labels: ["1"] },
1510
+ { ...refblocks16.left1, labels: ["1"] },
1384
1511
  // TODO add more "standard" labels
1385
- { ...refblocks11.right1, labels: ["2"] }
1512
+ { ...refblocks16.right1, labels: ["2"] }
1386
1513
  // TODO add more "standard" labels
1387
1514
  ],
1388
- center: { x: bounds11.centerX, y: bounds11.centerY }
1515
+ center: { x: bounds16.centerX, y: bounds16.centerY }
1389
1516
  }).changeTextAnchor("{VAL}", "middle_bottom").rotateRightFacingSymbol("down").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_left").build();
1390
1517
 
1391
1518
  // symbols/boxresistor_left.ts
1392
- var { paths: paths12, texts: texts11, bounds: bounds12, refblocks: refblocks12, circles: circles12 } = boxresistor_default;
1519
+ var { paths: paths17, texts: texts17, bounds: bounds17, refblocks: refblocks17, circles: circles17 } = boxresistor_default;
1393
1520
  var boxresistor_left_default = modifySymbol({
1394
1521
  primitives: [
1395
- ...Object.values(paths12),
1396
- ...Object.values(circles12),
1522
+ ...Object.values(paths17),
1523
+ ...Object.values(circles17),
1397
1524
  {
1398
1525
  type: "text",
1399
1526
  text: "{REF}",
@@ -1408,20 +1535,20 @@ var boxresistor_left_default = modifySymbol({
1408
1535
  }
1409
1536
  ],
1410
1537
  ports: [
1411
- { ...refblocks12.left1, labels: ["1"] },
1538
+ { ...refblocks17.left1, labels: ["1"] },
1412
1539
  // TODO add more "standard" labels
1413
- { ...refblocks12.right1, labels: ["2"] }
1540
+ { ...refblocks17.right1, labels: ["2"] }
1414
1541
  // TODO add more "standard" labels
1415
1542
  ],
1416
- center: { x: bounds12.centerX, y: bounds12.centerY }
1543
+ center: { x: bounds17.centerX, y: bounds17.centerY }
1417
1544
  }).changeTextAnchor("{VAL}", "middle_bottom").rotateRightFacingSymbol("left").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_bottom").build();
1418
1545
 
1419
1546
  // symbols/boxresistor_right.ts
1420
- var { paths: paths13, texts: texts12, bounds: bounds13, refblocks: refblocks13, circles: circles13 } = boxresistor_default;
1547
+ var { paths: paths18, texts: texts18, bounds: bounds18, refblocks: refblocks18, circles: circles18 } = boxresistor_default;
1421
1548
  var boxresistor_right_default = modifySymbol({
1422
1549
  primitives: [
1423
- ...Object.values(paths13),
1424
- ...Object.values(circles13),
1550
+ ...Object.values(paths18),
1551
+ ...Object.values(circles18),
1425
1552
  {
1426
1553
  type: "text",
1427
1554
  text: "{REF}",
@@ -1436,12 +1563,12 @@ var boxresistor_right_default = modifySymbol({
1436
1563
  }
1437
1564
  ],
1438
1565
  ports: [
1439
- { ...refblocks13.left1, labels: ["1"] },
1566
+ { ...refblocks18.left1, labels: ["1"] },
1440
1567
  // TODO add more "standard" labels
1441
- { ...refblocks13.right1, labels: ["2"] }
1568
+ { ...refblocks18.right1, labels: ["2"] }
1442
1569
  // TODO add more "standard" labels
1443
1570
  ],
1444
- center: { x: bounds13.centerX, y: bounds13.centerY }
1571
+ center: { x: bounds18.centerX, y: bounds18.centerY }
1445
1572
  }).changeTextAnchor("{VAL}", "middle_top").rotateRightFacingSymbol("right").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_bottom").build();
1446
1573
 
1447
1574
  // assets/generated/boxresistor_small.json
@@ -1576,11 +1703,11 @@ var boxresistor_small_default = {
1576
1703
  };
1577
1704
 
1578
1705
  // symbols/boxresistor_small_down.ts
1579
- var { paths: paths14, texts: texts13, bounds: bounds14, refblocks: refblocks14, circles: circles14 } = boxresistor_small_default;
1706
+ var { paths: paths19, texts: texts19, bounds: bounds19, refblocks: refblocks19, circles: circles19 } = boxresistor_small_default;
1580
1707
  var boxresistor_small_down_default = modifySymbol({
1581
1708
  primitives: [
1582
- ...Object.values(paths14),
1583
- ...Object.values(circles14),
1709
+ ...Object.values(paths19),
1710
+ ...Object.values(circles19),
1584
1711
  {
1585
1712
  type: "text",
1586
1713
  text: "{REF}",
@@ -1595,21 +1722,21 @@ var boxresistor_small_down_default = modifySymbol({
1595
1722
  }
1596
1723
  ],
1597
1724
  ports: [
1598
- { ...refblocks14.left1, labels: ["1"] },
1725
+ { ...refblocks19.left1, labels: ["1"] },
1599
1726
  // TODO add more "standard" labels
1600
- { ...refblocks14.right1, labels: ["2"] }
1727
+ { ...refblocks19.right1, labels: ["2"] }
1601
1728
  // TODO add more "standard" labels
1602
1729
  ],
1603
- size: { width: bounds14.width, height: bounds14.height },
1604
- center: { x: bounds14.centerX, y: bounds14.centerY }
1730
+ size: { width: bounds19.width, height: bounds19.height },
1731
+ center: { x: bounds19.centerX, y: bounds19.centerY }
1605
1732
  }).rotateRightFacingSymbol("down").labelPort("left", ["1"]).labelPort("right", ["2"]).changeTextAnchor("{REF}", "middle_left").changeTextAnchor("{VAL}", "middle_left").build();
1606
1733
 
1607
1734
  // symbols/boxresistor_small_left.ts
1608
- var { paths: paths15, texts: texts14, bounds: bounds15, refblocks: refblocks15, circles: circles15 } = boxresistor_small_default;
1735
+ var { paths: paths20, texts: texts20, bounds: bounds20, refblocks: refblocks20, circles: circles20 } = boxresistor_small_default;
1609
1736
  var boxresistor_small_left_default = modifySymbol({
1610
1737
  primitives: [
1611
- ...Object.values(paths15),
1612
- ...Object.values(circles15),
1738
+ ...Object.values(paths20),
1739
+ ...Object.values(circles20),
1613
1740
  {
1614
1741
  type: "text",
1615
1742
  text: "{REF}",
@@ -1624,21 +1751,21 @@ var boxresistor_small_left_default = modifySymbol({
1624
1751
  }
1625
1752
  ],
1626
1753
  ports: [
1627
- { ...refblocks15.left1, labels: ["1"] },
1754
+ { ...refblocks20.left1, labels: ["1"] },
1628
1755
  // TODO add more "standard" labels
1629
- { ...refblocks15.right1, labels: ["2"] }
1756
+ { ...refblocks20.right1, labels: ["2"] }
1630
1757
  // TODO add more "standard" labels
1631
1758
  ],
1632
- size: { width: bounds15.width, height: bounds15.height },
1633
- center: { x: bounds15.centerX, y: bounds15.centerY }
1759
+ size: { width: bounds20.width, height: bounds20.height },
1760
+ center: { x: bounds20.centerX, y: bounds20.centerY }
1634
1761
  }).rotateRightFacingSymbol("left").labelPort("left", ["1"]).labelPort("right", ["2"]).changeTextAnchor("{REF}", "middle_bottom").changeTextAnchor("{VAL}", "middle_top").build();
1635
1762
 
1636
1763
  // symbols/boxresistor_small_right.ts
1637
- var { paths: paths16, texts: texts15, bounds: bounds16, refblocks: refblocks16, circles: circles16 } = boxresistor_small_default;
1764
+ var { paths: paths21, texts: texts21, bounds: bounds21, refblocks: refblocks21, circles: circles21 } = boxresistor_small_default;
1638
1765
  var boxresistor_small_right_default = modifySymbol({
1639
1766
  primitives: [
1640
- ...Object.values(paths16),
1641
- ...Object.values(circles16),
1767
+ ...Object.values(paths21),
1768
+ ...Object.values(circles21),
1642
1769
  {
1643
1770
  type: "text",
1644
1771
  text: "{REF}",
@@ -1653,21 +1780,21 @@ var boxresistor_small_right_default = modifySymbol({
1653
1780
  }
1654
1781
  ],
1655
1782
  ports: [
1656
- { ...refblocks16.left1, labels: ["1"] },
1783
+ { ...refblocks21.left1, labels: ["1"] },
1657
1784
  // TODO add more "standard" labels
1658
- { ...refblocks16.right1, labels: ["2"] }
1785
+ { ...refblocks21.right1, labels: ["2"] }
1659
1786
  // TODO add more "standard" labels
1660
1787
  ],
1661
- size: { width: bounds16.width, height: bounds16.height },
1662
- center: { x: bounds16.centerX, y: bounds16.centerY }
1788
+ size: { width: bounds21.width, height: bounds21.height },
1789
+ center: { x: bounds21.centerX, y: bounds21.centerY }
1663
1790
  }).rotateRightFacingSymbol("right").labelPort("left", ["1"]).labelPort("right", ["2"]).changeTextAnchor("{REF}", "middle_bottom").changeTextAnchor("{VAL}", "middle_top").build();
1664
1791
 
1665
1792
  // symbols/boxresistor_small_up.ts
1666
- var { paths: paths17, texts: texts16, bounds: bounds17, refblocks: refblocks17, circles: circles17 } = boxresistor_small_default;
1793
+ var { paths: paths22, texts: texts22, bounds: bounds22, refblocks: refblocks22, circles: circles22 } = boxresistor_small_default;
1667
1794
  var boxresistor_small_up_default = modifySymbol({
1668
1795
  primitives: [
1669
- ...Object.values(paths17),
1670
- ...Object.values(circles17),
1796
+ ...Object.values(paths22),
1797
+ ...Object.values(circles22),
1671
1798
  {
1672
1799
  type: "text",
1673
1800
  text: "{REF}",
@@ -1682,21 +1809,21 @@ var boxresistor_small_up_default = modifySymbol({
1682
1809
  }
1683
1810
  ],
1684
1811
  ports: [
1685
- { ...refblocks17.left1, labels: ["1"] },
1812
+ { ...refblocks22.left1, labels: ["1"] },
1686
1813
  // TODO add more "standard" labels
1687
- { ...refblocks17.right1, labels: ["2"] }
1814
+ { ...refblocks22.right1, labels: ["2"] }
1688
1815
  // TODO add more "standard" labels
1689
1816
  ],
1690
- size: { width: bounds17.width, height: bounds17.height },
1691
- center: { x: bounds17.centerX, y: bounds17.centerY }
1817
+ size: { width: bounds22.width, height: bounds22.height },
1818
+ center: { x: bounds22.centerX, y: bounds22.centerY }
1692
1819
  }).rotateRightFacingSymbol("up").labelPort("left", ["1"]).labelPort("right", ["2"]).changeTextAnchor("{REF}", "middle_left").changeTextAnchor("{VAL}", "middle_left").build();
1693
1820
 
1694
1821
  // symbols/boxresistor_up.ts
1695
- var { paths: paths18, texts: texts17, bounds: bounds18, refblocks: refblocks18, circles: circles18 } = boxresistor_default;
1822
+ var { paths: paths23, texts: texts23, bounds: bounds23, refblocks: refblocks23, circles: circles23 } = boxresistor_default;
1696
1823
  var boxresistor_up_default = modifySymbol({
1697
1824
  primitives: [
1698
- ...Object.values(paths18),
1699
- ...Object.values(circles18),
1825
+ ...Object.values(paths23),
1826
+ ...Object.values(circles23),
1700
1827
  {
1701
1828
  type: "text",
1702
1829
  text: "{REF}",
@@ -1711,12 +1838,12 @@ var boxresistor_up_default = modifySymbol({
1711
1838
  }
1712
1839
  ],
1713
1840
  ports: [
1714
- { ...refblocks18.left1, labels: ["1"] },
1841
+ { ...refblocks23.left1, labels: ["1"] },
1715
1842
  // TODO add more "standard" labels
1716
- { ...refblocks18.right1, labels: ["2"] }
1843
+ { ...refblocks23.right1, labels: ["2"] }
1717
1844
  // TODO add more "standard" labels
1718
1845
  ],
1719
- center: { x: bounds18.centerX, y: bounds18.centerY }
1846
+ center: { x: bounds23.centerX, y: bounds23.centerY }
1720
1847
  }).changeTextAnchor("{VAL}", "middle_top").rotateRightFacingSymbol("up").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_left").build();
1721
1848
 
1722
1849
  // assets/generated/bridged_ground.json
@@ -1831,11 +1958,11 @@ var bridged_ground_default = {
1831
1958
  };
1832
1959
 
1833
1960
  // symbols/bridged_ground_down.ts
1834
- var { paths: paths19, texts: texts18, bounds: bounds19, refblocks: refblocks19, circles: circles19 } = bridged_ground_default;
1961
+ var { paths: paths24, texts: texts24, bounds: bounds24, refblocks: refblocks24, circles: circles24 } = bridged_ground_default;
1835
1962
  var bridged_ground_down_default = modifySymbol({
1836
1963
  primitives: [
1837
- ...Object.values(paths19),
1838
- ...Object.values(circles19),
1964
+ ...Object.values(paths24),
1965
+ ...Object.values(circles24),
1839
1966
  {
1840
1967
  type: "text",
1841
1968
  text: "{REF}",
@@ -1844,20 +1971,20 @@ var bridged_ground_down_default = modifySymbol({
1844
1971
  }
1845
1972
  ],
1846
1973
  ports: [
1847
- { ...refblocks19.left1, labels: ["1"] },
1974
+ { ...refblocks24.left1, labels: ["1"] },
1848
1975
  // TODO add more "standard" labels
1849
- { ...refblocks19.right1, labels: ["2"] }
1976
+ { ...refblocks24.right1, labels: ["2"] }
1850
1977
  // TODO add more "standard" labels
1851
1978
  ],
1852
- center: { x: bounds19.centerX, y: bounds19.centerY }
1979
+ center: { x: bounds24.centerX, y: bounds24.centerY }
1853
1980
  }).changeTextAnchor("{VAL}", "middle_bottom").rotateRightFacingSymbol("down").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_left").build();
1854
1981
 
1855
1982
  // symbols/bridged_ground_right.ts
1856
- var { paths: paths20, texts: texts19, bounds: bounds20, refblocks: refblocks20, circles: circles20 } = bridged_ground_default;
1983
+ var { paths: paths25, texts: texts25, bounds: bounds25, refblocks: refblocks25, circles: circles25 } = bridged_ground_default;
1857
1984
  var bridged_ground_right_default = modifySymbol({
1858
1985
  primitives: [
1859
- ...Object.values(paths20),
1860
- ...Object.values(circles20),
1986
+ ...Object.values(paths25),
1987
+ ...Object.values(circles25),
1861
1988
  {
1862
1989
  type: "text",
1863
1990
  text: "{REF}",
@@ -1866,23 +1993,23 @@ var bridged_ground_right_default = modifySymbol({
1866
1993
  }
1867
1994
  ],
1868
1995
  ports: [
1869
- { ...refblocks20.left1, labels: ["1"] },
1996
+ { ...refblocks25.left1, labels: ["1"] },
1870
1997
  // TODO add more "standard" labels
1871
- { ...refblocks20.right1, labels: ["2"] }
1998
+ { ...refblocks25.right1, labels: ["2"] }
1872
1999
  // TODO add more "standard" labels
1873
2000
  ],
1874
- center: { x: bounds20.centerX, y: bounds20.centerY }
2001
+ center: { x: bounds25.centerX, y: bounds25.centerY }
1875
2002
  }).rotateRightFacingSymbol("right").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_bottom").build();
1876
2003
 
1877
2004
  // symbols/bridged_ground_left.ts
1878
2005
  var bridged_ground_left_default = flipSymbolOverYAxis(bridged_ground_right_default);
1879
2006
 
1880
2007
  // symbols/bridged_ground_up.ts
1881
- var { paths: paths21, texts: texts20, bounds: bounds21, refblocks: refblocks21, circles: circles21 } = bridged_ground_default;
2008
+ var { paths: paths26, texts: texts26, bounds: bounds26, refblocks: refblocks26, circles: circles26 } = bridged_ground_default;
1882
2009
  var bridged_ground_up_default = modifySymbol({
1883
2010
  primitives: [
1884
- ...Object.values(paths21),
1885
- ...Object.values(circles21),
2011
+ ...Object.values(paths26),
2012
+ ...Object.values(circles26),
1886
2013
  {
1887
2014
  type: "text",
1888
2015
  text: "{REF}",
@@ -1891,12 +2018,12 @@ var bridged_ground_up_default = modifySymbol({
1891
2018
  }
1892
2019
  ],
1893
2020
  ports: [
1894
- { ...refblocks21.left1, labels: ["1"] },
2021
+ { ...refblocks26.left1, labels: ["1"] },
1895
2022
  // TODO add more "standard" labels
1896
- { ...refblocks21.right1, labels: ["2"] }
2023
+ { ...refblocks26.right1, labels: ["2"] }
1897
2024
  // TODO add more "standard" labels
1898
2025
  ],
1899
- center: { x: bounds21.centerX, y: bounds21.centerY }
2026
+ center: { x: bounds26.centerX, y: bounds26.centerY }
1900
2027
  }).rotateRightFacingSymbol("up").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_right").build();
1901
2028
 
1902
2029
  // assets/generated/capacitor.json
@@ -2001,11 +2128,11 @@ var capacitor_default = {
2001
2128
  };
2002
2129
 
2003
2130
  // symbols/capacitor_down.ts
2004
- var { paths: paths22, texts: texts21, bounds: bounds22, refblocks: refblocks22, circles: circles22 } = capacitor_default;
2131
+ var { paths: paths27, texts: texts27, bounds: bounds27, refblocks: refblocks27, circles: circles27 } = capacitor_default;
2005
2132
  var capacitor_down_default = modifySymbol({
2006
2133
  primitives: [
2007
- ...Object.values(paths22),
2008
- ...Object.values(circles22),
2134
+ ...Object.values(paths27),
2135
+ ...Object.values(circles27),
2009
2136
  {
2010
2137
  type: "text",
2011
2138
  text: "{REF}",
@@ -2020,13 +2147,13 @@ var capacitor_down_default = modifySymbol({
2020
2147
  }
2021
2148
  ],
2022
2149
  ports: [
2023
- { ...refblocks22.left1, labels: ["1"] },
2150
+ { ...refblocks27.left1, labels: ["1"] },
2024
2151
  // TODO add more "standard" labels
2025
- { ...refblocks22.right1, labels: ["2"] }
2152
+ { ...refblocks27.right1, labels: ["2"] }
2026
2153
  // TODO add more "standard" labels
2027
2154
  ],
2028
- size: { width: bounds22.width, height: bounds22.height },
2029
- center: { x: bounds22.centerX, y: bounds22.centerY }
2155
+ size: { width: bounds27.width, height: bounds27.height },
2156
+ center: { x: bounds27.centerX, y: bounds27.centerY }
2030
2157
  }).changeTextAnchor("{VAL}", "top_left").rotateRightFacingSymbol("down").labelPort("left1", ["1", "pos"]).labelPort("right1", ["2", "neg"]).changeTextAnchor("{REF}", "bottom_left").build();
2031
2158
 
2032
2159
  // symbols/capacitor_left.ts
@@ -3792,11 +3919,11 @@ var capacitor_polarized_default = {
3792
3919
  };
3793
3920
 
3794
3921
  // symbols/capacitor_polarized_down.ts
3795
- var { paths: paths23, texts: texts22, bounds: bounds23, refblocks: refblocks23, circles: circles23 } = capacitor_polarized_default;
3922
+ var { paths: paths28, texts: texts28, bounds: bounds28, refblocks: refblocks28, circles: circles28 } = capacitor_polarized_default;
3796
3923
  var capacitor_polarized_down_default = modifySymbol({
3797
3924
  primitives: [
3798
- ...Object.values(paths23),
3799
- ...Object.values(circles23),
3925
+ ...Object.values(paths28),
3926
+ ...Object.values(circles28),
3800
3927
  {
3801
3928
  type: "text",
3802
3929
  text: "{REF}",
@@ -3811,24 +3938,24 @@ var capacitor_polarized_down_default = modifySymbol({
3811
3938
  }
3812
3939
  ],
3813
3940
  ports: [
3814
- { ...refblocks23.left1, labels: ["2", "neg"] },
3941
+ { ...refblocks28.left1, labels: ["2", "neg"] },
3815
3942
  // TODO add more "standard" labels
3816
- { ...refblocks23.right1, labels: ["1", "pos"] }
3943
+ { ...refblocks28.right1, labels: ["1", "pos"] }
3817
3944
  // TODO add more "standard" labels
3818
3945
  ],
3819
- size: { width: bounds23.width, height: bounds23.height },
3820
- center: { x: bounds23.centerX, y: bounds23.centerY }
3946
+ size: { width: bounds28.width, height: bounds28.height },
3947
+ center: { x: bounds28.centerX, y: bounds28.centerY }
3821
3948
  }).changeTextAnchor("{VAL}", "top_left").rotateRightFacingSymbol("up").changeTextAnchor("{REF}", "bottom_left").build();
3822
3949
 
3823
3950
  // symbols/capacitor_polarized_left.ts
3824
3951
  var capacitor_polarized_left_default = modifySymbol(capacitor_polarized_default).changeTextAnchor("{VAL}", "middle_top").labelPort("left1", ["2", "neg"]).labelPort("right1", ["1", "pos"]).changeTextAnchor("{REF}", "middle_bottom").build();
3825
3952
 
3826
3953
  // symbols/capacitor_polarized_right.ts
3827
- var { paths: paths24, texts: texts23, bounds: bounds24, refblocks: refblocks24, circles: circles24 } = capacitor_polarized_default;
3954
+ var { paths: paths29, texts: texts29, bounds: bounds29, refblocks: refblocks29, circles: circles29 } = capacitor_polarized_default;
3828
3955
  var capacitor_polarized_right_default = modifySymbol({
3829
3956
  primitives: [
3830
- ...Object.values(paths24),
3831
- ...Object.values(circles24),
3957
+ ...Object.values(paths29),
3958
+ ...Object.values(circles29),
3832
3959
  {
3833
3960
  type: "text",
3834
3961
  text: "{REF}",
@@ -3843,21 +3970,21 @@ var capacitor_polarized_right_default = modifySymbol({
3843
3970
  }
3844
3971
  ],
3845
3972
  ports: [
3846
- { ...refblocks24.left1, labels: ["2", "neg"] },
3973
+ { ...refblocks29.left1, labels: ["2", "neg"] },
3847
3974
  // TODO add more "standard" labels
3848
- { ...refblocks24.right1, labels: ["1", "pos"] }
3975
+ { ...refblocks29.right1, labels: ["1", "pos"] }
3849
3976
  // TODO add more "standard" labels
3850
3977
  ],
3851
- size: { width: bounds24.width, height: bounds24.height },
3852
- center: { x: bounds24.centerX, y: bounds24.centerY }
3978
+ size: { width: bounds29.width, height: bounds29.height },
3979
+ center: { x: bounds29.centerX, y: bounds29.centerY }
3853
3980
  }).changeTextAnchor("{VAL}", "middle_bottom").rotateRightFacingSymbol("left").changeTextAnchor("{REF}", "middle_bottom").build();
3854
3981
 
3855
3982
  // symbols/capacitor_polarized_up.ts
3856
- var { paths: paths25, texts: texts24, bounds: bounds25, refblocks: refblocks25, circles: circles25 } = capacitor_polarized_default;
3983
+ var { paths: paths30, texts: texts30, bounds: bounds30, refblocks: refblocks30, circles: circles30 } = capacitor_polarized_default;
3857
3984
  var capacitor_polarized_up_default = modifySymbol({
3858
3985
  primitives: [
3859
- ...Object.values(paths25),
3860
- ...Object.values(circles25),
3986
+ ...Object.values(paths30),
3987
+ ...Object.values(circles30),
3861
3988
  {
3862
3989
  type: "text",
3863
3990
  text: "{REF}",
@@ -3872,24 +3999,24 @@ var capacitor_polarized_up_default = modifySymbol({
3872
3999
  }
3873
4000
  ],
3874
4001
  ports: [
3875
- { ...refblocks25.left1, labels: ["2", "neg"] },
4002
+ { ...refblocks30.left1, labels: ["2", "neg"] },
3876
4003
  // TODO add more "standard" labels
3877
- { ...refblocks25.right1, labels: ["1", "pos"] }
4004
+ { ...refblocks30.right1, labels: ["1", "pos"] }
3878
4005
  // TODO add more "standard" labels
3879
4006
  ],
3880
- size: { width: bounds25.width, height: bounds25.height },
3881
- center: { x: bounds25.centerX, y: bounds25.centerY }
4007
+ size: { width: bounds30.width, height: bounds30.height },
4008
+ center: { x: bounds30.centerX, y: bounds30.centerY }
3882
4009
  }).changeTextAnchor("{VAL}", "top_left").rotateRightFacingSymbol("down").changeTextAnchor("{REF}", "bottom_left").build();
3883
4010
 
3884
4011
  // symbols/capacitor_right.ts
3885
4012
  var capacitor_right_default = modifySymbol(capacitor_default).rotateRightFacingSymbol("right").changeTextAnchor("{VAL}", "middle_top").labelPort("left1", ["1", "pos"]).labelPort("right1", ["2", "neg"]).changeTextAnchor("{REF}", "middle_bottom").build();
3886
4013
 
3887
4014
  // symbols/capacitor_up.ts
3888
- var { paths: paths26, texts: texts25, bounds: bounds26, refblocks: refblocks26, circles: circles26 } = capacitor_default;
4015
+ var { paths: paths31, texts: texts31, bounds: bounds31, refblocks: refblocks31, circles: circles31 } = capacitor_default;
3889
4016
  var capacitor_up_default = modifySymbol({
3890
4017
  primitives: [
3891
- ...Object.values(paths26),
3892
- ...Object.values(circles26),
4018
+ ...Object.values(paths31),
4019
+ ...Object.values(circles31),
3893
4020
  {
3894
4021
  type: "text",
3895
4022
  text: "{REF}",
@@ -3904,13 +4031,13 @@ var capacitor_up_default = modifySymbol({
3904
4031
  }
3905
4032
  ],
3906
4033
  ports: [
3907
- { ...refblocks26.left1, labels: ["1"] },
4034
+ { ...refblocks31.left1, labels: ["1"] },
3908
4035
  // TODO add more "standard" labels
3909
- { ...refblocks26.right1, labels: ["2"] }
4036
+ { ...refblocks31.right1, labels: ["2"] }
3910
4037
  // TODO add more "standard" labels
3911
4038
  ],
3912
- size: { width: bounds26.width, height: bounds26.height },
3913
- center: { x: bounds26.centerX, y: bounds26.centerY }
4039
+ size: { width: bounds31.width, height: bounds31.height },
4040
+ center: { x: bounds31.centerX, y: bounds31.centerY }
3914
4041
  }).changeTextAnchor("{VAL}", "top_left").rotateRightFacingSymbol("up").labelPort("left1", ["1", "pos"]).labelPort("right1", ["2", "neg"]).changeTextAnchor("{REF}", "bottom_left").build();
3915
4042
 
3916
4043
  // assets/generated/constant_current_diode.json
@@ -4008,11 +4135,119 @@ var constant_current_diode_default = {
4008
4135
  }
4009
4136
  };
4010
4137
 
4138
+ // symbols/constant_current_diode_down.ts
4139
+ var { paths: paths32, texts: texts32, bounds: bounds32, refblocks: refblocks32, circles: circles32 } = constant_current_diode_default;
4140
+ var constant_current_diode_down_default = modifySymbol({
4141
+ primitives: [
4142
+ ...Object.values(paths32),
4143
+ ...Object.values(circles32),
4144
+ {
4145
+ type: "text",
4146
+ text: "{REF}",
4147
+ x: -0.15,
4148
+ y: 0.3894553499999995
4149
+ },
4150
+ {
4151
+ type: "text",
4152
+ text: "{VAL}",
4153
+ x: 0.15,
4154
+ y: 0.3894553499999995
4155
+ }
4156
+ ],
4157
+ ports: [
4158
+ { ...refblocks32.left1, labels: ["1"] },
4159
+ { ...refblocks32.right1, labels: ["2"] }
4160
+ ],
4161
+ size: { width: bounds32.width, height: bounds32.height },
4162
+ center: { x: bounds32.centerX, y: bounds32.centerY }
4163
+ }).rotateRightFacingSymbol("down").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_left").changeTextAnchor("{VAL}", "middle_left").build();
4164
+
4011
4165
  // symbols/constant_current_diode_horz.ts
4012
4166
  var constant_current_diode_horz_default = modifySymbol(constant_current_diode_default).changeTextAnchor("{VAL}", "middle_top").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_bottom").build();
4013
4167
 
4168
+ // symbols/constant_current_diode_left.ts
4169
+ var { paths: paths33, texts: texts33, bounds: bounds33, refblocks: refblocks33, circles: circles33 } = constant_current_diode_default;
4170
+ var constant_current_diode_left_default = modifySymbol({
4171
+ primitives: [
4172
+ ...Object.values(paths33),
4173
+ ...Object.values(circles33),
4174
+ {
4175
+ type: "text",
4176
+ text: "{REF}",
4177
+ x: -0,
4178
+ y: -0.2894553499999995
4179
+ },
4180
+ {
4181
+ type: "text",
4182
+ text: "{VAL}",
4183
+ x: 0,
4184
+ y: 0.3894553499999995
4185
+ }
4186
+ ],
4187
+ ports: [
4188
+ { ...refblocks33.left1, labels: ["1"] },
4189
+ { ...refblocks33.right1, labels: ["2"] }
4190
+ ],
4191
+ size: { width: bounds33.width, height: bounds33.height },
4192
+ center: { x: bounds33.centerX, y: bounds33.centerY }
4193
+ }).changeTextAnchor("{VAL}", "middle_bottom").rotateRightFacingSymbol("left").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_bottom").build();
4194
+
4195
+ // symbols/constant_current_diode_right.ts
4196
+ var constant_current_diode_right_default = modifySymbol(constant_current_diode_default).changeTextAnchor("{VAL}", "middle_top").labelPort("left1", ["1", "neg"]).labelPort("right1", ["2", "pos"]).changeTextAnchor("{REF}", "middle_bottom").build();
4197
+
4198
+ // symbols/constant_current_diode_up.ts
4199
+ var { paths: paths34, texts: texts34, bounds: bounds34, refblocks: refblocks34, circles: circles34 } = constant_current_diode_default;
4200
+ var constant_current_diode_up_default = modifySymbol({
4201
+ primitives: [
4202
+ ...Object.values(paths34),
4203
+ ...Object.values(circles34),
4204
+ {
4205
+ type: "text",
4206
+ text: "{REF}",
4207
+ x: 0.15,
4208
+ y: -0.2894553499999995
4209
+ },
4210
+ {
4211
+ type: "text",
4212
+ text: "{VAL}",
4213
+ x: -0.15,
4214
+ y: -0.2894553499999995
4215
+ }
4216
+ ],
4217
+ ports: [
4218
+ { ...refblocks34.left1, labels: ["1"] },
4219
+ { ...refblocks34.right1, labels: ["2"] }
4220
+ ],
4221
+ size: { width: bounds34.width, height: bounds34.height },
4222
+ center: { x: bounds34.centerX, y: bounds34.centerY }
4223
+ }).rotateRightFacingSymbol("up").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_left").changeTextAnchor("{VAL}", "middle_left").build();
4224
+
4014
4225
  // symbols/constant_current_diode_vert.ts
4015
- var constant_current_diode_vert_default = modifySymbol(constant_current_diode_default).rotateRightFacingSymbol("down").changeTextAnchor("{VAL}", "middle_right").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_left").build();
4226
+ var { paths: paths35, texts: texts35, bounds: bounds35, refblocks: refblocks35, circles: circles35 } = constant_current_diode_default;
4227
+ var constant_current_diode_vert_default = modifySymbol({
4228
+ primitives: [
4229
+ ...Object.values(paths35),
4230
+ ...Object.values(circles35),
4231
+ {
4232
+ type: "text",
4233
+ text: "{REF}",
4234
+ x: 0.15,
4235
+ y: -0.2894553499999995
4236
+ },
4237
+ {
4238
+ type: "text",
4239
+ text: "{VAL}",
4240
+ x: -0.15,
4241
+ y: -0.2894553499999995
4242
+ }
4243
+ ],
4244
+ ports: [
4245
+ { ...refblocks35.left1, labels: ["1"] },
4246
+ { ...refblocks35.right1, labels: ["2"] }
4247
+ ],
4248
+ size: { width: bounds35.width, height: bounds35.height },
4249
+ center: { x: bounds35.centerX, y: bounds35.centerY }
4250
+ }).rotateRightFacingSymbol("up").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_left").changeTextAnchor("{VAL}", "middle_left").build();
4016
4251
 
4017
4252
  // assets/generated/crystal_4pin.json
4018
4253
  var crystal_4pin_default = {
@@ -4312,11 +4547,11 @@ var crystal_4pin_default = {
4312
4547
  };
4313
4548
 
4314
4549
  // symbols/crystal_4pin_down.ts
4315
- var { paths: paths27, texts: texts26, bounds: bounds27, refblocks: refblocks27, circles: circles27 } = crystal_4pin_default;
4550
+ var { paths: paths36, texts: texts36, bounds: bounds36, refblocks: refblocks36, circles: circles36 } = crystal_4pin_default;
4316
4551
  var crystal_4pin_down_default = modifySymbol({
4317
4552
  primitives: [
4318
- ...Object.values(paths27),
4319
- ...Object.values(circles27),
4553
+ ...Object.values(paths36),
4554
+ ...Object.values(circles36),
4320
4555
  {
4321
4556
  type: "text",
4322
4557
  text: "{REF}",
@@ -4331,17 +4566,17 @@ var crystal_4pin_down_default = modifySymbol({
4331
4566
  }
4332
4567
  ],
4333
4568
  ports: [
4334
- { ...refblocks27.left1, labels: ["1"] },
4569
+ { ...refblocks36.left1, labels: ["1"] },
4335
4570
  // TODO add more "standard" labels
4336
- { ...refblocks27.right1, labels: ["3"] },
4571
+ { ...refblocks36.right1, labels: ["3"] },
4337
4572
  // TODO add more "standard" labels
4338
- { ...refblocks27.bottom1, labels: ["4"] },
4573
+ { ...refblocks36.bottom1, labels: ["4"] },
4339
4574
  // TODO add more "standard" labels
4340
- { ...refblocks27.top1, labels: ["2"] }
4575
+ { ...refblocks36.top1, labels: ["2"] }
4341
4576
  // TODO add more "standard" labels
4342
4577
  ],
4343
- size: { width: bounds27.width, height: bounds27.height },
4344
- center: { x: bounds27.centerX, y: bounds27.centerY }
4578
+ size: { width: bounds36.width, height: bounds36.height },
4579
+ center: { x: bounds36.centerX, y: bounds36.centerY }
4345
4580
  }).rotateRightFacingSymbol("down").changeTextAnchor("{REF}", "bottom_left").changeTextAnchor("{VAL}", "top_left").build();
4346
4581
 
4347
4582
  // symbols/crystal_4pin_left.ts
@@ -4351,11 +4586,11 @@ var crystal_4pin_left_default = modifySymbol(crystal_4pin_default).labelPort("to
4351
4586
  var crystal_4pin_right_default = modifySymbol(crystal_4pin_default).labelPort("top1", ["2", "gnd1"]).labelPort("bottom1", ["4", "gnd2"]).labelPort("left1", ["1"]).labelPort("right1", ["3"]).changeTextAnchor("{REF}", "bottom_left").changeTextAnchor("{VAL}", "top_left").build();
4352
4587
 
4353
4588
  // symbols/crystal_4pin_up.ts
4354
- var { paths: paths28, texts: texts27, bounds: bounds28, refblocks: refblocks28, circles: circles28 } = crystal_4pin_default;
4589
+ var { paths: paths37, texts: texts37, bounds: bounds37, refblocks: refblocks37, circles: circles37 } = crystal_4pin_default;
4355
4590
  var crystal_4pin_up_default = modifySymbol({
4356
4591
  primitives: [
4357
- ...Object.values(paths28),
4358
- ...Object.values(circles28),
4592
+ ...Object.values(paths37),
4593
+ ...Object.values(circles37),
4359
4594
  {
4360
4595
  type: "text",
4361
4596
  text: "{VAL}",
@@ -4370,17 +4605,17 @@ var crystal_4pin_up_default = modifySymbol({
4370
4605
  }
4371
4606
  ],
4372
4607
  ports: [
4373
- { ...refblocks28.left1, labels: ["1"] },
4608
+ { ...refblocks37.left1, labels: ["1"] },
4374
4609
  // TODO add more "standard" labels
4375
- { ...refblocks28.right1, labels: ["3"] },
4610
+ { ...refblocks37.right1, labels: ["3"] },
4376
4611
  // TODO add more "standard" labels
4377
- { ...refblocks28.bottom1, labels: ["4"] },
4612
+ { ...refblocks37.bottom1, labels: ["4"] },
4378
4613
  // TODO add more "standard" labels
4379
- { ...refblocks28.top1, labels: ["2"] }
4614
+ { ...refblocks37.top1, labels: ["2"] }
4380
4615
  // TODO add more "standard" labels
4381
4616
  ],
4382
- size: { width: bounds28.width, height: bounds28.height },
4383
- center: { x: bounds28.centerX, y: bounds28.centerY }
4617
+ size: { width: bounds37.width, height: bounds37.height },
4618
+ center: { x: bounds37.centerX, y: bounds37.centerY }
4384
4619
  }).rotateRightFacingSymbol("up").changeTextAnchor("{REF}", "bottom_left").changeTextAnchor("{VAL}", "top_left").build();
4385
4620
 
4386
4621
  // assets/generated/crystal.json
@@ -4545,11 +4780,11 @@ var crystal_default = {
4545
4780
  };
4546
4781
 
4547
4782
  // symbols/crystal_down.ts
4548
- var { paths: paths29, texts: texts28, bounds: bounds29, refblocks: refblocks29, circles: circles29 } = crystal_default;
4783
+ var { paths: paths38, texts: texts38, bounds: bounds38, refblocks: refblocks38, circles: circles38 } = crystal_default;
4549
4784
  var crystal_down_default = modifySymbol({
4550
4785
  primitives: [
4551
- ...Object.values(paths29),
4552
- ...Object.values(circles29),
4786
+ ...Object.values(paths38),
4787
+ ...Object.values(circles38),
4553
4788
  {
4554
4789
  type: "text",
4555
4790
  text: "{REF}",
@@ -4564,13 +4799,13 @@ var crystal_down_default = modifySymbol({
4564
4799
  }
4565
4800
  ],
4566
4801
  ports: [
4567
- { ...refblocks29.left1, labels: ["1"] },
4802
+ { ...refblocks38.left1, labels: ["1"] },
4568
4803
  // TODO add more "standard" labels
4569
- { ...refblocks29.right1, labels: ["2"] }
4804
+ { ...refblocks38.right1, labels: ["2"] }
4570
4805
  // TODO add more "standard" labels
4571
4806
  ],
4572
- size: { width: bounds29.width, height: bounds29.height },
4573
- center: { x: bounds29.centerX, y: bounds29.centerY }
4807
+ size: { width: bounds38.width, height: bounds38.height },
4808
+ center: { x: bounds38.centerX, y: bounds38.centerY }
4574
4809
  }).changeTextAnchor("{VAL}", "top_left").rotateRightFacingSymbol("down").labelPort("left1", ["1", "pos"]).labelPort("right1", ["2", "neg"]).changeTextAnchor("{REF}", "bottom_left").build();
4575
4810
 
4576
4811
  // symbols/crystal_left.ts
@@ -4580,11 +4815,11 @@ var crystal_left_default = modifySymbol(crystal_default).changeTextAnchor("{VAL}
4580
4815
  var crystal_right_default = modifySymbol(crystal_default).changeTextAnchor("{VAL}", "middle_top").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_bottom").build();
4581
4816
 
4582
4817
  // symbols/crystal_up.ts
4583
- var { paths: paths30, texts: texts29, bounds: bounds30, refblocks: refblocks30, circles: circles30 } = crystal_default;
4818
+ var { paths: paths39, texts: texts39, bounds: bounds39, refblocks: refblocks39, circles: circles39 } = crystal_default;
4584
4819
  var crystal_up_default = modifySymbol({
4585
4820
  primitives: [
4586
- ...Object.values(paths30),
4587
- ...Object.values(circles30),
4821
+ ...Object.values(paths39),
4822
+ ...Object.values(circles39),
4588
4823
  {
4589
4824
  type: "text",
4590
4825
  text: "{REF}",
@@ -4599,13 +4834,13 @@ var crystal_up_default = modifySymbol({
4599
4834
  }
4600
4835
  ],
4601
4836
  ports: [
4602
- { ...refblocks30.left1, labels: ["1"] },
4837
+ { ...refblocks39.left1, labels: ["1"] },
4603
4838
  // TODO add more "standard" labels
4604
- { ...refblocks30.right1, labels: ["2"] }
4839
+ { ...refblocks39.right1, labels: ["2"] }
4605
4840
  // TODO add more "standard" labels
4606
4841
  ],
4607
- size: { width: bounds30.width, height: bounds30.height },
4608
- center: { x: bounds30.centerX, y: bounds30.centerY }
4842
+ size: { width: bounds39.width, height: bounds39.height },
4843
+ center: { x: bounds39.centerX, y: bounds39.centerY }
4609
4844
  }).changeTextAnchor("{VAL}", "middle_top").rotateRightFacingSymbol("up").labelPort("left1", ["1", "pos"]).labelPort("right1", ["2", "neg"]).changeTextAnchor("{REF}", "bottom_left").build();
4610
4845
 
4611
4846
  // assets/generated/darlington_pair_transistor.json
@@ -4982,11 +5217,11 @@ var dc_ammeter_default = {
4982
5217
  };
4983
5218
 
4984
5219
  // symbols/dc_ammeter_horz.ts
4985
- var { paths: paths31, texts: texts30, bounds: bounds31, refblocks: refblocks31, circles: circles31 } = dc_ammeter_default;
5220
+ var { paths: paths40, texts: texts40, bounds: bounds40, refblocks: refblocks40, circles: circles40 } = dc_ammeter_default;
4986
5221
  var dc_ammeter_horz_default = defineSymbol({
4987
5222
  primitives: [
4988
- ...Object.values(paths31),
4989
- ...Object.values(circles31),
5223
+ ...Object.values(paths40),
5224
+ ...Object.values(circles40),
4990
5225
  {
4991
5226
  type: "text",
4992
5227
  text: "{REF}",
@@ -5001,16 +5236,16 @@ var dc_ammeter_horz_default = defineSymbol({
5001
5236
  y: 0.35,
5002
5237
  anchor: "middle_bottom"
5003
5238
  },
5004
- { ...texts30.left1, x: 0, y: 0.01, anchor: "center", fontSize: 0.3 }
5239
+ { ...texts40.left1, x: 0, y: 0.01, anchor: "center", fontSize: 0.3 }
5005
5240
  ],
5006
5241
  ports: [
5007
- { ...refblocks31.left1, labels: ["1"] },
5242
+ { ...refblocks40.left1, labels: ["1"] },
5008
5243
  // TODO add more "standard" labels
5009
- { ...refblocks31.right1, labels: ["2"] }
5244
+ { ...refblocks40.right1, labels: ["2"] }
5010
5245
  // TODO add more "standard" labels
5011
5246
  ],
5012
- size: { width: bounds31.width, height: bounds31.height },
5013
- center: { x: bounds31.centerX, y: bounds31.centerY }
5247
+ size: { width: bounds40.width, height: bounds40.height },
5248
+ center: { x: bounds40.centerX, y: bounds40.centerY }
5014
5249
  });
5015
5250
 
5016
5251
  // symbols/dc_ammeter_vert.ts
@@ -5032,13 +5267,13 @@ if (isTextPrimitive(letter)) {
5032
5267
  function isPrimitive(value) {
5033
5268
  return typeof value === "object";
5034
5269
  }
5035
- var rotatedSymbol2 = rotateSymbol({
5270
+ var rotatedSymbol = rotateSymbol({
5036
5271
  ...dc_ammeter_horz_default,
5037
5272
  primitives: Object.values(rest).filter(isPrimitive)
5038
5273
  });
5039
5274
  var dc_ammeter_vert_default = {
5040
- ...rotatedSymbol2,
5041
- primitives: [...rotatedSymbol2.primitives, letter, underline]
5275
+ ...rotatedSymbol,
5276
+ primitives: [...rotatedSymbol.primitives, letter, underline]
5042
5277
  };
5043
5278
 
5044
5279
  // assets/generated/dc_voltmeter.json
@@ -5048,12 +5283,12 @@ var dc_voltmeter_default = {
5048
5283
  type: "path",
5049
5284
  points: [
5050
5285
  {
5051
- x: -0.5307178,
5052
- y: 0
5286
+ x: -0.5274831500000005,
5287
+ y: 0.035186950000000605
5053
5288
  },
5054
5289
  {
5055
- x: -0.3042887999999997,
5056
- y: 0
5290
+ x: -0.30105415000000013,
5291
+ y: 0.035186950000000605
5057
5292
  }
5058
5293
  ],
5059
5294
  color: "primary",
@@ -5063,12 +5298,12 @@ var dc_voltmeter_default = {
5063
5298
  type: "path",
5064
5299
  points: [
5065
5300
  {
5066
- x: 0.2899773000000003,
5067
- y: 0
5301
+ x: 0.2932119499999999,
5302
+ y: 0.035186950000000605
5068
5303
  },
5069
5304
  {
5070
- x: 0.5307178000000001,
5071
- y: 0
5305
+ x: 0.5339524499999997,
5306
+ y: 0.035186950000000605
5072
5307
  }
5073
5308
  ],
5074
5309
  color: "primary",
@@ -5078,16 +5313,16 @@ var dc_voltmeter_default = {
5078
5313
  type: "path",
5079
5314
  points: [
5080
5315
  {
5081
- x: 0.09442299999999992,
5082
- y: -0.13438304999999984
5316
+ x: 0.09765764999999949,
5317
+ y: 0.13345085000000045
5083
5318
  },
5084
5319
  {
5085
- x: -0.004364400000000712,
5086
- y: 0.05710404999999996
5320
+ x: -0.0011297500000011507,
5321
+ y: -0.058036249999999345
5087
5322
  },
5088
5323
  {
5089
- x: -0.1110211000000012,
5090
- y: -0.13438304999999984
5324
+ x: -0.10778645000000164,
5325
+ y: 0.13345085000000045
5091
5326
  }
5092
5327
  ],
5093
5328
  color: "primary",
@@ -5097,12 +5332,12 @@ var dc_voltmeter_default = {
5097
5332
  type: "path",
5098
5333
  points: [
5099
5334
  {
5100
- x: -0.12447409999999959,
5101
- y: 0.13438304999999984
5335
+ x: -0.12123945000000003,
5336
+ y: -0.13531524999999922
5102
5337
  },
5103
5338
  {
5104
- x: 0.11626639999999999,
5105
- y: 0.13438304999999984
5339
+ x: 0.11950104999999955,
5340
+ y: -0.13531524999999922
5106
5341
  }
5107
5342
  ],
5108
5343
  color: "primary",
@@ -5113,41 +5348,41 @@ var dc_voltmeter_default = {
5113
5348
  top1: {
5114
5349
  type: "text",
5115
5350
  text: "{REF}",
5116
- x: -0.17652089999999898,
5117
- y: -0.39809484999999944
5351
+ x: -0.17328624999999942,
5352
+ y: 0.39716265000000006
5118
5353
  },
5119
5354
  bottom1: {
5120
5355
  type: "text",
5121
5356
  text: "{VAL}",
5122
- x: -0.009849199999999891,
5123
- y: 0.39623045000000046
5357
+ x: -0.00661455000000033,
5358
+ y: -0.39716264999999984
5124
5359
  }
5125
5360
  },
5126
5361
  refblocks: {
5127
5362
  left1: {
5128
- x: -0.5446330999999993,
5129
- y: 0
5363
+ x: -0.5413984499999998,
5364
+ y: 0.03433415000000006
5130
5365
  },
5131
5366
  right1: {
5132
- x: 0.5381638000000004,
5133
- y: 0
5367
+ x: 0.54139845,
5368
+ y: 0.03533054999999985
5134
5369
  }
5135
5370
  },
5136
5371
  bounds: {
5137
- minX: -0.5307178,
5138
- maxX: 0.5307178000000001,
5139
- minY: -0.13438304999999984,
5140
- maxY: 0.13438304999999984,
5141
- width: 1.0614356000000003,
5142
- height: 1,
5143
- centerX: 0,
5144
- centerY: 0
5372
+ minX: -0.5695568909999997,
5373
+ maxX: 0.569556891,
5374
+ minY: -0.39716264999999984,
5375
+ maxY: 0.39716265000000006,
5376
+ width: 1.1391137819999997,
5377
+ height: 0.7943252999999999,
5378
+ centerX: 11102230246251565e-32,
5379
+ centerY: 11102230246251565e-32
5145
5380
  },
5146
5381
  circles: {
5147
5382
  path1: {
5148
5383
  type: "circle",
5149
- x: 0,
5150
- y: 0,
5384
+ x: -0.0037626500000000895,
5385
+ y: 0.04231525000000014,
5151
5386
  radius: 0.28854213,
5152
5387
  color: "primary",
5153
5388
  fill: false
@@ -5155,50 +5390,167 @@ var dc_voltmeter_default = {
5155
5390
  }
5156
5391
  };
5157
5392
 
5393
+ // symbols/dc_voltmeter_down.ts
5394
+ var { paths: paths41, texts: texts41, bounds: bounds41, refblocks: refblocks41, circles: circles41 } = dc_voltmeter_default;
5395
+ var dc_voltmeter_down_default = modifySymbol({
5396
+ primitives: [
5397
+ ...Object.values(paths41),
5398
+ ...Object.values(circles41),
5399
+ {
5400
+ type: "text",
5401
+ text: "{REF}",
5402
+ x: -0.15,
5403
+ y: 0.3894553499999995
5404
+ },
5405
+ {
5406
+ type: "text",
5407
+ text: "{VAL}",
5408
+ x: 0.15,
5409
+ y: 0.3894553499999995
5410
+ }
5411
+ ],
5412
+ ports: [
5413
+ { ...refblocks41.left1, labels: ["1"] },
5414
+ { ...refblocks41.right1, labels: ["2"] }
5415
+ ],
5416
+ size: { width: bounds41.width, height: bounds41.height },
5417
+ center: { x: bounds41.centerX, y: bounds41.centerY }
5418
+ }).rotateRightFacingSymbol("down").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_left").changeTextAnchor("{VAL}", "middle_left").build();
5419
+
5158
5420
  // symbols/dc_voltmeter_horz.ts
5159
- var { paths: paths32, texts: texts31, bounds: bounds32, refblocks: refblocks32, circles: circles32 } = dc_voltmeter_default;
5160
- var dc_voltmeter_horz_default = defineSymbol({
5421
+ var { paths: paths42, texts: texts42, bounds: bounds42, refblocks: refblocks42, circles: circles42 } = dc_voltmeter_default;
5422
+ var dc_voltmeter_horz_default = modifySymbol({
5161
5423
  primitives: [
5162
- ...Object.values(paths32),
5163
- ...Object.values(circles32),
5424
+ ...Object.values(paths42),
5425
+ ...Object.values(circles42),
5164
5426
  {
5165
5427
  type: "text",
5166
5428
  text: "{REF}",
5429
+ x: -0,
5430
+ y: 0.3894553499999995
5431
+ },
5432
+ {
5433
+ type: "text",
5434
+ text: "{VAL}",
5167
5435
  x: 0,
5168
- y: -0.3594553499999995,
5169
- anchor: "middle_top"
5436
+ y: -0.3294553499999995
5437
+ }
5438
+ ],
5439
+ ports: [
5440
+ { ...refblocks42.left1, labels: ["1"] },
5441
+ { ...refblocks42.right1, labels: ["2"] }
5442
+ ],
5443
+ size: { width: bounds42.width, height: bounds42.height },
5444
+ center: { x: bounds42.centerX, y: bounds42.centerY }
5445
+ }).changeTextAnchor("{VAL}", "middle_top").rotateRightFacingSymbol("right").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_bottom").build();
5446
+
5447
+ // symbols/dc_voltmeter_left.ts
5448
+ var { paths: paths43, texts: texts43, bounds: bounds43, refblocks: refblocks43, circles: circles43 } = dc_voltmeter_default;
5449
+ var dc_voltmeter_left_default = modifySymbol({
5450
+ primitives: [
5451
+ ...Object.values(paths43),
5452
+ ...Object.values(circles43),
5453
+ {
5454
+ type: "text",
5455
+ text: "{REF}",
5456
+ x: -0,
5457
+ y: -0.3294553499999995
5170
5458
  },
5171
5459
  {
5172
5460
  type: "text",
5173
5461
  text: "{VAL}",
5174
5462
  x: 0,
5175
- y: 0.35,
5176
- anchor: "middle_bottom"
5463
+ y: 0.4294553499999995
5177
5464
  }
5178
5465
  ],
5179
5466
  ports: [
5180
- { ...refblocks32.left1, labels: ["1"] },
5181
- // TODO add more "standard" labels
5182
- { ...refblocks32.right1, labels: ["2"] }
5183
- // TODO add more "standard" labels
5467
+ { ...refblocks43.left1, labels: ["1"] },
5468
+ { ...refblocks43.right1, labels: ["2"] }
5184
5469
  ],
5185
- size: { width: bounds32.width, height: bounds32.height },
5186
- center: { x: bounds32.centerX, y: bounds32.centerY }
5187
- });
5470
+ size: { width: bounds43.width, height: bounds43.height },
5471
+ center: { x: bounds43.centerX, y: bounds43.centerY }
5472
+ }).changeTextAnchor("{VAL}", "middle_bottom").rotateRightFacingSymbol("left").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_bottom").build();
5473
+
5474
+ // symbols/dc_voltmeter_right.ts
5475
+ var { paths: paths44, texts: texts44, bounds: bounds44, refblocks: refblocks44, circles: circles44 } = dc_voltmeter_default;
5476
+ var dc_voltmeter_right_default = modifySymbol({
5477
+ primitives: [
5478
+ ...Object.values(paths44),
5479
+ ...Object.values(circles44),
5480
+ {
5481
+ type: "text",
5482
+ text: "{REF}",
5483
+ x: -0,
5484
+ y: 0.3894553499999995
5485
+ },
5486
+ {
5487
+ type: "text",
5488
+ text: "{VAL}",
5489
+ x: 0,
5490
+ y: -0.3294553499999995
5491
+ }
5492
+ ],
5493
+ ports: [
5494
+ { ...refblocks44.left1, labels: ["1"] },
5495
+ { ...refblocks44.right1, labels: ["2"] }
5496
+ ],
5497
+ size: { width: bounds44.width, height: bounds44.height },
5498
+ center: { x: bounds44.centerX, y: bounds44.centerY }
5499
+ }).changeTextAnchor("{VAL}", "middle_top").rotateRightFacingSymbol("right").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_bottom").build();
5500
+
5501
+ // symbols/dc_voltmeter_up.ts
5502
+ var { paths: paths45, texts: texts45, bounds: bounds45, refblocks: refblocks45, circles: circles45 } = dc_voltmeter_default;
5503
+ var dc_voltmeter_up_default = modifySymbol({
5504
+ primitives: [
5505
+ ...Object.values(paths45),
5506
+ ...Object.values(circles45),
5507
+ {
5508
+ type: "text",
5509
+ text: "{REF}",
5510
+ x: 0.15,
5511
+ y: -0.2894553499999995
5512
+ },
5513
+ {
5514
+ type: "text",
5515
+ text: "{VAL}",
5516
+ x: -0.15,
5517
+ y: -0.2894553499999995
5518
+ }
5519
+ ],
5520
+ ports: [
5521
+ { ...refblocks45.left1, labels: ["1"] },
5522
+ { ...refblocks45.right1, labels: ["2"] }
5523
+ ],
5524
+ size: { width: bounds45.width, height: bounds45.height },
5525
+ center: { x: bounds45.centerX, y: bounds45.centerY }
5526
+ }).rotateRightFacingSymbol("up").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_left").changeTextAnchor("{VAL}", "middle_left").build();
5188
5527
 
5189
5528
  // symbols/dc_voltmeter_vert.ts
5190
- var { 2: letter2, 3: underline2, ...rest2 } = dc_voltmeter_horz_default.primitives;
5191
- function isPrimitive2(value) {
5192
- return typeof value === "object";
5193
- }
5194
- var rotatedSymbol3 = rotateSymbol({
5195
- ...dc_voltmeter_horz_default,
5196
- primitives: Object.values(rest2).filter(isPrimitive2)
5197
- });
5198
- var dc_voltmeter_vert_default = {
5199
- ...rotatedSymbol3,
5200
- primitives: [...rotatedSymbol3.primitives, letter2, underline2]
5201
- };
5529
+ var { paths: paths46, texts: texts46, bounds: bounds46, refblocks: refblocks46, circles: circles46 } = dc_voltmeter_default;
5530
+ var dc_voltmeter_vert_default = modifySymbol({
5531
+ primitives: [
5532
+ ...Object.values(paths46),
5533
+ ...Object.values(circles46),
5534
+ {
5535
+ type: "text",
5536
+ text: "{REF}",
5537
+ x: 0.15,
5538
+ y: -0.2894553499999995
5539
+ },
5540
+ {
5541
+ type: "text",
5542
+ text: "{VAL}",
5543
+ x: -0.15,
5544
+ y: -0.2894553499999995
5545
+ }
5546
+ ],
5547
+ ports: [
5548
+ { ...refblocks46.left1, labels: ["1"] },
5549
+ { ...refblocks46.right1, labels: ["2"] }
5550
+ ],
5551
+ size: { width: bounds46.width, height: bounds46.height },
5552
+ center: { x: bounds46.centerX, y: bounds46.centerY }
5553
+ }).rotateRightFacingSymbol("up").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_left").changeTextAnchor("{VAL}", "middle_left").build();
5202
5554
 
5203
5555
  // assets/generated/diac.json
5204
5556
  var diac_default = {
@@ -5360,15 +5712,15 @@ var diac_default = {
5360
5712
  var diac_horz_default = modifySymbol(diac_default).changeTextAnchor("{VAL}", "middle_top").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_bottom").build();
5361
5713
 
5362
5714
  // symbols/diac_vert.ts
5363
- var rotatedSymbol4 = rotateSymbol(diac_horz_default);
5364
- var texts32 = rotatedSymbol4.primitives.filter(
5715
+ var rotatedSymbol2 = rotateSymbol(diac_horz_default);
5716
+ var texts47 = rotatedSymbol2.primitives.filter(
5365
5717
  (primitive) => primitive.type === "text"
5366
5718
  );
5367
- var ref2 = texts32.find((text) => text.text === "{REF}");
5368
- var val2 = texts32.find((text) => text.text === "{VAL}");
5719
+ var ref2 = texts47.find((text) => text.text === "{REF}");
5720
+ var val2 = texts47.find((text) => text.text === "{VAL}");
5369
5721
  ref2.y = 0;
5370
5722
  val2.y = 0;
5371
- var diac_vert_default = rotatedSymbol4;
5723
+ var diac_vert_default = rotatedSymbol2;
5372
5724
 
5373
5725
  // assets/generated/diode.json
5374
5726
  var diode_default = {
@@ -6642,11 +6994,11 @@ var ferrite_bead_default = {
6642
6994
  };
6643
6995
 
6644
6996
  // symbols/ferrite_bead_up.ts
6645
- var { paths: paths33, texts: texts33, bounds: bounds33, refblocks: refblocks33, circles: circles33 } = ferrite_bead_default;
6997
+ var { paths: paths47, texts: texts48, bounds: bounds47, refblocks: refblocks47, circles: circles47 } = ferrite_bead_default;
6646
6998
  var ferrite_bead_up_default = modifySymbol({
6647
6999
  primitives: [
6648
- ...Object.values(paths33),
6649
- ...Object.values(circles33),
7000
+ ...Object.values(paths47),
7001
+ ...Object.values(circles47),
6650
7002
  {
6651
7003
  type: "text",
6652
7004
  text: "{REF}",
@@ -6661,13 +7013,13 @@ var ferrite_bead_up_default = modifySymbol({
6661
7013
  }
6662
7014
  ],
6663
7015
  ports: [
6664
- { ...refblocks33.left1, labels: ["1"] },
7016
+ { ...refblocks47.left1, labels: ["1"] },
6665
7017
  // TODO add more "standard" labels
6666
- { ...refblocks33.right1, labels: ["2"] }
7018
+ { ...refblocks47.right1, labels: ["2"] }
6667
7019
  // TODO add more "standard" labels
6668
7020
  ],
6669
- size: { width: bounds33.width, height: bounds33.height },
6670
- center: { x: bounds33.centerX, y: bounds33.centerY }
7021
+ size: { width: bounds47.width, height: bounds47.height },
7022
+ center: { x: bounds47.centerX, y: bounds47.centerY }
6671
7023
  }).rotateRightFacingSymbol("up").labelPort("left", ["1"]).labelPort("right", ["2"]).changeTextAnchor("{REF}", "middle_left").changeTextAnchor("{VAL}", "middle_left").build();
6672
7024
 
6673
7025
  // symbols/ferrite_bead_down.ts
@@ -6900,11 +7252,11 @@ var frequency_meter_default = {
6900
7252
  };
6901
7253
 
6902
7254
  // symbols/frequency_meter_horz.ts
6903
- var { paths: paths34, texts: texts34, bounds: bounds34, refblocks: refblocks34, circles: circles34 } = frequency_meter_default;
7255
+ var { paths: paths48, texts: texts49, bounds: bounds48, refblocks: refblocks48, circles: circles48 } = frequency_meter_default;
6904
7256
  var frequency_meter_horz_default = defineSymbol({
6905
7257
  primitives: [
6906
- ...Object.values(paths34),
6907
- ...Object.values(circles34),
7258
+ ...Object.values(paths48),
7259
+ ...Object.values(circles48),
6908
7260
  {
6909
7261
  type: "text",
6910
7262
  text: "{REF}",
@@ -6919,30 +7271,30 @@ var frequency_meter_horz_default = defineSymbol({
6919
7271
  y: 0.35,
6920
7272
  anchor: "middle_bottom"
6921
7273
  },
6922
- { ...texts34.left1, x: 0, y: 0.01, anchor: "center", fontSize: 0.2 }
7274
+ { ...texts49.left1, x: 0, y: 0.01, anchor: "center", fontSize: 0.2 }
6923
7275
  ],
6924
7276
  ports: [
6925
- { ...refblocks34.left1, labels: ["1"] },
7277
+ { ...refblocks48.left1, labels: ["1"] },
6926
7278
  // TODO add more "standard" labels
6927
- { ...refblocks34.right1, labels: ["2"] }
7279
+ { ...refblocks48.right1, labels: ["2"] }
6928
7280
  // TODO add more "standard" labels
6929
7281
  ],
6930
- size: { width: bounds34.width, height: bounds34.height },
6931
- center: { x: bounds34.centerX, y: bounds34.centerY }
7282
+ size: { width: bounds48.width, height: bounds48.height },
7283
+ center: { x: bounds48.centerX, y: bounds48.centerY }
6932
7284
  });
6933
7285
 
6934
7286
  // symbols/frequency_meter_vert.ts
6935
- var { 5: letter3, ...rest3 } = frequency_meter_horz_default.primitives;
6936
- function isPrimitive3(value) {
7287
+ var { 5: letter2, ...rest2 } = frequency_meter_horz_default.primitives;
7288
+ function isPrimitive2(value) {
6937
7289
  return typeof value === "object";
6938
7290
  }
6939
- var rotatedSymbol5 = rotateSymbol({
7291
+ var rotatedSymbol3 = rotateSymbol({
6940
7292
  ...frequency_meter_horz_default,
6941
- primitives: Object.values(rest3).filter(isPrimitive3)
7293
+ primitives: Object.values(rest2).filter(isPrimitive2)
6942
7294
  });
6943
7295
  var frequency_meter_vert_default = {
6944
- ...rotatedSymbol5,
6945
- primitives: [...rotatedSymbol5.primitives, letter3]
7296
+ ...rotatedSymbol3,
7297
+ primitives: [...rotatedSymbol3.primitives, letter2]
6946
7298
  };
6947
7299
 
6948
7300
  // assets/generated/fuse.json
@@ -7033,11 +7385,11 @@ var fuse_default = {
7033
7385
  };
7034
7386
 
7035
7387
  // symbols/fuse_horz.ts
7036
- var { paths: paths35, texts: texts35, bounds: bounds35, refblocks: refblocks35 } = fuse_default;
7388
+ var { paths: paths49, texts: texts50, bounds: bounds49, refblocks: refblocks49 } = fuse_default;
7037
7389
  var fuse_horz_default = defineSymbol({
7038
7390
  primitives: [
7039
- ...Object.values(paths35),
7040
- { ...texts35.top1, anchor: "middle_bottom" },
7391
+ ...Object.values(paths49),
7392
+ { ...texts50.top1, anchor: "middle_bottom" },
7041
7393
  {
7042
7394
  type: "text",
7043
7395
  text: "{VAL}",
@@ -7047,13 +7399,13 @@ var fuse_horz_default = defineSymbol({
7047
7399
  }
7048
7400
  ],
7049
7401
  ports: [
7050
- { ...refblocks35.left1, labels: ["1"] },
7402
+ { ...refblocks49.left1, labels: ["1"] },
7051
7403
  // TODO add more "standard" labels
7052
- { ...refblocks35.right1, labels: ["2"] }
7404
+ { ...refblocks49.right1, labels: ["2"] }
7053
7405
  // TODO add more "standard" labels
7054
7406
  ],
7055
- size: { width: bounds35.width, height: bounds35.height },
7056
- center: { x: bounds35.centerX, y: bounds35.centerY }
7407
+ size: { width: bounds49.width, height: bounds49.height },
7408
+ center: { x: bounds49.centerX, y: bounds49.centerY }
7057
7409
  });
7058
7410
 
7059
7411
  // symbols/fuse_vert.ts
@@ -7230,10 +7582,10 @@ var ground2_default = {
7230
7582
  };
7231
7583
 
7232
7584
  // symbols/ground2_down.ts
7233
- var { paths: paths36, texts: texts36, bounds: bounds36, refblocks: refblocks36 } = ground2_default;
7585
+ var { paths: paths50, texts: texts51, bounds: bounds50, refblocks: refblocks50 } = ground2_default;
7234
7586
  var ground2_down_default = modifySymbol({
7235
7587
  primitives: [
7236
- ...Object.values(paths36),
7588
+ ...Object.values(paths50),
7237
7589
  {
7238
7590
  type: "text",
7239
7591
  text: "{REF}",
@@ -7242,18 +7594,18 @@ var ground2_down_default = modifySymbol({
7242
7594
  }
7243
7595
  ],
7244
7596
  ports: [
7245
- { ...refblocks36.left1, labels: ["1"] }
7597
+ { ...refblocks50.left1, labels: ["1"] }
7246
7598
  // TODO add more "standard" labels
7247
7599
  ],
7248
- center: { x: bounds36.centerX, y: bounds36.centerY }
7600
+ center: { x: bounds50.centerX, y: bounds50.centerY }
7249
7601
  }).rotateRightFacingSymbol("down").labelPort("left1", ["1"]).changeTextAnchor("{REF}", "middle_bottom").build();
7250
7602
 
7251
7603
  // symbols/ground2_left.ts
7252
- var { paths: paths37, texts: texts37, bounds: bounds37, refblocks: refblocks37, circles: circles35 } = ground2_default;
7604
+ var { paths: paths51, texts: texts52, bounds: bounds51, refblocks: refblocks51, circles: circles49 } = ground2_default;
7253
7605
  var ground2_left_default = modifySymbol({
7254
7606
  primitives: [
7255
- ...Object.values(paths37),
7256
- ...Object.values(circles35),
7607
+ ...Object.values(paths51),
7608
+ ...Object.values(circles49),
7257
7609
  {
7258
7610
  type: "text",
7259
7611
  text: "{REF}",
@@ -7262,18 +7614,18 @@ var ground2_left_default = modifySymbol({
7262
7614
  }
7263
7615
  ],
7264
7616
  ports: [
7265
- { ...refblocks37.left1, labels: ["1"] }
7617
+ { ...refblocks51.left1, labels: ["1"] }
7266
7618
  // TODO add more "standard" labels
7267
7619
  ],
7268
- center: { x: bounds37.centerX, y: bounds37.centerY }
7620
+ center: { x: bounds51.centerX, y: bounds51.centerY }
7269
7621
  }).rotateRightFacingSymbol("left").labelPort("left1", ["1"]).changeTextAnchor("{REF}", "middle_left").build();
7270
7622
 
7271
7623
  // symbols/ground2_right.ts
7272
- var { paths: paths38, texts: texts38, bounds: bounds38, refblocks: refblocks38, circles: circles36 } = ground2_default;
7624
+ var { paths: paths52, texts: texts53, bounds: bounds52, refblocks: refblocks52, circles: circles50 } = ground2_default;
7273
7625
  var ground2_right_default = modifySymbol({
7274
7626
  primitives: [
7275
- ...Object.values(paths38),
7276
- ...Object.values(circles36),
7627
+ ...Object.values(paths52),
7628
+ ...Object.values(circles50),
7277
7629
  {
7278
7630
  type: "text",
7279
7631
  text: "{REF}",
@@ -7282,18 +7634,18 @@ var ground2_right_default = modifySymbol({
7282
7634
  }
7283
7635
  ],
7284
7636
  ports: [
7285
- { ...refblocks38.left1, labels: ["1"] }
7637
+ { ...refblocks52.left1, labels: ["1"] }
7286
7638
  // TODO add more "standard" labels
7287
7639
  ],
7288
- center: { x: bounds38.centerX, y: bounds38.centerY }
7640
+ center: { x: bounds52.centerX, y: bounds52.centerY }
7289
7641
  }).changeTextAnchor("{VAL}", "middle_top").rotateRightFacingSymbol("right").labelPort("left1", ["1"]).changeTextAnchor("{REF}", "middle_right").build();
7290
7642
 
7291
7643
  // symbols/ground2_up.ts
7292
- var { paths: paths39, texts: texts39, bounds: bounds39, refblocks: refblocks39, circles: circles37 } = ground2_default;
7644
+ var { paths: paths53, texts: texts54, bounds: bounds53, refblocks: refblocks53, circles: circles51 } = ground2_default;
7293
7645
  var ground2_up_default = modifySymbol({
7294
7646
  primitives: [
7295
- ...Object.values(paths39),
7296
- ...Object.values(circles37),
7647
+ ...Object.values(paths53),
7648
+ ...Object.values(circles51),
7297
7649
  {
7298
7650
  type: "text",
7299
7651
  text: "{REF}",
@@ -7302,10 +7654,10 @@ var ground2_up_default = modifySymbol({
7302
7654
  }
7303
7655
  ],
7304
7656
  ports: [
7305
- { ...refblocks39.left1, labels: ["1"] }
7657
+ { ...refblocks53.left1, labels: ["1"] }
7306
7658
  // TODO add more "standard" labels
7307
7659
  ],
7308
- center: { x: bounds39.centerX, y: bounds39.centerY }
7660
+ center: { x: bounds53.centerX, y: bounds53.centerY }
7309
7661
  }).rotateRightFacingSymbol("up").labelPort("left1", ["1"]).changeTextAnchor("{REF}", "middle_top").build();
7310
7662
 
7311
7663
  // assets/generated/gunn_diode.json
@@ -7426,7 +7778,7 @@ var gunn_diode_default = {
7426
7778
  };
7427
7779
 
7428
7780
  // symbols/gunn_diode_horz.ts
7429
- var { paths: paths40, texts: texts40, bounds: bounds40, refblocks: refblocks40, circles: circles38 } = gunn_diode_default;
7781
+ var { paths: paths54, texts: texts55, bounds: bounds54, refblocks: refblocks54, circles: circles52 } = gunn_diode_default;
7430
7782
  var gunn_diode_horz_default = modifySymbol(gunn_diode_default).changeTextAnchor("{VAL}", "middle_top").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_bottom").build();
7431
7783
 
7432
7784
  // symbols/gunn_diode_vert.ts
@@ -8190,17 +8542,17 @@ var illuminated_push_button_normally_open_default = {
8190
8542
  var illuminated_push_button_normally_open_horz_default = modifySymbol(illuminated_push_button_normally_open_default).changeTextAnchor("{VAL}", "middle_top").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_bottom").build();
8191
8543
 
8192
8544
  // symbols/illuminated_push_button_normally_open_vert.ts
8193
- var rotatedSymbol6 = rotateSymbol(illuminated_push_button_normally_open_horz_default);
8194
- var texts41 = rotatedSymbol6.primitives.filter((p) => p.type === "text");
8195
- var val18 = texts41.find((t) => t.text === "{VAL}");
8545
+ var rotatedSymbol4 = rotateSymbol(illuminated_push_button_normally_open_horz_default);
8546
+ var texts56 = rotatedSymbol4.primitives.filter((p) => p.type === "text");
8547
+ var val18 = texts56.find((t) => t.text === "{VAL}");
8196
8548
  val18.x = -0.35;
8197
8549
  val18.y = 0;
8198
8550
  val18.anchor = "middle_right";
8199
- var ref18 = texts41.find((t) => t.text === "{REF}");
8551
+ var ref18 = texts56.find((t) => t.text === "{REF}");
8200
8552
  ref18.y = 0;
8201
8553
  ref18.x = 0.35;
8202
8554
  ref18.anchor = "middle_left";
8203
- var illuminated_push_button_normally_open_vert_default = rotatedSymbol6;
8555
+ var illuminated_push_button_normally_open_vert_default = rotatedSymbol4;
8204
8556
 
8205
8557
  // assets/generated/inductor.json
8206
8558
  var inductor_default = {
@@ -9598,22 +9950,22 @@ var inductor_default = {
9598
9950
  };
9599
9951
 
9600
9952
  // symbols/inductor_right.ts
9601
- var { paths: paths41, texts: texts42, bounds: bounds41, refblocks: refblocks41, circles: circles39 } = inductor_default;
9953
+ var { paths: paths55, texts: texts57, bounds: bounds55, refblocks: refblocks55, circles: circles53 } = inductor_default;
9602
9954
  var inductor_right_default = defineSymbol({
9603
9955
  primitives: [
9604
- ...Object.values(paths41),
9605
- ...Object.values(circles39),
9606
- { ...texts42.top1, anchor: "middle_bottom" },
9607
- { ...texts42.bottom1, anchor: "middle_top" }
9956
+ ...Object.values(paths55),
9957
+ ...Object.values(circles53),
9958
+ { ...texts57.top1, anchor: "middle_bottom" },
9959
+ { ...texts57.bottom1, anchor: "middle_top" }
9608
9960
  ],
9609
9961
  ports: [
9610
- { ...refblocks41.left1, labels: ["1"] },
9962
+ { ...refblocks55.left1, labels: ["1"] },
9611
9963
  // TODO add more "standard" labels
9612
- { ...refblocks41.right1, labels: ["2"] }
9964
+ { ...refblocks55.right1, labels: ["2"] }
9613
9965
  // TODO add more "standard" labels
9614
9966
  ],
9615
- size: { width: bounds41.width, height: bounds41.height },
9616
- center: { x: bounds41.centerX, y: bounds41.centerY }
9967
+ size: { width: bounds55.width, height: bounds55.height },
9968
+ center: { x: bounds55.centerX, y: bounds55.centerY }
9617
9969
  });
9618
9970
 
9619
9971
  // symbols/inductor_up.ts
@@ -10132,22 +10484,22 @@ var led_default = {
10132
10484
  };
10133
10485
 
10134
10486
  // symbols/led_right.ts
10135
- var { paths: paths42, texts: texts43, bounds: bounds42, refblocks: refblocks42, circles: circles40 } = led_default;
10487
+ var { paths: paths56, texts: texts58, bounds: bounds56, refblocks: refblocks56, circles: circles54 } = led_default;
10136
10488
  var led_right_default = defineSymbol({
10137
10489
  primitives: [
10138
- ...Object.values(paths42),
10139
- ...Object.values(circles40),
10140
- { ...texts43.bottom1, anchor: "middle_top" },
10141
- { ...texts43.right1, anchor: "middle_bottom" }
10490
+ ...Object.values(paths56),
10491
+ ...Object.values(circles54),
10492
+ { ...texts58.bottom1, anchor: "middle_top" },
10493
+ { ...texts58.right1, anchor: "middle_bottom" }
10142
10494
  ],
10143
10495
  ports: [
10144
- { ...refblocks42.left1, labels: ["1"] },
10496
+ { ...refblocks56.left1, labels: ["1"] },
10145
10497
  // TODO add more "standard" labels
10146
- { ...refblocks42.right1, labels: ["2"] }
10498
+ { ...refblocks56.right1, labels: ["2"] }
10147
10499
  // TODO add more "standard" labels
10148
10500
  ],
10149
- size: { width: bounds42.width, height: bounds42.height },
10150
- center: { x: bounds42.centerX, y: bounds42.centerY }
10501
+ size: { width: bounds56.width, height: bounds56.height },
10502
+ center: { x: bounds56.centerX, y: bounds56.centerY }
10151
10503
  });
10152
10504
 
10153
10505
  // symbols/led_up.ts
@@ -10410,36 +10762,36 @@ var light_dependent_resistor_default = {
10410
10762
  };
10411
10763
 
10412
10764
  // symbols/light_dependent_resistor_horz.ts
10413
- var { paths: paths43, texts: texts44, bounds: bounds43, refblocks: refblocks43, circles: circles41 } = light_dependent_resistor_default;
10765
+ var { paths: paths57, texts: texts59, bounds: bounds57, refblocks: refblocks57, circles: circles55 } = light_dependent_resistor_default;
10414
10766
  var light_dependent_resistor_horz_default = defineSymbol({
10415
10767
  primitives: [
10416
- ...Object.values(paths43),
10417
- ...Object.values(circles41),
10418
- { ...texts44.top1, anchor: "middle_left", x: 0 },
10419
- { ...texts44.bottom1, anchor: "middle_left", x: 0 }
10768
+ ...Object.values(paths57),
10769
+ ...Object.values(circles55),
10770
+ { ...texts59.top1, anchor: "middle_left", x: 0 },
10771
+ { ...texts59.bottom1, anchor: "middle_left", x: 0 }
10420
10772
  ],
10421
10773
  ports: [
10422
- { ...refblocks43.left1, labels: ["1"] },
10774
+ { ...refblocks57.left1, labels: ["1"] },
10423
10775
  // TODO add more "standard" labels
10424
- { ...refblocks43.right1, labels: ["2"] }
10776
+ { ...refblocks57.right1, labels: ["2"] }
10425
10777
  // TODO add more "standard" labels
10426
10778
  ],
10427
- size: { width: bounds43.width, height: bounds43.height },
10428
- center: { x: bounds43.centerX, y: bounds43.centerY }
10779
+ size: { width: bounds57.width, height: bounds57.height },
10780
+ center: { x: bounds57.centerX, y: bounds57.centerY }
10429
10781
  });
10430
10782
 
10431
10783
  // symbols/light_dependent_resistor_vert.ts
10432
- var rotatedSymbol7 = rotateSymbol(light_dependent_resistor_horz_default);
10433
- var texts45 = rotatedSymbol7.primitives.filter((p) => p.type === "text");
10434
- var val24 = texts45.find((t) => t.text === "{VAL}");
10784
+ var rotatedSymbol5 = rotateSymbol(light_dependent_resistor_horz_default);
10785
+ var texts60 = rotatedSymbol5.primitives.filter((p) => p.type === "text");
10786
+ var val24 = texts60.find((t) => t.text === "{VAL}");
10435
10787
  val24.x = -0.35;
10436
10788
  val24.y = 0;
10437
10789
  val24.anchor = "middle_right";
10438
- var ref24 = texts45.find((t) => t.text === "{REF}");
10790
+ var ref24 = texts60.find((t) => t.text === "{REF}");
10439
10791
  ref24.y = 0;
10440
10792
  ref24.x = 0.35;
10441
10793
  ref24.anchor = "middle_left";
10442
- var light_dependent_resistor_vert_default = rotatedSymbol7;
10794
+ var light_dependent_resistor_vert_default = rotatedSymbol5;
10443
10795
 
10444
10796
  // assets/generated/mosfet_depletion_normally_on.json
10445
10797
  var mosfet_depletion_normally_on_default = {
@@ -10712,23 +11064,23 @@ var mosfet_depletion_normally_on_default = {
10712
11064
  };
10713
11065
 
10714
11066
  // symbols/mosfet_depletion_normally_on_horz.ts
10715
- var { paths: paths44, texts: texts46, bounds: bounds44, refblocks: refblocks44 } = mosfet_depletion_normally_on_default;
11067
+ var { paths: paths58, texts: texts61, bounds: bounds58, refblocks: refblocks58 } = mosfet_depletion_normally_on_default;
10716
11068
  var mosfet_depletion_normally_on_horz_default = defineSymbol({
10717
11069
  primitives: [
10718
- ...Object.values(paths44),
10719
- { ...texts46.right1, anchor: "middle_left" },
10720
- { ...texts46.right2, anchor: "middle_left" }
11070
+ ...Object.values(paths58),
11071
+ { ...texts61.right1, anchor: "middle_left" },
11072
+ { ...texts61.right2, anchor: "middle_left" }
10721
11073
  ],
10722
11074
  ports: [
10723
- { ...refblocks44.top1, labels: ["1"] },
11075
+ { ...refblocks58.top1, labels: ["1"] },
10724
11076
  // TODO add more "standard" labels
10725
- { ...refblocks44.bottom1, labels: ["2"] },
11077
+ { ...refblocks58.bottom1, labels: ["2"] },
10726
11078
  // TODO add more "standard" labels
10727
- { ...refblocks44.left1, labels: ["3"] }
11079
+ { ...refblocks58.left1, labels: ["3"] }
10728
11080
  // TODO add more "standard" labels
10729
11081
  ],
10730
- size: { width: bounds44.width + 0.4, height: bounds44.height },
10731
- center: { x: bounds44.centerX + 0.2, y: bounds44.centerY }
11082
+ size: { width: bounds58.width + 0.4, height: bounds58.height },
11083
+ center: { x: bounds58.centerX + 0.2, y: bounds58.centerY }
10732
11084
  });
10733
11085
 
10734
11086
  // symbols/mosfet_depletion_normally_on_vert.ts
@@ -11354,20 +11706,20 @@ var mushroom_head_normally_open_momentary_default = {
11354
11706
  };
11355
11707
 
11356
11708
  // symbols/mushroom_head_normally_open_momentary_horz.ts
11357
- var { paths: paths45, texts: texts47, bounds: bounds45, refblocks: refblocks45, circles: circles42 } = mushroom_head_normally_open_momentary_default;
11709
+ var { paths: paths59, texts: texts62, bounds: bounds59, refblocks: refblocks59, circles: circles56 } = mushroom_head_normally_open_momentary_default;
11358
11710
  var mushroom_head_normally_open_momentary_horz_default = defineSymbol({
11359
11711
  primitives: [
11360
- ...Object.values(paths45),
11361
- ...Object.values(circles42),
11362
- { ...texts47.top1, anchor: "middle_bottom", x: 0 },
11363
- { ...texts47.bottom1, anchor: "middle_top", x: 0 }
11712
+ ...Object.values(paths59),
11713
+ ...Object.values(circles56),
11714
+ { ...texts62.top1, anchor: "middle_bottom", x: 0 },
11715
+ { ...texts62.bottom1, anchor: "middle_top", x: 0 }
11364
11716
  ],
11365
11717
  ports: [
11366
- { ...refblocks45.left1, labels: ["1"] },
11367
- { ...refblocks45.right1, labels: ["2"] }
11718
+ { ...refblocks59.left1, labels: ["1"] },
11719
+ { ...refblocks59.right1, labels: ["2"] }
11368
11720
  ],
11369
- size: { width: bounds45.width, height: bounds45.height },
11370
- center: { x: bounds45.centerX + 6e-3, y: bounds45.centerY + 0.06 }
11721
+ size: { width: bounds59.width, height: bounds59.height },
11722
+ center: { x: bounds59.centerX + 6e-3, y: bounds59.centerY + 0.06 }
11371
11723
  });
11372
11724
 
11373
11725
  // symbols/mushroom_head_normally_open_momentary_vert.ts
@@ -11584,38 +11936,38 @@ var n_channel_d_mosfet_transistor_default = {
11584
11936
  };
11585
11937
 
11586
11938
  // symbols/n_channel_d_mosfet_transistor_horz.ts
11587
- var { paths: paths46, texts: texts48, bounds: bounds46, refblocks: refblocks46, circles: circles43 } = n_channel_d_mosfet_transistor_default;
11939
+ var { paths: paths60, texts: texts63, bounds: bounds60, refblocks: refblocks60, circles: circles57 } = n_channel_d_mosfet_transistor_default;
11588
11940
  var n_channel_d_mosfet_transistor_horz_default = defineSymbol({
11589
11941
  primitives: [
11590
- ...Object.values(paths46),
11591
- ...Object.values(circles43),
11592
- { ...texts48.top1, anchor: "middle_right", x: 0 },
11593
- { ...texts48.bottom1, anchor: "middle_right", x: 0 }
11942
+ ...Object.values(paths60),
11943
+ ...Object.values(circles57),
11944
+ { ...texts63.top1, anchor: "middle_right", x: 0 },
11945
+ { ...texts63.bottom1, anchor: "middle_right", x: 0 }
11594
11946
  ],
11595
11947
  ports: [
11596
- { ...refblocks46.top1, labels: ["1", "drain"] },
11948
+ { ...refblocks60.top1, labels: ["1", "drain"] },
11597
11949
  // TODO add more "standard" labels
11598
- { ...refblocks46.bottom1, labels: ["2", "source"] },
11950
+ { ...refblocks60.bottom1, labels: ["2", "source"] },
11599
11951
  // TODO add more "standard" labels
11600
- { ...refblocks46.left1, labels: ["3", "gate"] }
11952
+ { ...refblocks60.left1, labels: ["3", "gate"] }
11601
11953
  // TODO add more "standard" labels
11602
11954
  ],
11603
- size: { width: bounds46.width, height: bounds46.height },
11604
- center: { x: bounds46.centerX, y: bounds46.centerY }
11955
+ size: { width: bounds60.width, height: bounds60.height },
11956
+ center: { x: bounds60.centerX, y: bounds60.centerY }
11605
11957
  });
11606
11958
 
11607
11959
  // symbols/n_channel_d_mosfet_transistor_vert.ts
11608
- var rotatedSymbol8 = rotateSymbol(n_channel_d_mosfet_transistor_horz_default);
11609
- var texts49 = rotatedSymbol8.primitives.filter((p) => p.type === "text");
11610
- var val27 = texts49.find((t) => t.text === "{VAL}");
11960
+ var rotatedSymbol6 = rotateSymbol(n_channel_d_mosfet_transistor_horz_default);
11961
+ var texts64 = rotatedSymbol6.primitives.filter((p) => p.type === "text");
11962
+ var val27 = texts64.find((t) => t.text === "{VAL}");
11611
11963
  val27.x = -0.35;
11612
11964
  val27.y = 0;
11613
11965
  val27.anchor = "middle_right";
11614
- var ref27 = texts49.find((t) => t.text === "{REF}");
11966
+ var ref27 = texts64.find((t) => t.text === "{REF}");
11615
11967
  ref27.y = 0;
11616
11968
  ref27.x = 0.35;
11617
11969
  ref27.anchor = "middle_left";
11618
- var n_channel_d_mosfet_transistor_vert_default = rotatedSymbol8;
11970
+ var n_channel_d_mosfet_transistor_vert_default = rotatedSymbol6;
11619
11971
 
11620
11972
  // assets/generated/n_channel_e_mosfet_transistor.json
11621
11973
  var n_channel_e_mosfet_transistor_default = {
@@ -11845,38 +12197,38 @@ var n_channel_e_mosfet_transistor_default = {
11845
12197
  };
11846
12198
 
11847
12199
  // symbols/n_channel_e_mosfet_transistor_horz.ts
11848
- var { paths: paths47, texts: texts50, bounds: bounds47, refblocks: refblocks47, circles: circles44 } = n_channel_e_mosfet_transistor_default;
12200
+ var { paths: paths61, texts: texts65, bounds: bounds61, refblocks: refblocks61, circles: circles58 } = n_channel_e_mosfet_transistor_default;
11849
12201
  var n_channel_e_mosfet_transistor_horz_default = defineSymbol({
11850
12202
  primitives: [
11851
- ...Object.values(paths47),
11852
- ...Object.values(circles44),
11853
- { ...texts50.top1, anchor: "middle_right", x: 0 },
11854
- { ...texts50.bottom1, anchor: "middle_right", x: 0 }
12203
+ ...Object.values(paths61),
12204
+ ...Object.values(circles58),
12205
+ { ...texts65.top1, anchor: "middle_right", x: 0 },
12206
+ { ...texts65.bottom1, anchor: "middle_right", x: 0 }
11855
12207
  ],
11856
12208
  ports: [
11857
- { ...refblocks47.top1, labels: ["1", "drain"] },
12209
+ { ...refblocks61.top1, labels: ["1", "drain"] },
11858
12210
  // TODO add more "standard" labels
11859
- { ...refblocks47.bottom1, labels: ["2", "source"] },
12211
+ { ...refblocks61.bottom1, labels: ["2", "source"] },
11860
12212
  // TODO add more "standard" labels
11861
- { ...refblocks47.left1, labels: ["3", "gate"] }
12213
+ { ...refblocks61.left1, labels: ["3", "gate"] }
11862
12214
  // TODO add more "standard" labels
11863
12215
  ],
11864
- size: { width: bounds47.width, height: bounds47.height },
11865
- center: { x: bounds47.centerX, y: bounds47.centerY }
12216
+ size: { width: bounds61.width, height: bounds61.height },
12217
+ center: { x: bounds61.centerX, y: bounds61.centerY }
11866
12218
  });
11867
12219
 
11868
12220
  // symbols/n_channel_e_mosfet_transistor_vert.ts
11869
- var rotatedSymbol9 = rotateSymbol(n_channel_e_mosfet_transistor_horz_default);
11870
- var texts51 = rotatedSymbol9.primitives.filter((p) => p.type === "text");
11871
- var val28 = texts51.find((t) => t.text === "{VAL}");
12221
+ var rotatedSymbol7 = rotateSymbol(n_channel_e_mosfet_transistor_horz_default);
12222
+ var texts66 = rotatedSymbol7.primitives.filter((p) => p.type === "text");
12223
+ var val28 = texts66.find((t) => t.text === "{VAL}");
11872
12224
  val28.x = -0.35;
11873
12225
  val28.y = 0;
11874
12226
  val28.anchor = "middle_right";
11875
- var ref28 = texts51.find((t) => t.text === "{REF}");
12227
+ var ref28 = texts66.find((t) => t.text === "{REF}");
11876
12228
  ref28.y = 0;
11877
12229
  ref28.x = 0.35;
11878
12230
  ref28.anchor = "middle_left";
11879
- var n_channel_e_mosfet_transistor_vert_default = rotatedSymbol9;
12231
+ var n_channel_e_mosfet_transistor_vert_default = rotatedSymbol7;
11880
12232
 
11881
12233
  // assets/generated/njfet_transistor.json
11882
12234
  var njfet_transistor_default = {
@@ -12046,38 +12398,38 @@ var njfet_transistor_default = {
12046
12398
  };
12047
12399
 
12048
12400
  // symbols/njfet_transistor_horz.ts
12049
- var { paths: paths48, texts: texts52, bounds: bounds48, refblocks: refblocks48, circles: circles45 } = njfet_transistor_default;
12401
+ var { paths: paths62, texts: texts67, bounds: bounds62, refblocks: refblocks62, circles: circles59 } = njfet_transistor_default;
12050
12402
  var njfet_transistor_horz_default = defineSymbol({
12051
12403
  primitives: [
12052
- ...Object.values(paths48),
12053
- ...Object.values(circles45),
12054
- { ...texts52.top1, anchor: "middle_right", x: 0 },
12055
- { ...texts52.bottom1, anchor: "middle_right", x: 0 }
12404
+ ...Object.values(paths62),
12405
+ ...Object.values(circles59),
12406
+ { ...texts67.top1, anchor: "middle_right", x: 0 },
12407
+ { ...texts67.bottom1, anchor: "middle_right", x: 0 }
12056
12408
  ],
12057
12409
  ports: [
12058
- { ...refblocks48.top1, labels: ["1", "drain"] },
12410
+ { ...refblocks62.top1, labels: ["1", "drain"] },
12059
12411
  // TODO add more "standard" labels
12060
- { ...refblocks48.bottom1, labels: ["2", "source"] },
12412
+ { ...refblocks62.bottom1, labels: ["2", "source"] },
12061
12413
  // TODO add more "standard" labels
12062
- { ...refblocks48.left1, labels: ["3", "gate"] }
12414
+ { ...refblocks62.left1, labels: ["3", "gate"] }
12063
12415
  // TODO add more "standard" labels
12064
12416
  ],
12065
- size: { width: bounds48.width, height: bounds48.height },
12066
- center: { x: bounds48.centerX, y: bounds48.centerY }
12417
+ size: { width: bounds62.width, height: bounds62.height },
12418
+ center: { x: bounds62.centerX, y: bounds62.centerY }
12067
12419
  });
12068
12420
 
12069
12421
  // symbols/njfet_transistor_vert.ts
12070
- var rotatedSymbol10 = rotateSymbol(njfet_transistor_horz_default);
12071
- var texts53 = rotatedSymbol10.primitives.filter((p) => p.type === "text");
12072
- var val29 = texts53.find((t) => t.text === "{VAL}");
12422
+ var rotatedSymbol8 = rotateSymbol(njfet_transistor_horz_default);
12423
+ var texts68 = rotatedSymbol8.primitives.filter((p) => p.type === "text");
12424
+ var val29 = texts68.find((t) => t.text === "{VAL}");
12073
12425
  val29.x = -0.35;
12074
12426
  val29.y = 0;
12075
12427
  val29.anchor = "middle_right";
12076
- var ref29 = texts53.find((t) => t.text === "{REF}");
12428
+ var ref29 = texts68.find((t) => t.text === "{REF}");
12077
12429
  ref29.y = 0;
12078
12430
  ref29.x = 0.35;
12079
12431
  ref29.anchor = "middle_left";
12080
- var njfet_transistor_vert_default = rotatedSymbol10;
12432
+ var njfet_transistor_vert_default = rotatedSymbol8;
12081
12433
 
12082
12434
  // assets/generated/not_connected.json
12083
12435
  var not_connected_default = {
@@ -12128,11 +12480,11 @@ var not_connected_default = {
12128
12480
  };
12129
12481
 
12130
12482
  // symbols/not_connected_right.ts
12131
- var { paths: paths49, bounds: bounds49, refblocks: refblocks49 } = not_connected_default;
12483
+ var { paths: paths63, bounds: bounds63, refblocks: refblocks63 } = not_connected_default;
12132
12484
  var not_connected_right_default = modifySymbol({
12133
- primitives: [...Object.values(paths49)],
12134
- ports: [{ ...refblocks49.left1, labels: ["1"] }],
12135
- center: { x: bounds49.centerX, y: bounds49.centerY }
12485
+ primitives: [...Object.values(paths63)],
12486
+ ports: [{ ...refblocks63.left1, labels: ["1"] }],
12487
+ center: { x: bounds63.centerX, y: bounds63.centerY }
12136
12488
  }).rotateRightFacingSymbol("right").labelPort("left1", ["1"]).build();
12137
12489
 
12138
12490
  // symbols/not_connected_down.ts
@@ -12312,11 +12664,11 @@ var npn_bipolar_transistor_default = {
12312
12664
  };
12313
12665
 
12314
12666
  // symbols/npn_bipolar_transistor_down.ts
12315
- var { paths: paths50, texts: texts54, bounds: bounds50, refblocks: refblocks50, circles: circles46 } = npn_bipolar_transistor_default;
12667
+ var { paths: paths64, texts: texts69, bounds: bounds64, refblocks: refblocks64, circles: circles60 } = npn_bipolar_transistor_default;
12316
12668
  var npn_bipolar_transistor_down_default = modifySymbol({
12317
12669
  primitives: [
12318
- ...Object.values(paths50),
12319
- ...Object.values(circles46),
12670
+ ...Object.values(paths64),
12671
+ ...Object.values(circles60),
12320
12672
  {
12321
12673
  type: "text",
12322
12674
  text: "{REF}",
@@ -12331,24 +12683,24 @@ var npn_bipolar_transistor_down_default = modifySymbol({
12331
12683
  }
12332
12684
  ],
12333
12685
  ports: [
12334
- { ...refblocks50.top1, labels: ["1"] },
12335
- { ...refblocks50.bottom1, labels: ["3"] },
12336
- { ...refblocks50.left1, labels: ["2"] }
12686
+ { ...refblocks64.top1, labels: ["1"] },
12687
+ { ...refblocks64.bottom1, labels: ["3"] },
12688
+ { ...refblocks64.left1, labels: ["2"] }
12337
12689
  ],
12338
- size: { width: bounds50.width, height: bounds50.height },
12339
- center: { x: bounds50.centerX, y: bounds50.centerY }
12690
+ size: { width: bounds64.width, height: bounds64.height },
12691
+ center: { x: bounds64.centerX, y: bounds64.centerY }
12340
12692
  }).rotateRightFacingSymbol("right").changeTextAnchor("{REF}", "middle_right").changeTextAnchor("{VAL}", "middle_right").build();
12341
12693
 
12342
12694
  // symbols/npn_bipolar_transistor_horz.ts
12343
- var { paths: paths51, texts: texts55, bounds: bounds51, refblocks: refblocks51, circles: circles47 } = npn_bipolar_transistor_default;
12695
+ var { paths: paths65, texts: texts70, bounds: bounds65, refblocks: refblocks65, circles: circles61 } = npn_bipolar_transistor_default;
12344
12696
  var npn_bipolar_transistor_horz_default = modifySymbol(npn_bipolar_transistor_default).rotateRightFacingSymbol("up").changeTextAnchor("{VAL}", "middle_left").labelPort("left1", ["2"]).labelPort("top1", ["1"]).labelPort("bottom1", ["3"]).changeTextAnchor("{REF}", "middle_right").build();
12345
12697
 
12346
12698
  // symbols/npn_bipolar_transistor_left.ts
12347
- var { paths: paths52, texts: texts56, bounds: bounds52, refblocks: refblocks52, circles: circles48 } = npn_bipolar_transistor_default;
12699
+ var { paths: paths66, texts: texts71, bounds: bounds66, refblocks: refblocks66, circles: circles62 } = npn_bipolar_transistor_default;
12348
12700
  var npn_bipolar_transistor_left_default = modifySymbol({
12349
12701
  primitives: [
12350
- ...Object.values(paths52),
12351
- ...Object.values(circles48),
12702
+ ...Object.values(paths66),
12703
+ ...Object.values(circles62),
12352
12704
  {
12353
12705
  type: "text",
12354
12706
  text: "{REF}",
@@ -12363,20 +12715,20 @@ var npn_bipolar_transistor_left_default = modifySymbol({
12363
12715
  }
12364
12716
  ],
12365
12717
  ports: [
12366
- { ...refblocks52.top1, labels: ["1"] },
12367
- { ...refblocks52.bottom1, labels: ["3"] },
12368
- { ...refblocks52.left1, labels: ["2"] }
12718
+ { ...refblocks66.top1, labels: ["1"] },
12719
+ { ...refblocks66.bottom1, labels: ["3"] },
12720
+ { ...refblocks66.left1, labels: ["2"] }
12369
12721
  ],
12370
- size: { width: bounds52.width, height: bounds52.height },
12371
- center: { x: bounds52.centerX, y: bounds52.centerY }
12722
+ size: { width: bounds66.width, height: bounds66.height },
12723
+ center: { x: bounds66.centerX, y: bounds66.centerY }
12372
12724
  }).rotateRightFacingSymbol("down").changeTextAnchor("{REF}", "middle_bottom").changeTextAnchor("{VAL}", "middle_bottom").build();
12373
12725
 
12374
12726
  // symbols/npn_bipolar_transistor_right.ts
12375
- var { paths: paths53, texts: texts57, bounds: bounds53, refblocks: refblocks53, circles: circles49 } = npn_bipolar_transistor_default;
12727
+ var { paths: paths67, texts: texts72, bounds: bounds67, refblocks: refblocks67, circles: circles63 } = npn_bipolar_transistor_default;
12376
12728
  var npn_bipolar_transistor_right_default = modifySymbol({
12377
12729
  primitives: [
12378
- ...Object.values(paths53),
12379
- ...Object.values(circles49),
12730
+ ...Object.values(paths67),
12731
+ ...Object.values(circles63),
12380
12732
  {
12381
12733
  type: "text",
12382
12734
  text: "{REF}",
@@ -12391,20 +12743,20 @@ var npn_bipolar_transistor_right_default = modifySymbol({
12391
12743
  }
12392
12744
  ],
12393
12745
  ports: [
12394
- { ...refblocks53.top1, labels: ["1"] },
12395
- { ...refblocks53.bottom1, labels: ["3"] },
12396
- { ...refblocks53.left1, labels: ["2"] }
12746
+ { ...refblocks67.top1, labels: ["1"] },
12747
+ { ...refblocks67.bottom1, labels: ["3"] },
12748
+ { ...refblocks67.left1, labels: ["2"] }
12397
12749
  ],
12398
- size: { width: bounds53.width, height: bounds53.height },
12399
- center: { x: bounds53.centerX, y: bounds53.centerY }
12750
+ size: { width: bounds67.width, height: bounds67.height },
12751
+ center: { x: bounds67.centerX, y: bounds67.centerY }
12400
12752
  }).rotateRightFacingSymbol("up").changeTextAnchor("{REF}", "middle_top").changeTextAnchor("{VAL}", "middle_top").build();
12401
12753
 
12402
12754
  // symbols/npn_bipolar_transistor_up.ts
12403
- var { paths: paths54, texts: texts58, bounds: bounds54, refblocks: refblocks54, circles: circles50 } = npn_bipolar_transistor_default;
12755
+ var { paths: paths68, texts: texts73, bounds: bounds68, refblocks: refblocks68, circles: circles64 } = npn_bipolar_transistor_default;
12404
12756
  var npn_bipolar_transistor_up_default = modifySymbol({
12405
12757
  primitives: [
12406
- ...Object.values(paths54),
12407
- ...Object.values(circles50),
12758
+ ...Object.values(paths68),
12759
+ ...Object.values(circles64),
12408
12760
  {
12409
12761
  type: "text",
12410
12762
  text: "{REF}",
@@ -12419,20 +12771,20 @@ var npn_bipolar_transistor_up_default = modifySymbol({
12419
12771
  }
12420
12772
  ],
12421
12773
  ports: [
12422
- { ...refblocks54.top1, labels: ["1"] },
12423
- { ...refblocks54.bottom1, labels: ["3"] },
12424
- { ...refblocks54.left1, labels: ["2"] }
12774
+ { ...refblocks68.top1, labels: ["1"] },
12775
+ { ...refblocks68.bottom1, labels: ["3"] },
12776
+ { ...refblocks68.left1, labels: ["2"] }
12425
12777
  ],
12426
- size: { width: bounds54.width, height: bounds54.height },
12427
- center: { x: bounds54.centerX, y: bounds54.centerY }
12778
+ size: { width: bounds68.width, height: bounds68.height },
12779
+ center: { x: bounds68.centerX, y: bounds68.centerY }
12428
12780
  }).rotateRightFacingSymbol("left").changeTextAnchor("{REF}", "middle_left").changeTextAnchor("{VAL}", "middle_left").build();
12429
12781
 
12430
12782
  // symbols/npn_bipolar_transistor_vert.ts
12431
- var { paths: paths55, texts: texts59, bounds: bounds55, refblocks: refblocks55, circles: circles51 } = npn_bipolar_transistor_default;
12783
+ var { paths: paths69, texts: texts74, bounds: bounds69, refblocks: refblocks69, circles: circles65 } = npn_bipolar_transistor_default;
12432
12784
  var npn_bipolar_transistor_vert_default = modifySymbol({
12433
12785
  primitives: [
12434
- ...Object.values(paths55),
12435
- ...Object.values(circles51),
12786
+ ...Object.values(paths69),
12787
+ ...Object.values(circles65),
12436
12788
  {
12437
12789
  type: "text",
12438
12790
  text: "{REF}",
@@ -12447,12 +12799,12 @@ var npn_bipolar_transistor_vert_default = modifySymbol({
12447
12799
  }
12448
12800
  ],
12449
12801
  ports: [
12450
- { ...refblocks55.top1, labels: ["1"] },
12451
- { ...refblocks55.bottom1, labels: ["3"] },
12452
- { ...refblocks55.left1, labels: ["2"] }
12802
+ { ...refblocks69.top1, labels: ["1"] },
12803
+ { ...refblocks69.bottom1, labels: ["3"] },
12804
+ { ...refblocks69.left1, labels: ["2"] }
12453
12805
  ],
12454
- size: { width: bounds55.width, height: bounds55.height },
12455
- center: { x: bounds55.centerX, y: bounds55.centerY }
12806
+ size: { width: bounds69.width, height: bounds69.height },
12807
+ center: { x: bounds69.centerX, y: bounds69.centerY }
12456
12808
  }).rotateRightFacingSymbol("left").changeTextAnchor("{REF}", "middle_left").changeTextAnchor("{VAL}", "middle_left").build();
12457
12809
 
12458
12810
  // assets/generated/opamp_no_power.json
@@ -13075,38 +13427,38 @@ var p_channel_d_mosfet_transistor_default = {
13075
13427
  };
13076
13428
 
13077
13429
  // symbols/p_channel_d_mosfet_transistor_horz.ts
13078
- var { paths: paths56, texts: texts60, bounds: bounds56, refblocks: refblocks56, circles: circles52 } = p_channel_d_mosfet_transistor_default;
13430
+ var { paths: paths70, texts: texts75, bounds: bounds70, refblocks: refblocks70, circles: circles66 } = p_channel_d_mosfet_transistor_default;
13079
13431
  var p_channel_d_mosfet_transistor_horz_default = defineSymbol({
13080
13432
  primitives: [
13081
- ...Object.values(paths56),
13082
- ...Object.values(circles52),
13083
- { ...texts60.top1, anchor: "middle_right", x: 0 },
13084
- { ...texts60.bottom1, anchor: "middle_right", x: 0 }
13433
+ ...Object.values(paths70),
13434
+ ...Object.values(circles66),
13435
+ { ...texts75.top1, anchor: "middle_right", x: 0 },
13436
+ { ...texts75.bottom1, anchor: "middle_right", x: 0 }
13085
13437
  ],
13086
13438
  ports: [
13087
- { ...refblocks56.top1, labels: ["1", "drain"] },
13439
+ { ...refblocks70.top1, labels: ["1", "drain"] },
13088
13440
  // TODO add more "standard" labels
13089
- { ...refblocks56.bottom1, labels: ["2", "source"] },
13441
+ { ...refblocks70.bottom1, labels: ["2", "source"] },
13090
13442
  // TODO add more "standard" labels
13091
- { ...refblocks56.left1, labels: ["3", "gate"] }
13443
+ { ...refblocks70.left1, labels: ["3", "gate"] }
13092
13444
  // TODO add more "standard" labels
13093
13445
  ],
13094
- size: { width: bounds56.width, height: bounds56.height },
13095
- center: { x: bounds56.centerX, y: bounds56.centerY }
13446
+ size: { width: bounds70.width, height: bounds70.height },
13447
+ center: { x: bounds70.centerX, y: bounds70.centerY }
13096
13448
  });
13097
13449
 
13098
13450
  // symbols/p_channel_d_mosfet_transistor_vert.ts
13099
- var rotatedSymbol11 = rotateSymbol(p_channel_d_mosfet_transistor_horz_default);
13100
- var texts61 = rotatedSymbol11.primitives.filter((p) => p.type === "text");
13101
- var val30 = texts61.find((t) => t.text === "{VAL}");
13451
+ var rotatedSymbol9 = rotateSymbol(p_channel_d_mosfet_transistor_horz_default);
13452
+ var texts76 = rotatedSymbol9.primitives.filter((p) => p.type === "text");
13453
+ var val30 = texts76.find((t) => t.text === "{VAL}");
13102
13454
  val30.x = -0.35;
13103
13455
  val30.y = 0;
13104
13456
  val30.anchor = "middle_right";
13105
- var ref30 = texts61.find((t) => t.text === "{REF}");
13457
+ var ref30 = texts76.find((t) => t.text === "{REF}");
13106
13458
  ref30.y = 0;
13107
13459
  ref30.x = 0.35;
13108
13460
  ref30.anchor = "middle_left";
13109
- var p_channel_d_mosfet_transistor_vert_default = rotatedSymbol11;
13461
+ var p_channel_d_mosfet_transistor_vert_default = rotatedSymbol9;
13110
13462
 
13111
13463
  // assets/generated/p_channel_e_mosfet_transistor.json
13112
13464
  var p_channel_e_mosfet_transistor_default = {
@@ -13336,38 +13688,38 @@ var p_channel_e_mosfet_transistor_default = {
13336
13688
  };
13337
13689
 
13338
13690
  // symbols/p_channel_e_mosfet_transistor_horz.ts
13339
- var { paths: paths57, texts: texts62, bounds: bounds57, refblocks: refblocks57, circles: circles53 } = p_channel_e_mosfet_transistor_default;
13691
+ var { paths: paths71, texts: texts77, bounds: bounds71, refblocks: refblocks71, circles: circles67 } = p_channel_e_mosfet_transistor_default;
13340
13692
  var p_channel_e_mosfet_transistor_horz_default = defineSymbol({
13341
13693
  primitives: [
13342
- ...Object.values(paths57),
13343
- ...Object.values(circles53),
13344
- { ...texts62.top1, anchor: "middle_right", x: 0 },
13345
- { ...texts62.bottom1, anchor: "middle_right", x: 0 }
13694
+ ...Object.values(paths71),
13695
+ ...Object.values(circles67),
13696
+ { ...texts77.top1, anchor: "middle_right", x: 0 },
13697
+ { ...texts77.bottom1, anchor: "middle_right", x: 0 }
13346
13698
  ],
13347
13699
  ports: [
13348
- { ...refblocks57.top1, labels: ["1", "drain"] },
13700
+ { ...refblocks71.top1, labels: ["1", "drain"] },
13349
13701
  // TODO add more "standard" labels
13350
- { ...refblocks57.bottom1, labels: ["2", "source"] },
13702
+ { ...refblocks71.bottom1, labels: ["2", "source"] },
13351
13703
  // TODO add more "standard" labels
13352
- { ...refblocks57.left1, labels: ["3", "gate"] }
13704
+ { ...refblocks71.left1, labels: ["3", "gate"] }
13353
13705
  // TODO add more "standard" labels
13354
13706
  ],
13355
- size: { width: bounds57.width, height: bounds57.height },
13356
- center: { x: bounds57.centerX, y: bounds57.centerY }
13707
+ size: { width: bounds71.width, height: bounds71.height },
13708
+ center: { x: bounds71.centerX, y: bounds71.centerY }
13357
13709
  });
13358
13710
 
13359
13711
  // symbols/p_channel_e_mosfet_transistor_vert.ts
13360
- var rotatedSymbol12 = rotateSymbol(p_channel_e_mosfet_transistor_horz_default);
13361
- var texts63 = rotatedSymbol12.primitives.filter((p) => p.type === "text");
13362
- var val31 = texts63.find((t) => t.text === "{VAL}");
13712
+ var rotatedSymbol10 = rotateSymbol(p_channel_e_mosfet_transistor_horz_default);
13713
+ var texts78 = rotatedSymbol10.primitives.filter((p) => p.type === "text");
13714
+ var val31 = texts78.find((t) => t.text === "{VAL}");
13363
13715
  val31.x = -0.35;
13364
13716
  val31.y = 0;
13365
13717
  val31.anchor = "middle_right";
13366
- var ref31 = texts63.find((t) => t.text === "{REF}");
13718
+ var ref31 = texts78.find((t) => t.text === "{REF}");
13367
13719
  ref31.y = 0;
13368
13720
  ref31.x = 0.35;
13369
13721
  ref31.anchor = "middle_left";
13370
- var p_channel_e_mosfet_transistor_vert_default = rotatedSymbol12;
13722
+ var p_channel_e_mosfet_transistor_vert_default = rotatedSymbol10;
13371
13723
 
13372
13724
  // assets/generated/photodiode.json
13373
13725
  var photodiode_default = {
@@ -13597,12 +13949,12 @@ var photodiode_default = {
13597
13949
  var photodiode_horz_default = modifySymbol(photodiode_default).changeTextAnchor("{VAL}", "middle_top").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_bottom").build();
13598
13950
 
13599
13951
  // symbols/photodiode_vert.ts
13600
- var rotatedSymbol13 = rotateSymbol(photodiode_horz_default);
13601
- var texts64 = rotatedSymbol13.primitives.filter((p) => p.type === "text");
13602
- var ref32 = texts64.find((t) => t.text === "{REF}");
13952
+ var rotatedSymbol11 = rotateSymbol(photodiode_horz_default);
13953
+ var texts79 = rotatedSymbol11.primitives.filter((p) => p.type === "text");
13954
+ var ref32 = texts79.find((t) => t.text === "{REF}");
13603
13955
  ref32.y = 0;
13604
13956
  ref32.anchor = "middle_left";
13605
- var photodiode_vert_default = rotatedSymbol13;
13957
+ var photodiode_vert_default = rotatedSymbol11;
13606
13958
 
13607
13959
  // assets/generated/pjfet_transistor.json
13608
13960
  var pjfet_transistor_default = {
@@ -13772,38 +14124,38 @@ var pjfet_transistor_default = {
13772
14124
  };
13773
14125
 
13774
14126
  // symbols/pjfet_transistor_horz.ts
13775
- var { paths: paths58, texts: texts65, bounds: bounds58, refblocks: refblocks58, circles: circles54 } = pjfet_transistor_default;
14127
+ var { paths: paths72, texts: texts80, bounds: bounds72, refblocks: refblocks72, circles: circles68 } = pjfet_transistor_default;
13776
14128
  var pjfet_transistor_horz_default = defineSymbol({
13777
14129
  primitives: [
13778
- ...Object.values(paths58),
13779
- ...Object.values(circles54),
13780
- { ...texts65.top1, anchor: "middle_right", x: 0 },
13781
- { ...texts65.bottom1, anchor: "middle_right" }
14130
+ ...Object.values(paths72),
14131
+ ...Object.values(circles68),
14132
+ { ...texts80.top1, anchor: "middle_right", x: 0 },
14133
+ { ...texts80.bottom1, anchor: "middle_right" }
13782
14134
  ],
13783
14135
  ports: [
13784
- { ...refblocks58.top1, labels: ["1", "drain"] },
14136
+ { ...refblocks72.top1, labels: ["1", "drain"] },
13785
14137
  // TODO add more "standard" labels
13786
- { ...refblocks58.bottom1, labels: ["2", "source"] },
14138
+ { ...refblocks72.bottom1, labels: ["2", "source"] },
13787
14139
  // TODO add more "standard" labels
13788
- { ...refblocks58.left1, labels: ["3", "gate"] }
14140
+ { ...refblocks72.left1, labels: ["3", "gate"] }
13789
14141
  // TODO add more "standard" labels
13790
14142
  ],
13791
- size: { width: bounds58.width, height: bounds58.height },
13792
- center: { x: bounds58.centerX, y: bounds58.centerY }
14143
+ size: { width: bounds72.width, height: bounds72.height },
14144
+ center: { x: bounds72.centerX, y: bounds72.centerY }
13793
14145
  });
13794
14146
 
13795
14147
  // symbols/pjfet_transistor_vert.ts
13796
- var rotatedSymbol14 = rotateSymbol(pjfet_transistor_horz_default);
13797
- var texts66 = rotatedSymbol14.primitives.filter((p) => p.type === "text");
13798
- var val32 = texts66.find((t) => t.text === "{VAL}");
14148
+ var rotatedSymbol12 = rotateSymbol(pjfet_transistor_horz_default);
14149
+ var texts81 = rotatedSymbol12.primitives.filter((p) => p.type === "text");
14150
+ var val32 = texts81.find((t) => t.text === "{VAL}");
13799
14151
  val32.x = -0.35;
13800
14152
  val32.y = 0;
13801
14153
  val32.anchor = "middle_right";
13802
- var ref33 = texts66.find((t) => t.text === "{REF}");
14154
+ var ref33 = texts81.find((t) => t.text === "{REF}");
13803
14155
  ref33.y = 0;
13804
14156
  ref33.x = 0.35;
13805
14157
  ref33.anchor = "middle_left";
13806
- var pjfet_transistor_vert_default = rotatedSymbol14;
14158
+ var pjfet_transistor_vert_default = rotatedSymbol12;
13807
14159
 
13808
14160
  // assets/generated/pnp_bipolar_transistor.json
13809
14161
  var pnp_bipolar_transistor_default = {
@@ -13973,11 +14325,11 @@ var pnp_bipolar_transistor_default = {
13973
14325
  };
13974
14326
 
13975
14327
  // symbols/pnp_bipolar_transistor_down.ts
13976
- var { paths: paths59, texts: texts67, bounds: bounds59, refblocks: refblocks59, circles: circles55 } = pnp_bipolar_transistor_default;
14328
+ var { paths: paths73, texts: texts82, bounds: bounds73, refblocks: refblocks73, circles: circles69 } = pnp_bipolar_transistor_default;
13977
14329
  var pnp_bipolar_transistor_down_default = modifySymbol({
13978
14330
  primitives: [
13979
- ...Object.values(paths59),
13980
- ...Object.values(circles55),
14331
+ ...Object.values(paths73),
14332
+ ...Object.values(circles69),
13981
14333
  {
13982
14334
  type: "text",
13983
14335
  text: "{REF}",
@@ -13992,24 +14344,24 @@ var pnp_bipolar_transistor_down_default = modifySymbol({
13992
14344
  }
13993
14345
  ],
13994
14346
  ports: [
13995
- { ...refblocks59.top1, labels: ["1"] },
13996
- { ...refblocks59.bottom1, labels: ["3"] },
13997
- { ...refblocks59.left1, labels: ["2"] }
14347
+ { ...refblocks73.top1, labels: ["1"] },
14348
+ { ...refblocks73.bottom1, labels: ["3"] },
14349
+ { ...refblocks73.left1, labels: ["2"] }
13998
14350
  ],
13999
- size: { width: bounds59.width, height: bounds59.height },
14000
- center: { x: bounds59.centerX, y: bounds59.centerY }
14351
+ size: { width: bounds73.width, height: bounds73.height },
14352
+ center: { x: bounds73.centerX, y: bounds73.centerY }
14001
14353
  }).rotateRightFacingSymbol("right").changeTextAnchor("{REF}", "middle_right").changeTextAnchor("{VAL}", "middle_right").build();
14002
14354
 
14003
14355
  // symbols/pnp_bipolar_transistor_horz.ts
14004
- var { paths: paths60, texts: texts68, bounds: bounds60, refblocks: refblocks60, circles: circles56 } = pnp_bipolar_transistor_default;
14356
+ var { paths: paths74, texts: texts83, bounds: bounds74, refblocks: refblocks74, circles: circles70 } = pnp_bipolar_transistor_default;
14005
14357
  var pnp_bipolar_transistor_horz_default = modifySymbol(pnp_bipolar_transistor_default).rotateRightFacingSymbol("up").changeTextAnchor("{VAL}", "middle_left").labelPort("left1", ["2"]).labelPort("top1", ["1"]).labelPort("bottom1", ["3"]).changeTextAnchor("{REF}", "middle_right").build();
14006
14358
 
14007
14359
  // symbols/pnp_bipolar_transistor_left.ts
14008
- var { paths: paths61, texts: texts69, bounds: bounds61, refblocks: refblocks61, circles: circles57 } = pnp_bipolar_transistor_default;
14360
+ var { paths: paths75, texts: texts84, bounds: bounds75, refblocks: refblocks75, circles: circles71 } = pnp_bipolar_transistor_default;
14009
14361
  var pnp_bipolar_transistor_left_default = modifySymbol({
14010
14362
  primitives: [
14011
- ...Object.values(paths61),
14012
- ...Object.values(circles57),
14363
+ ...Object.values(paths75),
14364
+ ...Object.values(circles71),
14013
14365
  {
14014
14366
  type: "text",
14015
14367
  text: "{REF}",
@@ -14024,20 +14376,20 @@ var pnp_bipolar_transistor_left_default = modifySymbol({
14024
14376
  }
14025
14377
  ],
14026
14378
  ports: [
14027
- { ...refblocks61.top1, labels: ["1"] },
14028
- { ...refblocks61.bottom1, labels: ["3"] },
14029
- { ...refblocks61.left1, labels: ["2"] }
14379
+ { ...refblocks75.top1, labels: ["1"] },
14380
+ { ...refblocks75.bottom1, labels: ["3"] },
14381
+ { ...refblocks75.left1, labels: ["2"] }
14030
14382
  ],
14031
- size: { width: bounds61.width, height: bounds61.height },
14032
- center: { x: bounds61.centerX, y: bounds61.centerY }
14383
+ size: { width: bounds75.width, height: bounds75.height },
14384
+ center: { x: bounds75.centerX, y: bounds75.centerY }
14033
14385
  }).rotateRightFacingSymbol("down").changeTextAnchor("{REF}", "middle_bottom").changeTextAnchor("{VAL}", "middle_bottom").build();
14034
14386
 
14035
14387
  // symbols/pnp_bipolar_transistor_right.ts
14036
- var { paths: paths62, texts: texts70, bounds: bounds62, refblocks: refblocks62, circles: circles58 } = pnp_bipolar_transistor_default;
14388
+ var { paths: paths76, texts: texts85, bounds: bounds76, refblocks: refblocks76, circles: circles72 } = pnp_bipolar_transistor_default;
14037
14389
  var pnp_bipolar_transistor_right_default = modifySymbol({
14038
14390
  primitives: [
14039
- ...Object.values(paths62),
14040
- ...Object.values(circles58),
14391
+ ...Object.values(paths76),
14392
+ ...Object.values(circles72),
14041
14393
  {
14042
14394
  type: "text",
14043
14395
  text: "{REF}",
@@ -14052,20 +14404,20 @@ var pnp_bipolar_transistor_right_default = modifySymbol({
14052
14404
  }
14053
14405
  ],
14054
14406
  ports: [
14055
- { ...refblocks62.top1, labels: ["1"] },
14056
- { ...refblocks62.bottom1, labels: ["3"] },
14057
- { ...refblocks62.left1, labels: ["2"] }
14407
+ { ...refblocks76.top1, labels: ["1"] },
14408
+ { ...refblocks76.bottom1, labels: ["3"] },
14409
+ { ...refblocks76.left1, labels: ["2"] }
14058
14410
  ],
14059
- size: { width: bounds62.width, height: bounds62.height },
14060
- center: { x: bounds62.centerX, y: bounds62.centerY }
14411
+ size: { width: bounds76.width, height: bounds76.height },
14412
+ center: { x: bounds76.centerX, y: bounds76.centerY }
14061
14413
  }).rotateRightFacingSymbol("up").changeTextAnchor("{REF}", "middle_top").changeTextAnchor("{VAL}", "middle_top").build();
14062
14414
 
14063
14415
  // symbols/pnp_bipolar_transistor_up.ts
14064
- var { paths: paths63, texts: texts71, bounds: bounds63, refblocks: refblocks63, circles: circles59 } = pnp_bipolar_transistor_default;
14416
+ var { paths: paths77, texts: texts86, bounds: bounds77, refblocks: refblocks77, circles: circles73 } = pnp_bipolar_transistor_default;
14065
14417
  var pnp_bipolar_transistor_up_default = modifySymbol({
14066
14418
  primitives: [
14067
- ...Object.values(paths63),
14068
- ...Object.values(circles59),
14419
+ ...Object.values(paths77),
14420
+ ...Object.values(circles73),
14069
14421
  {
14070
14422
  type: "text",
14071
14423
  text: "{REF}",
@@ -14080,20 +14432,20 @@ var pnp_bipolar_transistor_up_default = modifySymbol({
14080
14432
  }
14081
14433
  ],
14082
14434
  ports: [
14083
- { ...refblocks63.top1, labels: ["1"] },
14084
- { ...refblocks63.bottom1, labels: ["3"] },
14085
- { ...refblocks63.left1, labels: ["2"] }
14435
+ { ...refblocks77.top1, labels: ["1"] },
14436
+ { ...refblocks77.bottom1, labels: ["3"] },
14437
+ { ...refblocks77.left1, labels: ["2"] }
14086
14438
  ],
14087
- size: { width: bounds63.width, height: bounds63.height },
14088
- center: { x: bounds63.centerX, y: bounds63.centerY }
14439
+ size: { width: bounds77.width, height: bounds77.height },
14440
+ center: { x: bounds77.centerX, y: bounds77.centerY }
14089
14441
  }).rotateRightFacingSymbol("left").changeTextAnchor("{REF}", "middle_left").changeTextAnchor("{VAL}", "middle_left").build();
14090
14442
 
14091
14443
  // symbols/pnp_bipolar_transistor_vert.ts
14092
- var { paths: paths64, texts: texts72, bounds: bounds64, refblocks: refblocks64, circles: circles60 } = pnp_bipolar_transistor_default;
14444
+ var { paths: paths78, texts: texts87, bounds: bounds78, refblocks: refblocks78, circles: circles74 } = pnp_bipolar_transistor_default;
14093
14445
  var pnp_bipolar_transistor_vert_default = modifySymbol({
14094
14446
  primitives: [
14095
- ...Object.values(paths64),
14096
- ...Object.values(circles60),
14447
+ ...Object.values(paths78),
14448
+ ...Object.values(circles74),
14097
14449
  {
14098
14450
  type: "text",
14099
14451
  text: "{REF}",
@@ -14108,12 +14460,12 @@ var pnp_bipolar_transistor_vert_default = modifySymbol({
14108
14460
  }
14109
14461
  ],
14110
14462
  ports: [
14111
- { ...refblocks64.top1, labels: ["1"] },
14112
- { ...refblocks64.bottom1, labels: ["3"] },
14113
- { ...refblocks64.left1, labels: ["2"] }
14463
+ { ...refblocks78.top1, labels: ["1"] },
14464
+ { ...refblocks78.bottom1, labels: ["3"] },
14465
+ { ...refblocks78.left1, labels: ["2"] }
14114
14466
  ],
14115
- size: { width: bounds64.width, height: bounds64.height },
14116
- center: { x: bounds64.centerX, y: bounds64.centerY }
14467
+ size: { width: bounds78.width, height: bounds78.height },
14468
+ center: { x: bounds78.centerX, y: bounds78.centerY }
14117
14469
  }).rotateRightFacingSymbol("left").changeTextAnchor("{REF}", "middle_left").changeTextAnchor("{VAL}", "middle_left").build();
14118
14470
 
14119
14471
  // assets/generated/potentiometer.json
@@ -14526,21 +14878,21 @@ var potentiometer_default = {
14526
14878
  };
14527
14879
 
14528
14880
  // symbols/potentiometer_horz.ts
14529
- var { paths: paths65, texts: texts73, bounds: bounds65, refblocks: refblocks65 } = potentiometer_default;
14881
+ var { paths: paths79, texts: texts88, bounds: bounds79, refblocks: refblocks79 } = potentiometer_default;
14530
14882
  var potentiometer_horz_default = defineSymbol({
14531
14883
  primitives: [
14532
- ...Object.values(paths65),
14533
- { ...texts73.bottom1, y: 0.35, anchor: "middle_top" },
14534
- { ...texts73.top1, anchor: "middle_left" }
14884
+ ...Object.values(paths79),
14885
+ { ...texts88.bottom1, y: 0.35, anchor: "middle_top" },
14886
+ { ...texts88.top1, anchor: "middle_left" }
14535
14887
  ],
14536
14888
  ports: [
14537
- { ...refblocks65.left1, labels: ["1"] },
14889
+ { ...refblocks79.left1, labels: ["1"] },
14538
14890
  // TODO add more "standard" labels
14539
- { ...refblocks65.right1, labels: ["2"] }
14891
+ { ...refblocks79.right1, labels: ["2"] }
14540
14892
  // TODO add more "standard" labels
14541
14893
  ],
14542
- size: { width: bounds65.width + 0.05, height: bounds65.height },
14543
- center: { x: bounds65.centerX, y: bounds65.centerY }
14894
+ size: { width: bounds79.width + 0.05, height: bounds79.height },
14895
+ center: { x: bounds79.centerX, y: bounds79.centerY }
14544
14896
  });
14545
14897
 
14546
14898
  // symbols/potentiometer_vert.ts
@@ -14703,21 +15055,21 @@ var potentiometer2_default = {
14703
15055
  };
14704
15056
 
14705
15057
  // symbols/potentiometer2_right.ts
14706
- var { paths: paths66, texts: texts74, bounds: bounds66, refblocks: refblocks66 } = potentiometer2_default;
15058
+ var { paths: paths80, texts: texts89, bounds: bounds80, refblocks: refblocks80 } = potentiometer2_default;
14707
15059
  var potentiometer2_right_default = defineSymbol({
14708
15060
  primitives: [
14709
- ...Object.values(paths66),
14710
- { ...texts74.bottom1, x: 0, y: -0.35, anchor: "middle_top" },
14711
- { ...texts74.top1, x: 0, y: 0.35, anchor: "middle_bottom" }
15061
+ ...Object.values(paths80),
15062
+ { ...texts89.bottom1, x: 0, y: -0.35, anchor: "middle_top" },
15063
+ { ...texts89.top1, x: 0, y: 0.35, anchor: "middle_bottom" }
14712
15064
  ],
14713
15065
  ports: [
14714
- { ...refblocks66.left1, labels: ["1"] },
15066
+ { ...refblocks80.left1, labels: ["1"] },
14715
15067
  // TODO add more "standard" labels
14716
- { ...refblocks66.right1, labels: ["2"] }
15068
+ { ...refblocks80.right1, labels: ["2"] }
14717
15069
  // TODO add more "standard" labels
14718
15070
  ],
14719
- size: { width: bounds66.width + 0.05, height: bounds66.height },
14720
- center: { x: bounds66.centerX, y: bounds66.centerY }
15071
+ size: { width: bounds80.width + 0.05, height: bounds80.height },
15072
+ center: { x: bounds80.centerX, y: bounds80.centerY }
14721
15073
  });
14722
15074
 
14723
15075
  // symbols/potentiometer2_down.ts
@@ -14962,11 +15314,11 @@ var power_factor_meter_default = {
14962
15314
  };
14963
15315
 
14964
15316
  // symbols/power_factor_meter_horz.ts
14965
- var { paths: paths67, texts: texts75, bounds: bounds67, refblocks: refblocks67, circles: circles61 } = power_factor_meter_default;
15317
+ var { paths: paths81, texts: texts90, bounds: bounds81, refblocks: refblocks81, circles: circles75 } = power_factor_meter_default;
14966
15318
  var power_factor_meter_horz_default = defineSymbol({
14967
15319
  primitives: [
14968
- ...Object.values(paths67),
14969
- ...Object.values(circles61),
15320
+ ...Object.values(paths81),
15321
+ ...Object.values(circles75),
14970
15322
  // { ...texts.top1, anchor: "middle_left" },
14971
15323
  {
14972
15324
  type: "text",
@@ -14993,21 +15345,21 @@ var power_factor_meter_horz_default = defineSymbol({
14993
15345
  }
14994
15346
  ],
14995
15347
  ports: [
14996
- { ...refblocks67.left1, labels: ["1"] },
15348
+ { ...refblocks81.left1, labels: ["1"] },
14997
15349
  // TODO add more "standard" labels
14998
- { ...refblocks67.right1, labels: ["2"] }
15350
+ { ...refblocks81.right1, labels: ["2"] }
14999
15351
  // TODO add more "standard" labels
15000
15352
  ],
15001
- size: { width: bounds67.width, height: bounds67.height },
15002
- center: { x: bounds67.centerX, y: bounds67.centerY }
15353
+ size: { width: bounds81.width, height: bounds81.height },
15354
+ center: { x: bounds81.centerX, y: bounds81.centerY }
15003
15355
  });
15004
15356
 
15005
15357
  // symbols/power_factor_meter_vert.ts
15006
- var rotatedSymbol15 = rotateSymbol(power_factor_meter_horz_default);
15007
- var texts76 = rotatedSymbol15.primitives.filter((p) => p.type === "text");
15008
- var ref37 = texts76.find((t) => t.text === "{REF}");
15009
- var val36 = texts76.find((t) => t.text === "{VAL}");
15010
- var text_cos = texts76.find((t) => t.text === "COS \u03C6");
15358
+ var rotatedSymbol13 = rotateSymbol(power_factor_meter_horz_default);
15359
+ var texts91 = rotatedSymbol13.primitives.filter((p) => p.type === "text");
15360
+ var ref37 = texts91.find((t) => t.text === "{REF}");
15361
+ var val36 = texts91.find((t) => t.text === "{VAL}");
15362
+ var text_cos = texts91.find((t) => t.text === "COS \u03C6");
15011
15363
  ref37.x = 0.35;
15012
15364
  ref37.y = 0;
15013
15365
  ref37.anchor = "middle_left";
@@ -15017,7 +15369,7 @@ val36.y = 0;
15017
15369
  text_cos.x = 0;
15018
15370
  text_cos.y = 0;
15019
15371
  text_cos.anchor = "center";
15020
- var power_factor_meter_vert_default = rotatedSymbol15;
15372
+ var power_factor_meter_vert_default = rotatedSymbol13;
15021
15373
 
15022
15374
  // assets/generated/push_button_normally_closed_momentary.json
15023
15375
  var push_button_normally_closed_momentary_default = {
@@ -15138,22 +15490,22 @@ var push_button_normally_closed_momentary_default = {
15138
15490
  };
15139
15491
 
15140
15492
  // symbols/push_button_normally_closed_momentary_horz.ts
15141
- var { paths: paths68, texts: texts77, bounds: bounds68, refblocks: refblocks68, circles: circles62 } = push_button_normally_closed_momentary_default;
15493
+ var { paths: paths82, texts: texts92, bounds: bounds82, refblocks: refblocks82, circles: circles76 } = push_button_normally_closed_momentary_default;
15142
15494
  var push_button_normally_closed_momentary_horz_default = defineSymbol({
15143
15495
  primitives: [
15144
- ...Object.values(paths68),
15145
- ...Object.values(circles62),
15146
- { ...texts77.top1, anchor: "middle_left" },
15147
- { ...texts77.bottom1, anchor: "middle_left" }
15496
+ ...Object.values(paths82),
15497
+ ...Object.values(circles76),
15498
+ { ...texts92.top1, anchor: "middle_left" },
15499
+ { ...texts92.bottom1, anchor: "middle_left" }
15148
15500
  ],
15149
15501
  ports: [
15150
- { ...refblocks68.left1, labels: ["1"] },
15502
+ { ...refblocks82.left1, labels: ["1"] },
15151
15503
  // TODO add more "standard" labels
15152
- { ...refblocks68.right1, labels: ["2"] }
15504
+ { ...refblocks82.right1, labels: ["2"] }
15153
15505
  // TODO add more "standard" labels
15154
15506
  ],
15155
- size: { width: bounds68.width, height: bounds68.height },
15156
- center: { x: bounds68.centerX, y: bounds68.centerY }
15507
+ size: { width: bounds82.width, height: bounds82.height },
15508
+ center: { x: bounds82.centerX, y: bounds82.centerY }
15157
15509
  });
15158
15510
 
15159
15511
  // symbols/push_button_normally_closed_momentary_vert.ts
@@ -15308,22 +15660,22 @@ var push_button_normally_open_momentary_default = {
15308
15660
  };
15309
15661
 
15310
15662
  // symbols/push_button_normally_open_momentary_horz.ts
15311
- var { paths: paths69, texts: texts78, bounds: bounds69, refblocks: refblocks69, circles: circles63 } = push_button_normally_open_momentary_default;
15663
+ var { paths: paths83, texts: texts93, bounds: bounds83, refblocks: refblocks83, circles: circles77 } = push_button_normally_open_momentary_default;
15312
15664
  var push_button_normally_open_momentary_horz_default = defineSymbol({
15313
15665
  primitives: [
15314
- ...Object.values(paths69),
15315
- ...Object.values(circles63),
15316
- { ...texts78.top1, anchor: "middle_left" },
15317
- { ...texts78.bottom1, anchor: "middle_left" }
15666
+ ...Object.values(paths83),
15667
+ ...Object.values(circles77),
15668
+ { ...texts93.top1, anchor: "middle_left" },
15669
+ { ...texts93.bottom1, anchor: "middle_left" }
15318
15670
  ],
15319
15671
  ports: [
15320
- { ...refblocks69.left1, labels: ["1"] },
15672
+ { ...refblocks83.left1, labels: ["1"] },
15321
15673
  // TODO add more "standard" labels
15322
- { ...refblocks69.right1, labels: ["2"] }
15674
+ { ...refblocks83.right1, labels: ["2"] }
15323
15675
  // TODO add more "standard" labels
15324
15676
  ],
15325
- size: { width: bounds69.width, height: bounds69.height },
15326
- center: { x: bounds69.centerX, y: bounds69.centerY }
15677
+ size: { width: bounds83.width, height: bounds83.height },
15678
+ center: { x: bounds83.centerX, y: bounds83.centerY }
15327
15679
  });
15328
15680
 
15329
15681
  // symbols/push_button_normally_open_momentary_vert.ts
@@ -15739,26 +16091,26 @@ var rectifier_diode_default = {
15739
16091
  };
15740
16092
 
15741
16093
  // symbols/rectifier_diode_horz.ts
15742
- var { paths: paths70, texts: texts79, bounds: bounds70, refblocks: refblocks70, circles: circles64 } = rectifier_diode_default;
16094
+ var { paths: paths84, texts: texts94, bounds: bounds84, refblocks: refblocks84, circles: circles78 } = rectifier_diode_default;
15743
16095
  var rectifier_diode_horz_default = defineSymbol({
15744
16096
  primitives: [
15745
- ...Object.values(paths70),
15746
- ...Object.values(circles64),
15747
- { ...texts79.top1, anchor: "middle_right" },
15748
- { ...texts79.bottom1, anchor: "middle_right" }
16097
+ ...Object.values(paths84),
16098
+ ...Object.values(circles78),
16099
+ { ...texts94.top1, anchor: "middle_right" },
16100
+ { ...texts94.bottom1, anchor: "middle_right" }
15749
16101
  ],
15750
16102
  ports: [
15751
- { ...refblocks70.top1, labels: ["1"] },
16103
+ { ...refblocks84.top1, labels: ["1"] },
15752
16104
  // TODO add more "standard" labels
15753
- { ...refblocks70.bottom1, labels: ["2"] },
16105
+ { ...refblocks84.bottom1, labels: ["2"] },
15754
16106
  // TODO add more "standard" labels
15755
- { ...refblocks70.left1, labels: ["3"] },
16107
+ { ...refblocks84.left1, labels: ["3"] },
15756
16108
  // TODO add more "standard" labels
15757
- { ...refblocks70.right1, labels: ["4"] }
16109
+ { ...refblocks84.right1, labels: ["4"] }
15758
16110
  // TODO add more "standard" labels
15759
16111
  ],
15760
- size: { width: bounds70.width, height: bounds70.height },
15761
- center: { x: bounds70.centerX, y: bounds70.centerY }
16112
+ size: { width: bounds84.width, height: bounds84.height },
16113
+ center: { x: bounds84.centerX, y: bounds84.centerY }
15762
16114
  });
15763
16115
 
15764
16116
  // symbols/rectifier_diode_vert.ts
@@ -15980,11 +16332,11 @@ var resistor_default = {
15980
16332
  };
15981
16333
 
15982
16334
  // symbols/resistor_down.ts
15983
- var { paths: paths71, texts: texts80, bounds: bounds71, refblocks: refblocks71, circles: circles65 } = resistor_default;
16335
+ var { paths: paths85, texts: texts95, bounds: bounds85, refblocks: refblocks85, circles: circles79 } = resistor_default;
15984
16336
  var resistor_down_default = modifySymbol({
15985
16337
  primitives: [
15986
- ...Object.values(paths71),
15987
- ...Object.values(circles65),
16338
+ ...Object.values(paths85),
16339
+ ...Object.values(circles79),
15988
16340
  {
15989
16341
  type: "text",
15990
16342
  text: "{REF}",
@@ -15999,21 +16351,21 @@ var resistor_down_default = modifySymbol({
15999
16351
  }
16000
16352
  ],
16001
16353
  ports: [
16002
- { ...refblocks71.left1, labels: ["1"] },
16354
+ { ...refblocks85.left1, labels: ["1"] },
16003
16355
  // TODO add more "standard" labels
16004
- { ...refblocks71.right1, labels: ["2"] }
16356
+ { ...refblocks85.right1, labels: ["2"] }
16005
16357
  // TODO add more "standard" labels
16006
16358
  ],
16007
- size: { width: bounds71.width, height: bounds71.height },
16008
- center: { x: bounds71.centerX, y: bounds71.centerY }
16359
+ size: { width: bounds85.width, height: bounds85.height },
16360
+ center: { x: bounds85.centerX, y: bounds85.centerY }
16009
16361
  }).rotateRightFacingSymbol("down").labelPort("left", ["1"]).labelPort("right", ["2"]).changeTextAnchor("{REF}", "middle_left").changeTextAnchor("{VAL}", "middle_left").build();
16010
16362
 
16011
16363
  // symbols/resistor_left.ts
16012
- var { paths: paths72, texts: texts81, bounds: bounds72, refblocks: refblocks72, circles: circles66 } = resistor_default;
16364
+ var { paths: paths86, texts: texts96, bounds: bounds86, refblocks: refblocks86, circles: circles80 } = resistor_default;
16013
16365
  var resistor_left_default = modifySymbol({
16014
16366
  primitives: [
16015
- ...Object.values(paths72),
16016
- ...Object.values(circles66),
16367
+ ...Object.values(paths86),
16368
+ ...Object.values(circles80),
16017
16369
  {
16018
16370
  type: "text",
16019
16371
  text: "{REF}",
@@ -16028,21 +16380,21 @@ var resistor_left_default = modifySymbol({
16028
16380
  }
16029
16381
  ],
16030
16382
  ports: [
16031
- { ...refblocks72.left1, labels: ["1"] },
16383
+ { ...refblocks86.left1, labels: ["1"] },
16032
16384
  // TODO add more "standard" labels
16033
- { ...refblocks72.right1, labels: ["2"] }
16385
+ { ...refblocks86.right1, labels: ["2"] }
16034
16386
  // TODO add more "standard" labels
16035
16387
  ],
16036
- size: { width: bounds72.width, height: bounds72.height },
16037
- center: { x: bounds72.centerX, y: bounds72.centerY }
16388
+ size: { width: bounds86.width, height: bounds86.height },
16389
+ center: { x: bounds86.centerX, y: bounds86.centerY }
16038
16390
  }).rotateRightFacingSymbol("left").labelPort("left", ["1"]).labelPort("right", ["2"]).changeTextAnchor("{REF}", "middle_bottom").changeTextAnchor("{VAL}", "middle_top").build();
16039
16391
 
16040
16392
  // symbols/resistor_right.ts
16041
- var { paths: paths73, texts: texts82, bounds: bounds73, refblocks: refblocks73, circles: circles67 } = resistor_default;
16393
+ var { paths: paths87, texts: texts97, bounds: bounds87, refblocks: refblocks87, circles: circles81 } = resistor_default;
16042
16394
  var resistor_right_default = modifySymbol({
16043
16395
  primitives: [
16044
- ...Object.values(paths73),
16045
- ...Object.values(circles67),
16396
+ ...Object.values(paths87),
16397
+ ...Object.values(circles81),
16046
16398
  {
16047
16399
  type: "text",
16048
16400
  text: "{REF}",
@@ -16057,21 +16409,21 @@ var resistor_right_default = modifySymbol({
16057
16409
  }
16058
16410
  ],
16059
16411
  ports: [
16060
- { ...refblocks73.left1, labels: ["1"] },
16412
+ { ...refblocks87.left1, labels: ["1"] },
16061
16413
  // TODO add more "standard" labels
16062
- { ...refblocks73.right1, labels: ["2"] }
16414
+ { ...refblocks87.right1, labels: ["2"] }
16063
16415
  // TODO add more "standard" labels
16064
16416
  ],
16065
- size: { width: bounds73.width, height: bounds73.height },
16066
- center: { x: bounds73.centerX, y: bounds73.centerY }
16417
+ size: { width: bounds87.width, height: bounds87.height },
16418
+ center: { x: bounds87.centerX, y: bounds87.centerY }
16067
16419
  }).rotateRightFacingSymbol("right").labelPort("left", ["1"]).labelPort("right", ["2"]).changeTextAnchor("{REF}", "middle_bottom").changeTextAnchor("{VAL}", "middle_top").build();
16068
16420
 
16069
16421
  // symbols/resistor_up.ts
16070
- var { paths: paths74, texts: texts83, bounds: bounds74, refblocks: refblocks74, circles: circles68 } = resistor_default;
16422
+ var { paths: paths88, texts: texts98, bounds: bounds88, refblocks: refblocks88, circles: circles82 } = resistor_default;
16071
16423
  var resistor_up_default = modifySymbol({
16072
16424
  primitives: [
16073
- ...Object.values(paths74),
16074
- ...Object.values(circles68),
16425
+ ...Object.values(paths88),
16426
+ ...Object.values(circles82),
16075
16427
  {
16076
16428
  type: "text",
16077
16429
  text: "{REF}",
@@ -16086,13 +16438,13 @@ var resistor_up_default = modifySymbol({
16086
16438
  }
16087
16439
  ],
16088
16440
  ports: [
16089
- { ...refblocks74.left1, labels: ["1"] },
16441
+ { ...refblocks88.left1, labels: ["1"] },
16090
16442
  // TODO add more "standard" labels
16091
- { ...refblocks74.right1, labels: ["2"] }
16443
+ { ...refblocks88.right1, labels: ["2"] }
16092
16444
  // TODO add more "standard" labels
16093
16445
  ],
16094
- size: { width: bounds74.width, height: bounds74.height },
16095
- center: { x: bounds74.centerX, y: bounds74.centerY }
16446
+ size: { width: bounds88.width, height: bounds88.height },
16447
+ center: { x: bounds88.centerX, y: bounds88.centerY }
16096
16448
  }).rotateRightFacingSymbol("up").labelPort("left", ["1"]).labelPort("right", ["2"]).changeTextAnchor("{REF}", "middle_left").changeTextAnchor("{VAL}", "middle_left").build();
16097
16449
 
16098
16450
  // assets/generated/resonator.json
@@ -16441,11 +16793,11 @@ var resonator_default = {
16441
16793
  };
16442
16794
 
16443
16795
  // symbols/resonator_horz.ts
16444
- var { paths: paths75, texts: texts84, bounds: bounds75, refblocks: refblocks75, circles: circles69 } = resonator_default;
16796
+ var { paths: paths89, texts: texts99, bounds: bounds89, refblocks: refblocks89, circles: circles83 } = resonator_default;
16445
16797
  var resonator_horz_default = defineSymbol({
16446
16798
  primitives: [
16447
- ...Object.values(paths75),
16448
- ...Object.values(circles69),
16799
+ ...Object.values(paths89),
16800
+ ...Object.values(circles83),
16449
16801
  // { ...texts.top1, anchor: "middle_left" },
16450
16802
  // { ...texts.bottom1, anchor: "middle_left" },
16451
16803
  {
@@ -16464,15 +16816,15 @@ var resonator_horz_default = defineSymbol({
16464
16816
  }
16465
16817
  ],
16466
16818
  ports: [
16467
- { ...refblocks75.left1, labels: ["1"] },
16819
+ { ...refblocks89.left1, labels: ["1"] },
16468
16820
  // TODO add more "standard" labels
16469
- { ...refblocks75.right1, labels: ["2"] },
16821
+ { ...refblocks89.right1, labels: ["2"] },
16470
16822
  // TODO add more "standard" labels
16471
- { ...refblocks75.right2, labels: ["3"] }
16823
+ { ...refblocks89.right2, labels: ["3"] }
16472
16824
  // TODO add more "standard" labels
16473
16825
  ],
16474
- size: { width: bounds75.width, height: bounds75.height },
16475
- center: { x: bounds75.centerX, y: bounds75.centerY }
16826
+ size: { width: bounds89.width, height: bounds89.height },
16827
+ center: { x: bounds89.centerX, y: bounds89.centerY }
16476
16828
  });
16477
16829
 
16478
16830
  // symbols/resonator_vert.ts
@@ -16864,18 +17216,18 @@ var silicon_controlled_rectifier_default = {
16864
17216
  };
16865
17217
 
16866
17218
  // symbols/silicon_controlled_rectifier_horz.ts
16867
- var { paths: paths76, texts: texts85, bounds: bounds76, refblocks: refblocks76, circles: circles70 } = silicon_controlled_rectifier_default;
17219
+ var { paths: paths90, texts: texts100, bounds: bounds90, refblocks: refblocks90, circles: circles84 } = silicon_controlled_rectifier_default;
16868
17220
  var silicon_controlled_rectifier_horz_default = modifySymbol(silicon_controlled_rectifier_default).changeTextAnchor("{VAL}", "middle_top").labelPort("left1", ["1"]).labelPort("right1", ["2"]).labelPort("bottom1", ["3"]).changeTextAnchor("{REF}", "middle_bottom").build();
16869
17221
 
16870
17222
  // symbols/silicon_controlled_rectifier_vert.ts
16871
- var rotatedSymbol16 = rotateSymbol(silicon_controlled_rectifier_horz_default);
16872
- var texts86 = rotatedSymbol16.primitives.filter(
17223
+ var rotatedSymbol14 = rotateSymbol(silicon_controlled_rectifier_horz_default);
17224
+ var texts101 = rotatedSymbol14.primitives.filter(
16873
17225
  (primitive) => primitive.type === "text"
16874
17226
  );
16875
- var ref42 = texts86.find((text) => text.text === "{REF}");
17227
+ var ref42 = texts101.find((text) => text.text === "{REF}");
16876
17228
  ref42.y = 0;
16877
17229
  ref42.anchor = "middle_left";
16878
- var silicon_controlled_rectifier_vert_default = rotatedSymbol16;
17230
+ var silicon_controlled_rectifier_vert_default = rotatedSymbol14;
16879
17231
 
16880
17232
  // assets/generated/solderjumper2_bridged12.json
16881
17233
  var solderjumper2_bridged12_default = {
@@ -20432,7 +20784,7 @@ var step_recovery_diode_default = {
20432
20784
  };
20433
20785
 
20434
20786
  // symbols/step_recovery_diode_horz.ts
20435
- var { paths: paths77, texts: texts87, bounds: bounds77, refblocks: refblocks77, circles: circles71 } = step_recovery_diode_default;
20787
+ var { paths: paths91, texts: texts102, bounds: bounds91, refblocks: refblocks91, circles: circles85 } = step_recovery_diode_default;
20436
20788
  var step_recovery_diode_horz_default = modifySymbol(step_recovery_diode_default).changeTextAnchor("{VAL}", "middle_top").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_bottom").build();
20437
20789
 
20438
20790
  // symbols/step_recovery_diode_vert.ts
@@ -20525,11 +20877,11 @@ var tachometer_default = {
20525
20877
  };
20526
20878
 
20527
20879
  // symbols/tachometer_horz.ts
20528
- var { paths: paths78, texts: texts88, bounds: bounds78, refblocks: refblocks78, circles: circles72 } = tachometer_default;
20880
+ var { paths: paths92, texts: texts103, bounds: bounds92, refblocks: refblocks92, circles: circles86 } = tachometer_default;
20529
20881
  var tachometer_horz_default = defineSymbol({
20530
20882
  primitives: [
20531
- ...Object.values(paths78),
20532
- ...Object.values(circles72),
20883
+ ...Object.values(paths92),
20884
+ ...Object.values(circles86),
20533
20885
  {
20534
20886
  type: "text",
20535
20887
  text: "{REF}",
@@ -20544,30 +20896,30 @@ var tachometer_horz_default = defineSymbol({
20544
20896
  y: 0.35,
20545
20897
  anchor: "middle_bottom"
20546
20898
  },
20547
- { ...texts88.left1, y: 0.01, anchor: "center", fontSize: 0.2 }
20899
+ { ...texts103.left1, y: 0.01, anchor: "center", fontSize: 0.2 }
20548
20900
  ],
20549
20901
  ports: [
20550
- { ...refblocks78.left1, labels: ["1"] },
20902
+ { ...refblocks92.left1, labels: ["1"] },
20551
20903
  // TODO add more "standard" labels
20552
- { ...refblocks78.right1, labels: ["2"] }
20904
+ { ...refblocks92.right1, labels: ["2"] }
20553
20905
  // TODO add more "standard" labels
20554
20906
  ],
20555
- size: { width: bounds78.width, height: bounds78.height },
20556
- center: { x: bounds78.centerX, y: bounds78.centerY }
20907
+ size: { width: bounds92.width, height: bounds92.height },
20908
+ center: { x: bounds92.centerX, y: bounds92.centerY }
20557
20909
  });
20558
20910
 
20559
20911
  // symbols/tachometer_vert.ts
20560
- var { 5: letter4, ...rest4 } = tachometer_horz_default.primitives;
20561
- function isPrimitive4(value) {
20912
+ var { 5: letter3, ...rest3 } = tachometer_horz_default.primitives;
20913
+ function isPrimitive3(value) {
20562
20914
  return typeof value === "object";
20563
20915
  }
20564
- var rotatedSymbol17 = rotateSymbol({
20916
+ var rotatedSymbol15 = rotateSymbol({
20565
20917
  ...tachometer_horz_default,
20566
- primitives: Object.values(rest4).filter(isPrimitive4)
20918
+ primitives: Object.values(rest3).filter(isPrimitive3)
20567
20919
  });
20568
20920
  var tachometer_vert_default = {
20569
- ...rotatedSymbol17,
20570
- primitives: [...rotatedSymbol17.primitives, letter4]
20921
+ ...rotatedSymbol15,
20922
+ primitives: [...rotatedSymbol15.primitives, letter3]
20571
20923
  };
20572
20924
 
20573
20925
  // symbols/testpoint_right.ts
@@ -20975,19 +21327,19 @@ var triac_default = {
20975
21327
  };
20976
21328
 
20977
21329
  // symbols/triac_horz.ts
20978
- var { paths: paths79, texts: texts89, bounds: bounds79, refblocks: refblocks79, circles: circles73 } = triac_default;
21330
+ var { paths: paths93, texts: texts104, bounds: bounds93, refblocks: refblocks93, circles: circles87 } = triac_default;
20979
21331
  var triac_horz_default = modifySymbol(triac_default).changeTextAnchor("{VAL}", "middle_top").labelPort("left1", ["1"]).labelPort("right1", ["2"]).labelPort("bottom1", ["3"]).changeTextAnchor("{REF}", "middle_bottom").build();
20980
21332
 
20981
21333
  // symbols/triac_vert.ts
20982
- var rotatedSymbol18 = rotateSymbol(triac_horz_default);
20983
- var texts90 = rotatedSymbol18.primitives.filter(
21334
+ var rotatedSymbol16 = rotateSymbol(triac_horz_default);
21335
+ var texts105 = rotatedSymbol16.primitives.filter(
20984
21336
  (primitive) => primitive.type === "text"
20985
21337
  );
20986
- var ref60 = texts90.find((text) => text.text === "{REF}");
20987
- var val56 = texts90.find((text) => text.text === "{VAL}");
21338
+ var ref60 = texts105.find((text) => text.text === "{REF}");
21339
+ var val56 = texts105.find((text) => text.text === "{VAL}");
20988
21340
  ref60.y = 0;
20989
21341
  val56.y = 0;
20990
- var triac_vert_default = rotatedSymbol18;
21342
+ var triac_vert_default = rotatedSymbol16;
20991
21343
 
20992
21344
  // assets/generated/tunnel_diode.json
20993
21345
  var tunnel_diode_default = {
@@ -21151,22 +21503,22 @@ var tunnel_diode_default = {
21151
21503
  };
21152
21504
 
21153
21505
  // symbols/tunnel_diode_horz.ts
21154
- var { paths: paths80, texts: texts91, bounds: bounds80, refblocks: refblocks80, circles: circles74 } = tunnel_diode_default;
21506
+ var { paths: paths94, texts: texts106, bounds: bounds94, refblocks: refblocks94, circles: circles88 } = tunnel_diode_default;
21155
21507
  var tunnel_diode_horz_default = defineSymbol({
21156
21508
  primitives: [
21157
- ...Object.values(paths80),
21158
- ...Object.values(circles74),
21159
- { ...texts91.top1, anchor: "middle_bottom" },
21160
- { ...texts91.bottom1, anchor: "middle_top" }
21509
+ ...Object.values(paths94),
21510
+ ...Object.values(circles88),
21511
+ { ...texts106.top1, anchor: "middle_bottom" },
21512
+ { ...texts106.bottom1, anchor: "middle_top" }
21161
21513
  ],
21162
21514
  ports: [
21163
- { ...refblocks80.left1, labels: ["1"] },
21515
+ { ...refblocks94.left1, labels: ["1"] },
21164
21516
  // TODO add more "standard" labels
21165
- { ...refblocks80.right1, labels: ["2"] }
21517
+ { ...refblocks94.right1, labels: ["2"] }
21166
21518
  // TODO add more "standard" labels
21167
21519
  ],
21168
- size: { width: bounds80.width, height: bounds80.height },
21169
- center: { x: bounds80.centerX, y: bounds80.centerY }
21520
+ size: { width: bounds94.width, height: bounds94.height },
21521
+ center: { x: bounds94.centerX, y: bounds94.centerY }
21170
21522
  });
21171
21523
 
21172
21524
  // symbols/tunnel_diode_vert.ts
@@ -21349,37 +21701,37 @@ var unijunction_transistor_default = {
21349
21701
  };
21350
21702
 
21351
21703
  // symbols/unijunction_transistor_horz.ts
21352
- var { paths: paths81, texts: texts92, bounds: bounds81, refblocks: refblocks81, circles: circles75 } = unijunction_transistor_default;
21704
+ var { paths: paths95, texts: texts107, bounds: bounds95, refblocks: refblocks95, circles: circles89 } = unijunction_transistor_default;
21353
21705
  var unijunction_transistor_horz_default = defineSymbol({
21354
21706
  primitives: [
21355
- ...Object.values(paths81),
21356
- ...Object.values(circles75),
21357
- { ...texts92.top1, anchor: "middle_left" },
21358
- { ...texts92.bottom1, anchor: "middle_right" }
21707
+ ...Object.values(paths95),
21708
+ ...Object.values(circles89),
21709
+ { ...texts107.top1, anchor: "middle_left" },
21710
+ { ...texts107.bottom1, anchor: "middle_right" }
21359
21711
  ],
21360
21712
  ports: [
21361
- { ...refblocks81.top1, labels: ["1"] },
21713
+ { ...refblocks95.top1, labels: ["1"] },
21362
21714
  // TODO add more "standard" labels
21363
- { ...refblocks81.bottom1, labels: ["2"] },
21715
+ { ...refblocks95.bottom1, labels: ["2"] },
21364
21716
  // TODO add more "standard" labels
21365
- { ...refblocks81.left1, labels: ["3"] }
21717
+ { ...refblocks95.left1, labels: ["3"] }
21366
21718
  // TODO add more "standard" labels
21367
21719
  ],
21368
- size: { width: bounds81.width, height: bounds81.height },
21369
- center: { x: bounds81.centerX, y: bounds81.centerY }
21720
+ size: { width: bounds95.width, height: bounds95.height },
21721
+ center: { x: bounds95.centerX, y: bounds95.centerY }
21370
21722
  });
21371
21723
 
21372
21724
  // symbols/unijunction_transistor_vert.ts
21373
- var rotatedSymbol19 = rotateSymbol(unijunction_transistor_horz_default);
21374
- var texts93 = rotatedSymbol19.primitives.filter(
21725
+ var rotatedSymbol17 = rotateSymbol(unijunction_transistor_horz_default);
21726
+ var texts108 = rotatedSymbol17.primitives.filter(
21375
21727
  (primitive) => primitive.type === "text"
21376
21728
  );
21377
- var ref62 = texts93.find((text) => text.text === "{REF}");
21729
+ var ref62 = texts108.find((text) => text.text === "{REF}");
21378
21730
  ref62.y = 0.1;
21379
- var val58 = texts93.find((text) => text.text === "{VAL}");
21731
+ var val58 = texts108.find((text) => text.text === "{VAL}");
21380
21732
  val58.y = 0.1;
21381
21733
  val58.x = -0.4;
21382
- var unijunction_transistor_vert_default = rotatedSymbol19;
21734
+ var unijunction_transistor_vert_default = rotatedSymbol17;
21383
21735
 
21384
21736
  // assets/generated/usbc.json
21385
21737
  var usbc_default = {
@@ -21620,33 +21972,33 @@ var var_meter_default = {
21620
21972
  };
21621
21973
 
21622
21974
  // symbols/var_meter_horz.ts
21623
- var { paths: paths82, texts: texts94, bounds: bounds82, refblocks: refblocks82, circles: circles76 } = var_meter_default;
21975
+ var { paths: paths96, texts: texts109, bounds: bounds96, refblocks: refblocks96, circles: circles90 } = var_meter_default;
21624
21976
  var var_meter_horz_default = defineSymbol({
21625
21977
  primitives: [
21626
- ...Object.values(paths82),
21627
- ...Object.values(circles76),
21978
+ ...Object.values(paths96),
21979
+ ...Object.values(circles90),
21628
21980
  {
21629
- ...texts94.top1,
21981
+ ...texts109.top1,
21630
21982
  x: 0,
21631
21983
  y: -0.3594553499999995,
21632
21984
  anchor: "middle_top"
21633
21985
  },
21634
21986
  {
21635
- ...texts94.bottom1,
21987
+ ...texts109.bottom1,
21636
21988
  x: 0,
21637
21989
  y: 0.35,
21638
21990
  anchor: "middle_bottom"
21639
21991
  },
21640
- { ...texts94.left1, x: -0.02, y: 0.01, fontSize: 0.2, anchor: "center" }
21992
+ { ...texts109.left1, x: -0.02, y: 0.01, fontSize: 0.2, anchor: "center" }
21641
21993
  ],
21642
21994
  ports: [
21643
- { ...refblocks82.left1, labels: ["1"] },
21995
+ { ...refblocks96.left1, labels: ["1"] },
21644
21996
  // TODO add more "standard" labels
21645
- { ...refblocks82.right1, labels: ["2"] }
21997
+ { ...refblocks96.right1, labels: ["2"] }
21646
21998
  // TODO add more "standard" labels
21647
21999
  ],
21648
- size: { width: bounds82.width, height: bounds82.height },
21649
- center: { x: bounds82.centerX, y: bounds82.centerY }
22000
+ size: { width: bounds96.width, height: bounds96.height },
22001
+ center: { x: bounds96.centerX, y: bounds96.centerY }
21650
22002
  });
21651
22003
 
21652
22004
  // symbols/var_meter_vert.ts
@@ -21799,22 +22151,22 @@ var varactor_diode_default = {
21799
22151
  };
21800
22152
 
21801
22153
  // symbols/varactor_diode_horz.ts
21802
- var { paths: paths83, texts: texts95, bounds: bounds83, refblocks: refblocks83, circles: circles77 } = varactor_diode_default;
22154
+ var { paths: paths97, texts: texts110, bounds: bounds97, refblocks: refblocks97, circles: circles91 } = varactor_diode_default;
21803
22155
  var varactor_diode_horz_default = defineSymbol({
21804
22156
  primitives: [
21805
- ...Object.values(paths83),
21806
- ...Object.values(circles77),
21807
- { ...texts95.top1, anchor: "middle_bottom" },
21808
- { ...texts95.bottom1, anchor: "middle_top" }
22157
+ ...Object.values(paths97),
22158
+ ...Object.values(circles91),
22159
+ { ...texts110.top1, anchor: "middle_bottom" },
22160
+ { ...texts110.bottom1, anchor: "middle_top" }
21809
22161
  ],
21810
22162
  ports: [
21811
- { ...refblocks83.left1, labels: ["1"] },
22163
+ { ...refblocks97.left1, labels: ["1"] },
21812
22164
  // TODO add more "standard" labels
21813
- { ...refblocks83.right1, labels: ["2"] }
22165
+ { ...refblocks97.right1, labels: ["2"] }
21814
22166
  // TODO add more "standard" labels
21815
22167
  ],
21816
- size: { width: bounds83.width, height: bounds83.height },
21817
- center: { x: bounds83.centerX, y: bounds83.centerY }
22168
+ size: { width: bounds97.width, height: bounds97.height },
22169
+ center: { x: bounds97.centerX, y: bounds97.centerY }
21818
22170
  });
21819
22171
 
21820
22172
  // symbols/varactor_diode_vert.ts
@@ -21962,26 +22314,26 @@ var varistor_default = {
21962
22314
  };
21963
22315
 
21964
22316
  // symbols/varistor_horz.ts
21965
- var { paths: paths84, texts: texts96, bounds: bounds84, refblocks: refblocks84 } = varistor_default;
22317
+ var { paths: paths98, texts: texts111, bounds: bounds98, refblocks: refblocks98 } = varistor_default;
21966
22318
  var varistor_horz_default = defineSymbol({
21967
22319
  primitives: [
21968
- ...Object.values(paths84),
21969
- { ...texts96.top1, anchor: "middle_left" },
21970
- { ...texts96.bottom1, anchor: "middle_right" }
22320
+ ...Object.values(paths98),
22321
+ { ...texts111.top1, anchor: "middle_left" },
22322
+ { ...texts111.bottom1, anchor: "middle_right" }
21971
22323
  ],
21972
22324
  ports: [
21973
22325
  {
21974
- ...refblocks84.left1,
22326
+ ...refblocks98.left1,
21975
22327
  labels: ["1", "-"]
21976
22328
  },
21977
22329
  {
21978
- ...refblocks84.right1,
22330
+ ...refblocks98.right1,
21979
22331
  labels: ["2", "+"]
21980
22332
  }
21981
22333
  ],
21982
- size: { width: bounds84.width, height: bounds84.height },
22334
+ size: { width: bounds98.width, height: bounds98.height },
21983
22335
  //{ width: 1, height: 0.24 },
21984
- center: { x: bounds84.centerX, y: bounds84.centerY }
22336
+ center: { x: bounds98.centerX, y: bounds98.centerY }
21985
22337
  });
21986
22338
 
21987
22339
  // symbols/varistor_vert.ts
@@ -22074,11 +22426,11 @@ var varmeter_default = {
22074
22426
  };
22075
22427
 
22076
22428
  // symbols/varmeter_horz.ts
22077
- var { paths: paths85, texts: texts97, bounds: bounds85, refblocks: refblocks85, circles: circles78 } = varmeter_default;
22429
+ var { paths: paths99, texts: texts112, bounds: bounds99, refblocks: refblocks99, circles: circles92 } = varmeter_default;
22078
22430
  var varmeter_horz_default = defineSymbol({
22079
22431
  primitives: [
22080
- ...Object.values(paths85),
22081
- ...Object.values(circles78),
22432
+ ...Object.values(paths99),
22433
+ ...Object.values(circles92),
22082
22434
  {
22083
22435
  type: "text",
22084
22436
  text: "{REF}",
@@ -22093,30 +22445,30 @@ var varmeter_horz_default = defineSymbol({
22093
22445
  y: 0.35,
22094
22446
  anchor: "middle_bottom"
22095
22447
  },
22096
- { ...texts97.left1, anchor: "center", y: 0.02, fontSize: 0.2 }
22448
+ { ...texts112.left1, anchor: "center", y: 0.02, fontSize: 0.2 }
22097
22449
  ],
22098
22450
  ports: [
22099
- { ...refblocks85.left1, labels: ["1"] },
22451
+ { ...refblocks99.left1, labels: ["1"] },
22100
22452
  // TODO add more "standard" labels
22101
- { ...refblocks85.right1, labels: ["2"] }
22453
+ { ...refblocks99.right1, labels: ["2"] }
22102
22454
  // TODO add more "standard" labels
22103
22455
  ],
22104
- size: { width: bounds85.width, height: bounds85.height },
22105
- center: { x: bounds85.centerX, y: bounds85.centerY }
22456
+ size: { width: bounds99.width, height: bounds99.height },
22457
+ center: { x: bounds99.centerX, y: bounds99.centerY }
22106
22458
  });
22107
22459
 
22108
22460
  // symbols/varmeter_vert.ts
22109
- var { 5: letter5, ...rest5 } = varmeter_horz_default.primitives;
22110
- function isPrimitive5(value) {
22461
+ var { 5: letter4, ...rest4 } = varmeter_horz_default.primitives;
22462
+ function isPrimitive4(value) {
22111
22463
  return typeof value === "object";
22112
22464
  }
22113
- var rotatedSymbol20 = rotateSymbol({
22465
+ var rotatedSymbol18 = rotateSymbol({
22114
22466
  ...varmeter_horz_default,
22115
- primitives: Object.values(rest5).filter(isPrimitive5)
22467
+ primitives: Object.values(rest4).filter(isPrimitive4)
22116
22468
  });
22117
22469
  var varmeter_vert_default = {
22118
- ...rotatedSymbol20,
22119
- primitives: [...rotatedSymbol20.primitives, letter5]
22470
+ ...rotatedSymbol18,
22471
+ primitives: [...rotatedSymbol18.primitives, letter4]
22120
22472
  };
22121
22473
 
22122
22474
  // assets/generated/vcc.json
@@ -22307,7 +22659,7 @@ var volt_meter_default = {
22307
22659
  };
22308
22660
 
22309
22661
  // symbols/volt_meter_horz.ts
22310
- var { paths: paths86, texts: texts98, bounds: bounds86, circles: circles79, refblocks: refblocks86 } = volt_meter_default;
22662
+ var { paths: paths100, texts: texts113, bounds: bounds100, circles: circles93, refblocks: refblocks100 } = volt_meter_default;
22311
22663
  var volt_meter_horz_default = modifySymbol(volt_meter_default).changeTextAnchor("{VAL}", "middle_top").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_bottom").build();
22312
22664
 
22313
22665
  // symbols/volt_meter_vert.ts
@@ -22400,11 +22752,11 @@ var watt_hour_meter_default = {
22400
22752
  };
22401
22753
 
22402
22754
  // symbols/watt_hour_meter_horz.ts
22403
- var { paths: paths87, texts: texts99, bounds: bounds87, refblocks: refblocks87, circles: circles80 } = watt_hour_meter_default;
22755
+ var { paths: paths101, texts: texts114, bounds: bounds101, refblocks: refblocks101, circles: circles94 } = watt_hour_meter_default;
22404
22756
  var watt_hour_meter_horz_default = defineSymbol({
22405
22757
  primitives: [
22406
- ...Object.values(paths87),
22407
- ...Object.values(circles80),
22758
+ ...Object.values(paths101),
22759
+ ...Object.values(circles94),
22408
22760
  {
22409
22761
  type: "text",
22410
22762
  text: "{REF}",
@@ -22419,30 +22771,30 @@ var watt_hour_meter_horz_default = defineSymbol({
22419
22771
  y: 0.35,
22420
22772
  anchor: "middle_bottom"
22421
22773
  },
22422
- { ...texts99.left1, anchor: "center", y: 0.01, fontSize: 0.2 }
22774
+ { ...texts114.left1, anchor: "center", y: 0.01, fontSize: 0.2 }
22423
22775
  ],
22424
22776
  ports: [
22425
- { ...refblocks87.left1, labels: ["1"] },
22777
+ { ...refblocks101.left1, labels: ["1"] },
22426
22778
  // TODO add more "standard" labels
22427
- { ...refblocks87.right1, labels: ["2"] }
22779
+ { ...refblocks101.right1, labels: ["2"] }
22428
22780
  // TODO add more "standard" labels
22429
22781
  ],
22430
- size: { width: bounds87.width, height: bounds87.height },
22431
- center: { x: bounds87.centerX, y: bounds87.centerY }
22782
+ size: { width: bounds101.width, height: bounds101.height },
22783
+ center: { x: bounds101.centerX, y: bounds101.centerY }
22432
22784
  });
22433
22785
 
22434
22786
  // symbols/watt_hour_meter_vert.ts
22435
- var { 5: letter6, ...rest6 } = watt_hour_meter_horz_default.primitives;
22436
- function isPrimitive6(value) {
22787
+ var { 5: letter5, ...rest5 } = watt_hour_meter_horz_default.primitives;
22788
+ function isPrimitive5(value) {
22437
22789
  return typeof value === "object";
22438
22790
  }
22439
- var rotatedSymbol21 = rotateSymbol({
22791
+ var rotatedSymbol19 = rotateSymbol({
22440
22792
  ...watt_hour_meter_horz_default,
22441
- primitives: Object.values(rest6).filter(isPrimitive6)
22793
+ primitives: Object.values(rest5).filter(isPrimitive5)
22442
22794
  });
22443
22795
  var watt_hour_meter_vert_default = {
22444
- ...rotatedSymbol21,
22445
- primitives: [...rotatedSymbol21.primitives, letter6]
22796
+ ...rotatedSymbol19,
22797
+ primitives: [...rotatedSymbol19.primitives, letter5]
22446
22798
  };
22447
22799
 
22448
22800
  // assets/generated/wattmeter.json
@@ -22532,11 +22884,11 @@ var wattmeter_default = {
22532
22884
  };
22533
22885
 
22534
22886
  // symbols/wattmeter_horz.ts
22535
- var { paths: paths88, texts: texts100, bounds: bounds88, refblocks: refblocks88, circles: circles81 } = wattmeter_default;
22887
+ var { paths: paths102, texts: texts115, bounds: bounds102, refblocks: refblocks102, circles: circles95 } = wattmeter_default;
22536
22888
  var wattmeter_horz_default = defineSymbol({
22537
22889
  primitives: [
22538
- ...Object.values(paths88),
22539
- ...Object.values(circles81),
22890
+ ...Object.values(paths102),
22891
+ ...Object.values(circles95),
22540
22892
  {
22541
22893
  type: "text",
22542
22894
  text: "{REF}",
@@ -22551,30 +22903,30 @@ var wattmeter_horz_default = defineSymbol({
22551
22903
  y: 0.35,
22552
22904
  anchor: "middle_bottom"
22553
22905
  },
22554
- { ...texts100.left1, anchor: "center", y: 0.01, fontSize: 0.3 }
22906
+ { ...texts115.left1, anchor: "center", y: 0.01, fontSize: 0.3 }
22555
22907
  ],
22556
22908
  ports: [
22557
- { ...refblocks88.left1, labels: ["1"] },
22909
+ { ...refblocks102.left1, labels: ["1"] },
22558
22910
  // TODO add more "standard" labels
22559
- { ...refblocks88.right1, labels: ["2"] }
22911
+ { ...refblocks102.right1, labels: ["2"] }
22560
22912
  // TODO add more "standard" labels
22561
22913
  ],
22562
- size: { width: bounds88.width, height: bounds88.height },
22563
- center: { x: bounds88.centerX, y: bounds88.centerY }
22914
+ size: { width: bounds102.width, height: bounds102.height },
22915
+ center: { x: bounds102.centerX, y: bounds102.centerY }
22564
22916
  });
22565
22917
 
22566
22918
  // symbols/wattmeter_vert.ts
22567
- var { 5: letter7, ...rest7 } = wattmeter_horz_default.primitives;
22568
- function isPrimitive7(value) {
22919
+ var { 5: letter6, ...rest6 } = wattmeter_horz_default.primitives;
22920
+ function isPrimitive6(value) {
22569
22921
  return typeof value === "object";
22570
22922
  }
22571
- var rotatedSymbol22 = rotateSymbol({
22923
+ var rotatedSymbol20 = rotateSymbol({
22572
22924
  ...wattmeter_horz_default,
22573
- primitives: Object.values(rest7).filter(isPrimitive7)
22925
+ primitives: Object.values(rest6).filter(isPrimitive6)
22574
22926
  });
22575
22927
  var wattmeter_vert_default = {
22576
- ...rotatedSymbol22,
22577
- primitives: [...rotatedSymbol22.primitives, letter7]
22928
+ ...rotatedSymbol20,
22929
+ primitives: [...rotatedSymbol20.primitives, letter6]
22578
22930
  };
22579
22931
 
22580
22932
  // assets/generated/zener_diode.json
@@ -22724,22 +23076,22 @@ var zener_diode_default = {
22724
23076
  };
22725
23077
 
22726
23078
  // symbols/zener_diode_horz.ts
22727
- var { paths: paths89, texts: texts101, bounds: bounds89, refblocks: refblocks89, circles: circles82 } = zener_diode_default;
23079
+ var { paths: paths103, texts: texts116, bounds: bounds103, refblocks: refblocks103, circles: circles96 } = zener_diode_default;
22728
23080
  var zener_diode_horz_default = defineSymbol({
22729
23081
  primitives: [
22730
- ...Object.values(paths89),
22731
- ...Object.values(circles82),
22732
- { ...texts101.top1, anchor: "middle_bottom" },
22733
- { ...texts101.bottom1, anchor: "middle_top" }
23082
+ ...Object.values(paths103),
23083
+ ...Object.values(circles96),
23084
+ { ...texts116.top1, anchor: "middle_bottom" },
23085
+ { ...texts116.bottom1, anchor: "middle_top" }
22734
23086
  ],
22735
23087
  ports: [
22736
- { ...refblocks89.left1, labels: ["1"] },
23088
+ { ...refblocks103.left1, labels: ["1"] },
22737
23089
  // TODO add more "standard" labels
22738
- { ...refblocks89.right1, labels: ["2"] }
23090
+ { ...refblocks103.right1, labels: ["2"] }
22739
23091
  // TODO add more "standard" labels
22740
23092
  ],
22741
- size: { width: bounds89.width, height: bounds89.height },
22742
- center: { x: bounds89.centerX, y: bounds89.centerY }
23093
+ size: { width: bounds103.width, height: bounds103.height },
23094
+ center: { x: bounds103.centerX, y: bounds103.centerY }
22743
23095
  });
22744
23096
 
22745
23097
  // symbols/zener_diode_vert.ts
@@ -22756,7 +23108,11 @@ var zener_diode_vert_default = rotated41;
22756
23108
 
22757
23109
  // generated/symbols-index.ts
22758
23110
  var symbols_index_default = {
23111
+ "ac_voltmeter_down": ac_voltmeter_down_default,
22759
23112
  "ac_voltmeter_horz": ac_voltmeter_horz_default,
23113
+ "ac_voltmeter_left": ac_voltmeter_left_default,
23114
+ "ac_voltmeter_right": ac_voltmeter_right_default,
23115
+ "ac_voltmeter_up": ac_voltmeter_up_default,
22760
23116
  "ac_voltmeter_vert": ac_voltmeter_vert_default,
22761
23117
  "avalanche_diode_down": avalanche_diode_down_default,
22762
23118
  "avalanche_diode_horz": avalanche_diode_horz_default,
@@ -22790,7 +23146,11 @@ var symbols_index_default = {
22790
23146
  "capacitor_polarized_up": capacitor_polarized_up_default,
22791
23147
  "capacitor_right": capacitor_right_default,
22792
23148
  "capacitor_up": capacitor_up_default,
23149
+ "constant_current_diode_down": constant_current_diode_down_default,
22793
23150
  "constant_current_diode_horz": constant_current_diode_horz_default,
23151
+ "constant_current_diode_left": constant_current_diode_left_default,
23152
+ "constant_current_diode_right": constant_current_diode_right_default,
23153
+ "constant_current_diode_up": constant_current_diode_up_default,
22794
23154
  "constant_current_diode_vert": constant_current_diode_vert_default,
22795
23155
  "crystal_4pin_down": crystal_4pin_down_default,
22796
23156
  "crystal_4pin_left": crystal_4pin_left_default,
@@ -22804,7 +23164,11 @@ var symbols_index_default = {
22804
23164
  "darlington_pair_transistor_vert": darlington_pair_transistor_vert_default,
22805
23165
  "dc_ammeter_horz": dc_ammeter_horz_default,
22806
23166
  "dc_ammeter_vert": dc_ammeter_vert_default,
23167
+ "dc_voltmeter_down": dc_voltmeter_down_default,
22807
23168
  "dc_voltmeter_horz": dc_voltmeter_horz_default,
23169
+ "dc_voltmeter_left": dc_voltmeter_left_default,
23170
+ "dc_voltmeter_right": dc_voltmeter_right_default,
23171
+ "dc_voltmeter_up": dc_voltmeter_up_default,
22808
23172
  "dc_voltmeter_vert": dc_voltmeter_vert_default,
22809
23173
  "diac_horz": diac_horz_default,
22810
23174
  "diac_vert": diac_vert_default,