schematic-symbols 0.0.104 → 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();
829
904
 
830
- // symbols/boxresistor_vert.ts
831
- var boxresistor_vert_default = rotateSymbol(boxresistor_horz_default);
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();
933
+
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 = {
@@ -838,11 +997,11 @@ var capacitor_default = {
838
997
  points: [
839
998
  {
840
999
  x: 0.5229378000000002,
841
- y: 0.017283099999996665
1000
+ y: 0.017283050000003186
842
1001
  },
843
1002
  {
844
1003
  x: 0.07314620000000005,
845
- y: 0.017283099999996665
1004
+ y: 0.017283050000003186
846
1005
  }
847
1006
  ],
848
1007
  color: "primary",
@@ -852,12 +1011,12 @@ var capacitor_default = {
852
1011
  type: "path",
853
1012
  points: [
854
1013
  {
855
- x: -0.08560379999999945,
856
- y: 0.017283099999996665
1014
+ x: -0.0856037999999999,
1015
+ y: 0.017283050000003186
857
1016
  },
858
1017
  {
859
1018
  x: -0.5353954999999999,
860
- y: 0.017283099999996665
1019
+ y: 0.017283050000003186
861
1020
  }
862
1021
  ],
863
1022
  color: "primary",
@@ -867,12 +1026,12 @@ var capacitor_default = {
867
1026
  type: "path",
868
1027
  points: [
869
1028
  {
870
- x: 0.07314620000000005,
871
- y: 0.2818663999999984
1029
+ x: 0.0731461999999996,
1030
+ y: 0.2818663500000014
872
1031
  },
873
1032
  {
874
1033
  x: 0.07314620000000005,
875
- y: -0.24730020000000152
1034
+ y: -0.24730024999999856
876
1035
  }
877
1036
  ],
878
1037
  color: "primary",
@@ -883,11 +1042,11 @@ var capacitor_default = {
883
1042
  points: [
884
1043
  {
885
1044
  x: -0.0856037999999999,
886
- y: 0.2818663999999984
1045
+ y: 0.2818663500000014
887
1046
  },
888
1047
  {
889
- x: -0.08560379999999945,
890
- y: -0.24730020000000152
1048
+ x: -0.0856037999999999,
1049
+ y: -0.24730024999999856
891
1050
  }
892
1051
  ],
893
1052
  color: "primary",
@@ -899,123 +1058,72 @@ var capacitor_default = {
899
1058
  type: "text",
900
1059
  text: "{REF}",
901
1060
  x: -0.012864500000000056,
902
- y: 0.42000869999999857
1061
+ y: 0.4200086500000033
903
1062
  },
904
1063
  bottom1: {
905
1064
  type: "text",
906
1065
  text: "{VAL}",
907
1066
  x: -0.003850500000000423,
908
- y: -0.42000870000000035
1067
+ y: -0.42000864999999976
909
1068
  }
910
1069
  },
911
1070
  refblocks: {
912
1071
  left1: {
913
- x: -0.5512093000000002,
914
- y: 0.016380399999999185
1072
+ x: -0.5512093000000005,
1073
+ y: 0.01638025000000276
915
1074
  },
916
1075
  right1: {
917
1076
  x: 0.5512093,
918
- y: 0.016926899999997858
1077
+ y: 0.016926950000001995
919
1078
  }
920
1079
  },
921
1080
  bounds: {
922
- minX: -0.5793677410000002,
1081
+ minX: -0.5793677410000004,
923
1082
  maxX: 0.579367741,
924
- minY: -0.42000870000000035,
925
- maxY: 0.42000869999999857,
926
- width: 1.1587354820000002,
927
- height: 0.8400173999999989,
928
- centerX: -11102230246251565e-32,
929
- centerY: -8881784197001252e-31
1083
+ minY: -0.42000864999999976,
1084
+ maxY: 0.4200086500000033,
1085
+ width: 1.1587354820000004,
1086
+ height: 0.8400173000000031,
1087
+ centerX: -2220446049250313e-31,
1088
+ centerY: 17763568394002505e-31
930
1089
  },
931
1090
  circles: {}
932
1091
  };
933
1092
 
934
- // symbols/capacitor_horz.ts
935
- var { paths: paths5, bounds: bounds5, refblocks: refblocks5, texts: texts4 } = capacitor_default;
936
- var capacitor_horz_default = defineSymbol({
1093
+ // symbols/capacitor_down.ts
1094
+ var { paths: paths8, texts: texts7, bounds: bounds8, refblocks: refblocks8, circles: circles8 } = capacitor_default;
1095
+ var capacitor_down_default = modifySymbol({
937
1096
  primitives: [
938
- ...Object.values(paths5),
939
- { ...texts4.top1, anchor: "middle_bottom" },
940
- { ...texts4.bottom1, anchor: "middle_top" }
1097
+ ...Object.values(paths8),
1098
+ ...Object.values(circles8),
1099
+ {
1100
+ type: "text",
1101
+ text: "{REF}",
1102
+ x: -0.2,
1103
+ y: 0.2094553499999995
1104
+ },
1105
+ {
1106
+ type: "text",
1107
+ text: "{VAL}",
1108
+ x: 0.2,
1109
+ y: 0.2094553499999995
1110
+ }
941
1111
  ],
942
1112
  ports: [
943
- { ...refblocks5.left1, labels: ["1"] },
944
- { ...refblocks5.right1, labels: ["2"] }
1113
+ { ...refblocks8.left1, labels: ["1"] },
1114
+ // TODO add more "standard" labels
1115
+ { ...refblocks8.right1, labels: ["2"] }
1116
+ // TODO add more "standard" labels
945
1117
  ],
946
- size: { width: bounds5.width, height: bounds5.height },
947
- //{ width: 1, height: 0.24 },
948
- center: { x: bounds5.centerX, y: bounds5.centerY }
949
- });
1118
+ size: { width: bounds8.width, height: bounds8.height },
1119
+ center: { x: bounds8.centerX, y: bounds8.centerY }
1120
+ }).changeTextAnchor("{VAL}", "top_left").rotateRightFacingSymbol("down").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "bottom_left").build();
950
1121
 
951
- // symbols/capacitor_down.ts
952
- var capacitor_down_default = rotateSymbol(capacitor_horz_default, "down");
1122
+ // symbols/capacitor_right.ts
1123
+ var capacitor_right_default = modifySymbol(capacitor_default).rotateRightFacingSymbol("right").changeTextAnchor("{VAL}", "middle_right").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_left").build();
953
1124
 
954
1125
  // symbols/capacitor_left.ts
955
- var capacitor_left_default = rotateSymbol(capacitor_horz_default, "left");
956
-
957
- // drawing/modify-symbol/modify-symbol.ts
958
- var SymbolModifier = class {
959
- symbol;
960
- constructor(symbol) {
961
- this.symbol = JSON.parse(JSON.stringify(symbol));
962
- }
963
- changeTextAnchor(text, newAnchor) {
964
- this.symbol = {
965
- ...this.symbol,
966
- primitives: this.symbol.primitives.map((primitive) => {
967
- if (primitive.type === "text" && primitive.text === text) {
968
- return {
969
- ...primitive,
970
- anchor: newAnchor
971
- };
972
- }
973
- return primitive;
974
- })
975
- };
976
- return this;
977
- }
978
- labelPort(currentLabel, newLabels) {
979
- this.symbol = {
980
- ...this.symbol,
981
- ports: this.symbol.ports.map((port) => {
982
- return port.labels.includes(currentLabel) ? { ...port, labels: newLabels } : port;
983
- })
984
- };
985
- return this;
986
- }
987
- rotateRightFacingSymbol(newOrientation) {
988
- this.symbol = rotateRightFacingSymbol(this.symbol, {
989
- newOrientation
990
- });
991
- return this;
992
- }
993
- build() {
994
- return this.symbol;
995
- }
996
- };
997
- var modifySymbol = (symbol) => {
998
- return new SymbolModifier({
999
- ...symbol,
1000
- primitives: symbol.primitives ?? [
1001
- ...Object.values(symbol.paths ?? {}),
1002
- ...Object.values(symbol.texts ?? {}),
1003
- ...Object.values(symbol.circles ?? {}),
1004
- ...Object.values(symbol.rects ?? {})
1005
- ],
1006
- ports: symbol.ports ?? Object.entries(symbol.refblocks).flatMap(([key, refblock]) => {
1007
- return [{ ...refblock, labels: [key] }];
1008
- }),
1009
- center: symbol.center ?? {
1010
- x: symbol.bounds.centerX,
1011
- y: symbol.bounds.centerY
1012
- },
1013
- size: symbol.size ?? {
1014
- width: symbol.bounds.width,
1015
- height: symbol.bounds.height
1016
- }
1017
- });
1018
- };
1126
+ var capacitor_left_default = modifySymbol(capacitor_right_default).changeTextAnchor("{VAL}", "middle_top").rotateRightFacingSymbol("left").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_top").build();
1019
1127
 
1020
1128
  // assets/generated/capacitor_polarized.json
1021
1129
  var capacitor_polarized_default = {
@@ -2776,26 +2884,98 @@ var capacitor_polarized_default = {
2776
2884
  circles: {}
2777
2885
  };
2778
2886
 
2887
+ // symbols/capacitor_polarized_down.ts
2888
+ var { paths: paths9, texts: texts8, bounds: bounds9, refblocks: refblocks9, circles: circles9 } = capacitor_polarized_default;
2889
+ var capacitor_polarized_down_default = modifySymbol({
2890
+ primitives: [
2891
+ ...Object.values(paths9),
2892
+ ...Object.values(circles9),
2893
+ {
2894
+ type: "text",
2895
+ text: "{REF}",
2896
+ x: -0.2,
2897
+ y: 0.2094553499999995
2898
+ },
2899
+ {
2900
+ type: "text",
2901
+ text: "{VAL}",
2902
+ x: 0.3,
2903
+ y: 0.2094553499999995
2904
+ }
2905
+ ],
2906
+ ports: [
2907
+ { ...refblocks9.left1, labels: ["1"] },
2908
+ // TODO add more "standard" labels
2909
+ { ...refblocks9.right1, labels: ["2"] }
2910
+ // TODO add more "standard" labels
2911
+ ],
2912
+ size: { width: bounds9.width, height: bounds9.height },
2913
+ center: { x: bounds9.centerX, y: bounds9.centerY }
2914
+ }).changeTextAnchor("{VAL}", "top_left").rotateRightFacingSymbol("down").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "bottom_left").build();
2915
+
2779
2916
  // symbols/capacitor_polarized_right.ts
2780
2917
  var capacitor_polarized_right_default = modifySymbol(capacitor_polarized_default).changeTextAnchor("{VAL}", "middle_top").rotateRightFacingSymbol("right").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_bottom").build();
2781
2918
 
2782
- // symbols/capacitor_polarized_down.ts
2783
- var capacitor_polarized_down_default = modifySymbol(capacitor_polarized_right_default).changeTextAnchor("{VAL}", "middle_top").rotateRightFacingSymbol("down").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_left").build();
2784
-
2785
2919
  // symbols/capacitor_polarized_left.ts
2786
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();
2787
2921
 
2788
2922
  // symbols/capacitor_polarized_up.ts
2789
- var capacitor_polarized_up_default = modifySymbol(capacitor_polarized_right_default).changeTextAnchor("{VAL}", "middle_top").rotateRightFacingSymbol("up").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_right").build();
2790
-
2791
- // symbols/capacitor_right.ts
2792
- var capacitor_right_default = capacitor_horz_default;
2923
+ var { paths: paths10, texts: texts9, bounds: bounds10, refblocks: refblocks10, circles: circles10 } = capacitor_polarized_default;
2924
+ var capacitor_polarized_up_default = modifySymbol({
2925
+ primitives: [
2926
+ ...Object.values(paths10),
2927
+ ...Object.values(circles10),
2928
+ {
2929
+ type: "text",
2930
+ text: "{REF}",
2931
+ x: 0.1,
2932
+ y: -0.2094553499999995
2933
+ },
2934
+ {
2935
+ type: "text",
2936
+ text: "{VAL}",
2937
+ x: -0.2,
2938
+ y: -0.2094553499999995
2939
+ }
2940
+ ],
2941
+ ports: [
2942
+ { ...refblocks10.left1, labels: ["1"] },
2943
+ // TODO add more "standard" labels
2944
+ { ...refblocks10.right1, labels: ["2"] }
2945
+ // TODO add more "standard" labels
2946
+ ],
2947
+ size: { width: bounds10.width, height: bounds10.height },
2948
+ center: { x: bounds10.centerX, y: bounds10.centerY }
2949
+ }).changeTextAnchor("{VAL}", "top_left").rotateRightFacingSymbol("up").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "bottom_left").build();
2793
2950
 
2794
2951
  // symbols/capacitor_up.ts
2795
- var capacitor_up_default = rotateSymbol(capacitor_horz_default, "up");
2796
-
2797
- // symbols/capacitor_vert.ts
2798
- var capacitor_vert_default = rotateSymbol(capacitor_horz_default);
2952
+ var { paths: paths11, texts: texts10, bounds: bounds11, refblocks: refblocks11, circles: circles11 } = capacitor_default;
2953
+ var capacitor_up_default = modifySymbol({
2954
+ primitives: [
2955
+ ...Object.values(paths11),
2956
+ ...Object.values(circles11),
2957
+ {
2958
+ type: "text",
2959
+ text: "{REF}",
2960
+ x: 0.2,
2961
+ y: -0.2094553499999995
2962
+ },
2963
+ {
2964
+ type: "text",
2965
+ text: "{VAL}",
2966
+ x: -0.2,
2967
+ y: -0.2094553499999995
2968
+ }
2969
+ ],
2970
+ ports: [
2971
+ { ...refblocks11.left1, labels: ["1"] },
2972
+ // TODO add more "standard" labels
2973
+ { ...refblocks11.right1, labels: ["2"] }
2974
+ // TODO add more "standard" labels
2975
+ ],
2976
+ size: { width: bounds11.width, height: bounds11.height },
2977
+ center: { x: bounds11.centerX, y: bounds11.centerY }
2978
+ }).changeTextAnchor("{VAL}", "top_left").rotateRightFacingSymbol("up").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "bottom_left").build();
2799
2979
 
