bpmn-js
Version:
A bpmn 2.0 toolkit and web modeler
37 lines • 1.3 kB
TypeScript
/**
* Shared catalog of BPMN element popup entry definitions.
*
* Each entry is the context-independent identity of an element — its `target`
* (moddle type + discriminating attributes), plus the `label` and `className`
* shared across every menu that offers it (create, append, replace).
*
* Menus compose their own option lists from these atoms, adding menu-specific fields
*
*
*/
export const PopupEntries: Record<string, ElementDefinition>;
/**
* Shared catalog of BPMN element popup entry definitions.
*
* Each entry is the context-independent identity of an element — its `target`
* (moddle type + discriminating attributes), plus the `label` and `className`
* shared across every menu that offers it (create, append, replace).
*
* Menus compose their own option lists from these atoms, adding menu-specific fields
*/
export type ElementDefinition = {
label: string;
className: string;
target: {
type: string;
isExpanded?: boolean;
triggeredByEvent?: boolean;
instantiate?: boolean;
eventGatewayType?: string;
isInterrupting?: boolean;
cancelActivity?: boolean;
eventDefinitionType?: string;
eventDefinitionAttrs?: Record<string, any>;
};
};
//# sourceMappingURL=PopupEntries.d.ts.map