schematic-symbols 0.0.174 → 0.0.175

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":
@@ -487,111 +286,426 @@ var rotateRightFacingSymbol = (symbol11, opts) => {
487
286
  height: primitive.width
488
287
  };
489
288
  }
490
- });
491
- const rotatedPorts = ports.map(
492
- (port) => ({
493
- ...port,
494
- ...applyToPoint(transform2, port)
495
- })
496
- );
497
- const bounds90 = getBoundsOfPrimitives(rotatedPrimitives);
498
- return {
499
- primitives: rotatedPrimitives,
500
- center,
501
- ports: rotatedPorts,
502
- size: {
503
- width: bounds90.maxX - bounds90.minX,
504
- height: bounds90.maxY - bounds90.minY
289
+ });
290
+ const rotatedPorts = ports.map(
291
+ (port) => ({
292
+ ...port,
293
+ ...applyToPoint(transform2, port)
294
+ })
295
+ );
296
+ const bounds100 = getBoundsOfPrimitives(rotatedPrimitives);
297
+ return {
298
+ primitives: rotatedPrimitives,
299
+ center,
300
+ ports: rotatedPorts,
301
+ size: {
302
+ width: bounds100.maxX - bounds100.minX,
303
+ height: bounds100.maxY - bounds100.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 bounds100 = getBoundsOfPrimitives(this.symbol.primitives);
352
+ return {
353
+ width: bounds100.maxX - bounds100.minX,
354
+ height: bounds100.maxY - bounds100.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
505
640
  },
506
- ...overrides
507
- };
508
- };
509
- var rotateSymbol = (symbol11, orientation = "down", overrides = {}) => rotateRightFacingSymbol(symbol11, {
510
- newOrientation: orientation,
511
- overrides
512
- });
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();
513
655
 
