@eclipse-glsp/graph 2.2.0-next.93 → 2.2.0-next.95
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/lib/gedge-layoutable.d.ts +2 -2
- package/lib/gedge-layoutable.d.ts.map +1 -1
- package/lib/gedge-layoutable.js.map +1 -1
- package/lib/gissue-marker.d.ts +16 -5
- package/lib/gissue-marker.d.ts.map +1 -1
- package/lib/gissue-marker.js +2 -5
- package/lib/gissue-marker.js.map +1 -1
- package/lib/gshape-element.d.ts +1 -1
- package/package.json +2 -2
- package/src/gedge-layoutable.ts +2 -3
- package/src/gissue-marker.ts +2 -9
- package/src/gshape-element.ts +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/********************************************************************************
|
|
2
|
-
* Copyright (c) 2022-
|
|
2
|
+
* Copyright (c) 2022-2024 STMicroelectronics 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
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
*
|
|
14
14
|
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
15
15
|
********************************************************************************/
|
|
16
|
+
import { EdgeSide } from '@eclipse-glsp/protocol';
|
|
16
17
|
import { GModelElement, GModelElementBuilder } from './gmodel-element';
|
|
17
|
-
export type EdgeSide = 'left' | 'right' | 'top' | 'bottom' | 'on';
|
|
18
18
|
export interface GEdgePlacement {
|
|
19
19
|
rotate: boolean;
|
|
20
20
|
side: EdgeSide;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gedge-layoutable.d.ts","sourceRoot":"","sources":["../src/gedge-layoutable.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAClF,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"gedge-layoutable.d.ts","sourceRoot":"","sources":["../src/gedge-layoutable.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAClF,OAAO,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAEvE,MAAM,WAAW,cAAc;IAC3B,MAAM,EAAE,OAAO,CAAC;IAChB,IAAI,EAAE,QAAQ,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;CAClB;AAED,eAAO,MAAM,eAAe,eAA4B,CAAC;AAEzD,MAAM,WAAW,eAAe;IAC5B,aAAa,CAAC,EAAE,cAAc,CAAC;IAC/B,CAAC,eAAe,CAAC,EAAE,OAAO,CAAC;CAC9B;AAED,wBAAgB,iBAAiB,CAAC,CAAC,SAAS,aAAa,EAAE,OAAO,EAAE,CAAC,GAAG,OAAO,IAAI,CAAC,GAAG,eAAe,CAErG;AAED,MAAM,MAAM,sBAAsB,CAAC,CAAC,SAAS,aAAa,GAAG,aAAa,IAAI,oBAAoB,CAAC,CAAC,GAAG,eAAe,CAAC,CAAC;AAExH,yBAAiB,sBAAsB,CAAC;IACpC,SAAgB,aAAa,CAAC,CAAC,SAAS,sBAAsB,EAAE,OAAO,EAAE,CAAC,EAAE,SAAS,CAAC,EAAE,cAAc,GAAG,CAAC,CAGzG;CACJ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gedge-layoutable.js","sourceRoot":"","sources":["../src/gedge-layoutable.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"gedge-layoutable.js","sourceRoot":"","sources":["../src/gedge-layoutable.ts"],"names":[],"mappings":";;;AAyBa,QAAA,eAAe,GAAG,MAAM,CAAC,iBAAiB,CAAC,CAAC;AAOzD,SAAgB,iBAAiB,CAA0B,OAAU;IACjE,OAAO,uBAAe,IAAI,OAAO,IAAI,OAAO,CAAC,uBAAe,CAAC,KAAK,IAAI,CAAC;AAC3E,CAAC;AAFD,8CAEC;AAID,IAAiB,sBAAsB,CAKtC;AALD,WAAiB,sBAAsB;IACnC,SAAgB,aAAa,CAAmC,OAAU,EAAE,SAA0B;QAClG,OAAO,CAAC,OAAO,CAAC,CAAC,aAAa,GAAG,SAAS,CAAC;QAC3C,OAAO,OAAO,CAAC;IACnB,CAAC;IAHe,oCAAa,gBAG5B,CAAA;AACL,CAAC,EALgB,sBAAsB,sCAAtB,sBAAsB,QAKtC"}
|
package/lib/gissue-marker.d.ts
CHANGED
|
@@ -1,9 +1,20 @@
|
|
|
1
|
+
/********************************************************************************
|
|
2
|
+
* Copyright (c) 2022-2024 STMicroelectronics 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 { GIssue, GIssueSeverity } from '@eclipse-glsp/protocol';
|
|
1
17
|
import { GShapeElement, GShapeElementBuilder } from './gshape-element';
|
|
2
|
-
export type GIssueSeverity = 'error' | 'warning' | 'info';
|
|
3
|
-
export declare class GIssue {
|
|
4
|
-
message: string;
|
|
5
|
-
severity: GIssueSeverity;
|
|
6
|
-
}
|
|
7
18
|
export declare class GIssueMarker extends GShapeElement {
|
|
8
19
|
static builder(): GIssueMarkerBuilder;
|
|
9
20
|
type: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gissue-marker.d.ts","sourceRoot":"","sources":["../src/gissue-marker.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"gissue-marker.d.ts","sourceRoot":"","sources":["../src/gissue-marker.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAClF,OAAO,EAA0B,MAAM,EAAE,cAAc,EAAc,MAAM,wBAAwB,CAAC;AACpG,OAAO,EAAE,aAAa,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAEvE,qBAAa,YAAa,SAAQ,aAAa;IAC3C,MAAM,CAAC,OAAO,IAAI,mBAAmB;IAI5B,IAAI,SAA6B;IAC1C,MAAM,EAAE,MAAM,EAAE,CAAM;CACzB;AAED,qBAAa,mBAAmB,CAAC,CAAC,SAAS,YAAY,GAAG,YAAY,CAAE,SAAQ,oBAAoB,CAAC,CAAC,CAAC;IACnG,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;IAC7B,QAAQ,CAAC,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,GAAG,IAAI;IAUzD,SAAS,CAAC,MAAM,EAAE,MAAM,EAAE,GAAG,IAAI;IACjC,SAAS,CAAC,GAAG,MAAM,EAAE,MAAM,EAAE,GAAG,IAAI;CAKvC"}
|
package/lib/gissue-marker.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GIssueMarkerBuilder = exports.GIssueMarker =
|
|
3
|
+
exports.GIssueMarkerBuilder = exports.GIssueMarker = void 0;
|
|
4
4
|
/********************************************************************************
|
|
5
|
-
* Copyright (c) 2022 STMicroelectronics and others.
|
|
5
|
+
* Copyright (c) 2022-2024 STMicroelectronics and others.
|
|
6
6
|
*
|
|
7
7
|
* This program and the accompanying materials are made available under the
|
|
8
8
|
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
@@ -18,9 +18,6 @@ exports.GIssueMarkerBuilder = exports.GIssueMarker = exports.GIssue = void 0;
|
|
|
18
18
|
********************************************************************************/
|
|
19
19
|
const protocol_1 = require("@eclipse-glsp/protocol");
|
|
20
20
|
const gshape_element_1 = require("./gshape-element");
|
|
21
|
-
class GIssue {
|
|
22
|
-
}
|
|
23
|
-
exports.GIssue = GIssue;
|
|
24
21
|
class GIssueMarker extends gshape_element_1.GShapeElement {
|
|
25
22
|
constructor() {
|
|
26
23
|
super(...arguments);
|
package/lib/gissue-marker.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gissue-marker.js","sourceRoot":"","sources":["../src/gissue-marker.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,
|
|
1
|
+
{"version":3,"file":"gissue-marker.js","sourceRoot":"","sources":["../src/gissue-marker.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,qDAAoG;AACpG,qDAAuE;AAEvE,MAAa,YAAa,SAAQ,8BAAa;IAA/C;;QAKa,SAAI,GAAG,uBAAY,CAAC,YAAY,CAAC;QAC1C,WAAM,GAAa,EAAE,CAAC;IAC1B,CAAC;IANG,MAAM,CAAC,OAAO;QACV,OAAO,IAAI,mBAAmB,CAAC,YAAY,CAAC,CAAC,IAAI,CAAC,uBAAY,CAAC,YAAY,CAAC,CAAC;IACjF,CAAC;CAIJ;AAPD,oCAOC;AAED,MAAa,mBAA2D,SAAQ,qCAAuB;IAGnG,QAAQ,CAAC,cAA+B,EAAE,QAAyB;QAC/D,IAAI,OAAO,cAAc,KAAK,QAAQ,EAAE,CAAC;YACrC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;QAC3C,CAAC;aAAM,IAAI,QAAQ,EAAE,CAAC;YAClB,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,OAAO,EAAE,cAAc,EAAE,QAAQ,EAAE,CAAC,CAAC;QAClE,CAAC;QACD,OAAO,IAAI,CAAC;IAChB,CAAC;IAID,SAAS,CAAC,GAAG,MAA4B;QACrC,IAAA,mBAAQ,EAAC,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;QACpC,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ;AAlBD,kDAkBC"}
|
package/lib/gshape-element.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/********************************************************************************
|
|
2
|
-
* Copyright (c) 2022 STMicroelectronics and others.
|
|
2
|
+
* Copyright (c) 2022-2024 STMicroelectronics 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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eclipse-glsp/graph",
|
|
3
|
-
"version": "2.2.0-next.
|
|
3
|
+
"version": "2.2.0-next.95+a733f72",
|
|
4
4
|
"description": "The typescript implementation of the GLSP graphical model (GModel)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eclipse",
|
|
@@ -57,5 +57,5 @@
|
|
|
57
57
|
"publishConfig": {
|
|
58
58
|
"access": "public"
|
|
59
59
|
},
|
|
60
|
-
"gitHead": "
|
|
60
|
+
"gitHead": "a733f72d957426f7eb20b73ce3bcda217feff80a"
|
|
61
61
|
}
|
package/src/gedge-layoutable.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/********************************************************************************
|
|
2
|
-
* Copyright (c) 2022-
|
|
2
|
+
* Copyright (c) 2022-2024 STMicroelectronics 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
|
|
@@ -13,10 +13,9 @@
|
|
|
13
13
|
*
|
|
14
14
|
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
15
15
|
********************************************************************************/
|
|
16
|
+
import { EdgeSide } from '@eclipse-glsp/protocol';
|
|
16
17
|
import { GModelElement, GModelElementBuilder } from './gmodel-element';
|
|
17
18
|
|
|
18
|
-
export type EdgeSide = 'left' | 'right' | 'top' | 'bottom' | 'on';
|
|
19
|
-
|
|
20
19
|
export interface GEdgePlacement {
|
|
21
20
|
rotate: boolean;
|
|
22
21
|
side: EdgeSide;
|
package/src/gissue-marker.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/********************************************************************************
|
|
2
|
-
* Copyright (c) 2022 STMicroelectronics and others.
|
|
2
|
+
* Copyright (c) 2022-2024 STMicroelectronics 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
|
|
@@ -13,16 +13,9 @@
|
|
|
13
13
|
*
|
|
14
14
|
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
15
15
|
********************************************************************************/
|
|
16
|
-
import { DefaultTypes, flatPush, MaybeArray } from '@eclipse-glsp/protocol';
|
|
16
|
+
import { DefaultTypes, flatPush, GIssue, GIssueSeverity, MaybeArray } from '@eclipse-glsp/protocol';
|
|
17
17
|
import { GShapeElement, GShapeElementBuilder } from './gshape-element';
|
|
18
18
|
|
|
19
|
-
export type GIssueSeverity = 'error' | 'warning' | 'info';
|
|
20
|
-
|
|
21
|
-
export class GIssue {
|
|
22
|
-
message: string;
|
|
23
|
-
severity: GIssueSeverity;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
19
|
export class GIssueMarker extends GShapeElement {
|
|
27
20
|
static builder(): GIssueMarkerBuilder {
|
|
28
21
|
return new GIssueMarkerBuilder(GIssueMarker).type(DefaultTypes.ISSUE_MARKER);
|
package/src/gshape-element.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/********************************************************************************
|
|
2
|
-
* Copyright (c) 2022 STMicroelectronics and others.
|
|
2
|
+
* Copyright (c) 2022-2024 STMicroelectronics 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
|