microboard-temp 0.4.101 → 0.4.102
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 +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/node.js +1 -1
- package/dist/esm/browser.js +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/node.js +1 -1
- package/package.json +1 -1
package/dist/cjs/browser.js
CHANGED
|
@@ -21652,7 +21652,7 @@ class BaseItem extends Mbr {
|
|
|
21652
21652
|
}
|
|
21653
21653
|
emit(operation) {
|
|
21654
21654
|
if (this.board.events) {
|
|
21655
|
-
const command = new BaseCommand([this], operation);
|
|
21655
|
+
const command = new BaseCommand(this.board, [this.getId()], operation);
|
|
21656
21656
|
command.apply();
|
|
21657
21657
|
this.board.events.emit(operation, command);
|
|
21658
21658
|
} else {
|
package/dist/cjs/index.js
CHANGED
|
@@ -21652,7 +21652,7 @@ class BaseItem extends Mbr {
|
|
|
21652
21652
|
}
|
|
21653
21653
|
emit(operation) {
|
|
21654
21654
|
if (this.board.events) {
|
|
21655
|
-
const command = new BaseCommand([this], operation);
|
|
21655
|
+
const command = new BaseCommand(this.board, [this.getId()], operation);
|
|
21656
21656
|
command.apply();
|
|
21657
21657
|
this.board.events.emit(operation, command);
|
|
21658
21658
|
} else {
|
package/dist/cjs/node.js
CHANGED
|
@@ -24124,7 +24124,7 @@ class BaseItem extends Mbr {
|
|
|
24124
24124
|
}
|
|
24125
24125
|
emit(operation) {
|
|
24126
24126
|
if (this.board.events) {
|
|
24127
|
-
const command = new BaseCommand([this], operation);
|
|
24127
|
+
const command = new BaseCommand(this.board, [this.getId()], operation);
|
|
24128
24128
|
command.apply();
|
|
24129
24129
|
this.board.events.emit(operation, command);
|
|
24130
24130
|
} else {
|
package/dist/esm/browser.js
CHANGED
|
@@ -21501,7 +21501,7 @@ class BaseItem extends Mbr {
|
|
|
21501
21501
|
}
|
|
21502
21502
|
emit(operation) {
|
|
21503
21503
|
if (this.board.events) {
|
|
21504
|
-
const command = new BaseCommand([this], operation);
|
|
21504
|
+
const command = new BaseCommand(this.board, [this.getId()], operation);
|
|
21505
21505
|
command.apply();
|
|
21506
21506
|
this.board.events.emit(operation, command);
|
|
21507
21507
|
} else {
|
package/dist/esm/index.js
CHANGED
|
@@ -21494,7 +21494,7 @@ class BaseItem extends Mbr {
|
|
|
21494
21494
|
}
|
|
21495
21495
|
emit(operation) {
|
|
21496
21496
|
if (this.board.events) {
|
|
21497
|
-
const command = new BaseCommand([this], operation);
|
|
21497
|
+
const command = new BaseCommand(this.board, [this.getId()], operation);
|
|
21498
21498
|
command.apply();
|
|
21499
21499
|
this.board.events.emit(operation, command);
|
|
21500
21500
|
} else {
|
package/dist/esm/node.js
CHANGED
|
@@ -23961,7 +23961,7 @@ class BaseItem extends Mbr {
|
|
|
23961
23961
|
}
|
|
23962
23962
|
emit(operation) {
|
|
23963
23963
|
if (this.board.events) {
|
|
23964
|
-
const command = new BaseCommand([this], operation);
|
|
23964
|
+
const command = new BaseCommand(this.board, [this.getId()], operation);
|
|
23965
23965
|
command.apply();
|
|
23966
23966
|
this.board.events.emit(operation, command);
|
|
23967
23967
|
} else {
|