schematic-symbols 0.0.138 → 0.0.140

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
@@ -44,10 +44,10 @@ function getBoundsOfPrimitives(primitives) {
44
44
  function defineSymbol(symbol5) {
45
45
  let size = symbol5.size;
46
46
  if (!size) {
47
- const bounds64 = getBoundsOfPrimitives(symbol5.primitives);
47
+ const bounds72 = getBoundsOfPrimitives(symbol5.primitives);
48
48
  size = {
49
- width: bounds64.maxX - bounds64.minX,
50
- height: bounds64.maxY - bounds64.minY
49
+ width: bounds72.maxX - bounds72.minX,
50
+ height: bounds72.maxY - bounds72.minY
51
51
  };
52
52
  }
53
53
  return { ...symbol5, size };
@@ -494,14 +494,14 @@ var rotateRightFacingSymbol = (symbol5, opts) => {
494
494
  ...applyToPoint(transform2, port)
495
495
  })
496
496
  );
497
- const bounds64 = getBoundsOfPrimitives(rotatedPrimitives);
497
+ const bounds72 = getBoundsOfPrimitives(rotatedPrimitives);
498
498
  return {
499
499
  primitives: rotatedPrimitives,
500
500
  center,
501
501
  ports: rotatedPorts,
502
502
  size: {
503
- width: bounds64.maxX - bounds64.minX,
504
- height: bounds64.maxY - bounds64.minY
503
+ width: bounds72.maxX - bounds72.minX,
504
+ height: bounds72.maxY - bounds72.minY
505
505
  },
506
506
  ...overrides
507
507
  };
@@ -902,10 +902,10 @@ var SymbolModifier = class {
902
902
  return this;
903
903
  }
904
904
  computeSize() {
905
- const bounds64 = getBoundsOfPrimitives(this.symbol.primitives);
905
+ const bounds72 = getBoundsOfPrimitives(this.symbol.primitives);
906
906
  return {
907
- width: bounds64.maxX - bounds64.minX,
908
- height: bounds64.maxY - bounds64.minY
907
+ width: bounds72.maxX - bounds72.minX,
908
+ height: bounds72.maxY - bounds72.minY
909
909
  };
910
910
  }
