schematic-symbols 0.0.167 → 0.0.168

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -44,10 +44,10 @@ function getBoundsOfPrimitives(primitives) {
44
44
  function defineSymbol(symbol8) {
45
45
  let size = symbol8.size;
46
46
  if (!size) {
47
- const bounds83 = getBoundsOfPrimitives(symbol8.primitives);
47
+ const bounds85 = getBoundsOfPrimitives(symbol8.primitives);
48
48
  size = {
49
- width: bounds83.maxX - bounds83.minX,
50
- height: bounds83.maxY - bounds83.minY
49
+ width: bounds85.maxX - bounds85.minX,
50
+ height: bounds85.maxY - bounds85.minY
51
51
  };
52
52
  }
53
53
  return { ...symbol8, size };
@@ -494,14 +494,14 @@ var rotateRightFacingSymbol = (symbol8, opts) => {
494
494
  ...applyToPoint(transform2, port)
495
495
  })
496
496
  );
497
- const bounds83 = getBoundsOfPrimitives(rotatedPrimitives);
497
+ const bounds85 = getBoundsOfPrimitives(rotatedPrimitives);
498
498
  return {
499
499
  primitives: rotatedPrimitives,
500
500
  center,
501
501
  ports: rotatedPorts,
502
502
  size: {
503
- width: bounds83.maxX - bounds83.minX,
504
- height: bounds83.maxY - bounds83.minY
503
+ width: bounds85.maxX - bounds85.minX,
504
+ height: bounds85.maxY - bounds85.minY
505
505
  },
506
506
  ...overrides
507
507
  };
@@ -902,10 +902,10 @@ var SymbolModifier = class {
902
902
  return this;
903
903
  }
904
904
  computeSize() {
905
- const bounds83 = getBoundsOfPrimitives(this.symbol.primitives);
905
+ const bounds85 = getBoundsOfPrimitives(this.symbol.primitives);
906
906
  return {
907
- width: bounds83.maxX - bounds83.minX,
908
- height: bounds83.maxY - bounds83.minY
907
+ width: bounds85.maxX - bounds85.minX,
908
+ height: bounds85.maxY - bounds85.minY
909
909
  };
910
910
  }
911
911
  build() {
@@ -12214,13 +12214,13 @@ var npn_bipolar_transistor_up_default = modifySymbol({
12214
12214
  type: "text",
12215
12215
  text: "{REF}",
12216
12216
  x: -0.1,
12217
- y: 0.3094553499999995
12217
+ y: -0.3094553499999995
12218
12218
  },
12219
12219
  {
12220
12220
  type: "text",
12221
12221
  text: "{VAL}",
12222
12222
  x: -0.1,
12223
- y: -0.3094553499999995
12223
+ y: 0.3094553499999995
12224
12224
  }
12225
12225
  ],
12226
12226
  ports: [
@@ -12233,7 +12233,32 @@ var npn_bipolar_transistor_up_default = modifySymbol({
12233
12233
  }).rotateRightFacingSymbol("left").changeTextAnchor("{REF}", "middle_left").changeTextAnchor("{VAL}", "middle_left").build();
12234
12234
 
12235
12235
  // symbols/npn_bipolar_transistor_vert.ts
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();
12236
+ var { paths: paths50, texts: texts55, bounds: bounds50, refblocks: refblocks50, circles: circles46 } = npn_bipolar_transistor_default;
12237
+ var npn_bipolar_transistor_vert_default = modifySymbol({
12238
+ primitives: [
12239
+ ...Object.values(paths50),
12240
+ ...Object.values(circles46),
12241
+ {
12242
+ type: "text",
12243
+ text: "{REF}",
12244
+ x: -0.1,
12245
+ y: -0.3094553499999995
12246
+ },
12247
+ {
12248
+ type: "text",
12249
+ text: "{VAL}",
12250
+ x: -0.1,
12251
+ y: 0.3094553499999995
12252
+ }
12253
+ ],
12254
+ ports: [
12255
+ { ...refblocks50.top1, labels: ["1"] },
12256
+ { ...refblocks50.bottom1, labels: ["3"] },
12257
+ { ...refblocks50.left1, labels: ["2"] }
12258
+ ],
12259
+ size: { width: bounds50.width, height: bounds50.height },
12260
+ center: { x: bounds50.centerX, y: bounds50.centerY }
12261
+ }).rotateRightFacingSymbol("left").changeTextAnchor("{REF}", "middle_left").changeTextAnchor("{VAL}", "middle_left").build();
12237
12262
 
12238
12263
  // assets/generated/opamp_no_power.json
12239
12264
  var opamp_no_power_default = {
@@ -12855,34 +12880,34 @@ var p_channel_d_mosfet_transistor_default = {
12855
12880
  };
12856
12881
 
12857
12882
  // symbols/p_channel_d_mosfet_transistor_horz.ts
12858
- var { paths: paths50, texts: texts55, bounds: bounds50, refblocks: refblocks50, circles: circles46 } = p_channel_d_mosfet_transistor_default;
12883
+ var { paths: paths51, texts: texts56, bounds: bounds51, refblocks: refblocks51, circles: circles47 } = p_channel_d_mosfet_transistor_default;
12859
12884
  var p_channel_d_mosfet_transistor_horz_default = defineSymbol({
12860
12885
  primitives: [
12861
- ...Object.values(paths50),
12862
- ...Object.values(circles46),
12863
- { ...texts55.top1, anchor: "middle_right", x: 0 },
12864
- { ...texts55.bottom1, anchor: "middle_right", x: 0 }
12886
+ ...Object.values(paths51),
12887
+ ...Object.values(circles47),
12888
+ { ...texts56.top1, anchor: "middle_right", x: 0 },
12889
+ { ...texts56.bottom1, anchor: "middle_right", x: 0 }
12865
12890
  ],
12866
12891
  ports: [
12867
- { ...refblocks50.top1, labels: ["1", "drain"] },
12892
+ { ...refblocks51.top1, labels: ["1", "drain"] },
12868
12893
  // TODO add more "standard" labels
12869
- { ...refblocks50.bottom1, labels: ["2", "source"] },
12894
+ { ...refblocks51.bottom1, labels: ["2", "source"] },
12870
12895
  // TODO add more "standard" labels
12871
- { ...refblocks50.left1, labels: ["3", "gate"] }
12896
+ { ...refblocks51.left1, labels: ["3", "gate"] }
12872
12897
  // TODO add more "standard" labels
12873
12898
  ],
12874
- size: { width: bounds50.width, height: bounds50.height },
12875
- center: { x: bounds50.centerX, y: bounds50.centerY }
12899
+ size: { width: bounds51.width, height: bounds51.height },
12900
+ center: { x: bounds51.centerX, y: bounds51.centerY }
12876
12901
  });
12877
12902
 
12878
12903
  // symbols/p_channel_d_mosfet_transistor_vert.ts
12879
12904
  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}");
12905
+ var texts57 = rotatedSymbol12.primitives.filter((p) => p.type === "text");
12906
+ var val27 = texts57.find((t) => t.text === "{VAL}");
12882
12907
  val27.x = -0.35;
12883
12908
  val27.y = 0;
12884
12909
  val27.anchor = "middle_right";
12885
- var ref28 = texts56.find((t) => t.text === "{REF}");
12910
+ var ref28 = texts57.find((t) => t.text === "{REF}");
12886
12911
  ref28.y = 0;
12887
12912
  ref28.x = 0.35;
12888
12913
  ref28.anchor = "middle_left";
@@ -13116,34 +13141,34 @@ var p_channel_e_mosfet_transistor_default = {
13116
13141
  };
13117
13142
 
13118
13143
  // symbols/p_channel_e_mosfet_transistor_horz.ts
13119
- var { paths: paths51, texts: texts57, bounds: bounds51, refblocks: refblocks51, circles: circles47 } = p_channel_e_mosfet_transistor_default;
13144
+ var { paths: paths52, texts: texts58, bounds: bounds52, refblocks: refblocks52, circles: circles48 } = p_channel_e_mosfet_transistor_default;
13120
13145
  var p_channel_e_mosfet_transistor_horz_default = defineSymbol({
13121
13146
  primitives: [
13122
- ...Object.values(paths51),
13123
- ...Object.values(circles47),
13124
- { ...texts57.top1, anchor: "middle_right", x: 0 },
13125
- { ...texts57.bottom1, anchor: "middle_right", x: 0 }
13147
+ ...Object.values(paths52),
13148
+ ...Object.values(circles48),
13149
+ { ...texts58.top1, anchor: "middle_right", x: 0 },
13150
+ { ...texts58.bottom1, anchor: "middle_right", x: 0 }
13126
13151
  ],
13127
13152
  ports: [
13128
- { ...refblocks51.top1, labels: ["1", "drain"] },
13153
+ { ...refblocks52.top1, labels: ["1", "drain"] },
13129
13154
  // TODO add more "standard" labels
13130
- { ...refblocks51.bottom1, labels: ["2", "source"] },
13155
+ { ...refblocks52.bottom1, labels: ["2", "source"] },
13131
13156
  // TODO add more "standard" labels
13132
- { ...refblocks51.left1, labels: ["3", "gate"] }
13157
+ { ...refblocks52.left1, labels: ["3", "gate"] }
13133
13158
  // TODO add more "standard" labels
13134
13159
  ],
13135
- size: { width: bounds51.width, height: bounds51.height },
13136
- center: { x: bounds51.centerX, y: bounds51.centerY }
13160
+ size: { width: bounds52.width, height: bounds52.height },
13161
+ center: { x: bounds52.centerX, y: bounds52.centerY }
13137
13162
  });
13138
13163
 
13139
13164
  // symbols/p_channel_e_mosfet_transistor_vert.ts
13140
13165
  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}");
13166
+ var texts59 = rotatedSymbol13.primitives.filter((p) => p.type === "text");
13167
+ var val28 = texts59.find((t) => t.text === "{VAL}");
13143
13168
  val28.x = -0.35;
13144
13169
  val28.y = 0;
13145
13170
  val28.anchor = "middle_right";
13146
- var ref29 = texts58.find((t) => t.text === "{REF}");
13171
+ var ref29 = texts59.find((t) => t.text === "{REF}");
13147
13172
  ref29.y = 0;
13148
13173
  ref29.x = 0.35;
13149
13174
  ref29.anchor = "middle_left";
@@ -13378,8 +13403,8 @@ var photodiode_horz_default = modifySymbol(photodiode_default).changeTextAnchor(
13378
13403
 
13379
13404
  // symbols/photodiode_vert.ts
13380
13405
  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}");
13406
+ var texts60 = rotatedSymbol14.primitives.filter((p) => p.type === "text");
13407
+ var ref30 = texts60.find((t) => t.text === "{REF}");
13383
13408
  ref30.y = 0;
13384
13409
  ref30.anchor = "middle_left";
13385
13410
  var photodiode_vert_default = rotatedSymbol14;
@@ -13552,34 +13577,34 @@ var pjfet_transistor_default = {
13552
13577
  };
13553
13578
 
13554
13579
  // symbols/pjfet_transistor_horz.ts
13555
- var { paths: paths52, texts: texts60, bounds: bounds52, refblocks: refblocks52, circles: circles48 } = pjfet_transistor_default;
13580
+ var { paths: paths53, texts: texts61, bounds: bounds53, refblocks: refblocks53, circles: circles49 } = pjfet_transistor_default;
13556
13581
  var pjfet_transistor_horz_default = defineSymbol({
13557
13582
  primitives: [
13558
- ...Object.values(paths52),
13559
- ...Object.values(circles48),
13560
- { ...texts60.top1, anchor: "middle_right", x: 0 },
13561
- { ...texts60.bottom1, anchor: "middle_right" }
13583
+ ...Object.values(paths53),
13584
+ ...Object.values(circles49),
13585
+ { ...texts61.top1, anchor: "middle_right", x: 0 },
13586
+ { ...texts61.bottom1, anchor: "middle_right" }
13562
13587
  ],
13563
13588
  ports: [
13564
- { ...refblocks52.top1, labels: ["1", "drain"] },
13589
+ { ...refblocks53.top1, labels: ["1", "drain"] },
13565
13590
  // TODO add more "standard" labels
13566
- { ...refblocks52.bottom1, labels: ["2", "source"] },
13591
+ { ...refblocks53.bottom1, labels: ["2", "source"] },
13567
13592
  // TODO add more "standard" labels
13568
- { ...refblocks52.left1, labels: ["3", "gate"] }
13593
+ { ...refblocks53.left1, labels: ["3", "gate"] }
13569
13594
  // TODO add more "standard" labels
13570
13595
  ],
13571
- size: { width: bounds52.width, height: bounds52.height },
13572
- center: { x: bounds52.centerX, y: bounds52.centerY }
13596
+ size: { width: bounds53.width, height: bounds53.height },
13597
+ center: { x: bounds53.centerX, y: bounds53.centerY }
13573
13598
  });
13574
13599
 
13575
13600
  // symbols/pjfet_transistor_vert.ts
13576
13601
  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}");
