schematic-symbols 0.0.150 → 0.0.152

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
@@ -6805,10 +6831,10 @@ var ground2_default = {
6805
6831
  };
6806
6832
 
6807
6833
  // symbols/ground2_down.ts
6808
- var { paths: paths25, texts: texts25, bounds: bounds25, refblocks: refblocks25 } = ground2_default;
6834
+ var { paths: paths26, texts: texts26, bounds: bounds26, refblocks: refblocks26 } = ground2_default;
6809
6835
  var ground2_down_default = modifySymbol({
6810
6836
  primitives: [
6811
- ...Object.values(paths25),
6837
+ ...Object.values(paths26),
6812
6838
  {
6813
6839
  type: "text",
6814
6840
  text: "{REF}",
@@ -6817,18 +6843,18 @@ var ground2_down_default = modifySymbol({
6817
6843
  }
6818
6844
  ],
6819
6845
  ports: [
6820
- { ...refblocks25.left1, labels: ["1"] }
6846
+ { ...refblocks26.left1, labels: ["1"] }
6821
6847
  // TODO add more "standard" labels
6822
6848
  ],
6823
- center: { x: bounds25.centerX, y: bounds25.centerY }
6849
+ center: { x: bounds26.centerX, y: bounds26.centerY }
6824
6850
  }).rotateRightFacingSymbol("down").labelPort("left1", ["1"]).changeTextAnchor("{REF}", "middle_bottom").build();
6825
6851
 
6826
6852
  // symbols/ground2_left.ts
6827
- var { paths: paths26, texts: texts26, bounds: bounds26, refblocks: refblocks26, circles: circles24 } = ground2_default;
6853
+ var { paths: paths27, texts: texts27, bounds: bounds27, refblocks: refblocks27, circles: circles25 } = ground2_default;
6828
6854
  var ground2_left_default = modifySymbol({
6829
6855
  primitives: [
6830
- ...Object.values(paths26),
6831
- ...Object.values(circles24),
6856
+ ...Object.values(paths27),
6857
+ ...Object.values(circles25),
6832
6858
  {
6833
6859
  type: "text",
6834
6860
  text: "{REF}",
@@ -6837,18 +6863,18 @@ var ground2_left_default = modifySymbol({
6837
6863
  }
6838
6864
  ],
6839
6865
  ports: [
6840
- { ...refblocks26.left1, labels: ["1"] }
6866
+ { ...refblocks27.left1, labels: ["1"] }
6841
6867
  // TODO add more "standard" labels
6842
6868
  ],
6843
- center: { x: bounds26.centerX, y: bounds26.centerY }
6869
+ center: { x: bounds27.centerX, y: bounds27.centerY }
6844
6870
  }).rotateRightFacingSymbol("left").labelPort("left1", ["1"]).changeTextAnchor("{REF}", "middle_left").build();
6845
6871
 
6846
6872
  // symbols/ground2_right.ts
6847
- var { paths: paths27, texts: texts27, bounds: bounds27, refblocks: refblocks27, circles: circles25 } = ground2_default;
6873
+ var { paths: paths28, texts: texts28, bounds: bounds28, refblocks: refblocks28, circles: circles26 } = ground2_default;
6848
6874
  var ground2_right_default = modifySymbol({
6849
6875
  primitives: [
6850
- ...Object.values(paths27),
6851
- ...Object.values(circles25),
6876
+ ...Object.values(paths28),
6877
+ ...Object.values(circles26),
6852
6878
  {
6853
6879
  type: "text",
6854
6880
  text: "{REF}",
@@ -6857,18 +6883,18 @@ var ground2_right_default = modifySymbol({
6857
6883
  }
6858
6884
  ],
6859
6885
  ports: [
6860
- { ...refblocks27.left1, labels: ["1"] }
6886
+ { ...refblocks28.left1, labels: ["1"] }
6861
6887
  // TODO add more "standard" labels
6862
6888
  ],
6863
- center: { x: bounds27.centerX, y: bounds27.centerY }
6889
+ center: { x: bounds28.centerX, y: bounds28.centerY }
6864
6890
  }).changeTextAnchor("{VAL}", "middle_top").rotateRightFacingSymbol("right").labelPort("left1", ["1"]).changeTextAnchor("{REF}", "middle_right").build();
6865
6891
 
6866
6892
  // symbols/ground2_up.ts
6867
- var { paths: paths28, texts: texts28, bounds: bounds28, refblocks: refblocks28, circles: circles26 } = ground2_default;
6893
+ var { paths: paths29, texts: texts29, bounds: bounds29, refblocks: refblocks29, circles: circles27 } = ground2_default;
6868
6894
  var ground2_up_default = modifySymbol({
6869
6895
  primitives: [
6870
- ...Object.values(paths28),
6871
- ...Object.values(circles26),
6896
+ ...Object.values(paths29),
6897
+ ...Object.values(circles27),
6872
6898
  {
6873
6899
  type: "text",
6874
6900
  text: "{REF}",
@@ -6877,10 +6903,10 @@ var ground2_up_default = modifySymbol({
6877
6903
  }
6878
6904
  ],
6879
6905
  ports: [
6880
- { ...refblocks28.left1, labels: ["1"] }
6906
+ { ...refblocks29.left1, labels: ["1"] }
6881
6907
  // TODO add more "standard" labels
6882
6908
  ],
6883
- center: { x: bounds28.centerX, y: bounds28.centerY }
6909
+ center: { x: bounds29.centerX, y: bounds29.centerY }
6884
6910
  }).rotateRightFacingSymbol("up").labelPort("left1", ["1"]).changeTextAnchor("{REF}", "middle_top").build();
6885
6911
 
6886
6912
  // assets/generated/gunn_diode.json
@@ -7001,7 +7027,7 @@ var gunn_diode_default = {
7001
7027
  };
7002
7028
 
7003
7029
  // symbols/gunn_diode_horz.ts
7004
- var { paths: paths29, texts: texts29, bounds: bounds29, refblocks: refblocks29, circles: circles27 } = gunn_diode_default;
7030
+ var { paths: paths30, texts: texts30, bounds: bounds30, refblocks: refblocks30, circles: circles28 } = gunn_diode_default;
7005
7031
  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
7032
 
7007
7033
  // symbols/gunn_diode_vert.ts
@@ -7769,12 +7795,12 @@ var illuminated_push_button_normally_open_horz_default = modifySymbol(illuminate
7769
7795
 
7770
7796
  // symbols/illuminated_push_button_normally_open_vert.ts
7771
7797
  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}");
7798
+ var texts31 = rotatedSymbol6.primitives.filter((p) => p.type === "text");
7799
+ var val17 = texts31.find((t) => t.text === "{VAL}");
7774
7800
  val17.x = -0.35;
7775
7801
  val17.y = 0;
7776
7802
  val17.anchor = "middle_right";
7777
- var ref17 = texts30.find((t) => t.text === "{REF}");
7803
+ var ref17 = texts31.find((t) => t.text === "{REF}");
7778
7804
  ref17.y = 0;
7779
7805
  ref17.x = 0.35;
7780
7806
  ref17.anchor = "middle_left";
@@ -9176,22 +9202,22 @@ var inductor_default = {
9176
9202
  };
9177
9203
 
9178
9204
  // symbols/inductor_right.ts
9179
- var { paths: paths30, texts: texts31, bounds: bounds30, refblocks: refblocks30, circles: circles28 } = inductor_default;
9205
+ var { paths: paths31, texts: texts32, bounds: bounds31, refblocks: refblocks31, circles: circles29 } = inductor_default;
9180
9206
  var inductor_right_default = defineSymbol({
9181
9207
  primitives: [
9182
- ...Object.values(paths30),
9183
- ...Object.values(circles28),
9184
- { ...texts31.top1, anchor: "middle_bottom" },
9185
- { ...texts31.bottom1, anchor: "middle_top" }
9208
+ ...Object.values(paths31),
9209
+ ...Object.values(circles29),
9210
+ { ...texts32.top1, anchor: "middle_bottom" },
9211
+ { ...texts32.bottom1, anchor: "middle_top" }
9186
9212
  ],
9187
9213
  ports: [
9188
- { ...refblocks30.left1, labels: ["1"] },
9214
+ { ...refblocks31.left1, labels: ["1"] },
9189
9215
  // TODO add more "standard" labels
9190
- { ...refblocks30.right1, labels: ["2"] }
9216
+ { ...refblocks31.right1, labels: ["2"] }
9191
9217
  // TODO add more "standard" labels
9192
9218
  ],
9193
- size: { width: bounds30.width, height: bounds30.height },
9194
- center: { x: bounds30.centerX, y: bounds30.centerY }
9219
+ size: { width: bounds31.width, height: bounds31.height },
9220
+ center: { x: bounds31.centerX, y: bounds31.centerY }
9195
9221
  });
9196
9222
 
9197
9223
  // symbols/inductor_up.ts
@@ -9448,8 +9474,8 @@ var laser_diode_horz_default = modifySymbol(laser_diode_default).changeTextAncho
9448
9474
 
9449
9475
  // symbols/laser_diode_vert.ts
9450
9476
  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}");
9477
+ var texts33 = rotatedSymbol7.primitives.filter((p) => p.type === "text");
9478
+ var ref18 = texts33.find((t) => t.text === "{VAL}");
9453
9479
  ref18.x = -0.52;
9454
9480
  ref18.anchor = "middle_right";
9455
9481
  var laser_diode_vert_default = rotatedSymbol7;
@@ -9670,22 +9696,22 @@ var led_default = {
9670
9696
  };
9671
9697
 
9672
9698
  // symbols/led_right.ts
9673
- var { paths: paths31, texts: texts33, bounds: bounds31, refblocks: refblocks31, circles: circles29 } = led_default;
9699
+ var { paths: paths32, texts: texts34, bounds: bounds32, refblocks: refblocks32, circles: circles30 } = led_default;
9674
9700
  var led_right_default = defineSymbol({
9675
9701
  primitives: [
9676
- ...Object.values(paths31),
9677
- ...Object.values(circles29),
9678
- { ...texts33.bottom1, anchor: "middle_top" },
9679
- { ...texts33.right1, anchor: "middle_bottom" }
9702
+ ...Object.values(paths32),
9703
+ ...Object.values(circles30),
9704
+ { ...texts34.bottom1, anchor: "middle_top" },
9705
+ { ...texts34.right1, anchor: "middle_bottom" }
9680
9706
  ],
9681
9707
  ports: [
9682
- { ...refblocks31.left1, labels: ["1"] },
9708
+ { ...refblocks32.left1, labels: ["1"] },
9683
9709
  // TODO add more "standard" labels
9684
- { ...refblocks31.right1, labels: ["2"] }
9710
+ { ...refblocks32.right1, labels: ["2"] }
9685
9711
  // TODO add more "standard" labels
9686
9712
  ],
9687
- size: { width: bounds31.width, height: bounds31.height },
9688
- center: { x: bounds31.centerX, y: bounds31.centerY }
9713
+ size: { width: bounds32.width, height: bounds32.height },
9714
+ center: { x: bounds32.centerX, y: bounds32.centerY }
9689
9715
  });
9690
9716
 
9691
9717
  // symbols/led_up.ts
@@ -9948,32 +9974,32 @@ var light_dependent_resistor_default = {
9948
9974
  };
9949
9975
 
9950
9976
  // symbols/light_dependent_resistor_horz.ts
9951
- var { paths: paths32, texts: texts34, bounds: bounds32, refblocks: refblocks32, circles: circles30 } = light_dependent_resistor_default;
9977
+ var { paths: paths33, texts: texts35, bounds: bounds33, refblocks: refblocks33, circles: circles31 } = light_dependent_resistor_default;
9952
9978
  var light_dependent_resistor_horz_default = defineSymbol({
9953
9979
  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 }
9980
+ ...Object.values(paths33),
9981
+ ...Object.values(circles31),
9982
+ { ...texts35.top1, anchor: "middle_left", x: 0 },
9983
+ { ...texts35.bottom1, anchor: "middle_left", x: 0 }
9958
9984
  ],
9959
9985
  ports: [
9960
- { ...refblocks32.left1, labels: ["1"] },
9986
+ { ...refblocks33.left1, labels: ["1"] },
9961
9987
  // TODO add more "standard" labels
9962
- { ...refblocks32.right1, labels: ["2"] }
9988
+ { ...refblocks33.right1, labels: ["2"] }
9963
9989
  // TODO add more "standard" labels
9964
9990
  ],
9965
- size: { width: bounds32.width, height: bounds32.height },
9966
- center: { x: bounds32.centerX, y: bounds32.centerY }
9991
+ size: { width: bounds33.width, height: bounds33.height },
9992
+ center: { x: bounds33.centerX, y: bounds33.centerY }
9967
9993
  });
9968
9994
 
9969
9995
  // symbols/light_dependent_resistor_vert.ts
9970
9996
  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}");
9997
+ var texts36 = rotatedSymbol8.primitives.filter((p) => p.type === "text");
9998
+ var val20 = texts36.find((t) => t.text === "{VAL}");
9973
9999
  val20.x = -0.35;
9974
10000
  val20.y = 0;
9975
10001
  val20.anchor = "middle_right";
9976
- var ref21 = texts35.find((t) => t.text === "{REF}");
10002
+ var ref21 = texts36.find((t) => t.text === "{REF}");
9977
10003
  ref21.y = 0;
9978
10004
  ref21.x = 0.35;
9979
10005
  ref21.anchor = "middle_left";
@@ -10250,23 +10276,23 @@ var mosfet_depletion_normally_on_default = {
10250
10276
  };
10251
10277
 
10252
10278
  // symbols/mosfet_depletion_normally_on_horz.ts
10253
- var { paths: paths33, texts: texts36, bounds: bounds33, refblocks: refblocks33 } = mosfet_depletion_normally_on_default;
10279
+ var { paths: paths34, texts: texts37, bounds: bounds34, refblocks: refblocks34 } = mosfet_depletion_normally_on_default;
10254
10280
  var mosfet_depletion_normally_on_horz_default = defineSymbol({
10255
10281
  primitives: [
10256
- ...Object.values(paths33),
10257
- { ...texts36.right1, anchor: "middle_left" },
10258
- { ...texts36.right2, anchor: "middle_left" }
10282
+ ...Object.values(paths34),
10283
+ { ...texts37.right1, anchor: "middle_left" },
10284
+ { ...texts37.right2, anchor: "middle_left" }
10259
10285
  ],
10260
10286
  ports: [
10261
- { ...refblocks33.top1, labels: ["1"] },
10287
+ { ...refblocks34.top1, labels: ["1"] },
10262
10288
  // TODO add more "standard" labels
10263
- { ...refblocks33.bottom1, labels: ["2"] },
10289
+ { ...refblocks34.bottom1, labels: ["2"] },
10264
10290
  // TODO add more "standard" labels
10265
- { ...refblocks33.left1, labels: ["3"] }
10291
+ { ...refblocks34.left1, labels: ["3"] }
10266
10292
  // TODO add more "standard" labels
10267
10293
  ],
10268
- size: { width: bounds33.width + 0.4, height: bounds33.height },
10269
- center: { x: bounds33.centerX + 0.2, y: bounds33.centerY }
10294
+ size: { width: bounds34.width + 0.4, height: bounds34.height },
10295
+ center: { x: bounds34.centerX + 0.2, y: bounds34.centerY }
10270
10296
  });
10271
10297
 
10272
10298
  // symbols/mosfet_depletion_normally_on_vert.ts
@@ -10892,20 +10918,20 @@ var mushroom_head_normally_open_momentary_default = {
10892
10918
  };
10893
10919
 
10894
10920
  // 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;
10921
+ var { paths: paths35, texts: texts38, bounds: bounds35, refblocks: refblocks35, circles: circles32 } = mushroom_head_normally_open_momentary_default;
10896
10922
  var mushroom_head_normally_open_momentary_horz_default = defineSymbol({
10897
10923
  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 }
10924
+ ...Object.values(paths35),
10925
+ ...Object.values(circles32),
10926
+ { ...texts38.top1, anchor: "middle_bottom", x: 0 },
10927
+ { ...texts38.bottom1, anchor: "middle_top", x: 0 }
10902
10928
  ],
10903
10929
  ports: [
10904
- { ...refblocks34.left1, labels: ["1"] },
10905
- { ...refblocks34.right1, labels: ["2"] }
10930
+ { ...refblocks35.left1, labels: ["1"] },
10931
+ { ...refblocks35.right1, labels: ["2"] }
10906
10932
  ],
10907
- size: { width: bounds34.width, height: bounds34.height },
10908
- center: { x: bounds34.centerX + 6e-3, y: bounds34.centerY + 0.06 }
10933
+ size: { width: bounds35.width, height: bounds35.height },
10934
+ center: { x: bounds35.centerX + 6e-3, y: bounds35.centerY + 0.06 }
10909
10935
  });
10910
10936
 
10911
10937
  // symbols/mushroom_head_normally_open_momentary_vert.ts
@@ -11122,34 +11148,34 @@ var n_channel_d_mosfet_transistor_default = {
11122
11148
  };
11123
11149
 
11124
11150
  // 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;
11151
+ var { paths: paths36, texts: texts39, bounds: bounds36, refblocks: refblocks36, circles: circles33 } = n_channel_d_mosfet_transistor_default;
11126
11152
  var n_channel_d_mosfet_transistor_horz_default = defineSymbol({
11127
11153
  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 }
11154
+ ...Object.values(paths36),
11155
+ ...Object.values(circles33),
11156
+ { ...texts39.top1, anchor: "middle_right", x: 0 },
11157
+ { ...texts39.bottom1, anchor: "middle_right", x: 0 }
11132
11158
  ],
11133
11159
  ports: [
11134
- { ...refblocks35.top1, labels: ["1", "drain"] },
11160
+ { ...refblocks36.top1, labels: ["1", "drain"] },
11135
11161
  // TODO add more "standard" labels
11136
- { ...refblocks35.bottom1, labels: ["2", "source"] },
11162
+ { ...refblocks36.bottom1, labels: ["2", "source"] },
11137
11163
  // TODO add more "standard" labels
11138
- { ...refblocks35.left1, labels: ["3", "gate"] }
11164
+ { ...refblocks36.left1, labels: ["3", "gate"] }
11139
11165
  // TODO add more "standard" labels
11140
11166
  ],
11141
- size: { width: bounds35.width, height: bounds35.height },
11142
- center: { x: bounds35.centerX, y: bounds35.centerY }
11167
+ size: { width: bounds36.width, height: bounds36.height },
11168
+ center: { x: bounds36.centerX, y: bounds36.centerY }
11143
11169
  });
