schematic-symbols 0.0.62 → 0.0.63

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
@@ -3283,6 +3283,203 @@ ref10.y = 0;
3283
3283
  ref10.anchor = "middle_left";
3284
3284
  var photodiode_vert_default = rotatedSymbol9;
3285
3285
 
3286
+ // assets/generated/pjfet_transistor.json
3287
+ var pjfet_transistor_default = {
3288
+ paths: {
3289
+ path11: {
3290
+ type: "path",
3291
+ points: [
3292
+ {
3293
+ x: -0.38509374449999945,
3294
+ y: 0.00367374999999992
3295
+ },
3296
+ {
3297
+ x: 0.05876225550000025,
3298
+ y: 0.00629674999999974
3299
+ }
3300
+ ],
3301
+ color: "primary",
3302
+ fill: false
3303
+ },
3304
+ path40: {
3305
+ type: "path",
3306
+ points: [
3307
+ {
3308
+ x: 0.07415065550000066,
3309
+ y: -0.18559775000000034
3310
+ },
3311
+ {
3312
+ x: 0.07322065550000101,
3313
+ y: 0.18255174999999935
3314
+ }
3315
+ ],
3316
+ color: "primary",
3317
+ fill: false
3318
+ },
3319
+ "path12-1": {
3320
+ type: "path",
3321
+ points: [
3322
+ {
3323
+ x: 0.28423665550000043,
3324
+ y: -0.53233025
3325
+ },
3326
+ {
3327
+ x: 0.2836366555000003,
3328
+ y: -0.10600584999999985
3329
+ }
3330
+ ],
3331
+ color: "primary",
3332
+ fill: false
3333
+ },
3334
+ "path12-1-5": {
3335
+ type: "path",
3336
+ points: [
3337
+ {
3338
+ x: 0.2912404555000001,
3339
+ y: 0.5298821500000002
3340
+ },
3341
+ {
3342
+ x: 0.29184045550000004,
3343
+ y: 0.10355795000000012
3344
+ }
3345
+ ],
3346
+ color: "primary",
3347
+ fill: false
3348
+ },
3349
+ path2: {
3350
+ type: "path",
3351
+ points: [
3352
+ {
3353
+ x: 0.07425025549999931,
3354
+ y: -0.10788365000000044
3355
+ },
3356
+ {
3357
+ x: 0.29146205549999915,
3358
+ y: -0.10659565000000004
3359
+ }
3360
+ ],
3361
+ color: "primary",
3362
+ fill: false
3363
+ },
3364
+ "path2-5": {
3365
+ type: "path",
3366
+ points: [
3367
+ {
3368
+ x: 0.07425025549999931,
3369
+ y: 0.10232114999999986
3370
+ },
3371
+ {
3372
+ x: 0.29146205549999915,
3373
+ y: 0.10360915000000026
3374
+ }
3375
+ ],
3376
+ color: "primary",
3377
+ fill: false
3378
+ },
3379
+ path15: {
3380
+ type: "path",
3381
+ points: [
3382
+ {
3383
+ x: 0.005945155500000077,
3384
+ y: 0.06535114999999969
3385
+ },
3386
+ {
3387
+ x: 0.005945155500000077,
3388
+ y: -0.06153284999999986
3389
+ },
3390
+ {
3391
+ x: -0.0829488445000004,
3392
+ y: 0.001166149999999977
3393
+ }
3394
+ ],
3395
+ color: "primary",
3396
+ fill: true
3397
+ }
3398
+ },
3399
+ texts: {
3400
+ top1: {
3401
+ type: "text",
3402
+ text: "{REF}",
3403
+ x: -0.15156024449999927,
3404
+ y: -0.36092494999999936
3405
+ },
3406
+ bottom1: {
3407
+ type: "text",
3408
+ text: "{VAL}",
3409
+ x: 0.0393233555000001,
3410
+ y: 0.42489435000000064
3411
+ }
3412
+ },
3413
+ refblocks: {
3414
+ top1: {
3415
+ x: 0.2843894554999997,
3416
+ y: -0.5519248499999992
3417
+ },
3418
+ bottom1: {
3419
+ x: 0.29108805550000105,
3420
+ y: 0.5519248499999994
3421
+ },
3422
+ left1: {
3423
+ x: -0.3990097444999998,
3424
+ y: 0.004526550000000462
3425
+ }
3426
+ },
3427
+ bounds: {
3428
+ minX: -0.4271681854999998,
3429
+ maxX: 0.42716818549999985,
3430
+ minY: -0.5800832909999992,
3431
+ maxY: 0.5800832909999993,
3432
+ width: 1,
3433
+ height: 1.1601665819999987,
3434
+ centerX: 27755575615628914e-33,
3435
+ centerY: 5551115123125783e-32
3436
+ },
3437
+ circles: {
3438
+ path1: {
3439
+ type: "circle",
3440
+ x: 0.13862605549999985,
3441
+ y: -0.003454549999999612,
3442
+ radius: 0.28854213,
3443
+ color: "primary",
3444
+ fill: false
3445
+ }
3446
+ }
3447
+ };
3448
+
3449
+ // symbols/pjfet_transistor_horz.ts
3450
+ var { paths: paths18, texts: texts23, bounds: bounds18, refblocks: refblocks18, circles: circles12 } = pjfet_transistor_default;
3451
+ var pjfet_transistor_horz_default = defineSymbol({
3452
+ primitives: [
3453
+ ...Object.values(paths18),
3454
+ ...Object.values(circles12),
3455
+ { ...texts23.top1, anchor: "middle_right", x: 0 },
3456
+ { ...texts23.bottom1, anchor: "middle_right" }
3457
+ ],
3458
+ ports: [
3459
+ { ...refblocks18.top1, labels: ["1", "drain"] },
3460
+ // TODO add more "standard" labels
3461
+ { ...refblocks18.bottom1, labels: ["2", "source"] },
3462
+ // TODO add more "standard" labels
3463
+ { ...refblocks18.left1, labels: ["3", "gate"] }
3464
+ // TODO add more "standard" labels
3465
+ ],
3466
+ size: { width: bounds18.width, height: bounds18.height },
3467
+ center: { x: bounds18.centerX, y: bounds18.centerY }
3468
+ });
3469
+
3470
+ // symbols/pjfet_transistor_vert.ts
3471
+ var rotatedSymbol10 = rotateSymbol(pjfet_transistor_horz_default);
3472
+ var texts24 = rotatedSymbol10.primitives.filter((p) => p.type === "text");
3473
+ var val9 = texts24.find((t) => t.text === "{VAL}");
3474
+ val9.x = -0.35;
3475
+ val9.y = 0;
3476
+ val9.anchor = "middle_right";
3477
+ var ref11 = texts24.find((t) => t.text === "{REF}");
3478
+ ref11.y = 0;
3479
+ ref11.x = 0.35;
3480
+ ref11.anchor = "middle_left";
3481
+ var pjfet_transistor_vert_default = rotatedSymbol10;
3482
+
3286
3483
  // assets/generated/potentiometer.json
