@eclipse-glsp/client 2.2.0-next.331 → 2.2.0-next.333
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/css/debug.css +25 -0
- package/css/grid.css +20 -0
- package/css/keyboard-tool-palette.css +0 -6
- package/css/tool-palette.css +30 -26
- package/lib/base/model/diagram-loader.d.ts.map +1 -1
- package/lib/base/model/diagram-loader.js +6 -1
- package/lib/base/model/diagram-loader.js.map +1 -1
- package/lib/features/accessibility/keyboard-tool-palette/keyboard-tool-palette.d.ts.map +1 -1
- package/lib/features/accessibility/keyboard-tool-palette/keyboard-tool-palette.js +21 -7
- package/lib/features/accessibility/keyboard-tool-palette/keyboard-tool-palette.js.map +1 -1
- package/lib/features/accessibility/resize-key-tool/resize-key-handler.d.ts +2 -4
- package/lib/features/accessibility/resize-key-tool/resize-key-handler.d.ts.map +1 -1
- package/lib/features/accessibility/resize-key-tool/resize-key-handler.js +11 -7
- package/lib/features/accessibility/resize-key-tool/resize-key-handler.js.map +1 -1
- package/lib/features/accessibility/view-key-tools/movement-key-tool.d.ts +5 -6
- package/lib/features/accessibility/view-key-tools/movement-key-tool.d.ts.map +1 -1
- package/lib/features/accessibility/view-key-tools/movement-key-tool.js +12 -8
- package/lib/features/accessibility/view-key-tools/movement-key-tool.js.map +1 -1
- package/lib/features/change-bounds/snap.d.ts +1 -22
- package/lib/features/change-bounds/snap.d.ts.map +1 -1
- package/lib/features/change-bounds/snap.js +1 -37
- package/lib/features/change-bounds/snap.js.map +1 -1
- package/lib/features/debug/debug-bounds-decorator.d.ts +35 -0
- package/lib/features/debug/debug-bounds-decorator.d.ts.map +1 -0
- package/lib/features/debug/debug-bounds-decorator.js +149 -0
- package/lib/features/debug/debug-bounds-decorator.js.map +1 -0
- package/lib/features/debug/debug-manager.d.ts +29 -0
- package/lib/features/debug/debug-manager.d.ts.map +1 -0
- package/lib/features/debug/debug-manager.js +72 -0
- package/lib/features/debug/debug-manager.js.map +1 -0
- package/lib/features/debug/debug-model.d.ts +37 -0
- package/lib/features/debug/debug-model.d.ts.map +1 -0
- package/lib/features/debug/debug-model.js +73 -0
- package/lib/features/debug/debug-model.js.map +1 -0
- package/lib/features/debug/debug-module.d.ts +19 -0
- package/lib/features/debug/debug-module.d.ts.map +1 -0
- package/lib/features/debug/debug-module.js +31 -0
- package/lib/features/debug/debug-module.js.map +1 -0
- package/lib/features/debug/index.d.ts +20 -0
- package/lib/features/debug/index.d.ts.map +1 -0
- package/lib/features/debug/index.js +36 -0
- package/lib/features/debug/index.js.map +1 -0
- package/lib/features/grid/grid-manager.d.ts +32 -0
- package/lib/features/grid/grid-manager.d.ts.map +1 -0
- package/lib/features/grid/grid-manager.js +74 -0
- package/lib/features/grid/grid-manager.js.map +1 -0
- package/lib/features/grid/grid-model.d.ts +37 -0
- package/lib/features/grid/grid-model.d.ts.map +1 -0
- package/lib/features/grid/grid-model.js +73 -0
- package/lib/features/grid/grid-model.js.map +1 -0
- package/lib/features/grid/grid-module.d.ts +19 -0
- package/lib/features/grid/grid-module.d.ts.map +1 -0
- package/lib/features/grid/grid-module.js +32 -0
- package/lib/features/grid/grid-module.js.map +1 -0
- package/lib/features/grid/grid-snapper.d.ts +45 -0
- package/lib/features/grid/grid-snapper.d.ts.map +1 -0
- package/lib/features/grid/grid-snapper.js +83 -0
- package/lib/features/grid/grid-snapper.js.map +1 -0
- package/lib/features/grid/grid.d.ts +18 -0
- package/lib/features/grid/grid.d.ts.map +1 -0
- package/lib/features/grid/grid.js +3 -0
- package/lib/features/grid/grid.js.map +1 -0
- package/lib/features/grid/index.d.ts +21 -0
- package/lib/features/grid/index.d.ts.map +1 -0
- package/lib/features/grid/index.js +37 -0
- package/lib/features/grid/index.js.map +1 -0
- package/lib/features/helper-lines/helper-line-manager-default.d.ts +4 -1
- package/lib/features/helper-lines/helper-line-manager-default.d.ts.map +1 -1
- package/lib/features/helper-lines/helper-line-manager-default.js +11 -1
- package/lib/features/helper-lines/helper-line-manager-default.js.map +1 -1
- package/lib/features/index.d.ts +2 -0
- package/lib/features/index.d.ts.map +1 -1
- package/lib/features/index.js +2 -0
- package/lib/features/index.js.map +1 -1
- package/lib/features/tool-palette/tool-palette.d.ts +7 -0
- package/lib/features/tool-palette/tool-palette.d.ts.map +1 -1
- package/lib/features/tool-palette/tool-palette.js +80 -2
- package/lib/features/tool-palette/tool-palette.js.map +1 -1
- package/lib/features/viewport/index.d.ts +1 -0
- package/lib/features/viewport/index.d.ts.map +1 -1
- package/lib/features/viewport/index.js +1 -0
- package/lib/features/viewport/index.js.map +1 -1
- package/lib/features/viewport/origin-viewport.d.ts +36 -0
- package/lib/features/viewport/origin-viewport.d.ts.map +1 -0
- package/lib/features/viewport/origin-viewport.js +75 -0
- package/lib/features/viewport/origin-viewport.js.map +1 -0
- package/lib/features/viewport/viewport-handler.d.ts +6 -4
- package/lib/features/viewport/viewport-handler.d.ts.map +1 -1
- package/lib/features/viewport/viewport-handler.js +13 -8
- package/lib/features/viewport/viewport-handler.js.map +1 -1
- package/lib/features/viewport/viewport-modules.d.ts.map +1 -1
- package/lib/features/viewport/viewport-modules.js +4 -2
- package/lib/features/viewport/viewport-modules.js.map +1 -1
- package/lib/views/base-view-module.d.ts.map +1 -1
- package/lib/views/base-view-module.js +3 -2
- package/lib/views/base-view-module.js.map +1 -1
- package/lib/views/ggraph-view.d.ts +26 -0
- package/lib/views/ggraph-view.d.ts.map +1 -0
- package/lib/views/ggraph-view.js +71 -0
- package/lib/views/ggraph-view.js.map +1 -0
- package/lib/views/glsp-projection-view.d.ts +6 -1
- package/lib/views/glsp-projection-view.d.ts.map +1 -1
- package/lib/views/glsp-projection-view.js +30 -6
- package/lib/views/glsp-projection-view.js.map +1 -1
- package/lib/views/index.d.ts +1 -0
- package/lib/views/index.d.ts.map +1 -1
- package/lib/views/index.js +1 -0
- package/lib/views/index.js.map +1 -1
- package/package.json +3 -3
- package/src/base/model/diagram-loader.ts +5 -1
- package/src/features/accessibility/keyboard-tool-palette/keyboard-tool-palette.ts +24 -7
- package/src/features/accessibility/resize-key-tool/resize-key-handler.ts +9 -9
- package/src/features/accessibility/view-key-tools/movement-key-tool.ts +13 -11
- package/src/features/change-bounds/{snap.spec.ts → point-position-updater.spec.ts} +1 -12
- package/src/features/change-bounds/snap.ts +1 -24
- package/src/features/debug/debug-bounds-decorator.tsx +171 -0
- package/src/features/debug/debug-manager.ts +56 -0
- package/src/features/debug/debug-model.ts +63 -0
- package/src/features/debug/debug-module.ts +32 -0
- package/src/features/debug/index.ts +19 -0
- package/src/features/grid/grid-manager.ts +60 -0
- package/src/features/grid/grid-model.ts +62 -0
- package/src/features/grid/grid-module.ts +34 -0
- package/src/features/grid/grid-snapper.spec.ts +30 -0
- package/src/features/grid/grid-snapper.ts +59 -0
- package/src/features/grid/grid.ts +18 -0
- package/src/features/grid/index.ts +20 -0
- package/src/features/helper-lines/helper-line-manager-default.ts +10 -2
- package/src/features/index.ts +2 -0
- package/src/features/tool-palette/tool-palette.ts +80 -3
- package/src/features/viewport/index.ts +1 -0
- package/src/features/viewport/origin-viewport.ts +68 -0
- package/src/features/viewport/viewport-handler.ts +13 -7
- package/src/features/viewport/viewport-modules.ts +4 -2
- package/src/views/base-view-module.ts +3 -3
- package/src/views/ggraph-view.tsx +56 -0
- package/src/views/glsp-projection-view.tsx +34 -7
- package/src/views/index.ts +1 -0
|
@@ -13,28 +13,7 @@
|
|
|
13
13
|
*
|
|
14
14
|
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
15
15
|
********************************************************************************/
|
|
16
|
-
import {
|
|
17
|
-
/**
|
|
18
|
-
* A {@link ISnapper} implementation that snaps all elements onto a fixed gride size.
|
|
19
|
-
* The default grid size is 10x10 pixel.
|
|
20
|
-
* To configure a custom grid size bind the `TYPES.ISnapper` service identifier
|
|
21
|
-
* to constant value, e.g:
|
|
22
|
-
*
|
|
23
|
-
* ```ts
|
|
24
|
-
* bind(TYPES.ISnapper).toConstantValue(new GridSnapper({x:25 ,y:25 }));
|
|
25
|
-
* ```
|
|
26
|
-
*/
|
|
27
|
-
export declare class GridSnapper implements ISnapper {
|
|
28
|
-
grid: {
|
|
29
|
-
x: number;
|
|
30
|
-
y: number;
|
|
31
|
-
};
|
|
32
|
-
constructor(grid?: {
|
|
33
|
-
x: number;
|
|
34
|
-
y: number;
|
|
35
|
-
});
|
|
36
|
-
snap(position: Point, _element: GModelElement): Point;
|
|
37
|
-
}
|
|
16
|
+
import { KeyboardModifier } from '@eclipse-glsp/sprotty';
|
|
38
17
|
export declare function useSnap(event: MouseEvent | KeyboardEvent): boolean;
|
|
39
18
|
export declare function unsnapModifier(): KeyboardModifier;
|
|
40
19
|
//# sourceMappingURL=snap.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"snap.d.ts","sourceRoot":"","sources":["../../../src/features/change-bounds/snap.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAElF,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"snap.d.ts","sourceRoot":"","sources":["../../../src/features/change-bounds/snap.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAElF,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAEzD,wBAAgB,OAAO,CAAC,KAAK,EAAE,UAAU,GAAG,aAAa,GAAG,OAAO,CAElE;AAED,wBAAgB,cAAc,IAAI,gBAAgB,CAEjD"}
|
|
@@ -1,42 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.unsnapModifier = exports.useSnap =
|
|
13
|
-
const inversify_1 = require("inversify");
|
|
14
|
-
/**
|
|
15
|
-
* A {@link ISnapper} implementation that snaps all elements onto a fixed gride size.
|
|
16
|
-
* The default grid size is 10x10 pixel.
|
|
17
|
-
* To configure a custom grid size bind the `TYPES.ISnapper` service identifier
|
|
18
|
-
* to constant value, e.g:
|
|
19
|
-
*
|
|
20
|
-
* ```ts
|
|
21
|
-
* bind(TYPES.ISnapper).toConstantValue(new GridSnapper({x:25 ,y:25 }));
|
|
22
|
-
* ```
|
|
23
|
-
*/
|
|
24
|
-
let GridSnapper = class GridSnapper {
|
|
25
|
-
constructor(grid = { x: 10, y: 10 }) {
|
|
26
|
-
this.grid = grid;
|
|
27
|
-
}
|
|
28
|
-
snap(position, _element) {
|
|
29
|
-
return {
|
|
30
|
-
x: Math.round(position.x / this.grid.x) * this.grid.x,
|
|
31
|
-
y: Math.round(position.y / this.grid.y) * this.grid.y
|
|
32
|
-
};
|
|
33
|
-
}
|
|
34
|
-
};
|
|
35
|
-
exports.GridSnapper = GridSnapper;
|
|
36
|
-
exports.GridSnapper = GridSnapper = __decorate([
|
|
37
|
-
(0, inversify_1.injectable)(),
|
|
38
|
-
__metadata("design:paramtypes", [Object])
|
|
39
|
-
], GridSnapper);
|
|
3
|
+
exports.unsnapModifier = exports.useSnap = void 0;
|
|
40
4
|
function useSnap(event) {
|
|
41
5
|
return !event.shiftKey;
|
|
42
6
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"snap.js","sourceRoot":"","sources":["../../../src/features/change-bounds/snap.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"snap.js","sourceRoot":"","sources":["../../../src/features/change-bounds/snap.ts"],"names":[],"mappings":";;;AAkBA,SAAgB,OAAO,CAAC,KAAiC;IACrD,OAAO,CAAC,KAAK,CAAC,QAAQ,CAAC;AAC3B,CAAC;AAFD,0BAEC;AAED,SAAgB,cAAc;IAC1B,OAAO,OAAO,CAAC;AACnB,CAAC;AAFD,wCAEC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/********************************************************************************
|
|
2
|
+
* Copyright (c) 2024 Axon Ivy AG and others.
|
|
3
|
+
*
|
|
4
|
+
* This program and the accompanying materials are made available under the
|
|
5
|
+
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
6
|
+
* http://www.eclipse.org/legal/epl-2.0.
|
|
7
|
+
*
|
|
8
|
+
* This Source Code may also be made available under the following Secondary
|
|
9
|
+
* Licenses when the conditions for such availability set forth in the Eclipse
|
|
10
|
+
* Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
11
|
+
* with the GNU Classpath Exception which is available at
|
|
12
|
+
* https://www.gnu.org/software/classpath/license.html.
|
|
13
|
+
*
|
|
14
|
+
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
15
|
+
********************************************************************************/
|
|
16
|
+
import { GModelElement, IVNodePostprocessor } from '@eclipse-glsp/sprotty';
|
|
17
|
+
import { VNode } from 'snabbdom';
|
|
18
|
+
import { GGraph } from '../../model';
|
|
19
|
+
import { BoundsAwareModelElement } from '../../utils';
|
|
20
|
+
import { DebugManager } from './debug-manager';
|
|
21
|
+
export declare class DebugBoundsDecorator implements IVNodePostprocessor {
|
|
22
|
+
protected debugManager?: DebugManager;
|
|
23
|
+
decorate(vnode: VNode, element: GModelElement): VNode;
|
|
24
|
+
postUpdate(): void;
|
|
25
|
+
protected get decorationSize(): number;
|
|
26
|
+
protected decorateGraph(vnode: VNode, graph: GGraph): void;
|
|
27
|
+
protected renderOrigin(graph: GGraph): VNode;
|
|
28
|
+
protected decorateBoundsAware(vnode: VNode, element: BoundsAwareModelElement): void;
|
|
29
|
+
protected renderTopLeftCorner(element: BoundsAwareModelElement): VNode;
|
|
30
|
+
protected renderTopRightCorner(element: BoundsAwareModelElement): VNode;
|
|
31
|
+
protected renderBottomLeftCorner(element: BoundsAwareModelElement): VNode;
|
|
32
|
+
protected renderBottomRightCorner(element: BoundsAwareModelElement): VNode;
|
|
33
|
+
protected renderCenter(element: BoundsAwareModelElement): VNode;
|
|
34
|
+
}
|
|
35
|
+
//# sourceMappingURL=debug-bounds-decorator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"debug-bounds-decorator.d.ts","sourceRoot":"","sources":["../../../src/features/debug/debug-bounds-decorator.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAGlF,OAAO,EAAU,aAAa,EAAE,mBAAmB,EAA8C,MAAM,uBAAuB,CAAC;AAE/H,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AACjC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AACtD,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAK/C,qBACa,oBAAqB,YAAW,mBAAmB;IACnB,SAAS,CAAC,YAAY,CAAC,EAAE,YAAY,CAAC;IAE/E,QAAQ,CAAC,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,aAAa,GAAG,KAAK;IAarD,UAAU,IAAI,IAAI;IAElB,SAAS,KAAK,cAAc,IAAI,MAAM,CAErC;IAED,SAAS,CAAC,aAAa,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI;IAO1D,SAAS,CAAC,YAAY,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK;IAY5C,SAAS,CAAC,mBAAmB,CAAC,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,uBAAuB,GAAG,IAAI;IASnF,SAAS,CAAC,mBAAmB,CAAC,OAAO,EAAE,uBAAuB,GAAG,KAAK;IAiBtE,SAAS,CAAC,oBAAoB,CAAC,OAAO,EAAE,uBAAuB,GAAG,KAAK;IAiBvE,SAAS,CAAC,sBAAsB,CAAC,OAAO,EAAE,uBAAuB,GAAG,KAAK;IAiBzE,SAAS,CAAC,uBAAuB,CAAC,OAAO,EAAE,uBAAuB,GAAG,KAAK;IAiB1E,SAAS,CAAC,YAAY,CAAC,OAAO,EAAE,uBAAuB,GAAG,KAAK;CAwBlE"}
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/********************************************************************************
|
|
3
|
+
* Copyright (c) 2024 Axon Ivy AG and others.
|
|
4
|
+
*
|
|
5
|
+
* This program and the accompanying materials are made available under the
|
|
6
|
+
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
7
|
+
* http://www.eclipse.org/legal/epl-2.0.
|
|
8
|
+
*
|
|
9
|
+
* This Source Code may also be made available under the following Secondary
|
|
10
|
+
* Licenses when the conditions for such availability set forth in the Eclipse
|
|
11
|
+
* Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
12
|
+
* with the GNU Classpath Exception which is available at
|
|
13
|
+
* https://www.gnu.org/software/classpath/license.html.
|
|
14
|
+
*
|
|
15
|
+
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
16
|
+
********************************************************************************/
|
|
17
|
+
/* eslint-disable max-len */
|
|
18
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
19
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
20
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
21
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
22
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
23
|
+
};
|
|
24
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
25
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.DebugBoundsDecorator = void 0;
|
|
29
|
+
const sprotty_1 = require("@eclipse-glsp/sprotty");
|
|
30
|
+
const inversify_1 = require("inversify");
|
|
31
|
+
const model_1 = require("../../model");
|
|
32
|
+
const debug_manager_1 = require("./debug-manager");
|
|
33
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
34
|
+
const JSX = { createElement: sprotty_1.svg };
|
|
35
|
+
let DebugBoundsDecorator = class DebugBoundsDecorator {
|
|
36
|
+
decorate(vnode, element) {
|
|
37
|
+
var _a;
|
|
38
|
+
if (!((_a = this.debugManager) === null || _a === void 0 ? void 0 : _a.isDebugEnabled)) {
|
|
39
|
+
return vnode;
|
|
40
|
+
}
|
|
41
|
+
if ((0, sprotty_1.isBoundsAware)(element)) {
|
|
42
|
+
this.decorateBoundsAware(vnode, element);
|
|
43
|
+
}
|
|
44
|
+
if (element instanceof model_1.GGraph) {
|
|
45
|
+
this.decorateGraph(vnode, element);
|
|
46
|
+
}
|
|
47
|
+
return vnode;
|
|
48
|
+
}
|
|
49
|
+
postUpdate() { }
|
|
50
|
+
get decorationSize() {
|
|
51
|
+
return 5;
|
|
52
|
+
}
|
|
53
|
+
decorateGraph(vnode, graph) {
|
|
54
|
+
var _a, _b, _c;
|
|
55
|
+
(0, sprotty_1.setClass)(vnode, 'debug-bounds', true);
|
|
56
|
+
const svgChild = (_a = vnode.children) === null || _a === void 0 ? void 0 : _a.find(child => typeof child !== 'string' && child.sel === 'svg');
|
|
57
|
+
const group = (_b = svgChild === null || svgChild === void 0 ? void 0 : svgChild.children) === null || _b === void 0 ? void 0 : _b.find(child => typeof child !== 'string' && child.sel === 'g');
|
|
58
|
+
(_c = group === null || group === void 0 ? void 0 : group.children) === null || _c === void 0 ? void 0 : _c.push(this.renderOrigin(graph));
|
|
59
|
+
}
|
|
60
|
+
renderOrigin(graph) {
|
|
61
|
+
return (JSX.createElement("polyline", { "class-debug-bounds-decoration": true, "class-debug-bounds-origin": true, points: `0,${this.decorationSize} 0,0 ${this.decorationSize},0` },
|
|
62
|
+
JSX.createElement("title", null, "Origin = x: 0, y: 0")));
|
|
63
|
+
}
|
|
64
|
+
decorateBoundsAware(vnode, element) {
|
|
65
|
+
var _a, _b, _c, _d, _e;
|
|
66
|
+
(0, sprotty_1.setClass)(vnode, 'debug-bounds', true);
|
|
67
|
+
(_a = vnode.children) === null || _a === void 0 ? void 0 : _a.push(this.renderTopLeftCorner(element));
|
|
68
|
+
(_b = vnode.children) === null || _b === void 0 ? void 0 : _b.push(this.renderTopRightCorner(element));
|
|
69
|
+
(_c = vnode.children) === null || _c === void 0 ? void 0 : _c.push(this.renderBottomLeftCorner(element));
|
|
70
|
+
(_d = vnode.children) === null || _d === void 0 ? void 0 : _d.push(this.renderBottomRightCorner(element));
|
|
71
|
+
(_e = vnode.children) === null || _e === void 0 ? void 0 : _e.push(this.renderCenter(element));
|
|
72
|
+
}
|
|
73
|
+
renderTopLeftCorner(element) {
|
|
74
|
+
const position = sprotty_1.Bounds.topLeft(element.bounds);
|
|
75
|
+
const topLeft = sprotty_1.Bounds.topLeft(element.bounds);
|
|
76
|
+
const corner = sprotty_1.Point.subtract(topLeft, position);
|
|
77
|
+
return (JSX.createElement("polyline", { "class-debug-bounds-decoration": true, "class-debug-bounds-top-left": true, points: `${corner.x},${corner.y + this.decorationSize} ${corner.x},${corner.y} ${corner.x + this.decorationSize},${corner.y}` },
|
|
78
|
+
JSX.createElement("title", null,
|
|
79
|
+
"Top Left = x: ",
|
|
80
|
+
topLeft.x,
|
|
81
|
+
", y: ",
|
|
82
|
+
topLeft.y)));
|
|
83
|
+
}
|
|
84
|
+
renderTopRightCorner(element) {
|
|
85
|
+
const position = sprotty_1.Bounds.topLeft(element.bounds);
|
|
86
|
+
const topRight = sprotty_1.Bounds.topRight(element.bounds);
|
|
87
|
+
const corner = sprotty_1.Point.subtract(topRight, position);
|
|
88
|
+
return (JSX.createElement("polyline", { "class-debug-bounds-decoration": true, "class-debug-bounds-top-right": true, points: `${corner.x - this.decorationSize},${corner.y} ${corner.x},${corner.y} ${corner.x},${corner.y + this.decorationSize}` },
|
|
89
|
+
JSX.createElement("title", null,
|
|
90
|
+
"Top Right = x: ",
|
|
91
|
+
topRight.x,
|
|
92
|
+
", y: ",
|
|
93
|
+
topRight.y)));
|
|
94
|
+
}
|
|
95
|
+
renderBottomLeftCorner(element) {
|
|
96
|
+
const position = sprotty_1.Bounds.topLeft(element.bounds);
|
|
97
|
+
const bottomLeft = sprotty_1.Bounds.bottomLeft(element.bounds);
|
|
98
|
+
const corner = sprotty_1.Point.subtract(bottomLeft, position);
|
|
99
|
+
return (JSX.createElement("polyline", { "class-debug-bounds-decoration": true, "class-debug-bounds-bottom-left": true, points: `${corner.x},${corner.y - this.decorationSize} ${corner.x},${corner.y} ${corner.x + this.decorationSize},${corner.y}` },
|
|
100
|
+
JSX.createElement("title", null,
|
|
101
|
+
"Bottom Left = x: ",
|
|
102
|
+
bottomLeft.x,
|
|
103
|
+
", y: ",
|
|
104
|
+
bottomLeft.y)));
|
|
105
|
+
}
|
|
106
|
+
renderBottomRightCorner(element) {
|
|
107
|
+
const position = sprotty_1.Bounds.topLeft(element.bounds);
|
|
108
|
+
const bottomRight = sprotty_1.Bounds.bottomRight(element.bounds);
|
|
109
|
+
const corner = sprotty_1.Point.subtract(bottomRight, position);
|
|
110
|
+
return (JSX.createElement("polyline", { "class-debug-bounds-decoration": true, "class-debug-bounds-bottom-right": true, points: `${corner.x - this.decorationSize},${corner.y} ${corner.x},${corner.y} ${corner.x},${corner.y - this.decorationSize}` },
|
|
111
|
+
JSX.createElement("title", null,
|
|
112
|
+
"Bottom Right = x: ",
|
|
113
|
+
bottomRight.x,
|
|
114
|
+
", y: ",
|
|
115
|
+
bottomRight.y)));
|
|
116
|
+
}
|
|
117
|
+
renderCenter(element) {
|
|
118
|
+
const bounds = element.bounds;
|
|
119
|
+
const position = sprotty_1.Bounds.topLeft(bounds);
|
|
120
|
+
const center = sprotty_1.Bounds.center(bounds);
|
|
121
|
+
const corner = sprotty_1.Point.subtract(center, position);
|
|
122
|
+
return (JSX.createElement("g", null,
|
|
123
|
+
JSX.createElement("title", null,
|
|
124
|
+
"Center = x: ",
|
|
125
|
+
center.x,
|
|
126
|
+
", y: ",
|
|
127
|
+
center.y,
|
|
128
|
+
"\rBounds = x: ",
|
|
129
|
+
bounds.x,
|
|
130
|
+
", y: ",
|
|
131
|
+
bounds.y,
|
|
132
|
+
", width: ",
|
|
133
|
+
bounds.width,
|
|
134
|
+
", height: ",
|
|
135
|
+
bounds.height),
|
|
136
|
+
JSX.createElement("polyline", { "class-debug-bounds-decoration": true, "class-debug-bounds-center": true, points: `${corner.x - this.decorationSize / 2},${corner.y - this.decorationSize / 2} ${corner.x + this.decorationSize / 2},${corner.y + this.decorationSize / 2}` }),
|
|
137
|
+
JSX.createElement("polyline", { "class-debug-bounds-decoration": true, "class-debug-bounds-center": true, points: `${corner.x + this.decorationSize / 2},${corner.y - this.decorationSize / 2} ${corner.x - this.decorationSize / 2},${corner.y + this.decorationSize / 2}` })));
|
|
138
|
+
}
|
|
139
|
+
};
|
|
140
|
+
exports.DebugBoundsDecorator = DebugBoundsDecorator;
|
|
141
|
+
__decorate([
|
|
142
|
+
(0, inversify_1.inject)(sprotty_1.TYPES.IDebugManager),
|
|
143
|
+
(0, inversify_1.optional)(),
|
|
144
|
+
__metadata("design:type", debug_manager_1.DebugManager)
|
|
145
|
+
], DebugBoundsDecorator.prototype, "debugManager", void 0);
|
|
146
|
+
exports.DebugBoundsDecorator = DebugBoundsDecorator = __decorate([
|
|
147
|
+
(0, inversify_1.injectable)()
|
|
148
|
+
], DebugBoundsDecorator);
|
|
149
|
+
//# sourceMappingURL=debug-bounds-decorator.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"debug-bounds-decorator.js","sourceRoot":"","sources":["../../../src/features/debug/debug-bounds-decorator.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;kFAckF;AAClF,4BAA4B;;;;;;;;;;;;AAE5B,mDAA+H;AAC/H,yCAAyD;AAEzD,uCAAqC;AAErC,mDAA+C;AAE/C,6DAA6D;AAC7D,MAAM,GAAG,GAAG,EAAE,aAAa,EAAE,aAAG,EAAE,CAAC;AAG5B,IAAM,oBAAoB,GAA1B,MAAM,oBAAoB;IAG7B,QAAQ,CAAC,KAAY,EAAE,OAAsB;;QACzC,IAAI,CAAC,CAAA,MAAA,IAAI,CAAC,YAAY,0CAAE,cAAc,CAAA,EAAE,CAAC;YACrC,OAAO,KAAK,CAAC;QACjB,CAAC;QACD,IAAI,IAAA,uBAAa,EAAC,OAAO,CAAC,EAAE,CAAC;YACzB,IAAI,CAAC,mBAAmB,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;QAC7C,CAAC;QACD,IAAI,OAAO,YAAY,cAAM,EAAE,CAAC;YAC5B,IAAI,CAAC,aAAa,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;QACvC,CAAC;QACD,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,UAAU,KAAU,CAAC;IAErB,IAAc,cAAc;QACxB,OAAO,CAAC,CAAC;IACb,CAAC;IAES,aAAa,CAAC,KAAY,EAAE,KAAa;;QAC/C,IAAA,kBAAQ,EAAC,KAAK,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;QACtC,MAAM,QAAQ,GAAG,MAAA,KAAK,CAAC,QAAQ,0CAAE,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,OAAO,KAAK,KAAK,QAAQ,IA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BAAoB;IADhC,IAAA,sBAAU,GAAE;GACA,oBAAoB,CA8IhC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/********************************************************************************
|
|
2
|
+
* Copyright (c) 2024 Axon Ivy AG and others.
|
|
3
|
+
*
|
|
4
|
+
* This program and the accompanying materials are made available under the
|
|
5
|
+
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
6
|
+
* http://www.eclipse.org/legal/epl-2.0.
|
|
7
|
+
*
|
|
8
|
+
* This Source Code may also be made available under the following Secondary
|
|
9
|
+
* Licenses when the conditions for such availability set forth in the Eclipse
|
|
10
|
+
* Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
11
|
+
* with the GNU Classpath Exception which is available at
|
|
12
|
+
* https://www.gnu.org/software/classpath/license.html.
|
|
13
|
+
*
|
|
14
|
+
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
15
|
+
********************************************************************************/
|
|
16
|
+
import { IActionHandler } from '@eclipse-glsp/sprotty';
|
|
17
|
+
import { FeedbackEmitter, IFeedbackActionDispatcher } from '../../base';
|
|
18
|
+
import { EnableDebugModeAction } from './debug-model';
|
|
19
|
+
export declare class DebugManager implements IActionHandler {
|
|
20
|
+
protected _debugEnabled: boolean;
|
|
21
|
+
protected debugFeedback: FeedbackEmitter;
|
|
22
|
+
protected feedbackDispatcher: IFeedbackActionDispatcher;
|
|
23
|
+
get isDebugEnabled(): boolean;
|
|
24
|
+
handle(action: EnableDebugModeAction): void;
|
|
25
|
+
protected init(): void;
|
|
26
|
+
setDebugEnabled(visible: boolean): void;
|
|
27
|
+
toggleDebugEnabled(): void;
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=debug-manager.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"debug-manager.d.ts","sourceRoot":"","sources":["../../../src/features/debug/debug-manager.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAElF,OAAO,EAAE,cAAc,EAAS,MAAM,uBAAuB,CAAC;AAE9D,OAAO,EAAE,eAAe,EAAE,yBAAyB,EAAE,MAAM,YAAY,CAAC;AACxE,OAAO,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;AAEtD,qBACa,YAAa,YAAW,cAAc;IAC/C,SAAS,CAAC,aAAa,EAAE,OAAO,CAAS;IACzC,SAAS,CAAC,aAAa,EAAE,eAAe,CAAC;IAGzC,SAAS,CAAC,kBAAkB,EAAE,yBAAyB,CAAC;IAExD,IAAI,cAAc,IAAI,OAAO,CAE5B;IAED,MAAM,CAAC,MAAM,EAAE,qBAAqB,GAAG,IAAI;IAK3C,SAAS,CAAC,IAAI,IAAI,IAAI;IAItB,eAAe,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI;IAUvC,kBAAkB,IAAI,IAAI;CAG7B"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/********************************************************************************
|
|
3
|
+
* Copyright (c) 2024 Axon Ivy AG and others.
|
|
4
|
+
*
|
|
5
|
+
* This program and the accompanying materials are made available under the
|
|
6
|
+
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
7
|
+
* http://www.eclipse.org/legal/epl-2.0.
|
|
8
|
+
*
|
|
9
|
+
* This Source Code may also be made available under the following Secondary
|
|
10
|
+
* Licenses when the conditions for such availability set forth in the Eclipse
|
|
11
|
+
* Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
12
|
+
* with the GNU Classpath Exception which is available at
|
|
13
|
+
* https://www.gnu.org/software/classpath/license.html.
|
|
14
|
+
*
|
|
15
|
+
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
16
|
+
********************************************************************************/
|
|
17
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
18
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
19
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
20
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
21
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
22
|
+
};
|
|
23
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
24
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
25
|
+
};
|
|
26
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
|
+
exports.DebugManager = void 0;
|
|
28
|
+
const sprotty_1 = require("@eclipse-glsp/sprotty");
|
|
29
|
+
const inversify_1 = require("inversify");
|
|
30
|
+
const debug_model_1 = require("./debug-model");
|
|
31
|
+
let DebugManager = class DebugManager {
|
|
32
|
+
constructor() {
|
|
33
|
+
this._debugEnabled = false;
|
|
34
|
+
}
|
|
35
|
+
get isDebugEnabled() {
|
|
36
|
+
return this._debugEnabled;
|
|
37
|
+
}
|
|
38
|
+
handle(action) {
|
|
39
|
+
this._debugEnabled = action.enable;
|
|
40
|
+
}
|
|
41
|
+
init() {
|
|
42
|
+
this.debugFeedback = this.feedbackDispatcher.createEmitter();
|
|
43
|
+
}
|
|
44
|
+
setDebugEnabled(visible) {
|
|
45
|
+
if (!visible) {
|
|
46
|
+
this.debugFeedback.dispose();
|
|
47
|
+
}
|
|
48
|
+
else {
|
|
49
|
+
this.debugFeedback
|
|
50
|
+
.add(debug_model_1.EnableDebugModeAction.create({ enable: true }), debug_model_1.EnableDebugModeAction.create({ enable: false }))
|
|
51
|
+
.submit();
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
toggleDebugEnabled() {
|
|
55
|
+
this.setDebugEnabled(!this._debugEnabled);
|
|
56
|
+
}
|
|
57
|
+
};
|
|
58
|
+
exports.DebugManager = DebugManager;
|
|
59
|
+
__decorate([
|
|
60
|
+
(0, inversify_1.inject)(sprotty_1.TYPES.IFeedbackActionDispatcher),
|
|
61
|
+
__metadata("design:type", Object)
|
|
62
|
+
], DebugManager.prototype, "feedbackDispatcher", void 0);
|
|
63
|
+
__decorate([
|
|
64
|
+
(0, inversify_1.postConstruct)(),
|
|
65
|
+
__metadata("design:type", Function),
|
|
66
|
+
__metadata("design:paramtypes", []),
|
|
67
|
+
__metadata("design:returntype", void 0)
|
|
68
|
+
], DebugManager.prototype, "init", null);
|
|
69
|
+
exports.DebugManager = DebugManager = __decorate([
|
|
70
|
+
(0, inversify_1.injectable)()
|
|
71
|
+
], DebugManager);
|
|
72
|
+
//# sourceMappingURL=debug-manager.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"debug-manager.js","sourceRoot":"","sources":["../../../src/features/debug/debug-manager.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;kFAckF;;;;;;;;;;;;AAElF,mDAA8D;AAC9D,yCAA8D;AAE9D,+CAAsD;AAG/C,IAAM,YAAY,GAAlB,MAAM,YAAY;IAAlB;QACO,kBAAa,GAAY,KAAK,CAAC;IAgC7C,CAAC;IA1BG,IAAI,cAAc;QACd,OAAO,IAAI,CAAC,aAAa,CAAC;IAC9B,CAAC;IAED,MAAM,CAAC,MAA6B;QAChC,IAAI,CAAC,aAAa,GAAG,MAAM,CAAC,MAAM,CAAC;IACvC,CAAC;IAGS,IAAI;QACV,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC,kBAAkB,CAAC,aAAa,EAAE,CAAC;IACjE,CAAC;IAED,eAAe,CAAC,OAAgB;QAC5B,IAAI,CAAC,OAAO,EAAE,CAAC;YACX,IAAI,CAAC,aAAa,CAAC,OAAO,EAAE,CAAC;QACjC,CAAC;aAAM,CAAC;YACJ,IAAI,CAAC,aAAa;iBACb,GAAG,CAAC,mCAAqB,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,EAAE,mCAAqB,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,CAAC;iBACpG,MAAM,EAAE,CAAC;QAClB,CAAC;IACL,CAAC;IAED,kBAAkB;QACd,IAAI,CAAC,eAAe,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;IAC9C,CAAC;CACJ,CAAA;AAjCY,oCAAY;AAKX;IADT,IAAA,kBAAM,EAAC,eAAK,CAAC,yBAAyB,CAAC;;wDACgB;AAW9C;IADT,IAAA,yBAAa,GAAE;;;;wCAGf;uBAlBQ,YAAY;IADxB,IAAA,sBAAU,GAAE;GACA,YAAY,CAiCxB"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/********************************************************************************
|
|
2
|
+
* Copyright (c) 2024 Axon Ivy AG and others.
|
|
3
|
+
*
|
|
4
|
+
* This program and the accompanying materials are made available under the
|
|
5
|
+
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
6
|
+
* http://www.eclipse.org/legal/epl-2.0.
|
|
7
|
+
*
|
|
8
|
+
* This Source Code may also be made available under the following Secondary
|
|
9
|
+
* Licenses when the conditions for such availability set forth in the Eclipse
|
|
10
|
+
* Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
11
|
+
* with the GNU Classpath Exception which is available at
|
|
12
|
+
* https://www.gnu.org/software/classpath/license.html.
|
|
13
|
+
*
|
|
14
|
+
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
15
|
+
********************************************************************************/
|
|
16
|
+
import { Action, CommandExecutionContext, CommandReturn, GModelRoot } from '@eclipse-glsp/sprotty';
|
|
17
|
+
import { FeedbackCommand } from '../../base';
|
|
18
|
+
export interface EnableDebugModeAction extends Action {
|
|
19
|
+
kind: typeof EnableDebugModeAction.KIND;
|
|
20
|
+
enable: boolean;
|
|
21
|
+
}
|
|
22
|
+
export declare namespace EnableDebugModeAction {
|
|
23
|
+
const KIND = "enableDebugMode";
|
|
24
|
+
const CSS_ROOT_CLASS = "debug-mode";
|
|
25
|
+
function is(object: any): object is EnableDebugModeAction;
|
|
26
|
+
function create(options: {
|
|
27
|
+
enable: boolean;
|
|
28
|
+
}): EnableDebugModeAction;
|
|
29
|
+
}
|
|
30
|
+
export declare class EnableDebugModeCommand extends FeedbackCommand {
|
|
31
|
+
protected readonly action: EnableDebugModeAction;
|
|
32
|
+
static readonly KIND = "enableDebugMode";
|
|
33
|
+
constructor(action: EnableDebugModeAction);
|
|
34
|
+
execute(context: CommandExecutionContext): CommandReturn;
|
|
35
|
+
protected setDebugMode(root: GModelRoot, show: boolean): CommandReturn;
|
|
36
|
+
}
|
|
37
|
+
//# sourceMappingURL=debug-model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"debug-model.d.ts","sourceRoot":"","sources":["../../../src/features/debug/debug-model.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAElF,OAAO,EAAE,MAAM,EAAE,uBAAuB,EAAE,aAAa,EAAE,UAAU,EAAyB,MAAM,uBAAuB,CAAC;AAE1H,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAG7C,MAAM,WAAW,qBAAsB,SAAQ,MAAM;IACjD,IAAI,EAAE,OAAO,qBAAqB,CAAC,IAAI,CAAC;IACxC,MAAM,EAAE,OAAO,CAAC;CACnB;AAED,yBAAiB,qBAAqB,CAAC;IAC5B,MAAM,IAAI,oBAAoB,CAAC;IAC/B,MAAM,cAAc,eAAe,CAAC;IAE3C,SAAgB,EAAE,CAAC,MAAM,EAAE,GAAG,GAAG,MAAM,IAAI,qBAAqB,CAE/D;IAED,SAAgB,MAAM,CAAC,OAAO,EAAE;QAAE,MAAM,EAAE,OAAO,CAAA;KAAE,GAAG,qBAAqB,CAK1E;CACJ;AAED,qBACa,sBAAuB,SAAQ,eAAe;IAGrB,SAAS,CAAC,QAAQ,CAAC,MAAM,EAAE,qBAAqB;IAFlF,MAAM,CAAC,QAAQ,CAAC,IAAI,qBAA8B;gBAEG,MAAM,EAAE,qBAAqB;IAIlF,OAAO,CAAC,OAAO,EAAE,uBAAuB,GAAG,aAAa;IAIxD,SAAS,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,OAAO,GAAG,aAAa;CAQzE"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/********************************************************************************
|
|
3
|
+
* Copyright (c) 2024 Axon Ivy AG and others.
|
|
4
|
+
*
|
|
5
|
+
* This program and the accompanying materials are made available under the
|
|
6
|
+
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
7
|
+
* http://www.eclipse.org/legal/epl-2.0.
|
|
8
|
+
*
|
|
9
|
+
* This Source Code may also be made available under the following Secondary
|
|
10
|
+
* Licenses when the conditions for such availability set forth in the Eclipse
|
|
11
|
+
* Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
12
|
+
* with the GNU Classpath Exception which is available at
|
|
13
|
+
* https://www.gnu.org/software/classpath/license.html.
|
|
14
|
+
*
|
|
15
|
+
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
16
|
+
********************************************************************************/
|
|
17
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
18
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
19
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
20
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
21
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
22
|
+
};
|
|
23
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
24
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
25
|
+
};
|
|
26
|
+
var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
27
|
+
return function (target, key) { decorator(target, key, paramIndex); }
|
|
28
|
+
};
|
|
29
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
|
+
exports.EnableDebugModeCommand = exports.EnableDebugModeAction = void 0;
|
|
31
|
+
const sprotty_1 = require("@eclipse-glsp/sprotty");
|
|
32
|
+
const inversify_1 = require("inversify");
|
|
33
|
+
const base_1 = require("../../base");
|
|
34
|
+
const utils_1 = require("../../utils");
|
|
35
|
+
var EnableDebugModeAction;
|
|
36
|
+
(function (EnableDebugModeAction) {
|
|
37
|
+
EnableDebugModeAction.KIND = 'enableDebugMode';
|
|
38
|
+
EnableDebugModeAction.CSS_ROOT_CLASS = 'debug-mode';
|
|
39
|
+
function is(object) {
|
|
40
|
+
return sprotty_1.Action.hasKind(object, EnableDebugModeAction.KIND) && (0, sprotty_1.hasBooleanProp)(object, 'enable');
|
|
41
|
+
}
|
|
42
|
+
EnableDebugModeAction.is = is;
|
|
43
|
+
function create(options) {
|
|
44
|
+
return Object.assign({ kind: EnableDebugModeAction.KIND }, options);
|
|
45
|
+
}
|
|
46
|
+
EnableDebugModeAction.create = create;
|
|
47
|
+
})(EnableDebugModeAction || (exports.EnableDebugModeAction = EnableDebugModeAction = {}));
|
|
48
|
+
let EnableDebugModeCommand = class EnableDebugModeCommand extends base_1.FeedbackCommand {
|
|
49
|
+
constructor(action) {
|
|
50
|
+
super();
|
|
51
|
+
this.action = action;
|
|
52
|
+
}
|
|
53
|
+
execute(context) {
|
|
54
|
+
return this.setDebugMode(context.root, this.action.enable);
|
|
55
|
+
}
|
|
56
|
+
setDebugMode(root, show) {
|
|
57
|
+
if (show) {
|
|
58
|
+
(0, utils_1.addCssClasses)(root, [EnableDebugModeAction.CSS_ROOT_CLASS]);
|
|
59
|
+
}
|
|
60
|
+
else {
|
|
61
|
+
(0, utils_1.removeCssClasses)(root, [EnableDebugModeAction.CSS_ROOT_CLASS]);
|
|
62
|
+
}
|
|
63
|
+
return root;
|
|
64
|
+
}
|
|
65
|
+
};
|
|
66
|
+
exports.EnableDebugModeCommand = EnableDebugModeCommand;
|
|
67
|
+
EnableDebugModeCommand.KIND = EnableDebugModeAction.KIND;
|
|
68
|
+
exports.EnableDebugModeCommand = EnableDebugModeCommand = __decorate([
|
|
69
|
+
(0, inversify_1.injectable)(),
|
|
70
|
+
__param(0, (0, inversify_1.inject)(sprotty_1.TYPES.Action)),
|
|
71
|
+
__metadata("design:paramtypes", [Object])
|
|
72
|
+
], EnableDebugModeCommand);
|
|
73
|
+
//# sourceMappingURL=debug-model.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"debug-model.js","sourceRoot":"","sources":["../../../src/features/debug/debug-model.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;kFAckF;;;;;;;;;;;;;;;AAElF,mDAA0H;AAC1H,yCAA+C;AAC/C,qCAA6C;AAC7C,uCAA8D;AAO9D,IAAiB,qBAAqB,CAcrC;AAdD,WAAiB,qBAAqB;IACrB,0BAAI,GAAG,iBAAiB,CAAC;IACzB,oCAAc,GAAG,YAAY,CAAC;IAE3C,SAAgB,EAAE,CAAC,MAAW;QAC1B,OAAO,gBAAM,CAAC,OAAO,CAAC,MAAM,EAAE,sBAAA,IAAI,CAAC,IAAI,IAAA,wBAAc,EAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;IAC5E,CAAC;IAFe,wBAAE,KAEjB,CAAA;IAED,SAAgB,MAAM,CAAC,OAA4B;QAC/C,uBACI,IAAI,EAAE,qBAAqB,CAAC,IAAI,IAC7B,OAAO,EACZ;IACN,CAAC;IALe,4BAAM,SAKrB,CAAA;AACL,CAAC,EAdgB,qBAAqB,qCAArB,qBAAqB,QAcrC;AAGM,IAAM,sBAAsB,GAA5B,MAAM,sBAAuB,SAAQ,sBAAe;IAGvD,YAAqD,MAA6B;QAC9E,KAAK,EAAE,CAAC;QADyC,WAAM,GAAN,MAAM,CAAuB;IAElF,CAAC;IAED,OAAO,CAAC,OAAgC;QACpC,OAAO,IAAI,CAAC,YAAY,CAAC,OAAO,CAAC,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC/D,CAAC;IAES,YAAY,CAAC,IAAgB,EAAE,IAAa;QAClD,IAAI,IAAI,EAAE,CAAC;YACP,IAAA,qBAAa,EAAC,IAAI,EAAE,CAAC,qBAAqB,CAAC,cAAc,CAAC,CAAC,CAAC;QAChE,CAAC;aAAM,CAAC;YACJ,IAAA,wBAAgB,EAAC,IAAI,EAAE,CAAC,qBAAqB,CAAC,cAAc,CAAC,CAAC,CAAC;QACnE,CAAC;QACD,OAAO,IAAI,CAAC;IAChB,CAAC;;AAlBQ,wDAAsB;AACf,2BAAI,GAAG,qBAAqB,CAAC,IAAI,AAA7B,CAA8B;iCADzC,sBAAsB;IADlC,IAAA,sBAAU,GAAE;IAII,WAAA,IAAA,kBAAM,EAAC,eAAK,CAAC,MAAM,CAAC,CAAA;;GAHxB,sBAAsB,CAmBlC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/********************************************************************************
|
|
2
|
+
* Copyright (c) 2024 Axon Ivy AG and others.
|
|
3
|
+
*
|
|
4
|
+
* This program and the accompanying materials are made available under the
|
|
5
|
+
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
6
|
+
* http://www.eclipse.org/legal/epl-2.0.
|
|
7
|
+
*
|
|
8
|
+
* This Source Code may also be made available under the following Secondary
|
|
9
|
+
* Licenses when the conditions for such availability set forth in the Eclipse
|
|
10
|
+
* Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
11
|
+
* with the GNU Classpath Exception which is available at
|
|
12
|
+
* https://www.gnu.org/software/classpath/license.html.
|
|
13
|
+
*
|
|
14
|
+
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
15
|
+
********************************************************************************/
|
|
16
|
+
import { FeatureModule } from '@eclipse-glsp/sprotty';
|
|
17
|
+
import '../../../css/debug.css';
|
|
18
|
+
export declare const debugModule: FeatureModule;
|
|
19
|
+
//# sourceMappingURL=debug-module.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"debug-module.d.ts","sourceRoot":"","sources":["../../../src/features/debug/debug-module.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAElF,OAAO,EAAE,aAAa,EAAkE,MAAM,uBAAuB,CAAC;AACtH,OAAO,wBAAwB,CAAC;AAKhC,eAAO,MAAM,WAAW,eAStB,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/********************************************************************************
|
|
3
|
+
* Copyright (c) 2024 Axon Ivy AG and others.
|
|
4
|
+
*
|
|
5
|
+
* This program and the accompanying materials are made available under the
|
|
6
|
+
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
7
|
+
* http://www.eclipse.org/legal/epl-2.0.
|
|
8
|
+
*
|
|
9
|
+
* This Source Code may also be made available under the following Secondary
|
|
10
|
+
* Licenses when the conditions for such availability set forth in the Eclipse
|
|
11
|
+
* Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
12
|
+
* with the GNU Classpath Exception which is available at
|
|
13
|
+
* https://www.gnu.org/software/classpath/license.html.
|
|
14
|
+
*
|
|
15
|
+
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
16
|
+
********************************************************************************/
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.debugModule = void 0;
|
|
19
|
+
const sprotty_1 = require("@eclipse-glsp/sprotty");
|
|
20
|
+
require("../../../css/debug.css");
|
|
21
|
+
const debug_bounds_decorator_1 = require("./debug-bounds-decorator");
|
|
22
|
+
const debug_manager_1 = require("./debug-manager");
|
|
23
|
+
const debug_model_1 = require("./debug-model");
|
|
24
|
+
exports.debugModule = new sprotty_1.FeatureModule((bind, unbind, isBound, rebind) => {
|
|
25
|
+
const context = { bind, unbind, isBound, rebind };
|
|
26
|
+
(0, sprotty_1.configureCommand)(context, debug_model_1.EnableDebugModeCommand);
|
|
27
|
+
(0, sprotty_1.bindAsService)(bind, sprotty_1.TYPES.IDebugManager, debug_manager_1.DebugManager);
|
|
28
|
+
(0, sprotty_1.configureActionHandler)(context, debug_model_1.EnableDebugModeAction.KIND, debug_manager_1.DebugManager);
|
|
29
|
+
(0, sprotty_1.bindAsService)(context, sprotty_1.TYPES.IVNodePostprocessor, debug_bounds_decorator_1.DebugBoundsDecorator);
|
|
30
|
+
});
|
|
31
|
+
//# sourceMappingURL=debug-module.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"debug-module.js","sourceRoot":"","sources":["../../../src/features/debug/debug-module.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;kFAckF;;;AAElF,mDAAsH;AACtH,kCAAgC;AAChC,qEAAgE;AAChE,mDAA+C;AAC/C,+CAA8E;AAEjE,QAAA,WAAW,GAAG,IAAI,uBAAa,CAAC,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE;IAC3E,MAAM,OAAO,GAAG,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,CAAC;IAElD,IAAA,0BAAgB,EAAC,OAAO,EAAE,oCAAsB,CAAC,CAAC;IAElD,IAAA,uBAAa,EAAC,IAAI,EAAE,eAAK,CAAC,aAAa,EAAE,4BAAY,CAAC,CAAC;IACvD,IAAA,gCAAsB,EAAC,OAAO,EAAE,mCAAqB,CAAC,IAAI,EAAE,4BAAY,CAAC,CAAC;IAE1E,IAAA,uBAAa,EAAC,OAAO,EAAE,eAAK,CAAC,mBAAmB,EAAE,6CAAoB,CAAC,CAAC;AAC5E,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/********************************************************************************
|
|
2
|
+
* Copyright (c) 2024 Axon Ivy AG and others.
|
|
3
|
+
*
|
|
4
|
+
* This program and the accompanying materials are made available under the
|
|
5
|
+
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
6
|
+
* http://www.eclipse.org/legal/epl-2.0.
|
|
7
|
+
*
|
|
8
|
+
* This Source Code may also be made available under the following Secondary
|
|
9
|
+
* Licenses when the conditions for such availability set forth in the Eclipse
|
|
10
|
+
* Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
11
|
+
* with the GNU Classpath Exception which is available at
|
|
12
|
+
* https://www.gnu.org/software/classpath/license.html.
|
|
13
|
+
*
|
|
14
|
+
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
15
|
+
********************************************************************************/
|
|
16
|
+
export * from './debug-bounds-decorator';
|
|
17
|
+
export * from './debug-manager';
|
|
18
|
+
export * from './debug-model';
|
|
19
|
+
export * from './debug-module';
|
|
20
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/features/debug/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAClF,cAAc,0BAA0B,CAAC;AACzC,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC"}
|