microboard-temp 0.4.101 → 0.4.103
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 +2 -2
- package/dist/cjs/index.js +2 -2
- package/dist/cjs/node.js +2 -2
- package/dist/esm/browser.js +2 -2
- package/dist/esm/index.js +2 -2
- package/dist/esm/node.js +2 -2
- 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 {
|
|
@@ -52278,7 +52278,7 @@ class BoardSelection {
|
|
|
52278
52278
|
this.handleItemCopy(item, copiedItemsMap);
|
|
52279
52279
|
});
|
|
52280
52280
|
this.list().flatMap((item) => {
|
|
52281
|
-
if (item
|
|
52281
|
+
if ("index" in item && item.index) {
|
|
52282
52282
|
return item.getChildrenIds();
|
|
52283
52283
|
}
|
|
52284
52284
|
return [];
|
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 {
|
|
@@ -52278,7 +52278,7 @@ class BoardSelection {
|
|
|
52278
52278
|
this.handleItemCopy(item, copiedItemsMap);
|
|
52279
52279
|
});
|
|
52280
52280
|
this.list().flatMap((item) => {
|
|
52281
|
-
if (item
|
|
52281
|
+
if ("index" in item && item.index) {
|
|
52282
52282
|
return item.getChildrenIds();
|
|
52283
52283
|
}
|
|
52284
52284
|
return [];
|
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 {
|
|
@@ -54751,7 +54751,7 @@ class BoardSelection {
|
|
|
54751
54751
|
this.handleItemCopy(item, copiedItemsMap);
|
|
54752
54752
|
});
|
|
54753
54753
|
this.list().flatMap((item) => {
|
|
54754
|
-
if (item
|
|
54754
|
+
if ("index" in item && item.index) {
|
|
54755
54755
|
return item.getChildrenIds();
|
|
54756
54756
|
}
|
|
54757
54757
|
return [];
|
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 {
|
|
@@ -52127,7 +52127,7 @@ class BoardSelection {
|
|
|
52127
52127
|
this.handleItemCopy(item, copiedItemsMap);
|
|
52128
52128
|
});
|
|
52129
52129
|
this.list().flatMap((item) => {
|
|
52130
|
-
if (item
|
|
52130
|
+
if ("index" in item && item.index) {
|
|
52131
52131
|
return item.getChildrenIds();
|
|
52132
52132
|
}
|
|
52133
52133
|
return [];
|
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 {
|
|
@@ -52120,7 +52120,7 @@ class BoardSelection {
|
|
|
52120
52120
|
this.handleItemCopy(item, copiedItemsMap);
|
|
52121
52121
|
});
|
|
52122
52122
|
this.list().flatMap((item) => {
|
|
52123
|
-
if (item
|
|
52123
|
+
if ("index" in item && item.index) {
|
|
52124
52124
|
return item.getChildrenIds();
|
|
52125
52125
|
}
|
|
52126
52126
|
return [];
|
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 {
|
|
@@ -54588,7 +54588,7 @@ class BoardSelection {
|
|
|
54588
54588
|
this.handleItemCopy(item, copiedItemsMap);
|
|
54589
54589
|
});
|
|
54590
54590
|
this.list().flatMap((item) => {
|
|
54591
|
-
if (item
|
|
54591
|
+
if ("index" in item && item.index) {
|
|
54592
54592
|
return item.getChildrenIds();
|
|
54593
54593
|
}
|
|
54594
54594
|
return [];
|