@eclipse-glsp-examples/workflow-server-bundled 2.2.0-next.96 → 2.2.1

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.
@@ -1597,7 +1597,11 @@ var EditTaskOperation;
1597
1597
  }
1598
1598
  EditTaskOperation.is = is;
1599
1599
  function create(options) {
1600
- return Object.assign({ kind: EditTaskOperation.KIND, isOperation: true }, options);
1600
+ return {
1601
+ kind: EditTaskOperation.KIND,
1602
+ isOperation: true,
1603
+ ...options
1604
+ };
1601
1605
  }
1602
1606
  EditTaskOperation.create = create;
1603
1607
  })(EditTaskOperation || (exports.EditTaskOperation = EditTaskOperation = {}));
@@ -1959,7 +1963,7 @@ let WorkflowDiagramConfiguration = class WorkflowDiagramConfiguration {
1959
1963
  return [
1960
1964
  createDefaultEdgeTypeHint(protocol_1.DefaultTypes.EDGE),
1961
1965
  createDefaultEdgeTypeHint({
1962
- elementTypeId: protocol_1.DefaultTypes.EDGE,
1966
+ elementTypeId: model_types_1.ModelTypes.WEIGHTED_EDGE,
1963
1967
  dynamic: true,
1964
1968
  sourceElementTypeIds: [model_types_1.ModelTypes.ACTIVITY_NODE],
1965
1969
  targetElementTypeIds: [model_types_1.ModelTypes.TASK, model_types_1.ModelTypes.ACTIVITY_NODE]
@@ -1973,12 +1977,16 @@ exports.WorkflowDiagramConfiguration = WorkflowDiagramConfiguration = __decorate
1973
1977
  ], WorkflowDiagramConfiguration);
1974
1978
  function createDefaultShapeTypeHint(elementIdOrTemplate) {
1975
1979
  const template = typeof elementIdOrTemplate === 'string' ? { elementTypeId: elementIdOrTemplate } : elementIdOrTemplate;
1976
- return Object.assign({ repositionable: true, deletable: true, resizable: true, reparentable: true }, template);
1980
+ return { repositionable: true, deletable: true, resizable: true, reparentable: true, ...template };
1977
1981
  }
1978
1982
  exports.createDefaultShapeTypeHint = createDefaultShapeTypeHint;
1979
1983
  function createDefaultEdgeTypeHint(elementIdOrTemplate) {
1980
1984
  const template = typeof elementIdOrTemplate === 'string' ? { elementTypeId: elementIdOrTemplate } : elementIdOrTemplate;
1981
- return Object.assign({ repositionable: true, deletable: true, routable: true, sourceElementTypeIds: [
1985
+ return {
1986
+ repositionable: true,
1987
+ deletable: true,
1988
+ routable: true,
1989
+ sourceElementTypeIds: [
1982
1990
  model_types_1.ModelTypes.MANUAL_TASK,
1983
1991
  model_types_1.ModelTypes.AUTOMATED_TASK,
1984
1992
  model_types_1.ModelTypes.DECISION_NODE,
@@ -1986,7 +1994,8 @@ function createDefaultEdgeTypeHint(elementIdOrTemplate) {
1986
1994
  model_types_1.ModelTypes.FORK_NODE,
1987
1995
  model_types_1.ModelTypes.JOIN_NODE,
1988
1996
  model_types_1.ModelTypes.CATEGORY
1989
- ], targetElementTypeIds: [
1997
+ ],
1998
+ targetElementTypeIds: [
1990
1999
  model_types_1.ModelTypes.MANUAL_TASK,
1991
2000
  model_types_1.ModelTypes.AUTOMATED_TASK,
1992
2001
  model_types_1.ModelTypes.DECISION_NODE,
@@ -1994,7 +2003,9 @@ function createDefaultEdgeTypeHint(elementIdOrTemplate) {
1994
2003
  model_types_1.ModelTypes.FORK_NODE,
1995
2004
  model_types_1.ModelTypes.JOIN_NODE,
1996
2005
  model_types_1.ModelTypes.CATEGORY
1997
- ] }, template);
2006
+ ],
2007
+ ...template
2008
+ };
1998
2009
  }
1999
2010
  exports.createDefaultEdgeTypeHint = createDefaultEdgeTypeHint;
2000
2011
 
@@ -2255,7 +2266,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
2255
2266
  Object.defineProperty(exports, "__esModule", ({ value: true }));
2256
2267
  exports.WorkflowPopupFactory = void 0;
2257
2268
  /********************************************************************************
2258
- * Copyright (c) 2022-2024 STMicroelectronics and others.
2269
+ * Copyright (c) 2022-2023 STMicroelectronics and others.
2259
2270
  *
2260
2271
  * This program and the accompanying materials are made available under the
2261
2272
  * terms of the Eclipse Public License v. 2.0 which is available at
@@ -2389,7 +2400,7 @@ launch(process.argv).catch(error => console.error('Error in workflow server laun
2389
2400
  Object.defineProperty(exports, "__esModule", ({ value: true }));
2390
2401
  exports.createWorkflowCliParser = void 0;
2391
2402
  const node_1 = __webpack_require__(/*! @eclipse-glsp/server/node */ "../../packages/server/node.js");
2392
- function createWorkflowCliParser(defaultOptions = Object.assign({ webSocket: false }, node_1.defaultSocketLaunchOptions)) {
2403
+ function createWorkflowCliParser(defaultOptions = { webSocket: false, ...node_1.defaultSocketLaunchOptions }) {
2393
2404
  const parser = (0, node_1.createSocketCliParser)(defaultOptions);
2394
2405
  parser.command.option('-w , --webSocket', 'Flag to use websocket launcher instead of default launcher', false);
2395
2406
  return parser;
@@ -3696,7 +3707,12 @@ var RejectAction;
3696
3707
  }
3697
3708
  RejectAction.is = is;
3698
3709
  function create(message, options = {}) {
3699
- return Object.assign({ kind: RejectAction.KIND, responseId: '', message }, options);
3710
+ return {
3711
+ kind: RejectAction.KIND,
3712
+ responseId: '',
3713
+ message,
3714
+ ...options
3715
+ };
3700
3716
  }
3701
3717
  RejectAction.create = create;
3702
3718
  })(RejectAction || (exports.RejectAction = RejectAction = {}));
@@ -3725,7 +3741,12 @@ var CompoundOperation;
3725
3741
  }
3726
3742
  CompoundOperation.is = is;
3727
3743
  function create(operationList, options = {}) {
3728
- return Object.assign({ kind: CompoundOperation.KIND, isOperation: true, operationList }, options);
3744
+ return {
3745
+ kind: CompoundOperation.KIND,
3746
+ isOperation: true,
3747
+ operationList,
3748
+ ...options
3749
+ };
3729
3750
  }
3730
3751
  CompoundOperation.create = create;
3731
3752
  })(CompoundOperation || (exports.CompoundOperation = CompoundOperation = {}));
