microboard-temp 0.14.14 → 0.14.15
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 +8 -12
- package/dist/cjs/index.js +8 -12
- package/dist/cjs/node.js +8 -12
- package/dist/esm/browser.js +8 -12
- package/dist/esm/index.js +8 -12
- package/dist/esm/node.js +8 -12
- package/package.json +1 -1
package/dist/cjs/browser.js
CHANGED
|
@@ -43902,17 +43902,15 @@ class Connector2 extends BaseItem {
|
|
|
43902
43902
|
observerStartPointItem = () => {
|
|
43903
43903
|
const point3 = this.startPoint;
|
|
43904
43904
|
if (point3.pointType !== "Board") {
|
|
43905
|
-
|
|
43906
|
-
|
|
43907
|
-
this.updatePaths();
|
|
43908
|
-
this.subject.publish(this);
|
|
43905
|
+
const movingGroupId = Group.movingGroupId;
|
|
43906
|
+
if (movingGroupId !== null && this.parent === movingGroupId && point3.item instanceof BaseItem && point3.item.parent === movingGroupId) {
|
|
43909
43907
|
return;
|
|
43910
43908
|
}
|
|
43911
43909
|
if (this.handleItemGeometryChange(point3, true))
|
|
43912
43910
|
return;
|
|
43913
43911
|
point3.recalculatePoint();
|
|
43914
|
-
const j1 = this.smartJumpStartEdge();
|
|
43915
|
-
const j2 = this.smartJumpEndEdge();
|
|
43912
|
+
const j1 = movingGroupId !== null ? false : this.smartJumpStartEdge();
|
|
43913
|
+
const j2 = movingGroupId !== null ? false : this.smartJumpEndEdge();
|
|
43916
43914
|
if (!j1 && !j2) {
|
|
43917
43915
|
this.updatePaths();
|
|
43918
43916
|
this.subject.publish(this);
|
|
@@ -43922,17 +43920,15 @@ class Connector2 extends BaseItem {
|
|
|
43922
43920
|
observerEndPointItem = () => {
|
|
43923
43921
|
const point3 = this.endPoint;
|
|
43924
43922
|
if (point3.pointType !== "Board") {
|
|
43925
|
-
|
|
43926
|
-
|
|
43927
|
-
this.updatePaths();
|
|
43928
|
-
this.subject.publish(this);
|
|
43923
|
+
const movingGroupId = Group.movingGroupId;
|
|
43924
|
+
if (movingGroupId !== null && this.parent === movingGroupId && point3.item instanceof BaseItem && point3.item.parent === movingGroupId) {
|
|
43929
43925
|
return;
|
|
43930
43926
|
}
|
|
43931
43927
|
if (this.handleItemGeometryChange(point3, false))
|
|
43932
43928
|
return;
|
|
43933
43929
|
point3.recalculatePoint();
|
|
43934
|
-
const j1 = this.smartJumpEndEdge();
|
|
43935
|
-
const j2 = this.smartJumpStartEdge();
|
|
43930
|
+
const j1 = movingGroupId !== null ? false : this.smartJumpEndEdge();
|
|
43931
|
+
const j2 = movingGroupId !== null ? false : this.smartJumpStartEdge();
|
|
43936
43932
|
if (!j1 && !j2) {
|
|
43937
43933
|
this.updatePaths();
|
|
43938
43934
|
this.subject.publish(this);
|
package/dist/cjs/index.js
CHANGED
|
@@ -43902,17 +43902,15 @@ class Connector2 extends BaseItem {
|
|
|
43902
43902
|
observerStartPointItem = () => {
|
|
43903
43903
|
const point3 = this.startPoint;
|
|
43904
43904
|
if (point3.pointType !== "Board") {
|
|
43905
|
-
|
|
43906
|
-
|
|
43907
|
-
this.updatePaths();
|
|
43908
|
-
this.subject.publish(this);
|
|
43905
|
+
const movingGroupId = Group.movingGroupId;
|
|
43906
|
+
if (movingGroupId !== null && this.parent === movingGroupId && point3.item instanceof BaseItem && point3.item.parent === movingGroupId) {
|
|
43909
43907
|
return;
|
|
43910
43908
|
}
|
|
43911
43909
|
if (this.handleItemGeometryChange(point3, true))
|
|
43912
43910
|
return;
|
|
43913
43911
|
point3.recalculatePoint();
|
|
43914
|
-
const j1 = this.smartJumpStartEdge();
|
|
43915
|
-
const j2 = this.smartJumpEndEdge();
|
|
43912
|
+
const j1 = movingGroupId !== null ? false : this.smartJumpStartEdge();
|
|
43913
|
+
const j2 = movingGroupId !== null ? false : this.smartJumpEndEdge();
|
|
43916
43914
|
if (!j1 && !j2) {
|
|
43917
43915
|
this.updatePaths();
|
|
43918
43916
|
this.subject.publish(this);
|
|
@@ -43922,17 +43920,15 @@ class Connector2 extends BaseItem {
|
|
|
43922
43920
|
observerEndPointItem = () => {
|
|
43923
43921
|
const point3 = this.endPoint;
|
|
43924
43922
|
if (point3.pointType !== "Board") {
|
|
43925
|
-
|
|
43926
|
-
|
|
43927
|
-
this.updatePaths();
|
|
43928
|
-
this.subject.publish(this);
|
|
43923
|
+
const movingGroupId = Group.movingGroupId;
|
|
43924
|
+
if (movingGroupId !== null && this.parent === movingGroupId && point3.item instanceof BaseItem && point3.item.parent === movingGroupId) {
|
|
43929
43925
|
return;
|
|
43930
43926
|
}
|
|
43931
43927
|
if (this.handleItemGeometryChange(point3, false))
|
|
43932
43928
|
return;
|
|
43933
43929
|
point3.recalculatePoint();
|
|
43934
|
-
const j1 = this.smartJumpEndEdge();
|
|
43935
|
-
const j2 = this.smartJumpStartEdge();
|
|
43930
|
+
const j1 = movingGroupId !== null ? false : this.smartJumpEndEdge();
|
|
43931
|
+
const j2 = movingGroupId !== null ? false : this.smartJumpStartEdge();
|
|
43936
43932
|
if (!j1 && !j2) {
|
|
43937
43933
|
this.updatePaths();
|
|
43938
43934
|
this.subject.publish(this);
|
package/dist/cjs/node.js
CHANGED
|
@@ -46374,17 +46374,15 @@ class Connector2 extends BaseItem {
|
|
|
46374
46374
|
observerStartPointItem = () => {
|
|
46375
46375
|
const point3 = this.startPoint;
|
|
46376
46376
|
if (point3.pointType !== "Board") {
|
|
46377
|
-
|
|
46378
|
-
|
|
46379
|
-
this.updatePaths();
|
|
46380
|
-
this.subject.publish(this);
|
|
46377
|
+
const movingGroupId = Group.movingGroupId;
|
|
46378
|
+
if (movingGroupId !== null && this.parent === movingGroupId && point3.item instanceof BaseItem && point3.item.parent === movingGroupId) {
|
|
46381
46379
|
return;
|
|
46382
46380
|
}
|
|
46383
46381
|
if (this.handleItemGeometryChange(point3, true))
|
|
46384
46382
|
return;
|
|
46385
46383
|
point3.recalculatePoint();
|
|
46386
|
-
const j1 = this.smartJumpStartEdge();
|
|
46387
|
-
const j2 = this.smartJumpEndEdge();
|
|
46384
|
+
const j1 = movingGroupId !== null ? false : this.smartJumpStartEdge();
|
|
46385
|
+
const j2 = movingGroupId !== null ? false : this.smartJumpEndEdge();
|
|
46388
46386
|
if (!j1 && !j2) {
|
|
46389
46387
|
this.updatePaths();
|
|
46390
46388
|
this.subject.publish(this);
|
|
@@ -46394,17 +46392,15 @@ class Connector2 extends BaseItem {
|
|
|
46394
46392
|
observerEndPointItem = () => {
|
|
46395
46393
|
const point3 = this.endPoint;
|
|
46396
46394
|
if (point3.pointType !== "Board") {
|
|
46397
|
-
|
|
46398
|
-
|
|
46399
|
-
this.updatePaths();
|
|
46400
|
-
this.subject.publish(this);
|
|
46395
|
+
const movingGroupId = Group.movingGroupId;
|
|
46396
|
+
if (movingGroupId !== null && this.parent === movingGroupId && point3.item instanceof BaseItem && point3.item.parent === movingGroupId) {
|
|
46401
46397
|
return;
|
|
46402
46398
|
}
|
|
46403
46399
|
if (this.handleItemGeometryChange(point3, false))
|
|
46404
46400
|
return;
|
|
46405
46401
|
point3.recalculatePoint();
|
|
46406
|
-
const j1 = this.smartJumpEndEdge();
|
|
46407
|
-
const j2 = this.smartJumpStartEdge();
|
|
46402
|
+
const j1 = movingGroupId !== null ? false : this.smartJumpEndEdge();
|
|
46403
|
+
const j2 = movingGroupId !== null ? false : this.smartJumpStartEdge();
|
|
46408
46404
|
if (!j1 && !j2) {
|
|
46409
46405
|
this.updatePaths();
|
|
46410
46406
|
this.subject.publish(this);
|
package/dist/esm/browser.js
CHANGED
|
@@ -43713,17 +43713,15 @@ class Connector2 extends BaseItem {
|
|
|
43713
43713
|
observerStartPointItem = () => {
|
|
43714
43714
|
const point3 = this.startPoint;
|
|
43715
43715
|
if (point3.pointType !== "Board") {
|
|
43716
|
-
|
|
43717
|
-
|
|
43718
|
-
this.updatePaths();
|
|
43719
|
-
this.subject.publish(this);
|
|
43716
|
+
const movingGroupId = Group.movingGroupId;
|
|
43717
|
+
if (movingGroupId !== null && this.parent === movingGroupId && point3.item instanceof BaseItem && point3.item.parent === movingGroupId) {
|
|
43720
43718
|
return;
|
|
43721
43719
|
}
|
|
43722
43720
|
if (this.handleItemGeometryChange(point3, true))
|
|
43723
43721
|
return;
|
|
43724
43722
|
point3.recalculatePoint();
|
|
43725
|
-
const j1 = this.smartJumpStartEdge();
|
|
43726
|
-
const j2 = this.smartJumpEndEdge();
|
|
43723
|
+
const j1 = movingGroupId !== null ? false : this.smartJumpStartEdge();
|
|
43724
|
+
const j2 = movingGroupId !== null ? false : this.smartJumpEndEdge();
|
|
43727
43725
|
if (!j1 && !j2) {
|
|
43728
43726
|
this.updatePaths();
|
|
43729
43727
|
this.subject.publish(this);
|
|
@@ -43733,17 +43731,15 @@ class Connector2 extends BaseItem {
|
|
|
43733
43731
|
observerEndPointItem = () => {
|
|
43734
43732
|
const point3 = this.endPoint;
|
|
43735
43733
|
if (point3.pointType !== "Board") {
|
|
43736
|
-
|
|
43737
|
-
|
|
43738
|
-
this.updatePaths();
|
|
43739
|
-
this.subject.publish(this);
|
|
43734
|
+
const movingGroupId = Group.movingGroupId;
|
|
43735
|
+
if (movingGroupId !== null && this.parent === movingGroupId && point3.item instanceof BaseItem && point3.item.parent === movingGroupId) {
|
|
43740
43736
|
return;
|
|
43741
43737
|
}
|
|
43742
43738
|
if (this.handleItemGeometryChange(point3, false))
|
|
43743
43739
|
return;
|
|
43744
43740
|
point3.recalculatePoint();
|
|
43745
|
-
const j1 = this.smartJumpEndEdge();
|
|
43746
|
-
const j2 = this.smartJumpStartEdge();
|
|
43741
|
+
const j1 = movingGroupId !== null ? false : this.smartJumpEndEdge();
|
|
43742
|
+
const j2 = movingGroupId !== null ? false : this.smartJumpStartEdge();
|
|
43747
43743
|
if (!j1 && !j2) {
|
|
43748
43744
|
this.updatePaths();
|
|
43749
43745
|
this.subject.publish(this);
|
package/dist/esm/index.js
CHANGED
|
@@ -43706,17 +43706,15 @@ class Connector2 extends BaseItem {
|
|
|
43706
43706
|
observerStartPointItem = () => {
|
|
43707
43707
|
const point3 = this.startPoint;
|
|
43708
43708
|
if (point3.pointType !== "Board") {
|
|
43709
|
-
|
|
43710
|
-
|
|
43711
|
-
this.updatePaths();
|
|
43712
|
-
this.subject.publish(this);
|
|
43709
|
+
const movingGroupId = Group.movingGroupId;
|
|
43710
|
+
if (movingGroupId !== null && this.parent === movingGroupId && point3.item instanceof BaseItem && point3.item.parent === movingGroupId) {
|
|
43713
43711
|
return;
|
|
43714
43712
|
}
|
|
43715
43713
|
if (this.handleItemGeometryChange(point3, true))
|
|
43716
43714
|
return;
|
|
43717
43715
|
point3.recalculatePoint();
|
|
43718
|
-
const j1 = this.smartJumpStartEdge();
|
|
43719
|
-
const j2 = this.smartJumpEndEdge();
|
|
43716
|
+
const j1 = movingGroupId !== null ? false : this.smartJumpStartEdge();
|
|
43717
|
+
const j2 = movingGroupId !== null ? false : this.smartJumpEndEdge();
|
|
43720
43718
|
if (!j1 && !j2) {
|
|
43721
43719
|
this.updatePaths();
|
|
43722
43720
|
this.subject.publish(this);
|
|
@@ -43726,17 +43724,15 @@ class Connector2 extends BaseItem {
|
|
|
43726
43724
|
observerEndPointItem = () => {
|
|
43727
43725
|
const point3 = this.endPoint;
|
|
43728
43726
|
if (point3.pointType !== "Board") {
|
|
43729
|
-
|
|
43730
|
-
|
|
43731
|
-
this.updatePaths();
|
|
43732
|
-
this.subject.publish(this);
|
|
43727
|
+
const movingGroupId = Group.movingGroupId;
|
|
43728
|
+
if (movingGroupId !== null && this.parent === movingGroupId && point3.item instanceof BaseItem && point3.item.parent === movingGroupId) {
|
|
43733
43729
|
return;
|
|
43734
43730
|
}
|
|
43735
43731
|
if (this.handleItemGeometryChange(point3, false))
|
|
43736
43732
|
return;
|
|
43737
43733
|
point3.recalculatePoint();
|
|
43738
|
-
const j1 = this.smartJumpEndEdge();
|
|
43739
|
-
const j2 = this.smartJumpStartEdge();
|
|
43734
|
+
const j1 = movingGroupId !== null ? false : this.smartJumpEndEdge();
|
|
43735
|
+
const j2 = movingGroupId !== null ? false : this.smartJumpStartEdge();
|
|
43740
43736
|
if (!j1 && !j2) {
|
|
43741
43737
|
this.updatePaths();
|
|
43742
43738
|
this.subject.publish(this);
|
package/dist/esm/node.js
CHANGED
|
@@ -46173,17 +46173,15 @@ class Connector2 extends BaseItem {
|
|
|
46173
46173
|
observerStartPointItem = () => {
|
|
46174
46174
|
const point3 = this.startPoint;
|
|
46175
46175
|
if (point3.pointType !== "Board") {
|
|
46176
|
-
|
|
46177
|
-
|
|
46178
|
-
this.updatePaths();
|
|
46179
|
-
this.subject.publish(this);
|
|
46176
|
+
const movingGroupId = Group.movingGroupId;
|
|
46177
|
+
if (movingGroupId !== null && this.parent === movingGroupId && point3.item instanceof BaseItem && point3.item.parent === movingGroupId) {
|
|
46180
46178
|
return;
|
|
46181
46179
|
}
|
|
46182
46180
|
if (this.handleItemGeometryChange(point3, true))
|
|
46183
46181
|
return;
|
|
46184
46182
|
point3.recalculatePoint();
|
|
46185
|
-
const j1 = this.smartJumpStartEdge();
|
|
46186
|
-
const j2 = this.smartJumpEndEdge();
|
|
46183
|
+
const j1 = movingGroupId !== null ? false : this.smartJumpStartEdge();
|
|
46184
|
+
const j2 = movingGroupId !== null ? false : this.smartJumpEndEdge();
|
|
46187
46185
|
if (!j1 && !j2) {
|
|
46188
46186
|
this.updatePaths();
|
|
46189
46187
|
this.subject.publish(this);
|
|
@@ -46193,17 +46191,15 @@ class Connector2 extends BaseItem {
|
|
|
46193
46191
|
observerEndPointItem = () => {
|
|
46194
46192
|
const point3 = this.endPoint;
|
|
46195
46193
|
if (point3.pointType !== "Board") {
|
|
46196
|
-
|
|
46197
|
-
|
|
46198
|
-
this.updatePaths();
|
|
46199
|
-
this.subject.publish(this);
|
|
46194
|
+
const movingGroupId = Group.movingGroupId;
|
|
46195
|
+
if (movingGroupId !== null && this.parent === movingGroupId && point3.item instanceof BaseItem && point3.item.parent === movingGroupId) {
|
|
46200
46196
|
return;
|
|
46201
46197
|
}
|
|
46202
46198
|
if (this.handleItemGeometryChange(point3, false))
|
|
46203
46199
|
return;
|
|
46204
46200
|
point3.recalculatePoint();
|
|
46205
|
-
const j1 = this.smartJumpEndEdge();
|
|
46206
|
-
const j2 = this.smartJumpStartEdge();
|
|
46201
|
+
const j1 = movingGroupId !== null ? false : this.smartJumpEndEdge();
|
|
46202
|
+
const j2 = movingGroupId !== null ? false : this.smartJumpStartEdge();
|
|
46207
46203
|
if (!j1 && !j2) {
|
|
46208
46204
|
this.updatePaths();
|
|
46209
46205
|
this.subject.publish(this);
|