schematic-symbols 0.0.116 → 0.0.118
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.d.ts
CHANGED
@@ -199,6 +199,10 @@ declare const _default: {
|
|
199
199
|
potentiometer_vert: undefined;
|
200
200
|
potentiometer2_horz: undefined;
|
201
201
|
potentiometer2_vert: undefined;
|
202
|
+
potentiometer3_down: undefined;
|
203
|
+
potentiometer3_left: undefined;
|
204
|
+
potentiometer3_right: undefined;
|
205
|
+
potentiometer3_up: undefined;
|
202
206
|
power_factor_meter_horz: undefined;
|
203
207
|
power_factor_meter_vert: undefined;
|
204
208
|
push_button_normally_closed_momentary_horz: undefined;
|
@@ -277,7 +281,7 @@ declare const _default: {
|
|
277
281
|
zener_diode_vert: undefined;
|
278
282
|
};
|
279
283
|
|
280
|
-
type BaseSymbolName = "ac_voltmeter" | "avalanche_diode" | "battery" | "boxresistor" | "capacitor" | "capacitor_polarized" | "constant_current_diode" | "crystal_4pin" | "crystal" | "darlington_pair_transistor" | "dc_ammeter" | "dc_voltmeter" | "diac" | "diode" | "dpdt_switch" | "dpst_switch" | "filled_diode" | "frequency_meter" | "fuse" | "ground" | "gunn_diode" | "igbt_transistor" | "illuminated_push_button_normally_open" | "inductor" | "laser_diode" | "led" | "light_dependent_resistor" | "mosfet_depletion_normally_on" | "mushroom_head_normally_open_momentary" | "n_channel_d_mosfet_transistor" | "n_channel_e_mosfet_transistor" | "njfet_transistor" | "npn_bipolar_transistor" | "opamp_no_power" | "opamp_with_power" | "p_channel_d_mosfet_transistor" | "p_channel_e_mosfet_transistor" | "photodiode" | "pjfet_transistor" | "pnp_bipolar_transistor" | "potentiometer" | "potentiometer2" | "power_factor_meter" | "push_button_normally_closed_momentary" | "push_button_normally_open_momentary" | "rectifier_diode" | "resonator" | "schottky_diode" | "silicon_controlled_rectifier" | "SPDT_switch" | "SPST_switch" | "step_recovery_diode" | "tachometer" | "triac" | "tunnel_diode" | "unijunction_transistor" | "var_meter" | "varactor_diode" | "varistor" | "varmeter" | "volt_meter" | "watt_hour_meter" | "wattmeter" | "zener_diode";
|
284
|
+
type BaseSymbolName = "ac_voltmeter" | "avalanche_diode" | "battery" | "boxresistor" | "capacitor" | "capacitor_polarized" | "constant_current_diode" | "crystal_4pin" | "crystal" | "darlington_pair_transistor" | "dc_ammeter" | "dc_voltmeter" | "diac" | "diode" | "dpdt_switch" | "dpst_switch" | "filled_diode" | "frequency_meter" | "fuse" | "ground" | "gunn_diode" | "igbt_transistor" | "illuminated_push_button_normally_open" | "inductor" | "laser_diode" | "led" | "light_dependent_resistor" | "mosfet_depletion_normally_on" | "mushroom_head_normally_open_momentary" | "n_channel_d_mosfet_transistor" | "n_channel_e_mosfet_transistor" | "njfet_transistor" | "npn_bipolar_transistor" | "opamp_no_power" | "opamp_with_power" | "p_channel_d_mosfet_transistor" | "p_channel_e_mosfet_transistor" | "photodiode" | "pjfet_transistor" | "pnp_bipolar_transistor" | "potentiometer" | "potentiometer2" | "potentiometer3" | "power_factor_meter" | "push_button_normally_closed_momentary" | "push_button_normally_open_momentary" | "rectifier_diode" | "resonator" | "schottky_diode" | "silicon_controlled_rectifier" | "SPDT_switch" | "SPST_switch" | "step_recovery_diode" | "tachometer" | "triac" | "tunnel_diode" | "unijunction_transistor" | "var_meter" | "varactor_diode" | "varistor" | "varmeter" | "volt_meter" | "watt_hour_meter" | "wattmeter" | "zener_diode";
|
281
285
|
|
282
286
|
/**
|
283
287
|
* Utility for easier autocomplete:
|
package/dist/index.js
CHANGED
@@ -1249,7 +1249,7 @@ var capacitor_polarized_default = {
|
|
1249
1249
|
type: "path",
|
1250
1250
|
points: [
|
1251
1251
|
{
|
1252
|
-
x: 0.
|
1252
|
+
x: 0.4511331000000005,
|
1253
1253
|
y: 0.017283050000003186
|
1254
1254
|
},
|
1255
1255
|
{
|
@@ -2980,11 +2980,11 @@ var capacitor_polarized_default = {
|
|
2980
2980
|
},
|
2981
2981
|
refblocks: {
|
2982
2982
|
left1: {
|
2983
|
-
x: -0.
|
2983
|
+
x: -0.5353954999999995,
|
2984
2984
|
y: 0.016380250000000984
|
2985
2985
|
},
|
2986
2986
|
right1: {
|
2987
|
-
x: 0.
|
2987
|
+
x: 0.4511331000000005,
|
2988
2988
|
y: 0.016926950000001995
|
2989
2989
|
}
|
2990
2990
|
},
|
@@ -9461,11 +9461,11 @@ var n_channel_e_mosfet_transistor_default = {
|
|
9461
9461
|
points: [
|
9462
9462
|
{
|
9463
9463
|
x: -0.39274354450000026,
|
9464
|
-
y: 0.10329954999999957
|
9464
|
+
y: -0.10329954999999957
|
9465
9465
|
},
|
9466
9466
|
{
|
9467
9467
|
x: 0.05111245549999932,
|
9468
|
-
y: 0.1059225499999994
|
9468
|
+
y: -0.1059225499999994
|
9469
9469
|
}
|
9470
9470
|
],
|
9471
9471
|
color: "primary",
|
@@ -9476,11 +9476,11 @@ var n_channel_e_mosfet_transistor_default = {
|
|
9476
9476
|
points: [
|
9477
9477
|
{
|
9478
9478
|
x: 0.30382435550000064,
|
9479
|
-
y:
|
9479
|
+
y: 0.53233025
|
9480
9480
|
},
|
9481
9481
|
{
|
9482
9482
|
x: 0.3032243555000005,
|
9483
|
-
y:
|
9483
|
+
y: 0.10600584999999985
|
9484
9484
|
}
|
9485
9485
|
],
|
9486
9486
|
color: "primary",
|
@@ -9491,11 +9491,11 @@ var n_channel_e_mosfet_transistor_default = {
|
|
9491
9491
|
points: [
|
9492
9492
|
{
|
9493
9493
|
x: 0.3108281555000003,
|
9494
|
-
y: 0.5323308500000001
|
9494
|
+
y: -0.5323308500000001
|
9495
9495
|
},
|
9496
9496
|
{
|
9497
9497
|
x: 0.31142815550000025,
|
9498
|
-
y: 0.005876249999999805
|
9498
|
+
y: -0.005876249999999805
|
9499
9499
|
}
|
9500
9500
|
],
|
9501
9501
|
color: "primary",
|
@@ -9506,11 +9506,11 @@ var n_channel_e_mosfet_transistor_default = {
|
|
9506
9506
|
points: [
|
9507
9507
|
{
|
9508
9508
|
x: 0.09383795549999951,
|
9509
|
-
y:
|
9509
|
+
y: 0.10788365000000044
|
9510
9510
|
},
|
9511
9511
|
{
|
9512
9512
|
x: 0.31104975549999936,
|
9513
|
-
y:
|
9513
|
+
y: 0.10659565000000004
|
9514
9514
|
}
|
9515
9515
|
],
|
9516
9516
|
color: "primary",
|
@@ -9521,11 +9521,11 @@ var n_channel_e_mosfet_transistor_default = {
|
|
9521
9521
|
points: [
|
9522
9522
|
{
|
9523
9523
|
x: 0.09448295549999952,
|
9524
|
-
y:
|
9524
|
+
y: 0.14677165000000048
|
9525
9525
|
},
|
9526
9526
|
{
|
9527
9527
|
x: 0.09319295549999951,
|
9528
|
-
y:
|
9528
|
+
y: 0.06899565000000041
|
9529
9529
|
}
|
9530
9530
|
],
|
9531
9531
|
color: "primary",
|
@@ -9536,11 +9536,11 @@ var n_channel_e_mosfet_transistor_default = {
|
|
9536
9536
|
points: [
|
9537
9537
|
{
|
9538
9538
|
x: 0.09383795549999951,
|
9539
|
-
y: 0.10232114999999986
|
9539
|
+
y: -0.10232114999999986
|
9540
9540
|
},
|
9541
9541
|
{
|
9542
9542
|
x: 0.31104975549999936,
|
9543
|
-
y: 0.10360915000000026
|
9543
|
+
y: -0.10360915000000026
|
9544
9544
|
}
|
9545
9545
|
],
|
9546
9546
|
color: "primary",
|
@@ -9551,11 +9551,11 @@ var n_channel_e_mosfet_transistor_default = {
|
|
9551
9551
|
points: [
|
9552
9552
|
{
|
9553
9553
|
x: 0.09440455549999993,
|
9554
|
-
y: 0.07703174999999951
|
9554
|
+
y: -0.07703174999999951
|
9555
9555
|
},
|
9556
9556
|
{
|
9557
9557
|
x: 0.09311455549999992,
|
9558
|
-
y: 0.15480774999999958
|
9558
|
+
y: -0.15480774999999958
|
9559
9559
|
}
|
9560
9560
|
],
|
9561
9561
|
color: "primary",
|
@@ -9566,11 +9566,11 @@ var n_channel_e_mosfet_transistor_default = {
|
|
9566
9566
|
points: [
|
9567
9567
|
{
|
9568
9568
|
x: 0.09448295549999952,
|
9569
|
-
y:
|
9569
|
+
y: 0.03486995000000048
|
9570
9570
|
},
|
9571
9571
|
{
|
9572
9572
|
x: 0.09319295549999951,
|
9573
|
-
y: 0.042906049999999585
|
9573
|
+
y: -0.042906049999999585
|
9574
9574
|
}
|
9575
9575
|
],
|
9576
9576
|
color: "primary",
|
@@ -9581,15 +9581,19 @@ var n_channel_e_mosfet_transistor_default = {
|
|
9581
9581
|
points: [
|
9582
9582
|
{
|
9583
9583
|
x: 0.2741991554999996,
|
9584
|
-
y: 0.040776550000000134
|
9584
|
+
y: -0.040776550000000134
|
9585
9585
|
},
|
9586
9586
|
{
|
9587
9587
|
x: 0.2741991554999996,
|
9588
|
-
y:
|
9588
|
+
y: 0.030615549999999825
|
9589
9589
|
},
|
9590
9590
|
{
|
9591
9591
|
x: 0.2024441554999994,
|
9592
|
-
y: 0.004662350000000037
|
9592
|
+
y: -0.004662350000000037
|
9593
|
+
},
|
9594
|
+
{
|
9595
|
+
x: 0.2741991554999996,
|
9596
|
+
y: -0.040776550000000134
|
9593
9597
|
}
|
9594
9598
|
],
|
9595
9599
|
color: "primary",
|
@@ -9600,11 +9604,11 @@ var n_channel_e_mosfet_transistor_default = {
|
|
9600
9604
|
points: [
|
9601
9605
|
{
|
9602
9606
|
x: 0.09383795549999951,
|
9603
|
-
y: 0.004018049999999551
|
9607
|
+
y: -0.004018049999999551
|
9604
9608
|
},
|
9605
9609
|
{
|
9606
9610
|
x: 0.31104975549999936,
|
9607
|
-
y: 0.005306049999999729
|
9611
|
+
y: -0.005306049999999729
|
9608
9612
|
}
|
9609
9613
|
],
|
9610
9614
|
color: "primary",
|
@@ -9615,11 +9619,11 @@ var n_channel_e_mosfet_transistor_default = {
|
|
9615
9619
|
points: [
|
9616
9620
|
{
|
9617
9621
|
x: 0.05171245550000081,
|
9618
|
-
y:
|
9622
|
+
y: 0.10847375000000059
|
9619
9623
|
},
|
9620
9624
|
{
|
9621
9625
|
x: 0.05111245550000065,
|
9622
|
-
y: 0.1059225499999994
|
9626
|
+
y: -0.1059225499999994
|
9623
9627
|
}
|
9624
9628
|
],
|
9625
9629
|
color: "primary",
|
@@ -9631,44 +9635,44 @@ var n_channel_e_mosfet_transistor_default = {
|
|
9631
9635
|
type: "text",
|
9632
9636
|
text: "{REF}",
|
9633
9637
|
x: -0.13197254449999907,
|
9634
|
-
y:
|
9638
|
+
y: 0.36092494999999936
|
9635
9639
|
},
|
9636
9640
|
bottom1: {
|
9637
9641
|
type: "text",
|
9638
9642
|
text: "{VAL}",
|
9639
9643
|
x: 0.05891105550000031,
|
9640
|
-
y: 0.42489435000000064
|
9644
|
+
y: -0.42489435000000064
|
9641
9645
|
}
|
9642
9646
|
},
|
9643
9647
|
refblocks: {
|
9644
9648
|
top1: {
|
9645
9649
|
x: 0.30397715549999993,
|
9646
|
-
y:
|
9650
|
+
y: 0.5519248499999992
|
9647
9651
|
},
|
9648
9652
|
bottom1: {
|
9649
9653
|
x: 0.31067575550000126,
|
9650
|
-
y: 0.5519248499999994
|
9654
|
+
y: -0.5519248499999994
|
9651
9655
|
},
|
9652
9656
|
left1: {
|
9653
9657
|
x: -0.41859744450000025,
|
9654
|
-
y: 0.10250625000000024
|
9658
|
+
y: -0.10250625000000024
|
9655
9659
|
}
|
9656
9660
|
},
|
9657
9661
|
bounds: {
|
9658
9662
|
minX: -0.4467558855000002,
|
9659
9663
|
maxX: 0.44675588550000006,
|
9660
|
-
minY: -0.
|
9661
|
-
maxY: 0.
|
9662
|
-
width:
|
9664
|
+
minY: -0.5800832909999993,
|
9665
|
+
maxY: 0.5800832909999992,
|
9666
|
+
width: 0.8935117710000002,
|
9663
9667
|
height: 1.1601665819999987,
|
9664
9668
|
centerX: -8326672684688674e-32,
|
9665
|
-
centerY: 5551115123125783e-32
|
9669
|
+
centerY: -5551115123125783e-32
|
9666
9670
|
},
|
9667
9671
|
circles: {
|
9668
9672
|
path1: {
|
9669
9673
|
type: "circle",
|
9670
9674
|
x: 0.15821375550000005,
|
9671
|
-
y:
|
9675
|
+
y: 0.003454549999999612,
|
9672
9676
|
radius: 0.28854213,
|
9673
9677
|
color: "primary",
|
9674
9678
|
fill: false
|
@@ -12229,6 +12233,113 @@ var ref19 = texts47.find((t) => t.text === "{REF}");
|
|
12229
12233
|
ref19.anchor = "middle_left";
|
12230
12234
|
var potentiometer2_vert_default = rotated6;
|
12231
12235
|
|
12236
|
+
// assets/generated/potentiometer3.json
|
12237
|
+
var potentiometer3_default = {
|
12238
|
+
paths: {
|
12239
|
+
path1: {
|
12240
|
+
type: "path",
|
12241
|
+
points: [
|
12242
|
+
{ x: -0.4, y: 0 },
|
12243
|
+
{ x: -0.3, y: 0 }
|
12244
|
+
],
|
12245
|
+
color: "primary",
|
12246
|
+
fill: false
|
12247
|
+
},
|
12248
|
+
"path1-2-1": {
|
12249
|
+
type: "path",
|
12250
|
+
points: [
|
12251
|
+
{ x: -0.3, y: 0 },
|
12252
|
+
{ x: -0.25, y: 0.1 },
|
12253
|
+
{ x: -0.15, y: -0.1 },
|
12254
|
+
{ x: -0.05, y: 0.1 },
|
12255
|
+
{ x: 0.05, y: -0.1 },
|
12256
|
+
{ x: 0.15, y: 0.1 },
|
12257
|
+
{ x: 0.25, y: -0.1 },
|
12258
|
+
{ x: 0.3, y: 0 }
|
12259
|
+
],
|
12260
|
+
color: "primary",
|
12261
|
+
fill: false
|
12262
|
+
},
|
12263
|
+
path2: {
|
12264
|
+
type: "path",
|
12265
|
+
points: [
|
12266
|
+
{ x: 0.3, y: 0 },
|
12267
|
+
{ x: 0.4, y: 0 }
|
12268
|
+
],
|
12269
|
+
color: "primary",
|
12270
|
+
fill: false
|
12271
|
+
},
|
12272
|
+
path3: {
|
12273
|
+
type: "path",
|
12274
|
+
points: [
|
12275
|
+
{ x: 0, y: -0.17 },
|
12276
|
+
{ x: 0, y: -0.4 }
|
12277
|
+
],
|
12278
|
+
color: "primary",
|
12279
|
+
fill: false
|
12280
|
+
},
|
12281
|
+
path15: {
|
12282
|
+
type: "path",
|
12283
|
+
points: [
|
12284
|
+
{ x: 0, y: -0.12 },
|
12285
|
+
{
|
12286
|
+
x: 0.05,
|
12287
|
+
y: -0.2
|
12288
|
+
},
|
12289
|
+
{
|
12290
|
+
x: -0.05,
|
12291
|
+
y: -0.2
|
12292
|
+
},
|
12293
|
+
{ x: 0, y: -0.12 }
|
12294
|
+
],
|
12295
|
+
color: "primary",
|
12296
|
+
fill: true
|
12297
|
+
}
|
12298
|
+
},
|
12299
|
+
texts: {
|
12300
|
+
top1: {
|
12301
|
+
type: "text",
|
12302
|
+
text: "{REF}",
|
12303
|
+
x: 0.3,
|
12304
|
+
y: 0.25
|
12305
|
+
},
|
12306
|
+
bottom1: {
|
12307
|
+
type: "text",
|
12308
|
+
text: "{VAL}",
|
12309
|
+
x: 0.3,
|
12310
|
+
y: -0.25
|
12311
|
+
}
|
12312
|
+
},
|
12313
|
+
refblocks: {
|
12314
|
+
left: { x: -0.42, y: 0 },
|
12315
|
+
right: { x: 0.42, y: 0 },
|
12316
|
+
bottom: { x: 0, y: -0.4 }
|
12317
|
+
},
|
12318
|
+
bounds: {
|
12319
|
+
minX: -0.42,
|
12320
|
+
maxX: 0.42,
|
12321
|
+
minY: -0.2,
|
12322
|
+
maxY: 0.2,
|
12323
|
+
width: 0.84,
|
12324
|
+
height: 0.4,
|
12325
|
+
centerX: 0,
|
12326
|
+
centerY: 0
|
12327
|
+
},
|
12328
|
+
circles: {}
|
12329
|
+
};
|
12330
|
+
|
12331
|
+
// symbols/potentiometer3_right.ts
|
12332
|
+
var potentiometer3_right_default = modifySymbol(potentiometer3_default).labelPort("left", ["1"]).labelPort("right", ["3"]).labelPort("bottom", ["2"]).changeTextAnchor("{REF}", "middle_bottom").changeTextAnchor("{VAL}", "middle_top").build();
|
12333
|
+
|
12334
|
+
// symbols/potentiometer3_down.ts
|
12335
|
+
var potentiometer3_down_default = rotateSymbol(potentiometer3_right_default, "down");
|
12336
|
+
|
12337
|
+
// symbols/potentiometer3_left.ts
|
12338
|
+
var potentiometer3_left_default = rotateSymbol(potentiometer3_right_default, "left");
|
12339
|
+
|
12340
|
+
// symbols/potentiometer3_up.ts
|
12341
|
+
var potentiometer3_up_default = rotateSymbol(potentiometer3_right_default, "up");
|
12342
|
+
|
12232
12343
|
// assets/generated/power_factor_meter.json
|
12233
12344
|
var power_factor_meter_default = {
|
12234
12345
|
paths: {
|
@@ -16270,6 +16381,10 @@ var symbols_index_default = {
|
|
16270
16381
|
"potentiometer_vert": potentiometer_vert_default,
|
16271
16382
|
"potentiometer2_horz": potentiometer2_horz_default,
|
16272
16383
|
"potentiometer2_vert": potentiometer2_vert_default,
|
16384
|
+
"potentiometer3_down": potentiometer3_down_default,
|
16385
|
+
"potentiometer3_left": potentiometer3_left_default,
|
16386
|
+
"potentiometer3_right": potentiometer3_right_default,
|
16387
|
+
"potentiometer3_up": potentiometer3_up_default,
|
16273
16388
|
"power_factor_meter_horz": power_factor_meter_horz_default,
|
16274
16389
|
"power_factor_meter_vert": power_factor_meter_vert_default,
|
16275
16390
|
"push_button_normally_closed_momentary_horz": push_button_normally_closed_momentary_horz_default,
|