schematic-symbols 0.0.74 → 0.0.76

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
@@ -3169,6 +3169,647 @@ ref9.x = val8.x;
3169
3169
  val8.y += 0.15;
3170
3170
  var mosfet_depletion_normally_on_vert_default = rotated4;
3171
3171
 
3172
+ // assets/generated/mushroom_head_normally_open_momentary.json
3173
+ var mushroom_head_normally_open_momentary_default = {
3174
+ paths: {
3175
+ "path12-1-8-6-9": {
3176
+ type: "path",
3177
+ points: [
3178
+ {
3179
+ x: 0.005962250000000502,
3180
+ y: -0.06421149999999898
3181
+ },
3182
+ {
3183
+ x: 0.005962250000000502,
3184
+ y: 0.010086499999999887
3185
+ }
3186
+ ],
3187
+ color: "primary",
3188
+ fill: false
3189
+ },
3190
+ "path12-1-5-6": {
3191
+ type: "path",
3192
+ points: [
3193
+ {
3194
+ x: -0.48740705000000073,
3195
+ y: 0.0979945000000022
3196
+ },
3197
+ {
3198
+ x: -0.17310075000000058,
3199
+ y: 0.0979945000000022
3200
+ }
3201
+ ],
3202
+ color: "primary",
3203
+ fill: false
3204
+ },
3205
+ "path12-1-8-0": {
3206
+ type: "path",
3207
+ points: [
3208
+ {
3209
+ x: -0.16008695000000017,
3210
+ y: 0.015660500000000965
3211
+ },
3212
+ {
3213
+ x: 0.1719709499999995,
3214
+ y: 0.015660500000000965
3215
+ }
3216
+ ],
3217
+ color: "primary",
3218
+ fill: false
3219
+ },
3220
+ "path12-1-0": {
3221
+ type: "path",
3222
+ points: [
3223
+ {
3224
+ x: 0.1954987499999996,
3225
+ y: 0.09760550000000023
3226
+ },
3227
+ {
3228
+ x: 0.4881436499999996,
3229
+ y: 0.09760550000000023
3230
+ }
3231
+ ],
3232
+ color: "primary",
3233
+ fill: false
3234
+ },
3235
+ path2: {
3236
+ type: "path",
3237
+ points: [
3238
+ {
3239
+ x: -0.09950044999999985,
3240
+ y: -0.05339449999999957
3241
+ },
3242
+ {
3243
+ x: -0.09950104999999976,
3244
+ y: -0.05697449999999904
3245
+ },
3246
+ {
3247
+ x: -0.09932044999999956,
3248
+ y: -0.06050449999999863
3249
+ },
3250
+ {
3251
+ x: -0.09896044999999987,
3252
+ y: -0.06401049999999842
3253
+ },
3254
+ {
3255
+ x: -0.09860045000000017,
3256
+ y: -0.06750049999999774
3257
+ },
3258
+ {
3259
+ x: -0.09806045000000019,
3260
+ y: -0.07093049999999756
3261
+ },
3262
+ {
3263
+ x: -0.09735344999999995,
3264
+ y: -0.07429949999999863
3265
+ },
3266
+ {
3267
+ x: -0.09663345000000056,
3268
+ y: -0.07765949999999933
3269
+ },
3270
+ {
3271
+ x: -0.09578045000000035,
3272
+ y: -0.080999499999999
3273
+ },
3274
+ {
3275
+ x: -0.09475245000000054,
3276
+ y: -0.08424949999999853
3277
+ },
3278
+ {
3279
+ x: -0.09379245000000047,
3280
+ y: -0.08755949999999757
3281
+ },
3282
+ {
3283
+ x: -0.09254545000000025,
3284
+ y: -0.09067949999999847
3285
+ },
3286
+ {
3287
+ x: -0.09120844999999989,
3288
+ y: -0.09377950000000013
3289
+ },
3290
+ {
3291
+ x: -0.08986644999999971,
3292
+ y: -0.09686950000000039
3293
+ },
3294
+ {
3295
+ x: -0.08839545000000015,
3296
+ y: -0.09992949999999823
3297
+ },
3298
+ {
3299
+ x: -0.08675845000000049,
3300
+ y: -0.1028394999999982
3301
+ },
3302
+ {
3303
+ x: -0.08506245000000057,
3304
+ y: -0.10569950000000006
3305
+ },
3306
+ {
3307
+ x: -0.08334244999999996,
3308
+ y: -0.10860950000000003
3309
+ },
3310
+ {
3311
+ x: -0.08146945000000017,
3312
+ y: -0.11138949999999781
3313
+ },
3314
+ {
3315
+ x: -0.0795824500000002,
3316
+ y: -0.11416949999999915
3317
+ },
3318
+ {
3319
+ x: -0.07752845000000086,
3320
+ y: -0.11680949999999868
3321
+ },
3322
+ {
3323
+ x: -0.07546944999999994,
3324
+ y: -0.11942949999999897
3325
+ },
3326
+ {
3327
+ x: -0.07325945000000011,
3328
+ y: -0.12193949999999987
3329
+ },
3330
+ {
3331
+ x: -0.07104145000000006,
3332
+ y: -0.12444949999999722
3333
+ },
3334
+ {
3335
+ x: -0.06867544999999975,
3336
+ y: -0.12682949999999948
3337
+ },
3338
+ {
3339
+ x: -0.06628845000000005,
3340
+ y: -0.12916949999999972
3341
+ },
3342
+ {
3343
+ x: -0.06379544999999975,
3344
+ y: -0.13141949999999802
3345
+ },
3346
+ {
3347
+ x: -0.06114145000000004,
3348
+ y: -0.1334894999999996
3349
+ },
3350
+ {
3351
+ x: -0.05848745000000033,
3352
+ y: -0.135569499999999
3353
+ },
3354
+ {
3355
+ x: -0.05584345000000024,
3356
+ y: -0.13761949999999956
3357
+ },
3358
+ {
3359
+ x: -0.05306845000000049,
3360
+ y: -0.13949949999999944
3361
+ },
3362
+ {
3363
+ x: -0.05029345000000074,
3364
+ y: -0.14139950000000034
3365
+ },
3366
+ {
3367
+ x: -0.04738844999999969,
3368
+ y: -0.14311950000000095
3369
+ },
3370
+ {
3371
+ x: -0.04437445000000029,
3372
+ y: -0.14469949999999798
3373
+ },
3374
+ {
3375
+ x: -0.04134744999999995,
3376
+ y: -0.14631949999999883
3377
+ },
3378
+ {
3379
+ x: -0.038316449999999946,
3380
+ y: -0.1477594999999976
3381
+ },
3382
+ {
3383
+ x: -0.03515645000000056,
3384
+ y: -0.14907949999999914
3385
+ },
3386
+ {
3387
+ x: -0.03204444999999989,
3388
+ y: -0.15036950000000004
3389
+ },
3390
+ {
3391
+ x: -0.028770450000000558,
3392
+ y: -0.1515594999999994
3393
+ },
3394
+ {
3395
+ x: -0.025468450000000864,
3396
+ y: -0.1525794999999981
3397
+ },
3398
+ {
3399
+ x: -0.02213745000000067,
3400
+ y: -0.1536395000000006
3401
+ },
3402
+ {
3403
+ x: -0.018790450000000014,
3404
+ y: -0.15442949999999733
3405
+ },
3406
+ {
3407
+ x: -0.01536325000000005,
3408
+ y: -0.15512949999999748
3409
+ },
3410
+ {
3411
+ x: -0.011980249999999693,
3412
+ y: -0.1558294999999994
3413
+ },
3414
+ {
3415
+ x: -0.008442250000000762,
3416
+ y: -0.15641949999999838
3417
+ },
3418
+ {
3419
+ x: -0.004890650000000107,
3420
+ y: -0.15674949999999832
3421
+ },
3422
+ {
3423
+ x: -0.0013406500000003874,
3424
+ y: -0.15704949999999585
3425
+ },
3426
+ {
3427
+ x: 0.002252350000000014,
3428
+ y: -0.1571494999999974
3429
+ },
3430
+ {
3431
+ x: 0.005893849999999645,
3432
+ y: -0.1571494999999974
3433
+ },
3434
+ {
3435
+ x: 0.009534849999998762,
3436
+ y: -0.1571494999999974
3437
+ },
3438
+ {
3439
+ x: 0.013136849999999534,
3440
+ y: -0.15704949999999585
3441
+ },
3442
+ {
3443
+ x: 0.016683149999999536,
3444
+ y: -0.15674949999999832
3445
+ },
3446
+ {
3447
+ x: 0.020231149999998976,
3448
+ y: -0.15644949999999902
3449
+ },
3450
+ {
3451
+ x: 0.023727149999999142,
3452
+ y: -0.15604949999999818
3453
+ },
3454
+ {
3455
+ x: 0.02715474999999934,
3456
+ y: -0.15512949999999748
3457
+ },
3458
+ {
3459
+ x: 0.03057874999999921,
3460
+ y: -0.15452949999999888
3461
+ },
3462
+ {
3463
+ x: 0.03395574999999962,
3464
+ y: -0.15367949999999908
3465
+ },
3466
+ {
3467
+ x: 0.03725995000000015,
3468
+ y: -0.1525894999999995
3469
+ },
3470
+ {
3471
+ x: 0.0405679499999998,
3472
+ y: -0.15152949999999876
3473
+ },
3474
+ {
3475
+ x: 0.04379994999999948,
3476
+ y: -0.15041949999999815
3477
+ },
3478
+ {
3479
+ x: 0.04695294999999966,
3480
+ y: -0.14909950000000016
3481
+ },
3482
+ {
3483
+ x: 0.050101949999999285,
3484
+ y: -0.14780949999999926
3485
+ },
3486
+ {
3487
+ x: 0.053191949999999544,
3488
+ y: -0.14631949999999883
3489
+ },
3490
+ {
3491
+ x: 0.05617794999999948,
3492
+ y: -0.14473950000000002
3493
+ },
3494
+ {
3495
+ x: 0.05916694999999983,
3496
+ y: -0.14311950000000095
3497
+ },
3498
+ {
3499
+ x: 0.06206694999999929,
3500
+ y: -0.14139950000000034
3501
+ },
3502
+ {
3503
+ x: 0.06487294999999982,
3504
+ y: -0.13955950000000072
3505
+ },
3506
+ {
3507
+ x: 0.06767095000000012,
3508
+ y: -0.13769950000000186
3509
+ },
3510
+ {
3511
+ x: 0.07038294999999994,
3512
+ y: -0.1356995000000012
3513
+ },
3514
+ {
3515
+ x: 0.07299194999999958,
3516
+ y: -0.13357950000000152
3517
+ },
3518
+ {
3519
+ x: 0.07560095000000011,
3520
+ y: -0.13145950000000184
3521
+ },
3522
+ {
3523
+ x: 0.07809294999999938,
3524
+ y: -0.12920950000000175
3525
+ },
3526
+ {
3527
+ x: 0.08047994999999997,
3528
+ y: -0.12687950000000114
3529
+ },
3530
+ {
3531
+ x: 0.08287894999999956,
3532
+ y: -0.12453950000000091
3533
+ },
3534
+ {
3535
+ x: 0.08515495000000062,
3536
+ y: -0.12206950000000028
3537
+ },
3538
+ {
3539
+ x: 0.08729294999999926,
3540
+ y: -0.11951950000000089
3541
+ },
3542
+ {
3543
+ x: 0.08944594999999911,
3544
+ y: -0.11692950000000124
3545
+ },
3546
+ {
3547
+ x: 0.0914679499999993,
3548
+ y: -0.11430950000000095
3549
+ },
3550
+ {
3551
+ x: 0.09337295000000001,
3552
+ y: -0.11152949999999962
3553
+ },
3554
+ {
3555
+ x: 0.0971669499999992,
3556
+ y: -0.1060194999999986
3557
+ },
3558
+ {
3559
+ x: 0.10043494999999947,
3560
+ y: -0.1001245000000015
3561
+ },
3562
+ {
3563
+ x: 0.10311494999999926,
3564
+ y: -0.09390950000000053
3565
+ },
3566
+ {
3567
+ x: 0.10444094999999987,
3568
+ y: -0.09081950000000028
3569
+ },
3570
+ {
3571
+ x: 0.10564094999999973,
3572
+ y: -0.08762950000000025
3573
+ },
3574
+ {
3575
+ x: 0.10667494999999949,
3576
+ y: -0.08435950000000147
3577
+ },
3578
+ {
3579
+ x: 0.10769994999999977,
3580
+ y: -0.08110950000000194
3581
+ },
3582
+ {
3583
+ x: 0.1085699499999997,
3584
+ y: -0.07779950000000291
3585
+ },
3586
+ {
3587
+ x: 0.10927795000000007,
3588
+ y: -0.07442950000000259
3589
+ },
3590
+ {
3591
+ x: 0.10999794999999946,
3592
+ y: -0.0710595000000005
3593
+ },
3594
+ {
3595
+ x: 0.11051994999999959,
3596
+ y: -0.06762950000000068
3597
+ },
3598
+ {
3599
+ x: 0.11088394999999984,
3600
+ y: -0.06413950000000135
3601
+ },
3602
+ {
3603
+ x: 0.11124394999999954,
3604
+ y: -0.06064950000000202
3605
+ },
3606
+ {
3607
+ x: 0.11142394999999983,
3608
+ y: -0.05709950000000141
3609
+ },
3610
+ {
3611
+ x: 0.11142394999999983,
3612
+ y: -0.053543499999999966
3613
+ },
3614
+ {
3615
+ x: 0.10483595000000001,
3616
+ y: -0.05353049999999904
3617
+ },
3618
+ {
3619
+ x: 0.0982479500000002,
3620
+ y: -0.05351650000000063
3621
+ },
3622
+ {
3623
+ x: 0.09164495000000006,
3624
+ y: -0.05351850000000091
3625
+ },
3626
+ {
3627
+ x: 0.08505695000000024,
3628
+ y: -0.05350850000000129
3629
+ },
3630
+ {
3631
+ x: 0.078453950000001,
3632
+ y: -0.05350950000000054
3633
+ },
3634
+ {
3635
+ x: 0.07186595000000029,
3636
+ y: -0.053496499999999614
3637
+ },
3638
+ {
3639
+ x: 0.06526295000000104,
3640
+ y: -0.05349750000000064
3641
+ },
3642
+ {
3643
+ x: 0.058674950000001225,
3644
+ y: -0.053485499999998964
3645
+ },
3646
+ {
3647
+ x: 0.05208695000000052,
3648
+ y: -0.05347349999999906
3649
+ },
3650
+ {
3651
+ x: 0.04548395000000127,
3652
+ y: -0.05347549999999934
3653
+ },
3654
+ {
3655
+ x: 0.038895950000001456,
3656
+ y: -0.05346150000000094
3657
+ },
3658
+ {
3659
+ x: 0.03230795000000075,
3660
+ y: -0.053448499999998234
3661
+ },
3662
+ {
3663
+ x: 0.025704950000001503,
3664
+ y: -0.053453499999998044
3665
+ },
3666
+ {
3667
+ x: 0.019101950000001366,
3668
+ y: -0.053454499999997296
3669
+ },
3670
+ {
3671
+ x: 0.01251395000000155,
3672
+ y: -0.05344149999999637
3673
+ },
3674
+ {
3675
+ x: 0.005925950000001734,
3676
+ y: -0.05342749999999796
3677
+ },
3678
+ {
3679
+ x: -6560499999990199e-19,
3680
+ y: -0.0534214999999989
3681
+ },
3682
+ {
3683
+ x: -0.007240049999999165,
3684
+ y: -0.05341449999999881
3685
+ },
3686
+ {
3687
+ x: -0.01382404999999931,
3688
+ y: -0.05340849999999975
3689
+ },
3690
+ {
3691
+ x: -0.020406049999999176,
3692
+ y: -0.053402500000000686
3693
+ },
3694
+ {
3695
+ x: -0.02699004999999932,
3696
+ y: -0.053394500000001344
3697
+ },
3698
+ {
3699
+ x: -0.03357404999999947,
3700
+ y: -0.05338950000000331
3701
+ },
3702
+ {
3703
+ x: -0.04015604999999933,
3704
+ y: -0.05338350000000425
3705
+ },
3706
+ {
3707
+ x: -0.04674004999999948,
3708
+ y: -0.05337450000000388
3709
+ },
3710
+ {
3711
+ x: -0.05332205000000023,
3712
+ y: -0.053368500000004815
3713
+ },
3714
+ {
3715
+ x: -0.05990605000000038,
3716
+ y: -0.05336050000000547
3717
+ },
3718
+ {
3719
+ x: -0.06649005000000052,
3720
+ y: -0.05335550000000566
3721
+ },
3722
+ {
3723
+ x: -0.07307205000000039,
3724
+ y: -0.0533495000000066
3725
+ },
3726
+ {
3727
+ x: -0.07965605000000053,
3728
+ y: -0.05334150000000726
3729
+ },
3730
+ {
3731
+ x: -0.08624005000000068,
3732
+ y: -0.053335500000008196
3733
+ },
3734
+ {
3735
+ x: -0.09282205000000143,
3736
+ y: -0.05333050000001016
3737
+ }
3738
+ ],
3739
+ color: "primary",
3740
+ fill: true
3741
+ }
3742
+ },
3743
+ texts: {
3744
+ top1: {
3745
+ type: "text",
3746
+ text: "{REF}",
3747
+ x: 0.01254745000000046,
3748
+ y: -0.26112850000000165
3749
+ },
3750
+ bottom1: {
3751
+ type: "text",
3752
+ text: "{VAL}",
3753
+ x: -0.16130964999999975,
3754
+ y: 0.27112849999999966
3755
+ }
3756
+ },
3757
+ refblocks: {
3758
+ left1: {
3759
+ x: -0.4717985499999999,
3760
+ y: 0.0979675000000011
3761
+ },
3762
+ right1: {
3763
+ x: 0.4717985499999999,
3764
+ y: 0.09799250000000015
3765
+ }
3766
+ },
3767
+ bounds: {
3768
+ minX: -0.4999569909999999,
3769
+ maxX: 0.4999569909999999,
3770
+ minY: -0.36112850000000163,
3771
+ maxY: 0.27112849999999966,
3772
+ width: 1,
3773
+ height: 1,
3774
+ centerX: 0,
3775
+ centerY: -0.045000000000000984
3776
+ },
3777
+ circles: {}
3778
+ };
3779
+
3780
+ // symbols/mushroom_head_normally_open_momentary_horz.ts
3781
+ var { paths: paths18, texts: texts22, bounds: bounds18, refblocks: refblocks18, circles: circles12 } = mushroom_head_normally_open_momentary_default;
3782
+ var mushroom_head_normally_open_momentary_horz_default = defineSymbol({
3783
+ primitives: [
3784
+ ...Object.values(paths18),
3785
+ ...Object.values(circles12),
3786
+ { ...texts22.top1, anchor: "middle_bottom", x: 0 },
3787
+ { ...texts22.bottom1, anchor: "middle_top", x: 0 }
3788
+ ],
3789
+ ports: [
3790
+ { ...refblocks18.left1, labels: ["1"] },
3791
+ { ...refblocks18.right1, labels: ["2"] }
3792
+ ],
3793
+ size: { width: bounds18.width, height: bounds18.height },
3794
+ center: { x: bounds18.centerX + 6e-3, y: bounds18.centerY + 0.06 }
3795
+ });
3796
+
3797
+ // symbols/mushroom_head_normally_open_momentary_vert.ts
3798
+ var rotated5 = rotateSymbol(mushroom_head_normally_open_momentary_horz_default);
3799
+ var ref10 = rotated5.primitives.find(
3800
+ (p) => p.type === "text" && p.text === "{REF}"
3801
+ );
3802
+ var val9 = rotated5.primitives.find(
3803
+ (p) => p.type === "text" && p.text === "{VAL}"
3804
+ );
3805
+ ref10.anchor = "middle_left";
3806
+ val9.anchor = "middle_right";
3807
+ ref10.x = ref10.x - 0.03;
3808
+ ref10.y = ref10.y;
3809
+ val9.x = val9.x;
3810
+ val9.y = 0;
3811
+ var mushroom_head_normally_open_momentary_vert_default = rotated5;
3812
+
3172
3813
  // assets/generated/n_channel_d_mosfet_transistor.json
