camunda-bpmn-js 4.14.0 → 4.15.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.
@@ -104941,13 +104941,13 @@
104941
104941
  }
104942
104942
 
104943
104943
  function isErrorSupported(element) {
104944
- return isAny(element, ['bpmn:StartEvent', 'bpmn:BoundaryEvent', 'bpmn:EndEvent']) && !!getErrorEventDefinition(element);
104944
+ return isAny(element, ['bpmn:StartEvent', 'bpmn:BoundaryEvent', 'bpmn:EndEvent']) && !!getErrorEventDefinition$1(element);
104945
104945
  }
104946
- function getErrorEventDefinition(element) {
104946
+ function getErrorEventDefinition$1(element) {
104947
104947
  return getEventDefinition$1(element, 'bpmn:ErrorEventDefinition');
104948
104948
  }
104949
104949
  function getError(element) {
104950
- const errorEventDefinition = getErrorEventDefinition(element);
104950
+ const errorEventDefinition = getErrorEventDefinition$1(element);
104951
104951
  return errorEventDefinition && errorEventDefinition.get('errorRef');
104952
104952
  }
104953
104953
  function getEventDefinition$1(element, eventType) {
@@ -104997,13 +104997,13 @@
104997
104997
  return escalationEventDefinition && escalationEventDefinition.get('escalationRef');
104998
104998
  }
104999
104999
  function isCompensationSupported(element) {
105000
- return isAny(element, ['bpmn:EndEvent', 'bpmn:IntermediateThrowEvent']) && !!getCompensateEventDefinition(element);
105000
+ return isAny(element, ['bpmn:EndEvent', 'bpmn:IntermediateThrowEvent']) && !!getCompensateEventDefinition$1(element);
105001
105001
  }
105002
- function getCompensateEventDefinition(element) {
105002
+ function getCompensateEventDefinition$1(element) {
105003
105003
  return getEventDefinition$1(element, 'bpmn:CompensateEventDefinition');
105004
105004
  }
105005
105005
  function getCompensateActivity(element) {
105006
- const compensateEventDefinition = getCompensateEventDefinition(element);
105006
+ const compensateEventDefinition = getCompensateEventDefinition$1(element);
105007
105007
  return compensateEventDefinition && compensateEventDefinition.get('activityRef');
105008
105008
  }
105009
105009
 
@@ -105037,7 +105037,7 @@
105037
105037
  } = props;
105038
105038
  const commandStack = useService('commandStack');
105039
105039
  const translate = useService('translate');
105040
- const compensateEventDefinition = getCompensateEventDefinition(element);
105040
+ const compensateEventDefinition = getCompensateEventDefinition$1(element);
105041
105041
  const getValue = () => {
105042
105042
  return compensateEventDefinition.get('waitForCompletion');
105043
105043
  };
@@ -105065,7 +105065,7 @@
105065
105065
  const commandStack = useService('commandStack');
105066
105066
  const elementRegistry = useService('elementRegistry');
105067
105067
  const translate = useService('translate');
105068
- const compensateEventDefinition = getCompensateEventDefinition(element);
105068
+ const compensateEventDefinition = getCompensateEventDefinition$1(element);
105069
105069
  const getValue = () => {
105070
105070
  const activityRef = getCompensateActivity(element);
105071
105071
  return activityRef && activityRef.get('id');
@@ -105137,7 +105137,7 @@
105137
105137
  const {
105138
105138
  attachedToRef
105139
105139
  } = boundaryEvent;
105140
- const compensateEventDefinition = getCompensateEventDefinition(boundaryEvent);
105140
+ const compensateEventDefinition = getCompensateEventDefinition$1(boundaryEvent);
105141
105141
  return attachedToRef && compensateEventDefinition && attachedToRef.id === activityId;
105142
105142
  });
105143
105143
  }
@@ -105432,7 +105432,7 @@
105432
105432
  const bpmnFactory = useService('bpmnFactory');
105433
105433
  const commandStack = useService('commandStack');
105434
105434
  const translate = useService('translate');
105435
- const errorEventDefinition = getErrorEventDefinition(element);
105435
+ const errorEventDefinition = getErrorEventDefinition$1(element);
105436
105436
  const getValue = () => {
105437
105437
  const error = getError(element);
105438
105438
  if (error) {
@@ -106692,7 +106692,6 @@
106692
106692
  function sortByName$2(elements) {
106693
106693
  return sortBy$1(elements, e => (e.name || '').toLowerCase());
106694
106694
  }
106695
-
106696
106695
  function isTimerSupported(element) {
106697
106696
  return isAny(element, ['bpmn:StartEvent', 'bpmn:IntermediateCatchEvent', 'bpmn:BoundaryEvent']) && !!getTimerEventDefinition(element);
106698
106697
  }