schematic-symbols 0.0.111 → 0.0.112
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.d.ts +9 -1
- package/dist/index.js +430 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/symbols/opamp_no_power_down.ts +4 -0
- package/symbols/opamp_no_power_left.ts +4 -0
- package/symbols/opamp_no_power_right.ts +10 -0
- package/symbols/opamp_no_power_up.ts +4 -0
- package/symbols/opamp_with_power_down.ts +4 -0
- package/symbols/opamp_with_power_left.ts +4 -0
- package/symbols/opamp_with_power_right.ts +12 -0
- package/symbols/opamp_with_power_up.ts +4 -0
package/dist/index.d.ts
CHANGED
@@ -177,6 +177,14 @@ declare const _default: {
|
|
177
177
|
njfet_transistor_vert: undefined;
|
178
178
|
npn_bipolar_transistor_horz: undefined;
|
179
179
|
npn_bipolar_transistor_vert: undefined;
|
180
|
+
opamp_no_power_down: undefined;
|
181
|
+
opamp_no_power_left: undefined;
|
182
|
+
opamp_no_power_right: undefined;
|
183
|
+
opamp_no_power_up: undefined;
|
184
|
+
opamp_with_power_down: undefined;
|
185
|
+
opamp_with_power_left: undefined;
|
186
|
+
opamp_with_power_right: undefined;
|
187
|
+
opamp_with_power_up: undefined;
|
180
188
|
p_channel_d_mosfet_transistor_horz: undefined;
|
181
189
|
p_channel_d_mosfet_transistor_vert: undefined;
|
182
190
|
p_channel_e_mosfet_transistor_horz: undefined;
|
@@ -269,7 +277,7 @@ declare const _default: {
|
|
269
277
|
zener_diode_vert: undefined;
|
270
278
|
};
|
271
279
|
|
272
|
-
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" | "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";
|
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";
|
273
281
|
|
274
282
|
/**
|
275
283
|
* Utility for easier autocomplete:
|
package/dist/index.js
CHANGED
@@ -10018,6 +10018,428 @@ var ref13 = texts36.find((t) => t.text === "{REF}");
|
|
10018
10018
|
ref13.anchor = "middle_left";
|
10019
10019
|
var npn_bipolar_transistor_vert_default = modifySymbol(npn_bipolar_transistor_default).rotateRightFacingSymbol("down").changeTextAnchor("{VAL}", "middle_right").labelPort("left1", ["3"]).labelPort("top1", ["2"]).labelPort("bottom1", ["1"]).changeTextAnchor("{REF}", "middle_left").build();
|
10020
10020
|
|
10021
|
+
// assets/generated/opamp_no_power.json
|
10022
|
+
var opamp_no_power_default = {
|
10023
|
+
paths: {
|
10024
|
+
path40: {
|
10025
|
+
type: "path",
|
10026
|
+
points: [
|
10027
|
+
{
|
10028
|
+
x: 0.14458890000000002,
|
10029
|
+
y: 0.0390362999999998
|
10030
|
+
},
|
10031
|
+
{
|
10032
|
+
x: -0.3199943999999995,
|
10033
|
+
y: -0.21132800000000015
|
10034
|
+
}
|
10035
|
+
],
|
10036
|
+
color: "primary",
|
10037
|
+
fill: false
|
10038
|
+
},
|
10039
|
+
path41: {
|
10040
|
+
type: "path",
|
10041
|
+
points: [
|
10042
|
+
{
|
10043
|
+
x: -0.3199943999999995,
|
10044
|
+
y: 0.31132800000000016
|
10045
|
+
},
|
10046
|
+
{
|
10047
|
+
x: 0.14458890000000002,
|
10048
|
+
y: 0.0390362999999998
|
10049
|
+
}
|
10050
|
+
],
|
10051
|
+
color: "primary",
|
10052
|
+
fill: false
|
10053
|
+
},
|
10054
|
+
path42: {
|
10055
|
+
type: "path",
|
10056
|
+
points: [
|
10057
|
+
{
|
10058
|
+
x: -0.3199943999999995,
|
10059
|
+
y: -0.21132800000000015
|
10060
|
+
},
|
10061
|
+
{
|
10062
|
+
x: -0.3199943999999995,
|
10063
|
+
y: 0.31132800000000016
|
10064
|
+
}
|
10065
|
+
],
|
10066
|
+
color: "primary",
|
10067
|
+
fill: false
|
10068
|
+
},
|
10069
|
+
path44: {
|
10070
|
+
type: "path",
|
10071
|
+
points: [
|
10072
|
+
{
|
10073
|
+
x: -0.3199943999999995,
|
10074
|
+
y: 0.1790362999999998
|
10075
|
+
},
|
10076
|
+
{
|
10077
|
+
x: -0.58168694,
|
10078
|
+
y: 0.1790362999999998
|
10079
|
+
}
|
10080
|
+
],
|
10081
|
+
color: "primary",
|
10082
|
+
fill: false
|
10083
|
+
},
|
10084
|
+
path45: {
|
10085
|
+
type: "path",
|
10086
|
+
points: [
|
10087
|
+
{
|
10088
|
+
x: -0.3199943999999995,
|
10089
|
+
y: -0.0890362999999998
|
10090
|
+
},
|
10091
|
+
{
|
10092
|
+
x: -0.58168694,
|
10093
|
+
y: -0.0890362999999998
|
10094
|
+
}
|
10095
|
+
],
|
10096
|
+
color: "primary",
|
10097
|
+
fill: false
|
10098
|
+
},
|
10099
|
+
"path44-0": {
|
10100
|
+
type: "path",
|
10101
|
+
points: [
|
10102
|
+
{
|
10103
|
+
x: 0.4233797000000002,
|
10104
|
+
y: 0.03895110000000024
|
10105
|
+
},
|
10106
|
+
{
|
10107
|
+
x: 0.1496715999999998,
|
10108
|
+
y: 0.03895110000000024
|
10109
|
+
}
|
10110
|
+
],
|
10111
|
+
color: "primary",
|
10112
|
+
fill: false
|
10113
|
+
},
|
10114
|
+
"rect1577-3": {
|
10115
|
+
type: "path",
|
10116
|
+
points: [
|
10117
|
+
{
|
10118
|
+
x: -0.19898460000000012,
|
10119
|
+
y: 0.1790362999999998
|
10120
|
+
},
|
10121
|
+
{
|
10122
|
+
x: -0.26995180000000035,
|
10123
|
+
y: 0.1790362999999998
|
10124
|
+
}
|
10125
|
+
],
|
10126
|
+
color: "primary",
|
10127
|
+
fill: true
|
10128
|
+
},
|
10129
|
+
"rect1577-4": {
|
10130
|
+
type: "path",
|
10131
|
+
points: [
|
10132
|
+
{
|
10133
|
+
x: -0.19898460000000012,
|
10134
|
+
y: -0.0890362999999998
|
10135
|
+
},
|
10136
|
+
{
|
10137
|
+
x: -0.26995180000000035,
|
10138
|
+
y: -0.0890362999999998
|
10139
|
+
}
|
10140
|
+
],
|
10141
|
+
color: "primary",
|
10142
|
+
fill: true
|
10143
|
+
},
|
10144
|
+
"rect1577-4-7": {
|
10145
|
+
type: "path",
|
10146
|
+
points: [
|
10147
|
+
{
|
10148
|
+
x: -0.23480170000000036,
|
10149
|
+
y: -0.05337805000000034
|
10150
|
+
},
|
10151
|
+
{
|
10152
|
+
x: -0.23480170000000036,
|
10153
|
+
y: -0.12434525000000014
|
10154
|
+
}
|
10155
|
+
],
|
10156
|
+
color: "primary",
|
10157
|
+
fill: true
|
10158
|
+
}
|
10159
|
+
},
|
10160
|
+
texts: {
|
10161
|
+
top1: {
|
10162
|
+
type: "text",
|
10163
|
+
text: "{REF}",
|
10164
|
+
x: -0.0050250999999996715,
|
10165
|
+
y: 0.4188453
|
10166
|
+
},
|
10167
|
+
bottom1: {
|
10168
|
+
type: "text",
|
10169
|
+
text: "{VAL}",
|
10170
|
+
x: -11179999999977319e-20,
|
10171
|
+
y: -0.29994529999999997
|
10172
|
+
}
|
10173
|
+
},
|
10174
|
+
refblocks: {
|
10175
|
+
left1: {
|
10176
|
+
x: -0.56868694,
|
10177
|
+
y: 0.1790362999999998
|
10178
|
+
},
|
10179
|
+
left2: {
|
10180
|
+
x: -0.56868694,
|
10181
|
+
y: -0.0890362999999998
|
10182
|
+
},
|
10183
|
+
right1: {
|
10184
|
+
x: 0.4291470999999999,
|
10185
|
+
y: 0.03889609999999988
|
10186
|
+
}
|
10187
|
+
},
|
10188
|
+
bounds: {
|
10189
|
+
minX: -0.5473055410000001,
|
10190
|
+
maxX: 0.5473055409999998,
|
10191
|
+
minY: -0.37884529999999994,
|
10192
|
+
maxY: 0.26884529999999995,
|
10193
|
+
width: 1.094611082,
|
10194
|
+
height: 0.2976905999999999,
|
10195
|
+
centerX: -11102230246251565e-32,
|
10196
|
+
centerY: 0.05499999999999999
|
10197
|
+
},
|
10198
|
+
circles: {}
|
10199
|
+
};
|
10200
|
+
|
10201
|
+
// symbols/opamp_no_power_right.ts
|
10202
|
+
var opamp_no_power_right_default = modifySymbol(opamp_no_power_default).labelPort("left1", ["1", "inp1"]).labelPort("left2", ["2", "inp2"]).labelPort("right1", ["3", "out"]).changeTextAnchor("{REF}", "middle_bottom").changeTextAnchor("{VAL}", "middle_top").build();
|
10203
|
+
|
10204
|
+
// symbols/opamp_no_power_down.ts
|
10205
|
+
var opamp_no_power_down_default = rotateSymbol(opamp_no_power_right_default, "down");
|
10206
|
+
|
10207
|
+
// symbols/opamp_no_power_left.ts
|
10208
|
+
var opamp_no_power_left_default = rotateSymbol(opamp_no_power_right_default, "left");
|
10209
|
+
|
10210
|
+
// symbols/opamp_no_power_up.ts
|
10211
|
+
var opamp_no_power_up_default = rotateSymbol(opamp_no_power_right_default, "up");
|
10212
|
+
|
10213
|
+
// assets/generated/opamp_with_power.json
|
10214
|
+
var opamp_with_power_default = {
|
10215
|
+
paths: {
|
10216
|
+
path40: {
|
10217
|
+
type: "path",
|
10218
|
+
points: [
|
10219
|
+
{
|
10220
|
+
x: 0.14458890000000002,
|
10221
|
+
y: 0.0390362999999998
|
10222
|
+
},
|
10223
|
+
{
|
10224
|
+
x: -0.3199943999999995,
|
10225
|
+
y: -0.21132800000000015
|
10226
|
+
}
|
10227
|
+
],
|
10228
|
+
color: "primary",
|
10229
|
+
fill: false
|
10230
|
+
},
|
10231
|
+
path41: {
|
10232
|
+
type: "path",
|
10233
|
+
points: [
|
10234
|
+
{
|
10235
|
+
x: -0.3199943999999995,
|
10236
|
+
y: 0.31132800000000016
|
10237
|
+
},
|
10238
|
+
{
|
10239
|
+
x: 0.14458890000000002,
|
10240
|
+
y: 0.0390362999999998
|
10241
|
+
}
|
10242
|
+
],
|
10243
|
+
color: "primary",
|
10244
|
+
fill: false
|
10245
|
+
},
|
10246
|
+
path42: {
|
10247
|
+
type: "path",
|
10248
|
+
points: [
|
10249
|
+
{
|
10250
|
+
x: -0.3199943999999995,
|
10251
|
+
y: -0.21132800000000015
|
10252
|
+
},
|
10253
|
+
{
|
10254
|
+
x: -0.3199943999999995,
|
10255
|
+
y: 0.31132800000000016
|
10256
|
+
}
|
10257
|
+
],
|
10258
|
+
color: "primary",
|
10259
|
+
fill: false
|
10260
|
+
},
|
10261
|
+
path44: {
|
10262
|
+
type: "path",
|
10263
|
+
points: [
|
10264
|
+
{
|
10265
|
+
x: -0.3199943999999995,
|
10266
|
+
y: 0.1790362999999998
|
10267
|
+
},
|
10268
|
+
{
|
10269
|
+
x: -0.58168694,
|
10270
|
+
y: 0.1790362999999998
|
10271
|
+
}
|
10272
|
+
],
|
10273
|
+
color: "primary",
|
10274
|
+
fill: false
|
10275
|
+
},
|
10276
|
+
path45: {
|
10277
|
+
type: "path",
|
10278
|
+
points: [
|
10279
|
+
{
|
10280
|
+
x: -0.3199943999999995,
|
10281
|
+
y: -0.0890362999999998
|
10282
|
+
},
|
10283
|
+
{
|
10284
|
+
x: -0.58168694,
|
10285
|
+
y: -0.0890362999999998
|
10286
|
+
}
|
10287
|
+
],
|
10288
|
+
color: "primary",
|
10289
|
+
fill: false
|
10290
|
+
},
|
10291
|
+
"path44-0": {
|
10292
|
+
type: "path",
|
10293
|
+
points: [
|
10294
|
+
{
|
10295
|
+
x: 0.4233797000000002,
|
10296
|
+
y: 0.03895110000000024
|
10297
|
+
},
|
10298
|
+
{
|
10299
|
+
x: 0.1496715999999998,
|
10300
|
+
y: 0.03895110000000024
|
10301
|
+
}
|
10302
|
+
],
|
10303
|
+
color: "primary",
|
10304
|
+
fill: false
|
10305
|
+
},
|
10306
|
+
"path44-1": {
|
10307
|
+
type: "path",
|
10308
|
+
points: [
|
10309
|
+
{
|
10310
|
+
x: -0.09945180000000035,
|
10311
|
+
y: 0.43895110000000026
|
10312
|
+
},
|
10313
|
+
{
|
10314
|
+
x: -0.09945180000000035,
|
10315
|
+
y: 0.1790362999999998
|
10316
|
+
}
|
10317
|
+
],
|
10318
|
+
color: "primary",
|
10319
|
+
fill: false
|
10320
|
+
},
|
10321
|
+
"path44-2": {
|
10322
|
+
type: "path",
|
10323
|
+
points: [
|
10324
|
+
{
|
10325
|
+
x: -0.09345180000000035,
|
10326
|
+
y: -0.3389511000000002
|
10327
|
+
},
|
10328
|
+
{
|
10329
|
+
x: -0.09345180000000035,
|
10330
|
+
y: -0.0890362999999998
|
10331
|
+
}
|
10332
|
+
],
|
10333
|
+
color: "primary",
|
10334
|
+
fill: false
|
10335
|
+
},
|
10336
|
+
"rect1577-3": {
|
10337
|
+
type: "path",
|
10338
|
+
points: [
|
10339
|
+
{
|
10340
|
+
x: -0.19898460000000012,
|
10341
|
+
y: 0.1790362999999998
|
10342
|
+
},
|
10343
|
+
{
|
10344
|
+
x: -0.26995180000000035,
|
10345
|
+
y: 0.1790362999999998
|
10346
|
+
}
|
10347
|
+
],
|
10348
|
+
color: "primary",
|
10349
|
+
fill: true
|
10350
|
+
},
|
10351
|
+
"rect1577-4": {
|
10352
|
+
type: "path",
|
10353
|
+
points: [
|
10354
|
+
{
|
10355
|
+
x: -0.19898460000000012,
|
10356
|
+
y: -0.0890362999999998
|
10357
|
+
},
|
10358
|
+
{
|
10359
|
+
x: -0.26995180000000035,
|
10360
|
+
y: -0.0890362999999998
|
10361
|
+
}
|
10362
|
+
],
|
10363
|
+
color: "primary",
|
10364
|
+
fill: true
|
10365
|
+
},
|
10366
|
+
"rect1577-4-7": {
|
10367
|
+
type: "path",
|
10368
|
+
points: [
|
10369
|
+
{
|
10370
|
+
x: -0.23485180000000036,
|
10371
|
+
y: 0.14405005000000035
|
10372
|
+
},
|
10373
|
+
{
|
10374
|
+
x: -0.23485180000000036,
|
10375
|
+
y: 0.2150405000000014
|
10376
|
+
}
|
10377
|
+
],
|
10378
|
+
color: "primary",
|
10379
|
+
fill: true
|
10380
|
+
}
|
10381
|
+
},
|
10382
|
+
texts: {
|
10383
|
+
top1: {
|
10384
|
+
type: "text",
|
10385
|
+
text: "{REF}",
|
10386
|
+
x: 0.2502509999999967,
|
10387
|
+
y: 0.31884529999999994
|
10388
|
+
},
|
10389
|
+
bottom1: {
|
10390
|
+
type: "text",
|
10391
|
+
text: "{VAL}",
|
10392
|
+
x: 0.2502509999999967,
|
10393
|
+
y: -0.23599529999999996
|
10394
|
+
}
|
10395
|
+
},
|
10396
|
+
refblocks: {
|
10397
|
+
left1: {
|
10398
|
+
x: -0.56868694,
|
10399
|
+
y: 0.1790362999999998
|
10400
|
+
},
|
10401
|
+
left2: {
|
10402
|
+
x: -0.56868694,
|
10403
|
+
y: -0.0890362999999998
|
10404
|
+
},
|
10405
|
+
right1: {
|
10406
|
+
x: 0.4291470999999999,
|
10407
|
+
y: 0.03889609999999988
|
10408
|
+
},
|
10409
|
+
top2: {
|
10410
|
+
x: -0.09945180000000035,
|
10411
|
+
y: 0.43895110000000026
|
10412
|
+
},
|
10413
|
+
bottom1: {
|
10414
|
+
x: -0.09345180000000035,
|
10415
|
+
y: -0.3389511000000002
|
10416
|
+
}
|
10417
|
+
},
|
10418
|
+
bounds: {
|
10419
|
+
minX: -0.5473055410000001,
|
10420
|
+
maxX: 0.5473055409999998,
|
10421
|
+
minY: -0.37884529999999994,
|
10422
|
+
maxY: 0.26884529999999995,
|
10423
|
+
width: 1.094611082,
|
10424
|
+
height: 0.2976905999999999,
|
10425
|
+
centerX: -11102230246251565e-32,
|
10426
|
+
centerY: 0.05499999999999999
|
10427
|
+
},
|
10428
|
+
circles: {}
|
10429
|
+
};
|
10430
|
+
|
10431
|
+
// symbols/opamp_with_power_right.ts
|
10432
|
+
var opamp_with_power_right_default = modifySymbol(opamp_with_power_default).labelPort("left1", ["1", "inp1"]).labelPort("left2", ["2", "inp2"]).labelPort("right1", ["3", "out"]).labelPort("top2", ["4", "V+"]).labelPort("bottom1", ["5", "V-"]).changeTextAnchor("{REF}", "middle_bottom").changeTextAnchor("{VAL}", "middle_top").build();
|
10433
|
+
|
10434
|
+
// symbols/opamp_with_power_down.ts
|
10435
|
+
var opamp_with_power_down_default = rotateSymbol(opamp_with_power_right_default, "down");
|
10436
|
+
|
10437
|
+
// symbols/opamp_with_power_left.ts
|
10438
|
+
var opamp_with_power_left_default = rotateSymbol(opamp_with_power_right_default, "left");
|
10439
|
+
|
10440
|
+
// symbols/opamp_with_power_up.ts
|
10441
|
+
var opamp_with_power_up_default = rotateSymbol(opamp_with_power_right_default, "up");
|
10442
|
+
|
10021
10443
|
// assets/generated/p_channel_d_mosfet_transistor.json
|
10022
10444
|
var p_channel_d_mosfet_transistor_default = {
|
10023
10445
|
paths: {
|
@@ -15709,6 +16131,14 @@ var symbols_index_default = {
|
|
15709
16131
|
"njfet_transistor_vert": njfet_transistor_vert_default,
|
15710
16132
|
"npn_bipolar_transistor_horz": npn_bipolar_transistor_horz_default,
|
15711
16133
|
"npn_bipolar_transistor_vert": npn_bipolar_transistor_vert_default,
|
16134
|
+
"opamp_no_power_down": opamp_no_power_down_default,
|
16135
|
+
"opamp_no_power_left": opamp_no_power_left_default,
|
16136
|
+
"opamp_no_power_right": opamp_no_power_right_default,
|
16137
|
+
"opamp_no_power_up": opamp_no_power_up_default,
|
16138
|
+
"opamp_with_power_down": opamp_with_power_down_default,
|
16139
|
+
"opamp_with_power_left": opamp_with_power_left_default,
|
16140
|
+
"opamp_with_power_right": opamp_with_power_right_default,
|
16141
|
+
"opamp_with_power_up": opamp_with_power_up_default,
|
15712
16142
|
"p_channel_d_mosfet_transistor_horz": p_channel_d_mosfet_transistor_horz_default,
|
15713
16143
|
"p_channel_d_mosfet_transistor_vert": p_channel_d_mosfet_transistor_vert_default,
|
15714
16144
|
"p_channel_e_mosfet_transistor_horz": p_channel_e_mosfet_transistor_horz_default,
|