@eclipse-glsp-examples/workflow-server-bundled 2.2.0-next.83 → 2.2.0-next.85
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/package.json +2 -2
- package/wf-glsp-server-node.js +18 -3
- package/wf-glsp-server-node.js.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eclipse-glsp-examples/workflow-server-bundled",
|
|
3
|
-
"version": "2.2.0-next.
|
|
3
|
+
"version": "2.2.0-next.85+4e5a7a9",
|
|
4
4
|
"description": "GLSP node server for the workflow example (bundled)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eclipse",
|
|
@@ -49,5 +49,5 @@
|
|
|
49
49
|
"publishConfig": {
|
|
50
50
|
"access": "public"
|
|
51
51
|
},
|
|
52
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "4e5a7a9d306c282f5566497be5386a022f984afb"
|
|
53
53
|
}
|
package/wf-glsp-server-node.js
CHANGED
|
@@ -55562,9 +55562,14 @@ var GAlignableBuilder;
|
|
|
55562
55562
|
if (typeof pointOrX === 'object') {
|
|
55563
55563
|
proxy.alignment = pointOrX;
|
|
55564
55564
|
}
|
|
55565
|
-
else if (y) {
|
|
55565
|
+
else if (y !== undefined) {
|
|
55566
55566
|
proxy.alignment = { x: pointOrX, y };
|
|
55567
55567
|
}
|
|
55568
|
+
else {
|
|
55569
|
+
// Optionally handle cases where y is not provided
|
|
55570
|
+
proxy.alignment = { x: pointOrX, y: 0 };
|
|
55571
|
+
console.warn(`Incomplete parameters for GAlignableBuilder.alignment function. Setting alignment to ${JSON.stringify(proxy.alignment)}`);
|
|
55572
|
+
}
|
|
55568
55573
|
return builder;
|
|
55569
55574
|
}
|
|
55570
55575
|
GAlignableBuilder.alignment = alignment;
|
|
@@ -55595,9 +55600,14 @@ var GBoundsAwareBuilder;
|
|
|
55595
55600
|
if (typeof pointOrX === 'object') {
|
|
55596
55601
|
proxy.position = pointOrX;
|
|
55597
55602
|
}
|
|
55598
|
-
else if (y) {
|
|
55603
|
+
else if (y !== undefined) {
|
|
55599
55604
|
proxy.position = { x: pointOrX, y };
|
|
55600
55605
|
}
|
|
55606
|
+
else {
|
|
55607
|
+
// Optionally handle cases where y is not provided
|
|
55608
|
+
proxy.position = { x: pointOrX, y: 0 };
|
|
55609
|
+
console.warn(`Incomplete parameters for GBoundsAwareBuilder.position function. Setting position to ${JSON.stringify(proxy.position)}`);
|
|
55610
|
+
}
|
|
55601
55611
|
return builder;
|
|
55602
55612
|
}
|
|
55603
55613
|
GBoundsAwareBuilder.position = position;
|
|
@@ -55606,9 +55616,14 @@ var GBoundsAwareBuilder;
|
|
|
55606
55616
|
if (typeof sizeOrWidth === 'object') {
|
|
55607
55617
|
proxy.size = sizeOrWidth;
|
|
55608
55618
|
}
|
|
55609
|
-
else if (height) {
|
|
55619
|
+
else if (height !== undefined) {
|
|
55610
55620
|
proxy.size = { width: sizeOrWidth, height };
|
|
55611
55621
|
}
|
|
55622
|
+
else {
|
|
55623
|
+
// Optionally handle cases where height is not provided
|
|
55624
|
+
proxy.size = { width: sizeOrWidth, height: 0 };
|
|
55625
|
+
console.warn(`Incomplete parameters for GBoundsAwareBuilder.size function. Setting size to ${JSON.stringify(proxy.size)}`);
|
|
55626
|
+
}
|
|
55612
55627
|
return builder;
|
|
55613
55628
|
}
|
|
55614
55629
|
GBoundsAwareBuilder.size = size;
|