@eclipse-glsp/client 2.5.0-next.424 → 2.5.0-next.425
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.
|
@@ -34,7 +34,7 @@ const editor_context_service_1 = require("../../base/editor-context-service");
|
|
|
34
34
|
*/
|
|
35
35
|
let TriggerLayoutActionHandler = class TriggerLayoutActionHandler {
|
|
36
36
|
handle(action) {
|
|
37
|
-
return sprotty_1.LayoutOperation.create(
|
|
37
|
+
return sprotty_1.LayoutOperation.create(this.editorContext.get().selectedElementIds, {
|
|
38
38
|
args: action.args,
|
|
39
39
|
canvasBounds: this.editorContext.canvasBounds,
|
|
40
40
|
viewport: this.editorContext.viewportData
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trigger-layout-action-handler.js","sourceRoot":"","sources":["../../../src/features/layout/trigger-layout-action-handler.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,mDAA+G;AAC/G,yCAA+C;AAC/C,8EAAyE;AAEzE;;;GAGG;AAEI,IAAM,0BAA0B,GAAhC,MAAM,0BAA0B;IAGnC,MAAM,CAAC,MAA2B;QAC9B,OAAO,yBAAe,CAAC,MAAM,CAAC,EAAE,EAAE;
|
|
1
|
+
{"version":3,"file":"trigger-layout-action-handler.js","sourceRoot":"","sources":["../../../src/features/layout/trigger-layout-action-handler.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,mDAA+G;AAC/G,yCAA+C;AAC/C,8EAAyE;AAEzE;;;GAGG;AAEI,IAAM,0BAA0B,GAAhC,MAAM,0BAA0B;IAGnC,MAAM,CAAC,MAA2B;QAC9B,OAAO,yBAAe,CAAC,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC,GAAG,EAAE,CAAC,kBAAkB,EAAE;YACvE,IAAI,EAAE,MAAM,CAAC,IAAI;YACjB,YAAY,EAAE,IAAI,CAAC,aAAa,CAAC,YAAY;YAC7C,QAAQ,EAAE,IAAI,CAAC,aAAa,CAAC,YAAY;SAC5C,CAAC,CAAC;IACP,CAAC;CACJ,CAAA;AAVY,gEAA0B;AACK;IAAvC,IAAA,kBAAM,EAAC,6CAAoB,CAAC;8BAA0B,6CAAoB;iEAAC;qCADnE,0BAA0B;IADtC,IAAA,sBAAU,GAAE;GACA,0BAA0B,CAUtC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eclipse-glsp/client",
|
|
3
|
-
"version": "2.5.0-next.
|
|
3
|
+
"version": "2.5.0-next.425+5d87dc7",
|
|
4
4
|
"description": "A sprotty-based client for GLSP",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eclipse",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"watch": "tsc -w"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@eclipse-glsp/sprotty": "2.5.0-next.
|
|
49
|
+
"@eclipse-glsp/sprotty": "2.5.0-next.425+5d87dc7",
|
|
50
50
|
"autocompleter": "^9.1.2",
|
|
51
51
|
"file-saver": "^2.0.5",
|
|
52
52
|
"lodash": "4.17.21",
|
|
@@ -63,5 +63,5 @@
|
|
|
63
63
|
"publishConfig": {
|
|
64
64
|
"access": "public"
|
|
65
65
|
},
|
|
66
|
-
"gitHead": "
|
|
66
|
+
"gitHead": "5d87dc7ba43da31c519d03c7291c824df6c59d31"
|
|
67
67
|
}
|
|
@@ -26,7 +26,7 @@ export class TriggerLayoutActionHandler implements IActionHandler {
|
|
|
26
26
|
@inject(EditorContextService) protected editorContext: EditorContextService;
|
|
27
27
|
|
|
28
28
|
handle(action: TriggerLayoutAction): ICommand | Action | void {
|
|
29
|
-
return LayoutOperation.create(
|
|
29
|
+
return LayoutOperation.create(this.editorContext.get().selectedElementIds, {
|
|
30
30
|
args: action.args,
|
|
31
31
|
canvasBounds: this.editorContext.canvasBounds,
|
|
32
32
|
viewport: this.editorContext.viewportData
|