@eclipse-glsp-examples/workflow-server-bundled 2.5.0-next.125 → 2.5.0-next.127

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eclipse-glsp-examples/workflow-server-bundled",
3
- "version": "2.5.0-next.125+72bdfaa",
3
+ "version": "2.5.0-next.127+a329302",
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": "72bdfaa5e25ed0cc386b324be5f960e56a3c440c"
52
+ "gitHead": "a329302e4bef9ee905d975e7178409a211ff37fc"
53
53
  }
@@ -5014,7 +5014,7 @@ exports.EditMode = {
5014
5014
  "use strict";
5015
5015
 
5016
5016
  Object.defineProperty(exports, "__esModule", ({ value: true }));
5017
- exports.LayoutOperation = exports.ComputedBoundsAction = exports.RequestBoundsAction = void 0;
5017
+ exports.TriggerLayoutAction = exports.LayoutOperation = exports.ComputedBoundsAction = exports.RequestBoundsAction = void 0;
5018
5018
  const type_util_1 = __webpack_require__(/*! ../utils/type-util */ "../../node_modules/@eclipse-glsp/protocol/lib/utils/type-util.js");
5019
5019
  const base_protocol_1 = __webpack_require__(/*! ./base-protocol */ "../../node_modules/@eclipse-glsp/protocol/lib/action-protocol/base-protocol.js");
5020
5020
  var RequestBoundsAction;
@@ -5055,7 +5055,7 @@ var LayoutOperation;
5055
5055
  (function (LayoutOperation) {
5056
5056
  LayoutOperation.KIND = 'layout';
5057
5057
  function is(object) {
5058
- return base_protocol_1.Action.hasKind(object, LayoutOperation.KIND) && (0, type_util_1.hasArrayProp)(object, 'elementIds');
5058
+ return base_protocol_1.Action.hasKind(object, LayoutOperation.KIND);
5059
5059
  }
5060
5060
  LayoutOperation.is = is;
5061
5061
  function create(elementIds, options = {}) {
@@ -5068,6 +5068,21 @@ var LayoutOperation;
5068
5068
  }
5069
5069
  LayoutOperation.create = create;
5070
5070
  })(LayoutOperation || (exports.LayoutOperation = LayoutOperation = {}));
5071
+ var TriggerLayoutAction;
5072
+ (function (TriggerLayoutAction) {
5073
+ TriggerLayoutAction.KIND = 'triggerLayout';
5074
+ function is(action) {
5075
+ return base_protocol_1.Action.hasKind(action, TriggerLayoutAction.KIND);
5076
+ }
5077
+ TriggerLayoutAction.is = is;
5078
+ function create(options = {}) {
5079
+ return {
5080
+ kind: TriggerLayoutAction.KIND,
5081
+ ...options
5082
+ };
5083
+ }
5084
+ TriggerLayoutAction.create = create;
5085
+ })(TriggerLayoutAction || (exports.TriggerLayoutAction = TriggerLayoutAction = {}));
5071
5086
 
5072
5087
 
5073
5088
  /***/ }),
