schematic-symbols 0.0.105 → 0.0.106

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
@@ -810,25 +810,184 @@ var boxresistor_default = {
810
810
  circles: {}
811
811
  };
812
812
 
813
- // symbols/boxresistor_horz.ts
814
- var { paths: paths4, texts: texts3, bounds: bounds4, refblocks: refblocks4 } = boxresistor_default;
815
- var boxresistor_horz_default = defineSymbol({
813
+ // drawing/modify-symbol/modify-symbol.ts
814
+ var SymbolModifier = class {
815
+ symbol;
816
+ constructor(symbol) {
817
+ this.symbol = JSON.parse(JSON.stringify(symbol));
818
+ }
819
+ changeTextAnchor(text, newAnchor) {
820
+ this.symbol = {
821
+ ...this.symbol,
822
+ primitives: this.symbol.primitives.map((primitive) => {
823
+ if (primitive.type === "text" && primitive.text === text) {
824
+ return {
825
+ ...primitive,
826
+ anchor: newAnchor
827
+ };
828
+ }
829
+ return primitive;
830
+ })
831
+ };
832
+ return this;
833
+ }
834
+ labelPort(currentLabel, newLabels) {
835
+ this.symbol = {
836
+ ...this.symbol,
837
+ ports: this.symbol.ports.map((port) => {
838
+ return port.labels.includes(currentLabel) ? { ...port, labels: newLabels } : port;
839
+ })
840
+ };
841
+ return this;
842
+ }
843
+ rotateRightFacingSymbol(newOrientation) {
844
+ this.symbol = rotateRightFacingSymbol(this.symbol, {
845
+ newOrientation
846
+ });
847
+ return this;
848
+ }
849
+ build() {
850
+ return this.symbol;
851
+ }
852
+ };
853
+ var modifySymbol = (symbol) => {
854
+ return new SymbolModifier({
855
+ ...symbol,
856
+ primitives: symbol.primitives ?? [
857
+ ...Object.values(symbol.paths ?? {}),
858
+ ...Object.values(symbol.texts ?? {}),
859
+ ...Object.values(symbol.circles ?? {}),
860
+ ...Object.values(symbol.rects ?? {})
861
+ ],
862
+ ports: symbol.ports ?? Object.entries(symbol.refblocks).flatMap(([key, refblock]) => {
863
+ return [{ ...refblock, labels: [key] }];
864
+ }),
865
+ center: symbol.center ?? {
866
+ x: symbol.bounds.centerX,
867
+ y: symbol.bounds.centerY
868
+ },
869
+ size: symbol.size ?? {
870
+ width: symbol.bounds.width,
871
+ height: symbol.bounds.height
872
+ }
873
+ });
874
+ };
875
+
876
+ // symbols/boxresistor_down.ts
877
+ var { paths: paths4, texts: texts3, bounds: bounds4, refblocks: refblocks4, circles: circles4 } = boxresistor_default;
878
+ var boxresistor_down_default = modifySymbol({
816
879
  primitives: [
817
880
  ...Object.values(paths4),
818
- { ...texts3.top1, anchor: "middle_bottom" },
819
- { ...texts3.bottom1, anchor: "middle_top" }
881
+ ...Object.values(circles4),
882
+ {
883
+ type: "text",
884
+ text: "{REF}",
885
+ x: -0.16,
886
+ y: 0.2294553499999995
887
+ },
888
+ {
889
+ type: "text",
890
+ text: "{VAL}",
891
+ x: 0.16,
892
+ y: 0.2294553499999995
893
+ }
820
894
  ],
821
895
  ports: [
822
896
  { ...refblocks4.left1, labels: ["1"] },
897
+ // TODO add more "standard" labels
823
898
  { ...refblocks4.right1, labels: ["2"] }
899
+ // TODO add more "standard" labels
824
900
  ],
825
901
  size: { width: bounds4.width, height: bounds4.height },
826
- //{ width: 1, height: 0.24 },
827
902
  center: { x: bounds4.centerX, y: bounds4.centerY }
828
- });
903
+ }).changeTextAnchor("{VAL}", "middle_bottom").rotateRightFacingSymbol("down").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_left").build();
904
+
905
+ // symbols/boxresistor_left.ts
906
+ var { paths: paths5, texts: texts4, bounds: bounds5, refblocks: refblocks5, circles: circles5 } = boxresistor_default;
907
+ var boxresistor_left_default = modifySymbol({
908
+ primitives: [
909
+ ...Object.values(paths5),
910
+ ...Object.values(circles5),
911
+ {
912
+ type: "text",
913
+ text: "{REF}",
914
+ x: 0,
915
+ y: 0.2294553499999995
916
+ },
917
+ {
918
+ type: "text",
919
+ text: "{VAL}",
920
+ x: 0,
921
+ y: -0.1594553499999995
922
+ }
923
+ ],
924
+ ports: [
925
+ { ...refblocks5.left1, labels: ["1"] },
926
+ // TODO add more "standard" labels
927
+ { ...refblocks5.right1, labels: ["2"] }
928
+ // TODO add more "standard" labels
929
+ ],
930
+ size: { width: bounds5.width, height: bounds5.height },
931
+ center: { x: bounds5.centerX, y: bounds5.centerY }
932
+ }).changeTextAnchor("{VAL}", "middle_top").rotateRightFacingSymbol("right").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_bottom").build();
829
933
 
830
- // symbols/boxresistor_vert.ts
831
- var boxresistor_vert_default = rotateSymbol(boxresistor_horz_default);
934
+ // symbols/boxresistor_right.ts
935
+ var { paths: paths6, texts: texts5, bounds: bounds6, refblocks: refblocks6, circles: circles6 } = boxresistor_default;
936
+ var boxresistor_right_default = modifySymbol({
937
+ primitives: [
938
+ ...Object.values(paths6),
939
+ ...Object.values(circles6),
940
+ {
941
+ type: "text",
942
+ text: "{REF}",
943
+ x: 0,
944
+ y: 0.2294553499999995
945
+ },
946
+ {
947
+ type: "text",
948
+ text: "{VAL}",
949
+ x: 0,
950
+ y: -0.1594553499999995
951
+ }
952
+ ],
953
+ ports: [
954
+ { ...refblocks6.left1, labels: ["1"] },
955
+ // TODO add more "standard" labels
956
+ { ...refblocks6.right1, labels: ["2"] }
957
+ // TODO add more "standard" labels
958
+ ],
959
+ size: { width: bounds6.width, height: bounds6.height },
960
+ center: { x: bounds6.centerX, y: bounds6.centerY }
961
+ }).changeTextAnchor("{VAL}", "middle_top").rotateRightFacingSymbol("right").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_bottom").build();
962
+
963
+ // symbols/boxresistor_up.ts
964
+ var { paths: paths7, texts: texts6, bounds: bounds7, refblocks: refblocks7, circles: circles7 } = boxresistor_default;
965
+ var boxresistor_up_default = modifySymbol({
966
+ primitives: [
967
+ ...Object.values(paths7),
968
+ ...Object.values(circles7),
969
+ {
970
+ type: "text",
971
+ text: "{REF}",
972
+ x: -0.16,
973
+ y: 0.2294553499999995
974
+ },
975
+ {
976
+ type: "text",
977
+ text: "{VAL}",
978
+ x: 0.16,
979
+ y: 0.2294553499999995
980
+ }
981
+ ],
982
+ ports: [
983
+ { ...refblocks7.left1, labels: ["1"] },
984
+ // TODO add more "standard" labels
985
+ { ...refblocks7.right1, labels: ["2"] }
986
+ // TODO add more "standard" labels
987
+ ],
988
+ size: { width: bounds7.width, height: bounds7.height },
989
+ center: { x: bounds7.centerX, y: bounds7.centerY }
990
+ }).changeTextAnchor("{VAL}", "middle_bottom").rotateRightFacingSymbol("down").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_left").build();
832
991
 
833
992
  // assets/generated/capacitor.json