3287
3484
  var potentiometer_default = {
3288
3485
  paths: {
@@ -3419,21 +3616,21 @@ var potentiometer_default = {
3419
3616
  };
3420
3617
 
3421
3618
  // symbols/potentiometer_horz.ts
3422
- var { paths: paths18, texts: texts23, bounds: bounds18, refblocks: refblocks18 } = potentiometer_default;
3619
+ var { paths: paths19, texts: texts25, bounds: bounds19, refblocks: refblocks19 } = potentiometer_default;
3423
3620
  var potentiometer_horz_default = defineSymbol({
3424
3621
  primitives: [
3425
- ...Object.values(paths18),
3426
- { ...texts23.bottom1, y: 0.35, anchor: "middle_top" },
3427
- { ...texts23.right1, anchor: "middle_left" }
3622
+ ...Object.values(paths19),
3623
+ { ...texts25.bottom1, y: 0.35, anchor: "middle_top" },
3624
+ { ...texts25.right1, anchor: "middle_left" }
3428
3625
  ],
3429
3626
  ports: [
3430
- { ...refblocks18.left1, labels: ["1"] },
3627
+ { ...refblocks19.left1, labels: ["1"] },
3431
3628
  // TODO add more "standard" labels
3432
- { ...refblocks18.right1, labels: ["2"] }
3629
+ { ...refblocks19.right1, labels: ["2"] }
3433
3630
  // TODO add more "standard" labels
3434
3631
  ],
3435
- size: { width: bounds18.width + 0.05, height: bounds18.height },
3436
- center: { x: bounds18.centerX, y: bounds18.centerY }
3632
+ size: { width: bounds19.width + 0.05, height: bounds19.height },
3633
+ center: { x: bounds19.centerX, y: bounds19.centerY }
3437
3634
  });
3438
3635
 
3439
3636
  // symbols/potentiometer_vert.ts
@@ -3595,21 +3792,21 @@ var potentiometer2_default = {
3595
3792
  };
3596
3793
 
3597
3794
  // symbols/potentiometer2_horz.ts
3598
- var { paths: paths19, texts: texts24, bounds: bounds19, refblocks: refblocks19 } = potentiometer2_default;
3795
+ var { paths: paths20, texts: texts26, bounds: bounds20, refblocks: refblocks20 } = potentiometer2_default;
3599
3796
  var potentiometer2_horz_default = defineSymbol({
3600
3797
  primitives: [
3601
- ...Object.values(paths19),
3602
- { ...texts24.bottom1, anchor: "middle_right" },
3603
- { ...texts24.top1, anchor: "middle_left" }
3798
+ ...Object.values(paths20),
3799
+ { ...texts26.bottom1, anchor: "middle_right" },
3800
+ { ...texts26.top1, anchor: "middle_left" }
3604
3801
  ],
3605
3802
  ports: [
3606
- { ...refblocks19.left1, labels: ["1"] },
3803
+ { ...refblocks20.left1, labels: ["1"] },
3607
3804
  // TODO add more "standard" labels
3608
- { ...refblocks19.right1, labels: ["2"] }
3805
+ { ...refblocks20.right1, labels: ["2"] }
3609
3806
  // TODO add more "standard" labels
3610
3807
  ],
3611
- size: { width: bounds19.width, height: bounds19.height },
3612
- center: { x: bounds19.centerX, y: bounds19.centerY }
3808
+ size: { width: bounds20.width, height: bounds20.height },
3809
+ center: { x: bounds20.centerX, y: bounds20.centerY }
3613
3810
  });
3614
3811
 
3615
3812
  // symbols/potentiometer2_vert.ts
@@ -3702,11 +3899,11 @@ var power_factor_meter_default = {
3702
3899
  };
3703
3900
 
3704
3901
  // symbols/power_factor_meter_horz.ts
3705
- var { paths: paths20, texts: texts25, bounds: bounds20, refblocks: refblocks20, circles: circles12 } = power_factor_meter_default;
3902
+ var { paths: paths21, texts: texts27, bounds: bounds21, refblocks: refblocks21, circles: circles13 } = power_factor_meter_default;
3706
3903
  var power_factor_meter_horz_default = defineSymbol({
3707
3904
  primitives: [
3708
- ...Object.values(paths20),
3709
- ...Object.values(circles12),
3905
+ ...Object.values(paths21),
3906
+ ...Object.values(circles13),
3710
3907
  // { ...texts.top1, anchor: "middle_left" },
3711
3908
  {
3712
3909
  type: "text",
@@ -3733,28 +3930,28 @@ var power_factor_meter_horz_default = defineSymbol({
3733
3930
  }
3734
3931
  ],
3735
3932
  ports: [
3736
- { ...refblocks20.left1, labels: ["1"] },
3933
+ { ...refblocks21.left1, labels: ["1"] },
3737
3934
  // TODO add more "standard" labels
3738
- { ...refblocks20.right1, labels: ["2"] }
3935
+ { ...refblocks21.right1, labels: ["2"] }
3739
3936
  // TODO add more "standard" labels
3740
3937
  ],
3741
- size: { width: bounds20.width, height: bounds20.height },
3742
- center: { x: bounds20.centerX, y: bounds20.centerY }
3938
+ size: { width: bounds21.width, height: bounds21.height },
3939
+ center: { x: bounds21.centerX, y: bounds21.centerY }
3743
3940
  });
3744
3941
 
3745
3942
  // symbols/power_factor_meter_vert.ts
3746
- var rotatedSymbol10 = rotateSymbol(power_factor_meter_horz_default);
3747
- var texts26 = rotatedSymbol10.primitives.filter((p) => p.type === "text");
3748
- var ref11 = texts26.find((t) => t.text === "{REF}");
3749
- var val9 = texts26.find((t) => t.text === "{VAL}");
3750
- var text_cos = texts26.find((t) => t.text === "COS \u03C6");
3751
- ref11.x = 0.35;
3752
- ref11.y = 0;
3753
- val9.x = -0.6;
3754
- val9.y = 0;
3943
+ var rotatedSymbol11 = rotateSymbol(power_factor_meter_horz_default);
3944
+ var texts28 = rotatedSymbol11.primitives.filter((p) => p.type === "text");
3945
+ var ref12 = texts28.find((t) => t.text === "{REF}");
3946
+ var val10 = texts28.find((t) => t.text === "{VAL}");
3947
+ var text_cos = texts28.find((t) => t.text === "COS \u03C6");
3948
+ ref12.x = 0.35;
3949
+ ref12.y = 0;
3950
+ val10.x = -0.6;
3951
+ val10.y = 0;
3755
3952
  text_cos.x = -0.1;
3756
3953
  text_cos.y = 0;
3757
- var power_factor_meter_vert_default = rotatedSymbol10;
3954
+ var power_factor_meter_vert_default = rotatedSymbol11;
3758
3955
 
3759
3956
  // assets/generated/push_button_normally_closed_momentary.json
3760
3957
  var push_button_normally_closed_momentary_default = {
@@ -3857,37 +4054,37 @@ var push_button_normally_closed_momentary_default = {
3857
4054
  };
3858
4055
 
3859
4056
  // symbols/push_button_normally_closed_momentary_horz.ts
3860
- var { paths: paths21, texts: texts27, bounds: bounds21, refblocks: refblocks21 } = push_button_normally_closed_momentary_default;
4057
+ var { paths: paths22, texts: texts29, bounds: bounds22, refblocks: refblocks22 } = push_button_normally_closed_momentary_default;
3861
4058
  var push_button_normally_closed_momentary_horz_default = defineSymbol({
3862
4059
  primitives: [
3863
- ...Object.values(paths21),
3864
- { ...texts27.top1, anchor: "middle_bottom" },
3865
- { ...texts27.bottom1, anchor: "middle_top" }
4060
+ ...Object.values(paths22),
4061
+ { ...texts29.top1, anchor: "middle_bottom" },
4062
+ { ...texts29.bottom1, anchor: "middle_top" }
3866
4063
  ],
3867
4064
  ports: [
3868
- { ...refblocks21.left1, labels: ["1"] },
4065
+ { ...refblocks22.left1, labels: ["1"] },
3869
4066
  // TODO add more "standard" labels
3870
- { ...refblocks21.right1, labels: ["2"] }
4067
+ { ...refblocks22.right1, labels: ["2"] }
3871
4068
  // TODO add more "standard" labels
3872
4069
  ],
3873
- size: { width: bounds21.width, height: bounds21.height },
3874
- center: { x: bounds21.centerX, y: bounds21.centerY }
4070
+ size: { width: bounds22.width, height: bounds22.height },
4071
+ center: { x: bounds22.centerX, y: bounds22.centerY }
3875
4072
  });
3876
4073
 
3877
4074
  // symbols/push_button_normally_closed_momentary_vert.ts
3878
4075
  var rotated6 = rotateSymbol(push_button_normally_closed_momentary_horz_default);
3879
- var ref12 = rotated6.primitives.find(
4076
+ var ref13 = rotated6.primitives.find(
3880
4077
  (p) => p.type === "text" && p.text === "{REF}"
3881
4078
  );
3882
- var val10 = rotated6.primitives.find(
4079
+ var val11 = rotated6.primitives.find(
3883
4080
  (p) => p.type === "text" && p.text === "{VAL}"
3884
4081
  );
3885
- ref12.anchor = "middle_left";
3886
- val10.anchor = "middle_right";
3887
- ref12.x = ref12.x - 0.03;
3888
- ref12.y = ref12.y;
3889
- val10.x = val10.x;
3890
- val10.y = 0;
4082
+ ref13.anchor = "middle_left";
4083
+ val11.anchor = "middle_right";
4084
+ ref13.x = ref13.x - 0.03;
4085
+ ref13.y = ref13.y;
4086
+ val11.x = val11.x;
4087
+ val11.y = 0;
3891
4088
  var push_button_normally_closed_momentary_vert_default = rotated6;
3892
4089
 
3893
4090
  // assets/generated/push_button_normally_open_momentary.json
@@ -3991,37 +4188,37 @@ var push_button_normally_open_momentary_default = {
3991
4188
  };
3992
4189
 
3993
4190
  // symbols/push_button_normally_open_momentary_horz.ts
3994
- var { paths: paths22, texts: texts28, bounds: bounds22, refblocks: refblocks22 } = push_button_normally_open_momentary_default;
4191
+ var { paths: paths23, texts: texts30, bounds: bounds23, refblocks: refblocks23 } = push_button_normally_open_momentary_default;
3995
4192
  var push_button_normally_open_momentary_horz_default = defineSymbol({
3996
4193
  primitives: [
3997
- ...Object.values(paths22),
3998
- { ...texts28.top1, anchor: "middle_bottom" },
3999
- { ...texts28.bottom1, anchor: "middle_top" }
4194
+ ...Object.values(paths23),
4195
+ { ...texts30.top1, anchor: "middle_bottom" },
4196
+ { ...texts30.bottom1, anchor: "middle_top" }
4000
4197
  ],
4001
4198
  ports: [
4002
- { ...refblocks22.left1, labels: ["1"] },
4199
+ { ...refblocks23.left1, labels: ["1"] },
4003
4200
  // TODO add more "standard" labels
4004
- { ...refblocks22.right1, labels: ["2"] }
4201
+ { ...refblocks23.right1, labels: ["2"] }
4005
4202
  // TODO add more "standard" labels
4006
4203
  ],
4007
- size: { width: bounds22.width, height: bounds22.height },
4008
- center: { x: bounds22.centerX, y: bounds22.centerY }
4204
+ size: { width: bounds23.width, height: bounds23.height },
4205
+ center: { x: bounds23.centerX, y: bounds23.centerY }
4009
4206
  });
4010
4207
 
4011
4208
  // symbols/push_button_normally_open_momentary_vert.ts
4012
4209
  var rotated7 = rotateSymbol(push_button_normally_open_momentary_horz_default);
4013
- var ref13 = rotated7.primitives.find(
4210
+ var ref14 = rotated7.primitives.find(
4014
4211
  (p) => p.type === "text" && p.text === "{REF}"
4015
4212
  );
4016
- var val11 = rotated7.primitives.find(
4213
+ var val12 = rotated7.primitives.find(
4017
4214
  (p) => p.type === "text" && p.text === "{VAL}"
4018
4215
  );
4019
- ref13.anchor = "middle_left";
4020
- val11.anchor = "middle_right";
4021
- ref13.x = ref13.x + 0.1;
4022
- ref13.y = ref13.y;
4023
- val11.x = val11.x;
4024
- val11.y = 0;
4216
+ ref14.anchor = "middle_left";
4217
+ val12.anchor = "middle_right";
4218
+ ref14.x = ref14.x + 0.1;
4219
+ ref14.y = ref14.y;
4220
+ val12.x = val12.x;
4221
+ val12.y = 0;
4025
4222
  var push_button_normally_open_momentary_vert_default = rotated7;
4026
4223
 
4027
4224
  // assets/generated/resonator.json
@@ -4370,11 +4567,11 @@ var resonator_default = {
4370
4567
  };
4371
4568
 
4372
4569
  // symbols/resonator_horz.ts
4373
- var { paths: paths23, texts: texts29, bounds: bounds23, refblocks: refblocks23, circles: circles13 } = resonator_default;
4570
+ var { paths: paths24, texts: texts31, bounds: bounds24, refblocks: refblocks24, circles: circles14 } = resonator_default;
4374
4571
  var resonator_horz_default = defineSymbol({
4375
4572
  primitives: [
4376
- ...Object.values(paths23),
4377
- ...Object.values(circles13),
4573
+ ...Object.values(paths24),
4574
+ ...Object.values(circles14),
4378
4575
  // { ...texts.top1, anchor: "middle_left" },
4379
4576
  // { ...texts.bottom1, anchor: "middle_left" },
4380
4577
  {
@@ -4393,15 +4590,15 @@ var resonator_horz_default = defineSymbol({
4393
4590
  }
4394
4591
  ],
4395
4592
  ports: [
4396
- { ...refblocks23.left1, labels: ["1"] },
4593
+ { ...refblocks24.left1, labels: ["1"] },
4397
4594
  // TODO add more "standard" labels
4398
- { ...refblocks23.right1, labels: ["2"] },
4595
+ { ...refblocks24.right1, labels: ["2"] },
4399
4596
  // TODO add more "standard" labels
4400
- { ...refblocks23.right2, labels: ["3"] }
4597
+ { ...refblocks24.right2, labels: ["3"] }
4401
4598
  // TODO add more "standard" labels
4402
4599
  ],
4403
- size: { width: bounds23.width, height: bounds23.height },
4404
- center: { x: bounds23.centerX, y: bounds23.centerY }
4600
+ size: { width: bounds24.width, height: bounds24.height },
4601
+ center: { x: bounds24.centerX, y: bounds24.centerY }
4405
4602
  });
4406
4603
 
4407
4604
  // symbols/resonator_vert.ts
@@ -4599,34 +4796,34 @@ var schottky_diode_default = {
4599
4796
  };
4600
4797
 
4601
4798
  // symbols/schottky_diode_horz.ts
4602
- var { paths: paths24, texts: texts30, bounds: bounds24, refblocks: refblocks24, circles: circles14 } = schottky_diode_default;
4799
+ var { paths: paths25, texts: texts32, bounds: bounds25, refblocks: refblocks25, circles: circles15 } = schottky_diode_default;
4603
4800
  var schottky_diode_horz_default = defineSymbol({
4604
4801
  primitives: [
4605
- ...Object.values(paths24),
4606
- ...Object.values(circles14),
4607
- { ...texts30.top1, anchor: "middle_bottom" },
4608
- { ...texts30.bottom1, anchor: "middle_top" }
4802
+ ...Object.values(paths25),
4803
+ ...Object.values(circles15),
4804
+ { ...texts32.top1, anchor: "middle_bottom" },
4805
+ { ...texts32.bottom1, anchor: "middle_top" }
4609
4806
  ],
4610
4807
  ports: [
4611
- { ...refblocks24.left1, labels: ["1"] },
4808
+ { ...refblocks25.left1, labels: ["1"] },
4612
4809
  // TODO add more "standard" labels
4613
- { ...refblocks24.right1, labels: ["2"] }
4810
+ { ...refblocks25.right1, labels: ["2"] }
4614
4811
  // TODO add more "standard" labels
4615
4812
  ],
4616
- size: { width: bounds24.width, height: bounds24.height },
4617
- center: { x: bounds24.centerX, y: bounds24.centerY }
4813
+ size: { width: bounds25.width, height: bounds25.height },
4814
+ center: { x: bounds25.centerX, y: bounds25.centerY }
4618
4815
  });
4619
4816
 
4620
4817
  // symbols/schottky_diode_vert.ts
4621
4818
  var rotated8 = rotateSymbol(schottky_diode_horz_default);
4622
- var ref14 = rotated8.primitives.find(
4819
+ var ref15 = rotated8.primitives.find(
4623
4820
  (p) => p.type === "text" && p.text === "{REF}"
4624
4821
  );
4625
- var val12 = rotated8.primitives.find(
4822
+ var val13 = rotated8.primitives.find(
4626
4823
  (p) => p.type === "text" && p.text === "{VAL}"
4627
4824
  );
4628
- ref14.anchor = "middle_left";
4629
- val12.anchor = "middle_right";
4825
+ ref15.anchor = "middle_left";
4826
+ val13.anchor = "middle_right";
4630
4827
  var schottky_diode_vert_default = rotated8;
4631
4828
 
4632
4829
  // assets/generated/silicon_controlled_rectifier.json
@@ -4773,35 +4970,35 @@ var silicon_controlled_rectifier_default = {
4773
4970
  };
4774
4971
 
4775
4972
  // symbols/silicon_controlled_rectifier_horz.ts
4776
- var { paths: paths25, texts: texts31, bounds: bounds25, refblocks: refblocks25, circles: circles15 } = silicon_controlled_rectifier_default;
4973
+ var { paths: paths26, texts: texts33, bounds: bounds26, refblocks: refblocks26, circles: circles16 } = silicon_controlled_rectifier_default;
4777
4974
  var silicon_controlled_rectifier_horz_default = defineSymbol({
4778
4975
  primitives: [
4779
- ...Object.values(paths25),
4780
- ...Object.values(circles15),
4781
- { ...texts31.top1, anchor: "middle_left" },
4782
- { ...texts31.bottom1, anchor: "middle_top" }
4976
+ ...Object.values(paths26),
4977
+ ...Object.values(circles16),
4978
+ { ...texts33.top1, anchor: "middle_left" },
4979
+ { ...texts33.bottom1, anchor: "middle_top" }
4783
4980
  ],
4784
4981
  ports: [
4785
- { ...refblocks25.left1, labels: ["1"] },
4982
+ { ...refblocks26.left1, labels: ["1"] },
4786
4983
  // TODO add more "standard" labels
4787
- { ...refblocks25.right1, labels: ["2"] },
4984
+ { ...refblocks26.right1, labels: ["2"] },
4788
4985
  // TODO add more "standard" labels
4789
- { ...refblocks25.bottom1, labels: ["3"] }
4986
+ { ...refblocks26.bottom1, labels: ["3"] }
4790
4987
  // TODO add more "standard" labels
4791
4988
  ],
4792
- size: { width: bounds25.width, height: bounds25.height },
4793
- center: { x: bounds25.centerX, y: bounds25.centerY }
4989
+ size: { width: bounds26.width, height: bounds26.height },
4990
+ center: { x: bounds26.centerX, y: bounds26.centerY }
4794
4991
  });
4795
4992
 
4796
4993
  // symbols/silicon_controlled_rectifier_vert.ts
4797
- var rotatedSymbol11 = rotateSymbol(silicon_controlled_rectifier_horz_default);
4798
- var texts32 = rotatedSymbol11.primitives.filter(
4994
+ var rotatedSymbol12 = rotateSymbol(silicon_controlled_rectifier_horz_default);
4995
+ var texts34 = rotatedSymbol12.primitives.filter(
4799
4996
  (primitive) => primitive.type === "text"
4800
4997
  );
4801
- var ref15 = texts32.find((text) => text.text === "{REF}");
4802
- ref15.y = 0;
4803
- ref15.anchor = "middle_left";
4804
- var silicon_controlled_rectifier_vert_default = rotatedSymbol11;
4998
+ var ref16 = texts34.find((text) => text.text === "{REF}");
4999
+ ref16.y = 0;
5000
+ ref16.anchor = "middle_left";
5001
+ var silicon_controlled_rectifier_vert_default = rotatedSymbol12;
4805
5002
 
4806
5003
  // assets/generated/step_recovery_diode.json
4807
5004
  var step_recovery_diode_default = {
@@ -4965,11 +5162,11 @@ var step_recovery_diode_default = {
4965
5162
  };
4966
5163
 
4967
5164
  // symbols/step_recovery_diode_horz.ts
4968
- var { paths: paths26, texts: texts33, bounds: bounds26, refblocks: refblocks26, circles: circles16 } = step_recovery_diode_default;
5165
+ var { paths: paths27, texts: texts35, bounds: bounds27, refblocks: refblocks27, circles: circles17 } = step_recovery_diode_default;
4969
5166
  var step_recovery_diode_horz_default = defineSymbol({
4970
5167
  primitives: [
4971
- ...Object.values(paths26),
4972
- ...Object.values(circles16),
5168
+ ...Object.values(paths27),
5169
+ ...Object.values(circles17),
4973
5170
  // { ...texts.top1, anchor: "middle_left" },
4974
5171
  // { ...texts.bottom1, anchor: "middle_left" },
4975
5172
  {
@@ -4988,13 +5185,13 @@ var step_recovery_diode_horz_default = defineSymbol({
4988
5185
  }
4989
5186
  ],
4990
5187
  ports: [
4991
- { ...refblocks26.left1, labels: ["1"] },
5188
+ { ...refblocks27.left1, labels: ["1"] },
4992
5189
  // TODO add more "standard" labels
4993
- { ...refblocks26.right1, labels: ["2"] }
5190
+ { ...refblocks27.right1, labels: ["2"] }
4994
5191
  // TODO add more "standard" labels
4995
5192
  ],
4996
- size: { width: bounds26.width, height: bounds26.height },
4997
- center: { x: bounds26.centerX, y: bounds26.centerY }
5193
+ size: { width: bounds27.width, height: bounds27.height },
5194
+ center: { x: bounds27.centerX, y: bounds27.centerY }
4998
5195
  });
4999
5196
 
5000
5197
  // symbols/step_recovery_diode_vert.ts
@@ -5191,36 +5388,36 @@ var triac_default = {
5191
5388
  };
5192
5389
 
5193
5390
  // symbols/triac_horz.ts
5194
- var { paths: paths27, texts: texts34, bounds: bounds27, refblocks: refblocks27, circles: circles17 } = triac_default;
5391
+ var { paths: paths28, texts: texts36, bounds: bounds28, refblocks: refblocks28, circles: circles18 } = triac_default;
5195
5392
  var triac_horz_default = defineSymbol({
5196
5393
  primitives: [
5197
- ...Object.values(paths27),
5198
- ...Object.values(circles17),
5199
- { ...texts34.top1, anchor: "middle_left" },
5200
- { ...texts34.bottom1, anchor: "middle_top" }
5394
+ ...Object.values(paths28),
5395
+ ...Object.values(circles18),
5396
+ { ...texts36.top1, anchor: "middle_left" },
5397
+ { ...texts36.bottom1, anchor: "middle_top" }
5201
5398
  ],
5202
5399
  ports: [
5203
- { ...refblocks27.left1, labels: ["1"] },
5400
+ { ...refblocks28.left1, labels: ["1"] },
5204
5401
  // TODO add more "standard" labels
5205
- { ...refblocks27.right1, labels: ["2"] },
5402
+ { ...refblocks28.right1, labels: ["2"] },
5206
5403
  // TODO add more "standard" labels
5207
- { ...refblocks27.bottom1, labels: ["3"] }
5404
+ { ...refblocks28.bottom1, labels: ["3"] }
5208
5405
  // TODO add more "standard" labels
5209
5406
  ],
5210
- size: { width: bounds27.width, height: bounds27.height },
5211
- center: { x: bounds27.centerX, y: bounds27.centerY }
5407
+ size: { width: bounds28.width, height: bounds28.height },
5408
+ center: { x: bounds28.centerX, y: bounds28.centerY }
5212
5409
  });
5213
5410
 
5214
5411
  // symbols/triac_vert.ts
5215
- var rotatedSymbol12 = rotateSymbol(triac_horz_default);
5216
- var texts35 = rotatedSymbol12.primitives.filter(
5412
+ var rotatedSymbol13 = rotateSymbol(triac_horz_default);
5413
+ var texts37 = rotatedSymbol13.primitives.filter(
5217
5414
  (primitive) => primitive.type === "text"
5218
5415
  );
5219
- var ref16 = texts35.find((text) => text.text === "{REF}");
5220
- var val13 = texts35.find((text) => text.text === "{VAL}");
5221
- ref16.y = 0;
5222
- val13.y = 0;
5223
- var triac_vert_default = rotatedSymbol12;
5416
+ var ref17 = texts37.find((text) => text.text === "{REF}");
5417
+ var val14 = texts37.find((text) => text.text === "{VAL}");
5418
+ ref17.y = 0;
5419
+ val14.y = 0;
5420
+ var triac_vert_default = rotatedSymbol13;
5224
5421
 
5225
5422
  // assets/generated/tunnel_diode.json
5226
5423
  var tunnel_diode_default = {
@@ -5384,34 +5581,34 @@ var tunnel_diode_default = {
5384
5581
  };
5385
5582
 
5386
5583
  // symbols/tunnel_diode_horz.ts
5387
- var { paths: paths28, texts: texts36, bounds: bounds28, refblocks: refblocks28, circles: circles18 } = tunnel_diode_default;
5584
+ var { paths: paths29, texts: texts38, bounds: bounds29, refblocks: refblocks29, circles: circles19 } = tunnel_diode_default;
5388
5585
  var tunnel_diode_horz_default = defineSymbol({
5389
5586
  primitives: [
5390
- ...Object.values(paths28),
5391
- ...Object.values(circles18),
5392
- { ...texts36.top1, anchor: "middle_bottom" },
5393
- { ...texts36.bottom1, anchor: "middle_top" }
5587
+ ...Object.values(paths29),
5588
+ ...Object.values(circles19),
5589
+ { ...texts38.top1, anchor: "middle_bottom" },
5590
+ { ...texts38.bottom1, anchor: "middle_top" }
5394
5591
  ],
5395
5592
  ports: [
5396
- { ...refblocks28.left1, labels: ["1"] },
5593
+ { ...refblocks29.left1, labels: ["1"] },
5397
5594
  // TODO add more "standard" labels
5398
- { ...refblocks28.right1, labels: ["2"] }
5595
+ { ...refblocks29.right1, labels: ["2"] }
5399
5596
  // TODO add more "standard" labels
5400
5597
  ],
5401
- size: { width: bounds28.width, height: bounds28.height },
5402
- center: { x: bounds28.centerX, y: bounds28.centerY }
5598
+ size: { width: bounds29.width, height: bounds29.height },
5599
+ center: { x: bounds29.centerX, y: bounds29.centerY }
5403
5600
  });
5404
5601
 
5405
5602
  // symbols/tunnel_diode_vert.ts
5406
5603
  var rotated9 = rotateSymbol(tunnel_diode_horz_default);
5407
- var ref17 = rotated9.primitives.find(
5604
+ var ref18 = rotated9.primitives.find(
5408
5605
  (p) => p.type === "text" && p.text === "{REF}"
5409
5606
  );
5410
- var val14 = rotated9.primitives.find(
5607
+ var val15 = rotated9.primitives.find(
5411
5608
  (p) => p.type === "text" && p.text === "{VAL}"
5412
5609
  );
5413
- ref17.anchor = "middle_left";
5414
- val14.anchor = "middle_right";
5610
+ ref18.anchor = "middle_left";
5611
+ val15.anchor = "middle_right";
5415
5612
  var tunnel_diode_vert_default = rotated9;
5416
5613
 
5417
5614
  // assets/generated/unijunction_transistor.json
@@ -5582,37 +5779,37 @@ var unijunction_transistor_default = {
5582
5779
  };
5583
5780
 
5584
5781
  // symbols/unijunction_transistor_horz.ts
5585
- var { paths: paths29, texts: texts37, bounds: bounds29, refblocks: refblocks29, circles: circles19 } = unijunction_transistor_default;
5782
+ var { paths: paths30, texts: texts39, bounds: bounds30, refblocks: refblocks30, circles: circles20 } = unijunction_transistor_default;
5586
5783
  var unijunction_transistor_horz_default = defineSymbol({
5587
5784
  primitives: [
5588
- ...Object.values(paths29),
5589
- ...Object.values(circles19),
5590
- { ...texts37.top1, anchor: "middle_left" },
5591
- { ...texts37.bottom1, anchor: "middle_right" }
5785
+ ...Object.values(paths30),
5786
+ ...Object.values(circles20),
5787
+ { ...texts39.top1, anchor: "middle_left" },
5788
+ { ...texts39.bottom1, anchor: "middle_right" }
5592
5789
  ],
5593
5790
  ports: [
5594
- { ...refblocks29.top1, labels: ["1"] },
5791
+ { ...refblocks30.top1, labels: ["1"] },
5595
5792
  // TODO add more "standard" labels
5596
- { ...refblocks29.bottom1, labels: ["2"] },
5793
+ { ...refblocks30.bottom1, labels: ["2"] },
5597
5794
  // TODO add more "standard" labels
5598
- { ...refblocks29.left1, labels: ["3"] }
5795
+ { ...refblocks30.left1, labels: ["3"] }
5599
5796
  // TODO add more "standard" labels
5600
5797
  ],
5601
- size: { width: bounds29.width, height: bounds29.height },
5602
- center: { x: bounds29.centerX, y: bounds29.centerY }
5798
+ size: { width: bounds30.width, height: bounds30.height },
5799
+ center: { x: bounds30.centerX, y: bounds30.centerY }
5603
5800
  });
5604
5801
 
5605
5802
  // symbols/unijunction_transistor_vert.ts
5606
- var rotatedSymbol13 = rotateSymbol(unijunction_transistor_horz_default);
5607
- var texts38 = rotatedSymbol13.primitives.filter(
5803
+ var rotatedSymbol14 = rotateSymbol(unijunction_transistor_horz_default);
5804
+ var texts40 = rotatedSymbol14.primitives.filter(
5608
5805
  (primitive) => primitive.type === "text"
5609
5806
  );
5610
- var ref18 = texts38.find((text) => text.text === "{REF}");
5611
- ref18.y = 0.1;
5612
- var val15 = texts38.find((text) => text.text === "{VAL}");
5613
- val15.y = 0.1;
5614
- val15.x = -0.4;
5615
- var unijunction_transistor_vert_default = rotatedSymbol13;
5807
+ var ref19 = texts40.find((text) => text.text === "{REF}");
5808
+ ref19.y = 0.1;
5809
+ var val16 = texts40.find((text) => text.text === "{VAL}");
5810
+ val16.y = 0.1;
5811
+ val16.x = -0.4;
5812
+ var unijunction_transistor_vert_default = rotatedSymbol14;
5616
5813
 
5617
5814
  // assets/generated/var_meter.json
5618
5815
  var var_meter_default = {
@@ -5701,33 +5898,33 @@ var var_meter_default = {
5701
5898
  };
5702
5899
 
5703
5900
  // symbols/var_meter_horz.ts
5704
- var { paths: paths30, texts: texts39, bounds: bounds30, refblocks: refblocks30, circles: circles20 } = var_meter_default;
5901
+ var { paths: paths31, texts: texts41, bounds: bounds31, refblocks: refblocks31, circles: circles21 } = var_meter_default;
5705
5902
  var var_meter_horz_default = defineSymbol({
5706
5903
  primitives: [
5707
- ...Object.values(paths30),
5708
- ...Object.values(circles20),
5904
+ ...Object.values(paths31),
5905
+ ...Object.values(circles21),
5709
5906
  {
5710
- ...texts39.top1,
5907
+ ...texts41.top1,
5711
5908
  x: 0,
5712
5909
  y: -0.3594553499999995,
5713
5910
  anchor: "middle_bottom"
5714
5911
  },
5715
5912
  {
5716
- ...texts39.bottom1,
5913
+ ...texts41.bottom1,
5717
5914
  x: 0,
5718
5915
  y: 0.35,
5719
5916
  anchor: "middle_top"
5720
5917
  },
5721
- { ...texts39.left1, x: -0.02, y: -0.02, fontSize: 0.2, anchor: "center" }
5918
+ { ...texts41.left1, x: -0.02, y: -0.02, fontSize: 0.2, anchor: "center" }
5722
5919
  ],
5723
5920
  ports: [
5724
- { ...refblocks30.left1, labels: ["1"] },
5921
+ { ...refblocks31.left1, labels: ["1"] },
5725
5922
  // TODO add more "standard" labels
5726
- { ...refblocks30.right1, labels: ["2"] }
5923
+ { ...refblocks31.right1, labels: ["2"] }
5727
5924
  // TODO add more "standard" labels
5728
5925
  ],
5729
- size: { width: bounds30.width, height: bounds30.height },
5730
- center: { x: bounds30.centerX, y: bounds30.centerY }
5926
+ size: { width: bounds31.width, height: bounds31.height },
5927
+ center: { x: bounds31.centerX, y: bounds31.centerY }
5731
5928
  });
5732
5929
 
5733
5930
  // symbols/var_meter_vert.ts
@@ -5880,34 +6077,34 @@ var varactor_diode_default = {
5880
6077
  };
5881
6078
 
5882
6079
  // symbols/varactor_diode_horz.ts
5883
- var { paths: paths31, texts: texts40, bounds: bounds31, refblocks: refblocks31, circles: circles21 } = varactor_diode_default;
6080
+ var { paths: paths32, texts: texts42, bounds: bounds32, refblocks: refblocks32, circles: circles22 } = varactor_diode_default;
5884
6081
  var varactor_diode_horz_default = defineSymbol({
5885
6082
  primitives: [
5886
- ...Object.values(paths31),
5887
- ...Object.values(circles21),
5888
- { ...texts40.top1, anchor: "middle_bottom" },
5889
- { ...texts40.bottom1, anchor: "middle_top" }
6083
+ ...Object.values(paths32),
6084
+ ...Object.values(circles22),
6085
+ { ...texts42.top1, anchor: "middle_bottom" },
6086
+ { ...texts42.bottom1, anchor: "middle_top" }
5890
6087
  ],
5891
6088
  ports: [
5892
- { ...refblocks31.left1, labels: ["1"] },
6089
+ { ...refblocks32.left1, labels: ["1"] },
5893
6090
  // TODO add more "standard" labels
5894
- { ...refblocks31.right1, labels: ["2"] }
6091
+ { ...refblocks32.right1, labels: ["2"] }
5895
6092
  // TODO add more "standard" labels
5896
6093
  ],
5897
- size: { width: bounds31.width, height: bounds31.height },
5898
- center: { x: bounds31.centerX, y: bounds31.centerY }
6094
+ size: { width: bounds32.width, height: bounds32.height },
6095
+ center: { x: bounds32.centerX, y: bounds32.centerY }
5899
6096
  });
5900
6097
 
5901
6098
  // symbols/varactor_diode_vert.ts
5902
6099
  var rotated10 = rotateSymbol(varactor_diode_horz_default);
5903
- var ref19 = rotated10.primitives.find(
6100
+ var ref20 = rotated10.primitives.find(
5904
6101
  (p) => p.type === "text" && p.text === "{REF}"
5905
6102
  );
5906
- var val16 = rotated10.primitives.find(
6103
+ var val17 = rotated10.primitives.find(
5907
6104
  (p) => p.type === "text" && p.text === "{VAL}"
5908
6105
  );
5909
- ref19.anchor = "middle_left";
5910
- val16.anchor = "middle_right";
6106
+ ref20.anchor = "middle_left";
6107
+ val17.anchor = "middle_right";
5911
6108
  var varactor_diode_vert_default = rotated10;
5912
6109
 
5913
6110
  // assets/generated/varistor.json
@@ -6042,26 +6239,26 @@ var varistor_default = {
6042
6239
  };
6043
6240
 
6044
6241
  // symbols/varistor_horz.ts
6045
- var { paths: paths32, texts: texts41, bounds: bounds32, refblocks: refblocks32 } = varistor_default;
6242
+ var { paths: paths33, texts: texts43, bounds: bounds33, refblocks: refblocks33 } = varistor_default;
6046
6243
  var varistor_horz_default = defineSymbol({
6047
6244
  primitives: [
6048
- ...Object.values(paths32),
6049
- { ...texts41.top1, anchor: "middle_left" },
6050
- { ...texts41.bottom1, anchor: "middle_right" }
6245
+ ...Object.values(paths33),
6246
+ { ...texts43.top1, anchor: "middle_left" },
6247
+ { ...texts43.bottom1, anchor: "middle_right" }
6051
6248
  ],
6052
6249
  ports: [
6053
6250
  {
6054
- ...refblocks32.left1,
6251
+ ...refblocks33.left1,
6055
6252
  labels: ["1", "-"]
6056
6253
  },
6057
6254
  {
6058
- ...refblocks32.right1,
6255
+ ...refblocks33.right1,
6059
6256
  labels: ["2", "+"]
6060
6257
  }
6061
6258
  ],
6062
- size: { width: bounds32.width, height: bounds32.height },
6259
+ size: { width: bounds33.width, height: bounds33.height },
6063
6260
  //{ width: 1, height: 0.24 },
6064
- center: { x: bounds32.centerX, y: bounds32.centerY }
6261
+ center: { x: bounds33.centerX, y: bounds33.centerY }
6065
6262
  });
6066
6263
 
6067
6264
  // symbols/varistor_vert.ts
@@ -6167,11 +6364,11 @@ var volt_meter_default = {
6167
6364
  };
6168
6365
 
6169
6366
  // symbols/volt_meter_horz.ts
6170
- var { paths: paths33, texts: texts42, bounds: bounds33, circles: circles22, refblocks: refblocks33 } = volt_meter_default;
6367
+ var { paths: paths34, texts: texts44, bounds: bounds34, circles: circles23, refblocks: refblocks34 } = volt_meter_default;
6171
6368
  var volt_meter_horz_default = defineSymbol({
6172
6369
  primitives: [
6173
- ...Object.values(paths33),
6174
- ...Object.values(circles22),
6370
+ ...Object.values(paths34),
6371
+ ...Object.values(circles23),
6175
6372
  {
6176
6373
  type: "text",
6177
6374
  text: "{REF}",
@@ -6188,13 +6385,13 @@ var volt_meter_horz_default = defineSymbol({
6188
6385
  }
6189
6386
  ],
6190
6387
  ports: [
6191
- { ...refblocks33.left1, labels: ["1"] },
6388
+ { ...refblocks34.left1, labels: ["1"] },
6192
6389
  // TODO add more "standard" labels
6193
- { ...refblocks33.right1, labels: ["2"] }
6390
+ { ...refblocks34.right1, labels: ["2"] }
6194
6391
  // TODO add more "standard" labels
6195
6392
  ],
6196
- size: { width: bounds33.width, height: bounds33.height },
6197
- center: { x: bounds33.centerX, y: bounds33.centerY }
6393
+ size: { width: bounds34.width, height: bounds34.height },
6394
+ center: { x: bounds34.centerX, y: bounds34.centerY }
6198
6395
  });
6199
6396
 
6200
6397
  // symbols/volt_meter_vert.ts
@@ -6347,34 +6544,34 @@ var zener_diode_default = {
6347
6544
  };
6348
6545
 
6349
6546
  // symbols/zener_diode_horz.ts
6350
- var { paths: paths34, texts: texts43, bounds: bounds34, refblocks: refblocks34, circles: circles23 } = zener_diode_default;
6547
+ var { paths: paths35, texts: texts45, bounds: bounds35, refblocks: refblocks35, circles: circles24 } = zener_diode_default;
6351
6548
  var zener_diode_horz_default = defineSymbol({
6352
6549
  primitives: [
6353
- ...Object.values(paths34),
6354
- ...Object.values(circles23),
6355
- { ...texts43.top1, anchor: "middle_bottom" },
6356
- { ...texts43.bottom1, anchor: "middle_top" }
6550
+ ...Object.values(paths35),
6551
+ ...Object.values(circles24),
6552
+ { ...texts45.top1, anchor: "middle_bottom" },
6553
+ { ...texts45.bottom1, anchor: "middle_top" }
6357
6554
  ],
6358
6555
  ports: [
6359
- { ...refblocks34.left1, labels: ["1"] },
6556
+ { ...refblocks35.left1, labels: ["1"] },
6360
6557
  // TODO add more "standard" labels
6361
- { ...refblocks34.right1, labels: ["2"] }
6558
+ { ...refblocks35.right1, labels: ["2"] }
6362
6559
  // TODO add more "standard" labels
6363
6560
  ],
6364
- size: { width: bounds34.width, height: bounds34.height },
6365
- center: { x: bounds34.centerX, y: bounds34.centerY }
6561
+ size: { width: bounds35.width, height: bounds35.height },
6562
+ center: { x: bounds35.centerX, y: bounds35.centerY }
6366
6563
  });
6367
6564
 
6368
6565
  // symbols/zener_diode_vert.ts
6369
6566
  var rotated11 = rotateSymbol(zener_diode_horz_default);
6370
- var ref20 = rotated11.primitives.find(
6567
+ var ref21 = rotated11.primitives.find(
6371
6568
  (p) => p.type === "text" && p.text === "{REF}"
6372
6569
  );
6373
- var val17 = rotated11.primitives.find(
6570
+ var val18 = rotated11.primitives.find(
6374
6571
  (p) => p.type === "text" && p.text === "{VAL}"
6375
6572
  );
6376
- ref20.anchor = "middle_left";
6377
- val17.anchor = "middle_right";
6573
+ ref21.anchor = "middle_left";
6574
+ val18.anchor = "middle_right";
6378
6575
  var zener_diode_vert_default = rotated11;
6379
6576
 
6380
6577
  // generated/symbols-index.ts
@@ -6413,6 +6610,8 @@ var symbols_index_default = {
6413
6610
  "mosfet_depletion_normally_on_vert": mosfet_depletion_normally_on_vert_default,
6414
6611
  "photodiode_horz": photodiode_horz_default,
6415
6612
  "photodiode_vert": photodiode_vert_default,
6613
+ "pjfet_transistor_horz": pjfet_transistor_horz_default,
6614
+ "pjfet_transistor_vert": pjfet_transistor_vert_default,
6416
6615
  "potentiometer_horz": potentiometer_horz_default,
6417
6616
  "potentiometer_vert": potentiometer_vert_default,
6418
6617
  "potentiometer2_horz": potentiometer2_horz_default,