514
- // symbols/ac_voltmeter_vert.ts
515
- var rotatedSymbol = rotateRightFacingSymbol(ac_voltmeter_horz_default, {
516
- newOrientation: "up"
517
- });
518
- var ac_voltmeter_vert_default = rotatedSymbol;
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
667
+ },
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();
519
682
 
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
- };
683
+ // symbols/ac_voltmeter_vert.ts
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 bounds100 = getBoundsOfPrimitives(symbol11.primitives);
1255
+ size = {
1256
+ width: bounds100.maxX - bounds100.minX,
1257
+ height: bounds100.maxY - bounds100.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
@@ -4312,11 +4439,11 @@ var crystal_4pin_default = {
4312
4439
  };
4313
4440
 
4314
4441
  // symbols/crystal_4pin_down.ts
4315
- var { paths: paths27, texts: texts26, bounds: bounds27, refblocks: refblocks27, circles: circles27 } = crystal_4pin_default;
4442
+ var { paths: paths32, texts: texts32, bounds: bounds32, refblocks: refblocks32, circles: circles32 } = crystal_4pin_default;
4316
4443
  var crystal_4pin_down_default = modifySymbol({
4317
4444
  primitives: [
4318
- ...Object.values(paths27),
4319
- ...Object.values(circles27),
4445
+ ...Object.values(paths32),
4446
+ ...Object.values(circles32),
4320
4447
  {
4321
4448
  type: "text",
4322
4449
  text: "{REF}",
@@ -4331,17 +4458,17 @@ var crystal_4pin_down_default = modifySymbol({
4331
4458
  }
4332
4459
  ],
4333
4460
  ports: [
4334
- { ...refblocks27.left1, labels: ["1"] },
4461
+ { ...refblocks32.left1, labels: ["1"] },
4335
4462
  // TODO add more "standard" labels
4336
- { ...refblocks27.right1, labels: ["3"] },
4463
+ { ...refblocks32.right1, labels: ["3"] },
4337
4464
  // TODO add more "standard" labels
4338
- { ...refblocks27.bottom1, labels: ["4"] },
4465
+ { ...refblocks32.bottom1, labels: ["4"] },
4339
4466
  // TODO add more "standard" labels
4340
- { ...refblocks27.top1, labels: ["2"] }
4467
+ { ...refblocks32.top1, labels: ["2"] }
4341
4468
  // TODO add more "standard" labels
4342
4469
  ],
4343
- size: { width: bounds27.width, height: bounds27.height },
4344
- center: { x: bounds27.centerX, y: bounds27.centerY }
4470
+ size: { width: bounds32.width, height: bounds32.height },
4471
+ center: { x: bounds32.centerX, y: bounds32.centerY }
4345
4472
  }).rotateRightFacingSymbol("down").changeTextAnchor("{REF}", "bottom_left").changeTextAnchor("{VAL}", "top_left").build();
4346
4473
 
4347
4474
  // symbols/crystal_4pin_left.ts
@@ -4351,11 +4478,11 @@ var crystal_4pin_left_default = modifySymbol(crystal_4pin_default).labelPort("to
4351
4478
  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
4479
 
4353
4480
  // symbols/crystal_4pin_up.ts
4354
- var { paths: paths28, texts: texts27, bounds: bounds28, refblocks: refblocks28, circles: circles28 } = crystal_4pin_default;
4481
+ var { paths: paths33, texts: texts33, bounds: bounds33, refblocks: refblocks33, circles: circles33 } = crystal_4pin_default;
4355
4482
  var crystal_4pin_up_default = modifySymbol({
4356
4483
  primitives: [
4357
- ...Object.values(paths28),
4358
- ...Object.values(circles28),
4484
+ ...Object.values(paths33),
4485
+ ...Object.values(circles33),
4359
4486
  {
4360
4487
  type: "text",
4361
4488
  text: "{VAL}",
@@ -4370,17 +4497,17 @@ var crystal_4pin_up_default = modifySymbol({
4370
4497
  }
4371
4498
  ],
4372
4499
  ports: [
4373
- { ...refblocks28.left1, labels: ["1"] },
4500
+ { ...refblocks33.left1, labels: ["1"] },
4374
4501
  // TODO add more "standard" labels
4375
- { ...refblocks28.right1, labels: ["3"] },
4502
+ { ...refblocks33.right1, labels: ["3"] },
4376
4503
  // TODO add more "standard" labels
4377
- { ...refblocks28.bottom1, labels: ["4"] },
4504
+ { ...refblocks33.bottom1, labels: ["4"] },
4378
4505
  // TODO add more "standard" labels
4379
- { ...refblocks28.top1, labels: ["2"] }
4506
+ { ...refblocks33.top1, labels: ["2"] }
4380
4507
  // TODO add more "standard" labels
4381
4508
  ],
4382
- size: { width: bounds28.width, height: bounds28.height },
4383
- center: { x: bounds28.centerX, y: bounds28.centerY }
4509
+ size: { width: bounds33.width, height: bounds33.height },
4510
+ center: { x: bounds33.centerX, y: bounds33.centerY }
4384
4511
  }).rotateRightFacingSymbol("up").changeTextAnchor("{REF}", "bottom_left").changeTextAnchor("{VAL}", "top_left").build();
4385
4512
 
4386
4513
  // assets/generated/crystal.json
@@ -4545,11 +4672,11 @@ var crystal_default = {
4545
4672
  };
4546
4673
 
4547
4674
  // symbols/crystal_down.ts
4548
- var { paths: paths29, texts: texts28, bounds: bounds29, refblocks: refblocks29, circles: circles29 } = crystal_default;
4675
+ var { paths: paths34, texts: texts34, bounds: bounds34, refblocks: refblocks34, circles: circles34 } = crystal_default;
4549
4676
  var crystal_down_default = modifySymbol({
4550
4677
  primitives: [
4551
- ...Object.values(paths29),
4552
- ...Object.values(circles29),
4678
+ ...Object.values(paths34),
4679
+ ...Object.values(circles34),
4553
4680
  {
4554
4681
  type: "text",
4555
4682
  text: "{REF}",
@@ -4564,13 +4691,13 @@ var crystal_down_default = modifySymbol({
4564
4691
  }
4565
4692
  ],
4566
4693
  ports: [
4567
- { ...refblocks29.left1, labels: ["1"] },
4694
+ { ...refblocks34.left1, labels: ["1"] },
4568
4695
  // TODO add more "standard" labels
4569
- { ...refblocks29.right1, labels: ["2"] }
4696
+ { ...refblocks34.right1, labels: ["2"] }
4570
4697
  // TODO add more "standard" labels
4571
4698
  ],
4572
- size: { width: bounds29.width, height: bounds29.height },
4573
- center: { x: bounds29.centerX, y: bounds29.centerY }
4699
+ size: { width: bounds34.width, height: bounds34.height },
4700
+ center: { x: bounds34.centerX, y: bounds34.centerY }
4574
4701
  }).changeTextAnchor("{VAL}", "top_left").rotateRightFacingSymbol("down").labelPort("left1", ["1", "pos"]).labelPort("right1", ["2", "neg"]).changeTextAnchor("{REF}", "bottom_left").build();
4575
4702
 
4576
4703
  // symbols/crystal_left.ts
@@ -4580,11 +4707,11 @@ var crystal_left_default = modifySymbol(crystal_default).changeTextAnchor("{VAL}
4580
4707
  var crystal_right_default = modifySymbol(crystal_default).changeTextAnchor("{VAL}", "middle_top").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_bottom").build();
4581
4708
 
4582
4709
  // symbols/crystal_up.ts
4583
- var { paths: paths30, texts: texts29, bounds: bounds30, refblocks: refblocks30, circles: circles30 } = crystal_default;
4710
+ var { paths: paths35, texts: texts35, bounds: bounds35, refblocks: refblocks35, circles: circles35 } = crystal_default;
4584
4711
  var crystal_up_default = modifySymbol({
4585
4712
  primitives: [
4586
- ...Object.values(paths30),
4587
- ...Object.values(circles30),
4713
+ ...Object.values(paths35),
4714
+ ...Object.values(circles35),
4588
4715
  {
4589
4716
  type: "text",
4590
4717
  text: "{REF}",
@@ -4599,13 +4726,13 @@ var crystal_up_default = modifySymbol({
4599
4726
  }
4600
4727
  ],
4601
4728
  ports: [
4602
- { ...refblocks30.left1, labels: ["1"] },
4729
+ { ...refblocks35.left1, labels: ["1"] },
4603
4730
  // TODO add more "standard" labels
4604
- { ...refblocks30.right1, labels: ["2"] }
4731
+ { ...refblocks35.right1, labels: ["2"] }
4605
4732
  // TODO add more "standard" labels
4606
4733
  ],
4607
- size: { width: bounds30.width, height: bounds30.height },
4608
- center: { x: bounds30.centerX, y: bounds30.centerY }
4734
+ size: { width: bounds35.width, height: bounds35.height },
4735
+ center: { x: bounds35.centerX, y: bounds35.centerY }
4609
4736
  }).changeTextAnchor("{VAL}", "middle_top").rotateRightFacingSymbol("up").labelPort("left1", ["1", "pos"]).labelPort("right1", ["2", "neg"]).changeTextAnchor("{REF}", "bottom_left").build();
4610
4737
 
4611
4738
  // assets/generated/darlington_pair_transistor.json
@@ -4982,11 +5109,11 @@ var dc_ammeter_default = {
4982
5109
  };
4983
5110
 
4984
5111
  // symbols/dc_ammeter_horz.ts
4985
- var { paths: paths31, texts: texts30, bounds: bounds31, refblocks: refblocks31, circles: circles31 } = dc_ammeter_default;
5112
+ var { paths: paths36, texts: texts36, bounds: bounds36, refblocks: refblocks36, circles: circles36 } = dc_ammeter_default;
4986
5113
  var dc_ammeter_horz_default = defineSymbol({
4987
5114
  primitives: [
4988
- ...Object.values(paths31),
4989
- ...Object.values(circles31),
5115
+ ...Object.values(paths36),
5116
+ ...Object.values(circles36),
4990
5117
  {
4991
5118
  type: "text",
4992
5119
  text: "{REF}",
@@ -5001,16 +5128,16 @@ var dc_ammeter_horz_default = defineSymbol({
5001
5128
  y: 0.35,
5002
5129
  anchor: "middle_bottom"
5003
5130
  },
5004
- { ...texts30.left1, x: 0, y: 0.01, anchor: "center", fontSize: 0.3 }
5131
+ { ...texts36.left1, x: 0, y: 0.01, anchor: "center", fontSize: 0.3 }
5005
5132
  ],
5006
5133
  ports: [
5007
- { ...refblocks31.left1, labels: ["1"] },
5134
+ { ...refblocks36.left1, labels: ["1"] },
5008
5135
  // TODO add more "standard" labels
5009
- { ...refblocks31.right1, labels: ["2"] }
5136
+ { ...refblocks36.right1, labels: ["2"] }
5010
5137
  // TODO add more "standard" labels
5011
5138
  ],
5012
- size: { width: bounds31.width, height: bounds31.height },
5013
- center: { x: bounds31.centerX, y: bounds31.centerY }
5139
+ size: { width: bounds36.width, height: bounds36.height },
5140
+ center: { x: bounds36.centerX, y: bounds36.centerY }
5014
5141
  });
5015
5142
 
5016
5143
  // symbols/dc_ammeter_vert.ts
@@ -5032,13 +5159,13 @@ if (isTextPrimitive(letter)) {
5032
5159
  function isPrimitive(value) {
5033
5160
  return typeof value === "object";
5034
5161
  }
5035
- var rotatedSymbol2 = rotateSymbol({
5162
+ var rotatedSymbol = rotateSymbol({
5036
5163
  ...dc_ammeter_horz_default,
5037
5164
  primitives: Object.values(rest).filter(isPrimitive)
5038
5165
  });
5039
5166
  var dc_ammeter_vert_default = {
5040
- ...rotatedSymbol2,
5041
- primitives: [...rotatedSymbol2.primitives, letter, underline]
5167
+ ...rotatedSymbol,
5168
+ primitives: [...rotatedSymbol.primitives, letter, underline]
5042
5169
  };
5043
5170
 
5044
5171
  // assets/generated/dc_voltmeter.json
@@ -5048,12 +5175,12 @@ var dc_voltmeter_default = {
5048
5175
  type: "path",
5049
5176
  points: [
5050
5177
  {
5051
- x: -0.5307178,
5052
- y: 0
5178
+ x: -0.5274831500000005,
5179
+ y: 0.035186950000000605
5053
5180
  },
5054
5181
  {
5055
- x: -0.3042887999999997,
5056
- y: 0
5182
+ x: -0.30105415000000013,
5183
+ y: 0.035186950000000605
5057
5184
  }
5058
5185
  ],
5059
5186
  color: "primary",
@@ -5063,12 +5190,12 @@ var dc_voltmeter_default = {
5063
5190
  type: "path",
5064
5191
  points: [
5065
5192
  {
5066
- x: 0.2899773000000003,
5067
- y: 0
5193
+ x: 0.2932119499999999,
5194
+ y: 0.035186950000000605
5068
5195
  },
5069
5196
  {
5070
- x: 0.5307178000000001,
5071
- y: 0
5197
+ x: 0.5339524499999997,
5198
+ y: 0.035186950000000605
5072
5199
  }
5073
5200
  ],
5074
5201
  color: "primary",
@@ -5078,16 +5205,16 @@ var dc_voltmeter_default = {
5078
5205
  type: "path",
5079
5206
  points: [
5080
5207
  {
5081
- x: 0.09442299999999992,
5082
- y: -0.13438304999999984
5208
+ x: 0.09765764999999949,
5209
+ y: 0.13345085000000045
5083
5210
  },
5084
5211
  {
5085
- x: -0.004364400000000712,
5086
- y: 0.05710404999999996
5212
+ x: -0.0011297500000011507,
5213
+ y: -0.058036249999999345
5087
5214
  },
5088
5215
  {
5089
- x: -0.1110211000000012,
5090
- y: -0.13438304999999984
5216
+ x: -0.10778645000000164,
5217
+ y: 0.13345085000000045
5091
5218
  }
5092
5219
  ],
5093
5220
  color: "primary",
@@ -5097,12 +5224,12 @@ var dc_voltmeter_default = {
5097
5224
  type: "path",
5098
5225
  points: [
5099
5226
  {
5100
- x: -0.12447409999999959,
5101
- y: 0.13438304999999984
5227
+ x: -0.12123945000000003,
5228
+ y: -0.13531524999999922
5102
5229
  },
5103
5230
  {
5104
- x: 0.11626639999999999,
5105
- y: 0.13438304999999984
5231
+ x: 0.11950104999999955,
5232
+ y: -0.13531524999999922
5106
5233
  }
5107
5234
  ],
5108
5235
  color: "primary",
@@ -5113,41 +5240,41 @@ var dc_voltmeter_default = {
5113
5240
  top1: {
5114
5241
  type: "text",
5115
5242
  text: "{REF}",
5116
- x: -0.17652089999999898,
5117
- y: -0.39809484999999944
5243
+ x: -0.17328624999999942,
5244
+ y: 0.39716265000000006
5118
5245
  },
5119
5246
  bottom1: {
5120
5247
  type: "text",
5121
5248
  text: "{VAL}",
5122
- x: -0.009849199999999891,
5123
- y: 0.39623045000000046
5249
+ x: -0.00661455000000033,
5250
+ y: -0.39716264999999984
5124
5251
  }
5125
5252
  },
5126
5253
  refblocks: {
5127
5254
  left1: {
5128
- x: -0.5446330999999993,
5129
- y: 0
5255
+ x: -0.5413984499999998,
5256
+ y: 0.03433415000000006
5130
5257
  },
5131
5258
  right1: {
5132
- x: 0.5381638000000004,
5133
- y: 0
5134
- }
5135
- },
5136
- 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
5259
+ x: 0.54139845,
5260
+ y: 0.03533054999999985
5261
+ }
5262
+ },
5263
+ bounds: {
5264
+ minX: -0.5695568909999997,
5265
+ maxX: 0.569556891,
5266
+ minY: -0.39716264999999984,
5267
+ maxY: 0.39716265000000006,
5268
+ width: 1.1391137819999997,
5269
+ height: 0.7943252999999999,
5270
+ centerX: 11102230246251565e-32,
5271
+ centerY: 11102230246251565e-32
5145
5272
  },
5146
5273
  circles: {
5147
5274
  path1: {
5148
5275
  type: "circle",
5149
- x: 0,
5150
- y: 0,
5276
+ x: -0.0037626500000000895,
5277
+ y: 0.04231525000000014,
5151
5278
  radius: 0.28854213,
5152
5279
  color: "primary",
5153
5280
  fill: false
@@ -5155,50 +5282,167 @@ var dc_voltmeter_default = {
5155
5282
  }
5156
5283
  };
5157
5284
 
5285
+ // symbols/dc_voltmeter_down.ts
5286
+ var { paths: paths37, texts: texts37, bounds: bounds37, refblocks: refblocks37, circles: circles37 } = dc_voltmeter_default;
5287
+ var dc_voltmeter_down_default = modifySymbol({
5288
+ primitives: [
5289
+ ...Object.values(paths37),
5290
+ ...Object.values(circles37),
5291
+ {
5292
+ type: "text",
5293
+ text: "{REF}",
5294
+ x: -0.15,
5295
+ y: 0.3894553499999995
5296
+ },
5297
+ {
5298
+ type: "text",
5299
+ text: "{VAL}",
5300
+ x: 0.15,
5301
+ y: 0.3894553499999995
5302
+ }
5303
+ ],
5304
+ ports: [
5305
+ { ...refblocks37.left1, labels: ["1"] },
5306
+ { ...refblocks37.right1, labels: ["2"] }
5307
+ ],
5308
+ size: { width: bounds37.width, height: bounds37.height },
5309
+ center: { x: bounds37.centerX, y: bounds37.centerY }
5310
+ }).rotateRightFacingSymbol("down").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_left").changeTextAnchor("{VAL}", "middle_left").build();
5311
+
5158
5312
  // 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({
5313
+ var { paths: paths38, texts: texts38, bounds: bounds38, refblocks: refblocks38, circles: circles38 } = dc_voltmeter_default;
5314
+ var dc_voltmeter_horz_default = modifySymbol({
5161
5315
  primitives: [
5162
- ...Object.values(paths32),
5163
- ...Object.values(circles32),
5316
+ ...Object.values(paths38),
5317
+ ...Object.values(circles38),
5164
5318
  {
5165
5319
  type: "text",
5166
5320
  text: "{REF}",
5321
+ x: -0,
5322
+ y: 0.3894553499999995
5323
+ },
5324
+ {
5325
+ type: "text",
5326
+ text: "{VAL}",
5167
5327
  x: 0,
5168
- y: -0.3594553499999995,
5169
- anchor: "middle_top"
5328
+ y: -0.3294553499999995
5329
+ }
5330
+ ],
5331
+ ports: [
5332
+ { ...refblocks38.left1, labels: ["1"] },
5333
+ { ...refblocks38.right1, labels: ["2"] }
5334
+ ],
5335
+ size: { width: bounds38.width, height: bounds38.height },
5336
+ center: { x: bounds38.centerX, y: bounds38.centerY }
5337
+ }).changeTextAnchor("{VAL}", "middle_top").rotateRightFacingSymbol("right").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_bottom").build();
5338
+
5339
+ // symbols/dc_voltmeter_left.ts
5340
+ var { paths: paths39, texts: texts39, bounds: bounds39, refblocks: refblocks39, circles: circles39 } = dc_voltmeter_default;
5341
+ var dc_voltmeter_left_default = modifySymbol({
5342
+ primitives: [
5343
+ ...Object.values(paths39),
5344
+ ...Object.values(circles39),
5345
+ {
5346
+ type: "text",
5347
+ text: "{REF}",
5348
+ x: -0,
5349
+ y: -0.3294553499999995
5170
5350
  },
5171
5351
  {
5172
5352
  type: "text",
5173
5353
  text: "{VAL}",
5174
5354
  x: 0,
5175
- y: 0.35,
5176
- anchor: "middle_bottom"
5355
+ y: 0.4294553499999995
5177
5356
  }
5178
5357
  ],
5179
5358
  ports: [
5180
- { ...refblocks32.left1, labels: ["1"] },
5181
- // TODO add more "standard" labels
5182
- { ...refblocks32.right1, labels: ["2"] }
5183
- // TODO add more "standard" labels
5359
+ { ...refblocks39.left1, labels: ["1"] },
5360
+ { ...refblocks39.right1, labels: ["2"] }
5184
5361
  ],
5185
- size: { width: bounds32.width, height: bounds32.height },
5186
- center: { x: bounds32.centerX, y: bounds32.centerY }
5187
- });
5362
+ size: { width: bounds39.width, height: bounds39.height },
5363
+ center: { x: bounds39.centerX, y: bounds39.centerY }
5364
+ }).changeTextAnchor("{VAL}", "middle_bottom").rotateRightFacingSymbol("left").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_bottom").build();
5365
+
5366
+ // symbols/dc_voltmeter_right.ts
5367
+ var { paths: paths40, texts: texts40, bounds: bounds40, refblocks: refblocks40, circles: circles40 } = dc_voltmeter_default;
5368
+ var dc_voltmeter_right_default = modifySymbol({
5369
+ primitives: [
5370
+ ...Object.values(paths40),
5371
+ ...Object.values(circles40),
5372
+ {
5373
+ type: "text",
5374
+ text: "{REF}",
5375
+ x: -0,
5376
+ y: 0.3894553499999995
5377
+ },
5378
+ {
5379
+ type: "text",
5380
+ text: "{VAL}",
5381
+ x: 0,
5382
+ y: -0.3294553499999995
5383
+ }
5384
+ ],
5385
+ ports: [
5386
+ { ...refblocks40.left1, labels: ["1"] },
5387
+ { ...refblocks40.right1, labels: ["2"] }
5388
+ ],
5389
+ size: { width: bounds40.width, height: bounds40.height },
5390
+ center: { x: bounds40.centerX, y: bounds40.centerY }
5391
+ }).changeTextAnchor("{VAL}", "middle_top").rotateRightFacingSymbol("right").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_bottom").build();
5392
+
5393
+ // symbols/dc_voltmeter_up.ts
5394
+ var { paths: paths41, texts: texts41, bounds: bounds41, refblocks: refblocks41, circles: circles41 } = dc_voltmeter_default;
5395
+ var dc_voltmeter_up_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.2894553499999995
5404
+ },
5405
+ {
5406
+ type: "text",
5407
+ text: "{VAL}",
5408
+ x: -0.15,
5409
+ y: -0.2894553499999995
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("up").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_left").changeTextAnchor("{VAL}", "middle_left").build();
5188
5419
 
5189
5420
  // 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
- };
5421
+ var { paths: paths42, texts: texts42, bounds: bounds42, refblocks: refblocks42, circles: circles42 } = dc_voltmeter_default;
5422
+ var dc_voltmeter_vert_default = modifySymbol({
5423
+ primitives: [
5424
+ ...Object.values(paths42),
5425
+ ...Object.values(circles42),
5426
+ {
5427
+ type: "text",
5428
+ text: "{REF}",
5429
+ x: 0.15,
5430
+ y: -0.2894553499999995
5431
+ },
5432
+ {
5433
+ type: "text",
5434
+ text: "{VAL}",
5435
+ x: -0.15,
5436
+ y: -0.2894553499999995
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
+ }).rotateRightFacingSymbol("up").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_left").changeTextAnchor("{VAL}", "middle_left").build();
5202
5446
 
5203
5447
  // assets/generated/diac.json
5204
5448
  var diac_default = {
@@ -5360,15 +5604,15 @@ var diac_default = {
5360
5604
  var diac_horz_default = modifySymbol(diac_default).changeTextAnchor("{VAL}", "middle_top").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_bottom").build();
5361
5605
 
5362
5606
  // symbols/diac_vert.ts
5363
- var rotatedSymbol4 = rotateSymbol(diac_horz_default);
5364
- var texts32 = rotatedSymbol4.primitives.filter(
5607
+ var rotatedSymbol2 = rotateSymbol(diac_horz_default);
5608
+ var texts43 = rotatedSymbol2.primitives.filter(
5365
5609
  (primitive) => primitive.type === "text"
5366
5610
  );
5367
- var ref2 = texts32.find((text) => text.text === "{REF}");
5368
- var val2 = texts32.find((text) => text.text === "{VAL}");
5611
+ var ref2 = texts43.find((text) => text.text === "{REF}");
5612
+ var val2 = texts43.find((text) => text.text === "{VAL}");
5369
5613
  ref2.y = 0;
5370
5614
  val2.y = 0;
5371
- var diac_vert_default = rotatedSymbol4;
5615
+ var diac_vert_default = rotatedSymbol2;
5372
5616
 
5373
5617
  // assets/generated/diode.json
5374
5618
  var diode_default = {
@@ -6642,11 +6886,11 @@ var ferrite_bead_default = {
6642
6886
  };
6643
6887
 
6644
6888
  // symbols/ferrite_bead_up.ts
6645
- var { paths: paths33, texts: texts33, bounds: bounds33, refblocks: refblocks33, circles: circles33 } = ferrite_bead_default;
6889
+ var { paths: paths43, texts: texts44, bounds: bounds43, refblocks: refblocks43, circles: circles43 } = ferrite_bead_default;
6646
6890
  var ferrite_bead_up_default = modifySymbol({
6647
6891
  primitives: [
6648
- ...Object.values(paths33),
6649
- ...Object.values(circles33),
6892
+ ...Object.values(paths43),
6893
+ ...Object.values(circles43),
6650
6894
  {
6651
6895
  type: "text",
6652
6896
  text: "{REF}",
@@ -6661,13 +6905,13 @@ var ferrite_bead_up_default = modifySymbol({
6661
6905
  }
6662
6906
  ],
6663
6907
  ports: [
6664
- { ...refblocks33.left1, labels: ["1"] },
6908
+ { ...refblocks43.left1, labels: ["1"] },
6665
6909
  // TODO add more "standard" labels
6666
- { ...refblocks33.right1, labels: ["2"] }
6910
+ { ...refblocks43.right1, labels: ["2"] }
6667
6911
  // TODO add more "standard" labels
6668
6912
  ],
6669
- size: { width: bounds33.width, height: bounds33.height },
6670
- center: { x: bounds33.centerX, y: bounds33.centerY }
6913
+ size: { width: bounds43.width, height: bounds43.height },
6914
+ center: { x: bounds43.centerX, y: bounds43.centerY }
6671
6915
  }).rotateRightFacingSymbol("up").labelPort("left", ["1"]).labelPort("right", ["2"]).changeTextAnchor("{REF}", "middle_left").changeTextAnchor("{VAL}", "middle_left").build();
6672
6916
 
6673
6917
  // symbols/ferrite_bead_down.ts
@@ -6900,11 +7144,11 @@ var frequency_meter_default = {
6900
7144
  };
6901
7145
 
6902
7146
  // symbols/frequency_meter_horz.ts
6903
- var { paths: paths34, texts: texts34, bounds: bounds34, refblocks: refblocks34, circles: circles34 } = frequency_meter_default;
7147
+ var { paths: paths44, texts: texts45, bounds: bounds44, refblocks: refblocks44, circles: circles44 } = frequency_meter_default;
6904
7148
  var frequency_meter_horz_default = defineSymbol({
6905
7149
  primitives: [
6906
- ...Object.values(paths34),
6907
- ...Object.values(circles34),
7150
+ ...Object.values(paths44),
7151
+ ...Object.values(circles44),
6908
7152
  {
6909
7153
  type: "text",
6910
7154
  text: "{REF}",
@@ -6919,30 +7163,30 @@ var frequency_meter_horz_default = defineSymbol({
6919
7163
  y: 0.35,
6920
7164
  anchor: "middle_bottom"
6921
7165
  },
6922
- { ...texts34.left1, x: 0, y: 0.01, anchor: "center", fontSize: 0.2 }
7166
+ { ...texts45.left1, x: 0, y: 0.01, anchor: "center", fontSize: 0.2 }
6923
7167
  ],
6924
7168
  ports: [
6925
- { ...refblocks34.left1, labels: ["1"] },
7169
+ { ...refblocks44.left1, labels: ["1"] },
6926
7170
  // TODO add more "standard" labels
6927
- { ...refblocks34.right1, labels: ["2"] }
7171
+ { ...refblocks44.right1, labels: ["2"] }
6928
7172
  // TODO add more "standard" labels
6929
7173
  ],
6930
- size: { width: bounds34.width, height: bounds34.height },
6931
- center: { x: bounds34.centerX, y: bounds34.centerY }
7174
+ size: { width: bounds44.width, height: bounds44.height },
7175
+ center: { x: bounds44.centerX, y: bounds44.centerY }
6932
7176
  });
6933
7177
 
6934
7178
  // symbols/frequency_meter_vert.ts
6935
- var { 5: letter3, ...rest3 } = frequency_meter_horz_default.primitives;
6936
- function isPrimitive3(value) {
7179
+ var { 5: letter2, ...rest2 } = frequency_meter_horz_default.primitives;
7180
+ function isPrimitive2(value) {
6937
7181
  return typeof value === "object";
6938
7182
  }
6939
- var rotatedSymbol5 = rotateSymbol({
7183
+ var rotatedSymbol3 = rotateSymbol({
6940
7184
  ...frequency_meter_horz_default,
6941
- primitives: Object.values(rest3).filter(isPrimitive3)
7185
+ primitives: Object.values(rest2).filter(isPrimitive2)
6942
7186
  });
6943
7187
  var frequency_meter_vert_default = {
6944
- ...rotatedSymbol5,
6945
- primitives: [...rotatedSymbol5.primitives, letter3]
7188
+ ...rotatedSymbol3,
7189
+ primitives: [...rotatedSymbol3.primitives, letter2]
6946
7190
  };
6947
7191
 
6948
7192
  // assets/generated/fuse.json
@@ -7033,11 +7277,11 @@ var fuse_default = {
7033
7277
  };
7034
7278
 
7035
7279
  // symbols/fuse_horz.ts
7036
- var { paths: paths35, texts: texts35, bounds: bounds35, refblocks: refblocks35 } = fuse_default;
7280
+ var { paths: paths45, texts: texts46, bounds: bounds45, refblocks: refblocks45 } = fuse_default;
7037
7281
  var fuse_horz_default = defineSymbol({
7038
7282
  primitives: [
7039
- ...Object.values(paths35),
7040
- { ...texts35.top1, anchor: "middle_bottom" },
7283
+ ...Object.values(paths45),
7284
+ { ...texts46.top1, anchor: "middle_bottom" },
7041
7285
  {
7042
7286
  type: "text",
7043
7287
  text: "{VAL}",
@@ -7047,13 +7291,13 @@ var fuse_horz_default = defineSymbol({
7047
7291
  }
7048
7292
  ],
7049
7293
  ports: [
7050
- { ...refblocks35.left1, labels: ["1"] },
7294
+ { ...refblocks45.left1, labels: ["1"] },
7051
7295
  // TODO add more "standard" labels
7052
- { ...refblocks35.right1, labels: ["2"] }
7296
+ { ...refblocks45.right1, labels: ["2"] }
7053
7297
  // TODO add more "standard" labels
7054
7298
  ],
7055
- size: { width: bounds35.width, height: bounds35.height },
7056
- center: { x: bounds35.centerX, y: bounds35.centerY }
7299
+ size: { width: bounds45.width, height: bounds45.height },
7300
+ center: { x: bounds45.centerX, y: bounds45.centerY }
7057
7301
  });
7058
7302
 
7059
7303
  // symbols/fuse_vert.ts
@@ -7230,10 +7474,10 @@ var ground2_default = {
7230
7474
  };
7231
7475
 
7232
7476
  // symbols/ground2_down.ts
7233
- var { paths: paths36, texts: texts36, bounds: bounds36, refblocks: refblocks36 } = ground2_default;
7477
+ var { paths: paths46, texts: texts47, bounds: bounds46, refblocks: refblocks46 } = ground2_default;
7234
7478
  var ground2_down_default = modifySymbol({
7235
7479
  primitives: [
7236
- ...Object.values(paths36),
7480
+ ...Object.values(paths46),
7237
7481
  {
7238
7482
  type: "text",
7239
7483
  text: "{REF}",
@@ -7242,18 +7486,18 @@ var ground2_down_default = modifySymbol({
7242
7486
  }
7243
7487
  ],
7244
7488
  ports: [
7245
- { ...refblocks36.left1, labels: ["1"] }
7489
+ { ...refblocks46.left1, labels: ["1"] }
7246
7490
  // TODO add more "standard" labels
7247
7491
  ],
7248
- center: { x: bounds36.centerX, y: bounds36.centerY }
7492
+ center: { x: bounds46.centerX, y: bounds46.centerY }
7249
7493
  }).rotateRightFacingSymbol("down").labelPort("left1", ["1"]).changeTextAnchor("{REF}", "middle_bottom").build();
7250
7494
 
7251
7495
  // symbols/ground2_left.ts
7252
- var { paths: paths37, texts: texts37, bounds: bounds37, refblocks: refblocks37, circles: circles35 } = ground2_default;
7496
+ var { paths: paths47, texts: texts48, bounds: bounds47, refblocks: refblocks47, circles: circles45 } = ground2_default;
7253
7497
  var ground2_left_default = modifySymbol({
7254
7498
  primitives: [
7255
- ...Object.values(paths37),
7256
- ...Object.values(circles35),
7499
+ ...Object.values(paths47),
7500
+ ...Object.values(circles45),
7257
7501
  {
7258
7502
  type: "text",
7259
7503
  text: "{REF}",
@@ -7262,18 +7506,18 @@ var ground2_left_default = modifySymbol({
7262
7506
  }
7263
7507
  ],
7264
7508
  ports: [
7265
- { ...refblocks37.left1, labels: ["1"] }
7509
+ { ...refblocks47.left1, labels: ["1"] }
7266
7510
  // TODO add more "standard" labels
7267
7511
  ],
7268
- center: { x: bounds37.centerX, y: bounds37.centerY }
7512
+ center: { x: bounds47.centerX, y: bounds47.centerY }
7269
7513
  }).rotateRightFacingSymbol("left").labelPort("left1", ["1"]).changeTextAnchor("{REF}", "middle_left").build();
7270
7514
 
7271
7515
  // symbols/ground2_right.ts
7272
- var { paths: paths38, texts: texts38, bounds: bounds38, refblocks: refblocks38, circles: circles36 } = ground2_default;
7516
+ var { paths: paths48, texts: texts49, bounds: bounds48, refblocks: refblocks48, circles: circles46 } = ground2_default;
7273
7517
  var ground2_right_default = modifySymbol({
7274
7518
  primitives: [
7275
- ...Object.values(paths38),
7276
- ...Object.values(circles36),
7519
+ ...Object.values(paths48),
7520
+ ...Object.values(circles46),
7277
7521
  {
7278
7522
  type: "text",
7279
7523
  text: "{REF}",
@@ -7282,18 +7526,18 @@ var ground2_right_default = modifySymbol({
7282
7526
  }
7283
7527
  ],
7284
7528
  ports: [
7285
- { ...refblocks38.left1, labels: ["1"] }
7529
+ { ...refblocks48.left1, labels: ["1"] }
7286
7530
  // TODO add more "standard" labels
7287
7531
  ],
7288
- center: { x: bounds38.centerX, y: bounds38.centerY }
7532
+ center: { x: bounds48.centerX, y: bounds48.centerY }
7289
7533
  }).changeTextAnchor("{VAL}", "middle_top").rotateRightFacingSymbol("right").labelPort("left1", ["1"]).changeTextAnchor("{REF}", "middle_right").build();
7290
7534
 
7291
7535
  // symbols/ground2_up.ts
7292
- var { paths: paths39, texts: texts39, bounds: bounds39, refblocks: refblocks39, circles: circles37 } = ground2_default;
7536
+ var { paths: paths49, texts: texts50, bounds: bounds49, refblocks: refblocks49, circles: circles47 } = ground2_default;
7293
7537
  var ground2_up_default = modifySymbol({
7294
7538
  primitives: [
7295
- ...Object.values(paths39),
7296
- ...Object.values(circles37),
7539
+ ...Object.values(paths49),
7540
+ ...Object.values(circles47),
7297
7541
  {
7298
7542
  type: "text",
7299
7543
  text: "{REF}",
@@ -7302,10 +7546,10 @@ var ground2_up_default = modifySymbol({
7302
7546
  }
7303
7547
  ],
7304
7548
  ports: [
7305
- { ...refblocks39.left1, labels: ["1"] }
7549
+ { ...refblocks49.left1, labels: ["1"] }
7306
7550
  // TODO add more "standard" labels
7307
7551
  ],
7308
- center: { x: bounds39.centerX, y: bounds39.centerY }
7552
+ center: { x: bounds49.centerX, y: bounds49.centerY }
7309
7553
  }).rotateRightFacingSymbol("up").labelPort("left1", ["1"]).changeTextAnchor("{REF}", "middle_top").build();
7310
7554
 
7311
7555
  // assets/generated/gunn_diode.json
@@ -7426,7 +7670,7 @@ var gunn_diode_default = {
7426
7670
  };
7427
7671
 
7428
7672
  // symbols/gunn_diode_horz.ts
7429
- var { paths: paths40, texts: texts40, bounds: bounds40, refblocks: refblocks40, circles: circles38 } = gunn_diode_default;
7673
+ var { paths: paths50, texts: texts51, bounds: bounds50, refblocks: refblocks50, circles: circles48 } = gunn_diode_default;
7430
7674
  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
7675
 
7432
7676
  // symbols/gunn_diode_vert.ts
@@ -8190,17 +8434,17 @@ var illuminated_push_button_normally_open_default = {
8190
8434
  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
8435
 
8192
8436
  // 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}");
8437
+ var rotatedSymbol4 = rotateSymbol(illuminated_push_button_normally_open_horz_default);
8438
+ var texts52 = rotatedSymbol4.primitives.filter((p) => p.type === "text");
8439
+ var val18 = texts52.find((t) => t.text === "{VAL}");
8196
8440
  val18.x = -0.35;
8197
8441
  val18.y = 0;
8198
8442
  val18.anchor = "middle_right";
8199
- var ref18 = texts41.find((t) => t.text === "{REF}");
8443
+ var ref18 = texts52.find((t) => t.text === "{REF}");
8200
8444
  ref18.y = 0;
8201
8445
  ref18.x = 0.35;
8202
8446
  ref18.anchor = "middle_left";
8203
- var illuminated_push_button_normally_open_vert_default = rotatedSymbol6;
8447
+ var illuminated_push_button_normally_open_vert_default = rotatedSymbol4;
8204
8448
 
8205
8449
  // assets/generated/inductor.json
8206
8450
  var inductor_default = {
@@ -9598,22 +9842,22 @@ var inductor_default = {
9598
9842
  };
9599
9843
 
9600
9844
  // symbols/inductor_right.ts
9601
- var { paths: paths41, texts: texts42, bounds: bounds41, refblocks: refblocks41, circles: circles39 } = inductor_default;
9845
+ var { paths: paths51, texts: texts53, bounds: bounds51, refblocks: refblocks51, circles: circles49 } = inductor_default;
9602
9846
  var inductor_right_default = defineSymbol({
9603
9847
  primitives: [
9604
- ...Object.values(paths41),
9605
- ...Object.values(circles39),
9606
- { ...texts42.top1, anchor: "middle_bottom" },
9607
- { ...texts42.bottom1, anchor: "middle_top" }
9848
+ ...Object.values(paths51),
9849
+ ...Object.values(circles49),
9850
+ { ...texts53.top1, anchor: "middle_bottom" },
9851
+ { ...texts53.bottom1, anchor: "middle_top" }
9608
9852
  ],
9609
9853
  ports: [
9610
- { ...refblocks41.left1, labels: ["1"] },
9854
+ { ...refblocks51.left1, labels: ["1"] },
9611
9855
  // TODO add more "standard" labels
9612
- { ...refblocks41.right1, labels: ["2"] }
9856
+ { ...refblocks51.right1, labels: ["2"] }
9613
9857
  // TODO add more "standard" labels
9614
9858
  ],
9615
- size: { width: bounds41.width, height: bounds41.height },
9616
- center: { x: bounds41.centerX, y: bounds41.centerY }
9859
+ size: { width: bounds51.width, height: bounds51.height },
9860
+ center: { x: bounds51.centerX, y: bounds51.centerY }
9617
9861
  });
9618
9862
 
9619
9863
  // symbols/inductor_up.ts
@@ -10132,22 +10376,22 @@ var led_default = {
10132
10376
  };
10133
10377
 
10134
10378
  // symbols/led_right.ts
10135
- var { paths: paths42, texts: texts43, bounds: bounds42, refblocks: refblocks42, circles: circles40 } = led_default;
10379
+ var { paths: paths52, texts: texts54, bounds: bounds52, refblocks: refblocks52, circles: circles50 } = led_default;
10136
10380
  var led_right_default = defineSymbol({
10137
10381
  primitives: [
10138
- ...Object.values(paths42),
10139
- ...Object.values(circles40),
10140
- { ...texts43.bottom1, anchor: "middle_top" },
10141
- { ...texts43.right1, anchor: "middle_bottom" }
10382
+ ...Object.values(paths52),
10383
+ ...Object.values(circles50),
10384
+ { ...texts54.bottom1, anchor: "middle_top" },
10385
+ { ...texts54.right1, anchor: "middle_bottom" }
10142
10386
  ],
10143
10387
  ports: [
10144
- { ...refblocks42.left1, labels: ["1"] },
10388
+ { ...refblocks52.left1, labels: ["1"] },
10145
10389
  // TODO add more "standard" labels
10146
- { ...refblocks42.right1, labels: ["2"] }
10390
+ { ...refblocks52.right1, labels: ["2"] }
10147
10391
  // TODO add more "standard" labels
10148
10392
  ],
10149
- size: { width: bounds42.width, height: bounds42.height },
10150
- center: { x: bounds42.centerX, y: bounds42.centerY }
10393
+ size: { width: bounds52.width, height: bounds52.height },
10394
+ center: { x: bounds52.centerX, y: bounds52.centerY }
10151
10395
  });
10152
10396
 
10153
10397
  // symbols/led_up.ts
@@ -10410,36 +10654,36 @@ var light_dependent_resistor_default = {
10410
10654
  };
10411
10655
 
10412
10656
  // symbols/light_dependent_resistor_horz.ts
10413
- var { paths: paths43, texts: texts44, bounds: bounds43, refblocks: refblocks43, circles: circles41 } = light_dependent_resistor_default;
10657
+ var { paths: paths53, texts: texts55, bounds: bounds53, refblocks: refblocks53, circles: circles51 } = light_dependent_resistor_default;
10414
10658
  var light_dependent_resistor_horz_default = defineSymbol({
10415
10659
  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 }
10660
+ ...Object.values(paths53),
10661
+ ...Object.values(circles51),
10662
+ { ...texts55.top1, anchor: "middle_left", x: 0 },
10663
+ { ...texts55.bottom1, anchor: "middle_left", x: 0 }
10420
10664
  ],
10421
10665
  ports: [
10422
- { ...refblocks43.left1, labels: ["1"] },
10666
+ { ...refblocks53.left1, labels: ["1"] },
10423
10667
  // TODO add more "standard" labels
10424
- { ...refblocks43.right1, labels: ["2"] }
10668
+ { ...refblocks53.right1, labels: ["2"] }
10425
10669
  // TODO add more "standard" labels
10426
10670
  ],
10427
- size: { width: bounds43.width, height: bounds43.height },
10428
- center: { x: bounds43.centerX, y: bounds43.centerY }
10671
+ size: { width: bounds53.width, height: bounds53.height },
10672
+ center: { x: bounds53.centerX, y: bounds53.centerY }
10429
10673
  });
10430
10674
 
10431
10675
  // 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}");
10676
+ var rotatedSymbol5 = rotateSymbol(light_dependent_resistor_horz_default);
10677
+ var texts56 = rotatedSymbol5.primitives.filter((p) => p.type === "text");
10678
+ var val24 = texts56.find((t) => t.text === "{VAL}");
10435
10679
  val24.x = -0.35;
10436
10680
  val24.y = 0;
10437
10681
  val24.anchor = "middle_right";
10438
- var ref24 = texts45.find((t) => t.text === "{REF}");
10682
+ var ref24 = texts56.find((t) => t.text === "{REF}");
10439
10683
  ref24.y = 0;
10440
10684
  ref24.x = 0.35;
10441
10685
  ref24.anchor = "middle_left";
10442
- var light_dependent_resistor_vert_default = rotatedSymbol7;
10686
+ var light_dependent_resistor_vert_default = rotatedSymbol5;
10443
10687
 
10444
10688
  // assets/generated/mosfet_depletion_normally_on.json
10445
10689
  var mosfet_depletion_normally_on_default = {
@@ -10712,23 +10956,23 @@ var mosfet_depletion_normally_on_default = {
10712
10956
  };
10713
10957
 
10714
10958
  // symbols/mosfet_depletion_normally_on_horz.ts
10715
- var { paths: paths44, texts: texts46, bounds: bounds44, refblocks: refblocks44 } = mosfet_depletion_normally_on_default;
10959
+ var { paths: paths54, texts: texts57, bounds: bounds54, refblocks: refblocks54 } = mosfet_depletion_normally_on_default;
10716
10960
  var mosfet_depletion_normally_on_horz_default = defineSymbol({
10717
10961
  primitives: [
10718
- ...Object.values(paths44),
10719
- { ...texts46.right1, anchor: "middle_left" },
10720
- { ...texts46.right2, anchor: "middle_left" }
10962
+ ...Object.values(paths54),
10963
+ { ...texts57.right1, anchor: "middle_left" },
10964
+ { ...texts57.right2, anchor: "middle_left" }
10721
10965
  ],
10722
10966
  ports: [
10723
- { ...refblocks44.top1, labels: ["1"] },
10967
+ { ...refblocks54.top1, labels: ["1"] },
10724
10968
  // TODO add more "standard" labels
10725
- { ...refblocks44.bottom1, labels: ["2"] },
10969
+ { ...refblocks54.bottom1, labels: ["2"] },
10726
10970
  // TODO add more "standard" labels
10727
- { ...refblocks44.left1, labels: ["3"] }
10971
+ { ...refblocks54.left1, labels: ["3"] }
10728
10972
  // TODO add more "standard" labels
10729
10973
  ],
10730
- size: { width: bounds44.width + 0.4, height: bounds44.height },
10731
- center: { x: bounds44.centerX + 0.2, y: bounds44.centerY }
10974
+ size: { width: bounds54.width + 0.4, height: bounds54.height },
10975
+ center: { x: bounds54.centerX + 0.2, y: bounds54.centerY }
10732
10976
  });
10733
10977
 
10734
10978
  // symbols/mosfet_depletion_normally_on_vert.ts
@@ -11354,20 +11598,20 @@ var mushroom_head_normally_open_momentary_default = {
11354
11598
  };
11355
11599
 
11356
11600
  // 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;
11601
+ var { paths: paths55, texts: texts58, bounds: bounds55, refblocks: refblocks55, circles: circles52 } = mushroom_head_normally_open_momentary_default;
11358
11602
  var mushroom_head_normally_open_momentary_horz_default = defineSymbol({
11359
11603
  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 }
11604
+ ...Object.values(paths55),
11605
+ ...Object.values(circles52),
11606
+ { ...texts58.top1, anchor: "middle_bottom", x: 0 },
11607
+ { ...texts58.bottom1, anchor: "middle_top", x: 0 }
11364
11608
  ],
11365
11609
  ports: [
11366
- { ...refblocks45.left1, labels: ["1"] },
11367
- { ...refblocks45.right1, labels: ["2"] }
11610
+ { ...refblocks55.left1, labels: ["1"] },
11611
+ { ...refblocks55.right1, labels: ["2"] }
11368
11612
  ],
11369
- size: { width: bounds45.width, height: bounds45.height },
11370
- center: { x: bounds45.centerX + 6e-3, y: bounds45.centerY + 0.06 }
11613
+ size: { width: bounds55.width, height: bounds55.height },
11614
+ center: { x: bounds55.centerX + 6e-3, y: bounds55.centerY + 0.06 }
11371
11615
  });
11372
11616
 
11373
11617
  // symbols/mushroom_head_normally_open_momentary_vert.ts
@@ -11584,38 +11828,38 @@ var n_channel_d_mosfet_transistor_default = {
11584
11828
  };
11585
11829
 
11586
11830
  // 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;
11831
+ var { paths: paths56, texts: texts59, bounds: bounds56, refblocks: refblocks56, circles: circles53 } = n_channel_d_mosfet_transistor_default;
11588
11832
  var n_channel_d_mosfet_transistor_horz_default = defineSymbol({
11589
11833
  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 }
11834
+ ...Object.values(paths56),
11835
+ ...Object.values(circles53),
11836
+ { ...texts59.top1, anchor: "middle_right", x: 0 },
11837
+ { ...texts59.bottom1, anchor: "middle_right", x: 0 }
11594
11838
  ],
11595
11839
  ports: [
11596
- { ...refblocks46.top1, labels: ["1", "drain"] },
11840
+ { ...refblocks56.top1, labels: ["1", "drain"] },
11597
11841
  // TODO add more "standard" labels
11598
- { ...refblocks46.bottom1, labels: ["2", "source"] },
11842
+ { ...refblocks56.bottom1, labels: ["2", "source"] },
11599
11843
  // TODO add more "standard" labels
11600
- { ...refblocks46.left1, labels: ["3", "gate"] }
11844
+ { ...refblocks56.left1, labels: ["3", "gate"] }
11601
11845
  // TODO add more "standard" labels
11602
11846
  ],
11603
- size: { width: bounds46.width, height: bounds46.height },
11604
- center: { x: bounds46.centerX, y: bounds46.centerY }
11847
+ size: { width: bounds56.width, height: bounds56.height },
11848
+ center: { x: bounds56.centerX, y: bounds56.centerY }
11605
11849
  });
11606
11850
 
11607
11851
  // 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}");
11852
+ var rotatedSymbol6 = rotateSymbol(n_channel_d_mosfet_transistor_horz_default);
11853
+ var texts60 = rotatedSymbol6.primitives.filter((p) => p.type === "text");
11854
+ var val27 = texts60.find((t) => t.text === "{VAL}");
11611
11855
  val27.x = -0.35;
11612
11856
  val27.y = 0;
11613
11857
  val27.anchor = "middle_right";
11614
- var ref27 = texts49.find((t) => t.text === "{REF}");
11858
+ var ref27 = texts60.find((t) => t.text === "{REF}");
11615
11859
  ref27.y = 0;
11616
11860
  ref27.x = 0.35;
11617
11861
  ref27.anchor = "middle_left";
11618
- var n_channel_d_mosfet_transistor_vert_default = rotatedSymbol8;
11862
+ var n_channel_d_mosfet_transistor_vert_default = rotatedSymbol6;
11619
11863
 
11620
11864
  // assets/generated/n_channel_e_mosfet_transistor.json
11621
11865
  var n_channel_e_mosfet_transistor_default = {
@@ -11845,38 +12089,38 @@ var n_channel_e_mosfet_transistor_default = {
11845
12089
  };
11846
12090
 
11847
12091
  // 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;
12092
+ var { paths: paths57, texts: texts61, bounds: bounds57, refblocks: refblocks57, circles: circles54 } = n_channel_e_mosfet_transistor_default;
11849
12093
  var n_channel_e_mosfet_transistor_horz_default = defineSymbol({
11850
12094
  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 }
12095
+ ...Object.values(paths57),
12096
+ ...Object.values(circles54),
12097
+ { ...texts61.top1, anchor: "middle_right", x: 0 },
12098
+ { ...texts61.bottom1, anchor: "middle_right", x: 0 }
11855
12099
  ],
11856
12100
  ports: [
11857
- { ...refblocks47.top1, labels: ["1", "drain"] },
12101
+ { ...refblocks57.top1, labels: ["1", "drain"] },
11858
12102
  // TODO add more "standard" labels
11859
- { ...refblocks47.bottom1, labels: ["2", "source"] },
12103
+ { ...refblocks57.bottom1, labels: ["2", "source"] },
11860
12104
  // TODO add more "standard" labels
11861
- { ...refblocks47.left1, labels: ["3", "gate"] }
12105
+ { ...refblocks57.left1, labels: ["3", "gate"] }
11862
12106
  // TODO add more "standard" labels
11863
12107
  ],
11864
- size: { width: bounds47.width, height: bounds47.height },
11865
- center: { x: bounds47.centerX, y: bounds47.centerY }
12108
+ size: { width: bounds57.width, height: bounds57.height },
12109
+ center: { x: bounds57.centerX, y: bounds57.centerY }
11866
12110
  });
11867
12111
 
11868
12112
  // 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}");
12113
+ var rotatedSymbol7 = rotateSymbol(n_channel_e_mosfet_transistor_horz_default);
12114
+ var texts62 = rotatedSymbol7.primitives.filter((p) => p.type === "text");
12115
+ var val28 = texts62.find((t) => t.text === "{VAL}");
11872
12116
  val28.x = -0.35;
11873
12117
  val28.y = 0;
11874
12118
  val28.anchor = "middle_right";
11875
- var ref28 = texts51.find((t) => t.text === "{REF}");
12119
+ var ref28 = texts62.find((t) => t.text === "{REF}");
11876
12120
  ref28.y = 0;
11877
12121
  ref28.x = 0.35;
11878
12122
  ref28.anchor = "middle_left";
11879
- var n_channel_e_mosfet_transistor_vert_default = rotatedSymbol9;
12123
+ var n_channel_e_mosfet_transistor_vert_default = rotatedSymbol7;
11880
12124
 
11881
12125
  // assets/generated/njfet_transistor.json
11882
12126
  var njfet_transistor_default = {
@@ -12046,38 +12290,38 @@ var njfet_transistor_default = {
12046
12290
  };
12047
12291
 
12048
12292
  // symbols/njfet_transistor_horz.ts
12049
- var { paths: paths48, texts: texts52, bounds: bounds48, refblocks: refblocks48, circles: circles45 } = njfet_transistor_default;
12293
+ var { paths: paths58, texts: texts63, bounds: bounds58, refblocks: refblocks58, circles: circles55 } = njfet_transistor_default;
12050
12294
  var njfet_transistor_horz_default = defineSymbol({
12051
12295
  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 }
12296
+ ...Object.values(paths58),
12297
+ ...Object.values(circles55),
12298
+ { ...texts63.top1, anchor: "middle_right", x: 0 },
12299
+ { ...texts63.bottom1, anchor: "middle_right", x: 0 }
12056
12300
  ],
12057
12301
  ports: [
12058
- { ...refblocks48.top1, labels: ["1", "drain"] },
12302
+ { ...refblocks58.top1, labels: ["1", "drain"] },
12059
12303
  // TODO add more "standard" labels
12060
- { ...refblocks48.bottom1, labels: ["2", "source"] },
12304
+ { ...refblocks58.bottom1, labels: ["2", "source"] },
12061
12305
  // TODO add more "standard" labels
12062
- { ...refblocks48.left1, labels: ["3", "gate"] }
12306
+ { ...refblocks58.left1, labels: ["3", "gate"] }
12063
12307
  // TODO add more "standard" labels
12064
12308
  ],
12065
- size: { width: bounds48.width, height: bounds48.height },
12066
- center: { x: bounds48.centerX, y: bounds48.centerY }
12309
+ size: { width: bounds58.width, height: bounds58.height },
12310
+ center: { x: bounds58.centerX, y: bounds58.centerY }
12067
12311
  });
12068
12312
 
12069
12313
  // 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}");
12314
+ var rotatedSymbol8 = rotateSymbol(njfet_transistor_horz_default);
12315
+ var texts64 = rotatedSymbol8.primitives.filter((p) => p.type === "text");
12316
+ var val29 = texts64.find((t) => t.text === "{VAL}");
12073
12317
  val29.x = -0.35;
12074
12318
  val29.y = 0;
12075
12319
  val29.anchor = "middle_right";
12076
- var ref29 = texts53.find((t) => t.text === "{REF}");
12320
+ var ref29 = texts64.find((t) => t.text === "{REF}");
12077
12321
  ref29.y = 0;
12078
12322
  ref29.x = 0.35;
12079
12323
  ref29.anchor = "middle_left";
12080
- var njfet_transistor_vert_default = rotatedSymbol10;
12324
+ var njfet_transistor_vert_default = rotatedSymbol8;
12081
12325
 
12082
12326
  // assets/generated/not_connected.json
12083
12327
  var not_connected_default = {
@@ -12128,11 +12372,11 @@ var not_connected_default = {
12128
12372
  };
12129
12373
 
12130
12374
  // symbols/not_connected_right.ts
12131
- var { paths: paths49, bounds: bounds49, refblocks: refblocks49 } = not_connected_default;
12375
+ var { paths: paths59, bounds: bounds59, refblocks: refblocks59 } = not_connected_default;
12132
12376
  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 }
12377
+ primitives: [...Object.values(paths59)],
12378
+ ports: [{ ...refblocks59.left1, labels: ["1"] }],
12379
+ center: { x: bounds59.centerX, y: bounds59.centerY }
12136
12380
  }).rotateRightFacingSymbol("right").labelPort("left1", ["1"]).build();
12137
12381
 
12138
12382
  // symbols/not_connected_down.ts
@@ -12312,11 +12556,11 @@ var npn_bipolar_transistor_default = {
12312
12556
  };
12313
12557
 
12314
12558
  // symbols/npn_bipolar_transistor_down.ts
12315
- var { paths: paths50, texts: texts54, bounds: bounds50, refblocks: refblocks50, circles: circles46 } = npn_bipolar_transistor_default;
12559
+ var { paths: paths60, texts: texts65, bounds: bounds60, refblocks: refblocks60, circles: circles56 } = npn_bipolar_transistor_default;
12316
12560
  var npn_bipolar_transistor_down_default = modifySymbol({
12317
12561
  primitives: [
12318
- ...Object.values(paths50),
12319
- ...Object.values(circles46),
12562
+ ...Object.values(paths60),
12563
+ ...Object.values(circles56),
12320
12564
  {
12321
12565
  type: "text",
12322
12566
  text: "{REF}",
@@ -12331,24 +12575,24 @@ var npn_bipolar_transistor_down_default = modifySymbol({
12331
12575
  }
12332
12576
  ],
12333
12577
  ports: [
12334
- { ...refblocks50.top1, labels: ["1"] },
12335
- { ...refblocks50.bottom1, labels: ["3"] },
12336
- { ...refblocks50.left1, labels: ["2"] }
12578
+ { ...refblocks60.top1, labels: ["1"] },
12579
+ { ...refblocks60.bottom1, labels: ["3"] },
12580
+ { ...refblocks60.left1, labels: ["2"] }
12337
12581
  ],
12338
- size: { width: bounds50.width, height: bounds50.height },
12339
- center: { x: bounds50.centerX, y: bounds50.centerY }
12582
+ size: { width: bounds60.width, height: bounds60.height },
12583
+ center: { x: bounds60.centerX, y: bounds60.centerY }
12340
12584
  }).rotateRightFacingSymbol("right").changeTextAnchor("{REF}", "middle_right").changeTextAnchor("{VAL}", "middle_right").build();
12341
12585
 
12342
12586
  // symbols/npn_bipolar_transistor_horz.ts
12343
- var { paths: paths51, texts: texts55, bounds: bounds51, refblocks: refblocks51, circles: circles47 } = npn_bipolar_transistor_default;
12587
+ var { paths: paths61, texts: texts66, bounds: bounds61, refblocks: refblocks61, circles: circles57 } = npn_bipolar_transistor_default;
12344
12588
  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
12589
 
12346
12590
  // symbols/npn_bipolar_transistor_left.ts
12347
- var { paths: paths52, texts: texts56, bounds: bounds52, refblocks: refblocks52, circles: circles48 } = npn_bipolar_transistor_default;
12591
+ var { paths: paths62, texts: texts67, bounds: bounds62, refblocks: refblocks62, circles: circles58 } = npn_bipolar_transistor_default;
12348
12592
  var npn_bipolar_transistor_left_default = modifySymbol({
12349
12593
  primitives: [
12350
- ...Object.values(paths52),
12351
- ...Object.values(circles48),
12594
+ ...Object.values(paths62),
12595
+ ...Object.values(circles58),
12352
12596
  {
12353
12597
  type: "text",
12354
12598
  text: "{REF}",
@@ -12363,20 +12607,20 @@ var npn_bipolar_transistor_left_default = modifySymbol({
12363
12607
  }
12364
12608
  ],
12365
12609
  ports: [
12366
- { ...refblocks52.top1, labels: ["1"] },
12367
- { ...refblocks52.bottom1, labels: ["3"] },
12368
- { ...refblocks52.left1, labels: ["2"] }
12610
+ { ...refblocks62.top1, labels: ["1"] },
12611
+ { ...refblocks62.bottom1, labels: ["3"] },
12612
+ { ...refblocks62.left1, labels: ["2"] }
12369
12613
  ],
12370
- size: { width: bounds52.width, height: bounds52.height },
12371
- center: { x: bounds52.centerX, y: bounds52.centerY }
12614
+ size: { width: bounds62.width, height: bounds62.height },
12615
+ center: { x: bounds62.centerX, y: bounds62.centerY }
12372
12616
  }).rotateRightFacingSymbol("down").changeTextAnchor("{REF}", "middle_bottom").changeTextAnchor("{VAL}", "middle_bottom").build();
12373
12617
 
12374
12618
  // symbols/npn_bipolar_transistor_right.ts
12375
- var { paths: paths53, texts: texts57, bounds: bounds53, refblocks: refblocks53, circles: circles49 } = npn_bipolar_transistor_default;
12619
+ var { paths: paths63, texts: texts68, bounds: bounds63, refblocks: refblocks63, circles: circles59 } = npn_bipolar_transistor_default;
12376
12620
  var npn_bipolar_transistor_right_default = modifySymbol({
12377
12621
  primitives: [
12378
- ...Object.values(paths53),
12379
- ...Object.values(circles49),
12622
+ ...Object.values(paths63),
12623
+ ...Object.values(circles59),
12380
12624
  {
12381
12625
  type: "text",
12382
12626
  text: "{REF}",
@@ -12391,20 +12635,20 @@ var npn_bipolar_transistor_right_default = modifySymbol({
12391
12635
  }
12392
12636
  ],
12393
12637
  ports: [
12394
- { ...refblocks53.top1, labels: ["1"] },
12395
- { ...refblocks53.bottom1, labels: ["3"] },
12396
- { ...refblocks53.left1, labels: ["2"] }
12638
+ { ...refblocks63.top1, labels: ["1"] },
12639
+ { ...refblocks63.bottom1, labels: ["3"] },
12640
+ { ...refblocks63.left1, labels: ["2"] }
12397
12641
  ],
12398
- size: { width: bounds53.width, height: bounds53.height },
12399
- center: { x: bounds53.centerX, y: bounds53.centerY }
12642
+ size: { width: bounds63.width, height: bounds63.height },
12643
+ center: { x: bounds63.centerX, y: bounds63.centerY }
12400
12644
  }).rotateRightFacingSymbol("up").changeTextAnchor("{REF}", "middle_top").changeTextAnchor("{VAL}", "middle_top").build();
12401
12645
 
12402
12646
  // symbols/npn_bipolar_transistor_up.ts
12403
- var { paths: paths54, texts: texts58, bounds: bounds54, refblocks: refblocks54, circles: circles50 } = npn_bipolar_transistor_default;
12647
+ var { paths: paths64, texts: texts69, bounds: bounds64, refblocks: refblocks64, circles: circles60 } = npn_bipolar_transistor_default;
12404
12648
  var npn_bipolar_transistor_up_default = modifySymbol({
12405
12649
  primitives: [
12406
- ...Object.values(paths54),
12407
- ...Object.values(circles50),
12650
+ ...Object.values(paths64),
12651
+ ...Object.values(circles60),
12408
12652
  {
12409
12653
  type: "text",
12410
12654
  text: "{REF}",
@@ -12419,20 +12663,20 @@ var npn_bipolar_transistor_up_default = modifySymbol({
12419
12663
  }
12420
12664
  ],
12421
12665
  ports: [
12422
- { ...refblocks54.top1, labels: ["1"] },
12423
- { ...refblocks54.bottom1, labels: ["3"] },
12424
- { ...refblocks54.left1, labels: ["2"] }
12666
+ { ...refblocks64.top1, labels: ["1"] },
12667
+ { ...refblocks64.bottom1, labels: ["3"] },
12668
+ { ...refblocks64.left1, labels: ["2"] }
12425
12669
  ],
12426
- size: { width: bounds54.width, height: bounds54.height },
12427
- center: { x: bounds54.centerX, y: bounds54.centerY }
12670
+ size: { width: bounds64.width, height: bounds64.height },
12671
+ center: { x: bounds64.centerX, y: bounds64.centerY }
12428
12672
  }).rotateRightFacingSymbol("left").changeTextAnchor("{REF}", "middle_left").changeTextAnchor("{VAL}", "middle_left").build();
12429
12673
 
12430
12674
  // symbols/npn_bipolar_transistor_vert.ts
12431
- var { paths: paths55, texts: texts59, bounds: bounds55, refblocks: refblocks55, circles: circles51 } = npn_bipolar_transistor_default;
12675
+ var { paths: paths65, texts: texts70, bounds: bounds65, refblocks: refblocks65, circles: circles61 } = npn_bipolar_transistor_default;
12432
12676
  var npn_bipolar_transistor_vert_default = modifySymbol({
12433
12677
  primitives: [
12434
- ...Object.values(paths55),
12435
- ...Object.values(circles51),
12678
+ ...Object.values(paths65),
12679
+ ...Object.values(circles61),
12436
12680
  {
12437
12681
  type: "text",
12438
12682
  text: "{REF}",
@@ -12447,12 +12691,12 @@ var npn_bipolar_transistor_vert_default = modifySymbol({
12447
12691
  }
12448
12692
  ],
12449
12693
  ports: [
12450
- { ...refblocks55.top1, labels: ["1"] },
12451
- { ...refblocks55.bottom1, labels: ["3"] },
12452
- { ...refblocks55.left1, labels: ["2"] }
12694
+ { ...refblocks65.top1, labels: ["1"] },
12695
+ { ...refblocks65.bottom1, labels: ["3"] },
12696
+ { ...refblocks65.left1, labels: ["2"] }
12453
12697
  ],
12454
- size: { width: bounds55.width, height: bounds55.height },
12455
- center: { x: bounds55.centerX, y: bounds55.centerY }
12698
+ size: { width: bounds65.width, height: bounds65.height },
12699
+ center: { x: bounds65.centerX, y: bounds65.centerY }
12456
12700
  }).rotateRightFacingSymbol("left").changeTextAnchor("{REF}", "middle_left").changeTextAnchor("{VAL}", "middle_left").build();
12457
12701
 
12458
12702
  // assets/generated/opamp_no_power.json
@@ -13075,38 +13319,38 @@ var p_channel_d_mosfet_transistor_default = {
13075
13319
  };
13076
13320
 
13077
13321
  // 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;
13322
+ var { paths: paths66, texts: texts71, bounds: bounds66, refblocks: refblocks66, circles: circles62 } = p_channel_d_mosfet_transistor_default;
13079
13323
  var p_channel_d_mosfet_transistor_horz_default = defineSymbol({
13080
13324
  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 }
13325
+ ...Object.values(paths66),
13326
+ ...Object.values(circles62),
13327
+ { ...texts71.top1, anchor: "middle_right", x: 0 },
13328
+ { ...texts71.bottom1, anchor: "middle_right", x: 0 }
13085
13329
  ],
13086
13330
  ports: [
13087
- { ...refblocks56.top1, labels: ["1", "drain"] },
13331
+ { ...refblocks66.top1, labels: ["1", "drain"] },
13088
13332
  // TODO add more "standard" labels
13089
- { ...refblocks56.bottom1, labels: ["2", "source"] },
13333
+ { ...refblocks66.bottom1, labels: ["2", "source"] },
13090
13334
  // TODO add more "standard" labels
13091
- { ...refblocks56.left1, labels: ["3", "gate"] }
13335
+ { ...refblocks66.left1, labels: ["3", "gate"] }
13092
13336
  // TODO add more "standard" labels
13093
13337
  ],
13094
- size: { width: bounds56.width, height: bounds56.height },
13095
- center: { x: bounds56.centerX, y: bounds56.centerY }
13338
+ size: { width: bounds66.width, height: bounds66.height },
13339
+ center: { x: bounds66.centerX, y: bounds66.centerY }
13096
13340
  });
13097
13341
 
13098
13342
  // 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}");
13343
+ var rotatedSymbol9 = rotateSymbol(p_channel_d_mosfet_transistor_horz_default);
13344
+ var texts72 = rotatedSymbol9.primitives.filter((p) => p.type === "text");
13345
+ var val30 = texts72.find((t) => t.text === "{VAL}");
13102
13346
  val30.x = -0.35;
13103
13347
  val30.y = 0;
13104
13348
  val30.anchor = "middle_right";
13105
- var ref30 = texts61.find((t) => t.text === "{REF}");
13349
+ var ref30 = texts72.find((t) => t.text === "{REF}");
13106
13350
  ref30.y = 0;
13107
13351
  ref30.x = 0.35;
13108
13352
  ref30.anchor = "middle_left";
13109
- var p_channel_d_mosfet_transistor_vert_default = rotatedSymbol11;
13353
+ var p_channel_d_mosfet_transistor_vert_default = rotatedSymbol9;
13110
13354
 
13111
13355
  // assets/generated/p_channel_e_mosfet_transistor.json
13112
13356
  var p_channel_e_mosfet_transistor_default = {
@@ -13336,38 +13580,38 @@ var p_channel_e_mosfet_transistor_default = {
13336
13580
  };
13337
13581
 
13338
13582
  // 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;
13583
+ var { paths: paths67, texts: texts73, bounds: bounds67, refblocks: refblocks67, circles: circles63 } = p_channel_e_mosfet_transistor_default;
13340
13584
  var p_channel_e_mosfet_transistor_horz_default = defineSymbol({
13341
13585
  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 }
13586
+ ...Object.values(paths67),
13587
+ ...Object.values(circles63),
13588
+ { ...texts73.top1, anchor: "middle_right", x: 0 },
13589
+ { ...texts73.bottom1, anchor: "middle_right", x: 0 }
13346
13590
  ],
13347
13591
  ports: [
13348
- { ...refblocks57.top1, labels: ["1", "drain"] },
13592
+ { ...refblocks67.top1, labels: ["1", "drain"] },
13349
13593
  // TODO add more "standard" labels
13350
- { ...refblocks57.bottom1, labels: ["2", "source"] },
13594
+ { ...refblocks67.bottom1, labels: ["2", "source"] },
13351
13595
  // TODO add more "standard" labels
13352
- { ...refblocks57.left1, labels: ["3", "gate"] }
13596
+ { ...refblocks67.left1, labels: ["3", "gate"] }
13353
13597
  // TODO add more "standard" labels
13354
13598
  ],
13355
- size: { width: bounds57.width, height: bounds57.height },
13356
- center: { x: bounds57.centerX, y: bounds57.centerY }
13599
+ size: { width: bounds67.width, height: bounds67.height },
13600
+ center: { x: bounds67.centerX, y: bounds67.centerY }
13357
13601
  });
13358
13602
 
13359
13603
  // 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}");
13604
+ var rotatedSymbol10 = rotateSymbol(p_channel_e_mosfet_transistor_horz_default);
13605
+ var texts74 = rotatedSymbol10.primitives.filter((p) => p.type === "text");
13606
+ var val31 = texts74.find((t) => t.text === "{VAL}");
13363
13607
  val31.x = -0.35;
13364
13608
  val31.y = 0;
13365
13609
  val31.anchor = "middle_right";
13366
- var ref31 = texts63.find((t) => t.text === "{REF}");
13610
+ var ref31 = texts74.find((t) => t.text === "{REF}");
13367
13611
  ref31.y = 0;
13368
13612
  ref31.x = 0.35;
13369
13613
  ref31.anchor = "middle_left";
13370
- var p_channel_e_mosfet_transistor_vert_default = rotatedSymbol12;
13614
+ var p_channel_e_mosfet_transistor_vert_default = rotatedSymbol10;
13371
13615
 
13372
13616
  // assets/generated/photodiode.json
13373
13617
  var photodiode_default = {
@@ -13597,12 +13841,12 @@ var photodiode_default = {
13597
13841
  var photodiode_horz_default = modifySymbol(photodiode_default).changeTextAnchor("{VAL}", "middle_top").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_bottom").build();
13598
13842
 
13599
13843
  // 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}");
13844
+ var rotatedSymbol11 = rotateSymbol(photodiode_horz_default);
13845
+ var texts75 = rotatedSymbol11.primitives.filter((p) => p.type === "text");
13846
+ var ref32 = texts75.find((t) => t.text === "{REF}");
13603
13847
  ref32.y = 0;
13604
13848
  ref32.anchor = "middle_left";
13605
- var photodiode_vert_default = rotatedSymbol13;
13849
+ var photodiode_vert_default = rotatedSymbol11;
13606
13850
 
13607
13851
  // assets/generated/pjfet_transistor.json
13608
13852
  var pjfet_transistor_default = {
@@ -13772,38 +14016,38 @@ var pjfet_transistor_default = {
13772
14016
  };
13773
14017
 
13774
14018
  // symbols/pjfet_transistor_horz.ts
13775
- var { paths: paths58, texts: texts65, bounds: bounds58, refblocks: refblocks58, circles: circles54 } = pjfet_transistor_default;
14019
+ var { paths: paths68, texts: texts76, bounds: bounds68, refblocks: refblocks68, circles: circles64 } = pjfet_transistor_default;
13776
14020
  var pjfet_transistor_horz_default = defineSymbol({
13777
14021
  primitives: [
13778
- ...Object.values(paths58),
13779
- ...Object.values(circles54),
13780
- { ...texts65.top1, anchor: "middle_right", x: 0 },
13781
- { ...texts65.bottom1, anchor: "middle_right" }
14022
+ ...Object.values(paths68),
14023
+ ...Object.values(circles64),
14024
+ { ...texts76.top1, anchor: "middle_right", x: 0 },
14025
+ { ...texts76.bottom1, anchor: "middle_right" }
13782
14026
  ],
13783
14027
  ports: [
13784
- { ...refblocks58.top1, labels: ["1", "drain"] },
14028
+ { ...refblocks68.top1, labels: ["1", "drain"] },
13785
14029
  // TODO add more "standard" labels
13786
- { ...refblocks58.bottom1, labels: ["2", "source"] },
14030
+ { ...refblocks68.bottom1, labels: ["2", "source"] },
13787
14031
  // TODO add more "standard" labels
13788
- { ...refblocks58.left1, labels: ["3", "gate"] }
14032
+ { ...refblocks68.left1, labels: ["3", "gate"] }
13789
14033
  // TODO add more "standard" labels
13790
14034
  ],
13791
- size: { width: bounds58.width, height: bounds58.height },
13792
- center: { x: bounds58.centerX, y: bounds58.centerY }
14035
+ size: { width: bounds68.width, height: bounds68.height },
14036
+ center: { x: bounds68.centerX, y: bounds68.centerY }
13793
14037
  });
13794
14038
 
13795
14039
  // 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}");
14040
+ var rotatedSymbol12 = rotateSymbol(pjfet_transistor_horz_default);
14041
+ var texts77 = rotatedSymbol12.primitives.filter((p) => p.type === "text");
14042
+ var val32 = texts77.find((t) => t.text === "{VAL}");
13799
14043
  val32.x = -0.35;
13800
14044
  val32.y = 0;
13801
14045
  val32.anchor = "middle_right";
13802
- var ref33 = texts66.find((t) => t.text === "{REF}");
14046
+ var ref33 = texts77.find((t) => t.text === "{REF}");
13803
14047
  ref33.y = 0;
13804
14048
  ref33.x = 0.35;
13805
14049
  ref33.anchor = "middle_left";
13806
- var pjfet_transistor_vert_default = rotatedSymbol14;
14050
+ var pjfet_transistor_vert_default = rotatedSymbol12;
13807
14051
 
13808
14052
  // assets/generated/pnp_bipolar_transistor.json
13809
14053
  var pnp_bipolar_transistor_default = {
@@ -13973,11 +14217,11 @@ var pnp_bipolar_transistor_default = {
13973
14217
  };
13974
14218
 
13975
14219
  // symbols/pnp_bipolar_transistor_down.ts
13976
- var { paths: paths59, texts: texts67, bounds: bounds59, refblocks: refblocks59, circles: circles55 } = pnp_bipolar_transistor_default;
14220
+ var { paths: paths69, texts: texts78, bounds: bounds69, refblocks: refblocks69, circles: circles65 } = pnp_bipolar_transistor_default;
13977
14221
  var pnp_bipolar_transistor_down_default = modifySymbol({
13978
14222
  primitives: [
13979
- ...Object.values(paths59),
13980
- ...Object.values(circles55),
14223
+ ...Object.values(paths69),
14224
+ ...Object.values(circles65),
13981
14225
  {
13982
14226
  type: "text",
13983
14227
  text: "{REF}",
@@ -13992,24 +14236,24 @@ var pnp_bipolar_transistor_down_default = modifySymbol({
13992
14236
  }
13993
14237
  ],
13994
14238
  ports: [
13995
- { ...refblocks59.top1, labels: ["1"] },
13996
- { ...refblocks59.bottom1, labels: ["3"] },
13997
- { ...refblocks59.left1, labels: ["2"] }
14239
+ { ...refblocks69.top1, labels: ["1"] },
14240
+ { ...refblocks69.bottom1, labels: ["3"] },
14241
+ { ...refblocks69.left1, labels: ["2"] }
13998
14242
  ],
13999
- size: { width: bounds59.width, height: bounds59.height },
14000
- center: { x: bounds59.centerX, y: bounds59.centerY }
14243
+ size: { width: bounds69.width, height: bounds69.height },
14244
+ center: { x: bounds69.centerX, y: bounds69.centerY }
14001
14245
  }).rotateRightFacingSymbol("right").changeTextAnchor("{REF}", "middle_right").changeTextAnchor("{VAL}", "middle_right").build();
14002
14246
 
14003
14247
  // symbols/pnp_bipolar_transistor_horz.ts
14004
- var { paths: paths60, texts: texts68, bounds: bounds60, refblocks: refblocks60, circles: circles56 } = pnp_bipolar_transistor_default;
14248
+ var { paths: paths70, texts: texts79, bounds: bounds70, refblocks: refblocks70, circles: circles66 } = pnp_bipolar_transistor_default;
14005
14249
  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
14250
 
14007
14251
  // symbols/pnp_bipolar_transistor_left.ts
14008
- var { paths: paths61, texts: texts69, bounds: bounds61, refblocks: refblocks61, circles: circles57 } = pnp_bipolar_transistor_default;
14252
+ var { paths: paths71, texts: texts80, bounds: bounds71, refblocks: refblocks71, circles: circles67 } = pnp_bipolar_transistor_default;
14009
14253
  var pnp_bipolar_transistor_left_default = modifySymbol({
14010
14254
  primitives: [
14011
- ...Object.values(paths61),
14012
- ...Object.values(circles57),
14255
+ ...Object.values(paths71),
14256
+ ...Object.values(circles67),
14013
14257
  {
14014
14258
  type: "text",
14015
14259
  text: "{REF}",
@@ -14024,20 +14268,20 @@ var pnp_bipolar_transistor_left_default = modifySymbol({
14024
14268
  }
14025
14269
  ],
14026
14270
  ports: [
14027
- { ...refblocks61.top1, labels: ["1"] },
14028
- { ...refblocks61.bottom1, labels: ["3"] },
14029
- { ...refblocks61.left1, labels: ["2"] }
14271
+ { ...refblocks71.top1, labels: ["1"] },
14272
+ { ...refblocks71.bottom1, labels: ["3"] },
14273
+ { ...refblocks71.left1, labels: ["2"] }
14030
14274
  ],
14031
- size: { width: bounds61.width, height: bounds61.height },
14032
- center: { x: bounds61.centerX, y: bounds61.centerY }
14275
+ size: { width: bounds71.width, height: bounds71.height },
14276
+ center: { x: bounds71.centerX, y: bounds71.centerY }
14033
14277
  }).rotateRightFacingSymbol("down").changeTextAnchor("{REF}", "middle_bottom").changeTextAnchor("{VAL}", "middle_bottom").build();
14034
14278
 
14035
14279
  // symbols/pnp_bipolar_transistor_right.ts
14036
- var { paths: paths62, texts: texts70, bounds: bounds62, refblocks: refblocks62, circles: circles58 } = pnp_bipolar_transistor_default;
14280
+ var { paths: paths72, texts: texts81, bounds: bounds72, refblocks: refblocks72, circles: circles68 } = pnp_bipolar_transistor_default;
14037
14281
  var pnp_bipolar_transistor_right_default = modifySymbol({
14038
14282
  primitives: [
14039
- ...Object.values(paths62),
14040
- ...Object.values(circles58),
14283
+ ...Object.values(paths72),
14284
+ ...Object.values(circles68),
14041
14285
  {
14042
14286
  type: "text",
14043
14287
  text: "{REF}",
@@ -14052,20 +14296,20 @@ var pnp_bipolar_transistor_right_default = modifySymbol({
14052
14296
  }
14053
14297
  ],
14054
14298
  ports: [
14055
- { ...refblocks62.top1, labels: ["1"] },
14056
- { ...refblocks62.bottom1, labels: ["3"] },
14057
- { ...refblocks62.left1, labels: ["2"] }
14299
+ { ...refblocks72.top1, labels: ["1"] },
14300
+ { ...refblocks72.bottom1, labels: ["3"] },
14301
+ { ...refblocks72.left1, labels: ["2"] }
14058
14302
  ],
14059
- size: { width: bounds62.width, height: bounds62.height },
14060
- center: { x: bounds62.centerX, y: bounds62.centerY }
14303
+ size: { width: bounds72.width, height: bounds72.height },
14304
+ center: { x: bounds72.centerX, y: bounds72.centerY }
14061
14305
  }).rotateRightFacingSymbol("up").changeTextAnchor("{REF}", "middle_top").changeTextAnchor("{VAL}", "middle_top").build();
14062
14306
 
14063
14307
  // symbols/pnp_bipolar_transistor_up.ts
14064
- var { paths: paths63, texts: texts71, bounds: bounds63, refblocks: refblocks63, circles: circles59 } = pnp_bipolar_transistor_default;
14308
+ var { paths: paths73, texts: texts82, bounds: bounds73, refblocks: refblocks73, circles: circles69 } = pnp_bipolar_transistor_default;
14065
14309
  var pnp_bipolar_transistor_up_default = modifySymbol({
14066
14310
  primitives: [
14067
- ...Object.values(paths63),
14068
- ...Object.values(circles59),
14311
+ ...Object.values(paths73),
14312
+ ...Object.values(circles69),
14069
14313
  {
14070
14314
  type: "text",
14071
14315
  text: "{REF}",
@@ -14080,20 +14324,20 @@ var pnp_bipolar_transistor_up_default = modifySymbol({
14080
14324
  }
14081
14325
  ],
14082
14326
  ports: [
14083
- { ...refblocks63.top1, labels: ["1"] },
14084
- { ...refblocks63.bottom1, labels: ["3"] },
14085
- { ...refblocks63.left1, labels: ["2"] }
14327
+ { ...refblocks73.top1, labels: ["1"] },
14328
+ { ...refblocks73.bottom1, labels: ["3"] },
14329
+ { ...refblocks73.left1, labels: ["2"] }
14086
14330
  ],
14087
- size: { width: bounds63.width, height: bounds63.height },
14088
- center: { x: bounds63.centerX, y: bounds63.centerY }
14331
+ size: { width: bounds73.width, height: bounds73.height },
14332
+ center: { x: bounds73.centerX, y: bounds73.centerY }
14089
14333
  }).rotateRightFacingSymbol("left").changeTextAnchor("{REF}", "middle_left").changeTextAnchor("{VAL}", "middle_left").build();
14090
14334
 
14091
14335
  // symbols/pnp_bipolar_transistor_vert.ts
14092
- var { paths: paths64, texts: texts72, bounds: bounds64, refblocks: refblocks64, circles: circles60 } = pnp_bipolar_transistor_default;
14336
+ var { paths: paths74, texts: texts83, bounds: bounds74, refblocks: refblocks74, circles: circles70 } = pnp_bipolar_transistor_default;
14093
14337
  var pnp_bipolar_transistor_vert_default = modifySymbol({
14094
14338
  primitives: [
14095
- ...Object.values(paths64),
14096
- ...Object.values(circles60),
14339
+ ...Object.values(paths74),
14340
+ ...Object.values(circles70),
14097
14341
  {
14098
14342
  type: "text",
14099
14343
  text: "{REF}",
@@ -14108,12 +14352,12 @@ var pnp_bipolar_transistor_vert_default = modifySymbol({
14108
14352
  }
14109
14353
  ],
14110
14354
  ports: [
14111
- { ...refblocks64.top1, labels: ["1"] },
14112
- { ...refblocks64.bottom1, labels: ["3"] },
14113
- { ...refblocks64.left1, labels: ["2"] }
14355
+ { ...refblocks74.top1, labels: ["1"] },
14356
+ { ...refblocks74.bottom1, labels: ["3"] },
14357
+ { ...refblocks74.left1, labels: ["2"] }
14114
14358
  ],
14115
- size: { width: bounds64.width, height: bounds64.height },
14116
- center: { x: bounds64.centerX, y: bounds64.centerY }
14359
+ size: { width: bounds74.width, height: bounds74.height },
14360
+ center: { x: bounds74.centerX, y: bounds74.centerY }
14117
14361
  }).rotateRightFacingSymbol("left").changeTextAnchor("{REF}", "middle_left").changeTextAnchor("{VAL}", "middle_left").build();
14118
14362
 
14119
14363
  // assets/generated/potentiometer.json
@@ -14526,21 +14770,21 @@ var potentiometer_default = {
14526
14770
  };
14527
14771
 
14528
14772
  // symbols/potentiometer_horz.ts
14529
- var { paths: paths65, texts: texts73, bounds: bounds65, refblocks: refblocks65 } = potentiometer_default;
14773
+ var { paths: paths75, texts: texts84, bounds: bounds75, refblocks: refblocks75 } = potentiometer_default;
14530
14774
  var potentiometer_horz_default = defineSymbol({
14531
14775
  primitives: [
14532
- ...Object.values(paths65),
14533
- { ...texts73.bottom1, y: 0.35, anchor: "middle_top" },
14534
- { ...texts73.top1, anchor: "middle_left" }
14776
+ ...Object.values(paths75),
14777
+ { ...texts84.bottom1, y: 0.35, anchor: "middle_top" },
14778
+ { ...texts84.top1, anchor: "middle_left" }
14535
14779
  ],
14536
14780
  ports: [
14537
- { ...refblocks65.left1, labels: ["1"] },
14781
+ { ...refblocks75.left1, labels: ["1"] },
14538
14782
  // TODO add more "standard" labels
14539
- { ...refblocks65.right1, labels: ["2"] }
14783
+ { ...refblocks75.right1, labels: ["2"] }
14540
14784
  // TODO add more "standard" labels
14541
14785
  ],
14542
- size: { width: bounds65.width + 0.05, height: bounds65.height },
14543
- center: { x: bounds65.centerX, y: bounds65.centerY }
14786
+ size: { width: bounds75.width + 0.05, height: bounds75.height },
14787
+ center: { x: bounds75.centerX, y: bounds75.centerY }
14544
14788
  });
14545
14789
 
14546
14790
  // symbols/potentiometer_vert.ts
@@ -14703,21 +14947,21 @@ var potentiometer2_default = {
14703
14947
  };
14704
14948
 
14705
14949
  // symbols/potentiometer2_right.ts
14706
- var { paths: paths66, texts: texts74, bounds: bounds66, refblocks: refblocks66 } = potentiometer2_default;
14950
+ var { paths: paths76, texts: texts85, bounds: bounds76, refblocks: refblocks76 } = potentiometer2_default;
14707
14951
  var potentiometer2_right_default = defineSymbol({
14708
14952
  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" }
14953
+ ...Object.values(paths76),
14954
+ { ...texts85.bottom1, x: 0, y: -0.35, anchor: "middle_top" },
14955
+ { ...texts85.top1, x: 0, y: 0.35, anchor: "middle_bottom" }
14712
14956
  ],
14713
14957
  ports: [
14714
- { ...refblocks66.left1, labels: ["1"] },
14958
+ { ...refblocks76.left1, labels: ["1"] },
14715
14959
  // TODO add more "standard" labels
14716
- { ...refblocks66.right1, labels: ["2"] }
14960
+ { ...refblocks76.right1, labels: ["2"] }
14717
14961
  // TODO add more "standard" labels
14718
14962
  ],
14719
- size: { width: bounds66.width + 0.05, height: bounds66.height },
14720
- center: { x: bounds66.centerX, y: bounds66.centerY }
14963
+ size: { width: bounds76.width + 0.05, height: bounds76.height },
14964
+ center: { x: bounds76.centerX, y: bounds76.centerY }
14721
14965
  });
14722
14966
 
14723
14967
  // symbols/potentiometer2_down.ts
@@ -14962,11 +15206,11 @@ var power_factor_meter_default = {
14962
15206
  };
14963
15207
 
14964
15208
  // symbols/power_factor_meter_horz.ts
14965
- var { paths: paths67, texts: texts75, bounds: bounds67, refblocks: refblocks67, circles: circles61 } = power_factor_meter_default;
15209
+ var { paths: paths77, texts: texts86, bounds: bounds77, refblocks: refblocks77, circles: circles71 } = power_factor_meter_default;
14966
15210
  var power_factor_meter_horz_default = defineSymbol({
14967
15211
  primitives: [
14968
- ...Object.values(paths67),
14969
- ...Object.values(circles61),
15212
+ ...Object.values(paths77),
15213
+ ...Object.values(circles71),
14970
15214
  // { ...texts.top1, anchor: "middle_left" },
14971
15215
  {
14972
15216
  type: "text",
@@ -14993,21 +15237,21 @@ var power_factor_meter_horz_default = defineSymbol({
14993
15237
  }
14994
15238
  ],
14995
15239
  ports: [
14996
- { ...refblocks67.left1, labels: ["1"] },
15240
+ { ...refblocks77.left1, labels: ["1"] },
14997
15241
  // TODO add more "standard" labels
14998
- { ...refblocks67.right1, labels: ["2"] }
15242
+ { ...refblocks77.right1, labels: ["2"] }
14999
15243
  // TODO add more "standard" labels
15000
15244
  ],
15001
- size: { width: bounds67.width, height: bounds67.height },
15002
- center: { x: bounds67.centerX, y: bounds67.centerY }
15245
+ size: { width: bounds77.width, height: bounds77.height },
15246
+ center: { x: bounds77.centerX, y: bounds77.centerY }
15003
15247
  });
15004
15248
 
15005
15249
  // 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");
15250
+ var rotatedSymbol13 = rotateSymbol(power_factor_meter_horz_default);
15251
+ var texts87 = rotatedSymbol13.primitives.filter((p) => p.type === "text");
15252
+ var ref37 = texts87.find((t) => t.text === "{REF}");
15253
+ var val36 = texts87.find((t) => t.text === "{VAL}");
15254
+ var text_cos = texts87.find((t) => t.text === "COS \u03C6");
15011
15255
  ref37.x = 0.35;
15012
15256
  ref37.y = 0;
15013
15257
  ref37.anchor = "middle_left";
@@ -15017,7 +15261,7 @@ val36.y = 0;
15017
15261
  text_cos.x = 0;
15018
15262
  text_cos.y = 0;
15019
15263
  text_cos.anchor = "center";
15020
- var power_factor_meter_vert_default = rotatedSymbol15;
15264
+ var power_factor_meter_vert_default = rotatedSymbol13;
15021
15265
 
15022
15266
  // assets/generated/push_button_normally_closed_momentary.json
15023
15267
  var push_button_normally_closed_momentary_default = {
@@ -15138,22 +15382,22 @@ var push_button_normally_closed_momentary_default = {
15138
15382
  };
15139
15383
 
15140
15384
  // 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;
15385
+ var { paths: paths78, texts: texts88, bounds: bounds78, refblocks: refblocks78, circles: circles72 } = push_button_normally_closed_momentary_default;
15142
15386
  var push_button_normally_closed_momentary_horz_default = defineSymbol({
15143
15387
  primitives: [
15144
- ...Object.values(paths68),
15145
- ...Object.values(circles62),
15146
- { ...texts77.top1, anchor: "middle_left" },
15147
- { ...texts77.bottom1, anchor: "middle_left" }
15388
+ ...Object.values(paths78),
15389
+ ...Object.values(circles72),
15390
+ { ...texts88.top1, anchor: "middle_left" },
15391
+ { ...texts88.bottom1, anchor: "middle_left" }
15148
15392
  ],
15149
15393
  ports: [
15150
- { ...refblocks68.left1, labels: ["1"] },
15394
+ { ...refblocks78.left1, labels: ["1"] },
15151
15395
  // TODO add more "standard" labels
15152
- { ...refblocks68.right1, labels: ["2"] }
15396
+ { ...refblocks78.right1, labels: ["2"] }
15153
15397
  // TODO add more "standard" labels
15154
15398
  ],
15155
- size: { width: bounds68.width, height: bounds68.height },
15156
- center: { x: bounds68.centerX, y: bounds68.centerY }
15399
+ size: { width: bounds78.width, height: bounds78.height },
15400
+ center: { x: bounds78.centerX, y: bounds78.centerY }
15157
15401
  });
15158
15402
 
15159
15403
  // symbols/push_button_normally_closed_momentary_vert.ts
@@ -15308,22 +15552,22 @@ var push_button_normally_open_momentary_default = {
15308
15552
  };
15309
15553
 
15310
15554
  // 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;
15555
+ var { paths: paths79, texts: texts89, bounds: bounds79, refblocks: refblocks79, circles: circles73 } = push_button_normally_open_momentary_default;
15312
15556
  var push_button_normally_open_momentary_horz_default = defineSymbol({
15313
15557
  primitives: [
15314
- ...Object.values(paths69),
15315
- ...Object.values(circles63),
15316
- { ...texts78.top1, anchor: "middle_left" },
15317
- { ...texts78.bottom1, anchor: "middle_left" }
15558
+ ...Object.values(paths79),
15559
+ ...Object.values(circles73),
15560
+ { ...texts89.top1, anchor: "middle_left" },
15561
+ { ...texts89.bottom1, anchor: "middle_left" }
15318
15562
  ],
15319
15563
  ports: [
15320
- { ...refblocks69.left1, labels: ["1"] },
15564
+ { ...refblocks79.left1, labels: ["1"] },
15321
15565
  // TODO add more "standard" labels
15322
- { ...refblocks69.right1, labels: ["2"] }
15566
+ { ...refblocks79.right1, labels: ["2"] }
15323
15567
  // TODO add more "standard" labels
15324
15568
  ],
15325
- size: { width: bounds69.width, height: bounds69.height },
15326
- center: { x: bounds69.centerX, y: bounds69.centerY }
15569
+ size: { width: bounds79.width, height: bounds79.height },
15570
+ center: { x: bounds79.centerX, y: bounds79.centerY }
15327
15571
  });
15328
15572
 
15329
15573
  // symbols/push_button_normally_open_momentary_vert.ts
@@ -15739,26 +15983,26 @@ var rectifier_diode_default = {
15739
15983
  };
15740
15984
 
15741
15985
  // symbols/rectifier_diode_horz.ts
15742
- var { paths: paths70, texts: texts79, bounds: bounds70, refblocks: refblocks70, circles: circles64 } = rectifier_diode_default;
15986
+ var { paths: paths80, texts: texts90, bounds: bounds80, refblocks: refblocks80, circles: circles74 } = rectifier_diode_default;
15743
15987
  var rectifier_diode_horz_default = defineSymbol({
15744
15988
  primitives: [
15745
- ...Object.values(paths70),
15746
- ...Object.values(circles64),
15747
- { ...texts79.top1, anchor: "middle_right" },
15748
- { ...texts79.bottom1, anchor: "middle_right" }
15989
+ ...Object.values(paths80),
15990
+ ...Object.values(circles74),
15991
+ { ...texts90.top1, anchor: "middle_right" },
15992
+ { ...texts90.bottom1, anchor: "middle_right" }
15749
15993
  ],
15750
15994
  ports: [
15751
- { ...refblocks70.top1, labels: ["1"] },
15995
+ { ...refblocks80.top1, labels: ["1"] },
15752
15996
  // TODO add more "standard" labels
15753
- { ...refblocks70.bottom1, labels: ["2"] },
15997
+ { ...refblocks80.bottom1, labels: ["2"] },
15754
15998
  // TODO add more "standard" labels
15755
- { ...refblocks70.left1, labels: ["3"] },
15999
+ { ...refblocks80.left1, labels: ["3"] },
15756
16000
  // TODO add more "standard" labels
15757
- { ...refblocks70.right1, labels: ["4"] }
16001
+ { ...refblocks80.right1, labels: ["4"] }
15758
16002
  // TODO add more "standard" labels
15759
16003
  ],
15760
- size: { width: bounds70.width, height: bounds70.height },
15761
- center: { x: bounds70.centerX, y: bounds70.centerY }
16004
+ size: { width: bounds80.width, height: bounds80.height },
16005
+ center: { x: bounds80.centerX, y: bounds80.centerY }
15762
16006
  });
15763
16007
 
15764
16008
  // symbols/rectifier_diode_vert.ts
@@ -15980,11 +16224,11 @@ var resistor_default = {
15980
16224
  };
15981
16225
 
15982
16226
  // symbols/resistor_down.ts
15983
- var { paths: paths71, texts: texts80, bounds: bounds71, refblocks: refblocks71, circles: circles65 } = resistor_default;
16227
+ var { paths: paths81, texts: texts91, bounds: bounds81, refblocks: refblocks81, circles: circles75 } = resistor_default;
15984
16228
  var resistor_down_default = modifySymbol({
15985
16229
  primitives: [
15986
- ...Object.values(paths71),
15987
- ...Object.values(circles65),
16230
+ ...Object.values(paths81),
16231
+ ...Object.values(circles75),
15988
16232
  {
15989
16233
  type: "text",
15990
16234
  text: "{REF}",
@@ -15999,21 +16243,21 @@ var resistor_down_default = modifySymbol({
15999
16243
  }
16000
16244
  ],
16001
16245
  ports: [
16002
- { ...refblocks71.left1, labels: ["1"] },
16246
+ { ...refblocks81.left1, labels: ["1"] },
16003
16247
  // TODO add more "standard" labels
16004
- { ...refblocks71.right1, labels: ["2"] }
16248
+ { ...refblocks81.right1, labels: ["2"] }
16005
16249
  // TODO add more "standard" labels
16006
16250
  ],
16007
- size: { width: bounds71.width, height: bounds71.height },
16008
- center: { x: bounds71.centerX, y: bounds71.centerY }
16251
+ size: { width: bounds81.width, height: bounds81.height },
16252
+ center: { x: bounds81.centerX, y: bounds81.centerY }
16009
16253
  }).rotateRightFacingSymbol("down").labelPort("left", ["1"]).labelPort("right", ["2"]).changeTextAnchor("{REF}", "middle_left").changeTextAnchor("{VAL}", "middle_left").build();
16010
16254
 
16011
16255
  // symbols/resistor_left.ts
16012
- var { paths: paths72, texts: texts81, bounds: bounds72, refblocks: refblocks72, circles: circles66 } = resistor_default;
16256
+ var { paths: paths82, texts: texts92, bounds: bounds82, refblocks: refblocks82, circles: circles76 } = resistor_default;
16013
16257
  var resistor_left_default = modifySymbol({
16014
16258
  primitives: [
16015
- ...Object.values(paths72),
16016
- ...Object.values(circles66),
16259
+ ...Object.values(paths82),
16260
+ ...Object.values(circles76),
16017
16261
  {
16018
16262
  type: "text",
16019
16263
  text: "{REF}",
@@ -16028,21 +16272,21 @@ var resistor_left_default = modifySymbol({
16028
16272
  }
16029
16273
  ],
16030
16274
  ports: [
16031
- { ...refblocks72.left1, labels: ["1"] },
16275
+ { ...refblocks82.left1, labels: ["1"] },
16032
16276
  // TODO add more "standard" labels
16033
- { ...refblocks72.right1, labels: ["2"] }
16277
+ { ...refblocks82.right1, labels: ["2"] }
16034
16278
  // TODO add more "standard" labels
16035
16279
  ],
16036
- size: { width: bounds72.width, height: bounds72.height },
16037
- center: { x: bounds72.centerX, y: bounds72.centerY }
16280
+ size: { width: bounds82.width, height: bounds82.height },
16281
+ center: { x: bounds82.centerX, y: bounds82.centerY }
16038
16282
  }).rotateRightFacingSymbol("left").labelPort("left", ["1"]).labelPort("right", ["2"]).changeTextAnchor("{REF}", "middle_bottom").changeTextAnchor("{VAL}", "middle_top").build();
16039
16283
 
16040
16284
  // symbols/resistor_right.ts
16041
- var { paths: paths73, texts: texts82, bounds: bounds73, refblocks: refblocks73, circles: circles67 } = resistor_default;
16285
+ var { paths: paths83, texts: texts93, bounds: bounds83, refblocks: refblocks83, circles: circles77 } = resistor_default;
16042
16286
  var resistor_right_default = modifySymbol({
16043
16287
  primitives: [
16044
- ...Object.values(paths73),
16045
- ...Object.values(circles67),
16288
+ ...Object.values(paths83),
16289
+ ...Object.values(circles77),
16046
16290
  {
16047
16291
  type: "text",
16048
16292
  text: "{REF}",
@@ -16057,21 +16301,21 @@ var resistor_right_default = modifySymbol({
16057
16301
  }
16058
16302
  ],
16059
16303
  ports: [
16060
- { ...refblocks73.left1, labels: ["1"] },
16304
+ { ...refblocks83.left1, labels: ["1"] },
16061
16305
  // TODO add more "standard" labels
16062
- { ...refblocks73.right1, labels: ["2"] }
16306
+ { ...refblocks83.right1, labels: ["2"] }
16063
16307
  // TODO add more "standard" labels
16064
16308
  ],
16065
- size: { width: bounds73.width, height: bounds73.height },
16066
- center: { x: bounds73.centerX, y: bounds73.centerY }
16309
+ size: { width: bounds83.width, height: bounds83.height },
16310
+ center: { x: bounds83.centerX, y: bounds83.centerY }
16067
16311
  }).rotateRightFacingSymbol("right").labelPort("left", ["1"]).labelPort("right", ["2"]).changeTextAnchor("{REF}", "middle_bottom").changeTextAnchor("{VAL}", "middle_top").build();
16068
16312
 
16069
16313
  // symbols/resistor_up.ts
16070
- var { paths: paths74, texts: texts83, bounds: bounds74, refblocks: refblocks74, circles: circles68 } = resistor_default;
16314
+ var { paths: paths84, texts: texts94, bounds: bounds84, refblocks: refblocks84, circles: circles78 } = resistor_default;
16071
16315
  var resistor_up_default = modifySymbol({
16072
16316
  primitives: [
16073
- ...Object.values(paths74),
16074
- ...Object.values(circles68),
16317
+ ...Object.values(paths84),
16318
+ ...Object.values(circles78),
16075
16319
  {
16076
16320
  type: "text",
16077
16321
  text: "{REF}",
@@ -16086,13 +16330,13 @@ var resistor_up_default = modifySymbol({
16086
16330
  }
16087
16331
  ],
16088
16332
  ports: [
16089
- { ...refblocks74.left1, labels: ["1"] },
16333
+ { ...refblocks84.left1, labels: ["1"] },
16090
16334
  // TODO add more "standard" labels
16091
- { ...refblocks74.right1, labels: ["2"] }
16335
+ { ...refblocks84.right1, labels: ["2"] }
16092
16336
  // TODO add more "standard" labels
16093
16337
  ],
16094
- size: { width: bounds74.width, height: bounds74.height },
16095
- center: { x: bounds74.centerX, y: bounds74.centerY }
16338
+ size: { width: bounds84.width, height: bounds84.height },
16339
+ center: { x: bounds84.centerX, y: bounds84.centerY }
16096
16340
  }).rotateRightFacingSymbol("up").labelPort("left", ["1"]).labelPort("right", ["2"]).changeTextAnchor("{REF}", "middle_left").changeTextAnchor("{VAL}", "middle_left").build();
16097
16341
 
16098
16342
  // assets/generated/resonator.json
@@ -16441,11 +16685,11 @@ var resonator_default = {
16441
16685
  };
16442
16686
 
16443
16687
  // symbols/resonator_horz.ts
16444
- var { paths: paths75, texts: texts84, bounds: bounds75, refblocks: refblocks75, circles: circles69 } = resonator_default;
16688
+ var { paths: paths85, texts: texts95, bounds: bounds85, refblocks: refblocks85, circles: circles79 } = resonator_default;
16445
16689
  var resonator_horz_default = defineSymbol({
16446
16690
  primitives: [
16447
- ...Object.values(paths75),
16448
- ...Object.values(circles69),
16691
+ ...Object.values(paths85),
16692
+ ...Object.values(circles79),
16449
16693
  // { ...texts.top1, anchor: "middle_left" },
16450
16694
  // { ...texts.bottom1, anchor: "middle_left" },
16451
16695
  {
@@ -16464,15 +16708,15 @@ var resonator_horz_default = defineSymbol({
16464
16708
  }
16465
16709
  ],
16466
16710
  ports: [
16467
- { ...refblocks75.left1, labels: ["1"] },
16711
+ { ...refblocks85.left1, labels: ["1"] },
16468
16712
  // TODO add more "standard" labels
16469
- { ...refblocks75.right1, labels: ["2"] },
16713
+ { ...refblocks85.right1, labels: ["2"] },
16470
16714
  // TODO add more "standard" labels
16471
- { ...refblocks75.right2, labels: ["3"] }
16715
+ { ...refblocks85.right2, labels: ["3"] }
16472
16716
  // TODO add more "standard" labels
16473
16717
  ],
16474
- size: { width: bounds75.width, height: bounds75.height },
16475
- center: { x: bounds75.centerX, y: bounds75.centerY }
16718
+ size: { width: bounds85.width, height: bounds85.height },
16719
+ center: { x: bounds85.centerX, y: bounds85.centerY }
16476
16720
  });
16477
16721
 
16478
16722
  // symbols/resonator_vert.ts
@@ -16864,18 +17108,18 @@ var silicon_controlled_rectifier_default = {
16864
17108
  };
16865
17109
 
16866
17110
  // symbols/silicon_controlled_rectifier_horz.ts
16867
- var { paths: paths76, texts: texts85, bounds: bounds76, refblocks: refblocks76, circles: circles70 } = silicon_controlled_rectifier_default;
17111
+ var { paths: paths86, texts: texts96, bounds: bounds86, refblocks: refblocks86, circles: circles80 } = silicon_controlled_rectifier_default;
16868
17112
  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
17113
 
16870
17114
  // symbols/silicon_controlled_rectifier_vert.ts
16871
- var rotatedSymbol16 = rotateSymbol(silicon_controlled_rectifier_horz_default);
16872
- var texts86 = rotatedSymbol16.primitives.filter(
17115
+ var rotatedSymbol14 = rotateSymbol(silicon_controlled_rectifier_horz_default);
17116
+ var texts97 = rotatedSymbol14.primitives.filter(
16873
17117
  (primitive) => primitive.type === "text"
16874
17118
  );
16875
- var ref42 = texts86.find((text) => text.text === "{REF}");
17119
+ var ref42 = texts97.find((text) => text.text === "{REF}");
16876
17120
  ref42.y = 0;
16877
17121
  ref42.anchor = "middle_left";
16878
- var silicon_controlled_rectifier_vert_default = rotatedSymbol16;
17122
+ var silicon_controlled_rectifier_vert_default = rotatedSymbol14;
16879
17123
 
16880
17124
  // assets/generated/solderjumper2_bridged12.json
16881
17125
  var solderjumper2_bridged12_default = {
@@ -20432,7 +20676,7 @@ var step_recovery_diode_default = {
20432
20676
  };
20433
20677
 
20434
20678
  // symbols/step_recovery_diode_horz.ts
20435
- var { paths: paths77, texts: texts87, bounds: bounds77, refblocks: refblocks77, circles: circles71 } = step_recovery_diode_default;
20679
+ var { paths: paths87, texts: texts98, bounds: bounds87, refblocks: refblocks87, circles: circles81 } = step_recovery_diode_default;
20436
20680
  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
20681
 
20438
20682
  // symbols/step_recovery_diode_vert.ts
@@ -20525,11 +20769,11 @@ var tachometer_default = {
20525
20769
  };
20526
20770
 
20527
20771
  // symbols/tachometer_horz.ts
20528
- var { paths: paths78, texts: texts88, bounds: bounds78, refblocks: refblocks78, circles: circles72 } = tachometer_default;
20772
+ var { paths: paths88, texts: texts99, bounds: bounds88, refblocks: refblocks88, circles: circles82 } = tachometer_default;
20529
20773
  var tachometer_horz_default = defineSymbol({
20530
20774
  primitives: [
20531
- ...Object.values(paths78),
20532
- ...Object.values(circles72),
20775
+ ...Object.values(paths88),
20776
+ ...Object.values(circles82),
20533
20777
  {
20534
20778
  type: "text",
20535
20779
  text: "{REF}",
@@ -20544,30 +20788,30 @@ var tachometer_horz_default = defineSymbol({
20544
20788
  y: 0.35,
20545
20789
  anchor: "middle_bottom"
20546
20790
  },
20547
- { ...texts88.left1, y: 0.01, anchor: "center", fontSize: 0.2 }
20791
+ { ...texts99.left1, y: 0.01, anchor: "center", fontSize: 0.2 }
20548
20792
  ],
20549
20793
  ports: [
20550
- { ...refblocks78.left1, labels: ["1"] },
20794
+ { ...refblocks88.left1, labels: ["1"] },
20551
20795
  // TODO add more "standard" labels
20552
- { ...refblocks78.right1, labels: ["2"] }
20796
+ { ...refblocks88.right1, labels: ["2"] }
20553
20797
  // TODO add more "standard" labels
20554
20798
  ],
20555
- size: { width: bounds78.width, height: bounds78.height },
20556
- center: { x: bounds78.centerX, y: bounds78.centerY }
20799
+ size: { width: bounds88.width, height: bounds88.height },
20800
+ center: { x: bounds88.centerX, y: bounds88.centerY }
20557
20801
  });
20558
20802
 
20559
20803
  // symbols/tachometer_vert.ts
20560
- var { 5: letter4, ...rest4 } = tachometer_horz_default.primitives;
20561
- function isPrimitive4(value) {
20804
+ var { 5: letter3, ...rest3 } = tachometer_horz_default.primitives;
20805
+ function isPrimitive3(value) {
20562
20806
  return typeof value === "object";
20563
20807
  }
20564
- var rotatedSymbol17 = rotateSymbol({
20808
+ var rotatedSymbol15 = rotateSymbol({
20565
20809
  ...tachometer_horz_default,
20566
- primitives: Object.values(rest4).filter(isPrimitive4)
20810
+ primitives: Object.values(rest3).filter(isPrimitive3)
20567
20811
  });
20568
20812
  var tachometer_vert_default = {
20569
- ...rotatedSymbol17,
20570
- primitives: [...rotatedSymbol17.primitives, letter4]
20813
+ ...rotatedSymbol15,
20814
+ primitives: [...rotatedSymbol15.primitives, letter3]
20571
20815
  };
20572
20816
 
20573
20817
  // symbols/testpoint_right.ts
@@ -20975,19 +21219,19 @@ var triac_default = {
20975
21219
  };
20976
21220
 
20977
21221
  // symbols/triac_horz.ts
20978
- var { paths: paths79, texts: texts89, bounds: bounds79, refblocks: refblocks79, circles: circles73 } = triac_default;
21222
+ var { paths: paths89, texts: texts100, bounds: bounds89, refblocks: refblocks89, circles: circles83 } = triac_default;
20979
21223
  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
21224
 
20981
21225
  // symbols/triac_vert.ts
20982
- var rotatedSymbol18 = rotateSymbol(triac_horz_default);
20983
- var texts90 = rotatedSymbol18.primitives.filter(
21226
+ var rotatedSymbol16 = rotateSymbol(triac_horz_default);
21227
+ var texts101 = rotatedSymbol16.primitives.filter(
20984
21228
  (primitive) => primitive.type === "text"
20985
21229
  );
20986
- var ref60 = texts90.find((text) => text.text === "{REF}");
20987
- var val56 = texts90.find((text) => text.text === "{VAL}");
21230
+ var ref60 = texts101.find((text) => text.text === "{REF}");
21231
+ var val56 = texts101.find((text) => text.text === "{VAL}");
20988
21232
  ref60.y = 0;
20989
21233
  val56.y = 0;
20990
- var triac_vert_default = rotatedSymbol18;
21234
+ var triac_vert_default = rotatedSymbol16;
20991
21235
 
20992
21236
  // assets/generated/tunnel_diode.json
20993
21237
  var tunnel_diode_default = {
@@ -21151,22 +21395,22 @@ var tunnel_diode_default = {
21151
21395
  };
21152
21396
 
21153
21397
  // symbols/tunnel_diode_horz.ts
21154
- var { paths: paths80, texts: texts91, bounds: bounds80, refblocks: refblocks80, circles: circles74 } = tunnel_diode_default;
21398
+ var { paths: paths90, texts: texts102, bounds: bounds90, refblocks: refblocks90, circles: circles84 } = tunnel_diode_default;
21155
21399
  var tunnel_diode_horz_default = defineSymbol({
21156
21400
  primitives: [
21157
- ...Object.values(paths80),
21158
- ...Object.values(circles74),
21159
- { ...texts91.top1, anchor: "middle_bottom" },
21160
- { ...texts91.bottom1, anchor: "middle_top" }
21401
+ ...Object.values(paths90),
21402
+ ...Object.values(circles84),
21403
+ { ...texts102.top1, anchor: "middle_bottom" },
21404
+ { ...texts102.bottom1, anchor: "middle_top" }
21161
21405
  ],
21162
21406
  ports: [
21163
- { ...refblocks80.left1, labels: ["1"] },
21407
+ { ...refblocks90.left1, labels: ["1"] },
21164
21408
  // TODO add more "standard" labels
21165
- { ...refblocks80.right1, labels: ["2"] }
21409
+ { ...refblocks90.right1, labels: ["2"] }
21166
21410
  // TODO add more "standard" labels
21167
21411
  ],
21168
- size: { width: bounds80.width, height: bounds80.height },
21169
- center: { x: bounds80.centerX, y: bounds80.centerY }
21412
+ size: { width: bounds90.width, height: bounds90.height },
21413
+ center: { x: bounds90.centerX, y: bounds90.centerY }
21170
21414
  });
21171
21415
 
21172
21416
  // symbols/tunnel_diode_vert.ts
@@ -21349,37 +21593,37 @@ var unijunction_transistor_default = {
21349
21593
  };
21350
21594
 
21351
21595
  // symbols/unijunction_transistor_horz.ts
21352
- var { paths: paths81, texts: texts92, bounds: bounds81, refblocks: refblocks81, circles: circles75 } = unijunction_transistor_default;
21596
+ var { paths: paths91, texts: texts103, bounds: bounds91, refblocks: refblocks91, circles: circles85 } = unijunction_transistor_default;
21353
21597
  var unijunction_transistor_horz_default = defineSymbol({
21354
21598
  primitives: [
21355
- ...Object.values(paths81),
21356
- ...Object.values(circles75),
21357
- { ...texts92.top1, anchor: "middle_left" },
21358
- { ...texts92.bottom1, anchor: "middle_right" }
21599
+ ...Object.values(paths91),
21600
+ ...Object.values(circles85),
21601
+ { ...texts103.top1, anchor: "middle_left" },
21602
+ { ...texts103.bottom1, anchor: "middle_right" }
21359
21603
  ],
21360
21604
  ports: [
21361
- { ...refblocks81.top1, labels: ["1"] },
21605
+ { ...refblocks91.top1, labels: ["1"] },
21362
21606
  // TODO add more "standard" labels
21363
- { ...refblocks81.bottom1, labels: ["2"] },
21607
+ { ...refblocks91.bottom1, labels: ["2"] },
21364
21608
  // TODO add more "standard" labels
21365
- { ...refblocks81.left1, labels: ["3"] }
21609
+ { ...refblocks91.left1, labels: ["3"] }
21366
21610
  // TODO add more "standard" labels
21367
21611
  ],
21368
- size: { width: bounds81.width, height: bounds81.height },
21369
- center: { x: bounds81.centerX, y: bounds81.centerY }
21612
+ size: { width: bounds91.width, height: bounds91.height },
21613
+ center: { x: bounds91.centerX, y: bounds91.centerY }
21370
21614
  });
21371
21615
 
21372
21616
  // symbols/unijunction_transistor_vert.ts
21373
- var rotatedSymbol19 = rotateSymbol(unijunction_transistor_horz_default);
21374
- var texts93 = rotatedSymbol19.primitives.filter(
21617
+ var rotatedSymbol17 = rotateSymbol(unijunction_transistor_horz_default);
21618
+ var texts104 = rotatedSymbol17.primitives.filter(
21375
21619
  (primitive) => primitive.type === "text"
21376
21620
  );
21377
- var ref62 = texts93.find((text) => text.text === "{REF}");
21621
+ var ref62 = texts104.find((text) => text.text === "{REF}");
21378
21622
  ref62.y = 0.1;
21379
- var val58 = texts93.find((text) => text.text === "{VAL}");
21623
+ var val58 = texts104.find((text) => text.text === "{VAL}");
21380
21624
  val58.y = 0.1;
21381
21625
  val58.x = -0.4;
21382
- var unijunction_transistor_vert_default = rotatedSymbol19;
21626
+ var unijunction_transistor_vert_default = rotatedSymbol17;
21383
21627
 
21384
21628
  // assets/generated/usbc.json
21385
21629
  var usbc_default = {
@@ -21620,33 +21864,33 @@ var var_meter_default = {
21620
21864
  };
21621
21865
 
21622
21866
  // symbols/var_meter_horz.ts
21623
- var { paths: paths82, texts: texts94, bounds: bounds82, refblocks: refblocks82, circles: circles76 } = var_meter_default;
21867
+ var { paths: paths92, texts: texts105, bounds: bounds92, refblocks: refblocks92, circles: circles86 } = var_meter_default;
21624
21868
  var var_meter_horz_default = defineSymbol({
21625
21869
  primitives: [
21626
- ...Object.values(paths82),
21627
- ...Object.values(circles76),
21870
+ ...Object.values(paths92),
21871
+ ...Object.values(circles86),
21628
21872
  {
21629
- ...texts94.top1,
21873
+ ...texts105.top1,
21630
21874
  x: 0,
21631
21875
  y: -0.3594553499999995,
21632
21876
  anchor: "middle_top"
21633
21877
  },
21634
21878
  {
21635
- ...texts94.bottom1,
21879
+ ...texts105.bottom1,
21636
21880
  x: 0,
21637
21881
  y: 0.35,
21638
21882
  anchor: "middle_bottom"
21639
21883
  },
21640
- { ...texts94.left1, x: -0.02, y: 0.01, fontSize: 0.2, anchor: "center" }
21884
+ { ...texts105.left1, x: -0.02, y: 0.01, fontSize: 0.2, anchor: "center" }
21641
21885
  ],
21642
21886
  ports: [
21643
- { ...refblocks82.left1, labels: ["1"] },
21887
+ { ...refblocks92.left1, labels: ["1"] },
21644
21888
  // TODO add more "standard" labels
21645
- { ...refblocks82.right1, labels: ["2"] }
21889
+ { ...refblocks92.right1, labels: ["2"] }
21646
21890
  // TODO add more "standard" labels
21647
21891
  ],
21648
- size: { width: bounds82.width, height: bounds82.height },
21649
- center: { x: bounds82.centerX, y: bounds82.centerY }
21892
+ size: { width: bounds92.width, height: bounds92.height },
21893
+ center: { x: bounds92.centerX, y: bounds92.centerY }
21650
21894
  });
21651
21895
 
21652
21896
  // symbols/var_meter_vert.ts
@@ -21799,22 +22043,22 @@ var varactor_diode_default = {
21799
22043
  };
21800
22044
 
21801
22045
  // symbols/varactor_diode_horz.ts
21802
- var { paths: paths83, texts: texts95, bounds: bounds83, refblocks: refblocks83, circles: circles77 } = varactor_diode_default;
22046
+ var { paths: paths93, texts: texts106, bounds: bounds93, refblocks: refblocks93, circles: circles87 } = varactor_diode_default;
21803
22047
  var varactor_diode_horz_default = defineSymbol({
21804
22048
  primitives: [
21805
- ...Object.values(paths83),
21806
- ...Object.values(circles77),
21807
- { ...texts95.top1, anchor: "middle_bottom" },
21808
- { ...texts95.bottom1, anchor: "middle_top" }
22049
+ ...Object.values(paths93),
22050
+ ...Object.values(circles87),
22051
+ { ...texts106.top1, anchor: "middle_bottom" },
22052
+ { ...texts106.bottom1, anchor: "middle_top" }
21809
22053
  ],
21810
22054
  ports: [
21811
- { ...refblocks83.left1, labels: ["1"] },
22055
+ { ...refblocks93.left1, labels: ["1"] },
21812
22056
  // TODO add more "standard" labels
21813
- { ...refblocks83.right1, labels: ["2"] }
22057
+ { ...refblocks93.right1, labels: ["2"] }
21814
22058
  // TODO add more "standard" labels
21815
22059
  ],
21816
- size: { width: bounds83.width, height: bounds83.height },
21817
- center: { x: bounds83.centerX, y: bounds83.centerY }
22060
+ size: { width: bounds93.width, height: bounds93.height },
22061
+ center: { x: bounds93.centerX, y: bounds93.centerY }
21818
22062
  });
21819
22063
 
21820
22064
  // symbols/varactor_diode_vert.ts
@@ -21962,26 +22206,26 @@ var varistor_default = {
21962
22206
  };
21963
22207
 
21964
22208
  // symbols/varistor_horz.ts
21965
- var { paths: paths84, texts: texts96, bounds: bounds84, refblocks: refblocks84 } = varistor_default;
22209
+ var { paths: paths94, texts: texts107, bounds: bounds94, refblocks: refblocks94 } = varistor_default;
21966
22210
  var varistor_horz_default = defineSymbol({
21967
22211
  primitives: [
21968
- ...Object.values(paths84),
21969
- { ...texts96.top1, anchor: "middle_left" },
21970
- { ...texts96.bottom1, anchor: "middle_right" }
22212
+ ...Object.values(paths94),
22213
+ { ...texts107.top1, anchor: "middle_left" },
22214
+ { ...texts107.bottom1, anchor: "middle_right" }
21971
22215
  ],
21972
22216
  ports: [
21973
22217
  {
21974
- ...refblocks84.left1,
22218
+ ...refblocks94.left1,
21975
22219
  labels: ["1", "-"]
21976
22220
  },
21977
22221
  {
21978
- ...refblocks84.right1,
22222
+ ...refblocks94.right1,
21979
22223
  labels: ["2", "+"]
21980
22224
  }
21981
22225
  ],
21982
- size: { width: bounds84.width, height: bounds84.height },
22226
+ size: { width: bounds94.width, height: bounds94.height },
21983
22227
  //{ width: 1, height: 0.24 },
21984
- center: { x: bounds84.centerX, y: bounds84.centerY }
22228
+ center: { x: bounds94.centerX, y: bounds94.centerY }
21985
22229
  });
21986
22230
 
21987
22231
  // symbols/varistor_vert.ts
@@ -22074,11 +22318,11 @@ var varmeter_default = {
22074
22318
  };
22075
22319
 
22076
22320
  // symbols/varmeter_horz.ts
22077
- var { paths: paths85, texts: texts97, bounds: bounds85, refblocks: refblocks85, circles: circles78 } = varmeter_default;
22321
+ var { paths: paths95, texts: texts108, bounds: bounds95, refblocks: refblocks95, circles: circles88 } = varmeter_default;
22078
22322
  var varmeter_horz_default = defineSymbol({
22079
22323
  primitives: [
22080
- ...Object.values(paths85),
22081
- ...Object.values(circles78),
22324
+ ...Object.values(paths95),
22325
+ ...Object.values(circles88),
22082
22326
  {
22083
22327
  type: "text",
22084
22328
  text: "{REF}",
@@ -22093,30 +22337,30 @@ var varmeter_horz_default = defineSymbol({
22093
22337
  y: 0.35,
22094
22338
  anchor: "middle_bottom"
22095
22339
  },
22096
- { ...texts97.left1, anchor: "center", y: 0.02, fontSize: 0.2 }
22340
+ { ...texts108.left1, anchor: "center", y: 0.02, fontSize: 0.2 }
22097
22341
  ],
22098
22342
  ports: [
22099
- { ...refblocks85.left1, labels: ["1"] },
22343
+ { ...refblocks95.left1, labels: ["1"] },
22100
22344
  // TODO add more "standard" labels
22101
- { ...refblocks85.right1, labels: ["2"] }
22345
+ { ...refblocks95.right1, labels: ["2"] }
22102
22346
  // TODO add more "standard" labels
22103
22347
  ],
22104
- size: { width: bounds85.width, height: bounds85.height },
22105
- center: { x: bounds85.centerX, y: bounds85.centerY }
22348
+ size: { width: bounds95.width, height: bounds95.height },
22349
+ center: { x: bounds95.centerX, y: bounds95.centerY }
22106
22350
  });
22107
22351
 
22108
22352
  // symbols/varmeter_vert.ts
22109
- var { 5: letter5, ...rest5 } = varmeter_horz_default.primitives;
22110
- function isPrimitive5(value) {
22353
+ var { 5: letter4, ...rest4 } = varmeter_horz_default.primitives;
22354
+ function isPrimitive4(value) {
22111
22355
  return typeof value === "object";
22112
22356
  }
22113
- var rotatedSymbol20 = rotateSymbol({
22357
+ var rotatedSymbol18 = rotateSymbol({
22114
22358
  ...varmeter_horz_default,
22115
- primitives: Object.values(rest5).filter(isPrimitive5)
22359
+ primitives: Object.values(rest4).filter(isPrimitive4)
22116
22360
  });
22117
22361
  var varmeter_vert_default = {
22118
- ...rotatedSymbol20,
22119
- primitives: [...rotatedSymbol20.primitives, letter5]
22362
+ ...rotatedSymbol18,
22363
+ primitives: [...rotatedSymbol18.primitives, letter4]
22120
22364
  };
22121
22365
 
22122
22366
  // assets/generated/vcc.json
@@ -22307,7 +22551,7 @@ var volt_meter_default = {
22307
22551
  };
22308
22552
 
22309
22553
  // symbols/volt_meter_horz.ts
22310
- var { paths: paths86, texts: texts98, bounds: bounds86, circles: circles79, refblocks: refblocks86 } = volt_meter_default;
22554
+ var { paths: paths96, texts: texts109, bounds: bounds96, circles: circles89, refblocks: refblocks96 } = volt_meter_default;
22311
22555
  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
22556
 
22313
22557
  // symbols/volt_meter_vert.ts
@@ -22400,11 +22644,11 @@ var watt_hour_meter_default = {
22400
22644
  };
22401
22645
 
22402
22646
  // symbols/watt_hour_meter_horz.ts
22403
- var { paths: paths87, texts: texts99, bounds: bounds87, refblocks: refblocks87, circles: circles80 } = watt_hour_meter_default;
22647
+ var { paths: paths97, texts: texts110, bounds: bounds97, refblocks: refblocks97, circles: circles90 } = watt_hour_meter_default;
22404
22648
  var watt_hour_meter_horz_default = defineSymbol({
22405
22649
  primitives: [
22406
- ...Object.values(paths87),
22407
- ...Object.values(circles80),
22650
+ ...Object.values(paths97),
22651
+ ...Object.values(circles90),
22408
22652
  {
22409
22653
  type: "text",
22410
22654
  text: "{REF}",
@@ -22419,30 +22663,30 @@ var watt_hour_meter_horz_default = defineSymbol({
22419
22663
  y: 0.35,
22420
22664
  anchor: "middle_bottom"
22421
22665
  },
22422
- { ...texts99.left1, anchor: "center", y: 0.01, fontSize: 0.2 }
22666
+ { ...texts110.left1, anchor: "center", y: 0.01, fontSize: 0.2 }
22423
22667
  ],
22424
22668
  ports: [
22425
- { ...refblocks87.left1, labels: ["1"] },
22669
+ { ...refblocks97.left1, labels: ["1"] },
22426
22670
  // TODO add more "standard" labels
22427
- { ...refblocks87.right1, labels: ["2"] }
22671
+ { ...refblocks97.right1, labels: ["2"] }
22428
22672
  // TODO add more "standard" labels
22429
22673
  ],
22430
- size: { width: bounds87.width, height: bounds87.height },
22431
- center: { x: bounds87.centerX, y: bounds87.centerY }
22674
+ size: { width: bounds97.width, height: bounds97.height },
22675
+ center: { x: bounds97.centerX, y: bounds97.centerY }
22432
22676
  });
22433
22677
 
22434
22678
  // symbols/watt_hour_meter_vert.ts
22435
- var { 5: letter6, ...rest6 } = watt_hour_meter_horz_default.primitives;
22436
- function isPrimitive6(value) {
22679
+ var { 5: letter5, ...rest5 } = watt_hour_meter_horz_default.primitives;
22680
+ function isPrimitive5(value) {
22437
22681
  return typeof value === "object";
22438
22682
  }
22439
- var rotatedSymbol21 = rotateSymbol({
22683
+ var rotatedSymbol19 = rotateSymbol({
22440
22684
  ...watt_hour_meter_horz_default,
22441
- primitives: Object.values(rest6).filter(isPrimitive6)
22685
+ primitives: Object.values(rest5).filter(isPrimitive5)
22442
22686
  });
22443
22687
  var watt_hour_meter_vert_default = {
22444
- ...rotatedSymbol21,
22445
- primitives: [...rotatedSymbol21.primitives, letter6]
22688
+ ...rotatedSymbol19,
22689
+ primitives: [...rotatedSymbol19.primitives, letter5]
22446
22690
  };
22447
22691
 
22448
22692
  // assets/generated/wattmeter.json
@@ -22532,11 +22776,11 @@ var wattmeter_default = {
22532
22776
  };
22533
22777
 
22534
22778
  // symbols/wattmeter_horz.ts
22535
- var { paths: paths88, texts: texts100, bounds: bounds88, refblocks: refblocks88, circles: circles81 } = wattmeter_default;
22779
+ var { paths: paths98, texts: texts111, bounds: bounds98, refblocks: refblocks98, circles: circles91 } = wattmeter_default;
22536
22780
  var wattmeter_horz_default = defineSymbol({
22537
22781
  primitives: [
22538
- ...Object.values(paths88),
22539
- ...Object.values(circles81),
22782
+ ...Object.values(paths98),
22783
+ ...Object.values(circles91),
22540
22784
  {
22541
22785
  type: "text",
22542
22786
  text: "{REF}",
@@ -22551,30 +22795,30 @@ var wattmeter_horz_default = defineSymbol({
22551
22795
  y: 0.35,
22552
22796
  anchor: "middle_bottom"
22553
22797
  },
22554
- { ...texts100.left1, anchor: "center", y: 0.01, fontSize: 0.3 }
22798
+ { ...texts111.left1, anchor: "center", y: 0.01, fontSize: 0.3 }
22555
22799
  ],
22556
22800
  ports: [
22557
- { ...refblocks88.left1, labels: ["1"] },
22801
+ { ...refblocks98.left1, labels: ["1"] },
22558
22802
  // TODO add more "standard" labels
22559
- { ...refblocks88.right1, labels: ["2"] }
22803
+ { ...refblocks98.right1, labels: ["2"] }
22560
22804
  // TODO add more "standard" labels
22561
22805
  ],
22562
- size: { width: bounds88.width, height: bounds88.height },
22563
- center: { x: bounds88.centerX, y: bounds88.centerY }
22806
+ size: { width: bounds98.width, height: bounds98.height },
22807
+ center: { x: bounds98.centerX, y: bounds98.centerY }
22564
22808
  });
22565
22809
 
22566
22810
  // symbols/wattmeter_vert.ts
22567
- var { 5: letter7, ...rest7 } = wattmeter_horz_default.primitives;
22568
- function isPrimitive7(value) {
22811
+ var { 5: letter6, ...rest6 } = wattmeter_horz_default.primitives;
22812
+ function isPrimitive6(value) {
22569
22813
  return typeof value === "object";
22570
22814
  }
22571
- var rotatedSymbol22 = rotateSymbol({
22815
+ var rotatedSymbol20 = rotateSymbol({
22572
22816
  ...wattmeter_horz_default,
22573
- primitives: Object.values(rest7).filter(isPrimitive7)
22817
+ primitives: Object.values(rest6).filter(isPrimitive6)
22574
22818
  });
22575
22819
  var wattmeter_vert_default = {
22576
- ...rotatedSymbol22,
22577
- primitives: [...rotatedSymbol22.primitives, letter7]
22820
+ ...rotatedSymbol20,
22821
+ primitives: [...rotatedSymbol20.primitives, letter6]
22578
22822
  };
22579
22823
 
22580
22824
  // assets/generated/zener_diode.json
@@ -22724,22 +22968,22 @@ var zener_diode_default = {
22724
22968
  };
22725
22969
 
22726
22970
  // symbols/zener_diode_horz.ts
22727
- var { paths: paths89, texts: texts101, bounds: bounds89, refblocks: refblocks89, circles: circles82 } = zener_diode_default;
22971
+ var { paths: paths99, texts: texts112, bounds: bounds99, refblocks: refblocks99, circles: circles92 } = zener_diode_default;
22728
22972
  var zener_diode_horz_default = defineSymbol({
22729
22973
  primitives: [
22730
- ...Object.values(paths89),
22731
- ...Object.values(circles82),
22732
- { ...texts101.top1, anchor: "middle_bottom" },
22733
- { ...texts101.bottom1, anchor: "middle_top" }
22974
+ ...Object.values(paths99),
22975
+ ...Object.values(circles92),
22976
+ { ...texts112.top1, anchor: "middle_bottom" },
22977
+ { ...texts112.bottom1, anchor: "middle_top" }
22734
22978
  ],
22735
22979
  ports: [
22736
- { ...refblocks89.left1, labels: ["1"] },
22980
+ { ...refblocks99.left1, labels: ["1"] },
22737
22981
  // TODO add more "standard" labels
22738
- { ...refblocks89.right1, labels: ["2"] }
22982
+ { ...refblocks99.right1, labels: ["2"] }
22739
22983
  // TODO add more "standard" labels
22740
22984
  ],
22741
- size: { width: bounds89.width, height: bounds89.height },
22742
- center: { x: bounds89.centerX, y: bounds89.centerY }
22985
+ size: { width: bounds99.width, height: bounds99.height },
22986
+ center: { x: bounds99.centerX, y: bounds99.centerY }
22743
22987
  });
22744
22988
 
22745
22989
  // symbols/zener_diode_vert.ts
@@ -22756,7 +23000,11 @@ var zener_diode_vert_default = rotated41;
22756
23000
 
22757
23001
  // generated/symbols-index.ts
22758
23002
  var symbols_index_default = {
23003
+ "ac_voltmeter_down": ac_voltmeter_down_default,
22759
23004
  "ac_voltmeter_horz": ac_voltmeter_horz_default,
23005
+ "ac_voltmeter_left": ac_voltmeter_left_default,
23006
+ "ac_voltmeter_right": ac_voltmeter_right_default,
23007
+ "ac_voltmeter_up": ac_voltmeter_up_default,
22760
23008
  "ac_voltmeter_vert": ac_voltmeter_vert_default,
22761
23009
  "avalanche_diode_down": avalanche_diode_down_default,
22762
23010
  "avalanche_diode_horz": avalanche_diode_horz_default,
@@ -22804,7 +23052,11 @@ var symbols_index_default = {
22804
23052
  "darlington_pair_transistor_vert": darlington_pair_transistor_vert_default,
22805
23053
  "dc_ammeter_horz": dc_ammeter_horz_default,
22806
23054
  "dc_ammeter_vert": dc_ammeter_vert_default,
23055
+ "dc_voltmeter_down": dc_voltmeter_down_default,
22807
23056
  "dc_voltmeter_horz": dc_voltmeter_horz_default,
23057
+ "dc_voltmeter_left": dc_voltmeter_left_default,
23058
+ "dc_voltmeter_right": dc_voltmeter_right_default,
23059
+ "dc_voltmeter_up": dc_voltmeter_up_default,
22808
23060
  "dc_voltmeter_vert": dc_voltmeter_vert_default,
22809
23061
  "diac_horz": diac_horz_default,
22810
23062
  "diac_vert": diac_vert_default,