microboard-temp 0.5.87 → 0.5.88
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
|
@@ -36935,10 +36935,10 @@ function reconstructPath(node2) {
|
|
|
36935
36935
|
return path2.reverse();
|
|
36936
36936
|
}
|
|
36937
36937
|
function haveVerticalIntersection(firstMbr, secondMbr, offset = 0) {
|
|
36938
|
-
return firstMbr.top
|
|
36938
|
+
return firstMbr.top <= secondMbr.bottom - offset && secondMbr.top <= firstMbr.bottom - offset;
|
|
36939
36939
|
}
|
|
36940
36940
|
function haveHorizontalIntersection(firstMbr, secondMbr, offset = 0) {
|
|
36941
|
-
return firstMbr.right
|
|
36941
|
+
return firstMbr.right <= secondMbr.left - offset && secondMbr.right <= firstMbr.left - offset;
|
|
36942
36942
|
}
|
|
36943
36943
|
function createHookWaypoints(startPoint, endPoint, startItemMbr, endItemMbr, startDir, endDir) {
|
|
36944
36944
|
if (startDir === "right" && endDir === "left" && startPoint.x > endPoint.x && !haveVerticalIntersection(startItemMbr, endItemMbr, conf.CONNECTOR_ITEM_OFFSET * 2)) {
|
package/dist/cjs/index.js
CHANGED
|
@@ -36935,10 +36935,10 @@ function reconstructPath(node2) {
|
|
|
36935
36935
|
return path2.reverse();
|
|
36936
36936
|
}
|
|
36937
36937
|
function haveVerticalIntersection(firstMbr, secondMbr, offset = 0) {
|
|
36938
|
-
return firstMbr.top
|
|
36938
|
+
return firstMbr.top <= secondMbr.bottom - offset && secondMbr.top <= firstMbr.bottom - offset;
|
|
36939
36939
|
}
|
|
36940
36940
|
function haveHorizontalIntersection(firstMbr, secondMbr, offset = 0) {
|
|
36941
|
-
return firstMbr.right
|
|
36941
|
+
return firstMbr.right <= secondMbr.left - offset && secondMbr.right <= firstMbr.left - offset;
|
|
36942
36942
|
}
|
|
36943
36943
|
function createHookWaypoints(startPoint, endPoint, startItemMbr, endItemMbr, startDir, endDir) {
|
|
36944
36944
|
if (startDir === "right" && endDir === "left" && startPoint.x > endPoint.x && !haveVerticalIntersection(startItemMbr, endItemMbr, conf.CONNECTOR_ITEM_OFFSET * 2)) {
|
package/dist/cjs/node.js
CHANGED
|
@@ -39408,10 +39408,10 @@ function reconstructPath(node2) {
|
|
|
39408
39408
|
return path2.reverse();
|
|
39409
39409
|
}
|
|
39410
39410
|
function haveVerticalIntersection(firstMbr, secondMbr, offset = 0) {
|
|
39411
|
-
return firstMbr.top
|
|
39411
|
+
return firstMbr.top <= secondMbr.bottom - offset && secondMbr.top <= firstMbr.bottom - offset;
|
|
39412
39412
|
}
|
|
39413
39413
|
function haveHorizontalIntersection(firstMbr, secondMbr, offset = 0) {
|
|
39414
|
-
return firstMbr.right
|
|
39414
|
+
return firstMbr.right <= secondMbr.left - offset && secondMbr.right <= firstMbr.left - offset;
|
|
39415
39415
|
}
|
|
39416
39416
|
function createHookWaypoints(startPoint, endPoint, startItemMbr, endItemMbr, startDir, endDir) {
|
|
39417
39417
|
if (startDir === "right" && endDir === "left" && startPoint.x > endPoint.x && !haveVerticalIntersection(startItemMbr, endItemMbr, conf.CONNECTOR_ITEM_OFFSET * 2)) {
|
package/dist/esm/browser.js
CHANGED
|
@@ -36780,10 +36780,10 @@ function reconstructPath(node2) {
|
|
|
36780
36780
|
return path2.reverse();
|
|
36781
36781
|
}
|
|
36782
36782
|
function haveVerticalIntersection(firstMbr, secondMbr, offset = 0) {
|
|
36783
|
-
return firstMbr.top
|
|
36783
|
+
return firstMbr.top <= secondMbr.bottom - offset && secondMbr.top <= firstMbr.bottom - offset;
|
|
36784
36784
|
}
|
|
36785
36785
|
function haveHorizontalIntersection(firstMbr, secondMbr, offset = 0) {
|
|
36786
|
-
return firstMbr.right
|
|
36786
|
+
return firstMbr.right <= secondMbr.left - offset && secondMbr.right <= firstMbr.left - offset;
|
|
36787
36787
|
}
|
|
36788
36788
|
function createHookWaypoints(startPoint, endPoint, startItemMbr, endItemMbr, startDir, endDir) {
|
|
36789
36789
|
if (startDir === "right" && endDir === "left" && startPoint.x > endPoint.x && !haveVerticalIntersection(startItemMbr, endItemMbr, conf.CONNECTOR_ITEM_OFFSET * 2)) {
|
package/dist/esm/index.js
CHANGED
|
@@ -36773,10 +36773,10 @@ function reconstructPath(node2) {
|
|
|
36773
36773
|
return path2.reverse();
|
|
36774
36774
|
}
|
|
36775
36775
|
function haveVerticalIntersection(firstMbr, secondMbr, offset = 0) {
|
|
36776
|
-
return firstMbr.top
|
|
36776
|
+
return firstMbr.top <= secondMbr.bottom - offset && secondMbr.top <= firstMbr.bottom - offset;
|
|
36777
36777
|
}
|
|
36778
36778
|
function haveHorizontalIntersection(firstMbr, secondMbr, offset = 0) {
|
|
36779
|
-
return firstMbr.right
|
|
36779
|
+
return firstMbr.right <= secondMbr.left - offset && secondMbr.right <= firstMbr.left - offset;
|
|
36780
36780
|
}
|
|
36781
36781
|
function createHookWaypoints(startPoint, endPoint, startItemMbr, endItemMbr, startDir, endDir) {
|
|
36782
36782
|
if (startDir === "right" && endDir === "left" && startPoint.x > endPoint.x && !haveVerticalIntersection(startItemMbr, endItemMbr, conf.CONNECTOR_ITEM_OFFSET * 2)) {
|
package/dist/esm/node.js
CHANGED
|
@@ -39241,10 +39241,10 @@ function reconstructPath(node2) {
|
|
|
39241
39241
|
return path2.reverse();
|
|
39242
39242
|
}
|
|
39243
39243
|
function haveVerticalIntersection(firstMbr, secondMbr, offset = 0) {
|
|
39244
|
-
return firstMbr.top
|
|
39244
|
+
return firstMbr.top <= secondMbr.bottom - offset && secondMbr.top <= firstMbr.bottom - offset;
|
|
39245
39245
|
}
|
|
39246
39246
|
function haveHorizontalIntersection(firstMbr, secondMbr, offset = 0) {
|
|
39247
|
-
return firstMbr.right
|
|
39247
|
+
return firstMbr.right <= secondMbr.left - offset && secondMbr.right <= firstMbr.left - offset;
|
|
39248
39248
|
}
|
|
39249
39249
|
function createHookWaypoints(startPoint, endPoint, startItemMbr, endItemMbr, startDir, endDir) {
|
|
39250
39250
|
if (startDir === "right" && endDir === "left" && startPoint.x > endPoint.x && !haveVerticalIntersection(startItemMbr, endItemMbr, conf.CONNECTOR_ITEM_OFFSET * 2)) {
|