schematic-symbols 0.0.71 → 0.0.73

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.js CHANGED
@@ -3593,6 +3593,206 @@ ref11.x = 0.35;
3593
3593
  ref11.anchor = "middle_left";
3594
3594
  var njfet_transistor_vert_default = rotatedSymbol10;
3595
3595
 
3596
+ // assets/generated/npn_bipolar_transistor.json
3597
+ var npn_bipolar_transistor_default = {
3598
+ paths: {
3599
+ path11: {
3600
+ type: "path",
3601
+ points: [
3602
+ {
3603
+ x: -0.3850939444999988,
3604
+ y: 0.0036735999999999436
3605
+ },
3606
+ {
3607
+ x: 0.0587620555000008,
3608
+ y: 0.0062965999999997635
3609
+ }
3610
+ ],
3611
+ color: "primary",
3612
+ fill: false
3613
+ },
3614
+ "path40-0": {
3615
+ type: "path",
3616
+ points: [
3617
+ {
3618
+ x: 0.07400475550000118,
3619
+ y: -0.2689528999999997
3620
+ },
3621
+ {
3622
+ x: 0.07335475550000092,
3623
+ y: 0.2789230000000007
3624
+ }
3625
+ ],
3626
+ color: "primary",
3627
+ fill: false
3628
+ },
3629
+ "path40-0-5": {
3630
+ type: "path",
3631
+ points: [
3632
+ {
3633
+ x: 0.2754149555000005,
3634
+ y: -0.24180210000000013
3635
+ },
3636
+ {
3637
+ x: 0.07955815550000045,
3638
+ y: -0.10822479999999968
3639
+ }
3640
+ ],
3641
+ color: "primary",
3642
+ fill: false
3643
+ },
3644
+ "path40-0-5-0": {
3645
+ type: "path",
3646
+ points: [
3647
+ {
3648
+ x: 0.2868554555000009,
3649
+ y: 0.24134789999999984
3650
+ },
3651
+ {
3652
+ x: 0.09194705550000082,
3653
+ y: 0.10807689999999992
3654
+ }
3655
+ ],
3656
+ color: "primary",
3657
+ fill: false
3658
+ },
3659
+ "path12-1-5": {
3660
+ type: "path",
3661
+ points: [
3662
+ {
3663
+ x: 0.2851204555,
3664
+ y: -0.25311099999999964
3665
+ },
3666
+ {
3667
+ x: 0.2860204555000001,
3668
+ y: -0.5377640999999995
3669
+ }
3670
+ ],
3671
+ color: "primary",
3672
+ fill: false
3673
+ },
3674
+ "path12-1-5-3": {
3675
+ type: "path",
3676
+ points: [
3677
+ {
3678
+ x: 0.2851204555,
3679
+ y: 0.5376890000000012
3680
+ },
3681
+ {
3682
+ x: 0.2860204555000001,
3683
+ y: 0.25303590000000065
3684
+ }
3685
+ ],
3686
+ color: "primary",
3687
+ fill: false
3688
+ },
3689
+ path15: {
3690
+ type: "path",
3691
+ points: [
3692
+ {
3693
+ x: 0.1882816555000013,
3694
+ y: 0.10097660000000008
3695
+ },
3696
+ {
3697
+ x: 0.11555775550000158,
3698
+ y: 0.20483720000000027
3699
+ },
3700
+ {
3701
+ x: 0.22425775550000182,
3702
+ y: 0.20446720000000007
3703
+ }
3704
+ ],
3705
+ color: "primary",
3706
+ fill: true
3707
+ }
3708
+ },
3709
+ texts: {
3710
+ top1: {
3711
+ type: "text",
3712
+ text: "{REF}",
3713
+ x: -0.22497334449999973,
3714
+ y: -0.3596647999999991
3715
+ },
3716
+ bottom1: {
3717
+ type: "text",
3718
+ text: "{VAL}",
3719
+ x: -0.0679100444999996,
3720
+ y: 0.4129789000000006
3721
+ }
3722
+ },
3723
+ refblocks: {
3724
+ top1: {
3725
+ x: 0.28556045550000064,
3726
+ y: -0.5519250999999994
3727
+ },
3728
+ bottom1: {
3729
+ x: 0.285560455500002,
3730
+ y: 0.5519250999999992
3731
+ },
3732
+ left1: {
3733
+ x: -0.3990097444999998,
3734
+ y: 0.004526300000000871
3735
+ }
3736
+ },
3737
+ bounds: {
3738
+ minX: -0.4271681854999998,
3739
+ maxX: 0.4271681855000001,
3740
+ minY: -0.5800835409999994,
3741
+ maxY: 0.5800835409999991,
3742
+ width: 1,
3743
+ height: 1.1601670819999985,
3744
+ centerX: 13877787807814457e-32,
3745
+ centerY: -11102230246251565e-32
3746
+ },
3747
+ circles: {
3748
+ "path1-0": {
3749
+ type: "circle",
3750
+ x: 0.13862605550000007,
3751
+ y: -0.003454799999999203,
3752
+ radius: 0.28854213,
3753
+ color: "primary",
3754
+ fill: false
3755
+ }
3756
+ }
3757
+ };
3758
+
3759
+ // symbols/npn_bipolar_transistor_horz.ts
3760
+ var { paths: paths20, texts: texts26, bounds: bounds20, refblocks: refblocks20, circles: circles14 } = npn_bipolar_transistor_default;
3761
+ var npn_bipolar_transistor_horz_default = defineSymbol({
3762
+ primitives: [
3763
+ ...Object.values(paths20),
3764
+ ...Object.values(circles14),
3765
+ {
3766
+ type: "text",
3767
+ text: "{REF}",
3768
+ x: -0.07,
3769
+ y: -0.3596647999999991,
3770
+ anchor: "middle_right"
3771
+ },
3772
+ {
3773
+ type: "text",
3774
+ text: "{VAL}",
3775
+ x: -0.0679100444999996,
3776
+ y: 0.4129789000000006,
3777
+ anchor: "middle_right"
3778
+ }
3779
+ ],
3780
+ ports: [
3781
+ { ...refblocks20.top1, labels: ["1", "collector"] },
3782
+ { ...refblocks20.bottom1, labels: ["2", "emitter"] },
3783
+ { ...refblocks20.left1, labels: ["3", "base"] }
3784
+ ],
3785
+ size: { width: bounds20.width, height: bounds20.height },
3786
+ center: { x: bounds20.centerX, y: bounds20.centerY }
3787
+ });
3788
+
3789
+ // symbols/npn_bipolar_transistor_vert.ts
3790
+ var rotatedSymbol11 = rotateSymbol(npn_bipolar_transistor_horz_default);
3791
+ var texts27 = rotatedSymbol11.primitives.filter((p) => p.type === "text");
3792
+ var ref12 = texts27.find((t) => t.text === "{REF}");
3793
+ ref12.anchor = "middle_left";
3794
+ var npn_bipolar_transistor_vert_default = rotatedSymbol11;
3795
+
3596
3796
  // assets/generated/p_channel_d_mosfet_transistor.json
