@eclipse-glsp/vscode-integration-webview 2.7.0-next.0 → 2.7.0-next.1

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.
@@ -1,5 +1,5 @@
1
1
  /********************************************************************************
2
- * Copyright (c) 2023-2024 EclipseSource and others.
2
+ * Copyright (c) 2023-2026 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
@@ -12,7 +12,7 @@
12
12
  * https://www.gnu.org/software/classpath/license.html.
13
13
  *
14
14
  * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
- ********************************************************************************/
15
+ */
16
16
  import { Action, GLSPModelSource } from '@eclipse-glsp/client';
17
17
  /**
18
18
  * A helper interface that allows the webview to mark actions that have been received directly from the vscode extension
@@ -1 +1 @@
1
- {"version":3,"file":"vscode-glsp-modelsource.d.ts","sourceRoot":"","sources":["../../../src/features/default/vscode-glsp-modelsource.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAElF,OAAO,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAG/D;;;;;GAKG;AACH,MAAM,WAAW,eAAgB,SAAQ,MAAM;IAC3C,eAAe,EAAE,IAAI,CAAC;CACzB;AAED,yBAAiB,eAAe,CAAC;IAC7B;;SAEK;IACL,SAAgB,EAAE,CAAC,MAAM,EAAE,OAAO,GAAG,MAAM,IAAI,eAAe,CAE7D;IAED;;;;;OAKG;IACH,SAAgB,IAAI,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAEzC;CACJ;AAED;;;;;GAKG;AACH,qBACa,qBAAsB,SAAQ,eAAe;CAAG"}
1
+ {"version":3,"file":"vscode-glsp-modelsource.d.ts","sourceRoot":"","sources":["../../../src/features/default/vscode-glsp-modelsource.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAG/D;;;;;GAKG;AACH,MAAM,WAAW,eAAgB,SAAQ,MAAM;IAC3C,eAAe,EAAE,IAAI,CAAC;CACzB;AAED,yBAAiB,eAAe,CAAC;IAC7B;;SAEK;IAEL,SAAgB,EAAE,CAAC,MAAM,EAAE,OAAO,GAAG,MAAM,IAAI,eAAe,CAE7D;IAED;;;;;OAKG;IACH,SAAgB,IAAI,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAGzC;CACJ;AAED;;;;;GAKG;AACH,qBACa,qBAAsB,SAAQ,eAAe;CAAG"}
@@ -1,14 +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
- Object.defineProperty(exports, "__esModule", { value: true });
9
- exports.VsCodeGLSPModelSource = exports.ExtensionAction = void 0;
10
2
  /********************************************************************************
11
- * Copyright (c) 2023-2024 EclipseSource and others.
3
+ * Copyright (c) 2023-2026 EclipseSource and others.
12
4
  *
13
5
  * This program and the accompanying materials are made available under the
14
6
  * terms of the Eclipse Public License v. 2.0 which is available at
@@ -21,8 +13,15 @@ exports.VsCodeGLSPModelSource = exports.ExtensionAction = void 0;
21
13
  * https://www.gnu.org/software/classpath/license.html.
22
14
  *
23
15
  * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
24
- ********************************************************************************/
25
- /* eslint-disable deprecation/deprecation */
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
+ Object.defineProperty(exports, "__esModule", { value: true });
24
+ exports.VsCodeGLSPModelSource = exports.ExtensionAction = void 0;
26
25
  const client_1 = require("@eclipse-glsp/client");
27
26
  const inversify_1 = require("inversify");
28
27
  var ExtensionAction;
@@ -30,6 +29,7 @@ var ExtensionAction;
30
29
  /**
31
30
  * @deprecated The concept of marking actions as locally dispatched `ExtensionAction`s is no longer necessary and usage is discouraged.
32
31
  * */
32
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
33
33
  function is(object) {
34
34
  return client_1.Action.is(object) && '__localDispatch' in object && object.__localDispatch === true;
35
35
  }
@@ -41,6 +41,7 @@ var ExtensionAction;
41
41
  * @deprecated The concept of marking actions as locally dispatched `ExtensionAction`s is no longer necessary and usage is discouraged.
42
42
  */
43
43
  function mark(action) {
44
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
44
45
  action.__localDispatch = true;
45
46
  }
46
47
  ExtensionAction.mark = mark;
