schematic-symbols 0.0.175 → 0.0.176

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
@@ -293,14 +293,14 @@ var rotateRightFacingSymbol = (symbol11, opts) => {
293
293
  ...applyToPoint(transform2, port)
294
294
  })
295
295
  );
296
- const bounds100 = getBoundsOfPrimitives(rotatedPrimitives);
296
+ const bounds104 = getBoundsOfPrimitives(rotatedPrimitives);
297
297
  return {
298
298
  primitives: rotatedPrimitives,
299
299
  center,
300
300
  ports: rotatedPorts,
301
301
  size: {
302
- width: bounds100.maxX - bounds100.minX,
303
- height: bounds100.maxY - bounds100.minY
302
+ width: bounds104.maxX - bounds104.minX,
303
+ height: bounds104.maxY - bounds104.minY
304
304
  },
305
305
  ...overrides
306
306
  };
@@ -348,10 +348,10 @@ var SymbolModifier = class {
348
348
  return this;
349
349
  }
350
350
  computeSize() {
351
- const bounds100 = getBoundsOfPrimitives(this.symbol.primitives);
351
+ const bounds104 = getBoundsOfPrimitives(this.symbol.primitives);
352
352
  return {
353
- width: bounds100.maxX - bounds100.minX,
354
- height: bounds100.maxY - bounds100.minY
353
+ width: bounds104.maxX - bounds104.minX,
354
+ height: bounds104.maxY - bounds104.minY
355
355
  };
356
356
  }