3173
3814
  var n_channel_d_mosfet_transistor_default = {
3174
3815
  paths: {
@@ -3363,37 +4004,37 @@ var n_channel_d_mosfet_transistor_default = {
3363
4004
  };
3364
4005
 
3365
4006
  // symbols/n_channel_d_mosfet_transistor_horz.ts
3366
- var { paths: paths18, texts: texts22, bounds: bounds18, refblocks: refblocks18, circles: circles12 } = n_channel_d_mosfet_transistor_default;
4007
+ var { paths: paths19, texts: texts23, bounds: bounds19, refblocks: refblocks19, circles: circles13 } = n_channel_d_mosfet_transistor_default;
3367
4008
  var n_channel_d_mosfet_transistor_horz_default = defineSymbol({
3368
4009
  primitives: [
3369
- ...Object.values(paths18),
3370
- ...Object.values(circles12),
3371
- { ...texts22.top1, anchor: "middle_right", x: 0 },
3372
- { ...texts22.bottom1, anchor: "middle_right", x: 0 }
4010
+ ...Object.values(paths19),
4011
+ ...Object.values(circles13),
4012
+ { ...texts23.top1, anchor: "middle_right", x: 0 },
4013
+ { ...texts23.bottom1, anchor: "middle_right", x: 0 }
3373
4014
  ],
3374
4015
  ports: [
3375
- { ...refblocks18.top1, labels: ["1", "drain"] },
4016
+ { ...refblocks19.top1, labels: ["1", "drain"] },
3376
4017
  // TODO add more "standard" labels
3377
- { ...refblocks18.bottom1, labels: ["2", "source"] },
4018
+ { ...refblocks19.bottom1, labels: ["2", "source"] },
3378
4019
  // TODO add more "standard" labels
3379
- { ...refblocks18.left1, labels: ["3", "gate"] }
4020
+ { ...refblocks19.left1, labels: ["3", "gate"] }
3380
4021
  // TODO add more "standard" labels
3381
4022
  ],
3382
- size: { width: bounds18.width, height: bounds18.height },
3383
- center: { x: bounds18.centerX, y: bounds18.centerY }
4023
+ size: { width: bounds19.width, height: bounds19.height },
4024
+ center: { x: bounds19.centerX, y: bounds19.centerY }
3384
4025
  });
3385
4026
 
3386
4027
  // symbols/n_channel_d_mosfet_transistor_vert.ts
3387
4028
  var rotatedSymbol9 = rotateSymbol(n_channel_d_mosfet_transistor_horz_default);
3388
- var texts23 = rotatedSymbol9.primitives.filter((p) => p.type === "text");
3389
- var val9 = texts23.find((t) => t.text === "{VAL}");
3390
- val9.x = -0.35;
3391
- val9.y = 0;
3392
- val9.anchor = "middle_right";
3393
- var ref10 = texts23.find((t) => t.text === "{REF}");
3394
- ref10.y = 0;
3395
- ref10.x = 0.35;
3396
- ref10.anchor = "middle_left";
4029
+ var texts24 = rotatedSymbol9.primitives.filter((p) => p.type === "text");
4030
+ var val10 = texts24.find((t) => t.text === "{VAL}");
4031
+ val10.x = -0.35;
4032
+ val10.y = 0;
4033
+ val10.anchor = "middle_right";
4034
+ var ref11 = texts24.find((t) => t.text === "{REF}");
4035
+ ref11.y = 0;
4036
+ ref11.x = 0.35;
4037
+ ref11.anchor = "middle_left";
3397
4038
  var n_channel_d_mosfet_transistor_vert_default = rotatedSymbol9;
3398
4039
 
3399
4040
  // assets/generated/njfet_transistor.json
@@ -3560,37 +4201,37 @@ var njfet_transistor_default = {
3560
4201
  };
3561
4202
 
3562
4203
  // symbols/njfet_transistor_horz.ts
3563
- var { paths: paths19, texts: texts24, bounds: bounds19, refblocks: refblocks19, circles: circles13 } = njfet_transistor_default;
4204
+ var { paths: paths20, texts: texts25, bounds: bounds20, refblocks: refblocks20, circles: circles14 } = njfet_transistor_default;
3564
4205
  var njfet_transistor_horz_default = defineSymbol({
3565
4206
  primitives: [
3566
- ...Object.values(paths19),
3567
- ...Object.values(circles13),
3568
- { ...texts24.top1, anchor: "middle_right", x: 0 },
3569
- { ...texts24.bottom1, anchor: "middle_right", x: 0 }
4207
+ ...Object.values(paths20),
4208
+ ...Object.values(circles14),
4209
+ { ...texts25.top1, anchor: "middle_right", x: 0 },
4210
+ { ...texts25.bottom1, anchor: "middle_right", x: 0 }
3570
4211
  ],
3571
4212
  ports: [
3572
- { ...refblocks19.top1, labels: ["1", "drain"] },
4213
+ { ...refblocks20.top1, labels: ["1", "drain"] },
3573
4214
  // TODO add more "standard" labels
3574
- { ...refblocks19.bottom1, labels: ["2", "source"] },
4215
+ { ...refblocks20.bottom1, labels: ["2", "source"] },
3575
4216
  // TODO add more "standard" labels
3576
- { ...refblocks19.left1, labels: ["3", "gate"] }
4217
+ { ...refblocks20.left1, labels: ["3", "gate"] }
3577
4218
  // TODO add more "standard" labels
3578
4219
  ],
3579
- size: { width: bounds19.width, height: bounds19.height },
3580
- center: { x: bounds19.centerX, y: bounds19.centerY }
4220
+ size: { width: bounds20.width, height: bounds20.height },
4221
+ center: { x: bounds20.centerX, y: bounds20.centerY }
3581
4222
  });
3582
4223
 
3583
4224
  // symbols/njfet_transistor_vert.ts
3584
4225
  var rotatedSymbol10 = rotateSymbol(njfet_transistor_horz_default);
3585
- var texts25 = rotatedSymbol10.primitives.filter((p) => p.type === "text");
3586
- var val10 = texts25.find((t) => t.text === "{VAL}");
3587
- val10.x = -0.35;
3588
- val10.y = 0;
3589
- val10.anchor = "middle_right";
3590
- var ref11 = texts25.find((t) => t.text === "{REF}");
3591
- ref11.y = 0;
3592
- ref11.x = 0.35;
3593
- ref11.anchor = "middle_left";
4226
+ var texts26 = rotatedSymbol10.primitives.filter((p) => p.type === "text");
4227
+ var val11 = texts26.find((t) => t.text === "{VAL}");
4228
+ val11.x = -0.35;
4229
+ val11.y = 0;
4230
+ val11.anchor = "middle_right";
4231
+ var ref12 = texts26.find((t) => t.text === "{REF}");
4232
+ ref12.y = 0;
4233
+ ref12.x = 0.35;
4234
+ ref12.anchor = "middle_left";
3594
4235
  var njfet_transistor_vert_default = rotatedSymbol10;
3595
4236
 
3596
4237
  // assets/generated/npn_bipolar_transistor.json
@@ -3757,11 +4398,11 @@ var npn_bipolar_transistor_default = {
3757
4398
  };
3758
4399
 
3759
4400
  // symbols/npn_bipolar_transistor_horz.ts
3760
- var { paths: paths20, texts: texts26, bounds: bounds20, refblocks: refblocks20, circles: circles14 } = npn_bipolar_transistor_default;
4401
+ var { paths: paths21, texts: texts27, bounds: bounds21, refblocks: refblocks21, circles: circles15 } = npn_bipolar_transistor_default;
3761
4402
  var npn_bipolar_transistor_horz_default = defineSymbol({
3762
4403
  primitives: [
3763
- ...Object.values(paths20),
3764
- ...Object.values(circles14),
4404
+ ...Object.values(paths21),
4405
+ ...Object.values(circles15),
3765
4406
  {
3766
4407
  type: "text",
3767
4408
  text: "{REF}",
@@ -3778,19 +4419,19 @@ var npn_bipolar_transistor_horz_default = defineSymbol({
3778
4419
  }
3779
4420
  ],
3780
4421
  ports: [
3781
- { ...refblocks20.top1, labels: ["1", "collector"] },
3782
- { ...refblocks20.bottom1, labels: ["2", "emitter"] },
3783
- { ...refblocks20.left1, labels: ["3", "base"] }
4422
+ { ...refblocks21.top1, labels: ["1", "collector"] },
4423
+ { ...refblocks21.bottom1, labels: ["2", "emitter"] },
4424
+ { ...refblocks21.left1, labels: ["3", "base"] }
3784
4425
  ],
3785
- size: { width: bounds20.width, height: bounds20.height },
3786
- center: { x: bounds20.centerX, y: bounds20.centerY }
4426
+ size: { width: bounds21.width, height: bounds21.height },
4427
+ center: { x: bounds21.centerX, y: bounds21.centerY }
3787
4428
  });
3788
4429
 
3789
4430
  // symbols/npn_bipolar_transistor_vert.ts
3790
4431
  var rotatedSymbol11 = rotateSymbol(npn_bipolar_transistor_horz_default);
3791
- var texts27 = rotatedSymbol11.primitives.filter((p) => p.type === "text");
3792
- var ref12 = texts27.find((t) => t.text === "{REF}");
3793
- ref12.anchor = "middle_left";
4432
+ var texts28 = rotatedSymbol11.primitives.filter((p) => p.type === "text");
4433
+ var ref13 = texts28.find((t) => t.text === "{REF}");
4434
+ ref13.anchor = "middle_left";
3794
4435
  var npn_bipolar_transistor_vert_default = rotatedSymbol11;
3795
4436
 
3796
4437
  // assets/generated/p_channel_d_mosfet_transistor.json
@@ -3987,37 +4628,37 @@ var p_channel_d_mosfet_transistor_default = {
3987
4628
  };
3988
4629
 
3989
4630
  // symbols/p_channel_d_mosfet_transistor_horz.ts
3990
- var { paths: paths21, texts: texts28, bounds: bounds21, refblocks: refblocks21, circles: circles15 } = p_channel_d_mosfet_transistor_default;
4631
+ var { paths: paths22, texts: texts29, bounds: bounds22, refblocks: refblocks22, circles: circles16 } = p_channel_d_mosfet_transistor_default;
3991
4632
  var p_channel_d_mosfet_transistor_horz_default = defineSymbol({
3992
4633
  primitives: [
3993
- ...Object.values(paths21),
3994
- ...Object.values(circles15),
3995
- { ...texts28.top1, anchor: "middle_right", x: 0 },
3996
- { ...texts28.bottom1, anchor: "middle_right", x: 0 }
4634
+ ...Object.values(paths22),
4635
+ ...Object.values(circles16),
4636
+ { ...texts29.top1, anchor: "middle_right", x: 0 },
4637
+ { ...texts29.bottom1, anchor: "middle_right", x: 0 }
3997
4638
  ],
3998
4639
  ports: [
3999
- { ...refblocks21.top1, labels: ["1", "drain"] },
4640
+ { ...refblocks22.top1, labels: ["1", "drain"] },
4000
4641
  // TODO add more "standard" labels
4001
- { ...refblocks21.bottom1, labels: ["2", "source"] },
4642
+ { ...refblocks22.bottom1, labels: ["2", "source"] },
4002
4643
  // TODO add more "standard" labels
4003
- { ...refblocks21.left1, labels: ["3", "gate"] }
4644
+ { ...refblocks22.left1, labels: ["3", "gate"] }
4004
4645
  // TODO add more "standard" labels
4005
4646
  ],
4006
- size: { width: bounds21.width, height: bounds21.height },
4007
- center: { x: bounds21.centerX, y: bounds21.centerY }
4647
+ size: { width: bounds22.width, height: bounds22.height },
4648
+ center: { x: bounds22.centerX, y: bounds22.centerY }
4008
4649
  });
4009
4650
 
4010
4651
  // symbols/p_channel_d_mosfet_transistor_vert.ts
4011
4652
  var rotatedSymbol12 = rotateSymbol(p_channel_d_mosfet_transistor_horz_default);
4012
- var texts29 = rotatedSymbol12.primitives.filter((p) => p.type === "text");
4013
- var val11 = texts29.find((t) => t.text === "{VAL}");
4014
- val11.x = -0.35;
4015
- val11.y = 0;
4016
- val11.anchor = "middle_right";
4017
- var ref13 = texts29.find((t) => t.text === "{REF}");
4018
- ref13.y = 0;
4019
- ref13.x = 0.35;
4020
- ref13.anchor = "middle_left";
4653
+ var texts30 = rotatedSymbol12.primitives.filter((p) => p.type === "text");
4654
+ var val12 = texts30.find((t) => t.text === "{VAL}");
4655
+ val12.x = -0.35;
4656
+ val12.y = 0;
4657
+ val12.anchor = "middle_right";
4658
+ var ref14 = texts30.find((t) => t.text === "{REF}");
4659
+ ref14.y = 0;
4660
+ ref14.x = 0.35;
4661
+ ref14.anchor = "middle_left";
4021
4662
  var p_channel_d_mosfet_transistor_vert_default = rotatedSymbol12;
4022
4663
 
4023
4664
  // assets/generated/p_channel_e_mosfet_transistor.json
@@ -4244,37 +4885,37 @@ var p_channel_e_mosfet_transistor_default = {
4244
4885
  };
4245
4886
 
4246
4887
  // symbols/p_channel_e_mosfet_transistor_horz.ts
4247
- var { paths: paths22, texts: texts30, bounds: bounds22, refblocks: refblocks22, circles: circles16 } = p_channel_e_mosfet_transistor_default;
4888
+ var { paths: paths23, texts: texts31, bounds: bounds23, refblocks: refblocks23, circles: circles17 } = p_channel_e_mosfet_transistor_default;
4248
4889
  var p_channel_e_mosfet_transistor_horz_default = defineSymbol({
4249
4890
  primitives: [
4250
- ...Object.values(paths22),
4251
- ...Object.values(circles16),
4252
- { ...texts30.top1, anchor: "middle_right", x: 0 },
4253
- { ...texts30.bottom1, anchor: "middle_right", x: 0 }
4891
+ ...Object.values(paths23),
4892
+ ...Object.values(circles17),
4893
+ { ...texts31.top1, anchor: "middle_right", x: 0 },
4894
+ { ...texts31.bottom1, anchor: "middle_right", x: 0 }
4254
4895
  ],
4255
4896
  ports: [
4256
- { ...refblocks22.top1, labels: ["1", "drain"] },
4897
+ { ...refblocks23.top1, labels: ["1", "drain"] },
4257
4898
  // TODO add more "standard" labels
4258
- { ...refblocks22.bottom1, labels: ["2", "source"] },
4899
+ { ...refblocks23.bottom1, labels: ["2", "source"] },
4259
4900
  // TODO add more "standard" labels
4260
- { ...refblocks22.left1, labels: ["3", "gate"] }
4901
+ { ...refblocks23.left1, labels: ["3", "gate"] }
4261
4902
  // TODO add more "standard" labels
4262
4903
  ],
4263
- size: { width: bounds22.width, height: bounds22.height },
4264
- center: { x: bounds22.centerX, y: bounds22.centerY }
4904
+ size: { width: bounds23.width, height: bounds23.height },
4905
+ center: { x: bounds23.centerX, y: bounds23.centerY }
4265
4906
  });
4266
4907
 
4267
4908
  // symbols/p_channel_e_mosfet_transistor_vert.ts
4268
4909
  var rotatedSymbol13 = rotateSymbol(p_channel_e_mosfet_transistor_horz_default);
4269
- var texts31 = rotatedSymbol13.primitives.filter((p) => p.type === "text");
4270
- var val12 = texts31.find((t) => t.text === "{VAL}");
4271
- val12.x = -0.35;
4272
- val12.y = 0;
4273
- val12.anchor = "middle_right";
4274
- var ref14 = texts31.find((t) => t.text === "{REF}");
4275
- ref14.y = 0;
4276
- ref14.x = 0.35;
4277
- ref14.anchor = "middle_left";
4910
+ var texts32 = rotatedSymbol13.primitives.filter((p) => p.type === "text");
4911
+ var val13 = texts32.find((t) => t.text === "{VAL}");
4912
+ val13.x = -0.35;
4913
+ val13.y = 0;
4914
+ val13.anchor = "middle_right";
4915
+ var ref15 = texts32.find((t) => t.text === "{REF}");
4916
+ ref15.y = 0;
4917
+ ref15.x = 0.35;
4918
+ ref15.anchor = "middle_left";
4278
4919
  var p_channel_e_mosfet_transistor_vert_default = rotatedSymbol13;
4279
4920
 
4280
4921
  // assets/generated/photodiode.json
@@ -4502,11 +5143,11 @@ var photodiode_default = {
4502
5143
  };
4503
5144
 
4504
5145
  // symbols/photodiode_horz.ts
4505
- var { paths: paths23, texts: texts32, bounds: bounds23, refblocks: refblocks23, circles: circles17 } = photodiode_default;
5146
+ var { paths: paths24, texts: texts33, bounds: bounds24, refblocks: refblocks24, circles: circles18 } = photodiode_default;
4506
5147
  var photodiode_horz_default = defineSymbol({
4507
5148
  primitives: [
4508
- ...Object.values(paths23),
4509
- ...Object.values(circles17),
5149
+ ...Object.values(paths24),
5150
+ ...Object.values(circles18),
4510
5151
  {
4511
5152
  type: "text",
4512
5153
  text: "{REF}",
@@ -4523,21 +5164,21 @@ var photodiode_horz_default = defineSymbol({
4523
5164
  }
4524
5165
  ],
4525
5166
  ports: [
4526
- { ...refblocks23.left1, labels: ["1"] },
5167
+ { ...refblocks24.left1, labels: ["1"] },
4527
5168
  // TODO add more "standard" labels
4528
- { ...refblocks23.right1, labels: ["2"] }
5169
+ { ...refblocks24.right1, labels: ["2"] }
4529
5170
  // TODO add more "standard" labels
4530
5171
  ],
4531
- size: { width: bounds23.width, height: bounds23.height },
4532
- center: { x: bounds23.centerX, y: bounds23.centerY }
5172
+ size: { width: bounds24.width, height: bounds24.height },
5173
+ center: { x: bounds24.centerX, y: bounds24.centerY }
4533
5174
  });
4534
5175
 
4535
5176
  // symbols/photodiode_vert.ts
4536
5177
  var rotatedSymbol14 = rotateSymbol(photodiode_horz_default);
4537
- var texts33 = rotatedSymbol14.primitives.filter((p) => p.type === "text");
4538
- var ref15 = texts33.find((t) => t.text === "{REF}");
4539
- ref15.y = 0;
4540
- ref15.anchor = "middle_left";
5178
+ var texts34 = rotatedSymbol14.primitives.filter((p) => p.type === "text");
5179
+ var ref16 = texts34.find((t) => t.text === "{REF}");
5180
+ ref16.y = 0;
5181
+ ref16.anchor = "middle_left";
4541
5182
  var photodiode_vert_default = rotatedSymbol14;
4542
5183
 
4543
5184
  // assets/generated/pjfet_transistor.json
@@ -4704,37 +5345,37 @@ var pjfet_transistor_default = {
4704
5345
  };
4705
5346
 
4706
5347
  // symbols/pjfet_transistor_horz.ts
4707
- var { paths: paths24, texts: texts34, bounds: bounds24, refblocks: refblocks24, circles: circles18 } = pjfet_transistor_default;
5348
+ var { paths: paths25, texts: texts35, bounds: bounds25, refblocks: refblocks25, circles: circles19 } = pjfet_transistor_default;
4708
5349
  var pjfet_transistor_horz_default = defineSymbol({
4709
5350
  primitives: [
4710
- ...Object.values(paths24),
4711
- ...Object.values(circles18),
4712
- { ...texts34.top1, anchor: "middle_right", x: 0 },
4713
- { ...texts34.bottom1, anchor: "middle_right" }
5351
+ ...Object.values(paths25),
5352
+ ...Object.values(circles19),
5353
+ { ...texts35.top1, anchor: "middle_right", x: 0 },
5354
+ { ...texts35.bottom1, anchor: "middle_right" }
4714
5355
  ],
4715
5356
  ports: [
4716
- { ...refblocks24.top1, labels: ["1", "drain"] },
5357
+ { ...refblocks25.top1, labels: ["1", "drain"] },
4717
5358
  // TODO add more "standard" labels
4718
- { ...refblocks24.bottom1, labels: ["2", "source"] },
5359
+ { ...refblocks25.bottom1, labels: ["2", "source"] },
4719
5360
  // TODO add more "standard" labels
4720
- { ...refblocks24.left1, labels: ["3", "gate"] }
5361
+ { ...refblocks25.left1, labels: ["3", "gate"] }
4721
5362
  // TODO add more "standard" labels
4722
5363
  ],
4723
- size: { width: bounds24.width, height: bounds24.height },
4724
- center: { x: bounds24.centerX, y: bounds24.centerY }
5364
+ size: { width: bounds25.width, height: bounds25.height },
5365
+ center: { x: bounds25.centerX, y: bounds25.centerY }
4725
5366
  });
4726
5367
 
4727
5368
  // symbols/pjfet_transistor_vert.ts
4728
5369
  var rotatedSymbol15 = rotateSymbol(pjfet_transistor_horz_default);
4729
- var texts35 = rotatedSymbol15.primitives.filter((p) => p.type === "text");
4730
- var val13 = texts35.find((t) => t.text === "{VAL}");
4731
- val13.x = -0.35;
4732
- val13.y = 0;
4733
- val13.anchor = "middle_right";
4734
- var ref16 = texts35.find((t) => t.text === "{REF}");
4735
- ref16.y = 0;
4736
- ref16.x = 0.35;
4737
- ref16.anchor = "middle_left";
5370
+ var texts36 = rotatedSymbol15.primitives.filter((p) => p.type === "text");
5371
+ var val14 = texts36.find((t) => t.text === "{VAL}");
5372
+ val14.x = -0.35;
5373
+ val14.y = 0;
5374
+ val14.anchor = "middle_right";
5375
+ var ref17 = texts36.find((t) => t.text === "{REF}");
5376
+ ref17.y = 0;
5377
+ ref17.x = 0.35;
5378
+ ref17.anchor = "middle_left";
4738
5379
  var pjfet_transistor_vert_default = rotatedSymbol15;
4739
5380
 
4740
5381
  // assets/generated/pnp_bipolar_transistor.json
@@ -4901,11 +5542,11 @@ var pnp_bipolar_transistor_default = {
4901
5542
  };
4902
5543
 
4903
5544
  // symbols/pnp_bipolar_transistor_horz.ts
4904
- var { paths: paths25, texts: texts36, bounds: bounds25, refblocks: refblocks25, circles: circles19 } = pnp_bipolar_transistor_default;
5545
+ var { paths: paths26, texts: texts37, bounds: bounds26, refblocks: refblocks26, circles: circles20 } = pnp_bipolar_transistor_default;
4905
5546
  var pnp_bipolar_transistor_horz_default = defineSymbol({
4906
5547
  primitives: [
4907
- ...Object.values(paths25),
4908
- ...Object.values(circles19),
5548
+ ...Object.values(paths26),
5549
+ ...Object.values(circles20),
4909
5550
  {
4910
5551
  type: "text",
4911
5552
  text: "{REF}",
@@ -4922,19 +5563,19 @@ var pnp_bipolar_transistor_horz_default = defineSymbol({
4922
5563
  }
4923
5564
  ],
4924
5565
  ports: [
4925
- { ...refblocks25.top1, labels: ["1", "collector"] },
4926
- { ...refblocks25.bottom1, labels: ["2", "emitter"] },
4927
- { ...refblocks25.left1, labels: ["3", "base"] }
5566
+ { ...refblocks26.top1, labels: ["1", "collector"] },
5567
+ { ...refblocks26.bottom1, labels: ["2", "emitter"] },
5568
+ { ...refblocks26.left1, labels: ["3", "base"] }
4928
5569
  ],
4929
- size: { width: bounds25.width, height: bounds25.height },
4930
- center: { x: bounds25.centerX, y: bounds25.centerY }
5570
+ size: { width: bounds26.width, height: bounds26.height },
5571
+ center: { x: bounds26.centerX, y: bounds26.centerY }
4931
5572
  });
4932
5573
 
4933
5574
  // symbols/pnp_bipolar_transistor_vert.ts
4934
5575
  var rotatedSymbol16 = rotateSymbol(pnp_bipolar_transistor_horz_default);
4935
- var texts37 = rotatedSymbol16.primitives.filter((p) => p.type === "text");
4936
- var ref17 = texts37.find((t) => t.text === "{REF}");
4937
- ref17.anchor = "middle_left";
5576
+ var texts38 = rotatedSymbol16.primitives.filter((p) => p.type === "text");
5577
+ var ref18 = texts38.find((t) => t.text === "{REF}");
5578
+ ref18.anchor = "middle_left";
4938
5579
  var pnp_bipolar_transistor_vert_default = rotatedSymbol16;
4939
5580
 
4940
5581
  // assets/generated/potentiometer.json
@@ -5073,26 +5714,26 @@ var potentiometer_default = {
5073
5714
  };
5074
5715
 
5075
5716
  // symbols/potentiometer_horz.ts
5076
- var { paths: paths26, texts: texts38, bounds: bounds26, refblocks: refblocks26 } = potentiometer_default;
5717
+ var { paths: paths27, texts: texts39, bounds: bounds27, refblocks: refblocks27 } = potentiometer_default;
5077
5718
  var potentiometer_horz_default = defineSymbol({
5078
5719
  primitives: [
5079
- ...Object.values(paths26),
5080
- { ...texts38.bottom1, y: 0.35, anchor: "middle_top" },
5081
- { ...texts38.right1, anchor: "middle_left" }
5720
+ ...Object.values(paths27),
5721
+ { ...texts39.bottom1, y: 0.35, anchor: "middle_top" },
5722
+ { ...texts39.right1, anchor: "middle_left" }
5082
5723
  ],
5083
5724
  ports: [
5084
- { ...refblocks26.left1, labels: ["1"] },
5725
+ { ...refblocks27.left1, labels: ["1"] },
5085
5726
  // TODO add more "standard" labels
5086
- { ...refblocks26.right1, labels: ["2"] }
5727
+ { ...refblocks27.right1, labels: ["2"] }
5087
5728
  // TODO add more "standard" labels
5088
5729
  ],
5089
- size: { width: bounds26.width + 0.05, height: bounds26.height },
5090
- center: { x: bounds26.centerX, y: bounds26.centerY }
5730
+ size: { width: bounds27.width + 0.05, height: bounds27.height },
5731
+ center: { x: bounds27.centerX, y: bounds27.centerY }
5091
5732
  });
5092
5733
 
5093
5734
  // symbols/potentiometer_vert.ts
5094
- var rotated5 = rotateSymbol(potentiometer_horz_default);
5095
- var potentiometer_vert_default = rotated5;
5735
+ var rotated6 = rotateSymbol(potentiometer_horz_default);
5736
+ var potentiometer_vert_default = rotated6;
5096
5737
 
5097
5738
  // assets/generated/potentiometer2.json
5098
5739
  var potentiometer2_default = {
@@ -5249,21 +5890,21 @@ var potentiometer2_default = {
5249
5890
  };
5250
5891
 
5251
5892
  // symbols/potentiometer2_horz.ts
5252
- var { paths: paths27, texts: texts39, bounds: bounds27, refblocks: refblocks27 } = potentiometer2_default;
5893
+ var { paths: paths28, texts: texts40, bounds: bounds28, refblocks: refblocks28 } = potentiometer2_default;
5253
5894
  var potentiometer2_horz_default = defineSymbol({
5254
5895
  primitives: [
5255
- ...Object.values(paths27),
5256
- { ...texts39.bottom1, anchor: "middle_right" },
5257
- { ...texts39.top1, anchor: "middle_left" }
5896
+ ...Object.values(paths28),
5897
+ { ...texts40.bottom1, anchor: "middle_right" },
5898
+ { ...texts40.top1, anchor: "middle_left" }
5258
5899
  ],
5259
5900
  ports: [
5260
- { ...refblocks27.left1, labels: ["1"] },
5901
+ { ...refblocks28.left1, labels: ["1"] },
5261
5902
  // TODO add more "standard" labels
5262
- { ...refblocks27.right1, labels: ["2"] }
5903
+ { ...refblocks28.right1, labels: ["2"] }
5263
5904
  // TODO add more "standard" labels
5264
5905
  ],
5265
- size: { width: bounds27.width, height: bounds27.height },
5266
- center: { x: bounds27.centerX, y: bounds27.centerY }
5906
+ size: { width: bounds28.width, height: bounds28.height },
5907
+ center: { x: bounds28.centerX, y: bounds28.centerY }
5267
5908
  });
5268
5909
 
5269
5910
  // symbols/potentiometer2_vert.ts
@@ -5356,11 +5997,11 @@ var power_factor_meter_default = {
5356
5997
  };
5357
5998
 
5358
5999
  // symbols/power_factor_meter_horz.ts
5359
- var { paths: paths28, texts: texts40, bounds: bounds28, refblocks: refblocks28, circles: circles20 } = power_factor_meter_default;
6000
+ var { paths: paths29, texts: texts41, bounds: bounds29, refblocks: refblocks29, circles: circles21 } = power_factor_meter_default;
5360
6001
  var power_factor_meter_horz_default = defineSymbol({
5361
6002
  primitives: [
5362
- ...Object.values(paths28),
5363
- ...Object.values(circles20),
6003
+ ...Object.values(paths29),
6004
+ ...Object.values(circles21),
5364
6005
  // { ...texts.top1, anchor: "middle_left" },
5365
6006
  {
5366
6007
  type: "text",
@@ -5387,25 +6028,25 @@ var power_factor_meter_horz_default = defineSymbol({
5387
6028
  }
5388
6029
  ],
5389
6030
  ports: [
5390
- { ...refblocks28.left1, labels: ["1"] },
6031
+ { ...refblocks29.left1, labels: ["1"] },
5391
6032
  // TODO add more "standard" labels
5392
- { ...refblocks28.right1, labels: ["2"] }
6033
+ { ...refblocks29.right1, labels: ["2"] }
5393
6034
  // TODO add more "standard" labels
5394
6035
  ],
5395
- size: { width: bounds28.width, height: bounds28.height },
5396
- center: { x: bounds28.centerX, y: bounds28.centerY }
6036
+ size: { width: bounds29.width, height: bounds29.height },
6037
+ center: { x: bounds29.centerX, y: bounds29.centerY }
5397
6038
  });
5398
6039
 
5399
6040
  // symbols/power_factor_meter_vert.ts
5400
6041
  var rotatedSymbol17 = rotateSymbol(power_factor_meter_horz_default);
5401
- var texts41 = rotatedSymbol17.primitives.filter((p) => p.type === "text");
5402
- var ref18 = texts41.find((t) => t.text === "{REF}");
5403
- var val14 = texts41.find((t) => t.text === "{VAL}");
5404
- var text_cos = texts41.find((t) => t.text === "COS \u03C6");
5405
- ref18.x = 0.35;
5406
- ref18.y = 0;
5407
- val14.x = -0.6;
5408
- val14.y = 0;
6042
+ var texts42 = rotatedSymbol17.primitives.filter((p) => p.type === "text");
6043
+ var ref19 = texts42.find((t) => t.text === "{REF}");
6044
+ var val15 = texts42.find((t) => t.text === "{VAL}");
6045
+ var text_cos = texts42.find((t) => t.text === "COS \u03C6");
6046
+ ref19.x = 0.35;
6047
+ ref19.y = 0;
6048
+ val15.x = -0.6;
6049
+ val15.y = 0;
5409
6050
  text_cos.x = -0.1;
5410
6051
  text_cos.y = 0;
5411
6052
  var power_factor_meter_vert_default = rotatedSymbol17;
@@ -5511,38 +6152,38 @@ var push_button_normally_closed_momentary_default = {
5511
6152
  };
5512
6153
 
5513
6154
  // symbols/push_button_normally_closed_momentary_horz.ts
5514
- var { paths: paths29, texts: texts42, bounds: bounds29, refblocks: refblocks29 } = push_button_normally_closed_momentary_default;
6155
+ var { paths: paths30, texts: texts43, bounds: bounds30, refblocks: refblocks30 } = push_button_normally_closed_momentary_default;
5515
6156
  var push_button_normally_closed_momentary_horz_default = defineSymbol({
5516
6157
  primitives: [
5517
- ...Object.values(paths29),
5518
- { ...texts42.top1, anchor: "middle_bottom" },
5519
- { ...texts42.bottom1, anchor: "middle_top" }
6158
+ ...Object.values(paths30),
6159
+ { ...texts43.top1, anchor: "middle_bottom" },
6160
+ { ...texts43.bottom1, anchor: "middle_top" }
5520
6161
  ],
5521
6162
  ports: [
5522
- { ...refblocks29.left1, labels: ["1"] },
6163
+ { ...refblocks30.left1, labels: ["1"] },
5523
6164
  // TODO add more "standard" labels
5524
- { ...refblocks29.right1, labels: ["2"] }
6165
+ { ...refblocks30.right1, labels: ["2"] }
5525
6166
  // TODO add more "standard" labels
5526
6167
  ],
5527
- size: { width: bounds29.width, height: bounds29.height },
5528
- center: { x: bounds29.centerX, y: bounds29.centerY }
6168
+ size: { width: bounds30.width, height: bounds30.height },
6169
+ center: { x: bounds30.centerX, y: bounds30.centerY }
5529
6170
  });
5530
6171
 
5531
6172
  // symbols/push_button_normally_closed_momentary_vert.ts
5532
- var rotated6 = rotateSymbol(push_button_normally_closed_momentary_horz_default);
5533
- var ref19 = rotated6.primitives.find(
6173
+ var rotated7 = rotateSymbol(push_button_normally_closed_momentary_horz_default);
6174
+ var ref20 = rotated7.primitives.find(
5534
6175
  (p) => p.type === "text" && p.text === "{REF}"
5535
6176
  );
5536
- var val15 = rotated6.primitives.find(
6177
+ var val16 = rotated7.primitives.find(
5537
6178
  (p) => p.type === "text" && p.text === "{VAL}"
5538
6179
  );
5539
- ref19.anchor = "middle_left";
5540
- val15.anchor = "middle_right";
5541
- ref19.x = ref19.x - 0.03;
5542
- ref19.y = ref19.y;
5543
- val15.x = val15.x;
5544
- val15.y = 0;
5545
- var push_button_normally_closed_momentary_vert_default = rotated6;
6180
+ ref20.anchor = "middle_left";
6181
+ val16.anchor = "middle_right";
6182
+ ref20.x = ref20.x - 0.03;
6183
+ ref20.y = ref20.y;
6184
+ val16.x = val16.x;
6185
+ val16.y = 0;
6186
+ var push_button_normally_closed_momentary_vert_default = rotated7;
5546
6187
 
5547
6188
  // assets/generated/push_button_normally_open_momentary.json
5548
6189
  var push_button_normally_open_momentary_default = {
@@ -5645,38 +6286,38 @@ var push_button_normally_open_momentary_default = {
5645
6286
  };
5646
6287
 
5647
6288
  // symbols/push_button_normally_open_momentary_horz.ts
5648
- var { paths: paths30, texts: texts43, bounds: bounds30, refblocks: refblocks30 } = push_button_normally_open_momentary_default;
6289
+ var { paths: paths31, texts: texts44, bounds: bounds31, refblocks: refblocks31 } = push_button_normally_open_momentary_default;
5649
6290
  var push_button_normally_open_momentary_horz_default = defineSymbol({
5650
6291
  primitives: [
5651
- ...Object.values(paths30),
5652
- { ...texts43.top1, anchor: "middle_bottom" },
5653
- { ...texts43.bottom1, anchor: "middle_top" }
6292
+ ...Object.values(paths31),
6293
+ { ...texts44.top1, anchor: "middle_bottom" },
6294
+ { ...texts44.bottom1, anchor: "middle_top" }
5654
6295
  ],
5655
6296
  ports: [
5656
- { ...refblocks30.left1, labels: ["1"] },
6297
+ { ...refblocks31.left1, labels: ["1"] },
5657
6298
  // TODO add more "standard" labels
5658
- { ...refblocks30.right1, labels: ["2"] }
6299
+ { ...refblocks31.right1, labels: ["2"] }
5659
6300
  // TODO add more "standard" labels
5660
6301
  ],
5661
- size: { width: bounds30.width, height: bounds30.height },
5662
- center: { x: bounds30.centerX, y: bounds30.centerY }
6302
+ size: { width: bounds31.width, height: bounds31.height },
6303
+ center: { x: bounds31.centerX, y: bounds31.centerY }
5663
6304
  });
5664
6305
 
5665
6306
  // symbols/push_button_normally_open_momentary_vert.ts
5666
- var rotated7 = rotateSymbol(push_button_normally_open_momentary_horz_default);
5667
- var ref20 = rotated7.primitives.find(
6307
+ var rotated8 = rotateSymbol(push_button_normally_open_momentary_horz_default);
6308
+ var ref21 = rotated8.primitives.find(
5668
6309
  (p) => p.type === "text" && p.text === "{REF}"
5669
6310
  );
5670
- var val16 = rotated7.primitives.find(
6311
+ var val17 = rotated8.primitives.find(
5671
6312
  (p) => p.type === "text" && p.text === "{VAL}"
5672
6313
  );
5673
- ref20.anchor = "middle_left";
5674
- val16.anchor = "middle_right";
5675
- ref20.x = ref20.x + 0.1;
5676
- ref20.y = ref20.y;
5677
- val16.x = val16.x;
5678
- val16.y = 0;
5679
- var push_button_normally_open_momentary_vert_default = rotated7;
6314
+ ref21.anchor = "middle_left";
6315
+ val17.anchor = "middle_right";
6316
+ ref21.x = ref21.x + 0.1;
6317
+ ref21.y = ref21.y;
6318
+ val17.x = val17.x;
6319
+ val17.y = 0;
6320
+ var push_button_normally_open_momentary_vert_default = rotated8;
5680
6321
 
5681
6322
  // assets/generated/resonator.json
5682
6323
  var resonator_default = {
@@ -6024,11 +6665,11 @@ var resonator_default = {
6024
6665
  };
6025
6666
 
6026
6667
  // symbols/resonator_horz.ts
6027
- var { paths: paths31, texts: texts44, bounds: bounds31, refblocks: refblocks31, circles: circles21 } = resonator_default;
6668
+ var { paths: paths32, texts: texts45, bounds: bounds32, refblocks: refblocks32, circles: circles22 } = resonator_default;
6028
6669
  var resonator_horz_default = defineSymbol({
6029
6670
  primitives: [
6030
- ...Object.values(paths31),
6031
- ...Object.values(circles21),
6671
+ ...Object.values(paths32),
6672
+ ...Object.values(circles22),
6032
6673
  // { ...texts.top1, anchor: "middle_left" },
6033
6674
  // { ...texts.bottom1, anchor: "middle_left" },
6034
6675
  {
@@ -6047,15 +6688,15 @@ var resonator_horz_default = defineSymbol({
6047
6688
  }
6048
6689
  ],
6049
6690
  ports: [
6050
- { ...refblocks31.left1, labels: ["1"] },
6691
+ { ...refblocks32.left1, labels: ["1"] },
6051
6692
  // TODO add more "standard" labels
6052
- { ...refblocks31.right1, labels: ["2"] },
6693
+ { ...refblocks32.right1, labels: ["2"] },
6053
6694
  // TODO add more "standard" labels
6054
- { ...refblocks31.right2, labels: ["3"] }
6695
+ { ...refblocks32.right2, labels: ["3"] }
6055
6696
  // TODO add more "standard" labels
6056
6697
  ],
6057
- size: { width: bounds31.width, height: bounds31.height },
6058
- center: { x: bounds31.centerX, y: bounds31.centerY }
6698
+ size: { width: bounds32.width, height: bounds32.height },
6699
+ center: { x: bounds32.centerX, y: bounds32.centerY }
6059
6700
  });
6060
6701
 
6061
6702
  // symbols/resonator_vert.ts
@@ -6253,35 +6894,35 @@ var schottky_diode_default = {
6253
6894
  };
6254
6895
 
6255
6896
  // symbols/schottky_diode_horz.ts
6256
- var { paths: paths32, texts: texts45, bounds: bounds32, refblocks: refblocks32, circles: circles22 } = schottky_diode_default;
6897
+ var { paths: paths33, texts: texts46, bounds: bounds33, refblocks: refblocks33, circles: circles23 } = schottky_diode_default;
6257
6898
  var schottky_diode_horz_default = defineSymbol({
6258
6899
  primitives: [
6259
- ...Object.values(paths32),
6260
- ...Object.values(circles22),
6261
- { ...texts45.top1, anchor: "middle_bottom" },
6262
- { ...texts45.bottom1, anchor: "middle_top" }
6900
+ ...Object.values(paths33),
6901
+ ...Object.values(circles23),
6902
+ { ...texts46.top1, anchor: "middle_bottom" },
6903
+ { ...texts46.bottom1, anchor: "middle_top" }
6263
6904
  ],
6264
6905
  ports: [
6265
- { ...refblocks32.left1, labels: ["1"] },
6906
+ { ...refblocks33.left1, labels: ["1"] },
6266
6907
  // TODO add more "standard" labels
6267
- { ...refblocks32.right1, labels: ["2"] }
6908
+ { ...refblocks33.right1, labels: ["2"] }
6268
6909
  // TODO add more "standard" labels
6269
6910
  ],
6270
- size: { width: bounds32.width, height: bounds32.height },
6271
- center: { x: bounds32.centerX, y: bounds32.centerY }
6911
+ size: { width: bounds33.width, height: bounds33.height },
6912
+ center: { x: bounds33.centerX, y: bounds33.centerY }
6272
6913
  });
6273
6914
 
6274
6915
  // symbols/schottky_diode_vert.ts
6275
- var rotated8 = rotateSymbol(schottky_diode_horz_default);
6276
- var ref21 = rotated8.primitives.find(
6916
+ var rotated9 = rotateSymbol(schottky_diode_horz_default);
6917
+ var ref22 = rotated9.primitives.find(
6277
6918
  (p) => p.type === "text" && p.text === "{REF}"
6278
6919
  );
6279
- var val17 = rotated8.primitives.find(
6920
+ var val18 = rotated9.primitives.find(
6280
6921
  (p) => p.type === "text" && p.text === "{VAL}"
6281
6922
  );
6282
- ref21.anchor = "middle_left";
6283
- val17.anchor = "middle_right";
6284
- var schottky_diode_vert_default = rotated8;
6923
+ ref22.anchor = "middle_left";
6924
+ val18.anchor = "middle_right";
6925
+ var schottky_diode_vert_default = rotated9;
6285
6926
 
6286
6927
  // assets/generated/silicon_controlled_rectifier.json
6287
6928
  var silicon_controlled_rectifier_default = {
@@ -6427,34 +7068,34 @@ var silicon_controlled_rectifier_default = {
6427
7068
  };
6428
7069
 
6429
7070
  // symbols/silicon_controlled_rectifier_horz.ts
6430
- var { paths: paths33, texts: texts46, bounds: bounds33, refblocks: refblocks33, circles: circles23 } = silicon_controlled_rectifier_default;
7071
+ var { paths: paths34, texts: texts47, bounds: bounds34, refblocks: refblocks34, circles: circles24 } = silicon_controlled_rectifier_default;
6431
7072
  var silicon_controlled_rectifier_horz_default = defineSymbol({
6432
7073
  primitives: [
6433
- ...Object.values(paths33),
6434
- ...Object.values(circles23),
6435
- { ...texts46.top1, anchor: "middle_left" },
6436
- { ...texts46.bottom1, anchor: "middle_top" }
7074
+ ...Object.values(paths34),
7075
+ ...Object.values(circles24),
7076
+ { ...texts47.top1, anchor: "middle_left" },
7077
+ { ...texts47.bottom1, anchor: "middle_top" }
6437
7078
  ],
6438
7079
  ports: [
6439
- { ...refblocks33.left1, labels: ["1"] },
7080
+ { ...refblocks34.left1, labels: ["1"] },
6440
7081
  // TODO add more "standard" labels
6441
- { ...refblocks33.right1, labels: ["2"] },
7082
+ { ...refblocks34.right1, labels: ["2"] },
6442
7083
  // TODO add more "standard" labels
6443
- { ...refblocks33.bottom1, labels: ["3"] }
7084
+ { ...refblocks34.bottom1, labels: ["3"] }
6444
7085
  // TODO add more "standard" labels
6445
7086
  ],
6446
- size: { width: bounds33.width, height: bounds33.height },
6447
- center: { x: bounds33.centerX, y: bounds33.centerY }
7087
+ size: { width: bounds34.width, height: bounds34.height },
7088
+ center: { x: bounds34.centerX, y: bounds34.centerY }
6448
7089
  });
6449
7090
 
6450
7091
  // symbols/silicon_controlled_rectifier_vert.ts
6451
7092
  var rotatedSymbol18 = rotateSymbol(silicon_controlled_rectifier_horz_default);
6452
- var texts47 = rotatedSymbol18.primitives.filter(
7093
+ var texts48 = rotatedSymbol18.primitives.filter(
6453
7094
  (primitive) => primitive.type === "text"
6454
7095
  );
6455
- var ref22 = texts47.find((text) => text.text === "{REF}");
6456
- ref22.y = 0;
6457
- ref22.anchor = "middle_left";
7096
+ var ref23 = texts48.find((text) => text.text === "{REF}");
7097
+ ref23.y = 0;
7098
+ ref23.anchor = "middle_left";
6458
7099
  var silicon_controlled_rectifier_vert_default = rotatedSymbol18;
6459
7100
 
6460
7101
  // assets/generated/SPDT_switch.json
@@ -6575,37 +7216,37 @@ var SPDT_switch_default = {
6575
7216
  };
6576
7217
 
6577
7218
  // symbols/SPDT_switch_horz.ts
6578
- var { paths: paths34, texts: texts48, bounds: bounds34, refblocks: refblocks34, circles: circles24 } = SPDT_switch_default;
7219
+ var { paths: paths35, texts: texts49, bounds: bounds35, refblocks: refblocks35, circles: circles25 } = SPDT_switch_default;
6579
7220
  var SPDT_switch_horz_default = defineSymbol({
6580
7221
  primitives: [
6581
- ...Object.values(paths34),
6582
- ...Object.values(circles24),
6583
- { ...texts48.top1, anchor: "middle_bottom", x: -0.01 },
6584
- { ...texts48.bottom1, anchor: "middle_top", x: -0.01 }
7222
+ ...Object.values(paths35),
7223
+ ...Object.values(circles25),
7224
+ { ...texts49.top1, anchor: "middle_bottom", x: -0.01 },
7225
+ { ...texts49.bottom1, anchor: "middle_top", x: -0.01 }
6585
7226
  ],
6586
7227
  ports: [
6587
- { ...refblocks34.left1, labels: ["1"] },
7228
+ { ...refblocks35.left1, labels: ["1"] },
6588
7229
  // TODO add more "standard" labels
6589
- { ...refblocks34.right1, labels: ["3"] },
7230
+ { ...refblocks35.right1, labels: ["3"] },
6590
7231
  // TODO add more "standard" labels
6591
- { ...refblocks34.right2, labels: ["2"] }
7232
+ { ...refblocks35.right2, labels: ["2"] }
6592
7233
  // TODO add more "standard" labels
6593
7234
  ],
6594
- size: { width: bounds34.width, height: bounds34.height },
6595
- center: { x: bounds34.centerX, y: bounds34.centerY }
7235
+ size: { width: bounds35.width, height: bounds35.height },
7236
+ center: { x: bounds35.centerX, y: bounds35.centerY }
6596
7237
  });
6597
7238
 
6598
7239
  // symbols/SPDT_switch_vert.ts
6599
7240
  var rotatedSymbol19 = rotateSymbol(SPDT_switch_horz_default);
6600
- var texts49 = rotatedSymbol19.primitives.filter((p) => p.type === "text");
6601
- var val18 = texts49.find((t) => t.text === "{VAL}");
6602
- val18.anchor = "middle_right";
6603
- val18.x = -0.3;
6604
- val18.y = 0;
6605
- var ref23 = texts49.find((t) => t.text === "{REF}");
6606
- ref23.anchor = "middle_left";
6607
- ref23.x = 0.3;
6608
- ref23.y = 0;
7241
+ var texts50 = rotatedSymbol19.primitives.filter((p) => p.type === "text");
7242
+ var val19 = texts50.find((t) => t.text === "{VAL}");
7243
+ val19.anchor = "middle_right";
7244
+ val19.x = -0.3;
7245
+ val19.y = 0;
7246
+ var ref24 = texts50.find((t) => t.text === "{REF}");
7247
+ ref24.anchor = "middle_left";
7248
+ ref24.x = 0.3;
7249
+ ref24.y = 0;
6609
7250
  var SPDT_switch_vert_default = rotatedSymbol19;
6610
7251
 
6611
7252
  // assets/generated/SPST_switch.json
@@ -6703,35 +7344,35 @@ var SPST_switch_default = {
6703
7344
  };
6704
7345
 
6705
7346
  // symbols/SPST_switch_horz.ts
6706
- var { paths: paths35, texts: texts50, bounds: bounds35, refblocks: refblocks35, circles: circles25 } = SPST_switch_default;
7347
+ var { paths: paths36, texts: texts51, bounds: bounds36, refblocks: refblocks36, circles: circles26 } = SPST_switch_default;
6707
7348
  var SPST_switch_horz_default = defineSymbol({
6708
7349
  primitives: [
6709
- ...Object.values(paths35),
6710
- ...Object.values(circles25),
6711
- { ...texts50.top1, anchor: "middle_bottom", x: 0 },
6712
- { ...texts50.bottom1, anchor: "middle_top", x: 0 }
7350
+ ...Object.values(paths36),
7351
+ ...Object.values(circles26),
7352
+ { ...texts51.top1, anchor: "middle_bottom", x: 0 },
7353
+ { ...texts51.bottom1, anchor: "middle_top", x: 0 }
6713
7354
  ],
6714
7355
  ports: [
6715
- { ...refblocks35.left1, labels: ["1"] },
7356
+ { ...refblocks36.left1, labels: ["1"] },
6716
7357
  // TODO add more "standard" labels
6717
- { ...refblocks35.right1, labels: ["2"] }
7358
+ { ...refblocks36.right1, labels: ["2"] }
6718
7359
  // TODO add more "standard" labels
6719
7360
  ],
6720
- size: { width: bounds35.width, height: bounds35.height },
6721
- center: { x: bounds35.centerX, y: bounds35.centerY }
7361
+ size: { width: bounds36.width, height: bounds36.height },
7362
+ center: { x: bounds36.centerX, y: bounds36.centerY }
6722
7363
  });
6723
7364
 
6724
7365
  // symbols/SPST_switch_vert.ts
6725
7366
  var rotatedSymbol20 = rotateSymbol(SPST_switch_horz_default);
6726
- var texts51 = rotatedSymbol20.primitives.filter((p) => p.type === "text");
6727
- var val19 = texts51.find((t) => t.text === "{VAL}");
6728
- val19.anchor = "middle_right";
6729
- val19.x = -0.3;
6730
- val19.y = 0;
6731
- var ref24 = texts51.find((t) => t.text === "{REF}");
6732
- ref24.anchor = "middle_left";
6733
- ref24.x = 0.3;
6734
- ref24.y = 0;
7367
+ var texts52 = rotatedSymbol20.primitives.filter((p) => p.type === "text");
7368
+ var val20 = texts52.find((t) => t.text === "{VAL}");
7369
+ val20.anchor = "middle_right";
7370
+ val20.x = -0.3;
7371
+ val20.y = 0;
7372
+ var ref25 = texts52.find((t) => t.text === "{REF}");
7373
+ ref25.anchor = "middle_left";
7374
+ ref25.x = 0.3;
7375
+ ref25.y = 0;
6735
7376
  var SPST_switch_vert_default = rotatedSymbol20;
6736
7377
 
6737
7378
  // assets/generated/step_recovery_diode.json
@@ -6896,11 +7537,11 @@ var step_recovery_diode_default = {
6896
7537
  };
6897
7538
 
6898
7539
  // symbols/step_recovery_diode_horz.ts
6899
- var { paths: paths36, texts: texts52, bounds: bounds36, refblocks: refblocks36, circles: circles26 } = step_recovery_diode_default;
7540
+ var { paths: paths37, texts: texts53, bounds: bounds37, refblocks: refblocks37, circles: circles27 } = step_recovery_diode_default;
6900
7541
  var step_recovery_diode_horz_default = defineSymbol({
6901
7542
  primitives: [
6902
- ...Object.values(paths36),
6903
- ...Object.values(circles26),
7543
+ ...Object.values(paths37),
7544
+ ...Object.values(circles27),
6904
7545
  // { ...texts.top1, anchor: "middle_left" },
6905
7546
  // { ...texts.bottom1, anchor: "middle_left" },
6906
7547
  {
@@ -6919,13 +7560,13 @@ var step_recovery_diode_horz_default = defineSymbol({
6919
7560
  }
6920
7561
  ],
6921
7562
  ports: [
6922
- { ...refblocks36.left1, labels: ["1"] },
7563
+ { ...refblocks37.left1, labels: ["1"] },
6923
7564
  // TODO add more "standard" labels
6924
- { ...refblocks36.right1, labels: ["2"] }
7565
+ { ...refblocks37.right1, labels: ["2"] }
6925
7566
  // TODO add more "standard" labels
6926
7567
  ],
6927
- size: { width: bounds36.width, height: bounds36.height },
6928
- center: { x: bounds36.centerX, y: bounds36.centerY }
7568
+ size: { width: bounds37.width, height: bounds37.height },
7569
+ center: { x: bounds37.centerX, y: bounds37.centerY }
6929
7570
  });
6930
7571
 
6931
7572
  // symbols/step_recovery_diode_vert.ts
@@ -7122,35 +7763,35 @@ var triac_default = {
7122
7763
  };
7123
7764
 
7124
7765
  // symbols/triac_horz.ts
7125
- var { paths: paths37, texts: texts53, bounds: bounds37, refblocks: refblocks37, circles: circles27 } = triac_default;
7766
+ var { paths: paths38, texts: texts54, bounds: bounds38, refblocks: refblocks38, circles: circles28 } = triac_default;
7126
7767
  var triac_horz_default = defineSymbol({
7127
7768
  primitives: [
7128
- ...Object.values(paths37),
7129
- ...Object.values(circles27),
7130
- { ...texts53.top1, anchor: "middle_left" },
7131
- { ...texts53.bottom1, anchor: "middle_top" }
7769
+ ...Object.values(paths38),
7770
+ ...Object.values(circles28),
7771
+ { ...texts54.top1, anchor: "middle_left" },
7772
+ { ...texts54.bottom1, anchor: "middle_top" }
7132
7773
  ],
7133
7774
  ports: [
7134
- { ...refblocks37.left1, labels: ["1"] },
7775
+ { ...refblocks38.left1, labels: ["1"] },
7135
7776
  // TODO add more "standard" labels
7136
- { ...refblocks37.right1, labels: ["2"] },
7777
+ { ...refblocks38.right1, labels: ["2"] },
7137
7778
  // TODO add more "standard" labels
7138
- { ...refblocks37.bottom1, labels: ["3"] }
7779
+ { ...refblocks38.bottom1, labels: ["3"] }
7139
7780
  // TODO add more "standard" labels
7140
7781
  ],
7141
- size: { width: bounds37.width, height: bounds37.height },
7142
- center: { x: bounds37.centerX, y: bounds37.centerY }
7782
+ size: { width: bounds38.width, height: bounds38.height },
7783
+ center: { x: bounds38.centerX, y: bounds38.centerY }
7143
7784
  });
7144
7785
 
7145
7786
  // symbols/triac_vert.ts
7146
7787
  var rotatedSymbol21 = rotateSymbol(triac_horz_default);
7147
- var texts54 = rotatedSymbol21.primitives.filter(
7788
+ var texts55 = rotatedSymbol21.primitives.filter(
7148
7789
  (primitive) => primitive.type === "text"
7149
7790
  );
7150
- var ref25 = texts54.find((text) => text.text === "{REF}");
7151
- var val20 = texts54.find((text) => text.text === "{VAL}");
7152
- ref25.y = 0;
7153
- val20.y = 0;
7791
+ var ref26 = texts55.find((text) => text.text === "{REF}");
7792
+ var val21 = texts55.find((text) => text.text === "{VAL}");
7793
+ ref26.y = 0;
7794
+ val21.y = 0;
7154
7795
  var triac_vert_default = rotatedSymbol21;
7155
7796
 
7156
7797
  // assets/generated/tunnel_diode.json
@@ -7315,35 +7956,35 @@ var tunnel_diode_default = {
7315
7956
  };
7316
7957
 
7317
7958
  // symbols/tunnel_diode_horz.ts
7318
- var { paths: paths38, texts: texts55, bounds: bounds38, refblocks: refblocks38, circles: circles28 } = tunnel_diode_default;
7959
+ var { paths: paths39, texts: texts56, bounds: bounds39, refblocks: refblocks39, circles: circles29 } = tunnel_diode_default;
7319
7960
  var tunnel_diode_horz_default = defineSymbol({
7320
7961
  primitives: [
7321
- ...Object.values(paths38),
7322
- ...Object.values(circles28),
7323
- { ...texts55.top1, anchor: "middle_bottom" },
7324
- { ...texts55.bottom1, anchor: "middle_top" }
7962
+ ...Object.values(paths39),
7963
+ ...Object.values(circles29),
7964
+ { ...texts56.top1, anchor: "middle_bottom" },
7965
+ { ...texts56.bottom1, anchor: "middle_top" }
7325
7966
  ],
7326
7967
  ports: [
7327
- { ...refblocks38.left1, labels: ["1"] },
7968
+ { ...refblocks39.left1, labels: ["1"] },
7328
7969
  // TODO add more "standard" labels
7329
- { ...refblocks38.right1, labels: ["2"] }
7970
+ { ...refblocks39.right1, labels: ["2"] }
7330
7971
  // TODO add more "standard" labels
7331
7972
  ],
7332
- size: { width: bounds38.width, height: bounds38.height },
7333
- center: { x: bounds38.centerX, y: bounds38.centerY }
7973
+ size: { width: bounds39.width, height: bounds39.height },
7974
+ center: { x: bounds39.centerX, y: bounds39.centerY }
7334
7975
  });
7335
7976
 
7336
7977
  // symbols/tunnel_diode_vert.ts
7337
- var rotated9 = rotateSymbol(tunnel_diode_horz_default);
7338
- var ref26 = rotated9.primitives.find(
7978
+ var rotated10 = rotateSymbol(tunnel_diode_horz_default);
7979
+ var ref27 = rotated10.primitives.find(
7339
7980
  (p) => p.type === "text" && p.text === "{REF}"
7340
7981
  );
7341
- var val21 = rotated9.primitives.find(
7982
+ var val22 = rotated10.primitives.find(
7342
7983
  (p) => p.type === "text" && p.text === "{VAL}"
7343
7984
  );
7344
- ref26.anchor = "middle_left";
7345
- val21.anchor = "middle_right";
7346
- var tunnel_diode_vert_default = rotated9;
7985
+ ref27.anchor = "middle_left";
7986
+ val22.anchor = "middle_right";
7987
+ var tunnel_diode_vert_default = rotated10;
7347
7988
 
7348
7989
  // assets/generated/unijunction_transistor.json
7349
7990
  var unijunction_transistor_default = {
@@ -7513,36 +8154,36 @@ var unijunction_transistor_default = {
7513
8154
  };
7514
8155
 
7515
8156
  // symbols/unijunction_transistor_horz.ts
7516
- var { paths: paths39, texts: texts56, bounds: bounds39, refblocks: refblocks39, circles: circles29 } = unijunction_transistor_default;
8157
+ var { paths: paths40, texts: texts57, bounds: bounds40, refblocks: refblocks40, circles: circles30 } = unijunction_transistor_default;
7517
8158
  var unijunction_transistor_horz_default = defineSymbol({
7518
8159
  primitives: [
7519
- ...Object.values(paths39),
7520
- ...Object.values(circles29),
7521
- { ...texts56.top1, anchor: "middle_left" },
7522
- { ...texts56.bottom1, anchor: "middle_right" }
8160
+ ...Object.values(paths40),
8161
+ ...Object.values(circles30),
8162
+ { ...texts57.top1, anchor: "middle_left" },
8163
+ { ...texts57.bottom1, anchor: "middle_right" }
7523
8164
  ],
7524
8165
  ports: [
7525
- { ...refblocks39.top1, labels: ["1"] },
8166
+ { ...refblocks40.top1, labels: ["1"] },
7526
8167
  // TODO add more "standard" labels
7527
- { ...refblocks39.bottom1, labels: ["2"] },
8168
+ { ...refblocks40.bottom1, labels: ["2"] },
7528
8169
  // TODO add more "standard" labels
7529
- { ...refblocks39.left1, labels: ["3"] }
8170
+ { ...refblocks40.left1, labels: ["3"] }
7530
8171
  // TODO add more "standard" labels
7531
8172
  ],
7532
- size: { width: bounds39.width, height: bounds39.height },
7533
- center: { x: bounds39.centerX, y: bounds39.centerY }
8173
+ size: { width: bounds40.width, height: bounds40.height },
8174
+ center: { x: bounds40.centerX, y: bounds40.centerY }
7534
8175
  });
7535
8176
 
7536
8177
  // symbols/unijunction_transistor_vert.ts
7537
8178
  var rotatedSymbol22 = rotateSymbol(unijunction_transistor_horz_default);
7538
- var texts57 = rotatedSymbol22.primitives.filter(
8179
+ var texts58 = rotatedSymbol22.primitives.filter(
7539
8180
  (primitive) => primitive.type === "text"
7540
8181
  );
7541
- var ref27 = texts57.find((text) => text.text === "{REF}");
7542
- ref27.y = 0.1;
7543
- var val22 = texts57.find((text) => text.text === "{VAL}");
7544
- val22.y = 0.1;
7545
- val22.x = -0.4;
8182
+ var ref28 = texts58.find((text) => text.text === "{REF}");
8183
+ ref28.y = 0.1;
8184
+ var val23 = texts58.find((text) => text.text === "{VAL}");
8185
+ val23.y = 0.1;
8186
+ val23.x = -0.4;
7546
8187
  var unijunction_transistor_vert_default = rotatedSymbol22;
7547
8188
 
7548
8189
  // assets/generated/var_meter.json
@@ -7632,33 +8273,33 @@ var var_meter_default = {
7632
8273
  };
7633
8274
 
7634
8275
  // symbols/var_meter_horz.ts
7635
- var { paths: paths40, texts: texts58, bounds: bounds40, refblocks: refblocks40, circles: circles30 } = var_meter_default;
8276
+ var { paths: paths41, texts: texts59, bounds: bounds41, refblocks: refblocks41, circles: circles31 } = var_meter_default;
7636
8277
  var var_meter_horz_default = defineSymbol({
7637
8278
  primitives: [
7638
- ...Object.values(paths40),
7639
- ...Object.values(circles30),
8279
+ ...Object.values(paths41),
8280
+ ...Object.values(circles31),
7640
8281
  {
7641
- ...texts58.top1,
8282
+ ...texts59.top1,
7642
8283
  x: 0,
7643
8284
  y: -0.3594553499999995,
7644
8285
  anchor: "middle_bottom"
7645
8286
  },
7646
8287
  {
7647
- ...texts58.bottom1,
8288
+ ...texts59.bottom1,
7648
8289
  x: 0,
7649
8290
  y: 0.35,
7650
8291
  anchor: "middle_top"
7651
8292
  },
7652
- { ...texts58.left1, x: -0.02, y: -0.02, fontSize: 0.2, anchor: "center" }
8293
+ { ...texts59.left1, x: -0.02, y: -0.02, fontSize: 0.2, anchor: "center" }
7653
8294
  ],
7654
8295
  ports: [
7655
- { ...refblocks40.left1, labels: ["1"] },
8296
+ { ...refblocks41.left1, labels: ["1"] },
7656
8297
  // TODO add more "standard" labels
7657
- { ...refblocks40.right1, labels: ["2"] }
8298
+ { ...refblocks41.right1, labels: ["2"] }
7658
8299
  // TODO add more "standard" labels
7659
8300
  ],
7660
- size: { width: bounds40.width, height: bounds40.height },
7661
- center: { x: bounds40.centerX, y: bounds40.centerY }
8301
+ size: { width: bounds41.width, height: bounds41.height },
8302
+ center: { x: bounds41.centerX, y: bounds41.centerY }
7662
8303
  });
7663
8304
 
7664
8305
  // symbols/var_meter_vert.ts
@@ -7811,35 +8452,35 @@ var varactor_diode_default = {
7811
8452
  };
7812
8453
 
7813
8454
  // symbols/varactor_diode_horz.ts
7814
- var { paths: paths41, texts: texts59, bounds: bounds41, refblocks: refblocks41, circles: circles31 } = varactor_diode_default;
8455
+ var { paths: paths42, texts: texts60, bounds: bounds42, refblocks: refblocks42, circles: circles32 } = varactor_diode_default;
7815
8456
  var varactor_diode_horz_default = defineSymbol({
7816
8457
  primitives: [
7817
- ...Object.values(paths41),
7818
- ...Object.values(circles31),
7819
- { ...texts59.top1, anchor: "middle_bottom" },
7820
- { ...texts59.bottom1, anchor: "middle_top" }
8458
+ ...Object.values(paths42),
8459
+ ...Object.values(circles32),
8460
+ { ...texts60.top1, anchor: "middle_bottom" },
8461
+ { ...texts60.bottom1, anchor: "middle_top" }
7821
8462
  ],
7822
8463
  ports: [
7823
- { ...refblocks41.left1, labels: ["1"] },
8464
+ { ...refblocks42.left1, labels: ["1"] },
7824
8465
  // TODO add more "standard" labels
7825
- { ...refblocks41.right1, labels: ["2"] }
8466
+ { ...refblocks42.right1, labels: ["2"] }
7826
8467
  // TODO add more "standard" labels
7827
8468
  ],
7828
- size: { width: bounds41.width, height: bounds41.height },
7829
- center: { x: bounds41.centerX, y: bounds41.centerY }
8469
+ size: { width: bounds42.width, height: bounds42.height },
8470
+ center: { x: bounds42.centerX, y: bounds42.centerY }
7830
8471
  });
7831
8472
 
7832
8473
  // symbols/varactor_diode_vert.ts
7833
- var rotated10 = rotateSymbol(varactor_diode_horz_default);
7834
- var ref28 = rotated10.primitives.find(
8474
+ var rotated11 = rotateSymbol(varactor_diode_horz_default);
8475
+ var ref29 = rotated11.primitives.find(
7835
8476
  (p) => p.type === "text" && p.text === "{REF}"
7836
8477
  );
7837
- var val23 = rotated10.primitives.find(
8478
+ var val24 = rotated11.primitives.find(
7838
8479
  (p) => p.type === "text" && p.text === "{VAL}"
7839
8480
  );
7840
- ref28.anchor = "middle_left";
7841
- val23.anchor = "middle_right";
7842
- var varactor_diode_vert_default = rotated10;
8481
+ ref29.anchor = "middle_left";
8482
+ val24.anchor = "middle_right";
8483
+ var varactor_diode_vert_default = rotated11;
7843
8484
 
7844
8485
  // assets/generated/varistor.json
7845
8486
  var varistor_default = {
@@ -7973,26 +8614,26 @@ var varistor_default = {
7973
8614
  };
7974
8615
 
7975
8616
  // symbols/varistor_horz.ts
7976
- var { paths: paths42, texts: texts60, bounds: bounds42, refblocks: refblocks42 } = varistor_default;
8617
+ var { paths: paths43, texts: texts61, bounds: bounds43, refblocks: refblocks43 } = varistor_default;
7977
8618
  var varistor_horz_default = defineSymbol({
7978
8619
  primitives: [
7979
- ...Object.values(paths42),
7980
- { ...texts60.top1, anchor: "middle_left" },
7981
- { ...texts60.bottom1, anchor: "middle_right" }
8620
+ ...Object.values(paths43),
8621
+ { ...texts61.top1, anchor: "middle_left" },
8622
+ { ...texts61.bottom1, anchor: "middle_right" }
7982
8623
  ],
7983
8624
  ports: [
7984
8625
  {
7985
- ...refblocks42.left1,
8626
+ ...refblocks43.left1,
7986
8627
  labels: ["1", "-"]
7987
8628
  },
7988
8629
  {
7989
- ...refblocks42.right1,
8630
+ ...refblocks43.right1,
7990
8631
  labels: ["2", "+"]
7991
8632
  }
7992
8633
  ],
7993
- size: { width: bounds42.width, height: bounds42.height },
8634
+ size: { width: bounds43.width, height: bounds43.height },
7994
8635
  //{ width: 1, height: 0.24 },
7995
- center: { x: bounds42.centerX, y: bounds42.centerY }
8636
+ center: { x: bounds43.centerX, y: bounds43.centerY }
7996
8637
  });
7997
8638
 
7998
8639
  // symbols/varistor_vert.ts
@@ -8098,11 +8739,11 @@ var volt_meter_default = {
8098
8739
  };
8099
8740
 
8100
8741
  // symbols/volt_meter_horz.ts
8101
- var { paths: paths43, texts: texts61, bounds: bounds43, circles: circles32, refblocks: refblocks43 } = volt_meter_default;
8742
+ var { paths: paths44, texts: texts62, bounds: bounds44, circles: circles33, refblocks: refblocks44 } = volt_meter_default;
8102
8743
  var volt_meter_horz_default = defineSymbol({
8103
8744
  primitives: [
8104
- ...Object.values(paths43),
8105
- ...Object.values(circles32),
8745
+ ...Object.values(paths44),
8746
+ ...Object.values(circles33),
8106
8747
  {
8107
8748
  type: "text",
8108
8749
  text: "{REF}",
@@ -8119,13 +8760,13 @@ var volt_meter_horz_default = defineSymbol({
8119
8760
  }
8120
8761
  ],
8121
8762
  ports: [
8122
- { ...refblocks43.left1, labels: ["1"] },
8763
+ { ...refblocks44.left1, labels: ["1"] },
8123
8764
  // TODO add more "standard" labels
8124
- { ...refblocks43.right1, labels: ["2"] }
8765
+ { ...refblocks44.right1, labels: ["2"] }
8125
8766
  // TODO add more "standard" labels
8126
8767
  ],
8127
- size: { width: bounds43.width, height: bounds43.height },
8128
- center: { x: bounds43.centerX, y: bounds43.centerY }
8768
+ size: { width: bounds44.width, height: bounds44.height },
8769
+ center: { x: bounds44.centerX, y: bounds44.centerY }
8129
8770
  });
8130
8771
 
8131
8772
  // symbols/volt_meter_vert.ts
@@ -8278,35 +8919,35 @@ var zener_diode_default = {
8278
8919
  };
8279
8920
 
8280
8921
  // symbols/zener_diode_horz.ts
8281
- var { paths: paths44, texts: texts62, bounds: bounds44, refblocks: refblocks44, circles: circles33 } = zener_diode_default;
8922
+ var { paths: paths45, texts: texts63, bounds: bounds45, refblocks: refblocks45, circles: circles34 } = zener_diode_default;
8282
8923
  var zener_diode_horz_default = defineSymbol({
8283
8924
  primitives: [
8284
- ...Object.values(paths44),
8285
- ...Object.values(circles33),
8286
- { ...texts62.top1, anchor: "middle_bottom" },
8287
- { ...texts62.bottom1, anchor: "middle_top" }
8925
+ ...Object.values(paths45),
8926
+ ...Object.values(circles34),
8927
+ { ...texts63.top1, anchor: "middle_bottom" },
8928
+ { ...texts63.bottom1, anchor: "middle_top" }
8288
8929
  ],
8289
8930
  ports: [
8290
- { ...refblocks44.left1, labels: ["1"] },
8931
+ { ...refblocks45.left1, labels: ["1"] },
8291
8932
  // TODO add more "standard" labels
8292
- { ...refblocks44.right1, labels: ["2"] }
8933
+ { ...refblocks45.right1, labels: ["2"] }
8293
8934
  // TODO add more "standard" labels
8294
8935
  ],
8295
- size: { width: bounds44.width, height: bounds44.height },
8296
- center: { x: bounds44.centerX, y: bounds44.centerY }
8936
+ size: { width: bounds45.width, height: bounds45.height },
8937
+ center: { x: bounds45.centerX, y: bounds45.centerY }
8297
8938
  });
8298
8939
 
8299
8940
  // symbols/zener_diode_vert.ts
8300
- var rotated11 = rotateSymbol(zener_diode_horz_default);
8301
- var ref29 = rotated11.primitives.find(
8941
+ var rotated12 = rotateSymbol(zener_diode_horz_default);
8942
+ var ref30 = rotated12.primitives.find(
8302
8943
  (p) => p.type === "text" && p.text === "{REF}"
8303
8944
  );
8304
- var val24 = rotated11.primitives.find(
8945
+ var val25 = rotated12.primitives.find(
8305
8946
  (p) => p.type === "text" && p.text === "{VAL}"
8306
8947
  );
8307
- ref29.anchor = "middle_left";
8308
- val24.anchor = "middle_right";
8309
- var zener_diode_vert_default = rotated11;
8948
+ ref30.anchor = "middle_left";
8949
+ val25.anchor = "middle_right";
8950
+ var zener_diode_vert_default = rotated12;
8310
8951
 
8311
8952
  // generated/symbols-index.ts
8312
8953
  var symbols_index_default = {
@@ -8344,6 +8985,8 @@ var symbols_index_default = {
8344
8985
  "led_vert": led_vert_default,
8345
8986
  "mosfet_depletion_normally_on_horz": mosfet_depletion_normally_on_horz_default,
8346
8987
  "mosfet_depletion_normally_on_vert": mosfet_depletion_normally_on_vert_default,
8988
+ "mushroom_head_normally_open_momentary_horz": mushroom_head_normally_open_momentary_horz_default,
8989
+ "mushroom_head_normally_open_momentary_vert": mushroom_head_normally_open_momentary_vert_default,
8347
8990
  "n_channel_d_mosfet_transistor_horz": n_channel_d_mosfet_transistor_horz_default,
8348
8991
  "n_channel_d_mosfet_transistor_vert": n_channel_d_mosfet_transistor_vert_default,
8349
8992
  "njfet_transistor_horz": njfet_transistor_horz_default,