camunda-bpmn-js 3.10.1 → 3.11.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/dist/base-modeler.development.js +324 -226
- package/dist/base-modeler.production.min.js +33 -33
- package/dist/base-navigated-viewer.development.js +85 -18
- package/dist/base-navigated-viewer.production.min.js +1 -1
- package/dist/base-viewer.development.js +85 -18
- package/dist/base-viewer.production.min.js +1 -1
- package/dist/camunda-cloud-modeler.development.js +864 -656
- package/dist/camunda-cloud-modeler.production.min.js +34 -34
- package/dist/camunda-cloud-navigated-viewer.development.js +85 -18
- package/dist/camunda-cloud-navigated-viewer.production.min.js +1 -1
- package/dist/camunda-cloud-viewer.development.js +85 -18
- package/dist/camunda-cloud-viewer.production.min.js +1 -1
- package/dist/camunda-platform-modeler.development.js +529 -587
- package/dist/camunda-platform-modeler.production.min.js +33 -33
- package/dist/camunda-platform-navigated-viewer.development.js +85 -18
- package/dist/camunda-platform-navigated-viewer.production.min.js +1 -1
- package/dist/camunda-platform-viewer.development.js +85 -18
- package/dist/camunda-platform-viewer.production.min.js +1 -1
- package/package.json +5 -5
|
@@ -2350,7 +2350,7 @@
|
|
|
2350
2350
|
}
|
|
2351
2351
|
|
|
2352
2352
|
/**
|
|
2353
|
-
* @typedef {import('./index').InjectAnnotated } InjectAnnotated
|
|
2353
|
+
* @typedef {import('./index.js').InjectAnnotated } InjectAnnotated
|
|
2354
2354
|
*/
|
|
2355
2355
|
|
|
2356
2356
|
/**
|
|
@@ -2420,9 +2420,9 @@
|
|
|
2420
2420
|
}
|
|
2421
2421
|
|
|
2422
2422
|
/**
|
|
2423
|
-
* @typedef { import('./index').ModuleDeclaration } ModuleDeclaration
|
|
2424
|
-
* @typedef { import('./index').ModuleDefinition } ModuleDefinition
|
|
2425
|
-
* @typedef { import('./index').InjectorContext } InjectorContext
|
|
2423
|
+
* @typedef { import('./index.js').ModuleDeclaration } ModuleDeclaration
|
|
2424
|
+
* @typedef { import('./index.js').ModuleDefinition } ModuleDefinition
|
|
2425
|
+
* @typedef { import('./index.js').InjectorContext } InjectorContext
|
|
2426
2426
|
*/
|
|
2427
2427
|
|
|
2428
2428
|
/**
|
|
@@ -2525,11 +2525,20 @@
|
|
|
2525
2525
|
};
|
|
2526
2526
|
}
|
|
2527
2527
|
|
|
2528
|
-
|
|
2528
|
+
/**
|
|
2529
|
+
* Instantiate the given type, injecting dependencies.
|
|
2530
|
+
*
|
|
2531
|
+
* @template T
|
|
2532
|
+
*
|
|
2533
|
+
* @param { Function | [...string[], Function ]} type
|
|
2534
|
+
*
|
|
2535
|
+
* @return T
|
|
2536
|
+
*/
|
|
2537
|
+
function instantiate(type) {
|
|
2529
2538
|
const {
|
|
2530
2539
|
fn,
|
|
2531
2540
|
dependencies
|
|
2532
|
-
} = fnDef(
|
|
2541
|
+
} = fnDef(type);
|
|
2533
2542
|
|
|
2534
2543
|
// instantiate var args constructor
|
|
2535
2544
|
const Constructor = Function.prototype.bind.apply(fn, [ null ].concat(dependencies));
|
|
@@ -2537,6 +2546,17 @@
|
|
|
2537
2546
|
return new Constructor();
|
|
2538
2547
|
}
|
|
2539
2548
|
|
|
2549
|
+
/**
|
|
2550
|
+
* Invoke the given function, injecting dependencies. Return the result.
|
|
2551
|
+
*
|
|
2552
|
+
* @template T
|
|
2553
|
+
*
|
|
2554
|
+
* @param { Function | [...string[], Function ]} func
|
|
2555
|
+
* @param { Object } [context]
|
|
2556
|
+
* @param { Object } [locals]
|
|
2557
|
+
*
|
|
2558
|
+
* @return {T} invocation result
|
|
2559
|
+
*/
|
|
2540
2560
|
function invoke(func, context, locals) {
|
|
2541
2561
|
const {
|
|
2542
2562
|
fn,
|
|
@@ -3817,35 +3837,6 @@
|
|
|
3817
3837
|
};
|
|
3818
3838
|
}
|
|
3819
3839
|
|
|
3820
|
-
function getDefaultExportFromCjs (x) {
|
|
3821
|
-
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
|
3822
|
-
}
|
|
3823
|
-
|
|
3824
|
-
function getAugmentedNamespace(n) {
|
|
3825
|
-
if (n.__esModule) return n;
|
|
3826
|
-
var f = n.default;
|
|
3827
|
-
if (typeof f == "function") {
|
|
3828
|
-
var a = function a () {
|
|
3829
|
-
if (this instanceof a) {
|
|
3830
|
-
return Reflect.construct(f, arguments, this.constructor);
|
|
3831
|
-
}
|
|
3832
|
-
return f.apply(this, arguments);
|
|
3833
|
-
};
|
|
3834
|
-
a.prototype = f.prototype;
|
|
3835
|
-
} else a = {};
|
|
3836
|
-
Object.defineProperty(a, '__esModule', {value: true});
|
|
3837
|
-
Object.keys(n).forEach(function (k) {
|
|
3838
|
-
var d = Object.getOwnPropertyDescriptor(n, k);
|
|
3839
|
-
Object.defineProperty(a, k, d.get ? d : {
|
|
3840
|
-
enumerable: true,
|
|
3841
|
-
get: function () {
|
|
3842
|
-
return n[k];
|
|
3843
|
-
}
|
|
3844
|
-
});
|
|
3845
|
-
});
|
|
3846
|
-
return a;
|
|
3847
|
-
}
|
|
3848
|
-
|
|
3849
3840
|
/**
|
|
3850
3841
|
* This file contains source code adapted from Snap.svg (licensed Apache-2.0).
|
|
3851
3842
|
*
|
|
@@ -3910,7 +3901,7 @@
|
|
|
3910
3901
|
|
|
3911
3902
|
count.length >= 1e3 && delete cache[count.shift()];
|
|
3912
3903
|
count.push(args);
|
|
3913
|
-
cache[args] = f
|
|
3904
|
+
cache[args] = f(...arguments);
|
|
3914
3905
|
|
|
3915
3906
|
return cache[args];
|
|
3916
3907
|
}
|
|
@@ -3947,13 +3938,13 @@
|
|
|
3947
3938
|
});
|
|
3948
3939
|
|
|
3949
3940
|
if (name == 'm' && params.length > 2) {
|
|
3950
|
-
data.push([b
|
|
3941
|
+
data.push([ b, ...params.splice(0, 2) ]);
|
|
3951
3942
|
name = 'l';
|
|
3952
3943
|
b = b == 'm' ? 'l' : 'L';
|
|
3953
3944
|
}
|
|
3954
3945
|
|
|
3955
3946
|
while (params.length >= paramCounts[name]) {
|
|
3956
|
-
data.push([b
|
|
3947
|
+
data.push([ b, ...params.splice(0, paramCounts[name]) ]);
|
|
3957
3948
|
if (!paramCounts[name]) {
|
|
3958
3949
|
break;
|
|
3959
3950
|
}
|
|
@@ -4036,7 +4027,7 @@
|
|
|
4036
4027
|
|
|
4037
4028
|
function bezierBBox(points) {
|
|
4038
4029
|
|
|
4039
|
-
var bbox = curveBBox
|
|
4030
|
+
var bbox = curveBBox(...points);
|
|
4040
4031
|
|
|
4041
4032
|
return rectBBox(
|
|
4042
4033
|
bbox.x0,
|
|
@@ -4086,8 +4077,8 @@
|
|
|
4086
4077
|
|
|
4087
4078
|
var z2 = z / 2,
|
|
4088
4079
|
n = 12,
|
|
4089
|
-
Tvalues = [-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816],
|
|
4090
|
-
Cvalues = [0.2491,0.2491,0.2335,0.2335,0.2032,0.2032,0.1601,0.1601,0.1069,0.1069,0.0472,0.0472],
|
|
4080
|
+
Tvalues = [ -.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816 ],
|
|
4081
|
+
Cvalues = [ 0.2491,0.2491,0.2335,0.2335,0.2032,0.2032,0.1601,0.1601,0.1069,0.1069,0.0472,0.0472 ],
|
|
4091
4082
|
sum = 0;
|
|
4092
4083
|
|
|
4093
4084
|
for (var i = 0; i < n; i++) {
|
|
@@ -4157,8 +4148,8 @@
|
|
|
4157
4148
|
|
|
4158
4149
|
// As an optimization, lines will have only 1 segment
|
|
4159
4150
|
|
|
4160
|
-
var l1 = bezlen
|
|
4161
|
-
l2 = bezlen
|
|
4151
|
+
var l1 = bezlen(...bez1),
|
|
4152
|
+
l2 = bezlen(...bez2),
|
|
4162
4153
|
n1 = isLine(bez1) ? 1 : ~~(l1 / 5) || 1,
|
|
4163
4154
|
n2 = isLine(bez2) ? 1 : ~~(l2 / 5) || 1,
|
|
4164
4155
|
dots1 = [],
|
|
@@ -4167,12 +4158,12 @@
|
|
|
4167
4158
|
res = justCount ? 0 : [];
|
|
4168
4159
|
|
|
4169
4160
|
for (var i = 0; i < n1 + 1; i++) {
|
|
4170
|
-
var p = findDotsAtSegment
|
|
4161
|
+
var p = findDotsAtSegment(...bez1, i / n1);
|
|
4171
4162
|
dots1.push({ x: p.x, y: p.y, t: i / n1 });
|
|
4172
4163
|
}
|
|
4173
4164
|
|
|
4174
4165
|
for (i = 0; i < n2 + 1; i++) {
|
|
4175
|
-
p = findDotsAtSegment
|
|
4166
|
+
p = findDotsAtSegment(...bez2, i / n2);
|
|
4176
4167
|
dots2.push({ x: p.x, y: p.y, t: i / n2 });
|
|
4177
4168
|
}
|
|
4178
4169
|
|
|
@@ -4267,11 +4258,11 @@
|
|
|
4267
4258
|
} else {
|
|
4268
4259
|
|
|
4269
4260
|
if (pi[0] == 'C') {
|
|
4270
|
-
bez1 = [x1, y1
|
|
4261
|
+
bez1 = [ x1, y1, ...pi.slice(1) ];
|
|
4271
4262
|
x1 = bez1[6];
|
|
4272
4263
|
y1 = bez1[7];
|
|
4273
4264
|
} else {
|
|
4274
|
-
bez1 = [x1, y1, x1, y1, x1m, y1m, x1m, y1m];
|
|
4265
|
+
bez1 = [ x1, y1, x1, y1, x1m, y1m, x1m, y1m ];
|
|
4275
4266
|
x1 = x1m;
|
|
4276
4267
|
y1 = y1m;
|
|
4277
4268
|
}
|
|
@@ -4285,11 +4276,11 @@
|
|
|
4285
4276
|
} else {
|
|
4286
4277
|
|
|
4287
4278
|
if (pj[0] == 'C') {
|
|
4288
|
-
bez2 = [x2, y2
|
|
4279
|
+
bez2 = [ x2, y2, ...pj.slice(1) ];
|
|
4289
4280
|
x2 = bez2[6];
|
|
4290
4281
|
y2 = bez2[7];
|
|
4291
4282
|
} else {
|
|
4292
|
-
bez2 = [x2, y2, x2, y2, x2m, y2m, x2m, y2m];
|
|
4283
|
+
bez2 = [ x2, y2, x2, y2, x2m, y2m, x2m, y2m ];
|
|
4293
4284
|
x2 = x2m;
|
|
4294
4285
|
y2 = y2m;
|
|
4295
4286
|
}
|
|
@@ -4330,7 +4321,7 @@
|
|
|
4330
4321
|
}
|
|
4331
4322
|
|
|
4332
4323
|
if (!pathArray || !pathArray.length) {
|
|
4333
|
-
return [['M', 0, 0]];
|
|
4324
|
+
return [ [ 'M', 0, 0 ] ];
|
|
4334
4325
|
}
|
|
4335
4326
|
|
|
4336
4327
|
var res = [],
|
|
@@ -4347,7 +4338,7 @@
|
|
|
4347
4338
|
mx = x;
|
|
4348
4339
|
my = y;
|
|
4349
4340
|
start++;
|
|
4350
|
-
res[0] = ['M', x, y];
|
|
4341
|
+
res[0] = [ 'M', x, y ];
|
|
4351
4342
|
}
|
|
4352
4343
|
|
|
4353
4344
|
for (var r, pa, i = start, ii = pathArray.length; i < ii; i++) {
|
|
@@ -4516,7 +4507,7 @@
|
|
|
4516
4507
|
f2 = f1 + _120 * (sweep_flag && f2 > f1 ? 1 : -1);
|
|
4517
4508
|
x2 = cx + rx * math.cos(f2);
|
|
4518
4509
|
y2 = cy + ry * math.sin(f2);
|
|
4519
|
-
res = arcToCurve(x2, y2, rx, ry, angle, 0, sweep_flag, x2old, y2old, [f2, f2old, cx, cy]);
|
|
4510
|
+
res = arcToCurve(x2, y2, rx, ry, angle, 0, sweep_flag, x2old, y2old, [ f2, f2old, cx, cy ]);
|
|
4520
4511
|
}
|
|
4521
4512
|
|
|
4522
4513
|
df = f2 - f1;
|
|
@@ -4528,18 +4519,18 @@
|
|
|
4528
4519
|
t = math.tan(df / 4),
|
|
4529
4520
|
hx = 4 / 3 * rx * t,
|
|
4530
4521
|
hy = 4 / 3 * ry * t,
|
|
4531
|
-
m1 = [x1, y1],
|
|
4532
|
-
m2 = [x1 + hx * s1, y1 - hy * c1],
|
|
4533
|
-
m3 = [x2 + hx * s2, y2 - hy * c2],
|
|
4534
|
-
m4 = [x2, y2];
|
|
4522
|
+
m1 = [ x1, y1 ],
|
|
4523
|
+
m2 = [ x1 + hx * s1, y1 - hy * c1 ],
|
|
4524
|
+
m3 = [ x2 + hx * s2, y2 - hy * c2 ],
|
|
4525
|
+
m4 = [ x2, y2 ];
|
|
4535
4526
|
|
|
4536
4527
|
m2[0] = 2 * m1[0] - m2[0];
|
|
4537
4528
|
m2[1] = 2 * m1[1] - m2[1];
|
|
4538
4529
|
|
|
4539
4530
|
if (recursive) {
|
|
4540
|
-
return [m2, m3, m4].concat(res);
|
|
4531
|
+
return [ m2, m3, m4 ].concat(res);
|
|
4541
4532
|
} else {
|
|
4542
|
-
res = [m2, m3, m4].concat(res).join().split(',');
|
|
4533
|
+
res = [ m2, m3, m4 ].concat(res).join().split(',');
|
|
4543
4534
|
var newres = [];
|
|
4544
4535
|
|
|
4545
4536
|
for (var i = 0, ii = res.length; i < ii; i++) {
|
|
@@ -4556,7 +4547,7 @@
|
|
|
4556
4547
|
// Modifications: https://github.com/timo22345
|
|
4557
4548
|
function curveBBox(x0, y0, x1, y1, x2, y2, x3, y3) {
|
|
4558
4549
|
var tvalues = [],
|
|
4559
|
-
bounds = [[], []],
|
|
4550
|
+
bounds = [ [], [] ],
|
|
4560
4551
|
a, b, c, t, t1, t2, b2ac, sqrtb2ac;
|
|
4561
4552
|
|
|
4562
4553
|
for (var i = 0; i < 2; ++i) {
|
|
@@ -4624,10 +4615,10 @@
|
|
|
4624
4615
|
bounds[0].length = bounds[1].length = jlen + 2;
|
|
4625
4616
|
|
|
4626
4617
|
return {
|
|
4627
|
-
x0: mmin
|
|
4628
|
-
y0: mmin
|
|
4629
|
-
x1: mmax
|
|
4630
|
-
y1: mmax
|
|
4618
|
+
x0: mmin(...bounds[0]),
|
|
4619
|
+
y0: mmin(...bounds[1]),
|
|
4620
|
+
x1: mmax(...bounds[0]),
|
|
4621
|
+
y1: mmax(...bounds[1])
|
|
4631
4622
|
};
|
|
4632
4623
|
}
|
|
4633
4624
|
|
|
@@ -4646,7 +4637,7 @@
|
|
|
4646
4637
|
var nx, ny;
|
|
4647
4638
|
|
|
4648
4639
|
if (!path) {
|
|
4649
|
-
return ['C', d.x, d.y, d.x, d.y, d.x, d.y];
|
|
4640
|
+
return [ 'C', d.x, d.y, d.x, d.y, d.x, d.y ];
|
|
4650
4641
|
}
|
|
4651
4642
|
|
|
4652
4643
|
!(path[0] in { T: 1, Q: 1 }) && (d.qx = d.qy = null);
|
|
@@ -4657,7 +4648,7 @@
|
|
|
4657
4648
|
d.Y = path[2];
|
|
4658
4649
|
break;
|
|
4659
4650
|
case 'A':
|
|
4660
|
-
path = ['C'
|
|
4651
|
+
path = [ 'C', ...arcToCurve(d.x, d.y, ...path.slice(1)) ];
|
|
4661
4652
|
break;
|
|
4662
4653
|
case 'S':
|
|
4663
4654
|
if (pathCommand == 'C' || pathCommand == 'S') {
|
|
@@ -4676,7 +4667,7 @@
|
|
|
4676
4667
|
nx = d.x;
|
|
4677
4668
|
ny = d.y;
|
|
4678
4669
|
}
|
|
4679
|
-
path = ['C', nx, ny
|
|
4670
|
+
path = [ 'C', nx, ny, ...path.slice(1) ];
|
|
4680
4671
|
break;
|
|
4681
4672
|
case 'T':
|
|
4682
4673
|
if (pathCommand == 'Q' || pathCommand == 'T') {
|
|
@@ -4695,24 +4686,24 @@
|
|
|
4695
4686
|
d.qx = d.x;
|
|
4696
4687
|
d.qy = d.y;
|
|
4697
4688
|
}
|
|
4698
|
-
path = ['C'
|
|
4689
|
+
path = [ 'C', ...qubicToCurve(d.x, d.y, d.qx, d.qy, path[1], path[2]) ];
|
|
4699
4690
|
break;
|
|
4700
4691
|
case 'Q':
|
|
4701
4692
|
d.qx = path[1];
|
|
4702
4693
|
d.qy = path[2];
|
|
4703
|
-
path = ['C'
|
|
4694
|
+
path = [ 'C', ...qubicToCurve(d.x, d.y, path[1], path[2], path[3], path[4]) ];
|
|
4704
4695
|
break;
|
|
4705
4696
|
case 'L':
|
|
4706
|
-
path = ['C'
|
|
4697
|
+
path = [ 'C', ...lineToCurve(d.x, d.y, path[1], path[2]) ];
|
|
4707
4698
|
break;
|
|
4708
4699
|
case 'H':
|
|
4709
|
-
path = ['C'
|
|
4700
|
+
path = [ 'C', ...lineToCurve(d.x, d.y, path[1], d.y) ];
|
|
4710
4701
|
break;
|
|
4711
4702
|
case 'V':
|
|
4712
|
-
path = ['C'
|
|
4703
|
+
path = [ 'C', ...lineToCurve(d.x, d.y, d.x, path[1]) ];
|
|
4713
4704
|
break;
|
|
4714
4705
|
case 'Z':
|
|
4715
|
-
path = ['C'
|
|
4706
|
+
path = [ 'C', ...lineToCurve(d.x, d.y, d.X, d.Y) ];
|
|
4716
4707
|
break;
|
|
4717
4708
|
}
|
|
4718
4709
|
|
|
@@ -4727,7 +4718,7 @@
|
|
|
4727
4718
|
|
|
4728
4719
|
while (pi.length) {
|
|
4729
4720
|
pathCommands[i] = 'A'; // if created multiple C:s, their original seg is saved
|
|
4730
|
-
pp.splice(i++, 0, ['C'
|
|
4721
|
+
pp.splice(i++, 0, [ 'C', ...pi.splice(0, 6) ]);
|
|
4731
4722
|
}
|
|
4732
4723
|
|
|
4733
4724
|
pp.splice(i, 1);
|
|
@@ -4770,10 +4761,6 @@
|
|
|
4770
4761
|
return curvedPath;
|
|
4771
4762
|
}
|
|
4772
4763
|
|
|
4773
|
-
var intersect = findPathIntersections;
|
|
4774
|
-
|
|
4775
|
-
var intersectPaths = /*@__PURE__*/getDefaultExportFromCjs(intersect);
|
|
4776
|
-
|
|
4777
4764
|
/**
|
|
4778
4765
|
* Checks whether a value is an instance of Connection.
|
|
4779
4766
|
*
|
|
@@ -5051,7 +5038,7 @@
|
|
|
5051
5038
|
|
|
5052
5039
|
|
|
5053
5040
|
function getIntersections(a, b) {
|
|
5054
|
-
return
|
|
5041
|
+
return findPathIntersections(a, b);
|
|
5055
5042
|
}
|
|
5056
5043
|
|
|
5057
5044
|
|
|
@@ -6838,6 +6825,35 @@
|
|
|
6838
6825
|
}
|
|
6839
6826
|
};
|
|
6840
6827
|
|
|
6828
|
+
function getDefaultExportFromCjs (x) {
|
|
6829
|
+
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
|
6830
|
+
}
|
|
6831
|
+
|
|
6832
|
+
function getAugmentedNamespace(n) {
|
|
6833
|
+
if (n.__esModule) return n;
|
|
6834
|
+
var f = n.default;
|
|
6835
|
+
if (typeof f == "function") {
|
|
6836
|
+
var a = function a () {
|
|
6837
|
+
if (this instanceof a) {
|
|
6838
|
+
return Reflect.construct(f, arguments, this.constructor);
|
|
6839
|
+
}
|
|
6840
|
+
return f.apply(this, arguments);
|
|
6841
|
+
};
|
|
6842
|
+
a.prototype = f.prototype;
|
|
6843
|
+
} else a = {};
|
|
6844
|
+
Object.defineProperty(a, '__esModule', {value: true});
|
|
6845
|
+
Object.keys(n).forEach(function (k) {
|
|
6846
|
+
var d = Object.getOwnPropertyDescriptor(n, k);
|
|
6847
|
+
Object.defineProperty(a, k, d.get ? d : {
|
|
6848
|
+
enumerable: true,
|
|
6849
|
+
get: function () {
|
|
6850
|
+
return n[k];
|
|
6851
|
+
}
|
|
6852
|
+
});
|
|
6853
|
+
});
|
|
6854
|
+
return a;
|
|
6855
|
+
}
|
|
6856
|
+
|
|
6841
6857
|
var objectRefs = {exports: {}};
|
|
6842
6858
|
|
|
6843
6859
|
var collection = {};
|
|
@@ -17964,6 +17980,26 @@
|
|
|
17964
17980
|
return true;
|
|
17965
17981
|
}
|
|
17966
17982
|
|
|
17983
|
+
/**
|
|
17984
|
+
* @param {Element} element
|
|
17985
|
+
*
|
|
17986
|
+
* @return {boolean}
|
|
17987
|
+
*/
|
|
17988
|
+
function isHorizontal$4(element) {
|
|
17989
|
+
|
|
17990
|
+
if (!is$5(element, 'bpmn:Participant') && !is$5(element, 'bpmn:Lane')) {
|
|
17991
|
+
return undefined;
|
|
17992
|
+
}
|
|
17993
|
+
|
|
17994
|
+
var isHorizontal = getDi(element).isHorizontal;
|
|
17995
|
+
|
|
17996
|
+
if (isHorizontal === undefined) {
|
|
17997
|
+
return true;
|
|
17998
|
+
}
|
|
17999
|
+
|
|
18000
|
+
return isHorizontal;
|
|
18001
|
+
}
|
|
18002
|
+
|
|
17967
18003
|
/**
|
|
17968
18004
|
* @param {Element} element
|
|
17969
18005
|
*
|
|
@@ -19502,10 +19538,12 @@
|
|
|
19502
19538
|
}
|
|
19503
19539
|
|
|
19504
19540
|
function renderLaneLabel(parentGfx, text, element, attrs = {}) {
|
|
19541
|
+
var isHorizontalLane = isHorizontal$4(element);
|
|
19542
|
+
|
|
19505
19543
|
var textBox = renderLabel(parentGfx, text, {
|
|
19506
19544
|
box: {
|
|
19507
19545
|
height: 30,
|
|
19508
|
-
width: getHeight(element, attrs),
|
|
19546
|
+
width: isHorizontalLane ? getHeight(element, attrs) : getWidth(element, attrs),
|
|
19509
19547
|
},
|
|
19510
19548
|
align: 'center-middle',
|
|
19511
19549
|
style: {
|
|
@@ -19513,9 +19551,10 @@
|
|
|
19513
19551
|
}
|
|
19514
19552
|
});
|
|
19515
19553
|
|
|
19516
|
-
|
|
19517
|
-
|
|
19518
|
-
|
|
19554
|
+
if (isHorizontalLane) {
|
|
19555
|
+
var top = -1 * getHeight(element, attrs);
|
|
19556
|
+
transform(textBox, 0, -top, 270);
|
|
19557
|
+
}
|
|
19519
19558
|
}
|
|
19520
19559
|
|
|
19521
19560
|
function renderActivity(parentGfx, element, attrs = {}) {
|
|
@@ -20233,12 +20272,13 @@
|
|
|
20233
20272
|
var participant = renderLane(parentGfx, element, attrs);
|
|
20234
20273
|
|
|
20235
20274
|
var expandedParticipant = isExpanded(element);
|
|
20275
|
+
var horizontalParticipant = isHorizontal$4(element);
|
|
20236
20276
|
|
|
20237
20277
|
var semantic = getBusinessObject$1(element),
|
|
20238
20278
|
name = semantic.get('name');
|
|
20239
20279
|
|
|
20240
20280
|
if (expandedParticipant) {
|
|
20241
|
-
|
|
20281
|
+
var waypoints = horizontalParticipant ? [
|
|
20242
20282
|
{
|
|
20243
20283
|
x: 30,
|
|
20244
20284
|
y: 0
|
|
@@ -20247,20 +20287,43 @@
|
|
|
20247
20287
|
x: 30,
|
|
20248
20288
|
y: getHeight(element, attrs)
|
|
20249
20289
|
}
|
|
20250
|
-
]
|
|
20290
|
+
] : [
|
|
20291
|
+
{
|
|
20292
|
+
x: 0,
|
|
20293
|
+
y: 30
|
|
20294
|
+
},
|
|
20295
|
+
{
|
|
20296
|
+
x: getWidth(element, attrs),
|
|
20297
|
+
y: 30
|
|
20298
|
+
}
|
|
20299
|
+
];
|
|
20300
|
+
|
|
20301
|
+
drawLine(parentGfx, waypoints, {
|
|
20251
20302
|
stroke: getStrokeColor$1(element, defaultStrokeColor, attrs.stroke),
|
|
20252
20303
|
strokeWidth: PARTICIPANT_STROKE_WIDTH
|
|
20253
20304
|
});
|
|
20254
20305
|
|
|
20255
20306
|
renderLaneLabel(parentGfx, name, element, attrs);
|
|
20256
20307
|
} else {
|
|
20257
|
-
|
|
20258
|
-
|
|
20308
|
+
var bounds = getBounds$1(element, attrs);
|
|
20309
|
+
|
|
20310
|
+
if (!horizontalParticipant) {
|
|
20311
|
+
bounds.height = getWidth(element, attrs);
|
|
20312
|
+
bounds.width = getHeight(element, attrs);
|
|
20313
|
+
}
|
|
20314
|
+
|
|
20315
|
+
var textBox = renderLabel(parentGfx, name, {
|
|
20316
|
+
box: bounds,
|
|
20259
20317
|
align: 'center-middle',
|
|
20260
20318
|
style: {
|
|
20261
20319
|
fill: getLabelColor(element, defaultLabelColor, defaultStrokeColor, attrs.stroke)
|
|
20262
20320
|
}
|
|
20263
20321
|
});
|
|
20322
|
+
|
|
20323
|
+
if (!horizontalParticipant) {
|
|
20324
|
+
var top = -1 * getHeight(element, attrs);
|
|
20325
|
+
transform(textBox, 0, -top, 270);
|
|
20326
|
+
}
|
|
20264
20327
|
}
|
|
20265
20328
|
|
|
20266
20329
|
if (semantic.get('participantMultiplicity')) {
|
|
@@ -30577,6 +30640,10 @@
|
|
|
30577
30640
|
return (entry.rank || 0) >= 0;
|
|
30578
30641
|
}
|
|
30579
30642
|
|
|
30643
|
+
if (entry.searchable === false) {
|
|
30644
|
+
return false;
|
|
30645
|
+
}
|
|
30646
|
+
|
|
30580
30647
|
const search = [
|
|
30581
30648
|
entry.description || '',
|
|
30582
30649
|
entry.label || '',
|
|
@@ -33874,7 +33941,7 @@
|
|
|
33874
33941
|
*/
|
|
33875
33942
|
function getPathIntersection(waypoints, reference) {
|
|
33876
33943
|
|
|
33877
|
-
var intersections =
|
|
33944
|
+
var intersections = findPathIntersections(circlePath(reference, INTERSECTION_THRESHOLD$1), linePath(waypoints));
|
|
33878
33945
|
|
|
33879
33946
|
var a = intersections[0],
|
|
33880
33947
|
b = intersections[intersections.length - 1],
|
|
@@ -39639,10 +39706,15 @@
|
|
|
39639
39706
|
bo = getBusinessObject$1(shape),
|
|
39640
39707
|
di = getDi(shape);
|
|
39641
39708
|
|
|
39642
|
-
if (isAny(bo, elementTypesToUpdate)
|
|
39709
|
+
if (isAny(bo, elementTypesToUpdate)) {
|
|
39710
|
+
var isHorizontal = di.get('isHorizontal');
|
|
39711
|
+
|
|
39712
|
+
if (isHorizontal === undefined) {
|
|
39713
|
+
isHorizontal = true;
|
|
39714
|
+
}
|
|
39643
39715
|
|
|
39644
39716
|
// set attribute directly to avoid modeling#updateProperty side effects
|
|
39645
|
-
di.set('isHorizontal',
|
|
39717
|
+
di.set('isHorizontal', isHorizontal);
|
|
39646
39718
|
}
|
|
39647
39719
|
});
|
|
39648
39720
|
|
|
@@ -57033,7 +57105,7 @@
|
|
|
57033
57105
|
*/
|
|
57034
57106
|
var START_EVENT = [
|
|
57035
57107
|
{
|
|
57036
|
-
label: 'Start
|
|
57108
|
+
label: 'Start event',
|
|
57037
57109
|
actionName: 'replace-with-none-start',
|
|
57038
57110
|
className: 'bpmn-icon-start-event-none',
|
|
57039
57111
|
target: {
|
|
@@ -57041,7 +57113,7 @@
|
|
|
57041
57113
|
}
|
|
57042
57114
|
},
|
|
57043
57115
|
{
|
|
57044
|
-
label: 'Intermediate
|
|
57116
|
+
label: 'Intermediate throw event',
|
|
57045
57117
|
actionName: 'replace-with-none-intermediate-throwing',
|
|
57046
57118
|
className: 'bpmn-icon-intermediate-event-none',
|
|
57047
57119
|
target: {
|
|
@@ -57049,7 +57121,7 @@
|
|
|
57049
57121
|
}
|
|
57050
57122
|
},
|
|
57051
57123
|
{
|
|
57052
|
-
label: 'End
|
|
57124
|
+
label: 'End event',
|
|
57053
57125
|
actionName: 'replace-with-none-end',
|
|
57054
57126
|
className: 'bpmn-icon-end-event-none',
|
|
57055
57127
|
target: {
|
|
@@ -57057,7 +57129,7 @@
|
|
|
57057
57129
|
}
|
|
57058
57130
|
},
|
|
57059
57131
|
{
|
|
57060
|
-
label: 'Message
|
|
57132
|
+
label: 'Message start event',
|
|
57061
57133
|
actionName: 'replace-with-message-start',
|
|
57062
57134
|
className: 'bpmn-icon-start-event-message',
|
|
57063
57135
|
target: {
|
|
@@ -57066,7 +57138,7 @@
|
|
|
57066
57138
|
}
|
|
57067
57139
|
},
|
|
57068
57140
|
{
|
|
57069
|
-
label: 'Timer
|
|
57141
|
+
label: 'Timer start event',
|
|
57070
57142
|
actionName: 'replace-with-timer-start',
|
|
57071
57143
|
className: 'bpmn-icon-start-event-timer',
|
|
57072
57144
|
target: {
|
|
@@ -57075,7 +57147,7 @@
|
|
|
57075
57147
|
}
|
|
57076
57148
|
},
|
|
57077
57149
|
{
|
|
57078
|
-
label: 'Conditional
|
|
57150
|
+
label: 'Conditional start event',
|
|
57079
57151
|
actionName: 'replace-with-conditional-start',
|
|
57080
57152
|
className: 'bpmn-icon-start-event-condition',
|
|
57081
57153
|
target: {
|
|
@@ -57084,7 +57156,7 @@
|
|
|
57084
57156
|
}
|
|
57085
57157
|
},
|
|
57086
57158
|
{
|
|
57087
|
-
label: 'Signal
|
|
57159
|
+
label: 'Signal start event',
|
|
57088
57160
|
actionName: 'replace-with-signal-start',
|
|
57089
57161
|
className: 'bpmn-icon-start-event-signal',
|
|
57090
57162
|
target: {
|
|
@@ -57099,7 +57171,7 @@
|
|
|
57099
57171
|
*/
|
|
57100
57172
|
var START_EVENT_SUB_PROCESS = [
|
|
57101
57173
|
{
|
|
57102
|
-
label: 'Start
|
|
57174
|
+
label: 'Start event',
|
|
57103
57175
|
actionName: 'replace-with-none-start',
|
|
57104
57176
|
className: 'bpmn-icon-start-event-none',
|
|
57105
57177
|
target: {
|
|
@@ -57107,7 +57179,7 @@
|
|
|
57107
57179
|
}
|
|
57108
57180
|
},
|
|
57109
57181
|
{
|
|
57110
|
-
label: 'Intermediate
|
|
57182
|
+
label: 'Intermediate throw event',
|
|
57111
57183
|
actionName: 'replace-with-none-intermediate-throwing',
|
|
57112
57184
|
className: 'bpmn-icon-intermediate-event-none',
|
|
57113
57185
|
target: {
|
|
@@ -57115,7 +57187,7 @@
|
|
|
57115
57187
|
}
|
|
57116
57188
|
},
|
|
57117
57189
|
{
|
|
57118
|
-
label: 'End
|
|
57190
|
+
label: 'End event',
|
|
57119
57191
|
actionName: 'replace-with-none-end',
|
|
57120
57192
|
className: 'bpmn-icon-end-event-none',
|
|
57121
57193
|
target: {
|
|
@@ -57129,7 +57201,7 @@
|
|
|
57129
57201
|
*/
|
|
57130
57202
|
var INTERMEDIATE_EVENT = [
|
|
57131
57203
|
{
|
|
57132
|
-
label: 'Start
|
|
57204
|
+
label: 'Start event',
|
|
57133
57205
|
actionName: 'replace-with-none-start',
|
|
57134
57206
|
className: 'bpmn-icon-start-event-none',
|
|
57135
57207
|
target: {
|
|
@@ -57137,7 +57209,7 @@
|
|
|
57137
57209
|
}
|
|
57138
57210
|
},
|
|
57139
57211
|
{
|
|
57140
|
-
label: 'Intermediate
|
|
57212
|
+
label: 'Intermediate throw event',
|
|
57141
57213
|
actionName: 'replace-with-none-intermediate-throw',
|
|
57142
57214
|
className: 'bpmn-icon-intermediate-event-none',
|
|
57143
57215
|
target: {
|
|
@@ -57145,7 +57217,7 @@
|
|
|
57145
57217
|
}
|
|
57146
57218
|
},
|
|
57147
57219
|
{
|
|
57148
|
-
label: 'End
|
|
57220
|
+
label: 'End event',
|
|
57149
57221
|
actionName: 'replace-with-none-end',
|
|
57150
57222
|
className: 'bpmn-icon-end-event-none',
|
|
57151
57223
|
target: {
|
|
@@ -57153,7 +57225,7 @@
|
|
|
57153
57225
|
}
|
|
57154
57226
|
},
|
|
57155
57227
|
{
|
|
57156
|
-
label: 'Message
|
|
57228
|
+
label: 'Message intermediate catch event',
|
|
57157
57229
|
actionName: 'replace-with-message-intermediate-catch',
|
|
57158
57230
|
className: 'bpmn-icon-intermediate-event-catch-message',
|
|
57159
57231
|
target: {
|
|
@@ -57162,7 +57234,7 @@
|
|
|
57162
57234
|
}
|
|
57163
57235
|
},
|
|
57164
57236
|
{
|
|
57165
|
-
label: 'Message
|
|
57237
|
+
label: 'Message intermediate throw event',
|
|
57166
57238
|
actionName: 'replace-with-message-intermediate-throw',
|
|
57167
57239
|
className: 'bpmn-icon-intermediate-event-throw-message',
|
|
57168
57240
|
target: {
|
|
@@ -57171,7 +57243,7 @@
|
|
|
57171
57243
|
}
|
|
57172
57244
|
},
|
|
57173
57245
|
{
|
|
57174
|
-
label: 'Timer
|
|
57246
|
+
label: 'Timer intermediate catch event',
|
|
57175
57247
|
actionName: 'replace-with-timer-intermediate-catch',
|
|
57176
57248
|
className: 'bpmn-icon-intermediate-event-catch-timer',
|
|
57177
57249
|
target: {
|
|
@@ -57180,7 +57252,7 @@
|
|
|
57180
57252
|
}
|
|
57181
57253
|
},
|
|
57182
57254
|
{
|
|
57183
|
-
label: 'Escalation
|
|
57255
|
+
label: 'Escalation intermediate throw event',
|
|
57184
57256
|
actionName: 'replace-with-escalation-intermediate-throw',
|
|
57185
57257
|
className: 'bpmn-icon-intermediate-event-throw-escalation',
|
|
57186
57258
|
target: {
|
|
@@ -57189,7 +57261,7 @@
|
|
|
57189
57261
|
}
|
|
57190
57262
|
},
|
|
57191
57263
|
{
|
|
57192
|
-
label: 'Conditional
|
|
57264
|
+
label: 'Conditional intermediate catch event',
|
|
57193
57265
|
actionName: 'replace-with-conditional-intermediate-catch',
|
|
57194
57266
|
className: 'bpmn-icon-intermediate-event-catch-condition',
|
|
57195
57267
|
target: {
|
|
@@ -57198,7 +57270,7 @@
|
|
|
57198
57270
|
}
|
|
57199
57271
|
},
|
|
57200
57272
|
{
|
|
57201
|
-
label: 'Link
|
|
57273
|
+
label: 'Link intermediate catch event',
|
|
57202
57274
|
actionName: 'replace-with-link-intermediate-catch',
|
|
57203
57275
|
className: 'bpmn-icon-intermediate-event-catch-link',
|
|
57204
57276
|
target: {
|
|
@@ -57210,7 +57282,7 @@
|
|
|
57210
57282
|
}
|
|
57211
57283
|
},
|
|
57212
57284
|
{
|
|
57213
|
-
label: 'Link
|
|
57285
|
+
label: 'Link intermediate throw event',
|
|
57214
57286
|
actionName: 'replace-with-link-intermediate-throw',
|
|
57215
57287
|
className: 'bpmn-icon-intermediate-event-throw-link',
|
|
57216
57288
|
target: {
|
|
@@ -57222,7 +57294,7 @@
|
|
|
57222
57294
|
}
|
|
57223
57295
|
},
|
|
57224
57296
|
{
|
|
57225
|
-
label: 'Compensation
|
|
57297
|
+
label: 'Compensation intermediate throw event',
|
|
57226
57298
|
actionName: 'replace-with-compensation-intermediate-throw',
|
|
57227
57299
|
className: 'bpmn-icon-intermediate-event-throw-compensation',
|
|
57228
57300
|
target: {
|
|
@@ -57231,7 +57303,7 @@
|
|
|
57231
57303
|
}
|
|
57232
57304
|
},
|
|
57233
57305
|
{
|
|
57234
|
-
label: 'Signal
|
|
57306
|
+
label: 'Signal intermediate catch event',
|
|
57235
57307
|
actionName: 'replace-with-signal-intermediate-catch',
|
|
57236
57308
|
className: 'bpmn-icon-intermediate-event-catch-signal',
|
|
57237
57309
|
target: {
|
|
@@ -57240,7 +57312,7 @@
|
|
|
57240
57312
|
}
|
|
57241
57313
|
},
|
|
57242
57314
|
{
|
|
57243
|
-
label: 'Signal
|
|
57315
|
+
label: 'Signal intermediate throw event',
|
|
57244
57316
|
actionName: 'replace-with-signal-intermediate-throw',
|
|
57245
57317
|
className: 'bpmn-icon-intermediate-event-throw-signal',
|
|
57246
57318
|
target: {
|
|
@@ -57255,7 +57327,7 @@
|
|
|
57255
57327
|
*/
|
|
57256
57328
|
var END_EVENT = [
|
|
57257
57329
|
{
|
|
57258
|
-
label: 'Start
|
|
57330
|
+
label: 'Start event',
|
|
57259
57331
|
actionName: 'replace-with-none-start',
|
|
57260
57332
|
className: 'bpmn-icon-start-event-none',
|
|
57261
57333
|
target: {
|
|
@@ -57263,7 +57335,7 @@
|
|
|
57263
57335
|
}
|
|
57264
57336
|
},
|
|
57265
57337
|
{
|
|
57266
|
-
label: 'Intermediate
|
|
57338
|
+
label: 'Intermediate throw event',
|
|
57267
57339
|
actionName: 'replace-with-none-intermediate-throw',
|
|
57268
57340
|
className: 'bpmn-icon-intermediate-event-none',
|
|
57269
57341
|
target: {
|
|
@@ -57271,7 +57343,7 @@
|
|
|
57271
57343
|
}
|
|
57272
57344
|
},
|
|
57273
57345
|
{
|
|
57274
|
-
label: 'End
|
|
57346
|
+
label: 'End event',
|
|
57275
57347
|
actionName: 'replace-with-none-end',
|
|
57276
57348
|
className: 'bpmn-icon-end-event-none',
|
|
57277
57349
|
target: {
|
|
@@ -57279,7 +57351,7 @@
|
|
|
57279
57351
|
}
|
|
57280
57352
|
},
|
|
57281
57353
|
{
|
|
57282
|
-
label: 'Message
|
|
57354
|
+
label: 'Message end event',
|
|
57283
57355
|
actionName: 'replace-with-message-end',
|
|
57284
57356
|
className: 'bpmn-icon-end-event-message',
|
|
57285
57357
|
target: {
|
|
@@ -57288,7 +57360,7 @@
|
|
|
57288
57360
|
}
|
|
57289
57361
|
},
|
|
57290
57362
|
{
|
|
57291
|
-
label: 'Escalation
|
|
57363
|
+
label: 'Escalation end event',
|
|
57292
57364
|
actionName: 'replace-with-escalation-end',
|
|
57293
57365
|
className: 'bpmn-icon-end-event-escalation',
|
|
57294
57366
|
target: {
|
|
@@ -57297,7 +57369,7 @@
|
|
|
57297
57369
|
}
|
|
57298
57370
|
},
|
|
57299
57371
|
{
|
|
57300
|
-
label: 'Error
|
|
57372
|
+
label: 'Error end event',
|
|
57301
57373
|
actionName: 'replace-with-error-end',
|
|
57302
57374
|
className: 'bpmn-icon-end-event-error',
|
|
57303
57375
|
target: {
|
|
@@ -57306,7 +57378,7 @@
|
|
|
57306
57378
|
}
|
|
57307
57379
|
},
|
|
57308
57380
|
{
|
|
57309
|
-
label: 'Cancel
|
|
57381
|
+
label: 'Cancel end event',
|
|
57310
57382
|
actionName: 'replace-with-cancel-end',
|
|
57311
57383
|
className: 'bpmn-icon-end-event-cancel',
|
|
57312
57384
|
target: {
|
|
@@ -57315,7 +57387,7 @@
|
|
|
57315
57387
|
}
|
|
57316
57388
|
},
|
|
57317
57389
|
{
|
|
57318
|
-
label: 'Compensation
|
|
57390
|
+
label: 'Compensation end event',
|
|
57319
57391
|
actionName: 'replace-with-compensation-end',
|
|
57320
57392
|
className: 'bpmn-icon-end-event-compensation',
|
|
57321
57393
|
target: {
|
|
@@ -57324,7 +57396,7 @@
|
|
|
57324
57396
|
}
|
|
57325
57397
|
},
|
|
57326
57398
|
{
|
|
57327
|
-
label: 'Signal
|
|
57399
|
+
label: 'Signal end event',
|
|
57328
57400
|
actionName: 'replace-with-signal-end',
|
|
57329
57401
|
className: 'bpmn-icon-end-event-signal',
|
|
57330
57402
|
target: {
|
|
@@ -57333,7 +57405,7 @@
|
|
|
57333
57405
|
}
|
|
57334
57406
|
},
|
|
57335
57407
|
{
|
|
57336
|
-
label: 'Terminate
|
|
57408
|
+
label: 'Terminate end event',
|
|
57337
57409
|
actionName: 'replace-with-terminate-end',
|
|
57338
57410
|
className: 'bpmn-icon-end-event-terminate',
|
|
57339
57411
|
target: {
|
|
@@ -57348,7 +57420,7 @@
|
|
|
57348
57420
|
*/
|
|
57349
57421
|
var GATEWAY = [
|
|
57350
57422
|
{
|
|
57351
|
-
label: 'Exclusive
|
|
57423
|
+
label: 'Exclusive gateway',
|
|
57352
57424
|
actionName: 'replace-with-exclusive-gateway',
|
|
57353
57425
|
className: 'bpmn-icon-gateway-xor',
|
|
57354
57426
|
target: {
|
|
@@ -57356,7 +57428,7 @@
|
|
|
57356
57428
|
}
|
|
57357
57429
|
},
|
|
57358
57430
|
{
|
|
57359
|
-
label: 'Parallel
|
|
57431
|
+
label: 'Parallel gateway',
|
|
57360
57432
|
actionName: 'replace-with-parallel-gateway',
|
|
57361
57433
|
className: 'bpmn-icon-gateway-parallel',
|
|
57362
57434
|
target: {
|
|
@@ -57364,7 +57436,7 @@
|
|
|
57364
57436
|
}
|
|
57365
57437
|
},
|
|
57366
57438
|
{
|
|
57367
|
-
label: 'Inclusive
|
|
57439
|
+
label: 'Inclusive gateway',
|
|
57368
57440
|
actionName: 'replace-with-inclusive-gateway',
|
|
57369
57441
|
className: 'bpmn-icon-gateway-or',
|
|
57370
57442
|
target: {
|
|
@@ -57372,7 +57444,7 @@
|
|
|
57372
57444
|
}
|
|
57373
57445
|
},
|
|
57374
57446
|
{
|
|
57375
|
-
label: 'Complex
|
|
57447
|
+
label: 'Complex gateway',
|
|
57376
57448
|
actionName: 'replace-with-complex-gateway',
|
|
57377
57449
|
className: 'bpmn-icon-gateway-complex',
|
|
57378
57450
|
target: {
|
|
@@ -57380,7 +57452,7 @@
|
|
|
57380
57452
|
}
|
|
57381
57453
|
},
|
|
57382
57454
|
{
|
|
57383
|
-
label: 'Event
|
|
57455
|
+
label: 'Event-based gateway',
|
|
57384
57456
|
actionName: 'replace-with-event-based-gateway',
|
|
57385
57457
|
className: 'bpmn-icon-gateway-eventbased',
|
|
57386
57458
|
target: {
|
|
@@ -57429,7 +57501,7 @@
|
|
|
57429
57501
|
}
|
|
57430
57502
|
},
|
|
57431
57503
|
{
|
|
57432
|
-
label: 'Event
|
|
57504
|
+
label: 'Event sub-process',
|
|
57433
57505
|
actionName: 'replace-with-event-subprocess',
|
|
57434
57506
|
className: 'bpmn-icon-event-subprocess-expanded',
|
|
57435
57507
|
target: {
|
|
@@ -57439,7 +57511,7 @@
|
|
|
57439
57511
|
}
|
|
57440
57512
|
},
|
|
57441
57513
|
{
|
|
57442
|
-
label: 'Sub
|
|
57514
|
+
label: 'Sub-process (collapsed)',
|
|
57443
57515
|
actionName: 'replace-with-collapsed-subprocess',
|
|
57444
57516
|
className: 'bpmn-icon-subprocess-collapsed',
|
|
57445
57517
|
target: {
|
|
@@ -57463,7 +57535,7 @@
|
|
|
57463
57535
|
}
|
|
57464
57536
|
},
|
|
57465
57537
|
{
|
|
57466
|
-
label: 'Sub
|
|
57538
|
+
label: 'Sub-process',
|
|
57467
57539
|
actionName: 'replace-with-subprocess',
|
|
57468
57540
|
className: 'bpmn-icon-subprocess-expanded',
|
|
57469
57541
|
target: {
|
|
@@ -57472,7 +57544,7 @@
|
|
|
57472
57544
|
}
|
|
57473
57545
|
},
|
|
57474
57546
|
{
|
|
57475
|
-
label: 'Event
|
|
57547
|
+
label: 'Event sub-process',
|
|
57476
57548
|
actionName: 'replace-with-event-subprocess',
|
|
57477
57549
|
className: 'bpmn-icon-event-subprocess-expanded',
|
|
57478
57550
|
target: {
|
|
@@ -57501,7 +57573,7 @@
|
|
|
57501
57573
|
}
|
|
57502
57574
|
},
|
|
57503
57575
|
{
|
|
57504
|
-
label: 'User
|
|
57576
|
+
label: 'User task',
|
|
57505
57577
|
actionName: 'replace-with-user-task',
|
|
57506
57578
|
className: 'bpmn-icon-user',
|
|
57507
57579
|
target: {
|
|
@@ -57509,7 +57581,7 @@
|
|
|
57509
57581
|
}
|
|
57510
57582
|
},
|
|
57511
57583
|
{
|
|
57512
|
-
label: 'Service
|
|
57584
|
+
label: 'Service task',
|
|
57513
57585
|
actionName: 'replace-with-service-task',
|
|
57514
57586
|
className: 'bpmn-icon-service',
|
|
57515
57587
|
target: {
|
|
@@ -57517,7 +57589,7 @@
|
|
|
57517
57589
|
}
|
|
57518
57590
|
},
|
|
57519
57591
|
{
|
|
57520
|
-
label: 'Send
|
|
57592
|
+
label: 'Send task',
|
|
57521
57593
|
actionName: 'replace-with-send-task',
|
|
57522
57594
|
className: 'bpmn-icon-send',
|
|
57523
57595
|
target: {
|
|
@@ -57525,7 +57597,7 @@
|
|
|
57525
57597
|
}
|
|
57526
57598
|
},
|
|
57527
57599
|
{
|
|
57528
|
-
label: 'Receive
|
|
57600
|
+
label: 'Receive task',
|
|
57529
57601
|
actionName: 'replace-with-receive-task',
|
|
57530
57602
|
className: 'bpmn-icon-receive',
|
|
57531
57603
|
target: {
|
|
@@ -57533,7 +57605,7 @@
|
|
|
57533
57605
|
}
|
|
57534
57606
|
},
|
|
57535
57607
|
{
|
|
57536
|
-
label: 'Manual
|
|
57608
|
+
label: 'Manual task',
|
|
57537
57609
|
actionName: 'replace-with-manual-task',
|
|
57538
57610
|
className: 'bpmn-icon-manual',
|
|
57539
57611
|
target: {
|
|
@@ -57541,7 +57613,7 @@
|
|
|
57541
57613
|
}
|
|
57542
57614
|
},
|
|
57543
57615
|
{
|
|
57544
|
-
label: 'Business
|
|
57616
|
+
label: 'Business rule task',
|
|
57545
57617
|
actionName: 'replace-with-rule-task',
|
|
57546
57618
|
className: 'bpmn-icon-business-rule',
|
|
57547
57619
|
target: {
|
|
@@ -57549,7 +57621,7 @@
|
|
|
57549
57621
|
}
|
|
57550
57622
|
},
|
|
57551
57623
|
{
|
|
57552
|
-
label: 'Script
|
|
57624
|
+
label: 'Script task',
|
|
57553
57625
|
actionName: 'replace-with-script-task',
|
|
57554
57626
|
className: 'bpmn-icon-script',
|
|
57555
57627
|
target: {
|
|
@@ -57557,7 +57629,7 @@
|
|
|
57557
57629
|
}
|
|
57558
57630
|
},
|
|
57559
57631
|
{
|
|
57560
|
-
label: 'Call
|
|
57632
|
+
label: 'Call activity',
|
|
57561
57633
|
actionName: 'replace-with-call-activity',
|
|
57562
57634
|
className: 'bpmn-icon-call-activity',
|
|
57563
57635
|
target: {
|
|
@@ -57565,7 +57637,7 @@
|
|
|
57565
57637
|
}
|
|
57566
57638
|
},
|
|
57567
57639
|
{
|
|
57568
|
-
label: 'Sub
|
|
57640
|
+
label: 'Sub-process (collapsed)',
|
|
57569
57641
|
actionName: 'replace-with-collapsed-subprocess',
|
|
57570
57642
|
className: 'bpmn-icon-subprocess-collapsed',
|
|
57571
57643
|
target: {
|
|
@@ -57574,7 +57646,7 @@
|
|
|
57574
57646
|
}
|
|
57575
57647
|
},
|
|
57576
57648
|
{
|
|
57577
|
-
label: 'Sub
|
|
57649
|
+
label: 'Sub-process (expanded)',
|
|
57578
57650
|
actionName: 'replace-with-expanded-subprocess',
|
|
57579
57651
|
className: 'bpmn-icon-subprocess-expanded',
|
|
57580
57652
|
target: {
|
|
@@ -57589,7 +57661,7 @@
|
|
|
57589
57661
|
*/
|
|
57590
57662
|
var DATA_OBJECT_REFERENCE = [
|
|
57591
57663
|
{
|
|
57592
|
-
label: 'Data
|
|
57664
|
+
label: 'Data store reference',
|
|
57593
57665
|
actionName: 'replace-with-data-store-reference',
|
|
57594
57666
|
className: 'bpmn-icon-data-store',
|
|
57595
57667
|
target: {
|
|
@@ -57603,7 +57675,7 @@
|
|
|
57603
57675
|
*/
|
|
57604
57676
|
var DATA_STORE_REFERENCE = [
|
|
57605
57677
|
{
|
|
57606
|
-
label: 'Data
|
|
57678
|
+
label: 'Data object reference',
|
|
57607
57679
|
actionName: 'replace-with-data-object-reference',
|
|
57608
57680
|
className: 'bpmn-icon-data-object',
|
|
57609
57681
|
target: {
|
|
@@ -57617,7 +57689,7 @@
|
|
|
57617
57689
|
*/
|
|
57618
57690
|
var BOUNDARY_EVENT = [
|
|
57619
57691
|
{
|
|
57620
|
-
label: 'Message
|
|
57692
|
+
label: 'Message boundary event',
|
|
57621
57693
|
actionName: 'replace-with-message-boundary',
|
|
57622
57694
|
className: 'bpmn-icon-intermediate-event-catch-message',
|
|
57623
57695
|
target: {
|
|
@@ -57627,7 +57699,7 @@
|
|
|
57627
57699
|
}
|
|
57628
57700
|
},
|
|
57629
57701
|
{
|
|
57630
|
-
label: 'Timer
|
|
57702
|
+
label: 'Timer boundary event',
|
|
57631
57703
|
actionName: 'replace-with-timer-boundary',
|
|
57632
57704
|
className: 'bpmn-icon-intermediate-event-catch-timer',
|
|
57633
57705
|
target: {
|
|
@@ -57637,7 +57709,7 @@
|
|
|
57637
57709
|
}
|
|
57638
57710
|
},
|
|
57639
57711
|
{
|
|
57640
|
-
label: 'Escalation
|
|
57712
|
+
label: 'Escalation boundary event',
|
|
57641
57713
|
actionName: 'replace-with-escalation-boundary',
|
|
57642
57714
|
className: 'bpmn-icon-intermediate-event-catch-escalation',
|
|
57643
57715
|
target: {
|
|
@@ -57647,7 +57719,7 @@
|
|
|
57647
57719
|
}
|
|
57648
57720
|
},
|
|
57649
57721
|
{
|
|
57650
|
-
label: 'Conditional
|
|
57722
|
+
label: 'Conditional boundary event',
|
|
57651
57723
|
actionName: 'replace-with-conditional-boundary',
|
|
57652
57724
|
className: 'bpmn-icon-intermediate-event-catch-condition',
|
|
57653
57725
|
target: {
|
|
@@ -57657,7 +57729,7 @@
|
|
|
57657
57729
|
}
|
|
57658
57730
|
},
|
|
57659
57731
|
{
|
|
57660
|
-
label: 'Error
|
|
57732
|
+
label: 'Error boundary event',
|
|
57661
57733
|
actionName: 'replace-with-error-boundary',
|
|
57662
57734
|
className: 'bpmn-icon-intermediate-event-catch-error',
|
|
57663
57735
|
target: {
|
|
@@ -57667,7 +57739,7 @@
|
|
|
57667
57739
|
}
|
|
57668
57740
|
},
|
|
57669
57741
|
{
|
|
57670
|
-
label: 'Cancel
|
|
57742
|
+
label: 'Cancel boundary event',
|
|
57671
57743
|
actionName: 'replace-with-cancel-boundary',
|
|
57672
57744
|
className: 'bpmn-icon-intermediate-event-catch-cancel',
|
|
57673
57745
|
target: {
|
|
@@ -57677,7 +57749,7 @@
|
|
|
57677
57749
|
}
|
|
57678
57750
|
},
|
|
57679
57751
|
{
|
|
57680
|
-
label: 'Signal
|
|
57752
|
+
label: 'Signal boundary event',
|
|
57681
57753
|
actionName: 'replace-with-signal-boundary',
|
|
57682
57754
|
className: 'bpmn-icon-intermediate-event-catch-signal',
|
|
57683
57755
|
target: {
|
|
@@ -57687,7 +57759,7 @@
|
|
|
57687
57759
|
}
|
|
57688
57760
|
},
|
|
57689
57761
|
{
|
|
57690
|
-
label: 'Compensation
|
|
57762
|
+
label: 'Compensation boundary event',
|
|
57691
57763
|
actionName: 'replace-with-compensation-boundary',
|
|
57692
57764
|
className: 'bpmn-icon-intermediate-event-catch-compensation',
|
|
57693
57765
|
target: {
|
|
@@ -57697,7 +57769,7 @@
|
|
|
57697
57769
|
}
|
|
57698
57770
|
},
|
|
57699
57771
|
{
|
|
57700
|
-
label: 'Message
|
|
57772
|
+
label: 'Message boundary event (non-interrupting)',
|
|
57701
57773
|
actionName: 'replace-with-non-interrupting-message-boundary',
|
|
57702
57774
|
className: 'bpmn-icon-intermediate-event-catch-non-interrupting-message',
|
|
57703
57775
|
target: {
|
|
@@ -57707,7 +57779,7 @@
|
|
|
57707
57779
|
}
|
|
57708
57780
|
},
|
|
57709
57781
|
{
|
|
57710
|
-
label: 'Timer
|
|
57782
|
+
label: 'Timer boundary event (non-interrupting)',
|
|
57711
57783
|
actionName: 'replace-with-non-interrupting-timer-boundary',
|
|
57712
57784
|
className: 'bpmn-icon-intermediate-event-catch-non-interrupting-timer',
|
|
57713
57785
|
target: {
|
|
@@ -57717,7 +57789,7 @@
|
|
|
57717
57789
|
}
|
|
57718
57790
|
},
|
|
57719
57791
|
{
|
|
57720
|
-
label: 'Escalation
|
|
57792
|
+
label: 'Escalation boundary event (non-interrupting)',
|
|
57721
57793
|
actionName: 'replace-with-non-interrupting-escalation-boundary',
|
|
57722
57794
|
className: 'bpmn-icon-intermediate-event-catch-non-interrupting-escalation',
|
|
57723
57795
|
target: {
|
|
@@ -57727,7 +57799,7 @@
|
|
|
57727
57799
|
}
|
|
57728
57800
|
},
|
|
57729
57801
|
{
|
|
57730
|
-
label: 'Conditional
|
|
57802
|
+
label: 'Conditional boundary event (non-interrupting)',
|
|
57731
57803
|
actionName: 'replace-with-non-interrupting-conditional-boundary',
|
|
57732
57804
|
className: 'bpmn-icon-intermediate-event-catch-non-interrupting-condition',
|
|
57733
57805
|
target: {
|
|
@@ -57737,7 +57809,7 @@
|
|
|
57737
57809
|
}
|
|
57738
57810
|
},
|
|
57739
57811
|
{
|
|
57740
|
-
label: 'Signal
|
|
57812
|
+
label: 'Signal boundary event (non-interrupting)',
|
|
57741
57813
|
actionName: 'replace-with-non-interrupting-signal-boundary',
|
|
57742
57814
|
className: 'bpmn-icon-intermediate-event-catch-non-interrupting-signal',
|
|
57743
57815
|
target: {
|
|
@@ -57753,7 +57825,7 @@
|
|
|
57753
57825
|
*/
|
|
57754
57826
|
var EVENT_SUB_PROCESS_START_EVENT = [
|
|
57755
57827
|
{
|
|
57756
|
-
label: 'Message
|
|
57828
|
+
label: 'Message start event',
|
|
57757
57829
|
actionName: 'replace-with-message-start',
|
|
57758
57830
|
className: 'bpmn-icon-start-event-message',
|
|
57759
57831
|
target: {
|
|
@@ -57763,7 +57835,7 @@
|
|
|
57763
57835
|
}
|
|
57764
57836
|
},
|
|
57765
57837
|
{
|
|
57766
|
-
label: 'Timer
|
|
57838
|
+
label: 'Timer start event',
|
|
57767
57839
|
actionName: 'replace-with-timer-start',
|
|
57768
57840
|
className: 'bpmn-icon-start-event-timer',
|
|
57769
57841
|
target: {
|
|
@@ -57773,7 +57845,7 @@
|
|
|
57773
57845
|
}
|
|
57774
57846
|
},
|
|
57775
57847
|
{
|
|
57776
|
-
label: 'Conditional
|
|
57848
|
+
label: 'Conditional start event',
|
|
57777
57849
|
actionName: 'replace-with-conditional-start',
|
|
57778
57850
|
className: 'bpmn-icon-start-event-condition',
|
|
57779
57851
|
target: {
|
|
@@ -57783,7 +57855,7 @@
|
|
|
57783
57855
|
}
|
|
57784
57856
|
},
|
|
57785
57857
|
{
|
|
57786
|
-
label: 'Signal
|
|
57858
|
+
label: 'Signal start event',
|
|
57787
57859
|
actionName: 'replace-with-signal-start',
|
|
57788
57860
|
className: 'bpmn-icon-start-event-signal',
|
|
57789
57861
|
target: {
|
|
@@ -57793,7 +57865,7 @@
|
|
|
57793
57865
|
}
|
|
57794
57866
|
},
|
|
57795
57867
|
{
|
|
57796
|
-
label: 'Error
|
|
57868
|
+
label: 'Error start event',
|
|
57797
57869
|
actionName: 'replace-with-error-start',
|
|
57798
57870
|
className: 'bpmn-icon-start-event-error',
|
|
57799
57871
|
target: {
|
|
@@ -57803,7 +57875,7 @@
|
|
|
57803
57875
|
}
|
|
57804
57876
|
},
|
|
57805
57877
|
{
|
|
57806
|
-
label: 'Escalation
|
|
57878
|
+
label: 'Escalation start event',
|
|
57807
57879
|
actionName: 'replace-with-escalation-start',
|
|
57808
57880
|
className: 'bpmn-icon-start-event-escalation',
|
|
57809
57881
|
target: {
|
|
@@ -57813,7 +57885,7 @@
|
|
|
57813
57885
|
}
|
|
57814
57886
|
},
|
|
57815
57887
|
{
|
|
57816
|
-
label: 'Compensation
|
|
57888
|
+
label: 'Compensation start event',
|
|
57817
57889
|
actionName: 'replace-with-compensation-start',
|
|
57818
57890
|
className: 'bpmn-icon-start-event-compensation',
|
|
57819
57891
|
target: {
|
|
@@ -57823,7 +57895,7 @@
|
|
|
57823
57895
|
}
|
|
57824
57896
|
},
|
|
57825
57897
|
{
|
|
57826
|
-
label: 'Message
|
|
57898
|
+
label: 'Message start event (non-interrupting)',
|
|
57827
57899
|
actionName: 'replace-with-non-interrupting-message-start',
|
|
57828
57900
|
className: 'bpmn-icon-start-event-non-interrupting-message',
|
|
57829
57901
|
target: {
|
|
@@ -57833,7 +57905,7 @@
|
|
|
57833
57905
|
}
|
|
57834
57906
|
},
|
|
57835
57907
|
{
|
|
57836
|
-
label: 'Timer
|
|
57908
|
+
label: 'Timer start event (non-interrupting)',
|
|
57837
57909
|
actionName: 'replace-with-non-interrupting-timer-start',
|
|
57838
57910
|
className: 'bpmn-icon-start-event-non-interrupting-timer',
|
|
57839
57911
|
target: {
|
|
@@ -57843,7 +57915,7 @@
|
|
|
57843
57915
|
}
|
|
57844
57916
|
},
|
|
57845
57917
|
{
|
|
57846
|
-
label: 'Conditional
|
|
57918
|
+
label: 'Conditional start event (non-interrupting)',
|
|
57847
57919
|
actionName: 'replace-with-non-interrupting-conditional-start',
|
|
57848
57920
|
className: 'bpmn-icon-start-event-non-interrupting-condition',
|
|
57849
57921
|
target: {
|
|
@@ -57853,7 +57925,7 @@
|
|
|
57853
57925
|
}
|
|
57854
57926
|
},
|
|
57855
57927
|
{
|
|
57856
|
-
label: 'Signal
|
|
57928
|
+
label: 'Signal start event (non-interrupting)',
|
|
57857
57929
|
actionName: 'replace-with-non-interrupting-signal-start',
|
|
57858
57930
|
className: 'bpmn-icon-start-event-non-interrupting-signal',
|
|
57859
57931
|
target: {
|
|
@@ -57863,7 +57935,7 @@
|
|
|
57863
57935
|
}
|
|
57864
57936
|
},
|
|
57865
57937
|
{
|
|
57866
|
-
label: 'Escalation
|
|
57938
|
+
label: 'Escalation start event (non-interrupting)',
|
|
57867
57939
|
actionName: 'replace-with-non-interrupting-escalation-start',
|
|
57868
57940
|
className: 'bpmn-icon-start-event-non-interrupting-escalation',
|
|
57869
57941
|
target: {
|
|
@@ -57879,17 +57951,17 @@
|
|
|
57879
57951
|
*/
|
|
57880
57952
|
var SEQUENCE_FLOW = [
|
|
57881
57953
|
{
|
|
57882
|
-
label: 'Sequence
|
|
57954
|
+
label: 'Sequence flow',
|
|
57883
57955
|
actionName: 'replace-with-sequence-flow',
|
|
57884
57956
|
className: 'bpmn-icon-connection'
|
|
57885
57957
|
},
|
|
57886
57958
|
{
|
|
57887
|
-
label: 'Default
|
|
57959
|
+
label: 'Default flow',
|
|
57888
57960
|
actionName: 'replace-with-default-flow',
|
|
57889
57961
|
className: 'bpmn-icon-default-flow'
|
|
57890
57962
|
},
|
|
57891
57963
|
{
|
|
57892
|
-
label: 'Conditional
|
|
57964
|
+
label: 'Conditional flow',
|
|
57893
57965
|
actionName: 'replace-with-conditional-flow',
|
|
57894
57966
|
className: 'bpmn-icon-conditional-flow'
|
|
57895
57967
|
}
|
|
@@ -57900,7 +57972,7 @@
|
|
|
57900
57972
|
*/
|
|
57901
57973
|
var PARTICIPANT = [
|
|
57902
57974
|
{
|
|
57903
|
-
label: 'Expanded
|
|
57975
|
+
label: 'Expanded pool/participant',
|
|
57904
57976
|
actionName: 'replace-with-expanded-pool',
|
|
57905
57977
|
className: 'bpmn-icon-participant',
|
|
57906
57978
|
target: {
|
|
@@ -57910,7 +57982,7 @@
|
|
|
57910
57982
|
},
|
|
57911
57983
|
{
|
|
57912
57984
|
label: function(element) {
|
|
57913
|
-
var label = 'Empty
|
|
57985
|
+
var label = 'Empty pool/participant';
|
|
57914
57986
|
|
|
57915
57987
|
if (element.children && element.children.length) {
|
|
57916
57988
|
label += ' (removes content)';
|
|
@@ -58191,7 +58263,7 @@
|
|
|
58191
58263
|
// collapsed sub process cannot be replaced with itself
|
|
58192
58264
|
if (is$5(businessObject, 'bpmn:SubProcess') && !isExpanded(target)) {
|
|
58193
58265
|
filteredReplaceOptions = filter(filteredReplaceOptions, function(replaceOption) {
|
|
58194
|
-
return replaceOption.label !== 'Sub
|
|
58266
|
+
return replaceOption.label !== 'Sub-process (collapsed)';
|
|
58195
58267
|
});
|
|
58196
58268
|
}
|
|
58197
58269
|
|
|
@@ -58434,7 +58506,7 @@
|
|
|
58434
58506
|
return {
|
|
58435
58507
|
'toggle-parallel-mi' : {
|
|
58436
58508
|
className: 'bpmn-icon-parallel-mi-marker',
|
|
58437
|
-
title: translate('Parallel
|
|
58509
|
+
title: translate('Parallel multi-instance'),
|
|
58438
58510
|
active: isParallel,
|
|
58439
58511
|
action: toggleLoopEntry,
|
|
58440
58512
|
options: {
|
|
@@ -58444,7 +58516,7 @@
|
|
|
58444
58516
|
},
|
|
58445
58517
|
'toggle-sequential-mi': {
|
|
58446
58518
|
className: 'bpmn-icon-sequential-mi-marker',
|
|
58447
|
-
title: translate('Sequential
|
|
58519
|
+
title: translate('Sequential multi-instance'),
|
|
58448
58520
|
active: isSequential,
|
|
58449
58521
|
action: toggleLoopEntry,
|
|
58450
58522
|
options: {
|
|
@@ -58532,7 +58604,7 @@
|
|
|
58532
58604
|
return {
|
|
58533
58605
|
'toggle-participant-multiplicity': {
|
|
58534
58606
|
className: 'bpmn-icon-parallel-mi-marker',
|
|
58535
|
-
title: translate('Participant
|
|
58607
|
+
title: translate('Participant multiplicity'),
|
|
58536
58608
|
active: !!participantMultiplicity,
|
|
58537
58609
|
action: toggleParticipantMultiplicity,
|
|
58538
58610
|
}
|
|
@@ -58591,7 +58663,7 @@
|
|
|
58591
58663
|
return {
|
|
58592
58664
|
'toggle-non-interrupting': {
|
|
58593
58665
|
imageHtml: icon,
|
|
58594
|
-
title: translate('Toggle
|
|
58666
|
+
title: translate('Toggle non-interrupting'),
|
|
58595
58667
|
active: isNonInterrupting,
|
|
58596
58668
|
action: function() {
|
|
58597
58669
|
self._modeling.updateProperties(element, {
|
|
@@ -58817,18 +58889,13 @@
|
|
|
58817
58889
|
*
|
|
58818
58890
|
* @param {string} type
|
|
58819
58891
|
* @param {string} className
|
|
58820
|
-
* @param {string}
|
|
58892
|
+
* @param {string} title
|
|
58821
58893
|
* @param {Object} [options]
|
|
58822
58894
|
*
|
|
58823
58895
|
* @return {ContextPadEntry}
|
|
58824
58896
|
*/
|
|
58825
58897
|
function appendAction(type, className, title, options) {
|
|
58826
58898
|
|
|
58827
|
-
if (typeof title !== 'string') {
|
|
58828
|
-
options = title;
|
|
58829
|
-
title = translate('Append {type}', { type: type.replace(/^bpmn:/, '') });
|
|
58830
|
-
}
|
|
58831
|
-
|
|
58832
58899
|
function appendStart(event, element) {
|
|
58833
58900
|
|
|
58834
58901
|
var shape = elementFactory.createShape(assign$1({ type: type }, options));
|
|
@@ -58894,7 +58961,7 @@
|
|
|
58894
58961
|
'lane-insert-above': {
|
|
58895
58962
|
group: 'lane-insert-above',
|
|
58896
58963
|
className: 'bpmn-icon-lane-insert-above',
|
|
58897
|
-
title: translate('Add
|
|
58964
|
+
title: translate('Add lane above'),
|
|
58898
58965
|
action: {
|
|
58899
58966
|
click: function(event, element) {
|
|
58900
58967
|
modeling.addLane(element, 'top');
|
|
@@ -58910,7 +58977,7 @@
|
|
|
58910
58977
|
'lane-divide-two': {
|
|
58911
58978
|
group: 'lane-divide',
|
|
58912
58979
|
className: 'bpmn-icon-lane-divide-two',
|
|
58913
|
-
title: translate('Divide into two
|
|
58980
|
+
title: translate('Divide into two lanes'),
|
|
58914
58981
|
action: {
|
|
58915
58982
|
click: splitLaneHandler(2)
|
|
58916
58983
|
}
|
|
@@ -58923,7 +58990,7 @@
|
|
|
58923
58990
|
'lane-divide-three': {
|
|
58924
58991
|
group: 'lane-divide',
|
|
58925
58992
|
className: 'bpmn-icon-lane-divide-three',
|
|
58926
|
-
title: translate('Divide into three
|
|
58993
|
+
title: translate('Divide into three lanes'),
|
|
58927
58994
|
action: {
|
|
58928
58995
|
click: splitLaneHandler(3)
|
|
58929
58996
|
}
|
|
@@ -58936,7 +59003,7 @@
|
|
|
58936
59003
|
'lane-insert-below': {
|
|
58937
59004
|
group: 'lane-insert-below',
|
|
58938
59005
|
className: 'bpmn-icon-lane-insert-below',
|
|
58939
|
-
title: translate('Add
|
|
59006
|
+
title: translate('Add lane below'),
|
|
58940
59007
|
action: {
|
|
58941
59008
|
click: function(event, element) {
|
|
58942
59009
|
modeling.addLane(element, 'bottom');
|
|
@@ -58955,30 +59022,30 @@
|
|
|
58955
59022
|
'append.receive-task': appendAction(
|
|
58956
59023
|
'bpmn:ReceiveTask',
|
|
58957
59024
|
'bpmn-icon-receive-task',
|
|
58958
|
-
translate('Append
|
|
59025
|
+
translate('Append receive task')
|
|
58959
59026
|
),
|
|
58960
59027
|
'append.message-intermediate-event': appendAction(
|
|
58961
59028
|
'bpmn:IntermediateCatchEvent',
|
|
58962
59029
|
'bpmn-icon-intermediate-event-catch-message',
|
|
58963
|
-
translate('Append
|
|
59030
|
+
translate('Append message intermediate catch event'),
|
|
58964
59031
|
{ eventDefinitionType: 'bpmn:MessageEventDefinition' }
|
|
58965
59032
|
),
|
|
58966
59033
|
'append.timer-intermediate-event': appendAction(
|
|
58967
59034
|
'bpmn:IntermediateCatchEvent',
|
|
58968
59035
|
'bpmn-icon-intermediate-event-catch-timer',
|
|
58969
|
-
translate('Append
|
|
59036
|
+
translate('Append timer intermediate catch event'),
|
|
58970
59037
|
{ eventDefinitionType: 'bpmn:TimerEventDefinition' }
|
|
58971
59038
|
),
|
|
58972
59039
|
'append.condition-intermediate-event': appendAction(
|
|
58973
59040
|
'bpmn:IntermediateCatchEvent',
|
|
58974
59041
|
'bpmn-icon-intermediate-event-catch-condition',
|
|
58975
|
-
translate('Append
|
|
59042
|
+
translate('Append conditional intermediate catch event'),
|
|
58976
59043
|
{ eventDefinitionType: 'bpmn:ConditionalEventDefinition' }
|
|
58977
59044
|
),
|
|
58978
59045
|
'append.signal-intermediate-event': appendAction(
|
|
58979
59046
|
'bpmn:IntermediateCatchEvent',
|
|
58980
59047
|
'bpmn-icon-intermediate-event-catch-signal',
|
|
58981
|
-
translate('Append
|
|
59048
|
+
translate('Append signal intermediate catch event'),
|
|
58982
59049
|
{ eventDefinitionType: 'bpmn:SignalEventDefinition' }
|
|
58983
59050
|
)
|
|
58984
59051
|
});
|
|
@@ -59008,22 +59075,22 @@
|
|
|
59008
59075
|
'append.end-event': appendAction(
|
|
59009
59076
|
'bpmn:EndEvent',
|
|
59010
59077
|
'bpmn-icon-end-event-none',
|
|
59011
|
-
translate('Append
|
|
59078
|
+
translate('Append end event')
|
|
59012
59079
|
),
|
|
59013
59080
|
'append.gateway': appendAction(
|
|
59014
59081
|
'bpmn:ExclusiveGateway',
|
|
59015
59082
|
'bpmn-icon-gateway-none',
|
|
59016
|
-
translate('Append
|
|
59083
|
+
translate('Append gateway')
|
|
59017
59084
|
),
|
|
59018
59085
|
'append.append-task': appendAction(
|
|
59019
59086
|
'bpmn:Task',
|
|
59020
59087
|
'bpmn-icon-task',
|
|
59021
|
-
translate('Append
|
|
59088
|
+
translate('Append task')
|
|
59022
59089
|
),
|
|
59023
59090
|
'append.intermediate-event': appendAction(
|
|
59024
59091
|
'bpmn:IntermediateThrowEvent',
|
|
59025
59092
|
'bpmn-icon-intermediate-event-none',
|
|
59026
|
-
translate('Append
|
|
59093
|
+
translate('Append intermediate/boundary event')
|
|
59027
59094
|
)
|
|
59028
59095
|
});
|
|
59029
59096
|
}
|
|
@@ -59060,7 +59127,7 @@
|
|
|
59060
59127
|
'append.text-annotation': appendAction(
|
|
59061
59128
|
'bpmn:TextAnnotation',
|
|
59062
59129
|
'bpmn-icon-text-annotation',
|
|
59063
|
-
translate('Append
|
|
59130
|
+
translate('Append text annotation')
|
|
59064
59131
|
)
|
|
59065
59132
|
});
|
|
59066
59133
|
}
|
|
@@ -59077,7 +59144,7 @@
|
|
|
59077
59144
|
'append.text-annotation': appendAction(
|
|
59078
59145
|
'bpmn:TextAnnotation',
|
|
59079
59146
|
'bpmn-icon-text-annotation',
|
|
59080
|
-
translate('Append
|
|
59147
|
+
translate('Append text annotation')
|
|
59081
59148
|
),
|
|
59082
59149
|
|
|
59083
59150
|
'connect': {
|
|
@@ -59087,8 +59154,8 @@
|
|
|
59087
59154
|
'Connect using ' +
|
|
59088
59155
|
(businessObject.isForCompensation
|
|
59089
59156
|
? ''
|
|
59090
|
-
: '
|
|
59091
|
-
'
|
|
59157
|
+
: 'sequence/message flow or ') +
|
|
59158
|
+
'association'
|
|
59092
59159
|
),
|
|
59093
59160
|
action: {
|
|
59094
59161
|
click: startConnect,
|
|
@@ -59103,7 +59170,7 @@
|
|
|
59103
59170
|
'connect': {
|
|
59104
59171
|
group: 'connect',
|
|
59105
59172
|
className: 'bpmn-icon-connection-multi',
|
|
59106
|
-
title: translate('Connect using
|
|
59173
|
+
title: translate('Connect using association'),
|
|
59107
59174
|
action: {
|
|
59108
59175
|
click: startConnect,
|
|
59109
59176
|
dragstart: startConnect,
|
|
@@ -59117,7 +59184,7 @@
|
|
|
59117
59184
|
'connect': {
|
|
59118
59185
|
group: 'connect',
|
|
59119
59186
|
className: 'bpmn-icon-connection-multi',
|
|
59120
|
-
title: translate('Connect using
|
|
59187
|
+
title: translate('Connect using data input association'),
|
|
59121
59188
|
action: {
|
|
59122
59189
|
click: startConnect,
|
|
59123
59190
|
dragstart: startConnect
|
|
@@ -59131,7 +59198,7 @@
|
|
|
59131
59198
|
'append.text-annotation': appendAction(
|
|
59132
59199
|
'bpmn:TextAnnotation',
|
|
59133
59200
|
'bpmn-icon-text-annotation',
|
|
59134
|
-
translate('Append
|
|
59201
|
+
translate('Append text annotation')
|
|
59135
59202
|
)
|
|
59136
59203
|
});
|
|
59137
59204
|
}
|
|
@@ -62291,13 +62358,47 @@
|
|
|
62291
62358
|
|
|
62292
62359
|
// adjust for expanded pools AND lanes
|
|
62293
62360
|
if (is$5(element, 'bpmn:Lane') || isExpandedPool(element)) {
|
|
62361
|
+
var isHorizontalLane = isHorizontal$4(element);
|
|
62294
62362
|
|
|
62295
|
-
|
|
62363
|
+
var laneBounds = isHorizontalLane ? {
|
|
62296
62364
|
width: bbox.height,
|
|
62297
62365
|
height: 30 * zoom,
|
|
62298
62366
|
x: bbox.x - bbox.height / 2 + (15 * zoom),
|
|
62299
62367
|
y: mid.y - (30 * zoom) / 2
|
|
62368
|
+
} : {
|
|
62369
|
+
width: bbox.width,
|
|
62370
|
+
height: 30 * zoom
|
|
62371
|
+
};
|
|
62372
|
+
|
|
62373
|
+
assign$1(bounds, laneBounds);
|
|
62374
|
+
|
|
62375
|
+
assign$1(style, {
|
|
62376
|
+
fontSize: defaultFontSize + 'px',
|
|
62377
|
+
lineHeight: defaultLineHeight,
|
|
62378
|
+
paddingTop: (7 * zoom) + 'px',
|
|
62379
|
+
paddingBottom: (7 * zoom) + 'px',
|
|
62380
|
+
paddingLeft: (5 * zoom) + 'px',
|
|
62381
|
+
paddingRight: (5 * zoom) + 'px',
|
|
62382
|
+
transform: isHorizontalLane ? 'rotate(-90deg)' : null
|
|
62300
62383
|
});
|
|
62384
|
+
}
|
|
62385
|
+
|
|
62386
|
+
|
|
62387
|
+
// internal labels for collapsed participants
|
|
62388
|
+
if (isCollapsedPool(element)) {
|
|
62389
|
+
var isHorizontalPool = isHorizontal$4(element);
|
|
62390
|
+
|
|
62391
|
+
var poolBounds = isHorizontalPool ? {
|
|
62392
|
+
width: bbox.width,
|
|
62393
|
+
height: bbox.height
|
|
62394
|
+
} : {
|
|
62395
|
+
width: bbox.height,
|
|
62396
|
+
height: bbox.width,
|
|
62397
|
+
x: mid.x - bbox.height / 2,
|
|
62398
|
+
y: mid.y - bbox.width / 2
|
|
62399
|
+
};
|
|
62400
|
+
|
|
62401
|
+
assign$1(bounds, poolBounds);
|
|
62301
62402
|
|
|
62302
62403
|
assign$1(style, {
|
|
62303
62404
|
fontSize: defaultFontSize + 'px',
|
|
@@ -62306,15 +62407,14 @@
|
|
|
62306
62407
|
paddingBottom: (7 * zoom) + 'px',
|
|
62307
62408
|
paddingLeft: (5 * zoom) + 'px',
|
|
62308
62409
|
paddingRight: (5 * zoom) + 'px',
|
|
62309
|
-
transform: 'rotate(-90deg)'
|
|
62410
|
+
transform: isHorizontalPool ? null : 'rotate(-90deg)'
|
|
62310
62411
|
});
|
|
62311
62412
|
}
|
|
62312
62413
|
|
|
62313
62414
|
|
|
62314
|
-
// internal labels for tasks and collapsed call activities
|
|
62315
|
-
// sub processes
|
|
62415
|
+
// internal labels for tasks and collapsed call activities
|
|
62416
|
+
// and sub processes
|
|
62316
62417
|
if (isAny(element, [ 'bpmn:Task', 'bpmn:CallActivity' ]) ||
|
|
62317
|
-
isCollapsedPool(element) ||
|
|
62318
62418
|
isCollapsedSubProcess(element)) {
|
|
62319
62419
|
|
|
62320
62420
|
assign$1(bounds, {
|
|
@@ -64967,12 +65067,10 @@
|
|
|
64967
65067
|
create.start(event, shape);
|
|
64968
65068
|
}
|
|
64969
65069
|
|
|
64970
|
-
var shortType = type.replace(/^bpmn:/, '');
|
|
64971
|
-
|
|
64972
65070
|
return {
|
|
64973
65071
|
group: group,
|
|
64974
65072
|
className: className,
|
|
64975
|
-
title: title
|
|
65073
|
+
title: title,
|
|
64976
65074
|
action: {
|
|
64977
65075
|
dragstart: createListener,
|
|
64978
65076
|
click: createListener
|
|
@@ -65010,7 +65108,7 @@
|
|
|
65010
65108
|
'hand-tool': {
|
|
65011
65109
|
group: 'tools',
|
|
65012
65110
|
className: 'bpmn-icon-hand-tool',
|
|
65013
|
-
title: translate('Activate
|
|
65111
|
+
title: translate('Activate hand tool'),
|
|
65014
65112
|
action: {
|
|
65015
65113
|
click: function(event) {
|
|
65016
65114
|
handTool.activateHand(event);
|
|
@@ -65020,7 +65118,7 @@
|
|
|
65020
65118
|
'lasso-tool': {
|
|
65021
65119
|
group: 'tools',
|
|
65022
65120
|
className: 'bpmn-icon-lasso-tool',
|
|
65023
|
-
title: translate('Activate
|
|
65121
|
+
title: translate('Activate lasso tool'),
|
|
65024
65122
|
action: {
|
|
65025
65123
|
click: function(event) {
|
|
65026
65124
|
lassoTool.activateSelection(event);
|
|
@@ -65030,7 +65128,7 @@
|
|
|
65030
65128
|
'space-tool': {
|
|
65031
65129
|
group: 'tools',
|
|
65032
65130
|
className: 'bpmn-icon-space-tool',
|
|
65033
|
-
title: translate('Activate
|
|
65131
|
+
title: translate('Activate create/remove space tool'),
|
|
65034
65132
|
action: {
|
|
65035
65133
|
click: function(event) {
|
|
65036
65134
|
spaceTool.activateSelection(event);
|
|
@@ -65040,7 +65138,7 @@
|
|
|
65040
65138
|
'global-connect-tool': {
|
|
65041
65139
|
group: 'tools',
|
|
65042
65140
|
className: 'bpmn-icon-connection-multi',
|
|
65043
|
-
title: translate('Activate
|
|
65141
|
+
title: translate('Activate global connect tool'),
|
|
65044
65142
|
action: {
|
|
65045
65143
|
click: function(event) {
|
|
65046
65144
|
globalConnect.start(event);
|
|
@@ -65053,36 +65151,36 @@
|
|
|
65053
65151
|
},
|
|
65054
65152
|
'create.start-event': createAction(
|
|
65055
65153
|
'bpmn:StartEvent', 'event', 'bpmn-icon-start-event-none',
|
|
65056
|
-
translate('Create
|
|
65154
|
+
translate('Create start event')
|
|
65057
65155
|
),
|
|
65058
65156
|
'create.intermediate-event': createAction(
|
|
65059
65157
|
'bpmn:IntermediateThrowEvent', 'event', 'bpmn-icon-intermediate-event-none',
|
|
65060
|
-
translate('Create
|
|
65158
|
+
translate('Create intermediate/boundary event')
|
|
65061
65159
|
),
|
|
65062
65160
|
'create.end-event': createAction(
|
|
65063
65161
|
'bpmn:EndEvent', 'event', 'bpmn-icon-end-event-none',
|
|
65064
|
-
translate('Create
|
|
65162
|
+
translate('Create end event')
|
|
65065
65163
|
),
|
|
65066
65164
|
'create.exclusive-gateway': createAction(
|
|
65067
65165
|
'bpmn:ExclusiveGateway', 'gateway', 'bpmn-icon-gateway-none',
|
|
65068
|
-
translate('Create
|
|
65166
|
+
translate('Create gateway')
|
|
65069
65167
|
),
|
|
65070
65168
|
'create.task': createAction(
|
|
65071
65169
|
'bpmn:Task', 'activity', 'bpmn-icon-task',
|
|
65072
|
-
translate('Create
|
|
65170
|
+
translate('Create task')
|
|
65073
65171
|
),
|
|
65074
65172
|
'create.data-object': createAction(
|
|
65075
65173
|
'bpmn:DataObjectReference', 'data-object', 'bpmn-icon-data-object',
|
|
65076
|
-
translate('Create
|
|
65174
|
+
translate('Create data object reference')
|
|
65077
65175
|
),
|
|
65078
65176
|
'create.data-store': createAction(
|
|
65079
65177
|
'bpmn:DataStoreReference', 'data-store', 'bpmn-icon-data-store',
|
|
65080
|
-
translate('Create
|
|
65178
|
+
translate('Create data store reference')
|
|
65081
65179
|
),
|
|
65082
65180
|
'create.subprocess-expanded': {
|
|
65083
65181
|
group: 'activity',
|
|
65084
65182
|
className: 'bpmn-icon-subprocess-expanded',
|
|
65085
|
-
title: translate('Create expanded
|
|
65183
|
+
title: translate('Create expanded sub-process'),
|
|
65086
65184
|
action: {
|
|
65087
65185
|
dragstart: createSubprocess,
|
|
65088
65186
|
click: createSubprocess
|
|
@@ -65091,7 +65189,7 @@
|
|
|
65091
65189
|
'create.participant-expanded': {
|
|
65092
65190
|
group: 'collaboration',
|
|
65093
65191
|
className: 'bpmn-icon-participant',
|
|
65094
|
-
title: translate('Create
|
|
65192
|
+
title: translate('Create pool/participant'),
|
|
65095
65193
|
action: {
|
|
65096
65194
|
dragstart: createParticipant,
|
|
65097
65195
|
click: createParticipant
|
|
@@ -65099,7 +65197,7 @@
|
|
|
65099
65197
|
},
|
|
65100
65198
|
'create.group': createAction(
|
|
65101
65199
|
'bpmn:Group', 'artifact', 'bpmn-icon-group',
|
|
65102
|
-
translate('Create
|
|
65200
|
+
translate('Create group')
|
|
65103
65201
|
),
|
|
65104
65202
|
});
|
|
65105
65203
|
|