@@ -3768,7 +3789,12 @@ var StatusAction;
3768
3789
  }
3769
3790
  StatusAction.is = is;
3770
3791
  function create(message, options = {}) {
3771
- return Object.assign({ kind: StatusAction.KIND, severity: 'INFO', message }, options);
3792
+ return {
3793
+ kind: StatusAction.KIND,
3794
+ severity: 'INFO',
3795
+ message,
3796
+ ...options
3797
+ };
3772
3798
  }
3773
3799
  StatusAction.create = create;
3774
3800
  })(StatusAction || (exports.StatusAction = StatusAction = {}));
@@ -3780,7 +3806,12 @@ var MessageAction;
3780
3806
  }
3781
3807
  MessageAction.is = is;
3782
3808
  function create(message, options = {}) {
3783
- return Object.assign({ kind: MessageAction.KIND, message, severity: 'INFO' }, options);
3809
+ return {
3810
+ kind: MessageAction.KIND,
3811
+ message,
3812
+ severity: 'INFO',
3813
+ ...options
3814
+ };
3784
3815
  }
3785
3816
  MessageAction.create = create;
3786
3817
  })(MessageAction || (exports.MessageAction = MessageAction = {}));
@@ -3792,7 +3823,10 @@ var StartProgressAction;
3792
3823
  }
3793
3824
  StartProgressAction.is = is;
3794
3825
  function create(options) {
3795
- return Object.assign({ kind: StartProgressAction.KIND }, options);
3826
+ return {
3827
+ kind: StartProgressAction.KIND,
3828
+ ...options
3829
+ };
3796
3830
  }
3797
3831
  StartProgressAction.create = create;
3798
3832
  })(StartProgressAction || (exports.StartProgressAction = StartProgressAction = {}));
@@ -3804,7 +3838,11 @@ var UpdateProgressAction;
3804
3838
  }
3805
3839
  UpdateProgressAction.is = is;
3806
3840
  function create(progressId, options = {}) {
3807
- return Object.assign({ kind: UpdateProgressAction.KIND, progressId }, options);
3841
+ return {
3842
+ kind: UpdateProgressAction.KIND,
3843
+ progressId,
3844
+ ...options
3845
+ };
3808
3846
  }
3809
3847
  UpdateProgressAction.create = create;
3810
3848
  })(UpdateProgressAction || (exports.UpdateProgressAction = UpdateProgressAction = {}));
@@ -3863,7 +3901,12 @@ var RequestClipboardDataAction;
3863
3901
  }
3864
3902
  RequestClipboardDataAction.is = is;
3865
3903
  function create(editorContext, options = {}) {
3866
- return Object.assign({ kind: RequestClipboardDataAction.KIND, requestId: '', editorContext }, options);
3904
+ return {
3905
+ kind: RequestClipboardDataAction.KIND,
3906
+ requestId: '',
3907
+ editorContext,
3908
+ ...options
3909
+ };
3867
3910
  }
3868
3911
  RequestClipboardDataAction.create = create;
3869
3912
  })(RequestClipboardDataAction || (exports.RequestClipboardDataAction = RequestClipboardDataAction = {}));
@@ -3875,7 +3918,12 @@ var SetClipboardDataAction;
3875
3918
  }
3876
3919
  SetClipboardDataAction.is = is;
3877
3920
  function create(clipboardData, options = {}) {
3878
- return Object.assign({ kind: SetClipboardDataAction.KIND, responseId: '', clipboardData }, options);
3921
+ return {
3922
+ kind: SetClipboardDataAction.KIND,
3923
+ responseId: '',
3924
+ clipboardData,
3925
+ ...options
3926
+ };
3879
3927
  }
3880
3928
  SetClipboardDataAction.create = create;
3881
3929
  })(SetClipboardDataAction || (exports.SetClipboardDataAction = SetClipboardDataAction = {}));
@@ -3887,7 +3935,12 @@ var CutOperation;
3887
3935
  }
3888
3936
  CutOperation.is = is;
3889
3937
  function create(editorContext, options = {}) {
3890
- return Object.assign({ kind: CutOperation.KIND, isOperation: true, editorContext }, options);
3938
+ return {
3939
+ kind: CutOperation.KIND,
3940
+ isOperation: true,
3941
+ editorContext,
3942
+ ...options
3943
+ };
3891
3944
  }
3892
3945
  CutOperation.create = create;
3893
3946
  })(CutOperation || (exports.CutOperation = CutOperation = {}));
@@ -3899,7 +3952,11 @@ var PasteOperation;
3899
3952
  }
3900
3953
  PasteOperation.is = is;
3901
3954
  function create(options) {
3902
- return Object.assign({ kind: PasteOperation.KIND, isOperation: true }, options);
3955
+ return {
3956
+ kind: PasteOperation.KIND,
3957
+ isOperation: true,
3958
+ ...options
3959
+ };
3903
3960
  }
3904
3961
  PasteOperation.create = create;
3905
3962
  })(PasteOperation || (exports.PasteOperation = PasteOperation = {}));
@@ -3942,7 +3999,11 @@ var RequestContextActions;
3942
3999
  }
3943
4000
  RequestContextActions.is = is;
3944
4001
  function create(options) {
3945
- return Object.assign({ kind: RequestContextActions.KIND, requestId: '' }, options);
4002
+ return {
4003
+ kind: RequestContextActions.KIND,
4004
+ requestId: '',
4005
+ ...options
4006
+ };
3946
4007
  }
3947
4008
  RequestContextActions.create = create;
3948
4009
  })(RequestContextActions || (exports.RequestContextActions = RequestContextActions = {}));
@@ -3954,7 +4015,12 @@ var SetContextActions;
3954
4015
  }
3955
4016
  SetContextActions.is = is;
3956
4017
  function create(actions, options = {}) {
3957
- return Object.assign({ kind: SetContextActions.KIND, responseId: '', actions }, options);
4018
+ return {
4019
+ kind: SetContextActions.KIND,
4020
+ responseId: '',
4021
+ actions,
4022
+ ...options
4023
+ };
3958
4024
  }
3959
4025
  SetContextActions.create = create;
3960
4026
  })(SetContextActions || (exports.SetContextActions = SetContextActions = {}));
@@ -4000,7 +4066,11 @@ var ReconnectEdgeOperation;
4000
4066
  }
4001
4067
  ReconnectEdgeOperation.is = is;
4002
4068
  function create(options) {
4003
- return Object.assign({ kind: ReconnectEdgeOperation.KIND, isOperation: true }, options);
4069
+ return {
4070
+ kind: ReconnectEdgeOperation.KIND,
4071
+ isOperation: true,
4072
+ ...options
4073
+ };
4004
4074
  }
4005
4075
  ReconnectEdgeOperation.create = create;
4006
4076
  })(ReconnectEdgeOperation || (exports.ReconnectEdgeOperation = ReconnectEdgeOperation = {}));
@@ -4012,7 +4082,12 @@ var ChangeRoutingPointsOperation;
4012
4082
  }
