schematic-symbols 0.0.108 → 0.0.110

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
@@ -4514,6 +4514,256 @@ var diode_left_default = rotateSymbol(diode_right_default, "left");
4514
4514
  // symbols/diode_up.ts
4515
4515
  var diode_up_default = rotateSymbol(diode_right_default, "up");
4516
4516
 
4517
+ // assets/generated/dpdt_switch.json
4518
+ var dpdt_switch_default = {
4519
+ paths: {
4520
+ path1: {
4521
+ type: "path",
4522
+ points: [
4523
+ {
4524
+ x: -0.3543580999999998,
4525
+ y: 0.22373490000000018
4526
+ },
4527
+ {
4528
+ x: -0.1279290999999998,
4529
+ y: 0.22373490000000018
4530
+ }
4531
+ ],
4532
+ color: "primary",
4533
+ fill: false
4534
+ },
4535
+ "path-1-3": {
4536
+ type: "path",
4537
+ points: [
4538
+ {
4539
+ x: -0.11341659999999987,
4540
+ y: 0.2240546000000001
4541
+ },
4542
+ {
4543
+ x: 0.1031012,
4544
+ y: 0.354
4545
+ }
4546
+ ],
4547
+ color: "primary",
4548
+ fill: false
4549
+ },
4550
+ path2: {
4551
+ type: "path",
4552
+ points: [
4553
+ {
4554
+ x: 0.10434800000000011,
4555
+ y: 0.127178
4556
+ },
4557
+ {
4558
+ x: 0.345089,
4559
+ y: 0.127178
4560
+ }
4561
+ ],
4562
+ color: "primary",
4563
+ fill: false
4564
+ },
4565
+ path3: {
4566
+ type: "path",
4567
+ points: [
4568
+ {
4569
+ x: 0.12008600000000014,
4570
+ y: 0.36383770000000015
4571
+ },
4572
+ {
4573
+ x: 0.360827,
4574
+ y: 0.36383770000000015
4575
+ }
4576
+ ],
4577
+ color: "primary",
4578
+ fill: false
4579
+ },
4580
+ path4: {
4581
+ type: "path",
4582
+ points: [
4583
+ {
4584
+ x: -0.3543580999999998,
4585
+ y: -0.17811849999999985
4586
+ },
4587
+ {
4588
+ x: -0.1279290999999998,
4589
+ y: -0.17811849999999985
4590
+ }
4591
+ ],
4592
+ color: "primary",
4593
+ fill: false
4594
+ },
4595
+ "path4-6": {
4596
+ type: "path",
4597
+ points: [
4598
+ {
4599
+ x: -0.11341659999999987,
4600
+ y: -0.1777987999999997
4601
+ },
4602
+ {
4603
+ x: 0.1031012,
4604
+ y: -0.04780299999999982
4605
+ }
4606
+ ],
4607
+ color: "primary",
4608
+ fill: false
4609
+ },
4610
+ path5: {
4611
+ type: "path",
4612
+ points: [
4613
+ {
4614
+ x: 0.10434800000000011,
4615
+ y: -0.2746754
4616
+ },
4617
+ {
4618
+ x: 0.345089,
4619
+ y: -0.2746754
4620
+ }
4621
+ ],
4622
+ color: "primary",
4623
+ fill: false
4624
+ },
4625
+ path6: {
4626
+ type: "path",
4627
+ points: [
4628
+ {
4629
+ x: 0.12008600000000014,
4630
+ y: -0.038015699999999875
4631
+ },
4632
+ {
4633
+ x: 0.360827,
4634
+ y: -0.038015699999999875
4635
+ }
4636
+ ],
4637
+ color: "primary",
4638
+ fill: false
4639
+ },
4640
+ "path1-4-join": {
4641
+ type: "path",
4642
+ points: [
4643
+ {
4644
+ x: -0.020896399999999815,
4645
+ y: -0.10273049999999984
4646
+ },
4647
+ {
4648
+ x: -0.025476399999999844,
4649
+ y: 0.2768100000000002
4650
+ }
4651
+ ],
4652
+ color: "primary",
4653
+ fill: false
4654
+ }
4655
+ },
4656
+ texts: {
4657
+ top1: {
4658
+ type: "text",
4659
+ text: "{REF}",
4660
+ x: -0.0862317999999998,
4661
+ y: 0.46447740000000026
4662
+ },
4663
+ bottom1: {
4664
+ type: "text",
4665
+ text: "{VAL}",
4666
+ x: -0.0862317999999998,
4667
+ y: -0.4244773999999998
4668
+ }
4669
+ },
4670
+ refblocks: {
4671
+ top1: {
4672
+ x: -0.11569089999999993,
4673
+ y: 0.22373490000000018
4674
+ },
4675
+ top2: {
4676
+ x: 0.10744680000000018,
4677
+ y: 0.36383770000000015
4678
+ },
4679
+ top3: {
4680
+ x: 0.10744750000000014,
4681
+ y: 0.12717810000000007
4682
+ },
4683
+ bottom1: {
4684
+ x: -0.11569089999999993,
4685
+ y: -0.17811849999999985
4686
+ },
4687
+ bottom2: {
4688
+ x: 0.10744750000000014,
4689
+ y: -0.2746754
4690
+ },
4691
+ left1: {
4692
+ x: -0.3682734999999999,
4693
+ y: 0.22373490000000018
4694
+ },
4695
+ left2: {
4696
+ x: -0.3682734999999999,
4697
+ y: -0.17811849999999985
4698
+ },
4699
+ right1: {
4700
+ x: 0.36827350000000014,
4701
+ y: 0.36383770000000015
4702
+ },
4703
+ right2: {
4704
+ x: 0.36827350000000014,
4705
+ y: 0.12717810000000007
4706
+ },
4707
+ right3: {
4708
+ x: 0.36827350000000014,
4709
+ y: -0.038015699999999875
4710
+ },
4711
+ right4: {
4712
+ x: 0.10744680000000018,
4713
+ y: -0.038015699999999875
4714
+ },
4715
+ right5: {
4716
+ x: 0.36827350000000014,
4717
+ y: -0.2746754
4718
+ }
4719
+ },
4720
+ bounds: {
4721
+ minX: -0.3964319409999999,
4722
+ maxX: 0.3964319410000001,
4723
+ minY: -0.4744773999999998,
4724
+ maxY: 0.5644774000000002,
4725
+ width: 1,
4726
+ height: 1.0389548,
4727
+ centerX: -11102230246251565e-32,
4728
+ centerY: 0.045000000000000207
4729
+ },
4730
+ circles: {}
4731
+ };
4732
+
4733
+ // symbols/dpdt_switch_horz.ts
4734
+ var { paths: paths14, texts: texts14, bounds: bounds14, refblocks: refblocks14, circles: circles14 } = dpdt_switch_default;
4735
+ var dpdt_switch_horz_default = defineSymbol({
4736
+ primitives: [
4737
+ ...Object.values(paths14),
4738
+ ...Object.values(circles14),
4739
+ { ...texts14.top1, anchor: "middle_bottom" },
4740
+ { ...texts14.bottom1, anchor: "middle_top" }
4741
+ ],
4742
+ ports: [
4743
+ { ...refblocks14.left1, labels: ["1"] },
4744
+ { ...refblocks14.left2, labels: ["4"] },
4745
+ { ...refblocks14.right1, labels: ["3"] },
4746
+ { ...refblocks14.right2, labels: ["2"] },
4747
+ { ...refblocks14.right3, labels: ["6"] },
4748
+ { ...refblocks14.right5, labels: ["5"] }
4749
+ ],
4750
+ size: { width: bounds14.width, height: bounds14.height },
4751
+ center: { x: bounds14.centerX, y: bounds14.centerY }
4752
+ });
4753
+
4754
+ // symbols/dpdt_switch_vert.ts
4755
+ var rotatedSymbol5 = rotateSymbol(dpdt_switch_horz_default);
4756
+ var texts15 = rotatedSymbol5.primitives.filter((p) => p.type === "text");
4757
+ var val2 = texts15.find((t) => t.text === "{VAL}");
4758
+ val2.anchor = "middle_right";
4759
+ val2.x = -0.37;
4760
+ val2.y = 0.12;
4761
+ var ref2 = texts15.find((t) => t.text === "{REF}");
4762
+ ref2.anchor = "middle_left";
4763
+ ref2.x = 0.37;
4764
+ ref2.y = 0.12;
4765
+ var dpdt_switch_vert_default = rotatedSymbol5;
4766
+
4517
4767
  // assets/generated/dpst_switch.json
