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