@@ -59810,7 +59825,7 @@ __exportStar(__webpack_require__(/*! ./gshaped-prerendered-element */ "../../pac
59810
59825
  Object.defineProperty(exports, "__esModule", ({ value: true }));
59811
59826
  exports.configureELKLayoutModule = void 0;
59812
59827
  /********************************************************************************
59813
- * Copyright (c) 2022-2024 STMicroelectronics and others.
59828
+ * Copyright (c) 2022-2025 STMicroelectronics and others.
59814
59829
  *
59815
59830
  * This program and the accompanying materials are made available under the
59816
59831
  * terms of the Eclipse Public License v. 2.0 which is available at
@@ -60013,7 +60028,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
60013
60028
  Object.defineProperty(exports, "__esModule", ({ value: true }));
60014
60029
  exports.GlspElkLayoutEngine = exports.ElkFactory = void 0;
60015
60030
  /********************************************************************************
60016
- * Copyright (c) 2018-2024 TypeFox and others.
60031
+ * Copyright (c) 2018-2025 TypeFox and others.
60017
60032
  * This program and the accompanying materials are made available under the
60018
60033
  * terms of the Eclipse Public License v. 2.0 which is available at
60019
60034
  * http://www.eclipse.org/legal/epl-2.0.
@@ -60042,7 +60057,7 @@ let GlspElkLayoutEngine = class GlspElkLayoutEngine {
60042
60057
  this.modelState = modelState;
60043
60058
  this.elk = elkFactory();
60044
60059
  }
60045
- layout() {
60060
+ layout(operation) {
60046
60061
  const root = this.modelState.root;
60047
60062
  if (!(root instanceof server_1.GGraph)) {
60048
60063
  return root;
@@ -62815,7 +62830,7 @@ exports.ComputedBoundsActionHandler = ComputedBoundsActionHandler = __decorate([
62815
62830
  "use strict";
62816
62831
 
62817
62832
  /********************************************************************************
62818
- * Copyright (c) 2022-2023 STMicroelectronics and others.
62833
+ * Copyright (c) 2022-2025 STMicroelectronics and others.
62819
62834
  *
62820
62835
  * This program and the accompanying materials are made available under the
62821
62836
  * terms of the Eclipse Public License v. 2.0 which is available at
@@ -62856,7 +62871,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
62856
62871
  Object.defineProperty(exports, "__esModule", ({ value: true }));
62857
62872
  exports.LayoutOperationHandler = void 0;
62858
62873
  /********************************************************************************
62859
- * Copyright (c) 2022-2023 STMicroelectronics and others.
62874
+ * Copyright (c) 2022-2025 STMicroelectronics and others.
62860
62875
  *
62861
62876
  * This program and the accompanying materials are made available under the
62862
62877
  * terms of the Eclipse Public License v. 2.0 which is available at
@@ -62898,9 +62913,9 @@ let LayoutOperationHandler = class LayoutOperationHandler extends operation_hand
62898
62913
  }
62899
62914
  return new recording_command_1.GModelRecordingCommand(this.modelState, this.serializer, () => this.executeOperation(operation));
62900
62915
  }
62901
- async executeOperation(_operation) {
62916
+ async executeOperation(operation) {
62902
62917
  var _a;
62903
- await ((_a = this.layoutEngine) === null || _a === void 0 ? void 0 : _a.layout());
62918
+ await ((_a = this.layoutEngine) === null || _a === void 0 ? void 0 : _a.layout(operation));
62904
62919
  }
62905
62920
  };
62906
62921
  exports.LayoutOperationHandler = LayoutOperationHandler;
@@ -63641,7 +63656,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
63641
63656
  Object.defineProperty(exports, "__esModule", ({ value: true }));
63642
63657
  exports.RequestModelActionHandler = void 0;
63643
63658
  /********************************************************************************
63644
- * Copyright (c) 2022-2023 STMicroelectronics and others.
63659
+ * Copyright (c) 2022-2025 STMicroelectronics and others.
63645
63660
  *
63646
63661
  * This program and the accompanying materials are made available under the
63647
63662
  * terms of the Eclipse Public License v. 2.0 which is available at
@@ -64069,7 +64084,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
64069
64084
  Object.defineProperty(exports, "__esModule", ({ value: true }));
64070
64085
  exports.RequestNavigationTargetsActionHandler = void 0;
64071
64086
  /********************************************************************************
64072
- * Copyright (c) 2022-2023 STMicroelectronics and others.
64087
+ * Copyright (c) 2022-2024 STMicroelectronics and others.
64073
64088
  *
64074
64089
  * This program and the accompanying materials are made available under the
64075
64090
  * terms of the Eclipse Public License v. 2.0 which is available at
@@ -64775,7 +64790,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
64775
64790
  Object.defineProperty(exports, "__esModule", ({ value: true }));
64776
64791
  exports.GModelChangeBoundsOperationHandler = void 0;
64777
64792
  /********************************************************************************
64778
- * Copyright (c) 2022-2023 STMicroelectronics and others.
64793
+ * Copyright (c) 2022-2025 STMicroelectronics and others.
64779
64794
  *
64780
64795
  * This program and the accompanying materials are made available under the
64781
64796
  * terms of the Eclipse Public License v. 2.0 which is available at
@@ -64863,7 +64878,7 @@ exports.GModelChangeBoundsOperationHandler = GModelChangeBoundsOperationHandler
64863
64878
  "use strict";
64864
64879
 
64865
64880
  /********************************************************************************
64866
- * Copyright (c) 2022-2023 EclipseSource and others.
64881
+ * Copyright (c) 2022-2025 EclipseSource and others.
64867
64882
  *
64868
64883
  * This program and the accompanying materials are made available under the
64869
64884
  * terms of the Eclipse Public License v. 2.0 which is available at
@@ -66016,7 +66031,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
66016
66031
  Object.defineProperty(exports, "__esModule", ({ value: true }));
66017
66032
  exports.CompoundOperationHandler = void 0;
66018
66033
  /********************************************************************************
66019
- * Copyright (c) 2022-2023 STMicroelectronics and others.
66034
+ * Copyright (c) 2022-2025 STMicroelectronics and others.
66020
66035
  *
66021
66036
  * This program and the accompanying materials are made available under the
66022
66037
  * terms of the Eclipse Public License v. 2.0 which is available at
@@ -66276,7 +66291,7 @@ var OperationActionHandler_1;
66276
66291
  Object.defineProperty(exports, "__esModule", ({ value: true }));
66277
66292
  exports.OperationActionHandler = void 0;
66278
66293
  /********************************************************************************
66279
- * Copyright (c) 2022-2023 STMicroelectronics and others.
66294
+ * Copyright (c) 2022-2025 STMicroelectronics and others.
66280
66295
  *
66281
66296
  * This program and the accompanying materials are made available under the
66282
66297
  * terms of the Eclipse Public License v. 2.0 which is available at
@@ -67207,7 +67222,7 @@ ClientOptionsUtil.IS_RECONNECTING = 'isReconnecting';
67207
67222
  "use strict";
67208
67223
 
67209
67224
  /********************************************************************************
67210
- * Copyright (c) 2022-2024 EclipseSource and others.
67225
+ * Copyright (c) 2022-2025 EclipseSource and others.
67211
67226
  *
67212
67227
  * This program and the accompanying materials are made available under the
67213
67228
  * terms of the Eclipse Public License v. 2.0 which is available at
@@ -67362,7 +67377,7 @@ exports.getOrThrow = getOrThrow;
67362
67377
  "use strict";
67363
67378
 
67364
67379
  /********************************************************************************
67365
- * Copyright (c) 2022-2023 EclipseSource and others.
67380
+ * Copyright (c) 2022-2025 EclipseSource and others.
67366
67381
  *
67367
67382
  * This program and the accompanying materials are made available under the
67368
67383
  * terms of the Eclipse Public License v. 2.0 which is available at