4518
4768
  var dpst_switch_default = {
4519
4769
  paths: {
@@ -4671,40 +4921,40 @@ var dpst_switch_default = {
4671
4921
 
4672
4922
  // symbols/dpst_switch_horz.ts
4673
4923
  dpst_switch_default.bounds.width += 0.2;
4674
- var { paths: paths14, texts: texts14, bounds: bounds14, refblocks: refblocks14, circles: circles14 } = dpst_switch_default;
4924
+ var { paths: paths15, texts: texts16, bounds: bounds15, refblocks: refblocks15, circles: circles15 } = dpst_switch_default;
4675
4925
  var dpst_switch_horz_default = defineSymbol({
4676
4926
  primitives: [
4677
- ...Object.values(paths14),
4678
- ...Object.values(circles14),
4679
- { ...texts14.top1, anchor: "middle_bottom", x: 0 },
4680
- { ...texts14.bottom1, anchor: "middle_top", x: 0 }
4927
+ ...Object.values(paths15),
4928
+ ...Object.values(circles15),
4929
+ { ...texts16.top1, anchor: "middle_bottom", x: 0 },
4930
+ { ...texts16.bottom1, anchor: "middle_top", x: 0 }
4681
4931
  ],
4682
4932
  ports: [
4683
- { ...refblocks14.left1, labels: ["1", "left1"] },
4933
+ { ...refblocks15.left1, labels: ["1", "left1"] },
4684
4934
  // TODO add more "standard" labels
4685
- { ...refblocks14.left3, labels: ["3", "left3"] },
4935
+ { ...refblocks15.left3, labels: ["3", "left3"] },
4686
4936
  // TODO add more "standard" labels
4687
- { ...refblocks14.right1, labels: ["2", "right1"] },
4937
+ { ...refblocks15.right1, labels: ["2", "right1"] },
4688
4938
  // TODO add more "standard" labels
4689
- { ...refblocks14.right3, labels: ["4", "right3"] }
4939
+ { ...refblocks15.right3, labels: ["4", "right3"] }
4690
4940
  // TODO add more "standard" labels
4691
4941
  ],
4692
- size: { width: bounds14.width, height: bounds14.height },
4693
- center: { x: bounds14.centerX, y: bounds14.centerY }
4942
+ size: { width: bounds15.width, height: bounds15.height },
4943
+ center: { x: bounds15.centerX, y: bounds15.centerY }
4694
4944
  });
4695
4945
 
4696
4946
  // symbols/dpst_switch_vert.ts
4697
- var rotatedSymbol5 = rotateSymbol(dpst_switch_horz_default);
4698
- var texts15 = rotatedSymbol5.primitives.filter((p) => p.type === "text");
4699
- var val2 = texts15.find((t) => t.text === "{VAL}");
4700
- val2.anchor = "middle_right";
4701
- val2.x = -0.35;
4702
- val2.y = 0;
4703
- var ref2 = texts15.find((t) => t.text === "{REF}");
4704
- ref2.anchor = "middle_left";
4705
- ref2.x = 0.3;
4706
- ref2.y = 0;
4707
- var dpst_switch_vert_default = rotatedSymbol5;
4947
+ var rotatedSymbol6 = rotateSymbol(dpst_switch_horz_default);
4948
+ var texts17 = rotatedSymbol6.primitives.filter((p) => p.type === "text");
4949
+ var val3 = texts17.find((t) => t.text === "{VAL}");
4950
+ val3.anchor = "middle_right";
4951
+ val3.x = -0.35;
4952
+ val3.y = 0;
4953
+ var ref3 = texts17.find((t) => t.text === "{REF}");
4954
+ ref3.anchor = "middle_left";
4955
+ ref3.x = 0.3;
4956
+ ref3.y = 0;
4957
+ var dpst_switch_vert_default = rotatedSymbol6;
4708
4958
 
4709
4959
  // assets/generated/filled_diode.json
4710
4960
  var filled_diode_default = {
@@ -4914,11 +5164,11 @@ var frequency_meter_default = {
4914
5164
  };
4915
5165
 
4916
5166
  // symbols/frequency_meter_horz.ts
4917
- var { paths: paths15, texts: texts16, bounds: bounds15, refblocks: refblocks15, circles: circles15 } = frequency_meter_default;
5167
+ var { paths: paths16, texts: texts18, bounds: bounds16, refblocks: refblocks16, circles: circles16 } = frequency_meter_default;
4918
5168
  var frequency_meter_horz_default = defineSymbol({
4919
5169
  primitives: [
4920
- ...Object.values(paths15),
4921
- ...Object.values(circles15),
5170
+ ...Object.values(paths16),
5171
+ ...Object.values(circles16),
4922
5172
  {
4923
5173
  type: "text",
4924
5174
  text: "{REF}",
@@ -4933,16 +5183,16 @@ var frequency_meter_horz_default = defineSymbol({
4933
5183
  y: 0.35,
4934
5184
  anchor: "middle_bottom"
4935
5185
  },
4936
- { ...texts16.left1, x: 0, y: 0.01, anchor: "center", fontSize: 0.2 }
5186
+ { ...texts18.left1, x: 0, y: 0.01, anchor: "center", fontSize: 0.2 }
4937
5187
  ],
4938
5188
  ports: [
4939
- { ...refblocks15.left1, labels: ["1"] },
5189
+ { ...refblocks16.left1, labels: ["1"] },
4940
5190
  // TODO add more "standard" labels
4941
- { ...refblocks15.right1, labels: ["2"] }
5191
+ { ...refblocks16.right1, labels: ["2"] }
4942
5192
  // TODO add more "standard" labels
4943
5193
  ],
4944
- size: { width: bounds15.width, height: bounds15.height },
4945
- center: { x: bounds15.centerX, y: bounds15.centerY }
5194
+ size: { width: bounds16.width, height: bounds16.height },
5195
+ center: { x: bounds16.centerX, y: bounds16.centerY }
4946
5196
  });
4947
5197
 
4948
5198
  // symbols/frequency_meter_vert.ts
@@ -4950,13 +5200,13 @@ var { 5: letter3, ...rest3 } = frequency_meter_horz_default.primitives;
4950
5200
  function isPrimitive3(value) {
4951
5201
  return typeof value === "object";
4952
5202
  }
4953
- var rotatedSymbol6 = rotateSymbol({
5203
+ var rotatedSymbol7 = rotateSymbol({
4954
5204
  ...frequency_meter_horz_default,
4955
5205
  primitives: Object.values(rest3).filter(isPrimitive3)
4956
5206
  });
4957
5207
  var frequency_meter_vert_default = {
4958
- ...rotatedSymbol6,
4959
- primitives: [...rotatedSymbol6.primitives, letter3]
5208
+ ...rotatedSymbol7,
5209
+ primitives: [...rotatedSymbol7.primitives, letter3]
4960
5210
  };
4961
5211
 
4962
5212
  // assets/generated/fuse.json
@@ -5047,11 +5297,11 @@ var fuse_default = {
5047
5297
  };
5048
5298
 
5049
5299
  // symbols/fuse_horz.ts
5050
- var { paths: paths16, texts: texts17, bounds: bounds16, refblocks: refblocks16 } = fuse_default;
5300
+ var { paths: paths17, texts: texts19, bounds: bounds17, refblocks: refblocks17 } = fuse_default;
5051
5301
  var fuse_horz_default = defineSymbol({
5052
5302
  primitives: [
5053
- ...Object.values(paths16),
5054
- { ...texts17.top1, anchor: "middle_bottom" },
5303
+ ...Object.values(paths17),
5304
+ { ...texts19.top1, anchor: "middle_bottom" },
5055
5305
  {
5056
5306
  type: "text",
5057
5307
  text: "{VAL}",
@@ -5061,13 +5311,13 @@ var fuse_horz_default = defineSymbol({
5061
5311
  }
5062
5312
  ],
5063
5313
  ports: [
5064
- { ...refblocks16.left1, labels: ["1"] },
5314
+ { ...refblocks17.left1, labels: ["1"] },
5065
5315
  // TODO add more "standard" labels
5066
- { ...refblocks16.right1, labels: ["2"] }
5316
+ { ...refblocks17.right1, labels: ["2"] }
5067
5317
  // TODO add more "standard" labels
5068
5318
  ],
5069
- size: { width: bounds16.width, height: bounds16.height },
5070
- center: { x: bounds16.centerX, y: bounds16.centerY }
5319
+ size: { width: bounds17.width, height: bounds17.height },
5320
+ center: { x: bounds17.centerX, y: bounds17.centerY }
5071
5321
  });
5072
5322
 
5073
5323
  // symbols/fuse_vert.ts
@@ -5175,11 +5425,11 @@ var ground_default = {
5175
5425
  };
5176
5426
 
5177
5427
  // symbols/ground_horz.ts
5178
- var { paths: paths17, circles: circles16, bounds: bounds17, refblocks: refblocks17 } = ground_default;
5428
+ var { paths: paths18, circles: circles17, bounds: bounds18, refblocks: refblocks18 } = ground_default;
5179
5429
  var horizontalSymbol = defineSymbol({
5180
5430
  primitives: [
5181
- ...Object.values(paths17),
5182
- ...Object.values(circles16),
5431
+ ...Object.values(paths18),
5432
+ ...Object.values(circles17),
5183
5433
  {
5184
5434
  type: "text",
5185
5435
  text: "{REF}",
@@ -5203,7 +5453,7 @@ var horizontalSymbol = defineSymbol({
5203
5453
  // Horizontal anchor for VAL
5204
5454
  }
5205
5455
  ],
5206
- ports: [{ ...refblocks17.top1, labels: ["1"] }],
5456
+ ports: [{ ...refblocks18.top1, labels: ["1"] }],
5207
5457
  size: { width: 1, height: 1 },
5208
5458
  center: { x: 0, y: 0.4 }
5209
5459
  });
@@ -5330,7 +5580,7 @@ var gunn_diode_default = {
5330
5580
  };
5331
5581
 
5332
5582
  // symbols/gunn_diode_horz.ts
5333
- var { paths: paths18, texts: texts18, bounds: bounds18, refblocks: refblocks18, circles: circles17 } = gunn_diode_default;
5583
+ var { paths: paths19, texts: texts20, bounds: bounds19, refblocks: refblocks19, circles: circles18 } = gunn_diode_default;
5334
5584
  var gunn_diode_horz_default = modifySymbol(gunn_diode_default).changeTextAnchor("{VAL}", "middle_top").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_bottom").build();
5335
5585
 
5336
5586
  // symbols/gunn_diode_vert.ts
@@ -5519,17 +5769,17 @@ var igbt_transistor_horz_default = modifySymbol(igbt_transistor_default).changeT
5519
5769
 
5520
5770
  // symbols/igbt_transistor_vert.ts
5521
5771
  var rotated2 = rotateSymbol(igbt_transistor_horz_default);
5522
- var ref3 = rotated2.primitives.find(
5772
+ var ref4 = rotated2.primitives.find(
5523
5773
  (p) => p.type === "text" && p.text === "{REF}"
5524
5774
  );
5525
- var val3 = rotated2.primitives.find(
5775
+ var val4 = rotated2.primitives.find(
5526
5776
  (p) => p.type === "text" && p.text === "{VAL}"
5527
5777
  );
5528
- ref3.anchor = "middle_left";
5529
- val3.anchor = "middle_right";
5530
- ref3.x = 0.45;
5531
- ref3.y += 0.065;
5532
- val3.y += 0.065;
5778
+ ref4.anchor = "middle_left";
5779
+ val4.anchor = "middle_right";
5780
+ ref4.x = 0.45;
5781
+ ref4.y += 0.065;
5782
+ val4.y += 0.065;
5533
5783
  var igbt_transistor_vert_default = rotated2;
5534
5784
 
5535
5785
  // assets/generated/illuminated_push_button_normally_open.json
@@ -5767,17 +6017,17 @@ var illuminated_push_button_normally_open_default = {
5767
6017
  var illuminated_push_button_normally_open_horz_default = modifySymbol(illuminated_push_button_normally_open_default).changeTextAnchor("{VAL}", "middle_top").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_bottom").build();
5768
6018
 
5769
6019
  // symbols/illuminated_push_button_normally_open_vert.ts
5770
- var rotatedSymbol7 = rotateSymbol(illuminated_push_button_normally_open_horz_default);
5771
- var texts19 = rotatedSymbol7.primitives.filter((p) => p.type === "text");
5772
- var val4 = texts19.find((t) => t.text === "{VAL}");
5773
- val4.x = -0.35;
5774
- val4.y = 0;
5775
- val4.anchor = "middle_right";
5776
- var ref4 = texts19.find((t) => t.text === "{REF}");
5777
- ref4.y = 0;
5778
- ref4.x = 0.35;
5779
- ref4.anchor = "middle_left";
5780
- var illuminated_push_button_normally_open_vert_default = rotatedSymbol7;
6020
+ var rotatedSymbol8 = rotateSymbol(illuminated_push_button_normally_open_horz_default);
6021
+ var texts21 = rotatedSymbol8.primitives.filter((p) => p.type === "text");
6022
+ var val5 = texts21.find((t) => t.text === "{VAL}");
6023
+ val5.x = -0.35;
6024
+ val5.y = 0;
6025
+ val5.anchor = "middle_right";
6026
+ var ref5 = texts21.find((t) => t.text === "{REF}");
6027
+ ref5.y = 0;
6028
+ ref5.x = 0.35;
6029
+ ref5.anchor = "middle_left";
6030
+ var illuminated_push_button_normally_open_vert_default = rotatedSymbol8;
5781
6031
 
5782
6032
  // assets/generated/inductor.json
5783
6033
  var inductor_default = {
@@ -7175,22 +7425,22 @@ var inductor_default = {
7175
7425
  };
7176
7426
 
7177
7427
  // symbols/inductor_right.ts
7178
- var { paths: paths19, texts: texts20, bounds: bounds19, refblocks: refblocks19, circles: circles18 } = inductor_default;
7428
+ var { paths: paths20, texts: texts22, bounds: bounds20, refblocks: refblocks20, circles: circles19 } = inductor_default;
7179
7429
  var inductor_right_default = defineSymbol({
7180
7430
  primitives: [
7181
- ...Object.values(paths19),
7182
- ...Object.values(circles18),
7183
- { ...texts20.top1, anchor: "middle_bottom" },
7184
- { ...texts20.bottom1, anchor: "middle_top" }
7431
+ ...Object.values(paths20),
7432
+ ...Object.values(circles19),
7433
+ { ...texts22.top1, anchor: "middle_bottom" },
7434
+ { ...texts22.bottom1, anchor: "middle_top" }
7185
7435
  ],
7186
7436
  ports: [
7187
- { ...refblocks19.left1, labels: ["1"] },
7437
+ { ...refblocks20.left1, labels: ["1"] },
7188
7438
  // TODO add more "standard" labels
7189
- { ...refblocks19.right1, labels: ["2"] }
7439
+ { ...refblocks20.right1, labels: ["2"] }
7190
7440
  // TODO add more "standard" labels
7191
7441
  ],
7192
- size: { width: bounds19.width, height: bounds19.height },
7193
- center: { x: bounds19.centerX, y: bounds19.centerY }
7442
+ size: { width: bounds20.width, height: bounds20.height },
7443
+ center: { x: bounds20.centerX, y: bounds20.centerY }
7194
7444
  });
7195
7445
 
7196
7446
  // symbols/inductor_up.ts
@@ -7446,12 +7696,12 @@ laser_diode_default.bounds.width += 0.2;
7446
7696
  var laser_diode_horz_default = modifySymbol(laser_diode_default).changeTextAnchor("{VAL}", "middle_top").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_bottom").build();
7447
7697
 
7448
7698
  // symbols/laser_diode_vert.ts
7449
- var rotatedSymbol8 = rotateSymbol(laser_diode_horz_default);
7450
- var texts21 = rotatedSymbol8.primitives.filter((p) => p.type === "text");
7451
- var ref5 = texts21.find((t) => t.text === "{VAL}");
7452
- ref5.x = -0.52;
7453
- ref5.anchor = "middle_right";
7454
- var laser_diode_vert_default = rotatedSymbol8;
7699
+ var rotatedSymbol9 = rotateSymbol(laser_diode_horz_default);
7700
+ var texts23 = rotatedSymbol9.primitives.filter((p) => p.type === "text");
7701
+ var ref6 = texts23.find((t) => t.text === "{VAL}");
7702
+ ref6.x = -0.52;
7703
+ ref6.anchor = "middle_right";
7704
+ var laser_diode_vert_default = rotatedSymbol9;
7455
7705
 
7456
7706
  // assets/generated/led.json
7457
7707
  var led_default = {
@@ -7669,22 +7919,22 @@ var led_default = {
7669
7919
  };
7670
7920
 
7671
7921
  // symbols/led_right.ts
7672
- var { paths: paths20, texts: texts22, bounds: bounds20, refblocks: refblocks20, circles: circles19 } = led_default;
7922
+ var { paths: paths21, texts: texts24, bounds: bounds21, refblocks: refblocks21, circles: circles20 } = led_default;
7673
7923
  var led_right_default = defineSymbol({
7674
7924
  primitives: [
7675
- ...Object.values(paths20),
7676
- ...Object.values(circles19),
7677
- { ...texts22.bottom1, anchor: "middle_top" },
7678
- { ...texts22.right1, anchor: "middle_bottom" }
7925
+ ...Object.values(paths21),
7926
+ ...Object.values(circles20),
7927
+ { ...texts24.bottom1, anchor: "middle_top" },
7928
+ { ...texts24.right1, anchor: "middle_bottom" }
7679
7929
  ],
7680
7930
  ports: [
7681
- { ...refblocks20.left1, labels: ["1"] },
7931
+ { ...refblocks21.left1, labels: ["1"] },
7682
7932
  // TODO add more "standard" labels
7683
- { ...refblocks20.right1, labels: ["2"] }
7933
+ { ...refblocks21.right1, labels: ["2"] }
7684
7934
  // TODO add more "standard" labels
7685
7935
  ],
7686
- size: { width: bounds20.width, height: bounds20.height },
7687
- center: { x: bounds20.centerX, y: bounds20.centerY }
7936
+ size: { width: bounds21.width, height: bounds21.height },
7937
+ center: { x: bounds21.centerX, y: bounds21.centerY }
7688
7938
  });
7689
7939
 
7690
7940
  // symbols/led_down.ts
@@ -7937,36 +8187,36 @@ var light_dependent_resistor_default = {
7937
8187
  };
7938
8188
 
7939
8189
  // symbols/light_dependent_resistor_horz.ts
7940
- var { paths: paths21, texts: texts23, bounds: bounds21, refblocks: refblocks21, circles: circles20 } = light_dependent_resistor_default;
8190
+ var { paths: paths22, texts: texts25, bounds: bounds22, refblocks: refblocks22, circles: circles21 } = light_dependent_resistor_default;
7941
8191
  var light_dependent_resistor_horz_default = defineSymbol({
7942
8192
  primitives: [
7943
- ...Object.values(paths21),
7944
- ...Object.values(circles20),
7945
- { ...texts23.top1, anchor: "middle_left", x: 0 },
7946
- { ...texts23.bottom1, anchor: "middle_left", x: 0 }
8193
+ ...Object.values(paths22),
8194
+ ...Object.values(circles21),
8195
+ { ...texts25.top1, anchor: "middle_left", x: 0 },
8196
+ { ...texts25.bottom1, anchor: "middle_left", x: 0 }
7947
8197
  ],
7948
8198
  ports: [
7949
- { ...refblocks21.left1, labels: ["1"] },
8199
+ { ...refblocks22.left1, labels: ["1"] },
7950
8200
  // TODO add more "standard" labels
7951
- { ...refblocks21.right1, labels: ["2"] }
8201
+ { ...refblocks22.right1, labels: ["2"] }
7952
8202
  // TODO add more "standard" labels
7953
8203
  ],
7954
- size: { width: bounds21.width, height: bounds21.height },
7955
- center: { x: bounds21.centerX, y: bounds21.centerY }
8204
+ size: { width: bounds22.width, height: bounds22.height },
8205
+ center: { x: bounds22.centerX, y: bounds22.centerY }
7956
8206
  });
7957
8207
 
7958
8208
  // symbols/light_dependent_resistor_vert.ts
7959
- var rotatedSymbol9 = rotateSymbol(light_dependent_resistor_horz_default);
7960
- var texts24 = rotatedSymbol9.primitives.filter((p) => p.type === "text");
7961
- var val5 = texts24.find((t) => t.text === "{VAL}");
7962
- val5.x = -0.35;
7963
- val5.y = 0;
7964
- val5.anchor = "middle_right";
7965
- var ref6 = texts24.find((t) => t.text === "{REF}");
7966
- ref6.y = 0;
7967
- ref6.x = 0.35;
7968
- ref6.anchor = "middle_left";
7969
- var light_dependent_resistor_vert_default = rotatedSymbol9;
8209
+ var rotatedSymbol10 = rotateSymbol(light_dependent_resistor_horz_default);
8210
+ var texts26 = rotatedSymbol10.primitives.filter((p) => p.type === "text");
8211
+ var val6 = texts26.find((t) => t.text === "{VAL}");
8212
+ val6.x = -0.35;
8213
+ val6.y = 0;
8214
+ val6.anchor = "middle_right";
8215
+ var ref7 = texts26.find((t) => t.text === "{REF}");
8216
+ ref7.y = 0;
8217
+ ref7.x = 0.35;
8218
+ ref7.anchor = "middle_left";
8219
+ var light_dependent_resistor_vert_default = rotatedSymbol10;
7970
8220
 
7971
8221
  // assets/generated/mosfet_depletion_normally_on.json
7972
8222
  var mosfet_depletion_normally_on_default = {
@@ -8239,37 +8489,37 @@ var mosfet_depletion_normally_on_default = {
8239
8489
  };
8240
8490
 
8241
8491
  // symbols/mosfet_depletion_normally_on_horz.ts
8242
- var { paths: paths22, texts: texts25, bounds: bounds22, refblocks: refblocks22 } = mosfet_depletion_normally_on_default;
8492
+ var { paths: paths23, texts: texts27, bounds: bounds23, refblocks: refblocks23 } = mosfet_depletion_normally_on_default;
8243
8493
  var mosfet_depletion_normally_on_horz_default = defineSymbol({
8244
8494
  primitives: [
8245
- ...Object.values(paths22),
8246
- { ...texts25.right1, anchor: "middle_left" },
8247
- { ...texts25.right2, anchor: "middle_left" }
8495
+ ...Object.values(paths23),
8496
+ { ...texts27.right1, anchor: "middle_left" },
8497
+ { ...texts27.right2, anchor: "middle_left" }
8248
8498
  ],
8249
8499
  ports: [
8250
- { ...refblocks22.top1, labels: ["1"] },
8500
+ { ...refblocks23.top1, labels: ["1"] },
8251
8501
  // TODO add more "standard" labels
8252
- { ...refblocks22.bottom1, labels: ["2"] },
8502
+ { ...refblocks23.bottom1, labels: ["2"] },
8253
8503
  // TODO add more "standard" labels
8254
- { ...refblocks22.left1, labels: ["3"] }
8504
+ { ...refblocks23.left1, labels: ["3"] }
8255
8505
  // TODO add more "standard" labels
8256
8506
  ],
8257
- size: { width: bounds22.width + 0.4, height: bounds22.height },
8258
- center: { x: bounds22.centerX + 0.2, y: bounds22.centerY }
8507
+ size: { width: bounds23.width + 0.4, height: bounds23.height },
8508
+ center: { x: bounds23.centerX + 0.2, y: bounds23.centerY }
8259
8509
  });
8260
8510
 
8261
8511
  // symbols/mosfet_depletion_normally_on_vert.ts
8262
8512
  var rotated3 = rotateSymbol(mosfet_depletion_normally_on_horz_default);
8263
- var ref7 = rotated3.primitives.find(
8513
+ var ref8 = rotated3.primitives.find(
8264
8514
  (p) => p.type === "text" && p.text === "{REF}"
8265
8515
  );
8266
- var val6 = rotated3.primitives.find(
8516
+ var val7 = rotated3.primitives.find(
8267
8517
  (p) => p.type === "text" && p.text === "{VAL}"
8268
8518
  );
8269
- ref7.anchor = "middle_top";
8270
- val6.anchor = "middle_top";
8271
- ref7.x = val6.x;
8272
- val6.y += 0.15;
8519
+ ref8.anchor = "middle_top";
8520
+ val7.anchor = "middle_top";
8521
+ ref8.x = val7.x;
8522
+ val7.y += 0.15;
8273
8523
  var mosfet_depletion_normally_on_vert_default = rotated3;
8274
8524
 
8275
8525
  // assets/generated/mushroom_head_normally_open_momentary.json
@@ -8881,36 +9131,36 @@ var mushroom_head_normally_open_momentary_default = {
8881
9131
  };
8882
9132
 
8883
9133
  // symbols/mushroom_head_normally_open_momentary_horz.ts
8884
- var { paths: paths23, texts: texts26, bounds: bounds23, refblocks: refblocks23, circles: circles21 } = mushroom_head_normally_open_momentary_default;
9134
+ var { paths: paths24, texts: texts28, bounds: bounds24, refblocks: refblocks24, circles: circles22 } = mushroom_head_normally_open_momentary_default;
8885
9135
  var mushroom_head_normally_open_momentary_horz_default = defineSymbol({
8886
9136
  primitives: [
8887
- ...Object.values(paths23),
8888
- ...Object.values(circles21),
8889
- { ...texts26.top1, anchor: "middle_bottom", x: 0 },
8890
- { ...texts26.bottom1, anchor: "middle_top", x: 0 }
9137
+ ...Object.values(paths24),
9138
+ ...Object.values(circles22),
9139
+ { ...texts28.top1, anchor: "middle_bottom", x: 0 },
9140
+ { ...texts28.bottom1, anchor: "middle_top", x: 0 }
8891
9141
  ],
8892
9142
  ports: [
8893
- { ...refblocks23.left1, labels: ["1"] },
8894
- { ...refblocks23.right1, labels: ["2"] }
9143
+ { ...refblocks24.left1, labels: ["1"] },
9144
+ { ...refblocks24.right1, labels: ["2"] }
8895
9145
  ],
8896
- size: { width: bounds23.width, height: bounds23.height },
8897
- center: { x: bounds23.centerX + 6e-3, y: bounds23.centerY + 0.06 }
9146
+ size: { width: bounds24.width, height: bounds24.height },
9147
+ center: { x: bounds24.centerX + 6e-3, y: bounds24.centerY + 0.06 }
8898
9148
  });
8899
9149
 
8900
9150
  // symbols/mushroom_head_normally_open_momentary_vert.ts
8901
9151
  var rotated4 = rotateSymbol(mushroom_head_normally_open_momentary_horz_default);
8902
- var ref8 = rotated4.primitives.find(
9152
+ var ref9 = rotated4.primitives.find(
8903
9153
  (p) => p.type === "text" && p.text === "{REF}"
8904
9154
  );
8905
- var val7 = rotated4.primitives.find(
9155
+ var val8 = rotated4.primitives.find(
8906
9156
  (p) => p.type === "text" && p.text === "{VAL}"
8907
9157
  );
8908
- ref8.anchor = "middle_left";
8909
- val7.anchor = "middle_right";
8910
- ref8.x = ref8.x - 0.03;
8911
- ref8.y = ref8.y;
8912
- val7.x = val7.x;
8913
- val7.y = 0;
9158
+ ref9.anchor = "middle_left";
9159
+ val8.anchor = "middle_right";
9160
+ ref9.x = ref9.x - 0.03;
9161
+ ref9.y = ref9.y;
9162
+ val8.x = val8.x;
9163
+ val8.y = 0;
8914
9164
  var mushroom_head_normally_open_momentary_vert_default = rotated4;
8915
9165
 
8916
9166
  // assets/generated/n_channel_d_mosfet_transistor.json
@@ -9107,38 +9357,38 @@ var n_channel_d_mosfet_transistor_default = {
9107
9357
  };
9108
9358
 
9109
9359
  // symbols/n_channel_d_mosfet_transistor_horz.ts
9110
- var { paths: paths24, texts: texts27, bounds: bounds24, refblocks: refblocks24, circles: circles22 } = n_channel_d_mosfet_transistor_default;
9360
+ var { paths: paths25, texts: texts29, bounds: bounds25, refblocks: refblocks25, circles: circles23 } = n_channel_d_mosfet_transistor_default;
9111
9361
  var n_channel_d_mosfet_transistor_horz_default = defineSymbol({
9112
9362
  primitives: [
9113
- ...Object.values(paths24),
9114
- ...Object.values(circles22),
9115
- { ...texts27.top1, anchor: "middle_right", x: 0 },
9116
- { ...texts27.bottom1, anchor: "middle_right", x: 0 }
9363
+ ...Object.values(paths25),
9364
+ ...Object.values(circles23),
9365
+ { ...texts29.top1, anchor: "middle_right", x: 0 },
9366
+ { ...texts29.bottom1, anchor: "middle_right", x: 0 }
9117
9367
  ],
9118
9368
  ports: [
9119
- { ...refblocks24.top1, labels: ["1", "drain"] },
9369
+ { ...refblocks25.top1, labels: ["1", "drain"] },
9120
9370
  // TODO add more "standard" labels
9121
- { ...refblocks24.bottom1, labels: ["2", "source"] },
9371
+ { ...refblocks25.bottom1, labels: ["2", "source"] },
9122
9372
  // TODO add more "standard" labels
9123
- { ...refblocks24.left1, labels: ["3", "gate"] }
9373
+ { ...refblocks25.left1, labels: ["3", "gate"] }
9124
9374
  // TODO add more "standard" labels
9125
9375
  ],
9126
- size: { width: bounds24.width, height: bounds24.height },
9127
- center: { x: bounds24.centerX, y: bounds24.centerY }
9376
+ size: { width: bounds25.width, height: bounds25.height },
9377
+ center: { x: bounds25.centerX, y: bounds25.centerY }
9128
9378
  });
9129
9379
 
9130
9380
  // symbols/n_channel_d_mosfet_transistor_vert.ts
9131
- var rotatedSymbol10 = rotateSymbol(n_channel_d_mosfet_transistor_horz_default);
9132
- var texts28 = rotatedSymbol10.primitives.filter((p) => p.type === "text");
9133
- var val8 = texts28.find((t) => t.text === "{VAL}");
9134
- val8.x = -0.35;
9135
- val8.y = 0;
9136
- val8.anchor = "middle_right";
9137
- var ref9 = texts28.find((t) => t.text === "{REF}");
9138
- ref9.y = 0;
9139
- ref9.x = 0.35;
9140
- ref9.anchor = "middle_left";
9141
- var n_channel_d_mosfet_transistor_vert_default = rotatedSymbol10;
9381
+ var rotatedSymbol11 = rotateSymbol(n_channel_d_mosfet_transistor_horz_default);
9382
+ var texts30 = rotatedSymbol11.primitives.filter((p) => p.type === "text");
9383
+ var val9 = texts30.find((t) => t.text === "{VAL}");
9384
+ val9.x = -0.35;
9385
+ val9.y = 0;
9386
+ val9.anchor = "middle_right";
9387
+ var ref10 = texts30.find((t) => t.text === "{REF}");
9388
+ ref10.y = 0;
9389
+ ref10.x = 0.35;
9390
+ ref10.anchor = "middle_left";
9391
+ var n_channel_d_mosfet_transistor_vert_default = rotatedSymbol11;
9142
9392
 
9143
9393
  // assets/generated/n_channel_e_mosfet_transistor.json
9144
9394
  var n_channel_e_mosfet_transistor_default = {
@@ -9364,38 +9614,38 @@ var n_channel_e_mosfet_transistor_default = {
9364
9614
  };
9365
9615
 
9366
9616
  // symbols/n_channel_e_mosfet_transistor_horz.ts
9367
- var { paths: paths25, texts: texts29, bounds: bounds25, refblocks: refblocks25, circles: circles23 } = n_channel_e_mosfet_transistor_default;
9617
+ var { paths: paths26, texts: texts31, bounds: bounds26, refblocks: refblocks26, circles: circles24 } = n_channel_e_mosfet_transistor_default;
9368
9618
  var n_channel_e_mosfet_transistor_horz_default = defineSymbol({
9369
9619
  primitives: [
9370
- ...Object.values(paths25),
9371
- ...Object.values(circles23),
9372
- { ...texts29.top1, anchor: "middle_right", x: 0 },
9373
- { ...texts29.bottom1, anchor: "middle_right", x: 0 }
9620
+ ...Object.values(paths26),
9621
+ ...Object.values(circles24),
9622
+ { ...texts31.top1, anchor: "middle_right", x: 0 },
9623
+ { ...texts31.bottom1, anchor: "middle_right", x: 0 }
9374
9624
  ],
9375
9625
  ports: [
9376
- { ...refblocks25.top1, labels: ["1", "drain"] },
9626
+ { ...refblocks26.top1, labels: ["1", "drain"] },
9377
9627
  // TODO add more "standard" labels
9378
- { ...refblocks25.bottom1, labels: ["2", "source"] },
9628
+ { ...refblocks26.bottom1, labels: ["2", "source"] },
9379
9629
  // TODO add more "standard" labels
9380
- { ...refblocks25.left1, labels: ["3", "gate"] }
9630
+ { ...refblocks26.left1, labels: ["3", "gate"] }
9381
9631
  // TODO add more "standard" labels
9382
9632
  ],
9383
- size: { width: bounds25.width, height: bounds25.height },
9384
- center: { x: bounds25.centerX, y: bounds25.centerY }
9633
+ size: { width: bounds26.width, height: bounds26.height },
9634
+ center: { x: bounds26.centerX, y: bounds26.centerY }
9385
9635
  });
9386
9636
 
9387
9637
  // symbols/n_channel_e_mosfet_transistor_vert.ts
9388
- var rotatedSymbol11 = rotateSymbol(n_channel_e_mosfet_transistor_horz_default);
9389
- var texts30 = rotatedSymbol11.primitives.filter((p) => p.type === "text");
9390
- var val9 = texts30.find((t) => t.text === "{VAL}");
9391
- val9.x = -0.35;
9392
- val9.y = 0;
9393
- val9.anchor = "middle_right";
9394
- var ref10 = texts30.find((t) => t.text === "{REF}");
9395
- ref10.y = 0;
9396
- ref10.x = 0.35;
9397
- ref10.anchor = "middle_left";
9398
- var n_channel_e_mosfet_transistor_vert_default = rotatedSymbol11;
9638
+ var rotatedSymbol12 = rotateSymbol(n_channel_e_mosfet_transistor_horz_default);
9639
+ var texts32 = rotatedSymbol12.primitives.filter((p) => p.type === "text");
9640
+ var val10 = texts32.find((t) => t.text === "{VAL}");
9641
+ val10.x = -0.35;
9642
+ val10.y = 0;
9643
+ val10.anchor = "middle_right";
9644
+ var ref11 = texts32.find((t) => t.text === "{REF}");
9645
+ ref11.y = 0;
9646
+ ref11.x = 0.35;
9647
+ ref11.anchor = "middle_left";
9648
+ var n_channel_e_mosfet_transistor_vert_default = rotatedSymbol12;
9399
9649
 
9400
9650
  // assets/generated/njfet_transistor.json
9401
9651
  var njfet_transistor_default = {
@@ -9561,38 +9811,38 @@ var njfet_transistor_default = {
9561
9811
  };
9562
9812
 
9563
9813
  // symbols/njfet_transistor_horz.ts
9564
- var { paths: paths26, texts: texts31, bounds: bounds26, refblocks: refblocks26, circles: circles24 } = njfet_transistor_default;
9814
+ var { paths: paths27, texts: texts33, bounds: bounds27, refblocks: refblocks27, circles: circles25 } = njfet_transistor_default;
9565
9815
  var njfet_transistor_horz_default = defineSymbol({
9566
9816
  primitives: [
9567
- ...Object.values(paths26),
9568
- ...Object.values(circles24),
9569
- { ...texts31.top1, anchor: "middle_right", x: 0 },
9570
- { ...texts31.bottom1, anchor: "middle_right", x: 0 }
9817
+ ...Object.values(paths27),
9818
+ ...Object.values(circles25),
9819
+ { ...texts33.top1, anchor: "middle_right", x: 0 },
9820
+ { ...texts33.bottom1, anchor: "middle_right", x: 0 }
9571
9821
  ],
9572
9822
  ports: [
9573
- { ...refblocks26.top1, labels: ["1", "drain"] },
9823
+ { ...refblocks27.top1, labels: ["1", "drain"] },
9574
9824
  // TODO add more "standard" labels
9575
- { ...refblocks26.bottom1, labels: ["2", "source"] },
9825
+ { ...refblocks27.bottom1, labels: ["2", "source"] },
9576
9826
  // TODO add more "standard" labels
9577
- { ...refblocks26.left1, labels: ["3", "gate"] }
9827
+ { ...refblocks27.left1, labels: ["3", "gate"] }
9578
9828
  // TODO add more "standard" labels
9579
9829
  ],
9580
- size: { width: bounds26.width, height: bounds26.height },
9581
- center: { x: bounds26.centerX, y: bounds26.centerY }
9830
+ size: { width: bounds27.width, height: bounds27.height },
9831
+ center: { x: bounds27.centerX, y: bounds27.centerY }
9582
9832
  });
9583
9833
 
9584
9834
  // symbols/njfet_transistor_vert.ts
9585
- var rotatedSymbol12 = rotateSymbol(njfet_transistor_horz_default);
9586
- var texts32 = rotatedSymbol12.primitives.filter((p) => p.type === "text");
9587
- var val10 = texts32.find((t) => t.text === "{VAL}");
9588
- val10.x = -0.35;
9589
- val10.y = 0;
9590
- val10.anchor = "middle_right";
9591
- var ref11 = texts32.find((t) => t.text === "{REF}");
9592
- ref11.y = 0;
9593
- ref11.x = 0.35;
9594
- ref11.anchor = "middle_left";
9595
- var njfet_transistor_vert_default = rotatedSymbol12;
9835
+ var rotatedSymbol13 = rotateSymbol(njfet_transistor_horz_default);
9836
+ var texts34 = rotatedSymbol13.primitives.filter((p) => p.type === "text");
9837
+ var val11 = texts34.find((t) => t.text === "{VAL}");
9838
+ val11.x = -0.35;
9839
+ val11.y = 0;
9840
+ val11.anchor = "middle_right";
9841
+ var ref12 = texts34.find((t) => t.text === "{REF}");
9842
+ ref12.y = 0;
9843
+ ref12.x = 0.35;
9844
+ ref12.anchor = "middle_left";
9845
+ var njfet_transistor_vert_default = rotatedSymbol13;
9596
9846
 
9597
9847
  // assets/generated/npn_bipolar_transistor.json
9598
9848
  var npn_bipolar_transistor_default = {
@@ -9758,14 +10008,14 @@ var npn_bipolar_transistor_default = {
9758
10008
  };
9759
10009
 
9760
10010
  // symbols/npn_bipolar_transistor_horz.ts
9761
- var { paths: paths27, texts: texts33, bounds: bounds27, refblocks: refblocks27, circles: circles25 } = npn_bipolar_transistor_default;
10011
+ var { paths: paths28, texts: texts35, bounds: bounds28, refblocks: refblocks28, circles: circles26 } = npn_bipolar_transistor_default;
9762
10012
  var npn_bipolar_transistor_horz_default = modifySymbol(npn_bipolar_transistor_default).changeTextAnchor("{VAL}", "middle_right").labelPort("left1", ["3"]).labelPort("top1", ["2"]).labelPort("bottom1", ["1"]).changeTextAnchor("{REF}", "middle_right").build();
9763
10013
 
9764
10014
  // symbols/npn_bipolar_transistor_vert.ts
9765
- var rotatedSymbol13 = rotateSymbol(npn_bipolar_transistor_horz_default);
9766
- var texts34 = rotatedSymbol13.primitives.filter((p) => p.type === "text");
9767
- var ref12 = texts34.find((t) => t.text === "{REF}");
9768
- ref12.anchor = "middle_left";
10015
+ var rotatedSymbol14 = rotateSymbol(npn_bipolar_transistor_horz_default);
10016
+ var texts36 = rotatedSymbol14.primitives.filter((p) => p.type === "text");
10017
+ var ref13 = texts36.find((t) => t.text === "{REF}");
10018
+ ref13.anchor = "middle_left";
9769
10019
  var npn_bipolar_transistor_vert_default = modifySymbol(npn_bipolar_transistor_default).rotateRightFacingSymbol("down").changeTextAnchor("{VAL}", "middle_right").labelPort("left1", ["3"]).labelPort("top1", ["2"]).labelPort("bottom1", ["1"]).changeTextAnchor("{REF}", "middle_left").build();
9770
10020
 
9771
10021
  // assets/generated/p_channel_d_mosfet_transistor.json
@@ -9962,38 +10212,38 @@ var p_channel_d_mosfet_transistor_default = {
9962
10212
  };
9963
10213
 
9964
10214
  // symbols/p_channel_d_mosfet_transistor_horz.ts
9965
- var { paths: paths28, texts: texts35, bounds: bounds28, refblocks: refblocks28, circles: circles26 } = p_channel_d_mosfet_transistor_default;
10215
+ var { paths: paths29, texts: texts37, bounds: bounds29, refblocks: refblocks29, circles: circles27 } = p_channel_d_mosfet_transistor_default;
9966
10216
  var p_channel_d_mosfet_transistor_horz_default = defineSymbol({
9967
10217
  primitives: [
9968
- ...Object.values(paths28),
9969
- ...Object.values(circles26),
9970
- { ...texts35.top1, anchor: "middle_right", x: 0 },
9971
- { ...texts35.bottom1, anchor: "middle_right", x: 0 }
10218
+ ...Object.values(paths29),
10219
+ ...Object.values(circles27),
10220
+ { ...texts37.top1, anchor: "middle_right", x: 0 },
10221
+ { ...texts37.bottom1, anchor: "middle_right", x: 0 }
9972
10222
  ],
9973
10223
  ports: [
9974
- { ...refblocks28.top1, labels: ["1", "drain"] },
10224
+ { ...refblocks29.top1, labels: ["1", "drain"] },
9975
10225
  // TODO add more "standard" labels
9976
- { ...refblocks28.bottom1, labels: ["2", "source"] },
10226
+ { ...refblocks29.bottom1, labels: ["2", "source"] },
9977
10227
  // TODO add more "standard" labels
9978
- { ...refblocks28.left1, labels: ["3", "gate"] }
10228
+ { ...refblocks29.left1, labels: ["3", "gate"] }
9979
10229
  // TODO add more "standard" labels
9980
10230
  ],
9981
- size: { width: bounds28.width, height: bounds28.height },
9982
- center: { x: bounds28.centerX, y: bounds28.centerY }
10231
+ size: { width: bounds29.width, height: bounds29.height },
10232
+ center: { x: bounds29.centerX, y: bounds29.centerY }
9983
10233
  });
9984
10234
 
9985
10235
  // symbols/p_channel_d_mosfet_transistor_vert.ts
9986
- var rotatedSymbol14 = rotateSymbol(p_channel_d_mosfet_transistor_horz_default);
9987
- var texts36 = rotatedSymbol14.primitives.filter((p) => p.type === "text");
9988
- var val11 = texts36.find((t) => t.text === "{VAL}");
9989
- val11.x = -0.35;
9990
- val11.y = 0;
9991
- val11.anchor = "middle_right";
9992
- var ref13 = texts36.find((t) => t.text === "{REF}");
9993
- ref13.y = 0;
9994
- ref13.x = 0.35;
9995
- ref13.anchor = "middle_left";
9996
- var p_channel_d_mosfet_transistor_vert_default = rotatedSymbol14;
10236
+ var rotatedSymbol15 = rotateSymbol(p_channel_d_mosfet_transistor_horz_default);
10237
+ var texts38 = rotatedSymbol15.primitives.filter((p) => p.type === "text");
10238
+ var val12 = texts38.find((t) => t.text === "{VAL}");
10239
+ val12.x = -0.35;
10240
+ val12.y = 0;
10241
+ val12.anchor = "middle_right";
10242
+ var ref14 = texts38.find((t) => t.text === "{REF}");
10243
+ ref14.y = 0;
10244
+ ref14.x = 0.35;
10245
+ ref14.anchor = "middle_left";
10246
+ var p_channel_d_mosfet_transistor_vert_default = rotatedSymbol15;
9997
10247
 
9998
10248
  // assets/generated/p_channel_e_mosfet_transistor.json
9999
10249
  var p_channel_e_mosfet_transistor_default = {
@@ -10219,38 +10469,38 @@ var p_channel_e_mosfet_transistor_default = {
10219
10469
  };
10220
10470
 
10221
10471
  // symbols/p_channel_e_mosfet_transistor_horz.ts
10222
- var { paths: paths29, texts: texts37, bounds: bounds29, refblocks: refblocks29, circles: circles27 } = p_channel_e_mosfet_transistor_default;
10472
+ var { paths: paths30, texts: texts39, bounds: bounds30, refblocks: refblocks30, circles: circles28 } = p_channel_e_mosfet_transistor_default;
10223
10473
  var p_channel_e_mosfet_transistor_horz_default = defineSymbol({
10224
10474
  primitives: [
10225
- ...Object.values(paths29),
10226
- ...Object.values(circles27),
10227
- { ...texts37.top1, anchor: "middle_right", x: 0 },
10228
- { ...texts37.bottom1, anchor: "middle_right", x: 0 }
10475
+ ...Object.values(paths30),
10476
+ ...Object.values(circles28),
10477
+ { ...texts39.top1, anchor: "middle_right", x: 0 },
10478
+ { ...texts39.bottom1, anchor: "middle_right", x: 0 }
10229
10479
  ],
10230
10480
  ports: [
10231
- { ...refblocks29.top1, labels: ["1", "drain"] },
10481
+ { ...refblocks30.top1, labels: ["1", "drain"] },
10232
10482
  // TODO add more "standard" labels
10233
- { ...refblocks29.bottom1, labels: ["2", "source"] },
10483
+ { ...refblocks30.bottom1, labels: ["2", "source"] },
10234
10484
  // TODO add more "standard" labels
10235
- { ...refblocks29.left1, labels: ["3", "gate"] }
10485
+ { ...refblocks30.left1, labels: ["3", "gate"] }
10236
10486
  // TODO add more "standard" labels
10237
10487
  ],
10238
- size: { width: bounds29.width, height: bounds29.height },
10239
- center: { x: bounds29.centerX, y: bounds29.centerY }
10488
+ size: { width: bounds30.width, height: bounds30.height },
10489
+ center: { x: bounds30.centerX, y: bounds30.centerY }
10240
10490
  });
10241
10491
 
10242
10492
  // symbols/p_channel_e_mosfet_transistor_vert.ts
10243
- var rotatedSymbol15 = rotateSymbol(p_channel_e_mosfet_transistor_horz_default);
10244
- var texts38 = rotatedSymbol15.primitives.filter((p) => p.type === "text");
10245
- var val12 = texts38.find((t) => t.text === "{VAL}");
10246
- val12.x = -0.35;
10247
- val12.y = 0;
10248
- val12.anchor = "middle_right";
10249
- var ref14 = texts38.find((t) => t.text === "{REF}");
10250
- ref14.y = 0;
10251
- ref14.x = 0.35;
10252
- ref14.anchor = "middle_left";
10253
- var p_channel_e_mosfet_transistor_vert_default = rotatedSymbol15;
10493
+ var rotatedSymbol16 = rotateSymbol(p_channel_e_mosfet_transistor_horz_default);
10494
+ var texts40 = rotatedSymbol16.primitives.filter((p) => p.type === "text");
10495
+ var val13 = texts40.find((t) => t.text === "{VAL}");
10496
+ val13.x = -0.35;
10497
+ val13.y = 0;
10498
+ val13.anchor = "middle_right";
10499
+ var ref15 = texts40.find((t) => t.text === "{REF}");
10500
+ ref15.y = 0;
10501
+ ref15.x = 0.35;
10502
+ ref15.anchor = "middle_left";
10503
+ var p_channel_e_mosfet_transistor_vert_default = rotatedSymbol16;
10254
10504
 
10255
10505
  // assets/generated/photodiode.json
10256
10506
  var photodiode_default = {
@@ -10480,12 +10730,12 @@ var photodiode_default = {
10480
10730
  var photodiode_horz_default = modifySymbol(photodiode_default).changeTextAnchor("{VAL}", "middle_top").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_bottom").build();
10481
10731
 
10482
10732
  // symbols/photodiode_vert.ts
10483
- var rotatedSymbol16 = rotateSymbol(photodiode_horz_default);
10484
- var texts39 = rotatedSymbol16.primitives.filter((p) => p.type === "text");
10485
- var ref15 = texts39.find((t) => t.text === "{REF}");
10486
- ref15.y = 0;
10487
- ref15.anchor = "middle_left";
10488
- var photodiode_vert_default = rotatedSymbol16;
10733
+ var rotatedSymbol17 = rotateSymbol(photodiode_horz_default);
10734
+ var texts41 = rotatedSymbol17.primitives.filter((p) => p.type === "text");
10735
+ var ref16 = texts41.find((t) => t.text === "{REF}");
10736
+ ref16.y = 0;
10737
+ ref16.anchor = "middle_left";
10738
+ var photodiode_vert_default = rotatedSymbol17;
10489
10739
 
10490
10740
  // assets/generated/pjfet_transistor.json
10491
10741
  var pjfet_transistor_default = {
@@ -10651,38 +10901,38 @@ var pjfet_transistor_default = {
10651
10901
  };
10652
10902
 
10653
10903
  // symbols/pjfet_transistor_horz.ts
10654
- var { paths: paths30, texts: texts40, bounds: bounds30, refblocks: refblocks30, circles: circles28 } = pjfet_transistor_default;
10904
+ var { paths: paths31, texts: texts42, bounds: bounds31, refblocks: refblocks31, circles: circles29 } = pjfet_transistor_default;
10655
10905
  var pjfet_transistor_horz_default = defineSymbol({
10656
10906
  primitives: [
10657
- ...Object.values(paths30),
10658
- ...Object.values(circles28),
10659
- { ...texts40.top1, anchor: "middle_right", x: 0 },
10660
- { ...texts40.bottom1, anchor: "middle_right" }
10907
+ ...Object.values(paths31),
10908
+ ...Object.values(circles29),
10909
+ { ...texts42.top1, anchor: "middle_right", x: 0 },
10910
+ { ...texts42.bottom1, anchor: "middle_right" }
10661
10911
  ],
10662
10912
  ports: [
10663
- { ...refblocks30.top1, labels: ["1", "drain"] },
10913
+ { ...refblocks31.top1, labels: ["1", "drain"] },
10664
10914
  // TODO add more "standard" labels
10665
- { ...refblocks30.bottom1, labels: ["2", "source"] },
10915
+ { ...refblocks31.bottom1, labels: ["2", "source"] },
10666
10916
  // TODO add more "standard" labels
10667
- { ...refblocks30.left1, labels: ["3", "gate"] }
10917
+ { ...refblocks31.left1, labels: ["3", "gate"] }
10668
10918
  // TODO add more "standard" labels
10669
10919
  ],
10670
- size: { width: bounds30.width, height: bounds30.height },
10671
- center: { x: bounds30.centerX, y: bounds30.centerY }
10920
+ size: { width: bounds31.width, height: bounds31.height },
10921
+ center: { x: bounds31.centerX, y: bounds31.centerY }
10672
10922
  });
10673
10923
 
10674
10924
  // symbols/pjfet_transistor_vert.ts
10675
- var rotatedSymbol17 = rotateSymbol(pjfet_transistor_horz_default);
10676
- var texts41 = rotatedSymbol17.primitives.filter((p) => p.type === "text");
10677
- var val13 = texts41.find((t) => t.text === "{VAL}");
10678
- val13.x = -0.35;
10679
- val13.y = 0;
10680
- val13.anchor = "middle_right";
10681
- var ref16 = texts41.find((t) => t.text === "{REF}");
10682
- ref16.y = 0;
10683
- ref16.x = 0.35;
10684
- ref16.anchor = "middle_left";
10685
- var pjfet_transistor_vert_default = rotatedSymbol17;
10925
+ var rotatedSymbol18 = rotateSymbol(pjfet_transistor_horz_default);
10926
+ var texts43 = rotatedSymbol18.primitives.filter((p) => p.type === "text");
10927
+ var val14 = texts43.find((t) => t.text === "{VAL}");
10928
+ val14.x = -0.35;
10929
+ val14.y = 0;
10930
+ val14.anchor = "middle_right";
10931
+ var ref17 = texts43.find((t) => t.text === "{REF}");
10932
+ ref17.y = 0;
10933
+ ref17.x = 0.35;
10934
+ ref17.anchor = "middle_left";
10935
+ var pjfet_transistor_vert_default = rotatedSymbol18;
10686
10936
 
10687
10937
  // assets/generated/pnp_bipolar_transistor.json
10688
10938
  var pnp_bipolar_transistor_default = {
@@ -10851,10 +11101,10 @@ var pnp_bipolar_transistor_default = {
10851
11101
  var pnp_bipolar_transistor_horz_default = modifySymbol(pnp_bipolar_transistor_default).changeTextAnchor("{VAL}", "middle_right").labelPort("left1", ["3"]).labelPort("bottom1", ["2"]).labelPort("top1", ["1"]).changeTextAnchor("{REF}", "middle_right").build();
10852
11102
 
10853
11103
  // symbols/pnp_bipolar_transistor_vert.ts
10854
- var rotatedSymbol18 = rotateSymbol(pnp_bipolar_transistor_horz_default);
10855
- var texts42 = rotatedSymbol18.primitives.filter((p) => p.type === "text");
10856
- var ref17 = texts42.find((t) => t.text === "{REF}");
10857
- ref17.anchor = "middle_left";
11104
+ var rotatedSymbol19 = rotateSymbol(pnp_bipolar_transistor_horz_default);
11105
+ var texts44 = rotatedSymbol19.primitives.filter((p) => p.type === "text");
11106
+ var ref18 = texts44.find((t) => t.text === "{REF}");
11107
+ ref18.anchor = "middle_left";
10858
11108
  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();
10859
11109
 
10860
11110
  // assets/generated/potentiometer.json
@@ -11267,21 +11517,21 @@ var potentiometer_default = {
11267
11517
  };
11268
11518
 
11269
11519
  // symbols/potentiometer_horz.ts
11270
- var { paths: paths31, texts: texts43, bounds: bounds31, refblocks: refblocks31 } = potentiometer_default;
11520
+ var { paths: paths32, texts: texts45, bounds: bounds32, refblocks: refblocks32 } = potentiometer_default;
11271
11521
  var potentiometer_horz_default = defineSymbol({
11272
11522
  primitives: [
11273
- ...Object.values(paths31),
11274
- { ...texts43.bottom1, y: 0.35, anchor: "middle_top" },
11275
- { ...texts43.top1, anchor: "middle_left" }
11523
+ ...Object.values(paths32),
11524
+ { ...texts45.bottom1, y: 0.35, anchor: "middle_top" },
11525
+ { ...texts45.top1, anchor: "middle_left" }
11276
11526
  ],
11277
11527
  ports: [
11278
- { ...refblocks31.left1, labels: ["1"] },
11528
+ { ...refblocks32.left1, labels: ["1"] },
11279
11529
  // TODO add more "standard" labels
11280
- { ...refblocks31.right1, labels: ["2"] }
11530
+ { ...refblocks32.right1, labels: ["2"] }
11281
11531
  // TODO add more "standard" labels
11282
11532
  ],
11283
- size: { width: bounds31.width + 0.05, height: bounds31.height },
11284
- center: { x: bounds31.centerX, y: bounds31.centerY }
11533
+ size: { width: bounds32.width + 0.05, height: bounds32.height },
11534
+ center: { x: bounds32.centerX, y: bounds32.centerY }
11285
11535
  });
11286
11536
 
11287
11537
  // symbols/potentiometer_vert.ts
@@ -11444,30 +11694,30 @@ var potentiometer2_default = {
11444
11694
  };
11445
11695
 
11446
11696
  // symbols/potentiometer2_horz.ts
11447
- var { paths: paths32, texts: texts44, bounds: bounds32, refblocks: refblocks32 } = potentiometer2_default;
11697
+ var { paths: paths33, texts: texts46, bounds: bounds33, refblocks: refblocks33 } = potentiometer2_default;
11448
11698
  var potentiometer2_horz_default = defineSymbol({
11449
11699
  primitives: [
11450
- ...Object.values(paths32),
11451
- { ...texts44.bottom1, anchor: "middle_top" },
11452
- { ...texts44.top1, anchor: "middle_bottom" }
11700
+ ...Object.values(paths33),
11701
+ { ...texts46.bottom1, anchor: "middle_top" },
11702
+ { ...texts46.top1, anchor: "middle_bottom" }
11453
11703
  ],
11454
11704
  ports: [
11455
- { ...refblocks32.left1, labels: ["1"] },
11705
+ { ...refblocks33.left1, labels: ["1"] },
11456
11706
  // TODO add more "standard" labels
11457
- { ...refblocks32.right1, labels: ["2"] }
11707
+ { ...refblocks33.right1, labels: ["2"] }
11458
11708
  // TODO add more "standard" labels
11459
11709
  ],
11460
- size: { width: bounds32.width, height: bounds32.height },
11461
- center: { x: bounds32.centerX, y: bounds32.centerY }
11710
+ size: { width: bounds33.width, height: bounds33.height },
11711
+ center: { x: bounds33.centerX, y: bounds33.centerY }
11462
11712
  });
11463
11713
 
11464
11714
  // symbols/potentiometer2_vert.ts
11465
11715
  var rotated6 = rotateSymbol(potentiometer2_horz_default);
11466
- var texts45 = rotated6.primitives.filter((p) => p.type === "text");
11467
- var val14 = texts45.find((t) => t.text === "{VAL}");
11468
- val14.anchor = "middle_right";
11469
- var ref18 = texts45.find((t) => t.text === "{REF}");
11470
- ref18.anchor = "middle_left";
11716
+ var texts47 = rotated6.primitives.filter((p) => p.type === "text");
11717
+ var val15 = texts47.find((t) => t.text === "{VAL}");
11718
+ val15.anchor = "middle_right";
11719
+ var ref19 = texts47.find((t) => t.text === "{REF}");
11720
+ ref19.anchor = "middle_left";
11471
11721
  var potentiometer2_vert_default = rotated6;
11472
11722
 
11473
11723
  // assets/generated/power_factor_meter.json
@@ -11557,11 +11807,11 @@ var power_factor_meter_default = {
11557
11807
  };
11558
11808
 
11559
11809
  // symbols/power_factor_meter_horz.ts
11560
- var { paths: paths33, texts: texts46, bounds: bounds33, refblocks: refblocks33, circles: circles29 } = power_factor_meter_default;
11810
+ var { paths: paths34, texts: texts48, bounds: bounds34, refblocks: refblocks34, circles: circles30 } = power_factor_meter_default;
11561
11811
  var power_factor_meter_horz_default = defineSymbol({
11562
11812
  primitives: [
11563
- ...Object.values(paths33),
11564
- ...Object.values(circles29),
11813
+ ...Object.values(paths34),
11814
+ ...Object.values(circles30),
11565
11815
  // { ...texts.top1, anchor: "middle_left" },
11566
11816
  {
11567
11817
  type: "text",
@@ -11588,31 +11838,31 @@ var power_factor_meter_horz_default = defineSymbol({
11588
11838
  }
11589
11839
  ],
11590
11840
  ports: [
11591
- { ...refblocks33.left1, labels: ["1"] },
11841
+ { ...refblocks34.left1, labels: ["1"] },
11592
11842
  // TODO add more "standard" labels
11593
- { ...refblocks33.right1, labels: ["2"] }
11843
+ { ...refblocks34.right1, labels: ["2"] }
11594
11844
  // TODO add more "standard" labels
11595
11845
  ],
11596
- size: { width: bounds33.width, height: bounds33.height },
11597
- center: { x: bounds33.centerX, y: bounds33.centerY }
11846
+ size: { width: bounds34.width, height: bounds34.height },
11847
+ center: { x: bounds34.centerX, y: bounds34.centerY }
11598
11848
  });
11599
11849
 
11600
11850
  // symbols/power_factor_meter_vert.ts
11601
- var rotatedSymbol19 = rotateSymbol(power_factor_meter_horz_default);
11602
- var texts47 = rotatedSymbol19.primitives.filter((p) => p.type === "text");
11603
- var ref19 = texts47.find((t) => t.text === "{REF}");
11604
- var val15 = texts47.find((t) => t.text === "{VAL}");
11605
- var text_cos = texts47.find((t) => t.text === "COS \u03C6");
11606
- ref19.x = 0.35;
11607
- ref19.y = 0;
11608
- ref19.anchor = "middle_left";
11609
- val15.anchor = "middle_right";
11610
- val15.x = -0.35;
11611
- val15.y = 0;
11851
+ var rotatedSymbol20 = rotateSymbol(power_factor_meter_horz_default);
11852
+ var texts49 = rotatedSymbol20.primitives.filter((p) => p.type === "text");
11853
+ var ref20 = texts49.find((t) => t.text === "{REF}");
11854
+ var val16 = texts49.find((t) => t.text === "{VAL}");
11855
+ var text_cos = texts49.find((t) => t.text === "COS \u03C6");
11856
+ ref20.x = 0.35;
11857
+ ref20.y = 0;
11858
+ ref20.anchor = "middle_left";
11859
+ val16.anchor = "middle_right";
11860
+ val16.x = -0.35;
11861
+ val16.y = 0;
11612
11862
  text_cos.x = 0;
11613
11863
  text_cos.y = 0;
11614
11864
  text_cos.anchor = "center";
11615
- var power_factor_meter_vert_default = rotatedSymbol19;
11865
+ var power_factor_meter_vert_default = rotatedSymbol20;
11616
11866
 
11617
11867
  // assets/generated/push_button_normally_closed_momentary.json
11618
11868
  var push_button_normally_closed_momentary_default = {
@@ -11733,22 +11983,22 @@ var push_button_normally_closed_momentary_default = {
11733
11983
  };
11734
11984
 
11735
11985
  // symbols/push_button_normally_closed_momentary_horz.ts
11736
- var { paths: paths34, texts: texts48, bounds: bounds34, refblocks: refblocks34, circles: circles30 } = push_button_normally_closed_momentary_default;
11986
+ var { paths: paths35, texts: texts50, bounds: bounds35, refblocks: refblocks35, circles: circles31 } = push_button_normally_closed_momentary_default;
11737
11987
  var push_button_normally_closed_momentary_horz_default = defineSymbol({
11738
11988
  primitives: [
11739
- ...Object.values(paths34),
11740
- ...Object.values(circles30),
11741
- { ...texts48.top1, anchor: "middle_left" },
11742
- { ...texts48.bottom1, anchor: "middle_left" }
11989
+ ...Object.values(paths35),
11990
+ ...Object.values(circles31),
11991
+ { ...texts50.top1, anchor: "middle_left" },
11992
+ { ...texts50.bottom1, anchor: "middle_left" }
11743
11993
  ],
11744
11994
  ports: [
11745
- { ...refblocks34.left1, labels: ["1"] },
11995
+ { ...refblocks35.left1, labels: ["1"] },
11746
11996
  // TODO add more "standard" labels
11747
- { ...refblocks34.right1, labels: ["2"] }
11997
+ { ...refblocks35.right1, labels: ["2"] }
11748
11998
  // TODO add more "standard" labels
11749
11999
  ],
11750
- size: { width: bounds34.width, height: bounds34.height },
11751
- center: { x: bounds34.centerX, y: bounds34.centerY }
12000
+ size: { width: bounds35.width, height: bounds35.height },
12001
+ center: { x: bounds35.centerX, y: bounds35.centerY }
11752
12002
  });
11753
12003
 
11754
12004
  // symbols/push_button_normally_closed_momentary_vert.ts
@@ -11873,22 +12123,22 @@ var push_button_normally_open_momentary_default = {
11873
12123
  };
11874
12124
 
11875
12125
  // symbols/push_button_normally_open_momentary_horz.ts
11876
- var { paths: paths35, texts: texts49, bounds: bounds35, refblocks: refblocks35, circles: circles31 } = push_button_normally_open_momentary_default;
12126
+ var { paths: paths36, texts: texts51, bounds: bounds36, refblocks: refblocks36, circles: circles32 } = push_button_normally_open_momentary_default;
11877
12127
  var push_button_normally_open_momentary_horz_default = defineSymbol({
11878
12128
  primitives: [
11879
- ...Object.values(paths35),
11880
- ...Object.values(circles31),
11881
- { ...texts49.top1, anchor: "middle_left" },
11882
- { ...texts49.bottom1, anchor: "middle_left" }
12129
+ ...Object.values(paths36),
12130
+ ...Object.values(circles32),
12131
+ { ...texts51.top1, anchor: "middle_left" },
12132
+ { ...texts51.bottom1, anchor: "middle_left" }
11883
12133
  ],
11884
12134
  ports: [
11885
- { ...refblocks35.left1, labels: ["1"] },
12135
+ { ...refblocks36.left1, labels: ["1"] },
11886
12136
  // TODO add more "standard" labels
11887
- { ...refblocks35.right1, labels: ["2"] }
12137
+ { ...refblocks36.right1, labels: ["2"] }
11888
12138
  // TODO add more "standard" labels
11889
12139
  ],
11890
- size: { width: bounds35.width, height: bounds35.height },
11891
- center: { x: bounds35.centerX, y: bounds35.centerY }
12140
+ size: { width: bounds36.width, height: bounds36.height },
12141
+ center: { x: bounds36.centerX, y: bounds36.centerY }
11892
12142
  });
11893
12143
 
11894
12144
  // symbols/push_button_normally_open_momentary_vert.ts
@@ -12304,38 +12554,38 @@ var rectifier_diode_default = {
12304
12554
  };
12305
12555
 
12306
12556
  // symbols/rectifier_diode_horz.ts
12307
- var { paths: paths36, texts: texts50, bounds: bounds36, refblocks: refblocks36, circles: circles32 } = rectifier_diode_default;
12557
+ var { paths: paths37, texts: texts52, bounds: bounds37, refblocks: refblocks37, circles: circles33 } = rectifier_diode_default;
12308
12558
  var rectifier_diode_horz_default = defineSymbol({
12309
12559
  primitives: [
12310
- ...Object.values(paths36),
12311
- ...Object.values(circles32),
12312
- { ...texts50.top1, anchor: "middle_right" },
12313
- { ...texts50.bottom1, anchor: "middle_right" }
12560
+ ...Object.values(paths37),
12561
+ ...Object.values(circles33),
12562
+ { ...texts52.top1, anchor: "middle_right" },
12563
+ { ...texts52.bottom1, anchor: "middle_right" }
12314
12564
  ],
12315
12565
  ports: [
12316
- { ...refblocks36.top1, labels: ["1"] },
12566
+ { ...refblocks37.top1, labels: ["1"] },
12317
12567
  // TODO add more "standard" labels
12318
- { ...refblocks36.bottom1, labels: ["2"] },
12568
+ { ...refblocks37.bottom1, labels: ["2"] },
12319
12569
  // TODO add more "standard" labels
12320
- { ...refblocks36.left1, labels: ["3"] },
12570
+ { ...refblocks37.left1, labels: ["3"] },
12321
12571
  // TODO add more "standard" labels
12322
- { ...refblocks36.right1, labels: ["4"] }
12572
+ { ...refblocks37.right1, labels: ["4"] }
12323
12573
  // TODO add more "standard" labels
12324
12574
  ],
12325
- size: { width: bounds36.width, height: bounds36.height },
12326
- center: { x: bounds36.centerX, y: bounds36.centerY }
12575
+ size: { width: bounds37.width, height: bounds37.height },
12576
+ center: { x: bounds37.centerX, y: bounds37.centerY }
12327
12577
  });
12328
12578
 
12329
12579
  // symbols/rectifier_diode_vert.ts
12330
12580
  var rotated7 = rotateSymbol(rectifier_diode_horz_default);
12331
- var ref20 = rotated7.primitives.find(
12581
+ var ref21 = rotated7.primitives.find(
12332
12582
  (p) => p.type === "text" && p.text === "{REF}"
12333
12583
  );
12334
- var val16 = rotated7.primitives.find(
12584
+ var val17 = rotated7.primitives.find(
12335
12585
  (p) => p.type === "text" && p.text === "{VAL}"
12336
12586
  );
12337
- ref20.anchor = "middle_left";
12338
- val16.anchor = "middle_right";
12587
+ ref21.anchor = "middle_left";
12588
+ val17.anchor = "middle_right";
12339
12589
  var rectifier_diode_vert_default = rotated7;
12340
12590
 
12341
12591
  // assets/generated/resonator.json
@@ -12346,11 +12596,11 @@ var resonator_default = {
12346
12596
  points: [
12347
12597
  {
12348
12598
  x: 0.7635944500000007,
12349
- y: 0.28495445000000075
12599
+ y: -0.2799544500000035
12350
12600
  },
12351
12601
  {
12352
12602
  x: 0.3138028500000005,
12353
- y: 0.28495445000000075
12603
+ y: -0.2799544500000035
12354
12604
  }
12355
12605
  ],
12356
12606
  color: "primary",
@@ -12361,11 +12611,11 @@ var resonator_default = {
12361
12611
  points: [
12362
12612
  {
12363
12613
  x: -0.301017949999999,
12364
- y: 0.02024775000000112
12614
+ y: -0.01524775000000389
12365
12615
  },
12366
12616
  {
12367
12617
  x: -0.7508096499999994,
12368
- y: 0.02024775000000112
12618
+ y: -0.01524775000000389
12369
12619
  }
12370
12620
  ],
12371
12621
  color: "primary",
@@ -12376,11 +12626,11 @@ var resonator_default = {
12376
12626
  points: [
12377
12627
  {
12378
12628
  x: -0.3010179499999994,
12379
- y: -0.34304865000000007
12629
+ y: 0.3480486499999973
12380
12630
  },
12381
12631
  {
12382
12632
  x: -0.301017949999999,
12383
- y: 0.2848310499999993
12633
+ y: -0.2798310500000021
12384
12634
  }
12385
12635
  ],
12386
12636
  color: "primary",
@@ -12391,11 +12641,11 @@ var resonator_default = {
12391
12641
  points: [
12392
12642
  {
12393
12643
  x: 0.7729788499999999,
12394
- y: -0.34624514999999967
12644
+ y: 0.3512451499999969
12395
12645
  },
12396
12646
  {
12397
12647
  x: 0.32318725000000015,
12398
- y: -0.34624514999999967
12648
+ y: 0.3512451499999969
12399
12649
  }
12400
12650
  ],
12401
12651
  color: "primary",
@@ -12406,11 +12656,11 @@ var resonator_default = {
12406
12656
  points: [
12407
12657
  {
12408
12658
  x: -0.07279374999999932,
12409
- y: 0.28481924999999997
12659
+ y: -0.27981925000000274
12410
12660
  },
12411
12661
  {
12412
12662
  x: -0.2983350499999995,
12413
- y: 0.28481924999999997
12663
+ y: -0.27981925000000274
12414
12664
  }
12415
12665
  ],
12416
12666
  color: "primary",
@@ -12421,11 +12671,11 @@ var resonator_default = {
12421
12671
  points: [
12422
12672
  {
12423
12673
  x: 0.33114835000000076,
12424
- y: 0.284840449999999
12674
+ y: -0.2798404500000018
12425
12675
  },
12426
12676
  {
12427
12677
  x: 0.10560705000000059,
12428
- y: 0.284840449999999
12678
+ y: -0.2798404500000018
12429
12679
  }
12430
12680
  ],
12431
12681
  color: "primary",
@@ -12436,11 +12686,11 @@ var resonator_default = {
12436
12686
  points: [
12437
12687
  {
12438
12688
  x: -0.055820049999999455,
12439
- y: 0.17265845000000013
12689
+ y: -0.1676584500000029
12440
12690
  },
12441
12691
  {
12442
12692
  x: -0.055820049999999455,
12443
- y: 0.39819974999999985
12693
+ y: -0.3931997500000026
12444
12694
  }
12445
12695
  ],
12446
12696
  color: "primary",
@@ -12451,11 +12701,11 @@ var resonator_default = {
12451
12701
  points: [
12452
12702
  {
12453
12703
  x: 0.09396265000000081,
12454
- y: 0.17268285000000105
12704
+ y: -0.16768285000000382
12455
12705
  },
12456
12706
  {
12457
12707
  x: 0.09396265000000081,
12458
- y: 0.3982241500000008
12708
+ y: -0.39322415000000355
12459
12709
  }
12460
12710
  ],
12461
12711
  color: "primary",
@@ -12466,11 +12716,11 @@ var resonator_default = {
12466
12716
  points: [
12467
12717
  {
12468
12718
  x: -0.07296184999999955,
12469
- y: -0.3463701499999985
12719
+ y: 0.3513701499999957
12470
12720
  },
12471
12721
  {
12472
12722
  x: -0.2985031499999997,
12473
- y: -0.3463701499999985
12723
+ y: 0.3513701499999957
12474
12724
  }
12475
12725
  ],
12476
12726
  color: "primary",
@@ -12481,11 +12731,11 @@ var resonator_default = {
12481
12731
  points: [
12482
12732
  {
12483
12733
  x: 0.33098025000000053,
12484
- y: -0.3463489500000012
12734
+ y: 0.35134894999999844
12485
12735
  },
12486
12736
  {
12487
12737
  x: 0.10543895000000036,
12488
- y: -0.3463489500000012
12738
+ y: 0.35134894999999844
12489
12739
  }
12490
12740
  ],
12491
12741
  color: "primary",
@@ -12496,11 +12746,11 @@ var resonator_default = {
12496
12746
  points: [
12497
12747
  {
12498
12748
  x: -0.05598814999999968,
12499
- y: -0.4585309500000001
12749
+ y: 0.46353094999999733
12500
12750
  },
12501
12751
  {
12502
12752
  x: -0.05598814999999968,
12503
- y: -0.2329896499999986
12753
+ y: 0.23798964999999583
12504
12754
  }
12505
12755
  ],
12506
12756
  color: "primary",
@@ -12511,11 +12761,11 @@ var resonator_default = {
12511
12761
  points: [
12512
12762
  {
12513
12763
  x: 0.09379455000000014,
12514
- y: -0.45850655000000096
12764
+ y: 0.4635065499999982
12515
12765
  },
12516
12766
  {
12517
12767
  x: 0.09379455000000014,
12518
- y: -0.23296525000000123
12768
+ y: 0.23796524999999846
12519
12769
  }
12520
12770
  ],
12521
12771
  color: "primary",
@@ -12526,11 +12776,11 @@ var resonator_default = {
12526
12776
  points: [
12527
12777
  {
12528
12778
  x: 0.3315317500000008,
12529
- y: -0.12063885000000063
12779
+ y: 0.12563884999999786
12530
12780
  },
12531
12781
  {
12532
12782
  x: 0.33153175000000035,
12533
- y: -0.34618015000000035
12783
+ y: 0.3511801499999976
12534
12784
  }
12535
12785
  ],
12536
12786
  color: "primary",
@@ -12541,11 +12791,11 @@ var resonator_default = {
12541
12791
  points: [
12542
12792
  {
12543
12793
  x: 0.3315105500000004,
12544
- y: 0.28330324999999945
12794
+ y: -0.2783032500000022
12545
12795
  },
12546
12796
  {
12547
12797
  x: 0.3315105500000004,
12548
- y: 0.05776194999999973
12798
+ y: -0.0527619500000025
12549
12799
  }
12550
12800
  ],
12551
12801
  color: "primary",
@@ -12556,11 +12806,11 @@ var resonator_default = {
12556
12806
  points: [
12557
12807
  {
12558
12808
  x: 0.44369255000000063,
12559
- y: -0.1036651500000012
12809
+ y: 0.10866514999999843
12560
12810
  },
12561
12811
  {
12562
12812
  x: 0.21815125000000046,
12563
- y: -0.1036651500000012
12813
+ y: 0.10866514999999843
12564
12814
  }
12565
12815
  ],
12566
12816
  color: "primary",
@@ -12571,11 +12821,11 @@ var resonator_default = {
12571
12821
  points: [
12572
12822
  {
12573
12823
  x: 0.4436681500000006,
12574
- y: 0.04611754999999995
12824
+ y: -0.04111755000000272
12575
12825
  },
12576
12826
  {
12577
12827
  x: 0.21812685000000043,
12578
- y: 0.04611754999999995
12828
+ y: -0.04111755000000272
12579
12829
  }
12580
12830
  ],
12581
12831
  color: "primary",
@@ -12586,11 +12836,11 @@ var resonator_default = {
12586
12836
  points: [
12587
12837
  {
12588
12838
  x: 0.44235445000000073,
12589
- y: -0.06667004999999904
12839
+ y: 0.07167004999999627
12590
12840
  },
12591
12841
  {
12592
12842
  x: 0.21681315000000057,
12593
- y: -0.06667004999999904
12843
+ y: 0.07167004999999627
12594
12844
  }
12595
12845
  ],
12596
12846
  color: "primary",
@@ -12601,11 +12851,11 @@ var resonator_default = {
12601
12851
  points: [
12602
12852
  {
12603
12853
  x: 0.4429695500000004,
12604
- y: 0.007559849999998036
12854
+ y: -0.0025598500000008073
12605
12855
  },
12606
12856
  {
12607
12857
  x: 0.4430214500000007,
12608
- y: -0.06634914999999886
12858
+ y: 0.07134914999999609
12609
12859
  }
12610
12860
  ],
12611
12861
  color: "primary",
@@ -12616,11 +12866,11 @@ var resonator_default = {
12616
12866
  points: [
12617
12867
  {
12618
12868
  x: 0.21634305000000031,
12619
- y: 0.008546850000001882
12869
+ y: -0.0035468500000046532
12620
12870
  },
12621
12871
  {
12622
12872
  x: 0.21639495000000064,
12623
- y: -0.06536215000000212
12873
+ y: 0.07036214999999935
12624
12874
  }
12625
12875
  ],
12626
12876
  color: "primary",
@@ -12631,11 +12881,11 @@ var resonator_default = {
12631
12881
  points: [
12632
12882
  {
12633
12883
  x: 0.4429537500000005,
12634
- y: 0.009130850000000024
12884
+ y: -0.004130850000002795
12635
12885
  },
12636
12886
  {
12637
12887
  x: 0.21741245000000076,
12638
- y: 0.009130850000000024
12888
+ y: -0.004130850000002795
12639
12889
  }
12640
12890
  ],
12641
12891
  color: "primary",
@@ -12647,48 +12897,48 @@ var resonator_default = {
12647
12897
  type: "text",
12648
12898
  text: "{REF}",
12649
12899
  x: 0.01596175000000022,
12650
- y: -0.5308501500000009
12900
+ y: 0.5358501499999981
12651
12901
  },
12652
12902
  bottom1: {
12653
12903
  type: "text",
12654
12904
  text: "{VAL}",
12655
12905
  x: 0.013116750000000454,
12656
- y: 0.5408501499999989
12906
+ y: -0.5358501500000017
12657
12907
  }
12658
12908
  },
12659
12909
  refblocks: {
12660
12910
  left1: {
12661
12911
  x: -0.7666234499999998,
12662
- y: 0.0211504499999986
12912
+ y: -0.01615045000000137
12663
12913
  },
12664
12914
  right1: {
12665
- x: 0.7666234500000004,
12666
- y: -0.344347250000002
12915
+ x: 0.7572390499999999,
12916
+ y: -0.28185235000000297
12667
12917
  },
12668
12918
  right2: {
12669
- x: 0.7572390499999999,
12670
- y: 0.2868523500000002
12919
+ x: 0.7666234500000004,
12920
+ y: 0.3493472499999992
12671
12921
  }
12672
12922
  },
12673
12923
  bounds: {
12674
12924
  minX: -0.7947818909999997,
12675
12925
  maxX: 0.7947818910000004,
12676
- minY: -0.6308501500000009,
12677
- maxY: 0.5408501499999989,
12926
+ minY: -0.5358501500000017,
12927
+ maxY: 0.5358501499999981,
12678
12928
  width: 1.5895637820000001,
12679
- height: 1.1717003,
12929
+ height: 1.0717002999999998,
12680
12930
  centerX: 33306690738754696e-32,
12681
- centerY: -0.045000000000000984
12931
+ centerY: -17763568394002505e-31
12682
12932
  },
12683
12933
  circles: {}
12684
12934
  };
12685
12935
 
12686
12936
  // symbols/resonator_horz.ts
12687
- var { paths: paths37, texts: texts51, bounds: bounds37, refblocks: refblocks37, circles: circles33 } = resonator_default;
12937
+ var { paths: paths38, texts: texts53, bounds: bounds38, refblocks: refblocks38, circles: circles34 } = resonator_default;
12688
12938
  var resonator_horz_default = defineSymbol({
12689
12939
  primitives: [
12690
- ...Object.values(paths37),
12691
- ...Object.values(circles33),
12940
+ ...Object.values(paths38),
12941
+ ...Object.values(circles34),
12692
12942
  // { ...texts.top1, anchor: "middle_left" },
12693
12943
  // { ...texts.bottom1, anchor: "middle_left" },
12694
12944
  {
@@ -12696,26 +12946,26 @@ var resonator_horz_default = defineSymbol({
12696
12946
  text: "{REF}",
12697
12947
  x: 0.01596175000000022,
12698
12948
  y: -0.5308501500000009,
12699
- anchor: "middle_bottom"
12949
+ anchor: "middle_top"
12700
12950
  },
12701
12951
  {
12702
12952
  type: "text",
12703
12953
  text: "{VAL}",
12704
12954
  x: 0.013116750000000454,
12705
12955
  y: 0.5408501499999989,
12706
- anchor: "middle_top"
12956
+ anchor: "middle_bottom"
12707
12957
  }
12708
12958
  ],
12709
12959
  ports: [
12710
- { ...refblocks37.left1, labels: ["1"] },
12960
+ { ...refblocks38.left1, labels: ["1"] },
12711
12961
  // TODO add more "standard" labels
12712
- { ...refblocks37.right1, labels: ["2"] },
12962
+ { ...refblocks38.right1, labels: ["2"] },
12713
12963
  // TODO add more "standard" labels
12714
- { ...refblocks37.right2, labels: ["3"] }
12964
+ { ...refblocks38.right2, labels: ["3"] }
12715
12965
  // TODO add more "standard" labels
12716
12966
  ],
12717
- size: { width: bounds37.width, height: bounds37.height },
12718
- center: { x: bounds37.centerX, y: bounds37.centerY }
12967
+ size: { width: bounds38.width, height: bounds38.height },
12968
+ center: { x: bounds38.centerX, y: bounds38.centerY }
12719
12969
  });
12720
12970
 
12721
12971
  // symbols/resonator_vert.ts
@@ -12917,14 +13167,14 @@ var schottky_diode_horz_default = modifySymbol(schottky_diode_default).labelPort
12917
13167
 
12918
13168
  // symbols/schottky_diode_vert.ts
12919
13169
  var rotated8 = rotateSymbol(schottky_diode_horz_default);
12920
- var ref21 = rotated8.primitives.find(
13170
+ var ref22 = rotated8.primitives.find(
12921
13171
  (p) => p.type === "text" && p.text === "{REF}"
12922
13172
  );
12923
- var val17 = rotated8.primitives.find(
13173
+ var val18 = rotated8.primitives.find(
12924
13174
  (p) => p.type === "text" && p.text === "{VAL}"
12925
13175
  );
12926
- ref21.anchor = "middle_left";
12927
- val17.anchor = "middle_right";
13176
+ ref22.anchor = "middle_left";
13177
+ val18.anchor = "middle_right";
12928
13178
  var schottky_diode_vert_default = rotated8;
12929
13179
 
12930
13180
  // assets/generated/silicon_controlled_rectifier.json
@@ -13071,18 +13321,18 @@ var silicon_controlled_rectifier_default = {
13071
13321
  };
13072
13322
 
13073
13323
  // symbols/silicon_controlled_rectifier_horz.ts
13074
- var { paths: paths38, texts: texts52, bounds: bounds38, refblocks: refblocks38, circles: circles34 } = silicon_controlled_rectifier_default;
13324
+ var { paths: paths39, texts: texts54, bounds: bounds39, refblocks: refblocks39, circles: circles35 } = silicon_controlled_rectifier_default;
13075
13325
  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();
13076
13326
 
13077
13327
  // symbols/silicon_controlled_rectifier_vert.ts
13078
- var rotatedSymbol20 = rotateSymbol(silicon_controlled_rectifier_horz_default);
13079
- var texts53 = rotatedSymbol20.primitives.filter(
13328
+ var rotatedSymbol21 = rotateSymbol(silicon_controlled_rectifier_horz_default);
13329
+ var texts55 = rotatedSymbol21.primitives.filter(
13080
13330
  (primitive) => primitive.type === "text"
13081
13331
  );
13082
- var ref22 = texts53.find((text) => text.text === "{REF}");
13083
- ref22.y = 0;
13084
- ref22.anchor = "middle_left";
13085
- var silicon_controlled_rectifier_vert_default = rotatedSymbol20;
13332
+ var ref23 = texts55.find((text) => text.text === "{REF}");
13333
+ ref23.y = 0;
13334
+ ref23.anchor = "middle_left";
13335
+ var silicon_controlled_rectifier_vert_default = rotatedSymbol21;
13086
13336
 
13087
13337
  // assets/generated/SPDT_switch.json
13088
13338
  var SPDT_switch_default = {
@@ -13203,38 +13453,38 @@ var SPDT_switch_default = {
13203
13453
 
13204
13454
  // symbols/SPDT_switch_horz.ts
13205
13455
  SPDT_switch_default.bounds.width += 0.2;
13206
- var { paths: paths39, texts: texts54, bounds: bounds39, refblocks: refblocks39, circles: circles35 } = SPDT_switch_default;
13456
+ var { paths: paths40, texts: texts56, bounds: bounds40, refblocks: refblocks40, circles: circles36 } = SPDT_switch_default;
13207
13457
  var SPDT_switch_horz_default = defineSymbol({
13208
13458
  primitives: [
13209
- ...Object.values(paths39),
13210
- ...Object.values(circles35),
13211
- { ...texts54.top1, anchor: "middle_bottom", x: -0.01 },
13212
- { ...texts54.bottom1, anchor: "middle_top", x: -0.01 }
13459
+ ...Object.values(paths40),
13460
+ ...Object.values(circles36),
13461
+ { ...texts56.top1, anchor: "middle_bottom", x: -0.01 },
13462
+ { ...texts56.bottom1, anchor: "middle_top", x: -0.01 }
13213
13463
  ],
13214
13464
  ports: [
13215
- { ...refblocks39.left1, labels: ["1"] },
13465
+ { ...refblocks40.left1, labels: ["1"] },
13216
13466
  // TODO add more "standard" labels
13217
- { ...refblocks39.right1, labels: ["3"] },
13467
+ { ...refblocks40.right1, labels: ["3"] },
13218
13468
  // TODO add more "standard" labels
13219
- { ...refblocks39.right2, labels: ["2"] }
13469
+ { ...refblocks40.right2, labels: ["2"] }
13220
13470
  // TODO add more "standard" labels
13221
13471
  ],
13222
- size: { width: bounds39.width, height: bounds39.height },
13223
- center: { x: bounds39.centerX, y: bounds39.centerY }
13472
+ size: { width: bounds40.width, height: bounds40.height },
13473
+ center: { x: bounds40.centerX, y: bounds40.centerY }
13224
13474
  });
13225
13475
 
13226
13476
  // symbols/SPDT_switch_vert.ts
13227
- var rotatedSymbol21 = rotateSymbol(SPDT_switch_horz_default);
13228
- var texts55 = rotatedSymbol21.primitives.filter((p) => p.type === "text");
13229
- var val18 = texts55.find((t) => t.text === "{VAL}");
13230
- val18.anchor = "middle_right";
13231
- val18.x = -0.3;
13232
- val18.y = 0;
13233
- var ref23 = texts55.find((t) => t.text === "{REF}");
13234
- ref23.anchor = "middle_left";
13235
- ref23.x = 0.3;
13236
- ref23.y = 0;
13237
- var SPDT_switch_vert_default = rotatedSymbol21;
13477
+ var rotatedSymbol22 = rotateSymbol(SPDT_switch_horz_default);
13478
+ var texts57 = rotatedSymbol22.primitives.filter((p) => p.type === "text");
13479
+ var val19 = texts57.find((t) => t.text === "{VAL}");
13480
+ val19.anchor = "middle_right";
13481
+ val19.x = -0.3;
13482
+ val19.y = 0;
13483
+ var ref24 = texts57.find((t) => t.text === "{REF}");
13484
+ ref24.anchor = "middle_left";
13485
+ ref24.x = 0.3;
13486
+ ref24.y = 0;
13487
+ var SPDT_switch_vert_default = rotatedSymbol22;
13238
13488
 
13239
13489
  // assets/generated/SPST_switch.json
13240
13490
  var SPST_switch_default = {
@@ -13337,17 +13587,17 @@ SPST_switch_default.bounds.width += 0.2;
13337
13587
  var SPST_switch_horz_default = modifySymbol(SPST_switch_default).changeTextAnchor("{VAL}", "middle_top").labelPort("left2", ["1"]).labelPort("right2", ["2"]).changeTextAnchor("{REF}", "middle_bottom").build();
13338
13588
 
13339
13589
  // symbols/SPST_switch_vert.ts
13340
- var rotatedSymbol22 = rotateSymbol(SPST_switch_horz_default);
13341
- var texts56 = rotatedSymbol22.primitives.filter((p) => p.type === "text");
13342
- var val19 = texts56.find((t) => t.text === "{VAL}");
13343
- val19.anchor = "middle_right";
13344
- val19.x = -0.3;
13345
- val19.y = 0;
13346
- var ref24 = texts56.find((t) => t.text === "{REF}");
13347
- ref24.anchor = "middle_left";
13348
- ref24.x = 0.3;
13349
- ref24.y = 0;
13350
- var SPST_switch_vert_default = rotatedSymbol22;
13590
+ var rotatedSymbol23 = rotateSymbol(SPST_switch_horz_default);
13591
+ var texts58 = rotatedSymbol23.primitives.filter((p) => p.type === "text");
13592
+ var val20 = texts58.find((t) => t.text === "{VAL}");
13593
+ val20.anchor = "middle_right";
13594
+ val20.x = -0.3;
13595
+ val20.y = 0;
13596
+ var ref25 = texts58.find((t) => t.text === "{REF}");
13597
+ ref25.anchor = "middle_left";
13598
+ ref25.x = 0.3;
13599
+ ref25.y = 0;
13600
+ var SPST_switch_vert_default = rotatedSymbol23;
13351
13601
 
13352
13602
  // assets/generated/step_recovery_diode.json
13353
13603
  var step_recovery_diode_default = {
@@ -13511,7 +13761,7 @@ var step_recovery_diode_default = {
13511
13761
  };
13512
13762
 
13513
13763
  // symbols/step_recovery_diode_horz.ts
13514
- var { paths: paths40, texts: texts57, bounds: bounds40, refblocks: refblocks40, circles: circles36 } = step_recovery_diode_default;
13764
+ var { paths: paths41, texts: texts59, bounds: bounds41, refblocks: refblocks41, circles: circles37 } = step_recovery_diode_default;
13515
13765
  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();
13516
13766
 
13517
13767
  // symbols/step_recovery_diode_vert.ts
@@ -13604,11 +13854,11 @@ var tachometer_default = {
13604
13854
  };
13605
13855
 
13606
13856
  // symbols/tachometer_horz.ts
13607
- var { paths: paths41, texts: texts58, bounds: bounds41, refblocks: refblocks41, circles: circles37 } = tachometer_default;
13857
+ var { paths: paths42, texts: texts60, bounds: bounds42, refblocks: refblocks42, circles: circles38 } = tachometer_default;
13608
13858
  var tachometer_horz_default = defineSymbol({
13609
13859
  primitives: [
13610
- ...Object.values(paths41),
13611
- ...Object.values(circles37),
13860
+ ...Object.values(paths42),
13861
+ ...Object.values(circles38),
13612
13862
  {
13613
13863
  type: "text",
13614
13864
  text: "{REF}",
@@ -13623,16 +13873,16 @@ var tachometer_horz_default = defineSymbol({
13623
13873
  y: 0.35,
13624
13874
  anchor: "middle_bottom"
13625
13875
  },
13626
- { ...texts58.left1, y: 0.01, anchor: "center", fontSize: 0.2 }
13876
+ { ...texts60.left1, y: 0.01, anchor: "center", fontSize: 0.2 }
13627
13877
  ],
13628
13878
  ports: [
13629
- { ...refblocks41.left1, labels: ["1"] },
13879
+ { ...refblocks42.left1, labels: ["1"] },
13630
13880
  // TODO add more "standard" labels
13631
- { ...refblocks41.right1, labels: ["2"] }
13881
+ { ...refblocks42.right1, labels: ["2"] }
13632
13882
  // TODO add more "standard" labels
13633
13883
  ],
13634
- size: { width: bounds41.width, height: bounds41.height },
13635
- center: { x: bounds41.centerX, y: bounds41.centerY }
13884
+ size: { width: bounds42.width, height: bounds42.height },
13885
+ center: { x: bounds42.centerX, y: bounds42.centerY }
13636
13886
  });
13637
13887
 
13638
13888
  // symbols/tachometer_vert.ts
@@ -13640,13 +13890,13 @@ var { 5: letter4, ...rest4 } = tachometer_horz_default.primitives;
13640
13890
  function isPrimitive4(value) {
13641
13891
  return typeof value === "object";
13642
13892
  }
13643
- var rotatedSymbol23 = rotateSymbol({
13893
+ var rotatedSymbol24 = rotateSymbol({
13644
13894
  ...tachometer_horz_default,
13645
13895
  primitives: Object.values(rest4).filter(isPrimitive4)
13646
13896
  });
13647
13897
  var tachometer_vert_default = {
13648
- ...rotatedSymbol23,
13649
- primitives: [...rotatedSymbol23.primitives, letter4]
13898
+ ...rotatedSymbol24,
13899
+ primitives: [...rotatedSymbol24.primitives, letter4]
13650
13900
  };
13651
13901
 
13652
13902
  // assets/generated/triac.json
@@ -13840,19 +14090,19 @@ var triac_default = {
13840
14090
  };
13841
14091
 
13842
14092
  // symbols/triac_horz.ts
13843
- var { paths: paths42, texts: texts59, bounds: bounds42, refblocks: refblocks42, circles: circles38 } = triac_default;
14093
+ var { paths: paths43, texts: texts61, bounds: bounds43, refblocks: refblocks43, circles: circles39 } = triac_default;
13844
14094
  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();
13845
14095
 
13846
14096
  // symbols/triac_vert.ts
13847
- var rotatedSymbol24 = rotateSymbol(triac_horz_default);
13848
- var texts60 = rotatedSymbol24.primitives.filter(
14097
+ var rotatedSymbol25 = rotateSymbol(triac_horz_default);
14098
+ var texts62 = rotatedSymbol25.primitives.filter(
13849
14099
  (primitive) => primitive.type === "text"
13850
14100
  );
13851
- var ref25 = texts60.find((text) => text.text === "{REF}");
13852
- var val20 = texts60.find((text) => text.text === "{VAL}");
13853
- ref25.y = 0;
13854
- val20.y = 0;
13855
- var triac_vert_default = rotatedSymbol24;
14101
+ var ref26 = texts62.find((text) => text.text === "{REF}");
14102
+ var val21 = texts62.find((text) => text.text === "{VAL}");
14103
+ ref26.y = 0;
14104
+ val21.y = 0;
14105
+ var triac_vert_default = rotatedSymbol25;
13856
14106
 
13857
14107
  // assets/generated/tunnel_diode.json
13858
14108
  var tunnel_diode_default = {
@@ -14016,34 +14266,34 @@ var tunnel_diode_default = {
14016
14266
  };
14017
14267
 
14018
14268
  // symbols/tunnel_diode_horz.ts
14019
- var { paths: paths43, texts: texts61, bounds: bounds43, refblocks: refblocks43, circles: circles39 } = tunnel_diode_default;
14269
+ var { paths: paths44, texts: texts63, bounds: bounds44, refblocks: refblocks44, circles: circles40 } = tunnel_diode_default;
14020
14270
  var tunnel_diode_horz_default = defineSymbol({
14021
14271
  primitives: [
14022
- ...Object.values(paths43),
14023
- ...Object.values(circles39),
14024
- { ...texts61.top1, anchor: "middle_bottom" },
14025
- { ...texts61.bottom1, anchor: "middle_top" }
14272
+ ...Object.values(paths44),
14273
+ ...Object.values(circles40),
14274
+ { ...texts63.top1, anchor: "middle_bottom" },
14275
+ { ...texts63.bottom1, anchor: "middle_top" }
14026
14276
  ],
14027
14277
  ports: [
14028
- { ...refblocks43.left1, labels: ["1"] },
14278
+ { ...refblocks44.left1, labels: ["1"] },
14029
14279
  // TODO add more "standard" labels
14030
- { ...refblocks43.right1, labels: ["2"] }
14280
+ { ...refblocks44.right1, labels: ["2"] }
14031
14281
  // TODO add more "standard" labels
14032
14282
  ],
14033
- size: { width: bounds43.width, height: bounds43.height },
14034
- center: { x: bounds43.centerX, y: bounds43.centerY }
14283
+ size: { width: bounds44.width, height: bounds44.height },
14284
+ center: { x: bounds44.centerX, y: bounds44.centerY }
14035
14285
  });
14036
14286
 
14037
14287
  // symbols/tunnel_diode_vert.ts
14038
14288
  var rotated9 = rotateSymbol(tunnel_diode_horz_default);
14039
- var ref26 = rotated9.primitives.find(
14289
+ var ref27 = rotated9.primitives.find(
14040
14290
  (p) => p.type === "text" && p.text === "{REF}"
14041
14291
  );
14042
- var val21 = rotated9.primitives.find(
14292
+ var val22 = rotated9.primitives.find(
14043
14293
  (p) => p.type === "text" && p.text === "{VAL}"
14044
14294
  );
14045
- ref26.anchor = "middle_left";
14046
- val21.anchor = "middle_right";
14295
+ ref27.anchor = "middle_left";
14296
+ val22.anchor = "middle_right";
14047
14297
  var tunnel_diode_vert_default = rotated9;
14048
14298
 
14049
14299
  // assets/generated/unijunction_transistor.json
@@ -14214,37 +14464,37 @@ var unijunction_transistor_default = {
14214
14464
  };
14215
14465
 
14216
14466
  // symbols/unijunction_transistor_horz.ts
14217
- var { paths: paths44, texts: texts62, bounds: bounds44, refblocks: refblocks44, circles: circles40 } = unijunction_transistor_default;
14467
+ var { paths: paths45, texts: texts64, bounds: bounds45, refblocks: refblocks45, circles: circles41 } = unijunction_transistor_default;
14218
14468
  var unijunction_transistor_horz_default = defineSymbol({
14219
14469
  primitives: [
14220
- ...Object.values(paths44),
14221
- ...Object.values(circles40),
14222
- { ...texts62.top1, anchor: "middle_left" },
14223
- { ...texts62.bottom1, anchor: "middle_right" }
14470
+ ...Object.values(paths45),
14471
+ ...Object.values(circles41),
14472
+ { ...texts64.top1, anchor: "middle_left" },
14473
+ { ...texts64.bottom1, anchor: "middle_right" }
14224
14474
  ],
14225
14475
  ports: [
14226
- { ...refblocks44.top1, labels: ["1"] },
14476
+ { ...refblocks45.top1, labels: ["1"] },
14227
14477
  // TODO add more "standard" labels
14228
- { ...refblocks44.bottom1, labels: ["2"] },
14478
+ { ...refblocks45.bottom1, labels: ["2"] },
14229
14479
  // TODO add more "standard" labels
14230
- { ...refblocks44.left1, labels: ["3"] }
14480
+ { ...refblocks45.left1, labels: ["3"] }
14231
14481
  // TODO add more "standard" labels
14232
14482
  ],
14233
- size: { width: bounds44.width, height: bounds44.height },
14234
- center: { x: bounds44.centerX, y: bounds44.centerY }
14483
+ size: { width: bounds45.width, height: bounds45.height },
14484
+ center: { x: bounds45.centerX, y: bounds45.centerY }
14235
14485
  });
14236
14486
 
14237
14487
  // symbols/unijunction_transistor_vert.ts
14238
- var rotatedSymbol25 = rotateSymbol(unijunction_transistor_horz_default);
14239
- var texts63 = rotatedSymbol25.primitives.filter(
14488
+ var rotatedSymbol26 = rotateSymbol(unijunction_transistor_horz_default);
14489
+ var texts65 = rotatedSymbol26.primitives.filter(
14240
14490
  (primitive) => primitive.type === "text"
14241
14491
  );
14242
- var ref27 = texts63.find((text) => text.text === "{REF}");
14243
- ref27.y = 0.1;
14244
- var val22 = texts63.find((text) => text.text === "{VAL}");
14245
- val22.y = 0.1;
14246
- val22.x = -0.4;
14247
- var unijunction_transistor_vert_default = rotatedSymbol25;
14492
+ var ref28 = texts65.find((text) => text.text === "{REF}");
14493
+ ref28.y = 0.1;
14494
+ var val23 = texts65.find((text) => text.text === "{VAL}");
14495
+ val23.y = 0.1;
14496
+ val23.x = -0.4;
14497
+ var unijunction_transistor_vert_default = rotatedSymbol26;
14248
14498
 
14249
14499
  // assets/generated/var_meter.json
14250
14500
  var var_meter_default = {
@@ -14333,33 +14583,33 @@ var var_meter_default = {
14333
14583
  };
14334
14584
 
14335
14585
  // symbols/var_meter_horz.ts
14336
- var { paths: paths45, texts: texts64, bounds: bounds45, refblocks: refblocks45, circles: circles41 } = var_meter_default;
14586
+ var { paths: paths46, texts: texts66, bounds: bounds46, refblocks: refblocks46, circles: circles42 } = var_meter_default;
14337
14587
  var var_meter_horz_default = defineSymbol({
14338
14588
  primitives: [
14339
- ...Object.values(paths45),
14340
- ...Object.values(circles41),
14589
+ ...Object.values(paths46),
14590
+ ...Object.values(circles42),
14341
14591
  {
14342
- ...texts64.top1,
14592
+ ...texts66.top1,
14343
14593
  x: 0,
14344
14594
  y: -0.3594553499999995,
14345
14595
  anchor: "middle_top"
14346
14596
  },
14347
14597
  {
14348
- ...texts64.bottom1,
14598
+ ...texts66.bottom1,
14349
14599
  x: 0,
14350
14600
  y: 0.35,
14351
14601
  anchor: "middle_bottom"
14352
14602
  },
14353
- { ...texts64.left1, x: -0.02, y: 0.01, fontSize: 0.2, anchor: "center" }
14603
+ { ...texts66.left1, x: -0.02, y: 0.01, fontSize: 0.2, anchor: "center" }
14354
14604
  ],
14355
14605
  ports: [
14356
- { ...refblocks45.left1, labels: ["1"] },
14606
+ { ...refblocks46.left1, labels: ["1"] },
14357
14607
  // TODO add more "standard" labels
14358
- { ...refblocks45.right1, labels: ["2"] }
14608
+ { ...refblocks46.right1, labels: ["2"] }
14359
14609
  // TODO add more "standard" labels
14360
14610
  ],
14361
- size: { width: bounds45.width, height: bounds45.height },
14362
- center: { x: bounds45.centerX, y: bounds45.centerY }
14611
+ size: { width: bounds46.width, height: bounds46.height },
14612
+ center: { x: bounds46.centerX, y: bounds46.centerY }
14363
14613
  });
14364
14614
 
14365
14615
  // symbols/var_meter_vert.ts
@@ -14512,34 +14762,34 @@ var varactor_diode_default = {
14512
14762
  };
14513
14763
 
14514
14764
  // symbols/varactor_diode_horz.ts
14515
- var { paths: paths46, texts: texts65, bounds: bounds46, refblocks: refblocks46, circles: circles42 } = varactor_diode_default;
14765
+ var { paths: paths47, texts: texts67, bounds: bounds47, refblocks: refblocks47, circles: circles43 } = varactor_diode_default;
14516
14766
  var varactor_diode_horz_default = defineSymbol({
14517
14767
  primitives: [
14518
- ...Object.values(paths46),
14519
- ...Object.values(circles42),
14520
- { ...texts65.top1, anchor: "middle_bottom" },
14521
- { ...texts65.bottom1, anchor: "middle_top" }
14768
+ ...Object.values(paths47),
14769
+ ...Object.values(circles43),
14770
+ { ...texts67.top1, anchor: "middle_bottom" },
14771
+ { ...texts67.bottom1, anchor: "middle_top" }
14522
14772
  ],
14523
14773
  ports: [
14524
- { ...refblocks46.left1, labels: ["1"] },
14774
+ { ...refblocks47.left1, labels: ["1"] },
14525
14775
  // TODO add more "standard" labels
14526
- { ...refblocks46.right1, labels: ["2"] }
14776
+ { ...refblocks47.right1, labels: ["2"] }
14527
14777
  // TODO add more "standard" labels
14528
14778
  ],
14529
- size: { width: bounds46.width, height: bounds46.height },
14530
- center: { x: bounds46.centerX, y: bounds46.centerY }
14779
+ size: { width: bounds47.width, height: bounds47.height },
14780
+ center: { x: bounds47.centerX, y: bounds47.centerY }
14531
14781
  });
14532
14782
 
14533
14783
  // symbols/varactor_diode_vert.ts
14534
14784
  var rotated10 = rotateSymbol(varactor_diode_horz_default);
14535
- var ref28 = rotated10.primitives.find(
14785
+ var ref29 = rotated10.primitives.find(
14536
14786
  (p) => p.type === "text" && p.text === "{REF}"
14537
14787
  );
14538
- var val23 = rotated10.primitives.find(
14788
+ var val24 = rotated10.primitives.find(
14539
14789
  (p) => p.type === "text" && p.text === "{VAL}"
14540
14790
  );
14541
- ref28.anchor = "middle_left";
14542
- val23.anchor = "middle_right";
14791
+ ref29.anchor = "middle_left";
14792
+ val24.anchor = "middle_right";
14543
14793
  var varactor_diode_vert_default = rotated10;
14544
14794
 
14545
14795
  // assets/generated/varistor.json
@@ -14675,26 +14925,26 @@ var varistor_default = {
14675
14925
  };
14676
14926
 
14677
14927
  // symbols/varistor_horz.ts
14678
- var { paths: paths47, texts: texts66, bounds: bounds47, refblocks: refblocks47 } = varistor_default;
14928
+ var { paths: paths48, texts: texts68, bounds: bounds48, refblocks: refblocks48 } = varistor_default;
14679
14929
  var varistor_horz_default = defineSymbol({
14680
14930
  primitives: [
14681
- ...Object.values(paths47),
14682
- { ...texts66.top1, anchor: "middle_left" },
14683
- { ...texts66.bottom1, anchor: "middle_right" }
14931
+ ...Object.values(paths48),
14932
+ { ...texts68.top1, anchor: "middle_left" },
14933
+ { ...texts68.bottom1, anchor: "middle_right" }
14684
14934
  ],
14685
14935
  ports: [
14686
14936
  {
14687
- ...refblocks47.left1,
14937
+ ...refblocks48.left1,
14688
14938
  labels: ["1", "-"]
14689
14939
  },
14690
14940
  {
14691
- ...refblocks47.right1,
14941
+ ...refblocks48.right1,
14692
14942
  labels: ["2", "+"]
14693
14943
  }
14694
14944
  ],
14695
- size: { width: bounds47.width, height: bounds47.height },
14945
+ size: { width: bounds48.width, height: bounds48.height },
14696
14946
  //{ width: 1, height: 0.24 },
14697
- center: { x: bounds47.centerX, y: bounds47.centerY }
14947
+ center: { x: bounds48.centerX, y: bounds48.centerY }
14698
14948
  });
14699
14949
 
14700
14950
  // symbols/varistor_vert.ts
@@ -14787,11 +15037,11 @@ var varmeter_default = {
14787
15037
  };
14788
15038
 
14789
15039
  // symbols/varmeter_horz.ts
14790
- var { paths: paths48, texts: texts67, bounds: bounds48, refblocks: refblocks48, circles: circles43 } = varmeter_default;
15040
+ var { paths: paths49, texts: texts69, bounds: bounds49, refblocks: refblocks49, circles: circles44 } = varmeter_default;
14791
15041
  var varmeter_horz_default = defineSymbol({
14792
15042
  primitives: [
14793
- ...Object.values(paths48),
14794
- ...Object.values(circles43),
15043
+ ...Object.values(paths49),
15044
+ ...Object.values(circles44),
14795
15045
  {
14796
15046
  type: "text",
14797
15047
  text: "{REF}",
@@ -14806,16 +15056,16 @@ var varmeter_horz_default = defineSymbol({
14806
15056
  y: 0.35,
14807
15057
  anchor: "middle_bottom"
14808
15058
  },
14809
- { ...texts67.left1, anchor: "center", y: 0.02, fontSize: 0.2 }
15059
+ { ...texts69.left1, anchor: "center", y: 0.02, fontSize: 0.2 }
14810
15060
  ],
14811
15061
  ports: [
14812
- { ...refblocks48.left1, labels: ["1"] },
15062
+ { ...refblocks49.left1, labels: ["1"] },
14813
15063
  // TODO add more "standard" labels
14814
- { ...refblocks48.right1, labels: ["2"] }
15064
+ { ...refblocks49.right1, labels: ["2"] }
14815
15065
  // TODO add more "standard" labels
14816
15066
  ],
14817
- size: { width: bounds48.width, height: bounds48.height },
14818
- center: { x: bounds48.centerX, y: bounds48.centerY }
15067
+ size: { width: bounds49.width, height: bounds49.height },
15068
+ center: { x: bounds49.centerX, y: bounds49.centerY }
14819
15069
  });
14820
15070
 
14821
15071
  // symbols/varmeter_vert.ts
@@ -14823,13 +15073,13 @@ var { 5: letter5, ...rest5 } = varmeter_horz_default.primitives;
14823
15073
  function isPrimitive5(value) {
14824
15074
  return typeof value === "object";
14825
15075
  }
14826
- var rotatedSymbol26 = rotateSymbol({
15076
+ var rotatedSymbol27 = rotateSymbol({
14827
15077
  ...varmeter_horz_default,
14828
15078
  primitives: Object.values(rest5).filter(isPrimitive5)
14829
15079
  });
14830
15080
  var varmeter_vert_default = {
14831
- ...rotatedSymbol26,
14832
- primitives: [...rotatedSymbol26.primitives, letter5]
15081
+ ...rotatedSymbol27,
15082
+ primitives: [...rotatedSymbol27.primitives, letter5]
14833
15083
  };
14834
15084
 
14835
15085
  // assets/generated/volt_meter.json
@@ -14932,7 +15182,7 @@ var volt_meter_default = {
14932
15182
  };
14933
15183
 
14934
15184
  // symbols/volt_meter_horz.ts
14935
- var { paths: paths49, texts: texts68, bounds: bounds49, circles: circles44, refblocks: refblocks49 } = volt_meter_default;
15185
+ var { paths: paths50, texts: texts70, bounds: bounds50, circles: circles45, refblocks: refblocks50 } = volt_meter_default;
14936
15186
  var volt_meter_horz_default = modifySymbol(volt_meter_default).changeTextAnchor("{VAL}", "middle_top").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_bottom").build();
14937
15187
 
14938
15188
  // symbols/volt_meter_vert.ts
@@ -15025,11 +15275,11 @@ var watt_hour_meter_default = {
15025
15275
  };
15026
15276
 
15027
15277
  // symbols/watt_hour_meter_horz.ts
15028
- var { paths: paths50, texts: texts69, bounds: bounds50, refblocks: refblocks50, circles: circles45 } = watt_hour_meter_default;
15278
+ var { paths: paths51, texts: texts71, bounds: bounds51, refblocks: refblocks51, circles: circles46 } = watt_hour_meter_default;
15029
15279
  var watt_hour_meter_horz_default = defineSymbol({
15030
15280
  primitives: [
15031
- ...Object.values(paths50),
15032
- ...Object.values(circles45),
15281
+ ...Object.values(paths51),
15282
+ ...Object.values(circles46),
15033
15283
  {
15034
15284
  type: "text",
15035
15285
  text: "{REF}",
@@ -15044,16 +15294,16 @@ var watt_hour_meter_horz_default = defineSymbol({
15044
15294
  y: 0.35,
15045
15295
  anchor: "middle_bottom"
15046
15296
  },
15047
- { ...texts69.left1, anchor: "center", y: 0.01, fontSize: 0.2 }
15297
+ { ...texts71.left1, anchor: "center", y: 0.01, fontSize: 0.2 }
15048
15298
  ],
15049
15299
  ports: [
15050
- { ...refblocks50.left1, labels: ["1"] },
15300
+ { ...refblocks51.left1, labels: ["1"] },
15051
15301
  // TODO add more "standard" labels
15052
- { ...refblocks50.right1, labels: ["2"] }
15302
+ { ...refblocks51.right1, labels: ["2"] }
15053
15303
  // TODO add more "standard" labels
15054
15304
  ],
15055
- size: { width: bounds50.width, height: bounds50.height },
15056
- center: { x: bounds50.centerX, y: bounds50.centerY }
15305
+ size: { width: bounds51.width, height: bounds51.height },
15306
+ center: { x: bounds51.centerX, y: bounds51.centerY }
15057
15307
  });
15058
15308
 
15059
15309
  // symbols/watt_hour_meter_vert.ts
@@ -15061,13 +15311,13 @@ var { 5: letter6, ...rest6 } = watt_hour_meter_horz_default.primitives;
15061
15311
  function isPrimitive6(value) {
15062
15312
  return typeof value === "object";
15063
15313
  }
15064
- var rotatedSymbol27 = rotateSymbol({
15314
+ var rotatedSymbol28 = rotateSymbol({
15065
15315
  ...watt_hour_meter_horz_default,
15066
15316
  primitives: Object.values(rest6).filter(isPrimitive6)
15067
15317
  });
15068
15318
  var watt_hour_meter_vert_default = {
15069
- ...rotatedSymbol27,
15070
- primitives: [...rotatedSymbol27.primitives, letter6]
15319
+ ...rotatedSymbol28,
15320
+ primitives: [...rotatedSymbol28.primitives, letter6]
15071
15321
  };
15072
15322
 
15073
15323
  // assets/generated/wattmeter.json
@@ -15157,11 +15407,11 @@ var wattmeter_default = {
15157
15407
  };
15158
15408
 
15159
15409
  // symbols/wattmeter_horz.ts
15160
- var { paths: paths51, texts: texts70, bounds: bounds51, refblocks: refblocks51, circles: circles46 } = wattmeter_default;
15410
+ var { paths: paths52, texts: texts72, bounds: bounds52, refblocks: refblocks52, circles: circles47 } = wattmeter_default;
15161
15411
  var wattmeter_horz_default = defineSymbol({
15162
15412
  primitives: [
15163
- ...Object.values(paths51),
15164
- ...Object.values(circles46),
15413
+ ...Object.values(paths52),
15414
+ ...Object.values(circles47),
15165
15415
  {
15166
15416
  type: "text",
15167
15417
  text: "{REF}",
@@ -15176,16 +15426,16 @@ var wattmeter_horz_default = defineSymbol({
15176
15426
  y: 0.35,
15177
15427
  anchor: "middle_bottom"
15178
15428
  },
15179
- { ...texts70.left1, anchor: "center", y: 0.01, fontSize: 0.3 }
15429
+ { ...texts72.left1, anchor: "center", y: 0.01, fontSize: 0.3 }
15180
15430
  ],
15181
15431
  ports: [
15182
- { ...refblocks51.left1, labels: ["1"] },
15432
+ { ...refblocks52.left1, labels: ["1"] },
15183
15433
  // TODO add more "standard" labels
15184
- { ...refblocks51.right1, labels: ["2"] }
15434
+ { ...refblocks52.right1, labels: ["2"] }
15185
15435
  // TODO add more "standard" labels
15186
15436
  ],
15187
- size: { width: bounds51.width, height: bounds51.height },
15188
- center: { x: bounds51.centerX, y: bounds51.centerY }
15437
+ size: { width: bounds52.width, height: bounds52.height },
15438
+ center: { x: bounds52.centerX, y: bounds52.centerY }
15189
15439
  });
15190
15440
 
15191
15441
  // symbols/wattmeter_vert.ts
@@ -15193,13 +15443,13 @@ var { 5: letter7, ...rest7 } = wattmeter_horz_default.primitives;
15193
15443
  function isPrimitive7(value) {
15194
15444
  return typeof value === "object";
15195
15445
  }
15196
- var rotatedSymbol28 = rotateSymbol({
15446
+ var rotatedSymbol29 = rotateSymbol({
15197
15447
  ...wattmeter_horz_default,
15198
15448
  primitives: Object.values(rest7).filter(isPrimitive7)
15199
15449
  });
15200
15450
  var wattmeter_vert_default = {
15201
- ...rotatedSymbol28,
15202
- primitives: [...rotatedSymbol28.primitives, letter7]
15451
+ ...rotatedSymbol29,
15452
+ primitives: [...rotatedSymbol29.primitives, letter7]
15203
15453
  };
15204
15454
 
15205
15455
  // assets/generated/zener_diode.json
@@ -15349,34 +15599,34 @@ var zener_diode_default = {
15349
15599
  };
15350
15600
 
15351
15601
  // symbols/zener_diode_horz.ts
15352
- var { paths: paths52, texts: texts71, bounds: bounds52, refblocks: refblocks52, circles: circles47 } = zener_diode_default;
15602
+ var { paths: paths53, texts: texts73, bounds: bounds53, refblocks: refblocks53, circles: circles48 } = zener_diode_default;
15353
15603
  var zener_diode_horz_default = defineSymbol({
15354
15604
  primitives: [
15355
- ...Object.values(paths52),
15356
- ...Object.values(circles47),
15357
- { ...texts71.top1, anchor: "middle_bottom" },
15358
- { ...texts71.bottom1, anchor: "middle_top" }
15605
+ ...Object.values(paths53),
15606
+ ...Object.values(circles48),
15607
+ { ...texts73.top1, anchor: "middle_bottom" },
15608
+ { ...texts73.bottom1, anchor: "middle_top" }
15359
15609
  ],
15360
15610
  ports: [
15361
- { ...refblocks52.left1, labels: ["1"] },
15611
+ { ...refblocks53.left1, labels: ["1"] },
15362
15612
  // TODO add more "standard" labels
15363
- { ...refblocks52.right1, labels: ["2"] }
15613
+ { ...refblocks53.right1, labels: ["2"] }
15364
15614
  // TODO add more "standard" labels
15365
15615
  ],
15366
- size: { width: bounds52.width, height: bounds52.height },
15367
- center: { x: bounds52.centerX, y: bounds52.centerY }
15616
+ size: { width: bounds53.width, height: bounds53.height },
15617
+ center: { x: bounds53.centerX, y: bounds53.centerY }
15368
15618
  });
15369
15619
 
15370
15620
  // symbols/zener_diode_vert.ts
15371
15621
  var rotated11 = rotateSymbol(zener_diode_horz_default);
15372
- var ref29 = rotated11.primitives.find(
15622
+ var ref30 = rotated11.primitives.find(
15373
15623
  (p) => p.type === "text" && p.text === "{REF}"
15374
15624
  );
15375
- var val24 = rotated11.primitives.find(
15625
+ var val25 = rotated11.primitives.find(
15376
15626
  (p) => p.type === "text" && p.text === "{VAL}"
15377
15627
  );
15378
- ref29.anchor = "middle_left";
15379
- val24.anchor = "middle_right";
15628
+ ref30.anchor = "middle_left";
15629
+ val25.anchor = "middle_right";
15380
15630
  var zener_diode_vert_default = rotated11;
15381
15631
 
15382
15632
  // generated/symbols-index.ts
@@ -15417,6 +15667,8 @@ var symbols_index_default = {
15417
15667
  "diode_left": diode_left_default,
15418
15668
  "diode_right": diode_right_default,
15419
15669
  "diode_up": diode_up_default,
15670
+ "dpdt_switch_horz": dpdt_switch_horz_default,
15671
+ "dpdt_switch_vert": dpdt_switch_vert_default,
15420
15672
  "dpst_switch_horz": dpst_switch_horz_default,
15421
15673
  "dpst_switch_vert": dpst_switch_vert_default,
15422
15674
  "filled_diode_horz": filled_diode_horz_default,