npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@open-bpmn/open-bpmn-properties

v1.2.0

Published

GLSP property panel for BPMN 2.0

Downloads

17

Readme

Open-BPMN - Properties

Open-BPMN-Properties is a Node.js library and part of the Open-BPMN project. The module @open-bpmn/open-bpmn-properties is a GLSP UI extension providing an additional property panel showing element properties. The Open-BPMN Properties are part of the Open-BPMN extensibility mechanism and provides a convinience way to edit BPMN properties of selected elements within a diagram. The panel is realized as a embedded view and can be used with all Integration platforms supported by Eclipse GLSP.

Build and Dependencies

To build the client module run

$ yarn

The module open-bpmn-properties automatically integrates into the GLSP Client part. It is included as a independent module directyl into the GLSPDiagramContainer function:

import {bpmnPropertyModule} from '@open-bpmn/open-bpmn-properties';

const bpmnDiagramModule = new ContainerModule((bind, unbind, isBound, rebind) => {
   .....
});

export default function createBPMNDiagramContainer(widgetId: string): Container {
    // Create the createClientContainer with the diagramModule and the BPMN bpmnPropertyModule...
    const container = createClientContainer(bpmnDiagramModule, bpmnPropertyModule);
    overrideViewerOptions(container, {
        baseDiv: widgetId,
        hiddenDiv: widgetId + '_hidden'
    });
    return container;

}

Integration

The content displayed in the property panel is generated on the server side. So usually it is not necessary to extend or customize this module. See the Open-BPMN Extension mechanism for more details.

JsonForms

The module open-bpmn-properties is based on JsonForms component to render the property panel of a selected BPMN element. JsonForms provides different renderes to display form elements like Input fields and buttons in a common layout. This module uses the 'VanillaRenderer' to display the property form elements.

JsonForms provides a powerful extensibility mechanism and alows to implement custom UI controls. If you want to contribute to this project or implement a new renderer components, it is recommended to first create a fork of the JsonForms project so you can later start pull a request to contribute your code.

For a first time setup:

  • Install node.js (only Node 14 and npm 6 is currently supported)
  • Fork this repository on Github
  • Clone this repository

Now you can start building the project and run the examples. First of all you need to install the base dependencies, then run lerna and then build all packages. After that you can execute the example application.

So starting from the root directory:

# reset and clean everything
git clean -dfx

# build JSON Forms
npm ci
npm run init
npm run build

# e.g. Start React Vanilla example application
cd packages/vanilla && npm run dev 

Run the example from your web browser: http://localhost:8080/#array-with-detail