schematic-symbols 0.0.161 → 0.0.162

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 bounds68 = getBoundsOfPrimitives(symbol8.primitives);
47
+ const bounds70 = getBoundsOfPrimitives(symbol8.primitives);
48
48
  size = {
49
- width: bounds68.maxX - bounds68.minX,
50
- height: bounds68.maxY - bounds68.minY
49
+ width: bounds70.maxX - bounds70.minX,
50
+ height: bounds70.maxY - bounds70.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 bounds68 = getBoundsOfPrimitives(rotatedPrimitives);
497
+ const bounds70 = getBoundsOfPrimitives(rotatedPrimitives);
498
498
  return {
499
499
  primitives: rotatedPrimitives,
500
500
  center,
501
501
  ports: rotatedPorts,
502
502
  size: {
503
- width: bounds68.maxX - bounds68.minX,
504
- height: bounds68.maxY - bounds68.minY
503
+ width: bounds70.maxX - bounds70.minX,
504
+ height: bounds70.maxY - bounds70.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 bounds68 = getBoundsOfPrimitives(this.symbol.primitives);
905
+ const bounds70 = getBoundsOfPrimitives(this.symbol.primitives);
906
906
  return {
907
- width: bounds68.maxX - bounds68.minX,
908
- height: bounds68.maxY - bounds68.minY
907
+ width: bounds70.maxX - bounds70.minX,
908
+ height: bounds70.maxY - bounds70.minY
909
909
  };
910
910
  }
911
911
  build() {
@@ -4175,13 +4175,13 @@ var crystal_default = {
4175
4175
  texts: {
4176
4176
  top1: {
4177
4177
  type: "text",
4178
- text: "{REF}",
4178
+ text: "{VAL}",
4179
4179
  x: -0.012864500000000056,
4180
4180
  y: -0.4150086999999978
4181
4181
  },
4182
4182
  bottom1: {
4183
4183
  type: "text",
4184
- text: "{VAL}",
4184
+ text: "{REF}",
4185
4185
  x: -0.003850500000000423,
4186
4186
  y: 0.4250087000000011
4187
4187
  }
@@ -4209,11 +4209,69 @@ var crystal_default = {
4209
4209
  circles: {}
4210
4210
  };
4211
4211
 
4212
- // symbols/crystal_horz.ts
4213
- var crystal_horz_default = modifySymbol(crystal_default).changeTextAnchor("{VAL}", "middle_bottom").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_top").build();
4212
+ // symbols/crystal_down.ts
4213
+ var { paths: paths21, texts: texts20, bounds: bounds21, refblocks: refblocks21, circles: circles21 } = crystal_default;
4214
+ var crystal_down_default = modifySymbol({
4215
+ primitives: [
4216
+ ...Object.values(paths21),
4217
+ ...Object.values(circles21),
4218
+ {
4219
+ type: "text",
4220
+ text: "{REF}",
4221
+ x: -0.3,
4222
+ y: 0.3094553499999995
4223
+ },
4224
+ {
4225
+ type: "text",
4226
+ text: "{VAL}",
4227
+ x: 0.3,
4228
+ y: 0.3094553499999995
4229
+ }
4230
+ ],
4231
+ ports: [
4232
+ { ...refblocks21.left1, labels: ["1"] },
4233
+ // TODO add more "standard" labels
4234
+ { ...refblocks21.right1, labels: ["2"] }
4235
+ // TODO add more "standard" labels
4236
+ ],
4237
+ size: { width: bounds21.width, height: bounds21.height },
4238
+ center: { x: bounds21.centerX, y: bounds21.centerY }
4239
+ }).changeTextAnchor("{VAL}", "top_left").rotateRightFacingSymbol("down").labelPort("left1", ["1", "pos"]).labelPort("right1", ["2", "neg"]).changeTextAnchor("{REF}", "bottom_left").build();
4240
+
4241
+ // symbols/crystal_left.ts
4242
+ var crystal_left_default = modifySymbol(crystal_default).changeTextAnchor("{VAL}", "middle_top").rotateRightFacingSymbol("right").labelPort("left1", ["2", "neg"]).labelPort("right1", ["1", "pos"]).changeTextAnchor("{REF}", "middle_bottom").build();
4214
4243
 
4215
- // symbols/crystal_vert.ts
4216
- var crystal_vert_default = modifySymbol(crystal_default).rotateRightFacingSymbol("down").changeTextAnchor("{VAL}", "middle_left").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_right").build();
4244
+ // symbols/crystal_right.ts
4245
+ var crystal_right_default = modifySymbol(crystal_default).changeTextAnchor("{VAL}", "middle_top").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_bottom").build();
4246
+
4247
+ // symbols/crystal_up.ts
4248
+ var { paths: paths22, texts: texts21, bounds: bounds22, refblocks: refblocks22, circles: circles22 } = crystal_default;
4249
+ var crystal_up_default = modifySymbol({
4250
+ primitives: [
4251
+ ...Object.values(paths22),
4252
+ ...Object.values(circles22),
4253
+ {
4254
+ type: "text",
4255
+ text: "{REF}",
4256
+ x: 0.3,
4257
+ y: -0.3094553499999995
4258
+ },
4259
+ {
4260
+ type: "text",
4261
+ text: "{VAL}",
4262
+ x: -0.3,
4263
+ y: -0.3094553499999995
4264
+ }
4265
+ ],
4266
+ ports: [
4267
+ { ...refblocks22.left1, labels: ["1"] },
4268
+ // TODO add more "standard" labels
4269
+ { ...refblocks22.right1, labels: ["2"] }
4270
+ // TODO add more "standard" labels
4271
+ ],
4272
+ size: { width: bounds22.width, height: bounds22.height },
4273
+ center: { x: bounds22.centerX, y: bounds22.centerY }
4274
+ }).changeTextAnchor("{VAL}", "middle_top").rotateRightFacingSymbol("up").labelPort("left1", ["1", "pos"]).labelPort("right1", ["2", "neg"]).changeTextAnchor("{REF}", "bottom_left").build();
4217
4275
 
4218
4276
  // assets/generated/darlington_pair_transistor.json
4219
4277
  var darlington_pair_transistor_default = {
@@ -4589,11 +4647,11 @@ var dc_ammeter_default = {
4589
4647
  };
4590
4648
 
4591
4649
  // symbols/dc_ammeter_horz.ts
4592
- var { paths: paths21, texts: texts20, bounds: bounds21, refblocks: refblocks21, circles: circles21 } = dc_ammeter_default;
4650
+ var { paths: paths23, texts: texts22, bounds: bounds23, refblocks: refblocks23, circles: circles23 } = dc_ammeter_default;
4593
4651
  var dc_ammeter_horz_default = defineSymbol({
4594
4652
  primitives: [
4595
- ...Object.values(paths21),
4596
- ...Object.values(circles21),
4653
+ ...Object.values(paths23),
4654
+ ...Object.values(circles23),
4597
4655
  {
4598
4656
  type: "text",
4599
4657
  text: "{REF}",
@@ -4608,16 +4666,16 @@ var dc_ammeter_horz_default = defineSymbol({
4608
4666
  y: 0.35,
4609
4667
  anchor: "middle_bottom"
4610
4668
  },
4611
- { ...texts20.left1, x: 0, y: 0.01, anchor: "center", fontSize: 0.3 }
4669
+ { ...texts22.left1, x: 0, y: 0.01, anchor: "center", fontSize: 0.3 }
4612
4670
  ],
4613
4671
  ports: [
4614
- { ...refblocks21.left1, labels: ["1"] },
4672
+ { ...refblocks23.left1, labels: ["1"] },
4615
4673
  // TODO add more "standard" labels
4616
- { ...refblocks21.right1, labels: ["2"] }
4674
+ { ...refblocks23.right1, labels: ["2"] }
4617
4675
  // TODO add more "standard" labels
4618
4676
  ],
4619
- size: { width: bounds21.width, height: bounds21.height },
4620
- center: { x: bounds21.centerX, y: bounds21.centerY }
4677
+ size: { width: bounds23.width, height: bounds23.height },
4678
+ center: { x: bounds23.centerX, y: bounds23.centerY }
4621
4679
  });
4622
4680
 
4623
4681
  // symbols/dc_ammeter_vert.ts
@@ -4763,11 +4821,11 @@ var dc_voltmeter_default = {
4763
4821
  };
4764
4822
 
4765
4823
  // symbols/dc_voltmeter_horz.ts
4766
- var { paths: paths22, texts: texts21, bounds: bounds22, refblocks: refblocks22, circles: circles22 } = dc_voltmeter_default;
4824
+ var { paths: paths24, texts: texts23, bounds: bounds24, refblocks: refblocks24, circles: circles24 } = dc_voltmeter_default;
4767
4825
  var dc_voltmeter_horz_default = defineSymbol({
4768
4826
  primitives: [
4769
- ...Object.values(paths22),
4770
- ...Object.values(circles22),
4827
+ ...Object.values(paths24),
4828
+ ...Object.values(circles24),
4771
4829
  {
4772
4830
  type: "text",
4773
4831
  text: "{REF}",
@@ -4784,13 +4842,13 @@ var dc_voltmeter_horz_default = defineSymbol({
4784
4842
  }
4785
4843
  ],
4786
4844
  ports: [
4787
- { ...refblocks22.left1, labels: ["1"] },
4845
+ { ...refblocks24.left1, labels: ["1"] },
4788
4846
  // TODO add more "standard" labels
4789
- { ...refblocks22.right1, labels: ["2"] }
4847
+ { ...refblocks24.right1, labels: ["2"] }
4790
4848
  // TODO add more "standard" labels
4791
4849
  ],
4792
- size: { width: bounds22.width, height: bounds22.height },
4793
- center: { x: bounds22.centerX, y: bounds22.centerY }
4850
+ size: { width: bounds24.width, height: bounds24.height },
4851
+ center: { x: bounds24.centerX, y: bounds24.centerY }
4794
4852
  });
4795
4853
 
4796
4854
  // symbols/dc_voltmeter_vert.ts
@@ -4968,11 +5026,11 @@ var diac_horz_default = modifySymbol(diac_default).changeTextAnchor("{VAL}", "mi
4968
5026
 
4969
5027
  // symbols/diac_vert.ts
4970
5028
  var rotatedSymbol4 = rotateSymbol(diac_horz_default);
4971
- var texts22 = rotatedSymbol4.primitives.filter(
5029
+ var texts24 = rotatedSymbol4.primitives.filter(
4972
5030
  (primitive) => primitive.type === "text"
4973
5031
  );
4974
- var ref2 = texts22.find((text) => text.text === "{REF}");
4975
- var val2 = texts22.find((text) => text.text === "{VAL}");
5032
+ var ref2 = texts24.find((text) => text.text === "{REF}");
5033
+ var val2 = texts24.find((text) => text.text === "{VAL}");
4976
5034
  ref2.y = 0;
4977
5035
  val2.y = 0;
4978
5036
  var diac_vert_default = rotatedSymbol4;
@@ -6249,11 +6307,11 @@ var ferrite_bead_default = {
6249
6307
  };
6250
6308
 
6251
6309
  // symbols/ferrite_bead_up.ts
6252
- var { paths: paths23, texts: texts23, bounds: bounds23, refblocks: refblocks23, circles: circles23 } = ferrite_bead_default;
6310
+ var { paths: paths25, texts: texts25, bounds: bounds25, refblocks: refblocks25, circles: circles25 } = ferrite_bead_default;
6253
6311
  var ferrite_bead_up_default = modifySymbol({
6254
6312
  primitives: [
6255
- ...Object.values(paths23),
6256
- ...Object.values(circles23),
6313
+ ...Object.values(paths25),
6314
+ ...Object.values(circles25),
6257
6315
  {
6258
6316
  type: "text",
6259
6317
  text: "{REF}",
@@ -6268,13 +6326,13 @@ var ferrite_bead_up_default = modifySymbol({
6268
6326
  }
6269
6327
  ],
6270
6328
  ports: [
6271
- { ...refblocks23.left1, labels: ["1"] },
6329
+ { ...refblocks25.left1, labels: ["1"] },
6272
6330
  // TODO add more "standard" labels
6273
- { ...refblocks23.right1, labels: ["2"] }
6331
+ { ...refblocks25.right1, labels: ["2"] }
6274
6332
  // TODO add more "standard" labels
6275
6333
  ],
6276
- size: { width: bounds23.width, height: bounds23.height },
6277
- center: { x: bounds23.centerX, y: bounds23.centerY }
6334
+ size: { width: bounds25.width, height: bounds25.height },
6335
+ center: { x: bounds25.centerX, y: bounds25.centerY }
6278
6336
  }).rotateRightFacingSymbol("up").labelPort("left", ["1"]).labelPort("right", ["2"]).changeTextAnchor("{REF}", "middle_left").changeTextAnchor("{VAL}", "middle_left").build();
6279
6337
 
6280
6338
  // symbols/ferrite_bead_down.ts
@@ -6507,11 +6565,11 @@ var frequency_meter_default = {
6507
6565
  };
6508
6566
 
6509
6567
  // symbols/frequency_meter_horz.ts
6510
- var { paths: paths24, texts: texts24, bounds: bounds24, refblocks: refblocks24, circles: circles24 } = frequency_meter_default;
6568
+ var { paths: paths26, texts: texts26, bounds: bounds26, refblocks: refblocks26, circles: circles26 } = frequency_meter_default;
6511
6569
  var frequency_meter_horz_default = defineSymbol({
6512
6570
  primitives: [
6513
- ...Object.values(paths24),
6514
- ...Object.values(circles24),
6571
+ ...Object.values(paths26),
6572
+ ...Object.values(circles26),
6515
6573
  {
6516
6574
  type: "text",
6517
6575
  text: "{REF}",
@@ -6526,16 +6584,16 @@ var frequency_meter_horz_default = defineSymbol({
6526
6584
  y: 0.35,
6527
6585
  anchor: "middle_bottom"
6528
6586
  },
6529
- { ...texts24.left1, x: 0, y: 0.01, anchor: "center", fontSize: 0.2 }
6587
+ { ...texts26.left1, x: 0, y: 0.01, anchor: "center", fontSize: 0.2 }
6530
6588
  ],
6531
6589
  ports: [
6532
- { ...refblocks24.left1, labels: ["1"] },
6590
+ { ...refblocks26.left1, labels: ["1"] },
6533
6591
  // TODO add more "standard" labels
6534
- { ...refblocks24.right1, labels: ["2"] }
6592
+ { ...refblocks26.right1, labels: ["2"] }
6535
6593
  // TODO add more "standard" labels
6536
6594
  ],
6537
- size: { width: bounds24.width, height: bounds24.height },
6538
- center: { x: bounds24.centerX, y: bounds24.centerY }
6595
+ size: { width: bounds26.width, height: bounds26.height },
6596
+ center: { x: bounds26.centerX, y: bounds26.centerY }
6539
6597
  });
6540
6598
 
6541
6599
  // symbols/frequency_meter_vert.ts
@@ -6640,11 +6698,11 @@ var fuse_default = {
6640
6698
  };
6641
6699
 
6642
6700
  // symbols/fuse_horz.ts
6643
- var { paths: paths25, texts: texts25, bounds: bounds25, refblocks: refblocks25 } = fuse_default;
6701
+ var { paths: paths27, texts: texts27, bounds: bounds27, refblocks: refblocks27 } = fuse_default;
6644
6702
  var fuse_horz_default = defineSymbol({
6645
6703
  primitives: [
6646
- ...Object.values(paths25),
6647
- { ...texts25.top1, anchor: "middle_bottom" },
6704
+ ...Object.values(paths27),
6705
+ { ...texts27.top1, anchor: "middle_bottom" },
6648
6706
  {
6649
6707
  type: "text",
6650
6708
  text: "{VAL}",
@@ -6654,13 +6712,13 @@ var fuse_horz_default = defineSymbol({
6654
6712
  }
6655
6713
  ],
6656
6714
  ports: [
6657
- { ...refblocks25.left1, labels: ["1"] },
6715
+ { ...refblocks27.left1, labels: ["1"] },
6658
6716
  // TODO add more "standard" labels
6659
- { ...refblocks25.right1, labels: ["2"] }
6717
+ { ...refblocks27.right1, labels: ["2"] }
6660
6718
  // TODO add more "standard" labels
6661
6719
  ],
6662
- size: { width: bounds25.width, height: bounds25.height },
6663
- center: { x: bounds25.centerX, y: bounds25.centerY }
6720
+ size: { width: bounds27.width, height: bounds27.height },
6721
+ center: { x: bounds27.centerX, y: bounds27.centerY }
6664
6722
  });
6665
6723
 
6666
6724
  // symbols/fuse_vert.ts
@@ -6837,10 +6895,10 @@ var ground2_default = {
6837
6895
  };
6838
6896
 
6839
6897
  // symbols/ground2_down.ts
6840
- var { paths: paths26, texts: texts26, bounds: bounds26, refblocks: refblocks26 } = ground2_default;
6898
+ var { paths: paths28, texts: texts28, bounds: bounds28, refblocks: refblocks28 } = ground2_default;
6841
6899
  var ground2_down_default = modifySymbol({
6842
6900
  primitives: [
6843
- ...Object.values(paths26),
6901
+ ...Object.values(paths28),
6844
6902
  {
6845
6903
  type: "text",
6846
6904
  text: "{REF}",
@@ -6849,18 +6907,18 @@ var ground2_down_default = modifySymbol({
6849
6907
  }
6850
6908
  ],
6851
6909
  ports: [
6852
- { ...refblocks26.left1, labels: ["1"] }
6910
+ { ...refblocks28.left1, labels: ["1"] }
6853
6911
  // TODO add more "standard" labels
6854
6912
  ],
6855
- center: { x: bounds26.centerX, y: bounds26.centerY }
6913
+ center: { x: bounds28.centerX, y: bounds28.centerY }
6856
6914
  }).rotateRightFacingSymbol("down").labelPort("left1", ["1"]).changeTextAnchor("{REF}", "middle_bottom").build();
6857
6915
 
6858
6916
  // symbols/ground2_left.ts
6859
- var { paths: paths27, texts: texts27, bounds: bounds27, refblocks: refblocks27, circles: circles25 } = ground2_default;
6917
+ var { paths: paths29, texts: texts29, bounds: bounds29, refblocks: refblocks29, circles: circles27 } = ground2_default;
6860
6918
  var ground2_left_default = modifySymbol({
6861
6919
  primitives: [
6862
- ...Object.values(paths27),
6863
- ...Object.values(circles25),
6920
+ ...Object.values(paths29),
6921
+ ...Object.values(circles27),
6864
6922
  {
6865
6923
  type: "text",
6866
6924
  text: "{REF}",
@@ -6869,18 +6927,18 @@ var ground2_left_default = modifySymbol({
6869
6927
  }
6870
6928
  ],
6871
6929
  ports: [
6872
- { ...refblocks27.left1, labels: ["1"] }
6930
+ { ...refblocks29.left1, labels: ["1"] }
6873
6931
  // TODO add more "standard" labels
6874
6932
  ],
6875
- center: { x: bounds27.centerX, y: bounds27.centerY }
6933
+ center: { x: bounds29.centerX, y: bounds29.centerY }
6876
6934
  }).rotateRightFacingSymbol("left").labelPort("left1", ["1"]).changeTextAnchor("{REF}", "middle_left").build();
6877
6935
 
6878
6936
  // symbols/ground2_right.ts
6879
- var { paths: paths28, texts: texts28, bounds: bounds28, refblocks: refblocks28, circles: circles26 } = ground2_default;
6937
+ var { paths: paths30, texts: texts30, bounds: bounds30, refblocks: refblocks30, circles: circles28 } = ground2_default;
6880
6938
  var ground2_right_default = modifySymbol({
6881
6939
  primitives: [
6882
- ...Object.values(paths28),
6883
- ...Object.values(circles26),
6940
+ ...Object.values(paths30),
6941
+ ...Object.values(circles28),
6884
6942
  {
6885
6943
  type: "text",
6886
6944
  text: "{REF}",
@@ -6889,18 +6947,18 @@ var ground2_right_default = modifySymbol({
6889
6947
  }
6890
6948
  ],
6891
6949
  ports: [
6892
- { ...refblocks28.left1, labels: ["1"] }
6950
+ { ...refblocks30.left1, labels: ["1"] }
6893
6951
  // TODO add more "standard" labels
6894
6952
  ],
6895
- center: { x: bounds28.centerX, y: bounds28.centerY }
6953
+ center: { x: bounds30.centerX, y: bounds30.centerY }
6896
6954
  }).changeTextAnchor("{VAL}", "middle_top").rotateRightFacingSymbol("right").labelPort("left1", ["1"]).changeTextAnchor("{REF}", "middle_right").build();
6897
6955
 
6898
6956
  // symbols/ground2_up.ts
6899
- var { paths: paths29, texts: texts29, bounds: bounds29, refblocks: refblocks29, circles: circles27 } = ground2_default;
6957
+ var { paths: paths31, texts: texts31, bounds: bounds31, refblocks: refblocks31, circles: circles29 } = ground2_default;
6900
6958
  var ground2_up_default = modifySymbol({
6901
6959
  primitives: [
6902
- ...Object.values(paths29),
6903
- ...Object.values(circles27),
6960
+ ...Object.values(paths31),
6961
+ ...Object.values(circles29),
6904
6962
  {
6905
6963
  type: "text",
6906
6964
  text: "{REF}",
@@ -6909,10 +6967,10 @@ var ground2_up_default = modifySymbol({
6909
6967
  }
6910
6968
  ],
6911
6969
  ports: [
6912
- { ...refblocks29.left1, labels: ["1"] }
6970
+ { ...refblocks31.left1, labels: ["1"] }
6913
6971
  // TODO add more "standard" labels
6914
6972
  ],
6915
- center: { x: bounds29.centerX, y: bounds29.centerY }
6973
+ center: { x: bounds31.centerX, y: bounds31.centerY }
6916
6974
  }).rotateRightFacingSymbol("up").labelPort("left1", ["1"]).changeTextAnchor("{REF}", "middle_top").build();
6917
6975
 
6918
6976
  // assets/generated/gunn_diode.json
@@ -7033,7 +7091,7 @@ var gunn_diode_default = {
7033
7091
  };
7034
7092
 
7035
7093
  // symbols/gunn_diode_horz.ts
7036
- var { paths: paths30, texts: texts30, bounds: bounds30, refblocks: refblocks30, circles: circles28 } = gunn_diode_default;
7094
+ var { paths: paths32, texts: texts32, bounds: bounds32, refblocks: refblocks32, circles: circles30 } = gunn_diode_default;
7037
7095
  var gunn_diode_horz_default = modifySymbol(gunn_diode_default).changeTextAnchor("{VAL}", "middle_top").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_bottom").build();
7038
7096
 
7039
7097
  // symbols/gunn_diode_vert.ts
@@ -7798,12 +7856,12 @@ var illuminated_push_button_normally_open_horz_default = modifySymbol(illuminate
7798
7856
 
7799
7857
  // symbols/illuminated_push_button_normally_open_vert.ts
7800
7858
  var rotatedSymbol6 = rotateSymbol(illuminated_push_button_normally_open_horz_default);
7801
- var texts31 = rotatedSymbol6.primitives.filter((p) => p.type === "text");
7802
- var val18 = texts31.find((t) => t.text === "{VAL}");
7859
+ var texts33 = rotatedSymbol6.primitives.filter((p) => p.type === "text");
7860
+ var val18 = texts33.find((t) => t.text === "{VAL}");
7803
7861
  val18.x = -0.35;
7804
7862
  val18.y = 0;
7805
7863
  val18.anchor = "middle_right";
7806
- var ref18 = texts31.find((t) => t.text === "{REF}");
7864
+ var ref18 = texts33.find((t) => t.text === "{REF}");
7807
7865
  ref18.y = 0;
7808
7866
  ref18.x = 0.35;
7809
7867
  ref18.anchor = "middle_left";
@@ -9205,22 +9263,22 @@ var inductor_default = {
9205
9263
  };
9206
9264
 
9207
9265
  // symbols/inductor_right.ts
9208
- var { paths: paths31, texts: texts32, bounds: bounds31, refblocks: refblocks31, circles: circles29 } = inductor_default;
9266
+ var { paths: paths33, texts: texts34, bounds: bounds33, refblocks: refblocks33, circles: circles31 } = inductor_default;
9209
9267
  var inductor_right_default = defineSymbol({
9210
9268
  primitives: [
9211
- ...Object.values(paths31),
9212
- ...Object.values(circles29),
9213
- { ...texts32.top1, anchor: "middle_bottom" },
9214
- { ...texts32.bottom1, anchor: "middle_top" }
9269
+ ...Object.values(paths33),
9270
+ ...Object.values(circles31),
9271
+ { ...texts34.top1, anchor: "middle_bottom" },
9272
+ { ...texts34.bottom1, anchor: "middle_top" }
9215
9273
  ],
9216
9274
  ports: [
9217
- { ...refblocks31.left1, labels: ["1"] },
9275
+ { ...refblocks33.left1, labels: ["1"] },
9218
9276
  // TODO add more "standard" labels
9219
- { ...refblocks31.right1, labels: ["2"] }
9277
+ { ...refblocks33.right1, labels: ["2"] }
9220
9278
  // TODO add more "standard" labels
9221
9279
  ],
9222
- size: { width: bounds31.width, height: bounds31.height },
9223
- center: { x: bounds31.centerX, y: bounds31.centerY }
9280
+ size: { width: bounds33.width, height: bounds33.height },
9281
+ center: { x: bounds33.centerX, y: bounds33.centerY }
9224
9282
  });
9225
9283
 
9226
9284
  // symbols/inductor_up.ts
@@ -9477,8 +9535,8 @@ var laser_diode_horz_default = modifySymbol(laser_diode_default).changeTextAncho
9477
9535
 
9478
9536
  // symbols/laser_diode_vert.ts
9479
9537
  var rotatedSymbol7 = rotateSymbol(laser_diode_horz_default);
9480
- var texts33 = rotatedSymbol7.primitives.filter((p) => p.type === "text");
9481
- var ref19 = texts33.find((t) => t.text === "{VAL}");
9538
+ var texts35 = rotatedSymbol7.primitives.filter((p) => p.type === "text");
9539
+ var ref19 = texts35.find((t) => t.text === "{VAL}");
9482
9540
  ref19.x = -0.52;
9483
9541
  ref19.anchor = "middle_right";
9484
9542
  var laser_diode_vert_default = rotatedSymbol7;
@@ -9699,22 +9757,22 @@ var led_default = {
9699
9757
  };
9700
9758
 
9701
9759
  // symbols/led_right.ts
9702
- var { paths: paths32, texts: texts34, bounds: bounds32, refblocks: refblocks32, circles: circles30 } = led_default;
9760
+ var { paths: paths34, texts: texts36, bounds: bounds34, refblocks: refblocks34, circles: circles32 } = led_default;
9703
9761
  var led_right_default = defineSymbol({
9704
9762
  primitives: [
9705
- ...Object.values(paths32),
9706
- ...Object.values(circles30),
9707
- { ...texts34.bottom1, anchor: "middle_top" },
9708
- { ...texts34.right1, anchor: "middle_bottom" }
9763
+ ...Object.values(paths34),
9764
+ ...Object.values(circles32),
9765
+ { ...texts36.bottom1, anchor: "middle_top" },
9766
+ { ...texts36.right1, anchor: "middle_bottom" }
9709
9767
  ],
9710
9768
  ports: [
9711
- { ...refblocks32.left1, labels: ["1"] },
9769
+ { ...refblocks34.left1, labels: ["1"] },
9712
9770
  // TODO add more "standard" labels
9713
- { ...refblocks32.right1, labels: ["2"] }
9771
+ { ...refblocks34.right1, labels: ["2"] }
9714
9772
  // TODO add more "standard" labels
9715
9773
  ],
9716
- size: { width: bounds32.width, height: bounds32.height },
9717
- center: { x: bounds32.centerX, y: bounds32.centerY }
9774
+ size: { width: bounds34.width, height: bounds34.height },
9775
+ center: { x: bounds34.centerX, y: bounds34.centerY }
9718
9776
  });
9719
9777
 
9720
9778
  // symbols/led_up.ts
@@ -9977,32 +10035,32 @@ var light_dependent_resistor_default = {
9977
10035
  };
9978
10036
 
9979
10037
  // symbols/light_dependent_resistor_horz.ts
9980
- var { paths: paths33, texts: texts35, bounds: bounds33, refblocks: refblocks33, circles: circles31 } = light_dependent_resistor_default;
10038
+ var { paths: paths35, texts: texts37, bounds: bounds35, refblocks: refblocks35, circles: circles33 } = light_dependent_resistor_default;
9981
10039
  var light_dependent_resistor_horz_default = defineSymbol({
9982
10040
  primitives: [
9983
- ...Object.values(paths33),
9984
- ...Object.values(circles31),
9985
- { ...texts35.top1, anchor: "middle_left", x: 0 },
9986
- { ...texts35.bottom1, anchor: "middle_left", x: 0 }
10041
+ ...Object.values(paths35),
10042
+ ...Object.values(circles33),
10043
+ { ...texts37.top1, anchor: "middle_left", x: 0 },
10044
+ { ...texts37.bottom1, anchor: "middle_left", x: 0 }
9987
10045
  ],
9988
10046
  ports: [
9989
- { ...refblocks33.left1, labels: ["1"] },
10047
+ { ...refblocks35.left1, labels: ["1"] },
9990
10048
  // TODO add more "standard" labels
9991
- { ...refblocks33.right1, labels: ["2"] }
10049
+ { ...refblocks35.right1, labels: ["2"] }
9992
10050
  // TODO add more "standard" labels
9993
10051
  ],
9994
- size: { width: bounds33.width, height: bounds33.height },
9995
- center: { x: bounds33.centerX, y: bounds33.centerY }
10052
+ size: { width: bounds35.width, height: bounds35.height },
10053
+ center: { x: bounds35.centerX, y: bounds35.centerY }
9996
10054
  });
9997
10055
 
9998
10056
  // symbols/light_dependent_resistor_vert.ts
9999
10057
  var rotatedSymbol8 = rotateSymbol(light_dependent_resistor_horz_default);
10000
- var texts36 = rotatedSymbol8.primitives.filter((p) => p.type === "text");
10001
- var val21 = texts36.find((t) => t.text === "{VAL}");
10058
+ var texts38 = rotatedSymbol8.primitives.filter((p) => p.type === "text");
10059
+ var val21 = texts38.find((t) => t.text === "{VAL}");
10002
10060
  val21.x = -0.35;
10003
10061
  val21.y = 0;
10004
10062
  val21.anchor = "middle_right";
10005
- var ref22 = texts36.find((t) => t.text === "{REF}");
10063
+ var ref22 = texts38.find((t) => t.text === "{REF}");
10006
10064
  ref22.y = 0;
10007
10065
  ref22.x = 0.35;
10008
10066
  ref22.anchor = "middle_left";
@@ -10279,23 +10337,23 @@ var mosfet_depletion_normally_on_default = {
10279
10337
  };
10280
10338
 
10281
10339
  // symbols/mosfet_depletion_normally_on_horz.ts
10282
- var { paths: paths34, texts: texts37, bounds: bounds34, refblocks: refblocks34 } = mosfet_depletion_normally_on_default;
10340
+ var { paths: paths36, texts: texts39, bounds: bounds36, refblocks: refblocks36 } = mosfet_depletion_normally_on_default;
10283
10341
  var mosfet_depletion_normally_on_horz_default = defineSymbol({
10284
10342
  primitives: [
10285
- ...Object.values(paths34),
10286
- { ...texts37.right1, anchor: "middle_left" },
10287
- { ...texts37.right2, anchor: "middle_left" }
10343
+ ...Object.values(paths36),
10344
+ { ...texts39.right1, anchor: "middle_left" },
10345
+ { ...texts39.right2, anchor: "middle_left" }
10288
10346
  ],
10289
10347
  ports: [
10290
- { ...refblocks34.top1, labels: ["1"] },
10348
+ { ...refblocks36.top1, labels: ["1"] },
10291
10349
  // TODO add more "standard" labels
10292
- { ...refblocks34.bottom1, labels: ["2"] },
10350
+ { ...refblocks36.bottom1, labels: ["2"] },
10293
10351
  // TODO add more "standard" labels
10294
- { ...refblocks34.left1, labels: ["3"] }
10352
+ { ...refblocks36.left1, labels: ["3"] }
10295
10353
  // TODO add more "standard" labels
10296
10354
  ],
10297
- size: { width: bounds34.width + 0.4, height: bounds34.height },
10298
- center: { x: bounds34.centerX + 0.2, y: bounds34.centerY }
10355
+ size: { width: bounds36.width + 0.4, height: bounds36.height },
10356
+ center: { x: bounds36.centerX + 0.2, y: bounds36.centerY }
10299
10357
  });
10300
10358
 
10301
10359
  // symbols/mosfet_depletion_normally_on_vert.ts
@@ -10921,20 +10979,20 @@ var mushroom_head_normally_open_momentary_default = {
10921
10979
  };
10922
10980
 
10923
10981
  // symbols/mushroom_head_normally_open_momentary_horz.ts
10924
- var { paths: paths35, texts: texts38, bounds: bounds35, refblocks: refblocks35, circles: circles32 } = mushroom_head_normally_open_momentary_default;
10982
+ var { paths: paths37, texts: texts40, bounds: bounds37, refblocks: refblocks37, circles: circles34 } = mushroom_head_normally_open_momentary_default;
10925
10983
  var mushroom_head_normally_open_momentary_horz_default = defineSymbol({
10926
10984
  primitives: [
10927
- ...Object.values(paths35),
10928
- ...Object.values(circles32),
10929
- { ...texts38.top1, anchor: "middle_bottom", x: 0 },
10930
- { ...texts38.bottom1, anchor: "middle_top", x: 0 }
10985
+ ...Object.values(paths37),
10986
+ ...Object.values(circles34),
10987
+ { ...texts40.top1, anchor: "middle_bottom", x: 0 },
10988
+ { ...texts40.bottom1, anchor: "middle_top", x: 0 }
10931
10989
  ],
10932
10990
  ports: [
10933
- { ...refblocks35.left1, labels: ["1"] },
10934
- { ...refblocks35.right1, labels: ["2"] }
10991
+ { ...refblocks37.left1, labels: ["1"] },
10992
+ { ...refblocks37.right1, labels: ["2"] }
10935
10993
  ],
10936
- size: { width: bounds35.width, height: bounds35.height },
10937
- center: { x: bounds35.centerX + 6e-3, y: bounds35.centerY + 0.06 }
10994
+ size: { width: bounds37.width, height: bounds37.height },
10995
+ center: { x: bounds37.centerX + 6e-3, y: bounds37.centerY + 0.06 }
10938
10996
  });
10939
10997
 
10940
10998
  // symbols/mushroom_head_normally_open_momentary_vert.ts
@@ -11151,34 +11209,34 @@ var n_channel_d_mosfet_transistor_default = {
11151
11209
  };
11152
11210
 
11153
11211
  // symbols/n_channel_d_mosfet_transistor_horz.ts
11154
- var { paths: paths36, texts: texts39, bounds: bounds36, refblocks: refblocks36, circles: circles33 } = n_channel_d_mosfet_transistor_default;
11212
+ var { paths: paths38, texts: texts41, bounds: bounds38, refblocks: refblocks38, circles: circles35 } = n_channel_d_mosfet_transistor_default;
11155
11213
  var n_channel_d_mosfet_transistor_horz_default = defineSymbol({
11156
11214
  primitives: [
11157
- ...Object.values(paths36),
11158
- ...Object.values(circles33),
11159
- { ...texts39.top1, anchor: "middle_right", x: 0 },
11160
- { ...texts39.bottom1, anchor: "middle_right", x: 0 }
11215
+ ...Object.values(paths38),
11216
+ ...Object.values(circles35),
11217
+ { ...texts41.top1, anchor: "middle_right", x: 0 },
11218
+ { ...texts41.bottom1, anchor: "middle_right", x: 0 }
11161
11219
  ],
11162
11220
  ports: [
11163
- { ...refblocks36.top1, labels: ["1", "drain"] },
11221
+ { ...refblocks38.top1, labels: ["1", "drain"] },
11164
11222
  // TODO add more "standard" labels
11165
- { ...refblocks36.bottom1, labels: ["2", "source"] },
11223
+ { ...refblocks38.bottom1, labels: ["2", "source"] },
11166
11224
  // TODO add more "standard" labels
11167
- { ...refblocks36.left1, labels: ["3", "gate"] }
11225
+ { ...refblocks38.left1, labels: ["3", "gate"] }
11168
11226
  // TODO add more "standard" labels
11169
11227
  ],
11170
- size: { width: bounds36.width, height: bounds36.height },
11171
- center: { x: bounds36.centerX, y: bounds36.centerY }
11228
+ size: { width: bounds38.width, height: bounds38.height },
11229
+ center: { x: bounds38.centerX, y: bounds38.centerY }
11172
11230
  });
11173
11231
 
11174
11232
  // symbols/n_channel_d_mosfet_transistor_vert.ts
11175
11233
  var rotatedSymbol9 = rotateSymbol(n_channel_d_mosfet_transistor_horz_default);
11176
- var texts40 = rotatedSymbol9.primitives.filter((p) => p.type === "text");
11177
- var val24 = texts40.find((t) => t.text === "{VAL}");
11234
+ var texts42 = rotatedSymbol9.primitives.filter((p) => p.type === "text");
11235
+ var val24 = texts42.find((t) => t.text === "{VAL}");
11178
11236
  val24.x = -0.35;
11179
11237
  val24.y = 0;
11180
11238
  val24.anchor = "middle_right";
11181
- var ref25 = texts40.find((t) => t.text === "{REF}");
11239
+ var ref25 = texts42.find((t) => t.text === "{REF}");
11182
11240
  ref25.y = 0;
11183
11241
  ref25.x = 0.35;
11184
11242
  ref25.anchor = "middle_left";
@@ -11412,34 +11470,34 @@ var n_channel_e_mosfet_transistor_default = {
11412
11470
  };
11413
11471
 
11414
11472
  // symbols/n_channel_e_mosfet_transistor_horz.ts
11415
- var { paths: paths37, texts: texts41, bounds: bounds37, refblocks: refblocks37, circles: circles34 } = n_channel_e_mosfet_transistor_default;
11473
+ var { paths: paths39, texts: texts43, bounds: bounds39, refblocks: refblocks39, circles: circles36 } = n_channel_e_mosfet_transistor_default;
11416
11474
  var n_channel_e_mosfet_transistor_horz_default = defineSymbol({
11417
11475
  primitives: [
11418
- ...Object.values(paths37),
11419
- ...Object.values(circles34),
11420
- { ...texts41.top1, anchor: "middle_right", x: 0 },
11421
- { ...texts41.bottom1, anchor: "middle_right", x: 0 }
11476
+ ...Object.values(paths39),
11477
+ ...Object.values(circles36),
11478
+ { ...texts43.top1, anchor: "middle_right", x: 0 },
11479
+ { ...texts43.bottom1, anchor: "middle_right", x: 0 }
11422
11480
  ],
11423
11481
  ports: [
11424
- { ...refblocks37.top1, labels: ["1", "drain"] },
11482
+ { ...refblocks39.top1, labels: ["1", "drain"] },
11425
11483
  // TODO add more "standard" labels
11426
- { ...refblocks37.bottom1, labels: ["2", "source"] },
11484
+ { ...refblocks39.bottom1, labels: ["2", "source"] },
11427
11485
  // TODO add more "standard" labels
11428
- { ...refblocks37.left1, labels: ["3", "gate"] }
11486
+ { ...refblocks39.left1, labels: ["3", "gate"] }
11429
11487
  // TODO add more "standard" labels
11430
11488
  ],
11431
- size: { width: bounds37.width, height: bounds37.height },
11432
- center: { x: bounds37.centerX, y: bounds37.centerY }
11489
+ size: { width: bounds39.width, height: bounds39.height },
11490
+ center: { x: bounds39.centerX, y: bounds39.centerY }
11433
11491
  });
11434
11492
 
11435
11493
  // symbols/n_channel_e_mosfet_transistor_vert.ts
11436
11494
  var rotatedSymbol10 = rotateSymbol(n_channel_e_mosfet_transistor_horz_default);
11437
- var texts42 = rotatedSymbol10.primitives.filter((p) => p.type === "text");
11438
- var val25 = texts42.find((t) => t.text === "{VAL}");
11495
+ var texts44 = rotatedSymbol10.primitives.filter((p) => p.type === "text");
11496
+ var val25 = texts44.find((t) => t.text === "{VAL}");
11439
11497
  val25.x = -0.35;
11440
11498
  val25.y = 0;
11441
11499
  val25.anchor = "middle_right";
11442
- var ref26 = texts42.find((t) => t.text === "{REF}");
11500
+ var ref26 = texts44.find((t) => t.text === "{REF}");
11443
11501
  ref26.y = 0;
11444
11502
  ref26.x = 0.35;
11445
11503
  ref26.anchor = "middle_left";
@@ -11613,34 +11671,34 @@ var njfet_transistor_default = {
11613
11671
  };
11614
11672
 
11615
11673
  // symbols/njfet_transistor_horz.ts
11616
- var { paths: paths38, texts: texts43, bounds: bounds38, refblocks: refblocks38, circles: circles35 } = njfet_transistor_default;
11674
+ var { paths: paths40, texts: texts45, bounds: bounds40, refblocks: refblocks40, circles: circles37 } = njfet_transistor_default;
11617
11675
  var njfet_transistor_horz_default = defineSymbol({
11618
11676
  primitives: [
11619
- ...Object.values(paths38),
11620
- ...Object.values(circles35),
11621
- { ...texts43.top1, anchor: "middle_right", x: 0 },
11622
- { ...texts43.bottom1, anchor: "middle_right", x: 0 }
11677
+ ...Object.values(paths40),
11678
+ ...Object.values(circles37),
11679
+ { ...texts45.top1, anchor: "middle_right", x: 0 },
11680
+ { ...texts45.bottom1, anchor: "middle_right", x: 0 }
11623
11681
  ],
11624
11682
  ports: [
11625
- { ...refblocks38.top1, labels: ["1", "drain"] },
11683
+ { ...refblocks40.top1, labels: ["1", "drain"] },
11626
11684
  // TODO add more "standard" labels
11627
- { ...refblocks38.bottom1, labels: ["2", "source"] },
11685
+ { ...refblocks40.bottom1, labels: ["2", "source"] },
11628
11686
  // TODO add more "standard" labels
11629
- { ...refblocks38.left1, labels: ["3", "gate"] }
11687
+ { ...refblocks40.left1, labels: ["3", "gate"] }
11630
11688
  // TODO add more "standard" labels
11631
11689
  ],
11632
- size: { width: bounds38.width, height: bounds38.height },
11633
- center: { x: bounds38.centerX, y: bounds38.centerY }
11690
+ size: { width: bounds40.width, height: bounds40.height },
11691
+ center: { x: bounds40.centerX, y: bounds40.centerY }
11634
11692
  });
11635
11693
 
11636
11694
  // symbols/njfet_transistor_vert.ts
11637
11695
  var rotatedSymbol11 = rotateSymbol(njfet_transistor_horz_default);
11638
- var texts44 = rotatedSymbol11.primitives.filter((p) => p.type === "text");
11639
- var val26 = texts44.find((t) => t.text === "{VAL}");
11696
+ var texts46 = rotatedSymbol11.primitives.filter((p) => p.type === "text");
11697
+ var val26 = texts46.find((t) => t.text === "{VAL}");
11640
11698
  val26.x = -0.35;
11641
11699
  val26.y = 0;
11642
11700
  val26.anchor = "middle_right";
11643
- var ref27 = texts44.find((t) => t.text === "{REF}");
11701
+ var ref27 = texts46.find((t) => t.text === "{REF}");
11644
11702
  ref27.y = 0;
11645
11703
  ref27.x = 0.35;
11646
11704
  ref27.anchor = "middle_left";
@@ -11814,13 +11872,13 @@ var npn_bipolar_transistor_default = {
11814
11872
  };
11815
11873
 
11816
11874
  // symbols/npn_bipolar_transistor_horz.ts
11817
- var { paths: paths39, texts: texts45, bounds: bounds39, refblocks: refblocks39, circles: circles36 } = npn_bipolar_transistor_default;
11875
+ var { paths: paths41, texts: texts47, bounds: bounds41, refblocks: refblocks41, circles: circles38 } = npn_bipolar_transistor_default;
11818
11876
  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();
11819
11877
 
11820
11878
  // symbols/npn_bipolar_transistor_vert.ts
11821
11879
  var rotatedSymbol12 = rotateSymbol(npn_bipolar_transistor_horz_default);
11822
- var texts46 = rotatedSymbol12.primitives.filter((p) => p.type === "text");
11823
- var ref28 = texts46.find((t) => t.text === "{REF}");
11880
+ var texts48 = rotatedSymbol12.primitives.filter((p) => p.type === "text");
11881
+ var ref28 = texts48.find((t) => t.text === "{REF}");
11824
11882
  ref28.anchor = "middle_left";
11825
11883
  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();
11826
11884
 
@@ -12444,34 +12502,34 @@ var p_channel_d_mosfet_transistor_default = {
12444
12502
  };
12445
12503
 
12446
12504
  // symbols/p_channel_d_mosfet_transistor_horz.ts
12447
- var { paths: paths40, texts: texts47, bounds: bounds40, refblocks: refblocks40, circles: circles37 } = p_channel_d_mosfet_transistor_default;
12505
+ var { paths: paths42, texts: texts49, bounds: bounds42, refblocks: refblocks42, circles: circles39 } = p_channel_d_mosfet_transistor_default;
12448
12506
  var p_channel_d_mosfet_transistor_horz_default = defineSymbol({
12449
12507
  primitives: [
12450
- ...Object.values(paths40),
12451
- ...Object.values(circles37),
12452
- { ...texts47.top1, anchor: "middle_right", x: 0 },
12453
- { ...texts47.bottom1, anchor: "middle_right", x: 0 }
12508
+ ...Object.values(paths42),
12509
+ ...Object.values(circles39),
12510
+ { ...texts49.top1, anchor: "middle_right", x: 0 },
12511
+ { ...texts49.bottom1, anchor: "middle_right", x: 0 }
12454
12512
  ],
12455
12513
  ports: [
12456
- { ...refblocks40.top1, labels: ["1", "drain"] },
12514
+ { ...refblocks42.top1, labels: ["1", "drain"] },
12457
12515
  // TODO add more "standard" labels
12458
- { ...refblocks40.bottom1, labels: ["2", "source"] },
12516
+ { ...refblocks42.bottom1, labels: ["2", "source"] },
12459
12517
  // TODO add more "standard" labels
12460
- { ...refblocks40.left1, labels: ["3", "gate"] }
12518
+ { ...refblocks42.left1, labels: ["3", "gate"] }
12461
12519
  // TODO add more "standard" labels
12462
12520
  ],
12463
- size: { width: bounds40.width, height: bounds40.height },
12464
- center: { x: bounds40.centerX, y: bounds40.centerY }
12521
+ size: { width: bounds42.width, height: bounds42.height },
12522
+ center: { x: bounds42.centerX, y: bounds42.centerY }
12465
12523
  });
12466
12524
 
12467
12525
  // symbols/p_channel_d_mosfet_transistor_vert.ts
12468
12526
  var rotatedSymbol13 = rotateSymbol(p_channel_d_mosfet_transistor_horz_default);
12469
- var texts48 = rotatedSymbol13.primitives.filter((p) => p.type === "text");
12470
- var val27 = texts48.find((t) => t.text === "{VAL}");
12527
+ var texts50 = rotatedSymbol13.primitives.filter((p) => p.type === "text");
12528
+ var val27 = texts50.find((t) => t.text === "{VAL}");
12471
12529
  val27.x = -0.35;
12472
12530
  val27.y = 0;
12473
12531
  val27.anchor = "middle_right";
12474
- var ref29 = texts48.find((t) => t.text === "{REF}");
12532
+ var ref29 = texts50.find((t) => t.text === "{REF}");
12475
12533
  ref29.y = 0;
12476
12534
  ref29.x = 0.35;
12477
12535
  ref29.anchor = "middle_left";
@@ -12705,34 +12763,34 @@ var p_channel_e_mosfet_transistor_default = {
12705
12763
  };
12706
12764
 
12707
12765
  // symbols/p_channel_e_mosfet_transistor_horz.ts
12708
- var { paths: paths41, texts: texts49, bounds: bounds41, refblocks: refblocks41, circles: circles38 } = p_channel_e_mosfet_transistor_default;
12766
+ var { paths: paths43, texts: texts51, bounds: bounds43, refblocks: refblocks43, circles: circles40 } = p_channel_e_mosfet_transistor_default;
12709
12767
  var p_channel_e_mosfet_transistor_horz_default = defineSymbol({
12710
12768
  primitives: [
12711
- ...Object.values(paths41),
12712
- ...Object.values(circles38),
12713
- { ...texts49.top1, anchor: "middle_right", x: 0 },
12714
- { ...texts49.bottom1, anchor: "middle_right", x: 0 }
12769
+ ...Object.values(paths43),
12770
+ ...Object.values(circles40),
12771
+ { ...texts51.top1, anchor: "middle_right", x: 0 },
12772
+ { ...texts51.bottom1, anchor: "middle_right", x: 0 }
12715
12773
  ],
12716
12774
  ports: [
12717
- { ...refblocks41.top1, labels: ["1", "drain"] },
12775
+ { ...refblocks43.top1, labels: ["1", "drain"] },
12718
12776
  // TODO add more "standard" labels
12719
- { ...refblocks41.bottom1, labels: ["2", "source"] },
12777
+ { ...refblocks43.bottom1, labels: ["2", "source"] },
12720
12778
  // TODO add more "standard" labels
12721
- { ...refblocks41.left1, labels: ["3", "gate"] }
12779
+ { ...refblocks43.left1, labels: ["3", "gate"] }
12722
12780
  // TODO add more "standard" labels
12723
12781
  ],
12724
- size: { width: bounds41.width, height: bounds41.height },
12725
- center: { x: bounds41.centerX, y: bounds41.centerY }
12782
+ size: { width: bounds43.width, height: bounds43.height },
12783
+ center: { x: bounds43.centerX, y: bounds43.centerY }
12726
12784
  });
12727
12785
 
12728
12786
  // symbols/p_channel_e_mosfet_transistor_vert.ts
12729
12787
  var rotatedSymbol14 = rotateSymbol(p_channel_e_mosfet_transistor_horz_default);
12730
- var texts50 = rotatedSymbol14.primitives.filter((p) => p.type === "text");
12731
- var val28 = texts50.find((t) => t.text === "{VAL}");
12788
+ var texts52 = rotatedSymbol14.primitives.filter((p) => p.type === "text");
12789
+ var val28 = texts52.find((t) => t.text === "{VAL}");
12732
12790
  val28.x = -0.35;
12733
12791
  val28.y = 0;
12734
12792
  val28.anchor = "middle_right";
12735
- var ref30 = texts50.find((t) => t.text === "{REF}");
12793
+ var ref30 = texts52.find((t) => t.text === "{REF}");
12736
12794
  ref30.y = 0;
12737
12795
  ref30.x = 0.35;
12738
12796
  ref30.anchor = "middle_left";
@@ -12967,8 +13025,8 @@ var photodiode_horz_default = modifySymbol(photodiode_default).changeTextAnchor(
12967
13025
 
12968
13026
  // symbols/photodiode_vert.ts
12969
13027
  var rotatedSymbol15 = rotateSymbol(photodiode_horz_default);
12970
- var texts51 = rotatedSymbol15.primitives.filter((p) => p.type === "text");
12971
- var ref31 = texts51.find((t) => t.text === "{REF}");
13028
+ var texts53 = rotatedSymbol15.primitives.filter((p) => p.type === "text");
13029
+ var ref31 = texts53.find((t) => t.text === "{REF}");
12972
13030
  ref31.y = 0;
12973
13031
  ref31.anchor = "middle_left";
12974
13032
  var photodiode_vert_default = rotatedSymbol15;
@@ -13141,34 +13199,34 @@ var pjfet_transistor_default = {
13141
13199
  };
13142
13200
 
13143
13201
  // symbols/pjfet_transistor_horz.ts
13144
- var { paths: paths42, texts: texts52, bounds: bounds42, refblocks: refblocks42, circles: circles39 } = pjfet_transistor_default;
13202
+ var { paths: paths44, texts: texts54, bounds: bounds44, refblocks: refblocks44, circles: circles41 } = pjfet_transistor_default;
13145
13203
  var pjfet_transistor_horz_default = defineSymbol({
13146
13204
  primitives: [
13147
- ...Object.values(paths42),
13148
- ...Object.values(circles39),
13149
- { ...texts52.top1, anchor: "middle_right", x: 0 },
13150
- { ...texts52.bottom1, anchor: "middle_right" }
13205
+ ...Object.values(paths44),
13206
+ ...Object.values(circles41),
13207
+ { ...texts54.top1, anchor: "middle_right", x: 0 },
13208
+ { ...texts54.bottom1, anchor: "middle_right" }
13151
13209
  ],
13152
13210
  ports: [
13153
- { ...refblocks42.top1, labels: ["1", "drain"] },
13211
+ { ...refblocks44.top1, labels: ["1", "drain"] },
13154
13212
  // TODO add more "standard" labels
13155
- { ...refblocks42.bottom1, labels: ["2", "source"] },
13213
+ { ...refblocks44.bottom1, labels: ["2", "source"] },
13156
13214
  // TODO add more "standard" labels
13157
- { ...refblocks42.left1, labels: ["3", "gate"] }
13215
+ { ...refblocks44.left1, labels: ["3", "gate"] }
13158
13216
  // TODO add more "standard" labels
13159
13217
  ],
13160
- size: { width: bounds42.width, height: bounds42.height },
13161
- center: { x: bounds42.centerX, y: bounds42.centerY }
13218
+ size: { width: bounds44.width, height: bounds44.height },
13219
+ center: { x: bounds44.centerX, y: bounds44.centerY }
13162
13220
  });
13163
13221
 
13164
13222
  // symbols/pjfet_transistor_vert.ts
13165
13223
  var rotatedSymbol16 = rotateSymbol(pjfet_transistor_horz_default);
13166
- var texts53 = rotatedSymbol16.primitives.filter((p) => p.type === "text");
13167
- var val29 = texts53.find((t) => t.text === "{VAL}");
13224
+ var texts55 = rotatedSymbol16.primitives.filter((p) => p.type === "text");
13225
+ var val29 = texts55.find((t) => t.text === "{VAL}");
13168
13226
  val29.x = -0.35;
13169
13227
  val29.y = 0;
13170
13228
  val29.anchor = "middle_right";
13171
- var ref32 = texts53.find((t) => t.text === "{REF}");
13229
+ var ref32 = texts55.find((t) => t.text === "{REF}");
13172
13230
  ref32.y = 0;
13173
13231
  ref32.x = 0.35;
13174
13232
  ref32.anchor = "middle_left";
@@ -13346,8 +13404,8 @@ var pnp_bipolar_transistor_horz_default = modifySymbol(pnp_bipolar_transistor_de
13346
13404
 
13347
13405
  // symbols/pnp_bipolar_transistor_vert.ts
13348
13406
  var rotatedSymbol17 = rotateSymbol(pnp_bipolar_transistor_horz_default);
13349
- var texts54 = rotatedSymbol17.primitives.filter((p) => p.type === "text");
13350
- var ref33 = texts54.find((t) => t.text === "{REF}");
13407
+ var texts56 = rotatedSymbol17.primitives.filter((p) => p.type === "text");
13408
+ var ref33 = texts56.find((t) => t.text === "{REF}");
13351
13409
  ref33.anchor = "middle_left";
13352
13410
  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();
13353
13411
 
@@ -13761,21 +13819,21 @@ var potentiometer_default = {
13761
13819
  };
13762
13820
 
13763
13821
  // symbols/potentiometer_horz.ts
13764
- var { paths: paths43, texts: texts55, bounds: bounds43, refblocks: refblocks43 } = potentiometer_default;
13822
+ var { paths: paths45, texts: texts57, bounds: bounds45, refblocks: refblocks45 } = potentiometer_default;
13765
13823
  var potentiometer_horz_default = defineSymbol({
13766
13824
  primitives: [
13767
- ...Object.values(paths43),
13768
- { ...texts55.bottom1, y: 0.35, anchor: "middle_top" },
13769
- { ...texts55.top1, anchor: "middle_left" }
13825
+ ...Object.values(paths45),
13826
+ { ...texts57.bottom1, y: 0.35, anchor: "middle_top" },
13827
+ { ...texts57.top1, anchor: "middle_left" }
13770
13828
  ],
13771
13829
  ports: [
13772
- { ...refblocks43.left1, labels: ["1"] },
13830
+ { ...refblocks45.left1, labels: ["1"] },
13773
13831
  // TODO add more "standard" labels
13774
- { ...refblocks43.right1, labels: ["2"] }
13832
+ { ...refblocks45.right1, labels: ["2"] }
13775
13833
  // TODO add more "standard" labels
13776
13834
  ],
13777
- size: { width: bounds43.width + 0.05, height: bounds43.height },
13778
- center: { x: bounds43.centerX, y: bounds43.centerY }
13835
+ size: { width: bounds45.width + 0.05, height: bounds45.height },
13836
+ center: { x: bounds45.centerX, y: bounds45.centerY }
13779
13837
  });
13780
13838
 
13781
13839
  // symbols/potentiometer_vert.ts
@@ -13938,21 +13996,21 @@ var potentiometer2_default = {
13938
13996
  };
13939
13997
 
13940
13998
  // symbols/potentiometer2_right.ts
13941
- var { paths: paths44, texts: texts56, bounds: bounds44, refblocks: refblocks44 } = potentiometer2_default;
13999
+ var { paths: paths46, texts: texts58, bounds: bounds46, refblocks: refblocks46 } = potentiometer2_default;
13942
14000
  var potentiometer2_right_default = defineSymbol({
13943
14001
  primitives: [
13944
- ...Object.values(paths44),
13945
- { ...texts56.bottom1, x: 0, y: -0.35, anchor: "middle_top" },
13946
- { ...texts56.top1, x: 0, y: 0.35, anchor: "middle_bottom" }
14002
+ ...Object.values(paths46),
14003
+ { ...texts58.bottom1, x: 0, y: -0.35, anchor: "middle_top" },
14004
+ { ...texts58.top1, x: 0, y: 0.35, anchor: "middle_bottom" }
13947
14005
  ],
13948
14006
  ports: [
13949
- { ...refblocks44.left1, labels: ["1"] },
14007
+ { ...refblocks46.left1, labels: ["1"] },
13950
14008
  // TODO add more "standard" labels
13951
- { ...refblocks44.right1, labels: ["2"] }
14009
+ { ...refblocks46.right1, labels: ["2"] }
13952
14010
  // TODO add more "standard" labels
13953
14011
  ],
13954
- size: { width: bounds44.width + 0.05, height: bounds44.height },
13955
- center: { x: bounds44.centerX, y: bounds44.centerY }
14012
+ size: { width: bounds46.width + 0.05, height: bounds46.height },
14013
+ center: { x: bounds46.centerX, y: bounds46.centerY }
13956
14014
  });
13957
14015
 
13958
14016
  // symbols/potentiometer2_down.ts
@@ -14197,11 +14255,11 @@ var power_factor_meter_default = {
14197
14255
  };
14198
14256
 
14199
14257
  // symbols/power_factor_meter_horz.ts
14200
- var { paths: paths45, texts: texts57, bounds: bounds45, refblocks: refblocks45, circles: circles40 } = power_factor_meter_default;
14258
+ var { paths: paths47, texts: texts59, bounds: bounds47, refblocks: refblocks47, circles: circles42 } = power_factor_meter_default;
14201
14259
  var power_factor_meter_horz_default = defineSymbol({
14202
14260
  primitives: [
14203
- ...Object.values(paths45),
14204
- ...Object.values(circles40),
14261
+ ...Object.values(paths47),
14262
+ ...Object.values(circles42),
14205
14263
  // { ...texts.top1, anchor: "middle_left" },
14206
14264
  {
14207
14265
  type: "text",
@@ -14228,21 +14286,21 @@ var power_factor_meter_horz_default = defineSymbol({
14228
14286
  }
14229
14287
  ],
14230
14288
  ports: [
14231
- { ...refblocks45.left1, labels: ["1"] },
14289
+ { ...refblocks47.left1, labels: ["1"] },
14232
14290
  // TODO add more "standard" labels
14233
- { ...refblocks45.right1, labels: ["2"] }
14291
+ { ...refblocks47.right1, labels: ["2"] }
14234
14292
  // TODO add more "standard" labels
14235
14293
  ],
14236
- size: { width: bounds45.width, height: bounds45.height },
14237
- center: { x: bounds45.centerX, y: bounds45.centerY }
14294
+ size: { width: bounds47.width, height: bounds47.height },
14295
+ center: { x: bounds47.centerX, y: bounds47.centerY }
14238
14296
  });
14239
14297
 
14240
14298
  // symbols/power_factor_meter_vert.ts
14241
14299
  var rotatedSymbol18 = rotateSymbol(power_factor_meter_horz_default);
14242
- var texts58 = rotatedSymbol18.primitives.filter((p) => p.type === "text");
14243
- var ref37 = texts58.find((t) => t.text === "{REF}");
14244
- var val33 = texts58.find((t) => t.text === "{VAL}");
14245
- var text_cos = texts58.find((t) => t.text === "COS \u03C6");
14300
+ var texts60 = rotatedSymbol18.primitives.filter((p) => p.type === "text");
14301
+ var ref37 = texts60.find((t) => t.text === "{REF}");
14302
+ var val33 = texts60.find((t) => t.text === "{VAL}");
14303
+ var text_cos = texts60.find((t) => t.text === "COS \u03C6");
14246
14304
  ref37.x = 0.35;
14247
14305
  ref37.y = 0;
14248
14306
  ref37.anchor = "middle_left";
@@ -14373,22 +14431,22 @@ var push_button_normally_closed_momentary_default = {
14373
14431
  };
14374
14432
 
14375
14433
  // symbols/push_button_normally_closed_momentary_horz.ts
14376
- var { paths: paths46, texts: texts59, bounds: bounds46, refblocks: refblocks46, circles: circles41 } = push_button_normally_closed_momentary_default;
14434
+ var { paths: paths48, texts: texts61, bounds: bounds48, refblocks: refblocks48, circles: circles43 } = push_button_normally_closed_momentary_default;
14377
14435
  var push_button_normally_closed_momentary_horz_default = defineSymbol({
14378
14436
  primitives: [
14379
- ...Object.values(paths46),
14380
- ...Object.values(circles41),
14381
- { ...texts59.top1, anchor: "middle_left" },
14382
- { ...texts59.bottom1, anchor: "middle_left" }
14437
+ ...Object.values(paths48),
14438
+ ...Object.values(circles43),
14439
+ { ...texts61.top1, anchor: "middle_left" },
14440
+ { ...texts61.bottom1, anchor: "middle_left" }
14383
14441
  ],
14384
14442
  ports: [
14385
- { ...refblocks46.left1, labels: ["1"] },
14443
+ { ...refblocks48.left1, labels: ["1"] },
14386
14444
  // TODO add more "standard" labels
14387
- { ...refblocks46.right1, labels: ["2"] }
14445
+ { ...refblocks48.right1, labels: ["2"] }
14388
14446
  // TODO add more "standard" labels
14389
14447
  ],
14390
- size: { width: bounds46.width, height: bounds46.height },
14391
- center: { x: bounds46.centerX, y: bounds46.centerY }
14448
+ size: { width: bounds48.width, height: bounds48.height },
14449
+ center: { x: bounds48.centerX, y: bounds48.centerY }
14392
14450
  });
14393
14451
 
14394
14452
  // symbols/push_button_normally_closed_momentary_vert.ts
@@ -14543,22 +14601,22 @@ var push_button_normally_open_momentary_default = {
14543
14601
  };
14544
14602
 
14545
14603
  // symbols/push_button_normally_open_momentary_horz.ts
14546
- var { paths: paths47, texts: texts60, bounds: bounds47, refblocks: refblocks47, circles: circles42 } = push_button_normally_open_momentary_default;
14604
+ var { paths: paths49, texts: texts62, bounds: bounds49, refblocks: refblocks49, circles: circles44 } = push_button_normally_open_momentary_default;
14547
14605
  var push_button_normally_open_momentary_horz_default = defineSymbol({
14548
14606
  primitives: [
14549
- ...Object.values(paths47),
14550
- ...Object.values(circles42),
14551
- { ...texts60.top1, anchor: "middle_left" },
14552
- { ...texts60.bottom1, anchor: "middle_left" }
14607
+ ...Object.values(paths49),
14608
+ ...Object.values(circles44),
14609
+ { ...texts62.top1, anchor: "middle_left" },
14610
+ { ...texts62.bottom1, anchor: "middle_left" }
14553
14611
  ],
14554
14612
  ports: [
14555
- { ...refblocks47.left1, labels: ["1"] },
14613
+ { ...refblocks49.left1, labels: ["1"] },
14556
14614
  // TODO add more "standard" labels
14557
- { ...refblocks47.right1, labels: ["2"] }
14615
+ { ...refblocks49.right1, labels: ["2"] }
14558
14616
  // TODO add more "standard" labels
14559
14617
  ],
14560
- size: { width: bounds47.width, height: bounds47.height },
14561
- center: { x: bounds47.centerX, y: bounds47.centerY }
14618
+ size: { width: bounds49.width, height: bounds49.height },
14619
+ center: { x: bounds49.centerX, y: bounds49.centerY }
14562
14620
  });
14563
14621
 
14564
14622
  // symbols/push_button_normally_open_momentary_vert.ts
@@ -14974,26 +15032,26 @@ var rectifier_diode_default = {
14974
15032
  };
14975
15033
 
14976
15034
  // symbols/rectifier_diode_horz.ts
14977
- var { paths: paths48, texts: texts61, bounds: bounds48, refblocks: refblocks48, circles: circles43 } = rectifier_diode_default;
15035
+ var { paths: paths50, texts: texts63, bounds: bounds50, refblocks: refblocks50, circles: circles45 } = rectifier_diode_default;
14978
15036
  var rectifier_diode_horz_default = defineSymbol({
14979
15037
  primitives: [
14980
- ...Object.values(paths48),
14981
- ...Object.values(circles43),
14982
- { ...texts61.top1, anchor: "middle_right" },
14983
- { ...texts61.bottom1, anchor: "middle_right" }
15038
+ ...Object.values(paths50),
15039
+ ...Object.values(circles45),
15040
+ { ...texts63.top1, anchor: "middle_right" },
15041
+ { ...texts63.bottom1, anchor: "middle_right" }
14984
15042
  ],
14985
15043
  ports: [
14986
- { ...refblocks48.top1, labels: ["1"] },
15044
+ { ...refblocks50.top1, labels: ["1"] },
14987
15045
  // TODO add more "standard" labels
14988
- { ...refblocks48.bottom1, labels: ["2"] },
15046
+ { ...refblocks50.bottom1, labels: ["2"] },
14989
15047
  // TODO add more "standard" labels
14990
- { ...refblocks48.left1, labels: ["3"] },
15048
+ { ...refblocks50.left1, labels: ["3"] },
14991
15049
  // TODO add more "standard" labels
14992
- { ...refblocks48.right1, labels: ["4"] }
15050
+ { ...refblocks50.right1, labels: ["4"] }
14993
15051
  // TODO add more "standard" labels
14994
15052
  ],
14995
- size: { width: bounds48.width, height: bounds48.height },
14996
- center: { x: bounds48.centerX, y: bounds48.centerY }
15053
+ size: { width: bounds50.width, height: bounds50.height },
15054
+ center: { x: bounds50.centerX, y: bounds50.centerY }
14997
15055
  });
14998
15056
 
14999
15057
  // symbols/rectifier_diode_vert.ts
@@ -15215,11 +15273,11 @@ var resistor_default = {
15215
15273
  };
15216
15274
 
15217
15275
  // symbols/resistor_down.ts
15218
- var { paths: paths49, texts: texts62, bounds: bounds49, refblocks: refblocks49, circles: circles44 } = resistor_default;
15276
+ var { paths: paths51, texts: texts64, bounds: bounds51, refblocks: refblocks51, circles: circles46 } = resistor_default;
15219
15277
  var resistor_down_default = modifySymbol({
15220
15278
  primitives: [
15221
- ...Object.values(paths49),
15222
- ...Object.values(circles44),
15279
+ ...Object.values(paths51),
15280
+ ...Object.values(circles46),
15223
15281
  {
15224
15282
  type: "text",
15225
15283
  text: "{REF}",
@@ -15234,21 +15292,21 @@ var resistor_down_default = modifySymbol({
15234
15292
  }
15235
15293
  ],
15236
15294
  ports: [
15237
- { ...refblocks49.left1, labels: ["1"] },
15295
+ { ...refblocks51.left1, labels: ["1"] },
15238
15296
  // TODO add more "standard" labels
15239
- { ...refblocks49.right1, labels: ["2"] }
15297
+ { ...refblocks51.right1, labels: ["2"] }
15240
15298
  // TODO add more "standard" labels
15241
15299
  ],
15242
- size: { width: bounds49.width, height: bounds49.height },
15243
- center: { x: bounds49.centerX, y: bounds49.centerY }
15300
+ size: { width: bounds51.width, height: bounds51.height },
15301
+ center: { x: bounds51.centerX, y: bounds51.centerY }
15244
15302
  }).rotateRightFacingSymbol("down").labelPort("left", ["1"]).labelPort("right", ["2"]).changeTextAnchor("{REF}", "middle_left").changeTextAnchor("{VAL}", "middle_left").build();
15245
15303
 
15246
15304
  // symbols/resistor_left.ts
15247
- var { paths: paths50, texts: texts63, bounds: bounds50, refblocks: refblocks50, circles: circles45 } = resistor_default;
15305
+ var { paths: paths52, texts: texts65, bounds: bounds52, refblocks: refblocks52, circles: circles47 } = resistor_default;
15248
15306
  var resistor_left_default = modifySymbol({
15249
15307
  primitives: [
15250
- ...Object.values(paths50),
15251
- ...Object.values(circles45),
15308
+ ...Object.values(paths52),
15309
+ ...Object.values(circles47),
15252
15310
  {
15253
15311
  type: "text",
15254
15312
  text: "{REF}",
@@ -15263,21 +15321,21 @@ var resistor_left_default = modifySymbol({
15263
15321
  }
15264
15322
  ],
15265
15323
  ports: [
15266
- { ...refblocks50.left1, labels: ["1"] },
15324
+ { ...refblocks52.left1, labels: ["1"] },
15267
15325
  // TODO add more "standard" labels
15268
- { ...refblocks50.right1, labels: ["2"] }
15326
+ { ...refblocks52.right1, labels: ["2"] }
15269
15327
  // TODO add more "standard" labels
15270
15328
  ],
15271
- size: { width: bounds50.width, height: bounds50.height },
15272
- center: { x: bounds50.centerX, y: bounds50.centerY }
15329
+ size: { width: bounds52.width, height: bounds52.height },
15330
+ center: { x: bounds52.centerX, y: bounds52.centerY }
15273
15331
  }).rotateRightFacingSymbol("left").labelPort("left", ["1"]).labelPort("right", ["2"]).changeTextAnchor("{REF}", "middle_bottom").changeTextAnchor("{VAL}", "middle_top").build();
15274
15332
 
15275
15333
  // symbols/resistor_right.ts
15276
- var { paths: paths51, texts: texts64, bounds: bounds51, refblocks: refblocks51, circles: circles46 } = resistor_default;
15334
+ var { paths: paths53, texts: texts66, bounds: bounds53, refblocks: refblocks53, circles: circles48 } = resistor_default;
15277
15335
  var resistor_right_default = modifySymbol({
15278
15336
  primitives: [
15279
- ...Object.values(paths51),
15280
- ...Object.values(circles46),
15337
+ ...Object.values(paths53),
15338
+ ...Object.values(circles48),
15281
15339
  {
15282
15340
  type: "text",
15283
15341
  text: "{REF}",
@@ -15292,21 +15350,21 @@ var resistor_right_default = modifySymbol({
15292
15350
  }
15293
15351
  ],
15294
15352
  ports: [
15295
- { ...refblocks51.left1, labels: ["1"] },
15353
+ { ...refblocks53.left1, labels: ["1"] },
15296
15354
  // TODO add more "standard" labels
15297
- { ...refblocks51.right1, labels: ["2"] }
15355
+ { ...refblocks53.right1, labels: ["2"] }
15298
15356
  // TODO add more "standard" labels
15299
15357
  ],
15300
- size: { width: bounds51.width, height: bounds51.height },
15301
- center: { x: bounds51.centerX, y: bounds51.centerY }
15358
+ size: { width: bounds53.width, height: bounds53.height },
15359
+ center: { x: bounds53.centerX, y: bounds53.centerY }
15302
15360
  }).rotateRightFacingSymbol("right").labelPort("left", ["1"]).labelPort("right", ["2"]).changeTextAnchor("{REF}", "middle_bottom").changeTextAnchor("{VAL}", "middle_top").build();
15303
15361
 
15304
15362
  // symbols/resistor_up.ts
15305
- var { paths: paths52, texts: texts65, bounds: bounds52, refblocks: refblocks52, circles: circles47 } = resistor_default;
15363
+ var { paths: paths54, texts: texts67, bounds: bounds54, refblocks: refblocks54, circles: circles49 } = resistor_default;
15306
15364
  var resistor_up_default = modifySymbol({
15307
15365
  primitives: [
15308
- ...Object.values(paths52),
15309
- ...Object.values(circles47),
15366
+ ...Object.values(paths54),
15367
+ ...Object.values(circles49),
15310
15368
  {
15311
15369
  type: "text",
15312
15370
  text: "{REF}",
@@ -15321,13 +15379,13 @@ var resistor_up_default = modifySymbol({
15321
15379
  }
15322
15380
  ],
15323
15381
  ports: [
15324
- { ...refblocks52.left1, labels: ["1"] },
15382
+ { ...refblocks54.left1, labels: ["1"] },
15325
15383
  // TODO add more "standard" labels
15326
- { ...refblocks52.right1, labels: ["2"] }
15384
+ { ...refblocks54.right1, labels: ["2"] }
15327
15385
  // TODO add more "standard" labels
15328
15386
  ],
15329
- size: { width: bounds52.width, height: bounds52.height },
15330
- center: { x: bounds52.centerX, y: bounds52.centerY }
15387
+ size: { width: bounds54.width, height: bounds54.height },
15388
+ center: { x: bounds54.centerX, y: bounds54.centerY }
15331
15389
  }).rotateRightFacingSymbol("up").labelPort("left", ["1"]).labelPort("right", ["2"]).changeTextAnchor("{REF}", "middle_left").changeTextAnchor("{VAL}", "middle_left").build();
15332
15390
 
15333
15391
  // assets/generated/resonator.json
@@ -15676,11 +15734,11 @@ var resonator_default = {
15676
15734
  };
15677
15735
 
15678
15736
  // symbols/resonator_horz.ts
15679
- var { paths: paths53, texts: texts66, bounds: bounds53, refblocks: refblocks53, circles: circles48 } = resonator_default;
15737
+ var { paths: paths55, texts: texts68, bounds: bounds55, refblocks: refblocks55, circles: circles50 } = resonator_default;
15680
15738
  var resonator_horz_default = defineSymbol({
15681
15739
  primitives: [
15682
- ...Object.values(paths53),
15683
- ...Object.values(circles48),
15740
+ ...Object.values(paths55),
15741
+ ...Object.values(circles50),
15684
15742
  // { ...texts.top1, anchor: "middle_left" },
15685
15743
  // { ...texts.bottom1, anchor: "middle_left" },
15686
15744
  {
@@ -15699,15 +15757,15 @@ var resonator_horz_default = defineSymbol({
15699
15757
  }
15700
15758
  ],
15701
15759
  ports: [
15702
- { ...refblocks53.left1, labels: ["1"] },
15760
+ { ...refblocks55.left1, labels: ["1"] },
15703
15761
  // TODO add more "standard" labels
15704
- { ...refblocks53.right1, labels: ["2"] },
15762
+ { ...refblocks55.right1, labels: ["2"] },
15705
15763
  // TODO add more "standard" labels
15706
- { ...refblocks53.right2, labels: ["3"] }
15764
+ { ...refblocks55.right2, labels: ["3"] }
15707
15765
  // TODO add more "standard" labels
15708
15766
  ],
15709
- size: { width: bounds53.width, height: bounds53.height },
15710
- center: { x: bounds53.centerX, y: bounds53.centerY }
15767
+ size: { width: bounds55.width, height: bounds55.height },
15768
+ center: { x: bounds55.centerX, y: bounds55.centerY }
15711
15769
  });
15712
15770
 
15713
15771
  // symbols/resonator_vert.ts
@@ -16099,15 +16157,15 @@ var silicon_controlled_rectifier_default = {
16099
16157
  };
16100
16158
 
16101
16159
  // symbols/silicon_controlled_rectifier_horz.ts
16102
- var { paths: paths54, texts: texts67, bounds: bounds54, refblocks: refblocks54, circles: circles49 } = silicon_controlled_rectifier_default;
16160
+ var { paths: paths56, texts: texts69, bounds: bounds56, refblocks: refblocks56, circles: circles51 } = silicon_controlled_rectifier_default;
16103
16161
  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();
16104
16162
 
16105
16163
  // symbols/silicon_controlled_rectifier_vert.ts
16106
16164
  var rotatedSymbol19 = rotateSymbol(silicon_controlled_rectifier_horz_default);
16107
- var texts68 = rotatedSymbol19.primitives.filter(
16165
+ var texts70 = rotatedSymbol19.primitives.filter(
16108
16166
  (primitive) => primitive.type === "text"
16109
16167
  );
16110
- var ref42 = texts68.find((text) => text.text === "{REF}");
16168
+ var ref42 = texts70.find((text) => text.text === "{REF}");
16111
16169
  ref42.y = 0;
16112
16170
  ref42.anchor = "middle_left";
16113
16171
  var silicon_controlled_rectifier_vert_default = rotatedSymbol19;
@@ -19667,7 +19725,7 @@ var step_recovery_diode_default = {
19667
19725
  };
19668
19726
 
19669
19727
  // symbols/step_recovery_diode_horz.ts
19670
- var { paths: paths55, texts: texts69, bounds: bounds55, refblocks: refblocks55, circles: circles50 } = step_recovery_diode_default;
19728
+ var { paths: paths57, texts: texts71, bounds: bounds57, refblocks: refblocks57, circles: circles52 } = step_recovery_diode_default;
19671
19729
  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();
19672
19730
 
19673
19731
  // symbols/step_recovery_diode_vert.ts
@@ -19760,11 +19818,11 @@ var tachometer_default = {
19760
19818
  };
19761
19819
 
19762
19820
  // symbols/tachometer_horz.ts
19763
- var { paths: paths56, texts: texts70, bounds: bounds56, refblocks: refblocks56, circles: circles51 } = tachometer_default;
19821
+ var { paths: paths58, texts: texts72, bounds: bounds58, refblocks: refblocks58, circles: circles53 } = tachometer_default;
19764
19822
  var tachometer_horz_default = defineSymbol({
19765
19823
  primitives: [
19766
- ...Object.values(paths56),
19767
- ...Object.values(circles51),
19824
+ ...Object.values(paths58),
19825
+ ...Object.values(circles53),
19768
19826
  {
19769
19827
  type: "text",
19770
19828
  text: "{REF}",
@@ -19779,16 +19837,16 @@ var tachometer_horz_default = defineSymbol({
19779
19837
  y: 0.35,
19780
19838
  anchor: "middle_bottom"
19781
19839
  },
19782
- { ...texts70.left1, y: 0.01, anchor: "center", fontSize: 0.2 }
19840
+ { ...texts72.left1, y: 0.01, anchor: "center", fontSize: 0.2 }
19783
19841
  ],
19784
19842
  ports: [
19785
- { ...refblocks56.left1, labels: ["1"] },
19843
+ { ...refblocks58.left1, labels: ["1"] },
19786
19844
  // TODO add more "standard" labels
19787
- { ...refblocks56.right1, labels: ["2"] }
19845
+ { ...refblocks58.right1, labels: ["2"] }
19788
19846
  // TODO add more "standard" labels
19789
19847
  ],
19790
- size: { width: bounds56.width, height: bounds56.height },
19791
- center: { x: bounds56.centerX, y: bounds56.centerY }
19848
+ size: { width: bounds58.width, height: bounds58.height },
19849
+ center: { x: bounds58.centerX, y: bounds58.centerY }
19792
19850
  });
19793
19851
 
19794
19852
  // symbols/tachometer_vert.ts
@@ -20210,16 +20268,16 @@ var triac_default = {
20210
20268
  };
20211
20269
 
20212
20270
  // symbols/triac_horz.ts
20213
- var { paths: paths57, texts: texts71, bounds: bounds57, refblocks: refblocks57, circles: circles52 } = triac_default;
20271
+ var { paths: paths59, texts: texts73, bounds: bounds59, refblocks: refblocks59, circles: circles54 } = triac_default;
20214
20272
  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();
20215
20273
 
20216
20274
  // symbols/triac_vert.ts
20217
20275
  var rotatedSymbol21 = rotateSymbol(triac_horz_default);
20218
- var texts72 = rotatedSymbol21.primitives.filter(
20276
+ var texts74 = rotatedSymbol21.primitives.filter(
20219
20277
  (primitive) => primitive.type === "text"
20220
20278
  );
20221
- var ref60 = texts72.find((text) => text.text === "{REF}");
20222
- var val53 = texts72.find((text) => text.text === "{VAL}");
20279
+ var ref60 = texts74.find((text) => text.text === "{REF}");
20280
+ var val53 = texts74.find((text) => text.text === "{VAL}");
20223
20281
  ref60.y = 0;
20224
20282
  val53.y = 0;
20225
20283
  var triac_vert_default = rotatedSymbol21;
@@ -20386,22 +20444,22 @@ var tunnel_diode_default = {
20386
20444
  };
20387
20445
 
20388
20446
  // symbols/tunnel_diode_horz.ts
20389
- var { paths: paths58, texts: texts73, bounds: bounds58, refblocks: refblocks58, circles: circles53 } = tunnel_diode_default;
20447
+ var { paths: paths60, texts: texts75, bounds: bounds60, refblocks: refblocks60, circles: circles55 } = tunnel_diode_default;
20390
20448
  var tunnel_diode_horz_default = defineSymbol({
20391
20449
  primitives: [
20392
- ...Object.values(paths58),
20393
- ...Object.values(circles53),
20394
- { ...texts73.top1, anchor: "middle_bottom" },
20395
- { ...texts73.bottom1, anchor: "middle_top" }
20450
+ ...Object.values(paths60),
20451
+ ...Object.values(circles55),
20452
+ { ...texts75.top1, anchor: "middle_bottom" },
20453
+ { ...texts75.bottom1, anchor: "middle_top" }
20396
20454
  ],
20397
20455
  ports: [
20398
- { ...refblocks58.left1, labels: ["1"] },
20456
+ { ...refblocks60.left1, labels: ["1"] },
20399
20457
  // TODO add more "standard" labels
20400
- { ...refblocks58.right1, labels: ["2"] }
20458
+ { ...refblocks60.right1, labels: ["2"] }
20401
20459
  // TODO add more "standard" labels
20402
20460
  ],
20403
- size: { width: bounds58.width, height: bounds58.height },
20404
- center: { x: bounds58.centerX, y: bounds58.centerY }
20461
+ size: { width: bounds60.width, height: bounds60.height },
20462
+ center: { x: bounds60.centerX, y: bounds60.centerY }
20405
20463
  });
20406
20464
 
20407
20465
  // symbols/tunnel_diode_vert.ts
@@ -20584,34 +20642,34 @@ var unijunction_transistor_default = {
20584
20642
  };
20585
20643
 
20586
20644
  // symbols/unijunction_transistor_horz.ts
20587
- var { paths: paths59, texts: texts74, bounds: bounds59, refblocks: refblocks59, circles: circles54 } = unijunction_transistor_default;
20645
+ var { paths: paths61, texts: texts76, bounds: bounds61, refblocks: refblocks61, circles: circles56 } = unijunction_transistor_default;
20588
20646
  var unijunction_transistor_horz_default = defineSymbol({
20589
20647
  primitives: [
20590
- ...Object.values(paths59),
20591
- ...Object.values(circles54),
20592
- { ...texts74.top1, anchor: "middle_left" },
20593
- { ...texts74.bottom1, anchor: "middle_right" }
20648
+ ...Object.values(paths61),
20649
+ ...Object.values(circles56),
20650
+ { ...texts76.top1, anchor: "middle_left" },
20651
+ { ...texts76.bottom1, anchor: "middle_right" }
20594
20652
  ],
20595
20653
  ports: [
20596
- { ...refblocks59.top1, labels: ["1"] },
20654
+ { ...refblocks61.top1, labels: ["1"] },
20597
20655
  // TODO add more "standard" labels
20598
- { ...refblocks59.bottom1, labels: ["2"] },
20656
+ { ...refblocks61.bottom1, labels: ["2"] },
20599
20657
  // TODO add more "standard" labels
20600
- { ...refblocks59.left1, labels: ["3"] }
20658
+ { ...refblocks61.left1, labels: ["3"] }
20601
20659
  // TODO add more "standard" labels
20602
20660
  ],
20603
- size: { width: bounds59.width, height: bounds59.height },
20604
- center: { x: bounds59.centerX, y: bounds59.centerY }
20661
+ size: { width: bounds61.width, height: bounds61.height },
20662
+ center: { x: bounds61.centerX, y: bounds61.centerY }
20605
20663
  });
20606
20664
 
20607
20665
  // symbols/unijunction_transistor_vert.ts
20608
20666
  var rotatedSymbol22 = rotateSymbol(unijunction_transistor_horz_default);
20609
- var texts75 = rotatedSymbol22.primitives.filter(
20667
+ var texts77 = rotatedSymbol22.primitives.filter(
20610
20668
  (primitive) => primitive.type === "text"
20611
20669
  );
20612
- var ref62 = texts75.find((text) => text.text === "{REF}");
20670
+ var ref62 = texts77.find((text) => text.text === "{REF}");
20613
20671
  ref62.y = 0.1;
20614
- var val55 = texts75.find((text) => text.text === "{VAL}");
20672
+ var val55 = texts77.find((text) => text.text === "{VAL}");
20615
20673
  val55.y = 0.1;
20616
20674
  val55.x = -0.4;
20617
20675
  var unijunction_transistor_vert_default = rotatedSymbol22;
@@ -20703,33 +20761,33 @@ var var_meter_default = {
20703
20761
  };
20704
20762
 
20705
20763
  // symbols/var_meter_horz.ts
20706
- var { paths: paths60, texts: texts76, bounds: bounds60, refblocks: refblocks60, circles: circles55 } = var_meter_default;
20764
+ var { paths: paths62, texts: texts78, bounds: bounds62, refblocks: refblocks62, circles: circles57 } = var_meter_default;
20707
20765
  var var_meter_horz_default = defineSymbol({
20708
20766
  primitives: [
20709
- ...Object.values(paths60),
20710
- ...Object.values(circles55),
20767
+ ...Object.values(paths62),
20768
+ ...Object.values(circles57),
20711
20769
  {
20712
- ...texts76.top1,
20770
+ ...texts78.top1,
20713
20771
  x: 0,
20714
20772
  y: -0.3594553499999995,
20715
20773
  anchor: "middle_top"
20716
20774
  },
20717
20775
  {
20718
- ...texts76.bottom1,
20776
+ ...texts78.bottom1,
20719
20777
  x: 0,
20720
20778
  y: 0.35,
20721
20779
  anchor: "middle_bottom"
20722
20780
  },
20723
- { ...texts76.left1, x: -0.02, y: 0.01, fontSize: 0.2, anchor: "center" }
20781
+ { ...texts78.left1, x: -0.02, y: 0.01, fontSize: 0.2, anchor: "center" }
20724
20782
  ],
20725
20783
  ports: [
20726
- { ...refblocks60.left1, labels: ["1"] },
20784
+ { ...refblocks62.left1, labels: ["1"] },
20727
20785
  // TODO add more "standard" labels
20728
- { ...refblocks60.right1, labels: ["2"] }
20786
+ { ...refblocks62.right1, labels: ["2"] }
20729
20787
  // TODO add more "standard" labels
20730
20788
  ],
20731
- size: { width: bounds60.width, height: bounds60.height },
20732
- center: { x: bounds60.centerX, y: bounds60.centerY }
20789
+ size: { width: bounds62.width, height: bounds62.height },
20790
+ center: { x: bounds62.centerX, y: bounds62.centerY }
20733
20791
  });
20734
20792
 
20735
20793
  // symbols/var_meter_vert.ts
@@ -20882,22 +20940,22 @@ var varactor_diode_default = {
20882
20940
  };
20883
20941
 
20884
20942
  // symbols/varactor_diode_horz.ts
20885
- var { paths: paths61, texts: texts77, bounds: bounds61, refblocks: refblocks61, circles: circles56 } = varactor_diode_default;
20943
+ var { paths: paths63, texts: texts79, bounds: bounds63, refblocks: refblocks63, circles: circles58 } = varactor_diode_default;
20886
20944
  var varactor_diode_horz_default = defineSymbol({
20887
20945
  primitives: [
20888
- ...Object.values(paths61),
20889
- ...Object.values(circles56),
20890
- { ...texts77.top1, anchor: "middle_bottom" },
20891
- { ...texts77.bottom1, anchor: "middle_top" }
20946
+ ...Object.values(paths63),
20947
+ ...Object.values(circles58),
20948
+ { ...texts79.top1, anchor: "middle_bottom" },
20949
+ { ...texts79.bottom1, anchor: "middle_top" }
20892
20950
  ],
20893
20951
  ports: [
20894
- { ...refblocks61.left1, labels: ["1"] },
20952
+ { ...refblocks63.left1, labels: ["1"] },
20895
20953
  // TODO add more "standard" labels
20896
- { ...refblocks61.right1, labels: ["2"] }
20954
+ { ...refblocks63.right1, labels: ["2"] }
20897
20955
  // TODO add more "standard" labels
20898
20956
  ],
20899
- size: { width: bounds61.width, height: bounds61.height },
20900
- center: { x: bounds61.centerX, y: bounds61.centerY }
20957
+ size: { width: bounds63.width, height: bounds63.height },
20958
+ center: { x: bounds63.centerX, y: bounds63.centerY }
20901
20959
  });
20902
20960
 
20903
20961
  // symbols/varactor_diode_vert.ts
@@ -21045,26 +21103,26 @@ var varistor_default = {
21045
21103
  };
21046
21104
 
21047
21105
  // symbols/varistor_horz.ts
21048
- var { paths: paths62, texts: texts78, bounds: bounds62, refblocks: refblocks62 } = varistor_default;
21106
+ var { paths: paths64, texts: texts80, bounds: bounds64, refblocks: refblocks64 } = varistor_default;
21049
21107
  var varistor_horz_default = defineSymbol({
21050
21108
  primitives: [
21051
- ...Object.values(paths62),
21052
- { ...texts78.top1, anchor: "middle_left" },
21053
- { ...texts78.bottom1, anchor: "middle_right" }
21109
+ ...Object.values(paths64),
21110
+ { ...texts80.top1, anchor: "middle_left" },
21111
+ { ...texts80.bottom1, anchor: "middle_right" }
21054
21112
  ],
21055
21113
  ports: [
21056
21114
  {
21057
- ...refblocks62.left1,
21115
+ ...refblocks64.left1,
21058
21116
  labels: ["1", "-"]
21059
21117
  },
21060
21118
  {
21061
- ...refblocks62.right1,
21119
+ ...refblocks64.right1,
21062
21120
  labels: ["2", "+"]
21063
21121
  }
21064
21122
  ],
21065
- size: { width: bounds62.width, height: bounds62.height },
21123
+ size: { width: bounds64.width, height: bounds64.height },
21066
21124
  //{ width: 1, height: 0.24 },
21067
- center: { x: bounds62.centerX, y: bounds62.centerY }
21125
+ center: { x: bounds64.centerX, y: bounds64.centerY }
21068
21126
  });
21069
21127
 
21070
21128
  // symbols/varistor_vert.ts
@@ -21157,11 +21215,11 @@ var varmeter_default = {
21157
21215
  };
21158
21216
 
21159
21217
  // symbols/varmeter_horz.ts
21160
- var { paths: paths63, texts: texts79, bounds: bounds63, refblocks: refblocks63, circles: circles57 } = varmeter_default;
21218
+ var { paths: paths65, texts: texts81, bounds: bounds65, refblocks: refblocks65, circles: circles59 } = varmeter_default;
21161
21219
  var varmeter_horz_default = defineSymbol({
21162
21220
  primitives: [
21163
- ...Object.values(paths63),
21164
- ...Object.values(circles57),
21221
+ ...Object.values(paths65),
21222
+ ...Object.values(circles59),
21165
21223
  {
21166
21224
  type: "text",
21167
21225
  text: "{REF}",
@@ -21176,16 +21234,16 @@ var varmeter_horz_default = defineSymbol({
21176
21234
  y: 0.35,
21177
21235
  anchor: "middle_bottom"
21178
21236
  },
21179
- { ...texts79.left1, anchor: "center", y: 0.02, fontSize: 0.2 }
21237
+ { ...texts81.left1, anchor: "center", y: 0.02, fontSize: 0.2 }
21180
21238
  ],
21181
21239
  ports: [
21182
- { ...refblocks63.left1, labels: ["1"] },
21240
+ { ...refblocks65.left1, labels: ["1"] },
21183
21241
  // TODO add more "standard" labels
21184
- { ...refblocks63.right1, labels: ["2"] }
21242
+ { ...refblocks65.right1, labels: ["2"] }
21185
21243
  // TODO add more "standard" labels
21186
21244
  ],
21187
- size: { width: bounds63.width, height: bounds63.height },
21188
- center: { x: bounds63.centerX, y: bounds63.centerY }
21245
+ size: { width: bounds65.width, height: bounds65.height },
21246
+ center: { x: bounds65.centerX, y: bounds65.centerY }
21189
21247
  });
21190
21248
 
21191
21249
  // symbols/varmeter_vert.ts
@@ -21390,7 +21448,7 @@ var volt_meter_default = {
21390
21448
  };
21391
21449
 
21392
21450
  // symbols/volt_meter_horz.ts
21393
- var { paths: paths64, texts: texts80, bounds: bounds64, circles: circles58, refblocks: refblocks64 } = volt_meter_default;
21451
+ var { paths: paths66, texts: texts82, bounds: bounds66, circles: circles60, refblocks: refblocks66 } = volt_meter_default;
21394
21452
  var volt_meter_horz_default = modifySymbol(volt_meter_default).changeTextAnchor("{VAL}", "middle_top").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_bottom").build();
21395
21453
 
21396
21454
  // symbols/volt_meter_vert.ts
@@ -21483,11 +21541,11 @@ var watt_hour_meter_default = {
21483
21541
  };
21484
21542
 
21485
21543
  // symbols/watt_hour_meter_horz.ts
21486
- var { paths: paths65, texts: texts81, bounds: bounds65, refblocks: refblocks65, circles: circles59 } = watt_hour_meter_default;
21544
+ var { paths: paths67, texts: texts83, bounds: bounds67, refblocks: refblocks67, circles: circles61 } = watt_hour_meter_default;
21487
21545
  var watt_hour_meter_horz_default = defineSymbol({
21488
21546
  primitives: [
21489
- ...Object.values(paths65),
21490
- ...Object.values(circles59),
21547
+ ...Object.values(paths67),
21548
+ ...Object.values(circles61),
21491
21549
  {
21492
21550
  type: "text",
21493
21551
  text: "{REF}",
@@ -21502,16 +21560,16 @@ var watt_hour_meter_horz_default = defineSymbol({
21502
21560
  y: 0.35,
21503
21561
  anchor: "middle_bottom"
21504
21562
  },
21505
- { ...texts81.left1, anchor: "center", y: 0.01, fontSize: 0.2 }
21563
+ { ...texts83.left1, anchor: "center", y: 0.01, fontSize: 0.2 }
21506
21564
  ],
21507
21565
  ports: [
21508
- { ...refblocks65.left1, labels: ["1"] },
21566
+ { ...refblocks67.left1, labels: ["1"] },
21509
21567
  // TODO add more "standard" labels
21510
- { ...refblocks65.right1, labels: ["2"] }
21568
+ { ...refblocks67.right1, labels: ["2"] }
21511
21569
  // TODO add more "standard" labels
21512
21570
  ],
21513
- size: { width: bounds65.width, height: bounds65.height },
21514
- center: { x: bounds65.centerX, y: bounds65.centerY }
21571
+ size: { width: bounds67.width, height: bounds67.height },
21572
+ center: { x: bounds67.centerX, y: bounds67.centerY }
21515
21573
  });
21516
21574
 
21517
21575
  // symbols/watt_hour_meter_vert.ts
@@ -21615,11 +21673,11 @@ var wattmeter_default = {
21615
21673
  };
21616
21674
 
21617
21675
  // symbols/wattmeter_horz.ts
21618
- var { paths: paths66, texts: texts82, bounds: bounds66, refblocks: refblocks66, circles: circles60 } = wattmeter_default;
21676
+ var { paths: paths68, texts: texts84, bounds: bounds68, refblocks: refblocks68, circles: circles62 } = wattmeter_default;
21619
21677
  var wattmeter_horz_default = defineSymbol({
21620
21678
  primitives: [
21621
- ...Object.values(paths66),
21622
- ...Object.values(circles60),
21679
+ ...Object.values(paths68),
21680
+ ...Object.values(circles62),
21623
21681
  {
21624
21682
  type: "text",
21625
21683
  text: "{REF}",
@@ -21634,16 +21692,16 @@ var wattmeter_horz_default = defineSymbol({
21634
21692
  y: 0.35,
21635
21693
  anchor: "middle_bottom"
21636
21694
  },
21637
- { ...texts82.left1, anchor: "center", y: 0.01, fontSize: 0.3 }
21695
+ { ...texts84.left1, anchor: "center", y: 0.01, fontSize: 0.3 }
21638
21696
  ],
21639
21697
  ports: [
21640
- { ...refblocks66.left1, labels: ["1"] },
21698
+ { ...refblocks68.left1, labels: ["1"] },
21641
21699
  // TODO add more "standard" labels
21642
- { ...refblocks66.right1, labels: ["2"] }
21700
+ { ...refblocks68.right1, labels: ["2"] }
21643
21701
  // TODO add more "standard" labels
21644
21702
  ],
21645
- size: { width: bounds66.width, height: bounds66.height },
21646
- center: { x: bounds66.centerX, y: bounds66.centerY }
21703
+ size: { width: bounds68.width, height: bounds68.height },
21704
+ center: { x: bounds68.centerX, y: bounds68.centerY }
21647
21705
  });
21648
21706
 
21649
21707
  // symbols/wattmeter_vert.ts
@@ -21807,22 +21865,22 @@ var zener_diode_default = {
21807
21865
  };
21808
21866
 
21809
21867
  // symbols/zener_diode_horz.ts
21810
- var { paths: paths67, texts: texts83, bounds: bounds67, refblocks: refblocks67, circles: circles61 } = zener_diode_default;
21868
+ var { paths: paths69, texts: texts85, bounds: bounds69, refblocks: refblocks69, circles: circles63 } = zener_diode_default;
21811
21869
  var zener_diode_horz_default = defineSymbol({
21812
21870
  primitives: [
21813
- ...Object.values(paths67),
21814
- ...Object.values(circles61),
21815
- { ...texts83.top1, anchor: "middle_bottom" },
21816
- { ...texts83.bottom1, anchor: "middle_top" }
21871
+ ...Object.values(paths69),
21872
+ ...Object.values(circles63),
21873
+ { ...texts85.top1, anchor: "middle_bottom" },
21874
+ { ...texts85.bottom1, anchor: "middle_top" }
21817
21875
  ],
21818
21876
  ports: [
21819
- { ...refblocks67.left1, labels: ["1"] },
21877
+ { ...refblocks69.left1, labels: ["1"] },
21820
21878
  // TODO add more "standard" labels
21821
- { ...refblocks67.right1, labels: ["2"] }
21879
+ { ...refblocks69.right1, labels: ["2"] }
21822
21880
  // TODO add more "standard" labels
21823
21881
  ],
21824
- size: { width: bounds67.width, height: bounds67.height },
21825
- center: { x: bounds67.centerX, y: bounds67.centerY }
21882
+ size: { width: bounds69.width, height: bounds69.height },
21883
+ center: { x: bounds69.centerX, y: bounds69.centerY }
21826
21884
  });
21827
21885
 
21828
21886
  // symbols/zener_diode_vert.ts
@@ -21869,8 +21927,10 @@ var symbols_index_default = {
21869
21927
  "constant_current_diode_vert": constant_current_diode_vert_default,
21870
21928
  "crystal_4pin_horz": crystal_4pin_horz_default,
21871
21929
  "crystal_4pin_vert": crystal_4pin_vert_default,
21872
- "crystal_horz": crystal_horz_default,
21873
- "crystal_vert": crystal_vert_default,
21930
+ "crystal_down": crystal_down_default,
21931
+ "crystal_left": crystal_left_default,
21932
+ "crystal_right": crystal_right_default,
21933
+ "crystal_up": crystal_up_default,
21874
21934
  "darlington_pair_transistor_horz": darlington_pair_transistor_horz_default,
21875
21935
  "darlington_pair_transistor_vert": darlington_pair_transistor_vert_default,
21876
21936
  "dc_ammeter_horz": dc_ammeter_horz_default,