microboard-temp 0.14.9 → 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.
package/dist/cjs/browser.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,
|
|
@@ -58246,6 +58254,7 @@ class Sticker extends BaseItem {
|
|
|
58246
58254
|
this.text.placeholderText = " ";
|
|
58247
58255
|
this.text.isInShape = false;
|
|
58248
58256
|
this.text.insideOf = this.itemType;
|
|
58257
|
+
this.text.autosizeEnable();
|
|
58249
58258
|
this.text.updateShrinkWidth();
|
|
58250
58259
|
this.text.subject.subscribe(() => {
|
|
58251
58260
|
this.subject.publish(this);
|
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,
|
|
@@ -58246,6 +58254,7 @@ class Sticker extends BaseItem {
|
|
|
58246
58254
|
this.text.placeholderText = " ";
|
|
58247
58255
|
this.text.isInShape = false;
|
|
58248
58256
|
this.text.insideOf = this.itemType;
|
|
58257
|
+
this.text.autosizeEnable();
|
|
58249
58258
|
this.text.updateShrinkWidth();
|
|
58250
58259
|
this.text.subject.subscribe(() => {
|
|
58251
58260
|
this.subject.publish(this);
|
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,
|
|
@@ -60719,6 +60727,7 @@ class Sticker extends BaseItem {
|
|
|
60719
60727
|
this.text.placeholderText = " ";
|
|
60720
60728
|
this.text.isInShape = false;
|
|
60721
60729
|
this.text.insideOf = this.itemType;
|
|
60730
|
+
this.text.autosizeEnable();
|
|
60722
60731
|
this.text.updateShrinkWidth();
|
|
60723
60732
|
this.text.subject.subscribe(() => {
|
|
60724
60733
|
this.subject.publish(this);
|
package/dist/esm/browser.js
CHANGED
|
@@ -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,
|
|
@@ -58057,6 +58065,7 @@ class Sticker extends BaseItem {
|
|
|
58057
58065
|
this.text.placeholderText = " ";
|
|
58058
58066
|
this.text.isInShape = false;
|
|
58059
58067
|
this.text.insideOf = this.itemType;
|
|
58068
|
+
this.text.autosizeEnable();
|
|
58060
58069
|
this.text.updateShrinkWidth();
|
|
58061
58070
|
this.text.subject.subscribe(() => {
|
|
58062
58071
|
this.subject.publish(this);
|
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,
|
|
@@ -58050,6 +58058,7 @@ class Sticker extends BaseItem {
|
|
|
58050
58058
|
this.text.placeholderText = " ";
|
|
58051
58059
|
this.text.isInShape = false;
|
|
58052
58060
|
this.text.insideOf = this.itemType;
|
|
58061
|
+
this.text.autosizeEnable();
|
|
58053
58062
|
this.text.updateShrinkWidth();
|
|
58054
58063
|
this.text.subject.subscribe(() => {
|
|
58055
58064
|
this.subject.publish(this);
|
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,
|
|
@@ -60518,6 +60526,7 @@ class Sticker extends BaseItem {
|
|
|
60518
60526
|
this.text.placeholderText = " ";
|
|
60519
60527
|
this.text.isInShape = false;
|
|
60520
60528
|
this.text.insideOf = this.itemType;
|
|
60529
|
+
this.text.autosizeEnable();
|
|
60521
60530
|
this.text.updateShrinkWidth();
|
|
60522
60531
|
this.text.subject.subscribe(() => {
|
|
60523
60532
|
this.subject.publish(this);
|