microboard-temp 0.14.10 → 0.14.11

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.
@@ -8787,6 +8787,14 @@ class Transformation {
8787
8787
  timeStamp
8788
8788
  });
8789
8789
  }
8790
+ setIsLocked(isLocked) {
8791
+ this.emit({
8792
+ class: "Transformation",
8793
+ method: isLocked ? "locked" : "unlocked",
8794
+ item: [this.id],
8795
+ locked: isLocked
8796
+ });
8797
+ }
8790
8798
  scaleToRelativeTo(x, y, _point, timeStamp) {
8791
8799
  this.emitMatrix({
8792
8800
  translateX: 0,
package/dist/cjs/index.js CHANGED
@@ -8787,6 +8787,14 @@ class Transformation {
8787
8787
  timeStamp
8788
8788
  });
8789
8789
  }
8790
+ setIsLocked(isLocked) {
8791
+ this.emit({
8792
+ class: "Transformation",
8793
+ method: isLocked ? "locked" : "unlocked",
8794
+ item: [this.id],
8795
+ locked: isLocked
8796
+ });
8797
+ }
8790
8798
  scaleToRelativeTo(x, y, _point, timeStamp) {
8791
8799
  this.emitMatrix({
8792
8800
  translateX: 0,
package/dist/cjs/node.js CHANGED
@@ -9823,6 +9823,14 @@ class Transformation {
9823
9823
  timeStamp
9824
9824
  });
9825
9825
  }
9826
+ setIsLocked(isLocked) {
9827
+ this.emit({
9828
+ class: "Transformation",
9829
+ method: isLocked ? "locked" : "unlocked",
9830
+ item: [this.id],
9831
+ locked: isLocked
9832
+ });
9833
+ }
9826
9834
  scaleToRelativeTo(x, y, _point, timeStamp) {
9827
9835
  this.emitMatrix({
9828
9836
  translateX: 0,
@@ -8590,6 +8590,14 @@ class Transformation {
8590
8590
  timeStamp
8591
8591
  });
8592
8592
  }
8593
+ setIsLocked(isLocked) {
8594
+ this.emit({
8595
+ class: "Transformation",
8596
+ method: isLocked ? "locked" : "unlocked",
8597
+ item: [this.id],
8598
+ locked: isLocked
8599
+ });
8600
+ }
8593
8601
  scaleToRelativeTo(x, y, _point, timeStamp) {
8594
8602
  this.emitMatrix({
8595
8603
  translateX: 0,
package/dist/esm/index.js CHANGED
@@ -8583,6 +8583,14 @@ class Transformation {
8583
8583
  timeStamp
8584
8584
  });
8585
8585
  }
8586
+ setIsLocked(isLocked) {
8587
+ this.emit({
8588
+ class: "Transformation",
8589
+ method: isLocked ? "locked" : "unlocked",
8590
+ item: [this.id],
8591
+ locked: isLocked
8592
+ });
8593
+ }
8586
8594
  scaleToRelativeTo(x, y, _point, timeStamp) {
8587
8595
  this.emitMatrix({
8588
8596
  translateX: 0,
package/dist/esm/node.js CHANGED
@@ -9366,6 +9366,14 @@ class Transformation {
9366
9366
  timeStamp
9367
9367
  });
9368
9368
  }
9369
+ setIsLocked(isLocked) {
9370
+ this.emit({
9371
+ class: "Transformation",
9372
+ method: isLocked ? "locked" : "unlocked",
9373
+ item: [this.id],
9374
+ locked: isLocked
9375
+ });
9376
+ }
9369
9377
  scaleToRelativeTo(x, y, _point, timeStamp) {
9370
9378
  this.emitMatrix({
9371
9379
  translateX: 0,
@@ -56,6 +56,7 @@ export declare class Transformation {
56
56
  private scaleByTranslateBy;
57
57
  private rotateTo;
58
58
  private rotateBy;
59
+ setIsLocked(isLocked: boolean): void;
59
60
  private scaleToRelativeTo;
60
61
  private scaleByRelativeTo;
61
62
  private applyMatrix;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "microboard-temp",
3
- "version": "0.14.10",
3
+ "version": "0.14.11",
4
4
  "description": "A flexible interactive whiteboard library",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",