4013
4083
  ChangeRoutingPointsOperation.is = is;
4014
4084
  function create(newRoutingPoints, options = {}) {
4015
- return Object.assign({ kind: ChangeRoutingPointsOperation.KIND, isOperation: true, newRoutingPoints }, options);
4085
+ return {
4086
+ kind: ChangeRoutingPointsOperation.KIND,
4087
+ isOperation: true,
4088
+ newRoutingPoints,
4089
+ ...options
4090
+ };
4016
4091
  }
4017
4092
  ChangeRoutingPointsOperation.create = create;
4018
4093
  })(ChangeRoutingPointsOperation || (exports.ChangeRoutingPointsOperation = ChangeRoutingPointsOperation = {}));
@@ -4072,7 +4147,12 @@ var CreateNodeOperation;
4072
4147
  }
4073
4148
  CreateNodeOperation.is = is;
4074
4149
  function create(elementTypeId, options = {}) {
4075
- return Object.assign({ kind: CreateNodeOperation.KIND, isOperation: true, elementTypeId }, options);
4150
+ return {
4151
+ kind: CreateNodeOperation.KIND,
4152
+ isOperation: true,
4153
+ elementTypeId,
4154
+ ...options
4155
+ };
4076
4156
  }
4077
4157
  CreateNodeOperation.create = create;
4078
4158
  })(CreateNodeOperation || (exports.CreateNodeOperation = CreateNodeOperation = {}));
@@ -4084,7 +4164,11 @@ var CreateEdgeOperation;
4084
4164
  }
4085
4165
  CreateEdgeOperation.is = is;
4086
4166
  function create(options) {
4087
- return Object.assign({ kind: CreateEdgeOperation.KIND, isOperation: true }, options);
4167
+ return {
4168
+ kind: CreateEdgeOperation.KIND,
4169
+ isOperation: true,
4170
+ ...options
4171
+ };
4088
4172
  }
4089
4173
  CreateEdgeOperation.create = create;
4090
4174
  })(CreateEdgeOperation || (exports.CreateEdgeOperation = CreateEdgeOperation = {}));
@@ -4096,7 +4180,12 @@ var DeleteElementOperation;
4096
4180
  }
4097
4181
  DeleteElementOperation.is = is;
4098
4182
  function create(elementIds, options = {}) {
4099
- return Object.assign({ kind: DeleteElementOperation.KIND, isOperation: true, elementIds }, options);
4183
+ return {
4184
+ kind: DeleteElementOperation.KIND,
4185
+ isOperation: true,
4186
+ elementIds,
4187
+ ...options
4188
+ };
4100
4189
  }
4101
4190
  DeleteElementOperation.create = create;
4102
4191
  })(DeleteElementOperation || (exports.DeleteElementOperation = DeleteElementOperation = {}));
@@ -4124,7 +4213,11 @@ var RequestPopupModelAction;
4124
4213
  }
4125
4214
  RequestPopupModelAction.is = is;
4126
4215
  function create(options) {
4127
- return Object.assign({ kind: RequestPopupModelAction.KIND, requestId: '' }, options);
4216
+ return {
4217
+ kind: RequestPopupModelAction.KIND,
4218
+ requestId: '',
4219
+ ...options
4220
+ };
4128
4221
  }
4129
4222
  RequestPopupModelAction.create = create;
4130
4223
  })(RequestPopupModelAction || (exports.RequestPopupModelAction = RequestPopupModelAction = {}));
@@ -4136,7 +4229,12 @@ var SetPopupModelAction;
4136
4229
  }
4137
4230
  SetPopupModelAction.is = is;
4138
4231
  function create(newRoot, options = {}) {
4139
- return Object.assign({ kind: SetPopupModelAction.KIND, responseId: '', newRoot }, options);
4232
+ return {
4233
+ kind: SetPopupModelAction.KIND,
4234
+ responseId: '',
4235
+ newRoot,
4236
+ ...options
4237
+ };
4140
4238
  }
4141
4239
  SetPopupModelAction.create = create;
4142
4240
  })(SetPopupModelAction || (exports.SetPopupModelAction = SetPopupModelAction = {}));
@@ -4271,7 +4369,11 @@ var RequestNavigationTargetsAction;
4271
4369
  }
4272
4370
  RequestNavigationTargetsAction.is = is;
4273
4371
  function create(options) {
4274
- return Object.assign({ kind: RequestNavigationTargetsAction.KIND, requestId: '' }, options);
4372
+ return {
4373
+ kind: RequestNavigationTargetsAction.KIND,
4374
+ requestId: '',
4375
+ ...options
4376
+ };
4275
4377
  }
4276
4378
  RequestNavigationTargetsAction.create = create;
4277
4379
  })(RequestNavigationTargetsAction || (exports.RequestNavigationTargetsAction = RequestNavigationTargetsAction = {}));
@@ -4283,7 +4385,12 @@ var SetNavigationTargetsAction;
4283
4385
  }
4284
4386
  SetNavigationTargetsAction.is = is;
4285
4387
  function create(targets, options = {}) {
4286
- return Object.assign({ kind: SetNavigationTargetsAction.KIND, responseId: '', targets }, options);
4388
+ return {
4389
+ kind: SetNavigationTargetsAction.KIND,
4390
+ responseId: '',
4391
+ targets,
4392
+ ...options
4393
+ };
4287
4394
  }
4288
4395
  SetNavigationTargetsAction.create = create;
4289
4396
  })(SetNavigationTargetsAction || (exports.SetNavigationTargetsAction = SetNavigationTargetsAction = {}));
@@ -4310,7 +4417,12 @@ var ResolveNavigationTargetAction;
4310
4417
  }
4311
4418
  ResolveNavigationTargetAction.is = is;
4312
4419
  function create(navigationTarget, options = {}) {
4313
- return Object.assign({ kind: ResolveNavigationTargetAction.KIND, requestId: '', navigationTarget }, options);
4420
+ return {
4421
+ kind: ResolveNavigationTargetAction.KIND,
4422
+ requestId: '',
4423
+ navigationTarget,
4424
+ ...options
4425
+ };
4314
4426
  }
4315
4427
  ResolveNavigationTargetAction.create = create;
4316
4428
  })(ResolveNavigationTargetAction || (exports.ResolveNavigationTargetAction = ResolveNavigationTargetAction = {}));
@@ -4322,7 +4434,12 @@ var SetResolvedNavigationTargetAction;
4322
4434
  }
4323
4435
  SetResolvedNavigationTargetAction.is = is;
4324
4436
  function create(elementIds, options = {}) {
4325
- return Object.assign({ kind: SetResolvedNavigationTargetAction.KIND, responseId: '', elementIds }, options);
4437
+ return {
4438
+ kind: SetResolvedNavigationTargetAction.KIND,
4439
+ responseId: '',
4440
+ elementIds,
4441
+ ...options
4442
+ };
4326
4443
  }
