lecom-modeler 0.31.0 → 0.32.0

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.
package/lib/index.d.cts CHANGED
@@ -123,6 +123,7 @@ interface ModelerProps {
123
123
  initialDiagram?: string;
124
124
  instanceId?: string;
125
125
  mode?: EditorMode;
126
+ edgeHighlight?: boolean;
126
127
  validateCustomDiagram?: () => Promise<ValidateDiagram[]>;
127
128
  onElementChanges?: (diagram: string) => void;
128
129
  onConfigureElement?: (element: Element) => void;
@@ -130,7 +131,7 @@ interface ModelerProps {
130
131
  onSubprocessValidationClick?: (subprocess: SubProcessElement) => void;
131
132
  }
132
133
 
133
- declare const Modeler: ({ selectorRef, initialDiagram, instanceId: initialInstanceId, mode: initialMode, validateCustomDiagram, onElementChanges, onConfigureElement, onElementClick, onSubprocessValidationClick, }: ModelerProps) => react_jsx_runtime.JSX.Element;
134
+ declare const Modeler: ({ selectorRef, initialDiagram, instanceId: initialInstanceId, mode: initialMode, edgeHighlight, validateCustomDiagram, onElementChanges, onConfigureElement, onElementClick, onSubprocessValidationClick, }: ModelerProps) => react_jsx_runtime.JSX.Element;
134
135
 
135
136
  type ModelerContext = {
136
137
  defaultMode?: EditorMode;
package/lib/index.d.ts CHANGED
@@ -123,6 +123,7 @@ interface ModelerProps {
123
123
  initialDiagram?: string;
124
124
  instanceId?: string;
125
125
  mode?: EditorMode;
126
+ edgeHighlight?: boolean;
126
127
  validateCustomDiagram?: () => Promise<ValidateDiagram[]>;
127
128
  onElementChanges?: (diagram: string) => void;
128
129
  onConfigureElement?: (element: Element) => void;
@@ -130,7 +131,7 @@ interface ModelerProps {
130
131
  onSubprocessValidationClick?: (subprocess: SubProcessElement) => void;
131
132
  }
132
133
 
133
- declare const Modeler: ({ selectorRef, initialDiagram, instanceId: initialInstanceId, mode: initialMode, validateCustomDiagram, onElementChanges, onConfigureElement, onElementClick, onSubprocessValidationClick, }: ModelerProps) => react_jsx_runtime.JSX.Element;
134
+ declare const Modeler: ({ selectorRef, initialDiagram, instanceId: initialInstanceId, mode: initialMode, edgeHighlight, validateCustomDiagram, onElementChanges, onConfigureElement, onElementClick, onSubprocessValidationClick, }: ModelerProps) => react_jsx_runtime.JSX.Element;
134
135
 
135
136
  type ModelerContext = {
136
137
  defaultMode?: EditorMode;