11144
11170
 
11145
11171
  // symbols/n_channel_d_mosfet_transistor_vert.ts
11146
11172
  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}");
11173
+ var texts40 = rotatedSymbol9.primitives.filter((p) => p.type === "text");
11174
+ var val23 = texts40.find((t) => t.text === "{VAL}");
11149
11175
  val23.x = -0.35;
11150
11176
  val23.y = 0;
11151
11177
  val23.anchor = "middle_right";
11152
- var ref24 = texts39.find((t) => t.text === "{REF}");
11178
+ var ref24 = texts40.find((t) => t.text === "{REF}");
11153
11179
  ref24.y = 0;
11154
11180
  ref24.x = 0.35;
11155
11181
  ref24.anchor = "middle_left";
@@ -11383,34 +11409,34 @@ var n_channel_e_mosfet_transistor_default = {
11383
11409
  };
11384
11410
 
11385
11411
  // 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;
11412
+ var { paths: paths37, texts: texts41, bounds: bounds37, refblocks: refblocks37, circles: circles34 } = n_channel_e_mosfet_transistor_default;
11387
11413
  var n_channel_e_mosfet_transistor_horz_default = defineSymbol({
11388
11414
  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 }
11415
+ ...Object.values(paths37),
11416
+ ...Object.values(circles34),
11417
+ { ...texts41.top1, anchor: "middle_right", x: 0 },
11418
+ { ...texts41.bottom1, anchor: "middle_right", x: 0 }
11393
11419
  ],
