schematic-symbols 0.0.151 → 0.0.153

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(symbol4) {
45
45
  let size = symbol4.size;
46
46
  if (!size) {
47
- const bounds67 = getBoundsOfPrimitives(symbol4.primitives);
47
+ const bounds68 = getBoundsOfPrimitives(symbol4.primitives);
48
48
  size = {
49
- width: bounds67.maxX - bounds67.minX,
50
- height: bounds67.maxY - bounds67.minY
49
+ width: bounds68.maxX - bounds68.minX,
50
+ height: bounds68.maxY - bounds68.minY
51
51
  };
52
52
  }
53
53
  return { ...symbol4, size };
@@ -494,14 +494,14 @@ var rotateRightFacingSymbol = (symbol4, opts) => {
494
494
  ...applyToPoint(transform2, port)
495
495
  })
496
496
  );
497
- const bounds67 = getBoundsOfPrimitives(rotatedPrimitives);
497
+ const bounds68 = getBoundsOfPrimitives(rotatedPrimitives);
498
498
  return {
499
499
  primitives: rotatedPrimitives,
500
500
  center,
501
501
  ports: rotatedPorts,
502
502
  size: {
503
- width: bounds67.maxX - bounds67.minX,
504
- height: bounds67.maxY - bounds67.minY
503
+ width: bounds68.maxX - bounds68.minX,
504
+ height: bounds68.maxY - bounds68.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 bounds67 = getBoundsOfPrimitives(this.symbol.primitives);
905
+ const bounds68 = getBoundsOfPrimitives(this.symbol.primitives);
906
906
  return {
907
- width: bounds67.maxX - bounds67.minX,
908
- height: bounds67.maxY - bounds67.minY
907
+ width: bounds68.maxX - bounds68.minX,
908
+ height: bounds68.maxY - bounds68.minY
909
909
  };
910
910
  }
911
911
  build() {
@@ -3551,18 +3551,44 @@ var capacitor_polarized_down_default = modifySymbol({
3551
3551
  center: { x: bounds17.centerX, y: bounds17.centerY }
3552
3552
  }).changeTextAnchor("{VAL}", "top_left").rotateRightFacingSymbol("down").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "bottom_left").build();
3553
3553
 
3554
+ // symbols/capacitor_polarized_left.ts
3555
+ var { paths: paths18, texts: texts17, bounds: bounds18, refblocks: refblocks18, circles: circles18 } = capacitor_polarized_default;
3556
+ var capacitor_polarized_left_default = modifySymbol({
3557
+ primitives: [
3558
+ ...Object.values(paths18),
3559
+ ...Object.values(circles18),
3560
+ {
3561
+ type: "text",
3562
+ text: "{REF}",
3563
+ x: 0,
3564
+ y: -0.4094553499999995
3565
+ },
3566
+ {
3567
+ type: "text",
3568
+ text: "{VAL}",
3569
+ x: -0,
3570
+ y: 0.4094553499999995
3571
+ }
3572
+ ],
3573
+ ports: [
3574
+ { ...refblocks18.left1, labels: ["1"] },
3575
+ // TODO add more "standard" labels
3576
+ { ...refblocks18.right1, labels: ["2"] }
3577
+ // TODO add more "standard" labels
3578
+ ],
3579
+ size: { width: bounds18.width, height: bounds18.height },
3580
+ center: { x: bounds18.centerX, y: bounds18.centerY }
3581
+ }).changeTextAnchor("{VAL}", "middle_bottom").rotateRightFacingSymbol("left").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_bottom").build();
3582
+
3554
3583
  // symbols/capacitor_polarized_right.ts
3555
3584
  var capacitor_polarized_right_default = modifySymbol(capacitor_polarized_default).changeTextAnchor("{VAL}", "middle_top").rotateRightFacingSymbol("right").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_bottom").build();
3556
3585
 
3557
- // symbols/capacitor_polarized_left.ts
3558
- var capacitor_polarized_left_default = modifySymbol(capacitor_polarized_right_default).changeTextAnchor("{VAL}", "middle_top").rotateRightFacingSymbol("left").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_top").build();
3559
-
3560
3586
  // symbols/capacitor_polarized_up.ts
3561
- var { paths: paths18, texts: texts17, bounds: bounds18, refblocks: refblocks18, circles: circles18 } = capacitor_polarized_default;
3587
+ var { paths: paths19, texts: texts18, bounds: bounds19, refblocks: refblocks19, circles: circles19 } = capacitor_polarized_default;
3562
3588
  var capacitor_polarized_up_default = modifySymbol({
3563
3589
  primitives: [
3564
- ...Object.values(paths18),
3565
- ...Object.values(circles18),
3590
+ ...Object.values(paths19),
3591
+ ...Object.values(circles19),
3566
3592
  {
3567
3593
  type: "text",
3568
3594
  text: "{REF}",
@@ -3577,24 +3603,24 @@ var capacitor_polarized_up_default = modifySymbol({
3577
3603
  }
3578
3604
  ],
3579
3605
  ports: [
3580
- { ...refblocks18.left1, labels: ["1"] },
3606
+ { ...refblocks19.left1, labels: ["1"] },
3581
3607
  // TODO add more "standard" labels
3582
- { ...refblocks18.right1, labels: ["2"] }
3608
+ { ...refblocks19.right1, labels: ["2"] }
3583
3609
  // TODO add more "standard" labels
3584
3610
  ],
3585
- size: { width: bounds18.width, height: bounds18.height },
3586
- center: { x: bounds18.centerX, y: bounds18.centerY }
3611
+ size: { width: bounds19.width, height: bounds19.height },
3612
+ center: { x: bounds19.centerX, y: bounds19.centerY }
3587
3613
  }).changeTextAnchor("{VAL}", "top_left").rotateRightFacingSymbol("up").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "bottom_left").build();
3588
3614
 
3589
3615
  // symbols/capacitor_right.ts
3590
3616
  var capacitor_right_default = modifySymbol(capacitor_default).rotateRightFacingSymbol("right").changeTextAnchor("{VAL}", "middle_top").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_bottom").build();
3591
3617
 
3592
3618
  // symbols/capacitor_up.ts
3593
- var { paths: paths19, texts: texts18, bounds: bounds19, refblocks: refblocks19, circles: circles19 } = capacitor_default;
3619
+ var { paths: paths20, texts: texts19, bounds: bounds20, refblocks: refblocks20, circles: circles20 } = capacitor_default;
3594
3620
  var capacitor_up_default = modifySymbol({
3595
3621
  primitives: [
3596
- ...Object.values(paths19),
3597
- ...Object.values(circles19),
3622
+ ...Object.values(paths20),
3623
+ ...Object.values(circles20),
3598
3624
  {
3599
3625
  type: "text",
3600
3626
  text: "{REF}",
@@ -3609,13 +3635,13 @@ var capacitor_up_default = modifySymbol({
3609
3635
  }
3610
3636
  ],
3611
3637
  ports: [
3612
- { ...refblocks19.left1, labels: ["1"] },
3638
+ { ...refblocks20.left1, labels: ["1"] },
3613
3639
  // TODO add more "standard" labels
3614
- { ...refblocks19.right1, labels: ["2"] }
3640
+ { ...refblocks20.right1, labels: ["2"] }
3615
3641
  // TODO add more "standard" labels
3616
3642
  ],
3617
- size: { width: bounds19.width, height: bounds19.height },
3618
- center: { x: bounds19.centerX, y: bounds19.centerY }
3643
+ size: { width: bounds20.width, height: bounds20.height },
3644
+ center: { x: bounds20.centerX, y: bounds20.centerY }
3619
3645
  }).changeTextAnchor("{VAL}", "top_left").rotateRightFacingSymbol("up").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "bottom_left").build();
3620
3646
 
3621
3647
  // assets/generated/constant_current_diode.json
@@ -4563,11 +4589,11 @@ var dc_ammeter_default = {
4563
4589
  };
4564
4590
 
4565
4591
  // symbols/dc_ammeter_horz.ts
4566
- var { paths: paths20, texts: texts19, bounds: bounds20, refblocks: refblocks20, circles: circles20 } = dc_ammeter_default;
4592
+ var { paths: paths21, texts: texts20, bounds: bounds21, refblocks: refblocks21, circles: circles21 } = dc_ammeter_default;
4567
4593
  var dc_ammeter_horz_default = defineSymbol({
4568
4594
  primitives: [
4569
- ...Object.values(paths20),
4570
- ...Object.values(circles20),
4595
+ ...Object.values(paths21),
4596
+ ...Object.values(circles21),
4571
4597
  {
4572
4598
  type: "text",
4573
4599
  text: "{REF}",
@@ -4582,16 +4608,16 @@ var dc_ammeter_horz_default = defineSymbol({
4582
4608
  y: 0.35,
4583
4609
  anchor: "middle_bottom"
4584
4610
  },
4585
- { ...texts19.left1, x: 0, y: 0.01, anchor: "center", fontSize: 0.3 }
4611
+ { ...texts20.left1, x: 0, y: 0.01, anchor: "center", fontSize: 0.3 }
4586
4612
  ],
4587
4613
  ports: [
4588
- { ...refblocks20.left1, labels: ["1"] },
4614
+ { ...refblocks21.left1, labels: ["1"] },
4589
4615
  // TODO add more "standard" labels
4590
- { ...refblocks20.right1, labels: ["2"] }
4616
+ { ...refblocks21.right1, labels: ["2"] }
4591
4617
  // TODO add more "standard" labels
4592
4618
  ],
4593
- size: { width: bounds20.width, height: bounds20.height },
4594
- center: { x: bounds20.centerX, y: bounds20.centerY }
4619
+ size: { width: bounds21.width, height: bounds21.height },
4620
+ center: { x: bounds21.centerX, y: bounds21.centerY }
4595
4621
  });
4596
4622
 
4597
4623
  // symbols/dc_ammeter_vert.ts
@@ -4737,11 +4763,11 @@ var dc_voltmeter_default = {
4737
4763
  };
4738
4764
 
4739
4765
  // symbols/dc_voltmeter_horz.ts
4740
- var { paths: paths21, texts: texts20, bounds: bounds21, refblocks: refblocks21, circles: circles21 } = dc_voltmeter_default;
4766
+ var { paths: paths22, texts: texts21, bounds: bounds22, refblocks: refblocks22, circles: circles22 } = dc_voltmeter_default;
4741
4767
  var dc_voltmeter_horz_default = defineSymbol({
4742
4768
  primitives: [
4743
- ...Object.values(paths21),
4744
- ...Object.values(circles21),
4769
+ ...Object.values(paths22),
4770
+ ...Object.values(circles22),
4745
4771
  {
4746
4772
  type: "text",
4747
4773
  text: "{REF}",
@@ -4758,13 +4784,13 @@ var dc_voltmeter_horz_default = defineSymbol({
4758
4784
  }
4759
4785
  ],
4760
4786
  ports: [
4761
- { ...refblocks21.left1, labels: ["1"] },
4787
+ { ...refblocks22.left1, labels: ["1"] },
4762
4788
  // TODO add more "standard" labels
4763
- { ...refblocks21.right1, labels: ["2"] }
4789
+ { ...refblocks22.right1, labels: ["2"] }
4764
4790
  // TODO add more "standard" labels
4765
4791
  ],
4766
- size: { width: bounds21.width, height: bounds21.height },
4767
- center: { x: bounds21.centerX, y: bounds21.centerY }
4792
+ size: { width: bounds22.width, height: bounds22.height },
4793
+ center: { x: bounds22.centerX, y: bounds22.centerY }
4768
4794
  });
4769
4795
 
4770
4796
  // symbols/dc_voltmeter_vert.ts
@@ -4942,11 +4968,11 @@ var diac_horz_default = modifySymbol(diac_default).changeTextAnchor("{VAL}", "mi
4942
4968
 
4943
4969
  // symbols/diac_vert.ts
4944
4970
  var rotatedSymbol4 = rotateSymbol(diac_horz_default);
4945
- var texts21 = rotatedSymbol4.primitives.filter(
4971
+ var texts22 = rotatedSymbol4.primitives.filter(
4946
4972
  (primitive) => primitive.type === "text"
4947
4973
  );
4948
- var ref2 = texts21.find((text) => text.text === "{REF}");
4949
- var val2 = texts21.find((text) => text.text === "{VAL}");
4974
+ var ref2 = texts22.find((text) => text.text === "{REF}");
4975
+ var val2 = texts22.find((text) => text.text === "{VAL}");
4950
4976
  ref2.y = 0;
4951
4977
  val2.y = 0;
4952
4978
  var diac_vert_default = rotatedSymbol4;
@@ -6223,11 +6249,11 @@ var ferrite_bead_default = {
6223
6249
  };
6224
6250
 
6225
6251
  // symbols/ferrite_bead_up.ts
6226
- var { paths: paths22, texts: texts22, bounds: bounds22, refblocks: refblocks22, circles: circles22 } = ferrite_bead_default;
6252
+ var { paths: paths23, texts: texts23, bounds: bounds23, refblocks: refblocks23, circles: circles23 } = ferrite_bead_default;
6227
6253
  var ferrite_bead_up_default = modifySymbol({
6228
6254
  primitives: [
6229
- ...Object.values(paths22),
6230
- ...Object.values(circles22),
6255
+ ...Object.values(paths23),
6256
+ ...Object.values(circles23),
6231
6257
  {
6232
6258
  type: "text",
6233
6259
  text: "{REF}",
@@ -6242,13 +6268,13 @@ var ferrite_bead_up_default = modifySymbol({
6242
6268
  }
6243
6269
  ],
6244
6270
  ports: [
6245
- { ...refblocks22.left1, labels: ["1"] },
6271
+ { ...refblocks23.left1, labels: ["1"] },
6246
6272
  // TODO add more "standard" labels
6247
- { ...refblocks22.right1, labels: ["2"] }
6273
+ { ...refblocks23.right1, labels: ["2"] }
6248
6274
  // TODO add more "standard" labels
6249
6275
  ],
6250
- size: { width: bounds22.width, height: bounds22.height },
6251
- center: { x: bounds22.centerX, y: bounds22.centerY }
6276
+ size: { width: bounds23.width, height: bounds23.height },
6277
+ center: { x: bounds23.centerX, y: bounds23.centerY }
6252
6278
  }).rotateRightFacingSymbol("up").labelPort("left", ["1"]).labelPort("right", ["2"]).changeTextAnchor("{REF}", "middle_left").changeTextAnchor("{VAL}", "middle_left").build();
6253
6279
 
6254
6280
  // symbols/ferrite_bead_down.ts
@@ -6481,11 +6507,11 @@ var frequency_meter_default = {
6481
6507
  };
6482
6508
 
6483
6509
  // symbols/frequency_meter_horz.ts
6484
- var { paths: paths23, texts: texts23, bounds: bounds23, refblocks: refblocks23, circles: circles23 } = frequency_meter_default;
6510
+ var { paths: paths24, texts: texts24, bounds: bounds24, refblocks: refblocks24, circles: circles24 } = frequency_meter_default;
6485
6511
  var frequency_meter_horz_default = defineSymbol({
6486
6512
  primitives: [
6487
- ...Object.values(paths23),
6488
- ...Object.values(circles23),
6513
+ ...Object.values(paths24),
6514
+ ...Object.values(circles24),
6489
6515
  {
6490
6516
  type: "text",
6491
6517
  text: "{REF}",
@@ -6500,16 +6526,16 @@ var frequency_meter_horz_default = defineSymbol({
6500
6526
  y: 0.35,
6501
6527
  anchor: "middle_bottom"
6502
6528
  },
6503
- { ...texts23.left1, x: 0, y: 0.01, anchor: "center", fontSize: 0.2 }
6529
+ { ...texts24.left1, x: 0, y: 0.01, anchor: "center", fontSize: 0.2 }
6504
6530
  ],
6505
6531
  ports: [
6506
- { ...refblocks23.left1, labels: ["1"] },
6532
+ { ...refblocks24.left1, labels: ["1"] },
6507
6533
  // TODO add more "standard" labels
6508
- { ...refblocks23.right1, labels: ["2"] }
6534
+ { ...refblocks24.right1, labels: ["2"] }
6509
6535
  // TODO add more "standard" labels
6510
6536
  ],
6511
- size: { width: bounds23.width, height: bounds23.height },
6512
- center: { x: bounds23.centerX, y: bounds23.centerY }
6537
+ size: { width: bounds24.width, height: bounds24.height },
6538
+ center: { x: bounds24.centerX, y: bounds24.centerY }
6513
6539
  });
6514
6540
 
6515
6541
  // symbols/frequency_meter_vert.ts
@@ -6614,11 +6640,11 @@ var fuse_default = {
6614
6640
  };
6615
6641
 
6616
6642
  // symbols/fuse_horz.ts
6617
- var { paths: paths24, texts: texts24, bounds: bounds24, refblocks: refblocks24 } = fuse_default;
6643
+ var { paths: paths25, texts: texts25, bounds: bounds25, refblocks: refblocks25 } = fuse_default;
6618
6644
  var fuse_horz_default = defineSymbol({
6619
6645
  primitives: [
6620
- ...Object.values(paths24),
6621
- { ...texts24.top1, anchor: "middle_bottom" },
6646
+ ...Object.values(paths25),
6647
+ { ...texts25.top1, anchor: "middle_bottom" },
6622
6648
  {
6623
6649
  type: "text",
6624
6650
  text: "{VAL}",
@@ -6628,13 +6654,13 @@ var fuse_horz_default = defineSymbol({
6628
6654
  }
6629
6655
  ],
6630
6656
  ports: [
6631
- { ...refblocks24.left1, labels: ["1"] },
6657
+ { ...refblocks25.left1, labels: ["1"] },
6632
6658
  // TODO add more "standard" labels
6633
- { ...refblocks24.right1, labels: ["2"] }
6659
+ { ...refblocks25.right1, labels: ["2"] }
6634
6660
  // TODO add more "standard" labels
6635
6661
  ],
6636
- size: { width: bounds24.width, height: bounds24.height },
6637
- center: { x: bounds24.centerX, y: bounds24.centerY }
6662
+ size: { width: bounds25.width, height: bounds25.height },
6663
+ center: { x: bounds25.centerX, y: bounds25.centerY }
6638
6664
  });
6639
6665
 
6640
6666
  // symbols/fuse_vert.ts
@@ -6734,6 +6760,9 @@ var ground_default = {
6734
6760
  // symbols/ground_down.ts
6735
6761
  var ground_down_default = modifySymbol(ground_default).rotateRightFacingSymbol("down").labelPort("left1", ["1"]).changeTextAnchor("{REF}", "middle_top").build();
6736
6762
 
6763
+ // symbols/ground_horz.ts
6764
+ var ground_horz_default = modifySymbol(ground_default).rotateRightFacingSymbol("right").labelPort("left1", ["1"]).changeTextAnchor("{REF}", "middle_left").build();
6765
+
6737
6766
  // symbols/ground_left.ts
6738
6767
  var ground_left_default = modifySymbol(ground_default).rotateRightFacingSymbol("left").labelPort("left1", ["1"]).changeTextAnchor("{REF}", "middle_right").build();
6739
6768
 
@@ -6743,6 +6772,9 @@ var ground_right_default = modifySymbol(ground_default).rotateRightFacingSymbol(
6743
6772
  // symbols/ground_up.ts
6744
6773
  var ground_up_default = modifySymbol(ground_default).rotateRightFacingSymbol("up").labelPort("left1", ["1"]).changeTextAnchor("{REF}", "middle_bottom").build();
6745
6774
 
6775
+ // symbols/ground_vert.ts
6776
+ var ground_vert_default = modifySymbol(ground_default).rotateRightFacingSymbol("up").labelPort("left1", ["1"]).changeTextAnchor("{REF}", "middle_bottom").build();
6777
+
6746
6778
  // assets/generated/ground2.json
6747
6779
  var ground2_default = {
6748
6780
  paths: {
@@ -6805,10 +6837,10 @@ var ground2_default = {
6805
6837
  };
6806
6838
 
6807
6839
  // symbols/ground2_down.ts
6808
- var { paths: paths25, texts: texts25, bounds: bounds25, refblocks: refblocks25 } = ground2_default;
6840
+ var { paths: paths26, texts: texts26, bounds: bounds26, refblocks: refblocks26 } = ground2_default;
6809
6841
  var ground2_down_default = modifySymbol({
6810
6842
  primitives: [
6811
- ...Object.values(paths25),
6843
+ ...Object.values(paths26),
6812
6844
  {
6813
6845
  type: "text",
6814
6846
  text: "{REF}",
@@ -6817,18 +6849,18 @@ var ground2_down_default = modifySymbol({
6817
6849
  }
6818
6850
  ],
6819
6851
  ports: [
6820
- { ...refblocks25.left1, labels: ["1"] }
6852
+ { ...refblocks26.left1, labels: ["1"] }
6821
6853
  // TODO add more "standard" labels
6822
6854
  ],
6823
- center: { x: bounds25.centerX, y: bounds25.centerY }
6855
+ center: { x: bounds26.centerX, y: bounds26.centerY }
6824
6856
  }).rotateRightFacingSymbol("down").labelPort("left1", ["1"]).changeTextAnchor("{REF}", "middle_bottom").build();
6825
6857
 
6826
6858
  // symbols/ground2_left.ts
6827
- var { paths: paths26, texts: texts26, bounds: bounds26, refblocks: refblocks26, circles: circles24 } = ground2_default;
6859
+ var { paths: paths27, texts: texts27, bounds: bounds27, refblocks: refblocks27, circles: circles25 } = ground2_default;
6828
6860
  var ground2_left_default = modifySymbol({
6829
6861
  primitives: [
6830
- ...Object.values(paths26),
6831
- ...Object.values(circles24),
6862
+ ...Object.values(paths27),
6863
+ ...Object.values(circles25),
6832
6864
  {
6833
6865
  type: "text",
6834
6866
  text: "{REF}",
@@ -6837,18 +6869,18 @@ var ground2_left_default = modifySymbol({
6837
6869
  }
6838
6870
  ],
6839
6871
  ports: [
6840
- { ...refblocks26.left1, labels: ["1"] }
6872
+ { ...refblocks27.left1, labels: ["1"] }
6841
6873
  // TODO add more "standard" labels
6842
6874
  ],
6843
- center: { x: bounds26.centerX, y: bounds26.centerY }
6875
+ center: { x: bounds27.centerX, y: bounds27.centerY }
6844
6876
  }).rotateRightFacingSymbol("left").labelPort("left1", ["1"]).changeTextAnchor("{REF}", "middle_left").build();
6845
6877
 
6846
6878
  // symbols/ground2_right.ts
6847
- var { paths: paths27, texts: texts27, bounds: bounds27, refblocks: refblocks27, circles: circles25 } = ground2_default;
6879
+ var { paths: paths28, texts: texts28, bounds: bounds28, refblocks: refblocks28, circles: circles26 } = ground2_default;
6848
6880
  var ground2_right_default = modifySymbol({
6849
6881
  primitives: [
6850
- ...Object.values(paths27),
6851
- ...Object.values(circles25),
6882
+ ...Object.values(paths28),
6883
+ ...Object.values(circles26),
6852
6884
  {
6853
6885
  type: "text",
6854
6886
  text: "{REF}",
@@ -6857,18 +6889,18 @@ var ground2_right_default = modifySymbol({
6857
6889
  }
6858
6890
  ],
6859
6891
  ports: [
6860
- { ...refblocks27.left1, labels: ["1"] }
6892
+ { ...refblocks28.left1, labels: ["1"] }
6861
6893
  // TODO add more "standard" labels
6862
6894
  ],
6863
- center: { x: bounds27.centerX, y: bounds27.centerY }
6895
+ center: { x: bounds28.centerX, y: bounds28.centerY }
6864
6896
  }).changeTextAnchor("{VAL}", "middle_top").rotateRightFacingSymbol("right").labelPort("left1", ["1"]).changeTextAnchor("{REF}", "middle_right").build();
6865
6897
 
6866
6898
  // symbols/ground2_up.ts
6867
- var { paths: paths28, texts: texts28, bounds: bounds28, refblocks: refblocks28, circles: circles26 } = ground2_default;
6899
+ var { paths: paths29, texts: texts29, bounds: bounds29, refblocks: refblocks29, circles: circles27 } = ground2_default;
6868
6900
  var ground2_up_default = modifySymbol({
6869
6901
  primitives: [
6870
- ...Object.values(paths28),
6871
- ...Object.values(circles26),
6902
+ ...Object.values(paths29),
6903
+ ...Object.values(circles27),
6872
6904
  {
6873
6905
  type: "text",
6874
6906
  text: "{REF}",
@@ -6877,10 +6909,10 @@ var ground2_up_default = modifySymbol({
6877
6909
  }
6878
6910
  ],
6879
6911
  ports: [
6880
- { ...refblocks28.left1, labels: ["1"] }
6912
+ { ...refblocks29.left1, labels: ["1"] }
6881
6913
  // TODO add more "standard" labels
6882
6914
  ],
6883
- center: { x: bounds28.centerX, y: bounds28.centerY }
6915
+ center: { x: bounds29.centerX, y: bounds29.centerY }
6884
6916
  }).rotateRightFacingSymbol("up").labelPort("left1", ["1"]).changeTextAnchor("{REF}", "middle_top").build();
6885
6917
 
6886
6918
  // assets/generated/gunn_diode.json
@@ -7001,7 +7033,7 @@ var gunn_diode_default = {
7001
7033
  };
7002
7034
 
7003
7035
  // symbols/gunn_diode_horz.ts
7004
- var { paths: paths29, texts: texts29, bounds: bounds29, refblocks: refblocks29, circles: circles27 } = gunn_diode_default;
7036
+ var { paths: paths30, texts: texts30, bounds: bounds30, refblocks: refblocks30, circles: circles28 } = gunn_diode_default;
7005
7037
  var gunn_diode_horz_default = modifySymbol(gunn_diode_default).changeTextAnchor("{VAL}", "middle_top").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_bottom").build();
7006
7038
 
7007
7039
  // symbols/gunn_diode_vert.ts
@@ -7769,12 +7801,12 @@ var illuminated_push_button_normally_open_horz_default = modifySymbol(illuminate
7769
7801
 
7770
7802
  // symbols/illuminated_push_button_normally_open_vert.ts
7771
7803
  var rotatedSymbol6 = rotateSymbol(illuminated_push_button_normally_open_horz_default);
7772
- var texts30 = rotatedSymbol6.primitives.filter((p) => p.type === "text");
7773
- var val17 = texts30.find((t) => t.text === "{VAL}");
7804
+ var texts31 = rotatedSymbol6.primitives.filter((p) => p.type === "text");
7805
+ var val17 = texts31.find((t) => t.text === "{VAL}");
7774
7806
  val17.x = -0.35;
7775
7807
  val17.y = 0;
7776
7808
  val17.anchor = "middle_right";
7777
- var ref17 = texts30.find((t) => t.text === "{REF}");
7809
+ var ref17 = texts31.find((t) => t.text === "{REF}");
7778
7810
  ref17.y = 0;
7779
7811
  ref17.x = 0.35;
7780
7812
  ref17.anchor = "middle_left";
@@ -9176,22 +9208,22 @@ var inductor_default = {
9176
9208
  };
9177
9209
 
9178
9210
  // symbols/inductor_right.ts
9179
- var { paths: paths30, texts: texts31, bounds: bounds30, refblocks: refblocks30, circles: circles28 } = inductor_default;
9211
+ var { paths: paths31, texts: texts32, bounds: bounds31, refblocks: refblocks31, circles: circles29 } = inductor_default;
9180
9212
  var inductor_right_default = defineSymbol({
9181
9213
  primitives: [
9182
- ...Object.values(paths30),
9183
- ...Object.values(circles28),
9184
- { ...texts31.top1, anchor: "middle_bottom" },
9185
- { ...texts31.bottom1, anchor: "middle_top" }
9214
+ ...Object.values(paths31),
9215
+ ...Object.values(circles29),
9216
+ { ...texts32.top1, anchor: "middle_bottom" },
9217
+ { ...texts32.bottom1, anchor: "middle_top" }
9186
9218
  ],
9187
9219
  ports: [
9188
- { ...refblocks30.left1, labels: ["1"] },
9220
+ { ...refblocks31.left1, labels: ["1"] },
9189
9221
  // TODO add more "standard" labels
9190
- { ...refblocks30.right1, labels: ["2"] }
9222
+ { ...refblocks31.right1, labels: ["2"] }
9191
9223
  // TODO add more "standard" labels
9192
9224
  ],
9193
- size: { width: bounds30.width, height: bounds30.height },
9194
- center: { x: bounds30.centerX, y: bounds30.centerY }
9225
+ size: { width: bounds31.width, height: bounds31.height },
9226
+ center: { x: bounds31.centerX, y: bounds31.centerY }
9195
9227
  });
9196
9228
 
9197
9229
  // symbols/inductor_up.ts
@@ -9448,8 +9480,8 @@ var laser_diode_horz_default = modifySymbol(laser_diode_default).changeTextAncho
9448
9480
 
9449
9481
  // symbols/laser_diode_vert.ts
9450
9482
  var rotatedSymbol7 = rotateSymbol(laser_diode_horz_default);
9451
- var texts32 = rotatedSymbol7.primitives.filter((p) => p.type === "text");
9452
- var ref18 = texts32.find((t) => t.text === "{VAL}");
9483
+ var texts33 = rotatedSymbol7.primitives.filter((p) => p.type === "text");
9484
+ var ref18 = texts33.find((t) => t.text === "{VAL}");
9453
9485
  ref18.x = -0.52;
9454
9486
  ref18.anchor = "middle_right";
9455
9487
  var laser_diode_vert_default = rotatedSymbol7;
@@ -9670,22 +9702,22 @@ var led_default = {
9670
9702
  };
9671
9703
 
9672
9704
  // symbols/led_right.ts
9673
- var { paths: paths31, texts: texts33, bounds: bounds31, refblocks: refblocks31, circles: circles29 } = led_default;
9705
+ var { paths: paths32, texts: texts34, bounds: bounds32, refblocks: refblocks32, circles: circles30 } = led_default;
9674
9706
  var led_right_default = defineSymbol({
9675
9707
  primitives: [
9676
- ...Object.values(paths31),
9677
- ...Object.values(circles29),
9678
- { ...texts33.bottom1, anchor: "middle_top" },
9679
- { ...texts33.right1, anchor: "middle_bottom" }
9708
+ ...Object.values(paths32),
9709
+ ...Object.values(circles30),
9710
+ { ...texts34.bottom1, anchor: "middle_top" },
9711
+ { ...texts34.right1, anchor: "middle_bottom" }
9680
9712
  ],
9681
9713
  ports: [
9682
- { ...refblocks31.left1, labels: ["1"] },
9714
+ { ...refblocks32.left1, labels: ["1"] },
9683
9715
  // TODO add more "standard" labels
9684
- { ...refblocks31.right1, labels: ["2"] }
9716
+ { ...refblocks32.right1, labels: ["2"] }
9685
9717
  // TODO add more "standard" labels
9686
9718
  ],
9687
- size: { width: bounds31.width, height: bounds31.height },
9688
- center: { x: bounds31.centerX, y: bounds31.centerY }
9719
+ size: { width: bounds32.width, height: bounds32.height },
9720
+ center: { x: bounds32.centerX, y: bounds32.centerY }
9689
9721
  });
9690
9722
 
9691
9723
  // symbols/led_up.ts
@@ -9948,32 +9980,32 @@ var light_dependent_resistor_default = {
9948
9980
  };
9949
9981
 
9950
9982
  // symbols/light_dependent_resistor_horz.ts
9951
- var { paths: paths32, texts: texts34, bounds: bounds32, refblocks: refblocks32, circles: circles30 } = light_dependent_resistor_default;
9983
+ var { paths: paths33, texts: texts35, bounds: bounds33, refblocks: refblocks33, circles: circles31 } = light_dependent_resistor_default;
9952
9984
  var light_dependent_resistor_horz_default = defineSymbol({
9953
9985
  primitives: [
9954
- ...Object.values(paths32),
9955
- ...Object.values(circles30),
9956
- { ...texts34.top1, anchor: "middle_left", x: 0 },
9957
- { ...texts34.bottom1, anchor: "middle_left", x: 0 }
9986
+ ...Object.values(paths33),
9987
+ ...Object.values(circles31),
9988
+ { ...texts35.top1, anchor: "middle_left", x: 0 },
9989
+ { ...texts35.bottom1, anchor: "middle_left", x: 0 }
9958
9990
  ],
9959
9991
  ports: [
9960
- { ...refblocks32.left1, labels: ["1"] },
9992
+ { ...refblocks33.left1, labels: ["1"] },
9961
9993
  // TODO add more "standard" labels
9962
- { ...refblocks32.right1, labels: ["2"] }
9994
+ { ...refblocks33.right1, labels: ["2"] }
9963
9995
  // TODO add more "standard" labels
9964
9996
  ],
9965
- size: { width: bounds32.width, height: bounds32.height },
9966
- center: { x: bounds32.centerX, y: bounds32.centerY }
9997
+ size: { width: bounds33.width, height: bounds33.height },
9998
+ center: { x: bounds33.centerX, y: bounds33.centerY }
9967
9999
  });
9968
10000
 
9969
10001
  // symbols/light_dependent_resistor_vert.ts
9970
10002
  var rotatedSymbol8 = rotateSymbol(light_dependent_resistor_horz_default);
9971
- var texts35 = rotatedSymbol8.primitives.filter((p) => p.type === "text");
9972
- var val20 = texts35.find((t) => t.text === "{VAL}");
10003
+ var texts36 = rotatedSymbol8.primitives.filter((p) => p.type === "text");
10004
+ var val20 = texts36.find((t) => t.text === "{VAL}");
9973
10005
  val20.x = -0.35;
9974
10006
  val20.y = 0;
9975
10007
  val20.anchor = "middle_right";
9976
- var ref21 = texts35.find((t) => t.text === "{REF}");
10008
+ var ref21 = texts36.find((t) => t.text === "{REF}");
9977
10009
  ref21.y = 0;
9978
10010
  ref21.x = 0.35;
9979
10011
  ref21.anchor = "middle_left";
@@ -10250,23 +10282,23 @@ var mosfet_depletion_normally_on_default = {
10250
10282
  };
10251
10283
 
10252
10284
  // symbols/mosfet_depletion_normally_on_horz.ts
10253
- var { paths: paths33, texts: texts36, bounds: bounds33, refblocks: refblocks33 } = mosfet_depletion_normally_on_default;
10285
+ var { paths: paths34, texts: texts37, bounds: bounds34, refblocks: refblocks34 } = mosfet_depletion_normally_on_default;
10254
10286
  var mosfet_depletion_normally_on_horz_default = defineSymbol({
10255
10287
  primitives: [
10256
- ...Object.values(paths33),
10257
- { ...texts36.right1, anchor: "middle_left" },
10258
- { ...texts36.right2, anchor: "middle_left" }
10288
+ ...Object.values(paths34),
10289
+ { ...texts37.right1, anchor: "middle_left" },
10290
+ { ...texts37.right2, anchor: "middle_left" }
10259
10291
  ],
10260
10292
  ports: [
10261
- { ...refblocks33.top1, labels: ["1"] },
10293
+ { ...refblocks34.top1, labels: ["1"] },
10262
10294
  // TODO add more "standard" labels
10263
- { ...refblocks33.bottom1, labels: ["2"] },
10295
+ { ...refblocks34.bottom1, labels: ["2"] },
10264
10296
  // TODO add more "standard" labels
10265
- { ...refblocks33.left1, labels: ["3"] }
10297
+ { ...refblocks34.left1, labels: ["3"] }
10266
10298
  // TODO add more "standard" labels
10267
10299
  ],
10268
- size: { width: bounds33.width + 0.4, height: bounds33.height },
10269
- center: { x: bounds33.centerX + 0.2, y: bounds33.centerY }
10300
+ size: { width: bounds34.width + 0.4, height: bounds34.height },
10301
+ center: { x: bounds34.centerX + 0.2, y: bounds34.centerY }
10270
10302
  });
10271
10303
 
10272
10304
  // symbols/mosfet_depletion_normally_on_vert.ts
@@ -10892,20 +10924,20 @@ var mushroom_head_normally_open_momentary_default = {
10892
10924
  };
10893
10925
 
10894
10926
  // symbols/mushroom_head_normally_open_momentary_horz.ts
10895
- var { paths: paths34, texts: texts37, bounds: bounds34, refblocks: refblocks34, circles: circles31 } = mushroom_head_normally_open_momentary_default;
10927
+ var { paths: paths35, texts: texts38, bounds: bounds35, refblocks: refblocks35, circles: circles32 } = mushroom_head_normally_open_momentary_default;
10896
10928
  var mushroom_head_normally_open_momentary_horz_default = defineSymbol({
10897
10929
  primitives: [
10898
- ...Object.values(paths34),
10899
- ...Object.values(circles31),
10900
- { ...texts37.top1, anchor: "middle_bottom", x: 0 },
10901
- { ...texts37.bottom1, anchor: "middle_top", x: 0 }
10930
+ ...Object.values(paths35),
10931
+ ...Object.values(circles32),
10932
+ { ...texts38.top1, anchor: "middle_bottom", x: 0 },
10933
+ { ...texts38.bottom1, anchor: "middle_top", x: 0 }
10902
10934
  ],
10903
10935
  ports: [
10904
- { ...refblocks34.left1, labels: ["1"] },
10905
- { ...refblocks34.right1, labels: ["2"] }
10936
+ { ...refblocks35.left1, labels: ["1"] },
10937
+ { ...refblocks35.right1, labels: ["2"] }
10906
10938
  ],
10907
- size: { width: bounds34.width, height: bounds34.height },
10908
- center: { x: bounds34.centerX + 6e-3, y: bounds34.centerY + 0.06 }
10939
+ size: { width: bounds35.width, height: bounds35.height },
10940
+ center: { x: bounds35.centerX + 6e-3, y: bounds35.centerY + 0.06 }
10909
10941
  });
10910
10942
 
10911
10943
  // symbols/mushroom_head_normally_open_momentary_vert.ts
@@ -11122,34 +11154,34 @@ var n_channel_d_mosfet_transistor_default = {
11122
11154
  };
11123
11155
 
11124
11156
  // symbols/n_channel_d_mosfet_transistor_horz.ts
11125
- var { paths: paths35, texts: texts38, bounds: bounds35, refblocks: refblocks35, circles: circles32 } = n_channel_d_mosfet_transistor_default;
11157
+ var { paths: paths36, texts: texts39, bounds: bounds36, refblocks: refblocks36, circles: circles33 } = n_channel_d_mosfet_transistor_default;
11126
11158
  var n_channel_d_mosfet_transistor_horz_default = defineSymbol({
11127
11159
  primitives: [
11128
- ...Object.values(paths35),
11129
- ...Object.values(circles32),
11130
- { ...texts38.top1, anchor: "middle_right", x: 0 },
11131
- { ...texts38.bottom1, anchor: "middle_right", x: 0 }
11160
+ ...Object.values(paths36),
11161
+ ...Object.values(circles33),
11162
+ { ...texts39.top1, anchor: "middle_right", x: 0 },
11163
+ { ...texts39.bottom1, anchor: "middle_right", x: 0 }
11132
11164
  ],
11133
11165
  ports: [
11134
- { ...refblocks35.top1, labels: ["1", "drain"] },
11166
+ { ...refblocks36.top1, labels: ["1", "drain"] },
11135
11167
  // TODO add more "standard" labels
11136
- { ...refblocks35.bottom1, labels: ["2", "source"] },
11168
+ { ...refblocks36.bottom1, labels: ["2", "source"] },
11137
11169
  // TODO add more "standard" labels
11138
- { ...refblocks35.left1, labels: ["3", "gate"] }
11170
+ { ...refblocks36.left1, labels: ["3", "gate"] }
11139
11171
  // TODO add more "standard" labels
11140
11172
  ],
11141
- size: { width: bounds35.width, height: bounds35.height },
11142
- center: { x: bounds35.centerX, y: bounds35.centerY }
11173
+ size: { width: bounds36.width, height: bounds36.height },
11174
+ center: { x: bounds36.centerX, y: bounds36.centerY }
11143
11175
  });
11144
11176
 
11145
11177
  // symbols/n_channel_d_mosfet_transistor_vert.ts
11146
11178
  var rotatedSymbol9 = rotateSymbol(n_channel_d_mosfet_transistor_horz_default);
11147
- var texts39 = rotatedSymbol9.primitives.filter((p) => p.type === "text");
11148
- var val23 = texts39.find((t) => t.text === "{VAL}");
11179
+ var texts40 = rotatedSymbol9.primitives.filter((p) => p.type === "text");
11180
+ var val23 = texts40.find((t) => t.text === "{VAL}");
11149
11181
  val23.x = -0.35;
11150
11182
  val23.y = 0;
11151
11183
  val23.anchor = "middle_right";
11152
- var ref24 = texts39.find((t) => t.text === "{REF}");
11184
+ var ref24 = texts40.find((t) => t.text === "{REF}");
11153
11185
  ref24.y = 0;
11154
11186
  ref24.x = 0.35;
11155
11187
  ref24.anchor = "middle_left";
@@ -11383,34 +11415,34 @@ var n_channel_e_mosfet_transistor_default = {
11383
11415
  };
11384
11416
 
11385
11417
  // symbols/n_channel_e_mosfet_transistor_horz.ts
11386
- var { paths: paths36, texts: texts40, bounds: bounds36, refblocks: refblocks36, circles: circles33 } = n_channel_e_mosfet_transistor_default;
11418
+ var { paths: paths37, texts: texts41, bounds: bounds37, refblocks: refblocks37, circles: circles34 } = n_channel_e_mosfet_transistor_default;
11387
11419
  var n_channel_e_mosfet_transistor_horz_default = defineSymbol({
11388
11420
  primitives: [
11389
- ...Object.values(paths36),
11390
- ...Object.values(circles33),
11391
- { ...texts40.top1, anchor: "middle_right", x: 0 },
11392
- { ...texts40.bottom1, anchor: "middle_right", x: 0 }
11421
+ ...Object.values(paths37),
11422
+ ...Object.values(circles34),
11423
+ { ...texts41.top1, anchor: "middle_right", x: 0 },
11424
+ { ...texts41.bottom1, anchor: "middle_right", x: 0 }
11393
11425
  ],
11394
11426
  ports: [
11395
- { ...refblocks36.top1, labels: ["1", "drain"] },
11427
+ { ...refblocks37.top1, labels: ["1", "drain"] },
11396
11428
  // TODO add more "standard" labels
11397
- { ...refblocks36.bottom1, labels: ["2", "source"] },
11429
+ { ...refblocks37.bottom1, labels: ["2", "source"] },
11398
11430
  // TODO add more "standard" labels
11399
- { ...refblocks36.left1, labels: ["3", "gate"] }
11431
+ { ...refblocks37.left1, labels: ["3", "gate"] }
11400
11432
  // TODO add more "standard" labels
11401
11433
  ],
11402
- size: { width: bounds36.width, height: bounds36.height },
11403
- center: { x: bounds36.centerX, y: bounds36.centerY }
11434
+ size: { width: bounds37.width, height: bounds37.height },
11435
+ center: { x: bounds37.centerX, y: bounds37.centerY }
11404
11436
  });
11405
11437
 
11406
11438
  // symbols/n_channel_e_mosfet_transistor_vert.ts
11407
11439
  var rotatedSymbol10 = rotateSymbol(n_channel_e_mosfet_transistor_horz_default);
11408
- var texts41 = rotatedSymbol10.primitives.filter((p) => p.type === "text");
11409
- var val24 = texts41.find((t) => t.text === "{VAL}");
11440
+ var texts42 = rotatedSymbol10.primitives.filter((p) => p.type === "text");
11441
+ var val24 = texts42.find((t) => t.text === "{VAL}");
11410
11442
  val24.x = -0.35;
11411
11443
  val24.y = 0;
11412
11444
  val24.anchor = "middle_right";
11413
- var ref25 = texts41.find((t) => t.text === "{REF}");
11445
+ var ref25 = texts42.find((t) => t.text === "{REF}");
11414
11446
  ref25.y = 0;
11415
11447
  ref25.x = 0.35;
11416
11448
  ref25.anchor = "middle_left";
@@ -11584,34 +11616,34 @@ var njfet_transistor_default = {
11584
11616
  };
11585
11617
 
11586
11618
  // symbols/njfet_transistor_horz.ts
11587
- var { paths: paths37, texts: texts42, bounds: bounds37, refblocks: refblocks37, circles: circles34 } = njfet_transistor_default;
11619
+ var { paths: paths38, texts: texts43, bounds: bounds38, refblocks: refblocks38, circles: circles35 } = njfet_transistor_default;
11588
11620
  var njfet_transistor_horz_default = defineSymbol({
11589
11621
  primitives: [
11590
- ...Object.values(paths37),
11591
- ...Object.values(circles34),
11592
- { ...texts42.top1, anchor: "middle_right", x: 0 },
11593
- { ...texts42.bottom1, anchor: "middle_right", x: 0 }
11622
+ ...Object.values(paths38),
11623
+ ...Object.values(circles35),
11624
+ { ...texts43.top1, anchor: "middle_right", x: 0 },
11625
+ { ...texts43.bottom1, anchor: "middle_right", x: 0 }
11594
11626
  ],
11595
11627
  ports: [
11596
- { ...refblocks37.top1, labels: ["1", "drain"] },
11628
+ { ...refblocks38.top1, labels: ["1", "drain"] },
11597
11629
  // TODO add more "standard" labels
11598
- { ...refblocks37.bottom1, labels: ["2", "source"] },
11630
+ { ...refblocks38.bottom1, labels: ["2", "source"] },
11599
11631
  // TODO add more "standard" labels
11600
- { ...refblocks37.left1, labels: ["3", "gate"] }
11632
+ { ...refblocks38.left1, labels: ["3", "gate"] }
11601
11633
  // TODO add more "standard" labels
11602
11634
  ],
11603
- size: { width: bounds37.width, height: bounds37.height },
11604
- center: { x: bounds37.centerX, y: bounds37.centerY }
11635
+ size: { width: bounds38.width, height: bounds38.height },
11636
+ center: { x: bounds38.centerX, y: bounds38.centerY }
11605
11637
  });
11606
11638
 
11607
11639
  // symbols/njfet_transistor_vert.ts
11608
11640
  var rotatedSymbol11 = rotateSymbol(njfet_transistor_horz_default);
11609
- var texts43 = rotatedSymbol11.primitives.filter((p) => p.type === "text");
11610
- var val25 = texts43.find((t) => t.text === "{VAL}");
11641
+ var texts44 = rotatedSymbol11.primitives.filter((p) => p.type === "text");
11642
+ var val25 = texts44.find((t) => t.text === "{VAL}");
11611
11643
  val25.x = -0.35;
11612
11644
  val25.y = 0;
11613
11645
  val25.anchor = "middle_right";
11614
- var ref26 = texts43.find((t) => t.text === "{REF}");
11646
+ var ref26 = texts44.find((t) => t.text === "{REF}");
11615
11647
  ref26.y = 0;
11616
11648
  ref26.x = 0.35;
11617
11649
  ref26.anchor = "middle_left";
@@ -11785,13 +11817,13 @@ var npn_bipolar_transistor_default = {
11785
11817
  };
11786
11818
 
11787
11819
  // symbols/npn_bipolar_transistor_horz.ts
11788
- var { paths: paths38, texts: texts44, bounds: bounds38, refblocks: refblocks38, circles: circles35 } = npn_bipolar_transistor_default;
11820
+ var { paths: paths39, texts: texts45, bounds: bounds39, refblocks: refblocks39, circles: circles36 } = npn_bipolar_transistor_default;
11789
11821
  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();
11790
11822
 
11791
11823
  // symbols/npn_bipolar_transistor_vert.ts
11792
11824
  var rotatedSymbol12 = rotateSymbol(npn_bipolar_transistor_horz_default);
11793
- var texts45 = rotatedSymbol12.primitives.filter((p) => p.type === "text");
11794
- var ref27 = texts45.find((t) => t.text === "{REF}");
11825
+ var texts46 = rotatedSymbol12.primitives.filter((p) => p.type === "text");
11826
+ var ref27 = texts46.find((t) => t.text === "{REF}");
11795
11827
  ref27.anchor = "middle_left";
11796
11828
  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();
11797
11829
 
@@ -12415,34 +12447,34 @@ var p_channel_d_mosfet_transistor_default = {
12415
12447
  };
12416
12448
 
12417
12449
  // symbols/p_channel_d_mosfet_transistor_horz.ts
12418
- var { paths: paths39, texts: texts46, bounds: bounds39, refblocks: refblocks39, circles: circles36 } = p_channel_d_mosfet_transistor_default;
12450
+ var { paths: paths40, texts: texts47, bounds: bounds40, refblocks: refblocks40, circles: circles37 } = p_channel_d_mosfet_transistor_default;
12419
12451
  var p_channel_d_mosfet_transistor_horz_default = defineSymbol({
12420
12452
  primitives: [
12421
- ...Object.values(paths39),
12422
- ...Object.values(circles36),
12423
- { ...texts46.top1, anchor: "middle_right", x: 0 },
12424
- { ...texts46.bottom1, anchor: "middle_right", x: 0 }
12453
+ ...Object.values(paths40),
12454
+ ...Object.values(circles37),
12455
+ { ...texts47.top1, anchor: "middle_right", x: 0 },
12456
+ { ...texts47.bottom1, anchor: "middle_right", x: 0 }
12425
12457
  ],
12426
12458
  ports: [
12427
- { ...refblocks39.top1, labels: ["1", "drain"] },
12459
+ { ...refblocks40.top1, labels: ["1", "drain"] },
12428
12460
  // TODO add more "standard" labels
12429
- { ...refblocks39.bottom1, labels: ["2", "source"] },
12461
+ { ...refblocks40.bottom1, labels: ["2", "source"] },
12430
12462
  // TODO add more "standard" labels
12431
- { ...refblocks39.left1, labels: ["3", "gate"] }
12463
+ { ...refblocks40.left1, labels: ["3", "gate"] }
12432
12464
  // TODO add more "standard" labels
12433
12465
  ],
12434
- size: { width: bounds39.width, height: bounds39.height },
12435
- center: { x: bounds39.centerX, y: bounds39.centerY }
12466
+ size: { width: bounds40.width, height: bounds40.height },
12467
+ center: { x: bounds40.centerX, y: bounds40.centerY }
12436
12468
  });
12437
12469
 
12438
12470
  // symbols/p_channel_d_mosfet_transistor_vert.ts
12439
12471
  var rotatedSymbol13 = rotateSymbol(p_channel_d_mosfet_transistor_horz_default);
12440
- var texts47 = rotatedSymbol13.primitives.filter((p) => p.type === "text");
12441
- var val26 = texts47.find((t) => t.text === "{VAL}");
12472
+ var texts48 = rotatedSymbol13.primitives.filter((p) => p.type === "text");
12473
+ var val26 = texts48.find((t) => t.text === "{VAL}");
12442
12474
  val26.x = -0.35;
12443
12475
  val26.y = 0;
12444
12476
  val26.anchor = "middle_right";
12445
- var ref28 = texts47.find((t) => t.text === "{REF}");
12477
+ var ref28 = texts48.find((t) => t.text === "{REF}");
12446
12478
  ref28.y = 0;
12447
12479
  ref28.x = 0.35;
12448
12480
  ref28.anchor = "middle_left";
@@ -12676,34 +12708,34 @@ var p_channel_e_mosfet_transistor_default = {
12676
12708
  };
12677
12709
 
12678
12710
  // symbols/p_channel_e_mosfet_transistor_horz.ts
12679
- var { paths: paths40, texts: texts48, bounds: bounds40, refblocks: refblocks40, circles: circles37 } = p_channel_e_mosfet_transistor_default;
12711
+ var { paths: paths41, texts: texts49, bounds: bounds41, refblocks: refblocks41, circles: circles38 } = p_channel_e_mosfet_transistor_default;
12680
12712
  var p_channel_e_mosfet_transistor_horz_default = defineSymbol({
12681
12713
  primitives: [
12682
- ...Object.values(paths40),
12683
- ...Object.values(circles37),
12684
- { ...texts48.top1, anchor: "middle_right", x: 0 },
12685
- { ...texts48.bottom1, anchor: "middle_right", x: 0 }
12714
+ ...Object.values(paths41),
12715
+ ...Object.values(circles38),
12716
+ { ...texts49.top1, anchor: "middle_right", x: 0 },
12717
+ { ...texts49.bottom1, anchor: "middle_right", x: 0 }
12686
12718
  ],
12687
12719
  ports: [
12688
- { ...refblocks40.top1, labels: ["1", "drain"] },
12720
+ { ...refblocks41.top1, labels: ["1", "drain"] },
12689
12721
  // TODO add more "standard" labels
12690
- { ...refblocks40.bottom1, labels: ["2", "source"] },
12722
+ { ...refblocks41.bottom1, labels: ["2", "source"] },
12691
12723
  // TODO add more "standard" labels
12692
- { ...refblocks40.left1, labels: ["3", "gate"] }
12724
+ { ...refblocks41.left1, labels: ["3", "gate"] }
12693
12725
  // TODO add more "standard" labels
12694
12726
  ],
12695
- size: { width: bounds40.width, height: bounds40.height },
12696
- center: { x: bounds40.centerX, y: bounds40.centerY }
12727
+ size: { width: bounds41.width, height: bounds41.height },
12728
+ center: { x: bounds41.centerX, y: bounds41.centerY }
12697
12729
  });
12698
12730
 
12699
12731
  // symbols/p_channel_e_mosfet_transistor_vert.ts
12700
12732
  var rotatedSymbol14 = rotateSymbol(p_channel_e_mosfet_transistor_horz_default);
12701
- var texts49 = rotatedSymbol14.primitives.filter((p) => p.type === "text");
12702
- var val27 = texts49.find((t) => t.text === "{VAL}");
12733
+ var texts50 = rotatedSymbol14.primitives.filter((p) => p.type === "text");
12734
+ var val27 = texts50.find((t) => t.text === "{VAL}");
12703
12735
  val27.x = -0.35;
12704
12736
  val27.y = 0;
12705
12737
  val27.anchor = "middle_right";
12706
- var ref29 = texts49.find((t) => t.text === "{REF}");
12738
+ var ref29 = texts50.find((t) => t.text === "{REF}");
12707
12739
  ref29.y = 0;
12708
12740
  ref29.x = 0.35;
12709
12741
  ref29.anchor = "middle_left";
@@ -12938,8 +12970,8 @@ var photodiode_horz_default = modifySymbol(photodiode_default).changeTextAnchor(
12938
12970
 
12939
12971
  // symbols/photodiode_vert.ts
12940
12972
  var rotatedSymbol15 = rotateSymbol(photodiode_horz_default);
12941
- var texts50 = rotatedSymbol15.primitives.filter((p) => p.type === "text");
12942
- var ref30 = texts50.find((t) => t.text === "{REF}");
12973
+ var texts51 = rotatedSymbol15.primitives.filter((p) => p.type === "text");
12974
+ var ref30 = texts51.find((t) => t.text === "{REF}");
12943
12975
  ref30.y = 0;
12944
12976
  ref30.anchor = "middle_left";
12945
12977
  var photodiode_vert_default = rotatedSymbol15;
@@ -13112,34 +13144,34 @@ var pjfet_transistor_default = {
13112
13144
  };
13113
13145
 
13114
13146
  // symbols/pjfet_transistor_horz.ts
13115
- var { paths: paths41, texts: texts51, bounds: bounds41, refblocks: refblocks41, circles: circles38 } = pjfet_transistor_default;
13147
+ var { paths: paths42, texts: texts52, bounds: bounds42, refblocks: refblocks42, circles: circles39 } = pjfet_transistor_default;
13116
13148
  var pjfet_transistor_horz_default = defineSymbol({
13117
13149
  primitives: [
13118
- ...Object.values(paths41),
13119
- ...Object.values(circles38),
13120
- { ...texts51.top1, anchor: "middle_right", x: 0 },
13121
- { ...texts51.bottom1, anchor: "middle_right" }
13150
+ ...Object.values(paths42),
13151
+ ...Object.values(circles39),
13152
+ { ...texts52.top1, anchor: "middle_right", x: 0 },
13153
+ { ...texts52.bottom1, anchor: "middle_right" }
13122
13154
  ],
13123
13155
  ports: [
13124
- { ...refblocks41.top1, labels: ["1", "drain"] },
13156
+ { ...refblocks42.top1, labels: ["1", "drain"] },
13125
13157
  // TODO add more "standard" labels
13126
- { ...refblocks41.bottom1, labels: ["2", "source"] },
13158
+ { ...refblocks42.bottom1, labels: ["2", "source"] },
13127
13159
  // TODO add more "standard" labels
13128
- { ...refblocks41.left1, labels: ["3", "gate"] }
13160
+ { ...refblocks42.left1, labels: ["3", "gate"] }
13129
13161
  // TODO add more "standard" labels
13130
13162
  ],
13131
- size: { width: bounds41.width, height: bounds41.height },
13132
- center: { x: bounds41.centerX, y: bounds41.centerY }
13163
+ size: { width: bounds42.width, height: bounds42.height },
13164
+ center: { x: bounds42.centerX, y: bounds42.centerY }
13133
13165
  });
13134
13166
 
13135
13167
  // symbols/pjfet_transistor_vert.ts
13136
13168
  var rotatedSymbol16 = rotateSymbol(pjfet_transistor_horz_default);
13137
- var texts52 = rotatedSymbol16.primitives.filter((p) => p.type === "text");
13138
- var val28 = texts52.find((t) => t.text === "{VAL}");
13169
+ var texts53 = rotatedSymbol16.primitives.filter((p) => p.type === "text");
13170
+ var val28 = texts53.find((t) => t.text === "{VAL}");
13139
13171
  val28.x = -0.35;
13140
13172
  val28.y = 0;
13141
13173
  val28.anchor = "middle_right";
13142
- var ref31 = texts52.find((t) => t.text === "{REF}");
13174
+ var ref31 = texts53.find((t) => t.text === "{REF}");
13143
13175
  ref31.y = 0;
13144
13176
  ref31.x = 0.35;
13145
13177
  ref31.anchor = "middle_left";
@@ -13317,8 +13349,8 @@ var pnp_bipolar_transistor_horz_default = modifySymbol(pnp_bipolar_transistor_de
13317
13349
 
13318
13350
  // symbols/pnp_bipolar_transistor_vert.ts
13319
13351
  var rotatedSymbol17 = rotateSymbol(pnp_bipolar_transistor_horz_default);
13320
- var texts53 = rotatedSymbol17.primitives.filter((p) => p.type === "text");
13321
- var ref32 = texts53.find((t) => t.text === "{REF}");
13352
+ var texts54 = rotatedSymbol17.primitives.filter((p) => p.type === "text");
13353
+ var ref32 = texts54.find((t) => t.text === "{REF}");
13322
13354
  ref32.anchor = "middle_left";
13323
13355
  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();
13324
13356
 
@@ -13732,21 +13764,21 @@ var potentiometer_default = {
13732
13764
  };
13733
13765
 
13734
13766
  // symbols/potentiometer_horz.ts
13735
- var { paths: paths42, texts: texts54, bounds: bounds42, refblocks: refblocks42 } = potentiometer_default;
13767
+ var { paths: paths43, texts: texts55, bounds: bounds43, refblocks: refblocks43 } = potentiometer_default;
13736
13768
  var potentiometer_horz_default = defineSymbol({
13737
13769
  primitives: [
13738
- ...Object.values(paths42),
13739
- { ...texts54.bottom1, y: 0.35, anchor: "middle_top" },
13740
- { ...texts54.top1, anchor: "middle_left" }
13770
+ ...Object.values(paths43),
13771
+ { ...texts55.bottom1, y: 0.35, anchor: "middle_top" },
13772
+ { ...texts55.top1, anchor: "middle_left" }
13741
13773
  ],
13742
13774
  ports: [
13743
- { ...refblocks42.left1, labels: ["1"] },
13775
+ { ...refblocks43.left1, labels: ["1"] },
13744
13776
  // TODO add more "standard" labels
13745
- { ...refblocks42.right1, labels: ["2"] }
13777
+ { ...refblocks43.right1, labels: ["2"] }
13746
13778
  // TODO add more "standard" labels
13747
13779
  ],
13748
- size: { width: bounds42.width + 0.05, height: bounds42.height },
13749
- center: { x: bounds42.centerX, y: bounds42.centerY }
13780
+ size: { width: bounds43.width + 0.05, height: bounds43.height },
13781
+ center: { x: bounds43.centerX, y: bounds43.centerY }
13750
13782
  });
13751
13783
 
13752
13784
  // symbols/potentiometer_vert.ts
@@ -13909,29 +13941,29 @@ var potentiometer2_default = {
13909
13941
  };
13910
13942
 
13911
13943
  // symbols/potentiometer2_horz.ts
13912
- var { paths: paths43, texts: texts55, bounds: bounds43, refblocks: refblocks43 } = potentiometer2_default;
13944
+ var { paths: paths44, texts: texts56, bounds: bounds44, refblocks: refblocks44 } = potentiometer2_default;
13913
13945
  var potentiometer2_horz_default = defineSymbol({
13914
13946
  primitives: [
13915
- ...Object.values(paths43),
13916
- { ...texts55.bottom1, anchor: "middle_top" },
13917
- { ...texts55.top1, anchor: "middle_bottom" }
13947
+ ...Object.values(paths44),
13948
+ { ...texts56.bottom1, anchor: "middle_top" },
13949
+ { ...texts56.top1, anchor: "middle_bottom" }
13918
13950
  ],
13919
13951
  ports: [
13920
- { ...refblocks43.left1, labels: ["1"] },
13952
+ { ...refblocks44.left1, labels: ["1"] },
13921
13953
  // TODO add more "standard" labels
13922
- { ...refblocks43.right1, labels: ["2"] }
13954
+ { ...refblocks44.right1, labels: ["2"] }
13923
13955
  // TODO add more "standard" labels
13924
13956
  ],
13925
- size: { width: bounds43.width, height: bounds43.height },
13926
- center: { x: bounds43.centerX, y: bounds43.centerY }
13957
+ size: { width: bounds44.width, height: bounds44.height },
13958
+ center: { x: bounds44.centerX, y: bounds44.centerY }
13927
13959
  });
13928
13960
 
13929
13961
  // symbols/potentiometer2_vert.ts
13930
13962
  var rotated19 = rotateSymbol(potentiometer2_horz_default);
13931
- var texts56 = rotated19.primitives.filter((p) => p.type === "text");
13932
- var val29 = texts56.find((t) => t.text === "{VAL}");
13963
+ var texts57 = rotated19.primitives.filter((p) => p.type === "text");
13964
+ var val29 = texts57.find((t) => t.text === "{VAL}");
13933
13965
  val29.anchor = "middle_right";
13934
- var ref33 = texts56.find((t) => t.text === "{REF}");
13966
+ var ref33 = texts57.find((t) => t.text === "{REF}");
13935
13967
  ref33.anchor = "middle_left";
13936
13968
  var potentiometer2_vert_default = rotated19;
13937
13969
 
@@ -14129,11 +14161,11 @@ var power_factor_meter_default = {
14129
14161
  };
14130
14162
 
14131
14163
  // symbols/power_factor_meter_horz.ts
14132
- var { paths: paths44, texts: texts57, bounds: bounds44, refblocks: refblocks44, circles: circles39 } = power_factor_meter_default;
14164
+ var { paths: paths45, texts: texts58, bounds: bounds45, refblocks: refblocks45, circles: circles40 } = power_factor_meter_default;
14133
14165
  var power_factor_meter_horz_default = defineSymbol({
14134
14166
  primitives: [
14135
- ...Object.values(paths44),
14136
- ...Object.values(circles39),
14167
+ ...Object.values(paths45),
14168
+ ...Object.values(circles40),
14137
14169
  // { ...texts.top1, anchor: "middle_left" },
14138
14170
  {
14139
14171
  type: "text",
@@ -14160,21 +14192,21 @@ var power_factor_meter_horz_default = defineSymbol({
14160
14192
  }
14161
14193
  ],
14162
14194
  ports: [
14163
- { ...refblocks44.left1, labels: ["1"] },
14195
+ { ...refblocks45.left1, labels: ["1"] },
14164
14196
  // TODO add more "standard" labels
14165
- { ...refblocks44.right1, labels: ["2"] }
14197
+ { ...refblocks45.right1, labels: ["2"] }
14166
14198
  // TODO add more "standard" labels
14167
14199
  ],
14168
- size: { width: bounds44.width, height: bounds44.height },
14169
- center: { x: bounds44.centerX, y: bounds44.centerY }
14200
+ size: { width: bounds45.width, height: bounds45.height },
14201
+ center: { x: bounds45.centerX, y: bounds45.centerY }
14170
14202
  });
14171
14203
 
14172
14204
  // symbols/power_factor_meter_vert.ts
14173
14205
  var rotatedSymbol18 = rotateSymbol(power_factor_meter_horz_default);
14174
- var texts58 = rotatedSymbol18.primitives.filter((p) => p.type === "text");
14175
- var ref34 = texts58.find((t) => t.text === "{REF}");
14176
- var val30 = texts58.find((t) => t.text === "{VAL}");
14177
- var text_cos = texts58.find((t) => t.text === "COS \u03C6");
14206
+ var texts59 = rotatedSymbol18.primitives.filter((p) => p.type === "text");
14207
+ var ref34 = texts59.find((t) => t.text === "{REF}");
14208
+ var val30 = texts59.find((t) => t.text === "{VAL}");
14209
+ var text_cos = texts59.find((t) => t.text === "COS \u03C6");
14178
14210
  ref34.x = 0.35;
14179
14211
  ref34.y = 0;
14180
14212
  ref34.anchor = "middle_left";
@@ -14305,22 +14337,22 @@ var push_button_normally_closed_momentary_default = {
14305
14337
  };
14306
14338
 
14307
14339
  // symbols/push_button_normally_closed_momentary_horz.ts
14308
- var { paths: paths45, texts: texts59, bounds: bounds45, refblocks: refblocks45, circles: circles40 } = push_button_normally_closed_momentary_default;
14340
+ var { paths: paths46, texts: texts60, bounds: bounds46, refblocks: refblocks46, circles: circles41 } = push_button_normally_closed_momentary_default;
14309
14341
  var push_button_normally_closed_momentary_horz_default = defineSymbol({
14310
14342
  primitives: [
14311
- ...Object.values(paths45),
14312
- ...Object.values(circles40),
14313
- { ...texts59.top1, anchor: "middle_left" },
14314
- { ...texts59.bottom1, anchor: "middle_left" }
14343
+ ...Object.values(paths46),
14344
+ ...Object.values(circles41),
14345
+ { ...texts60.top1, anchor: "middle_left" },
14346
+ { ...texts60.bottom1, anchor: "middle_left" }
14315
14347
  ],
14316
14348
  ports: [
14317
- { ...refblocks45.left1, labels: ["1"] },
14349
+ { ...refblocks46.left1, labels: ["1"] },
14318
14350
  // TODO add more "standard" labels
14319
- { ...refblocks45.right1, labels: ["2"] }
14351
+ { ...refblocks46.right1, labels: ["2"] }
14320
14352
  // TODO add more "standard" labels
14321
14353
  ],
14322
- size: { width: bounds45.width, height: bounds45.height },
14323
- center: { x: bounds45.centerX, y: bounds45.centerY }
14354
+ size: { width: bounds46.width, height: bounds46.height },
14355
+ center: { x: bounds46.centerX, y: bounds46.centerY }
14324
14356
  });
14325
14357
 
14326
14358
  // symbols/push_button_normally_closed_momentary_vert.ts
@@ -14475,22 +14507,22 @@ var push_button_normally_open_momentary_default = {
14475
14507
  };
14476
14508
 
14477
14509
  // symbols/push_button_normally_open_momentary_horz.ts
14478
- var { paths: paths46, texts: texts60, bounds: bounds46, refblocks: refblocks46, circles: circles41 } = push_button_normally_open_momentary_default;
14510
+ var { paths: paths47, texts: texts61, bounds: bounds47, refblocks: refblocks47, circles: circles42 } = push_button_normally_open_momentary_default;
14479
14511
  var push_button_normally_open_momentary_horz_default = defineSymbol({
14480
14512
  primitives: [
14481
- ...Object.values(paths46),
14482
- ...Object.values(circles41),
14483
- { ...texts60.top1, anchor: "middle_left" },
14484
- { ...texts60.bottom1, anchor: "middle_left" }
14513
+ ...Object.values(paths47),
14514
+ ...Object.values(circles42),
14515
+ { ...texts61.top1, anchor: "middle_left" },
14516
+ { ...texts61.bottom1, anchor: "middle_left" }
14485
14517
  ],
14486
14518
  ports: [
14487
- { ...refblocks46.left1, labels: ["1"] },
14519
+ { ...refblocks47.left1, labels: ["1"] },
14488
14520
  // TODO add more "standard" labels
14489
- { ...refblocks46.right1, labels: ["2"] }
14521
+ { ...refblocks47.right1, labels: ["2"] }
14490
14522
  // TODO add more "standard" labels
14491
14523
  ],
14492
- size: { width: bounds46.width, height: bounds46.height },
14493
- center: { x: bounds46.centerX, y: bounds46.centerY }
14524
+ size: { width: bounds47.width, height: bounds47.height },
14525
+ center: { x: bounds47.centerX, y: bounds47.centerY }
14494
14526
  });
14495
14527
 
14496
14528
  // symbols/push_button_normally_open_momentary_vert.ts
@@ -14906,26 +14938,26 @@ var rectifier_diode_default = {
14906
14938
  };
14907
14939
 
14908
14940
  // symbols/rectifier_diode_horz.ts
14909
- var { paths: paths47, texts: texts61, bounds: bounds47, refblocks: refblocks47, circles: circles42 } = rectifier_diode_default;
14941
+ var { paths: paths48, texts: texts62, bounds: bounds48, refblocks: refblocks48, circles: circles43 } = rectifier_diode_default;
14910
14942
  var rectifier_diode_horz_default = defineSymbol({
14911
14943
  primitives: [
14912
- ...Object.values(paths47),
14913
- ...Object.values(circles42),
14914
- { ...texts61.top1, anchor: "middle_right" },
14915
- { ...texts61.bottom1, anchor: "middle_right" }
14944
+ ...Object.values(paths48),
14945
+ ...Object.values(circles43),
14946
+ { ...texts62.top1, anchor: "middle_right" },
14947
+ { ...texts62.bottom1, anchor: "middle_right" }
14916
14948
  ],
14917
14949
  ports: [
14918
- { ...refblocks47.top1, labels: ["1"] },
14950
+ { ...refblocks48.top1, labels: ["1"] },
14919
14951
  // TODO add more "standard" labels
14920
- { ...refblocks47.bottom1, labels: ["2"] },
14952
+ { ...refblocks48.bottom1, labels: ["2"] },
14921
14953
  // TODO add more "standard" labels
14922
- { ...refblocks47.left1, labels: ["3"] },
14954
+ { ...refblocks48.left1, labels: ["3"] },
14923
14955
  // TODO add more "standard" labels
14924
- { ...refblocks47.right1, labels: ["4"] }
14956
+ { ...refblocks48.right1, labels: ["4"] }
14925
14957
  // TODO add more "standard" labels
14926
14958
  ],
14927
- size: { width: bounds47.width, height: bounds47.height },
14928
- center: { x: bounds47.centerX, y: bounds47.centerY }
14959
+ size: { width: bounds48.width, height: bounds48.height },
14960
+ center: { x: bounds48.centerX, y: bounds48.centerY }
14929
14961
  });
14930
14962
 
14931
14963
  // symbols/rectifier_diode_vert.ts
@@ -15147,11 +15179,11 @@ var resistor_default = {
15147
15179
  };
15148
15180
 
15149
15181
  // symbols/resistor_down.ts
15150
- var { paths: paths48, texts: texts62, bounds: bounds48, refblocks: refblocks48, circles: circles43 } = resistor_default;
15182
+ var { paths: paths49, texts: texts63, bounds: bounds49, refblocks: refblocks49, circles: circles44 } = resistor_default;
15151
15183
  var resistor_down_default = modifySymbol({
15152
15184
  primitives: [
15153
- ...Object.values(paths48),
15154
- ...Object.values(circles43),
15185
+ ...Object.values(paths49),
15186
+ ...Object.values(circles44),
15155
15187
  {
15156
15188
  type: "text",
15157
15189
  text: "{REF}",
@@ -15166,21 +15198,21 @@ var resistor_down_default = modifySymbol({
15166
15198
  }
15167
15199
  ],
15168
15200
  ports: [
15169
- { ...refblocks48.left1, labels: ["1"] },
15201
+ { ...refblocks49.left1, labels: ["1"] },
15170
15202
  // TODO add more "standard" labels
15171
- { ...refblocks48.right1, labels: ["2"] }
15203
+ { ...refblocks49.right1, labels: ["2"] }
15172
15204
  // TODO add more "standard" labels
15173
15205
  ],
15174
- size: { width: bounds48.width, height: bounds48.height },
15175
- center: { x: bounds48.centerX, y: bounds48.centerY }
15206
+ size: { width: bounds49.width, height: bounds49.height },
15207
+ center: { x: bounds49.centerX, y: bounds49.centerY }
15176
15208
  }).rotateRightFacingSymbol("down").labelPort("left", ["1"]).labelPort("right", ["2"]).changeTextAnchor("{REF}", "middle_left").changeTextAnchor("{VAL}", "middle_left").build();
15177
15209
 
15178
15210
  // symbols/resistor_left.ts
15179
- var { paths: paths49, texts: texts63, bounds: bounds49, refblocks: refblocks49, circles: circles44 } = resistor_default;
15211
+ var { paths: paths50, texts: texts64, bounds: bounds50, refblocks: refblocks50, circles: circles45 } = resistor_default;
15180
15212
  var resistor_left_default = modifySymbol({
15181
15213
  primitives: [
15182
- ...Object.values(paths49),
15183
- ...Object.values(circles44),
15214
+ ...Object.values(paths50),
15215
+ ...Object.values(circles45),
15184
15216
  {
15185
15217
  type: "text",
15186
15218
  text: "{REF}",
@@ -15195,21 +15227,21 @@ var resistor_left_default = modifySymbol({
15195
15227
  }
15196
15228
  ],
15197
15229
  ports: [
15198
- { ...refblocks49.left1, labels: ["1"] },
15230
+ { ...refblocks50.left1, labels: ["1"] },
15199
15231
  // TODO add more "standard" labels
15200
- { ...refblocks49.right1, labels: ["2"] }
15232
+ { ...refblocks50.right1, labels: ["2"] }
15201
15233
  // TODO add more "standard" labels
15202
15234
  ],
15203
- size: { width: bounds49.width, height: bounds49.height },
15204
- center: { x: bounds49.centerX, y: bounds49.centerY }
15235
+ size: { width: bounds50.width, height: bounds50.height },
15236
+ center: { x: bounds50.centerX, y: bounds50.centerY }
15205
15237
  }).rotateRightFacingSymbol("left").labelPort("left", ["1"]).labelPort("right", ["2"]).changeTextAnchor("{REF}", "middle_bottom").changeTextAnchor("{VAL}", "middle_top").build();
15206
15238
 
15207
15239
  // symbols/resistor_right.ts
15208
- var { paths: paths50, texts: texts64, bounds: bounds50, refblocks: refblocks50, circles: circles45 } = resistor_default;
15240
+ var { paths: paths51, texts: texts65, bounds: bounds51, refblocks: refblocks51, circles: circles46 } = resistor_default;
15209
15241
  var resistor_right_default = modifySymbol({
15210
15242
  primitives: [
15211
- ...Object.values(paths50),
15212
- ...Object.values(circles45),
15243
+ ...Object.values(paths51),
15244
+ ...Object.values(circles46),
15213
15245
  {
15214
15246
  type: "text",
15215
15247
  text: "{REF}",
@@ -15224,21 +15256,21 @@ var resistor_right_default = modifySymbol({
15224
15256
  }
15225
15257
  ],
15226
15258
  ports: [
15227
- { ...refblocks50.left1, labels: ["1"] },
15259
+ { ...refblocks51.left1, labels: ["1"] },
15228
15260
  // TODO add more "standard" labels
15229
- { ...refblocks50.right1, labels: ["2"] }
15261
+ { ...refblocks51.right1, labels: ["2"] }
15230
15262
  // TODO add more "standard" labels
15231
15263
  ],
15232
- size: { width: bounds50.width, height: bounds50.height },
15233
- center: { x: bounds50.centerX, y: bounds50.centerY }
15264
+ size: { width: bounds51.width, height: bounds51.height },
15265
+ center: { x: bounds51.centerX, y: bounds51.centerY }
15234
15266
  }).rotateRightFacingSymbol("right").labelPort("left", ["1"]).labelPort("right", ["2"]).changeTextAnchor("{REF}", "middle_bottom").changeTextAnchor("{VAL}", "middle_top").build();
15235
15267
 
15236
15268
  // symbols/resistor_up.ts
15237
- var { paths: paths51, texts: texts65, bounds: bounds51, refblocks: refblocks51, circles: circles46 } = resistor_default;
15269
+ var { paths: paths52, texts: texts66, bounds: bounds52, refblocks: refblocks52, circles: circles47 } = resistor_default;
15238
15270
  var resistor_up_default = modifySymbol({
15239
15271
  primitives: [
15240
- ...Object.values(paths51),
15241
- ...Object.values(circles46),
15272
+ ...Object.values(paths52),
15273
+ ...Object.values(circles47),
15242
15274
  {
15243
15275
  type: "text",
15244
15276
  text: "{REF}",
@@ -15253,13 +15285,13 @@ var resistor_up_default = modifySymbol({
15253
15285
  }
15254
15286
  ],
15255
15287
  ports: [
15256
- { ...refblocks51.left1, labels: ["1"] },
15288
+ { ...refblocks52.left1, labels: ["1"] },
15257
15289
  // TODO add more "standard" labels
15258
- { ...refblocks51.right1, labels: ["2"] }
15290
+ { ...refblocks52.right1, labels: ["2"] }
15259
15291
  // TODO add more "standard" labels
15260
15292
  ],
15261
- size: { width: bounds51.width, height: bounds51.height },
15262
- center: { x: bounds51.centerX, y: bounds51.centerY }
15293
+ size: { width: bounds52.width, height: bounds52.height },
15294
+ center: { x: bounds52.centerX, y: bounds52.centerY }
15263
15295
  }).rotateRightFacingSymbol("up").labelPort("left", ["1"]).labelPort("right", ["2"]).changeTextAnchor("{REF}", "middle_left").changeTextAnchor("{VAL}", "middle_left").build();
15264
15296
 
15265
15297
  // assets/generated/resonator.json
@@ -15608,11 +15640,11 @@ var resonator_default = {
15608
15640
  };
15609
15641
 
15610
15642
  // symbols/resonator_horz.ts
15611
- var { paths: paths52, texts: texts66, bounds: bounds52, refblocks: refblocks52, circles: circles47 } = resonator_default;
15643
+ var { paths: paths53, texts: texts67, bounds: bounds53, refblocks: refblocks53, circles: circles48 } = resonator_default;
15612
15644
  var resonator_horz_default = defineSymbol({
15613
15645
  primitives: [
15614
- ...Object.values(paths52),
15615
- ...Object.values(circles47),
15646
+ ...Object.values(paths53),
15647
+ ...Object.values(circles48),
15616
15648
  // { ...texts.top1, anchor: "middle_left" },
15617
15649
  // { ...texts.bottom1, anchor: "middle_left" },
15618
15650
  {
@@ -15631,15 +15663,15 @@ var resonator_horz_default = defineSymbol({
15631
15663
  }
15632
15664
  ],
15633
15665
  ports: [
15634
- { ...refblocks52.left1, labels: ["1"] },
15666
+ { ...refblocks53.left1, labels: ["1"] },
15635
15667
  // TODO add more "standard" labels
15636
- { ...refblocks52.right1, labels: ["2"] },
15668
+ { ...refblocks53.right1, labels: ["2"] },
15637
15669
  // TODO add more "standard" labels
15638
- { ...refblocks52.right2, labels: ["3"] }
15670
+ { ...refblocks53.right2, labels: ["3"] }
15639
15671
  // TODO add more "standard" labels
15640
15672
  ],
15641
- size: { width: bounds52.width, height: bounds52.height },
15642
- center: { x: bounds52.centerX, y: bounds52.centerY }
15673
+ size: { width: bounds53.width, height: bounds53.height },
15674
+ center: { x: bounds53.centerX, y: bounds53.centerY }
15643
15675
  });
15644
15676
 
15645
15677
  // symbols/resonator_vert.ts
@@ -15995,15 +16027,15 @@ var silicon_controlled_rectifier_default = {
15995
16027
  };
15996
16028
 
15997
16029
  // symbols/silicon_controlled_rectifier_horz.ts
15998
- var { paths: paths53, texts: texts67, bounds: bounds53, refblocks: refblocks53, circles: circles48 } = silicon_controlled_rectifier_default;
16030
+ var { paths: paths54, texts: texts68, bounds: bounds54, refblocks: refblocks54, circles: circles49 } = silicon_controlled_rectifier_default;
15999
16031
  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();
16000
16032
 
16001
16033
  // symbols/silicon_controlled_rectifier_vert.ts
16002
16034
  var rotatedSymbol19 = rotateSymbol(silicon_controlled_rectifier_horz_default);
16003
- var texts68 = rotatedSymbol19.primitives.filter(
16035
+ var texts69 = rotatedSymbol19.primitives.filter(
16004
16036
  (primitive) => primitive.type === "text"
16005
16037
  );
16006
- var ref37 = texts68.find((text) => text.text === "{REF}");
16038
+ var ref37 = texts69.find((text) => text.text === "{REF}");
16007
16039
  ref37.y = 0;
16008
16040
  ref37.anchor = "middle_left";
16009
16041
  var silicon_controlled_rectifier_vert_default = rotatedSymbol19;
@@ -19563,7 +19595,7 @@ var step_recovery_diode_default = {
19563
19595
  };
19564
19596
 
19565
19597
  // symbols/step_recovery_diode_horz.ts
19566
- var { paths: paths54, texts: texts69, bounds: bounds54, refblocks: refblocks54, circles: circles49 } = step_recovery_diode_default;
19598
+ var { paths: paths55, texts: texts70, bounds: bounds55, refblocks: refblocks55, circles: circles50 } = step_recovery_diode_default;
19567
19599
  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();
19568
19600
 
19569
19601
  // symbols/step_recovery_diode_vert.ts
@@ -19656,11 +19688,11 @@ var tachometer_default = {
19656
19688
  };
19657
19689
 
19658
19690
  // symbols/tachometer_horz.ts
19659
- var { paths: paths55, texts: texts70, bounds: bounds55, refblocks: refblocks55, circles: circles50 } = tachometer_default;
19691
+ var { paths: paths56, texts: texts71, bounds: bounds56, refblocks: refblocks56, circles: circles51 } = tachometer_default;
19660
19692
  var tachometer_horz_default = defineSymbol({
19661
19693
  primitives: [
19662
- ...Object.values(paths55),
19663
- ...Object.values(circles50),
19694
+ ...Object.values(paths56),
19695
+ ...Object.values(circles51),
19664
19696
  {
19665
19697
  type: "text",
19666
19698
  text: "{REF}",
@@ -19675,16 +19707,16 @@ var tachometer_horz_default = defineSymbol({
19675
19707
  y: 0.35,
19676
19708
  anchor: "middle_bottom"
19677
19709
  },
19678
- { ...texts70.left1, y: 0.01, anchor: "center", fontSize: 0.2 }
19710
+ { ...texts71.left1, y: 0.01, anchor: "center", fontSize: 0.2 }
19679
19711
  ],
19680
19712
  ports: [
19681
- { ...refblocks55.left1, labels: ["1"] },
19713
+ { ...refblocks56.left1, labels: ["1"] },
19682
19714
  // TODO add more "standard" labels
19683
- { ...refblocks55.right1, labels: ["2"] }
19715
+ { ...refblocks56.right1, labels: ["2"] }
19684
19716
  // TODO add more "standard" labels
19685
19717
  ],
19686
- size: { width: bounds55.width, height: bounds55.height },
19687
- center: { x: bounds55.centerX, y: bounds55.centerY }
19718
+ size: { width: bounds56.width, height: bounds56.height },
19719
+ center: { x: bounds56.centerX, y: bounds56.centerY }
19688
19720
  });
19689
19721
 
19690
19722
  // symbols/tachometer_vert.ts
@@ -20106,16 +20138,16 @@ var triac_default = {
20106
20138
  };
20107
20139
 
20108
20140
  // symbols/triac_horz.ts
20109
- var { paths: paths56, texts: texts71, bounds: bounds56, refblocks: refblocks56, circles: circles51 } = triac_default;
20141
+ var { paths: paths57, texts: texts72, bounds: bounds57, refblocks: refblocks57, circles: circles52 } = triac_default;
20110
20142
  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();
20111
20143
 
20112
20144
  // symbols/triac_vert.ts
20113
20145
  var rotatedSymbol21 = rotateSymbol(triac_horz_default);
20114
- var texts72 = rotatedSymbol21.primitives.filter(
20146
+ var texts73 = rotatedSymbol21.primitives.filter(
20115
20147
  (primitive) => primitive.type === "text"
20116
20148
  );
20117
- var ref55 = texts72.find((text) => text.text === "{REF}");
20118
- var val48 = texts72.find((text) => text.text === "{VAL}");
20149
+ var ref55 = texts73.find((text) => text.text === "{REF}");
20150
+ var val48 = texts73.find((text) => text.text === "{VAL}");
20119
20151
  ref55.y = 0;
20120
20152
  val48.y = 0;
20121
20153
  var triac_vert_default = rotatedSymbol21;
@@ -20282,22 +20314,22 @@ var tunnel_diode_default = {
20282
20314
  };
20283
20315
 
20284
20316
  // symbols/tunnel_diode_horz.ts
20285
- var { paths: paths57, texts: texts73, bounds: bounds57, refblocks: refblocks57, circles: circles52 } = tunnel_diode_default;
20317
+ var { paths: paths58, texts: texts74, bounds: bounds58, refblocks: refblocks58, circles: circles53 } = tunnel_diode_default;
20286
20318
  var tunnel_diode_horz_default = defineSymbol({
20287
20319
  primitives: [
20288
- ...Object.values(paths57),
20289
- ...Object.values(circles52),
20290
- { ...texts73.top1, anchor: "middle_bottom" },
20291
- { ...texts73.bottom1, anchor: "middle_top" }
20320
+ ...Object.values(paths58),
20321
+ ...Object.values(circles53),
20322
+ { ...texts74.top1, anchor: "middle_bottom" },
20323
+ { ...texts74.bottom1, anchor: "middle_top" }
20292
20324
  ],
20293
20325
  ports: [
20294
- { ...refblocks57.left1, labels: ["1"] },
20326
+ { ...refblocks58.left1, labels: ["1"] },
20295
20327
  // TODO add more "standard" labels
20296
- { ...refblocks57.right1, labels: ["2"] }
20328
+ { ...refblocks58.right1, labels: ["2"] }
20297
20329
  // TODO add more "standard" labels
20298
20330
  ],
20299
- size: { width: bounds57.width, height: bounds57.height },
20300
- center: { x: bounds57.centerX, y: bounds57.centerY }
20331
+ size: { width: bounds58.width, height: bounds58.height },
20332
+ center: { x: bounds58.centerX, y: bounds58.centerY }
20301
20333
  });
20302
20334
 
20303
20335
  // symbols/tunnel_diode_vert.ts
@@ -20480,34 +20512,34 @@ var unijunction_transistor_default = {
20480
20512
  };
20481
20513
 
20482
20514
  // symbols/unijunction_transistor_horz.ts
20483
- var { paths: paths58, texts: texts74, bounds: bounds58, refblocks: refblocks58, circles: circles53 } = unijunction_transistor_default;
20515
+ var { paths: paths59, texts: texts75, bounds: bounds59, refblocks: refblocks59, circles: circles54 } = unijunction_transistor_default;
20484
20516
  var unijunction_transistor_horz_default = defineSymbol({
20485
20517
  primitives: [
20486
- ...Object.values(paths58),
20487
- ...Object.values(circles53),
20488
- { ...texts74.top1, anchor: "middle_left" },
20489
- { ...texts74.bottom1, anchor: "middle_right" }
20518
+ ...Object.values(paths59),
20519
+ ...Object.values(circles54),
20520
+ { ...texts75.top1, anchor: "middle_left" },
20521
+ { ...texts75.bottom1, anchor: "middle_right" }
20490
20522
  ],
20491
20523
  ports: [
20492
- { ...refblocks58.top1, labels: ["1"] },
20524
+ { ...refblocks59.top1, labels: ["1"] },
20493
20525
  // TODO add more "standard" labels
20494
- { ...refblocks58.bottom1, labels: ["2"] },
20526
+ { ...refblocks59.bottom1, labels: ["2"] },
20495
20527
  // TODO add more "standard" labels
20496
- { ...refblocks58.left1, labels: ["3"] }
20528
+ { ...refblocks59.left1, labels: ["3"] }
20497
20529
  // TODO add more "standard" labels
20498
20530
  ],
20499
- size: { width: bounds58.width, height: bounds58.height },
20500
- center: { x: bounds58.centerX, y: bounds58.centerY }
20531
+ size: { width: bounds59.width, height: bounds59.height },
20532
+ center: { x: bounds59.centerX, y: bounds59.centerY }
20501
20533
  });
20502
20534
 
20503
20535
  // symbols/unijunction_transistor_vert.ts
20504
20536
  var rotatedSymbol22 = rotateSymbol(unijunction_transistor_horz_default);
20505
- var texts75 = rotatedSymbol22.primitives.filter(
20537
+ var texts76 = rotatedSymbol22.primitives.filter(
20506
20538
  (primitive) => primitive.type === "text"
20507
20539
  );
20508
- var ref57 = texts75.find((text) => text.text === "{REF}");
20540
+ var ref57 = texts76.find((text) => text.text === "{REF}");
20509
20541
  ref57.y = 0.1;
20510
- var val50 = texts75.find((text) => text.text === "{VAL}");
20542
+ var val50 = texts76.find((text) => text.text === "{VAL}");
20511
20543
  val50.y = 0.1;
20512
20544
  val50.x = -0.4;
20513
20545
  var unijunction_transistor_vert_default = rotatedSymbol22;
@@ -20599,33 +20631,33 @@ var var_meter_default = {
20599
20631
  };
20600
20632
 
20601
20633
  // symbols/var_meter_horz.ts
20602
- var { paths: paths59, texts: texts76, bounds: bounds59, refblocks: refblocks59, circles: circles54 } = var_meter_default;
20634
+ var { paths: paths60, texts: texts77, bounds: bounds60, refblocks: refblocks60, circles: circles55 } = var_meter_default;
20603
20635
  var var_meter_horz_default = defineSymbol({
20604
20636
  primitives: [
20605
- ...Object.values(paths59),
20606
- ...Object.values(circles54),
20637
+ ...Object.values(paths60),
20638
+ ...Object.values(circles55),
20607
20639
  {
20608
- ...texts76.top1,
20640
+ ...texts77.top1,
20609
20641
  x: 0,
20610
20642
  y: -0.3594553499999995,
20611
20643
  anchor: "middle_top"
20612
20644
  },
20613
20645
  {
20614
- ...texts76.bottom1,
20646
+ ...texts77.bottom1,
20615
20647
  x: 0,
20616
20648
  y: 0.35,
20617
20649
  anchor: "middle_bottom"
20618
20650
  },
20619
- { ...texts76.left1, x: -0.02, y: 0.01, fontSize: 0.2, anchor: "center" }
20651
+ { ...texts77.left1, x: -0.02, y: 0.01, fontSize: 0.2, anchor: "center" }
20620
20652
  ],
20621
20653
  ports: [
20622
- { ...refblocks59.left1, labels: ["1"] },
20654
+ { ...refblocks60.left1, labels: ["1"] },
20623
20655
  // TODO add more "standard" labels
20624
- { ...refblocks59.right1, labels: ["2"] }
20656
+ { ...refblocks60.right1, labels: ["2"] }
20625
20657
  // TODO add more "standard" labels
20626
20658
  ],
20627
- size: { width: bounds59.width, height: bounds59.height },
20628
- center: { x: bounds59.centerX, y: bounds59.centerY }
20659
+ size: { width: bounds60.width, height: bounds60.height },
20660
+ center: { x: bounds60.centerX, y: bounds60.centerY }
20629
20661
  });
20630
20662
 
20631
20663
  // symbols/var_meter_vert.ts
@@ -20778,22 +20810,22 @@ var varactor_diode_default = {
20778
20810
  };
20779
20811
 
20780
20812
  // symbols/varactor_diode_horz.ts
20781
- var { paths: paths60, texts: texts77, bounds: bounds60, refblocks: refblocks60, circles: circles55 } = varactor_diode_default;
20813
+ var { paths: paths61, texts: texts78, bounds: bounds61, refblocks: refblocks61, circles: circles56 } = varactor_diode_default;
20782
20814
  var varactor_diode_horz_default = defineSymbol({
20783
20815
  primitives: [
20784
- ...Object.values(paths60),
20785
- ...Object.values(circles55),
20786
- { ...texts77.top1, anchor: "middle_bottom" },
20787
- { ...texts77.bottom1, anchor: "middle_top" }
20816
+ ...Object.values(paths61),
20817
+ ...Object.values(circles56),
20818
+ { ...texts78.top1, anchor: "middle_bottom" },
20819
+ { ...texts78.bottom1, anchor: "middle_top" }
20788
20820
  ],
20789
20821
  ports: [
20790
- { ...refblocks60.left1, labels: ["1"] },
20822
+ { ...refblocks61.left1, labels: ["1"] },
20791
20823
  // TODO add more "standard" labels
20792
- { ...refblocks60.right1, labels: ["2"] }
20824
+ { ...refblocks61.right1, labels: ["2"] }
20793
20825
  // TODO add more "standard" labels
20794
20826
  ],
20795
- size: { width: bounds60.width, height: bounds60.height },
20796
- center: { x: bounds60.centerX, y: bounds60.centerY }
20827
+ size: { width: bounds61.width, height: bounds61.height },
20828
+ center: { x: bounds61.centerX, y: bounds61.centerY }
20797
20829
  });
20798
20830
 
20799
20831
  // symbols/varactor_diode_vert.ts
@@ -20941,26 +20973,26 @@ var varistor_default = {
20941
20973
  };
20942
20974
 
20943
20975
  // symbols/varistor_horz.ts
20944
- var { paths: paths61, texts: texts78, bounds: bounds61, refblocks: refblocks61 } = varistor_default;
20976
+ var { paths: paths62, texts: texts79, bounds: bounds62, refblocks: refblocks62 } = varistor_default;
20945
20977
  var varistor_horz_default = defineSymbol({
20946
20978
  primitives: [
20947
- ...Object.values(paths61),
20948
- { ...texts78.top1, anchor: "middle_left" },
20949
- { ...texts78.bottom1, anchor: "middle_right" }
20979
+ ...Object.values(paths62),
20980
+ { ...texts79.top1, anchor: "middle_left" },
20981
+ { ...texts79.bottom1, anchor: "middle_right" }
20950
20982
  ],
20951
20983
  ports: [
20952
20984
  {
20953
- ...refblocks61.left1,
20985
+ ...refblocks62.left1,
20954
20986
  labels: ["1", "-"]
20955
20987
  },
20956
20988
  {
20957
- ...refblocks61.right1,
20989
+ ...refblocks62.right1,
20958
20990
  labels: ["2", "+"]
20959
20991
  }
20960
20992
  ],
20961
- size: { width: bounds61.width, height: bounds61.height },
20993
+ size: { width: bounds62.width, height: bounds62.height },
20962
20994
  //{ width: 1, height: 0.24 },
20963
- center: { x: bounds61.centerX, y: bounds61.centerY }
20995
+ center: { x: bounds62.centerX, y: bounds62.centerY }
20964
20996
  });
20965
20997
 
20966
20998
  // symbols/varistor_vert.ts
@@ -21053,11 +21085,11 @@ var varmeter_default = {
21053
21085
  };
21054
21086
 
21055
21087
  // symbols/varmeter_horz.ts
21056
- var { paths: paths62, texts: texts79, bounds: bounds62, refblocks: refblocks62, circles: circles56 } = varmeter_default;
21088
+ var { paths: paths63, texts: texts80, bounds: bounds63, refblocks: refblocks63, circles: circles57 } = varmeter_default;
21057
21089
  var varmeter_horz_default = defineSymbol({
21058
21090
  primitives: [
21059
- ...Object.values(paths62),
21060
- ...Object.values(circles56),
21091
+ ...Object.values(paths63),
21092
+ ...Object.values(circles57),
21061
21093
  {
21062
21094
  type: "text",
21063
21095
  text: "{REF}",
@@ -21072,16 +21104,16 @@ var varmeter_horz_default = defineSymbol({
21072
21104
  y: 0.35,
21073
21105
  anchor: "middle_bottom"
21074
21106
  },
21075
- { ...texts79.left1, anchor: "center", y: 0.02, fontSize: 0.2 }
21107
+ { ...texts80.left1, anchor: "center", y: 0.02, fontSize: 0.2 }
21076
21108
  ],
21077
21109
  ports: [
21078
- { ...refblocks62.left1, labels: ["1"] },
21110
+ { ...refblocks63.left1, labels: ["1"] },
21079
21111
  // TODO add more "standard" labels
21080
- { ...refblocks62.right1, labels: ["2"] }
21112
+ { ...refblocks63.right1, labels: ["2"] }
21081
21113
  // TODO add more "standard" labels
21082
21114
  ],
21083
- size: { width: bounds62.width, height: bounds62.height },
21084
- center: { x: bounds62.centerX, y: bounds62.centerY }
21115
+ size: { width: bounds63.width, height: bounds63.height },
21116
+ center: { x: bounds63.centerX, y: bounds63.centerY }
21085
21117
  });
21086
21118
 
21087
21119
  // symbols/varmeter_vert.ts
@@ -21286,7 +21318,7 @@ var volt_meter_default = {
21286
21318
  };
21287
21319
 
21288
21320
  // symbols/volt_meter_horz.ts
21289
- var { paths: paths63, texts: texts80, bounds: bounds63, circles: circles57, refblocks: refblocks63 } = volt_meter_default;
21321
+ var { paths: paths64, texts: texts81, bounds: bounds64, circles: circles58, refblocks: refblocks64 } = volt_meter_default;
21290
21322
  var volt_meter_horz_default = modifySymbol(volt_meter_default).changeTextAnchor("{VAL}", "middle_top").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_bottom").build();
21291
21323
 
21292
21324
  // symbols/volt_meter_vert.ts
@@ -21379,11 +21411,11 @@ var watt_hour_meter_default = {
21379
21411
  };
21380
21412
 
21381
21413
  // symbols/watt_hour_meter_horz.ts
21382
- var { paths: paths64, texts: texts81, bounds: bounds64, refblocks: refblocks64, circles: circles58 } = watt_hour_meter_default;
21414
+ var { paths: paths65, texts: texts82, bounds: bounds65, refblocks: refblocks65, circles: circles59 } = watt_hour_meter_default;
21383
21415
  var watt_hour_meter_horz_default = defineSymbol({
21384
21416
  primitives: [
21385
- ...Object.values(paths64),
21386
- ...Object.values(circles58),
21417
+ ...Object.values(paths65),
21418
+ ...Object.values(circles59),
21387
21419
  {
21388
21420
  type: "text",
21389
21421
  text: "{REF}",
@@ -21398,16 +21430,16 @@ var watt_hour_meter_horz_default = defineSymbol({
21398
21430
  y: 0.35,
21399
21431
  anchor: "middle_bottom"
21400
21432
  },
21401
- { ...texts81.left1, anchor: "center", y: 0.01, fontSize: 0.2 }
21433
+ { ...texts82.left1, anchor: "center", y: 0.01, fontSize: 0.2 }
21402
21434
  ],
21403
21435
  ports: [
21404
- { ...refblocks64.left1, labels: ["1"] },
21436
+ { ...refblocks65.left1, labels: ["1"] },
21405
21437
  // TODO add more "standard" labels
21406
- { ...refblocks64.right1, labels: ["2"] }
21438
+ { ...refblocks65.right1, labels: ["2"] }
21407
21439
  // TODO add more "standard" labels
21408
21440
  ],
21409
- size: { width: bounds64.width, height: bounds64.height },
21410
- center: { x: bounds64.centerX, y: bounds64.centerY }
21441
+ size: { width: bounds65.width, height: bounds65.height },
21442
+ center: { x: bounds65.centerX, y: bounds65.centerY }
21411
21443
  });
21412
21444
 
21413
21445
  // symbols/watt_hour_meter_vert.ts
@@ -21511,11 +21543,11 @@ var wattmeter_default = {
21511
21543
  };
21512
21544
 
21513
21545
  // symbols/wattmeter_horz.ts
21514
- var { paths: paths65, texts: texts82, bounds: bounds65, refblocks: refblocks65, circles: circles59 } = wattmeter_default;
21546
+ var { paths: paths66, texts: texts83, bounds: bounds66, refblocks: refblocks66, circles: circles60 } = wattmeter_default;
21515
21547
  var wattmeter_horz_default = defineSymbol({
21516
21548
  primitives: [
21517
- ...Object.values(paths65),
21518
- ...Object.values(circles59),
21549
+ ...Object.values(paths66),
21550
+ ...Object.values(circles60),
21519
21551
  {
21520
21552
  type: "text",
21521
21553
  text: "{REF}",
@@ -21530,16 +21562,16 @@ var wattmeter_horz_default = defineSymbol({
21530
21562
  y: 0.35,
21531
21563
  anchor: "middle_bottom"
21532
21564
  },
21533
- { ...texts82.left1, anchor: "center", y: 0.01, fontSize: 0.3 }
21565
+ { ...texts83.left1, anchor: "center", y: 0.01, fontSize: 0.3 }
21534
21566
  ],
21535
21567
  ports: [
21536
- { ...refblocks65.left1, labels: ["1"] },
21568
+ { ...refblocks66.left1, labels: ["1"] },
21537
21569
  // TODO add more "standard" labels
21538
- { ...refblocks65.right1, labels: ["2"] }
21570
+ { ...refblocks66.right1, labels: ["2"] }
21539
21571
  // TODO add more "standard" labels
21540
21572
  ],
21541
- size: { width: bounds65.width, height: bounds65.height },
21542
- center: { x: bounds65.centerX, y: bounds65.centerY }
21573
+ size: { width: bounds66.width, height: bounds66.height },
21574
+ center: { x: bounds66.centerX, y: bounds66.centerY }
21543
21575
  });
21544
21576
 
21545
21577
  // symbols/wattmeter_vert.ts
@@ -21703,22 +21735,22 @@ var zener_diode_default = {
21703
21735
  };
21704
21736
 
21705
21737
  // symbols/zener_diode_horz.ts
21706
- var { paths: paths66, texts: texts83, bounds: bounds66, refblocks: refblocks66, circles: circles60 } = zener_diode_default;
21738
+ var { paths: paths67, texts: texts84, bounds: bounds67, refblocks: refblocks67, circles: circles61 } = zener_diode_default;
21707
21739
  var zener_diode_horz_default = defineSymbol({
21708
21740
  primitives: [
21709
- ...Object.values(paths66),
21710
- ...Object.values(circles60),
21711
- { ...texts83.top1, anchor: "middle_bottom" },
21712
- { ...texts83.bottom1, anchor: "middle_top" }
21741
+ ...Object.values(paths67),
21742
+ ...Object.values(circles61),
21743
+ { ...texts84.top1, anchor: "middle_bottom" },
21744
+ { ...texts84.bottom1, anchor: "middle_top" }
21713
21745
  ],
21714
21746
  ports: [
21715
- { ...refblocks66.left1, labels: ["1"] },
21747
+ { ...refblocks67.left1, labels: ["1"] },
21716
21748
  // TODO add more "standard" labels
21717
- { ...refblocks66.right1, labels: ["2"] }
21749
+ { ...refblocks67.right1, labels: ["2"] }
21718
21750
  // TODO add more "standard" labels
21719
21751
  ],
21720
- size: { width: bounds66.width, height: bounds66.height },
21721
- center: { x: bounds66.centerX, y: bounds66.centerY }
21752
+ size: { width: bounds67.width, height: bounds67.height },
21753
+ center: { x: bounds67.centerX, y: bounds67.centerY }
21722
21754
  });
21723
21755
 
21724
21756
  // symbols/zener_diode_vert.ts
@@ -21806,9 +21838,11 @@ var symbols_index_default = {
21806
21838
  "fuse_horz": fuse_horz_default,
21807
21839
  "fuse_vert": fuse_vert_default,
21808
21840
  "ground_down": ground_down_default,
21841
+ "ground_horz": ground_horz_default,
21809
21842
  "ground_left": ground_left_default,
21810
21843
  "ground_right": ground_right_default,
21811
21844
  "ground_up": ground_up_default,
21845
+ "ground_vert": ground_vert_default,
21812
21846
  "ground2_down": ground2_down_default,
21813
21847
  "ground2_left": ground2_left_default,
21814
21848
  "ground2_right": ground2_right_default,