microboard-temp 0.14.36 → 0.14.37
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 +6 -0
- package/dist/cjs/index.js +6 -0
- package/dist/cjs/node.js +6 -0
- package/dist/esm/browser.js +6 -0
- package/dist/esm/index.js +6 -0
- package/dist/esm/node.js +6 -0
- package/package.json +1 -1
package/dist/cjs/browser.js
CHANGED
|
@@ -70235,6 +70235,12 @@ class BoardSelection {
|
|
|
70235
70235
|
if (!item) {
|
|
70236
70236
|
return null;
|
|
70237
70237
|
}
|
|
70238
|
+
if (item.itemType === "RichText") {
|
|
70239
|
+
const owner = this.board.items.getById(item.getId());
|
|
70240
|
+
if (owner && owner !== item) {
|
|
70241
|
+
return owner;
|
|
70242
|
+
}
|
|
70243
|
+
}
|
|
70238
70244
|
if (item.itemType === "Group") {
|
|
70239
70245
|
return null;
|
|
70240
70246
|
}
|
package/dist/cjs/index.js
CHANGED
|
@@ -70235,6 +70235,12 @@ class BoardSelection {
|
|
|
70235
70235
|
if (!item) {
|
|
70236
70236
|
return null;
|
|
70237
70237
|
}
|
|
70238
|
+
if (item.itemType === "RichText") {
|
|
70239
|
+
const owner = this.board.items.getById(item.getId());
|
|
70240
|
+
if (owner && owner !== item) {
|
|
70241
|
+
return owner;
|
|
70242
|
+
}
|
|
70243
|
+
}
|
|
70238
70244
|
if (item.itemType === "Group") {
|
|
70239
70245
|
return null;
|
|
70240
70246
|
}
|
package/dist/cjs/node.js
CHANGED
|
@@ -72708,6 +72708,12 @@ class BoardSelection {
|
|
|
72708
72708
|
if (!item) {
|
|
72709
72709
|
return null;
|
|
72710
72710
|
}
|
|
72711
|
+
if (item.itemType === "RichText") {
|
|
72712
|
+
const owner = this.board.items.getById(item.getId());
|
|
72713
|
+
if (owner && owner !== item) {
|
|
72714
|
+
return owner;
|
|
72715
|
+
}
|
|
72716
|
+
}
|
|
72711
72717
|
if (item.itemType === "Group") {
|
|
72712
72718
|
return null;
|
|
72713
72719
|
}
|
package/dist/esm/browser.js
CHANGED
|
@@ -70017,6 +70017,12 @@ class BoardSelection {
|
|
|
70017
70017
|
if (!item) {
|
|
70018
70018
|
return null;
|
|
70019
70019
|
}
|
|
70020
|
+
if (item.itemType === "RichText") {
|
|
70021
|
+
const owner = this.board.items.getById(item.getId());
|
|
70022
|
+
if (owner && owner !== item) {
|
|
70023
|
+
return owner;
|
|
70024
|
+
}
|
|
70025
|
+
}
|
|
70020
70026
|
if (item.itemType === "Group") {
|
|
70021
70027
|
return null;
|
|
70022
70028
|
}
|
package/dist/esm/index.js
CHANGED
|
@@ -70010,6 +70010,12 @@ class BoardSelection {
|
|
|
70010
70010
|
if (!item) {
|
|
70011
70011
|
return null;
|
|
70012
70012
|
}
|
|
70013
|
+
if (item.itemType === "RichText") {
|
|
70014
|
+
const owner = this.board.items.getById(item.getId());
|
|
70015
|
+
if (owner && owner !== item) {
|
|
70016
|
+
return owner;
|
|
70017
|
+
}
|
|
70018
|
+
}
|
|
70013
70019
|
if (item.itemType === "Group") {
|
|
70014
70020
|
return null;
|
|
70015
70021
|
}
|
package/dist/esm/node.js
CHANGED
|
@@ -72478,6 +72478,12 @@ class BoardSelection {
|
|
|
72478
72478
|
if (!item) {
|
|
72479
72479
|
return null;
|
|
72480
72480
|
}
|
|
72481
|
+
if (item.itemType === "RichText") {
|
|
72482
|
+
const owner = this.board.items.getById(item.getId());
|
|
72483
|
+
if (owner && owner !== item) {
|
|
72484
|
+
return owner;
|
|
72485
|
+
}
|
|
72486
|
+
}
|
|
72481
72487
|
if (item.itemType === "Group") {
|
|
72482
72488
|
return null;
|
|
72483
72489
|
}
|