4327
4444
  SetResolvedNavigationTargetAction.create = create;
4328
4445
  })(SetResolvedNavigationTargetAction || (exports.SetResolvedNavigationTargetAction = SetResolvedNavigationTargetAction = {}));
@@ -4431,7 +4548,11 @@ var RequestEditValidationAction;
4431
4548
  }
4432
4549
  RequestEditValidationAction.is = is;
4433
4550
  function create(options) {
4434
- return Object.assign({ kind: RequestEditValidationAction.KIND, requestId: '' }, options);
4551
+ return {
4552
+ kind: RequestEditValidationAction.KIND,
4553
+ requestId: '',
4554
+ ...options
4555
+ };
4435
4556
  }
4436
4557
  RequestEditValidationAction.create = create;
4437
4558
  })(RequestEditValidationAction || (exports.RequestEditValidationAction = RequestEditValidationAction = {}));
@@ -4443,7 +4564,12 @@ var SetEditValidationResultAction;
4443
4564
  }
4444
4565
  SetEditValidationResultAction.is = is;
4445
4566
  function create(status, options = {}) {
4446
- return Object.assign({ kind: SetEditValidationResultAction.KIND, responseId: '', status }, options);
4567
+ return {
4568
+ kind: SetEditValidationResultAction.KIND,
4569
+ responseId: '',
4570
+ status,
4571
+ ...options
4572
+ };
4447
4573
  }
4448
4574
  SetEditValidationResultAction.create = create;
4449
4575
  })(SetEditValidationResultAction || (exports.SetEditValidationResultAction = SetEditValidationResultAction = {}));
@@ -4455,7 +4581,11 @@ var ApplyLabelEditOperation;
4455
4581
  }
4456
4582
  ApplyLabelEditOperation.is = is;
4457
4583
  function create(options) {
4458
- return Object.assign({ kind: ApplyLabelEditOperation.KIND, isOperation: true }, options);
4584
+ return {
4585
+ kind: ApplyLabelEditOperation.KIND,
4586
+ isOperation: true,
4587
+ ...options
4588
+ };
4459
4589
  }
4460
4590
  ApplyLabelEditOperation.create = create;
4461
4591
  })(ApplyLabelEditOperation || (exports.ApplyLabelEditOperation = ApplyLabelEditOperation = {}));
@@ -4553,7 +4683,11 @@ var RequestTypeHintsAction;
4553
4683
  }
4554
4684
  RequestTypeHintsAction.is = is;
4555
4685
  function create(options = {}) {
4556
- return Object.assign({ kind: RequestTypeHintsAction.KIND, requestId: '' }, options);
4686
+ return {
4687
+ kind: RequestTypeHintsAction.KIND,
4688
+ requestId: '',
4689
+ ...options
4690
+ };
4557
4691
  }
4558
4692
  RequestTypeHintsAction.create = create;
4559
4693
  })(RequestTypeHintsAction || (exports.RequestTypeHintsAction = RequestTypeHintsAction = {}));
@@ -4565,7 +4699,11 @@ var SetTypeHintsAction;
4565
4699
  }
4566
4700
  SetTypeHintsAction.is = is;
4567
4701
  function create(options) {
4568
- return Object.assign({ kind: SetTypeHintsAction.KIND, responseId: '' }, options);
4702
+ return {
4703
+ kind: SetTypeHintsAction.KIND,
4704
+ responseId: '',
4705
+ ...options
4706
+ };
4569
4707
  }
4570
4708
  SetTypeHintsAction.create = create;
4571
4709
  })(SetTypeHintsAction || (exports.SetTypeHintsAction = SetTypeHintsAction = {}));
@@ -4609,7 +4747,11 @@ var CheckEdgeResultAction;
4609
4747
  }
4610
4748
  CheckEdgeResultAction.is = is;
4611
4749
  function create(options) {
4612
- return Object.assign({ kind: CheckEdgeResultAction.KIND, responseId: '' }, options);
4750
+ return {
4751
+ kind: CheckEdgeResultAction.KIND,
4752
+ responseId: '',
4753
+ ...options
4754
+ };
4613
4755
  }
4614
4756
  CheckEdgeResultAction.create = create;
4615
4757
  })(CheckEdgeResultAction || (exports.CheckEdgeResultAction = CheckEdgeResultAction = {}));
@@ -4671,7 +4813,13 @@ var RequestMarkersAction;
4671
4813
  }
4672
4814
  RequestMarkersAction.is = is;
4673
4815
  function create(elementsIDs, options = {}) {
4674
- return Object.assign({ kind: RequestMarkersAction.KIND, requestId: '', elementsIDs, reason: MarkersReason.BATCH }, options);
4816
+ return {
4817
+ kind: RequestMarkersAction.KIND,
4818
+ requestId: '',
4819
+ elementsIDs,
4820
+ reason: MarkersReason.BATCH,
4821
+ ...options
4822
+ };
4675
4823
  }
4676
4824
  RequestMarkersAction.create = create;
4677
4825
  })(RequestMarkersAction || (exports.RequestMarkersAction = RequestMarkersAction = {}));
@@ -4683,7 +4831,13 @@ var SetMarkersAction;
4683
4831
  }
4684
4832
  SetMarkersAction.is = is;
4685
4833
  function create(markers, options = {}) {
4686
- return Object.assign({ kind: SetMarkersAction.KIND, responseId: '', markers, reason: MarkersReason.BATCH }, options);
4834
+ return {
4835
+ kind: SetMarkersAction.KIND,
4836
+ responseId: '',
4837
+ markers,
4838
+ reason: MarkersReason.BATCH,
4839
+ ...options
4840
+ };
4687
4841
  }
4688
4842
  SetMarkersAction.create = create;
4689
4843
  })(SetMarkersAction || (exports.SetMarkersAction = SetMarkersAction = {}));
@@ -4726,7 +4880,11 @@ var RequestModelAction;
4726
4880
  }
4727
4881
  RequestModelAction.is = is;
4728
4882
  function create(options = {}) {
4729
- return Object.assign({ kind: RequestModelAction.KIND, requestId: '' }, options);
4883
+ return {
4884
+ kind: RequestModelAction.KIND,
4885
+ requestId: '',
4886
+ ...options
4887
+ };
4730
4888
  }
4731
4889
  RequestModelAction.create = create;
4732
4890
  })(RequestModelAction || (exports.RequestModelAction = RequestModelAction = {}));
@@ -4738,7 +4896,12 @@ var SetModelAction;
4738
4896
  }
4739
4897
  SetModelAction.is = is;
4740
4898
  function create(newRoot, options = {}) {
4741
- return Object.assign({ kind: SetModelAction.KIND, responseId: '', newRoot }, options);
4899
+ return {
4900
+ kind: SetModelAction.KIND,
4901
+ responseId: '',
4902
+ newRoot,
4903
+ ...options
4904
+ };
4742
4905
  }
4743
4906
  SetModelAction.create = create;
