bpmn-js 17.0.0 → 17.0.2

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.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * bpmn-js - bpmn-modeler v17.0.0
2
+ * bpmn-js - bpmn-modeler v17.0.2
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: 2024-02-06
11
+ * Date: 2024-02-16
12
12
  */
13
13
  (function (global, factory) {
14
14
  typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
@@ -47748,11 +47748,9 @@
47748
47748
  }
47749
47749
 
47750
47750
  if (is$1(businessObject, 'bpmn:ExclusiveGateway')) {
47751
- if (has$1(attrs, 'isMarkerVisible')) {
47752
- if (attrs.isMarkerVisible === undefined) {
47751
+ if (has$1(di, 'isMarkerVisible')) {
47752
+ if (di.isMarkerVisible === undefined) {
47753
47753
  di.isMarkerVisible = false;
47754
- } else {
47755
- attrs = applyAttribute(di, attrs, 'isMarkerVisible');
47756
47754
  }
47757
47755
  } else {
47758
47756
  di.isMarkerVisible = true;
@@ -58505,10 +58503,15 @@
58505
58503
  });
58506
58504
 
58507
58505
  // add label hit
58508
- this._interactionEvents.createBoxHit(gfx, 'all', {
58506
+ var box = isHorizontal$3(element) ? {
58509
58507
  width: LABEL_WIDTH,
58510
58508
  height: element.height
58511
- });
58509
+ } : {
58510
+ width: element.width,
58511
+ height: LABEL_HEIGHT
58512
+ };
58513
+
58514
+ this._interactionEvents.createBoxHit(gfx, 'all', box);
58512
58515
 
58513
58516
  // indicate that we created a hit
58514
58517
  return true;
@@ -62566,8 +62569,7 @@
62566
62569
  ),
62567
62570
  'create.exclusive-gateway': createAction(
62568
62571
  'bpmn:ExclusiveGateway', 'gateway', 'bpmn-icon-gateway-none',
62569
- translate('Create gateway'),
62570
- { isMarkerVisible: true }
62572
+ translate('Create gateway')
62571
62573
  ),
62572
62574
  'create.task': createAction(
62573
62575
  'bpmn:Task', 'activity', 'bpmn-icon-task',