schematic-symbols 0.0.69 → 0.0.70

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -151,6 +151,8 @@ declare const _default: {
151
151
  schottky_diode_vert: undefined;
152
152
  silicon_controlled_rectifier_horz: undefined;
153
153
  silicon_controlled_rectifier_vert: undefined;
154
+ SPST_switch_horz: undefined;
155
+ SPST_switch_vert: undefined;
154
156
  step_recovery_diode_horz: undefined;
155
157
  step_recovery_diode_vert: undefined;
156
158
  triac_horz: undefined;
@@ -171,7 +173,7 @@ declare const _default: {
171
173
  zener_diode_vert: undefined;
172
174
  };
173
175
 
174
- type BaseSymbolName = "ac_voltmeter" | "avalanche_diode" | "boxresistor" | "capacitor" | "constant_current_diode" | "crystal" | "dc_ammeter" | "dc_voltmeter" | "diac" | "diode" | "fuse" | "gunn_diode" | "igbt_transistor" | "laser_diode" | "led" | "mosfet_depletion_normally_on" | "n_channel_d_mosfet_transistor" | "njfet_transistor" | "p_channel_d_mosfet_transistor" | "p_channel_e_mosfet_transistor" | "photodiode" | "pjfet_transistor" | "potentiometer" | "potentiometer2" | "power_factor_meter" | "push_button_normally_closed_momentary" | "push_button_normally_open_momentary" | "resonator" | "schottky_diode" | "silicon_controlled_rectifier" | "step_recovery_diode" | "triac" | "tunnel_diode" | "unijunction_transistor" | "var_meter" | "varactor_diode" | "varistor" | "volt_meter" | "zener_diode";
176
+ type BaseSymbolName = "ac_voltmeter" | "avalanche_diode" | "boxresistor" | "capacitor" | "constant_current_diode" | "crystal" | "dc_ammeter" | "dc_voltmeter" | "diac" | "diode" | "fuse" | "gunn_diode" | "igbt_transistor" | "laser_diode" | "led" | "mosfet_depletion_normally_on" | "n_channel_d_mosfet_transistor" | "njfet_transistor" | "p_channel_d_mosfet_transistor" | "p_channel_e_mosfet_transistor" | "photodiode" | "pjfet_transistor" | "potentiometer" | "potentiometer2" | "power_factor_meter" | "push_button_normally_closed_momentary" | "push_button_normally_open_momentary" | "resonator" | "schottky_diode" | "silicon_controlled_rectifier" | "SPST_switch" | "step_recovery_diode" | "triac" | "tunnel_diode" | "unijunction_transistor" | "var_meter" | "varactor_diode" | "varistor" | "volt_meter" | "zener_diode";
175
177
 
176
178
  /**
177
179
  * Utility for easier autocomplete:
package/dist/index.js CHANGED
@@ -5908,6 +5908,132 @@ ref20.y = 0;
5908
5908
  ref20.anchor = "middle_left";
5909
5909
  var silicon_controlled_rectifier_vert_default = rotatedSymbol16;
5910
5910
 
5911
+ // assets/generated/SPST_switch.json
5912
+ var SPST_switch_default = {
5913
+ paths: {
5914
+ path11: {
5915
+ type: "path",
5916
+ points: [
5917
+ {
5918
+ x: -0.3622273500000006,
5919
+ y: -0.029865150000000895
5920
+ },
5921
+ {
5922
+ x: -0.13579835000000018,
5923
+ y: -0.029865150000000895
5924
+ }
5925
+ ],
5926
+ color: "primary",
5927
+ fill: false
5928
+ },
5929
+ "path11-0": {
5930
+ type: "path",
5931
+ points: [
5932
+ {
5933
+ x: -0.12010005000000046,
5934
+ y: -0.02833465000000035
5935
+ },
5936
+ {
5937
+ x: 0.10307834999999987,
5938
+ y: -0.16802405000000076
5939
+ }
5940
+ ],
5941
+ color: "primary",
5942
+ fill: false
5943
+ },
5944
+ path12: {
5945
+ type: "path",
5946
+ points: [
5947
+ {
5948
+ x: 0.12795584999999932,
5949
+ y: -0.029865150000000895
5950
+ },
5951
+ {
5952
+ x: 0.3686967499999996,
5953
+ y: -0.029865150000000895
5954
+ }
5955
+ ],
5956
+ color: "primary",
5957
+ fill: false
5958
+ }
5959
+ },
5960
+ texts: {
5961
+ top1: {
5962
+ type: "text",
5963
+ text: "{REF}",
5964
+ x: -0.1864019499999996,
5965
+ y: -0.39216264999999995
5966
+ },
5967
+ bottom1: {
5968
+ type: "text",
5969
+ text: "{VAL}",
5970
+ x: -0.019730250000000504,
5971
+ y: 0.40216264999999995
5972
+ }
5973
+ },
5974
+ refblocks: {
5975
+ left1: {
5976
+ x: -0.37614274999999964,
5977
+ y: -0.02901224999999985
5978
+ },
5979
+ left2: {
5980
+ x: -0.12356015000000009,
5981
+ y: -0.025075450000000332
5982
+ },
5983
+ right1: {
5984
+ x: 0.37614274999999964,
5985
+ y: -0.030008650000000303
5986
+ },
5987
+ right2: {
5988
+ x: 0.11531695000000042,
5989
+ y: -0.025075450000000332
5990
+ }
5991
+ },
5992
+ bounds: {
5993
+ minX: -0.4043011909999996,
5994
+ maxX: 0.4043011909999996,
5995
+ minY: -0.4921626499999999,
5996
+ maxY: 0.40216264999999995,
5997
+ width: 1,
5998
+ height: 1,
5999
+ centerX: 0,
6000
+ centerY: -0.044999999999999984
6001
+ },
6002
+ circles: {}
6003
+ };
6004
+
6005
+ // symbols/SPST_switch_horz.ts
6006
+ var { paths: paths31, texts: texts43, bounds: bounds31, refblocks: refblocks31, circles: circles21 } = SPST_switch_default;
6007
+ var SPST_switch_horz_default = defineSymbol({
6008
+ 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 }
6013
+ ],
6014
+ ports: [
6015
+ { ...refblocks31.left1, labels: ["1"] },
6016
+ // TODO add more "standard" labels
6017
+ { ...refblocks31.right1, labels: ["2"] }
6018
+ // TODO add more "standard" labels
6019
+ ],
6020
+ size: { width: bounds31.width, height: bounds31.height },
6021
+ center: { x: bounds31.centerX, y: bounds31.centerY }
6022
+ });
6023
+
6024
+ // symbols/SPST_switch_vert.ts
6025
+ 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}");
6028
+ val18.anchor = "middle_right";
6029
+ val18.x = -0.3;
6030
+ val18.y = 0;
6031
+ var ref21 = texts44.find((t) => t.text === "{REF}");
6032
+ ref21.anchor = "middle_left";
6033
+ ref21.x = 0.3;
6034
+ ref21.y = 0;
6035
+ var SPST_switch_vert_default = rotatedSymbol17;
6036
+
5911
6037
  // assets/generated/step_recovery_diode.json
5912
6038
  var step_recovery_diode_default = {
5913
6039
  paths: {
@@ -6070,11 +6196,11 @@ var step_recovery_diode_default = {
6070
6196
  };
6071
6197
 
6072
6198
  // symbols/step_recovery_diode_horz.ts
6073
- var { paths: paths31, texts: texts43, bounds: bounds31, refblocks: refblocks31, circles: circles21 } = step_recovery_diode_default;
6199
+ var { paths: paths32, texts: texts45, bounds: bounds32, refblocks: refblocks32, circles: circles22 } = step_recovery_diode_default;
6074
6200
  var step_recovery_diode_horz_default = defineSymbol({
6075
6201
  primitives: [
6076
- ...Object.values(paths31),
6077
- ...Object.values(circles21),
6202
+ ...Object.values(paths32),
6203
+ ...Object.values(circles22),
6078
6204
  // { ...texts.top1, anchor: "middle_left" },
6079
6205
  // { ...texts.bottom1, anchor: "middle_left" },
6080
6206
  {
@@ -6093,13 +6219,13 @@ var step_recovery_diode_horz_default = defineSymbol({
6093
6219
  }
6094
6220
  ],
6095
6221
  ports: [
6096
- { ...refblocks31.left1, labels: ["1"] },
6222
+ { ...refblocks32.left1, labels: ["1"] },
6097
6223
  // TODO add more "standard" labels
6098
- { ...refblocks31.right1, labels: ["2"] }
6224
+ { ...refblocks32.right1, labels: ["2"] }
6099
6225
  // TODO add more "standard" labels
6100
6226
  ],
6101
- size: { width: bounds31.width, height: bounds31.height },
6102
- center: { x: bounds31.centerX, y: bounds31.centerY }
6227
+ size: { width: bounds32.width, height: bounds32.height },
6228
+ center: { x: bounds32.centerX, y: bounds32.centerY }
6103
6229
  });
6104
6230
 
6105
6231
  // symbols/step_recovery_diode_vert.ts
@@ -6296,36 +6422,36 @@ var triac_default = {
6296
6422
  };
6297
6423
 
6298
6424
  // symbols/triac_horz.ts
6299
- var { paths: paths32, texts: texts44, bounds: bounds32, refblocks: refblocks32, circles: circles22 } = triac_default;
6425
+ var { paths: paths33, texts: texts46, bounds: bounds33, refblocks: refblocks33, circles: circles23 } = triac_default;
6300
6426
  var triac_horz_default = defineSymbol({
6301
6427
  primitives: [
6302
- ...Object.values(paths32),
6303
- ...Object.values(circles22),
6304
- { ...texts44.top1, anchor: "middle_left" },
6305
- { ...texts44.bottom1, anchor: "middle_top" }
6428
+ ...Object.values(paths33),
6429
+ ...Object.values(circles23),
6430
+ { ...texts46.top1, anchor: "middle_left" },
6431
+ { ...texts46.bottom1, anchor: "middle_top" }
6306
6432
  ],
6307
6433
  ports: [
6308
- { ...refblocks32.left1, labels: ["1"] },
6434
+ { ...refblocks33.left1, labels: ["1"] },
6309
6435
  // TODO add more "standard" labels
6310
- { ...refblocks32.right1, labels: ["2"] },
6436
+ { ...refblocks33.right1, labels: ["2"] },
6311
6437
  // TODO add more "standard" labels
6312
- { ...refblocks32.bottom1, labels: ["3"] }
6438
+ { ...refblocks33.bottom1, labels: ["3"] }
6313
6439
  // TODO add more "standard" labels
6314
6440
  ],
6315
- size: { width: bounds32.width, height: bounds32.height },
6316
- center: { x: bounds32.centerX, y: bounds32.centerY }
6441
+ size: { width: bounds33.width, height: bounds33.height },
6442
+ center: { x: bounds33.centerX, y: bounds33.centerY }
6317
6443
  });
6318
6444
 
6319
6445
  // symbols/triac_vert.ts
6320
- var rotatedSymbol17 = rotateSymbol(triac_horz_default);
6321
- var texts45 = rotatedSymbol17.primitives.filter(
6446
+ var rotatedSymbol18 = rotateSymbol(triac_horz_default);
6447
+ var texts47 = rotatedSymbol18.primitives.filter(
6322
6448
  (primitive) => primitive.type === "text"
6323
6449
  );
6324
- var ref21 = texts45.find((text) => text.text === "{REF}");
6325
- var val18 = texts45.find((text) => text.text === "{VAL}");
6326
- ref21.y = 0;
6327
- val18.y = 0;
6328
- var triac_vert_default = rotatedSymbol17;
6450
+ var ref22 = texts47.find((text) => text.text === "{REF}");
6451
+ var val19 = texts47.find((text) => text.text === "{VAL}");
6452
+ ref22.y = 0;
6453
+ val19.y = 0;
6454
+ var triac_vert_default = rotatedSymbol18;
6329
6455
 
6330
6456
  // assets/generated/tunnel_diode.json
6331
6457
  var tunnel_diode_default = {
@@ -6489,34 +6615,34 @@ var tunnel_diode_default = {
6489
6615
  };
6490
6616
 
6491
6617
  // symbols/tunnel_diode_horz.ts
6492
- var { paths: paths33, texts: texts46, bounds: bounds33, refblocks: refblocks33, circles: circles23 } = tunnel_diode_default;
6618
+ var { paths: paths34, texts: texts48, bounds: bounds34, refblocks: refblocks34, circles: circles24 } = tunnel_diode_default;
6493
6619
  var tunnel_diode_horz_default = defineSymbol({
6494
6620
  primitives: [
6495
- ...Object.values(paths33),
6496
- ...Object.values(circles23),
6497
- { ...texts46.top1, anchor: "middle_bottom" },
6498
- { ...texts46.bottom1, anchor: "middle_top" }
6621
+ ...Object.values(paths34),
6622
+ ...Object.values(circles24),
6623
+ { ...texts48.top1, anchor: "middle_bottom" },
6624
+ { ...texts48.bottom1, anchor: "middle_top" }
6499
6625
  ],
6500
6626
  ports: [
6501
- { ...refblocks33.left1, labels: ["1"] },
6627
+ { ...refblocks34.left1, labels: ["1"] },
6502
6628
  // TODO add more "standard" labels
6503
- { ...refblocks33.right1, labels: ["2"] }
6629
+ { ...refblocks34.right1, labels: ["2"] }
6504
6630
  // TODO add more "standard" labels
6505
6631
  ],
6506
- size: { width: bounds33.width, height: bounds33.height },
6507
- center: { x: bounds33.centerX, y: bounds33.centerY }
6632
+ size: { width: bounds34.width, height: bounds34.height },
6633
+ center: { x: bounds34.centerX, y: bounds34.centerY }
6508
6634
  });
6509
6635
 
6510
6636
  // symbols/tunnel_diode_vert.ts
6511
6637
  var rotated9 = rotateSymbol(tunnel_diode_horz_default);
6512
- var ref22 = rotated9.primitives.find(
6638
+ var ref23 = rotated9.primitives.find(
6513
6639
  (p) => p.type === "text" && p.text === "{REF}"
6514
6640
  );
6515
- var val19 = rotated9.primitives.find(
6641
+ var val20 = rotated9.primitives.find(
6516
6642
  (p) => p.type === "text" && p.text === "{VAL}"
6517
6643
  );
6518
- ref22.anchor = "middle_left";
6519
- val19.anchor = "middle_right";
6644
+ ref23.anchor = "middle_left";
6645
+ val20.anchor = "middle_right";
6520
6646
  var tunnel_diode_vert_default = rotated9;
6521
6647
 
6522
6648
  // assets/generated/unijunction_transistor.json
@@ -6687,37 +6813,37 @@ var unijunction_transistor_default = {
6687
6813
  };
6688
6814
 
6689
6815
  // symbols/unijunction_transistor_horz.ts
6690
- var { paths: paths34, texts: texts47, bounds: bounds34, refblocks: refblocks34, circles: circles24 } = unijunction_transistor_default;
6816
+ var { paths: paths35, texts: texts49, bounds: bounds35, refblocks: refblocks35, circles: circles25 } = unijunction_transistor_default;
6691
6817
  var unijunction_transistor_horz_default = defineSymbol({
6692
6818
  primitives: [
6693
- ...Object.values(paths34),
6694
- ...Object.values(circles24),
6695
- { ...texts47.top1, anchor: "middle_left" },
6696
- { ...texts47.bottom1, anchor: "middle_right" }
6819
+ ...Object.values(paths35),
6820
+ ...Object.values(circles25),
6821
+ { ...texts49.top1, anchor: "middle_left" },
6822
+ { ...texts49.bottom1, anchor: "middle_right" }
6697
6823
  ],
6698
6824
  ports: [
6699
- { ...refblocks34.top1, labels: ["1"] },
6825
+ { ...refblocks35.top1, labels: ["1"] },
6700
6826
  // TODO add more "standard" labels
6701
- { ...refblocks34.bottom1, labels: ["2"] },
6827
+ { ...refblocks35.bottom1, labels: ["2"] },
6702
6828
  // TODO add more "standard" labels
6703
- { ...refblocks34.left1, labels: ["3"] }
6829
+ { ...refblocks35.left1, labels: ["3"] }
6704
6830
  // TODO add more "standard" labels
6705
6831
  ],
6706
- size: { width: bounds34.width, height: bounds34.height },
6707
- center: { x: bounds34.centerX, y: bounds34.centerY }
6832
+ size: { width: bounds35.width, height: bounds35.height },
6833
+ center: { x: bounds35.centerX, y: bounds35.centerY }
6708
6834
  });
6709
6835
 
6710
6836
  // symbols/unijunction_transistor_vert.ts
6711
- var rotatedSymbol18 = rotateSymbol(unijunction_transistor_horz_default);
6712
- var texts48 = rotatedSymbol18.primitives.filter(
6837
+ var rotatedSymbol19 = rotateSymbol(unijunction_transistor_horz_default);
6838
+ var texts50 = rotatedSymbol19.primitives.filter(
6713
6839
  (primitive) => primitive.type === "text"
6714
6840
  );
6715
- var ref23 = texts48.find((text) => text.text === "{REF}");
6716
- ref23.y = 0.1;
6717
- var val20 = texts48.find((text) => text.text === "{VAL}");
6718
- val20.y = 0.1;
6719
- val20.x = -0.4;
6720
- var unijunction_transistor_vert_default = rotatedSymbol18;
6841
+ var ref24 = texts50.find((text) => text.text === "{REF}");
6842
+ ref24.y = 0.1;
6843
+ var val21 = texts50.find((text) => text.text === "{VAL}");
6844
+ val21.y = 0.1;
6845
+ val21.x = -0.4;
6846
+ var unijunction_transistor_vert_default = rotatedSymbol19;
6721
6847
 
6722
6848
  // assets/generated/var_meter.json
6723
6849
  var var_meter_default = {
@@ -6806,33 +6932,33 @@ var var_meter_default = {
6806
6932
  };
6807
6933
 
6808
6934
  // symbols/var_meter_horz.ts
6809
- var { paths: paths35, texts: texts49, bounds: bounds35, refblocks: refblocks35, circles: circles25 } = var_meter_default;
6935
+ var { paths: paths36, texts: texts51, bounds: bounds36, refblocks: refblocks36, circles: circles26 } = var_meter_default;
6810
6936
  var var_meter_horz_default = defineSymbol({
6811
6937
  primitives: [
6812
- ...Object.values(paths35),
6813
- ...Object.values(circles25),
6938
+ ...Object.values(paths36),
6939
+ ...Object.values(circles26),
6814
6940
  {
6815
- ...texts49.top1,
6941
+ ...texts51.top1,
6816
6942
  x: 0,
6817
6943
  y: -0.3594553499999995,
6818
6944
  anchor: "middle_bottom"
6819
6945
  },
6820
6946
  {
6821
- ...texts49.bottom1,
6947
+ ...texts51.bottom1,
6822
6948
  x: 0,
6823
6949
  y: 0.35,
6824
6950
  anchor: "middle_top"
6825
6951
  },
6826
- { ...texts49.left1, x: -0.02, y: -0.02, fontSize: 0.2, anchor: "center" }
6952
+ { ...texts51.left1, x: -0.02, y: -0.02, fontSize: 0.2, anchor: "center" }
6827
6953
  ],
6828
6954
  ports: [
6829
- { ...refblocks35.left1, labels: ["1"] },
6955
+ { ...refblocks36.left1, labels: ["1"] },
6830
6956
  // TODO add more "standard" labels
6831
- { ...refblocks35.right1, labels: ["2"] }
6957
+ { ...refblocks36.right1, labels: ["2"] }
6832
6958
  // TODO add more "standard" labels
6833
6959
  ],
6834
- size: { width: bounds35.width, height: bounds35.height },
6835
- center: { x: bounds35.centerX, y: bounds35.centerY }
6960
+ size: { width: bounds36.width, height: bounds36.height },
6961
+ center: { x: bounds36.centerX, y: bounds36.centerY }
6836
6962
  });
6837
6963
 
6838
6964
  // symbols/var_meter_vert.ts
@@ -6985,34 +7111,34 @@ var varactor_diode_default = {
6985
7111
  };
6986
7112
 
6987
7113
  // symbols/varactor_diode_horz.ts
6988
- var { paths: paths36, texts: texts50, bounds: bounds36, refblocks: refblocks36, circles: circles26 } = varactor_diode_default;
7114
+ var { paths: paths37, texts: texts52, bounds: bounds37, refblocks: refblocks37, circles: circles27 } = varactor_diode_default;
6989
7115
  var varactor_diode_horz_default = defineSymbol({
6990
7116
  primitives: [
6991
- ...Object.values(paths36),
6992
- ...Object.values(circles26),
6993
- { ...texts50.top1, anchor: "middle_bottom" },
6994
- { ...texts50.bottom1, anchor: "middle_top" }
7117
+ ...Object.values(paths37),
7118
+ ...Object.values(circles27),
7119
+ { ...texts52.top1, anchor: "middle_bottom" },
7120
+ { ...texts52.bottom1, anchor: "middle_top" }
6995
7121
  ],
6996
7122
  ports: [
6997
- { ...refblocks36.left1, labels: ["1"] },
7123
+ { ...refblocks37.left1, labels: ["1"] },
6998
7124
  // TODO add more "standard" labels
6999
- { ...refblocks36.right1, labels: ["2"] }
7125
+ { ...refblocks37.right1, labels: ["2"] }
7000
7126
  // TODO add more "standard" labels
7001
7127
  ],
7002
- size: { width: bounds36.width, height: bounds36.height },
7003
- center: { x: bounds36.centerX, y: bounds36.centerY }
7128
+ size: { width: bounds37.width, height: bounds37.height },
7129
+ center: { x: bounds37.centerX, y: bounds37.centerY }
7004
7130
  });
7005
7131
 
7006
7132
  // symbols/varactor_diode_vert.ts
7007
7133
  var rotated10 = rotateSymbol(varactor_diode_horz_default);
7008
- var ref24 = rotated10.primitives.find(
7134
+ var ref25 = rotated10.primitives.find(
7009
7135
  (p) => p.type === "text" && p.text === "{REF}"
7010
7136
  );
7011
- var val21 = rotated10.primitives.find(
7137
+ var val22 = rotated10.primitives.find(
7012
7138
  (p) => p.type === "text" && p.text === "{VAL}"
7013
7139
  );
7014
- ref24.anchor = "middle_left";
7015
- val21.anchor = "middle_right";
7140
+ ref25.anchor = "middle_left";
7141
+ val22.anchor = "middle_right";
7016
7142
  var varactor_diode_vert_default = rotated10;
7017
7143
 
7018
7144
  // assets/generated/varistor.json
@@ -7147,26 +7273,26 @@ var varistor_default = {
7147
7273
  };
7148
7274
 
7149
7275
  // symbols/varistor_horz.ts
7150
- var { paths: paths37, texts: texts51, bounds: bounds37, refblocks: refblocks37 } = varistor_default;
7276
+ var { paths: paths38, texts: texts53, bounds: bounds38, refblocks: refblocks38 } = varistor_default;
7151
7277
  var varistor_horz_default = defineSymbol({
7152
7278
  primitives: [
7153
- ...Object.values(paths37),
7154
- { ...texts51.top1, anchor: "middle_left" },
7155
- { ...texts51.bottom1, anchor: "middle_right" }
7279
+ ...Object.values(paths38),
7280
+ { ...texts53.top1, anchor: "middle_left" },
7281
+ { ...texts53.bottom1, anchor: "middle_right" }
7156
7282
  ],
7157
7283
  ports: [
7158
7284
  {
7159
- ...refblocks37.left1,
7285
+ ...refblocks38.left1,
7160
7286
  labels: ["1", "-"]
7161
7287
  },
7162
7288
  {
7163
- ...refblocks37.right1,
7289
+ ...refblocks38.right1,
7164
7290
  labels: ["2", "+"]
7165
7291
  }
7166
7292
  ],
7167
- size: { width: bounds37.width, height: bounds37.height },
7293
+ size: { width: bounds38.width, height: bounds38.height },
7168
7294
  //{ width: 1, height: 0.24 },
7169
- center: { x: bounds37.centerX, y: bounds37.centerY }
7295
+ center: { x: bounds38.centerX, y: bounds38.centerY }
7170
7296
  });
7171
7297
 
7172
7298
  // symbols/varistor_vert.ts
@@ -7272,11 +7398,11 @@ var volt_meter_default = {
7272
7398
  };
7273
7399
 
7274
7400
  // symbols/volt_meter_horz.ts
7275
- var { paths: paths38, texts: texts52, bounds: bounds38, circles: circles27, refblocks: refblocks38 } = volt_meter_default;
7401
+ var { paths: paths39, texts: texts54, bounds: bounds39, circles: circles28, refblocks: refblocks39 } = volt_meter_default;
7276
7402
  var volt_meter_horz_default = defineSymbol({
7277
7403
  primitives: [
7278
- ...Object.values(paths38),
7279
- ...Object.values(circles27),
7404
+ ...Object.values(paths39),
7405
+ ...Object.values(circles28),
7280
7406
  {
7281
7407
  type: "text",
7282
7408
  text: "{REF}",
@@ -7293,13 +7419,13 @@ var volt_meter_horz_default = defineSymbol({
7293
7419
  }
7294
7420
  ],
7295
7421
  ports: [
7296
- { ...refblocks38.left1, labels: ["1"] },
7422
+ { ...refblocks39.left1, labels: ["1"] },
7297
7423
  // TODO add more "standard" labels
7298
- { ...refblocks38.right1, labels: ["2"] }
7424
+ { ...refblocks39.right1, labels: ["2"] }
7299
7425
  // TODO add more "standard" labels
7300
7426
  ],
7301
- size: { width: bounds38.width, height: bounds38.height },
7302
- center: { x: bounds38.centerX, y: bounds38.centerY }
7427
+ size: { width: bounds39.width, height: bounds39.height },
7428
+ center: { x: bounds39.centerX, y: bounds39.centerY }
7303
7429
  });
7304
7430
 
7305
7431
  // symbols/volt_meter_vert.ts
@@ -7452,34 +7578,34 @@ var zener_diode_default = {
7452
7578
  };
7453
7579
 
7454
7580
  // symbols/zener_diode_horz.ts
7455
- var { paths: paths39, texts: texts53, bounds: bounds39, refblocks: refblocks39, circles: circles28 } = zener_diode_default;
7581
+ var { paths: paths40, texts: texts55, bounds: bounds40, refblocks: refblocks40, circles: circles29 } = zener_diode_default;
7456
7582
  var zener_diode_horz_default = defineSymbol({
7457
7583
  primitives: [
7458
- ...Object.values(paths39),
7459
- ...Object.values(circles28),
7460
- { ...texts53.top1, anchor: "middle_bottom" },
7461
- { ...texts53.bottom1, anchor: "middle_top" }
7584
+ ...Object.values(paths40),
7585
+ ...Object.values(circles29),
7586
+ { ...texts55.top1, anchor: "middle_bottom" },
7587
+ { ...texts55.bottom1, anchor: "middle_top" }
7462
7588
  ],
7463
7589
  ports: [
7464
- { ...refblocks39.left1, labels: ["1"] },
7590
+ { ...refblocks40.left1, labels: ["1"] },
7465
7591
  // TODO add more "standard" labels
7466
- { ...refblocks39.right1, labels: ["2"] }
7592
+ { ...refblocks40.right1, labels: ["2"] }
7467
7593
  // TODO add more "standard" labels
7468
7594
  ],
7469
- size: { width: bounds39.width, height: bounds39.height },
7470
- center: { x: bounds39.centerX, y: bounds39.centerY }
7595
+ size: { width: bounds40.width, height: bounds40.height },
7596
+ center: { x: bounds40.centerX, y: bounds40.centerY }
7471
7597
  });
7472
7598
 
7473
7599
  // symbols/zener_diode_vert.ts
7474
7600
  var rotated11 = rotateSymbol(zener_diode_horz_default);
7475
- var ref25 = rotated11.primitives.find(
7601
+ var ref26 = rotated11.primitives.find(
7476
7602
  (p) => p.type === "text" && p.text === "{REF}"
7477
7603
  );
7478
- var val22 = rotated11.primitives.find(
7604
+ var val23 = rotated11.primitives.find(
7479
7605
  (p) => p.type === "text" && p.text === "{VAL}"
7480
7606
  );
7481
- ref25.anchor = "middle_left";
7482
- val22.anchor = "middle_right";
7607
+ ref26.anchor = "middle_left";
7608
+ val23.anchor = "middle_right";
7483
7609
  var zener_diode_vert_default = rotated11;
7484
7610
 
7485
7611
  // generated/symbols-index.ts
@@ -7544,6 +7670,8 @@ var symbols_index_default = {
7544
7670
  "schottky_diode_vert": schottky_diode_vert_default,
7545
7671
  "silicon_controlled_rectifier_horz": silicon_controlled_rectifier_horz_default,
7546
7672
  "silicon_controlled_rectifier_vert": silicon_controlled_rectifier_vert_default,
7673
+ "SPST_switch_horz": SPST_switch_horz_default,
7674
+ "SPST_switch_vert": SPST_switch_vert_default,
7547
7675
  "step_recovery_diode_horz": step_recovery_diode_horz_default,
7548
7676
  "step_recovery_diode_vert": step_recovery_diode_vert_default,
7549
7677
  "triac_horz": triac_horz_default,