@eclipse-glsp/sprotty 2.2.0-next.325 → 2.2.0-next.328

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.
@@ -21,7 +21,6 @@ export declare const edgeIntersectionModule: FeatureModule;
21
21
  export declare const edgeLayoutModule: FeatureModule;
22
22
  export declare const expandModule: FeatureModule;
23
23
  export declare const fadeModule: FeatureModule;
24
- export declare const labelEditUiModule: FeatureModule;
25
24
  export declare const modelSourceModule: FeatureModule;
26
25
  export declare const moveModule: FeatureModule;
27
26
  export declare const openModule: FeatureModule;
@@ -1 +1 @@
1
- {"version":3,"file":"feature-modules.d.ts","sourceRoot":"","sources":["../src/feature-modules.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAGlF,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAcvD,OAAO,oBAAoB,MAAM,4BAA4B,CAAC;AAG9D,eAAO,MAAM,YAAY,eAAkD,CAAC;AAC5E,eAAO,MAAM,cAAc,eAAoD,CAAC;AAChF,eAAO,MAAM,sBAAsB,eAA4D,CAAC;AAChG,eAAO,MAAM,gBAAgB,eAAsD,CAAC;AACpF,eAAO,MAAM,YAAY,eAAkD,CAAC;AAC5E,eAAO,MAAM,UAAU,eAAgD,CAAC;AACxE,eAAO,MAAM,iBAAiB,eAAuD,CAAC;AACtF,eAAO,MAAM,iBAAiB,eAAuD,CAAC;AACtF,eAAO,MAAM,UAAU,eAAgD,CAAC;AACxE,eAAO,MAAM,UAAU,eAAgD,CAAC;AACxE,eAAO,MAAM,YAAY,eAAkD,CAAC;AAC5E,eAAO,MAAM,YAAY,eAAkD,CAAC;AAE5E,OAAO,EAAE,oBAAoB,EAAE,CAAC"}
1
+ {"version":3,"file":"feature-modules.d.ts","sourceRoot":"","sources":["../src/feature-modules.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAGlF,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,oBAAoB,MAAM,4BAA4B,CAAC;AAa9D,eAAO,MAAM,YAAY,eAAkD,CAAC;AAC5E,eAAO,MAAM,cAAc,eAAoD,CAAC;AAChF,eAAO,MAAM,sBAAsB,eAA4D,CAAC;AAChG,eAAO,MAAM,gBAAgB,eAAsD,CAAC;AACpF,eAAO,MAAM,YAAY,eAAkD,CAAC;AAC5E,eAAO,MAAM,UAAU,eAAgD,CAAC;AACxE,eAAO,MAAM,iBAAiB,eAAuD,CAAC;AACtF,eAAO,MAAM,UAAU,eAAgD,CAAC;AACxE,eAAO,MAAM,UAAU,eAAgD,CAAC;AACxE,eAAO,MAAM,YAAY,eAAkD,CAAC;AAC5E,eAAO,MAAM,YAAY,eAAkD,CAAC;AAE5E,OAAO,EAAE,oBAAoB,EAAE,CAAC"}
@@ -16,31 +16,30 @@
16
16
  ********************************************************************************/
17
17
  /* eslint-disable no-restricted-imports */
18
18
  Object.defineProperty(exports, "__esModule", { value: true });
19
- exports.sprottyDefaultModule = exports.zorderModule = exports.updateModule = exports.openModule = exports.moveModule = exports.modelSourceModule = exports.labelEditUiModule = exports.fadeModule = exports.expandModule = exports.edgeLayoutModule = exports.edgeIntersectionModule = exports.edgeEditModule = exports.buttonModule = void 0;
19
+ exports.sprottyDefaultModule = exports.zorderModule = exports.updateModule = exports.openModule = exports.moveModule = exports.modelSourceModule = exports.fadeModule = exports.expandModule = exports.edgeLayoutModule = exports.edgeIntersectionModule = exports.edgeEditModule = exports.buttonModule = void 0;
20
20
  const protocol_1 = require("@eclipse-glsp/protocol");
21
- const di_config_1 = require("sprotty/lib/features/button/di.config");
22
- const di_config_2 = require("sprotty/lib/features/edge-intersection/di.config");
23
- const di_config_3 = require("sprotty/lib/features/edge-layout/di.config");
24
- const di_config_4 = require("sprotty/lib/features/edit/di.config");
25
- const di_config_5 = require("sprotty/lib/features/expand/di.config");
26
- const di_config_6 = require("sprotty/lib/features/fade/di.config");
27
- const di_config_7 = require("sprotty/lib/features/move/di.config");
28
- const di_config_8 = require("sprotty/lib/features/update/di.config");
29
- const di_config_9 = require("sprotty/lib/features/zorder/di.config");
30
- const di_config_10 = require("sprotty/lib/model-source/di.config");
31
- const di_config_11 = require("sprotty/lib/base/di.config");
32
- exports.sprottyDefaultModule = di_config_11.default;
33
- const di_config_12 = require("sprotty/lib/features/open/di.config");
34
- exports.buttonModule = new protocol_1.FeatureModule(di_config_1.default.registry);
35
- exports.edgeEditModule = new protocol_1.FeatureModule(di_config_4.edgeEditModule.registry);
36
- exports.edgeIntersectionModule = new protocol_1.FeatureModule(di_config_2.default.registry);
37
- exports.edgeLayoutModule = new protocol_1.FeatureModule(di_config_3.default.registry);
38
- exports.expandModule = new protocol_1.FeatureModule(di_config_5.default.registry);
39
- exports.fadeModule = new protocol_1.FeatureModule(di_config_6.default.registry);
40
- exports.labelEditUiModule = new protocol_1.FeatureModule(di_config_4.labelEditUiModule.registry);
41
- exports.modelSourceModule = new protocol_1.FeatureModule(di_config_10.default.registry);
42
- exports.moveModule = new protocol_1.FeatureModule(di_config_7.default.registry);
43
- exports.openModule = new protocol_1.FeatureModule(di_config_12.default.registry);
44
- exports.updateModule = new protocol_1.FeatureModule(di_config_8.default.registry);
45
- exports.zorderModule = new protocol_1.FeatureModule(di_config_9.default.registry);
21
+ const di_config_1 = require("sprotty/lib/base/di.config");
22
+ exports.sprottyDefaultModule = di_config_1.default;
23
+ const di_config_2 = require("sprotty/lib/features/button/di.config");
24
+ const di_config_3 = require("sprotty/lib/features/edge-intersection/di.config");
25
+ const di_config_4 = require("sprotty/lib/features/edge-layout/di.config");
26
+ const di_config_5 = require("sprotty/lib/features/edit/di.config");
27
+ const di_config_6 = require("sprotty/lib/features/expand/di.config");
28
+ const di_config_7 = require("sprotty/lib/features/fade/di.config");
29
+ const di_config_8 = require("sprotty/lib/features/move/di.config");
30
+ const di_config_9 = require("sprotty/lib/features/open/di.config");
31
+ const di_config_10 = require("sprotty/lib/features/update/di.config");
32
+ const di_config_11 = require("sprotty/lib/features/zorder/di.config");
33
+ const di_config_12 = require("sprotty/lib/model-source/di.config");
34
+ exports.buttonModule = new protocol_1.FeatureModule(di_config_2.default.registry);
35
+ exports.edgeEditModule = new protocol_1.FeatureModule(di_config_5.edgeEditModule.registry);
36
+ exports.edgeIntersectionModule = new protocol_1.FeatureModule(di_config_3.default.registry);
37
+ exports.edgeLayoutModule = new protocol_1.FeatureModule(di_config_4.default.registry);
38
+ exports.expandModule = new protocol_1.FeatureModule(di_config_6.default.registry);
39
+ exports.fadeModule = new protocol_1.FeatureModule(di_config_7.default.registry);
40
+ exports.modelSourceModule = new protocol_1.FeatureModule(di_config_12.default.registry);
41
+ exports.moveModule = new protocol_1.FeatureModule(di_config_8.default.registry);
42
+ exports.openModule = new protocol_1.FeatureModule(di_config_9.default.registry);
43
+ exports.updateModule = new protocol_1.FeatureModule(di_config_10.default.registry);
44
+ exports.zorderModule = new protocol_1.FeatureModule(di_config_11.default.registry);
46
45
  //# sourceMappingURL=feature-modules.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"feature-modules.js","sourceRoot":"","sources":["../src/feature-modules.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;kFAckF;AAClF,0CAA0C;;;AAE1C,qDAAuD;AACvD,qEAAwE;AACxE,gFAA6F;AAC7F,0EAAiF;AACjF,mEAG6C;AAC7C,qEAAwE;AACxE,mEAAoE;AACpE,mEAAoE;AACpE,qEAAwE;AACxE,qEAAwE;AACxE,mEAA0E;AAC1E,2DAA8D;AAgBrD,+BAhBF,oBAAoB,CAgBE;AAf7B,oEAAoE;AAEvD,QAAA,YAAY,GAAG,IAAI,wBAAa,CAAC,mBAAmB,CAAC,QAAQ,CAAC,CAAC;AAC/D,QAAA,cAAc,GAAG,IAAI,wBAAa,CAAC,0BAAqB,CAAC,QAAQ,CAAC,CAAC;AACnE,QAAA,sBAAsB,GAAG,IAAI,wBAAa,CAAC,mBAA6B,CAAC,QAAQ,CAAC,CAAC;AACnF,QAAA,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Aa,CAAC,mBAA6B,CAAC,QAAQ,CAAC,CAAC;AACnF,QAAA,gBAAgB,GAAG,IAAI,wBAAa,CAAC,mBAAuB,CAAC,QAAQ,CAAC,CAAC;AACvE,QAAA,YAAY,GAAG,IAAI,wBAAa,CAAC,mBAAmB,CAAC,QAAQ,CAAC,CAAC;AAC/D,QAAA,UAAU,GAAG,IAAI,wBAAa,CAAC,mBAAiB,CAAC,QAAQ,CAAC,CAAC;AAC3D,QAAA,iBAAiB,GAAG,IAAI,wBAAa,CAAC,oBAAwB,CAAC,QAAQ,CAAC,CAAC;AACzE,QAAA,UAAU,GAAG,IAAI,wBAAa,CAAC,mBAAiB,CAAC,QAAQ,CAAC,CAAC;AAC3D,QAAA,UAAU,GAAG,IAAI,wBAAa,CAAC,mBAAiB,CAAC,QAAQ,CAAC,CAAC;AAC3D,QAAA,YAAY,GAAG,IAAI,wBAAa,CAAC,oBAAmB,CAAC,QAAQ,CAAC,CAAC;AAC/D,QAAA,YAAY,GAAG,IAAI,wBAAa,CAAC,oBAAmB,CAAC,QAAQ,CAAC,CAAC"}
package/lib/index.d.ts CHANGED
@@ -18,4 +18,5 @@ export * from './feature-modules';
18
18
  export * from './re-exports';
19
19
  export * from './routing-override';
20
20
  export * from './types';
21
+ export * from './ui-extension-override';
21
22
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAClF,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAClF,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,SAAS,CAAC;AACxB,cAAc,yBAAyB,CAAC"}
package/lib/index.js CHANGED
@@ -34,4 +34,5 @@ __exportStar(require("./feature-modules"), exports);
34
34
  __exportStar(require("./re-exports"), exports);
35
35
  __exportStar(require("./routing-override"), exports);
36
36
  __exportStar(require("./types"), exports);
37
+ __exportStar(require("./ui-extension-override"), exports);
37
38
  //# sourceMappingURL=index.js.map
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,oDAAkC;AAClC,oDAAkC;AAClC,+CAA6B;AAC7B,qDAAmC;AACnC,0CAAwB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,oDAAkC;AAClC,oDAAkC;AAClC,+CAA6B;AAC7B,qDAAmC;AACnC,0CAAwB;AACxB,0DAAwC"}
@@ -32,7 +32,7 @@ export * from 'sprotty/lib/base/features/set-model';
32
32
  export { FeatureSet, SChildElementImpl as GChildElement, SModelElementImpl as GModelElement, SModelRootImpl as GModelRoot, SParentElementImpl as GParentElement, IModelIndex, ModelIndexImpl, createRandomId, isParent } from 'sprotty/lib/base/model/smodel';
33
33
  export { CustomFeatures, EMPTY_ROOT, SModelElementConstructor as GModelElementConstructor, SModelElementRegistration as GModelElementRegistration, SModelFactory as GModelFactory, IModelFactory, SModelRegistry, createFeatureSet } from 'sprotty/lib/base/model/smodel-factory';
34
34
  export * from 'sprotty/lib/base/model/smodel-utils';
35
- export * from 'sprotty/lib/base/ui-extensions/ui-extension';
35
+ export { IUIExtension, isUIExtension } from 'sprotty/lib/base/ui-extensions/ui-extension';
36
36
  export * from 'sprotty/lib/base/ui-extensions/ui-extension-registry';
37
37
  export * from 'sprotty/lib/base/views/dom-helper';
38
38
  export { KeyTool } from 'sprotty/lib/base/views/key-tool';
@@ -1 +1 @@
1
- {"version":3,"file":"re-exports.d.ts","sourceRoot":"","sources":["../src/re-exports.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAElF;;GAEG;AACH,cAAc,wBAAwB,CAAC;AASvC,cAAc,4CAA4C,CAAC;AAC3D,OAAO,EACH,yBAAyB,EACzB,qBAAqB,EACrB,yBAAyB,EACzB,sBAAsB,EACtB,QAAQ,EACX,MAAM,yCAAyC,CAAC;AACjD,cAAc,yCAAyC,CAAC;AAExD,cAAc,uCAAuC,CAAC;AACtD,cAAc,oDAAoD,CAAC;AACnE,cAAc,oCAAoC,CAAC;AAEnD,cAAc,mCAAmC,CAAC;AAClD,cAAc,gDAAgD,CAAC;AAC/D,cAAc,yCAAyC,CAAC;AACxD,cAAc,iDAAiD,CAAC;AAEhE,cAAc,6CAA6C,CAAC;AAC5D,cAAc,qCAAqC,CAAC;AAEpD,OAAO,EACH,UAAU,EACV,iBAAiB,IAAI,aAAa,EAClC,iBAAiB,IAAI,aAAa,EAClC,cAAc,IAAI,UAAU,EAC5B,kBAAkB,IAAI,cAAc,EACpC,WAAW,EACX,cAAc,EACd,cAAc,EACd,QAAQ,EACX,MAAM,+BAA+B,CAAC;AAEvC,OAAO,EACH,cAAc,EACd,UAAU,EACV,wBAAwB,IAAI,wBAAwB,EACpD,yBAAyB,IAAI,yBAAyB,EACtD,aAAa,IAAI,aAAa,EAC9B,aAAa,EAEb,cAAc,EACd,gBAAgB,EACnB,MAAM,uCAAuC,CAAC;AAC/C,cAAc,qCAAqC,CAAC;AAEpD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,sDAAsD,CAAC;AAErE,cAAc,mCAAmC,CAAC;AAClD,OAAO,EAAE,OAAO,EAAE,MAAM,iCAAiC,CAAC;AAC1D,OAAO,EAAE,cAAc,EAAE,oBAAoB,EAAE,SAAS,EAAE,cAAc,EAAE,MA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AS,EACzB,sBAAsB,IAAI,mBAAmB,EAC7C,4BAA4B,IAAI,yBAAyB,EACzD,eAAe,EACf,eAAe,EAClB,MAAM,uBAAuB,CAAC;AAC/B,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAG1C,cAAc,uCAAuC,CAAC;AAItD,cAAc,kCAAkC,CAAC;AACjD,cAAc,uCAAuC,CAAC;AAItD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC"}
package/lib/re-exports.js CHANGED
@@ -29,8 +29,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
29
29
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
30
30
  };
31
31
  Object.defineProperty(exports, "__esModule", { value: true });
32
- exports.AddRemoveBezierSegmentAction = exports.SprottyAbstractEdgeRouter = exports.Side = exports.DefaultAnchors = exports.isDecoration = exports.decorationFeature = exports.SIssueMarker = exports.GIssue = exports.GDecoration = exports.SvgExporter = exports.ExportSvgPostprocessor = exports.ExportSvgKeyListener = exports.ExportSvgCommand = exports.DeleteContextMenuItemProvider = exports.ContextMenuProviderRegistry = exports.RevealNamedElementActionProvider = exports.CommandPaletteActionProviderRegistry = exports.GButton = exports.configureButtonHandler = exports.ButtonHandlerRegistry = exports.layoutableChildFeature = exports.layoutContainerFeature = exports.isSizeable = exports.isLayoutableChild = exports.isLayoutContainer = exports.isBoundsAware = exports.isAlignable = exports.getAbsoluteClientBounds = exports.getAbsoluteBounds = exports.findChildrenAtPosition = exports.boundsFeature = exports.GShapeElement = exports.PopupMouseTool = exports.MouseTool = exports.MousePositionTracker = exports.KeyTool = exports.createFeatureSet = exports.SModelRegistry = exports.GModelFactory = exports.EMPTY_ROOT = exports.isParent = exports.createRandomId = exports.ModelIndexImpl = exports.GParentElement = exports.GModelRoot = exports.GModelElement = exports.GChildElement = exports.onAction = exports.configureActionHandler = exports.ActionHandlerRegistry = void 0;
33
- exports.RectangularPort = exports.RectangularNode = exports.GShapedPreRenderedElement = exports.GPreRenderedElement = exports.GHtmlRoot = exports.GForeignObjectElement = exports.DiamondNode = exports.CircularPort = exports.CircularNode = exports.PolylineEdgeViewWithGapsOnIntersections = exports.PolylineEdgeView = exports.JumpingPolylineEdgeView = exports.GRoutingHandleView = exports.GLabelView = exports.GGraphView = exports.GCompartmentView = exports.GBezierCreateHandleView = exports.GBezierControlHandleView = exports.BezierCurveEdgeView = exports.SGraphImpl = exports.SEdgeImpl = exports.GPort = exports.GNode = exports.GLabel = exports.GGraphIndex = exports.GCompartment = exports.GViewportRootElement = exports.SprottySelectCommand = exports.SprottySelectAllCommand = exports.SelectMouseListener = exports.SelectKeyboardListener = exports.GetSelectionCommand = exports.SprottyPolylineEdgeRouter = exports.isConnectable = exports.getRouteBounds = exports.getAbsoluteRouteBounds = exports.edgeInProgressTargetHandleID = exports.edgeInProgressID = exports.connectableFeature = exports.GRoutingHandle = exports.GRoutableElement = exports.GDanglingAnchor = exports.GConnectableElement = exports.SprottyManhattanEdgeRouter = exports.SprottyBezierEdgeRouter = exports.BezierMouseListener = exports.AddRemoveBezierSegmentCommand = void 0;
32
+ exports.SprottyAbstractEdgeRouter = exports.Side = exports.DefaultAnchors = exports.isDecoration = exports.decorationFeature = exports.SIssueMarker = exports.GIssue = exports.GDecoration = exports.SvgExporter = exports.ExportSvgPostprocessor = exports.ExportSvgKeyListener = exports.ExportSvgCommand = exports.DeleteContextMenuItemProvider = exports.ContextMenuProviderRegistry = exports.RevealNamedElementActionProvider = exports.CommandPaletteActionProviderRegistry = exports.GButton = exports.configureButtonHandler = exports.ButtonHandlerRegistry = exports.layoutableChildFeature = exports.layoutContainerFeature = exports.isSizeable = exports.isLayoutableChild = exports.isLayoutContainer = exports.isBoundsAware = exports.isAlignable = exports.getAbsoluteClientBounds = exports.getAbsoluteBounds = exports.findChildrenAtPosition = exports.boundsFeature = exports.GShapeElement = exports.PopupMouseTool = exports.MouseTool = exports.MousePositionTracker = exports.KeyTool = exports.isUIExtension = exports.createFeatureSet = exports.SModelRegistry = exports.GModelFactory = exports.EMPTY_ROOT = exports.isParent = exports.createRandomId = exports.ModelIndexImpl = exports.GParentElement = exports.GModelRoot = exports.GModelElement = exports.GChildElement = exports.onAction = exports.configureActionHandler = exports.ActionHandlerRegistry = void 0;
33
+ exports.RectangularPort = exports.RectangularNode = exports.GShapedPreRenderedElement = exports.GPreRenderedElement = exports.GHtmlRoot = exports.GForeignObjectElement = exports.DiamondNode = exports.CircularPort = exports.CircularNode = exports.PolylineEdgeViewWithGapsOnIntersections = exports.PolylineEdgeView = exports.JumpingPolylineEdgeView = exports.GRoutingHandleView = exports.GLabelView = exports.GGraphView = exports.GCompartmentView = exports.GBezierCreateHandleView = exports.GBezierControlHandleView = exports.BezierCurveEdgeView = exports.SGraphImpl = exports.SEdgeImpl = exports.GPort = exports.GNode = exports.GLabel = exports.GGraphIndex = exports.GCompartment = exports.GViewportRootElement = exports.SprottySelectCommand = exports.SprottySelectAllCommand = exports.SelectMouseListener = exports.SelectKeyboardListener = exports.GetSelectionCommand = exports.SprottyPolylineEdgeRouter = exports.isConnectable = exports.getRouteBounds = exports.getAbsoluteRouteBounds = exports.edgeInProgressTargetHandleID = exports.edgeInProgressID = exports.connectableFeature = exports.GRoutingHandle = exports.GRoutableElement = exports.GDanglingAnchor = exports.GConnectableElement = exports.SprottyManhattanEdgeRouter = exports.SprottyBezierEdgeRouter = exports.BezierMouseListener = exports.AddRemoveBezierSegmentCommand = exports.AddRemoveBezierSegmentAction = void 0;
34
34
  /**
35
35
  * @eclipse-glsp/protocol
36
36
  */
@@ -72,7 +72,8 @@ Object.defineProperty(exports, "GModelFactory", { enumerable: true, get: functio
72
72
  Object.defineProperty(exports, "SModelRegistry", { enumerable: true, get: function () { return smodel_factory_1.SModelRegistry; } });
73
73
  Object.defineProperty(exports, "createFeatureSet", { enumerable: true, get: function () { return smodel_factory_1.createFeatureSet; } });
74
74
  __exportStar(require("sprotty/lib/base/model/smodel-utils"), exports);
75
- __exportStar(require("sprotty/lib/base/ui-extensions/ui-extension"), exports);
75
+ var ui_extension_1 = require("sprotty/lib/base/ui-extensions/ui-extension");
76
+ Object.defineProperty(exports, "isUIExtension", { enumerable: true, get: function () { return ui_extension_1.isUIExtension; } });
76
77
  __exportStar(require("sprotty/lib/base/ui-extensions/ui-extension-registry"), exports);
77
78
  __exportStar(require("sprotty/lib/base/views/dom-helper"), exports);
78
79
  var key_tool_1 = require("sprotty/lib/base/views/key-tool");
@@ -1 +1 @@
1
- {"version":3,"file":"re-exports.js","sourceRoot":"","sources":["../src/re-exports.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;kFAckF;;;;;;;;;;;;;;;;;;AAElF;;GAEG;AACH,yDAAuC;AAEvC;;GAEG;AACH,6CAA6C;AAE7C,0CAA0C;AAC1C,mDAAmD;AACnD,6EAA2D;AAC3D,0EAMiD;AAJ7C,uHAAA,qBAAqB,OAAA;AAErB,wHAAA,sBAAsB,OAAA;AACtB,0GAAA,QAAQ,OAAA;AAEZ,0EAAwD;AAExD,wEAAsD;AACtD,qFAAmE;AACnE,qEAAmD;AAEnD,oEAAkD;AAClD,iFAA+D;AAC/D,0EAAwD;AACxD,kFAAgE;AAEhE,8EAA4D;AAC5D,sEAAoD;AACpD,uEAAuE;AACvE,wDAUuC;AARnC,uGAAA,iBAAiB,OAAiB;AAClC,uGAAA,iBAAiB,OAAiB;AAClC,oGAAA,cAAc,OAAc;AAC5B,wGAAA,kBAAkB,OAAkB;AAEpC,wGAAA,cAAc,OAAA;AACd,wGAAA,cAAc,OAAA;AACd,kGAAA,QAAQ,OAAA;AAGZ,wEAU+C;AAR3C,4GAAA,U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,wBAAwB,OAA4B;AACpD,gHAAA,uBAAuB,OAA2B;AAClD,yGAAA,gBAAgB,OAAoB;AACpC,mGAAA,UAAU,OAAc;AACxB,mGAAA,UAAU,OAAc;AACxB,2GAAA,kBAAkB,OAAsB;AACxC,gHAAA,uBAAuB,OAAA;AACvB,yGAAA,gBAAgB,OAAA;AAChB,gIAAA,uCAAuC,OAAA;AAG3C,gDAAgD;AAEhD,gEAA8C;AAC9C,6DAA2C;AAC3C,sDAAoC;AACpC,qBAAqB;AACrB,+CAU+B;AAT3B,qGAAA,YAAY,OAAA;AACZ,qGAAA,YAAY,OAAA;AACZ,oGAAA,WAAW,OAAA;AACX,8GAAA,wBAAwB,OAAyB;AACjD,kGAAA,YAAY,OAAa;AACzB,4GAAA,sBAAsB,OAAuB;AAC7C,kHAAA,4BAA4B,OAA6B;AACzD,wGAAA,eAAe,OAAA;AACf,wGAAA,eAAe,OAAA;AAEnB,0DAAwC;AACxC,4DAA0C;AAE1C,qDAAqD;AACrD,wEAAsD;AACtD,mCAAmC;AACnC,2DAA2D;AAC3D,+DAA+D;AAC/D,mEAAiD;AACjD,wEAAsD;AACtD,sDAAsD;AAEtD,kDAAkD;AAClD,4DAA0C;AAC1C,4DAA0C;AAC1C,0DAAwC;AACxC,6DAA2C;AAC3C,8DAA4C;AAC5C,6DAA2C;AAC3C,6DAA2C;AAC3C,4DAA0C;AAC1C,6DAA2C"}
@@ -0,0 +1,36 @@
1
+ /********************************************************************************
2
+ * Copyright (c) 2024 EclipseSource 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 '../css/ui-extension.css';
17
+ import { AbstractUIExtension as SprottyAbstractUIExtension } from 'sprotty';
18
+ export declare const CSS_UI_EXTENSION_CLASS = "ui-extension";
19
+ export declare const CSS_HIDDEN_EXTENSION_CLASS = "hidden";
20
+ export declare abstract class AbstractUIExtension extends SprottyAbstractUIExtension {
21
+ protected get diagramContainerId(): string;
22
+ protected get parentContainerSelector(): string;
23
+ protected get containerSelector(): string;
24
+ protected get initialized(): boolean;
25
+ protected initialize(): boolean;
26
+ protected getOrCreateContainer(): HTMLElement;
27
+ protected getContainer(): HTMLElement | null;
28
+ protected createContainer(parent: HTMLElement): HTMLElement;
29
+ protected initializeContainer(container: HTMLElement): void;
30
+ protected getParentContainer(): HTMLElement | null;
31
+ protected insertContainerIntoParent(container: HTMLElement, parent: HTMLElement): void;
32
+ protected setContainerVisible(visible: boolean): void;
33
+ protected isContainerVisible(): boolean;
34
+ protected toggleContainerVisible(): void;
35
+ }
36
+ //# sourceMappingURL=ui-extension-override.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ui-extension-override.d.ts","sourceRoot":"","sources":["../src/ui-extension-override.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAClF,OAAO,yBAAyB,CAAC;AAGjC,OAAO,EAAE,mBAAmB,IAAI,0BAA0B,EAAE,MAAM,SAAS,CAAC;AAE5E,eAAO,MAAM,sBAAsB,iBAAiB,CAAC;AACrD,eAAO,MAAM,0BAA0B,WAAW,CAAC;AAInD,8BACsB,mBAAoB,SAAQ,0BAA0B;IACxE,SAAS,KAAK,kBAAkB,IAAI,MAAM,CAEzC;IAED,SAAS,KAAK,uBAAuB,IAAI,MAAM,CAE9C;IAED,SAAS,KAAK,iBAAiB,IAAI,MAAM,CAExC;IAED,SAAS,KAAK,WAAW,IAAI,OAAO,CAEnC;cAEkB,UAAU,IAAI,OAAO;cAgBrB,oBAAoB,IAAI,WAAW;IAoBtD,SAAS,CAAC,YAAY,IAAI,WAAW,GAAG,IAAI;IAI5C,SAAS,CAAC,eAAe,CAAC,MAAM,EAAE,WAAW,GAAG,WAAW;IAM3D,SAAS,CAAC,mBAAmB,CAAC,SAAS,EAAE,WAAW,GAAG,IAAI;IAI3D,SAAS,CAAC,kBAAkB,IAAI,WAAW,GAAG,IAAI;IAIlD,SAAS,CAAC,yBAAyB,CAAC,SAAS,EAAE,WAAW,EAAE,MAAM,EAAE,WAAW,GAAG,IAAI;cAInE,mBAAmB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI;IAS9D,SAAS,CAAC,kBAAkB,IAAI,OAAO;IAIvC,SAAS,CAAC,sBAAsB,IAAI,IAAI;CAG3C"}
@@ -0,0 +1,118 @@
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.AbstractUIExtension = exports.CSS_HIDDEN_EXTENSION_CLASS = exports.CSS_UI_EXTENSION_CLASS = void 0;
10
+ /********************************************************************************
11
+ * Copyright (c) 2024 EclipseSource and others.
12
+ *
13
+ * This program and the accompanying materials are made available under the
14
+ * terms of the Eclipse Public License v. 2.0 which is available at
15
+ * http://www.eclipse.org/legal/epl-2.0.
16
+ *
17
+ * This Source Code may also be made available under the following Secondary
18
+ * Licenses when the conditions for such availability set forth in the Eclipse
19
+ * Public License v. 2.0 are satisfied: GNU General Public License, version 2
20
+ * with the GNU Classpath Exception which is available at
21
+ * https://www.gnu.org/software/classpath/license.html.
22
+ *
23
+ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
24
+ ********************************************************************************/
25
+ require("../css/ui-extension.css");
26
+ const inversify_1 = require("inversify");
27
+ const sprotty_1 = require("sprotty");
28
+ exports.CSS_UI_EXTENSION_CLASS = 'ui-extension';
29
+ exports.CSS_HIDDEN_EXTENSION_CLASS = 'hidden';
30
+ // An override to enables more fine-grained control of the container structure for the UI extension.
31
+ let AbstractUIExtension = class AbstractUIExtension extends sprotty_1.AbstractUIExtension {
32
+ get diagramContainerId() {
33
+ return this.options.baseDiv;
34
+ }
35
+ get parentContainerSelector() {
36
+ return '#' + this.diagramContainerId;
37
+ }
38
+ get containerSelector() {
39
+ return '#' + this.id();
40
+ }
41
+ get initialized() {
42
+ return !!this.containerElement;
43
+ }
44
+ initialize() {
45
+ if (this.initialized) {
46
+ return true;
47
+ }
48
+ try {
49
+ this.containerElement = this.getOrCreateContainer();
50
+ this.initializeContainer(this.containerElement);
51
+ this.initializeContents(this.containerElement);
52
+ }
53
+ catch (error) {
54
+ const msg = error instanceof Error ? error.message : `Could not retrieve container element for UI extension ${this.id}`;
55
+ this.logger.error(this, msg);
56
+ return false;
57
+ }
58
+ return true;
59
+ }
60
+ getOrCreateContainer() {
61
+ if (this.containerElement) {
62
+ return this.containerElement;
63
+ }
64
+ // check if the container already exists, independent from any potential parent container
65
+ // this allows us to use existing elements defined anywhere in the document
66
+ const existingContainer = this.getContainer();
67
+ if (existingContainer) {
68
+ return existingContainer;
69
+ }
70
+ // to create a container the parent container
71
+ const parent = this.getParentContainer();
72
+ if (!(parent === null || parent === void 0 ? void 0 : parent.isConnected)) {
73
+ throw new Error(`Could not obtain attached parent for initializing UI extension ${this.id}`);
74
+ }
75
+ const container = this.createContainer(parent);
76
+ this.insertContainerIntoParent(container, parent);
77
+ return container;
78
+ }
79
+ getContainer() {
80
+ return document.querySelector(this.containerSelector);
81
+ }
82
+ createContainer(parent) {
83
+ const container = document.createElement('div');
84
+ container.id = parent.id + '_' + this.id();
85
+ return container;
86
+ }
87
+ initializeContainer(container) {
88
+ container.classList.add(exports.CSS_UI_EXTENSION_CLASS, this.containerClass());
89
+ }
90
+ getParentContainer() {
91
+ return document.querySelector(this.parentContainerSelector);
92
+ }
93
+ insertContainerIntoParent(container, parent) {
94
+ parent.insertBefore(container, parent.firstChild);
95
+ }
96
+ setContainerVisible(visible) {
97
+ var _a, _b;
98
+ // the parent class simply sets the style directly, however classes provide more fine-grained control
99
+ if (visible) {
100
+ (_a = this.containerElement) === null || _a === void 0 ? void 0 : _a.classList.remove(exports.CSS_HIDDEN_EXTENSION_CLASS);
101
+ }
102
+ else {
103
+ (_b = this.containerElement) === null || _b === void 0 ? void 0 : _b.classList.add(exports.CSS_HIDDEN_EXTENSION_CLASS);
104
+ }
105
+ }
106
+ isContainerVisible() {
107
+ var _a;
108
+ return !((_a = this.containerElement) === null || _a === void 0 ? void 0 : _a.classList.contains(exports.CSS_HIDDEN_EXTENSION_CLASS));
109
+ }
110
+ toggleContainerVisible() {
111
+ this.setContainerVisible(!this.isContainerVisible());
112
+ }
113
+ };
114
+ exports.AbstractUIExtension = AbstractUIExtension;
115
+ exports.AbstractUIExtension = AbstractUIExtension = __decorate([
116
+ (0, inversify_1.injectable)()
117
+ ], AbstractUIExtension);
118
+ //# sourceMappingURL=ui-extension-override.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ui-extension-override.js","sourceRoot":"","sources":["../src/ui-extension-override.ts"],"names":[],"mappings":";;;;;;;;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,mCAAiC;AAEjC,yCAAuC;AACvC,qCAA4E;AAE/D,QAAA,sBAAsB,GAAG,cAAc,CAAC;AACxC,QAAA,0BAA0B,GAAG,QAAQ,CAAC;AAEnD,oGAAoG;AAG7F,IAAe,mBAAmB,GAAlC,MAAe,mBAAoB,SAAQ,6BAA0B;IACxE,IAAc,kBAAkB;QAC5B,OAAO,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kBAAkB;;QACxB,OAAO,CAAC,CAAA,MAAA,IAAI,CAAC,gBAAgB,0CAAE,SAAS,CAAC,QAAQ,CAAC,kCAA0B,CAAC,CAAA,CAAC;IAClF,CAAC;IAES,sBAAsB;QAC5B,IAAI,CAAC,mBAAmB,CAAC,CAAC,IAAI,CAAC,kBAAkB,EAAE,CAAC,CAAC;IACzD,CAAC;CACJ,CAAA;AA3FqB,kDAAmB;8BAAnB,mBAAmB;IADxC,IAAA,sBAAU,GAAE;GACS,mBAAmB,CA2FxC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eclipse-glsp/sprotty",
3
- "version": "2.2.0-next.325+8efa638",
3
+ "version": "2.2.0-next.328+c2ca345",
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",
@@ -28,11 +28,12 @@
28
28
  "scripts": {
29
29
  "build": "tsc -b",
30
30
  "clean": "rimraf lib *.tsbuildinfo",
31
+ "generate:index": "glsp generateIndex src -f",
31
32
  "lint": "eslint --ext .ts,.tsx ./src",
32
33
  "watch": "tsc -w"
33
34
  },
34
35
  "dependencies": {
35
- "@eclipse-glsp/protocol": "2.2.0-next.325+8efa638",
36
+ "@eclipse-glsp/protocol": "2.2.0-next.328+c2ca345",
36
37
  "autocompleter": "^9.1.0",
37
38
  "snabbdom": "^3.5.1",
38
39
  "sprotty": "1.0.0",
@@ -49,5 +50,5 @@
49
50
  "publishConfig": {
50
51
  "access": "public"
51
52
  },
52
- "gitHead": "8efa63840b0569ae8fd40ada5ef995ea1cdad4cf"
53
+ "gitHead": "c2ca34551f9d9268eae3be66de23e3782e880af1"
53
54
  }
@@ -1,5 +1,5 @@
1
1
  /********************************************************************************
2
- * Copyright (c) 2023 EclipseSource and others.
2
+ * Copyright (c) 2023-2024 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
@@ -14,23 +14,19 @@
14
14
  * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
15
  ********************************************************************************/
16
16
  /* eslint-disable no-restricted-imports */
17
-
18
- import { FeatureModule } from '@eclipse-glsp/protocol';
17
+ import { FeatureModule } from '@eclipse-glsp/protocol/lib/di';
18
+ import sprottyDefaultModule from 'sprotty/lib/base/di.config';
19
19
  import sprottyButtonModule from 'sprotty/lib/features/button/di.config';
20
20
  import sprottyEdgeIntersectionModule from 'sprotty/lib/features/edge-intersection/di.config';
21
21
  import sprottyEdgeLayoutModule from 'sprotty/lib/features/edge-layout/di.config';
22
- import {
23
- edgeEditModule as sprottyEdgeEditModule,
24
- labelEditUiModule as sprottyLabelEditUiModule
25
- } from 'sprotty/lib/features/edit/di.config';
22
+ import { edgeEditModule as sprottyEdgeEditModule } from 'sprotty/lib/features/edit/di.config';
26
23
  import sprottyExpandModule from 'sprotty/lib/features/expand/di.config';
27
24
  import sprottyFadeModule from 'sprotty/lib/features/fade/di.config';
28
25
  import sprottyMoveModule from 'sprotty/lib/features/move/di.config';
26
+ import sprottyOpenModule from 'sprotty/lib/features/open/di.config';
29
27
  import sprottyUpdateModule from 'sprotty/lib/features/update/di.config';
30
28
  import sprottyZorderModule from 'sprotty/lib/features/zorder/di.config';
31
29
  import sprottyModelSourceModule from 'sprotty/lib/model-source/di.config';
32
- import sprottyDefaultModule from 'sprotty/lib/base/di.config';
33
- import sprottyOpenModule from 'sprotty/lib/features/open/di.config';
34
30
 
35
31
  export const buttonModule = new FeatureModule(sprottyButtonModule.registry);
36
32
  export const edgeEditModule = new FeatureModule(sprottyEdgeEditModule.registry);
@@ -38,7 +34,6 @@ export const edgeIntersectionModule = new FeatureModule(sprottyEdgeIntersectionM
38
34
  export const edgeLayoutModule = new FeatureModule(sprottyEdgeLayoutModule.registry);
39
35
  export const expandModule = new FeatureModule(sprottyExpandModule.registry);
40
36
  export const fadeModule = new FeatureModule(sprottyFadeModule.registry);
41
- export const labelEditUiModule = new FeatureModule(sprottyLabelEditUiModule.registry);
42
37
  export const modelSourceModule = new FeatureModule(sprottyModelSourceModule.registry);
43
38
  export const moveModule = new FeatureModule(sprottyMoveModule.registry);
44
39
  export const openModule = new FeatureModule(sprottyOpenModule.registry);
package/src/index.ts CHANGED
@@ -18,3 +18,4 @@ export * from './feature-modules';
18
18
  export * from './re-exports';
19
19
  export * from './routing-override';
20
20
  export * from './types';
21
+ export * from './ui-extension-override';
package/src/re-exports.ts CHANGED
@@ -18,6 +18,7 @@
18
18
  * @eclipse-glsp/protocol
19
19
  */
20
20
  export * from '@eclipse-glsp/protocol';
21
+ export * from '@eclipse-glsp/protocol/lib/di';
21
22
 
22
23
  /*
23
24
  * sprotty
@@ -73,7 +74,7 @@ export {
73
74
  } from 'sprotty/lib/base/model/smodel-factory';
74
75
  export * from 'sprotty/lib/base/model/smodel-utils';
75
76
 
76
- export * from 'sprotty/lib/base/ui-extensions/ui-extension';
77
+ export { IUIExtension, isUIExtension } from 'sprotty/lib/base/ui-extensions/ui-extension';
77
78
  export * from 'sprotty/lib/base/ui-extensions/ui-extension-registry';
78
79
 
79
80
  export * from 'sprotty/lib/base/views/dom-helper';
@@ -325,3 +326,4 @@ export * from 'sprotty/lib/utils/iterable';
325
326
  export * from 'sprotty/lib/utils/keyboard';
326
327
  export * from 'sprotty/lib/utils/logging';
327
328
  export * from 'sprotty/lib/utils/registry';
329
+
@@ -0,0 +1,118 @@
1
+ /********************************************************************************
2
+ * Copyright (c) 2024 EclipseSource 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 '../css/ui-extension.css';
17
+
18
+ import { injectable } from 'inversify';
19
+ import { AbstractUIExtension as SprottyAbstractUIExtension } from 'sprotty';
20
+
21
+ export const CSS_UI_EXTENSION_CLASS = 'ui-extension';
22
+ export const CSS_HIDDEN_EXTENSION_CLASS = 'hidden';
23
+
24
+ // An override to enables more fine-grained control of the container structure for the UI extension.
25
+
26
+ @injectable()
27
+ export abstract class AbstractUIExtension extends SprottyAbstractUIExtension {
28
+ protected get diagramContainerId(): string {
29
+ return this.options.baseDiv;
30
+ }
31
+
32
+ protected get parentContainerSelector(): string {
33
+ return '#' + this.diagramContainerId;
34
+ }
35
+
36
+ protected get containerSelector(): string {
37
+ return '#' + this.id();
38
+ }
39
+
40
+ protected get initialized(): boolean {
41
+ return !!this.containerElement;
42
+ }
43
+
44
+ protected override initialize(): boolean {
45
+ if (this.initialized) {
46
+ return true;
47
+ }
48
+ try {
49
+ this.containerElement = this.getOrCreateContainer();
50
+ this.initializeContainer(this.containerElement);
51
+ this.initializeContents(this.containerElement);
52
+ } catch (error) {
53
+ const msg = error instanceof Error ? error.message : `Could not retrieve container element for UI extension ${this.id}`;
54
+ this.logger.error(this, msg);
55
+ return false;
56
+ }
57
+ return true;
58
+ }
59
+
60
+ protected override getOrCreateContainer(): HTMLElement {
61
+ if (this.containerElement) {
62
+ return this.containerElement;
63
+ }
64
+ // check if the container already exists, independent from any potential parent container
65
+ // this allows us to use existing elements defined anywhere in the document
66
+ const existingContainer = this.getContainer();
67
+ if (existingContainer) {
68
+ return existingContainer;
69
+ }
70
+ // to create a container the parent container
71
+ const parent = this.getParentContainer();
72
+ if (!parent?.isConnected) {
73
+ throw new Error(`Could not obtain attached parent for initializing UI extension ${this.id}`);
74
+ }
75
+ const container = this.createContainer(parent);
76
+ this.insertContainerIntoParent(container, parent);
77
+ return container;
78
+ }
79
+
80
+ protected getContainer(): HTMLElement | null {
81
+ return document.querySelector<HTMLElement>(this.containerSelector);
82
+ }
83
+
84
+ protected createContainer(parent: HTMLElement): HTMLElement {
85
+ const container = document.createElement('div');
86
+ container.id = parent.id + '_' + this.id();
87
+ return container;
88
+ }
89
+
90
+ protected initializeContainer(container: HTMLElement): void {
91
+ container.classList.add(CSS_UI_EXTENSION_CLASS, this.containerClass());
92
+ }
93
+
94
+ protected getParentContainer(): HTMLElement | null {
95
+ return document.querySelector<HTMLElement>(this.parentContainerSelector)!;
96
+ }
97
+
98
+ protected insertContainerIntoParent(container: HTMLElement, parent: HTMLElement): void {
99
+ parent.insertBefore(container, parent.firstChild);
100
+ }
101
+
102
+ protected override setContainerVisible(visible: boolean): void {
103
+ // the parent class simply sets the style directly, however classes provide more fine-grained control
104
+ if (visible) {
105
+ this.containerElement?.classList.remove(CSS_HIDDEN_EXTENSION_CLASS);
106
+ } else {
107
+ this.containerElement?.classList.add(CSS_HIDDEN_EXTENSION_CLASS);
108
+ }
109
+ }
110
+
111
+ protected isContainerVisible(): boolean {
112
+ return !this.containerElement?.classList.contains(CSS_HIDDEN_EXTENSION_CLASS);
113
+ }
114
+
115
+ protected toggleContainerVisible(): void {
116
+ this.setContainerVisible(!this.isContainerVisible());
117
+ }
118
+ }