schematic-symbols 0.0.166 → 0.0.168

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 bounds85 = getBoundsOfPrimitives(symbol8.primitives);
48
48
  size = {
49
- width: bounds74.maxX - bounds74.minX,
50
- height: bounds74.maxY - bounds74.minY
49
+ width: bounds85.maxX - bounds85.minX,
50
+ height: bounds85.maxY - bounds85.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 bounds85 = 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: bounds85.maxX - bounds85.minX,
504
+ height: bounds85.maxY - bounds85.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 bounds85 = getBoundsOfPrimitives(this.symbol.primitives);
906
906
  return {
907
- width: bounds74.maxX - bounds74.minX,
908
- height: bounds74.maxY - bounds74.minY
907
+ width: bounds85.maxX - bounds85.minX,
908
+ height: bounds85.maxY - bounds85.minY
909
909
  };
910
910
  }
911
911
  build() {
@@ -12116,16 +12116,149 @@ 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 { paths: paths50, texts: texts55, bounds: bounds50, refblocks: refblocks50, circles: circles46 } = npn_bipolar_transistor_default;
12237
+ var npn_bipolar_transistor_vert_default = modifySymbol({
12238
+ primitives: [
12239
+ ...Object.values(paths50),
12240
+ ...Object.values(circles46),
12241
+ {
12242
+ type: "text",
12243
+ text: "{REF}",
12244
+ x: -0.1,
12245
+ y: -0.3094553499999995
12246
+ },
12247
+ {
12248
+ type: "text",
12249
+ text: "{VAL}",
12250
+ x: -0.1,
12251
+ y: 0.3094553499999995
12252
+ }
12253
+ ],
12254
+ ports: [
12255
+ { ...refblocks50.top1, labels: ["1"] },
12256
+ { ...refblocks50.bottom1, labels: ["3"] },
12257
+ { ...refblocks50.left1, labels: ["2"] }
12258
+ ],
12259
+ size: { width: bounds50.width, height: bounds50.height },
12260
+ center: { x: bounds50.centerX, y: bounds50.centerY }
12261
+ }).rotateRightFacingSymbol("left").changeTextAnchor("{REF}", "middle_left").changeTextAnchor("{VAL}", "middle_left").build();
12129
12262
 
12130
12263
  // assets/generated/opamp_no_power.json
12131
12264
  var opamp_no_power_default = {
@@ -12747,38 +12880,38 @@ var p_channel_d_mosfet_transistor_default = {
12747
12880
  };
12748
12881
 
12749
12882
  // 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;
12883
+ var { paths: paths51, texts: texts56, bounds: bounds51, refblocks: refblocks51, circles: circles47 } = p_channel_d_mosfet_transistor_default;
12751
12884
  var p_channel_d_mosfet_transistor_horz_default = defineSymbol({
12752
12885
  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 }
12886
+ ...Object.values(paths51),
12887
+ ...Object.values(circles47),
12888
+ { ...texts56.top1, anchor: "middle_right", x: 0 },
12889
+ { ...texts56.bottom1, anchor: "middle_right", x: 0 }
12757
12890
  ],
12758
12891
  ports: [
12759
- { ...refblocks46.top1, labels: ["1", "drain"] },
12892
+ { ...refblocks51.top1, labels: ["1", "drain"] },
12760
12893
  // TODO add more "standard" labels
12761
- { ...refblocks46.bottom1, labels: ["2", "source"] },
12894
+ { ...refblocks51.bottom1, labels: ["2", "source"] },
12762
12895
  // TODO add more "standard" labels
12763
- { ...refblocks46.left1, labels: ["3", "gate"] }
12896
+ { ...refblocks51.left1, labels: ["3", "gate"] }
12764
12897
  // TODO add more "standard" labels
12765
12898
  ],
12766
- size: { width: bounds46.width, height: bounds46.height },
12767
- center: { x: bounds46.centerX, y: bounds46.centerY }
12899
+ size: { width: bounds51.width, height: bounds51.height },
12900
+ center: { x: bounds51.centerX, y: bounds51.centerY }
12768
12901
  });
12769
12902
 
12770
12903
  // 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}");
12904
+ var rotatedSymbol12 = rotateSymbol(p_channel_d_mosfet_transistor_horz_default);
12905
+ var texts57 = rotatedSymbol12.primitives.filter((p) => p.type === "text");
12906
+ var val27 = texts57.find((t) => t.text === "{VAL}");
12774
12907
  val27.x = -0.35;
12775
12908
  val27.y = 0;
12776
12909
  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;
12910
+ var ref28 = texts57.find((t) => t.text === "{REF}");
12911
+ ref28.y = 0;
12912
+ ref28.x = 0.35;
12913
+ ref28.anchor = "middle_left";
12914
+ var p_channel_d_mosfet_transistor_vert_default = rotatedSymbol12;
12782
12915
 
12783
12916
  // assets/generated/p_channel_e_mosfet_transistor.json
12784
12917
  var p_channel_e_mosfet_transistor_default = {
@@ -13008,38 +13141,38 @@ var p_channel_e_mosfet_transistor_default = {
13008
13141
  };
13009
13142
 
13010
13143
  // 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;
13144
+ var { paths: paths52, texts: texts58, bounds: bounds52, refblocks: refblocks52, circles: circles48 } = p_channel_e_mosfet_transistor_default;
13012
13145
  var p_channel_e_mosfet_transistor_horz_default = defineSymbol({
13013
13146
  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 }
13147
+ ...Object.values(paths52),
13148
+ ...Object.values(circles48),
13149
+ { ...texts58.top1, anchor: "middle_right", x: 0 },
13150
+ { ...texts58.bottom1, anchor: "middle_right", x: 0 }
13018
13151
  ],
13019
13152
  ports: [
13020
- { ...refblocks47.top1, labels: ["1", "drain"] },
13153
+ { ...refblocks52.top1, labels: ["1", "drain"] },
13021
13154
  // TODO add more "standard" labels
13022
- { ...refblocks47.bottom1, labels: ["2", "source"] },
13155
+ { ...refblocks52.bottom1, labels: ["2", "source"] },
13023
13156
  // TODO add more "standard" labels
13024
- { ...refblocks47.left1, labels: ["3", "gate"] }
13157
+ { ...refblocks52.left1, labels: ["3", "gate"] }
13025
13158
  // TODO add more "standard" labels
13026
13159
  ],
13027
- size: { width: bounds47.width, height: bounds47.height },
13028
- center: { x: bounds47.centerX, y: bounds47.centerY }
13160
+ size: { width: bounds52.width, height: bounds52.height },
13161
+ center: { x: bounds52.centerX, y: bounds52.centerY }
13029
13162
  });
13030
13163
 
13031
13164
  // 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}");
13165
+ var rotatedSymbol13 = rotateSymbol(p_channel_e_mosfet_transistor_horz_default);
13166
+ var texts59 = rotatedSymbol13.primitives.filter((p) => p.type === "text");
13167
+ var val28 = texts59.find((t) => t.text === "{VAL}");
13035
13168
  val28.x = -0.35;
13036
13169
  val28.y = 0;
13037
13170
  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;
13171
+ var ref29 = texts59.find((t) => t.text === "{REF}");
13172
+ ref29.y = 0;
13173
+ ref29.x = 0.35;
13174
+ ref29.anchor = "middle_left";
13175
+ var p_channel_e_mosfet_transistor_vert_default = rotatedSymbol13;
13043
13176
 
13044
13177
  // assets/generated/photodiode.json
