schematic-symbols 0.0.64 → 0.0.66

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
@@ -3020,6 +3020,233 @@ ref9.x = val8.x;
3020
3020
  val8.y += 0.15;
3021
3021
  var mosfet_depletion_normally_on_vert_default = rotated4;
3022
3022
 
3023
+ // assets/generated/n_channel_d_mosfet_transistor.json
3024
+ var n_channel_d_mosfet_transistor_default = {
3025
+ paths: {
3026
+ path11: {
3027
+ type: "path",
3028
+ points: [
3029
+ {
3030
+ x: -0.39274354450000026,
3031
+ y: 0.10329954999999957
3032
+ },
3033
+ {
3034
+ x: 0.05111245549999932,
3035
+ y: 0.1059225499999994
3036
+ }
3037
+ ],
3038
+ color: "primary",
3039
+ fill: false
3040
+ },
3041
+ path40: {
3042
+ type: "path",
3043
+ points: [
3044
+ {
3045
+ x: 0.09373835550000087,
3046
+ y: -0.18559775000000034
3047
+ },
3048
+ {
3049
+ x: 0.09280835550000122,
3050
+ y: 0.18255174999999935
3051
+ }
3052
+ ],
3053
+ color: "primary",
3054
+ fill: false
3055
+ },
3056
+ "path12-1": {
3057
+ type: "path",
3058
+ points: [
3059
+ {
3060
+ x: 0.30382435550000064,
3061
+ y: -0.53233025
3062
+ },
3063
+ {
3064
+ x: 0.3032243555000005,
3065
+ y: -0.10600584999999985
3066
+ }
3067
+ ],
3068
+ color: "primary",
3069
+ fill: false
3070
+ },
3071
+ "path12-1-5": {
3072
+ type: "path",
3073
+ points: [
3074
+ {
3075
+ x: 0.3108281555000003,
3076
+ y: 0.5323308500000001
3077
+ },
3078
+ {
3079
+ x: 0.31142815550000025,
3080
+ y: 0.005876249999999805
3081
+ }
3082
+ ],
3083
+ color: "primary",
3084
+ fill: false
3085
+ },
3086
+ path2: {
3087
+ type: "path",
3088
+ points: [
3089
+ {
3090
+ x: 0.09383795549999951,
3091
+ y: -0.10788365000000044
3092
+ },
3093
+ {
3094
+ x: 0.31104975549999936,
3095
+ y: -0.10659565000000004
3096
+ }
3097
+ ],
3098
+ color: "primary",
3099
+ fill: false
3100
+ },
3101
+ "path2-5": {
3102
+ type: "path",
3103
+ points: [
3104
+ {
3105
+ x: 0.09383795549999951,
3106
+ y: 0.10232114999999986
3107
+ },
3108
+ {
3109
+ x: 0.31104975549999936,
3110
+ y: 0.10360915000000026
3111
+ }
3112
+ ],
3113
+ color: "primary",
3114
+ fill: false
3115
+ },
3116
+ path15: {
3117
+ type: "path",
3118
+ points: [
3119
+ {
3120
+ x: 0.27419885550000034,
3121
+ y: 0.04077644999999963
3122
+ },
3123
+ {
3124
+ x: 0.27419885550000034,
3125
+ y: -0.030615650000000327
3126
+ },
3127
+ {
3128
+ x: 0.2024438555000001,
3129
+ y: 0.004662050000000084
3130
+ }
3131
+ ],
3132
+ color: "primary",
3133
+ fill: true
3134
+ },
3135
+ "path2-0": {
3136
+ type: "path",
3137
+ points: [
3138
+ {
3139
+ x: 0.09383795549999951,
3140
+ y: 0.004018049999999551
3141
+ },
3142
+ {
3143
+ x: 0.31104975549999936,
3144
+ y: 0.005306049999999729
3145
+ }
3146
+ ],
3147
+ color: "primary",
3148
+ fill: false
3149
+ },
3150
+ "path12-1-0": {
3151
+ type: "path",
3152
+ points: [
3153
+ {
3154
+ x: 0.05171245550000081,
3155
+ y: -0.16715385000000005
3156
+ },
3157
+ {
3158
+ x: 0.05111245550000065,
3159
+ y: 0.10592255000000006
3160
+ }
3161
+ ],
3162
+ color: "primary",
3163
+ fill: false
3164
+ }
3165
+ },
3166
+ texts: {
3167
+ top1: {
3168
+ type: "text",
3169
+ text: "{REF}",
3170
+ x: -0.13197254449999907,
3171
+ y: -0.36092494999999936
3172
+ },
3173
+ bottom1: {
3174
+ type: "text",
3175
+ text: "{VAL}",
3176
+ x: 0.05891105550000031,
3177
+ y: 0.42489435000000064
3178
+ }
3179
+ },
3180
+ refblocks: {
3181
+ top1: {
3182
+ x: 0.30397715549999993,
3183
+ y: -0.5519248499999992
3184
+ },
3185
+ bottom1: {
3186
+ x: 0.31067575550000126,
3187
+ y: 0.5519248499999994
3188
+ },
3189
+ left1: {
3190
+ x: -0.41859744450000025,
3191
+ y: 0.10250625000000024
3192
+ }
3193
+ },
3194
+ bounds: {
3195
+ minX: -0.4467558855000002,
3196
+ maxX: 0.44675588550000006,
3197
+ minY: -0.5800832909999992,
3198
+ maxY: 0.5800832909999993,
3199
+ width: 1,
3200
+ height: 1.1601665819999987,
3201
+ centerX: -8326672684688674e-32,
3202
+ centerY: 5551115123125783e-32
3203
+ },
3204
+ circles: {
3205
+ path1: {
3206
+ type: "circle",
3207
+ x: 0.15821375550000005,
3208
+ y: -0.003454549999999612,
3209
+ radius: 0.28854213,
3210
+ color: "primary",
3211
+ fill: false
3212
+ }
3213
+ }
3214
+ };
3215
+
3216
+ // symbols/n_channel_d_mosfet_transistor_horz.ts
3217
+ var { paths: paths17, texts: texts21, bounds: bounds17, refblocks: refblocks17, circles: circles11 } = n_channel_d_mosfet_transistor_default;
3218
+ var n_channel_d_mosfet_transistor_horz_default = defineSymbol({
3219
+ primitives: [
3220
+ ...Object.values(paths17),
3221
+ ...Object.values(circles11),
3222
+ { ...texts21.top1, anchor: "middle_right", x: 0 },
3223
+ { ...texts21.bottom1, anchor: "middle_right", x: 0 }
3224
+ ],
3225
+ ports: [
3226
+ { ...refblocks17.top1, labels: ["1", "drain"] },
3227
+ // TODO add more "standard" labels
3228
+ { ...refblocks17.bottom1, labels: ["2", "source"] },
3229
+ // TODO add more "standard" labels
3230
+ { ...refblocks17.left1, labels: ["3", "gate"] }
3231
+ // TODO add more "standard" labels
3232
+ ],
3233
+ size: { width: bounds17.width, height: bounds17.height },
3234
+ center: { x: bounds17.centerX, y: bounds17.centerY }
3235
+ });
3236
+
3237
+ // symbols/n_channel_d_mosfet_transistor_vert.ts
3238
+ var rotatedSymbol9 = rotateSymbol(n_channel_d_mosfet_transistor_horz_default);
3239
+ var texts22 = rotatedSymbol9.primitives.filter((p) => p.type === "text");
3240
+ var val9 = texts22.find((t) => t.text === "{VAL}");
3241
+ val9.x = -0.35;
3242
+ val9.y = 0;
3243
+ val9.anchor = "middle_right";
3244
+ var ref10 = texts22.find((t) => t.text === "{REF}");
3245
+ ref10.y = 0;
3246
+ ref10.x = 0.35;
3247
+ ref10.anchor = "middle_left";
3248
+ var n_channel_d_mosfet_transistor_vert_default = rotatedSymbol9;
3249
+
3023
3250
  // assets/generated/njfet_transistor.json
