microboard-temp 0.4.88 → 0.4.89
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 +4 -2
- package/dist/cjs/index.js +4 -2
- package/dist/cjs/node.js +4 -2
- package/dist/esm/browser.js +4 -2
- package/dist/esm/index.js +4 -2
- package/dist/esm/node.js +4 -2
- package/package.json +1 -1
package/dist/cjs/browser.js
CHANGED
|
@@ -47836,8 +47836,10 @@ class Card extends BaseItem {
|
|
|
47836
47836
|
this.throttledBringToFront = throttle(() => {
|
|
47837
47837
|
this.board.bringToFront(this);
|
|
47838
47838
|
}, 1000);
|
|
47839
|
-
this.transformation.subject.subscribe(() => {
|
|
47840
|
-
this.
|
|
47839
|
+
this.transformation.subject.subscribe((_, op) => {
|
|
47840
|
+
if (this.parent === "Board" && op.method === "translateBy" || op.method === "transformMany" && !Object.keys(op.items).length) {
|
|
47841
|
+
this.throttledBringToFront();
|
|
47842
|
+
}
|
|
47841
47843
|
this.updateMbr();
|
|
47842
47844
|
this.subject.publish(this);
|
|
47843
47845
|
});
|
package/dist/cjs/index.js
CHANGED
|
@@ -47836,8 +47836,10 @@ class Card extends BaseItem {
|
|
|
47836
47836
|
this.throttledBringToFront = throttle(() => {
|
|
47837
47837
|
this.board.bringToFront(this);
|
|
47838
47838
|
}, 1000);
|
|
47839
|
-
this.transformation.subject.subscribe(() => {
|
|
47840
|
-
this.
|
|
47839
|
+
this.transformation.subject.subscribe((_, op) => {
|
|
47840
|
+
if (this.parent === "Board" && op.method === "translateBy" || op.method === "transformMany" && !Object.keys(op.items).length) {
|
|
47841
|
+
this.throttledBringToFront();
|
|
47842
|
+
}
|
|
47841
47843
|
this.updateMbr();
|
|
47842
47844
|
this.subject.publish(this);
|
|
47843
47845
|
});
|
package/dist/cjs/node.js
CHANGED
|
@@ -50309,8 +50309,10 @@ class Card extends BaseItem {
|
|
|
50309
50309
|
this.throttledBringToFront = throttle(() => {
|
|
50310
50310
|
this.board.bringToFront(this);
|
|
50311
50311
|
}, 1000);
|
|
50312
|
-
this.transformation.subject.subscribe(() => {
|
|
50313
|
-
this.
|
|
50312
|
+
this.transformation.subject.subscribe((_, op) => {
|
|
50313
|
+
if (this.parent === "Board" && op.method === "translateBy" || op.method === "transformMany" && !Object.keys(op.items).length) {
|
|
50314
|
+
this.throttledBringToFront();
|
|
50315
|
+
}
|
|
50314
50316
|
this.updateMbr();
|
|
50315
50317
|
this.subject.publish(this);
|
|
50316
50318
|
});
|
package/dist/esm/browser.js
CHANGED
|
@@ -47685,8 +47685,10 @@ class Card extends BaseItem {
|
|
|
47685
47685
|
this.throttledBringToFront = throttle(() => {
|
|
47686
47686
|
this.board.bringToFront(this);
|
|
47687
47687
|
}, 1000);
|
|
47688
|
-
this.transformation.subject.subscribe(() => {
|
|
47689
|
-
this.
|
|
47688
|
+
this.transformation.subject.subscribe((_, op) => {
|
|
47689
|
+
if (this.parent === "Board" && op.method === "translateBy" || op.method === "transformMany" && !Object.keys(op.items).length) {
|
|
47690
|
+
this.throttledBringToFront();
|
|
47691
|
+
}
|
|
47690
47692
|
this.updateMbr();
|
|
47691
47693
|
this.subject.publish(this);
|
|
47692
47694
|
});
|
package/dist/esm/index.js
CHANGED
|
@@ -47678,8 +47678,10 @@ class Card extends BaseItem {
|
|
|
47678
47678
|
this.throttledBringToFront = throttle(() => {
|
|
47679
47679
|
this.board.bringToFront(this);
|
|
47680
47680
|
}, 1000);
|
|
47681
|
-
this.transformation.subject.subscribe(() => {
|
|
47682
|
-
this.
|
|
47681
|
+
this.transformation.subject.subscribe((_, op) => {
|
|
47682
|
+
if (this.parent === "Board" && op.method === "translateBy" || op.method === "transformMany" && !Object.keys(op.items).length) {
|
|
47683
|
+
this.throttledBringToFront();
|
|
47684
|
+
}
|
|
47683
47685
|
this.updateMbr();
|
|
47684
47686
|
this.subject.publish(this);
|
|
47685
47687
|
});
|
package/dist/esm/node.js
CHANGED
|
@@ -50146,8 +50146,10 @@ class Card extends BaseItem {
|
|
|
50146
50146
|
this.throttledBringToFront = throttle(() => {
|
|
50147
50147
|
this.board.bringToFront(this);
|
|
50148
50148
|
}, 1000);
|
|
50149
|
-
this.transformation.subject.subscribe(() => {
|
|
50150
|
-
this.
|
|
50149
|
+
this.transformation.subject.subscribe((_, op) => {
|
|
50150
|
+
if (this.parent === "Board" && op.method === "translateBy" || op.method === "transformMany" && !Object.keys(op.items).length) {
|
|
50151
|
+
this.throttledBringToFront();
|
|
50152
|
+
}
|
|
50151
50153
|
this.updateMbr();
|
|
50152
50154
|
this.subject.publish(this);
|
|
50153
50155
|
});
|