13045
13178
  var photodiode_default = {
@@ -13269,12 +13402,12 @@ var photodiode_default = {
13269
13402
  var photodiode_horz_default = modifySymbol(photodiode_default).changeTextAnchor("{VAL}", "middle_top").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_bottom").build();
13270
13403
 
13271
13404
  // 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;
13405
+ var rotatedSymbol14 = rotateSymbol(photodiode_horz_default);
13406
+ var texts60 = rotatedSymbol14.primitives.filter((p) => p.type === "text");
13407
+ var ref30 = texts60.find((t) => t.text === "{REF}");
13408
+ ref30.y = 0;
13409
+ ref30.anchor = "middle_left";
13410
+ var photodiode_vert_default = rotatedSymbol14;
13278
13411
 
13279
13412
  // assets/generated/pjfet_transistor.json
13280
13413
  var pjfet_transistor_default = {
@@ -13444,38 +13577,38 @@ var pjfet_transistor_default = {
13444
13577
  };
13445
13578
 
13446
13579
  // symbols/pjfet_transistor_horz.ts
13447
- var { paths: paths48, texts: texts57, bounds: bounds48, refblocks: refblocks48, circles: circles44 } = pjfet_transistor_default;
13580
+ var { paths: paths53, texts: texts61, bounds: bounds53, refblocks: refblocks53, circles: circles49 } = pjfet_transistor_default;
13448
13581
  var pjfet_transistor_horz_default = defineSymbol({
13449
13582
  primitives: [
13450
- ...Object.values(paths48),
13451
- ...Object.values(circles44),
13452
- { ...texts57.top1, anchor: "middle_right", x: 0 },
13453
- { ...texts57.bottom1, anchor: "middle_right" }
13583
+ ...Object.values(paths53),
13584
+ ...Object.values(circles49),
13585
+ { ...texts61.top1, anchor: "middle_right", x: 0 },
13586
+ { ...texts61.bottom1, anchor: "middle_right" }
13454
13587
  ],
13455
13588
  ports: [
13456
- { ...refblocks48.top1, labels: ["1", "drain"] },
13589
+ { ...refblocks53.top1, labels: ["1", "drain"] },
13457
13590
  // TODO add more "standard" labels
13458
- { ...refblocks48.bottom1, labels: ["2", "source"] },
13591
+ { ...refblocks53.bottom1, labels: ["2", "source"] },
13459
13592
  // TODO add more "standard" labels
13460
- { ...refblocks48.left1, labels: ["3", "gate"] }
13593
+ { ...refblocks53.left1, labels: ["3", "gate"] }
13461
13594
  // TODO add more "standard" labels
13462
13595
  ],
13463
- size: { width: bounds48.width, height: bounds48.height },
13464
- center: { x: bounds48.centerX, y: bounds48.centerY }
13596
+ size: { width: bounds53.width, height: bounds53.height },
13597
+ center: { x: bounds53.centerX, y: bounds53.centerY }
13465
13598
  });
13466
13599
 
13467
13600
  // 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}");
13601
+ var rotatedSymbol15 = rotateSymbol(pjfet_transistor_horz_default);
13602
+ var texts62 = rotatedSymbol15.primitives.filter((p) => p.type === "text");
13603
+ var val29 = texts62.find((t) => t.text === "{VAL}");
13471
13604
  val29.x = -0.35;
13472
13605
  val29.y = 0;
13473
13606
  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;
13607
+ var ref31 = texts62.find((t) => t.text === "{REF}");
13608
+ ref31.y = 0;
13609
+ ref31.x = 0.35;
13610
+ ref31.anchor = "middle_left";
13611
+ var pjfet_transistor_vert_default = rotatedSymbol15;
13479
13612
 
13480
13613
  // assets/generated/pnp_bipolar_transistor.json
13481
13614
  var pnp_bipolar_transistor_default = {
@@ -13644,15 +13777,149 @@ var pnp_bipolar_transistor_default = {
13644
13777
  }
13645
13778
  };
13646
13779
 
13780
+ // symbols/pnp_bipolar_transistor_down.ts
13781
+ var { paths: paths54, texts: texts63, bounds: bounds54, refblocks: refblocks54, circles: circles50 } = pnp_bipolar_transistor_default;
13782
+ var pnp_bipolar_transistor_down_default = modifySymbol({
13783
+ primitives: [
13784
+ ...Object.values(paths54),
13785
+ ...Object.values(circles50),
13786
+ {
13787
+ type: "text",
13788
+ text: "{REF}",
13789
+ x: -0.1,
13790
+ y: 0.3094553499999995
13791
+ },
13792
+ {
13793
+ type: "text",
13794
+ text: "{VAL}",
13795
+ x: -0.1,
13796
+ y: -0.3094553499999995
13797
+ }
13798
+ ],
13799
+ ports: [
13800
+ { ...refblocks54.top1, labels: ["1"] },
13801
+ { ...refblocks54.bottom1, labels: ["3"] },
13802
+ { ...refblocks54.left1, labels: ["2"] }
13803
+ ],
13804
+ size: { width: bounds54.width, height: bounds54.height },
13805
+ center: { x: bounds54.centerX, y: bounds54.centerY }
13806
+ }).rotateRightFacingSymbol("right").changeTextAnchor("{REF}", "middle_right").changeTextAnchor("{VAL}", "middle_right").build();
13807
+
13647
13808
  // 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();
13809
+ var { paths: paths55, texts: texts64, bounds: bounds55, refblocks: refblocks55, circles: circles51 } = pnp_bipolar_transistor_default;
13810
+ 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();
13811
+
13812
+ // symbols/pnp_bipolar_transistor_left.ts
13813
+ var { paths: paths56, texts: texts65, bounds: bounds56, refblocks: refblocks56, circles: circles52 } = pnp_bipolar_transistor_default;
13814
+ var pnp_bipolar_transistor_left_default = modifySymbol({
13815
+ primitives: [
13816
+ ...Object.values(paths56),
13817
+ ...Object.values(circles52),
13818
+ {
13819
+ type: "text",
13820
+ text: "{REF}",
13821
+ x: -0.1,
13822
+ y: -0.3094553499999995
13823
+ },
13824
+ {
13825
+ type: "text",
13826
+ text: "{VAL}",
13827
+ x: -0.1,
13828
+ y: 0.3094553499999995
13829
+ }
13830
+ ],
13831
+ ports: [
13832
+ { ...refblocks56.top1, labels: ["1"] },
13833
+ { ...refblocks56.bottom1, labels: ["3"] },
13834
+ { ...refblocks56.left1, labels: ["2"] }
13835
+ ],
13836
+ size: { width: bounds56.width, height: bounds56.height },
13837
+ center: { x: bounds56.centerX, y: bounds56.centerY }
13838
+ }).rotateRightFacingSymbol("down").changeTextAnchor("{REF}", "middle_bottom").changeTextAnchor("{VAL}", "middle_bottom").build();
13839
+
13840
+ // symbols/pnp_bipolar_transistor_right.ts
13841
+ var { paths: paths57, texts: texts66, bounds: bounds57, refblocks: refblocks57, circles: circles53 } = pnp_bipolar_transistor_default;
13842
+ var pnp_bipolar_transistor_right_default = modifySymbol({
13843
+ primitives: [
13844
+ ...Object.values(paths57),
13845
+ ...Object.values(circles53),
13846
+ {
13847
+ type: "text",
13848
+ text: "{REF}",
13849
+ x: -0.1,
13850
+ y: -0.3094553499999995
13851
+ },
13852
+ {
13853
+ type: "text",
13854
+ text: "{VAL}",
13855
+ x: -0.1,
13856
+ y: 0.3094553499999995
13857
+ }
13858
+ ],
13859
+ ports: [
13860
+ { ...refblocks57.top1, labels: ["1"] },
13861
+ { ...refblocks57.bottom1, labels: ["3"] },
13862
+ { ...refblocks57.left1, labels: ["2"] }
13863
+ ],
13864
+ size: { width: bounds57.width, height: bounds57.height },
13865
+ center: { x: bounds57.centerX, y: bounds57.centerY }
13866
+ }).rotateRightFacingSymbol("up").changeTextAnchor("{REF}", "middle_top").changeTextAnchor("{VAL}", "middle_top").build();
13867
+
13868
+ // symbols/pnp_bipolar_transistor_up.ts
13869
+ var { paths: paths58, texts: texts67, bounds: bounds58, refblocks: refblocks58, circles: circles54 } = pnp_bipolar_transistor_default;
13870
+ var pnp_bipolar_transistor_up_default = modifySymbol({
13871
+ primitives: [
13872
+ ...Object.values(paths58),
13873
+ ...Object.values(circles54),
13874
+ {
13875
+ type: "text",
13876
+ text: "{REF}",
13877
+ x: -0.1,
13878
+ y: -0.3094553499999995
13879
+ },
13880
+ {
13881
+ type: "text",
13882
+ text: "{VAL}",
13883
+ x: -0.1,
13884
+ y: 0.3094553499999995
13885
+ }
13886
+ ],
13887
+ ports: [
13888
+ { ...refblocks58.top1, labels: ["1"] },
13889
+ { ...refblocks58.bottom1, labels: ["3"] },
13890
+ { ...refblocks58.left1, labels: ["2"] }
13891
+ ],
13892
+ size: { width: bounds58.width, height: bounds58.height },
13893
+ center: { x: bounds58.centerX, y: bounds58.centerY }
13894
+ }).rotateRightFacingSymbol("left").changeTextAnchor("{REF}", "middle_left").changeTextAnchor("{VAL}", "middle_left").build();
13649
13895
 
13650
13896
  // 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();
13897
+ var { paths: paths59, texts: texts68, bounds: bounds59, refblocks: refblocks59, circles: circles55 } = pnp_bipolar_transistor_default;
13898
+ var pnp_bipolar_transistor_vert_default = modifySymbol({
13899
+ primitives: [
13900
+ ...Object.values(paths59),
13901
+ ...Object.values(circles55),
13902
+ {
13903
+ type: "text",
13904
+ text: "{REF}",
13905
+ x: -0.1,
13906
+ y: -0.3094553499999995
13907
+ },
13908
+ {
13909
+ type: "text",
13910
+ text: "{VAL}",
13911
+ x: -0.1,
13912
+ y: 0.3094553499999995
13913
+ }
13914
+ ],
13915
+ ports: [
13916
+ { ...refblocks59.top1, labels: ["1"] },
13917
+ { ...refblocks59.bottom1, labels: ["3"] },
13918
+ { ...refblocks59.left1, labels: ["2"] }
13919
+ ],
13920
+ size: { width: bounds59.width, height: bounds59.height },
13921
+ center: { x: bounds59.centerX, y: bounds59.centerY }
13922
+ }).rotateRightFacingSymbol("left").changeTextAnchor("{REF}", "middle_left").changeTextAnchor("{VAL}", "middle_left").build();
13656
13923
 
13657
13924
  // assets/generated/potentiometer.json
13658
13925
  var potentiometer_default = {
@@ -14064,21 +14331,21 @@ var potentiometer_default = {
14064
14331
  };
14065
14332
 
14066
14333
  // symbols/potentiometer_horz.ts
14067
- var { paths: paths49, texts: texts60, bounds: bounds49, refblocks: refblocks49 } = potentiometer_default;
14334
+ var { paths: paths60, texts: texts69, bounds: bounds60, refblocks: refblocks60 } = potentiometer_default;
14068
14335
  var potentiometer_horz_default = defineSymbol({
14069
14336
  primitives: [
14070
- ...Object.values(paths49),
14071
- { ...texts60.bottom1, y: 0.35, anchor: "middle_top" },
14072
- { ...texts60.top1, anchor: "middle_left" }
14337
+ ...Object.values(paths60),
14338
+ { ...texts69.bottom1, y: 0.35, anchor: "middle_top" },
14339
+ { ...texts69.top1, anchor: "middle_left" }
14073
14340
  ],
14074
14341
  ports: [
14075
- { ...refblocks49.left1, labels: ["1"] },
14342
+ { ...refblocks60.left1, labels: ["1"] },
14076
14343
  // TODO add more "standard" labels
14077
- { ...refblocks49.right1, labels: ["2"] }
14344
+ { ...refblocks60.right1, labels: ["2"] }
14078
14345
  // TODO add more "standard" labels
14079
14346
  ],
14080
- size: { width: bounds49.width + 0.05, height: bounds49.height },
14081
- center: { x: bounds49.centerX, y: bounds49.centerY }
14347
+ size: { width: bounds60.width + 0.05, height: bounds60.height },
14348
+ center: { x: bounds60.centerX, y: bounds60.centerY }
14082
14349
  });
14083
14350
 
14084
14351
  // symbols/potentiometer_vert.ts
@@ -14241,67 +14508,67 @@ var potentiometer2_default = {
14241
14508
  };
14242
14509
 
14243
14510
  // symbols/potentiometer2_right.ts
14244
- var { paths: paths50, texts: texts61, bounds: bounds50, refblocks: refblocks50 } = potentiometer2_default;
14511
+ var { paths: paths61, texts: texts70, bounds: bounds61, refblocks: refblocks61 } = potentiometer2_default;
14245
14512
  var potentiometer2_right_default = defineSymbol({
14246
14513
  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" }
14514
+ ...Object.values(paths61),
14515
+ { ...texts70.bottom1, x: 0, y: -0.35, anchor: "middle_top" },
14516
+ { ...texts70.top1, x: 0, y: 0.35, anchor: "middle_bottom" }
14250
14517
  ],
14251
14518
  ports: [
14252
- { ...refblocks50.left1, labels: ["1"] },
14519
+ { ...refblocks61.left1, labels: ["1"] },
14253
14520
  // TODO add more "standard" labels
14254
- { ...refblocks50.right1, labels: ["2"] }
14521
+ { ...refblocks61.right1, labels: ["2"] }
14255
14522
  // TODO add more "standard" labels
14256
14523
  ],
14257
- size: { width: bounds50.width + 0.05, height: bounds50.height },
14258
- center: { x: bounds50.centerX, y: bounds50.centerY }
14524
+ size: { width: bounds61.width + 0.05, height: bounds61.height },
14525
+ center: { x: bounds61.centerX, y: bounds61.centerY }
14259
14526
  });
14260
14527
 
14261
14528
  // symbols/potentiometer2_down.ts
14262
14529
  var symbol5 = rotateSymbol(potentiometer2_right_default, "down");
14263
- var ref34 = symbol5.primitives.find(
14530
+ var ref32 = symbol5.primitives.find(
14264
14531
  (p) => p.type === "text" && p.text === "{REF}"
14265
14532
  );
14266
14533
  var val30 = symbol5.primitives.find(
14267
14534
  (p) => p.type === "text" && p.text === "{VAL}"
14268
14535
  );
14269
- ref34.anchor = "middle_left";
14536
+ ref32.anchor = "middle_left";
14270
14537
  val30.anchor = "middle_left";
14271
- ref34.y += 0.31;
14272
- ref34.x = 0.34;
14538
+ ref32.y += 0.31;
14539
+ ref32.x = 0.34;
14273
14540
  val30.y -= 0.31;
14274
14541
  val30.x = 0.34;
14275
14542
  var potentiometer2_down_default = symbol5;
14276
14543
 
14277
14544
  // symbols/potentiometer2_left.ts
14278
14545
  var symbol6 = rotateSymbol(potentiometer2_right_default, "left");
14279
- var ref35 = symbol6.primitives.find(
14546
+ var ref33 = symbol6.primitives.find(
14280
14547
  (p) => p.type === "text" && p.text === "{REF}"
14281
14548
  );
14282
14549
  var val31 = symbol6.primitives.find(
14283
14550
  (p) => p.type === "text" && p.text === "{VAL}"
14284
14551
  );
14285
- ref35.anchor = "middle_bottom";
14552
+ ref33.anchor = "middle_bottom";
14286
14553
  val31.anchor = "middle_top";
14287
- ref35.y += 0.73;
14288
- ref35.x = 0;
14554
+ ref33.y += 0.73;
14555
+ ref33.x = 0;
14289
14556
  val31.y -= 0.7;
14290
14557
  val31.x = 0;
14291
14558
  var potentiometer2_left_default = symbol6;
14292
14559
 
14293
14560
  // symbols/potentiometer2_up.ts
14294
14561
  var symbol7 = rotateSymbol(potentiometer2_right_default, "up");
14295
- var ref36 = symbol7.primitives.find(
14562
+ var ref34 = symbol7.primitives.find(
14296
14563
  (p) => p.type === "text" && p.text === "{REF}"
14297
14564
  );
14298
14565
  var val32 = symbol7.primitives.find(
14299
14566
  (p) => p.type === "text" && p.text === "{VAL}"
14300
14567
  );
14301
- ref36.anchor = "middle_left";
14568
+ ref34.anchor = "middle_left";
14302
14569
  val32.anchor = "middle_left";
14303
- ref36.y += 0.21;
14304
- ref36.x = 0.34;
14570
+ ref34.y += 0.21;
14571
+ ref34.x = 0.34;
14305
14572
  val32.y -= 0.21;
14306
14573
  val32.x = 0.34;
14307
14574
  var potentiometer2_up_default = symbol7;
@@ -14500,11 +14767,11 @@ var power_factor_meter_default = {
14500
14767
  };
14501
14768
 
14502
14769
  // symbols/power_factor_meter_horz.ts
14503
- var { paths: paths51, texts: texts62, bounds: bounds51, refblocks: refblocks51, circles: circles45 } = power_factor_meter_default;
14770
+ var { paths: paths62, texts: texts71, bounds: bounds62, refblocks: refblocks62, circles: circles56 } = power_factor_meter_default;
14504
14771
  var power_factor_meter_horz_default = defineSymbol({
14505
14772
  primitives: [
14506
- ...Object.values(paths51),
14507
- ...Object.values(circles45),
14773
+ ...Object.values(paths62),
14774
+ ...Object.values(circles56),
14508
14775
  // { ...texts.top1, anchor: "middle_left" },
14509
14776
  {
14510
14777
  type: "text",
@@ -14531,31 +14798,31 @@ var power_factor_meter_horz_default = defineSymbol({
14531
14798
  }
14532
14799
  ],
14533
14800
  ports: [
14534
- { ...refblocks51.left1, labels: ["1"] },
14801
+ { ...refblocks62.left1, labels: ["1"] },
14535
14802
  // TODO add more "standard" labels
14536
- { ...refblocks51.right1, labels: ["2"] }
14803
+ { ...refblocks62.right1, labels: ["2"] }
14537
14804
  // TODO add more "standard" labels
14538
14805
  ],
14539
- size: { width: bounds51.width, height: bounds51.height },
14540
- center: { x: bounds51.centerX, y: bounds51.centerY }
14806
+ size: { width: bounds62.width, height: bounds62.height },
14807
+ center: { x: bounds62.centerX, y: bounds62.centerY }
14541
14808
  });
14542
14809
 
14543
14810
  // 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";
14811
+ var rotatedSymbol16 = rotateSymbol(power_factor_meter_horz_default);
14812
+ var texts72 = rotatedSymbol16.primitives.filter((p) => p.type === "text");
14813
+ var ref35 = texts72.find((t) => t.text === "{REF}");
14814
+ var val33 = texts72.find((t) => t.text === "{VAL}");
14815
+ var text_cos = texts72.find((t) => t.text === "COS \u03C6");
14816
+ ref35.x = 0.35;
14817
+ ref35.y = 0;
14818
+ ref35.anchor = "middle_left";
14552
14819
  val33.anchor = "middle_right";
14553
14820
  val33.x = -0.35;
14554
14821
  val33.y = 0;
14555
14822
  text_cos.x = 0;
14556
14823
  text_cos.y = 0;
14557
14824
  text_cos.anchor = "center";
14558
- var power_factor_meter_vert_default = rotatedSymbol18;
14825
+ var power_factor_meter_vert_default = rotatedSymbol16;
14559
14826
 
14560
14827
  // assets/generated/push_button_normally_closed_momentary.json
14561
14828
  var push_button_normally_closed_momentary_default = {
@@ -14676,22 +14943,22 @@ var push_button_normally_closed_momentary_default = {
14676
14943
  };
14677
14944
 
14678
14945
  // 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;
14946
+ var { paths: paths63, texts: texts73, bounds: bounds63, refblocks: refblocks63, circles: circles57 } = push_button_normally_closed_momentary_default;
14680
14947
  var push_button_normally_closed_momentary_horz_default = defineSymbol({
14681
14948
  primitives: [
14682
- ...Object.values(paths52),
14683
- ...Object.values(circles46),
14684
- { ...texts64.top1, anchor: "middle_left" },
14685
- { ...texts64.bottom1, anchor: "middle_left" }
14949
+ ...Object.values(paths63),
14950
+ ...Object.values(circles57),
14951
+ { ...texts73.top1, anchor: "middle_left" },
14952
+ { ...texts73.bottom1, anchor: "middle_left" }
14686
14953
  ],
14687
14954
  ports: [
14688
- { ...refblocks52.left1, labels: ["1"] },
14955
+ { ...refblocks63.left1, labels: ["1"] },
14689
14956
  // TODO add more "standard" labels
14690
- { ...refblocks52.right1, labels: ["2"] }
14957
+ { ...refblocks63.right1, labels: ["2"] }
14691
14958
  // TODO add more "standard" labels
14692
14959
  ],
14693
- size: { width: bounds52.width, height: bounds52.height },
14694
- center: { x: bounds52.centerX, y: bounds52.centerY }
14960
+ size: { width: bounds63.width, height: bounds63.height },
14961
+ center: { x: bounds63.centerX, y: bounds63.centerY }
14695
14962
  });
14696
14963
 
14697
14964
  // symbols/push_button_normally_closed_momentary_vert.ts
@@ -14846,22 +15113,22 @@ var push_button_normally_open_momentary_default = {
14846
15113
  };
14847
15114
 
14848
15115
  // 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;
15116
+ var { paths: paths64, texts: texts74, bounds: bounds64, refblocks: refblocks64, circles: circles58 } = push_button_normally_open_momentary_default;
14850
15117
  var push_button_normally_open_momentary_horz_default = defineSymbol({
14851
15118
  primitives: [
14852
- ...Object.values(paths53),
14853
- ...Object.values(circles47),
14854
- { ...texts65.top1, anchor: "middle_left" },
14855
- { ...texts65.bottom1, anchor: "middle_left" }
15119
+ ...Object.values(paths64),
15120
+ ...Object.values(circles58),
15121
+ { ...texts74.top1, anchor: "middle_left" },
15122
+ { ...texts74.bottom1, anchor: "middle_left" }
14856
15123
  ],
14857
15124
  ports: [
14858
- { ...refblocks53.left1, labels: ["1"] },
15125
+ { ...refblocks64.left1, labels: ["1"] },
14859
15126
  // TODO add more "standard" labels
14860
- { ...refblocks53.right1, labels: ["2"] }
15127
+ { ...refblocks64.right1, labels: ["2"] }
14861
15128
  // TODO add more "standard" labels
14862
15129
  ],
14863
- size: { width: bounds53.width, height: bounds53.height },
14864
- center: { x: bounds53.centerX, y: bounds53.centerY }
15130
+ size: { width: bounds64.width, height: bounds64.height },
15131
+ center: { x: bounds64.centerX, y: bounds64.centerY }
14865
15132
  });
14866
15133
 
14867
15134
  // symbols/push_button_normally_open_momentary_vert.ts
@@ -15277,37 +15544,37 @@ var rectifier_diode_default = {
15277
15544
  };
15278
15545
 
15279
15546
  // symbols/rectifier_diode_horz.ts
15280
- var { paths: paths54, texts: texts66, bounds: bounds54, refblocks: refblocks54, circles: circles48 } = rectifier_diode_default;
15547
+ var { paths: paths65, texts: texts75, bounds: bounds65, refblocks: refblocks65, circles: circles59 } = rectifier_diode_default;
15281
15548
  var rectifier_diode_horz_default = defineSymbol({
15282
15549
  primitives: [
15283
- ...Object.values(paths54),
15284
- ...Object.values(circles48),
15285
- { ...texts66.top1, anchor: "middle_right" },
15286
- { ...texts66.bottom1, anchor: "middle_right" }
15550
+ ...Object.values(paths65),
15551
+ ...Object.values(circles59),
15552
+ { ...texts75.top1, anchor: "middle_right" },
15553
+ { ...texts75.bottom1, anchor: "middle_right" }
15287
15554
  ],
15288
15555
  ports: [
15289
- { ...refblocks54.top1, labels: ["1"] },
15556
+ { ...refblocks65.top1, labels: ["1"] },
15290
15557
  // TODO add more "standard" labels
15291
- { ...refblocks54.bottom1, labels: ["2"] },
15558
+ { ...refblocks65.bottom1, labels: ["2"] },
15292
15559
  // TODO add more "standard" labels
15293
- { ...refblocks54.left1, labels: ["3"] },
15560
+ { ...refblocks65.left1, labels: ["3"] },
15294
15561
  // TODO add more "standard" labels
15295
- { ...refblocks54.right1, labels: ["4"] }
15562
+ { ...refblocks65.right1, labels: ["4"] }
15296
15563
  // TODO add more "standard" labels
15297
15564
  ],
15298
- size: { width: bounds54.width, height: bounds54.height },
15299
- center: { x: bounds54.centerX, y: bounds54.centerY }
15565
+ size: { width: bounds65.width, height: bounds65.height },
15566
+ center: { x: bounds65.centerX, y: bounds65.centerY }
15300
15567
  });
15301
15568
 
15302
15569
  // symbols/rectifier_diode_vert.ts
15303
15570
  var rotated19 = rotateSymbol(rectifier_diode_horz_default);
15304
- var ref38 = rotated19.primitives.find(
15571
+ var ref36 = rotated19.primitives.find(
15305
15572
  (p) => p.type === "text" && p.text === "{REF}"
15306
15573
  );
15307
15574
  var val34 = rotated19.primitives.find(
15308
15575
  (p) => p.type === "text" && p.text === "{VAL}"
15309
15576
  );
15310
- ref38.anchor = "middle_left";
15577
+ ref36.anchor = "middle_left";
15311
15578
  val34.anchor = "middle_right";
15312
15579
  var rectifier_diode_vert_default = rotated19;
15313
15580
 
@@ -15518,11 +15785,11 @@ var resistor_default = {
15518
15785
  };
15519
15786
 
15520
15787
  // symbols/resistor_down.ts
15521
- var { paths: paths55, texts: texts67, bounds: bounds55, refblocks: refblocks55, circles: circles49 } = resistor_default;
15788
+ var { paths: paths66, texts: texts76, bounds: bounds66, refblocks: refblocks66, circles: circles60 } = resistor_default;
15522
15789
  var resistor_down_default = modifySymbol({
15523
15790
  primitives: [
15524
- ...Object.values(paths55),
15525
- ...Object.values(circles49),
15791
+ ...Object.values(paths66),
15792
+ ...Object.values(circles60),
15526
15793
  {
15527
15794
  type: "text",
15528
15795
  text: "{REF}",
@@ -15537,21 +15804,21 @@ var resistor_down_default = modifySymbol({
15537
15804
  }
15538
15805
  ],
15539
15806
  ports: [
15540
- { ...refblocks55.left1, labels: ["1"] },
15807
+ { ...refblocks66.left1, labels: ["1"] },
15541
15808
  // TODO add more "standard" labels
15542
- { ...refblocks55.right1, labels: ["2"] }
15809
+ { ...refblocks66.right1, labels: ["2"] }
15543
15810
  // TODO add more "standard" labels
15544
15811
  ],
15545
- size: { width: bounds55.width, height: bounds55.height },
15546
- center: { x: bounds55.centerX, y: bounds55.centerY }
15812
+ size: { width: bounds66.width, height: bounds66.height },
15813
+ center: { x: bounds66.centerX, y: bounds66.centerY }
15547
15814
  }).rotateRightFacingSymbol("down").labelPort("left", ["1"]).labelPort("right", ["2"]).changeTextAnchor("{REF}", "middle_left").changeTextAnchor("{VAL}", "middle_left").build();
15548
15815
 
15549
15816
  // symbols/resistor_left.ts
15550
- var { paths: paths56, texts: texts68, bounds: bounds56, refblocks: refblocks56, circles: circles50 } = resistor_default;
15817
+ var { paths: paths67, texts: texts77, bounds: bounds67, refblocks: refblocks67, circles: circles61 } = resistor_default;
15551
15818
  var resistor_left_default = modifySymbol({
15552
15819
  primitives: [
15553
- ...Object.values(paths56),
15554
- ...Object.values(circles50),
15820
+ ...Object.values(paths67),
15821
+ ...Object.values(circles61),
15555
15822
  {
15556
15823
  type: "text",
15557
15824
  text: "{REF}",
@@ -15566,21 +15833,21 @@ var resistor_left_default = modifySymbol({
15566
15833
  }
15567
15834
  ],
15568
15835
  ports: [
15569
- { ...refblocks56.left1, labels: ["1"] },
15836
+ { ...refblocks67.left1, labels: ["1"] },
15570
15837
  // TODO add more "standard" labels
15571
- { ...refblocks56.right1, labels: ["2"] }
15838
+ { ...refblocks67.right1, labels: ["2"] }
15572
15839
  // TODO add more "standard" labels
15573
15840
  ],
15574
- size: { width: bounds56.width, height: bounds56.height },
15575
- center: { x: bounds56.centerX, y: bounds56.centerY }
15841
+ size: { width: bounds67.width, height: bounds67.height },
15842
+ center: { x: bounds67.centerX, y: bounds67.centerY }
15576
15843
  }).rotateRightFacingSymbol("left").labelPort("left", ["1"]).labelPort("right", ["2"]).changeTextAnchor("{REF}", "middle_bottom").changeTextAnchor("{VAL}", "middle_top").build();
15577
15844
 
15578
15845
  // symbols/resistor_right.ts
15579
- var { paths: paths57, texts: texts69, bounds: bounds57, refblocks: refblocks57, circles: circles51 } = resistor_default;
15846
+ var { paths: paths68, texts: texts78, bounds: bounds68, refblocks: refblocks68, circles: circles62 } = resistor_default;
15580
15847
  var resistor_right_default = modifySymbol({
15581
15848
  primitives: [
15582
- ...Object.values(paths57),
15583
- ...Object.values(circles51),
15849
+ ...Object.values(paths68),
15850
+ ...Object.values(circles62),
15584
15851
  {
15585
15852
  type: "text",
15586
15853
  text: "{REF}",
@@ -15595,21 +15862,21 @@ var resistor_right_default = modifySymbol({
15595
15862
  }
15596
15863
  ],
15597
15864
  ports: [
15598
- { ...refblocks57.left1, labels: ["1"] },
15865
+ { ...refblocks68.left1, labels: ["1"] },
15599
15866
  // TODO add more "standard" labels
15600
- { ...refblocks57.right1, labels: ["2"] }
15867
+ { ...refblocks68.right1, labels: ["2"] }
15601
15868
  // TODO add more "standard" labels
15602
15869
  ],
15603
- size: { width: bounds57.width, height: bounds57.height },
15604
- center: { x: bounds57.centerX, y: bounds57.centerY }
15870
+ size: { width: bounds68.width, height: bounds68.height },
15871
+ center: { x: bounds68.centerX, y: bounds68.centerY }
15605
15872
  }).rotateRightFacingSymbol("right").labelPort("left", ["1"]).labelPort("right", ["2"]).changeTextAnchor("{REF}", "middle_bottom").changeTextAnchor("{VAL}", "middle_top").build();
15606
15873
 
15607
15874
  // symbols/resistor_up.ts
15608
- var { paths: paths58, texts: texts70, bounds: bounds58, refblocks: refblocks58, circles: circles52 } = resistor_default;
15875
+ var { paths: paths69, texts: texts79, bounds: bounds69, refblocks: refblocks69, circles: circles63 } = resistor_default;
15609
15876
  var resistor_up_default = modifySymbol({
15610
15877
  primitives: [
15611
- ...Object.values(paths58),
15612
- ...Object.values(circles52),
15878
+ ...Object.values(paths69),
15879
+ ...Object.values(circles63),
15613
15880
  {
15614
15881
  type: "text",
15615
15882
  text: "{REF}",
@@ -15624,13 +15891,13 @@ var resistor_up_default = modifySymbol({
15624
15891
  }
15625
15892
  ],
15626
15893
  ports: [
15627
- { ...refblocks58.left1, labels: ["1"] },
15894
+ { ...refblocks69.left1, labels: ["1"] },
15628
15895
  // TODO add more "standard" labels
15629
- { ...refblocks58.right1, labels: ["2"] }
15896
+ { ...refblocks69.right1, labels: ["2"] }
15630
15897
  // TODO add more "standard" labels
15631
15898
  ],
15632
- size: { width: bounds58.width, height: bounds58.height },
15633
- center: { x: bounds58.centerX, y: bounds58.centerY }
15899
+ size: { width: bounds69.width, height: bounds69.height },
15900
+ center: { x: bounds69.centerX, y: bounds69.centerY }
15634
15901
  }).rotateRightFacingSymbol("up").labelPort("left", ["1"]).labelPort("right", ["2"]).changeTextAnchor("{REF}", "middle_left").changeTextAnchor("{VAL}", "middle_left").build();
15635
15902
 
15636
15903
  // assets/generated/resonator.json
@@ -15979,11 +16246,11 @@ var resonator_default = {
15979
16246
  };
15980
16247
 
15981
16248
  // symbols/resonator_horz.ts
15982
- var { paths: paths59, texts: texts71, bounds: bounds59, refblocks: refblocks59, circles: circles53 } = resonator_default;
16249
+ var { paths: paths70, texts: texts80, bounds: bounds70, refblocks: refblocks70, circles: circles64 } = resonator_default;
15983
16250
  var resonator_horz_default = defineSymbol({
15984
16251
  primitives: [
15985
- ...Object.values(paths59),
15986
- ...Object.values(circles53),
16252
+ ...Object.values(paths70),
16253
+ ...Object.values(circles64),
15987
16254
  // { ...texts.top1, anchor: "middle_left" },
15988
16255
  // { ...texts.bottom1, anchor: "middle_left" },
15989
16256
  {
@@ -16002,15 +16269,15 @@ var resonator_horz_default = defineSymbol({
16002
16269
  }
16003
16270
  ],
16004
16271
  ports: [
16005
- { ...refblocks59.left1, labels: ["1"] },
16272
+ { ...refblocks70.left1, labels: ["1"] },
16006
16273
  // TODO add more "standard" labels
16007
- { ...refblocks59.right1, labels: ["2"] },
16274
+ { ...refblocks70.right1, labels: ["2"] },
16008
16275
  // TODO add more "standard" labels
16009
- { ...refblocks59.right2, labels: ["3"] }
16276
+ { ...refblocks70.right2, labels: ["3"] }
16010
16277
  // TODO add more "standard" labels
16011
16278
  ],
16012
- size: { width: bounds59.width, height: bounds59.height },
16013
- center: { x: bounds59.centerX, y: bounds59.centerY }
16279
+ size: { width: bounds70.width, height: bounds70.height },
16280
+ center: { x: bounds70.centerX, y: bounds70.centerY }
16014
16281
  });
16015
16282
 
16016
16283
  // symbols/resonator_vert.ts
@@ -16212,48 +16479,48 @@ var schottky_diode_right_default = modifySymbol(schottky_diode_default).labelPor
16212
16479
 
16213
16480
  // symbols/schottky_diode_down.ts
16214
16481
  var rotated20 = rotateSymbol(schottky_diode_right_default, "down");
16215
- var ref39 = rotated20.primitives.find(
16482
+ var ref37 = rotated20.primitives.find(
16216
16483
  (p) => p.type === "text" && p.text === "{REF}"
16217
16484
  );
16218
16485
  var val35 = rotated20.primitives.find(
16219
16486
  (p) => p.type === "text" && p.text === "{VAL}"
16220
16487
  );
16221
- ref39.anchor = "middle_left";
16488
+ ref37.anchor = "middle_left";
16222
16489
  val35.anchor = "middle_left";
16223
- ref39.y += 0.3;
16224
- ref39.x = 0.3;
16490
+ ref37.y += 0.3;
16491
+ ref37.x = 0.3;
16225
16492
  val35.y -= 0.3;
16226
16493
  val35.x = 0.3;
16227
16494
  var schottky_diode_down_default = rotated20;
16228
16495
 
16229
16496
  // symbols/schottky_diode_left.ts
16230
16497
  var rotated21 = rotateSymbol(schottky_diode_right_default, "left");
16231
- var ref40 = rotated21.primitives.find(
16498
+ var ref38 = rotated21.primitives.find(
16232
16499
  (p) => p.type === "text" && p.text === "{REF}"
16233
16500
  );
16234
16501
  var val36 = rotated21.primitives.find(
16235
16502
  (p) => p.type === "text" && p.text === "{VAL}"
16236
16503
  );
16237
- ref40.anchor = "middle_bottom";
16504
+ ref38.anchor = "middle_bottom";
16238
16505
  val36.anchor = "middle_top";
16239
- ref40.y += 0.5;
16240
- ref40.x = 0;
16506
+ ref38.y += 0.5;
16507
+ ref38.x = 0;
16241
16508
  val36.y -= 0.55;
16242
16509
  val36.x = 0;
16243
16510
  var schottky_diode_left_default = rotated21;
16244
16511
 
16245
16512
  // symbols/schottky_diode_up.ts
16246
16513
  var rotated22 = rotateSymbol(schottky_diode_right_default, "up");
16247
- var ref41 = rotated22.primitives.find(
16514
+ var ref39 = rotated22.primitives.find(
16248
16515
  (p) => p.type === "text" && p.text === "{REF}"
16249
16516
  );
16250
16517
  var val37 = rotated22.primitives.find(
16251
16518
  (p) => p.type === "text" && p.text === "{VAL}"
16252
16519
  );
16253
- ref41.anchor = "middle_left";
16520
+ ref39.anchor = "middle_left";
16254
16521
  val37.anchor = "middle_left";
16255
- ref41.y += 0.3;
16256
- ref41.x = 0.3;
16522
+ ref39.y += 0.3;
16523
+ ref39.x = 0.3;
16257
16524
  val37.y -= 0.3;
16258
16525
  val37.x = 0.3;
16259
16526
  var schottky_diode_up_default = rotated22;
@@ -16402,18 +16669,18 @@ var silicon_controlled_rectifier_default = {
16402
16669
  };
16403
16670
 
16404
16671
  // symbols/silicon_controlled_rectifier_horz.ts
16405
- var { paths: paths60, texts: texts72, bounds: bounds60, refblocks: refblocks60, circles: circles54 } = silicon_controlled_rectifier_default;
16672
+ var { paths: paths71, texts: texts81, bounds: bounds71, refblocks: refblocks71, circles: circles65 } = silicon_controlled_rectifier_default;
16406
16673
  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
16674
 
16408
16675
  // symbols/silicon_controlled_rectifier_vert.ts
16409
- var rotatedSymbol19 = rotateSymbol(silicon_controlled_rectifier_horz_default);
16410
- var texts73 = rotatedSymbol19.primitives.filter(
16676
+ var rotatedSymbol17 = rotateSymbol(silicon_controlled_rectifier_horz_default);
16677
+ var texts82 = rotatedSymbol17.primitives.filter(
16411
16678
  (primitive) => primitive.type === "text"
16412
16679
  );
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;
16680
+ var ref40 = texts82.find((text) => text.text === "{REF}");
16681
+ ref40.y = 0;
16682
+ ref40.anchor = "middle_left";
16683
+ var silicon_controlled_rectifier_vert_default = rotatedSymbol17;
16417
16684
 
16418
16685
  // assets/generated/solderjumper2_bridged12.json
16419
16686
  var solderjumper2_bridged12_default = {
@@ -19251,48 +19518,48 @@ var spdt_normally_closed_switch_right_default = modifySymbol(spdt_normally_close
19251
19518
 
19252
19519
  // symbols/spdt_normally_closed_switch_down.ts
19253
19520
  var rotated23 = rotateSymbol(spdt_normally_closed_switch_right_default, "down");
19254
- var ref43 = rotated23.primitives.find(
19521
+ var ref41 = rotated23.primitives.find(
19255
19522
  (p) => p.type === "text" && p.text === "{REF}"
19256
19523
  );
19257
19524
  var val38 = rotated23.primitives.find(
19258
19525
  (p) => p.type === "text" && p.text === "{VAL}"
19259
19526
  );
19260
- ref43.anchor = "middle_bottom";
19527
+ ref41.anchor = "middle_bottom";
19261
19528
  val38.anchor = "middle_top";
19262
- ref43.x = 0.44;
19263
- ref43.y += 0.28;
19529
+ ref41.x = 0.44;
19530
+ ref41.y += 0.28;
19264
19531
  val38.y -= 0.28;
19265
19532
  val38.x = 0.44;
19266
19533
  var spdt_normally_closed_switch_down_default = rotated23;
19267
19534
 
19268
19535
  // symbols/spdt_normally_closed_switch_left.ts
19269
19536
  var rotated24 = rotateSymbol(spdt_normally_closed_switch_right_default, "left");
19270
- var ref44 = rotated24.primitives.find(
19537
+ var ref42 = rotated24.primitives.find(
19271
19538
  (p) => p.type === "text" && p.text === "{REF}"
19272
19539
  );
19273
19540
  var val39 = rotated24.primitives.find(
19274
19541
  (p) => p.type === "text" && p.text === "{VAL}"
19275
19542
  );
19276
- ref44.anchor = "middle_bottom";
19543
+ ref42.anchor = "middle_bottom";
19277
19544
  val39.anchor = "middle_top";
19278
- ref44.x = 0;
19279
- ref44.y += 0.625;
19545
+ ref42.x = 0;
19546
+ ref42.y += 0.625;
19280
19547
  val39.y -= 0.695;
19281
19548
  val39.x = 0;
19282
19549
  var spdt_normally_closed_switch_left_default = rotated24;
19283
19550
 
19284
19551
  // symbols/spdt_normally_closed_switch_up.ts
19285
19552
  var rotated25 = rotateSymbol(spdt_normally_closed_switch_right_default, "up");
19286
- var ref45 = rotated25.primitives.find(
19553
+ var ref43 = rotated25.primitives.find(
19287
19554
  (p) => p.type === "text" && p.text === "{REF}"
19288
19555
  );
19289
19556
  var val40 = rotated25.primitives.find(
19290
19557
  (p) => p.type === "text" && p.text === "{VAL}"
19291
19558
  );
19292
- ref45.anchor = "middle_bottom";
19559
+ ref43.anchor = "middle_bottom";
19293
19560
  val40.anchor = "middle_top";
19294
- ref45.x = 0.4;
19295
- ref45.y += 0.28;
19561
+ ref43.x = 0.4;
19562
+ ref43.y += 0.28;
19296
19563
  val40.y -= 0.28;
19297
19564
  val40.x = 0.4;
19298
19565
  var spdt_normally_closed_switch_up_default = rotated25;
@@ -19432,48 +19699,48 @@ var spdt_switch_right_default = modifySymbol(spdt_switch_default).changeTextAnch
19432
19699
 
19433
19700
  // symbols/spdt_switch_down.ts
19434
19701
  var rotated26 = rotateSymbol(spdt_switch_right_default, "down");
19435
- var ref46 = rotated26.primitives.find(
19702
+ var ref44 = rotated26.primitives.find(
19436
19703
  (p) => p.type === "text" && p.text === "{REF}"
19437
19704
  );
19438
19705
  var val41 = rotated26.primitives.find(
19439
19706
  (p) => p.type === "text" && p.text === "{VAL}"
19440
19707
  );
19441
- ref46.anchor = "middle_bottom";
19708
+ ref44.anchor = "middle_bottom";
19442
19709
  val41.anchor = "middle_top";
19443
- ref46.x = 0.44;
19444
- ref46.y += 0.28;
19710
+ ref44.x = 0.44;
19711
+ ref44.y += 0.28;
19445
19712
  val41.y -= 0.28;
19446
19713
  val41.x = 0.44;
19447
19714
  var spdt_switch_down_default = rotated26;
19448
19715
 
19449
19716
  // symbols/spdt_switch_left.ts
19450
19717
  var rotated27 = rotateSymbol(spdt_switch_right_default, "left");
19451
- var ref47 = rotated27.primitives.find(
19718
+ var ref45 = rotated27.primitives.find(
19452
19719
  (p) => p.type === "text" && p.text === "{REF}"
19453
19720
  );
19454
19721
  var val42 = rotated27.primitives.find(
19455
19722
  (p) => p.type === "text" && p.text === "{VAL}"
19456
19723
  );
19457
- ref47.anchor = "middle_bottom";
19724
+ ref45.anchor = "middle_bottom";
19458
19725
  val42.anchor = "middle_top";
19459
- ref47.x = 0;
19460
- ref47.y += 0.625;
19726
+ ref45.x = 0;
19727
+ ref45.y += 0.625;
19461
19728
  val42.y -= 0.695;
19462
19729
  val42.x = 0;
19463
19730
  var spdt_switch_left_default = rotated27;
19464
19731
 
19465
19732
  // symbols/spdt_switch_up.ts
19466
19733
  var rotated28 = rotateSymbol(spdt_switch_right_default, "up");
19467
- var ref48 = rotated28.primitives.find(
19734
+ var ref46 = rotated28.primitives.find(
19468
19735
  (p) => p.type === "text" && p.text === "{REF}"
19469
19736
  );
19470
19737
  var val43 = rotated28.primitives.find(
19471
19738
  (p) => p.type === "text" && p.text === "{VAL}"
19472
19739
  );
19473
- ref48.anchor = "middle_bottom";
19740
+ ref46.anchor = "middle_bottom";
19474
19741
  val43.anchor = "middle_top";
19475
- ref48.x = 0.4;
19476
- ref48.y += 0.28;
19742
+ ref46.x = 0.4;
19743
+ ref46.y += 0.28;
19477
19744
  val43.y -= 0.28;
19478
19745
  val43.x = 0.4;
19479
19746
  var spdt_switch_up_default = rotated28;
@@ -19597,48 +19864,48 @@ var spst_normally_closed_switch_right_default = modifySymbol(spst_normally_close
19597
19864
 
19598
19865
  // symbols/spst_normally_closed_switch_down.ts
19599
19866
  var rotated29 = rotateSymbol(spst_normally_closed_switch_right_default, "down");
19600
- var ref49 = rotated29.primitives.find(
19867
+ var ref47 = rotated29.primitives.find(
19601
19868
  (p) => p.type === "text" && p.text === "{REF}"
19602
19869
  );
19603
19870
  var val44 = rotated29.primitives.find(
19604
19871
  (p) => p.type === "text" && p.text === "{VAL}"
19605
19872
  );
19606
- ref49.anchor = "middle_bottom";
19873
+ ref47.anchor = "middle_bottom";
19607
19874
  val44.anchor = "middle_top";
19608
- ref49.x = 0.3;
19609
- ref49.y += 0.265;
19875
+ ref47.x = 0.3;
19876
+ ref47.y += 0.265;
19610
19877
  val44.y -= 0.265;
19611
19878
  val44.x = 0.3;
19612
19879
  var spst_normally_closed_switch_down_default = rotated29;
19613
19880
 
19614
19881
  // symbols/spst_normally_closed_switch_left.ts
19615
19882
  var rotated30 = rotateSymbol(spst_normally_closed_switch_right_default, "left");
19616
- var ref50 = rotated30.primitives.find(
19883
+ var ref48 = rotated30.primitives.find(
19617
19884
  (p) => p.type === "text" && p.text === "{REF}"
19618
19885
  );
19619
19886
  var val45 = rotated30.primitives.find(
19620
19887
  (p) => p.type === "text" && p.text === "{VAL}"
19621
19888
  );
19622
- ref50.anchor = "middle_bottom";
19889
+ ref48.anchor = "middle_bottom";
19623
19890
  val45.anchor = "middle_top";
19624
- ref50.x = 0;
19625
- ref50.y += 0.57;
19891
+ ref48.x = 0;
19892
+ ref48.y += 0.57;
19626
19893
  val45.y -= 0.57;
19627
19894
  val45.x = 0;
19628
19895
  var spst_normally_closed_switch_left_default = rotated30;
19629
19896
 
19630
19897
  // symbols/spst_normally_closed_switch_up.ts
19631
19898
  var rotated31 = rotateSymbol(spst_normally_closed_switch_right_default, "up");
19632
- var ref51 = rotated31.primitives.find(
19899
+ var ref49 = rotated31.primitives.find(
19633
19900
  (p) => p.type === "text" && p.text === "{REF}"
19634
19901
  );
19635
19902
  var val46 = rotated31.primitives.find(
19636
19903
  (p) => p.type === "text" && p.text === "{VAL}"
19637
19904
  );
19638
- ref51.anchor = "middle_bottom";
19905
+ ref49.anchor = "middle_bottom";
19639
19906
  val46.anchor = "middle_top";
19640
- ref51.x = 0.3;
19641
- ref51.y += 0.265;
19907
+ ref49.x = 0.3;
19908
+ ref49.y += 0.265;
19642
19909
  val46.y -= 0.265;
19643
19910
  val46.x = 0.3;
19644
19911
  var spst_normally_closed_switch_up_default = rotated31;
@@ -19762,48 +20029,48 @@ var spst_switch_right_default = modifySymbol(spst_switch_default).changeTextAnch
19762
20029
 
19763
20030
  // symbols/spst_switch_down.ts
19764
20031
  var rotated32 = rotateSymbol(spst_switch_right_default, "down");
19765
- var ref52 = rotated32.primitives.find(
20032
+ var ref50 = rotated32.primitives.find(
19766
20033
  (p) => p.type === "text" && p.text === "{REF}"
19767
20034
  );
19768
20035
  var val47 = rotated32.primitives.find(
19769
20036
  (p) => p.type === "text" && p.text === "{VAL}"
19770
20037
  );
19771
- ref52.anchor = "middle_bottom";
20038
+ ref50.anchor = "middle_bottom";
19772
20039
  val47.anchor = "middle_top";
19773
- ref52.x = 0.3;
19774
- ref52.y += 0.265;
20040
+ ref50.x = 0.3;
20041
+ ref50.y += 0.265;
19775
20042
  val47.y -= 0.265;
19776
20043
  val47.x = 0.3;
19777
20044
  var spst_switch_down_default = rotated32;
19778
20045
 
19779
20046
  // symbols/spst_switch_left.ts
19780
20047
  var rotated33 = rotateSymbol(spst_switch_right_default, "left");
19781
- var ref53 = rotated33.primitives.find(
20048
+ var ref51 = rotated33.primitives.find(
19782
20049
  (p) => p.type === "text" && p.text === "{REF}"
19783
20050
  );
19784
20051
  var val48 = rotated33.primitives.find(
19785
20052
  (p) => p.type === "text" && p.text === "{VAL}"
19786
20053
  );
19787
- ref53.anchor = "middle_bottom";
20054
+ ref51.anchor = "middle_bottom";
19788
20055
  val48.anchor = "middle_top";
19789
- ref53.x = 0;
19790
- ref53.y += 0.57;
20056
+ ref51.x = 0;
20057
+ ref51.y += 0.57;
19791
20058
  val48.y -= 0.57;
19792
20059
  val48.x = 0;
19793
20060
  var spst_switch_left_default = rotated33;
19794
20061
 
19795
20062
  // symbols/spst_switch_up.ts
19796
20063
  var rotated34 = rotateSymbol(spst_switch_right_default, "up");
19797
- var ref54 = rotated34.primitives.find(
20064
+ var ref52 = rotated34.primitives.find(
19798
20065
  (p) => p.type === "text" && p.text === "{REF}"
19799
20066
  );
19800
20067
  var val49 = rotated34.primitives.find(
19801
20068
  (p) => p.type === "text" && p.text === "{VAL}"
19802
20069
  );
19803
- ref54.anchor = "middle_bottom";
20070
+ ref52.anchor = "middle_bottom";
19804
20071
  val49.anchor = "middle_top";
19805
- ref54.x = 0.3;
19806
- ref54.y += 0.265;
20072
+ ref52.x = 0.3;
20073
+ ref52.y += 0.265;
19807
20074
  val49.y -= 0.265;
19808
20075
  val49.x = 0.3;
19809
20076
  var spst_switch_up_default = rotated34;
@@ -19970,7 +20237,7 @@ var step_recovery_diode_default = {
19970
20237
  };
19971
20238
 
19972
20239
  // symbols/step_recovery_diode_horz.ts
19973
- var { paths: paths61, texts: texts74, bounds: bounds61, refblocks: refblocks61, circles: circles55 } = step_recovery_diode_default;
20240
+ var { paths: paths72, texts: texts83, bounds: bounds72, refblocks: refblocks72, circles: circles66 } = step_recovery_diode_default;
19974
20241
  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
20242
 
19976
20243
  // symbols/step_recovery_diode_vert.ts
@@ -20063,11 +20330,11 @@ var tachometer_default = {
20063
20330
  };
20064
20331
 
20065
20332
  // symbols/tachometer_horz.ts
20066
- var { paths: paths62, texts: texts75, bounds: bounds62, refblocks: refblocks62, circles: circles56 } = tachometer_default;
20333
+ var { paths: paths73, texts: texts84, bounds: bounds73, refblocks: refblocks73, circles: circles67 } = tachometer_default;
20067
20334
  var tachometer_horz_default = defineSymbol({
20068
20335
  primitives: [
20069
- ...Object.values(paths62),
20070
- ...Object.values(circles56),
20336
+ ...Object.values(paths73),
20337
+ ...Object.values(circles67),
20071
20338
  {
20072
20339
  type: "text",
20073
20340
  text: "{REF}",
@@ -20082,16 +20349,16 @@ var tachometer_horz_default = defineSymbol({
20082
20349
  y: 0.35,
20083
20350
  anchor: "middle_bottom"
20084
20351
  },
20085
- { ...texts75.left1, y: 0.01, anchor: "center", fontSize: 0.2 }
20352
+ { ...texts84.left1, y: 0.01, anchor: "center", fontSize: 0.2 }
20086
20353
  ],
20087
20354
  ports: [
20088
- { ...refblocks62.left1, labels: ["1"] },
20355
+ { ...refblocks73.left1, labels: ["1"] },
20089
20356
  // TODO add more "standard" labels
20090
- { ...refblocks62.right1, labels: ["2"] }
20357
+ { ...refblocks73.right1, labels: ["2"] }
20091
20358
  // TODO add more "standard" labels
20092
20359
  ],
20093
- size: { width: bounds62.width, height: bounds62.height },
20094
- center: { x: bounds62.centerX, y: bounds62.centerY }
20360
+ size: { width: bounds73.width, height: bounds73.height },
20361
+ center: { x: bounds73.centerX, y: bounds73.centerY }
20095
20362
  });
20096
20363
 
20097
20364
  // symbols/tachometer_vert.ts
@@ -20099,13 +20366,13 @@ var { 5: letter4, ...rest4 } = tachometer_horz_default.primitives;
20099
20366
  function isPrimitive4(value) {
20100
20367
  return typeof value === "object";
20101
20368
  }
20102
- var rotatedSymbol20 = rotateSymbol({
20369
+ var rotatedSymbol18 = rotateSymbol({
20103
20370
  ...tachometer_horz_default,
20104
20371
  primitives: Object.values(rest4).filter(isPrimitive4)
20105
20372
  });
20106
20373
  var tachometer_vert_default = {
20107
- ...rotatedSymbol20,
20108
- primitives: [...rotatedSymbol20.primitives, letter4]
20374
+ ...rotatedSymbol18,
20375
+ primitives: [...rotatedSymbol18.primitives, letter4]
20109
20376
  };
20110
20377
 
20111
20378
  // symbols/testpoint_right.ts
@@ -20138,11 +20405,11 @@ var testpoint_right_default = defineSymbol({
20138
20405
 
20139
20406
  // symbols/testpoint_down.ts
20140
20407
  var rotated35 = rotateSymbol(testpoint_right_default, "down");
20141
- var ref55 = rotated35.primitives.find(
20408
+ var ref53 = rotated35.primitives.find(
20142
20409
  (p) => p.type === "text" && p.text === "{REF}"
20143
20410
  );
20144
- if (ref55) {
20145
- ref55.anchor = "middle_top";
20411
+ if (ref53) {
20412
+ ref53.anchor = "middle_top";
20146
20413
  }
20147
20414
  var testpoint_down_default = rotated35;
20148
20415
 
@@ -20151,11 +20418,11 @@ var testpoint_left_default = rotateSymbol(testpoint_right_default, "left");
20151
20418
 
20152
20419
  // symbols/testpoint_up.ts
20153
20420
  var rotated36 = rotateSymbol(testpoint_right_default, "up");
20154
- var ref56 = rotated36.primitives.find(
20421
+ var ref54 = rotated36.primitives.find(
20155
20422
  (p) => p.type === "text" && p.text === "{REF}"
20156
20423
  );
20157
- if (ref56) {
20158
- ref56.anchor = "middle_bottom";
20424
+ if (ref54) {
20425
+ ref54.anchor = "middle_bottom";
20159
20426
  }
20160
20427
  var testpoint_up_default = rotated36;
20161
20428
 
@@ -20276,48 +20543,48 @@ var tilted_ground_right_default = modifySymbol(tilted_ground_default).labelPort(
20276
20543
 
20277
20544
  // symbols/tilted_ground_up.ts
20278
20545
  var rotated37 = rotateSymbol(tilted_ground_right_default, "up");
20279
- var ref57 = rotated37.primitives.find(
20546
+ var ref55 = rotated37.primitives.find(
20280
20547
  (p) => p.type === "text" && p.text === "{REF}"
20281
20548
  );
20282
20549
  var val50 = rotated37.primitives.find(
20283
20550
  (p) => p.type === "text" && p.text === "{VAL}"
20284
20551
  );
20285
- ref57.anchor = "middle_bottom";
20552
+ ref55.anchor = "middle_bottom";
20286
20553
  val50.anchor = "middle_top";
20287
- ref57.x = 0.4;
20288
- ref57.y += 0.2;
20554
+ ref55.x = 0.4;
20555
+ ref55.y += 0.2;
20289
20556
  val50.y -= 0.3;
20290
20557
  val50.x = 0.4;
20291
20558
  var tilted_ground_up_default = rotated37;
20292
20559
 
20293
20560
  // symbols/tilted_ground_down.ts
20294
20561
  var rotated38 = flipSymbolOverXAxis(tilted_ground_up_default);
20295
- var ref58 = rotated38.primitives.find(
20562
+ var ref56 = rotated38.primitives.find(
20296
20563
  (p) => p.type === "text" && p.text === "{REF}"
20297
20564
  );
20298
20565
  var val51 = rotated38.primitives.find(
20299
20566
  (p) => p.type === "text" && p.text === "{VAL}"
20300
20567
  );
20301
- ref58.anchor = "middle_bottom";
20568
+ ref56.anchor = "middle_bottom";
20302
20569
  val51.anchor = "middle_top";
20303
- ref58.x = 0.35;
20304
- ref58.y += 0.4;
20570
+ ref56.x = 0.35;
20571
+ ref56.y += 0.4;
20305
20572
  val51.y -= 0.4;
20306
20573
  val51.x = 0.35;
20307
20574
  var tilted_ground_down_default = rotated38;
20308
20575
 
20309
20576
  // symbols/tilted_ground_left.ts
20310
20577
  var rotated39 = rotateSymbol(tilted_ground_right_default, "left");
20311
- var ref59 = rotated39.primitives.find(
20578
+ var ref57 = rotated39.primitives.find(
20312
20579
  (p) => p.type === "text" && p.text === "{REF}"
20313
20580
  );
20314
20581
  var val52 = rotated39.primitives.find(
20315
20582
  (p) => p.type === "text" && p.text === "{VAL}"
20316
20583
  );
20317
- ref59.anchor = "middle_bottom";
20584
+ ref57.anchor = "middle_bottom";
20318
20585
  val52.anchor = "middle_top";
20319
- ref59.x = 0;
20320
- ref59.y += 0.5;
20586
+ ref57.x = 0;
20587
+ ref57.y += 0.5;
20321
20588
  val52.y -= 0.6;
20322
20589
  val52.x = 0;
20323
20590
  var tilted_ground_left_default = rotated39;
@@ -20513,19 +20780,19 @@ var triac_default = {
20513
20780
  };
20514
20781
 
20515
20782
  // symbols/triac_horz.ts
20516
- var { paths: paths63, texts: texts76, bounds: bounds63, refblocks: refblocks63, circles: circles57 } = triac_default;
20783
+ var { paths: paths74, texts: texts85, bounds: bounds74, refblocks: refblocks74, circles: circles68 } = triac_default;
20517
20784
  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
20785
 
20519
20786
  // symbols/triac_vert.ts
20520
- var rotatedSymbol21 = rotateSymbol(triac_horz_default);
20521
- var texts77 = rotatedSymbol21.primitives.filter(
20787
+ var rotatedSymbol19 = rotateSymbol(triac_horz_default);
20788
+ var texts86 = rotatedSymbol19.primitives.filter(
20522
20789
  (primitive) => primitive.type === "text"
20523
20790
  );
20524
- var ref60 = texts77.find((text) => text.text === "{REF}");
20525
- var val53 = texts77.find((text) => text.text === "{VAL}");
20526
- ref60.y = 0;
20791
+ var ref58 = texts86.find((text) => text.text === "{REF}");
20792
+ var val53 = texts86.find((text) => text.text === "{VAL}");
20793
+ ref58.y = 0;
20527
20794
  val53.y = 0;
20528
- var triac_vert_default = rotatedSymbol21;
20795
+ var triac_vert_default = rotatedSymbol19;
20529
20796
 
20530
20797
  // assets/generated/tunnel_diode.json
20531
20798
  var tunnel_diode_default = {
@@ -20689,33 +20956,33 @@ var tunnel_diode_default = {
20689
20956
  };
20690
20957
 
20691
20958
  // symbols/tunnel_diode_horz.ts
20692
- var { paths: paths64, texts: texts78, bounds: bounds64, refblocks: refblocks64, circles: circles58 } = tunnel_diode_default;
20959
+ var { paths: paths75, texts: texts87, bounds: bounds75, refblocks: refblocks75, circles: circles69 } = tunnel_diode_default;
20693
20960
  var tunnel_diode_horz_default = defineSymbol({
20694
20961
  primitives: [
20695
- ...Object.values(paths64),
20696
- ...Object.values(circles58),
20697
- { ...texts78.top1, anchor: "middle_bottom" },
20698
- { ...texts78.bottom1, anchor: "middle_top" }
20962
+ ...Object.values(paths75),
20963
+ ...Object.values(circles69),
20964
+ { ...texts87.top1, anchor: "middle_bottom" },
20965
+ { ...texts87.bottom1, anchor: "middle_top" }
20699
20966
  ],
20700
20967
  ports: [
20701
- { ...refblocks64.left1, labels: ["1"] },
20968
+ { ...refblocks75.left1, labels: ["1"] },
20702
20969
  // TODO add more "standard" labels
20703
- { ...refblocks64.right1, labels: ["2"] }
20970
+ { ...refblocks75.right1, labels: ["2"] }
20704
20971
  // TODO add more "standard" labels
20705
20972
  ],
20706
- size: { width: bounds64.width, height: bounds64.height },
20707
- center: { x: bounds64.centerX, y: bounds64.centerY }
20973
+ size: { width: bounds75.width, height: bounds75.height },
20974
+ center: { x: bounds75.centerX, y: bounds75.centerY }
20708
20975
  });
20709
20976
 
20710
20977
  // symbols/tunnel_diode_vert.ts
20711
20978
  var rotated40 = rotateSymbol(tunnel_diode_horz_default);
20712
- var ref61 = rotated40.primitives.find(
20979
+ var ref59 = rotated40.primitives.find(
20713
20980
  (p) => p.type === "text" && p.text === "{REF}"
20714
20981
  );
20715
20982
  var val54 = rotated40.primitives.find(
20716
20983
  (p) => p.type === "text" && p.text === "{VAL}"
20717
20984
  );
20718
- ref61.anchor = "middle_left";
20985
+ ref59.anchor = "middle_left";
20719
20986
  val54.anchor = "middle_right";
20720
20987
  var tunnel_diode_vert_default = rotated40;
20721
20988
 
@@ -20887,37 +21154,37 @@ var unijunction_transistor_default = {
20887
21154
  };
20888
21155
 
20889
21156
  // symbols/unijunction_transistor_horz.ts
20890
- var { paths: paths65, texts: texts79, bounds: bounds65, refblocks: refblocks65, circles: circles59 } = unijunction_transistor_default;
21157
+ var { paths: paths76, texts: texts88, bounds: bounds76, refblocks: refblocks76, circles: circles70 } = unijunction_transistor_default;
20891
21158
  var unijunction_transistor_horz_default = defineSymbol({
20892
21159
  primitives: [
20893
- ...Object.values(paths65),
20894
- ...Object.values(circles59),
20895
- { ...texts79.top1, anchor: "middle_left" },
20896
- { ...texts79.bottom1, anchor: "middle_right" }
21160
+ ...Object.values(paths76),
21161
+ ...Object.values(circles70),
21162
+ { ...texts88.top1, anchor: "middle_left" },
21163
+ { ...texts88.bottom1, anchor: "middle_right" }
20897
21164
  ],
20898
21165
  ports: [
20899
- { ...refblocks65.top1, labels: ["1"] },
21166
+ { ...refblocks76.top1, labels: ["1"] },
20900
21167
  // TODO add more "standard" labels
20901
- { ...refblocks65.bottom1, labels: ["2"] },
21168
+ { ...refblocks76.bottom1, labels: ["2"] },
20902
21169
  // TODO add more "standard" labels
20903
- { ...refblocks65.left1, labels: ["3"] }
21170
+ { ...refblocks76.left1, labels: ["3"] }
20904
21171
  // TODO add more "standard" labels
20905
21172
  ],
20906
- size: { width: bounds65.width, height: bounds65.height },
20907
- center: { x: bounds65.centerX, y: bounds65.centerY }
21173
+ size: { width: bounds76.width, height: bounds76.height },
21174
+ center: { x: bounds76.centerX, y: bounds76.centerY }
20908
21175
  });
20909
21176
 
20910
21177
  // symbols/unijunction_transistor_vert.ts
20911
- var rotatedSymbol22 = rotateSymbol(unijunction_transistor_horz_default);
20912
- var texts80 = rotatedSymbol22.primitives.filter(
21178
+ var rotatedSymbol20 = rotateSymbol(unijunction_transistor_horz_default);
21179
+ var texts89 = rotatedSymbol20.primitives.filter(
20913
21180
  (primitive) => primitive.type === "text"
20914
21181
  );
20915
- var ref62 = texts80.find((text) => text.text === "{REF}");
20916
- ref62.y = 0.1;
20917
- var val55 = texts80.find((text) => text.text === "{VAL}");
21182
+ var ref60 = texts89.find((text) => text.text === "{REF}");
21183
+ ref60.y = 0.1;
21184
+ var val55 = texts89.find((text) => text.text === "{VAL}");
20918
21185
  val55.y = 0.1;
20919
21186
  val55.x = -0.4;
20920
- var unijunction_transistor_vert_default = rotatedSymbol22;
21187
+ var unijunction_transistor_vert_default = rotatedSymbol20;
20921
21188
 
20922
21189
  // assets/generated/var_meter.json
20923
21190
  var var_meter_default = {
@@ -21006,33 +21273,33 @@ var var_meter_default = {
21006
21273
  };
21007
21274
 
21008
21275
  // symbols/var_meter_horz.ts
21009
- var { paths: paths66, texts: texts81, bounds: bounds66, refblocks: refblocks66, circles: circles60 } = var_meter_default;
21276
+ var { paths: paths77, texts: texts90, bounds: bounds77, refblocks: refblocks77, circles: circles71 } = var_meter_default;
21010
21277
  var var_meter_horz_default = defineSymbol({
21011
21278
  primitives: [
21012
- ...Object.values(paths66),
21013
- ...Object.values(circles60),
21279
+ ...Object.values(paths77),
21280
+ ...Object.values(circles71),
21014
21281
  {
21015
- ...texts81.top1,
21282
+ ...texts90.top1,
21016
21283
  x: 0,
21017
21284
  y: -0.3594553499999995,
21018
21285
  anchor: "middle_top"
21019
21286
  },
21020
21287
  {
21021
- ...texts81.bottom1,
21288
+ ...texts90.bottom1,
21022
21289
  x: 0,
21023
21290
  y: 0.35,
21024
21291
  anchor: "middle_bottom"
21025
21292
  },
21026
- { ...texts81.left1, x: -0.02, y: 0.01, fontSize: 0.2, anchor: "center" }
21293
+ { ...texts90.left1, x: -0.02, y: 0.01, fontSize: 0.2, anchor: "center" }
21027
21294
  ],
21028
21295
  ports: [
21029
- { ...refblocks66.left1, labels: ["1"] },
21296
+ { ...refblocks77.left1, labels: ["1"] },
21030
21297
  // TODO add more "standard" labels
21031
- { ...refblocks66.right1, labels: ["2"] }
21298
+ { ...refblocks77.right1, labels: ["2"] }
21032
21299
  // TODO add more "standard" labels
21033
21300
  ],
21034
- size: { width: bounds66.width, height: bounds66.height },
21035
- center: { x: bounds66.centerX, y: bounds66.centerY }
21301
+ size: { width: bounds77.width, height: bounds77.height },
21302
+ center: { x: bounds77.centerX, y: bounds77.centerY }
21036
21303
  });
21037
21304
 
21038
21305
  // symbols/var_meter_vert.ts
@@ -21185,33 +21452,33 @@ var varactor_diode_default = {
21185
21452
  };
21186
21453
 
21187
21454
  // symbols/varactor_diode_horz.ts
21188
- var { paths: paths67, texts: texts82, bounds: bounds67, refblocks: refblocks67, circles: circles61 } = varactor_diode_default;
21455
+ var { paths: paths78, texts: texts91, bounds: bounds78, refblocks: refblocks78, circles: circles72 } = varactor_diode_default;
21189
21456
  var varactor_diode_horz_default = defineSymbol({
21190
21457
  primitives: [
21191
- ...Object.values(paths67),
21192
- ...Object.values(circles61),
21193
- { ...texts82.top1, anchor: "middle_bottom" },
21194
- { ...texts82.bottom1, anchor: "middle_top" }
21458
+ ...Object.values(paths78),
21459
+ ...Object.values(circles72),
21460
+ { ...texts91.top1, anchor: "middle_bottom" },
21461
+ { ...texts91.bottom1, anchor: "middle_top" }
21195
21462
  ],
21196
21463
  ports: [
21197
- { ...refblocks67.left1, labels: ["1"] },
21464
+ { ...refblocks78.left1, labels: ["1"] },
21198
21465
  // TODO add more "standard" labels
21199
- { ...refblocks67.right1, labels: ["2"] }
21466
+ { ...refblocks78.right1, labels: ["2"] }
21200
21467
  // TODO add more "standard" labels
21201
21468
  ],
21202
- size: { width: bounds67.width, height: bounds67.height },
21203
- center: { x: bounds67.centerX, y: bounds67.centerY }
21469
+ size: { width: bounds78.width, height: bounds78.height },
21470
+ center: { x: bounds78.centerX, y: bounds78.centerY }
21204
21471
  });
21205
21472
 
21206
21473
  // symbols/varactor_diode_vert.ts
21207
21474
  var rotated41 = rotateSymbol(varactor_diode_horz_default);
21208
- var ref63 = rotated41.primitives.find(
21475
+ var ref61 = rotated41.primitives.find(
21209
21476
  (p) => p.type === "text" && p.text === "{REF}"
21210
21477
  );
21211
21478
  var val56 = rotated41.primitives.find(
21212
21479
  (p) => p.type === "text" && p.text === "{VAL}"
21213
21480
  );
21214
- ref63.anchor = "middle_left";
21481
+ ref61.anchor = "middle_left";
21215
21482
  val56.anchor = "middle_right";
21216
21483
  var varactor_diode_vert_default = rotated41;
21217
21484
 
@@ -21348,26 +21615,26 @@ var varistor_default = {
21348
21615
  };
21349
21616
 
21350
21617
  // symbols/varistor_horz.ts
21351
- var { paths: paths68, texts: texts83, bounds: bounds68, refblocks: refblocks68 } = varistor_default;
21618
+ var { paths: paths79, texts: texts92, bounds: bounds79, refblocks: refblocks79 } = varistor_default;
21352
21619
  var varistor_horz_default = defineSymbol({
21353
21620
  primitives: [
21354
- ...Object.values(paths68),
21355
- { ...texts83.top1, anchor: "middle_left" },
21356
- { ...texts83.bottom1, anchor: "middle_right" }
21621
+ ...Object.values(paths79),
21622
+ { ...texts92.top1, anchor: "middle_left" },
21623
+ { ...texts92.bottom1, anchor: "middle_right" }
21357
21624
  ],
21358
21625
  ports: [
21359
21626
  {
21360
- ...refblocks68.left1,
21627
+ ...refblocks79.left1,
21361
21628
  labels: ["1", "-"]
21362
21629
  },
21363
21630
  {
21364
- ...refblocks68.right1,
21631
+ ...refblocks79.right1,
21365
21632
  labels: ["2", "+"]
21366
21633
  }
21367
21634
  ],
21368
- size: { width: bounds68.width, height: bounds68.height },
21635
+ size: { width: bounds79.width, height: bounds79.height },
21369
21636
  //{ width: 1, height: 0.24 },
21370
- center: { x: bounds68.centerX, y: bounds68.centerY }
21637
+ center: { x: bounds79.centerX, y: bounds79.centerY }
21371
21638
  });
21372
21639
 
21373
21640
  // symbols/varistor_vert.ts
@@ -21460,11 +21727,11 @@ var varmeter_default = {
21460
21727
  };
21461
21728
 
21462
21729
  // symbols/varmeter_horz.ts
21463
- var { paths: paths69, texts: texts84, bounds: bounds69, refblocks: refblocks69, circles: circles62 } = varmeter_default;
21730
+ var { paths: paths80, texts: texts93, bounds: bounds80, refblocks: refblocks80, circles: circles73 } = varmeter_default;
21464
21731
  var varmeter_horz_default = defineSymbol({
21465
21732
  primitives: [
21466
- ...Object.values(paths69),
21467
- ...Object.values(circles62),
21733
+ ...Object.values(paths80),
21734
+ ...Object.values(circles73),
21468
21735
  {
21469
21736
  type: "text",
21470
21737
  text: "{REF}",
@@ -21479,16 +21746,16 @@ var varmeter_horz_default = defineSymbol({
21479
21746
  y: 0.35,
21480
21747
  anchor: "middle_bottom"
21481
21748
  },
21482
- { ...texts84.left1, anchor: "center", y: 0.02, fontSize: 0.2 }
21749
+ { ...texts93.left1, anchor: "center", y: 0.02, fontSize: 0.2 }
21483
21750
  ],
21484
21751
  ports: [
21485
- { ...refblocks69.left1, labels: ["1"] },
21752
+ { ...refblocks80.left1, labels: ["1"] },
21486
21753
  // TODO add more "standard" labels
21487
- { ...refblocks69.right1, labels: ["2"] }
21754
+ { ...refblocks80.right1, labels: ["2"] }
21488
21755
  // TODO add more "standard" labels
21489
21756
  ],
21490
- size: { width: bounds69.width, height: bounds69.height },
21491
- center: { x: bounds69.centerX, y: bounds69.centerY }
21757
+ size: { width: bounds80.width, height: bounds80.height },
21758
+ center: { x: bounds80.centerX, y: bounds80.centerY }
21492
21759
  });
21493
21760
 
21494
21761
  // symbols/varmeter_vert.ts
@@ -21496,13 +21763,13 @@ var { 5: letter5, ...rest5 } = varmeter_horz_default.primitives;
21496
21763
  function isPrimitive5(value) {
21497
21764
  return typeof value === "object";
21498
21765
  }
21499
- var rotatedSymbol23 = rotateSymbol({
21766
+ var rotatedSymbol21 = rotateSymbol({
21500
21767
  ...varmeter_horz_default,
21501
21768
  primitives: Object.values(rest5).filter(isPrimitive5)
21502
21769
  });
21503
21770
  var varmeter_vert_default = {
21504
- ...rotatedSymbol23,
21505
- primitives: [...rotatedSymbol23.primitives, letter5]
21771
+ ...rotatedSymbol21,
21772
+ primitives: [...rotatedSymbol21.primitives, letter5]
21506
21773
  };
21507
21774
 
21508
21775
  // assets/generated/vcc.json
@@ -21693,7 +21960,7 @@ var volt_meter_default = {
21693
21960
  };
21694
21961
 
21695
21962
  // symbols/volt_meter_horz.ts
21696
- var { paths: paths70, texts: texts85, bounds: bounds70, circles: circles63, refblocks: refblocks70 } = volt_meter_default;
21963
+ var { paths: paths81, texts: texts94, bounds: bounds81, circles: circles74, refblocks: refblocks81 } = volt_meter_default;
21697
21964
  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
21965
 
21699
21966
  // symbols/volt_meter_vert.ts
@@ -21786,11 +22053,11 @@ var watt_hour_meter_default = {
21786
22053
  };
21787
22054
 
21788
22055
  // symbols/watt_hour_meter_horz.ts
21789
- var { paths: paths71, texts: texts86, bounds: bounds71, refblocks: refblocks71, circles: circles64 } = watt_hour_meter_default;
22056
+ var { paths: paths82, texts: texts95, bounds: bounds82, refblocks: refblocks82, circles: circles75 } = watt_hour_meter_default;
21790
22057
  var watt_hour_meter_horz_default = defineSymbol({
21791
22058
  primitives: [
21792
- ...Object.values(paths71),
21793
- ...Object.values(circles64),
22059
+ ...Object.values(paths82),
22060
+ ...Object.values(circles75),
21794
22061
  {
21795
22062
  type: "text",
21796
22063
  text: "{REF}",
@@ -21805,16 +22072,16 @@ var watt_hour_meter_horz_default = defineSymbol({
21805
22072
  y: 0.35,
21806
22073
  anchor: "middle_bottom"
21807
22074
  },
21808
- { ...texts86.left1, anchor: "center", y: 0.01, fontSize: 0.2 }
22075
+ { ...texts95.left1, anchor: "center", y: 0.01, fontSize: 0.2 }
21809
22076
  ],
21810
22077
  ports: [
21811
- { ...refblocks71.left1, labels: ["1"] },
22078
+ { ...refblocks82.left1, labels: ["1"] },
21812
22079
  // TODO add more "standard" labels
21813
- { ...refblocks71.right1, labels: ["2"] }
22080
+ { ...refblocks82.right1, labels: ["2"] }
21814
22081
  // TODO add more "standard" labels
21815
22082
  ],
21816
- size: { width: bounds71.width, height: bounds71.height },
21817
- center: { x: bounds71.centerX, y: bounds71.centerY }
22083
+ size: { width: bounds82.width, height: bounds82.height },
22084
+ center: { x: bounds82.centerX, y: bounds82.centerY }
21818
22085
  });
21819
22086
 
21820
22087
  // symbols/watt_hour_meter_vert.ts
@@ -21822,13 +22089,13 @@ var { 5: letter6, ...rest6 } = watt_hour_meter_horz_default.primitives;
21822
22089
  function isPrimitive6(value) {
21823
22090
  return typeof value === "object";
21824
22091
  }
21825
- var rotatedSymbol24 = rotateSymbol({
22092
+ var rotatedSymbol22 = rotateSymbol({
21826
22093
  ...watt_hour_meter_horz_default,
21827
22094
  primitives: Object.values(rest6).filter(isPrimitive6)
21828
22095
  });
21829
22096
  var watt_hour_meter_vert_default = {
21830
- ...rotatedSymbol24,
21831
- primitives: [...rotatedSymbol24.primitives, letter6]
22097
+ ...rotatedSymbol22,
22098
+ primitives: [...rotatedSymbol22.primitives, letter6]
21832
22099
  };
21833
22100
 
21834
22101
  // assets/generated/wattmeter.json
@@ -21918,11 +22185,11 @@ var wattmeter_default = {
21918
22185
  };
21919
22186
 
21920
22187
  // symbols/wattmeter_horz.ts
21921
- var { paths: paths72, texts: texts87, bounds: bounds72, refblocks: refblocks72, circles: circles65 } = wattmeter_default;
22188
+ var { paths: paths83, texts: texts96, bounds: bounds83, refblocks: refblocks83, circles: circles76 } = wattmeter_default;
21922
22189
  var wattmeter_horz_default = defineSymbol({
21923
22190
  primitives: [
21924
- ...Object.values(paths72),
21925
- ...Object.values(circles65),
22191
+ ...Object.values(paths83),
22192
+ ...Object.values(circles76),
21926
22193
  {
21927
22194
  type: "text",
21928
22195
  text: "{REF}",
@@ -21937,16 +22204,16 @@ var wattmeter_horz_default = defineSymbol({
21937
22204
  y: 0.35,
21938
22205
  anchor: "middle_bottom"
21939
22206
  },
21940
- { ...texts87.left1, anchor: "center", y: 0.01, fontSize: 0.3 }
22207
+ { ...texts96.left1, anchor: "center", y: 0.01, fontSize: 0.3 }
21941
22208
  ],
21942
22209
  ports: [
21943
- { ...refblocks72.left1, labels: ["1"] },
22210
+ { ...refblocks83.left1, labels: ["1"] },
21944
22211
  // TODO add more "standard" labels
21945
- { ...refblocks72.right1, labels: ["2"] }
22212
+ { ...refblocks83.right1, labels: ["2"] }
21946
22213
  // TODO add more "standard" labels
21947
22214
  ],
21948
- size: { width: bounds72.width, height: bounds72.height },
21949
- center: { x: bounds72.centerX, y: bounds72.centerY }
22215
+ size: { width: bounds83.width, height: bounds83.height },
22216
+ center: { x: bounds83.centerX, y: bounds83.centerY }
21950
22217
  });
21951
22218
 
21952
22219
  // symbols/wattmeter_vert.ts
@@ -21954,13 +22221,13 @@ var { 5: letter7, ...rest7 } = wattmeter_horz_default.primitives;
21954
22221
  function isPrimitive7(value) {
21955
22222
  return typeof value === "object";
21956
22223
  }
21957
- var rotatedSymbol25 = rotateSymbol({
22224
+ var rotatedSymbol23 = rotateSymbol({
21958
22225
  ...wattmeter_horz_default,
21959
22226
  primitives: Object.values(rest7).filter(isPrimitive7)
21960
22227
  });
21961
22228
  var wattmeter_vert_default = {
21962
- ...rotatedSymbol25,
21963
- primitives: [...rotatedSymbol25.primitives, letter7]
22229
+ ...rotatedSymbol23,
22230
+ primitives: [...rotatedSymbol23.primitives, letter7]
21964
22231
  };
21965
22232
 
21966
22233
  // assets/generated/zener_diode.json
@@ -22110,33 +22377,33 @@ var zener_diode_default = {
22110
22377
  };
22111
22378
 
22112
22379
  // symbols/zener_diode_horz.ts
22113
- var { paths: paths73, texts: texts88, bounds: bounds73, refblocks: refblocks73, circles: circles66 } = zener_diode_default;
22380
+ var { paths: paths84, texts: texts97, bounds: bounds84, refblocks: refblocks84, circles: circles77 } = zener_diode_default;
22114
22381
  var zener_diode_horz_default = defineSymbol({
22115
22382
  primitives: [
22116
- ...Object.values(paths73),
22117
- ...Object.values(circles66),
22118
- { ...texts88.top1, anchor: "middle_bottom" },
22119
- { ...texts88.bottom1, anchor: "middle_top" }
22383
+ ...Object.values(paths84),
22384
+ ...Object.values(circles77),
22385
+ { ...texts97.top1, anchor: "middle_bottom" },
22386
+ { ...texts97.bottom1, anchor: "middle_top" }
22120
22387
  ],
22121
22388
  ports: [
22122
- { ...refblocks73.left1, labels: ["1"] },
22389
+ { ...refblocks84.left1, labels: ["1"] },
22123
22390
  // TODO add more "standard" labels
22124
- { ...refblocks73.right1, labels: ["2"] }
22391
+ { ...refblocks84.right1, labels: ["2"] }
22125
22392
  // TODO add more "standard" labels
22126
22393
  ],
22127
- size: { width: bounds73.width, height: bounds73.height },
22128
- center: { x: bounds73.centerX, y: bounds73.centerY }
22394
+ size: { width: bounds84.width, height: bounds84.height },
22395
+ center: { x: bounds84.centerX, y: bounds84.centerY }
22129
22396
  });
22130
22397
 
22131
22398
  // symbols/zener_diode_vert.ts
22132
22399
  var rotated42 = rotateSymbol(zener_diode_horz_default);
22133
- var ref64 = rotated42.primitives.find(
22400
+ var ref62 = rotated42.primitives.find(
22134
22401
  (p) => p.type === "text" && p.text === "{REF}"
22135
22402
  );
22136
22403
  var val57 = rotated42.primitives.find(
22137
22404
  (p) => p.type === "text" && p.text === "{VAL}"
22138
22405
  );
22139
- ref64.anchor = "middle_left";
22406
+ ref62.anchor = "middle_left";
22140
22407
  val57.anchor = "middle_right";
22141
22408
  var zener_diode_vert_default = rotated42;
22142
22409
 
@@ -22264,7 +22531,11 @@ var symbols_index_default = {
22264
22531
  "not_connected_left": not_connected_left_default,
22265
22532
  "not_connected_right": not_connected_right_default,
22266
22533
  "not_connected_up": not_connected_up_default,
22534
+ "npn_bipolar_transistor_down": npn_bipolar_transistor_down_default,
22267
22535
  "npn_bipolar_transistor_horz": npn_bipolar_transistor_horz_default,
22536
+ "npn_bipolar_transistor_left": npn_bipolar_transistor_left_default,
22537
+ "npn_bipolar_transistor_right": npn_bipolar_transistor_right_default,
22538
+ "npn_bipolar_transistor_up": npn_bipolar_transistor_up_default,
22268
22539
  "npn_bipolar_transistor_vert": npn_bipolar_transistor_vert_default,
22269
22540
  "opamp_no_power_down": opamp_no_power_down_default,
22270
22541
  "opamp_no_power_left": opamp_no_power_left_default,
@@ -22282,7 +22553,11 @@ var symbols_index_default = {
22282
22553
  "photodiode_vert": photodiode_vert_default,
22283
22554
  "pjfet_transistor_horz": pjfet_transistor_horz_default,
22284
22555
  "pjfet_transistor_vert": pjfet_transistor_vert_default,
22556
+ "pnp_bipolar_transistor_down": pnp_bipolar_transistor_down_default,
22285
22557
  "pnp_bipolar_transistor_horz": pnp_bipolar_transistor_horz_default,
22558
+ "pnp_bipolar_transistor_left": pnp_bipolar_transistor_left_default,
22559
+ "pnp_bipolar_transistor_right": pnp_bipolar_transistor_right_default,
22560
+ "pnp_bipolar_transistor_up": pnp_bipolar_transistor_up_default,
22286
22561
  "pnp_bipolar_transistor_vert": pnp_bipolar_transistor_vert_default,
22287
22562
  "potentiometer_horz": potentiometer_horz_default,
22288
22563
  "potentiometer_vert": potentiometer_vert_default,