schematic-symbols 0.0.35 → 0.0.37

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
@@ -3,124 +3,113 @@ function defineSymbol(symbol) {
3
3
  return symbol;
4
4
  }
5
5
 
6
- // assets/generated/avalanche_diode.json
7
- var avalanche_diode_default = {
6
+ // assets/generated/ac_voltmeter.json
7
+ var ac_voltmeter_default = {
8
8
  paths: {
9
- path40: {
9
+ path11: {
10
10
  type: "path",
11
11
  points: [
12
12
  {
13
- x: 0.1413337499999996,
14
- y: -33784999999975085e-20
13
+ x: -0.5307178,
14
+ y: 0
15
15
  },
16
16
  {
17
- x: -0.12324954999999993,
18
- y: 0.1319538500000006
17
+ x: -0.3042887999999997,
18
+ y: 0
19
19
  }
20
20
  ],
21
21
  color: "primary",
22
22
  fill: false
23
23
  },
24
- path41: {
24
+ path12: {
25
25
  type: "path",
26
26
  points: [
27
27
  {
28
- x: -0.12324954999999993,
29
- y: -0.1326295500000001
28
+ x: 0.2899773000000003,
29
+ y: 0
30
30
  },
31
31
  {
32
- x: 0.1413337499999996,
33
- y: -33784999999975085e-20
32
+ x: 0.5307178000000001,
33
+ y: 0
34
34
  }
35
35
  ],
36
36
  color: "primary",
37
37
  fill: false
38
38
  },
39
- path42: {
39
+ "path11-5-5": {
40
40
  type: "path",
41
41
  points: [
42
42
  {
43
- x: -0.12324954999999993,
44
- y: 0.13195384999999926
43
+ x: 0.09442299999999992,
44
+ y: -0.1322587999999998
45
45
  },
46
46
  {
47
- x: -0.12324954999999993,
48
- y: -0.1326295500000001
49
- }
50
- ],
51
- color: "primary",
52
- fill: false
53
- },
54
- path43: {
55
- type: "path",
56
- points: [
57
- {
58
- x: 0.1413337499999996,
59
- y: -0.1326295500000001
47
+ x: -0.004364400000000712,
48
+ y: 0.05922830000000001
60
49
  },
61
50
  {
62
- x: 0.1413337499999996,
63
- y: 0.13195384999999926
51
+ x: -0.1110211000000012,
52
+ y: -0.1322587999999998
64
53
  }
65
54
  ],
66
55
  color: "primary",
67
56
  fill: false
68
57
  },
69
- path44: {
58
+ path17: {
70
59
  type: "path",
71
60
  points: [
72
61
  {
73
- x: -0.12545425,
74
- y: -33784999999975085e-20
62
+ x: -0.0061693999999994364,
63
+ y: 0.1322588
75
64
  },
76
65
  {
77
- x: -0.52012455,
78
- y: -33784999999975085e-20
66
+ x: 0.06546170000000107,
67
+ y: 0.10639120000000002
79
68
  }
80
69
  ],
81
70
  color: "primary",
82
71
  fill: false
83
72
  },
84
- "path44-0": {
73
+ path18: {
85
74
  type: "path",
86
75
  points: [
87
76
  {
88
- x: 0.5201245499999998,
89
- y: -25265000000018745e-20
77
+ x: 0.06546170000000107,
78
+ y: 0.10639120000000002
90
79
  },
91
80
  {
92
- x: 0.14641644999999937,
93
- y: -25265000000018745e-20
81
+ x: 0.13709280000000135,
82
+ y: 0.1322588
94
83
  }
95
84
  ],
96
85
  color: "primary",
97
86
  fill: false
98
87
  },
99
- "path43-8": {
88
+ path19: {
100
89
  type: "path",
101
90
  points: [
102
91
  {
103
- x: 0.1401360499999995,
104
- y: -0.13311245000000027
92
+ x: -0.14943149999999927,
93
+ y: 0.1322588
105
94
  },
106
95
  {
107
- x: 0.07443344999999923,
108
- y: -0.15673055000000047
96
+ x: -0.07780039999999877,
97
+ y: 0.10639120000000002
109
98
  }
110
99
  ],
111
100
  color: "primary",
112
101
  fill: false
113
102
  },
114
- "path43-8-3": {
103
+ path20: {
115
104
  type: "path",
116
105
  points: [
117
106
  {
118
- x: 0.20757744999999939,
119
- y: 0.15673055000000025
107
+ x: -0.0778004000000001,
108
+ y: 0.10639120000000002
120
109
  },
121
110
  {
122
- x: 0.1418748499999991,
123
- y: 0.13311245000000005
111
+ x: -0.006169299999999822,
112
+ y: 0.1322588
124
113
  }
125
114
  ],
126
115
  color: "primary",
@@ -131,47 +120,68 @@ var avalanche_diode_default = {
131
120
  top1: {
132
121
  type: "text",
133
122
  text: "{REF}",
134
- x: -0.0082802500000001,
135
- y: -0.2301468499999999
123
+ x: -0.17652089999999898,
124
+ y: -0.3959705999999994
136
125
  },
137
126
  bottom1: {
138
127
  type: "text",
139
128
  text: "{VAL}",
140
- x: -0.0033669500000002017,
141
- y: 0.31754375
129
+ x: -0.009849199999999891,
130
+ y: 0.3983547000000005
142
131
  }
143
132
  },
144
133
  refblocks: {
145
134
  left1: {
146
- x: -0.5224022500000005,
147
- y: -0.0012222500000007575
135
+ x: -0.5446330999999993,
136
+ y: 0
148
137
  },
149
138
  right1: {
150
- x: 0.5158919499999994,
151
- y: -19764999999982713e-20
139
+ x: 0.5381638000000004,
140
+ y: 0
152
141
  }
153
142
  },
154
143
  bounds: {
155
- minX: -0.52012455,
156
- maxX: 0.5201245499999998,
157
- minY: -0.15673055000000047,
158
- maxY: 0.15673055000000025,
159
- width: 1.0402490999999998,
144
+ minX: -0.5307178,
145
+ maxX: 0.5307178000000001,
146
+ minY: -0.1322587999999998,
147
+ maxY: 0.1322588,
148
+ width: 1.0614356000000003,
160
149
  height: 1,
161
- centerX: -11102230246251565e-32,
162
- centerY: -11102230246251565e-32
150
+ centerX: 5551115123125783e-32,
151
+ centerY: 11102230246251565e-32
163
152
  },
164
- circles: {}
153
+ circles: {
154
+ path1: {
155
+ type: "circle",
156
+ x: 0,
157
+ y: 0,
158
+ radius: 0.28854213,
159
+ color: "primary",
160
+ fill: false
161
+ }
162
+ }
165
163
  };
166
164
 
167
- // symbols/avalanche_diode_horz.ts
168
- var { paths, texts, bounds, refblocks, circles } = avalanche_diode_default;
169
- var avalanche_diode_horz_default = defineSymbol({
165
+ // symbols/ac_voltmeter_horz.ts
166
+ var { paths, bounds, refblocks, circles } = ac_voltmeter_default;
167
+ var ac_voltmeter_horz_default = defineSymbol({
170
168
  primitives: [
171
169
  ...Object.values(paths),
172
170
  ...Object.values(circles),
173
- { ...texts.top1, anchor: "middle_bottom" },
174
- { ...texts.bottom1, anchor: "middle_top" }
171
+ {
172
+ type: "text",
173
+ text: "{REF}",
174
+ x: 0,
175
+ y: -0.3594553499999995,
176
+ anchor: "middle_bottom"
177
+ },
178
+ {
179
+ type: "text",
180
+ text: "{VAL}",
181
+ x: 0,
182
+ y: 0.35,
183
+ anchor: "middle_top"
184
+ }
175
185
  ],
176
186
  ports: [
177
187
  { ...refblocks.left1, labels: ["1"] },
@@ -261,6 +271,207 @@ var rotateSymbol = (symbol, overrides) => {
261
271
  };
262
272
  };
263
273
 
274
+ // symbols/ac_voltmeter_vert.ts
275
+ var {
276
+ 2: letter,
277
+ 3: path1,
278
+ 4: path2,
279
+ 5: path3,
280
+ 6: path4,
281
+ ...rest
282
+ } = ac_voltmeter_horz_default.primitives;
283
+ function isPrimitive(value) {
284
+ return typeof value === "object";
285
+ }
286
+ var rotatedSymbol = rotateSymbol({
287
+ ...ac_voltmeter_horz_default,
288
+ primitives: Object.values(rest).filter(isPrimitive)
289
+ });
290
+ var ac_voltmeter_vert_default = {
291
+ ...rotatedSymbol,
292
+ primitives: [...rotatedSymbol.primitives, letter, path1, path2, path3, path4]
293
+ };
294
+
295
+ // assets/generated/avalanche_diode.json
296
+ var avalanche_diode_default = {
297
+ paths: {
298
+ path40: {
299
+ type: "path",
300
+ points: [
301
+ {
302
+ x: 0.1413337499999996,
303
+ y: -33784999999975085e-20
304
+ },
305
+ {
306
+ x: -0.12324954999999993,
307
+ y: 0.1319538500000006
308
+ }
309
+ ],
310
+ color: "primary",
311
+ fill: false
312
+ },
313
+ path41: {
314
+ type: "path",
315
+ points: [
316
+ {
317
+ x: -0.12324954999999993,
318
+ y: -0.1326295500000001
319
+ },
320
+ {
321
+ x: 0.1413337499999996,
322
+ y: -33784999999975085e-20
323
+ }
324
+ ],
325
+ color: "primary",
326
+ fill: false
327
+ },
328
+ path42: {
329
+ type: "path",
330
+ points: [
331
+ {
332
+ x: -0.12324954999999993,
333
+ y: 0.13195384999999926
334
+ },
335
+ {
336
+ x: -0.12324954999999993,
337
+ y: -0.1326295500000001
338
+ }
339
+ ],
340
+ color: "primary",
341
+ fill: false
342
+ },
343
+ path43: {
344
+ type: "path",
345
+ points: [
346
+ {
347
+ x: 0.1413337499999996,
348
+ y: -0.1326295500000001
349
+ },
350
+ {
351
+ x: 0.1413337499999996,
352
+ y: 0.13195384999999926
353
+ }
354
+ ],
355
+ color: "primary",
356
+ fill: false
357
+ },
358
+ path44: {
359
+ type: "path",
360
+ points: [
361
+ {
362
+ x: -0.12545425,
363
+ y: -33784999999975085e-20
364
+ },
365
+ {
366
+ x: -0.52012455,
367
+ y: -33784999999975085e-20
368
+ }
369
+ ],
370
+ color: "primary",
371
+ fill: false
372
+ },
373
+ "path44-0": {
374
+ type: "path",
375
+ points: [
376
+ {
377
+ x: 0.5201245499999998,
378
+ y: -25265000000018745e-20
379
+ },
380
+ {
381
+ x: 0.14641644999999937,
382
+ y: -25265000000018745e-20
383
+ }
384
+ ],
385
+ color: "primary",
386
+ fill: false
387
+ },
388
+ "path43-8": {
389
+ type: "path",
390
+ points: [
391
+ {
392
+ x: 0.1401360499999995,
393
+ y: -0.13311245000000027
394
+ },
395
+ {
396
+ x: 0.07443344999999923,
397
+ y: -0.15673055000000047
398
+ }
399
+ ],
400
+ color: "primary",
401
+ fill: false
402
+ },
403
+ "path43-8-3": {
404
+ type: "path",
405
+ points: [
406
+ {
407
+ x: 0.20757744999999939,
408
+ y: 0.15673055000000025
409
+ },
410
+ {
411
+ x: 0.1418748499999991,
412
+ y: 0.13311245000000005
413
+ }
414
+ ],
415
+ color: "primary",
416
+ fill: false
417
+ }
418
+ },
419
+ texts: {
420
+ top1: {
421
+ type: "text",
422
+ text: "{REF}",
423
+ x: -0.0082802500000001,
424
+ y: -0.2301468499999999
425
+ },
426
+ bottom1: {
427
+ type: "text",
428
+ text: "{VAL}",
429
+ x: -0.0033669500000002017,
430
+ y: 0.31754375
431
+ }
432
+ },
433
+ refblocks: {
434
+ left1: {
435
+ x: -0.5224022500000005,
436
+ y: -0.0012222500000007575
437
+ },
438
+ right1: {
439
+ x: 0.5158919499999994,
440
+ y: -19764999999982713e-20
441
+ }
442
+ },
443
+ bounds: {
444
+ minX: -0.52012455,
445
+ maxX: 0.5201245499999998,
446
+ minY: -0.15673055000000047,
447
+ maxY: 0.15673055000000025,
448
+ width: 1.0402490999999998,
449
+ height: 1,
450
+ centerX: -11102230246251565e-32,
451
+ centerY: -11102230246251565e-32
452
+ },
453
+ circles: {}
454
+ };
455
+
456
+ // symbols/avalanche_diode_horz.ts
457
+ var { paths: paths2, texts, bounds: bounds2, refblocks: refblocks2, circles: circles2 } = avalanche_diode_default;
458
+ var avalanche_diode_horz_default = defineSymbol({
459
+ primitives: [
460
+ ...Object.values(paths2),
461
+ ...Object.values(circles2),
462
+ { ...texts.top1, anchor: "middle_bottom" },
463
+ { ...texts.bottom1, anchor: "middle_top" }
464
+ ],
465
+ ports: [
466
+ { ...refblocks2.left1, labels: ["1"] },
467
+ // TODO add more "standard" labels
468
+ { ...refblocks2.right1, labels: ["2"] }
469
+ // TODO add more "standard" labels
470
+ ],
471
+ size: { width: bounds2.width, height: bounds2.height },
472
+ center: { x: bounds2.centerX, y: bounds2.centerY }
473
+ });
474
+
264
475
  // symbols/avalanche_diode_vert.ts
265
476
  var rotated = rotateSymbol(avalanche_diode_horz_default);
266
477
  var ref = rotated.primitives.find(
@@ -376,20 +587,20 @@ var boxresistor_default = {
376
587
  };
377
588
 
378
589
  // symbols/boxresistor_horz.ts
379
- var { paths: paths2, texts: texts2, bounds: bounds2, refblocks: refblocks2 } = boxresistor_default;
590
+ var { paths: paths3, texts: texts2, bounds: bounds3, refblocks: refblocks3 } = boxresistor_default;
380
591
  var boxresistor_horz_default = defineSymbol({
381
592
  primitives: [
382
- ...Object.values(paths2),
593
+ ...Object.values(paths3),
383
594
  { ...texts2.top1, anchor: "middle_bottom" },
384
595
  { ...texts2.bottom1, anchor: "middle_top" }
385
596
  ],
386
597
  ports: [
387
- { ...refblocks2.left1, labels: ["1"] },
388
- { ...refblocks2.right1, labels: ["2"] }
598
+ { ...refblocks3.left1, labels: ["1"] },
599
+ { ...refblocks3.right1, labels: ["2"] }
389
600
  ],
390
- size: { width: bounds2.width, height: bounds2.height },
601
+ size: { width: bounds3.width, height: bounds3.height },
391
602
  //{ width: 1, height: 0.24 },
392
- center: { x: bounds2.centerX, y: bounds2.centerY }
603
+ center: { x: bounds3.centerX, y: bounds3.centerY }
393
604
  });
394
605
 
395
606
  // symbols/boxresistor_vert.ts
@@ -496,20 +707,20 @@ var capacitor_default = {
496
707
  };
497
708
 
498
709
  // symbols/capacitor_horz.ts
499
- var { paths: paths3, bounds: bounds3, refblocks: refblocks3, texts: texts3 } = capacitor_default;
710
+ var { paths: paths4, bounds: bounds4, refblocks: refblocks4, texts: texts3 } = capacitor_default;
500
711
  var capacitor_horz_default = defineSymbol({
501
712
  primitives: [
502
- ...Object.values(paths3),
713
+ ...Object.values(paths4),
503
714
  { ...texts3.top1, anchor: "middle_bottom" },
504
715
  { ...texts3.bottom1, anchor: "middle_top" }
505
716
  ],
506
717
  ports: [
507
- { ...refblocks3.left1, labels: ["1"] },
508
- { ...refblocks3.right1, labels: ["2"] }
718
+ { ...refblocks4.left1, labels: ["1"] },
719
+ { ...refblocks4.right1, labels: ["2"] }
509
720
  ],
510
- size: { width: bounds3.width, height: bounds3.height },
721
+ size: { width: bounds4.width, height: bounds4.height },
511
722
  //{ width: 1, height: 0.24 },
512
- center: { x: bounds3.centerX, y: bounds3.centerY }
723
+ center: { x: bounds4.centerX, y: bounds4.centerY }
513
724
  });
514
725
 
515
726
  // symbols/capacitor_vert.ts
@@ -630,11 +841,11 @@ var dc_voltmeter_default = {
630
841
  };
631
842
 
632
843
  // symbols/dc_voltmeter_horz.ts
633
- var { paths: paths4, texts: texts4, bounds: bounds4, refblocks: refblocks4, circles: circles2 } = dc_voltmeter_default;
844
+ var { paths: paths5, texts: texts4, bounds: bounds5, refblocks: refblocks5, circles: circles3 } = dc_voltmeter_default;
634
845
  var dc_voltmeter_horz_default = defineSymbol({
635
846
  primitives: [
636
- ...Object.values(paths4),
637
- ...Object.values(circles2),
847
+ ...Object.values(paths5),
848
+ ...Object.values(circles3),
638
849
  {
639
850
  type: "text",
640
851
  text: "{REF}",
@@ -651,27 +862,27 @@ var dc_voltmeter_horz_default = defineSymbol({
651
862
  }
652
863
  ],
653
864
  ports: [
654
- { ...refblocks4.left1, labels: ["1"] },
865
+ { ...refblocks5.left1, labels: ["1"] },
655
866
  // TODO add more "standard" labels
656
- { ...refblocks4.right1, labels: ["2"] }
867
+ { ...refblocks5.right1, labels: ["2"] }
657
868
  // TODO add more "standard" labels
658
869
  ],
659
- size: { width: bounds4.width, height: bounds4.height },
660
- center: { x: bounds4.centerX, y: bounds4.centerY }
870
+ size: { width: bounds5.width, height: bounds5.height },
871
+ center: { x: bounds5.centerX, y: bounds5.centerY }
661
872
  });
662
873
 
663
874
  // symbols/dc_voltmeter_vert.ts
664
- var { 2: letter, 3: underline, ...rest } = dc_voltmeter_horz_default.primitives;
665
- function isPrimitive(value) {
875
+ var { 2: letter2, 3: underline, ...rest2 } = dc_voltmeter_horz_default.primitives;
876
+ function isPrimitive2(value) {
666
877
  return typeof value === "object";
667
878
  }
668
- var rotatedSymbol = rotateSymbol({
879
+ var rotatedSymbol2 = rotateSymbol({
669
880
  ...dc_voltmeter_horz_default,
670
- primitives: Object.values(rest).filter(isPrimitive)
881
+ primitives: Object.values(rest2).filter(isPrimitive2)
671
882
  });
672
883
  var dc_voltmeter_vert_default = {
673
- ...rotatedSymbol,
674
- primitives: [...rotatedSymbol.primitives, letter, underline]
884
+ ...rotatedSymbol2,
885
+ primitives: [...rotatedSymbol2.primitives, letter2, underline]
675
886
  };
676
887
 
677
888
  // assets/generated/diode.json
@@ -805,21 +1016,21 @@ var diode_default = {
805
1016
  };
806
1017
 
807
1018
  // symbols/diode_horz.ts
808
- var { paths: paths5, texts: texts5, bounds: bounds5, refblocks: refblocks5 } = diode_default;
1019
+ var { paths: paths6, texts: texts5, bounds: bounds6, refblocks: refblocks6 } = diode_default;
809
1020
  var diode_horz_default = defineSymbol({
810
1021
  primitives: [
811
- ...Object.values(paths5),
1022
+ ...Object.values(paths6),
812
1023
  { ...texts5.top1, anchor: "middle_bottom" },
813
1024
  { ...texts5.bottom1, anchor: "middle_top" }
814
1025
  ],
815
1026
  ports: [
816
- { ...refblocks5.left1, labels: ["1"] },
1027
+ { ...refblocks6.left1, labels: ["1"] },
817
1028
  // TODO add more "standard" labels
818
- { ...refblocks5.right1, labels: ["2"] }
1029
+ { ...refblocks6.right1, labels: ["2"] }
819
1030
  // TODO add more "standard" labels
820
1031
  ],
821
- size: { width: bounds5.width, height: bounds5.height },
822
- center: { x: bounds5.centerX, y: bounds5.centerY }
1032
+ size: { width: bounds6.width, height: bounds6.height },
1033
+ center: { x: bounds6.centerX, y: bounds6.centerY }
823
1034
  });
824
1035
 
825
1036
  // symbols/diode_vert.ts
@@ -912,10 +1123,10 @@ var fuse_default = {
912
1123
  };
913
1124
 
914
1125
  // symbols/fuse_horz.ts
915
- var { paths: paths6, texts: texts6, bounds: bounds6, refblocks: refblocks6 } = fuse_default;
1126
+ var { paths: paths7, texts: texts6, bounds: bounds7, refblocks: refblocks7 } = fuse_default;
916
1127
  var fuse_horz_default = defineSymbol({
917
1128
  primitives: [
918
- ...Object.values(paths6),
1129
+ ...Object.values(paths7),
919
1130
  { ...texts6.top1, anchor: "middle_bottom" },
920
1131
  {
921
1132
  type: "text",
@@ -926,13 +1137,13 @@ var fuse_horz_default = defineSymbol({
926
1137
  }
927
1138
  ],
928
1139
  ports: [
929
- { ...refblocks6.left1, labels: ["1"] },
1140
+ { ...refblocks7.left1, labels: ["1"] },
930
1141
  // TODO add more "standard" labels
931
- { ...refblocks6.right1, labels: ["2"] }
1142
+ { ...refblocks7.right1, labels: ["2"] }
932
1143
  // TODO add more "standard" labels
933
1144
  ],
934
- size: { width: bounds6.width, height: bounds6.height },
935
- center: { x: bounds6.centerX, y: bounds6.centerY }
1145
+ size: { width: bounds7.width, height: bounds7.height },
1146
+ center: { x: bounds7.centerX, y: bounds7.centerY }
936
1147
  });
937
1148
 
938
1149
  // symbols/fuse_vert.ts
@@ -1153,19 +1364,19 @@ var led_default = {
1153
1364
  };
1154
1365
 
1155
1366
  // symbols/led_horz.ts
1156
- var { paths: paths7, texts: texts7, bounds: bounds7, refblocks: refblocks7 } = led_default;
1367
+ var { paths: paths8, texts: texts7, bounds: bounds8, refblocks: refblocks8 } = led_default;
1157
1368
  var led_horz_default = defineSymbol({
1158
1369
  primitives: [
1159
- ...Object.values(paths7),
1370
+ ...Object.values(paths8),
1160
1371
  { ...texts7.bottom1, anchor: "middle_right" },
1161
1372
  { ...texts7.right1, anchor: "middle_left" }
1162
1373
  ],
1163
1374
  ports: [
1164
- { ...refblocks7.left1, labels: ["1", "anode", "pos"] },
1165
- { ...refblocks7.right1, labels: ["2", "cathode", "neg"] }
1375
+ { ...refblocks8.left1, labels: ["1", "anode", "pos"] },
1376
+ { ...refblocks8.right1, labels: ["2", "cathode", "neg"] }
1166
1377
  ],
1167
- size: { width: bounds7.width, height: bounds7.height },
1168
- center: { x: bounds7.centerX, y: bounds7.centerY + 0.1 }
1378
+ size: { width: bounds8.width, height: bounds8.height },
1379
+ center: { x: bounds8.centerX, y: bounds8.centerY + 0.1 }
1169
1380
  });
1170
1381
 
1171
1382
  // symbols/led_vert.ts
@@ -1454,23 +1665,23 @@ var mosfet_depletion_normally_on_default = {
1454
1665
  };
1455
1666
 
1456
1667
  // symbols/mosfet_depletion_normally_on_horz.ts
1457
- var { paths: paths8, texts: texts8, bounds: bounds8, refblocks: refblocks8 } = mosfet_depletion_normally_on_default;
1668
+ var { paths: paths9, texts: texts8, bounds: bounds9, refblocks: refblocks9 } = mosfet_depletion_normally_on_default;
1458
1669
  var mosfet_depletion_normally_on_horz_default = defineSymbol({
1459
1670
  primitives: [
1460
- ...Object.values(paths8),
1671
+ ...Object.values(paths9),
1461
1672
  { ...texts8.right1, anchor: "middle_left" },
1462
1673
  { ...texts8.right2, anchor: "middle_left" }
1463
1674
  ],
1464
1675
  ports: [
1465
- { ...refblocks8.top1, labels: ["1"] },
1676
+ { ...refblocks9.top1, labels: ["1"] },
1466
1677
  // TODO add more "standard" labels
1467
- { ...refblocks8.bottom1, labels: ["2"] },
1678
+ { ...refblocks9.bottom1, labels: ["2"] },
1468
1679
  // TODO add more "standard" labels
1469
- { ...refblocks8.left1, labels: ["3"] }
1680
+ { ...refblocks9.left1, labels: ["3"] }
1470
1681
  // TODO add more "standard" labels
1471
1682
  ],
1472
- size: { width: bounds8.width + 0.4, height: bounds8.height },
1473
- center: { x: bounds8.centerX + 0.2, y: bounds8.centerY }
1683
+ size: { width: bounds9.width + 0.4, height: bounds9.height },
1684
+ center: { x: bounds9.centerX + 0.2, y: bounds9.centerY }
1474
1685
  });
1475
1686
 
1476
1687
  // symbols/mosfet_depletion_normally_on_vert.ts
@@ -1712,11 +1923,11 @@ var photodiode_default = {
1712
1923
  };
1713
1924
 
1714
1925
  // symbols/photodiode_horz.ts
1715
- var { paths: paths9, texts: texts9, bounds: bounds9, refblocks: refblocks9, circles: circles3 } = photodiode_default;
1926
+ var { paths: paths10, texts: texts9, bounds: bounds10, refblocks: refblocks10, circles: circles4 } = photodiode_default;
1716
1927
  var photodiode_horz_default = defineSymbol({
1717
1928
  primitives: [
1718
- ...Object.values(paths9),
1719
- ...Object.values(circles3),
1929
+ ...Object.values(paths10),
1930
+ ...Object.values(circles4),
1720
1931
  {
1721
1932
  type: "text",
1722
1933
  text: "{REF}",
@@ -1733,22 +1944,22 @@ var photodiode_horz_default = defineSymbol({
1733
1944
  }
1734
1945
  ],
1735
1946
  ports: [
1736
- { ...refblocks9.left1, labels: ["1"] },
1947
+ { ...refblocks10.left1, labels: ["1"] },
1737
1948
  // TODO add more "standard" labels
1738
- { ...refblocks9.right1, labels: ["2"] }
1949
+ { ...refblocks10.right1, labels: ["2"] }
1739
1950
  // TODO add more "standard" labels
1740
1951
  ],
1741
- size: { width: bounds9.width, height: bounds9.height },
1742
- center: { x: bounds9.centerX, y: bounds9.centerY }
1952
+ size: { width: bounds10.width, height: bounds10.height },
1953
+ center: { x: bounds10.centerX, y: bounds10.centerY }
1743
1954
  });
1744
1955
 
1745
1956
  // symbols/photodiode_vert.ts
1746
- var rotatedSymbol2 = rotateSymbol(photodiode_horz_default);
1747
- var texts10 = rotatedSymbol2.primitives.filter((p) => p.type === "text");
1957
+ var rotatedSymbol3 = rotateSymbol(photodiode_horz_default);
1958
+ var texts10 = rotatedSymbol3.primitives.filter((p) => p.type === "text");
1748
1959
  var ref4 = texts10.find((t) => t.text === "{REF}");
1749
1960
  ref4.y = 0;
1750
1961
  ref4.anchor = "middle_left";
1751
- var photodiode_vert_default = rotatedSymbol2;
1962
+ var photodiode_vert_default = rotatedSymbol3;
1752
1963
 
1753
1964
  // assets/generated/potentiometer.json
1754
1965
  var potentiometer_default = {
@@ -1886,21 +2097,21 @@ var potentiometer_default = {
1886
2097
  };
1887
2098
 
1888
2099
  // symbols/potentiometer_horz.ts
1889
- var { paths: paths10, texts: texts11, bounds: bounds10, refblocks: refblocks10 } = potentiometer_default;
2100
+ var { paths: paths11, texts: texts11, bounds: bounds11, refblocks: refblocks11 } = potentiometer_default;
1890
2101
  var potentiometer_horz_default = defineSymbol({
1891
2102
  primitives: [
1892
- ...Object.values(paths10),
2103
+ ...Object.values(paths11),
1893
2104
  { ...texts11.bottom1, y: 0.35, anchor: "middle_top" },
1894
2105
  { ...texts11.right1, anchor: "middle_left" }
1895
2106
  ],
1896
2107
  ports: [
1897
- { ...refblocks10.left1, labels: ["1"] },
2108
+ { ...refblocks11.left1, labels: ["1"] },
1898
2109
  // TODO add more "standard" labels
1899
- { ...refblocks10.right1, labels: ["2"] }
2110
+ { ...refblocks11.right1, labels: ["2"] }
1900
2111
  // TODO add more "standard" labels
1901
2112
  ],
1902
- size: { width: bounds10.width + 0.05, height: bounds10.height },
1903
- center: { x: bounds10.centerX, y: bounds10.centerY }
2113
+ size: { width: bounds11.width + 0.05, height: bounds11.height },
2114
+ center: { x: bounds11.centerX, y: bounds11.centerY }
1904
2115
  });
1905
2116
 
1906
2117
  // symbols/potentiometer_vert.ts
@@ -2062,21 +2273,21 @@ var potentiometer2_default = {
2062
2273
  };
2063
2274
 
2064
2275
  // symbols/potentiometer2_horz.ts
2065
- var { paths: paths11, texts: texts12, bounds: bounds11, refblocks: refblocks11 } = potentiometer2_default;
2276
+ var { paths: paths12, texts: texts12, bounds: bounds12, refblocks: refblocks12 } = potentiometer2_default;
2066
2277
  var potentiometer2_horz_default = defineSymbol({
2067
2278
  primitives: [
2068
- ...Object.values(paths11),
2279
+ ...Object.values(paths12),
2069
2280
  { ...texts12.bottom1, anchor: "middle_right" },
2070
2281
  { ...texts12.top1, anchor: "middle_left" }
2071
2282
  ],
2072
2283
  ports: [
2073
- { ...refblocks11.left1, labels: ["1"] },
2284
+ { ...refblocks12.left1, labels: ["1"] },
2074
2285
  // TODO add more "standard" labels
2075
- { ...refblocks11.right1, labels: ["2"] }
2286
+ { ...refblocks12.right1, labels: ["2"] }
2076
2287
  // TODO add more "standard" labels
2077
2288
  ],
2078
- size: { width: bounds11.width, height: bounds11.height },
2079
- center: { x: bounds11.centerX, y: bounds11.centerY }
2289
+ size: { width: bounds12.width, height: bounds12.height },
2290
+ center: { x: bounds12.centerX, y: bounds12.centerY }
2080
2291
  });
2081
2292
 
2082
2293
  // symbols/potentiometer2_vert.ts
@@ -2183,21 +2394,21 @@ var push_button_normally_closed_momentary_default = {
2183
2394
  };
2184
2395
 
2185
2396
  // symbols/push_button_normally_closed_momentary_horz.ts
2186
- var { paths: paths12, texts: texts13, bounds: bounds12, refblocks: refblocks12 } = push_button_normally_closed_momentary_default;
2397
+ var { paths: paths13, texts: texts13, bounds: bounds13, refblocks: refblocks13 } = push_button_normally_closed_momentary_default;
2187
2398
  var push_button_normally_closed_momentary_horz_default = defineSymbol({
2188
2399
  primitives: [
2189
- ...Object.values(paths12),
2400
+ ...Object.values(paths13),
2190
2401
  { ...texts13.top1, anchor: "middle_bottom" },
2191
2402
  { ...texts13.bottom1, anchor: "middle_top" }
2192
2403
  ],
2193
2404
  ports: [
2194
- { ...refblocks12.left1, labels: ["1"] },
2405
+ { ...refblocks13.left1, labels: ["1"] },
2195
2406
  // TODO add more "standard" labels
2196
- { ...refblocks12.right1, labels: ["2"] }
2407
+ { ...refblocks13.right1, labels: ["2"] }
2197
2408
  // TODO add more "standard" labels
2198
2409
  ],
2199
- size: { width: bounds12.width, height: bounds12.height },
2200
- center: { x: bounds12.centerX, y: bounds12.centerY }
2410
+ size: { width: bounds13.width, height: bounds13.height },
2411
+ center: { x: bounds13.centerX, y: bounds13.centerY }
2201
2412
  });
2202
2413
 
2203
2414
  // symbols/push_button_normally_closed_momentary_vert.ts
@@ -2317,21 +2528,21 @@ var push_button_normally_open_momentary_default = {
2317
2528
  };
2318
2529
 
2319
2530
  // symbols/push_button_normally_open_momentary_horz.ts
2320
- var { paths: paths13, texts: texts14, bounds: bounds13, refblocks: refblocks13 } = push_button_normally_open_momentary_default;
2531
+ var { paths: paths14, texts: texts14, bounds: bounds14, refblocks: refblocks14 } = push_button_normally_open_momentary_default;
2321
2532
  var push_button_normally_open_momentary_horz_default = defineSymbol({
2322
2533
  primitives: [
2323
- ...Object.values(paths13),
2534
+ ...Object.values(paths14),
2324
2535
  { ...texts14.top1, anchor: "middle_bottom" },
2325
2536
  { ...texts14.bottom1, anchor: "middle_top" }
2326
2537
  ],
2327
2538
  ports: [
2328
- { ...refblocks13.left1, labels: ["1"] },
2539
+ { ...refblocks14.left1, labels: ["1"] },
2329
2540
  // TODO add more "standard" labels
2330
- { ...refblocks13.right1, labels: ["2"] }
2541
+ { ...refblocks14.right1, labels: ["2"] }
2331
2542
  // TODO add more "standard" labels
2332
2543
  ],
2333
- size: { width: bounds13.width, height: bounds13.height },
2334
- center: { x: bounds13.centerX, y: bounds13.centerY }
2544
+ size: { width: bounds14.width, height: bounds14.height },
2545
+ center: { x: bounds14.centerX, y: bounds14.centerY }
2335
2546
  });
2336
2547
 
2337
2548
  // symbols/push_button_normally_open_momentary_vert.ts
@@ -2542,22 +2753,22 @@ var schottky_diode_default = {
2542
2753
  };
2543
2754
 
2544
2755
  // symbols/schottky_diode_horz.ts
2545
- var { paths: paths14, texts: texts15, bounds: bounds14, refblocks: refblocks14, circles: circles4 } = schottky_diode_default;
2756
+ var { paths: paths15, texts: texts15, bounds: bounds15, refblocks: refblocks15, circles: circles5 } = schottky_diode_default;
2546
2757
  var schottky_diode_horz_default = defineSymbol({
2547
2758
  primitives: [
2548
- ...Object.values(paths14),
2549
- ...Object.values(circles4),
2759
+ ...Object.values(paths15),
2760
+ ...Object.values(circles5),
2550
2761
  { ...texts15.top1, anchor: "middle_bottom" },
2551
2762
  { ...texts15.bottom1, anchor: "middle_top" }
2552
2763
  ],
2553
2764
  ports: [
2554
- { ...refblocks14.left1, labels: ["1"] },
2765
+ { ...refblocks15.left1, labels: ["1"] },
2555
2766
  // TODO add more "standard" labels
2556
- { ...refblocks14.right1, labels: ["2"] }
2767
+ { ...refblocks15.right1, labels: ["2"] }
2557
2768
  // TODO add more "standard" labels
2558
2769
  ],
2559
- size: { width: bounds14.width, height: bounds14.height },
2560
- center: { x: bounds14.centerX, y: bounds14.centerY }
2770
+ size: { width: bounds15.width, height: bounds15.height },
2771
+ center: { x: bounds15.centerX, y: bounds15.centerY }
2561
2772
  });
2562
2773
 
2563
2774
  // symbols/schottky_diode_vert.ts
@@ -2734,22 +2945,22 @@ var tunnel_diode_default = {
2734
2945
  };
2735
2946
 
2736
2947
  // symbols/tunnel_diode_horz.ts
2737
- var { paths: paths15, texts: texts16, bounds: bounds15, refblocks: refblocks15, circles: circles5 } = tunnel_diode_default;
2948
+ var { paths: paths16, texts: texts16, bounds: bounds16, refblocks: refblocks16, circles: circles6 } = tunnel_diode_default;
2738
2949
  var tunnel_diode_horz_default = defineSymbol({
2739
2950
  primitives: [
2740
- ...Object.values(paths15),
2741
- ...Object.values(circles5),
2951
+ ...Object.values(paths16),
2952
+ ...Object.values(circles6),
2742
2953
  { ...texts16.top1, anchor: "middle_bottom" },
2743
2954
  { ...texts16.bottom1, anchor: "middle_top" }
2744
2955
  ],
2745
2956
  ports: [
2746
- { ...refblocks15.left1, labels: ["1"] },
2957
+ { ...refblocks16.left1, labels: ["1"] },
2747
2958
  // TODO add more "standard" labels
2748
- { ...refblocks15.right1, labels: ["2"] }
2959
+ { ...refblocks16.right1, labels: ["2"] }
2749
2960
  // TODO add more "standard" labels
2750
2961
  ],
2751
- size: { width: bounds15.width, height: bounds15.height },
2752
- center: { x: bounds15.centerX, y: bounds15.centerY }
2962
+ size: { width: bounds16.width, height: bounds16.height },
2963
+ center: { x: bounds16.centerX, y: bounds16.centerY }
2753
2964
  });
2754
2965
 
2755
2966
  // symbols/tunnel_diode_vert.ts
@@ -2911,22 +3122,22 @@ var varactor_diode_default = {
2911
3122
  };
2912
3123
 
2913
3124
  // symbols/varactor_diode_horz.ts
2914
- var { paths: paths16, texts: texts17, bounds: bounds16, refblocks: refblocks16, circles: circles6 } = varactor_diode_default;
3125
+ var { paths: paths17, texts: texts17, bounds: bounds17, refblocks: refblocks17, circles: circles7 } = varactor_diode_default;
2915
3126
  var varactor_diode_horz_default = defineSymbol({
2916
3127
  primitives: [
2917
- ...Object.values(paths16),
2918
- ...Object.values(circles6),
3128
+ ...Object.values(paths17),
3129
+ ...Object.values(circles7),
2919
3130
  { ...texts17.top1, anchor: "middle_bottom" },
2920
3131
  { ...texts17.bottom1, anchor: "middle_top" }
2921
3132
  ],
2922
3133
  ports: [
2923
- { ...refblocks16.left1, labels: ["1"] },
3134
+ { ...refblocks17.left1, labels: ["1"] },
2924
3135
  // TODO add more "standard" labels
2925
- { ...refblocks16.right1, labels: ["2"] }
3136
+ { ...refblocks17.right1, labels: ["2"] }
2926
3137
  // TODO add more "standard" labels
2927
3138
  ],
2928
- size: { width: bounds16.width, height: bounds16.height },
2929
- center: { x: bounds16.centerX, y: bounds16.centerY }
3139
+ size: { width: bounds17.width, height: bounds17.height },
3140
+ center: { x: bounds17.centerX, y: bounds17.centerY }
2930
3141
  });
2931
3142
 
2932
3143
  // symbols/varactor_diode_vert.ts
@@ -3073,26 +3284,26 @@ var varistor_default = {
3073
3284
  };
3074
3285
 
3075
3286
  // symbols/varistor_horz.ts
3076
- var { paths: paths17, texts: texts18, bounds: bounds17, refblocks: refblocks17 } = varistor_default;
3287
+ var { paths: paths18, texts: texts18, bounds: bounds18, refblocks: refblocks18 } = varistor_default;
3077
3288
  var varistor_horz_default = defineSymbol({
3078
3289
  primitives: [
3079
- ...Object.values(paths17),
3290
+ ...Object.values(paths18),
3080
3291
  { ...texts18.top1, anchor: "middle_left" },
3081
3292
  { ...texts18.bottom1, anchor: "middle_right" }
3082
3293
  ],
3083
3294
  ports: [
3084
3295
  {
3085
- ...refblocks17.left1,
3296
+ ...refblocks18.left1,
3086
3297
  labels: ["1", "-"]
3087
3298
  },
3088
3299
  {
3089
- ...refblocks17.right1,
3300
+ ...refblocks18.right1,
3090
3301
  labels: ["2", "+"]
3091
3302
  }
3092
3303
  ],
3093
- size: { width: bounds17.width, height: bounds17.height },
3304
+ size: { width: bounds18.width, height: bounds18.height },
3094
3305
  //{ width: 1, height: 0.24 },
3095
- center: { x: bounds17.centerX, y: bounds17.centerY }
3306
+ center: { x: bounds18.centerX, y: bounds18.centerY }
3096
3307
  });
3097
3308
 
3098
3309
  // symbols/varistor_vert.ts
@@ -3198,11 +3409,11 @@ var volt_meter_default = {
3198
3409
  };
3199
3410
 
3200
3411
  // symbols/volt_meter_horz.ts
3201
- var { paths: paths18, texts: texts19, bounds: bounds18, circles: circles7, refblocks: refblocks18 } = volt_meter_default;
3412
+ var { paths: paths19, texts: texts19, bounds: bounds19, circles: circles8, refblocks: refblocks19 } = volt_meter_default;
3202
3413
  var volt_meter_horz_default = defineSymbol({
3203
3414
  primitives: [
3204
- ...Object.values(paths18),
3205
- ...Object.values(circles7),
3415
+ ...Object.values(paths19),
3416
+ ...Object.values(circles8),
3206
3417
  {
3207
3418
  type: "text",
3208
3419
  text: "{REF}",
@@ -3219,13 +3430,13 @@ var volt_meter_horz_default = defineSymbol({
3219
3430
  }
3220
3431
  ],
3221
3432
  ports: [
3222
- { ...refblocks18.left1, labels: ["1"] },
3433
+ { ...refblocks19.left1, labels: ["1"] },
3223
3434
  // TODO add more "standard" labels
3224
- { ...refblocks18.right1, labels: ["2"] }
3435
+ { ...refblocks19.right1, labels: ["2"] }
3225
3436
  // TODO add more "standard" labels
3226
3437
  ],
3227
- size: { width: bounds18.width, height: bounds18.height },
3228
- center: { x: bounds18.centerX, y: bounds18.centerY }
3438
+ size: { width: bounds19.width, height: bounds19.height },
3439
+ center: { x: bounds19.centerX, y: bounds19.centerY }
3229
3440
  });
3230
3441
 
3231
3442
  // symbols/volt_meter_vert.ts
@@ -3378,22 +3589,22 @@ var zener_diode_default = {
3378
3589
  };
3379
3590
 
3380
3591
  // symbols/zener_diode_horz.ts
3381
- var { paths: paths19, texts: texts20, bounds: bounds19, refblocks: refblocks19, circles: circles8 } = zener_diode_default;
3592
+ var { paths: paths20, texts: texts20, bounds: bounds20, refblocks: refblocks20, circles: circles9 } = zener_diode_default;
3382
3593
  var zener_diode_horz_default = defineSymbol({
3383
3594
  primitives: [
3384
- ...Object.values(paths19),
3385
- ...Object.values(circles8),
3595
+ ...Object.values(paths20),
3596
+ ...Object.values(circles9),
3386
3597
  { ...texts20.top1, anchor: "middle_bottom" },
3387
3598
  { ...texts20.bottom1, anchor: "middle_top" }
3388
3599
  ],
3389
3600
  ports: [
3390
- { ...refblocks19.left1, labels: ["1"] },
3601
+ { ...refblocks20.left1, labels: ["1"] },
3391
3602
  // TODO add more "standard" labels
3392
- { ...refblocks19.right1, labels: ["2"] }
3603
+ { ...refblocks20.right1, labels: ["2"] }
3393
3604
  // TODO add more "standard" labels
3394
3605
  ],
3395
- size: { width: bounds19.width, height: bounds19.height },
3396
- center: { x: bounds19.centerX, y: bounds19.centerY }
3606
+ size: { width: bounds20.width, height: bounds20.height },
3607
+ center: { x: bounds20.centerX, y: bounds20.centerY }
3397
3608
  });
3398
3609
 
3399
3610
  // symbols/zener_diode_vert.ts
@@ -3410,6 +3621,8 @@ var zener_diode_vert_default = rotated10;
3410
3621
 
3411
3622
  // generated/symbols-index.ts
3412
3623
  var symbols_index_default = {
3624
+ "ac_voltmeter_horz": ac_voltmeter_horz_default,
3625
+ "ac_voltmeter_vert": ac_voltmeter_vert_default,
3413
3626
  "avalanche_diode_horz": avalanche_diode_horz_default,
3414
3627
  "avalanche_diode_vert": avalanche_diode_vert_default,
3415
3628
  "boxresistor_horz": boxresistor_horz_default,