11394
11420
  ports: [
11395
- { ...refblocks36.top1, labels: ["1", "drain"] },
11421
+ { ...refblocks37.top1, labels: ["1", "drain"] },
11396
11422
  // TODO add more "standard" labels
11397
- { ...refblocks36.bottom1, labels: ["2", "source"] },
11423
+ { ...refblocks37.bottom1, labels: ["2", "source"] },
11398
11424
  // TODO add more "standard" labels
11399
- { ...refblocks36.left1, labels: ["3", "gate"] }
11425
+ { ...refblocks37.left1, labels: ["3", "gate"] }
11400
11426
  // TODO add more "standard" labels
11401
11427
  ],
11402
- size: { width: bounds36.width, height: bounds36.height },
11403
- center: { x: bounds36.centerX, y: bounds36.centerY }
11428
+ size: { width: bounds37.width, height: bounds37.height },
11429
+ center: { x: bounds37.centerX, y: bounds37.centerY }
11404
11430
  });
11405
11431
 
11406
11432
  // symbols/n_channel_e_mosfet_transistor_vert.ts
11407
11433
  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}");
11434
+ var texts42 = rotatedSymbol10.primitives.filter((p) => p.type === "text");
11435
+ var val24 = texts42.find((t) => t.text === "{VAL}");
11410
11436
  val24.x = -0.35;
11411
11437
  val24.y = 0;
11412
11438
  val24.anchor = "middle_right";
11413
- var ref25 = texts41.find((t) => t.text === "{REF}");
11439
+ var ref25 = texts42.find((t) => t.text === "{REF}");
11414
11440
  ref25.y = 0;
11415
11441
  ref25.x = 0.35;
11416
11442
  ref25.anchor = "middle_left";
@@ -11584,34 +11610,34 @@ var njfet_transistor_default = {
11584
11610
  };
11585
11611
 
11586
11612
  // symbols/njfet_transistor_horz.ts
11587
- var { paths: paths37, texts: texts42, bounds: bounds37, refblocks: refblocks37, circles: circles34 } = njfet_transistor_default;
11613
+ var { paths: paths38, texts: texts43, bounds: bounds38, refblocks: refblocks38, circles: circles35 } = njfet_transistor_default;
11588
11614
  var njfet_transistor_horz_default = defineSymbol({
11589
11615
  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 }
11616
+ ...Object.values(paths38),
11617
+ ...Object.values(circles35),
11618
+ { ...texts43.top1, anchor: "middle_right", x: 0 },
11619
+ { ...texts43.bottom1, anchor: "middle_right", x: 0 }
11594
11620
  ],
11595
11621
  ports: [
11596
- { ...refblocks37.top1, labels: ["1", "drain"] },
11622
+ { ...refblocks38.top1, labels: ["1", "drain"] },
11597
11623
  // TODO add more "standard" labels
11598
- { ...refblocks37.bottom1, labels: ["2", "source"] },
11624
+ { ...refblocks38.bottom1, labels: ["2", "source"] },
11599
11625
  // TODO add more "standard" labels
11600
- { ...refblocks37.left1, labels: ["3", "gate"] }
11626
+ { ...refblocks38.left1, labels: ["3", "gate"] }
11601
11627
  // TODO add more "standard" labels
11602
11628
  ],
11603
- size: { width: bounds37.width, height: bounds37.height },
11604
- center: { x: bounds37.centerX, y: bounds37.centerY }
11629
+ size: { width: bounds38.width, height: bounds38.height },
11630
+ center: { x: bounds38.centerX, y: bounds38.centerY }
11605
11631
  });
11606
11632
 
11607
11633
  // symbols/njfet_transistor_vert.ts
11608
11634
  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}");
11635
+ var texts44 = rotatedSymbol11.primitives.filter((p) => p.type === "text");
11636
+ var val25 = texts44.find((t) => t.text === "{VAL}");
11611
11637
  val25.x = -0.35;
11612
11638
  val25.y = 0;
11613
11639
  val25.anchor = "middle_right";
11614
- var ref26 = texts43.find((t) => t.text === "{REF}");
11640
+ var ref26 = texts44.find((t) => t.text === "{REF}");
11615
11641
  ref26.y = 0;
11616
11642
  ref26.x = 0.35;
11617
11643
  ref26.anchor = "middle_left";
@@ -11785,13 +11811,13 @@ var npn_bipolar_transistor_default = {
11785
11811
  };
11786
11812
 
11787
11813
  // symbols/npn_bipolar_transistor_horz.ts
11788
- var { paths: paths38, texts: texts44, bounds: bounds38, refblocks: refblocks38, circles: circles35 } = npn_bipolar_transistor_default;
11814
+ var { paths: paths39, texts: texts45, bounds: bounds39, refblocks: refblocks39, circles: circles36 } = npn_bipolar_transistor_default;
11789
11815
  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
11816
 
11791
11817
  // symbols/npn_bipolar_transistor_vert.ts
11792
11818
  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}");
11819
+ var texts46 = rotatedSymbol12.primitives.filter((p) => p.type === "text");
11820
+ var ref27 = texts46.find((t) => t.text === "{REF}");
11795
11821
  ref27.anchor = "middle_left";
11796
11822
  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
11823
 
@@ -12415,34 +12441,34 @@ var p_channel_d_mosfet_transistor_default = {
12415
12441
  };
12416
12442
 
12417
12443
  // 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;
12444
+ var { paths: paths40, texts: texts47, bounds: bounds40, refblocks: refblocks40, circles: circles37 } = p_channel_d_mosfet_transistor_default;
12419
12445
  var p_channel_d_mosfet_transistor_horz_default = defineSymbol({
12420
12446
  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 }
12447
+ ...Object.values(paths40),
12448
+ ...Object.values(circles37),
12449
+ { ...texts47.top1, anchor: "middle_right", x: 0 },
12450
+ { ...texts47.bottom1, anchor: "middle_right", x: 0 }
12425
12451
  ],
12426
12452
  ports: [
12427
- { ...refblocks39.top1, labels: ["1", "drain"] },
12453
+ { ...refblocks40.top1, labels: ["1", "drain"] },
12428
12454
  // TODO add more "standard" labels
12429
- { ...refblocks39.bottom1, labels: ["2", "source"] },
12455
+ { ...refblocks40.bottom1, labels: ["2", "source"] },
12430
12456
  // TODO add more "standard" labels
12431
- { ...refblocks39.left1, labels: ["3", "gate"] }
12457
+ { ...refblocks40.left1, labels: ["3", "gate"] }
12432
12458
  // TODO add more "standard" labels
12433
12459
  ],
12434
- size: { width: bounds39.width, height: bounds39.height },
12435
- center: { x: bounds39.centerX, y: bounds39.centerY }
12460
+ size: { width: bounds40.width, height: bounds40.height },
12461
+ center: { x: bounds40.centerX, y: bounds40.centerY }
12436
12462
  });
12437
12463
 
12438
12464
  // symbols/p_channel_d_mosfet_transistor_vert.ts
12439
12465
  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}");
12466
+ var texts48 = rotatedSymbol13.primitives.filter((p) => p.type === "text");
12467
+ var val26 = texts48.find((t) => t.text === "{VAL}");
12442
12468
  val26.x = -0.35;
12443
12469
  val26.y = 0;
12444
12470
  val26.anchor = "middle_right";
12445
- var ref28 = texts47.find((t) => t.text === "{REF}");
12471
+ var ref28 = texts48.find((t) => t.text === "{REF}");
12446
12472
  ref28.y = 0;
12447
12473
  ref28.x = 0.35;
12448
12474
  ref28.anchor = "middle_left";
@@ -12676,34 +12702,34 @@ var p_channel_e_mosfet_transistor_default = {
12676
12702
  };
12677
12703
 
12678
12704
  // 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;
12705
+ var { paths: paths41, texts: texts49, bounds: bounds41, refblocks: refblocks41, circles: circles38 } = p_channel_e_mosfet_transistor_default;
12680
12706
  var p_channel_e_mosfet_transistor_horz_default = defineSymbol({
12681
12707
  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 }
12708
+ ...Object.values(paths41),
12709
+ ...Object.values(circles38),
12710
+ { ...texts49.top1, anchor: "middle_right", x: 0 },
12711
+ { ...texts49.bottom1, anchor: "middle_right", x: 0 }
12686
12712
  ],
12687
12713
  ports: [
12688
- { ...refblocks40.top1, labels: ["1", "drain"] },
12714
+ { ...refblocks41.top1, labels: ["1", "drain"] },
12689
12715
  // TODO add more "standard" labels
12690
- { ...refblocks40.bottom1, labels: ["2", "source"] },
12716
+ { ...refblocks41.bottom1, labels: ["2", "source"] },
12691
12717
  // TODO add more "standard" labels
12692
- { ...refblocks40.left1, labels: ["3", "gate"] }
12718
+ { ...refblocks41.left1, labels: ["3", "gate"] }
12693
12719
  // TODO add more "standard" labels
12694
12720
  ],
12695
- size: { width: bounds40.width, height: bounds40.height },
12696
- center: { x: bounds40.centerX, y: bounds40.centerY }
12721
+ size: { width: bounds41.width, height: bounds41.height },
12722
+ center: { x: bounds41.centerX, y: bounds41.centerY }
12697
12723
  });
12698
12724
 
12699
12725
  // symbols/p_channel_e_mosfet_transistor_vert.ts
12700
12726
  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}");
12727
+ var texts50 = rotatedSymbol14.primitives.filter((p) => p.type === "text");
12728
+ var val27 = texts50.find((t) => t.text === "{VAL}");
12703
12729
  val27.x = -0.35;
