@eclipse-glsp/sprotty 2.3.0-next.391 → 2.3.0-next.392

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/types.d.ts CHANGED
@@ -1,5 +1,8 @@
1
1
  export declare const TYPES: {
2
+ /** @deprecated Using async providers for container service retrieval is discouraged. Use the `LazyInjector` instead */
3
+ ActionHandlerRegistryProvider: symbol;
2
4
  IAsyncClipboardService: symbol;
5
+ /** @deprecated Async provider is no longer necessary. Either directly inject or use `LazyInjector`*/
3
6
  IEditorContextServiceProvider: symbol;
4
7
  IFeedbackActionDispatcher: symbol;
5
8
  IToolFactory: symbol;
@@ -33,7 +36,6 @@ export declare const TYPES: {
33
36
  IActionDispatcherProvider: symbol;
34
37
  IActionHandlerInitializer: symbol;
35
38
  ActionHandlerRegistration: symbol;
36
- ActionHandlerRegistryProvider: symbol;
37
39
  IAnchorComputer: symbol;
38
40
  AnimationFrameSyncer: symbol;
39
41
  IButtonHandlerRegistration: symbol;
@@ -58,7 +60,7 @@ export declare const TYPES: {
58
60
  HoverState: symbol;
59
61
  KeyListener: symbol;
60
62
  LayoutRegistration: symbol;
61
- LayoutRegistry: symbol;
63
+ LayoutRegistry: symbol; /** @deprecated Use {@link TYPES.IGModelRootListener} instead */
62
64
  Layouter: symbol;
63
65
  LogLevel: symbol;
64
66
  ILogger: symbol;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAwBA,eAAO,MAAM,KAAK;;;;;;;;;IAUd,gEAAgE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsBnE,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAwBA,eAAO,MAAM,KAAK;IAEd,uHAAuH;;;IAGvH,qGAAqG;;;;;;;;IAQrG,gEAAgE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BAAhE,gEAAgE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqBnE,CAAC"}
package/lib/types.js CHANGED
@@ -16,6 +16,7 @@ exports.TYPES = void 0;
16
16
  *
17
17
  * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
18
18
  ********************************************************************************/
19
+ /* eslint-disable deprecation/deprecation */
19
20
  const sprotty_1 = require("sprotty");
20
21
  /**
21
22
  * Reexport of the TYPES namespace of sprotty augments with additional GLSP specific service
@@ -24,7 +25,10 @@ const sprotty_1 = require("sprotty");
24
25
  const IGModelRootListener = Symbol('IGModelRootListener');
25
26
  exports.TYPES = {
26
27
  ...sprotty_1.TYPES,
28
+ /** @deprecated Using async providers for container service retrieval is discouraged. Use the `LazyInjector` instead */
29
+ ActionHandlerRegistryProvider: sprotty_1.TYPES.ActionHandlerRegistryProvider,
27
30
  IAsyncClipboardService: Symbol('IAsyncClipboardService'),
31
+ /** @deprecated Async provider is no longer necessary. Either directly inject or use `LazyInjector`*/
28
32
  IEditorContextServiceProvider: Symbol('IEditorContextProvider'),
29
33
  IFeedbackActionDispatcher: Symbol('IFeedbackActionDispatcher'),
30
34
  IToolFactory: Symbol('Factory<Tool>'),
@@ -33,7 +37,6 @@ exports.TYPES = {
33
37
  IMovementOptions: Symbol('IMovementOptions'),
34
38
  ISelectionListener: Symbol('ISelectionListener'),
35
39
  /** @deprecated Use {@link TYPES.IGModelRootListener} instead */
36
- // eslint-disable-next-line deprecation/deprecation
37
40
  ISModelRootListener: IGModelRootListener,
38
41
  IGModelRootListener: IGModelRootListener,
39
42
  IContextMenuProvider: Symbol('IContextMenuProvider'),
package/lib/types.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,q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B,EAAE,MAAM,CAAC,oBAAoB,CAAC;IAChD,kBAAkB,EAAE,MAAM,CAAC,oBAAoB,CAAC;IAChD,iBAAiB,EAAE,MAAM,CAAC,mBAAmB,CAAC;IAC9C,sBAAsB,EAAE,MAAM,CAAC,wBAAwB,CAAC;IACxD,eAAe,EAAE,MAAM,CAAC,iBAAiB,CAAC;IAC1C,eAAe,EAAE,MAAM,CAAC,iBAAiB,CAAC;IAC1C,YAAY,EAAE,MAAM,CAAC,cAAc,CAAC;IACpC,iBAAiB,EAAE,MAAM,CAAC,mBAAmB,CAAC;IAC9C,oBAAoB,EAAE,MAAM,CAAC,sBAAsB,CAAC;IACpD,YAAY,EAAE,MAAM,CAAC,cAAc,CAAC;IACpC,aAAa,EAAE,MAAM,CAAC,eAAe,CAAC;IACtC,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC;CACvB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eclipse-glsp/sprotty",
3
- "version": "2.3.0-next.391+dd011ea",
3
+ "version": "2.3.0-next.392+68f4eb4",
4
4
  "description": "Augmented reexport of the sprotty API for GLSP",
5
5
  "homepage": "https://www.eclipse.org/glsp/",
6
6
  "bugs": "https://github.com/eclipse-glsp/glsp/issues",
@@ -33,7 +33,7 @@
33
33
  "watch": "tsc -w"
34
34
  },
35
35
  "dependencies": {
36
- "@eclipse-glsp/protocol": "2.3.0-next.391+dd011ea",
36
+ "@eclipse-glsp/protocol": "2.3.0-next.392+68f4eb4",
37
37
  "autocompleter": "^9.1.0",
38
38
  "snabbdom": "~3.5.1",
39
39
  "sprotty": "1.3.0",
@@ -51,5 +51,5 @@
51
51
  "publishConfig": {
52
52
  "access": "public"
53
53
  },
54
- "gitHead": "dd011eae4f7a629cc2431e5e6d832ddb9483554b"
54
+ "gitHead": "68f4eb43bd9da4b9812d6766fdcdc9761f54e1e7"
55
55
  }
package/src/types.ts CHANGED
@@ -13,6 +13,7 @@
13
13
  *
14
14
  * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
15
  ********************************************************************************/
16
+ /* eslint-disable deprecation/deprecation */
16
17
  import { TYPES as SprottyTYPES } from 'sprotty';
17
18
 
18
19
  /**
@@ -21,10 +22,12 @@ import { TYPES as SprottyTYPES } from 'sprotty';
21
22
  */
22
23
 
23
24
  const IGModelRootListener = Symbol('IGModelRootListener');
24
-
25
25
  export const TYPES = {
26
26
  ...SprottyTYPES,
27
+ /** @deprecated Using async providers for container service retrieval is discouraged. Use the `LazyInjector` instead */
28
+ ActionHandlerRegistryProvider: SprottyTYPES.ActionHandlerRegistryProvider,
27
29
  IAsyncClipboardService: Symbol('IAsyncClipboardService'),
30
+ /** @deprecated Async provider is no longer necessary. Either directly inject or use `LazyInjector`*/
28
31
  IEditorContextServiceProvider: Symbol('IEditorContextProvider'),
29
32
  IFeedbackActionDispatcher: Symbol('IFeedbackActionDispatcher'),
30
33
  IToolFactory: Symbol('Factory<Tool>'),
@@ -33,7 +36,6 @@ export const TYPES = {
33
36
  IMovementOptions: Symbol('IMovementOptions'),
34
37
  ISelectionListener: Symbol('ISelectionListener'),
35
38
  /** @deprecated Use {@link TYPES.IGModelRootListener} instead */
36
- // eslint-disable-next-line deprecation/deprecation
37
39
  ISModelRootListener: IGModelRootListener,
38
40
  IGModelRootListener: IGModelRootListener,
39
41
  IContextMenuProvider: Symbol('IContextMenuProvider'),