911
911
  build() {
@@ -6765,6 +6765,146 @@ val16.y -= 0.25;
6765
6765
  val16.x = 0.31;
6766
6766
  var ground_vert_default = symbol2;
6767
6767
 
6768
+ // assets/generated/ground2.json
6769
+ var ground2_default = {
6770
+ paths: {
6771
+ path12_rotated: {
6772
+ type: "path",
6773
+ points: [
6774
+ {
6775
+ x: -0.09,
6776
+ y: 0.12
6777
+ },
6778
+ {
6779
+ x: -0.09,
6780
+ y: -0.12
6781
+ }
6782
+ ],
6783
+ color: "primary",
6784
+ fill: false
6785
+ },
6786
+ path2_rotated: {
6787
+ type: "path",
6788
+ points: [
6789
+ {
6790
+ x: -0.09,
6791
+ y: 0
6792
+ },
6793
+ {
6794
+ x: 0.09,
6795
+ y: 0
6796
+ }
6797
+ ],
6798
+ color: "primary",
6799
+ fill: false
6800
+ }
6801
+ },
6802
+ texts: {
6803
+ top1: {
6804
+ type: "text",
6805
+ text: "{REF}",
6806
+ x: 0,
6807
+ y: 0.0292298999999999
6808
+ }
6809
+ },
6810
+ refblocks: {
6811
+ left1: {
6812
+ x: 0.09,
6813
+ y: 0
6814
+ }
6815
+ },
6816
+ bounds: {
6817
+ minX: -0.5695568909999997,
6818
+ maxX: 0.569556891,
6819
+ minY: -0.3692298999999999,
6820
+ maxY: 0.3692298999999999,
6821
+ width: 1.1391137819999997,
6822
+ height: 0.7384597999999998,
6823
+ centerX: 11102230246251565e-32,
6824
+ centerY: 0
6825
+ },
6826
+ circles: {}
6827
+ };
6828
+
6829
+ // symbols/ground2_down.ts
6830
+ var { paths: paths26, texts: texts25, bounds: bounds26, refblocks: refblocks26 } = ground2_default;
6831
+ var ground2_down_default = modifySymbol({
6832
+ primitives: [
6833
+ ...Object.values(paths26),
6834
+ {
6835
+ type: "text",
6836
+ text: "{REF}",
6837
+ x: -0.14,
6838
+ y: 0
6839
+ }
6840
+ ],
6841
+ ports: [
6842
+ { ...refblocks26.left1, labels: ["1"] }
6843
+ // TODO add more "standard" labels
6844
+ ],
6845
+ center: { x: bounds26.centerX, y: bounds26.centerY }
6846
+ }).rotateRightFacingSymbol("down").labelPort("left1", ["1"]).changeTextAnchor("{REF}", "middle_bottom").build();
6847
+
6848
+ // symbols/ground2_left.ts
6849
+ var { paths: paths27, texts: texts26, bounds: bounds27, refblocks: refblocks27, circles: circles25 } = ground2_default;
6850
+ var ground2_left_default = modifySymbol({
6851
+ primitives: [
6852
+ ...Object.values(paths27),
6853
+ ...Object.values(circles25),
6854
+ {
6855
+ type: "text",
6856
+ text: "{REF}",
6857
+ x: -0.14,
6858
+ y: -0
6859
+ }
6860
+ ],
6861
+ ports: [
6862
+ { ...refblocks27.left1, labels: ["1"] }
6863
+ // TODO add more "standard" labels
6864
+ ],
6865
+ center: { x: bounds27.centerX, y: bounds27.centerY }
6866
+ }).rotateRightFacingSymbol("left").labelPort("left1", ["1"]).changeTextAnchor("{REF}", "middle_left").build();
6867
+
6868
+ // symbols/ground2_right.ts
6869
+ var { paths: paths28, texts: texts27, bounds: bounds28, refblocks: refblocks28, circles: circles26 } = ground2_default;
6870
+ var ground2_right_default = modifySymbol({
6871
+ primitives: [
6872
+ ...Object.values(paths28),
6873
+ ...Object.values(circles26),
6874
+ {
6875
+ type: "text",
6876
+ text: "{REF}",
6877
+ x: -0.13,
6878
+ y: 0
6879
+ }
6880
+ ],
6881
+ ports: [
6882
+ { ...refblocks28.left1, labels: ["1"] }
6883
+ // TODO add more "standard" labels
6884
+ ],
6885
+ center: { x: bounds28.centerX, y: bounds28.centerY }
6886
+ }).changeTextAnchor("{VAL}", "middle_top").rotateRightFacingSymbol("right").labelPort("left1", ["1"]).changeTextAnchor("{REF}", "middle_right").build();
6887
+
6888
+ // symbols/ground2_up.ts
6889
+ var { paths: paths29, texts: texts28, bounds: bounds29, refblocks: refblocks29, circles: circles27 } = ground2_default;
6890
+ var ground2_up_default = modifySymbol({
6891
+ primitives: [
6892
+ ...Object.values(paths29),
6893
+ ...Object.values(circles27),
6894
+ {
6895
+ type: "text",
6896
+ text: "{REF}",
6897
+ x: -0.14,
6898
+ y: -0
6899
+ }
6900
+ ],
6901
+ ports: [
6902
+ { ...refblocks29.left1, labels: ["1"] }
6903
+ // TODO add more "standard" labels
6904
+ ],
6905
+ center: { x: bounds29.centerX, y: bounds29.centerY }
6906
+ }).rotateRightFacingSymbol("up").labelPort("left1", ["1"]).changeTextAnchor("{REF}", "middle_top").build();
6907
+
6768
6908
  // assets/generated/gunn_diode.json
6769
6909
  var gunn_diode_default = {
6770
6910
  paths: {
@@ -6883,7 +7023,7 @@ var gunn_diode_default = {
6883
7023
  };
6884
7024
 
6885
7025
  // symbols/gunn_diode_horz.ts
6886
- var { paths: paths26, texts: texts25, bounds: bounds26, refblocks: refblocks26, circles: circles25 } = gunn_diode_default;
7026
+ var { paths: paths30, texts: texts29, bounds: bounds30, refblocks: refblocks30, circles: circles28 } = gunn_diode_default;
6887
7027
  var gunn_diode_horz_default = modifySymbol(gunn_diode_default).changeTextAnchor("{VAL}", "middle_top").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_bottom").build();
6888
7028
 
6889
7029
  // symbols/gunn_diode_vert.ts
@@ -7651,12 +7791,12 @@ var illuminated_push_button_normally_open_horz_default = modifySymbol(illuminate
7651
7791
 
7652
7792
  // symbols/illuminated_push_button_normally_open_vert.ts
7653
7793
  var rotatedSymbol6 = rotateSymbol(illuminated_push_button_normally_open_horz_default);
7654
- var texts26 = rotatedSymbol6.primitives.filter((p) => p.type === "text");
7655
- var val18 = texts26.find((t) => t.text === "{VAL}");
7794
+ var texts30 = rotatedSymbol6.primitives.filter((p) => p.type === "text");
7795
+ var val18 = texts30.find((t) => t.text === "{VAL}");
7656
7796
  val18.x = -0.35;
7657
7797
  val18.y = 0;
7658
7798
  val18.anchor = "middle_right";
7659
- var ref18 = texts26.find((t) => t.text === "{REF}");
7799
+ var ref18 = texts30.find((t) => t.text === "{REF}");
7660
7800
  ref18.y = 0;
7661
7801
  ref18.x = 0.35;
7662
7802
  ref18.anchor = "middle_left";
@@ -9058,22 +9198,22 @@ var inductor_default = {
9058
9198
  };
9059
9199
 
9060
9200
  // symbols/inductor_right.ts
9061
- var { paths: paths27, texts: texts27, bounds: bounds27, refblocks: refblocks27, circles: circles26 } = inductor_default;
9201
+ var { paths: paths31, texts: texts31, bounds: bounds31, refblocks: refblocks31, circles: circles29 } = inductor_default;
9062
9202
  var inductor_right_default = defineSymbol({
9063
9203
  primitives: [
9064
- ...Object.values(paths27),
9065
- ...Object.values(circles26),
9066
- { ...texts27.top1, anchor: "middle_bottom" },
9067
- { ...texts27.bottom1, anchor: "middle_top" }
9204
+ ...Object.values(paths31),
9205
+ ...Object.values(circles29),
9206
+ { ...texts31.top1, anchor: "middle_bottom" },
9207
+ { ...texts31.bottom1, anchor: "middle_top" }
9068
9208
  ],
9069
9209
  ports: [
9070
- { ...refblocks27.left1, labels: ["1"] },
9210
+ { ...refblocks31.left1, labels: ["1"] },
9071
9211
  // TODO add more "standard" labels
9072
- { ...refblocks27.right1, labels: ["2"] }
9212
+ { ...refblocks31.right1, labels: ["2"] }
9073
9213
  // TODO add more "standard" labels
9074
9214
  ],
9075
- size: { width: bounds27.width, height: bounds27.height },
9076
- center: { x: bounds27.centerX, y: bounds27.centerY }
9215
+ size: { width: bounds31.width, height: bounds31.height },
9216
+ center: { x: bounds31.centerX, y: bounds31.centerY }
9077
9217
  });
9078
9218
 
9079
9219
  // symbols/inductor_up.ts
@@ -9330,8 +9470,8 @@ var laser_diode_horz_default = modifySymbol(laser_diode_default).changeTextAncho
9330
9470
 
9331
9471
  // symbols/laser_diode_vert.ts
9332
9472
  var rotatedSymbol7 = rotateSymbol(laser_diode_horz_default);
9333
- var texts28 = rotatedSymbol7.primitives.filter((p) => p.type === "text");
9334
- var ref19 = texts28.find((t) => t.text === "{VAL}");
9473
+ var texts32 = rotatedSymbol7.primitives.filter((p) => p.type === "text");
9474
+ var ref19 = texts32.find((t) => t.text === "{VAL}");
9335
9475
  ref19.x = -0.52;
9336
9476
  ref19.anchor = "middle_right";
9337
9477
  var laser_diode_vert_default = rotatedSymbol7;
@@ -9552,22 +9692,22 @@ var led_default = {
9552
9692
  };
9553
9693
 
9554
9694
  // symbols/led_right.ts
9555
- var { paths: paths28, texts: texts29, bounds: bounds28, refblocks: refblocks28, circles: circles27 } = led_default;
9695
+ var { paths: paths32, texts: texts33, bounds: bounds32, refblocks: refblocks32, circles: circles30 } = led_default;
9556
9696
  var led_right_default = defineSymbol({
9557
9697
  primitives: [
9558
- ...Object.values(paths28),
9559
- ...Object.values(circles27),
9560
- { ...texts29.bottom1, anchor: "middle_top" },
9561
- { ...texts29.right1, anchor: "middle_bottom" }
9698
+ ...Object.values(paths32),
9699
+ ...Object.values(circles30),
9700
+ { ...texts33.bottom1, anchor: "middle_top" },
9701
+ { ...texts33.right1, anchor: "middle_bottom" }
9562
9702
  ],
9563
9703
  ports: [
9564
- { ...refblocks28.left1, labels: ["1"] },
9704
+ { ...refblocks32.left1, labels: ["1"] },
9565
9705
  // TODO add more "standard" labels
9566
- { ...refblocks28.right1, labels: ["2"] }
9706
+ { ...refblocks32.right1, labels: ["2"] }
9567
9707
  // TODO add more "standard" labels
9568
9708
  ],
9569
- size: { width: bounds28.width, height: bounds28.height },
9570
- center: { x: bounds28.centerX, y: bounds28.centerY }
9709
+ size: { width: bounds32.width, height: bounds32.height },
9710
+ center: { x: bounds32.centerX, y: bounds32.centerY }
9571
9711
  });
9572
9712
 
9573
9713
  // symbols/led_up.ts
@@ -9830,32 +9970,32 @@ var light_dependent_resistor_default = {
9830
9970
  };
9831
9971
 
9832
9972
  // symbols/light_dependent_resistor_horz.ts
9833
- var { paths: paths29, texts: texts30, bounds: bounds29, refblocks: refblocks29, circles: circles28 } = light_dependent_resistor_default;
9973
+ var { paths: paths33, texts: texts34, bounds: bounds33, refblocks: refblocks33, circles: circles31 } = light_dependent_resistor_default;
9834
9974
  var light_dependent_resistor_horz_default = defineSymbol({
9835
9975
  primitives: [
9836
- ...Object.values(paths29),
9837
- ...Object.values(circles28),
9838
- { ...texts30.top1, anchor: "middle_left", x: 0 },
9839
- { ...texts30.bottom1, anchor: "middle_left", x: 0 }
9976
+ ...Object.values(paths33),
9977
+ ...Object.values(circles31),
9978
+ { ...texts34.top1, anchor: "middle_left", x: 0 },
9979
+ { ...texts34.bottom1, anchor: "middle_left", x: 0 }
9840
9980
  ],
9841
9981
  ports: [
9842
- { ...refblocks29.left1, labels: ["1"] },
9982
+ { ...refblocks33.left1, labels: ["1"] },
9843
9983
  // TODO add more "standard" labels
9844
- { ...refblocks29.right1, labels: ["2"] }
9984
+ { ...refblocks33.right1, labels: ["2"] }
9845
9985
  // TODO add more "standard" labels
9846
9986
  ],
9847
- size: { width: bounds29.width, height: bounds29.height },
9848
- center: { x: bounds29.centerX, y: bounds29.centerY }
9987
+ size: { width: bounds33.width, height: bounds33.height },
9988
+ center: { x: bounds33.centerX, y: bounds33.centerY }
9849
9989
  });
9850
9990
 
9851
9991
  // symbols/light_dependent_resistor_vert.ts
9852
9992
  var rotatedSymbol8 = rotateSymbol(light_dependent_resistor_horz_default);
9853
- var texts31 = rotatedSymbol8.primitives.filter((p) => p.type === "text");
9854
- var val21 = texts31.find((t) => t.text === "{VAL}");
9993
+ var texts35 = rotatedSymbol8.primitives.filter((p) => p.type === "text");
9994
+ var val21 = texts35.find((t) => t.text === "{VAL}");
9855
9995
  val21.x = -0.35;
9856
9996
  val21.y = 0;
9857
9997
  val21.anchor = "middle_right";
9858
- var ref22 = texts31.find((t) => t.text === "{REF}");
9998
+ var ref22 = texts35.find((t) => t.text === "{REF}");
9859
9999
  ref22.y = 0;
9860
10000
  ref22.x = 0.35;
9861
10001
  ref22.anchor = "middle_left";
@@ -10132,23 +10272,23 @@ var mosfet_depletion_normally_on_default = {
10132
10272
  };
10133
10273
 
10134
10274
  // symbols/mosfet_depletion_normally_on_horz.ts
10135
- var { paths: paths30, texts: texts32, bounds: bounds30, refblocks: refblocks30 } = mosfet_depletion_normally_on_default;
10275
+ var { paths: paths34, texts: texts36, bounds: bounds34, refblocks: refblocks34 } = mosfet_depletion_normally_on_default;
10136
10276
  var mosfet_depletion_normally_on_horz_default = defineSymbol({
10137
10277
  primitives: [
10138
- ...Object.values(paths30),
10139
- { ...texts32.right1, anchor: "middle_left" },
10140
- { ...texts32.right2, anchor: "middle_left" }
10278
+ ...Object.values(paths34),
10279
+ { ...texts36.right1, anchor: "middle_left" },
10280
+ { ...texts36.right2, anchor: "middle_left" }
10141
10281
  ],
10142
10282
  ports: [
10143
- { ...refblocks30.top1, labels: ["1"] },
10283
+ { ...refblocks34.top1, labels: ["1"] },
10144
10284
  // TODO add more "standard" labels
10145
- { ...refblocks30.bottom1, labels: ["2"] },
10285
+ { ...refblocks34.bottom1, labels: ["2"] },
10146
10286
  // TODO add more "standard" labels
10147
- { ...refblocks30.left1, labels: ["3"] }
10287
+ { ...refblocks34.left1, labels: ["3"] }
10148
10288
  // TODO add more "standard" labels
10149
10289
  ],
10150
- size: { width: bounds30.width + 0.4, height: bounds30.height },
10151
- center: { x: bounds30.centerX + 0.2, y: bounds30.centerY }
10290
+ size: { width: bounds34.width + 0.4, height: bounds34.height },
10291
+ center: { x: bounds34.centerX + 0.2, y: bounds34.centerY }
10152
10292
  });
10153
10293
 
10154
10294
  // symbols/mosfet_depletion_normally_on_vert.ts
@@ -10774,20 +10914,20 @@ var mushroom_head_normally_open_momentary_default = {
10774
10914
  };
10775
10915
 
10776
10916
  // symbols/mushroom_head_normally_open_momentary_horz.ts
10777
- var { paths: paths31, texts: texts33, bounds: bounds31, refblocks: refblocks31, circles: circles29 } = mushroom_head_normally_open_momentary_default;
10917
+ var { paths: paths35, texts: texts37, bounds: bounds35, refblocks: refblocks35, circles: circles32 } = mushroom_head_normally_open_momentary_default;
10778
10918
  var mushroom_head_normally_open_momentary_horz_default = defineSymbol({
10779
10919
  primitives: [
10780
- ...Object.values(paths31),
10781
- ...Object.values(circles29),
10782
- { ...texts33.top1, anchor: "middle_bottom", x: 0 },
10783
- { ...texts33.bottom1, anchor: "middle_top", x: 0 }
10920
+ ...Object.values(paths35),
10921
+ ...Object.values(circles32),
10922
+ { ...texts37.top1, anchor: "middle_bottom", x: 0 },
10923
+ { ...texts37.bottom1, anchor: "middle_top", x: 0 }
10784
10924
  ],
10785
10925
  ports: [
10786
- { ...refblocks31.left1, labels: ["1"] },
10787
- { ...refblocks31.right1, labels: ["2"] }
10926
+ { ...refblocks35.left1, labels: ["1"] },
10927
+ { ...refblocks35.right1, labels: ["2"] }
10788
10928
  ],
10789
- size: { width: bounds31.width, height: bounds31.height },
10790
- center: { x: bounds31.centerX + 6e-3, y: bounds31.centerY + 0.06 }
10929
+ size: { width: bounds35.width, height: bounds35.height },
10930
+ center: { x: bounds35.centerX + 6e-3, y: bounds35.centerY + 0.06 }
10791
10931
  });
10792
10932
 
10793
10933
  // symbols/mushroom_head_normally_open_momentary_vert.ts
@@ -11004,34 +11144,34 @@ var n_channel_d_mosfet_transistor_default = {
11004
11144
  };
11005
11145
 
11006
11146
  // symbols/n_channel_d_mosfet_transistor_horz.ts
11007
- var { paths: paths32, texts: texts34, bounds: bounds32, refblocks: refblocks32, circles: circles30 } = n_channel_d_mosfet_transistor_default;
11147
+ var { paths: paths36, texts: texts38, bounds: bounds36, refblocks: refblocks36, circles: circles33 } = n_channel_d_mosfet_transistor_default;
11008
11148
  var n_channel_d_mosfet_transistor_horz_default = defineSymbol({
11009
11149
  primitives: [
11010
- ...Object.values(paths32),
11011
- ...Object.values(circles30),
11012
- { ...texts34.top1, anchor: "middle_right", x: 0 },
11013
- { ...texts34.bottom1, anchor: "middle_right", x: 0 }
11150
+ ...Object.values(paths36),
11151
+ ...Object.values(circles33),
11152
+ { ...texts38.top1, anchor: "middle_right", x: 0 },
11153
+ { ...texts38.bottom1, anchor: "middle_right", x: 0 }
11014
11154
  ],
11015
11155
  ports: [
11016
- { ...refblocks32.top1, labels: ["1", "drain"] },
11156
+ { ...refblocks36.top1, labels: ["1", "drain"] },
11017
11157
  // TODO add more "standard" labels
11018
- { ...refblocks32.bottom1, labels: ["2", "source"] },
11158
+ { ...refblocks36.bottom1, labels: ["2", "source"] },
11019
11159
  // TODO add more "standard" labels
11020
- { ...refblocks32.left1, labels: ["3", "gate"] }
11160
+ { ...refblocks36.left1, labels: ["3", "gate"] }
11021
11161
  // TODO add more "standard" labels
11022
11162
  ],
11023
- size: { width: bounds32.width, height: bounds32.height },
11024
- center: { x: bounds32.centerX, y: bounds32.centerY }
11163
+ size: { width: bounds36.width, height: bounds36.height },
11164
+ center: { x: bounds36.centerX, y: bounds36.centerY }
11025
11165
  });
11026
11166
 
11027
11167
  // symbols/n_channel_d_mosfet_transistor_vert.ts
11028
11168
  var rotatedSymbol9 = rotateSymbol(n_channel_d_mosfet_transistor_horz_default);
11029
- var texts35 = rotatedSymbol9.primitives.filter((p) => p.type === "text");
11030
- var val24 = texts35.find((t) => t.text === "{VAL}");
11169
+ var texts39 = rotatedSymbol9.primitives.filter((p) => p.type === "text");
11170
+ var val24 = texts39.find((t) => t.text === "{VAL}");
11031
11171
  val24.x = -0.35;
11032
11172
  val24.y = 0;
11033
11173
  val24.anchor = "middle_right";
11034
- var ref25 = texts35.find((t) => t.text === "{REF}");
11174
+ var ref25 = texts39.find((t) => t.text === "{REF}");
11035
11175
  ref25.y = 0;
11036
11176
  ref25.x = 0.35;
11037
11177
  ref25.anchor = "middle_left";
@@ -11265,34 +11405,34 @@ var n_channel_e_mosfet_transistor_default = {
11265
11405
  };
11266
11406
 
11267
11407
  // symbols/n_channel_e_mosfet_transistor_horz.ts
11268
- var { paths: paths33, texts: texts36, bounds: bounds33, refblocks: refblocks33, circles: circles31 } = n_channel_e_mosfet_transistor_default;
11408
+ var { paths: paths37, texts: texts40, bounds: bounds37, refblocks: refblocks37, circles: circles34 } = n_channel_e_mosfet_transistor_default;
11269
11409
  var n_channel_e_mosfet_transistor_horz_default = defineSymbol({
11270
11410
  primitives: [
11271
- ...Object.values(paths33),
11272
- ...Object.values(circles31),
11273
- { ...texts36.top1, anchor: "middle_right", x: 0 },
11274
- { ...texts36.bottom1, anchor: "middle_right", x: 0 }
11411
+ ...Object.values(paths37),
11412
+ ...Object.values(circles34),
11413
+ { ...texts40.top1, anchor: "middle_right", x: 0 },
11414
+ { ...texts40.bottom1, anchor: "middle_right", x: 0 }
11275
11415
  ],
11276
11416
  ports: [
11277
- { ...refblocks33.top1, labels: ["1", "drain"] },
11417
+ { ...refblocks37.top1, labels: ["1", "drain"] },
11278
11418
  // TODO add more "standard" labels
11279
- { ...refblocks33.bottom1, labels: ["2", "source"] },
11419
+ { ...refblocks37.bottom1, labels: ["2", "source"] },
11280
11420
  // TODO add more "standard" labels
11281
- { ...refblocks33.left1, labels: ["3", "gate"] }
11421
+ { ...refblocks37.left1, labels: ["3", "gate"] }
11282
11422
  // TODO add more "standard" labels
11283
11423
  ],
11284
- size: { width: bounds33.width, height: bounds33.height },
11285
- center: { x: bounds33.centerX, y: bounds33.centerY }
11424
+ size: { width: bounds37.width, height: bounds37.height },
11425
+ center: { x: bounds37.centerX, y: bounds37.centerY }
11286
11426
  });
11287
11427
 
11288
11428
  // symbols/n_channel_e_mosfet_transistor_vert.ts
11289
11429
  var rotatedSymbol10 = rotateSymbol(n_channel_e_mosfet_transistor_horz_default);
11290
- var texts37 = rotatedSymbol10.primitives.filter((p) => p.type === "text");
11291
- var val25 = texts37.find((t) => t.text === "{VAL}");
11430
+ var texts41 = rotatedSymbol10.primitives.filter((p) => p.type === "text");
11431
+ var val25 = texts41.find((t) => t.text === "{VAL}");
11292
11432
  val25.x = -0.35;
11293
11433
  val25.y = 0;
11294
11434
  val25.anchor = "middle_right";
11295
- var ref26 = texts37.find((t) => t.text === "{REF}");
11435
+ var ref26 = texts41.find((t) => t.text === "{REF}");
11296
11436
  ref26.y = 0;
11297
11437
  ref26.x = 0.35;
11298
11438
  ref26.anchor = "middle_left";
@@ -11466,34 +11606,34 @@ var njfet_transistor_default = {
11466
11606
  };
11467
11607
 
11468
11608
  // symbols/njfet_transistor_horz.ts
11469
- var { paths: paths34, texts: texts38, bounds: bounds34, refblocks: refblocks34, circles: circles32 } = njfet_transistor_default;
11609
+ var { paths: paths38, texts: texts42, bounds: bounds38, refblocks: refblocks38, circles: circles35 } = njfet_transistor_default;
11470
11610
  var njfet_transistor_horz_default = defineSymbol({
11471
11611
  primitives: [
11472
- ...Object.values(paths34),
11473
- ...Object.values(circles32),
11474
- { ...texts38.top1, anchor: "middle_right", x: 0 },
11475
- { ...texts38.bottom1, anchor: "middle_right", x: 0 }
11612
+ ...Object.values(paths38),
11613
+ ...Object.values(circles35),
11614
+ { ...texts42.top1, anchor: "middle_right", x: 0 },
11615
+ { ...texts42.bottom1, anchor: "middle_right", x: 0 }
11476
11616
  ],
11477
11617
  ports: [
11478
- { ...refblocks34.top1, labels: ["1", "drain"] },
11618
+ { ...refblocks38.top1, labels: ["1", "drain"] },
11479
11619
  // TODO add more "standard" labels
11480
- { ...refblocks34.bottom1, labels: ["2", "source"] },
11620
+ { ...refblocks38.bottom1, labels: ["2", "source"] },
11481
11621
  // TODO add more "standard" labels
11482
- { ...refblocks34.left1, labels: ["3", "gate"] }
11622
+ { ...refblocks38.left1, labels: ["3", "gate"] }
11483
11623
  // TODO add more "standard" labels
11484
11624
  ],
11485
- size: { width: bounds34.width, height: bounds34.height },
11486
- center: { x: bounds34.centerX, y: bounds34.centerY }
11625
+ size: { width: bounds38.width, height: bounds38.height },
11626
+ center: { x: bounds38.centerX, y: bounds38.centerY }
11487
11627
  });
11488
11628
 
11489
11629
  // symbols/njfet_transistor_vert.ts
11490
11630
  var rotatedSymbol11 = rotateSymbol(njfet_transistor_horz_default);
11491
- var texts39 = rotatedSymbol11.primitives.filter((p) => p.type === "text");
11492
- var val26 = texts39.find((t) => t.text === "{VAL}");
11631
+ var texts43 = rotatedSymbol11.primitives.filter((p) => p.type === "text");
11632
+ var val26 = texts43.find((t) => t.text === "{VAL}");
11493
11633
  val26.x = -0.35;
11494
11634
  val26.y = 0;
11495
11635
  val26.anchor = "middle_right";
11496
- var ref27 = texts39.find((t) => t.text === "{REF}");
11636
+ var ref27 = texts43.find((t) => t.text === "{REF}");
11497
11637
  ref27.y = 0;
11498
11638
  ref27.x = 0.35;
11499
11639
  ref27.anchor = "middle_left";
@@ -11667,13 +11807,13 @@ var npn_bipolar_transistor_default = {
11667
11807
  };
11668
11808
 
11669
11809
  // symbols/npn_bipolar_transistor_horz.ts
11670
- var { paths: paths35, texts: texts40, bounds: bounds35, refblocks: refblocks35, circles: circles33 } = npn_bipolar_transistor_default;
11810
+ var { paths: paths39, texts: texts44, bounds: bounds39, refblocks: refblocks39, circles: circles36 } = npn_bipolar_transistor_default;
11671
11811
  var npn_bipolar_transistor_horz_default = modifySymbol(npn_bipolar_transistor_default).changeTextAnchor("{VAL}", "middle_right").labelPort("left1", ["3"]).labelPort("top1", ["1"]).labelPort("bottom1", ["2"]).changeTextAnchor("{REF}", "middle_right").build();
11672
11812
 
11673
11813
  // symbols/npn_bipolar_transistor_vert.ts
11674
11814
  var rotatedSymbol12 = rotateSymbol(npn_bipolar_transistor_horz_default);
11675
- var texts41 = rotatedSymbol12.primitives.filter((p) => p.type === "text");
11676
- var ref28 = texts41.find((t) => t.text === "{REF}");
11815
+ var texts45 = rotatedSymbol12.primitives.filter((p) => p.type === "text");
11816
+ var ref28 = texts45.find((t) => t.text === "{REF}");
11677
11817
  ref28.anchor = "middle_left";
11678
11818
  var npn_bipolar_transistor_vert_default = modifySymbol(npn_bipolar_transistor_default).rotateRightFacingSymbol("down").changeTextAnchor("{VAL}", "middle_right").labelPort("left1", ["3"]).labelPort("top1", ["1"]).labelPort("bottom1", ["2"]).changeTextAnchor("{REF}", "middle_left").build();
11679
11819
 
@@ -12297,34 +12437,34 @@ var p_channel_d_mosfet_transistor_default = {
12297
12437
  };
12298
12438
 
12299
12439
  // symbols/p_channel_d_mosfet_transistor_horz.ts
12300
- var { paths: paths36, texts: texts42, bounds: bounds36, refblocks: refblocks36, circles: circles34 } = p_channel_d_mosfet_transistor_default;
12440
+ var { paths: paths40, texts: texts46, bounds: bounds40, refblocks: refblocks40, circles: circles37 } = p_channel_d_mosfet_transistor_default;
12301
12441
  var p_channel_d_mosfet_transistor_horz_default = defineSymbol({
12302
12442
  primitives: [
12303
- ...Object.values(paths36),
12304
- ...Object.values(circles34),
12305
- { ...texts42.top1, anchor: "middle_right", x: 0 },
12306
- { ...texts42.bottom1, anchor: "middle_right", x: 0 }
12443
+ ...Object.values(paths40),
12444
+ ...Object.values(circles37),
12445
+ { ...texts46.top1, anchor: "middle_right", x: 0 },
12446
+ { ...texts46.bottom1, anchor: "middle_right", x: 0 }
12307
12447
  ],
12308
12448
  ports: [
12309
- { ...refblocks36.top1, labels: ["1", "drain"] },
12449
+ { ...refblocks40.top1, labels: ["1", "drain"] },
12310
12450
  // TODO add more "standard" labels
12311
- { ...refblocks36.bottom1, labels: ["2", "source"] },
12451
+ { ...refblocks40.bottom1, labels: ["2", "source"] },
12312
12452
  // TODO add more "standard" labels
12313
- { ...refblocks36.left1, labels: ["3", "gate"] }
12453
+ { ...refblocks40.left1, labels: ["3", "gate"] }
12314
12454
  // TODO add more "standard" labels
12315
12455
  ],
12316
- size: { width: bounds36.width, height: bounds36.height },
12317
- center: { x: bounds36.centerX, y: bounds36.centerY }
12456
+ size: { width: bounds40.width, height: bounds40.height },
12457
+ center: { x: bounds40.centerX, y: bounds40.centerY }
12318
12458
  });
12319
12459
 
12320
12460
  // symbols/p_channel_d_mosfet_transistor_vert.ts
12321
12461
  var rotatedSymbol13 = rotateSymbol(p_channel_d_mosfet_transistor_horz_default);
12322
- var texts43 = rotatedSymbol13.primitives.filter((p) => p.type === "text");
12323
- var val27 = texts43.find((t) => t.text === "{VAL}");
12462
+ var texts47 = rotatedSymbol13.primitives.filter((p) => p.type === "text");
12463
+ var val27 = texts47.find((t) => t.text === "{VAL}");
12324
12464
  val27.x = -0.35;
12325
12465
  val27.y = 0;
12326
12466
  val27.anchor = "middle_right";
12327
- var ref29 = texts43.find((t) => t.text === "{REF}");
12467
+ var ref29 = texts47.find((t) => t.text === "{REF}");
12328
12468
  ref29.y = 0;
12329
12469
  ref29.x = 0.35;
12330
12470
  ref29.anchor = "middle_left";
@@ -12558,34 +12698,34 @@ var p_channel_e_mosfet_transistor_default = {
12558
12698
  };
12559
12699
 
12560
12700
  // symbols/p_channel_e_mosfet_transistor_horz.ts
12561
- var { paths: paths37, texts: texts44, bounds: bounds37, refblocks: refblocks37, circles: circles35 } = p_channel_e_mosfet_transistor_default;
12701
+ var { paths: paths41, texts: texts48, bounds: bounds41, refblocks: refblocks41, circles: circles38 } = p_channel_e_mosfet_transistor_default;
12562
12702
  var p_channel_e_mosfet_transistor_horz_default = defineSymbol({
12563
12703
  primitives: [
12564
- ...Object.values(paths37),
12565
- ...Object.values(circles35),
12566
- { ...texts44.top1, anchor: "middle_right", x: 0 },
12567
- { ...texts44.bottom1, anchor: "middle_right", x: 0 }
12704
+ ...Object.values(paths41),
12705
+ ...Object.values(circles38),
12706
+ { ...texts48.top1, anchor: "middle_right", x: 0 },
12707
+ { ...texts48.bottom1, anchor: "middle_right", x: 0 }
12568
12708
  ],
12569
12709
  ports: [
12570
- { ...refblocks37.top1, labels: ["1", "drain"] },
12710
+ { ...refblocks41.top1, labels: ["1", "drain"] },
12571
12711
  // TODO add more "standard" labels
12572
- { ...refblocks37.bottom1, labels: ["2", "source"] },
12712
+ { ...refblocks41.bottom1, labels: ["2", "source"] },
12573
12713
  // TODO add more "standard" labels
12574
- { ...refblocks37.left1, labels: ["3", "gate"] }
12714
+ { ...refblocks41.left1, labels: ["3", "gate"] }
12575
12715
  // TODO add more "standard" labels
12576
12716
  ],
12577
- size: { width: bounds37.width, height: bounds37.height },
12578
- center: { x: bounds37.centerX, y: bounds37.centerY }
12717
+ size: { width: bounds41.width, height: bounds41.height },
12718
+ center: { x: bounds41.centerX, y: bounds41.centerY }
12579
12719
  });
12580
12720
 
12581
12721
  // symbols/p_channel_e_mosfet_transistor_vert.ts
12582
12722
  var rotatedSymbol14 = rotateSymbol(p_channel_e_mosfet_transistor_horz_default);
12583
- var texts45 = rotatedSymbol14.primitives.filter((p) => p.type === "text");
12584
- var val28 = texts45.find((t) => t.text === "{VAL}");
12723
+ var texts49 = rotatedSymbol14.primitives.filter((p) => p.type === "text");
12724
+ var val28 = texts49.find((t) => t.text === "{VAL}");
12585
12725
  val28.x = -0.35;
12586
12726
  val28.y = 0;
12587
12727
  val28.anchor = "middle_right";
12588
- var ref30 = texts45.find((t) => t.text === "{REF}");
12728
+ var ref30 = texts49.find((t) => t.text === "{REF}");
12589
12729
  ref30.y = 0;
12590
12730
  ref30.x = 0.35;
12591
12731
  ref30.anchor = "middle_left";
@@ -12820,8 +12960,8 @@ var photodiode_horz_default = modifySymbol(photodiode_default).changeTextAnchor(
12820
12960
 
12821
12961
  // symbols/photodiode_vert.ts
12822
12962
  var rotatedSymbol15 = rotateSymbol(photodiode_horz_default);
12823
- var texts46 = rotatedSymbol15.primitives.filter((p) => p.type === "text");
12824
- var ref31 = texts46.find((t) => t.text === "{REF}");
12963
+ var texts50 = rotatedSymbol15.primitives.filter((p) => p.type === "text");
12964
+ var ref31 = texts50.find((t) => t.text === "{REF}");
12825
12965
  ref31.y = 0;
12826
12966
  ref31.anchor = "middle_left";
12827
12967
  var photodiode_vert_default = rotatedSymbol15;
@@ -12994,34 +13134,34 @@ var pjfet_transistor_default = {
12994
13134
  };
12995
13135
 
12996
13136
  // symbols/pjfet_transistor_horz.ts
12997
- var { paths: paths38, texts: texts47, bounds: bounds38, refblocks: refblocks38, circles: circles36 } = pjfet_transistor_default;
13137
+ var { paths: paths42, texts: texts51, bounds: bounds42, refblocks: refblocks42, circles: circles39 } = pjfet_transistor_default;
12998
13138
  var pjfet_transistor_horz_default = defineSymbol({
12999
13139
  primitives: [
13000
- ...Object.values(paths38),
13001
- ...Object.values(circles36),
13002
- { ...texts47.top1, anchor: "middle_right", x: 0 },
13003
- { ...texts47.bottom1, anchor: "middle_right" }
13140
+ ...Object.values(paths42),
13141
+ ...Object.values(circles39),
13142
+ { ...texts51.top1, anchor: "middle_right", x: 0 },
13143
+ { ...texts51.bottom1, anchor: "middle_right" }
13004
13144
  ],
13005
13145
  ports: [
13006
- { ...refblocks38.top1, labels: ["1", "drain"] },
13146
+ { ...refblocks42.top1, labels: ["1", "drain"] },
13007
13147
  // TODO add more "standard" labels
13008
- { ...refblocks38.bottom1, labels: ["2", "source"] },
13148
+ { ...refblocks42.bottom1, labels: ["2", "source"] },
13009
13149
  // TODO add more "standard" labels
13010
- { ...refblocks38.left1, labels: ["3", "gate"] }
13150
+ { ...refblocks42.left1, labels: ["3", "gate"] }
13011
13151
  // TODO add more "standard" labels
13012
13152
  ],
13013
- size: { width: bounds38.width, height: bounds38.height },
13014
- center: { x: bounds38.centerX, y: bounds38.centerY }
13153
+ size: { width: bounds42.width, height: bounds42.height },
13154
+ center: { x: bounds42.centerX, y: bounds42.centerY }
13015
13155
  });
13016
13156
 
13017
13157
  // symbols/pjfet_transistor_vert.ts
13018
13158
  var rotatedSymbol16 = rotateSymbol(pjfet_transistor_horz_default);
13019
- var texts48 = rotatedSymbol16.primitives.filter((p) => p.type === "text");
13020
- var val29 = texts48.find((t) => t.text === "{VAL}");
13159
+ var texts52 = rotatedSymbol16.primitives.filter((p) => p.type === "text");
13160
+ var val29 = texts52.find((t) => t.text === "{VAL}");
13021
13161
  val29.x = -0.35;
13022
13162
  val29.y = 0;
13023
13163
  val29.anchor = "middle_right";
13024
- var ref32 = texts48.find((t) => t.text === "{REF}");
13164
+ var ref32 = texts52.find((t) => t.text === "{REF}");
13025
13165
  ref32.y = 0;
13026
13166
  ref32.x = 0.35;
13027
13167
  ref32.anchor = "middle_left";
@@ -13199,8 +13339,8 @@ var pnp_bipolar_transistor_horz_default = modifySymbol(pnp_bipolar_transistor_de
13199
13339
 
13200
13340
  // symbols/pnp_bipolar_transistor_vert.ts
13201
13341
  var rotatedSymbol17 = rotateSymbol(pnp_bipolar_transistor_horz_default);
13202
- var texts49 = rotatedSymbol17.primitives.filter((p) => p.type === "text");
13203
- var ref33 = texts49.find((t) => t.text === "{REF}");
13342
+ var texts53 = rotatedSymbol17.primitives.filter((p) => p.type === "text");
13343
+ var ref33 = texts53.find((t) => t.text === "{REF}");
13204
13344
  ref33.anchor = "middle_left";
13205
13345
  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();
13206
13346
 
@@ -13614,21 +13754,21 @@ var potentiometer_default = {
13614
13754
  };
13615
13755
 
13616
13756
  // symbols/potentiometer_horz.ts
13617
- var { paths: paths39, texts: texts50, bounds: bounds39, refblocks: refblocks39 } = potentiometer_default;
13757
+ var { paths: paths43, texts: texts54, bounds: bounds43, refblocks: refblocks43 } = potentiometer_default;
13618
13758
  var potentiometer_horz_default = defineSymbol({
13619
13759
  primitives: [
13620
- ...Object.values(paths39),
13621
- { ...texts50.bottom1, y: 0.35, anchor: "middle_top" },
13622
- { ...texts50.top1, anchor: "middle_left" }
13760
+ ...Object.values(paths43),
13761
+ { ...texts54.bottom1, y: 0.35, anchor: "middle_top" },
13762
+ { ...texts54.top1, anchor: "middle_left" }
13623
13763
  ],
13624
13764
  ports: [
13625
- { ...refblocks39.left1, labels: ["1"] },
13765
+ { ...refblocks43.left1, labels: ["1"] },
13626
13766
  // TODO add more "standard" labels
13627
- { ...refblocks39.right1, labels: ["2"] }
13767
+ { ...refblocks43.right1, labels: ["2"] }
13628
13768
  // TODO add more "standard" labels
13629
13769
  ],
13630
- size: { width: bounds39.width + 0.05, height: bounds39.height },
13631
- center: { x: bounds39.centerX, y: bounds39.centerY }
13770
+ size: { width: bounds43.width + 0.05, height: bounds43.height },
13771
+ center: { x: bounds43.centerX, y: bounds43.centerY }
13632
13772
  });
13633
13773
 
13634
13774
  // symbols/potentiometer_vert.ts
@@ -13791,29 +13931,29 @@ var potentiometer2_default = {
13791
13931
  };
13792
13932
 
13793
13933
  // symbols/potentiometer2_horz.ts
13794
- var { paths: paths40, texts: texts51, bounds: bounds40, refblocks: refblocks40 } = potentiometer2_default;
13934
+ var { paths: paths44, texts: texts55, bounds: bounds44, refblocks: refblocks44 } = potentiometer2_default;
13795
13935
  var potentiometer2_horz_default = defineSymbol({
13796
13936
  primitives: [
13797
- ...Object.values(paths40),
13798
- { ...texts51.bottom1, anchor: "middle_top" },
13799
- { ...texts51.top1, anchor: "middle_bottom" }
13937
+ ...Object.values(paths44),
13938
+ { ...texts55.bottom1, anchor: "middle_top" },
13939
+ { ...texts55.top1, anchor: "middle_bottom" }
13800
13940
  ],
13801
13941
  ports: [
13802
- { ...refblocks40.left1, labels: ["1"] },
13942
+ { ...refblocks44.left1, labels: ["1"] },
13803
13943
  // TODO add more "standard" labels
13804
- { ...refblocks40.right1, labels: ["2"] }
13944
+ { ...refblocks44.right1, labels: ["2"] }
13805
13945
  // TODO add more "standard" labels
13806
13946
  ],
13807
- size: { width: bounds40.width, height: bounds40.height },
13808
- center: { x: bounds40.centerX, y: bounds40.centerY }
13947
+ size: { width: bounds44.width, height: bounds44.height },
13948
+ center: { x: bounds44.centerX, y: bounds44.centerY }
13809
13949
  });
13810
13950
 
13811
13951
  // symbols/potentiometer2_vert.ts
13812
13952
  var rotated19 = rotateSymbol(potentiometer2_horz_default);
13813
- var texts52 = rotated19.primitives.filter((p) => p.type === "text");
13814
- var val30 = texts52.find((t) => t.text === "{VAL}");
13953
+ var texts56 = rotated19.primitives.filter((p) => p.type === "text");
13954
+ var val30 = texts56.find((t) => t.text === "{VAL}");
13815
13955
  val30.anchor = "middle_right";
13816
- var ref34 = texts52.find((t) => t.text === "{REF}");
13956
+ var ref34 = texts56.find((t) => t.text === "{REF}");
13817
13957
  ref34.anchor = "middle_left";
13818
13958
  var potentiometer2_vert_default = rotated19;
13819
13959
 
@@ -14011,11 +14151,11 @@ var power_factor_meter_default = {
14011
14151
  };
14012
14152
 
14013
14153
  // symbols/power_factor_meter_horz.ts
14014
- var { paths: paths41, texts: texts53, bounds: bounds41, refblocks: refblocks41, circles: circles37 } = power_factor_meter_default;
14154
+ var { paths: paths45, texts: texts57, bounds: bounds45, refblocks: refblocks45, circles: circles40 } = power_factor_meter_default;
14015
14155
  var power_factor_meter_horz_default = defineSymbol({
14016
14156
  primitives: [
14017
- ...Object.values(paths41),
14018
- ...Object.values(circles37),
14157
+ ...Object.values(paths45),
14158
+ ...Object.values(circles40),
14019
14159
  // { ...texts.top1, anchor: "middle_left" },
14020
14160
  {
14021
14161
  type: "text",
@@ -14042,21 +14182,21 @@ var power_factor_meter_horz_default = defineSymbol({
14042
14182
  }
14043
14183
  ],
14044
14184
  ports: [
14045
- { ...refblocks41.left1, labels: ["1"] },
14185
+ { ...refblocks45.left1, labels: ["1"] },
14046
14186
  // TODO add more "standard" labels
14047
- { ...refblocks41.right1, labels: ["2"] }
14187
+ { ...refblocks45.right1, labels: ["2"] }
14048
14188
  // TODO add more "standard" labels
14049
14189
  ],
14050
- size: { width: bounds41.width, height: bounds41.height },
14051
- center: { x: bounds41.centerX, y: bounds41.centerY }
14190
+ size: { width: bounds45.width, height: bounds45.height },
14191
+ center: { x: bounds45.centerX, y: bounds45.centerY }
14052
14192
  });
14053
14193
 
14054
14194
  // symbols/power_factor_meter_vert.ts
14055
14195
  var rotatedSymbol18 = rotateSymbol(power_factor_meter_horz_default);
14056
- var texts54 = rotatedSymbol18.primitives.filter((p) => p.type === "text");
14057
- var ref35 = texts54.find((t) => t.text === "{REF}");
14058
- var val31 = texts54.find((t) => t.text === "{VAL}");
14059
- var text_cos = texts54.find((t) => t.text === "COS \u03C6");
14196
+ var texts58 = rotatedSymbol18.primitives.filter((p) => p.type === "text");
14197
+ var ref35 = texts58.find((t) => t.text === "{REF}");
14198
+ var val31 = texts58.find((t) => t.text === "{VAL}");
14199
+ var text_cos = texts58.find((t) => t.text === "COS \u03C6");
14060
14200
  ref35.x = 0.35;
14061
14201
  ref35.y = 0;
14062
14202
  ref35.anchor = "middle_left";
@@ -14187,22 +14327,22 @@ var push_button_normally_closed_momentary_default = {
14187
14327
  };
14188
14328
 
14189
14329
  // symbols/push_button_normally_closed_momentary_horz.ts
14190
- var { paths: paths42, texts: texts55, bounds: bounds42, refblocks: refblocks42, circles: circles38 } = push_button_normally_closed_momentary_default;
14330
+ var { paths: paths46, texts: texts59, bounds: bounds46, refblocks: refblocks46, circles: circles41 } = push_button_normally_closed_momentary_default;
14191
14331
  var push_button_normally_closed_momentary_horz_default = defineSymbol({
14192
14332
  primitives: [
14193
- ...Object.values(paths42),
14194
- ...Object.values(circles38),
14195
- { ...texts55.top1, anchor: "middle_left" },
14196
- { ...texts55.bottom1, anchor: "middle_left" }
14333
+ ...Object.values(paths46),
14334
+ ...Object.values(circles41),
14335
+ { ...texts59.top1, anchor: "middle_left" },
14336
+ { ...texts59.bottom1, anchor: "middle_left" }
14197
14337
  ],
14198
14338
  ports: [
14199
- { ...refblocks42.left1, labels: ["1"] },
14339
+ { ...refblocks46.left1, labels: ["1"] },
14200
14340
  // TODO add more "standard" labels
14201
- { ...refblocks42.right1, labels: ["2"] }
14341
+ { ...refblocks46.right1, labels: ["2"] }
14202
14342
  // TODO add more "standard" labels
14203
14343
  ],
14204
- size: { width: bounds42.width, height: bounds42.height },
14205
- center: { x: bounds42.centerX, y: bounds42.centerY }
14344
+ size: { width: bounds46.width, height: bounds46.height },
14345
+ center: { x: bounds46.centerX, y: bounds46.centerY }
14206
14346
  });
14207
14347
 
14208
14348
  // symbols/push_button_normally_closed_momentary_vert.ts
@@ -14357,22 +14497,22 @@ var push_button_normally_open_momentary_default = {
14357
14497
  };
14358
14498
 
14359
14499
  // symbols/push_button_normally_open_momentary_horz.ts
14360
- var { paths: paths43, texts: texts56, bounds: bounds43, refblocks: refblocks43, circles: circles39 } = push_button_normally_open_momentary_default;
14500
+ var { paths: paths47, texts: texts60, bounds: bounds47, refblocks: refblocks47, circles: circles42 } = push_button_normally_open_momentary_default;
14361
14501
  var push_button_normally_open_momentary_horz_default = defineSymbol({
14362
14502
  primitives: [
14363
- ...Object.values(paths43),
14364
- ...Object.values(circles39),
14365
- { ...texts56.top1, anchor: "middle_left" },
14366
- { ...texts56.bottom1, anchor: "middle_left" }
14503
+ ...Object.values(paths47),
14504
+ ...Object.values(circles42),
14505
+ { ...texts60.top1, anchor: "middle_left" },
14506
+ { ...texts60.bottom1, anchor: "middle_left" }
14367
14507
  ],
14368
14508
  ports: [
14369
- { ...refblocks43.left1, labels: ["1"] },
14509
+ { ...refblocks47.left1, labels: ["1"] },
14370
14510
  // TODO add more "standard" labels
14371
- { ...refblocks43.right1, labels: ["2"] }
14511
+ { ...refblocks47.right1, labels: ["2"] }
14372
14512
  // TODO add more "standard" labels
14373
14513
  ],
14374
- size: { width: bounds43.width, height: bounds43.height },
14375
- center: { x: bounds43.centerX, y: bounds43.centerY }
14514
+ size: { width: bounds47.width, height: bounds47.height },
14515
+ center: { x: bounds47.centerX, y: bounds47.centerY }
14376
14516
  });
14377
14517
 
14378
14518
  // symbols/push_button_normally_open_momentary_vert.ts
@@ -14788,26 +14928,26 @@ var rectifier_diode_default = {
14788
14928
  };
14789
14929
 
14790
14930
  // symbols/rectifier_diode_horz.ts
14791
- var { paths: paths44, texts: texts57, bounds: bounds44, refblocks: refblocks44, circles: circles40 } = rectifier_diode_default;
14931
+ var { paths: paths48, texts: texts61, bounds: bounds48, refblocks: refblocks48, circles: circles43 } = rectifier_diode_default;
14792
14932
  var rectifier_diode_horz_default = defineSymbol({
14793
14933
  primitives: [
14794
- ...Object.values(paths44),
14795
- ...Object.values(circles40),
14796
- { ...texts57.top1, anchor: "middle_right" },
14797
- { ...texts57.bottom1, anchor: "middle_right" }
14934
+ ...Object.values(paths48),
14935
+ ...Object.values(circles43),
14936
+ { ...texts61.top1, anchor: "middle_right" },
14937
+ { ...texts61.bottom1, anchor: "middle_right" }
14798
14938
  ],
14799
14939
  ports: [
14800
- { ...refblocks44.top1, labels: ["1"] },
14940
+ { ...refblocks48.top1, labels: ["1"] },
14801
14941
  // TODO add more "standard" labels
14802
- { ...refblocks44.bottom1, labels: ["2"] },
14942
+ { ...refblocks48.bottom1, labels: ["2"] },
14803
14943
  // TODO add more "standard" labels
14804
- { ...refblocks44.left1, labels: ["3"] },
14944
+ { ...refblocks48.left1, labels: ["3"] },
14805
14945
  // TODO add more "standard" labels
14806
- { ...refblocks44.right1, labels: ["4"] }
14946
+ { ...refblocks48.right1, labels: ["4"] }
14807
14947
  // TODO add more "standard" labels
14808
14948
  ],
14809
- size: { width: bounds44.width, height: bounds44.height },
14810
- center: { x: bounds44.centerX, y: bounds44.centerY }
14949
+ size: { width: bounds48.width, height: bounds48.height },
14950
+ center: { x: bounds48.centerX, y: bounds48.centerY }
14811
14951
  });
14812
14952
 
14813
14953
  // symbols/rectifier_diode_vert.ts
@@ -15029,11 +15169,11 @@ var resistor_default = {
15029
15169
  };
15030
15170
 
15031
15171
  // symbols/resistor_down.ts
15032
- var { paths: paths45, texts: texts58, bounds: bounds45, refblocks: refblocks45, circles: circles41 } = resistor_default;
15172
+ var { paths: paths49, texts: texts62, bounds: bounds49, refblocks: refblocks49, circles: circles44 } = resistor_default;
15033
15173
  var resistor_down_default = modifySymbol({
15034
15174
  primitives: [
15035
- ...Object.values(paths45),
15036
- ...Object.values(circles41),
15175
+ ...Object.values(paths49),
15176
+ ...Object.values(circles44),
15037
15177
  {
15038
15178
  type: "text",
15039
15179
  text: "{REF}",
@@ -15048,21 +15188,21 @@ var resistor_down_default = modifySymbol({
15048
15188
  }
15049
15189
  ],
15050
15190
  ports: [
15051
- { ...refblocks45.left1, labels: ["1"] },
15191
+ { ...refblocks49.left1, labels: ["1"] },
15052
15192
  // TODO add more "standard" labels
15053
- { ...refblocks45.right1, labels: ["2"] }
15193
+ { ...refblocks49.right1, labels: ["2"] }
15054
15194
  // TODO add more "standard" labels
15055
15195
  ],
15056
- size: { width: bounds45.width, height: bounds45.height },
15057
- center: { x: bounds45.centerX, y: bounds45.centerY }
15196
+ size: { width: bounds49.width, height: bounds49.height },
15197
+ center: { x: bounds49.centerX, y: bounds49.centerY }
15058
15198
  }).rotateRightFacingSymbol("down").labelPort("left", ["1"]).labelPort("right", ["2"]).changeTextAnchor("{REF}", "middle_left").changeTextAnchor("{VAL}", "middle_left").build();
15059
15199
 
15060
15200
  // symbols/resistor_left.ts
15061
- var { paths: paths46, texts: texts59, bounds: bounds46, refblocks: refblocks46, circles: circles42 } = resistor_default;
15201
+ var { paths: paths50, texts: texts63, bounds: bounds50, refblocks: refblocks50, circles: circles45 } = resistor_default;
15062
15202
  var resistor_left_default = modifySymbol({
15063
15203
  primitives: [
15064
- ...Object.values(paths46),
15065
- ...Object.values(circles42),
15204
+ ...Object.values(paths50),
15205
+ ...Object.values(circles45),
15066
15206
  {
15067
15207
  type: "text",
15068
15208
  text: "{REF}",
@@ -15077,21 +15217,21 @@ var resistor_left_default = modifySymbol({
15077
15217
  }
15078
15218
  ],
15079
15219
  ports: [
15080
- { ...refblocks46.left1, labels: ["1"] },
15220
+ { ...refblocks50.left1, labels: ["1"] },
15081
15221
  // TODO add more "standard" labels
15082
- { ...refblocks46.right1, labels: ["2"] }
15222
+ { ...refblocks50.right1, labels: ["2"] }
15083
15223
  // TODO add more "standard" labels
15084
15224
  ],
15085
- size: { width: bounds46.width, height: bounds46.height },
15086
- center: { x: bounds46.centerX, y: bounds46.centerY }
15225
+ size: { width: bounds50.width, height: bounds50.height },
15226
+ center: { x: bounds50.centerX, y: bounds50.centerY }
15087
15227
  }).rotateRightFacingSymbol("left").labelPort("left", ["1"]).labelPort("right", ["2"]).changeTextAnchor("{REF}", "middle_bottom").changeTextAnchor("{VAL}", "middle_top").build();
15088
15228
 
15089
15229
  // symbols/resistor_right.ts
15090
- var { paths: paths47, texts: texts60, bounds: bounds47, refblocks: refblocks47, circles: circles43 } = resistor_default;
15230
+ var { paths: paths51, texts: texts64, bounds: bounds51, refblocks: refblocks51, circles: circles46 } = resistor_default;
15091
15231
  var resistor_right_default = modifySymbol({
15092
15232
  primitives: [
15093
- ...Object.values(paths47),
15094
- ...Object.values(circles43),
15233
+ ...Object.values(paths51),
15234
+ ...Object.values(circles46),
15095
15235
  {
15096
15236
  type: "text",
15097
15237
  text: "{REF}",
@@ -15106,21 +15246,21 @@ var resistor_right_default = modifySymbol({
15106
15246
  }
15107
15247
  ],
15108
15248
  ports: [
15109
- { ...refblocks47.left1, labels: ["1"] },
15249
+ { ...refblocks51.left1, labels: ["1"] },
15110
15250
  // TODO add more "standard" labels
15111
- { ...refblocks47.right1, labels: ["2"] }
15251
+ { ...refblocks51.right1, labels: ["2"] }
15112
15252
  // TODO add more "standard" labels
15113
15253
  ],
15114
- size: { width: bounds47.width, height: bounds47.height },
15115
- center: { x: bounds47.centerX, y: bounds47.centerY }
15254
+ size: { width: bounds51.width, height: bounds51.height },
15255
+ center: { x: bounds51.centerX, y: bounds51.centerY }
15116
15256
  }).rotateRightFacingSymbol("right").labelPort("left", ["1"]).labelPort("right", ["2"]).changeTextAnchor("{REF}", "middle_bottom").changeTextAnchor("{VAL}", "middle_top").build();
15117
15257
 
15118
15258
  // symbols/resistor_up.ts
15119
- var { paths: paths48, texts: texts61, bounds: bounds48, refblocks: refblocks48, circles: circles44 } = resistor_default;
15259
+ var { paths: paths52, texts: texts65, bounds: bounds52, refblocks: refblocks52, circles: circles47 } = resistor_default;
15120
15260
  var resistor_up_default = modifySymbol({
15121
15261
  primitives: [
15122
- ...Object.values(paths48),
15123
- ...Object.values(circles44),
15262
+ ...Object.values(paths52),
15263
+ ...Object.values(circles47),
15124
15264
  {
15125
15265
  type: "text",
15126
15266
  text: "{REF}",
@@ -15135,13 +15275,13 @@ var resistor_up_default = modifySymbol({
15135
15275
  }
15136
15276
  ],
15137
15277
  ports: [
15138
- { ...refblocks48.left1, labels: ["1"] },
15278
+ { ...refblocks52.left1, labels: ["1"] },
15139
15279
  // TODO add more "standard" labels
15140
- { ...refblocks48.right1, labels: ["2"] }
15280
+ { ...refblocks52.right1, labels: ["2"] }
15141
15281
  // TODO add more "standard" labels
15142
15282
  ],
15143
- size: { width: bounds48.width, height: bounds48.height },
15144
- center: { x: bounds48.centerX, y: bounds48.centerY }
15283
+ size: { width: bounds52.width, height: bounds52.height },
15284
+ center: { x: bounds52.centerX, y: bounds52.centerY }
15145
15285
  }).rotateRightFacingSymbol("up").labelPort("left", ["1"]).labelPort("right", ["2"]).changeTextAnchor("{REF}", "middle_left").changeTextAnchor("{VAL}", "middle_left").build();
15146
15286
 
15147
15287
  // assets/generated/resonator.json
@@ -15490,11 +15630,11 @@ var resonator_default = {
15490
15630
  };
15491
15631
 
15492
15632
  // symbols/resonator_horz.ts
15493
- var { paths: paths49, texts: texts62, bounds: bounds49, refblocks: refblocks49, circles: circles45 } = resonator_default;
15633
+ var { paths: paths53, texts: texts66, bounds: bounds53, refblocks: refblocks53, circles: circles48 } = resonator_default;
15494
15634
  var resonator_horz_default = defineSymbol({
15495
15635
  primitives: [
15496
- ...Object.values(paths49),
15497
- ...Object.values(circles45),
15636
+ ...Object.values(paths53),
15637
+ ...Object.values(circles48),
15498
15638
  // { ...texts.top1, anchor: "middle_left" },
15499
15639
  // { ...texts.bottom1, anchor: "middle_left" },
15500
15640
  {
@@ -15513,15 +15653,15 @@ var resonator_horz_default = defineSymbol({
15513
15653
  }
15514
15654
  ],
15515
15655
  ports: [
15516
- { ...refblocks49.left1, labels: ["1"] },
15656
+ { ...refblocks53.left1, labels: ["1"] },
15517
15657
  // TODO add more "standard" labels
15518
- { ...refblocks49.right1, labels: ["2"] },
15658
+ { ...refblocks53.right1, labels: ["2"] },
15519
15659
  // TODO add more "standard" labels
15520
- { ...refblocks49.right2, labels: ["3"] }
15660
+ { ...refblocks53.right2, labels: ["3"] }
15521
15661
  // TODO add more "standard" labels
15522
15662
  ],
15523
- size: { width: bounds49.width, height: bounds49.height },
15524
- center: { x: bounds49.centerX, y: bounds49.centerY }
15663
+ size: { width: bounds53.width, height: bounds53.height },
15664
+ center: { x: bounds53.centerX, y: bounds53.centerY }
15525
15665
  });
15526
15666
 
15527
15667
  // symbols/resonator_vert.ts
@@ -15877,15 +16017,15 @@ var silicon_controlled_rectifier_default = {
15877
16017
  };
15878
16018
 
15879
16019
  // symbols/silicon_controlled_rectifier_horz.ts
15880
- var { paths: paths50, texts: texts63, bounds: bounds50, refblocks: refblocks50, circles: circles46 } = silicon_controlled_rectifier_default;
16020
+ var { paths: paths54, texts: texts67, bounds: bounds54, refblocks: refblocks54, circles: circles49 } = silicon_controlled_rectifier_default;
15881
16021
  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();
15882
16022
 
15883
16023
  // symbols/silicon_controlled_rectifier_vert.ts
15884
16024
  var rotatedSymbol19 = rotateSymbol(silicon_controlled_rectifier_horz_default);
15885
- var texts64 = rotatedSymbol19.primitives.filter(
16025
+ var texts68 = rotatedSymbol19.primitives.filter(
15886
16026
  (primitive) => primitive.type === "text"
15887
16027
  );
15888
- var ref38 = texts64.find((text) => text.text === "{REF}");
16028
+ var ref38 = texts68.find((text) => text.text === "{REF}");
15889
16029
  ref38.y = 0;
15890
16030
  ref38.anchor = "middle_left";
15891
16031
  var silicon_controlled_rectifier_vert_default = rotatedSymbol19;
@@ -19445,7 +19585,7 @@ var step_recovery_diode_default = {
19445
19585
  };
19446
19586
 
19447
19587
  // symbols/step_recovery_diode_horz.ts
19448
- var { paths: paths51, texts: texts65, bounds: bounds51, refblocks: refblocks51, circles: circles47 } = step_recovery_diode_default;
19588
+ var { paths: paths55, texts: texts69, bounds: bounds55, refblocks: refblocks55, circles: circles50 } = step_recovery_diode_default;
19449
19589
  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();
19450
19590
 
19451
19591
  // symbols/step_recovery_diode_vert.ts
@@ -19538,11 +19678,11 @@ var tachometer_default = {
19538
19678
  };
19539
19679
 
19540
19680
  // symbols/tachometer_horz.ts
19541
- var { paths: paths52, texts: texts66, bounds: bounds52, refblocks: refblocks52, circles: circles48 } = tachometer_default;
19681
+ var { paths: paths56, texts: texts70, bounds: bounds56, refblocks: refblocks56, circles: circles51 } = tachometer_default;
19542
19682
  var tachometer_horz_default = defineSymbol({
19543
19683
  primitives: [
19544
- ...Object.values(paths52),
19545
- ...Object.values(circles48),
19684
+ ...Object.values(paths56),
19685
+ ...Object.values(circles51),
19546
19686
  {
19547
19687
  type: "text",
19548
19688
  text: "{REF}",
@@ -19557,16 +19697,16 @@ var tachometer_horz_default = defineSymbol({
19557
19697
  y: 0.35,
19558
19698
  anchor: "middle_bottom"
19559
19699
  },
19560
- { ...texts66.left1, y: 0.01, anchor: "center", fontSize: 0.2 }
19700
+ { ...texts70.left1, y: 0.01, anchor: "center", fontSize: 0.2 }
19561
19701
  ],
19562
19702
  ports: [
19563
- { ...refblocks52.left1, labels: ["1"] },
19703
+ { ...refblocks56.left1, labels: ["1"] },
19564
19704
  // TODO add more "standard" labels
19565
- { ...refblocks52.right1, labels: ["2"] }
19705
+ { ...refblocks56.right1, labels: ["2"] }
19566
19706
  // TODO add more "standard" labels
19567
19707
  ],
19568
- size: { width: bounds52.width, height: bounds52.height },
19569
- center: { x: bounds52.centerX, y: bounds52.centerY }
19708
+ size: { width: bounds56.width, height: bounds56.height },
19709
+ center: { x: bounds56.centerX, y: bounds56.centerY }
19570
19710
  });
19571
19711
 
19572
19712
  // symbols/tachometer_vert.ts
@@ -19937,16 +20077,16 @@ var triac_default = {
19937
20077
  };
19938
20078
 
19939
20079
  // symbols/triac_horz.ts
19940
- var { paths: paths53, texts: texts67, bounds: bounds53, refblocks: refblocks53, circles: circles49 } = triac_default;
20080
+ var { paths: paths57, texts: texts71, bounds: bounds57, refblocks: refblocks57, circles: circles52 } = triac_default;
19941
20081
  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();
19942
20082
 
19943
20083
  // symbols/triac_vert.ts
19944
20084
  var rotatedSymbol21 = rotateSymbol(triac_horz_default);
19945
- var texts68 = rotatedSymbol21.primitives.filter(
20085
+ var texts72 = rotatedSymbol21.primitives.filter(
19946
20086
  (primitive) => primitive.type === "text"
19947
20087
  );
19948
- var ref54 = texts68.find((text) => text.text === "{REF}");
19949
- var val49 = texts68.find((text) => text.text === "{VAL}");
20088
+ var ref54 = texts72.find((text) => text.text === "{REF}");
20089
+ var val49 = texts72.find((text) => text.text === "{VAL}");
19950
20090
  ref54.y = 0;
19951
20091
  val49.y = 0;
19952
20092
  var triac_vert_default = rotatedSymbol21;
@@ -20113,22 +20253,22 @@ var tunnel_diode_default = {
20113
20253
  };
20114
20254
 
20115
20255
  // symbols/tunnel_diode_horz.ts
20116
- var { paths: paths54, texts: texts69, bounds: bounds54, refblocks: refblocks54, circles: circles50 } = tunnel_diode_default;
20256
+ var { paths: paths58, texts: texts73, bounds: bounds58, refblocks: refblocks58, circles: circles53 } = tunnel_diode_default;
20117
20257
  var tunnel_diode_horz_default = defineSymbol({
20118
20258
  primitives: [
20119
- ...Object.values(paths54),
20120
- ...Object.values(circles50),
20121
- { ...texts69.top1, anchor: "middle_bottom" },
20122
- { ...texts69.bottom1, anchor: "middle_top" }
20259
+ ...Object.values(paths58),
20260
+ ...Object.values(circles53),
20261
+ { ...texts73.top1, anchor: "middle_bottom" },
20262
+ { ...texts73.bottom1, anchor: "middle_top" }
20123
20263
  ],
20124
20264
  ports: [
20125
- { ...refblocks54.left1, labels: ["1"] },
20265
+ { ...refblocks58.left1, labels: ["1"] },
20126
20266
  // TODO add more "standard" labels
20127
- { ...refblocks54.right1, labels: ["2"] }
20267
+ { ...refblocks58.right1, labels: ["2"] }
20128
20268
  // TODO add more "standard" labels
20129
20269
  ],
20130
- size: { width: bounds54.width, height: bounds54.height },
20131
- center: { x: bounds54.centerX, y: bounds54.centerY }
20270
+ size: { width: bounds58.width, height: bounds58.height },
20271
+ center: { x: bounds58.centerX, y: bounds58.centerY }
20132
20272
  });
20133
20273
 
20134
20274
  // symbols/tunnel_diode_vert.ts
@@ -20311,34 +20451,34 @@ var unijunction_transistor_default = {
20311
20451
  };
20312
20452
 
20313
20453
  // symbols/unijunction_transistor_horz.ts
20314
- var { paths: paths55, texts: texts70, bounds: bounds55, refblocks: refblocks55, circles: circles51 } = unijunction_transistor_default;
20454
+ var { paths: paths59, texts: texts74, bounds: bounds59, refblocks: refblocks59, circles: circles54 } = unijunction_transistor_default;
20315
20455
  var unijunction_transistor_horz_default = defineSymbol({
20316
20456
  primitives: [
20317
- ...Object.values(paths55),
20318
- ...Object.values(circles51),
20319
- { ...texts70.top1, anchor: "middle_left" },
20320
- { ...texts70.bottom1, anchor: "middle_right" }
20457
+ ...Object.values(paths59),
20458
+ ...Object.values(circles54),
20459
+ { ...texts74.top1, anchor: "middle_left" },
20460
+ { ...texts74.bottom1, anchor: "middle_right" }
20321
20461
  ],
20322
20462
  ports: [
20323
- { ...refblocks55.top1, labels: ["1"] },
20463
+ { ...refblocks59.top1, labels: ["1"] },
20324
20464
  // TODO add more "standard" labels
20325
- { ...refblocks55.bottom1, labels: ["2"] },
20465
+ { ...refblocks59.bottom1, labels: ["2"] },
20326
20466
  // TODO add more "standard" labels
20327
- { ...refblocks55.left1, labels: ["3"] }
20467
+ { ...refblocks59.left1, labels: ["3"] }
20328
20468
  // TODO add more "standard" labels
20329
20469
  ],
20330
- size: { width: bounds55.width, height: bounds55.height },
20331
- center: { x: bounds55.centerX, y: bounds55.centerY }
20470
+ size: { width: bounds59.width, height: bounds59.height },
20471
+ center: { x: bounds59.centerX, y: bounds59.centerY }
20332
20472
  });
20333
20473
 
20334
20474
  // symbols/unijunction_transistor_vert.ts
20335
20475
  var rotatedSymbol22 = rotateSymbol(unijunction_transistor_horz_default);
20336
- var texts71 = rotatedSymbol22.primitives.filter(
20476
+ var texts75 = rotatedSymbol22.primitives.filter(
20337
20477
  (primitive) => primitive.type === "text"
20338
20478
  );
20339
- var ref56 = texts71.find((text) => text.text === "{REF}");
20479
+ var ref56 = texts75.find((text) => text.text === "{REF}");
20340
20480
  ref56.y = 0.1;
20341
- var val51 = texts71.find((text) => text.text === "{VAL}");
20481
+ var val51 = texts75.find((text) => text.text === "{VAL}");
20342
20482
  val51.y = 0.1;
20343
20483
  val51.x = -0.4;
20344
20484
  var unijunction_transistor_vert_default = rotatedSymbol22;
@@ -20430,33 +20570,33 @@ var var_meter_default = {
20430
20570
  };
20431
20571
 
20432
20572
  // symbols/var_meter_horz.ts
20433
- var { paths: paths56, texts: texts72, bounds: bounds56, refblocks: refblocks56, circles: circles52 } = var_meter_default;
20573
+ var { paths: paths60, texts: texts76, bounds: bounds60, refblocks: refblocks60, circles: circles55 } = var_meter_default;
20434
20574
  var var_meter_horz_default = defineSymbol({
20435
20575
  primitives: [
20436
- ...Object.values(paths56),
20437
- ...Object.values(circles52),
20576
+ ...Object.values(paths60),
20577
+ ...Object.values(circles55),
20438
20578
  {
20439
- ...texts72.top1,
20579
+ ...texts76.top1,
20440
20580
  x: 0,
20441
20581
  y: -0.3594553499999995,
20442
20582
  anchor: "middle_top"
20443
20583
  },
20444
20584
  {
20445
- ...texts72.bottom1,
20585
+ ...texts76.bottom1,
20446
20586
  x: 0,
20447
20587
  y: 0.35,
20448
20588
  anchor: "middle_bottom"
20449
20589
  },
20450
- { ...texts72.left1, x: -0.02, y: 0.01, fontSize: 0.2, anchor: "center" }
20590
+ { ...texts76.left1, x: -0.02, y: 0.01, fontSize: 0.2, anchor: "center" }
20451
20591
  ],
20452
20592
  ports: [
20453
- { ...refblocks56.left1, labels: ["1"] },
20593
+ { ...refblocks60.left1, labels: ["1"] },
20454
20594
  // TODO add more "standard" labels
20455
- { ...refblocks56.right1, labels: ["2"] }
20595
+ { ...refblocks60.right1, labels: ["2"] }
20456
20596
  // TODO add more "standard" labels
20457
20597
  ],
20458
- size: { width: bounds56.width, height: bounds56.height },
20459
- center: { x: bounds56.centerX, y: bounds56.centerY }
20598
+ size: { width: bounds60.width, height: bounds60.height },
20599
+ center: { x: bounds60.centerX, y: bounds60.centerY }
20460
20600
  });
20461
20601
 
20462
20602
  // symbols/var_meter_vert.ts
@@ -20609,22 +20749,22 @@ var varactor_diode_default = {
20609
20749
  };
20610
20750
 
20611
20751
  // symbols/varactor_diode_horz.ts
20612
- var { paths: paths57, texts: texts73, bounds: bounds57, refblocks: refblocks57, circles: circles53 } = varactor_diode_default;
20752
+ var { paths: paths61, texts: texts77, bounds: bounds61, refblocks: refblocks61, circles: circles56 } = varactor_diode_default;
20613
20753
  var varactor_diode_horz_default = defineSymbol({
20614
20754
  primitives: [
20615
- ...Object.values(paths57),
20616
- ...Object.values(circles53),
20617
- { ...texts73.top1, anchor: "middle_bottom" },
20618
- { ...texts73.bottom1, anchor: "middle_top" }
20755
+ ...Object.values(paths61),
20756
+ ...Object.values(circles56),
20757
+ { ...texts77.top1, anchor: "middle_bottom" },
20758
+ { ...texts77.bottom1, anchor: "middle_top" }
20619
20759
  ],
20620
20760
  ports: [
20621
- { ...refblocks57.left1, labels: ["1"] },
20761
+ { ...refblocks61.left1, labels: ["1"] },
20622
20762
  // TODO add more "standard" labels
20623
- { ...refblocks57.right1, labels: ["2"] }
20763
+ { ...refblocks61.right1, labels: ["2"] }
20624
20764
  // TODO add more "standard" labels
20625
20765
  ],
20626
- size: { width: bounds57.width, height: bounds57.height },
20627
- center: { x: bounds57.centerX, y: bounds57.centerY }
20766
+ size: { width: bounds61.width, height: bounds61.height },
20767
+ center: { x: bounds61.centerX, y: bounds61.centerY }
20628
20768
  });
20629
20769
 
20630
20770
  // symbols/varactor_diode_vert.ts
@@ -20772,26 +20912,26 @@ var varistor_default = {
20772
20912
  };
20773
20913
 
20774
20914
  // symbols/varistor_horz.ts
20775
- var { paths: paths58, texts: texts74, bounds: bounds58, refblocks: refblocks58 } = varistor_default;
20915
+ var { paths: paths62, texts: texts78, bounds: bounds62, refblocks: refblocks62 } = varistor_default;
20776
20916
  var varistor_horz_default = defineSymbol({
20777
20917
  primitives: [
20778
- ...Object.values(paths58),
20779
- { ...texts74.top1, anchor: "middle_left" },
20780
- { ...texts74.bottom1, anchor: "middle_right" }
20918
+ ...Object.values(paths62),
20919
+ { ...texts78.top1, anchor: "middle_left" },
20920
+ { ...texts78.bottom1, anchor: "middle_right" }
20781
20921
  ],
20782
20922
  ports: [
20783
20923
  {
20784
- ...refblocks58.left1,
20924
+ ...refblocks62.left1,
20785
20925
  labels: ["1", "-"]
20786
20926
  },
20787
20927
  {
20788
- ...refblocks58.right1,
20928
+ ...refblocks62.right1,
20789
20929
  labels: ["2", "+"]
20790
20930
  }
20791
20931
  ],
20792
- size: { width: bounds58.width, height: bounds58.height },
20932
+ size: { width: bounds62.width, height: bounds62.height },
20793
20933
  //{ width: 1, height: 0.24 },
20794
- center: { x: bounds58.centerX, y: bounds58.centerY }
20934
+ center: { x: bounds62.centerX, y: bounds62.centerY }
20795
20935
  });
20796
20936
 
20797
20937
  // symbols/varistor_vert.ts
@@ -20884,11 +21024,11 @@ var varmeter_default = {
20884
21024
  };
20885
21025
 
20886
21026
  // symbols/varmeter_horz.ts
20887
- var { paths: paths59, texts: texts75, bounds: bounds59, refblocks: refblocks59, circles: circles54 } = varmeter_default;
21027
+ var { paths: paths63, texts: texts79, bounds: bounds63, refblocks: refblocks63, circles: circles57 } = varmeter_default;
20888
21028
  var varmeter_horz_default = defineSymbol({
20889
21029
  primitives: [
20890
- ...Object.values(paths59),
20891
- ...Object.values(circles54),
21030
+ ...Object.values(paths63),
21031
+ ...Object.values(circles57),
20892
21032
  {
20893
21033
  type: "text",
20894
21034
  text: "{REF}",
@@ -20903,16 +21043,16 @@ var varmeter_horz_default = defineSymbol({
20903
21043
  y: 0.35,
20904
21044
  anchor: "middle_bottom"
20905
21045
  },
20906
- { ...texts75.left1, anchor: "center", y: 0.02, fontSize: 0.2 }
21046
+ { ...texts79.left1, anchor: "center", y: 0.02, fontSize: 0.2 }
20907
21047
  ],
20908
21048
  ports: [
20909
- { ...refblocks59.left1, labels: ["1"] },
21049
+ { ...refblocks63.left1, labels: ["1"] },
20910
21050
  // TODO add more "standard" labels
20911
- { ...refblocks59.right1, labels: ["2"] }
21051
+ { ...refblocks63.right1, labels: ["2"] }
20912
21052
  // TODO add more "standard" labels
20913
21053
  ],
20914
- size: { width: bounds59.width, height: bounds59.height },
20915
- center: { x: bounds59.centerX, y: bounds59.centerY }
21054
+ size: { width: bounds63.width, height: bounds63.height },
21055
+ center: { x: bounds63.centerX, y: bounds63.centerY }
20916
21056
  });
20917
21057
 
20918
21058
  // symbols/varmeter_vert.ts
@@ -20929,6 +21069,166 @@ var varmeter_vert_default = {
20929
21069
  primitives: [...rotatedSymbol23.primitives, letter5]
20930
21070
  };
20931
21071
 
21072
+ // assets/generated/VCC.json
21073
+ var VCC_default = {
21074
+ paths: {
21075
+ "path28-2": {
21076
+ type: "path",
21077
+ points: [
21078
+ {
21079
+ x: 0.2804083705,
21080
+ y: 0.0013661499999990667
21081
+ },
21082
+ {
21083
+ x: 0.012067670500000016,
21084
+ y: 0.15638615000000122
21085
+ }
21086
+ ],
21087
+ color: "primary",
21088
+ fill: false
21089
+ },
21090
+ "path28-2-6": {
21091
+ type: "path",
21092
+ points: [
21093
+ {
21094
+ x: 0.2805724705000001,
21095
+ y: -0.001366150000000843
21096
+ },
21097
+ {
21098
+ x: 0.012231770500000572,
21099
+ y: -0.15638614999999945
21100
+ }
21101
+ ],
21102
+ color: "primary",
21103
+ fill: false
21104
+ },
21105
+ "path29-3": {
21106
+ type: "path",
21107
+ points: [
21108
+ {
21109
+ x: 0.27894777049999986,
21110
+ y: -11550000001747662e-21
21111
+ },
21112
+ {
21113
+ x: -0.2891629295000002,
21114
+ y: -11550000001747662e-21
21115
+ }
21116
+ ],
21117
+ color: "primary",
21118
+ fill: false
21119
+ }
21120
+ },
21121
+ texts: {
21122
+ right1: {
21123
+ type: "text",
21124
+ text: "{REF}",
21125
+ x: 0.3322337704999998,
21126
+ y: 0.004280050000000202
21127
+ }
21128
+ },
21129
+ refblocks: {
21130
+ left1: {
21131
+ x: -0.30407532950000027,
21132
+ y: 4801499999995684e-19
21133
+ }
21134
+ },
21135
+ bounds: {
21136
+ minX: -0.33223377050000025,
21137
+ maxX: 0.3322337704999998,
21138
+ minY: -0.15638614999999945,
21139
+ maxY: 0.15638615000000122,
21140
+ width: 0.664467541,
21141
+ height: 0.31277230000000067,
21142
+ centerX: -2220446049250313e-31,
21143
+ centerY: 8881784197001252e-31
21144
+ },
21145
+ circles: {}
21146
+ };
21147
+
21148
+ // symbols/VCC_down.ts
21149
+ var { paths: paths64, texts: texts80, bounds: bounds64, refblocks: refblocks64, circles: circles58 } = VCC_default;
21150
+ var VCC_down_default = modifySymbol({
21151
+ primitives: [
21152
+ ...Object.values(paths64),
21153
+ ...Object.values(circles58),
21154
+ {
21155
+ type: "text",
21156
+ text: "{REF}",
21157
+ x: 0.33,
21158
+ y: 0
21159
+ }
21160
+ ],
21161
+ ports: [
21162
+ { ...refblocks64.left1, labels: ["1"] }
21163
+ // TODO add more "standard" labels
21164
+ ],
21165
+ size: { width: bounds64.width, height: bounds64.height },
21166
+ center: { x: bounds64.centerX, y: bounds64.centerY }
21167
+ }).rotateRightFacingSymbol("down").labelPort("left", ["1"]).changeTextAnchor("{REF}", "middle_top").build();
21168
+
21169
+ // symbols/VCC_left.ts
21170
+ var { paths: paths65, texts: texts81, bounds: bounds65, refblocks: refblocks65, circles: circles59 } = VCC_default;
21171
+ var VCC_left_default = modifySymbol({
21172
+ primitives: [
21173
+ ...Object.values(paths65),
21174
+ ...Object.values(circles59),
21175
+ {
21176
+ type: "text",
21177
+ text: "{REF}",
21178
+ x: 0.35,
21179
+ y: 0
21180
+ }
21181
+ ],
21182
+ ports: [
21183
+ { ...refblocks65.left1, labels: ["1"] }
21184
+ // TODO add more "standard" labels
21185
+ ],
21186
+ size: { width: bounds65.width, height: bounds65.height },
21187
+ center: { x: bounds65.centerX, y: bounds65.centerY }
21188
+ }).rotateRightFacingSymbol("left").labelPort("left", ["1"]).changeTextAnchor("{REF}", "middle_right").build();
21189
+
21190
+ // symbols/VCC_right.ts
21191
+ var { paths: paths66, texts: texts82, bounds: bounds66, refblocks: refblocks66, circles: circles60 } = VCC_default;
21192
+ var VCC_right_default = modifySymbol({
21193
+ primitives: [
21194
+ ...Object.values(paths66),
21195
+ ...Object.values(circles60),
21196
+ {
21197
+ type: "text",
21198
+ text: "{REF}",
21199
+ x: 0.35,
21200
+ y: 0
21201
+ }
21202
+ ],
21203
+ ports: [
21204
+ { ...refblocks66.left1, labels: ["1"] }
21205
+ // TODO add more "standard" labels
21206
+ ],
21207
+ size: { width: bounds66.width, height: bounds66.height },
21208
+ center: { x: bounds66.centerX, y: bounds66.centerY }
21209
+ }).rotateRightFacingSymbol("right").labelPort("left", ["1"]).changeTextAnchor("{REF}", "middle_left").build();
21210
+
21211
+ // symbols/VCC_up.ts
21212
+ var { paths: paths67, texts: texts83, bounds: bounds67, refblocks: refblocks67, circles: circles61 } = VCC_default;
21213
+ var VCC_up_default = modifySymbol({
21214
+ primitives: [
21215
+ ...Object.values(paths67),
21216
+ ...Object.values(circles61),
21217
+ {
21218
+ type: "text",
21219
+ text: "{REF}",
21220
+ x: 0.33,
21221
+ y: 0
21222
+ }
21223
+ ],
21224
+ ports: [
21225
+ { ...refblocks67.left1, labels: ["1"] }
21226
+ // TODO add more "standard" labels
21227
+ ],
21228
+ size: { width: bounds67.width, height: bounds67.height },
21229
+ center: { x: bounds67.centerX, y: bounds67.centerY }
21230
+ }).rotateRightFacingSymbol("up").labelPort("left", ["1"]).changeTextAnchor("{REF}", "middle_bottom").build();
21231
+
20932
21232
  // assets/generated/volt_meter.json
20933
21233
  var volt_meter_default = {
20934
21234
  paths: {
@@ -21029,7 +21329,7 @@ var volt_meter_default = {
21029
21329
  };
21030
21330
 
21031
21331
  // symbols/volt_meter_horz.ts
21032
- var { paths: paths60, texts: texts76, bounds: bounds60, circles: circles55, refblocks: refblocks60 } = volt_meter_default;
21332
+ var { paths: paths68, texts: texts84, bounds: bounds68, circles: circles62, refblocks: refblocks68 } = volt_meter_default;
21033
21333
  var volt_meter_horz_default = modifySymbol(volt_meter_default).changeTextAnchor("{VAL}", "middle_top").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_bottom").build();
21034
21334
 
21035
21335
  // symbols/volt_meter_vert.ts
@@ -21122,11 +21422,11 @@ var watt_hour_meter_default = {
21122
21422
  };
21123
21423
 
21124
21424
  // symbols/watt_hour_meter_horz.ts
21125
- var { paths: paths61, texts: texts77, bounds: bounds61, refblocks: refblocks61, circles: circles56 } = watt_hour_meter_default;
21425
+ var { paths: paths69, texts: texts85, bounds: bounds69, refblocks: refblocks69, circles: circles63 } = watt_hour_meter_default;
21126
21426
  var watt_hour_meter_horz_default = defineSymbol({
21127
21427
  primitives: [
21128
- ...Object.values(paths61),
21129
- ...Object.values(circles56),
21428
+ ...Object.values(paths69),
21429
+ ...Object.values(circles63),
21130
21430
  {
21131
21431
  type: "text",
21132
21432
  text: "{REF}",
@@ -21141,16 +21441,16 @@ var watt_hour_meter_horz_default = defineSymbol({
21141
21441
  y: 0.35,
21142
21442
  anchor: "middle_bottom"
21143
21443
  },
21144
- { ...texts77.left1, anchor: "center", y: 0.01, fontSize: 0.2 }
21444
+ { ...texts85.left1, anchor: "center", y: 0.01, fontSize: 0.2 }
21145
21445
  ],
21146
21446
  ports: [
21147
- { ...refblocks61.left1, labels: ["1"] },
21447
+ { ...refblocks69.left1, labels: ["1"] },
21148
21448
  // TODO add more "standard" labels
21149
- { ...refblocks61.right1, labels: ["2"] }
21449
+ { ...refblocks69.right1, labels: ["2"] }
21150
21450
  // TODO add more "standard" labels
21151
21451
  ],
21152
- size: { width: bounds61.width, height: bounds61.height },
21153
- center: { x: bounds61.centerX, y: bounds61.centerY }
21452
+ size: { width: bounds69.width, height: bounds69.height },
21453
+ center: { x: bounds69.centerX, y: bounds69.centerY }
21154
21454
  });
21155
21455
 
21156
21456
  // symbols/watt_hour_meter_vert.ts
@@ -21254,11 +21554,11 @@ var wattmeter_default = {
21254
21554
  };
21255
21555
 
21256
21556
  // symbols/wattmeter_horz.ts
21257
- var { paths: paths62, texts: texts78, bounds: bounds62, refblocks: refblocks62, circles: circles57 } = wattmeter_default;
21557
+ var { paths: paths70, texts: texts86, bounds: bounds70, refblocks: refblocks70, circles: circles64 } = wattmeter_default;
21258
21558
  var wattmeter_horz_default = defineSymbol({
21259
21559
  primitives: [
21260
- ...Object.values(paths62),
21261
- ...Object.values(circles57),
21560
+ ...Object.values(paths70),
21561
+ ...Object.values(circles64),
21262
21562
  {
21263
21563
  type: "text",
21264
21564
  text: "{REF}",
@@ -21273,16 +21573,16 @@ var wattmeter_horz_default = defineSymbol({
21273
21573
  y: 0.35,
21274
21574
  anchor: "middle_bottom"
21275
21575
  },
21276
- { ...texts78.left1, anchor: "center", y: 0.01, fontSize: 0.3 }
21576
+ { ...texts86.left1, anchor: "center", y: 0.01, fontSize: 0.3 }
21277
21577
  ],
21278
21578
  ports: [
21279
- { ...refblocks62.left1, labels: ["1"] },
21579
+ { ...refblocks70.left1, labels: ["1"] },
21280
21580
  // TODO add more "standard" labels
21281
- { ...refblocks62.right1, labels: ["2"] }
21581
+ { ...refblocks70.right1, labels: ["2"] }
21282
21582
  // TODO add more "standard" labels
21283
21583
  ],
21284
- size: { width: bounds62.width, height: bounds62.height },
21285
- center: { x: bounds62.centerX, y: bounds62.centerY }
21584
+ size: { width: bounds70.width, height: bounds70.height },
21585
+ center: { x: bounds70.centerX, y: bounds70.centerY }
21286
21586
  });
21287
21587
 
21288
21588
  // symbols/wattmeter_vert.ts
@@ -21446,22 +21746,22 @@ var zener_diode_default = {
21446
21746
  };
21447
21747
 
21448
21748
  // symbols/zener_diode_horz.ts
21449
- var { paths: paths63, texts: texts79, bounds: bounds63, refblocks: refblocks63, circles: circles58 } = zener_diode_default;
21749
+ var { paths: paths71, texts: texts87, bounds: bounds71, refblocks: refblocks71, circles: circles65 } = zener_diode_default;
21450
21750
  var zener_diode_horz_default = defineSymbol({
21451
21751
  primitives: [
21452
- ...Object.values(paths63),
21453
- ...Object.values(circles58),
21454
- { ...texts79.top1, anchor: "middle_bottom" },
21455
- { ...texts79.bottom1, anchor: "middle_top" }
21752
+ ...Object.values(paths71),
21753
+ ...Object.values(circles65),
21754
+ { ...texts87.top1, anchor: "middle_bottom" },
21755
+ { ...texts87.bottom1, anchor: "middle_top" }
21456
21756
  ],
21457
21757
  ports: [
21458
- { ...refblocks63.left1, labels: ["1"] },
21758
+ { ...refblocks71.left1, labels: ["1"] },
21459
21759
  // TODO add more "standard" labels
21460
- { ...refblocks63.right1, labels: ["2"] }
21760
+ { ...refblocks71.right1, labels: ["2"] }
21461
21761
  // TODO add more "standard" labels
21462
21762
  ],
21463
- size: { width: bounds63.width, height: bounds63.height },
21464
- center: { x: bounds63.centerX, y: bounds63.centerY }
21763
+ size: { width: bounds71.width, height: bounds71.height },
21764
+ center: { x: bounds71.centerX, y: bounds71.centerY }
21465
21765
  });
21466
21766
 
21467
21767
  // symbols/zener_diode_vert.ts
@@ -21550,6 +21850,10 @@ var symbols_index_default = {
21550
21850
  "fuse_vert": fuse_vert_default,
21551
21851
  "ground_horz": ground_horz_default,
21552
21852
  "ground_vert": ground_vert_default,
21853
+ "ground2_down": ground2_down_default,
21854
+ "ground2_left": ground2_left_default,
21855
+ "ground2_right": ground2_right_default,
21856
+ "ground2_up": ground2_up_default,
21553
21857
  "gunn_diode_horz": gunn_diode_horz_default,
21554
21858
  "gunn_diode_vert": gunn_diode_vert_default,
21555
21859
  "icled_down": icled_down_default,
@@ -21690,6 +21994,10 @@ var symbols_index_default = {
21690
21994
  "varistor_vert": varistor_vert_default,
21691
21995
  "varmeter_horz": varmeter_horz_default,
21692
21996
  "varmeter_vert": varmeter_vert_default,
21997
+ "VCC_down": VCC_down_default,
21998
+ "VCC_left": VCC_left_default,
21999
+ "VCC_right": VCC_right_default,
22000
+ "VCC_up": VCC_up_default,
21693
22001
  "volt_meter_horz": volt_meter_horz_default,
21694
22002
  "volt_meter_vert": volt_meter_vert_default,
21695
22003
  "watt_hour_meter_horz": watt_hour_meter_horz_default,