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

@ryniaubenpm2/inventore-dolorem-ipsum

v1.0.0

Published

> Extending the properties panel changed significantly with `bpmn-js-properties-panel>=1`. For the `0.x` version of the library, check out [the 0.x branch](https://github.com/ryniaubenpm2/inventore-dolorem-ipsum/tree/0.x). Read more on the changes [in the

Downloads

2

Maintainers

mi762136mi762136

Keywords

syntaxerroriterationcommanderlook-uptermmonoreporeadablestreamaccessibilityes2015inlengthjsonpathappprotocol-bufferspicomatchBigInt64Arrayeast-asian-widthsuperagentmetadatatypaniongetjestreduxnpmcolorinterruptsrangeerrormkdirswidthqueryreact-testing-librarycloudformationwordbreakfast-copyzerocorseslint-pluginkarmakeysbuffertostringtagmkdirInt8ArrayrouteglobalscacheFloat32ArrayisWeakMapexpressamazonMicrosoftomitencryptionpromisestringifierdataviewtoStringTagdependenciesObservableECMAScript 3lintwaitES8nopesymlinkes2017Object.definePropertyansisymbolsspecglobalava-0ECMAScript 2016validationfast-clonespinnerECMAScript 2017ECMAScript 2019hashdiffECMAScript 2020textwritabledatawalkrestfulwarningSymboljsxfromeveryquotestreams2commandes5immutablesharedarraybuffercreateES2022validatefull-widthmulti-packagecall-boundpackage managerinspectfast-deep-copyvisualcloudsearchinferencerm -rfJSON-Schemareact-hooksyuploggingmimetypessuperstructmakeconcatcallbindchairesolvetypeerrorargsthroatpackagesrequestcolumnsES2015artthrottlepersistentxhrrdsoperating-systemweakmapyamlprotoYAMLbindprotobuflockfilebcryptuuidpipeBigUint64Arraypreserve-symlinkstoolkitReflect.getPrototypeOfroute53functionsesrapidES2020parentsmoduleestreeeslintlibphonenumberinstallcoreworkspace:*reduceeventDispatcherES2021swffastecmascriptastprocessponyfillhttpdeep-copyjwtconsoleonceworkerhardlinkscolumngetintrinsicWebSocketwaflimitarraybufferstoragegatewaylastPromisetesterECMAScript 2018cjkless cssprogresslanguageasciicolorswgetjsonconnecttrimLeftmatchregular expressionspredictabletrimEndstylestateauthgetOwnPropertyDescriptoruninstallregulariteratorArray.prototype.findLastIndexoptimistdescriptionpluginincludesrecursiveArrayBuffer#slicerfc4122RFC-6455Array.prototype.findLastapidefineoffsetreact-hook-formutil.inspectworkflowcircularerrorpropES2018forEachenumerablecollectionbyteOffsetcallboundsymlinkschinesetypevariablesintrinsictapefindupArraycheck

Readme

Extending the properties panel changed significantly with bpmn-js-properties-panel>=1. For the 0.x version of the library, check out the 0.x branch. Read more on the changes in the changelog.

bpmn-js-properties-panel

CI

A properties panel extension for bpmn-js that adds the ability to edit technical properties (generic and Camunda).

bpmn-js-properties-panel screenshot

Features

The properties panel allows users to edit invisible BPMN properties in a convenient way.

Some of the features are:

  • Edit element ids, multi-instance details and more
  • Edit execution related Camunda 7 and Camunda 8 properties
  • Redo and undo (plugs into the bpmn-js editing cycle)

Usage

Provide two HTML elements, one for the properties panel and one for the BPMN diagram:

<div class="modeler">
  <div id="canvas"></div>
  <div id="properties"></div>
</div>

Bootstrap bpmn-js with the properties panel and a properties provider:

import BpmnModeler from 'bpmn-js/lib/Modeler';
import {
  BpmnPropertiesPanelModule,
  BpmnPropertiesProviderModule,
} from 'bpmn-js-properties-panel';

const modeler = new BpmnModeler({
  container: '#canvas',
  propertiesPanel: {
    parent: '#properties'
  },
  additionalModules: [
    BpmnPropertiesPanelModule,
    BpmnPropertiesProviderModule
  ]
});

Styling

For proper styling include the necessary stylesheets:

<link rel="stylesheet" href="https://unpkg.com/@bpmn-io/properties-panel/dist/assets/properties-panel.css">

Dynamic Attach/Detach

You may attach or detach the properties panel dynamically to any element on the page, too:

const propertiesPanel = bpmnJS.get('propertiesPanel');

// detach the panel
propertiesPanel.detach();

// attach it to some other element
propertiesPanel.attachTo('#other-properties');

Edit Camunda Properties

To edit Camunda properties, you have to use a moddle extension so bpmn-js is can read and write Camunda properties and use a provider so these properties are shown in the properties panel.

For example, to edit Camunda 8 properties, use the Camunda 8 moddle extension and the Camunda 8 provider. Additionally, you should use behaviors specific to Camunda 8 to ensure parts of the model that are specific to Camunda 8 are maintained correctly.

import BpmnModeler from 'bpmn-js/lib/Modeler';
import {
  BpmnPropertiesPanelModule,
  BpmnPropertiesProviderModule,
  ZeebePropertiesProviderModule // Camunda 8 provider
} from 'bpmn-js-properties-panel';

// Camunda 8 moddle extension
import zeebeModdle from 'zeebe-bpmn-moddle/resources/zeebe';

// Camunda 8 behaviors
import ZeebeBehaviorsModule from 'camunda-bpmn-js-behaviors/lib/camunda-cloud';

const modeler = new BpmnModeler({
  container: '#canvas',
  propertiesPanel: {
    parent: '#properties'
  },
  additionalModules: [
    BpmnPropertiesPanelModule,
    BpmnPropertiesProviderModule,
    ZeebePropertiesProviderModule,
    ZeebeBehaviorsModule
  ],
  moddleExtensions: {
    zeebe: zeebeModdle
  }
});

API

BpmnPropertiesPanelRenderer#attachTo(container: HTMLElement) => void

Attach the properties panel to a parent node.

const propertiesPanel = modeler.get('propertiesPanel');

propertiesPanel.attachTo('#other-properties');

BpmnPropertiesPanelRenderer#detach() => void

Detach the properties panel from its parent node.

const propertiesPanel = modeler.get('propertiesPanel');

propertiesPanel.detach();

BpmnPropertiesPanelRenderer#registerProvider(priority: Number, provider: PropertiesProvider) => void

Register a new properties provider to the properties panel.

class ExamplePropertiesProvider {
  constructor(propertiesPanel) {
    propertiesPanel.registerProvider(500, this);
  }

  getGroups(element) {
    return (groups) => {

      // add, modify or remove groups
      // ...

      return groups;
    };
  }
}

ExamplePropertiesProvider.$inject = [ 'propertiesPanel' ];

Additional Resources

Development

Prepare the project by installing all dependencies:

npm install

Then, depending on your use-case, you may run any of the following commands:

# build the library and run all tests
npm run all

# spin up a single local modeler instance
npm start

# run the full development setup
npm run dev

License

MIT