schematic-symbols 0.0.166 → 0.0.167

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(symbol8) {
45
45
  let size = symbol8.size;
46
46
  if (!size) {
47
- const bounds74 = getBoundsOfPrimitives(symbol8.primitives);
47
+ const bounds83 = getBoundsOfPrimitives(symbol8.primitives);
48
48
  size = {
49
- width: bounds74.maxX - bounds74.minX,
50
- height: bounds74.maxY - bounds74.minY
49
+ width: bounds83.maxX - bounds83.minX,
50
+ height: bounds83.maxY - bounds83.minY
51
51
  };
52
52
  }
53
53
  return { ...symbol8, size };
@@ -494,14 +494,14 @@ var rotateRightFacingSymbol = (symbol8, opts) => {
494
494
  ...applyToPoint(transform2, port)
495
495
  })
496
496
  );
497
- const bounds74 = getBoundsOfPrimitives(rotatedPrimitives);
497
+ const bounds83 = getBoundsOfPrimitives(rotatedPrimitives);
498
498
  return {
499
499
  primitives: rotatedPrimitives,
500
500
  center,
501
501
  ports: rotatedPorts,
502
502
  size: {
503
- width: bounds74.maxX - bounds74.minX,
504
- height: bounds74.maxY - bounds74.minY
503
+ width: bounds83.maxX - bounds83.minX,
504
+ height: bounds83.maxY - bounds83.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 bounds74 = getBoundsOfPrimitives(this.symbol.primitives);
905
+ const bounds83 = getBoundsOfPrimitives(this.symbol.primitives);
906
906
  return {
907
- width: bounds74.maxX - bounds74.minX,
908
- height: bounds74.maxY - bounds74.minY
907
+ width: bounds83.maxX - bounds83.minX,
908
+ height: bounds83.maxY - bounds83.minY
909
909
  };
910
910
  }
911
911
  build() {
@@ -12116,16 +12116,124 @@ var npn_bipolar_transistor_default = {
12116
12116
  }
12117
12117
  };
12118
12118
 
12119
- // symbols/npn_bipolar_transistor_horz.ts
12119
+ // symbols/npn_bipolar_transistor_down.ts
12120
12120
  var { paths: paths45, texts: texts50, bounds: bounds45, refblocks: refblocks45, circles: circles41 } = npn_bipolar_transistor_default;
12121
- 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();
12121
+ var npn_bipolar_transistor_down_default = modifySymbol({
12122
+ primitives: [
12123
+ ...Object.values(paths45),
12124
+ ...Object.values(circles41),
12125
+ {
12126
+ type: "text",
12127
+ text: "{REF}",
12128
+ x: -0.1,
12129
+ y: 0.3094553499999995
12130
+ },
12131
+ {
12132
+ type: "text",
12133
+ text: "{VAL}",
12134
+ x: -0.1,
12135
+ y: -0.3094553499999995
12136
+ }
12137
+ ],
12138
+ ports: [
12139
+ { ...refblocks45.top1, labels: ["1"] },
12140
+ { ...refblocks45.bottom1, labels: ["3"] },
12141
+ { ...refblocks45.left1, labels: ["2"] }
12142
+ ],
12143
+ size: { width: bounds45.width, height: bounds45.height },
12144
+ center: { x: bounds45.centerX, y: bounds45.centerY }
12145
+ }).rotateRightFacingSymbol("right").changeTextAnchor("{REF}", "middle_right").changeTextAnchor("{VAL}", "middle_right").build();
12146
+
12147
+ // symbols/npn_bipolar_transistor_horz.ts
12148
+ var { paths: paths46, texts: texts51, bounds: bounds46, refblocks: refblocks46, circles: circles42 } = npn_bipolar_transistor_default;
12149
+ var npn_bipolar_transistor_horz_default = modifySymbol(npn_bipolar_transistor_default).rotateRightFacingSymbol("up").changeTextAnchor("{VAL}", "middle_left").labelPort("left1", ["2"]).labelPort("top1", ["1"]).labelPort("bottom1", ["3"]).changeTextAnchor("{REF}", "middle_right").build();
12150
+
12151
+ // symbols/npn_bipolar_transistor_left.ts
12152
+ var { paths: paths47, texts: texts52, bounds: bounds47, refblocks: refblocks47, circles: circles43 } = npn_bipolar_transistor_default;
12153
+ var npn_bipolar_transistor_left_default = modifySymbol({
12154
+ primitives: [
12155
+ ...Object.values(paths47),
12156
+ ...Object.values(circles43),
12157
+ {
12158
+ type: "text",
12159
+ text: "{REF}",
12160
+ x: -0.1,
12161
+ y: -0.3094553499999995
12162
+ },
12163
+ {
12164
+ type: "text",
12165
+ text: "{VAL}",
12166
+ x: -0.1,
12167
+ y: 0.3094553499999995
12168
+ }
12169
+ ],
12170
+ ports: [
12171
+ { ...refblocks47.top1, labels: ["1"] },
12172
+ { ...refblocks47.bottom1, labels: ["3"] },
12173
+ { ...refblocks47.left1, labels: ["2"] }
12174
+ ],
12175
+ size: { width: bounds47.width, height: bounds47.height },
12176
+ center: { x: bounds47.centerX, y: bounds47.centerY }
12177
+ }).rotateRightFacingSymbol("down").changeTextAnchor("{REF}", "middle_bottom").changeTextAnchor("{VAL}", "middle_bottom").build();
12178
+
12179
+ // symbols/npn_bipolar_transistor_right.ts
12180
+ var { paths: paths48, texts: texts53, bounds: bounds48, refblocks: refblocks48, circles: circles44 } = npn_bipolar_transistor_default;
12181
+ var npn_bipolar_transistor_right_default = modifySymbol({
12182
+ primitives: [
12183
+ ...Object.values(paths48),
12184
+ ...Object.values(circles44),
12185
+ {
12186
+ type: "text",
12187
+ text: "{REF}",
12188
+ x: -0.1,
12189
+ y: -0.3094553499999995
12190
+ },
12191
+ {
12192
+ type: "text",
12193
+ text: "{VAL}",
12194
+ x: -0.1,
12195
+ y: 0.3094553499999995
12196
+ }
12197
+ ],
12198
+ ports: [
12199
+ { ...refblocks48.top1, labels: ["1"] },
12200
+ { ...refblocks48.bottom1, labels: ["3"] },
12201
+ { ...refblocks48.left1, labels: ["2"] }
12202
+ ],
12203
+ size: { width: bounds48.width, height: bounds48.height },
12204
+ center: { x: bounds48.centerX, y: bounds48.centerY }
12205
+ }).rotateRightFacingSymbol("up").changeTextAnchor("{REF}", "middle_top").changeTextAnchor("{VAL}", "middle_top").build();
12206
+
12207
+ // symbols/npn_bipolar_transistor_up.ts
12208
+ var { paths: paths49, texts: texts54, bounds: bounds49, refblocks: refblocks49, circles: circles45 } = npn_bipolar_transistor_default;
12209
+ var npn_bipolar_transistor_up_default = modifySymbol({
12210
+ primitives: [
12211
+ ...Object.values(paths49),
12212
+ ...Object.values(circles45),
12213
+ {
12214
+ type: "text",
12215
+ text: "{REF}",
12216
+ x: -0.1,
12217
+ y: 0.3094553499999995
12218
+ },
12219
+ {
12220
+ type: "text",
12221
+ text: "{VAL}",
12222
+ x: -0.1,
12223
+ y: -0.3094553499999995
12224
+ }
12225
+ ],
12226
+ ports: [
12227
+ { ...refblocks49.top1, labels: ["1"] },
12228
+ { ...refblocks49.bottom1, labels: ["3"] },
12229
+ { ...refblocks49.left1, labels: ["2"] }
12230
+ ],
12231
+ size: { width: bounds49.width, height: bounds49.height },
12232
+ center: { x: bounds49.centerX, y: bounds49.centerY }
12233
+ }).rotateRightFacingSymbol("left").changeTextAnchor("{REF}", "middle_left").changeTextAnchor("{VAL}", "middle_left").build();
12122
12234
 
12123
12235
  // symbols/npn_bipolar_transistor_vert.ts
12124
- var rotatedSymbol12 = rotateSymbol(npn_bipolar_transistor_horz_default);
12125
- var texts51 = rotatedSymbol12.primitives.filter((p) => p.type === "text");
12126
- var ref28 = texts51.find((t) => t.text === "{REF}");
12127
- ref28.anchor = "middle_left";
12128
- 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();
12236
+ var npn_bipolar_transistor_vert_default = modifySymbol(npn_bipolar_transistor_default).rotateRightFacingSymbol("left").changeTextAnchor("{VAL}", "middle_right").labelPort("left1", ["2"]).labelPort("top1", ["1"]).labelPort("bottom1", ["3"]).changeTextAnchor("{REF}", "middle_left").build();
12129
12237
 
12130
12238
  // assets/generated/opamp_no_power.json
12131
12239
  var opamp_no_power_default = {
@@ -12747,38 +12855,38 @@ var p_channel_d_mosfet_transistor_default = {
12747
12855
  };
12748
12856
 
12749
12857
  // symbols/p_channel_d_mosfet_transistor_horz.ts
12750
- var { paths: paths46, texts: texts52, bounds: bounds46, refblocks: refblocks46, circles: circles42 } = p_channel_d_mosfet_transistor_default;
12858
+ var { paths: paths50, texts: texts55, bounds: bounds50, refblocks: refblocks50, circles: circles46 } = p_channel_d_mosfet_transistor_default;
12751
12859
  var p_channel_d_mosfet_transistor_horz_default = defineSymbol({
12752
12860
  primitives: [
12753
- ...Object.values(paths46),
12754
- ...Object.values(circles42),
12755
- { ...texts52.top1, anchor: "middle_right", x: 0 },
12756
- { ...texts52.bottom1, anchor: "middle_right", x: 0 }
12861
+ ...Object.values(paths50),
12862
+ ...Object.values(circles46),
12863
+ { ...texts55.top1, anchor: "middle_right", x: 0 },
12864
+ { ...texts55.bottom1, anchor: "middle_right", x: 0 }
12757
12865
  ],
12758
12866
  ports: [
12759
- { ...refblocks46.top1, labels: ["1", "drain"] },
12867
+ { ...refblocks50.top1, labels: ["1", "drain"] },
12760
12868
  // TODO add more "standard" labels
12761
- { ...refblocks46.bottom1, labels: ["2", "source"] },
12869
+ { ...refblocks50.bottom1, labels: ["2", "source"] },
12762
12870
  // TODO add more "standard" labels
12763
- { ...refblocks46.left1, labels: ["3", "gate"] }
12871
+ { ...refblocks50.left1, labels: ["3", "gate"] }
12764
12872
  // TODO add more "standard" labels
12765
12873
  ],
12766
- size: { width: bounds46.width, height: bounds46.height },
12767
- center: { x: bounds46.centerX, y: bounds46.centerY }
12874
+ size: { width: bounds50.width, height: bounds50.height },
12875
+ center: { x: bounds50.centerX, y: bounds50.centerY }
12768
12876
  });
12769
12877
 
12770
12878
  // symbols/p_channel_d_mosfet_transistor_vert.ts
12771
- var rotatedSymbol13 = rotateSymbol(p_channel_d_mosfet_transistor_horz_default);
12772
- var texts53 = rotatedSymbol13.primitives.filter((p) => p.type === "text");
12773
- var val27 = texts53.find((t) => t.text === "{VAL}");
12879
+ var rotatedSymbol12 = rotateSymbol(p_channel_d_mosfet_transistor_horz_default);
12880
+ var texts56 = rotatedSymbol12.primitives.filter((p) => p.type === "text");
12881
+ var val27 = texts56.find((t) => t.text === "{VAL}");
12774
12882
  val27.x = -0.35;
12775
12883
  val27.y = 0;
12776
12884
  val27.anchor = "middle_right";
12777
- var ref29 = texts53.find((t) => t.text === "{REF}");
12778
- ref29.y = 0;
12779
- ref29.x = 0.35;
12780
- ref29.anchor = "middle_left";
12781
- var p_channel_d_mosfet_transistor_vert_default = rotatedSymbol13;
12885
+ var ref28 = texts56.find((t) => t.text === "{REF}");
12886
+ ref28.y = 0;
12887
+ ref28.x = 0.35;
12888
+ ref28.anchor = "middle_left";
12889
+ var p_channel_d_mosfet_transistor_vert_default = rotatedSymbol12;
12782
12890
 
12783
12891
  // assets/generated/p_channel_e_mosfet_transistor.json
12784
12892
  var p_channel_e_mosfet_transistor_default = {
@@ -13008,38 +13116,38 @@ var p_channel_e_mosfet_transistor_default = {
13008
13116
  };
13009
13117
 
13010
13118
  // symbols/p_channel_e_mosfet_transistor_horz.ts
13011
- var { paths: paths47, texts: texts54, bounds: bounds47, refblocks: refblocks47, circles: circles43 } = p_channel_e_mosfet_transistor_default;
13119
+ var { paths: paths51, texts: texts57, bounds: bounds51, refblocks: refblocks51, circles: circles47 } = p_channel_e_mosfet_transistor_default;
13012
13120
  var p_channel_e_mosfet_transistor_horz_default = defineSymbol({
13013
13121
  primitives: [
13014
- ...Object.values(paths47),
13015
- ...Object.values(circles43),
13016
- { ...texts54.top1, anchor: "middle_right", x: 0 },
13017
- { ...texts54.bottom1, anchor: "middle_right", x: 0 }
13122
+ ...Object.values(paths51),
13123
+ ...Object.values(circles47),
13124
+ { ...texts57.top1, anchor: "middle_right", x: 0 },
13125
+ { ...texts57.bottom1, anchor: "middle_right", x: 0 }
13018
13126
  ],
13019
13127
  ports: [
13020
- { ...refblocks47.top1, labels: ["1", "drain"] },
13128
+ { ...refblocks51.top1, labels: ["1", "drain"] },
13021
13129
  // TODO add more "standard" labels
13022
- { ...refblocks47.bottom1, labels: ["2", "source"] },
13130
+ { ...refblocks51.bottom1, labels: ["2", "source"] },
13023
13131
  // TODO add more "standard" labels
13024
- { ...refblocks47.left1, labels: ["3", "gate"] }
13132
+ { ...refblocks51.left1, labels: ["3", "gate"] }
13025
13133
  // TODO add more "standard" labels
13026
13134
  ],
13027
- size: { width: bounds47.width, height: bounds47.height },
13028
- center: { x: bounds47.centerX, y: bounds47.centerY }
13135
+ size: { width: bounds51.width, height: bounds51.height },
13136
+ center: { x: bounds51.centerX, y: bounds51.centerY }
13029
13137
  });
13030
13138
 
13031
13139
  // symbols/p_channel_e_mosfet_transistor_vert.ts
13032
- var rotatedSymbol14 = rotateSymbol(p_channel_e_mosfet_transistor_horz_default);
13033
- var texts55 = rotatedSymbol14.primitives.filter((p) => p.type === "text");
13034
- var val28 = texts55.find((t) => t.text === "{VAL}");
13140
+ var rotatedSymbol13 = rotateSymbol(p_channel_e_mosfet_transistor_horz_default);
13141
+ var texts58 = rotatedSymbol13.primitives.filter((p) => p.type === "text");
13142
+ var val28 = texts58.find((t) => t.text === "{VAL}");
13035
13143
  val28.x = -0.35;
13036
13144
  val28.y = 0;
13037
13145
  val28.anchor = "middle_right";
13038
- var ref30 = texts55.find((t) => t.text === "{REF}");
13039
- ref30.y = 0;
13040
- ref30.x = 0.35;
13041
- ref30.anchor = "middle_left";
13042
- var p_channel_e_mosfet_transistor_vert_default = rotatedSymbol14;
13146
+ var ref29 = texts58.find((t) => t.text === "{REF}");
13147
+ ref29.y = 0;
13148
+ ref29.x = 0.35;
13149
+ ref29.anchor = "middle_left";
13150
+ var p_channel_e_mosfet_transistor_vert_default = rotatedSymbol13;
13043
13151
 
13044
13152
  // assets/generated/photodiode.json
13045
13153
  var photodiode_default = {
@@ -13269,12 +13377,12 @@ var photodiode_default = {
13269
13377
  var photodiode_horz_default = modifySymbol(photodiode_default).changeTextAnchor("{VAL}", "middle_top").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_bottom").build();
13270
13378
 
13271
13379
  // symbols/photodiode_vert.ts
13272
- var rotatedSymbol15 = rotateSymbol(photodiode_horz_default);
13273
- var texts56 = rotatedSymbol15.primitives.filter((p) => p.type === "text");
13274
- var ref31 = texts56.find((t) => t.text === "{REF}");
13275
- ref31.y = 0;
13276
- ref31.anchor = "middle_left";
13277
- var photodiode_vert_default = rotatedSymbol15;
13380
+ var rotatedSymbol14 = rotateSymbol(photodiode_horz_default);
13381
+ var texts59 = rotatedSymbol14.primitives.filter((p) => p.type === "text");
13382
+ var ref30 = texts59.find((t) => t.text === "{REF}");
13383
+ ref30.y = 0;
13384
+ ref30.anchor = "middle_left";
13385
+ var photodiode_vert_default = rotatedSymbol14;
13278
13386
 
13279
13387
  // assets/generated/pjfet_transistor.json
13280
13388
  var pjfet_transistor_default = {
@@ -13444,38 +13552,38 @@ var pjfet_transistor_default = {
13444
13552
  };
13445
13553
 
13446
13554
  // symbols/pjfet_transistor_horz.ts
13447
- var { paths: paths48, texts: texts57, bounds: bounds48, refblocks: refblocks48, circles: circles44 } = pjfet_transistor_default;
13555
+ var { paths: paths52, texts: texts60, bounds: bounds52, refblocks: refblocks52, circles: circles48 } = pjfet_transistor_default;
13448
13556
  var pjfet_transistor_horz_default = defineSymbol({
13449
13557
  primitives: [
13450
- ...Object.values(paths48),
13451
- ...Object.values(circles44),
13452
- { ...texts57.top1, anchor: "middle_right", x: 0 },
13453
- { ...texts57.bottom1, anchor: "middle_right" }
13558
+ ...Object.values(paths52),
13559
+ ...Object.values(circles48),
13560
+ { ...texts60.top1, anchor: "middle_right", x: 0 },
13561
+ { ...texts60.bottom1, anchor: "middle_right" }
13454
13562
  ],
13455
13563
  ports: [
13456
- { ...refblocks48.top1, labels: ["1", "drain"] },
13564
+ { ...refblocks52.top1, labels: ["1", "drain"] },
13457
13565
  // TODO add more "standard" labels
13458
- { ...refblocks48.bottom1, labels: ["2", "source"] },
13566
+ { ...refblocks52.bottom1, labels: ["2", "source"] },
13459
13567
  // TODO add more "standard" labels
13460
- { ...refblocks48.left1, labels: ["3", "gate"] }
13568
+ { ...refblocks52.left1, labels: ["3", "gate"] }
13461
13569
  // TODO add more "standard" labels
13462
13570
  ],
13463
- size: { width: bounds48.width, height: bounds48.height },
13464
- center: { x: bounds48.centerX, y: bounds48.centerY }
13571
+ size: { width: bounds52.width, height: bounds52.height },
13572
+ center: { x: bounds52.centerX, y: bounds52.centerY }
13465
13573
  });
13466
13574
 
13467
13575
  // symbols/pjfet_transistor_vert.ts
13468
- var rotatedSymbol16 = rotateSymbol(pjfet_transistor_horz_default);
13469
- var texts58 = rotatedSymbol16.primitives.filter((p) => p.type === "text");
13470
- var val29 = texts58.find((t) => t.text === "{VAL}");
13576
+ var rotatedSymbol15 = rotateSymbol(pjfet_transistor_horz_default);
13577
+ var texts61 = rotatedSymbol15.primitives.filter((p) => p.type === "text");
13578
+ var val29 = texts61.find((t) => t.text === "{VAL}");
13471
13579
  val29.x = -0.35;
13472
13580
  val29.y = 0;
13473
13581
  val29.anchor = "middle_right";
13474
- var ref32 = texts58.find((t) => t.text === "{REF}");
13475
- ref32.y = 0;
13476
- ref32.x = 0.35;
13477
- ref32.anchor = "middle_left";
13478
- var pjfet_transistor_vert_default = rotatedSymbol16;
13582
+ var ref31 = texts61.find((t) => t.text === "{REF}");
13583
+ ref31.y = 0;
13584
+ ref31.x = 0.35;
13585
+ ref31.anchor = "middle_left";
13586
+ var pjfet_transistor_vert_default = rotatedSymbol15;
13479
13587
 
13480
13588
  // assets/generated/pnp_bipolar_transistor.json
13481
13589
  var pnp_bipolar_transistor_default = {
@@ -13644,15 +13752,124 @@ var pnp_bipolar_transistor_default = {
13644
13752
  }
13645
13753
  };
13646
13754
 
13755
+ // symbols/pnp_bipolar_transistor_down.ts
13756
+ var { paths: paths53, texts: texts62, bounds: bounds53, refblocks: refblocks53, circles: circles49 } = pnp_bipolar_transistor_default;
13757
+ var pnp_bipolar_transistor_down_default = modifySymbol({
13758
+ primitives: [
13759
+ ...Object.values(paths53),
13760
+ ...Object.values(circles49),
13761
+ {
13762
+ type: "text",
13763
+ text: "{REF}",
13764
+ x: -0.1,
13765
+ y: 0.3094553499999995
13766
+ },
13767
+ {
13768
+ type: "text",
13769
+ text: "{VAL}",
13770
+ x: -0.1,
13771
+ y: -0.3094553499999995
13772
+ }
13773
+ ],
13774
+ ports: [
13775
+ { ...refblocks53.top1, labels: ["1"] },
13776
+ { ...refblocks53.bottom1, labels: ["3"] },
13777
+ { ...refblocks53.left1, labels: ["2"] }
13778
+ ],
13779
+ size: { width: bounds53.width, height: bounds53.height },
13780
+ center: { x: bounds53.centerX, y: bounds53.centerY }
13781
+ }).rotateRightFacingSymbol("right").changeTextAnchor("{REF}", "middle_right").changeTextAnchor("{VAL}", "middle_right").build();
13782
+
13647
13783
  // symbols/pnp_bipolar_transistor_horz.ts
13648
- var pnp_bipolar_transistor_horz_default = modifySymbol(pnp_bipolar_transistor_default).changeTextAnchor("{VAL}", "middle_right").labelPort("left1", ["3"]).labelPort("bottom1", ["2"]).labelPort("top1", ["1"]).changeTextAnchor("{REF}", "middle_right").build();
13784
+ var { paths: paths54, texts: texts63, bounds: bounds54, refblocks: refblocks54, circles: circles50 } = pnp_bipolar_transistor_default;
13785
+ var pnp_bipolar_transistor_horz_default = modifySymbol(pnp_bipolar_transistor_default).rotateRightFacingSymbol("up").changeTextAnchor("{VAL}", "middle_left").labelPort("left1", ["2"]).labelPort("top1", ["1"]).labelPort("bottom1", ["3"]).changeTextAnchor("{REF}", "middle_right").build();
13786
+
13787
+ // symbols/pnp_bipolar_transistor_left.ts
13788
+ var { paths: paths55, texts: texts64, bounds: bounds55, refblocks: refblocks55, circles: circles51 } = pnp_bipolar_transistor_default;
13789
+ var pnp_bipolar_transistor_left_default = modifySymbol({
13790
+ primitives: [
13791
+ ...Object.values(paths55),
13792
+ ...Object.values(circles51),
13793
+ {
13794
+ type: "text",
13795
+ text: "{REF}",
13796
+ x: -0.1,
13797
+ y: -0.3094553499999995
13798
+ },
13799
+ {
13800
+ type: "text",
13801
+ text: "{VAL}",
13802
+ x: -0.1,
13803
+ y: 0.3094553499999995
13804
+ }
13805
+ ],
13806
+ ports: [
13807
+ { ...refblocks55.top1, labels: ["1"] },
13808
+ { ...refblocks55.bottom1, labels: ["3"] },
13809
+ { ...refblocks55.left1, labels: ["2"] }
13810
+ ],
13811
+ size: { width: bounds55.width, height: bounds55.height },
13812
+ center: { x: bounds55.centerX, y: bounds55.centerY }
13813
+ }).rotateRightFacingSymbol("down").changeTextAnchor("{REF}", "middle_bottom").changeTextAnchor("{VAL}", "middle_bottom").build();
13814
+
13815
+ // symbols/pnp_bipolar_transistor_right.ts
13816
+ var { paths: paths56, texts: texts65, bounds: bounds56, refblocks: refblocks56, circles: circles52 } = pnp_bipolar_transistor_default;
13817
+ var pnp_bipolar_transistor_right_default = modifySymbol({
13818
+ primitives: [
13819
+ ...Object.values(paths56),
13820
+ ...Object.values(circles52),
13821
+ {
13822
+ type: "text",
13823
+ text: "{REF}",
13824
+ x: -0.1,
13825
+ y: -0.3094553499999995
13826
+ },
13827
+ {
13828
+ type: "text",
13829
+ text: "{VAL}",
13830
+ x: -0.1,
13831
+ y: 0.3094553499999995
13832
+ }
13833
+ ],
13834
+ ports: [
13835
+ { ...refblocks56.top1, labels: ["1"] },
13836
+ { ...refblocks56.bottom1, labels: ["3"] },
13837
+ { ...refblocks56.left1, labels: ["2"] }
13838
+ ],
13839
+ size: { width: bounds56.width, height: bounds56.height },
13840
+ center: { x: bounds56.centerX, y: bounds56.centerY }
13841
+ }).rotateRightFacingSymbol("up").changeTextAnchor("{REF}", "middle_top").changeTextAnchor("{VAL}", "middle_top").build();
13842
+
13843
+ // symbols/pnp_bipolar_transistor_up.ts
13844
+ var { paths: paths57, texts: texts66, bounds: bounds57, refblocks: refblocks57, circles: circles53 } = pnp_bipolar_transistor_default;
13845
+ var pnp_bipolar_transistor_up_default = modifySymbol({
13846
+ primitives: [
13847
+ ...Object.values(paths57),
13848
+ ...Object.values(circles53),
13849
+ {
13850
+ type: "text",
13851
+ text: "{REF}",
13852
+ x: -0.1,
13853
+ y: 0.3094553499999995
13854
+ },
13855
+ {
13856
+ type: "text",
13857
+ text: "{VAL}",
13858
+ x: -0.1,
13859
+ y: -0.3094553499999995
13860
+ }
13861
+ ],
13862
+ ports: [
13863
+ { ...refblocks57.top1, labels: ["1"] },
13864
+ { ...refblocks57.bottom1, labels: ["3"] },
13865
+ { ...refblocks57.left1, labels: ["2"] }
13866
+ ],
13867
+ size: { width: bounds57.width, height: bounds57.height },
13868
+ center: { x: bounds57.centerX, y: bounds57.centerY }
13869
+ }).rotateRightFacingSymbol("left").changeTextAnchor("{REF}", "middle_left").changeTextAnchor("{VAL}", "middle_left").build();
13649
13870
 
13650
13871
  // symbols/pnp_bipolar_transistor_vert.ts
13651
- var rotatedSymbol17 = rotateSymbol(pnp_bipolar_transistor_horz_default);
13652
- var texts59 = rotatedSymbol17.primitives.filter((p) => p.type === "text");
13653
- var ref33 = texts59.find((t) => t.text === "{REF}");
13654
- ref33.anchor = "middle_left";
13655
- 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();
13872
+ var pnp_bipolar_transistor_vert_default = modifySymbol(pnp_bipolar_transistor_default).rotateRightFacingSymbol("left").changeTextAnchor("{VAL}", "middle_left").labelPort("left1", ["2"]).labelPort("top1", ["1"]).labelPort("bottom1", ["3"]).changeTextAnchor("{REF}", "middle_left").build();
13656
13873
 
13657
13874
  // assets/generated/potentiometer.json
13658
13875
  var potentiometer_default = {
@@ -14064,21 +14281,21 @@ var potentiometer_default = {
14064
14281
  };
14065
14282
 
14066
14283
  // symbols/potentiometer_horz.ts
14067
- var { paths: paths49, texts: texts60, bounds: bounds49, refblocks: refblocks49 } = potentiometer_default;
14284
+ var { paths: paths58, texts: texts67, bounds: bounds58, refblocks: refblocks58 } = potentiometer_default;
14068
14285
  var potentiometer_horz_default = defineSymbol({
14069
14286
  primitives: [
14070
- ...Object.values(paths49),
14071
- { ...texts60.bottom1, y: 0.35, anchor: "middle_top" },
14072
- { ...texts60.top1, anchor: "middle_left" }
14287
+ ...Object.values(paths58),
14288
+ { ...texts67.bottom1, y: 0.35, anchor: "middle_top" },
14289
+ { ...texts67.top1, anchor: "middle_left" }
14073
14290
  ],
14074
14291
  ports: [
14075
- { ...refblocks49.left1, labels: ["1"] },
14292
+ { ...refblocks58.left1, labels: ["1"] },
14076
14293
  // TODO add more "standard" labels
14077
- { ...refblocks49.right1, labels: ["2"] }
14294
+ { ...refblocks58.right1, labels: ["2"] }
14078
14295
  // TODO add more "standard" labels
14079
14296
  ],
14080
- size: { width: bounds49.width + 0.05, height: bounds49.height },
14081
- center: { x: bounds49.centerX, y: bounds49.centerY }
14297
+ size: { width: bounds58.width + 0.05, height: bounds58.height },
14298
+ center: { x: bounds58.centerX, y: bounds58.centerY }
14082
14299
  });
14083
14300
 
14084
14301
  // symbols/potentiometer_vert.ts
@@ -14241,67 +14458,67 @@ var potentiometer2_default = {
14241
14458
  };
14242
14459
 
14243
14460
  // symbols/potentiometer2_right.ts
14244
- var { paths: paths50, texts: texts61, bounds: bounds50, refblocks: refblocks50 } = potentiometer2_default;
14461
+ var { paths: paths59, texts: texts68, bounds: bounds59, refblocks: refblocks59 } = potentiometer2_default;
14245
14462
  var potentiometer2_right_default = defineSymbol({
14246
14463
  primitives: [
14247
- ...Object.values(paths50),
14248
- { ...texts61.bottom1, x: 0, y: -0.35, anchor: "middle_top" },
14249
- { ...texts61.top1, x: 0, y: 0.35, anchor: "middle_bottom" }
14464
+ ...Object.values(paths59),
14465
+ { ...texts68.bottom1, x: 0, y: -0.35, anchor: "middle_top" },
14466
+ { ...texts68.top1, x: 0, y: 0.35, anchor: "middle_bottom" }
14250
14467
  ],
14251
14468
  ports: [
14252
- { ...refblocks50.left1, labels: ["1"] },
14469
+ { ...refblocks59.left1, labels: ["1"] },
14253
14470
  // TODO add more "standard" labels
14254
- { ...refblocks50.right1, labels: ["2"] }
14471
+ { ...refblocks59.right1, labels: ["2"] }
14255
14472
  // TODO add more "standard" labels
14256
14473
  ],
14257
- size: { width: bounds50.width + 0.05, height: bounds50.height },
14258
- center: { x: bounds50.centerX, y: bounds50.centerY }
14474
+ size: { width: bounds59.width + 0.05, height: bounds59.height },
14475
+ center: { x: bounds59.centerX, y: bounds59.centerY }
14259
14476
  });
14260
14477
 
14261
14478
  // symbols/potentiometer2_down.ts
14262
14479
  var symbol5 = rotateSymbol(potentiometer2_right_default, "down");
14263
- var ref34 = symbol5.primitives.find(
14480
+ var ref32 = symbol5.primitives.find(
14264
14481
  (p) => p.type === "text" && p.text === "{REF}"
14265
14482
  );
14266
14483
  var val30 = symbol5.primitives.find(
14267
14484
  (p) => p.type === "text" && p.text === "{VAL}"
14268
14485
  );
14269
- ref34.anchor = "middle_left";
14486
+ ref32.anchor = "middle_left";
14270
14487
  val30.anchor = "middle_left";
14271
- ref34.y += 0.31;
14272
- ref34.x = 0.34;
14488
+ ref32.y += 0.31;
14489
+ ref32.x = 0.34;
14273
14490
  val30.y -= 0.31;
14274
14491
  val30.x = 0.34;
14275
14492
  var potentiometer2_down_default = symbol5;
14276
14493
 
14277
14494
  // symbols/potentiometer2_left.ts
14278
14495
  var symbol6 = rotateSymbol(potentiometer2_right_default, "left");
14279
- var ref35 = symbol6.primitives.find(
14496
+ var ref33 = symbol6.primitives.find(
14280
14497
  (p) => p.type === "text" && p.text === "{REF}"
14281
14498
  );
14282
14499
  var val31 = symbol6.primitives.find(
14283
14500
  (p) => p.type === "text" && p.text === "{VAL}"
14284
14501
  );
14285
- ref35.anchor = "middle_bottom";
14502
+ ref33.anchor = "middle_bottom";
14286
14503
  val31.anchor = "middle_top";
14287
- ref35.y += 0.73;
14288
- ref35.x = 0;
14504
+ ref33.y += 0.73;
14505
+ ref33.x = 0;
14289
14506
  val31.y -= 0.7;
14290
14507
  val31.x = 0;
14291
14508
  var potentiometer2_left_default = symbol6;
14292
14509
 
14293
14510
  // symbols/potentiometer2_up.ts
14294
14511
  var symbol7 = rotateSymbol(potentiometer2_right_default, "up");
14295
- var ref36 = symbol7.primitives.find(
14512
+ var ref34 = symbol7.primitives.find(
14296
14513
  (p) => p.type === "text" && p.text === "{REF}"
14297
14514
  );
14298
14515
  var val32 = symbol7.primitives.find(
14299
14516
  (p) => p.type === "text" && p.text === "{VAL}"
14300
14517
  );
14301
- ref36.anchor = "middle_left";
14518
+ ref34.anchor = "middle_left";
14302
14519
  val32.anchor = "middle_left";
14303
- ref36.y += 0.21;
14304
- ref36.x = 0.34;
14520
+ ref34.y += 0.21;
14521
+ ref34.x = 0.34;
14305
14522
  val32.y -= 0.21;
14306
14523
  val32.x = 0.34;
14307
14524
  var potentiometer2_up_default = symbol7;
@@ -14500,11 +14717,11 @@ var power_factor_meter_default = {
14500
14717
  };
14501
14718
 
14502
14719
  // symbols/power_factor_meter_horz.ts
14503
- var { paths: paths51, texts: texts62, bounds: bounds51, refblocks: refblocks51, circles: circles45 } = power_factor_meter_default;
14720
+ var { paths: paths60, texts: texts69, bounds: bounds60, refblocks: refblocks60, circles: circles54 } = power_factor_meter_default;
14504
14721
  var power_factor_meter_horz_default = defineSymbol({
14505
14722
  primitives: [
14506
- ...Object.values(paths51),
14507
- ...Object.values(circles45),
14723
+ ...Object.values(paths60),
14724
+ ...Object.values(circles54),
14508
14725
  // { ...texts.top1, anchor: "middle_left" },
14509
14726
  {
14510
14727
  type: "text",
@@ -14531,31 +14748,31 @@ var power_factor_meter_horz_default = defineSymbol({
14531
14748
  }
14532
14749
  ],
14533
14750
  ports: [
14534
- { ...refblocks51.left1, labels: ["1"] },
14751
+ { ...refblocks60.left1, labels: ["1"] },
14535
14752
  // TODO add more "standard" labels
14536
- { ...refblocks51.right1, labels: ["2"] }
14753
+ { ...refblocks60.right1, labels: ["2"] }
14537
14754
  // TODO add more "standard" labels
14538
14755
  ],
14539
- size: { width: bounds51.width, height: bounds51.height },
14540
- center: { x: bounds51.centerX, y: bounds51.centerY }
14756
+ size: { width: bounds60.width, height: bounds60.height },
14757
+ center: { x: bounds60.centerX, y: bounds60.centerY }
14541
14758
  });
14542
14759
 
14543
14760
  // symbols/power_factor_meter_vert.ts
14544
- var rotatedSymbol18 = rotateSymbol(power_factor_meter_horz_default);
14545
- var texts63 = rotatedSymbol18.primitives.filter((p) => p.type === "text");
14546
- var ref37 = texts63.find((t) => t.text === "{REF}");
14547
- var val33 = texts63.find((t) => t.text === "{VAL}");
14548
- var text_cos = texts63.find((t) => t.text === "COS \u03C6");
14549
- ref37.x = 0.35;
14550
- ref37.y = 0;
14551
- ref37.anchor = "middle_left";
14761
+ var rotatedSymbol16 = rotateSymbol(power_factor_meter_horz_default);
14762
+ var texts70 = rotatedSymbol16.primitives.filter((p) => p.type === "text");
14763
+ var ref35 = texts70.find((t) => t.text === "{REF}");
14764
+ var val33 = texts70.find((t) => t.text === "{VAL}");
14765
+ var text_cos = texts70.find((t) => t.text === "COS \u03C6");
14766
+ ref35.x = 0.35;
14767
+ ref35.y = 0;
14768
+ ref35.anchor = "middle_left";
14552
14769
  val33.anchor = "middle_right";
14553
14770
  val33.x = -0.35;
14554
14771
  val33.y = 0;
14555
14772
  text_cos.x = 0;
14556
14773
  text_cos.y = 0;
14557
14774
  text_cos.anchor = "center";
14558
- var power_factor_meter_vert_default = rotatedSymbol18;
14775
+ var power_factor_meter_vert_default = rotatedSymbol16;
14559
14776
 
14560
14777
  // assets/generated/push_button_normally_closed_momentary.json
14561
14778
  var push_button_normally_closed_momentary_default = {
@@ -14676,22 +14893,22 @@ var push_button_normally_closed_momentary_default = {
14676
14893
  };
14677
14894
 
14678
14895
  // symbols/push_button_normally_closed_momentary_horz.ts
14679
- var { paths: paths52, texts: texts64, bounds: bounds52, refblocks: refblocks52, circles: circles46 } = push_button_normally_closed_momentary_default;
14896
+ var { paths: paths61, texts: texts71, bounds: bounds61, refblocks: refblocks61, circles: circles55 } = push_button_normally_closed_momentary_default;
14680
14897
  var push_button_normally_closed_momentary_horz_default = defineSymbol({
14681
14898
  primitives: [
14682
- ...Object.values(paths52),
14683
- ...Object.values(circles46),
14684
- { ...texts64.top1, anchor: "middle_left" },
14685
- { ...texts64.bottom1, anchor: "middle_left" }
14899
+ ...Object.values(paths61),
14900
+ ...Object.values(circles55),
14901
+ { ...texts71.top1, anchor: "middle_left" },
14902
+ { ...texts71.bottom1, anchor: "middle_left" }
14686
14903
  ],
14687
14904
  ports: [
14688
- { ...refblocks52.left1, labels: ["1"] },
14905
+ { ...refblocks61.left1, labels: ["1"] },
14689
14906
  // TODO add more "standard" labels
14690
- { ...refblocks52.right1, labels: ["2"] }
14907
+ { ...refblocks61.right1, labels: ["2"] }
14691
14908
  // TODO add more "standard" labels
14692
14909
  ],
14693
- size: { width: bounds52.width, height: bounds52.height },
14694
- center: { x: bounds52.centerX, y: bounds52.centerY }
14910
+ size: { width: bounds61.width, height: bounds61.height },
14911
+ center: { x: bounds61.centerX, y: bounds61.centerY }
14695
14912
  });
14696
14913
 
14697
14914
  // symbols/push_button_normally_closed_momentary_vert.ts
@@ -14846,22 +15063,22 @@ var push_button_normally_open_momentary_default = {
14846
15063
  };
14847
15064
 
14848
15065
  // symbols/push_button_normally_open_momentary_horz.ts
14849
- var { paths: paths53, texts: texts65, bounds: bounds53, refblocks: refblocks53, circles: circles47 } = push_button_normally_open_momentary_default;
15066
+ var { paths: paths62, texts: texts72, bounds: bounds62, refblocks: refblocks62, circles: circles56 } = push_button_normally_open_momentary_default;
14850
15067
  var push_button_normally_open_momentary_horz_default = defineSymbol({
14851
15068
  primitives: [
14852
- ...Object.values(paths53),
14853
- ...Object.values(circles47),
14854
- { ...texts65.top1, anchor: "middle_left" },
14855
- { ...texts65.bottom1, anchor: "middle_left" }
15069
+ ...Object.values(paths62),
15070
+ ...Object.values(circles56),
15071
+ { ...texts72.top1, anchor: "middle_left" },
15072
+ { ...texts72.bottom1, anchor: "middle_left" }
14856
15073
  ],
14857
15074
  ports: [
14858
- { ...refblocks53.left1, labels: ["1"] },
15075
+ { ...refblocks62.left1, labels: ["1"] },
14859
15076
  // TODO add more "standard" labels
14860
- { ...refblocks53.right1, labels: ["2"] }
15077
+ { ...refblocks62.right1, labels: ["2"] }
14861
15078
  // TODO add more "standard" labels
14862
15079
  ],
14863
- size: { width: bounds53.width, height: bounds53.height },
14864
- center: { x: bounds53.centerX, y: bounds53.centerY }
15080
+ size: { width: bounds62.width, height: bounds62.height },
15081
+ center: { x: bounds62.centerX, y: bounds62.centerY }
14865
15082
  });
14866
15083
 
14867
15084
  // symbols/push_button_normally_open_momentary_vert.ts
@@ -15277,37 +15494,37 @@ var rectifier_diode_default = {
15277
15494
  };
15278
15495
 
15279
15496
  // symbols/rectifier_diode_horz.ts
15280
- var { paths: paths54, texts: texts66, bounds: bounds54, refblocks: refblocks54, circles: circles48 } = rectifier_diode_default;
15497
+ var { paths: paths63, texts: texts73, bounds: bounds63, refblocks: refblocks63, circles: circles57 } = rectifier_diode_default;
15281
15498
  var rectifier_diode_horz_default = defineSymbol({
15282
15499
  primitives: [
15283
- ...Object.values(paths54),
15284
- ...Object.values(circles48),
15285
- { ...texts66.top1, anchor: "middle_right" },
15286
- { ...texts66.bottom1, anchor: "middle_right" }
15500
+ ...Object.values(paths63),
15501
+ ...Object.values(circles57),
15502
+ { ...texts73.top1, anchor: "middle_right" },
15503
+ { ...texts73.bottom1, anchor: "middle_right" }
15287
15504
  ],
15288
15505
  ports: [
15289
- { ...refblocks54.top1, labels: ["1"] },
15506
+ { ...refblocks63.top1, labels: ["1"] },
15290
15507
  // TODO add more "standard" labels
15291
- { ...refblocks54.bottom1, labels: ["2"] },
15508
+ { ...refblocks63.bottom1, labels: ["2"] },
15292
15509
  // TODO add more "standard" labels
15293
- { ...refblocks54.left1, labels: ["3"] },
15510
+ { ...refblocks63.left1, labels: ["3"] },
15294
15511
  // TODO add more "standard" labels
15295
- { ...refblocks54.right1, labels: ["4"] }
15512
+ { ...refblocks63.right1, labels: ["4"] }
15296
15513
  // TODO add more "standard" labels
15297
15514
  ],
15298
- size: { width: bounds54.width, height: bounds54.height },
15299
- center: { x: bounds54.centerX, y: bounds54.centerY }
15515
+ size: { width: bounds63.width, height: bounds63.height },
15516
+ center: { x: bounds63.centerX, y: bounds63.centerY }
15300
15517
  });
15301
15518
 
15302
15519
  // symbols/rectifier_diode_vert.ts
15303
15520
  var rotated19 = rotateSymbol(rectifier_diode_horz_default);
15304
- var ref38 = rotated19.primitives.find(
15521
+ var ref36 = rotated19.primitives.find(
15305
15522
  (p) => p.type === "text" && p.text === "{REF}"
15306
15523
  );
15307
15524
  var val34 = rotated19.primitives.find(
15308
15525
  (p) => p.type === "text" && p.text === "{VAL}"
15309
15526
  );
15310
- ref38.anchor = "middle_left";
15527
+ ref36.anchor = "middle_left";
15311
15528
  val34.anchor = "middle_right";
15312
15529
  var rectifier_diode_vert_default = rotated19;
15313
15530
 
@@ -15518,11 +15735,11 @@ var resistor_default = {
15518
15735
  };
15519
15736
 
15520
15737
  // symbols/resistor_down.ts
15521
- var { paths: paths55, texts: texts67, bounds: bounds55, refblocks: refblocks55, circles: circles49 } = resistor_default;
15738
+ var { paths: paths64, texts: texts74, bounds: bounds64, refblocks: refblocks64, circles: circles58 } = resistor_default;
15522
15739
  var resistor_down_default = modifySymbol({
15523
15740
  primitives: [
15524
- ...Object.values(paths55),
15525
- ...Object.values(circles49),
15741
+ ...Object.values(paths64),
15742
+ ...Object.values(circles58),
15526
15743
  {
15527
15744
  type: "text",
15528
15745
  text: "{REF}",
@@ -15537,21 +15754,21 @@ var resistor_down_default = modifySymbol({
15537
15754
  }
15538
15755
  ],
15539
15756
  ports: [
15540
- { ...refblocks55.left1, labels: ["1"] },
15757
+ { ...refblocks64.left1, labels: ["1"] },
15541
15758
  // TODO add more "standard" labels
15542
- { ...refblocks55.right1, labels: ["2"] }
15759
+ { ...refblocks64.right1, labels: ["2"] }
15543
15760
  // TODO add more "standard" labels
15544
15761
  ],
15545
- size: { width: bounds55.width, height: bounds55.height },
15546
- center: { x: bounds55.centerX, y: bounds55.centerY }
15762
+ size: { width: bounds64.width, height: bounds64.height },
15763
+ center: { x: bounds64.centerX, y: bounds64.centerY }
15547
15764
  }).rotateRightFacingSymbol("down").labelPort("left", ["1"]).labelPort("right", ["2"]).changeTextAnchor("{REF}", "middle_left").changeTextAnchor("{VAL}", "middle_left").build();
15548
15765
 
15549
15766
  // symbols/resistor_left.ts
15550
- var { paths: paths56, texts: texts68, bounds: bounds56, refblocks: refblocks56, circles: circles50 } = resistor_default;
15767
+ var { paths: paths65, texts: texts75, bounds: bounds65, refblocks: refblocks65, circles: circles59 } = resistor_default;
15551
15768
  var resistor_left_default = modifySymbol({
15552
15769
  primitives: [
15553
- ...Object.values(paths56),
15554
- ...Object.values(circles50),
15770
+ ...Object.values(paths65),
15771
+ ...Object.values(circles59),
15555
15772
  {
15556
15773
  type: "text",
15557
15774
  text: "{REF}",
@@ -15566,21 +15783,21 @@ var resistor_left_default = modifySymbol({
15566
15783
  }
15567
15784
  ],
15568
15785
  ports: [
15569
- { ...refblocks56.left1, labels: ["1"] },
15786
+ { ...refblocks65.left1, labels: ["1"] },
15570
15787
  // TODO add more "standard" labels
15571
- { ...refblocks56.right1, labels: ["2"] }
15788
+ { ...refblocks65.right1, labels: ["2"] }
15572
15789
  // TODO add more "standard" labels
15573
15790
  ],
15574
- size: { width: bounds56.width, height: bounds56.height },
15575
- center: { x: bounds56.centerX, y: bounds56.centerY }
15791
+ size: { width: bounds65.width, height: bounds65.height },
15792
+ center: { x: bounds65.centerX, y: bounds65.centerY }
15576
15793
  }).rotateRightFacingSymbol("left").labelPort("left", ["1"]).labelPort("right", ["2"]).changeTextAnchor("{REF}", "middle_bottom").changeTextAnchor("{VAL}", "middle_top").build();
15577
15794
 
15578
15795
  // symbols/resistor_right.ts
15579
- var { paths: paths57, texts: texts69, bounds: bounds57, refblocks: refblocks57, circles: circles51 } = resistor_default;
15796
+ var { paths: paths66, texts: texts76, bounds: bounds66, refblocks: refblocks66, circles: circles60 } = resistor_default;
15580
15797
  var resistor_right_default = modifySymbol({
15581
15798
  primitives: [
15582
- ...Object.values(paths57),
15583
- ...Object.values(circles51),
15799
+ ...Object.values(paths66),
15800
+ ...Object.values(circles60),
15584
15801
  {
15585
15802
  type: "text",
15586
15803
  text: "{REF}",
@@ -15595,21 +15812,21 @@ var resistor_right_default = modifySymbol({
15595
15812
  }
15596
15813
  ],
15597
15814
  ports: [
15598
- { ...refblocks57.left1, labels: ["1"] },
15815
+ { ...refblocks66.left1, labels: ["1"] },
15599
15816
  // TODO add more "standard" labels
15600
- { ...refblocks57.right1, labels: ["2"] }
15817
+ { ...refblocks66.right1, labels: ["2"] }
15601
15818
  // TODO add more "standard" labels
15602
15819
  ],
15603
- size: { width: bounds57.width, height: bounds57.height },
15604
- center: { x: bounds57.centerX, y: bounds57.centerY }
15820
+ size: { width: bounds66.width, height: bounds66.height },
15821
+ center: { x: bounds66.centerX, y: bounds66.centerY }
15605
15822
  }).rotateRightFacingSymbol("right").labelPort("left", ["1"]).labelPort("right", ["2"]).changeTextAnchor("{REF}", "middle_bottom").changeTextAnchor("{VAL}", "middle_top").build();
15606
15823
 
15607
15824
  // symbols/resistor_up.ts
15608
- var { paths: paths58, texts: texts70, bounds: bounds58, refblocks: refblocks58, circles: circles52 } = resistor_default;
15825
+ var { paths: paths67, texts: texts77, bounds: bounds67, refblocks: refblocks67, circles: circles61 } = resistor_default;
15609
15826
  var resistor_up_default = modifySymbol({
15610
15827
  primitives: [
15611
- ...Object.values(paths58),
15612
- ...Object.values(circles52),
15828
+ ...Object.values(paths67),
15829
+ ...Object.values(circles61),
15613
15830
  {
15614
15831
  type: "text",
15615
15832
  text: "{REF}",
@@ -15624,13 +15841,13 @@ var resistor_up_default = modifySymbol({
15624
15841
  }
15625
15842
  ],
15626
15843
  ports: [
15627
- { ...refblocks58.left1, labels: ["1"] },
15844
+ { ...refblocks67.left1, labels: ["1"] },
15628
15845
  // TODO add more "standard" labels
15629
- { ...refblocks58.right1, labels: ["2"] }
15846
+ { ...refblocks67.right1, labels: ["2"] }
15630
15847
  // TODO add more "standard" labels
15631
15848
  ],
15632
- size: { width: bounds58.width, height: bounds58.height },
15633
- center: { x: bounds58.centerX, y: bounds58.centerY }
15849
+ size: { width: bounds67.width, height: bounds67.height },
15850
+ center: { x: bounds67.centerX, y: bounds67.centerY }
15634
15851
  }).rotateRightFacingSymbol("up").labelPort("left", ["1"]).labelPort("right", ["2"]).changeTextAnchor("{REF}", "middle_left").changeTextAnchor("{VAL}", "middle_left").build();
15635
15852
 
15636
15853
  // assets/generated/resonator.json
@@ -15979,11 +16196,11 @@ var resonator_default = {
15979
16196
  };
15980
16197
 
15981
16198
  // symbols/resonator_horz.ts
15982
- var { paths: paths59, texts: texts71, bounds: bounds59, refblocks: refblocks59, circles: circles53 } = resonator_default;
16199
+ var { paths: paths68, texts: texts78, bounds: bounds68, refblocks: refblocks68, circles: circles62 } = resonator_default;
15983
16200
  var resonator_horz_default = defineSymbol({
15984
16201
  primitives: [
15985
- ...Object.values(paths59),
15986
- ...Object.values(circles53),
16202
+ ...Object.values(paths68),
16203
+ ...Object.values(circles62),
15987
16204
  // { ...texts.top1, anchor: "middle_left" },
15988
16205
  // { ...texts.bottom1, anchor: "middle_left" },
15989
16206
  {
@@ -16002,15 +16219,15 @@ var resonator_horz_default = defineSymbol({
16002
16219
  }
16003
16220
  ],
16004
16221
  ports: [
16005
- { ...refblocks59.left1, labels: ["1"] },
16222
+ { ...refblocks68.left1, labels: ["1"] },
16006
16223
  // TODO add more "standard" labels
16007
- { ...refblocks59.right1, labels: ["2"] },
16224
+ { ...refblocks68.right1, labels: ["2"] },
16008
16225
  // TODO add more "standard" labels
16009
- { ...refblocks59.right2, labels: ["3"] }
16226
+ { ...refblocks68.right2, labels: ["3"] }
16010
16227
  // TODO add more "standard" labels
16011
16228
  ],
16012
- size: { width: bounds59.width, height: bounds59.height },
16013
- center: { x: bounds59.centerX, y: bounds59.centerY }
16229
+ size: { width: bounds68.width, height: bounds68.height },
16230
+ center: { x: bounds68.centerX, y: bounds68.centerY }
16014
16231
  });
16015
16232
 
16016
16233
  // symbols/resonator_vert.ts
@@ -16212,48 +16429,48 @@ var schottky_diode_right_default = modifySymbol(schottky_diode_default).labelPor
16212
16429
 
16213
16430
  // symbols/schottky_diode_down.ts
16214
16431
  var rotated20 = rotateSymbol(schottky_diode_right_default, "down");
16215
- var ref39 = rotated20.primitives.find(
16432
+ var ref37 = rotated20.primitives.find(
16216
16433
  (p) => p.type === "text" && p.text === "{REF}"
16217
16434
  );
16218
16435
  var val35 = rotated20.primitives.find(
16219
16436
  (p) => p.type === "text" && p.text === "{VAL}"
16220
16437
  );
16221
- ref39.anchor = "middle_left";
16438
+ ref37.anchor = "middle_left";
16222
16439
  val35.anchor = "middle_left";
16223
- ref39.y += 0.3;
16224
- ref39.x = 0.3;
16440
+ ref37.y += 0.3;
16441
+ ref37.x = 0.3;
16225
16442
  val35.y -= 0.3;
16226
16443
  val35.x = 0.3;
16227
16444
  var schottky_diode_down_default = rotated20;
16228
16445
 
16229
16446
  // symbols/schottky_diode_left.ts
16230
16447
  var rotated21 = rotateSymbol(schottky_diode_right_default, "left");
16231
- var ref40 = rotated21.primitives.find(
16448
+ var ref38 = rotated21.primitives.find(
16232
16449
  (p) => p.type === "text" && p.text === "{REF}"
16233
16450
  );
16234
16451
  var val36 = rotated21.primitives.find(
16235
16452
  (p) => p.type === "text" && p.text === "{VAL}"
16236
16453
  );
16237
- ref40.anchor = "middle_bottom";
16454
+ ref38.anchor = "middle_bottom";
16238
16455
  val36.anchor = "middle_top";
16239
- ref40.y += 0.5;
16240
- ref40.x = 0;
16456
+ ref38.y += 0.5;
16457
+ ref38.x = 0;
16241
16458
  val36.y -= 0.55;
16242
16459
  val36.x = 0;
16243
16460
  var schottky_diode_left_default = rotated21;
16244
16461
 
16245
16462
  // symbols/schottky_diode_up.ts
16246
16463
  var rotated22 = rotateSymbol(schottky_diode_right_default, "up");
16247
- var ref41 = rotated22.primitives.find(
16464
+ var ref39 = rotated22.primitives.find(
16248
16465
  (p) => p.type === "text" && p.text === "{REF}"
16249
16466
  );
16250
16467
  var val37 = rotated22.primitives.find(
16251
16468
  (p) => p.type === "text" && p.text === "{VAL}"
16252
16469
  );
16253
- ref41.anchor = "middle_left";
16470
+ ref39.anchor = "middle_left";
16254
16471
  val37.anchor = "middle_left";
16255
- ref41.y += 0.3;
16256
- ref41.x = 0.3;
16472
+ ref39.y += 0.3;
16473
+ ref39.x = 0.3;
16257
16474
  val37.y -= 0.3;
16258
16475
  val37.x = 0.3;
16259
16476
  var schottky_diode_up_default = rotated22;
@@ -16402,18 +16619,18 @@ var silicon_controlled_rectifier_default = {
16402
16619
  };
16403
16620
 
16404
16621
  // symbols/silicon_controlled_rectifier_horz.ts
16405
- var { paths: paths60, texts: texts72, bounds: bounds60, refblocks: refblocks60, circles: circles54 } = silicon_controlled_rectifier_default;
16622
+ var { paths: paths69, texts: texts79, bounds: bounds69, refblocks: refblocks69, circles: circles63 } = silicon_controlled_rectifier_default;
16406
16623
  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();
16407
16624
 
16408
16625
  // symbols/silicon_controlled_rectifier_vert.ts
16409
- var rotatedSymbol19 = rotateSymbol(silicon_controlled_rectifier_horz_default);
16410
- var texts73 = rotatedSymbol19.primitives.filter(
16626
+ var rotatedSymbol17 = rotateSymbol(silicon_controlled_rectifier_horz_default);
16627
+ var texts80 = rotatedSymbol17.primitives.filter(
16411
16628
  (primitive) => primitive.type === "text"
16412
16629
  );
16413
- var ref42 = texts73.find((text) => text.text === "{REF}");
16414
- ref42.y = 0;
16415
- ref42.anchor = "middle_left";
16416
- var silicon_controlled_rectifier_vert_default = rotatedSymbol19;
16630
+ var ref40 = texts80.find((text) => text.text === "{REF}");
16631
+ ref40.y = 0;
16632
+ ref40.anchor = "middle_left";
16633
+ var silicon_controlled_rectifier_vert_default = rotatedSymbol17;
16417
16634
 
16418
16635
  // assets/generated/solderjumper2_bridged12.json
16419
16636
  var solderjumper2_bridged12_default = {
@@ -19251,48 +19468,48 @@ var spdt_normally_closed_switch_right_default = modifySymbol(spdt_normally_close
19251
19468
 
19252
19469
  // symbols/spdt_normally_closed_switch_down.ts
19253
19470
  var rotated23 = rotateSymbol(spdt_normally_closed_switch_right_default, "down");
19254
- var ref43 = rotated23.primitives.find(
19471
+ var ref41 = rotated23.primitives.find(
19255
19472
  (p) => p.type === "text" && p.text === "{REF}"
19256
19473
  );
19257
19474
  var val38 = rotated23.primitives.find(
19258
19475
  (p) => p.type === "text" && p.text === "{VAL}"
19259
19476
  );
19260
- ref43.anchor = "middle_bottom";
19477
+ ref41.anchor = "middle_bottom";
19261
19478
  val38.anchor = "middle_top";
19262
- ref43.x = 0.44;
19263
- ref43.y += 0.28;
19479
+ ref41.x = 0.44;
19480
+ ref41.y += 0.28;
19264
19481
  val38.y -= 0.28;
19265
19482
  val38.x = 0.44;
19266
19483
  var spdt_normally_closed_switch_down_default = rotated23;
19267
19484
 
19268
19485
  // symbols/spdt_normally_closed_switch_left.ts
19269
19486
  var rotated24 = rotateSymbol(spdt_normally_closed_switch_right_default, "left");
19270
- var ref44 = rotated24.primitives.find(
19487
+ var ref42 = rotated24.primitives.find(
19271
19488
  (p) => p.type === "text" && p.text === "{REF}"
19272
19489
  );
19273
19490
  var val39 = rotated24.primitives.find(
19274
19491
  (p) => p.type === "text" && p.text === "{VAL}"
19275
19492
  );
19276
- ref44.anchor = "middle_bottom";
19493
+ ref42.anchor = "middle_bottom";
19277
19494
  val39.anchor = "middle_top";
19278
- ref44.x = 0;
19279
- ref44.y += 0.625;
19495
+ ref42.x = 0;
19496
+ ref42.y += 0.625;
19280
19497
  val39.y -= 0.695;
19281
19498
  val39.x = 0;
19282
19499
  var spdt_normally_closed_switch_left_default = rotated24;
19283
19500
 
19284
19501
  // symbols/spdt_normally_closed_switch_up.ts
19285
19502
  var rotated25 = rotateSymbol(spdt_normally_closed_switch_right_default, "up");
19286
- var ref45 = rotated25.primitives.find(
19503
+ var ref43 = rotated25.primitives.find(
19287
19504
  (p) => p.type === "text" && p.text === "{REF}"
19288
19505
  );
19289
19506
  var val40 = rotated25.primitives.find(
19290
19507
  (p) => p.type === "text" && p.text === "{VAL}"
19291
19508
  );
19292
- ref45.anchor = "middle_bottom";
19509
+ ref43.anchor = "middle_bottom";
19293
19510
  val40.anchor = "middle_top";
19294
- ref45.x = 0.4;
19295
- ref45.y += 0.28;
19511
+ ref43.x = 0.4;
19512
+ ref43.y += 0.28;
19296
19513
  val40.y -= 0.28;
19297
19514
  val40.x = 0.4;
19298
19515
  var spdt_normally_closed_switch_up_default = rotated25;
@@ -19432,48 +19649,48 @@ var spdt_switch_right_default = modifySymbol(spdt_switch_default).changeTextAnch
19432
19649
 
19433
19650
  // symbols/spdt_switch_down.ts
19434
19651
  var rotated26 = rotateSymbol(spdt_switch_right_default, "down");
19435
- var ref46 = rotated26.primitives.find(
19652
+ var ref44 = rotated26.primitives.find(
19436
19653
  (p) => p.type === "text" && p.text === "{REF}"
19437
19654
  );
19438
19655
  var val41 = rotated26.primitives.find(
19439
19656
  (p) => p.type === "text" && p.text === "{VAL}"
19440
19657
  );
19441
- ref46.anchor = "middle_bottom";
19658
+ ref44.anchor = "middle_bottom";
19442
19659
  val41.anchor = "middle_top";
19443
- ref46.x = 0.44;
19444
- ref46.y += 0.28;
19660
+ ref44.x = 0.44;
19661
+ ref44.y += 0.28;
19445
19662
  val41.y -= 0.28;
19446
19663
  val41.x = 0.44;
19447
19664
  var spdt_switch_down_default = rotated26;
19448
19665
 
19449
19666
  // symbols/spdt_switch_left.ts
19450
19667
  var rotated27 = rotateSymbol(spdt_switch_right_default, "left");
19451
- var ref47 = rotated27.primitives.find(
19668
+ var ref45 = rotated27.primitives.find(
19452
19669
  (p) => p.type === "text" && p.text === "{REF}"
19453
19670
  );
19454
19671
  var val42 = rotated27.primitives.find(
19455
19672
  (p) => p.type === "text" && p.text === "{VAL}"
19456
19673
  );
19457
- ref47.anchor = "middle_bottom";
19674
+ ref45.anchor = "middle_bottom";
19458
19675
  val42.anchor = "middle_top";
19459
- ref47.x = 0;
19460
- ref47.y += 0.625;
19676
+ ref45.x = 0;
19677
+ ref45.y += 0.625;
19461
19678
  val42.y -= 0.695;
19462
19679
  val42.x = 0;
19463
19680
  var spdt_switch_left_default = rotated27;
19464
19681
 
19465
19682
  // symbols/spdt_switch_up.ts
19466
19683
  var rotated28 = rotateSymbol(spdt_switch_right_default, "up");
19467
- var ref48 = rotated28.primitives.find(
19684
+ var ref46 = rotated28.primitives.find(
19468
19685
  (p) => p.type === "text" && p.text === "{REF}"
19469
19686
  );
19470
19687
  var val43 = rotated28.primitives.find(
19471
19688
  (p) => p.type === "text" && p.text === "{VAL}"
19472
19689
  );
19473
- ref48.anchor = "middle_bottom";
19690
+ ref46.anchor = "middle_bottom";
19474
19691
  val43.anchor = "middle_top";
19475
- ref48.x = 0.4;
19476
- ref48.y += 0.28;
19692
+ ref46.x = 0.4;
19693
+ ref46.y += 0.28;
19477
19694
  val43.y -= 0.28;
19478
19695
  val43.x = 0.4;
19479
19696
  var spdt_switch_up_default = rotated28;
@@ -19597,48 +19814,48 @@ var spst_normally_closed_switch_right_default = modifySymbol(spst_normally_close
19597
19814
 
19598
19815
  // symbols/spst_normally_closed_switch_down.ts
19599
19816
  var rotated29 = rotateSymbol(spst_normally_closed_switch_right_default, "down");
19600
- var ref49 = rotated29.primitives.find(
19817
+ var ref47 = rotated29.primitives.find(
19601
19818
  (p) => p.type === "text" && p.text === "{REF}"
19602
19819
  );
19603
19820
  var val44 = rotated29.primitives.find(
19604
19821
  (p) => p.type === "text" && p.text === "{VAL}"
19605
19822
  );
19606
- ref49.anchor = "middle_bottom";
19823
+ ref47.anchor = "middle_bottom";
19607
19824
  val44.anchor = "middle_top";
19608
- ref49.x = 0.3;
19609
- ref49.y += 0.265;
19825
+ ref47.x = 0.3;
19826
+ ref47.y += 0.265;
19610
19827
  val44.y -= 0.265;
19611
19828
  val44.x = 0.3;
19612
19829
  var spst_normally_closed_switch_down_default = rotated29;
19613
19830
 
19614
19831
  // symbols/spst_normally_closed_switch_left.ts
19615
19832
  var rotated30 = rotateSymbol(spst_normally_closed_switch_right_default, "left");
19616
- var ref50 = rotated30.primitives.find(
19833
+ var ref48 = rotated30.primitives.find(
19617
19834
  (p) => p.type === "text" && p.text === "{REF}"
19618
19835
  );
19619
19836
  var val45 = rotated30.primitives.find(
19620
19837
  (p) => p.type === "text" && p.text === "{VAL}"
19621
19838
  );
19622
- ref50.anchor = "middle_bottom";
19839
+ ref48.anchor = "middle_bottom";
19623
19840
  val45.anchor = "middle_top";
19624
- ref50.x = 0;
19625
- ref50.y += 0.57;
19841
+ ref48.x = 0;
19842
+ ref48.y += 0.57;
19626
19843
  val45.y -= 0.57;
19627
19844
  val45.x = 0;
19628
19845
  var spst_normally_closed_switch_left_default = rotated30;
19629
19846
 
19630
19847
  // symbols/spst_normally_closed_switch_up.ts
19631
19848
  var rotated31 = rotateSymbol(spst_normally_closed_switch_right_default, "up");
19632
- var ref51 = rotated31.primitives.find(
19849
+ var ref49 = rotated31.primitives.find(
19633
19850
  (p) => p.type === "text" && p.text === "{REF}"
19634
19851
  );
19635
19852
  var val46 = rotated31.primitives.find(
19636
19853
  (p) => p.type === "text" && p.text === "{VAL}"
19637
19854
  );
19638
- ref51.anchor = "middle_bottom";
19855
+ ref49.anchor = "middle_bottom";
19639
19856
  val46.anchor = "middle_top";
19640
- ref51.x = 0.3;
19641
- ref51.y += 0.265;
19857
+ ref49.x = 0.3;
19858
+ ref49.y += 0.265;
19642
19859
  val46.y -= 0.265;
19643
19860
  val46.x = 0.3;
19644
19861
  var spst_normally_closed_switch_up_default = rotated31;
@@ -19762,48 +19979,48 @@ var spst_switch_right_default = modifySymbol(spst_switch_default).changeTextAnch
19762
19979
 
19763
19980
  // symbols/spst_switch_down.ts
19764
19981
  var rotated32 = rotateSymbol(spst_switch_right_default, "down");
19765
- var ref52 = rotated32.primitives.find(
19982
+ var ref50 = rotated32.primitives.find(
19766
19983
  (p) => p.type === "text" && p.text === "{REF}"
19767
19984
  );
19768
19985
  var val47 = rotated32.primitives.find(
19769
19986
  (p) => p.type === "text" && p.text === "{VAL}"
19770
19987
  );
19771
- ref52.anchor = "middle_bottom";
19988
+ ref50.anchor = "middle_bottom";
19772
19989
  val47.anchor = "middle_top";
19773
- ref52.x = 0.3;
19774
- ref52.y += 0.265;
19990
+ ref50.x = 0.3;
19991
+ ref50.y += 0.265;
19775
19992
  val47.y -= 0.265;
19776
19993
  val47.x = 0.3;
19777
19994
  var spst_switch_down_default = rotated32;
19778
19995
 
19779
19996
  // symbols/spst_switch_left.ts
19780
19997
  var rotated33 = rotateSymbol(spst_switch_right_default, "left");
19781
- var ref53 = rotated33.primitives.find(
19998
+ var ref51 = rotated33.primitives.find(
19782
19999
  (p) => p.type === "text" && p.text === "{REF}"
19783
20000
  );
19784
20001
  var val48 = rotated33.primitives.find(
19785
20002
  (p) => p.type === "text" && p.text === "{VAL}"
19786
20003
  );
19787
- ref53.anchor = "middle_bottom";
20004
+ ref51.anchor = "middle_bottom";
19788
20005
  val48.anchor = "middle_top";
19789
- ref53.x = 0;
19790
- ref53.y += 0.57;
20006
+ ref51.x = 0;
20007
+ ref51.y += 0.57;
19791
20008
  val48.y -= 0.57;
19792
20009
  val48.x = 0;
19793
20010
  var spst_switch_left_default = rotated33;
19794
20011
 
19795
20012
  // symbols/spst_switch_up.ts
19796
20013
  var rotated34 = rotateSymbol(spst_switch_right_default, "up");
19797
- var ref54 = rotated34.primitives.find(
20014
+ var ref52 = rotated34.primitives.find(
19798
20015
  (p) => p.type === "text" && p.text === "{REF}"
19799
20016
  );
19800
20017
  var val49 = rotated34.primitives.find(
19801
20018
  (p) => p.type === "text" && p.text === "{VAL}"
19802
20019
  );
19803
- ref54.anchor = "middle_bottom";
20020
+ ref52.anchor = "middle_bottom";
19804
20021
  val49.anchor = "middle_top";
19805
- ref54.x = 0.3;
19806
- ref54.y += 0.265;
20022
+ ref52.x = 0.3;
20023
+ ref52.y += 0.265;
19807
20024
  val49.y -= 0.265;
19808
20025
  val49.x = 0.3;
19809
20026
  var spst_switch_up_default = rotated34;
@@ -19970,7 +20187,7 @@ var step_recovery_diode_default = {
19970
20187
  };
19971
20188
 
19972
20189
  // symbols/step_recovery_diode_horz.ts
19973
- var { paths: paths61, texts: texts74, bounds: bounds61, refblocks: refblocks61, circles: circles55 } = step_recovery_diode_default;
20190
+ var { paths: paths70, texts: texts81, bounds: bounds70, refblocks: refblocks70, circles: circles64 } = step_recovery_diode_default;
19974
20191
  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();
19975
20192
 
19976
20193
  // symbols/step_recovery_diode_vert.ts
@@ -20063,11 +20280,11 @@ var tachometer_default = {
20063
20280
  };
20064
20281
 
20065
20282
  // symbols/tachometer_horz.ts
20066
- var { paths: paths62, texts: texts75, bounds: bounds62, refblocks: refblocks62, circles: circles56 } = tachometer_default;
20283
+ var { paths: paths71, texts: texts82, bounds: bounds71, refblocks: refblocks71, circles: circles65 } = tachometer_default;
20067
20284
  var tachometer_horz_default = defineSymbol({
20068
20285
  primitives: [
20069
- ...Object.values(paths62),
20070
- ...Object.values(circles56),
20286
+ ...Object.values(paths71),
20287
+ ...Object.values(circles65),
20071
20288
  {
20072
20289
  type: "text",
20073
20290
  text: "{REF}",
@@ -20082,16 +20299,16 @@ var tachometer_horz_default = defineSymbol({
20082
20299
  y: 0.35,
20083
20300
  anchor: "middle_bottom"
20084
20301
  },
20085
- { ...texts75.left1, y: 0.01, anchor: "center", fontSize: 0.2 }
20302
+ { ...texts82.left1, y: 0.01, anchor: "center", fontSize: 0.2 }
20086
20303
  ],
20087
20304
  ports: [
20088
- { ...refblocks62.left1, labels: ["1"] },
20305
+ { ...refblocks71.left1, labels: ["1"] },
20089
20306
  // TODO add more "standard" labels
20090
- { ...refblocks62.right1, labels: ["2"] }
20307
+ { ...refblocks71.right1, labels: ["2"] }
20091
20308
  // TODO add more "standard" labels
20092
20309
  ],
20093
- size: { width: bounds62.width, height: bounds62.height },
20094
- center: { x: bounds62.centerX, y: bounds62.centerY }
20310
+ size: { width: bounds71.width, height: bounds71.height },
20311
+ center: { x: bounds71.centerX, y: bounds71.centerY }
20095
20312
  });
20096
20313
 
20097
20314
  // symbols/tachometer_vert.ts
@@ -20099,13 +20316,13 @@ var { 5: letter4, ...rest4 } = tachometer_horz_default.primitives;
20099
20316
  function isPrimitive4(value) {
20100
20317
  return typeof value === "object";
20101
20318
  }
20102
- var rotatedSymbol20 = rotateSymbol({
20319
+ var rotatedSymbol18 = rotateSymbol({
20103
20320
  ...tachometer_horz_default,
20104
20321
  primitives: Object.values(rest4).filter(isPrimitive4)
20105
20322
  });
20106
20323
  var tachometer_vert_default = {
20107
- ...rotatedSymbol20,
20108
- primitives: [...rotatedSymbol20.primitives, letter4]
20324
+ ...rotatedSymbol18,
20325
+ primitives: [...rotatedSymbol18.primitives, letter4]
20109
20326
  };
20110
20327
 
20111
20328
  // symbols/testpoint_right.ts
@@ -20138,11 +20355,11 @@ var testpoint_right_default = defineSymbol({
20138
20355
 
20139
20356
  // symbols/testpoint_down.ts
20140
20357
  var rotated35 = rotateSymbol(testpoint_right_default, "down");
20141
- var ref55 = rotated35.primitives.find(
20358
+ var ref53 = rotated35.primitives.find(
20142
20359
  (p) => p.type === "text" && p.text === "{REF}"
20143
20360
  );
20144
- if (ref55) {
20145
- ref55.anchor = "middle_top";
20361
+ if (ref53) {
20362
+ ref53.anchor = "middle_top";
20146
20363
  }
20147
20364
  var testpoint_down_default = rotated35;
20148
20365
 
@@ -20151,11 +20368,11 @@ var testpoint_left_default = rotateSymbol(testpoint_right_default, "left");
20151
20368
 
20152
20369
  // symbols/testpoint_up.ts
20153
20370
  var rotated36 = rotateSymbol(testpoint_right_default, "up");
20154
- var ref56 = rotated36.primitives.find(
20371
+ var ref54 = rotated36.primitives.find(
20155
20372
  (p) => p.type === "text" && p.text === "{REF}"
20156
20373
  );
20157
- if (ref56) {
20158
- ref56.anchor = "middle_bottom";
20374
+ if (ref54) {
20375
+ ref54.anchor = "middle_bottom";
20159
20376
  }
20160
20377
  var testpoint_up_default = rotated36;
20161
20378
 
@@ -20276,48 +20493,48 @@ var tilted_ground_right_default = modifySymbol(tilted_ground_default).labelPort(
20276
20493
 
20277
20494
  // symbols/tilted_ground_up.ts
20278
20495
  var rotated37 = rotateSymbol(tilted_ground_right_default, "up");
20279
- var ref57 = rotated37.primitives.find(
20496
+ var ref55 = rotated37.primitives.find(
20280
20497
  (p) => p.type === "text" && p.text === "{REF}"
20281
20498
  );
20282
20499
  var val50 = rotated37.primitives.find(
20283
20500
  (p) => p.type === "text" && p.text === "{VAL}"
20284
20501
  );
20285
- ref57.anchor = "middle_bottom";
20502
+ ref55.anchor = "middle_bottom";
20286
20503
  val50.anchor = "middle_top";
20287
- ref57.x = 0.4;
20288
- ref57.y += 0.2;
20504
+ ref55.x = 0.4;
20505
+ ref55.y += 0.2;
20289
20506
  val50.y -= 0.3;
20290
20507
  val50.x = 0.4;
20291
20508
  var tilted_ground_up_default = rotated37;
20292
20509
 
20293
20510
  // symbols/tilted_ground_down.ts
20294
20511
  var rotated38 = flipSymbolOverXAxis(tilted_ground_up_default);
20295
- var ref58 = rotated38.primitives.find(
20512
+ var ref56 = rotated38.primitives.find(
20296
20513
  (p) => p.type === "text" && p.text === "{REF}"
20297
20514
  );
20298
20515
  var val51 = rotated38.primitives.find(
20299
20516
  (p) => p.type === "text" && p.text === "{VAL}"
20300
20517
  );
20301
- ref58.anchor = "middle_bottom";
20518
+ ref56.anchor = "middle_bottom";
20302
20519
  val51.anchor = "middle_top";
20303
- ref58.x = 0.35;
20304
- ref58.y += 0.4;
20520
+ ref56.x = 0.35;
20521
+ ref56.y += 0.4;
20305
20522
  val51.y -= 0.4;
20306
20523
  val51.x = 0.35;
20307
20524
  var tilted_ground_down_default = rotated38;
20308
20525
 
20309
20526
  // symbols/tilted_ground_left.ts
20310
20527
  var rotated39 = rotateSymbol(tilted_ground_right_default, "left");
20311
- var ref59 = rotated39.primitives.find(
20528
+ var ref57 = rotated39.primitives.find(
20312
20529
  (p) => p.type === "text" && p.text === "{REF}"
20313
20530
  );
20314
20531
  var val52 = rotated39.primitives.find(
20315
20532
  (p) => p.type === "text" && p.text === "{VAL}"
20316
20533
  );
20317
- ref59.anchor = "middle_bottom";
20534
+ ref57.anchor = "middle_bottom";
20318
20535
  val52.anchor = "middle_top";
20319
- ref59.x = 0;
20320
- ref59.y += 0.5;
20536
+ ref57.x = 0;
20537
+ ref57.y += 0.5;
20321
20538
  val52.y -= 0.6;
20322
20539
  val52.x = 0;
20323
20540
  var tilted_ground_left_default = rotated39;
@@ -20513,19 +20730,19 @@ var triac_default = {
20513
20730
  };
20514
20731
 
20515
20732
  // symbols/triac_horz.ts
20516
- var { paths: paths63, texts: texts76, bounds: bounds63, refblocks: refblocks63, circles: circles57 } = triac_default;
20733
+ var { paths: paths72, texts: texts83, bounds: bounds72, refblocks: refblocks72, circles: circles66 } = triac_default;
20517
20734
  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();
20518
20735
 
20519
20736
  // symbols/triac_vert.ts
20520
- var rotatedSymbol21 = rotateSymbol(triac_horz_default);
20521
- var texts77 = rotatedSymbol21.primitives.filter(
20737
+ var rotatedSymbol19 = rotateSymbol(triac_horz_default);
20738
+ var texts84 = rotatedSymbol19.primitives.filter(
20522
20739
  (primitive) => primitive.type === "text"
20523
20740
  );
20524
- var ref60 = texts77.find((text) => text.text === "{REF}");
20525
- var val53 = texts77.find((text) => text.text === "{VAL}");
20526
- ref60.y = 0;
20741
+ var ref58 = texts84.find((text) => text.text === "{REF}");
20742
+ var val53 = texts84.find((text) => text.text === "{VAL}");
20743
+ ref58.y = 0;
20527
20744
  val53.y = 0;
20528
- var triac_vert_default = rotatedSymbol21;
20745
+ var triac_vert_default = rotatedSymbol19;
20529
20746
 
20530
20747
  // assets/generated/tunnel_diode.json
20531
20748
  var tunnel_diode_default = {
@@ -20689,33 +20906,33 @@ var tunnel_diode_default = {
20689
20906
  };
20690
20907
 
20691
20908
  // symbols/tunnel_diode_horz.ts
20692
- var { paths: paths64, texts: texts78, bounds: bounds64, refblocks: refblocks64, circles: circles58 } = tunnel_diode_default;
20909
+ var { paths: paths73, texts: texts85, bounds: bounds73, refblocks: refblocks73, circles: circles67 } = tunnel_diode_default;
20693
20910
  var tunnel_diode_horz_default = defineSymbol({
20694
20911
  primitives: [
20695
- ...Object.values(paths64),
20696
- ...Object.values(circles58),
20697
- { ...texts78.top1, anchor: "middle_bottom" },
20698
- { ...texts78.bottom1, anchor: "middle_top" }
20912
+ ...Object.values(paths73),
20913
+ ...Object.values(circles67),
20914
+ { ...texts85.top1, anchor: "middle_bottom" },
20915
+ { ...texts85.bottom1, anchor: "middle_top" }
20699
20916
  ],
20700
20917
  ports: [
20701
- { ...refblocks64.left1, labels: ["1"] },
20918
+ { ...refblocks73.left1, labels: ["1"] },
20702
20919
  // TODO add more "standard" labels
20703
- { ...refblocks64.right1, labels: ["2"] }
20920
+ { ...refblocks73.right1, labels: ["2"] }
20704
20921
  // TODO add more "standard" labels
20705
20922
  ],
20706
- size: { width: bounds64.width, height: bounds64.height },
20707
- center: { x: bounds64.centerX, y: bounds64.centerY }
20923
+ size: { width: bounds73.width, height: bounds73.height },
20924
+ center: { x: bounds73.centerX, y: bounds73.centerY }
20708
20925
  });
20709
20926
 
20710
20927
  // symbols/tunnel_diode_vert.ts
20711
20928
  var rotated40 = rotateSymbol(tunnel_diode_horz_default);
20712
- var ref61 = rotated40.primitives.find(
20929
+ var ref59 = rotated40.primitives.find(
20713
20930
  (p) => p.type === "text" && p.text === "{REF}"
20714
20931
  );
20715
20932
  var val54 = rotated40.primitives.find(
20716
20933
  (p) => p.type === "text" && p.text === "{VAL}"
20717
20934
  );
20718
- ref61.anchor = "middle_left";
20935
+ ref59.anchor = "middle_left";
20719
20936
  val54.anchor = "middle_right";
20720
20937
  var tunnel_diode_vert_default = rotated40;
20721
20938
 
@@ -20887,37 +21104,37 @@ var unijunction_transistor_default = {
20887
21104
  };
20888
21105
 
20889
21106
  // symbols/unijunction_transistor_horz.ts
20890
- var { paths: paths65, texts: texts79, bounds: bounds65, refblocks: refblocks65, circles: circles59 } = unijunction_transistor_default;
21107
+ var { paths: paths74, texts: texts86, bounds: bounds74, refblocks: refblocks74, circles: circles68 } = unijunction_transistor_default;
20891
21108
  var unijunction_transistor_horz_default = defineSymbol({
20892
21109
  primitives: [
20893
- ...Object.values(paths65),
20894
- ...Object.values(circles59),
20895
- { ...texts79.top1, anchor: "middle_left" },
20896
- { ...texts79.bottom1, anchor: "middle_right" }
21110
+ ...Object.values(paths74),
21111
+ ...Object.values(circles68),
21112
+ { ...texts86.top1, anchor: "middle_left" },
21113
+ { ...texts86.bottom1, anchor: "middle_right" }
20897
21114
  ],
20898
21115
  ports: [
20899
- { ...refblocks65.top1, labels: ["1"] },
21116
+ { ...refblocks74.top1, labels: ["1"] },
20900
21117
  // TODO add more "standard" labels
20901
- { ...refblocks65.bottom1, labels: ["2"] },
21118
+ { ...refblocks74.bottom1, labels: ["2"] },
20902
21119
  // TODO add more "standard" labels
20903
- { ...refblocks65.left1, labels: ["3"] }
21120
+ { ...refblocks74.left1, labels: ["3"] }
20904
21121
  // TODO add more "standard" labels
20905
21122
  ],
20906
- size: { width: bounds65.width, height: bounds65.height },
20907
- center: { x: bounds65.centerX, y: bounds65.centerY }
21123
+ size: { width: bounds74.width, height: bounds74.height },
21124
+ center: { x: bounds74.centerX, y: bounds74.centerY }
20908
21125
  });
20909
21126
 
20910
21127
  // symbols/unijunction_transistor_vert.ts
20911
- var rotatedSymbol22 = rotateSymbol(unijunction_transistor_horz_default);
20912
- var texts80 = rotatedSymbol22.primitives.filter(
21128
+ var rotatedSymbol20 = rotateSymbol(unijunction_transistor_horz_default);
21129
+ var texts87 = rotatedSymbol20.primitives.filter(
20913
21130
  (primitive) => primitive.type === "text"
20914
21131
  );
20915
- var ref62 = texts80.find((text) => text.text === "{REF}");
20916
- ref62.y = 0.1;
20917
- var val55 = texts80.find((text) => text.text === "{VAL}");
21132
+ var ref60 = texts87.find((text) => text.text === "{REF}");
21133
+ ref60.y = 0.1;
21134
+ var val55 = texts87.find((text) => text.text === "{VAL}");
20918
21135
  val55.y = 0.1;
20919
21136
  val55.x = -0.4;
20920
- var unijunction_transistor_vert_default = rotatedSymbol22;
21137
+ var unijunction_transistor_vert_default = rotatedSymbol20;
20921
21138
 
20922
21139
  // assets/generated/var_meter.json
20923
21140
  var var_meter_default = {
@@ -21006,33 +21223,33 @@ var var_meter_default = {
21006
21223
  };
21007
21224
 
21008
21225
  // symbols/var_meter_horz.ts
21009
- var { paths: paths66, texts: texts81, bounds: bounds66, refblocks: refblocks66, circles: circles60 } = var_meter_default;
21226
+ var { paths: paths75, texts: texts88, bounds: bounds75, refblocks: refblocks75, circles: circles69 } = var_meter_default;
21010
21227
  var var_meter_horz_default = defineSymbol({
21011
21228
  primitives: [
21012
- ...Object.values(paths66),
21013
- ...Object.values(circles60),
21229
+ ...Object.values(paths75),
21230
+ ...Object.values(circles69),
21014
21231
  {
21015
- ...texts81.top1,
21232
+ ...texts88.top1,
21016
21233
  x: 0,
21017
21234
  y: -0.3594553499999995,
21018
21235
  anchor: "middle_top"
21019
21236
  },
21020
21237
  {
21021
- ...texts81.bottom1,
21238
+ ...texts88.bottom1,
21022
21239
  x: 0,
21023
21240
  y: 0.35,
21024
21241
  anchor: "middle_bottom"
21025
21242
  },
21026
- { ...texts81.left1, x: -0.02, y: 0.01, fontSize: 0.2, anchor: "center" }
21243
+ { ...texts88.left1, x: -0.02, y: 0.01, fontSize: 0.2, anchor: "center" }
21027
21244
  ],
21028
21245
  ports: [
21029
- { ...refblocks66.left1, labels: ["1"] },
21246
+ { ...refblocks75.left1, labels: ["1"] },
21030
21247
  // TODO add more "standard" labels
21031
- { ...refblocks66.right1, labels: ["2"] }
21248
+ { ...refblocks75.right1, labels: ["2"] }
21032
21249
  // TODO add more "standard" labels
21033
21250
  ],
21034
- size: { width: bounds66.width, height: bounds66.height },
21035
- center: { x: bounds66.centerX, y: bounds66.centerY }
21251
+ size: { width: bounds75.width, height: bounds75.height },
21252
+ center: { x: bounds75.centerX, y: bounds75.centerY }
21036
21253
  });
21037
21254
 
21038
21255
  // symbols/var_meter_vert.ts
@@ -21185,33 +21402,33 @@ var varactor_diode_default = {
21185
21402
  };
21186
21403
 
21187
21404
  // symbols/varactor_diode_horz.ts
21188
- var { paths: paths67, texts: texts82, bounds: bounds67, refblocks: refblocks67, circles: circles61 } = varactor_diode_default;
21405
+ var { paths: paths76, texts: texts89, bounds: bounds76, refblocks: refblocks76, circles: circles70 } = varactor_diode_default;
21189
21406
  var varactor_diode_horz_default = defineSymbol({
21190
21407
  primitives: [
21191
- ...Object.values(paths67),
21192
- ...Object.values(circles61),
21193
- { ...texts82.top1, anchor: "middle_bottom" },
21194
- { ...texts82.bottom1, anchor: "middle_top" }
21408
+ ...Object.values(paths76),
21409
+ ...Object.values(circles70),
21410
+ { ...texts89.top1, anchor: "middle_bottom" },
21411
+ { ...texts89.bottom1, anchor: "middle_top" }
21195
21412
  ],
21196
21413
  ports: [
21197
- { ...refblocks67.left1, labels: ["1"] },
21414
+ { ...refblocks76.left1, labels: ["1"] },
21198
21415
  // TODO add more "standard" labels
21199
- { ...refblocks67.right1, labels: ["2"] }
21416
+ { ...refblocks76.right1, labels: ["2"] }
21200
21417
  // TODO add more "standard" labels
21201
21418
  ],
21202
- size: { width: bounds67.width, height: bounds67.height },
21203
- center: { x: bounds67.centerX, y: bounds67.centerY }
21419
+ size: { width: bounds76.width, height: bounds76.height },
21420
+ center: { x: bounds76.centerX, y: bounds76.centerY }
21204
21421
  });
21205
21422
 
21206
21423
  // symbols/varactor_diode_vert.ts
21207
21424
  var rotated41 = rotateSymbol(varactor_diode_horz_default);
21208
- var ref63 = rotated41.primitives.find(
21425
+ var ref61 = rotated41.primitives.find(
21209
21426
  (p) => p.type === "text" && p.text === "{REF}"
21210
21427
  );
21211
21428
  var val56 = rotated41.primitives.find(
21212
21429
  (p) => p.type === "text" && p.text === "{VAL}"
21213
21430
  );
21214
- ref63.anchor = "middle_left";
21431
+ ref61.anchor = "middle_left";
21215
21432
  val56.anchor = "middle_right";
21216
21433
  var varactor_diode_vert_default = rotated41;
21217
21434
 
@@ -21348,26 +21565,26 @@ var varistor_default = {
21348
21565
  };
21349
21566
 
21350
21567
  // symbols/varistor_horz.ts
21351
- var { paths: paths68, texts: texts83, bounds: bounds68, refblocks: refblocks68 } = varistor_default;
21568
+ var { paths: paths77, texts: texts90, bounds: bounds77, refblocks: refblocks77 } = varistor_default;
21352
21569
  var varistor_horz_default = defineSymbol({
21353
21570
  primitives: [
21354
- ...Object.values(paths68),
21355
- { ...texts83.top1, anchor: "middle_left" },
21356
- { ...texts83.bottom1, anchor: "middle_right" }
21571
+ ...Object.values(paths77),
21572
+ { ...texts90.top1, anchor: "middle_left" },
21573
+ { ...texts90.bottom1, anchor: "middle_right" }
21357
21574
  ],
21358
21575
  ports: [
21359
21576
  {
21360
- ...refblocks68.left1,
21577
+ ...refblocks77.left1,
21361
21578
  labels: ["1", "-"]
21362
21579
  },
21363
21580
  {
21364
- ...refblocks68.right1,
21581
+ ...refblocks77.right1,
21365
21582
  labels: ["2", "+"]
21366
21583
  }
21367
21584
  ],
21368
- size: { width: bounds68.width, height: bounds68.height },
21585
+ size: { width: bounds77.width, height: bounds77.height },
21369
21586
  //{ width: 1, height: 0.24 },
21370
- center: { x: bounds68.centerX, y: bounds68.centerY }
21587
+ center: { x: bounds77.centerX, y: bounds77.centerY }
21371
21588
  });
21372
21589
 
21373
21590
  // symbols/varistor_vert.ts
@@ -21460,11 +21677,11 @@ var varmeter_default = {
21460
21677
  };
21461
21678
 
21462
21679
  // symbols/varmeter_horz.ts
21463
- var { paths: paths69, texts: texts84, bounds: bounds69, refblocks: refblocks69, circles: circles62 } = varmeter_default;
21680
+ var { paths: paths78, texts: texts91, bounds: bounds78, refblocks: refblocks78, circles: circles71 } = varmeter_default;
21464
21681
  var varmeter_horz_default = defineSymbol({
21465
21682
  primitives: [
21466
- ...Object.values(paths69),
21467
- ...Object.values(circles62),
21683
+ ...Object.values(paths78),
21684
+ ...Object.values(circles71),
21468
21685
  {
21469
21686
  type: "text",
21470
21687
  text: "{REF}",
@@ -21479,16 +21696,16 @@ var varmeter_horz_default = defineSymbol({
21479
21696
  y: 0.35,
21480
21697
  anchor: "middle_bottom"
21481
21698
  },
21482
- { ...texts84.left1, anchor: "center", y: 0.02, fontSize: 0.2 }
21699
+ { ...texts91.left1, anchor: "center", y: 0.02, fontSize: 0.2 }
21483
21700
  ],
21484
21701
  ports: [
21485
- { ...refblocks69.left1, labels: ["1"] },
21702
+ { ...refblocks78.left1, labels: ["1"] },
21486
21703
  // TODO add more "standard" labels
21487
- { ...refblocks69.right1, labels: ["2"] }
21704
+ { ...refblocks78.right1, labels: ["2"] }
21488
21705
  // TODO add more "standard" labels
21489
21706
  ],
21490
- size: { width: bounds69.width, height: bounds69.height },
21491
- center: { x: bounds69.centerX, y: bounds69.centerY }
21707
+ size: { width: bounds78.width, height: bounds78.height },
21708
+ center: { x: bounds78.centerX, y: bounds78.centerY }
21492
21709
  });
21493
21710
 
21494
21711
  // symbols/varmeter_vert.ts
@@ -21496,13 +21713,13 @@ var { 5: letter5, ...rest5 } = varmeter_horz_default.primitives;
21496
21713
  function isPrimitive5(value) {
21497
21714
  return typeof value === "object";
21498
21715
  }
21499
- var rotatedSymbol23 = rotateSymbol({
21716
+ var rotatedSymbol21 = rotateSymbol({
21500
21717
  ...varmeter_horz_default,
21501
21718
  primitives: Object.values(rest5).filter(isPrimitive5)
21502
21719
  });
21503
21720
  var varmeter_vert_default = {
21504
- ...rotatedSymbol23,
21505
- primitives: [...rotatedSymbol23.primitives, letter5]
21721
+ ...rotatedSymbol21,
21722
+ primitives: [...rotatedSymbol21.primitives, letter5]
21506
21723
  };
21507
21724
 
21508
21725
  // assets/generated/vcc.json
@@ -21693,7 +21910,7 @@ var volt_meter_default = {
21693
21910
  };
21694
21911
 
21695
21912
  // symbols/volt_meter_horz.ts
21696
- var { paths: paths70, texts: texts85, bounds: bounds70, circles: circles63, refblocks: refblocks70 } = volt_meter_default;
21913
+ var { paths: paths79, texts: texts92, bounds: bounds79, circles: circles72, refblocks: refblocks79 } = volt_meter_default;
21697
21914
  var volt_meter_horz_default = modifySymbol(volt_meter_default).changeTextAnchor("{VAL}", "middle_top").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_bottom").build();
21698
21915
 
21699
21916
  // symbols/volt_meter_vert.ts
@@ -21786,11 +22003,11 @@ var watt_hour_meter_default = {
21786
22003
  };
21787
22004
 
21788
22005
  // symbols/watt_hour_meter_horz.ts
21789
- var { paths: paths71, texts: texts86, bounds: bounds71, refblocks: refblocks71, circles: circles64 } = watt_hour_meter_default;
22006
+ var { paths: paths80, texts: texts93, bounds: bounds80, refblocks: refblocks80, circles: circles73 } = watt_hour_meter_default;
21790
22007
  var watt_hour_meter_horz_default = defineSymbol({
21791
22008
  primitives: [
21792
- ...Object.values(paths71),
21793
- ...Object.values(circles64),
22009
+ ...Object.values(paths80),
22010
+ ...Object.values(circles73),
21794
22011
  {
21795
22012
  type: "text",
21796
22013
  text: "{REF}",
@@ -21805,16 +22022,16 @@ var watt_hour_meter_horz_default = defineSymbol({
21805
22022
  y: 0.35,
21806
22023
  anchor: "middle_bottom"
21807
22024
  },
21808
- { ...texts86.left1, anchor: "center", y: 0.01, fontSize: 0.2 }
22025
+ { ...texts93.left1, anchor: "center", y: 0.01, fontSize: 0.2 }
21809
22026
  ],
21810
22027
  ports: [
21811
- { ...refblocks71.left1, labels: ["1"] },
22028
+ { ...refblocks80.left1, labels: ["1"] },
21812
22029
  // TODO add more "standard" labels
21813
- { ...refblocks71.right1, labels: ["2"] }
22030
+ { ...refblocks80.right1, labels: ["2"] }
21814
22031
  // TODO add more "standard" labels
21815
22032
  ],
21816
- size: { width: bounds71.width, height: bounds71.height },
21817
- center: { x: bounds71.centerX, y: bounds71.centerY }
22033
+ size: { width: bounds80.width, height: bounds80.height },
22034
+ center: { x: bounds80.centerX, y: bounds80.centerY }
21818
22035
  });
21819
22036
 
21820
22037
  // symbols/watt_hour_meter_vert.ts
@@ -21822,13 +22039,13 @@ var { 5: letter6, ...rest6 } = watt_hour_meter_horz_default.primitives;
21822
22039
  function isPrimitive6(value) {
21823
22040
  return typeof value === "object";
21824
22041
  }
21825
- var rotatedSymbol24 = rotateSymbol({
22042
+ var rotatedSymbol22 = rotateSymbol({
21826
22043
  ...watt_hour_meter_horz_default,
21827
22044
  primitives: Object.values(rest6).filter(isPrimitive6)
21828
22045
  });
21829
22046
  var watt_hour_meter_vert_default = {
21830
- ...rotatedSymbol24,
21831
- primitives: [...rotatedSymbol24.primitives, letter6]
22047
+ ...rotatedSymbol22,
22048
+ primitives: [...rotatedSymbol22.primitives, letter6]
21832
22049
  };
21833
22050
 
21834
22051
  // assets/generated/wattmeter.json
@@ -21918,11 +22135,11 @@ var wattmeter_default = {
21918
22135
  };
21919
22136
 
21920
22137
  // symbols/wattmeter_horz.ts
21921
- var { paths: paths72, texts: texts87, bounds: bounds72, refblocks: refblocks72, circles: circles65 } = wattmeter_default;
22138
+ var { paths: paths81, texts: texts94, bounds: bounds81, refblocks: refblocks81, circles: circles74 } = wattmeter_default;
21922
22139
  var wattmeter_horz_default = defineSymbol({
21923
22140
  primitives: [
21924
- ...Object.values(paths72),
21925
- ...Object.values(circles65),
22141
+ ...Object.values(paths81),
22142
+ ...Object.values(circles74),
21926
22143
  {
21927
22144
  type: "text",
21928
22145
  text: "{REF}",
@@ -21937,16 +22154,16 @@ var wattmeter_horz_default = defineSymbol({
21937
22154
  y: 0.35,
21938
22155
  anchor: "middle_bottom"
21939
22156
  },
21940
- { ...texts87.left1, anchor: "center", y: 0.01, fontSize: 0.3 }
22157
+ { ...texts94.left1, anchor: "center", y: 0.01, fontSize: 0.3 }
21941
22158
  ],
21942
22159
  ports: [
21943
- { ...refblocks72.left1, labels: ["1"] },
22160
+ { ...refblocks81.left1, labels: ["1"] },
21944
22161
  // TODO add more "standard" labels
21945
- { ...refblocks72.right1, labels: ["2"] }
22162
+ { ...refblocks81.right1, labels: ["2"] }
21946
22163
  // TODO add more "standard" labels
21947
22164
  ],
21948
- size: { width: bounds72.width, height: bounds72.height },
21949
- center: { x: bounds72.centerX, y: bounds72.centerY }
22165
+ size: { width: bounds81.width, height: bounds81.height },
22166
+ center: { x: bounds81.centerX, y: bounds81.centerY }
21950
22167
  });
21951
22168
 
21952
22169
  // symbols/wattmeter_vert.ts
@@ -21954,13 +22171,13 @@ var { 5: letter7, ...rest7 } = wattmeter_horz_default.primitives;
21954
22171
  function isPrimitive7(value) {
21955
22172
  return typeof value === "object";
21956
22173
  }
21957
- var rotatedSymbol25 = rotateSymbol({
22174
+ var rotatedSymbol23 = rotateSymbol({
21958
22175
  ...wattmeter_horz_default,
21959
22176
  primitives: Object.values(rest7).filter(isPrimitive7)
21960
22177
  });
21961
22178
  var wattmeter_vert_default = {
21962
- ...rotatedSymbol25,
21963
- primitives: [...rotatedSymbol25.primitives, letter7]
22179
+ ...rotatedSymbol23,
22180
+ primitives: [...rotatedSymbol23.primitives, letter7]
21964
22181
  };
21965
22182
 
21966
22183
  // assets/generated/zener_diode.json
@@ -22110,33 +22327,33 @@ var zener_diode_default = {
22110
22327
  };
22111
22328
 
22112
22329
  // symbols/zener_diode_horz.ts
22113
- var { paths: paths73, texts: texts88, bounds: bounds73, refblocks: refblocks73, circles: circles66 } = zener_diode_default;
22330
+ var { paths: paths82, texts: texts95, bounds: bounds82, refblocks: refblocks82, circles: circles75 } = zener_diode_default;
22114
22331
  var zener_diode_horz_default = defineSymbol({
22115
22332
  primitives: [
22116
- ...Object.values(paths73),
22117
- ...Object.values(circles66),
22118
- { ...texts88.top1, anchor: "middle_bottom" },
22119
- { ...texts88.bottom1, anchor: "middle_top" }
22333
+ ...Object.values(paths82),
22334
+ ...Object.values(circles75),
22335
+ { ...texts95.top1, anchor: "middle_bottom" },
22336
+ { ...texts95.bottom1, anchor: "middle_top" }
22120
22337
  ],
22121
22338
  ports: [
22122
- { ...refblocks73.left1, labels: ["1"] },
22339
+ { ...refblocks82.left1, labels: ["1"] },
22123
22340
  // TODO add more "standard" labels
22124
- { ...refblocks73.right1, labels: ["2"] }
22341
+ { ...refblocks82.right1, labels: ["2"] }
22125
22342
  // TODO add more "standard" labels
22126
22343
  ],
22127
- size: { width: bounds73.width, height: bounds73.height },
22128
- center: { x: bounds73.centerX, y: bounds73.centerY }
22344
+ size: { width: bounds82.width, height: bounds82.height },
22345
+ center: { x: bounds82.centerX, y: bounds82.centerY }
22129
22346
  });
22130
22347
 
22131
22348
  // symbols/zener_diode_vert.ts
22132
22349
  var rotated42 = rotateSymbol(zener_diode_horz_default);
22133
- var ref64 = rotated42.primitives.find(
22350
+ var ref62 = rotated42.primitives.find(
22134
22351
  (p) => p.type === "text" && p.text === "{REF}"
22135
22352
  );
22136
22353
  var val57 = rotated42.primitives.find(
22137
22354
  (p) => p.type === "text" && p.text === "{VAL}"
22138
22355
  );
22139
- ref64.anchor = "middle_left";
22356
+ ref62.anchor = "middle_left";
22140
22357
  val57.anchor = "middle_right";
22141
22358
  var zener_diode_vert_default = rotated42;
22142
22359
 
@@ -22264,7 +22481,11 @@ var symbols_index_default = {
22264
22481
  "not_connected_left": not_connected_left_default,
22265
22482
  "not_connected_right": not_connected_right_default,
22266
22483
  "not_connected_up": not_connected_up_default,
22484
+ "npn_bipolar_transistor_down": npn_bipolar_transistor_down_default,
22267
22485
  "npn_bipolar_transistor_horz": npn_bipolar_transistor_horz_default,
22486
+ "npn_bipolar_transistor_left": npn_bipolar_transistor_left_default,
22487
+ "npn_bipolar_transistor_right": npn_bipolar_transistor_right_default,
22488
+ "npn_bipolar_transistor_up": npn_bipolar_transistor_up_default,
22268
22489
  "npn_bipolar_transistor_vert": npn_bipolar_transistor_vert_default,
22269
22490
  "opamp_no_power_down": opamp_no_power_down_default,
22270
22491
  "opamp_no_power_left": opamp_no_power_left_default,
@@ -22282,7 +22503,11 @@ var symbols_index_default = {
22282
22503
  "photodiode_vert": photodiode_vert_default,
22283
22504
  "pjfet_transistor_horz": pjfet_transistor_horz_default,
22284
22505
  "pjfet_transistor_vert": pjfet_transistor_vert_default,
22506
+ "pnp_bipolar_transistor_down": pnp_bipolar_transistor_down_default,
22285
22507
  "pnp_bipolar_transistor_horz": pnp_bipolar_transistor_horz_default,
22508
+ "pnp_bipolar_transistor_left": pnp_bipolar_transistor_left_default,
22509
+ "pnp_bipolar_transistor_right": pnp_bipolar_transistor_right_default,
22510
+ "pnp_bipolar_transistor_up": pnp_bipolar_transistor_up_default,
22286
22511
  "pnp_bipolar_transistor_vert": pnp_bipolar_transistor_vert_default,
22287
22512
  "potentiometer_horz": potentiometer_horz_default,
22288
22513
  "potentiometer_vert": potentiometer_vert_default,