2800
2980
  // assets/generated/constant_current_diode.json
2801
2981
  var constant_current_diode_default = {
@@ -3431,11 +3611,11 @@ var dc_ammeter_default = {
3431
3611
  };
3432
3612
 
3433
3613
  // symbols/dc_ammeter_horz.ts
3434
- var { paths: paths6, texts: texts5, bounds: bounds6, refblocks: refblocks6, circles: circles4 } = dc_ammeter_default;
3614
+ var { paths: paths12, texts: texts11, bounds: bounds12, refblocks: refblocks12, circles: circles12 } = dc_ammeter_default;
3435
3615
  var dc_ammeter_horz_default = defineSymbol({
3436
3616
  primitives: [
3437
- ...Object.values(paths6),
3438
- ...Object.values(circles4),
3617
+ ...Object.values(paths12),
3618
+ ...Object.values(circles12),
3439
3619
  {
3440
3620
  type: "text",
3441
3621
  text: "{REF}",
@@ -3450,16 +3630,16 @@ var dc_ammeter_horz_default = defineSymbol({
3450
3630
  y: 0.35,
3451
3631
  anchor: "middle_bottom"
3452
3632
  },
3453
- { ...texts5.left1, x: 0, y: 0.01, anchor: "center", fontSize: 0.3 }
3633
+ { ...texts11.left1, x: 0, y: 0.01, anchor: "center", fontSize: 0.3 }
3454
3634
  ],
3455
3635
  ports: [
3456
- { ...refblocks6.left1, labels: ["1"] },
3636
+ { ...refblocks12.left1, labels: ["1"] },
3457
3637
  // TODO add more "standard" labels
3458
- { ...refblocks6.right1, labels: ["2"] }
3638
+ { ...refblocks12.right1, labels: ["2"] }
3459
3639
  // TODO add more "standard" labels
3460
3640
  ],
3461
- size: { width: bounds6.width, height: bounds6.height },
3462
- center: { x: bounds6.centerX, y: bounds6.centerY }
3641
+ size: { width: bounds12.width, height: bounds12.height },
3642
+ center: { x: bounds12.centerX, y: bounds12.centerY }
3463
3643
  });
3464
3644
 
3465
3645
  // symbols/dc_ammeter_vert.ts
@@ -3605,11 +3785,11 @@ var dc_voltmeter_default = {
3605
3785
  };
3606
3786
 
3607
3787
  // symbols/dc_voltmeter_horz.ts
3608
- var { paths: paths7, texts: texts6, bounds: bounds7, refblocks: refblocks7, circles: circles5 } = dc_voltmeter_default;
3788
+ var { paths: paths13, texts: texts12, bounds: bounds13, refblocks: refblocks13, circles: circles13 } = dc_voltmeter_default;
3609
3789
  var dc_voltmeter_horz_default = defineSymbol({
3610
3790
  primitives: [
3611
- ...Object.values(paths7),
3612
- ...Object.values(circles5),
3791
+ ...Object.values(paths13),
3792
+ ...Object.values(circles13),
3613
3793
  {
3614
3794
  type: "text",
3615
3795
  text: "{REF}",
@@ -3626,13 +3806,13 @@ var dc_voltmeter_horz_default = defineSymbol({
3626
3806
  }
3627
3807
  ],
3628
3808
  ports: [
3629
- { ...refblocks7.left1, labels: ["1"] },
3809
+ { ...refblocks13.left1, labels: ["1"] },
3630
3810
  // TODO add more "standard" labels
3631
- { ...refblocks7.right1, labels: ["2"] }
3811
+ { ...refblocks13.right1, labels: ["2"] }
3632
3812
  // TODO add more "standard" labels
3633
3813
  ],
3634
- size: { width: bounds7.width, height: bounds7.height },
3635
- center: { x: bounds7.centerX, y: bounds7.centerY }
3814
+ size: { width: bounds13.width, height: bounds13.height },
3815
+ center: { x: bounds13.centerX, y: bounds13.centerY }
3636
3816
  });
3637
3817
 
3638
3818
  // symbols/dc_voltmeter_vert.ts
@@ -3810,11 +3990,11 @@ var diac_horz_default = modifySymbol(diac_default).changeTextAnchor("{VAL}", "mi
3810
3990
 
3811
3991
  // symbols/diac_vert.ts
3812
3992
  var rotatedSymbol4 = rotateSymbol(diac_horz_default);
3813
- var texts7 = rotatedSymbol4.primitives.filter(
3993
+ var texts13 = rotatedSymbol4.primitives.filter(
3814
3994
  (primitive) => primitive.type === "text"
3815
3995
  );
3816
- var ref = texts7.find((text) => text.text === "{REF}");
3817
- var val = texts7.find((text) => text.text === "{VAL}");
3996
+ var ref = texts13.find((text) => text.text === "{REF}");
3997
+ var val = texts13.find((text) => text.text === "{VAL}");
3818
3998
  ref.y = 0;
3819
3999
  val.y = 0;
3820
4000
  var diac_vert_default = rotatedSymbol4;
@@ -4119,36 +4299,36 @@ var dpst_switch_default = {
4119
4299
 
4120
4300
  // symbols/dpst_switch_horz.ts
4121
4301
  dpst_switch_default.bounds.width += 0.2;
4122
- var { paths: paths8, texts: texts8, bounds: bounds8, refblocks: refblocks8, circles: circles6 } = dpst_switch_default;
4302
+ var { paths: paths14, texts: texts14, bounds: bounds14, refblocks: refblocks14, circles: circles14 } = dpst_switch_default;
4123
4303
  var dpst_switch_horz_default = defineSymbol({
4124
4304
  primitives: [
4125
- ...Object.values(paths8),
4126
- ...Object.values(circles6),
4127
- { ...texts8.top1, anchor: "middle_bottom", x: 0 },
4128
- { ...texts8.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 }
4129
4309
  ],
4130
4310
  ports: [
4131
- { ...refblocks8.left1, labels: ["1", "left1"] },
4311
+ { ...refblocks14.left1, labels: ["1", "left1"] },
4132
4312
  // TODO add more "standard" labels
4133
- { ...refblocks8.left3, labels: ["3", "left3"] },
4313
+ { ...refblocks14.left3, labels: ["3", "left3"] },
4134
4314
  // TODO add more "standard" labels
4135
- { ...refblocks8.right1, labels: ["2", "right1"] },
4315
+ { ...refblocks14.right1, labels: ["2", "right1"] },
4136
4316
  // TODO add more "standard" labels
4137
- { ...refblocks8.right3, labels: ["4", "right3"] }
4317
+ { ...refblocks14.right3, labels: ["4", "right3"] }
4138
4318
  // TODO add more "standard" labels
4139
4319
  ],
4140
- size: { width: bounds8.width, height: bounds8.height },
4141
- center: { x: bounds8.centerX, y: bounds8.centerY }
4320
+ size: { width: bounds14.width, height: bounds14.height },
4321
+ center: { x: bounds14.centerX, y: bounds14.centerY }
4142
4322
  });
4143
4323
 
4144
4324
  // symbols/dpst_switch_vert.ts
4145
4325
  var rotatedSymbol5 = rotateSymbol(dpst_switch_horz_default);
4146
- var texts9 = rotatedSymbol5.primitives.filter((p) => p.type === "text");
4147
- var val2 = texts9.find((t) => t.text === "{VAL}");
4326
+ var texts15 = rotatedSymbol5.primitives.filter((p) => p.type === "text");
4327
+ var val2 = texts15.find((t) => t.text === "{VAL}");
4148
4328
  val2.anchor = "middle_right";
4149
4329
  val2.x = -0.35;
4150
4330
  val2.y = 0;
4151
- var ref2 = texts9.find((t) => t.text === "{REF}");
4331
+ var ref2 = texts15.find((t) => t.text === "{REF}");
4152
4332
  ref2.anchor = "middle_left";
4153
4333
  ref2.x = 0.3;
4154
4334
  ref2.y = 0;
@@ -4362,11 +4542,11 @@ var frequency_meter_default = {
4362
4542
  };
4363
4543
 
4364
4544
  // symbols/frequency_meter_horz.ts
4365
- var { paths: paths9, texts: texts10, bounds: bounds9, refblocks: refblocks9, circles: circles7 } = frequency_meter_default;
4545
+ var { paths: paths15, texts: texts16, bounds: bounds15, refblocks: refblocks15, circles: circles15 } = frequency_meter_default;
4366
4546
  var frequency_meter_horz_default = defineSymbol({
4367
4547
  primitives: [
4368
- ...Object.values(paths9),
4369
- ...Object.values(circles7),
4548
+ ...Object.values(paths15),
4549
+ ...Object.values(circles15),
4370
4550
  {
4371
4551
  type: "text",
4372
4552
  text: "{REF}",
@@ -4381,16 +4561,16 @@ var frequency_meter_horz_default = defineSymbol({
4381
4561
  y: 0.35,
4382
4562
  anchor: "middle_bottom"
4383
4563
  },
4384
- { ...texts10.left1, x: 0, y: 0.01, anchor: "center", fontSize: 0.2 }
4564
+ { ...texts16.left1, x: 0, y: 0.01, anchor: "center", fontSize: 0.2 }
4385
4565
  ],
4386
4566
  ports: [
4387
- { ...refblocks9.left1, labels: ["1"] },
4567
+ { ...refblocks15.left1, labels: ["1"] },
4388
4568
  // TODO add more "standard" labels
4389
- { ...refblocks9.right1, labels: ["2"] }
4569
+ { ...refblocks15.right1, labels: ["2"] }
4390
4570
  // TODO add more "standard" labels
4391
4571
  ],
4392
- size: { width: bounds9.width, height: bounds9.height },
4393
- center: { x: bounds9.centerX, y: bounds9.centerY }
4572
+ size: { width: bounds15.width, height: bounds15.height },
4573
+ center: { x: bounds15.centerX, y: bounds15.centerY }
4394
4574
  });
4395
4575
 
4396
4576
  // symbols/frequency_meter_vert.ts
@@ -4495,11 +4675,11 @@ var fuse_default = {
4495
4675
  };
4496
4676
 
4497
4677
  // symbols/fuse_horz.ts
4498
- var { paths: paths10, texts: texts11, bounds: bounds10, refblocks: refblocks10 } = fuse_default;
4678
+ var { paths: paths16, texts: texts17, bounds: bounds16, refblocks: refblocks16 } = fuse_default;
4499
4679
  var fuse_horz_default = defineSymbol({
4500
4680
  primitives: [
4501
- ...Object.values(paths10),
4502
- { ...texts11.top1, anchor: "middle_bottom" },
4681
+ ...Object.values(paths16),
4682
+ { ...texts17.top1, anchor: "middle_bottom" },
4503
4683
  {
4504
4684
  type: "text",
4505
4685
  text: "{VAL}",
@@ -4509,13 +4689,13 @@ var fuse_horz_default = defineSymbol({
4509
4689
  }
4510
4690
  ],
4511
4691
  ports: [
4512
- { ...refblocks10.left1, labels: ["1"] },
4692
+ { ...refblocks16.left1, labels: ["1"] },
4513
4693
  // TODO add more "standard" labels
4514
- { ...refblocks10.right1, labels: ["2"] }
4694
+ { ...refblocks16.right1, labels: ["2"] }
4515
4695
  // TODO add more "standard" labels
4516
4696
  ],
4517
- size: { width: bounds10.width, height: bounds10.height },
4518
- center: { x: bounds10.centerX, y: bounds10.centerY }
4697
+ size: { width: bounds16.width, height: bounds16.height },
4698
+ center: { x: bounds16.centerX, y: bounds16.centerY }
4519
4699
  });
4520
4700
 
4521
4701
  // symbols/fuse_vert.ts
@@ -4623,11 +4803,11 @@ var ground_default = {
4623
4803
  };
4624
4804
 
4625
4805
  // symbols/ground_horz.ts
4626
- var { paths: paths11, circles: circles8, bounds: bounds11, refblocks: refblocks11 } = ground_default;
4806
+ var { paths: paths17, circles: circles16, bounds: bounds17, refblocks: refblocks17 } = ground_default;
4627
4807
  var horizontalSymbol = defineSymbol({
4628
4808
  primitives: [
4629
- ...Object.values(paths11),
4630
- ...Object.values(circles8),
4809
+ ...Object.values(paths17),
4810
+ ...Object.values(circles16),
4631
4811
  {
4632
4812
  type: "text",
4633
4813
  text: "{REF}",
@@ -4651,7 +4831,7 @@ var horizontalSymbol = defineSymbol({
4651
4831
  // Horizontal anchor for VAL
4652
4832
  }
4653
4833
  ],
4654
- ports: [{ ...refblocks11.top1, labels: ["1"] }],
4834
+ ports: [{ ...refblocks17.top1, labels: ["1"] }],
4655
4835
  size: { width: 1, height: 1 },
4656
4836
  center: { x: 0, y: 0.4 }
4657
4837
  });
@@ -4778,7 +4958,7 @@ var gunn_diode_default = {
4778
4958
  };
4779
4959
 
4780
4960
  // symbols/gunn_diode_horz.ts
4781
- var { paths: paths12, texts: texts12, bounds: bounds12, refblocks: refblocks12, circles: circles9 } = gunn_diode_default;
4961
+ var { paths: paths18, texts: texts18, bounds: bounds18, refblocks: refblocks18, circles: circles17 } = gunn_diode_default;
4782
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();
4783
4963
 
4784
4964
  // symbols/gunn_diode_vert.ts
@@ -5216,12 +5396,12 @@ var illuminated_push_button_normally_open_horz_default = modifySymbol(illuminate
5216
5396
 
5217
5397
  // symbols/illuminated_push_button_normally_open_vert.ts
5218
5398
  var rotatedSymbol7 = rotateSymbol(illuminated_push_button_normally_open_horz_default);
5219
- var texts13 = rotatedSymbol7.primitives.filter((p) => p.type === "text");
5220
- var val4 = texts13.find((t) => t.text === "{VAL}");
5399
+ var texts19 = rotatedSymbol7.primitives.filter((p) => p.type === "text");
5400
+ var val4 = texts19.find((t) => t.text === "{VAL}");
5221
5401
  val4.x = -0.35;
5222
5402
  val4.y = 0;
5223
5403
  val4.anchor = "middle_right";
5224
- var ref4 = texts13.find((t) => t.text === "{REF}");
5404
+ var ref4 = texts19.find((t) => t.text === "{REF}");
5225
5405
  ref4.y = 0;
5226
5406
  ref4.x = 0.35;
5227
5407
  ref4.anchor = "middle_left";
@@ -6303,22 +6483,22 @@ var inductor_default = {
6303
6483
  };
6304
6484
 
6305
6485
  // symbols/inductor_horz.ts
6306
- var { paths: paths13, texts: texts14, bounds: bounds13, refblocks: refblocks13, circles: circles10 } = inductor_default;
6486
+ var { paths: paths19, texts: texts20, bounds: bounds19, refblocks: refblocks19, circles: circles18 } = inductor_default;
6307
6487
  var inductor_horz_default = defineSymbol({
6308
6488
  primitives: [
6309
- ...Object.values(paths13),
6310
- ...Object.values(circles10),
6311
- { ...texts14.top1, anchor: "middle_bottom" },
6312
- { ...texts14.bottom1, anchor: "middle_top" }
6489
+ ...Object.values(paths19),
6490
+ ...Object.values(circles18),
6491
+ { ...texts20.top1, anchor: "middle_bottom" },
6492
+ { ...texts20.bottom1, anchor: "middle_top" }
6313
6493
  ],
6314
6494
  ports: [
6315
- { ...refblocks13.left1, labels: ["1"] },
6495
+ { ...refblocks19.left1, labels: ["1"] },
6316
6496
  // TODO add more "standard" labels
6317
- { ...refblocks13.right1, labels: ["2"] }
6497
+ { ...refblocks19.right1, labels: ["2"] }
6318
6498
  // TODO add more "standard" labels
6319
6499
  ],
6320
- size: { width: bounds13.width, height: bounds13.height },
6321
- center: { x: bounds13.centerX, y: bounds13.centerY }
6500
+ size: { width: bounds19.width, height: bounds19.height },
6501
+ center: { x: bounds19.centerX, y: bounds19.centerY }
6322
6502
  });
6323
6503
 
6324
6504
  // symbols/inductor_vert.ts
@@ -6569,8 +6749,8 @@ var laser_diode_horz_default = modifySymbol(laser_diode_default).changeTextAncho
6569
6749
 
6570
6750
  // symbols/laser_diode_vert.ts
6571
6751
  var rotatedSymbol8 = rotateSymbol(laser_diode_horz_default);
6572
- var texts15 = rotatedSymbol8.primitives.filter((p) => p.type === "text");
6573
- var ref5 = texts15.find((t) => t.text === "{VAL}");
6752
+ var texts21 = rotatedSymbol8.primitives.filter((p) => p.type === "text");
6753
+ var ref5 = texts21.find((t) => t.text === "{VAL}");
6574
6754
  ref5.x = -0.52;
6575
6755
  ref5.anchor = "middle_right";
6576
6756
  var laser_diode_vert_default = rotatedSymbol8;
@@ -6791,22 +6971,22 @@ var led_default = {
6791
6971
  };
6792
6972
 
6793
6973
  // symbols/led_right.ts
6794
- var { paths: paths14, texts: texts16, bounds: bounds14, refblocks: refblocks14, circles: circles11 } = led_default;
6974
+ var { paths: paths20, texts: texts22, bounds: bounds20, refblocks: refblocks20, circles: circles19 } = led_default;
6795
6975
  var led_right_default = defineSymbol({
6796
6976
  primitives: [
6797
- ...Object.values(paths14),
6798
- ...Object.values(circles11),
6799
- { ...texts16.bottom1, anchor: "middle_top" },
6800
- { ...texts16.right1, anchor: "middle_bottom" }
6977
+ ...Object.values(paths20),
6978
+ ...Object.values(circles19),
6979
+ { ...texts22.bottom1, anchor: "middle_top" },
6980
+ { ...texts22.right1, anchor: "middle_bottom" }
6801
6981
  ],
6802
6982
  ports: [
6803
- { ...refblocks14.left1, labels: ["1"] },
6983
+ { ...refblocks20.left1, labels: ["1"] },
6804
6984
  // TODO add more "standard" labels
6805
- { ...refblocks14.right1, labels: ["2"] }
6985
+ { ...refblocks20.right1, labels: ["2"] }
6806
6986
  // TODO add more "standard" labels
6807
6987
  ],
6808
- size: { width: bounds14.width, height: bounds14.height },
6809
- center: { x: bounds14.centerX, y: bounds14.centerY }
6988
+ size: { width: bounds20.width, height: bounds20.height },
6989
+ center: { x: bounds20.centerX, y: bounds20.centerY }
6810
6990
  });
6811
6991
 
6812
6992
  // symbols/led_down.ts
@@ -7059,32 +7239,32 @@ var light_dependent_resistor_default = {
7059
7239
  };
7060
7240
 
7061
7241
  // symbols/light_dependent_resistor_horz.ts
7062
- var { paths: paths15, texts: texts17, bounds: bounds15, refblocks: refblocks15, circles: circles12 } = light_dependent_resistor_default;
7242
+ var { paths: paths21, texts: texts23, bounds: bounds21, refblocks: refblocks21, circles: circles20 } = light_dependent_resistor_default;
7063
7243
  var light_dependent_resistor_horz_default = defineSymbol({
7064
7244
  primitives: [
7065
- ...Object.values(paths15),
7066
- ...Object.values(circles12),
7067
- { ...texts17.top1, anchor: "middle_left", x: 0 },
7068
- { ...texts17.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 }
7069
7249
  ],
7070
7250
  ports: [
7071
- { ...refblocks15.left1, labels: ["1"] },
7251
+ { ...refblocks21.left1, labels: ["1"] },
7072
7252
  // TODO add more "standard" labels
7073
- { ...refblocks15.right1, labels: ["2"] }
7253
+ { ...refblocks21.right1, labels: ["2"] }
7074
7254
  // TODO add more "standard" labels
7075
7255
  ],
7076
- size: { width: bounds15.width, height: bounds15.height },
7077
- center: { x: bounds15.centerX, y: bounds15.centerY }
7256
+ size: { width: bounds21.width, height: bounds21.height },
7257
+ center: { x: bounds21.centerX, y: bounds21.centerY }
7078
7258
  });
7079
7259
 
7080
7260
  // symbols/light_dependent_resistor_vert.ts
7081
7261
  var rotatedSymbol9 = rotateSymbol(light_dependent_resistor_horz_default);
7082
- var texts18 = rotatedSymbol9.primitives.filter((p) => p.type === "text");
7083
- var val5 = texts18.find((t) => t.text === "{VAL}");
7262
+ var texts24 = rotatedSymbol9.primitives.filter((p) => p.type === "text");
7263
+ var val5 = texts24.find((t) => t.text === "{VAL}");
7084
7264
  val5.x = -0.35;
7085
7265
  val5.y = 0;
7086
7266
  val5.anchor = "middle_right";
7087
- var ref6 = texts18.find((t) => t.text === "{REF}");
7267
+ var ref6 = texts24.find((t) => t.text === "{REF}");
7088
7268
  ref6.y = 0;
7089
7269
  ref6.x = 0.35;
7090
7270
  ref6.anchor = "middle_left";
@@ -7361,23 +7541,23 @@ var mosfet_depletion_normally_on_default = {
7361
7541
  };
7362
7542
 
7363
7543
  // symbols/mosfet_depletion_normally_on_horz.ts
7364
- var { paths: paths16, texts: texts19, bounds: bounds16, refblocks: refblocks16 } = mosfet_depletion_normally_on_default;
7544
+ var { paths: paths22, texts: texts25, bounds: bounds22, refblocks: refblocks22 } = mosfet_depletion_normally_on_default;
7365
7545
  var mosfet_depletion_normally_on_horz_default = defineSymbol({
7366
7546
  primitives: [
7367
- ...Object.values(paths16),
7368
- { ...texts19.right1, anchor: "middle_left" },
7369
- { ...texts19.right2, anchor: "middle_left" }
7547
+ ...Object.values(paths22),
7548
+ { ...texts25.right1, anchor: "middle_left" },
7549
+ { ...texts25.right2, anchor: "middle_left" }
7370
7550
  ],
7371
7551
  ports: [
7372
- { ...refblocks16.top1, labels: ["1"] },
7552
+ { ...refblocks22.top1, labels: ["1"] },
7373
7553
  // TODO add more "standard" labels
7374
- { ...refblocks16.bottom1, labels: ["2"] },
7554
+ { ...refblocks22.bottom1, labels: ["2"] },
7375
7555
  // TODO add more "standard" labels
7376
- { ...refblocks16.left1, labels: ["3"] }
7556
+ { ...refblocks22.left1, labels: ["3"] }
7377
7557
  // TODO add more "standard" labels
7378
7558
  ],
7379
- size: { width: bounds16.width + 0.4, height: bounds16.height },
7380
- center: { x: bounds16.centerX + 0.2, y: bounds16.centerY }
7559
+ size: { width: bounds22.width + 0.4, height: bounds22.height },
7560
+ center: { x: bounds22.centerX + 0.2, y: bounds22.centerY }
7381
7561
  });
7382
7562
 
7383
7563
  // symbols/mosfet_depletion_normally_on_vert.ts
@@ -8003,20 +8183,20 @@ var mushroom_head_normally_open_momentary_default = {
8003
8183
  };
8004
8184
 
8005
8185
  // symbols/mushroom_head_normally_open_momentary_horz.ts
8006
- var { paths: paths17, texts: texts20, bounds: bounds17, refblocks: refblocks17, circles: circles13 } = mushroom_head_normally_open_momentary_default;
8186
+ var { paths: paths23, texts: texts26, bounds: bounds23, refblocks: refblocks23, circles: circles21 } = mushroom_head_normally_open_momentary_default;
8007
8187
  var mushroom_head_normally_open_momentary_horz_default = defineSymbol({
8008
8188
  primitives: [
8009
- ...Object.values(paths17),
8010
- ...Object.values(circles13),
8011
- { ...texts20.top1, anchor: "middle_bottom", x: 0 },
8012
- { ...texts20.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 }
8013
8193
  ],
8014
8194
  ports: [
8015
- { ...refblocks17.left1, labels: ["1"] },
8016
- { ...refblocks17.right1, labels: ["2"] }
8195
+ { ...refblocks23.left1, labels: ["1"] },
8196
+ { ...refblocks23.right1, labels: ["2"] }
8017
8197
  ],
8018
- size: { width: bounds17.width, height: bounds17.height },
8019
- center: { x: bounds17.centerX + 6e-3, y: bounds17.centerY + 0.06 }
8198
+ size: { width: bounds23.width, height: bounds23.height },
8199
+ center: { x: bounds23.centerX + 6e-3, y: bounds23.centerY + 0.06 }
8020
8200
  });
8021
8201
 
8022
8202
  // symbols/mushroom_head_normally_open_momentary_vert.ts
@@ -8229,34 +8409,34 @@ var n_channel_d_mosfet_transistor_default = {
8229
8409
  };
8230
8410
 
8231
8411
  // symbols/n_channel_d_mosfet_transistor_horz.ts
8232
- var { paths: paths18, texts: texts21, bounds: bounds18, refblocks: refblocks18, circles: circles14 } = n_channel_d_mosfet_transistor_default;
8412
+ var { paths: paths24, texts: texts27, bounds: bounds24, refblocks: refblocks24, circles: circles22 } = n_channel_d_mosfet_transistor_default;
8233
8413
  var n_channel_d_mosfet_transistor_horz_default = defineSymbol({
8234
8414
  primitives: [
8235
- ...Object.values(paths18),
8236
- ...Object.values(circles14),
8237
- { ...texts21.top1, anchor: "middle_right", x: 0 },
8238
- { ...texts21.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 }
8239
8419
  ],
8240
8420
  ports: [
8241
- { ...refblocks18.top1, labels: ["1", "drain"] },
8421
+ { ...refblocks24.top1, labels: ["1", "drain"] },
8242
8422
  // TODO add more "standard" labels
8243
- { ...refblocks18.bottom1, labels: ["2", "source"] },
8423
+ { ...refblocks24.bottom1, labels: ["2", "source"] },
8244
8424
  // TODO add more "standard" labels
8245
- { ...refblocks18.left1, labels: ["3", "gate"] }
8425
+ { ...refblocks24.left1, labels: ["3", "gate"] }
8246
8426
  // TODO add more "standard" labels
8247
8427
  ],
8248
- size: { width: bounds18.width, height: bounds18.height },
8249
- center: { x: bounds18.centerX, y: bounds18.centerY }
8428
+ size: { width: bounds24.width, height: bounds24.height },
8429
+ center: { x: bounds24.centerX, y: bounds24.centerY }
8250
8430
  });
8251
8431
 
8252
8432
  // symbols/n_channel_d_mosfet_transistor_vert.ts
8253
8433
  var rotatedSymbol10 = rotateSymbol(n_channel_d_mosfet_transistor_horz_default);
8254
- var texts22 = rotatedSymbol10.primitives.filter((p) => p.type === "text");
8255
- var val8 = texts22.find((t) => t.text === "{VAL}");
8434
+ var texts28 = rotatedSymbol10.primitives.filter((p) => p.type === "text");
8435
+ var val8 = texts28.find((t) => t.text === "{VAL}");
8256
8436
  val8.x = -0.35;
8257
8437
  val8.y = 0;
8258
8438
  val8.anchor = "middle_right";
8259
- var ref9 = texts22.find((t) => t.text === "{REF}");
8439
+ var ref9 = texts28.find((t) => t.text === "{REF}");
8260
8440
  ref9.y = 0;
8261
8441
  ref9.x = 0.35;
8262
8442
  ref9.anchor = "middle_left";
@@ -8486,34 +8666,34 @@ var n_channel_e_mosfet_transistor_default = {
8486
8666
  };
8487
8667
 
8488
8668
  // symbols/n_channel_e_mosfet_transistor_horz.ts
8489
- var { paths: paths19, texts: texts23, bounds: bounds19, refblocks: refblocks19, circles: circles15 } = n_channel_e_mosfet_transistor_default;
8669
+ var { paths: paths25, texts: texts29, bounds: bounds25, refblocks: refblocks25, circles: circles23 } = n_channel_e_mosfet_transistor_default;
8490
8670
  var n_channel_e_mosfet_transistor_horz_default = defineSymbol({
8491
8671
  primitives: [
8492
- ...Object.values(paths19),
8493
- ...Object.values(circles15),
8494
- { ...texts23.top1, anchor: "middle_right", x: 0 },
8495
- { ...texts23.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 }
8496
8676
  ],
8497
8677
  ports: [
8498
- { ...refblocks19.top1, labels: ["1", "drain"] },
8678
+ { ...refblocks25.top1, labels: ["1", "drain"] },
8499
8679
  // TODO add more "standard" labels
8500
- { ...refblocks19.bottom1, labels: ["2", "source"] },
8680
+ { ...refblocks25.bottom1, labels: ["2", "source"] },
8501
8681
  // TODO add more "standard" labels
8502
- { ...refblocks19.left1, labels: ["3", "gate"] }
8682
+ { ...refblocks25.left1, labels: ["3", "gate"] }
8503
8683
  // TODO add more "standard" labels
8504
8684
  ],
8505
- size: { width: bounds19.width, height: bounds19.height },
8506
- center: { x: bounds19.centerX, y: bounds19.centerY }
8685
+ size: { width: bounds25.width, height: bounds25.height },
8686
+ center: { x: bounds25.centerX, y: bounds25.centerY }
8507
8687
  });
8508
8688
 
8509
8689
  // symbols/n_channel_e_mosfet_transistor_vert.ts
8510
8690
  var rotatedSymbol11 = rotateSymbol(n_channel_e_mosfet_transistor_horz_default);
8511
- var texts24 = rotatedSymbol11.primitives.filter((p) => p.type === "text");
8512
- var val9 = texts24.find((t) => t.text === "{VAL}");
8691
+ var texts30 = rotatedSymbol11.primitives.filter((p) => p.type === "text");
8692
+ var val9 = texts30.find((t) => t.text === "{VAL}");
8513
8693
  val9.x = -0.35;
8514
8694
  val9.y = 0;
8515
8695
  val9.anchor = "middle_right";
8516
- var ref10 = texts24.find((t) => t.text === "{REF}");
8696
+ var ref10 = texts30.find((t) => t.text === "{REF}");
8517
8697
  ref10.y = 0;
8518
8698
  ref10.x = 0.35;
8519
8699
  ref10.anchor = "middle_left";
@@ -8683,34 +8863,34 @@ var njfet_transistor_default = {
8683
8863
  };
8684
8864
 
8685
8865
  // symbols/njfet_transistor_horz.ts
8686
- var { paths: paths20, texts: texts25, bounds: bounds20, refblocks: refblocks20, circles: circles16 } = njfet_transistor_default;
8866
+ var { paths: paths26, texts: texts31, bounds: bounds26, refblocks: refblocks26, circles: circles24 } = njfet_transistor_default;
8687
8867
  var njfet_transistor_horz_default = defineSymbol({
8688
8868
  primitives: [
8689
- ...Object.values(paths20),
8690
- ...Object.values(circles16),
8691
- { ...texts25.top1, anchor: "middle_right", x: 0 },
8692
- { ...texts25.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 }
8693
8873
  ],
8694
8874
  ports: [
8695
- { ...refblocks20.top1, labels: ["1", "drain"] },
8875
+ { ...refblocks26.top1, labels: ["1", "drain"] },
8696
8876
  // TODO add more "standard" labels
8697
- { ...refblocks20.bottom1, labels: ["2", "source"] },
8877
+ { ...refblocks26.bottom1, labels: ["2", "source"] },
8698
8878
  // TODO add more "standard" labels
8699
- { ...refblocks20.left1, labels: ["3", "gate"] }
8879
+ { ...refblocks26.left1, labels: ["3", "gate"] }
8700
8880
  // TODO add more "standard" labels
8701
8881
  ],
8702
- size: { width: bounds20.width, height: bounds20.height },
8703
- center: { x: bounds20.centerX, y: bounds20.centerY }
8882
+ size: { width: bounds26.width, height: bounds26.height },
8883
+ center: { x: bounds26.centerX, y: bounds26.centerY }
8704
8884
  });
8705
8885
 
8706
8886
  // symbols/njfet_transistor_vert.ts
8707
8887
  var rotatedSymbol12 = rotateSymbol(njfet_transistor_horz_default);
8708
- var texts26 = rotatedSymbol12.primitives.filter((p) => p.type === "text");
8709
- var val10 = texts26.find((t) => t.text === "{VAL}");
8888
+ var texts32 = rotatedSymbol12.primitives.filter((p) => p.type === "text");
8889
+ var val10 = texts32.find((t) => t.text === "{VAL}");
8710
8890
  val10.x = -0.35;
8711
8891
  val10.y = 0;
8712
8892
  val10.anchor = "middle_right";
8713
- var ref11 = texts26.find((t) => t.text === "{REF}");
8893
+ var ref11 = texts32.find((t) => t.text === "{REF}");
8714
8894
  ref11.y = 0;
8715
8895
  ref11.x = 0.35;
8716
8896
  ref11.anchor = "middle_left";
@@ -8880,13 +9060,13 @@ var npn_bipolar_transistor_default = {
8880
9060
  };
8881
9061
 
8882
9062
  // symbols/npn_bipolar_transistor_horz.ts
8883
- var { paths: paths21, texts: texts27, bounds: bounds21, refblocks: refblocks21, circles: circles17 } = npn_bipolar_transistor_default;
9063
+ var { paths: paths27, texts: texts33, bounds: bounds27, refblocks: refblocks27, circles: circles25 } = npn_bipolar_transistor_default;
8884
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();
8885
9065
 
8886
9066
  // symbols/npn_bipolar_transistor_vert.ts
8887
9067
  var rotatedSymbol13 = rotateSymbol(npn_bipolar_transistor_horz_default);
8888
- var texts28 = rotatedSymbol13.primitives.filter((p) => p.type === "text");
8889
- var ref12 = texts28.find((t) => t.text === "{REF}");
9068
+ var texts34 = rotatedSymbol13.primitives.filter((p) => p.type === "text");
9069
+ var ref12 = texts34.find((t) => t.text === "{REF}");
8890
9070
  ref12.anchor = "middle_left";
8891
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();
8892
9072
 
@@ -9084,34 +9264,34 @@ var p_channel_d_mosfet_transistor_default = {
9084
9264
  };
9085
9265
 
9086
9266
  // symbols/p_channel_d_mosfet_transistor_horz.ts
9087
- var { paths: paths22, texts: texts29, bounds: bounds22, refblocks: refblocks22, circles: circles18 } = p_channel_d_mosfet_transistor_default;
9267
+ var { paths: paths28, texts: texts35, bounds: bounds28, refblocks: refblocks28, circles: circles26 } = p_channel_d_mosfet_transistor_default;
9088
9268
  var p_channel_d_mosfet_transistor_horz_default = defineSymbol({
9089
9269
  primitives: [
9090
- ...Object.values(paths22),
9091
- ...Object.values(circles18),
9092
- { ...texts29.top1, anchor: "middle_right", x: 0 },
9093
- { ...texts29.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 }
9094
9274
  ],
9095
9275
  ports: [
9096
- { ...refblocks22.top1, labels: ["1", "drain"] },
9276
+ { ...refblocks28.top1, labels: ["1", "drain"] },
9097
9277
  // TODO add more "standard" labels
9098
- { ...refblocks22.bottom1, labels: ["2", "source"] },
9278
+ { ...refblocks28.bottom1, labels: ["2", "source"] },
9099
9279
  // TODO add more "standard" labels
9100
- { ...refblocks22.left1, labels: ["3", "gate"] }
9280
+ { ...refblocks28.left1, labels: ["3", "gate"] }
9101
9281
  // TODO add more "standard" labels
9102
9282
  ],
9103
- size: { width: bounds22.width, height: bounds22.height },
9104
- center: { x: bounds22.centerX, y: bounds22.centerY }
9283
+ size: { width: bounds28.width, height: bounds28.height },
9284
+ center: { x: bounds28.centerX, y: bounds28.centerY }
9105
9285
  });
9106
9286
 
9107
9287
  // symbols/p_channel_d_mosfet_transistor_vert.ts
9108
9288
  var rotatedSymbol14 = rotateSymbol(p_channel_d_mosfet_transistor_horz_default);
9109
- var texts30 = rotatedSymbol14.primitives.filter((p) => p.type === "text");
9110
- var val11 = texts30.find((t) => t.text === "{VAL}");
9289
+ var texts36 = rotatedSymbol14.primitives.filter((p) => p.type === "text");
9290
+ var val11 = texts36.find((t) => t.text === "{VAL}");
9111
9291
  val11.x = -0.35;
9112
9292
  val11.y = 0;
9113
9293
  val11.anchor = "middle_right";
9114
- var ref13 = texts30.find((t) => t.text === "{REF}");
9294
+ var ref13 = texts36.find((t) => t.text === "{REF}");
9115
9295
  ref13.y = 0;
9116
9296
  ref13.x = 0.35;
9117
9297
  ref13.anchor = "middle_left";
@@ -9341,34 +9521,34 @@ var p_channel_e_mosfet_transistor_default = {
9341
9521
  };
9342
9522
 
9343
9523
  // symbols/p_channel_e_mosfet_transistor_horz.ts
9344
- var { paths: paths23, texts: texts31, bounds: bounds23, refblocks: refblocks23, circles: circles19 } = p_channel_e_mosfet_transistor_default;
9524
+ var { paths: paths29, texts: texts37, bounds: bounds29, refblocks: refblocks29, circles: circles27 } = p_channel_e_mosfet_transistor_default;
9345
9525
  var p_channel_e_mosfet_transistor_horz_default = defineSymbol({
9346
9526
  primitives: [
9347
- ...Object.values(paths23),
9348
- ...Object.values(circles19),
9349
- { ...texts31.top1, anchor: "middle_right", x: 0 },
9350
- { ...texts31.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 }
9351
9531
  ],
9352
9532
  ports: [
9353
- { ...refblocks23.top1, labels: ["1", "drain"] },
9533
+ { ...refblocks29.top1, labels: ["1", "drain"] },
9354
9534
  // TODO add more "standard" labels
9355
- { ...refblocks23.bottom1, labels: ["2", "source"] },
9535
+ { ...refblocks29.bottom1, labels: ["2", "source"] },
9356
9536
  // TODO add more "standard" labels
9357
- { ...refblocks23.left1, labels: ["3", "gate"] }
9537
+ { ...refblocks29.left1, labels: ["3", "gate"] }
9358
9538
  // TODO add more "standard" labels
9359
9539
  ],
9360
- size: { width: bounds23.width, height: bounds23.height },
9361
- center: { x: bounds23.centerX, y: bounds23.centerY }
9540
+ size: { width: bounds29.width, height: bounds29.height },
9541
+ center: { x: bounds29.centerX, y: bounds29.centerY }
9362
9542
  });
9363
9543
 
9364
9544
  // symbols/p_channel_e_mosfet_transistor_vert.ts
9365
9545
  var rotatedSymbol15 = rotateSymbol(p_channel_e_mosfet_transistor_horz_default);
9366
- var texts32 = rotatedSymbol15.primitives.filter((p) => p.type === "text");
9367
- var val12 = texts32.find((t) => t.text === "{VAL}");
9546
+ var texts38 = rotatedSymbol15.primitives.filter((p) => p.type === "text");
9547
+ var val12 = texts38.find((t) => t.text === "{VAL}");
9368
9548
  val12.x = -0.35;
9369
9549
  val12.y = 0;
9370
9550
  val12.anchor = "middle_right";
9371
- var ref14 = texts32.find((t) => t.text === "{REF}");
9551
+ var ref14 = texts38.find((t) => t.text === "{REF}");
9372
9552
  ref14.y = 0;
9373
9553
  ref14.x = 0.35;
9374
9554
  ref14.anchor = "middle_left";
@@ -9603,8 +9783,8 @@ var photodiode_horz_default = modifySymbol(photodiode_default).changeTextAnchor(
9603
9783
 
9604
9784
  // symbols/photodiode_vert.ts
9605
9785
  var rotatedSymbol16 = rotateSymbol(photodiode_horz_default);
9606
- var texts33 = rotatedSymbol16.primitives.filter((p) => p.type === "text");
9607
- var ref15 = texts33.find((t) => t.text === "{REF}");
9786
+ var texts39 = rotatedSymbol16.primitives.filter((p) => p.type === "text");
9787
+ var ref15 = texts39.find((t) => t.text === "{REF}");
9608
9788
  ref15.y = 0;
9609
9789
  ref15.anchor = "middle_left";
9610
9790
  var photodiode_vert_default = rotatedSymbol16;
@@ -9773,34 +9953,34 @@ var pjfet_transistor_default = {
9773
9953
  };
9774
9954
 
9775
9955
  // symbols/pjfet_transistor_horz.ts
9776
- var { paths: paths24, texts: texts34, bounds: bounds24, refblocks: refblocks24, circles: circles20 } = pjfet_transistor_default;
9956
+ var { paths: paths30, texts: texts40, bounds: bounds30, refblocks: refblocks30, circles: circles28 } = pjfet_transistor_default;
9777
9957
  var pjfet_transistor_horz_default = defineSymbol({
9778
9958
  primitives: [
9779
- ...Object.values(paths24),
9780
- ...Object.values(circles20),
9781
- { ...texts34.top1, anchor: "middle_right", x: 0 },
9782
- { ...texts34.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" }
9783
9963
  ],
9784
9964
  ports: [
9785
- { ...refblocks24.top1, labels: ["1", "drain"] },
9965
+ { ...refblocks30.top1, labels: ["1", "drain"] },
9786
9966
  // TODO add more "standard" labels
9787
- { ...refblocks24.bottom1, labels: ["2", "source"] },
9967
+ { ...refblocks30.bottom1, labels: ["2", "source"] },
9788
9968
  // TODO add more "standard" labels
9789
- { ...refblocks24.left1, labels: ["3", "gate"] }
9969
+ { ...refblocks30.left1, labels: ["3", "gate"] }
9790
9970
  // TODO add more "standard" labels
9791
9971
  ],
9792
- size: { width: bounds24.width, height: bounds24.height },
9793
- center: { x: bounds24.centerX, y: bounds24.centerY }
9972
+ size: { width: bounds30.width, height: bounds30.height },
9973
+ center: { x: bounds30.centerX, y: bounds30.centerY }
9794
9974
  });
9795
9975
 
9796
9976
  // symbols/pjfet_transistor_vert.ts
9797
9977
  var rotatedSymbol17 = rotateSymbol(pjfet_transistor_horz_default);
9798
- var texts35 = rotatedSymbol17.primitives.filter((p) => p.type === "text");
9799
- var val13 = texts35.find((t) => t.text === "{VAL}");
9978
+ var texts41 = rotatedSymbol17.primitives.filter((p) => p.type === "text");
9979
+ var val13 = texts41.find((t) => t.text === "{VAL}");
9800
9980
  val13.x = -0.35;
9801
9981
  val13.y = 0;
9802
9982
  val13.anchor = "middle_right";
9803
- var ref16 = texts35.find((t) => t.text === "{REF}");
9983
+ var ref16 = texts41.find((t) => t.text === "{REF}");
9804
9984
  ref16.y = 0;
9805
9985
  ref16.x = 0.35;
9806
9986
  ref16.anchor = "middle_left";
@@ -9974,8 +10154,8 @@ var pnp_bipolar_transistor_horz_default = modifySymbol(pnp_bipolar_transistor_de
9974
10154
 
9975
10155
  // symbols/pnp_bipolar_transistor_vert.ts
9976
10156
  var rotatedSymbol18 = rotateSymbol(pnp_bipolar_transistor_horz_default);
9977
- var texts36 = rotatedSymbol18.primitives.filter((p) => p.type === "text");
9978
- var ref17 = texts36.find((t) => t.text === "{REF}");
10157
+ var texts42 = rotatedSymbol18.primitives.filter((p) => p.type === "text");
10158
+ var ref17 = texts42.find((t) => t.text === "{REF}");
9979
10159
  ref17.anchor = "middle_left";
9980
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();
9981
10161
 
@@ -10389,21 +10569,21 @@ var potentiometer_default = {
10389
10569
  };
10390
10570
 
10391
10571
  // symbols/potentiometer_horz.ts
10392
- var { paths: paths25, texts: texts37, bounds: bounds25, refblocks: refblocks25 } = potentiometer_default;
10572
+ var { paths: paths31, texts: texts43, bounds: bounds31, refblocks: refblocks31 } = potentiometer_default;
10393
10573
  var potentiometer_horz_default = defineSymbol({
10394
10574
  primitives: [
10395
- ...Object.values(paths25),
10396
- { ...texts37.bottom1, y: 0.35, anchor: "middle_top" },
10397
- { ...texts37.top1, anchor: "middle_left" }
10575
+ ...Object.values(paths31),
10576
+ { ...texts43.bottom1, y: 0.35, anchor: "middle_top" },
10577
+ { ...texts43.top1, anchor: "middle_left" }
10398
10578
  ],
10399
10579
  ports: [
10400
- { ...refblocks25.left1, labels: ["1"] },
10580
+ { ...refblocks31.left1, labels: ["1"] },
10401
10581
  // TODO add more "standard" labels
10402
- { ...refblocks25.right1, labels: ["2"] }
10582
+ { ...refblocks31.right1, labels: ["2"] }
10403
10583
  // TODO add more "standard" labels
10404
10584
  ],
10405
- size: { width: bounds25.width + 0.05, height: bounds25.height },
10406
- center: { x: bounds25.centerX, y: bounds25.centerY }
10585
+ size: { width: bounds31.width + 0.05, height: bounds31.height },
10586
+ center: { x: bounds31.centerX, y: bounds31.centerY }
10407
10587
  });
10408
10588
 
10409
10589
  // symbols/potentiometer_vert.ts
@@ -10566,29 +10746,29 @@ var potentiometer2_default = {
10566
10746
  };
10567
10747
 
10568
10748
  // symbols/potentiometer2_horz.ts
10569
- var { paths: paths26, texts: texts38, bounds: bounds26, refblocks: refblocks26 } = potentiometer2_default;
10749
+ var { paths: paths32, texts: texts44, bounds: bounds32, refblocks: refblocks32 } = potentiometer2_default;
10570
10750
  var potentiometer2_horz_default = defineSymbol({
10571
10751
  primitives: [
10572
- ...Object.values(paths26),
10573
- { ...texts38.bottom1, anchor: "middle_top" },
10574
- { ...texts38.top1, anchor: "middle_bottom" }
10752
+ ...Object.values(paths32),
10753
+ { ...texts44.bottom1, anchor: "middle_top" },
10754
+ { ...texts44.top1, anchor: "middle_bottom" }
10575
10755
  ],
10576
10756
  ports: [
10577
- { ...refblocks26.left1, labels: ["1"] },
10757
+ { ...refblocks32.left1, labels: ["1"] },
10578
10758
  // TODO add more "standard" labels
10579
- { ...refblocks26.right1, labels: ["2"] }
10759
+ { ...refblocks32.right1, labels: ["2"] }
10580
10760
  // TODO add more "standard" labels
10581
10761
  ],
10582
- size: { width: bounds26.width, height: bounds26.height },
10583
- center: { x: bounds26.centerX, y: bounds26.centerY }
10762
+ size: { width: bounds32.width, height: bounds32.height },
10763
+ center: { x: bounds32.centerX, y: bounds32.centerY }
10584
10764
  });
10585
10765
 
10586
10766
  // symbols/potentiometer2_vert.ts
10587
10767
  var rotated6 = rotateSymbol(potentiometer2_horz_default);
10588
- var texts39 = rotated6.primitives.filter((p) => p.type === "text");
10589
- var val14 = texts39.find((t) => t.text === "{VAL}");
10768
+ var texts45 = rotated6.primitives.filter((p) => p.type === "text");
10769
+ var val14 = texts45.find((t) => t.text === "{VAL}");
10590
10770
  val14.anchor = "middle_right";
10591
- var ref18 = texts39.find((t) => t.text === "{REF}");
10771
+ var ref18 = texts45.find((t) => t.text === "{REF}");
10592
10772
  ref18.anchor = "middle_left";
10593
10773
  var potentiometer2_vert_default = rotated6;
10594
10774
 
@@ -10679,11 +10859,11 @@ var power_factor_meter_default = {
10679
10859
  };
10680
10860
 
10681
10861
  // symbols/power_factor_meter_horz.ts
10682
- var { paths: paths27, texts: texts40, bounds: bounds27, refblocks: refblocks27, circles: circles21 } = power_factor_meter_default;
10862
+ var { paths: paths33, texts: texts46, bounds: bounds33, refblocks: refblocks33, circles: circles29 } = power_factor_meter_default;
10683
10863
  var power_factor_meter_horz_default = defineSymbol({
10684
10864
  primitives: [
10685
- ...Object.values(paths27),
10686
- ...Object.values(circles21),
10865
+ ...Object.values(paths33),
10866
+ ...Object.values(circles29),
10687
10867
  // { ...texts.top1, anchor: "middle_left" },
10688
10868
  {
10689
10869
  type: "text",
@@ -10710,21 +10890,21 @@ var power_factor_meter_horz_default = defineSymbol({
10710
10890
  }
10711
10891
  ],
10712
10892
  ports: [
10713
- { ...refblocks27.left1, labels: ["1"] },
10893
+ { ...refblocks33.left1, labels: ["1"] },
10714
10894
  // TODO add more "standard" labels
10715
- { ...refblocks27.right1, labels: ["2"] }
10895
+ { ...refblocks33.right1, labels: ["2"] }
10716
10896
  // TODO add more "standard" labels
10717
10897
  ],
10718
- size: { width: bounds27.width, height: bounds27.height },
10719
- center: { x: bounds27.centerX, y: bounds27.centerY }
10898
+ size: { width: bounds33.width, height: bounds33.height },
10899
+ center: { x: bounds33.centerX, y: bounds33.centerY }
10720
10900
  });
10721
10901
 
10722
10902
  // symbols/power_factor_meter_vert.ts
10723
10903
  var rotatedSymbol19 = rotateSymbol(power_factor_meter_horz_default);
10724
- var texts41 = rotatedSymbol19.primitives.filter((p) => p.type === "text");
10725
- var ref19 = texts41.find((t) => t.text === "{REF}");
10726
- var val15 = texts41.find((t) => t.text === "{VAL}");
10727
- var text_cos = texts41.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");
10728
10908
  ref19.x = 0.35;
10729
10909
  ref19.y = 0;
10730
10910
  ref19.anchor = "middle_left";
@@ -10855,22 +11035,22 @@ var push_button_normally_closed_momentary_default = {
10855
11035
  };
10856
11036
 
10857
11037
  // symbols/push_button_normally_closed_momentary_horz.ts
10858
- var { paths: paths28, texts: texts42, bounds: bounds28, refblocks: refblocks28, circles: circles22 } = push_button_normally_closed_momentary_default;
11038
+ var { paths: paths34, texts: texts48, bounds: bounds34, refblocks: refblocks34, circles: circles30 } = push_button_normally_closed_momentary_default;
10859
11039
  var push_button_normally_closed_momentary_horz_default = defineSymbol({
10860
11040
  primitives: [
10861
- ...Object.values(paths28),
10862
- ...Object.values(circles22),
10863
- { ...texts42.top1, anchor: "middle_left" },
10864
- { ...texts42.bottom1, anchor: "middle_left" }
11041
+ ...Object.values(paths34),
11042
+ ...Object.values(circles30),
11043
+ { ...texts48.top1, anchor: "middle_left" },
11044
+ { ...texts48.bottom1, anchor: "middle_left" }
10865
11045
  ],
10866
11046
  ports: [
10867
- { ...refblocks28.left1, labels: ["1"] },
11047
+ { ...refblocks34.left1, labels: ["1"] },
10868
11048
  // TODO add more "standard" labels
10869
- { ...refblocks28.right1, labels: ["2"] }
11049
+ { ...refblocks34.right1, labels: ["2"] }
10870
11050
  // TODO add more "standard" labels
10871
11051
  ],
10872
- size: { width: bounds28.width, height: bounds28.height },
10873
- center: { x: bounds28.centerX, y: bounds28.centerY }
11052
+ size: { width: bounds34.width, height: bounds34.height },
11053
+ center: { x: bounds34.centerX, y: bounds34.centerY }
10874
11054
  });
10875
11055
 
10876
11056
  // symbols/push_button_normally_closed_momentary_vert.ts
@@ -10995,22 +11175,22 @@ var push_button_normally_open_momentary_default = {
10995
11175
  };
10996
11176
 
10997
11177
  // symbols/push_button_normally_open_momentary_horz.ts
10998
- var { paths: paths29, texts: texts43, bounds: bounds29, refblocks: refblocks29, circles: circles23 } = push_button_normally_open_momentary_default;
11178
+ var { paths: paths35, texts: texts49, bounds: bounds35, refblocks: refblocks35, circles: circles31 } = push_button_normally_open_momentary_default;
10999
11179
  var push_button_normally_open_momentary_horz_default = defineSymbol({
11000
11180
  primitives: [
11001
- ...Object.values(paths29),
11002
- ...Object.values(circles23),
11003
- { ...texts43.top1, anchor: "middle_left" },
11004
- { ...texts43.bottom1, anchor: "middle_left" }
11181
+ ...Object.values(paths35),
11182
+ ...Object.values(circles31),
11183
+ { ...texts49.top1, anchor: "middle_left" },
11184
+ { ...texts49.bottom1, anchor: "middle_left" }
11005
11185
  ],
11006
11186
  ports: [
11007
- { ...refblocks29.left1, labels: ["1"] },
11187
+ { ...refblocks35.left1, labels: ["1"] },
11008
11188
  // TODO add more "standard" labels
11009
- { ...refblocks29.right1, labels: ["2"] }
11189
+ { ...refblocks35.right1, labels: ["2"] }
11010
11190
  // TODO add more "standard" labels
11011
11191
  ],
11012
- size: { width: bounds29.width, height: bounds29.height },
11013
- center: { x: bounds29.centerX, y: bounds29.centerY }
11192
+ size: { width: bounds35.width, height: bounds35.height },
11193
+ center: { x: bounds35.centerX, y: bounds35.centerY }
11014
11194
  });
11015
11195
 
11016
11196
  // symbols/push_button_normally_open_momentary_vert.ts
@@ -11426,26 +11606,26 @@ var rectifier_diode_default = {
11426
11606
  };
11427
11607
 
11428
11608
  // symbols/rectifier_diode_horz.ts
11429
- var { paths: paths30, texts: texts44, bounds: bounds30, refblocks: refblocks30, circles: circles24 } = rectifier_diode_default;
11609
+ var { paths: paths36, texts: texts50, bounds: bounds36, refblocks: refblocks36, circles: circles32 } = rectifier_diode_default;
11430
11610
  var rectifier_diode_horz_default = defineSymbol({
11431
11611
  primitives: [
11432
- ...Object.values(paths30),
11433
- ...Object.values(circles24),
11434
- { ...texts44.top1, anchor: "middle_right" },
11435
- { ...texts44.bottom1, anchor: "middle_right" }
11612
+ ...Object.values(paths36),
11613
+ ...Object.values(circles32),
11614
+ { ...texts50.top1, anchor: "middle_right" },
11615
+ { ...texts50.bottom1, anchor: "middle_right" }
11436
11616
  ],
11437
11617
  ports: [
11438
- { ...refblocks30.top1, labels: ["1"] },
11618
+ { ...refblocks36.top1, labels: ["1"] },
11439
11619
  // TODO add more "standard" labels
11440
- { ...refblocks30.bottom1, labels: ["2"] },
11620
+ { ...refblocks36.bottom1, labels: ["2"] },
11441
11621
  // TODO add more "standard" labels
11442
- { ...refblocks30.left1, labels: ["3"] },
11622
+ { ...refblocks36.left1, labels: ["3"] },
11443
11623
  // TODO add more "standard" labels
11444
- { ...refblocks30.right1, labels: ["4"] }
11624
+ { ...refblocks36.right1, labels: ["4"] }
11445
11625
  // TODO add more "standard" labels
11446
11626
  ],
11447
- size: { width: bounds30.width, height: bounds30.height },
11448
- center: { x: bounds30.centerX, y: bounds30.centerY }
11627
+ size: { width: bounds36.width, height: bounds36.height },
11628
+ center: { x: bounds36.centerX, y: bounds36.centerY }
11449
11629
  });
11450
11630
 
11451
11631
  // symbols/rectifier_diode_vert.ts
@@ -11806,11 +11986,11 @@ var resonator_default = {
11806
11986
  };
11807
11987
 
11808
11988
  // symbols/resonator_horz.ts
11809
- var { paths: paths31, texts: texts45, bounds: bounds31, refblocks: refblocks31, circles: circles25 } = resonator_default;
11989
+ var { paths: paths37, texts: texts51, bounds: bounds37, refblocks: refblocks37, circles: circles33 } = resonator_default;
11810
11990
  var resonator_horz_default = defineSymbol({
11811
11991
  primitives: [
11812
- ...Object.values(paths31),
11813
- ...Object.values(circles25),
11992
+ ...Object.values(paths37),
11993
+ ...Object.values(circles33),
11814
11994
  // { ...texts.top1, anchor: "middle_left" },
11815
11995
  // { ...texts.bottom1, anchor: "middle_left" },
11816
11996
  {
@@ -11829,15 +12009,15 @@ var resonator_horz_default = defineSymbol({
11829
12009
  }
11830
12010
  ],
11831
12011
  ports: [
11832
- { ...refblocks31.left1, labels: ["1"] },
12012
+ { ...refblocks37.left1, labels: ["1"] },
11833
12013
  // TODO add more "standard" labels
11834
- { ...refblocks31.right1, labels: ["2"] },
12014
+ { ...refblocks37.right1, labels: ["2"] },
11835
12015
  // TODO add more "standard" labels
11836
- { ...refblocks31.right2, labels: ["3"] }
12016
+ { ...refblocks37.right2, labels: ["3"] }
11837
12017
  // TODO add more "standard" labels
11838
12018
  ],
11839
- size: { width: bounds31.width, height: bounds31.height },
11840
- center: { x: bounds31.centerX, y: bounds31.centerY }
12019
+ size: { width: bounds37.width, height: bounds37.height },
12020
+ center: { x: bounds37.centerX, y: bounds37.centerY }
11841
12021
  });
11842
12022
 
11843
12023
  // symbols/resonator_vert.ts
@@ -12193,15 +12373,15 @@ var silicon_controlled_rectifier_default = {
12193
12373
  };
12194
12374
 
12195
12375
  // symbols/silicon_controlled_rectifier_horz.ts
12196
- var { paths: paths32, texts: texts46, bounds: bounds32, refblocks: refblocks32, circles: circles26 } = silicon_controlled_rectifier_default;
12376
+ var { paths: paths38, texts: texts52, bounds: bounds38, refblocks: refblocks38, circles: circles34 } = silicon_controlled_rectifier_default;
12197
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();
12198
12378
 
12199
12379
  // symbols/silicon_controlled_rectifier_vert.ts
12200
12380
  var rotatedSymbol20 = rotateSymbol(silicon_controlled_rectifier_horz_default);
12201
- var texts47 = rotatedSymbol20.primitives.filter(
12381
+ var texts53 = rotatedSymbol20.primitives.filter(
12202
12382
  (primitive) => primitive.type === "text"
12203
12383
  );
12204
- var ref22 = texts47.find((text) => text.text === "{REF}");
12384
+ var ref22 = texts53.find((text) => text.text === "{REF}");
12205
12385
  ref22.y = 0;
12206
12386
  ref22.anchor = "middle_left";
12207
12387
  var silicon_controlled_rectifier_vert_default = rotatedSymbol20;
@@ -12325,34 +12505,34 @@ var SPDT_switch_default = {
12325
12505
 
12326
12506
  // symbols/SPDT_switch_horz.ts
12327
12507
  SPDT_switch_default.bounds.width += 0.2;
12328
- var { paths: paths33, texts: texts48, bounds: bounds33, refblocks: refblocks33, circles: circles27 } = SPDT_switch_default;
12508
+ var { paths: paths39, texts: texts54, bounds: bounds39, refblocks: refblocks39, circles: circles35 } = SPDT_switch_default;
12329
12509
  var SPDT_switch_horz_default = defineSymbol({
12330
12510
  primitives: [
12331
- ...Object.values(paths33),
12332
- ...Object.values(circles27),
12333
- { ...texts48.top1, anchor: "middle_bottom", x: -0.01 },
12334
- { ...texts48.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 }
12335
12515
  ],
12336
12516
  ports: [
12337
- { ...refblocks33.left1, labels: ["1"] },
12517
+ { ...refblocks39.left1, labels: ["1"] },
12338
12518
  // TODO add more "standard" labels
12339
- { ...refblocks33.right1, labels: ["3"] },
12519
+ { ...refblocks39.right1, labels: ["3"] },
12340
12520
  // TODO add more "standard" labels
12341
- { ...refblocks33.right2, labels: ["2"] }
12521
+ { ...refblocks39.right2, labels: ["2"] }
12342
12522
  // TODO add more "standard" labels
12343
12523
  ],
12344
- size: { width: bounds33.width, height: bounds33.height },
12345
- center: { x: bounds33.centerX, y: bounds33.centerY }
12524
+ size: { width: bounds39.width, height: bounds39.height },
12525
+ center: { x: bounds39.centerX, y: bounds39.centerY }
12346
12526
  });
12347
12527
 
12348
12528
  // symbols/SPDT_switch_vert.ts
12349
12529
  var rotatedSymbol21 = rotateSymbol(SPDT_switch_horz_default);
12350
- var texts49 = rotatedSymbol21.primitives.filter((p) => p.type === "text");
12351
- var val18 = texts49.find((t) => t.text === "{VAL}");
12530
+ var texts55 = rotatedSymbol21.primitives.filter((p) => p.type === "text");
12531
+ var val18 = texts55.find((t) => t.text === "{VAL}");
12352
12532
  val18.anchor = "middle_right";
12353
12533
  val18.x = -0.3;
12354
12534
  val18.y = 0;
12355
- var ref23 = texts49.find((t) => t.text === "{REF}");
12535
+ var ref23 = texts55.find((t) => t.text === "{REF}");
12356
12536
  ref23.anchor = "middle_left";
12357
12537
  ref23.x = 0.3;
12358
12538
  ref23.y = 0;
@@ -12460,12 +12640,12 @@ var SPST_switch_horz_default = modifySymbol(SPST_switch_default).changeTextAncho
12460
12640
 
12461
12641
  // symbols/SPST_switch_vert.ts
12462
12642
  var rotatedSymbol22 = rotateSymbol(SPST_switch_horz_default);
12463
- var texts50 = rotatedSymbol22.primitives.filter((p) => p.type === "text");
12464
- var val19 = texts50.find((t) => t.text === "{VAL}");
12643
+ var texts56 = rotatedSymbol22.primitives.filter((p) => p.type === "text");
12644
+ var val19 = texts56.find((t) => t.text === "{VAL}");
12465
12645
  val19.anchor = "middle_right";
12466
12646
  val19.x = -0.3;
12467
12647
  val19.y = 0;
12468
- var ref24 = texts50.find((t) => t.text === "{REF}");
12648
+ var ref24 = texts56.find((t) => t.text === "{REF}");
12469
12649
  ref24.anchor = "middle_left";
12470
12650
  ref24.x = 0.3;
12471
12651
  ref24.y = 0;
@@ -12633,7 +12813,7 @@ var step_recovery_diode_default = {
12633
12813
  };
12634
12814
 
12635
12815
  // symbols/step_recovery_diode_horz.ts
12636
- var { paths: paths34, texts: texts51, bounds: bounds34, refblocks: refblocks34, circles: circles28 } = step_recovery_diode_default;
12816
+ var { paths: paths40, texts: texts57, bounds: bounds40, refblocks: refblocks40, circles: circles36 } = step_recovery_diode_default;
12637
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();
12638
12818
 
12639
12819
  // symbols/step_recovery_diode_vert.ts
@@ -12726,11 +12906,11 @@ var tachometer_default = {
12726
12906
  };
12727
12907
 
12728
12908
  // symbols/tachometer_horz.ts
12729
- var { paths: paths35, texts: texts52, bounds: bounds35, refblocks: refblocks35, circles: circles29 } = tachometer_default;
12909
+ var { paths: paths41, texts: texts58, bounds: bounds41, refblocks: refblocks41, circles: circles37 } = tachometer_default;
12730
12910
  var tachometer_horz_default = defineSymbol({
12731
12911
  primitives: [
12732
- ...Object.values(paths35),
12733
- ...Object.values(circles29),
12912
+ ...Object.values(paths41),
12913
+ ...Object.values(circles37),
12734
12914
  {
12735
12915
  type: "text",
12736
12916
  text: "{REF}",
@@ -12745,16 +12925,16 @@ var tachometer_horz_default = defineSymbol({
12745
12925
  y: 0.35,
12746
12926
  anchor: "middle_bottom"
12747
12927
  },
12748
- { ...texts52.left1, y: 0.01, anchor: "center", fontSize: 0.2 }
12928
+ { ...texts58.left1, y: 0.01, anchor: "center", fontSize: 0.2 }
12749
12929
  ],
12750
12930
  ports: [
12751
- { ...refblocks35.left1, labels: ["1"] },
12931
+ { ...refblocks41.left1, labels: ["1"] },
12752
12932
  // TODO add more "standard" labels
12753
- { ...refblocks35.right1, labels: ["2"] }
12933
+ { ...refblocks41.right1, labels: ["2"] }
12754
12934
  // TODO add more "standard" labels
12755
12935
  ],
12756
- size: { width: bounds35.width, height: bounds35.height },
12757
- center: { x: bounds35.centerX, y: bounds35.centerY }
12936
+ size: { width: bounds41.width, height: bounds41.height },
12937
+ center: { x: bounds41.centerX, y: bounds41.centerY }
12758
12938
  });
12759
12939
 
12760
12940
  // symbols/tachometer_vert.ts
@@ -12962,16 +13142,16 @@ var triac_default = {
12962
13142
  };
12963
13143
 
12964
13144
  // symbols/triac_horz.ts
12965
- var { paths: paths36, texts: texts53, bounds: bounds36, refblocks: refblocks36, circles: circles30 } = triac_default;
13145
+ var { paths: paths42, texts: texts59, bounds: bounds42, refblocks: refblocks42, circles: circles38 } = triac_default;
12966
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();
12967
13147
 
12968
13148
  // symbols/triac_vert.ts
12969
13149
  var rotatedSymbol24 = rotateSymbol(triac_horz_default);
12970
- var texts54 = rotatedSymbol24.primitives.filter(
13150
+ var texts60 = rotatedSymbol24.primitives.filter(
12971
13151
  (primitive) => primitive.type === "text"
12972
13152
  );
12973
- var ref25 = texts54.find((text) => text.text === "{REF}");
12974
- var val20 = texts54.find((text) => text.text === "{VAL}");
13153
+ var ref25 = texts60.find((text) => text.text === "{REF}");
13154
+ var val20 = texts60.find((text) => text.text === "{VAL}");
12975
13155
  ref25.y = 0;
12976
13156
  val20.y = 0;
12977
13157
  var triac_vert_default = rotatedSymbol24;
@@ -13138,22 +13318,22 @@ var tunnel_diode_default = {
13138
13318
  };
13139
13319
 
13140
13320
  // symbols/tunnel_diode_horz.ts
13141
- var { paths: paths37, texts: texts55, bounds: bounds37, refblocks: refblocks37, circles: circles31 } = tunnel_diode_default;
13321
+ var { paths: paths43, texts: texts61, bounds: bounds43, refblocks: refblocks43, circles: circles39 } = tunnel_diode_default;
13142
13322
  var tunnel_diode_horz_default = defineSymbol({
13143
13323
  primitives: [
13144
- ...Object.values(paths37),
13145
- ...Object.values(circles31),
13146
- { ...texts55.top1, anchor: "middle_bottom" },
13147
- { ...texts55.bottom1, anchor: "middle_top" }
13324
+ ...Object.values(paths43),
13325
+ ...Object.values(circles39),
13326
+ { ...texts61.top1, anchor: "middle_bottom" },
13327
+ { ...texts61.bottom1, anchor: "middle_top" }
13148
13328
  ],
13149
13329
  ports: [
13150
- { ...refblocks37.left1, labels: ["1"] },
13330
+ { ...refblocks43.left1, labels: ["1"] },
13151
13331
  // TODO add more "standard" labels
13152
- { ...refblocks37.right1, labels: ["2"] }
13332
+ { ...refblocks43.right1, labels: ["2"] }
13153
13333
  // TODO add more "standard" labels
13154
13334
  ],
13155
- size: { width: bounds37.width, height: bounds37.height },
13156
- center: { x: bounds37.centerX, y: bounds37.centerY }
13335
+ size: { width: bounds43.width, height: bounds43.height },
13336
+ center: { x: bounds43.centerX, y: bounds43.centerY }
13157
13337
  });
13158
13338
 
13159
13339
  // symbols/tunnel_diode_vert.ts
@@ -13336,34 +13516,34 @@ var unijunction_transistor_default = {
13336
13516
  };
13337
13517
 
13338
13518
  // symbols/unijunction_transistor_horz.ts
13339
- var { paths: paths38, texts: texts56, bounds: bounds38, refblocks: refblocks38, circles: circles32 } = unijunction_transistor_default;
13519
+ var { paths: paths44, texts: texts62, bounds: bounds44, refblocks: refblocks44, circles: circles40 } = unijunction_transistor_default;
13340
13520
  var unijunction_transistor_horz_default = defineSymbol({
13341
13521
  primitives: [
13342
- ...Object.values(paths38),
13343
- ...Object.values(circles32),
13344
- { ...texts56.top1, anchor: "middle_left" },
13345
- { ...texts56.bottom1, anchor: "middle_right" }
13522
+ ...Object.values(paths44),
13523
+ ...Object.values(circles40),
13524
+ { ...texts62.top1, anchor: "middle_left" },
13525
+ { ...texts62.bottom1, anchor: "middle_right" }
13346
13526
  ],
13347
13527
  ports: [
13348
- { ...refblocks38.top1, labels: ["1"] },
13528
+ { ...refblocks44.top1, labels: ["1"] },
13349
13529
  // TODO add more "standard" labels
13350
- { ...refblocks38.bottom1, labels: ["2"] },
13530
+ { ...refblocks44.bottom1, labels: ["2"] },
13351
13531
  // TODO add more "standard" labels
13352
- { ...refblocks38.left1, labels: ["3"] }
13532
+ { ...refblocks44.left1, labels: ["3"] }
13353
13533
  // TODO add more "standard" labels
13354
13534
  ],
13355
- size: { width: bounds38.width, height: bounds38.height },
13356
- center: { x: bounds38.centerX, y: bounds38.centerY }
13535
+ size: { width: bounds44.width, height: bounds44.height },
13536
+ center: { x: bounds44.centerX, y: bounds44.centerY }
13357
13537
  });
13358
13538
 
13359
13539
  // symbols/unijunction_transistor_vert.ts
13360
13540
  var rotatedSymbol25 = rotateSymbol(unijunction_transistor_horz_default);
13361
- var texts57 = rotatedSymbol25.primitives.filter(
13541
+ var texts63 = rotatedSymbol25.primitives.filter(
13362
13542
  (primitive) => primitive.type === "text"
13363
13543
  );
13364
- var ref27 = texts57.find((text) => text.text === "{REF}");
13544
+ var ref27 = texts63.find((text) => text.text === "{REF}");
13365
13545
  ref27.y = 0.1;
13366
- var val22 = texts57.find((text) => text.text === "{VAL}");
13546
+ var val22 = texts63.find((text) => text.text === "{VAL}");
13367
13547
  val22.y = 0.1;
13368
13548
  val22.x = -0.4;
13369
13549
  var unijunction_transistor_vert_default = rotatedSymbol25;
@@ -13455,33 +13635,33 @@ var var_meter_default = {
13455
13635
  };
13456
13636
 
13457
13637
  // symbols/var_meter_horz.ts
13458
- var { paths: paths39, texts: texts58, bounds: bounds39, refblocks: refblocks39, circles: circles33 } = var_meter_default;
13638
+ var { paths: paths45, texts: texts64, bounds: bounds45, refblocks: refblocks45, circles: circles41 } = var_meter_default;
13459
13639
  var var_meter_horz_default = defineSymbol({
13460
13640
  primitives: [
13461
- ...Object.values(paths39),
13462
- ...Object.values(circles33),
13641
+ ...Object.values(paths45),
13642
+ ...Object.values(circles41),
13463
13643
  {
13464
- ...texts58.top1,
13644
+ ...texts64.top1,
13465
13645
  x: 0,
13466
13646
  y: -0.3594553499999995,
13467
13647
  anchor: "middle_top"
13468
13648
  },
13469
13649
  {
13470
- ...texts58.bottom1,
13650
+ ...texts64.bottom1,
13471
13651
  x: 0,
13472
13652
  y: 0.35,
13473
13653
  anchor: "middle_bottom"
13474
13654
  },
13475
- { ...texts58.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" }
13476
13656
  ],
13477
13657
  ports: [
13478
- { ...refblocks39.left1, labels: ["1"] },
13658
+ { ...refblocks45.left1, labels: ["1"] },
13479
13659
  // TODO add more "standard" labels
13480
- { ...refblocks39.right1, labels: ["2"] }
13660
+ { ...refblocks45.right1, labels: ["2"] }
13481
13661
  // TODO add more "standard" labels
13482
13662
  ],
13483
- size: { width: bounds39.width, height: bounds39.height },
13484
- center: { x: bounds39.centerX, y: bounds39.centerY }
13663
+ size: { width: bounds45.width, height: bounds45.height },
13664
+ center: { x: bounds45.centerX, y: bounds45.centerY }
13485
13665
  });
13486
13666
 
13487
13667
  // symbols/var_meter_vert.ts
@@ -13634,22 +13814,22 @@ var varactor_diode_default = {
13634
13814
  };
13635
13815
 
13636
13816
  // symbols/varactor_diode_horz.ts
13637
- var { paths: paths40, texts: texts59, bounds: bounds40, refblocks: refblocks40, circles: circles34 } = varactor_diode_default;
13817
+ var { paths: paths46, texts: texts65, bounds: bounds46, refblocks: refblocks46, circles: circles42 } = varactor_diode_default;
13638
13818
  var varactor_diode_horz_default = defineSymbol({
13639
13819
  primitives: [
13640
- ...Object.values(paths40),
13641
- ...Object.values(circles34),
13642
- { ...texts59.top1, anchor: "middle_bottom" },
13643
- { ...texts59.bottom1, anchor: "middle_top" }
13820
+ ...Object.values(paths46),
13821
+ ...Object.values(circles42),
13822
+ { ...texts65.top1, anchor: "middle_bottom" },
13823
+ { ...texts65.bottom1, anchor: "middle_top" }
13644
13824
  ],
13645
13825
  ports: [
13646
- { ...refblocks40.left1, labels: ["1"] },
13826
+ { ...refblocks46.left1, labels: ["1"] },
13647
13827
  // TODO add more "standard" labels
13648
- { ...refblocks40.right1, labels: ["2"] }
13828
+ { ...refblocks46.right1, labels: ["2"] }
13649
13829
  // TODO add more "standard" labels
13650
13830
  ],
13651
- size: { width: bounds40.width, height: bounds40.height },
13652
- center: { x: bounds40.centerX, y: bounds40.centerY }
13831
+ size: { width: bounds46.width, height: bounds46.height },
13832
+ center: { x: bounds46.centerX, y: bounds46.centerY }
13653
13833
  });
13654
13834
 
13655
13835
  // symbols/varactor_diode_vert.ts
@@ -13797,26 +13977,26 @@ var varistor_default = {
13797
13977
  };
13798
13978
 
13799
13979
  // symbols/varistor_horz.ts
13800
- var { paths: paths41, texts: texts60, bounds: bounds41, refblocks: refblocks41 } = varistor_default;
13980
+ var { paths: paths47, texts: texts66, bounds: bounds47, refblocks: refblocks47 } = varistor_default;
13801
13981
  var varistor_horz_default = defineSymbol({
13802
13982
  primitives: [
13803
- ...Object.values(paths41),
13804
- { ...texts60.top1, anchor: "middle_left" },
13805
- { ...texts60.bottom1, anchor: "middle_right" }
13983
+ ...Object.values(paths47),
13984
+ { ...texts66.top1, anchor: "middle_left" },
13985
+ { ...texts66.bottom1, anchor: "middle_right" }
13806
13986
  ],
13807
13987
  ports: [
13808
13988
  {
13809
- ...refblocks41.left1,
13989
+ ...refblocks47.left1,
13810
13990
  labels: ["1", "-"]
13811
13991
  },
13812
13992
  {
13813
- ...refblocks41.right1,
13993
+ ...refblocks47.right1,
13814
13994
  labels: ["2", "+"]
13815
13995
  }
13816
13996
  ],
13817
- size: { width: bounds41.width, height: bounds41.height },
13997
+ size: { width: bounds47.width, height: bounds47.height },
13818
13998
  //{ width: 1, height: 0.24 },
13819
- center: { x: bounds41.centerX, y: bounds41.centerY }
13999
+ center: { x: bounds47.centerX, y: bounds47.centerY }
13820
14000
  });
13821
14001
 
13822
14002
  // symbols/varistor_vert.ts
@@ -13909,11 +14089,11 @@ var varmeter_default = {
13909
14089
  };
13910
14090
 
13911
14091
  // symbols/varmeter_horz.ts
13912
- var { paths: paths42, texts: texts61, bounds: bounds42, refblocks: refblocks42, circles: circles35 } = varmeter_default;
14092
+ var { paths: paths48, texts: texts67, bounds: bounds48, refblocks: refblocks48, circles: circles43 } = varmeter_default;
13913
14093
  var varmeter_horz_default = defineSymbol({
13914
14094
  primitives: [
13915
- ...Object.values(paths42),
13916
- ...Object.values(circles35),
14095
+ ...Object.values(paths48),
14096
+ ...Object.values(circles43),
13917
14097
  {
13918
14098
  type: "text",
13919
14099
  text: "{REF}",
@@ -13928,16 +14108,16 @@ var varmeter_horz_default = defineSymbol({
13928
14108
  y: 0.35,
13929
14109
  anchor: "middle_bottom"
13930
14110
  },
13931
- { ...texts61.left1, anchor: "center", y: 0.02, fontSize: 0.2 }
14111
+ { ...texts67.left1, anchor: "center", y: 0.02, fontSize: 0.2 }
13932
14112
  ],
13933
14113
  ports: [
13934
- { ...refblocks42.left1, labels: ["1"] },
14114
+ { ...refblocks48.left1, labels: ["1"] },
13935
14115
  // TODO add more "standard" labels
13936
- { ...refblocks42.right1, labels: ["2"] }
14116
+ { ...refblocks48.right1, labels: ["2"] }
13937
14117
  // TODO add more "standard" labels
13938
14118
  ],
13939
- size: { width: bounds42.width, height: bounds42.height },
13940
- center: { x: bounds42.centerX, y: bounds42.centerY }
14119
+ size: { width: bounds48.width, height: bounds48.height },
14120
+ center: { x: bounds48.centerX, y: bounds48.centerY }
13941
14121
  });
13942
14122
 
13943
14123
  // symbols/varmeter_vert.ts
@@ -14054,7 +14234,7 @@ var volt_meter_default = {
14054
14234
  };
14055
14235
 
14056
14236
  // symbols/volt_meter_horz.ts
14057
- var { paths: paths43, texts: texts62, bounds: bounds43, circles: circles36, refblocks: refblocks43 } = volt_meter_default;
14237
+ var { paths: paths49, texts: texts68, bounds: bounds49, circles: circles44, refblocks: refblocks49 } = volt_meter_default;
14058
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();
14059
14239
 
14060
14240
  // symbols/volt_meter_vert.ts
@@ -14147,11 +14327,11 @@ var watt_hour_meter_default = {
14147
14327
  };
14148
14328
 
14149
14329
  // symbols/watt_hour_meter_horz.ts
14150
- var { paths: paths44, texts: texts63, bounds: bounds44, refblocks: refblocks44, circles: circles37 } = watt_hour_meter_default;
14330
+ var { paths: paths50, texts: texts69, bounds: bounds50, refblocks: refblocks50, circles: circles45 } = watt_hour_meter_default;
14151
14331
  var watt_hour_meter_horz_default = defineSymbol({
14152
14332
  primitives: [
14153
- ...Object.values(paths44),
14154
- ...Object.values(circles37),
14333
+ ...Object.values(paths50),
14334
+ ...Object.values(circles45),
14155
14335
  {
14156
14336
  type: "text",
14157
14337
  text: "{REF}",
@@ -14166,16 +14346,16 @@ var watt_hour_meter_horz_default = defineSymbol({
14166
14346
  y: 0.35,
14167
14347
  anchor: "middle_bottom"
14168
14348
  },
14169
- { ...texts63.left1, anchor: "center", y: 0.01, fontSize: 0.2 }
14349
+ { ...texts69.left1, anchor: "center", y: 0.01, fontSize: 0.2 }
14170
14350
  ],
14171
14351
  ports: [
14172
- { ...refblocks44.left1, labels: ["1"] },
14352
+ { ...refblocks50.left1, labels: ["1"] },
14173
14353
  // TODO add more "standard" labels
14174
- { ...refblocks44.right1, labels: ["2"] }
14354
+ { ...refblocks50.right1, labels: ["2"] }
14175
14355
  // TODO add more "standard" labels
14176
14356
  ],
14177
- size: { width: bounds44.width, height: bounds44.height },
14178
- center: { x: bounds44.centerX, y: bounds44.centerY }
14357
+ size: { width: bounds50.width, height: bounds50.height },
14358
+ center: { x: bounds50.centerX, y: bounds50.centerY }
14179
14359
  });
14180
14360
 
14181
14361
  // symbols/watt_hour_meter_vert.ts
@@ -14279,11 +14459,11 @@ var wattmeter_default = {
14279
14459
  };
14280
14460
 
14281
14461
  // symbols/wattmeter_horz.ts
14282
- var { paths: paths45, texts: texts64, bounds: bounds45, refblocks: refblocks45, circles: circles38 } = wattmeter_default;
14462
+ var { paths: paths51, texts: texts70, bounds: bounds51, refblocks: refblocks51, circles: circles46 } = wattmeter_default;
14283
14463
  var wattmeter_horz_default = defineSymbol({
14284
14464
  primitives: [
14285
- ...Object.values(paths45),
14286
- ...Object.values(circles38),
14465
+ ...Object.values(paths51),
14466
+ ...Object.values(circles46),
14287
14467
  {
14288
14468
  type: "text",
14289
14469
  text: "{REF}",
@@ -14298,16 +14478,16 @@ var wattmeter_horz_default = defineSymbol({
14298
14478
  y: 0.35,
14299
14479
  anchor: "middle_bottom"
14300
14480
  },
14301
- { ...texts64.left1, anchor: "center", y: 0.01, fontSize: 0.3 }
14481
+ { ...texts70.left1, anchor: "center", y: 0.01, fontSize: 0.3 }
14302
14482
  ],
14303
14483
  ports: [
14304
- { ...refblocks45.left1, labels: ["1"] },
14484
+ { ...refblocks51.left1, labels: ["1"] },
14305
14485
  // TODO add more "standard" labels
14306
- { ...refblocks45.right1, labels: ["2"] }
14486
+ { ...refblocks51.right1, labels: ["2"] }
14307
14487
  // TODO add more "standard" labels
14308
14488
  ],
14309
- size: { width: bounds45.width, height: bounds45.height },
14310
- center: { x: bounds45.centerX, y: bounds45.centerY }
14489
+ size: { width: bounds51.width, height: bounds51.height },
14490
+ center: { x: bounds51.centerX, y: bounds51.centerY }
14311
14491
  });
14312
14492
 
14313
14493
  // symbols/wattmeter_vert.ts
@@ -14471,22 +14651,22 @@ var zener_diode_default = {
14471
14651
  };
14472
14652
 
14473
14653
  // symbols/zener_diode_horz.ts
14474
- var { paths: paths46, texts: texts65, bounds: bounds46, refblocks: refblocks46, circles: circles39 } = zener_diode_default;
14654
+ var { paths: paths52, texts: texts71, bounds: bounds52, refblocks: refblocks52, circles: circles47 } = zener_diode_default;
14475
14655
  var zener_diode_horz_default = defineSymbol({
14476
14656
  primitives: [
14477
- ...Object.values(paths46),
14478
- ...Object.values(circles39),
14479
- { ...texts65.top1, anchor: "middle_bottom" },
14480
- { ...texts65.bottom1, anchor: "middle_top" }
14657
+ ...Object.values(paths52),
14658
+ ...Object.values(circles47),
14659
+ { ...texts71.top1, anchor: "middle_bottom" },
14660
+ { ...texts71.bottom1, anchor: "middle_top" }
14481
14661
  ],
14482
14662
  ports: [
14483
- { ...refblocks46.left1, labels: ["1"] },
14663
+ { ...refblocks52.left1, labels: ["1"] },
14484
14664
  // TODO add more "standard" labels
14485
- { ...refblocks46.right1, labels: ["2"] }
14665
+ { ...refblocks52.right1, labels: ["2"] }
14486
14666
  // TODO add more "standard" labels
14487
14667
  ],
14488
- size: { width: bounds46.width, height: bounds46.height },
14489
- center: { x: bounds46.centerX, y: bounds46.centerY }
14668
+ size: { width: bounds52.width, height: bounds52.height },
14669
+ center: { x: bounds52.centerX, y: bounds52.centerY }
14490
14670
  });
14491
14671
 
14492
14672
  // symbols/zener_diode_vert.ts
@@ -14509,10 +14689,11 @@ var symbols_index_default = {
14509
14689
  "avalanche_diode_vert": avalanche_diode_vert_default,
14510
14690
  "battery_horz": battery_horz_default,
14511
14691
  "battery_vert": battery_vert_default,
14512
- "boxresistor_horz": boxresistor_horz_default,
14513
- "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,
14514
14696
  "capacitor_down": capacitor_down_default,
14515
- "capacitor_horz": capacitor_horz_default,
14516
14697
  "capacitor_left": capacitor_left_default,
14517
14698
  "capacitor_polarized_down": capacitor_polarized_down_default,
14518
14699
  "capacitor_polarized_left": capacitor_polarized_left_default,
@@ -14520,7 +14701,6 @@ var symbols_index_default = {
14520
14701
  "capacitor_polarized_up": capacitor_polarized_up_default,
14521
14702
  "capacitor_right": capacitor_right_default,
14522
14703
  "capacitor_up": capacitor_up_default,
14523
- "capacitor_vert": capacitor_vert_default,
14524
14704
  "constant_current_diode_horz": constant_current_diode_horz_default,
14525
14705
  "constant_current_diode_vert": constant_current_diode_vert_default,
14526
14706
  "crystal_horz": crystal_horz_default,