3024
3251
  var njfet_transistor_default = {
3025
3252
  paths: {
@@ -3184,38 +3411,265 @@ var njfet_transistor_default = {
3184
3411
  };
3185
3412
 
3186
3413
  // symbols/njfet_transistor_horz.ts
3187
- var { paths: paths17, texts: texts21, bounds: bounds17, refblocks: refblocks17, circles: circles11 } = njfet_transistor_default;
3414
+ var { paths: paths18, texts: texts23, bounds: bounds18, refblocks: refblocks18, circles: circles12 } = njfet_transistor_default;
3188
3415
  var njfet_transistor_horz_default = defineSymbol({
3189
3416
  primitives: [
3190
- ...Object.values(paths17),
3191
- ...Object.values(circles11),
3192
- { ...texts21.top1, anchor: "middle_right", x: 0 },
3193
- { ...texts21.bottom1, anchor: "middle_right", x: 0 }
3417
+ ...Object.values(paths18),
3418
+ ...Object.values(circles12),
3419
+ { ...texts23.top1, anchor: "middle_right", x: 0 },
3420
+ { ...texts23.bottom1, anchor: "middle_right", x: 0 }
3194
3421
  ],
3195
3422
  ports: [
3196
- { ...refblocks17.top1, labels: ["1", "drain"] },
3423
+ { ...refblocks18.top1, labels: ["1", "drain"] },
3197
3424
  // TODO add more "standard" labels
3198
- { ...refblocks17.bottom1, labels: ["2", "source"] },
3425
+ { ...refblocks18.bottom1, labels: ["2", "source"] },
3426
+ // TODO add more "standard" labels
3427
+ { ...refblocks18.left1, labels: ["3", "gate"] }
3428
+ // TODO add more "standard" labels
3429
+ ],
3430
+ size: { width: bounds18.width, height: bounds18.height },
3431
+ center: { x: bounds18.centerX, y: bounds18.centerY }
3432
+ });
3433
+
3434
+ // symbols/njfet_transistor_vert.ts
3435
+ var rotatedSymbol10 = rotateSymbol(njfet_transistor_horz_default);
3436
+ var texts24 = rotatedSymbol10.primitives.filter((p) => p.type === "text");
3437
+ var val10 = texts24.find((t) => t.text === "{VAL}");
3438
+ val10.x = -0.35;
3439
+ val10.y = 0;
3440
+ val10.anchor = "middle_right";
3441
+ var ref11 = texts24.find((t) => t.text === "{REF}");
3442
+ ref11.y = 0;
3443
+ ref11.x = 0.35;
3444
+ ref11.anchor = "middle_left";
3445
+ var njfet_transistor_vert_default = rotatedSymbol10;
3446
+
3447
+ // assets/generated/p_channel_d_mosfet_transistor.json
3448
+ var p_channel_d_mosfet_transistor_default = {
3449
+ paths: {
3450
+ path11: {
3451
+ type: "path",
3452
+ points: [
3453
+ {
3454
+ x: -0.39274354450000026,
3455
+ y: 0.10329954999999957
3456
+ },
3457
+ {
3458
+ x: 0.05111245549999932,
3459
+ y: 0.1059225499999994
3460
+ }
3461
+ ],
3462
+ color: "primary",
3463
+ fill: false
3464
+ },
3465
+ path40: {
3466
+ type: "path",
3467
+ points: [
3468
+ {
3469
+ x: 0.09373835550000087,
3470
+ y: -0.18559775000000034
3471
+ },
3472
+ {
3473
+ x: 0.09280835550000122,
3474
+ y: 0.18255174999999935
3475
+ }
3476
+ ],
3477
+ color: "primary",
3478
+ fill: false
3479
+ },
3480
+ "path12-1": {
3481
+ type: "path",
3482
+ points: [
3483
+ {
3484
+ x: 0.30382435550000064,
3485
+ y: -0.53233025
3486
+ },
3487
+ {
3488
+ x: 0.3032243555000005,
3489
+ y: -0.10600584999999985
3490
+ }
3491
+ ],
3492
+ color: "primary",
3493
+ fill: false
3494
+ },
3495
+ "path12-1-5": {
3496
+ type: "path",
3497
+ points: [
3498
+ {
3499
+ x: 0.3108281555000003,
3500
+ y: 0.5323308500000001
3501
+ },
3502
+ {
3503
+ x: 0.31142815550000025,
3504
+ y: 0.005876249999999805
3505
+ }
3506
+ ],
3507
+ color: "primary",
3508
+ fill: false
3509
+ },
3510
+ path2: {
3511
+ type: "path",
3512
+ points: [
3513
+ {
3514
+ x: 0.09383795549999951,
3515
+ y: -0.10788365000000044
3516
+ },
3517
+ {
3518
+ x: 0.31104975549999936,
3519
+ y: -0.10659565000000004
3520
+ }
3521
+ ],
3522
+ color: "primary",
3523
+ fill: false
3524
+ },
3525
+ "path2-5": {
3526
+ type: "path",
3527
+ points: [
3528
+ {
3529
+ x: 0.09383795549999951,
3530
+ y: 0.10232114999999986
3531
+ },
3532
+ {
3533
+ x: 0.31104975549999936,
3534
+ y: 0.10360915000000026
3535
+ }
3536
+ ],
3537
+ color: "primary",
3538
+ fill: false
3539
+ },
3540
+ path15: {
3541
+ type: "path",
3542
+ points: [
3543
+ {
3544
+ x: 0.20244405549999955,
3545
+ y: -0.03061555000000049
3546
+ },
3547
+ {
3548
+ x: 0.20244405549999955,
3549
+ y: 0.04077654999999947
3550
+ },
3551
+ {
3552
+ x: 0.2741990554999998,
3553
+ y: 0.0054987499999992195
3554
+ }
3555
+ ],
3556
+ color: "primary",
3557
+ fill: true
3558
+ },
3559
+ "path2-0": {
3560
+ type: "path",
3561
+ points: [
3562
+ {
3563
+ x: 0.09383795549999951,
3564
+ y: 0.004018049999999551
3565
+ },
3566
+ {
3567
+ x: 0.31104975549999936,
3568
+ y: 0.005306049999999729
3569
+ }
3570
+ ],
3571
+ color: "primary",
3572
+ fill: false
3573
+ },
3574
+ "path12-1-0": {
3575
+ type: "path",
3576
+ points: [
3577
+ {
3578
+ x: 0.05171245550000081,
3579
+ y: -0.16715385000000005
3580
+ },
3581
+ {
3582
+ x: 0.05111245550000065,
3583
+ y: 0.10592255000000006
3584
+ }
3585
+ ],
3586
+ color: "primary",
3587
+ fill: false
3588
+ }
3589
+ },
3590
+ texts: {
3591
+ top1: {
3592
+ type: "text",
3593
+ text: "{REF}",
3594
+ x: -0.13197254449999907,
3595
+ y: -0.36092494999999936
3596
+ },
3597
+ bottom1: {
3598
+ type: "text",
3599
+ text: "{VAL}",
3600
+ x: 0.05891105550000031,
3601
+ y: 0.42489435000000064
3602
+ }
3603
+ },
3604
+ refblocks: {
3605
+ top1: {
3606
+ x: 0.30397715549999993,
3607
+ y: -0.5519248499999992
3608
+ },
3609
+ bottom1: {
3610
+ x: 0.31067575550000126,
3611
+ y: 0.5519248499999994
3612
+ },
3613
+ left1: {
3614
+ x: -0.41859744450000025,
3615
+ y: 0.10250625000000024
3616
+ }
3617
+ },
3618
+ bounds: {
3619
+ minX: -0.4467558855000002,
3620
+ maxX: 0.44675588550000006,
3621
+ minY: -0.5800832909999992,
3622
+ maxY: 0.5800832909999993,
3623
+ width: 1,
3624
+ height: 1.1601665819999987,
3625
+ centerX: -8326672684688674e-32,
3626
+ centerY: 5551115123125783e-32
3627
+ },
3628
+ circles: {
3629
+ path1: {
3630
+ type: "circle",
3631
+ x: 0.15821375550000005,
3632
+ y: -0.003454549999999612,
3633
+ radius: 0.28854213,
3634
+ color: "primary",
3635
+ fill: false
3636
+ }
3637
+ }
3638
+ };
3639
+
3640
+ // symbols/p_channel_d_mosfet_transistor_horz.ts
3641
+ var { paths: paths19, texts: texts25, bounds: bounds19, refblocks: refblocks19, circles: circles13 } = p_channel_d_mosfet_transistor_default;
3642
+ var p_channel_d_mosfet_transistor_horz_default = defineSymbol({
3643
+ primitives: [
3644
+ ...Object.values(paths19),
3645
+ ...Object.values(circles13),
3646
+ { ...texts25.top1, anchor: "middle_right", x: 0 },
3647
+ { ...texts25.bottom1, anchor: "middle_right", x: 0 }
3648
+ ],
3649
+ ports: [
3650
+ { ...refblocks19.top1, labels: ["1", "drain"] },
3651
+ // TODO add more "standard" labels
3652
+ { ...refblocks19.bottom1, labels: ["2", "source"] },
3199
3653
  // TODO add more "standard" labels
3200
- { ...refblocks17.left1, labels: ["3", "gate"] }
3654
+ { ...refblocks19.left1, labels: ["3", "gate"] }
3201
3655
  // TODO add more "standard" labels
3202
3656
  ],
3203
- size: { width: bounds17.width, height: bounds17.height },
3204
- center: { x: bounds17.centerX, y: bounds17.centerY }
3657
+ size: { width: bounds19.width, height: bounds19.height },
3658
+ center: { x: bounds19.centerX, y: bounds19.centerY }
3205
3659
  });
3206
3660
 
3207
- // symbols/njfet_transistor_vert.ts
3208
- var rotatedSymbol9 = rotateSymbol(njfet_transistor_horz_default);
3209
- var texts22 = rotatedSymbol9.primitives.filter((p) => p.type === "text");
3210
- var val9 = texts22.find((t) => t.text === "{VAL}");
3211
- val9.x = -0.35;
3212
- val9.y = 0;
3213
- val9.anchor = "middle_right";
3214
- var ref10 = texts22.find((t) => t.text === "{REF}");
3215
- ref10.y = 0;
3216
- ref10.x = 0.35;
3217
- ref10.anchor = "middle_left";
3218
- var njfet_transistor_vert_default = rotatedSymbol9;
3661
+ // symbols/p_channel_d_mosfet_transistor_vert.ts
3662
+ var rotatedSymbol11 = rotateSymbol(p_channel_d_mosfet_transistor_horz_default);
3663
+ var texts26 = rotatedSymbol11.primitives.filter((p) => p.type === "text");
3664
+ var val11 = texts26.find((t) => t.text === "{VAL}");
3665
+ val11.x = -0.35;
3666
+ val11.y = 0;
3667
+ val11.anchor = "middle_right";
3668
+ var ref12 = texts26.find((t) => t.text === "{REF}");
3669
+ ref12.y = 0;
3670
+ ref12.x = 0.35;
3671
+ ref12.anchor = "middle_left";
3672
+ var p_channel_d_mosfet_transistor_vert_default = rotatedSymbol11;
3219
3673
 
3220
3674
  // assets/generated/photodiode.json
3221
3675
  var photodiode_default = {
@@ -3442,11 +3896,11 @@ var photodiode_default = {
3442
3896
  };
3443
3897
 
3444
3898
  // symbols/photodiode_horz.ts
3445
- var { paths: paths18, texts: texts23, bounds: bounds18, refblocks: refblocks18, circles: circles12 } = photodiode_default;
3899
+ var { paths: paths20, texts: texts27, bounds: bounds20, refblocks: refblocks20, circles: circles14 } = photodiode_default;
3446
3900
  var photodiode_horz_default = defineSymbol({
3447
3901
  primitives: [
3448
- ...Object.values(paths18),
3449
- ...Object.values(circles12),
3902
+ ...Object.values(paths20),
3903
+ ...Object.values(circles14),
3450
3904
  {
3451
3905
  type: "text",
3452
3906
  text: "{REF}",
@@ -3463,22 +3917,22 @@ var photodiode_horz_default = defineSymbol({
3463
3917
  }
3464
3918
  ],
3465
3919
  ports: [
3466
- { ...refblocks18.left1, labels: ["1"] },
3920
+ { ...refblocks20.left1, labels: ["1"] },
3467
3921
  // TODO add more "standard" labels
3468
- { ...refblocks18.right1, labels: ["2"] }
3922
+ { ...refblocks20.right1, labels: ["2"] }
3469
3923
  // TODO add more "standard" labels
3470
3924
  ],
3471
- size: { width: bounds18.width, height: bounds18.height },
3472
- center: { x: bounds18.centerX, y: bounds18.centerY }
3925
+ size: { width: bounds20.width, height: bounds20.height },
3926
+ center: { x: bounds20.centerX, y: bounds20.centerY }
3473
3927
  });
3474
3928
 
3475
3929
  // symbols/photodiode_vert.ts
3476
- var rotatedSymbol10 = rotateSymbol(photodiode_horz_default);
3477
- var texts24 = rotatedSymbol10.primitives.filter((p) => p.type === "text");
3478
- var ref11 = texts24.find((t) => t.text === "{REF}");
3479
- ref11.y = 0;
3480
- ref11.anchor = "middle_left";
3481
- var photodiode_vert_default = rotatedSymbol10;
3930
+ var rotatedSymbol12 = rotateSymbol(photodiode_horz_default);
3931
+ var texts28 = rotatedSymbol12.primitives.filter((p) => p.type === "text");
3932
+ var ref13 = texts28.find((t) => t.text === "{REF}");
3933
+ ref13.y = 0;
3934
+ ref13.anchor = "middle_left";
3935
+ var photodiode_vert_default = rotatedSymbol12;
3482
3936
 
3483
3937
  // assets/generated/pjfet_transistor.json
3484
3938
  var pjfet_transistor_default = {
@@ -3644,38 +4098,38 @@ var pjfet_transistor_default = {
3644
4098
  };
3645
4099
 
3646
4100
  // symbols/pjfet_transistor_horz.ts
3647
- var { paths: paths19, texts: texts25, bounds: bounds19, refblocks: refblocks19, circles: circles13 } = pjfet_transistor_default;
4101
+ var { paths: paths21, texts: texts29, bounds: bounds21, refblocks: refblocks21, circles: circles15 } = pjfet_transistor_default;
3648
4102
  var pjfet_transistor_horz_default = defineSymbol({
3649
4103
  primitives: [
3650
- ...Object.values(paths19),
3651
- ...Object.values(circles13),
3652
- { ...texts25.top1, anchor: "middle_right", x: 0 },
3653
- { ...texts25.bottom1, anchor: "middle_right" }
4104
+ ...Object.values(paths21),
4105
+ ...Object.values(circles15),
4106
+ { ...texts29.top1, anchor: "middle_right", x: 0 },
4107
+ { ...texts29.bottom1, anchor: "middle_right" }
3654
4108
  ],
3655
4109
  ports: [
3656
- { ...refblocks19.top1, labels: ["1", "drain"] },
4110
+ { ...refblocks21.top1, labels: ["1", "drain"] },
3657
4111
  // TODO add more "standard" labels
3658
- { ...refblocks19.bottom1, labels: ["2", "source"] },
4112
+ { ...refblocks21.bottom1, labels: ["2", "source"] },
3659
4113
  // TODO add more "standard" labels
3660
- { ...refblocks19.left1, labels: ["3", "gate"] }
4114
+ { ...refblocks21.left1, labels: ["3", "gate"] }
3661
4115
  // TODO add more "standard" labels
3662
4116
  ],
3663
- size: { width: bounds19.width, height: bounds19.height },
3664
- center: { x: bounds19.centerX, y: bounds19.centerY }
4117
+ size: { width: bounds21.width, height: bounds21.height },
4118
+ center: { x: bounds21.centerX, y: bounds21.centerY }
3665
4119
  });
3666
4120
 
3667
4121
  // symbols/pjfet_transistor_vert.ts
3668
- var rotatedSymbol11 = rotateSymbol(pjfet_transistor_horz_default);
3669
- var texts26 = rotatedSymbol11.primitives.filter((p) => p.type === "text");
3670
- var val10 = texts26.find((t) => t.text === "{VAL}");
3671
- val10.x = -0.35;
3672
- val10.y = 0;
3673
- val10.anchor = "middle_right";
3674
- var ref12 = texts26.find((t) => t.text === "{REF}");
3675
- ref12.y = 0;
3676
- ref12.x = 0.35;
3677
- ref12.anchor = "middle_left";
3678
- var pjfet_transistor_vert_default = rotatedSymbol11;
4122
+ var rotatedSymbol13 = rotateSymbol(pjfet_transistor_horz_default);
4123
+ var texts30 = rotatedSymbol13.primitives.filter((p) => p.type === "text");
4124
+ var val12 = texts30.find((t) => t.text === "{VAL}");
4125
+ val12.x = -0.35;
4126
+ val12.y = 0;
4127
+ val12.anchor = "middle_right";
4128
+ var ref14 = texts30.find((t) => t.text === "{REF}");
4129
+ ref14.y = 0;
4130
+ ref14.x = 0.35;
4131
+ ref14.anchor = "middle_left";
4132
+ var pjfet_transistor_vert_default = rotatedSymbol13;
3679
4133
 
3680
4134
  // assets/generated/potentiometer.json
3681
4135
  var potentiometer_default = {
@@ -3813,21 +4267,21 @@ var potentiometer_default = {
3813
4267
  };
3814
4268
 
3815
4269
  // symbols/potentiometer_horz.ts
3816
- var { paths: paths20, texts: texts27, bounds: bounds20, refblocks: refblocks20 } = potentiometer_default;
4270
+ var { paths: paths22, texts: texts31, bounds: bounds22, refblocks: refblocks22 } = potentiometer_default;
3817
4271
  var potentiometer_horz_default = defineSymbol({
3818
4272
  primitives: [
3819
- ...Object.values(paths20),
3820
- { ...texts27.bottom1, y: 0.35, anchor: "middle_top" },
3821
- { ...texts27.right1, anchor: "middle_left" }
4273
+ ...Object.values(paths22),
4274
+ { ...texts31.bottom1, y: 0.35, anchor: "middle_top" },
4275
+ { ...texts31.right1, anchor: "middle_left" }
3822
4276
  ],
3823
4277
  ports: [
3824
- { ...refblocks20.left1, labels: ["1"] },
4278
+ { ...refblocks22.left1, labels: ["1"] },
3825
4279
  // TODO add more "standard" labels
3826
- { ...refblocks20.right1, labels: ["2"] }
4280
+ { ...refblocks22.right1, labels: ["2"] }
3827
4281
  // TODO add more "standard" labels
3828
4282
  ],
3829
- size: { width: bounds20.width + 0.05, height: bounds20.height },
3830
- center: { x: bounds20.centerX, y: bounds20.centerY }
4283
+ size: { width: bounds22.width + 0.05, height: bounds22.height },
4284
+ center: { x: bounds22.centerX, y: bounds22.centerY }
3831
4285
  });
3832
4286
 
3833
4287
  // symbols/potentiometer_vert.ts
@@ -3989,21 +4443,21 @@ var potentiometer2_default = {
3989
4443
  };
3990
4444
 
3991
4445
  // symbols/potentiometer2_horz.ts
3992
- var { paths: paths21, texts: texts28, bounds: bounds21, refblocks: refblocks21 } = potentiometer2_default;
4446
+ var { paths: paths23, texts: texts32, bounds: bounds23, refblocks: refblocks23 } = potentiometer2_default;
3993
4447
  var potentiometer2_horz_default = defineSymbol({
3994
4448
  primitives: [
3995
- ...Object.values(paths21),
3996
- { ...texts28.bottom1, anchor: "middle_right" },
3997
- { ...texts28.top1, anchor: "middle_left" }
4449
+ ...Object.values(paths23),
4450
+ { ...texts32.bottom1, anchor: "middle_right" },
4451
+ { ...texts32.top1, anchor: "middle_left" }
3998
4452
  ],
3999
4453
  ports: [
4000
- { ...refblocks21.left1, labels: ["1"] },
4454
+ { ...refblocks23.left1, labels: ["1"] },
4001
4455
  // TODO add more "standard" labels
4002
- { ...refblocks21.right1, labels: ["2"] }
4456
+ { ...refblocks23.right1, labels: ["2"] }
4003
4457
  // TODO add more "standard" labels
4004
4458
  ],
4005
- size: { width: bounds21.width, height: bounds21.height },
4006
- center: { x: bounds21.centerX, y: bounds21.centerY }
4459
+ size: { width: bounds23.width, height: bounds23.height },
4460
+ center: { x: bounds23.centerX, y: bounds23.centerY }
4007
4461
  });
4008
4462
 
4009
4463
  // symbols/potentiometer2_vert.ts
@@ -4096,11 +4550,11 @@ var power_factor_meter_default = {
4096
4550
  };
4097
4551
 
4098
4552
  // symbols/power_factor_meter_horz.ts
4099
- var { paths: paths22, texts: texts29, bounds: bounds22, refblocks: refblocks22, circles: circles14 } = power_factor_meter_default;
4553
+ var { paths: paths24, texts: texts33, bounds: bounds24, refblocks: refblocks24, circles: circles16 } = power_factor_meter_default;
4100
4554
  var power_factor_meter_horz_default = defineSymbol({
4101
4555
  primitives: [
4102
- ...Object.values(paths22),
4103
- ...Object.values(circles14),
4556
+ ...Object.values(paths24),
4557
+ ...Object.values(circles16),
4104
4558
  // { ...texts.top1, anchor: "middle_left" },
4105
4559
  {
4106
4560
  type: "text",
@@ -4127,28 +4581,28 @@ var power_factor_meter_horz_default = defineSymbol({
4127
4581
  }
4128
4582
  ],
4129
4583
  ports: [
4130
- { ...refblocks22.left1, labels: ["1"] },
4584
+ { ...refblocks24.left1, labels: ["1"] },
4131
4585
  // TODO add more "standard" labels
4132
- { ...refblocks22.right1, labels: ["2"] }
4586
+ { ...refblocks24.right1, labels: ["2"] }
4133
4587
  // TODO add more "standard" labels
4134
4588
  ],
4135
- size: { width: bounds22.width, height: bounds22.height },
4136
- center: { x: bounds22.centerX, y: bounds22.centerY }
4589
+ size: { width: bounds24.width, height: bounds24.height },
4590
+ center: { x: bounds24.centerX, y: bounds24.centerY }
4137
4591
  });
4138
4592
 
4139
4593
  // symbols/power_factor_meter_vert.ts
4140
- var rotatedSymbol12 = rotateSymbol(power_factor_meter_horz_default);
4141
- var texts30 = rotatedSymbol12.primitives.filter((p) => p.type === "text");
4142
- var ref13 = texts30.find((t) => t.text === "{REF}");
4143
- var val11 = texts30.find((t) => t.text === "{VAL}");
4144
- var text_cos = texts30.find((t) => t.text === "COS \u03C6");
4145
- ref13.x = 0.35;
4146
- ref13.y = 0;
4147
- val11.x = -0.6;
4148
- val11.y = 0;
4594
+ var rotatedSymbol14 = rotateSymbol(power_factor_meter_horz_default);
4595
+ var texts34 = rotatedSymbol14.primitives.filter((p) => p.type === "text");
4596
+ var ref15 = texts34.find((t) => t.text === "{REF}");
4597
+ var val13 = texts34.find((t) => t.text === "{VAL}");
4598
+ var text_cos = texts34.find((t) => t.text === "COS \u03C6");
4599
+ ref15.x = 0.35;
4600
+ ref15.y = 0;
4601
+ val13.x = -0.6;
4602
+ val13.y = 0;
4149
4603
  text_cos.x = -0.1;
4150
4604
  text_cos.y = 0;
4151
- var power_factor_meter_vert_default = rotatedSymbol12;
4605
+ var power_factor_meter_vert_default = rotatedSymbol14;
4152
4606
 
4153
4607
  // assets/generated/push_button_normally_closed_momentary.json
4154
4608
  var push_button_normally_closed_momentary_default = {
@@ -4251,37 +4705,37 @@ var push_button_normally_closed_momentary_default = {
4251
4705
  };
4252
4706
 
4253
4707
  // symbols/push_button_normally_closed_momentary_horz.ts
4254
- var { paths: paths23, texts: texts31, bounds: bounds23, refblocks: refblocks23 } = push_button_normally_closed_momentary_default;
4708
+ var { paths: paths25, texts: texts35, bounds: bounds25, refblocks: refblocks25 } = push_button_normally_closed_momentary_default;
4255
4709
  var push_button_normally_closed_momentary_horz_default = defineSymbol({
4256
4710
  primitives: [
4257
- ...Object.values(paths23),
4258
- { ...texts31.top1, anchor: "middle_bottom" },
4259
- { ...texts31.bottom1, anchor: "middle_top" }
4711
+ ...Object.values(paths25),
4712
+ { ...texts35.top1, anchor: "middle_bottom" },
4713
+ { ...texts35.bottom1, anchor: "middle_top" }
4260
4714
  ],
4261
4715
  ports: [
4262
- { ...refblocks23.left1, labels: ["1"] },
4716
+ { ...refblocks25.left1, labels: ["1"] },
4263
4717
  // TODO add more "standard" labels
4264
- { ...refblocks23.right1, labels: ["2"] }
4718
+ { ...refblocks25.right1, labels: ["2"] }
4265
4719
  // TODO add more "standard" labels
4266
4720
  ],
4267
- size: { width: bounds23.width, height: bounds23.height },
4268
- center: { x: bounds23.centerX, y: bounds23.centerY }
4721
+ size: { width: bounds25.width, height: bounds25.height },
4722
+ center: { x: bounds25.centerX, y: bounds25.centerY }
4269
4723
  });
4270
4724
 
4271
4725
  // symbols/push_button_normally_closed_momentary_vert.ts
4272
4726
  var rotated6 = rotateSymbol(push_button_normally_closed_momentary_horz_default);
4273
- var ref14 = rotated6.primitives.find(
4727
+ var ref16 = rotated6.primitives.find(
4274
4728
  (p) => p.type === "text" && p.text === "{REF}"
4275
4729
  );
4276
- var val12 = rotated6.primitives.find(
4730
+ var val14 = rotated6.primitives.find(
4277
4731
  (p) => p.type === "text" && p.text === "{VAL}"
4278
4732
  );
4279
- ref14.anchor = "middle_left";
4280
- val12.anchor = "middle_right";
4281
- ref14.x = ref14.x - 0.03;
4282
- ref14.y = ref14.y;
4283
- val12.x = val12.x;
4284
- val12.y = 0;
4733
+ ref16.anchor = "middle_left";
4734
+ val14.anchor = "middle_right";
4735
+ ref16.x = ref16.x - 0.03;
4736
+ ref16.y = ref16.y;
4737
+ val14.x = val14.x;
4738
+ val14.y = 0;
4285
4739
  var push_button_normally_closed_momentary_vert_default = rotated6;
4286
4740
 
4287
4741
  // assets/generated/push_button_normally_open_momentary.json
@@ -4385,37 +4839,37 @@ var push_button_normally_open_momentary_default = {
4385
4839
  };
4386
4840
 
4387
4841
  // symbols/push_button_normally_open_momentary_horz.ts
4388
- var { paths: paths24, texts: texts32, bounds: bounds24, refblocks: refblocks24 } = push_button_normally_open_momentary_default;
4842
+ var { paths: paths26, texts: texts36, bounds: bounds26, refblocks: refblocks26 } = push_button_normally_open_momentary_default;
4389
4843
  var push_button_normally_open_momentary_horz_default = defineSymbol({
4390
4844
  primitives: [
4391
- ...Object.values(paths24),
4392
- { ...texts32.top1, anchor: "middle_bottom" },
4393
- { ...texts32.bottom1, anchor: "middle_top" }
4845
+ ...Object.values(paths26),
4846
+ { ...texts36.top1, anchor: "middle_bottom" },
4847
+ { ...texts36.bottom1, anchor: "middle_top" }
4394
4848
  ],
4395
4849
  ports: [
4396
- { ...refblocks24.left1, labels: ["1"] },
4850
+ { ...refblocks26.left1, labels: ["1"] },
4397
4851
  // TODO add more "standard" labels
4398
- { ...refblocks24.right1, labels: ["2"] }
4852
+ { ...refblocks26.right1, labels: ["2"] }
4399
4853
  // TODO add more "standard" labels
4400
4854
  ],
4401
- size: { width: bounds24.width, height: bounds24.height },
4402
- center: { x: bounds24.centerX, y: bounds24.centerY }
4855
+ size: { width: bounds26.width, height: bounds26.height },
4856
+ center: { x: bounds26.centerX, y: bounds26.centerY }
4403
4857
  });
4404
4858
 
4405
4859
  // symbols/push_button_normally_open_momentary_vert.ts
4406
4860
  var rotated7 = rotateSymbol(push_button_normally_open_momentary_horz_default);
4407
- var ref15 = rotated7.primitives.find(
4861
+ var ref17 = rotated7.primitives.find(
4408
4862
  (p) => p.type === "text" && p.text === "{REF}"
4409
4863
  );
4410
- var val13 = rotated7.primitives.find(
4864
+ var val15 = rotated7.primitives.find(
4411
4865
  (p) => p.type === "text" && p.text === "{VAL}"
4412
4866
  );
4413
- ref15.anchor = "middle_left";
4414
- val13.anchor = "middle_right";
4415
- ref15.x = ref15.x + 0.1;
4416
- ref15.y = ref15.y;
4417
- val13.x = val13.x;
4418
- val13.y = 0;
4867
+ ref17.anchor = "middle_left";
4868
+ val15.anchor = "middle_right";
4869
+ ref17.x = ref17.x + 0.1;
4870
+ ref17.y = ref17.y;
4871
+ val15.x = val15.x;
4872
+ val15.y = 0;
4419
4873
  var push_button_normally_open_momentary_vert_default = rotated7;
4420
4874
 
4421
4875
  // assets/generated/resonator.json
@@ -4764,11 +5218,11 @@ var resonator_default = {
4764
5218
  };
4765
5219
 
4766
5220
  // symbols/resonator_horz.ts
4767
- var { paths: paths25, texts: texts33, bounds: bounds25, refblocks: refblocks25, circles: circles15 } = resonator_default;
5221
+ var { paths: paths27, texts: texts37, bounds: bounds27, refblocks: refblocks27, circles: circles17 } = resonator_default;
4768
5222
  var resonator_horz_default = defineSymbol({
4769
5223
  primitives: [
4770
- ...Object.values(paths25),
4771
- ...Object.values(circles15),
5224
+ ...Object.values(paths27),
5225
+ ...Object.values(circles17),
4772
5226
  // { ...texts.top1, anchor: "middle_left" },
4773
5227
  // { ...texts.bottom1, anchor: "middle_left" },
4774
5228
  {
@@ -4787,15 +5241,15 @@ var resonator_horz_default = defineSymbol({
4787
5241
  }
4788
5242
  ],
4789
5243
  ports: [
4790
- { ...refblocks25.left1, labels: ["1"] },
5244
+ { ...refblocks27.left1, labels: ["1"] },
4791
5245
  // TODO add more "standard" labels
4792
- { ...refblocks25.right1, labels: ["2"] },
5246
+ { ...refblocks27.right1, labels: ["2"] },
4793
5247
  // TODO add more "standard" labels
4794
- { ...refblocks25.right2, labels: ["3"] }
5248
+ { ...refblocks27.right2, labels: ["3"] }
4795
5249
  // TODO add more "standard" labels
4796
5250
  ],
4797
- size: { width: bounds25.width, height: bounds25.height },
4798
- center: { x: bounds25.centerX, y: bounds25.centerY }
5251
+ size: { width: bounds27.width, height: bounds27.height },
5252
+ center: { x: bounds27.centerX, y: bounds27.centerY }
4799
5253
  });
4800
5254
 
4801
5255
  // symbols/resonator_vert.ts
@@ -4993,34 +5447,34 @@ var schottky_diode_default = {
4993
5447
  };
4994
5448
 
4995
5449
  // symbols/schottky_diode_horz.ts
4996
- var { paths: paths26, texts: texts34, bounds: bounds26, refblocks: refblocks26, circles: circles16 } = schottky_diode_default;
5450
+ var { paths: paths28, texts: texts38, bounds: bounds28, refblocks: refblocks28, circles: circles18 } = schottky_diode_default;
4997
5451
  var schottky_diode_horz_default = defineSymbol({
4998
5452
  primitives: [
4999
- ...Object.values(paths26),
5000
- ...Object.values(circles16),
5001
- { ...texts34.top1, anchor: "middle_bottom" },
5002
- { ...texts34.bottom1, anchor: "middle_top" }
5453
+ ...Object.values(paths28),
5454
+ ...Object.values(circles18),
5455
+ { ...texts38.top1, anchor: "middle_bottom" },
5456
+ { ...texts38.bottom1, anchor: "middle_top" }
5003
5457
  ],
5004
5458
  ports: [
5005
- { ...refblocks26.left1, labels: ["1"] },
5459
+ { ...refblocks28.left1, labels: ["1"] },
5006
5460
  // TODO add more "standard" labels
5007
- { ...refblocks26.right1, labels: ["2"] }
5461
+ { ...refblocks28.right1, labels: ["2"] }
5008
5462
  // TODO add more "standard" labels
5009
5463
  ],
5010
- size: { width: bounds26.width, height: bounds26.height },
5011
- center: { x: bounds26.centerX, y: bounds26.centerY }
5464
+ size: { width: bounds28.width, height: bounds28.height },
5465
+ center: { x: bounds28.centerX, y: bounds28.centerY }
5012
5466
  });
5013
5467
 
5014
5468
  // symbols/schottky_diode_vert.ts
5015
5469
  var rotated8 = rotateSymbol(schottky_diode_horz_default);
5016
- var ref16 = rotated8.primitives.find(
5470
+ var ref18 = rotated8.primitives.find(
5017
5471
  (p) => p.type === "text" && p.text === "{REF}"
5018
5472
  );
5019
- var val14 = rotated8.primitives.find(
5473
+ var val16 = rotated8.primitives.find(
5020
5474
  (p) => p.type === "text" && p.text === "{VAL}"
5021
5475
  );
5022
- ref16.anchor = "middle_left";
5023
- val14.anchor = "middle_right";
5476
+ ref18.anchor = "middle_left";
5477
+ val16.anchor = "middle_right";
5024
5478
  var schottky_diode_vert_default = rotated8;
5025
5479
 
5026
5480
  // assets/generated/silicon_controlled_rectifier.json
@@ -5167,35 +5621,35 @@ var silicon_controlled_rectifier_default = {
5167
5621
  };
5168
5622
 
5169
5623
  // symbols/silicon_controlled_rectifier_horz.ts
5170
- var { paths: paths27, texts: texts35, bounds: bounds27, refblocks: refblocks27, circles: circles17 } = silicon_controlled_rectifier_default;
5624
+ var { paths: paths29, texts: texts39, bounds: bounds29, refblocks: refblocks29, circles: circles19 } = silicon_controlled_rectifier_default;
5171
5625
  var silicon_controlled_rectifier_horz_default = defineSymbol({
5172
5626
  primitives: [
5173
- ...Object.values(paths27),
5174
- ...Object.values(circles17),
5175
- { ...texts35.top1, anchor: "middle_left" },
5176
- { ...texts35.bottom1, anchor: "middle_top" }
5627
+ ...Object.values(paths29),
5628
+ ...Object.values(circles19),
5629
+ { ...texts39.top1, anchor: "middle_left" },
5630
+ { ...texts39.bottom1, anchor: "middle_top" }
5177
5631
  ],
5178
5632
  ports: [
5179
- { ...refblocks27.left1, labels: ["1"] },
5633
+ { ...refblocks29.left1, labels: ["1"] },
5180
5634
  // TODO add more "standard" labels
5181
- { ...refblocks27.right1, labels: ["2"] },
5635
+ { ...refblocks29.right1, labels: ["2"] },
5182
5636
  // TODO add more "standard" labels
5183
- { ...refblocks27.bottom1, labels: ["3"] }
5637
+ { ...refblocks29.bottom1, labels: ["3"] }
5184
5638
  // TODO add more "standard" labels
5185
5639
  ],
5186
- size: { width: bounds27.width, height: bounds27.height },
5187
- center: { x: bounds27.centerX, y: bounds27.centerY }
5640
+ size: { width: bounds29.width, height: bounds29.height },
5641
+ center: { x: bounds29.centerX, y: bounds29.centerY }
5188
5642
  });
5189
5643
 
5190
5644
  // symbols/silicon_controlled_rectifier_vert.ts
5191
- var rotatedSymbol13 = rotateSymbol(silicon_controlled_rectifier_horz_default);
5192
- var texts36 = rotatedSymbol13.primitives.filter(
5645
+ var rotatedSymbol15 = rotateSymbol(silicon_controlled_rectifier_horz_default);
5646
+ var texts40 = rotatedSymbol15.primitives.filter(
5193
5647
  (primitive) => primitive.type === "text"
5194
5648
  );
5195
- var ref17 = texts36.find((text) => text.text === "{REF}");
5196
- ref17.y = 0;
5197
- ref17.anchor = "middle_left";
5198
- var silicon_controlled_rectifier_vert_default = rotatedSymbol13;
5649
+ var ref19 = texts40.find((text) => text.text === "{REF}");
5650
+ ref19.y = 0;
5651
+ ref19.anchor = "middle_left";
5652
+ var silicon_controlled_rectifier_vert_default = rotatedSymbol15;
5199
5653
 
5200
5654
  // assets/generated/step_recovery_diode.json
5201
5655
  var step_recovery_diode_default = {
@@ -5359,11 +5813,11 @@ var step_recovery_diode_default = {
5359
5813
  };
5360
5814
 
5361
5815
  // symbols/step_recovery_diode_horz.ts
5362
- var { paths: paths28, texts: texts37, bounds: bounds28, refblocks: refblocks28, circles: circles18 } = step_recovery_diode_default;
5816
+ var { paths: paths30, texts: texts41, bounds: bounds30, refblocks: refblocks30, circles: circles20 } = step_recovery_diode_default;
5363
5817
  var step_recovery_diode_horz_default = defineSymbol({
5364
5818
  primitives: [
5365
- ...Object.values(paths28),
5366
- ...Object.values(circles18),
5819
+ ...Object.values(paths30),
5820
+ ...Object.values(circles20),
5367
5821
  // { ...texts.top1, anchor: "middle_left" },
5368
5822
  // { ...texts.bottom1, anchor: "middle_left" },
5369
5823
  {
@@ -5382,13 +5836,13 @@ var step_recovery_diode_horz_default = defineSymbol({
5382
5836
  }
5383
5837
  ],
5384
5838
  ports: [
5385
- { ...refblocks28.left1, labels: ["1"] },
5839
+ { ...refblocks30.left1, labels: ["1"] },
5386
5840
  // TODO add more "standard" labels
5387
- { ...refblocks28.right1, labels: ["2"] }
5841
+ { ...refblocks30.right1, labels: ["2"] }
5388
5842
  // TODO add more "standard" labels
5389
5843
  ],
5390
- size: { width: bounds28.width, height: bounds28.height },
5391
- center: { x: bounds28.centerX, y: bounds28.centerY }
5844
+ size: { width: bounds30.width, height: bounds30.height },
5845
+ center: { x: bounds30.centerX, y: bounds30.centerY }
5392
5846
  });
5393
5847
 
5394
5848
  // symbols/step_recovery_diode_vert.ts
@@ -5585,36 +6039,36 @@ var triac_default = {
5585
6039
  };
5586
6040
 
5587
6041
  // symbols/triac_horz.ts
5588
- var { paths: paths29, texts: texts38, bounds: bounds29, refblocks: refblocks29, circles: circles19 } = triac_default;
6042
+ var { paths: paths31, texts: texts42, bounds: bounds31, refblocks: refblocks31, circles: circles21 } = triac_default;
5589
6043
  var triac_horz_default = defineSymbol({
5590
6044
  primitives: [
5591
- ...Object.values(paths29),
5592
- ...Object.values(circles19),
5593
- { ...texts38.top1, anchor: "middle_left" },
5594
- { ...texts38.bottom1, anchor: "middle_top" }
6045
+ ...Object.values(paths31),
6046
+ ...Object.values(circles21),
6047
+ { ...texts42.top1, anchor: "middle_left" },
6048
+ { ...texts42.bottom1, anchor: "middle_top" }
5595
6049
  ],
5596
6050
  ports: [
5597
- { ...refblocks29.left1, labels: ["1"] },
6051
+ { ...refblocks31.left1, labels: ["1"] },
5598
6052
  // TODO add more "standard" labels
5599
- { ...refblocks29.right1, labels: ["2"] },
6053
+ { ...refblocks31.right1, labels: ["2"] },
5600
6054
  // TODO add more "standard" labels
5601
- { ...refblocks29.bottom1, labels: ["3"] }
6055
+ { ...refblocks31.bottom1, labels: ["3"] }
5602
6056
  // TODO add more "standard" labels
5603
6057
  ],
5604
- size: { width: bounds29.width, height: bounds29.height },
5605
- center: { x: bounds29.centerX, y: bounds29.centerY }
6058
+ size: { width: bounds31.width, height: bounds31.height },
6059
+ center: { x: bounds31.centerX, y: bounds31.centerY }
5606
6060
  });
5607
6061
 
5608
6062
  // symbols/triac_vert.ts
5609
- var rotatedSymbol14 = rotateSymbol(triac_horz_default);
5610
- var texts39 = rotatedSymbol14.primitives.filter(
6063
+ var rotatedSymbol16 = rotateSymbol(triac_horz_default);
6064
+ var texts43 = rotatedSymbol16.primitives.filter(
5611
6065
  (primitive) => primitive.type === "text"
5612
6066
  );
5613
- var ref18 = texts39.find((text) => text.text === "{REF}");
5614
- var val15 = texts39.find((text) => text.text === "{VAL}");
5615
- ref18.y = 0;
5616
- val15.y = 0;
5617
- var triac_vert_default = rotatedSymbol14;
6067
+ var ref20 = texts43.find((text) => text.text === "{REF}");
6068
+ var val17 = texts43.find((text) => text.text === "{VAL}");
6069
+ ref20.y = 0;
6070
+ val17.y = 0;
6071
+ var triac_vert_default = rotatedSymbol16;
5618
6072
 
5619
6073
  // assets/generated/tunnel_diode.json
5620
6074
  var tunnel_diode_default = {
@@ -5778,34 +6232,34 @@ var tunnel_diode_default = {
5778
6232
  };
5779
6233
 
5780
6234
  // symbols/tunnel_diode_horz.ts
5781
- var { paths: paths30, texts: texts40, bounds: bounds30, refblocks: refblocks30, circles: circles20 } = tunnel_diode_default;
6235
+ var { paths: paths32, texts: texts44, bounds: bounds32, refblocks: refblocks32, circles: circles22 } = tunnel_diode_default;
5782
6236
  var tunnel_diode_horz_default = defineSymbol({
5783
6237
  primitives: [
5784
- ...Object.values(paths30),
5785
- ...Object.values(circles20),
5786
- { ...texts40.top1, anchor: "middle_bottom" },
5787
- { ...texts40.bottom1, anchor: "middle_top" }
6238
+ ...Object.values(paths32),
6239
+ ...Object.values(circles22),
6240
+ { ...texts44.top1, anchor: "middle_bottom" },
6241
+ { ...texts44.bottom1, anchor: "middle_top" }
5788
6242
  ],
5789
6243
  ports: [
5790
- { ...refblocks30.left1, labels: ["1"] },
6244
+ { ...refblocks32.left1, labels: ["1"] },
5791
6245
  // TODO add more "standard" labels
5792
- { ...refblocks30.right1, labels: ["2"] }
6246
+ { ...refblocks32.right1, labels: ["2"] }
5793
6247
  // TODO add more "standard" labels
5794
6248
  ],
5795
- size: { width: bounds30.width, height: bounds30.height },
5796
- center: { x: bounds30.centerX, y: bounds30.centerY }
6249
+ size: { width: bounds32.width, height: bounds32.height },
6250
+ center: { x: bounds32.centerX, y: bounds32.centerY }
5797
6251
  });
5798
6252
 
5799
6253
  // symbols/tunnel_diode_vert.ts
5800
6254
  var rotated9 = rotateSymbol(tunnel_diode_horz_default);
5801
- var ref19 = rotated9.primitives.find(
6255
+ var ref21 = rotated9.primitives.find(
5802
6256
  (p) => p.type === "text" && p.text === "{REF}"
5803
6257
  );
5804
- var val16 = rotated9.primitives.find(
6258
+ var val18 = rotated9.primitives.find(
5805
6259
  (p) => p.type === "text" && p.text === "{VAL}"
5806
6260
  );
5807
- ref19.anchor = "middle_left";
5808
- val16.anchor = "middle_right";
6261
+ ref21.anchor = "middle_left";
6262
+ val18.anchor = "middle_right";
5809
6263
  var tunnel_diode_vert_default = rotated9;
5810
6264
 
5811
6265
  // assets/generated/unijunction_transistor.json
@@ -5976,37 +6430,37 @@ var unijunction_transistor_default = {
5976
6430
  };
5977
6431
 
5978
6432
  // symbols/unijunction_transistor_horz.ts
5979
- var { paths: paths31, texts: texts41, bounds: bounds31, refblocks: refblocks31, circles: circles21 } = unijunction_transistor_default;
6433
+ var { paths: paths33, texts: texts45, bounds: bounds33, refblocks: refblocks33, circles: circles23 } = unijunction_transistor_default;
5980
6434
  var unijunction_transistor_horz_default = defineSymbol({
5981
6435
  primitives: [
5982
- ...Object.values(paths31),
5983
- ...Object.values(circles21),
5984
- { ...texts41.top1, anchor: "middle_left" },
5985
- { ...texts41.bottom1, anchor: "middle_right" }
6436
+ ...Object.values(paths33),
6437
+ ...Object.values(circles23),
6438
+ { ...texts45.top1, anchor: "middle_left" },
6439
+ { ...texts45.bottom1, anchor: "middle_right" }
5986
6440
  ],
5987
6441
  ports: [
5988
- { ...refblocks31.top1, labels: ["1"] },
6442
+ { ...refblocks33.top1, labels: ["1"] },
5989
6443
  // TODO add more "standard" labels
5990
- { ...refblocks31.bottom1, labels: ["2"] },
6444
+ { ...refblocks33.bottom1, labels: ["2"] },
5991
6445
  // TODO add more "standard" labels
5992
- { ...refblocks31.left1, labels: ["3"] }
6446
+ { ...refblocks33.left1, labels: ["3"] }
5993
6447
  // TODO add more "standard" labels
5994
6448
  ],
5995
- size: { width: bounds31.width, height: bounds31.height },
5996
- center: { x: bounds31.centerX, y: bounds31.centerY }
6449
+ size: { width: bounds33.width, height: bounds33.height },
6450
+ center: { x: bounds33.centerX, y: bounds33.centerY }
5997
6451
  });
5998
6452
 
5999
6453
  // symbols/unijunction_transistor_vert.ts
6000
- var rotatedSymbol15 = rotateSymbol(unijunction_transistor_horz_default);
6001
- var texts42 = rotatedSymbol15.primitives.filter(
6454
+ var rotatedSymbol17 = rotateSymbol(unijunction_transistor_horz_default);
6455
+ var texts46 = rotatedSymbol17.primitives.filter(
6002
6456
  (primitive) => primitive.type === "text"
6003
6457
  );
6004
- var ref20 = texts42.find((text) => text.text === "{REF}");
6005
- ref20.y = 0.1;
6006
- var val17 = texts42.find((text) => text.text === "{VAL}");
6007
- val17.y = 0.1;
6008
- val17.x = -0.4;
6009
- var unijunction_transistor_vert_default = rotatedSymbol15;
6458
+ var ref22 = texts46.find((text) => text.text === "{REF}");
6459
+ ref22.y = 0.1;
6460
+ var val19 = texts46.find((text) => text.text === "{VAL}");
6461
+ val19.y = 0.1;
6462
+ val19.x = -0.4;
6463
+ var unijunction_transistor_vert_default = rotatedSymbol17;
6010
6464
 
6011
6465
  // assets/generated/var_meter.json
6012
6466
  var var_meter_default = {
@@ -6095,33 +6549,33 @@ var var_meter_default = {
6095
6549
  };
6096
6550
 
6097
6551
  // symbols/var_meter_horz.ts
6098
- var { paths: paths32, texts: texts43, bounds: bounds32, refblocks: refblocks32, circles: circles22 } = var_meter_default;
6552
+ var { paths: paths34, texts: texts47, bounds: bounds34, refblocks: refblocks34, circles: circles24 } = var_meter_default;
6099
6553
  var var_meter_horz_default = defineSymbol({
6100
6554
  primitives: [
6101
- ...Object.values(paths32),
6102
- ...Object.values(circles22),
6555
+ ...Object.values(paths34),
6556
+ ...Object.values(circles24),
6103
6557
  {
6104
- ...texts43.top1,
6558
+ ...texts47.top1,
6105
6559
  x: 0,
6106
6560
  y: -0.3594553499999995,
6107
6561
  anchor: "middle_bottom"
6108
6562
  },
6109
6563
  {
6110
- ...texts43.bottom1,
6564
+ ...texts47.bottom1,
6111
6565
  x: 0,
6112
6566
  y: 0.35,
6113
6567
  anchor: "middle_top"
6114
6568
  },
6115
- { ...texts43.left1, x: -0.02, y: -0.02, fontSize: 0.2, anchor: "center" }
6569
+ { ...texts47.left1, x: -0.02, y: -0.02, fontSize: 0.2, anchor: "center" }
6116
6570
  ],
6117
6571
  ports: [
6118
- { ...refblocks32.left1, labels: ["1"] },
6572
+ { ...refblocks34.left1, labels: ["1"] },
6119
6573
  // TODO add more "standard" labels
6120
- { ...refblocks32.right1, labels: ["2"] }
6574
+ { ...refblocks34.right1, labels: ["2"] }
6121
6575
  // TODO add more "standard" labels
6122
6576
  ],
6123
- size: { width: bounds32.width, height: bounds32.height },
6124
- center: { x: bounds32.centerX, y: bounds32.centerY }
6577
+ size: { width: bounds34.width, height: bounds34.height },
6578
+ center: { x: bounds34.centerX, y: bounds34.centerY }
6125
6579
  });
6126
6580
 
6127
6581
  // symbols/var_meter_vert.ts
@@ -6274,34 +6728,34 @@ var varactor_diode_default = {
6274
6728
  };
6275
6729
 
6276
6730
  // symbols/varactor_diode_horz.ts
6277
- var { paths: paths33, texts: texts44, bounds: bounds33, refblocks: refblocks33, circles: circles23 } = varactor_diode_default;
6731
+ var { paths: paths35, texts: texts48, bounds: bounds35, refblocks: refblocks35, circles: circles25 } = varactor_diode_default;
6278
6732
  var varactor_diode_horz_default = defineSymbol({
6279
6733
  primitives: [
6280
- ...Object.values(paths33),
6281
- ...Object.values(circles23),
6282
- { ...texts44.top1, anchor: "middle_bottom" },
6283
- { ...texts44.bottom1, anchor: "middle_top" }
6734
+ ...Object.values(paths35),
6735
+ ...Object.values(circles25),
6736
+ { ...texts48.top1, anchor: "middle_bottom" },
6737
+ { ...texts48.bottom1, anchor: "middle_top" }
6284
6738
  ],
6285
6739
  ports: [
6286
- { ...refblocks33.left1, labels: ["1"] },
6740
+ { ...refblocks35.left1, labels: ["1"] },
6287
6741
  // TODO add more "standard" labels
6288
- { ...refblocks33.right1, labels: ["2"] }
6742
+ { ...refblocks35.right1, labels: ["2"] }
6289
6743
  // TODO add more "standard" labels
6290
6744
  ],
6291
- size: { width: bounds33.width, height: bounds33.height },
6292
- center: { x: bounds33.centerX, y: bounds33.centerY }
6745
+ size: { width: bounds35.width, height: bounds35.height },
6746
+ center: { x: bounds35.centerX, y: bounds35.centerY }
6293
6747
  });
6294
6748
 
6295
6749
  // symbols/varactor_diode_vert.ts
6296
6750
  var rotated10 = rotateSymbol(varactor_diode_horz_default);
6297
- var ref21 = rotated10.primitives.find(
6751
+ var ref23 = rotated10.primitives.find(
6298
6752
  (p) => p.type === "text" && p.text === "{REF}"
6299
6753
  );
6300
- var val18 = rotated10.primitives.find(
6754
+ var val20 = rotated10.primitives.find(
6301
6755
  (p) => p.type === "text" && p.text === "{VAL}"
6302
6756
  );
6303
- ref21.anchor = "middle_left";
6304
- val18.anchor = "middle_right";
6757
+ ref23.anchor = "middle_left";
6758
+ val20.anchor = "middle_right";
6305
6759
  var varactor_diode_vert_default = rotated10;
6306
6760
 
6307
6761
  // assets/generated/varistor.json
@@ -6436,26 +6890,26 @@ var varistor_default = {
6436
6890
  };
6437
6891
 
6438
6892
  // symbols/varistor_horz.ts
6439
- var { paths: paths34, texts: texts45, bounds: bounds34, refblocks: refblocks34 } = varistor_default;
6893
+ var { paths: paths36, texts: texts49, bounds: bounds36, refblocks: refblocks36 } = varistor_default;
6440
6894
  var varistor_horz_default = defineSymbol({
6441
6895
  primitives: [
6442
- ...Object.values(paths34),
6443
- { ...texts45.top1, anchor: "middle_left" },
6444
- { ...texts45.bottom1, anchor: "middle_right" }
6896
+ ...Object.values(paths36),
6897
+ { ...texts49.top1, anchor: "middle_left" },
6898
+ { ...texts49.bottom1, anchor: "middle_right" }
6445
6899
  ],
6446
6900
  ports: [
6447
6901
  {
6448
- ...refblocks34.left1,
6902
+ ...refblocks36.left1,
6449
6903
  labels: ["1", "-"]
6450
6904
  },
6451
6905
  {
6452
- ...refblocks34.right1,
6906
+ ...refblocks36.right1,
6453
6907
  labels: ["2", "+"]
6454
6908
  }
6455
6909
  ],
6456
- size: { width: bounds34.width, height: bounds34.height },
6910
+ size: { width: bounds36.width, height: bounds36.height },
6457
6911
  //{ width: 1, height: 0.24 },
6458
- center: { x: bounds34.centerX, y: bounds34.centerY }
6912
+ center: { x: bounds36.centerX, y: bounds36.centerY }
6459
6913
  });
6460
6914
 
6461
6915
  // symbols/varistor_vert.ts
@@ -6561,11 +7015,11 @@ var volt_meter_default = {
6561
7015
  };
6562
7016
 
6563
7017
  // symbols/volt_meter_horz.ts
6564
- var { paths: paths35, texts: texts46, bounds: bounds35, circles: circles24, refblocks: refblocks35 } = volt_meter_default;
7018
+ var { paths: paths37, texts: texts50, bounds: bounds37, circles: circles26, refblocks: refblocks37 } = volt_meter_default;
6565
7019
  var volt_meter_horz_default = defineSymbol({
6566
7020
  primitives: [
6567
- ...Object.values(paths35),
6568
- ...Object.values(circles24),
7021
+ ...Object.values(paths37),
7022
+ ...Object.values(circles26),
6569
7023
  {
6570
7024
  type: "text",
6571
7025
  text: "{REF}",
@@ -6582,13 +7036,13 @@ var volt_meter_horz_default = defineSymbol({
6582
7036
  }
6583
7037
  ],
6584
7038
  ports: [
6585
- { ...refblocks35.left1, labels: ["1"] },
7039
+ { ...refblocks37.left1, labels: ["1"] },
6586
7040
  // TODO add more "standard" labels
6587
- { ...refblocks35.right1, labels: ["2"] }
7041
+ { ...refblocks37.right1, labels: ["2"] }
6588
7042
  // TODO add more "standard" labels
6589
7043
  ],
6590
- size: { width: bounds35.width, height: bounds35.height },
6591
- center: { x: bounds35.centerX, y: bounds35.centerY }
7044
+ size: { width: bounds37.width, height: bounds37.height },
7045
+ center: { x: bounds37.centerX, y: bounds37.centerY }
6592
7046
  });
6593
7047
 
6594
7048
  // symbols/volt_meter_vert.ts
@@ -6741,34 +7195,34 @@ var zener_diode_default = {
6741
7195
  };
6742
7196
 
6743
7197
  // symbols/zener_diode_horz.ts
6744
- var { paths: paths36, texts: texts47, bounds: bounds36, refblocks: refblocks36, circles: circles25 } = zener_diode_default;
7198
+ var { paths: paths38, texts: texts51, bounds: bounds38, refblocks: refblocks38, circles: circles27 } = zener_diode_default;
6745
7199
  var zener_diode_horz_default = defineSymbol({
6746
7200
  primitives: [
6747
- ...Object.values(paths36),
6748
- ...Object.values(circles25),
6749
- { ...texts47.top1, anchor: "middle_bottom" },
6750
- { ...texts47.bottom1, anchor: "middle_top" }
7201
+ ...Object.values(paths38),
7202
+ ...Object.values(circles27),
7203
+ { ...texts51.top1, anchor: "middle_bottom" },
7204
+ { ...texts51.bottom1, anchor: "middle_top" }
6751
7205
  ],
6752
7206
  ports: [
6753
- { ...refblocks36.left1, labels: ["1"] },
7207
+ { ...refblocks38.left1, labels: ["1"] },
6754
7208
  // TODO add more "standard" labels
6755
- { ...refblocks36.right1, labels: ["2"] }
7209
+ { ...refblocks38.right1, labels: ["2"] }
6756
7210
  // TODO add more "standard" labels
6757
7211
  ],
6758
- size: { width: bounds36.width, height: bounds36.height },
6759
- center: { x: bounds36.centerX, y: bounds36.centerY }
7212
+ size: { width: bounds38.width, height: bounds38.height },
7213
+ center: { x: bounds38.centerX, y: bounds38.centerY }
6760
7214
  });
6761
7215
 
6762
7216
  // symbols/zener_diode_vert.ts
6763
7217
  var rotated11 = rotateSymbol(zener_diode_horz_default);
6764
- var ref22 = rotated11.primitives.find(
7218
+ var ref24 = rotated11.primitives.find(
6765
7219
  (p) => p.type === "text" && p.text === "{REF}"
6766
7220
  );
6767
- var val19 = rotated11.primitives.find(
7221
+ var val21 = rotated11.primitives.find(
6768
7222
  (p) => p.type === "text" && p.text === "{VAL}"
6769
7223
  );
6770
- ref22.anchor = "middle_left";
6771
- val19.anchor = "middle_right";
7224
+ ref24.anchor = "middle_left";
7225
+ val21.anchor = "middle_right";
6772
7226
  var zener_diode_vert_default = rotated11;
6773
7227
 
6774
7228
  // generated/symbols-index.ts
@@ -6805,8 +7259,12 @@ var symbols_index_default = {
6805
7259
  "led_vert": led_vert_default,
6806
7260
  "mosfet_depletion_normally_on_horz": mosfet_depletion_normally_on_horz_default,
6807
7261
  "mosfet_depletion_normally_on_vert": mosfet_depletion_normally_on_vert_default,
7262
+ "n_channel_d_mosfet_transistor_horz": n_channel_d_mosfet_transistor_horz_default,
7263
+ "n_channel_d_mosfet_transistor_vert": n_channel_d_mosfet_transistor_vert_default,
6808
7264
  "njfet_transistor_horz": njfet_transistor_horz_default,
6809
7265
  "njfet_transistor_vert": njfet_transistor_vert_default,
7266
+ "p_channel_d_mosfet_transistor_horz": p_channel_d_mosfet_transistor_horz_default,
7267
+ "p_channel_d_mosfet_transistor_vert": p_channel_d_mosfet_transistor_vert_default,
6810
7268
  "photodiode_horz": photodiode_horz_default,
6811
7269
  "photodiode_vert": photodiode_vert_default,
6812
7270
  "pjfet_transistor_horz": pjfet_transistor_horz_default,