3597
3797
  var p_channel_d_mosfet_transistor_default = {
3598
3798
  paths: {
@@ -3787,38 +3987,38 @@ var p_channel_d_mosfet_transistor_default = {
3787
3987
  };
3788
3988
 
3789
3989
  // symbols/p_channel_d_mosfet_transistor_horz.ts
3790
- var { paths: paths20, texts: texts26, bounds: bounds20, refblocks: refblocks20, circles: circles14 } = p_channel_d_mosfet_transistor_default;
3990
+ var { paths: paths21, texts: texts28, bounds: bounds21, refblocks: refblocks21, circles: circles15 } = p_channel_d_mosfet_transistor_default;
3791
3991
  var p_channel_d_mosfet_transistor_horz_default = defineSymbol({
3792
3992
  primitives: [
3793
- ...Object.values(paths20),
3794
- ...Object.values(circles14),
3795
- { ...texts26.top1, anchor: "middle_right", x: 0 },
3796
- { ...texts26.bottom1, anchor: "middle_right", x: 0 }
3993
+ ...Object.values(paths21),
3994
+ ...Object.values(circles15),
3995
+ { ...texts28.top1, anchor: "middle_right", x: 0 },
3996
+ { ...texts28.bottom1, anchor: "middle_right", x: 0 }
3797
3997
  ],
3798
3998
  ports: [
3799
- { ...refblocks20.top1, labels: ["1", "drain"] },
3999
+ { ...refblocks21.top1, labels: ["1", "drain"] },
3800
4000
  // TODO add more "standard" labels
3801
- { ...refblocks20.bottom1, labels: ["2", "source"] },
4001
+ { ...refblocks21.bottom1, labels: ["2", "source"] },
3802
4002
  // TODO add more "standard" labels
3803
- { ...refblocks20.left1, labels: ["3", "gate"] }
4003
+ { ...refblocks21.left1, labels: ["3", "gate"] }
3804
4004
  // TODO add more "standard" labels
3805
4005
  ],
3806
- size: { width: bounds20.width, height: bounds20.height },
3807
- center: { x: bounds20.centerX, y: bounds20.centerY }
4006
+ size: { width: bounds21.width, height: bounds21.height },
4007
+ center: { x: bounds21.centerX, y: bounds21.centerY }
3808
4008
  });
3809
4009
 
3810
4010
  // symbols/p_channel_d_mosfet_transistor_vert.ts
3811
- var rotatedSymbol11 = rotateSymbol(p_channel_d_mosfet_transistor_horz_default);
3812
- var texts27 = rotatedSymbol11.primitives.filter((p) => p.type === "text");
3813
- var val11 = texts27.find((t) => t.text === "{VAL}");
4011
+ var rotatedSymbol12 = rotateSymbol(p_channel_d_mosfet_transistor_horz_default);
4012
+ var texts29 = rotatedSymbol12.primitives.filter((p) => p.type === "text");
4013
+ var val11 = texts29.find((t) => t.text === "{VAL}");
3814
4014
  val11.x = -0.35;
3815
4015
  val11.y = 0;
3816
4016
  val11.anchor = "middle_right";
3817
- var ref12 = texts27.find((t) => t.text === "{REF}");
3818
- ref12.y = 0;
3819
- ref12.x = 0.35;
3820
- ref12.anchor = "middle_left";
3821
- var p_channel_d_mosfet_transistor_vert_default = rotatedSymbol11;
4017
+ var ref13 = texts29.find((t) => t.text === "{REF}");
4018
+ ref13.y = 0;
4019
+ ref13.x = 0.35;
4020
+ ref13.anchor = "middle_left";
4021
+ var p_channel_d_mosfet_transistor_vert_default = rotatedSymbol12;
3822
4022
 
3823
4023
  // assets/generated/p_channel_e_mosfet_transistor.json
3824
4024
  var p_channel_e_mosfet_transistor_default = {
@@ -4044,38 +4244,38 @@ var p_channel_e_mosfet_transistor_default = {
4044
4244
  };
4045
4245
 
4046
4246
  // symbols/p_channel_e_mosfet_transistor_horz.ts
4047
- var { paths: paths21, texts: texts28, bounds: bounds21, refblocks: refblocks21, circles: circles15 } = p_channel_e_mosfet_transistor_default;
4247
+ var { paths: paths22, texts: texts30, bounds: bounds22, refblocks: refblocks22, circles: circles16 } = p_channel_e_mosfet_transistor_default;
4048
4248
  var p_channel_e_mosfet_transistor_horz_default = defineSymbol({
4049
4249
  primitives: [
4050
- ...Object.values(paths21),
4051
- ...Object.values(circles15),
4052
- { ...texts28.top1, anchor: "middle_right", x: 0 },
4053
- { ...texts28.bottom1, anchor: "middle_right", x: 0 }
4250
+ ...Object.values(paths22),
4251
+ ...Object.values(circles16),
4252
+ { ...texts30.top1, anchor: "middle_right", x: 0 },
4253
+ { ...texts30.bottom1, anchor: "middle_right", x: 0 }
4054
4254
  ],
4055
4255
  ports: [
4056
- { ...refblocks21.top1, labels: ["1", "drain"] },
4256
+ { ...refblocks22.top1, labels: ["1", "drain"] },
4057
4257
  // TODO add more "standard" labels
4058
- { ...refblocks21.bottom1, labels: ["2", "source"] },
4258
+ { ...refblocks22.bottom1, labels: ["2", "source"] },
4059
4259
  // TODO add more "standard" labels
4060
- { ...refblocks21.left1, labels: ["3", "gate"] }
4260
+ { ...refblocks22.left1, labels: ["3", "gate"] }
4061
4261
  // TODO add more "standard" labels
4062
4262
  ],
4063
- size: { width: bounds21.width, height: bounds21.height },
4064
- center: { x: bounds21.centerX, y: bounds21.centerY }
4263
+ size: { width: bounds22.width, height: bounds22.height },
4264
+ center: { x: bounds22.centerX, y: bounds22.centerY }
4065
4265
  });
4066
4266
 
4067
4267
  // symbols/p_channel_e_mosfet_transistor_vert.ts
4068
- var rotatedSymbol12 = rotateSymbol(p_channel_e_mosfet_transistor_horz_default);
4069
- var texts29 = rotatedSymbol12.primitives.filter((p) => p.type === "text");
4070
- var val12 = texts29.find((t) => t.text === "{VAL}");
4268
+ var rotatedSymbol13 = rotateSymbol(p_channel_e_mosfet_transistor_horz_default);
4269
+ var texts31 = rotatedSymbol13.primitives.filter((p) => p.type === "text");
4270
+ var val12 = texts31.find((t) => t.text === "{VAL}");
4071
4271
  val12.x = -0.35;
4072
4272
  val12.y = 0;
4073
4273
  val12.anchor = "middle_right";
4074
- var ref13 = texts29.find((t) => t.text === "{REF}");
4075
- ref13.y = 0;
4076
- ref13.x = 0.35;
4077
- ref13.anchor = "middle_left";
4078
- var p_channel_e_mosfet_transistor_vert_default = rotatedSymbol12;
4274
+ var ref14 = texts31.find((t) => t.text === "{REF}");
4275
+ ref14.y = 0;
4276
+ ref14.x = 0.35;
4277
+ ref14.anchor = "middle_left";
4278
+ var p_channel_e_mosfet_transistor_vert_default = rotatedSymbol13;
4079
4279
 
4080
4280
  // assets/generated/photodiode.json
4081
4281
  var photodiode_default = {
@@ -4302,11 +4502,11 @@ var photodiode_default = {
4302
4502
  };
4303
4503
 
4304
4504
  // symbols/photodiode_horz.ts
4305
- var { paths: paths22, texts: texts30, bounds: bounds22, refblocks: refblocks22, circles: circles16 } = photodiode_default;
4505
+ var { paths: paths23, texts: texts32, bounds: bounds23, refblocks: refblocks23, circles: circles17 } = photodiode_default;
4306
4506
  var photodiode_horz_default = defineSymbol({
4307
4507
  primitives: [
4308
- ...Object.values(paths22),
4309
- ...Object.values(circles16),
4508
+ ...Object.values(paths23),
4509
+ ...Object.values(circles17),
4310
4510
  {
4311
4511
  type: "text",
4312
4512
  text: "{REF}",
@@ -4323,22 +4523,22 @@ var photodiode_horz_default = defineSymbol({
4323
4523
  }
4324
4524
  ],
4325
4525
  ports: [
4326
- { ...refblocks22.left1, labels: ["1"] },
4526
+ { ...refblocks23.left1, labels: ["1"] },
4327
4527
  // TODO add more "standard" labels
4328
- { ...refblocks22.right1, labels: ["2"] }
4528
+ { ...refblocks23.right1, labels: ["2"] }
4329
4529
  // TODO add more "standard" labels
4330
4530
  ],
4331
- size: { width: bounds22.width, height: bounds22.height },
4332
- center: { x: bounds22.centerX, y: bounds22.centerY }
4531
+ size: { width: bounds23.width, height: bounds23.height },
4532
+ center: { x: bounds23.centerX, y: bounds23.centerY }
4333
4533
  });
4334
4534
 
4335
4535
  // symbols/photodiode_vert.ts
4336
- var rotatedSymbol13 = rotateSymbol(photodiode_horz_default);
4337
- var texts31 = rotatedSymbol13.primitives.filter((p) => p.type === "text");
4338
- var ref14 = texts31.find((t) => t.text === "{REF}");
4339
- ref14.y = 0;
4340
- ref14.anchor = "middle_left";
4341
- var photodiode_vert_default = rotatedSymbol13;
4536
+ var rotatedSymbol14 = rotateSymbol(photodiode_horz_default);
4537
+ var texts33 = rotatedSymbol14.primitives.filter((p) => p.type === "text");
4538
+ var ref15 = texts33.find((t) => t.text === "{REF}");
4539
+ ref15.y = 0;
4540
+ ref15.anchor = "middle_left";
4541
+ var photodiode_vert_default = rotatedSymbol14;
4342
4542
 
4343
4543
  // assets/generated/pjfet_transistor.json
4344
4544
  var pjfet_transistor_default = {
@@ -4504,38 +4704,38 @@ var pjfet_transistor_default = {
4504
4704
  };
4505
4705
 
4506
4706
  // symbols/pjfet_transistor_horz.ts
4507
- var { paths: paths23, texts: texts32, bounds: bounds23, refblocks: refblocks23, circles: circles17 } = pjfet_transistor_default;
4707
+ var { paths: paths24, texts: texts34, bounds: bounds24, refblocks: refblocks24, circles: circles18 } = pjfet_transistor_default;
4508
4708
  var pjfet_transistor_horz_default = defineSymbol({
4509
4709
  primitives: [
4510
- ...Object.values(paths23),
4511
- ...Object.values(circles17),
4512
- { ...texts32.top1, anchor: "middle_right", x: 0 },
4513
- { ...texts32.bottom1, anchor: "middle_right" }
4710
+ ...Object.values(paths24),
4711
+ ...Object.values(circles18),
4712
+ { ...texts34.top1, anchor: "middle_right", x: 0 },
4713
+ { ...texts34.bottom1, anchor: "middle_right" }
4514
4714
  ],
4515
4715
  ports: [
4516
- { ...refblocks23.top1, labels: ["1", "drain"] },
4716
+ { ...refblocks24.top1, labels: ["1", "drain"] },
4517
4717
  // TODO add more "standard" labels
4518
- { ...refblocks23.bottom1, labels: ["2", "source"] },
4718
+ { ...refblocks24.bottom1, labels: ["2", "source"] },
4519
4719
  // TODO add more "standard" labels
4520
- { ...refblocks23.left1, labels: ["3", "gate"] }
4720
+ { ...refblocks24.left1, labels: ["3", "gate"] }
4521
4721
  // TODO add more "standard" labels
4522
4722
  ],
4523
- size: { width: bounds23.width, height: bounds23.height },
4524
- center: { x: bounds23.centerX, y: bounds23.centerY }
4723
+ size: { width: bounds24.width, height: bounds24.height },
4724
+ center: { x: bounds24.centerX, y: bounds24.centerY }
4525
4725
  });
4526
4726
 
4527
4727
  // symbols/pjfet_transistor_vert.ts
4528
- var rotatedSymbol14 = rotateSymbol(pjfet_transistor_horz_default);
4529
- var texts33 = rotatedSymbol14.primitives.filter((p) => p.type === "text");
4530
- var val13 = texts33.find((t) => t.text === "{VAL}");
4728
+ var rotatedSymbol15 = rotateSymbol(pjfet_transistor_horz_default);
4729
+ var texts35 = rotatedSymbol15.primitives.filter((p) => p.type === "text");
4730
+ var val13 = texts35.find((t) => t.text === "{VAL}");
4531
4731
  val13.x = -0.35;
4532
4732
  val13.y = 0;
4533
4733
  val13.anchor = "middle_right";
4534
- var ref15 = texts33.find((t) => t.text === "{REF}");
4535
- ref15.y = 0;
4536
- ref15.x = 0.35;
4537
- ref15.anchor = "middle_left";
4538
- var pjfet_transistor_vert_default = rotatedSymbol14;
4734
+ var ref16 = texts35.find((t) => t.text === "{REF}");
4735
+ ref16.y = 0;
4736
+ ref16.x = 0.35;
4737
+ ref16.anchor = "middle_left";
4738
+ var pjfet_transistor_vert_default = rotatedSymbol15;
4539
4739
 
4540
4740
  // assets/generated/potentiometer.json
4541
4741
  var potentiometer_default = {
@@ -4673,21 +4873,21 @@ var potentiometer_default = {
4673
4873
  };
4674
4874
 
4675
4875
  // symbols/potentiometer_horz.ts
4676
- var { paths: paths24, texts: texts34, bounds: bounds24, refblocks: refblocks24 } = potentiometer_default;
4876
+ var { paths: paths25, texts: texts36, bounds: bounds25, refblocks: refblocks25 } = potentiometer_default;
4677
4877
  var potentiometer_horz_default = defineSymbol({
4678
4878
  primitives: [
4679
- ...Object.values(paths24),
4680
- { ...texts34.bottom1, y: 0.35, anchor: "middle_top" },
4681
- { ...texts34.right1, anchor: "middle_left" }
4879
+ ...Object.values(paths25),
4880
+ { ...texts36.bottom1, y: 0.35, anchor: "middle_top" },
4881
+ { ...texts36.right1, anchor: "middle_left" }
4682
4882
  ],
4683
4883
  ports: [
4684
- { ...refblocks24.left1, labels: ["1"] },
4884
+ { ...refblocks25.left1, labels: ["1"] },
4685
4885
  // TODO add more "standard" labels
4686
- { ...refblocks24.right1, labels: ["2"] }
4886
+ { ...refblocks25.right1, labels: ["2"] }
4687
4887
  // TODO add more "standard" labels
4688
4888
  ],
4689
- size: { width: bounds24.width + 0.05, height: bounds24.height },
4690
- center: { x: bounds24.centerX, y: bounds24.centerY }
4889
+ size: { width: bounds25.width + 0.05, height: bounds25.height },
4890
+ center: { x: bounds25.centerX, y: bounds25.centerY }
4691
4891
  });
4692
4892
 
4693
4893
  // symbols/potentiometer_vert.ts
@@ -4849,21 +5049,21 @@ var potentiometer2_default = {
4849
5049
  };
4850
5050
 
4851
5051
  // symbols/potentiometer2_horz.ts
4852
- var { paths: paths25, texts: texts35, bounds: bounds25, refblocks: refblocks25 } = potentiometer2_default;
5052
+ var { paths: paths26, texts: texts37, bounds: bounds26, refblocks: refblocks26 } = potentiometer2_default;
4853
5053
  var potentiometer2_horz_default = defineSymbol({
4854
5054
  primitives: [
4855
- ...Object.values(paths25),
4856
- { ...texts35.bottom1, anchor: "middle_right" },
4857
- { ...texts35.top1, anchor: "middle_left" }
5055
+ ...Object.values(paths26),
5056
+ { ...texts37.bottom1, anchor: "middle_right" },
5057
+ { ...texts37.top1, anchor: "middle_left" }
4858
5058
  ],
4859
5059
  ports: [
4860
- { ...refblocks25.left1, labels: ["1"] },
5060
+ { ...refblocks26.left1, labels: ["1"] },
4861
5061
  // TODO add more "standard" labels
4862
- { ...refblocks25.right1, labels: ["2"] }
5062
+ { ...refblocks26.right1, labels: ["2"] }
4863
5063
  // TODO add more "standard" labels
4864
5064
  ],
4865
- size: { width: bounds25.width, height: bounds25.height },
4866
- center: { x: bounds25.centerX, y: bounds25.centerY }
5065
+ size: { width: bounds26.width, height: bounds26.height },
5066
+ center: { x: bounds26.centerX, y: bounds26.centerY }
4867
5067
  });
4868
5068
 
4869
5069
  // symbols/potentiometer2_vert.ts
@@ -4956,11 +5156,11 @@ var power_factor_meter_default = {
4956
5156
  };
4957
5157
 
4958
5158
  // symbols/power_factor_meter_horz.ts
4959
- var { paths: paths26, texts: texts36, bounds: bounds26, refblocks: refblocks26, circles: circles18 } = power_factor_meter_default;
5159
+ var { paths: paths27, texts: texts38, bounds: bounds27, refblocks: refblocks27, circles: circles19 } = power_factor_meter_default;
4960
5160
  var power_factor_meter_horz_default = defineSymbol({
4961
5161
  primitives: [
4962
- ...Object.values(paths26),
4963
- ...Object.values(circles18),
5162
+ ...Object.values(paths27),
5163
+ ...Object.values(circles19),
4964
5164
  // { ...texts.top1, anchor: "middle_left" },
4965
5165
  {
4966
5166
  type: "text",
@@ -4987,28 +5187,28 @@ var power_factor_meter_horz_default = defineSymbol({
4987
5187
  }
4988
5188
  ],
4989
5189
  ports: [
4990
- { ...refblocks26.left1, labels: ["1"] },
5190
+ { ...refblocks27.left1, labels: ["1"] },
4991
5191
  // TODO add more "standard" labels
4992
- { ...refblocks26.right1, labels: ["2"] }
5192
+ { ...refblocks27.right1, labels: ["2"] }
4993
5193
  // TODO add more "standard" labels
4994
5194
  ],
4995
- size: { width: bounds26.width, height: bounds26.height },
4996
- center: { x: bounds26.centerX, y: bounds26.centerY }
5195
+ size: { width: bounds27.width, height: bounds27.height },
5196
+ center: { x: bounds27.centerX, y: bounds27.centerY }
4997
5197
  });
4998
5198
 
4999
5199
  // symbols/power_factor_meter_vert.ts
5000
- var rotatedSymbol15 = rotateSymbol(power_factor_meter_horz_default);
5001
- var texts37 = rotatedSymbol15.primitives.filter((p) => p.type === "text");
5002
- var ref16 = texts37.find((t) => t.text === "{REF}");
5003
- var val14 = texts37.find((t) => t.text === "{VAL}");
5004
- var text_cos = texts37.find((t) => t.text === "COS \u03C6");
5005
- ref16.x = 0.35;
5006
- ref16.y = 0;
5200
+ var rotatedSymbol16 = rotateSymbol(power_factor_meter_horz_default);
5201
+ var texts39 = rotatedSymbol16.primitives.filter((p) => p.type === "text");
5202
+ var ref17 = texts39.find((t) => t.text === "{REF}");
5203
+ var val14 = texts39.find((t) => t.text === "{VAL}");
5204
+ var text_cos = texts39.find((t) => t.text === "COS \u03C6");
5205
+ ref17.x = 0.35;
5206
+ ref17.y = 0;
5007
5207
  val14.x = -0.6;
5008
5208
  val14.y = 0;
5009
5209
  text_cos.x = -0.1;
5010
5210
  text_cos.y = 0;
5011
- var power_factor_meter_vert_default = rotatedSymbol15;
5211
+ var power_factor_meter_vert_default = rotatedSymbol16;
5012
5212
 
5013
5213
  // assets/generated/push_button_normally_closed_momentary.json
5014
5214
  var push_button_normally_closed_momentary_default = {
@@ -5111,35 +5311,35 @@ var push_button_normally_closed_momentary_default = {
5111
5311
  };
5112
5312
 
5113
5313
  // symbols/push_button_normally_closed_momentary_horz.ts
5114
- var { paths: paths27, texts: texts38, bounds: bounds27, refblocks: refblocks27 } = push_button_normally_closed_momentary_default;
5314
+ var { paths: paths28, texts: texts40, bounds: bounds28, refblocks: refblocks28 } = push_button_normally_closed_momentary_default;
5115
5315
  var push_button_normally_closed_momentary_horz_default = defineSymbol({
5116
5316
  primitives: [
5117
- ...Object.values(paths27),
5118
- { ...texts38.top1, anchor: "middle_bottom" },
5119
- { ...texts38.bottom1, anchor: "middle_top" }
5317
+ ...Object.values(paths28),
5318
+ { ...texts40.top1, anchor: "middle_bottom" },
5319
+ { ...texts40.bottom1, anchor: "middle_top" }
5120
5320
  ],
5121
5321
  ports: [
5122
- { ...refblocks27.left1, labels: ["1"] },
5322
+ { ...refblocks28.left1, labels: ["1"] },
5123
5323
  // TODO add more "standard" labels
5124
- { ...refblocks27.right1, labels: ["2"] }
5324
+ { ...refblocks28.right1, labels: ["2"] }
5125
5325
  // TODO add more "standard" labels
5126
5326
  ],
5127
- size: { width: bounds27.width, height: bounds27.height },
5128
- center: { x: bounds27.centerX, y: bounds27.centerY }
5327
+ size: { width: bounds28.width, height: bounds28.height },
5328
+ center: { x: bounds28.centerX, y: bounds28.centerY }
5129
5329
  });
5130
5330
 
5131
5331
  // symbols/push_button_normally_closed_momentary_vert.ts
5132
5332
  var rotated6 = rotateSymbol(push_button_normally_closed_momentary_horz_default);
5133
- var ref17 = rotated6.primitives.find(
5333
+ var ref18 = rotated6.primitives.find(
5134
5334
  (p) => p.type === "text" && p.text === "{REF}"
5135
5335
  );
5136
5336
  var val15 = rotated6.primitives.find(
5137
5337
  (p) => p.type === "text" && p.text === "{VAL}"
5138
5338
  );
5139
- ref17.anchor = "middle_left";
5339
+ ref18.anchor = "middle_left";
5140
5340
  val15.anchor = "middle_right";
5141
- ref17.x = ref17.x - 0.03;
5142
- ref17.y = ref17.y;
5341
+ ref18.x = ref18.x - 0.03;
5342
+ ref18.y = ref18.y;
5143
5343
  val15.x = val15.x;
5144
5344
  val15.y = 0;
5145
5345
  var push_button_normally_closed_momentary_vert_default = rotated6;
@@ -5245,35 +5445,35 @@ var push_button_normally_open_momentary_default = {
5245
5445
  };
5246
5446
 
5247
5447
  // symbols/push_button_normally_open_momentary_horz.ts
5248
- var { paths: paths28, texts: texts39, bounds: bounds28, refblocks: refblocks28 } = push_button_normally_open_momentary_default;
5448
+ var { paths: paths29, texts: texts41, bounds: bounds29, refblocks: refblocks29 } = push_button_normally_open_momentary_default;
5249
5449
  var push_button_normally_open_momentary_horz_default = defineSymbol({
5250
5450
  primitives: [
5251
- ...Object.values(paths28),
5252
- { ...texts39.top1, anchor: "middle_bottom" },
5253
- { ...texts39.bottom1, anchor: "middle_top" }
5451
+ ...Object.values(paths29),
5452
+ { ...texts41.top1, anchor: "middle_bottom" },
5453
+ { ...texts41.bottom1, anchor: "middle_top" }
5254
5454
  ],
5255
5455
  ports: [
5256
- { ...refblocks28.left1, labels: ["1"] },
5456
+ { ...refblocks29.left1, labels: ["1"] },
5257
5457
  // TODO add more "standard" labels
5258
- { ...refblocks28.right1, labels: ["2"] }
5458
+ { ...refblocks29.right1, labels: ["2"] }
5259
5459
  // TODO add more "standard" labels
5260
5460
  ],
5261
- size: { width: bounds28.width, height: bounds28.height },
5262
- center: { x: bounds28.centerX, y: bounds28.centerY }
5461
+ size: { width: bounds29.width, height: bounds29.height },
5462
+ center: { x: bounds29.centerX, y: bounds29.centerY }
5263
5463
  });
5264
5464
 
5265
5465
  // symbols/push_button_normally_open_momentary_vert.ts
5266
5466
  var rotated7 = rotateSymbol(push_button_normally_open_momentary_horz_default);
5267
- var ref18 = rotated7.primitives.find(
5467
+ var ref19 = rotated7.primitives.find(
5268
5468
  (p) => p.type === "text" && p.text === "{REF}"
5269
5469
  );
5270
5470
  var val16 = rotated7.primitives.find(
5271
5471
  (p) => p.type === "text" && p.text === "{VAL}"
5272
5472
  );
5273
- ref18.anchor = "middle_left";
5473
+ ref19.anchor = "middle_left";
5274
5474
  val16.anchor = "middle_right";
5275
- ref18.x = ref18.x + 0.1;
5276
- ref18.y = ref18.y;
5475
+ ref19.x = ref19.x + 0.1;
5476
+ ref19.y = ref19.y;
5277
5477
  val16.x = val16.x;
5278
5478
  val16.y = 0;
5279
5479
  var push_button_normally_open_momentary_vert_default = rotated7;
@@ -5624,11 +5824,11 @@ var resonator_default = {
5624
5824
  };
5625
5825
 
5626
5826
  // symbols/resonator_horz.ts
5627
- var { paths: paths29, texts: texts40, bounds: bounds29, refblocks: refblocks29, circles: circles19 } = resonator_default;
5827
+ var { paths: paths30, texts: texts42, bounds: bounds30, refblocks: refblocks30, circles: circles20 } = resonator_default;
5628
5828
  var resonator_horz_default = defineSymbol({
5629
5829
  primitives: [
5630
- ...Object.values(paths29),
5631
- ...Object.values(circles19),
5830
+ ...Object.values(paths30),
5831
+ ...Object.values(circles20),
5632
5832
  // { ...texts.top1, anchor: "middle_left" },
5633
5833
  // { ...texts.bottom1, anchor: "middle_left" },
5634
5834
  {
@@ -5647,15 +5847,15 @@ var resonator_horz_default = defineSymbol({
5647
5847
  }
5648
5848
  ],
5649
5849
  ports: [
5650
- { ...refblocks29.left1, labels: ["1"] },
5850
+ { ...refblocks30.left1, labels: ["1"] },
5651
5851
  // TODO add more "standard" labels
5652
- { ...refblocks29.right1, labels: ["2"] },
5852
+ { ...refblocks30.right1, labels: ["2"] },
5653
5853
  // TODO add more "standard" labels
5654
- { ...refblocks29.right2, labels: ["3"] }
5854
+ { ...refblocks30.right2, labels: ["3"] }
5655
5855
  // TODO add more "standard" labels
5656
5856
  ],
5657
- size: { width: bounds29.width, height: bounds29.height },
5658
- center: { x: bounds29.centerX, y: bounds29.centerY }
5857
+ size: { width: bounds30.width, height: bounds30.height },
5858
+ center: { x: bounds30.centerX, y: bounds30.centerY }
5659
5859
  });
5660
5860
 
5661
5861
  // symbols/resonator_vert.ts
@@ -5853,33 +6053,33 @@ var schottky_diode_default = {
5853
6053
  };
5854
6054
 
5855
6055
  // symbols/schottky_diode_horz.ts
5856
- var { paths: paths30, texts: texts41, bounds: bounds30, refblocks: refblocks30, circles: circles20 } = schottky_diode_default;
6056
+ var { paths: paths31, texts: texts43, bounds: bounds31, refblocks: refblocks31, circles: circles21 } = schottky_diode_default;
5857
6057
  var schottky_diode_horz_default = defineSymbol({
5858
6058
  primitives: [
5859
- ...Object.values(paths30),
5860
- ...Object.values(circles20),
5861
- { ...texts41.top1, anchor: "middle_bottom" },
5862
- { ...texts41.bottom1, anchor: "middle_top" }
6059
+ ...Object.values(paths31),
6060
+ ...Object.values(circles21),
6061
+ { ...texts43.top1, anchor: "middle_bottom" },
6062
+ { ...texts43.bottom1, anchor: "middle_top" }
5863
6063
  ],
5864
6064
  ports: [
5865
- { ...refblocks30.left1, labels: ["1"] },
6065
+ { ...refblocks31.left1, labels: ["1"] },
5866
6066
  // TODO add more "standard" labels
5867
- { ...refblocks30.right1, labels: ["2"] }
6067
+ { ...refblocks31.right1, labels: ["2"] }
5868
6068
  // TODO add more "standard" labels
5869
6069
  ],
5870
- size: { width: bounds30.width, height: bounds30.height },
5871
- center: { x: bounds30.centerX, y: bounds30.centerY }
6070
+ size: { width: bounds31.width, height: bounds31.height },
6071
+ center: { x: bounds31.centerX, y: bounds31.centerY }
5872
6072
  });
5873
6073
 
5874
6074
  // symbols/schottky_diode_vert.ts
5875
6075
  var rotated8 = rotateSymbol(schottky_diode_horz_default);
5876
- var ref19 = rotated8.primitives.find(
6076
+ var ref20 = rotated8.primitives.find(
5877
6077
  (p) => p.type === "text" && p.text === "{REF}"
5878
6078
  );
5879
6079
  var val17 = rotated8.primitives.find(
5880
6080
  (p) => p.type === "text" && p.text === "{VAL}"
5881
6081
  );
5882
- ref19.anchor = "middle_left";
6082
+ ref20.anchor = "middle_left";
5883
6083
  val17.anchor = "middle_right";
5884
6084
  var schottky_diode_vert_default = rotated8;
5885
6085
 
@@ -6027,35 +6227,186 @@ var silicon_controlled_rectifier_default = {
6027
6227
  };
6028
6228
 
6029
6229
  // symbols/silicon_controlled_rectifier_horz.ts
6030
- var { paths: paths31, texts: texts42, bounds: bounds31, refblocks: refblocks31, circles: circles21 } = silicon_controlled_rectifier_default;
6230
+ var { paths: paths32, texts: texts44, bounds: bounds32, refblocks: refblocks32, circles: circles22 } = silicon_controlled_rectifier_default;
6031
6231
  var silicon_controlled_rectifier_horz_default = defineSymbol({
6032
6232
  primitives: [
6033
- ...Object.values(paths31),
6034
- ...Object.values(circles21),
6035
- { ...texts42.top1, anchor: "middle_left" },
6036
- { ...texts42.bottom1, anchor: "middle_top" }
6233
+ ...Object.values(paths32),
6234
+ ...Object.values(circles22),
6235
+ { ...texts44.top1, anchor: "middle_left" },
6236
+ { ...texts44.bottom1, anchor: "middle_top" }
6037
6237
  ],
6038
6238
  ports: [
6039
- { ...refblocks31.left1, labels: ["1"] },
6239
+ { ...refblocks32.left1, labels: ["1"] },
6040
6240
  // TODO add more "standard" labels
6041
- { ...refblocks31.right1, labels: ["2"] },
6241
+ { ...refblocks32.right1, labels: ["2"] },
6042
6242
  // TODO add more "standard" labels
6043
- { ...refblocks31.bottom1, labels: ["3"] }
6243
+ { ...refblocks32.bottom1, labels: ["3"] }
6044
6244
  // TODO add more "standard" labels
6045
6245
  ],
6046
- size: { width: bounds31.width, height: bounds31.height },
6047
- center: { x: bounds31.centerX, y: bounds31.centerY }
6246
+ size: { width: bounds32.width, height: bounds32.height },
6247
+ center: { x: bounds32.centerX, y: bounds32.centerY }
6048
6248
  });
6049
6249
 
6050
6250
  // symbols/silicon_controlled_rectifier_vert.ts
6051
- var rotatedSymbol16 = rotateSymbol(silicon_controlled_rectifier_horz_default);
6052
- var texts43 = rotatedSymbol16.primitives.filter(
6251
+ var rotatedSymbol17 = rotateSymbol(silicon_controlled_rectifier_horz_default);
6252
+ var texts45 = rotatedSymbol17.primitives.filter(
6053
6253
  (primitive) => primitive.type === "text"
6054
6254
  );
6055
- var ref20 = texts43.find((text) => text.text === "{REF}");
6056
- ref20.y = 0;
6057
- ref20.anchor = "middle_left";
6058
- var silicon_controlled_rectifier_vert_default = rotatedSymbol16;
6255
+ var ref21 = texts45.find((text) => text.text === "{REF}");
6256
+ ref21.y = 0;
6257
+ ref21.anchor = "middle_left";
6258
+ var silicon_controlled_rectifier_vert_default = rotatedSymbol17;
6259
+
6260
+ // assets/generated/SPDT_switch.json
6261
+ var SPDT_switch_default = {
6262
+ paths: {
6263
+ path1: {
6264
+ type: "path",
6265
+ points: [
6266
+ {
6267
+ x: -0.3543583500000005,
6268
+ y: -0.027043850000000758
6269
+ },
6270
+ {
6271
+ x: -0.12792935000000005,
6272
+ y: -0.027043850000000758
6273
+ }
6274
+ ],
6275
+ color: "primary",
6276
+ fill: false
6277
+ },
6278
+ "path-1-3": {
6279
+ type: "path",
6280
+ points: [
6281
+ {
6282
+ x: -0.1133669500000003,
6283
+ y: -0.027198750000000382
6284
+ },
6285
+ {
6286
+ x: 0.11208324999999997,
6287
+ y: -0.14100155000000036
6288
+ }
6289
+ ],
6290
+ color: "primary",
6291
+ fill: false
6292
+ },
6293
+ path2: {
6294
+ type: "path",
6295
+ points: [
6296
+ {
6297
+ x: 0.1043477500000003,
6298
+ y: 0.06951304999999941
6299
+ },
6300
+ {
6301
+ x: 0.34508875000000017,
6302
+ y: 0.06951304999999941
6303
+ }
6304
+ ],
6305
+ color: "primary",
6306
+ fill: false
6307
+ },
6308
+ path3: {
6309
+ type: "path",
6310
+ points: [
6311
+ {
6312
+ x: 0.12008575000000055,
6313
+ y: -0.1671466500000005
6314
+ },
6315
+ {
6316
+ x: 0.3608267500000004,
6317
+ y: -0.1671466500000005
6318
+ }
6319
+ ],
6320
+ color: "primary",
6321
+ fill: false
6322
+ }
6323
+ },
6324
+ texts: {
6325
+ top1: {
6326
+ type: "text",
6327
+ text: "{REF}",
6328
+ x: -0.17853294999999947,
6329
+ y: -0.39216264999999995
6330
+ },
6331
+ bottom1: {
6332
+ type: "text",
6333
+ text: "{VAL}",
6334
+ x: -0.17853294999999947,
6335
+ y: 0.28216264999999996
6336
+ }
6337
+ },
6338
+ refblocks: {
6339
+ top1: {
6340
+ x: 0.10744654999999947,
6341
+ y: -0.16714664999999962
6342
+ },
6343
+ left1: {
6344
+ x: -0.3682737499999995,
6345
+ y: -0.02704385000000009
6346
+ },
6347
+ left2: {
6348
+ x: -0.11569114999999996,
6349
+ y: -0.02704385000000009
6350
+ },
6351
+ right1: {
6352
+ x: 0.3682737499999995,
6353
+ y: -0.16714664999999962
6354
+ },
6355
+ right2: {
6356
+ x: 0.3682737499999995,
6357
+ y: 0.06951305000000008
6358
+ },
6359
+ right3: {
6360
+ x: 0.10744725000000055,
6361
+ y: 0.06951305000000008
6362
+ }
6363
+ },
6364
+ bounds: {
6365
+ minX: -0.3964321909999995,
6366
+ maxX: 0.3964321909999995,
6367
+ minY: -0.4921626499999999,
6368
+ maxY: 0.40216264999999995,
6369
+ width: 1,
6370
+ height: 1,
6371
+ centerX: 0,
6372
+ centerY: -0.044999999999999984
6373
+ },
6374
+ circles: {}
6375
+ };
6376
+
6377
+ // symbols/SPDT_switch_horz.ts
6378
+ var { paths: paths33, texts: texts46, bounds: bounds33, refblocks: refblocks33, circles: circles23 } = SPDT_switch_default;
6379
+ var SPDT_switch_horz_default = defineSymbol({
6380
+ primitives: [
6381
+ ...Object.values(paths33),
6382
+ ...Object.values(circles23),
6383
+ { ...texts46.top1, anchor: "middle_bottom", x: -0.01 },
6384
+ { ...texts46.bottom1, anchor: "middle_top", x: -0.01 }
6385
+ ],
6386
+ ports: [
6387
+ { ...refblocks33.left1, labels: ["1"] },
6388
+ // TODO add more "standard" labels
6389
+ { ...refblocks33.right1, labels: ["3"] },
6390
+ // TODO add more "standard" labels
6391
+ { ...refblocks33.right2, labels: ["2"] }
6392
+ // TODO add more "standard" labels
6393
+ ],
6394
+ size: { width: bounds33.width, height: bounds33.height },
6395
+ center: { x: bounds33.centerX, y: bounds33.centerY }
6396
+ });
6397
+
6398
+ // symbols/SPDT_switch_vert.ts
6399
+ var rotatedSymbol18 = rotateSymbol(SPDT_switch_horz_default);
6400
+ var texts47 = rotatedSymbol18.primitives.filter((p) => p.type === "text");
6401
+ var val18 = texts47.find((t) => t.text === "{VAL}");
6402
+ val18.anchor = "middle_right";
6403
+ val18.x = -0.3;
6404
+ val18.y = 0;
6405
+ var ref22 = texts47.find((t) => t.text === "{REF}");
6406
+ ref22.anchor = "middle_left";
6407
+ ref22.x = 0.3;
6408
+ ref22.y = 0;
6409
+ var SPDT_switch_vert_default = rotatedSymbol18;
6059
6410
 
6060
6411
  // assets/generated/SPST_switch.json
6061
6412
  var SPST_switch_default = {
@@ -6152,36 +6503,36 @@ var SPST_switch_default = {
6152
6503
  };
6153
6504
 
6154
6505
  // symbols/SPST_switch_horz.ts
6155
- var { paths: paths32, texts: texts44, bounds: bounds32, refblocks: refblocks32, circles: circles22 } = SPST_switch_default;
6506
+ var { paths: paths34, texts: texts48, bounds: bounds34, refblocks: refblocks34, circles: circles24 } = SPST_switch_default;
6156
6507
  var SPST_switch_horz_default = defineSymbol({
6157
6508
  primitives: [
6158
- ...Object.values(paths32),
6159
- ...Object.values(circles22),
6160
- { ...texts44.top1, anchor: "middle_bottom", x: 0 },
6161
- { ...texts44.bottom1, anchor: "middle_top", x: 0 }
6509
+ ...Object.values(paths34),
6510
+ ...Object.values(circles24),
6511
+ { ...texts48.top1, anchor: "middle_bottom", x: 0 },
6512
+ { ...texts48.bottom1, anchor: "middle_top", x: 0 }
6162
6513
  ],
6163
6514
  ports: [
6164
- { ...refblocks32.left1, labels: ["1"] },
6515
+ { ...refblocks34.left1, labels: ["1"] },
6165
6516
  // TODO add more "standard" labels
6166
- { ...refblocks32.right1, labels: ["2"] }
6517
+ { ...refblocks34.right1, labels: ["2"] }
6167
6518
  // TODO add more "standard" labels
6168
6519
  ],
6169
- size: { width: bounds32.width, height: bounds32.height },
6170
- center: { x: bounds32.centerX, y: bounds32.centerY }
6520
+ size: { width: bounds34.width, height: bounds34.height },
6521
+ center: { x: bounds34.centerX, y: bounds34.centerY }
6171
6522
  });
6172
6523
 
6173
6524
  // symbols/SPST_switch_vert.ts
6174
- var rotatedSymbol17 = rotateSymbol(SPST_switch_horz_default);
6175
- var texts45 = rotatedSymbol17.primitives.filter((p) => p.type === "text");
6176
- var val18 = texts45.find((t) => t.text === "{VAL}");
6177
- val18.anchor = "middle_right";
6178
- val18.x = -0.3;
6179
- val18.y = 0;
6180
- var ref21 = texts45.find((t) => t.text === "{REF}");
6181
- ref21.anchor = "middle_left";
6182
- ref21.x = 0.3;
6183
- ref21.y = 0;
6184
- var SPST_switch_vert_default = rotatedSymbol17;
6525
+ var rotatedSymbol19 = rotateSymbol(SPST_switch_horz_default);
6526
+ var texts49 = rotatedSymbol19.primitives.filter((p) => p.type === "text");
6527
+ var val19 = texts49.find((t) => t.text === "{VAL}");
6528
+ val19.anchor = "middle_right";
6529
+ val19.x = -0.3;
6530
+ val19.y = 0;
6531
+ var ref23 = texts49.find((t) => t.text === "{REF}");
6532
+ ref23.anchor = "middle_left";
6533
+ ref23.x = 0.3;
6534
+ ref23.y = 0;
6535
+ var SPST_switch_vert_default = rotatedSymbol19;
6185
6536
 
6186
6537
  // assets/generated/step_recovery_diode.json
6187
6538
  var step_recovery_diode_default = {
@@ -6345,11 +6696,11 @@ var step_recovery_diode_default = {
6345
6696
  };
6346
6697
 
6347
6698
  // symbols/step_recovery_diode_horz.ts
6348
- var { paths: paths33, texts: texts46, bounds: bounds33, refblocks: refblocks33, circles: circles23 } = step_recovery_diode_default;
6699
+ var { paths: paths35, texts: texts50, bounds: bounds35, refblocks: refblocks35, circles: circles25 } = step_recovery_diode_default;
6349
6700
  var step_recovery_diode_horz_default = defineSymbol({
6350
6701
  primitives: [
6351
- ...Object.values(paths33),
6352
- ...Object.values(circles23),
6702
+ ...Object.values(paths35),
6703
+ ...Object.values(circles25),
6353
6704
  // { ...texts.top1, anchor: "middle_left" },
6354
6705
  // { ...texts.bottom1, anchor: "middle_left" },
6355
6706
  {
@@ -6368,13 +6719,13 @@ var step_recovery_diode_horz_default = defineSymbol({
6368
6719
  }
6369
6720
  ],
6370
6721
  ports: [
6371
- { ...refblocks33.left1, labels: ["1"] },
6722
+ { ...refblocks35.left1, labels: ["1"] },
6372
6723
  // TODO add more "standard" labels
6373
- { ...refblocks33.right1, labels: ["2"] }
6724
+ { ...refblocks35.right1, labels: ["2"] }
6374
6725
  // TODO add more "standard" labels
6375
6726
  ],
6376
- size: { width: bounds33.width, height: bounds33.height },
6377
- center: { x: bounds33.centerX, y: bounds33.centerY }
6727
+ size: { width: bounds35.width, height: bounds35.height },
6728
+ center: { x: bounds35.centerX, y: bounds35.centerY }
6378
6729
  });
6379
6730
 
6380
6731
  // symbols/step_recovery_diode_vert.ts
@@ -6571,36 +6922,36 @@ var triac_default = {
6571
6922
  };
6572
6923
 
6573
6924
  // symbols/triac_horz.ts
6574
- var { paths: paths34, texts: texts47, bounds: bounds34, refblocks: refblocks34, circles: circles24 } = triac_default;
6925
+ var { paths: paths36, texts: texts51, bounds: bounds36, refblocks: refblocks36, circles: circles26 } = triac_default;
6575
6926
  var triac_horz_default = defineSymbol({
6576
6927
  primitives: [
6577
- ...Object.values(paths34),
6578
- ...Object.values(circles24),
6579
- { ...texts47.top1, anchor: "middle_left" },
6580
- { ...texts47.bottom1, anchor: "middle_top" }
6928
+ ...Object.values(paths36),
6929
+ ...Object.values(circles26),
6930
+ { ...texts51.top1, anchor: "middle_left" },
6931
+ { ...texts51.bottom1, anchor: "middle_top" }
6581
6932
  ],
6582
6933
  ports: [
6583
- { ...refblocks34.left1, labels: ["1"] },
6934
+ { ...refblocks36.left1, labels: ["1"] },
6584
6935
  // TODO add more "standard" labels
6585
- { ...refblocks34.right1, labels: ["2"] },
6936
+ { ...refblocks36.right1, labels: ["2"] },
6586
6937
  // TODO add more "standard" labels
6587
- { ...refblocks34.bottom1, labels: ["3"] }
6938
+ { ...refblocks36.bottom1, labels: ["3"] }
6588
6939
  // TODO add more "standard" labels
6589
6940
  ],
6590
- size: { width: bounds34.width, height: bounds34.height },
6591
- center: { x: bounds34.centerX, y: bounds34.centerY }
6941
+ size: { width: bounds36.width, height: bounds36.height },
6942
+ center: { x: bounds36.centerX, y: bounds36.centerY }
6592
6943
  });
6593
6944
 
6594
6945
  // symbols/triac_vert.ts
6595
- var rotatedSymbol18 = rotateSymbol(triac_horz_default);
6596
- var texts48 = rotatedSymbol18.primitives.filter(
6946
+ var rotatedSymbol20 = rotateSymbol(triac_horz_default);
6947
+ var texts52 = rotatedSymbol20.primitives.filter(
6597
6948
  (primitive) => primitive.type === "text"
6598
6949
  );
6599
- var ref22 = texts48.find((text) => text.text === "{REF}");
6600
- var val19 = texts48.find((text) => text.text === "{VAL}");
6601
- ref22.y = 0;
6602
- val19.y = 0;
6603
- var triac_vert_default = rotatedSymbol18;
6950
+ var ref24 = texts52.find((text) => text.text === "{REF}");
6951
+ var val20 = texts52.find((text) => text.text === "{VAL}");
6952
+ ref24.y = 0;
6953
+ val20.y = 0;
6954
+ var triac_vert_default = rotatedSymbol20;
6604
6955
 
6605
6956
  // assets/generated/tunnel_diode.json
6606
6957
  var tunnel_diode_default = {
@@ -6764,34 +7115,34 @@ var tunnel_diode_default = {
6764
7115
  };
6765
7116
 
6766
7117
  // symbols/tunnel_diode_horz.ts
6767
- var { paths: paths35, texts: texts49, bounds: bounds35, refblocks: refblocks35, circles: circles25 } = tunnel_diode_default;
7118
+ var { paths: paths37, texts: texts53, bounds: bounds37, refblocks: refblocks37, circles: circles27 } = tunnel_diode_default;
6768
7119
  var tunnel_diode_horz_default = defineSymbol({
6769
7120
  primitives: [
6770
- ...Object.values(paths35),
6771
- ...Object.values(circles25),
6772
- { ...texts49.top1, anchor: "middle_bottom" },
6773
- { ...texts49.bottom1, anchor: "middle_top" }
7121
+ ...Object.values(paths37),
7122
+ ...Object.values(circles27),
7123
+ { ...texts53.top1, anchor: "middle_bottom" },
7124
+ { ...texts53.bottom1, anchor: "middle_top" }
6774
7125
  ],
6775
7126
  ports: [
6776
- { ...refblocks35.left1, labels: ["1"] },
7127
+ { ...refblocks37.left1, labels: ["1"] },
6777
7128
  // TODO add more "standard" labels
6778
- { ...refblocks35.right1, labels: ["2"] }
7129
+ { ...refblocks37.right1, labels: ["2"] }
6779
7130
  // TODO add more "standard" labels
6780
7131
  ],
6781
- size: { width: bounds35.width, height: bounds35.height },
6782
- center: { x: bounds35.centerX, y: bounds35.centerY }
7132
+ size: { width: bounds37.width, height: bounds37.height },
7133
+ center: { x: bounds37.centerX, y: bounds37.centerY }
6783
7134
  });
6784
7135
 
6785
7136
  // symbols/tunnel_diode_vert.ts
6786
7137
  var rotated9 = rotateSymbol(tunnel_diode_horz_default);
6787
- var ref23 = rotated9.primitives.find(
7138
+ var ref25 = rotated9.primitives.find(
6788
7139
  (p) => p.type === "text" && p.text === "{REF}"
6789
7140
  );
6790
- var val20 = rotated9.primitives.find(
7141
+ var val21 = rotated9.primitives.find(
6791
7142
  (p) => p.type === "text" && p.text === "{VAL}"
6792
7143
  );
6793
- ref23.anchor = "middle_left";
6794
- val20.anchor = "middle_right";
7144
+ ref25.anchor = "middle_left";
7145
+ val21.anchor = "middle_right";
6795
7146
  var tunnel_diode_vert_default = rotated9;
6796
7147
 
6797
7148
  // assets/generated/unijunction_transistor.json
@@ -6962,37 +7313,37 @@ var unijunction_transistor_default = {
6962
7313
  };
6963
7314
 
6964
7315
  // symbols/unijunction_transistor_horz.ts
6965
- var { paths: paths36, texts: texts50, bounds: bounds36, refblocks: refblocks36, circles: circles26 } = unijunction_transistor_default;
7316
+ var { paths: paths38, texts: texts54, bounds: bounds38, refblocks: refblocks38, circles: circles28 } = unijunction_transistor_default;
6966
7317
  var unijunction_transistor_horz_default = defineSymbol({
6967
7318
  primitives: [
6968
- ...Object.values(paths36),
6969
- ...Object.values(circles26),
6970
- { ...texts50.top1, anchor: "middle_left" },
6971
- { ...texts50.bottom1, anchor: "middle_right" }
7319
+ ...Object.values(paths38),
7320
+ ...Object.values(circles28),
7321
+ { ...texts54.top1, anchor: "middle_left" },
7322
+ { ...texts54.bottom1, anchor: "middle_right" }
6972
7323
  ],
6973
7324
  ports: [
6974
- { ...refblocks36.top1, labels: ["1"] },
7325
+ { ...refblocks38.top1, labels: ["1"] },
6975
7326
  // TODO add more "standard" labels
6976
- { ...refblocks36.bottom1, labels: ["2"] },
7327
+ { ...refblocks38.bottom1, labels: ["2"] },
6977
7328
  // TODO add more "standard" labels
6978
- { ...refblocks36.left1, labels: ["3"] }
7329
+ { ...refblocks38.left1, labels: ["3"] }
6979
7330
  // TODO add more "standard" labels
6980
7331
  ],
6981
- size: { width: bounds36.width, height: bounds36.height },
6982
- center: { x: bounds36.centerX, y: bounds36.centerY }
7332
+ size: { width: bounds38.width, height: bounds38.height },
7333
+ center: { x: bounds38.centerX, y: bounds38.centerY }
6983
7334
  });
6984
7335
 
6985
7336
  // symbols/unijunction_transistor_vert.ts
6986
- var rotatedSymbol19 = rotateSymbol(unijunction_transistor_horz_default);
6987
- var texts51 = rotatedSymbol19.primitives.filter(
7337
+ var rotatedSymbol21 = rotateSymbol(unijunction_transistor_horz_default);
7338
+ var texts55 = rotatedSymbol21.primitives.filter(
6988
7339
  (primitive) => primitive.type === "text"
6989
7340
  );
6990
- var ref24 = texts51.find((text) => text.text === "{REF}");
6991
- ref24.y = 0.1;
6992
- var val21 = texts51.find((text) => text.text === "{VAL}");
6993
- val21.y = 0.1;
6994
- val21.x = -0.4;
6995
- var unijunction_transistor_vert_default = rotatedSymbol19;
7341
+ var ref26 = texts55.find((text) => text.text === "{REF}");
7342
+ ref26.y = 0.1;
7343
+ var val22 = texts55.find((text) => text.text === "{VAL}");
7344
+ val22.y = 0.1;
7345
+ val22.x = -0.4;
7346
+ var unijunction_transistor_vert_default = rotatedSymbol21;
6996
7347
 
6997
7348
  // assets/generated/var_meter.json
6998
7349
  var var_meter_default = {
@@ -7081,33 +7432,33 @@ var var_meter_default = {
7081
7432
  };
7082
7433
 
7083
7434
  // symbols/var_meter_horz.ts
7084
- var { paths: paths37, texts: texts52, bounds: bounds37, refblocks: refblocks37, circles: circles27 } = var_meter_default;
7435
+ var { paths: paths39, texts: texts56, bounds: bounds39, refblocks: refblocks39, circles: circles29 } = var_meter_default;
7085
7436
  var var_meter_horz_default = defineSymbol({
7086
7437
  primitives: [
7087
- ...Object.values(paths37),
7088
- ...Object.values(circles27),
7438
+ ...Object.values(paths39),
7439
+ ...Object.values(circles29),
7089
7440
  {
7090
- ...texts52.top1,
7441
+ ...texts56.top1,
7091
7442
  x: 0,
7092
7443
  y: -0.3594553499999995,
7093
7444
  anchor: "middle_bottom"
7094
7445
  },
7095
7446
  {
7096
- ...texts52.bottom1,
7447
+ ...texts56.bottom1,
7097
7448
  x: 0,
7098
7449
  y: 0.35,
7099
7450
  anchor: "middle_top"
7100
7451
  },
7101
- { ...texts52.left1, x: -0.02, y: -0.02, fontSize: 0.2, anchor: "center" }
7452
+ { ...texts56.left1, x: -0.02, y: -0.02, fontSize: 0.2, anchor: "center" }
7102
7453
  ],
7103
7454
  ports: [
7104
- { ...refblocks37.left1, labels: ["1"] },
7455
+ { ...refblocks39.left1, labels: ["1"] },
7105
7456
  // TODO add more "standard" labels
7106
- { ...refblocks37.right1, labels: ["2"] }
7457
+ { ...refblocks39.right1, labels: ["2"] }
7107
7458
  // TODO add more "standard" labels
7108
7459
  ],
7109
- size: { width: bounds37.width, height: bounds37.height },
7110
- center: { x: bounds37.centerX, y: bounds37.centerY }
7460
+ size: { width: bounds39.width, height: bounds39.height },
7461
+ center: { x: bounds39.centerX, y: bounds39.centerY }
7111
7462
  });
7112
7463
 
7113
7464
  // symbols/var_meter_vert.ts
@@ -7260,34 +7611,34 @@ var varactor_diode_default = {
7260
7611
  };
7261
7612
 
7262
7613
  // symbols/varactor_diode_horz.ts
7263
- var { paths: paths38, texts: texts53, bounds: bounds38, refblocks: refblocks38, circles: circles28 } = varactor_diode_default;
7614
+ var { paths: paths40, texts: texts57, bounds: bounds40, refblocks: refblocks40, circles: circles30 } = varactor_diode_default;
7264
7615
  var varactor_diode_horz_default = defineSymbol({
7265
7616
  primitives: [
7266
- ...Object.values(paths38),
7267
- ...Object.values(circles28),
7268
- { ...texts53.top1, anchor: "middle_bottom" },
7269
- { ...texts53.bottom1, anchor: "middle_top" }
7617
+ ...Object.values(paths40),
7618
+ ...Object.values(circles30),
7619
+ { ...texts57.top1, anchor: "middle_bottom" },
7620
+ { ...texts57.bottom1, anchor: "middle_top" }
7270
7621
  ],
7271
7622
  ports: [
7272
- { ...refblocks38.left1, labels: ["1"] },
7623
+ { ...refblocks40.left1, labels: ["1"] },
7273
7624
  // TODO add more "standard" labels
7274
- { ...refblocks38.right1, labels: ["2"] }
7625
+ { ...refblocks40.right1, labels: ["2"] }
7275
7626
  // TODO add more "standard" labels
7276
7627
  ],
7277
- size: { width: bounds38.width, height: bounds38.height },
7278
- center: { x: bounds38.centerX, y: bounds38.centerY }
7628
+ size: { width: bounds40.width, height: bounds40.height },
7629
+ center: { x: bounds40.centerX, y: bounds40.centerY }
7279
7630
  });
7280
7631
 
7281
7632
  // symbols/varactor_diode_vert.ts
7282
7633
  var rotated10 = rotateSymbol(varactor_diode_horz_default);
7283
- var ref25 = rotated10.primitives.find(
7634
+ var ref27 = rotated10.primitives.find(
7284
7635
  (p) => p.type === "text" && p.text === "{REF}"
7285
7636
  );
7286
- var val22 = rotated10.primitives.find(
7637
+ var val23 = rotated10.primitives.find(
7287
7638
  (p) => p.type === "text" && p.text === "{VAL}"
7288
7639
  );
7289
- ref25.anchor = "middle_left";
7290
- val22.anchor = "middle_right";
7640
+ ref27.anchor = "middle_left";
7641
+ val23.anchor = "middle_right";
7291
7642
  var varactor_diode_vert_default = rotated10;
7292
7643
 
7293
7644
  // assets/generated/varistor.json
@@ -7422,26 +7773,26 @@ var varistor_default = {
7422
7773
  };
7423
7774
 
7424
7775
  // symbols/varistor_horz.ts
7425
- var { paths: paths39, texts: texts54, bounds: bounds39, refblocks: refblocks39 } = varistor_default;
7776
+ var { paths: paths41, texts: texts58, bounds: bounds41, refblocks: refblocks41 } = varistor_default;
7426
7777
  var varistor_horz_default = defineSymbol({
7427
7778
  primitives: [
7428
- ...Object.values(paths39),
7429
- { ...texts54.top1, anchor: "middle_left" },
7430
- { ...texts54.bottom1, anchor: "middle_right" }
7779
+ ...Object.values(paths41),
7780
+ { ...texts58.top1, anchor: "middle_left" },
7781
+ { ...texts58.bottom1, anchor: "middle_right" }
7431
7782
  ],
7432
7783
  ports: [
7433
7784
  {
7434
- ...refblocks39.left1,
7785
+ ...refblocks41.left1,
7435
7786
  labels: ["1", "-"]
7436
7787
  },
7437
7788
  {
7438
- ...refblocks39.right1,
7789
+ ...refblocks41.right1,
7439
7790
  labels: ["2", "+"]
7440
7791
  }
7441
7792
  ],
7442
- size: { width: bounds39.width, height: bounds39.height },
7793
+ size: { width: bounds41.width, height: bounds41.height },
7443
7794
  //{ width: 1, height: 0.24 },
7444
- center: { x: bounds39.centerX, y: bounds39.centerY }
7795
+ center: { x: bounds41.centerX, y: bounds41.centerY }
7445
7796
  });
7446
7797
 
7447
7798
  // symbols/varistor_vert.ts
@@ -7547,11 +7898,11 @@ var volt_meter_default = {
7547
7898
  };
7548
7899
 
7549
7900
  // symbols/volt_meter_horz.ts
7550
- var { paths: paths40, texts: texts55, bounds: bounds40, circles: circles29, refblocks: refblocks40 } = volt_meter_default;
7901
+ var { paths: paths42, texts: texts59, bounds: bounds42, circles: circles31, refblocks: refblocks42 } = volt_meter_default;
7551
7902
  var volt_meter_horz_default = defineSymbol({
7552
7903
  primitives: [
7553
- ...Object.values(paths40),
7554
- ...Object.values(circles29),
7904
+ ...Object.values(paths42),
7905
+ ...Object.values(circles31),
7555
7906
  {
7556
7907
  type: "text",
7557
7908
  text: "{REF}",
@@ -7568,13 +7919,13 @@ var volt_meter_horz_default = defineSymbol({
7568
7919
  }
7569
7920
  ],
7570
7921
  ports: [
7571
- { ...refblocks40.left1, labels: ["1"] },
7922
+ { ...refblocks42.left1, labels: ["1"] },
7572
7923
  // TODO add more "standard" labels
7573
- { ...refblocks40.right1, labels: ["2"] }
7924
+ { ...refblocks42.right1, labels: ["2"] }
7574
7925
  // TODO add more "standard" labels
7575
7926
  ],
7576
- size: { width: bounds40.width, height: bounds40.height },
7577
- center: { x: bounds40.centerX, y: bounds40.centerY }
7927
+ size: { width: bounds42.width, height: bounds42.height },
7928
+ center: { x: bounds42.centerX, y: bounds42.centerY }
7578
7929
  });
7579
7930
 
7580
7931
  // symbols/volt_meter_vert.ts
@@ -7727,34 +8078,34 @@ var zener_diode_default = {
7727
8078
  };
7728
8079
 
7729
8080
  // symbols/zener_diode_horz.ts
7730
- var { paths: paths41, texts: texts56, bounds: bounds41, refblocks: refblocks41, circles: circles30 } = zener_diode_default;
8081
+ var { paths: paths43, texts: texts60, bounds: bounds43, refblocks: refblocks43, circles: circles32 } = zener_diode_default;
7731
8082
  var zener_diode_horz_default = defineSymbol({
7732
8083
  primitives: [
7733
- ...Object.values(paths41),
7734
- ...Object.values(circles30),
7735
- { ...texts56.top1, anchor: "middle_bottom" },
7736
- { ...texts56.bottom1, anchor: "middle_top" }
8084
+ ...Object.values(paths43),
8085
+ ...Object.values(circles32),
8086
+ { ...texts60.top1, anchor: "middle_bottom" },
8087
+ { ...texts60.bottom1, anchor: "middle_top" }
7737
8088
  ],
7738
8089
  ports: [
7739
- { ...refblocks41.left1, labels: ["1"] },
8090
+ { ...refblocks43.left1, labels: ["1"] },
7740
8091
  // TODO add more "standard" labels
7741
- { ...refblocks41.right1, labels: ["2"] }
8092
+ { ...refblocks43.right1, labels: ["2"] }
7742
8093
  // TODO add more "standard" labels
7743
8094
  ],
7744
- size: { width: bounds41.width, height: bounds41.height },
7745
- center: { x: bounds41.centerX, y: bounds41.centerY }
8095
+ size: { width: bounds43.width, height: bounds43.height },
8096
+ center: { x: bounds43.centerX, y: bounds43.centerY }
7746
8097
  });
7747
8098
 
7748
8099
  // symbols/zener_diode_vert.ts
7749
8100
  var rotated11 = rotateSymbol(zener_diode_horz_default);
7750
- var ref26 = rotated11.primitives.find(
8101
+ var ref28 = rotated11.primitives.find(
7751
8102
  (p) => p.type === "text" && p.text === "{REF}"
7752
8103
  );
7753
- var val23 = rotated11.primitives.find(
8104
+ var val24 = rotated11.primitives.find(
7754
8105
  (p) => p.type === "text" && p.text === "{VAL}"
7755
8106
  );
7756
- ref26.anchor = "middle_left";
7757
- val23.anchor = "middle_right";
8107
+ ref28.anchor = "middle_left";
8108
+ val24.anchor = "middle_right";
7758
8109
  var zener_diode_vert_default = rotated11;
7759
8110
 
7760
8111
  // generated/symbols-index.ts
@@ -7797,6 +8148,8 @@ var symbols_index_default = {
7797
8148
  "n_channel_d_mosfet_transistor_vert": n_channel_d_mosfet_transistor_vert_default,
7798
8149
  "njfet_transistor_horz": njfet_transistor_horz_default,
7799
8150
  "njfet_transistor_vert": njfet_transistor_vert_default,
8151
+ "npn_bipolar_transistor_horz": npn_bipolar_transistor_horz_default,
8152
+ "npn_bipolar_transistor_vert": npn_bipolar_transistor_vert_default,
7800
8153
  "p_channel_d_mosfet_transistor_horz": p_channel_d_mosfet_transistor_horz_default,
7801
8154
  "p_channel_d_mosfet_transistor_vert": p_channel_d_mosfet_transistor_vert_default,
7802
8155
  "p_channel_e_mosfet_transistor_horz": p_channel_e_mosfet_transistor_horz_default,
@@ -7821,6 +8174,8 @@ var symbols_index_default = {
7821
8174
  "schottky_diode_vert": schottky_diode_vert_default,
7822
8175
  "silicon_controlled_rectifier_horz": silicon_controlled_rectifier_horz_default,
7823
8176
  "silicon_controlled_rectifier_vert": silicon_controlled_rectifier_vert_default,
8177
+ "SPDT_switch_horz": SPDT_switch_horz_default,
8178
+ "SPDT_switch_vert": SPDT_switch_vert_default,
7824
8179
  "SPST_switch_horz": SPST_switch_horz_default,
7825
8180
  "SPST_switch_vert": SPST_switch_vert_default,
7826
8181
  "step_recovery_diode_horz": step_recovery_diode_horz_default,