4744
4907
  })(SetModelAction || (exports.SetModelAction = SetModelAction = {}));
@@ -4750,7 +4913,12 @@ var UpdateModelAction;
4750
4913
  }
4751
4914
  UpdateModelAction.is = is;
4752
4915
  function create(newRoot, options = {}) {
4753
- return Object.assign({ kind: UpdateModelAction.KIND, newRoot, animate: true }, options);
4916
+ return {
4917
+ kind: UpdateModelAction.KIND,
4918
+ newRoot,
4919
+ animate: true,
4920
+ ...options
4921
+ };
4754
4922
  }
4755
4923
  UpdateModelAction.create = create;
4756
4924
  })(UpdateModelAction || (exports.UpdateModelAction = UpdateModelAction = {}));
@@ -4847,7 +5015,12 @@ var RequestBoundsAction;
4847
5015
  }
4848
5016
  RequestBoundsAction.is = is;
4849
5017
  function create(newRoot, options = {}) {
4850
- return Object.assign({ kind: RequestBoundsAction.KIND, requestId: '', newRoot }, options);
5018
+ return {
5019
+ kind: RequestBoundsAction.KIND,
5020
+ requestId: '',
5021
+ newRoot,
5022
+ ...options
5023
+ };
4851
5024
  }
4852
5025
  RequestBoundsAction.create = create;
4853
5026
  })(RequestBoundsAction || (exports.RequestBoundsAction = RequestBoundsAction = {}));
@@ -4859,7 +5032,12 @@ var ComputedBoundsAction;
4859
5032
  }
4860
5033
  ComputedBoundsAction.is = is;
4861
5034
  function create(bounds, options = {}) {
4862
- return Object.assign({ kind: ComputedBoundsAction.KIND, responseId: '', bounds }, options);
5035
+ return {
5036
+ kind: ComputedBoundsAction.KIND,
5037
+ responseId: '',
5038
+ bounds,
5039
+ ...options
5040
+ };
4863
5041
  }
4864
5042
  ComputedBoundsAction.create = create;
4865
5043
  })(ComputedBoundsAction || (exports.ComputedBoundsAction = ComputedBoundsAction = {}));
@@ -4871,7 +5049,12 @@ var LayoutOperation;
4871
5049
  }
4872
5050
  LayoutOperation.is = is;
4873
5051
  function create(elementIds, options = {}) {
4874
- return Object.assign({ kind: LayoutOperation.KIND, isOperation: true, elementIds }, options);
5052
+ return {
5053
+ kind: LayoutOperation.KIND,
5054
+ isOperation: true,
5055
+ elementIds,
5056
+ ...options
5057
+ };
4875
5058
  }
4876
5059
  LayoutOperation.create = create;
4877
5060
  })(LayoutOperation || (exports.LayoutOperation = LayoutOperation = {}));
@@ -4914,7 +5097,10 @@ var SaveModelAction;
4914
5097
  }
4915
5098
  SaveModelAction.is = is;
4916
5099
  function create(options = {}) {
4917
- return Object.assign({ kind: SaveModelAction.KIND }, options);
5100
+ return {
5101
+ kind: SaveModelAction.KIND,
5102
+ ...options
5103
+ };
4918
5104
  }
4919
5105
  SaveModelAction.create = create;
4920
5106
  })(SaveModelAction || (exports.SaveModelAction = SaveModelAction = {}));
@@ -4926,7 +5112,11 @@ var SetDirtyStateAction;
4926
5112
  }
4927
5113
  SetDirtyStateAction.is = is;
4928
5114
  function create(isDirty, options = {}) {
4929
- return Object.assign({ kind: SetDirtyStateAction.KIND, isDirty }, options);
5115
+ return {
5116
+ kind: SetDirtyStateAction.KIND,
5117
+ isDirty,
5118
+ ...options
5119
+ };
4930
5120
  }
4931
5121
  SetDirtyStateAction.create = create;
4932
5122
  })(SetDirtyStateAction || (exports.SetDirtyStateAction = SetDirtyStateAction = {}));
@@ -4938,7 +5128,11 @@ var RequestExportSvgAction;
4938
5128
  }
4939
5129
  RequestExportSvgAction.is = is;
4940
5130
  function create(options = {}) {
4941
- return Object.assign({ kind: RequestExportSvgAction.KIND, requestId: '' }, options);
5131
+ return {
5132
+ kind: RequestExportSvgAction.KIND,
5133
+ requestId: '',
5134
+ ...options
5135
+ };
4942
5136
  }
4943
5137
  RequestExportSvgAction.create = create;
4944
5138
  })(RequestExportSvgAction || (exports.RequestExportSvgAction = RequestExportSvgAction = {}));
@@ -4950,7 +5144,12 @@ var ExportSvgAction;
4950
5144
  }
4951
5145
  ExportSvgAction.is = is;
4952
5146
  function create(svg, options = {}) {
4953
- return Object.assign({ kind: ExportSvgAction.KIND, svg, responseId: '' }, options);
5147
+ return {
5148
+ kind: ExportSvgAction.KIND,
5149
+ svg,
5150
+ responseId: '',
5151
+ ...options
5152
+ };
4954
5153
  }
4955
5154
  ExportSvgAction.create = create;
4956
5155
  })(ExportSvgAction || (exports.ExportSvgAction = ExportSvgAction = {}));
@@ -5009,7 +5208,11 @@ var ChangeContainerOperation;
5009
5208
  }
5010
5209
  ChangeContainerOperation.is = is;
5011
5210
  function create(options) {
5012
- return Object.assign({ kind: ChangeContainerOperation.KIND, isOperation: true }, options);
5211
+ return {
5212
+ kind: ChangeContainerOperation.KIND,
5213
+ isOperation: true,
5214
+ ...options
5215
+ };
5013
5216
  }
5014
5217
  ChangeContainerOperation.create = create;
5015
5218
  })(ChangeContainerOperation || (exports.ChangeContainerOperation = ChangeContainerOperation = {}));
@@ -5052,7 +5255,11 @@ var TriggerNodeCreationAction;
5052
5255
  }
5053
5256
  TriggerNodeCreationAction.is = is;
5054
5257
  function create(elementTypeId, options) {
5055
- return Object.assign({ kind: TriggerNodeCreationAction.KIND, elementTypeId }, options);
5258
+ return {
5259
+ kind: TriggerNodeCreationAction.KIND,
5260
+ elementTypeId,
5261
+ ...options
5262
+ };
5056
5263
  }
5057
5264
  TriggerNodeCreationAction.create = create;
5058
5265
  })(TriggerNodeCreationAction || (exports.TriggerNodeCreationAction = TriggerNodeCreationAction = {}));
@@ -5064,7 +5271,11 @@ var TriggerEdgeCreationAction;
5064
5271
  }
5065
5272
  TriggerEdgeCreationAction.is = is;
5066
5273
  function create(elementTypeId, options = {}) {
5067
- return Object.assign({ kind: TriggerEdgeCreationAction.KIND, elementTypeId }, options);
5274
+ return {
5275
+ kind: TriggerEdgeCreationAction.KIND,
5276
+ elementTypeId,
5277
+ ...options
5278
+ };
5068
5279
  }
5069
5280
  TriggerEdgeCreationAction.create = create;
5070
5281
  })(TriggerEdgeCreationAction || (exports.TriggerEdgeCreationAction = TriggerEdgeCreationAction = {}));
@@ -5218,7 +5429,13 @@ var CenterAction;
5218
5429
  }
5219
5430
  CenterAction.is = is;
5220
5431
  function create(elementIds, options = {}) {
5221
- return Object.assign({ kind: CenterAction.KIND, animate: true, retainZoom: false, elementIds }, options);
5432
+ return {
5433
+ kind: CenterAction.KIND,
5434
+ animate: true,
5435
+ retainZoom: false,
5436
+ elementIds,
5437
+ ...options
5438
+ };
5222
5439
  }
5223
5440
  CenterAction.create = create;
5224
5441
  })(CenterAction || (exports.CenterAction = CenterAction = {}));
@@ -5230,7 +5447,12 @@ var FitToScreenAction;
5230
5447
  }
5231
5448
  FitToScreenAction.is = is;
5232
5449
  function create(elementIds, options = {}) {
5233
- return Object.assign({ kind: FitToScreenAction.KIND, animate: true, elementIds }, options);
5450
+ return {
5451
+ kind: FitToScreenAction.KIND,
5452
+ animate: true,
5453
+ elementIds,
5454
+ ...options
5455
+ };
5234
5456
  }
5235
5457
  FitToScreenAction.create = create;
5236
5458
  })(FitToScreenAction || (exports.FitToScreenAction = FitToScreenAction = {}));
@@ -5977,7 +6199,7 @@ exports.listen = listen;
5977
6199
  Object.defineProperty(exports, "__esModule", ({ value: true }));
5978
6200
  exports.GLSPWebWorkerProvider = void 0;
5979
6201
  /********************************************************************************
5980
- * Copyright (c) 2023 EclipseSource and others.
6202
+ * Copyright (c) 2023-2024 EclipseSource and others.
5981
6203
  *
5982
6204
  * This program and the accompanying materials are made available under the
5983
6205
  * terms of the Eclipse Public License v. 2.0 which is available at
@@ -6776,7 +6998,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
6776
6998
  Object.defineProperty(exports, "__esModule", ({ value: true }));
6777
6999
  exports.getSubType = exports.getBasicType = exports.findElement = exports.cloneModel = exports.applyBounds = exports.isZoomable = exports.isScrollable = void 0;
6778
7000
  /********************************************************************************
6779
- * Copyright (c) 2023 EclipseSource and others.
7001
+ * Copyright (c) 2023-2024 EclipseSource and others.
6780
7002
  *
6781
7003
  * This program and the accompanying materials are made available under the
6782
7004
  * terms of the Eclipse Public License v. 2.0 which is available at
@@ -6949,11 +7171,19 @@ geometry_1.Bounds.isBelow = (leftBounds, rightBounds) => geometry_1.Bounds.top(l
6949
7171
  geometry_1.Bounds.isBefore = (leftBounds, rightBounds) => geometry_1.Bounds.left(leftBounds) < geometry_1.Bounds.left(rightBounds);
6950
7172
  geometry_1.Bounds.isAfter = (leftBounds, rightBounds) => geometry_1.Bounds.left(leftBounds) >= geometry_1.Bounds.left(rightBounds);
6951
7173
  geometry_1.Bounds.sortBy = (rankFunc, ...bounds) => bounds.sort((left, right) => rankFunc(left) - rankFunc(right));
6952
- geometry_1.Bounds.from = (topLeft, bottomRight) => (Object.assign(Object.assign({}, topLeft), { width: bottomRight.x - topLeft.x, height: bottomRight.y - topLeft.y }));
7174
+ geometry_1.Bounds.from = (topLeft, bottomRight) => ({
7175
+ ...topLeft,
7176
+ width: bottomRight.x - topLeft.x,
7177
+ height: bottomRight.y - topLeft.y
7178
+ });
6953
7179
  geometry_1.Bounds.position = geometry_1.Bounds.topLeft;
6954
7180
  geometry_1.Bounds.dimension = (bounds) => ({ width: bounds.width, height: bounds.height });
6955
7181
  geometry_1.Bounds.move = geometry_1.Bounds.translate;
6956
- geometry_1.Bounds.resize = (bounds, delta) => (Object.assign(Object.assign({}, bounds), { width: bounds.width + delta.width, height: bounds.height + delta.height }));
7182
+ geometry_1.Bounds.resize = (bounds, delta) => ({
7183
+ ...bounds,
7184
+ width: bounds.width + delta.width,
7185
+ height: bounds.height + delta.height
7186
+ });
6957
7187
 
6958
7188
 
6959
7189
  /***/ }),
@@ -6998,7 +7228,11 @@ geometry_1.Dimension.add = (d, a) => ({ width: d.width + a.width, height: d.heig
6998
7228
  geometry_1.Dimension.subtract = (d, a) => ({ width: d.width - a.width, height: d.height - a.height });
6999
7229
  geometry_1.Dimension.multiplyMeasure = (d, m) => ({ width: d.width * m, height: d.height * m });
7000
7230
  geometry_1.Dimension.divideMeasure = (d, m) => ({ width: d.width / m, height: d.height / m });
7001
- geometry_1.Dimension.map = (dimension, callbackfn) => (Object.assign(Object.assign({}, dimension), { width: callbackfn(dimension.width, 'width'), height: callbackfn(dimension.height, 'height') }));
7231
+ geometry_1.Dimension.map = (dimension, callbackfn) => ({
7232
+ ...dimension,
7233
+ width: callbackfn(dimension.width, 'width'),
7234
+ height: callbackfn(dimension.height, 'height')
7235
+ });
7002
7236
  geometry_1.Dimension.equals = (left, right, eps) => (0, math_util_1.equalUpTo)(left.width, right.width, eps) && (0, math_util_1.equalUpTo)(left.height, right.height, eps);
7003
7237
  geometry_1.Dimension.fromPoint = (point) => ({ width: point.x, height: point.y });
7004
7238
  geometry_1.Dimension.area = (dimension) => dimension.width * dimension.height;
@@ -7043,7 +7277,11 @@ geometry_1.Point.isValid = (point) => point !== undefined && !isNaN(point.x) &&
7043
7277
  geometry_1.Point.abs = (point) => geometry_1.Point.map(point, Math.abs);
7044
7278
  geometry_1.Point.divideScalar = (point, scalar) => geometry_1.Point.map(point, coordinate => coordinate / scalar);
7045
7279
  geometry_1.Point.multiplyScalar = (point, scalar) => geometry_1.Point.map(point, coordinate => coordinate * scalar);
7046
- geometry_1.Point.map = (point, callbackfn) => (Object.assign(Object.assign({}, point), { x: callbackfn(point.x, 'x'), y: callbackfn(point.y, 'y') }));
7280
+ geometry_1.Point.map = (point, callbackfn) => ({
7281
+ ...point,
7282
+ x: callbackfn(point.x, 'x'),
7283
+ y: callbackfn(point.y, 'y')
7284
+ });
7047
7285
  geometry_1.Point.snapToGrid = (point, grid, gridOrigin) => {
7048
7286
  if (gridOrigin) {
7049
7287
  // move point relative to grid origin and then restore after snapping
@@ -7080,7 +7318,7 @@ geometry_1.Point.equals = (one, other, eps) => (0, math_util_1.equalUpTo)(one.x,
7080
7318
  "use strict";
7081
7319
 
7082
7320
  /********************************************************************************
7083
- * Copyright (c) 2019-2023 EclipseSource and others.
7321
+ * Copyright (c) 2019-2024 EclipseSource and others.
7084
7322
  *
7085
7323
  * This program and the accompanying materials are made available under the
7086
7324
  * terms of the Eclipse Public License v. 2.0 which is available at
@@ -7611,7 +7849,11 @@ var Vector;
7611
7849
  * @returns the mapped vector
7612
7850
  */
7613
7851
  function map(vector, callbackfn) {
7614
- return Object.assign(Object.assign({}, vector), { x: callbackfn(vector.x, 'x'), y: callbackfn(vector.y, 'y') });
7852
+ return {
7853
+ ...vector,
7854
+ x: callbackfn(vector.x, 'x'),
7855
+ y: callbackfn(vector.y, 'y')
7856
+ };
7615
7857
  }
7616
7858
  Vector.map = map;
7617
7859
  /**
@@ -7797,7 +8039,7 @@ exports.equalUpTo = equalUpTo;
7797
8039
  "use strict";
7798
8040
 
7799
8041
  /********************************************************************************
7800
- * Copyright (c) 2021-2023 EclipseSource and others.
8042
+ * Copyright (c) 2021-2024 EclipseSource and others.
7801
8043
  *
7802
8044
  * This program and the accompanying materials are made available under the
7803
8045
  * terms of the Eclipse Public License v. 2.0 which is available at
@@ -7812,7 +8054,7 @@ exports.equalUpTo = equalUpTo;
7812
8054
  * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
7813
8055
  ********************************************************************************/
7814
8056
  Object.defineProperty(exports, "__esModule", ({ value: true }));
7815
- exports.hasArrayProp = exports.hasFunctionProp = exports.hasObjectProp = exports.hasNumberProp = exports.hasBooleanProp = exports.hasStringProp = exports.call = exports.toTypeGuard = exports.typeGuard = exports.AnyObject = void 0;
8057
+ exports.hasArrayProp = exports.hasFunctionProp = exports.hasObjectProp = exports.hasNumberProp = exports.hasBooleanProp = exports.hasStringProp = exports.call = exports.toTypeGuard = exports.typeGuardOr = exports.typeGuard = exports.AnyObject = void 0;
7816
8058
  var AnyObject;
7817
8059
  (function (AnyObject) {
7818
8060
  /**
@@ -7831,6 +8073,11 @@ function typeGuard(one, other) {
7831
8073
  return (element) => one(element) && other(element);
7832
8074
  }
7833
8075
  exports.typeGuard = typeGuard;
8076
+ /** Utility function to combine two type guards with an OR */
8077
+ function typeGuardOr(one, other) {
8078
+ return (element) => one(element) || other(element);
8079
+ }
8080
+ exports.typeGuardOr = typeGuardOr;
7834
8081
  /**
7835
8082
  * Utility function that create a typeguard function for a given class constructor.
7836
8083
  * Essentially this wraps an instance of check as typeguard function.
@@ -45369,7 +45616,7 @@ exports.GHtmlRootBuilder = GHtmlRootBuilder;
45369
45616
  Object.defineProperty(exports, "__esModule", ({ value: true }));
45370
45617
  exports.GIssueMarkerBuilder = exports.GIssueMarker = void 0;
45371
45618
  /********************************************************************************
45372
- * Copyright (c) 2022-2024 STMicroelectronics and others.
45619
+ * Copyright (c) 2022-2022 STMicroelectronics and others.
45373
45620
  *
45374
45621
  * This program and the accompanying materials are made available under the
45375
45622
  * terms of the Eclipse Public License v. 2.0 which is available at
@@ -45702,7 +45949,7 @@ class GModelRootBuilder extends GModelElementBuilder {
45702
45949
  canvasBounds(positionOrBounds, size) {
45703
45950
  let bounds;
45704
45951
  if (size) {
45705
- bounds = Object.assign(Object.assign({}, positionOrBounds), size);
45952
+ bounds = { ...positionOrBounds, ...size };
45706
45953
  }
45707
45954
  else {
45708
45955
  bounds = positionOrBounds;
@@ -46374,7 +46621,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
46374
46621
  Object.defineProperty(exports, "__esModule", ({ value: true }));
46375
46622
  exports.GlspElkLayoutEngine = exports.ElkFactory = void 0;
46376
46623
  /********************************************************************************
46377
- * Copyright (c) 2018-2023 TypeFox and others.
46624
+ * Copyright (c) 2018-2024 TypeFox and others.
46378
46625
  * This program and the accompanying materials are made available under the
46379
46626
  * terms of the Eclipse Public License v. 2.0 which is available at
46380
46627
  * http://www.eclipse.org/legal/epl-2.0.
@@ -46434,7 +46681,7 @@ let GlspElkLayoutEngine = class GlspElkLayoutEngine {
46434
46681
  return this.transformEdge(model);
46435
46682
  }
46436
46683
  else if (model instanceof server_1.GLabel) {
46437
- return this.transformPort(model);
46684
+ return this.transformLabel(model);
46438
46685
  }
46439
46686
  else if (model instanceof server_1.GPort) {
46440
46687
  return this.transformPort(model);
@@ -46809,7 +47056,10 @@ exports.AbstractLayoutConfigurator = AbstractLayoutConfigurator = __decorate([
46809
47056
  let FallbackLayoutConfigurator = class FallbackLayoutConfigurator extends AbstractLayoutConfigurator {
46810
47057
  constructor(algorithms, defaultLayoutOptions = {}) {
46811
47058
  super();
46812
- this.fallbackGraphOptions = Object.assign({ 'elk.algorithm': algorithms[0] }, defaultLayoutOptions);
47059
+ this.fallbackGraphOptions = {
47060
+ 'elk.algorithm': algorithms[0],
47061
+ ...defaultLayoutOptions
47062
+ };
46813
47063
  }
46814
47064
  graphOptions(sgraph) {
46815
47065
  return this.fallbackGraphOptions;
@@ -46857,7 +47107,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
46857
47107
  Object.defineProperty(exports, "__esModule", ({ value: true }));
46858
47108
  exports.respond = exports.DefaultActionDispatcher = exports.ActionDispatcher = void 0;
46859
47109
  /********************************************************************************
46860
- * Copyright (c) 2022-2024 STMicroelectronics and others.
47110
+ * Copyright (c) 2022-2023 STMicroelectronics and others.
46861
47111
  *
46862
47112
  * This program and the accompanying materials are made available under the
46863
47113
  * terms of the Eclipse Public License v. 2.0 which is available at
@@ -47737,7 +47987,12 @@ var NoOPSyntax;
47737
47987
  'Constant value bindings are effectively Singleton bindings.');
47738
47988
  return syntax;
47739
47989
  };
47740
- return Object.assign(Object.assign({}, syntax), { inSingletonScope: () => noOpReturn('Singleton'), inRequestScope: () => noOpReturn('Request'), inTransientScope: () => noOpReturn('Transient') });
47990
+ return {
47991
+ ...syntax,
47992
+ inSingletonScope: () => noOpReturn('Singleton'),
47993
+ inRequestScope: () => noOpReturn('Request'),
47994
+ inTransientScope: () => noOpReturn('Transient')
47995
+ };
47741
47996
  }
47742
47997
  NoOPSyntax.constantValueSyntax = constantValueSyntax;
47743
47998
  function serviceSyntax(serviceIdentifier, target) {
@@ -49983,7 +50238,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
49983
50238
  Object.defineProperty(exports, "__esModule", ({ value: true }));
49984
50239
  exports.RequestModelActionHandler = void 0;
49985
50240
  /********************************************************************************
49986
- * Copyright (c) 2022-2024 STMicroelectronics and others.
50241
+ * Copyright (c) 2022-2023 STMicroelectronics and others.
49987
50242
  *
49988
50243
  * This program and the accompanying materials are made available under the
49989
50244
  * terms of the Eclipse Public License v. 2.0 which is available at
@@ -50673,7 +50928,7 @@ exports.ProgressService = Symbol('ProgressService');
50673
50928
  let DefaultProgressService = class DefaultProgressService {
50674
50929
  start(title, options) {
50675
50930
  const progressId = uuid.v4();
50676
- this.actionDispatcher.dispatch(protocol_1.StartProgressAction.create(Object.assign({ progressId, title }, options)));
50931
+ this.actionDispatcher.dispatch(protocol_1.StartProgressAction.create({ progressId, title, ...options }));
50677
50932
  return {
50678
50933
  update: updateOptions => this.actionDispatcher.dispatch(protocol_1.UpdateProgressAction.create(progressId, updateOptions)),
50679
50934
  end: () => this.actionDispatcher.dispatch(protocol_1.EndProgressAction.create(progressId))
@@ -52316,13 +52571,6 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
52316
52571
  var __metadata = (this && this.__metadata) || function (k, v) {
52317
52572
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
52318
52573
  };
52319
- var __asyncValues = (this && this.__asyncValues) || function (o) {
52320
- if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
52321
- var m = o[Symbol.asyncIterator], i;
52322
- return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
52323
- function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
52324
- function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
52325
- };
52326
52574
  Object.defineProperty(exports, "__esModule", ({ value: true }));
52327
52575
  exports.CompoundOperationHandler = void 0;
52328
52576
  /********************************************************************************
@@ -52356,26 +52604,13 @@ let CompoundOperationHandler = class CompoundOperationHandler extends operation_
52356
52604
  this.operationType = protocol_1.CompoundOperation.KIND;
52357
52605
  }
52358
52606
  async createCommand(operation) {
52359
- var _a, e_1, _b, _c;
52360
52607
  const maybeCommands = operation.operationList.map(op => { var _a; return (_a = this.operationHandlerRegistry.getOperationHandler(op)) === null || _a === void 0 ? void 0 : _a.execute(op); });
52361
52608
  const commands = [];
52362
- try {
52363
- for (var _d = true, maybeCommands_1 = __asyncValues(maybeCommands), maybeCommands_1_1; maybeCommands_1_1 = await maybeCommands_1.next(), _a = maybeCommands_1_1.done, !_a; _d = true) {
52364
- _c = maybeCommands_1_1.value;
52365
- _d = false;
52366
- const command = _c;
52367
- if (command) {
52368
- commands.push(command);
52369
- }
52609
+ for await (const command of maybeCommands) {
52610
+ if (command) {
52611
+ commands.push(command);
52370
52612
  }
52371
52613
  }
52372
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
52373
- finally {
52374
- try {
52375
- if (!_d && !_a && (_b = maybeCommands_1.return)) await _b.call(maybeCommands_1);
52376
- }
52377
- finally { if (e_1) throw e_1.error; }
52378
- }
52379
52614
  return new command_1.CompoundCommand(commands);
52380
52615
  }
52381
52616
  };
@@ -54662,7 +54897,7 @@ function createCliParser(options = exports.defaultLaunchOptions) {
54662
54897
  exports.createCliParser = createCliParser;
54663
54898
  function parse(command, defaultOptions, argv) {
54664
54899
  command.parse(argv);
54665
- return Object.assign(Object.assign({}, defaultOptions), command.opts());
54900
+ return { ...defaultOptions, ...command.opts() };
54666
54901
  }
54667
54902
  exports.parse = parse;
54668
54903
  function processLogLevel(value) {
@@ -54721,7 +54956,11 @@ exports.processPort = exports.createSocketCliParser = exports.defaultSocketLaunc
54721
54956
  ********************************************************************************/
54722
54957
  const cmd = __webpack_require__(/*! commander */ "../../packages/server/node_modules/commander/index.js");
54723
54958
  const cli_parser_1 = __webpack_require__(/*! ./cli-parser */ "../../packages/server/lib/node/launch/cli-parser.js");
54724
- exports.defaultSocketLaunchOptions = Object.assign(Object.assign({}, cli_parser_1.defaultLaunchOptions), { port: 0, host: '127.0.0.1' });
54959
+ exports.defaultSocketLaunchOptions = {
54960
+ ...cli_parser_1.defaultLaunchOptions,
54961
+ port: 0,
54962
+ host: '127.0.0.1'
54963
+ };
54725
54964
  function createSocketCliParser(defaultOptions = exports.defaultSocketLaunchOptions) {
54726
54965
  const parser = (0, cli_parser_1.createCliParser)(defaultOptions);
54727
54966
  parser.command
@@ -54912,7 +55151,7 @@ let WebSocketServerLauncher = class WebSocketServerLauncher extends jsonrpc_serv
54912
55151
  const port = !options.port || options.port === 0 ? await getFreePort() : options.port;
54913
55152
  const path = options.path.startsWith('/') ? options.path : `/${options.path}`;
54914
55153
  const server = this.createHttpServer(port, options.host);
54915
- return Object.assign(Object.assign({}, options), { port, path, server });
55154
+ return { ...options, port, path, server };
54916
55155
  }
54917
55156
  createHttpServer(port, host) {
54918
55157
  const server = http.createServer((req, res) => {