bpmn-js 13.0.5 → 13.0.7
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/bpmn-modeler.development.js +51 -89
- package/dist/bpmn-modeler.production.min.js +34 -35
- package/dist/bpmn-navigated-viewer.development.js +17 -22
- package/dist/bpmn-navigated-viewer.production.min.js +5 -5
- package/dist/bpmn-viewer.development.js +17 -22
- package/dist/bpmn-viewer.production.min.js +5 -5
- package/lib/features/auto-place/BpmnAutoPlaceUtil.js +2 -4
- package/lib/features/copy-paste/BpmnCopyPaste.js +1 -1
- package/lib/features/modeling/behavior/CreateParticipantBehavior.js +2 -4
- package/lib/features/modeling/cmd/SetColorHandler.js +2 -4
- package/lib/features/rules/BpmnRules.js +2 -9
- package/lib/util/LabelUtil.d.ts +2 -7
- package/lib/util/LabelUtil.js +4 -9
- package/package.json +3 -3
- package/lib/features/align-elements/dist/align-bottom-tool.svg +0 -1
- package/lib/features/align-elements/dist/align-horizontal-center-tool.svg +0 -1
- package/lib/features/align-elements/dist/align-left-tool.svg +0 -1
- package/lib/features/align-elements/dist/align-right-tool.svg +0 -1
- package/lib/features/align-elements/dist/align-tool.svg +0 -1
- package/lib/features/align-elements/dist/align-top-tool.svg +0 -1
- package/lib/features/align-elements/dist/align-vertical-center-tool.svg +0 -1
- package/lib/features/palette/dist/create.svg +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* bpmn-js - bpmn-modeler v13.0.
|
|
2
|
+
* bpmn-js - bpmn-modeler v13.0.7
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) 2014-present, camunda Services GmbH
|
|
5
5
|
*
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
*
|
|
9
9
|
* Source Code: https://github.com/bpmn-io/bpmn-js
|
|
10
10
|
*
|
|
11
|
-
* Date: 2023-05-
|
|
11
|
+
* Date: 2023-05-17
|
|
12
12
|
*/
|
|
13
13
|
(function (global, factory) {
|
|
14
14
|
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
|
|
@@ -4568,7 +4568,7 @@
|
|
|
4568
4568
|
|
|
4569
4569
|
var intersect = findPathIntersections;
|
|
4570
4570
|
|
|
4571
|
-
var intersectPaths = intersect;
|
|
4571
|
+
var intersectPaths = /*@__PURE__*/getDefaultExportFromCjs(intersect);
|
|
4572
4572
|
|
|
4573
4573
|
/**
|
|
4574
4574
|
* Checks whether a value is an instance of Connection.
|
|
@@ -4577,7 +4577,7 @@
|
|
|
4577
4577
|
*
|
|
4578
4578
|
* @return {boolean}
|
|
4579
4579
|
*/
|
|
4580
|
-
function isConnection
|
|
4580
|
+
function isConnection(value) {
|
|
4581
4581
|
return isObject(value) && has$1(value, 'waypoints');
|
|
4582
4582
|
}
|
|
4583
4583
|
|
|
@@ -4588,7 +4588,7 @@
|
|
|
4588
4588
|
*
|
|
4589
4589
|
* @return {boolean}
|
|
4590
4590
|
*/
|
|
4591
|
-
function isLabel
|
|
4591
|
+
function isLabel(value) {
|
|
4592
4592
|
return isObject(value) && has$1(value, 'labelTarget');
|
|
4593
4593
|
}
|
|
4594
4594
|
|
|
@@ -4746,7 +4746,7 @@
|
|
|
4746
4746
|
* @return {Point}
|
|
4747
4747
|
*/
|
|
4748
4748
|
function getMid(element) {
|
|
4749
|
-
if (isConnection
|
|
4749
|
+
if (isConnection(element)) {
|
|
4750
4750
|
return getConnectionMid(element);
|
|
4751
4751
|
}
|
|
4752
4752
|
|
|
@@ -6629,11 +6629,7 @@
|
|
|
6629
6629
|
}
|
|
6630
6630
|
};
|
|
6631
6631
|
|
|
6632
|
-
var
|
|
6633
|
-
var objectRefs = {
|
|
6634
|
-
get exports(){ return objectRefsExports; },
|
|
6635
|
-
set exports(v){ objectRefsExports = v; },
|
|
6636
|
-
};
|
|
6632
|
+
var objectRefs = {exports: {}};
|
|
6637
6633
|
|
|
6638
6634
|
var collection = {};
|
|
6639
6635
|
|
|
@@ -6947,12 +6943,11 @@
|
|
|
6947
6943
|
|
|
6948
6944
|
var refs = Refs$1;
|
|
6949
6945
|
|
|
6950
|
-
|
|
6951
|
-
module.exports = refs;
|
|
6946
|
+
objectRefs.exports = refs;
|
|
6952
6947
|
|
|
6953
|
-
|
|
6954
|
-
} (objectRefs));
|
|
6948
|
+
objectRefs.exports.Collection = collection;
|
|
6955
6949
|
|
|
6950
|
+
var objectRefsExports = objectRefs.exports;
|
|
6956
6951
|
var Refs = /*@__PURE__*/getDefaultExportFromCjs(objectRefsExports);
|
|
6957
6952
|
|
|
6958
6953
|
var parentRefs = new Refs({ name: 'children', enumerable: true, collection: true }, { name: 'parent' }),
|
|
@@ -18102,15 +18097,6 @@
|
|
|
18102
18097
|
}, size);
|
|
18103
18098
|
}
|
|
18104
18099
|
|
|
18105
|
-
/**
|
|
18106
|
-
* @param {Element} element
|
|
18107
|
-
*
|
|
18108
|
-
* @return {boolean}
|
|
18109
|
-
*/
|
|
18110
|
-
function isLabel(element) {
|
|
18111
|
-
return element && !!element.labelTarget;
|
|
18112
|
-
}
|
|
18113
|
-
|
|
18114
18100
|
/**
|
|
18115
18101
|
* @param {ModdleElement} semantic
|
|
18116
18102
|
*
|
|
@@ -26002,11 +25988,7 @@
|
|
|
26002
25988
|
NavigatedViewer.prototype._navigationModules
|
|
26003
25989
|
);
|
|
26004
25990
|
|
|
26005
|
-
var
|
|
26006
|
-
var hammer = {
|
|
26007
|
-
get exports(){ return hammerExports; },
|
|
26008
|
-
set exports(v){ hammerExports = v; },
|
|
26009
|
-
};
|
|
25991
|
+
var hammer = {exports: {}};
|
|
26010
25992
|
|
|
26011
25993
|
/*! Hammer.JS - v2.0.7 - 2016-04-22
|
|
26012
25994
|
* http://hammerjs.github.io/
|
|
@@ -28651,10 +28633,11 @@
|
|
|
28651
28633
|
window[exportName] = Hammer;
|
|
28652
28634
|
}
|
|
28653
28635
|
|
|
28654
|
-
})(window, document, 'Hammer');
|
|
28636
|
+
})(window, document, 'Hammer');
|
|
28655
28637
|
} (hammer));
|
|
28656
28638
|
|
|
28657
|
-
var
|
|
28639
|
+
var hammerExports = hammer.exports;
|
|
28640
|
+
var Hammer = /*@__PURE__*/getDefaultExportFromCjs(hammerExports);
|
|
28658
28641
|
|
|
28659
28642
|
/**
|
|
28660
28643
|
* @typedef {import('didi').Injector} Injector
|
|
@@ -31771,7 +31754,7 @@
|
|
|
31771
31754
|
y: sourceTrbl.top - 50 - element.height / 2
|
|
31772
31755
|
};
|
|
31773
31756
|
|
|
31774
|
-
if (isConnection
|
|
31757
|
+
if (isConnection(source)) {
|
|
31775
31758
|
position = getMid(source);
|
|
31776
31759
|
position.x += 100;
|
|
31777
31760
|
position.y -= 50;
|
|
@@ -31816,10 +31799,6 @@
|
|
|
31816
31799
|
return findFreePosition(source, element, position, generateGetNextPosition(nextPositionDirection));
|
|
31817
31800
|
}
|
|
31818
31801
|
|
|
31819
|
-
function isConnection$3(element) {
|
|
31820
|
-
return !!element.waypoints;
|
|
31821
|
-
}
|
|
31822
|
-
|
|
31823
31802
|
/**
|
|
31824
31803
|
* @typedef {import('diagram-js/lib/core/EventBus').default} EventBus
|
|
31825
31804
|
*/
|
|
@@ -35271,7 +35250,7 @@
|
|
|
35271
35250
|
hoverMid = hover && getSnapPoint(hover, event);
|
|
35272
35251
|
|
|
35273
35252
|
// only snap on connections, elements can have multiple connect endpoints
|
|
35274
|
-
if (!isConnection
|
|
35253
|
+
if (!isConnection(hover) || !hoverMid || !hoverMid.x || !hoverMid.y) {
|
|
35275
35254
|
return;
|
|
35276
35255
|
}
|
|
35277
35256
|
|
|
@@ -36849,11 +36828,11 @@
|
|
|
36849
36828
|
elements = filter(elements, function(element) {
|
|
36850
36829
|
var labelTarget = element.labelTarget;
|
|
36851
36830
|
|
|
36852
|
-
return !element.parent && !(isLabel
|
|
36831
|
+
return !element.parent && !(isLabel(element) && elements.indexOf(labelTarget) !== -1);
|
|
36853
36832
|
});
|
|
36854
36833
|
|
|
36855
36834
|
var shape = find(elements, function(element) {
|
|
36856
|
-
return !isConnection
|
|
36835
|
+
return !isConnection(element);
|
|
36857
36836
|
});
|
|
36858
36837
|
|
|
36859
36838
|
var attach = false,
|
|
@@ -37008,7 +36987,7 @@
|
|
|
37008
36987
|
|
|
37009
36988
|
// update shape
|
|
37010
36989
|
shape = find(elements, function(element) {
|
|
37011
|
-
return !isConnection
|
|
36990
|
+
return !isConnection(element);
|
|
37012
36991
|
});
|
|
37013
36992
|
}
|
|
37014
36993
|
|
|
@@ -37049,7 +37028,7 @@
|
|
|
37049
37028
|
}
|
|
37050
37029
|
|
|
37051
37030
|
var shape = find(elements, function(element) {
|
|
37052
|
-
return !isConnection
|
|
37031
|
+
return !isConnection(element);
|
|
37053
37032
|
});
|
|
37054
37033
|
|
|
37055
37034
|
if (!shape) {
|
|
@@ -37083,7 +37062,7 @@
|
|
|
37083
37062
|
|
|
37084
37063
|
// center elements around cursor
|
|
37085
37064
|
forEach$1(elements, function(element) {
|
|
37086
|
-
if (isConnection
|
|
37065
|
+
if (isConnection(element)) {
|
|
37087
37066
|
element.waypoints = map$1(element.waypoints, function(waypoint) {
|
|
37088
37067
|
return {
|
|
37089
37068
|
x: waypoint.x - bbox.x - bbox.width / 2,
|
|
@@ -37146,7 +37125,7 @@
|
|
|
37146
37125
|
}
|
|
37147
37126
|
|
|
37148
37127
|
function isSingleShape(elements) {
|
|
37149
|
-
return elements && elements.length === 1 && !isConnection
|
|
37128
|
+
return elements && elements.length === 1 && !isConnection(elements[ 0 ]);
|
|
37150
37129
|
}
|
|
37151
37130
|
|
|
37152
37131
|
/**
|
|
@@ -37479,7 +37458,7 @@
|
|
|
37479
37458
|
}
|
|
37480
37459
|
|
|
37481
37460
|
// connections (priority = 3)
|
|
37482
|
-
if (isConnection
|
|
37461
|
+
if (isConnection(element)) {
|
|
37483
37462
|
descriptor.priority = 3;
|
|
37484
37463
|
|
|
37485
37464
|
descriptor.source = element.source.id;
|
|
@@ -37489,7 +37468,7 @@
|
|
|
37489
37468
|
}
|
|
37490
37469
|
|
|
37491
37470
|
// labels (priority = 4)
|
|
37492
|
-
if (isLabel
|
|
37471
|
+
if (isLabel(element)) {
|
|
37493
37472
|
descriptor.priority = 4;
|
|
37494
37473
|
|
|
37495
37474
|
descriptor.labelTarget = element.labelTarget.id;
|
|
@@ -37622,7 +37601,7 @@
|
|
|
37622
37601
|
|
|
37623
37602
|
// center elements around cursor
|
|
37624
37603
|
forEach$1(elements, function(element) {
|
|
37625
|
-
if (isConnection
|
|
37604
|
+
if (isConnection(element)) {
|
|
37626
37605
|
element.waypoints = map$1(element.waypoints, function(waypoint) {
|
|
37627
37606
|
return {
|
|
37628
37607
|
x: waypoint.x - bbox.x - bbox.width / 2,
|
|
@@ -37675,7 +37654,7 @@
|
|
|
37675
37654
|
|
|
37676
37655
|
var element;
|
|
37677
37656
|
|
|
37678
|
-
if (isConnection
|
|
37657
|
+
if (isConnection(attrs)) {
|
|
37679
37658
|
attrs.source = cache[ descriptor.source ];
|
|
37680
37659
|
attrs.target = cache[ descriptor.target ];
|
|
37681
37660
|
|
|
@@ -37686,7 +37665,7 @@
|
|
|
37686
37665
|
return;
|
|
37687
37666
|
}
|
|
37688
37667
|
|
|
37689
|
-
if (isLabel
|
|
37668
|
+
if (isLabel(attrs)) {
|
|
37690
37669
|
attrs.labelTarget = cache[ attrs.labelTarget ];
|
|
37691
37670
|
|
|
37692
37671
|
element = cache[ descriptor.id ] = self.createLabel(attrs);
|
|
@@ -37741,7 +37720,7 @@
|
|
|
37741
37720
|
source,
|
|
37742
37721
|
target;
|
|
37743
37722
|
|
|
37744
|
-
if (isConnection
|
|
37723
|
+
if (isConnection(element)) {
|
|
37745
37724
|
source = find(elements, matchPattern({ id: element.source.id }));
|
|
37746
37725
|
target = find(elements, matchPattern({ id: element.target.id }));
|
|
37747
37726
|
|
|
@@ -37750,7 +37729,7 @@
|
|
|
37750
37729
|
}
|
|
37751
37730
|
}
|
|
37752
37731
|
|
|
37753
|
-
if (isLabel
|
|
37732
|
+
if (isLabel(element)) {
|
|
37754
37733
|
labelTarget = find(elements, matchPattern({ id: element.labelTarget.id }));
|
|
37755
37734
|
|
|
37756
37735
|
if (!labelTarget) {
|
|
@@ -37843,7 +37822,7 @@
|
|
|
37843
37822
|
eachElement(parents, function(element, _index, depth) {
|
|
37844
37823
|
|
|
37845
37824
|
// do NOT add external labels directly
|
|
37846
|
-
if (isLabel
|
|
37825
|
+
if (isLabel(element)) {
|
|
37847
37826
|
return;
|
|
37848
37827
|
}
|
|
37849
37828
|
|
|
@@ -44173,7 +44152,7 @@
|
|
|
44173
44152
|
ResizeHandles.prototype.addResizer = function(element) {
|
|
44174
44153
|
var self = this;
|
|
44175
44154
|
|
|
44176
|
-
if (isConnection
|
|
44155
|
+
if (isConnection(element) || !this._resize.canResize({ shape: element })) {
|
|
44177
44156
|
return;
|
|
44178
44157
|
}
|
|
44179
44158
|
|
|
@@ -45439,7 +45418,7 @@
|
|
|
45439
45418
|
var children = rootElement.children.filter(function(element) {
|
|
45440
45419
|
return !is$1(element, 'bpmn:Group') &&
|
|
45441
45420
|
!isLabel(element) &&
|
|
45442
|
-
!isConnection
|
|
45421
|
+
!isConnection(element);
|
|
45443
45422
|
});
|
|
45444
45423
|
|
|
45445
45424
|
// ensure for available children to calculate bounds
|
|
@@ -45610,10 +45589,6 @@
|
|
|
45610
45589
|
};
|
|
45611
45590
|
}
|
|
45612
45591
|
|
|
45613
|
-
function isConnection$2(element) {
|
|
45614
|
-
return !!element.waypoints;
|
|
45615
|
-
}
|
|
45616
|
-
|
|
45617
45592
|
function findParticipant(elements) {
|
|
45618
45593
|
return find(elements, function(element) {
|
|
45619
45594
|
return is$1(element, 'bpmn:Participant');
|
|
@@ -50913,12 +50888,12 @@
|
|
|
50913
50888
|
position = context.position,
|
|
50914
50889
|
target = context.target;
|
|
50915
50890
|
|
|
50916
|
-
if (isConnection
|
|
50891
|
+
if (isConnection(target) && !canInsert(elements, target)) {
|
|
50917
50892
|
return false;
|
|
50918
50893
|
}
|
|
50919
50894
|
|
|
50920
50895
|
return every(elements, function(element) {
|
|
50921
|
-
if (isConnection
|
|
50896
|
+
if (isConnection(element)) {
|
|
50922
50897
|
return canConnect(element.source, element.target, element);
|
|
50923
50898
|
}
|
|
50924
50899
|
|
|
@@ -51261,15 +51236,6 @@
|
|
|
51261
51236
|
);
|
|
51262
51237
|
}
|
|
51263
51238
|
|
|
51264
|
-
/**
|
|
51265
|
-
* @param {Element} element
|
|
51266
|
-
*
|
|
51267
|
-
* @return {boolean}
|
|
51268
|
-
*/
|
|
51269
|
-
function isConnection$1(element) {
|
|
51270
|
-
return element.waypoints;
|
|
51271
|
-
}
|
|
51272
|
-
|
|
51273
51239
|
/**
|
|
51274
51240
|
* @param {Element} element
|
|
51275
51241
|
*
|
|
@@ -52843,12 +52809,12 @@
|
|
|
52843
52809
|
}
|
|
52844
52810
|
|
|
52845
52811
|
forEach$1(elements, function(element) {
|
|
52846
|
-
if (!element.parent || isLabel
|
|
52812
|
+
if (!element.parent || isLabel(element)) {
|
|
52847
52813
|
return;
|
|
52848
52814
|
}
|
|
52849
52815
|
|
|
52850
52816
|
// handle connections separately
|
|
52851
|
-
if (isConnection
|
|
52817
|
+
if (isConnection(element)) {
|
|
52852
52818
|
connections.push(element);
|
|
52853
52819
|
|
|
52854
52820
|
return;
|
|
@@ -53019,15 +52985,15 @@
|
|
|
53019
52985
|
|
|
53020
52986
|
// find children that are not moving or resizing
|
|
53021
52987
|
var nonMovingResizingChildren = filter(children, function(child) {
|
|
53022
|
-
return !isConnection
|
|
53023
|
-
!isLabel
|
|
52988
|
+
return !isConnection(child) &&
|
|
52989
|
+
!isLabel(child) &&
|
|
53024
52990
|
!includes$3(movingShapes, child) &&
|
|
53025
52991
|
!includes$3(resizingShapes, child);
|
|
53026
52992
|
});
|
|
53027
52993
|
|
|
53028
52994
|
// find children that are moving
|
|
53029
52995
|
var movingChildren = filter(children, function(child) {
|
|
53030
|
-
return !isConnection
|
|
52996
|
+
return !isConnection(child) && !isLabel(child) && includes$3(movingShapes, child);
|
|
53031
52997
|
});
|
|
53032
52998
|
|
|
53033
52999
|
var minOrMax,
|
|
@@ -53319,7 +53285,7 @@
|
|
|
53319
53285
|
});
|
|
53320
53286
|
});
|
|
53321
53287
|
|
|
53322
|
-
return isConnection
|
|
53288
|
+
return isConnection(element)
|
|
53323
53289
|
&& (sourceIsMoving || sourceIsResizing)
|
|
53324
53290
|
&& (targetIsMoving || targetIsResizing);
|
|
53325
53291
|
});
|
|
@@ -56614,7 +56580,7 @@
|
|
|
56614
56580
|
|
|
56615
56581
|
// center elements around position
|
|
56616
56582
|
forEach$1(elements, function(element) {
|
|
56617
|
-
if (isConnection
|
|
56583
|
+
if (isConnection(element)) {
|
|
56618
56584
|
element.waypoints = map$1(element.waypoints, function(waypoint) {
|
|
56619
56585
|
return {
|
|
56620
56586
|
x: round$3(waypoint.x - bbox.x - bbox.width / 2 + position.x),
|
|
@@ -56634,7 +56600,7 @@
|
|
|
56634
56600
|
var cache = {};
|
|
56635
56601
|
|
|
56636
56602
|
forEach$1(elements, function(element) {
|
|
56637
|
-
if (isConnection
|
|
56603
|
+
if (isConnection(element)) {
|
|
56638
56604
|
cache[ element.id ] = isNumber(parentIndex) ?
|
|
56639
56605
|
modeling.createConnection(
|
|
56640
56606
|
cache[ element.source.id ],
|
|
@@ -56661,7 +56627,7 @@
|
|
|
56661
56627
|
createShapeHints.autoResize = false;
|
|
56662
56628
|
}
|
|
56663
56629
|
|
|
56664
|
-
if (isLabel
|
|
56630
|
+
if (isLabel(element)) {
|
|
56665
56631
|
createShapeHints = omit(createShapeHints, [ 'attach' ]);
|
|
56666
56632
|
}
|
|
56667
56633
|
|
|
@@ -57005,7 +56971,7 @@
|
|
|
57005
56971
|
|
|
57006
56972
|
// remove child shapes and connections
|
|
57007
56973
|
saveClear(shape.children, function(child) {
|
|
57008
|
-
if (isConnection
|
|
56974
|
+
if (isConnection(child)) {
|
|
57009
56975
|
modeling.removeConnection(child, { nested: true });
|
|
57010
56976
|
} else {
|
|
57011
56977
|
modeling.removeShape(child, { nested: true });
|
|
@@ -60249,10 +60215,6 @@
|
|
|
60249
60215
|
return /^#[0-9a-fA-F]{6}$/.test(context.fillStyle) ? context.fillStyle : null;
|
|
60250
60216
|
}
|
|
60251
60217
|
|
|
60252
|
-
function isConnection(element) {
|
|
60253
|
-
return !!element.waypoints;
|
|
60254
|
-
}
|
|
60255
|
-
|
|
60256
60218
|
/**
|
|
60257
60219
|
* Add legacy properties if required.
|
|
60258
60220
|
*
|
|
@@ -62468,7 +62430,7 @@
|
|
|
62468
62430
|
|
|
62469
62431
|
var filteredElements = filter(elements, function(element) {
|
|
62470
62432
|
|
|
62471
|
-
if (!isConnection
|
|
62433
|
+
if (!isConnection(element)) {
|
|
62472
62434
|
return true;
|
|
62473
62435
|
} else {
|
|
62474
62436
|
|
|
@@ -64542,7 +64504,7 @@
|
|
|
64542
64504
|
});
|
|
64543
64505
|
|
|
64544
64506
|
// snap labels to mid only
|
|
64545
|
-
if (isLabel
|
|
64507
|
+
if (isLabel(shape)) {
|
|
64546
64508
|
return snapContext;
|
|
64547
64509
|
}
|
|
64548
64510
|
|
|
@@ -64565,9 +64527,9 @@
|
|
|
64565
64527
|
forEach$1(snapTargets, function(snapTarget) {
|
|
64566
64528
|
|
|
64567
64529
|
// handle labels
|
|
64568
|
-
if (isLabel
|
|
64530
|
+
if (isLabel(snapTarget)) {
|
|
64569
64531
|
|
|
64570
|
-
if (isLabel
|
|
64532
|
+
if (isLabel(shape)) {
|
|
64571
64533
|
snapPoints.add('mid', mid$2(snapTarget));
|
|
64572
64534
|
}
|
|
64573
64535
|
|
|
@@ -64575,7 +64537,7 @@
|
|
|
64575
64537
|
}
|
|
64576
64538
|
|
|
64577
64539
|
// handle connections
|
|
64578
|
-
if (isConnection
|
|
64540
|
+
if (isConnection(snapTarget)) {
|
|
64579
64541
|
|
|
64580
64542
|
// ignore single segment connections
|
|
64581
64543
|
if (snapTarget.waypoints.length < 3) {
|
|
@@ -64990,9 +64952,9 @@
|
|
|
64990
64952
|
ResizeSnapping.prototype.getSnapTargets = function(shape, target) {
|
|
64991
64953
|
return getChildren(target).filter(function(child) {
|
|
64992
64954
|
return !isAttached(child, shape)
|
|
64993
|
-
&& !isConnection
|
|
64955
|
+
&& !isConnection(child)
|
|
64994
64956
|
&& !isHidden(child)
|
|
64995
|
-
&& !isLabel
|
|
64957
|
+
&& !isLabel(child);
|
|
64996
64958
|
});
|
|
64997
64959
|
};
|
|
64998
64960
|
|