camunda-bpmn-js 0.13.0-alpha.8 → 0.13.1
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/CHANGELOG.md +13 -0
- package/dist/assets/base-navigated-viewer.css +2 -0
- package/dist/assets/base-viewer.css +2 -0
- package/dist/assets/camunda-cloud-navigated-viewer.css +1 -0
- package/dist/assets/camunda-cloud-viewer.css +1 -0
- package/dist/assets/camunda-platform-navigated-viewer.css +1 -0
- package/dist/assets/camunda-platform-viewer.css +1 -0
- package/dist/assets/properties-panel.css +900 -901
- package/dist/base-navigated-viewer.development.js +22218 -0
- package/dist/base-navigated-viewer.production.min.js +2 -0
- package/dist/base-viewer.development.js +21227 -0
- package/dist/base-viewer.production.min.js +2 -0
- package/dist/camunda-cloud-modeler.development.js +1249 -944
- package/dist/camunda-cloud-modeler.production.min.js +4 -4
- package/dist/camunda-cloud-navigated-viewer.development.js +23041 -0
- package/dist/camunda-cloud-navigated-viewer.production.min.js +2 -0
- package/dist/camunda-cloud-viewer.development.js +22050 -0
- package/dist/camunda-cloud-viewer.production.min.js +2 -0
- package/dist/camunda-platform-modeler.development.js +1464 -1381
- package/dist/camunda-platform-modeler.production.min.js +4 -4
- package/dist/camunda-platform-navigated-viewer.development.js +23413 -0
- package/dist/camunda-platform-navigated-viewer.production.min.js +2 -0
- package/dist/camunda-platform-viewer.development.js +22422 -0
- package/dist/camunda-platform-viewer.production.min.js +2 -0
- package/lib/base/NavigatedViewer.js +3 -0
- package/lib/base/Viewer.js +3 -0
- package/lib/camunda-cloud/Modeler.js +7 -11
- package/lib/camunda-cloud/NavigatedViewer.js +34 -0
- package/lib/camunda-cloud/Viewer.js +34 -0
- package/lib/camunda-cloud/util/commonModules.js +14 -0
- package/lib/camunda-platform/Modeler.js +5 -5
- package/lib/camunda-platform/NavigatedViewer.js +25 -0
- package/lib/camunda-platform/Viewer.js +24 -0
- package/lib/camunda-platform/util/commonModules.js +7 -0
- package/package.json +9 -4
- package/styles/base-navigated-viewer.css +2 -0
- package/styles/base-viewer.css +2 -0
- package/styles/camunda-cloud-navigated-viewer.css +1 -0
- package/styles/camunda-cloud-viewer.css +1 -0
- package/styles/camunda-platform-navigated-viewer.css +1 -0
- package/styles/camunda-platform-viewer.css +1 -0
- package/util/index.js +39 -0
- package/lib/camunda-cloud/features/modeling/behavior/CleanUpBusinessRuleTaskBehavior.js +0 -115
- package/lib/camunda-cloud/features/modeling/behavior/CreateZeebeBoundaryEventBehavior.js +0 -76
- package/lib/camunda-cloud/features/modeling/behavior/CreateZeebeCallActivityBehavior.js +0 -86
- package/lib/camunda-cloud/features/modeling/behavior/FormDefinitionBehavior.js +0 -138
- package/lib/camunda-cloud/features/modeling/behavior/RemoveAssignmentDefinitionBehavior.js +0 -51
- package/lib/camunda-cloud/features/modeling/behavior/UpdatePropagateAllChildVariablesBehavior.js +0 -136
- package/lib/camunda-cloud/features/modeling/behavior/index.js +0 -24
- package/lib/camunda-cloud/features/modeling/index.js +0 -7
- package/lib/camunda-cloud/helper/CalledElementHelper.js +0 -72
- package/lib/camunda-cloud/helper/ElementHelper.js +0 -18
- package/lib/camunda-cloud/helper/FormsHelper.js +0 -84
- package/lib/camunda-cloud/helper/InputOutputHelper.js +0 -138
- package/lib/camunda-cloud/helper/Utils.js +0 -10
- package/lib/camunda-cloud/helper/ZeebeServiceTaskHelper.js +0 -41
- package/lib/camunda-platform/features/modeling/behavior/DeleteErrorEventDefinitionBehavior.js +0 -54
- package/lib/camunda-platform/features/modeling/behavior/DeleteRetryTimeCycleBehavior.js +0 -96
- package/lib/camunda-platform/features/modeling/behavior/UpdateCamundaExclusiveBehavior.js +0 -68
- package/lib/camunda-platform/features/modeling/behavior/UpdateInputOutputBehavior.js +0 -44
- package/lib/camunda-platform/features/modeling/behavior/UpdateResultVariableBehavior.js +0 -54
- package/lib/camunda-platform/features/modeling/behavior/UserTaskFormsBehavior.js +0 -71
- package/lib/camunda-platform/features/modeling/behavior/UserTaskGeneratedFormsBehavior.js +0 -116
- package/lib/camunda-platform/features/modeling/behavior/index.js +0 -26
- package/lib/camunda-platform/features/modeling/index.js +0 -7
- package/lib/camunda-platform/helper/InputOutputHelper.js +0 -29
|
@@ -78177,7 +78177,7 @@
|
|
|
78177
78177
|
}
|
|
78178
78178
|
|
|
78179
78179
|
const LOW_PRIORITY$r = 500;
|
|
78180
|
-
const CAMUNDA_PLATFORM_GROUPS = [ImplementationGroup, ProcessVariablesGroup, ErrorsGroup, UserAssignmentGroup, FormGroup, FormDataGroup, TaskListenerGroup, StartInitiatorGroup, ScriptGroup, ConditionGroup, CallActivityGroup, AsynchronousContinuationsGroup, JobExecutionGroup, InMappingPropagationGroup, InMappingGroup, InputGroup, ConnectorInputGroup, OutMappingPropagationGroup, OutMappingGroup, OutputGroup, ConnectorOutputGroup,
|
|
78180
|
+
const CAMUNDA_PLATFORM_GROUPS = [HistoryCleanupGroup, TasklistGroup, CandidateStarterGroup, ImplementationGroup, ExternalTaskGroup, ProcessVariablesGroup, ErrorsGroup, UserAssignmentGroup, FormGroup, FormDataGroup, TaskListenerGroup, StartInitiatorGroup, ScriptGroup, ConditionGroup, CallActivityGroup, AsynchronousContinuationsGroup, JobExecutionGroup, InMappingPropagationGroup, InMappingGroup, InputGroup, ConnectorInputGroup, OutMappingPropagationGroup, OutMappingGroup, OutputGroup, ConnectorOutputGroup, ExecutionListenerGroup, ExtensionPropertiesGroup, FieldInjectionGroup, BusinessKeyGroup];
|
|
78181
78181
|
/**
|
|
78182
78182
|
* Provides `camunda` namespace properties.
|
|
78183
78183
|
*
|
|
@@ -79085,25 +79085,32 @@
|
|
|
79085
79085
|
|
|
79086
79086
|
|
|
79087
79087
|
getDefault(element) {
|
|
79088
|
-
return find(this.getAll(), function (template) {
|
|
79089
|
-
return
|
|
79088
|
+
return find(this.getAll(element), function (template) {
|
|
79089
|
+
return template.isDefault;
|
|
79090
79090
|
}) || null;
|
|
79091
79091
|
}
|
|
79092
79092
|
/**
|
|
79093
|
-
* Get all templates (with given ID).
|
|
79094
|
-
*
|
|
79095
|
-
* @param {string} [id]
|
|
79093
|
+
* Get all templates (with given ID or applicable to element).
|
|
79096
79094
|
*
|
|
79095
|
+
* @param {String|djs.model.Base} [id]
|
|
79097
79096
|
* @return {Array<ElementTemplate>}
|
|
79098
79097
|
*/
|
|
79099
79098
|
|
|
79100
79099
|
|
|
79101
79100
|
getAll(id) {
|
|
79102
|
-
|
|
79103
|
-
|
|
79104
|
-
|
|
79101
|
+
return this._getTemplateVerions(id, false);
|
|
79102
|
+
}
|
|
79103
|
+
/**
|
|
79104
|
+
* Get all templates (with given ID or applicable to element) with the latest
|
|
79105
|
+
* version.
|
|
79106
|
+
*
|
|
79107
|
+
* @param {String|djs.model.Base} [id]
|
|
79108
|
+
* @return {Array<ElementTemplate>}
|
|
79109
|
+
*/
|
|
79110
|
+
|
|
79105
79111
|
|
|
79106
|
-
|
|
79112
|
+
getLatest(id) {
|
|
79113
|
+
return this._getTemplateVerions(id, true);
|
|
79107
79114
|
}
|
|
79108
79115
|
/**
|
|
79109
79116
|
* Set templates.
|
|
@@ -79119,13 +79126,54 @@
|
|
|
79119
79126
|
version = isUndefined(template.version) ? '_' : template.version;
|
|
79120
79127
|
|
|
79121
79128
|
if (!this._templates[id]) {
|
|
79122
|
-
this._templates[id] = {
|
|
79129
|
+
this._templates[id] = {
|
|
79130
|
+
latest: template
|
|
79131
|
+
};
|
|
79123
79132
|
}
|
|
79124
79133
|
|
|
79125
79134
|
this._templates[id][version] = template;
|
|
79135
|
+
const latestVerions = this._templates[id].latest.version;
|
|
79136
|
+
|
|
79137
|
+
if (isUndefined(latestVerions) || template.version > latestVerions) {
|
|
79138
|
+
this._templates[id].latest = template;
|
|
79139
|
+
}
|
|
79126
79140
|
});
|
|
79127
79141
|
}
|
|
79128
79142
|
|
|
79143
|
+
_getTemplateVerions(id, latestOnly) {
|
|
79144
|
+
if (typeof id === 'boolean') {
|
|
79145
|
+
latestOnly = id;
|
|
79146
|
+
id = undefined;
|
|
79147
|
+
}
|
|
79148
|
+
|
|
79149
|
+
const templates = this._templates;
|
|
79150
|
+
|
|
79151
|
+
const getVersions = template => {
|
|
79152
|
+
const {
|
|
79153
|
+
latest,
|
|
79154
|
+
...versions
|
|
79155
|
+
} = template;
|
|
79156
|
+
return latestOnly ? [latest] : values(versions);
|
|
79157
|
+
};
|
|
79158
|
+
|
|
79159
|
+
if (isUndefined(id)) {
|
|
79160
|
+
return flatten(values(templates).map(getVersions));
|
|
79161
|
+
}
|
|
79162
|
+
|
|
79163
|
+
if (isObject(id)) {
|
|
79164
|
+
const element = id;
|
|
79165
|
+
return filter(this._getTemplateVerions(latestOnly), function (template) {
|
|
79166
|
+
return isAny(element, template.appliesTo);
|
|
79167
|
+
}) || [];
|
|
79168
|
+
}
|
|
79169
|
+
|
|
79170
|
+
if (isString(id)) {
|
|
79171
|
+
return templates[id] && getVersions(templates[id]);
|
|
79172
|
+
}
|
|
79173
|
+
|
|
79174
|
+
throw new Error('argument must be of type {String|djs.model.Base|Undefined}');
|
|
79175
|
+
}
|
|
79176
|
+
|
|
79129
79177
|
_getTemplateId(element) {
|
|
79130
79178
|
return getTemplateId(element);
|
|
79131
79179
|
}
|
|
@@ -79512,8 +79560,10 @@
|
|
|
79512
79560
|
const businessObject = getBusinessObject(element);
|
|
79513
79561
|
const type = businessObject.$type,
|
|
79514
79562
|
eventDefinitionType = getEventDefinitionType(businessObject);
|
|
79563
|
+
const newBusinessObject = createBlankBusinessObject(element, injector);
|
|
79515
79564
|
const newElement = replace.replaceElement(element, {
|
|
79516
79565
|
type: type,
|
|
79566
|
+
businessObject: newBusinessObject,
|
|
79517
79567
|
eventDefinitionType: eventDefinitionType
|
|
79518
79568
|
});
|
|
79519
79569
|
selection.select(newElement);
|
|
@@ -79571,6 +79621,29 @@
|
|
|
79571
79621
|
return string;
|
|
79572
79622
|
}
|
|
79573
79623
|
|
|
79624
|
+
function createBlankBusinessObject(element, injector) {
|
|
79625
|
+
const bpmnFactory = injector.get('bpmnFactory'),
|
|
79626
|
+
bpmnJs = injector.get('bpmnjs');
|
|
79627
|
+
const bo = getBusinessObject(element),
|
|
79628
|
+
newBo = bpmnFactory.create(bo.$type),
|
|
79629
|
+
label = getLabel(element);
|
|
79630
|
+
|
|
79631
|
+
if (!label) {
|
|
79632
|
+
return newBo;
|
|
79633
|
+
}
|
|
79634
|
+
|
|
79635
|
+
if (is$1(element, 'bpmn:Group')) {
|
|
79636
|
+
const definitions = bpmnJs.getDefinitions();
|
|
79637
|
+
const categoryValue = createCategoryValue(definitions, bpmnFactory);
|
|
79638
|
+
newBo.categoryValueRef = categoryValue;
|
|
79639
|
+
}
|
|
79640
|
+
|
|
79641
|
+
setLabel({
|
|
79642
|
+
businessObject: newBo
|
|
79643
|
+
}, label);
|
|
79644
|
+
return newBo;
|
|
79645
|
+
}
|
|
79646
|
+
|
|
79574
79647
|
function createElementTemplatesGroup(props = {}) {
|
|
79575
79648
|
const {
|
|
79576
79649
|
getTemplateId: getTemplateId$1 = getTemplateId,
|
|
@@ -79867,9 +79940,9 @@
|
|
|
79867
79940
|
};
|
|
79868
79941
|
}
|
|
79869
79942
|
|
|
79870
|
-
const newerTemplate =
|
|
79943
|
+
const newerTemplate = elementTemplates.getLatest(templateId)[0];
|
|
79871
79944
|
|
|
79872
|
-
if (newerTemplate) {
|
|
79945
|
+
if (newerTemplate !== template) {
|
|
79873
79946
|
return {
|
|
79874
79947
|
type: 'OUTDATED_TEMPLATE',
|
|
79875
79948
|
template,
|
|
@@ -79883,26 +79956,6 @@
|
|
|
79883
79956
|
};
|
|
79884
79957
|
}
|
|
79885
79958
|
|
|
79886
|
-
function findNewestElementTemplate(elementTemplates, currentElementTemplate) {
|
|
79887
|
-
if (isUndefined(currentElementTemplate.version)) {
|
|
79888
|
-
return null;
|
|
79889
|
-
}
|
|
79890
|
-
|
|
79891
|
-
return elementTemplates.getAll().filter(function (elementTemplate) {
|
|
79892
|
-
return currentElementTemplate.id === elementTemplate.id && !isUndefined(elementTemplate.version);
|
|
79893
|
-
}).reduce(function (newestElementTemplate, elementTemplate) {
|
|
79894
|
-
if (currentElementTemplate.version < elementTemplate.version) {
|
|
79895
|
-
return elementTemplate;
|
|
79896
|
-
}
|
|
79897
|
-
|
|
79898
|
-
if (newestElementTemplate && newestElementTemplate.version < elementTemplate.version) {
|
|
79899
|
-
return elementTemplate;
|
|
79900
|
-
}
|
|
79901
|
-
|
|
79902
|
-
return newestElementTemplate;
|
|
79903
|
-
}, null);
|
|
79904
|
-
}
|
|
79905
|
-
|
|
79906
79959
|
function TemplateProps({
|
|
79907
79960
|
element,
|
|
79908
79961
|
elementTemplates
|
|
@@ -83273,9 +83326,7 @@
|
|
|
83273
83326
|
}
|
|
83274
83327
|
|
|
83275
83328
|
_shouldShowTemplateProperties(element) {
|
|
83276
|
-
return getTemplateId(element) || this._elementTemplates.getAll().
|
|
83277
|
-
return isAny(element, template.appliesTo);
|
|
83278
|
-
});
|
|
83329
|
+
return getTemplateId(element) || this._elementTemplates.getAll(element).length;
|
|
83279
83330
|
}
|
|
83280
83331
|
|
|
83281
83332
|
}
|
|
@@ -83450,6 +83501,35 @@
|
|
|
83450
83501
|
Modeler$1.prototype._extensionModules
|
|
83451
83502
|
);
|
|
83452
83503
|
|
|
83504
|
+
/**
|
|
83505
|
+
* Flatten array, one level deep.
|
|
83506
|
+
*
|
|
83507
|
+
* @param {Array<?>} arr
|
|
83508
|
+
*
|
|
83509
|
+
* @return {Array<?>}
|
|
83510
|
+
*/
|
|
83511
|
+
|
|
83512
|
+
var nativeToString$1 = Object.prototype.toString;
|
|
83513
|
+
var nativeHasOwnProperty$1 = Object.prototype.hasOwnProperty;
|
|
83514
|
+
function isUndefined$3(obj) {
|
|
83515
|
+
return obj === undefined;
|
|
83516
|
+
}
|
|
83517
|
+
function isArray$3(obj) {
|
|
83518
|
+
return nativeToString$1.call(obj) === '[object Array]';
|
|
83519
|
+
}
|
|
83520
|
+
/**
|
|
83521
|
+
* Return true, if target owns a property with the given key.
|
|
83522
|
+
*
|
|
83523
|
+
* @param {Object} target
|
|
83524
|
+
* @param {String} key
|
|
83525
|
+
*
|
|
83526
|
+
* @return {Boolean}
|
|
83527
|
+
*/
|
|
83528
|
+
|
|
83529
|
+
function has$1(target, key) {
|
|
83530
|
+
return nativeHasOwnProperty$1.call(target, key);
|
|
83531
|
+
}
|
|
83532
|
+
|
|
83453
83533
|
/**
|
|
83454
83534
|
* Get extension elements of business object. Optionally filter by type.
|
|
83455
83535
|
*
|
|
@@ -83487,7 +83567,7 @@
|
|
|
83487
83567
|
* @param {CommandStack} commandStack
|
|
83488
83568
|
*/
|
|
83489
83569
|
function removeExtensionElements$1(element, businessObject, extensionElementsToRemove, commandStack) {
|
|
83490
|
-
if (!isArray(extensionElementsToRemove)) {
|
|
83570
|
+
if (!isArray$3(extensionElementsToRemove)) {
|
|
83491
83571
|
extensionElementsToRemove = [ extensionElementsToRemove ];
|
|
83492
83572
|
}
|
|
83493
83573
|
|
|
@@ -83766,7 +83846,7 @@
|
|
|
83766
83846
|
if (
|
|
83767
83847
|
is$1(element, 'camunda:DmnCapable')
|
|
83768
83848
|
&& is$1(businessObject, 'camunda:DmnCapable')
|
|
83769
|
-
&& has(properties, 'camunda:resultVariable')
|
|
83849
|
+
&& has$1(properties, 'camunda:resultVariable')
|
|
83770
83850
|
&& isEmpty(properties[ 'camunda:resultVariable' ])
|
|
83771
83851
|
) {
|
|
83772
83852
|
properties[ 'camunda:mapDecisionResult' ] = undefined;
|
|
@@ -83811,32 +83891,32 @@
|
|
|
83811
83891
|
|
|
83812
83892
|
const businessObject = moddleElement || getBusinessObject(element);
|
|
83813
83893
|
|
|
83814
|
-
if (has(properties, 'camunda:formKey')) {
|
|
83894
|
+
if (has$1(properties, 'camunda:formKey')) {
|
|
83815
83895
|
Object.assign(properties, {
|
|
83816
83896
|
'camunda:formRef': undefined,
|
|
83817
83897
|
'camunda:formRefBinding': undefined,
|
|
83818
83898
|
'camunda:formRefVersion': undefined
|
|
83819
83899
|
});
|
|
83820
|
-
} else if (has(properties, 'camunda:formRef')) {
|
|
83900
|
+
} else if (has$1(properties, 'camunda:formRef')) {
|
|
83821
83901
|
Object.assign(properties, {
|
|
83822
83902
|
'camunda:formKey': undefined
|
|
83823
83903
|
});
|
|
83824
83904
|
|
|
83825
|
-
if (isUndefined(properties[ 'camunda:formRef' ])) {
|
|
83905
|
+
if (isUndefined$3(properties[ 'camunda:formRef' ])) {
|
|
83826
83906
|
Object.assign(properties, {
|
|
83827
83907
|
'camunda:formRefBinding': undefined,
|
|
83828
83908
|
'camunda:formRefVersion': undefined
|
|
83829
83909
|
});
|
|
83830
83910
|
}
|
|
83831
83911
|
|
|
83832
|
-
if (!has(properties, 'camunda:formRefBinding') && isUndefined(businessObject.get('camunda:formRefBinding'))) {
|
|
83912
|
+
if (!has$1(properties, 'camunda:formRefBinding') && isUndefined$3(businessObject.get('camunda:formRefBinding'))) {
|
|
83833
83913
|
Object.assign(properties, {
|
|
83834
83914
|
'camunda:formRefBinding': 'latest'
|
|
83835
83915
|
});
|
|
83836
83916
|
}
|
|
83837
83917
|
}
|
|
83838
83918
|
|
|
83839
|
-
if (has(properties, 'camunda:formRefBinding') && properties[ 'camunda:formRefBinding' ] !== 'version') {
|
|
83919
|
+
if (has$1(properties, 'camunda:formRefBinding') && properties[ 'camunda:formRefBinding' ] !== 'version') {
|
|
83840
83920
|
Object.assign(properties, {
|
|
83841
83921
|
'camunda:formRefVersion': undefined
|
|
83842
83922
|
});
|
|
@@ -83873,7 +83953,10 @@
|
|
|
83873
83953
|
return;
|
|
83874
83954
|
}
|
|
83875
83955
|
|
|
83876
|
-
if (
|
|
83956
|
+
if (
|
|
83957
|
+
('type' in properties && properties[ 'type' ] !== 'enum')
|
|
83958
|
+
|| 'camunda:type' in properties && properties[ 'camunda:type' ] !== 'enum'
|
|
83959
|
+
) {
|
|
83877
83960
|
properties[ 'camunda:values' ] = undefined;
|
|
83878
83961
|
}
|
|
83879
83962
|
}, true);
|
|
@@ -83888,7 +83971,9 @@
|
|
|
83888
83971
|
properties
|
|
83889
83972
|
} = context;
|
|
83890
83973
|
|
|
83891
|
-
if (!is$1(moddleElement, 'camunda:FormField')
|
|
83974
|
+
if (!is$1(moddleElement, 'camunda:FormField')
|
|
83975
|
+
|| (!has$1(properties, 'id') && !has$1(properties, 'camunda:id'))
|
|
83976
|
+
) {
|
|
83892
83977
|
return;
|
|
83893
83978
|
}
|
|
83894
83979
|
|
|
@@ -83896,7 +83981,7 @@
|
|
|
83896
83981
|
|
|
83897
83982
|
if (isBusinessKey(moddleElement, formData)) {
|
|
83898
83983
|
modeling.updateModdleProperties(element, formData, {
|
|
83899
|
-
'camunda:businessKey': properties[ 'camunda:id' ]
|
|
83984
|
+
'camunda:businessKey': has$1(properties, 'id') ? properties.id : properties[ 'camunda:id' ]
|
|
83900
83985
|
});
|
|
83901
83986
|
}
|
|
83902
83987
|
}, true);
|
|
@@ -83911,7 +83996,7 @@
|
|
|
83911
83996
|
properties
|
|
83912
83997
|
} = context;
|
|
83913
83998
|
|
|
83914
|
-
if (!is$1(moddleElement, 'camunda:FormData') || !has(properties, 'fields')) {
|
|
83999
|
+
if (!is$1(moddleElement, 'camunda:FormData') || !has$1(properties, 'fields')) {
|
|
83915
84000
|
return;
|
|
83916
84001
|
}
|
|
83917
84002
|
|
|
@@ -83958,7 +84043,7 @@
|
|
|
83958
84043
|
});
|
|
83959
84044
|
}
|
|
83960
84045
|
|
|
83961
|
-
var
|
|
84046
|
+
var behaviorsModule = {
|
|
83962
84047
|
__init__: [
|
|
83963
84048
|
'deleteErrorEventDefinitionBehavior',
|
|
83964
84049
|
'deleteRetryTimeCycleBehavior',
|
|
@@ -83977,1256 +84062,78 @@
|
|
|
83977
84062
|
userTaskGeneratedFormsBehavior: [ 'type', UserTaskFormsBehavior$1 ]
|
|
83978
84063
|
};
|
|
83979
84064
|
|
|
83980
|
-
var
|
|
83981
|
-
|
|
83982
|
-
|
|
83983
|
-
|
|
84065
|
+
var isFunction$1 = require$$0.isFunction,
|
|
84066
|
+
isObject$1 = require$$0.isObject,
|
|
84067
|
+
some$1 = require$$0.some;
|
|
84068
|
+
|
|
84069
|
+
var WILDCARD = '*';
|
|
84070
|
+
|
|
84071
|
+
|
|
84072
|
+
function CopyPasteBehavior(eventBus) {
|
|
84073
|
+
|
|
84074
|
+
var self = this;
|
|
84075
|
+
|
|
84076
|
+
eventBus.on('moddleCopy.canCopyProperty', function(context) {
|
|
84077
|
+
var property = context.property,
|
|
84078
|
+
parent = context.parent;
|
|
84079
|
+
|
|
84080
|
+
return self.canCopyProperty(property, parent);
|
|
84081
|
+
});
|
|
84082
|
+
}
|
|
84083
|
+
|
|
84084
|
+
CopyPasteBehavior.$inject = [ 'eventBus' ];
|
|
84085
|
+
|
|
84086
|
+
/**
|
|
84087
|
+
* Check wether to disallow copying property.
|
|
84088
|
+
*/
|
|
84089
|
+
CopyPasteBehavior.prototype.canCopyProperty = function(property, parent) {
|
|
84090
|
+
|
|
84091
|
+
// (1) check wether property is allowed in parent
|
|
84092
|
+
if (isObject$1(property) && !isAllowedInParent(property, parent)) {
|
|
84093
|
+
|
|
84094
|
+
return false;
|
|
84095
|
+
}
|
|
84096
|
+
|
|
84097
|
+
// (2) check more complex scenarios
|
|
84098
|
+
|
|
84099
|
+
if (is$4(property, 'camunda:InputOutput') && !this.canHostInputOutput(parent)) {
|
|
84100
|
+
return false;
|
|
84101
|
+
}
|
|
84102
|
+
|
|
84103
|
+
if (isAny$1(property, [ 'camunda:Connector', 'camunda:Field' ]) && !this.canHostConnector(parent)) {
|
|
84104
|
+
return false;
|
|
84105
|
+
}
|
|
84106
|
+
|
|
84107
|
+
if (is$4(property, 'camunda:In') && !this.canHostIn(parent)) {
|
|
84108
|
+
return false;
|
|
84109
|
+
}
|
|
83984
84110
|
};
|
|
83985
84111
|
|
|
83986
|
-
|
|
83987
|
-
|
|
83988
|
-
|
|
83989
|
-
|
|
83990
|
-
|
|
83991
|
-
|
|
83992
|
-
|
|
83993
|
-
|
|
83994
|
-
|
|
83995
|
-
|
|
83996
|
-
|
|
83997
|
-
|
|
83998
|
-
|
|
83999
|
-
|
|
84000
|
-
|
|
84001
|
-
|
|
84002
|
-
|
|
84003
|
-
|
|
84004
|
-
|
|
84005
|
-
|
|
84006
|
-
|
|
84007
|
-
|
|
84008
|
-
|
|
84009
|
-
|
|
84010
|
-
|
|
84011
|
-
superClass: [
|
|
84012
|
-
"Element"
|
|
84013
|
-
],
|
|
84014
|
-
isAbstract: true,
|
|
84015
|
-
properties: [
|
|
84016
|
-
{
|
|
84017
|
-
name: "source",
|
|
84018
|
-
isAttr: true,
|
|
84019
|
-
type: "String"
|
|
84020
|
-
},
|
|
84021
|
-
{
|
|
84022
|
-
name: "sourceExpression",
|
|
84023
|
-
isAttr: true,
|
|
84024
|
-
type: "String"
|
|
84025
|
-
},
|
|
84026
|
-
{
|
|
84027
|
-
name: "target",
|
|
84028
|
-
isAttr: true,
|
|
84029
|
-
type: "String"
|
|
84030
|
-
},
|
|
84031
|
-
{
|
|
84032
|
-
name: "businessKey",
|
|
84033
|
-
isAttr: true,
|
|
84034
|
-
type: "String"
|
|
84035
|
-
},
|
|
84036
|
-
{
|
|
84037
|
-
name: "local",
|
|
84038
|
-
isAttr: true,
|
|
84039
|
-
type: "Boolean",
|
|
84040
|
-
"default": false
|
|
84041
|
-
},
|
|
84042
|
-
{
|
|
84043
|
-
name: "variables",
|
|
84044
|
-
isAttr: true,
|
|
84045
|
-
type: "String"
|
|
84046
|
-
}
|
|
84047
|
-
]
|
|
84048
|
-
},
|
|
84049
|
-
{
|
|
84050
|
-
name: "In",
|
|
84051
|
-
superClass: [
|
|
84052
|
-
"InOutBinding"
|
|
84053
|
-
],
|
|
84054
|
-
meta: {
|
|
84055
|
-
allowedIn: [
|
|
84056
|
-
"bpmn:CallActivity",
|
|
84057
|
-
"bpmn:SignalEventDefinition"
|
|
84058
|
-
]
|
|
84059
|
-
}
|
|
84060
|
-
},
|
|
84061
|
-
{
|
|
84062
|
-
name: "Out",
|
|
84063
|
-
superClass: [
|
|
84064
|
-
"InOutBinding"
|
|
84065
|
-
],
|
|
84066
|
-
meta: {
|
|
84067
|
-
allowedIn: [
|
|
84068
|
-
"bpmn:CallActivity"
|
|
84069
|
-
]
|
|
84070
|
-
}
|
|
84071
|
-
},
|
|
84072
|
-
{
|
|
84073
|
-
name: "AsyncCapable",
|
|
84074
|
-
isAbstract: true,
|
|
84075
|
-
"extends": [
|
|
84076
|
-
"bpmn:Activity",
|
|
84077
|
-
"bpmn:Gateway",
|
|
84078
|
-
"bpmn:Event"
|
|
84079
|
-
],
|
|
84080
|
-
properties: [
|
|
84081
|
-
{
|
|
84082
|
-
name: "async",
|
|
84083
|
-
isAttr: true,
|
|
84084
|
-
type: "Boolean",
|
|
84085
|
-
"default": false
|
|
84086
|
-
},
|
|
84087
|
-
{
|
|
84088
|
-
name: "asyncBefore",
|
|
84089
|
-
isAttr: true,
|
|
84090
|
-
type: "Boolean",
|
|
84091
|
-
"default": false
|
|
84092
|
-
},
|
|
84093
|
-
{
|
|
84094
|
-
name: "asyncAfter",
|
|
84095
|
-
isAttr: true,
|
|
84096
|
-
type: "Boolean",
|
|
84097
|
-
"default": false
|
|
84098
|
-
},
|
|
84099
|
-
{
|
|
84100
|
-
name: "exclusive",
|
|
84101
|
-
isAttr: true,
|
|
84102
|
-
type: "Boolean",
|
|
84103
|
-
"default": true
|
|
84104
|
-
}
|
|
84105
|
-
]
|
|
84106
|
-
},
|
|
84107
|
-
{
|
|
84108
|
-
name: "JobPriorized",
|
|
84109
|
-
isAbstract: true,
|
|
84110
|
-
"extends": [
|
|
84111
|
-
"bpmn:Process",
|
|
84112
|
-
"camunda:AsyncCapable"
|
|
84113
|
-
],
|
|
84114
|
-
properties: [
|
|
84115
|
-
{
|
|
84116
|
-
name: "jobPriority",
|
|
84117
|
-
isAttr: true,
|
|
84118
|
-
type: "String"
|
|
84119
|
-
}
|
|
84120
|
-
]
|
|
84121
|
-
},
|
|
84122
|
-
{
|
|
84123
|
-
name: "SignalEventDefinitionExtension",
|
|
84124
|
-
isAbstract: true,
|
|
84125
|
-
"extends": [
|
|
84126
|
-
"bpmn:SignalEventDefinition"
|
|
84127
|
-
],
|
|
84128
|
-
properties: [
|
|
84129
|
-
{
|
|
84130
|
-
name: "async",
|
|
84131
|
-
isAttr: true,
|
|
84132
|
-
type: "Boolean",
|
|
84133
|
-
"default": false
|
|
84134
|
-
}
|
|
84135
|
-
]
|
|
84136
|
-
},
|
|
84137
|
-
{
|
|
84138
|
-
name: "ErrorEventDefinitionExtension",
|
|
84139
|
-
isAbstract: true,
|
|
84140
|
-
"extends": [
|
|
84141
|
-
"bpmn:ErrorEventDefinition"
|
|
84142
|
-
],
|
|
84143
|
-
properties: [
|
|
84144
|
-
{
|
|
84145
|
-
name: "errorCodeVariable",
|
|
84146
|
-
isAttr: true,
|
|
84147
|
-
type: "String"
|
|
84148
|
-
},
|
|
84149
|
-
{
|
|
84150
|
-
name: "errorMessageVariable",
|
|
84151
|
-
isAttr: true,
|
|
84152
|
-
type: "String"
|
|
84153
|
-
}
|
|
84154
|
-
]
|
|
84155
|
-
},
|
|
84156
|
-
{
|
|
84157
|
-
name: "ErrorEventDefinition",
|
|
84158
|
-
superClass: [
|
|
84159
|
-
"bpmn:ErrorEventDefinition",
|
|
84160
|
-
"Element"
|
|
84161
|
-
],
|
|
84162
|
-
properties: [
|
|
84163
|
-
{
|
|
84164
|
-
name: "expression",
|
|
84165
|
-
isAttr: true,
|
|
84166
|
-
type: "String"
|
|
84167
|
-
}
|
|
84168
|
-
],
|
|
84169
|
-
meta: {
|
|
84170
|
-
allowedIn: [
|
|
84171
|
-
"bpmn:ServiceTask"
|
|
84172
|
-
]
|
|
84173
|
-
}
|
|
84174
|
-
},
|
|
84175
|
-
{
|
|
84176
|
-
name: "Error",
|
|
84177
|
-
isAbstract: true,
|
|
84178
|
-
"extends": [
|
|
84179
|
-
"bpmn:Error"
|
|
84180
|
-
],
|
|
84181
|
-
properties: [
|
|
84182
|
-
{
|
|
84183
|
-
name: "camunda:errorMessage",
|
|
84184
|
-
isAttr: true,
|
|
84185
|
-
type: "String"
|
|
84186
|
-
}
|
|
84187
|
-
]
|
|
84188
|
-
},
|
|
84189
|
-
{
|
|
84190
|
-
name: "PotentialStarter",
|
|
84191
|
-
superClass: [
|
|
84192
|
-
"Element"
|
|
84193
|
-
],
|
|
84194
|
-
properties: [
|
|
84195
|
-
{
|
|
84196
|
-
name: "resourceAssignmentExpression",
|
|
84197
|
-
type: "bpmn:ResourceAssignmentExpression"
|
|
84198
|
-
}
|
|
84199
|
-
]
|
|
84200
|
-
},
|
|
84201
|
-
{
|
|
84202
|
-
name: "FormSupported",
|
|
84203
|
-
isAbstract: true,
|
|
84204
|
-
"extends": [
|
|
84205
|
-
"bpmn:StartEvent",
|
|
84206
|
-
"bpmn:UserTask"
|
|
84207
|
-
],
|
|
84208
|
-
properties: [
|
|
84209
|
-
{
|
|
84210
|
-
name: "formHandlerClass",
|
|
84211
|
-
isAttr: true,
|
|
84212
|
-
type: "String"
|
|
84213
|
-
},
|
|
84214
|
-
{
|
|
84215
|
-
name: "formKey",
|
|
84216
|
-
isAttr: true,
|
|
84217
|
-
type: "String"
|
|
84218
|
-
},
|
|
84219
|
-
{
|
|
84220
|
-
name: "formRef",
|
|
84221
|
-
isAttr: true,
|
|
84222
|
-
type: "String"
|
|
84223
|
-
},
|
|
84224
|
-
{
|
|
84225
|
-
name: "formRefBinding",
|
|
84226
|
-
isAttr: true,
|
|
84227
|
-
type: "String"
|
|
84228
|
-
},
|
|
84229
|
-
{
|
|
84230
|
-
name: "formRefVersion",
|
|
84231
|
-
isAttr: true,
|
|
84232
|
-
type: "String"
|
|
84233
|
-
}
|
|
84234
|
-
]
|
|
84235
|
-
},
|
|
84236
|
-
{
|
|
84237
|
-
name: "TemplateSupported",
|
|
84238
|
-
isAbstract: true,
|
|
84239
|
-
"extends": [
|
|
84240
|
-
"bpmn:Collaboration",
|
|
84241
|
-
"bpmn:Process",
|
|
84242
|
-
"bpmn:FlowElement"
|
|
84243
|
-
],
|
|
84244
|
-
properties: [
|
|
84245
|
-
{
|
|
84246
|
-
name: "modelerTemplate",
|
|
84247
|
-
isAttr: true,
|
|
84248
|
-
type: "String"
|
|
84249
|
-
},
|
|
84250
|
-
{
|
|
84251
|
-
name: "modelerTemplateVersion",
|
|
84252
|
-
isAttr: true,
|
|
84253
|
-
type: "Integer"
|
|
84254
|
-
}
|
|
84255
|
-
]
|
|
84256
|
-
},
|
|
84257
|
-
{
|
|
84258
|
-
name: "Initiator",
|
|
84259
|
-
isAbstract: true,
|
|
84260
|
-
"extends": [
|
|
84261
|
-
"bpmn:StartEvent"
|
|
84262
|
-
],
|
|
84263
|
-
properties: [
|
|
84264
|
-
{
|
|
84265
|
-
name: "initiator",
|
|
84266
|
-
isAttr: true,
|
|
84267
|
-
type: "String"
|
|
84268
|
-
}
|
|
84269
|
-
]
|
|
84270
|
-
},
|
|
84271
|
-
{
|
|
84272
|
-
name: "ScriptTask",
|
|
84273
|
-
isAbstract: true,
|
|
84274
|
-
"extends": [
|
|
84275
|
-
"bpmn:ScriptTask"
|
|
84276
|
-
],
|
|
84277
|
-
properties: [
|
|
84278
|
-
{
|
|
84279
|
-
name: "resultVariable",
|
|
84280
|
-
isAttr: true,
|
|
84281
|
-
type: "String"
|
|
84282
|
-
},
|
|
84283
|
-
{
|
|
84284
|
-
name: "resource",
|
|
84285
|
-
isAttr: true,
|
|
84286
|
-
type: "String"
|
|
84287
|
-
}
|
|
84288
|
-
]
|
|
84289
|
-
},
|
|
84290
|
-
{
|
|
84291
|
-
name: "Process",
|
|
84292
|
-
isAbstract: true,
|
|
84293
|
-
"extends": [
|
|
84294
|
-
"bpmn:Process"
|
|
84295
|
-
],
|
|
84296
|
-
properties: [
|
|
84297
|
-
{
|
|
84298
|
-
name: "candidateStarterGroups",
|
|
84299
|
-
isAttr: true,
|
|
84300
|
-
type: "String"
|
|
84301
|
-
},
|
|
84302
|
-
{
|
|
84303
|
-
name: "candidateStarterUsers",
|
|
84304
|
-
isAttr: true,
|
|
84305
|
-
type: "String"
|
|
84306
|
-
},
|
|
84307
|
-
{
|
|
84308
|
-
name: "versionTag",
|
|
84309
|
-
isAttr: true,
|
|
84310
|
-
type: "String"
|
|
84311
|
-
},
|
|
84312
|
-
{
|
|
84313
|
-
name: "historyTimeToLive",
|
|
84314
|
-
isAttr: true,
|
|
84315
|
-
type: "String"
|
|
84316
|
-
},
|
|
84317
|
-
{
|
|
84318
|
-
name: "isStartableInTasklist",
|
|
84319
|
-
isAttr: true,
|
|
84320
|
-
type: "Boolean",
|
|
84321
|
-
"default": true
|
|
84322
|
-
}
|
|
84323
|
-
]
|
|
84324
|
-
},
|
|
84325
|
-
{
|
|
84326
|
-
name: "EscalationEventDefinitionExtension",
|
|
84327
|
-
isAbstract: true,
|
|
84328
|
-
"extends": [
|
|
84329
|
-
"bpmn:EscalationEventDefinition"
|
|
84330
|
-
],
|
|
84331
|
-
properties: [
|
|
84332
|
-
{
|
|
84333
|
-
name: "escalationCodeVariable",
|
|
84334
|
-
isAttr: true,
|
|
84335
|
-
type: "String"
|
|
84336
|
-
}
|
|
84337
|
-
]
|
|
84338
|
-
},
|
|
84339
|
-
{
|
|
84340
|
-
name: "FormalExpression",
|
|
84341
|
-
isAbstract: true,
|
|
84342
|
-
"extends": [
|
|
84343
|
-
"bpmn:FormalExpression"
|
|
84344
|
-
],
|
|
84345
|
-
properties: [
|
|
84346
|
-
{
|
|
84347
|
-
name: "resource",
|
|
84348
|
-
isAttr: true,
|
|
84349
|
-
type: "String"
|
|
84350
|
-
}
|
|
84351
|
-
]
|
|
84352
|
-
},
|
|
84353
|
-
{
|
|
84354
|
-
name: "Assignable",
|
|
84355
|
-
"extends": [
|
|
84356
|
-
"bpmn:UserTask"
|
|
84357
|
-
],
|
|
84358
|
-
properties: [
|
|
84359
|
-
{
|
|
84360
|
-
name: "assignee",
|
|
84361
|
-
isAttr: true,
|
|
84362
|
-
type: "String"
|
|
84363
|
-
},
|
|
84364
|
-
{
|
|
84365
|
-
name: "candidateUsers",
|
|
84366
|
-
isAttr: true,
|
|
84367
|
-
type: "String"
|
|
84368
|
-
},
|
|
84369
|
-
{
|
|
84370
|
-
name: "candidateGroups",
|
|
84371
|
-
isAttr: true,
|
|
84372
|
-
type: "String"
|
|
84373
|
-
},
|
|
84374
|
-
{
|
|
84375
|
-
name: "dueDate",
|
|
84376
|
-
isAttr: true,
|
|
84377
|
-
type: "String"
|
|
84378
|
-
},
|
|
84379
|
-
{
|
|
84380
|
-
name: "followUpDate",
|
|
84381
|
-
isAttr: true,
|
|
84382
|
-
type: "String"
|
|
84383
|
-
},
|
|
84384
|
-
{
|
|
84385
|
-
name: "priority",
|
|
84386
|
-
isAttr: true,
|
|
84387
|
-
type: "String"
|
|
84388
|
-
}
|
|
84389
|
-
]
|
|
84390
|
-
},
|
|
84391
|
-
{
|
|
84392
|
-
name: "CallActivity",
|
|
84393
|
-
"extends": [
|
|
84394
|
-
"bpmn:CallActivity"
|
|
84395
|
-
],
|
|
84396
|
-
properties: [
|
|
84397
|
-
{
|
|
84398
|
-
name: "calledElementBinding",
|
|
84399
|
-
isAttr: true,
|
|
84400
|
-
type: "String",
|
|
84401
|
-
"default": "latest"
|
|
84402
|
-
},
|
|
84403
|
-
{
|
|
84404
|
-
name: "calledElementVersion",
|
|
84405
|
-
isAttr: true,
|
|
84406
|
-
type: "String"
|
|
84407
|
-
},
|
|
84408
|
-
{
|
|
84409
|
-
name: "calledElementVersionTag",
|
|
84410
|
-
isAttr: true,
|
|
84411
|
-
type: "String"
|
|
84412
|
-
},
|
|
84413
|
-
{
|
|
84414
|
-
name: "calledElementTenantId",
|
|
84415
|
-
isAttr: true,
|
|
84416
|
-
type: "String"
|
|
84417
|
-
},
|
|
84418
|
-
{
|
|
84419
|
-
name: "caseRef",
|
|
84420
|
-
isAttr: true,
|
|
84421
|
-
type: "String"
|
|
84422
|
-
},
|
|
84423
|
-
{
|
|
84424
|
-
name: "caseBinding",
|
|
84425
|
-
isAttr: true,
|
|
84426
|
-
type: "String",
|
|
84427
|
-
"default": "latest"
|
|
84428
|
-
},
|
|
84429
|
-
{
|
|
84430
|
-
name: "caseVersion",
|
|
84431
|
-
isAttr: true,
|
|
84432
|
-
type: "String"
|
|
84433
|
-
},
|
|
84434
|
-
{
|
|
84435
|
-
name: "caseTenantId",
|
|
84436
|
-
isAttr: true,
|
|
84437
|
-
type: "String"
|
|
84438
|
-
},
|
|
84439
|
-
{
|
|
84440
|
-
name: "variableMappingClass",
|
|
84441
|
-
isAttr: true,
|
|
84442
|
-
type: "String"
|
|
84443
|
-
},
|
|
84444
|
-
{
|
|
84445
|
-
name: "variableMappingDelegateExpression",
|
|
84446
|
-
isAttr: true,
|
|
84447
|
-
type: "String"
|
|
84448
|
-
}
|
|
84449
|
-
]
|
|
84450
|
-
},
|
|
84451
|
-
{
|
|
84452
|
-
name: "ServiceTaskLike",
|
|
84453
|
-
"extends": [
|
|
84454
|
-
"bpmn:ServiceTask",
|
|
84455
|
-
"bpmn:BusinessRuleTask",
|
|
84456
|
-
"bpmn:SendTask",
|
|
84457
|
-
"bpmn:MessageEventDefinition"
|
|
84458
|
-
],
|
|
84459
|
-
properties: [
|
|
84460
|
-
{
|
|
84461
|
-
name: "expression",
|
|
84462
|
-
isAttr: true,
|
|
84463
|
-
type: "String"
|
|
84464
|
-
},
|
|
84465
|
-
{
|
|
84466
|
-
name: "class",
|
|
84467
|
-
isAttr: true,
|
|
84468
|
-
type: "String"
|
|
84469
|
-
},
|
|
84470
|
-
{
|
|
84471
|
-
name: "delegateExpression",
|
|
84472
|
-
isAttr: true,
|
|
84473
|
-
type: "String"
|
|
84474
|
-
},
|
|
84475
|
-
{
|
|
84476
|
-
name: "resultVariable",
|
|
84477
|
-
isAttr: true,
|
|
84478
|
-
type: "String"
|
|
84479
|
-
}
|
|
84480
|
-
]
|
|
84481
|
-
},
|
|
84482
|
-
{
|
|
84483
|
-
name: "DmnCapable",
|
|
84484
|
-
"extends": [
|
|
84485
|
-
"bpmn:BusinessRuleTask"
|
|
84486
|
-
],
|
|
84487
|
-
properties: [
|
|
84488
|
-
{
|
|
84489
|
-
name: "decisionRef",
|
|
84490
|
-
isAttr: true,
|
|
84491
|
-
type: "String"
|
|
84492
|
-
},
|
|
84493
|
-
{
|
|
84494
|
-
name: "decisionRefBinding",
|
|
84495
|
-
isAttr: true,
|
|
84496
|
-
type: "String",
|
|
84497
|
-
"default": "latest"
|
|
84498
|
-
},
|
|
84499
|
-
{
|
|
84500
|
-
name: "decisionRefVersion",
|
|
84501
|
-
isAttr: true,
|
|
84502
|
-
type: "String"
|
|
84503
|
-
},
|
|
84504
|
-
{
|
|
84505
|
-
name: "mapDecisionResult",
|
|
84506
|
-
isAttr: true,
|
|
84507
|
-
type: "String",
|
|
84508
|
-
"default": "resultList"
|
|
84509
|
-
},
|
|
84510
|
-
{
|
|
84511
|
-
name: "decisionRefTenantId",
|
|
84512
|
-
isAttr: true,
|
|
84513
|
-
type: "String"
|
|
84514
|
-
}
|
|
84515
|
-
]
|
|
84516
|
-
},
|
|
84517
|
-
{
|
|
84518
|
-
name: "ExternalCapable",
|
|
84519
|
-
"extends": [
|
|
84520
|
-
"camunda:ServiceTaskLike"
|
|
84521
|
-
],
|
|
84522
|
-
properties: [
|
|
84523
|
-
{
|
|
84524
|
-
name: "type",
|
|
84525
|
-
isAttr: true,
|
|
84526
|
-
type: "String"
|
|
84527
|
-
},
|
|
84528
|
-
{
|
|
84529
|
-
name: "topic",
|
|
84530
|
-
isAttr: true,
|
|
84531
|
-
type: "String"
|
|
84532
|
-
}
|
|
84533
|
-
]
|
|
84534
|
-
},
|
|
84535
|
-
{
|
|
84536
|
-
name: "TaskPriorized",
|
|
84537
|
-
"extends": [
|
|
84538
|
-
"bpmn:Process",
|
|
84539
|
-
"camunda:ExternalCapable"
|
|
84540
|
-
],
|
|
84541
|
-
properties: [
|
|
84542
|
-
{
|
|
84543
|
-
name: "taskPriority",
|
|
84544
|
-
isAttr: true,
|
|
84545
|
-
type: "String"
|
|
84546
|
-
}
|
|
84547
|
-
]
|
|
84548
|
-
},
|
|
84549
|
-
{
|
|
84550
|
-
name: "Properties",
|
|
84551
|
-
superClass: [
|
|
84552
|
-
"Element"
|
|
84553
|
-
],
|
|
84554
|
-
meta: {
|
|
84555
|
-
allowedIn: [
|
|
84556
|
-
"*"
|
|
84557
|
-
]
|
|
84558
|
-
},
|
|
84559
|
-
properties: [
|
|
84560
|
-
{
|
|
84561
|
-
name: "values",
|
|
84562
|
-
type: "Property",
|
|
84563
|
-
isMany: true
|
|
84564
|
-
}
|
|
84565
|
-
]
|
|
84566
|
-
},
|
|
84567
|
-
{
|
|
84568
|
-
name: "Property",
|
|
84569
|
-
superClass: [
|
|
84570
|
-
"Element"
|
|
84571
|
-
],
|
|
84572
|
-
properties: [
|
|
84573
|
-
{
|
|
84574
|
-
name: "id",
|
|
84575
|
-
type: "String",
|
|
84576
|
-
isAttr: true
|
|
84577
|
-
},
|
|
84578
|
-
{
|
|
84579
|
-
name: "name",
|
|
84580
|
-
type: "String",
|
|
84581
|
-
isAttr: true
|
|
84582
|
-
},
|
|
84583
|
-
{
|
|
84584
|
-
name: "value",
|
|
84585
|
-
type: "String",
|
|
84586
|
-
isAttr: true
|
|
84587
|
-
}
|
|
84588
|
-
]
|
|
84589
|
-
},
|
|
84590
|
-
{
|
|
84591
|
-
name: "Connector",
|
|
84592
|
-
superClass: [
|
|
84593
|
-
"Element"
|
|
84594
|
-
],
|
|
84595
|
-
meta: {
|
|
84596
|
-
allowedIn: [
|
|
84597
|
-
"camunda:ServiceTaskLike"
|
|
84598
|
-
]
|
|
84599
|
-
},
|
|
84600
|
-
properties: [
|
|
84601
|
-
{
|
|
84602
|
-
name: "inputOutput",
|
|
84603
|
-
type: "InputOutput"
|
|
84604
|
-
},
|
|
84605
|
-
{
|
|
84606
|
-
name: "connectorId",
|
|
84607
|
-
type: "String"
|
|
84608
|
-
}
|
|
84609
|
-
]
|
|
84610
|
-
},
|
|
84611
|
-
{
|
|
84612
|
-
name: "InputOutput",
|
|
84613
|
-
superClass: [
|
|
84614
|
-
"Element"
|
|
84615
|
-
],
|
|
84616
|
-
meta: {
|
|
84617
|
-
allowedIn: [
|
|
84618
|
-
"bpmn:FlowNode",
|
|
84619
|
-
"camunda:Connector"
|
|
84620
|
-
]
|
|
84621
|
-
},
|
|
84622
|
-
properties: [
|
|
84623
|
-
{
|
|
84624
|
-
name: "inputOutput",
|
|
84625
|
-
type: "InputOutput"
|
|
84626
|
-
},
|
|
84627
|
-
{
|
|
84628
|
-
name: "connectorId",
|
|
84629
|
-
type: "String"
|
|
84630
|
-
},
|
|
84631
|
-
{
|
|
84632
|
-
name: "inputParameters",
|
|
84633
|
-
isMany: true,
|
|
84634
|
-
type: "InputParameter"
|
|
84635
|
-
},
|
|
84636
|
-
{
|
|
84637
|
-
name: "outputParameters",
|
|
84638
|
-
isMany: true,
|
|
84639
|
-
type: "OutputParameter"
|
|
84640
|
-
}
|
|
84641
|
-
]
|
|
84642
|
-
},
|
|
84643
|
-
{
|
|
84644
|
-
name: "InputOutputParameter",
|
|
84645
|
-
properties: [
|
|
84646
|
-
{
|
|
84647
|
-
name: "name",
|
|
84648
|
-
isAttr: true,
|
|
84649
|
-
type: "String"
|
|
84650
|
-
},
|
|
84651
|
-
{
|
|
84652
|
-
name: "value",
|
|
84653
|
-
isBody: true,
|
|
84654
|
-
type: "String"
|
|
84655
|
-
},
|
|
84656
|
-
{
|
|
84657
|
-
name: "definition",
|
|
84658
|
-
type: "InputOutputParameterDefinition"
|
|
84659
|
-
}
|
|
84660
|
-
]
|
|
84661
|
-
},
|
|
84662
|
-
{
|
|
84663
|
-
name: "InputOutputParameterDefinition",
|
|
84664
|
-
isAbstract: true
|
|
84665
|
-
},
|
|
84666
|
-
{
|
|
84667
|
-
name: "List",
|
|
84668
|
-
superClass: [
|
|
84669
|
-
"InputOutputParameterDefinition"
|
|
84670
|
-
],
|
|
84671
|
-
properties: [
|
|
84672
|
-
{
|
|
84673
|
-
name: "items",
|
|
84674
|
-
isMany: true,
|
|
84675
|
-
type: "InputOutputParameterDefinition"
|
|
84676
|
-
}
|
|
84677
|
-
]
|
|
84678
|
-
},
|
|
84679
|
-
{
|
|
84680
|
-
name: "Map",
|
|
84681
|
-
superClass: [
|
|
84682
|
-
"InputOutputParameterDefinition"
|
|
84683
|
-
],
|
|
84684
|
-
properties: [
|
|
84685
|
-
{
|
|
84686
|
-
name: "entries",
|
|
84687
|
-
isMany: true,
|
|
84688
|
-
type: "Entry"
|
|
84689
|
-
}
|
|
84690
|
-
]
|
|
84691
|
-
},
|
|
84692
|
-
{
|
|
84693
|
-
name: "Entry",
|
|
84694
|
-
properties: [
|
|
84695
|
-
{
|
|
84696
|
-
name: "key",
|
|
84697
|
-
isAttr: true,
|
|
84698
|
-
type: "String"
|
|
84699
|
-
},
|
|
84700
|
-
{
|
|
84701
|
-
name: "value",
|
|
84702
|
-
isBody: true,
|
|
84703
|
-
type: "String"
|
|
84704
|
-
},
|
|
84705
|
-
{
|
|
84706
|
-
name: "definition",
|
|
84707
|
-
type: "InputOutputParameterDefinition"
|
|
84708
|
-
}
|
|
84709
|
-
]
|
|
84710
|
-
},
|
|
84711
|
-
{
|
|
84712
|
-
name: "Value",
|
|
84713
|
-
superClass: [
|
|
84714
|
-
"InputOutputParameterDefinition"
|
|
84715
|
-
],
|
|
84716
|
-
properties: [
|
|
84717
|
-
{
|
|
84718
|
-
name: "id",
|
|
84719
|
-
isAttr: true,
|
|
84720
|
-
type: "String"
|
|
84721
|
-
},
|
|
84722
|
-
{
|
|
84723
|
-
name: "name",
|
|
84724
|
-
isAttr: true,
|
|
84725
|
-
type: "String"
|
|
84726
|
-
},
|
|
84727
|
-
{
|
|
84728
|
-
name: "value",
|
|
84729
|
-
isBody: true,
|
|
84730
|
-
type: "String"
|
|
84731
|
-
}
|
|
84732
|
-
]
|
|
84733
|
-
},
|
|
84734
|
-
{
|
|
84735
|
-
name: "Script",
|
|
84736
|
-
superClass: [
|
|
84737
|
-
"InputOutputParameterDefinition"
|
|
84738
|
-
],
|
|
84739
|
-
properties: [
|
|
84740
|
-
{
|
|
84741
|
-
name: "scriptFormat",
|
|
84742
|
-
isAttr: true,
|
|
84743
|
-
type: "String"
|
|
84744
|
-
},
|
|
84745
|
-
{
|
|
84746
|
-
name: "resource",
|
|
84747
|
-
isAttr: true,
|
|
84748
|
-
type: "String"
|
|
84749
|
-
},
|
|
84750
|
-
{
|
|
84751
|
-
name: "value",
|
|
84752
|
-
isBody: true,
|
|
84753
|
-
type: "String"
|
|
84754
|
-
}
|
|
84755
|
-
]
|
|
84756
|
-
},
|
|
84757
|
-
{
|
|
84758
|
-
name: "Field",
|
|
84759
|
-
superClass: [
|
|
84760
|
-
"Element"
|
|
84761
|
-
],
|
|
84762
|
-
meta: {
|
|
84763
|
-
allowedIn: [
|
|
84764
|
-
"camunda:ServiceTaskLike",
|
|
84765
|
-
"camunda:ExecutionListener",
|
|
84766
|
-
"camunda:TaskListener"
|
|
84767
|
-
]
|
|
84768
|
-
},
|
|
84769
|
-
properties: [
|
|
84770
|
-
{
|
|
84771
|
-
name: "name",
|
|
84772
|
-
isAttr: true,
|
|
84773
|
-
type: "String"
|
|
84774
|
-
},
|
|
84775
|
-
{
|
|
84776
|
-
name: "expression",
|
|
84777
|
-
type: "String"
|
|
84778
|
-
},
|
|
84779
|
-
{
|
|
84780
|
-
name: "stringValue",
|
|
84781
|
-
isAttr: true,
|
|
84782
|
-
type: "String"
|
|
84783
|
-
},
|
|
84784
|
-
{
|
|
84785
|
-
name: "string",
|
|
84786
|
-
type: "String"
|
|
84787
|
-
}
|
|
84788
|
-
]
|
|
84789
|
-
},
|
|
84790
|
-
{
|
|
84791
|
-
name: "InputParameter",
|
|
84792
|
-
superClass: [
|
|
84793
|
-
"InputOutputParameter"
|
|
84794
|
-
]
|
|
84795
|
-
},
|
|
84796
|
-
{
|
|
84797
|
-
name: "OutputParameter",
|
|
84798
|
-
superClass: [
|
|
84799
|
-
"InputOutputParameter"
|
|
84800
|
-
]
|
|
84801
|
-
},
|
|
84802
|
-
{
|
|
84803
|
-
name: "Collectable",
|
|
84804
|
-
isAbstract: true,
|
|
84805
|
-
"extends": [
|
|
84806
|
-
"bpmn:MultiInstanceLoopCharacteristics"
|
|
84807
|
-
],
|
|
84808
|
-
superClass: [
|
|
84809
|
-
"camunda:AsyncCapable"
|
|
84810
|
-
],
|
|
84811
|
-
properties: [
|
|
84812
|
-
{
|
|
84813
|
-
name: "collection",
|
|
84814
|
-
isAttr: true,
|
|
84815
|
-
type: "String"
|
|
84816
|
-
},
|
|
84817
|
-
{
|
|
84818
|
-
name: "elementVariable",
|
|
84819
|
-
isAttr: true,
|
|
84820
|
-
type: "String"
|
|
84821
|
-
}
|
|
84822
|
-
]
|
|
84823
|
-
},
|
|
84824
|
-
{
|
|
84825
|
-
name: "FailedJobRetryTimeCycle",
|
|
84826
|
-
superClass: [
|
|
84827
|
-
"Element"
|
|
84828
|
-
],
|
|
84829
|
-
meta: {
|
|
84830
|
-
allowedIn: [
|
|
84831
|
-
"camunda:AsyncCapable",
|
|
84832
|
-
"bpmn:MultiInstanceLoopCharacteristics"
|
|
84833
|
-
]
|
|
84834
|
-
},
|
|
84835
|
-
properties: [
|
|
84836
|
-
{
|
|
84837
|
-
name: "body",
|
|
84838
|
-
isBody: true,
|
|
84839
|
-
type: "String"
|
|
84840
|
-
}
|
|
84841
|
-
]
|
|
84842
|
-
},
|
|
84843
|
-
{
|
|
84844
|
-
name: "ExecutionListener",
|
|
84845
|
-
superClass: [
|
|
84846
|
-
"Element"
|
|
84847
|
-
],
|
|
84848
|
-
meta: {
|
|
84849
|
-
allowedIn: [
|
|
84850
|
-
"bpmn:Task",
|
|
84851
|
-
"bpmn:ServiceTask",
|
|
84852
|
-
"bpmn:UserTask",
|
|
84853
|
-
"bpmn:BusinessRuleTask",
|
|
84854
|
-
"bpmn:ScriptTask",
|
|
84855
|
-
"bpmn:ReceiveTask",
|
|
84856
|
-
"bpmn:ManualTask",
|
|
84857
|
-
"bpmn:ExclusiveGateway",
|
|
84858
|
-
"bpmn:SequenceFlow",
|
|
84859
|
-
"bpmn:ParallelGateway",
|
|
84860
|
-
"bpmn:InclusiveGateway",
|
|
84861
|
-
"bpmn:EventBasedGateway",
|
|
84862
|
-
"bpmn:StartEvent",
|
|
84863
|
-
"bpmn:IntermediateCatchEvent",
|
|
84864
|
-
"bpmn:IntermediateThrowEvent",
|
|
84865
|
-
"bpmn:EndEvent",
|
|
84866
|
-
"bpmn:BoundaryEvent",
|
|
84867
|
-
"bpmn:CallActivity",
|
|
84868
|
-
"bpmn:SubProcess",
|
|
84869
|
-
"bpmn:Process"
|
|
84870
|
-
]
|
|
84871
|
-
},
|
|
84872
|
-
properties: [
|
|
84873
|
-
{
|
|
84874
|
-
name: "expression",
|
|
84875
|
-
isAttr: true,
|
|
84876
|
-
type: "String"
|
|
84877
|
-
},
|
|
84878
|
-
{
|
|
84879
|
-
name: "class",
|
|
84880
|
-
isAttr: true,
|
|
84881
|
-
type: "String"
|
|
84882
|
-
},
|
|
84883
|
-
{
|
|
84884
|
-
name: "delegateExpression",
|
|
84885
|
-
isAttr: true,
|
|
84886
|
-
type: "String"
|
|
84887
|
-
},
|
|
84888
|
-
{
|
|
84889
|
-
name: "event",
|
|
84890
|
-
isAttr: true,
|
|
84891
|
-
type: "String"
|
|
84892
|
-
},
|
|
84893
|
-
{
|
|
84894
|
-
name: "script",
|
|
84895
|
-
type: "Script"
|
|
84896
|
-
},
|
|
84897
|
-
{
|
|
84898
|
-
name: "fields",
|
|
84899
|
-
type: "Field",
|
|
84900
|
-
isMany: true
|
|
84901
|
-
}
|
|
84902
|
-
]
|
|
84903
|
-
},
|
|
84904
|
-
{
|
|
84905
|
-
name: "TaskListener",
|
|
84906
|
-
superClass: [
|
|
84907
|
-
"Element"
|
|
84908
|
-
],
|
|
84909
|
-
meta: {
|
|
84910
|
-
allowedIn: [
|
|
84911
|
-
"bpmn:UserTask"
|
|
84912
|
-
]
|
|
84913
|
-
},
|
|
84914
|
-
properties: [
|
|
84915
|
-
{
|
|
84916
|
-
name: "expression",
|
|
84917
|
-
isAttr: true,
|
|
84918
|
-
type: "String"
|
|
84919
|
-
},
|
|
84920
|
-
{
|
|
84921
|
-
name: "class",
|
|
84922
|
-
isAttr: true,
|
|
84923
|
-
type: "String"
|
|
84924
|
-
},
|
|
84925
|
-
{
|
|
84926
|
-
name: "delegateExpression",
|
|
84927
|
-
isAttr: true,
|
|
84928
|
-
type: "String"
|
|
84929
|
-
},
|
|
84930
|
-
{
|
|
84931
|
-
name: "event",
|
|
84932
|
-
isAttr: true,
|
|
84933
|
-
type: "String"
|
|
84934
|
-
},
|
|
84935
|
-
{
|
|
84936
|
-
name: "script",
|
|
84937
|
-
type: "Script"
|
|
84938
|
-
},
|
|
84939
|
-
{
|
|
84940
|
-
name: "fields",
|
|
84941
|
-
type: "Field",
|
|
84942
|
-
isMany: true
|
|
84943
|
-
},
|
|
84944
|
-
{
|
|
84945
|
-
name: "id",
|
|
84946
|
-
type: "String",
|
|
84947
|
-
isAttr: true
|
|
84948
|
-
},
|
|
84949
|
-
{
|
|
84950
|
-
name: "eventDefinitions",
|
|
84951
|
-
type: "bpmn:TimerEventDefinition",
|
|
84952
|
-
isMany: true
|
|
84953
|
-
}
|
|
84954
|
-
]
|
|
84955
|
-
},
|
|
84956
|
-
{
|
|
84957
|
-
name: "FormProperty",
|
|
84958
|
-
superClass: [
|
|
84959
|
-
"Element"
|
|
84960
|
-
],
|
|
84961
|
-
meta: {
|
|
84962
|
-
allowedIn: [
|
|
84963
|
-
"bpmn:StartEvent",
|
|
84964
|
-
"bpmn:UserTask"
|
|
84965
|
-
]
|
|
84966
|
-
},
|
|
84967
|
-
properties: [
|
|
84968
|
-
{
|
|
84969
|
-
name: "id",
|
|
84970
|
-
type: "String",
|
|
84971
|
-
isAttr: true
|
|
84972
|
-
},
|
|
84973
|
-
{
|
|
84974
|
-
name: "name",
|
|
84975
|
-
type: "String",
|
|
84976
|
-
isAttr: true
|
|
84977
|
-
},
|
|
84978
|
-
{
|
|
84979
|
-
name: "type",
|
|
84980
|
-
type: "String",
|
|
84981
|
-
isAttr: true
|
|
84982
|
-
},
|
|
84983
|
-
{
|
|
84984
|
-
name: "required",
|
|
84985
|
-
type: "String",
|
|
84986
|
-
isAttr: true
|
|
84987
|
-
},
|
|
84988
|
-
{
|
|
84989
|
-
name: "readable",
|
|
84990
|
-
type: "String",
|
|
84991
|
-
isAttr: true
|
|
84992
|
-
},
|
|
84993
|
-
{
|
|
84994
|
-
name: "writable",
|
|
84995
|
-
type: "String",
|
|
84996
|
-
isAttr: true
|
|
84997
|
-
},
|
|
84998
|
-
{
|
|
84999
|
-
name: "variable",
|
|
85000
|
-
type: "String",
|
|
85001
|
-
isAttr: true
|
|
85002
|
-
},
|
|
85003
|
-
{
|
|
85004
|
-
name: "expression",
|
|
85005
|
-
type: "String",
|
|
85006
|
-
isAttr: true
|
|
85007
|
-
},
|
|
85008
|
-
{
|
|
85009
|
-
name: "datePattern",
|
|
85010
|
-
type: "String",
|
|
85011
|
-
isAttr: true
|
|
85012
|
-
},
|
|
85013
|
-
{
|
|
85014
|
-
name: "default",
|
|
85015
|
-
type: "String",
|
|
85016
|
-
isAttr: true
|
|
85017
|
-
},
|
|
85018
|
-
{
|
|
85019
|
-
name: "values",
|
|
85020
|
-
type: "Value",
|
|
85021
|
-
isMany: true
|
|
85022
|
-
}
|
|
85023
|
-
]
|
|
85024
|
-
},
|
|
85025
|
-
{
|
|
85026
|
-
name: "FormData",
|
|
85027
|
-
superClass: [
|
|
85028
|
-
"Element"
|
|
85029
|
-
],
|
|
85030
|
-
meta: {
|
|
85031
|
-
allowedIn: [
|
|
85032
|
-
"bpmn:StartEvent",
|
|
85033
|
-
"bpmn:UserTask"
|
|
85034
|
-
]
|
|
85035
|
-
},
|
|
85036
|
-
properties: [
|
|
85037
|
-
{
|
|
85038
|
-
name: "fields",
|
|
85039
|
-
type: "FormField",
|
|
85040
|
-
isMany: true
|
|
85041
|
-
},
|
|
85042
|
-
{
|
|
85043
|
-
name: "businessKey",
|
|
85044
|
-
type: "String",
|
|
85045
|
-
isAttr: true
|
|
85046
|
-
}
|
|
85047
|
-
]
|
|
85048
|
-
},
|
|
85049
|
-
{
|
|
85050
|
-
name: "FormField",
|
|
85051
|
-
superClass: [
|
|
85052
|
-
"Element"
|
|
85053
|
-
],
|
|
85054
|
-
properties: [
|
|
85055
|
-
{
|
|
85056
|
-
name: "id",
|
|
85057
|
-
type: "String",
|
|
85058
|
-
isAttr: true
|
|
85059
|
-
},
|
|
85060
|
-
{
|
|
85061
|
-
name: "label",
|
|
85062
|
-
type: "String",
|
|
85063
|
-
isAttr: true
|
|
85064
|
-
},
|
|
85065
|
-
{
|
|
85066
|
-
name: "type",
|
|
85067
|
-
type: "String",
|
|
85068
|
-
isAttr: true
|
|
85069
|
-
},
|
|
85070
|
-
{
|
|
85071
|
-
name: "datePattern",
|
|
85072
|
-
type: "String",
|
|
85073
|
-
isAttr: true
|
|
85074
|
-
},
|
|
85075
|
-
{
|
|
85076
|
-
name: "defaultValue",
|
|
85077
|
-
type: "String",
|
|
85078
|
-
isAttr: true
|
|
85079
|
-
},
|
|
85080
|
-
{
|
|
85081
|
-
name: "properties",
|
|
85082
|
-
type: "Properties"
|
|
85083
|
-
},
|
|
85084
|
-
{
|
|
85085
|
-
name: "validation",
|
|
85086
|
-
type: "Validation"
|
|
85087
|
-
},
|
|
85088
|
-
{
|
|
85089
|
-
name: "values",
|
|
85090
|
-
type: "Value",
|
|
85091
|
-
isMany: true
|
|
85092
|
-
}
|
|
85093
|
-
]
|
|
85094
|
-
},
|
|
85095
|
-
{
|
|
85096
|
-
name: "Validation",
|
|
85097
|
-
superClass: [
|
|
85098
|
-
"Element"
|
|
85099
|
-
],
|
|
85100
|
-
properties: [
|
|
85101
|
-
{
|
|
85102
|
-
name: "constraints",
|
|
85103
|
-
type: "Constraint",
|
|
85104
|
-
isMany: true
|
|
85105
|
-
}
|
|
85106
|
-
]
|
|
85107
|
-
},
|
|
85108
|
-
{
|
|
85109
|
-
name: "Constraint",
|
|
85110
|
-
superClass: [
|
|
85111
|
-
"Element"
|
|
85112
|
-
],
|
|
85113
|
-
properties: [
|
|
85114
|
-
{
|
|
85115
|
-
name: "name",
|
|
85116
|
-
type: "String",
|
|
85117
|
-
isAttr: true
|
|
85118
|
-
},
|
|
85119
|
-
{
|
|
85120
|
-
name: "config",
|
|
85121
|
-
type: "String",
|
|
85122
|
-
isAttr: true
|
|
85123
|
-
}
|
|
85124
|
-
]
|
|
85125
|
-
},
|
|
85126
|
-
{
|
|
85127
|
-
name: "ConditionalEventDefinitionExtension",
|
|
85128
|
-
isAbstract: true,
|
|
85129
|
-
"extends": [
|
|
85130
|
-
"bpmn:ConditionalEventDefinition"
|
|
85131
|
-
],
|
|
85132
|
-
properties: [
|
|
85133
|
-
{
|
|
85134
|
-
name: "variableName",
|
|
85135
|
-
isAttr: true,
|
|
85136
|
-
type: "String"
|
|
85137
|
-
},
|
|
85138
|
-
{
|
|
85139
|
-
name: "variableEvents",
|
|
85140
|
-
isAttr: true,
|
|
85141
|
-
type: "String"
|
|
85142
|
-
}
|
|
85143
|
-
]
|
|
85144
|
-
}
|
|
85145
|
-
];
|
|
85146
|
-
var emumerations = [
|
|
85147
|
-
];
|
|
85148
|
-
var camundaModdle = {
|
|
85149
|
-
name: name$6,
|
|
85150
|
-
uri: uri$6,
|
|
85151
|
-
prefix: prefix$6,
|
|
85152
|
-
xml: xml$2,
|
|
85153
|
-
associations: associations$6,
|
|
85154
|
-
types: types$6,
|
|
85155
|
-
emumerations: emumerations
|
|
85156
|
-
};
|
|
85157
|
-
|
|
85158
|
-
var isFunction$1 = require$$0.isFunction,
|
|
85159
|
-
isObject$1 = require$$0.isObject,
|
|
85160
|
-
some$1 = require$$0.some;
|
|
85161
|
-
|
|
85162
|
-
var WILDCARD = '*';
|
|
85163
|
-
|
|
85164
|
-
|
|
85165
|
-
function CopyPasteBehavior(eventBus) {
|
|
85166
|
-
|
|
85167
|
-
var self = this;
|
|
85168
|
-
|
|
85169
|
-
eventBus.on('moddleCopy.canCopyProperty', function(context) {
|
|
85170
|
-
var property = context.property,
|
|
85171
|
-
parent = context.parent;
|
|
85172
|
-
|
|
85173
|
-
return self.canCopyProperty(property, parent);
|
|
85174
|
-
});
|
|
85175
|
-
}
|
|
85176
|
-
|
|
85177
|
-
CopyPasteBehavior.$inject = [ 'eventBus' ];
|
|
85178
|
-
|
|
85179
|
-
/**
|
|
85180
|
-
* Check wether to disallow copying property.
|
|
85181
|
-
*/
|
|
85182
|
-
CopyPasteBehavior.prototype.canCopyProperty = function(property, parent) {
|
|
85183
|
-
|
|
85184
|
-
// (1) check wether property is allowed in parent
|
|
85185
|
-
if (isObject$1(property) && !isAllowedInParent(property, parent)) {
|
|
85186
|
-
|
|
85187
|
-
return false;
|
|
85188
|
-
}
|
|
85189
|
-
|
|
85190
|
-
// (2) check more complex scenarios
|
|
85191
|
-
|
|
85192
|
-
if (is$4(property, 'camunda:InputOutput') && !this.canHostInputOutput(parent)) {
|
|
85193
|
-
return false;
|
|
85194
|
-
}
|
|
85195
|
-
|
|
85196
|
-
if (isAny$1(property, [ 'camunda:Connector', 'camunda:Field' ]) && !this.canHostConnector(parent)) {
|
|
85197
|
-
return false;
|
|
85198
|
-
}
|
|
85199
|
-
|
|
85200
|
-
if (is$4(property, 'camunda:In') && !this.canHostIn(parent)) {
|
|
85201
|
-
return false;
|
|
85202
|
-
}
|
|
85203
|
-
};
|
|
85204
|
-
|
|
85205
|
-
CopyPasteBehavior.prototype.canHostInputOutput = function(parent) {
|
|
85206
|
-
|
|
85207
|
-
// allowed in camunda:Connector
|
|
85208
|
-
var connector = getParent$2(parent, 'camunda:Connector');
|
|
85209
|
-
|
|
85210
|
-
if (connector) {
|
|
85211
|
-
return true;
|
|
85212
|
-
}
|
|
85213
|
-
|
|
85214
|
-
// special rules inside bpmn:FlowNode
|
|
85215
|
-
var flowNode = getParent$2(parent, 'bpmn:FlowNode');
|
|
85216
|
-
|
|
85217
|
-
if (!flowNode) {
|
|
85218
|
-
return false;
|
|
85219
|
-
}
|
|
85220
|
-
|
|
85221
|
-
if (isAny$1(flowNode, [ 'bpmn:StartEvent', 'bpmn:Gateway', 'bpmn:BoundaryEvent' ])) {
|
|
85222
|
-
return false;
|
|
85223
|
-
}
|
|
85224
|
-
|
|
85225
|
-
if (is$4(flowNode, 'bpmn:SubProcess') && flowNode.get('triggeredByEvent')) {
|
|
85226
|
-
return false;
|
|
85227
|
-
}
|
|
85228
|
-
|
|
85229
|
-
return true;
|
|
84112
|
+
CopyPasteBehavior.prototype.canHostInputOutput = function(parent) {
|
|
84113
|
+
|
|
84114
|
+
// allowed in camunda:Connector
|
|
84115
|
+
var connector = getParent$2(parent, 'camunda:Connector');
|
|
84116
|
+
|
|
84117
|
+
if (connector) {
|
|
84118
|
+
return true;
|
|
84119
|
+
}
|
|
84120
|
+
|
|
84121
|
+
// special rules inside bpmn:FlowNode
|
|
84122
|
+
var flowNode = getParent$2(parent, 'bpmn:FlowNode');
|
|
84123
|
+
|
|
84124
|
+
if (!flowNode) {
|
|
84125
|
+
return false;
|
|
84126
|
+
}
|
|
84127
|
+
|
|
84128
|
+
if (isAny$1(flowNode, [ 'bpmn:StartEvent', 'bpmn:Gateway', 'bpmn:BoundaryEvent' ])) {
|
|
84129
|
+
return false;
|
|
84130
|
+
}
|
|
84131
|
+
|
|
84132
|
+
if (is$4(flowNode, 'bpmn:SubProcess') && flowNode.get('triggeredByEvent')) {
|
|
84133
|
+
return false;
|
|
84134
|
+
}
|
|
84135
|
+
|
|
84136
|
+
return true;
|
|
85230
84137
|
};
|
|
85231
84138
|
|
|
85232
84139
|
CopyPasteBehavior.prototype.canHostConnector = function(parent) {
|
|
@@ -85576,97 +84483,1273 @@
|
|
|
85576
84483
|
|
|
85577
84484
|
}
|
|
85578
84485
|
}
|
|
85579
|
-
|
|
84486
|
+
|
|
84487
|
+
}, true);
|
|
84488
|
+
}
|
|
84489
|
+
|
|
84490
|
+
RemoveInitiatorBehaviour.$inject = [
|
|
84491
|
+
'modeling',
|
|
84492
|
+
'injector',
|
|
84493
|
+
];
|
|
84494
|
+
|
|
84495
|
+
inherits_browser(RemoveInitiatorBehaviour, CommandInterceptor$4);
|
|
84496
|
+
|
|
84497
|
+
var RemoveInitiatorBehaviour_1 = RemoveInitiatorBehaviour;
|
|
84498
|
+
|
|
84499
|
+
var CommandInterceptor$5 = require$$0$1.default;
|
|
84500
|
+
var is$7 = require$$1.is;
|
|
84501
|
+
var getBusinessObject$3 = require$$1.getBusinessObject;
|
|
84502
|
+
|
|
84503
|
+
/**
|
|
84504
|
+
* Remove 'camunda:variableEvents' property when a startEvent is moved out of an event subProcess.
|
|
84505
|
+
*/
|
|
84506
|
+
function RemoveVariableEventBehaviour(
|
|
84507
|
+
modeling, injector, bpmnFactory, moddleCopy
|
|
84508
|
+
) {
|
|
84509
|
+
injector.invoke(CommandInterceptor$5, this);
|
|
84510
|
+
|
|
84511
|
+
this.postExecuted(['shape.move', 'shape.create'], function(context) {
|
|
84512
|
+
|
|
84513
|
+
var newParent = context.newParent || context.parent,
|
|
84514
|
+
newParentBusinessObject = getBusinessObject$3(newParent),
|
|
84515
|
+
shape = context.shape,
|
|
84516
|
+
shapeBusinessObject = getBusinessObject$3(shape),
|
|
84517
|
+
eventDefinitions, definitionsCopy;
|
|
84518
|
+
|
|
84519
|
+
var update = false;
|
|
84520
|
+
|
|
84521
|
+
if (is$7(shape, 'bpmn:StartEvent')) {
|
|
84522
|
+
|
|
84523
|
+
if (!(is$7(newParent, 'bpmn:SubProcess') && newParentBusinessObject.get('triggeredByEvent'))) {
|
|
84524
|
+
|
|
84525
|
+
eventDefinitions = shapeBusinessObject.get('eventDefinitions');
|
|
84526
|
+
definitionsCopy = eventDefinitions.slice();
|
|
84527
|
+
|
|
84528
|
+
definitionsCopy.forEach(function(eventDefinition, index) {
|
|
84529
|
+
if (!is$7(eventDefinition, 'bpmn:ConditionalEventDefinition')) {
|
|
84530
|
+
return;
|
|
84531
|
+
}
|
|
84532
|
+
|
|
84533
|
+
if (eventDefinition.get('camunda:variableEvents')) {
|
|
84534
|
+
update = true;
|
|
84535
|
+
|
|
84536
|
+
var newDefinition = bpmnFactory.create('bpmn:ConditionalEventDefinition');
|
|
84537
|
+
moddleCopy.copyElement(eventDefinition, newDefinition);
|
|
84538
|
+
newDefinition.$parent = eventDefinition.$parent;
|
|
84539
|
+
|
|
84540
|
+
// remove variableEvents property
|
|
84541
|
+
newDefinition.variableEvents = undefined;
|
|
84542
|
+
definitionsCopy[index] = newDefinition;
|
|
84543
|
+
}
|
|
84544
|
+
});
|
|
84545
|
+
|
|
84546
|
+
if (update) {
|
|
84547
|
+
modeling.updateProperties(shape, { 'eventDefinitions': definitionsCopy });
|
|
84548
|
+
}
|
|
84549
|
+
}
|
|
84550
|
+
}
|
|
85580
84551
|
}, true);
|
|
85581
84552
|
}
|
|
85582
84553
|
|
|
85583
|
-
|
|
84554
|
+
RemoveVariableEventBehaviour.$inject = [
|
|
85584
84555
|
'modeling',
|
|
85585
84556
|
'injector',
|
|
84557
|
+
'bpmnFactory',
|
|
84558
|
+
'moddleCopy'
|
|
84559
|
+
];
|
|
84560
|
+
|
|
84561
|
+
inherits_browser(RemoveVariableEventBehaviour, CommandInterceptor$5);
|
|
84562
|
+
|
|
84563
|
+
var RemoveVariableEventBehaviour_1 = RemoveVariableEventBehaviour;
|
|
84564
|
+
|
|
84565
|
+
var lib = {
|
|
84566
|
+
__init__: [
|
|
84567
|
+
'camundaCopyPasteBehavior',
|
|
84568
|
+
'camundaCopyPasteRootElementBehavior',
|
|
84569
|
+
'camundaRemoveInitiatorBehaviour',
|
|
84570
|
+
'camundaRemoveVariableEventBehaviour'
|
|
84571
|
+
],
|
|
84572
|
+
camundaCopyPasteBehavior: [ 'type', CopyPasteBehavior_1 ],
|
|
84573
|
+
camundaCopyPasteRootElementBehavior: [ 'type', CopyPasteRootElementBehavior_1 ],
|
|
84574
|
+
camundaRemoveInitiatorBehaviour: ['type', RemoveInitiatorBehaviour_1 ],
|
|
84575
|
+
camundaRemoveVariableEventBehaviour: ['type', RemoveVariableEventBehaviour_1 ]
|
|
84576
|
+
|
|
84577
|
+
};
|
|
84578
|
+
|
|
84579
|
+
var name$6 = "Camunda";
|
|
84580
|
+
var uri$6 = "http://camunda.org/schema/1.0/bpmn";
|
|
84581
|
+
var prefix$6 = "camunda";
|
|
84582
|
+
var xml$2 = {
|
|
84583
|
+
tagAlias: "lowerCase"
|
|
84584
|
+
};
|
|
84585
|
+
var associations$6 = [
|
|
84586
|
+
];
|
|
84587
|
+
var types$6 = [
|
|
84588
|
+
{
|
|
84589
|
+
name: "Definitions",
|
|
84590
|
+
isAbstract: true,
|
|
84591
|
+
"extends": [
|
|
84592
|
+
"bpmn:Definitions"
|
|
84593
|
+
],
|
|
84594
|
+
properties: [
|
|
84595
|
+
{
|
|
84596
|
+
name: "diagramRelationId",
|
|
84597
|
+
isAttr: true,
|
|
84598
|
+
type: "String"
|
|
84599
|
+
}
|
|
84600
|
+
]
|
|
84601
|
+
},
|
|
84602
|
+
{
|
|
84603
|
+
name: "InOutBinding",
|
|
84604
|
+
superClass: [
|
|
84605
|
+
"Element"
|
|
84606
|
+
],
|
|
84607
|
+
isAbstract: true,
|
|
84608
|
+
properties: [
|
|
84609
|
+
{
|
|
84610
|
+
name: "source",
|
|
84611
|
+
isAttr: true,
|
|
84612
|
+
type: "String"
|
|
84613
|
+
},
|
|
84614
|
+
{
|
|
84615
|
+
name: "sourceExpression",
|
|
84616
|
+
isAttr: true,
|
|
84617
|
+
type: "String"
|
|
84618
|
+
},
|
|
84619
|
+
{
|
|
84620
|
+
name: "target",
|
|
84621
|
+
isAttr: true,
|
|
84622
|
+
type: "String"
|
|
84623
|
+
},
|
|
84624
|
+
{
|
|
84625
|
+
name: "businessKey",
|
|
84626
|
+
isAttr: true,
|
|
84627
|
+
type: "String"
|
|
84628
|
+
},
|
|
84629
|
+
{
|
|
84630
|
+
name: "local",
|
|
84631
|
+
isAttr: true,
|
|
84632
|
+
type: "Boolean",
|
|
84633
|
+
"default": false
|
|
84634
|
+
},
|
|
84635
|
+
{
|
|
84636
|
+
name: "variables",
|
|
84637
|
+
isAttr: true,
|
|
84638
|
+
type: "String"
|
|
84639
|
+
}
|
|
84640
|
+
]
|
|
84641
|
+
},
|
|
84642
|
+
{
|
|
84643
|
+
name: "In",
|
|
84644
|
+
superClass: [
|
|
84645
|
+
"InOutBinding"
|
|
84646
|
+
],
|
|
84647
|
+
meta: {
|
|
84648
|
+
allowedIn: [
|
|
84649
|
+
"bpmn:CallActivity",
|
|
84650
|
+
"bpmn:SignalEventDefinition"
|
|
84651
|
+
]
|
|
84652
|
+
}
|
|
84653
|
+
},
|
|
84654
|
+
{
|
|
84655
|
+
name: "Out",
|
|
84656
|
+
superClass: [
|
|
84657
|
+
"InOutBinding"
|
|
84658
|
+
],
|
|
84659
|
+
meta: {
|
|
84660
|
+
allowedIn: [
|
|
84661
|
+
"bpmn:CallActivity"
|
|
84662
|
+
]
|
|
84663
|
+
}
|
|
84664
|
+
},
|
|
84665
|
+
{
|
|
84666
|
+
name: "AsyncCapable",
|
|
84667
|
+
isAbstract: true,
|
|
84668
|
+
"extends": [
|
|
84669
|
+
"bpmn:Activity",
|
|
84670
|
+
"bpmn:Gateway",
|
|
84671
|
+
"bpmn:Event"
|
|
84672
|
+
],
|
|
84673
|
+
properties: [
|
|
84674
|
+
{
|
|
84675
|
+
name: "async",
|
|
84676
|
+
isAttr: true,
|
|
84677
|
+
type: "Boolean",
|
|
84678
|
+
"default": false
|
|
84679
|
+
},
|
|
84680
|
+
{
|
|
84681
|
+
name: "asyncBefore",
|
|
84682
|
+
isAttr: true,
|
|
84683
|
+
type: "Boolean",
|
|
84684
|
+
"default": false
|
|
84685
|
+
},
|
|
84686
|
+
{
|
|
84687
|
+
name: "asyncAfter",
|
|
84688
|
+
isAttr: true,
|
|
84689
|
+
type: "Boolean",
|
|
84690
|
+
"default": false
|
|
84691
|
+
},
|
|
84692
|
+
{
|
|
84693
|
+
name: "exclusive",
|
|
84694
|
+
isAttr: true,
|
|
84695
|
+
type: "Boolean",
|
|
84696
|
+
"default": true
|
|
84697
|
+
}
|
|
84698
|
+
]
|
|
84699
|
+
},
|
|
84700
|
+
{
|
|
84701
|
+
name: "JobPriorized",
|
|
84702
|
+
isAbstract: true,
|
|
84703
|
+
"extends": [
|
|
84704
|
+
"bpmn:Process",
|
|
84705
|
+
"camunda:AsyncCapable"
|
|
84706
|
+
],
|
|
84707
|
+
properties: [
|
|
84708
|
+
{
|
|
84709
|
+
name: "jobPriority",
|
|
84710
|
+
isAttr: true,
|
|
84711
|
+
type: "String"
|
|
84712
|
+
}
|
|
84713
|
+
]
|
|
84714
|
+
},
|
|
84715
|
+
{
|
|
84716
|
+
name: "SignalEventDefinitionExtension",
|
|
84717
|
+
isAbstract: true,
|
|
84718
|
+
"extends": [
|
|
84719
|
+
"bpmn:SignalEventDefinition"
|
|
84720
|
+
],
|
|
84721
|
+
properties: [
|
|
84722
|
+
{
|
|
84723
|
+
name: "async",
|
|
84724
|
+
isAttr: true,
|
|
84725
|
+
type: "Boolean",
|
|
84726
|
+
"default": false
|
|
84727
|
+
}
|
|
84728
|
+
]
|
|
84729
|
+
},
|
|
84730
|
+
{
|
|
84731
|
+
name: "ErrorEventDefinitionExtension",
|
|
84732
|
+
isAbstract: true,
|
|
84733
|
+
"extends": [
|
|
84734
|
+
"bpmn:ErrorEventDefinition"
|
|
84735
|
+
],
|
|
84736
|
+
properties: [
|
|
84737
|
+
{
|
|
84738
|
+
name: "errorCodeVariable",
|
|
84739
|
+
isAttr: true,
|
|
84740
|
+
type: "String"
|
|
84741
|
+
},
|
|
84742
|
+
{
|
|
84743
|
+
name: "errorMessageVariable",
|
|
84744
|
+
isAttr: true,
|
|
84745
|
+
type: "String"
|
|
84746
|
+
}
|
|
84747
|
+
]
|
|
84748
|
+
},
|
|
84749
|
+
{
|
|
84750
|
+
name: "ErrorEventDefinition",
|
|
84751
|
+
superClass: [
|
|
84752
|
+
"bpmn:ErrorEventDefinition",
|
|
84753
|
+
"Element"
|
|
84754
|
+
],
|
|
84755
|
+
properties: [
|
|
84756
|
+
{
|
|
84757
|
+
name: "expression",
|
|
84758
|
+
isAttr: true,
|
|
84759
|
+
type: "String"
|
|
84760
|
+
}
|
|
84761
|
+
],
|
|
84762
|
+
meta: {
|
|
84763
|
+
allowedIn: [
|
|
84764
|
+
"bpmn:ServiceTask"
|
|
84765
|
+
]
|
|
84766
|
+
}
|
|
84767
|
+
},
|
|
84768
|
+
{
|
|
84769
|
+
name: "Error",
|
|
84770
|
+
isAbstract: true,
|
|
84771
|
+
"extends": [
|
|
84772
|
+
"bpmn:Error"
|
|
84773
|
+
],
|
|
84774
|
+
properties: [
|
|
84775
|
+
{
|
|
84776
|
+
name: "camunda:errorMessage",
|
|
84777
|
+
isAttr: true,
|
|
84778
|
+
type: "String"
|
|
84779
|
+
}
|
|
84780
|
+
]
|
|
84781
|
+
},
|
|
84782
|
+
{
|
|
84783
|
+
name: "PotentialStarter",
|
|
84784
|
+
superClass: [
|
|
84785
|
+
"Element"
|
|
84786
|
+
],
|
|
84787
|
+
properties: [
|
|
84788
|
+
{
|
|
84789
|
+
name: "resourceAssignmentExpression",
|
|
84790
|
+
type: "bpmn:ResourceAssignmentExpression"
|
|
84791
|
+
}
|
|
84792
|
+
]
|
|
84793
|
+
},
|
|
84794
|
+
{
|
|
84795
|
+
name: "FormSupported",
|
|
84796
|
+
isAbstract: true,
|
|
84797
|
+
"extends": [
|
|
84798
|
+
"bpmn:StartEvent",
|
|
84799
|
+
"bpmn:UserTask"
|
|
84800
|
+
],
|
|
84801
|
+
properties: [
|
|
84802
|
+
{
|
|
84803
|
+
name: "formHandlerClass",
|
|
84804
|
+
isAttr: true,
|
|
84805
|
+
type: "String"
|
|
84806
|
+
},
|
|
84807
|
+
{
|
|
84808
|
+
name: "formKey",
|
|
84809
|
+
isAttr: true,
|
|
84810
|
+
type: "String"
|
|
84811
|
+
},
|
|
84812
|
+
{
|
|
84813
|
+
name: "formRef",
|
|
84814
|
+
isAttr: true,
|
|
84815
|
+
type: "String"
|
|
84816
|
+
},
|
|
84817
|
+
{
|
|
84818
|
+
name: "formRefBinding",
|
|
84819
|
+
isAttr: true,
|
|
84820
|
+
type: "String"
|
|
84821
|
+
},
|
|
84822
|
+
{
|
|
84823
|
+
name: "formRefVersion",
|
|
84824
|
+
isAttr: true,
|
|
84825
|
+
type: "String"
|
|
84826
|
+
}
|
|
84827
|
+
]
|
|
84828
|
+
},
|
|
84829
|
+
{
|
|
84830
|
+
name: "TemplateSupported",
|
|
84831
|
+
isAbstract: true,
|
|
84832
|
+
"extends": [
|
|
84833
|
+
"bpmn:Collaboration",
|
|
84834
|
+
"bpmn:Process",
|
|
84835
|
+
"bpmn:FlowElement"
|
|
84836
|
+
],
|
|
84837
|
+
properties: [
|
|
84838
|
+
{
|
|
84839
|
+
name: "modelerTemplate",
|
|
84840
|
+
isAttr: true,
|
|
84841
|
+
type: "String"
|
|
84842
|
+
},
|
|
84843
|
+
{
|
|
84844
|
+
name: "modelerTemplateVersion",
|
|
84845
|
+
isAttr: true,
|
|
84846
|
+
type: "Integer"
|
|
84847
|
+
}
|
|
84848
|
+
]
|
|
84849
|
+
},
|
|
84850
|
+
{
|
|
84851
|
+
name: "Initiator",
|
|
84852
|
+
isAbstract: true,
|
|
84853
|
+
"extends": [
|
|
84854
|
+
"bpmn:StartEvent"
|
|
84855
|
+
],
|
|
84856
|
+
properties: [
|
|
84857
|
+
{
|
|
84858
|
+
name: "initiator",
|
|
84859
|
+
isAttr: true,
|
|
84860
|
+
type: "String"
|
|
84861
|
+
}
|
|
84862
|
+
]
|
|
84863
|
+
},
|
|
84864
|
+
{
|
|
84865
|
+
name: "ScriptTask",
|
|
84866
|
+
isAbstract: true,
|
|
84867
|
+
"extends": [
|
|
84868
|
+
"bpmn:ScriptTask"
|
|
84869
|
+
],
|
|
84870
|
+
properties: [
|
|
84871
|
+
{
|
|
84872
|
+
name: "resultVariable",
|
|
84873
|
+
isAttr: true,
|
|
84874
|
+
type: "String"
|
|
84875
|
+
},
|
|
84876
|
+
{
|
|
84877
|
+
name: "resource",
|
|
84878
|
+
isAttr: true,
|
|
84879
|
+
type: "String"
|
|
84880
|
+
}
|
|
84881
|
+
]
|
|
84882
|
+
},
|
|
84883
|
+
{
|
|
84884
|
+
name: "Process",
|
|
84885
|
+
isAbstract: true,
|
|
84886
|
+
"extends": [
|
|
84887
|
+
"bpmn:Process"
|
|
84888
|
+
],
|
|
84889
|
+
properties: [
|
|
84890
|
+
{
|
|
84891
|
+
name: "candidateStarterGroups",
|
|
84892
|
+
isAttr: true,
|
|
84893
|
+
type: "String"
|
|
84894
|
+
},
|
|
84895
|
+
{
|
|
84896
|
+
name: "candidateStarterUsers",
|
|
84897
|
+
isAttr: true,
|
|
84898
|
+
type: "String"
|
|
84899
|
+
},
|
|
84900
|
+
{
|
|
84901
|
+
name: "versionTag",
|
|
84902
|
+
isAttr: true,
|
|
84903
|
+
type: "String"
|
|
84904
|
+
},
|
|
84905
|
+
{
|
|
84906
|
+
name: "historyTimeToLive",
|
|
84907
|
+
isAttr: true,
|
|
84908
|
+
type: "String"
|
|
84909
|
+
},
|
|
84910
|
+
{
|
|
84911
|
+
name: "isStartableInTasklist",
|
|
84912
|
+
isAttr: true,
|
|
84913
|
+
type: "Boolean",
|
|
84914
|
+
"default": true
|
|
84915
|
+
}
|
|
84916
|
+
]
|
|
84917
|
+
},
|
|
84918
|
+
{
|
|
84919
|
+
name: "EscalationEventDefinitionExtension",
|
|
84920
|
+
isAbstract: true,
|
|
84921
|
+
"extends": [
|
|
84922
|
+
"bpmn:EscalationEventDefinition"
|
|
84923
|
+
],
|
|
84924
|
+
properties: [
|
|
84925
|
+
{
|
|
84926
|
+
name: "escalationCodeVariable",
|
|
84927
|
+
isAttr: true,
|
|
84928
|
+
type: "String"
|
|
84929
|
+
}
|
|
84930
|
+
]
|
|
84931
|
+
},
|
|
84932
|
+
{
|
|
84933
|
+
name: "FormalExpression",
|
|
84934
|
+
isAbstract: true,
|
|
84935
|
+
"extends": [
|
|
84936
|
+
"bpmn:FormalExpression"
|
|
84937
|
+
],
|
|
84938
|
+
properties: [
|
|
84939
|
+
{
|
|
84940
|
+
name: "resource",
|
|
84941
|
+
isAttr: true,
|
|
84942
|
+
type: "String"
|
|
84943
|
+
}
|
|
84944
|
+
]
|
|
84945
|
+
},
|
|
84946
|
+
{
|
|
84947
|
+
name: "Assignable",
|
|
84948
|
+
"extends": [
|
|
84949
|
+
"bpmn:UserTask"
|
|
84950
|
+
],
|
|
84951
|
+
properties: [
|
|
84952
|
+
{
|
|
84953
|
+
name: "assignee",
|
|
84954
|
+
isAttr: true,
|
|
84955
|
+
type: "String"
|
|
84956
|
+
},
|
|
84957
|
+
{
|
|
84958
|
+
name: "candidateUsers",
|
|
84959
|
+
isAttr: true,
|
|
84960
|
+
type: "String"
|
|
84961
|
+
},
|
|
84962
|
+
{
|
|
84963
|
+
name: "candidateGroups",
|
|
84964
|
+
isAttr: true,
|
|
84965
|
+
type: "String"
|
|
84966
|
+
},
|
|
84967
|
+
{
|
|
84968
|
+
name: "dueDate",
|
|
84969
|
+
isAttr: true,
|
|
84970
|
+
type: "String"
|
|
84971
|
+
},
|
|
84972
|
+
{
|
|
84973
|
+
name: "followUpDate",
|
|
84974
|
+
isAttr: true,
|
|
84975
|
+
type: "String"
|
|
84976
|
+
},
|
|
84977
|
+
{
|
|
84978
|
+
name: "priority",
|
|
84979
|
+
isAttr: true,
|
|
84980
|
+
type: "String"
|
|
84981
|
+
}
|
|
84982
|
+
]
|
|
84983
|
+
},
|
|
84984
|
+
{
|
|
84985
|
+
name: "CallActivity",
|
|
84986
|
+
"extends": [
|
|
84987
|
+
"bpmn:CallActivity"
|
|
84988
|
+
],
|
|
84989
|
+
properties: [
|
|
84990
|
+
{
|
|
84991
|
+
name: "calledElementBinding",
|
|
84992
|
+
isAttr: true,
|
|
84993
|
+
type: "String",
|
|
84994
|
+
"default": "latest"
|
|
84995
|
+
},
|
|
84996
|
+
{
|
|
84997
|
+
name: "calledElementVersion",
|
|
84998
|
+
isAttr: true,
|
|
84999
|
+
type: "String"
|
|
85000
|
+
},
|
|
85001
|
+
{
|
|
85002
|
+
name: "calledElementVersionTag",
|
|
85003
|
+
isAttr: true,
|
|
85004
|
+
type: "String"
|
|
85005
|
+
},
|
|
85006
|
+
{
|
|
85007
|
+
name: "calledElementTenantId",
|
|
85008
|
+
isAttr: true,
|
|
85009
|
+
type: "String"
|
|
85010
|
+
},
|
|
85011
|
+
{
|
|
85012
|
+
name: "caseRef",
|
|
85013
|
+
isAttr: true,
|
|
85014
|
+
type: "String"
|
|
85015
|
+
},
|
|
85016
|
+
{
|
|
85017
|
+
name: "caseBinding",
|
|
85018
|
+
isAttr: true,
|
|
85019
|
+
type: "String",
|
|
85020
|
+
"default": "latest"
|
|
85021
|
+
},
|
|
85022
|
+
{
|
|
85023
|
+
name: "caseVersion",
|
|
85024
|
+
isAttr: true,
|
|
85025
|
+
type: "String"
|
|
85026
|
+
},
|
|
85027
|
+
{
|
|
85028
|
+
name: "caseTenantId",
|
|
85029
|
+
isAttr: true,
|
|
85030
|
+
type: "String"
|
|
85031
|
+
},
|
|
85032
|
+
{
|
|
85033
|
+
name: "variableMappingClass",
|
|
85034
|
+
isAttr: true,
|
|
85035
|
+
type: "String"
|
|
85036
|
+
},
|
|
85037
|
+
{
|
|
85038
|
+
name: "variableMappingDelegateExpression",
|
|
85039
|
+
isAttr: true,
|
|
85040
|
+
type: "String"
|
|
85041
|
+
}
|
|
85042
|
+
]
|
|
85043
|
+
},
|
|
85044
|
+
{
|
|
85045
|
+
name: "ServiceTaskLike",
|
|
85046
|
+
"extends": [
|
|
85047
|
+
"bpmn:ServiceTask",
|
|
85048
|
+
"bpmn:BusinessRuleTask",
|
|
85049
|
+
"bpmn:SendTask",
|
|
85050
|
+
"bpmn:MessageEventDefinition"
|
|
85051
|
+
],
|
|
85052
|
+
properties: [
|
|
85053
|
+
{
|
|
85054
|
+
name: "expression",
|
|
85055
|
+
isAttr: true,
|
|
85056
|
+
type: "String"
|
|
85057
|
+
},
|
|
85058
|
+
{
|
|
85059
|
+
name: "class",
|
|
85060
|
+
isAttr: true,
|
|
85061
|
+
type: "String"
|
|
85062
|
+
},
|
|
85063
|
+
{
|
|
85064
|
+
name: "delegateExpression",
|
|
85065
|
+
isAttr: true,
|
|
85066
|
+
type: "String"
|
|
85067
|
+
},
|
|
85068
|
+
{
|
|
85069
|
+
name: "resultVariable",
|
|
85070
|
+
isAttr: true,
|
|
85071
|
+
type: "String"
|
|
85072
|
+
}
|
|
85073
|
+
]
|
|
85074
|
+
},
|
|
85075
|
+
{
|
|
85076
|
+
name: "DmnCapable",
|
|
85077
|
+
"extends": [
|
|
85078
|
+
"bpmn:BusinessRuleTask"
|
|
85079
|
+
],
|
|
85080
|
+
properties: [
|
|
85081
|
+
{
|
|
85082
|
+
name: "decisionRef",
|
|
85083
|
+
isAttr: true,
|
|
85084
|
+
type: "String"
|
|
85085
|
+
},
|
|
85086
|
+
{
|
|
85087
|
+
name: "decisionRefBinding",
|
|
85088
|
+
isAttr: true,
|
|
85089
|
+
type: "String",
|
|
85090
|
+
"default": "latest"
|
|
85091
|
+
},
|
|
85092
|
+
{
|
|
85093
|
+
name: "decisionRefVersion",
|
|
85094
|
+
isAttr: true,
|
|
85095
|
+
type: "String"
|
|
85096
|
+
},
|
|
85097
|
+
{
|
|
85098
|
+
name: "mapDecisionResult",
|
|
85099
|
+
isAttr: true,
|
|
85100
|
+
type: "String",
|
|
85101
|
+
"default": "resultList"
|
|
85102
|
+
},
|
|
85103
|
+
{
|
|
85104
|
+
name: "decisionRefTenantId",
|
|
85105
|
+
isAttr: true,
|
|
85106
|
+
type: "String"
|
|
85107
|
+
}
|
|
85108
|
+
]
|
|
85109
|
+
},
|
|
85110
|
+
{
|
|
85111
|
+
name: "ExternalCapable",
|
|
85112
|
+
"extends": [
|
|
85113
|
+
"camunda:ServiceTaskLike"
|
|
85114
|
+
],
|
|
85115
|
+
properties: [
|
|
85116
|
+
{
|
|
85117
|
+
name: "type",
|
|
85118
|
+
isAttr: true,
|
|
85119
|
+
type: "String"
|
|
85120
|
+
},
|
|
85121
|
+
{
|
|
85122
|
+
name: "topic",
|
|
85123
|
+
isAttr: true,
|
|
85124
|
+
type: "String"
|
|
85125
|
+
}
|
|
85126
|
+
]
|
|
85127
|
+
},
|
|
85128
|
+
{
|
|
85129
|
+
name: "TaskPriorized",
|
|
85130
|
+
"extends": [
|
|
85131
|
+
"bpmn:Process",
|
|
85132
|
+
"camunda:ExternalCapable"
|
|
85133
|
+
],
|
|
85134
|
+
properties: [
|
|
85135
|
+
{
|
|
85136
|
+
name: "taskPriority",
|
|
85137
|
+
isAttr: true,
|
|
85138
|
+
type: "String"
|
|
85139
|
+
}
|
|
85140
|
+
]
|
|
85141
|
+
},
|
|
85142
|
+
{
|
|
85143
|
+
name: "Properties",
|
|
85144
|
+
superClass: [
|
|
85145
|
+
"Element"
|
|
85146
|
+
],
|
|
85147
|
+
meta: {
|
|
85148
|
+
allowedIn: [
|
|
85149
|
+
"*"
|
|
85150
|
+
]
|
|
85151
|
+
},
|
|
85152
|
+
properties: [
|
|
85153
|
+
{
|
|
85154
|
+
name: "values",
|
|
85155
|
+
type: "Property",
|
|
85156
|
+
isMany: true
|
|
85157
|
+
}
|
|
85158
|
+
]
|
|
85159
|
+
},
|
|
85160
|
+
{
|
|
85161
|
+
name: "Property",
|
|
85162
|
+
superClass: [
|
|
85163
|
+
"Element"
|
|
85164
|
+
],
|
|
85165
|
+
properties: [
|
|
85166
|
+
{
|
|
85167
|
+
name: "id",
|
|
85168
|
+
type: "String",
|
|
85169
|
+
isAttr: true
|
|
85170
|
+
},
|
|
85171
|
+
{
|
|
85172
|
+
name: "name",
|
|
85173
|
+
type: "String",
|
|
85174
|
+
isAttr: true
|
|
85175
|
+
},
|
|
85176
|
+
{
|
|
85177
|
+
name: "value",
|
|
85178
|
+
type: "String",
|
|
85179
|
+
isAttr: true
|
|
85180
|
+
}
|
|
85181
|
+
]
|
|
85182
|
+
},
|
|
85183
|
+
{
|
|
85184
|
+
name: "Connector",
|
|
85185
|
+
superClass: [
|
|
85186
|
+
"Element"
|
|
85187
|
+
],
|
|
85188
|
+
meta: {
|
|
85189
|
+
allowedIn: [
|
|
85190
|
+
"camunda:ServiceTaskLike"
|
|
85191
|
+
]
|
|
85192
|
+
},
|
|
85193
|
+
properties: [
|
|
85194
|
+
{
|
|
85195
|
+
name: "inputOutput",
|
|
85196
|
+
type: "InputOutput"
|
|
85197
|
+
},
|
|
85198
|
+
{
|
|
85199
|
+
name: "connectorId",
|
|
85200
|
+
type: "String"
|
|
85201
|
+
}
|
|
85202
|
+
]
|
|
85203
|
+
},
|
|
85204
|
+
{
|
|
85205
|
+
name: "InputOutput",
|
|
85206
|
+
superClass: [
|
|
85207
|
+
"Element"
|
|
85208
|
+
],
|
|
85209
|
+
meta: {
|
|
85210
|
+
allowedIn: [
|
|
85211
|
+
"bpmn:FlowNode",
|
|
85212
|
+
"camunda:Connector"
|
|
85213
|
+
]
|
|
85214
|
+
},
|
|
85215
|
+
properties: [
|
|
85216
|
+
{
|
|
85217
|
+
name: "inputOutput",
|
|
85218
|
+
type: "InputOutput"
|
|
85219
|
+
},
|
|
85220
|
+
{
|
|
85221
|
+
name: "connectorId",
|
|
85222
|
+
type: "String"
|
|
85223
|
+
},
|
|
85224
|
+
{
|
|
85225
|
+
name: "inputParameters",
|
|
85226
|
+
isMany: true,
|
|
85227
|
+
type: "InputParameter"
|
|
85228
|
+
},
|
|
85229
|
+
{
|
|
85230
|
+
name: "outputParameters",
|
|
85231
|
+
isMany: true,
|
|
85232
|
+
type: "OutputParameter"
|
|
85233
|
+
}
|
|
85234
|
+
]
|
|
85235
|
+
},
|
|
85236
|
+
{
|
|
85237
|
+
name: "InputOutputParameter",
|
|
85238
|
+
properties: [
|
|
85239
|
+
{
|
|
85240
|
+
name: "name",
|
|
85241
|
+
isAttr: true,
|
|
85242
|
+
type: "String"
|
|
85243
|
+
},
|
|
85244
|
+
{
|
|
85245
|
+
name: "value",
|
|
85246
|
+
isBody: true,
|
|
85247
|
+
type: "String"
|
|
85248
|
+
},
|
|
85249
|
+
{
|
|
85250
|
+
name: "definition",
|
|
85251
|
+
type: "InputOutputParameterDefinition"
|
|
85252
|
+
}
|
|
85253
|
+
]
|
|
85254
|
+
},
|
|
85255
|
+
{
|
|
85256
|
+
name: "InputOutputParameterDefinition",
|
|
85257
|
+
isAbstract: true
|
|
85258
|
+
},
|
|
85259
|
+
{
|
|
85260
|
+
name: "List",
|
|
85261
|
+
superClass: [
|
|
85262
|
+
"InputOutputParameterDefinition"
|
|
85263
|
+
],
|
|
85264
|
+
properties: [
|
|
85265
|
+
{
|
|
85266
|
+
name: "items",
|
|
85267
|
+
isMany: true,
|
|
85268
|
+
type: "InputOutputParameterDefinition"
|
|
85269
|
+
}
|
|
85270
|
+
]
|
|
85271
|
+
},
|
|
85272
|
+
{
|
|
85273
|
+
name: "Map",
|
|
85274
|
+
superClass: [
|
|
85275
|
+
"InputOutputParameterDefinition"
|
|
85276
|
+
],
|
|
85277
|
+
properties: [
|
|
85278
|
+
{
|
|
85279
|
+
name: "entries",
|
|
85280
|
+
isMany: true,
|
|
85281
|
+
type: "Entry"
|
|
85282
|
+
}
|
|
85283
|
+
]
|
|
85284
|
+
},
|
|
85285
|
+
{
|
|
85286
|
+
name: "Entry",
|
|
85287
|
+
properties: [
|
|
85288
|
+
{
|
|
85289
|
+
name: "key",
|
|
85290
|
+
isAttr: true,
|
|
85291
|
+
type: "String"
|
|
85292
|
+
},
|
|
85293
|
+
{
|
|
85294
|
+
name: "value",
|
|
85295
|
+
isBody: true,
|
|
85296
|
+
type: "String"
|
|
85297
|
+
},
|
|
85298
|
+
{
|
|
85299
|
+
name: "definition",
|
|
85300
|
+
type: "InputOutputParameterDefinition"
|
|
85301
|
+
}
|
|
85302
|
+
]
|
|
85303
|
+
},
|
|
85304
|
+
{
|
|
85305
|
+
name: "Value",
|
|
85306
|
+
superClass: [
|
|
85307
|
+
"InputOutputParameterDefinition"
|
|
85308
|
+
],
|
|
85309
|
+
properties: [
|
|
85310
|
+
{
|
|
85311
|
+
name: "id",
|
|
85312
|
+
isAttr: true,
|
|
85313
|
+
type: "String"
|
|
85314
|
+
},
|
|
85315
|
+
{
|
|
85316
|
+
name: "name",
|
|
85317
|
+
isAttr: true,
|
|
85318
|
+
type: "String"
|
|
85319
|
+
},
|
|
85320
|
+
{
|
|
85321
|
+
name: "value",
|
|
85322
|
+
isBody: true,
|
|
85323
|
+
type: "String"
|
|
85324
|
+
}
|
|
85325
|
+
]
|
|
85326
|
+
},
|
|
85327
|
+
{
|
|
85328
|
+
name: "Script",
|
|
85329
|
+
superClass: [
|
|
85330
|
+
"InputOutputParameterDefinition"
|
|
85331
|
+
],
|
|
85332
|
+
properties: [
|
|
85333
|
+
{
|
|
85334
|
+
name: "scriptFormat",
|
|
85335
|
+
isAttr: true,
|
|
85336
|
+
type: "String"
|
|
85337
|
+
},
|
|
85338
|
+
{
|
|
85339
|
+
name: "resource",
|
|
85340
|
+
isAttr: true,
|
|
85341
|
+
type: "String"
|
|
85342
|
+
},
|
|
85343
|
+
{
|
|
85344
|
+
name: "value",
|
|
85345
|
+
isBody: true,
|
|
85346
|
+
type: "String"
|
|
85347
|
+
}
|
|
85348
|
+
]
|
|
85349
|
+
},
|
|
85350
|
+
{
|
|
85351
|
+
name: "Field",
|
|
85352
|
+
superClass: [
|
|
85353
|
+
"Element"
|
|
85354
|
+
],
|
|
85355
|
+
meta: {
|
|
85356
|
+
allowedIn: [
|
|
85357
|
+
"camunda:ServiceTaskLike",
|
|
85358
|
+
"camunda:ExecutionListener",
|
|
85359
|
+
"camunda:TaskListener"
|
|
85360
|
+
]
|
|
85361
|
+
},
|
|
85362
|
+
properties: [
|
|
85363
|
+
{
|
|
85364
|
+
name: "name",
|
|
85365
|
+
isAttr: true,
|
|
85366
|
+
type: "String"
|
|
85367
|
+
},
|
|
85368
|
+
{
|
|
85369
|
+
name: "expression",
|
|
85370
|
+
type: "String"
|
|
85371
|
+
},
|
|
85372
|
+
{
|
|
85373
|
+
name: "stringValue",
|
|
85374
|
+
isAttr: true,
|
|
85375
|
+
type: "String"
|
|
85376
|
+
},
|
|
85377
|
+
{
|
|
85378
|
+
name: "string",
|
|
85379
|
+
type: "String"
|
|
85380
|
+
}
|
|
85381
|
+
]
|
|
85382
|
+
},
|
|
85383
|
+
{
|
|
85384
|
+
name: "InputParameter",
|
|
85385
|
+
superClass: [
|
|
85386
|
+
"InputOutputParameter"
|
|
85387
|
+
]
|
|
85388
|
+
},
|
|
85389
|
+
{
|
|
85390
|
+
name: "OutputParameter",
|
|
85391
|
+
superClass: [
|
|
85392
|
+
"InputOutputParameter"
|
|
85393
|
+
]
|
|
85394
|
+
},
|
|
85395
|
+
{
|
|
85396
|
+
name: "Collectable",
|
|
85397
|
+
isAbstract: true,
|
|
85398
|
+
"extends": [
|
|
85399
|
+
"bpmn:MultiInstanceLoopCharacteristics"
|
|
85400
|
+
],
|
|
85401
|
+
superClass: [
|
|
85402
|
+
"camunda:AsyncCapable"
|
|
85403
|
+
],
|
|
85404
|
+
properties: [
|
|
85405
|
+
{
|
|
85406
|
+
name: "collection",
|
|
85407
|
+
isAttr: true,
|
|
85408
|
+
type: "String"
|
|
85409
|
+
},
|
|
85410
|
+
{
|
|
85411
|
+
name: "elementVariable",
|
|
85412
|
+
isAttr: true,
|
|
85413
|
+
type: "String"
|
|
85414
|
+
}
|
|
85415
|
+
]
|
|
85416
|
+
},
|
|
85417
|
+
{
|
|
85418
|
+
name: "FailedJobRetryTimeCycle",
|
|
85419
|
+
superClass: [
|
|
85420
|
+
"Element"
|
|
85421
|
+
],
|
|
85422
|
+
meta: {
|
|
85423
|
+
allowedIn: [
|
|
85424
|
+
"camunda:AsyncCapable",
|
|
85425
|
+
"bpmn:MultiInstanceLoopCharacteristics"
|
|
85426
|
+
]
|
|
85427
|
+
},
|
|
85428
|
+
properties: [
|
|
85429
|
+
{
|
|
85430
|
+
name: "body",
|
|
85431
|
+
isBody: true,
|
|
85432
|
+
type: "String"
|
|
85433
|
+
}
|
|
85434
|
+
]
|
|
85435
|
+
},
|
|
85436
|
+
{
|
|
85437
|
+
name: "ExecutionListener",
|
|
85438
|
+
superClass: [
|
|
85439
|
+
"Element"
|
|
85440
|
+
],
|
|
85441
|
+
meta: {
|
|
85442
|
+
allowedIn: [
|
|
85443
|
+
"bpmn:Task",
|
|
85444
|
+
"bpmn:ServiceTask",
|
|
85445
|
+
"bpmn:UserTask",
|
|
85446
|
+
"bpmn:BusinessRuleTask",
|
|
85447
|
+
"bpmn:ScriptTask",
|
|
85448
|
+
"bpmn:ReceiveTask",
|
|
85449
|
+
"bpmn:ManualTask",
|
|
85450
|
+
"bpmn:ExclusiveGateway",
|
|
85451
|
+
"bpmn:SequenceFlow",
|
|
85452
|
+
"bpmn:ParallelGateway",
|
|
85453
|
+
"bpmn:InclusiveGateway",
|
|
85454
|
+
"bpmn:EventBasedGateway",
|
|
85455
|
+
"bpmn:StartEvent",
|
|
85456
|
+
"bpmn:IntermediateCatchEvent",
|
|
85457
|
+
"bpmn:IntermediateThrowEvent",
|
|
85458
|
+
"bpmn:EndEvent",
|
|
85459
|
+
"bpmn:BoundaryEvent",
|
|
85460
|
+
"bpmn:CallActivity",
|
|
85461
|
+
"bpmn:SubProcess",
|
|
85462
|
+
"bpmn:Process"
|
|
85463
|
+
]
|
|
85464
|
+
},
|
|
85465
|
+
properties: [
|
|
85466
|
+
{
|
|
85467
|
+
name: "expression",
|
|
85468
|
+
isAttr: true,
|
|
85469
|
+
type: "String"
|
|
85470
|
+
},
|
|
85471
|
+
{
|
|
85472
|
+
name: "class",
|
|
85473
|
+
isAttr: true,
|
|
85474
|
+
type: "String"
|
|
85475
|
+
},
|
|
85476
|
+
{
|
|
85477
|
+
name: "delegateExpression",
|
|
85478
|
+
isAttr: true,
|
|
85479
|
+
type: "String"
|
|
85480
|
+
},
|
|
85481
|
+
{
|
|
85482
|
+
name: "event",
|
|
85483
|
+
isAttr: true,
|
|
85484
|
+
type: "String"
|
|
85485
|
+
},
|
|
85486
|
+
{
|
|
85487
|
+
name: "script",
|
|
85488
|
+
type: "Script"
|
|
85489
|
+
},
|
|
85490
|
+
{
|
|
85491
|
+
name: "fields",
|
|
85492
|
+
type: "Field",
|
|
85493
|
+
isMany: true
|
|
85494
|
+
}
|
|
85495
|
+
]
|
|
85496
|
+
},
|
|
85497
|
+
{
|
|
85498
|
+
name: "TaskListener",
|
|
85499
|
+
superClass: [
|
|
85500
|
+
"Element"
|
|
85501
|
+
],
|
|
85502
|
+
meta: {
|
|
85503
|
+
allowedIn: [
|
|
85504
|
+
"bpmn:UserTask"
|
|
85505
|
+
]
|
|
85506
|
+
},
|
|
85507
|
+
properties: [
|
|
85508
|
+
{
|
|
85509
|
+
name: "expression",
|
|
85510
|
+
isAttr: true,
|
|
85511
|
+
type: "String"
|
|
85512
|
+
},
|
|
85513
|
+
{
|
|
85514
|
+
name: "class",
|
|
85515
|
+
isAttr: true,
|
|
85516
|
+
type: "String"
|
|
85517
|
+
},
|
|
85518
|
+
{
|
|
85519
|
+
name: "delegateExpression",
|
|
85520
|
+
isAttr: true,
|
|
85521
|
+
type: "String"
|
|
85522
|
+
},
|
|
85523
|
+
{
|
|
85524
|
+
name: "event",
|
|
85525
|
+
isAttr: true,
|
|
85526
|
+
type: "String"
|
|
85527
|
+
},
|
|
85528
|
+
{
|
|
85529
|
+
name: "script",
|
|
85530
|
+
type: "Script"
|
|
85531
|
+
},
|
|
85532
|
+
{
|
|
85533
|
+
name: "fields",
|
|
85534
|
+
type: "Field",
|
|
85535
|
+
isMany: true
|
|
85536
|
+
},
|
|
85537
|
+
{
|
|
85538
|
+
name: "id",
|
|
85539
|
+
type: "String",
|
|
85540
|
+
isAttr: true
|
|
85541
|
+
},
|
|
85542
|
+
{
|
|
85543
|
+
name: "eventDefinitions",
|
|
85544
|
+
type: "bpmn:TimerEventDefinition",
|
|
85545
|
+
isMany: true
|
|
85546
|
+
}
|
|
85547
|
+
]
|
|
85548
|
+
},
|
|
85549
|
+
{
|
|
85550
|
+
name: "FormProperty",
|
|
85551
|
+
superClass: [
|
|
85552
|
+
"Element"
|
|
85553
|
+
],
|
|
85554
|
+
meta: {
|
|
85555
|
+
allowedIn: [
|
|
85556
|
+
"bpmn:StartEvent",
|
|
85557
|
+
"bpmn:UserTask"
|
|
85558
|
+
]
|
|
85559
|
+
},
|
|
85560
|
+
properties: [
|
|
85561
|
+
{
|
|
85562
|
+
name: "id",
|
|
85563
|
+
type: "String",
|
|
85564
|
+
isAttr: true
|
|
85565
|
+
},
|
|
85566
|
+
{
|
|
85567
|
+
name: "name",
|
|
85568
|
+
type: "String",
|
|
85569
|
+
isAttr: true
|
|
85570
|
+
},
|
|
85571
|
+
{
|
|
85572
|
+
name: "type",
|
|
85573
|
+
type: "String",
|
|
85574
|
+
isAttr: true
|
|
85575
|
+
},
|
|
85576
|
+
{
|
|
85577
|
+
name: "required",
|
|
85578
|
+
type: "String",
|
|
85579
|
+
isAttr: true
|
|
85580
|
+
},
|
|
85581
|
+
{
|
|
85582
|
+
name: "readable",
|
|
85583
|
+
type: "String",
|
|
85584
|
+
isAttr: true
|
|
85585
|
+
},
|
|
85586
|
+
{
|
|
85587
|
+
name: "writable",
|
|
85588
|
+
type: "String",
|
|
85589
|
+
isAttr: true
|
|
85590
|
+
},
|
|
85591
|
+
{
|
|
85592
|
+
name: "variable",
|
|
85593
|
+
type: "String",
|
|
85594
|
+
isAttr: true
|
|
85595
|
+
},
|
|
85596
|
+
{
|
|
85597
|
+
name: "expression",
|
|
85598
|
+
type: "String",
|
|
85599
|
+
isAttr: true
|
|
85600
|
+
},
|
|
85601
|
+
{
|
|
85602
|
+
name: "datePattern",
|
|
85603
|
+
type: "String",
|
|
85604
|
+
isAttr: true
|
|
85605
|
+
},
|
|
85606
|
+
{
|
|
85607
|
+
name: "default",
|
|
85608
|
+
type: "String",
|
|
85609
|
+
isAttr: true
|
|
85610
|
+
},
|
|
85611
|
+
{
|
|
85612
|
+
name: "values",
|
|
85613
|
+
type: "Value",
|
|
85614
|
+
isMany: true
|
|
85615
|
+
}
|
|
85616
|
+
]
|
|
85617
|
+
},
|
|
85618
|
+
{
|
|
85619
|
+
name: "FormData",
|
|
85620
|
+
superClass: [
|
|
85621
|
+
"Element"
|
|
85622
|
+
],
|
|
85623
|
+
meta: {
|
|
85624
|
+
allowedIn: [
|
|
85625
|
+
"bpmn:StartEvent",
|
|
85626
|
+
"bpmn:UserTask"
|
|
85627
|
+
]
|
|
85628
|
+
},
|
|
85629
|
+
properties: [
|
|
85630
|
+
{
|
|
85631
|
+
name: "fields",
|
|
85632
|
+
type: "FormField",
|
|
85633
|
+
isMany: true
|
|
85634
|
+
},
|
|
85635
|
+
{
|
|
85636
|
+
name: "businessKey",
|
|
85637
|
+
type: "String",
|
|
85638
|
+
isAttr: true
|
|
85639
|
+
}
|
|
85640
|
+
]
|
|
85641
|
+
},
|
|
85642
|
+
{
|
|
85643
|
+
name: "FormField",
|
|
85644
|
+
superClass: [
|
|
85645
|
+
"Element"
|
|
85646
|
+
],
|
|
85647
|
+
properties: [
|
|
85648
|
+
{
|
|
85649
|
+
name: "id",
|
|
85650
|
+
type: "String",
|
|
85651
|
+
isAttr: true
|
|
85652
|
+
},
|
|
85653
|
+
{
|
|
85654
|
+
name: "label",
|
|
85655
|
+
type: "String",
|
|
85656
|
+
isAttr: true
|
|
85657
|
+
},
|
|
85658
|
+
{
|
|
85659
|
+
name: "type",
|
|
85660
|
+
type: "String",
|
|
85661
|
+
isAttr: true
|
|
85662
|
+
},
|
|
85663
|
+
{
|
|
85664
|
+
name: "datePattern",
|
|
85665
|
+
type: "String",
|
|
85666
|
+
isAttr: true
|
|
85667
|
+
},
|
|
85668
|
+
{
|
|
85669
|
+
name: "defaultValue",
|
|
85670
|
+
type: "String",
|
|
85671
|
+
isAttr: true
|
|
85672
|
+
},
|
|
85673
|
+
{
|
|
85674
|
+
name: "properties",
|
|
85675
|
+
type: "Properties"
|
|
85676
|
+
},
|
|
85677
|
+
{
|
|
85678
|
+
name: "validation",
|
|
85679
|
+
type: "Validation"
|
|
85680
|
+
},
|
|
85681
|
+
{
|
|
85682
|
+
name: "values",
|
|
85683
|
+
type: "Value",
|
|
85684
|
+
isMany: true
|
|
85685
|
+
}
|
|
85686
|
+
]
|
|
85687
|
+
},
|
|
85688
|
+
{
|
|
85689
|
+
name: "Validation",
|
|
85690
|
+
superClass: [
|
|
85691
|
+
"Element"
|
|
85692
|
+
],
|
|
85693
|
+
properties: [
|
|
85694
|
+
{
|
|
85695
|
+
name: "constraints",
|
|
85696
|
+
type: "Constraint",
|
|
85697
|
+
isMany: true
|
|
85698
|
+
}
|
|
85699
|
+
]
|
|
85700
|
+
},
|
|
85701
|
+
{
|
|
85702
|
+
name: "Constraint",
|
|
85703
|
+
superClass: [
|
|
85704
|
+
"Element"
|
|
85705
|
+
],
|
|
85706
|
+
properties: [
|
|
85707
|
+
{
|
|
85708
|
+
name: "name",
|
|
85709
|
+
type: "String",
|
|
85710
|
+
isAttr: true
|
|
85711
|
+
},
|
|
85712
|
+
{
|
|
85713
|
+
name: "config",
|
|
85714
|
+
type: "String",
|
|
85715
|
+
isAttr: true
|
|
85716
|
+
}
|
|
85717
|
+
]
|
|
85718
|
+
},
|
|
85719
|
+
{
|
|
85720
|
+
name: "ConditionalEventDefinitionExtension",
|
|
85721
|
+
isAbstract: true,
|
|
85722
|
+
"extends": [
|
|
85723
|
+
"bpmn:ConditionalEventDefinition"
|
|
85724
|
+
],
|
|
85725
|
+
properties: [
|
|
85726
|
+
{
|
|
85727
|
+
name: "variableName",
|
|
85728
|
+
isAttr: true,
|
|
85729
|
+
type: "String"
|
|
85730
|
+
},
|
|
85731
|
+
{
|
|
85732
|
+
name: "variableEvents",
|
|
85733
|
+
isAttr: true,
|
|
85734
|
+
type: "String"
|
|
85735
|
+
}
|
|
85736
|
+
]
|
|
85737
|
+
}
|
|
85586
85738
|
];
|
|
85587
|
-
|
|
85588
|
-
inherits_browser(RemoveInitiatorBehaviour, CommandInterceptor$4);
|
|
85589
|
-
|
|
85590
|
-
var RemoveInitiatorBehaviour_1 = RemoveInitiatorBehaviour;
|
|
85591
|
-
|
|
85592
|
-
var CommandInterceptor$5 = require$$0$1.default;
|
|
85593
|
-
var is$7 = require$$1.is;
|
|
85594
|
-
var getBusinessObject$3 = require$$1.getBusinessObject;
|
|
85595
|
-
|
|
85596
|
-
/**
|
|
85597
|
-
* Remove 'camunda:variableEvents' property when a startEvent is moved out of an event subProcess.
|
|
85598
|
-
*/
|
|
85599
|
-
function RemoveVariableEventBehaviour(
|
|
85600
|
-
modeling, injector, bpmnFactory, moddleCopy
|
|
85601
|
-
) {
|
|
85602
|
-
injector.invoke(CommandInterceptor$5, this);
|
|
85603
|
-
|
|
85604
|
-
this.postExecuted(['shape.move', 'shape.create'], function(context) {
|
|
85605
|
-
|
|
85606
|
-
var newParent = context.newParent || context.parent,
|
|
85607
|
-
newParentBusinessObject = getBusinessObject$3(newParent),
|
|
85608
|
-
shape = context.shape,
|
|
85609
|
-
shapeBusinessObject = getBusinessObject$3(shape),
|
|
85610
|
-
eventDefinitions, definitionsCopy;
|
|
85611
|
-
|
|
85612
|
-
var update = false;
|
|
85613
|
-
|
|
85614
|
-
if (is$7(shape, 'bpmn:StartEvent')) {
|
|
85615
|
-
|
|
85616
|
-
if (!(is$7(newParent, 'bpmn:SubProcess') && newParentBusinessObject.get('triggeredByEvent'))) {
|
|
85617
|
-
|
|
85618
|
-
eventDefinitions = shapeBusinessObject.get('eventDefinitions');
|
|
85619
|
-
definitionsCopy = eventDefinitions.slice();
|
|
85620
|
-
|
|
85621
|
-
definitionsCopy.forEach(function(eventDefinition, index) {
|
|
85622
|
-
if (!is$7(eventDefinition, 'bpmn:ConditionalEventDefinition')) {
|
|
85623
|
-
return;
|
|
85624
|
-
}
|
|
85625
|
-
|
|
85626
|
-
if (eventDefinition.get('camunda:variableEvents')) {
|
|
85627
|
-
update = true;
|
|
85628
|
-
|
|
85629
|
-
var newDefinition = bpmnFactory.create('bpmn:ConditionalEventDefinition');
|
|
85630
|
-
moddleCopy.copyElement(eventDefinition, newDefinition);
|
|
85631
|
-
newDefinition.$parent = eventDefinition.$parent;
|
|
85632
|
-
|
|
85633
|
-
// remove variableEvents property
|
|
85634
|
-
newDefinition.variableEvents = undefined;
|
|
85635
|
-
definitionsCopy[index] = newDefinition;
|
|
85636
|
-
}
|
|
85637
|
-
});
|
|
85638
|
-
|
|
85639
|
-
if (update) {
|
|
85640
|
-
modeling.updateProperties(shape, { 'eventDefinitions': definitionsCopy });
|
|
85641
|
-
}
|
|
85642
|
-
}
|
|
85643
|
-
}
|
|
85644
|
-
}, true);
|
|
85645
|
-
}
|
|
85646
|
-
|
|
85647
|
-
RemoveVariableEventBehaviour.$inject = [
|
|
85648
|
-
'modeling',
|
|
85649
|
-
'injector',
|
|
85650
|
-
'bpmnFactory',
|
|
85651
|
-
'moddleCopy'
|
|
85739
|
+
var emumerations = [
|
|
85652
85740
|
];
|
|
85741
|
+
var camundaModdle = {
|
|
85742
|
+
name: name$6,
|
|
85743
|
+
uri: uri$6,
|
|
85744
|
+
prefix: prefix$6,
|
|
85745
|
+
xml: xml$2,
|
|
85746
|
+
associations: associations$6,
|
|
85747
|
+
types: types$6,
|
|
85748
|
+
emumerations: emumerations
|
|
85749
|
+
};
|
|
85653
85750
|
|
|
85654
|
-
|
|
85655
|
-
|
|
85656
|
-
var RemoveVariableEventBehaviour_1 = RemoveVariableEventBehaviour;
|
|
85657
|
-
|
|
85658
|
-
var lib = {
|
|
85659
|
-
__init__: [
|
|
85660
|
-
'camundaCopyPasteBehavior',
|
|
85661
|
-
'camundaCopyPasteRootElementBehavior',
|
|
85662
|
-
'camundaRemoveInitiatorBehaviour',
|
|
85663
|
-
'camundaRemoveVariableEventBehaviour'
|
|
85664
|
-
],
|
|
85665
|
-
camundaCopyPasteBehavior: [ 'type', CopyPasteBehavior_1 ],
|
|
85666
|
-
camundaCopyPasteRootElementBehavior: [ 'type', CopyPasteRootElementBehavior_1 ],
|
|
85667
|
-
camundaRemoveInitiatorBehaviour: ['type', RemoveInitiatorBehaviour_1 ],
|
|
85668
|
-
camundaRemoveVariableEventBehaviour: ['type', RemoveVariableEventBehaviour_1 ]
|
|
85669
|
-
|
|
85751
|
+
const commonModdleExtensions = {
|
|
85752
|
+
camunda: camundaModdle
|
|
85670
85753
|
};
|
|
85671
85754
|
|
|
85672
85755
|
/**
|
|
@@ -85678,7 +85761,7 @@
|
|
|
85678
85761
|
options = {
|
|
85679
85762
|
...options,
|
|
85680
85763
|
moddleExtensions: {
|
|
85681
|
-
|
|
85764
|
+
...commonModdleExtensions,
|
|
85682
85765
|
...options.moddleExtensions
|
|
85683
85766
|
}
|
|
85684
85767
|
};
|
|
@@ -85690,7 +85773,7 @@
|
|
|
85690
85773
|
|
|
85691
85774
|
Modeler$2.prototype._camundaPlatformModules = [
|
|
85692
85775
|
lib,
|
|
85693
|
-
|
|
85776
|
+
behaviorsModule,
|
|
85694
85777
|
camundaPlatformPropertiesProviderModule,
|
|
85695
85778
|
index$4
|
|
85696
85779
|
];
|