kicadts 0.0.35 → 0.0.37

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
@@ -2818,6 +2818,7 @@ interface FpTextConstructorParams {
2818
2818
  type?: FpTextType;
2819
2819
  text?: string;
2820
2820
  position?: AtInput | Xy;
2821
+ locked?: boolean;
2821
2822
  unlocked?: boolean;
2822
2823
  hidden?: boolean;
2823
2824
  layer?: Layer | string | string[];
@@ -2831,6 +2832,7 @@ declare class FpText extends SxClass {
2831
2832
  private _type?;
2832
2833
  private _text;
2833
2834
  private _sxPosition?;
2835
+ private _sxLocked?;
2834
2836
  private _sxUnlocked?;
2835
2837
  private _sxHide?;
2836
2838
  private _sxLayer?;
@@ -2845,6 +2847,8 @@ declare class FpText extends SxClass {
2845
2847
  set text(value: string);
2846
2848
  get position(): At | Xy | undefined;
2847
2849
  set position(value: AtInput | Xy | undefined);
2850
+ get locked(): boolean;
2851
+ set locked(value: boolean);
2848
2852
  get unlocked(): boolean;
2849
2853
  set unlocked(value: boolean);
2850
2854
  get hidden(): boolean;
@@ -3454,6 +3458,7 @@ declare class FootprintModel extends SxClass {
3454
3458
  private _offset?;
3455
3459
  private _scale?;
3456
3460
  private _rotate?;
3461
+ private _opacity?;
3457
3462
  private _hide;
3458
3463
  constructor(path: string);
3459
3464
  static fromSexprPrimitives(primitiveSexprs: PrimitiveSExpr[]): FootprintModel;
@@ -3465,6 +3470,8 @@ declare class FootprintModel extends SxClass {
3465
3470
  set scale(value: ModelVector | undefined);
3466
3471
  get rotate(): ModelVector | undefined;
3467
3472
  set rotate(value: ModelVector | undefined);
3473
+ get opacity(): number | undefined;
3474
+ set opacity(value: number | undefined);
3468
3475
  get hide(): boolean;
3469
3476
  set hide(value: boolean);
3470
3477
  getChildren(): SxClass[];
@@ -4235,6 +4242,7 @@ interface GrArcConstructorParams {
4235
4242
  stroke?: Stroke;
4236
4243
  tstamp?: Tstamp | string;
4237
4244
  uuid?: Uuid | string;
4245
+ locked?: boolean;
4238
4246
  }
4239
4247
  declare class GrArc extends SxClass {
4240
4248
  static token: string;
@@ -4247,6 +4255,7 @@ declare class GrArc extends SxClass {
4247
4255
  private _sxStroke?;
4248
4256
  private _sxTstamp?;
4249
4257
  private _sxUuid?;
4258
+ private _sxLocked?;
4250
4259
  constructor(params?: GrArcConstructorParams);
4251
4260
  static fromSexprPrimitives(primitiveSexprs: PrimitiveSExpr[]): GrArc;
4252
4261
  get start(): GrArcStart | undefined;
@@ -4270,6 +4279,8 @@ declare class GrArc extends SxClass {
4270
4279
  set tstamp(value: Tstamp | string | undefined);
4271
4280
  get uuid(): Uuid | undefined;
4272
4281
  set uuid(value: Uuid | string | undefined);
4282
+ get locked(): boolean;
4283
+ set locked(value: boolean);
4273
4284
  getChildren(): SxClass[];
4274
4285
  private normalizeStart;
4275
4286
  private normalizeMid;
@@ -4518,6 +4529,15 @@ declare class GrLineLocked extends SxPrimitiveBoolean {
4518
4529
  getString(): string;
4519
4530
  }
4520
4531
 
4532
+ declare class GrArcLocked extends SxPrimitiveBoolean {
4533
+ static token: string;
4534
+ static parentToken: string;
4535
+ token: string;
4536
+ constructor(value: boolean);
4537
+ static fromSexprPrimitives(primitiveSexprs: PrimitiveSExpr[]): GrArcLocked;
4538
+ getString(): string;
4539
+ }
4540
+
4521
4541
  interface GrRectConstructorParams {
4522
4542
  start?: GrRectStart | {
4523
4543
  x: number;
@@ -4923,7 +4943,8 @@ interface PcbArcConstructorParams {
4923
4943
  end?: PcbArcPoint;
4924
4944
  width?: number | Width;
4925
4945
  layer?: string | Layer;
4926
- net?: number;
4946
+ net?: number | string;
4947
+ locked?: boolean;
4927
4948
  uuid?: string | Uuid;
4928
4949
  }
4929
4950
  declare class PcbArc extends SxClass {
@@ -4936,6 +4957,7 @@ declare class PcbArc extends SxClass {
4936
4957
  private _sxWidth?;
4937
4958
  private _sxLayer?;
4938
4959
  private _net?;
4960
+ private _locked;
4939
4961
  private _sxUuid?;
4940
4962
  constructor(params?: PcbArcConstructorParams);
4941
4963
  static fromSexprPrimitives(primitiveSexprs: PrimitiveSExpr[]): PcbArc;
@@ -4949,8 +4971,10 @@ declare class PcbArc extends SxClass {
4949
4971
  set width(value: number | Width | undefined);
4950
4972
  get layer(): Layer | undefined;
4951
4973
  set layer(value: string | Layer | undefined);
4952
- get net(): number | undefined;
4953
- set net(value: number | undefined);
4974
+ get net(): number | string | undefined;
4975
+ set net(value: number | string | undefined);
4976
+ get locked(): boolean;
4977
+ set locked(value: boolean);
4954
4978
  get uuid(): Uuid | undefined;
4955
4979
  set uuid(value: string | Uuid | undefined);
4956
4980
  getChildren(): SxClass[];
@@ -6296,4 +6320,4 @@ declare const parseKicadSch: (sexpr: string) => KicadSch;
6296
6320
  declare const parseKicadPcb: (sexpr: string) => KicadPcb;
6297
6321
  declare const parseKicadMod: (sexpr: string) => Footprint;
6298
6322
 
6299
- export { At, type AtInput, Back, Bus, type BusConstructorParams, BusEntry, type BusEntryConstructorParams, BusEntrySize, Capping, Color, Covering, Dimension, DimensionFormat, DimensionStyle, Dnp, EmbeddedFile, EmbeddedFileChecksum, type EmbeddedFileConstructorParams, EmbeddedFileData, EmbeddedFileName, EmbeddedFileType, EmbeddedFiles, type EmbeddedFilesConstructorParams, EmbeddedFonts, ExcludeFromSim, FieldsAutoplaced, Filling, Footprint, FootprintAttr, FootprintAutoplaceCost180, FootprintAutoplaceCost90, FootprintClearance, type FootprintConstructorParams, FootprintDescr, FootprintDuplicatePadNumbersAreJumpers, FootprintGenerator, FootprintGeneratorVersion, FootprintLocked, FootprintModel, FootprintNetTiePadGroups, FootprintPad, type FootprintPadConstructorParams, FootprintPath, FootprintPlaced, FootprintPoint, FootprintPointSize, FootprintPrivateLayers, FootprintSheetfile, FootprintSheetname, FootprintSolderMaskMargin, FootprintSolderPasteMargin, FootprintSolderPasteRatio, FootprintTags, FootprintTedit, FootprintThermalGap, FootprintThermalWidth, FootprintUnit, FootprintUnitName, FootprintUnitPins, FootprintUnits, FootprintVersion, FootprintZoneConnect, FpArc, type FpArcConstructorParams, FpArcEnd, FpArcMid, FpArcStart, FpCircle, FpCircleCenter, type FpCircleConstructorParams, FpCircleEnd, FpCircleFill, FpCircleNet, FpLine, type FpLineConstructorParams, FpLineEnd, FpLineNet, FpLineStart, FpPoly, type FpPolyConstructorParams, FpPolyFill, FpPolyLocked, FpRect, type FpRectConstructorParams, FpRectEnd, FpRectFill, FpRectNet, FpRectStart, FpText, FpTextBox, FpTextBoxAngle, type FpTextBoxConstructorParams, FpTextBoxEnd, FpTextBoxStart, type FpTextConstructorParams, type FpTextType, Front, Generated, GlobalLabel, type GlobalLabelConstructorParams, type GlobalLabelShape, GrArc, type GrArcConstructorParams, GrArcEnd, GrArcMid, type GrArcPoint, GrArcStart, GrCircle, GrCircleCenter, type GrCircleConstructorParams, GrCircleEnd, GrCircleLocked, type GrCirclePoint, GrCurve, type GrCurveConstructorParams, GrLine, GrLineAngle, type GrLineConstructorParams, GrLineEnd, GrLineLocked, type GrLinePoint, GrLineStart, GrPoly, type GrPolyConstructorParams, GrPolyFill, GrPolyNet, GrRect, type GrRectConstructorParams, GrRectEnd, GrRectFill, GrRectLocked, GrRectStart, GrText, type GrTextConstructorParams, type GrTextPosition, GrTextRenderCache, GrTextRenderCachePolygon, Group, type GroupConstructorParams, GroupLocked, GroupMembers, Image, type ImageConstructorParams, ImageData, ImageScale, InBom, InPosFiles, Junction, type JunctionConstructorParams, JunctionDiameter, KicadPcb, type KicadPcbConstructorParams, KicadSch, type KicadSchConstructorParams, KicadSchGenerator, KicadSchGeneratorVersion, KicadSchVersion, KicadSymbolLib, type KicadSymbolLibConstructorParams, KicadSymbolLibGenerator, KicadSymbolLibGeneratorVersion, KicadSymbolLibVersion, Label, type LabelConstructorParams, Layer, Layers, LibSymbols, Mirror, type ModelVector, NoConnect, type NoConnectConstructorParams, OnBoard, PadChamfer, PadChamferRatio, PadClearance, PadDieLength, PadDrill, PadDrillOffset, PadLayers, type PadLayersInput, PadNet, PadOptions, type PadOptionsAnchorShape, type PadOptionsClearanceType, PadPinFunction, PadPinType, PadPrimitiveGrArc, type PadPrimitiveGrArcConstructorParams, PadPrimitiveGrCircle, type PadPrimitiveGrCircleConstructorParams, PadPrimitiveGrCircleFill, PadPrimitiveGrLine, PadPrimitiveGrPoly, PadPrimitives, PadProperty, PadRectDelta, PadRoundrectRratio, PadSize, type PadSizeInput, PadSolderMaskMargin, PadSolderPasteMargin, PadSolderPasteMarginRatio, PadTeardrops, PadThermalBridgeAngle, PadThermalGap, PadThermalWidth, PadZoneConnect, PadZoneLayerConnections, Paper, PcbArc, type PcbArcConstructorParams, type PcbArcPoint, PcbGeneral, PcbGeneralLegacyTeardrops, PcbGeneralThickness, PcbGenerator, PcbGeneratorVersion, PcbLayerDefinition, PcbLayers, PcbNet, PcbPlotParams, PcbVersion, PlotParamCreateGerberJobFile, PlotParamCrossoutDnpOnFab, PlotParamDashedLineDashRatio, PlotParamDashedLineGapRatio, PlotParamDisableApertMacros, PlotParamDrillShape, PlotParamDxfImperialUnits, PlotParamDxfPolygonMode, PlotParamDxfUsePcbnewFont, PlotParamExcludeEdgeLayer, PlotParamHideDnpOnFab, PlotParamHpglPenDiameter, PlotParamHpglPenNumber, PlotParamHpglPenOverlay, PlotParamHpglPenSpeed, PlotParamLayerSelection, PlotParamLineWidth, PlotParamMirror, PlotParamMode, PlotParamOutputDirectory, PlotParamOutputFormat, PlotParamPadOnSilk, PlotParamPdfBackFpPropertyPopups, PlotParamPdfFrontFpPropertyPopups, PlotParamPdfMetadata, PlotParamPdfSingleDocument, PlotParamPlotBlackAndWhite, PlotParamPlotFpText, PlotParamPlotFrameRef, PlotParamPlotInvisible, PlotParamPlotInvisibleText, PlotParamPlotOnAllLayers, PlotParamPlotOnAllLayersSelection, PlotParamPlotOtherText, PlotParamPlotPadNumbers, PlotParamPlotReference, PlotParamPlotValue, PlotParamProperty, PlotParamPsA4Output, PlotParamPsNegative, PlotParamScaleSelection, PlotParamSketchDnpOnFab, PlotParamSketchPadsOnFab, PlotParamSubtractMaskFromSilk, PlotParamSvgPrecision, PlotParamUseAuxOrigin, PlotParamUseGerberAdvancedAttributes, PlotParamUseGerberAttributes, PlotParamUseGerberExtensions, PlotParamViaOnMask, Plugging, Polyline, type PolylineConstructorParams, Property, type PropertyConstructorParams, PropertyDoNotAutoplace, PropertyHide, PropertyShowName, PropertyUnlocked, Pts, PtsArc, PtsArcEnd, PtsArcMid, PtsArcStart, type RGBAColor, RenderCache, SchematicPolyline, SchematicRectangle, SchematicSymbol, type SchematicSymbolConstructorParams, SchematicText, SchematicTextBox, type SchematicTextConstructorParams, Segment, type SegmentConstructorParams, SegmentEnd, SegmentLocked, SegmentNet, SegmentStart, Setup, SetupAllowSoldermaskBridgesInFootprints, SetupAuxAxisOrigin, SetupEdgeWidth, SetupGridOrigin, SetupLastTraceWidth, SetupModEdgeWidth, SetupModTextSize, SetupModTextWidth, SetupPadDrill, SetupPadSize, SetupPadToMaskClearance, SetupPadToPasteClearance, SetupPadToPasteClearanceRatio, SetupPadToPasteClearanceValues, SetupPcbTextSize, SetupPcbTextWidth, type SetupProperty, type SetupPropertyValues, SetupSegmentWidth, SetupSolderMaskMinWidth, SetupTenting, SetupTraceClearance, SetupTraceMin, SetupTraceWidth, SetupUviaDrill, SetupUviaMinDrill, SetupUviaMinSize, SetupUviaSize, SetupUviasAllowed, SetupViaDrill, SetupViaMinDrill, SetupViaMinSize, SetupViaSize, SetupVisibleElements, SetupZone45Only, SetupZoneClearance, Sheet, type SheetConstructorParams, SheetFill, SheetInstancePage, SheetInstancePath, SheetInstances, SheetInstancesForSheet, SheetInstancesProject, SheetInstancesRoot, SheetInstancesRootPage, SheetInstancesRootPath, SheetPin, type SheetPinElectricalType, SheetProperty, SheetSize, Stackup, StackupCastellatedPads, StackupCopperFinish, StackupDielectricConstraints, StackupEdgeConnector, StackupEdgePlating, StackupLayer, StackupLayerColor, StackupLayerEpsilonR, StackupLayerLossTangent, StackupLayerMaterial, StackupLayerThickness, StackupLayerType, type StandardPaperSize, Stroke, type StrokeProperty, StrokeType, type StrokeTypeString, SxClass, SymbolArc, SymbolArcEnd, SymbolArcFill, SymbolArcMid, SymbolArcStart, SymbolBodyStyle, SymbolBodyStyles, SymbolCircle, SymbolCircleCenter, SymbolCircleFill, SymbolCircleRadius, SymbolDuplicatePinNumbersAreJumpers, SymbolFillType, SymbolInstancePath, SymbolInstanceReference, SymbolInstanceUnit, SymbolInstances, SymbolInstancesProject, SymbolLibId, SymbolLibName, SymbolPin, SymbolPinLength, SymbolPinName, SymbolPinNames, SymbolPinNamesHide, SymbolPinNamesOffset, SymbolPinNumber, SymbolPinNumbers, SymbolPinNumbersHide, SymbolPolyline, SymbolPolylineFill, type SymbolPolylineFillLike, SymbolPower, SymbolProperty, SymbolPropertyId, SymbolRectangle, SymbolRectangleEnd, SymbolRectangleFill, SymbolRectangleStart, SymbolText, SymbolTextBox, SymbolUnit, Target, TextBoxFill, TextBoxSize, TextEffects, type TextEffectsConstructorParams, TextEffectsFont, TextEffectsFontBold, TextEffectsFontFace, TextEffectsFontItalic, TextEffectsFontLineSpacing, type TextEffectsFontProperty, TextEffectsFontSize, TextEffectsFontThickness, TextEffectsJustify, type TextEffectsProperty, TitleBlock, TitleBlockComment, TitleBlockCompany, type TitleBlockConstructorParams, TitleBlockDate, TitleBlockRevision, TitleBlockTitle, Tstamp, Unit, type UnitString, Uuid, Via, type ViaConstructorParams, ViaNet, Width, Wire, type WireConstructorParams, Xy, Zone, ZoneAttr, ZoneAttrTeardrop, ZoneAttrTeardropType, ZoneConnectPads, ZoneConnectPadsClearance, type ZoneConstructorParams, ZoneFill, ZoneFillIslandAreaMin, ZoneFillIslandRemovalMode, ZoneFillRadius, ZoneFillSmoothing, ZoneFillThermalBridgeWidth, ZoneFillThermalGap, ZoneFilledAreasThickness, ZoneFilledPolygon, ZoneHatch, ZoneKeepout, ZoneKeepoutCopperpour, ZoneKeepoutFootprints, ZoneKeepoutPads, ZoneKeepoutTracks, ZoneKeepoutVias, ZoneMinThickness, ZoneName, ZoneNet, ZoneNetName, ZonePlacement, ZonePlacementEnabled, ZonePlacementSheetname, ZonePolygon, ZonePriority, parseKicadMod, parseKicadPcb, parseKicadSch, parseKicadSexpr };
6323
+ export { At, type AtInput, Back, Bus, type BusConstructorParams, BusEntry, type BusEntryConstructorParams, BusEntrySize, Capping, Color, Covering, Dimension, DimensionFormat, DimensionStyle, Dnp, EmbeddedFile, EmbeddedFileChecksum, type EmbeddedFileConstructorParams, EmbeddedFileData, EmbeddedFileName, EmbeddedFileType, EmbeddedFiles, type EmbeddedFilesConstructorParams, EmbeddedFonts, ExcludeFromSim, FieldsAutoplaced, Filling, Footprint, FootprintAttr, FootprintAutoplaceCost180, FootprintAutoplaceCost90, FootprintClearance, type FootprintConstructorParams, FootprintDescr, FootprintDuplicatePadNumbersAreJumpers, FootprintGenerator, FootprintGeneratorVersion, FootprintLocked, FootprintModel, FootprintNetTiePadGroups, FootprintPad, type FootprintPadConstructorParams, FootprintPath, FootprintPlaced, FootprintPoint, FootprintPointSize, FootprintPrivateLayers, FootprintSheetfile, FootprintSheetname, FootprintSolderMaskMargin, FootprintSolderPasteMargin, FootprintSolderPasteRatio, FootprintTags, FootprintTedit, FootprintThermalGap, FootprintThermalWidth, FootprintUnit, FootprintUnitName, FootprintUnitPins, FootprintUnits, FootprintVersion, FootprintZoneConnect, FpArc, type FpArcConstructorParams, FpArcEnd, FpArcMid, FpArcStart, FpCircle, FpCircleCenter, type FpCircleConstructorParams, FpCircleEnd, FpCircleFill, FpCircleNet, FpLine, type FpLineConstructorParams, FpLineEnd, FpLineNet, FpLineStart, FpPoly, type FpPolyConstructorParams, FpPolyFill, FpPolyLocked, FpRect, type FpRectConstructorParams, FpRectEnd, FpRectFill, FpRectNet, FpRectStart, FpText, FpTextBox, FpTextBoxAngle, type FpTextBoxConstructorParams, FpTextBoxEnd, FpTextBoxStart, type FpTextConstructorParams, type FpTextType, Front, Generated, GlobalLabel, type GlobalLabelConstructorParams, type GlobalLabelShape, GrArc, type GrArcConstructorParams, GrArcEnd, GrArcLocked, GrArcMid, type GrArcPoint, GrArcStart, GrCircle, GrCircleCenter, type GrCircleConstructorParams, GrCircleEnd, GrCircleLocked, type GrCirclePoint, GrCurve, type GrCurveConstructorParams, GrLine, GrLineAngle, type GrLineConstructorParams, GrLineEnd, GrLineLocked, type GrLinePoint, GrLineStart, GrPoly, type GrPolyConstructorParams, GrPolyFill, GrPolyNet, GrRect, type GrRectConstructorParams, GrRectEnd, GrRectFill, GrRectLocked, GrRectStart, GrText, type GrTextConstructorParams, type GrTextPosition, GrTextRenderCache, GrTextRenderCachePolygon, Group, type GroupConstructorParams, GroupLocked, GroupMembers, Image, type ImageConstructorParams, ImageData, ImageScale, InBom, InPosFiles, Junction, type JunctionConstructorParams, JunctionDiameter, KicadPcb, type KicadPcbConstructorParams, KicadSch, type KicadSchConstructorParams, KicadSchGenerator, KicadSchGeneratorVersion, KicadSchVersion, KicadSymbolLib, type KicadSymbolLibConstructorParams, KicadSymbolLibGenerator, KicadSymbolLibGeneratorVersion, KicadSymbolLibVersion, Label, type LabelConstructorParams, Layer, Layers, LibSymbols, Mirror, type ModelVector, NoConnect, type NoConnectConstructorParams, OnBoard, PadChamfer, PadChamferRatio, PadClearance, PadDieLength, PadDrill, PadDrillOffset, PadLayers, type PadLayersInput, PadNet, PadOptions, type PadOptionsAnchorShape, type PadOptionsClearanceType, PadPinFunction, PadPinType, PadPrimitiveGrArc, type PadPrimitiveGrArcConstructorParams, PadPrimitiveGrCircle, type PadPrimitiveGrCircleConstructorParams, PadPrimitiveGrCircleFill, PadPrimitiveGrLine, PadPrimitiveGrPoly, PadPrimitives, PadProperty, PadRectDelta, PadRoundrectRratio, PadSize, type PadSizeInput, PadSolderMaskMargin, PadSolderPasteMargin, PadSolderPasteMarginRatio, PadTeardrops, PadThermalBridgeAngle, PadThermalGap, PadThermalWidth, PadZoneConnect, PadZoneLayerConnections, Paper, PcbArc, type PcbArcConstructorParams, type PcbArcPoint, PcbGeneral, PcbGeneralLegacyTeardrops, PcbGeneralThickness, PcbGenerator, PcbGeneratorVersion, PcbLayerDefinition, PcbLayers, PcbNet, PcbPlotParams, PcbVersion, PlotParamCreateGerberJobFile, PlotParamCrossoutDnpOnFab, PlotParamDashedLineDashRatio, PlotParamDashedLineGapRatio, PlotParamDisableApertMacros, PlotParamDrillShape, PlotParamDxfImperialUnits, PlotParamDxfPolygonMode, PlotParamDxfUsePcbnewFont, PlotParamExcludeEdgeLayer, PlotParamHideDnpOnFab, PlotParamHpglPenDiameter, PlotParamHpglPenNumber, PlotParamHpglPenOverlay, PlotParamHpglPenSpeed, PlotParamLayerSelection, PlotParamLineWidth, PlotParamMirror, PlotParamMode, PlotParamOutputDirectory, PlotParamOutputFormat, PlotParamPadOnSilk, PlotParamPdfBackFpPropertyPopups, PlotParamPdfFrontFpPropertyPopups, PlotParamPdfMetadata, PlotParamPdfSingleDocument, PlotParamPlotBlackAndWhite, PlotParamPlotFpText, PlotParamPlotFrameRef, PlotParamPlotInvisible, PlotParamPlotInvisibleText, PlotParamPlotOnAllLayers, PlotParamPlotOnAllLayersSelection, PlotParamPlotOtherText, PlotParamPlotPadNumbers, PlotParamPlotReference, PlotParamPlotValue, PlotParamProperty, PlotParamPsA4Output, PlotParamPsNegative, PlotParamScaleSelection, PlotParamSketchDnpOnFab, PlotParamSketchPadsOnFab, PlotParamSubtractMaskFromSilk, PlotParamSvgPrecision, PlotParamUseAuxOrigin, PlotParamUseGerberAdvancedAttributes, PlotParamUseGerberAttributes, PlotParamUseGerberExtensions, PlotParamViaOnMask, Plugging, Polyline, type PolylineConstructorParams, Property, type PropertyConstructorParams, PropertyDoNotAutoplace, PropertyHide, PropertyShowName, PropertyUnlocked, Pts, PtsArc, PtsArcEnd, PtsArcMid, PtsArcStart, type RGBAColor, RenderCache, SchematicPolyline, SchematicRectangle, SchematicSymbol, type SchematicSymbolConstructorParams, SchematicText, SchematicTextBox, type SchematicTextConstructorParams, Segment, type SegmentConstructorParams, SegmentEnd, SegmentLocked, SegmentNet, SegmentStart, Setup, SetupAllowSoldermaskBridgesInFootprints, SetupAuxAxisOrigin, SetupEdgeWidth, SetupGridOrigin, SetupLastTraceWidth, SetupModEdgeWidth, SetupModTextSize, SetupModTextWidth, SetupPadDrill, SetupPadSize, SetupPadToMaskClearance, SetupPadToPasteClearance, SetupPadToPasteClearanceRatio, SetupPadToPasteClearanceValues, SetupPcbTextSize, SetupPcbTextWidth, type SetupProperty, type SetupPropertyValues, SetupSegmentWidth, SetupSolderMaskMinWidth, SetupTenting, SetupTraceClearance, SetupTraceMin, SetupTraceWidth, SetupUviaDrill, SetupUviaMinDrill, SetupUviaMinSize, SetupUviaSize, SetupUviasAllowed, SetupViaDrill, SetupViaMinDrill, SetupViaMinSize, SetupViaSize, SetupVisibleElements, SetupZone45Only, SetupZoneClearance, Sheet, type SheetConstructorParams, SheetFill, SheetInstancePage, SheetInstancePath, SheetInstances, SheetInstancesForSheet, SheetInstancesProject, SheetInstancesRoot, SheetInstancesRootPage, SheetInstancesRootPath, SheetPin, type SheetPinElectricalType, SheetProperty, SheetSize, Stackup, StackupCastellatedPads, StackupCopperFinish, StackupDielectricConstraints, StackupEdgeConnector, StackupEdgePlating, StackupLayer, StackupLayerColor, StackupLayerEpsilonR, StackupLayerLossTangent, StackupLayerMaterial, StackupLayerThickness, StackupLayerType, type StandardPaperSize, Stroke, type StrokeProperty, StrokeType, type StrokeTypeString, SxClass, SymbolArc, SymbolArcEnd, SymbolArcFill, SymbolArcMid, SymbolArcStart, SymbolBodyStyle, SymbolBodyStyles, SymbolCircle, SymbolCircleCenter, SymbolCircleFill, SymbolCircleRadius, SymbolDuplicatePinNumbersAreJumpers, SymbolFillType, SymbolInstancePath, SymbolInstanceReference, SymbolInstanceUnit, SymbolInstances, SymbolInstancesProject, SymbolLibId, SymbolLibName, SymbolPin, SymbolPinLength, SymbolPinName, SymbolPinNames, SymbolPinNamesHide, SymbolPinNamesOffset, SymbolPinNumber, SymbolPinNumbers, SymbolPinNumbersHide, SymbolPolyline, SymbolPolylineFill, type SymbolPolylineFillLike, SymbolPower, SymbolProperty, SymbolPropertyId, SymbolRectangle, SymbolRectangleEnd, SymbolRectangleFill, SymbolRectangleStart, SymbolText, SymbolTextBox, SymbolUnit, Target, TextBoxFill, TextBoxSize, TextEffects, type TextEffectsConstructorParams, TextEffectsFont, TextEffectsFontBold, TextEffectsFontFace, TextEffectsFontItalic, TextEffectsFontLineSpacing, type TextEffectsFontProperty, TextEffectsFontSize, TextEffectsFontThickness, TextEffectsJustify, type TextEffectsProperty, TitleBlock, TitleBlockComment, TitleBlockCompany, type TitleBlockConstructorParams, TitleBlockDate, TitleBlockRevision, TitleBlockTitle, Tstamp, Unit, type UnitString, Uuid, Via, type ViaConstructorParams, ViaNet, Width, Wire, type WireConstructorParams, Xy, Zone, ZoneAttr, ZoneAttrTeardrop, ZoneAttrTeardropType, ZoneConnectPads, ZoneConnectPadsClearance, type ZoneConstructorParams, ZoneFill, ZoneFillIslandAreaMin, ZoneFillIslandRemovalMode, ZoneFillRadius, ZoneFillSmoothing, ZoneFillThermalBridgeWidth, ZoneFillThermalGap, ZoneFilledAreasThickness, ZoneFilledPolygon, ZoneHatch, ZoneKeepout, ZoneKeepoutCopperpour, ZoneKeepoutFootprints, ZoneKeepoutPads, ZoneKeepoutTracks, ZoneKeepoutVias, ZoneMinThickness, ZoneName, ZoneNet, ZoneNetName, ZonePlacement, ZonePlacementEnabled, ZonePlacementSheetname, ZonePolygon, ZonePriority, parseKicadMod, parseKicadPcb, parseKicadSch, parseKicadSexpr };
package/dist/index.js CHANGED
@@ -7922,7 +7922,11 @@ var PadPrimitiveGrPoly = class _PadPrimitiveGrPoly extends SxClass {
7922
7922
  SxClass.register(PadPrimitiveGrPoly);
7923
7923
  var PadPrimitiveFill = class _PadPrimitiveFill extends SxPrimitiveBoolean {
7924
7924
  static token = "fill";
7925
- static parentToken = "gr_poly";
7925
+ // Pad primitive gr_poly shares the same token as board gr_poly, so its fill
7926
+ // class cannot also register under parentToken="gr_poly" without overriding
7927
+ // the board-level parser. PadPrimitiveGrPoly normalizes parsed fill tokens
7928
+ // into PadPrimitiveFill instances itself.
7929
+ static parentToken = "pad_primitive_gr_poly";
7926
7930
  token = "fill";
7927
7931
  constructor(options = {}) {
7928
7932
  super(options.value ?? false);
@@ -9006,6 +9010,7 @@ var SUPPORTED_SINGLE_TOKENS2 = /* @__PURE__ */ new Set([
9006
9010
  "effects",
9007
9011
  "tstamp",
9008
9012
  "uuid",
9013
+ "locked",
9009
9014
  "unlocked",
9010
9015
  "hide"
9011
9016
  ]);
@@ -9016,6 +9021,7 @@ var FpText = class _FpText extends SxClass {
9016
9021
  _type;
9017
9022
  _text = "";
9018
9023
  _sxPosition;
9024
+ _sxLocked;
9019
9025
  _sxUnlocked;
9020
9026
  _sxHide;
9021
9027
  _sxLayer;
@@ -9027,6 +9033,7 @@ var FpText = class _FpText extends SxClass {
9027
9033
  if (params.type !== void 0) this.type = params.type;
9028
9034
  if (params.text !== void 0) this.text = params.text;
9029
9035
  if (params.position !== void 0) this.position = params.position;
9036
+ if (params.locked !== void 0) this.locked = params.locked;
9030
9037
  if (params.unlocked !== void 0) this.unlocked = params.unlocked;
9031
9038
  if (params.hidden !== void 0) this.hidden = params.hidden;
9032
9039
  if (params.layer !== void 0) this.layer = params.layer;
@@ -9107,6 +9114,7 @@ var FpText = class _FpText extends SxClass {
9107
9114
  fpText._sxEffects = propertyMap.effects;
9108
9115
  fpText._sxTstamp = propertyMap.tstamp;
9109
9116
  fpText._sxUuid = propertyMap.uuid;
9117
+ fpText._sxLocked = propertyMap.locked;
9110
9118
  const unlockedEntry = propertyMap.unlocked;
9111
9119
  const hideEntry = propertyMap.hide;
9112
9120
  if (unlockedEntry && sawBareUnlocked) {
@@ -9155,6 +9163,12 @@ var FpText = class _FpText extends SxClass {
9155
9163
  }
9156
9164
  this._sxPosition = At.from(value);
9157
9165
  }
9166
+ get locked() {
9167
+ return this._sxLocked?.value ?? false;
9168
+ }
9169
+ set locked(value) {
9170
+ this._sxLocked = value ? new FpTextLocked({ value: true }) : void 0;
9171
+ }
9158
9172
  get unlocked() {
9159
9173
  return this._sxUnlocked?.value ?? false;
9160
9174
  }
@@ -9210,6 +9224,7 @@ var FpText = class _FpText extends SxClass {
9210
9224
  }
9211
9225
  getChildren() {
9212
9226
  const children = [];
9227
+ if (this._sxLocked) children.push(this._sxLocked);
9213
9228
  if (this._sxPosition) children.push(this._sxPosition);
9214
9229
  if (this._sxUnlocked) children.push(this._sxUnlocked);
9215
9230
  if (this._sxLayer) children.push(this._sxLayer);
@@ -9267,6 +9282,29 @@ var FpTextUnlocked = class _FpTextUnlocked extends SxClass {
9267
9282
  }
9268
9283
  };
9269
9284
  SxClass.register(FpTextUnlocked);
9285
+ var FpTextLocked = class _FpTextLocked extends SxClass {
9286
+ static token = "locked";
9287
+ static parentToken = "fp_text";
9288
+ token = "locked";
9289
+ value;
9290
+ constructor(options = {}) {
9291
+ super();
9292
+ this.value = options.value ?? true;
9293
+ }
9294
+ static fromSexprPrimitives(primitiveSexprs) {
9295
+ const [raw] = primitiveSexprs;
9296
+ const rawString = toStringValue(raw);
9297
+ const value = rawString === void 0 ? true : !/^(no|false)$/iu.test(rawString);
9298
+ return new _FpTextLocked({ value });
9299
+ }
9300
+ getChildren() {
9301
+ return [];
9302
+ }
9303
+ getString() {
9304
+ return `(locked ${this.value ? "yes" : "no"})`;
9305
+ }
9306
+ };
9307
+ SxClass.register(FpTextLocked);
9270
9308
  var FpTextHide = class _FpTextHide extends SxClass {
9271
9309
  static token = "hide";
9272
9310
  static parentToken = "fp_text";
@@ -9907,7 +9945,7 @@ var FpRectFill = class _FpRectFill extends SxClass {
9907
9945
  }
9908
9946
  static fromSexprPrimitives(primitiveSexprs) {
9909
9947
  const state = toStringValue(primitiveSexprs[0]);
9910
- return new _FpRectFill(state === "yes");
9948
+ return new _FpRectFill(/^(yes|solid)$/iu.test(state ?? ""));
9911
9949
  }
9912
9950
  getString() {
9913
9951
  return `(fill ${this.filled ? "yes" : "no"})`;
@@ -10190,7 +10228,7 @@ var FpCircleFill = class _FpCircleFill extends SxClass {
10190
10228
  }
10191
10229
  static fromSexprPrimitives(primitiveSexprs) {
10192
10230
  const state = toStringValue(primitiveSexprs[0]);
10193
- return new _FpCircleFill(state === "yes");
10231
+ return new _FpCircleFill(/^(yes|solid)$/iu.test(state ?? ""));
10194
10232
  }
10195
10233
  getString() {
10196
10234
  return `(fill ${this.filled ? "yes" : "no"})`;
@@ -11129,6 +11167,7 @@ var FootprintModel = class _FootprintModel extends SxClass {
11129
11167
  _offset;
11130
11168
  _scale;
11131
11169
  _rotate;
11170
+ _opacity;
11132
11171
  _hide = false;
11133
11172
  constructor(path) {
11134
11173
  super();
@@ -11170,6 +11209,10 @@ var FootprintModel = class _FootprintModel extends SxClass {
11170
11209
  model._rotate = parseVectorArgs(args, "rotate");
11171
11210
  continue;
11172
11211
  }
11212
+ if (token === "opacity") {
11213
+ model._opacity = parseOpacityArgs(args);
11214
+ continue;
11215
+ }
11173
11216
  if (token === "hide") {
11174
11217
  model._hide = parseHideArgs(args);
11175
11218
  continue;
@@ -11202,6 +11245,12 @@ var FootprintModel = class _FootprintModel extends SxClass {
11202
11245
  set rotate(value) {
11203
11246
  this._rotate = value ? { ...value } : void 0;
11204
11247
  }
11248
+ get opacity() {
11249
+ return this._opacity;
11250
+ }
11251
+ set opacity(value) {
11252
+ this._opacity = value;
11253
+ }
11205
11254
  get hide() {
11206
11255
  return this._hide;
11207
11256
  }
@@ -11216,6 +11265,9 @@ var FootprintModel = class _FootprintModel extends SxClass {
11216
11265
  if (this._hide) {
11217
11266
  lines.push(" (hide yes)");
11218
11267
  }
11268
+ if (this._opacity !== void 0) {
11269
+ lines.push(` (opacity ${this._opacity})`);
11270
+ }
11219
11271
  if (this._offset) {
11220
11272
  lines.push(renderVectorBlock("offset", this._offset));
11221
11273
  }
@@ -11266,6 +11318,18 @@ function parseHideArgs(args) {
11266
11318
  }
11267
11319
  return parsed;
11268
11320
  }
11321
+ function parseOpacityArgs(args) {
11322
+ if (args.length !== 1) {
11323
+ throw new Error("model opacity expects a single number");
11324
+ }
11325
+ const opacity = toNumberValue(args[0]);
11326
+ if (opacity === void 0) {
11327
+ throw new Error(
11328
+ `model opacity expects a number, received ${JSON.stringify(args[0])}`
11329
+ );
11330
+ }
11331
+ return opacity;
11332
+ }
11269
11333
 
11270
11334
  // lib/sexpr/classes/EmbeddedFileChecksum.ts
11271
11335
  var EmbeddedFileChecksum = class _EmbeddedFileChecksum extends SxClass {
@@ -13469,6 +13533,34 @@ var Footprint = class _Footprint extends SxClass {
13469
13533
  };
13470
13534
  SxClass.register(Footprint);
13471
13535
 
13536
+ // lib/sexpr/classes/GrArcLocked.ts
13537
+ var truthyStrings3 = /* @__PURE__ */ new Set(["true", "yes", "1"]);
13538
+ var GrArcLocked = class _GrArcLocked extends SxPrimitiveBoolean {
13539
+ static token = "locked";
13540
+ static parentToken = "gr_arc";
13541
+ token = "locked";
13542
+ constructor(value) {
13543
+ super(value);
13544
+ }
13545
+ static fromSexprPrimitives(primitiveSexprs) {
13546
+ const [rawValue] = primitiveSexprs;
13547
+ if (rawValue === void 0) {
13548
+ return new _GrArcLocked(true);
13549
+ }
13550
+ if (typeof rawValue === "boolean") {
13551
+ return new _GrArcLocked(rawValue);
13552
+ }
13553
+ if (typeof rawValue === "string") {
13554
+ return new _GrArcLocked(truthyStrings3.has(rawValue.toLowerCase()));
13555
+ }
13556
+ return new _GrArcLocked(false);
13557
+ }
13558
+ getString() {
13559
+ return `(locked ${this.value ? "yes" : "no"})`;
13560
+ }
13561
+ };
13562
+ SxClass.register(GrArcLocked);
13563
+
13472
13564
  // lib/sexpr/classes/GrArc.ts
13473
13565
  var SUPPORTED_SINGLE_TOKENS6 = /* @__PURE__ */ new Set([
13474
13566
  "start",
@@ -13478,7 +13570,8 @@ var SUPPORTED_SINGLE_TOKENS6 = /* @__PURE__ */ new Set([
13478
13570
  "width",
13479
13571
  "stroke",
13480
13572
  "tstamp",
13481
- "uuid"
13573
+ "uuid",
13574
+ "locked"
13482
13575
  ]);
13483
13576
  var GrArc = class _GrArc extends SxClass {
13484
13577
  static token = "gr_arc";
@@ -13491,6 +13584,7 @@ var GrArc = class _GrArc extends SxClass {
13491
13584
  _sxStroke;
13492
13585
  _sxTstamp;
13493
13586
  _sxUuid;
13587
+ _sxLocked;
13494
13588
  constructor(params = {}) {
13495
13589
  super();
13496
13590
  if (params.start !== void 0) this.start = params.start;
@@ -13501,6 +13595,7 @@ var GrArc = class _GrArc extends SxClass {
13501
13595
  if (params.stroke !== void 0) this.stroke = params.stroke;
13502
13596
  if (params.tstamp !== void 0) this.tstamp = params.tstamp;
13503
13597
  if (params.uuid !== void 0) this.uuid = params.uuid;
13598
+ if (params.locked !== void 0) this.locked = params.locked;
13504
13599
  }
13505
13600
  static fromSexprPrimitives(primitiveSexprs) {
13506
13601
  const grArc = new _GrArc();
@@ -13541,6 +13636,8 @@ var GrArc = class _GrArc extends SxClass {
13541
13636
  grArc._sxStroke = propertyMap.stroke;
13542
13637
  grArc._sxTstamp = propertyMap.tstamp;
13543
13638
  grArc._sxUuid = propertyMap.uuid;
13639
+ const locked = propertyMap.locked;
13640
+ grArc._sxLocked = locked && locked.value ? locked : void 0;
13544
13641
  if (!grArc._sxStart) {
13545
13642
  throw new Error("gr_arc requires a start child token");
13546
13643
  }
@@ -13639,6 +13736,12 @@ var GrArc = class _GrArc extends SxClass {
13639
13736
  }
13640
13737
  this._sxUuid = value instanceof Uuid ? value : new Uuid(value);
13641
13738
  }
13739
+ get locked() {
13740
+ return this._sxLocked?.value ?? false;
13741
+ }
13742
+ set locked(value) {
13743
+ this._sxLocked = value ? new GrArcLocked(true) : void 0;
13744
+ }
13642
13745
  getChildren() {
13643
13746
  const children = [];
13644
13747
  if (this._sxStart) children.push(this._sxStart);
@@ -13646,6 +13749,7 @@ var GrArc = class _GrArc extends SxClass {
13646
13749
  if (this._sxEnd) children.push(this._sxEnd);
13647
13750
  if (this._sxStroke) children.push(this._sxStroke);
13648
13751
  if (this._sxWidth) children.push(this._sxWidth);
13752
+ if (this._sxLocked) children.push(this._sxLocked);
13649
13753
  if (this._sxLayer) children.push(this._sxLayer);
13650
13754
  if (this._sxTstamp) children.push(this._sxTstamp);
13651
13755
  if (this._sxUuid) children.push(this._sxUuid);
@@ -14287,7 +14391,7 @@ var GrLineAngle = class _GrLineAngle extends SxPrimitiveNumber {
14287
14391
  SxClass.register(GrLineAngle);
14288
14392
 
14289
14393
  // lib/sexpr/classes/GrLineLocked.ts
14290
- var truthyStrings3 = /* @__PURE__ */ new Set(["true", "yes", "1"]);
14394
+ var truthyStrings4 = /* @__PURE__ */ new Set(["true", "yes", "1"]);
14291
14395
  var GrLineLocked = class _GrLineLocked extends SxPrimitiveBoolean {
14292
14396
  static token = "locked";
14293
14397
  static parentToken = "gr_line";
@@ -14304,7 +14408,7 @@ var GrLineLocked = class _GrLineLocked extends SxPrimitiveBoolean {
14304
14408
  return new _GrLineLocked(rawValue);
14305
14409
  }
14306
14410
  if (typeof rawValue === "string") {
14307
- return new _GrLineLocked(truthyStrings3.has(rawValue.toLowerCase()));
14411
+ return new _GrLineLocked(truthyStrings4.has(rawValue.toLowerCase()));
14308
14412
  }
14309
14413
  return new _GrLineLocked(false);
14310
14414
  }
@@ -14837,7 +14941,7 @@ var GrRectFill = class _GrRectFill extends SxClass {
14837
14941
  }
14838
14942
  static fromSexprPrimitives(primitiveSexprs) {
14839
14943
  const state = toStringValue(primitiveSexprs[0]);
14840
- return new _GrRectFill(state === "yes");
14944
+ return new _GrRectFill(/^(yes|solid)$/iu.test(state ?? ""));
14841
14945
  }
14842
14946
  getString() {
14843
14947
  return `(fill ${this.filled ? "yes" : "no"})`;
@@ -15219,7 +15323,7 @@ var GrPolyFill = class _GrPolyFill extends SxClass {
15219
15323
  }
15220
15324
  static fromSexprPrimitives(primitiveSexprs) {
15221
15325
  const state = toStringValue(primitiveSexprs[0]);
15222
- return new _GrPolyFill(state === "yes");
15326
+ return new _GrPolyFill(/^(yes|solid)$/iu.test(state ?? ""));
15223
15327
  }
15224
15328
  getString() {
15225
15329
  return `(fill ${this.filled ? "yes" : "no"})`;
@@ -16170,6 +16274,7 @@ var PcbArc = class _PcbArc extends SxClass {
16170
16274
  _sxWidth;
16171
16275
  _sxLayer;
16172
16276
  _net;
16277
+ _locked = false;
16173
16278
  _sxUuid;
16174
16279
  constructor(params = {}) {
16175
16280
  super();
@@ -16179,6 +16284,7 @@ var PcbArc = class _PcbArc extends SxClass {
16179
16284
  if (params.width !== void 0) this.width = params.width;
16180
16285
  if (params.layer !== void 0) this.layer = params.layer;
16181
16286
  if (params.net !== void 0) this.net = params.net;
16287
+ if (params.locked !== void 0) this.locked = params.locked;
16182
16288
  if (params.uuid !== void 0) this.uuid = params.uuid;
16183
16289
  }
16184
16290
  static fromSexprPrimitives(primitiveSexprs) {
@@ -16212,7 +16318,11 @@ var PcbArc = class _PcbArc extends SxClass {
16212
16318
  continue;
16213
16319
  }
16214
16320
  if (token === "net") {
16215
- arc._net = parseNumber(args[0], "net");
16321
+ arc._net = parseNet(args[0]);
16322
+ continue;
16323
+ }
16324
+ if (token === "locked") {
16325
+ arc._locked = parseLocked(args);
16216
16326
  continue;
16217
16327
  }
16218
16328
  if (token === "uuid") {
@@ -16273,6 +16383,12 @@ var PcbArc = class _PcbArc extends SxClass {
16273
16383
  set net(value) {
16274
16384
  this._net = value;
16275
16385
  }
16386
+ get locked() {
16387
+ return this._locked;
16388
+ }
16389
+ set locked(value) {
16390
+ this._locked = value;
16391
+ }
16276
16392
  get uuid() {
16277
16393
  return this._sxUuid;
16278
16394
  }
@@ -16292,8 +16408,12 @@ var PcbArc = class _PcbArc extends SxClass {
16292
16408
  if (this._mid) lines.push(renderPoint("mid", this._mid));
16293
16409
  if (this._end) lines.push(renderPoint("end", this._end));
16294
16410
  if (this._sxWidth) lines.push(this._sxWidth.getStringIndented());
16411
+ if (this._locked) lines.push(" (locked yes)");
16295
16412
  if (this._sxLayer) lines.push(this._sxLayer.getStringIndented());
16296
- if (this._net !== void 0) lines.push(` (net ${this._net})`);
16413
+ if (this._net !== void 0) {
16414
+ const netValue = typeof this._net === "number" ? String(this._net) : quoteSExprString(this._net);
16415
+ lines.push(` (net ${netValue})`);
16416
+ }
16297
16417
  if (this._sxUuid) lines.push(this._sxUuid.getStringIndented());
16298
16418
  lines.push(")");
16299
16419
  return lines.join("\n");
@@ -16322,6 +16442,26 @@ function parseString(value, label) {
16322
16442
  }
16323
16443
  return value;
16324
16444
  }
16445
+ function parseNet(value) {
16446
+ const numeric = toNumberValue(value);
16447
+ if (numeric !== void 0) return numeric;
16448
+ const stringValue = toStringValue(value);
16449
+ if (stringValue !== void 0) return stringValue;
16450
+ throw new Error("arc net expects a numeric id or string name");
16451
+ }
16452
+ function parseLocked(args) {
16453
+ if (args.length === 0) return true;
16454
+ if (args.length !== 1) {
16455
+ throw new Error("arc locked expects at most one value");
16456
+ }
16457
+ const parsed = parseYesNo(args[0]);
16458
+ if (parsed === void 0) {
16459
+ throw new Error(
16460
+ `arc locked expects yes/no, received ${JSON.stringify(args[0])}`
16461
+ );
16462
+ }
16463
+ return parsed;
16464
+ }
16325
16465
  function parseLayer(args) {
16326
16466
  if (args.length !== 1) {
16327
16467
  throw new Error("arc layer expects a single string value");
@@ -16378,7 +16518,7 @@ var SegmentEnd = class _SegmentEnd extends SxClass {
16378
16518
  SxClass.register(SegmentEnd);
16379
16519
 
16380
16520
  // lib/sexpr/classes/SegmentLocked.ts
16381
- var truthyStrings4 = /* @__PURE__ */ new Set(["true", "yes", "1"]);
16521
+ var truthyStrings5 = /* @__PURE__ */ new Set(["true", "yes", "1"]);
16382
16522
  var SegmentLocked = class _SegmentLocked extends SxPrimitiveBoolean {
16383
16523
  static token = "locked";
16384
16524
  static parentToken = "segment";
@@ -16392,7 +16532,7 @@ var SegmentLocked = class _SegmentLocked extends SxPrimitiveBoolean {
16392
16532
  return new _SegmentLocked(rawValue);
16393
16533
  }
16394
16534
  if (typeof rawValue === "string") {
16395
- return new _SegmentLocked(truthyStrings4.has(rawValue.toLowerCase()));
16535
+ return new _SegmentLocked(truthyStrings5.has(rawValue.toLowerCase()));
16396
16536
  }
16397
16537
  return new _SegmentLocked(false);
16398
16538
  }
@@ -19993,6 +20133,7 @@ export {
19993
20133
  GlobalLabel,
19994
20134
  GrArc,
19995
20135
  GrArcEnd,
20136
+ GrArcLocked,
19996
20137
  GrArcMid,
19997
20138
  GrArcStart,
19998
20139
  GrCircle,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "kicadts",
3
3
  "main": "dist/index.js",
4
- "version": "0.0.35",
4
+ "version": "0.0.37",
5
5
  "type": "module",
6
6
  "repository": {
7
7
  "type": "git",