schematic-symbols 0.0.91 → 0.0.93

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
@@ -204,8 +204,18 @@ var rotateAnchor = (anchor) => {
204
204
  }
205
205
  return anchor;
206
206
  };
207
- var rotateSymbol = (symbol, overrides) => {
208
- const transform = rotate(Math.PI / 2, symbol.center.x, symbol.center.y);
207
+ var rotateSymbol = (symbol, orientation, overrides) => {
208
+ const angleMap = {
209
+ up: -Math.PI / 2,
210
+ right: 0,
211
+ down: Math.PI / 2,
212
+ left: -Math.PI
213
+ };
214
+ const transform = rotate(
215
+ orientation ? angleMap[orientation] : Math.PI / 2,
216
+ symbol.center.x,
217
+ symbol.center.y
218
+ );
209
219
  const { primitives, center, size, ports } = symbol;
210
220
  const rotatedPrimitives = primitives.map((primitive) => {
211
221
  primitive = { ...primitive };
@@ -262,10 +272,9 @@ var rotateSymbol = (symbol, overrides) => {
262
272
  primitives: rotatedPrimitives,
263
273
  center,
264
274
  ports: rotatedPorts,
265
- // TODO recompute size using overrides
266
275
  size: {
267
- width: size.height,
268
- height: size.width
276
+ width: orientation === "up" || orientation === "down" ? size.width : size.height,
277
+ height: orientation === "up" || orientation === "down" ? size.height : size.width
269
278
  },
270
279
  ...overrides
271
280
  };
@@ -2067,36 +2076,6 @@ var diode_default = {
2067
2076
  ],
2068
2077
  color: "primary",
2069
2078
  fill: false
2070
- },
2071
- "path43-5": {
2072
- type: "path",
2073
- points: [
2074
- {
2075
- x: 0.19156529999999972,
2076
- y: 0.09340209999999871
2077
- },
2078
- {
2079
- x: 0.14591529999999908,
2080
- y: 0.0937620999999993
2081
- }
2082
- ],
2083
- color: "primary",
2084
- fill: false
2085
- },
2086
- "path43-5-2": {
2087
- type: "path",
2088
- points: [
2089
- {
2090
- x: 0.19233440000000046,
2091
- y: 0.1405493999999976
2092
- },
2093
- {
2094
- x: 0.19197439999999988,
2095
- y: 0.09489939999999919
2096
- }
2097
- ],
2098
- color: "primary",
2099
- fill: false
2100
2079
  }
2101
2080
  },
2102
2081
  texts: {
@@ -2136,11 +2115,12 @@ var diode_default = {
2136
2115
  circles: {}
2137
2116
  };
2138
2117
 
2139
- // symbols/diode_horz.ts
2140
- var { paths: paths12, texts: texts14, bounds: bounds12, refblocks: refblocks12 } = diode_default;
2141
- var diode_horz_default = defineSymbol({
2118
+ // symbols/diode_right.ts
2119
+ var { paths: paths12, texts: texts14, bounds: bounds12, refblocks: refblocks12, circles: circles10 } = diode_default;
2120
+ var diode_right_default = defineSymbol({
2142
2121
  primitives: [
2143
2122
  ...Object.values(paths12),
2123
+ ...Object.values(circles10),
2144
2124
  { ...texts14.top1, anchor: "middle_bottom" },
2145
2125
  { ...texts14.bottom1, anchor: "middle_top" }
2146
2126
  ],
@@ -2154,8 +2134,14 @@ var diode_horz_default = defineSymbol({
2154
2134
  center: { x: bounds12.centerX, y: bounds12.centerY }
2155
2135
  });
2156
2136
 
2157
- // symbols/diode_vert.ts
2158
- var diode_vert_default = rotateSymbol(diode_horz_default);
2137
+ // symbols/diode_down.ts
2138
+ var diode_down_default = rotateSymbol(diode_right_default, "down");
2139
+
2140
+ // symbols/diode_left.ts
2141
+ var diode_left_default = rotateSymbol(diode_right_default, "left");
2142
+
2143
+ // symbols/diode_up.ts
2144
+ var diode_up_default = rotateSymbol(diode_right_default, "up");
2159
2145
 
2160
2146
  // assets/generated/dpst_switch.json
2161
2147
  var dpst_switch_default = {
@@ -2313,11 +2299,11 @@ var dpst_switch_default = {
2313
2299
  };
2314
2300
 
2315
2301
  // symbols/dpst_switch_horz.ts
2316
- var { paths: paths13, texts: texts15, bounds: bounds13, refblocks: refblocks13, circles: circles10 } = dpst_switch_default;
2302
+ var { paths: paths13, texts: texts15, bounds: bounds13, refblocks: refblocks13, circles: circles11 } = dpst_switch_default;
2317
2303
  var dpst_switch_horz_default = defineSymbol({
2318
2304
  primitives: [
2319
2305
  ...Object.values(paths13),
2320
- ...Object.values(circles10),
2306
+ ...Object.values(circles11),
2321
2307
  { ...texts15.top1, anchor: "middle_bottom", x: 0 },
2322
2308
  { ...texts15.bottom1, anchor: "middle_top", x: 0 }
2323
2309
  ],
@@ -2464,11 +2450,11 @@ var filled_diode_default = {
2464
2450
  };
2465
2451
 
2466
2452
  // symbols/filled_diode_horz.ts
2467
- var { paths: paths14, texts: texts17, bounds: bounds14, refblocks: refblocks14, circles: circles11 } = filled_diode_default;
2453
+ var { paths: paths14, texts: texts17, bounds: bounds14, refblocks: refblocks14, circles: circles12 } = filled_diode_default;
2468
2454
  var filled_diode_horz_default = defineSymbol({
2469
2455
  primitives: [
2470
2456
  ...Object.values(paths14),
2471
- ...Object.values(circles11),
2457
+ ...Object.values(circles12),
2472
2458
  {
2473
2459
  type: "text",
2474
2460
  text: "{REF}",
@@ -2584,11 +2570,11 @@ var frequency_meter_default = {
2584
2570
  };
2585
2571
 
2586
2572
  // symbols/frequency_meter_horz.ts
2587
- var { paths: paths15, texts: texts18, bounds: bounds15, refblocks: refblocks15, circles: circles12 } = frequency_meter_default;
2573
+ var { paths: paths15, texts: texts18, bounds: bounds15, refblocks: refblocks15, circles: circles13 } = frequency_meter_default;
2588
2574
  var frequency_meter_horz_default = defineSymbol({
2589
2575
  primitives: [
2590
2576
  ...Object.values(paths15),
2591
- ...Object.values(circles12),
2577
+ ...Object.values(circles13),
2592
2578
  {
2593
2579
  type: "text",
2594
2580
  text: "{REF}",
@@ -2845,11 +2831,11 @@ var ground_default = {
2845
2831
  };
2846
2832
 
2847
2833
  // symbols/ground_horz.ts
2848
- var { paths: paths17, circles: circles13, bounds: bounds17, refblocks: refblocks17 } = ground_default;
2834
+ var { paths: paths17, circles: circles14, bounds: bounds17, refblocks: refblocks17 } = ground_default;
2849
2835
  var horizontalSymbol = defineSymbol({
2850
2836
  primitives: [
2851
2837
  ...Object.values(paths17),
2852
- ...Object.values(circles13),
2838
+ ...Object.values(circles14),
2853
2839
  {
2854
2840
  type: "text",
2855
2841
  text: "{REF}",
@@ -2880,11 +2866,11 @@ var horizontalSymbol = defineSymbol({
2880
2866
  var ground_horz_default = horizontalSymbol;
2881
2867
 
2882
2868
  // symbols/ground_vert.ts
2883
- var { paths: paths18, circles: circles14, bounds: bounds18, refblocks: refblocks18 } = ground_default;
2869
+ var { paths: paths18, circles: circles15, bounds: bounds18, refblocks: refblocks18 } = ground_default;
2884
2870
  var verticalSymbol = defineSymbol({
2885
2871
  primitives: [
2886
2872
  ...Object.values(paths18),
2887
- ...Object.values(circles14),
2873
+ ...Object.values(circles15),
2888
2874
  {
2889
2875
  type: "text",
2890
2876
  text: "{REF}",
@@ -3032,11 +3018,11 @@ var gunn_diode_default = {
3032
3018
  };
3033
3019
 
3034
3020
  // symbols/gunn_diode_horz.ts
3035
- var { paths: paths19, texts: texts20, bounds: bounds19, refblocks: refblocks19, circles: circles15 } = gunn_diode_default;
3021
+ var { paths: paths19, texts: texts20, bounds: bounds19, refblocks: refblocks19, circles: circles16 } = gunn_diode_default;
3036
3022
  var gunn_diode_horz_default = defineSymbol({
3037
3023
  primitives: [
3038
3024
  ...Object.values(paths19),
3039
- ...Object.values(circles15),
3025
+ ...Object.values(circles16),
3040
3026
  { ...texts20.top1, anchor: "middle_left" },
3041
3027
  {
3042
3028
  type: "text",
@@ -3246,11 +3232,11 @@ var igbt_transistor_default = {
3246
3232
  };
3247
3233
 
3248
3234
  // symbols/igbt_transistor_horz.ts
3249
- var { paths: paths20, texts: texts22, bounds: bounds20, refblocks: refblocks20, circles: circles16 } = igbt_transistor_default;
3235
+ var { paths: paths20, texts: texts22, bounds: bounds20, refblocks: refblocks20, circles: circles17 } = igbt_transistor_default;
3250
3236
  var igbt_transistor_horz_default = defineSymbol({
3251
3237
  primitives: [
3252
3238
  ...Object.values(paths20),
3253
- ...Object.values(circles16),
3239
+ ...Object.values(circles17),
3254
3240
  {
3255
3241
  type: "text",
3256
3242
  text: "{REF}",
@@ -3293,6 +3279,269 @@ ref7.y += 0.065;
3293
3279
  val7.y += 0.065;
3294
3280
  var igbt_transistor_vert_default = rotated2;
3295
3281
 
3282
+ // assets/generated/illuminated_push_button_normally_open.json
3283
+ var illuminated_push_button_normally_open_default = {
3284
+ paths: {
3285
+ "path12-1-8-6-9": {
3286
+ type: "path",
3287
+ points: [
3288
+ {
3289
+ x: 0.023137150000000162,
3290
+ y: 0.024940499999996035
3291
+ },
3292
+ {
3293
+ x: 0.023137150000000162,
3294
+ y: 0.10494049999999788
3295
+ }
3296
+ ],
3297
+ color: "primary",
3298
+ fill: false
3299
+ },
3300
+ "path12-1-5-6": {
3301
+ type: "path",
3302
+ points: [
3303
+ {
3304
+ x: -0.48740694999999956,
3305
+ y: 0.18801149999999645
3306
+ },
3307
+ {
3308
+ x: -0.1731006500000003,
3309
+ y: 0.18801149999999645
3310
+ }
3311
+ ],
3312
+ color: "primary",
3313
+ fill: false
3314
+ },
3315
+ "path12-1-5-6-8": {
3316
+ type: "path",
3317
+ points: [
3318
+ {
3319
+ x: 0.023792949999999813,
3320
+ y: -0.1693045000000044
3321
+ },
3322
+ {
3323
+ x: 0.023792949999999813,
3324
+ y: -0.1026565000000037
3325
+ }
3326
+ ],
3327
+ color: "primary",
3328
+ fill: false
3329
+ },
3330
+ "path12-1-8-0": {
3331
+ type: "path",
3332
+ points: [
3333
+ {
3334
+ x: -0.14922445000000018,
3335
+ y: 0.035203499999997945
3336
+ },
3337
+ {
3338
+ x: 0.19549865000000022,
3339
+ y: 0.18762249999999803
3340
+ }
3341
+ ],
3342
+ color: "primary",
3343
+ fill: false
3344
+ },
3345
+ "path12-1-0": {
3346
+ type: "path",
3347
+ points: [
3348
+ {
3349
+ x: 0.19549885000000078,
3350
+ y: 0.18762249999999803
3351
+ },
3352
+ {
3353
+ x: 0.4881437499999999,
3354
+ y: 0.18762249999999803
3355
+ }
3356
+ ],
3357
+ color: "primary",
3358
+ fill: false
3359
+ },
3360
+ "path12-1-8-6-9-4": {
3361
+ type: "path",
3362
+ points: [
3363
+ {
3364
+ x: 0.023137150000000162,
3365
+ y: -0.11686550000000295
3366
+ },
3367
+ {
3368
+ x: 0.023137150000000162,
3369
+ y: -0.015065500000002174
3370
+ }
3371
+ ],
3372
+ color: "primary",
3373
+ fill: false
3374
+ },
3375
+ "path12-1-8-6-9-4-3": {
3376
+ type: "path",
3377
+ points: [
3378
+ {
3379
+ x: 0.08312335000000015,
3380
+ y: -0.10471550000000285
3381
+ },
3382
+ {
3383
+ x: 0.08312335000000015,
3384
+ y: -0.047931500000004235
3385
+ }
3386
+ ],
3387
+ color: "primary",
3388
+ fill: false
3389
+ },
3390
+ "path12-1-8-6-9-4-3-1": {
3391
+ type: "path",
3392
+ points: [
3393
+ {
3394
+ x: -0.03684904999999983,
3395
+ y: -0.10471550000000285
3396
+ },
3397
+ {
3398
+ x: -0.03684904999999983,
3399
+ y: -0.047931500000004235
3400
+ }
3401
+ ],
3402
+ color: "primary",
3403
+ fill: false
3404
+ },
3405
+ "path12-1-8-6-9-4-4": {
3406
+ type: "path",
3407
+ points: [
3408
+ {
3409
+ x: 0.08312335000000015,
3410
+ y: -0.10471550000000285
3411
+ },
3412
+ {
3413
+ x: -0.03684904999999983,
3414
+ y: -0.10471550000000285
3415
+ }
3416
+ ],
3417
+ color: "primary",
3418
+ fill: false
3419
+ },
3420
+ "path14-5": {
3421
+ type: "path",
3422
+ points: [
3423
+ {
3424
+ x: -0.011640198644880861,
3425
+ y: -0.2799169119921796
3426
+ },
3427
+ {
3428
+ x: 0.01182744133211866,
3429
+ y: -0.2516822395036833
3430
+ },
3431
+ {
3432
+ x: 0.035295081309120846,
3433
+ y: -0.22344756701517987
3434
+ },
3435
+ {
3436
+ x: 0.05876272128612037,
3437
+ y: -0.19521289452668178
3438
+ }
3439
+ ],
3440
+ color: "primary",
3441
+ fill: true
3442
+ },
3443
+ "path14-5-3": {
3444
+ type: "path",
3445
+ points: [
3446
+ {
3447
+ x: -0.011818241440559873,
3448
+ y: -0.1952224926985373
3449
+ },
3450
+ {
3451
+ x: 0.01171692178543804,
3452
+ y: -0.22339535480803718
3453
+ },
3454
+ {
3455
+ x: 0.03525208501144128,
3456
+ y: -0.2515682169175424
3457
+ },
3458
+ {
3459
+ x: 0.058787248237439194,
3460
+ y: -0.27974107902703693
3461
+ }
3462
+ ],
3463
+ color: "primary",
3464
+ fill: true
3465
+ }
3466
+ },
3467
+ texts: {
3468
+ top1: {
3469
+ type: "text",
3470
+ text: "{REF}",
3471
+ x: 0.010987250000000337,
3472
+ y: -0.37833950000000094
3473
+ },
3474
+ bottom1: {
3475
+ type: "text",
3476
+ text: "{VAL}",
3477
+ x: -0.1564439499999999,
3478
+ y: 0.3883394999999972
3479
+ }
3480
+ },
3481
+ refblocks: {
3482
+ left1: {
3483
+ x: -0.4717985499999999,
3484
+ y: 0.18798249999999506
3485
+ },
3486
+ right1: {
3487
+ x: 0.4717985499999999,
3488
+ y: 0.1880084999999987
3489
+ }
3490
+ },
3491
+ bounds: {
3492
+ minX: -0.4999569909999999,
3493
+ maxX: 0.4999569909999999,
3494
+ minY: -0.4783395000000009,
3495
+ maxY: 0.3883394999999972,
3496
+ width: 0.9999139819999998,
3497
+ height: 0.5166789999999981,
3498
+ centerX: 0,
3499
+ centerY: -0.04500000000000187
3500
+ },
3501
+ circles: {
3502
+ path9: {
3503
+ type: "circle",
3504
+ x: 0.02379285000000042,
3505
+ y: -0.23747350000000367,
3506
+ radius: 0.059920847,
3507
+ color: "primary",
3508
+ fill: false
3509
+ }
3510
+ }
3511
+ };
3512
+
3513
+ // symbols/illuminated_push_button_normally_open_horz.ts
3514
+ var { paths: paths21, texts: texts23, bounds: bounds21, refblocks: refblocks21, circles: circles18 } = illuminated_push_button_normally_open_default;
3515
+ var illuminated_push_button_normally_open_horz_default = defineSymbol({
3516
+ primitives: [
3517
+ ...Object.values(paths21),
3518
+ ...Object.values(circles18),
3519
+ { ...texts23.top1, anchor: "middle_right", x: 0, y: -0.4 },
3520
+ { ...texts23.bottom1, anchor: "middle_right", x: 0 }
3521
+ ],
3522
+ ports: [
3523
+ { ...refblocks21.left1, labels: ["1"] },
3524
+ // TODO add more "standard" labels
3525
+ { ...refblocks21.right1, labels: ["2"] }
3526
+ // TODO add more "standard" labels
3527
+ ],
3528
+ size: { width: bounds21.width, height: bounds21.height },
3529
+ center: { x: bounds21.centerX, y: bounds21.centerY }
3530
+ });
3531
+
3532
+ // symbols/illuminated_push_button_normally_open_vert.ts
3533
+ var rotatedSymbol10 = rotateSymbol(illuminated_push_button_normally_open_horz_default);
3534
+ var texts24 = rotatedSymbol10.primitives.filter((p) => p.type === "text");
3535
+ var val8 = texts24.find((t) => t.text === "{VAL}");
3536
+ val8.x = -0.35;
3537
+ val8.y = 0;
3538
+ val8.anchor = "middle_right";
3539
+ var ref8 = texts24.find((t) => t.text === "{REF}");
3540
+ ref8.y = 0;
3541
+ ref8.x = 0.35;
3542
+ ref8.anchor = "middle_left";
3543
+ var illuminated_push_button_normally_open_vert_default = rotatedSymbol10;
3544
+
3296
3545
  // assets/generated/inductor.json
3297
3546
  var inductor_default = {
3298
3547
  paths: {
@@ -4369,22 +4618,22 @@ var inductor_default = {
4369
4618
  };
4370
4619
 
4371
4620
  // symbols/inductor_horz.ts
4372
- var { paths: paths21, texts: texts23, bounds: bounds21, refblocks: refblocks21, circles: circles17 } = inductor_default;
4621
+ var { paths: paths22, texts: texts25, bounds: bounds22, refblocks: refblocks22, circles: circles19 } = inductor_default;
4373
4622
  var inductor_horz_default = defineSymbol({
4374
4623
  primitives: [
4375
- ...Object.values(paths21),
4376
- ...Object.values(circles17),
4377
- { ...texts23.top1, anchor: "middle_bottom" },
4378
- { ...texts23.bottom1, anchor: "middle_top" }
4624
+ ...Object.values(paths22),
4625
+ ...Object.values(circles19),
4626
+ { ...texts25.top1, anchor: "middle_bottom" },
4627
+ { ...texts25.bottom1, anchor: "middle_top" }
4379
4628
  ],
4380
4629
  ports: [
4381
- { ...refblocks21.left1, labels: ["1"] },
4630
+ { ...refblocks22.left1, labels: ["1"] },
4382
4631
  // TODO add more "standard" labels
4383
- { ...refblocks21.right1, labels: ["2"] }
4632
+ { ...refblocks22.right1, labels: ["2"] }
4384
4633
  // TODO add more "standard" labels
4385
4634
  ],
4386
- size: { width: bounds21.width, height: bounds21.height },
4387
- center: { x: bounds21.centerX, y: bounds21.centerY }
4635
+ size: { width: bounds22.width, height: bounds22.height },
4636
+ center: { x: bounds22.centerX, y: bounds22.centerY }
4388
4637
  });
4389
4638
 
4390
4639
  // symbols/inductor_vert.ts
@@ -4630,31 +4879,31 @@ var laser_diode_default = {
4630
4879
  };
4631
4880
 
4632
4881
  // symbols/laser_diode_horz.ts
4633
- var { paths: paths22, texts: texts24, bounds: bounds22, refblocks: refblocks22, circles: circles18 } = laser_diode_default;
4882
+ var { paths: paths23, texts: texts26, bounds: bounds23, refblocks: refblocks23, circles: circles20 } = laser_diode_default;
4634
4883
  var laser_diode_horz_default = defineSymbol({
4635
4884
  primitives: [
4636
- ...Object.values(paths22),
4637
- ...Object.values(circles18),
4638
- { ...texts24.top1, anchor: "middle_left" },
4639
- { ...texts24.bottom1, anchor: "middle_bottom" }
4885
+ ...Object.values(paths23),
4886
+ ...Object.values(circles20),
4887
+ { ...texts26.top1, anchor: "middle_left" },
4888
+ { ...texts26.bottom1, anchor: "middle_bottom" }
4640
4889
  ],
4641
4890
  ports: [
4642
- { ...refblocks22.left1, labels: ["1"] },
4891
+ { ...refblocks23.left1, labels: ["1"] },
4643
4892
  // TODO add more "standard" labels
4644
- { ...refblocks22.right1, labels: ["2"] }
4893
+ { ...refblocks23.right1, labels: ["2"] }
4645
4894
  // TODO add more "standard" labels
4646
4895
  ],
4647
- size: { width: bounds22.width, height: bounds22.height },
4648
- center: { x: bounds22.centerX, y: bounds22.centerY }
4896
+ size: { width: bounds23.width, height: bounds23.height },
4897
+ center: { x: bounds23.centerX, y: bounds23.centerY }
4649
4898
  });
4650
4899
 
4651
4900
  // symbols/laser_diode_vert.ts
4652
- var rotatedSymbol10 = rotateSymbol(laser_diode_horz_default);
4653
- var texts25 = rotatedSymbol10.primitives.filter((p) => p.type === "text");
4654
- var ref8 = texts25.find((t) => t.text === "{VAL}");
4655
- ref8.x = -0.52;
4656
- ref8.anchor = "middle_right";
4657
- var laser_diode_vert_default = rotatedSymbol10;
4901
+ var rotatedSymbol11 = rotateSymbol(laser_diode_horz_default);
4902
+ var texts27 = rotatedSymbol11.primitives.filter((p) => p.type === "text");
4903
+ var ref9 = texts27.find((t) => t.text === "{VAL}");
4904
+ ref9.x = -0.52;
4905
+ ref9.anchor = "middle_right";
4906
+ var laser_diode_vert_default = rotatedSymbol11;
4658
4907
 
4659
4908
  // assets/generated/led.json
4660
4909
  var led_default = {
@@ -4872,35 +5121,35 @@ var led_default = {
4872
5121
  };
4873
5122
 
4874
5123
  // symbols/led_horz.ts
4875
- var { paths: paths23, texts: texts26, bounds: bounds23, refblocks: refblocks23 } = led_default;
5124
+ var { paths: paths24, texts: texts28, bounds: bounds24, refblocks: refblocks24 } = led_default;
4876
5125
  var led_horz_default = defineSymbol({
4877
5126
  primitives: [
4878
- ...Object.values(paths23),
4879
- { ...texts26.bottom1, anchor: "middle_right" },
4880
- { ...texts26.right1, anchor: "middle_left" }
5127
+ ...Object.values(paths24),
5128
+ { ...texts28.bottom1, anchor: "middle_right" },
5129
+ { ...texts28.right1, anchor: "middle_left" }
4881
5130
  ],
4882
5131
  ports: [
4883
- { ...refblocks23.left1, labels: ["1", "anode", "pos"] },
4884
- { ...refblocks23.right1, labels: ["2", "cathode", "neg"] }
5132
+ { ...refblocks24.left1, labels: ["1", "anode", "pos"] },
5133
+ { ...refblocks24.right1, labels: ["2", "cathode", "neg"] }
4885
5134
  ],
4886
- size: { width: bounds23.width, height: bounds23.height },
4887
- center: { x: bounds23.centerX, y: bounds23.centerY + 0.1 }
5135
+ size: { width: bounds24.width, height: bounds24.height },
5136
+ center: { x: bounds24.centerX, y: bounds24.centerY + 0.1 }
4888
5137
  });
4889
5138
 
4890
5139
  // symbols/led_vert.ts
4891
5140
  var rotated3 = rotateSymbol(led_horz_default);
4892
- var ref9 = rotated3.primitives.find(
5141
+ var ref10 = rotated3.primitives.find(
4893
5142
  (p) => p.type === "text" && p.text === "{REF}"
4894
5143
  );
4895
- var val8 = rotated3.primitives.find(
5144
+ var val9 = rotated3.primitives.find(
4896
5145
  (p) => p.type === "text" && p.text === "{VAL}"
4897
5146
  );
4898
- ref9.anchor = "middle_left";
4899
- val8.anchor = "middle_right";
4900
- ref9.x += 0.1;
4901
- ref9.y += 0.017;
4902
- val8.y = ref9.y;
4903
- val8.x = -0.3;
5147
+ ref10.anchor = "middle_left";
5148
+ val9.anchor = "middle_right";
5149
+ ref10.x += 0.1;
5150
+ ref10.y += 0.017;
5151
+ val9.y = ref10.y;
5152
+ val9.x = -0.3;
4904
5153
  var led_vert_default = rotated3;
4905
5154
 
4906
5155
  // assets/generated/light_dependent_resistor.json
@@ -5128,36 +5377,36 @@ var light_dependent_resistor_default = {
5128
5377
  };
5129
5378
 
5130
5379
  // symbols/light_dependent_resistor_horz.ts
5131
- var { paths: paths24, texts: texts27, bounds: bounds24, refblocks: refblocks24, circles: circles19 } = light_dependent_resistor_default;
5380
+ var { paths: paths25, texts: texts29, bounds: bounds25, refblocks: refblocks25, circles: circles21 } = light_dependent_resistor_default;
5132
5381
  var light_dependent_resistor_horz_default = defineSymbol({
5133
5382
  primitives: [
5134
- ...Object.values(paths24),
5135
- ...Object.values(circles19),
5136
- { ...texts27.top1, anchor: "middle_left", x: 0 },
5137
- { ...texts27.bottom1, anchor: "middle_left", x: 0 }
5383
+ ...Object.values(paths25),
5384
+ ...Object.values(circles21),
5385
+ { ...texts29.top1, anchor: "middle_left", x: 0 },
5386
+ { ...texts29.bottom1, anchor: "middle_left", x: 0 }
5138
5387
  ],
5139
5388
  ports: [
5140
- { ...refblocks24.left1, labels: ["1"] },
5389
+ { ...refblocks25.left1, labels: ["1"] },
5141
5390
  // TODO add more "standard" labels
5142
- { ...refblocks24.right1, labels: ["2"] }
5391
+ { ...refblocks25.right1, labels: ["2"] }
5143
5392
  // TODO add more "standard" labels
5144
5393
  ],
5145
- size: { width: bounds24.width, height: bounds24.height },
5146
- center: { x: bounds24.centerX, y: bounds24.centerY }
5394
+ size: { width: bounds25.width, height: bounds25.height },
5395
+ center: { x: bounds25.centerX, y: bounds25.centerY }
5147
5396
  });
5148
5397
 
5149
5398
  // symbols/light_dependent_resistor_vert.ts
5150
- var rotatedSymbol11 = rotateSymbol(light_dependent_resistor_horz_default);
5151
- var texts28 = rotatedSymbol11.primitives.filter((p) => p.type === "text");
5152
- var val9 = texts28.find((t) => t.text === "{VAL}");
5153
- val9.x = -0.35;
5154
- val9.y = 0;
5155
- val9.anchor = "middle_right";
5156
- var ref10 = texts28.find((t) => t.text === "{REF}");
5157
- ref10.y = 0;
5158
- ref10.x = 0.35;
5159
- ref10.anchor = "middle_left";
5160
- var light_dependent_resistor_vert_default = rotatedSymbol11;
5399
+ var rotatedSymbol12 = rotateSymbol(light_dependent_resistor_horz_default);
5400
+ var texts30 = rotatedSymbol12.primitives.filter((p) => p.type === "text");
5401
+ var val10 = texts30.find((t) => t.text === "{VAL}");
5402
+ val10.x = -0.35;
5403
+ val10.y = 0;
5404
+ val10.anchor = "middle_right";
5405
+ var ref11 = texts30.find((t) => t.text === "{REF}");
5406
+ ref11.y = 0;
5407
+ ref11.x = 0.35;
5408
+ ref11.anchor = "middle_left";
5409
+ var light_dependent_resistor_vert_default = rotatedSymbol12;
5161
5410
 
5162
5411
  // assets/generated/mosfet_depletion_normally_on.json
5163
5412
  var mosfet_depletion_normally_on_default = {
@@ -5430,37 +5679,37 @@ var mosfet_depletion_normally_on_default = {
5430
5679
  };
5431
5680
 
5432
5681
  // symbols/mosfet_depletion_normally_on_horz.ts
5433
- var { paths: paths25, texts: texts29, bounds: bounds25, refblocks: refblocks25 } = mosfet_depletion_normally_on_default;
5682
+ var { paths: paths26, texts: texts31, bounds: bounds26, refblocks: refblocks26 } = mosfet_depletion_normally_on_default;
5434
5683
  var mosfet_depletion_normally_on_horz_default = defineSymbol({
5435
5684
  primitives: [
5436
- ...Object.values(paths25),
5437
- { ...texts29.right1, anchor: "middle_left" },
5438
- { ...texts29.right2, anchor: "middle_left" }
5685
+ ...Object.values(paths26),
5686
+ { ...texts31.right1, anchor: "middle_left" },
5687
+ { ...texts31.right2, anchor: "middle_left" }
5439
5688
  ],
5440
5689
  ports: [
5441
- { ...refblocks25.top1, labels: ["1"] },
5690
+ { ...refblocks26.top1, labels: ["1"] },
5442
5691
  // TODO add more "standard" labels
5443
- { ...refblocks25.bottom1, labels: ["2"] },
5692
+ { ...refblocks26.bottom1, labels: ["2"] },
5444
5693
  // TODO add more "standard" labels
5445
- { ...refblocks25.left1, labels: ["3"] }
5694
+ { ...refblocks26.left1, labels: ["3"] }
5446
5695
  // TODO add more "standard" labels
5447
5696
  ],
5448
- size: { width: bounds25.width + 0.4, height: bounds25.height },
5449
- center: { x: bounds25.centerX + 0.2, y: bounds25.centerY }
5697
+ size: { width: bounds26.width + 0.4, height: bounds26.height },
5698
+ center: { x: bounds26.centerX + 0.2, y: bounds26.centerY }
5450
5699
  });
5451
5700
 
5452
5701
  // symbols/mosfet_depletion_normally_on_vert.ts
5453
5702
  var rotated4 = rotateSymbol(mosfet_depletion_normally_on_horz_default);
5454
- var ref11 = rotated4.primitives.find(
5703
+ var ref12 = rotated4.primitives.find(
5455
5704
  (p) => p.type === "text" && p.text === "{REF}"
5456
5705
  );
5457
- var val10 = rotated4.primitives.find(
5706
+ var val11 = rotated4.primitives.find(
5458
5707
  (p) => p.type === "text" && p.text === "{VAL}"
5459
5708
  );
5460
- ref11.anchor = "middle_top";
5461
- val10.anchor = "middle_top";
5462
- ref11.x = val10.x;
5463
- val10.y += 0.15;
5709
+ ref12.anchor = "middle_top";
5710
+ val11.anchor = "middle_top";
5711
+ ref12.x = val11.x;
5712
+ val11.y += 0.15;
5464
5713
  var mosfet_depletion_normally_on_vert_default = rotated4;
5465
5714
 
5466
5715
  // assets/generated/mushroom_head_normally_open_momentary.json
@@ -6072,36 +6321,36 @@ var mushroom_head_normally_open_momentary_default = {
6072
6321
  };
6073
6322
 
6074
6323
  // symbols/mushroom_head_normally_open_momentary_horz.ts
6075
- var { paths: paths26, texts: texts30, bounds: bounds26, refblocks: refblocks26, circles: circles20 } = mushroom_head_normally_open_momentary_default;
6324
+ var { paths: paths27, texts: texts32, bounds: bounds27, refblocks: refblocks27, circles: circles22 } = mushroom_head_normally_open_momentary_default;
6076
6325
  var mushroom_head_normally_open_momentary_horz_default = defineSymbol({
6077
6326
  primitives: [
6078
- ...Object.values(paths26),
6079
- ...Object.values(circles20),
6080
- { ...texts30.top1, anchor: "middle_bottom", x: 0 },
6081
- { ...texts30.bottom1, anchor: "middle_top", x: 0 }
6327
+ ...Object.values(paths27),
6328
+ ...Object.values(circles22),
6329
+ { ...texts32.top1, anchor: "middle_bottom", x: 0 },
6330
+ { ...texts32.bottom1, anchor: "middle_top", x: 0 }
6082
6331
  ],
6083
6332
  ports: [
6084
- { ...refblocks26.left1, labels: ["1"] },
6085
- { ...refblocks26.right1, labels: ["2"] }
6333
+ { ...refblocks27.left1, labels: ["1"] },
6334
+ { ...refblocks27.right1, labels: ["2"] }
6086
6335
  ],
6087
- size: { width: bounds26.width, height: bounds26.height },
6088
- center: { x: bounds26.centerX + 6e-3, y: bounds26.centerY + 0.06 }
6336
+ size: { width: bounds27.width, height: bounds27.height },
6337
+ center: { x: bounds27.centerX + 6e-3, y: bounds27.centerY + 0.06 }
6089
6338
  });
6090
6339
 
6091
6340
  // symbols/mushroom_head_normally_open_momentary_vert.ts
6092
6341
  var rotated5 = rotateSymbol(mushroom_head_normally_open_momentary_horz_default);
6093
- var ref12 = rotated5.primitives.find(
6342
+ var ref13 = rotated5.primitives.find(
6094
6343
  (p) => p.type === "text" && p.text === "{REF}"
6095
6344
  );
6096
- var val11 = rotated5.primitives.find(
6345
+ var val12 = rotated5.primitives.find(
6097
6346
  (p) => p.type === "text" && p.text === "{VAL}"
6098
6347
  );
6099
- ref12.anchor = "middle_left";
6100
- val11.anchor = "middle_right";
6101
- ref12.x = ref12.x - 0.03;
6102
- ref12.y = ref12.y;
6103
- val11.x = val11.x;
6104
- val11.y = 0;
6348
+ ref13.anchor = "middle_left";
6349
+ val12.anchor = "middle_right";
6350
+ ref13.x = ref13.x - 0.03;
6351
+ ref13.y = ref13.y;
6352
+ val12.x = val12.x;
6353
+ val12.y = 0;
6105
6354
  var mushroom_head_normally_open_momentary_vert_default = rotated5;
6106
6355
 
6107
6356
  // assets/generated/n_channel_d_mosfet_transistor.json
@@ -6298,38 +6547,38 @@ var n_channel_d_mosfet_transistor_default = {
6298
6547
  };
6299
6548
 
6300
6549
  // symbols/n_channel_d_mosfet_transistor_horz.ts
6301
- var { paths: paths27, texts: texts31, bounds: bounds27, refblocks: refblocks27, circles: circles21 } = n_channel_d_mosfet_transistor_default;
6550
+ var { paths: paths28, texts: texts33, bounds: bounds28, refblocks: refblocks28, circles: circles23 } = n_channel_d_mosfet_transistor_default;
6302
6551
  var n_channel_d_mosfet_transistor_horz_default = defineSymbol({
6303
6552
  primitives: [
6304
- ...Object.values(paths27),
6305
- ...Object.values(circles21),
6306
- { ...texts31.top1, anchor: "middle_right", x: 0 },
6307
- { ...texts31.bottom1, anchor: "middle_right", x: 0 }
6553
+ ...Object.values(paths28),
6554
+ ...Object.values(circles23),
6555
+ { ...texts33.top1, anchor: "middle_right", x: 0 },
6556
+ { ...texts33.bottom1, anchor: "middle_right", x: 0 }
6308
6557
  ],
6309
6558
  ports: [
6310
- { ...refblocks27.top1, labels: ["1", "drain"] },
6559
+ { ...refblocks28.top1, labels: ["1", "drain"] },
6311
6560
  // TODO add more "standard" labels
6312
- { ...refblocks27.bottom1, labels: ["2", "source"] },
6561
+ { ...refblocks28.bottom1, labels: ["2", "source"] },
6313
6562
  // TODO add more "standard" labels
6314
- { ...refblocks27.left1, labels: ["3", "gate"] }
6563
+ { ...refblocks28.left1, labels: ["3", "gate"] }
6315
6564
  // TODO add more "standard" labels
6316
6565
  ],
6317
- size: { width: bounds27.width, height: bounds27.height },
6318
- center: { x: bounds27.centerX, y: bounds27.centerY }
6566
+ size: { width: bounds28.width, height: bounds28.height },
6567
+ center: { x: bounds28.centerX, y: bounds28.centerY }
6319
6568
  });
6320
6569
 
6321
6570
  // symbols/n_channel_d_mosfet_transistor_vert.ts
6322
- var rotatedSymbol12 = rotateSymbol(n_channel_d_mosfet_transistor_horz_default);
6323
- var texts32 = rotatedSymbol12.primitives.filter((p) => p.type === "text");
6324
- var val12 = texts32.find((t) => t.text === "{VAL}");
6325
- val12.x = -0.35;
6326
- val12.y = 0;
6327
- val12.anchor = "middle_right";
6328
- var ref13 = texts32.find((t) => t.text === "{REF}");
6329
- ref13.y = 0;
6330
- ref13.x = 0.35;
6331
- ref13.anchor = "middle_left";
6332
- var n_channel_d_mosfet_transistor_vert_default = rotatedSymbol12;
6571
+ var rotatedSymbol13 = rotateSymbol(n_channel_d_mosfet_transistor_horz_default);
6572
+ var texts34 = rotatedSymbol13.primitives.filter((p) => p.type === "text");
6573
+ var val13 = texts34.find((t) => t.text === "{VAL}");
6574
+ val13.x = -0.35;
6575
+ val13.y = 0;
6576
+ val13.anchor = "middle_right";
6577
+ var ref14 = texts34.find((t) => t.text === "{REF}");
6578
+ ref14.y = 0;
6579
+ ref14.x = 0.35;
6580
+ ref14.anchor = "middle_left";
6581
+ var n_channel_d_mosfet_transistor_vert_default = rotatedSymbol13;
6333
6582
 
6334
6583
  // assets/generated/n_channel_e_mosfet_transistor.json
6335
6584
  var n_channel_e_mosfet_transistor_default = {
@@ -6555,38 +6804,38 @@ var n_channel_e_mosfet_transistor_default = {
6555
6804
  };
6556
6805
 
6557
6806
  // symbols/n_channel_e_mosfet_transistor_horz.ts
6558
- var { paths: paths28, texts: texts33, bounds: bounds28, refblocks: refblocks28, circles: circles22 } = n_channel_e_mosfet_transistor_default;
6807
+ var { paths: paths29, texts: texts35, bounds: bounds29, refblocks: refblocks29, circles: circles24 } = n_channel_e_mosfet_transistor_default;
6559
6808
  var n_channel_e_mosfet_transistor_horz_default = defineSymbol({
6560
6809
  primitives: [
6561
- ...Object.values(paths28),
6562
- ...Object.values(circles22),
6563
- { ...texts33.top1, anchor: "middle_right", x: 0 },
6564
- { ...texts33.bottom1, anchor: "middle_right", x: 0 }
6810
+ ...Object.values(paths29),
6811
+ ...Object.values(circles24),
6812
+ { ...texts35.top1, anchor: "middle_right", x: 0 },
6813
+ { ...texts35.bottom1, anchor: "middle_right", x: 0 }
6565
6814
  ],
6566
6815
  ports: [
6567
- { ...refblocks28.top1, labels: ["1", "drain"] },
6816
+ { ...refblocks29.top1, labels: ["1", "drain"] },
6568
6817
  // TODO add more "standard" labels
6569
- { ...refblocks28.bottom1, labels: ["2", "source"] },
6818
+ { ...refblocks29.bottom1, labels: ["2", "source"] },
6570
6819
  // TODO add more "standard" labels
6571
- { ...refblocks28.left1, labels: ["3", "gate"] }
6820
+ { ...refblocks29.left1, labels: ["3", "gate"] }
6572
6821
  // TODO add more "standard" labels
6573
6822
  ],
6574
- size: { width: bounds28.width, height: bounds28.height },
6575
- center: { x: bounds28.centerX, y: bounds28.centerY }
6823
+ size: { width: bounds29.width, height: bounds29.height },
6824
+ center: { x: bounds29.centerX, y: bounds29.centerY }
6576
6825
  });
6577
6826
 
6578
6827
  // symbols/n_channel_e_mosfet_transistor_vert.ts
6579
- var rotatedSymbol13 = rotateSymbol(n_channel_e_mosfet_transistor_horz_default);
6580
- var texts34 = rotatedSymbol13.primitives.filter((p) => p.type === "text");
6581
- var val13 = texts34.find((t) => t.text === "{VAL}");
6582
- val13.x = -0.35;
6583
- val13.y = 0;
6584
- val13.anchor = "middle_right";
6585
- var ref14 = texts34.find((t) => t.text === "{REF}");
6586
- ref14.y = 0;
6587
- ref14.x = 0.35;
6588
- ref14.anchor = "middle_left";
6589
- var n_channel_e_mosfet_transistor_vert_default = rotatedSymbol13;
6828
+ var rotatedSymbol14 = rotateSymbol(n_channel_e_mosfet_transistor_horz_default);
6829
+ var texts36 = rotatedSymbol14.primitives.filter((p) => p.type === "text");
6830
+ var val14 = texts36.find((t) => t.text === "{VAL}");
6831
+ val14.x = -0.35;
6832
+ val14.y = 0;
6833
+ val14.anchor = "middle_right";
6834
+ var ref15 = texts36.find((t) => t.text === "{REF}");
6835
+ ref15.y = 0;
6836
+ ref15.x = 0.35;
6837
+ ref15.anchor = "middle_left";
6838
+ var n_channel_e_mosfet_transistor_vert_default = rotatedSymbol14;
6590
6839
 
6591
6840
  // assets/generated/njfet_transistor.json
6592
6841
  var njfet_transistor_default = {
@@ -6752,38 +7001,38 @@ var njfet_transistor_default = {
6752
7001
  };
6753
7002
 
6754
7003
  // symbols/njfet_transistor_horz.ts
6755
- var { paths: paths29, texts: texts35, bounds: bounds29, refblocks: refblocks29, circles: circles23 } = njfet_transistor_default;
7004
+ var { paths: paths30, texts: texts37, bounds: bounds30, refblocks: refblocks30, circles: circles25 } = njfet_transistor_default;
6756
7005
  var njfet_transistor_horz_default = defineSymbol({
6757
7006
  primitives: [
6758
- ...Object.values(paths29),
6759
- ...Object.values(circles23),
6760
- { ...texts35.top1, anchor: "middle_right", x: 0 },
6761
- { ...texts35.bottom1, anchor: "middle_right", x: 0 }
7007
+ ...Object.values(paths30),
7008
+ ...Object.values(circles25),
7009
+ { ...texts37.top1, anchor: "middle_right", x: 0 },
7010
+ { ...texts37.bottom1, anchor: "middle_right", x: 0 }
6762
7011
  ],
6763
7012
  ports: [
6764
- { ...refblocks29.top1, labels: ["1", "drain"] },
7013
+ { ...refblocks30.top1, labels: ["1", "drain"] },
6765
7014
  // TODO add more "standard" labels
6766
- { ...refblocks29.bottom1, labels: ["2", "source"] },
7015
+ { ...refblocks30.bottom1, labels: ["2", "source"] },
6767
7016
  // TODO add more "standard" labels
6768
- { ...refblocks29.left1, labels: ["3", "gate"] }
7017
+ { ...refblocks30.left1, labels: ["3", "gate"] }
6769
7018
  // TODO add more "standard" labels
6770
7019
  ],
6771
- size: { width: bounds29.width, height: bounds29.height },
6772
- center: { x: bounds29.centerX, y: bounds29.centerY }
7020
+ size: { width: bounds30.width, height: bounds30.height },
7021
+ center: { x: bounds30.centerX, y: bounds30.centerY }
6773
7022
  });
6774
7023
 
6775
7024
  // symbols/njfet_transistor_vert.ts
6776
- var rotatedSymbol14 = rotateSymbol(njfet_transistor_horz_default);
6777
- var texts36 = rotatedSymbol14.primitives.filter((p) => p.type === "text");
6778
- var val14 = texts36.find((t) => t.text === "{VAL}");
6779
- val14.x = -0.35;
6780
- val14.y = 0;
6781
- val14.anchor = "middle_right";
6782
- var ref15 = texts36.find((t) => t.text === "{REF}");
6783
- ref15.y = 0;
6784
- ref15.x = 0.35;
6785
- ref15.anchor = "middle_left";
6786
- var njfet_transistor_vert_default = rotatedSymbol14;
7025
+ var rotatedSymbol15 = rotateSymbol(njfet_transistor_horz_default);
7026
+ var texts38 = rotatedSymbol15.primitives.filter((p) => p.type === "text");
7027
+ var val15 = texts38.find((t) => t.text === "{VAL}");
7028
+ val15.x = -0.35;
7029
+ val15.y = 0;
7030
+ val15.anchor = "middle_right";
7031
+ var ref16 = texts38.find((t) => t.text === "{REF}");
7032
+ ref16.y = 0;
7033
+ ref16.x = 0.35;
7034
+ ref16.anchor = "middle_left";
7035
+ var njfet_transistor_vert_default = rotatedSymbol15;
6787
7036
 
6788
7037
  // assets/generated/npn_bipolar_transistor.json
6789
7038
  var npn_bipolar_transistor_default = {
@@ -6949,11 +7198,11 @@ var npn_bipolar_transistor_default = {
6949
7198
  };
6950
7199
 
6951
7200
  // symbols/npn_bipolar_transistor_horz.ts
6952
- var { paths: paths30, texts: texts37, bounds: bounds30, refblocks: refblocks30, circles: circles24 } = npn_bipolar_transistor_default;
7201
+ var { paths: paths31, texts: texts39, bounds: bounds31, refblocks: refblocks31, circles: circles26 } = npn_bipolar_transistor_default;
6953
7202
  var npn_bipolar_transistor_horz_default = defineSymbol({
6954
7203
  primitives: [
6955
- ...Object.values(paths30),
6956
- ...Object.values(circles24),
7204
+ ...Object.values(paths31),
7205
+ ...Object.values(circles26),
6957
7206
  {
6958
7207
  type: "text",
6959
7208
  text: "{REF}",
@@ -6970,20 +7219,20 @@ var npn_bipolar_transistor_horz_default = defineSymbol({
6970
7219
  }
6971
7220
  ],
6972
7221
  ports: [
6973
- { ...refblocks30.top1, labels: ["1", "collector"] },
6974
- { ...refblocks30.bottom1, labels: ["2", "emitter"] },
6975
- { ...refblocks30.left1, labels: ["3", "base"] }
7222
+ { ...refblocks31.top1, labels: ["1", "collector"] },
7223
+ { ...refblocks31.bottom1, labels: ["2", "emitter"] },
7224
+ { ...refblocks31.left1, labels: ["3", "base"] }
6976
7225
  ],
6977
- size: { width: bounds30.width, height: bounds30.height },
6978
- center: { x: bounds30.centerX, y: bounds30.centerY }
7226
+ size: { width: bounds31.width, height: bounds31.height },
7227
+ center: { x: bounds31.centerX, y: bounds31.centerY }
6979
7228
  });
6980
7229
 
6981
7230
  // symbols/npn_bipolar_transistor_vert.ts
6982
- var rotatedSymbol15 = rotateSymbol(npn_bipolar_transistor_horz_default);
6983
- var texts38 = rotatedSymbol15.primitives.filter((p) => p.type === "text");
6984
- var ref16 = texts38.find((t) => t.text === "{REF}");
6985
- ref16.anchor = "middle_left";
6986
- var npn_bipolar_transistor_vert_default = rotatedSymbol15;
7231
+ var rotatedSymbol16 = rotateSymbol(npn_bipolar_transistor_horz_default);
7232
+ var texts40 = rotatedSymbol16.primitives.filter((p) => p.type === "text");
7233
+ var ref17 = texts40.find((t) => t.text === "{REF}");
7234
+ ref17.anchor = "middle_left";
7235
+ var npn_bipolar_transistor_vert_default = rotatedSymbol16;
6987
7236
 
6988
7237
  // assets/generated/p_channel_d_mosfet_transistor.json
6989
7238
  var p_channel_d_mosfet_transistor_default = {
@@ -7179,38 +7428,38 @@ var p_channel_d_mosfet_transistor_default = {
7179
7428
  };
7180
7429
 
7181
7430
  // symbols/p_channel_d_mosfet_transistor_horz.ts
7182
- var { paths: paths31, texts: texts39, bounds: bounds31, refblocks: refblocks31, circles: circles25 } = p_channel_d_mosfet_transistor_default;
7431
+ var { paths: paths32, texts: texts41, bounds: bounds32, refblocks: refblocks32, circles: circles27 } = p_channel_d_mosfet_transistor_default;
7183
7432
  var p_channel_d_mosfet_transistor_horz_default = defineSymbol({
7184
7433
  primitives: [
7185
- ...Object.values(paths31),
7186
- ...Object.values(circles25),
7187
- { ...texts39.top1, anchor: "middle_right", x: 0 },
7188
- { ...texts39.bottom1, anchor: "middle_right", x: 0 }
7434
+ ...Object.values(paths32),
7435
+ ...Object.values(circles27),
7436
+ { ...texts41.top1, anchor: "middle_right", x: 0 },
7437
+ { ...texts41.bottom1, anchor: "middle_right", x: 0 }
7189
7438
  ],
7190
7439
  ports: [
7191
- { ...refblocks31.top1, labels: ["1", "drain"] },
7440
+ { ...refblocks32.top1, labels: ["1", "drain"] },
7192
7441
  // TODO add more "standard" labels
7193
- { ...refblocks31.bottom1, labels: ["2", "source"] },
7442
+ { ...refblocks32.bottom1, labels: ["2", "source"] },
7194
7443
  // TODO add more "standard" labels
7195
- { ...refblocks31.left1, labels: ["3", "gate"] }
7444
+ { ...refblocks32.left1, labels: ["3", "gate"] }
7196
7445
  // TODO add more "standard" labels
7197
7446
  ],
7198
- size: { width: bounds31.width, height: bounds31.height },
7199
- center: { x: bounds31.centerX, y: bounds31.centerY }
7447
+ size: { width: bounds32.width, height: bounds32.height },
7448
+ center: { x: bounds32.centerX, y: bounds32.centerY }
7200
7449
  });
7201
7450
 
7202
7451
  // symbols/p_channel_d_mosfet_transistor_vert.ts
7203
- var rotatedSymbol16 = rotateSymbol(p_channel_d_mosfet_transistor_horz_default);
7204
- var texts40 = rotatedSymbol16.primitives.filter((p) => p.type === "text");
7205
- var val15 = texts40.find((t) => t.text === "{VAL}");
7206
- val15.x = -0.35;
7207
- val15.y = 0;
7208
- val15.anchor = "middle_right";
7209
- var ref17 = texts40.find((t) => t.text === "{REF}");
7210
- ref17.y = 0;
7211
- ref17.x = 0.35;
7212
- ref17.anchor = "middle_left";
7213
- var p_channel_d_mosfet_transistor_vert_default = rotatedSymbol16;
7452
+ var rotatedSymbol17 = rotateSymbol(p_channel_d_mosfet_transistor_horz_default);
7453
+ var texts42 = rotatedSymbol17.primitives.filter((p) => p.type === "text");
7454
+ var val16 = texts42.find((t) => t.text === "{VAL}");
7455
+ val16.x = -0.35;
7456
+ val16.y = 0;
7457
+ val16.anchor = "middle_right";
7458
+ var ref18 = texts42.find((t) => t.text === "{REF}");
7459
+ ref18.y = 0;
7460
+ ref18.x = 0.35;
7461
+ ref18.anchor = "middle_left";
7462
+ var p_channel_d_mosfet_transistor_vert_default = rotatedSymbol17;
7214
7463
 
7215
7464
  // assets/generated/p_channel_e_mosfet_transistor.json
7216
7465
  var p_channel_e_mosfet_transistor_default = {
@@ -7436,38 +7685,38 @@ var p_channel_e_mosfet_transistor_default = {
7436
7685
  };
7437
7686
 
7438
7687
  // symbols/p_channel_e_mosfet_transistor_horz.ts
7439
- var { paths: paths32, texts: texts41, bounds: bounds32, refblocks: refblocks32, circles: circles26 } = p_channel_e_mosfet_transistor_default;
7688
+ var { paths: paths33, texts: texts43, bounds: bounds33, refblocks: refblocks33, circles: circles28 } = p_channel_e_mosfet_transistor_default;
7440
7689
  var p_channel_e_mosfet_transistor_horz_default = defineSymbol({
7441
7690
  primitives: [
7442
- ...Object.values(paths32),
7443
- ...Object.values(circles26),
7444
- { ...texts41.top1, anchor: "middle_right", x: 0 },
7445
- { ...texts41.bottom1, anchor: "middle_right", x: 0 }
7691
+ ...Object.values(paths33),
7692
+ ...Object.values(circles28),
7693
+ { ...texts43.top1, anchor: "middle_right", x: 0 },
7694
+ { ...texts43.bottom1, anchor: "middle_right", x: 0 }
7446
7695
  ],
7447
7696
  ports: [
7448
- { ...refblocks32.top1, labels: ["1", "drain"] },
7697
+ { ...refblocks33.top1, labels: ["1", "drain"] },
7449
7698
  // TODO add more "standard" labels
7450
- { ...refblocks32.bottom1, labels: ["2", "source"] },
7699
+ { ...refblocks33.bottom1, labels: ["2", "source"] },
7451
7700
  // TODO add more "standard" labels
7452
- { ...refblocks32.left1, labels: ["3", "gate"] }
7701
+ { ...refblocks33.left1, labels: ["3", "gate"] }
7453
7702
  // TODO add more "standard" labels
7454
7703
  ],
7455
- size: { width: bounds32.width, height: bounds32.height },
7456
- center: { x: bounds32.centerX, y: bounds32.centerY }
7704
+ size: { width: bounds33.width, height: bounds33.height },
7705
+ center: { x: bounds33.centerX, y: bounds33.centerY }
7457
7706
  });
7458
7707
 
7459
7708
  // symbols/p_channel_e_mosfet_transistor_vert.ts
7460
- var rotatedSymbol17 = rotateSymbol(p_channel_e_mosfet_transistor_horz_default);
7461
- var texts42 = rotatedSymbol17.primitives.filter((p) => p.type === "text");
7462
- var val16 = texts42.find((t) => t.text === "{VAL}");
7463
- val16.x = -0.35;
7464
- val16.y = 0;
7465
- val16.anchor = "middle_right";
7466
- var ref18 = texts42.find((t) => t.text === "{REF}");
7467
- ref18.y = 0;
7468
- ref18.x = 0.35;
7469
- ref18.anchor = "middle_left";
7470
- var p_channel_e_mosfet_transistor_vert_default = rotatedSymbol17;
7709
+ var rotatedSymbol18 = rotateSymbol(p_channel_e_mosfet_transistor_horz_default);
7710
+ var texts44 = rotatedSymbol18.primitives.filter((p) => p.type === "text");
7711
+ var val17 = texts44.find((t) => t.text === "{VAL}");
7712
+ val17.x = -0.35;
7713
+ val17.y = 0;
7714
+ val17.anchor = "middle_right";
7715
+ var ref19 = texts44.find((t) => t.text === "{REF}");
7716
+ ref19.y = 0;
7717
+ ref19.x = 0.35;
7718
+ ref19.anchor = "middle_left";
7719
+ var p_channel_e_mosfet_transistor_vert_default = rotatedSymbol18;
7471
7720
 
7472
7721
  // assets/generated/photodiode.json
7473
7722
  var photodiode_default = {
@@ -7694,11 +7943,11 @@ var photodiode_default = {
7694
7943
  };
7695
7944
 
7696
7945
  // symbols/photodiode_horz.ts
7697
- var { paths: paths33, texts: texts43, bounds: bounds33, refblocks: refblocks33, circles: circles27 } = photodiode_default;
7946
+ var { paths: paths34, texts: texts45, bounds: bounds34, refblocks: refblocks34, circles: circles29 } = photodiode_default;
7698
7947
  var photodiode_horz_default = defineSymbol({
7699
7948
  primitives: [
7700
- ...Object.values(paths33),
7701
- ...Object.values(circles27),
7949
+ ...Object.values(paths34),
7950
+ ...Object.values(circles29),
7702
7951
  {
7703
7952
  type: "text",
7704
7953
  text: "{REF}",
@@ -7715,22 +7964,22 @@ var photodiode_horz_default = defineSymbol({
7715
7964
  }
7716
7965
  ],
7717
7966
  ports: [
7718
- { ...refblocks33.left1, labels: ["1"] },
7967
+ { ...refblocks34.left1, labels: ["1"] },
7719
7968
  // TODO add more "standard" labels
7720
- { ...refblocks33.right1, labels: ["2"] }
7969
+ { ...refblocks34.right1, labels: ["2"] }
7721
7970
  // TODO add more "standard" labels
7722
7971
  ],
7723
- size: { width: bounds33.width, height: bounds33.height },
7724
- center: { x: bounds33.centerX, y: bounds33.centerY }
7972
+ size: { width: bounds34.width, height: bounds34.height },
7973
+ center: { x: bounds34.centerX, y: bounds34.centerY }
7725
7974
  });
7726
7975
 
7727
7976
  // symbols/photodiode_vert.ts
7728
- var rotatedSymbol18 = rotateSymbol(photodiode_horz_default);
7729
- var texts44 = rotatedSymbol18.primitives.filter((p) => p.type === "text");
7730
- var ref19 = texts44.find((t) => t.text === "{REF}");
7731
- ref19.y = 0;
7732
- ref19.anchor = "middle_left";
7733
- var photodiode_vert_default = rotatedSymbol18;
7977
+ var rotatedSymbol19 = rotateSymbol(photodiode_horz_default);
7978
+ var texts46 = rotatedSymbol19.primitives.filter((p) => p.type === "text");
7979
+ var ref20 = texts46.find((t) => t.text === "{REF}");
7980
+ ref20.y = 0;
7981
+ ref20.anchor = "middle_left";
7982
+ var photodiode_vert_default = rotatedSymbol19;
7734
7983
 
7735
7984
  // assets/generated/pjfet_transistor.json
7736
7985
  var pjfet_transistor_default = {
@@ -7896,38 +8145,38 @@ var pjfet_transistor_default = {
7896
8145
  };
7897
8146
 
7898
8147
  // symbols/pjfet_transistor_horz.ts
7899
- var { paths: paths34, texts: texts45, bounds: bounds34, refblocks: refblocks34, circles: circles28 } = pjfet_transistor_default;
8148
+ var { paths: paths35, texts: texts47, bounds: bounds35, refblocks: refblocks35, circles: circles30 } = pjfet_transistor_default;
7900
8149
  var pjfet_transistor_horz_default = defineSymbol({
7901
8150
  primitives: [
7902
- ...Object.values(paths34),
7903
- ...Object.values(circles28),
7904
- { ...texts45.top1, anchor: "middle_right", x: 0 },
7905
- { ...texts45.bottom1, anchor: "middle_right" }
8151
+ ...Object.values(paths35),
8152
+ ...Object.values(circles30),
8153
+ { ...texts47.top1, anchor: "middle_right", x: 0 },
8154
+ { ...texts47.bottom1, anchor: "middle_right" }
7906
8155
  ],
7907
8156
  ports: [
7908
- { ...refblocks34.top1, labels: ["1", "drain"] },
8157
+ { ...refblocks35.top1, labels: ["1", "drain"] },
7909
8158
  // TODO add more "standard" labels
7910
- { ...refblocks34.bottom1, labels: ["2", "source"] },
8159
+ { ...refblocks35.bottom1, labels: ["2", "source"] },
7911
8160
  // TODO add more "standard" labels
7912
- { ...refblocks34.left1, labels: ["3", "gate"] }
8161
+ { ...refblocks35.left1, labels: ["3", "gate"] }
7913
8162
  // TODO add more "standard" labels
7914
8163
  ],
7915
- size: { width: bounds34.width, height: bounds34.height },
7916
- center: { x: bounds34.centerX, y: bounds34.centerY }
8164
+ size: { width: bounds35.width, height: bounds35.height },
8165
+ center: { x: bounds35.centerX, y: bounds35.centerY }
7917
8166
  });
7918
8167
 
7919
8168
  // symbols/pjfet_transistor_vert.ts
7920
- var rotatedSymbol19 = rotateSymbol(pjfet_transistor_horz_default);
7921
- var texts46 = rotatedSymbol19.primitives.filter((p) => p.type === "text");
7922
- var val17 = texts46.find((t) => t.text === "{VAL}");
7923
- val17.x = -0.35;
7924
- val17.y = 0;
7925
- val17.anchor = "middle_right";
7926
- var ref20 = texts46.find((t) => t.text === "{REF}");
7927
- ref20.y = 0;
7928
- ref20.x = 0.35;
7929
- ref20.anchor = "middle_left";
7930
- var pjfet_transistor_vert_default = rotatedSymbol19;
8169
+ var rotatedSymbol20 = rotateSymbol(pjfet_transistor_horz_default);
8170
+ var texts48 = rotatedSymbol20.primitives.filter((p) => p.type === "text");
8171
+ var val18 = texts48.find((t) => t.text === "{VAL}");
8172
+ val18.x = -0.35;
8173
+ val18.y = 0;
8174
+ val18.anchor = "middle_right";
8175
+ var ref21 = texts48.find((t) => t.text === "{REF}");
8176
+ ref21.y = 0;
8177
+ ref21.x = 0.35;
8178
+ ref21.anchor = "middle_left";
8179
+ var pjfet_transistor_vert_default = rotatedSymbol20;
7931
8180
 
7932
8181
  // assets/generated/pnp_bipolar_transistor.json
7933
8182
  var pnp_bipolar_transistor_default = {
@@ -8093,11 +8342,11 @@ var pnp_bipolar_transistor_default = {
8093
8342
  };
8094
8343
 
8095
8344
  // symbols/pnp_bipolar_transistor_horz.ts
8096
- var { paths: paths35, texts: texts47, bounds: bounds35, refblocks: refblocks35, circles: circles29 } = pnp_bipolar_transistor_default;
8345
+ var { paths: paths36, texts: texts49, bounds: bounds36, refblocks: refblocks36, circles: circles31 } = pnp_bipolar_transistor_default;
8097
8346
  var pnp_bipolar_transistor_horz_default = defineSymbol({
8098
8347
  primitives: [
8099
- ...Object.values(paths35),
8100
- ...Object.values(circles29),
8348
+ ...Object.values(paths36),
8349
+ ...Object.values(circles31),
8101
8350
  {
8102
8351
  type: "text",
8103
8352
  text: "{REF}",
@@ -8114,20 +8363,20 @@ var pnp_bipolar_transistor_horz_default = defineSymbol({
8114
8363
  }
8115
8364
  ],
8116
8365
  ports: [
8117
- { ...refblocks35.top1, labels: ["1", "collector"] },
8118
- { ...refblocks35.bottom1, labels: ["2", "emitter"] },
8119
- { ...refblocks35.left1, labels: ["3", "base"] }
8366
+ { ...refblocks36.top1, labels: ["1", "collector"] },
8367
+ { ...refblocks36.bottom1, labels: ["2", "emitter"] },
8368
+ { ...refblocks36.left1, labels: ["3", "base"] }
8120
8369
  ],
8121
- size: { width: bounds35.width, height: bounds35.height },
8122
- center: { x: bounds35.centerX, y: bounds35.centerY }
8370
+ size: { width: bounds36.width, height: bounds36.height },
8371
+ center: { x: bounds36.centerX, y: bounds36.centerY }
8123
8372
  });
8124
8373
 
8125
8374
  // symbols/pnp_bipolar_transistor_vert.ts
8126
- var rotatedSymbol20 = rotateSymbol(pnp_bipolar_transistor_horz_default);
8127
- var texts48 = rotatedSymbol20.primitives.filter((p) => p.type === "text");
8128
- var ref21 = texts48.find((t) => t.text === "{REF}");
8129
- ref21.anchor = "middle_left";
8130
- var pnp_bipolar_transistor_vert_default = rotatedSymbol20;
8375
+ var rotatedSymbol21 = rotateSymbol(pnp_bipolar_transistor_horz_default);
8376
+ var texts50 = rotatedSymbol21.primitives.filter((p) => p.type === "text");
8377
+ var ref22 = texts50.find((t) => t.text === "{REF}");
8378
+ ref22.anchor = "middle_left";
8379
+ var pnp_bipolar_transistor_vert_default = rotatedSymbol21;
8131
8380
 
8132
8381
  // assets/generated/potentiometer.json
8133
8382
  var potentiometer_default = {
@@ -8244,21 +8493,21 @@ var potentiometer_default = {
8244
8493
  };
8245
8494
 
8246
8495
  // symbols/potentiometer_horz.ts
8247
- var { paths: paths36, texts: texts49, bounds: bounds36, refblocks: refblocks36 } = potentiometer_default;
8496
+ var { paths: paths37, texts: texts51, bounds: bounds37, refblocks: refblocks37 } = potentiometer_default;
8248
8497
  var potentiometer_horz_default = defineSymbol({
8249
8498
  primitives: [
8250
- ...Object.values(paths36),
8251
- { ...texts49.bottom1, y: 0.35, anchor: "middle_top" },
8252
- { ...texts49.top1, anchor: "middle_left" }
8499
+ ...Object.values(paths37),
8500
+ { ...texts51.bottom1, y: 0.35, anchor: "middle_top" },
8501
+ { ...texts51.top1, anchor: "middle_left" }
8253
8502
  ],
8254
8503
  ports: [
8255
- { ...refblocks36.left1, labels: ["1"] },
8504
+ { ...refblocks37.left1, labels: ["1"] },
8256
8505
  // TODO add more "standard" labels
8257
- { ...refblocks36.right1, labels: ["2"] }
8506
+ { ...refblocks37.right1, labels: ["2"] }
8258
8507
  // TODO add more "standard" labels
8259
8508
  ],
8260
- size: { width: bounds36.width + 0.05, height: bounds36.height },
8261
- center: { x: bounds36.centerX, y: bounds36.centerY }
8509
+ size: { width: bounds37.width + 0.05, height: bounds37.height },
8510
+ center: { x: bounds37.centerX, y: bounds37.centerY }
8262
8511
  });
8263
8512
 
8264
8513
  // symbols/potentiometer_vert.ts
@@ -8421,21 +8670,21 @@ var potentiometer2_default = {
8421
8670
  };
8422
8671
 
8423
8672
  // symbols/potentiometer2_horz.ts
8424
- var { paths: paths37, texts: texts50, bounds: bounds37, refblocks: refblocks37 } = potentiometer2_default;
8673
+ var { paths: paths38, texts: texts52, bounds: bounds38, refblocks: refblocks38 } = potentiometer2_default;
8425
8674
  var potentiometer2_horz_default = defineSymbol({
8426
8675
  primitives: [
8427
- ...Object.values(paths37),
8428
- { ...texts50.bottom1, anchor: "middle_right" },
8429
- { ...texts50.top1, anchor: "middle_left" }
8676
+ ...Object.values(paths38),
8677
+ { ...texts52.bottom1, anchor: "middle_right" },
8678
+ { ...texts52.top1, anchor: "middle_left" }
8430
8679
  ],
8431
8680
  ports: [
8432
- { ...refblocks37.left1, labels: ["1"] },
8681
+ { ...refblocks38.left1, labels: ["1"] },
8433
8682
  // TODO add more "standard" labels
8434
- { ...refblocks37.right1, labels: ["2"] }
8683
+ { ...refblocks38.right1, labels: ["2"] }
8435
8684
  // TODO add more "standard" labels
8436
8685
  ],
8437
- size: { width: bounds37.width, height: bounds37.height },
8438
- center: { x: bounds37.centerX, y: bounds37.centerY }
8686
+ size: { width: bounds38.width, height: bounds38.height },
8687
+ center: { x: bounds38.centerX, y: bounds38.centerY }
8439
8688
  });
8440
8689
 
8441
8690
  // symbols/potentiometer2_vert.ts
@@ -8528,11 +8777,11 @@ var power_factor_meter_default = {
8528
8777
  };
8529
8778
 
8530
8779
  // symbols/power_factor_meter_horz.ts
8531
- var { paths: paths38, texts: texts51, bounds: bounds38, refblocks: refblocks38, circles: circles30 } = power_factor_meter_default;
8780
+ var { paths: paths39, texts: texts53, bounds: bounds39, refblocks: refblocks39, circles: circles32 } = power_factor_meter_default;
8532
8781
  var power_factor_meter_horz_default = defineSymbol({
8533
8782
  primitives: [
8534
- ...Object.values(paths38),
8535
- ...Object.values(circles30),
8783
+ ...Object.values(paths39),
8784
+ ...Object.values(circles32),
8536
8785
  // { ...texts.top1, anchor: "middle_left" },
8537
8786
  {
8538
8787
  type: "text",
@@ -8559,28 +8808,28 @@ var power_factor_meter_horz_default = defineSymbol({
8559
8808
  }
8560
8809
  ],
8561
8810
  ports: [
8562
- { ...refblocks38.left1, labels: ["1"] },
8811
+ { ...refblocks39.left1, labels: ["1"] },
8563
8812
  // TODO add more "standard" labels
8564
- { ...refblocks38.right1, labels: ["2"] }
8813
+ { ...refblocks39.right1, labels: ["2"] }
8565
8814
  // TODO add more "standard" labels
8566
8815
  ],
8567
- size: { width: bounds38.width, height: bounds38.height },
8568
- center: { x: bounds38.centerX, y: bounds38.centerY }
8816
+ size: { width: bounds39.width, height: bounds39.height },
8817
+ center: { x: bounds39.centerX, y: bounds39.centerY }
8569
8818
  });
8570
8819
 
8571
8820
  // symbols/power_factor_meter_vert.ts
8572
- var rotatedSymbol21 = rotateSymbol(power_factor_meter_horz_default);
8573
- var texts52 = rotatedSymbol21.primitives.filter((p) => p.type === "text");
8574
- var ref22 = texts52.find((t) => t.text === "{REF}");
8575
- var val18 = texts52.find((t) => t.text === "{VAL}");
8576
- var text_cos = texts52.find((t) => t.text === "COS \u03C6");
8577
- ref22.x = 0.35;
8578
- ref22.y = 0;
8579
- val18.x = -0.6;
8580
- val18.y = 0;
8821
+ var rotatedSymbol22 = rotateSymbol(power_factor_meter_horz_default);
8822
+ var texts54 = rotatedSymbol22.primitives.filter((p) => p.type === "text");
8823
+ var ref23 = texts54.find((t) => t.text === "{REF}");
8824
+ var val19 = texts54.find((t) => t.text === "{VAL}");
8825
+ var text_cos = texts54.find((t) => t.text === "COS \u03C6");
8826
+ ref23.x = 0.35;
8827
+ ref23.y = 0;
8828
+ val19.x = -0.6;
8829
+ val19.y = 0;
8581
8830
  text_cos.x = -0.1;
8582
8831
  text_cos.y = 0;
8583
- var power_factor_meter_vert_default = rotatedSymbol21;
8832
+ var power_factor_meter_vert_default = rotatedSymbol22;
8584
8833
 
8585
8834
  // assets/generated/push_button_normally_closed_momentary.json
8586
8835
  var push_button_normally_closed_momentary_default = {
@@ -8684,37 +8933,37 @@ var push_button_normally_closed_momentary_default = {
8684
8933
  };
8685
8934
 
8686
8935
  // symbols/push_button_normally_closed_momentary_horz.ts
8687
- var { paths: paths39, texts: texts53, bounds: bounds39, refblocks: refblocks39 } = push_button_normally_closed_momentary_default;
8936
+ var { paths: paths40, texts: texts55, bounds: bounds40, refblocks: refblocks40 } = push_button_normally_closed_momentary_default;
8688
8937
  var push_button_normally_closed_momentary_horz_default = defineSymbol({
8689
8938
  primitives: [
8690
- ...Object.values(paths39),
8691
- { ...texts53.top1, anchor: "middle_bottom" },
8692
- { ...texts53.bottom1, anchor: "middle_top" }
8939
+ ...Object.values(paths40),
8940
+ { ...texts55.top1, anchor: "middle_bottom" },
8941
+ { ...texts55.bottom1, anchor: "middle_top" }
8693
8942
  ],
8694
8943
  ports: [
8695
- { ...refblocks39.left1, labels: ["1"] },
8944
+ { ...refblocks40.left1, labels: ["1"] },
8696
8945
  // TODO add more "standard" labels
8697
- { ...refblocks39.right1, labels: ["2"] }
8946
+ { ...refblocks40.right1, labels: ["2"] }
8698
8947
  // TODO add more "standard" labels
8699
8948
  ],
8700
- size: { width: bounds39.width, height: bounds39.height },
8701
- center: { x: bounds39.centerX, y: bounds39.centerY }
8949
+ size: { width: bounds40.width, height: bounds40.height },
8950
+ center: { x: bounds40.centerX, y: bounds40.centerY }
8702
8951
  });
8703
8952
 
8704
8953
  // symbols/push_button_normally_closed_momentary_vert.ts
8705
8954
  var rotated7 = rotateSymbol(push_button_normally_closed_momentary_horz_default);
8706
- var ref23 = rotated7.primitives.find(
8955
+ var ref24 = rotated7.primitives.find(
8707
8956
  (p) => p.type === "text" && p.text === "{REF}"
8708
8957
  );
8709
- var val19 = rotated7.primitives.find(
8958
+ var val20 = rotated7.primitives.find(
8710
8959
  (p) => p.type === "text" && p.text === "{VAL}"
8711
8960
  );
8712
- ref23.anchor = "middle_left";
8713
- val19.anchor = "middle_right";
8714
- ref23.x = ref23.x - 0.03;
8715
- ref23.y = ref23.y;
8716
- val19.x = val19.x;
8717
- val19.y = 0;
8961
+ ref24.anchor = "middle_left";
8962
+ val20.anchor = "middle_right";
8963
+ ref24.x = ref24.x - 0.03;
8964
+ ref24.y = ref24.y;
8965
+ val20.x = val20.x;
8966
+ val20.y = 0;
8718
8967
  var push_button_normally_closed_momentary_vert_default = rotated7;
8719
8968
 
8720
8969
  // assets/generated/push_button_normally_open_momentary.json
@@ -8819,37 +9068,37 @@ var push_button_normally_open_momentary_default = {
8819
9068
  };
8820
9069
 
8821
9070
  // symbols/push_button_normally_open_momentary_horz.ts
8822
- var { paths: paths40, texts: texts54, bounds: bounds40, refblocks: refblocks40 } = push_button_normally_open_momentary_default;
9071
+ var { paths: paths41, texts: texts56, bounds: bounds41, refblocks: refblocks41 } = push_button_normally_open_momentary_default;
8823
9072
  var push_button_normally_open_momentary_horz_default = defineSymbol({
8824
9073
  primitives: [
8825
- ...Object.values(paths40),
8826
- { ...texts54.top1, anchor: "middle_bottom" },
8827
- { ...texts54.bottom1, anchor: "middle_top" }
9074
+ ...Object.values(paths41),
9075
+ { ...texts56.top1, anchor: "middle_bottom" },
9076
+ { ...texts56.bottom1, anchor: "middle_top" }
8828
9077
  ],
8829
9078
  ports: [
8830
- { ...refblocks40.left1, labels: ["1"] },
9079
+ { ...refblocks41.left1, labels: ["1"] },
8831
9080
  // TODO add more "standard" labels
8832
- { ...refblocks40.right1, labels: ["2"] }
9081
+ { ...refblocks41.right1, labels: ["2"] }
8833
9082
  // TODO add more "standard" labels
8834
9083
  ],
8835
- size: { width: bounds40.width, height: bounds40.height },
8836
- center: { x: bounds40.centerX, y: bounds40.centerY }
9084
+ size: { width: bounds41.width, height: bounds41.height },
9085
+ center: { x: bounds41.centerX, y: bounds41.centerY }
8837
9086
  });
8838
9087
 
8839
9088
  // symbols/push_button_normally_open_momentary_vert.ts
8840
9089
  var rotated8 = rotateSymbol(push_button_normally_open_momentary_horz_default);
8841
- var ref24 = rotated8.primitives.find(
9090
+ var ref25 = rotated8.primitives.find(
8842
9091
  (p) => p.type === "text" && p.text === "{REF}"
8843
9092
  );
8844
- var val20 = rotated8.primitives.find(
9093
+ var val21 = rotated8.primitives.find(
8845
9094
  (p) => p.type === "text" && p.text === "{VAL}"
8846
9095
  );
8847
- ref24.anchor = "middle_left";
8848
- val20.anchor = "middle_right";
8849
- ref24.x = ref24.x + 0.1;
8850
- ref24.y = ref24.y;
8851
- val20.x = val20.x;
8852
- val20.y = 0;
9096
+ ref25.anchor = "middle_left";
9097
+ val21.anchor = "middle_right";
9098
+ ref25.x = ref25.x + 0.1;
9099
+ ref25.y = ref25.y;
9100
+ val21.x = val21.x;
9101
+ val21.y = 0;
8853
9102
  var push_button_normally_open_momentary_vert_default = rotated8;
8854
9103
 
8855
9104
  // assets/generated/rectifier_diode.json
@@ -9262,38 +9511,38 @@ var rectifier_diode_default = {
9262
9511
  };
9263
9512
 
9264
9513
  // symbols/rectifier_diode_horz.ts
9265
- var { paths: paths41, texts: texts55, bounds: bounds41, refblocks: refblocks41, circles: circles31 } = rectifier_diode_default;
9514
+ var { paths: paths42, texts: texts57, bounds: bounds42, refblocks: refblocks42, circles: circles33 } = rectifier_diode_default;
9266
9515
  var rectifier_diode_horz_default = defineSymbol({
9267
9516
  primitives: [
9268
- ...Object.values(paths41),
9269
- ...Object.values(circles31),
9270
- { ...texts55.top1, anchor: "middle_right" },
9271
- { ...texts55.bottom1, anchor: "middle_right" }
9517
+ ...Object.values(paths42),
9518
+ ...Object.values(circles33),
9519
+ { ...texts57.top1, anchor: "middle_right" },
9520
+ { ...texts57.bottom1, anchor: "middle_right" }
9272
9521
  ],
9273
9522
  ports: [
9274
- { ...refblocks41.top1, labels: ["1"] },
9523
+ { ...refblocks42.top1, labels: ["1"] },
9275
9524
  // TODO add more "standard" labels
9276
- { ...refblocks41.bottom1, labels: ["2"] },
9525
+ { ...refblocks42.bottom1, labels: ["2"] },
9277
9526
  // TODO add more "standard" labels
9278
- { ...refblocks41.left1, labels: ["3"] },
9527
+ { ...refblocks42.left1, labels: ["3"] },
9279
9528
  // TODO add more "standard" labels
9280
- { ...refblocks41.right1, labels: ["4"] }
9529
+ { ...refblocks42.right1, labels: ["4"] }
9281
9530
  // TODO add more "standard" labels
9282
9531
  ],
9283
- size: { width: bounds41.width, height: bounds41.height },
9284
- center: { x: bounds41.centerX, y: bounds41.centerY }
9532
+ size: { width: bounds42.width, height: bounds42.height },
9533
+ center: { x: bounds42.centerX, y: bounds42.centerY }
9285
9534
  });
9286
9535
 
9287
9536
  // symbols/rectifier_diode_vert.ts
9288
9537
  var rotated9 = rotateSymbol(rectifier_diode_horz_default);
9289
- var ref25 = rotated9.primitives.find(
9538
+ var ref26 = rotated9.primitives.find(
9290
9539
  (p) => p.type === "text" && p.text === "{REF}"
9291
9540
  );
9292
- var val21 = rotated9.primitives.find(
9541
+ var val22 = rotated9.primitives.find(
9293
9542
  (p) => p.type === "text" && p.text === "{VAL}"
9294
9543
  );
9295
- ref25.anchor = "middle_left";
9296
- val21.anchor = "middle_right";
9544
+ ref26.anchor = "middle_left";
9545
+ val22.anchor = "middle_right";
9297
9546
  var rectifier_diode_vert_default = rotated9;
9298
9547
 
9299
9548
  // assets/generated/resonator.json
@@ -9642,11 +9891,11 @@ var resonator_default = {
9642
9891
  };
9643
9892
 
9644
9893
  // symbols/resonator_horz.ts
9645
- var { paths: paths42, texts: texts56, bounds: bounds42, refblocks: refblocks42, circles: circles32 } = resonator_default;
9894
+ var { paths: paths43, texts: texts58, bounds: bounds43, refblocks: refblocks43, circles: circles34 } = resonator_default;
9646
9895
  var resonator_horz_default = defineSymbol({
9647
9896
  primitives: [
9648
- ...Object.values(paths42),
9649
- ...Object.values(circles32),
9897
+ ...Object.values(paths43),
9898
+ ...Object.values(circles34),
9650
9899
  // { ...texts.top1, anchor: "middle_left" },
9651
9900
  // { ...texts.bottom1, anchor: "middle_left" },
9652
9901
  {
@@ -9665,15 +9914,15 @@ var resonator_horz_default = defineSymbol({
9665
9914
  }
9666
9915
  ],
9667
9916
  ports: [
9668
- { ...refblocks42.left1, labels: ["1"] },
9917
+ { ...refblocks43.left1, labels: ["1"] },
9669
9918
  // TODO add more "standard" labels
9670
- { ...refblocks42.right1, labels: ["2"] },
9919
+ { ...refblocks43.right1, labels: ["2"] },
9671
9920
  // TODO add more "standard" labels
9672
- { ...refblocks42.right2, labels: ["3"] }
9921
+ { ...refblocks43.right2, labels: ["3"] }
9673
9922
  // TODO add more "standard" labels
9674
9923
  ],
9675
- size: { width: bounds42.width, height: bounds42.height },
9676
- center: { x: bounds42.centerX, y: bounds42.centerY }
9924
+ size: { width: bounds43.width, height: bounds43.height },
9925
+ center: { x: bounds43.centerX, y: bounds43.centerY }
9677
9926
  });
9678
9927
 
9679
9928
  // symbols/resonator_vert.ts
@@ -9871,34 +10120,34 @@ var schottky_diode_default = {
9871
10120
  };
9872
10121
 
9873
10122
  // symbols/schottky_diode_horz.ts
9874
- var { paths: paths43, texts: texts57, bounds: bounds43, refblocks: refblocks43, circles: circles33 } = schottky_diode_default;
10123
+ var { paths: paths44, texts: texts59, bounds: bounds44, refblocks: refblocks44, circles: circles35 } = schottky_diode_default;
9875
10124
  var schottky_diode_horz_default = defineSymbol({
9876
10125
  primitives: [
9877
- ...Object.values(paths43),
9878
- ...Object.values(circles33),
9879
- { ...texts57.top1, anchor: "middle_bottom" },
9880
- { ...texts57.bottom1, anchor: "middle_top" }
10126
+ ...Object.values(paths44),
10127
+ ...Object.values(circles35),
10128
+ { ...texts59.top1, anchor: "middle_bottom" },
10129
+ { ...texts59.bottom1, anchor: "middle_top" }
9881
10130
  ],
9882
10131
  ports: [
9883
- { ...refblocks43.left1, labels: ["1"] },
10132
+ { ...refblocks44.left1, labels: ["1"] },
9884
10133
  // TODO add more "standard" labels
9885
- { ...refblocks43.right1, labels: ["2"] }
10134
+ { ...refblocks44.right1, labels: ["2"] }
9886
10135
  // TODO add more "standard" labels
9887
10136
  ],
9888
- size: { width: bounds43.width, height: bounds43.height },
9889
- center: { x: bounds43.centerX, y: bounds43.centerY }
10137
+ size: { width: bounds44.width, height: bounds44.height },
10138
+ center: { x: bounds44.centerX, y: bounds44.centerY }
9890
10139
  });
9891
10140
 
9892
10141
  // symbols/schottky_diode_vert.ts
9893
10142
  var rotated10 = rotateSymbol(schottky_diode_horz_default);
9894
- var ref26 = rotated10.primitives.find(
10143
+ var ref27 = rotated10.primitives.find(
9895
10144
  (p) => p.type === "text" && p.text === "{REF}"
9896
10145
  );
9897
- var val22 = rotated10.primitives.find(
10146
+ var val23 = rotated10.primitives.find(
9898
10147
  (p) => p.type === "text" && p.text === "{VAL}"
9899
10148
  );
9900
- ref26.anchor = "middle_left";
9901
- val22.anchor = "middle_right";
10149
+ ref27.anchor = "middle_left";
10150
+ val23.anchor = "middle_right";
9902
10151
  var schottky_diode_vert_default = rotated10;
9903
10152
 
9904
10153
  // assets/generated/silicon_controlled_rectifier.json
@@ -10045,35 +10294,35 @@ var silicon_controlled_rectifier_default = {
10045
10294
  };
10046
10295
 
10047
10296
  // symbols/silicon_controlled_rectifier_horz.ts
10048
- var { paths: paths44, texts: texts58, bounds: bounds44, refblocks: refblocks44, circles: circles34 } = silicon_controlled_rectifier_default;
10297
+ var { paths: paths45, texts: texts60, bounds: bounds45, refblocks: refblocks45, circles: circles36 } = silicon_controlled_rectifier_default;
10049
10298
  var silicon_controlled_rectifier_horz_default = defineSymbol({
10050
10299
  primitives: [
10051
- ...Object.values(paths44),
10052
- ...Object.values(circles34),
10053
- { ...texts58.top1, anchor: "middle_left" },
10054
- { ...texts58.bottom1, anchor: "middle_top" }
10300
+ ...Object.values(paths45),
10301
+ ...Object.values(circles36),
10302
+ { ...texts60.top1, anchor: "middle_left" },
10303
+ { ...texts60.bottom1, anchor: "middle_top" }
10055
10304
  ],
10056
10305
  ports: [
10057
- { ...refblocks44.left1, labels: ["1"] },
10306
+ { ...refblocks45.left1, labels: ["1"] },
10058
10307
  // TODO add more "standard" labels
10059
- { ...refblocks44.right1, labels: ["2"] },
10308
+ { ...refblocks45.right1, labels: ["2"] },
10060
10309
  // TODO add more "standard" labels
10061
- { ...refblocks44.bottom1, labels: ["3"] }
10310
+ { ...refblocks45.bottom1, labels: ["3"] }
10062
10311
  // TODO add more "standard" labels
10063
10312
  ],
10064
- size: { width: bounds44.width, height: bounds44.height },
10065
- center: { x: bounds44.centerX, y: bounds44.centerY }
10313
+ size: { width: bounds45.width, height: bounds45.height },
10314
+ center: { x: bounds45.centerX, y: bounds45.centerY }
10066
10315
  });
10067
10316
 
10068
10317
  // symbols/silicon_controlled_rectifier_vert.ts
10069
- var rotatedSymbol22 = rotateSymbol(silicon_controlled_rectifier_horz_default);
10070
- var texts59 = rotatedSymbol22.primitives.filter(
10318
+ var rotatedSymbol23 = rotateSymbol(silicon_controlled_rectifier_horz_default);
10319
+ var texts61 = rotatedSymbol23.primitives.filter(
10071
10320
  (primitive) => primitive.type === "text"
10072
10321
  );
10073
- var ref27 = texts59.find((text) => text.text === "{REF}");
10074
- ref27.y = 0;
10075
- ref27.anchor = "middle_left";
10076
- var silicon_controlled_rectifier_vert_default = rotatedSymbol22;
10322
+ var ref28 = texts61.find((text) => text.text === "{REF}");
10323
+ ref28.y = 0;
10324
+ ref28.anchor = "middle_left";
10325
+ var silicon_controlled_rectifier_vert_default = rotatedSymbol23;
10077
10326
 
10078
10327
  // assets/generated/SPDT_switch.json
10079
10328
  var SPDT_switch_default = {
@@ -10193,38 +10442,38 @@ var SPDT_switch_default = {
10193
10442
  };
10194
10443
 
10195
10444
  // symbols/SPDT_switch_horz.ts
10196
- var { paths: paths45, texts: texts60, bounds: bounds45, refblocks: refblocks45, circles: circles35 } = SPDT_switch_default;
10445
+ var { paths: paths46, texts: texts62, bounds: bounds46, refblocks: refblocks46, circles: circles37 } = SPDT_switch_default;
10197
10446
  var SPDT_switch_horz_default = defineSymbol({
10198
10447
  primitives: [
10199
- ...Object.values(paths45),
10200
- ...Object.values(circles35),
10201
- { ...texts60.top1, anchor: "middle_bottom", x: -0.01 },
10202
- { ...texts60.bottom1, anchor: "middle_top", x: -0.01 }
10448
+ ...Object.values(paths46),
10449
+ ...Object.values(circles37),
10450
+ { ...texts62.top1, anchor: "middle_bottom", x: -0.01 },
10451
+ { ...texts62.bottom1, anchor: "middle_top", x: -0.01 }
10203
10452
  ],
10204
10453
  ports: [
10205
- { ...refblocks45.left1, labels: ["1"] },
10454
+ { ...refblocks46.left1, labels: ["1"] },
10206
10455
  // TODO add more "standard" labels
10207
- { ...refblocks45.right1, labels: ["3"] },
10456
+ { ...refblocks46.right1, labels: ["3"] },
10208
10457
  // TODO add more "standard" labels
10209
- { ...refblocks45.right2, labels: ["2"] }
10458
+ { ...refblocks46.right2, labels: ["2"] }
10210
10459
  // TODO add more "standard" labels
10211
10460
  ],
10212
- size: { width: bounds45.width, height: bounds45.height },
10213
- center: { x: bounds45.centerX, y: bounds45.centerY }
10461
+ size: { width: bounds46.width, height: bounds46.height },
10462
+ center: { x: bounds46.centerX, y: bounds46.centerY }
10214
10463
  });
10215
10464
 
10216
10465
  // symbols/SPDT_switch_vert.ts
10217
- var rotatedSymbol23 = rotateSymbol(SPDT_switch_horz_default);
10218
- var texts61 = rotatedSymbol23.primitives.filter((p) => p.type === "text");
10219
- var val23 = texts61.find((t) => t.text === "{VAL}");
10220
- val23.anchor = "middle_right";
10221
- val23.x = -0.3;
10222
- val23.y = 0;
10223
- var ref28 = texts61.find((t) => t.text === "{REF}");
10224
- ref28.anchor = "middle_left";
10225
- ref28.x = 0.3;
10226
- ref28.y = 0;
10227
- var SPDT_switch_vert_default = rotatedSymbol23;
10466
+ var rotatedSymbol24 = rotateSymbol(SPDT_switch_horz_default);
10467
+ var texts63 = rotatedSymbol24.primitives.filter((p) => p.type === "text");
10468
+ var val24 = texts63.find((t) => t.text === "{VAL}");
10469
+ val24.anchor = "middle_right";
10470
+ val24.x = -0.3;
10471
+ val24.y = 0;
10472
+ var ref29 = texts63.find((t) => t.text === "{REF}");
10473
+ ref29.anchor = "middle_left";
10474
+ ref29.x = 0.3;
10475
+ ref29.y = 0;
10476
+ var SPDT_switch_vert_default = rotatedSymbol24;
10228
10477
 
10229
10478
  // assets/generated/SPST_switch.json
10230
10479
  var SPST_switch_default = {
@@ -10321,36 +10570,36 @@ var SPST_switch_default = {
10321
10570
  };
10322
10571
 
10323
10572
  // symbols/SPST_switch_horz.ts
10324
- var { paths: paths46, texts: texts62, bounds: bounds46, refblocks: refblocks46, circles: circles36 } = SPST_switch_default;
10573
+ var { paths: paths47, texts: texts64, bounds: bounds47, refblocks: refblocks47, circles: circles38 } = SPST_switch_default;
10325
10574
  var SPST_switch_horz_default = defineSymbol({
10326
10575
  primitives: [
10327
- ...Object.values(paths46),
10328
- ...Object.values(circles36),
10329
- { ...texts62.top1, anchor: "middle_bottom", x: 0 },
10330
- { ...texts62.bottom1, anchor: "middle_top", x: 0 }
10576
+ ...Object.values(paths47),
10577
+ ...Object.values(circles38),
10578
+ { ...texts64.top1, anchor: "middle_bottom", x: 0 },
10579
+ { ...texts64.bottom1, anchor: "middle_top", x: 0 }
10331
10580
  ],
10332
10581
  ports: [
10333
- { ...refblocks46.left1, labels: ["1"] },
10582
+ { ...refblocks47.left1, labels: ["1"] },
10334
10583
  // TODO add more "standard" labels
10335
- { ...refblocks46.right1, labels: ["2"] }
10584
+ { ...refblocks47.right1, labels: ["2"] }
10336
10585
  // TODO add more "standard" labels
10337
10586
  ],
10338
- size: { width: bounds46.width, height: bounds46.height },
10339
- center: { x: bounds46.centerX, y: bounds46.centerY }
10587
+ size: { width: bounds47.width, height: bounds47.height },
10588
+ center: { x: bounds47.centerX, y: bounds47.centerY }
10340
10589
  });
10341
10590
 
10342
10591
  // symbols/SPST_switch_vert.ts
10343
- var rotatedSymbol24 = rotateSymbol(SPST_switch_horz_default);
10344
- var texts63 = rotatedSymbol24.primitives.filter((p) => p.type === "text");
10345
- var val24 = texts63.find((t) => t.text === "{VAL}");
10346
- val24.anchor = "middle_right";
10347
- val24.x = -0.3;
10348
- val24.y = 0;
10349
- var ref29 = texts63.find((t) => t.text === "{REF}");
10350
- ref29.anchor = "middle_left";
10351
- ref29.x = 0.3;
10352
- ref29.y = 0;
10353
- var SPST_switch_vert_default = rotatedSymbol24;
10592
+ var rotatedSymbol25 = rotateSymbol(SPST_switch_horz_default);
10593
+ var texts65 = rotatedSymbol25.primitives.filter((p) => p.type === "text");
10594
+ var val25 = texts65.find((t) => t.text === "{VAL}");
10595
+ val25.anchor = "middle_right";
10596
+ val25.x = -0.3;
10597
+ val25.y = 0;
10598
+ var ref30 = texts65.find((t) => t.text === "{REF}");
10599
+ ref30.anchor = "middle_left";
10600
+ ref30.x = 0.3;
10601
+ ref30.y = 0;
10602
+ var SPST_switch_vert_default = rotatedSymbol25;
10354
10603
 
10355
10604
  // assets/generated/step_recovery_diode.json
10356
10605
  var step_recovery_diode_default = {
@@ -10514,11 +10763,11 @@ var step_recovery_diode_default = {
10514
10763
  };
10515
10764
 
10516
10765
  // symbols/step_recovery_diode_horz.ts
10517
- var { paths: paths47, texts: texts64, bounds: bounds47, refblocks: refblocks47, circles: circles37 } = step_recovery_diode_default;
10766
+ var { paths: paths48, texts: texts66, bounds: bounds48, refblocks: refblocks48, circles: circles39 } = step_recovery_diode_default;
10518
10767
  var step_recovery_diode_horz_default = defineSymbol({
10519
10768
  primitives: [
10520
- ...Object.values(paths47),
10521
- ...Object.values(circles37),
10769
+ ...Object.values(paths48),
10770
+ ...Object.values(circles39),
10522
10771
  // { ...texts.top1, anchor: "middle_left" },
10523
10772
  // { ...texts.bottom1, anchor: "middle_left" },
10524
10773
  {
@@ -10537,13 +10786,13 @@ var step_recovery_diode_horz_default = defineSymbol({
10537
10786
  }
10538
10787
  ],
10539
10788
  ports: [
10540
- { ...refblocks47.left1, labels: ["1"] },
10789
+ { ...refblocks48.left1, labels: ["1"] },
10541
10790
  // TODO add more "standard" labels
10542
- { ...refblocks47.right1, labels: ["2"] }
10791
+ { ...refblocks48.right1, labels: ["2"] }
10543
10792
  // TODO add more "standard" labels
10544
10793
  ],
10545
- size: { width: bounds47.width, height: bounds47.height },
10546
- center: { x: bounds47.centerX, y: bounds47.centerY }
10794
+ size: { width: bounds48.width, height: bounds48.height },
10795
+ center: { x: bounds48.centerX, y: bounds48.centerY }
10547
10796
  });
10548
10797
 
10549
10798
  // symbols/step_recovery_diode_vert.ts
@@ -10636,11 +10885,11 @@ var tachometer_default = {
10636
10885
  };
10637
10886
 
10638
10887
  // symbols/tachometer_horz.ts
10639
- var { paths: paths48, texts: texts65, bounds: bounds48, refblocks: refblocks48, circles: circles38 } = tachometer_default;
10888
+ var { paths: paths49, texts: texts67, bounds: bounds49, refblocks: refblocks49, circles: circles40 } = tachometer_default;
10640
10889
  var tachometer_horz_default = defineSymbol({
10641
10890
  primitives: [
10642
- ...Object.values(paths48),
10643
- ...Object.values(circles38),
10891
+ ...Object.values(paths49),
10892
+ ...Object.values(circles40),
10644
10893
  {
10645
10894
  type: "text",
10646
10895
  text: "{REF}",
@@ -10655,16 +10904,16 @@ var tachometer_horz_default = defineSymbol({
10655
10904
  y: 0.35,
10656
10905
  anchor: "middle_top"
10657
10906
  },
10658
- { ...texts65.left1, anchor: "center", fontSize: 0.2 }
10907
+ { ...texts67.left1, anchor: "center", fontSize: 0.2 }
10659
10908
  ],
10660
10909
  ports: [
10661
- { ...refblocks48.left1, labels: ["1"] },
10910
+ { ...refblocks49.left1, labels: ["1"] },
10662
10911
  // TODO add more "standard" labels
10663
- { ...refblocks48.right1, labels: ["2"] }
10912
+ { ...refblocks49.right1, labels: ["2"] }
10664
10913
  // TODO add more "standard" labels
10665
10914
  ],
10666
- size: { width: bounds48.width, height: bounds48.height },
10667
- center: { x: bounds48.centerX, y: bounds48.centerY }
10915
+ size: { width: bounds49.width, height: bounds49.height },
10916
+ center: { x: bounds49.centerX, y: bounds49.centerY }
10668
10917
  });
10669
10918
 
10670
10919
  // symbols/tachometer_vert.ts
@@ -10672,13 +10921,13 @@ var { 5: letter5, ...rest5 } = tachometer_horz_default.primitives;
10672
10921
  function isPrimitive5(value) {
10673
10922
  return typeof value === "object";
10674
10923
  }
10675
- var rotatedSymbol25 = rotateSymbol({
10924
+ var rotatedSymbol26 = rotateSymbol({
10676
10925
  ...tachometer_horz_default,
10677
10926
  primitives: Object.values(rest5).filter(isPrimitive5)
10678
10927
  });
10679
10928
  var tachometer_vert_default = {
10680
- ...rotatedSymbol25,
10681
- primitives: [...rotatedSymbol25.primitives, letter5]
10929
+ ...rotatedSymbol26,
10930
+ primitives: [...rotatedSymbol26.primitives, letter5]
10682
10931
  };
10683
10932
 
10684
10933
  // assets/generated/triac.json
@@ -10872,36 +11121,36 @@ var triac_default = {
10872
11121
  };
10873
11122
 
10874
11123
  // symbols/triac_horz.ts
10875
- var { paths: paths49, texts: texts66, bounds: bounds49, refblocks: refblocks49, circles: circles39 } = triac_default;
11124
+ var { paths: paths50, texts: texts68, bounds: bounds50, refblocks: refblocks50, circles: circles41 } = triac_default;
10876
11125
  var triac_horz_default = defineSymbol({
10877
11126
  primitives: [
10878
- ...Object.values(paths49),
10879
- ...Object.values(circles39),
10880
- { ...texts66.top1, anchor: "middle_left" },
10881
- { ...texts66.bottom1, anchor: "middle_top" }
11127
+ ...Object.values(paths50),
11128
+ ...Object.values(circles41),
11129
+ { ...texts68.top1, anchor: "middle_left" },
11130
+ { ...texts68.bottom1, anchor: "middle_top" }
10882
11131
  ],
10883
11132
  ports: [
10884
- { ...refblocks49.left1, labels: ["1"] },
11133
+ { ...refblocks50.left1, labels: ["1"] },
10885
11134
  // TODO add more "standard" labels
10886
- { ...refblocks49.right1, labels: ["2"] },
11135
+ { ...refblocks50.right1, labels: ["2"] },
10887
11136
  // TODO add more "standard" labels
10888
- { ...refblocks49.bottom1, labels: ["3"] }
11137
+ { ...refblocks50.bottom1, labels: ["3"] }
10889
11138
  // TODO add more "standard" labels
10890
11139
  ],
10891
- size: { width: bounds49.width, height: bounds49.height },
10892
- center: { x: bounds49.centerX, y: bounds49.centerY }
11140
+ size: { width: bounds50.width, height: bounds50.height },
11141
+ center: { x: bounds50.centerX, y: bounds50.centerY }
10893
11142
  });
10894
11143
 
10895
11144
  // symbols/triac_vert.ts
10896
- var rotatedSymbol26 = rotateSymbol(triac_horz_default);
10897
- var texts67 = rotatedSymbol26.primitives.filter(
11145
+ var rotatedSymbol27 = rotateSymbol(triac_horz_default);
11146
+ var texts69 = rotatedSymbol27.primitives.filter(
10898
11147
  (primitive) => primitive.type === "text"
10899
11148
  );
10900
- var ref30 = texts67.find((text) => text.text === "{REF}");
10901
- var val25 = texts67.find((text) => text.text === "{VAL}");
10902
- ref30.y = 0;
10903
- val25.y = 0;
10904
- var triac_vert_default = rotatedSymbol26;
11149
+ var ref31 = texts69.find((text) => text.text === "{REF}");
11150
+ var val26 = texts69.find((text) => text.text === "{VAL}");
11151
+ ref31.y = 0;
11152
+ val26.y = 0;
11153
+ var triac_vert_default = rotatedSymbol27;
10905
11154
 
10906
11155
  // assets/generated/tunnel_diode.json
10907
11156
  var tunnel_diode_default = {
@@ -11065,34 +11314,34 @@ var tunnel_diode_default = {
11065
11314
  };
11066
11315
 
11067
11316
  // symbols/tunnel_diode_horz.ts
11068
- var { paths: paths50, texts: texts68, bounds: bounds50, refblocks: refblocks50, circles: circles40 } = tunnel_diode_default;
11317
+ var { paths: paths51, texts: texts70, bounds: bounds51, refblocks: refblocks51, circles: circles42 } = tunnel_diode_default;
11069
11318
  var tunnel_diode_horz_default = defineSymbol({
11070
11319
  primitives: [
11071
- ...Object.values(paths50),
11072
- ...Object.values(circles40),
11073
- { ...texts68.top1, anchor: "middle_bottom" },
11074
- { ...texts68.bottom1, anchor: "middle_top" }
11320
+ ...Object.values(paths51),
11321
+ ...Object.values(circles42),
11322
+ { ...texts70.top1, anchor: "middle_bottom" },
11323
+ { ...texts70.bottom1, anchor: "middle_top" }
11075
11324
  ],
11076
11325
  ports: [
11077
- { ...refblocks50.left1, labels: ["1"] },
11326
+ { ...refblocks51.left1, labels: ["1"] },
11078
11327
  // TODO add more "standard" labels
11079
- { ...refblocks50.right1, labels: ["2"] }
11328
+ { ...refblocks51.right1, labels: ["2"] }
11080
11329
  // TODO add more "standard" labels
11081
11330
  ],
11082
- size: { width: bounds50.width, height: bounds50.height },
11083
- center: { x: bounds50.centerX, y: bounds50.centerY }
11331
+ size: { width: bounds51.width, height: bounds51.height },
11332
+ center: { x: bounds51.centerX, y: bounds51.centerY }
11084
11333
  });
11085
11334
 
11086
11335
  // symbols/tunnel_diode_vert.ts
11087
11336
  var rotated11 = rotateSymbol(tunnel_diode_horz_default);
11088
- var ref31 = rotated11.primitives.find(
11337
+ var ref32 = rotated11.primitives.find(
11089
11338
  (p) => p.type === "text" && p.text === "{REF}"
11090
11339
  );
11091
- var val26 = rotated11.primitives.find(
11340
+ var val27 = rotated11.primitives.find(
11092
11341
  (p) => p.type === "text" && p.text === "{VAL}"
11093
11342
  );
11094
- ref31.anchor = "middle_left";
11095
- val26.anchor = "middle_right";
11343
+ ref32.anchor = "middle_left";
11344
+ val27.anchor = "middle_right";
11096
11345
  var tunnel_diode_vert_default = rotated11;
11097
11346
 
11098
11347
  // assets/generated/unijunction_transistor.json
@@ -11263,37 +11512,37 @@ var unijunction_transistor_default = {
11263
11512
  };
11264
11513
 
11265
11514
  // symbols/unijunction_transistor_horz.ts
11266
- var { paths: paths51, texts: texts69, bounds: bounds51, refblocks: refblocks51, circles: circles41 } = unijunction_transistor_default;
11515
+ var { paths: paths52, texts: texts71, bounds: bounds52, refblocks: refblocks52, circles: circles43 } = unijunction_transistor_default;
11267
11516
  var unijunction_transistor_horz_default = defineSymbol({
11268
11517
  primitives: [
11269
- ...Object.values(paths51),
11270
- ...Object.values(circles41),
11271
- { ...texts69.top1, anchor: "middle_left" },
11272
- { ...texts69.bottom1, anchor: "middle_right" }
11518
+ ...Object.values(paths52),
11519
+ ...Object.values(circles43),
11520
+ { ...texts71.top1, anchor: "middle_left" },
11521
+ { ...texts71.bottom1, anchor: "middle_right" }
11273
11522
  ],
11274
11523
  ports: [
11275
- { ...refblocks51.top1, labels: ["1"] },
11524
+ { ...refblocks52.top1, labels: ["1"] },
11276
11525
  // TODO add more "standard" labels
11277
- { ...refblocks51.bottom1, labels: ["2"] },
11526
+ { ...refblocks52.bottom1, labels: ["2"] },
11278
11527
  // TODO add more "standard" labels
11279
- { ...refblocks51.left1, labels: ["3"] }
11528
+ { ...refblocks52.left1, labels: ["3"] }
11280
11529
  // TODO add more "standard" labels
11281
11530
  ],
11282
- size: { width: bounds51.width, height: bounds51.height },
11283
- center: { x: bounds51.centerX, y: bounds51.centerY }
11531
+ size: { width: bounds52.width, height: bounds52.height },
11532
+ center: { x: bounds52.centerX, y: bounds52.centerY }
11284
11533
  });
11285
11534
 
11286
11535
  // symbols/unijunction_transistor_vert.ts
11287
- var rotatedSymbol27 = rotateSymbol(unijunction_transistor_horz_default);
11288
- var texts70 = rotatedSymbol27.primitives.filter(
11536
+ var rotatedSymbol28 = rotateSymbol(unijunction_transistor_horz_default);
11537
+ var texts72 = rotatedSymbol28.primitives.filter(
11289
11538
  (primitive) => primitive.type === "text"
11290
11539
  );
11291
- var ref32 = texts70.find((text) => text.text === "{REF}");
11292
- ref32.y = 0.1;
11293
- var val27 = texts70.find((text) => text.text === "{VAL}");
11294
- val27.y = 0.1;
11295
- val27.x = -0.4;
11296
- var unijunction_transistor_vert_default = rotatedSymbol27;
11540
+ var ref33 = texts72.find((text) => text.text === "{REF}");
11541
+ ref33.y = 0.1;
11542
+ var val28 = texts72.find((text) => text.text === "{VAL}");
11543
+ val28.y = 0.1;
11544
+ val28.x = -0.4;
11545
+ var unijunction_transistor_vert_default = rotatedSymbol28;
11297
11546
 
11298
11547
  // assets/generated/var_meter.json
11299
11548
  var var_meter_default = {
@@ -11382,33 +11631,33 @@ var var_meter_default = {
11382
11631
  };
11383
11632
 
11384
11633
  // symbols/var_meter_horz.ts
11385
- var { paths: paths52, texts: texts71, bounds: bounds52, refblocks: refblocks52, circles: circles42 } = var_meter_default;
11634
+ var { paths: paths53, texts: texts73, bounds: bounds53, refblocks: refblocks53, circles: circles44 } = var_meter_default;
11386
11635
  var var_meter_horz_default = defineSymbol({
11387
11636
  primitives: [
11388
- ...Object.values(paths52),
11389
- ...Object.values(circles42),
11637
+ ...Object.values(paths53),
11638
+ ...Object.values(circles44),
11390
11639
  {
11391
- ...texts71.top1,
11640
+ ...texts73.top1,
11392
11641
  x: 0,
11393
11642
  y: -0.3594553499999995,
11394
11643
  anchor: "middle_bottom"
11395
11644
  },
11396
11645
  {
11397
- ...texts71.bottom1,
11646
+ ...texts73.bottom1,
11398
11647
  x: 0,
11399
11648
  y: 0.35,
11400
11649
  anchor: "middle_top"
11401
11650
  },
11402
- { ...texts71.left1, x: -0.02, y: -0.02, fontSize: 0.2, anchor: "center" }
11651
+ { ...texts73.left1, x: -0.02, y: -0.02, fontSize: 0.2, anchor: "center" }
11403
11652
  ],
11404
11653
  ports: [
11405
- { ...refblocks52.left1, labels: ["1"] },
11654
+ { ...refblocks53.left1, labels: ["1"] },
11406
11655
  // TODO add more "standard" labels
11407
- { ...refblocks52.right1, labels: ["2"] }
11656
+ { ...refblocks53.right1, labels: ["2"] }
11408
11657
  // TODO add more "standard" labels
11409
11658
  ],
11410
- size: { width: bounds52.width, height: bounds52.height },
11411
- center: { x: bounds52.centerX, y: bounds52.centerY }
11659
+ size: { width: bounds53.width, height: bounds53.height },
11660
+ center: { x: bounds53.centerX, y: bounds53.centerY }
11412
11661
  });
11413
11662
 
11414
11663
  // symbols/var_meter_vert.ts
@@ -11561,34 +11810,34 @@ var varactor_diode_default = {
11561
11810
  };
11562
11811
 
11563
11812
  // symbols/varactor_diode_horz.ts
11564
- var { paths: paths53, texts: texts72, bounds: bounds53, refblocks: refblocks53, circles: circles43 } = varactor_diode_default;
11813
+ var { paths: paths54, texts: texts74, bounds: bounds54, refblocks: refblocks54, circles: circles45 } = varactor_diode_default;
11565
11814
  var varactor_diode_horz_default = defineSymbol({
11566
11815
  primitives: [
11567
- ...Object.values(paths53),
11568
- ...Object.values(circles43),
11569
- { ...texts72.top1, anchor: "middle_bottom" },
11570
- { ...texts72.bottom1, anchor: "middle_top" }
11816
+ ...Object.values(paths54),
11817
+ ...Object.values(circles45),
11818
+ { ...texts74.top1, anchor: "middle_bottom" },
11819
+ { ...texts74.bottom1, anchor: "middle_top" }
11571
11820
  ],
11572
11821
  ports: [
11573
- { ...refblocks53.left1, labels: ["1"] },
11822
+ { ...refblocks54.left1, labels: ["1"] },
11574
11823
  // TODO add more "standard" labels
11575
- { ...refblocks53.right1, labels: ["2"] }
11824
+ { ...refblocks54.right1, labels: ["2"] }
11576
11825
  // TODO add more "standard" labels
11577
11826
  ],
11578
- size: { width: bounds53.width, height: bounds53.height },
11579
- center: { x: bounds53.centerX, y: bounds53.centerY }
11827
+ size: { width: bounds54.width, height: bounds54.height },
11828
+ center: { x: bounds54.centerX, y: bounds54.centerY }
11580
11829
  });
11581
11830
 
11582
11831
  // symbols/varactor_diode_vert.ts
11583
11832
  var rotated12 = rotateSymbol(varactor_diode_horz_default);
11584
- var ref33 = rotated12.primitives.find(
11833
+ var ref34 = rotated12.primitives.find(
11585
11834
  (p) => p.type === "text" && p.text === "{REF}"
11586
11835
  );
11587
- var val28 = rotated12.primitives.find(
11836
+ var val29 = rotated12.primitives.find(
11588
11837
  (p) => p.type === "text" && p.text === "{VAL}"
11589
11838
  );
11590
- ref33.anchor = "middle_left";
11591
- val28.anchor = "middle_right";
11839
+ ref34.anchor = "middle_left";
11840
+ val29.anchor = "middle_right";
11592
11841
  var varactor_diode_vert_default = rotated12;
11593
11842
 
11594
11843
  // assets/generated/varistor.json
@@ -11724,30 +11973,30 @@ var varistor_default = {
11724
11973
  };
11725
11974
 
11726
11975
  // symbols/varistor_horz.ts
11727
- var { paths: paths54, texts: texts73, bounds: bounds54, refblocks: refblocks54 } = varistor_default;
11976
+ var { paths: paths55, texts: texts75, bounds: bounds55, refblocks: refblocks55 } = varistor_default;
11728
11977
  var varistor_horz_default = defineSymbol({
11729
11978
  primitives: [
11730
- ...Object.values(paths54),
11731
- { ...texts73.top1, anchor: "middle_left" },
11732
- { ...texts73.bottom1, anchor: "middle_right" }
11979
+ ...Object.values(paths55),
11980
+ { ...texts75.top1, anchor: "middle_left" },
11981
+ { ...texts75.bottom1, anchor: "middle_right" }
11733
11982
  ],
11734
11983
  ports: [
11735
11984
  {
11736
- ...refblocks54.left1,
11985
+ ...refblocks55.left1,
11737
11986
  labels: ["1", "-"]
11738
11987
  },
11739
11988
  {
11740
- ...refblocks54.right1,
11989
+ ...refblocks55.right1,
11741
11990
  labels: ["2", "+"]
11742
11991
  }
11743
11992
  ],
11744
- size: { width: bounds54.width, height: bounds54.height },
11993
+ size: { width: bounds55.width, height: bounds55.height },
11745
11994
  //{ width: 1, height: 0.24 },
11746
- center: { x: bounds54.centerX, y: bounds54.centerY }
11995
+ center: { x: bounds55.centerX, y: bounds55.centerY }
11747
11996
  });
11748
11997
 
11749
11998
  // symbols/varistor_vert.ts
11750
- var varistor_vert_default = rotateSymbol(varistor_horz_default, {});
11999
+ var varistor_vert_default = rotateSymbol(varistor_horz_default);
11751
12000
 
11752
12001
  // assets/generated/varmeter.json
11753
12002
  var varmeter_default = {
@@ -11836,11 +12085,11 @@ var varmeter_default = {
11836
12085
  };
11837
12086
 
11838
12087
  // symbols/varmeter_horz.ts
11839
- var { paths: paths55, texts: texts74, bounds: bounds55, refblocks: refblocks55, circles: circles44 } = varmeter_default;
12088
+ var { paths: paths56, texts: texts76, bounds: bounds56, refblocks: refblocks56, circles: circles46 } = varmeter_default;
11840
12089
  var varmeter_horz_default = defineSymbol({
11841
12090
  primitives: [
11842
- ...Object.values(paths55),
11843
- ...Object.values(circles44),
12091
+ ...Object.values(paths56),
12092
+ ...Object.values(circles46),
11844
12093
  {
11845
12094
  type: "text",
11846
12095
  text: "{REF}",
@@ -11855,16 +12104,16 @@ var varmeter_horz_default = defineSymbol({
11855
12104
  y: 0.35,
11856
12105
  anchor: "middle_top"
11857
12106
  },
11858
- { ...texts74.left1, anchor: "center", fontSize: 0.2 }
12107
+ { ...texts76.left1, anchor: "center", fontSize: 0.2 }
11859
12108
  ],
11860
12109
  ports: [
11861
- { ...refblocks55.left1, labels: ["1"] },
12110
+ { ...refblocks56.left1, labels: ["1"] },
11862
12111
  // TODO add more "standard" labels
11863
- { ...refblocks55.right1, labels: ["2"] }
12112
+ { ...refblocks56.right1, labels: ["2"] }
11864
12113
  // TODO add more "standard" labels
11865
12114
  ],
11866
- size: { width: bounds55.width, height: bounds55.height },
11867
- center: { x: bounds55.centerX, y: bounds55.centerY }
12115
+ size: { width: bounds56.width, height: bounds56.height },
12116
+ center: { x: bounds56.centerX, y: bounds56.centerY }
11868
12117
  });
11869
12118
 
11870
12119
  // symbols/varmeter_vert.ts
@@ -11872,13 +12121,13 @@ var { 5: letter6, ...rest6 } = varmeter_horz_default.primitives;
11872
12121
  function isPrimitive6(value) {
11873
12122
  return typeof value === "object";
11874
12123
  }
11875
- var rotatedSymbol28 = rotateSymbol({
12124
+ var rotatedSymbol29 = rotateSymbol({
11876
12125
  ...varmeter_horz_default,
11877
12126
  primitives: Object.values(rest6).filter(isPrimitive6)
11878
12127
  });
11879
12128
  var varmeter_vert_default = {
11880
- ...rotatedSymbol28,
11881
- primitives: [...rotatedSymbol28.primitives, letter6]
12129
+ ...rotatedSymbol29,
12130
+ primitives: [...rotatedSymbol29.primitives, letter6]
11882
12131
  };
11883
12132
 
11884
12133
  // assets/generated/volt_meter.json
@@ -11981,11 +12230,11 @@ var volt_meter_default = {
11981
12230
  };
11982
12231
 
11983
12232
  // symbols/volt_meter_horz.ts
11984
- var { paths: paths56, texts: texts75, bounds: bounds56, circles: circles45, refblocks: refblocks56 } = volt_meter_default;
12233
+ var { paths: paths57, texts: texts77, bounds: bounds57, circles: circles47, refblocks: refblocks57 } = volt_meter_default;
11985
12234
  var volt_meter_horz_default = defineSymbol({
11986
12235
  primitives: [
11987
- ...Object.values(paths56),
11988
- ...Object.values(circles45),
12236
+ ...Object.values(paths57),
12237
+ ...Object.values(circles47),
11989
12238
  {
11990
12239
  type: "text",
11991
12240
  text: "{REF}",
@@ -12002,13 +12251,13 @@ var volt_meter_horz_default = defineSymbol({
12002
12251
  }
12003
12252
  ],
12004
12253
  ports: [
12005
- { ...refblocks56.left1, labels: ["1"] },
12254
+ { ...refblocks57.left1, labels: ["1"] },
12006
12255
  // TODO add more "standard" labels
12007
- { ...refblocks56.right1, labels: ["2"] }
12256
+ { ...refblocks57.right1, labels: ["2"] }
12008
12257
  // TODO add more "standard" labels
12009
12258
  ],
12010
- size: { width: bounds56.width, height: bounds56.height },
12011
- center: { x: bounds56.centerX, y: bounds56.centerY }
12259
+ size: { width: bounds57.width, height: bounds57.height },
12260
+ center: { x: bounds57.centerX, y: bounds57.centerY }
12012
12261
  });
12013
12262
 
12014
12263
  // symbols/volt_meter_vert.ts
@@ -12101,11 +12350,11 @@ var watt_hour_meter_default = {
12101
12350
  };
12102
12351
 
12103
12352
  // symbols/watt_hour_meter_horz.ts
12104
- var { paths: paths57, texts: texts76, bounds: bounds57, refblocks: refblocks57, circles: circles46 } = watt_hour_meter_default;
12353
+ var { paths: paths58, texts: texts78, bounds: bounds58, refblocks: refblocks58, circles: circles48 } = watt_hour_meter_default;
12105
12354
  var watt_hour_meter_horz_default = defineSymbol({
12106
12355
  primitives: [
12107
- ...Object.values(paths57),
12108
- ...Object.values(circles46),
12356
+ ...Object.values(paths58),
12357
+ ...Object.values(circles48),
12109
12358
  {
12110
12359
  type: "text",
12111
12360
  text: "{REF}",
@@ -12120,16 +12369,16 @@ var watt_hour_meter_horz_default = defineSymbol({
12120
12369
  y: 0.35,
12121
12370
  anchor: "middle_top"
12122
12371
  },
12123
- { ...texts76.left1, anchor: "center", fontSize: 0.2 }
12372
+ { ...texts78.left1, anchor: "center", fontSize: 0.2 }
12124
12373
  ],
12125
12374
  ports: [
12126
- { ...refblocks57.left1, labels: ["1"] },
12375
+ { ...refblocks58.left1, labels: ["1"] },
12127
12376
  // TODO add more "standard" labels
12128
- { ...refblocks57.right1, labels: ["2"] }
12377
+ { ...refblocks58.right1, labels: ["2"] }
12129
12378
  // TODO add more "standard" labels
12130
12379
  ],
12131
- size: { width: bounds57.width, height: bounds57.height },
12132
- center: { x: bounds57.centerX, y: bounds57.centerY }
12380
+ size: { width: bounds58.width, height: bounds58.height },
12381
+ center: { x: bounds58.centerX, y: bounds58.centerY }
12133
12382
  });
12134
12383
 
12135
12384
  // symbols/watt_hour_meter_vert.ts
@@ -12137,13 +12386,13 @@ var { 5: letter7, ...rest7 } = watt_hour_meter_horz_default.primitives;
12137
12386
  function isPrimitive7(value) {
12138
12387
  return typeof value === "object";
12139
12388
  }
12140
- var rotatedSymbol29 = rotateSymbol({
12389
+ var rotatedSymbol30 = rotateSymbol({
12141
12390
  ...watt_hour_meter_horz_default,
12142
12391
  primitives: Object.values(rest7).filter(isPrimitive7)
12143
12392
  });
12144
12393
  var watt_hour_meter_vert_default = {
12145
- ...rotatedSymbol29,
12146
- primitives: [...rotatedSymbol29.primitives, letter7]
12394
+ ...rotatedSymbol30,
12395
+ primitives: [...rotatedSymbol30.primitives, letter7]
12147
12396
  };
12148
12397
 
12149
12398
  // assets/generated/wattmeter.json
@@ -12233,11 +12482,11 @@ var wattmeter_default = {
12233
12482
  };
12234
12483
 
12235
12484
  // symbols/wattmeter_horz.ts
12236
- var { paths: paths58, texts: texts77, bounds: bounds58, refblocks: refblocks58, circles: circles47 } = wattmeter_default;
12485
+ var { paths: paths59, texts: texts79, bounds: bounds59, refblocks: refblocks59, circles: circles49 } = wattmeter_default;
12237
12486
  var wattmeter_horz_default = defineSymbol({
12238
12487
  primitives: [
12239
- ...Object.values(paths58),
12240
- ...Object.values(circles47),
12488
+ ...Object.values(paths59),
12489
+ ...Object.values(circles49),
12241
12490
  {
12242
12491
  type: "text",
12243
12492
  text: "{REF}",
@@ -12252,16 +12501,16 @@ var wattmeter_horz_default = defineSymbol({
12252
12501
  y: 0.35,
12253
12502
  anchor: "middle_top"
12254
12503
  },
12255
- { ...texts77.left1, anchor: "center", fontSize: 0.3 }
12504
+ { ...texts79.left1, anchor: "center", fontSize: 0.3 }
12256
12505
  ],
12257
12506
  ports: [
12258
- { ...refblocks58.left1, labels: ["1"] },
12507
+ { ...refblocks59.left1, labels: ["1"] },
12259
12508
  // TODO add more "standard" labels
12260
- { ...refblocks58.right1, labels: ["2"] }
12509
+ { ...refblocks59.right1, labels: ["2"] }
12261
12510
  // TODO add more "standard" labels
12262
12511
  ],
12263
- size: { width: bounds58.width, height: bounds58.height },
12264
- center: { x: bounds58.centerX, y: bounds58.centerY }
12512
+ size: { width: bounds59.width, height: bounds59.height },
12513
+ center: { x: bounds59.centerX, y: bounds59.centerY }
12265
12514
  });
12266
12515
 
12267
12516
  // symbols/wattmeter_vert.ts
@@ -12269,13 +12518,13 @@ var { 5: letter8, ...rest8 } = wattmeter_horz_default.primitives;
12269
12518
  function isPrimitive8(value) {
12270
12519
  return typeof value === "object";
12271
12520
  }
12272
- var rotatedSymbol30 = rotateSymbol({
12521
+ var rotatedSymbol31 = rotateSymbol({
12273
12522
  ...wattmeter_horz_default,
12274
12523
  primitives: Object.values(rest8).filter(isPrimitive8)
12275
12524
  });
12276
12525
  var wattmeter_vert_default = {
12277
- ...rotatedSymbol30,
12278
- primitives: [...rotatedSymbol30.primitives, letter8]
12526
+ ...rotatedSymbol31,
12527
+ primitives: [...rotatedSymbol31.primitives, letter8]
12279
12528
  };
12280
12529
 
12281
12530
  // assets/generated/zener_diode.json
@@ -12425,34 +12674,34 @@ var zener_diode_default = {
12425
12674
  };
12426
12675
 
12427
12676
  // symbols/zener_diode_horz.ts
12428
- var { paths: paths59, texts: texts78, bounds: bounds59, refblocks: refblocks59, circles: circles48 } = zener_diode_default;
12677
+ var { paths: paths60, texts: texts80, bounds: bounds60, refblocks: refblocks60, circles: circles50 } = zener_diode_default;
12429
12678
  var zener_diode_horz_default = defineSymbol({
12430
12679
  primitives: [
12431
- ...Object.values(paths59),
12432
- ...Object.values(circles48),
12433
- { ...texts78.top1, anchor: "middle_bottom" },
12434
- { ...texts78.bottom1, anchor: "middle_top" }
12680
+ ...Object.values(paths60),
12681
+ ...Object.values(circles50),
12682
+ { ...texts80.top1, anchor: "middle_bottom" },
12683
+ { ...texts80.bottom1, anchor: "middle_top" }
12435
12684
  ],
12436
12685
  ports: [
12437
- { ...refblocks59.left1, labels: ["1"] },
12686
+ { ...refblocks60.left1, labels: ["1"] },
12438
12687
  // TODO add more "standard" labels
12439
- { ...refblocks59.right1, labels: ["2"] }
12688
+ { ...refblocks60.right1, labels: ["2"] }
12440
12689
  // TODO add more "standard" labels
12441
12690
  ],
12442
- size: { width: bounds59.width, height: bounds59.height },
12443
- center: { x: bounds59.centerX, y: bounds59.centerY }
12691
+ size: { width: bounds60.width, height: bounds60.height },
12692
+ center: { x: bounds60.centerX, y: bounds60.centerY }
12444
12693
  });
12445
12694
 
12446
12695
  // symbols/zener_diode_vert.ts
12447
12696
  var rotated13 = rotateSymbol(zener_diode_horz_default);
12448
- var ref34 = rotated13.primitives.find(
12697
+ var ref35 = rotated13.primitives.find(
12449
12698
  (p) => p.type === "text" && p.text === "{REF}"
12450
12699
  );
12451
- var val29 = rotated13.primitives.find(
12700
+ var val30 = rotated13.primitives.find(
12452
12701
  (p) => p.type === "text" && p.text === "{VAL}"
12453
12702
  );
12454
- ref34.anchor = "middle_left";
12455
- val29.anchor = "middle_right";
12703
+ ref35.anchor = "middle_left";
12704
+ val30.anchor = "middle_right";
12456
12705
  var zener_diode_vert_default = rotated13;
12457
12706
 
12458
12707
  // generated/symbols-index.ts
@@ -12479,8 +12728,10 @@ var symbols_index_default = {
12479
12728
  "dc_voltmeter_vert": dc_voltmeter_vert_default,
12480
12729
  "diac_horz": diac_horz_default,
12481
12730
  "diac_vert": diac_vert_default,
12482
- "diode_horz": diode_horz_default,
12483
- "diode_vert": diode_vert_default,
12731
+ "diode_down": diode_down_default,
12732
+ "diode_left": diode_left_default,
12733
+ "diode_right": diode_right_default,
12734
+ "diode_up": diode_up_default,
12484
12735
  "dpst_switch_horz": dpst_switch_horz_default,
12485
12736
  "dpst_switch_vert": dpst_switch_vert_default,
12486
12737
  "filled_diode_horz": filled_diode_horz_default,
@@ -12495,6 +12746,8 @@ var symbols_index_default = {
12495
12746
  "gunn_diode_vert": gunn_diode_vert_default,
12496
12747
  "igbt_transistor_horz": igbt_transistor_horz_default,
12497
12748
  "igbt_transistor_vert": igbt_transistor_vert_default,
12749
+ "illuminated_push_button_normally_open_horz": illuminated_push_button_normally_open_horz_default,
12750
+ "illuminated_push_button_normally_open_vert": illuminated_push_button_normally_open_vert_default,
12498
12751
  "inductor_horz": inductor_horz_default,
12499
12752
  "inductor_vert": inductor_vert_default,
12500
12753
  "laser_diode_horz": laser_diode_horz_default,