357
357
  build() {
@@ -1251,10 +1251,10 @@ var backward_diode_up_default = rotated;
1251
1251
  function defineSymbol(symbol11) {
1252
1252
  let size = symbol11.size;
1253
1253
  if (!size) {
1254
- const bounds100 = getBoundsOfPrimitives(symbol11.primitives);
1254
+ const bounds104 = getBoundsOfPrimitives(symbol11.primitives);
1255
1255
  size = {
1256
- width: bounds100.maxX - bounds100.minX,
1257
- height: bounds100.maxY - bounds100.minY
1256
+ width: bounds104.maxX - bounds104.minX,
1257
+ height: bounds104.maxY - bounds104.minY
1258
1258
  };
1259
1259
  }
1260
1260
  return { ...symbol11, size };
@@ -4135,11 +4135,119 @@ var constant_current_diode_default = {
4135
4135
  }
4136
4136
  };
4137
4137
 
4138
+ // symbols/constant_current_diode_down.ts
4139
+ var { paths: paths32, texts: texts32, bounds: bounds32, refblocks: refblocks32, circles: circles32 } = constant_current_diode_default;
4140
+ var constant_current_diode_down_default = modifySymbol({
4141
+ primitives: [
4142
+ ...Object.values(paths32),
4143
+ ...Object.values(circles32),
4144
+ {
4145
+ type: "text",
4146
+ text: "{REF}",
4147
+ x: -0.15,
4148
+ y: 0.3894553499999995
4149
+ },
4150
+ {
4151
+ type: "text",
4152
+ text: "{VAL}",
4153
+ x: 0.15,
4154
+ y: 0.3894553499999995
4155
+ }
4156
+ ],
4157
+ ports: [
4158
+ { ...refblocks32.left1, labels: ["1"] },
4159
+ { ...refblocks32.right1, labels: ["2"] }
4160
+ ],
4161
+ size: { width: bounds32.width, height: bounds32.height },
4162
+ center: { x: bounds32.centerX, y: bounds32.centerY }
4163
+ }).rotateRightFacingSymbol("down").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_left").changeTextAnchor("{VAL}", "middle_left").build();
4164
+
4138
4165
  // symbols/constant_current_diode_horz.ts
4139
4166
  var constant_current_diode_horz_default = modifySymbol(constant_current_diode_default).changeTextAnchor("{VAL}", "middle_top").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_bottom").build();
4140
4167
 
4168
+ // symbols/constant_current_diode_left.ts
4169
+ var { paths: paths33, texts: texts33, bounds: bounds33, refblocks: refblocks33, circles: circles33 } = constant_current_diode_default;
4170
+ var constant_current_diode_left_default = modifySymbol({
4171
+ primitives: [
4172
+ ...Object.values(paths33),
4173
+ ...Object.values(circles33),
4174
+ {
4175
+ type: "text",
4176
+ text: "{REF}",
4177
+ x: -0,
4178
+ y: -0.2894553499999995
4179
+ },
4180
+ {
4181
+ type: "text",
4182
+ text: "{VAL}",
4183
+ x: 0,
4184
+ y: 0.3894553499999995
4185
+ }
4186
+ ],
4187
+ ports: [
4188
+ { ...refblocks33.left1, labels: ["1"] },
4189
+ { ...refblocks33.right1, labels: ["2"] }
4190
+ ],
4191
+ size: { width: bounds33.width, height: bounds33.height },
4192
+ center: { x: bounds33.centerX, y: bounds33.centerY }
4193
+ }).changeTextAnchor("{VAL}", "middle_bottom").rotateRightFacingSymbol("left").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_bottom").build();
4194
+
4195
+ // symbols/constant_current_diode_right.ts
4196
+ var constant_current_diode_right_default = modifySymbol(constant_current_diode_default).changeTextAnchor("{VAL}", "middle_top").labelPort("left1", ["1", "neg"]).labelPort("right1", ["2", "pos"]).changeTextAnchor("{REF}", "middle_bottom").build();
4197
+
4198
+ // symbols/constant_current_diode_up.ts
4199
+ var { paths: paths34, texts: texts34, bounds: bounds34, refblocks: refblocks34, circles: circles34 } = constant_current_diode_default;
4200
+ var constant_current_diode_up_default = modifySymbol({
4201
+ primitives: [
4202
+ ...Object.values(paths34),
4203
+ ...Object.values(circles34),
4204
+ {
4205
+ type: "text",
4206
+ text: "{REF}",
4207
+ x: 0.15,
4208
+ y: -0.2894553499999995
4209
+ },
4210
+ {
4211
+ type: "text",
4212
+ text: "{VAL}",
4213
+ x: -0.15,
4214
+ y: -0.2894553499999995
4215
+ }
4216
+ ],
4217
+ ports: [
4218
+ { ...refblocks34.left1, labels: ["1"] },
4219
+ { ...refblocks34.right1, labels: ["2"] }
4220
+ ],
4221
+ size: { width: bounds34.width, height: bounds34.height },
4222
+ center: { x: bounds34.centerX, y: bounds34.centerY }
4223
+ }).rotateRightFacingSymbol("up").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_left").changeTextAnchor("{VAL}", "middle_left").build();
4224
+
4141
4225
  // symbols/constant_current_diode_vert.ts
4142
- var constant_current_diode_vert_default = modifySymbol(constant_current_diode_default).rotateRightFacingSymbol("down").changeTextAnchor("{VAL}", "middle_right").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_left").build();
4226
+ var { paths: paths35, texts: texts35, bounds: bounds35, refblocks: refblocks35, circles: circles35 } = constant_current_diode_default;
4227
+ var constant_current_diode_vert_default = modifySymbol({
4228
+ primitives: [
4229
+ ...Object.values(paths35),
4230
+ ...Object.values(circles35),
4231
+ {
4232
+ type: "text",
4233
+ text: "{REF}",
4234
+ x: 0.15,
4235
+ y: -0.2894553499999995
4236
+ },
4237
+ {
4238
+ type: "text",
4239
+ text: "{VAL}",
4240
+ x: -0.15,
4241
+ y: -0.2894553499999995
4242
+ }
4243
+ ],
4244
+ ports: [
4245
+ { ...refblocks35.left1, labels: ["1"] },
4246
+ { ...refblocks35.right1, labels: ["2"] }
4247
+ ],
4248
+ size: { width: bounds35.width, height: bounds35.height },
4249
+ center: { x: bounds35.centerX, y: bounds35.centerY }
4250
+ }).rotateRightFacingSymbol("up").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_left").changeTextAnchor("{VAL}", "middle_left").build();
4143
4251
 
4144
4252
  // assets/generated/crystal_4pin.json
4145
4253
  var crystal_4pin_default = {
@@ -4439,11 +4547,11 @@ var crystal_4pin_default = {
4439
4547
  };
4440
4548
 
4441
4549
  // symbols/crystal_4pin_down.ts
4442
- var { paths: paths32, texts: texts32, bounds: bounds32, refblocks: refblocks32, circles: circles32 } = crystal_4pin_default;
4550
+ var { paths: paths36, texts: texts36, bounds: bounds36, refblocks: refblocks36, circles: circles36 } = crystal_4pin_default;
4443
4551
  var crystal_4pin_down_default = modifySymbol({
4444
4552
  primitives: [
4445
- ...Object.values(paths32),
4446
- ...Object.values(circles32),
4553
+ ...Object.values(paths36),
4554
+ ...Object.values(circles36),
4447
4555
  {
4448
4556
  type: "text",
4449
4557
  text: "{REF}",
@@ -4458,17 +4566,17 @@ var crystal_4pin_down_default = modifySymbol({
4458
4566
  }
4459
4567
  ],
4460
4568
  ports: [
4461
- { ...refblocks32.left1, labels: ["1"] },
4569
+ { ...refblocks36.left1, labels: ["1"] },
4462
4570
  // TODO add more "standard" labels
4463
- { ...refblocks32.right1, labels: ["3"] },
4571
+ { ...refblocks36.right1, labels: ["3"] },
4464
4572
  // TODO add more "standard" labels
4465
- { ...refblocks32.bottom1, labels: ["4"] },
4573
+ { ...refblocks36.bottom1, labels: ["4"] },
4466
4574
  // TODO add more "standard" labels
4467
- { ...refblocks32.top1, labels: ["2"] }
4575
+ { ...refblocks36.top1, labels: ["2"] }
4468
4576
  // TODO add more "standard" labels
4469
4577
  ],
4470
- size: { width: bounds32.width, height: bounds32.height },
4471
- center: { x: bounds32.centerX, y: bounds32.centerY }
4578
+ size: { width: bounds36.width, height: bounds36.height },
4579
+ center: { x: bounds36.centerX, y: bounds36.centerY }
4472
4580
  }).rotateRightFacingSymbol("down").changeTextAnchor("{REF}", "bottom_left").changeTextAnchor("{VAL}", "top_left").build();
4473
4581
 
4474
4582
  // symbols/crystal_4pin_left.ts
@@ -4478,11 +4586,11 @@ var crystal_4pin_left_default = modifySymbol(crystal_4pin_default).labelPort("to
4478
4586
  var crystal_4pin_right_default = modifySymbol(crystal_4pin_default).labelPort("top1", ["2", "gnd1"]).labelPort("bottom1", ["4", "gnd2"]).labelPort("left1", ["1"]).labelPort("right1", ["3"]).changeTextAnchor("{REF}", "bottom_left").changeTextAnchor("{VAL}", "top_left").build();
4479
4587
 
4480
4588
  // symbols/crystal_4pin_up.ts
4481
- var { paths: paths33, texts: texts33, bounds: bounds33, refblocks: refblocks33, circles: circles33 } = crystal_4pin_default;
4589
+ var { paths: paths37, texts: texts37, bounds: bounds37, refblocks: refblocks37, circles: circles37 } = crystal_4pin_default;
4482
4590
  var crystal_4pin_up_default = modifySymbol({
4483
4591
  primitives: [
4484
- ...Object.values(paths33),
4485
- ...Object.values(circles33),
4592
+ ...Object.values(paths37),
4593
+ ...Object.values(circles37),
4486
4594
  {
4487
4595
  type: "text",
4488
4596
  text: "{VAL}",
@@ -4497,17 +4605,17 @@ var crystal_4pin_up_default = modifySymbol({
4497
4605
  }
4498
4606
  ],
4499
4607
  ports: [
4500
- { ...refblocks33.left1, labels: ["1"] },
4608
+ { ...refblocks37.left1, labels: ["1"] },
4501
4609
  // TODO add more "standard" labels
4502
- { ...refblocks33.right1, labels: ["3"] },
4610
+ { ...refblocks37.right1, labels: ["3"] },
4503
4611
  // TODO add more "standard" labels
4504
- { ...refblocks33.bottom1, labels: ["4"] },
4612
+ { ...refblocks37.bottom1, labels: ["4"] },
4505
4613
  // TODO add more "standard" labels
4506
- { ...refblocks33.top1, labels: ["2"] }
4614
+ { ...refblocks37.top1, labels: ["2"] }
4507
4615
  // TODO add more "standard" labels
4508
4616
  ],
4509
- size: { width: bounds33.width, height: bounds33.height },
4510
- center: { x: bounds33.centerX, y: bounds33.centerY }
4617
+ size: { width: bounds37.width, height: bounds37.height },
4618
+ center: { x: bounds37.centerX, y: bounds37.centerY }
4511
4619
  }).rotateRightFacingSymbol("up").changeTextAnchor("{REF}", "bottom_left").changeTextAnchor("{VAL}", "top_left").build();
4512
4620
 
4513
4621
  // assets/generated/crystal.json
@@ -4672,11 +4780,11 @@ var crystal_default = {
4672
4780
  };
4673
4781
 
4674
4782
  // symbols/crystal_down.ts
4675
- var { paths: paths34, texts: texts34, bounds: bounds34, refblocks: refblocks34, circles: circles34 } = crystal_default;
4783
+ var { paths: paths38, texts: texts38, bounds: bounds38, refblocks: refblocks38, circles: circles38 } = crystal_default;
4676
4784
  var crystal_down_default = modifySymbol({
4677
4785
  primitives: [
4678
- ...Object.values(paths34),
4679
- ...Object.values(circles34),
4786
+ ...Object.values(paths38),
4787
+ ...Object.values(circles38),
4680
4788
  {
4681
4789
  type: "text",
4682
4790
  text: "{REF}",
@@ -4691,13 +4799,13 @@ var crystal_down_default = modifySymbol({
4691
4799
  }
4692
4800
  ],
4693
4801
  ports: [
4694
- { ...refblocks34.left1, labels: ["1"] },
4802
+ { ...refblocks38.left1, labels: ["1"] },
4695
4803
  // TODO add more "standard" labels
4696
- { ...refblocks34.right1, labels: ["2"] }
4804
+ { ...refblocks38.right1, labels: ["2"] }
4697
4805
  // TODO add more "standard" labels
4698
4806
  ],
4699
- size: { width: bounds34.width, height: bounds34.height },
4700
- center: { x: bounds34.centerX, y: bounds34.centerY }
4807
+ size: { width: bounds38.width, height: bounds38.height },
4808
+ center: { x: bounds38.centerX, y: bounds38.centerY }
4701
4809
  }).changeTextAnchor("{VAL}", "top_left").rotateRightFacingSymbol("down").labelPort("left1", ["1", "pos"]).labelPort("right1", ["2", "neg"]).changeTextAnchor("{REF}", "bottom_left").build();
4702
4810
 
4703
4811
  // symbols/crystal_left.ts
@@ -4707,11 +4815,11 @@ var crystal_left_default = modifySymbol(crystal_default).changeTextAnchor("{VAL}
4707
4815
  var crystal_right_default = modifySymbol(crystal_default).changeTextAnchor("{VAL}", "middle_top").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_bottom").build();
4708
4816
 
4709
4817
  // symbols/crystal_up.ts
4710
- var { paths: paths35, texts: texts35, bounds: bounds35, refblocks: refblocks35, circles: circles35 } = crystal_default;
4818
+ var { paths: paths39, texts: texts39, bounds: bounds39, refblocks: refblocks39, circles: circles39 } = crystal_default;
4711
4819
  var crystal_up_default = modifySymbol({
4712
4820
  primitives: [
4713
- ...Object.values(paths35),
4714
- ...Object.values(circles35),
4821
+ ...Object.values(paths39),
4822
+ ...Object.values(circles39),
4715
4823
  {
4716
4824
  type: "text",
4717
4825
  text: "{REF}",
@@ -4726,13 +4834,13 @@ var crystal_up_default = modifySymbol({
4726
4834
  }
4727
4835
  ],
4728
4836
  ports: [
4729
- { ...refblocks35.left1, labels: ["1"] },
4837
+ { ...refblocks39.left1, labels: ["1"] },
4730
4838
  // TODO add more "standard" labels
4731
- { ...refblocks35.right1, labels: ["2"] }
4839
+ { ...refblocks39.right1, labels: ["2"] }
4732
4840
  // TODO add more "standard" labels
4733
4841
  ],
4734
- size: { width: bounds35.width, height: bounds35.height },
4735
- center: { x: bounds35.centerX, y: bounds35.centerY }
4842
+ size: { width: bounds39.width, height: bounds39.height },
4843
+ center: { x: bounds39.centerX, y: bounds39.centerY }
4736
4844
  }).changeTextAnchor("{VAL}", "middle_top").rotateRightFacingSymbol("up").labelPort("left1", ["1", "pos"]).labelPort("right1", ["2", "neg"]).changeTextAnchor("{REF}", "bottom_left").build();
4737
4845
 
4738
4846
  // assets/generated/darlington_pair_transistor.json
@@ -5109,11 +5217,11 @@ var dc_ammeter_default = {
5109
5217
  };
5110
5218
 
5111
5219
  // symbols/dc_ammeter_horz.ts
5112
- var { paths: paths36, texts: texts36, bounds: bounds36, refblocks: refblocks36, circles: circles36 } = dc_ammeter_default;
5220
+ var { paths: paths40, texts: texts40, bounds: bounds40, refblocks: refblocks40, circles: circles40 } = dc_ammeter_default;
5113
5221
  var dc_ammeter_horz_default = defineSymbol({
5114
5222
  primitives: [
5115
- ...Object.values(paths36),
5116
- ...Object.values(circles36),
5223
+ ...Object.values(paths40),
5224
+ ...Object.values(circles40),
5117
5225
  {
5118
5226
  type: "text",
5119
5227
  text: "{REF}",
@@ -5128,16 +5236,16 @@ var dc_ammeter_horz_default = defineSymbol({
5128
5236
  y: 0.35,
5129
5237
  anchor: "middle_bottom"
5130
5238
  },
5131
- { ...texts36.left1, x: 0, y: 0.01, anchor: "center", fontSize: 0.3 }
5239
+ { ...texts40.left1, x: 0, y: 0.01, anchor: "center", fontSize: 0.3 }
5132
5240
  ],
5133
5241
  ports: [
5134
- { ...refblocks36.left1, labels: ["1"] },
5242
+ { ...refblocks40.left1, labels: ["1"] },
5135
5243
  // TODO add more "standard" labels
5136
- { ...refblocks36.right1, labels: ["2"] }
5244
+ { ...refblocks40.right1, labels: ["2"] }
5137
5245
  // TODO add more "standard" labels
5138
5246
  ],
5139
- size: { width: bounds36.width, height: bounds36.height },
5140
- center: { x: bounds36.centerX, y: bounds36.centerY }
5247
+ size: { width: bounds40.width, height: bounds40.height },
5248
+ center: { x: bounds40.centerX, y: bounds40.centerY }
5141
5249
  });
5142
5250
 
5143
5251
  // symbols/dc_ammeter_vert.ts
@@ -5283,11 +5391,11 @@ var dc_voltmeter_default = {
5283
5391
  };
5284
5392
 
5285
5393
  // symbols/dc_voltmeter_down.ts
5286
- var { paths: paths37, texts: texts37, bounds: bounds37, refblocks: refblocks37, circles: circles37 } = dc_voltmeter_default;
5394
+ var { paths: paths41, texts: texts41, bounds: bounds41, refblocks: refblocks41, circles: circles41 } = dc_voltmeter_default;
5287
5395
  var dc_voltmeter_down_default = modifySymbol({
5288
5396
  primitives: [
5289
- ...Object.values(paths37),
5290
- ...Object.values(circles37),
5397
+ ...Object.values(paths41),
5398
+ ...Object.values(circles41),
5291
5399
  {
5292
5400
  type: "text",
5293
5401
  text: "{REF}",
@@ -5302,19 +5410,19 @@ var dc_voltmeter_down_default = modifySymbol({
5302
5410
  }
5303
5411
  ],
5304
5412
  ports: [
5305
- { ...refblocks37.left1, labels: ["1"] },
5306
- { ...refblocks37.right1, labels: ["2"] }
5413
+ { ...refblocks41.left1, labels: ["1"] },
5414
+ { ...refblocks41.right1, labels: ["2"] }
5307
5415
  ],
5308
- size: { width: bounds37.width, height: bounds37.height },
5309
- center: { x: bounds37.centerX, y: bounds37.centerY }
5416
+ size: { width: bounds41.width, height: bounds41.height },
5417
+ center: { x: bounds41.centerX, y: bounds41.centerY }
5310
5418
  }).rotateRightFacingSymbol("down").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_left").changeTextAnchor("{VAL}", "middle_left").build();
5311
5419
 
5312
5420
  // symbols/dc_voltmeter_horz.ts
5313
- var { paths: paths38, texts: texts38, bounds: bounds38, refblocks: refblocks38, circles: circles38 } = dc_voltmeter_default;
5421
+ var { paths: paths42, texts: texts42, bounds: bounds42, refblocks: refblocks42, circles: circles42 } = dc_voltmeter_default;
5314
5422
  var dc_voltmeter_horz_default = modifySymbol({
5315
5423
  primitives: [
5316
- ...Object.values(paths38),
5317
- ...Object.values(circles38),
5424
+ ...Object.values(paths42),
5425
+ ...Object.values(circles42),
5318
5426
  {
5319
5427
  type: "text",
5320
5428
  text: "{REF}",
@@ -5329,19 +5437,19 @@ var dc_voltmeter_horz_default = modifySymbol({
5329
5437
  }
5330
5438
  ],
5331
5439
  ports: [
5332
- { ...refblocks38.left1, labels: ["1"] },
5333
- { ...refblocks38.right1, labels: ["2"] }
5440
+ { ...refblocks42.left1, labels: ["1"] },
5441
+ { ...refblocks42.right1, labels: ["2"] }
5334
5442
  ],
5335
- size: { width: bounds38.width, height: bounds38.height },
5336
- center: { x: bounds38.centerX, y: bounds38.centerY }
5443
+ size: { width: bounds42.width, height: bounds42.height },
5444
+ center: { x: bounds42.centerX, y: bounds42.centerY }
5337
5445
  }).changeTextAnchor("{VAL}", "middle_top").rotateRightFacingSymbol("right").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_bottom").build();
5338
5446
 
5339
5447
  // symbols/dc_voltmeter_left.ts
5340
- var { paths: paths39, texts: texts39, bounds: bounds39, refblocks: refblocks39, circles: circles39 } = dc_voltmeter_default;
5448
+ var { paths: paths43, texts: texts43, bounds: bounds43, refblocks: refblocks43, circles: circles43 } = dc_voltmeter_default;
5341
5449
  var dc_voltmeter_left_default = modifySymbol({
5342
5450
  primitives: [
5343
- ...Object.values(paths39),
5344
- ...Object.values(circles39),
5451
+ ...Object.values(paths43),
5452
+ ...Object.values(circles43),
5345
5453
  {
5346
5454
  type: "text",
5347
5455
  text: "{REF}",
@@ -5356,19 +5464,19 @@ var dc_voltmeter_left_default = modifySymbol({
5356
5464
  }
5357
5465
  ],
5358
5466
  ports: [
5359
- { ...refblocks39.left1, labels: ["1"] },
5360
- { ...refblocks39.right1, labels: ["2"] }
5467
+ { ...refblocks43.left1, labels: ["1"] },
5468
+ { ...refblocks43.right1, labels: ["2"] }
5361
5469
  ],
5362
- size: { width: bounds39.width, height: bounds39.height },
5363
- center: { x: bounds39.centerX, y: bounds39.centerY }
5470
+ size: { width: bounds43.width, height: bounds43.height },
5471
+ center: { x: bounds43.centerX, y: bounds43.centerY }
5364
5472
  }).changeTextAnchor("{VAL}", "middle_bottom").rotateRightFacingSymbol("left").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_bottom").build();
5365
5473
 
5366
5474
  // symbols/dc_voltmeter_right.ts
5367
- var { paths: paths40, texts: texts40, bounds: bounds40, refblocks: refblocks40, circles: circles40 } = dc_voltmeter_default;
5475
+ var { paths: paths44, texts: texts44, bounds: bounds44, refblocks: refblocks44, circles: circles44 } = dc_voltmeter_default;
5368
5476
  var dc_voltmeter_right_default = modifySymbol({
5369
5477
  primitives: [
5370
- ...Object.values(paths40),
5371
- ...Object.values(circles40),
5478
+ ...Object.values(paths44),
5479
+ ...Object.values(circles44),
5372
5480
  {
5373
5481
  type: "text",
5374
5482
  text: "{REF}",
@@ -5383,19 +5491,19 @@ var dc_voltmeter_right_default = modifySymbol({
5383
5491
  }
5384
5492
  ],
5385
5493
  ports: [
5386
- { ...refblocks40.left1, labels: ["1"] },
5387
- { ...refblocks40.right1, labels: ["2"] }
5494
+ { ...refblocks44.left1, labels: ["1"] },
5495
+ { ...refblocks44.right1, labels: ["2"] }
5388
5496
  ],
5389
- size: { width: bounds40.width, height: bounds40.height },
5390
- center: { x: bounds40.centerX, y: bounds40.centerY }
5497
+ size: { width: bounds44.width, height: bounds44.height },
5498
+ center: { x: bounds44.centerX, y: bounds44.centerY }
5391
5499
  }).changeTextAnchor("{VAL}", "middle_top").rotateRightFacingSymbol("right").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_bottom").build();
5392
5500
 
5393
5501
  // symbols/dc_voltmeter_up.ts
5394
- var { paths: paths41, texts: texts41, bounds: bounds41, refblocks: refblocks41, circles: circles41 } = dc_voltmeter_default;
5502
+ var { paths: paths45, texts: texts45, bounds: bounds45, refblocks: refblocks45, circles: circles45 } = dc_voltmeter_default;
5395
5503
  var dc_voltmeter_up_default = modifySymbol({
5396
5504
  primitives: [
5397
- ...Object.values(paths41),
5398
- ...Object.values(circles41),
5505
+ ...Object.values(paths45),
5506
+ ...Object.values(circles45),
5399
5507
  {
5400
5508
  type: "text",
5401
5509
  text: "{REF}",
@@ -5410,19 +5518,19 @@ var dc_voltmeter_up_default = modifySymbol({
5410
5518
  }
5411
5519
  ],
5412
5520
  ports: [
5413
- { ...refblocks41.left1, labels: ["1"] },
5414
- { ...refblocks41.right1, labels: ["2"] }
5521
+ { ...refblocks45.left1, labels: ["1"] },
5522
+ { ...refblocks45.right1, labels: ["2"] }
5415
5523
  ],
5416
- size: { width: bounds41.width, height: bounds41.height },
5417
- center: { x: bounds41.centerX, y: bounds41.centerY }
5524
+ size: { width: bounds45.width, height: bounds45.height },
5525
+ center: { x: bounds45.centerX, y: bounds45.centerY }
5418
5526
  }).rotateRightFacingSymbol("up").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_left").changeTextAnchor("{VAL}", "middle_left").build();
5419
5527
 
5420
5528
  // symbols/dc_voltmeter_vert.ts
5421
- var { paths: paths42, texts: texts42, bounds: bounds42, refblocks: refblocks42, circles: circles42 } = dc_voltmeter_default;
5529
+ var { paths: paths46, texts: texts46, bounds: bounds46, refblocks: refblocks46, circles: circles46 } = dc_voltmeter_default;
5422
5530
  var dc_voltmeter_vert_default = modifySymbol({
5423
5531
  primitives: [
5424
- ...Object.values(paths42),
5425
- ...Object.values(circles42),
5532
+ ...Object.values(paths46),
5533
+ ...Object.values(circles46),
5426
5534
  {
5427
5535
  type: "text",
5428
5536
  text: "{REF}",
@@ -5437,11 +5545,11 @@ var dc_voltmeter_vert_default = modifySymbol({
5437
5545
  }
5438
5546
  ],
5439
5547
  ports: [
5440
- { ...refblocks42.left1, labels: ["1"] },
5441
- { ...refblocks42.right1, labels: ["2"] }
5548
+ { ...refblocks46.left1, labels: ["1"] },
5549
+ { ...refblocks46.right1, labels: ["2"] }
5442
5550
  ],
5443
- size: { width: bounds42.width, height: bounds42.height },
5444
- center: { x: bounds42.centerX, y: bounds42.centerY }
5551
+ size: { width: bounds46.width, height: bounds46.height },
5552
+ center: { x: bounds46.centerX, y: bounds46.centerY }
5445
5553
  }).rotateRightFacingSymbol("up").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_left").changeTextAnchor("{VAL}", "middle_left").build();
5446
5554
 
5447
5555
  // assets/generated/diac.json
@@ -5605,11 +5713,11 @@ var diac_horz_default = modifySymbol(diac_default).changeTextAnchor("{VAL}", "mi
5605
5713
 
5606
5714
  // symbols/diac_vert.ts
5607
5715
  var rotatedSymbol2 = rotateSymbol(diac_horz_default);
5608
- var texts43 = rotatedSymbol2.primitives.filter(
5716
+ var texts47 = rotatedSymbol2.primitives.filter(
5609
5717
  (primitive) => primitive.type === "text"
5610
5718
  );
5611
- var ref2 = texts43.find((text) => text.text === "{REF}");
5612
- var val2 = texts43.find((text) => text.text === "{VAL}");
5719
+ var ref2 = texts47.find((text) => text.text === "{REF}");
5720
+ var val2 = texts47.find((text) => text.text === "{VAL}");
5613
5721
  ref2.y = 0;
5614
5722
  val2.y = 0;
5615
5723
  var diac_vert_default = rotatedSymbol2;
@@ -6886,11 +6994,11 @@ var ferrite_bead_default = {
6886
6994
  };
6887
6995
 
6888
6996
  // symbols/ferrite_bead_up.ts
6889
- var { paths: paths43, texts: texts44, bounds: bounds43, refblocks: refblocks43, circles: circles43 } = ferrite_bead_default;
6997
+ var { paths: paths47, texts: texts48, bounds: bounds47, refblocks: refblocks47, circles: circles47 } = ferrite_bead_default;
6890
6998
  var ferrite_bead_up_default = modifySymbol({
6891
6999
  primitives: [
6892
- ...Object.values(paths43),
6893
- ...Object.values(circles43),
7000
+ ...Object.values(paths47),
7001
+ ...Object.values(circles47),
6894
7002
  {
6895
7003
  type: "text",
6896
7004
  text: "{REF}",
@@ -6905,13 +7013,13 @@ var ferrite_bead_up_default = modifySymbol({
6905
7013
  }
6906
7014
  ],
6907
7015
  ports: [
6908
- { ...refblocks43.left1, labels: ["1"] },
7016
+ { ...refblocks47.left1, labels: ["1"] },
6909
7017
  // TODO add more "standard" labels
6910
- { ...refblocks43.right1, labels: ["2"] }
7018
+ { ...refblocks47.right1, labels: ["2"] }
6911
7019
  // TODO add more "standard" labels
6912
7020
  ],
6913
- size: { width: bounds43.width, height: bounds43.height },
6914
- center: { x: bounds43.centerX, y: bounds43.centerY }
7021
+ size: { width: bounds47.width, height: bounds47.height },
7022
+ center: { x: bounds47.centerX, y: bounds47.centerY }
6915
7023
  }).rotateRightFacingSymbol("up").labelPort("left", ["1"]).labelPort("right", ["2"]).changeTextAnchor("{REF}", "middle_left").changeTextAnchor("{VAL}", "middle_left").build();
6916
7024
 
6917
7025
  // symbols/ferrite_bead_down.ts
@@ -7144,11 +7252,11 @@ var frequency_meter_default = {
7144
7252
  };
7145
7253
 
7146
7254
  // symbols/frequency_meter_horz.ts
7147
- var { paths: paths44, texts: texts45, bounds: bounds44, refblocks: refblocks44, circles: circles44 } = frequency_meter_default;
7255
+ var { paths: paths48, texts: texts49, bounds: bounds48, refblocks: refblocks48, circles: circles48 } = frequency_meter_default;
7148
7256
  var frequency_meter_horz_default = defineSymbol({
7149
7257
  primitives: [
7150
- ...Object.values(paths44),
7151
- ...Object.values(circles44),
7258
+ ...Object.values(paths48),
7259
+ ...Object.values(circles48),
7152
7260
  {
7153
7261
  type: "text",
7154
7262
  text: "{REF}",
@@ -7163,16 +7271,16 @@ var frequency_meter_horz_default = defineSymbol({
7163
7271
  y: 0.35,
7164
7272
  anchor: "middle_bottom"
7165
7273
  },
7166
- { ...texts45.left1, x: 0, y: 0.01, anchor: "center", fontSize: 0.2 }
7274
+ { ...texts49.left1, x: 0, y: 0.01, anchor: "center", fontSize: 0.2 }
7167
7275
  ],
7168
7276
  ports: [
7169
- { ...refblocks44.left1, labels: ["1"] },
7277
+ { ...refblocks48.left1, labels: ["1"] },
7170
7278
  // TODO add more "standard" labels
7171
- { ...refblocks44.right1, labels: ["2"] }
7279
+ { ...refblocks48.right1, labels: ["2"] }
7172
7280
  // TODO add more "standard" labels
7173
7281
  ],
7174
- size: { width: bounds44.width, height: bounds44.height },
7175
- center: { x: bounds44.centerX, y: bounds44.centerY }
7282
+ size: { width: bounds48.width, height: bounds48.height },
7283
+ center: { x: bounds48.centerX, y: bounds48.centerY }
7176
7284
  });
7177
7285
 
7178
7286
  // symbols/frequency_meter_vert.ts
@@ -7277,11 +7385,11 @@ var fuse_default = {
7277
7385
  };
7278
7386
 
7279
7387
  // symbols/fuse_horz.ts
7280
- var { paths: paths45, texts: texts46, bounds: bounds45, refblocks: refblocks45 } = fuse_default;
7388
+ var { paths: paths49, texts: texts50, bounds: bounds49, refblocks: refblocks49 } = fuse_default;
7281
7389
  var fuse_horz_default = defineSymbol({
7282
7390
  primitives: [
7283
- ...Object.values(paths45),
7284
- { ...texts46.top1, anchor: "middle_bottom" },
7391
+ ...Object.values(paths49),
7392
+ { ...texts50.top1, anchor: "middle_bottom" },
7285
7393
  {
7286
7394
  type: "text",
7287
7395
  text: "{VAL}",
@@ -7291,13 +7399,13 @@ var fuse_horz_default = defineSymbol({
7291
7399
  }
7292
7400
  ],
7293
7401
  ports: [
7294
- { ...refblocks45.left1, labels: ["1"] },
7402
+ { ...refblocks49.left1, labels: ["1"] },
7295
7403
  // TODO add more "standard" labels
7296
- { ...refblocks45.right1, labels: ["2"] }
7404
+ { ...refblocks49.right1, labels: ["2"] }
7297
7405
  // TODO add more "standard" labels
7298
7406
  ],
7299
- size: { width: bounds45.width, height: bounds45.height },
7300
- center: { x: bounds45.centerX, y: bounds45.centerY }
7407
+ size: { width: bounds49.width, height: bounds49.height },
7408
+ center: { x: bounds49.centerX, y: bounds49.centerY }
7301
7409
  });
7302
7410
 
7303
7411
  // symbols/fuse_vert.ts
@@ -7474,10 +7582,10 @@ var ground2_default = {
7474
7582
  };
7475
7583
 
7476
7584
  // symbols/ground2_down.ts
7477
- var { paths: paths46, texts: texts47, bounds: bounds46, refblocks: refblocks46 } = ground2_default;
7585
+ var { paths: paths50, texts: texts51, bounds: bounds50, refblocks: refblocks50 } = ground2_default;
7478
7586
  var ground2_down_default = modifySymbol({
7479
7587
  primitives: [
7480
- ...Object.values(paths46),
7588
+ ...Object.values(paths50),
7481
7589
  {
7482
7590
  type: "text",
7483
7591
  text: "{REF}",
@@ -7486,18 +7594,18 @@ var ground2_down_default = modifySymbol({
7486
7594
  }
7487
7595
  ],
7488
7596
  ports: [
7489
- { ...refblocks46.left1, labels: ["1"] }
7597
+ { ...refblocks50.left1, labels: ["1"] }
7490
7598
  // TODO add more "standard" labels
7491
7599
  ],
7492
- center: { x: bounds46.centerX, y: bounds46.centerY }
7600
+ center: { x: bounds50.centerX, y: bounds50.centerY }
7493
7601
  }).rotateRightFacingSymbol("down").labelPort("left1", ["1"]).changeTextAnchor("{REF}", "middle_bottom").build();
7494
7602
 
7495
7603
  // symbols/ground2_left.ts
7496
- var { paths: paths47, texts: texts48, bounds: bounds47, refblocks: refblocks47, circles: circles45 } = ground2_default;
7604
+ var { paths: paths51, texts: texts52, bounds: bounds51, refblocks: refblocks51, circles: circles49 } = ground2_default;
7497
7605
  var ground2_left_default = modifySymbol({
7498
7606
  primitives: [
7499
- ...Object.values(paths47),
7500
- ...Object.values(circles45),
7607
+ ...Object.values(paths51),
7608
+ ...Object.values(circles49),
7501
7609
  {
7502
7610
  type: "text",
7503
7611
  text: "{REF}",
@@ -7506,18 +7614,18 @@ var ground2_left_default = modifySymbol({
7506
7614
  }
7507
7615
  ],
7508
7616
  ports: [
7509
- { ...refblocks47.left1, labels: ["1"] }
7617
+ { ...refblocks51.left1, labels: ["1"] }
7510
7618
  // TODO add more "standard" labels
7511
7619
  ],
7512
- center: { x: bounds47.centerX, y: bounds47.centerY }
7620
+ center: { x: bounds51.centerX, y: bounds51.centerY }
7513
7621
  }).rotateRightFacingSymbol("left").labelPort("left1", ["1"]).changeTextAnchor("{REF}", "middle_left").build();
7514
7622
 
7515
7623
  // symbols/ground2_right.ts
7516
- var { paths: paths48, texts: texts49, bounds: bounds48, refblocks: refblocks48, circles: circles46 } = ground2_default;
7624
+ var { paths: paths52, texts: texts53, bounds: bounds52, refblocks: refblocks52, circles: circles50 } = ground2_default;
7517
7625
  var ground2_right_default = modifySymbol({
7518
7626
  primitives: [
7519
- ...Object.values(paths48),
7520
- ...Object.values(circles46),
7627
+ ...Object.values(paths52),
7628
+ ...Object.values(circles50),
7521
7629
  {
7522
7630
  type: "text",
7523
7631
  text: "{REF}",
@@ -7526,18 +7634,18 @@ var ground2_right_default = modifySymbol({
7526
7634
  }
7527
7635
  ],
7528
7636
  ports: [
7529
- { ...refblocks48.left1, labels: ["1"] }
7637
+ { ...refblocks52.left1, labels: ["1"] }
7530
7638
  // TODO add more "standard" labels
7531
7639
  ],
7532
- center: { x: bounds48.centerX, y: bounds48.centerY }
7640
+ center: { x: bounds52.centerX, y: bounds52.centerY }
7533
7641
  }).changeTextAnchor("{VAL}", "middle_top").rotateRightFacingSymbol("right").labelPort("left1", ["1"]).changeTextAnchor("{REF}", "middle_right").build();
7534
7642
 
7535
7643
  // symbols/ground2_up.ts
7536
- var { paths: paths49, texts: texts50, bounds: bounds49, refblocks: refblocks49, circles: circles47 } = ground2_default;
7644
+ var { paths: paths53, texts: texts54, bounds: bounds53, refblocks: refblocks53, circles: circles51 } = ground2_default;
7537
7645
  var ground2_up_default = modifySymbol({
7538
7646
  primitives: [
7539
- ...Object.values(paths49),
7540
- ...Object.values(circles47),
7647
+ ...Object.values(paths53),
7648
+ ...Object.values(circles51),
7541
7649
  {
7542
7650
  type: "text",
7543
7651
  text: "{REF}",
@@ -7546,10 +7654,10 @@ var ground2_up_default = modifySymbol({
7546
7654
  }
7547
7655
  ],
7548
7656
  ports: [
7549
- { ...refblocks49.left1, labels: ["1"] }
7657
+ { ...refblocks53.left1, labels: ["1"] }
7550
7658
  // TODO add more "standard" labels
7551
7659
  ],
7552
- center: { x: bounds49.centerX, y: bounds49.centerY }
7660
+ center: { x: bounds53.centerX, y: bounds53.centerY }
7553
7661
  }).rotateRightFacingSymbol("up").labelPort("left1", ["1"]).changeTextAnchor("{REF}", "middle_top").build();
7554
7662
 
7555
7663
  // assets/generated/gunn_diode.json
@@ -7670,7 +7778,7 @@ var gunn_diode_default = {
7670
7778
  };
7671
7779
 
7672
7780
  // symbols/gunn_diode_horz.ts
7673
- var { paths: paths50, texts: texts51, bounds: bounds50, refblocks: refblocks50, circles: circles48 } = gunn_diode_default;
7781
+ var { paths: paths54, texts: texts55, bounds: bounds54, refblocks: refblocks54, circles: circles52 } = gunn_diode_default;
7674
7782
  var gunn_diode_horz_default = modifySymbol(gunn_diode_default).changeTextAnchor("{VAL}", "middle_top").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_bottom").build();
7675
7783
 
7676
7784
  // symbols/gunn_diode_vert.ts
@@ -8435,12 +8543,12 @@ var illuminated_push_button_normally_open_horz_default = modifySymbol(illuminate
8435
8543
 
8436
8544
  // symbols/illuminated_push_button_normally_open_vert.ts
8437
8545
  var rotatedSymbol4 = rotateSymbol(illuminated_push_button_normally_open_horz_default);
8438
- var texts52 = rotatedSymbol4.primitives.filter((p) => p.type === "text");
8439
- var val18 = texts52.find((t) => t.text === "{VAL}");
8546
+ var texts56 = rotatedSymbol4.primitives.filter((p) => p.type === "text");
8547
+ var val18 = texts56.find((t) => t.text === "{VAL}");
8440
8548
  val18.x = -0.35;
8441
8549
  val18.y = 0;
8442
8550
  val18.anchor = "middle_right";
8443
- var ref18 = texts52.find((t) => t.text === "{REF}");
8551
+ var ref18 = texts56.find((t) => t.text === "{REF}");
8444
8552
  ref18.y = 0;
8445
8553
  ref18.x = 0.35;
8446
8554
  ref18.anchor = "middle_left";
@@ -9842,22 +9950,22 @@ var inductor_default = {
9842
9950
  };
9843
9951
 
9844
9952
  // symbols/inductor_right.ts
9845
- var { paths: paths51, texts: texts53, bounds: bounds51, refblocks: refblocks51, circles: circles49 } = inductor_default;
9953
+ var { paths: paths55, texts: texts57, bounds: bounds55, refblocks: refblocks55, circles: circles53 } = inductor_default;
9846
9954
  var inductor_right_default = defineSymbol({
9847
9955
  primitives: [
9848
- ...Object.values(paths51),
9849
- ...Object.values(circles49),
9850
- { ...texts53.top1, anchor: "middle_bottom" },
9851
- { ...texts53.bottom1, anchor: "middle_top" }
9956
+ ...Object.values(paths55),
9957
+ ...Object.values(circles53),
9958
+ { ...texts57.top1, anchor: "middle_bottom" },
9959
+ { ...texts57.bottom1, anchor: "middle_top" }
9852
9960
  ],
9853
9961
  ports: [
9854
- { ...refblocks51.left1, labels: ["1"] },
9962
+ { ...refblocks55.left1, labels: ["1"] },
9855
9963
  // TODO add more "standard" labels
9856
- { ...refblocks51.right1, labels: ["2"] }
9964
+ { ...refblocks55.right1, labels: ["2"] }
9857
9965
  // TODO add more "standard" labels
9858
9966
  ],
9859
- size: { width: bounds51.width, height: bounds51.height },
9860
- center: { x: bounds51.centerX, y: bounds51.centerY }
9967
+ size: { width: bounds55.width, height: bounds55.height },
9968
+ center: { x: bounds55.centerX, y: bounds55.centerY }
9861
9969
  });
9862
9970
 
9863
9971
  // symbols/inductor_up.ts
@@ -10376,22 +10484,22 @@ var led_default = {
10376
10484
  };
10377
10485
 
10378
10486
  // symbols/led_right.ts
10379
- var { paths: paths52, texts: texts54, bounds: bounds52, refblocks: refblocks52, circles: circles50 } = led_default;
10487
+ var { paths: paths56, texts: texts58, bounds: bounds56, refblocks: refblocks56, circles: circles54 } = led_default;
10380
10488
  var led_right_default = defineSymbol({
10381
10489
  primitives: [
10382
- ...Object.values(paths52),
10383
- ...Object.values(circles50),
10384
- { ...texts54.bottom1, anchor: "middle_top" },
10385
- { ...texts54.right1, anchor: "middle_bottom" }
10490
+ ...Object.values(paths56),
10491
+ ...Object.values(circles54),
10492
+ { ...texts58.bottom1, anchor: "middle_top" },
10493
+ { ...texts58.right1, anchor: "middle_bottom" }
10386
10494
  ],
10387
10495
  ports: [
10388
- { ...refblocks52.left1, labels: ["1"] },
10496
+ { ...refblocks56.left1, labels: ["1"] },
10389
10497
  // TODO add more "standard" labels
10390
- { ...refblocks52.right1, labels: ["2"] }
10498
+ { ...refblocks56.right1, labels: ["2"] }
10391
10499
  // TODO add more "standard" labels
10392
10500
  ],
10393
- size: { width: bounds52.width, height: bounds52.height },
10394
- center: { x: bounds52.centerX, y: bounds52.centerY }
10501
+ size: { width: bounds56.width, height: bounds56.height },
10502
+ center: { x: bounds56.centerX, y: bounds56.centerY }
10395
10503
  });
10396
10504
 
10397
10505
  // symbols/led_up.ts
@@ -10654,32 +10762,32 @@ var light_dependent_resistor_default = {
10654
10762
  };
10655
10763
 
10656
10764
  // symbols/light_dependent_resistor_horz.ts
10657
- var { paths: paths53, texts: texts55, bounds: bounds53, refblocks: refblocks53, circles: circles51 } = light_dependent_resistor_default;
10765
+ var { paths: paths57, texts: texts59, bounds: bounds57, refblocks: refblocks57, circles: circles55 } = light_dependent_resistor_default;
10658
10766
  var light_dependent_resistor_horz_default = defineSymbol({
10659
10767
  primitives: [
10660
- ...Object.values(paths53),
10661
- ...Object.values(circles51),
10662
- { ...texts55.top1, anchor: "middle_left", x: 0 },
10663
- { ...texts55.bottom1, anchor: "middle_left", x: 0 }
10768
+ ...Object.values(paths57),
10769
+ ...Object.values(circles55),
10770
+ { ...texts59.top1, anchor: "middle_left", x: 0 },
10771
+ { ...texts59.bottom1, anchor: "middle_left", x: 0 }
10664
10772
  ],
10665
10773
  ports: [
10666
- { ...refblocks53.left1, labels: ["1"] },
10774
+ { ...refblocks57.left1, labels: ["1"] },
10667
10775
  // TODO add more "standard" labels
10668
- { ...refblocks53.right1, labels: ["2"] }
10776
+ { ...refblocks57.right1, labels: ["2"] }
10669
10777
  // TODO add more "standard" labels
10670
10778
  ],
10671
- size: { width: bounds53.width, height: bounds53.height },
10672
- center: { x: bounds53.centerX, y: bounds53.centerY }
10779
+ size: { width: bounds57.width, height: bounds57.height },
10780
+ center: { x: bounds57.centerX, y: bounds57.centerY }
10673
10781
  });
10674
10782
 
10675
10783
  // symbols/light_dependent_resistor_vert.ts
10676
10784
  var rotatedSymbol5 = rotateSymbol(light_dependent_resistor_horz_default);
10677
- var texts56 = rotatedSymbol5.primitives.filter((p) => p.type === "text");
10678
- var val24 = texts56.find((t) => t.text === "{VAL}");
10785
+ var texts60 = rotatedSymbol5.primitives.filter((p) => p.type === "text");
10786
+ var val24 = texts60.find((t) => t.text === "{VAL}");
10679
10787
  val24.x = -0.35;
10680
10788
  val24.y = 0;
10681
10789
  val24.anchor = "middle_right";
10682
- var ref24 = texts56.find((t) => t.text === "{REF}");
10790
+ var ref24 = texts60.find((t) => t.text === "{REF}");
10683
10791
  ref24.y = 0;
10684
10792
  ref24.x = 0.35;
10685
10793
  ref24.anchor = "middle_left";
@@ -10956,23 +11064,23 @@ var mosfet_depletion_normally_on_default = {
10956
11064
  };
10957
11065
 
10958
11066
  // symbols/mosfet_depletion_normally_on_horz.ts
10959
- var { paths: paths54, texts: texts57, bounds: bounds54, refblocks: refblocks54 } = mosfet_depletion_normally_on_default;
11067
+ var { paths: paths58, texts: texts61, bounds: bounds58, refblocks: refblocks58 } = mosfet_depletion_normally_on_default;
10960
11068
  var mosfet_depletion_normally_on_horz_default = defineSymbol({
10961
11069
  primitives: [
10962
- ...Object.values(paths54),
10963
- { ...texts57.right1, anchor: "middle_left" },
10964
- { ...texts57.right2, anchor: "middle_left" }
11070
+ ...Object.values(paths58),
11071
+ { ...texts61.right1, anchor: "middle_left" },
11072
+ { ...texts61.right2, anchor: "middle_left" }
10965
11073
  ],
10966
11074
  ports: [
10967
- { ...refblocks54.top1, labels: ["1"] },
11075
+ { ...refblocks58.top1, labels: ["1"] },
10968
11076
  // TODO add more "standard" labels
10969
- { ...refblocks54.bottom1, labels: ["2"] },
11077
+ { ...refblocks58.bottom1, labels: ["2"] },
10970
11078
  // TODO add more "standard" labels
10971
- { ...refblocks54.left1, labels: ["3"] }
11079
+ { ...refblocks58.left1, labels: ["3"] }
10972
11080
  // TODO add more "standard" labels
10973
11081
  ],
10974
- size: { width: bounds54.width + 0.4, height: bounds54.height },
10975
- center: { x: bounds54.centerX + 0.2, y: bounds54.centerY }
11082
+ size: { width: bounds58.width + 0.4, height: bounds58.height },
11083
+ center: { x: bounds58.centerX + 0.2, y: bounds58.centerY }
10976
11084
  });
10977
11085
 
10978
11086
  // symbols/mosfet_depletion_normally_on_vert.ts
@@ -11598,20 +11706,20 @@ var mushroom_head_normally_open_momentary_default = {
11598
11706
  };
11599
11707
 
11600
11708
  // symbols/mushroom_head_normally_open_momentary_horz.ts
11601
- var { paths: paths55, texts: texts58, bounds: bounds55, refblocks: refblocks55, circles: circles52 } = mushroom_head_normally_open_momentary_default;
11709
+ var { paths: paths59, texts: texts62, bounds: bounds59, refblocks: refblocks59, circles: circles56 } = mushroom_head_normally_open_momentary_default;
11602
11710
  var mushroom_head_normally_open_momentary_horz_default = defineSymbol({
11603
11711
  primitives: [
11604
- ...Object.values(paths55),
11605
- ...Object.values(circles52),
11606
- { ...texts58.top1, anchor: "middle_bottom", x: 0 },
11607
- { ...texts58.bottom1, anchor: "middle_top", x: 0 }
11712
+ ...Object.values(paths59),
11713
+ ...Object.values(circles56),
11714
+ { ...texts62.top1, anchor: "middle_bottom", x: 0 },
11715
+ { ...texts62.bottom1, anchor: "middle_top", x: 0 }
11608
11716
  ],
11609
11717
  ports: [
11610
- { ...refblocks55.left1, labels: ["1"] },
11611
- { ...refblocks55.right1, labels: ["2"] }
11718
+ { ...refblocks59.left1, labels: ["1"] },
11719
+ { ...refblocks59.right1, labels: ["2"] }
11612
11720
  ],
11613
- size: { width: bounds55.width, height: bounds55.height },
11614
- center: { x: bounds55.centerX + 6e-3, y: bounds55.centerY + 0.06 }
11721
+ size: { width: bounds59.width, height: bounds59.height },
11722
+ center: { x: bounds59.centerX + 6e-3, y: bounds59.centerY + 0.06 }
11615
11723
  });
11616
11724
 
11617
11725
  // symbols/mushroom_head_normally_open_momentary_vert.ts
@@ -11828,34 +11936,34 @@ var n_channel_d_mosfet_transistor_default = {
11828
11936
  };
11829
11937
 
11830
11938
  // symbols/n_channel_d_mosfet_transistor_horz.ts
11831
- var { paths: paths56, texts: texts59, bounds: bounds56, refblocks: refblocks56, circles: circles53 } = n_channel_d_mosfet_transistor_default;
11939
+ var { paths: paths60, texts: texts63, bounds: bounds60, refblocks: refblocks60, circles: circles57 } = n_channel_d_mosfet_transistor_default;
11832
11940
  var n_channel_d_mosfet_transistor_horz_default = defineSymbol({
11833
11941
  primitives: [
11834
- ...Object.values(paths56),
11835
- ...Object.values(circles53),
11836
- { ...texts59.top1, anchor: "middle_right", x: 0 },
11837
- { ...texts59.bottom1, anchor: "middle_right", x: 0 }
11942
+ ...Object.values(paths60),
11943
+ ...Object.values(circles57),
11944
+ { ...texts63.top1, anchor: "middle_right", x: 0 },
11945
+ { ...texts63.bottom1, anchor: "middle_right", x: 0 }
11838
11946
  ],
11839
11947
  ports: [
11840
- { ...refblocks56.top1, labels: ["1", "drain"] },
11948
+ { ...refblocks60.top1, labels: ["1", "drain"] },
11841
11949
  // TODO add more "standard" labels
11842
- { ...refblocks56.bottom1, labels: ["2", "source"] },
11950
+ { ...refblocks60.bottom1, labels: ["2", "source"] },
11843
11951
  // TODO add more "standard" labels
11844
- { ...refblocks56.left1, labels: ["3", "gate"] }
11952
+ { ...refblocks60.left1, labels: ["3", "gate"] }
11845
11953
  // TODO add more "standard" labels
11846
11954
  ],
11847
- size: { width: bounds56.width, height: bounds56.height },
11848
- center: { x: bounds56.centerX, y: bounds56.centerY }
11955
+ size: { width: bounds60.width, height: bounds60.height },
11956
+ center: { x: bounds60.centerX, y: bounds60.centerY }
11849
11957
  });
11850
11958
 
11851
11959
  // symbols/n_channel_d_mosfet_transistor_vert.ts
11852
11960
  var rotatedSymbol6 = rotateSymbol(n_channel_d_mosfet_transistor_horz_default);
11853
- var texts60 = rotatedSymbol6.primitives.filter((p) => p.type === "text");
11854
- var val27 = texts60.find((t) => t.text === "{VAL}");
11961
+ var texts64 = rotatedSymbol6.primitives.filter((p) => p.type === "text");
11962
+ var val27 = texts64.find((t) => t.text === "{VAL}");
11855
11963
  val27.x = -0.35;
11856
11964
  val27.y = 0;
11857
11965
  val27.anchor = "middle_right";
11858
- var ref27 = texts60.find((t) => t.text === "{REF}");
11966
+ var ref27 = texts64.find((t) => t.text === "{REF}");
11859
11967
  ref27.y = 0;
11860
11968
  ref27.x = 0.35;
11861
11969
  ref27.anchor = "middle_left";
@@ -12089,34 +12197,34 @@ var n_channel_e_mosfet_transistor_default = {
12089
12197
  };
12090
12198
 
12091
12199
  // symbols/n_channel_e_mosfet_transistor_horz.ts
12092
- var { paths: paths57, texts: texts61, bounds: bounds57, refblocks: refblocks57, circles: circles54 } = n_channel_e_mosfet_transistor_default;
12200
+ var { paths: paths61, texts: texts65, bounds: bounds61, refblocks: refblocks61, circles: circles58 } = n_channel_e_mosfet_transistor_default;
12093
12201
  var n_channel_e_mosfet_transistor_horz_default = defineSymbol({
12094
12202
  primitives: [
12095
- ...Object.values(paths57),
12096
- ...Object.values(circles54),
12097
- { ...texts61.top1, anchor: "middle_right", x: 0 },
12098
- { ...texts61.bottom1, anchor: "middle_right", x: 0 }
12203
+ ...Object.values(paths61),
12204
+ ...Object.values(circles58),
12205
+ { ...texts65.top1, anchor: "middle_right", x: 0 },
12206
+ { ...texts65.bottom1, anchor: "middle_right", x: 0 }
12099
12207
  ],
12100
12208
  ports: [
12101
- { ...refblocks57.top1, labels: ["1", "drain"] },
12209
+ { ...refblocks61.top1, labels: ["1", "drain"] },
12102
12210
  // TODO add more "standard" labels
12103
- { ...refblocks57.bottom1, labels: ["2", "source"] },
12211
+ { ...refblocks61.bottom1, labels: ["2", "source"] },
12104
12212
  // TODO add more "standard" labels
12105
- { ...refblocks57.left1, labels: ["3", "gate"] }
12213
+ { ...refblocks61.left1, labels: ["3", "gate"] }
12106
12214
  // TODO add more "standard" labels
12107
12215
  ],
12108
- size: { width: bounds57.width, height: bounds57.height },
12109
- center: { x: bounds57.centerX, y: bounds57.centerY }
12216
+ size: { width: bounds61.width, height: bounds61.height },
12217
+ center: { x: bounds61.centerX, y: bounds61.centerY }
12110
12218
  });
12111
12219
 
12112
12220
  // symbols/n_channel_e_mosfet_transistor_vert.ts
12113
12221
  var rotatedSymbol7 = rotateSymbol(n_channel_e_mosfet_transistor_horz_default);
12114
- var texts62 = rotatedSymbol7.primitives.filter((p) => p.type === "text");
12115
- var val28 = texts62.find((t) => t.text === "{VAL}");
12222
+ var texts66 = rotatedSymbol7.primitives.filter((p) => p.type === "text");
12223
+ var val28 = texts66.find((t) => t.text === "{VAL}");
12116
12224
  val28.x = -0.35;
12117
12225
  val28.y = 0;
12118
12226
  val28.anchor = "middle_right";
12119
- var ref28 = texts62.find((t) => t.text === "{REF}");
12227
+ var ref28 = texts66.find((t) => t.text === "{REF}");
12120
12228
  ref28.y = 0;
12121
12229
  ref28.x = 0.35;
12122
12230
  ref28.anchor = "middle_left";
@@ -12290,34 +12398,34 @@ var njfet_transistor_default = {
12290
12398
  };
12291
12399
 
12292
12400
  // symbols/njfet_transistor_horz.ts
12293
- var { paths: paths58, texts: texts63, bounds: bounds58, refblocks: refblocks58, circles: circles55 } = njfet_transistor_default;
12401
+ var { paths: paths62, texts: texts67, bounds: bounds62, refblocks: refblocks62, circles: circles59 } = njfet_transistor_default;
12294
12402
  var njfet_transistor_horz_default = defineSymbol({
12295
12403
  primitives: [
12296
- ...Object.values(paths58),
12297
- ...Object.values(circles55),
12298
- { ...texts63.top1, anchor: "middle_right", x: 0 },
12299
- { ...texts63.bottom1, anchor: "middle_right", x: 0 }
12404
+ ...Object.values(paths62),
12405
+ ...Object.values(circles59),
12406
+ { ...texts67.top1, anchor: "middle_right", x: 0 },
12407
+ { ...texts67.bottom1, anchor: "middle_right", x: 0 }
12300
12408
  ],
12301
12409
  ports: [
12302
- { ...refblocks58.top1, labels: ["1", "drain"] },
12410
+ { ...refblocks62.top1, labels: ["1", "drain"] },
12303
12411
  // TODO add more "standard" labels
12304
- { ...refblocks58.bottom1, labels: ["2", "source"] },
12412
+ { ...refblocks62.bottom1, labels: ["2", "source"] },
12305
12413
  // TODO add more "standard" labels
12306
- { ...refblocks58.left1, labels: ["3", "gate"] }
12414
+ { ...refblocks62.left1, labels: ["3", "gate"] }
12307
12415
  // TODO add more "standard" labels
12308
12416
  ],
12309
- size: { width: bounds58.width, height: bounds58.height },
12310
- center: { x: bounds58.centerX, y: bounds58.centerY }
12417
+ size: { width: bounds62.width, height: bounds62.height },
12418
+ center: { x: bounds62.centerX, y: bounds62.centerY }
12311
12419
  });
12312
12420
 
12313
12421
  // symbols/njfet_transistor_vert.ts
12314
12422
  var rotatedSymbol8 = rotateSymbol(njfet_transistor_horz_default);
12315
- var texts64 = rotatedSymbol8.primitives.filter((p) => p.type === "text");
12316
- var val29 = texts64.find((t) => t.text === "{VAL}");
12423
+ var texts68 = rotatedSymbol8.primitives.filter((p) => p.type === "text");
12424
+ var val29 = texts68.find((t) => t.text === "{VAL}");
12317
12425
  val29.x = -0.35;
12318
12426
  val29.y = 0;
12319
12427
  val29.anchor = "middle_right";
12320
- var ref29 = texts64.find((t) => t.text === "{REF}");
12428
+ var ref29 = texts68.find((t) => t.text === "{REF}");
12321
12429
  ref29.y = 0;
12322
12430
  ref29.x = 0.35;
12323
12431
  ref29.anchor = "middle_left";
@@ -12372,11 +12480,11 @@ var not_connected_default = {
12372
12480
  };
12373
12481
 
12374
12482
  // symbols/not_connected_right.ts
12375
- var { paths: paths59, bounds: bounds59, refblocks: refblocks59 } = not_connected_default;
12483
+ var { paths: paths63, bounds: bounds63, refblocks: refblocks63 } = not_connected_default;
12376
12484
  var not_connected_right_default = modifySymbol({
12377
- primitives: [...Object.values(paths59)],
12378
- ports: [{ ...refblocks59.left1, labels: ["1"] }],
12379
- center: { x: bounds59.centerX, y: bounds59.centerY }
12485
+ primitives: [...Object.values(paths63)],
12486
+ ports: [{ ...refblocks63.left1, labels: ["1"] }],
12487
+ center: { x: bounds63.centerX, y: bounds63.centerY }
12380
12488
  }).rotateRightFacingSymbol("right").labelPort("left1", ["1"]).build();
12381
12489
 
12382
12490
  // symbols/not_connected_down.ts
@@ -12556,11 +12664,11 @@ var npn_bipolar_transistor_default = {
12556
12664
  };
12557
12665
 
12558
12666
  // symbols/npn_bipolar_transistor_down.ts
12559
- var { paths: paths60, texts: texts65, bounds: bounds60, refblocks: refblocks60, circles: circles56 } = npn_bipolar_transistor_default;
12667
+ var { paths: paths64, texts: texts69, bounds: bounds64, refblocks: refblocks64, circles: circles60 } = npn_bipolar_transistor_default;
12560
12668
  var npn_bipolar_transistor_down_default = modifySymbol({
12561
12669
  primitives: [
12562
- ...Object.values(paths60),
12563
- ...Object.values(circles56),
12670
+ ...Object.values(paths64),
12671
+ ...Object.values(circles60),
12564
12672
  {
12565
12673
  type: "text",
12566
12674
  text: "{REF}",
@@ -12575,24 +12683,24 @@ var npn_bipolar_transistor_down_default = modifySymbol({
12575
12683
  }
12576
12684
  ],
12577
12685
  ports: [
12578
- { ...refblocks60.top1, labels: ["1"] },
12579
- { ...refblocks60.bottom1, labels: ["3"] },
12580
- { ...refblocks60.left1, labels: ["2"] }
12686
+ { ...refblocks64.top1, labels: ["1"] },
12687
+ { ...refblocks64.bottom1, labels: ["3"] },
12688
+ { ...refblocks64.left1, labels: ["2"] }
12581
12689
  ],
12582
- size: { width: bounds60.width, height: bounds60.height },
12583
- center: { x: bounds60.centerX, y: bounds60.centerY }
12690
+ size: { width: bounds64.width, height: bounds64.height },
12691
+ center: { x: bounds64.centerX, y: bounds64.centerY }
12584
12692
  }).rotateRightFacingSymbol("right").changeTextAnchor("{REF}", "middle_right").changeTextAnchor("{VAL}", "middle_right").build();
12585
12693
 
12586
12694
  // symbols/npn_bipolar_transistor_horz.ts
12587
- var { paths: paths61, texts: texts66, bounds: bounds61, refblocks: refblocks61, circles: circles57 } = npn_bipolar_transistor_default;
12695
+ var { paths: paths65, texts: texts70, bounds: bounds65, refblocks: refblocks65, circles: circles61 } = npn_bipolar_transistor_default;
12588
12696
  var npn_bipolar_transistor_horz_default = modifySymbol(npn_bipolar_transistor_default).rotateRightFacingSymbol("up").changeTextAnchor("{VAL}", "middle_left").labelPort("left1", ["2"]).labelPort("top1", ["1"]).labelPort("bottom1", ["3"]).changeTextAnchor("{REF}", "middle_right").build();
12589
12697
 
12590
12698
  // symbols/npn_bipolar_transistor_left.ts
12591
- var { paths: paths62, texts: texts67, bounds: bounds62, refblocks: refblocks62, circles: circles58 } = npn_bipolar_transistor_default;
12699
+ var { paths: paths66, texts: texts71, bounds: bounds66, refblocks: refblocks66, circles: circles62 } = npn_bipolar_transistor_default;
12592
12700
  var npn_bipolar_transistor_left_default = modifySymbol({
12593
12701
  primitives: [
12594
- ...Object.values(paths62),
12595
- ...Object.values(circles58),
12702
+ ...Object.values(paths66),
12703
+ ...Object.values(circles62),
12596
12704
  {
12597
12705
  type: "text",
12598
12706
  text: "{REF}",
@@ -12607,20 +12715,20 @@ var npn_bipolar_transistor_left_default = modifySymbol({
12607
12715
  }
12608
12716
  ],
12609
12717
  ports: [
12610
- { ...refblocks62.top1, labels: ["1"] },
12611
- { ...refblocks62.bottom1, labels: ["3"] },
12612
- { ...refblocks62.left1, labels: ["2"] }
12718
+ { ...refblocks66.top1, labels: ["1"] },
12719
+ { ...refblocks66.bottom1, labels: ["3"] },
12720
+ { ...refblocks66.left1, labels: ["2"] }
12613
12721
  ],
12614
- size: { width: bounds62.width, height: bounds62.height },
12615
- center: { x: bounds62.centerX, y: bounds62.centerY }
12722
+ size: { width: bounds66.width, height: bounds66.height },
12723
+ center: { x: bounds66.centerX, y: bounds66.centerY }
12616
12724
  }).rotateRightFacingSymbol("down").changeTextAnchor("{REF}", "middle_bottom").changeTextAnchor("{VAL}", "middle_bottom").build();
12617
12725
 
12618
12726
  // symbols/npn_bipolar_transistor_right.ts
12619
- var { paths: paths63, texts: texts68, bounds: bounds63, refblocks: refblocks63, circles: circles59 } = npn_bipolar_transistor_default;
12727
+ var { paths: paths67, texts: texts72, bounds: bounds67, refblocks: refblocks67, circles: circles63 } = npn_bipolar_transistor_default;
12620
12728
  var npn_bipolar_transistor_right_default = modifySymbol({
12621
12729
  primitives: [
12622
- ...Object.values(paths63),
12623
- ...Object.values(circles59),
12730
+ ...Object.values(paths67),
12731
+ ...Object.values(circles63),
12624
12732
  {
12625
12733
  type: "text",
12626
12734
  text: "{REF}",
@@ -12635,20 +12743,20 @@ var npn_bipolar_transistor_right_default = modifySymbol({
12635
12743
  }
12636
12744
  ],
12637
12745
  ports: [
12638
- { ...refblocks63.top1, labels: ["1"] },
12639
- { ...refblocks63.bottom1, labels: ["3"] },
12640
- { ...refblocks63.left1, labels: ["2"] }
12746
+ { ...refblocks67.top1, labels: ["1"] },
12747
+ { ...refblocks67.bottom1, labels: ["3"] },
12748
+ { ...refblocks67.left1, labels: ["2"] }
12641
12749
  ],
12642
- size: { width: bounds63.width, height: bounds63.height },
12643
- center: { x: bounds63.centerX, y: bounds63.centerY }
12750
+ size: { width: bounds67.width, height: bounds67.height },
12751
+ center: { x: bounds67.centerX, y: bounds67.centerY }
12644
12752
  }).rotateRightFacingSymbol("up").changeTextAnchor("{REF}", "middle_top").changeTextAnchor("{VAL}", "middle_top").build();
12645
12753
 
12646
12754
  // symbols/npn_bipolar_transistor_up.ts
12647
- var { paths: paths64, texts: texts69, bounds: bounds64, refblocks: refblocks64, circles: circles60 } = npn_bipolar_transistor_default;
12755
+ var { paths: paths68, texts: texts73, bounds: bounds68, refblocks: refblocks68, circles: circles64 } = npn_bipolar_transistor_default;
12648
12756
  var npn_bipolar_transistor_up_default = modifySymbol({
12649
12757
  primitives: [
12650
- ...Object.values(paths64),
12651
- ...Object.values(circles60),
12758
+ ...Object.values(paths68),
12759
+ ...Object.values(circles64),
12652
12760
  {
12653
12761
  type: "text",
12654
12762
  text: "{REF}",
@@ -12663,20 +12771,20 @@ var npn_bipolar_transistor_up_default = modifySymbol({
12663
12771
  }
12664
12772
  ],
12665
12773
  ports: [
12666
- { ...refblocks64.top1, labels: ["1"] },
12667
- { ...refblocks64.bottom1, labels: ["3"] },
12668
- { ...refblocks64.left1, labels: ["2"] }
12774
+ { ...refblocks68.top1, labels: ["1"] },
12775
+ { ...refblocks68.bottom1, labels: ["3"] },
12776
+ { ...refblocks68.left1, labels: ["2"] }
12669
12777
  ],
12670
- size: { width: bounds64.width, height: bounds64.height },
12671
- center: { x: bounds64.centerX, y: bounds64.centerY }
12778
+ size: { width: bounds68.width, height: bounds68.height },
12779
+ center: { x: bounds68.centerX, y: bounds68.centerY }
12672
12780
  }).rotateRightFacingSymbol("left").changeTextAnchor("{REF}", "middle_left").changeTextAnchor("{VAL}", "middle_left").build();
12673
12781
 
12674
12782
  // symbols/npn_bipolar_transistor_vert.ts
12675
- var { paths: paths65, texts: texts70, bounds: bounds65, refblocks: refblocks65, circles: circles61 } = npn_bipolar_transistor_default;
12783
+ var { paths: paths69, texts: texts74, bounds: bounds69, refblocks: refblocks69, circles: circles65 } = npn_bipolar_transistor_default;
12676
12784
  var npn_bipolar_transistor_vert_default = modifySymbol({
12677
12785
  primitives: [
12678
- ...Object.values(paths65),
12679
- ...Object.values(circles61),
12786
+ ...Object.values(paths69),
12787
+ ...Object.values(circles65),
12680
12788
  {
12681
12789
  type: "text",
12682
12790
  text: "{REF}",
@@ -12691,12 +12799,12 @@ var npn_bipolar_transistor_vert_default = modifySymbol({
12691
12799
  }
12692
12800
  ],
12693
12801
  ports: [
12694
- { ...refblocks65.top1, labels: ["1"] },
12695
- { ...refblocks65.bottom1, labels: ["3"] },
12696
- { ...refblocks65.left1, labels: ["2"] }
12802
+ { ...refblocks69.top1, labels: ["1"] },
12803
+ { ...refblocks69.bottom1, labels: ["3"] },
12804
+ { ...refblocks69.left1, labels: ["2"] }
12697
12805
  ],
12698
- size: { width: bounds65.width, height: bounds65.height },
12699
- center: { x: bounds65.centerX, y: bounds65.centerY }
12806
+ size: { width: bounds69.width, height: bounds69.height },
12807
+ center: { x: bounds69.centerX, y: bounds69.centerY }
12700
12808
  }).rotateRightFacingSymbol("left").changeTextAnchor("{REF}", "middle_left").changeTextAnchor("{VAL}", "middle_left").build();
12701
12809
 
12702
12810
  // assets/generated/opamp_no_power.json
@@ -13319,34 +13427,34 @@ var p_channel_d_mosfet_transistor_default = {
13319
13427
  };
13320
13428
 
13321
13429
  // symbols/p_channel_d_mosfet_transistor_horz.ts
13322
- var { paths: paths66, texts: texts71, bounds: bounds66, refblocks: refblocks66, circles: circles62 } = p_channel_d_mosfet_transistor_default;
13430
+ var { paths: paths70, texts: texts75, bounds: bounds70, refblocks: refblocks70, circles: circles66 } = p_channel_d_mosfet_transistor_default;
13323
13431
  var p_channel_d_mosfet_transistor_horz_default = defineSymbol({
13324
13432
  primitives: [
13325
- ...Object.values(paths66),
13326
- ...Object.values(circles62),
13327
- { ...texts71.top1, anchor: "middle_right", x: 0 },
13328
- { ...texts71.bottom1, anchor: "middle_right", x: 0 }
13433
+ ...Object.values(paths70),
13434
+ ...Object.values(circles66),
13435
+ { ...texts75.top1, anchor: "middle_right", x: 0 },
13436
+ { ...texts75.bottom1, anchor: "middle_right", x: 0 }
13329
13437
  ],
13330
13438
  ports: [
13331
- { ...refblocks66.top1, labels: ["1", "drain"] },
13439
+ { ...refblocks70.top1, labels: ["1", "drain"] },
13332
13440
  // TODO add more "standard" labels
13333
- { ...refblocks66.bottom1, labels: ["2", "source"] },
13441
+ { ...refblocks70.bottom1, labels: ["2", "source"] },
13334
13442
  // TODO add more "standard" labels
13335
- { ...refblocks66.left1, labels: ["3", "gate"] }
13443
+ { ...refblocks70.left1, labels: ["3", "gate"] }
13336
13444
  // TODO add more "standard" labels
13337
13445
  ],
13338
- size: { width: bounds66.width, height: bounds66.height },
13339
- center: { x: bounds66.centerX, y: bounds66.centerY }
13446
+ size: { width: bounds70.width, height: bounds70.height },
13447
+ center: { x: bounds70.centerX, y: bounds70.centerY }
13340
13448
  });
13341
13449
 
13342
13450
  // symbols/p_channel_d_mosfet_transistor_vert.ts
13343
13451
  var rotatedSymbol9 = rotateSymbol(p_channel_d_mosfet_transistor_horz_default);
13344
- var texts72 = rotatedSymbol9.primitives.filter((p) => p.type === "text");
13345
- var val30 = texts72.find((t) => t.text === "{VAL}");
13452
+ var texts76 = rotatedSymbol9.primitives.filter((p) => p.type === "text");
13453
+ var val30 = texts76.find((t) => t.text === "{VAL}");
13346
13454
  val30.x = -0.35;
13347
13455
  val30.y = 0;
13348
13456
  val30.anchor = "middle_right";
13349
- var ref30 = texts72.find((t) => t.text === "{REF}");
13457
+ var ref30 = texts76.find((t) => t.text === "{REF}");
13350
13458
  ref30.y = 0;
13351
13459
  ref30.x = 0.35;
13352
13460
  ref30.anchor = "middle_left";
@@ -13580,34 +13688,34 @@ var p_channel_e_mosfet_transistor_default = {
13580
13688
  };
13581
13689
 
13582
13690
  // symbols/p_channel_e_mosfet_transistor_horz.ts
13583
- var { paths: paths67, texts: texts73, bounds: bounds67, refblocks: refblocks67, circles: circles63 } = p_channel_e_mosfet_transistor_default;
13691
+ var { paths: paths71, texts: texts77, bounds: bounds71, refblocks: refblocks71, circles: circles67 } = p_channel_e_mosfet_transistor_default;
13584
13692
  var p_channel_e_mosfet_transistor_horz_default = defineSymbol({
13585
13693
  primitives: [
13586
- ...Object.values(paths67),
13587
- ...Object.values(circles63),
13588
- { ...texts73.top1, anchor: "middle_right", x: 0 },
13589
- { ...texts73.bottom1, anchor: "middle_right", x: 0 }
13694
+ ...Object.values(paths71),
13695
+ ...Object.values(circles67),
13696
+ { ...texts77.top1, anchor: "middle_right", x: 0 },
13697
+ { ...texts77.bottom1, anchor: "middle_right", x: 0 }
13590
13698
  ],
13591
13699
  ports: [
13592
- { ...refblocks67.top1, labels: ["1", "drain"] },
13700
+ { ...refblocks71.top1, labels: ["1", "drain"] },
13593
13701
  // TODO add more "standard" labels
13594
- { ...refblocks67.bottom1, labels: ["2", "source"] },
13702
+ { ...refblocks71.bottom1, labels: ["2", "source"] },
13595
13703
  // TODO add more "standard" labels
13596
- { ...refblocks67.left1, labels: ["3", "gate"] }
13704
+ { ...refblocks71.left1, labels: ["3", "gate"] }
13597
13705
  // TODO add more "standard" labels
13598
13706
  ],
13599
- size: { width: bounds67.width, height: bounds67.height },
13600
- center: { x: bounds67.centerX, y: bounds67.centerY }
13707
+ size: { width: bounds71.width, height: bounds71.height },
13708
+ center: { x: bounds71.centerX, y: bounds71.centerY }
13601
13709
  });
13602
13710
 
13603
13711
  // symbols/p_channel_e_mosfet_transistor_vert.ts
13604
13712
  var rotatedSymbol10 = rotateSymbol(p_channel_e_mosfet_transistor_horz_default);
13605
- var texts74 = rotatedSymbol10.primitives.filter((p) => p.type === "text");
13606
- var val31 = texts74.find((t) => t.text === "{VAL}");
13713
+ var texts78 = rotatedSymbol10.primitives.filter((p) => p.type === "text");
13714
+ var val31 = texts78.find((t) => t.text === "{VAL}");
13607
13715
  val31.x = -0.35;
13608
13716
  val31.y = 0;
13609
13717
  val31.anchor = "middle_right";
13610
- var ref31 = texts74.find((t) => t.text === "{REF}");
13718
+ var ref31 = texts78.find((t) => t.text === "{REF}");
13611
13719
  ref31.y = 0;
13612
13720
  ref31.x = 0.35;
13613
13721
  ref31.anchor = "middle_left";
@@ -13842,8 +13950,8 @@ var photodiode_horz_default = modifySymbol(photodiode_default).changeTextAnchor(
13842
13950
 
13843
13951
  // symbols/photodiode_vert.ts
13844
13952
  var rotatedSymbol11 = rotateSymbol(photodiode_horz_default);
13845
- var texts75 = rotatedSymbol11.primitives.filter((p) => p.type === "text");
13846
- var ref32 = texts75.find((t) => t.text === "{REF}");
13953
+ var texts79 = rotatedSymbol11.primitives.filter((p) => p.type === "text");
13954
+ var ref32 = texts79.find((t) => t.text === "{REF}");
13847
13955
  ref32.y = 0;
13848
13956
  ref32.anchor = "middle_left";
13849
13957
  var photodiode_vert_default = rotatedSymbol11;
@@ -14016,34 +14124,34 @@ var pjfet_transistor_default = {
14016
14124
  };
14017
14125
 
14018
14126
  // symbols/pjfet_transistor_horz.ts
14019
- var { paths: paths68, texts: texts76, bounds: bounds68, refblocks: refblocks68, circles: circles64 } = pjfet_transistor_default;
14127
+ var { paths: paths72, texts: texts80, bounds: bounds72, refblocks: refblocks72, circles: circles68 } = pjfet_transistor_default;
14020
14128
  var pjfet_transistor_horz_default = defineSymbol({
14021
14129
  primitives: [
14022
- ...Object.values(paths68),
14023
- ...Object.values(circles64),
14024
- { ...texts76.top1, anchor: "middle_right", x: 0 },
14025
- { ...texts76.bottom1, anchor: "middle_right" }
14130
+ ...Object.values(paths72),
14131
+ ...Object.values(circles68),
14132
+ { ...texts80.top1, anchor: "middle_right", x: 0 },
14133
+ { ...texts80.bottom1, anchor: "middle_right" }
14026
14134
  ],
14027
14135
  ports: [
14028
- { ...refblocks68.top1, labels: ["1", "drain"] },
14136
+ { ...refblocks72.top1, labels: ["1", "drain"] },
14029
14137
  // TODO add more "standard" labels
14030
- { ...refblocks68.bottom1, labels: ["2", "source"] },
14138
+ { ...refblocks72.bottom1, labels: ["2", "source"] },
14031
14139
  // TODO add more "standard" labels
14032
- { ...refblocks68.left1, labels: ["3", "gate"] }
14140
+ { ...refblocks72.left1, labels: ["3", "gate"] }
14033
14141
  // TODO add more "standard" labels
14034
14142
  ],
14035
- size: { width: bounds68.width, height: bounds68.height },
14036
- center: { x: bounds68.centerX, y: bounds68.centerY }
14143
+ size: { width: bounds72.width, height: bounds72.height },
14144
+ center: { x: bounds72.centerX, y: bounds72.centerY }
14037
14145
  });
14038
14146
 
14039
14147
  // symbols/pjfet_transistor_vert.ts
14040
14148
  var rotatedSymbol12 = rotateSymbol(pjfet_transistor_horz_default);
14041
- var texts77 = rotatedSymbol12.primitives.filter((p) => p.type === "text");
14042
- var val32 = texts77.find((t) => t.text === "{VAL}");
14149
+ var texts81 = rotatedSymbol12.primitives.filter((p) => p.type === "text");
14150
+ var val32 = texts81.find((t) => t.text === "{VAL}");
14043
14151
  val32.x = -0.35;
14044
14152
  val32.y = 0;
14045
14153
  val32.anchor = "middle_right";
14046
- var ref33 = texts77.find((t) => t.text === "{REF}");
14154
+ var ref33 = texts81.find((t) => t.text === "{REF}");
14047
14155
  ref33.y = 0;
14048
14156
  ref33.x = 0.35;
14049
14157
  ref33.anchor = "middle_left";
@@ -14217,11 +14325,11 @@ var pnp_bipolar_transistor_default = {
14217
14325
  };
14218
14326
 
14219
14327
  // symbols/pnp_bipolar_transistor_down.ts
14220
- var { paths: paths69, texts: texts78, bounds: bounds69, refblocks: refblocks69, circles: circles65 } = pnp_bipolar_transistor_default;
14328
+ var { paths: paths73, texts: texts82, bounds: bounds73, refblocks: refblocks73, circles: circles69 } = pnp_bipolar_transistor_default;
14221
14329
  var pnp_bipolar_transistor_down_default = modifySymbol({
14222
14330
  primitives: [
14223
- ...Object.values(paths69),
14224
- ...Object.values(circles65),
14331
+ ...Object.values(paths73),
14332
+ ...Object.values(circles69),
14225
14333
  {
14226
14334
  type: "text",
14227
14335
  text: "{REF}",
@@ -14236,24 +14344,24 @@ var pnp_bipolar_transistor_down_default = modifySymbol({
14236
14344
  }
14237
14345
  ],
14238
14346
  ports: [
14239
- { ...refblocks69.top1, labels: ["1"] },
14240
- { ...refblocks69.bottom1, labels: ["3"] },
14241
- { ...refblocks69.left1, labels: ["2"] }
14347
+ { ...refblocks73.top1, labels: ["1"] },
14348
+ { ...refblocks73.bottom1, labels: ["3"] },
14349
+ { ...refblocks73.left1, labels: ["2"] }
14242
14350
  ],
14243
- size: { width: bounds69.width, height: bounds69.height },
14244
- center: { x: bounds69.centerX, y: bounds69.centerY }
14351
+ size: { width: bounds73.width, height: bounds73.height },
14352
+ center: { x: bounds73.centerX, y: bounds73.centerY }
14245
14353
  }).rotateRightFacingSymbol("right").changeTextAnchor("{REF}", "middle_right").changeTextAnchor("{VAL}", "middle_right").build();
14246
14354
 
14247
14355
  // symbols/pnp_bipolar_transistor_horz.ts
14248
- var { paths: paths70, texts: texts79, bounds: bounds70, refblocks: refblocks70, circles: circles66 } = pnp_bipolar_transistor_default;
14356
+ var { paths: paths74, texts: texts83, bounds: bounds74, refblocks: refblocks74, circles: circles70 } = pnp_bipolar_transistor_default;
14249
14357
  var pnp_bipolar_transistor_horz_default = modifySymbol(pnp_bipolar_transistor_default).rotateRightFacingSymbol("up").changeTextAnchor("{VAL}", "middle_left").labelPort("left1", ["2"]).labelPort("top1", ["1"]).labelPort("bottom1", ["3"]).changeTextAnchor("{REF}", "middle_right").build();
14250
14358
 
14251
14359
  // symbols/pnp_bipolar_transistor_left.ts
14252
- var { paths: paths71, texts: texts80, bounds: bounds71, refblocks: refblocks71, circles: circles67 } = pnp_bipolar_transistor_default;
14360
+ var { paths: paths75, texts: texts84, bounds: bounds75, refblocks: refblocks75, circles: circles71 } = pnp_bipolar_transistor_default;
14253
14361
  var pnp_bipolar_transistor_left_default = modifySymbol({
14254
14362
  primitives: [
14255
- ...Object.values(paths71),
14256
- ...Object.values(circles67),
14363
+ ...Object.values(paths75),
14364
+ ...Object.values(circles71),
14257
14365
  {
14258
14366
  type: "text",
14259
14367
  text: "{REF}",
@@ -14268,20 +14376,20 @@ var pnp_bipolar_transistor_left_default = modifySymbol({
14268
14376
  }
14269
14377
  ],
14270
14378
  ports: [
14271
- { ...refblocks71.top1, labels: ["1"] },
14272
- { ...refblocks71.bottom1, labels: ["3"] },
14273
- { ...refblocks71.left1, labels: ["2"] }
14379
+ { ...refblocks75.top1, labels: ["1"] },
14380
+ { ...refblocks75.bottom1, labels: ["3"] },
14381
+ { ...refblocks75.left1, labels: ["2"] }
14274
14382
  ],
14275
- size: { width: bounds71.width, height: bounds71.height },
14276
- center: { x: bounds71.centerX, y: bounds71.centerY }
14383
+ size: { width: bounds75.width, height: bounds75.height },
14384
+ center: { x: bounds75.centerX, y: bounds75.centerY }
14277
14385
  }).rotateRightFacingSymbol("down").changeTextAnchor("{REF}", "middle_bottom").changeTextAnchor("{VAL}", "middle_bottom").build();
14278
14386
 
14279
14387
  // symbols/pnp_bipolar_transistor_right.ts
14280
- var { paths: paths72, texts: texts81, bounds: bounds72, refblocks: refblocks72, circles: circles68 } = pnp_bipolar_transistor_default;
14388
+ var { paths: paths76, texts: texts85, bounds: bounds76, refblocks: refblocks76, circles: circles72 } = pnp_bipolar_transistor_default;
14281
14389
  var pnp_bipolar_transistor_right_default = modifySymbol({
14282
14390
  primitives: [
14283
- ...Object.values(paths72),
14284
- ...Object.values(circles68),
14391
+ ...Object.values(paths76),
14392
+ ...Object.values(circles72),
14285
14393
  {
14286
14394
  type: "text",
14287
14395
  text: "{REF}",
@@ -14296,20 +14404,20 @@ var pnp_bipolar_transistor_right_default = modifySymbol({
14296
14404
  }
14297
14405
  ],
14298
14406
  ports: [
14299
- { ...refblocks72.top1, labels: ["1"] },
14300
- { ...refblocks72.bottom1, labels: ["3"] },
14301
- { ...refblocks72.left1, labels: ["2"] }
14407
+ { ...refblocks76.top1, labels: ["1"] },
14408
+ { ...refblocks76.bottom1, labels: ["3"] },
14409
+ { ...refblocks76.left1, labels: ["2"] }
14302
14410
  ],
14303
- size: { width: bounds72.width, height: bounds72.height },
14304
- center: { x: bounds72.centerX, y: bounds72.centerY }
14411
+ size: { width: bounds76.width, height: bounds76.height },
14412
+ center: { x: bounds76.centerX, y: bounds76.centerY }
14305
14413
  }).rotateRightFacingSymbol("up").changeTextAnchor("{REF}", "middle_top").changeTextAnchor("{VAL}", "middle_top").build();
14306
14414
 
14307
14415
  // symbols/pnp_bipolar_transistor_up.ts
14308
- var { paths: paths73, texts: texts82, bounds: bounds73, refblocks: refblocks73, circles: circles69 } = pnp_bipolar_transistor_default;
14416
+ var { paths: paths77, texts: texts86, bounds: bounds77, refblocks: refblocks77, circles: circles73 } = pnp_bipolar_transistor_default;
14309
14417
  var pnp_bipolar_transistor_up_default = modifySymbol({
14310
14418
  primitives: [
14311
- ...Object.values(paths73),
14312
- ...Object.values(circles69),
14419
+ ...Object.values(paths77),
14420
+ ...Object.values(circles73),
14313
14421
  {
14314
14422
  type: "text",
14315
14423
  text: "{REF}",
@@ -14324,20 +14432,20 @@ var pnp_bipolar_transistor_up_default = modifySymbol({
14324
14432
  }
14325
14433
  ],
14326
14434
  ports: [
14327
- { ...refblocks73.top1, labels: ["1"] },
14328
- { ...refblocks73.bottom1, labels: ["3"] },
14329
- { ...refblocks73.left1, labels: ["2"] }
14435
+ { ...refblocks77.top1, labels: ["1"] },
14436
+ { ...refblocks77.bottom1, labels: ["3"] },
14437
+ { ...refblocks77.left1, labels: ["2"] }
14330
14438
  ],
14331
- size: { width: bounds73.width, height: bounds73.height },
14332
- center: { x: bounds73.centerX, y: bounds73.centerY }
14439
+ size: { width: bounds77.width, height: bounds77.height },
14440
+ center: { x: bounds77.centerX, y: bounds77.centerY }
14333
14441
  }).rotateRightFacingSymbol("left").changeTextAnchor("{REF}", "middle_left").changeTextAnchor("{VAL}", "middle_left").build();
14334
14442
 
14335
14443
  // symbols/pnp_bipolar_transistor_vert.ts
14336
- var { paths: paths74, texts: texts83, bounds: bounds74, refblocks: refblocks74, circles: circles70 } = pnp_bipolar_transistor_default;
14444
+ var { paths: paths78, texts: texts87, bounds: bounds78, refblocks: refblocks78, circles: circles74 } = pnp_bipolar_transistor_default;
14337
14445
  var pnp_bipolar_transistor_vert_default = modifySymbol({
14338
14446
  primitives: [
14339
- ...Object.values(paths74),
14340
- ...Object.values(circles70),
14447
+ ...Object.values(paths78),
14448
+ ...Object.values(circles74),
14341
14449
  {
14342
14450
  type: "text",
14343
14451
  text: "{REF}",
@@ -14352,12 +14460,12 @@ var pnp_bipolar_transistor_vert_default = modifySymbol({
14352
14460
  }
14353
14461
  ],
14354
14462
  ports: [
14355
- { ...refblocks74.top1, labels: ["1"] },
14356
- { ...refblocks74.bottom1, labels: ["3"] },
14357
- { ...refblocks74.left1, labels: ["2"] }
14463
+ { ...refblocks78.top1, labels: ["1"] },
14464
+ { ...refblocks78.bottom1, labels: ["3"] },
14465
+ { ...refblocks78.left1, labels: ["2"] }
14358
14466
  ],
14359
- size: { width: bounds74.width, height: bounds74.height },
14360
- center: { x: bounds74.centerX, y: bounds74.centerY }
14467
+ size: { width: bounds78.width, height: bounds78.height },
14468
+ center: { x: bounds78.centerX, y: bounds78.centerY }
14361
14469
  }).rotateRightFacingSymbol("left").changeTextAnchor("{REF}", "middle_left").changeTextAnchor("{VAL}", "middle_left").build();
14362
14470
 
14363
14471
  // assets/generated/potentiometer.json
@@ -14770,21 +14878,21 @@ var potentiometer_default = {
14770
14878
  };
14771
14879
 
14772
14880
  // symbols/potentiometer_horz.ts
14773
- var { paths: paths75, texts: texts84, bounds: bounds75, refblocks: refblocks75 } = potentiometer_default;
14881
+ var { paths: paths79, texts: texts88, bounds: bounds79, refblocks: refblocks79 } = potentiometer_default;
14774
14882
  var potentiometer_horz_default = defineSymbol({
14775
14883
  primitives: [
14776
- ...Object.values(paths75),
14777
- { ...texts84.bottom1, y: 0.35, anchor: "middle_top" },
14778
- { ...texts84.top1, anchor: "middle_left" }
14884
+ ...Object.values(paths79),
14885
+ { ...texts88.bottom1, y: 0.35, anchor: "middle_top" },
14886
+ { ...texts88.top1, anchor: "middle_left" }
14779
14887
  ],
14780
14888
  ports: [
14781
- { ...refblocks75.left1, labels: ["1"] },
14889
+ { ...refblocks79.left1, labels: ["1"] },
14782
14890
  // TODO add more "standard" labels
14783
- { ...refblocks75.right1, labels: ["2"] }
14891
+ { ...refblocks79.right1, labels: ["2"] }
14784
14892
  // TODO add more "standard" labels
14785
14893
  ],
14786
- size: { width: bounds75.width + 0.05, height: bounds75.height },
14787
- center: { x: bounds75.centerX, y: bounds75.centerY }
14894
+ size: { width: bounds79.width + 0.05, height: bounds79.height },
14895
+ center: { x: bounds79.centerX, y: bounds79.centerY }
14788
14896
  });
14789
14897
 
14790
14898
  // symbols/potentiometer_vert.ts
@@ -14947,21 +15055,21 @@ var potentiometer2_default = {
14947
15055
  };
14948
15056
 
14949
15057
  // symbols/potentiometer2_right.ts
14950
- var { paths: paths76, texts: texts85, bounds: bounds76, refblocks: refblocks76 } = potentiometer2_default;
15058
+ var { paths: paths80, texts: texts89, bounds: bounds80, refblocks: refblocks80 } = potentiometer2_default;
14951
15059
  var potentiometer2_right_default = defineSymbol({
14952
15060
  primitives: [
14953
- ...Object.values(paths76),
14954
- { ...texts85.bottom1, x: 0, y: -0.35, anchor: "middle_top" },
14955
- { ...texts85.top1, x: 0, y: 0.35, anchor: "middle_bottom" }
15061
+ ...Object.values(paths80),
15062
+ { ...texts89.bottom1, x: 0, y: -0.35, anchor: "middle_top" },
15063
+ { ...texts89.top1, x: 0, y: 0.35, anchor: "middle_bottom" }
14956
15064
  ],
14957
15065
  ports: [
14958
- { ...refblocks76.left1, labels: ["1"] },
15066
+ { ...refblocks80.left1, labels: ["1"] },
14959
15067
  // TODO add more "standard" labels
14960
- { ...refblocks76.right1, labels: ["2"] }
15068
+ { ...refblocks80.right1, labels: ["2"] }
14961
15069
  // TODO add more "standard" labels
14962
15070
  ],
14963
- size: { width: bounds76.width + 0.05, height: bounds76.height },
14964
- center: { x: bounds76.centerX, y: bounds76.centerY }
15071
+ size: { width: bounds80.width + 0.05, height: bounds80.height },
15072
+ center: { x: bounds80.centerX, y: bounds80.centerY }
14965
15073
  });
14966
15074
 
14967
15075
  // symbols/potentiometer2_down.ts
@@ -15206,11 +15314,11 @@ var power_factor_meter_default = {
15206
15314
  };
15207
15315
 
15208
15316
  // symbols/power_factor_meter_horz.ts
15209
- var { paths: paths77, texts: texts86, bounds: bounds77, refblocks: refblocks77, circles: circles71 } = power_factor_meter_default;
15317
+ var { paths: paths81, texts: texts90, bounds: bounds81, refblocks: refblocks81, circles: circles75 } = power_factor_meter_default;
15210
15318
  var power_factor_meter_horz_default = defineSymbol({
15211
15319
  primitives: [
15212
- ...Object.values(paths77),
15213
- ...Object.values(circles71),
15320
+ ...Object.values(paths81),
15321
+ ...Object.values(circles75),
15214
15322
  // { ...texts.top1, anchor: "middle_left" },
15215
15323
  {
15216
15324
  type: "text",
@@ -15237,21 +15345,21 @@ var power_factor_meter_horz_default = defineSymbol({
15237
15345
  }
15238
15346
  ],
15239
15347
  ports: [
15240
- { ...refblocks77.left1, labels: ["1"] },
15348
+ { ...refblocks81.left1, labels: ["1"] },
15241
15349
  // TODO add more "standard" labels
15242
- { ...refblocks77.right1, labels: ["2"] }
15350
+ { ...refblocks81.right1, labels: ["2"] }
15243
15351
  // TODO add more "standard" labels
15244
15352
  ],
15245
- size: { width: bounds77.width, height: bounds77.height },
15246
- center: { x: bounds77.centerX, y: bounds77.centerY }
15353
+ size: { width: bounds81.width, height: bounds81.height },
15354
+ center: { x: bounds81.centerX, y: bounds81.centerY }
15247
15355
  });
15248
15356
 
15249
15357
  // symbols/power_factor_meter_vert.ts
15250
15358
  var rotatedSymbol13 = rotateSymbol(power_factor_meter_horz_default);
15251
- var texts87 = rotatedSymbol13.primitives.filter((p) => p.type === "text");
15252
- var ref37 = texts87.find((t) => t.text === "{REF}");
15253
- var val36 = texts87.find((t) => t.text === "{VAL}");
15254
- var text_cos = texts87.find((t) => t.text === "COS \u03C6");
15359
+ var texts91 = rotatedSymbol13.primitives.filter((p) => p.type === "text");
15360
+ var ref37 = texts91.find((t) => t.text === "{REF}");
15361
+ var val36 = texts91.find((t) => t.text === "{VAL}");
15362
+ var text_cos = texts91.find((t) => t.text === "COS \u03C6");
15255
15363
  ref37.x = 0.35;
15256
15364
  ref37.y = 0;
15257
15365
  ref37.anchor = "middle_left";
@@ -15382,22 +15490,22 @@ var push_button_normally_closed_momentary_default = {
15382
15490
  };
15383
15491
 
15384
15492
  // symbols/push_button_normally_closed_momentary_horz.ts
15385
- var { paths: paths78, texts: texts88, bounds: bounds78, refblocks: refblocks78, circles: circles72 } = push_button_normally_closed_momentary_default;
15493
+ var { paths: paths82, texts: texts92, bounds: bounds82, refblocks: refblocks82, circles: circles76 } = push_button_normally_closed_momentary_default;
15386
15494
  var push_button_normally_closed_momentary_horz_default = defineSymbol({
15387
15495
  primitives: [
15388
- ...Object.values(paths78),
15389
- ...Object.values(circles72),
15390
- { ...texts88.top1, anchor: "middle_left" },
15391
- { ...texts88.bottom1, anchor: "middle_left" }
15496
+ ...Object.values(paths82),
15497
+ ...Object.values(circles76),
15498
+ { ...texts92.top1, anchor: "middle_left" },
15499
+ { ...texts92.bottom1, anchor: "middle_left" }
15392
15500
  ],
15393
15501
  ports: [
15394
- { ...refblocks78.left1, labels: ["1"] },
15502
+ { ...refblocks82.left1, labels: ["1"] },
15395
15503
  // TODO add more "standard" labels
15396
- { ...refblocks78.right1, labels: ["2"] }
15504
+ { ...refblocks82.right1, labels: ["2"] }
15397
15505
  // TODO add more "standard" labels
15398
15506
  ],
15399
- size: { width: bounds78.width, height: bounds78.height },
15400
- center: { x: bounds78.centerX, y: bounds78.centerY }
15507
+ size: { width: bounds82.width, height: bounds82.height },
15508
+ center: { x: bounds82.centerX, y: bounds82.centerY }
15401
15509
  });
15402
15510
 
15403
15511
  // symbols/push_button_normally_closed_momentary_vert.ts
@@ -15552,22 +15660,22 @@ var push_button_normally_open_momentary_default = {
15552
15660
  };
15553
15661
 
15554
15662
  // symbols/push_button_normally_open_momentary_horz.ts
15555
- var { paths: paths79, texts: texts89, bounds: bounds79, refblocks: refblocks79, circles: circles73 } = push_button_normally_open_momentary_default;
15663
+ var { paths: paths83, texts: texts93, bounds: bounds83, refblocks: refblocks83, circles: circles77 } = push_button_normally_open_momentary_default;
15556
15664
  var push_button_normally_open_momentary_horz_default = defineSymbol({
15557
15665
  primitives: [
15558
- ...Object.values(paths79),
15559
- ...Object.values(circles73),
15560
- { ...texts89.top1, anchor: "middle_left" },
15561
- { ...texts89.bottom1, anchor: "middle_left" }
15666
+ ...Object.values(paths83),
15667
+ ...Object.values(circles77),
15668
+ { ...texts93.top1, anchor: "middle_left" },
15669
+ { ...texts93.bottom1, anchor: "middle_left" }
15562
15670
  ],
15563
15671
  ports: [
15564
- { ...refblocks79.left1, labels: ["1"] },
15672
+ { ...refblocks83.left1, labels: ["1"] },
15565
15673
  // TODO add more "standard" labels
15566
- { ...refblocks79.right1, labels: ["2"] }
15674
+ { ...refblocks83.right1, labels: ["2"] }
15567
15675
  // TODO add more "standard" labels
15568
15676
  ],
15569
- size: { width: bounds79.width, height: bounds79.height },
15570
- center: { x: bounds79.centerX, y: bounds79.centerY }
15677
+ size: { width: bounds83.width, height: bounds83.height },
15678
+ center: { x: bounds83.centerX, y: bounds83.centerY }
15571
15679
  });
15572
15680
 
15573
15681
  // symbols/push_button_normally_open_momentary_vert.ts
@@ -15983,26 +16091,26 @@ var rectifier_diode_default = {
15983
16091
  };
15984
16092
 
15985
16093
  // symbols/rectifier_diode_horz.ts
15986
- var { paths: paths80, texts: texts90, bounds: bounds80, refblocks: refblocks80, circles: circles74 } = rectifier_diode_default;
16094
+ var { paths: paths84, texts: texts94, bounds: bounds84, refblocks: refblocks84, circles: circles78 } = rectifier_diode_default;
15987
16095
  var rectifier_diode_horz_default = defineSymbol({
15988
16096
  primitives: [
15989
- ...Object.values(paths80),
15990
- ...Object.values(circles74),
15991
- { ...texts90.top1, anchor: "middle_right" },
15992
- { ...texts90.bottom1, anchor: "middle_right" }
16097
+ ...Object.values(paths84),
16098
+ ...Object.values(circles78),
16099
+ { ...texts94.top1, anchor: "middle_right" },
16100
+ { ...texts94.bottom1, anchor: "middle_right" }
15993
16101
  ],
15994
16102
  ports: [
15995
- { ...refblocks80.top1, labels: ["1"] },
16103
+ { ...refblocks84.top1, labels: ["1"] },
15996
16104
  // TODO add more "standard" labels
15997
- { ...refblocks80.bottom1, labels: ["2"] },
16105
+ { ...refblocks84.bottom1, labels: ["2"] },
15998
16106
  // TODO add more "standard" labels
15999
- { ...refblocks80.left1, labels: ["3"] },
16107
+ { ...refblocks84.left1, labels: ["3"] },
16000
16108
  // TODO add more "standard" labels
16001
- { ...refblocks80.right1, labels: ["4"] }
16109
+ { ...refblocks84.right1, labels: ["4"] }
16002
16110
  // TODO add more "standard" labels
16003
16111
  ],
16004
- size: { width: bounds80.width, height: bounds80.height },
16005
- center: { x: bounds80.centerX, y: bounds80.centerY }
16112
+ size: { width: bounds84.width, height: bounds84.height },
16113
+ center: { x: bounds84.centerX, y: bounds84.centerY }
16006
16114
  });
16007
16115
 
16008
16116
  // symbols/rectifier_diode_vert.ts
@@ -16224,11 +16332,11 @@ var resistor_default = {
16224
16332
  };
16225
16333
 
16226
16334
  // symbols/resistor_down.ts
16227
- var { paths: paths81, texts: texts91, bounds: bounds81, refblocks: refblocks81, circles: circles75 } = resistor_default;
16335
+ var { paths: paths85, texts: texts95, bounds: bounds85, refblocks: refblocks85, circles: circles79 } = resistor_default;
16228
16336
  var resistor_down_default = modifySymbol({
16229
16337
  primitives: [
16230
- ...Object.values(paths81),
16231
- ...Object.values(circles75),
16338
+ ...Object.values(paths85),
16339
+ ...Object.values(circles79),
16232
16340
  {
16233
16341
  type: "text",
16234
16342
  text: "{REF}",
@@ -16243,21 +16351,21 @@ var resistor_down_default = modifySymbol({
16243
16351
  }
16244
16352
  ],
16245
16353
  ports: [
16246
- { ...refblocks81.left1, labels: ["1"] },
16354
+ { ...refblocks85.left1, labels: ["1"] },
16247
16355
  // TODO add more "standard" labels
16248
- { ...refblocks81.right1, labels: ["2"] }
16356
+ { ...refblocks85.right1, labels: ["2"] }
16249
16357
  // TODO add more "standard" labels
16250
16358
  ],
16251
- size: { width: bounds81.width, height: bounds81.height },
16252
- center: { x: bounds81.centerX, y: bounds81.centerY }
16359
+ size: { width: bounds85.width, height: bounds85.height },
16360
+ center: { x: bounds85.centerX, y: bounds85.centerY }
16253
16361
  }).rotateRightFacingSymbol("down").labelPort("left", ["1"]).labelPort("right", ["2"]).changeTextAnchor("{REF}", "middle_left").changeTextAnchor("{VAL}", "middle_left").build();
16254
16362
 
16255
16363
  // symbols/resistor_left.ts
16256
- var { paths: paths82, texts: texts92, bounds: bounds82, refblocks: refblocks82, circles: circles76 } = resistor_default;
16364
+ var { paths: paths86, texts: texts96, bounds: bounds86, refblocks: refblocks86, circles: circles80 } = resistor_default;
16257
16365
  var resistor_left_default = modifySymbol({
16258
16366
  primitives: [
16259
- ...Object.values(paths82),
16260
- ...Object.values(circles76),
16367
+ ...Object.values(paths86),
16368
+ ...Object.values(circles80),
16261
16369
  {
16262
16370
  type: "text",
16263
16371
  text: "{REF}",
@@ -16272,21 +16380,21 @@ var resistor_left_default = modifySymbol({
16272
16380
  }
16273
16381
  ],
16274
16382
  ports: [
16275
- { ...refblocks82.left1, labels: ["1"] },
16383
+ { ...refblocks86.left1, labels: ["1"] },
16276
16384
  // TODO add more "standard" labels
16277
- { ...refblocks82.right1, labels: ["2"] }
16385
+ { ...refblocks86.right1, labels: ["2"] }
16278
16386
  // TODO add more "standard" labels
16279
16387
  ],
16280
- size: { width: bounds82.width, height: bounds82.height },
16281
- center: { x: bounds82.centerX, y: bounds82.centerY }
16388
+ size: { width: bounds86.width, height: bounds86.height },
16389
+ center: { x: bounds86.centerX, y: bounds86.centerY }
16282
16390
  }).rotateRightFacingSymbol("left").labelPort("left", ["1"]).labelPort("right", ["2"]).changeTextAnchor("{REF}", "middle_bottom").changeTextAnchor("{VAL}", "middle_top").build();
16283
16391
 
16284
16392
  // symbols/resistor_right.ts
16285
- var { paths: paths83, texts: texts93, bounds: bounds83, refblocks: refblocks83, circles: circles77 } = resistor_default;
16393
+ var { paths: paths87, texts: texts97, bounds: bounds87, refblocks: refblocks87, circles: circles81 } = resistor_default;
16286
16394
  var resistor_right_default = modifySymbol({
16287
16395
  primitives: [
16288
- ...Object.values(paths83),
16289
- ...Object.values(circles77),
16396
+ ...Object.values(paths87),
16397
+ ...Object.values(circles81),
16290
16398
  {
16291
16399
  type: "text",
16292
16400
  text: "{REF}",
@@ -16301,21 +16409,21 @@ var resistor_right_default = modifySymbol({
16301
16409
  }
16302
16410
  ],
16303
16411
  ports: [
16304
- { ...refblocks83.left1, labels: ["1"] },
16412
+ { ...refblocks87.left1, labels: ["1"] },
16305
16413
  // TODO add more "standard" labels
16306
- { ...refblocks83.right1, labels: ["2"] }
16414
+ { ...refblocks87.right1, labels: ["2"] }
16307
16415
  // TODO add more "standard" labels
16308
16416
  ],
16309
- size: { width: bounds83.width, height: bounds83.height },
16310
- center: { x: bounds83.centerX, y: bounds83.centerY }
16417
+ size: { width: bounds87.width, height: bounds87.height },
16418
+ center: { x: bounds87.centerX, y: bounds87.centerY }
16311
16419
  }).rotateRightFacingSymbol("right").labelPort("left", ["1"]).labelPort("right", ["2"]).changeTextAnchor("{REF}", "middle_bottom").changeTextAnchor("{VAL}", "middle_top").build();
16312
16420
 
16313
16421
  // symbols/resistor_up.ts
16314
- var { paths: paths84, texts: texts94, bounds: bounds84, refblocks: refblocks84, circles: circles78 } = resistor_default;
16422
+ var { paths: paths88, texts: texts98, bounds: bounds88, refblocks: refblocks88, circles: circles82 } = resistor_default;
16315
16423
  var resistor_up_default = modifySymbol({
16316
16424
  primitives: [
16317
- ...Object.values(paths84),
16318
- ...Object.values(circles78),
16425
+ ...Object.values(paths88),
16426
+ ...Object.values(circles82),
16319
16427
  {
16320
16428
  type: "text",
16321
16429
  text: "{REF}",
@@ -16330,13 +16438,13 @@ var resistor_up_default = modifySymbol({
16330
16438
  }
16331
16439
  ],
16332
16440
  ports: [
16333
- { ...refblocks84.left1, labels: ["1"] },
16441
+ { ...refblocks88.left1, labels: ["1"] },
16334
16442
  // TODO add more "standard" labels
16335
- { ...refblocks84.right1, labels: ["2"] }
16443
+ { ...refblocks88.right1, labels: ["2"] }
16336
16444
  // TODO add more "standard" labels
16337
16445
  ],
16338
- size: { width: bounds84.width, height: bounds84.height },
16339
- center: { x: bounds84.centerX, y: bounds84.centerY }
16446
+ size: { width: bounds88.width, height: bounds88.height },
16447
+ center: { x: bounds88.centerX, y: bounds88.centerY }
16340
16448
  }).rotateRightFacingSymbol("up").labelPort("left", ["1"]).labelPort("right", ["2"]).changeTextAnchor("{REF}", "middle_left").changeTextAnchor("{VAL}", "middle_left").build();
16341
16449
 
16342
16450
  // assets/generated/resonator.json
@@ -16685,11 +16793,11 @@ var resonator_default = {
16685
16793
  };
16686
16794
 
16687
16795
  // symbols/resonator_horz.ts
16688
- var { paths: paths85, texts: texts95, bounds: bounds85, refblocks: refblocks85, circles: circles79 } = resonator_default;
16796
+ var { paths: paths89, texts: texts99, bounds: bounds89, refblocks: refblocks89, circles: circles83 } = resonator_default;
16689
16797
  var resonator_horz_default = defineSymbol({
16690
16798
  primitives: [
16691
- ...Object.values(paths85),
16692
- ...Object.values(circles79),
16799
+ ...Object.values(paths89),
16800
+ ...Object.values(circles83),
16693
16801
  // { ...texts.top1, anchor: "middle_left" },
16694
16802
  // { ...texts.bottom1, anchor: "middle_left" },
16695
16803
  {
@@ -16708,15 +16816,15 @@ var resonator_horz_default = defineSymbol({
16708
16816
  }
16709
16817
  ],
16710
16818
  ports: [
16711
- { ...refblocks85.left1, labels: ["1"] },
16819
+ { ...refblocks89.left1, labels: ["1"] },
16712
16820
  // TODO add more "standard" labels
16713
- { ...refblocks85.right1, labels: ["2"] },
16821
+ { ...refblocks89.right1, labels: ["2"] },
16714
16822
  // TODO add more "standard" labels
16715
- { ...refblocks85.right2, labels: ["3"] }
16823
+ { ...refblocks89.right2, labels: ["3"] }
16716
16824
  // TODO add more "standard" labels
16717
16825
  ],
16718
- size: { width: bounds85.width, height: bounds85.height },
16719
- center: { x: bounds85.centerX, y: bounds85.centerY }
16826
+ size: { width: bounds89.width, height: bounds89.height },
16827
+ center: { x: bounds89.centerX, y: bounds89.centerY }
16720
16828
  });
16721
16829
 
16722
16830
  // symbols/resonator_vert.ts
@@ -17108,15 +17216,15 @@ var silicon_controlled_rectifier_default = {
17108
17216
  };
17109
17217
 
17110
17218
  // symbols/silicon_controlled_rectifier_horz.ts
17111
- var { paths: paths86, texts: texts96, bounds: bounds86, refblocks: refblocks86, circles: circles80 } = silicon_controlled_rectifier_default;
17219
+ var { paths: paths90, texts: texts100, bounds: bounds90, refblocks: refblocks90, circles: circles84 } = silicon_controlled_rectifier_default;
17112
17220
  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();
17113
17221
 
17114
17222
  // symbols/silicon_controlled_rectifier_vert.ts
17115
17223
  var rotatedSymbol14 = rotateSymbol(silicon_controlled_rectifier_horz_default);
17116
- var texts97 = rotatedSymbol14.primitives.filter(
17224
+ var texts101 = rotatedSymbol14.primitives.filter(
17117
17225
  (primitive) => primitive.type === "text"
17118
17226
  );
17119
- var ref42 = texts97.find((text) => text.text === "{REF}");
17227
+ var ref42 = texts101.find((text) => text.text === "{REF}");
17120
17228
  ref42.y = 0;
17121
17229
  ref42.anchor = "middle_left";
17122
17230
  var silicon_controlled_rectifier_vert_default = rotatedSymbol14;
@@ -20676,7 +20784,7 @@ var step_recovery_diode_default = {
20676
20784
  };
20677
20785
 
20678
20786
  // symbols/step_recovery_diode_horz.ts
20679
- var { paths: paths87, texts: texts98, bounds: bounds87, refblocks: refblocks87, circles: circles81 } = step_recovery_diode_default;
20787
+ var { paths: paths91, texts: texts102, bounds: bounds91, refblocks: refblocks91, circles: circles85 } = step_recovery_diode_default;
20680
20788
  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();
20681
20789
 
20682
20790
  // symbols/step_recovery_diode_vert.ts
@@ -20769,11 +20877,11 @@ var tachometer_default = {
20769
20877
  };
20770
20878
 
20771
20879
  // symbols/tachometer_horz.ts
20772
- var { paths: paths88, texts: texts99, bounds: bounds88, refblocks: refblocks88, circles: circles82 } = tachometer_default;
20880
+ var { paths: paths92, texts: texts103, bounds: bounds92, refblocks: refblocks92, circles: circles86 } = tachometer_default;
20773
20881
  var tachometer_horz_default = defineSymbol({
20774
20882
  primitives: [
20775
- ...Object.values(paths88),
20776
- ...Object.values(circles82),
20883
+ ...Object.values(paths92),
20884
+ ...Object.values(circles86),
20777
20885
  {
20778
20886
  type: "text",
20779
20887
  text: "{REF}",
@@ -20788,16 +20896,16 @@ var tachometer_horz_default = defineSymbol({
20788
20896
  y: 0.35,
20789
20897
  anchor: "middle_bottom"
20790
20898
  },
20791
- { ...texts99.left1, y: 0.01, anchor: "center", fontSize: 0.2 }
20899
+ { ...texts103.left1, y: 0.01, anchor: "center", fontSize: 0.2 }
20792
20900
  ],
20793
20901
  ports: [
20794
- { ...refblocks88.left1, labels: ["1"] },
20902
+ { ...refblocks92.left1, labels: ["1"] },
20795
20903
  // TODO add more "standard" labels
20796
- { ...refblocks88.right1, labels: ["2"] }
20904
+ { ...refblocks92.right1, labels: ["2"] }
20797
20905
  // TODO add more "standard" labels
20798
20906
  ],
20799
- size: { width: bounds88.width, height: bounds88.height },
20800
- center: { x: bounds88.centerX, y: bounds88.centerY }
20907
+ size: { width: bounds92.width, height: bounds92.height },
20908
+ center: { x: bounds92.centerX, y: bounds92.centerY }
20801
20909
  });
20802
20910
 
20803
20911
  // symbols/tachometer_vert.ts
@@ -21219,16 +21327,16 @@ var triac_default = {
21219
21327
  };
21220
21328
 
21221
21329
  // symbols/triac_horz.ts
21222
- var { paths: paths89, texts: texts100, bounds: bounds89, refblocks: refblocks89, circles: circles83 } = triac_default;
21330
+ var { paths: paths93, texts: texts104, bounds: bounds93, refblocks: refblocks93, circles: circles87 } = triac_default;
21223
21331
  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();
21224
21332
 
21225
21333
  // symbols/triac_vert.ts
21226
21334
  var rotatedSymbol16 = rotateSymbol(triac_horz_default);
21227
- var texts101 = rotatedSymbol16.primitives.filter(
21335
+ var texts105 = rotatedSymbol16.primitives.filter(
21228
21336
  (primitive) => primitive.type === "text"
21229
21337
  );
21230
- var ref60 = texts101.find((text) => text.text === "{REF}");
21231
- var val56 = texts101.find((text) => text.text === "{VAL}");
21338
+ var ref60 = texts105.find((text) => text.text === "{REF}");
21339
+ var val56 = texts105.find((text) => text.text === "{VAL}");
21232
21340
  ref60.y = 0;
21233
21341
  val56.y = 0;
21234
21342
  var triac_vert_default = rotatedSymbol16;
@@ -21395,22 +21503,22 @@ var tunnel_diode_default = {
21395
21503
  };
21396
21504
 
21397
21505
  // symbols/tunnel_diode_horz.ts
21398
- var { paths: paths90, texts: texts102, bounds: bounds90, refblocks: refblocks90, circles: circles84 } = tunnel_diode_default;
21506
+ var { paths: paths94, texts: texts106, bounds: bounds94, refblocks: refblocks94, circles: circles88 } = tunnel_diode_default;
21399
21507
  var tunnel_diode_horz_default = defineSymbol({
21400
21508
  primitives: [
21401
- ...Object.values(paths90),
21402
- ...Object.values(circles84),
21403
- { ...texts102.top1, anchor: "middle_bottom" },
21404
- { ...texts102.bottom1, anchor: "middle_top" }
21509
+ ...Object.values(paths94),
21510
+ ...Object.values(circles88),
21511
+ { ...texts106.top1, anchor: "middle_bottom" },
21512
+ { ...texts106.bottom1, anchor: "middle_top" }
21405
21513
  ],
21406
21514
  ports: [
21407
- { ...refblocks90.left1, labels: ["1"] },
21515
+ { ...refblocks94.left1, labels: ["1"] },
21408
21516
  // TODO add more "standard" labels
21409
- { ...refblocks90.right1, labels: ["2"] }
21517
+ { ...refblocks94.right1, labels: ["2"] }
21410
21518
  // TODO add more "standard" labels
21411
21519
  ],
21412
- size: { width: bounds90.width, height: bounds90.height },
21413
- center: { x: bounds90.centerX, y: bounds90.centerY }
21520
+ size: { width: bounds94.width, height: bounds94.height },
21521
+ center: { x: bounds94.centerX, y: bounds94.centerY }
21414
21522
  });
21415
21523
 
21416
21524
  // symbols/tunnel_diode_vert.ts
@@ -21593,34 +21701,34 @@ var unijunction_transistor_default = {
21593
21701
  };
21594
21702
 
21595
21703
  // symbols/unijunction_transistor_horz.ts
21596
- var { paths: paths91, texts: texts103, bounds: bounds91, refblocks: refblocks91, circles: circles85 } = unijunction_transistor_default;
21704
+ var { paths: paths95, texts: texts107, bounds: bounds95, refblocks: refblocks95, circles: circles89 } = unijunction_transistor_default;
21597
21705
  var unijunction_transistor_horz_default = defineSymbol({
21598
21706
  primitives: [
21599
- ...Object.values(paths91),
21600
- ...Object.values(circles85),
21601
- { ...texts103.top1, anchor: "middle_left" },
21602
- { ...texts103.bottom1, anchor: "middle_right" }
21707
+ ...Object.values(paths95),
21708
+ ...Object.values(circles89),
21709
+ { ...texts107.top1, anchor: "middle_left" },
21710
+ { ...texts107.bottom1, anchor: "middle_right" }
21603
21711
  ],
21604
21712
  ports: [
21605
- { ...refblocks91.top1, labels: ["1"] },
21713
+ { ...refblocks95.top1, labels: ["1"] },
21606
21714
  // TODO add more "standard" labels
21607
- { ...refblocks91.bottom1, labels: ["2"] },
21715
+ { ...refblocks95.bottom1, labels: ["2"] },
21608
21716
  // TODO add more "standard" labels
21609
- { ...refblocks91.left1, labels: ["3"] }
21717
+ { ...refblocks95.left1, labels: ["3"] }
21610
21718
  // TODO add more "standard" labels
21611
21719
  ],
21612
- size: { width: bounds91.width, height: bounds91.height },
21613
- center: { x: bounds91.centerX, y: bounds91.centerY }
21720
+ size: { width: bounds95.width, height: bounds95.height },
21721
+ center: { x: bounds95.centerX, y: bounds95.centerY }
21614
21722
  });
21615
21723
 
21616
21724
  // symbols/unijunction_transistor_vert.ts
21617
21725
  var rotatedSymbol17 = rotateSymbol(unijunction_transistor_horz_default);
21618
- var texts104 = rotatedSymbol17.primitives.filter(
21726
+ var texts108 = rotatedSymbol17.primitives.filter(
21619
21727
  (primitive) => primitive.type === "text"
21620
21728
  );
21621
- var ref62 = texts104.find((text) => text.text === "{REF}");
21729
+ var ref62 = texts108.find((text) => text.text === "{REF}");
21622
21730
  ref62.y = 0.1;
21623
- var val58 = texts104.find((text) => text.text === "{VAL}");
21731
+ var val58 = texts108.find((text) => text.text === "{VAL}");
21624
21732
  val58.y = 0.1;
21625
21733
  val58.x = -0.4;
21626
21734
  var unijunction_transistor_vert_default = rotatedSymbol17;
@@ -21864,33 +21972,33 @@ var var_meter_default = {
21864
21972
  };
21865
21973
 
21866
21974
  // symbols/var_meter_horz.ts
21867
- var { paths: paths92, texts: texts105, bounds: bounds92, refblocks: refblocks92, circles: circles86 } = var_meter_default;
21975
+ var { paths: paths96, texts: texts109, bounds: bounds96, refblocks: refblocks96, circles: circles90 } = var_meter_default;
21868
21976
  var var_meter_horz_default = defineSymbol({
21869
21977
  primitives: [
21870
- ...Object.values(paths92),
21871
- ...Object.values(circles86),
21978
+ ...Object.values(paths96),
21979
+ ...Object.values(circles90),
21872
21980
  {
21873
- ...texts105.top1,
21981
+ ...texts109.top1,
21874
21982
  x: 0,
21875
21983
  y: -0.3594553499999995,
21876
21984
  anchor: "middle_top"
21877
21985
  },
21878
21986
  {
21879
- ...texts105.bottom1,
21987
+ ...texts109.bottom1,
21880
21988
  x: 0,
21881
21989
  y: 0.35,
21882
21990
  anchor: "middle_bottom"
21883
21991
  },
21884
- { ...texts105.left1, x: -0.02, y: 0.01, fontSize: 0.2, anchor: "center" }
21992
+ { ...texts109.left1, x: -0.02, y: 0.01, fontSize: 0.2, anchor: "center" }
21885
21993
  ],
21886
21994
  ports: [
21887
- { ...refblocks92.left1, labels: ["1"] },
21995
+ { ...refblocks96.left1, labels: ["1"] },
21888
21996
  // TODO add more "standard" labels
21889
- { ...refblocks92.right1, labels: ["2"] }
21997
+ { ...refblocks96.right1, labels: ["2"] }
21890
21998
  // TODO add more "standard" labels
21891
21999
  ],
21892
- size: { width: bounds92.width, height: bounds92.height },
21893
- center: { x: bounds92.centerX, y: bounds92.centerY }
22000
+ size: { width: bounds96.width, height: bounds96.height },
22001
+ center: { x: bounds96.centerX, y: bounds96.centerY }
21894
22002
  });
21895
22003
 
21896
22004
  // symbols/var_meter_vert.ts
@@ -22043,22 +22151,22 @@ var varactor_diode_default = {
22043
22151
  };
22044
22152
 
22045
22153
  // symbols/varactor_diode_horz.ts
22046
- var { paths: paths93, texts: texts106, bounds: bounds93, refblocks: refblocks93, circles: circles87 } = varactor_diode_default;
22154
+ var { paths: paths97, texts: texts110, bounds: bounds97, refblocks: refblocks97, circles: circles91 } = varactor_diode_default;
22047
22155
  var varactor_diode_horz_default = defineSymbol({
22048
22156
  primitives: [
22049
- ...Object.values(paths93),
22050
- ...Object.values(circles87),
22051
- { ...texts106.top1, anchor: "middle_bottom" },
22052
- { ...texts106.bottom1, anchor: "middle_top" }
22157
+ ...Object.values(paths97),
22158
+ ...Object.values(circles91),
22159
+ { ...texts110.top1, anchor: "middle_bottom" },
22160
+ { ...texts110.bottom1, anchor: "middle_top" }
22053
22161
  ],
22054
22162
  ports: [
22055
- { ...refblocks93.left1, labels: ["1"] },
22163
+ { ...refblocks97.left1, labels: ["1"] },
22056
22164
  // TODO add more "standard" labels
22057
- { ...refblocks93.right1, labels: ["2"] }
22165
+ { ...refblocks97.right1, labels: ["2"] }
22058
22166
  // TODO add more "standard" labels
22059
22167
  ],
22060
- size: { width: bounds93.width, height: bounds93.height },
22061
- center: { x: bounds93.centerX, y: bounds93.centerY }
22168
+ size: { width: bounds97.width, height: bounds97.height },
22169
+ center: { x: bounds97.centerX, y: bounds97.centerY }
22062
22170
  });
22063
22171
 
22064
22172
  // symbols/varactor_diode_vert.ts
@@ -22206,26 +22314,26 @@ var varistor_default = {
22206
22314
  };
22207
22315
 
22208
22316
  // symbols/varistor_horz.ts
22209
- var { paths: paths94, texts: texts107, bounds: bounds94, refblocks: refblocks94 } = varistor_default;
22317
+ var { paths: paths98, texts: texts111, bounds: bounds98, refblocks: refblocks98 } = varistor_default;
22210
22318
  var varistor_horz_default = defineSymbol({
22211
22319
  primitives: [
22212
- ...Object.values(paths94),
22213
- { ...texts107.top1, anchor: "middle_left" },
22214
- { ...texts107.bottom1, anchor: "middle_right" }
22320
+ ...Object.values(paths98),
22321
+ { ...texts111.top1, anchor: "middle_left" },
22322
+ { ...texts111.bottom1, anchor: "middle_right" }
22215
22323
  ],
22216
22324
  ports: [
22217
22325
  {
22218
- ...refblocks94.left1,
22326
+ ...refblocks98.left1,
22219
22327
  labels: ["1", "-"]
22220
22328
  },
22221
22329
  {
22222
- ...refblocks94.right1,
22330
+ ...refblocks98.right1,
22223
22331
  labels: ["2", "+"]
22224
22332
  }
22225
22333
  ],
22226
- size: { width: bounds94.width, height: bounds94.height },
22334
+ size: { width: bounds98.width, height: bounds98.height },
22227
22335
  //{ width: 1, height: 0.24 },
22228
- center: { x: bounds94.centerX, y: bounds94.centerY }
22336
+ center: { x: bounds98.centerX, y: bounds98.centerY }
22229
22337
  });
22230
22338
 
22231
22339
  // symbols/varistor_vert.ts
@@ -22318,11 +22426,11 @@ var varmeter_default = {
22318
22426
  };
22319
22427
 
22320
22428
  // symbols/varmeter_horz.ts
22321
- var { paths: paths95, texts: texts108, bounds: bounds95, refblocks: refblocks95, circles: circles88 } = varmeter_default;
22429
+ var { paths: paths99, texts: texts112, bounds: bounds99, refblocks: refblocks99, circles: circles92 } = varmeter_default;
22322
22430
  var varmeter_horz_default = defineSymbol({
22323
22431
  primitives: [
22324
- ...Object.values(paths95),
22325
- ...Object.values(circles88),
22432
+ ...Object.values(paths99),
22433
+ ...Object.values(circles92),
22326
22434
  {
22327
22435
  type: "text",
22328
22436
  text: "{REF}",
@@ -22337,16 +22445,16 @@ var varmeter_horz_default = defineSymbol({
22337
22445
  y: 0.35,
22338
22446
  anchor: "middle_bottom"
22339
22447
  },
22340
- { ...texts108.left1, anchor: "center", y: 0.02, fontSize: 0.2 }
22448
+ { ...texts112.left1, anchor: "center", y: 0.02, fontSize: 0.2 }
22341
22449
  ],
22342
22450
  ports: [
22343
- { ...refblocks95.left1, labels: ["1"] },
22451
+ { ...refblocks99.left1, labels: ["1"] },
22344
22452
  // TODO add more "standard" labels
22345
- { ...refblocks95.right1, labels: ["2"] }
22453
+ { ...refblocks99.right1, labels: ["2"] }
22346
22454
  // TODO add more "standard" labels
22347
22455
  ],
22348
- size: { width: bounds95.width, height: bounds95.height },
22349
- center: { x: bounds95.centerX, y: bounds95.centerY }
22456
+ size: { width: bounds99.width, height: bounds99.height },
22457
+ center: { x: bounds99.centerX, y: bounds99.centerY }
22350
22458
  });
22351
22459
 
22352
22460
  // symbols/varmeter_vert.ts
@@ -22551,7 +22659,7 @@ var volt_meter_default = {
22551
22659
  };
22552
22660
 
22553
22661
  // symbols/volt_meter_horz.ts
22554
- var { paths: paths96, texts: texts109, bounds: bounds96, circles: circles89, refblocks: refblocks96 } = volt_meter_default;
22662
+ var { paths: paths100, texts: texts113, bounds: bounds100, circles: circles93, refblocks: refblocks100 } = volt_meter_default;
22555
22663
  var volt_meter_horz_default = modifySymbol(volt_meter_default).changeTextAnchor("{VAL}", "middle_top").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_bottom").build();
22556
22664
 
22557
22665
  // symbols/volt_meter_vert.ts
@@ -22644,11 +22752,11 @@ var watt_hour_meter_default = {
22644
22752
  };
22645
22753
 
22646
22754
  // symbols/watt_hour_meter_horz.ts
22647
- var { paths: paths97, texts: texts110, bounds: bounds97, refblocks: refblocks97, circles: circles90 } = watt_hour_meter_default;
22755
+ var { paths: paths101, texts: texts114, bounds: bounds101, refblocks: refblocks101, circles: circles94 } = watt_hour_meter_default;
22648
22756
  var watt_hour_meter_horz_default = defineSymbol({
22649
22757
  primitives: [
22650
- ...Object.values(paths97),
22651
- ...Object.values(circles90),
22758
+ ...Object.values(paths101),
22759
+ ...Object.values(circles94),
22652
22760
  {
22653
22761
  type: "text",
22654
22762
  text: "{REF}",
@@ -22663,16 +22771,16 @@ var watt_hour_meter_horz_default = defineSymbol({
22663
22771
  y: 0.35,
22664
22772
  anchor: "middle_bottom"
22665
22773
  },
22666
- { ...texts110.left1, anchor: "center", y: 0.01, fontSize: 0.2 }
22774
+ { ...texts114.left1, anchor: "center", y: 0.01, fontSize: 0.2 }
22667
22775
  ],
22668
22776
  ports: [
22669
- { ...refblocks97.left1, labels: ["1"] },
22777
+ { ...refblocks101.left1, labels: ["1"] },
22670
22778
  // TODO add more "standard" labels
22671
- { ...refblocks97.right1, labels: ["2"] }
22779
+ { ...refblocks101.right1, labels: ["2"] }
22672
22780
  // TODO add more "standard" labels
22673
22781
  ],
22674
- size: { width: bounds97.width, height: bounds97.height },
22675
- center: { x: bounds97.centerX, y: bounds97.centerY }
22782
+ size: { width: bounds101.width, height: bounds101.height },
22783
+ center: { x: bounds101.centerX, y: bounds101.centerY }
22676
22784
  });
22677
22785
 
22678
22786
  // symbols/watt_hour_meter_vert.ts
@@ -22776,11 +22884,11 @@ var wattmeter_default = {
22776
22884
  };
22777
22885
 
22778
22886
  // symbols/wattmeter_horz.ts
22779
- var { paths: paths98, texts: texts111, bounds: bounds98, refblocks: refblocks98, circles: circles91 } = wattmeter_default;
22887
+ var { paths: paths102, texts: texts115, bounds: bounds102, refblocks: refblocks102, circles: circles95 } = wattmeter_default;
22780
22888
  var wattmeter_horz_default = defineSymbol({
22781
22889
  primitives: [
22782
- ...Object.values(paths98),
22783
- ...Object.values(circles91),
22890
+ ...Object.values(paths102),
22891
+ ...Object.values(circles95),
22784
22892
  {
22785
22893
  type: "text",
22786
22894
  text: "{REF}",
@@ -22795,16 +22903,16 @@ var wattmeter_horz_default = defineSymbol({
22795
22903
  y: 0.35,
22796
22904
  anchor: "middle_bottom"
22797
22905
  },
22798
- { ...texts111.left1, anchor: "center", y: 0.01, fontSize: 0.3 }
22906
+ { ...texts115.left1, anchor: "center", y: 0.01, fontSize: 0.3 }
22799
22907
  ],
22800
22908
  ports: [
22801
- { ...refblocks98.left1, labels: ["1"] },
22909
+ { ...refblocks102.left1, labels: ["1"] },
22802
22910
  // TODO add more "standard" labels
22803
- { ...refblocks98.right1, labels: ["2"] }
22911
+ { ...refblocks102.right1, labels: ["2"] }
22804
22912
  // TODO add more "standard" labels
22805
22913
  ],
22806
- size: { width: bounds98.width, height: bounds98.height },
22807
- center: { x: bounds98.centerX, y: bounds98.centerY }
22914
+ size: { width: bounds102.width, height: bounds102.height },
22915
+ center: { x: bounds102.centerX, y: bounds102.centerY }
22808
22916
  });
22809
22917
 
22810
22918
  // symbols/wattmeter_vert.ts
@@ -22968,22 +23076,22 @@ var zener_diode_default = {
22968
23076
  };
22969
23077
 
22970
23078
  // symbols/zener_diode_horz.ts
22971
- var { paths: paths99, texts: texts112, bounds: bounds99, refblocks: refblocks99, circles: circles92 } = zener_diode_default;
23079
+ var { paths: paths103, texts: texts116, bounds: bounds103, refblocks: refblocks103, circles: circles96 } = zener_diode_default;
22972
23080
  var zener_diode_horz_default = defineSymbol({
22973
23081
  primitives: [
22974
- ...Object.values(paths99),
22975
- ...Object.values(circles92),
22976
- { ...texts112.top1, anchor: "middle_bottom" },
22977
- { ...texts112.bottom1, anchor: "middle_top" }
23082
+ ...Object.values(paths103),
23083
+ ...Object.values(circles96),
23084
+ { ...texts116.top1, anchor: "middle_bottom" },
23085
+ { ...texts116.bottom1, anchor: "middle_top" }
22978
23086
  ],
22979
23087
  ports: [
22980
- { ...refblocks99.left1, labels: ["1"] },
23088
+ { ...refblocks103.left1, labels: ["1"] },
22981
23089
  // TODO add more "standard" labels
22982
- { ...refblocks99.right1, labels: ["2"] }
23090
+ { ...refblocks103.right1, labels: ["2"] }
22983
23091
  // TODO add more "standard" labels
22984
23092
  ],
22985
- size: { width: bounds99.width, height: bounds99.height },
22986
- center: { x: bounds99.centerX, y: bounds99.centerY }
23093
+ size: { width: bounds103.width, height: bounds103.height },
23094
+ center: { x: bounds103.centerX, y: bounds103.centerY }
22987
23095
  });
22988
23096
 
22989
23097
  // symbols/zener_diode_vert.ts
@@ -23038,7 +23146,11 @@ var symbols_index_default = {
23038
23146
  "capacitor_polarized_up": capacitor_polarized_up_default,
23039
23147
  "capacitor_right": capacitor_right_default,
23040
23148
  "capacitor_up": capacitor_up_default,
23149
+ "constant_current_diode_down": constant_current_diode_down_default,
23041
23150
  "constant_current_diode_horz": constant_current_diode_horz_default,
23151
+ "constant_current_diode_left": constant_current_diode_left_default,
23152
+ "constant_current_diode_right": constant_current_diode_right_default,
23153
+ "constant_current_diode_up": constant_current_diode_up_default,
23042
23154
  "constant_current_diode_vert": constant_current_diode_vert_default,
23043
23155
  "crystal_4pin_down": crystal_4pin_down_default,
23044
23156
  "crystal_4pin_left": crystal_4pin_left_default,