schematic-symbols 0.0.70 → 0.0.71

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.js CHANGED
@@ -1713,6 +1713,155 @@ var diode_horz_default = defineSymbol({
1713
1713
  // symbols/diode_vert.ts
1714
1714
  var diode_vert_default = rotateSymbol(diode_horz_default);
1715
1715
 
1716
+ // assets/generated/filled_diode.json
1717
+ var filled_diode_default = {
1718
+ paths: {
1719
+ path11: {
1720
+ type: "path",
1721
+ points: [
1722
+ {
1723
+ x: -0.5464958295000011,
1724
+ y: -0.03674480953641934
1725
+ },
1726
+ {
1727
+ x: -0.22498262950000125,
1728
+ y: -0.03674480953641934
1729
+ }
1730
+ ],
1731
+ color: "primary",
1732
+ fill: false
1733
+ },
1734
+ path12: {
1735
+ type: "path",
1736
+ points: [
1737
+ {
1738
+ x: 0.13950697049999894,
1739
+ y: -0.04461410953641942
1740
+ },
1741
+ {
1742
+ x: 0.45879767049999964,
1743
+ y: -0.04461410953641942
1744
+ }
1745
+ ],
1746
+ color: "primary",
1747
+ fill: false
1748
+ },
1749
+ "path12-6": {
1750
+ type: "path",
1751
+ points: [
1752
+ {
1753
+ x: 0.1346534705000002,
1754
+ y: 0.1570013904635803
1755
+ },
1756
+ {
1757
+ x: 0.13354747050000015,
1758
+ y: -0.24621560953641985
1759
+ }
1760
+ ],
1761
+ color: "primary",
1762
+ fill: false
1763
+ },
1764
+ "path11-0-9": {
1765
+ type: "path",
1766
+ points: [
1767
+ {
1768
+ x: -0.2177038295000011,
1769
+ y: -0.26567520953641943
1770
+ },
1771
+ {
1772
+ x: -0.2197708295000007,
1773
+ y: 0.15700869046358035
1774
+ },
1775
+ {
1776
+ x: 0.13282137049999876,
1777
+ y: -0.0426085095364197
1778
+ },
1779
+ {
1780
+ x: -0.21378932950000062,
1781
+ y: -0.2668066095364201
1782
+ }
1783
+ ],
1784
+ color: "primary",
1785
+ fill: true
1786
+ }
1787
+ },
1788
+ texts: {
1789
+ top1: {
1790
+ type: "text",
1791
+ text: "{REF}",
1792
+ x: -0.2435859295000009,
1793
+ y: -0.3777354095364187
1794
+ },
1795
+ bottom1: {
1796
+ type: "text",
1797
+ text: "{VAL}",
1798
+ x: -0.07353149016142102,
1799
+ y: 0.3877354095364185
1800
+ },
1801
+ right1: {
1802
+ type: "text",
1803
+ text: "",
1804
+ x: 0.5834896704999997,
1805
+ y: 0.3364777904635812
1806
+ }
1807
+ },
1808
+ refblocks: {
1809
+ left1: {
1810
+ x: -0.5653312295,
1811
+ y: -0.0358920095364188
1812
+ },
1813
+ right1: {
1814
+ x: 0.47024967049999944,
1815
+ y: -0.044757709536418666
1816
+ }
1817
+ },
1818
+ bounds: {
1819
+ minX: -0.5934896705,
1820
+ maxX: 0.6834896704999996,
1821
+ minY: -0.4777354095364187,
1822
+ maxY: 0.3877354095364185,
1823
+ width: 1.2769793409999997,
1824
+ height: 1,
1825
+ centerX: 0.04499999999999982,
1826
+ centerY: -0.045000000000000095
1827
+ },
1828
+ circles: {}
1829
+ };
1830
+
1831
+ // symbols/filled_diode_horz.ts
1832
+ var { paths: paths11, texts: texts13, bounds: bounds11, refblocks: refblocks11, circles: circles8 } = filled_diode_default;
1833
+ var filled_diode_horz_default = defineSymbol({
1834
+ primitives: [
1835
+ ...Object.values(paths11),
1836
+ ...Object.values(circles8),
1837
+ {
1838
+ type: "text",
1839
+ text: "{REF}",
1840
+ x: -0.1,
1841
+ y: -0.38,
1842
+ anchor: "middle_bottom"
1843
+ },
1844
+ {
1845
+ type: "text",
1846
+ text: "{VAL}",
1847
+ x: -0.1,
1848
+ y: 0.28,
1849
+ anchor: "middle_top"
1850
+ }
1851
+ ],
1852
+ ports: [
1853
+ { ...refblocks11.left1, labels: ["1"] },
1854
+ // TODO add more "standard" labels
1855
+ { ...refblocks11.right1, labels: ["2"] }
1856
+ // TODO add more "standard" labels
1857
+ ],
1858
+ size: { width: bounds11.width, height: bounds11.height },
1859
+ center: { x: bounds11.centerX, y: bounds11.centerY }
1860
+ });
1861
+
1862
+ // symbols/filled_diode_vert.ts
1863
+ var filled_diode_vert_default = rotateSymbol(filled_diode_horz_default);
1864
+
1716
1865
  // assets/generated/fuse.json
1717
1866
  var fuse_default = {
1718
1867
  paths: {
@@ -1800,11 +1949,11 @@ var fuse_default = {
1800
1949
  };
1801
1950
 
1802
1951
  // symbols/fuse_horz.ts
1803
- var { paths: paths11, texts: texts13, bounds: bounds11, refblocks: refblocks11 } = fuse_default;
1952
+ var { paths: paths12, texts: texts14, bounds: bounds12, refblocks: refblocks12 } = fuse_default;
1804
1953
  var fuse_horz_default = defineSymbol({
1805
1954
  primitives: [
1806
- ...Object.values(paths11),
1807
- { ...texts13.top1, anchor: "middle_bottom" },
1955
+ ...Object.values(paths12),
1956
+ { ...texts14.top1, anchor: "middle_bottom" },
1808
1957
  {
1809
1958
  type: "text",
1810
1959
  text: "{VAL}",
@@ -1814,13 +1963,13 @@ var fuse_horz_default = defineSymbol({
1814
1963
  }
1815
1964
  ],
1816
1965
  ports: [
1817
- { ...refblocks11.left1, labels: ["1"] },
1966
+ { ...refblocks12.left1, labels: ["1"] },
1818
1967
  // TODO add more "standard" labels
1819
- { ...refblocks11.right1, labels: ["2"] }
1968
+ { ...refblocks12.right1, labels: ["2"] }
1820
1969
  // TODO add more "standard" labels
1821
1970
  ],
1822
- size: { width: bounds11.width, height: bounds11.height },
1823
- center: { x: bounds11.centerX, y: bounds11.centerY }
1971
+ size: { width: bounds12.width, height: bounds12.height },
1972
+ center: { x: bounds12.centerX, y: bounds12.centerY }
1824
1973
  });
1825
1974
 
1826
1975
  // symbols/fuse_vert.ts
@@ -1944,12 +2093,12 @@ var gunn_diode_default = {
1944
2093
  };
1945
2094
 
1946
2095
  // symbols/gunn_diode_horz.ts
1947
- var { paths: paths12, texts: texts14, bounds: bounds12, refblocks: refblocks12, circles: circles8 } = gunn_diode_default;
2096
+ var { paths: paths13, texts: texts15, bounds: bounds13, refblocks: refblocks13, circles: circles9 } = gunn_diode_default;
1948
2097
  var gunn_diode_horz_default = defineSymbol({
1949
2098
  primitives: [
1950
- ...Object.values(paths12),
1951
- ...Object.values(circles8),
1952
- { ...texts14.top1, anchor: "middle_left" },
2099
+ ...Object.values(paths13),
2100
+ ...Object.values(circles9),
2101
+ { ...texts15.top1, anchor: "middle_left" },
1953
2102
  {
1954
2103
  type: "text",
1955
2104
  text: "{VAL}",
@@ -1959,20 +2108,20 @@ var gunn_diode_horz_default = defineSymbol({
1959
2108
  // { ...texts.bottom1, anchor: "middle_left" },
1960
2109
  ],
1961
2110
  ports: [
1962
- { ...refblocks12.left1, labels: ["1"] },
2111
+ { ...refblocks13.left1, labels: ["1"] },
1963
2112
  // TODO add more "standard" labels
1964
- { ...refblocks12.right1, labels: ["2"] }
2113
+ { ...refblocks13.right1, labels: ["2"] }
1965
2114
  // TODO add more "standard" labels
1966
2115
  ],
1967
- size: { width: bounds12.width, height: bounds12.height },
1968
- center: { x: bounds12.centerX, y: bounds12.centerY }
2116
+ size: { width: bounds13.width, height: bounds13.height },
2117
+ center: { x: bounds13.centerX, y: bounds13.centerY }
1969
2118
  });
1970
2119
 
1971
2120
  // symbols/gunn_diode_vert.ts
1972
2121
  var rotatedSymbol7 = rotateSymbol(gunn_diode_horz_default);
1973
- var texts15 = rotatedSymbol7.primitives.filter((p) => p.type === "text");
1974
- var ref5 = texts15.find((t) => t.text === "{REF}");
1975
- var val5 = texts15.find((t) => t.text === "{VAL}");
2122
+ var texts16 = rotatedSymbol7.primitives.filter((p) => p.type === "text");
2123
+ var ref5 = texts16.find((t) => t.text === "{REF}");
2124
+ var val5 = texts16.find((t) => t.text === "{VAL}");
1976
2125
  ref5.x = 0.25;
1977
2126
  ref5.y = -0.045;
1978
2127
  val5.x = -0.55;
@@ -2158,11 +2307,11 @@ var igbt_transistor_default = {
2158
2307
  };
2159
2308
 
2160
2309
  // symbols/igbt_transistor_horz.ts
2161
- var { paths: paths13, texts: texts16, bounds: bounds13, refblocks: refblocks13, circles: circles9 } = igbt_transistor_default;
2310
+ var { paths: paths14, texts: texts17, bounds: bounds14, refblocks: refblocks14, circles: circles10 } = igbt_transistor_default;
2162
2311
  var igbt_transistor_horz_default = defineSymbol({
2163
2312
  primitives: [
2164
- ...Object.values(paths13),
2165
- ...Object.values(circles9),
2313
+ ...Object.values(paths14),
2314
+ ...Object.values(circles10),
2166
2315
  {
2167
2316
  type: "text",
2168
2317
  text: "{REF}",
@@ -2179,15 +2328,15 @@ var igbt_transistor_horz_default = defineSymbol({
2179
2328
  }
2180
2329
  ],
2181
2330
  ports: [
2182
- { ...refblocks13.top1, labels: ["1"] },
2331
+ { ...refblocks14.top1, labels: ["1"] },
2183
2332
  // TODO add more "standard" labels
2184
- { ...refblocks13.bottom1, labels: ["2"] },
2333
+ { ...refblocks14.bottom1, labels: ["2"] },
2185
2334
  // TODO add more "standard" labels
2186
- { ...refblocks13.left1, labels: ["3"] }
2335
+ { ...refblocks14.left1, labels: ["3"] }
2187
2336
  // TODO add more "standard" labels
2188
2337
  ],
2189
- size: { width: bounds13.width, height: bounds13.height },
2190
- center: { x: bounds13.centerX + 0.06, y: bounds13.centerY }
2338
+ size: { width: bounds14.width, height: bounds14.height },
2339
+ center: { x: bounds14.centerX + 0.06, y: bounds14.centerY }
2191
2340
  });
2192
2341
 
2193
2342
  // symbols/igbt_transistor_vert.ts
@@ -2445,28 +2594,28 @@ var laser_diode_default = {
2445
2594
  };
2446
2595
 
2447
2596
  // symbols/laser_diode_horz.ts
2448
- var { paths: paths14, texts: texts17, bounds: bounds14, refblocks: refblocks14, circles: circles10 } = laser_diode_default;
2597
+ var { paths: paths15, texts: texts18, bounds: bounds15, refblocks: refblocks15, circles: circles11 } = laser_diode_default;
2449
2598
  var laser_diode_horz_default = defineSymbol({
2450
2599
  primitives: [
2451
- ...Object.values(paths14),
2452
- ...Object.values(circles10),
2453
- { ...texts17.top1, anchor: "middle_left" },
2454
- { ...texts17.bottom1, anchor: "middle_bottom" }
2600
+ ...Object.values(paths15),
2601
+ ...Object.values(circles11),
2602
+ { ...texts18.top1, anchor: "middle_left" },
2603
+ { ...texts18.bottom1, anchor: "middle_bottom" }
2455
2604
  ],
2456
2605
  ports: [
2457
- { ...refblocks14.left1, labels: ["1"] },
2606
+ { ...refblocks15.left1, labels: ["1"] },
2458
2607
  // TODO add more "standard" labels
2459
- { ...refblocks14.right1, labels: ["2"] }
2608
+ { ...refblocks15.right1, labels: ["2"] }
2460
2609
  // TODO add more "standard" labels
2461
2610
  ],
2462
- size: { width: bounds14.width, height: bounds14.height },
2463
- center: { x: bounds14.centerX, y: bounds14.centerY }
2611
+ size: { width: bounds15.width, height: bounds15.height },
2612
+ center: { x: bounds15.centerX, y: bounds15.centerY }
2464
2613
  });
2465
2614
 
2466
2615
  // symbols/laser_diode_vert.ts
2467
2616
  var rotatedSymbol8 = rotateSymbol(laser_diode_horz_default);
2468
- var texts18 = rotatedSymbol8.primitives.filter((p) => p.type === "text");
2469
- var ref7 = texts18.find((t) => t.text === "{VAL}");
2617
+ var texts19 = rotatedSymbol8.primitives.filter((p) => p.type === "text");
2618
+ var ref7 = texts19.find((t) => t.text === "{VAL}");
2470
2619
  ref7.x = -0.52;
2471
2620
  ref7.anchor = "middle_right";
2472
2621
  var laser_diode_vert_default = rotatedSymbol8;
@@ -2686,19 +2835,19 @@ var led_default = {
2686
2835
  };
2687
2836
 
2688
2837
  // symbols/led_horz.ts
2689
- var { paths: paths15, texts: texts19, bounds: bounds15, refblocks: refblocks15 } = led_default;
2838
+ var { paths: paths16, texts: texts20, bounds: bounds16, refblocks: refblocks16 } = led_default;
2690
2839
  var led_horz_default = defineSymbol({
2691
2840
  primitives: [
2692
- ...Object.values(paths15),
2693
- { ...texts19.bottom1, anchor: "middle_right" },
2694
- { ...texts19.right1, anchor: "middle_left" }
2841
+ ...Object.values(paths16),
2842
+ { ...texts20.bottom1, anchor: "middle_right" },
2843
+ { ...texts20.right1, anchor: "middle_left" }
2695
2844
  ],
2696
2845
  ports: [
2697
- { ...refblocks15.left1, labels: ["1", "anode", "pos"] },
2698
- { ...refblocks15.right1, labels: ["2", "cathode", "neg"] }
2846
+ { ...refblocks16.left1, labels: ["1", "anode", "pos"] },
2847
+ { ...refblocks16.right1, labels: ["2", "cathode", "neg"] }
2699
2848
  ],
2700
- size: { width: bounds15.width, height: bounds15.height },
2701
- center: { x: bounds15.centerX, y: bounds15.centerY + 0.1 }
2849
+ size: { width: bounds16.width, height: bounds16.height },
2850
+ center: { x: bounds16.centerX, y: bounds16.centerY + 0.1 }
2702
2851
  });
2703
2852
 
2704
2853
  // symbols/led_vert.ts
@@ -2987,23 +3136,23 @@ var mosfet_depletion_normally_on_default = {
2987
3136
  };
2988
3137
 
2989
3138
  // symbols/mosfet_depletion_normally_on_horz.ts
2990
- var { paths: paths16, texts: texts20, bounds: bounds16, refblocks: refblocks16 } = mosfet_depletion_normally_on_default;
3139
+ var { paths: paths17, texts: texts21, bounds: bounds17, refblocks: refblocks17 } = mosfet_depletion_normally_on_default;
2991
3140
  var mosfet_depletion_normally_on_horz_default = defineSymbol({
2992
3141
  primitives: [
2993
- ...Object.values(paths16),
2994
- { ...texts20.right1, anchor: "middle_left" },
2995
- { ...texts20.right2, anchor: "middle_left" }
3142
+ ...Object.values(paths17),
3143
+ { ...texts21.right1, anchor: "middle_left" },
3144
+ { ...texts21.right2, anchor: "middle_left" }
2996
3145
  ],
2997
3146
  ports: [
2998
- { ...refblocks16.top1, labels: ["1"] },
3147
+ { ...refblocks17.top1, labels: ["1"] },
2999
3148
  // TODO add more "standard" labels
3000
- { ...refblocks16.bottom1, labels: ["2"] },
3149
+ { ...refblocks17.bottom1, labels: ["2"] },
3001
3150
  // TODO add more "standard" labels
3002
- { ...refblocks16.left1, labels: ["3"] }
3151
+ { ...refblocks17.left1, labels: ["3"] }
3003
3152
  // TODO add more "standard" labels
3004
3153
  ],
3005
- size: { width: bounds16.width + 0.4, height: bounds16.height },
3006
- center: { x: bounds16.centerX + 0.2, y: bounds16.centerY }
3154
+ size: { width: bounds17.width + 0.4, height: bounds17.height },
3155
+ center: { x: bounds17.centerX + 0.2, y: bounds17.centerY }
3007
3156
  });
3008
3157
 
3009
3158
  // symbols/mosfet_depletion_normally_on_vert.ts
@@ -3214,34 +3363,34 @@ var n_channel_d_mosfet_transistor_default = {
3214
3363
  };
3215
3364
 
3216
3365
  // symbols/n_channel_d_mosfet_transistor_horz.ts
3217
- var { paths: paths17, texts: texts21, bounds: bounds17, refblocks: refblocks17, circles: circles11 } = n_channel_d_mosfet_transistor_default;
3366
+ var { paths: paths18, texts: texts22, bounds: bounds18, refblocks: refblocks18, circles: circles12 } = n_channel_d_mosfet_transistor_default;
3218
3367
  var n_channel_d_mosfet_transistor_horz_default = defineSymbol({
3219
3368
  primitives: [
3220
- ...Object.values(paths17),
3221
- ...Object.values(circles11),
3222
- { ...texts21.top1, anchor: "middle_right", x: 0 },
3223
- { ...texts21.bottom1, anchor: "middle_right", x: 0 }
3369
+ ...Object.values(paths18),
3370
+ ...Object.values(circles12),
3371
+ { ...texts22.top1, anchor: "middle_right", x: 0 },
3372
+ { ...texts22.bottom1, anchor: "middle_right", x: 0 }
3224
3373
  ],
3225
3374
  ports: [
3226
- { ...refblocks17.top1, labels: ["1", "drain"] },
3375
+ { ...refblocks18.top1, labels: ["1", "drain"] },
3227
3376
  // TODO add more "standard" labels
3228
- { ...refblocks17.bottom1, labels: ["2", "source"] },
3377
+ { ...refblocks18.bottom1, labels: ["2", "source"] },
3229
3378
  // TODO add more "standard" labels
3230
- { ...refblocks17.left1, labels: ["3", "gate"] }
3379
+ { ...refblocks18.left1, labels: ["3", "gate"] }
3231
3380
  // TODO add more "standard" labels
3232
3381
  ],
3233
- size: { width: bounds17.width, height: bounds17.height },
3234
- center: { x: bounds17.centerX, y: bounds17.centerY }
3382
+ size: { width: bounds18.width, height: bounds18.height },
3383
+ center: { x: bounds18.centerX, y: bounds18.centerY }
3235
3384
  });
3236
3385
 
3237
3386
  // symbols/n_channel_d_mosfet_transistor_vert.ts
3238
3387
  var rotatedSymbol9 = rotateSymbol(n_channel_d_mosfet_transistor_horz_default);
3239
- var texts22 = rotatedSymbol9.primitives.filter((p) => p.type === "text");
3240
- var val9 = texts22.find((t) => t.text === "{VAL}");
3388
+ var texts23 = rotatedSymbol9.primitives.filter((p) => p.type === "text");
3389
+ var val9 = texts23.find((t) => t.text === "{VAL}");
3241
3390
  val9.x = -0.35;
3242
3391
  val9.y = 0;
3243
3392
  val9.anchor = "middle_right";
3244
- var ref10 = texts22.find((t) => t.text === "{REF}");
3393
+ var ref10 = texts23.find((t) => t.text === "{REF}");
3245
3394
  ref10.y = 0;
3246
3395
  ref10.x = 0.35;
3247
3396
  ref10.anchor = "middle_left";
@@ -3411,34 +3560,34 @@ var njfet_transistor_default = {
3411
3560
  };
3412
3561
 
3413
3562
  // symbols/njfet_transistor_horz.ts
3414
- var { paths: paths18, texts: texts23, bounds: bounds18, refblocks: refblocks18, circles: circles12 } = njfet_transistor_default;
3563
+ var { paths: paths19, texts: texts24, bounds: bounds19, refblocks: refblocks19, circles: circles13 } = njfet_transistor_default;
3415
3564
  var njfet_transistor_horz_default = defineSymbol({
3416
3565
  primitives: [
3417
- ...Object.values(paths18),
3418
- ...Object.values(circles12),
3419
- { ...texts23.top1, anchor: "middle_right", x: 0 },
3420
- { ...texts23.bottom1, anchor: "middle_right", x: 0 }
3566
+ ...Object.values(paths19),
3567
+ ...Object.values(circles13),
3568
+ { ...texts24.top1, anchor: "middle_right", x: 0 },
3569
+ { ...texts24.bottom1, anchor: "middle_right", x: 0 }
3421
3570
  ],
3422
3571
  ports: [
3423
- { ...refblocks18.top1, labels: ["1", "drain"] },
3572
+ { ...refblocks19.top1, labels: ["1", "drain"] },
3424
3573
  // TODO add more "standard" labels
3425
- { ...refblocks18.bottom1, labels: ["2", "source"] },
3574
+ { ...refblocks19.bottom1, labels: ["2", "source"] },
3426
3575
  // TODO add more "standard" labels
3427
- { ...refblocks18.left1, labels: ["3", "gate"] }
3576
+ { ...refblocks19.left1, labels: ["3", "gate"] }
3428
3577
  // TODO add more "standard" labels
3429
3578
  ],
3430
- size: { width: bounds18.width, height: bounds18.height },
3431
- center: { x: bounds18.centerX, y: bounds18.centerY }
3579
+ size: { width: bounds19.width, height: bounds19.height },
3580
+ center: { x: bounds19.centerX, y: bounds19.centerY }
3432
3581
  });
3433
3582
 
3434
3583
  // symbols/njfet_transistor_vert.ts
3435
3584
  var rotatedSymbol10 = rotateSymbol(njfet_transistor_horz_default);
3436
- var texts24 = rotatedSymbol10.primitives.filter((p) => p.type === "text");
3437
- var val10 = texts24.find((t) => t.text === "{VAL}");
3585
+ var texts25 = rotatedSymbol10.primitives.filter((p) => p.type === "text");
3586
+ var val10 = texts25.find((t) => t.text === "{VAL}");
3438
3587
  val10.x = -0.35;
3439
3588
  val10.y = 0;
3440
3589
  val10.anchor = "middle_right";
3441
- var ref11 = texts24.find((t) => t.text === "{REF}");
3590
+ var ref11 = texts25.find((t) => t.text === "{REF}");
3442
3591
  ref11.y = 0;
3443
3592
  ref11.x = 0.35;
3444
3593
  ref11.anchor = "middle_left";
@@ -3638,34 +3787,34 @@ var p_channel_d_mosfet_transistor_default = {
3638
3787
  };
3639
3788
 
3640
3789
  // symbols/p_channel_d_mosfet_transistor_horz.ts
3641
- var { paths: paths19, texts: texts25, bounds: bounds19, refblocks: refblocks19, circles: circles13 } = p_channel_d_mosfet_transistor_default;
3790
+ var { paths: paths20, texts: texts26, bounds: bounds20, refblocks: refblocks20, circles: circles14 } = p_channel_d_mosfet_transistor_default;
3642
3791
  var p_channel_d_mosfet_transistor_horz_default = defineSymbol({
3643
3792
  primitives: [
3644
- ...Object.values(paths19),
3645
- ...Object.values(circles13),
3646
- { ...texts25.top1, anchor: "middle_right", x: 0 },
3647
- { ...texts25.bottom1, anchor: "middle_right", x: 0 }
3793
+ ...Object.values(paths20),
3794
+ ...Object.values(circles14),
3795
+ { ...texts26.top1, anchor: "middle_right", x: 0 },
3796
+ { ...texts26.bottom1, anchor: "middle_right", x: 0 }
3648
3797
  ],
3649
3798
  ports: [
3650
- { ...refblocks19.top1, labels: ["1", "drain"] },
3799
+ { ...refblocks20.top1, labels: ["1", "drain"] },
3651
3800
  // TODO add more "standard" labels
3652
- { ...refblocks19.bottom1, labels: ["2", "source"] },
3801
+ { ...refblocks20.bottom1, labels: ["2", "source"] },
3653
3802
  // TODO add more "standard" labels
3654
- { ...refblocks19.left1, labels: ["3", "gate"] }
3803
+ { ...refblocks20.left1, labels: ["3", "gate"] }
3655
3804
  // TODO add more "standard" labels
3656
3805
  ],
3657
- size: { width: bounds19.width, height: bounds19.height },
3658
- center: { x: bounds19.centerX, y: bounds19.centerY }
3806
+ size: { width: bounds20.width, height: bounds20.height },
3807
+ center: { x: bounds20.centerX, y: bounds20.centerY }
3659
3808
  });
3660
3809
 
3661
3810
  // symbols/p_channel_d_mosfet_transistor_vert.ts
3662
3811
  var rotatedSymbol11 = rotateSymbol(p_channel_d_mosfet_transistor_horz_default);
3663
- var texts26 = rotatedSymbol11.primitives.filter((p) => p.type === "text");
3664
- var val11 = texts26.find((t) => t.text === "{VAL}");
3812
+ var texts27 = rotatedSymbol11.primitives.filter((p) => p.type === "text");
3813
+ var val11 = texts27.find((t) => t.text === "{VAL}");
3665
3814
  val11.x = -0.35;
3666
3815
  val11.y = 0;
3667
3816
  val11.anchor = "middle_right";
3668
- var ref12 = texts26.find((t) => t.text === "{REF}");
3817
+ var ref12 = texts27.find((t) => t.text === "{REF}");
3669
3818
  ref12.y = 0;
3670
3819
  ref12.x = 0.35;
3671
3820
  ref12.anchor = "middle_left";
@@ -3895,34 +4044,34 @@ var p_channel_e_mosfet_transistor_default = {
3895
4044
  };
3896
4045
 
3897
4046
  // symbols/p_channel_e_mosfet_transistor_horz.ts
3898
- var { paths: paths20, texts: texts27, bounds: bounds20, refblocks: refblocks20, circles: circles14 } = p_channel_e_mosfet_transistor_default;
4047
+ var { paths: paths21, texts: texts28, bounds: bounds21, refblocks: refblocks21, circles: circles15 } = p_channel_e_mosfet_transistor_default;
3899
4048
  var p_channel_e_mosfet_transistor_horz_default = defineSymbol({
3900
4049
  primitives: [
3901
- ...Object.values(paths20),
3902
- ...Object.values(circles14),
3903
- { ...texts27.top1, anchor: "middle_right", x: 0 },
3904
- { ...texts27.bottom1, anchor: "middle_right", x: 0 }
4050
+ ...Object.values(paths21),
4051
+ ...Object.values(circles15),
4052
+ { ...texts28.top1, anchor: "middle_right", x: 0 },
4053
+ { ...texts28.bottom1, anchor: "middle_right", x: 0 }
3905
4054
  ],
3906
4055
  ports: [
3907
- { ...refblocks20.top1, labels: ["1", "drain"] },
4056
+ { ...refblocks21.top1, labels: ["1", "drain"] },
3908
4057
  // TODO add more "standard" labels
3909
- { ...refblocks20.bottom1, labels: ["2", "source"] },
4058
+ { ...refblocks21.bottom1, labels: ["2", "source"] },
3910
4059
  // TODO add more "standard" labels
3911
- { ...refblocks20.left1, labels: ["3", "gate"] }
4060
+ { ...refblocks21.left1, labels: ["3", "gate"] }
3912
4061
  // TODO add more "standard" labels
3913
4062
  ],
3914
- size: { width: bounds20.width, height: bounds20.height },
3915
- center: { x: bounds20.centerX, y: bounds20.centerY }
4063
+ size: { width: bounds21.width, height: bounds21.height },
4064
+ center: { x: bounds21.centerX, y: bounds21.centerY }
3916
4065
  });
3917
4066
 
3918
4067
  // symbols/p_channel_e_mosfet_transistor_vert.ts
3919
4068
  var rotatedSymbol12 = rotateSymbol(p_channel_e_mosfet_transistor_horz_default);
3920
- var texts28 = rotatedSymbol12.primitives.filter((p) => p.type === "text");
3921
- var val12 = texts28.find((t) => t.text === "{VAL}");
4069
+ var texts29 = rotatedSymbol12.primitives.filter((p) => p.type === "text");
4070
+ var val12 = texts29.find((t) => t.text === "{VAL}");
3922
4071
  val12.x = -0.35;
3923
4072
  val12.y = 0;
3924
4073
  val12.anchor = "middle_right";
3925
- var ref13 = texts28.find((t) => t.text === "{REF}");
4074
+ var ref13 = texts29.find((t) => t.text === "{REF}");
3926
4075
  ref13.y = 0;
3927
4076
  ref13.x = 0.35;
3928
4077
  ref13.anchor = "middle_left";
@@ -4153,11 +4302,11 @@ var photodiode_default = {
4153
4302
  };
4154
4303
 
4155
4304
  // symbols/photodiode_horz.ts
4156
- var { paths: paths21, texts: texts29, bounds: bounds21, refblocks: refblocks21, circles: circles15 } = photodiode_default;
4305
+ var { paths: paths22, texts: texts30, bounds: bounds22, refblocks: refblocks22, circles: circles16 } = photodiode_default;
4157
4306
  var photodiode_horz_default = defineSymbol({
4158
4307
  primitives: [
4159
- ...Object.values(paths21),
4160
- ...Object.values(circles15),
4308
+ ...Object.values(paths22),
4309
+ ...Object.values(circles16),
4161
4310
  {
4162
4311
  type: "text",
4163
4312
  text: "{REF}",
@@ -4174,19 +4323,19 @@ var photodiode_horz_default = defineSymbol({
4174
4323
  }
4175
4324
  ],
4176
4325
  ports: [
4177
- { ...refblocks21.left1, labels: ["1"] },
4326
+ { ...refblocks22.left1, labels: ["1"] },
4178
4327
  // TODO add more "standard" labels
4179
- { ...refblocks21.right1, labels: ["2"] }
4328
+ { ...refblocks22.right1, labels: ["2"] }
4180
4329
  // TODO add more "standard" labels
4181
4330
  ],
4182
- size: { width: bounds21.width, height: bounds21.height },
4183
- center: { x: bounds21.centerX, y: bounds21.centerY }
4331
+ size: { width: bounds22.width, height: bounds22.height },
4332
+ center: { x: bounds22.centerX, y: bounds22.centerY }
4184
4333
  });
4185
4334
 
4186
4335
  // symbols/photodiode_vert.ts
4187
4336
  var rotatedSymbol13 = rotateSymbol(photodiode_horz_default);
4188
- var texts30 = rotatedSymbol13.primitives.filter((p) => p.type === "text");
4189
- var ref14 = texts30.find((t) => t.text === "{REF}");
4337
+ var texts31 = rotatedSymbol13.primitives.filter((p) => p.type === "text");
4338
+ var ref14 = texts31.find((t) => t.text === "{REF}");
4190
4339
  ref14.y = 0;
4191
4340
  ref14.anchor = "middle_left";
4192
4341
  var photodiode_vert_default = rotatedSymbol13;
@@ -4355,34 +4504,34 @@ var pjfet_transistor_default = {
4355
4504
  };
4356
4505
 
4357
4506
  // symbols/pjfet_transistor_horz.ts
4358
- var { paths: paths22, texts: texts31, bounds: bounds22, refblocks: refblocks22, circles: circles16 } = pjfet_transistor_default;
4507
+ var { paths: paths23, texts: texts32, bounds: bounds23, refblocks: refblocks23, circles: circles17 } = pjfet_transistor_default;
4359
4508
  var pjfet_transistor_horz_default = defineSymbol({
4360
4509
  primitives: [
4361
- ...Object.values(paths22),
4362
- ...Object.values(circles16),
4363
- { ...texts31.top1, anchor: "middle_right", x: 0 },
4364
- { ...texts31.bottom1, anchor: "middle_right" }
4510
+ ...Object.values(paths23),
4511
+ ...Object.values(circles17),
4512
+ { ...texts32.top1, anchor: "middle_right", x: 0 },
4513
+ { ...texts32.bottom1, anchor: "middle_right" }
4365
4514
  ],
4366
4515
  ports: [
4367
- { ...refblocks22.top1, labels: ["1", "drain"] },
4516
+ { ...refblocks23.top1, labels: ["1", "drain"] },
4368
4517
  // TODO add more "standard" labels
4369
- { ...refblocks22.bottom1, labels: ["2", "source"] },
4518
+ { ...refblocks23.bottom1, labels: ["2", "source"] },
4370
4519
  // TODO add more "standard" labels
4371
- { ...refblocks22.left1, labels: ["3", "gate"] }
4520
+ { ...refblocks23.left1, labels: ["3", "gate"] }
4372
4521
  // TODO add more "standard" labels
4373
4522
  ],
4374
- size: { width: bounds22.width, height: bounds22.height },
4375
- center: { x: bounds22.centerX, y: bounds22.centerY }
4523
+ size: { width: bounds23.width, height: bounds23.height },
4524
+ center: { x: bounds23.centerX, y: bounds23.centerY }
4376
4525
  });
4377
4526
 
4378
4527
  // symbols/pjfet_transistor_vert.ts
4379
4528
  var rotatedSymbol14 = rotateSymbol(pjfet_transistor_horz_default);
4380
- var texts32 = rotatedSymbol14.primitives.filter((p) => p.type === "text");
4381
- var val13 = texts32.find((t) => t.text === "{VAL}");
4529
+ var texts33 = rotatedSymbol14.primitives.filter((p) => p.type === "text");
4530
+ var val13 = texts33.find((t) => t.text === "{VAL}");
4382
4531
  val13.x = -0.35;
4383
4532
  val13.y = 0;
4384
4533
  val13.anchor = "middle_right";
4385
- var ref15 = texts32.find((t) => t.text === "{REF}");
4534
+ var ref15 = texts33.find((t) => t.text === "{REF}");
4386
4535
  ref15.y = 0;
4387
4536
  ref15.x = 0.35;
4388
4537
  ref15.anchor = "middle_left";
@@ -4524,21 +4673,21 @@ var potentiometer_default = {
4524
4673
  };
4525
4674
 
4526
4675
  // symbols/potentiometer_horz.ts
4527
- var { paths: paths23, texts: texts33, bounds: bounds23, refblocks: refblocks23 } = potentiometer_default;
4676
+ var { paths: paths24, texts: texts34, bounds: bounds24, refblocks: refblocks24 } = potentiometer_default;
4528
4677
  var potentiometer_horz_default = defineSymbol({
4529
4678
  primitives: [
4530
- ...Object.values(paths23),
4531
- { ...texts33.bottom1, y: 0.35, anchor: "middle_top" },
4532
- { ...texts33.right1, anchor: "middle_left" }
4679
+ ...Object.values(paths24),
4680
+ { ...texts34.bottom1, y: 0.35, anchor: "middle_top" },
4681
+ { ...texts34.right1, anchor: "middle_left" }
4533
4682
  ],
4534
4683
  ports: [
4535
- { ...refblocks23.left1, labels: ["1"] },
4684
+ { ...refblocks24.left1, labels: ["1"] },
4536
4685
  // TODO add more "standard" labels
4537
- { ...refblocks23.right1, labels: ["2"] }
4686
+ { ...refblocks24.right1, labels: ["2"] }
4538
4687
  // TODO add more "standard" labels
4539
4688
  ],
4540
- size: { width: bounds23.width + 0.05, height: bounds23.height },
4541
- center: { x: bounds23.centerX, y: bounds23.centerY }
4689
+ size: { width: bounds24.width + 0.05, height: bounds24.height },
4690
+ center: { x: bounds24.centerX, y: bounds24.centerY }
4542
4691
  });
4543
4692
 
4544
4693
  // symbols/potentiometer_vert.ts
@@ -4700,21 +4849,21 @@ var potentiometer2_default = {
4700
4849
  };
4701
4850
 
4702
4851
  // symbols/potentiometer2_horz.ts
4703
- var { paths: paths24, texts: texts34, bounds: bounds24, refblocks: refblocks24 } = potentiometer2_default;
4852
+ var { paths: paths25, texts: texts35, bounds: bounds25, refblocks: refblocks25 } = potentiometer2_default;
4704
4853
  var potentiometer2_horz_default = defineSymbol({
4705
4854
  primitives: [
4706
- ...Object.values(paths24),
4707
- { ...texts34.bottom1, anchor: "middle_right" },
4708
- { ...texts34.top1, anchor: "middle_left" }
4855
+ ...Object.values(paths25),
4856
+ { ...texts35.bottom1, anchor: "middle_right" },
4857
+ { ...texts35.top1, anchor: "middle_left" }
4709
4858
  ],
4710
4859
  ports: [
4711
- { ...refblocks24.left1, labels: ["1"] },
4860
+ { ...refblocks25.left1, labels: ["1"] },
4712
4861
  // TODO add more "standard" labels
4713
- { ...refblocks24.right1, labels: ["2"] }
4862
+ { ...refblocks25.right1, labels: ["2"] }
4714
4863
  // TODO add more "standard" labels
4715
4864
  ],
4716
- size: { width: bounds24.width, height: bounds24.height },
4717
- center: { x: bounds24.centerX, y: bounds24.centerY }
4865
+ size: { width: bounds25.width, height: bounds25.height },
4866
+ center: { x: bounds25.centerX, y: bounds25.centerY }
4718
4867
  });
4719
4868
 
4720
4869
  // symbols/potentiometer2_vert.ts
@@ -4807,11 +4956,11 @@ var power_factor_meter_default = {
4807
4956
  };
4808
4957
 
4809
4958
  // symbols/power_factor_meter_horz.ts
4810
- var { paths: paths25, texts: texts35, bounds: bounds25, refblocks: refblocks25, circles: circles17 } = power_factor_meter_default;
4959
+ var { paths: paths26, texts: texts36, bounds: bounds26, refblocks: refblocks26, circles: circles18 } = power_factor_meter_default;
4811
4960
  var power_factor_meter_horz_default = defineSymbol({
4812
4961
  primitives: [
4813
- ...Object.values(paths25),
4814
- ...Object.values(circles17),
4962
+ ...Object.values(paths26),
4963
+ ...Object.values(circles18),
4815
4964
  // { ...texts.top1, anchor: "middle_left" },
4816
4965
  {
4817
4966
  type: "text",
@@ -4838,21 +4987,21 @@ var power_factor_meter_horz_default = defineSymbol({
4838
4987
  }
4839
4988
  ],
4840
4989
  ports: [
4841
- { ...refblocks25.left1, labels: ["1"] },
4990
+ { ...refblocks26.left1, labels: ["1"] },
4842
4991
  // TODO add more "standard" labels
4843
- { ...refblocks25.right1, labels: ["2"] }
4992
+ { ...refblocks26.right1, labels: ["2"] }
4844
4993
  // TODO add more "standard" labels
4845
4994
  ],
4846
- size: { width: bounds25.width, height: bounds25.height },
4847
- center: { x: bounds25.centerX, y: bounds25.centerY }
4995
+ size: { width: bounds26.width, height: bounds26.height },
4996
+ center: { x: bounds26.centerX, y: bounds26.centerY }
4848
4997
  });
4849
4998
 
4850
4999
  // symbols/power_factor_meter_vert.ts
4851
5000
  var rotatedSymbol15 = rotateSymbol(power_factor_meter_horz_default);
4852
- var texts36 = rotatedSymbol15.primitives.filter((p) => p.type === "text");
4853
- var ref16 = texts36.find((t) => t.text === "{REF}");
4854
- var val14 = texts36.find((t) => t.text === "{VAL}");
4855
- var text_cos = texts36.find((t) => t.text === "COS \u03C6");
5001
+ var texts37 = rotatedSymbol15.primitives.filter((p) => p.type === "text");
5002
+ var ref16 = texts37.find((t) => t.text === "{REF}");
5003
+ var val14 = texts37.find((t) => t.text === "{VAL}");
5004
+ var text_cos = texts37.find((t) => t.text === "COS \u03C6");
4856
5005
  ref16.x = 0.35;
4857
5006
  ref16.y = 0;
4858
5007
  val14.x = -0.6;
@@ -4962,21 +5111,21 @@ var push_button_normally_closed_momentary_default = {
4962
5111
  };
4963
5112
 
4964
5113
  // symbols/push_button_normally_closed_momentary_horz.ts
4965
- var { paths: paths26, texts: texts37, bounds: bounds26, refblocks: refblocks26 } = push_button_normally_closed_momentary_default;
5114
+ var { paths: paths27, texts: texts38, bounds: bounds27, refblocks: refblocks27 } = push_button_normally_closed_momentary_default;
4966
5115
  var push_button_normally_closed_momentary_horz_default = defineSymbol({
4967
5116
  primitives: [
4968
- ...Object.values(paths26),
4969
- { ...texts37.top1, anchor: "middle_bottom" },
4970
- { ...texts37.bottom1, anchor: "middle_top" }
5117
+ ...Object.values(paths27),
5118
+ { ...texts38.top1, anchor: "middle_bottom" },
5119
+ { ...texts38.bottom1, anchor: "middle_top" }
4971
5120
  ],
4972
5121
  ports: [
4973
- { ...refblocks26.left1, labels: ["1"] },
5122
+ { ...refblocks27.left1, labels: ["1"] },
4974
5123
  // TODO add more "standard" labels
4975
- { ...refblocks26.right1, labels: ["2"] }
5124
+ { ...refblocks27.right1, labels: ["2"] }
4976
5125
  // TODO add more "standard" labels
4977
5126
  ],
4978
- size: { width: bounds26.width, height: bounds26.height },
4979
- center: { x: bounds26.centerX, y: bounds26.centerY }
5127
+ size: { width: bounds27.width, height: bounds27.height },
5128
+ center: { x: bounds27.centerX, y: bounds27.centerY }
4980
5129
  });
4981
5130
 
4982
5131
  // symbols/push_button_normally_closed_momentary_vert.ts
@@ -5096,21 +5245,21 @@ var push_button_normally_open_momentary_default = {
5096
5245
  };
5097
5246
 
5098
5247
  // symbols/push_button_normally_open_momentary_horz.ts
5099
- var { paths: paths27, texts: texts38, bounds: bounds27, refblocks: refblocks27 } = push_button_normally_open_momentary_default;
5248
+ var { paths: paths28, texts: texts39, bounds: bounds28, refblocks: refblocks28 } = push_button_normally_open_momentary_default;
5100
5249
  var push_button_normally_open_momentary_horz_default = defineSymbol({
5101
5250
  primitives: [
5102
- ...Object.values(paths27),
5103
- { ...texts38.top1, anchor: "middle_bottom" },
5104
- { ...texts38.bottom1, anchor: "middle_top" }
5251
+ ...Object.values(paths28),
5252
+ { ...texts39.top1, anchor: "middle_bottom" },
5253
+ { ...texts39.bottom1, anchor: "middle_top" }
5105
5254
  ],
5106
5255
  ports: [
5107
- { ...refblocks27.left1, labels: ["1"] },
5256
+ { ...refblocks28.left1, labels: ["1"] },
5108
5257
  // TODO add more "standard" labels
5109
- { ...refblocks27.right1, labels: ["2"] }
5258
+ { ...refblocks28.right1, labels: ["2"] }
5110
5259
  // TODO add more "standard" labels
5111
5260
  ],
5112
- size: { width: bounds27.width, height: bounds27.height },
5113
- center: { x: bounds27.centerX, y: bounds27.centerY }
5261
+ size: { width: bounds28.width, height: bounds28.height },
5262
+ center: { x: bounds28.centerX, y: bounds28.centerY }
5114
5263
  });
5115
5264
 
5116
5265
  // symbols/push_button_normally_open_momentary_vert.ts
@@ -5475,11 +5624,11 @@ var resonator_default = {
5475
5624
  };
5476
5625
 
5477
5626
  // symbols/resonator_horz.ts
5478
- var { paths: paths28, texts: texts39, bounds: bounds28, refblocks: refblocks28, circles: circles18 } = resonator_default;
5627
+ var { paths: paths29, texts: texts40, bounds: bounds29, refblocks: refblocks29, circles: circles19 } = resonator_default;
5479
5628
  var resonator_horz_default = defineSymbol({
5480
5629
  primitives: [
5481
- ...Object.values(paths28),
5482
- ...Object.values(circles18),
5630
+ ...Object.values(paths29),
5631
+ ...Object.values(circles19),
5483
5632
  // { ...texts.top1, anchor: "middle_left" },
5484
5633
  // { ...texts.bottom1, anchor: "middle_left" },
5485
5634
  {
@@ -5498,15 +5647,15 @@ var resonator_horz_default = defineSymbol({
5498
5647
  }
5499
5648
  ],
5500
5649
  ports: [
5501
- { ...refblocks28.left1, labels: ["1"] },
5650
+ { ...refblocks29.left1, labels: ["1"] },
5502
5651
  // TODO add more "standard" labels
5503
- { ...refblocks28.right1, labels: ["2"] },
5652
+ { ...refblocks29.right1, labels: ["2"] },
5504
5653
  // TODO add more "standard" labels
5505
- { ...refblocks28.right2, labels: ["3"] }
5654
+ { ...refblocks29.right2, labels: ["3"] }
5506
5655
  // TODO add more "standard" labels
5507
5656
  ],
5508
- size: { width: bounds28.width, height: bounds28.height },
5509
- center: { x: bounds28.centerX, y: bounds28.centerY }
5657
+ size: { width: bounds29.width, height: bounds29.height },
5658
+ center: { x: bounds29.centerX, y: bounds29.centerY }
5510
5659
  });
5511
5660
 
5512
5661
  // symbols/resonator_vert.ts
@@ -5704,22 +5853,22 @@ var schottky_diode_default = {
5704
5853
  };
5705
5854
 
5706
5855
  // symbols/schottky_diode_horz.ts
5707
- var { paths: paths29, texts: texts40, bounds: bounds29, refblocks: refblocks29, circles: circles19 } = schottky_diode_default;
5856
+ var { paths: paths30, texts: texts41, bounds: bounds30, refblocks: refblocks30, circles: circles20 } = schottky_diode_default;
5708
5857
  var schottky_diode_horz_default = defineSymbol({
5709
5858
  primitives: [
5710
- ...Object.values(paths29),
5711
- ...Object.values(circles19),
5712
- { ...texts40.top1, anchor: "middle_bottom" },
5713
- { ...texts40.bottom1, anchor: "middle_top" }
5859
+ ...Object.values(paths30),
5860
+ ...Object.values(circles20),
5861
+ { ...texts41.top1, anchor: "middle_bottom" },
5862
+ { ...texts41.bottom1, anchor: "middle_top" }
5714
5863
  ],
5715
5864
  ports: [
5716
- { ...refblocks29.left1, labels: ["1"] },
5865
+ { ...refblocks30.left1, labels: ["1"] },
5717
5866
  // TODO add more "standard" labels
5718
- { ...refblocks29.right1, labels: ["2"] }
5867
+ { ...refblocks30.right1, labels: ["2"] }
5719
5868
  // TODO add more "standard" labels
5720
5869
  ],
5721
- size: { width: bounds29.width, height: bounds29.height },
5722
- center: { x: bounds29.centerX, y: bounds29.centerY }
5870
+ size: { width: bounds30.width, height: bounds30.height },
5871
+ center: { x: bounds30.centerX, y: bounds30.centerY }
5723
5872
  });
5724
5873
 
5725
5874
  // symbols/schottky_diode_vert.ts
@@ -5878,32 +6027,32 @@ var silicon_controlled_rectifier_default = {
5878
6027
  };
5879
6028
 
5880
6029
  // symbols/silicon_controlled_rectifier_horz.ts
5881
- var { paths: paths30, texts: texts41, bounds: bounds30, refblocks: refblocks30, circles: circles20 } = silicon_controlled_rectifier_default;
6030
+ var { paths: paths31, texts: texts42, bounds: bounds31, refblocks: refblocks31, circles: circles21 } = silicon_controlled_rectifier_default;
5882
6031
  var silicon_controlled_rectifier_horz_default = defineSymbol({
5883
6032
  primitives: [
5884
- ...Object.values(paths30),
5885
- ...Object.values(circles20),
5886
- { ...texts41.top1, anchor: "middle_left" },
5887
- { ...texts41.bottom1, anchor: "middle_top" }
6033
+ ...Object.values(paths31),
6034
+ ...Object.values(circles21),
6035
+ { ...texts42.top1, anchor: "middle_left" },
6036
+ { ...texts42.bottom1, anchor: "middle_top" }
5888
6037
  ],
5889
6038
  ports: [
5890
- { ...refblocks30.left1, labels: ["1"] },
6039
+ { ...refblocks31.left1, labels: ["1"] },
5891
6040
  // TODO add more "standard" labels
5892
- { ...refblocks30.right1, labels: ["2"] },
6041
+ { ...refblocks31.right1, labels: ["2"] },
5893
6042
  // TODO add more "standard" labels
5894
- { ...refblocks30.bottom1, labels: ["3"] }
6043
+ { ...refblocks31.bottom1, labels: ["3"] }
5895
6044
  // TODO add more "standard" labels
5896
6045
  ],
5897
- size: { width: bounds30.width, height: bounds30.height },
5898
- center: { x: bounds30.centerX, y: bounds30.centerY }
6046
+ size: { width: bounds31.width, height: bounds31.height },
6047
+ center: { x: bounds31.centerX, y: bounds31.centerY }
5899
6048
  });
5900
6049
 
5901
6050
  // symbols/silicon_controlled_rectifier_vert.ts
5902
6051
  var rotatedSymbol16 = rotateSymbol(silicon_controlled_rectifier_horz_default);
5903
- var texts42 = rotatedSymbol16.primitives.filter(
6052
+ var texts43 = rotatedSymbol16.primitives.filter(
5904
6053
  (primitive) => primitive.type === "text"
5905
6054
  );
5906
- var ref20 = texts42.find((text) => text.text === "{REF}");
6055
+ var ref20 = texts43.find((text) => text.text === "{REF}");
5907
6056
  ref20.y = 0;
5908
6057
  ref20.anchor = "middle_left";
5909
6058
  var silicon_controlled_rectifier_vert_default = rotatedSymbol16;
@@ -6003,32 +6152,32 @@ var SPST_switch_default = {
6003
6152
  };
6004
6153
 
6005
6154
  // symbols/SPST_switch_horz.ts
6006
- var { paths: paths31, texts: texts43, bounds: bounds31, refblocks: refblocks31, circles: circles21 } = SPST_switch_default;
6155
+ var { paths: paths32, texts: texts44, bounds: bounds32, refblocks: refblocks32, circles: circles22 } = SPST_switch_default;
6007
6156
  var SPST_switch_horz_default = defineSymbol({
6008
6157
  primitives: [
6009
- ...Object.values(paths31),
6010
- ...Object.values(circles21),
6011
- { ...texts43.top1, anchor: "middle_bottom", x: 0 },
6012
- { ...texts43.bottom1, anchor: "middle_top", x: 0 }
6158
+ ...Object.values(paths32),
6159
+ ...Object.values(circles22),
6160
+ { ...texts44.top1, anchor: "middle_bottom", x: 0 },
6161
+ { ...texts44.bottom1, anchor: "middle_top", x: 0 }
6013
6162
  ],
6014
6163
  ports: [
6015
- { ...refblocks31.left1, labels: ["1"] },
6164
+ { ...refblocks32.left1, labels: ["1"] },
6016
6165
  // TODO add more "standard" labels
6017
- { ...refblocks31.right1, labels: ["2"] }
6166
+ { ...refblocks32.right1, labels: ["2"] }
6018
6167
  // TODO add more "standard" labels
6019
6168
  ],
6020
- size: { width: bounds31.width, height: bounds31.height },
6021
- center: { x: bounds31.centerX, y: bounds31.centerY }
6169
+ size: { width: bounds32.width, height: bounds32.height },
6170
+ center: { x: bounds32.centerX, y: bounds32.centerY }
6022
6171
  });
6023
6172
 
6024
6173
  // symbols/SPST_switch_vert.ts
6025
6174
  var rotatedSymbol17 = rotateSymbol(SPST_switch_horz_default);
6026
- var texts44 = rotatedSymbol17.primitives.filter((p) => p.type === "text");
6027
- var val18 = texts44.find((t) => t.text === "{VAL}");
6175
+ var texts45 = rotatedSymbol17.primitives.filter((p) => p.type === "text");
6176
+ var val18 = texts45.find((t) => t.text === "{VAL}");
6028
6177
  val18.anchor = "middle_right";
6029
6178
  val18.x = -0.3;
6030
6179
  val18.y = 0;
6031
- var ref21 = texts44.find((t) => t.text === "{REF}");
6180
+ var ref21 = texts45.find((t) => t.text === "{REF}");
6032
6181
  ref21.anchor = "middle_left";
6033
6182
  ref21.x = 0.3;
6034
6183
  ref21.y = 0;
@@ -6196,11 +6345,11 @@ var step_recovery_diode_default = {
6196
6345
  };
6197
6346
 
6198
6347
  // symbols/step_recovery_diode_horz.ts
6199
- var { paths: paths32, texts: texts45, bounds: bounds32, refblocks: refblocks32, circles: circles22 } = step_recovery_diode_default;
6348
+ var { paths: paths33, texts: texts46, bounds: bounds33, refblocks: refblocks33, circles: circles23 } = step_recovery_diode_default;
6200
6349
  var step_recovery_diode_horz_default = defineSymbol({
6201
6350
  primitives: [
6202
- ...Object.values(paths32),
6203
- ...Object.values(circles22),
6351
+ ...Object.values(paths33),
6352
+ ...Object.values(circles23),
6204
6353
  // { ...texts.top1, anchor: "middle_left" },
6205
6354
  // { ...texts.bottom1, anchor: "middle_left" },
6206
6355
  {
@@ -6219,13 +6368,13 @@ var step_recovery_diode_horz_default = defineSymbol({
6219
6368
  }
6220
6369
  ],
6221
6370
  ports: [
6222
- { ...refblocks32.left1, labels: ["1"] },
6371
+ { ...refblocks33.left1, labels: ["1"] },
6223
6372
  // TODO add more "standard" labels
6224
- { ...refblocks32.right1, labels: ["2"] }
6373
+ { ...refblocks33.right1, labels: ["2"] }
6225
6374
  // TODO add more "standard" labels
6226
6375
  ],
6227
- size: { width: bounds32.width, height: bounds32.height },
6228
- center: { x: bounds32.centerX, y: bounds32.centerY }
6376
+ size: { width: bounds33.width, height: bounds33.height },
6377
+ center: { x: bounds33.centerX, y: bounds33.centerY }
6229
6378
  });
6230
6379
 
6231
6380
  // symbols/step_recovery_diode_vert.ts
@@ -6422,33 +6571,33 @@ var triac_default = {
6422
6571
  };
6423
6572
 
6424
6573
  // symbols/triac_horz.ts
6425
- var { paths: paths33, texts: texts46, bounds: bounds33, refblocks: refblocks33, circles: circles23 } = triac_default;
6574
+ var { paths: paths34, texts: texts47, bounds: bounds34, refblocks: refblocks34, circles: circles24 } = triac_default;
6426
6575
  var triac_horz_default = defineSymbol({
6427
6576
  primitives: [
6428
- ...Object.values(paths33),
6429
- ...Object.values(circles23),
6430
- { ...texts46.top1, anchor: "middle_left" },
6431
- { ...texts46.bottom1, anchor: "middle_top" }
6577
+ ...Object.values(paths34),
6578
+ ...Object.values(circles24),
6579
+ { ...texts47.top1, anchor: "middle_left" },
6580
+ { ...texts47.bottom1, anchor: "middle_top" }
6432
6581
  ],
6433
6582
  ports: [
6434
- { ...refblocks33.left1, labels: ["1"] },
6583
+ { ...refblocks34.left1, labels: ["1"] },
6435
6584
  // TODO add more "standard" labels
6436
- { ...refblocks33.right1, labels: ["2"] },
6585
+ { ...refblocks34.right1, labels: ["2"] },
6437
6586
  // TODO add more "standard" labels
6438
- { ...refblocks33.bottom1, labels: ["3"] }
6587
+ { ...refblocks34.bottom1, labels: ["3"] }
6439
6588
  // TODO add more "standard" labels
6440
6589
  ],
6441
- size: { width: bounds33.width, height: bounds33.height },
6442
- center: { x: bounds33.centerX, y: bounds33.centerY }
6590
+ size: { width: bounds34.width, height: bounds34.height },
6591
+ center: { x: bounds34.centerX, y: bounds34.centerY }
6443
6592
  });
6444
6593
 
6445
6594
  // symbols/triac_vert.ts
6446
6595
  var rotatedSymbol18 = rotateSymbol(triac_horz_default);
6447
- var texts47 = rotatedSymbol18.primitives.filter(
6596
+ var texts48 = rotatedSymbol18.primitives.filter(
6448
6597
  (primitive) => primitive.type === "text"
6449
6598
  );
6450
- var ref22 = texts47.find((text) => text.text === "{REF}");
6451
- var val19 = texts47.find((text) => text.text === "{VAL}");
6599
+ var ref22 = texts48.find((text) => text.text === "{REF}");
6600
+ var val19 = texts48.find((text) => text.text === "{VAL}");
6452
6601
  ref22.y = 0;
6453
6602
  val19.y = 0;
6454
6603
  var triac_vert_default = rotatedSymbol18;
@@ -6615,22 +6764,22 @@ var tunnel_diode_default = {
6615
6764
  };
6616
6765
 
6617
6766
  // symbols/tunnel_diode_horz.ts
6618
- var { paths: paths34, texts: texts48, bounds: bounds34, refblocks: refblocks34, circles: circles24 } = tunnel_diode_default;
6767
+ var { paths: paths35, texts: texts49, bounds: bounds35, refblocks: refblocks35, circles: circles25 } = tunnel_diode_default;
6619
6768
  var tunnel_diode_horz_default = defineSymbol({
6620
6769
  primitives: [
6621
- ...Object.values(paths34),
6622
- ...Object.values(circles24),
6623
- { ...texts48.top1, anchor: "middle_bottom" },
6624
- { ...texts48.bottom1, anchor: "middle_top" }
6770
+ ...Object.values(paths35),
6771
+ ...Object.values(circles25),
6772
+ { ...texts49.top1, anchor: "middle_bottom" },
6773
+ { ...texts49.bottom1, anchor: "middle_top" }
6625
6774
  ],
6626
6775
  ports: [
6627
- { ...refblocks34.left1, labels: ["1"] },
6776
+ { ...refblocks35.left1, labels: ["1"] },
6628
6777
  // TODO add more "standard" labels
6629
- { ...refblocks34.right1, labels: ["2"] }
6778
+ { ...refblocks35.right1, labels: ["2"] }
6630
6779
  // TODO add more "standard" labels
6631
6780
  ],
6632
- size: { width: bounds34.width, height: bounds34.height },
6633
- center: { x: bounds34.centerX, y: bounds34.centerY }
6781
+ size: { width: bounds35.width, height: bounds35.height },
6782
+ center: { x: bounds35.centerX, y: bounds35.centerY }
6634
6783
  });
6635
6784
 
6636
6785
  // symbols/tunnel_diode_vert.ts
@@ -6813,34 +6962,34 @@ var unijunction_transistor_default = {
6813
6962
  };
6814
6963
 
6815
6964
  // symbols/unijunction_transistor_horz.ts
6816
- var { paths: paths35, texts: texts49, bounds: bounds35, refblocks: refblocks35, circles: circles25 } = unijunction_transistor_default;
6965
+ var { paths: paths36, texts: texts50, bounds: bounds36, refblocks: refblocks36, circles: circles26 } = unijunction_transistor_default;
6817
6966
  var unijunction_transistor_horz_default = defineSymbol({
6818
6967
  primitives: [
6819
- ...Object.values(paths35),
6820
- ...Object.values(circles25),
6821
- { ...texts49.top1, anchor: "middle_left" },
6822
- { ...texts49.bottom1, anchor: "middle_right" }
6968
+ ...Object.values(paths36),
6969
+ ...Object.values(circles26),
6970
+ { ...texts50.top1, anchor: "middle_left" },
6971
+ { ...texts50.bottom1, anchor: "middle_right" }
6823
6972
  ],
6824
6973
  ports: [
6825
- { ...refblocks35.top1, labels: ["1"] },
6974
+ { ...refblocks36.top1, labels: ["1"] },
6826
6975
  // TODO add more "standard" labels
6827
- { ...refblocks35.bottom1, labels: ["2"] },
6976
+ { ...refblocks36.bottom1, labels: ["2"] },
6828
6977
  // TODO add more "standard" labels
6829
- { ...refblocks35.left1, labels: ["3"] }
6978
+ { ...refblocks36.left1, labels: ["3"] }
6830
6979
  // TODO add more "standard" labels
6831
6980
  ],
6832
- size: { width: bounds35.width, height: bounds35.height },
6833
- center: { x: bounds35.centerX, y: bounds35.centerY }
6981
+ size: { width: bounds36.width, height: bounds36.height },
6982
+ center: { x: bounds36.centerX, y: bounds36.centerY }
6834
6983
  });
6835
6984
 
6836
6985
  // symbols/unijunction_transistor_vert.ts
6837
6986
  var rotatedSymbol19 = rotateSymbol(unijunction_transistor_horz_default);
6838
- var texts50 = rotatedSymbol19.primitives.filter(
6987
+ var texts51 = rotatedSymbol19.primitives.filter(
6839
6988
  (primitive) => primitive.type === "text"
6840
6989
  );
6841
- var ref24 = texts50.find((text) => text.text === "{REF}");
6990
+ var ref24 = texts51.find((text) => text.text === "{REF}");
6842
6991
  ref24.y = 0.1;
6843
- var val21 = texts50.find((text) => text.text === "{VAL}");
6992
+ var val21 = texts51.find((text) => text.text === "{VAL}");
6844
6993
  val21.y = 0.1;
6845
6994
  val21.x = -0.4;
6846
6995
  var unijunction_transistor_vert_default = rotatedSymbol19;
@@ -6932,33 +7081,33 @@ var var_meter_default = {
6932
7081
  };
6933
7082
 
6934
7083
  // symbols/var_meter_horz.ts
6935
- var { paths: paths36, texts: texts51, bounds: bounds36, refblocks: refblocks36, circles: circles26 } = var_meter_default;
7084
+ var { paths: paths37, texts: texts52, bounds: bounds37, refblocks: refblocks37, circles: circles27 } = var_meter_default;
6936
7085
  var var_meter_horz_default = defineSymbol({
6937
7086
  primitives: [
6938
- ...Object.values(paths36),
6939
- ...Object.values(circles26),
7087
+ ...Object.values(paths37),
7088
+ ...Object.values(circles27),
6940
7089
  {
6941
- ...texts51.top1,
7090
+ ...texts52.top1,
6942
7091
  x: 0,
6943
7092
  y: -0.3594553499999995,
6944
7093
  anchor: "middle_bottom"
6945
7094
  },
6946
7095
  {
6947
- ...texts51.bottom1,
7096
+ ...texts52.bottom1,
6948
7097
  x: 0,
6949
7098
  y: 0.35,
6950
7099
  anchor: "middle_top"
6951
7100
  },
6952
- { ...texts51.left1, x: -0.02, y: -0.02, fontSize: 0.2, anchor: "center" }
7101
+ { ...texts52.left1, x: -0.02, y: -0.02, fontSize: 0.2, anchor: "center" }
6953
7102
  ],
6954
7103
  ports: [
6955
- { ...refblocks36.left1, labels: ["1"] },
7104
+ { ...refblocks37.left1, labels: ["1"] },
6956
7105
  // TODO add more "standard" labels
6957
- { ...refblocks36.right1, labels: ["2"] }
7106
+ { ...refblocks37.right1, labels: ["2"] }
6958
7107
  // TODO add more "standard" labels
6959
7108
  ],
6960
- size: { width: bounds36.width, height: bounds36.height },
6961
- center: { x: bounds36.centerX, y: bounds36.centerY }
7109
+ size: { width: bounds37.width, height: bounds37.height },
7110
+ center: { x: bounds37.centerX, y: bounds37.centerY }
6962
7111
  });
6963
7112
 
6964
7113
  // symbols/var_meter_vert.ts
@@ -7111,22 +7260,22 @@ var varactor_diode_default = {
7111
7260
  };
7112
7261
 
7113
7262
  // symbols/varactor_diode_horz.ts
7114
- var { paths: paths37, texts: texts52, bounds: bounds37, refblocks: refblocks37, circles: circles27 } = varactor_diode_default;
7263
+ var { paths: paths38, texts: texts53, bounds: bounds38, refblocks: refblocks38, circles: circles28 } = varactor_diode_default;
7115
7264
  var varactor_diode_horz_default = defineSymbol({
7116
7265
  primitives: [
7117
- ...Object.values(paths37),
7118
- ...Object.values(circles27),
7119
- { ...texts52.top1, anchor: "middle_bottom" },
7120
- { ...texts52.bottom1, anchor: "middle_top" }
7266
+ ...Object.values(paths38),
7267
+ ...Object.values(circles28),
7268
+ { ...texts53.top1, anchor: "middle_bottom" },
7269
+ { ...texts53.bottom1, anchor: "middle_top" }
7121
7270
  ],
7122
7271
  ports: [
7123
- { ...refblocks37.left1, labels: ["1"] },
7272
+ { ...refblocks38.left1, labels: ["1"] },
7124
7273
  // TODO add more "standard" labels
7125
- { ...refblocks37.right1, labels: ["2"] }
7274
+ { ...refblocks38.right1, labels: ["2"] }
7126
7275
  // TODO add more "standard" labels
7127
7276
  ],
7128
- size: { width: bounds37.width, height: bounds37.height },
7129
- center: { x: bounds37.centerX, y: bounds37.centerY }
7277
+ size: { width: bounds38.width, height: bounds38.height },
7278
+ center: { x: bounds38.centerX, y: bounds38.centerY }
7130
7279
  });
7131
7280
 
7132
7281
  // symbols/varactor_diode_vert.ts
@@ -7273,26 +7422,26 @@ var varistor_default = {
7273
7422
  };
7274
7423
 
7275
7424
  // symbols/varistor_horz.ts
7276
- var { paths: paths38, texts: texts53, bounds: bounds38, refblocks: refblocks38 } = varistor_default;
7425
+ var { paths: paths39, texts: texts54, bounds: bounds39, refblocks: refblocks39 } = varistor_default;
7277
7426
  var varistor_horz_default = defineSymbol({
7278
7427
  primitives: [
7279
- ...Object.values(paths38),
7280
- { ...texts53.top1, anchor: "middle_left" },
7281
- { ...texts53.bottom1, anchor: "middle_right" }
7428
+ ...Object.values(paths39),
7429
+ { ...texts54.top1, anchor: "middle_left" },
7430
+ { ...texts54.bottom1, anchor: "middle_right" }
7282
7431
  ],
7283
7432
  ports: [
7284
7433
  {
7285
- ...refblocks38.left1,
7434
+ ...refblocks39.left1,
7286
7435
  labels: ["1", "-"]
7287
7436
  },
7288
7437
  {
7289
- ...refblocks38.right1,
7438
+ ...refblocks39.right1,
7290
7439
  labels: ["2", "+"]
7291
7440
  }
7292
7441
  ],
7293
- size: { width: bounds38.width, height: bounds38.height },
7442
+ size: { width: bounds39.width, height: bounds39.height },
7294
7443
  //{ width: 1, height: 0.24 },
7295
- center: { x: bounds38.centerX, y: bounds38.centerY }
7444
+ center: { x: bounds39.centerX, y: bounds39.centerY }
7296
7445
  });
7297
7446
 
7298
7447
  // symbols/varistor_vert.ts
@@ -7398,11 +7547,11 @@ var volt_meter_default = {
7398
7547
  };
7399
7548
 
7400
7549
  // symbols/volt_meter_horz.ts
7401
- var { paths: paths39, texts: texts54, bounds: bounds39, circles: circles28, refblocks: refblocks39 } = volt_meter_default;
7550
+ var { paths: paths40, texts: texts55, bounds: bounds40, circles: circles29, refblocks: refblocks40 } = volt_meter_default;
7402
7551
  var volt_meter_horz_default = defineSymbol({
7403
7552
  primitives: [
7404
- ...Object.values(paths39),
7405
- ...Object.values(circles28),
7553
+ ...Object.values(paths40),
7554
+ ...Object.values(circles29),
7406
7555
  {
7407
7556
  type: "text",
7408
7557
  text: "{REF}",
@@ -7419,13 +7568,13 @@ var volt_meter_horz_default = defineSymbol({
7419
7568
  }
7420
7569
  ],
7421
7570
  ports: [
7422
- { ...refblocks39.left1, labels: ["1"] },
7571
+ { ...refblocks40.left1, labels: ["1"] },
7423
7572
  // TODO add more "standard" labels
7424
- { ...refblocks39.right1, labels: ["2"] }
7573
+ { ...refblocks40.right1, labels: ["2"] }
7425
7574
  // TODO add more "standard" labels
7426
7575
  ],
7427
- size: { width: bounds39.width, height: bounds39.height },
7428
- center: { x: bounds39.centerX, y: bounds39.centerY }
7576
+ size: { width: bounds40.width, height: bounds40.height },
7577
+ center: { x: bounds40.centerX, y: bounds40.centerY }
7429
7578
  });
7430
7579
 
7431
7580
  // symbols/volt_meter_vert.ts
@@ -7578,22 +7727,22 @@ var zener_diode_default = {
7578
7727
  };
7579
7728
 
7580
7729
  // symbols/zener_diode_horz.ts
7581
- var { paths: paths40, texts: texts55, bounds: bounds40, refblocks: refblocks40, circles: circles29 } = zener_diode_default;
7730
+ var { paths: paths41, texts: texts56, bounds: bounds41, refblocks: refblocks41, circles: circles30 } = zener_diode_default;
7582
7731
  var zener_diode_horz_default = defineSymbol({
7583
7732
  primitives: [
7584
- ...Object.values(paths40),
7585
- ...Object.values(circles29),
7586
- { ...texts55.top1, anchor: "middle_bottom" },
7587
- { ...texts55.bottom1, anchor: "middle_top" }
7733
+ ...Object.values(paths41),
7734
+ ...Object.values(circles30),
7735
+ { ...texts56.top1, anchor: "middle_bottom" },
7736
+ { ...texts56.bottom1, anchor: "middle_top" }
7588
7737
  ],
7589
7738
  ports: [
7590
- { ...refblocks40.left1, labels: ["1"] },
7739
+ { ...refblocks41.left1, labels: ["1"] },
7591
7740
  // TODO add more "standard" labels
7592
- { ...refblocks40.right1, labels: ["2"] }
7741
+ { ...refblocks41.right1, labels: ["2"] }
7593
7742
  // TODO add more "standard" labels
7594
7743
  ],
7595
- size: { width: bounds40.width, height: bounds40.height },
7596
- center: { x: bounds40.centerX, y: bounds40.centerY }
7744
+ size: { width: bounds41.width, height: bounds41.height },
7745
+ center: { x: bounds41.centerX, y: bounds41.centerY }
7597
7746
  });
7598
7747
 
7599
7748
  // symbols/zener_diode_vert.ts
@@ -7630,6 +7779,8 @@ var symbols_index_default = {
7630
7779
  "diac_vert": diac_vert_default,
7631
7780
  "diode_horz": diode_horz_default,
7632
7781
  "diode_vert": diode_vert_default,
7782
+ "filled_diode_horz": filled_diode_horz_default,
7783
+ "filled_diode_vert": filled_diode_vert_default,
7633
7784
  "fuse_horz": fuse_horz_default,
7634
7785
  "fuse_vert": fuse_vert_default,
7635
7786
  "gunn_diode_horz": gunn_diode_horz_default,