schematic-symbols 0.0.68 → 0.0.70

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
@@ -3671,6 +3671,263 @@ ref12.x = 0.35;
3671
3671
  ref12.anchor = "middle_left";
3672
3672
  var p_channel_d_mosfet_transistor_vert_default = rotatedSymbol11;
3673
3673
 
3674
+ // assets/generated/p_channel_e_mosfet_transistor.json
3675
+ var p_channel_e_mosfet_transistor_default = {
3676
+ paths: {
3677
+ path11: {
3678
+ type: "path",
3679
+ points: [
3680
+ {
3681
+ x: -0.39274354450000026,
3682
+ y: 0.10329954999999957
3683
+ },
3684
+ {
3685
+ x: 0.05111245549999932,
3686
+ y: 0.1059225499999994
3687
+ }
3688
+ ],
3689
+ color: "primary",
3690
+ fill: false
3691
+ },
3692
+ "path12-1": {
3693
+ type: "path",
3694
+ points: [
3695
+ {
3696
+ x: 0.30382435550000064,
3697
+ y: -0.53233025
3698
+ },
3699
+ {
3700
+ x: 0.3032243555000005,
3701
+ y: -0.10600584999999985
3702
+ }
3703
+ ],
3704
+ color: "primary",
3705
+ fill: false
3706
+ },
3707
+ "path12-1-5": {
3708
+ type: "path",
3709
+ points: [
3710
+ {
3711
+ x: 0.3108281555000003,
3712
+ y: 0.5323308500000001
3713
+ },
3714
+ {
3715
+ x: 0.31142815550000025,
3716
+ y: 0.005876249999999805
3717
+ }
3718
+ ],
3719
+ color: "primary",
3720
+ fill: false
3721
+ },
3722
+ path2: {
3723
+ type: "path",
3724
+ points: [
3725
+ {
3726
+ x: 0.09383795549999951,
3727
+ y: -0.10788365000000044
3728
+ },
3729
+ {
3730
+ x: 0.31104975549999936,
3731
+ y: -0.10659565000000004
3732
+ }
3733
+ ],
3734
+ color: "primary",
3735
+ fill: false
3736
+ },
3737
+ "path2-8-3-7": {
3738
+ type: "path",
3739
+ points: [
3740
+ {
3741
+ x: 0.09448295549999952,
3742
+ y: -0.14677165000000048
3743
+ },
3744
+ {
3745
+ x: 0.09319295549999951,
3746
+ y: -0.06899565000000041
3747
+ }
3748
+ ],
3749
+ color: "primary",
3750
+ fill: false
3751
+ },
3752
+ "path2-5": {
3753
+ type: "path",
3754
+ points: [
3755
+ {
3756
+ x: 0.09383795549999951,
3757
+ y: 0.10232114999999986
3758
+ },
3759
+ {
3760
+ x: 0.31104975549999936,
3761
+ y: 0.10360915000000026
3762
+ }
3763
+ ],
3764
+ color: "primary",
3765
+ fill: false
3766
+ },
3767
+ "path2-8-3": {
3768
+ type: "path",
3769
+ points: [
3770
+ {
3771
+ x: 0.09440455549999993,
3772
+ y: 0.07703174999999951
3773
+ },
3774
+ {
3775
+ x: 0.09311455549999992,
3776
+ y: 0.15480774999999958
3777
+ }
3778
+ ],
3779
+ color: "primary",
3780
+ fill: false
3781
+ },
3782
+ "path2-8-3-2": {
3783
+ type: "path",
3784
+ points: [
3785
+ {
3786
+ x: 0.09448295549999952,
3787
+ y: -0.03486995000000048
3788
+ },
3789
+ {
3790
+ x: 0.09319295549999951,
3791
+ y: 0.042906049999999585
3792
+ }
3793
+ ],
3794
+ color: "primary",
3795
+ fill: false
3796
+ },
3797
+ path15: {
3798
+ type: "path",
3799
+ points: [
3800
+ {
3801
+ x: 0.20244405549999955,
3802
+ y: -0.03061555000000049
3803
+ },
3804
+ {
3805
+ x: 0.20244405549999955,
3806
+ y: 0.04077654999999947
3807
+ },
3808
+ {
3809
+ x: 0.2741990554999998,
3810
+ y: 0.0054987499999992195
3811
+ }
3812
+ ],
3813
+ color: "primary",
3814
+ fill: true
3815
+ },
3816
+ "path2-0": {
3817
+ type: "path",
3818
+ points: [
3819
+ {
3820
+ x: 0.09383795549999951,
3821
+ y: 0.004018049999999551
3822
+ },
3823
+ {
3824
+ x: 0.31104975549999936,
3825
+ y: 0.005306049999999729
3826
+ }
3827
+ ],
3828
+ color: "primary",
3829
+ fill: false
3830
+ },
3831
+ "path12-1-0": {
3832
+ type: "path",
3833
+ points: [
3834
+ {
3835
+ x: 0.05171245550000081,
3836
+ y: -0.10847375000000059
3837
+ },
3838
+ {
3839
+ x: 0.05111245550000065,
3840
+ y: 0.1059225499999994
3841
+ }
3842
+ ],
3843
+ color: "primary",
3844
+ fill: false
3845
+ }
3846
+ },
3847
+ texts: {
3848
+ top1: {
3849
+ type: "text",
3850
+ text: "{REF}",
3851
+ x: -0.13197254449999907,
3852
+ y: -0.36092494999999936
3853
+ },
3854
+ bottom1: {
3855
+ type: "text",
3856
+ text: "{VAL}",
3857
+ x: 0.05891105550000031,
3858
+ y: 0.42489435000000064
3859
+ }
3860
+ },
3861
+ refblocks: {
3862
+ top1: {
3863
+ x: 0.30397715549999993,
3864
+ y: -0.5519248499999992
3865
+ },
3866
+ bottom1: {
3867
+ x: 0.31067575550000126,
3868
+ y: 0.5519248499999994
3869
+ },
3870
+ left1: {
3871
+ x: -0.41859744450000025,
3872
+ y: 0.10250625000000024
3873
+ }
3874
+ },
3875
+ bounds: {
3876
+ minX: -0.4467558855000002,
3877
+ maxX: 0.44675588550000006,
3878
+ minY: -0.5800832909999992,
3879
+ maxY: 0.5800832909999993,
3880
+ width: 1,
3881
+ height: 1.1601665819999987,
3882
+ centerX: -8326672684688674e-32,
3883
+ centerY: 5551115123125783e-32
3884
+ },
3885
+ circles: {
3886
+ path1: {
3887
+ type: "circle",
3888
+ x: 0.15821375550000005,
3889
+ y: -0.003454549999999612,
3890
+ radius: 0.28854213,
3891
+ color: "primary",
3892
+ fill: false
3893
+ }
3894
+ }
3895
+ };
3896
+
3897
+ // symbols/p_channel_e_mosfet_transistor_horz.ts
3898
+ var { paths: paths20, texts: texts27, bounds: bounds20, refblocks: refblocks20, circles: circles14 } = p_channel_e_mosfet_transistor_default;
3899
+ var p_channel_e_mosfet_transistor_horz_default = defineSymbol({
3900
+ primitives: [
3901
+ ...Object.values(paths20),
3902
+ ...Object.values(circles14),
3903
+ { ...texts27.top1, anchor: "middle_right", x: 0 },
3904
+ { ...texts27.bottom1, anchor: "middle_right", x: 0 }
3905
+ ],
3906
+ ports: [
3907
+ { ...refblocks20.top1, labels: ["1", "drain"] },
3908
+ // TODO add more "standard" labels
3909
+ { ...refblocks20.bottom1, labels: ["2", "source"] },
3910
+ // TODO add more "standard" labels
3911
+ { ...refblocks20.left1, labels: ["3", "gate"] }
3912
+ // TODO add more "standard" labels
3913
+ ],
3914
+ size: { width: bounds20.width, height: bounds20.height },
3915
+ center: { x: bounds20.centerX, y: bounds20.centerY }
3916
+ });
3917
+
3918
+ // symbols/p_channel_e_mosfet_transistor_vert.ts
3919
+ var rotatedSymbol12 = rotateSymbol(p_channel_e_mosfet_transistor_horz_default);
3920
+ var texts28 = rotatedSymbol12.primitives.filter((p) => p.type === "text");
3921
+ var val12 = texts28.find((t) => t.text === "{VAL}");
3922
+ val12.x = -0.35;
3923
+ val12.y = 0;
3924
+ val12.anchor = "middle_right";
3925
+ var ref13 = texts28.find((t) => t.text === "{REF}");
3926
+ ref13.y = 0;
3927
+ ref13.x = 0.35;
3928
+ ref13.anchor = "middle_left";
3929
+ var p_channel_e_mosfet_transistor_vert_default = rotatedSymbol12;
3930
+
3674
3931
  // assets/generated/photodiode.json
