New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@eclipse-glsp-examples/workflow-glsp

Package Overview
Dependencies
Maintainers
6
Versions
293
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@eclipse-glsp-examples/workflow-glsp - npm Package Compare versions

Comparing version 2.2.0-next.344 to 2.2.0-next.345

6

lib/workflow-diagram-module.d.ts

@@ -16,10 +16,10 @@ /********************************************************************************

********************************************************************************/
import { ContainerConfiguration } from '@eclipse-glsp/client';
import { ContainerConfiguration, FeatureModule } from '@eclipse-glsp/client';
import 'balloon-css/balloon.min.css';
import { Container, ContainerModule } from 'inversify';
import { Container } from 'inversify';
import 'sprotty/css/edit-label.css';
import '../css/diagram.css';
export declare const workflowDiagramModule: ContainerModule;
export declare const workflowDiagramModule: FeatureModule;
export declare function createWorkflowDiagramContainer(...containerConfiguration: ContainerConfiguration): Container;
export declare function initializeWorkflowDiagramContainer(container: Container, ...containerConfiguration: ContainerConfiguration): Container;
//# sourceMappingURL=workflow-diagram-module.d.ts.map

@@ -29,3 +29,3 @@ "use strict";

const workflow_views_1 = require("./workflow-views");
exports.workflowDiagramModule = new inversify_1.ContainerModule((bind, unbind, isBound, rebind) => {
exports.workflowDiagramModule = new client_1.FeatureModule((bind, unbind, isBound, rebind) => {
const context = { bind, unbind, isBound, rebind };

@@ -61,3 +61,3 @@ (0, client_1.bindOrRebind)(context, client_1.TYPES.ILogger).to(client_1.ConsoleLogger).inSingletonScope();

(0, client_1.bindOrRebind)(context, client_1.TYPES.ISnapper).to(workflow_snapper_1.WorkflowSnapper);
});
}, { featureId: Symbol('workflowDiagram') });
function createWorkflowDiagramContainer(...containerConfiguration) {

@@ -64,0 +64,0 @@ return initializeWorkflowDiagramContainer(new inversify_1.Container(), ...containerConfiguration);

{
"name": "@eclipse-glsp-examples/workflow-glsp",
"version": "2.2.0-next.344+9f5e1eb",
"version": "2.2.0-next.345+76a576b",
"description": "GLSP diagrams for the Workflow DSL",

@@ -43,3 +43,3 @@ "keywords": [

"dependencies": {
"@eclipse-glsp/client": "2.2.0-next.344+9f5e1eb",
"@eclipse-glsp/client": "2.2.0-next.345+76a576b",
"balloon-css": "^0.5.0"

@@ -53,3 +53,3 @@ },

},
"gitHead": "9f5e1eb23836a8567fd1b78f06f19c60531ee564"
"gitHead": "76a576bd47cbb7229cf338ab547deeff871d59a9"
}

@@ -23,2 +23,3 @@ /********************************************************************************

DiamondNodeView,
FeatureModule,
GCompartment,

@@ -49,3 +50,3 @@ GCompartmentView,

import 'balloon-css/balloon.min.css';
import { Container, ContainerModule } from 'inversify';
import { Container } from 'inversify';
import 'sprotty/css/edit-label.css';

@@ -59,39 +60,42 @@ import '../css/diagram.css';

export const workflowDiagramModule = new ContainerModule((bind, unbind, isBound, rebind) => {
const context = { bind, unbind, isBound, rebind };
export const workflowDiagramModule = new FeatureModule(
(bind, unbind, isBound, rebind) => {
const context = { bind, unbind, isBound, rebind };
bindOrRebind(context, TYPES.ILogger).to(ConsoleLogger).inSingletonScope();
bindOrRebind(context, TYPES.LogLevel).toConstantValue(LogLevel.warn);
bindAsService(context, TYPES.ICommandPaletteActionProvider, RevealNamedElementActionProvider);
bindAsService(context, TYPES.IContextMenuItemProvider, DeleteElementContextMenuItemProvider);
bindOrRebind(context, TYPES.ILogger).to(ConsoleLogger).inSingletonScope();
bindOrRebind(context, TYPES.LogLevel).toConstantValue(LogLevel.warn);
bindAsService(context, TYPES.ICommandPaletteActionProvider, RevealNamedElementActionProvider);
bindAsService(context, TYPES.IContextMenuItemProvider, DeleteElementContextMenuItemProvider);
configureDefaultModelElements(context);
configureModelElement(context, 'task:automated', TaskNode, RoundedCornerNodeView);
configureModelElement(context, 'task:manual', TaskNode, RoundedCornerNodeView);
configureModelElement(context, 'label:heading', GLabel, GLabelView, { enable: [editLabelFeature] });
configureModelElement(context, 'comp:comp', GCompartment, GCompartmentView);
configureModelElement(context, 'comp:header', GCompartment, GCompartmentView);
configureModelElement(context, 'label:icon', GLabel, GLabelView);
configureModelElement(context, DefaultTypes.EDGE, GEdge, WorkflowEdgeView);
configureModelElement(context, 'edge:weighted', WeightedEdge, WorkflowEdgeView);
configureModelElement(context, 'icon', Icon, IconView);
configureModelElement(context, 'activityNode:merge', BranchingNode, DiamondNodeView);
configureModelElement(context, 'activityNode:decision', BranchingNode, DiamondNodeView);
configureModelElement(context, 'activityNode:fork', SynchronizationNode, RectangularNodeView);
configureModelElement(context, 'activityNode:join', SynchronizationNode, RectangularNodeView);
configureModelElement(context, DefaultTypes.GRAPH, GGraph, GLSPProjectionView);
configureModelElement(context, 'category', CategoryNode, RoundedCornerNodeView);
configureModelElement(context, 'struct', GCompartment, StructureCompartmentView);
configureDefaultModelElements(context);
configureModelElement(context, 'task:automated', TaskNode, RoundedCornerNodeView);
configureModelElement(context, 'task:manual', TaskNode, RoundedCornerNodeView);
configureModelElement(context, 'label:heading', GLabel, GLabelView, { enable: [editLabelFeature] });
configureModelElement(context, 'comp:comp', GCompartment, GCompartmentView);
configureModelElement(context, 'comp:header', GCompartment, GCompartmentView);
configureModelElement(context, 'label:icon', GLabel, GLabelView);
configureModelElement(context, DefaultTypes.EDGE, GEdge, WorkflowEdgeView);
configureModelElement(context, 'edge:weighted', WeightedEdge, WorkflowEdgeView);
configureModelElement(context, 'icon', Icon, IconView);
configureModelElement(context, 'activityNode:merge', BranchingNode, DiamondNodeView);
configureModelElement(context, 'activityNode:decision', BranchingNode, DiamondNodeView);
configureModelElement(context, 'activityNode:fork', SynchronizationNode, RectangularNodeView);
configureModelElement(context, 'activityNode:join', SynchronizationNode, RectangularNodeView);
configureModelElement(context, DefaultTypes.GRAPH, GGraph, GLSPProjectionView);
configureModelElement(context, 'category', CategoryNode, RoundedCornerNodeView);
configureModelElement(context, 'struct', GCompartment, StructureCompartmentView);
bind<IHelperLineOptions>(TYPES.IHelperLineOptions).toDynamicValue(ctx => {
const options: IHelperLineOptions = {};
// skip icons for alignment as well as compartments which are only used for structure
options.alignmentElementFilter = element =>
DEFAULT_ALIGNABLE_ELEMENT_FILTER(element) && !(element instanceof Icon) && !(element instanceof GCompartment);
return options;
});
bind<IHelperLineOptions>(TYPES.IHelperLineOptions).toDynamicValue(ctx => {
const options: IHelperLineOptions = {};
// skip icons for alignment as well as compartments which are only used for structure
options.alignmentElementFilter = element =>
DEFAULT_ALIGNABLE_ELEMENT_FILTER(element) && !(element instanceof Icon) && !(element instanceof GCompartment);
return options;
});
bindAsService(context, TYPES.IDiagramStartup, WorkflowStartup);
bindOrRebind(context, TYPES.ISnapper).to(WorkflowSnapper);
});
bindAsService(context, TYPES.IDiagramStartup, WorkflowStartup);
bindOrRebind(context, TYPES.ISnapper).to(WorkflowSnapper);
},
{ featureId: Symbol('workflowDiagram') }
);

@@ -98,0 +102,0 @@ export function createWorkflowDiagramContainer(...containerConfiguration: ContainerConfiguration): Container {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc