@eclipse-glsp-examples/workflow-server-bundled 2.5.0-next.126 → 2.5.0
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 +114 -127
- package/wf-glsp-server-node.js.map +1 -1
package/wf-glsp-server-node.js
CHANGED
|
@@ -1904,7 +1904,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
1904
1904
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1905
1905
|
};
|
|
1906
1906
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
1907
|
-
exports.
|
|
1907
|
+
exports.WorkflowDiagramConfiguration = void 0;
|
|
1908
|
+
exports.createDefaultShapeTypeHint = createDefaultShapeTypeHint;
|
|
1909
|
+
exports.createDefaultEdgeTypeHint = createDefaultEdgeTypeHint;
|
|
1908
1910
|
/********************************************************************************
|
|
1909
1911
|
* Copyright (c) 2022-2024 STMicroelectronics and others.
|
|
1910
1912
|
*
|
|
@@ -1979,7 +1981,6 @@ function createDefaultShapeTypeHint(elementIdOrTemplate) {
|
|
|
1979
1981
|
const template = typeof elementIdOrTemplate === 'string' ? { elementTypeId: elementIdOrTemplate } : elementIdOrTemplate;
|
|
1980
1982
|
return { repositionable: true, deletable: true, resizable: true, reparentable: true, ...template };
|
|
1981
1983
|
}
|
|
1982
|
-
exports.createDefaultShapeTypeHint = createDefaultShapeTypeHint;
|
|
1983
1984
|
function createDefaultEdgeTypeHint(elementIdOrTemplate) {
|
|
1984
1985
|
const template = typeof elementIdOrTemplate === 'string' ? { elementTypeId: elementIdOrTemplate } : elementIdOrTemplate;
|
|
1985
1986
|
return {
|
|
@@ -2007,7 +2008,6 @@ function createDefaultEdgeTypeHint(elementIdOrTemplate) {
|
|
|
2007
2008
|
...template
|
|
2008
2009
|
};
|
|
2009
2010
|
}
|
|
2010
|
-
exports.createDefaultEdgeTypeHint = createDefaultEdgeTypeHint;
|
|
2011
2011
|
|
|
2012
2012
|
|
|
2013
2013
|
/***/ }),
|
|
@@ -2398,14 +2398,13 @@ launch(process.argv).catch(error => console.error('Error in workflow server laun
|
|
|
2398
2398
|
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
2399
2399
|
********************************************************************************/
|
|
2400
2400
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
2401
|
-
exports.createWorkflowCliParser =
|
|
2401
|
+
exports.createWorkflowCliParser = createWorkflowCliParser;
|
|
2402
2402
|
const node_1 = __webpack_require__(/*! @eclipse-glsp/server/node */ "../../packages/server/node.js");
|
|
2403
2403
|
function createWorkflowCliParser(defaultOptions = { webSocket: false, ...node_1.defaultSocketLaunchOptions }) {
|
|
2404
2404
|
const parser = (0, node_1.createSocketCliParser)(defaultOptions);
|
|
2405
2405
|
parser.command.option('-w , --webSocket', 'Flag to use websocket launcher instead of default launcher', false);
|
|
2406
2406
|
return parser;
|
|
2407
2407
|
}
|
|
2408
|
-
exports.createWorkflowCliParser = createWorkflowCliParser;
|
|
2409
2408
|
|
|
2410
2409
|
|
|
2411
2410
|
/***/ }),
|
|
@@ -4788,7 +4787,7 @@ var CheckEdgeResultAction;
|
|
|
4788
4787
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
4789
4788
|
exports.DeleteMarkersAction = exports.SetMarkersAction = exports.RequestMarkersAction = exports.MarkersReason = exports.MarkerKind = void 0;
|
|
4790
4789
|
/********************************************************************************
|
|
4791
|
-
* Copyright (c) 2021-
|
|
4790
|
+
* Copyright (c) 2021-2025 STMicroelectronics and others.
|
|
4792
4791
|
*
|
|
4793
4792
|
* This program and the accompanying materials are made available under the
|
|
4794
4793
|
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
@@ -4966,7 +4965,7 @@ var SourceModelChangedAction;
|
|
|
4966
4965
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
4967
4966
|
exports.EditMode = exports.SetEditModeAction = void 0;
|
|
4968
4967
|
/********************************************************************************
|
|
4969
|
-
* Copyright (c) 2020-
|
|
4968
|
+
* Copyright (c) 2020-2025 EclipseSource and others.
|
|
4970
4969
|
*
|
|
4971
4970
|
* This program and the accompanying materials are made available under the
|
|
4972
4971
|
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
@@ -5491,7 +5490,7 @@ var MoveViewportAction;
|
|
|
5491
5490
|
"use strict";
|
|
5492
5491
|
|
|
5493
5492
|
/********************************************************************************
|
|
5494
|
-
* Copyright (c) 2023 EclipseSource and others.
|
|
5493
|
+
* Copyright (c) 2023-2024 EclipseSource and others.
|
|
5495
5494
|
*
|
|
5496
5495
|
* This program and the accompanying materials are made available under the
|
|
5497
5496
|
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
@@ -6076,7 +6075,7 @@ var JsonrpcGLSPClient;
|
|
|
6076
6075
|
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
6077
6076
|
********************************************************************************/
|
|
6078
6077
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
6079
|
-
exports.configureClientConnection =
|
|
6078
|
+
exports.configureClientConnection = configureClientConnection;
|
|
6080
6079
|
const glsp_jsonrpc_client_1 = __webpack_require__(/*! ./glsp-jsonrpc-client */ "../../node_modules/@eclipse-glsp/protocol/lib/client-server-protocol/jsonrpc/glsp-jsonrpc-client.js");
|
|
6081
6080
|
/**
|
|
6082
6081
|
* Configure the given client connection to forward the requests and notifications to the given {@link GLSPServer} instance.
|
|
@@ -6090,7 +6089,6 @@ function configureClientConnection(clientConnection, glspServer) {
|
|
|
6090
6089
|
clientConnection.onNotification(glsp_jsonrpc_client_1.JsonrpcGLSPClient.ActionMessageNotification, message => glspServer.process(message));
|
|
6091
6090
|
clientConnection.listen();
|
|
6092
6091
|
}
|
|
6093
|
-
exports.configureClientConnection = configureClientConnection;
|
|
6094
6092
|
|
|
6095
6093
|
|
|
6096
6094
|
/***/ }),
|
|
@@ -6119,7 +6117,10 @@ exports.configureClientConnection = configureClientConnection;
|
|
|
6119
6117
|
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
6120
6118
|
********************************************************************************/
|
|
6121
6119
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
6122
|
-
exports.
|
|
6120
|
+
exports.WebSocketMessageWriter = exports.WebSocketMessageReader = void 0;
|
|
6121
|
+
exports.wrap = wrap;
|
|
6122
|
+
exports.createWebSocketConnection = createWebSocketConnection;
|
|
6123
|
+
exports.listen = listen;
|
|
6123
6124
|
// based on https://github.com/TypeFox/monaco-languageclient/blob/vwj-2.0.1/packages/vscode-ws-jsonrpc/src/socket/reader.ts
|
|
6124
6125
|
/* --------------------------------------------------------------------------------------------
|
|
6125
6126
|
* Copyright (c) 2018-2022 TypeFox GmbH (http://www.typefox.io). All rights reserved.
|
|
@@ -6143,7 +6144,6 @@ function wrap(socket) {
|
|
|
6143
6144
|
dispose: () => socket.close()
|
|
6144
6145
|
};
|
|
6145
6146
|
}
|
|
6146
|
-
exports.wrap = wrap;
|
|
6147
6147
|
/**
|
|
6148
6148
|
* A `vscode-jsonrpc` {@link MessageReader} that reads messages from an underlying {@link WebSocketWrapper}.
|
|
6149
6149
|
*/
|
|
@@ -6239,7 +6239,6 @@ function createWebSocketConnection(socket, logger) {
|
|
|
6239
6239
|
const writer = new WebSocketMessageWriter(socket);
|
|
6240
6240
|
return (0, vscode_jsonrpc_1.createMessageConnection)(reader, writer, logger);
|
|
6241
6241
|
}
|
|
6242
|
-
exports.createWebSocketConnection = createWebSocketConnection;
|
|
6243
6242
|
/**
|
|
6244
6243
|
* Creates a new {@link MessageConnection} on top of the given websocket on open.
|
|
6245
6244
|
* @param webSocket The target webSocket
|
|
@@ -6257,7 +6256,6 @@ function listen(webSocket, onConnection, logger) {
|
|
|
6257
6256
|
};
|
|
6258
6257
|
});
|
|
6259
6258
|
}
|
|
6260
|
-
exports.listen = listen;
|
|
6261
6259
|
|
|
6262
6260
|
|
|
6263
6261
|
/***/ }),
|
|
@@ -6456,7 +6454,8 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
6456
6454
|
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
6457
6455
|
********************************************************************************/
|
|
6458
6456
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
6459
|
-
exports.
|
|
6457
|
+
exports.initializeContainer = initializeContainer;
|
|
6458
|
+
exports.resolveContainerConfiguration = resolveContainerConfiguration;
|
|
6460
6459
|
const array_util_1 = __webpack_require__(/*! ../utils/array-util */ "../../node_modules/@eclipse-glsp/protocol/lib/utils/array-util.js");
|
|
6461
6460
|
const type_util_1 = __webpack_require__(/*! ../utils/type-util */ "../../node_modules/@eclipse-glsp/protocol/lib/utils/type-util.js");
|
|
6462
6461
|
const feature_module_1 = __webpack_require__(/*! ./feature-module */ "../../node_modules/@eclipse-glsp/protocol/lib/di/feature-module.js");
|
|
@@ -6474,7 +6473,6 @@ function initializeContainer(container, ...containerConfigurations) {
|
|
|
6474
6473
|
container.load(...modules);
|
|
6475
6474
|
return container;
|
|
6476
6475
|
}
|
|
6477
|
-
exports.initializeContainer = initializeContainer;
|
|
6478
6476
|
/**
|
|
6479
6477
|
* Processes the given container configurations and returns the corresponding set of {@link ContainerModule}s.
|
|
6480
6478
|
* Container configurations are processed in the order they are passed. If a module is configured to be removed
|
|
@@ -6531,7 +6529,6 @@ function resolveContainerConfiguration(...containerConfigurations) {
|
|
|
6531
6529
|
}
|
|
6532
6530
|
return modules;
|
|
6533
6531
|
}
|
|
6534
|
-
exports.resolveContainerConfiguration = resolveContainerConfiguration;
|
|
6535
6532
|
/**
|
|
6536
6533
|
* The container modules might originate form different inversify contexts (e.g. `inversify` vs. `@theia/core/shared/inversify`).
|
|
6537
6534
|
* If this is the case an instanceof check can return false negative.
|
|
@@ -6708,7 +6705,9 @@ __exportStar(__webpack_require__(/*! ./re-decorate */ "../../node_modules/@eclip
|
|
|
6708
6705
|
"use strict";
|
|
6709
6706
|
|
|
6710
6707
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
6711
|
-
exports.
|
|
6708
|
+
exports.bindOrRebind = bindOrRebind;
|
|
6709
|
+
exports.lazyBind = lazyBind;
|
|
6710
|
+
exports.bindAsService = bindAsService;
|
|
6712
6711
|
/**
|
|
6713
6712
|
* Checks wether the given service identifier is already bound in the given context
|
|
6714
6713
|
* then either calls the `bind` or `rebind` function respectively.
|
|
@@ -6735,7 +6734,6 @@ function bindOrRebind(context, serviceIdentifier) {
|
|
|
6735
6734
|
}
|
|
6736
6735
|
return context.bind(serviceIdentifier);
|
|
6737
6736
|
}
|
|
6738
|
-
exports.bindOrRebind = bindOrRebind;
|
|
6739
6737
|
/**
|
|
6740
6738
|
* Only binds the given service identifier if it's not already bound in the given context.
|
|
6741
6739
|
*
|
|
@@ -6759,7 +6757,6 @@ function lazyBind(context, serviceIdentifier) {
|
|
|
6759
6757
|
}
|
|
6760
6758
|
return context.bind(serviceIdentifier);
|
|
6761
6759
|
}
|
|
6762
|
-
exports.lazyBind = lazyBind;
|
|
6763
6760
|
/**
|
|
6764
6761
|
* Binds the given service identifier to the given target service in the given context.
|
|
6765
6762
|
* In addition, the target service is bound to itself in singleton scope. This ensures
|
|
@@ -6782,7 +6779,6 @@ function bindAsService(context, serviceIdentifier, targetService) {
|
|
|
6782
6779
|
bind(targetService).toSelf().inSingletonScope();
|
|
6783
6780
|
bind(serviceIdentifier).toService(targetService);
|
|
6784
6781
|
}
|
|
6785
|
-
exports.bindAsService = bindAsService;
|
|
6786
6782
|
|
|
6787
6783
|
|
|
6788
6784
|
/***/ }),
|
|
@@ -6811,7 +6807,8 @@ exports.bindAsService = bindAsService;
|
|
|
6811
6807
|
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
6812
6808
|
********************************************************************************/
|
|
6813
6809
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
6814
|
-
exports.
|
|
6810
|
+
exports.DefaultLazyInjector = exports.LazyInjector = void 0;
|
|
6811
|
+
exports.bindLazyInjector = bindLazyInjector;
|
|
6815
6812
|
const inversify_1 = __webpack_require__(/*! inversify */ "../../node_modules/inversify/lib/cjs/index.js");
|
|
6816
6813
|
exports.LazyInjector = Symbol('LazyInjector');
|
|
6817
6814
|
/**
|
|
@@ -6852,7 +6849,6 @@ function bindLazyInjector(context) {
|
|
|
6852
6849
|
const bind = typeof context === 'object' ? context.bind.bind(context) : context;
|
|
6853
6850
|
bind(exports.LazyInjector).toDynamicValue(ctx => new DefaultLazyInjector(ctx.container));
|
|
6854
6851
|
}
|
|
6855
|
-
exports.bindLazyInjector = bindLazyInjector;
|
|
6856
6852
|
|
|
6857
6853
|
|
|
6858
6854
|
/***/ }),
|
|
@@ -6914,7 +6910,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
6914
6910
|
};
|
|
6915
6911
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
6916
6912
|
/********************************************************************************
|
|
6917
|
-
* Copyright (c) 2024 EclipseSource and others.
|
|
6913
|
+
* Copyright (c) 2024-2025 EclipseSource and others.
|
|
6918
6914
|
*
|
|
6919
6915
|
* This program and the accompanying materials are made available under the
|
|
6920
6916
|
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
@@ -7048,7 +7044,7 @@ var DefaultTypes;
|
|
|
7048
7044
|
"use strict";
|
|
7049
7045
|
|
|
7050
7046
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
7051
|
-
exports.isGModelElementSchema =
|
|
7047
|
+
exports.isGModelElementSchema = isGModelElementSchema;
|
|
7052
7048
|
const type_util_1 = __webpack_require__(/*! ../utils/type-util */ "../../node_modules/@eclipse-glsp/protocol/lib/utils/type-util.js");
|
|
7053
7049
|
/** Serializable representation of GModel elements. This is the transfer format
|
|
7054
7050
|
* used to exchange model information between client and server. Both the client and
|
|
@@ -7060,7 +7056,6 @@ const type_util_1 = __webpack_require__(/*! ../utils/type-util */ "../../node_mo
|
|
|
7060
7056
|
function isGModelElementSchema(object) {
|
|
7061
7057
|
return typeof object === 'object' && (0, type_util_1.hasStringProp)(object, 'type') && (0, type_util_1.hasStringProp)(object, 'id');
|
|
7062
7058
|
}
|
|
7063
|
-
exports.isGModelElementSchema = isGModelElementSchema;
|
|
7064
7059
|
|
|
7065
7060
|
|
|
7066
7061
|
/***/ }),
|
|
@@ -7425,21 +7420,32 @@ geometry_1.Point.equals = (one, other, eps) => (0, math_util_1.equalUpTo)(one.x,
|
|
|
7425
7420
|
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
7426
7421
|
********************************************************************************/
|
|
7427
7422
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
7428
|
-
exports.
|
|
7423
|
+
exports.first = first;
|
|
7424
|
+
exports.last = last;
|
|
7425
|
+
exports.pluck = pluck;
|
|
7426
|
+
exports.remove = remove;
|
|
7427
|
+
exports.flatPush = flatPush;
|
|
7428
|
+
exports.asArray = asArray;
|
|
7429
|
+
exports.distinctAdd = distinctAdd;
|
|
7430
|
+
exports.isArrayOfType = isArrayOfType;
|
|
7431
|
+
exports.isArrayOfClass = isArrayOfClass;
|
|
7432
|
+
exports.isArrayOfPrimitive = isArrayOfPrimitive;
|
|
7433
|
+
exports.isStringArray = isStringArray;
|
|
7434
|
+
exports.isArrayMatching = isArrayMatching;
|
|
7435
|
+
exports.partition = partition;
|
|
7436
|
+
exports.arrayOf = arrayOf;
|
|
7429
7437
|
function first(array, n) {
|
|
7430
7438
|
if (n) {
|
|
7431
7439
|
return array.filter((_, index) => index < n);
|
|
7432
7440
|
}
|
|
7433
7441
|
return array[0];
|
|
7434
7442
|
}
|
|
7435
|
-
exports.first = first;
|
|
7436
7443
|
function last(array, n) {
|
|
7437
7444
|
if (n) {
|
|
7438
7445
|
return array.filter((_, index) => array.length - index <= n);
|
|
7439
7446
|
}
|
|
7440
7447
|
return array[array.length - 1];
|
|
7441
7448
|
}
|
|
7442
|
-
exports.last = last;
|
|
7443
7449
|
/**
|
|
7444
7450
|
* Plucks (i.e. extracts) the property value that corresponds to the given key from all objects of the array.
|
|
7445
7451
|
* @param array The array which should be plucked.
|
|
@@ -7449,7 +7455,6 @@ exports.last = last;
|
|
|
7449
7455
|
function pluck(array, key) {
|
|
7450
7456
|
return array.map(element => element[key]);
|
|
7451
7457
|
}
|
|
7452
|
-
exports.pluck = pluck;
|
|
7453
7458
|
/**
|
|
7454
7459
|
* Removes the given values from the given array (if present).
|
|
7455
7460
|
* @param array The array to execute the remove operation on.
|
|
@@ -7463,7 +7468,6 @@ function remove(array, ...values) {
|
|
|
7463
7468
|
}
|
|
7464
7469
|
});
|
|
7465
7470
|
}
|
|
7466
|
-
exports.remove = remove;
|
|
7467
7471
|
/**
|
|
7468
7472
|
* Push an array of values to the given array. The values can either be single objects of a concrete type `T`
|
|
7469
7473
|
* or can also be nested arrays of T. If nested arrays are passed the they will be destructured (i.e. flattened)
|
|
@@ -7474,7 +7478,6 @@ exports.remove = remove;
|
|
|
7474
7478
|
function flatPush(array, toPush) {
|
|
7475
7479
|
toPush.forEach(value => (Array.isArray(value) ? array.push(...value) : array.push(value)));
|
|
7476
7480
|
}
|
|
7477
|
-
exports.flatPush = flatPush;
|
|
7478
7481
|
/**
|
|
7479
7482
|
* Helper function to convert a {@link MaybeArray} into an array.
|
|
7480
7483
|
* @param maybe The MaybeArray to convert
|
|
@@ -7486,7 +7489,6 @@ function asArray(maybe) {
|
|
|
7486
7489
|
}
|
|
7487
7490
|
return [maybe];
|
|
7488
7491
|
}
|
|
7489
|
-
exports.asArray = asArray;
|
|
7490
7492
|
/**
|
|
7491
7493
|
* Adds the given values to the given array. The add operation is executed distinct meaning
|
|
7492
7494
|
* a value will not be pushed to the array if its already present in the array.
|
|
@@ -7500,7 +7502,6 @@ function distinctAdd(array, ...values) {
|
|
|
7500
7502
|
}
|
|
7501
7503
|
});
|
|
7502
7504
|
}
|
|
7503
|
-
exports.distinctAdd = distinctAdd;
|
|
7504
7505
|
/**
|
|
7505
7506
|
* A typeguard function to check wether a given object is an array of a specific type `T`. As it checks the type of each individual
|
|
7506
7507
|
* array element this guard check is expensive and should only be used in cases where complete type-safety is required.
|
|
@@ -7512,7 +7513,6 @@ exports.distinctAdd = distinctAdd;
|
|
|
7512
7513
|
function isArrayOfType(object, typeGuard, supportEmpty = false) {
|
|
7513
7514
|
return isArrayMatching(object, element => typeGuard(element), supportEmpty);
|
|
7514
7515
|
}
|
|
7515
|
-
exports.isArrayOfType = isArrayOfType;
|
|
7516
7516
|
/**
|
|
7517
7517
|
* A typeguard function to check wether a given object is an array of a class`T`. As it checks the wether each individual element
|
|
7518
7518
|
* is an instance of the given class this guard check is expensive and should only be used in cases where complete type-safety is required.
|
|
@@ -7524,7 +7524,6 @@ exports.isArrayOfType = isArrayOfType;
|
|
|
7524
7524
|
function isArrayOfClass(object, constructor, supportEmpty = false) {
|
|
7525
7525
|
return isArrayMatching(object, element => element instanceof constructor, supportEmpty);
|
|
7526
7526
|
}
|
|
7527
|
-
exports.isArrayOfClass = isArrayOfClass;
|
|
7528
7527
|
/**
|
|
7529
7528
|
* A typeguard function to check wether a given object is an array of a {@link PrimitiveType} `T. As it checks the type of each individual
|
|
7530
7529
|
* array element this guard check is expensive and should only be used in cases where complete type-safety is required.
|
|
@@ -7536,7 +7535,6 @@ exports.isArrayOfClass = isArrayOfClass;
|
|
|
7536
7535
|
function isArrayOfPrimitive(object, primitiveType, supportEmpty = false) {
|
|
7537
7536
|
return isArrayMatching(object, element => typeof element === primitiveType, supportEmpty);
|
|
7538
7537
|
}
|
|
7539
|
-
exports.isArrayOfPrimitive = isArrayOfPrimitive;
|
|
7540
7538
|
/**
|
|
7541
7539
|
* A typeguard function to check wether a given object is an array of a strings. As it checks the type of each individual
|
|
7542
7540
|
* array element this guard check is expensive and should only be used in cases where complete type-safety is required.
|
|
@@ -7547,7 +7545,6 @@ exports.isArrayOfPrimitive = isArrayOfPrimitive;
|
|
|
7547
7545
|
function isStringArray(object, supportEmpty = false) {
|
|
7548
7546
|
return isArrayOfPrimitive(object, 'string', supportEmpty);
|
|
7549
7547
|
}
|
|
7550
|
-
exports.isStringArray = isStringArray;
|
|
7551
7548
|
/**
|
|
7552
7549
|
* A typeguard function to check wether a given object is an array where each element matches the given predicate.
|
|
7553
7550
|
* @param object The object to check.
|
|
@@ -7558,7 +7555,6 @@ exports.isStringArray = isStringArray;
|
|
|
7558
7555
|
function isArrayMatching(object, predicate, supportEmpty = false) {
|
|
7559
7556
|
return Array.isArray(object) && object.every(predicate) && (supportEmpty || object.length > 0);
|
|
7560
7557
|
}
|
|
7561
|
-
exports.isArrayMatching = isArrayMatching;
|
|
7562
7558
|
function partition(source, matchGuard) {
|
|
7563
7559
|
const match = [];
|
|
7564
7560
|
const rest = [];
|
|
@@ -7572,7 +7568,6 @@ function partition(source, matchGuard) {
|
|
|
7572
7568
|
});
|
|
7573
7569
|
return { match, rest };
|
|
7574
7570
|
}
|
|
7575
|
-
exports.partition = partition;
|
|
7576
7571
|
/**
|
|
7577
7572
|
* Helper function to create an array of values without any undefined values.
|
|
7578
7573
|
* @param values The values to create the array from.
|
|
@@ -7581,7 +7576,6 @@ exports.partition = partition;
|
|
|
7581
7576
|
function arrayOf(...values) {
|
|
7582
7577
|
return values.filter(element => element !== undefined);
|
|
7583
7578
|
}
|
|
7584
|
-
exports.arrayOf = arrayOf;
|
|
7585
7579
|
|
|
7586
7580
|
|
|
7587
7581
|
/***/ }),
|
|
@@ -7690,7 +7684,7 @@ exports.DisposableCollection = DisposableCollection;
|
|
|
7690
7684
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
7691
7685
|
exports.Emitter = exports.Event = void 0;
|
|
7692
7686
|
/********************************************************************************
|
|
7693
|
-
* Copyright (c) 2023 EclipseSource and others.
|
|
7687
|
+
* Copyright (c) 2023-2024 EclipseSource and others.
|
|
7694
7688
|
*
|
|
7695
7689
|
* This program and the accompanying materials are made available under the
|
|
7696
7690
|
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
@@ -8163,11 +8157,10 @@ var Vector;
|
|
|
8163
8157
|
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
8164
8158
|
********************************************************************************/
|
|
8165
8159
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
8166
|
-
exports.equalUpTo =
|
|
8160
|
+
exports.equalUpTo = equalUpTo;
|
|
8167
8161
|
function equalUpTo(one, other, epsilon = Number.EPSILON) {
|
|
8168
8162
|
return Math.abs(one - other) <= epsilon;
|
|
8169
8163
|
}
|
|
8170
|
-
exports.equalUpTo = equalUpTo;
|
|
8171
8164
|
|
|
8172
8165
|
|
|
8173
8166
|
/***/ }),
|
|
@@ -8181,7 +8174,7 @@ exports.equalUpTo = equalUpTo;
|
|
|
8181
8174
|
"use strict";
|
|
8182
8175
|
|
|
8183
8176
|
/********************************************************************************
|
|
8184
|
-
* Copyright (c) 2021-
|
|
8177
|
+
* Copyright (c) 2021-2025 EclipseSource and others.
|
|
8185
8178
|
*
|
|
8186
8179
|
* This program and the accompanying materials are made available under the
|
|
8187
8180
|
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
@@ -8196,7 +8189,17 @@ exports.equalUpTo = equalUpTo;
|
|
|
8196
8189
|
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
8197
8190
|
********************************************************************************/
|
|
8198
8191
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
8199
|
-
exports.
|
|
8192
|
+
exports.MaybeActions = exports.AnyObject = void 0;
|
|
8193
|
+
exports.typeGuard = typeGuard;
|
|
8194
|
+
exports.typeGuardOr = typeGuardOr;
|
|
8195
|
+
exports.toTypeGuard = toTypeGuard;
|
|
8196
|
+
exports.call = call;
|
|
8197
|
+
exports.hasStringProp = hasStringProp;
|
|
8198
|
+
exports.hasBooleanProp = hasBooleanProp;
|
|
8199
|
+
exports.hasNumberProp = hasNumberProp;
|
|
8200
|
+
exports.hasObjectProp = hasObjectProp;
|
|
8201
|
+
exports.hasFunctionProp = hasFunctionProp;
|
|
8202
|
+
exports.hasArrayProp = hasArrayProp;
|
|
8200
8203
|
const array_util_1 = __webpack_require__(/*! ../utils/array-util */ "../../node_modules/@eclipse-glsp/protocol/lib/utils/array-util.js");
|
|
8201
8204
|
var AnyObject;
|
|
8202
8205
|
(function (AnyObject) {
|
|
@@ -8215,12 +8218,10 @@ var AnyObject;
|
|
|
8215
8218
|
function typeGuard(one, other) {
|
|
8216
8219
|
return (element) => one(element) && other(element);
|
|
8217
8220
|
}
|
|
8218
|
-
exports.typeGuard = typeGuard;
|
|
8219
8221
|
/** Utility function to combine two type guards with an OR */
|
|
8220
8222
|
function typeGuardOr(one, other) {
|
|
8221
8223
|
return (element) => one(element) || other(element);
|
|
8222
8224
|
}
|
|
8223
|
-
exports.typeGuardOr = typeGuardOr;
|
|
8224
8225
|
/**
|
|
8225
8226
|
* Utility function that create a typeguard function for a given class constructor.
|
|
8226
8227
|
* Essentially this wraps an instance of check as typeguard function.
|
|
@@ -8230,7 +8231,6 @@ exports.typeGuardOr = typeGuardOr;
|
|
|
8230
8231
|
function toTypeGuard(constructor) {
|
|
8231
8232
|
return (element) => element instanceof constructor;
|
|
8232
8233
|
}
|
|
8233
|
-
exports.toTypeGuard = toTypeGuard;
|
|
8234
8234
|
/**
|
|
8235
8235
|
* Utility function that calls a given function if it is a function, otherwise returns the value.
|
|
8236
8236
|
* This is useful to allow functions to be passed as parameters but also allow
|
|
@@ -8243,7 +8243,6 @@ exports.toTypeGuard = toTypeGuard;
|
|
|
8243
8243
|
function call(maybeFun, ...args) {
|
|
8244
8244
|
return typeof maybeFun === 'function' ? maybeFun(...args) : maybeFun;
|
|
8245
8245
|
}
|
|
8246
|
-
exports.call = call;
|
|
8247
8246
|
var MaybeActions;
|
|
8248
8247
|
(function (MaybeActions) {
|
|
8249
8248
|
/**
|
|
@@ -8271,7 +8270,6 @@ function hasStringProp(object, propertyKey, optional = false) {
|
|
|
8271
8270
|
const property = object[propertyKey];
|
|
8272
8271
|
return property !== undefined ? typeof property === 'string' : optional;
|
|
8273
8272
|
}
|
|
8274
|
-
exports.hasStringProp = hasStringProp;
|
|
8275
8273
|
/**
|
|
8276
8274
|
* Validates whether the given object has a property of type `boolean` with the given key.
|
|
8277
8275
|
* @param object The object that should be validated
|
|
@@ -8283,7 +8281,6 @@ function hasBooleanProp(object, propertyKey, optional = false) {
|
|
|
8283
8281
|
const property = object[propertyKey];
|
|
8284
8282
|
return property !== undefined ? typeof property === 'boolean' : optional;
|
|
8285
8283
|
}
|
|
8286
|
-
exports.hasBooleanProp = hasBooleanProp;
|
|
8287
8284
|
/**
|
|
8288
8285
|
* Validates whether the given object has a property of type `number` with the given key.
|
|
8289
8286
|
* @param object The object that should be validated
|
|
@@ -8295,7 +8292,6 @@ function hasNumberProp(object, propertyKey, optional = false) {
|
|
|
8295
8292
|
const property = object[propertyKey];
|
|
8296
8293
|
return property !== undefined ? typeof property === 'number' : optional;
|
|
8297
8294
|
}
|
|
8298
|
-
exports.hasNumberProp = hasNumberProp;
|
|
8299
8295
|
/**
|
|
8300
8296
|
* Validates whether the given object has a property of type `object` with the given key.
|
|
8301
8297
|
* @param object The object that should be validated
|
|
@@ -8307,7 +8303,6 @@ function hasObjectProp(object, propertyKey, optional = false) {
|
|
|
8307
8303
|
const property = object[propertyKey];
|
|
8308
8304
|
return property !== undefined ? AnyObject.is(property) : optional;
|
|
8309
8305
|
}
|
|
8310
|
-
exports.hasObjectProp = hasObjectProp;
|
|
8311
8306
|
/**
|
|
8312
8307
|
* Validates whether the given object has a property of type `function` with the given key.
|
|
8313
8308
|
* @param object The object that should be validated
|
|
@@ -8319,7 +8314,6 @@ function hasFunctionProp(object, propertyKey, optional = false) {
|
|
|
8319
8314
|
const property = object[propertyKey];
|
|
8320
8315
|
return property !== undefined ? typeof property === 'function' : optional;
|
|
8321
8316
|
}
|
|
8322
|
-
exports.hasFunctionProp = hasFunctionProp;
|
|
8323
8317
|
/**
|
|
8324
8318
|
* Validates whether the given object has a property of type `Array` with the given key.
|
|
8325
8319
|
* @param object The object that should be validated
|
|
@@ -8331,7 +8325,6 @@ function hasArrayProp(object, propertyKey, optional = false) {
|
|
|
8331
8325
|
const property = object[propertyKey];
|
|
8332
8326
|
return property !== undefined ? Array.isArray(property) : optional;
|
|
8333
8327
|
}
|
|
8334
|
-
exports.hasArrayProp = hasArrayProp;
|
|
8335
8328
|
|
|
8336
8329
|
|
|
8337
8330
|
/***/ }),
|
|
@@ -58471,7 +58464,7 @@ function socketOnError() {
|
|
|
58471
58464
|
"use strict";
|
|
58472
58465
|
|
|
58473
58466
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
58474
|
-
exports.getDefaultMapping =
|
|
58467
|
+
exports.getDefaultMapping = getDefaultMapping;
|
|
58475
58468
|
/********************************************************************************
|
|
58476
58469
|
* Copyright (c) 2022-2024 STMicroelectronics and others.
|
|
58477
58470
|
*
|
|
@@ -58519,7 +58512,6 @@ function getDefaultMapping() {
|
|
|
58519
58512
|
mapping.set(protocol_1.DefaultTypes.FOREIGN_OBJECT, gforeign_object_element_1.GForeignObjectElement);
|
|
58520
58513
|
return mapping;
|
|
58521
58514
|
}
|
|
58522
|
-
exports.getDefaultMapping = getDefaultMapping;
|
|
58523
58515
|
|
|
58524
58516
|
|
|
58525
58517
|
/***/ }),
|
|
@@ -58533,12 +58525,12 @@ exports.getDefaultMapping = getDefaultMapping;
|
|
|
58533
58525
|
"use strict";
|
|
58534
58526
|
|
|
58535
58527
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
58536
|
-
exports.GAlignableBuilder = exports.
|
|
58528
|
+
exports.GAlignableBuilder = exports.GAlignable = void 0;
|
|
58529
|
+
exports.isGAlignable = isGAlignable;
|
|
58537
58530
|
exports.GAlignable = Symbol('GAlignable');
|
|
58538
58531
|
function isGAlignable(element) {
|
|
58539
58532
|
return exports.GAlignable in element && element[exports.GAlignable] === true;
|
|
58540
58533
|
}
|
|
58541
|
-
exports.isGAlignable = isGAlignable;
|
|
58542
58534
|
var GAlignableBuilder;
|
|
58543
58535
|
(function (GAlignableBuilder) {
|
|
58544
58536
|
function alignment(builder, pointOrX, y) {
|
|
@@ -58571,12 +58563,12 @@ var GAlignableBuilder;
|
|
|
58571
58563
|
"use strict";
|
|
58572
58564
|
|
|
58573
58565
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
58574
|
-
exports.GBoundsAwareBuilder = exports.
|
|
58566
|
+
exports.GBoundsAwareBuilder = exports.GBoundsAware = void 0;
|
|
58567
|
+
exports.isGBoundsAware = isGBoundsAware;
|
|
58575
58568
|
exports.GBoundsAware = Symbol('GBoundsAware');
|
|
58576
58569
|
function isGBoundsAware(element) {
|
|
58577
58570
|
return exports.GBoundsAware in element && element[exports.GBoundsAware] === true;
|
|
58578
58571
|
}
|
|
58579
|
-
exports.isGBoundsAware = isGBoundsAware;
|
|
58580
58572
|
var GBoundsAwareBuilder;
|
|
58581
58573
|
(function (GBoundsAwareBuilder) {
|
|
58582
58574
|
function position(builder, pointOrX, y) {
|
|
@@ -58725,12 +58717,12 @@ exports.GCompartmentBuilder = GCompartmentBuilder;
|
|
|
58725
58717
|
"use strict";
|
|
58726
58718
|
|
|
58727
58719
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
58728
|
-
exports.GEdgeLayoutableBuilder = exports.
|
|
58720
|
+
exports.GEdgeLayoutableBuilder = exports.GEdgeLayoutable = void 0;
|
|
58721
|
+
exports.isGEdgeLayoutable = isGEdgeLayoutable;
|
|
58729
58722
|
exports.GEdgeLayoutable = Symbol('GEdgeLayoutable');
|
|
58730
58723
|
function isGEdgeLayoutable(element) {
|
|
58731
58724
|
return exports.GEdgeLayoutable in element && element[exports.GEdgeLayoutable] === true;
|
|
58732
58725
|
}
|
|
58733
|
-
exports.isGEdgeLayoutable = isGEdgeLayoutable;
|
|
58734
58726
|
var GEdgeLayoutableBuilder;
|
|
58735
58727
|
(function (GEdgeLayoutableBuilder) {
|
|
58736
58728
|
function edgePlacement(builder, placement) {
|
|
@@ -59130,12 +59122,12 @@ exports.GLabelBuilder = GLabelBuilder;
|
|
|
59130
59122
|
"use strict";
|
|
59131
59123
|
|
|
59132
59124
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
59133
|
-
exports.GLayoutableBuilder = exports.
|
|
59125
|
+
exports.GLayoutableBuilder = exports.GLayoutable = void 0;
|
|
59126
|
+
exports.isGLayoutable = isGLayoutable;
|
|
59134
59127
|
exports.GLayoutable = Symbol('GLayoutable');
|
|
59135
59128
|
function isGLayoutable(element) {
|
|
59136
59129
|
return exports.GLayoutable in element && element[exports.GLayoutable] === true;
|
|
59137
59130
|
}
|
|
59138
|
-
exports.isGLayoutable = isGLayoutable;
|
|
59139
59131
|
var GLayoutableBuilder;
|
|
59140
59132
|
(function (GLayoutableBuilder) {
|
|
59141
59133
|
function addLayoutOption(builder, key, value) {
|
|
@@ -59179,12 +59171,12 @@ var GLayoutableBuilder;
|
|
|
59179
59171
|
"use strict";
|
|
59180
59172
|
|
|
59181
59173
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
59182
|
-
exports.GLayoutingBuilder = exports.
|
|
59174
|
+
exports.GLayoutingBuilder = exports.GLayouting = void 0;
|
|
59175
|
+
exports.isGLayouting = isGLayouting;
|
|
59183
59176
|
exports.GLayouting = Symbol('GLayouting');
|
|
59184
59177
|
function isGLayouting(element) {
|
|
59185
59178
|
return exports.GLayouting in element && element[exports.GLayouting] === true;
|
|
59186
59179
|
}
|
|
59187
|
-
exports.isGLayouting = isGLayouting;
|
|
59188
59180
|
var GLayoutingBuilder;
|
|
59189
59181
|
(function (GLayoutingBuilder) {
|
|
59190
59182
|
function layout(builder, newLayout) {
|
|
@@ -59384,7 +59376,8 @@ exports.GModelRootBuilder = GModelRootBuilder;
|
|
|
59384
59376
|
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
59385
59377
|
********************************************************************************/
|
|
59386
59378
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
59387
|
-
exports.
|
|
59379
|
+
exports.findParent = findParent;
|
|
59380
|
+
exports.findParentByClass = findParentByClass;
|
|
59388
59381
|
/**
|
|
59389
59382
|
* Returns the first element matching the search predicate starting from the given
|
|
59390
59383
|
* element and walking up the parent hierarchy.
|
|
@@ -59403,7 +59396,6 @@ function findParent(element, searchPredicate) {
|
|
|
59403
59396
|
const parent = element.parent;
|
|
59404
59397
|
return parent ? findParent(parent, searchPredicate) : undefined;
|
|
59405
59398
|
}
|
|
59406
|
-
exports.findParent = findParent;
|
|
59407
59399
|
/**
|
|
59408
59400
|
* Returns the first parent element that is an instance of the given {@link GModelElementConstructor} starting from the given element.
|
|
59409
59401
|
* (recursively walking up the parent hierarchy).
|
|
@@ -59420,7 +59412,6 @@ function findParentByClass(element, constructor) {
|
|
|
59420
59412
|
}
|
|
59421
59413
|
return undefined;
|
|
59422
59414
|
}
|
|
59423
|
-
exports.findParentByClass = findParentByClass;
|
|
59424
59415
|
|
|
59425
59416
|
|
|
59426
59417
|
/***/ }),
|
|
@@ -59597,12 +59588,12 @@ exports.GPreRenderedElementBuilder = GPreRenderedElementBuilder;
|
|
|
59597
59588
|
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
59598
59589
|
********************************************************************************/
|
|
59599
59590
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
59600
|
-
exports.GResizeLocation = exports.GResizableBuilder = exports.
|
|
59591
|
+
exports.GResizeLocation = exports.GResizableBuilder = exports.GResizable = void 0;
|
|
59592
|
+
exports.isGResizable = isGResizable;
|
|
59601
59593
|
exports.GResizable = Symbol('GResizable');
|
|
59602
59594
|
function isGResizable(element) {
|
|
59603
59595
|
return exports.GResizable in element && element[exports.GResizable] === true;
|
|
59604
59596
|
}
|
|
59605
|
-
exports.isGResizable = isGResizable;
|
|
59606
59597
|
var GResizableBuilder;
|
|
59607
59598
|
(function (GResizableBuilder) {
|
|
59608
59599
|
function resizeLocations(builder, resizeLocations) {
|
|
@@ -59823,9 +59814,9 @@ __exportStar(__webpack_require__(/*! ./gshaped-prerendered-element */ "../../pac
|
|
|
59823
59814
|
"use strict";
|
|
59824
59815
|
|
|
59825
59816
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
59826
|
-
exports.configureELKLayoutModule =
|
|
59817
|
+
exports.configureELKLayoutModule = configureELKLayoutModule;
|
|
59827
59818
|
/********************************************************************************
|
|
59828
|
-
* Copyright (c) 2022-
|
|
59819
|
+
* Copyright (c) 2022-2025 STMicroelectronics and others.
|
|
59829
59820
|
*
|
|
59830
59821
|
* This program and the accompanying materials are made available under the
|
|
59831
59822
|
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
@@ -59909,7 +59900,6 @@ function configureELKLayoutModule(options) {
|
|
|
59909
59900
|
}
|
|
59910
59901
|
});
|
|
59911
59902
|
}
|
|
59912
|
-
exports.configureELKLayoutModule = configureELKLayoutModule;
|
|
59913
59903
|
|
|
59914
59904
|
|
|
59915
59905
|
/***/ }),
|
|
@@ -60028,7 +60018,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
60028
60018
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
60029
60019
|
exports.GlspElkLayoutEngine = exports.ElkFactory = void 0;
|
|
60030
60020
|
/********************************************************************************
|
|
60031
|
-
* Copyright (c) 2018-
|
|
60021
|
+
* Copyright (c) 2018-2025 TypeFox and others.
|
|
60032
60022
|
* This program and the accompanying materials are made available under the
|
|
60033
60023
|
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
60034
60024
|
* http://www.eclipse.org/legal/epl-2.0.
|
|
@@ -60498,7 +60488,8 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
60498
60488
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
60499
60489
|
};
|
|
60500
60490
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
60501
|
-
exports.
|
|
60491
|
+
exports.DefaultActionDispatcher = exports.ActionDispatcher = void 0;
|
|
60492
|
+
exports.respond = respond;
|
|
60502
60493
|
/********************************************************************************
|
|
60503
60494
|
* Copyright (c) 2022-2023 STMicroelectronics and others.
|
|
60504
60495
|
*
|
|
@@ -60615,7 +60606,6 @@ function respond(request, response) {
|
|
|
60615
60606
|
}
|
|
60616
60607
|
return response;
|
|
60617
60608
|
}
|
|
60618
|
-
exports.respond = respond;
|
|
60619
60609
|
|
|
60620
60610
|
|
|
60621
60611
|
/***/ }),
|
|
@@ -61288,7 +61278,10 @@ exports.UndoRedoActionHandler = UndoRedoActionHandler = __decorate([
|
|
|
61288
61278
|
"use strict";
|
|
61289
61279
|
|
|
61290
61280
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
61291
|
-
exports.
|
|
61281
|
+
exports.ServiceTarget = exports.ConstantValueTarget = void 0;
|
|
61282
|
+
exports.applyBindingTarget = applyBindingTarget;
|
|
61283
|
+
exports.applyOptionalBindingTarget = applyOptionalBindingTarget;
|
|
61284
|
+
exports.isConstructor = isConstructor;
|
|
61292
61285
|
/********************************************************************************
|
|
61293
61286
|
* Copyright (c) 2022-2023 EclipseSource and others.
|
|
61294
61287
|
*
|
|
@@ -61345,14 +61338,12 @@ function applyBindingTarget(context, serviceIdentifier, target) {
|
|
|
61345
61338
|
return context.bind(serviceIdentifier).toDynamicValue(_context => target.dynamicValue(_context));
|
|
61346
61339
|
}
|
|
61347
61340
|
}
|
|
61348
|
-
exports.applyBindingTarget = applyBindingTarget;
|
|
61349
61341
|
function applyOptionalBindingTarget(context, serviceIdentifier, target) {
|
|
61350
61342
|
if (target) {
|
|
61351
61343
|
return applyBindingTarget(context, serviceIdentifier, target);
|
|
61352
61344
|
}
|
|
61353
61345
|
return undefined;
|
|
61354
61346
|
}
|
|
61355
|
-
exports.applyOptionalBindingTarget = applyOptionalBindingTarget;
|
|
61356
61347
|
var ConstantValueTarget;
|
|
61357
61348
|
(function (ConstantValueTarget) {
|
|
61358
61349
|
function is(object) {
|
|
@@ -61433,7 +61424,6 @@ var NoOPSyntax;
|
|
|
61433
61424
|
function isConstructor(object) {
|
|
61434
61425
|
return typeof object === 'function' && !!object.prototype && !!object.prototype.constructor;
|
|
61435
61426
|
}
|
|
61436
|
-
exports.isConstructor = isConstructor;
|
|
61437
61427
|
|
|
61438
61428
|
|
|
61439
61429
|
/***/ }),
|
|
@@ -61447,7 +61437,7 @@ exports.isConstructor = isConstructor;
|
|
|
61447
61437
|
"use strict";
|
|
61448
61438
|
|
|
61449
61439
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
61450
|
-
exports.createClientSessionModule =
|
|
61440
|
+
exports.createClientSessionModule = createClientSessionModule;
|
|
61451
61441
|
/********************************************************************************
|
|
61452
61442
|
* Copyright (c) 2022-2024 STMicroelectronics and others.
|
|
61453
61443
|
*
|
|
@@ -61478,7 +61468,6 @@ function createClientSessionModule(options) {
|
|
|
61478
61468
|
bind(service_identifiers_1.ClientActionKinds).toConstantValue(new Set(options.clientActionKinds));
|
|
61479
61469
|
});
|
|
61480
61470
|
}
|
|
61481
|
-
exports.createClientSessionModule = createClientSessionModule;
|
|
61482
61471
|
|
|
61483
61472
|
|
|
61484
61473
|
/***/ }),
|
|
@@ -62830,7 +62819,7 @@ exports.ComputedBoundsActionHandler = ComputedBoundsActionHandler = __decorate([
|
|
|
62830
62819
|
"use strict";
|
|
62831
62820
|
|
|
62832
62821
|
/********************************************************************************
|
|
62833
|
-
* Copyright (c) 2022-
|
|
62822
|
+
* Copyright (c) 2022-2025 STMicroelectronics and others.
|
|
62834
62823
|
*
|
|
62835
62824
|
* This program and the accompanying materials are made available under the
|
|
62836
62825
|
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
@@ -62871,7 +62860,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
62871
62860
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
62872
62861
|
exports.LayoutOperationHandler = void 0;
|
|
62873
62862
|
/********************************************************************************
|
|
62874
|
-
* Copyright (c) 2022-
|
|
62863
|
+
* Copyright (c) 2022-2025 STMicroelectronics and others.
|
|
62875
62864
|
*
|
|
62876
62865
|
* This program and the accompanying materials are made available under the
|
|
62877
62866
|
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
@@ -63656,7 +63645,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
63656
63645
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
63657
63646
|
exports.RequestModelActionHandler = void 0;
|
|
63658
63647
|
/********************************************************************************
|
|
63659
|
-
* Copyright (c) 2022-
|
|
63648
|
+
* Copyright (c) 2022-2025 STMicroelectronics and others.
|
|
63660
63649
|
*
|
|
63661
63650
|
* This program and the accompanying materials are made available under the
|
|
63662
63651
|
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
@@ -64084,7 +64073,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
64084
64073
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
64085
64074
|
exports.RequestNavigationTargetsActionHandler = void 0;
|
|
64086
64075
|
/********************************************************************************
|
|
64087
|
-
* Copyright (c) 2022-
|
|
64076
|
+
* Copyright (c) 2022-2024 STMicroelectronics and others.
|
|
64088
64077
|
*
|
|
64089
64078
|
* This program and the accompanying materials are made available under the
|
|
64090
64079
|
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
@@ -64790,7 +64779,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
64790
64779
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
64791
64780
|
exports.GModelChangeBoundsOperationHandler = void 0;
|
|
64792
64781
|
/********************************************************************************
|
|
64793
|
-
* Copyright (c) 2022-
|
|
64782
|
+
* Copyright (c) 2022-2025 STMicroelectronics and others.
|
|
64794
64783
|
*
|
|
64795
64784
|
* This program and the accompanying materials are made available under the
|
|
64796
64785
|
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
@@ -64878,7 +64867,7 @@ exports.GModelChangeBoundsOperationHandler = GModelChangeBoundsOperationHandler
|
|
|
64878
64867
|
"use strict";
|
|
64879
64868
|
|
|
64880
64869
|
/********************************************************************************
|
|
64881
|
-
* Copyright (c) 2022-
|
|
64870
|
+
* Copyright (c) 2022-2025 EclipseSource and others.
|
|
64882
64871
|
*
|
|
64883
64872
|
* This program and the accompanying materials are made available under the
|
|
64884
64873
|
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
@@ -65487,7 +65476,8 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
65487
65476
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
65488
65477
|
};
|
|
65489
65478
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
65490
|
-
exports.
|
|
65479
|
+
exports.GModelPasteOperationHandler = void 0;
|
|
65480
|
+
exports.shift = shift;
|
|
65491
65481
|
/********************************************************************************
|
|
65492
65482
|
* Copyright (c) 2022-2023 STMicroelectronics and others.
|
|
65493
65483
|
*
|
|
@@ -65610,7 +65600,6 @@ function shift(elements, offset) {
|
|
|
65610
65600
|
gBoundsAware.position = { x: position.x + offset.x, y: position.y + offset.y };
|
|
65611
65601
|
});
|
|
65612
65602
|
}
|
|
65613
|
-
exports.shift = shift;
|
|
65614
65603
|
|
|
65615
65604
|
|
|
65616
65605
|
/***/ }),
|
|
@@ -66031,7 +66020,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
66031
66020
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
66032
66021
|
exports.CompoundOperationHandler = void 0;
|
|
66033
66022
|
/********************************************************************************
|
|
66034
|
-
* Copyright (c) 2022-
|
|
66023
|
+
* Copyright (c) 2022-2025 STMicroelectronics and others.
|
|
66035
66024
|
*
|
|
66036
66025
|
* This program and the accompanying materials are made available under the
|
|
66037
66026
|
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
@@ -66291,7 +66280,7 @@ var OperationActionHandler_1;
|
|
|
66291
66280
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
66292
66281
|
exports.OperationActionHandler = void 0;
|
|
66293
66282
|
/********************************************************************************
|
|
66294
|
-
* Copyright (c) 2022-
|
|
66283
|
+
* Copyright (c) 2022-2025 STMicroelectronics and others.
|
|
66295
66284
|
*
|
|
66296
66285
|
* This program and the accompanying materials are made available under the
|
|
66297
66286
|
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
@@ -67222,7 +67211,7 @@ ClientOptionsUtil.IS_RECONNECTING = 'isReconnecting';
|
|
|
67222
67211
|
"use strict";
|
|
67223
67212
|
|
|
67224
67213
|
/********************************************************************************
|
|
67225
|
-
* Copyright (c) 2022-
|
|
67214
|
+
* Copyright (c) 2022-2025 EclipseSource and others.
|
|
67226
67215
|
*
|
|
67227
67216
|
* This program and the accompanying materials are made available under the
|
|
67228
67217
|
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
@@ -67246,7 +67235,8 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
67246
67235
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
67247
67236
|
};
|
|
67248
67237
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
67249
|
-
exports.
|
|
67238
|
+
exports.ConsoleLogger = void 0;
|
|
67239
|
+
exports.configureConsoleLogger = configureConsoleLogger;
|
|
67250
67240
|
const inversify_1 = __webpack_require__(/*! inversify */ "../../node_modules/inversify/lib/cjs/index.js");
|
|
67251
67241
|
const logger_1 = __webpack_require__(/*! ./logger */ "../../packages/server/lib/common/utils/logger.js");
|
|
67252
67242
|
/**
|
|
@@ -67320,7 +67310,6 @@ function configureConsoleLogger(context, options) {
|
|
|
67320
67310
|
return logger;
|
|
67321
67311
|
});
|
|
67322
67312
|
}
|
|
67323
|
-
exports.configureConsoleLogger = configureConsoleLogger;
|
|
67324
67313
|
|
|
67325
67314
|
|
|
67326
67315
|
/***/ }),
|
|
@@ -67334,7 +67323,8 @@ exports.configureConsoleLogger = configureConsoleLogger;
|
|
|
67334
67323
|
"use strict";
|
|
67335
67324
|
|
|
67336
67325
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
67337
|
-
exports.
|
|
67326
|
+
exports.GLSPServerError = void 0;
|
|
67327
|
+
exports.getOrThrow = getOrThrow;
|
|
67338
67328
|
/********************************************************************************
|
|
67339
67329
|
* Copyright (c) 2022-2024 STMicroelectronics and others.
|
|
67340
67330
|
*
|
|
@@ -67363,7 +67353,6 @@ function getOrThrow(optional, errorMsg) {
|
|
|
67363
67353
|
}
|
|
67364
67354
|
throw new GLSPServerError(errorMsg);
|
|
67365
67355
|
}
|
|
67366
|
-
exports.getOrThrow = getOrThrow;
|
|
67367
67356
|
|
|
67368
67357
|
|
|
67369
67358
|
/***/ }),
|
|
@@ -67377,7 +67366,7 @@ exports.getOrThrow = getOrThrow;
|
|
|
67377
67366
|
"use strict";
|
|
67378
67367
|
|
|
67379
67368
|
/********************************************************************************
|
|
67380
|
-
* Copyright (c) 2022-
|
|
67369
|
+
* Copyright (c) 2022-2025 EclipseSource and others.
|
|
67381
67370
|
*
|
|
67382
67371
|
* This program and the accompanying materials are made available under the
|
|
67383
67372
|
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
@@ -67392,7 +67381,13 @@ exports.getOrThrow = getOrThrow;
|
|
|
67392
67381
|
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
67393
67382
|
********************************************************************************/
|
|
67394
67383
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
67395
|
-
exports.
|
|
67384
|
+
exports.applyElementAndBounds = applyElementAndBounds;
|
|
67385
|
+
exports.applyAlignment = applyAlignment;
|
|
67386
|
+
exports.applyRoute = applyRoute;
|
|
67387
|
+
exports.getRoute = getRoute;
|
|
67388
|
+
exports.applyRoutingPoints = applyRoutingPoints;
|
|
67389
|
+
exports.getRelativeLocation = getRelativeLocation;
|
|
67390
|
+
exports.absoluteToRelative = absoluteToRelative;
|
|
67396
67391
|
const graph_1 = __webpack_require__(/*! @eclipse-glsp/graph */ "../../packages/graph/lib/index.js");
|
|
67397
67392
|
const args_util_1 = __webpack_require__(/*! ./args-util */ "../../packages/server/lib/common/utils/args-util.js");
|
|
67398
67393
|
const glsp_server_error_1 = __webpack_require__(/*! ./glsp-server-error */ "../../packages/server/lib/common/utils/glsp-server-error.js");
|
|
@@ -67414,7 +67409,6 @@ function applyElementAndBounds(bounds, index) {
|
|
|
67414
67409
|
}
|
|
67415
67410
|
return undefined;
|
|
67416
67411
|
}
|
|
67417
|
-
exports.applyElementAndBounds = applyElementAndBounds;
|
|
67418
67412
|
/**
|
|
67419
67413
|
* Applies the new alignment to the model.
|
|
67420
67414
|
*
|
|
@@ -67430,7 +67424,6 @@ function applyAlignment(alignment, index) {
|
|
|
67430
67424
|
}
|
|
67431
67425
|
return undefined;
|
|
67432
67426
|
}
|
|
67433
|
-
exports.applyAlignment = applyAlignment;
|
|
67434
67427
|
/**
|
|
67435
67428
|
* Applies the new route to the model.
|
|
67436
67429
|
*
|
|
@@ -67459,7 +67452,6 @@ function applyRoute(route, index) {
|
|
|
67459
67452
|
}
|
|
67460
67453
|
return edge;
|
|
67461
67454
|
}
|
|
67462
|
-
exports.applyRoute = applyRoute;
|
|
67463
67455
|
/**
|
|
67464
67456
|
* Returns the complete route of the given edge. The route, as opposed to the routing points, also contain the source
|
|
67465
67457
|
* and target point.
|
|
@@ -67482,14 +67474,12 @@ function getRoute(edge) {
|
|
|
67482
67474
|
route.push(targetPoint);
|
|
67483
67475
|
return { elementId: edge.id, newRoutingPoints: route };
|
|
67484
67476
|
}
|
|
67485
|
-
exports.getRoute = getRoute;
|
|
67486
67477
|
function applyRoutingPoints(routingPoints, index) {
|
|
67487
67478
|
var _a;
|
|
67488
67479
|
const edge = (0, glsp_server_error_1.getOrThrow)(index.findByClass(routingPoints.elementId, graph_1.GEdge), 'Model element not found! ID: ' + routingPoints.elementId);
|
|
67489
67480
|
edge.routingPoints = (_a = routingPoints.newRoutingPoints) !== null && _a !== void 0 ? _a : [];
|
|
67490
67481
|
return edge;
|
|
67491
67482
|
}
|
|
67492
|
-
exports.applyRoutingPoints = applyRoutingPoints;
|
|
67493
67483
|
/**
|
|
67494
67484
|
* Returns the relative location of the given absolute location within the container.
|
|
67495
67485
|
*
|
|
@@ -67509,7 +67499,6 @@ function getRelativeLocation(absoluteLocation, container) {
|
|
|
67509
67499
|
}
|
|
67510
67500
|
return undefined;
|
|
67511
67501
|
}
|
|
67512
|
-
exports.getRelativeLocation = getRelativeLocation;
|
|
67513
67502
|
/**
|
|
67514
67503
|
* Convert a point in absolute coordinates to a point relative to the specified GBoundsAware.
|
|
67515
67504
|
* Note: this method only works if the specified {@link GBoundsAware} is part of a
|
|
@@ -67542,7 +67531,6 @@ function absoluteToRelative(absolutePoint, modelElement) {
|
|
|
67542
67531
|
const y = (_d = (_c = modelElement.position) === null || _c === void 0 ? void 0 : _c.y) !== null && _d !== void 0 ? _d : 0;
|
|
67543
67532
|
return { x: relativeToParent.x - x, y: relativeToParent.y - y };
|
|
67544
67533
|
}
|
|
67545
|
-
exports.absoluteToRelative = absoluteToRelative;
|
|
67546
67534
|
|
|
67547
67535
|
|
|
67548
67536
|
/***/ }),
|
|
@@ -67562,7 +67550,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
67562
67550
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
67563
67551
|
};
|
|
67564
67552
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
67565
|
-
exports.
|
|
67553
|
+
exports.LogLevel = exports.LoggerFactory = exports.NullLogger = exports.Logger = void 0;
|
|
67554
|
+
exports.asLogLevel = asLogLevel;
|
|
67555
|
+
exports.getRequestParentName = getRequestParentName;
|
|
67566
67556
|
/********************************************************************************
|
|
67567
67557
|
* Copyright (c) 2022-2023 STMicroelectronics and others.
|
|
67568
67558
|
*
|
|
@@ -67619,7 +67609,6 @@ function asLogLevel(level) {
|
|
|
67619
67609
|
}
|
|
67620
67610
|
return undefined;
|
|
67621
67611
|
}
|
|
67622
|
-
exports.asLogLevel = asLogLevel;
|
|
67623
67612
|
function getRequestParentName(context) {
|
|
67624
67613
|
var _a;
|
|
67625
67614
|
if (context.currentRequest.parentRequest) {
|
|
@@ -67631,7 +67620,6 @@ function getRequestParentName(context) {
|
|
|
67631
67620
|
}
|
|
67632
67621
|
return undefined;
|
|
67633
67622
|
}
|
|
67634
|
-
exports.getRequestParentName = getRequestParentName;
|
|
67635
67623
|
|
|
67636
67624
|
|
|
67637
67625
|
/***/ }),
|
|
@@ -68043,7 +68031,9 @@ exports.AbstractJsonModelStorage = AbstractJsonModelStorage = __decorate([
|
|
|
68043
68031
|
"use strict";
|
|
68044
68032
|
|
|
68045
68033
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
68046
|
-
exports.
|
|
68034
|
+
exports.createAppModule = createAppModule;
|
|
68035
|
+
exports.createWinstonInstance = createWinstonInstance;
|
|
68036
|
+
exports.configureWinstonLogger = configureWinstonLogger;
|
|
68047
68037
|
const inversify_1 = __webpack_require__(/*! inversify */ "../../node_modules/inversify/lib/cjs/index.js");
|
|
68048
68038
|
const winston = __webpack_require__(/*! winston */ "../../node_modules/winston/lib/winston.js");
|
|
68049
68039
|
const common_1 = __webpack_require__(/*! ../../common */ "../../packages/server/lib/common/index.js");
|
|
@@ -68055,7 +68045,6 @@ function createAppModule(options) {
|
|
|
68055
68045
|
configureWinstonLogger(context, options);
|
|
68056
68046
|
});
|
|
68057
68047
|
}
|
|
68058
|
-
exports.createAppModule = createAppModule;
|
|
68059
68048
|
/**
|
|
68060
68049
|
* Creates the global {@link winston.Logger} instance is used internally by all instances of {@link WinstonLogger}. Can be configured with
|
|
68061
68050
|
* the given {@link LaunchOptions}.
|
|
@@ -68080,7 +68069,6 @@ function createWinstonInstance(options) {
|
|
|
68080
68069
|
}
|
|
68081
68070
|
return winston.createLogger({ level, transports });
|
|
68082
68071
|
}
|
|
68083
|
-
exports.createWinstonInstance = createWinstonInstance;
|
|
68084
68072
|
/**
|
|
68085
68073
|
* Configures the binding for {@link WinstonLogger} in the given {@link ModuleContext} with the given {@link LaunchOptions}.
|
|
68086
68074
|
* @param context The module context.
|
|
@@ -68110,7 +68098,6 @@ function configureWinstonLogger(context, options, rebind = true, baseLoggerCreat
|
|
|
68110
68098
|
const baseLogger = baseLoggerCreator(options);
|
|
68111
68099
|
context.bind(common_1.Logger).toDynamicValue(dynamicContext => new winston_logger_1.WinstonLogger(baseLogger, (0, common_1.getRequestParentName)(dynamicContext)));
|
|
68112
68100
|
}
|
|
68113
|
-
exports.configureWinstonLogger = configureWinstonLogger;
|
|
68114
68101
|
|
|
68115
68102
|
|
|
68116
68103
|
/***/ }),
|
|
@@ -68326,7 +68313,12 @@ __exportStar(__webpack_require__(/*! ./reexport */ "../../packages/server/lib/no
|
|
|
68326
68313
|
"use strict";
|
|
68327
68314
|
|
|
68328
68315
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
68329
|
-
exports.
|
|
68316
|
+
exports.defaultLaunchOptions = void 0;
|
|
68317
|
+
exports.createCliParser = createCliParser;
|
|
68318
|
+
exports.parse = parse;
|
|
68319
|
+
exports.processLogLevel = processLogLevel;
|
|
68320
|
+
exports.processLogDir = processLogDir;
|
|
68321
|
+
exports.isDirectory = isDirectory;
|
|
68330
68322
|
/********************************************************************************
|
|
68331
68323
|
* Copyright (c) 2022-2023 STMicroelectronics and others.
|
|
68332
68324
|
*
|
|
@@ -68363,12 +68355,10 @@ function createCliParser(options = exports.defaultLaunchOptions) {
|
|
|
68363
68355
|
.addHelpText('afterAll', '\n Copyright (c) 2022-2023 Eclipse GLSP');
|
|
68364
68356
|
return { command, parse: argv => parse(command, options, argv) };
|
|
68365
68357
|
}
|
|
68366
|
-
exports.createCliParser = createCliParser;
|
|
68367
68358
|
function parse(command, defaultOptions, argv) {
|
|
68368
68359
|
command.parse(argv);
|
|
68369
68360
|
return { ...defaultOptions, ...command.opts() };
|
|
68370
68361
|
}
|
|
68371
|
-
exports.parse = parse;
|
|
68372
68362
|
function processLogLevel(value) {
|
|
68373
68363
|
const level = (0, logger_1.asLogLevel)(value);
|
|
68374
68364
|
if (!level) {
|
|
@@ -68376,7 +68366,6 @@ function processLogLevel(value) {
|
|
|
68376
68366
|
}
|
|
68377
68367
|
return level;
|
|
68378
68368
|
}
|
|
68379
|
-
exports.processLogLevel = processLogLevel;
|
|
68380
68369
|
function processLogDir(value) {
|
|
68381
68370
|
const logDir = path.resolve(value);
|
|
68382
68371
|
if (path.extname(logDir).length !== 0 || !isDirectory(path.dirname(logDir))) {
|
|
@@ -68384,7 +68373,6 @@ function processLogDir(value) {
|
|
|
68384
68373
|
}
|
|
68385
68374
|
return logDir;
|
|
68386
68375
|
}
|
|
68387
|
-
exports.processLogDir = processLogDir;
|
|
68388
68376
|
function isDirectory(value) {
|
|
68389
68377
|
try {
|
|
68390
68378
|
return fs.statSync(value).isDirectory();
|
|
@@ -68393,7 +68381,6 @@ function isDirectory(value) {
|
|
|
68393
68381
|
return false;
|
|
68394
68382
|
}
|
|
68395
68383
|
}
|
|
68396
|
-
exports.isDirectory = isDirectory;
|
|
68397
68384
|
|
|
68398
68385
|
|
|
68399
68386
|
/***/ }),
|
|
@@ -68407,7 +68394,9 @@ exports.isDirectory = isDirectory;
|
|
|
68407
68394
|
"use strict";
|
|
68408
68395
|
|
|
68409
68396
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
68410
|
-
exports.
|
|
68397
|
+
exports.defaultSocketLaunchOptions = void 0;
|
|
68398
|
+
exports.createSocketCliParser = createSocketCliParser;
|
|
68399
|
+
exports.processPort = processPort;
|
|
68411
68400
|
/********************************************************************************
|
|
68412
68401
|
* Copyright (c) 2022-2023 STMicroelectronics and others.
|
|
68413
68402
|
*
|
|
@@ -68439,7 +68428,6 @@ function createSocketCliParser(defaultOptions = exports.defaultSocketLaunchOptio
|
|
|
68439
68428
|
.option('--fileLog', 'Enable file logging', defaultOptions.fileLog);
|
|
68440
68429
|
return parser;
|
|
68441
68430
|
}
|
|
68442
|
-
exports.createSocketCliParser = createSocketCliParser;
|
|
68443
68431
|
function processPort(value) {
|
|
68444
68432
|
const port = Number.parseInt(value, 10);
|
|
68445
68433
|
if (isNaN(port)) {
|
|
@@ -68450,7 +68438,6 @@ function processPort(value) {
|
|
|
68450
68438
|
}
|
|
68451
68439
|
return port;
|
|
68452
68440
|
}
|
|
68453
|
-
exports.processPort = processPort;
|
|
68454
68441
|
|
|
68455
68442
|
|
|
68456
68443
|
/***/ }),
|
|
@@ -68582,7 +68569,8 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
68582
68569
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
68583
68570
|
};
|
|
68584
68571
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
68585
|
-
exports.
|
|
68572
|
+
exports.WebSocketServerLauncher = void 0;
|
|
68573
|
+
exports.wrapWebSocket = wrapWebSocket;
|
|
68586
68574
|
const protocol_1 = __webpack_require__(/*! @eclipse-glsp/protocol */ "../../node_modules/@eclipse-glsp/protocol/lib/index.js");
|
|
68587
68575
|
const http = __webpack_require__(/*! http */ "http");
|
|
68588
68576
|
const inversify_1 = __webpack_require__(/*! inversify */ "../../node_modules/inversify/lib/cjs/index.js");
|
|
@@ -68675,7 +68663,6 @@ function wrapWebSocket(socket) {
|
|
|
68675
68663
|
dispose: () => socket.close()
|
|
68676
68664
|
};
|
|
68677
68665
|
}
|
|
68678
|
-
exports.wrapWebSocket = wrapWebSocket;
|
|
68679
68666
|
|
|
68680
68667
|
|
|
68681
68668
|
/***/ }),
|