microboard-temp 0.14.36 → 0.14.38
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 -4
- package/dist/cjs/index.js +6 -4
- package/dist/cjs/node.js +6 -4
- package/dist/esm/browser.js +6 -4
- package/dist/esm/index.js +6 -4
- package/dist/esm/node.js +6 -4
- package/package.json +1 -1
package/dist/cjs/browser.js
CHANGED
|
@@ -45056,7 +45056,6 @@ class Connector2 extends BaseItem {
|
|
|
45056
45056
|
}
|
|
45057
45057
|
} else {
|
|
45058
45058
|
super.apply(op);
|
|
45059
|
-
return;
|
|
45060
45059
|
}
|
|
45061
45060
|
const hint = this.calculateUpdateHint(op);
|
|
45062
45061
|
this.updateVisuals(op, hint);
|
|
@@ -59133,7 +59132,6 @@ class Shape extends BaseItem {
|
|
|
59133
59132
|
this.applyShapeOperation(op);
|
|
59134
59133
|
} else {
|
|
59135
59134
|
super.apply(op);
|
|
59136
|
-
return;
|
|
59137
59135
|
}
|
|
59138
59136
|
const hint = this.calculateUpdateHint(op);
|
|
59139
59137
|
this.updateVisuals(op, hint);
|
|
@@ -59579,7 +59577,6 @@ class Sticker extends BaseItem {
|
|
|
59579
59577
|
this.linkTo.apply(op);
|
|
59580
59578
|
} else {
|
|
59581
59579
|
super.apply(op);
|
|
59582
|
-
return;
|
|
59583
59580
|
}
|
|
59584
59581
|
const hint = this.calculateUpdateHint(op);
|
|
59585
59582
|
this.updateVisuals(op, hint);
|
|
@@ -62869,7 +62866,6 @@ class ImageItem extends BaseItem {
|
|
|
62869
62866
|
this.linkTo.apply(op);
|
|
62870
62867
|
} else {
|
|
62871
62868
|
super.apply(op);
|
|
62872
|
-
return;
|
|
62873
62869
|
}
|
|
62874
62870
|
const hint = this.calculateUpdateHint(op);
|
|
62875
62871
|
this.updateVisuals(op, hint);
|
|
@@ -70235,6 +70231,12 @@ class BoardSelection {
|
|
|
70235
70231
|
if (!item) {
|
|
70236
70232
|
return null;
|
|
70237
70233
|
}
|
|
70234
|
+
if (item.itemType === "RichText") {
|
|
70235
|
+
const owner = this.board.items.getById(item.getId());
|
|
70236
|
+
if (owner && owner !== item) {
|
|
70237
|
+
return owner;
|
|
70238
|
+
}
|
|
70239
|
+
}
|
|
70238
70240
|
if (item.itemType === "Group") {
|
|
70239
70241
|
return null;
|
|
70240
70242
|
}
|
package/dist/cjs/index.js
CHANGED
|
@@ -45056,7 +45056,6 @@ class Connector2 extends BaseItem {
|
|
|
45056
45056
|
}
|
|
45057
45057
|
} else {
|
|
45058
45058
|
super.apply(op);
|
|
45059
|
-
return;
|
|
45060
45059
|
}
|
|
45061
45060
|
const hint = this.calculateUpdateHint(op);
|
|
45062
45061
|
this.updateVisuals(op, hint);
|
|
@@ -59133,7 +59132,6 @@ class Shape extends BaseItem {
|
|
|
59133
59132
|
this.applyShapeOperation(op);
|
|
59134
59133
|
} else {
|
|
59135
59134
|
super.apply(op);
|
|
59136
|
-
return;
|
|
59137
59135
|
}
|
|
59138
59136
|
const hint = this.calculateUpdateHint(op);
|
|
59139
59137
|
this.updateVisuals(op, hint);
|
|
@@ -59579,7 +59577,6 @@ class Sticker extends BaseItem {
|
|
|
59579
59577
|
this.linkTo.apply(op);
|
|
59580
59578
|
} else {
|
|
59581
59579
|
super.apply(op);
|
|
59582
|
-
return;
|
|
59583
59580
|
}
|
|
59584
59581
|
const hint = this.calculateUpdateHint(op);
|
|
59585
59582
|
this.updateVisuals(op, hint);
|
|
@@ -62869,7 +62866,6 @@ class ImageItem extends BaseItem {
|
|
|
62869
62866
|
this.linkTo.apply(op);
|
|
62870
62867
|
} else {
|
|
62871
62868
|
super.apply(op);
|
|
62872
|
-
return;
|
|
62873
62869
|
}
|
|
62874
62870
|
const hint = this.calculateUpdateHint(op);
|
|
62875
62871
|
this.updateVisuals(op, hint);
|
|
@@ -70235,6 +70231,12 @@ class BoardSelection {
|
|
|
70235
70231
|
if (!item) {
|
|
70236
70232
|
return null;
|
|
70237
70233
|
}
|
|
70234
|
+
if (item.itemType === "RichText") {
|
|
70235
|
+
const owner = this.board.items.getById(item.getId());
|
|
70236
|
+
if (owner && owner !== item) {
|
|
70237
|
+
return owner;
|
|
70238
|
+
}
|
|
70239
|
+
}
|
|
70238
70240
|
if (item.itemType === "Group") {
|
|
70239
70241
|
return null;
|
|
70240
70242
|
}
|
package/dist/cjs/node.js
CHANGED
|
@@ -47528,7 +47528,6 @@ class Connector2 extends BaseItem {
|
|
|
47528
47528
|
}
|
|
47529
47529
|
} else {
|
|
47530
47530
|
super.apply(op);
|
|
47531
|
-
return;
|
|
47532
47531
|
}
|
|
47533
47532
|
const hint = this.calculateUpdateHint(op);
|
|
47534
47533
|
this.updateVisuals(op, hint);
|
|
@@ -61606,7 +61605,6 @@ class Shape extends BaseItem {
|
|
|
61606
61605
|
this.applyShapeOperation(op);
|
|
61607
61606
|
} else {
|
|
61608
61607
|
super.apply(op);
|
|
61609
|
-
return;
|
|
61610
61608
|
}
|
|
61611
61609
|
const hint = this.calculateUpdateHint(op);
|
|
61612
61610
|
this.updateVisuals(op, hint);
|
|
@@ -62052,7 +62050,6 @@ class Sticker extends BaseItem {
|
|
|
62052
62050
|
this.linkTo.apply(op);
|
|
62053
62051
|
} else {
|
|
62054
62052
|
super.apply(op);
|
|
62055
|
-
return;
|
|
62056
62053
|
}
|
|
62057
62054
|
const hint = this.calculateUpdateHint(op);
|
|
62058
62055
|
this.updateVisuals(op, hint);
|
|
@@ -65342,7 +65339,6 @@ class ImageItem extends BaseItem {
|
|
|
65342
65339
|
this.linkTo.apply(op);
|
|
65343
65340
|
} else {
|
|
65344
65341
|
super.apply(op);
|
|
65345
|
-
return;
|
|
65346
65342
|
}
|
|
65347
65343
|
const hint = this.calculateUpdateHint(op);
|
|
65348
65344
|
this.updateVisuals(op, hint);
|
|
@@ -72708,6 +72704,12 @@ class BoardSelection {
|
|
|
72708
72704
|
if (!item) {
|
|
72709
72705
|
return null;
|
|
72710
72706
|
}
|
|
72707
|
+
if (item.itemType === "RichText") {
|
|
72708
|
+
const owner = this.board.items.getById(item.getId());
|
|
72709
|
+
if (owner && owner !== item) {
|
|
72710
|
+
return owner;
|
|
72711
|
+
}
|
|
72712
|
+
}
|
|
72711
72713
|
if (item.itemType === "Group") {
|
|
72712
72714
|
return null;
|
|
72713
72715
|
}
|
package/dist/esm/browser.js
CHANGED
|
@@ -44838,7 +44838,6 @@ class Connector2 extends BaseItem {
|
|
|
44838
44838
|
}
|
|
44839
44839
|
} else {
|
|
44840
44840
|
super.apply(op);
|
|
44841
|
-
return;
|
|
44842
44841
|
}
|
|
44843
44842
|
const hint = this.calculateUpdateHint(op);
|
|
44844
44843
|
this.updateVisuals(op, hint);
|
|
@@ -58915,7 +58914,6 @@ class Shape extends BaseItem {
|
|
|
58915
58914
|
this.applyShapeOperation(op);
|
|
58916
58915
|
} else {
|
|
58917
58916
|
super.apply(op);
|
|
58918
|
-
return;
|
|
58919
58917
|
}
|
|
58920
58918
|
const hint = this.calculateUpdateHint(op);
|
|
58921
58919
|
this.updateVisuals(op, hint);
|
|
@@ -59361,7 +59359,6 @@ class Sticker extends BaseItem {
|
|
|
59361
59359
|
this.linkTo.apply(op);
|
|
59362
59360
|
} else {
|
|
59363
59361
|
super.apply(op);
|
|
59364
|
-
return;
|
|
59365
59362
|
}
|
|
59366
59363
|
const hint = this.calculateUpdateHint(op);
|
|
59367
59364
|
this.updateVisuals(op, hint);
|
|
@@ -62651,7 +62648,6 @@ class ImageItem extends BaseItem {
|
|
|
62651
62648
|
this.linkTo.apply(op);
|
|
62652
62649
|
} else {
|
|
62653
62650
|
super.apply(op);
|
|
62654
|
-
return;
|
|
62655
62651
|
}
|
|
62656
62652
|
const hint = this.calculateUpdateHint(op);
|
|
62657
62653
|
this.updateVisuals(op, hint);
|
|
@@ -70017,6 +70013,12 @@ class BoardSelection {
|
|
|
70017
70013
|
if (!item) {
|
|
70018
70014
|
return null;
|
|
70019
70015
|
}
|
|
70016
|
+
if (item.itemType === "RichText") {
|
|
70017
|
+
const owner = this.board.items.getById(item.getId());
|
|
70018
|
+
if (owner && owner !== item) {
|
|
70019
|
+
return owner;
|
|
70020
|
+
}
|
|
70021
|
+
}
|
|
70020
70022
|
if (item.itemType === "Group") {
|
|
70021
70023
|
return null;
|
|
70022
70024
|
}
|
package/dist/esm/index.js
CHANGED
|
@@ -44831,7 +44831,6 @@ class Connector2 extends BaseItem {
|
|
|
44831
44831
|
}
|
|
44832
44832
|
} else {
|
|
44833
44833
|
super.apply(op);
|
|
44834
|
-
return;
|
|
44835
44834
|
}
|
|
44836
44835
|
const hint = this.calculateUpdateHint(op);
|
|
44837
44836
|
this.updateVisuals(op, hint);
|
|
@@ -58908,7 +58907,6 @@ class Shape extends BaseItem {
|
|
|
58908
58907
|
this.applyShapeOperation(op);
|
|
58909
58908
|
} else {
|
|
58910
58909
|
super.apply(op);
|
|
58911
|
-
return;
|
|
58912
58910
|
}
|
|
58913
58911
|
const hint = this.calculateUpdateHint(op);
|
|
58914
58912
|
this.updateVisuals(op, hint);
|
|
@@ -59354,7 +59352,6 @@ class Sticker extends BaseItem {
|
|
|
59354
59352
|
this.linkTo.apply(op);
|
|
59355
59353
|
} else {
|
|
59356
59354
|
super.apply(op);
|
|
59357
|
-
return;
|
|
59358
59355
|
}
|
|
59359
59356
|
const hint = this.calculateUpdateHint(op);
|
|
59360
59357
|
this.updateVisuals(op, hint);
|
|
@@ -62644,7 +62641,6 @@ class ImageItem extends BaseItem {
|
|
|
62644
62641
|
this.linkTo.apply(op);
|
|
62645
62642
|
} else {
|
|
62646
62643
|
super.apply(op);
|
|
62647
|
-
return;
|
|
62648
62644
|
}
|
|
62649
62645
|
const hint = this.calculateUpdateHint(op);
|
|
62650
62646
|
this.updateVisuals(op, hint);
|
|
@@ -70010,6 +70006,12 @@ class BoardSelection {
|
|
|
70010
70006
|
if (!item) {
|
|
70011
70007
|
return null;
|
|
70012
70008
|
}
|
|
70009
|
+
if (item.itemType === "RichText") {
|
|
70010
|
+
const owner = this.board.items.getById(item.getId());
|
|
70011
|
+
if (owner && owner !== item) {
|
|
70012
|
+
return owner;
|
|
70013
|
+
}
|
|
70014
|
+
}
|
|
70013
70015
|
if (item.itemType === "Group") {
|
|
70014
70016
|
return null;
|
|
70015
70017
|
}
|
package/dist/esm/node.js
CHANGED
|
@@ -47298,7 +47298,6 @@ class Connector2 extends BaseItem {
|
|
|
47298
47298
|
}
|
|
47299
47299
|
} else {
|
|
47300
47300
|
super.apply(op);
|
|
47301
|
-
return;
|
|
47302
47301
|
}
|
|
47303
47302
|
const hint = this.calculateUpdateHint(op);
|
|
47304
47303
|
this.updateVisuals(op, hint);
|
|
@@ -61376,7 +61375,6 @@ class Shape extends BaseItem {
|
|
|
61376
61375
|
this.applyShapeOperation(op);
|
|
61377
61376
|
} else {
|
|
61378
61377
|
super.apply(op);
|
|
61379
|
-
return;
|
|
61380
61378
|
}
|
|
61381
61379
|
const hint = this.calculateUpdateHint(op);
|
|
61382
61380
|
this.updateVisuals(op, hint);
|
|
@@ -61822,7 +61820,6 @@ class Sticker extends BaseItem {
|
|
|
61822
61820
|
this.linkTo.apply(op);
|
|
61823
61821
|
} else {
|
|
61824
61822
|
super.apply(op);
|
|
61825
|
-
return;
|
|
61826
61823
|
}
|
|
61827
61824
|
const hint = this.calculateUpdateHint(op);
|
|
61828
61825
|
this.updateVisuals(op, hint);
|
|
@@ -65112,7 +65109,6 @@ class ImageItem extends BaseItem {
|
|
|
65112
65109
|
this.linkTo.apply(op);
|
|
65113
65110
|
} else {
|
|
65114
65111
|
super.apply(op);
|
|
65115
|
-
return;
|
|
65116
65112
|
}
|
|
65117
65113
|
const hint = this.calculateUpdateHint(op);
|
|
65118
65114
|
this.updateVisuals(op, hint);
|
|
@@ -72478,6 +72474,12 @@ class BoardSelection {
|
|
|
72478
72474
|
if (!item) {
|
|
72479
72475
|
return null;
|
|
72480
72476
|
}
|
|
72477
|
+
if (item.itemType === "RichText") {
|
|
72478
|
+
const owner = this.board.items.getById(item.getId());
|
|
72479
|
+
if (owner && owner !== item) {
|
|
72480
|
+
return owner;
|
|
72481
|
+
}
|
|
72482
|
+
}
|
|
72481
72483
|
if (item.itemType === "Group") {
|
|
72482
72484
|
return null;
|
|
72483
72485
|
}
|