schematic-symbols 0.0.129 → 0.0.130
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 +5 -1
- package/dist/index.js +404 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
@@ -245,6 +245,10 @@ declare const _default: {
|
|
245
245
|
schottky_diode_vert: undefined;
|
246
246
|
silicon_controlled_rectifier_horz: undefined;
|
247
247
|
silicon_controlled_rectifier_vert: undefined;
|
248
|
+
solderjumper2_bridged12_down: undefined;
|
249
|
+
solderjumper2_bridged12_left: undefined;
|
250
|
+
solderjumper2_bridged12_right: undefined;
|
251
|
+
solderjumper2_bridged12_up: undefined;
|
248
252
|
spdt_normally_closed_switch_down: undefined;
|
249
253
|
spdt_normally_closed_switch_left: undefined;
|
250
254
|
spdt_normally_closed_switch_right: undefined;
|
@@ -325,7 +329,7 @@ declare const _default: {
|
|
325
329
|
zener_diode_vert: undefined;
|
326
330
|
};
|
327
331
|
|
328
|
-
type BaseSymbolName = "ac_voltmeter" | "avalanche_diode" | "backward_diode" | "battery" | "boxresistor" | "capacitor" | "capacitor_polarized" | "constant_current_diode" | "crystal_4pin" | "crystal" | "darlington_pair_transistor" | "dc_ammeter" | "dc_voltmeter" | "diac" | "diode" | "dpdt_normally_closed_switch" | "dpdt_switch" | "dpst_normally_closed_switch" | "dpst_switch" | "filled_diode" | "frequency_meter" | "fuse" | "ground" | "gunn_diode" | "icled" | "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_normally_closed_switch" | "spdt_switch" | "spst_normally_closed_switch" | "spst_switch" | "step_recovery_diode" | "tachometer" | "tilted_ground" | "triac" | "tunnel_diode" | "unijunction_transistor" | "var_meter" | "varactor_diode" | "varistor" | "varmeter" | "volt_meter" | "watt_hour_meter" | "wattmeter" | "zener_diode";
|
332
|
+
type BaseSymbolName = "ac_voltmeter" | "avalanche_diode" | "backward_diode" | "battery" | "boxresistor" | "capacitor" | "capacitor_polarized" | "constant_current_diode" | "crystal_4pin" | "crystal" | "darlington_pair_transistor" | "dc_ammeter" | "dc_voltmeter" | "diac" | "diode" | "dpdt_normally_closed_switch" | "dpdt_switch" | "dpst_normally_closed_switch" | "dpst_switch" | "filled_diode" | "frequency_meter" | "fuse" | "ground" | "gunn_diode" | "icled" | "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" | "solderjumper2_bridged12" | "spdt_normally_closed_switch" | "spdt_switch" | "spst_normally_closed_switch" | "spst_switch" | "step_recovery_diode" | "tachometer" | "tilted_ground" | "triac" | "tunnel_diode" | "unijunction_transistor" | "var_meter" | "varactor_diode" | "varistor" | "varmeter" | "volt_meter" | "watt_hour_meter" | "wattmeter" | "zener_diode";
|
329
333
|
|
330
334
|
/**
|
331
335
|
* Utility for easier autocomplete:
|
package/dist/index.js
CHANGED
@@ -15167,6 +15167,406 @@ ref34.y = 0;
|
|
15167
15167
|
ref34.anchor = "middle_left";
|
15168
15168
|
var silicon_controlled_rectifier_vert_default = rotatedSymbol19;
|
15169
15169
|
|
15170
|
+
// assets/generated/solderjumper2_bridged12.json
|
15171
|
+
var solderjumper2_bridged12_default = {
|
15172
|
+
paths: {
|
15173
|
+
path44: {
|
15174
|
+
type: "path",
|
15175
|
+
points: [
|
15176
|
+
{
|
15177
|
+
x: -0.18117559999999955,
|
15178
|
+
y: -0.025908000000000264
|
15179
|
+
},
|
15180
|
+
{
|
15181
|
+
x: -0.4408346999999999,
|
15182
|
+
y: -0.025908000000000264
|
15183
|
+
}
|
15184
|
+
],
|
15185
|
+
color: "primary",
|
15186
|
+
fill: false
|
15187
|
+
},
|
15188
|
+
"path44-0": {
|
15189
|
+
type: "path",
|
15190
|
+
points: [
|
15191
|
+
{
|
15192
|
+
x: 0.44036239999999993,
|
15193
|
+
y: -0.024193299999999418
|
15194
|
+
},
|
15195
|
+
{
|
15196
|
+
x: 0.1820955000000004,
|
15197
|
+
y: -0.024193299999999418
|
15198
|
+
}
|
15199
|
+
],
|
15200
|
+
color: "primary",
|
15201
|
+
fill: false
|
15202
|
+
},
|
15203
|
+
"path44-0-7": {
|
15204
|
+
type: "path",
|
15205
|
+
points: [
|
15206
|
+
{
|
15207
|
+
x: 0.06701930000000034,
|
15208
|
+
y: -0.024201099999999753
|
15209
|
+
},
|
15210
|
+
{
|
15211
|
+
x: -0.06611399999999956,
|
15212
|
+
y: -0.024201099999999753
|
15213
|
+
}
|
15214
|
+
],
|
15215
|
+
color: "primary",
|
15216
|
+
fill: false
|
15217
|
+
},
|
15218
|
+
path2: {
|
15219
|
+
type: "path",
|
15220
|
+
points: [
|
15221
|
+
{
|
15222
|
+
x: 0.0689196000000003,
|
15223
|
+
y: 0.10123170000000048
|
15224
|
+
},
|
15225
|
+
{
|
15226
|
+
x: 0.0689196000000003,
|
15227
|
+
y: -0.15075489999999903
|
15228
|
+
}
|
15229
|
+
],
|
15230
|
+
color: "primary",
|
15231
|
+
fill: true
|
15232
|
+
},
|
15233
|
+
"path2-8": {
|
15234
|
+
type: "path",
|
15235
|
+
points: [
|
15236
|
+
{
|
15237
|
+
x: -0.06809120000000002,
|
15238
|
+
y: 0.1013280000000003
|
15239
|
+
},
|
15240
|
+
{
|
15241
|
+
x: -0.06809120000000002,
|
15242
|
+
y: -0.15065859999999898
|
15243
|
+
}
|
15244
|
+
],
|
15245
|
+
color: "primary",
|
15246
|
+
fill: true
|
15247
|
+
},
|
15248
|
+
"path8704-1": {
|
15249
|
+
type: "path",
|
15250
|
+
points: [
|
15251
|
+
{
|
15252
|
+
x: -0.07273700000000005,
|
15253
|
+
y: -0.15401969999999987
|
15254
|
+
},
|
15255
|
+
{
|
15256
|
+
x: -0.07273700000000005,
|
15257
|
+
y: -0.15401969999999987
|
15258
|
+
},
|
15259
|
+
{
|
15260
|
+
x: -0.0883637452185186,
|
15261
|
+
y: -0.1455928476925925
|
15262
|
+
},
|
15263
|
+
{
|
15264
|
+
x: -0.10242134708148157,
|
15265
|
+
y: -0.13685699620740738
|
15266
|
+
},
|
15267
|
+
{
|
15268
|
+
x: -0.11496246490000012,
|
15269
|
+
y: -0.1278441337
|
15270
|
+
},
|
15271
|
+
{
|
15272
|
+
x: -0.12603975798518532,
|
15273
|
+
y: -0.11858624832592597
|
15274
|
+
},
|
15275
|
+
{
|
15276
|
+
x: -0.13570588564814828,
|
15277
|
+
y: -0.10911532824074079
|
15278
|
+
},
|
15279
|
+
{
|
15280
|
+
x: -0.14401350720000017,
|
15281
|
+
y: -0.09946336160000008
|
15282
|
+
},
|
15283
|
+
{
|
15284
|
+
x: -0.15101528195185202,
|
15285
|
+
y: -0.08966233655925933
|
15286
|
+
},
|
15287
|
+
{
|
15288
|
+
x: -0.15676386921481505,
|
15289
|
+
y: -0.07974424127407413
|
15290
|
+
},
|
15291
|
+
{
|
15292
|
+
x: -0.16131192830000016,
|
15293
|
+
y: -0.06974106390000002
|
15294
|
+
},
|
15295
|
+
{
|
15296
|
+
x: -0.16471211851851875,
|
15297
|
+
y: -0.05968479259259264
|
15298
|
+
},
|
15299
|
+
{
|
15300
|
+
x: -0.16701709918148167,
|
15301
|
+
y: -0.04960741550740742
|
15302
|
+
},
|
15303
|
+
{
|
15304
|
+
x: -0.16827952960000025,
|
15305
|
+
y: -0.03954092080000003
|
15306
|
+
},
|
15307
|
+
{
|
15308
|
+
x: -0.16855206908518539,
|
15309
|
+
y: -0.029517296625925914
|
15310
|
+
},
|
15311
|
+
{
|
15312
|
+
x: -0.16788737694814843,
|
15313
|
+
y: -0.01956853114074074
|
15314
|
+
},
|
15315
|
+
{
|
15316
|
+
x: -0.16633811250000025,
|
15317
|
+
y: -0.009726612499999964
|
15318
|
+
},
|
15319
|
+
{
|
15320
|
+
x: -0.16395693505185213,
|
15321
|
+
y: -2352885925920034e-20
|
15322
|
+
},
|
15323
|
+
{
|
15324
|
+
x: -0.16079650391481512,
|
15325
|
+
y: 0.009508731625925994
|
15326
|
+
},
|
15327
|
+
{
|
15328
|
+
x: -0.15690947840000036,
|
15329
|
+
y: 0.018838180800000083
|
15330
|
+
},
|
15331
|
+
{
|
15332
|
+
x: -0.15234851781851885,
|
15333
|
+
y: 0.0279328305074075
|
15334
|
+
},
|
15335
|
+
{
|
15336
|
+
x: -0.14716628148148186,
|
15337
|
+
y: 0.03676069259259269
|
15338
|
+
},
|
15339
|
+
{
|
15340
|
+
x: -0.14141542870000037,
|
15341
|
+
y: 0.04528977890000009
|
15342
|
+
},
|
15343
|
+
{
|
15344
|
+
x: -0.13514861878518558,
|
15345
|
+
y: 0.053488101274074155
|
15346
|
+
},
|
15347
|
+
{
|
15348
|
+
x: -0.12841851104814855,
|
15349
|
+
y: 0.06132367155925933
|
15350
|
+
},
|
15351
|
+
{
|
15352
|
+
x: -0.12127776480000044,
|
15353
|
+
y: 0.06876450160000006
|
15354
|
+
},
|
15355
|
+
{
|
15356
|
+
x: -0.11377903935185232,
|
15357
|
+
y: 0.07577860324074076
|
15358
|
+
},
|
15359
|
+
{
|
15360
|
+
x: -0.1059749940148153,
|
15361
|
+
y: 0.08233398832592591
|
15362
|
+
},
|
15363
|
+
{
|
15364
|
+
x: -0.09791828810000051,
|
15365
|
+
y: 0.08839866869999995
|
15366
|
+
},
|
15367
|
+
{
|
15368
|
+
x: -0.08966158091851906,
|
15369
|
+
y: 0.0939406562074073
|
15370
|
+
},
|
15371
|
+
{
|
15372
|
+
x: -0.08125753178148204,
|
15373
|
+
y: 0.09892796269259241
|
15374
|
+
},
|
15375
|
+
{
|
15376
|
+
x: -0.0727588000000006,
|
15377
|
+
y: 0.10332859999999976
|
15378
|
+
},
|
15379
|
+
{
|
15380
|
+
x: -0.07275880000000057,
|
15381
|
+
y: 0.10332859999999977
|
15382
|
+
}
|
15383
|
+
],
|
15384
|
+
color: "primary",
|
15385
|
+
fill: false
|
15386
|
+
},
|
15387
|
+
"path8704-1-7": {
|
15388
|
+
type: "path",
|
15389
|
+
points: [
|
15390
|
+
{
|
15391
|
+
x: 0.07349080000000119,
|
15392
|
+
y: -0.15414649999999952
|
15393
|
+
},
|
15394
|
+
{
|
15395
|
+
x: 0.07349080000000119,
|
15396
|
+
y: -0.15414649999999952
|
15397
|
+
},
|
15398
|
+
{
|
15399
|
+
x: 0.08911754521851972,
|
15400
|
+
y: -0.14571964769259216
|
15401
|
+
},
|
15402
|
+
{
|
15403
|
+
x: 0.1031751470814827,
|
15404
|
+
y: -0.13698379620740703
|
15405
|
+
},
|
15406
|
+
{
|
15407
|
+
x: 0.11571626490000125,
|
15408
|
+
y: -0.12797093369999965
|
15409
|
+
},
|
15410
|
+
{
|
15411
|
+
x: 0.12679355798518643,
|
15412
|
+
y: -0.11871304832592562
|
15413
|
+
},
|
15414
|
+
{
|
15415
|
+
x: 0.13645968564814942,
|
15416
|
+
y: -0.10924212824074045
|
15417
|
+
},
|
15418
|
+
{
|
15419
|
+
x: 0.1447673072000013,
|
15420
|
+
y: -0.09959016159999971
|
15421
|
+
},
|
15422
|
+
{
|
15423
|
+
x: 0.15176908195185318,
|
15424
|
+
y: -0.08978913655925898
|
15425
|
+
},
|
15426
|
+
{
|
15427
|
+
x: 0.15751766921481616,
|
15428
|
+
y: -0.0798710412740738
|
15429
|
+
},
|
15430
|
+
{
|
15431
|
+
x: 0.1620657283000013,
|
15432
|
+
y: -0.06986786389999967
|
15433
|
+
},
|
15434
|
+
{
|
15435
|
+
x: 0.16546591851851983,
|
15436
|
+
y: -0.0598115925925923
|
15437
|
+
},
|
15438
|
+
{
|
15439
|
+
x: 0.16777089918148277,
|
15440
|
+
y: -0.04973421550740708
|
15441
|
+
},
|
15442
|
+
{
|
15443
|
+
x: 0.1690333296000014,
|
15444
|
+
y: -0.03966772079999968
|
15445
|
+
},
|
15446
|
+
{
|
15447
|
+
x: 0.1693058690851865,
|
15448
|
+
y: -0.029644096625925563
|
15449
|
+
},
|
15450
|
+
{
|
15451
|
+
x: 0.16864117694814956,
|
15452
|
+
y: -0.01969533114074039
|
15453
|
+
},
|
15454
|
+
{
|
15455
|
+
x: 0.16709191250000135,
|
15456
|
+
y: -0.009853412499999614
|
15457
|
+
},
|
15458
|
+
{
|
15459
|
+
x: 0.16471073505185324,
|
15460
|
+
y: -15032885925885323e-20
|
15461
|
+
},
|
15462
|
+
{
|
15463
|
+
x: 0.1615503039148162,
|
15464
|
+
y: 0.009381931625926349
|
15465
|
+
},
|
15466
|
+
{
|
15467
|
+
x: 0.15766327840000144,
|
15468
|
+
y: 0.018711380800000437
|
15469
|
+
},
|
15470
|
+
{
|
15471
|
+
x: 0.15310231781851993,
|
15472
|
+
y: 0.027806030507407847
|
15473
|
+
},
|
15474
|
+
{
|
15475
|
+
x: 0.1479200814814829,
|
15476
|
+
y: 0.03663389259259304
|
15477
|
+
},
|
15478
|
+
{
|
15479
|
+
x: 0.14216922870000145,
|
15480
|
+
y: 0.04516297890000044
|
15481
|
+
},
|
15482
|
+
{
|
15483
|
+
x: 0.13590241878518663,
|
15484
|
+
y: 0.053361301274074506
|
15485
|
+
},
|
15486
|
+
{
|
15487
|
+
x: 0.1291723110481496,
|
15488
|
+
y: 0.061196871559259694
|
15489
|
+
},
|
15490
|
+
{
|
15491
|
+
x: 0.12203156480000146,
|
15492
|
+
y: 0.0686377016000004
|
15493
|
+
},
|
15494
|
+
{
|
15495
|
+
x: 0.11453283935185332,
|
15496
|
+
y: 0.07565180324074111
|
15497
|
+
},
|
15498
|
+
{
|
15499
|
+
x: 0.1067287940148163,
|
15500
|
+
y: 0.08220718832592627
|
15501
|
+
},
|
15502
|
+
{
|
15503
|
+
x: 0.09867208810000148,
|
15504
|
+
y: 0.0882718687000003
|
15505
|
+
},
|
15506
|
+
{
|
15507
|
+
x: 0.09041538091852001,
|
15508
|
+
y: 0.09381385620740765
|
15509
|
+
},
|
15510
|
+
{
|
15511
|
+
x: 0.08201133178148297,
|
15512
|
+
y: 0.09880116269259277
|
15513
|
+
},
|
15514
|
+
{
|
15515
|
+
x: 0.07351260000000151,
|
15516
|
+
y: 0.10320180000000011
|
15517
|
+
},
|
15518
|
+
{
|
15519
|
+
x: 0.07351260000000148,
|
15520
|
+
y: 0.10320180000000012
|
15521
|
+
}
|
15522
|
+
],
|
15523
|
+
color: "primary",
|
15524
|
+
fill: false
|
15525
|
+
}
|
15526
|
+
},
|
15527
|
+
texts: {
|
15528
|
+
top1: {
|
15529
|
+
type: "text",
|
15530
|
+
text: "{REF}",
|
15531
|
+
x: -0.020635199999998965,
|
15532
|
+
y: 0.15414649999999952
|
15533
|
+
}
|
15534
|
+
},
|
15535
|
+
refblocks: {
|
15536
|
+
left1: {
|
15537
|
+
x: -0.4458008,
|
15538
|
+
y: -0.025023700000000426
|
15539
|
+
},
|
15540
|
+
right1: {
|
15541
|
+
x: 0.4458008,
|
15542
|
+
y: -0.02514810000000045
|
15543
|
+
}
|
15544
|
+
},
|
15545
|
+
bounds: {
|
15546
|
+
minX: -0.473959241,
|
15547
|
+
maxX: 0.473959241,
|
15548
|
+
minY: -0.15414649999999952,
|
15549
|
+
maxY: 0.15414649999999952,
|
15550
|
+
width: 0.947918482,
|
15551
|
+
height: 0.30829299999999904,
|
15552
|
+
centerX: 0,
|
15553
|
+
centerY: 0
|
15554
|
+
},
|
15555
|
+
circles: {}
|
15556
|
+
};
|
15557
|
+
|
15558
|
+
// symbols/solderjumper2_bridged12_down.ts
|
15559
|
+
var solderjumper2_bridged12_down_default = modifySymbol(solderjumper2_bridged12_default).rotateRightFacingSymbol("down").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_left").build();
|
15560
|
+
|
15561
|
+
// symbols/solderjumper2_bridged12_left.ts
|
15562
|
+
var solderjumper2_bridged12_left_default = modifySymbol(solderjumper2_bridged12_default).rotateRightFacingSymbol("left").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_top").build();
|
15563
|
+
|
15564
|
+
// symbols/solderjumper2_bridged12_right.ts
|
15565
|
+
var solderjumper2_bridged12_right_default = modifySymbol(solderjumper2_bridged12_default).rotateRightFacingSymbol("right").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_bottom").build();
|
15566
|
+
|
15567
|
+
// symbols/solderjumper2_bridged12_up.ts
|
15568
|
+
var solderjumper2_bridged12_up_default = modifySymbol(solderjumper2_bridged12_default).rotateRightFacingSymbol("up").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_right").build();
|
15569
|
+
|
15170
15570
|
// assets/generated/spdt_normally_closed_switch.json
|
15171
15571
|
var spdt_normally_closed_switch_default = {
|
15172
15572
|
paths: {
|
@@ -18192,6 +18592,10 @@ var symbols_index_default = {
|
|
18192
18592
|
"schottky_diode_vert": schottky_diode_vert_default,
|
18193
18593
|
"silicon_controlled_rectifier_horz": silicon_controlled_rectifier_horz_default,
|
18194
18594
|
"silicon_controlled_rectifier_vert": silicon_controlled_rectifier_vert_default,
|
18595
|
+
"solderjumper2_bridged12_down": solderjumper2_bridged12_down_default,
|
18596
|
+
"solderjumper2_bridged12_left": solderjumper2_bridged12_left_default,
|
18597
|
+
"solderjumper2_bridged12_right": solderjumper2_bridged12_right_default,
|
18598
|
+
"solderjumper2_bridged12_up": solderjumper2_bridged12_up_default,
|
18195
18599
|
"spdt_normally_closed_switch_down": spdt_normally_closed_switch_down_default,
|
18196
18600
|
"spdt_normally_closed_switch_left": spdt_normally_closed_switch_left_default,
|
18197
18601
|
"spdt_normally_closed_switch_right": spdt_normally_closed_switch_right_default,
|