@eclipse-glsp-examples/workflow-glsp 0.9.0-rc-01 → 0.10.0-next.146a812.165
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/LICENSE +642 -277
- package/README.md +6 -4
- package/css/diagram.css +38 -135
- package/lib/di.config.d.ts +2 -17
- package/lib/di.config.d.ts.map +1 -1
- package/lib/di.config.js +28 -27
- package/lib/di.config.js.map +1 -1
- package/lib/direct-task-editing/di.config.js +4 -4
- package/lib/direct-task-editing/di.config.js.map +1 -1
- package/lib/direct-task-editing/direct-task-editor.d.ts +1 -1
- package/lib/direct-task-editing/direct-task-editor.d.ts.map +1 -1
- package/lib/direct-task-editing/direct-task-editor.js +89 -189
- package/lib/direct-task-editing/direct-task-editor.js.map +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +3 -3
- package/lib/index.js.map +1 -1
- package/lib/model.d.ts +7 -2
- package/lib/model.d.ts.map +1 -1
- package/lib/model.js +71 -69
- package/lib/model.js.map +1 -1
- package/lib/workflow-views.d.ts +7 -7
- package/lib/workflow-views.d.ts.map +1 -1
- package/lib/workflow-views.js +52 -50
- package/lib/workflow-views.js.map +1 -1
- package/package.json +9 -20
- package/scripts/download.ts +19 -16
- package/src/di.config.ts +14 -53
- package/src/direct-task-editing/direct-task-editor.ts +19 -18
- package/src/index.ts +1 -2
- package/src/model.ts +51 -15
- package/src/workflow-views.tsx +57 -22
|
@@ -1,17 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
extendStatics(d, b);
|
|
11
|
-
function __() { this.constructor = d; }
|
|
12
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
13
|
-
};
|
|
14
|
-
})();
|
|
15
2
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
16
3
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
17
4
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -21,66 +8,11 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
21
8
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
22
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
23
10
|
};
|
|
24
|
-
var
|
|
25
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
26
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
27
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
28
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
29
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
30
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
31
|
-
});
|
|
32
|
-
};
|
|
33
|
-
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
34
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
35
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
36
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
37
|
-
function step(op) {
|
|
38
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
39
|
-
while (_) try {
|
|
40
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
41
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
42
|
-
switch (op[0]) {
|
|
43
|
-
case 0: case 1: t = op; break;
|
|
44
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
45
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
46
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
47
|
-
default:
|
|
48
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
49
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
50
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
51
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
52
|
-
if (t[2]) _.ops.pop();
|
|
53
|
-
_.trys.pop(); continue;
|
|
54
|
-
}
|
|
55
|
-
op = body.call(thisArg, _);
|
|
56
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
57
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
58
|
-
}
|
|
59
|
-
};
|
|
60
|
-
var __read = (this && this.__read) || function (o, n) {
|
|
61
|
-
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
62
|
-
if (!m) return o;
|
|
63
|
-
var i = m.call(o), r, ar = [], e;
|
|
64
|
-
try {
|
|
65
|
-
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
|
66
|
-
}
|
|
67
|
-
catch (error) { e = { error: error }; }
|
|
68
|
-
finally {
|
|
69
|
-
try {
|
|
70
|
-
if (r && !r.done && (m = i["return"])) m.call(i);
|
|
71
|
-
}
|
|
72
|
-
finally { if (e) throw e.error; }
|
|
73
|
-
}
|
|
74
|
-
return ar;
|
|
75
|
-
};
|
|
76
|
-
var __spread = (this && this.__spread) || function () {
|
|
77
|
-
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i]));
|
|
78
|
-
return ar;
|
|
79
|
-
};
|
|
11
|
+
var TaskEditor_1;
|
|
80
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
81
13
|
exports.TaskEditor = exports.ApplyTaskEditOperation = void 0;
|
|
82
14
|
/********************************************************************************
|
|
83
|
-
* Copyright (c) 2020 EclipseSource and others.
|
|
15
|
+
* Copyright (c) 2020-2022 EclipseSource and others.
|
|
84
16
|
*
|
|
85
17
|
* This program and the accompanying materials are made available under the
|
|
86
18
|
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
@@ -94,149 +26,117 @@ exports.TaskEditor = exports.ApplyTaskEditOperation = void 0;
|
|
|
94
26
|
*
|
|
95
27
|
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
96
28
|
********************************************************************************/
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
29
|
+
const client_1 = require("@eclipse-glsp/client");
|
|
30
|
+
const inversify_1 = require("inversify");
|
|
31
|
+
const lib_1 = require("sprotty/lib");
|
|
32
|
+
const dom_helper_1 = require("sprotty/lib/base/views/dom-helper");
|
|
33
|
+
const model_1 = require("../model");
|
|
34
|
+
class ApplyTaskEditOperation {
|
|
35
|
+
constructor(taskId, expression) {
|
|
104
36
|
this.taskId = taskId;
|
|
105
37
|
this.expression = expression;
|
|
106
38
|
this.kind = ApplyTaskEditOperation.KIND;
|
|
107
39
|
}
|
|
108
|
-
|
|
109
|
-
return ApplyTaskEditOperation;
|
|
110
|
-
}());
|
|
40
|
+
}
|
|
111
41
|
exports.ApplyTaskEditOperation = ApplyTaskEditOperation;
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
42
|
+
ApplyTaskEditOperation.KIND = 'applyTaskEdit';
|
|
43
|
+
let TaskEditor = TaskEditor_1 = class TaskEditor extends client_1.AbstractUIExtension {
|
|
44
|
+
constructor() {
|
|
45
|
+
super(...arguments);
|
|
46
|
+
this.autoSuggestionSettings = {
|
|
117
47
|
noSuggestionsMessage: 'No suggestions available',
|
|
118
48
|
suggestionsClass: 'command-palette-suggestions',
|
|
119
49
|
debounceWaitMs: 50,
|
|
120
50
|
showOnFocus: true
|
|
121
51
|
};
|
|
122
|
-
return _this;
|
|
123
52
|
}
|
|
124
|
-
|
|
125
|
-
TaskEditor.prototype.id = function () {
|
|
53
|
+
id() {
|
|
126
54
|
return TaskEditor_1.ID;
|
|
127
|
-
}
|
|
128
|
-
|
|
55
|
+
}
|
|
56
|
+
containerClass() {
|
|
129
57
|
return 'command-palette';
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
this.autoSuggestion
|
|
134
|
-
this.autoSuggestion.
|
|
135
|
-
|
|
58
|
+
}
|
|
59
|
+
initializeContents(containerElement) {
|
|
60
|
+
this.autoSuggestion = new client_1.AutoCompleteWidget(this.autoSuggestionSettings, { provideSuggestions: input => this.retrieveSuggestions(input) }, { executeFromSuggestion: input => this.executeFromSuggestion(input) }, () => this.hide(), this.logger);
|
|
61
|
+
this.autoSuggestion.configureValidation({ validate: input => this.validateInput(input) }, new client_1.ValidationDecorator(containerElement));
|
|
62
|
+
this.autoSuggestion.configureTextSubmitHandler({
|
|
63
|
+
executeFromTextOnlyInput: (input) => this.executeFromTextOnlyInput(input)
|
|
64
|
+
});
|
|
136
65
|
this.autoSuggestion.initialize(containerElement);
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
for (var _i = 1; _i < arguments.length; _i++) {
|
|
141
|
-
contextElementIds[_i - 1] = arguments[_i];
|
|
142
|
-
}
|
|
143
|
-
_super.prototype.show.apply(this, __spread([root], contextElementIds));
|
|
66
|
+
}
|
|
67
|
+
show(root, ...contextElementIds) {
|
|
68
|
+
super.show(root, ...contextElementIds);
|
|
144
69
|
this.autoSuggestion.open(root);
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
for (var _i = 2; _i < arguments.length; _i++) {
|
|
149
|
-
contextElementIds[_i - 2] = arguments[_i];
|
|
150
|
-
}
|
|
151
|
-
this.task = getTask(contextElementIds, root)[0];
|
|
70
|
+
}
|
|
71
|
+
onBeforeShow(containerElement, root, ...contextElementIds) {
|
|
72
|
+
this.task = getTask(contextElementIds, root.index)[0];
|
|
152
73
|
this.autoSuggestion.inputField.value = '';
|
|
153
74
|
this.setPosition(containerElement);
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
75
|
+
}
|
|
76
|
+
setPosition(containerElement) {
|
|
77
|
+
let x = 0;
|
|
78
|
+
let y = 0;
|
|
158
79
|
if (this.task) {
|
|
159
|
-
|
|
80
|
+
const bounds = (0, client_1.getAbsoluteClientBounds)(this.task, this.domHelper, this.viewerOptions);
|
|
160
81
|
x = bounds.x + 5;
|
|
161
82
|
y = bounds.y + 5;
|
|
162
83
|
}
|
|
163
|
-
containerElement.style.left = x
|
|
164
|
-
containerElement.style.top = y
|
|
84
|
+
containerElement.style.left = `${x}px`;
|
|
85
|
+
containerElement.style.top = `${y}px`;
|
|
165
86
|
containerElement.style.width = '200px';
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
var response;
|
|
187
|
-
return __generator(this, function (_a) {
|
|
188
|
-
switch (_a.label) {
|
|
189
|
-
case 0: return [4 /*yield*/, this.actionDispatcher.request(new client_1.RequestEditValidationAction(TaskEditor_1.ID, this.task.id, input))];
|
|
190
|
-
case 1:
|
|
191
|
-
response = _a.sent();
|
|
192
|
-
if (client_1.isSetEditValidationResultAction(response)) {
|
|
193
|
-
return [2 /*return*/, response.status];
|
|
194
|
-
}
|
|
195
|
-
return [2 /*return*/, Promise.reject()];
|
|
196
|
-
}
|
|
197
|
-
});
|
|
198
|
-
});
|
|
199
|
-
};
|
|
200
|
-
TaskEditor.prototype.executeFromSuggestion = function (input) {
|
|
201
|
-
this.actionDispatcher.dispatchAll(client_1.toActionArray(input));
|
|
202
|
-
};
|
|
203
|
-
TaskEditor.prototype.executeFromTextOnlyInput = function (input) {
|
|
204
|
-
var action = new ApplyTaskEditOperation(this.task.id, input);
|
|
87
|
+
}
|
|
88
|
+
async retrieveSuggestions(input) {
|
|
89
|
+
const response = await this.actionDispatcher.request(new client_1.RequestContextActions(TaskEditor_1.ID, this.editorContextService.get({ ['text']: input })));
|
|
90
|
+
if ((0, client_1.isSetContextActionsAction)(response)) {
|
|
91
|
+
return response.actions;
|
|
92
|
+
}
|
|
93
|
+
return Promise.reject();
|
|
94
|
+
}
|
|
95
|
+
async validateInput(input) {
|
|
96
|
+
const response = await this.actionDispatcher.request(new client_1.RequestEditValidationAction(TaskEditor_1.ID, this.task.id, input));
|
|
97
|
+
if ((0, client_1.isSetEditValidationResultAction)(response)) {
|
|
98
|
+
return response.status;
|
|
99
|
+
}
|
|
100
|
+
return Promise.reject();
|
|
101
|
+
}
|
|
102
|
+
executeFromSuggestion(input) {
|
|
103
|
+
this.actionDispatcher.dispatchAll((0, client_1.toActionArray)(input));
|
|
104
|
+
}
|
|
105
|
+
executeFromTextOnlyInput(input) {
|
|
106
|
+
const action = new ApplyTaskEditOperation(this.task.id, input);
|
|
205
107
|
this.actionDispatcher.dispatch(action);
|
|
206
|
-
}
|
|
207
|
-
|
|
108
|
+
}
|
|
109
|
+
hide() {
|
|
208
110
|
this.autoSuggestion.dispose();
|
|
209
|
-
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
return TaskEditor;
|
|
237
|
-
}(client_1.AbstractUIExtension));
|
|
111
|
+
super.hide();
|
|
112
|
+
}
|
|
113
|
+
};
|
|
114
|
+
TaskEditor.ID = 'task-editor';
|
|
115
|
+
__decorate([
|
|
116
|
+
(0, inversify_1.inject)(lib_1.TYPES.IActionDispatcher),
|
|
117
|
+
__metadata("design:type", client_1.GLSPActionDispatcher)
|
|
118
|
+
], TaskEditor.prototype, "actionDispatcher", void 0);
|
|
119
|
+
__decorate([
|
|
120
|
+
(0, inversify_1.inject)(client_1.EditorContextService),
|
|
121
|
+
__metadata("design:type", client_1.EditorContextService)
|
|
122
|
+
], TaskEditor.prototype, "editorContextService", void 0);
|
|
123
|
+
__decorate([
|
|
124
|
+
(0, inversify_1.inject)(lib_1.TYPES.ViewerOptions),
|
|
125
|
+
__metadata("design:type", Object)
|
|
126
|
+
], TaskEditor.prototype, "viewerOptions", void 0);
|
|
127
|
+
__decorate([
|
|
128
|
+
(0, inversify_1.inject)(lib_1.TYPES.DOMHelper),
|
|
129
|
+
__metadata("design:type", dom_helper_1.DOMHelper)
|
|
130
|
+
], TaskEditor.prototype, "domHelper", void 0);
|
|
131
|
+
__decorate([
|
|
132
|
+
(0, inversify_1.inject)(lib_1.TYPES.ILogger),
|
|
133
|
+
__metadata("design:type", Object)
|
|
134
|
+
], TaskEditor.prototype, "logger", void 0);
|
|
135
|
+
TaskEditor = TaskEditor_1 = __decorate([
|
|
136
|
+
(0, inversify_1.injectable)()
|
|
137
|
+
], TaskEditor);
|
|
238
138
|
exports.TaskEditor = TaskEditor;
|
|
239
|
-
function getTask(ids,
|
|
240
|
-
return ids.map(
|
|
139
|
+
function getTask(ids, index) {
|
|
140
|
+
return ids.map(id => index.getById(id)).filter(element => element && (0, model_1.isTaskNode)(element));
|
|
241
141
|
}
|
|
242
142
|
//# sourceMappingURL=direct-task-editor.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"direct-task-editor.js","sourceRoot":"","sources":["../../src/direct-task-editing/direct-task-editor.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"direct-task-editor.js","sourceRoot":"","sources":["../../src/direct-task-editing/direct-task-editor.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,iDAmB8B;AAC9B,yCAA+C;AAC/C,qCAAiD;AACjD,kEAA8D;AAC9D,oCAAgD;AAEhD,MAAa,sBAAsB;IAG/B,YAAqB,MAAc,EAAW,UAAkB;QAA3C,WAAM,GAAN,MAAM,CAAQ;QAAW,eAAU,GAAV,UAAU,CAAQ;QADvD,SAAI,GAAG,sBAAsB,CAAC,IAAI,CAAC;IACuB,CAAC;;AAHxE,wDAIC;AAHmB,2BAAI,GAAG,eAAe,CAAC;AAM3C,IAAa,UAAU,kBAAvB,MAAa,UAAW,SAAQ,4BAAmB;IAAnD;;QAEa,2BAAsB,GAAG;YAC9B,oBAAoB,EAAE,0BAA0B;YAChD,gBAAgB,EAAE,6BAA6B;YAC/C,cAAc,EAAE,EAAE;YAClB,WAAW,EAAE,IAAI;SACpB,CAAC;IAsGN,CAAC;IAlFG,EAAE;QACE,OAAO,YAAU,CAAC,EAAE,CAAC;IACzB,CAAC;IACD,cAAc;QACV,OAAO,iBAAiB,CAAC;IAC7B,CAAC;IAES,kBAAkB,CAAC,gBAA6B;QACtD,IAAI,CAAC,cAAc,GAAG,IAAI,2BA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AC5G,CAAC"}
|
package/lib/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/********************************************************************************
|
|
2
|
-
* Copyright (c) 2019 EclipseSource and others.
|
|
2
|
+
* Copyright (c) 2019-2021 EclipseSource and others.
|
|
3
3
|
*
|
|
4
4
|
* This program and the accompanying materials are made available under the
|
|
5
5
|
* terms of the Eclipse Public License v. 2.0 which is available at
|
package/lib/index.js
CHANGED
|
@@ -7,12 +7,12 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
|
|
|
7
7
|
o[k2] = m[k];
|
|
8
8
|
}));
|
|
9
9
|
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
-
for (var p in m) if (p !== "default" && !
|
|
10
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
11
|
};
|
|
12
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
13
|
exports.createWorkflowDiagramContainer = void 0;
|
|
14
14
|
/********************************************************************************
|
|
15
|
-
* Copyright (c) 2019 EclipseSource and others.
|
|
15
|
+
* Copyright (c) 2019-2021 EclipseSource and others.
|
|
16
16
|
*
|
|
17
17
|
* This program and the accompanying materials are made available under the
|
|
18
18
|
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
@@ -26,7 +26,7 @@ exports.createWorkflowDiagramContainer = void 0;
|
|
|
26
26
|
*
|
|
27
27
|
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
28
28
|
********************************************************************************/
|
|
29
|
-
|
|
29
|
+
const di_config_1 = require("./di.config");
|
|
30
30
|
exports.createWorkflowDiagramContainer = di_config_1.default;
|
|
31
31
|
__exportStar(require("./model"), exports);
|
|
32
32
|
__exportStar(require("./workflow-views"), exports);
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,2CAAyD;AAKhD,yCALF,mBAA8B,CAKE;AAHvC,0CAAwB;AACxB,mDAAiC;AACjC,2EAAyD"}
|
package/lib/model.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/********************************************************************************
|
|
2
|
-
* Copyright (c) 2020 EclipseSource and others.
|
|
2
|
+
* Copyright (c) 2020-2022 EclipseSource and others.
|
|
3
3
|
*
|
|
4
4
|
* This program and the accompanying materials are made available under the
|
|
5
5
|
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
@@ -16,11 +16,11 @@
|
|
|
16
16
|
import { DiamondNode, EditableLabel, LayoutContainer, Nameable, RectangularNode, SChildElement, SEdge, SModelElement, SShapeElement, WithEditableLabel } from '@eclipse-glsp/client';
|
|
17
17
|
export declare class TaskNode extends RectangularNode implements Nameable, WithEditableLabel {
|
|
18
18
|
static readonly DEFAULT_FEATURES: symbol[];
|
|
19
|
-
name: string;
|
|
20
19
|
duration?: number;
|
|
21
20
|
taskType?: string;
|
|
22
21
|
reference?: string;
|
|
23
22
|
get editableLabel(): (SChildElement & EditableLabel) | undefined;
|
|
23
|
+
get name(): string;
|
|
24
24
|
}
|
|
25
25
|
export declare function isTaskNode(element: SModelElement): element is TaskNode;
|
|
26
26
|
export declare class WeightedEdge extends SEdge {
|
|
@@ -56,4 +56,9 @@ export declare class Icon extends SShapeElement implements LayoutContainer {
|
|
|
56
56
|
height: number;
|
|
57
57
|
};
|
|
58
58
|
}
|
|
59
|
+
export declare class CategoryNode extends RectangularNode implements Nameable, WithEditableLabel {
|
|
60
|
+
static readonly DEFAULT_FEATURES: symbol[];
|
|
61
|
+
name: string;
|
|
62
|
+
get editableLabel(): (SChildElement & EditableLabel) | undefined;
|
|
63
|
+
}
|
|
59
64
|
//# sourceMappingURL=model.d.ts.map
|
package/lib/model.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model.d.ts","sourceRoot":"","sources":["../src/model.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAClF,OAAO,EAIH,WAAW,EACX,aAAa,EAKb,eAAe,EAGf,QAAQ,EAGR,eAAe,EACf,aAAa,EACb,KAAK,EAEL,aAAa,EACb,aAAa,EACb,iBAAiB,EAEpB,MAAM,sBAAsB,CAAC;AAE9B,qBAAa,QAAS,SAAQ,eAAgB,YAAW,QAAQ,EAAE,iBAAiB;IAChF,
|
|
1
|
+
{"version":3,"file":"model.d.ts","sourceRoot":"","sources":["../src/model.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAClF,OAAO,EAIH,WAAW,EACX,aAAa,EAKb,eAAe,EAGf,QAAQ,EAGR,eAAe,EACf,aAAa,EACb,KAAK,EAEL,aAAa,EACb,aAAa,EACb,iBAAiB,EAEpB,MAAM,sBAAsB,CAAC;AAE9B,qBAAa,QAAS,SAAQ,eAAgB,YAAW,QAAQ,EAAE,iBAAiB;IAChF,gBAAyB,gBAAgB,WAYvC;IACF,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,IAAI,aAAa,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC,GAAG,SAAS,CAM/D;IAED,IAAI,IAAI,IAAI,MAAM,CAGjB;CACJ;AAED,wBAAgB,UAAU,CAAC,OAAO,EAAE,aAAa,GAAG,OAAO,IAAI,QAAQ,CAEtE;AAED,qBAAa,YAAa,SAAQ,KAAK;IACnC,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,qBAAa,YAAa,SAAQ,WAAW;IACzC,QAAQ,EAAE,MAAM,CAA+B;IACtC,IAAI;;;MAGX;IACO,WAAW,SAAK;CAC5B;AAED,yBAAiB,YAAY,CAAC;IAC1B,UAAiB,IAAI,CAAC;QACX,MAAM,OAAO,eAAe,CAAC;QAC7B,MAAM,KAAK,cAAc,CAAC;QAC1B,MAAM,QAAQ,iBAAiB,CAAC;QAChC,MAAM,KAAK,cAAc,CAAC;QAC1B,MAAM,IAAI,aAAa,CAAC;QACxB,MAAM,IAAI,aAAa,CAAC;QACxB,MAAM,SAAS,cAAc,CAAC;KACxC;CACJ;AAED,qBAAa,IAAK,SAAQ,aAAc,YAAW,eAAe;IAC9D,MAAM,CAAC,QAAQ,CAAC,gBAAgB,WAAgF;IAEhH,MAAM,EAAE,MAAM,CAAC;IACN,aAAa,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,CAAA;KAAE,CAAC;IAC7D,IAAI;;;MAGX;CACL;AAED,qBAAa,YAAa,SAAQ,eAAgB,YAAW,QAAQ,EAAE,iBAAiB;IACpF,gBAAyB,gBAAgB,WAWvC;IAEF,IAAI,SAAM;IAEV,IAAI,aAAa,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC,GAAG,SAAS,CAM/D;CACJ"}
|
package/lib/model.js
CHANGED
|
@@ -1,21 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
extendStatics(d, b);
|
|
11
|
-
function __() { this.constructor = d; }
|
|
12
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
13
|
-
};
|
|
14
|
-
})();
|
|
15
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.Icon = exports.ActivityNode = exports.WeightedEdge = exports.isTaskNode = exports.TaskNode = void 0;
|
|
3
|
+
exports.CategoryNode = exports.Icon = exports.ActivityNode = exports.WeightedEdge = exports.isTaskNode = exports.TaskNode = void 0;
|
|
17
4
|
/********************************************************************************
|
|
18
|
-
* Copyright (c) 2020 EclipseSource and others.
|
|
5
|
+
* Copyright (c) 2020-2022 EclipseSource and others.
|
|
19
6
|
*
|
|
20
7
|
* This program and the accompanying materials are made available under the
|
|
21
8
|
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
@@ -29,63 +16,56 @@ exports.Icon = exports.ActivityNode = exports.WeightedEdge = exports.isTaskNode
|
|
|
29
16
|
*
|
|
30
17
|
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
31
18
|
********************************************************************************/
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
19
|
+
const client_1 = require("@eclipse-glsp/client");
|
|
20
|
+
class TaskNode extends client_1.RectangularNode {
|
|
21
|
+
get editableLabel() {
|
|
22
|
+
const label = this.children.find(element => element.type === 'label:heading');
|
|
23
|
+
if (label && (0, client_1.isEditableLabel)(label)) {
|
|
24
|
+
return label;
|
|
25
|
+
}
|
|
26
|
+
return undefined;
|
|
39
27
|
}
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
return label;
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
return undefined;
|
|
50
|
-
},
|
|
51
|
-
enumerable: false,
|
|
52
|
-
configurable: true
|
|
53
|
-
});
|
|
54
|
-
TaskNode.DEFAULT_FEATURES = [client_1.connectableFeature, client_1.deletableFeature, client_1.selectFeature, client_1.boundsFeature,
|
|
55
|
-
client_1.moveFeature, client_1.layoutContainerFeature, client_1.fadeFeature, client_1.hoverFeedbackFeature, client_1.popupFeature, client_1.nameFeature, client_1.withEditLabelFeature];
|
|
56
|
-
return TaskNode;
|
|
57
|
-
}(client_1.RectangularNode));
|
|
28
|
+
get name() {
|
|
29
|
+
var _a;
|
|
30
|
+
const labelText = (_a = this.editableLabel) === null || _a === void 0 ? void 0 : _a.text;
|
|
31
|
+
return labelText ? labelText : '<unknown>';
|
|
32
|
+
}
|
|
33
|
+
}
|
|
58
34
|
exports.TaskNode = TaskNode;
|
|
35
|
+
TaskNode.DEFAULT_FEATURES = [
|
|
36
|
+
client_1.connectableFeature,
|
|
37
|
+
client_1.deletableFeature,
|
|
38
|
+
client_1.selectFeature,
|
|
39
|
+
client_1.boundsFeature,
|
|
40
|
+
client_1.moveFeature,
|
|
41
|
+
client_1.layoutContainerFeature,
|
|
42
|
+
client_1.fadeFeature,
|
|
43
|
+
client_1.hoverFeedbackFeature,
|
|
44
|
+
client_1.popupFeature,
|
|
45
|
+
client_1.nameFeature,
|
|
46
|
+
client_1.withEditLabelFeature
|
|
47
|
+
];
|
|
59
48
|
function isTaskNode(element) {
|
|
60
49
|
return element instanceof TaskNode || false;
|
|
61
50
|
}
|
|
62
51
|
exports.isTaskNode = isTaskNode;
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
function WeightedEdge() {
|
|
66
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
67
|
-
}
|
|
68
|
-
return WeightedEdge;
|
|
69
|
-
}(client_1.SEdge));
|
|
52
|
+
class WeightedEdge extends client_1.SEdge {
|
|
53
|
+
}
|
|
70
54
|
exports.WeightedEdge = WeightedEdge;
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
_this.size = {
|
|
55
|
+
class ActivityNode extends client_1.DiamondNode {
|
|
56
|
+
constructor() {
|
|
57
|
+
super(...arguments);
|
|
58
|
+
this.nodeType = ActivityNode.Type.UNDEFINED;
|
|
59
|
+
this.size = {
|
|
77
60
|
width: 32,
|
|
78
61
|
height: 32
|
|
79
62
|
};
|
|
80
|
-
|
|
81
|
-
return _this;
|
|
63
|
+
this.strokeWidth = 1;
|
|
82
64
|
}
|
|
83
|
-
|
|
84
|
-
}(client_1.DiamondNode));
|
|
65
|
+
}
|
|
85
66
|
exports.ActivityNode = ActivityNode;
|
|
86
|
-
// eslint-disable-next-line no-redeclare
|
|
87
67
|
(function (ActivityNode) {
|
|
88
|
-
|
|
68
|
+
let Type;
|
|
89
69
|
(function (Type) {
|
|
90
70
|
Type.INITIAL = 'initalNode';
|
|
91
71
|
Type.FINAL = 'finalNode';
|
|
@@ -96,19 +76,41 @@ exports.ActivityNode = ActivityNode;
|
|
|
96
76
|
Type.UNDEFINED = 'undefined';
|
|
97
77
|
})(Type = ActivityNode.Type || (ActivityNode.Type = {}));
|
|
98
78
|
})(ActivityNode = exports.ActivityNode || (exports.ActivityNode = {}));
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
104
|
-
_this.size = {
|
|
79
|
+
class Icon extends client_1.SShapeElement {
|
|
80
|
+
constructor() {
|
|
81
|
+
super(...arguments);
|
|
82
|
+
this.size = {
|
|
105
83
|
width: 32,
|
|
106
84
|
height: 32
|
|
107
85
|
};
|
|
108
|
-
return _this;
|
|
109
86
|
}
|
|
110
|
-
|
|
111
|
-
return Icon;
|
|
112
|
-
}(client_1.SShapeElement));
|
|
87
|
+
}
|
|
113
88
|
exports.Icon = Icon;
|
|
89
|
+
Icon.DEFAULT_FEATURES = [client_1.boundsFeature, client_1.layoutContainerFeature, client_1.layoutableChildFeature, client_1.fadeFeature];
|
|
90
|
+
class CategoryNode extends client_1.RectangularNode {
|
|
91
|
+
constructor() {
|
|
92
|
+
super(...arguments);
|
|
93
|
+
this.name = '';
|
|
94
|
+
}
|
|
95
|
+
get editableLabel() {
|
|
96
|
+
const label = this.children.find(element => element.type === 'label:heading');
|
|
97
|
+
if (label && (0, client_1.isEditableLabel)(label)) {
|
|
98
|
+
return label;
|
|
99
|
+
}
|
|
100
|
+
return undefined;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
exports.CategoryNode = CategoryNode;
|
|
104
|
+
CategoryNode.DEFAULT_FEATURES = [
|
|
105
|
+
client_1.deletableFeature,
|
|
106
|
+
client_1.selectFeature,
|
|
107
|
+
client_1.boundsFeature,
|
|
108
|
+
client_1.moveFeature,
|
|
109
|
+
client_1.layoutContainerFeature,
|
|
110
|
+
client_1.fadeFeature,
|
|
111
|
+
client_1.hoverFeedbackFeature,
|
|
112
|
+
client_1.popupFeature,
|
|
113
|
+
client_1.nameFeature,
|
|
114
|
+
client_1.withEditLabelFeature
|
|
115
|
+
];
|
|
114
116
|
//# sourceMappingURL=model.js.map
|
package/lib/model.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model.js","sourceRoot":"","sources":["../src/model.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"model.js","sourceRoot":"","sources":["../src/model.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,iDAwB8B;AAE9B,MAAa,QAAS,SAAQ,wBAAe;IAkBzC,IAAI,aAAa;QACb,MAAM,KAAK,GAAG,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,OAAO,CAAC,IAAI,KAAK,eAAe,CAAC,CAAC;QAC9E,IAAI,KAAK,IAAI,IAAA,wBAAe,EAAC,KAAK,CAAC,EAAE;YACjC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,SAAS,CAAC;IACrB,CAAC;IAED,IAAI,IAAI;;QACJ,MAAM,SAAS,GAAG,MAAA,IAAI,CAAC,aAAa,0CAAE,IAAI,CAAC;QAC3C,OAAO,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,WAAW,CAAC;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