834
993
  var capacitor_default = {
@@ -931,75 +1090,12 @@ var capacitor_default = {
931
1090
  circles: {}
932
1091
  };
933
1092
 
934
- // drawing/modify-symbol/modify-symbol.ts
935
- var SymbolModifier = class {
936
- symbol;
937
- constructor(symbol) {
938
- this.symbol = JSON.parse(JSON.stringify(symbol));
939
- }
940
- changeTextAnchor(text, newAnchor) {
941
- this.symbol = {
942
- ...this.symbol,
943
- primitives: this.symbol.primitives.map((primitive) => {
944
- if (primitive.type === "text" && primitive.text === text) {
945
- return {
946
- ...primitive,
947
- anchor: newAnchor
948
- };
949
- }
950
- return primitive;
951
- })
952
- };
953
- return this;
954
- }
955
- labelPort(currentLabel, newLabels) {
956
- this.symbol = {
957
- ...this.symbol,
958
- ports: this.symbol.ports.map((port) => {
959
- return port.labels.includes(currentLabel) ? { ...port, labels: newLabels } : port;
960
- })
961
- };
962
- return this;
963
- }
964
- rotateRightFacingSymbol(newOrientation) {
965
- this.symbol = rotateRightFacingSymbol(this.symbol, {
966
- newOrientation
967
- });
968
- return this;
969
- }
970
- build() {
971
- return this.symbol;
972
- }
973
- };
974
- var modifySymbol = (symbol) => {
975
- return new SymbolModifier({
976
- ...symbol,
977
- primitives: symbol.primitives ?? [
978
- ...Object.values(symbol.paths ?? {}),
979
- ...Object.values(symbol.texts ?? {}),
980
- ...Object.values(symbol.circles ?? {}),
981
- ...Object.values(symbol.rects ?? {})
982
- ],
983
- ports: symbol.ports ?? Object.entries(symbol.refblocks).flatMap(([key, refblock]) => {
984
- return [{ ...refblock, labels: [key] }];
985
- }),
986
- center: symbol.center ?? {
987
- x: symbol.bounds.centerX,
988
- y: symbol.bounds.centerY
989
- },
990
- size: symbol.size ?? {
991
- width: symbol.bounds.width,
992
- height: symbol.bounds.height
993
- }
994
- });
995
- };
996
-
997
1093
  // symbols/capacitor_down.ts
998
- var { paths: paths5, texts: texts4, bounds: bounds5, refblocks: refblocks5, circles: circles4 } = capacitor_default;
1094
+ var { paths: paths8, texts: texts7, bounds: bounds8, refblocks: refblocks8, circles: circles8 } = capacitor_default;
999
1095
  var capacitor_down_default = modifySymbol({
1000
1096
  primitives: [
1001
- ...Object.values(paths5),
1002
- ...Object.values(circles4),
1097
+ ...Object.values(paths8),
1098
+ ...Object.values(circles8),
1003
1099
  {
1004
1100
  type: "text",
1005
1101
  text: "{REF}",
@@ -1014,13 +1110,13 @@ var capacitor_down_default = modifySymbol({
1014
1110
  }
1015
1111
  ],
1016
1112
  ports: [
1017
- { ...refblocks5.left1, labels: ["1"] },
1113
+ { ...refblocks8.left1, labels: ["1"] },
1018
1114
  // TODO add more "standard" labels
1019
- { ...refblocks5.right1, labels: ["2"] }
1115
+ { ...refblocks8.right1, labels: ["2"] }
1020
1116
  // TODO add more "standard" labels
1021
1117
  ],
1022
- size: { width: bounds5.width, height: bounds5.height },
1023
- center: { x: bounds5.centerX, y: bounds5.centerY }
1118
+ size: { width: bounds8.width, height: bounds8.height },
1119
+ center: { x: bounds8.centerX, y: bounds8.centerY }
1024
1120
  }).changeTextAnchor("{VAL}", "top_left").rotateRightFacingSymbol("down").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "bottom_left").build();
1025
1121
 
1026
1122
  // symbols/capacitor_right.ts
@@ -2789,11 +2885,11 @@ var capacitor_polarized_default = {
2789
2885
  };
2790
2886
 
2791
2887
  // symbols/capacitor_polarized_down.ts
2792
- var { paths: paths6, texts: texts5, bounds: bounds6, refblocks: refblocks6, circles: circles5 } = capacitor_polarized_default;
2888
+ var { paths: paths9, texts: texts8, bounds: bounds9, refblocks: refblocks9, circles: circles9 } = capacitor_polarized_default;
2793
2889
  var capacitor_polarized_down_default = modifySymbol({
2794
2890
  primitives: [
2795
- ...Object.values(paths6),
2796
- ...Object.values(circles5),
2891
+ ...Object.values(paths9),
2892
+ ...Object.values(circles9),
2797
2893
  {
2798
2894
  type: "text",
2799
2895
  text: "{REF}",
@@ -2808,13 +2904,13 @@ var capacitor_polarized_down_default = modifySymbol({
2808
2904
  }
2809
2905
  ],
2810
2906
  ports: [
2811
- { ...refblocks6.left1, labels: ["1"] },
2907
+ { ...refblocks9.left1, labels: ["1"] },
2812
2908
  // TODO add more "standard" labels
2813
- { ...refblocks6.right1, labels: ["2"] }
2909
+ { ...refblocks9.right1, labels: ["2"] }
2814
2910
  // TODO add more "standard" labels
2815
2911
  ],
2816
- size: { width: bounds6.width, height: bounds6.height },
2817
- center: { x: bounds6.centerX, y: bounds6.centerY }
2912
+ size: { width: bounds9.width, height: bounds9.height },
2913
+ center: { x: bounds9.centerX, y: bounds9.centerY }
2818
2914
  }).changeTextAnchor("{VAL}", "top_left").rotateRightFacingSymbol("down").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "bottom_left").build();
2819
2915
 
2820
2916
  // symbols/capacitor_polarized_right.ts
@@ -2824,11 +2920,11 @@ var capacitor_polarized_right_default = modifySymbol(capacitor_polarized_default
2824
2920
  var capacitor_polarized_left_default = modifySymbol(capacitor_polarized_right_default).changeTextAnchor("{VAL}", "middle_top").rotateRightFacingSymbol("left").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_top").build();
2825
2921
 
2826
2922
  // symbols/capacitor_polarized_up.ts
2827
- var { paths: paths7, texts: texts6, bounds: bounds7, refblocks: refblocks7, circles: circles6 } = capacitor_polarized_default;
2923
+ var { paths: paths10, texts: texts9, bounds: bounds10, refblocks: refblocks10, circles: circles10 } = capacitor_polarized_default;
2828
2924
  var capacitor_polarized_up_default = modifySymbol({
2829
2925
  primitives: [
2830
- ...Object.values(paths7),
2831
- ...Object.values(circles6),
2926
+ ...Object.values(paths10),
2927
+ ...Object.values(circles10),
2832
2928
  {
2833
2929
  type: "text",
2834
2930
  text: "{REF}",
@@ -2843,21 +2939,21 @@ var capacitor_polarized_up_default = modifySymbol({
2843
2939
  }
2844
2940
  ],
2845
2941
  ports: [
2846
- { ...refblocks7.left1, labels: ["1"] },
2942
+ { ...refblocks10.left1, labels: ["1"] },
2847
2943
  // TODO add more "standard" labels
2848
- { ...refblocks7.right1, labels: ["2"] }
2944
+ { ...refblocks10.right1, labels: ["2"] }
2849
2945
  // TODO add more "standard" labels
2850
2946
  ],
2851
- size: { width: bounds7.width, height: bounds7.height },
2852
- center: { x: bounds7.centerX, y: bounds7.centerY }
2947
+ size: { width: bounds10.width, height: bounds10.height },
2948
+ center: { x: bounds10.centerX, y: bounds10.centerY }
2853
2949
  }).changeTextAnchor("{VAL}", "top_left").rotateRightFacingSymbol("up").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "bottom_left").build();
2854
2950
 
2855
2951
  // symbols/capacitor_up.ts
2856
- var { paths: paths8, texts: texts7, bounds: bounds8, refblocks: refblocks8, circles: circles7 } = capacitor_default;
2952
+ var { paths: paths11, texts: texts10, bounds: bounds11, refblocks: refblocks11, circles: circles11 } = capacitor_default;
2857
2953
  var capacitor_up_default = modifySymbol({
2858
2954
  primitives: [
2859
- ...Object.values(paths8),
2860
- ...Object.values(circles7),
2955
+ ...Object.values(paths11),
2956
+ ...Object.values(circles11),
2861
2957
  {
2862
2958
  type: "text",
2863
2959
  text: "{REF}",
@@ -2872,13 +2968,13 @@ var capacitor_up_default = modifySymbol({
2872
2968
  }
2873
2969
  ],
2874
2970
  ports: [
2875
- { ...refblocks8.left1, labels: ["1"] },
2971
+ { ...refblocks11.left1, labels: ["1"] },
2876
2972
  // TODO add more "standard" labels
2877
- { ...refblocks8.right1, labels: ["2"] }
2973
+ { ...refblocks11.right1, labels: ["2"] }
2878
2974
  // TODO add more "standard" labels
2879
2975
  ],
2880
- size: { width: bounds8.width, height: bounds8.height },
2881
- center: { x: bounds8.centerX, y: bounds8.centerY }
2976
+ size: { width: bounds11.width, height: bounds11.height },
2977
+ center: { x: bounds11.centerX, y: bounds11.centerY }
2882
2978
  }).changeTextAnchor("{VAL}", "top_left").rotateRightFacingSymbol("up").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "bottom_left").build();
2883
2979
 
2884
2980
  // assets/generated/constant_current_diode.json
@@ -3515,11 +3611,11 @@ var dc_ammeter_default = {
3515
3611
  };
3516
3612
 
3517
3613
  // symbols/dc_ammeter_horz.ts
3518
- var { paths: paths9, texts: texts8, bounds: bounds9, refblocks: refblocks9, circles: circles8 } = dc_ammeter_default;
3614
+ var { paths: paths12, texts: texts11, bounds: bounds12, refblocks: refblocks12, circles: circles12 } = dc_ammeter_default;
3519
3615
  var dc_ammeter_horz_default = defineSymbol({
3520
3616
  primitives: [
3521
- ...Object.values(paths9),
3522
- ...Object.values(circles8),
3617
+ ...Object.values(paths12),
3618
+ ...Object.values(circles12),
3523
3619
  {
3524
3620
  type: "text",
3525
3621
  text: "{REF}",
@@ -3534,16 +3630,16 @@ var dc_ammeter_horz_default = defineSymbol({
3534
3630
  y: 0.35,
3535
3631
  anchor: "middle_bottom"
3536
3632
  },
3537
- { ...texts8.left1, x: 0, y: 0.01, anchor: "center", fontSize: 0.3 }
3633
+ { ...texts11.left1, x: 0, y: 0.01, anchor: "center", fontSize: 0.3 }
3538
3634
  ],
3539
3635
  ports: [
3540
- { ...refblocks9.left1, labels: ["1"] },
3636
+ { ...refblocks12.left1, labels: ["1"] },
3541
3637
  // TODO add more "standard" labels
3542
- { ...refblocks9.right1, labels: ["2"] }
3638
+ { ...refblocks12.right1, labels: ["2"] }
3543
3639
  // TODO add more "standard" labels
3544
3640
  ],
3545
- size: { width: bounds9.width, height: bounds9.height },
3546
- center: { x: bounds9.centerX, y: bounds9.centerY }
3641
+ size: { width: bounds12.width, height: bounds12.height },
3642
+ center: { x: bounds12.centerX, y: bounds12.centerY }
3547
3643
  });
3548
3644
 
3549
3645
  // symbols/dc_ammeter_vert.ts
@@ -3689,11 +3785,11 @@ var dc_voltmeter_default = {
3689
3785
  };
3690
3786
 
3691
3787
  // symbols/dc_voltmeter_horz.ts
3692
- var { paths: paths10, texts: texts9, bounds: bounds10, refblocks: refblocks10, circles: circles9 } = dc_voltmeter_default;
3788
+ var { paths: paths13, texts: texts12, bounds: bounds13, refblocks: refblocks13, circles: circles13 } = dc_voltmeter_default;
3693
3789
  var dc_voltmeter_horz_default = defineSymbol({
3694
3790
  primitives: [
3695
- ...Object.values(paths10),
3696
- ...Object.values(circles9),
3791
+ ...Object.values(paths13),
3792
+ ...Object.values(circles13),
3697
3793
  {
3698
3794
  type: "text",
3699
3795
  text: "{REF}",
@@ -3710,13 +3806,13 @@ var dc_voltmeter_horz_default = defineSymbol({
3710
3806
  }
3711
3807
  ],
3712
3808
  ports: [
3713
- { ...refblocks10.left1, labels: ["1"] },
3809
+ { ...refblocks13.left1, labels: ["1"] },
3714
3810
  // TODO add more "standard" labels
3715
- { ...refblocks10.right1, labels: ["2"] }
3811
+ { ...refblocks13.right1, labels: ["2"] }
3716
3812
  // TODO add more "standard" labels
3717
3813
  ],
3718
- size: { width: bounds10.width, height: bounds10.height },
3719
- center: { x: bounds10.centerX, y: bounds10.centerY }
3814
+ size: { width: bounds13.width, height: bounds13.height },
3815
+ center: { x: bounds13.centerX, y: bounds13.centerY }
3720
3816
  });
3721
3817
 
3722
3818
  // symbols/dc_voltmeter_vert.ts
@@ -3894,11 +3990,11 @@ var diac_horz_default = modifySymbol(diac_default).changeTextAnchor("{VAL}", "mi
3894
3990
 
3895
3991
  // symbols/diac_vert.ts
3896
3992
  var rotatedSymbol4 = rotateSymbol(diac_horz_default);
3897
- var texts10 = rotatedSymbol4.primitives.filter(
3993
+ var texts13 = rotatedSymbol4.primitives.filter(
3898
3994
  (primitive) => primitive.type === "text"
3899
3995
  );
3900
- var ref = texts10.find((text) => text.text === "{REF}");
3901
- var val = texts10.find((text) => text.text === "{VAL}");
3996
+ var ref = texts13.find((text) => text.text === "{REF}");
3997
+ var val = texts13.find((text) => text.text === "{VAL}");
3902
3998
  ref.y = 0;
3903
3999
  val.y = 0;
3904
4000
  var diac_vert_default = rotatedSymbol4;
@@ -4203,36 +4299,36 @@ var dpst_switch_default = {
4203
4299
 
4204
4300
  // symbols/dpst_switch_horz.ts
4205
4301
  dpst_switch_default.bounds.width += 0.2;
4206
- var { paths: paths11, texts: texts11, bounds: bounds11, refblocks: refblocks11, circles: circles10 } = dpst_switch_default;
4302
+ var { paths: paths14, texts: texts14, bounds: bounds14, refblocks: refblocks14, circles: circles14 } = dpst_switch_default;
4207
4303
  var dpst_switch_horz_default = defineSymbol({
4208
4304
  primitives: [
4209
- ...Object.values(paths11),
4210
- ...Object.values(circles10),
4211
- { ...texts11.top1, anchor: "middle_bottom", x: 0 },
4212
- { ...texts11.bottom1, anchor: "middle_top", x: 0 }
4305
+ ...Object.values(paths14),
4306
+ ...Object.values(circles14),
4307
+ { ...texts14.top1, anchor: "middle_bottom", x: 0 },
4308
+ { ...texts14.bottom1, anchor: "middle_top", x: 0 }
4213
4309
  ],
4214
4310
  ports: [
4215
- { ...refblocks11.left1, labels: ["1", "left1"] },
4311
+ { ...refblocks14.left1, labels: ["1", "left1"] },
4216
4312
  // TODO add more "standard" labels
4217
- { ...refblocks11.left3, labels: ["3", "left3"] },
4313
+ { ...refblocks14.left3, labels: ["3", "left3"] },
4218
4314
  // TODO add more "standard" labels
4219
- { ...refblocks11.right1, labels: ["2", "right1"] },
4315
+ { ...refblocks14.right1, labels: ["2", "right1"] },
4220
4316
  // TODO add more "standard" labels
4221
- { ...refblocks11.right3, labels: ["4", "right3"] }
4317
+ { ...refblocks14.right3, labels: ["4", "right3"] }
4222
4318
  // TODO add more "standard" labels
4223
4319
  ],
4224
- size: { width: bounds11.width, height: bounds11.height },
4225
- center: { x: bounds11.centerX, y: bounds11.centerY }
4320
+ size: { width: bounds14.width, height: bounds14.height },
4321
+ center: { x: bounds14.centerX, y: bounds14.centerY }
4226
4322
  });
4227
4323
 
4228
4324
  // symbols/dpst_switch_vert.ts
4229
4325
  var rotatedSymbol5 = rotateSymbol(dpst_switch_horz_default);
4230
- var texts12 = rotatedSymbol5.primitives.filter((p) => p.type === "text");
4231
- var val2 = texts12.find((t) => t.text === "{VAL}");
4326
+ var texts15 = rotatedSymbol5.primitives.filter((p) => p.type === "text");
4327
+ var val2 = texts15.find((t) => t.text === "{VAL}");
4232
4328
  val2.anchor = "middle_right";
4233
4329
  val2.x = -0.35;
4234
4330
  val2.y = 0;
4235
- var ref2 = texts12.find((t) => t.text === "{REF}");
4331
+ var ref2 = texts15.find((t) => t.text === "{REF}");
4236
4332
  ref2.anchor = "middle_left";
4237
4333
  ref2.x = 0.3;
4238
4334
  ref2.y = 0;
@@ -4446,11 +4542,11 @@ var frequency_meter_default = {
4446
4542
  };
4447
4543
 
4448
4544
  // symbols/frequency_meter_horz.ts
4449
- var { paths: paths12, texts: texts13, bounds: bounds12, refblocks: refblocks12, circles: circles11 } = frequency_meter_default;
4545
+ var { paths: paths15, texts: texts16, bounds: bounds15, refblocks: refblocks15, circles: circles15 } = frequency_meter_default;
4450
4546
  var frequency_meter_horz_default = defineSymbol({
4451
4547
  primitives: [
4452
- ...Object.values(paths12),
4453
- ...Object.values(circles11),
4548
+ ...Object.values(paths15),
4549
+ ...Object.values(circles15),
4454
4550
  {
4455
4551
  type: "text",
4456
4552
  text: "{REF}",
@@ -4465,16 +4561,16 @@ var frequency_meter_horz_default = defineSymbol({
4465
4561
  y: 0.35,
4466
4562
  anchor: "middle_bottom"
4467
4563
  },
4468
- { ...texts13.left1, x: 0, y: 0.01, anchor: "center", fontSize: 0.2 }
4564
+ { ...texts16.left1, x: 0, y: 0.01, anchor: "center", fontSize: 0.2 }
4469
4565
  ],
4470
4566
  ports: [
4471
- { ...refblocks12.left1, labels: ["1"] },
4567
+ { ...refblocks15.left1, labels: ["1"] },
4472
4568
  // TODO add more "standard" labels
4473
- { ...refblocks12.right1, labels: ["2"] }
4569
+ { ...refblocks15.right1, labels: ["2"] }
4474
4570
  // TODO add more "standard" labels
4475
4571
  ],
4476
- size: { width: bounds12.width, height: bounds12.height },
4477
- center: { x: bounds12.centerX, y: bounds12.centerY }
4572
+ size: { width: bounds15.width, height: bounds15.height },
4573
+ center: { x: bounds15.centerX, y: bounds15.centerY }
4478
4574
  });
4479
4575
 
4480
4576
  // symbols/frequency_meter_vert.ts
@@ -4579,11 +4675,11 @@ var fuse_default = {
4579
4675
  };
4580
4676
 
4581
4677
  // symbols/fuse_horz.ts
4582
- var { paths: paths13, texts: texts14, bounds: bounds13, refblocks: refblocks13 } = fuse_default;
4678
+ var { paths: paths16, texts: texts17, bounds: bounds16, refblocks: refblocks16 } = fuse_default;
4583
4679
  var fuse_horz_default = defineSymbol({
4584
4680
  primitives: [
4585
- ...Object.values(paths13),
4586
- { ...texts14.top1, anchor: "middle_bottom" },
4681
+ ...Object.values(paths16),
4682
+ { ...texts17.top1, anchor: "middle_bottom" },
4587
4683
  {
4588
4684
  type: "text",
4589
4685
  text: "{VAL}",
@@ -4593,13 +4689,13 @@ var fuse_horz_default = defineSymbol({
4593
4689
  }
4594
4690
  ],
4595
4691
  ports: [
4596
- { ...refblocks13.left1, labels: ["1"] },
4692
+ { ...refblocks16.left1, labels: ["1"] },
4597
4693
  // TODO add more "standard" labels
4598
- { ...refblocks13.right1, labels: ["2"] }
4694
+ { ...refblocks16.right1, labels: ["2"] }
4599
4695
  // TODO add more "standard" labels
4600
4696
  ],
4601
- size: { width: bounds13.width, height: bounds13.height },
4602
- center: { x: bounds13.centerX, y: bounds13.centerY }
4697
+ size: { width: bounds16.width, height: bounds16.height },
4698
+ center: { x: bounds16.centerX, y: bounds16.centerY }
4603
4699
  });
4604
4700
 
4605
4701
  // symbols/fuse_vert.ts
@@ -4707,11 +4803,11 @@ var ground_default = {
4707
4803
  };
4708
4804
 
4709
4805
  // symbols/ground_horz.ts
4710
- var { paths: paths14, circles: circles12, bounds: bounds14, refblocks: refblocks14 } = ground_default;
4806
+ var { paths: paths17, circles: circles16, bounds: bounds17, refblocks: refblocks17 } = ground_default;
4711
4807
  var horizontalSymbol = defineSymbol({
4712
4808
  primitives: [
4713
- ...Object.values(paths14),
4714
- ...Object.values(circles12),
4809
+ ...Object.values(paths17),
4810
+ ...Object.values(circles16),
4715
4811
  {
4716
4812
  type: "text",
4717
4813
  text: "{REF}",
@@ -4735,7 +4831,7 @@ var horizontalSymbol = defineSymbol({
4735
4831
  // Horizontal anchor for VAL
4736
4832
  }
4737
4833
  ],
4738
- ports: [{ ...refblocks14.top1, labels: ["1"] }],
4834
+ ports: [{ ...refblocks17.top1, labels: ["1"] }],
4739
4835
  size: { width: 1, height: 1 },
4740
4836
  center: { x: 0, y: 0.4 }
4741
4837
  });
@@ -4862,7 +4958,7 @@ var gunn_diode_default = {
4862
4958
  };
4863
4959
 
4864
4960
  // symbols/gunn_diode_horz.ts
4865
- var { paths: paths15, texts: texts15, bounds: bounds15, refblocks: refblocks15, circles: circles13 } = gunn_diode_default;
4961
+ var { paths: paths18, texts: texts18, bounds: bounds18, refblocks: refblocks18, circles: circles17 } = gunn_diode_default;
4866
4962
  var gunn_diode_horz_default = modifySymbol(gunn_diode_default).changeTextAnchor("{VAL}", "middle_top").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_bottom").build();
4867
4963
 
4868
4964
  // symbols/gunn_diode_vert.ts
@@ -5300,12 +5396,12 @@ var illuminated_push_button_normally_open_horz_default = modifySymbol(illuminate
5300
5396
 
5301
5397
  // symbols/illuminated_push_button_normally_open_vert.ts
5302
5398
  var rotatedSymbol7 = rotateSymbol(illuminated_push_button_normally_open_horz_default);
5303
- var texts16 = rotatedSymbol7.primitives.filter((p) => p.type === "text");
5304
- var val4 = texts16.find((t) => t.text === "{VAL}");
5399
+ var texts19 = rotatedSymbol7.primitives.filter((p) => p.type === "text");
5400
+ var val4 = texts19.find((t) => t.text === "{VAL}");
5305
5401
  val4.x = -0.35;
5306
5402
  val4.y = 0;
5307
5403
  val4.anchor = "middle_right";
5308
- var ref4 = texts16.find((t) => t.text === "{REF}");
5404
+ var ref4 = texts19.find((t) => t.text === "{REF}");
5309
5405
  ref4.y = 0;
5310
5406
  ref4.x = 0.35;
5311
5407
  ref4.anchor = "middle_left";
@@ -6387,22 +6483,22 @@ var inductor_default = {
6387
6483
  };
6388
6484
 
6389
6485
  // symbols/inductor_horz.ts
6390
- var { paths: paths16, texts: texts17, bounds: bounds16, refblocks: refblocks16, circles: circles14 } = inductor_default;
6486
+ var { paths: paths19, texts: texts20, bounds: bounds19, refblocks: refblocks19, circles: circles18 } = inductor_default;
6391
6487
  var inductor_horz_default = defineSymbol({
6392
6488
  primitives: [
6393
- ...Object.values(paths16),
6394
- ...Object.values(circles14),
6395
- { ...texts17.top1, anchor: "middle_bottom" },
6396
- { ...texts17.bottom1, anchor: "middle_top" }
6489
+ ...Object.values(paths19),
6490
+ ...Object.values(circles18),
6491
+ { ...texts20.top1, anchor: "middle_bottom" },
6492
+ { ...texts20.bottom1, anchor: "middle_top" }
6397
6493
  ],
6398
6494
  ports: [
6399
- { ...refblocks16.left1, labels: ["1"] },
6495
+ { ...refblocks19.left1, labels: ["1"] },
6400
6496
  // TODO add more "standard" labels
6401
- { ...refblocks16.right1, labels: ["2"] }
6497
+ { ...refblocks19.right1, labels: ["2"] }
6402
6498
  // TODO add more "standard" labels
6403
6499
  ],
6404
- size: { width: bounds16.width, height: bounds16.height },
6405
- center: { x: bounds16.centerX, y: bounds16.centerY }
6500
+ size: { width: bounds19.width, height: bounds19.height },
6501
+ center: { x: bounds19.centerX, y: bounds19.centerY }
6406
6502
  });
6407
6503
 
6408
6504
  // symbols/inductor_vert.ts
@@ -6653,8 +6749,8 @@ var laser_diode_horz_default = modifySymbol(laser_diode_default).changeTextAncho
6653
6749
 
6654
6750
  // symbols/laser_diode_vert.ts
6655
6751
  var rotatedSymbol8 = rotateSymbol(laser_diode_horz_default);
6656
- var texts18 = rotatedSymbol8.primitives.filter((p) => p.type === "text");
6657
- var ref5 = texts18.find((t) => t.text === "{VAL}");
6752
+ var texts21 = rotatedSymbol8.primitives.filter((p) => p.type === "text");
6753
+ var ref5 = texts21.find((t) => t.text === "{VAL}");
6658
6754
  ref5.x = -0.52;
6659
6755
  ref5.anchor = "middle_right";
6660
6756
  var laser_diode_vert_default = rotatedSymbol8;
@@ -6875,22 +6971,22 @@ var led_default = {
6875
6971
  };
6876
6972
 
6877
6973
  // symbols/led_right.ts
6878
- var { paths: paths17, texts: texts19, bounds: bounds17, refblocks: refblocks17, circles: circles15 } = led_default;
6974
+ var { paths: paths20, texts: texts22, bounds: bounds20, refblocks: refblocks20, circles: circles19 } = led_default;
6879
6975
  var led_right_default = defineSymbol({
6880
6976
  primitives: [
6881
- ...Object.values(paths17),
6882
- ...Object.values(circles15),
6883
- { ...texts19.bottom1, anchor: "middle_top" },
6884
- { ...texts19.right1, anchor: "middle_bottom" }
6977
+ ...Object.values(paths20),
6978
+ ...Object.values(circles19),
6979
+ { ...texts22.bottom1, anchor: "middle_top" },
6980
+ { ...texts22.right1, anchor: "middle_bottom" }
6885
6981
  ],
6886
6982
  ports: [
6887
- { ...refblocks17.left1, labels: ["1"] },
6983
+ { ...refblocks20.left1, labels: ["1"] },
6888
6984
  // TODO add more "standard" labels
6889
- { ...refblocks17.right1, labels: ["2"] }
6985
+ { ...refblocks20.right1, labels: ["2"] }
6890
6986
  // TODO add more "standard" labels
6891
6987
  ],
6892
- size: { width: bounds17.width, height: bounds17.height },
6893
- center: { x: bounds17.centerX, y: bounds17.centerY }
6988
+ size: { width: bounds20.width, height: bounds20.height },
6989
+ center: { x: bounds20.centerX, y: bounds20.centerY }
6894
6990
  });
6895
6991
 
6896
6992
  // symbols/led_down.ts
@@ -7143,32 +7239,32 @@ var light_dependent_resistor_default = {
7143
7239
  };
7144
7240
 
7145
7241
  // symbols/light_dependent_resistor_horz.ts
7146
- var { paths: paths18, texts: texts20, bounds: bounds18, refblocks: refblocks18, circles: circles16 } = light_dependent_resistor_default;
7242
+ var { paths: paths21, texts: texts23, bounds: bounds21, refblocks: refblocks21, circles: circles20 } = light_dependent_resistor_default;
7147
7243
  var light_dependent_resistor_horz_default = defineSymbol({
7148
7244
  primitives: [
7149
- ...Object.values(paths18),
7150
- ...Object.values(circles16),
7151
- { ...texts20.top1, anchor: "middle_left", x: 0 },
7152
- { ...texts20.bottom1, anchor: "middle_left", x: 0 }
7245
+ ...Object.values(paths21),
7246
+ ...Object.values(circles20),
7247
+ { ...texts23.top1, anchor: "middle_left", x: 0 },
7248
+ { ...texts23.bottom1, anchor: "middle_left", x: 0 }
7153
7249
  ],
7154
7250
  ports: [
7155
- { ...refblocks18.left1, labels: ["1"] },
7251
+ { ...refblocks21.left1, labels: ["1"] },
7156
7252
  // TODO add more "standard" labels
7157
- { ...refblocks18.right1, labels: ["2"] }
7253
+ { ...refblocks21.right1, labels: ["2"] }
7158
7254
  // TODO add more "standard" labels
7159
7255
  ],
7160
- size: { width: bounds18.width, height: bounds18.height },
7161
- center: { x: bounds18.centerX, y: bounds18.centerY }
7256
+ size: { width: bounds21.width, height: bounds21.height },
7257
+ center: { x: bounds21.centerX, y: bounds21.centerY }
7162
7258
  });
7163
7259
 
7164
7260
  // symbols/light_dependent_resistor_vert.ts
7165
7261
  var rotatedSymbol9 = rotateSymbol(light_dependent_resistor_horz_default);
7166
- var texts21 = rotatedSymbol9.primitives.filter((p) => p.type === "text");
7167
- var val5 = texts21.find((t) => t.text === "{VAL}");
7262
+ var texts24 = rotatedSymbol9.primitives.filter((p) => p.type === "text");
7263
+ var val5 = texts24.find((t) => t.text === "{VAL}");
7168
7264
  val5.x = -0.35;
7169
7265
  val5.y = 0;
7170
7266
  val5.anchor = "middle_right";
7171
- var ref6 = texts21.find((t) => t.text === "{REF}");
7267
+ var ref6 = texts24.find((t) => t.text === "{REF}");
7172
7268
  ref6.y = 0;
7173
7269
  ref6.x = 0.35;
7174
7270
  ref6.anchor = "middle_left";
@@ -7445,23 +7541,23 @@ var mosfet_depletion_normally_on_default = {
7445
7541
  };
7446
7542
 
7447
7543
  // symbols/mosfet_depletion_normally_on_horz.ts
7448
- var { paths: paths19, texts: texts22, bounds: bounds19, refblocks: refblocks19 } = mosfet_depletion_normally_on_default;
7544
+ var { paths: paths22, texts: texts25, bounds: bounds22, refblocks: refblocks22 } = mosfet_depletion_normally_on_default;
7449
7545
  var mosfet_depletion_normally_on_horz_default = defineSymbol({
7450
7546
  primitives: [
7451
- ...Object.values(paths19),
7452
- { ...texts22.right1, anchor: "middle_left" },
7453
- { ...texts22.right2, anchor: "middle_left" }
7547
+ ...Object.values(paths22),
7548
+ { ...texts25.right1, anchor: "middle_left" },
7549
+ { ...texts25.right2, anchor: "middle_left" }
7454
7550
  ],
7455
7551
  ports: [
7456
- { ...refblocks19.top1, labels: ["1"] },
7552
+ { ...refblocks22.top1, labels: ["1"] },
7457
7553
  // TODO add more "standard" labels
7458
- { ...refblocks19.bottom1, labels: ["2"] },
7554
+ { ...refblocks22.bottom1, labels: ["2"] },
7459
7555
  // TODO add more "standard" labels
7460
- { ...refblocks19.left1, labels: ["3"] }
7556
+ { ...refblocks22.left1, labels: ["3"] }
7461
7557
  // TODO add more "standard" labels
7462
7558
  ],
7463
- size: { width: bounds19.width + 0.4, height: bounds19.height },
7464
- center: { x: bounds19.centerX + 0.2, y: bounds19.centerY }
7559
+ size: { width: bounds22.width + 0.4, height: bounds22.height },
7560
+ center: { x: bounds22.centerX + 0.2, y: bounds22.centerY }
7465
7561
  });
7466
7562
 
7467
7563
  // symbols/mosfet_depletion_normally_on_vert.ts
@@ -8087,20 +8183,20 @@ var mushroom_head_normally_open_momentary_default = {
8087
8183
  };
8088
8184
 
8089
8185
  // symbols/mushroom_head_normally_open_momentary_horz.ts
8090
- var { paths: paths20, texts: texts23, bounds: bounds20, refblocks: refblocks20, circles: circles17 } = mushroom_head_normally_open_momentary_default;
8186
+ var { paths: paths23, texts: texts26, bounds: bounds23, refblocks: refblocks23, circles: circles21 } = mushroom_head_normally_open_momentary_default;
8091
8187
  var mushroom_head_normally_open_momentary_horz_default = defineSymbol({
8092
8188
  primitives: [
8093
- ...Object.values(paths20),
8094
- ...Object.values(circles17),
8095
- { ...texts23.top1, anchor: "middle_bottom", x: 0 },
8096
- { ...texts23.bottom1, anchor: "middle_top", x: 0 }
8189
+ ...Object.values(paths23),
8190
+ ...Object.values(circles21),
8191
+ { ...texts26.top1, anchor: "middle_bottom", x: 0 },
8192
+ { ...texts26.bottom1, anchor: "middle_top", x: 0 }
8097
8193
  ],
8098
8194
  ports: [
8099
- { ...refblocks20.left1, labels: ["1"] },
8100
- { ...refblocks20.right1, labels: ["2"] }
8195
+ { ...refblocks23.left1, labels: ["1"] },
8196
+ { ...refblocks23.right1, labels: ["2"] }
8101
8197
  ],
8102
- size: { width: bounds20.width, height: bounds20.height },
8103
- center: { x: bounds20.centerX + 6e-3, y: bounds20.centerY + 0.06 }
8198
+ size: { width: bounds23.width, height: bounds23.height },
8199
+ center: { x: bounds23.centerX + 6e-3, y: bounds23.centerY + 0.06 }
8104
8200
  });
8105
8201
 
8106
8202
  // symbols/mushroom_head_normally_open_momentary_vert.ts
@@ -8313,34 +8409,34 @@ var n_channel_d_mosfet_transistor_default = {
8313
8409
  };
8314
8410
 
8315
8411
  // symbols/n_channel_d_mosfet_transistor_horz.ts
8316
- var { paths: paths21, texts: texts24, bounds: bounds21, refblocks: refblocks21, circles: circles18 } = n_channel_d_mosfet_transistor_default;
8412
+ var { paths: paths24, texts: texts27, bounds: bounds24, refblocks: refblocks24, circles: circles22 } = n_channel_d_mosfet_transistor_default;
8317
8413
  var n_channel_d_mosfet_transistor_horz_default = defineSymbol({
8318
8414
  primitives: [
8319
- ...Object.values(paths21),
8320
- ...Object.values(circles18),
8321
- { ...texts24.top1, anchor: "middle_right", x: 0 },
8322
- { ...texts24.bottom1, anchor: "middle_right", x: 0 }
8415
+ ...Object.values(paths24),
8416
+ ...Object.values(circles22),
8417
+ { ...texts27.top1, anchor: "middle_right", x: 0 },
8418
+ { ...texts27.bottom1, anchor: "middle_right", x: 0 }
8323
8419
  ],
8324
8420
  ports: [
8325
- { ...refblocks21.top1, labels: ["1", "drain"] },
8421
+ { ...refblocks24.top1, labels: ["1", "drain"] },
8326
8422
  // TODO add more "standard" labels
8327
- { ...refblocks21.bottom1, labels: ["2", "source"] },
8423
+ { ...refblocks24.bottom1, labels: ["2", "source"] },
8328
8424
  // TODO add more "standard" labels
8329
- { ...refblocks21.left1, labels: ["3", "gate"] }
8425
+ { ...refblocks24.left1, labels: ["3", "gate"] }
8330
8426
  // TODO add more "standard" labels
8331
8427
  ],
8332
- size: { width: bounds21.width, height: bounds21.height },
8333
- center: { x: bounds21.centerX, y: bounds21.centerY }
8428
+ size: { width: bounds24.width, height: bounds24.height },
8429
+ center: { x: bounds24.centerX, y: bounds24.centerY }
8334
8430
  });
8335
8431
 
8336
8432
  // symbols/n_channel_d_mosfet_transistor_vert.ts
8337
8433
  var rotatedSymbol10 = rotateSymbol(n_channel_d_mosfet_transistor_horz_default);
8338
- var texts25 = rotatedSymbol10.primitives.filter((p) => p.type === "text");
8339
- var val8 = texts25.find((t) => t.text === "{VAL}");
8434
+ var texts28 = rotatedSymbol10.primitives.filter((p) => p.type === "text");
8435
+ var val8 = texts28.find((t) => t.text === "{VAL}");
8340
8436
  val8.x = -0.35;
8341
8437
  val8.y = 0;
8342
8438
  val8.anchor = "middle_right";
8343
- var ref9 = texts25.find((t) => t.text === "{REF}");
8439
+ var ref9 = texts28.find((t) => t.text === "{REF}");
8344
8440
  ref9.y = 0;
8345
8441
  ref9.x = 0.35;
8346
8442
  ref9.anchor = "middle_left";
@@ -8570,34 +8666,34 @@ var n_channel_e_mosfet_transistor_default = {
8570
8666
  };
8571
8667
 
8572
8668
  // symbols/n_channel_e_mosfet_transistor_horz.ts
8573
- var { paths: paths22, texts: texts26, bounds: bounds22, refblocks: refblocks22, circles: circles19 } = n_channel_e_mosfet_transistor_default;
8669
+ var { paths: paths25, texts: texts29, bounds: bounds25, refblocks: refblocks25, circles: circles23 } = n_channel_e_mosfet_transistor_default;
8574
8670
  var n_channel_e_mosfet_transistor_horz_default = defineSymbol({
8575
8671
  primitives: [
8576
- ...Object.values(paths22),
8577
- ...Object.values(circles19),
8578
- { ...texts26.top1, anchor: "middle_right", x: 0 },
8579
- { ...texts26.bottom1, anchor: "middle_right", x: 0 }
8672
+ ...Object.values(paths25),
8673
+ ...Object.values(circles23),
8674
+ { ...texts29.top1, anchor: "middle_right", x: 0 },
8675
+ { ...texts29.bottom1, anchor: "middle_right", x: 0 }
8580
8676
  ],
8581
8677
  ports: [
8582
- { ...refblocks22.top1, labels: ["1", "drain"] },
8678
+ { ...refblocks25.top1, labels: ["1", "drain"] },
8583
8679
  // TODO add more "standard" labels
8584
- { ...refblocks22.bottom1, labels: ["2", "source"] },
8680
+ { ...refblocks25.bottom1, labels: ["2", "source"] },
8585
8681
  // TODO add more "standard" labels
8586
- { ...refblocks22.left1, labels: ["3", "gate"] }
8682
+ { ...refblocks25.left1, labels: ["3", "gate"] }
8587
8683
  // TODO add more "standard" labels
8588
8684
  ],
8589
- size: { width: bounds22.width, height: bounds22.height },
8590
- center: { x: bounds22.centerX, y: bounds22.centerY }
8685
+ size: { width: bounds25.width, height: bounds25.height },
8686
+ center: { x: bounds25.centerX, y: bounds25.centerY }
8591
8687
  });
8592
8688
 
8593
8689
  // symbols/n_channel_e_mosfet_transistor_vert.ts
8594
8690
  var rotatedSymbol11 = rotateSymbol(n_channel_e_mosfet_transistor_horz_default);
8595
- var texts27 = rotatedSymbol11.primitives.filter((p) => p.type === "text");
8596
- var val9 = texts27.find((t) => t.text === "{VAL}");
8691
+ var texts30 = rotatedSymbol11.primitives.filter((p) => p.type === "text");
8692
+ var val9 = texts30.find((t) => t.text === "{VAL}");
8597
8693
  val9.x = -0.35;
8598
8694
  val9.y = 0;
8599
8695
  val9.anchor = "middle_right";
8600
- var ref10 = texts27.find((t) => t.text === "{REF}");
8696
+ var ref10 = texts30.find((t) => t.text === "{REF}");
8601
8697
  ref10.y = 0;
8602
8698
  ref10.x = 0.35;
8603
8699
  ref10.anchor = "middle_left";
@@ -8767,34 +8863,34 @@ var njfet_transistor_default = {
8767
8863
  };
8768
8864
 
8769
8865
  // symbols/njfet_transistor_horz.ts
8770
- var { paths: paths23, texts: texts28, bounds: bounds23, refblocks: refblocks23, circles: circles20 } = njfet_transistor_default;
8866
+ var { paths: paths26, texts: texts31, bounds: bounds26, refblocks: refblocks26, circles: circles24 } = njfet_transistor_default;
8771
8867
  var njfet_transistor_horz_default = defineSymbol({
8772
8868
  primitives: [
8773
- ...Object.values(paths23),
8774
- ...Object.values(circles20),
8775
- { ...texts28.top1, anchor: "middle_right", x: 0 },
8776
- { ...texts28.bottom1, anchor: "middle_right", x: 0 }
8869
+ ...Object.values(paths26),
8870
+ ...Object.values(circles24),
8871
+ { ...texts31.top1, anchor: "middle_right", x: 0 },
8872
+ { ...texts31.bottom1, anchor: "middle_right", x: 0 }
8777
8873
  ],
8778
8874
  ports: [
8779
- { ...refblocks23.top1, labels: ["1", "drain"] },
8875
+ { ...refblocks26.top1, labels: ["1", "drain"] },
8780
8876
  // TODO add more "standard" labels
8781
- { ...refblocks23.bottom1, labels: ["2", "source"] },
8877
+ { ...refblocks26.bottom1, labels: ["2", "source"] },
8782
8878
  // TODO add more "standard" labels
8783
- { ...refblocks23.left1, labels: ["3", "gate"] }
8879
+ { ...refblocks26.left1, labels: ["3", "gate"] }
8784
8880
  // TODO add more "standard" labels
8785
8881
  ],
8786
- size: { width: bounds23.width, height: bounds23.height },
8787
- center: { x: bounds23.centerX, y: bounds23.centerY }
8882
+ size: { width: bounds26.width, height: bounds26.height },
8883
+ center: { x: bounds26.centerX, y: bounds26.centerY }
8788
8884
  });
8789
8885
 
8790
8886
  // symbols/njfet_transistor_vert.ts
8791
8887
  var rotatedSymbol12 = rotateSymbol(njfet_transistor_horz_default);
8792
- var texts29 = rotatedSymbol12.primitives.filter((p) => p.type === "text");
8793
- var val10 = texts29.find((t) => t.text === "{VAL}");
8888
+ var texts32 = rotatedSymbol12.primitives.filter((p) => p.type === "text");
8889
+ var val10 = texts32.find((t) => t.text === "{VAL}");
8794
8890
  val10.x = -0.35;
8795
8891
  val10.y = 0;
8796
8892
  val10.anchor = "middle_right";
8797
- var ref11 = texts29.find((t) => t.text === "{REF}");
8893
+ var ref11 = texts32.find((t) => t.text === "{REF}");
8798
8894
  ref11.y = 0;
8799
8895
  ref11.x = 0.35;
8800
8896
  ref11.anchor = "middle_left";
@@ -8964,13 +9060,13 @@ var npn_bipolar_transistor_default = {
8964
9060
  };
8965
9061
 
8966
9062
  // symbols/npn_bipolar_transistor_horz.ts
8967
- var { paths: paths24, texts: texts30, bounds: bounds24, refblocks: refblocks24, circles: circles21 } = npn_bipolar_transistor_default;
9063
+ var { paths: paths27, texts: texts33, bounds: bounds27, refblocks: refblocks27, circles: circles25 } = npn_bipolar_transistor_default;
8968
9064
  var npn_bipolar_transistor_horz_default = modifySymbol(npn_bipolar_transistor_default).changeTextAnchor("{VAL}", "middle_right").labelPort("left1", ["3"]).labelPort("top1", ["2"]).labelPort("bottom1", ["1"]).changeTextAnchor("{REF}", "middle_right").build();
8969
9065
 
8970
9066
  // symbols/npn_bipolar_transistor_vert.ts
8971
9067
  var rotatedSymbol13 = rotateSymbol(npn_bipolar_transistor_horz_default);
8972
- var texts31 = rotatedSymbol13.primitives.filter((p) => p.type === "text");
8973
- var ref12 = texts31.find((t) => t.text === "{REF}");
9068
+ var texts34 = rotatedSymbol13.primitives.filter((p) => p.type === "text");
9069
+ var ref12 = texts34.find((t) => t.text === "{REF}");
8974
9070
  ref12.anchor = "middle_left";
8975
9071
  var npn_bipolar_transistor_vert_default = modifySymbol(npn_bipolar_transistor_default).rotateRightFacingSymbol("down").changeTextAnchor("{VAL}", "middle_right").labelPort("left1", ["3"]).labelPort("top1", ["2"]).labelPort("bottom1", ["1"]).changeTextAnchor("{REF}", "middle_left").build();
8976
9072
 
@@ -9168,34 +9264,34 @@ var p_channel_d_mosfet_transistor_default = {
9168
9264
  };
9169
9265
 
9170
9266
  // symbols/p_channel_d_mosfet_transistor_horz.ts
9171
- var { paths: paths25, texts: texts32, bounds: bounds25, refblocks: refblocks25, circles: circles22 } = p_channel_d_mosfet_transistor_default;
9267
+ var { paths: paths28, texts: texts35, bounds: bounds28, refblocks: refblocks28, circles: circles26 } = p_channel_d_mosfet_transistor_default;
9172
9268
  var p_channel_d_mosfet_transistor_horz_default = defineSymbol({
9173
9269
  primitives: [
9174
- ...Object.values(paths25),
9175
- ...Object.values(circles22),
9176
- { ...texts32.top1, anchor: "middle_right", x: 0 },
9177
- { ...texts32.bottom1, anchor: "middle_right", x: 0 }
9270
+ ...Object.values(paths28),
9271
+ ...Object.values(circles26),
9272
+ { ...texts35.top1, anchor: "middle_right", x: 0 },
9273
+ { ...texts35.bottom1, anchor: "middle_right", x: 0 }
9178
9274
  ],
9179
9275
  ports: [
9180
- { ...refblocks25.top1, labels: ["1", "drain"] },
9276
+ { ...refblocks28.top1, labels: ["1", "drain"] },
9181
9277
  // TODO add more "standard" labels
9182
- { ...refblocks25.bottom1, labels: ["2", "source"] },
9278
+ { ...refblocks28.bottom1, labels: ["2", "source"] },
9183
9279
  // TODO add more "standard" labels
9184
- { ...refblocks25.left1, labels: ["3", "gate"] }
9280
+ { ...refblocks28.left1, labels: ["3", "gate"] }
9185
9281
  // TODO add more "standard" labels
9186
9282
  ],
9187
- size: { width: bounds25.width, height: bounds25.height },
9188
- center: { x: bounds25.centerX, y: bounds25.centerY }
9283
+ size: { width: bounds28.width, height: bounds28.height },
9284
+ center: { x: bounds28.centerX, y: bounds28.centerY }
9189
9285
  });
9190
9286
 
9191
9287
  // symbols/p_channel_d_mosfet_transistor_vert.ts
9192
9288
  var rotatedSymbol14 = rotateSymbol(p_channel_d_mosfet_transistor_horz_default);
9193
- var texts33 = rotatedSymbol14.primitives.filter((p) => p.type === "text");
9194
- var val11 = texts33.find((t) => t.text === "{VAL}");
9289
+ var texts36 = rotatedSymbol14.primitives.filter((p) => p.type === "text");
9290
+ var val11 = texts36.find((t) => t.text === "{VAL}");
9195
9291
  val11.x = -0.35;
9196
9292
  val11.y = 0;
9197
9293
  val11.anchor = "middle_right";
9198
- var ref13 = texts33.find((t) => t.text === "{REF}");
9294
+ var ref13 = texts36.find((t) => t.text === "{REF}");
9199
9295
  ref13.y = 0;
9200
9296
  ref13.x = 0.35;
9201
9297
  ref13.anchor = "middle_left";
@@ -9425,34 +9521,34 @@ var p_channel_e_mosfet_transistor_default = {
9425
9521
  };
9426
9522
 
9427
9523
  // symbols/p_channel_e_mosfet_transistor_horz.ts
9428
- var { paths: paths26, texts: texts34, bounds: bounds26, refblocks: refblocks26, circles: circles23 } = p_channel_e_mosfet_transistor_default;
9524
+ var { paths: paths29, texts: texts37, bounds: bounds29, refblocks: refblocks29, circles: circles27 } = p_channel_e_mosfet_transistor_default;
9429
9525
  var p_channel_e_mosfet_transistor_horz_default = defineSymbol({
9430
9526
  primitives: [
9431
- ...Object.values(paths26),
9432
- ...Object.values(circles23),
9433
- { ...texts34.top1, anchor: "middle_right", x: 0 },
9434
- { ...texts34.bottom1, anchor: "middle_right", x: 0 }
9527
+ ...Object.values(paths29),
9528
+ ...Object.values(circles27),
9529
+ { ...texts37.top1, anchor: "middle_right", x: 0 },
9530
+ { ...texts37.bottom1, anchor: "middle_right", x: 0 }
9435
9531
  ],
9436
9532
  ports: [
9437
- { ...refblocks26.top1, labels: ["1", "drain"] },
9533
+ { ...refblocks29.top1, labels: ["1", "drain"] },
9438
9534
  // TODO add more "standard" labels
9439
- { ...refblocks26.bottom1, labels: ["2", "source"] },
9535
+ { ...refblocks29.bottom1, labels: ["2", "source"] },
9440
9536
  // TODO add more "standard" labels
9441
- { ...refblocks26.left1, labels: ["3", "gate"] }
9537
+ { ...refblocks29.left1, labels: ["3", "gate"] }
9442
9538
  // TODO add more "standard" labels
9443
9539
  ],
9444
- size: { width: bounds26.width, height: bounds26.height },
9445
- center: { x: bounds26.centerX, y: bounds26.centerY }
9540
+ size: { width: bounds29.width, height: bounds29.height },
9541
+ center: { x: bounds29.centerX, y: bounds29.centerY }
9446
9542
  });
9447
9543
 
9448
9544
  // symbols/p_channel_e_mosfet_transistor_vert.ts
9449
9545
  var rotatedSymbol15 = rotateSymbol(p_channel_e_mosfet_transistor_horz_default);
9450
- var texts35 = rotatedSymbol15.primitives.filter((p) => p.type === "text");
9451
- var val12 = texts35.find((t) => t.text === "{VAL}");
9546
+ var texts38 = rotatedSymbol15.primitives.filter((p) => p.type === "text");
9547
+ var val12 = texts38.find((t) => t.text === "{VAL}");
9452
9548
  val12.x = -0.35;
9453
9549
  val12.y = 0;
9454
9550
  val12.anchor = "middle_right";
9455
- var ref14 = texts35.find((t) => t.text === "{REF}");
9551
+ var ref14 = texts38.find((t) => t.text === "{REF}");
9456
9552
  ref14.y = 0;
9457
9553
  ref14.x = 0.35;
9458
9554
  ref14.anchor = "middle_left";
@@ -9687,8 +9783,8 @@ var photodiode_horz_default = modifySymbol(photodiode_default).changeTextAnchor(
9687
9783
 
9688
9784
  // symbols/photodiode_vert.ts
9689
9785
  var rotatedSymbol16 = rotateSymbol(photodiode_horz_default);
9690
- var texts36 = rotatedSymbol16.primitives.filter((p) => p.type === "text");
9691
- var ref15 = texts36.find((t) => t.text === "{REF}");
9786
+ var texts39 = rotatedSymbol16.primitives.filter((p) => p.type === "text");
9787
+ var ref15 = texts39.find((t) => t.text === "{REF}");
9692
9788
  ref15.y = 0;
9693
9789
  ref15.anchor = "middle_left";
9694
9790
  var photodiode_vert_default = rotatedSymbol16;
@@ -9857,34 +9953,34 @@ var pjfet_transistor_default = {
9857
9953
  };
9858
9954
 
9859
9955
  // symbols/pjfet_transistor_horz.ts
9860
- var { paths: paths27, texts: texts37, bounds: bounds27, refblocks: refblocks27, circles: circles24 } = pjfet_transistor_default;
9956
+ var { paths: paths30, texts: texts40, bounds: bounds30, refblocks: refblocks30, circles: circles28 } = pjfet_transistor_default;
9861
9957
  var pjfet_transistor_horz_default = defineSymbol({
9862
9958
  primitives: [
9863
- ...Object.values(paths27),
9864
- ...Object.values(circles24),
9865
- { ...texts37.top1, anchor: "middle_right", x: 0 },
9866
- { ...texts37.bottom1, anchor: "middle_right" }
9959
+ ...Object.values(paths30),
9960
+ ...Object.values(circles28),
9961
+ { ...texts40.top1, anchor: "middle_right", x: 0 },
9962
+ { ...texts40.bottom1, anchor: "middle_right" }
9867
9963
  ],
9868
9964
  ports: [
9869
- { ...refblocks27.top1, labels: ["1", "drain"] },
9965
+ { ...refblocks30.top1, labels: ["1", "drain"] },
9870
9966
  // TODO add more "standard" labels
9871
- { ...refblocks27.bottom1, labels: ["2", "source"] },
9967
+ { ...refblocks30.bottom1, labels: ["2", "source"] },
9872
9968
  // TODO add more "standard" labels
9873
- { ...refblocks27.left1, labels: ["3", "gate"] }
9969
+ { ...refblocks30.left1, labels: ["3", "gate"] }
9874
9970
  // TODO add more "standard" labels
9875
9971
  ],
9876
- size: { width: bounds27.width, height: bounds27.height },
9877
- center: { x: bounds27.centerX, y: bounds27.centerY }
9972
+ size: { width: bounds30.width, height: bounds30.height },
9973
+ center: { x: bounds30.centerX, y: bounds30.centerY }
9878
9974
  });
9879
9975
 
9880
9976
  // symbols/pjfet_transistor_vert.ts
9881
9977
  var rotatedSymbol17 = rotateSymbol(pjfet_transistor_horz_default);
9882
- var texts38 = rotatedSymbol17.primitives.filter((p) => p.type === "text");
9883
- var val13 = texts38.find((t) => t.text === "{VAL}");
9978
+ var texts41 = rotatedSymbol17.primitives.filter((p) => p.type === "text");
9979
+ var val13 = texts41.find((t) => t.text === "{VAL}");
9884
9980
  val13.x = -0.35;
9885
9981
  val13.y = 0;
9886
9982
  val13.anchor = "middle_right";
9887
- var ref16 = texts38.find((t) => t.text === "{REF}");
9983
+ var ref16 = texts41.find((t) => t.text === "{REF}");
9888
9984
  ref16.y = 0;
9889
9985
  ref16.x = 0.35;
9890
9986
  ref16.anchor = "middle_left";
@@ -10058,8 +10154,8 @@ var pnp_bipolar_transistor_horz_default = modifySymbol(pnp_bipolar_transistor_de
10058
10154
 
10059
10155
  // symbols/pnp_bipolar_transistor_vert.ts
10060
10156
  var rotatedSymbol18 = rotateSymbol(pnp_bipolar_transistor_horz_default);
10061
- var texts39 = rotatedSymbol18.primitives.filter((p) => p.type === "text");
10062
- var ref17 = texts39.find((t) => t.text === "{REF}");
10157
+ var texts42 = rotatedSymbol18.primitives.filter((p) => p.type === "text");
10158
+ var ref17 = texts42.find((t) => t.text === "{REF}");
10063
10159
  ref17.anchor = "middle_left";
10064
10160
  var pnp_bipolar_transistor_vert_default = modifySymbol(pnp_bipolar_transistor_default).rotateRightFacingSymbol("down").changeTextAnchor("{VAL}", "middle_right").labelPort("left1", ["3"]).labelPort("bottom1", ["2"]).labelPort("top1", ["1"]).changeTextAnchor("{REF}", "middle_left").build();
10065
10161
 
@@ -10473,21 +10569,21 @@ var potentiometer_default = {
10473
10569
  };
10474
10570
 
10475
10571
  // symbols/potentiometer_horz.ts
10476
- var { paths: paths28, texts: texts40, bounds: bounds28, refblocks: refblocks28 } = potentiometer_default;
10572
+ var { paths: paths31, texts: texts43, bounds: bounds31, refblocks: refblocks31 } = potentiometer_default;
10477
10573
  var potentiometer_horz_default = defineSymbol({
10478
10574
  primitives: [
10479
- ...Object.values(paths28),
10480
- { ...texts40.bottom1, y: 0.35, anchor: "middle_top" },
10481
- { ...texts40.top1, anchor: "middle_left" }
10575
+ ...Object.values(paths31),
10576
+ { ...texts43.bottom1, y: 0.35, anchor: "middle_top" },
10577
+ { ...texts43.top1, anchor: "middle_left" }
10482
10578
  ],
10483
10579
  ports: [
10484
- { ...refblocks28.left1, labels: ["1"] },
10580
+ { ...refblocks31.left1, labels: ["1"] },
10485
10581
  // TODO add more "standard" labels
10486
- { ...refblocks28.right1, labels: ["2"] }
10582
+ { ...refblocks31.right1, labels: ["2"] }
10487
10583
  // TODO add more "standard" labels
10488
10584
  ],
10489
- size: { width: bounds28.width + 0.05, height: bounds28.height },
10490
- center: { x: bounds28.centerX, y: bounds28.centerY }
10585
+ size: { width: bounds31.width + 0.05, height: bounds31.height },
10586
+ center: { x: bounds31.centerX, y: bounds31.centerY }
10491
10587
  });
10492
10588
 
10493
10589
  // symbols/potentiometer_vert.ts
@@ -10650,29 +10746,29 @@ var potentiometer2_default = {
10650
10746
  };
10651
10747
 
10652
10748
  // symbols/potentiometer2_horz.ts
10653
- var { paths: paths29, texts: texts41, bounds: bounds29, refblocks: refblocks29 } = potentiometer2_default;
10749
+ var { paths: paths32, texts: texts44, bounds: bounds32, refblocks: refblocks32 } = potentiometer2_default;
10654
10750
  var potentiometer2_horz_default = defineSymbol({
10655
10751
  primitives: [
10656
- ...Object.values(paths29),
10657
- { ...texts41.bottom1, anchor: "middle_top" },
10658
- { ...texts41.top1, anchor: "middle_bottom" }
10752
+ ...Object.values(paths32),
10753
+ { ...texts44.bottom1, anchor: "middle_top" },
10754
+ { ...texts44.top1, anchor: "middle_bottom" }
10659
10755
  ],
10660
10756
  ports: [
10661
- { ...refblocks29.left1, labels: ["1"] },
10757
+ { ...refblocks32.left1, labels: ["1"] },
10662
10758
  // TODO add more "standard" labels
10663
- { ...refblocks29.right1, labels: ["2"] }
10759
+ { ...refblocks32.right1, labels: ["2"] }
10664
10760
  // TODO add more "standard" labels
10665
10761
  ],
10666
- size: { width: bounds29.width, height: bounds29.height },
10667
- center: { x: bounds29.centerX, y: bounds29.centerY }
10762
+ size: { width: bounds32.width, height: bounds32.height },
10763
+ center: { x: bounds32.centerX, y: bounds32.centerY }
10668
10764
  });
10669
10765
 
10670
10766
  // symbols/potentiometer2_vert.ts
10671
10767
  var rotated6 = rotateSymbol(potentiometer2_horz_default);
10672
- var texts42 = rotated6.primitives.filter((p) => p.type === "text");
10673
- var val14 = texts42.find((t) => t.text === "{VAL}");
10768
+ var texts45 = rotated6.primitives.filter((p) => p.type === "text");
10769
+ var val14 = texts45.find((t) => t.text === "{VAL}");
10674
10770
  val14.anchor = "middle_right";
10675
- var ref18 = texts42.find((t) => t.text === "{REF}");
10771
+ var ref18 = texts45.find((t) => t.text === "{REF}");
10676
10772
  ref18.anchor = "middle_left";
10677
10773
  var potentiometer2_vert_default = rotated6;
10678
10774
 
@@ -10763,11 +10859,11 @@ var power_factor_meter_default = {
10763
10859
  };
10764
10860
 
10765
10861
  // symbols/power_factor_meter_horz.ts
10766
- var { paths: paths30, texts: texts43, bounds: bounds30, refblocks: refblocks30, circles: circles25 } = power_factor_meter_default;
10862
+ var { paths: paths33, texts: texts46, bounds: bounds33, refblocks: refblocks33, circles: circles29 } = power_factor_meter_default;
10767
10863
  var power_factor_meter_horz_default = defineSymbol({
10768
10864
  primitives: [
10769
- ...Object.values(paths30),
10770
- ...Object.values(circles25),
10865
+ ...Object.values(paths33),
10866
+ ...Object.values(circles29),
10771
10867
  // { ...texts.top1, anchor: "middle_left" },
10772
10868
  {
10773
10869
  type: "text",
@@ -10794,21 +10890,21 @@ var power_factor_meter_horz_default = defineSymbol({
10794
10890
  }
10795
10891
  ],
10796
10892
  ports: [
10797
- { ...refblocks30.left1, labels: ["1"] },
10893
+ { ...refblocks33.left1, labels: ["1"] },
10798
10894
  // TODO add more "standard" labels
10799
- { ...refblocks30.right1, labels: ["2"] }
10895
+ { ...refblocks33.right1, labels: ["2"] }
10800
10896
  // TODO add more "standard" labels
10801
10897
  ],
10802
- size: { width: bounds30.width, height: bounds30.height },
10803
- center: { x: bounds30.centerX, y: bounds30.centerY }
10898
+ size: { width: bounds33.width, height: bounds33.height },
10899
+ center: { x: bounds33.centerX, y: bounds33.centerY }
10804
10900
  });
10805
10901
 
10806
10902
  // symbols/power_factor_meter_vert.ts
10807
10903
  var rotatedSymbol19 = rotateSymbol(power_factor_meter_horz_default);
10808
- var texts44 = rotatedSymbol19.primitives.filter((p) => p.type === "text");
10809
- var ref19 = texts44.find((t) => t.text === "{REF}");
10810
- var val15 = texts44.find((t) => t.text === "{VAL}");
10811
- var text_cos = texts44.find((t) => t.text === "COS \u03C6");
10904
+ var texts47 = rotatedSymbol19.primitives.filter((p) => p.type === "text");
10905
+ var ref19 = texts47.find((t) => t.text === "{REF}");
10906
+ var val15 = texts47.find((t) => t.text === "{VAL}");
10907
+ var text_cos = texts47.find((t) => t.text === "COS \u03C6");
10812
10908
  ref19.x = 0.35;
10813
10909
  ref19.y = 0;
10814
10910
  ref19.anchor = "middle_left";
@@ -10939,22 +11035,22 @@ var push_button_normally_closed_momentary_default = {
10939
11035
  };
10940
11036
 
10941
11037
  // symbols/push_button_normally_closed_momentary_horz.ts
10942
- var { paths: paths31, texts: texts45, bounds: bounds31, refblocks: refblocks31, circles: circles26 } = push_button_normally_closed_momentary_default;
11038
+ var { paths: paths34, texts: texts48, bounds: bounds34, refblocks: refblocks34, circles: circles30 } = push_button_normally_closed_momentary_default;
10943
11039
  var push_button_normally_closed_momentary_horz_default = defineSymbol({
10944
11040
  primitives: [
10945
- ...Object.values(paths31),
10946
- ...Object.values(circles26),
10947
- { ...texts45.top1, anchor: "middle_left" },
10948
- { ...texts45.bottom1, anchor: "middle_left" }
11041
+ ...Object.values(paths34),
11042
+ ...Object.values(circles30),
11043
+ { ...texts48.top1, anchor: "middle_left" },
11044
+ { ...texts48.bottom1, anchor: "middle_left" }
10949
11045
  ],
10950
11046
  ports: [
10951
- { ...refblocks31.left1, labels: ["1"] },
11047
+ { ...refblocks34.left1, labels: ["1"] },
10952
11048
  // TODO add more "standard" labels
10953
- { ...refblocks31.right1, labels: ["2"] }
11049
+ { ...refblocks34.right1, labels: ["2"] }
10954
11050
  // TODO add more "standard" labels
10955
11051
  ],
10956
- size: { width: bounds31.width, height: bounds31.height },
10957
- center: { x: bounds31.centerX, y: bounds31.centerY }
11052
+ size: { width: bounds34.width, height: bounds34.height },
11053
+ center: { x: bounds34.centerX, y: bounds34.centerY }
10958
11054
  });
10959
11055
 
10960
11056
  // symbols/push_button_normally_closed_momentary_vert.ts
@@ -11079,22 +11175,22 @@ var push_button_normally_open_momentary_default = {
11079
11175
  };
11080
11176
 
11081
11177
  // symbols/push_button_normally_open_momentary_horz.ts
11082
- var { paths: paths32, texts: texts46, bounds: bounds32, refblocks: refblocks32, circles: circles27 } = push_button_normally_open_momentary_default;
11178
+ var { paths: paths35, texts: texts49, bounds: bounds35, refblocks: refblocks35, circles: circles31 } = push_button_normally_open_momentary_default;
11083
11179
  var push_button_normally_open_momentary_horz_default = defineSymbol({
11084
11180
  primitives: [
11085
- ...Object.values(paths32),
11086
- ...Object.values(circles27),
11087
- { ...texts46.top1, anchor: "middle_left" },
11088
- { ...texts46.bottom1, anchor: "middle_left" }
11181
+ ...Object.values(paths35),
11182
+ ...Object.values(circles31),
11183
+ { ...texts49.top1, anchor: "middle_left" },
11184
+ { ...texts49.bottom1, anchor: "middle_left" }
11089
11185
  ],
11090
11186
  ports: [
11091
- { ...refblocks32.left1, labels: ["1"] },
11187
+ { ...refblocks35.left1, labels: ["1"] },
11092
11188
  // TODO add more "standard" labels
11093
- { ...refblocks32.right1, labels: ["2"] }
11189
+ { ...refblocks35.right1, labels: ["2"] }
11094
11190
  // TODO add more "standard" labels
11095
11191
  ],
11096
- size: { width: bounds32.width, height: bounds32.height },
11097
- center: { x: bounds32.centerX, y: bounds32.centerY }
11192
+ size: { width: bounds35.width, height: bounds35.height },
11193
+ center: { x: bounds35.centerX, y: bounds35.centerY }
11098
11194
  });
11099
11195
 
11100
11196
  // symbols/push_button_normally_open_momentary_vert.ts
@@ -11510,26 +11606,26 @@ var rectifier_diode_default = {
11510
11606
  };
11511
11607
 
11512
11608
  // symbols/rectifier_diode_horz.ts
11513
- var { paths: paths33, texts: texts47, bounds: bounds33, refblocks: refblocks33, circles: circles28 } = rectifier_diode_default;
11609
+ var { paths: paths36, texts: texts50, bounds: bounds36, refblocks: refblocks36, circles: circles32 } = rectifier_diode_default;
11514
11610
  var rectifier_diode_horz_default = defineSymbol({
11515
11611
  primitives: [
11516
- ...Object.values(paths33),
11517
- ...Object.values(circles28),
11518
- { ...texts47.top1, anchor: "middle_right" },
11519
- { ...texts47.bottom1, anchor: "middle_right" }
11612
+ ...Object.values(paths36),
11613
+ ...Object.values(circles32),
11614
+ { ...texts50.top1, anchor: "middle_right" },
11615
+ { ...texts50.bottom1, anchor: "middle_right" }
11520
11616
  ],
11521
11617
  ports: [
11522
- { ...refblocks33.top1, labels: ["1"] },
11618
+ { ...refblocks36.top1, labels: ["1"] },
11523
11619
  // TODO add more "standard" labels
11524
- { ...refblocks33.bottom1, labels: ["2"] },
11620
+ { ...refblocks36.bottom1, labels: ["2"] },
11525
11621
  // TODO add more "standard" labels
11526
- { ...refblocks33.left1, labels: ["3"] },
11622
+ { ...refblocks36.left1, labels: ["3"] },
11527
11623
  // TODO add more "standard" labels
11528
- { ...refblocks33.right1, labels: ["4"] }
11624
+ { ...refblocks36.right1, labels: ["4"] }
11529
11625
  // TODO add more "standard" labels
11530
11626
  ],
11531
- size: { width: bounds33.width, height: bounds33.height },
11532
- center: { x: bounds33.centerX, y: bounds33.centerY }
11627
+ size: { width: bounds36.width, height: bounds36.height },
11628
+ center: { x: bounds36.centerX, y: bounds36.centerY }
11533
11629
  });
11534
11630
 
11535
11631
  // symbols/rectifier_diode_vert.ts
@@ -11890,11 +11986,11 @@ var resonator_default = {
11890
11986
  };
11891
11987
 
11892
11988
  // symbols/resonator_horz.ts
11893
- var { paths: paths34, texts: texts48, bounds: bounds34, refblocks: refblocks34, circles: circles29 } = resonator_default;
11989
+ var { paths: paths37, texts: texts51, bounds: bounds37, refblocks: refblocks37, circles: circles33 } = resonator_default;
11894
11990
  var resonator_horz_default = defineSymbol({
11895
11991
  primitives: [
11896
- ...Object.values(paths34),
11897
- ...Object.values(circles29),
11992
+ ...Object.values(paths37),
11993
+ ...Object.values(circles33),
11898
11994
  // { ...texts.top1, anchor: "middle_left" },
11899
11995
  // { ...texts.bottom1, anchor: "middle_left" },
11900
11996
  {
@@ -11913,15 +12009,15 @@ var resonator_horz_default = defineSymbol({
11913
12009
  }
11914
12010
  ],
11915
12011
  ports: [
11916
- { ...refblocks34.left1, labels: ["1"] },
12012
+ { ...refblocks37.left1, labels: ["1"] },
11917
12013
  // TODO add more "standard" labels
11918
- { ...refblocks34.right1, labels: ["2"] },
12014
+ { ...refblocks37.right1, labels: ["2"] },
11919
12015
  // TODO add more "standard" labels
11920
- { ...refblocks34.right2, labels: ["3"] }
12016
+ { ...refblocks37.right2, labels: ["3"] }
11921
12017
  // TODO add more "standard" labels
11922
12018
  ],
11923
- size: { width: bounds34.width, height: bounds34.height },
11924
- center: { x: bounds34.centerX, y: bounds34.centerY }
12019
+ size: { width: bounds37.width, height: bounds37.height },
12020
+ center: { x: bounds37.centerX, y: bounds37.centerY }
11925
12021
  });
11926
12022
 
11927
12023
  // symbols/resonator_vert.ts
@@ -12277,15 +12373,15 @@ var silicon_controlled_rectifier_default = {
12277
12373
  };
12278
12374
 
12279
12375
  // symbols/silicon_controlled_rectifier_horz.ts
12280
- var { paths: paths35, texts: texts49, bounds: bounds35, refblocks: refblocks35, circles: circles30 } = silicon_controlled_rectifier_default;
12376
+ var { paths: paths38, texts: texts52, bounds: bounds38, refblocks: refblocks38, circles: circles34 } = silicon_controlled_rectifier_default;
12281
12377
  var silicon_controlled_rectifier_horz_default = modifySymbol(silicon_controlled_rectifier_default).changeTextAnchor("{VAL}", "middle_top").labelPort("left1", ["1"]).labelPort("right1", ["2"]).labelPort("bottom1", ["3"]).changeTextAnchor("{REF}", "middle_bottom").build();
12282
12378
 
12283
12379
  // symbols/silicon_controlled_rectifier_vert.ts
12284
12380
  var rotatedSymbol20 = rotateSymbol(silicon_controlled_rectifier_horz_default);
12285
- var texts50 = rotatedSymbol20.primitives.filter(
12381
+ var texts53 = rotatedSymbol20.primitives.filter(
12286
12382
  (primitive) => primitive.type === "text"
12287
12383
  );
12288
- var ref22 = texts50.find((text) => text.text === "{REF}");
12384
+ var ref22 = texts53.find((text) => text.text === "{REF}");
12289
12385
  ref22.y = 0;
12290
12386
  ref22.anchor = "middle_left";
12291
12387
  var silicon_controlled_rectifier_vert_default = rotatedSymbol20;
@@ -12409,34 +12505,34 @@ var SPDT_switch_default = {
12409
12505
 
12410
12506
  // symbols/SPDT_switch_horz.ts
12411
12507
  SPDT_switch_default.bounds.width += 0.2;
12412
- var { paths: paths36, texts: texts51, bounds: bounds36, refblocks: refblocks36, circles: circles31 } = SPDT_switch_default;
12508
+ var { paths: paths39, texts: texts54, bounds: bounds39, refblocks: refblocks39, circles: circles35 } = SPDT_switch_default;
12413
12509
  var SPDT_switch_horz_default = defineSymbol({
12414
12510
  primitives: [
12415
- ...Object.values(paths36),
12416
- ...Object.values(circles31),
12417
- { ...texts51.top1, anchor: "middle_bottom", x: -0.01 },
12418
- { ...texts51.bottom1, anchor: "middle_top", x: -0.01 }
12511
+ ...Object.values(paths39),
12512
+ ...Object.values(circles35),
12513
+ { ...texts54.top1, anchor: "middle_bottom", x: -0.01 },
12514
+ { ...texts54.bottom1, anchor: "middle_top", x: -0.01 }
12419
12515
  ],
12420
12516
  ports: [
12421
- { ...refblocks36.left1, labels: ["1"] },
12517
+ { ...refblocks39.left1, labels: ["1"] },
12422
12518
  // TODO add more "standard" labels
12423
- { ...refblocks36.right1, labels: ["3"] },
12519
+ { ...refblocks39.right1, labels: ["3"] },
12424
12520
  // TODO add more "standard" labels
12425
- { ...refblocks36.right2, labels: ["2"] }
12521
+ { ...refblocks39.right2, labels: ["2"] }
12426
12522
  // TODO add more "standard" labels
12427
12523
  ],
12428
- size: { width: bounds36.width, height: bounds36.height },
12429
- center: { x: bounds36.centerX, y: bounds36.centerY }
12524
+ size: { width: bounds39.width, height: bounds39.height },
12525
+ center: { x: bounds39.centerX, y: bounds39.centerY }
12430
12526
  });
12431
12527
 
12432
12528
  // symbols/SPDT_switch_vert.ts
12433
12529
  var rotatedSymbol21 = rotateSymbol(SPDT_switch_horz_default);
12434
- var texts52 = rotatedSymbol21.primitives.filter((p) => p.type === "text");
12435
- var val18 = texts52.find((t) => t.text === "{VAL}");
12530
+ var texts55 = rotatedSymbol21.primitives.filter((p) => p.type === "text");
12531
+ var val18 = texts55.find((t) => t.text === "{VAL}");
12436
12532
  val18.anchor = "middle_right";
12437
12533
  val18.x = -0.3;
12438
12534
  val18.y = 0;
12439
- var ref23 = texts52.find((t) => t.text === "{REF}");
12535
+ var ref23 = texts55.find((t) => t.text === "{REF}");
12440
12536
  ref23.anchor = "middle_left";
12441
12537
  ref23.x = 0.3;
12442
12538
  ref23.y = 0;
@@ -12544,12 +12640,12 @@ var SPST_switch_horz_default = modifySymbol(SPST_switch_default).changeTextAncho
12544
12640
 
12545
12641
  // symbols/SPST_switch_vert.ts
12546
12642
  var rotatedSymbol22 = rotateSymbol(SPST_switch_horz_default);
12547
- var texts53 = rotatedSymbol22.primitives.filter((p) => p.type === "text");
12548
- var val19 = texts53.find((t) => t.text === "{VAL}");
12643
+ var texts56 = rotatedSymbol22.primitives.filter((p) => p.type === "text");
12644
+ var val19 = texts56.find((t) => t.text === "{VAL}");
12549
12645
  val19.anchor = "middle_right";
12550
12646
  val19.x = -0.3;
12551
12647
  val19.y = 0;
12552
- var ref24 = texts53.find((t) => t.text === "{REF}");
12648
+ var ref24 = texts56.find((t) => t.text === "{REF}");
12553
12649
  ref24.anchor = "middle_left";
12554
12650
  ref24.x = 0.3;
12555
12651
  ref24.y = 0;
@@ -12717,7 +12813,7 @@ var step_recovery_diode_default = {
12717
12813
  };
12718
12814
 
12719
12815
  // symbols/step_recovery_diode_horz.ts
12720
- var { paths: paths37, texts: texts54, bounds: bounds37, refblocks: refblocks37, circles: circles32 } = step_recovery_diode_default;
12816
+ var { paths: paths40, texts: texts57, bounds: bounds40, refblocks: refblocks40, circles: circles36 } = step_recovery_diode_default;
12721
12817
  var step_recovery_diode_horz_default = modifySymbol(step_recovery_diode_default).changeTextAnchor("{VAL}", "middle_top").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_bottom").build();
12722
12818
 
12723
12819
  // symbols/step_recovery_diode_vert.ts
@@ -12810,11 +12906,11 @@ var tachometer_default = {
12810
12906
  };
12811
12907
 
12812
12908
  // symbols/tachometer_horz.ts
12813
- var { paths: paths38, texts: texts55, bounds: bounds38, refblocks: refblocks38, circles: circles33 } = tachometer_default;
12909
+ var { paths: paths41, texts: texts58, bounds: bounds41, refblocks: refblocks41, circles: circles37 } = tachometer_default;
12814
12910
  var tachometer_horz_default = defineSymbol({
12815
12911
  primitives: [
12816
- ...Object.values(paths38),
12817
- ...Object.values(circles33),
12912
+ ...Object.values(paths41),
12913
+ ...Object.values(circles37),
12818
12914
  {
12819
12915
  type: "text",
12820
12916
  text: "{REF}",
@@ -12829,16 +12925,16 @@ var tachometer_horz_default = defineSymbol({
12829
12925
  y: 0.35,
12830
12926
  anchor: "middle_bottom"
12831
12927
  },
12832
- { ...texts55.left1, y: 0.01, anchor: "center", fontSize: 0.2 }
12928
+ { ...texts58.left1, y: 0.01, anchor: "center", fontSize: 0.2 }
12833
12929
  ],
12834
12930
  ports: [
12835
- { ...refblocks38.left1, labels: ["1"] },
12931
+ { ...refblocks41.left1, labels: ["1"] },
12836
12932
  // TODO add more "standard" labels
12837
- { ...refblocks38.right1, labels: ["2"] }
12933
+ { ...refblocks41.right1, labels: ["2"] }
12838
12934
  // TODO add more "standard" labels
12839
12935
  ],
12840
- size: { width: bounds38.width, height: bounds38.height },
12841
- center: { x: bounds38.centerX, y: bounds38.centerY }
12936
+ size: { width: bounds41.width, height: bounds41.height },
12937
+ center: { x: bounds41.centerX, y: bounds41.centerY }
12842
12938
  });
12843
12939
 
12844
12940
  // symbols/tachometer_vert.ts
@@ -13046,16 +13142,16 @@ var triac_default = {
13046
13142
  };
13047
13143
 
13048
13144
  // symbols/triac_horz.ts
13049
- var { paths: paths39, texts: texts56, bounds: bounds39, refblocks: refblocks39, circles: circles34 } = triac_default;
13145
+ var { paths: paths42, texts: texts59, bounds: bounds42, refblocks: refblocks42, circles: circles38 } = triac_default;
13050
13146
  var triac_horz_default = modifySymbol(triac_default).changeTextAnchor("{VAL}", "middle_top").labelPort("left1", ["1"]).labelPort("right1", ["2"]).labelPort("bottom1", ["3"]).changeTextAnchor("{REF}", "middle_bottom").build();
13051
13147
 
13052
13148
  // symbols/triac_vert.ts
13053
13149
  var rotatedSymbol24 = rotateSymbol(triac_horz_default);
13054
- var texts57 = rotatedSymbol24.primitives.filter(
13150
+ var texts60 = rotatedSymbol24.primitives.filter(
13055
13151
  (primitive) => primitive.type === "text"
13056
13152
  );
13057
- var ref25 = texts57.find((text) => text.text === "{REF}");
13058
- var val20 = texts57.find((text) => text.text === "{VAL}");
13153
+ var ref25 = texts60.find((text) => text.text === "{REF}");
13154
+ var val20 = texts60.find((text) => text.text === "{VAL}");
13059
13155
  ref25.y = 0;
13060
13156
  val20.y = 0;
13061
13157
  var triac_vert_default = rotatedSymbol24;
@@ -13222,22 +13318,22 @@ var tunnel_diode_default = {
13222
13318
  };
13223
13319
 
13224
13320
  // symbols/tunnel_diode_horz.ts
13225
- var { paths: paths40, texts: texts58, bounds: bounds40, refblocks: refblocks40, circles: circles35 } = tunnel_diode_default;
13321
+ var { paths: paths43, texts: texts61, bounds: bounds43, refblocks: refblocks43, circles: circles39 } = tunnel_diode_default;
13226
13322
  var tunnel_diode_horz_default = defineSymbol({
13227
13323
  primitives: [
13228
- ...Object.values(paths40),
13229
- ...Object.values(circles35),
13230
- { ...texts58.top1, anchor: "middle_bottom" },
13231
- { ...texts58.bottom1, anchor: "middle_top" }
13324
+ ...Object.values(paths43),
13325
+ ...Object.values(circles39),
13326
+ { ...texts61.top1, anchor: "middle_bottom" },
13327
+ { ...texts61.bottom1, anchor: "middle_top" }
13232
13328
  ],
13233
13329
  ports: [
13234
- { ...refblocks40.left1, labels: ["1"] },
13330
+ { ...refblocks43.left1, labels: ["1"] },
13235
13331
  // TODO add more "standard" labels
13236
- { ...refblocks40.right1, labels: ["2"] }
13332
+ { ...refblocks43.right1, labels: ["2"] }
13237
13333
  // TODO add more "standard" labels
13238
13334
  ],
13239
- size: { width: bounds40.width, height: bounds40.height },
13240
- center: { x: bounds40.centerX, y: bounds40.centerY }
13335
+ size: { width: bounds43.width, height: bounds43.height },
13336
+ center: { x: bounds43.centerX, y: bounds43.centerY }
13241
13337
  });
13242
13338
 
13243
13339
  // symbols/tunnel_diode_vert.ts
@@ -13420,34 +13516,34 @@ var unijunction_transistor_default = {
13420
13516
  };
13421
13517
 
13422
13518
  // symbols/unijunction_transistor_horz.ts
13423
- var { paths: paths41, texts: texts59, bounds: bounds41, refblocks: refblocks41, circles: circles36 } = unijunction_transistor_default;
13519
+ var { paths: paths44, texts: texts62, bounds: bounds44, refblocks: refblocks44, circles: circles40 } = unijunction_transistor_default;
13424
13520
  var unijunction_transistor_horz_default = defineSymbol({
13425
13521
  primitives: [
13426
- ...Object.values(paths41),
13427
- ...Object.values(circles36),
13428
- { ...texts59.top1, anchor: "middle_left" },
13429
- { ...texts59.bottom1, anchor: "middle_right" }
13522
+ ...Object.values(paths44),
13523
+ ...Object.values(circles40),
13524
+ { ...texts62.top1, anchor: "middle_left" },
13525
+ { ...texts62.bottom1, anchor: "middle_right" }
13430
13526
  ],
13431
13527
  ports: [
13432
- { ...refblocks41.top1, labels: ["1"] },
13528
+ { ...refblocks44.top1, labels: ["1"] },
13433
13529
  // TODO add more "standard" labels
13434
- { ...refblocks41.bottom1, labels: ["2"] },
13530
+ { ...refblocks44.bottom1, labels: ["2"] },
13435
13531
  // TODO add more "standard" labels
13436
- { ...refblocks41.left1, labels: ["3"] }
13532
+ { ...refblocks44.left1, labels: ["3"] }
13437
13533
  // TODO add more "standard" labels
13438
13534
  ],
13439
- size: { width: bounds41.width, height: bounds41.height },
13440
- center: { x: bounds41.centerX, y: bounds41.centerY }
13535
+ size: { width: bounds44.width, height: bounds44.height },
13536
+ center: { x: bounds44.centerX, y: bounds44.centerY }
13441
13537
  });
13442
13538
 
13443
13539
  // symbols/unijunction_transistor_vert.ts
13444
13540
  var rotatedSymbol25 = rotateSymbol(unijunction_transistor_horz_default);
13445
- var texts60 = rotatedSymbol25.primitives.filter(
13541
+ var texts63 = rotatedSymbol25.primitives.filter(
13446
13542
  (primitive) => primitive.type === "text"
13447
13543
  );
13448
- var ref27 = texts60.find((text) => text.text === "{REF}");
13544
+ var ref27 = texts63.find((text) => text.text === "{REF}");
13449
13545
  ref27.y = 0.1;
13450
- var val22 = texts60.find((text) => text.text === "{VAL}");
13546
+ var val22 = texts63.find((text) => text.text === "{VAL}");
13451
13547
  val22.y = 0.1;
13452
13548
  val22.x = -0.4;
13453
13549
  var unijunction_transistor_vert_default = rotatedSymbol25;
@@ -13539,33 +13635,33 @@ var var_meter_default = {
13539
13635
  };
13540
13636
 
13541
13637
  // symbols/var_meter_horz.ts
13542
- var { paths: paths42, texts: texts61, bounds: bounds42, refblocks: refblocks42, circles: circles37 } = var_meter_default;
13638
+ var { paths: paths45, texts: texts64, bounds: bounds45, refblocks: refblocks45, circles: circles41 } = var_meter_default;
13543
13639
  var var_meter_horz_default = defineSymbol({
13544
13640
  primitives: [
13545
- ...Object.values(paths42),
13546
- ...Object.values(circles37),
13641
+ ...Object.values(paths45),
13642
+ ...Object.values(circles41),
13547
13643
  {
13548
- ...texts61.top1,
13644
+ ...texts64.top1,
13549
13645
  x: 0,
13550
13646
  y: -0.3594553499999995,
13551
13647
  anchor: "middle_top"
13552
13648
  },
13553
13649
  {
13554
- ...texts61.bottom1,
13650
+ ...texts64.bottom1,
13555
13651
  x: 0,
13556
13652
  y: 0.35,
13557
13653
  anchor: "middle_bottom"
13558
13654
  },
13559
- { ...texts61.left1, x: -0.02, y: 0.01, fontSize: 0.2, anchor: "center" }
13655
+ { ...texts64.left1, x: -0.02, y: 0.01, fontSize: 0.2, anchor: "center" }
13560
13656
  ],
13561
13657
  ports: [
13562
- { ...refblocks42.left1, labels: ["1"] },
13658
+ { ...refblocks45.left1, labels: ["1"] },
13563
13659
  // TODO add more "standard" labels
13564
- { ...refblocks42.right1, labels: ["2"] }
13660
+ { ...refblocks45.right1, labels: ["2"] }
13565
13661
  // TODO add more "standard" labels
13566
13662
  ],
13567
- size: { width: bounds42.width, height: bounds42.height },
13568
- center: { x: bounds42.centerX, y: bounds42.centerY }
13663
+ size: { width: bounds45.width, height: bounds45.height },
13664
+ center: { x: bounds45.centerX, y: bounds45.centerY }
13569
13665
  });
13570
13666
 
13571
13667
  // symbols/var_meter_vert.ts
@@ -13718,22 +13814,22 @@ var varactor_diode_default = {
13718
13814
  };
13719
13815
 
13720
13816
  // symbols/varactor_diode_horz.ts
13721
- var { paths: paths43, texts: texts62, bounds: bounds43, refblocks: refblocks43, circles: circles38 } = varactor_diode_default;
13817
+ var { paths: paths46, texts: texts65, bounds: bounds46, refblocks: refblocks46, circles: circles42 } = varactor_diode_default;
13722
13818
  var varactor_diode_horz_default = defineSymbol({
13723
13819
  primitives: [
13724
- ...Object.values(paths43),
13725
- ...Object.values(circles38),
13726
- { ...texts62.top1, anchor: "middle_bottom" },
13727
- { ...texts62.bottom1, anchor: "middle_top" }
13820
+ ...Object.values(paths46),
13821
+ ...Object.values(circles42),
13822
+ { ...texts65.top1, anchor: "middle_bottom" },
13823
+ { ...texts65.bottom1, anchor: "middle_top" }
13728
13824
  ],
13729
13825
  ports: [
13730
- { ...refblocks43.left1, labels: ["1"] },
13826
+ { ...refblocks46.left1, labels: ["1"] },
13731
13827
  // TODO add more "standard" labels
13732
- { ...refblocks43.right1, labels: ["2"] }
13828
+ { ...refblocks46.right1, labels: ["2"] }
13733
13829
  // TODO add more "standard" labels
13734
13830
  ],
13735
- size: { width: bounds43.width, height: bounds43.height },
13736
- center: { x: bounds43.centerX, y: bounds43.centerY }
13831
+ size: { width: bounds46.width, height: bounds46.height },
13832
+ center: { x: bounds46.centerX, y: bounds46.centerY }
13737
13833
  });
13738
13834
 
13739
13835
  // symbols/varactor_diode_vert.ts
@@ -13881,26 +13977,26 @@ var varistor_default = {
13881
13977
  };
13882
13978
 
13883
13979
  // symbols/varistor_horz.ts
13884
- var { paths: paths44, texts: texts63, bounds: bounds44, refblocks: refblocks44 } = varistor_default;
13980
+ var { paths: paths47, texts: texts66, bounds: bounds47, refblocks: refblocks47 } = varistor_default;
13885
13981
  var varistor_horz_default = defineSymbol({
13886
13982
  primitives: [
13887
- ...Object.values(paths44),
13888
- { ...texts63.top1, anchor: "middle_left" },
13889
- { ...texts63.bottom1, anchor: "middle_right" }
13983
+ ...Object.values(paths47),
13984
+ { ...texts66.top1, anchor: "middle_left" },
13985
+ { ...texts66.bottom1, anchor: "middle_right" }
13890
13986
  ],
13891
13987
  ports: [
13892
13988
  {
13893
- ...refblocks44.left1,
13989
+ ...refblocks47.left1,
13894
13990
  labels: ["1", "-"]
13895
13991
  },
13896
13992
  {
13897
- ...refblocks44.right1,
13993
+ ...refblocks47.right1,
13898
13994
  labels: ["2", "+"]
13899
13995
  }
13900
13996
  ],
13901
- size: { width: bounds44.width, height: bounds44.height },
13997
+ size: { width: bounds47.width, height: bounds47.height },
13902
13998
  //{ width: 1, height: 0.24 },
13903
- center: { x: bounds44.centerX, y: bounds44.centerY }
13999
+ center: { x: bounds47.centerX, y: bounds47.centerY }
13904
14000
  });
13905
14001
 
13906
14002
  // symbols/varistor_vert.ts
@@ -13993,11 +14089,11 @@ var varmeter_default = {
13993
14089
  };
13994
14090
 
13995
14091
  // symbols/varmeter_horz.ts
13996
- var { paths: paths45, texts: texts64, bounds: bounds45, refblocks: refblocks45, circles: circles39 } = varmeter_default;
14092
+ var { paths: paths48, texts: texts67, bounds: bounds48, refblocks: refblocks48, circles: circles43 } = varmeter_default;
13997
14093
  var varmeter_horz_default = defineSymbol({
13998
14094
  primitives: [
13999
- ...Object.values(paths45),
14000
- ...Object.values(circles39),
14095
+ ...Object.values(paths48),
14096
+ ...Object.values(circles43),
14001
14097
  {
14002
14098
  type: "text",
14003
14099
  text: "{REF}",
@@ -14012,16 +14108,16 @@ var varmeter_horz_default = defineSymbol({
14012
14108
  y: 0.35,
14013
14109
  anchor: "middle_bottom"
14014
14110
  },
14015
- { ...texts64.left1, anchor: "center", y: 0.02, fontSize: 0.2 }
14111
+ { ...texts67.left1, anchor: "center", y: 0.02, fontSize: 0.2 }
14016
14112
  ],
14017
14113
  ports: [
14018
- { ...refblocks45.left1, labels: ["1"] },
14114
+ { ...refblocks48.left1, labels: ["1"] },
14019
14115
  // TODO add more "standard" labels
14020
- { ...refblocks45.right1, labels: ["2"] }
14116
+ { ...refblocks48.right1, labels: ["2"] }
14021
14117
  // TODO add more "standard" labels
14022
14118
  ],
14023
- size: { width: bounds45.width, height: bounds45.height },
14024
- center: { x: bounds45.centerX, y: bounds45.centerY }
14119
+ size: { width: bounds48.width, height: bounds48.height },
14120
+ center: { x: bounds48.centerX, y: bounds48.centerY }
14025
14121
  });
14026
14122
 
14027
14123
  // symbols/varmeter_vert.ts
@@ -14138,7 +14234,7 @@ var volt_meter_default = {
14138
14234
  };
14139
14235
 
14140
14236
  // symbols/volt_meter_horz.ts
14141
- var { paths: paths46, texts: texts65, bounds: bounds46, circles: circles40, refblocks: refblocks46 } = volt_meter_default;
14237
+ var { paths: paths49, texts: texts68, bounds: bounds49, circles: circles44, refblocks: refblocks49 } = volt_meter_default;
14142
14238
  var volt_meter_horz_default = modifySymbol(volt_meter_default).changeTextAnchor("{VAL}", "middle_top").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_bottom").build();
14143
14239
 
14144
14240
  // symbols/volt_meter_vert.ts
@@ -14231,11 +14327,11 @@ var watt_hour_meter_default = {
14231
14327
  };
14232
14328
 
14233
14329
  // symbols/watt_hour_meter_horz.ts
14234
- var { paths: paths47, texts: texts66, bounds: bounds47, refblocks: refblocks47, circles: circles41 } = watt_hour_meter_default;
14330
+ var { paths: paths50, texts: texts69, bounds: bounds50, refblocks: refblocks50, circles: circles45 } = watt_hour_meter_default;
14235
14331
  var watt_hour_meter_horz_default = defineSymbol({
14236
14332
  primitives: [
14237
- ...Object.values(paths47),
14238
- ...Object.values(circles41),
14333
+ ...Object.values(paths50),
14334
+ ...Object.values(circles45),
14239
14335
  {
14240
14336
  type: "text",
14241
14337
  text: "{REF}",
@@ -14250,16 +14346,16 @@ var watt_hour_meter_horz_default = defineSymbol({
14250
14346
  y: 0.35,
14251
14347
  anchor: "middle_bottom"
14252
14348
  },
14253
- { ...texts66.left1, anchor: "center", y: 0.01, fontSize: 0.2 }
14349
+ { ...texts69.left1, anchor: "center", y: 0.01, fontSize: 0.2 }
14254
14350
  ],
14255
14351
  ports: [
14256
- { ...refblocks47.left1, labels: ["1"] },
14352
+ { ...refblocks50.left1, labels: ["1"] },
14257
14353
  // TODO add more "standard" labels
14258
- { ...refblocks47.right1, labels: ["2"] }
14354
+ { ...refblocks50.right1, labels: ["2"] }
14259
14355
  // TODO add more "standard" labels
14260
14356
  ],
14261
- size: { width: bounds47.width, height: bounds47.height },
14262
- center: { x: bounds47.centerX, y: bounds47.centerY }
14357
+ size: { width: bounds50.width, height: bounds50.height },
14358
+ center: { x: bounds50.centerX, y: bounds50.centerY }
14263
14359
  });
14264
14360
 
14265
14361
  // symbols/watt_hour_meter_vert.ts
@@ -14363,11 +14459,11 @@ var wattmeter_default = {
14363
14459
  };
14364
14460
 
14365
14461
  // symbols/wattmeter_horz.ts
14366
- var { paths: paths48, texts: texts67, bounds: bounds48, refblocks: refblocks48, circles: circles42 } = wattmeter_default;
14462
+ var { paths: paths51, texts: texts70, bounds: bounds51, refblocks: refblocks51, circles: circles46 } = wattmeter_default;
14367
14463
  var wattmeter_horz_default = defineSymbol({
14368
14464
  primitives: [
14369
- ...Object.values(paths48),
14370
- ...Object.values(circles42),
14465
+ ...Object.values(paths51),
14466
+ ...Object.values(circles46),
14371
14467
  {
14372
14468
  type: "text",
14373
14469
  text: "{REF}",
@@ -14382,16 +14478,16 @@ var wattmeter_horz_default = defineSymbol({
14382
14478
  y: 0.35,
14383
14479
  anchor: "middle_bottom"
14384
14480
  },
14385
- { ...texts67.left1, anchor: "center", y: 0.01, fontSize: 0.3 }
14481
+ { ...texts70.left1, anchor: "center", y: 0.01, fontSize: 0.3 }
14386
14482
  ],
14387
14483
  ports: [
14388
- { ...refblocks48.left1, labels: ["1"] },
14484
+ { ...refblocks51.left1, labels: ["1"] },
14389
14485
  // TODO add more "standard" labels
14390
- { ...refblocks48.right1, labels: ["2"] }
14486
+ { ...refblocks51.right1, labels: ["2"] }
14391
14487
  // TODO add more "standard" labels
14392
14488
  ],
14393
- size: { width: bounds48.width, height: bounds48.height },
14394
- center: { x: bounds48.centerX, y: bounds48.centerY }
14489
+ size: { width: bounds51.width, height: bounds51.height },
14490
+ center: { x: bounds51.centerX, y: bounds51.centerY }
14395
14491
  });
14396
14492
 
14397
14493
  // symbols/wattmeter_vert.ts
@@ -14555,22 +14651,22 @@ var zener_diode_default = {
14555
14651
  };
14556
14652
 
14557
14653
  // symbols/zener_diode_horz.ts
14558
- var { paths: paths49, texts: texts68, bounds: bounds49, refblocks: refblocks49, circles: circles43 } = zener_diode_default;
14654
+ var { paths: paths52, texts: texts71, bounds: bounds52, refblocks: refblocks52, circles: circles47 } = zener_diode_default;
14559
14655
  var zener_diode_horz_default = defineSymbol({
14560
14656
  primitives: [
14561
- ...Object.values(paths49),
14562
- ...Object.values(circles43),
14563
- { ...texts68.top1, anchor: "middle_bottom" },
14564
- { ...texts68.bottom1, anchor: "middle_top" }
14657
+ ...Object.values(paths52),
14658
+ ...Object.values(circles47),
14659
+ { ...texts71.top1, anchor: "middle_bottom" },
14660
+ { ...texts71.bottom1, anchor: "middle_top" }
14565
14661
  ],
14566
14662
  ports: [
14567
- { ...refblocks49.left1, labels: ["1"] },
14663
+ { ...refblocks52.left1, labels: ["1"] },
14568
14664
  // TODO add more "standard" labels
14569
- { ...refblocks49.right1, labels: ["2"] }
14665
+ { ...refblocks52.right1, labels: ["2"] }
14570
14666
  // TODO add more "standard" labels
14571
14667
  ],
14572
- size: { width: bounds49.width, height: bounds49.height },
14573
- center: { x: bounds49.centerX, y: bounds49.centerY }
14668
+ size: { width: bounds52.width, height: bounds52.height },
14669
+ center: { x: bounds52.centerX, y: bounds52.centerY }
14574
14670
  });
14575
14671
 
14576
14672
  // symbols/zener_diode_vert.ts
@@ -14593,8 +14689,10 @@ var symbols_index_default = {
14593
14689
  "avalanche_diode_vert": avalanche_diode_vert_default,
14594
14690
  "battery_horz": battery_horz_default,
14595
14691
  "battery_vert": battery_vert_default,
14596
- "boxresistor_horz": boxresistor_horz_default,
14597
- "boxresistor_vert": boxresistor_vert_default,
14692
+ "boxresistor_down": boxresistor_down_default,
14693
+ "boxresistor_left": boxresistor_left_default,
14694
+ "boxresistor_right": boxresistor_right_default,
14695
+ "boxresistor_up": boxresistor_up_default,
14598
14696
  "capacitor_down": capacitor_down_default,
14599
14697
  "capacitor_left": capacitor_left_default,
14600
14698
  "capacitor_polarized_down": capacitor_polarized_down_default,