dytools-capture-engine 1.2.1 → 1.2.2

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.cjs CHANGED
@@ -606,7 +606,7 @@ var AnchorZone = class extends CaptureZoneBase {
606
606
  super(name, rect, hidden, filterRegex, outputRegex, outputReplacement, required, dataType, excludeFromOutput, defaultValueIfEmpty);
607
607
  this.type = "anchor";
608
608
  //private primaryCanvasRectangleId: string | null = null;
609
- this._anchorLocation = "TopLeft";
609
+ this._anchorLocation = "MiddleLeft";
610
610
  this._groupChildren = true;
611
611
  this.children = [];
612
612
  //canvasEngineIds: string[] = [];
package/dist/index.d.cts CHANGED
@@ -394,7 +394,7 @@ interface CaptureToEngineEventPayloads {
394
394
  };
395
395
  }
396
396
  type ZoneKind = "simple" | "anchor" | "anchor-child";
397
- type AnchorLocation = "TopLeft" | "TopRight" | "BottomLeft" | "BottomRight" | "Center";
397
+ type AnchorLocation = "TopLeft" | "TopRight" | "BottomLeft" | "BottomRight" | "CenterMiddle" | "CenterTop" | "CenterBottom" | "MiddleLeft" | "MiddleRight";
398
398
  interface TemplateZoneBase {
399
399
  id: string;
400
400
  name: string;
package/dist/index.d.ts CHANGED
@@ -394,7 +394,7 @@ interface CaptureToEngineEventPayloads {
394
394
  };
395
395
  }
396
396
  type ZoneKind = "simple" | "anchor" | "anchor-child";
397
- type AnchorLocation = "TopLeft" | "TopRight" | "BottomLeft" | "BottomRight" | "Center";
397
+ type AnchorLocation = "TopLeft" | "TopRight" | "BottomLeft" | "BottomRight" | "CenterMiddle" | "CenterTop" | "CenterBottom" | "MiddleLeft" | "MiddleRight";
398
398
  interface TemplateZoneBase {
399
399
  id: string;
400
400
  name: string;
package/dist/index.js CHANGED
@@ -590,7 +590,7 @@ var AnchorZone = class extends CaptureZoneBase {
590
590
  super(name, rect, hidden, filterRegex, outputRegex, outputReplacement, required, dataType, excludeFromOutput, defaultValueIfEmpty);
591
591
  this.type = "anchor";
592
592
  //private primaryCanvasRectangleId: string | null = null;
593
- this._anchorLocation = "TopLeft";
593
+ this._anchorLocation = "MiddleLeft";
594
594
  this._groupChildren = true;
595
595
  this.children = [];
596
596
  //canvasEngineIds: string[] = [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dytools-capture-engine",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "description": "An editor allowing the creation of templates for ocr capture.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",