3675
3932
  var photodiode_default = {
3676
3933
  paths: {
@@ -3896,11 +4153,11 @@ var photodiode_default = {
3896
4153
  };
3897
4154
 
3898
4155
  // symbols/photodiode_horz.ts
3899
- var { paths: paths20, texts: texts27, bounds: bounds20, refblocks: refblocks20, circles: circles14 } = photodiode_default;
4156
+ var { paths: paths21, texts: texts29, bounds: bounds21, refblocks: refblocks21, circles: circles15 } = photodiode_default;
3900
4157
  var photodiode_horz_default = defineSymbol({
3901
4158
  primitives: [
3902
- ...Object.values(paths20),
3903
- ...Object.values(circles14),
4159
+ ...Object.values(paths21),
4160
+ ...Object.values(circles15),
3904
4161
  {
3905
4162
  type: "text",
3906
4163
  text: "{REF}",
@@ -3917,22 +4174,22 @@ var photodiode_horz_default = defineSymbol({
3917
4174
  }
3918
4175
  ],
3919
4176
  ports: [
3920
- { ...refblocks20.left1, labels: ["1"] },
4177
+ { ...refblocks21.left1, labels: ["1"] },
3921
4178
  // TODO add more "standard" labels
3922
- { ...refblocks20.right1, labels: ["2"] }
4179
+ { ...refblocks21.right1, labels: ["2"] }
3923
4180
  // TODO add more "standard" labels
3924
4181
  ],
3925
- size: { width: bounds20.width, height: bounds20.height },
3926
- center: { x: bounds20.centerX, y: bounds20.centerY }
4182
+ size: { width: bounds21.width, height: bounds21.height },
4183
+ center: { x: bounds21.centerX, y: bounds21.centerY }
3927
4184
  });
3928
4185
 
3929
4186
  // symbols/photodiode_vert.ts
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;
4187
+ var rotatedSymbol13 = rotateSymbol(photodiode_horz_default);
4188
+ var texts30 = rotatedSymbol13.primitives.filter((p) => p.type === "text");
4189
+ var ref14 = texts30.find((t) => t.text === "{REF}");
4190
+ ref14.y = 0;
4191
+ ref14.anchor = "middle_left";
4192
+ var photodiode_vert_default = rotatedSymbol13;
3936
4193
 
3937
4194
  // assets/generated/pjfet_transistor.json
3938
4195
  var pjfet_transistor_default = {
@@ -4098,38 +4355,38 @@ var pjfet_transistor_default = {
4098
4355
  };
4099
4356
 
4100
4357
  // symbols/pjfet_transistor_horz.ts
4101
- var { paths: paths21, texts: texts29, bounds: bounds21, refblocks: refblocks21, circles: circles15 } = pjfet_transistor_default;
4358
+ var { paths: paths22, texts: texts31, bounds: bounds22, refblocks: refblocks22, circles: circles16 } = pjfet_transistor_default;
4102
4359
  var pjfet_transistor_horz_default = defineSymbol({
4103
4360
  primitives: [
4104
- ...Object.values(paths21),
4105
- ...Object.values(circles15),
4106
- { ...texts29.top1, anchor: "middle_right", x: 0 },
4107
- { ...texts29.bottom1, anchor: "middle_right" }
4361
+ ...Object.values(paths22),
4362
+ ...Object.values(circles16),
4363
+ { ...texts31.top1, anchor: "middle_right", x: 0 },
4364
+ { ...texts31.bottom1, anchor: "middle_right" }
4108
4365
  ],
4109
4366
  ports: [
4110
- { ...refblocks21.top1, labels: ["1", "drain"] },
4367
+ { ...refblocks22.top1, labels: ["1", "drain"] },
4111
4368
  // TODO add more "standard" labels
4112
- { ...refblocks21.bottom1, labels: ["2", "source"] },
4369
+ { ...refblocks22.bottom1, labels: ["2", "source"] },
4113
4370
  // TODO add more "standard" labels
4114
- { ...refblocks21.left1, labels: ["3", "gate"] }
4371
+ { ...refblocks22.left1, labels: ["3", "gate"] }
4115
4372
  // TODO add more "standard" labels
4116
4373
  ],
4117
- size: { width: bounds21.width, height: bounds21.height },
4118
- center: { x: bounds21.centerX, y: bounds21.centerY }
4374
+ size: { width: bounds22.width, height: bounds22.height },
4375
+ center: { x: bounds22.centerX, y: bounds22.centerY }
4119
4376
  });
4120
4377
 
4121
4378
  // symbols/pjfet_transistor_vert.ts
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;
4379
+ var rotatedSymbol14 = rotateSymbol(pjfet_transistor_horz_default);
4380
+ var texts32 = rotatedSymbol14.primitives.filter((p) => p.type === "text");
4381
+ var val13 = texts32.find((t) => t.text === "{VAL}");
4382
+ val13.x = -0.35;
4383
+ val13.y = 0;
4384
+ val13.anchor = "middle_right";
4385
+ var ref15 = texts32.find((t) => t.text === "{REF}");
4386
+ ref15.y = 0;
4387
+ ref15.x = 0.35;
4388
+ ref15.anchor = "middle_left";
4389
+ var pjfet_transistor_vert_default = rotatedSymbol14;
4133
4390
 
4134
4391
  // assets/generated/potentiometer.json
4135
4392
  var potentiometer_default = {
@@ -4267,21 +4524,21 @@ var potentiometer_default = {
4267
4524
  };
4268
4525
 
4269
4526
  // symbols/potentiometer_horz.ts
4270
- var { paths: paths22, texts: texts31, bounds: bounds22, refblocks: refblocks22 } = potentiometer_default;
4527
+ var { paths: paths23, texts: texts33, bounds: bounds23, refblocks: refblocks23 } = potentiometer_default;
4271
4528
  var potentiometer_horz_default = defineSymbol({
4272
4529
  primitives: [
4273
- ...Object.values(paths22),
4274
- { ...texts31.bottom1, y: 0.35, anchor: "middle_top" },
4275
- { ...texts31.right1, anchor: "middle_left" }
4530
+ ...Object.values(paths23),
4531
+ { ...texts33.bottom1, y: 0.35, anchor: "middle_top" },
4532
+ { ...texts33.right1, anchor: "middle_left" }
4276
4533
  ],
4277
4534
  ports: [
4278
- { ...refblocks22.left1, labels: ["1"] },
4535
+ { ...refblocks23.left1, labels: ["1"] },
4279
4536
  // TODO add more "standard" labels
4280
- { ...refblocks22.right1, labels: ["2"] }
4537
+ { ...refblocks23.right1, labels: ["2"] }
4281
4538
  // TODO add more "standard" labels
4282
4539
  ],
4283
- size: { width: bounds22.width + 0.05, height: bounds22.height },
4284
- center: { x: bounds22.centerX, y: bounds22.centerY }
4540
+ size: { width: bounds23.width + 0.05, height: bounds23.height },
4541
+ center: { x: bounds23.centerX, y: bounds23.centerY }
4285
4542
  });
4286
4543
 
4287
4544
  // symbols/potentiometer_vert.ts
@@ -4443,21 +4700,21 @@ var potentiometer2_default = {
4443
4700
  };
4444
4701
 
4445
4702
  // symbols/potentiometer2_horz.ts
4446
- var { paths: paths23, texts: texts32, bounds: bounds23, refblocks: refblocks23 } = potentiometer2_default;
4703
+ var { paths: paths24, texts: texts34, bounds: bounds24, refblocks: refblocks24 } = potentiometer2_default;
4447
4704
  var potentiometer2_horz_default = defineSymbol({
4448
4705
  primitives: [
4449
- ...Object.values(paths23),
4450
- { ...texts32.bottom1, anchor: "middle_right" },
4451
- { ...texts32.top1, anchor: "middle_left" }
4706
+ ...Object.values(paths24),
4707
+ { ...texts34.bottom1, anchor: "middle_right" },
4708
+ { ...texts34.top1, anchor: "middle_left" }
4452
4709
  ],
4453
4710
  ports: [
4454
- { ...refblocks23.left1, labels: ["1"] },
4711
+ { ...refblocks24.left1, labels: ["1"] },
4455
4712
  // TODO add more "standard" labels
4456
- { ...refblocks23.right1, labels: ["2"] }
4713
+ { ...refblocks24.right1, labels: ["2"] }
4457
4714
  // TODO add more "standard" labels
4458
4715
  ],
4459
- size: { width: bounds23.width, height: bounds23.height },
4460
- center: { x: bounds23.centerX, y: bounds23.centerY }
4716
+ size: { width: bounds24.width, height: bounds24.height },
4717
+ center: { x: bounds24.centerX, y: bounds24.centerY }
4461
4718
  });
4462
4719
 
4463
4720
  // symbols/potentiometer2_vert.ts
@@ -4550,11 +4807,11 @@ var power_factor_meter_default = {
4550
4807
  };
4551
4808
 
4552
4809
  // symbols/power_factor_meter_horz.ts
4553
- var { paths: paths24, texts: texts33, bounds: bounds24, refblocks: refblocks24, circles: circles16 } = power_factor_meter_default;
4810
+ var { paths: paths25, texts: texts35, bounds: bounds25, refblocks: refblocks25, circles: circles17 } = power_factor_meter_default;
4554
4811
  var power_factor_meter_horz_default = defineSymbol({
4555
- primitives: [
4556
- ...Object.values(paths24),
4557
- ...Object.values(circles16),
4812
+ primitives: [
4813
+ ...Object.values(paths25),
4814
+ ...Object.values(circles17),
4558
4815
  // { ...texts.top1, anchor: "middle_left" },
4559
4816
  {
4560
4817
  type: "text",
@@ -4581,28 +4838,28 @@ var power_factor_meter_horz_default = defineSymbol({
4581
4838
  }
4582
4839
  ],
4583
4840
  ports: [
4584
- { ...refblocks24.left1, labels: ["1"] },
4841
+ { ...refblocks25.left1, labels: ["1"] },
4585
4842
  // TODO add more "standard" labels
4586
- { ...refblocks24.right1, labels: ["2"] }
4843
+ { ...refblocks25.right1, labels: ["2"] }
4587
4844
  // TODO add more "standard" labels
4588
4845
  ],
4589
- size: { width: bounds24.width, height: bounds24.height },
4590
- center: { x: bounds24.centerX, y: bounds24.centerY }
4846
+ size: { width: bounds25.width, height: bounds25.height },
4847
+ center: { x: bounds25.centerX, y: bounds25.centerY }
4591
4848
  });
4592
4849
 
4593
4850
  // symbols/power_factor_meter_vert.ts
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;
4851
+ var rotatedSymbol15 = rotateSymbol(power_factor_meter_horz_default);
4852
+ var texts36 = rotatedSymbol15.primitives.filter((p) => p.type === "text");
4853
+ var ref16 = texts36.find((t) => t.text === "{REF}");
4854
+ var val14 = texts36.find((t) => t.text === "{VAL}");
4855
+ var text_cos = texts36.find((t) => t.text === "COS \u03C6");
4856
+ ref16.x = 0.35;
4857
+ ref16.y = 0;
4858
+ val14.x = -0.6;
4859
+ val14.y = 0;
4603
4860
  text_cos.x = -0.1;
4604
4861
  text_cos.y = 0;
4605
- var power_factor_meter_vert_default = rotatedSymbol14;
4862
+ var power_factor_meter_vert_default = rotatedSymbol15;
4606
4863
 
4607
4864
  // assets/generated/push_button_normally_closed_momentary.json
4608
4865
  var push_button_normally_closed_momentary_default = {
@@ -4705,37 +4962,37 @@ var push_button_normally_closed_momentary_default = {
4705
4962
  };
4706
4963
 
4707
4964
  // symbols/push_button_normally_closed_momentary_horz.ts
4708
- var { paths: paths25, texts: texts35, bounds: bounds25, refblocks: refblocks25 } = push_button_normally_closed_momentary_default;
4965
+ var { paths: paths26, texts: texts37, bounds: bounds26, refblocks: refblocks26 } = push_button_normally_closed_momentary_default;
4709
4966
  var push_button_normally_closed_momentary_horz_default = defineSymbol({
4710
4967
  primitives: [
4711
- ...Object.values(paths25),
4712
- { ...texts35.top1, anchor: "middle_bottom" },
4713
- { ...texts35.bottom1, anchor: "middle_top" }
4968
+ ...Object.values(paths26),
4969
+ { ...texts37.top1, anchor: "middle_bottom" },
4970
+ { ...texts37.bottom1, anchor: "middle_top" }
4714
4971
  ],
4715
4972
  ports: [
4716
- { ...refblocks25.left1, labels: ["1"] },
4973
+ { ...refblocks26.left1, labels: ["1"] },
4717
4974
  // TODO add more "standard" labels
4718
- { ...refblocks25.right1, labels: ["2"] }
4975
+ { ...refblocks26.right1, labels: ["2"] }
4719
4976
  // TODO add more "standard" labels
4720
4977
  ],
4721
- size: { width: bounds25.width, height: bounds25.height },
4722
- center: { x: bounds25.centerX, y: bounds25.centerY }
4978
+ size: { width: bounds26.width, height: bounds26.height },
4979
+ center: { x: bounds26.centerX, y: bounds26.centerY }
4723
4980
  });
4724
4981
 
4725
4982
  // symbols/push_button_normally_closed_momentary_vert.ts
4726
4983
  var rotated6 = rotateSymbol(push_button_normally_closed_momentary_horz_default);
4727
- var ref16 = rotated6.primitives.find(
4984
+ var ref17 = rotated6.primitives.find(
4728
4985
  (p) => p.type === "text" && p.text === "{REF}"
4729
4986
  );
4730
- var val14 = rotated6.primitives.find(
4987
+ var val15 = rotated6.primitives.find(
4731
4988
  (p) => p.type === "text" && p.text === "{VAL}"
4732
4989
  );
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;
4990
+ ref17.anchor = "middle_left";
4991
+ val15.anchor = "middle_right";
4992
+ ref17.x = ref17.x - 0.03;
4993
+ ref17.y = ref17.y;
4994
+ val15.x = val15.x;
4995
+ val15.y = 0;
4739
4996
  var push_button_normally_closed_momentary_vert_default = rotated6;
4740
4997
 
4741
4998
  // assets/generated/push_button_normally_open_momentary.json
@@ -4839,37 +5096,37 @@ var push_button_normally_open_momentary_default = {
4839
5096
  };
4840
5097
 
4841
5098
  // symbols/push_button_normally_open_momentary_horz.ts
4842
- var { paths: paths26, texts: texts36, bounds: bounds26, refblocks: refblocks26 } = push_button_normally_open_momentary_default;
5099
+ var { paths: paths27, texts: texts38, bounds: bounds27, refblocks: refblocks27 } = push_button_normally_open_momentary_default;
4843
5100
  var push_button_normally_open_momentary_horz_default = defineSymbol({
4844
5101
  primitives: [
4845
- ...Object.values(paths26),
4846
- { ...texts36.top1, anchor: "middle_bottom" },
4847
- { ...texts36.bottom1, anchor: "middle_top" }
5102
+ ...Object.values(paths27),
5103
+ { ...texts38.top1, anchor: "middle_bottom" },
5104
+ { ...texts38.bottom1, anchor: "middle_top" }
4848
5105
  ],
4849
5106
  ports: [
4850
- { ...refblocks26.left1, labels: ["1"] },
5107
+ { ...refblocks27.left1, labels: ["1"] },
4851
5108
  // TODO add more "standard" labels
4852
- { ...refblocks26.right1, labels: ["2"] }
5109
+ { ...refblocks27.right1, labels: ["2"] }
4853
5110
  // TODO add more "standard" labels
4854
5111
  ],
4855
- size: { width: bounds26.width, height: bounds26.height },
4856
- center: { x: bounds26.centerX, y: bounds26.centerY }
5112
+ size: { width: bounds27.width, height: bounds27.height },
5113
+ center: { x: bounds27.centerX, y: bounds27.centerY }
4857
5114
  });
4858
5115
 
4859
5116
  // symbols/push_button_normally_open_momentary_vert.ts
4860
5117
  var rotated7 = rotateSymbol(push_button_normally_open_momentary_horz_default);
4861
- var ref17 = rotated7.primitives.find(
5118
+ var ref18 = rotated7.primitives.find(
4862
5119
  (p) => p.type === "text" && p.text === "{REF}"
4863
5120
  );
4864
- var val15 = rotated7.primitives.find(
5121
+ var val16 = rotated7.primitives.find(
4865
5122
  (p) => p.type === "text" && p.text === "{VAL}"
4866
5123
  );
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;
5124
+ ref18.anchor = "middle_left";
5125
+ val16.anchor = "middle_right";
5126
+ ref18.x = ref18.x + 0.1;
5127
+ ref18.y = ref18.y;
5128
+ val16.x = val16.x;
5129
+ val16.y = 0;
4873
5130
  var push_button_normally_open_momentary_vert_default = rotated7;
4874
5131
 
4875
5132
  // assets/generated/resonator.json
@@ -5218,11 +5475,11 @@ var resonator_default = {
5218
5475
  };
5219
5476
 
5220
5477
  // symbols/resonator_horz.ts
5221
- var { paths: paths27, texts: texts37, bounds: bounds27, refblocks: refblocks27, circles: circles17 } = resonator_default;
5478
+ var { paths: paths28, texts: texts39, bounds: bounds28, refblocks: refblocks28, circles: circles18 } = resonator_default;
5222
5479
  var resonator_horz_default = defineSymbol({
5223
5480
  primitives: [
5224
- ...Object.values(paths27),
5225
- ...Object.values(circles17),
5481
+ ...Object.values(paths28),
5482
+ ...Object.values(circles18),
5226
5483
  // { ...texts.top1, anchor: "middle_left" },
5227
5484
  // { ...texts.bottom1, anchor: "middle_left" },
5228
5485
  {
@@ -5241,15 +5498,15 @@ var resonator_horz_default = defineSymbol({
5241
5498
  }
5242
5499
  ],
5243
5500
  ports: [
5244
- { ...refblocks27.left1, labels: ["1"] },
5501
+ { ...refblocks28.left1, labels: ["1"] },
5245
5502
  // TODO add more "standard" labels
5246
- { ...refblocks27.right1, labels: ["2"] },
5503
+ { ...refblocks28.right1, labels: ["2"] },
5247
5504
  // TODO add more "standard" labels
5248
- { ...refblocks27.right2, labels: ["3"] }
5505
+ { ...refblocks28.right2, labels: ["3"] }
5249
5506
  // TODO add more "standard" labels
5250
5507
  ],
5251
- size: { width: bounds27.width, height: bounds27.height },
5252
- center: { x: bounds27.centerX, y: bounds27.centerY }
5508
+ size: { width: bounds28.width, height: bounds28.height },
5509
+ center: { x: bounds28.centerX, y: bounds28.centerY }
5253
5510
  });
5254
5511
 
5255
5512
  // symbols/resonator_vert.ts
@@ -5447,34 +5704,34 @@ var schottky_diode_default = {
5447
5704
  };
5448
5705
 
5449
5706
  // symbols/schottky_diode_horz.ts
5450
- var { paths: paths28, texts: texts38, bounds: bounds28, refblocks: refblocks28, circles: circles18 } = schottky_diode_default;
5707
+ var { paths: paths29, texts: texts40, bounds: bounds29, refblocks: refblocks29, circles: circles19 } = schottky_diode_default;
5451
5708
  var schottky_diode_horz_default = defineSymbol({
5452
5709
  primitives: [
5453
- ...Object.values(paths28),
5454
- ...Object.values(circles18),
5455
- { ...texts38.top1, anchor: "middle_bottom" },
5456
- { ...texts38.bottom1, anchor: "middle_top" }
5710
+ ...Object.values(paths29),
5711
+ ...Object.values(circles19),
5712
+ { ...texts40.top1, anchor: "middle_bottom" },
5713
+ { ...texts40.bottom1, anchor: "middle_top" }
5457
5714
  ],
5458
5715
  ports: [
5459
- { ...refblocks28.left1, labels: ["1"] },
5716
+ { ...refblocks29.left1, labels: ["1"] },
5460
5717
  // TODO add more "standard" labels
5461
- { ...refblocks28.right1, labels: ["2"] }
5718
+ { ...refblocks29.right1, labels: ["2"] }
5462
5719
  // TODO add more "standard" labels
5463
5720
  ],
5464
- size: { width: bounds28.width, height: bounds28.height },
5465
- center: { x: bounds28.centerX, y: bounds28.centerY }
5721
+ size: { width: bounds29.width, height: bounds29.height },
5722
+ center: { x: bounds29.centerX, y: bounds29.centerY }
5466
5723
  });
5467
5724
 
5468
5725
  // symbols/schottky_diode_vert.ts
5469
5726
  var rotated8 = rotateSymbol(schottky_diode_horz_default);
5470
- var ref18 = rotated8.primitives.find(
5727
+ var ref19 = rotated8.primitives.find(
5471
5728
  (p) => p.type === "text" && p.text === "{REF}"
5472
5729
  );
5473
- var val16 = rotated8.primitives.find(
5730
+ var val17 = rotated8.primitives.find(
5474
5731
  (p) => p.type === "text" && p.text === "{VAL}"
5475
5732
  );
5476
- ref18.anchor = "middle_left";
5477
- val16.anchor = "middle_right";
5733
+ ref19.anchor = "middle_left";
5734
+ val17.anchor = "middle_right";
5478
5735
  var schottky_diode_vert_default = rotated8;
5479
5736
 
5480
5737
  // assets/generated/silicon_controlled_rectifier.json
@@ -5621,35 +5878,161 @@ var silicon_controlled_rectifier_default = {
5621
5878
  };
5622
5879
 
5623
5880
  // symbols/silicon_controlled_rectifier_horz.ts
5624
- var { paths: paths29, texts: texts39, bounds: bounds29, refblocks: refblocks29, circles: circles19 } = silicon_controlled_rectifier_default;
5881
+ var { paths: paths30, texts: texts41, bounds: bounds30, refblocks: refblocks30, circles: circles20 } = silicon_controlled_rectifier_default;
5625
5882
  var silicon_controlled_rectifier_horz_default = defineSymbol({
5626
5883
  primitives: [
5627
- ...Object.values(paths29),
5628
- ...Object.values(circles19),
5629
- { ...texts39.top1, anchor: "middle_left" },
5630
- { ...texts39.bottom1, anchor: "middle_top" }
5884
+ ...Object.values(paths30),
5885
+ ...Object.values(circles20),
5886
+ { ...texts41.top1, anchor: "middle_left" },
5887
+ { ...texts41.bottom1, anchor: "middle_top" }
5631
5888
  ],
5632
5889
  ports: [
5633
- { ...refblocks29.left1, labels: ["1"] },
5890
+ { ...refblocks30.left1, labels: ["1"] },
5634
5891
  // TODO add more "standard" labels
5635
- { ...refblocks29.right1, labels: ["2"] },
5892
+ { ...refblocks30.right1, labels: ["2"] },
5636
5893
  // TODO add more "standard" labels
5637
- { ...refblocks29.bottom1, labels: ["3"] }
5894
+ { ...refblocks30.bottom1, labels: ["3"] }
5638
5895
  // TODO add more "standard" labels
5639
5896
  ],
5640
- size: { width: bounds29.width, height: bounds29.height },
5641
- center: { x: bounds29.centerX, y: bounds29.centerY }
5897
+ size: { width: bounds30.width, height: bounds30.height },
5898
+ center: { x: bounds30.centerX, y: bounds30.centerY }
5642
5899
  });
5643
5900
 
5644
5901
  // symbols/silicon_controlled_rectifier_vert.ts
5645
- var rotatedSymbol15 = rotateSymbol(silicon_controlled_rectifier_horz_default);
5646
- var texts40 = rotatedSymbol15.primitives.filter(
5902
+ var rotatedSymbol16 = rotateSymbol(silicon_controlled_rectifier_horz_default);
5903
+ var texts42 = rotatedSymbol16.primitives.filter(
5647
5904
  (primitive) => primitive.type === "text"
5648
5905
  );
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;
5906
+ var ref20 = texts42.find((text) => text.text === "{REF}");
5907
+ ref20.y = 0;
5908
+ ref20.anchor = "middle_left";
5909
+ var silicon_controlled_rectifier_vert_default = rotatedSymbol16;
5910
+
5911
+ // assets/generated/SPST_switch.json
5912
+ var SPST_switch_default = {
5913
+ paths: {
5914
+ path11: {
5915
+ type: "path",
5916
+ points: [
5917
+ {
5918
+ x: -0.3622273500000006,
5919
+ y: -0.029865150000000895
5920
+ },
5921
+ {
5922
+ x: -0.13579835000000018,
5923
+ y: -0.029865150000000895
5924
+ }
5925
+ ],
5926
+ color: "primary",
5927
+ fill: false
5928
+ },
5929
+ "path11-0": {
5930
+ type: "path",
5931
+ points: [
5932
+ {
5933
+ x: -0.12010005000000046,
5934
+ y: -0.02833465000000035
5935
+ },
5936
+ {
5937
+ x: 0.10307834999999987,
5938
+ y: -0.16802405000000076
5939
+ }
5940
+ ],
5941
+ color: "primary",
5942
+ fill: false
5943
+ },
5944
+ path12: {
5945
+ type: "path",
5946
+ points: [
5947
+ {
5948
+ x: 0.12795584999999932,
5949
+ y: -0.029865150000000895
5950
+ },
5951
+ {
5952
+ x: 0.3686967499999996,
5953
+ y: -0.029865150000000895
5954
+ }
5955
+ ],
5956
+ color: "primary",
5957
+ fill: false
5958
+ }
5959
+ },
5960
+ texts: {
5961
+ top1: {
5962
+ type: "text",
5963
+ text: "{REF}",
5964
+ x: -0.1864019499999996,
5965
+ y: -0.39216264999999995
5966
+ },
5967
+ bottom1: {
5968
+ type: "text",
5969
+ text: "{VAL}",
5970
+ x: -0.019730250000000504,
5971
+ y: 0.40216264999999995
5972
+ }
5973
+ },
5974
+ refblocks: {
5975
+ left1: {
5976
+ x: -0.37614274999999964,
5977
+ y: -0.02901224999999985
5978
+ },
5979
+ left2: {
5980
+ x: -0.12356015000000009,
5981
+ y: -0.025075450000000332
5982
+ },
5983
+ right1: {
5984
+ x: 0.37614274999999964,
5985
+ y: -0.030008650000000303
5986
+ },
5987
+ right2: {
5988
+ x: 0.11531695000000042,
5989
+ y: -0.025075450000000332
5990
+ }
5991
+ },
5992
+ bounds: {
5993
+ minX: -0.4043011909999996,
5994
+ maxX: 0.4043011909999996,
5995
+ minY: -0.4921626499999999,
5996
+ maxY: 0.40216264999999995,
5997
+ width: 1,
5998
+ height: 1,
5999
+ centerX: 0,
6000
+ centerY: -0.044999999999999984
6001
+ },
6002
+ circles: {}
6003
+ };
6004
+
6005
+ // symbols/SPST_switch_horz.ts
6006
+ var { paths: paths31, texts: texts43, bounds: bounds31, refblocks: refblocks31, circles: circles21 } = SPST_switch_default;
6007
+ var SPST_switch_horz_default = defineSymbol({
6008
+ primitives: [
6009
+ ...Object.values(paths31),
6010
+ ...Object.values(circles21),
6011
+ { ...texts43.top1, anchor: "middle_bottom", x: 0 },
6012
+ { ...texts43.bottom1, anchor: "middle_top", x: 0 }
6013
+ ],
6014
+ ports: [
6015
+ { ...refblocks31.left1, labels: ["1"] },
6016
+ // TODO add more "standard" labels
6017
+ { ...refblocks31.right1, labels: ["2"] }
6018
+ // TODO add more "standard" labels
6019
+ ],
6020
+ size: { width: bounds31.width, height: bounds31.height },
6021
+ center: { x: bounds31.centerX, y: bounds31.centerY }
6022
+ });
6023
+
6024
+ // symbols/SPST_switch_vert.ts
6025
+ var rotatedSymbol17 = rotateSymbol(SPST_switch_horz_default);
6026
+ var texts44 = rotatedSymbol17.primitives.filter((p) => p.type === "text");
6027
+ var val18 = texts44.find((t) => t.text === "{VAL}");
6028
+ val18.anchor = "middle_right";
6029
+ val18.x = -0.3;
6030
+ val18.y = 0;
6031
+ var ref21 = texts44.find((t) => t.text === "{REF}");
6032
+ ref21.anchor = "middle_left";
6033
+ ref21.x = 0.3;
6034
+ ref21.y = 0;
6035
+ var SPST_switch_vert_default = rotatedSymbol17;
5653
6036
 
5654
6037
  // assets/generated/step_recovery_diode.json
5655
6038
  var step_recovery_diode_default = {
@@ -5813,11 +6196,11 @@ var step_recovery_diode_default = {
5813
6196
  };
5814
6197
 
5815
6198
  // symbols/step_recovery_diode_horz.ts
5816
- var { paths: paths30, texts: texts41, bounds: bounds30, refblocks: refblocks30, circles: circles20 } = step_recovery_diode_default;
6199
+ var { paths: paths32, texts: texts45, bounds: bounds32, refblocks: refblocks32, circles: circles22 } = step_recovery_diode_default;
5817
6200
  var step_recovery_diode_horz_default = defineSymbol({
5818
6201
  primitives: [
5819
- ...Object.values(paths30),
5820
- ...Object.values(circles20),
6202
+ ...Object.values(paths32),
6203
+ ...Object.values(circles22),
5821
6204
  // { ...texts.top1, anchor: "middle_left" },
5822
6205
  // { ...texts.bottom1, anchor: "middle_left" },
5823
6206
  {
@@ -5836,13 +6219,13 @@ var step_recovery_diode_horz_default = defineSymbol({
5836
6219
  }
5837
6220
  ],
5838
6221
  ports: [
5839
- { ...refblocks30.left1, labels: ["1"] },
6222
+ { ...refblocks32.left1, labels: ["1"] },
5840
6223
  // TODO add more "standard" labels
5841
- { ...refblocks30.right1, labels: ["2"] }
6224
+ { ...refblocks32.right1, labels: ["2"] }
5842
6225
  // TODO add more "standard" labels
5843
6226
  ],
5844
- size: { width: bounds30.width, height: bounds30.height },
5845
- center: { x: bounds30.centerX, y: bounds30.centerY }
6227
+ size: { width: bounds32.width, height: bounds32.height },
6228
+ center: { x: bounds32.centerX, y: bounds32.centerY }
5846
6229
  });
5847
6230
 
5848
6231
  // symbols/step_recovery_diode_vert.ts
@@ -6039,36 +6422,36 @@ var triac_default = {
6039
6422
  };
6040
6423
 
6041
6424
  // symbols/triac_horz.ts
6042
- var { paths: paths31, texts: texts42, bounds: bounds31, refblocks: refblocks31, circles: circles21 } = triac_default;
6425
+ var { paths: paths33, texts: texts46, bounds: bounds33, refblocks: refblocks33, circles: circles23 } = triac_default;
6043
6426
  var triac_horz_default = defineSymbol({
6044
6427
  primitives: [
6045
- ...Object.values(paths31),
6046
- ...Object.values(circles21),
6047
- { ...texts42.top1, anchor: "middle_left" },
6048
- { ...texts42.bottom1, anchor: "middle_top" }
6428
+ ...Object.values(paths33),
6429
+ ...Object.values(circles23),
6430
+ { ...texts46.top1, anchor: "middle_left" },
6431
+ { ...texts46.bottom1, anchor: "middle_top" }
6049
6432
  ],
6050
6433
  ports: [
6051
- { ...refblocks31.left1, labels: ["1"] },
6434
+ { ...refblocks33.left1, labels: ["1"] },
6052
6435
  // TODO add more "standard" labels
6053
- { ...refblocks31.right1, labels: ["2"] },
6436
+ { ...refblocks33.right1, labels: ["2"] },
6054
6437
  // TODO add more "standard" labels
6055
- { ...refblocks31.bottom1, labels: ["3"] }
6438
+ { ...refblocks33.bottom1, labels: ["3"] }
6056
6439
  // TODO add more "standard" labels
6057
6440
  ],
6058
- size: { width: bounds31.width, height: bounds31.height },
6059
- center: { x: bounds31.centerX, y: bounds31.centerY }
6441
+ size: { width: bounds33.width, height: bounds33.height },
6442
+ center: { x: bounds33.centerX, y: bounds33.centerY }
6060
6443
  });
6061
6444
 
6062
6445
  // symbols/triac_vert.ts
6063
- var rotatedSymbol16 = rotateSymbol(triac_horz_default);
6064
- var texts43 = rotatedSymbol16.primitives.filter(
6446
+ var rotatedSymbol18 = rotateSymbol(triac_horz_default);
6447
+ var texts47 = rotatedSymbol18.primitives.filter(
6065
6448
  (primitive) => primitive.type === "text"
6066
6449
  );
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;
6450
+ var ref22 = texts47.find((text) => text.text === "{REF}");
6451
+ var val19 = texts47.find((text) => text.text === "{VAL}");
6452
+ ref22.y = 0;
6453
+ val19.y = 0;
6454
+ var triac_vert_default = rotatedSymbol18;
6072
6455
 
6073
6456
  // assets/generated/tunnel_diode.json
6074
6457
  var tunnel_diode_default = {
@@ -6232,34 +6615,34 @@ var tunnel_diode_default = {
6232
6615
  };
6233
6616
 
6234
6617
  // symbols/tunnel_diode_horz.ts
6235
- var { paths: paths32, texts: texts44, bounds: bounds32, refblocks: refblocks32, circles: circles22 } = tunnel_diode_default;
6618
+ var { paths: paths34, texts: texts48, bounds: bounds34, refblocks: refblocks34, circles: circles24 } = tunnel_diode_default;
6236
6619
  var tunnel_diode_horz_default = defineSymbol({
6237
6620
  primitives: [
6238
- ...Object.values(paths32),
6239
- ...Object.values(circles22),
6240
- { ...texts44.top1, anchor: "middle_bottom" },
6241
- { ...texts44.bottom1, anchor: "middle_top" }
6621
+ ...Object.values(paths34),
6622
+ ...Object.values(circles24),
6623
+ { ...texts48.top1, anchor: "middle_bottom" },
6624
+ { ...texts48.bottom1, anchor: "middle_top" }
6242
6625
  ],
6243
6626
  ports: [
6244
- { ...refblocks32.left1, labels: ["1"] },
6627
+ { ...refblocks34.left1, labels: ["1"] },
6245
6628
  // TODO add more "standard" labels
6246
- { ...refblocks32.right1, labels: ["2"] }
6629
+ { ...refblocks34.right1, labels: ["2"] }
6247
6630
  // TODO add more "standard" labels
6248
6631
  ],
6249
- size: { width: bounds32.width, height: bounds32.height },
6250
- center: { x: bounds32.centerX, y: bounds32.centerY }
6632
+ size: { width: bounds34.width, height: bounds34.height },
6633
+ center: { x: bounds34.centerX, y: bounds34.centerY }
6251
6634
  });
6252
6635
 
6253
6636
  // symbols/tunnel_diode_vert.ts
6254
6637
  var rotated9 = rotateSymbol(tunnel_diode_horz_default);
6255
- var ref21 = rotated9.primitives.find(
6638
+ var ref23 = rotated9.primitives.find(
6256
6639
  (p) => p.type === "text" && p.text === "{REF}"
6257
6640
  );
6258
- var val18 = rotated9.primitives.find(
6641
+ var val20 = rotated9.primitives.find(
6259
6642
  (p) => p.type === "text" && p.text === "{VAL}"
6260
6643
  );
6261
- ref21.anchor = "middle_left";
6262
- val18.anchor = "middle_right";
6644
+ ref23.anchor = "middle_left";
6645
+ val20.anchor = "middle_right";
6263
6646
  var tunnel_diode_vert_default = rotated9;
6264
6647
 
6265
6648
  // assets/generated/unijunction_transistor.json
@@ -6430,37 +6813,37 @@ var unijunction_transistor_default = {
6430
6813
  };
6431
6814
 
6432
6815
  // symbols/unijunction_transistor_horz.ts
6433
- var { paths: paths33, texts: texts45, bounds: bounds33, refblocks: refblocks33, circles: circles23 } = unijunction_transistor_default;
6816
+ var { paths: paths35, texts: texts49, bounds: bounds35, refblocks: refblocks35, circles: circles25 } = unijunction_transistor_default;
6434
6817
  var unijunction_transistor_horz_default = defineSymbol({
6435
6818
  primitives: [
6436
- ...Object.values(paths33),
6437
- ...Object.values(circles23),
6438
- { ...texts45.top1, anchor: "middle_left" },
6439
- { ...texts45.bottom1, anchor: "middle_right" }
6819
+ ...Object.values(paths35),
6820
+ ...Object.values(circles25),
6821
+ { ...texts49.top1, anchor: "middle_left" },
6822
+ { ...texts49.bottom1, anchor: "middle_right" }
6440
6823
  ],
6441
6824
  ports: [
6442
- { ...refblocks33.top1, labels: ["1"] },
6825
+ { ...refblocks35.top1, labels: ["1"] },
6443
6826
  // TODO add more "standard" labels
6444
- { ...refblocks33.bottom1, labels: ["2"] },
6827
+ { ...refblocks35.bottom1, labels: ["2"] },
6445
6828
  // TODO add more "standard" labels
6446
- { ...refblocks33.left1, labels: ["3"] }
6829
+ { ...refblocks35.left1, labels: ["3"] }
6447
6830
  // TODO add more "standard" labels
6448
6831
  ],
6449
- size: { width: bounds33.width, height: bounds33.height },
6450
- center: { x: bounds33.centerX, y: bounds33.centerY }
6832
+ size: { width: bounds35.width, height: bounds35.height },
6833
+ center: { x: bounds35.centerX, y: bounds35.centerY }
6451
6834
  });
6452
6835
 
6453
6836
  // symbols/unijunction_transistor_vert.ts
6454
- var rotatedSymbol17 = rotateSymbol(unijunction_transistor_horz_default);
6455
- var texts46 = rotatedSymbol17.primitives.filter(
6837
+ var rotatedSymbol19 = rotateSymbol(unijunction_transistor_horz_default);
6838
+ var texts50 = rotatedSymbol19.primitives.filter(
6456
6839
  (primitive) => primitive.type === "text"
6457
6840
  );
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;
6841
+ var ref24 = texts50.find((text) => text.text === "{REF}");
6842
+ ref24.y = 0.1;
6843
+ var val21 = texts50.find((text) => text.text === "{VAL}");
6844
+ val21.y = 0.1;
6845
+ val21.x = -0.4;
6846
+ var unijunction_transistor_vert_default = rotatedSymbol19;
6464
6847
 
6465
6848
  // assets/generated/var_meter.json
6466
6849
  var var_meter_default = {
@@ -6549,33 +6932,33 @@ var var_meter_default = {
6549
6932
  };
6550
6933
 
6551
6934
  // symbols/var_meter_horz.ts
6552
- var { paths: paths34, texts: texts47, bounds: bounds34, refblocks: refblocks34, circles: circles24 } = var_meter_default;
6935
+ var { paths: paths36, texts: texts51, bounds: bounds36, refblocks: refblocks36, circles: circles26 } = var_meter_default;
6553
6936
  var var_meter_horz_default = defineSymbol({
6554
6937
  primitives: [
6555
- ...Object.values(paths34),
6556
- ...Object.values(circles24),
6938
+ ...Object.values(paths36),
6939
+ ...Object.values(circles26),
6557
6940
  {
6558
- ...texts47.top1,
6941
+ ...texts51.top1,
6559
6942
  x: 0,
6560
6943
  y: -0.3594553499999995,
6561
6944
  anchor: "middle_bottom"
6562
6945
  },
6563
6946
  {
6564
- ...texts47.bottom1,
6947
+ ...texts51.bottom1,
6565
6948
  x: 0,
6566
6949
  y: 0.35,
6567
6950
  anchor: "middle_top"
6568
6951
  },
6569
- { ...texts47.left1, x: -0.02, y: -0.02, fontSize: 0.2, anchor: "center" }
6952
+ { ...texts51.left1, x: -0.02, y: -0.02, fontSize: 0.2, anchor: "center" }
6570
6953
  ],
6571
6954
  ports: [
6572
- { ...refblocks34.left1, labels: ["1"] },
6955
+ { ...refblocks36.left1, labels: ["1"] },
6573
6956
  // TODO add more "standard" labels
6574
- { ...refblocks34.right1, labels: ["2"] }
6957
+ { ...refblocks36.right1, labels: ["2"] }
6575
6958
  // TODO add more "standard" labels
6576
6959
  ],
6577
- size: { width: bounds34.width, height: bounds34.height },
6578
- center: { x: bounds34.centerX, y: bounds34.centerY }
6960
+ size: { width: bounds36.width, height: bounds36.height },
6961
+ center: { x: bounds36.centerX, y: bounds36.centerY }
6579
6962
  });
6580
6963
 
6581
6964
  // symbols/var_meter_vert.ts
@@ -6728,34 +7111,34 @@ var varactor_diode_default = {
6728
7111
  };
6729
7112
 
6730
7113
  // symbols/varactor_diode_horz.ts
6731
- var { paths: paths35, texts: texts48, bounds: bounds35, refblocks: refblocks35, circles: circles25 } = varactor_diode_default;
7114
+ var { paths: paths37, texts: texts52, bounds: bounds37, refblocks: refblocks37, circles: circles27 } = varactor_diode_default;
6732
7115
  var varactor_diode_horz_default = defineSymbol({
6733
7116
  primitives: [
6734
- ...Object.values(paths35),
6735
- ...Object.values(circles25),
6736
- { ...texts48.top1, anchor: "middle_bottom" },
6737
- { ...texts48.bottom1, anchor: "middle_top" }
7117
+ ...Object.values(paths37),
7118
+ ...Object.values(circles27),
7119
+ { ...texts52.top1, anchor: "middle_bottom" },
7120
+ { ...texts52.bottom1, anchor: "middle_top" }
6738
7121
  ],
6739
7122
  ports: [
6740
- { ...refblocks35.left1, labels: ["1"] },
7123
+ { ...refblocks37.left1, labels: ["1"] },
6741
7124
  // TODO add more "standard" labels
6742
- { ...refblocks35.right1, labels: ["2"] }
7125
+ { ...refblocks37.right1, labels: ["2"] }
6743
7126
  // TODO add more "standard" labels
6744
7127
  ],
6745
- size: { width: bounds35.width, height: bounds35.height },
6746
- center: { x: bounds35.centerX, y: bounds35.centerY }
7128
+ size: { width: bounds37.width, height: bounds37.height },
7129
+ center: { x: bounds37.centerX, y: bounds37.centerY }
6747
7130
  });
6748
7131
 
6749
7132
  // symbols/varactor_diode_vert.ts
6750
7133
  var rotated10 = rotateSymbol(varactor_diode_horz_default);
6751
- var ref23 = rotated10.primitives.find(
7134
+ var ref25 = rotated10.primitives.find(
6752
7135
  (p) => p.type === "text" && p.text === "{REF}"
6753
7136
  );
6754
- var val20 = rotated10.primitives.find(
7137
+ var val22 = rotated10.primitives.find(
6755
7138
  (p) => p.type === "text" && p.text === "{VAL}"
6756
7139
  );
6757
- ref23.anchor = "middle_left";
6758
- val20.anchor = "middle_right";
7140
+ ref25.anchor = "middle_left";
7141
+ val22.anchor = "middle_right";
6759
7142
  var varactor_diode_vert_default = rotated10;
6760
7143
 
6761
7144
  // assets/generated/varistor.json
@@ -6890,26 +7273,26 @@ var varistor_default = {
6890
7273
  };
6891
7274
 
6892
7275
  // symbols/varistor_horz.ts
6893
- var { paths: paths36, texts: texts49, bounds: bounds36, refblocks: refblocks36 } = varistor_default;
7276
+ var { paths: paths38, texts: texts53, bounds: bounds38, refblocks: refblocks38 } = varistor_default;
6894
7277
  var varistor_horz_default = defineSymbol({
6895
7278
  primitives: [
6896
- ...Object.values(paths36),
6897
- { ...texts49.top1, anchor: "middle_left" },
6898
- { ...texts49.bottom1, anchor: "middle_right" }
7279
+ ...Object.values(paths38),
7280
+ { ...texts53.top1, anchor: "middle_left" },
7281
+ { ...texts53.bottom1, anchor: "middle_right" }
6899
7282
  ],
6900
7283
  ports: [
6901
7284
  {
6902
- ...refblocks36.left1,
7285
+ ...refblocks38.left1,
6903
7286
  labels: ["1", "-"]
6904
7287
  },
6905
7288
  {
6906
- ...refblocks36.right1,
7289
+ ...refblocks38.right1,
6907
7290
  labels: ["2", "+"]
6908
7291
  }
6909
7292
  ],
6910
- size: { width: bounds36.width, height: bounds36.height },
7293
+ size: { width: bounds38.width, height: bounds38.height },
6911
7294
  //{ width: 1, height: 0.24 },
6912
- center: { x: bounds36.centerX, y: bounds36.centerY }
7295
+ center: { x: bounds38.centerX, y: bounds38.centerY }
6913
7296
  });
6914
7297
 
6915
7298
  // symbols/varistor_vert.ts
@@ -7015,11 +7398,11 @@ var volt_meter_default = {
7015
7398
  };
7016
7399
 
7017
7400
  // symbols/volt_meter_horz.ts
7018
- var { paths: paths37, texts: texts50, bounds: bounds37, circles: circles26, refblocks: refblocks37 } = volt_meter_default;
7401
+ var { paths: paths39, texts: texts54, bounds: bounds39, circles: circles28, refblocks: refblocks39 } = volt_meter_default;
7019
7402
  var volt_meter_horz_default = defineSymbol({
7020
7403
  primitives: [
7021
- ...Object.values(paths37),
7022
- ...Object.values(circles26),
7404
+ ...Object.values(paths39),
7405
+ ...Object.values(circles28),
7023
7406
  {
7024
7407
  type: "text",
7025
7408
  text: "{REF}",
@@ -7036,13 +7419,13 @@ var volt_meter_horz_default = defineSymbol({
7036
7419
  }
7037
7420
  ],
7038
7421
  ports: [
7039
- { ...refblocks37.left1, labels: ["1"] },
7422
+ { ...refblocks39.left1, labels: ["1"] },
7040
7423
  // TODO add more "standard" labels
7041
- { ...refblocks37.right1, labels: ["2"] }
7424
+ { ...refblocks39.right1, labels: ["2"] }
7042
7425
  // TODO add more "standard" labels
7043
7426
  ],
7044
- size: { width: bounds37.width, height: bounds37.height },
7045
- center: { x: bounds37.centerX, y: bounds37.centerY }
7427
+ size: { width: bounds39.width, height: bounds39.height },
7428
+ center: { x: bounds39.centerX, y: bounds39.centerY }
7046
7429
  });
7047
7430
 
7048
7431
  // symbols/volt_meter_vert.ts
@@ -7195,34 +7578,34 @@ var zener_diode_default = {
7195
7578
  };
7196
7579
 
7197
7580
  // symbols/zener_diode_horz.ts
7198
- var { paths: paths38, texts: texts51, bounds: bounds38, refblocks: refblocks38, circles: circles27 } = zener_diode_default;
7581
+ var { paths: paths40, texts: texts55, bounds: bounds40, refblocks: refblocks40, circles: circles29 } = zener_diode_default;
7199
7582
  var zener_diode_horz_default = defineSymbol({
7200
7583
  primitives: [
7201
- ...Object.values(paths38),
7202
- ...Object.values(circles27),
7203
- { ...texts51.top1, anchor: "middle_bottom" },
7204
- { ...texts51.bottom1, anchor: "middle_top" }
7584
+ ...Object.values(paths40),
7585
+ ...Object.values(circles29),
7586
+ { ...texts55.top1, anchor: "middle_bottom" },
7587
+ { ...texts55.bottom1, anchor: "middle_top" }
7205
7588
  ],
7206
7589
  ports: [
7207
- { ...refblocks38.left1, labels: ["1"] },
7590
+ { ...refblocks40.left1, labels: ["1"] },
7208
7591
  // TODO add more "standard" labels
7209
- { ...refblocks38.right1, labels: ["2"] }
7592
+ { ...refblocks40.right1, labels: ["2"] }
7210
7593
  // TODO add more "standard" labels
7211
7594
  ],
7212
- size: { width: bounds38.width, height: bounds38.height },
7213
- center: { x: bounds38.centerX, y: bounds38.centerY }
7595
+ size: { width: bounds40.width, height: bounds40.height },
7596
+ center: { x: bounds40.centerX, y: bounds40.centerY }
7214
7597
  });
7215
7598
 
7216
7599
  // symbols/zener_diode_vert.ts
7217
7600
  var rotated11 = rotateSymbol(zener_diode_horz_default);
7218
- var ref24 = rotated11.primitives.find(
7601
+ var ref26 = rotated11.primitives.find(
7219
7602
  (p) => p.type === "text" && p.text === "{REF}"
7220
7603
  );
7221
- var val21 = rotated11.primitives.find(
7604
+ var val23 = rotated11.primitives.find(
7222
7605
  (p) => p.type === "text" && p.text === "{VAL}"
7223
7606
  );
7224
- ref24.anchor = "middle_left";
7225
- val21.anchor = "middle_right";
7607
+ ref26.anchor = "middle_left";
7608
+ val23.anchor = "middle_right";
7226
7609
  var zener_diode_vert_default = rotated11;
7227
7610
 
7228
7611
  // generated/symbols-index.ts
@@ -7265,6 +7648,8 @@ var symbols_index_default = {
7265
7648
  "njfet_transistor_vert": njfet_transistor_vert_default,
7266
7649
  "p_channel_d_mosfet_transistor_horz": p_channel_d_mosfet_transistor_horz_default,
7267
7650
  "p_channel_d_mosfet_transistor_vert": p_channel_d_mosfet_transistor_vert_default,
7651
+ "p_channel_e_mosfet_transistor_horz": p_channel_e_mosfet_transistor_horz_default,
7652
+ "p_channel_e_mosfet_transistor_vert": p_channel_e_mosfet_transistor_vert_default,
7268
7653
  "photodiode_horz": photodiode_horz_default,
7269
7654
  "photodiode_vert": photodiode_vert_default,
7270
7655
  "pjfet_transistor_horz": pjfet_transistor_horz_default,
@@ -7285,6 +7670,8 @@ var symbols_index_default = {
7285
7670
  "schottky_diode_vert": schottky_diode_vert_default,
7286
7671
  "silicon_controlled_rectifier_horz": silicon_controlled_rectifier_horz_default,
7287
7672
  "silicon_controlled_rectifier_vert": silicon_controlled_rectifier_vert_default,
7673
+ "SPST_switch_horz": SPST_switch_horz_default,
7674
+ "SPST_switch_vert": SPST_switch_vert_default,
7288
7675
  "step_recovery_diode_horz": step_recovery_diode_horz_default,
7289
7676
  "step_recovery_diode_vert": step_recovery_diode_vert_default,
7290
7677
  "triac_horz": triac_horz_default,