schematic-symbols 0.0.165 → 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 bounds73 = getBoundsOfPrimitives(symbol8.primitives);
47
+ const bounds83 = getBoundsOfPrimitives(symbol8.primitives);
48
48
  size = {
49
- width: bounds73.maxX - bounds73.minX,
50
- height: bounds73.maxY - bounds73.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 bounds73 = 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: bounds73.maxX - bounds73.minX,
504
- height: bounds73.maxY - bounds73.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 bounds73 = getBoundsOfPrimitives(this.symbol.primitives);
905
+ const bounds83 = getBoundsOfPrimitives(this.symbol.primitives);
906
906
  return {
907
- width: bounds73.maxX - bounds73.minX,
908
- height: bounds73.maxY - bounds73.minY
907
+ width: bounds83.maxX - bounds83.minX,
908
+ height: bounds83.maxY - bounds83.minY
909
909
  };
910
910
  }
911
911
  build() {
@@ -11884,6 +11884,71 @@ ref27.x = 0.35;
11884
11884
  ref27.anchor = "middle_left";
11885
11885
  var njfet_transistor_vert_default = rotatedSymbol11;
11886
11886
 
11887
+ // assets/generated/not_connected.json
11888
+ var not_connected_default = {
11889
+ paths: {
11890
+ diag1: {
11891
+ type: "path",
11892
+ points: [
11893
+ { x: -0.1, y: -0.1 },
11894
+ { x: 0.1, y: 0.1 }
11895
+ ],
11896
+ color: "primary",
11897
+ fill: false
11898
+ },
11899
+ diag2: {
11900
+ type: "path",
11901
+ points: [
11902
+ { x: -0.1, y: 0.1 },
11903
+ { x: 0.1, y: -0.1 }
11904
+ ],
11905
+ color: "primary",
11906
+ fill: false
11907
+ },
11908
+ stem: {
11909
+ type: "path",
11910
+ points: [
11911
+ { x: -0.2, y: 0 },
11912
+ { x: 0, y: 0 }
11913
+ ],
11914
+ color: "primary",
11915
+ fill: false
11916
+ }
11917
+ },
11918
+ texts: {},
11919
+ refblocks: {
11920
+ left1: { x: -0.2, y: 0 }
11921
+ },
11922
+ bounds: {
11923
+ minX: -0.195,
11924
+ maxX: 0.195,
11925
+ minY: -0.12,
11926
+ maxY: 0.12,
11927
+ width: 0.39,
11928
+ height: 0.24,
11929
+ centerX: 0,
11930
+ centerY: 0
11931
+ },
11932
+ circles: {}
11933
+ };
11934
+
11935
+ // symbols/not_connected_right.ts
11936
+ var { paths: paths44, bounds: bounds44, refblocks: refblocks44 } = not_connected_default;
11937
+ var not_connected_right_default = modifySymbol({
11938
+ primitives: [...Object.values(paths44)],
11939
+ ports: [{ ...refblocks44.left1, labels: ["1"] }],
11940
+ center: { x: bounds44.centerX, y: bounds44.centerY }
11941
+ }).rotateRightFacingSymbol("right").labelPort("left1", ["1"]).build();
11942
+
11943
+ // symbols/not_connected_down.ts
11944
+ var not_connected_down_default = rotateSymbol(not_connected_right_default, "down");
11945
+
11946
+ // symbols/not_connected_left.ts
11947
+ var not_connected_left_default = rotateSymbol(not_connected_right_default, "left");
11948
+
11949
+ // symbols/not_connected_up.ts
11950
+ var not_connected_up_default = rotateSymbol(not_connected_right_default, "up");
11951
+
11887
11952
  // assets/generated/npn_bipolar_transistor.json
11888
11953
  var npn_bipolar_transistor_default = {
11889
11954
  paths: {
@@ -12051,16 +12116,124 @@ var npn_bipolar_transistor_default = {
12051
12116
  }
12052
12117
  };
12053
12118
 
12119
+ // symbols/npn_bipolar_transistor_down.ts
12120
+ var { paths: paths45, texts: texts50, bounds: bounds45, refblocks: refblocks45, circles: circles41 } = npn_bipolar_transistor_default;
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
+
12054
12147
  // symbols/npn_bipolar_transistor_horz.ts
12055
- var { paths: paths44, texts: texts50, bounds: bounds44, refblocks: refblocks44, circles: circles41 } = npn_bipolar_transistor_default;
12056
- 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();
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();
12057
12234
 
12058
12235
  // symbols/npn_bipolar_transistor_vert.ts
12059
- var rotatedSymbol12 = rotateSymbol(npn_bipolar_transistor_horz_default);
12060
- var texts51 = rotatedSymbol12.primitives.filter((p) => p.type === "text");
12061
- var ref28 = texts51.find((t) => t.text === "{REF}");
12062
- ref28.anchor = "middle_left";
12063
- 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();
12064
12237
 
12065
12238
  // assets/generated/opamp_no_power.json
12066
12239
  var opamp_no_power_default = {
@@ -12682,38 +12855,38 @@ var p_channel_d_mosfet_transistor_default = {
12682
12855
  };
12683
12856
 
12684
12857
  // symbols/p_channel_d_mosfet_transistor_horz.ts
12685
- var { paths: paths45, texts: texts52, bounds: bounds45, refblocks: refblocks45, 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;
12686
12859
  var p_channel_d_mosfet_transistor_horz_default = defineSymbol({
12687
12860
  primitives: [
12688
- ...Object.values(paths45),
12689
- ...Object.values(circles42),
12690
- { ...texts52.top1, anchor: "middle_right", x: 0 },
12691
- { ...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 }
12692
12865
  ],
12693
12866
  ports: [
12694
- { ...refblocks45.top1, labels: ["1", "drain"] },
12867
+ { ...refblocks50.top1, labels: ["1", "drain"] },
12695
12868
  // TODO add more "standard" labels
12696
- { ...refblocks45.bottom1, labels: ["2", "source"] },
12869
+ { ...refblocks50.bottom1, labels: ["2", "source"] },
12697
12870
  // TODO add more "standard" labels
12698
- { ...refblocks45.left1, labels: ["3", "gate"] }
12871
+ { ...refblocks50.left1, labels: ["3", "gate"] }
12699
12872
  // TODO add more "standard" labels
12700
12873
  ],
12701
- size: { width: bounds45.width, height: bounds45.height },
12702
- center: { x: bounds45.centerX, y: bounds45.centerY }
12874
+ size: { width: bounds50.width, height: bounds50.height },
12875
+ center: { x: bounds50.centerX, y: bounds50.centerY }
12703
12876
  });
12704
12877
 
12705
12878
  // symbols/p_channel_d_mosfet_transistor_vert.ts
12706
- var rotatedSymbol13 = rotateSymbol(p_channel_d_mosfet_transistor_horz_default);
12707
- var texts53 = rotatedSymbol13.primitives.filter((p) => p.type === "text");
12708
- 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}");
12709
12882
  val27.x = -0.35;
12710
12883
  val27.y = 0;
12711
12884
  val27.anchor = "middle_right";
12712
- var ref29 = texts53.find((t) => t.text === "{REF}");
12713
- ref29.y = 0;
12714
- ref29.x = 0.35;
12715
- ref29.anchor = "middle_left";
12716
- 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;
12717
12890
 
12718
12891
  // assets/generated/p_channel_e_mosfet_transistor.json
12719
12892
  var p_channel_e_mosfet_transistor_default = {
@@ -12943,38 +13116,38 @@ var p_channel_e_mosfet_transistor_default = {
12943
13116
  };
12944
13117
 
12945
13118
  // symbols/p_channel_e_mosfet_transistor_horz.ts
12946
- var { paths: paths46, texts: texts54, bounds: bounds46, refblocks: refblocks46, 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;
12947
13120
  var p_channel_e_mosfet_transistor_horz_default = defineSymbol({
12948
13121
  primitives: [
12949
- ...Object.values(paths46),
12950
- ...Object.values(circles43),
12951
- { ...texts54.top1, anchor: "middle_right", x: 0 },
12952
- { ...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 }
12953
13126
  ],
12954
13127
  ports: [
12955
- { ...refblocks46.top1, labels: ["1", "drain"] },
13128
+ { ...refblocks51.top1, labels: ["1", "drain"] },
12956
13129
  // TODO add more "standard" labels
12957
- { ...refblocks46.bottom1, labels: ["2", "source"] },
13130
+ { ...refblocks51.bottom1, labels: ["2", "source"] },
12958
13131
  // TODO add more "standard" labels
12959
- { ...refblocks46.left1, labels: ["3", "gate"] }
13132
+ { ...refblocks51.left1, labels: ["3", "gate"] }
12960
13133
  // TODO add more "standard" labels
12961
13134
  ],
12962
- size: { width: bounds46.width, height: bounds46.height },
12963
- center: { x: bounds46.centerX, y: bounds46.centerY }
13135
+ size: { width: bounds51.width, height: bounds51.height },
13136
+ center: { x: bounds51.centerX, y: bounds51.centerY }
12964
13137
  });
12965
13138
 
12966
13139
  // symbols/p_channel_e_mosfet_transistor_vert.ts
12967
- var rotatedSymbol14 = rotateSymbol(p_channel_e_mosfet_transistor_horz_default);
12968
- var texts55 = rotatedSymbol14.primitives.filter((p) => p.type === "text");
12969
- 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}");
12970
13143
  val28.x = -0.35;
12971
13144
  val28.y = 0;
12972
13145
  val28.anchor = "middle_right";
12973
- var ref30 = texts55.find((t) => t.text === "{REF}");
12974
- ref30.y = 0;
12975
- ref30.x = 0.35;
12976
- ref30.anchor = "middle_left";
12977
- 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;
12978
13151
 
12979
13152
  // assets/generated/photodiode.json
12980
13153
  var photodiode_default = {
@@ -13204,12 +13377,12 @@ var photodiode_default = {
13204
13377
  var photodiode_horz_default = modifySymbol(photodiode_default).changeTextAnchor("{VAL}", "middle_top").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_bottom").build();
13205
13378
 
13206
13379
  // symbols/photodiode_vert.ts
13207
- var rotatedSymbol15 = rotateSymbol(photodiode_horz_default);
13208
- var texts56 = rotatedSymbol15.primitives.filter((p) => p.type === "text");
13209
- var ref31 = texts56.find((t) => t.text === "{REF}");
13210
- ref31.y = 0;
13211
- ref31.anchor = "middle_left";
13212
- 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;
13213
13386
 
13214
13387
  // assets/generated/pjfet_transistor.json
13215
13388
  var pjfet_transistor_default = {
@@ -13379,38 +13552,38 @@ var pjfet_transistor_default = {
13379
13552
  };
13380
13553
 
13381
13554
  // symbols/pjfet_transistor_horz.ts
13382
- var { paths: paths47, texts: texts57, bounds: bounds47, refblocks: refblocks47, circles: circles44 } = pjfet_transistor_default;
13555
+ var { paths: paths52, texts: texts60, bounds: bounds52, refblocks: refblocks52, circles: circles48 } = pjfet_transistor_default;
13383
13556
  var pjfet_transistor_horz_default = defineSymbol({
13384
13557
  primitives: [
13385
- ...Object.values(paths47),
13386
- ...Object.values(circles44),
13387
- { ...texts57.top1, anchor: "middle_right", x: 0 },
13388
- { ...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" }
13389
13562
  ],
13390
13563
  ports: [
13391
- { ...refblocks47.top1, labels: ["1", "drain"] },
13564
+ { ...refblocks52.top1, labels: ["1", "drain"] },
13392
13565
  // TODO add more "standard" labels
13393
- { ...refblocks47.bottom1, labels: ["2", "source"] },
13566
+ { ...refblocks52.bottom1, labels: ["2", "source"] },
13394
13567
  // TODO add more "standard" labels
13395
- { ...refblocks47.left1, labels: ["3", "gate"] }
13568
+ { ...refblocks52.left1, labels: ["3", "gate"] }
13396
13569
  // TODO add more "standard" labels
13397
13570
  ],
13398
- size: { width: bounds47.width, height: bounds47.height },
13399
- center: { x: bounds47.centerX, y: bounds47.centerY }
13571
+ size: { width: bounds52.width, height: bounds52.height },
13572
+ center: { x: bounds52.centerX, y: bounds52.centerY }
13400
13573
  });
13401
13574
 
13402
13575
  // symbols/pjfet_transistor_vert.ts
13403
- var rotatedSymbol16 = rotateSymbol(pjfet_transistor_horz_default);
13404
- var texts58 = rotatedSymbol16.primitives.filter((p) => p.type === "text");
13405
- 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}");
13406
13579
  val29.x = -0.35;
13407
13580
  val29.y = 0;
13408
13581
  val29.anchor = "middle_right";
13409
- var ref32 = texts58.find((t) => t.text === "{REF}");
13410
- ref32.y = 0;
13411
- ref32.x = 0.35;
13412
- ref32.anchor = "middle_left";
13413
- 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;
13414
13587
 
13415
13588
  // assets/generated/pnp_bipolar_transistor.json
13416
13589
  var pnp_bipolar_transistor_default = {
@@ -13579,15 +13752,124 @@ var pnp_bipolar_transistor_default = {
13579
13752
  }
13580
13753
  };
13581
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
+
13582
13783
  // symbols/pnp_bipolar_transistor_horz.ts
13583
- 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();
13584
13870
 
13585
13871
  // symbols/pnp_bipolar_transistor_vert.ts
13586
- var rotatedSymbol17 = rotateSymbol(pnp_bipolar_transistor_horz_default);
13587
- var texts59 = rotatedSymbol17.primitives.filter((p) => p.type === "text");
13588
- var ref33 = texts59.find((t) => t.text === "{REF}");
13589
- ref33.anchor = "middle_left";
13590
- 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();
13591
13873
 
13592
13874
  // assets/generated/potentiometer.json
13593
13875
  var potentiometer_default = {
@@ -13999,21 +14281,21 @@ var potentiometer_default = {
13999
14281
  };
14000
14282
 
14001
14283
  // symbols/potentiometer_horz.ts
14002
- var { paths: paths48, texts: texts60, bounds: bounds48, refblocks: refblocks48 } = potentiometer_default;
14284
+ var { paths: paths58, texts: texts67, bounds: bounds58, refblocks: refblocks58 } = potentiometer_default;
14003
14285
  var potentiometer_horz_default = defineSymbol({
14004
14286
  primitives: [
14005
- ...Object.values(paths48),
14006
- { ...texts60.bottom1, y: 0.35, anchor: "middle_top" },
14007
- { ...texts60.top1, anchor: "middle_left" }
14287
+ ...Object.values(paths58),
14288
+ { ...texts67.bottom1, y: 0.35, anchor: "middle_top" },
14289
+ { ...texts67.top1, anchor: "middle_left" }
14008
14290
  ],
14009
14291
  ports: [
14010
- { ...refblocks48.left1, labels: ["1"] },
14292
+ { ...refblocks58.left1, labels: ["1"] },
14011
14293
  // TODO add more "standard" labels
14012
- { ...refblocks48.right1, labels: ["2"] }
14294
+ { ...refblocks58.right1, labels: ["2"] }
14013
14295
  // TODO add more "standard" labels
14014
14296
  ],
14015
- size: { width: bounds48.width + 0.05, height: bounds48.height },
14016
- center: { x: bounds48.centerX, y: bounds48.centerY }
14297
+ size: { width: bounds58.width + 0.05, height: bounds58.height },
14298
+ center: { x: bounds58.centerX, y: bounds58.centerY }
14017
14299
  });
14018
14300
 
14019
14301
  // symbols/potentiometer_vert.ts
@@ -14176,67 +14458,67 @@ var potentiometer2_default = {
14176
14458
  };
14177
14459
 
14178
14460
  // symbols/potentiometer2_right.ts
14179
- var { paths: paths49, texts: texts61, bounds: bounds49, refblocks: refblocks49 } = potentiometer2_default;
14461
+ var { paths: paths59, texts: texts68, bounds: bounds59, refblocks: refblocks59 } = potentiometer2_default;
14180
14462
  var potentiometer2_right_default = defineSymbol({
14181
14463
  primitives: [
14182
- ...Object.values(paths49),
14183
- { ...texts61.bottom1, x: 0, y: -0.35, anchor: "middle_top" },
14184
- { ...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" }
14185
14467
  ],
14186
14468
  ports: [
14187
- { ...refblocks49.left1, labels: ["1"] },
14469
+ { ...refblocks59.left1, labels: ["1"] },
14188
14470
  // TODO add more "standard" labels
14189
- { ...refblocks49.right1, labels: ["2"] }
14471
+ { ...refblocks59.right1, labels: ["2"] }
14190
14472
  // TODO add more "standard" labels
14191
14473
  ],
14192
- size: { width: bounds49.width + 0.05, height: bounds49.height },
14193
- center: { x: bounds49.centerX, y: bounds49.centerY }
14474
+ size: { width: bounds59.width + 0.05, height: bounds59.height },
14475
+ center: { x: bounds59.centerX, y: bounds59.centerY }
14194
14476
  });
14195
14477
 
14196
14478
  // symbols/potentiometer2_down.ts
14197
14479
  var symbol5 = rotateSymbol(potentiometer2_right_default, "down");
14198
- var ref34 = symbol5.primitives.find(
14480
+ var ref32 = symbol5.primitives.find(
14199
14481
  (p) => p.type === "text" && p.text === "{REF}"
14200
14482
  );
14201
14483
  var val30 = symbol5.primitives.find(
14202
14484
  (p) => p.type === "text" && p.text === "{VAL}"
14203
14485
  );
14204
- ref34.anchor = "middle_left";
14486
+ ref32.anchor = "middle_left";
14205
14487
  val30.anchor = "middle_left";
14206
- ref34.y += 0.31;
14207
- ref34.x = 0.34;
14488
+ ref32.y += 0.31;
14489
+ ref32.x = 0.34;
14208
14490
  val30.y -= 0.31;
14209
14491
  val30.x = 0.34;
14210
14492
  var potentiometer2_down_default = symbol5;
14211
14493
 
14212
14494
  // symbols/potentiometer2_left.ts
14213
14495
  var symbol6 = rotateSymbol(potentiometer2_right_default, "left");
14214
- var ref35 = symbol6.primitives.find(
14496
+ var ref33 = symbol6.primitives.find(
14215
14497
  (p) => p.type === "text" && p.text === "{REF}"
14216
14498
  );
14217
14499
  var val31 = symbol6.primitives.find(
14218
14500
  (p) => p.type === "text" && p.text === "{VAL}"
14219
14501
  );
14220
- ref35.anchor = "middle_bottom";
14502
+ ref33.anchor = "middle_bottom";
14221
14503
  val31.anchor = "middle_top";
14222
- ref35.y += 0.73;
14223
- ref35.x = 0;
14504
+ ref33.y += 0.73;
14505
+ ref33.x = 0;
14224
14506
  val31.y -= 0.7;
14225
14507
  val31.x = 0;
14226
14508
  var potentiometer2_left_default = symbol6;
14227
14509
 
14228
14510
  // symbols/potentiometer2_up.ts
14229
14511
  var symbol7 = rotateSymbol(potentiometer2_right_default, "up");
14230
- var ref36 = symbol7.primitives.find(
14512
+ var ref34 = symbol7.primitives.find(
14231
14513
  (p) => p.type === "text" && p.text === "{REF}"
14232
14514
  );
14233
14515
  var val32 = symbol7.primitives.find(
14234
14516
  (p) => p.type === "text" && p.text === "{VAL}"
14235
14517
  );
14236
- ref36.anchor = "middle_left";
14518
+ ref34.anchor = "middle_left";
14237
14519
  val32.anchor = "middle_left";
14238
- ref36.y += 0.21;
14239
- ref36.x = 0.34;
14520
+ ref34.y += 0.21;
14521
+ ref34.x = 0.34;
14240
14522
  val32.y -= 0.21;
14241
14523
  val32.x = 0.34;
14242
14524
  var potentiometer2_up_default = symbol7;
@@ -14435,11 +14717,11 @@ var power_factor_meter_default = {
14435
14717
  };
14436
14718
 
14437
14719
  // symbols/power_factor_meter_horz.ts
14438
- var { paths: paths50, texts: texts62, bounds: bounds50, refblocks: refblocks50, circles: circles45 } = power_factor_meter_default;
14720
+ var { paths: paths60, texts: texts69, bounds: bounds60, refblocks: refblocks60, circles: circles54 } = power_factor_meter_default;
14439
14721
  var power_factor_meter_horz_default = defineSymbol({
14440
14722
  primitives: [
14441
- ...Object.values(paths50),
14442
- ...Object.values(circles45),
14723
+ ...Object.values(paths60),
14724
+ ...Object.values(circles54),
14443
14725
  // { ...texts.top1, anchor: "middle_left" },
14444
14726
  {
14445
14727
  type: "text",
@@ -14466,31 +14748,31 @@ var power_factor_meter_horz_default = defineSymbol({
14466
14748
  }
14467
14749
  ],
14468
14750
  ports: [
14469
- { ...refblocks50.left1, labels: ["1"] },
14751
+ { ...refblocks60.left1, labels: ["1"] },
14470
14752
  // TODO add more "standard" labels
14471
- { ...refblocks50.right1, labels: ["2"] }
14753
+ { ...refblocks60.right1, labels: ["2"] }
14472
14754
  // TODO add more "standard" labels
14473
14755
  ],
14474
- size: { width: bounds50.width, height: bounds50.height },
14475
- center: { x: bounds50.centerX, y: bounds50.centerY }
14756
+ size: { width: bounds60.width, height: bounds60.height },
14757
+ center: { x: bounds60.centerX, y: bounds60.centerY }
14476
14758
  });
14477
14759
 
14478
14760
  // symbols/power_factor_meter_vert.ts
14479
- var rotatedSymbol18 = rotateSymbol(power_factor_meter_horz_default);
14480
- var texts63 = rotatedSymbol18.primitives.filter((p) => p.type === "text");
14481
- var ref37 = texts63.find((t) => t.text === "{REF}");
14482
- var val33 = texts63.find((t) => t.text === "{VAL}");
14483
- var text_cos = texts63.find((t) => t.text === "COS \u03C6");
14484
- ref37.x = 0.35;
14485
- ref37.y = 0;
14486
- 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";
14487
14769
  val33.anchor = "middle_right";
14488
14770
  val33.x = -0.35;
14489
14771
  val33.y = 0;
14490
14772
  text_cos.x = 0;
14491
14773
  text_cos.y = 0;
14492
14774
  text_cos.anchor = "center";
14493
- var power_factor_meter_vert_default = rotatedSymbol18;
14775
+ var power_factor_meter_vert_default = rotatedSymbol16;
14494
14776
 
14495
14777
  // assets/generated/push_button_normally_closed_momentary.json
14496
14778
  var push_button_normally_closed_momentary_default = {
@@ -14611,22 +14893,22 @@ var push_button_normally_closed_momentary_default = {
14611
14893
  };
14612
14894
 
14613
14895
  // symbols/push_button_normally_closed_momentary_horz.ts
14614
- var { paths: paths51, texts: texts64, bounds: bounds51, refblocks: refblocks51, 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;
14615
14897
  var push_button_normally_closed_momentary_horz_default = defineSymbol({
14616
14898
  primitives: [
14617
- ...Object.values(paths51),
14618
- ...Object.values(circles46),
14619
- { ...texts64.top1, anchor: "middle_left" },
14620
- { ...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" }
14621
14903
  ],
14622
14904
  ports: [
14623
- { ...refblocks51.left1, labels: ["1"] },
14905
+ { ...refblocks61.left1, labels: ["1"] },
14624
14906
  // TODO add more "standard" labels
14625
- { ...refblocks51.right1, labels: ["2"] }
14907
+ { ...refblocks61.right1, labels: ["2"] }
14626
14908
  // TODO add more "standard" labels
14627
14909
  ],
14628
- size: { width: bounds51.width, height: bounds51.height },
14629
- center: { x: bounds51.centerX, y: bounds51.centerY }
14910
+ size: { width: bounds61.width, height: bounds61.height },
14911
+ center: { x: bounds61.centerX, y: bounds61.centerY }
14630
14912
  });
14631
14913
 
14632
14914
  // symbols/push_button_normally_closed_momentary_vert.ts
@@ -14781,22 +15063,22 @@ var push_button_normally_open_momentary_default = {
14781
15063
  };
14782
15064
 
14783
15065
  // symbols/push_button_normally_open_momentary_horz.ts
14784
- var { paths: paths52, texts: texts65, bounds: bounds52, refblocks: refblocks52, 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;
14785
15067
  var push_button_normally_open_momentary_horz_default = defineSymbol({
14786
15068
  primitives: [
14787
- ...Object.values(paths52),
14788
- ...Object.values(circles47),
14789
- { ...texts65.top1, anchor: "middle_left" },
14790
- { ...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" }
14791
15073
  ],
14792
15074
  ports: [
14793
- { ...refblocks52.left1, labels: ["1"] },
15075
+ { ...refblocks62.left1, labels: ["1"] },
14794
15076
  // TODO add more "standard" labels
14795
- { ...refblocks52.right1, labels: ["2"] }
15077
+ { ...refblocks62.right1, labels: ["2"] }
14796
15078
  // TODO add more "standard" labels
14797
15079
  ],
14798
- size: { width: bounds52.width, height: bounds52.height },
14799
- center: { x: bounds52.centerX, y: bounds52.centerY }
15080
+ size: { width: bounds62.width, height: bounds62.height },
15081
+ center: { x: bounds62.centerX, y: bounds62.centerY }
14800
15082
  });
14801
15083
 
14802
15084
  // symbols/push_button_normally_open_momentary_vert.ts
@@ -15212,37 +15494,37 @@ var rectifier_diode_default = {
15212
15494
  };
15213
15495
 
15214
15496
  // symbols/rectifier_diode_horz.ts
15215
- var { paths: paths53, texts: texts66, bounds: bounds53, refblocks: refblocks53, circles: circles48 } = rectifier_diode_default;
15497
+ var { paths: paths63, texts: texts73, bounds: bounds63, refblocks: refblocks63, circles: circles57 } = rectifier_diode_default;
15216
15498
  var rectifier_diode_horz_default = defineSymbol({
15217
15499
  primitives: [
15218
- ...Object.values(paths53),
15219
- ...Object.values(circles48),
15220
- { ...texts66.top1, anchor: "middle_right" },
15221
- { ...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" }
15222
15504
  ],
15223
15505
  ports: [
15224
- { ...refblocks53.top1, labels: ["1"] },
15506
+ { ...refblocks63.top1, labels: ["1"] },
15225
15507
  // TODO add more "standard" labels
15226
- { ...refblocks53.bottom1, labels: ["2"] },
15508
+ { ...refblocks63.bottom1, labels: ["2"] },
15227
15509
  // TODO add more "standard" labels
15228
- { ...refblocks53.left1, labels: ["3"] },
15510
+ { ...refblocks63.left1, labels: ["3"] },
15229
15511
  // TODO add more "standard" labels
15230
- { ...refblocks53.right1, labels: ["4"] }
15512
+ { ...refblocks63.right1, labels: ["4"] }
15231
15513
  // TODO add more "standard" labels
15232
15514
  ],
15233
- size: { width: bounds53.width, height: bounds53.height },
15234
- center: { x: bounds53.centerX, y: bounds53.centerY }
15515
+ size: { width: bounds63.width, height: bounds63.height },
15516
+ center: { x: bounds63.centerX, y: bounds63.centerY }
15235
15517
  });
15236
15518
 
15237
15519
  // symbols/rectifier_diode_vert.ts
15238
15520
  var rotated19 = rotateSymbol(rectifier_diode_horz_default);
15239
- var ref38 = rotated19.primitives.find(
15521
+ var ref36 = rotated19.primitives.find(
15240
15522
  (p) => p.type === "text" && p.text === "{REF}"
15241
15523
  );
15242
15524
  var val34 = rotated19.primitives.find(
15243
15525
  (p) => p.type === "text" && p.text === "{VAL}"
15244
15526
  );
15245
- ref38.anchor = "middle_left";
15527
+ ref36.anchor = "middle_left";
15246
15528
  val34.anchor = "middle_right";
15247
15529
  var rectifier_diode_vert_default = rotated19;
15248
15530
 
@@ -15453,11 +15735,11 @@ var resistor_default = {
15453
15735
  };
15454
15736
 
15455
15737
  // symbols/resistor_down.ts
15456
- var { paths: paths54, texts: texts67, bounds: bounds54, refblocks: refblocks54, circles: circles49 } = resistor_default;
15738
+ var { paths: paths64, texts: texts74, bounds: bounds64, refblocks: refblocks64, circles: circles58 } = resistor_default;
15457
15739
  var resistor_down_default = modifySymbol({
15458
15740
  primitives: [
15459
- ...Object.values(paths54),
15460
- ...Object.values(circles49),
15741
+ ...Object.values(paths64),
15742
+ ...Object.values(circles58),
15461
15743
  {
15462
15744
  type: "text",
15463
15745
  text: "{REF}",
@@ -15472,21 +15754,21 @@ var resistor_down_default = modifySymbol({
15472
15754
  }
15473
15755
  ],
15474
15756
  ports: [
15475
- { ...refblocks54.left1, labels: ["1"] },
15757
+ { ...refblocks64.left1, labels: ["1"] },
15476
15758
  // TODO add more "standard" labels
15477
- { ...refblocks54.right1, labels: ["2"] }
15759
+ { ...refblocks64.right1, labels: ["2"] }
15478
15760
  // TODO add more "standard" labels
15479
15761
  ],
15480
- size: { width: bounds54.width, height: bounds54.height },
15481
- center: { x: bounds54.centerX, y: bounds54.centerY }
15762
+ size: { width: bounds64.width, height: bounds64.height },
15763
+ center: { x: bounds64.centerX, y: bounds64.centerY }
15482
15764
  }).rotateRightFacingSymbol("down").labelPort("left", ["1"]).labelPort("right", ["2"]).changeTextAnchor("{REF}", "middle_left").changeTextAnchor("{VAL}", "middle_left").build();
15483
15765
 
15484
15766
  // symbols/resistor_left.ts
15485
- var { paths: paths55, texts: texts68, bounds: bounds55, refblocks: refblocks55, circles: circles50 } = resistor_default;
15767
+ var { paths: paths65, texts: texts75, bounds: bounds65, refblocks: refblocks65, circles: circles59 } = resistor_default;
15486
15768
  var resistor_left_default = modifySymbol({
15487
15769
  primitives: [
15488
- ...Object.values(paths55),
15489
- ...Object.values(circles50),
15770
+ ...Object.values(paths65),
15771
+ ...Object.values(circles59),
15490
15772
  {
15491
15773
  type: "text",
15492
15774
  text: "{REF}",
@@ -15501,21 +15783,21 @@ var resistor_left_default = modifySymbol({
15501
15783
  }
15502
15784
  ],
15503
15785
  ports: [
15504
- { ...refblocks55.left1, labels: ["1"] },
15786
+ { ...refblocks65.left1, labels: ["1"] },
15505
15787
  // TODO add more "standard" labels
15506
- { ...refblocks55.right1, labels: ["2"] }
15788
+ { ...refblocks65.right1, labels: ["2"] }
15507
15789
  // TODO add more "standard" labels
15508
15790
  ],
15509
- size: { width: bounds55.width, height: bounds55.height },
15510
- center: { x: bounds55.centerX, y: bounds55.centerY }
15791
+ size: { width: bounds65.width, height: bounds65.height },
15792
+ center: { x: bounds65.centerX, y: bounds65.centerY }
15511
15793
  }).rotateRightFacingSymbol("left").labelPort("left", ["1"]).labelPort("right", ["2"]).changeTextAnchor("{REF}", "middle_bottom").changeTextAnchor("{VAL}", "middle_top").build();
15512
15794
 
15513
15795
  // symbols/resistor_right.ts
15514
- var { paths: paths56, texts: texts69, bounds: bounds56, refblocks: refblocks56, circles: circles51 } = resistor_default;
15796
+ var { paths: paths66, texts: texts76, bounds: bounds66, refblocks: refblocks66, circles: circles60 } = resistor_default;
15515
15797
  var resistor_right_default = modifySymbol({
15516
15798
  primitives: [
15517
- ...Object.values(paths56),
15518
- ...Object.values(circles51),
15799
+ ...Object.values(paths66),
15800
+ ...Object.values(circles60),
15519
15801
  {
15520
15802
  type: "text",
15521
15803
  text: "{REF}",
@@ -15530,21 +15812,21 @@ var resistor_right_default = modifySymbol({
15530
15812
  }
15531
15813
  ],
15532
15814
  ports: [
15533
- { ...refblocks56.left1, labels: ["1"] },
15815
+ { ...refblocks66.left1, labels: ["1"] },
15534
15816
  // TODO add more "standard" labels
15535
- { ...refblocks56.right1, labels: ["2"] }
15817
+ { ...refblocks66.right1, labels: ["2"] }
15536
15818
  // TODO add more "standard" labels
15537
15819
  ],
15538
- size: { width: bounds56.width, height: bounds56.height },
15539
- center: { x: bounds56.centerX, y: bounds56.centerY }
15820
+ size: { width: bounds66.width, height: bounds66.height },
15821
+ center: { x: bounds66.centerX, y: bounds66.centerY }
15540
15822
  }).rotateRightFacingSymbol("right").labelPort("left", ["1"]).labelPort("right", ["2"]).changeTextAnchor("{REF}", "middle_bottom").changeTextAnchor("{VAL}", "middle_top").build();
15541
15823
 
15542
15824
  // symbols/resistor_up.ts
15543
- var { paths: paths57, texts: texts70, bounds: bounds57, refblocks: refblocks57, circles: circles52 } = resistor_default;
15825
+ var { paths: paths67, texts: texts77, bounds: bounds67, refblocks: refblocks67, circles: circles61 } = resistor_default;
15544
15826
  var resistor_up_default = modifySymbol({
15545
15827
  primitives: [
15546
- ...Object.values(paths57),
15547
- ...Object.values(circles52),
15828
+ ...Object.values(paths67),
15829
+ ...Object.values(circles61),
15548
15830
  {
15549
15831
  type: "text",
15550
15832
  text: "{REF}",
@@ -15559,13 +15841,13 @@ var resistor_up_default = modifySymbol({
15559
15841
  }
15560
15842
  ],
15561
15843
  ports: [
15562
- { ...refblocks57.left1, labels: ["1"] },
15844
+ { ...refblocks67.left1, labels: ["1"] },
15563
15845
  // TODO add more "standard" labels
15564
- { ...refblocks57.right1, labels: ["2"] }
15846
+ { ...refblocks67.right1, labels: ["2"] }
15565
15847
  // TODO add more "standard" labels
15566
15848
  ],
15567
- size: { width: bounds57.width, height: bounds57.height },
15568
- center: { x: bounds57.centerX, y: bounds57.centerY }
15849
+ size: { width: bounds67.width, height: bounds67.height },
15850
+ center: { x: bounds67.centerX, y: bounds67.centerY }
15569
15851
  }).rotateRightFacingSymbol("up").labelPort("left", ["1"]).labelPort("right", ["2"]).changeTextAnchor("{REF}", "middle_left").changeTextAnchor("{VAL}", "middle_left").build();
15570
15852
 
15571
15853
  // assets/generated/resonator.json
@@ -15914,11 +16196,11 @@ var resonator_default = {
15914
16196
  };
15915
16197
 
15916
16198
  // symbols/resonator_horz.ts
15917
- var { paths: paths58, texts: texts71, bounds: bounds58, refblocks: refblocks58, circles: circles53 } = resonator_default;
16199
+ var { paths: paths68, texts: texts78, bounds: bounds68, refblocks: refblocks68, circles: circles62 } = resonator_default;
15918
16200
  var resonator_horz_default = defineSymbol({
15919
16201
  primitives: [
15920
- ...Object.values(paths58),
15921
- ...Object.values(circles53),
16202
+ ...Object.values(paths68),
16203
+ ...Object.values(circles62),
15922
16204
  // { ...texts.top1, anchor: "middle_left" },
15923
16205
  // { ...texts.bottom1, anchor: "middle_left" },
15924
16206
  {
@@ -15937,15 +16219,15 @@ var resonator_horz_default = defineSymbol({
15937
16219
  }
15938
16220
  ],
15939
16221
  ports: [
15940
- { ...refblocks58.left1, labels: ["1"] },
16222
+ { ...refblocks68.left1, labels: ["1"] },
15941
16223
  // TODO add more "standard" labels
15942
- { ...refblocks58.right1, labels: ["2"] },
16224
+ { ...refblocks68.right1, labels: ["2"] },
15943
16225
  // TODO add more "standard" labels
15944
- { ...refblocks58.right2, labels: ["3"] }
16226
+ { ...refblocks68.right2, labels: ["3"] }
15945
16227
  // TODO add more "standard" labels
15946
16228
  ],
15947
- size: { width: bounds58.width, height: bounds58.height },
15948
- center: { x: bounds58.centerX, y: bounds58.centerY }
16229
+ size: { width: bounds68.width, height: bounds68.height },
16230
+ center: { x: bounds68.centerX, y: bounds68.centerY }
15949
16231
  });
15950
16232
 
15951
16233
  // symbols/resonator_vert.ts
@@ -16147,48 +16429,48 @@ var schottky_diode_right_default = modifySymbol(schottky_diode_default).labelPor
16147
16429
 
16148
16430
  // symbols/schottky_diode_down.ts
16149
16431
  var rotated20 = rotateSymbol(schottky_diode_right_default, "down");
16150
- var ref39 = rotated20.primitives.find(
16432
+ var ref37 = rotated20.primitives.find(
16151
16433
  (p) => p.type === "text" && p.text === "{REF}"
16152
16434
  );
16153
16435
  var val35 = rotated20.primitives.find(
16154
16436
  (p) => p.type === "text" && p.text === "{VAL}"
16155
16437
  );
16156
- ref39.anchor = "middle_left";
16438
+ ref37.anchor = "middle_left";
16157
16439
  val35.anchor = "middle_left";
16158
- ref39.y += 0.3;
16159
- ref39.x = 0.3;
16440
+ ref37.y += 0.3;
16441
+ ref37.x = 0.3;
16160
16442
  val35.y -= 0.3;
16161
16443
  val35.x = 0.3;
16162
16444
  var schottky_diode_down_default = rotated20;
16163
16445
 
16164
16446
  // symbols/schottky_diode_left.ts
16165
16447
  var rotated21 = rotateSymbol(schottky_diode_right_default, "left");
16166
- var ref40 = rotated21.primitives.find(
16448
+ var ref38 = rotated21.primitives.find(
16167
16449
  (p) => p.type === "text" && p.text === "{REF}"
16168
16450
  );
16169
16451
  var val36 = rotated21.primitives.find(
16170
16452
  (p) => p.type === "text" && p.text === "{VAL}"
16171
16453
  );
16172
- ref40.anchor = "middle_bottom";
16454
+ ref38.anchor = "middle_bottom";
16173
16455
  val36.anchor = "middle_top";
16174
- ref40.y += 0.5;
16175
- ref40.x = 0;
16456
+ ref38.y += 0.5;
16457
+ ref38.x = 0;
16176
16458
  val36.y -= 0.55;
16177
16459
  val36.x = 0;
16178
16460
  var schottky_diode_left_default = rotated21;
16179
16461
 
16180
16462
  // symbols/schottky_diode_up.ts
16181
16463
  var rotated22 = rotateSymbol(schottky_diode_right_default, "up");
16182
- var ref41 = rotated22.primitives.find(
16464
+ var ref39 = rotated22.primitives.find(
16183
16465
  (p) => p.type === "text" && p.text === "{REF}"
16184
16466
  );
16185
16467
  var val37 = rotated22.primitives.find(
16186
16468
  (p) => p.type === "text" && p.text === "{VAL}"
16187
16469
  );
16188
- ref41.anchor = "middle_left";
16470
+ ref39.anchor = "middle_left";
16189
16471
  val37.anchor = "middle_left";
16190
- ref41.y += 0.3;
16191
- ref41.x = 0.3;
16472
+ ref39.y += 0.3;
16473
+ ref39.x = 0.3;
16192
16474
  val37.y -= 0.3;
16193
16475
  val37.x = 0.3;
16194
16476
  var schottky_diode_up_default = rotated22;
@@ -16337,18 +16619,18 @@ var silicon_controlled_rectifier_default = {
16337
16619
  };
16338
16620
 
16339
16621
  // symbols/silicon_controlled_rectifier_horz.ts
16340
- var { paths: paths59, texts: texts72, bounds: bounds59, refblocks: refblocks59, circles: circles54 } = silicon_controlled_rectifier_default;
16622
+ var { paths: paths69, texts: texts79, bounds: bounds69, refblocks: refblocks69, circles: circles63 } = silicon_controlled_rectifier_default;
16341
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();
16342
16624
 
16343
16625
  // symbols/silicon_controlled_rectifier_vert.ts
16344
- var rotatedSymbol19 = rotateSymbol(silicon_controlled_rectifier_horz_default);
16345
- var texts73 = rotatedSymbol19.primitives.filter(
16626
+ var rotatedSymbol17 = rotateSymbol(silicon_controlled_rectifier_horz_default);
16627
+ var texts80 = rotatedSymbol17.primitives.filter(
16346
16628
  (primitive) => primitive.type === "text"
16347
16629
  );
16348
- var ref42 = texts73.find((text) => text.text === "{REF}");
16349
- ref42.y = 0;
16350
- ref42.anchor = "middle_left";
16351
- 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;
16352
16634
 
16353
16635
  // assets/generated/solderjumper2_bridged12.json
16354
16636
  var solderjumper2_bridged12_default = {
@@ -19186,48 +19468,48 @@ var spdt_normally_closed_switch_right_default = modifySymbol(spdt_normally_close
19186
19468
 
19187
19469
  // symbols/spdt_normally_closed_switch_down.ts
19188
19470
  var rotated23 = rotateSymbol(spdt_normally_closed_switch_right_default, "down");
19189
- var ref43 = rotated23.primitives.find(
19471
+ var ref41 = rotated23.primitives.find(
19190
19472
  (p) => p.type === "text" && p.text === "{REF}"
19191
19473
  );
19192
19474
  var val38 = rotated23.primitives.find(
19193
19475
  (p) => p.type === "text" && p.text === "{VAL}"
19194
19476
  );
19195
- ref43.anchor = "middle_bottom";
19477
+ ref41.anchor = "middle_bottom";
19196
19478
  val38.anchor = "middle_top";
19197
- ref43.x = 0.44;
19198
- ref43.y += 0.28;
19479
+ ref41.x = 0.44;
19480
+ ref41.y += 0.28;
19199
19481
  val38.y -= 0.28;
19200
19482
  val38.x = 0.44;
19201
19483
  var spdt_normally_closed_switch_down_default = rotated23;
19202
19484
 
19203
19485
  // symbols/spdt_normally_closed_switch_left.ts
19204
19486
  var rotated24 = rotateSymbol(spdt_normally_closed_switch_right_default, "left");
19205
- var ref44 = rotated24.primitives.find(
19487
+ var ref42 = rotated24.primitives.find(
19206
19488
  (p) => p.type === "text" && p.text === "{REF}"
19207
19489
  );
19208
19490
  var val39 = rotated24.primitives.find(
19209
19491
  (p) => p.type === "text" && p.text === "{VAL}"
19210
19492
  );
19211
- ref44.anchor = "middle_bottom";
19493
+ ref42.anchor = "middle_bottom";
19212
19494
  val39.anchor = "middle_top";
19213
- ref44.x = 0;
19214
- ref44.y += 0.625;
19495
+ ref42.x = 0;
19496
+ ref42.y += 0.625;
19215
19497
  val39.y -= 0.695;
19216
19498
  val39.x = 0;
19217
19499
  var spdt_normally_closed_switch_left_default = rotated24;
19218
19500
 
19219
19501
  // symbols/spdt_normally_closed_switch_up.ts
19220
19502
  var rotated25 = rotateSymbol(spdt_normally_closed_switch_right_default, "up");
19221
- var ref45 = rotated25.primitives.find(
19503
+ var ref43 = rotated25.primitives.find(
19222
19504
  (p) => p.type === "text" && p.text === "{REF}"
19223
19505
  );
19224
19506
  var val40 = rotated25.primitives.find(
19225
19507
  (p) => p.type === "text" && p.text === "{VAL}"
19226
19508
  );
19227
- ref45.anchor = "middle_bottom";
19509
+ ref43.anchor = "middle_bottom";
19228
19510
  val40.anchor = "middle_top";
19229
- ref45.x = 0.4;
19230
- ref45.y += 0.28;
19511
+ ref43.x = 0.4;
19512
+ ref43.y += 0.28;
19231
19513
  val40.y -= 0.28;
19232
19514
  val40.x = 0.4;
19233
19515
  var spdt_normally_closed_switch_up_default = rotated25;
@@ -19367,48 +19649,48 @@ var spdt_switch_right_default = modifySymbol(spdt_switch_default).changeTextAnch
19367
19649
 
19368
19650
  // symbols/spdt_switch_down.ts
19369
19651
  var rotated26 = rotateSymbol(spdt_switch_right_default, "down");
19370
- var ref46 = rotated26.primitives.find(
19652
+ var ref44 = rotated26.primitives.find(
19371
19653
  (p) => p.type === "text" && p.text === "{REF}"
19372
19654
  );
19373
19655
  var val41 = rotated26.primitives.find(
19374
19656
  (p) => p.type === "text" && p.text === "{VAL}"
19375
19657
  );
19376
- ref46.anchor = "middle_bottom";
19658
+ ref44.anchor = "middle_bottom";
19377
19659
  val41.anchor = "middle_top";
19378
- ref46.x = 0.44;
19379
- ref46.y += 0.28;
19660
+ ref44.x = 0.44;
19661
+ ref44.y += 0.28;
19380
19662
  val41.y -= 0.28;
19381
19663
  val41.x = 0.44;
19382
19664
  var spdt_switch_down_default = rotated26;
19383
19665
 
19384
19666
  // symbols/spdt_switch_left.ts
19385
19667
  var rotated27 = rotateSymbol(spdt_switch_right_default, "left");
19386
- var ref47 = rotated27.primitives.find(
19668
+ var ref45 = rotated27.primitives.find(
19387
19669
  (p) => p.type === "text" && p.text === "{REF}"
19388
19670
  );
19389
19671
  var val42 = rotated27.primitives.find(
19390
19672
  (p) => p.type === "text" && p.text === "{VAL}"
19391
19673
  );
19392
- ref47.anchor = "middle_bottom";
19674
+ ref45.anchor = "middle_bottom";
19393
19675
  val42.anchor = "middle_top";
19394
- ref47.x = 0;
19395
- ref47.y += 0.625;
19676
+ ref45.x = 0;
19677
+ ref45.y += 0.625;
19396
19678
  val42.y -= 0.695;
19397
19679
  val42.x = 0;
19398
19680
  var spdt_switch_left_default = rotated27;
19399
19681
 
19400
19682
  // symbols/spdt_switch_up.ts
19401
19683
  var rotated28 = rotateSymbol(spdt_switch_right_default, "up");
19402
- var ref48 = rotated28.primitives.find(
19684
+ var ref46 = rotated28.primitives.find(
19403
19685
  (p) => p.type === "text" && p.text === "{REF}"
19404
19686
  );
19405
19687
  var val43 = rotated28.primitives.find(
19406
19688
  (p) => p.type === "text" && p.text === "{VAL}"
19407
19689
  );
19408
- ref48.anchor = "middle_bottom";
19690
+ ref46.anchor = "middle_bottom";
19409
19691
  val43.anchor = "middle_top";
19410
- ref48.x = 0.4;
19411
- ref48.y += 0.28;
19692
+ ref46.x = 0.4;
19693
+ ref46.y += 0.28;
19412
19694
  val43.y -= 0.28;
19413
19695
  val43.x = 0.4;
19414
19696
  var spdt_switch_up_default = rotated28;
@@ -19532,48 +19814,48 @@ var spst_normally_closed_switch_right_default = modifySymbol(spst_normally_close
19532
19814
 
19533
19815
  // symbols/spst_normally_closed_switch_down.ts
19534
19816
  var rotated29 = rotateSymbol(spst_normally_closed_switch_right_default, "down");
19535
- var ref49 = rotated29.primitives.find(
19817
+ var ref47 = rotated29.primitives.find(
19536
19818
  (p) => p.type === "text" && p.text === "{REF}"
19537
19819
  );
19538
19820
  var val44 = rotated29.primitives.find(
19539
19821
  (p) => p.type === "text" && p.text === "{VAL}"
19540
19822
  );
19541
- ref49.anchor = "middle_bottom";
19823
+ ref47.anchor = "middle_bottom";
19542
19824
  val44.anchor = "middle_top";
19543
- ref49.x = 0.3;
19544
- ref49.y += 0.265;
19825
+ ref47.x = 0.3;
19826
+ ref47.y += 0.265;
19545
19827
  val44.y -= 0.265;
19546
19828
  val44.x = 0.3;
19547
19829
  var spst_normally_closed_switch_down_default = rotated29;
19548
19830
 
19549
19831
  // symbols/spst_normally_closed_switch_left.ts
19550
19832
  var rotated30 = rotateSymbol(spst_normally_closed_switch_right_default, "left");
19551
- var ref50 = rotated30.primitives.find(
19833
+ var ref48 = rotated30.primitives.find(
19552
19834
  (p) => p.type === "text" && p.text === "{REF}"
19553
19835
  );
19554
19836
  var val45 = rotated30.primitives.find(
19555
19837
  (p) => p.type === "text" && p.text === "{VAL}"
19556
19838
  );
19557
- ref50.anchor = "middle_bottom";
19839
+ ref48.anchor = "middle_bottom";
19558
19840
  val45.anchor = "middle_top";
19559
- ref50.x = 0;
19560
- ref50.y += 0.57;
19841
+ ref48.x = 0;
19842
+ ref48.y += 0.57;
19561
19843
  val45.y -= 0.57;
19562
19844
  val45.x = 0;
19563
19845
  var spst_normally_closed_switch_left_default = rotated30;
19564
19846
 
19565
19847
  // symbols/spst_normally_closed_switch_up.ts
19566
19848
  var rotated31 = rotateSymbol(spst_normally_closed_switch_right_default, "up");
19567
- var ref51 = rotated31.primitives.find(
19849
+ var ref49 = rotated31.primitives.find(
19568
19850
  (p) => p.type === "text" && p.text === "{REF}"
19569
19851
  );
19570
19852
  var val46 = rotated31.primitives.find(
19571
19853
  (p) => p.type === "text" && p.text === "{VAL}"
19572
19854
  );
19573
- ref51.anchor = "middle_bottom";
19855
+ ref49.anchor = "middle_bottom";
19574
19856
  val46.anchor = "middle_top";
19575
- ref51.x = 0.3;
19576
- ref51.y += 0.265;
19857
+ ref49.x = 0.3;
19858
+ ref49.y += 0.265;
19577
19859
  val46.y -= 0.265;
19578
19860
  val46.x = 0.3;
19579
19861
  var spst_normally_closed_switch_up_default = rotated31;
@@ -19697,48 +19979,48 @@ var spst_switch_right_default = modifySymbol(spst_switch_default).changeTextAnch
19697
19979
 
19698
19980
  // symbols/spst_switch_down.ts
19699
19981
  var rotated32 = rotateSymbol(spst_switch_right_default, "down");
19700
- var ref52 = rotated32.primitives.find(
19982
+ var ref50 = rotated32.primitives.find(
19701
19983
  (p) => p.type === "text" && p.text === "{REF}"
19702
19984
  );
19703
19985
  var val47 = rotated32.primitives.find(
19704
19986
  (p) => p.type === "text" && p.text === "{VAL}"
19705
19987
  );
19706
- ref52.anchor = "middle_bottom";
19988
+ ref50.anchor = "middle_bottom";
19707
19989
  val47.anchor = "middle_top";
19708
- ref52.x = 0.3;
19709
- ref52.y += 0.265;
19990
+ ref50.x = 0.3;
19991
+ ref50.y += 0.265;
19710
19992
  val47.y -= 0.265;
19711
19993
  val47.x = 0.3;
19712
19994
  var spst_switch_down_default = rotated32;
19713
19995
 
19714
19996
  // symbols/spst_switch_left.ts
19715
19997
  var rotated33 = rotateSymbol(spst_switch_right_default, "left");
19716
- var ref53 = rotated33.primitives.find(
19998
+ var ref51 = rotated33.primitives.find(
19717
19999
  (p) => p.type === "text" && p.text === "{REF}"
19718
20000
  );
19719
20001
  var val48 = rotated33.primitives.find(
19720
20002
  (p) => p.type === "text" && p.text === "{VAL}"
19721
20003
  );
19722
- ref53.anchor = "middle_bottom";
20004
+ ref51.anchor = "middle_bottom";
19723
20005
  val48.anchor = "middle_top";
19724
- ref53.x = 0;
19725
- ref53.y += 0.57;
20006
+ ref51.x = 0;
20007
+ ref51.y += 0.57;
19726
20008
  val48.y -= 0.57;
19727
20009
  val48.x = 0;
19728
20010
  var spst_switch_left_default = rotated33;
19729
20011
 
19730
20012
  // symbols/spst_switch_up.ts
19731
20013
  var rotated34 = rotateSymbol(spst_switch_right_default, "up");
19732
- var ref54 = rotated34.primitives.find(
20014
+ var ref52 = rotated34.primitives.find(
19733
20015
  (p) => p.type === "text" && p.text === "{REF}"
19734
20016
  );
19735
20017
  var val49 = rotated34.primitives.find(
19736
20018
  (p) => p.type === "text" && p.text === "{VAL}"
19737
20019
  );
19738
- ref54.anchor = "middle_bottom";
20020
+ ref52.anchor = "middle_bottom";
19739
20021
  val49.anchor = "middle_top";
19740
- ref54.x = 0.3;
19741
- ref54.y += 0.265;
20022
+ ref52.x = 0.3;
20023
+ ref52.y += 0.265;
19742
20024
  val49.y -= 0.265;
19743
20025
  val49.x = 0.3;
19744
20026
  var spst_switch_up_default = rotated34;
@@ -19905,7 +20187,7 @@ var step_recovery_diode_default = {
19905
20187
  };
19906
20188
 
19907
20189
  // symbols/step_recovery_diode_horz.ts
19908
- var { paths: paths60, texts: texts74, bounds: bounds60, refblocks: refblocks60, circles: circles55 } = step_recovery_diode_default;
20190
+ var { paths: paths70, texts: texts81, bounds: bounds70, refblocks: refblocks70, circles: circles64 } = step_recovery_diode_default;
19909
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();
19910
20192
 
19911
20193
  // symbols/step_recovery_diode_vert.ts
@@ -19998,11 +20280,11 @@ var tachometer_default = {
19998
20280
  };
19999
20281
 
20000
20282
  // symbols/tachometer_horz.ts
20001
- var { paths: paths61, texts: texts75, bounds: bounds61, refblocks: refblocks61, circles: circles56 } = tachometer_default;
20283
+ var { paths: paths71, texts: texts82, bounds: bounds71, refblocks: refblocks71, circles: circles65 } = tachometer_default;
20002
20284
  var tachometer_horz_default = defineSymbol({
20003
20285
  primitives: [
20004
- ...Object.values(paths61),
20005
- ...Object.values(circles56),
20286
+ ...Object.values(paths71),
20287
+ ...Object.values(circles65),
20006
20288
  {
20007
20289
  type: "text",
20008
20290
  text: "{REF}",
@@ -20017,16 +20299,16 @@ var tachometer_horz_default = defineSymbol({
20017
20299
  y: 0.35,
20018
20300
  anchor: "middle_bottom"
20019
20301
  },
20020
- { ...texts75.left1, y: 0.01, anchor: "center", fontSize: 0.2 }
20302
+ { ...texts82.left1, y: 0.01, anchor: "center", fontSize: 0.2 }
20021
20303
  ],
20022
20304
  ports: [
20023
- { ...refblocks61.left1, labels: ["1"] },
20305
+ { ...refblocks71.left1, labels: ["1"] },
20024
20306
  // TODO add more "standard" labels
20025
- { ...refblocks61.right1, labels: ["2"] }
20307
+ { ...refblocks71.right1, labels: ["2"] }
20026
20308
  // TODO add more "standard" labels
20027
20309
  ],
20028
- size: { width: bounds61.width, height: bounds61.height },
20029
- center: { x: bounds61.centerX, y: bounds61.centerY }
20310
+ size: { width: bounds71.width, height: bounds71.height },
20311
+ center: { x: bounds71.centerX, y: bounds71.centerY }
20030
20312
  });
20031
20313
 
20032
20314
  // symbols/tachometer_vert.ts
@@ -20034,13 +20316,13 @@ var { 5: letter4, ...rest4 } = tachometer_horz_default.primitives;
20034
20316
  function isPrimitive4(value) {
20035
20317
  return typeof value === "object";
20036
20318
  }
20037
- var rotatedSymbol20 = rotateSymbol({
20319
+ var rotatedSymbol18 = rotateSymbol({
20038
20320
  ...tachometer_horz_default,
20039
20321
  primitives: Object.values(rest4).filter(isPrimitive4)
20040
20322
  });
20041
20323
  var tachometer_vert_default = {
20042
- ...rotatedSymbol20,
20043
- primitives: [...rotatedSymbol20.primitives, letter4]
20324
+ ...rotatedSymbol18,
20325
+ primitives: [...rotatedSymbol18.primitives, letter4]
20044
20326
  };
20045
20327
 
20046
20328
  // symbols/testpoint_right.ts
@@ -20073,11 +20355,11 @@ var testpoint_right_default = defineSymbol({
20073
20355
 
20074
20356
  // symbols/testpoint_down.ts
20075
20357
  var rotated35 = rotateSymbol(testpoint_right_default, "down");
20076
- var ref55 = rotated35.primitives.find(
20358
+ var ref53 = rotated35.primitives.find(
20077
20359
  (p) => p.type === "text" && p.text === "{REF}"
20078
20360
  );
20079
- if (ref55) {
20080
- ref55.anchor = "middle_top";
20361
+ if (ref53) {
20362
+ ref53.anchor = "middle_top";
20081
20363
  }
20082
20364
  var testpoint_down_default = rotated35;
20083
20365
 
@@ -20086,11 +20368,11 @@ var testpoint_left_default = rotateSymbol(testpoint_right_default, "left");
20086
20368
 
20087
20369
  // symbols/testpoint_up.ts
20088
20370
  var rotated36 = rotateSymbol(testpoint_right_default, "up");
20089
- var ref56 = rotated36.primitives.find(
20371
+ var ref54 = rotated36.primitives.find(
20090
20372
  (p) => p.type === "text" && p.text === "{REF}"
20091
20373
  );
20092
- if (ref56) {
20093
- ref56.anchor = "middle_bottom";
20374
+ if (ref54) {
20375
+ ref54.anchor = "middle_bottom";
20094
20376
  }
20095
20377
  var testpoint_up_default = rotated36;
20096
20378
 
@@ -20211,48 +20493,48 @@ var tilted_ground_right_default = modifySymbol(tilted_ground_default).labelPort(
20211
20493
 
20212
20494
  // symbols/tilted_ground_up.ts
20213
20495
  var rotated37 = rotateSymbol(tilted_ground_right_default, "up");
20214
- var ref57 = rotated37.primitives.find(
20496
+ var ref55 = rotated37.primitives.find(
20215
20497
  (p) => p.type === "text" && p.text === "{REF}"
20216
20498
  );
20217
20499
  var val50 = rotated37.primitives.find(
20218
20500
  (p) => p.type === "text" && p.text === "{VAL}"
20219
20501
  );
20220
- ref57.anchor = "middle_bottom";
20502
+ ref55.anchor = "middle_bottom";
20221
20503
  val50.anchor = "middle_top";
20222
- ref57.x = 0.4;
20223
- ref57.y += 0.2;
20504
+ ref55.x = 0.4;
20505
+ ref55.y += 0.2;
20224
20506
  val50.y -= 0.3;
20225
20507
  val50.x = 0.4;
20226
20508
  var tilted_ground_up_default = rotated37;
20227
20509
 
20228
20510
  // symbols/tilted_ground_down.ts
20229
20511
  var rotated38 = flipSymbolOverXAxis(tilted_ground_up_default);
20230
- var ref58 = rotated38.primitives.find(
20512
+ var ref56 = rotated38.primitives.find(
20231
20513
  (p) => p.type === "text" && p.text === "{REF}"
20232
20514
  );
20233
20515
  var val51 = rotated38.primitives.find(
20234
20516
  (p) => p.type === "text" && p.text === "{VAL}"
20235
20517
  );
20236
- ref58.anchor = "middle_bottom";
20518
+ ref56.anchor = "middle_bottom";
20237
20519
  val51.anchor = "middle_top";
20238
- ref58.x = 0.35;
20239
- ref58.y += 0.4;
20520
+ ref56.x = 0.35;
20521
+ ref56.y += 0.4;
20240
20522
  val51.y -= 0.4;
20241
20523
  val51.x = 0.35;
20242
20524
  var tilted_ground_down_default = rotated38;
20243
20525
 
20244
20526
  // symbols/tilted_ground_left.ts
20245
20527
  var rotated39 = rotateSymbol(tilted_ground_right_default, "left");
20246
- var ref59 = rotated39.primitives.find(
20528
+ var ref57 = rotated39.primitives.find(
20247
20529
  (p) => p.type === "text" && p.text === "{REF}"
20248
20530
  );
20249
20531
  var val52 = rotated39.primitives.find(
20250
20532
  (p) => p.type === "text" && p.text === "{VAL}"
20251
20533
  );
20252
- ref59.anchor = "middle_bottom";
20534
+ ref57.anchor = "middle_bottom";
20253
20535
  val52.anchor = "middle_top";
20254
- ref59.x = 0;
20255
- ref59.y += 0.5;
20536
+ ref57.x = 0;
20537
+ ref57.y += 0.5;
20256
20538
  val52.y -= 0.6;
20257
20539
  val52.x = 0;
20258
20540
  var tilted_ground_left_default = rotated39;
@@ -20448,19 +20730,19 @@ var triac_default = {
20448
20730
  };
20449
20731
 
20450
20732
  // symbols/triac_horz.ts
20451
- var { paths: paths62, texts: texts76, bounds: bounds62, refblocks: refblocks62, circles: circles57 } = triac_default;
20733
+ var { paths: paths72, texts: texts83, bounds: bounds72, refblocks: refblocks72, circles: circles66 } = triac_default;
20452
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();
20453
20735
 
20454
20736
  // symbols/triac_vert.ts
20455
- var rotatedSymbol21 = rotateSymbol(triac_horz_default);
20456
- var texts77 = rotatedSymbol21.primitives.filter(
20737
+ var rotatedSymbol19 = rotateSymbol(triac_horz_default);
20738
+ var texts84 = rotatedSymbol19.primitives.filter(
20457
20739
  (primitive) => primitive.type === "text"
20458
20740
  );
20459
- var ref60 = texts77.find((text) => text.text === "{REF}");
20460
- var val53 = texts77.find((text) => text.text === "{VAL}");
20461
- 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;
20462
20744
  val53.y = 0;
20463
- var triac_vert_default = rotatedSymbol21;
20745
+ var triac_vert_default = rotatedSymbol19;
20464
20746
 
20465
20747
  // assets/generated/tunnel_diode.json
20466
20748
  var tunnel_diode_default = {
@@ -20624,33 +20906,33 @@ var tunnel_diode_default = {
20624
20906
  };
20625
20907
 
20626
20908
  // symbols/tunnel_diode_horz.ts
20627
- var { paths: paths63, texts: texts78, bounds: bounds63, refblocks: refblocks63, circles: circles58 } = tunnel_diode_default;
20909
+ var { paths: paths73, texts: texts85, bounds: bounds73, refblocks: refblocks73, circles: circles67 } = tunnel_diode_default;
20628
20910
  var tunnel_diode_horz_default = defineSymbol({
20629
20911
  primitives: [
20630
- ...Object.values(paths63),
20631
- ...Object.values(circles58),
20632
- { ...texts78.top1, anchor: "middle_bottom" },
20633
- { ...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" }
20634
20916
  ],
20635
20917
  ports: [
20636
- { ...refblocks63.left1, labels: ["1"] },
20918
+ { ...refblocks73.left1, labels: ["1"] },
20637
20919
  // TODO add more "standard" labels
20638
- { ...refblocks63.right1, labels: ["2"] }
20920
+ { ...refblocks73.right1, labels: ["2"] }
20639
20921
  // TODO add more "standard" labels
20640
20922
  ],
20641
- size: { width: bounds63.width, height: bounds63.height },
20642
- center: { x: bounds63.centerX, y: bounds63.centerY }
20923
+ size: { width: bounds73.width, height: bounds73.height },
20924
+ center: { x: bounds73.centerX, y: bounds73.centerY }
20643
20925
  });
20644
20926
 
20645
20927
  // symbols/tunnel_diode_vert.ts
20646
20928
  var rotated40 = rotateSymbol(tunnel_diode_horz_default);
20647
- var ref61 = rotated40.primitives.find(
20929
+ var ref59 = rotated40.primitives.find(
20648
20930
  (p) => p.type === "text" && p.text === "{REF}"
20649
20931
  );
20650
20932
  var val54 = rotated40.primitives.find(
20651
20933
  (p) => p.type === "text" && p.text === "{VAL}"
20652
20934
  );
20653
- ref61.anchor = "middle_left";
20935
+ ref59.anchor = "middle_left";
20654
20936
  val54.anchor = "middle_right";
20655
20937
  var tunnel_diode_vert_default = rotated40;
20656
20938
 
@@ -20822,37 +21104,37 @@ var unijunction_transistor_default = {
20822
21104
  };
20823
21105
 
20824
21106
  // symbols/unijunction_transistor_horz.ts
20825
- var { paths: paths64, texts: texts79, bounds: bounds64, refblocks: refblocks64, circles: circles59 } = unijunction_transistor_default;
21107
+ var { paths: paths74, texts: texts86, bounds: bounds74, refblocks: refblocks74, circles: circles68 } = unijunction_transistor_default;
20826
21108
  var unijunction_transistor_horz_default = defineSymbol({
20827
21109
  primitives: [
20828
- ...Object.values(paths64),
20829
- ...Object.values(circles59),
20830
- { ...texts79.top1, anchor: "middle_left" },
20831
- { ...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" }
20832
21114
  ],
20833
21115
  ports: [
20834
- { ...refblocks64.top1, labels: ["1"] },
21116
+ { ...refblocks74.top1, labels: ["1"] },
20835
21117
  // TODO add more "standard" labels
20836
- { ...refblocks64.bottom1, labels: ["2"] },
21118
+ { ...refblocks74.bottom1, labels: ["2"] },
20837
21119
  // TODO add more "standard" labels
20838
- { ...refblocks64.left1, labels: ["3"] }
21120
+ { ...refblocks74.left1, labels: ["3"] }
20839
21121
  // TODO add more "standard" labels
20840
21122
  ],
20841
- size: { width: bounds64.width, height: bounds64.height },
20842
- center: { x: bounds64.centerX, y: bounds64.centerY }
21123
+ size: { width: bounds74.width, height: bounds74.height },
21124
+ center: { x: bounds74.centerX, y: bounds74.centerY }
20843
21125
  });
20844
21126
 
20845
21127
  // symbols/unijunction_transistor_vert.ts
20846
- var rotatedSymbol22 = rotateSymbol(unijunction_transistor_horz_default);
20847
- var texts80 = rotatedSymbol22.primitives.filter(
21128
+ var rotatedSymbol20 = rotateSymbol(unijunction_transistor_horz_default);
21129
+ var texts87 = rotatedSymbol20.primitives.filter(
20848
21130
  (primitive) => primitive.type === "text"
20849
21131
  );
20850
- var ref62 = texts80.find((text) => text.text === "{REF}");
20851
- ref62.y = 0.1;
20852
- 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}");
20853
21135
  val55.y = 0.1;
20854
21136
  val55.x = -0.4;
20855
- var unijunction_transistor_vert_default = rotatedSymbol22;
21137
+ var unijunction_transistor_vert_default = rotatedSymbol20;
20856
21138
 
20857
21139
  // assets/generated/var_meter.json
20858
21140
  var var_meter_default = {
@@ -20941,33 +21223,33 @@ var var_meter_default = {
20941
21223
  };
20942
21224
 
20943
21225
  // symbols/var_meter_horz.ts
20944
- var { paths: paths65, texts: texts81, bounds: bounds65, refblocks: refblocks65, circles: circles60 } = var_meter_default;
21226
+ var { paths: paths75, texts: texts88, bounds: bounds75, refblocks: refblocks75, circles: circles69 } = var_meter_default;
20945
21227
  var var_meter_horz_default = defineSymbol({
20946
21228
  primitives: [
20947
- ...Object.values(paths65),
20948
- ...Object.values(circles60),
21229
+ ...Object.values(paths75),
21230
+ ...Object.values(circles69),
20949
21231
  {
20950
- ...texts81.top1,
21232
+ ...texts88.top1,
20951
21233
  x: 0,
20952
21234
  y: -0.3594553499999995,
20953
21235
  anchor: "middle_top"
20954
21236
  },
20955
21237
  {
20956
- ...texts81.bottom1,
21238
+ ...texts88.bottom1,
20957
21239
  x: 0,
20958
21240
  y: 0.35,
20959
21241
  anchor: "middle_bottom"
20960
21242
  },
20961
- { ...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" }
20962
21244
  ],
20963
21245
  ports: [
20964
- { ...refblocks65.left1, labels: ["1"] },
21246
+ { ...refblocks75.left1, labels: ["1"] },
20965
21247
  // TODO add more "standard" labels
20966
- { ...refblocks65.right1, labels: ["2"] }
21248
+ { ...refblocks75.right1, labels: ["2"] }
20967
21249
  // TODO add more "standard" labels
20968
21250
  ],
20969
- size: { width: bounds65.width, height: bounds65.height },
20970
- center: { x: bounds65.centerX, y: bounds65.centerY }
21251
+ size: { width: bounds75.width, height: bounds75.height },
21252
+ center: { x: bounds75.centerX, y: bounds75.centerY }
20971
21253
  });
20972
21254
 
20973
21255
  // symbols/var_meter_vert.ts
@@ -21120,33 +21402,33 @@ var varactor_diode_default = {
21120
21402
  };
21121
21403
 
21122
21404
  // symbols/varactor_diode_horz.ts
21123
- var { paths: paths66, texts: texts82, bounds: bounds66, refblocks: refblocks66, circles: circles61 } = varactor_diode_default;
21405
+ var { paths: paths76, texts: texts89, bounds: bounds76, refblocks: refblocks76, circles: circles70 } = varactor_diode_default;
21124
21406
  var varactor_diode_horz_default = defineSymbol({
21125
21407
  primitives: [
21126
- ...Object.values(paths66),
21127
- ...Object.values(circles61),
21128
- { ...texts82.top1, anchor: "middle_bottom" },
21129
- { ...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" }
21130
21412
  ],
21131
21413
  ports: [
21132
- { ...refblocks66.left1, labels: ["1"] },
21414
+ { ...refblocks76.left1, labels: ["1"] },
21133
21415
  // TODO add more "standard" labels
21134
- { ...refblocks66.right1, labels: ["2"] }
21416
+ { ...refblocks76.right1, labels: ["2"] }
21135
21417
  // TODO add more "standard" labels
21136
21418
  ],
21137
- size: { width: bounds66.width, height: bounds66.height },
21138
- center: { x: bounds66.centerX, y: bounds66.centerY }
21419
+ size: { width: bounds76.width, height: bounds76.height },
21420
+ center: { x: bounds76.centerX, y: bounds76.centerY }
21139
21421
  });
21140
21422
 
21141
21423
  // symbols/varactor_diode_vert.ts
21142
21424
  var rotated41 = rotateSymbol(varactor_diode_horz_default);
21143
- var ref63 = rotated41.primitives.find(
21425
+ var ref61 = rotated41.primitives.find(
21144
21426
  (p) => p.type === "text" && p.text === "{REF}"
21145
21427
  );
21146
21428
  var val56 = rotated41.primitives.find(
21147
21429
  (p) => p.type === "text" && p.text === "{VAL}"
21148
21430
  );
21149
- ref63.anchor = "middle_left";
21431
+ ref61.anchor = "middle_left";
21150
21432
  val56.anchor = "middle_right";
21151
21433
  var varactor_diode_vert_default = rotated41;
21152
21434
 
@@ -21283,26 +21565,26 @@ var varistor_default = {
21283
21565
  };
21284
21566
 
21285
21567
  // symbols/varistor_horz.ts
21286
- var { paths: paths67, texts: texts83, bounds: bounds67, refblocks: refblocks67 } = varistor_default;
21568
+ var { paths: paths77, texts: texts90, bounds: bounds77, refblocks: refblocks77 } = varistor_default;
21287
21569
  var varistor_horz_default = defineSymbol({
21288
21570
  primitives: [
21289
- ...Object.values(paths67),
21290
- { ...texts83.top1, anchor: "middle_left" },
21291
- { ...texts83.bottom1, anchor: "middle_right" }
21571
+ ...Object.values(paths77),
21572
+ { ...texts90.top1, anchor: "middle_left" },
21573
+ { ...texts90.bottom1, anchor: "middle_right" }
21292
21574
  ],
21293
21575
  ports: [
21294
21576
  {
21295
- ...refblocks67.left1,
21577
+ ...refblocks77.left1,
21296
21578
  labels: ["1", "-"]
21297
21579
  },
21298
21580
  {
21299
- ...refblocks67.right1,
21581
+ ...refblocks77.right1,
21300
21582
  labels: ["2", "+"]
21301
21583
  }
21302
21584
  ],
21303
- size: { width: bounds67.width, height: bounds67.height },
21585
+ size: { width: bounds77.width, height: bounds77.height },
21304
21586
  //{ width: 1, height: 0.24 },
21305
- center: { x: bounds67.centerX, y: bounds67.centerY }
21587
+ center: { x: bounds77.centerX, y: bounds77.centerY }
21306
21588
  });
21307
21589
 
21308
21590
  // symbols/varistor_vert.ts
@@ -21395,11 +21677,11 @@ var varmeter_default = {
21395
21677
  };
21396
21678
 
21397
21679
  // symbols/varmeter_horz.ts
21398
- var { paths: paths68, texts: texts84, bounds: bounds68, refblocks: refblocks68, circles: circles62 } = varmeter_default;
21680
+ var { paths: paths78, texts: texts91, bounds: bounds78, refblocks: refblocks78, circles: circles71 } = varmeter_default;
21399
21681
  var varmeter_horz_default = defineSymbol({
21400
21682
  primitives: [
21401
- ...Object.values(paths68),
21402
- ...Object.values(circles62),
21683
+ ...Object.values(paths78),
21684
+ ...Object.values(circles71),
21403
21685
  {
21404
21686
  type: "text",
21405
21687
  text: "{REF}",
@@ -21414,16 +21696,16 @@ var varmeter_horz_default = defineSymbol({
21414
21696
  y: 0.35,
21415
21697
  anchor: "middle_bottom"
21416
21698
  },
21417
- { ...texts84.left1, anchor: "center", y: 0.02, fontSize: 0.2 }
21699
+ { ...texts91.left1, anchor: "center", y: 0.02, fontSize: 0.2 }
21418
21700
  ],
21419
21701
  ports: [
21420
- { ...refblocks68.left1, labels: ["1"] },
21702
+ { ...refblocks78.left1, labels: ["1"] },
21421
21703
  // TODO add more "standard" labels
21422
- { ...refblocks68.right1, labels: ["2"] }
21704
+ { ...refblocks78.right1, labels: ["2"] }
21423
21705
  // TODO add more "standard" labels
21424
21706
  ],
21425
- size: { width: bounds68.width, height: bounds68.height },
21426
- center: { x: bounds68.centerX, y: bounds68.centerY }
21707
+ size: { width: bounds78.width, height: bounds78.height },
21708
+ center: { x: bounds78.centerX, y: bounds78.centerY }
21427
21709
  });
21428
21710
 
21429
21711
  // symbols/varmeter_vert.ts
@@ -21431,13 +21713,13 @@ var { 5: letter5, ...rest5 } = varmeter_horz_default.primitives;
21431
21713
  function isPrimitive5(value) {
21432
21714
  return typeof value === "object";
21433
21715
  }
21434
- var rotatedSymbol23 = rotateSymbol({
21716
+ var rotatedSymbol21 = rotateSymbol({
21435
21717
  ...varmeter_horz_default,
21436
21718
  primitives: Object.values(rest5).filter(isPrimitive5)
21437
21719
  });
21438
21720
  var varmeter_vert_default = {
21439
- ...rotatedSymbol23,
21440
- primitives: [...rotatedSymbol23.primitives, letter5]
21721
+ ...rotatedSymbol21,
21722
+ primitives: [...rotatedSymbol21.primitives, letter5]
21441
21723
  };
21442
21724
 
21443
21725
  // assets/generated/vcc.json
@@ -21628,7 +21910,7 @@ var volt_meter_default = {
21628
21910
  };
21629
21911
 
21630
21912
  // symbols/volt_meter_horz.ts
21631
- var { paths: paths69, texts: texts85, bounds: bounds69, circles: circles63, refblocks: refblocks69 } = volt_meter_default;
21913
+ var { paths: paths79, texts: texts92, bounds: bounds79, circles: circles72, refblocks: refblocks79 } = volt_meter_default;
21632
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();
21633
21915
 
21634
21916
  // symbols/volt_meter_vert.ts
@@ -21721,11 +22003,11 @@ var watt_hour_meter_default = {
21721
22003
  };
21722
22004
 
21723
22005
  // symbols/watt_hour_meter_horz.ts
21724
- var { paths: paths70, texts: texts86, bounds: bounds70, refblocks: refblocks70, circles: circles64 } = watt_hour_meter_default;
22006
+ var { paths: paths80, texts: texts93, bounds: bounds80, refblocks: refblocks80, circles: circles73 } = watt_hour_meter_default;
21725
22007
  var watt_hour_meter_horz_default = defineSymbol({
21726
22008
  primitives: [
21727
- ...Object.values(paths70),
21728
- ...Object.values(circles64),
22009
+ ...Object.values(paths80),
22010
+ ...Object.values(circles73),
21729
22011
  {
21730
22012
  type: "text",
21731
22013
  text: "{REF}",
@@ -21740,16 +22022,16 @@ var watt_hour_meter_horz_default = defineSymbol({
21740
22022
  y: 0.35,
21741
22023
  anchor: "middle_bottom"
21742
22024
  },
21743
- { ...texts86.left1, anchor: "center", y: 0.01, fontSize: 0.2 }
22025
+ { ...texts93.left1, anchor: "center", y: 0.01, fontSize: 0.2 }
21744
22026
  ],
21745
22027
  ports: [
21746
- { ...refblocks70.left1, labels: ["1"] },
22028
+ { ...refblocks80.left1, labels: ["1"] },
21747
22029
  // TODO add more "standard" labels
21748
- { ...refblocks70.right1, labels: ["2"] }
22030
+ { ...refblocks80.right1, labels: ["2"] }
21749
22031
  // TODO add more "standard" labels
21750
22032
  ],
21751
- size: { width: bounds70.width, height: bounds70.height },
21752
- center: { x: bounds70.centerX, y: bounds70.centerY }
22033
+ size: { width: bounds80.width, height: bounds80.height },
22034
+ center: { x: bounds80.centerX, y: bounds80.centerY }
21753
22035
  });
21754
22036
 
21755
22037
  // symbols/watt_hour_meter_vert.ts
@@ -21757,13 +22039,13 @@ var { 5: letter6, ...rest6 } = watt_hour_meter_horz_default.primitives;
21757
22039
  function isPrimitive6(value) {
21758
22040
  return typeof value === "object";
21759
22041
  }
21760
- var rotatedSymbol24 = rotateSymbol({
22042
+ var rotatedSymbol22 = rotateSymbol({
21761
22043
  ...watt_hour_meter_horz_default,
21762
22044
  primitives: Object.values(rest6).filter(isPrimitive6)
21763
22045
  });
21764
22046
  var watt_hour_meter_vert_default = {
21765
- ...rotatedSymbol24,
21766
- primitives: [...rotatedSymbol24.primitives, letter6]
22047
+ ...rotatedSymbol22,
22048
+ primitives: [...rotatedSymbol22.primitives, letter6]
21767
22049
  };
21768
22050
 
21769
22051
  // assets/generated/wattmeter.json
@@ -21853,11 +22135,11 @@ var wattmeter_default = {
21853
22135
  };
21854
22136
 
21855
22137
  // symbols/wattmeter_horz.ts
21856
- var { paths: paths71, texts: texts87, bounds: bounds71, refblocks: refblocks71, circles: circles65 } = wattmeter_default;
22138
+ var { paths: paths81, texts: texts94, bounds: bounds81, refblocks: refblocks81, circles: circles74 } = wattmeter_default;
21857
22139
  var wattmeter_horz_default = defineSymbol({
21858
22140
  primitives: [
21859
- ...Object.values(paths71),
21860
- ...Object.values(circles65),
22141
+ ...Object.values(paths81),
22142
+ ...Object.values(circles74),
21861
22143
  {
21862
22144
  type: "text",
21863
22145
  text: "{REF}",
@@ -21872,16 +22154,16 @@ var wattmeter_horz_default = defineSymbol({
21872
22154
  y: 0.35,
21873
22155
  anchor: "middle_bottom"
21874
22156
  },
21875
- { ...texts87.left1, anchor: "center", y: 0.01, fontSize: 0.3 }
22157
+ { ...texts94.left1, anchor: "center", y: 0.01, fontSize: 0.3 }
21876
22158
  ],
21877
22159
  ports: [
21878
- { ...refblocks71.left1, labels: ["1"] },
22160
+ { ...refblocks81.left1, labels: ["1"] },
21879
22161
  // TODO add more "standard" labels
21880
- { ...refblocks71.right1, labels: ["2"] }
22162
+ { ...refblocks81.right1, labels: ["2"] }
21881
22163
  // TODO add more "standard" labels
21882
22164
  ],
21883
- size: { width: bounds71.width, height: bounds71.height },
21884
- center: { x: bounds71.centerX, y: bounds71.centerY }
22165
+ size: { width: bounds81.width, height: bounds81.height },
22166
+ center: { x: bounds81.centerX, y: bounds81.centerY }
21885
22167
  });
21886
22168
 
21887
22169
  // symbols/wattmeter_vert.ts
@@ -21889,13 +22171,13 @@ var { 5: letter7, ...rest7 } = wattmeter_horz_default.primitives;
21889
22171
  function isPrimitive7(value) {
21890
22172
  return typeof value === "object";
21891
22173
  }
21892
- var rotatedSymbol25 = rotateSymbol({
22174
+ var rotatedSymbol23 = rotateSymbol({
21893
22175
  ...wattmeter_horz_default,
21894
22176
  primitives: Object.values(rest7).filter(isPrimitive7)
21895
22177
  });
21896
22178
  var wattmeter_vert_default = {
21897
- ...rotatedSymbol25,
21898
- primitives: [...rotatedSymbol25.primitives, letter7]
22179
+ ...rotatedSymbol23,
22180
+ primitives: [...rotatedSymbol23.primitives, letter7]
21899
22181
  };
21900
22182
 
21901
22183
  // assets/generated/zener_diode.json
@@ -22045,33 +22327,33 @@ var zener_diode_default = {
22045
22327
  };
22046
22328
 
22047
22329
  // symbols/zener_diode_horz.ts
22048
- var { paths: paths72, texts: texts88, bounds: bounds72, refblocks: refblocks72, circles: circles66 } = zener_diode_default;
22330
+ var { paths: paths82, texts: texts95, bounds: bounds82, refblocks: refblocks82, circles: circles75 } = zener_diode_default;
22049
22331
  var zener_diode_horz_default = defineSymbol({
22050
22332
  primitives: [
22051
- ...Object.values(paths72),
22052
- ...Object.values(circles66),
22053
- { ...texts88.top1, anchor: "middle_bottom" },
22054
- { ...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" }
22055
22337
  ],
22056
22338
  ports: [
22057
- { ...refblocks72.left1, labels: ["1"] },
22339
+ { ...refblocks82.left1, labels: ["1"] },
22058
22340
  // TODO add more "standard" labels
22059
- { ...refblocks72.right1, labels: ["2"] }
22341
+ { ...refblocks82.right1, labels: ["2"] }
22060
22342
  // TODO add more "standard" labels
22061
22343
  ],
22062
- size: { width: bounds72.width, height: bounds72.height },
22063
- center: { x: bounds72.centerX, y: bounds72.centerY }
22344
+ size: { width: bounds82.width, height: bounds82.height },
22345
+ center: { x: bounds82.centerX, y: bounds82.centerY }
22064
22346
  });
22065
22347
 
22066
22348
  // symbols/zener_diode_vert.ts
22067
22349
  var rotated42 = rotateSymbol(zener_diode_horz_default);
22068
- var ref64 = rotated42.primitives.find(
22350
+ var ref62 = rotated42.primitives.find(
22069
22351
  (p) => p.type === "text" && p.text === "{REF}"
22070
22352
  );
22071
22353
  var val57 = rotated42.primitives.find(
22072
22354
  (p) => p.type === "text" && p.text === "{VAL}"
22073
22355
  );
22074
- ref64.anchor = "middle_left";
22356
+ ref62.anchor = "middle_left";
22075
22357
  val57.anchor = "middle_right";
22076
22358
  var zener_diode_vert_default = rotated42;
22077
22359
 
@@ -22195,7 +22477,15 @@ var symbols_index_default = {
22195
22477
  "n_channel_e_mosfet_transistor_vert": n_channel_e_mosfet_transistor_vert_default,
22196
22478
  "njfet_transistor_horz": njfet_transistor_horz_default,
22197
22479
  "njfet_transistor_vert": njfet_transistor_vert_default,
22480
+ "not_connected_down": not_connected_down_default,
22481
+ "not_connected_left": not_connected_left_default,
22482
+ "not_connected_right": not_connected_right_default,
22483
+ "not_connected_up": not_connected_up_default,
22484
+ "npn_bipolar_transistor_down": npn_bipolar_transistor_down_default,
22198
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,
22199
22489
  "npn_bipolar_transistor_vert": npn_bipolar_transistor_vert_default,
22200
22490
  "opamp_no_power_down": opamp_no_power_down_default,
22201
22491
  "opamp_no_power_left": opamp_no_power_left_default,
@@ -22213,7 +22503,11 @@ var symbols_index_default = {
22213
22503
  "photodiode_vert": photodiode_vert_default,
22214
22504
  "pjfet_transistor_horz": pjfet_transistor_horz_default,
22215
22505
  "pjfet_transistor_vert": pjfet_transistor_vert_default,
22506
+ "pnp_bipolar_transistor_down": pnp_bipolar_transistor_down_default,
22216
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,
22217
22511
  "pnp_bipolar_transistor_vert": pnp_bipolar_transistor_vert_default,
22218
22512
  "potentiometer_horz": potentiometer_horz_default,
22219
22513
  "potentiometer_vert": potentiometer_vert_default,