Skip to content

Commit cedbcc8

Browse files
committed
fix lint
1 parent aac82e4 commit cedbcc8

File tree

118 files changed

+254
-254
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

118 files changed

+254
-254
lines changed

dev/ts/component/SvgExporter.ts

+5-5
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ limitations under the License.
1616

1717
import type { mxGraph, mxSvgCanvas2D as mxSvgCanvas2DType } from 'mxgraph';
1818

19-
import { mxgraph, mxClient, mxConstants, mxSvgCanvas2D, mxUtils } from '../../../src/component/mxgraph/initializer';
19+
import { mxgraph, mxClient, mxConstants, mxSvgCanvas2D, mxUtilities } from '../../../src/component/mxgraph/initializer';
2020

2121
interface SvgExportOptions {
2222
scale: number;
@@ -47,7 +47,7 @@ export class SvgExporter {
4747

4848
private doSvgExport(enableForeignObjectForLabel: boolean): string {
4949
const svgDocument = this.computeSvg({ scale: 1, border: 25, enableForeignObjectForLabel: enableForeignObjectForLabel });
50-
const svgAsString = mxUtils.getXml(svgDocument);
50+
const svgAsString = mxUtilities.getXml(svgDocument);
5151
return `<?xml version="1.0" encoding="UTF-8"?>
5252
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
5353
${svgAsString}
@@ -64,7 +64,7 @@ ${svgAsString}
6464
const viewScale = this.graph.view.scale;
6565

6666
// Prepares SVG document that holds the output
67-
const svgDocument = mxUtils.createXmlDocument();
67+
const svgDocument = mxUtilities.createXmlDocument();
6868
const root = svgDocument.createElementNS(mxConstants.NS_SVG, 'svg');
6969

7070
const s = scale / viewScale;
@@ -168,7 +168,7 @@ class CanvasForExport extends mxSvgCanvas2D {
168168

169169
try {
170170
this.htmlConverter.innerHTML = content;
171-
content = mxUtils.extractTextWithWhitespace(this.htmlConverter.childNodes);
171+
content = mxUtilities.extractTextWithWhitespace(this.htmlConverter.childNodes);
172172

173173
// Workaround for substring breaking double byte UTF
174174
const exp = Math.ceil((2 * w) / this.state.fontSize);
@@ -193,7 +193,7 @@ class CanvasForExport extends mxSvgCanvas2D {
193193

194194
// Uses result and adds ellipsis if more than 1 char remains
195195
if (result.length < content.length && content.length - result.length > 1) {
196-
content = mxUtils.trim(result.join('')) + '...';
196+
content = mxUtilities.trim(result.join('')) + '...';
197197
}
198198
} catch (error) {
199199
console.warn('Error while computing txt label', error);

dev/ts/component/ThemedBpmnVisualization.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
1616

17-
import { BpmnVisualization, FlowKind, ShapeBpmnElementKind, ShapeUtil, StyleConfigurator, StyleDefault } from '../../../src/bpmn-visualization';
17+
import { BpmnVisualization, FlowKind, ShapeBpmnElementKind, ShapeUtility, StyleConfigurator, StyleDefault } from '../../../src/bpmn-visualization';
1818
import { mxConstants } from '../../../src/component/mxgraph/initializer';
1919
import { logStartup } from '../shared/internal-helpers';
2020

@@ -116,7 +116,7 @@ export class ThemedBpmnVisualization extends BpmnVisualization {
116116
const styleSheet = this.graph.getStylesheet();
117117

118118
// EVENT
119-
for (const kind of ShapeUtil.eventKinds()) {
119+
for (const kind of ShapeUtility.eventKinds()) {
120120
let fillColor;
121121
let strokeColor;
122122
switch (kind) {
@@ -149,7 +149,7 @@ export class ThemedBpmnVisualization extends BpmnVisualization {
149149
}
150150

151151
// TASK
152-
for (const kind of ShapeUtil.taskKinds()) {
152+
for (const kind of ShapeUtility.taskKinds()) {
153153
const style = styleSheet.styles[kind];
154154
style.fillColor = theme.taskAndCallActivityFillColor;
155155
}

dev/ts/development-bundle-index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ export * from './shared/main';
1919
export * from './shared/shared-helpers';
2020
export * from '../../src/bpmn-visualization';
2121
// extra code not exported by bpmn-visualization
22-
export * from '../../src/model/bpmn/internal/edge/utils';
22+
export * from '../../src/model/bpmn/internal/edge/utilities';

dev/ts/pages/elements-identification.ts

+10-10
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import {
2727
log,
2828
removeAllOverlays,
2929
removeCssClasses,
30-
ShapeUtil,
30+
ShapeUtility,
3131
startBpmnVisualization,
3232
updateLoadOptions,
3333
updateStyle,
@@ -63,37 +63,37 @@ function computeStyleUpdateByKind(bpmnKind: BpmnElementKind): StyleUpdate {
6363
return style;
6464
}
6565

66-
if (ShapeUtil.isTask(bpmnKind)) {
66+
if (ShapeUtility.isTask(bpmnKind)) {
6767
style.font.color = 'Indigo';
6868
style.fill.color = 'gold';
6969
style.font.size = 14;
7070
style.fill.opacity = 20;
71-
} else if (ShapeUtil.isEvent(bpmnKind)) {
72-
if (ShapeUtil.isBoundaryEvent(bpmnKind)) {
71+
} else if (ShapeUtility.isEvent(bpmnKind)) {
72+
if (ShapeUtility.isBoundaryEvent(bpmnKind)) {
7373
style.font.color = 'inherit';
7474
style.fill.color = 'inherit';
7575
style.stroke.color = 'inherit';
7676
} else {
7777
style.font.color = 'MediumTurquoise';
7878
style.stroke.color = 'MediumTurquoise';
7979
}
80-
} else if (ShapeUtil.isGateway(bpmnKind)) {
80+
} else if (ShapeUtility.isGateway(bpmnKind)) {
8181
style.font.color = 'CadetBlue';
8282
style.font.opacity = 85;
8383
style.stroke.color = 'OrangeRed';
8484
style.stroke.width = 4;
85-
} else if (ShapeUtil.isPoolOrLane(bpmnKind)) {
85+
} else if (ShapeUtility.isPoolOrLane(bpmnKind)) {
8686
style.font.color = 'white !important';
8787
style.fill.color = 'deeppink';
8888
style.stroke.opacity = 80;
89-
} else if (ShapeUtil.isCallActivity(bpmnKind)) {
89+
} else if (ShapeUtility.isCallActivity(bpmnKind)) {
9090
style.font.color = 'white';
9191
style.font.family = 'Times New Roman';
9292
style.font.isItalic = true;
9393
style.font.isStrikeThrough = true;
9494

9595
style.fill.color = { startColor: 'LightYellow', endColor: 'LimeGreen', direction: 'left-to-right' };
96-
} else if (ShapeUtil.isSubProcess(bpmnKind)) {
96+
} else if (ShapeUtility.isSubProcess(bpmnKind)) {
9797
style.font.color = 'white';
9898
style.font.size = 14;
9999
style.font.family = 'Dialog';
@@ -133,7 +133,7 @@ function updateStyleByAPI(bpmnIds: string[], bpmnKind: ShapeBpmnElementKind): vo
133133
}
134134
updateStyle(subProcessChildrenIds, { fill: { color: 'swimlane' }, stroke: { color: 'swimlane' }, font: { color: 'swimlane' } });
135135

136-
if (ShapeUtil.isBoundaryEvent(bpmnKind)) {
136+
if (ShapeUtility.isBoundaryEvent(bpmnKind)) {
137137
lastIdentifiedParentBpmnIds = getParentElementIds(otherIds);
138138
updateStyle(lastIdentifiedParentBpmnIds, { opacity: 5, font: { color: 'green', opacity: 5 }, fill: { color: 'gold' }, stroke: { color: 'red' } });
139139
}
@@ -242,7 +242,7 @@ function configureControls(): void {
242242
}
243243

244244
function getOverlay(bpmnKind: BpmnElementKind): Overlay {
245-
if (ShapeUtil.isActivity(bpmnKind)) {
245+
if (ShapeUtility.isActivity(bpmnKind)) {
246246
return {
247247
position: 'top-right',
248248
label: '30',

src/component/BpmnVisualization.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import type { BpmnGraph } from './mxgraph/BpmnGraph';
1818
import type { GlobalOptions, LoadOptions, ParserOptions, RendererOptions } from './options';
1919
import type { BpmnElementsRegistry } from './registry';
2020

21-
import { htmlElement } from './helpers/dom-utils';
21+
import { htmlElement } from './helpers/dom-utilities';
2222
import { newBpmnRenderer } from './mxgraph/BpmnRenderer';
2323
import GraphConfigurator from './mxgraph/GraphConfigurator';
2424
import { Navigation } from './navigation';
File renamed without changes.
File renamed without changes.

src/component/mxgraph/BpmnCellRenderer.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import type { mxCellState, mxImageShape, mxShape } from 'mxgraph';
2020
import { mxgraph, mxRectangle } from './initializer';
2121
import { MxGraphCustomOverlay } from './overlay/custom-overlay';
2222
import { OverlayBadgeShape } from './overlay/shapes';
23-
import { overrideCreateSvgCanvas } from './shape/utils';
23+
import { overrideCreateSvgCanvas } from './shape/utilities';
2424

2525
export class BpmnCellRenderer extends mxgraph.mxCellRenderer {
2626
constructor(private readonly iconPainter: IconPainter) {

src/component/mxgraph/BpmnRenderer.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import type { FitOptions, RendererOptions } from '../options';
2323
import type { RenderedModel } from '../registry/bpmn-model-registry';
2424
import type { mxCell } from 'mxgraph';
2525

26-
import { MessageVisibleKind, ShapeUtil } from '../../model/bpmn/internal';
26+
import { MessageVisibleKind, ShapeUtility } from '../../model/bpmn/internal';
2727
import { MessageFlow } from '../../model/bpmn/internal/edge/flows';
2828

2929
import { mxPoint } from './initializer';
@@ -74,7 +74,7 @@ export class BpmnRenderer {
7474
const bounds = shape.bounds;
7575
let labelBounds = shape.label?.bounds;
7676
// pool/lane label bounds are not managed for now (use hard coded values)
77-
labelBounds = ShapeUtil.isPoolOrLane(bpmnElement.kind) ? undefined : labelBounds;
77+
labelBounds = ShapeUtility.isPoolOrLane(bpmnElement.kind) ? undefined : labelBounds;
7878
const style = this.styleComputer.computeStyle(shape, labelBounds);
7979

8080
this.insertVertex(parent, bpmnElement.id, bpmnElement.name, bounds, labelBounds, style);

src/component/mxgraph/config/StyleConfigurator.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ limitations under the License.
1717
import type { BpmnGraph } from '../BpmnGraph';
1818
import type { mxStylesheet, StyleMap } from 'mxgraph';
1919

20-
import { AssociationDirectionKind, FlowKind, SequenceFlowKind, ShapeBpmnElementKind, ShapeUtil } from '../../../model/bpmn/internal';
20+
import { AssociationDirectionKind, FlowKind, SequenceFlowKind, ShapeBpmnElementKind, ShapeUtility } from '../../../model/bpmn/internal';
2121
import { mxConstants, mxPerimeter } from '../initializer';
2222
import { BpmnStyleIdentifier, MarkerIdentifier, StyleDefault } from '../style';
2323

@@ -179,7 +179,7 @@ export class StyleConfigurator {
179179
}
180180

181181
private configureEventStyles(): void {
182-
for (const kind of ShapeUtil.eventKinds()) {
182+
for (const kind of ShapeUtility.eventKinds()) {
183183
const style: StyleMap = {};
184184
style[mxConstants.STYLE_SHAPE] = kind;
185185
style[mxConstants.STYLE_PERIMETER] = mxPerimeter.EllipsePerimeter;
@@ -215,7 +215,7 @@ export class StyleConfigurator {
215215
}
216216

217217
private configureActivityStyles(): void {
218-
for (const kind of ShapeUtil.activityKinds()) {
218+
for (const kind of ShapeUtility.activityKinds()) {
219219
const style: StyleMap = {};
220220
style[mxConstants.STYLE_SHAPE] = kind;
221221
style[mxConstants.STYLE_ROUNDED] = true; // required by the BPMN specification
@@ -226,7 +226,7 @@ export class StyleConfigurator {
226226
}
227227

228228
private configureGatewayStyles(): void {
229-
for (const kind of ShapeUtil.gatewayKinds()) {
229+
for (const kind of ShapeUtility.gatewayKinds()) {
230230
const style: StyleMap = {};
231231
style[mxConstants.STYLE_SHAPE] = kind;
232232
style[mxConstants.STYLE_PERIMETER] = mxPerimeter.RhombusPerimeter;

src/component/mxgraph/initializer.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export const mxRectangleShape = mxgraph.mxRectangleShape;
5252
/** @internal */
5353
export const mxSvgCanvas2D = mxgraph.mxSvgCanvas2D;
5454
/** @internal */
55-
export const mxUtils = mxgraph.mxUtils;
55+
export const mxUtilities = mxgraph.mxUtils;
5656

5757
/** @internal */
5858
declare global {

src/component/mxgraph/overlay/updater.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ limitations under the License.
1717
import type { Overlay } from '../../registry';
1818
import type { BpmnGraph } from '../BpmnGraph';
1919

20-
import { ensureIsArray } from '../../helpers/array-utils';
20+
import { ensureIsArray } from '../../helpers/array-utilities';
2121

2222
import { OverlayConverter } from './converter';
2323
import { MxGraphCustomOverlay } from './custom-overlay';

src/component/mxgraph/renderer/StyleComputer.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import type { Edge } from '../../../model/bpmn/internal/edge/edge';
1919
import type { Font } from '../../../model/bpmn/internal/Label';
2020
import type { RendererOptions } from '../../options';
2121

22-
import { MessageVisibleKind, ShapeBpmnCallActivityKind, ShapeBpmnElementKind, ShapeBpmnMarkerKind, ShapeUtil } from '../../../model/bpmn/internal';
22+
import { MessageVisibleKind, ShapeBpmnCallActivityKind, ShapeBpmnElementKind, ShapeBpmnMarkerKind, ShapeUtility } from '../../../model/bpmn/internal';
2323
import { AssociationFlow, SequenceFlow } from '../../../model/bpmn/internal/edge/flows';
2424
import Shape from '../../../model/bpmn/internal/shape/Shape';
2525
import {
@@ -70,7 +70,7 @@ export default class StyleComputer {
7070
computeEventShapeStyle(bpmnElement, styleValues);
7171
} else if (bpmnElement instanceof ShapeBpmnActivity) {
7272
computeActivityShapeStyle(bpmnElement, styleValues);
73-
} else if (ShapeUtil.isPoolOrLane(bpmnElement.kind)) {
73+
} else if (ShapeUtility.isPoolOrLane(bpmnElement.kind)) {
7474
// mxConstants.STYLE_HORIZONTAL is for the label
7575
// In BPMN, isHorizontal is for the Shape
7676
// So we invert the value when we switch from the BPMN value to the mxGraph value.
@@ -85,7 +85,7 @@ export default class StyleComputer {
8585
const fillColor = extensions.fillColor;
8686
if (fillColor) {
8787
styleValues.set(mxConstants.STYLE_FILLCOLOR, fillColor);
88-
if (ShapeUtil.isPoolOrLane(bpmnElement.kind)) {
88+
if (ShapeUtility.isPoolOrLane(bpmnElement.kind)) {
8989
styleValues.set(mxConstants.STYLE_SWIMLANE_FILLCOLOR, fillColor);
9090
}
9191
}

src/component/mxgraph/renderer/style-utils.ts src/component/mxgraph/renderer/style-utilities.ts

+7-7
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ limitations under the License.
1616

1717
import type { mxCell } from 'mxgraph';
1818

19-
import { ShapeUtil } from '../../../model/bpmn/internal';
20-
import { isFlowKind } from '../../../model/bpmn/internal/edge/utils';
19+
import { ShapeUtility as ShapeUtility } from '../../../model/bpmn/internal';
20+
import { isFlowKind } from '../../../model/bpmn/internal/edge/utilities';
2121
import { BpmnStyleIdentifier } from '../style/identifiers';
2222

2323
/**
@@ -47,12 +47,12 @@ export function computeAllBpmnClassNames(style: string, isLabel: boolean): strin
4747
const bpmnElementKind = pseudoBpmnElementKind.replace(/shape=bpmn./g, '');
4848

4949
const typeClasses = new Map<string, boolean>();
50-
typeClasses.set('bpmn-type-activity', ShapeUtil.isActivity(bpmnElementKind));
51-
typeClasses.set('bpmn-type-container', ShapeUtil.isPoolOrLane(bpmnElementKind));
52-
typeClasses.set('bpmn-type-event', ShapeUtil.isEvent(bpmnElementKind));
50+
typeClasses.set('bpmn-type-activity', ShapeUtility.isActivity(bpmnElementKind));
51+
typeClasses.set('bpmn-type-container', ShapeUtility.isPoolOrLane(bpmnElementKind));
52+
typeClasses.set('bpmn-type-event', ShapeUtility.isEvent(bpmnElementKind));
5353
typeClasses.set('bpmn-type-flow', isFlowKind(bpmnElementKind));
54-
typeClasses.set('bpmn-type-gateway', ShapeUtil.isGateway(bpmnElementKind));
55-
typeClasses.set('bpmn-type-task', ShapeUtil.isTask(bpmnElementKind));
54+
typeClasses.set('bpmn-type-gateway', ShapeUtility.isGateway(bpmnElementKind));
55+
typeClasses.set('bpmn-type-task', ShapeUtility.isTask(bpmnElementKind));
5656
for (const [className] of [...typeClasses].filter(([, isType]) => isType)) classes.push(className);
5757

5858
classes.push(computeBpmnBaseClassName(bpmnElementKind));

src/component/mxgraph/shape/activity-shapes.ts

+6-6
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ import type { BpmnCanvas, IconPainter, PaintParameter, ShapeConfiguration } from
1818
import type { mxAbstractCanvas2D } from 'mxgraph';
1919

2020
import { ShapeBpmnElementKind, ShapeBpmnMarkerKind, ShapeBpmnSubProcessKind } from '../../../model/bpmn/internal';
21-
import { mxRectangleShape, mxUtils } from '../initializer';
21+
import { mxRectangleShape, mxUtilities } from '../initializer';
2222
import { BpmnStyleIdentifier, StyleDefault } from '../style';
23-
import { getBpmnIsInstantiating } from '../style/utils';
23+
import { getBpmnIsInstantiating } from '../style/utilities';
2424

2525
import { buildPaintParameter } from './render/icon-painter';
26-
import { orderActivityMarkers } from './render/utils';
26+
import { orderActivityMarkers } from './render/utilities';
2727

2828
function getMarkerIconOriginFunction(numberOfMarkers: number, markerPosition: number): (canvas: BpmnCanvas) => void {
2929
return numberOfMarkers === 1
@@ -62,7 +62,7 @@ export abstract class BaseActivityShape extends mxRectangleShape {
6262
}
6363

6464
protected paintMarkerIcons(paintParameter: PaintParameter): void {
65-
const markers = mxUtils.getValue(this.style, BpmnStyleIdentifier.MARKERS, undefined);
65+
const markers = mxUtilities.getValue(this.style, BpmnStyleIdentifier.MARKERS, undefined);
6666
if (markers) {
6767
const orderedMarkers = orderActivityMarkers(markers.split(','));
6868
for (const [index, marker] of orderedMarkers.entries()) {
@@ -205,7 +205,7 @@ export class CallActivityShape extends BaseActivityShape {
205205

206206
const paintParameter = buildPaintParameter({ canvas: c, x, y, width: w, height: h, shape: this });
207207

208-
switch (mxUtils.getValue(this.style, BpmnStyleIdentifier.GLOBAL_TASK_KIND, undefined)) {
208+
switch (mxUtilities.getValue(this.style, BpmnStyleIdentifier.GLOBAL_TASK_KIND, undefined)) {
209209
case ShapeBpmnElementKind.GLOBAL_TASK_MANUAL: {
210210
this.iconPainter.paintHandIcon({
211211
...paintParameter,
@@ -247,7 +247,7 @@ export class CallActivityShape extends BaseActivityShape {
247247
*/
248248
export class SubProcessShape extends BaseActivityShape {
249249
override paintBackground(c: mxAbstractCanvas2D, x: number, y: number, w: number, h: number): void {
250-
const subProcessKind = mxUtils.getValue(this.style, BpmnStyleIdentifier.SUB_PROCESS_KIND, undefined);
250+
const subProcessKind = mxUtilities.getValue(this.style, BpmnStyleIdentifier.SUB_PROCESS_KIND, undefined);
251251
c.save(); // ensure we can later restore the configuration
252252
if (subProcessKind === ShapeBpmnSubProcessKind.EVENT) {
253253
c.setDashed(true, false);

src/component/mxgraph/shape/edges.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ limitations under the License.
1616

1717
import type { mxAbstractCanvas2D, mxPoint } from 'mxgraph';
1818

19-
import { mxgraph, mxSvgCanvas2D, mxUtils } from '../initializer';
19+
import { mxgraph, mxSvgCanvas2D, mxUtilities } from '../initializer';
2020
import { BpmnStyleIdentifier } from '../style';
2121

2222
export class BpmnConnector extends mxgraph.mxConnector {
@@ -34,12 +34,12 @@ export class BpmnConnector extends mxgraph.mxConnector {
3434
c.setDashed(false, false);
3535

3636
if (sourceMarker != null) {
37-
c.setFillColor(mxUtils.getValue(this.style, BpmnStyleIdentifier.EDGE_START_FILL_COLOR, this.stroke));
37+
c.setFillColor(mxUtilities.getValue(this.style, BpmnStyleIdentifier.EDGE_START_FILL_COLOR, this.stroke));
3838
sourceMarker();
3939
}
4040

4141
if (targetMarker != null) {
42-
c.setFillColor(mxUtils.getValue(this.style, BpmnStyleIdentifier.EDGE_END_FILL_COLOR, this.stroke));
42+
c.setFillColor(mxUtilities.getValue(this.style, BpmnStyleIdentifier.EDGE_END_FILL_COLOR, this.stroke));
4343
targetMarker();
4444
}
4545
}

src/component/mxgraph/shape/event-shapes.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import type { BpmnCanvas, PaintParameter, IconPainter } from './render';
1818
import type { mxAbstractCanvas2D } from 'mxgraph';
1919

2020
import { ShapeBpmnEventDefinitionKind } from '../../../model/bpmn/internal';
21-
import { mxgraph, mxUtils } from '../initializer';
21+
import { mxgraph, mxUtilities } from '../initializer';
2222
import { BpmnStyleIdentifier, StyleDefault } from '../style';
2323

2424
import { buildPaintParameter } from './render/icon-painter';
@@ -90,7 +90,7 @@ export class EventShape extends mxgraph.mxEllipse {
9090
override paintVertexShape(c: mxAbstractCanvas2D, x: number, y: number, w: number, h: number): void {
9191
const paintParameter = buildPaintParameter({ canvas: c, x, y, width: w, height: h, shape: this, isFilled: this.withFilledIcon });
9292

93-
setDashedOuterShapePattern(paintParameter, mxUtils.getValue(this.style, BpmnStyleIdentifier.IS_INTERRUPTING, undefined));
93+
setDashedOuterShapePattern(paintParameter, mxUtilities.getValue(this.style, BpmnStyleIdentifier.IS_INTERRUPTING, undefined));
9494
this.paintOuterShape(paintParameter);
9595
restoreOriginalOuterShapePattern(paintParameter);
9696

@@ -102,7 +102,7 @@ export class EventShape extends mxgraph.mxEllipse {
102102
}
103103

104104
private paintInnerShape(paintParameter: PaintParameter): void {
105-
const paintIcon = this.iconPainters.get(mxUtils.getValue(this.style, BpmnStyleIdentifier.EVENT_DEFINITION_KIND, ShapeBpmnEventDefinitionKind.NONE));
105+
const paintIcon = this.iconPainters.get(mxUtilities.getValue(this.style, BpmnStyleIdentifier.EVENT_DEFINITION_KIND, ShapeBpmnEventDefinitionKind.NONE));
106106
paintIcon?.(paintParameter);
107107
}
108108
}

0 commit comments

Comments
 (0)