12704
12730
  val27.y = 0;
12705
12731
  val27.anchor = "middle_right";
12706
- var ref29 = texts49.find((t) => t.text === "{REF}");
12732
+ var ref29 = texts50.find((t) => t.text === "{REF}");
12707
12733
  ref29.y = 0;
12708
12734
  ref29.x = 0.35;
12709
12735
  ref29.anchor = "middle_left";
@@ -12938,8 +12964,8 @@ var photodiode_horz_default = modifySymbol(photodiode_default).changeTextAnchor(
12938
12964
 
12939
12965
  // symbols/photodiode_vert.ts
12940
12966
  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}");
12967
+ var texts51 = rotatedSymbol15.primitives.filter((p) => p.type === "text");
12968
+ var ref30 = texts51.find((t) => t.text === "{REF}");
12943
12969
  ref30.y = 0;
12944
12970
  ref30.anchor = "middle_left";
12945
12971
  var photodiode_vert_default = rotatedSymbol15;
@@ -13112,34 +13138,34 @@ var pjfet_transistor_default = {
13112
13138
  };
13113
13139
 
13114
13140
  // symbols/pjfet_transistor_horz.ts
13115
- var { paths: paths41, texts: texts51, bounds: bounds41, refblocks: refblocks41, circles: circles38 } = pjfet_transistor_default;
13141
+ var { paths: paths42, texts: texts52, bounds: bounds42, refblocks: refblocks42, circles: circles39 } = pjfet_transistor_default;
13116
13142
  var pjfet_transistor_horz_default = defineSymbol({
13117
13143
  primitives: [
13118
- ...Object.values(paths41),
13119
- ...Object.values(circles38),
13120
- { ...texts51.top1, anchor: "middle_right", x: 0 },
13121
- { ...texts51.bottom1, anchor: "middle_right" }
13144
+ ...Object.values(paths42),
13145
+ ...Object.values(circles39),
13146
+ { ...texts52.top1, anchor: "middle_right", x: 0 },
13147
+ { ...texts52.bottom1, anchor: "middle_right" }
13122
13148
  ],
13123
13149
  ports: [
13124
- { ...refblocks41.top1, labels: ["1", "drain"] },
13150
+ { ...refblocks42.top1, labels: ["1", "drain"] },
13125
13151
  // TODO add more "standard" labels
13126
- { ...refblocks41.bottom1, labels: ["2", "source"] },
13152
+ { ...refblocks42.bottom1, labels: ["2", "source"] },
13127
13153
  // TODO add more "standard" labels
13128
- { ...refblocks41.left1, labels: ["3", "gate"] }
13154
+ { ...refblocks42.left1, labels: ["3", "gate"] }
13129
13155
  // TODO add more "standard" labels
13130
13156
  ],
13131
- size: { width: bounds41.width, height: bounds41.height },
13132
- center: { x: bounds41.centerX, y: bounds41.centerY }
13157
+ size: { width: bounds42.width, height: bounds42.height },
13158
+ center: { x: bounds42.centerX, y: bounds42.centerY }
13133
13159
  });
13134
13160
 
13135
13161
  // symbols/pjfet_transistor_vert.ts
13136
13162
  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}");
13163
+ var texts53 = rotatedSymbol16.primitives.filter((p) => p.type === "text");
13164
+ var val28 = texts53.find((t) => t.text === "{VAL}");
13139
13165
  val28.x = -0.35;
13140
13166
  val28.y = 0;
13141
13167
  val28.anchor = "middle_right";
13142
- var ref31 = texts52.find((t) => t.text === "{REF}");
13168
+ var ref31 = texts53.find((t) => t.text === "{REF}");
13143
13169
  ref31.y = 0;
13144
13170
  ref31.x = 0.35;
13145
13171
  ref31.anchor = "middle_left";
@@ -13317,8 +13343,8 @@ var pnp_bipolar_transistor_horz_default = modifySymbol(pnp_bipolar_transistor_de
13317
13343
 
13318
13344
  // symbols/pnp_bipolar_transistor_vert.ts
13319
13345
  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}");
13346
+ var texts54 = rotatedSymbol17.primitives.filter((p) => p.type === "text");
13347
+ var ref32 = texts54.find((t) => t.text === "{REF}");
13322
13348
  ref32.anchor = "middle_left";
13323
13349
  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
13350
 
@@ -13732,21 +13758,21 @@ var potentiometer_default = {
13732
13758
  };
13733
13759
 
13734
13760
  // symbols/potentiometer_horz.ts
13735
- var { paths: paths42, texts: texts54, bounds: bounds42, refblocks: refblocks42 } = potentiometer_default;
13761
+ var { paths: paths43, texts: texts55, bounds: bounds43, refblocks: refblocks43 } = potentiometer_default;
13736
13762
  var potentiometer_horz_default = defineSymbol({
13737
13763
  primitives: [
13738
- ...Object.values(paths42),
13739
- { ...texts54.bottom1, y: 0.35, anchor: "middle_top" },
13740
- { ...texts54.top1, anchor: "middle_left" }
13764
+ ...Object.values(paths43),
13765
+ { ...texts55.bottom1, y: 0.35, anchor: "middle_top" },
13766
+ { ...texts55.top1, anchor: "middle_left" }
13741
13767
  ],
13742
13768
  ports: [
13743
- { ...refblocks42.left1, labels: ["1"] },
13769
+ { ...refblocks43.left1, labels: ["1"] },
13744
13770
  // TODO add more "standard" labels
13745
- { ...refblocks42.right1, labels: ["2"] }
13771
+ { ...refblocks43.right1, labels: ["2"] }
13746
13772
  // TODO add more "standard" labels
13747
13773
  ],
13748
- size: { width: bounds42.width + 0.05, height: bounds42.height },
13749
- center: { x: bounds42.centerX, y: bounds42.centerY }
13774
+ size: { width: bounds43.width + 0.05, height: bounds43.height },
13775
+ center: { x: bounds43.centerX, y: bounds43.centerY }
13750
13776
  });
13751
13777
 
13752
13778
  // symbols/potentiometer_vert.ts
@@ -13909,29 +13935,29 @@ var potentiometer2_default = {
13909
13935
  };
13910
13936
 
13911
13937
  // symbols/potentiometer2_horz.ts
13912
- var { paths: paths43, texts: texts55, bounds: bounds43, refblocks: refblocks43 } = potentiometer2_default;
13938
+ var { paths: paths44, texts: texts56, bounds: bounds44, refblocks: refblocks44 } = potentiometer2_default;
13913
13939
  var potentiometer2_horz_default = defineSymbol({
13914
13940
  primitives: [
13915
- ...Object.values(paths43),
13916
- { ...texts55.bottom1, anchor: "middle_top" },
13917
- { ...texts55.top1, anchor: "middle_bottom" }
13941
+ ...Object.values(paths44),
13942
+ { ...texts56.bottom1, anchor: "middle_top" },
13943
+ { ...texts56.top1, anchor: "middle_bottom" }
13918
13944
  ],
13919
13945
  ports: [
13920
- { ...refblocks43.left1, labels: ["1"] },
13946
+ { ...refblocks44.left1, labels: ["1"] },
13921
13947
  // TODO add more "standard" labels
13922
- { ...refblocks43.right1, labels: ["2"] }
13948
+ { ...refblocks44.right1, labels: ["2"] }
13923
13949
  // TODO add more "standard" labels
13924
13950
  ],
13925
- size: { width: bounds43.width, height: bounds43.height },
13926
- center: { x: bounds43.centerX, y: bounds43.centerY }
13951
+ size: { width: bounds44.width, height: bounds44.height },
13952
+ center: { x: bounds44.centerX, y: bounds44.centerY }
13927
13953
  });
13928
13954
 
13929
13955
  // symbols/potentiometer2_vert.ts
13930
13956
  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}");
13957
+ var texts57 = rotated19.primitives.filter((p) => p.type === "text");
13958
+ var val29 = texts57.find((t) => t.text === "{VAL}");
13933
13959
  val29.anchor = "middle_right";
13934
- var ref33 = texts56.find((t) => t.text === "{REF}");
13960
+ var ref33 = texts57.find((t) => t.text === "{REF}");
13935
13961
  ref33.anchor = "middle_left";
13936
13962
  var potentiometer2_vert_default = rotated19;
13937
13963
 
@@ -14129,11 +14155,11 @@ var power_factor_meter_default = {
14129
14155
  };
14130
14156
 
14131
14157
  // symbols/power_factor_meter_horz.ts