13602
+ var texts62 = rotatedSymbol15.primitives.filter((p) => p.type === "text");
13603
+ var val29 = texts62.find((t) => t.text === "{VAL}");
13579
13604
  val29.x = -0.35;
13580
13605
  val29.y = 0;
13581
13606
  val29.anchor = "middle_right";
13582
- var ref31 = texts61.find((t) => t.text === "{REF}");
13607
+ var ref31 = texts62.find((t) => t.text === "{REF}");
13583
13608
  ref31.y = 0;
13584
13609
  ref31.x = 0.35;
13585
13610
  ref31.anchor = "middle_left";
@@ -13753,11 +13778,11 @@ var pnp_bipolar_transistor_default = {
13753
13778
  };
13754
13779
 
13755
13780
  // symbols/pnp_bipolar_transistor_down.ts
13756
- var { paths: paths53, texts: texts62, bounds: bounds53, refblocks: refblocks53, circles: circles49 } = pnp_bipolar_transistor_default;
13781
+ var { paths: paths54, texts: texts63, bounds: bounds54, refblocks: refblocks54, circles: circles50 } = pnp_bipolar_transistor_default;
13757
13782
  var pnp_bipolar_transistor_down_default = modifySymbol({
13758
13783
  primitives: [
13759
- ...Object.values(paths53),
13760
- ...Object.values(circles49),
13784
+ ...Object.values(paths54),
13785
+ ...Object.values(circles50),
13761
13786
  {
13762
13787
  type: "text",
13763
13788
  text: "{REF}",
@@ -13772,24 +13797,24 @@ var pnp_bipolar_transistor_down_default = modifySymbol({
13772
13797
  }
13773
13798
  ],
13774
13799
  ports: [
13775
- { ...refblocks53.top1, labels: ["1"] },
13776
- { ...refblocks53.bottom1, labels: ["3"] },
13777
- { ...refblocks53.left1, labels: ["2"] }
13800
+ { ...refblocks54.top1, labels: ["1"] },
13801
+ { ...refblocks54.bottom1, labels: ["3"] },
13802
+ { ...refblocks54.left1, labels: ["2"] }
13778
13803
  ],
13779
- size: { width: bounds53.width, height: bounds53.height },
13780
- center: { x: bounds53.centerX, y: bounds53.centerY }
13804
+ size: { width: bounds54.width, height: bounds54.height },
13805
+ center: { x: bounds54.centerX, y: bounds54.centerY }
13781
13806
  }).rotateRightFacingSymbol("right").changeTextAnchor("{REF}", "middle_right").changeTextAnchor("{VAL}", "middle_right").build();
13782
13807
 
13783
13808
  // symbols/pnp_bipolar_transistor_horz.ts
13784
- var { paths: paths54, texts: texts63, bounds: bounds54, refblocks: refblocks54, circles: circles50 } = pnp_bipolar_transistor_default;
13809
+ var { paths: paths55, texts: texts64, bounds: bounds55, refblocks: refblocks55, circles: circles51 } = pnp_bipolar_transistor_default;
13785
13810
  var pnp_bipolar_transistor_horz_default = modifySymbol(pnp_bipolar_transistor_default).rotateRightFacingSymbol("up").changeTextAnchor("{VAL}", "middle_left").labelPort("left1", ["2"]).labelPort("top1", ["1"]).labelPort("bottom1", ["3"]).changeTextAnchor("{REF}", "middle_right").build();
13786
13811
 
13787
13812
  // symbols/pnp_bipolar_transistor_left.ts
13788
- var { paths: paths55, texts: texts64, bounds: bounds55, refblocks: refblocks55, circles: circles51 } = pnp_bipolar_transistor_default;
13813
+ var { paths: paths56, texts: texts65, bounds: bounds56, refblocks: refblocks56, circles: circles52 } = pnp_bipolar_transistor_default;
13789
13814
  var pnp_bipolar_transistor_left_default = modifySymbol({
13790
13815
  primitives: [
13791
- ...Object.values(paths55),
13792
- ...Object.values(circles51),
13816
+ ...Object.values(paths56),
13817
+ ...Object.values(circles52),
13793
13818
  {
13794
13819
  type: "text",
13795
13820
  text: "{REF}",
@@ -13804,20 +13829,20 @@ var pnp_bipolar_transistor_left_default = modifySymbol({
13804
13829
  }
13805
13830
  ],
13806
13831
  ports: [
13807
- { ...refblocks55.top1, labels: ["1"] },
13808
- { ...refblocks55.bottom1, labels: ["3"] },
13809
- { ...refblocks55.left1, labels: ["2"] }
13832
+ { ...refblocks56.top1, labels: ["1"] },
13833
+ { ...refblocks56.bottom1, labels: ["3"] },
13834
+ { ...refblocks56.left1, labels: ["2"] }
13810
13835
  ],
13811
- size: { width: bounds55.width, height: bounds55.height },
13812
- center: { x: bounds55.centerX, y: bounds55.centerY }
13836
+ size: { width: bounds56.width, height: bounds56.height },
13837
+ center: { x: bounds56.centerX, y: bounds56.centerY }
13813
13838
  }).rotateRightFacingSymbol("down").changeTextAnchor("{REF}", "middle_bottom").changeTextAnchor("{VAL}", "middle_bottom").build();
13814
13839
 
13815
13840
  // symbols/pnp_bipolar_transistor_right.ts
13816
- var { paths: paths56, texts: texts65, bounds: bounds56, refblocks: refblocks56, circles: circles52 } = pnp_bipolar_transistor_default;
13841
+ var { paths: paths57, texts: texts66, bounds: bounds57, refblocks: refblocks57, circles: circles53 } = pnp_bipolar_transistor_default;
13817
13842
  var pnp_bipolar_transistor_right_default = modifySymbol({
13818
13843
  primitives: [
13819
- ...Object.values(paths56),
13820
- ...Object.values(circles52),
13844
+ ...Object.values(paths57),
13845
+ ...Object.values(circles53),
13821
13846
  {
13822
13847
  type: "text",
13823
13848
  text: "{REF}",
@@ -13832,44 +13857,69 @@ var pnp_bipolar_transistor_right_default = modifySymbol({
13832
13857
  }
13833
13858
  ],
13834
13859
  ports: [
13835
- { ...refblocks56.top1, labels: ["1"] },
13836
- { ...refblocks56.bottom1, labels: ["3"] },
13837
- { ...refblocks56.left1, labels: ["2"] }
13860
+ { ...refblocks57.top1, labels: ["1"] },
13861
+ { ...refblocks57.bottom1, labels: ["3"] },
13862
+ { ...refblocks57.left1, labels: ["2"] }
13838
13863
  ],
13839
- size: { width: bounds56.width, height: bounds56.height },
13840
- center: { x: bounds56.centerX, y: bounds56.centerY }
13864
+ size: { width: bounds57.width, height: bounds57.height },
13865
+ center: { x: bounds57.centerX, y: bounds57.centerY }
13841
13866
  }).rotateRightFacingSymbol("up").changeTextAnchor("{REF}", "middle_top").changeTextAnchor("{VAL}", "middle_top").build();
13842
13867
 
13843
13868
  // symbols/pnp_bipolar_transistor_up.ts
13844
- var { paths: paths57, texts: texts66, bounds: bounds57, refblocks: refblocks57, circles: circles53 } = pnp_bipolar_transistor_default;
13869
+ var { paths: paths58, texts: texts67, bounds: bounds58, refblocks: refblocks58, circles: circles54 } = pnp_bipolar_transistor_default;
13845
13870
  var pnp_bipolar_transistor_up_default = modifySymbol({
13846
13871
  primitives: [
13847
- ...Object.values(paths57),
13848
- ...Object.values(circles53),
13872
+ ...Object.values(paths58),
13873
+ ...Object.values(circles54),
13849
13874
  {
13850
13875
  type: "text",
13851
13876
  text: "{REF}",
13852
13877
  x: -0.1,
13853
- y: 0.3094553499999995
13878
+ y: -0.3094553499999995
13854
13879
  },
13855
13880
  {
13856
13881
  type: "text",
13857
13882
  text: "{VAL}",
13858
13883
  x: -0.1,
13859
- y: -0.3094553499999995
13884
+ y: 0.3094553499999995
13860
13885
  }
13861
13886
  ],
13862
13887
  ports: [
13863
- { ...refblocks57.top1, labels: ["1"] },
13864
- { ...refblocks57.bottom1, labels: ["3"] },
13865
- { ...refblocks57.left1, labels: ["2"] }
13888
+ { ...refblocks58.top1, labels: ["1"] },
13889
+ { ...refblocks58.bottom1, labels: ["3"] },
13890
+ { ...refblocks58.left1, labels: ["2"] }
13866
13891
  ],
13867
- size: { width: bounds57.width, height: bounds57.height },
13868
- center: { x: bounds57.centerX, y: bounds57.centerY }
13892
+ size: { width: bounds58.width, height: bounds58.height },
13893
+ center: { x: bounds58.centerX, y: bounds58.centerY }
13869
13894
  }).rotateRightFacingSymbol("left").changeTextAnchor("{REF}", "middle_left").changeTextAnchor("{VAL}", "middle_left").build();
13870
13895
 
13871
13896
  // symbols/pnp_bipolar_transistor_vert.ts
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();
13897
+ var { paths: paths59, texts: texts68, bounds: bounds59, refblocks: refblocks59, circles: circles55 } = pnp_bipolar_transistor_default;
13898
+ var pnp_bipolar_transistor_vert_default = modifySymbol({
13899
+ primitives: [
13900
+ ...Object.values(paths59),
13901
+ ...Object.values(circles55),
13902
+ {
13903
+ type: "text",
13904
+ text: "{REF}",
13905
+ x: -0.1,
13906
+ y: -0.3094553499999995
13907
+ },
13908
+ {
13909
+ type: "text",
13910
+ text: "{VAL}",
13911
+ x: -0.1,
13912
+ y: 0.3094553499999995
13913
+ }
13914
+ ],
13915
+ ports: [
13916
+ { ...refblocks59.top1, labels: ["1"] },
13917
+ { ...refblocks59.bottom1, labels: ["3"] },
13918
+ { ...refblocks59.left1, labels: ["2"] }
13919
+ ],
13920
+ size: { width: bounds59.width, height: bounds59.height },
13921
+ center: { x: bounds59.centerX, y: bounds59.centerY }
13922
+ }).rotateRightFacingSymbol("left").changeTextAnchor("{REF}", "middle_left").changeTextAnchor("{VAL}", "middle_left").build();
13873
13923
 
13874
13924
  // assets/generated/potentiometer.json
13875
13925
  var potentiometer_default = {
@@ -14281,21 +14331,21 @@ var potentiometer_default = {
14281
14331
  };
14282
14332
 
14283
14333
  // symbols/potentiometer_horz.ts
14284
- var { paths: paths58, texts: texts67, bounds: bounds58, refblocks: refblocks58 } = potentiometer_default;
14334
+ var { paths: paths60, texts: texts69, bounds: bounds60, refblocks: refblocks60 } = potentiometer_default;
14285
14335
  var potentiometer_horz_default = defineSymbol({
14286
14336
  primitives: [
14287
- ...Object.values(paths58),
14288
- { ...texts67.bottom1, y: 0.35, anchor: "middle_top" },
14289
- { ...texts67.top1, anchor: "middle_left" }
14337
+ ...Object.values(paths60),
14338
+ { ...texts69.bottom1, y: 0.35, anchor: "middle_top" },
14339
+ { ...texts69.top1, anchor: "middle_left" }
14290
14340
  ],
14291
14341
  ports: [
14292
- { ...refblocks58.left1, labels: ["1"] },
14342
+ { ...refblocks60.left1, labels: ["1"] },
14293
14343
  // TODO add more "standard" labels
14294
- { ...refblocks58.right1, labels: ["2"] }
14344
+ { ...refblocks60.right1, labels: ["2"] }
14295
14345
  // TODO add more "standard" labels
14296
14346
  ],
14297
- size: { width: bounds58.width + 0.05, height: bounds58.height },
14298
- center: { x: bounds58.centerX, y: bounds58.centerY }
14347
+ size: { width: bounds60.width + 0.05, height: bounds60.height },
14348
+ center: { x: bounds60.centerX, y: bounds60.centerY }
14299
14349
  });
14300
14350
 
14301
14351
  // symbols/potentiometer_vert.ts
@@ -14458,21 +14508,21 @@ var potentiometer2_default = {
14458
14508
  };
14459
14509
 
14460
14510
  // symbols/potentiometer2_right.ts
14461
- var { paths: paths59, texts: texts68, bounds: bounds59, refblocks: refblocks59 } = potentiometer2_default;
14511
+ var { paths: paths61, texts: texts70, bounds: bounds61, refblocks: refblocks61 } = potentiometer2_default;
14462
14512
  var potentiometer2_right_default = defineSymbol({
14463
14513
  primitives: [
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" }
14514
+ ...Object.values(paths61),
14515
+ { ...texts70.bottom1, x: 0, y: -0.35, anchor: "middle_top" },
14516
+ { ...texts70.top1, x: 0, y: 0.35, anchor: "middle_bottom" }
14467
14517
  ],
14468
14518
  ports: [
14469
- { ...refblocks59.left1, labels: ["1"] },
14519
+ { ...refblocks61.left1, labels: ["1"] },
14470
14520
  // TODO add more "standard" labels
14471
- { ...refblocks59.right1, labels: ["2"] }
14521
+ { ...refblocks61.right1, labels: ["2"] }
14472
14522
  // TODO add more "standard" labels
14473
14523
  ],
14474
- size: { width: bounds59.width + 0.05, height: bounds59.height },
14475
- center: { x: bounds59.centerX, y: bounds59.centerY }
14524
+ size: { width: bounds61.width + 0.05, height: bounds61.height },
14525
+ center: { x: bounds61.centerX, y: bounds61.centerY }
14476
14526
  });
14477
14527
 
14478
14528
  // symbols/potentiometer2_down.ts
@@ -14717,11 +14767,11 @@ var power_factor_meter_default = {
14717
14767
  };
14718
14768
 
14719
14769
  // symbols/power_factor_meter_horz.ts
14720
- var { paths: paths60, texts: texts69, bounds: bounds60, refblocks: refblocks60, circles: circles54 } = power_factor_meter_default;
14770
+ var { paths: paths62, texts: texts71, bounds: bounds62, refblocks: refblocks62, circles: circles56 } = power_factor_meter_default;
14721
14771
  var power_factor_meter_horz_default = defineSymbol({
14722
14772
  primitives: [
14723
- ...Object.values(paths60),
14724
- ...Object.values(circles54),
14773
+ ...Object.values(paths62),
14774
+ ...Object.values(circles56),
14725
14775
  // { ...texts.top1, anchor: "middle_left" },
14726
14776
  {
14727
14777
  type: "text",
@@ -14748,21 +14798,21 @@ var power_factor_meter_horz_default = defineSymbol({
14748
14798
  }
14749
14799
  ],
14750
14800
  ports: [
14751
- { ...refblocks60.left1, labels: ["1"] },
14801
+ { ...refblocks62.left1, labels: ["1"] },
14752
14802
  // TODO add more "standard" labels
14753
- { ...refblocks60.right1, labels: ["2"] }
14803
+ { ...refblocks62.right1, labels: ["2"] }
14754
14804
  // TODO add more "standard" labels
14755
14805
  ],
14756
- size: { width: bounds60.width, height: bounds60.height },
14757
- center: { x: bounds60.centerX, y: bounds60.centerY }
14806
+ size: { width: bounds62.width, height: bounds62.height },
14807
+ center: { x: bounds62.centerX, y: bounds62.centerY }
14758
14808
  });
14759
14809
 
14760
14810
  // symbols/power_factor_meter_vert.ts
14761
14811
  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");
14812
+ var texts72 = rotatedSymbol16.primitives.filter((p) => p.type === "text");
14813
+ var ref35 = texts72.find((t) => t.text === "{REF}");
14814
+ var val33 = texts72.find((t) => t.text === "{VAL}");
14815
+ var text_cos = texts72.find((t) => t.text === "COS \u03C6");
14766
14816
  ref35.x = 0.35;
14767
14817
  ref35.y = 0;
14768
14818
  ref35.anchor = "middle_left";
@@ -14893,22 +14943,22 @@ var push_button_normally_closed_momentary_default = {
14893
14943
  };
14894
14944
 
14895
14945
  // symbols/push_button_normally_closed_momentary_horz.ts
14896
- var { paths: paths61, texts: texts71, bounds: bounds61, refblocks: refblocks61, circles: circles55 } = push_button_normally_closed_momentary_default;
14946
+ var { paths: paths63, texts: texts73, bounds: bounds63, refblocks: refblocks63, circles: circles57 } = push_button_normally_closed_momentary_default;
14897
14947
  var push_button_normally_closed_momentary_horz_default = defineSymbol({
14898
14948
  primitives: [
14899
- ...Object.values(paths61),
14900
- ...Object.values(circles55),
14901
- { ...texts71.top1, anchor: "middle_left" },
14902
- { ...texts71.bottom1, anchor: "middle_left" }
14949
+ ...Object.values(paths63),
14950
+ ...Object.values(circles57),
14951
+ { ...texts73.top1, anchor: "middle_left" },
14952
+ { ...texts73.bottom1, anchor: "middle_left" }
14903
14953
  ],
14904
14954
  ports: [
14905
- { ...refblocks61.left1, labels: ["1"] },
14955
+ { ...refblocks63.left1, labels: ["1"] },
14906
14956
  // TODO add more "standard" labels
14907
- { ...refblocks61.right1, labels: ["2"] }
14957
+ { ...refblocks63.right1, labels: ["2"] }
14908
14958
  // TODO add more "standard" labels
14909
14959
  ],
14910
- size: { width: bounds61.width, height: bounds61.height },
14911
- center: { x: bounds61.centerX, y: bounds61.centerY }
14960
+ size: { width: bounds63.width, height: bounds63.height },
14961
+ center: { x: bounds63.centerX, y: bounds63.centerY }
14912
14962
  });
14913
14963
 
14914
14964
  // symbols/push_button_normally_closed_momentary_vert.ts
@@ -15063,22 +15113,22 @@ var push_button_normally_open_momentary_default = {
15063
15113
  };
15064
15114
 
15065
15115
  // symbols/push_button_normally_open_momentary_horz.ts
15066
- var { paths: paths62, texts: texts72, bounds: bounds62, refblocks: refblocks62, circles: circles56 } = push_button_normally_open_momentary_default;
15116
+ var { paths: paths64, texts: texts74, bounds: bounds64, refblocks: refblocks64, circles: circles58 } = push_button_normally_open_momentary_default;
15067
15117
  var push_button_normally_open_momentary_horz_default = defineSymbol({
15068
15118
  primitives: [
15069
- ...Object.values(paths62),
15070
- ...Object.values(circles56),
15071
- { ...texts72.top1, anchor: "middle_left" },
15072
- { ...texts72.bottom1, anchor: "middle_left" }
15119
+ ...Object.values(paths64),
15120
+ ...Object.values(circles58),
15121
+ { ...texts74.top1, anchor: "middle_left" },
15122
+ { ...texts74.bottom1, anchor: "middle_left" }
15073
15123
  ],
15074
15124
  ports: [
15075
- { ...refblocks62.left1, labels: ["1"] },
15125
+ { ...refblocks64.left1, labels: ["1"] },
15076
15126
  // TODO add more "standard" labels
15077
- { ...refblocks62.right1, labels: ["2"] }
15127
+ { ...refblocks64.right1, labels: ["2"] }
15078
15128
  // TODO add more "standard" labels
15079
15129
  ],
15080
- size: { width: bounds62.width, height: bounds62.height },
15081
- center: { x: bounds62.centerX, y: bounds62.centerY }
15130
+ size: { width: bounds64.width, height: bounds64.height },
15131
+ center: { x: bounds64.centerX, y: bounds64.centerY }
15082
15132
  });
15083
15133
 
15084
15134
  // symbols/push_button_normally_open_momentary_vert.ts
@@ -15494,26 +15544,26 @@ var rectifier_diode_default = {
15494
15544
  };
15495
15545
 
15496
15546
  // symbols/rectifier_diode_horz.ts
15497
- var { paths: paths63, texts: texts73, bounds: bounds63, refblocks: refblocks63, circles: circles57 } = rectifier_diode_default;
15547
+ var { paths: paths65, texts: texts75, bounds: bounds65, refblocks: refblocks65, circles: circles59 } = rectifier_diode_default;
15498
15548
  var rectifier_diode_horz_default = defineSymbol({
15499
15549
  primitives: [
15500
- ...Object.values(paths63),
15501
- ...Object.values(circles57),
15502
- { ...texts73.top1, anchor: "middle_right" },
15503
- { ...texts73.bottom1, anchor: "middle_right" }
15550
+ ...Object.values(paths65),
15551
+ ...Object.values(circles59),
15552
+ { ...texts75.top1, anchor: "middle_right" },
15553
+ { ...texts75.bottom1, anchor: "middle_right" }
15504
15554
  ],
15505
15555
  ports: [
15506
- { ...refblocks63.top1, labels: ["1"] },
15556
+ { ...refblocks65.top1, labels: ["1"] },
15507
15557
  // TODO add more "standard" labels
15508
- { ...refblocks63.bottom1, labels: ["2"] },
15558
+ { ...refblocks65.bottom1, labels: ["2"] },
15509
15559
  // TODO add more "standard" labels
15510
- { ...refblocks63.left1, labels: ["3"] },
15560
+ { ...refblocks65.left1, labels: ["3"] },
15511
15561
  // TODO add more "standard" labels
15512
- { ...refblocks63.right1, labels: ["4"] }
15562
+ { ...refblocks65.right1, labels: ["4"] }
15513
15563
  // TODO add more "standard" labels
15514
15564
  ],
15515
- size: { width: bounds63.width, height: bounds63.height },
15516
- center: { x: bounds63.centerX, y: bounds63.centerY }
15565
+ size: { width: bounds65.width, height: bounds65.height },
15566
+ center: { x: bounds65.centerX, y: bounds65.centerY }
15517
15567
  });
15518
15568
 
15519
15569
  // symbols/rectifier_diode_vert.ts
@@ -15735,11 +15785,11 @@ var resistor_default = {
15735
15785
  };
15736
15786
 
15737
15787
  // symbols/resistor_down.ts
15738
- var { paths: paths64, texts: texts74, bounds: bounds64, refblocks: refblocks64, circles: circles58 } = resistor_default;
15788
+ var { paths: paths66, texts: texts76, bounds: bounds66, refblocks: refblocks66, circles: circles60 } = resistor_default;
15739
15789
  var resistor_down_default = modifySymbol({
15740
15790
  primitives: [
15741
- ...Object.values(paths64),
15742
- ...Object.values(circles58),
15791
+ ...Object.values(paths66),
15792
+ ...Object.values(circles60),
15743
15793
  {
15744
15794
  type: "text",
15745
15795
  text: "{REF}",
@@ -15754,21 +15804,21 @@ var resistor_down_default = modifySymbol({
15754
15804
  }
15755
15805
  ],
15756
15806
  ports: [
15757
- { ...refblocks64.left1, labels: ["1"] },
15807
+ { ...refblocks66.left1, labels: ["1"] },
15758
15808
  // TODO add more "standard" labels
15759
- { ...refblocks64.right1, labels: ["2"] }
15809
+ { ...refblocks66.right1, labels: ["2"] }
15760
15810
  // TODO add more "standard" labels
15761
15811
  ],
15762
- size: { width: bounds64.width, height: bounds64.height },
15763
- center: { x: bounds64.centerX, y: bounds64.centerY }
15812
+ size: { width: bounds66.width, height: bounds66.height },
15813
+ center: { x: bounds66.centerX, y: bounds66.centerY }
15764
15814
  }).rotateRightFacingSymbol("down").labelPort("left", ["1"]).labelPort("right", ["2"]).changeTextAnchor("{REF}", "middle_left").changeTextAnchor("{VAL}", "middle_left").build();
15765
15815
 
15766
15816
  // symbols/resistor_left.ts
15767
- var { paths: paths65, texts: texts75, bounds: bounds65, refblocks: refblocks65, circles: circles59 } = resistor_default;
15817
+ var { paths: paths67, texts: texts77, bounds: bounds67, refblocks: refblocks67, circles: circles61 } = resistor_default;
15768
15818
  var resistor_left_default = modifySymbol({
15769
15819
  primitives: [
15770
- ...Object.values(paths65),
15771
- ...Object.values(circles59),
15820
+ ...Object.values(paths67),
15821
+ ...Object.values(circles61),
15772
15822
  {
15773
15823
  type: "text",
15774
15824
  text: "{REF}",
@@ -15783,21 +15833,21 @@ var resistor_left_default = modifySymbol({
15783
15833
  }
15784
15834
  ],
15785
15835
  ports: [
15786
- { ...refblocks65.left1, labels: ["1"] },
15836
+ { ...refblocks67.left1, labels: ["1"] },
15787
15837
  // TODO add more "standard" labels
15788
- { ...refblocks65.right1, labels: ["2"] }
15838
+ { ...refblocks67.right1, labels: ["2"] }
15789
15839
  // TODO add more "standard" labels
15790
15840
  ],
15791
- size: { width: bounds65.width, height: bounds65.height },
15792
- center: { x: bounds65.centerX, y: bounds65.centerY }
15841
+ size: { width: bounds67.width, height: bounds67.height },
15842
+ center: { x: bounds67.centerX, y: bounds67.centerY }
15793
15843
  }).rotateRightFacingSymbol("left").labelPort("left", ["1"]).labelPort("right", ["2"]).changeTextAnchor("{REF}", "middle_bottom").changeTextAnchor("{VAL}", "middle_top").build();
15794
15844
 
15795
15845
  // symbols/resistor_right.ts
15796
- var { paths: paths66, texts: texts76, bounds: bounds66, refblocks: refblocks66, circles: circles60 } = resistor_default;
15846
+ var { paths: paths68, texts: texts78, bounds: bounds68, refblocks: refblocks68, circles: circles62 } = resistor_default;
15797
15847
  var resistor_right_default = modifySymbol({
15798
15848
  primitives: [
15799
- ...Object.values(paths66),
15800
- ...Object.values(circles60),
15849
+ ...Object.values(paths68),
15850
+ ...Object.values(circles62),
15801
15851
  {
15802
15852
  type: "text",
15803
15853
  text: "{REF}",
@@ -15812,21 +15862,21 @@ var resistor_right_default = modifySymbol({
15812
15862
  }
15813
15863
  ],
15814
15864
  ports: [
15815
- { ...refblocks66.left1, labels: ["1"] },
15865
+ { ...refblocks68.left1, labels: ["1"] },
15816
15866
  // TODO add more "standard" labels
15817
- { ...refblocks66.right1, labels: ["2"] }
15867
+ { ...refblocks68.right1, labels: ["2"] }
15818
15868
  // TODO add more "standard" labels
15819
15869
  ],
15820
- size: { width: bounds66.width, height: bounds66.height },
15821
- center: { x: bounds66.centerX, y: bounds66.centerY }
15870
+ size: { width: bounds68.width, height: bounds68.height },
15871
+ center: { x: bounds68.centerX, y: bounds68.centerY }
15822
15872
  }).rotateRightFacingSymbol("right").labelPort("left", ["1"]).labelPort("right", ["2"]).changeTextAnchor("{REF}", "middle_bottom").changeTextAnchor("{VAL}", "middle_top").build();
15823
15873
 
15824
15874
  // symbols/resistor_up.ts
15825
- var { paths: paths67, texts: texts77, bounds: bounds67, refblocks: refblocks67, circles: circles61 } = resistor_default;
15875
+ var { paths: paths69, texts: texts79, bounds: bounds69, refblocks: refblocks69, circles: circles63 } = resistor_default;
15826
15876
  var resistor_up_default = modifySymbol({
15827
15877
  primitives: [
15828
- ...Object.values(paths67),
15829
- ...Object.values(circles61),
15878
+ ...Object.values(paths69),
15879
+ ...Object.values(circles63),
15830
15880
  {
15831
15881
  type: "text",
15832
15882
  text: "{REF}",
@@ -15841,13 +15891,13 @@ var resistor_up_default = modifySymbol({
15841
15891
  }
15842
15892
  ],
15843
15893
  ports: [
15844
- { ...refblocks67.left1, labels: ["1"] },
15894
+ { ...refblocks69.left1, labels: ["1"] },
15845
15895
  // TODO add more "standard" labels
15846
- { ...refblocks67.right1, labels: ["2"] }
15896
+ { ...refblocks69.right1, labels: ["2"] }
15847
15897
  // TODO add more "standard" labels
15848
15898
  ],
15849
- size: { width: bounds67.width, height: bounds67.height },
15850
- center: { x: bounds67.centerX, y: bounds67.centerY }
15899
+ size: { width: bounds69.width, height: bounds69.height },
15900
+ center: { x: bounds69.centerX, y: bounds69.centerY }
15851
15901
  }).rotateRightFacingSymbol("up").labelPort("left", ["1"]).labelPort("right", ["2"]).changeTextAnchor("{REF}", "middle_left").changeTextAnchor("{VAL}", "middle_left").build();
15852
15902
 
15853
15903
  // assets/generated/resonator.json
@@ -16196,11 +16246,11 @@ var resonator_default = {
16196
16246
  };
16197
16247
 
16198
16248
  // symbols/resonator_horz.ts
16199
- var { paths: paths68, texts: texts78, bounds: bounds68, refblocks: refblocks68, circles: circles62 } = resonator_default;
16249
+ var { paths: paths70, texts: texts80, bounds: bounds70, refblocks: refblocks70, circles: circles64 } = resonator_default;
16200
16250
  var resonator_horz_default = defineSymbol({
16201
16251
  primitives: [
16202
- ...Object.values(paths68),
16203
- ...Object.values(circles62),
16252
+ ...Object.values(paths70),
16253
+ ...Object.values(circles64),
16204
16254
  // { ...texts.top1, anchor: "middle_left" },
16205
16255
  // { ...texts.bottom1, anchor: "middle_left" },
16206
16256
  {
@@ -16219,15 +16269,15 @@ var resonator_horz_default = defineSymbol({
16219
16269
  }
16220
16270
  ],
16221
16271
  ports: [
16222
- { ...refblocks68.left1, labels: ["1"] },
16272
+ { ...refblocks70.left1, labels: ["1"] },
16223
16273
  // TODO add more "standard" labels
16224
- { ...refblocks68.right1, labels: ["2"] },
16274
+ { ...refblocks70.right1, labels: ["2"] },
16225
16275
  // TODO add more "standard" labels
16226
- { ...refblocks68.right2, labels: ["3"] }
16276
+ { ...refblocks70.right2, labels: ["3"] }
16227
16277
  // TODO add more "standard" labels
16228
16278
  ],
16229
- size: { width: bounds68.width, height: bounds68.height },
16230
- center: { x: bounds68.centerX, y: bounds68.centerY }
16279
+ size: { width: bounds70.width, height: bounds70.height },
16280
+ center: { x: bounds70.centerX, y: bounds70.centerY }
16231
16281
  });
16232
16282
 
16233
16283
  // symbols/resonator_vert.ts
@@ -16619,15 +16669,15 @@ var silicon_controlled_rectifier_default = {
16619
16669
  };
16620
16670
 
16621
16671
  // symbols/silicon_controlled_rectifier_horz.ts
16622
- var { paths: paths69, texts: texts79, bounds: bounds69, refblocks: refblocks69, circles: circles63 } = silicon_controlled_rectifier_default;
16672
+ var { paths: paths71, texts: texts81, bounds: bounds71, refblocks: refblocks71, circles: circles65 } = silicon_controlled_rectifier_default;
16623
16673
  var silicon_controlled_rectifier_horz_default = modifySymbol(silicon_controlled_rectifier_default).changeTextAnchor("{VAL}", "middle_top").labelPort("left1", ["1"]).labelPort("right1", ["2"]).labelPort("bottom1", ["3"]).changeTextAnchor("{REF}", "middle_bottom").build();
16624
16674
 
16625
16675
  // symbols/silicon_controlled_rectifier_vert.ts
16626
16676
  var rotatedSymbol17 = rotateSymbol(silicon_controlled_rectifier_horz_default);
16627
- var texts80 = rotatedSymbol17.primitives.filter(
16677
+ var texts82 = rotatedSymbol17.primitives.filter(
16628
16678
  (primitive) => primitive.type === "text"
16629
16679
  );
16630
- var ref40 = texts80.find((text) => text.text === "{REF}");
16680
+ var ref40 = texts82.find((text) => text.text === "{REF}");
16631
16681
  ref40.y = 0;
16632
16682
  ref40.anchor = "middle_left";
16633
16683
  var silicon_controlled_rectifier_vert_default = rotatedSymbol17;
@@ -20187,7 +20237,7 @@ var step_recovery_diode_default = {
20187
20237
  };
20188
20238
 
20189
20239
  // symbols/step_recovery_diode_horz.ts
20190
- var { paths: paths70, texts: texts81, bounds: bounds70, refblocks: refblocks70, circles: circles64 } = step_recovery_diode_default;
20240
+ var { paths: paths72, texts: texts83, bounds: bounds72, refblocks: refblocks72, circles: circles66 } = step_recovery_diode_default;
20191
20241
  var step_recovery_diode_horz_default = modifySymbol(step_recovery_diode_default).changeTextAnchor("{VAL}", "middle_top").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_bottom").build();
20192
20242
 
20193
20243
  // symbols/step_recovery_diode_vert.ts
@@ -20280,11 +20330,11 @@ var tachometer_default = {
20280
20330
  };
20281
20331
 
20282
20332
  // symbols/tachometer_horz.ts
20283
- var { paths: paths71, texts: texts82, bounds: bounds71, refblocks: refblocks71, circles: circles65 } = tachometer_default;
20333
+ var { paths: paths73, texts: texts84, bounds: bounds73, refblocks: refblocks73, circles: circles67 } = tachometer_default;
20284
20334
  var tachometer_horz_default = defineSymbol({
20285
20335
  primitives: [
20286
- ...Object.values(paths71),
20287
- ...Object.values(circles65),
20336
+ ...Object.values(paths73),
20337
+ ...Object.values(circles67),
20288
20338
  {
20289
20339
  type: "text",
20290
20340
  text: "{REF}",
@@ -20299,16 +20349,16 @@ var tachometer_horz_default = defineSymbol({
20299
20349
  y: 0.35,
20300
20350
  anchor: "middle_bottom"
20301
20351
  },
20302
- { ...texts82.left1, y: 0.01, anchor: "center", fontSize: 0.2 }
20352
+ { ...texts84.left1, y: 0.01, anchor: "center", fontSize: 0.2 }
20303
20353
  ],
20304
20354
  ports: [
20305
- { ...refblocks71.left1, labels: ["1"] },
20355
+ { ...refblocks73.left1, labels: ["1"] },
20306
20356
  // TODO add more "standard" labels
20307
- { ...refblocks71.right1, labels: ["2"] }
20357
+ { ...refblocks73.right1, labels: ["2"] }
20308
20358
  // TODO add more "standard" labels
20309
20359
  ],
20310
- size: { width: bounds71.width, height: bounds71.height },
20311
- center: { x: bounds71.centerX, y: bounds71.centerY }
20360
+ size: { width: bounds73.width, height: bounds73.height },
20361
+ center: { x: bounds73.centerX, y: bounds73.centerY }
20312
20362
  });
20313
20363
 
20314
20364
  // symbols/tachometer_vert.ts
@@ -20730,16 +20780,16 @@ var triac_default = {
20730
20780
  };
20731
20781
 
20732
20782
  // symbols/triac_horz.ts
20733
- var { paths: paths72, texts: texts83, bounds: bounds72, refblocks: refblocks72, circles: circles66 } = triac_default;
20783
+ var { paths: paths74, texts: texts85, bounds: bounds74, refblocks: refblocks74, circles: circles68 } = triac_default;
20734
20784
  var triac_horz_default = modifySymbol(triac_default).changeTextAnchor("{VAL}", "middle_top").labelPort("left1", ["1"]).labelPort("right1", ["2"]).labelPort("bottom1", ["3"]).changeTextAnchor("{REF}", "middle_bottom").build();
20735
20785
 
20736
20786
  // symbols/triac_vert.ts
20737
20787
  var rotatedSymbol19 = rotateSymbol(triac_horz_default);
20738
- var texts84 = rotatedSymbol19.primitives.filter(
20788
+ var texts86 = rotatedSymbol19.primitives.filter(
20739
20789
  (primitive) => primitive.type === "text"
20740
20790
  );
20741
- var ref58 = texts84.find((text) => text.text === "{REF}");
20742
- var val53 = texts84.find((text) => text.text === "{VAL}");
20791
+ var ref58 = texts86.find((text) => text.text === "{REF}");
20792
+ var val53 = texts86.find((text) => text.text === "{VAL}");
20743
20793
  ref58.y = 0;
20744
20794
  val53.y = 0;
20745
20795
  var triac_vert_default = rotatedSymbol19;
@@ -20906,22 +20956,22 @@ var tunnel_diode_default = {
20906
20956
  };
20907
20957
 
20908
20958
  // symbols/tunnel_diode_horz.ts
20909
- var { paths: paths73, texts: texts85, bounds: bounds73, refblocks: refblocks73, circles: circles67 } = tunnel_diode_default;
20959
+ var { paths: paths75, texts: texts87, bounds: bounds75, refblocks: refblocks75, circles: circles69 } = tunnel_diode_default;
20910
20960
  var tunnel_diode_horz_default = defineSymbol({
20911
20961
  primitives: [
20912
- ...Object.values(paths73),
20913
- ...Object.values(circles67),
20914
- { ...texts85.top1, anchor: "middle_bottom" },
20915
- { ...texts85.bottom1, anchor: "middle_top" }
20962
+ ...Object.values(paths75),
20963
+ ...Object.values(circles69),
20964
+ { ...texts87.top1, anchor: "middle_bottom" },
20965
+ { ...texts87.bottom1, anchor: "middle_top" }
20916
20966
  ],
20917
20967
  ports: [
20918
- { ...refblocks73.left1, labels: ["1"] },
20968
+ { ...refblocks75.left1, labels: ["1"] },
20919
20969
  // TODO add more "standard" labels
20920
- { ...refblocks73.right1, labels: ["2"] }
20970
+ { ...refblocks75.right1, labels: ["2"] }
20921
20971
  // TODO add more "standard" labels
20922
20972
  ],
20923
- size: { width: bounds73.width, height: bounds73.height },
20924
- center: { x: bounds73.centerX, y: bounds73.centerY }
20973
+ size: { width: bounds75.width, height: bounds75.height },
20974
+ center: { x: bounds75.centerX, y: bounds75.centerY }
20925
20975
  });
20926
20976
 
20927
20977
  // symbols/tunnel_diode_vert.ts
@@ -21104,34 +21154,34 @@ var unijunction_transistor_default = {
21104
21154
  };
21105
21155
 
21106
21156
  // symbols/unijunction_transistor_horz.ts
21107
- var { paths: paths74, texts: texts86, bounds: bounds74, refblocks: refblocks74, circles: circles68 } = unijunction_transistor_default;
21157
+ var { paths: paths76, texts: texts88, bounds: bounds76, refblocks: refblocks76, circles: circles70 } = unijunction_transistor_default;
21108
21158
  var unijunction_transistor_horz_default = defineSymbol({
21109
21159
  primitives: [
21110
- ...Object.values(paths74),
21111
- ...Object.values(circles68),
21112
- { ...texts86.top1, anchor: "middle_left" },
21113
- { ...texts86.bottom1, anchor: "middle_right" }
21160
+ ...Object.values(paths76),
21161
+ ...Object.values(circles70),
21162
+ { ...texts88.top1, anchor: "middle_left" },
21163
+ { ...texts88.bottom1, anchor: "middle_right" }
21114
21164
  ],
21115
21165
  ports: [
21116
- { ...refblocks74.top1, labels: ["1"] },
21166
+ { ...refblocks76.top1, labels: ["1"] },
21117
21167
  // TODO add more "standard" labels
21118
- { ...refblocks74.bottom1, labels: ["2"] },
21168
+ { ...refblocks76.bottom1, labels: ["2"] },
21119
21169
  // TODO add more "standard" labels
21120
- { ...refblocks74.left1, labels: ["3"] }
21170
+ { ...refblocks76.left1, labels: ["3"] }
21121
21171
  // TODO add more "standard" labels
21122
21172
  ],
21123
- size: { width: bounds74.width, height: bounds74.height },
21124
- center: { x: bounds74.centerX, y: bounds74.centerY }
21173
+ size: { width: bounds76.width, height: bounds76.height },
21174
+ center: { x: bounds76.centerX, y: bounds76.centerY }
21125
21175
  });
21126
21176
 
21127
21177
  // symbols/unijunction_transistor_vert.ts
21128
21178
  var rotatedSymbol20 = rotateSymbol(unijunction_transistor_horz_default);
21129
- var texts87 = rotatedSymbol20.primitives.filter(
21179
+ var texts89 = rotatedSymbol20.primitives.filter(
21130
21180
  (primitive) => primitive.type === "text"
21131
21181
  );
21132
- var ref60 = texts87.find((text) => text.text === "{REF}");
21182
+ var ref60 = texts89.find((text) => text.text === "{REF}");
21133
21183
  ref60.y = 0.1;
21134
- var val55 = texts87.find((text) => text.text === "{VAL}");
21184
+ var val55 = texts89.find((text) => text.text === "{VAL}");
21135
21185
  val55.y = 0.1;
21136
21186
  val55.x = -0.4;
21137
21187
  var unijunction_transistor_vert_default = rotatedSymbol20;
@@ -21223,33 +21273,33 @@ var var_meter_default = {
21223
21273
  };
21224
21274
 
21225
21275
  // symbols/var_meter_horz.ts
21226
- var { paths: paths75, texts: texts88, bounds: bounds75, refblocks: refblocks75, circles: circles69 } = var_meter_default;
21276
+ var { paths: paths77, texts: texts90, bounds: bounds77, refblocks: refblocks77, circles: circles71 } = var_meter_default;
21227
21277
  var var_meter_horz_default = defineSymbol({
21228
21278
  primitives: [
21229
- ...Object.values(paths75),
21230
- ...Object.values(circles69),
21279
+ ...Object.values(paths77),
21280
+ ...Object.values(circles71),
21231
21281
  {
21232
- ...texts88.top1,
21282
+ ...texts90.top1,
21233
21283
  x: 0,
21234
21284
  y: -0.3594553499999995,
21235
21285
  anchor: "middle_top"
21236
21286
  },
21237
21287
  {
21238
- ...texts88.bottom1,
21288
+ ...texts90.bottom1,
21239
21289
  x: 0,
21240
21290
  y: 0.35,
21241
21291
  anchor: "middle_bottom"
21242
21292
  },
21243
- { ...texts88.left1, x: -0.02, y: 0.01, fontSize: 0.2, anchor: "center" }
21293
+ { ...texts90.left1, x: -0.02, y: 0.01, fontSize: 0.2, anchor: "center" }
21244
21294
  ],
21245
21295
  ports: [
21246
- { ...refblocks75.left1, labels: ["1"] },
21296
+ { ...refblocks77.left1, labels: ["1"] },
21247
21297
  // TODO add more "standard" labels
21248
- { ...refblocks75.right1, labels: ["2"] }
21298
+ { ...refblocks77.right1, labels: ["2"] }
21249
21299
  // TODO add more "standard" labels
21250
21300
  ],
21251
- size: { width: bounds75.width, height: bounds75.height },
21252
- center: { x: bounds75.centerX, y: bounds75.centerY }
21301
+ size: { width: bounds77.width, height: bounds77.height },
21302
+ center: { x: bounds77.centerX, y: bounds77.centerY }
21253
21303
  });
21254
21304
 
21255
21305
  // symbols/var_meter_vert.ts
@@ -21402,22 +21452,22 @@ var varactor_diode_default = {
21402
21452
  };
21403
21453
 
21404
21454
  // symbols/varactor_diode_horz.ts
21405
- var { paths: paths76, texts: texts89, bounds: bounds76, refblocks: refblocks76, circles: circles70 } = varactor_diode_default;
21455
+ var { paths: paths78, texts: texts91, bounds: bounds78, refblocks: refblocks78, circles: circles72 } = varactor_diode_default;
21406
21456
  var varactor_diode_horz_default = defineSymbol({
21407
21457
  primitives: [
21408
- ...Object.values(paths76),
21409
- ...Object.values(circles70),
21410
- { ...texts89.top1, anchor: "middle_bottom" },
21411
- { ...texts89.bottom1, anchor: "middle_top" }
21458
+ ...Object.values(paths78),
21459
+ ...Object.values(circles72),
21460
+ { ...texts91.top1, anchor: "middle_bottom" },
21461
+ { ...texts91.bottom1, anchor: "middle_top" }
21412
21462
  ],
21413
21463
  ports: [
21414
- { ...refblocks76.left1, labels: ["1"] },
21464
+ { ...refblocks78.left1, labels: ["1"] },
21415
21465
  // TODO add more "standard" labels
21416
- { ...refblocks76.right1, labels: ["2"] }
21466
+ { ...refblocks78.right1, labels: ["2"] }
21417
21467
  // TODO add more "standard" labels
21418
21468
  ],
21419
- size: { width: bounds76.width, height: bounds76.height },
21420
- center: { x: bounds76.centerX, y: bounds76.centerY }
21469
+ size: { width: bounds78.width, height: bounds78.height },
21470
+ center: { x: bounds78.centerX, y: bounds78.centerY }
21421
21471
  });
21422
21472
 
21423
21473
  // symbols/varactor_diode_vert.ts
@@ -21565,26 +21615,26 @@ var varistor_default = {
21565
21615
  };
21566
21616
 
21567
21617
  // symbols/varistor_horz.ts
21568
- var { paths: paths77, texts: texts90, bounds: bounds77, refblocks: refblocks77 } = varistor_default;
21618
+ var { paths: paths79, texts: texts92, bounds: bounds79, refblocks: refblocks79 } = varistor_default;
21569
21619
  var varistor_horz_default = defineSymbol({
21570
21620
  primitives: [
21571
- ...Object.values(paths77),
21572
- { ...texts90.top1, anchor: "middle_left" },
21573
- { ...texts90.bottom1, anchor: "middle_right" }
21621
+ ...Object.values(paths79),
21622
+ { ...texts92.top1, anchor: "middle_left" },
21623
+ { ...texts92.bottom1, anchor: "middle_right" }
21574
21624
  ],
21575
21625
  ports: [
21576
21626
  {
21577
- ...refblocks77.left1,
21627
+ ...refblocks79.left1,
21578
21628
  labels: ["1", "-"]
21579
21629
  },
21580
21630
  {
21581
- ...refblocks77.right1,
21631
+ ...refblocks79.right1,
21582
21632
  labels: ["2", "+"]
21583
21633
  }
21584
21634
  ],
21585
- size: { width: bounds77.width, height: bounds77.height },
21635
+ size: { width: bounds79.width, height: bounds79.height },
21586
21636
  //{ width: 1, height: 0.24 },
21587
- center: { x: bounds77.centerX, y: bounds77.centerY }
21637
+ center: { x: bounds79.centerX, y: bounds79.centerY }
21588
21638
  });
21589
21639
 
21590
21640
  // symbols/varistor_vert.ts
@@ -21677,11 +21727,11 @@ var varmeter_default = {
21677
21727
  };
21678
21728
 
21679
21729
  // symbols/varmeter_horz.ts
21680
- var { paths: paths78, texts: texts91, bounds: bounds78, refblocks: refblocks78, circles: circles71 } = varmeter_default;
21730
+ var { paths: paths80, texts: texts93, bounds: bounds80, refblocks: refblocks80, circles: circles73 } = varmeter_default;
21681
21731
  var varmeter_horz_default = defineSymbol({
21682
21732
  primitives: [
21683
- ...Object.values(paths78),
21684
- ...Object.values(circles71),
21733
+ ...Object.values(paths80),
21734
+ ...Object.values(circles73),
21685
21735
  {
21686
21736
  type: "text",
21687
21737
  text: "{REF}",
@@ -21696,16 +21746,16 @@ var varmeter_horz_default = defineSymbol({
21696
21746
  y: 0.35,
21697
21747
  anchor: "middle_bottom"
21698
21748
  },
21699
- { ...texts91.left1, anchor: "center", y: 0.02, fontSize: 0.2 }
21749
+ { ...texts93.left1, anchor: "center", y: 0.02, fontSize: 0.2 }
21700
21750
  ],
21701
21751
  ports: [
21702
- { ...refblocks78.left1, labels: ["1"] },
21752
+ { ...refblocks80.left1, labels: ["1"] },
21703
21753
  // TODO add more "standard" labels
21704
- { ...refblocks78.right1, labels: ["2"] }
21754
+ { ...refblocks80.right1, labels: ["2"] }
21705
21755
  // TODO add more "standard" labels
21706
21756
  ],
21707
- size: { width: bounds78.width, height: bounds78.height },
21708
- center: { x: bounds78.centerX, y: bounds78.centerY }
21757
+ size: { width: bounds80.width, height: bounds80.height },
21758
+ center: { x: bounds80.centerX, y: bounds80.centerY }
21709
21759
  });
21710
21760
 
21711
21761
  // symbols/varmeter_vert.ts
@@ -21910,7 +21960,7 @@ var volt_meter_default = {
21910
21960
  };
21911
21961
 
21912
21962
  // symbols/volt_meter_horz.ts
21913
- var { paths: paths79, texts: texts92, bounds: bounds79, circles: circles72, refblocks: refblocks79 } = volt_meter_default;
21963
+ var { paths: paths81, texts: texts94, bounds: bounds81, circles: circles74, refblocks: refblocks81 } = volt_meter_default;
21914
21964
  var volt_meter_horz_default = modifySymbol(volt_meter_default).changeTextAnchor("{VAL}", "middle_top").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_bottom").build();
21915
21965
 
21916
21966
  // symbols/volt_meter_vert.ts
@@ -22003,11 +22053,11 @@ var watt_hour_meter_default = {
22003
22053
  };
22004
22054
 
22005
22055
  // symbols/watt_hour_meter_horz.ts
22006
- var { paths: paths80, texts: texts93, bounds: bounds80, refblocks: refblocks80, circles: circles73 } = watt_hour_meter_default;
22056
+ var { paths: paths82, texts: texts95, bounds: bounds82, refblocks: refblocks82, circles: circles75 } = watt_hour_meter_default;
22007
22057
  var watt_hour_meter_horz_default = defineSymbol({
22008
22058
  primitives: [
22009
- ...Object.values(paths80),
22010
- ...Object.values(circles73),
22059
+ ...Object.values(paths82),
22060
+ ...Object.values(circles75),
22011
22061
  {
22012
22062
  type: "text",
22013
22063
  text: "{REF}",
@@ -22022,16 +22072,16 @@ var watt_hour_meter_horz_default = defineSymbol({
22022
22072
  y: 0.35,
22023
22073
  anchor: "middle_bottom"
22024
22074
  },
22025
- { ...texts93.left1, anchor: "center", y: 0.01, fontSize: 0.2 }
22075
+ { ...texts95.left1, anchor: "center", y: 0.01, fontSize: 0.2 }
22026
22076
  ],
22027
22077
  ports: [
22028
- { ...refblocks80.left1, labels: ["1"] },
22078
+ { ...refblocks82.left1, labels: ["1"] },
22029
22079
  // TODO add more "standard" labels
22030
- { ...refblocks80.right1, labels: ["2"] }
22080
+ { ...refblocks82.right1, labels: ["2"] }
22031
22081
  // TODO add more "standard" labels
22032
22082
  ],
22033
- size: { width: bounds80.width, height: bounds80.height },
22034
- center: { x: bounds80.centerX, y: bounds80.centerY }
22083
+ size: { width: bounds82.width, height: bounds82.height },
22084
+ center: { x: bounds82.centerX, y: bounds82.centerY }
22035
22085
  });
22036
22086
 
22037
22087
  // symbols/watt_hour_meter_vert.ts
@@ -22135,11 +22185,11 @@ var wattmeter_default = {
22135
22185
  };
22136
22186
 
22137
22187
  // symbols/wattmeter_horz.ts
22138
- var { paths: paths81, texts: texts94, bounds: bounds81, refblocks: refblocks81, circles: circles74 } = wattmeter_default;
22188
+ var { paths: paths83, texts: texts96, bounds: bounds83, refblocks: refblocks83, circles: circles76 } = wattmeter_default;
22139
22189
  var wattmeter_horz_default = defineSymbol({
22140
22190
  primitives: [
22141
- ...Object.values(paths81),
22142
- ...Object.values(circles74),
22191
+ ...Object.values(paths83),
22192
+ ...Object.values(circles76),
22143
22193
  {
22144
22194
  type: "text",
22145
22195
  text: "{REF}",
@@ -22154,16 +22204,16 @@ var wattmeter_horz_default = defineSymbol({
22154
22204
  y: 0.35,
22155
22205
  anchor: "middle_bottom"
22156
22206
  },
22157
- { ...texts94.left1, anchor: "center", y: 0.01, fontSize: 0.3 }
22207
+ { ...texts96.left1, anchor: "center", y: 0.01, fontSize: 0.3 }
22158
22208
  ],
22159
22209
  ports: [
22160
- { ...refblocks81.left1, labels: ["1"] },
22210
+ { ...refblocks83.left1, labels: ["1"] },
22161
22211
  // TODO add more "standard" labels
22162
- { ...refblocks81.right1, labels: ["2"] }
22212
+ { ...refblocks83.right1, labels: ["2"] }
22163
22213
  // TODO add more "standard" labels
22164
22214
  ],
22165
- size: { width: bounds81.width, height: bounds81.height },
22166
- center: { x: bounds81.centerX, y: bounds81.centerY }
22215
+ size: { width: bounds83.width, height: bounds83.height },
22216
+ center: { x: bounds83.centerX, y: bounds83.centerY }
22167
22217
  });
22168
22218
 
22169
22219
  // symbols/wattmeter_vert.ts
@@ -22327,22 +22377,22 @@ var zener_diode_default = {
22327
22377
  };
22328
22378
 
22329
22379
  // symbols/zener_diode_horz.ts
22330
- var { paths: paths82, texts: texts95, bounds: bounds82, refblocks: refblocks82, circles: circles75 } = zener_diode_default;
22380
+ var { paths: paths84, texts: texts97, bounds: bounds84, refblocks: refblocks84, circles: circles77 } = zener_diode_default;
22331
22381
  var zener_diode_horz_default = defineSymbol({
22332
22382
  primitives: [
22333
- ...Object.values(paths82),
22334
- ...Object.values(circles75),
22335
- { ...texts95.top1, anchor: "middle_bottom" },
22336
- { ...texts95.bottom1, anchor: "middle_top" }
22383
+ ...Object.values(paths84),
22384
+ ...Object.values(circles77),
22385
+ { ...texts97.top1, anchor: "middle_bottom" },
22386
+ { ...texts97.bottom1, anchor: "middle_top" }
22337
22387
  ],
22338
22388
  ports: [
22339
- { ...refblocks82.left1, labels: ["1"] },
22389
+ { ...refblocks84.left1, labels: ["1"] },
22340
22390
  // TODO add more "standard" labels
22341
- { ...refblocks82.right1, labels: ["2"] }
22391
+ { ...refblocks84.right1, labels: ["2"] }
22342
22392
  // TODO add more "standard" labels
22343
22393
  ],
22344
- size: { width: bounds82.width, height: bounds82.height },
22345
- center: { x: bounds82.centerX, y: bounds82.centerY }
22394
+ size: { width: bounds84.width, height: bounds84.height },
22395
+ center: { x: bounds84.centerX, y: bounds84.centerY }
22346
22396
  });
22347
22397
 
22348
22398
  // symbols/zener_diode_vert.ts