@@ -1 +1 @@
1
- {"version":3,"file":"vscode-glsp-modelsource.js","sourceRoot":"","sources":["../../../src/features/default/vscode-glsp-modelsource.ts"],"names":[],"mappings":";;;;;;;;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,4CAA4C;AAC5C,iDAA+D;AAC/D,yCAAuC;AAYvC,IAAiB,eAAe,CAiB/B;AAjBD,WAAiB,eAAe;IAC5B;;SAEK;IACL,SAAgB,EAAE,CAAC,MAAe;QAC9B,OAAO,eAAM,CAAC,EAAE,CAAC,MAAM,CAAC,IAAI,iBAAiB,IAAI,MAAM,IAAI,MAAM,CAAC,eAAe,KAAK,IAAI,CAAC;IAC/F,CAAC;IAFe,kBAAE,KAEjB,CAAA;IAED;;;;;OAKG;IACH,SAAgB,IAAI,CAAC,MAAc;QAC9B,MAA0B,CAAC,eAAe,GAAG,IAAI,CAAC;IACvD,CAAC;IAFe,oBAAI,OAEnB,CAAA;AACL,CAAC,EAjBgB,eAAe,+BAAf,eAAe,QAiB/B;AAED;;;;;GAKG;AAEI,IAAM,qBAAqB,GAA3B,MAAM,qBAAsB,SAAQ,wBAAe;CAAG,CAAA;AAAhD,sDAAqB;gCAArB,qBAAqB;IADjC,IAAA,sBAAU,GAAE;GACA,qBAAqB,CAA2B"}
1
+ {"version":3,"file":"vscode-glsp-modelsource.js","sourceRoot":"","sources":["../../../src/features/default/vscode-glsp-modelsource.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;AAEH,iDAA+D;AAC/D,yCAAuC;AAYvC,IAAiB,eAAe,CAmB/B;AAnBD,WAAiB,eAAe;IAC5B;;SAEK;IACL,4DAA4D;IAC5D,SAAgB,EAAE,CAAC,MAAe;QAC9B,OAAO,eAAM,CAAC,EAAE,CAAC,MAAM,CAAC,IAAI,iBAAiB,IAAI,MAAM,IAAI,MAAM,CAAC,eAAe,KAAK,IAAI,CAAC;IAC/F,CAAC;IAFe,kBAAE,KAEjB,CAAA;IAED;;;;;OAKG;IACH,SAAgB,IAAI,CAAC,MAAc;QAC/B,4DAA4D;QAC3D,MAA0B,CAAC,eAAe,GAAG,IAAI,CAAC;IACvD,CAAC;IAHe,oBAAI,OAGnB,CAAA;AACL,CAAC,EAnBgB,eAAe,+BAAf,eAAe,QAmB/B;AAED;;;;;GAKG;AAEI,IAAM,qBAAqB,GAA3B,MAAM,qBAAsB,SAAQ,wBAAe;CAAG,CAAA;AAAhD,sDAAqB;gCAArB,qBAAqB;IADjC,IAAA,sBAAU,GAAE;GACA,qBAAqB,CAA2B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eclipse-glsp/vscode-integration-webview",
3
- "version": "2.7.0-next.0+3199fd5",
3
+ "version": "2.7.0-next.1+ab46e72",
4
4
  "description": "Integration of a GLSP diagram in a VS Code extensions (WebView part)",
5
5
  "keywords": [
6
6
  "vscode",
@@ -37,7 +37,7 @@
37
37
  "build": "tsc -b",
38
38
  "clean": "rimraf lib tsconfig.tsbuildinfo ",
39
39
  "generate:index": "glsp generateIndex src -s -f",
40
- "lint": "eslint --ext .ts,.tsx ./src",
40
+ "lint": "eslint ./src",
41
41
  "watch": "tsc -w"
42
42
  },
43
43
  "dependencies": {
@@ -51,5 +51,5 @@
51
51
  "publishConfig": {
52
52
  "access": "public"
53
53
  },
54
- "gitHead": "3199fd5e5d46d9d5a43d87cc1f57ebcfa7e26455"
54
+ "gitHead": "ab46e724bec16a7de1598b16f4216057e0e61aa0"
55
55
  }
@@ -1,5 +1,5 @@
1
1
  /********************************************************************************
2
- * Copyright (c) 2023-2024 EclipseSource and others.
2
+ * Copyright (c) 2023-2026 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
@@ -12,8 +12,8 @@
12
12
  * https://www.gnu.org/software/classpath/license.html.
13
13
  *
14
14
  * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
- ********************************************************************************/
16
- /* eslint-disable deprecation/deprecation */
15
+ */
16
+
17
17
  import { Action, GLSPModelSource } from '@eclipse-glsp/client';
18
18
  import { injectable } from 'inversify';
19
19
 
@@ -31,6 +31,7 @@ export namespace ExtensionAction {
31
31
  /**
32
32
  * @deprecated The concept of marking actions as locally dispatched `ExtensionAction`s is no longer necessary and usage is discouraged.
33
33
  * */
34
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
34
35
  export function is(object: unknown): object is ExtensionAction {
35
36
  return Action.is(object) && '__localDispatch' in object && object.__localDispatch === true;
36
37
  }
@@ -42,6 +43,7 @@ export namespace ExtensionAction {
42
43
  * @deprecated The concept of marking actions as locally dispatched `ExtensionAction`s is no longer necessary and usage is discouraged.
43
44
  */
44
45
  export function mark(action: Action): void {
46
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
45
47
  (action as ExtensionAction).__localDispatch = true;
46
48
  }
47
49
  }