14132
- var { paths: paths44, texts: texts57, bounds: bounds44, refblocks: refblocks44, circles: circles39 } = power_factor_meter_default;
14158
+ var { paths: paths45, texts: texts58, bounds: bounds45, refblocks: refblocks45, circles: circles40 } = power_factor_meter_default;
14133
14159
  var power_factor_meter_horz_default = defineSymbol({
14134
14160
  primitives: [
14135
- ...Object.values(paths44),
14136
- ...Object.values(circles39),
14161
+ ...Object.values(paths45),
14162
+ ...Object.values(circles40),
14137
14163
  // { ...texts.top1, anchor: "middle_left" },
14138
14164
  {
14139
14165
  type: "text",
@@ -14160,21 +14186,21 @@ var power_factor_meter_horz_default = defineSymbol({
14160
14186
  }
14161
14187
  ],
14162
14188
  ports: [
14163
- { ...refblocks44.left1, labels: ["1"] },
14189
+ { ...refblocks45.left1, labels: ["1"] },
14164
14190
  // TODO add more "standard" labels
14165
- { ...refblocks44.right1, labels: ["2"] }
14191
+ { ...refblocks45.right1, labels: ["2"] }
14166
14192
  // TODO add more "standard" labels
14167
14193
  ],
14168
- size: { width: bounds44.width, height: bounds44.height },
14169
- center: { x: bounds44.centerX, y: bounds44.centerY }
14194
+ size: { width: bounds45.width, height: bounds45.height },
14195
+ center: { x: bounds45.centerX, y: bounds45.centerY }
14170
14196
  });
14171
14197
 
14172
14198
  // symbols/power_factor_meter_vert.ts
14173
14199
  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");
14200
+ var texts59 = rotatedSymbol18.primitives.filter((p) => p.type === "text");
14201
+ var ref34 = texts59.find((t) => t.text === "{REF}");
14202
+ var val30 = texts59.find((t) => t.text === "{VAL}");
14203
+ var text_cos = texts59.find((t) => t.text === "COS \u03C6");
14178
14204
  ref34.x = 0.35;
14179
14205
  ref34.y = 0;
14180
14206
  ref34.anchor = "middle_left";
@@ -14305,22 +14331,22 @@ var push_button_normally_closed_momentary_default = {
14305
14331
  };
14306
14332
 
14307
14333
  // 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;
14334
+ var { paths: paths46, texts: texts60, bounds: bounds46, refblocks: refblocks46, circles: circles41 } = push_button_normally_closed_momentary_default;
14309
14335
  var push_button_normally_closed_momentary_horz_default = defineSymbol({
14310
14336
  primitives: [
14311
- ...Object.values(paths45),
14312
- ...Object.values(circles40),
14313
- { ...texts59.top1, anchor: "middle_left" },
14314
- { ...texts59.bottom1, anchor: "middle_left" }
14337
+ ...Object.values(paths46),
14338
+ ...Object.values(circles41),
14339
+ { ...texts60.top1, anchor: "middle_left" },
14340
+ { ...texts60.bottom1, anchor: "middle_left" }
14315
14341
  ],
14316
14342
  ports: [
14317
- { ...refblocks45.left1, labels: ["1"] },
14343
+ { ...refblocks46.left1, labels: ["1"] },
14318
14344
  // TODO add more "standard" labels
14319
- { ...refblocks45.right1, labels: ["2"] }
14345
+ { ...refblocks46.right1, labels: ["2"] }
14320
14346
  // TODO add more "standard" labels
14321
14347
  ],
14322
- size: { width: bounds45.width, height: bounds45.height },
14323
- center: { x: bounds45.centerX, y: bounds45.centerY }
14348
+ size: { width: bounds46.width, height: bounds46.height },
14349
+ center: { x: bounds46.centerX, y: bounds46.centerY }
14324
14350
  });
14325
14351
 
14326
14352
  // symbols/push_button_normally_closed_momentary_vert.ts
@@ -14475,22 +14501,22 @@ var push_button_normally_open_momentary_default = {
14475
14501
  };
14476
14502
 
14477
14503
  // 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;
14504
+ var { paths: paths47, texts: texts61, bounds: bounds47, refblocks: refblocks47, circles: circles42 } = push_button_normally_open_momentary_default;
14479
14505
  var push_button_normally_open_momentary_horz_default = defineSymbol({
14480
14506
  primitives: [
14481
- ...Object.values(paths46),
14482
- ...Object.values(circles41),
14483
- { ...texts60.top1, anchor: "middle_left" },
14484
- { ...texts60.bottom1, anchor: "middle_left" }
14507
+ ...Object.values(paths47),
14508
+ ...Object.values(circles42),
14509
+ { ...texts61.top1, anchor: "middle_left" },
14510
+ { ...texts61.bottom1, anchor: "middle_left" }
14485
14511
  ],
14486
14512
  ports: [
14487
- { ...refblocks46.left1, labels: ["1"] },
14513
+ { ...refblocks47.left1, labels: ["1"] },
14488
14514
  // TODO add more "standard" labels
14489
- { ...refblocks46.right1, labels: ["2"] }
14515
+ { ...refblocks47.right1, labels: ["2"] }
14490
14516
  // TODO add more "standard" labels
14491
14517
  ],
14492
- size: { width: bounds46.width, height: bounds46.height },
14493
- center: { x: bounds46.centerX, y: bounds46.centerY }
14518
+ size: { width: bounds47.width, height: bounds47.height },
14519
+ center: { x: bounds47.centerX, y: bounds47.centerY }
14494
14520
  });
14495
14521
 
14496
14522
  // symbols/push_button_normally_open_momentary_vert.ts
@@ -14906,26 +14932,26 @@ var rectifier_diode_default = {
14906
14932
  };
14907
14933
 
14908
14934
  // symbols/rectifier_diode_horz.ts
14909
- var { paths: paths47, texts: texts61, bounds: bounds47, refblocks: refblocks47, circles: circles42 } = rectifier_diode_default;
14935
+ var { paths: paths48, texts: texts62, bounds: bounds48, refblocks: refblocks48, circles: circles43 } = rectifier_diode_default;
14910
14936
  var rectifier_diode_horz_default = defineSymbol({
14911
14937
  primitives: [
14912
- ...Object.values(paths47),
14913
- ...Object.values(circles42),
14914
- { ...texts61.top1, anchor: "middle_right" },
14915
- { ...texts61.bottom1, anchor: "middle_right" }
14938
+ ...Object.values(paths48),
14939
+ ...Object.values(circles43),
14940
+ { ...texts62.top1, anchor: "middle_right" },
14941
+ { ...texts62.bottom1, anchor: "middle_right" }
14916
14942
  ],
14917
14943
  ports: [
14918
- { ...refblocks47.top1, labels: ["1"] },
14944
+ { ...refblocks48.top1, labels: ["1"] },
14919
14945
  // TODO add more "standard" labels
14920
- { ...refblocks47.bottom1, labels: ["2"] },
14946
+ { ...refblocks48.bottom1, labels: ["2"] },
14921
14947
  // TODO add more "standard" labels
14922
- { ...refblocks47.left1, labels: ["3"] },
14948
+ { ...refblocks48.left1, labels: ["3"] },
14923
14949
  // TODO add more "standard" labels
14924
- { ...refblocks47.right1, labels: ["4"] }
14950
+ { ...refblocks48.right1, labels: ["4"] }
14925
14951
  // TODO add more "standard" labels
14926
14952
  ],
14927
- size: { width: bounds47.width, height: bounds47.height },
14928
- center: { x: bounds47.centerX, y: bounds47.centerY }
14953
+ size: { width: bounds48.width, height: bounds48.height },
14954
+ center: { x: bounds48.centerX, y: bounds48.centerY }
14929
14955
  });
14930
14956
 
14931
14957
  // symbols/rectifier_diode_vert.ts
@@ -15147,11 +15173,11 @@ var resistor_default = {
15147
15173
  };
15148
15174
 
15149
15175
  // symbols/resistor_down.ts
15150
- var { paths: paths48, texts: texts62, bounds: bounds48, refblocks: refblocks48, circles: circles43 } = resistor_default;
15176
+ var { paths: paths49, texts: texts63, bounds: bounds49, refblocks: refblocks49, circles: circles44 } = resistor_default;
15151
15177
  var resistor_down_default = modifySymbol({
15152
15178
  primitives: [
15153
- ...Object.values(paths48),
15154
- ...Object.values(circles43),
15179
+ ...Object.values(paths49),
15180
+ ...Object.values(circles44),
15155
15181
  {
15156
15182
  type: "text",
15157
15183
  text: "{REF}",
@@ -15166,21 +15192,21 @@ var resistor_down_default = modifySymbol({
15166
15192
  }
15167
15193
  ],
15168
15194
  ports: [
15169
- { ...refblocks48.left1, labels: ["1"] },
15195
+ { ...refblocks49.left1, labels: ["1"] },
15170
15196
  // TODO add more "standard" labels
15171
- { ...refblocks48.right1, labels: ["2"] }
15197
+ { ...refblocks49.right1, labels: ["2"] }
15172
15198
  // TODO add more "standard" labels
15173
15199
  ],
15174
- size: { width: bounds48.width, height: bounds48.height },
15175
- center: { x: bounds48.centerX, y: bounds48.centerY }
15200
+ size: { width: bounds49.width, height: bounds49.height },
15201
+ center: { x: bounds49.centerX, y: bounds49.centerY }
15176
15202
  }).rotateRightFacingSymbol("down").labelPort("left", ["1"]).labelPort("right", ["2"]).changeTextAnchor("{REF}", "middle_left").changeTextAnchor("{VAL}", "middle_left").build();
15177
15203
 
15178
15204
  // symbols/resistor_left.ts
15179
- var { paths: paths49, texts: texts63, bounds: bounds49, refblocks: refblocks49, circles: circles44 } = resistor_default;
15205
+ var { paths: paths50, texts: texts64, bounds: bounds50, refblocks: refblocks50, circles: circles45 } = resistor_default;
15180
15206
  var resistor_left_default = modifySymbol({
15181
15207
  primitives: [
15182
- ...Object.values(paths49),
15183
- ...Object.values(circles44),
15208
+ ...Object.values(paths50),
15209
+ ...Object.values(circles45),
15184
15210
  {
15185
15211
  type: "text",
15186
15212
  text: "{REF}",
@@ -15195,21 +15221,21 @@ var resistor_left_default = modifySymbol({
15195
15221
  }
15196
15222
  ],
15197
15223
  ports: [
15198
- { ...refblocks49.left1, labels: ["1"] },
15224
+ { ...refblocks50.left1, labels: ["1"] },
15199
15225
  // TODO add more "standard" labels
15200
- { ...refblocks49.right1, labels: ["2"] }
15226
+ { ...refblocks50.right1, labels: ["2"] }
15201
15227
  // TODO add more "standard" labels
15202
15228
  ],
15203
- size: { width: bounds49.width, height: bounds49.height },
15204
- center: { x: bounds49.centerX, y: bounds49.centerY }
15229
+ size: { width: bounds50.width, height: bounds50.height },
15230
+ center: { x: bounds50.centerX, y: bounds50.centerY }
15205
15231
  }).rotateRightFacingSymbol("left").labelPort("left", ["1"]).labelPort("right", ["2"]).changeTextAnchor("{REF}", "middle_bottom").changeTextAnchor("{VAL}", "middle_top").build();
15206
15232
 
15207
15233
  // symbols/resistor_right.ts
15208
- var { paths: paths50, texts: texts64, bounds: bounds50, refblocks: refblocks50, circles: circles45 } = resistor_default;
15234
+ var { paths: paths51, texts: texts65, bounds: bounds51, refblocks: refblocks51, circles: circles46 } = resistor_default;
15209
15235
  var resistor_right_default = modifySymbol({
15210
15236
  primitives: [
15211
- ...Object.values(paths50),
15212
- ...Object.values(circles45),
15237
+ ...Object.values(paths51),
15238
+ ...Object.values(circles46),
15213
15239
  {
15214
15240
  type: "text",
15215
15241
  text: "{REF}",
@@ -15224,21 +15250,21 @@ var resistor_right_default = modifySymbol({
15224
15250
  }
15225
15251
  ],
15226
15252
  ports: [
15227
- { ...refblocks50.left1, labels: ["1"] },
15253
+ { ...refblocks51.left1, labels: ["1"] },
15228
15254
  // TODO add more "standard" labels
15229
- { ...refblocks50.right1, labels: ["2"] }
15255
+ { ...refblocks51.right1, labels: ["2"] }
15230
15256
  // TODO add more "standard" labels
15231
15257
  ],
15232
- size: { width: bounds50.width, height: bounds50.height },
15233
- center: { x: bounds50.centerX, y: bounds50.centerY }
15258
+ size: { width: bounds51.width, height: bounds51.height },
15259
+ center: { x: bounds51.centerX, y: bounds51.centerY }
15234
15260
  }).rotateRightFacingSymbol("right").labelPort("left", ["1"]).labelPort("right", ["2"]).changeTextAnchor("{REF}", "middle_bottom").changeTextAnchor("{VAL}", "middle_top").build();
15235
15261
 
15236
15262
  // symbols/resistor_up.ts
15237
- var { paths: paths51, texts: texts65, bounds: bounds51, refblocks: refblocks51, circles: circles46 } = resistor_default;
15263
+ var { paths: paths52, texts: texts66, bounds: bounds52, refblocks: refblocks52, circles: circles47 } = resistor_default;
15238
15264
  var resistor_up_default = modifySymbol({
15239
15265
  primitives: [
15240
- ...Object.values(paths51),
15241
- ...Object.values(circles46),
15266
+ ...Object.values(paths52),
15267
+ ...Object.values(circles47),
15242
15268
  {
15243
15269
  type: "text",
15244
15270
  text: "{REF}",
@@ -15253,13 +15279,13 @@ var resistor_up_default = modifySymbol({
15253
15279
  }
15254
15280
  ],
15255
15281
  ports: [
15256
- { ...refblocks51.left1, labels: ["1"] },
15282
+ { ...refblocks52.left1, labels: ["1"] },
15257
15283
  // TODO add more "standard" labels
15258
- { ...refblocks51.right1, labels: ["2"] }
15284
+ { ...refblocks52.right1, labels: ["2"] }
15259
15285
  // TODO add more "standard" labels
15260
15286
  ],
15261
- size: { width: bounds51.width, height: bounds51.height },
15262
- center: { x: bounds51.centerX, y: bounds51.centerY }
15287
+ size: { width: bounds52.width, height: bounds52.height },
15288
+ center: { x: bounds52.centerX, y: bounds52.centerY }
15263
15289
  }).rotateRightFacingSymbol("up").labelPort("left", ["1"]).labelPort("right", ["2"]).changeTextAnchor("{REF}", "middle_left").changeTextAnchor("{VAL}", "middle_left").build();
15264
15290
 
15265
15291
  // assets/generated/resonator.json
@@ -15608,11 +15634,11 @@ var resonator_default = {
15608
15634
  };
15609
15635
 
15610
15636
  // symbols/resonator_horz.ts
15611
- var { paths: paths52, texts: texts66, bounds: bounds52, refblocks: refblocks52, circles: circles47 } = resonator_default;
15637
+ var { paths: paths53, texts: texts67, bounds: bounds53, refblocks: refblocks53, circles: circles48 } = resonator_default;
15612
15638
  var resonator_horz_default = defineSymbol({
15613
15639
  primitives: [
15614
- ...Object.values(paths52),
15615
- ...Object.values(circles47),
15640
+ ...Object.values(paths53),
15641
+ ...Object.values(circles48),
15616
15642
  // { ...texts.top1, anchor: "middle_left" },
15617
15643
  // { ...texts.bottom1, anchor: "middle_left" },
15618
15644
  {
@@ -15631,15 +15657,15 @@ var resonator_horz_default = defineSymbol({
15631
15657
  }
15632
15658
  ],
15633
15659
  ports: [
15634
- { ...refblocks52.left1, labels: ["1"] },
15660
+ { ...refblocks53.left1, labels: ["1"] },
15635
15661
  // TODO add more "standard" labels
15636
- { ...refblocks52.right1, labels: ["2"] },
15662
+ { ...refblocks53.right1, labels: ["2"] },
15637
15663
  // TODO add more "standard" labels
15638
- { ...refblocks52.right2, labels: ["3"] }
15664
+ { ...refblocks53.right2, labels: ["3"] }
15639
15665
  // TODO add more "standard" labels
15640
15666
  ],
15641
- size: { width: bounds52.width, height: bounds52.height },
15642
- center: { x: bounds52.centerX, y: bounds52.centerY }
15667
+ size: { width: bounds53.width, height: bounds53.height },
15668
+ center: { x: bounds53.centerX, y: bounds53.centerY }
15643
15669
  });
15644
15670
 
15645
15671
  // symbols/resonator_vert.ts
@@ -15995,15 +16021,15 @@ var silicon_controlled_rectifier_default = {
15995
16021
  };
15996
16022
 
15997
16023
  // symbols/silicon_controlled_rectifier_horz.ts
15998
- var { paths: paths53, texts: texts67, bounds: bounds53, refblocks: refblocks53, circles: circles48 } = silicon_controlled_rectifier_default;
16024
+ var { paths: paths54, texts: texts68, bounds: bounds54, refblocks: refblocks54, circles: circles49 } = silicon_controlled_rectifier_default;
15999
16025
  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
16026
 
16001
16027
  // symbols/silicon_controlled_rectifier_vert.ts
16002
16028
  var rotatedSymbol19 = rotateSymbol(silicon_controlled_rectifier_horz_default);
16003
- var texts68 = rotatedSymbol19.primitives.filter(
16029
+ var texts69 = rotatedSymbol19.primitives.filter(
16004
16030
  (primitive) => primitive.type === "text"
16005
16031
  );
16006
- var ref37 = texts68.find((text) => text.text === "{REF}");
16032
+ var ref37 = texts69.find((text) => text.text === "{REF}");
16007
16033
  ref37.y = 0;
16008
16034
  ref37.anchor = "middle_left";
16009
16035
  var silicon_controlled_rectifier_vert_default = rotatedSymbol19;
@@ -19563,7 +19589,7 @@ var step_recovery_diode_default = {
19563
19589
  };
19564
19590
 
19565
19591
  // symbols/step_recovery_diode_horz.ts
19566
- var { paths: paths54, texts: texts69, bounds: bounds54, refblocks: refblocks54, circles: circles49 } = step_recovery_diode_default;
19592
+ var { paths: paths55, texts: texts70, bounds: bounds55, refblocks: refblocks55, circles: circles50 } = step_recovery_diode_default;
19567
19593
  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
19594
 
19569
19595
  // symbols/step_recovery_diode_vert.ts
@@ -19656,11 +19682,11 @@ var tachometer_default = {
19656
19682
  };
19657
19683
 
19658
19684
  // symbols/tachometer_horz.ts
19659
- var { paths: paths55, texts: texts70, bounds: bounds55, refblocks: refblocks55, circles: circles50 } = tachometer_default;
19685
+ var { paths: paths56, texts: texts71, bounds: bounds56, refblocks: refblocks56, circles: circles51 } = tachometer_default;
19660
19686
  var tachometer_horz_default = defineSymbol({
19661
19687
  primitives: [
19662
- ...Object.values(paths55),
19663
- ...Object.values(circles50),
19688
+ ...Object.values(paths56),
19689
+ ...Object.values(circles51),
19664
19690
  {
19665
19691
  type: "text",
19666
19692
  text: "{REF}",
@@ -19675,16 +19701,16 @@ var tachometer_horz_default = defineSymbol({
19675
19701
  y: 0.35,
19676
19702
  anchor: "middle_bottom"
19677
19703
  },
19678
- { ...texts70.left1, y: 0.01, anchor: "center", fontSize: 0.2 }
19704
+ { ...texts71.left1, y: 0.01, anchor: "center", fontSize: 0.2 }
19679
19705
  ],
19680
19706
  ports: [
19681
- { ...refblocks55.left1, labels: ["1"] },
19707
+ { ...refblocks56.left1, labels: ["1"] },
19682
19708
  // TODO add more "standard" labels
19683
- { ...refblocks55.right1, labels: ["2"] }
19709
+ { ...refblocks56.right1, labels: ["2"] }
19684
19710
  // TODO add more "standard" labels
19685
19711
  ],
19686
- size: { width: bounds55.width, height: bounds55.height },
19687
- center: { x: bounds55.centerX, y: bounds55.centerY }
19712
+ size: { width: bounds56.width, height: bounds56.height },
19713
+ center: { x: bounds56.centerX, y: bounds56.centerY }
19688
19714
  });
19689
19715
 
19690
19716
  // symbols/tachometer_vert.ts
@@ -20106,16 +20132,16 @@ var triac_default = {
20106
20132
  };
20107
20133
 
20108
20134
  // symbols/triac_horz.ts
20109
- var { paths: paths56, texts: texts71, bounds: bounds56, refblocks: refblocks56, circles: circles51 } = triac_default;
20135
+ var { paths: paths57, texts: texts72, bounds: bounds57, refblocks: refblocks57, circles: circles52 } = triac_default;
20110
20136
  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
20137
 
20112
20138
  // symbols/triac_vert.ts
20113
20139
  var rotatedSymbol21 = rotateSymbol(triac_horz_default);
20114
- var texts72 = rotatedSymbol21.primitives.filter(
20140
+ var texts73 = rotatedSymbol21.primitives.filter(
20115
20141
  (primitive) => primitive.type === "text"
20116
20142
  );
20117
- var ref55 = texts72.find((text) => text.text === "{REF}");
20118
- var val48 = texts72.find((text) => text.text === "{VAL}");
20143
+ var ref55 = texts73.find((text) => text.text === "{REF}");
20144
+ var val48 = texts73.find((text) => text.text === "{VAL}");
20119
20145
  ref55.y = 0;
20120
20146
  val48.y = 0;
20121
20147
  var triac_vert_default = rotatedSymbol21;
@@ -20282,22 +20308,22 @@ var tunnel_diode_default = {
20282
20308
  };
20283
20309
 
20284
20310
  // symbols/tunnel_diode_horz.ts
20285
- var { paths: paths57, texts: texts73, bounds: bounds57, refblocks: refblocks57, circles: circles52 } = tunnel_diode_default;
20311
+ var { paths: paths58, texts: texts74, bounds: bounds58, refblocks: refblocks58, circles: circles53 } = tunnel_diode_default;
20286
20312
  var tunnel_diode_horz_default = defineSymbol({
20287
20313
  primitives: [
20288
- ...Object.values(paths57),
20289
- ...Object.values(circles52),
20290
- { ...texts73.top1, anchor: "middle_bottom" },
20291
- { ...texts73.bottom1, anchor: "middle_top" }
20314
+ ...Object.values(paths58),
20315
+ ...Object.values(circles53),
20316
+ { ...texts74.top1, anchor: "middle_bottom" },
20317
+ { ...texts74.bottom1, anchor: "middle_top" }
20292
20318
  ],
20293
20319
  ports: [
20294
- { ...refblocks57.left1, labels: ["1"] },
20320
+ { ...refblocks58.left1, labels: ["1"] },
20295
20321
  // TODO add more "standard" labels
20296
- { ...refblocks57.right1, labels: ["2"] }
20322
+ { ...refblocks58.right1, labels: ["2"] }
20297
20323
  // TODO add more "standard" labels
20298
20324
  ],
20299
- size: { width: bounds57.width, height: bounds57.height },
20300
- center: { x: bounds57.centerX, y: bounds57.centerY }
20325
+ size: { width: bounds58.width, height: bounds58.height },
20326
+ center: { x: bounds58.centerX, y: bounds58.centerY }
20301
20327
  });
20302
20328
 
20303
20329
  // symbols/tunnel_diode_vert.ts
@@ -20480,34 +20506,34 @@ var unijunction_transistor_default = {
20480
20506
  };
20481
20507
 
20482
20508
  // symbols/unijunction_transistor_horz.ts
20483
- var { paths: paths58, texts: texts74, bounds: bounds58, refblocks: refblocks58, circles: circles53 } = unijunction_transistor_default;
20509
+ var { paths: paths59, texts: texts75, bounds: bounds59, refblocks: refblocks59, circles: circles54 } = unijunction_transistor_default;
20484
20510
  var unijunction_transistor_horz_default = defineSymbol({
20485
20511
  primitives: [
20486
- ...Object.values(paths58),
20487
- ...Object.values(circles53),
20488
- { ...texts74.top1, anchor: "middle_left" },
20489
- { ...texts74.bottom1, anchor: "middle_right" }
20512
+ ...Object.values(paths59),
20513
+ ...Object.values(circles54),
20514
+ { ...texts75.top1, anchor: "middle_left" },
20515
+ { ...texts75.bottom1, anchor: "middle_right" }
20490
20516
  ],
20491
20517
  ports: [
20492
- { ...refblocks58.top1, labels: ["1"] },
20518
+ { ...refblocks59.top1, labels: ["1"] },
20493
20519
  // TODO add more "standard" labels
20494
- { ...refblocks58.bottom1, labels: ["2"] },
20520
+ { ...refblocks59.bottom1, labels: ["2"] },
20495
20521
  // TODO add more "standard" labels
20496
- { ...refblocks58.left1, labels: ["3"] }
20522
+ { ...refblocks59.left1, labels: ["3"] }
20497
20523
  // TODO add more "standard" labels
20498
20524
  ],
20499
- size: { width: bounds58.width, height: bounds58.height },
20500
- center: { x: bounds58.centerX, y: bounds58.centerY }
20525
+ size: { width: bounds59.width, height: bounds59.height },
20526
+ center: { x: bounds59.centerX, y: bounds59.centerY }
20501
20527
  });
20502
20528
 
20503
20529
  // symbols/unijunction_transistor_vert.ts
20504
20530
  var rotatedSymbol22 = rotateSymbol(unijunction_transistor_horz_default);
20505
- var texts75 = rotatedSymbol22.primitives.filter(
20531
+ var texts76 = rotatedSymbol22.primitives.filter(
20506
20532
  (primitive) => primitive.type === "text"
20507
20533
  );
20508
- var ref57 = texts75.find((text) => text.text === "{REF}");
20534
+ var ref57 = texts76.find((text) => text.text === "{REF}");
20509
20535
  ref57.y = 0.1;
20510
- var val50 = texts75.find((text) => text.text === "{VAL}");
20536
+ var val50 = texts76.find((text) => text.text === "{VAL}");
20511
20537
  val50.y = 0.1;
20512
20538
  val50.x = -0.4;
20513
20539
  var unijunction_transistor_vert_default = rotatedSymbol22;
@@ -20599,33 +20625,33 @@ var var_meter_default = {
20599
20625
  };
20600
20626
 
20601
20627
  // symbols/var_meter_horz.ts
20602
- var { paths: paths59, texts: texts76, bounds: bounds59, refblocks: refblocks59, circles: circles54 } = var_meter_default;
20628
+ var { paths: paths60, texts: texts77, bounds: bounds60, refblocks: refblocks60, circles: circles55 } = var_meter_default;
20603
20629
  var var_meter_horz_default = defineSymbol({
20604
20630
  primitives: [
20605
- ...Object.values(paths59),
20606
- ...Object.values(circles54),
20631
+ ...Object.values(paths60),
20632
+ ...Object.values(circles55),
20607
20633
  {
20608
- ...texts76.top1,
20634
+ ...texts77.top1,
20609
20635
  x: 0,
20610
20636
  y: -0.3594553499999995,
20611
20637
  anchor: "middle_top"
20612
20638
  },
20613
20639
  {
20614
- ...texts76.bottom1,
20640
+ ...texts77.bottom1,
20615
20641
  x: 0,
20616
20642
  y: 0.35,
20617
20643
  anchor: "middle_bottom"
20618
20644
  },
20619
- { ...texts76.left1, x: -0.02, y: 0.01, fontSize: 0.2, anchor: "center" }
20645
+ { ...texts77.left1, x: -0.02, y: 0.01, fontSize: 0.2, anchor: "center" }
20620
20646
  ],
20621
20647
  ports: [
20622
- { ...refblocks59.left1, labels: ["1"] },
20648
+ { ...refblocks60.left1, labels: ["1"] },
20623
20649
  // TODO add more "standard" labels
20624
- { ...refblocks59.right1, labels: ["2"] }
20650
+ { ...refblocks60.right1, labels: ["2"] }
20625
20651
  // TODO add more "standard" labels
20626
20652
  ],
20627
- size: { width: bounds59.width, height: bounds59.height },
20628
- center: { x: bounds59.centerX, y: bounds59.centerY }
20653
+ size: { width: bounds60.width, height: bounds60.height },
20654
+ center: { x: bounds60.centerX, y: bounds60.centerY }
20629
20655
  });
20630
20656
 
20631
20657
  // symbols/var_meter_vert.ts
@@ -20778,22 +20804,22 @@ var varactor_diode_default = {
20778
20804
  };
20779
20805
 
20780
20806
  // symbols/varactor_diode_horz.ts
20781
- var { paths: paths60, texts: texts77, bounds: bounds60, refblocks: refblocks60, circles: circles55 } = varactor_diode_default;
20807
+ var { paths: paths61, texts: texts78, bounds: bounds61, refblocks: refblocks61, circles: circles56 } = varactor_diode_default;
20782
20808
  var varactor_diode_horz_default = defineSymbol({
20783
20809
  primitives: [
20784
- ...Object.values(paths60),
20785
- ...Object.values(circles55),
20786
- { ...texts77.top1, anchor: "middle_bottom" },
20787
- { ...texts77.bottom1, anchor: "middle_top" }
20810
+ ...Object.values(paths61),
20811
+ ...Object.values(circles56),
20812
+ { ...texts78.top1, anchor: "middle_bottom" },
20813
+ { ...texts78.bottom1, anchor: "middle_top" }
20788
20814
  ],
20789
20815
  ports: [
20790
- { ...refblocks60.left1, labels: ["1"] },
20816
+ { ...refblocks61.left1, labels: ["1"] },
20791
20817
  // TODO add more "standard" labels
20792
- { ...refblocks60.right1, labels: ["2"] }
20818
+ { ...refblocks61.right1, labels: ["2"] }
20793
20819
  // TODO add more "standard" labels
20794
20820
  ],
20795
- size: { width: bounds60.width, height: bounds60.height },
20796
- center: { x: bounds60.centerX, y: bounds60.centerY }
20821
+ size: { width: bounds61.width, height: bounds61.height },
20822
+ center: { x: bounds61.centerX, y: bounds61.centerY }
20797
20823
  });
20798
20824
 
20799
20825
  // symbols/varactor_diode_vert.ts
@@ -20941,26 +20967,26 @@ var varistor_default = {
20941
20967
  };
20942
20968
 
20943
20969
  // symbols/varistor_horz.ts
20944
- var { paths: paths61, texts: texts78, bounds: bounds61, refblocks: refblocks61 } = varistor_default;
20970
+ var { paths: paths62, texts: texts79, bounds: bounds62, refblocks: refblocks62 } = varistor_default;
20945
20971
  var varistor_horz_default = defineSymbol({
20946
20972
  primitives: [
20947
- ...Object.values(paths61),
20948
- { ...texts78.top1, anchor: "middle_left" },
20949
- { ...texts78.bottom1, anchor: "middle_right" }
20973
+ ...Object.values(paths62),
20974
+ { ...texts79.top1, anchor: "middle_left" },
20975
+ { ...texts79.bottom1, anchor: "middle_right" }
20950
20976
  ],
20951
20977
  ports: [
20952
20978
  {
20953
- ...refblocks61.left1,
20979
+ ...refblocks62.left1,
20954
20980
  labels: ["1", "-"]
20955
20981
  },
20956
20982
  {
20957
- ...refblocks61.right1,
20983
+ ...refblocks62.right1,
20958
20984
  labels: ["2", "+"]
20959
20985
  }
20960
20986
  ],
20961
- size: { width: bounds61.width, height: bounds61.height },
20987
+ size: { width: bounds62.width, height: bounds62.height },
20962
20988
  //{ width: 1, height: 0.24 },
20963
- center: { x: bounds61.centerX, y: bounds61.centerY }
20989
+ center: { x: bounds62.centerX, y: bounds62.centerY }
20964
20990
  });
20965
20991
 
20966
20992
  // symbols/varistor_vert.ts
@@ -21053,11 +21079,11 @@ var varmeter_default = {
21053
21079
  };
21054
21080
 
21055
21081
  // symbols/varmeter_horz.ts
21056
- var { paths: paths62, texts: texts79, bounds: bounds62, refblocks: refblocks62, circles: circles56 } = varmeter_default;
21082
+ var { paths: paths63, texts: texts80, bounds: bounds63, refblocks: refblocks63, circles: circles57 } = varmeter_default;
21057
21083
  var varmeter_horz_default = defineSymbol({
21058
21084
  primitives: [
21059
- ...Object.values(paths62),
21060
- ...Object.values(circles56),
21085
+ ...Object.values(paths63),
21086
+ ...Object.values(circles57),
21061
21087
  {
21062
21088
  type: "text",
21063
21089
  text: "{REF}",
@@ -21072,16 +21098,16 @@ var varmeter_horz_default = defineSymbol({
21072
21098
  y: 0.35,
21073
21099
  anchor: "middle_bottom"
21074
21100
  },
21075
- { ...texts79.left1, anchor: "center", y: 0.02, fontSize: 0.2 }
21101
+ { ...texts80.left1, anchor: "center", y: 0.02, fontSize: 0.2 }
21076
21102
  ],
21077
21103
  ports: [
21078
- { ...refblocks62.left1, labels: ["1"] },
21104
+ { ...refblocks63.left1, labels: ["1"] },
21079
21105
  // TODO add more "standard" labels
21080
- { ...refblocks62.right1, labels: ["2"] }
21106
+ { ...refblocks63.right1, labels: ["2"] }
21081
21107
  // TODO add more "standard" labels
21082
21108
  ],
21083
- size: { width: bounds62.width, height: bounds62.height },
21084
- center: { x: bounds62.centerX, y: bounds62.centerY }
21109
+ size: { width: bounds63.width, height: bounds63.height },
21110
+ center: { x: bounds63.centerX, y: bounds63.centerY }
21085
21111
  });
21086
21112
 
21087
21113
  // symbols/varmeter_vert.ts
@@ -21286,7 +21312,7 @@ var volt_meter_default = {
21286
21312
  };
21287
21313
 
21288
21314
  // symbols/volt_meter_horz.ts
21289
- var { paths: paths63, texts: texts80, bounds: bounds63, circles: circles57, refblocks: refblocks63 } = volt_meter_default;
21315
+ var { paths: paths64, texts: texts81, bounds: bounds64, circles: circles58, refblocks: refblocks64 } = volt_meter_default;
21290
21316
  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
21317
 
21292
21318
  // symbols/volt_meter_vert.ts
@@ -21379,11 +21405,11 @@ var watt_hour_meter_default = {
21379
21405
  };
21380
21406
 
21381
21407
  // symbols/watt_hour_meter_horz.ts
21382
- var { paths: paths64, texts: texts81, bounds: bounds64, refblocks: refblocks64, circles: circles58 } = watt_hour_meter_default;
21408
+ var { paths: paths65, texts: texts82, bounds: bounds65, refblocks: refblocks65, circles: circles59 } = watt_hour_meter_default;
21383
21409
  var watt_hour_meter_horz_default = defineSymbol({
21384
21410
  primitives: [
21385
- ...Object.values(paths64),
21386
- ...Object.values(circles58),
21411
+ ...Object.values(paths65),
21412
+ ...Object.values(circles59),
21387
21413
  {
21388
21414
  type: "text",
21389
21415
  text: "{REF}",
@@ -21398,16 +21424,16 @@ var watt_hour_meter_horz_default = defineSymbol({
21398
21424
  y: 0.35,
21399
21425
  anchor: "middle_bottom"
21400
21426
  },
21401
- { ...texts81.left1, anchor: "center", y: 0.01, fontSize: 0.2 }
21427
+ { ...texts82.left1, anchor: "center", y: 0.01, fontSize: 0.2 }
21402
21428
  ],
21403
21429
  ports: [
21404
- { ...refblocks64.left1, labels: ["1"] },
21430
+ { ...refblocks65.left1, labels: ["1"] },
21405
21431
  // TODO add more "standard" labels
21406
- { ...refblocks64.right1, labels: ["2"] }
21432
+ { ...refblocks65.right1, labels: ["2"] }
21407
21433
  // TODO add more "standard" labels
21408
21434
  ],
21409
- size: { width: bounds64.width, height: bounds64.height },
21410
- center: { x: bounds64.centerX, y: bounds64.centerY }
21435
+ size: { width: bounds65.width, height: bounds65.height },
21436
+ center: { x: bounds65.centerX, y: bounds65.centerY }
21411
21437
  });
21412
21438
 
21413
21439
  // symbols/watt_hour_meter_vert.ts
@@ -21511,11 +21537,11 @@ var wattmeter_default = {
21511
21537
  };
21512
21538
 
21513
21539
  // symbols/wattmeter_horz.ts
21514
- var { paths: paths65, texts: texts82, bounds: bounds65, refblocks: refblocks65, circles: circles59 } = wattmeter_default;
21540
+ var { paths: paths66, texts: texts83, bounds: bounds66, refblocks: refblocks66, circles: circles60 } = wattmeter_default;
21515
21541
  var wattmeter_horz_default = defineSymbol({
21516
21542
  primitives: [
21517
- ...Object.values(paths65),
21518
- ...Object.values(circles59),
21543
+ ...Object.values(paths66),
21544
+ ...Object.values(circles60),
21519
21545
  {
21520
21546
  type: "text",
21521
21547
  text: "{REF}",
@@ -21530,16 +21556,16 @@ var wattmeter_horz_default = defineSymbol({
21530
21556
  y: 0.35,
21531
21557
  anchor: "middle_bottom"
21532
21558
  },
21533
- { ...texts82.left1, anchor: "center", y: 0.01, fontSize: 0.3 }
21559
+ { ...texts83.left1, anchor: "center", y: 0.01, fontSize: 0.3 }
21534
21560
  ],
21535
21561
  ports: [
21536
- { ...refblocks65.left1, labels: ["1"] },
21562
+ { ...refblocks66.left1, labels: ["1"] },
21537
21563
  // TODO add more "standard" labels
21538
- { ...refblocks65.right1, labels: ["2"] }
21564
+ { ...refblocks66.right1, labels: ["2"] }
21539
21565
  // TODO add more "standard" labels
21540
21566
  ],
21541
- size: { width: bounds65.width, height: bounds65.height },
21542
- center: { x: bounds65.centerX, y: bounds65.centerY }
21567
+ size: { width: bounds66.width, height: bounds66.height },
21568
+ center: { x: bounds66.centerX, y: bounds66.centerY }
21543
21569
  });
21544
21570
 
21545
21571
  // symbols/wattmeter_vert.ts
@@ -21703,22 +21729,22 @@ var zener_diode_default = {
21703
21729
  };
21704
21730
 
21705
21731
  // symbols/zener_diode_horz.ts
21706
- var { paths: paths66, texts: texts83, bounds: bounds66, refblocks: refblocks66, circles: circles60 } = zener_diode_default;
21732
+ var { paths: paths67, texts: texts84, bounds: bounds67, refblocks: refblocks67, circles: circles61 } = zener_diode_default;
21707
21733
  var zener_diode_horz_default = defineSymbol({
21708
21734
  primitives: [
21709
- ...Object.values(paths66),
21710
- ...Object.values(circles60),
21711
- { ...texts83.top1, anchor: "middle_bottom" },
21712
- { ...texts83.bottom1, anchor: "middle_top" }
21735
+ ...Object.values(paths67),
21736
+ ...Object.values(circles61),
21737
+ { ...texts84.top1, anchor: "middle_bottom" },
21738
+ { ...texts84.bottom1, anchor: "middle_top" }
21713
21739
  ],
21714
21740
  ports: [
21715
- { ...refblocks66.left1, labels: ["1"] },
21741
+ { ...refblocks67.left1, labels: ["1"] },
21716
21742
  // TODO add more "standard" labels
21717
- { ...refblocks66.right1, labels: ["2"] }
21743
+ { ...refblocks67.right1, labels: ["2"] }
21718
21744
  // TODO add more "standard" labels
21719
21745
  ],
21720
- size: { width: bounds66.width, height: bounds66.height },
21721
- center: { x: bounds66.centerX, y: bounds66.centerY }
21746
+ size: { width: bounds67.width, height: bounds67.height },
21747
+ center: { x: bounds67.centerX, y: bounds67.centerY }
21722
21748
  });
21723
21749
 
21724
21750
  // symbols/zener_diode_vert.ts