@@ -18,12 +18,12 @@ import type { BpmnCanvas, IconPainter, PaintParameter, ShapeConfiguration } from
18
18
import type { mxAbstractCanvas2D } from 'mxgraph' ;
19
19
20
20
import { ShapeBpmnElementKind , ShapeBpmnMarkerKind , ShapeBpmnSubProcessKind } from '../../../model/bpmn/internal' ;
21
- import { mxRectangleShape , mxUtils } from '../initializer' ;
21
+ import { mxRectangleShape , mxUtilities } from '../initializer' ;
22
22
import { BpmnStyleIdentifier , StyleDefault } from '../style' ;
23
- import { getBpmnIsInstantiating } from '../style/utils ' ;
23
+ import { getBpmnIsInstantiating } from '../style/utilities ' ;
24
24
25
25
import { buildPaintParameter } from './render/icon-painter' ;
26
- import { orderActivityMarkers } from './render/utils ' ;
26
+ import { orderActivityMarkers } from './render/utilities ' ;
27
27
28
28
function getMarkerIconOriginFunction ( numberOfMarkers : number , markerPosition : number ) : ( canvas : BpmnCanvas ) => void {
29
29
return numberOfMarkers === 1
@@ -62,7 +62,7 @@ export abstract class BaseActivityShape extends mxRectangleShape {
62
62
}
63
63
64
64
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 ) ;
66
66
if ( markers ) {
67
67
const orderedMarkers = orderActivityMarkers ( markers . split ( ',' ) ) ;
68
68
for ( const [ index , marker ] of orderedMarkers . entries ( ) ) {
@@ -205,7 +205,7 @@ export class CallActivityShape extends BaseActivityShape {
205
205
206
206
const paintParameter = buildPaintParameter ( { canvas : c , x, y, width : w , height : h , shape : this } ) ;
207
207
208
- switch ( mxUtils . getValue ( this . style , BpmnStyleIdentifier . GLOBAL_TASK_KIND , undefined ) ) {
208
+ switch ( mxUtilities . getValue ( this . style , BpmnStyleIdentifier . GLOBAL_TASK_KIND , undefined ) ) {
209
209
case ShapeBpmnElementKind . GLOBAL_TASK_MANUAL : {
210
210
this . iconPainter . paintHandIcon ( {
211
211
...paintParameter ,
@@ -247,7 +247,7 @@ export class CallActivityShape extends BaseActivityShape {
247
247
*/
248
248
export class SubProcessShape extends BaseActivityShape {
249
249
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 ) ;
251
251
c . save ( ) ; // ensure we can later restore the configuration
252
252
if ( subProcessKind === ShapeBpmnSubProcessKind . EVENT ) {
253
253
c . setDashed ( true , false ) ;
0 commit comments