@processmaker/modeler 1.27.0 → 1.28.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/modeler.common.js +1162 -593
- package/dist/modeler.common.js.map +1 -1
- package/dist/modeler.umd.js +1162 -593
- package/dist/modeler.umd.js.map +1 -1
- package/dist/modeler.umd.min.js +3 -3
- package/dist/modeler.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/NodeIdGenerator.js +55 -22
- package/src/NodeInspector.js +2 -2
- package/src/components/crown/crownConfig/crownConfig.vue +0 -1
- package/src/components/crown/utils.js +12 -1
- package/src/components/hotkeys/copyPaste.js +7 -4
- package/src/components/hotkeys/main.js +6 -1
- package/src/components/inspectors/LoopCharacteristics.vue +5 -2
- package/src/components/inspectors/process.js +5 -1
- package/src/components/modeler/Modeler.vue +51 -79
- package/src/components/modeler/Selection.vue +4 -25
- package/src/components/nodes/association/index.js +3 -0
- package/src/components/nodes/dataInputAssociation/dataInputAssociation.vue +36 -26
- package/src/components/nodes/genericFlow/DataOutputAssociation.js +54 -2
- package/src/components/nodes/genericFlow/genericFlow.vue +0 -17
- package/src/components/nodes/node.js +71 -6
- package/src/mixins/cloneSelection.js +145 -0
- package/src/mixins/linkConfig.js +4 -1
- package/src/store.js +4 -11
package/dist/modeler.common.js
CHANGED
|
@@ -3428,6 +3428,17 @@ function objectToString(value) {
|
|
|
3428
3428
|
module.exports = objectToString;
|
|
3429
3429
|
|
|
3430
3430
|
|
|
3431
|
+
/***/ }),
|
|
3432
|
+
|
|
3433
|
+
/***/ "2a52":
|
|
3434
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
3435
|
+
|
|
3436
|
+
"use strict";
|
|
3437
|
+
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_cli_service_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_cli_service_node_modules_vue_loader_lib_index_js_vue_loader_options_Selection_vue_vue_type_style_index_0_id_01ab8458_prod_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("ae5e");
|
|
3438
|
+
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_cli_service_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_cli_service_node_modules_vue_loader_lib_index_js_vue_loader_options_Selection_vue_vue_type_style_index_0_id_01ab8458_prod_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_cli_service_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_cli_service_node_modules_vue_loader_lib_index_js_vue_loader_options_Selection_vue_vue_type_style_index_0_id_01ab8458_prod_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
3439
|
+
/* unused harmony reexport * */
|
|
3440
|
+
|
|
3441
|
+
|
|
3431
3442
|
/***/ }),
|
|
3432
3443
|
|
|
3433
3444
|
/***/ "2a62":
|
|
@@ -3933,6 +3944,38 @@ module.exports = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? c
|
|
|
3933
3944
|
|
|
3934
3945
|
module.exports = __webpack_require__.p + "img/text-annotation.926416f4.svg";
|
|
3935
3946
|
|
|
3947
|
+
/***/ }),
|
|
3948
|
+
|
|
3949
|
+
/***/ "2c3e":
|
|
3950
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
3951
|
+
|
|
3952
|
+
var DESCRIPTORS = __webpack_require__("83ab");
|
|
3953
|
+
var MISSED_STICKY = __webpack_require__("9f7f").MISSED_STICKY;
|
|
3954
|
+
var classof = __webpack_require__("c6b6");
|
|
3955
|
+
var defineBuiltInAccessor = __webpack_require__("edd0");
|
|
3956
|
+
var getInternalState = __webpack_require__("69f3").get;
|
|
3957
|
+
|
|
3958
|
+
var RegExpPrototype = RegExp.prototype;
|
|
3959
|
+
var $TypeError = TypeError;
|
|
3960
|
+
|
|
3961
|
+
// `RegExp.prototype.sticky` getter
|
|
3962
|
+
// https://tc39.es/ecma262/#sec-get-regexp.prototype.sticky
|
|
3963
|
+
if (DESCRIPTORS && MISSED_STICKY) {
|
|
3964
|
+
defineBuiltInAccessor(RegExpPrototype, 'sticky', {
|
|
3965
|
+
configurable: true,
|
|
3966
|
+
get: function sticky() {
|
|
3967
|
+
if (this === RegExpPrototype) return;
|
|
3968
|
+
// We can't use InternalStateModule.getterFor because
|
|
3969
|
+
// we don't add metadata for regexps created by a literal.
|
|
3970
|
+
if (classof(this) === 'RegExp') {
|
|
3971
|
+
return !!getInternalState(this).sticky;
|
|
3972
|
+
}
|
|
3973
|
+
throw $TypeError('Incompatible receiver, RegExp required');
|
|
3974
|
+
}
|
|
3975
|
+
});
|
|
3976
|
+
}
|
|
3977
|
+
|
|
3978
|
+
|
|
3936
3979
|
/***/ }),
|
|
3937
3980
|
|
|
3938
3981
|
/***/ "2c66":
|
|
@@ -7318,20 +7361,6 @@ module.exports = function (input, pref) {
|
|
|
7318
7361
|
};
|
|
7319
7362
|
|
|
7320
7363
|
|
|
7321
|
-
/***/ }),
|
|
7322
|
-
|
|
7323
|
-
/***/ "48e0":
|
|
7324
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
7325
|
-
|
|
7326
|
-
// Imports
|
|
7327
|
-
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
7328
|
-
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
7329
|
-
// Module
|
|
7330
|
-
exports.push([module.i, ".box[data-v-0078a4ae]{border:1px solid #5faaee;position:absolute;pointer-events:none}", ""]);
|
|
7331
|
-
// Exports
|
|
7332
|
-
module.exports = exports;
|
|
7333
|
-
|
|
7334
|
-
|
|
7335
7364
|
/***/ }),
|
|
7336
7365
|
|
|
7337
7366
|
/***/ "498a":
|
|
@@ -7770,6 +7799,203 @@ function trimmedEndIndex(string) {
|
|
|
7770
7799
|
module.exports = trimmedEndIndex;
|
|
7771
7800
|
|
|
7772
7801
|
|
|
7802
|
+
/***/ }),
|
|
7803
|
+
|
|
7804
|
+
/***/ "4d63":
|
|
7805
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
7806
|
+
|
|
7807
|
+
var DESCRIPTORS = __webpack_require__("83ab");
|
|
7808
|
+
var global = __webpack_require__("da84");
|
|
7809
|
+
var uncurryThis = __webpack_require__("e330");
|
|
7810
|
+
var isForced = __webpack_require__("94ca");
|
|
7811
|
+
var inheritIfRequired = __webpack_require__("7156");
|
|
7812
|
+
var createNonEnumerableProperty = __webpack_require__("9112");
|
|
7813
|
+
var getOwnPropertyNames = __webpack_require__("241c").f;
|
|
7814
|
+
var isPrototypeOf = __webpack_require__("3a9b");
|
|
7815
|
+
var isRegExp = __webpack_require__("44e7");
|
|
7816
|
+
var toString = __webpack_require__("577e");
|
|
7817
|
+
var getRegExpFlags = __webpack_require__("90d8");
|
|
7818
|
+
var stickyHelpers = __webpack_require__("9f7f");
|
|
7819
|
+
var proxyAccessor = __webpack_require__("aeb0");
|
|
7820
|
+
var defineBuiltIn = __webpack_require__("cb2d");
|
|
7821
|
+
var fails = __webpack_require__("d039");
|
|
7822
|
+
var hasOwn = __webpack_require__("1a2d");
|
|
7823
|
+
var enforceInternalState = __webpack_require__("69f3").enforce;
|
|
7824
|
+
var setSpecies = __webpack_require__("2626");
|
|
7825
|
+
var wellKnownSymbol = __webpack_require__("b622");
|
|
7826
|
+
var UNSUPPORTED_DOT_ALL = __webpack_require__("fce3");
|
|
7827
|
+
var UNSUPPORTED_NCG = __webpack_require__("107c");
|
|
7828
|
+
|
|
7829
|
+
var MATCH = wellKnownSymbol('match');
|
|
7830
|
+
var NativeRegExp = global.RegExp;
|
|
7831
|
+
var RegExpPrototype = NativeRegExp.prototype;
|
|
7832
|
+
var SyntaxError = global.SyntaxError;
|
|
7833
|
+
var exec = uncurryThis(RegExpPrototype.exec);
|
|
7834
|
+
var charAt = uncurryThis(''.charAt);
|
|
7835
|
+
var replace = uncurryThis(''.replace);
|
|
7836
|
+
var stringIndexOf = uncurryThis(''.indexOf);
|
|
7837
|
+
var stringSlice = uncurryThis(''.slice);
|
|
7838
|
+
// TODO: Use only proper RegExpIdentifierName
|
|
7839
|
+
var IS_NCG = /^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/;
|
|
7840
|
+
var re1 = /a/g;
|
|
7841
|
+
var re2 = /a/g;
|
|
7842
|
+
|
|
7843
|
+
// "new" should create a new object, old webkit bug
|
|
7844
|
+
var CORRECT_NEW = new NativeRegExp(re1) !== re1;
|
|
7845
|
+
|
|
7846
|
+
var MISSED_STICKY = stickyHelpers.MISSED_STICKY;
|
|
7847
|
+
var UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y;
|
|
7848
|
+
|
|
7849
|
+
var BASE_FORCED = DESCRIPTORS &&
|
|
7850
|
+
(!CORRECT_NEW || MISSED_STICKY || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG || fails(function () {
|
|
7851
|
+
re2[MATCH] = false;
|
|
7852
|
+
// RegExp constructor can alter flags and IsRegExp works correct with @@match
|
|
7853
|
+
return NativeRegExp(re1) != re1 || NativeRegExp(re2) == re2 || NativeRegExp(re1, 'i') != '/a/i';
|
|
7854
|
+
}));
|
|
7855
|
+
|
|
7856
|
+
var handleDotAll = function (string) {
|
|
7857
|
+
var length = string.length;
|
|
7858
|
+
var index = 0;
|
|
7859
|
+
var result = '';
|
|
7860
|
+
var brackets = false;
|
|
7861
|
+
var chr;
|
|
7862
|
+
for (; index <= length; index++) {
|
|
7863
|
+
chr = charAt(string, index);
|
|
7864
|
+
if (chr === '\\') {
|
|
7865
|
+
result += chr + charAt(string, ++index);
|
|
7866
|
+
continue;
|
|
7867
|
+
}
|
|
7868
|
+
if (!brackets && chr === '.') {
|
|
7869
|
+
result += '[\\s\\S]';
|
|
7870
|
+
} else {
|
|
7871
|
+
if (chr === '[') {
|
|
7872
|
+
brackets = true;
|
|
7873
|
+
} else if (chr === ']') {
|
|
7874
|
+
brackets = false;
|
|
7875
|
+
} result += chr;
|
|
7876
|
+
}
|
|
7877
|
+
} return result;
|
|
7878
|
+
};
|
|
7879
|
+
|
|
7880
|
+
var handleNCG = function (string) {
|
|
7881
|
+
var length = string.length;
|
|
7882
|
+
var index = 0;
|
|
7883
|
+
var result = '';
|
|
7884
|
+
var named = [];
|
|
7885
|
+
var names = {};
|
|
7886
|
+
var brackets = false;
|
|
7887
|
+
var ncg = false;
|
|
7888
|
+
var groupid = 0;
|
|
7889
|
+
var groupname = '';
|
|
7890
|
+
var chr;
|
|
7891
|
+
for (; index <= length; index++) {
|
|
7892
|
+
chr = charAt(string, index);
|
|
7893
|
+
if (chr === '\\') {
|
|
7894
|
+
chr = chr + charAt(string, ++index);
|
|
7895
|
+
} else if (chr === ']') {
|
|
7896
|
+
brackets = false;
|
|
7897
|
+
} else if (!brackets) switch (true) {
|
|
7898
|
+
case chr === '[':
|
|
7899
|
+
brackets = true;
|
|
7900
|
+
break;
|
|
7901
|
+
case chr === '(':
|
|
7902
|
+
if (exec(IS_NCG, stringSlice(string, index + 1))) {
|
|
7903
|
+
index += 2;
|
|
7904
|
+
ncg = true;
|
|
7905
|
+
}
|
|
7906
|
+
result += chr;
|
|
7907
|
+
groupid++;
|
|
7908
|
+
continue;
|
|
7909
|
+
case chr === '>' && ncg:
|
|
7910
|
+
if (groupname === '' || hasOwn(names, groupname)) {
|
|
7911
|
+
throw new SyntaxError('Invalid capture group name');
|
|
7912
|
+
}
|
|
7913
|
+
names[groupname] = true;
|
|
7914
|
+
named[named.length] = [groupname, groupid];
|
|
7915
|
+
ncg = false;
|
|
7916
|
+
groupname = '';
|
|
7917
|
+
continue;
|
|
7918
|
+
}
|
|
7919
|
+
if (ncg) groupname += chr;
|
|
7920
|
+
else result += chr;
|
|
7921
|
+
} return [result, named];
|
|
7922
|
+
};
|
|
7923
|
+
|
|
7924
|
+
// `RegExp` constructor
|
|
7925
|
+
// https://tc39.es/ecma262/#sec-regexp-constructor
|
|
7926
|
+
if (isForced('RegExp', BASE_FORCED)) {
|
|
7927
|
+
var RegExpWrapper = function RegExp(pattern, flags) {
|
|
7928
|
+
var thisIsRegExp = isPrototypeOf(RegExpPrototype, this);
|
|
7929
|
+
var patternIsRegExp = isRegExp(pattern);
|
|
7930
|
+
var flagsAreUndefined = flags === undefined;
|
|
7931
|
+
var groups = [];
|
|
7932
|
+
var rawPattern = pattern;
|
|
7933
|
+
var rawFlags, dotAll, sticky, handled, result, state;
|
|
7934
|
+
|
|
7935
|
+
if (!thisIsRegExp && patternIsRegExp && flagsAreUndefined && pattern.constructor === RegExpWrapper) {
|
|
7936
|
+
return pattern;
|
|
7937
|
+
}
|
|
7938
|
+
|
|
7939
|
+
if (patternIsRegExp || isPrototypeOf(RegExpPrototype, pattern)) {
|
|
7940
|
+
pattern = pattern.source;
|
|
7941
|
+
if (flagsAreUndefined) flags = getRegExpFlags(rawPattern);
|
|
7942
|
+
}
|
|
7943
|
+
|
|
7944
|
+
pattern = pattern === undefined ? '' : toString(pattern);
|
|
7945
|
+
flags = flags === undefined ? '' : toString(flags);
|
|
7946
|
+
rawPattern = pattern;
|
|
7947
|
+
|
|
7948
|
+
if (UNSUPPORTED_DOT_ALL && 'dotAll' in re1) {
|
|
7949
|
+
dotAll = !!flags && stringIndexOf(flags, 's') > -1;
|
|
7950
|
+
if (dotAll) flags = replace(flags, /s/g, '');
|
|
7951
|
+
}
|
|
7952
|
+
|
|
7953
|
+
rawFlags = flags;
|
|
7954
|
+
|
|
7955
|
+
if (MISSED_STICKY && 'sticky' in re1) {
|
|
7956
|
+
sticky = !!flags && stringIndexOf(flags, 'y') > -1;
|
|
7957
|
+
if (sticky && UNSUPPORTED_Y) flags = replace(flags, /y/g, '');
|
|
7958
|
+
}
|
|
7959
|
+
|
|
7960
|
+
if (UNSUPPORTED_NCG) {
|
|
7961
|
+
handled = handleNCG(pattern);
|
|
7962
|
+
pattern = handled[0];
|
|
7963
|
+
groups = handled[1];
|
|
7964
|
+
}
|
|
7965
|
+
|
|
7966
|
+
result = inheritIfRequired(NativeRegExp(pattern, flags), thisIsRegExp ? this : RegExpPrototype, RegExpWrapper);
|
|
7967
|
+
|
|
7968
|
+
if (dotAll || sticky || groups.length) {
|
|
7969
|
+
state = enforceInternalState(result);
|
|
7970
|
+
if (dotAll) {
|
|
7971
|
+
state.dotAll = true;
|
|
7972
|
+
state.raw = RegExpWrapper(handleDotAll(pattern), rawFlags);
|
|
7973
|
+
}
|
|
7974
|
+
if (sticky) state.sticky = true;
|
|
7975
|
+
if (groups.length) state.groups = groups;
|
|
7976
|
+
}
|
|
7977
|
+
|
|
7978
|
+
if (pattern !== rawPattern) try {
|
|
7979
|
+
// fails in old engines, but we have no alternatives for unsupported regex syntax
|
|
7980
|
+
createNonEnumerableProperty(result, 'source', rawPattern === '' ? '(?:)' : rawPattern);
|
|
7981
|
+
} catch (error) { /* empty */ }
|
|
7982
|
+
|
|
7983
|
+
return result;
|
|
7984
|
+
};
|
|
7985
|
+
|
|
7986
|
+
for (var keys = getOwnPropertyNames(NativeRegExp), index = 0; keys.length > index;) {
|
|
7987
|
+
proxyAccessor(RegExpWrapper, NativeRegExp, keys[index++]);
|
|
7988
|
+
}
|
|
7989
|
+
|
|
7990
|
+
RegExpPrototype.constructor = RegExpWrapper;
|
|
7991
|
+
RegExpWrapper.prototype = RegExpPrototype;
|
|
7992
|
+
defineBuiltIn(global, 'RegExp', RegExpWrapper, { constructor: true });
|
|
7993
|
+
}
|
|
7994
|
+
|
|
7995
|
+
// https://tc39.es/ecma262/#sec-get-regexp-@@species
|
|
7996
|
+
setSpecies('RegExp');
|
|
7997
|
+
|
|
7998
|
+
|
|
7773
7999
|
/***/ }),
|
|
7774
8000
|
|
|
7775
8001
|
/***/ "4d64":
|
|
@@ -9673,17 +9899,6 @@ module.exports = !IS_DENO && !IS_NODE
|
|
|
9673
9899
|
&& typeof document == 'object';
|
|
9674
9900
|
|
|
9675
9901
|
|
|
9676
|
-
/***/ }),
|
|
9677
|
-
|
|
9678
|
-
/***/ "60b5":
|
|
9679
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
9680
|
-
|
|
9681
|
-
"use strict";
|
|
9682
|
-
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_cli_service_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_cli_service_node_modules_vue_loader_lib_index_js_vue_loader_options_Selection_vue_vue_type_style_index_0_id_0078a4ae_prod_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("fa12");
|
|
9683
|
-
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_cli_service_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_cli_service_node_modules_vue_loader_lib_index_js_vue_loader_options_Selection_vue_vue_type_style_index_0_id_0078a4ae_prod_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_cli_service_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_cli_service_node_modules_vue_loader_lib_index_js_vue_loader_options_Selection_vue_vue_type_style_index_0_id_0078a4ae_prod_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
9684
|
-
/* unused harmony reexport * */
|
|
9685
|
-
|
|
9686
|
-
|
|
9687
9902
|
/***/ }),
|
|
9688
9903
|
|
|
9689
9904
|
/***/ "60bb":
|
|
@@ -16091,6 +16306,22 @@ var merge = function (array, left, right, comparefn) {
|
|
|
16091
16306
|
module.exports = mergeSort;
|
|
16092
16307
|
|
|
16093
16308
|
|
|
16309
|
+
/***/ }),
|
|
16310
|
+
|
|
16311
|
+
/***/ "ae5e":
|
|
16312
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
16313
|
+
|
|
16314
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
16315
|
+
|
|
16316
|
+
// load the styles
|
|
16317
|
+
var content = __webpack_require__("e050");
|
|
16318
|
+
if(content.__esModule) content = content.default;
|
|
16319
|
+
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
16320
|
+
if(content.locals) module.exports = content.locals;
|
|
16321
|
+
// add the styles to the DOM
|
|
16322
|
+
var add = __webpack_require__("499e").default
|
|
16323
|
+
var update = add("51866c50", content, true, {"sourceMap":false,"shadowMode":false});
|
|
16324
|
+
|
|
16094
16325
|
/***/ }),
|
|
16095
16326
|
|
|
16096
16327
|
/***/ "ae93":
|
|
@@ -18024,6 +18255,38 @@ function cacheHas(cache, key) {
|
|
|
18024
18255
|
module.exports = cacheHas;
|
|
18025
18256
|
|
|
18026
18257
|
|
|
18258
|
+
/***/ }),
|
|
18259
|
+
|
|
18260
|
+
/***/ "c607":
|
|
18261
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
18262
|
+
|
|
18263
|
+
var DESCRIPTORS = __webpack_require__("83ab");
|
|
18264
|
+
var UNSUPPORTED_DOT_ALL = __webpack_require__("fce3");
|
|
18265
|
+
var classof = __webpack_require__("c6b6");
|
|
18266
|
+
var defineBuiltInAccessor = __webpack_require__("edd0");
|
|
18267
|
+
var getInternalState = __webpack_require__("69f3").get;
|
|
18268
|
+
|
|
18269
|
+
var RegExpPrototype = RegExp.prototype;
|
|
18270
|
+
var $TypeError = TypeError;
|
|
18271
|
+
|
|
18272
|
+
// `RegExp.prototype.dotAll` getter
|
|
18273
|
+
// https://tc39.es/ecma262/#sec-get-regexp.prototype.dotall
|
|
18274
|
+
if (DESCRIPTORS && UNSUPPORTED_DOT_ALL) {
|
|
18275
|
+
defineBuiltInAccessor(RegExpPrototype, 'dotAll', {
|
|
18276
|
+
configurable: true,
|
|
18277
|
+
get: function dotAll() {
|
|
18278
|
+
if (this === RegExpPrototype) return undefined;
|
|
18279
|
+
// We can't use InternalStateModule.getterFor because
|
|
18280
|
+
// we don't add metadata for regexps created by a literal.
|
|
18281
|
+
if (classof(this) === 'RegExp') {
|
|
18282
|
+
return !!getInternalState(this).dotAll;
|
|
18283
|
+
}
|
|
18284
|
+
throw $TypeError('Incompatible receiver, RegExp required');
|
|
18285
|
+
}
|
|
18286
|
+
});
|
|
18287
|
+
}
|
|
18288
|
+
|
|
18289
|
+
|
|
18027
18290
|
/***/ }),
|
|
18028
18291
|
|
|
18029
18292
|
/***/ "c60d":
|
|
@@ -20594,6 +20857,20 @@ if (DESCRIPTORS && isCallable(NativeSymbol) && (!('description' in SymbolPrototy
|
|
|
20594
20857
|
|
|
20595
20858
|
module.exports = "<svg viewBox=\"0 0 154 154\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\"><title>event-based-gateway-symbol</title><desc>Created with Sketch.</desc><defs></defs><g id=\"Page-1\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\"><g id=\"event-based-gateway-symbol\" transform=\"translate(4.000000, 4.000000)\" stroke=\"#000000\"><circle id=\"Oval\" stroke-width=\"8\" cx=\"73\" cy=\"73\" r=\"73\"></circle><circle id=\"Oval-Copy\" stroke-width=\"8\" cx=\"73.5\" cy=\"73.5\" r=\"55.5\"></circle><polygon id=\"Polygon\" stroke-width=\"7\" points=\"73.0725806 41 107.145161 65.8277907 94.1305936 106 52.0145677 106 39 65.8277907\"></polygon></g></g></svg>"
|
|
20596
20859
|
|
|
20860
|
+
/***/ }),
|
|
20861
|
+
|
|
20862
|
+
/***/ "e050":
|
|
20863
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
20864
|
+
|
|
20865
|
+
// Imports
|
|
20866
|
+
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
20867
|
+
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
20868
|
+
// Module
|
|
20869
|
+
exports.push([module.i, ".box[data-v-01ab8458]{border:1px solid #5faaee;position:absolute;pointer-events:none}", ""]);
|
|
20870
|
+
// Exports
|
|
20871
|
+
module.exports = exports;
|
|
20872
|
+
|
|
20873
|
+
|
|
20597
20874
|
/***/ }),
|
|
20598
20875
|
|
|
20599
20876
|
/***/ "e065":
|
|
@@ -22238,22 +22515,6 @@ function property(path) {
|
|
|
22238
22515
|
module.exports = property;
|
|
22239
22516
|
|
|
22240
22517
|
|
|
22241
|
-
/***/ }),
|
|
22242
|
-
|
|
22243
|
-
/***/ "fa12":
|
|
22244
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
22245
|
-
|
|
22246
|
-
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
22247
|
-
|
|
22248
|
-
// load the styles
|
|
22249
|
-
var content = __webpack_require__("48e0");
|
|
22250
|
-
if(content.__esModule) content = content.default;
|
|
22251
|
-
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
22252
|
-
if(content.locals) module.exports = content.locals;
|
|
22253
|
-
// add the styles to the DOM
|
|
22254
|
-
var add = __webpack_require__("499e").default
|
|
22255
|
-
var update = add("e4161172", content, true, {"sourceMap":false,"shadowMode":false});
|
|
22256
|
-
|
|
22257
22518
|
/***/ }),
|
|
22258
22519
|
|
|
22259
22520
|
/***/ "fa21":
|
|
@@ -22386,16 +22647,16 @@ if (typeof window !== 'undefined') {
|
|
|
22386
22647
|
}
|
|
22387
22648
|
}
|
|
22388
22649
|
|
|
22389
|
-
var
|
|
22390
|
-
if (
|
|
22391
|
-
__webpack_require__.p =
|
|
22650
|
+
var setPublicPath_src = currentScript && currentScript.src.match(/(.+\/)[^/]+\.js(\?.*)?$/)
|
|
22651
|
+
if (setPublicPath_src) {
|
|
22652
|
+
__webpack_require__.p = setPublicPath_src[1] // eslint-disable-line
|
|
22392
22653
|
}
|
|
22393
22654
|
}
|
|
22394
22655
|
|
|
22395
22656
|
// Indicate to webpack that this file can be concatenated
|
|
22396
22657
|
/* harmony default export */ var setPublicPath = (null);
|
|
22397
22658
|
|
|
22398
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
22659
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"12fda814-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/nodes/association/association.vue?vue&type=template&id=4a60d402&
|
|
22399
22660
|
var associationvue_type_template_id_4a60d402_render = function render() {
|
|
22400
22661
|
var _vm = this,
|
|
22401
22662
|
_c = _vm._self._c;
|
|
@@ -23426,7 +23687,7 @@ function isPoint(item) {
|
|
|
23426
23687
|
},
|
|
23427
23688
|
setEndpoint: function setEndpoint(shape, endpoint, connectionOffset) {
|
|
23428
23689
|
var _this2 = this;
|
|
23429
|
-
if (isPoint(shape)) {
|
|
23690
|
+
if (shape && isPoint(shape)) {
|
|
23430
23691
|
return this.shape[endpoint](shape, {
|
|
23431
23692
|
anchor: {
|
|
23432
23693
|
name: 'modelCenter',
|
|
@@ -23607,7 +23868,13 @@ function isPoint(item) {
|
|
|
23607
23868
|
_this5.setupLinkTools();
|
|
23608
23869
|
});
|
|
23609
23870
|
});
|
|
23610
|
-
targetRef = _this5.getTargetRef ? _this5.getTargetRef() : _this5.node.definition.get('targetRef');
|
|
23871
|
+
targetRef = _this5.getTargetRef ? _this5.getTargetRef() : _this5.node.definition.get('targetRef'); // if flow doesn't have a targetRef such as incomplete node, return
|
|
23872
|
+
if (targetRef) {
|
|
23873
|
+
_context.next = 8;
|
|
23874
|
+
break;
|
|
23875
|
+
}
|
|
23876
|
+
return _context.abrupt("return");
|
|
23877
|
+
case 8:
|
|
23611
23878
|
if (targetRef.id) {
|
|
23612
23879
|
targetShape = _this5.graph.getElements().find(function (element) {
|
|
23613
23880
|
return element.component && element.component.node.definition === targetRef;
|
|
@@ -23655,7 +23922,7 @@ function isPoint(item) {
|
|
|
23655
23922
|
_this5.shape.on('change:vertices', function () {
|
|
23656
23923
|
this.component.$emit('shape-resize');
|
|
23657
23924
|
});
|
|
23658
|
-
case
|
|
23925
|
+
case 11:
|
|
23659
23926
|
case "end":
|
|
23660
23927
|
return _context.stop();
|
|
23661
23928
|
}
|
|
@@ -23679,8 +23946,8 @@ var associationConfig_direction = {
|
|
|
23679
23946
|
one: 'One',
|
|
23680
23947
|
both: 'Both'
|
|
23681
23948
|
};
|
|
23682
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
23683
|
-
var
|
|
23949
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"12fda814-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/crown/crownConfig/crownConfig.vue?vue&type=template&id=fba1f72a&
|
|
23950
|
+
var crownConfigvue_type_template_id_fba1f72a_render = function render() {
|
|
23684
23951
|
var _vm = this,
|
|
23685
23952
|
_c = _vm._self._c;
|
|
23686
23953
|
return _vm.showCrown && !_vm.isMultiselect ? _c('div', {
|
|
@@ -23779,9 +24046,9 @@ var crownConfigvue_type_template_id_3743f36d_render = function render() {
|
|
|
23779
24046
|
}
|
|
23780
24047
|
}, [_c('p', [_vm._v(_vm._s(_vm.$t('Changing this type will replace your current configuration')))])])], 2) : _vm._e();
|
|
23781
24048
|
};
|
|
23782
|
-
var
|
|
24049
|
+
var crownConfigvue_type_template_id_fba1f72a_staticRenderFns = [];
|
|
23783
24050
|
|
|
23784
|
-
// CONCATENATED MODULE: ./src/components/crown/crownConfig/crownConfig.vue?vue&type=template&id=
|
|
24051
|
+
// CONCATENATED MODULE: ./src/components/crown/crownConfig/crownConfig.vue?vue&type=template&id=fba1f72a&
|
|
23785
24052
|
|
|
23786
24053
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.includes.js
|
|
23787
24054
|
var es_array_includes = __webpack_require__("caad");
|
|
@@ -23792,7 +24059,7 @@ var es_string_includes = __webpack_require__("2532");
|
|
|
23792
24059
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.keys.js
|
|
23793
24060
|
var es_object_keys = __webpack_require__("b64b");
|
|
23794
24061
|
|
|
23795
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
24062
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"12fda814-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/crown/crownButtons/deleteButton.vue?vue&type=template&id=9dd215d6&
|
|
23796
24063
|
var deleteButtonvue_type_template_id_9dd215d6_render = function render() {
|
|
23797
24064
|
var _vm = this,
|
|
23798
24065
|
_c = _vm._self._c;
|
|
@@ -23839,7 +24106,7 @@ var deleteButtonvue_type_template_id_9dd215d6_staticRenderFns = [];
|
|
|
23839
24106
|
var trash_alt_solid = __webpack_require__("806c");
|
|
23840
24107
|
var trash_alt_solid_default = /*#__PURE__*/__webpack_require__.n(trash_alt_solid);
|
|
23841
24108
|
|
|
23842
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
24109
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"12fda814-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/crown/crownButtons/crownButton.vue?vue&type=template&id=4390a32a&scoped=true&
|
|
23843
24110
|
var crownButtonvue_type_template_id_4390a32a_scoped_true_render = function render() {
|
|
23844
24111
|
var _vm = this,
|
|
23845
24112
|
_c = _vm._self._c;
|
|
@@ -24165,6 +24432,7 @@ function getOrFindDataInput(moddle, task, sourceNode) {
|
|
|
24165
24432
|
inputSets: [],
|
|
24166
24433
|
outputSets: []
|
|
24167
24434
|
});
|
|
24435
|
+
task.definition.ioSpecification.$parent = task.definition;
|
|
24168
24436
|
}
|
|
24169
24437
|
// Check if dataInput exists
|
|
24170
24438
|
if (!task.definition.ioSpecification.dataInputs) {
|
|
@@ -24179,6 +24447,7 @@ function getOrFindDataInput(moddle, task, sourceNode) {
|
|
|
24179
24447
|
isCollection: 'false',
|
|
24180
24448
|
name: sourceNode.name
|
|
24181
24449
|
}));
|
|
24450
|
+
task.definition.ioSpecification.dataInputs[task.definition.ioSpecification.dataInputs.length - 1].$parent = task.definition.ioSpecification;
|
|
24182
24451
|
task.definition.ioSpecification.set('dataInputs', task.definition.ioSpecification.dataInputs);
|
|
24183
24452
|
}
|
|
24184
24453
|
dataInput = task.definition.ioSpecification.dataInputs.find(function (input) {
|
|
@@ -24211,7 +24480,7 @@ function getOrFindDataInput(moddle, task, sourceNode) {
|
|
|
24211
24480
|
}
|
|
24212
24481
|
inputSet = task.definition.ioSpecification.inputSets[0];
|
|
24213
24482
|
// Check if dataInputRef exists
|
|
24214
|
-
var dataInputRef = inputSet.dataInputRefs.find(function (ref) {
|
|
24483
|
+
var dataInputRef = inputSet.get('dataInputRefs').find(function (ref) {
|
|
24215
24484
|
return ref.id === dataInputId;
|
|
24216
24485
|
});
|
|
24217
24486
|
if (!dataInputRef) {
|
|
@@ -24219,6 +24488,17 @@ function getOrFindDataInput(moddle, task, sourceNode) {
|
|
|
24219
24488
|
}
|
|
24220
24489
|
return dataInput;
|
|
24221
24490
|
}
|
|
24491
|
+
function findIOSpecificationOwner(ioSpec, modeler) {
|
|
24492
|
+
var owner = ioSpec.$parent;
|
|
24493
|
+
if (!owner) {
|
|
24494
|
+
var _modeler$nodes$find;
|
|
24495
|
+
return (_modeler$nodes$find = modeler.nodes.find(function (node) {
|
|
24496
|
+
var _node$definition$ioSp;
|
|
24497
|
+
return node.definition.ioSpecification === ioSpec || ((_node$definition$ioSp = node.definition.ioSpecification) === null || _node$definition$ioSp === void 0 ? void 0 : _node$definition$ioSp.id) === ioSpec.id;
|
|
24498
|
+
})) === null || _modeler$nodes$find === void 0 ? void 0 : _modeler$nodes$find.definition;
|
|
24499
|
+
}
|
|
24500
|
+
return owner;
|
|
24501
|
+
}
|
|
24222
24502
|
function removeDataInput(task, sourceNode) {
|
|
24223
24503
|
if (sourceNode.$type !== 'bpmn:DataObjectReference' && sourceNode.$type !== 'bpmn:DataStoreReference') {
|
|
24224
24504
|
throw 'Source node must be a DataObjectReference or bpmn:DataStoreReference, got ' + sourceNode.$type;
|
|
@@ -24347,7 +24627,7 @@ var deleteButton_component = normalizeComponent(
|
|
|
24347
24627
|
)
|
|
24348
24628
|
|
|
24349
24629
|
/* harmony default export */ var deleteButton = (deleteButton_component.exports);
|
|
24350
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
24630
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"12fda814-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/crown/crownButtons/genericFlowButton.vue?vue&type=template&id=f1d76dbe&
|
|
24351
24631
|
var genericFlowButtonvue_type_template_id_f1d76dbe_render = function render() {
|
|
24352
24632
|
var _vm = this,
|
|
24353
24633
|
_c = _vm._self._c;
|
|
@@ -24505,6 +24785,9 @@ function _createClass(Constructor, protoProps, staticProps) {
|
|
|
24505
24785
|
});
|
|
24506
24786
|
return Constructor;
|
|
24507
24787
|
}
|
|
24788
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.replace.js
|
|
24789
|
+
var es_string_replace = __webpack_require__("5319");
|
|
24790
|
+
|
|
24508
24791
|
// CONCATENATED MODULE: ./src/components/nodes/baseStartEvent/defaultNames.js
|
|
24509
24792
|
var defaultNames = {
|
|
24510
24793
|
'processmaker-modeler-start-event': 'Start Event',
|
|
@@ -24578,6 +24861,8 @@ var cloneDeep_default = /*#__PURE__*/__webpack_require__.n(cloneDeep);
|
|
|
24578
24861
|
|
|
24579
24862
|
|
|
24580
24863
|
|
|
24864
|
+
|
|
24865
|
+
|
|
24581
24866
|
var node_Node = /*#__PURE__*/function () {
|
|
24582
24867
|
function Node(type, definition, diagram) {
|
|
24583
24868
|
_classCallCheck(this, Node);
|
|
@@ -24644,6 +24929,7 @@ var node_Node = /*#__PURE__*/function () {
|
|
|
24644
24929
|
}, {
|
|
24645
24930
|
key: "setIds",
|
|
24646
24931
|
value: function setIds(nodeIdGenerator) {
|
|
24932
|
+
var _this = this;
|
|
24647
24933
|
var _nodeIdGenerator$gene = nodeIdGenerator.generate(),
|
|
24648
24934
|
_nodeIdGenerator$gene2 = _slicedToArray(_nodeIdGenerator$gene, 2),
|
|
24649
24935
|
nodeId = _nodeIdGenerator$gene2[0],
|
|
@@ -24655,29 +24941,93 @@ var node_Node = /*#__PURE__*/function () {
|
|
|
24655
24941
|
this.diagram.id = diagramId;
|
|
24656
24942
|
this.diagram.bpmnElement = this.definition;
|
|
24657
24943
|
}
|
|
24944
|
+
if (this.definition.loopCharacteristics && this.definition.loopCharacteristics.$type === 'bpmn:StandardLoopCharacteristics') {
|
|
24945
|
+
this.definition.loopCharacteristics.set('id', nodeIdGenerator.generate()[0]);
|
|
24946
|
+
if (this.definition.loopCharacteristics.loopCondition) {
|
|
24947
|
+
this.definition.loopCharacteristics.get('loopCondition').set('id', nodeIdGenerator.generate()[0]);
|
|
24948
|
+
}
|
|
24949
|
+
}
|
|
24950
|
+
var dataInputRef, dataOutputRef;
|
|
24951
|
+
if (this.definition.ioSpecification) {
|
|
24952
|
+
this.definition.ioSpecification.set('id', nodeIdGenerator.generate()[0]);
|
|
24953
|
+
var taskId = this.definition.id;
|
|
24954
|
+
if (this.definition.ioSpecification.get('dataInputs')) {
|
|
24955
|
+
this.definition.ioSpecification.get('dataInputs').forEach(function (dataInput) {
|
|
24956
|
+
var id = dataInput.get('id');
|
|
24957
|
+
if (id.substring(0, _this.cloneOf.length) === _this.cloneOf) {
|
|
24958
|
+
dataInput.set('id', id.replace(_this.cloneOf + '_', taskId + '_'));
|
|
24959
|
+
dataInputRef = dataInput;
|
|
24960
|
+
} else {
|
|
24961
|
+
dataInput.set('id', nodeIdGenerator.generate()[0]);
|
|
24962
|
+
}
|
|
24963
|
+
});
|
|
24964
|
+
}
|
|
24965
|
+
if (this.definition.ioSpecification.get('dataOutputs')) {
|
|
24966
|
+
this.definition.ioSpecification.get('dataOutputs').forEach(function (dataOutput) {
|
|
24967
|
+
var id = dataOutput.get('id');
|
|
24968
|
+
if (id.substring(0, _this.cloneOf.length) === _this.cloneOf) {
|
|
24969
|
+
dataOutput.set('id', id.replace(_this.cloneOf + '_', taskId + '_'));
|
|
24970
|
+
dataOutputRef = dataOutput;
|
|
24971
|
+
} else {
|
|
24972
|
+
dataOutput.set('id', nodeIdGenerator.generate()[0]);
|
|
24973
|
+
}
|
|
24974
|
+
});
|
|
24975
|
+
}
|
|
24976
|
+
if (this.definition.ioSpecification.get('inputSets')) {
|
|
24977
|
+
this.definition.ioSpecification.get('inputSets').forEach(function (inputSet) {
|
|
24978
|
+
inputSet.set('id', nodeIdGenerator.generate()[0]);
|
|
24979
|
+
});
|
|
24980
|
+
}
|
|
24981
|
+
if (this.definition.ioSpecification.get('outputSets')) {
|
|
24982
|
+
this.definition.ioSpecification.get('outputSets').forEach(function (outputSet) {
|
|
24983
|
+
outputSet.set('id', nodeIdGenerator.generate()[0]);
|
|
24984
|
+
});
|
|
24985
|
+
}
|
|
24986
|
+
}
|
|
24987
|
+
if (this.definition.loopCharacteristics && this.definition.loopCharacteristics.$type === 'bpmn:MultiInstanceLoopCharacteristics') {
|
|
24988
|
+
this.definition.loopCharacteristics.set('id', nodeIdGenerator.generate()[0]);
|
|
24989
|
+
if (this.definition.loopCharacteristics.loopCardinality) {
|
|
24990
|
+
this.definition.loopCharacteristics.get('loopCardinality').set('id', nodeIdGenerator.generate()[0]);
|
|
24991
|
+
}
|
|
24992
|
+
if (this.definition.loopCharacteristics.loopDataInputRef && dataInputRef) {
|
|
24993
|
+
this.definition.loopCharacteristics.set('loopDataInputRef', dataInputRef);
|
|
24994
|
+
}
|
|
24995
|
+
if (this.definition.loopCharacteristics.loopDataOutputRef && dataOutputRef) {
|
|
24996
|
+
this.definition.loopCharacteristics.set('loopDataOutputRef', dataOutputRef);
|
|
24997
|
+
}
|
|
24998
|
+
if (this.definition.loopCharacteristics.inputDataItem) {
|
|
24999
|
+
this.definition.loopCharacteristics.get('inputDataItem').set('id', nodeIdGenerator.generate()[0]);
|
|
25000
|
+
}
|
|
25001
|
+
if (this.definition.loopCharacteristics.outputDataItem) {
|
|
25002
|
+
this.definition.loopCharacteristics.get('outputDataItem').set('id', nodeIdGenerator.generate()[0]);
|
|
25003
|
+
}
|
|
25004
|
+
if (this.definition.loopCharacteristics.completionCondition) {
|
|
25005
|
+
this.definition.loopCharacteristics.get('completionCondition').set('id', nodeIdGenerator.generate()[0]);
|
|
25006
|
+
}
|
|
25007
|
+
}
|
|
24658
25008
|
}
|
|
24659
25009
|
}, {
|
|
24660
25010
|
key: "clone",
|
|
24661
25011
|
value: function clone(nodeRegistry, moddle, $t) {
|
|
24662
|
-
var
|
|
25012
|
+
var _this2 = this;
|
|
24663
25013
|
var definition = nodeRegistry[this.type].definition(moddle, $t);
|
|
24664
25014
|
var diagram = nodeRegistry[this.type].diagram(moddle);
|
|
24665
25015
|
var clonedNode = new this.constructor(this.type, definition, diagram);
|
|
24666
25016
|
clonedNode.id = null;
|
|
24667
25017
|
clonedNode.pool = this.pool;
|
|
24668
|
-
clonedNode.
|
|
25018
|
+
clonedNode.cloneOf = this.id;
|
|
24669
25019
|
Node.diagramPropertiesToCopy.forEach(function (prop) {
|
|
24670
|
-
return clonedNode.diagram.bounds[prop] =
|
|
25020
|
+
return clonedNode.diagram.bounds[prop] = _this2.diagram.bounds[prop];
|
|
24671
25021
|
});
|
|
24672
25022
|
Object.keys(this.definition).filter(function (key) {
|
|
24673
25023
|
return !Node.definitionPropertiesToNotCopy.includes(key);
|
|
24674
25024
|
}).forEach(function (key) {
|
|
24675
|
-
var definition =
|
|
25025
|
+
var definition = _this2.definition.get(key);
|
|
24676
25026
|
var clonedDefinition = _typeof(definition) === 'object' ? cloneDeep_default()(definition) : definition;
|
|
24677
25027
|
if (key === 'eventDefinitions') {
|
|
24678
25028
|
for (var i in clonedDefinition) {
|
|
24679
25029
|
if (definition[i].signalRef && !clonedDefinition[i].signalRef) {
|
|
24680
|
-
clonedDefinition[i].signalRef
|
|
25030
|
+
clonedDefinition[i].set('signalRef', _objectSpread2({}, definition[i].signalRef));
|
|
24681
25031
|
}
|
|
24682
25032
|
}
|
|
24683
25033
|
}
|
|
@@ -24691,13 +25041,13 @@ var node_Node = /*#__PURE__*/function () {
|
|
|
24691
25041
|
}, {
|
|
24692
25042
|
key: "cloneFlow",
|
|
24693
25043
|
value: function cloneFlow(nodeRegistry, moddle, $t) {
|
|
24694
|
-
var
|
|
25044
|
+
var _this3 = this;
|
|
24695
25045
|
var definition = nodeRegistry[this.type].definition(moddle, $t);
|
|
24696
25046
|
var diagram = nodeRegistry[this.type].diagram(moddle);
|
|
24697
25047
|
var clonedFlow = new this.constructor(this.type, definition, diagram);
|
|
24698
25048
|
clonedFlow.id = null;
|
|
24699
25049
|
clonedFlow.pool = this.pool;
|
|
24700
|
-
clonedFlow.
|
|
25050
|
+
clonedFlow.cloneOf = this.id;
|
|
24701
25051
|
clonedFlow.diagram.waypoint = [];
|
|
24702
25052
|
this.diagram.waypoint.forEach(function (point) {
|
|
24703
25053
|
return clonedFlow.diagram.waypoint.push(point);
|
|
@@ -24705,17 +25055,18 @@ var node_Node = /*#__PURE__*/function () {
|
|
|
24705
25055
|
Object.keys(this.definition).filter(function (key) {
|
|
24706
25056
|
return !Node.flowDefinitionPropertiesToNotCopy.includes(key);
|
|
24707
25057
|
}).forEach(function (key) {
|
|
24708
|
-
var definition =
|
|
25058
|
+
var definition = _this3.definition.get(key);
|
|
24709
25059
|
var clonedDefinition = _typeof(definition) === 'object' ? cloneDeep_default()(definition) : definition;
|
|
24710
25060
|
if (key === 'eventDefinitions') {
|
|
24711
25061
|
for (var i in clonedDefinition) {
|
|
24712
25062
|
if (definition[i].signalRef && !clonedDefinition[i].signalRef) {
|
|
24713
|
-
clonedDefinition[i].signalRef
|
|
25063
|
+
clonedDefinition[i].set('signalRef', _objectSpread2({}, definition[i].signalRef));
|
|
24714
25064
|
}
|
|
24715
25065
|
}
|
|
24716
25066
|
}
|
|
24717
25067
|
clonedFlow.definition.set(key, clonedDefinition);
|
|
24718
|
-
clonedFlow.definition.sourceRef
|
|
25068
|
+
clonedFlow.definition.set('sourceRef', null);
|
|
25069
|
+
clonedFlow.definition.set('targetRef', null);
|
|
24719
25070
|
});
|
|
24720
25071
|
Node.eventDefinitionPropertiesToNotCopy.forEach(function (prop) {
|
|
24721
25072
|
return clonedFlow.definition.eventDefinitions && clonedFlow.definition.eventDefinitions[0] && clonedFlow.definition.eventDefinitions[0].hasOwnProperty(prop) && clonedFlow.definition.eventDefinitions[0].set(prop, null);
|
|
@@ -24725,10 +25076,10 @@ var node_Node = /*#__PURE__*/function () {
|
|
|
24725
25076
|
}, {
|
|
24726
25077
|
key: "getTargetProcess",
|
|
24727
25078
|
value: function getTargetProcess(processes, processNode) {
|
|
24728
|
-
var
|
|
25079
|
+
var _this4 = this;
|
|
24729
25080
|
return this.pool ? processes.find(function (_ref) {
|
|
24730
25081
|
var id = _ref.id;
|
|
24731
|
-
return id ===
|
|
25082
|
+
return id === _this4.pool.component.node.definition.get('processRef').id;
|
|
24732
25083
|
}) : processNode.definition;
|
|
24733
25084
|
}
|
|
24734
25085
|
}], [{
|
|
@@ -24740,7 +25091,7 @@ var node_Node = /*#__PURE__*/function () {
|
|
|
24740
25091
|
return Node;
|
|
24741
25092
|
}();
|
|
24742
25093
|
_defineProperty(node_Node, "diagramPropertiesToCopy", ['x', 'y', 'width', 'height']);
|
|
24743
|
-
_defineProperty(node_Node, "definitionPropertiesToNotCopy", ['$type', 'id']);
|
|
25094
|
+
_defineProperty(node_Node, "definitionPropertiesToNotCopy", ['$type', 'id', 'dataOutputAssociations']);
|
|
24744
25095
|
_defineProperty(node_Node, "flowDefinitionPropertiesToNotCopy", ['$type', 'id', 'sourceRef', 'targetRef']);
|
|
24745
25096
|
_defineProperty(node_Node, "eventDefinitionPropertiesToNotCopy", ['errorRef', 'messageRef']);
|
|
24746
25097
|
|
|
@@ -24823,7 +25174,7 @@ var genericFlowButton_component = normalizeComponent(
|
|
|
24823
25174
|
)
|
|
24824
25175
|
|
|
24825
25176
|
/* harmony default export */ var genericFlowButton = (genericFlowButton_component.exports);
|
|
24826
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
25177
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"12fda814-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/crown/crownButtons/associationFlowButton.vue?vue&type=template&id=491172aa&
|
|
24827
25178
|
var associationFlowButtonvue_type_template_id_491172aa_render = function render() {
|
|
24828
25179
|
var _vm = this,
|
|
24829
25180
|
_c = _vm._self._c;
|
|
@@ -24917,7 +25268,7 @@ var associationFlowButton_component = normalizeComponent(
|
|
|
24917
25268
|
)
|
|
24918
25269
|
|
|
24919
25270
|
/* harmony default export */ var associationFlowButton = (associationFlowButton_component.exports);
|
|
24920
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
25271
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"12fda814-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/crown/crownButtons/dataAssociationFlowButton.vue?vue&type=template&id=5943851d&
|
|
24921
25272
|
var dataAssociationFlowButtonvue_type_template_id_5943851d_render = function render() {
|
|
24922
25273
|
var _vm = this,
|
|
24923
25274
|
_c = _vm._self._c;
|
|
@@ -25246,7 +25597,7 @@ var dataAssociationFlowButton_component = normalizeComponent(
|
|
|
25246
25597
|
)
|
|
25247
25598
|
|
|
25248
25599
|
/* harmony default export */ var dataAssociationFlowButton = (dataAssociationFlowButton_component.exports);
|
|
25249
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
25600
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"12fda814-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/crown/crownButtons/copyButton.vue?vue&type=template&id=213aa936&
|
|
25250
25601
|
|
|
25251
25602
|
var copyButtonvue_type_template_id_213aa936_render = function render() {
|
|
25252
25603
|
var _vm$node;
|
|
@@ -25337,7 +25688,7 @@ var copyButton_component = normalizeComponent(
|
|
|
25337
25688
|
)
|
|
25338
25689
|
|
|
25339
25690
|
/* harmony default export */ var copyButton = (copyButton_component.exports);
|
|
25340
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
25691
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"12fda814-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/crown/crownButtons/duplicateButton.vue?vue&type=template&id=7ad99cd5&
|
|
25341
25692
|
|
|
25342
25693
|
var duplicateButtonvue_type_template_id_7ad99cd5_render = function render() {
|
|
25343
25694
|
var _vm$node;
|
|
@@ -25425,7 +25776,7 @@ var duplicateButton_component = normalizeComponent(
|
|
|
25425
25776
|
)
|
|
25426
25777
|
|
|
25427
25778
|
/* harmony default export */ var duplicateButton = (duplicateButton_component.exports);
|
|
25428
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
25779
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"12fda814-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/crown/crownButtons/crownDropdowns.vue?vue&type=template&id=0a847d3c&scoped=true&
|
|
25429
25780
|
var crownDropdownsvue_type_template_id_0a847d3c_scoped_true_render = function render() {
|
|
25430
25781
|
var _vm = this,
|
|
25431
25782
|
_c = _vm._self._c;
|
|
@@ -25470,7 +25821,7 @@ var crownDropdownsvue_type_template_id_0a847d3c_scoped_true_staticRenderFns = []
|
|
|
25470
25821
|
|
|
25471
25822
|
// CONCATENATED MODULE: ./src/components/crown/crownButtons/crownDropdowns.vue?vue&type=template&id=0a847d3c&scoped=true&
|
|
25472
25823
|
|
|
25473
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
25824
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"12fda814-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/crown/crownButtons/crownTaskDropdown.vue?vue&type=template&id=134c4728&scoped=true&
|
|
25474
25825
|
var crownTaskDropdownvue_type_template_id_134c4728_scoped_true_render = function render() {
|
|
25475
25826
|
var _vm = this,
|
|
25476
25827
|
_c = _vm._self._c;
|
|
@@ -25594,7 +25945,7 @@ var crownTaskDropdown_component = normalizeComponent(
|
|
|
25594
25945
|
)
|
|
25595
25946
|
|
|
25596
25947
|
/* harmony default export */ var crownTaskDropdown = (crownTaskDropdown_component.exports);
|
|
25597
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
25948
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"12fda814-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/crown/crownButtons/crownBoundaryEventDropdown.vue?vue&type=template&id=59d91c2d&
|
|
25598
25949
|
var crownBoundaryEventDropdownvue_type_template_id_59d91c2d_render = function render() {
|
|
25599
25950
|
var _vm = this,
|
|
25600
25951
|
_c = _vm._self._c;
|
|
@@ -25772,8 +26123,7 @@ function removeRef(state, ref, callBack) {
|
|
|
25772
26123
|
globalProcesses: [],
|
|
25773
26124
|
allowSavingElementPosition: true,
|
|
25774
26125
|
copiedElements: [],
|
|
25775
|
-
|
|
25776
|
-
clientY: null
|
|
26126
|
+
clientLeftPaper: false
|
|
25777
26127
|
},
|
|
25778
26128
|
getters: {
|
|
25779
26129
|
nodes: function nodes(state) {
|
|
@@ -25814,11 +26164,8 @@ function removeRef(state, ref, callBack) {
|
|
|
25814
26164
|
copiedElements: function copiedElements(state) {
|
|
25815
26165
|
return state.copiedElements;
|
|
25816
26166
|
},
|
|
25817
|
-
|
|
25818
|
-
return state.
|
|
25819
|
-
},
|
|
25820
|
-
clientY: function clientY(state) {
|
|
25821
|
-
return state.clientY;
|
|
26167
|
+
clientLeftPaper: function clientLeftPaper(state) {
|
|
26168
|
+
return state.clientLeftPaper;
|
|
25822
26169
|
}
|
|
25823
26170
|
},
|
|
25824
26171
|
mutations: {
|
|
@@ -25924,17 +26271,8 @@ function removeRef(state, ref, callBack) {
|
|
|
25924
26271
|
setCopiedElements: function setCopiedElements(state, elements) {
|
|
25925
26272
|
state.copiedElements = elements;
|
|
25926
26273
|
},
|
|
25927
|
-
|
|
25928
|
-
|
|
25929
|
-
clientY = position.clientY;
|
|
25930
|
-
state = {
|
|
25931
|
-
clientX: clientX,
|
|
25932
|
-
clientY: clientY
|
|
25933
|
-
};
|
|
25934
|
-
},
|
|
25935
|
-
clientLeftPaper: function clientLeftPaper(state) {
|
|
25936
|
-
state.clientX = null;
|
|
25937
|
-
state.clientY = null;
|
|
26274
|
+
setClientLeftPaper: function setClientLeftPaper(state, status) {
|
|
26275
|
+
state.clientLeftPaper = status;
|
|
25938
26276
|
}
|
|
25939
26277
|
},
|
|
25940
26278
|
actions: {
|
|
@@ -26054,7 +26392,7 @@ var crownBoundaryEventDropdown_component = normalizeComponent(
|
|
|
26054
26392
|
)
|
|
26055
26393
|
|
|
26056
26394
|
/* harmony default export */ var crownBoundaryEventDropdown = (crownBoundaryEventDropdown_component.exports);
|
|
26057
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
26395
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"12fda814-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/crown/crownButtons/crownColorDropdown.vue?vue&type=template&id=5e9576a8&scoped=true&
|
|
26058
26396
|
|
|
26059
26397
|
var crownColorDropdownvue_type_template_id_5e9576a8_scoped_true_render = function render() {
|
|
26060
26398
|
var _vm = this,
|
|
@@ -26202,7 +26540,7 @@ var web_dom_exception_to_string_tag = __webpack_require__("8bd4");
|
|
|
26202
26540
|
// EXTERNAL MODULE: ./node_modules/vue-color/dist/vue-color.min.js
|
|
26203
26541
|
var vue_color_min = __webpack_require__("c345");
|
|
26204
26542
|
|
|
26205
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
26543
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"12fda814-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/IconSelector.vue?vue&type=template&id=1668818f&
|
|
26206
26544
|
var IconSelectorvue_type_template_id_1668818f_render = function render() {
|
|
26207
26545
|
var _vm = this,
|
|
26208
26546
|
_c = _vm._self._c;
|
|
@@ -26426,7 +26764,7 @@ String.prototype.titleCase = function () {
|
|
|
26426
26764
|
});
|
|
26427
26765
|
return words.join(' ');
|
|
26428
26766
|
};
|
|
26429
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
26767
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"12fda814-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/FileUploadButton.vue?vue&type=template&id=0146dc7d&
|
|
26430
26768
|
var FileUploadButtonvue_type_template_id_0146dc7d_render = function render() {
|
|
26431
26769
|
var _vm = this,
|
|
26432
26770
|
_c = _vm._self._c;
|
|
@@ -27017,7 +27355,7 @@ var crownDropdowns_component = normalizeComponent(
|
|
|
27017
27355
|
)
|
|
27018
27356
|
|
|
27019
27357
|
/* harmony default export */ var crownDropdowns = (crownDropdowns_component.exports);
|
|
27020
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
27358
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"12fda814-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/crown/crownButtons/defaultFlowButton.vue?vue&type=template&id=44b12a86&
|
|
27021
27359
|
var defaultFlowButtonvue_type_template_id_44b12a86_render = function render() {
|
|
27022
27360
|
var _vm = this,
|
|
27023
27361
|
_c = _vm._self._c;
|
|
@@ -27246,8 +27584,7 @@ function runningInCypressTest() {
|
|
|
27246
27584
|
'node.definition.color': {
|
|
27247
27585
|
handler: function handler() {
|
|
27248
27586
|
this.setNodeColor();
|
|
27249
|
-
}
|
|
27250
|
-
deep: true
|
|
27587
|
+
}
|
|
27251
27588
|
},
|
|
27252
27589
|
highlightedShapes: function highlightedShapes(shapes, prevShapes) {
|
|
27253
27590
|
if (isEqual_default()(shapes, prevShapes)) {
|
|
@@ -27432,8 +27769,8 @@ var crownConfigvue_type_style_index_0_prod_lang_scss_ = __webpack_require__("b7e
|
|
|
27432
27769
|
|
|
27433
27770
|
var crownConfig_component = normalizeComponent(
|
|
27434
27771
|
crownConfig_crownConfigvue_type_script_lang_js_,
|
|
27435
|
-
|
|
27436
|
-
|
|
27772
|
+
crownConfigvue_type_template_id_fba1f72a_render,
|
|
27773
|
+
crownConfigvue_type_template_id_fba1f72a_staticRenderFns,
|
|
27437
27774
|
false,
|
|
27438
27775
|
null,
|
|
27439
27776
|
null,
|
|
@@ -27569,7 +27906,7 @@ var association_component = normalizeComponent(
|
|
|
27569
27906
|
|
|
27570
27907
|
)
|
|
27571
27908
|
|
|
27572
|
-
/* harmony default export */ var
|
|
27909
|
+
/* harmony default export */ var association_association = (association_component.exports);
|
|
27573
27910
|
// CONCATENATED MODULE: ./src/components/inspectors/idConfigSettings.js
|
|
27574
27911
|
var idConfigSettings = {
|
|
27575
27912
|
label: 'Node Identifier',
|
|
@@ -27585,7 +27922,7 @@ var idConfigSettings = {
|
|
|
27585
27922
|
var association_id = 'processmaker-modeler-association';
|
|
27586
27923
|
/* harmony default export */ var nodes_association = ({
|
|
27587
27924
|
id: association_id,
|
|
27588
|
-
component:
|
|
27925
|
+
component: association_association,
|
|
27589
27926
|
bpmnType: 'bpmn:Association',
|
|
27590
27927
|
control: false,
|
|
27591
27928
|
definition: function definition(moddle) {
|
|
@@ -27593,6 +27930,9 @@ var association_id = 'processmaker-modeler-association';
|
|
|
27593
27930
|
associationDirection: "".concat(associationConfig_direction.none)
|
|
27594
27931
|
});
|
|
27595
27932
|
},
|
|
27933
|
+
diagram: function diagram(moddle) {
|
|
27934
|
+
return moddle.create('bpmndi:BPMNEdge');
|
|
27935
|
+
},
|
|
27596
27936
|
inspectorConfig: [{
|
|
27597
27937
|
name: 'Data Association',
|
|
27598
27938
|
items: [{
|
|
@@ -27628,7 +27968,7 @@ var association_id = 'processmaker-modeler-association';
|
|
|
27628
27968
|
}]
|
|
27629
27969
|
}]
|
|
27630
27970
|
});
|
|
27631
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
27971
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"12fda814-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/nodes/endEvent/endEvent.vue?vue&type=template&id=5b9ad491&
|
|
27632
27972
|
var endEventvue_type_template_id_5b9ad491_render = function render() {
|
|
27633
27973
|
var _vm = this,
|
|
27634
27974
|
_c = _vm._self._c;
|
|
@@ -28107,7 +28447,7 @@ var nameConfigSettings = {
|
|
|
28107
28447
|
validation: 'required'
|
|
28108
28448
|
};
|
|
28109
28449
|
/* harmony default export */ var inspectors_nameConfigSettings = (nameConfigSettings);
|
|
28110
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
28450
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"12fda814-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/inspectors/NodeIdentifierInput.vue?vue&type=template&id=41ed3f3f&
|
|
28111
28451
|
var NodeIdentifierInputvue_type_template_id_41ed3f3f_render = function render() {
|
|
28112
28452
|
var _vm = this,
|
|
28113
28453
|
_c = _vm._self._c;
|
|
@@ -28220,7 +28560,7 @@ var NodeIdentifierInput_component = normalizeComponent(
|
|
|
28220
28560
|
config: inspectors_idConfigSettings
|
|
28221
28561
|
}]
|
|
28222
28562
|
});
|
|
28223
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
28563
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"12fda814-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/inspectors/DocumentationFormTextArea.vue?vue&type=template&id=d69b739e&
|
|
28224
28564
|
var DocumentationFormTextAreavue_type_template_id_d69b739e_render = function render() {
|
|
28225
28565
|
var _vm = this,
|
|
28226
28566
|
_c = _vm._self._c;
|
|
@@ -28690,7 +29030,7 @@ var terminateEndEvent_id = 'processmaker-modeler-terminate-end-event';
|
|
|
28690
29030
|
});
|
|
28691
29031
|
}
|
|
28692
29032
|
}));
|
|
28693
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
29033
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"12fda814-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/nodes/gateway/gateway.vue?vue&type=template&id=a60e4954&
|
|
28694
29034
|
var gatewayvue_type_template_id_a60e4954_render = function render() {
|
|
28695
29035
|
var _vm = this,
|
|
28696
29036
|
_c = _vm._self._c;
|
|
@@ -29283,7 +29623,7 @@ var eventBasedGateway_id = 'processmaker-modeler-event-based-gateway';
|
|
|
29283
29623
|
}, documentationAccordionConfig, advancedAccordionConfig]
|
|
29284
29624
|
}]
|
|
29285
29625
|
});
|
|
29286
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
29626
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"12fda814-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/nodes/sequenceFlow/sequenceFlow.vue?vue&type=template&id=ea004378&
|
|
29287
29627
|
var sequenceFlowvue_type_template_id_ea004378_render = function render() {
|
|
29288
29628
|
var _vm = this,
|
|
29289
29629
|
_c = _vm._self._c;
|
|
@@ -29633,7 +29973,7 @@ var sequenceFlow_id = 'processmaker-modeler-sequence-flow';
|
|
|
29633
29973
|
}, documentationAccordionConfig, advancedAccordionConfig]
|
|
29634
29974
|
}]
|
|
29635
29975
|
});
|
|
29636
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
29976
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"12fda814-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/nodes/messageFlow/messageFlow.vue?vue&type=template&id=2025c58d&
|
|
29637
29977
|
var messageFlowvue_type_template_id_2025c58d_render = function render() {
|
|
29638
29978
|
var _vm = this,
|
|
29639
29979
|
_c = _vm._self._c;
|
|
@@ -29918,7 +30258,7 @@ var messageEndEvent_component = normalizeComponent(
|
|
|
29918
30258
|
)
|
|
29919
30259
|
|
|
29920
30260
|
/* harmony default export */ var messageEndEvent = (messageEndEvent_component.exports);
|
|
29921
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
30261
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"12fda814-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/inspectors/MessageSelect.vue?vue&type=template&id=395d11da&scoped=true&
|
|
29922
30262
|
|
|
29923
30263
|
var MessageSelectvue_type_template_id_395d11da_scoped_true_render = function render() {
|
|
29924
30264
|
var _vm = this,
|
|
@@ -30580,7 +30920,7 @@ var signalEndEvent_component = normalizeComponent(
|
|
|
30580
30920
|
)
|
|
30581
30921
|
|
|
30582
30922
|
/* harmony default export */ var signalEndEvent = (signalEndEvent_component.exports);
|
|
30583
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
30923
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"12fda814-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/inspectors/SignalSelect.vue?vue&type=template&id=607e6d70&scoped=true&
|
|
30584
30924
|
|
|
30585
30925
|
var SignalSelectvue_type_template_id_607e6d70_scoped_true_render = function render() {
|
|
30586
30926
|
var _vm = this,
|
|
@@ -31224,7 +31564,7 @@ var signalEndEvent_id = 'processmaker-modeler-signal-end-event';
|
|
|
31224
31564
|
}]
|
|
31225
31565
|
}]
|
|
31226
31566
|
})));
|
|
31227
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
31567
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"12fda814-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/nodes/baseStartEvent/baseStartEvent.vue?vue&type=template&id=1aff2df2&
|
|
31228
31568
|
var baseStartEventvue_type_template_id_1aff2df2_render = function render() {
|
|
31229
31569
|
var _vm = this,
|
|
31230
31570
|
_c = _vm._self._c;
|
|
@@ -31648,7 +31988,7 @@ var startTimerEvent_component = normalizeComponent(
|
|
|
31648
31988
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.repeat.js
|
|
31649
31989
|
var es_string_repeat = __webpack_require__("38cf");
|
|
31650
31990
|
|
|
31651
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
31991
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"12fda814-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/inspectors/TimerExpression.vue?vue&type=template&id=66e578ba&scoped=true&
|
|
31652
31992
|
|
|
31653
31993
|
var TimerExpressionvue_type_template_id_66e578ba_scoped_true_render = function render() {
|
|
31654
31994
|
var _vm = this,
|
|
@@ -31838,7 +32178,7 @@ var TimerExpressionvue_type_template_id_66e578ba_scoped_true_staticRenderFns = [
|
|
|
31838
32178
|
// EXTERNAL MODULE: external "luxon"
|
|
31839
32179
|
var external_luxon_ = __webpack_require__("5b4c");
|
|
31840
32180
|
|
|
31841
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
32181
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"12fda814-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/inspectors/WeekdaySelect.vue?vue&type=template&id=5e7ed8dc&scoped=true&
|
|
31842
32182
|
var WeekdaySelectvue_type_template_id_5e7ed8dc_scoped_true_render = function render() {
|
|
31843
32183
|
var _vm = this,
|
|
31844
32184
|
_c = _vm._self._c;
|
|
@@ -32542,7 +32882,7 @@ var startTimerEvent_id = 'processmaker-modeler-start-timer-event';
|
|
|
32542
32882
|
}, documentationAccordionConfig, advancedAccordionConfig]
|
|
32543
32883
|
}]
|
|
32544
32884
|
}));
|
|
32545
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
32885
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"12fda814-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/nodes/intermediateEvent/intermediateEvent.vue?vue&type=template&id=f999f2fc&
|
|
32546
32886
|
var intermediateEventvue_type_template_id_f999f2fc_render = function render() {
|
|
32547
32887
|
var _vm = this,
|
|
32548
32888
|
_c = _vm._self._c;
|
|
@@ -32766,7 +33106,7 @@ var intermediateTimerEvent_component = normalizeComponent(
|
|
|
32766
33106
|
)
|
|
32767
33107
|
|
|
32768
33108
|
/* harmony default export */ var intermediateTimerEvent = (intermediateTimerEvent_component.exports);
|
|
32769
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
33109
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"12fda814-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/inspectors/IntermediateTimer.vue?vue&type=template&id=1dece816&
|
|
32770
33110
|
var IntermediateTimervue_type_template_id_1dece816_render = function render() {
|
|
32771
33111
|
var _vm = this,
|
|
32772
33112
|
_c = _vm._self._c;
|
|
@@ -32812,7 +33152,7 @@ var IntermediateTimervue_type_template_id_1dece816_staticRenderFns = [];
|
|
|
32812
33152
|
|
|
32813
33153
|
// CONCATENATED MODULE: ./src/components/inspectors/IntermediateTimer.vue?vue&type=template&id=1dece816&
|
|
32814
33154
|
|
|
32815
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
33155
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"12fda814-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/inspectors/DurationExpression.vue?vue&type=template&id=f35728f4&
|
|
32816
33156
|
|
|
32817
33157
|
|
|
32818
33158
|
var DurationExpressionvue_type_template_id_f35728f4_render = function render() {
|
|
@@ -32974,7 +33314,7 @@ var DurationExpression_component = normalizeComponent(
|
|
|
32974
33314
|
)
|
|
32975
33315
|
|
|
32976
33316
|
/* harmony default export */ var DurationExpression = (DurationExpression_component.exports);
|
|
32977
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
33317
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"12fda814-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/inspectors/DateTimeExpression.vue?vue&type=template&id=c5f30932&
|
|
32978
33318
|
var DateTimeExpressionvue_type_template_id_c5f30932_render = function render() {
|
|
32979
33319
|
var _vm = this,
|
|
32980
33320
|
_c = _vm._self._c;
|
|
@@ -33051,7 +33391,7 @@ var DateTimeExpression_component = normalizeComponent(
|
|
|
33051
33391
|
)
|
|
33052
33392
|
|
|
33053
33393
|
/* harmony default export */ var DateTimeExpression = (DateTimeExpression_component.exports);
|
|
33054
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
33394
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"12fda814-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/inspectors/CycleExpression.vue?vue&type=template&id=ca345eea&
|
|
33055
33395
|
|
|
33056
33396
|
|
|
33057
33397
|
var CycleExpressionvue_type_template_id_ca345eea_render = function render() {
|
|
@@ -34032,7 +34372,7 @@ var intermediateConditionalCatchEvent_id = 'processmaker-modeler-intermediate-co
|
|
|
34032
34372
|
}]
|
|
34033
34373
|
}]
|
|
34034
34374
|
})));
|
|
34035
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
34375
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"12fda814-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/nodes/task/task.vue?vue&type=template&id=6cf12260&
|
|
34036
34376
|
var taskvue_type_template_id_6cf12260_render = function render() {
|
|
34037
34377
|
var _vm = this,
|
|
34038
34378
|
_c = _vm._self._c;
|
|
@@ -34417,7 +34757,7 @@ var userTask_component = normalizeComponent(
|
|
|
34417
34757
|
)
|
|
34418
34758
|
|
|
34419
34759
|
/* harmony default export */ var userTask = (userTask_component.exports);
|
|
34420
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
34760
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"12fda814-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/inspectors/MarkerFlags.vue?vue&type=template&id=66aabb37&scoped=true&
|
|
34421
34761
|
var MarkerFlagsvue_type_template_id_66aabb37_scoped_true_render = function render() {
|
|
34422
34762
|
var _vm = this,
|
|
34423
34763
|
_c = _vm._self._c;
|
|
@@ -34513,8 +34853,8 @@ var MarkerFlags_component = normalizeComponent(
|
|
|
34513
34853
|
}
|
|
34514
34854
|
}]
|
|
34515
34855
|
});
|
|
34516
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
34517
|
-
var
|
|
34856
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"12fda814-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/inspectors/LoopCharacteristics.vue?vue&type=template&id=68268502&
|
|
34857
|
+
var LoopCharacteristicsvue_type_template_id_68268502_render = function render() {
|
|
34518
34858
|
var _vm = this,
|
|
34519
34859
|
_c = _vm._self._c;
|
|
34520
34860
|
return _c('div', [_c('b-form-group', {
|
|
@@ -34664,9 +35004,9 @@ var LoopCharacteristicsvue_type_template_id_8a810772_render = function render()
|
|
|
34664
35004
|
}
|
|
34665
35005
|
})], 1)] : _vm._e()], 2);
|
|
34666
35006
|
};
|
|
34667
|
-
var
|
|
35007
|
+
var LoopCharacteristicsvue_type_template_id_68268502_staticRenderFns = [];
|
|
34668
35008
|
|
|
34669
|
-
// CONCATENATED MODULE: ./src/components/inspectors/LoopCharacteristics.vue?vue&type=template&id=
|
|
35009
|
+
// CONCATENATED MODULE: ./src/components/inspectors/LoopCharacteristics.vue?vue&type=template&id=68268502&
|
|
34670
35010
|
|
|
34671
35011
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/inspectors/LoopCharacteristics.vue?vue&type=script&lang=js&
|
|
34672
35012
|
|
|
@@ -34713,7 +35053,10 @@ var LoopCharacteristicsvue_type_template_id_8a810772_staticRenderFns = [];
|
|
|
34713
35053
|
isSequential: false
|
|
34714
35054
|
},
|
|
34715
35055
|
loopMaximum: 0,
|
|
34716
|
-
loopCondition: null
|
|
35056
|
+
loopCondition: null,
|
|
35057
|
+
ioSpecification: {
|
|
35058
|
+
dataInputs: []
|
|
35059
|
+
}
|
|
34717
35060
|
},
|
|
34718
35061
|
loopType: null,
|
|
34719
35062
|
multiType: null,
|
|
@@ -34815,8 +35158,9 @@ var LoopCharacteristicsvue_type_template_id_8a810772_staticRenderFns = [];
|
|
|
34815
35158
|
};
|
|
34816
35159
|
},
|
|
34817
35160
|
getLoopDataOutputRef: function getLoopDataOutputRef() {
|
|
35161
|
+
var _this$local$ioSpecifi;
|
|
34818
35162
|
if (!this.local.loopCharacteristics || !this.local.loopCharacteristics.loopDataOutputRef) return null;
|
|
34819
|
-
return this.local.ioSpecification.dataOutputs[0].name;
|
|
35163
|
+
return (_this$local$ioSpecifi = this.local.ioSpecification) === null || _this$local$ioSpecifi === void 0 ? void 0 : _this$local$ioSpecifi.dataOutputs[0].name;
|
|
34820
35164
|
},
|
|
34821
35165
|
setLoopDataOutputRef: function setLoopDataOutputRef(value) {
|
|
34822
35166
|
if (!this.local.ioSpecification) {
|
|
@@ -34845,8 +35189,9 @@ var LoopCharacteristicsvue_type_template_id_8a810772_staticRenderFns = [];
|
|
|
34845
35189
|
};
|
|
34846
35190
|
},
|
|
34847
35191
|
getLoopDataInputRef: function getLoopDataInputRef() {
|
|
35192
|
+
var _this$local$ioSpecifi2;
|
|
34848
35193
|
if (!this.local.loopCharacteristics || !this.local.loopCharacteristics.loopDataInputRef) return null;
|
|
34849
|
-
return this.local.ioSpecification.dataInputs[0].name;
|
|
35194
|
+
return (_this$local$ioSpecifi2 = this.local.ioSpecification) === null || _this$local$ioSpecifi2 === void 0 ? void 0 : _this$local$ioSpecifi2.dataInputs[0].name;
|
|
34850
35195
|
},
|
|
34851
35196
|
setLoopDataInputRef: function setLoopDataInputRef(value) {
|
|
34852
35197
|
var dataDef = {
|
|
@@ -35002,8 +35347,8 @@ var LoopCharacteristicsvue_type_template_id_8a810772_staticRenderFns = [];
|
|
|
35002
35347
|
|
|
35003
35348
|
var LoopCharacteristics_component = normalizeComponent(
|
|
35004
35349
|
inspectors_LoopCharacteristicsvue_type_script_lang_js_,
|
|
35005
|
-
|
|
35006
|
-
|
|
35350
|
+
LoopCharacteristicsvue_type_template_id_68268502_render,
|
|
35351
|
+
LoopCharacteristicsvue_type_template_id_68268502_staticRenderFns,
|
|
35007
35352
|
false,
|
|
35008
35353
|
null,
|
|
35009
35354
|
null,
|
|
@@ -35031,6 +35376,51 @@ function _classPrivateFieldInitSpec(obj, privateMap, value) {
|
|
|
35031
35376
|
_checkPrivateRedeclaration(obj, privateMap);
|
|
35032
35377
|
privateMap.set(obj, value);
|
|
35033
35378
|
}
|
|
35379
|
+
// CONCATENATED MODULE: ./node_modules/@vue/babel-preset-app/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorGet.js
|
|
35380
|
+
function _classApplyDescriptorGet(receiver, descriptor) {
|
|
35381
|
+
if (descriptor.get) {
|
|
35382
|
+
return descriptor.get.call(receiver);
|
|
35383
|
+
}
|
|
35384
|
+
return descriptor.value;
|
|
35385
|
+
}
|
|
35386
|
+
// CONCATENATED MODULE: ./node_modules/@vue/babel-preset-app/node_modules/@babel/runtime/helpers/esm/classExtractFieldDescriptor.js
|
|
35387
|
+
|
|
35388
|
+
function _classExtractFieldDescriptor(receiver, privateMap, action) {
|
|
35389
|
+
if (!privateMap.has(receiver)) {
|
|
35390
|
+
throw new TypeError("attempted to " + action + " private field on non-instance");
|
|
35391
|
+
}
|
|
35392
|
+
return privateMap.get(receiver);
|
|
35393
|
+
}
|
|
35394
|
+
// CONCATENATED MODULE: ./node_modules/@vue/babel-preset-app/node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet.js
|
|
35395
|
+
|
|
35396
|
+
|
|
35397
|
+
function _classPrivateFieldGet(receiver, privateMap) {
|
|
35398
|
+
var descriptor = _classExtractFieldDescriptor(receiver, privateMap, "get");
|
|
35399
|
+
return _classApplyDescriptorGet(receiver, descriptor);
|
|
35400
|
+
}
|
|
35401
|
+
// CONCATENATED MODULE: ./node_modules/@vue/babel-preset-app/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticAccess.js
|
|
35402
|
+
|
|
35403
|
+
function _classCheckPrivateStaticAccess(receiver, classConstructor) {
|
|
35404
|
+
if (receiver !== classConstructor) {
|
|
35405
|
+
throw new TypeError("Private static access of wrong provenance");
|
|
35406
|
+
}
|
|
35407
|
+
}
|
|
35408
|
+
// CONCATENATED MODULE: ./node_modules/@vue/babel-preset-app/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticFieldDescriptor.js
|
|
35409
|
+
|
|
35410
|
+
function _classCheckPrivateStaticFieldDescriptor(descriptor, action) {
|
|
35411
|
+
if (descriptor === undefined) {
|
|
35412
|
+
throw new TypeError("attempted to " + action + " private static field before its declaration");
|
|
35413
|
+
}
|
|
35414
|
+
}
|
|
35415
|
+
// CONCATENATED MODULE: ./node_modules/@vue/babel-preset-app/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecGet.js
|
|
35416
|
+
|
|
35417
|
+
|
|
35418
|
+
|
|
35419
|
+
function _classStaticPrivateFieldSpecGet(receiver, classConstructor, descriptor) {
|
|
35420
|
+
_classCheckPrivateStaticAccess(receiver, classConstructor);
|
|
35421
|
+
_classCheckPrivateStaticFieldDescriptor(descriptor, "get");
|
|
35422
|
+
return _classApplyDescriptorGet(receiver, descriptor);
|
|
35423
|
+
}
|
|
35034
35424
|
// CONCATENATED MODULE: ./node_modules/@vue/babel-preset-app/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorSet.js
|
|
35035
35425
|
|
|
35036
35426
|
function _classApplyDescriptorSet(receiver, descriptor, value) {
|
|
@@ -35043,36 +35433,28 @@ function _classApplyDescriptorSet(receiver, descriptor, value) {
|
|
|
35043
35433
|
descriptor.value = value;
|
|
35044
35434
|
}
|
|
35045
35435
|
}
|
|
35046
|
-
// CONCATENATED MODULE: ./node_modules/@vue/babel-preset-app/node_modules/@babel/runtime/helpers/esm/
|
|
35436
|
+
// CONCATENATED MODULE: ./node_modules/@vue/babel-preset-app/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecSet.js
|
|
35047
35437
|
|
|
35048
|
-
function _classExtractFieldDescriptor(receiver, privateMap, action) {
|
|
35049
|
-
if (!privateMap.has(receiver)) {
|
|
35050
|
-
throw new TypeError("attempted to " + action + " private field on non-instance");
|
|
35051
|
-
}
|
|
35052
|
-
return privateMap.get(receiver);
|
|
35053
|
-
}
|
|
35054
|
-
// CONCATENATED MODULE: ./node_modules/@vue/babel-preset-app/node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet.js
|
|
35055
35438
|
|
|
35056
35439
|
|
|
35057
|
-
function
|
|
35058
|
-
|
|
35440
|
+
function _classStaticPrivateFieldSpecSet(receiver, classConstructor, descriptor, value) {
|
|
35441
|
+
_classCheckPrivateStaticAccess(receiver, classConstructor);
|
|
35442
|
+
_classCheckPrivateStaticFieldDescriptor(descriptor, "set");
|
|
35059
35443
|
_classApplyDescriptorSet(receiver, descriptor, value);
|
|
35060
35444
|
return value;
|
|
35061
35445
|
}
|
|
35062
|
-
//
|
|
35063
|
-
|
|
35064
|
-
if (descriptor.get) {
|
|
35065
|
-
return descriptor.get.call(receiver);
|
|
35066
|
-
}
|
|
35067
|
-
return descriptor.value;
|
|
35068
|
-
}
|
|
35069
|
-
// CONCATENATED MODULE: ./node_modules/@vue/babel-preset-app/node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet.js
|
|
35446
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.constructor.js
|
|
35447
|
+
var es_regexp_constructor = __webpack_require__("4d63");
|
|
35070
35448
|
|
|
35449
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.dot-all.js
|
|
35450
|
+
var es_regexp_dot_all = __webpack_require__("c607");
|
|
35451
|
+
|
|
35452
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.sticky.js
|
|
35453
|
+
var es_regexp_sticky = __webpack_require__("2c3e");
|
|
35454
|
+
|
|
35455
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.to-string.js
|
|
35456
|
+
var es_regexp_to_string = __webpack_require__("25f0");
|
|
35071
35457
|
|
|
35072
|
-
function _classPrivateFieldGet(receiver, privateMap) {
|
|
35073
|
-
var descriptor = _classExtractFieldDescriptor(receiver, privateMap, "get");
|
|
35074
|
-
return _classApplyDescriptorGet(receiver, descriptor);
|
|
35075
|
-
}
|
|
35076
35458
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.weak-map.js
|
|
35077
35459
|
var es_weak_map = __webpack_require__("10d1");
|
|
35078
35460
|
|
|
@@ -35091,60 +35473,45 @@ var es_weak_map = __webpack_require__("10d1");
|
|
|
35091
35473
|
|
|
35092
35474
|
|
|
35093
35475
|
|
|
35094
|
-
|
|
35095
|
-
|
|
35476
|
+
|
|
35477
|
+
|
|
35478
|
+
|
|
35479
|
+
|
|
35480
|
+
|
|
35481
|
+
|
|
35482
|
+
|
|
35483
|
+
|
|
35096
35484
|
var _generateDefinitionId = /*#__PURE__*/new WeakMap();
|
|
35097
35485
|
var _generateDiagramId = /*#__PURE__*/new WeakMap();
|
|
35098
|
-
var _isDefinitionIdUnique = /*#__PURE__*/new WeakMap();
|
|
35099
|
-
var _isDiagramIdUnique = /*#__PURE__*/new WeakMap();
|
|
35100
35486
|
var NodeIdGenerator_NodeIdGenerator = /*#__PURE__*/function () {
|
|
35101
35487
|
function NodeIdGenerator(definitions) {
|
|
35102
|
-
var _this = this;
|
|
35103
35488
|
_classCallCheck(this, NodeIdGenerator);
|
|
35104
|
-
_classPrivateFieldInitSpec(this, _counter, {
|
|
35105
|
-
writable: true,
|
|
35106
|
-
value: 1
|
|
35107
|
-
});
|
|
35108
|
-
_classPrivateFieldInitSpec(this, _diagramCounter, {
|
|
35109
|
-
writable: true,
|
|
35110
|
-
value: 1
|
|
35111
|
-
});
|
|
35112
35489
|
_classPrivateFieldInitSpec(this, _generateDefinitionId, {
|
|
35113
35490
|
writable: true,
|
|
35114
35491
|
value: function value() {
|
|
35115
|
-
var
|
|
35116
|
-
var id = NodeIdGenerator.prefix +
|
|
35117
|
-
|
|
35492
|
+
var _NodeIdGenerator$coun, _NodeIdGenerator$coun2;
|
|
35493
|
+
var id = NodeIdGenerator.prefix + _classStaticPrivateFieldSpecGet(NodeIdGenerator, NodeIdGenerator, _counter);
|
|
35494
|
+
_classStaticPrivateFieldSpecSet(NodeIdGenerator, NodeIdGenerator, _counter, (_NodeIdGenerator$coun = _classStaticPrivateFieldSpecGet(NodeIdGenerator, NodeIdGenerator, _counter), _NodeIdGenerator$coun2 = _NodeIdGenerator$coun++, _NodeIdGenerator$coun)), _NodeIdGenerator$coun2;
|
|
35118
35495
|
return id;
|
|
35119
35496
|
}
|
|
35120
35497
|
});
|
|
35121
35498
|
_classPrivateFieldInitSpec(this, _generateDiagramId, {
|
|
35122
35499
|
writable: true,
|
|
35123
35500
|
value: function value() {
|
|
35124
|
-
var
|
|
35125
|
-
var id = NodeIdGenerator.prefix +
|
|
35126
|
-
|
|
35501
|
+
var _NodeIdGenerator$diag, _NodeIdGenerator$diag2;
|
|
35502
|
+
var id = NodeIdGenerator.prefix + _classStaticPrivateFieldSpecGet(NodeIdGenerator, NodeIdGenerator, _diagramCounter) + '_di';
|
|
35503
|
+
_classStaticPrivateFieldSpecSet(NodeIdGenerator, NodeIdGenerator, _diagramCounter, (_NodeIdGenerator$diag = _classStaticPrivateFieldSpecGet(NodeIdGenerator, NodeIdGenerator, _diagramCounter), _NodeIdGenerator$diag2 = _NodeIdGenerator$diag++, _NodeIdGenerator$diag)), _NodeIdGenerator$diag2;
|
|
35127
35504
|
return id;
|
|
35128
35505
|
}
|
|
35129
35506
|
});
|
|
35130
|
-
_classPrivateFieldInitSpec(this, _isDefinitionIdUnique, {
|
|
35131
|
-
writable: true,
|
|
35132
|
-
value: function value(id) {
|
|
35133
|
-
return !_this.findById(id) && !_this.findById(id, _this.definitions.diagrams);
|
|
35134
|
-
}
|
|
35135
|
-
});
|
|
35136
|
-
_classPrivateFieldInitSpec(this, _isDiagramIdUnique, {
|
|
35137
|
-
writable: true,
|
|
35138
|
-
value: function value(id) {
|
|
35139
|
-
return !_this.findById(id) && !_this.findById(id, _this.definitions.diagrams);
|
|
35140
|
-
}
|
|
35141
|
-
});
|
|
35142
35507
|
this.definitions = definitions;
|
|
35508
|
+
this.refreshLastIdCounter();
|
|
35509
|
+
this.refreshLastDiagramIdCounter();
|
|
35143
35510
|
}
|
|
35144
35511
|
_createClass(NodeIdGenerator, [{
|
|
35145
35512
|
key: "findById",
|
|
35146
35513
|
value: function findById(id) {
|
|
35147
|
-
var
|
|
35514
|
+
var _this = this;
|
|
35148
35515
|
var root = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this.definitions.rootElements;
|
|
35149
35516
|
var walked = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];
|
|
35150
35517
|
if (walked.indexOf(root) > -1) return;
|
|
@@ -35152,35 +35519,91 @@ var NodeIdGenerator_NodeIdGenerator = /*#__PURE__*/function () {
|
|
|
35152
35519
|
if (root instanceof Array) {
|
|
35153
35520
|
walked.push(root);
|
|
35154
35521
|
root.find(function (item) {
|
|
35155
|
-
return found =
|
|
35522
|
+
return found = _this.findById(id, item, walked);
|
|
35156
35523
|
});
|
|
35157
35524
|
} else if (root instanceof Object && root.$type) {
|
|
35158
35525
|
walked.push(root);
|
|
35159
35526
|
if (root.id === id) return root;
|
|
35160
35527
|
Object.getOwnPropertyNames(root).find(function (key) {
|
|
35161
|
-
return found = !(root[key] instanceof Function) &&
|
|
35528
|
+
return found = !(root[key] instanceof Function) && key.substring(0, 1) !== '$' && _this.findById(id, root[key], walked);
|
|
35162
35529
|
});
|
|
35163
35530
|
}
|
|
35164
35531
|
return found;
|
|
35165
35532
|
}
|
|
35533
|
+
}, {
|
|
35534
|
+
key: "matchIds",
|
|
35535
|
+
value: function matchIds(idRegex, root) {
|
|
35536
|
+
var _this2 = this;
|
|
35537
|
+
var walked = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];
|
|
35538
|
+
var lastIdCounter = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 0;
|
|
35539
|
+
if (walked.indexOf(root) > -1) return lastIdCounter;
|
|
35540
|
+
if (root instanceof Array) {
|
|
35541
|
+
walked.push(root);
|
|
35542
|
+
root.forEach(function (item) {
|
|
35543
|
+
return lastIdCounter = _this2.matchIds(idRegex, item, walked, lastIdCounter);
|
|
35544
|
+
});
|
|
35545
|
+
} else if (root instanceof Object) {
|
|
35546
|
+
walked.push(root);
|
|
35547
|
+
if (root.id) {
|
|
35548
|
+
var match = String(root.id).match(idRegex);
|
|
35549
|
+
var idCounter = match ? parseInt(match[1]) : 0;
|
|
35550
|
+
if (idCounter > lastIdCounter) {
|
|
35551
|
+
lastIdCounter = idCounter;
|
|
35552
|
+
}
|
|
35553
|
+
}
|
|
35554
|
+
Object.getOwnPropertyNames(root).forEach(function (key) {
|
|
35555
|
+
if (!(root[key] instanceof Function) && key.substring(0, 1) !== '$') {
|
|
35556
|
+
lastIdCounter = _this2.matchIds(idRegex, root[key], walked, lastIdCounter);
|
|
35557
|
+
}
|
|
35558
|
+
});
|
|
35559
|
+
}
|
|
35560
|
+
return lastIdCounter;
|
|
35561
|
+
}
|
|
35562
|
+
}, {
|
|
35563
|
+
key: "refreshLastIdCounter",
|
|
35564
|
+
value: function refreshLastIdCounter() {
|
|
35565
|
+
var lastIdCounter = this.matchIds(new RegExp("^".concat(NodeIdGenerator.prefix, "(\\d+)$")), this.definitions.rootElements);
|
|
35566
|
+
_classStaticPrivateFieldSpecSet(NodeIdGenerator, NodeIdGenerator, _counter, lastIdCounter + 1);
|
|
35567
|
+
}
|
|
35568
|
+
}, {
|
|
35569
|
+
key: "getCounter",
|
|
35570
|
+
value: function getCounter() {
|
|
35571
|
+
this.refreshLastIdCounter();
|
|
35572
|
+
return _classStaticPrivateFieldSpecGet(NodeIdGenerator, NodeIdGenerator, _counter);
|
|
35573
|
+
}
|
|
35574
|
+
}, {
|
|
35575
|
+
key: "refreshLastDiagramIdCounter",
|
|
35576
|
+
value: function refreshLastDiagramIdCounter() {
|
|
35577
|
+
var lastIdCounter = this.matchIds(new RegExp("^".concat(NodeIdGenerator.prefix, "(\\d+)_di$")), this.definitions.diagrams);
|
|
35578
|
+
_classStaticPrivateFieldSpecSet(NodeIdGenerator, NodeIdGenerator, _diagramCounter, lastIdCounter + 1);
|
|
35579
|
+
}
|
|
35166
35580
|
}, {
|
|
35167
35581
|
key: "generate",
|
|
35168
35582
|
value: function generate() {
|
|
35169
35583
|
var definitionId = _classPrivateFieldGet(this, _generateDefinitionId).call(this);
|
|
35170
35584
|
var diagramId = _classPrivateFieldGet(this, _generateDiagramId).call(this);
|
|
35171
|
-
while (!_classPrivateFieldGet(this, _isDefinitionIdUnique).call(this, definitionId)) {
|
|
35172
|
-
definitionId = _classPrivateFieldGet(this, _generateDefinitionId).call(this);
|
|
35173
|
-
}
|
|
35174
|
-
while (!_classPrivateFieldGet(this, _isDiagramIdUnique).call(this, diagramId)) {
|
|
35175
|
-
diagramId = _classPrivateFieldGet(this, _generateDiagramId).call(this);
|
|
35176
|
-
}
|
|
35177
35585
|
return [definitionId, diagramId];
|
|
35178
35586
|
}
|
|
35179
35587
|
}]);
|
|
35180
35588
|
return NodeIdGenerator;
|
|
35181
|
-
}();
|
|
35589
|
+
}(); // Singleton instance
|
|
35182
35590
|
_defineProperty(NodeIdGenerator_NodeIdGenerator, "prefix", 'node_');
|
|
35591
|
+
var _counter = {
|
|
35592
|
+
writable: true,
|
|
35593
|
+
value: 1
|
|
35594
|
+
};
|
|
35595
|
+
var _diagramCounter = {
|
|
35596
|
+
writable: true,
|
|
35597
|
+
value: 1
|
|
35598
|
+
};
|
|
35183
35599
|
|
|
35600
|
+
var singleton = null;
|
|
35601
|
+
function getNodeIdGenerator(definitions) {
|
|
35602
|
+
if (!singleton) {
|
|
35603
|
+
singleton = new NodeIdGenerator_NodeIdGenerator(definitions);
|
|
35604
|
+
}
|
|
35605
|
+
return singleton;
|
|
35606
|
+
}
|
|
35184
35607
|
// CONCATENATED MODULE: ./src/NodeInspector.js
|
|
35185
35608
|
|
|
35186
35609
|
|
|
@@ -35203,7 +35626,7 @@ var NodeInspector_NodeInspector = /*#__PURE__*/function () {
|
|
|
35203
35626
|
_classCallCheck(this, NodeInspector);
|
|
35204
35627
|
this.index = window.NODE_INSPECTOR_FIRST_INDEX || new Date().getTime();
|
|
35205
35628
|
this.definitions = definitions;
|
|
35206
|
-
this.nodeIdGenerator =
|
|
35629
|
+
this.nodeIdGenerator = getNodeIdGenerator(this.definitions);
|
|
35207
35630
|
this.options = Object.assign({
|
|
35208
35631
|
prefix: this.nodeIdGenerator.generate()[0]
|
|
35209
35632
|
}, options);
|
|
@@ -35483,7 +35906,7 @@ function handleMarkerFlagsValue(markerFlags, node, setNodeProp) {
|
|
|
35483
35906
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.json.stringify.js
|
|
35484
35907
|
var es_json_stringify = __webpack_require__("e9c4");
|
|
35485
35908
|
|
|
35486
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
35909
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"12fda814-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/nodes/subProcess/subProcess.vue?vue&type=template&id=0d80e6df&
|
|
35487
35910
|
var subProcessvue_type_template_id_0d80e6df_render = function render() {
|
|
35488
35911
|
var _vm = this,
|
|
35489
35912
|
_c = _vm._self._c;
|
|
@@ -35548,9 +35971,6 @@ var subProcessvue_type_template_id_0d80e6df_staticRenderFns = [];
|
|
|
35548
35971
|
|
|
35549
35972
|
// CONCATENATED MODULE: ./src/components/nodes/subProcess/subProcess.vue?vue&type=template&id=0d80e6df&
|
|
35550
35973
|
|
|
35551
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.replace.js
|
|
35552
|
-
var es_string_replace = __webpack_require__("5319");
|
|
35553
|
-
|
|
35554
35974
|
// EXTERNAL MODULE: ./src/assets/subprocess.svg
|
|
35555
35975
|
var subprocess = __webpack_require__("582a");
|
|
35556
35976
|
var subprocess_default = /*#__PURE__*/__webpack_require__.n(subprocess);
|
|
@@ -35741,7 +36161,7 @@ var subProcess_component = normalizeComponent(
|
|
|
35741
36161
|
)
|
|
35742
36162
|
|
|
35743
36163
|
/* harmony default export */ var subProcess = (subProcess_component.exports);
|
|
35744
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
36164
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"12fda814-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/nodes/subProcess/SubProcessFormSelect.vue?vue&type=template&id=4bda385c&
|
|
35745
36165
|
var SubProcessFormSelectvue_type_template_id_4bda385c_render = function render() {
|
|
35746
36166
|
var _vm = this,
|
|
35747
36167
|
_c = _vm._self._c;
|
|
@@ -36225,7 +36645,7 @@ var scriptTask_id = 'processmaker-modeler-script-task';
|
|
|
36225
36645
|
}, documentationAccordionConfig, advancedAccordionConfig]
|
|
36226
36646
|
}]
|
|
36227
36647
|
}));
|
|
36228
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
36648
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"12fda814-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/nodes/textAnnotation/textAnnotation.vue?vue&type=template&id=2702f9d9&
|
|
36229
36649
|
var textAnnotationvue_type_template_id_2702f9d9_render = function render() {
|
|
36230
36650
|
var _vm = this,
|
|
36231
36651
|
_c = _vm._self._c;
|
|
@@ -36426,7 +36846,7 @@ var textAnnotation_id = 'processmaker-modeler-text-annotation';
|
|
|
36426
36846
|
}, documentationAccordionConfig, advancedAccordionConfig]
|
|
36427
36847
|
}]
|
|
36428
36848
|
});
|
|
36429
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
36849
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"12fda814-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/nodes/pool/pool.vue?vue&type=template&id=6ad64eb6&
|
|
36430
36850
|
var poolvue_type_template_id_6ad64eb6_render = function render() {
|
|
36431
36851
|
var _vm = this,
|
|
36432
36852
|
_c = _vm._self._c;
|
|
@@ -37016,7 +37436,7 @@ var minLaneHeight = 100;
|
|
|
37016
37436
|
});
|
|
37017
37437
|
}
|
|
37018
37438
|
});
|
|
37019
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
37439
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"12fda814-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/nodes/poolLane/poolLane.vue?vue&type=template&id=077a384c&
|
|
37020
37440
|
var poolLanevue_type_template_id_077a384c_render = function render() {
|
|
37021
37441
|
var _vm = this,
|
|
37022
37442
|
_c = _vm._self._c;
|
|
@@ -37176,7 +37596,7 @@ var poolLane_component = normalizeComponent(
|
|
|
37176
37596
|
}, documentationAccordionConfig, advancedAccordionConfig]
|
|
37177
37597
|
}]
|
|
37178
37598
|
});
|
|
37179
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
37599
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"12fda814-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/crown/crownButtons/addLaneAboveButton.vue?vue&type=template&id=19096851&
|
|
37180
37600
|
var addLaneAboveButtonvue_type_template_id_19096851_render = function render() {
|
|
37181
37601
|
var _vm = this,
|
|
37182
37602
|
_c = _vm._self._c;
|
|
@@ -37236,7 +37656,7 @@ var addLaneAboveButton_component = normalizeComponent(
|
|
|
37236
37656
|
)
|
|
37237
37657
|
|
|
37238
37658
|
/* harmony default export */ var addLaneAboveButton = (addLaneAboveButton_component.exports);
|
|
37239
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
37659
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"12fda814-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/crown/crownButtons/addLaneBelowButton.vue?vue&type=template&id=3cc11e26&
|
|
37240
37660
|
var addLaneBelowButtonvue_type_template_id_3cc11e26_render = function render() {
|
|
37241
37661
|
var _vm = this,
|
|
37242
37662
|
_c = _vm._self._c;
|
|
@@ -37321,7 +37741,7 @@ var Pool = external_jointjs_["shapes"].standard.Rectangle.define('processmaker.m
|
|
|
37321
37741
|
}
|
|
37322
37742
|
});
|
|
37323
37743
|
/* harmony default export */ var pool_poolShape = (Pool);
|
|
37324
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
37744
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"12fda814-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/nodes/dataObject/dataObject.vue?vue&type=template&id=87c6177c&
|
|
37325
37745
|
var dataObjectvue_type_template_id_87c6177c_render = function render() {
|
|
37326
37746
|
var _vm = this,
|
|
37327
37747
|
_c = _vm._self._c;
|
|
@@ -37461,7 +37881,7 @@ var dataObject_id = 'processmaker-modeler-data-object';
|
|
|
37461
37881
|
}, documentationAccordionConfig, advancedAccordionConfig]
|
|
37462
37882
|
}]
|
|
37463
37883
|
});
|
|
37464
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
37884
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"12fda814-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/nodes/dataStore/dataStore.vue?vue&type=template&id=a13445d0&
|
|
37465
37885
|
var dataStorevue_type_template_id_a13445d0_render = function render() {
|
|
37466
37886
|
var _vm = this,
|
|
37467
37887
|
_c = _vm._self._c;
|
|
@@ -38419,7 +38839,7 @@ var pool_component = normalizeComponent(
|
|
|
38419
38839
|
}, documentationAccordionConfig, advancedAccordionConfig]
|
|
38420
38840
|
}]
|
|
38421
38841
|
});
|
|
38422
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
38842
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"12fda814-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/validationStatus/ValidationStatus.vue?vue&type=template&id=1ad192c7&scoped=true&
|
|
38423
38843
|
|
|
38424
38844
|
var ValidationStatusvue_type_template_id_1ad192c7_scoped_true_render = function render() {
|
|
38425
38845
|
var _vm = this,
|
|
@@ -38651,10 +39071,10 @@ var ValidationStatus_component = normalizeComponent(
|
|
|
38651
39071
|
)
|
|
38652
39072
|
|
|
38653
39073
|
/* harmony default export */ var ValidationStatus = (ValidationStatus_component.exports);
|
|
38654
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
39074
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"12fda814-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/modeler/Modeler.vue?vue&type=template&id=080b7d44&
|
|
38655
39075
|
|
|
38656
39076
|
|
|
38657
|
-
var
|
|
39077
|
+
var Modelervue_type_template_id_080b7d44_render = function render() {
|
|
38658
39078
|
var _vm = this,
|
|
38659
39079
|
_c = _vm._self._c;
|
|
38660
39080
|
return _c('span', {
|
|
@@ -38824,11 +39244,11 @@ var Modelervue_type_template_id_3747d1ec_render = function render() {
|
|
|
38824
39244
|
}
|
|
38825
39245
|
}) : _vm._e()], 2)], 1);
|
|
38826
39246
|
};
|
|
38827
|
-
var
|
|
39247
|
+
var Modelervue_type_template_id_080b7d44_staticRenderFns = [];
|
|
38828
39248
|
|
|
38829
|
-
// CONCATENATED MODULE: ./src/components/modeler/Modeler.vue?vue&type=template&id=
|
|
39249
|
+
// CONCATENATED MODULE: ./src/components/modeler/Modeler.vue?vue&type=template&id=080b7d44&
|
|
38830
39250
|
|
|
38831
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
39251
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"12fda814-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/nodes/boundaryEvent/boundaryEvent.vue?vue&type=template&id=19cfef66&
|
|
38832
39252
|
var boundaryEventvue_type_template_id_19cfef66_render = function render() {
|
|
38833
39253
|
var _vm = this,
|
|
38834
39254
|
_c = _vm._self._c;
|
|
@@ -39181,7 +39601,7 @@ var boundaryEvent_component = normalizeComponent(
|
|
|
39181
39601
|
var external_bpmn_moddle_ = __webpack_require__("f2e1");
|
|
39182
39602
|
var external_bpmn_moddle_default = /*#__PURE__*/__webpack_require__.n(external_bpmn_moddle_);
|
|
39183
39603
|
|
|
39184
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
39604
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"12fda814-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/controls.vue?vue&type=template&id=6bd76071&scoped=true&
|
|
39185
39605
|
var controlsvue_type_template_id_6bd76071_scoped_true_render = function render() {
|
|
39186
39606
|
var _vm = this,
|
|
39187
39607
|
_c = _vm._self._c;
|
|
@@ -39387,7 +39807,7 @@ var controls_component = normalizeComponent(
|
|
|
39387
39807
|
var lodash_remove = __webpack_require__("c04c");
|
|
39388
39808
|
var remove_default = /*#__PURE__*/__webpack_require__.n(lodash_remove);
|
|
39389
39809
|
|
|
39390
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
39810
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"12fda814-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/inspectors/InspectorPanel.vue?vue&type=template&id=48002854&scoped=true&
|
|
39391
39811
|
var InspectorPanelvue_type_template_id_48002854_scoped_true_render = function render() {
|
|
39392
39812
|
var _vm = this,
|
|
39393
39813
|
_c = _vm._self._c;
|
|
@@ -39457,7 +39877,7 @@ var noop_default = /*#__PURE__*/__webpack_require__.n(noop);
|
|
|
39457
39877
|
|
|
39458
39878
|
// CONCATENATED MODULE: ./src/components/inspectors/process.js
|
|
39459
39879
|
|
|
39460
|
-
|
|
39880
|
+
var process_process = {
|
|
39461
39881
|
id: 'processmaker-modeler-process',
|
|
39462
39882
|
bpmnType: 'bpmn:Process',
|
|
39463
39883
|
control: false,
|
|
@@ -39487,7 +39907,9 @@ var noop_default = /*#__PURE__*/__webpack_require__.n(noop);
|
|
|
39487
39907
|
}]
|
|
39488
39908
|
}]
|
|
39489
39909
|
}]
|
|
39490
|
-
}
|
|
39910
|
+
};
|
|
39911
|
+
var process_id = process_process.id;
|
|
39912
|
+
/* harmony default export */ var inspectors_process = (process_process);
|
|
39491
39913
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/inspectors/InspectorPanel.vue?vue&type=script&lang=js&
|
|
39492
39914
|
|
|
39493
39915
|
|
|
@@ -40110,7 +40532,7 @@ function getLocalMousePosition(clientX, clientY, paper) {
|
|
|
40110
40532
|
y: clientY
|
|
40111
40533
|
});
|
|
40112
40534
|
}
|
|
40113
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
40535
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"12fda814-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/miniPaper/MiniPaper.vue?vue&type=template&id=3f2e95bf&scoped=true&
|
|
40114
40536
|
var MiniPapervue_type_template_id_3f2e95bf_scoped_true_render = function render() {
|
|
40115
40537
|
var _vm = this,
|
|
40116
40538
|
_c = _vm._self._c;
|
|
@@ -40129,6 +40551,14 @@ var MiniPapervue_type_template_id_3f2e95bf_scoped_true_staticRenderFns = [];
|
|
|
40129
40551
|
|
|
40130
40552
|
// CONCATENATED MODULE: ./src/components/miniPaper/MiniPaper.vue?vue&type=template&id=3f2e95bf&scoped=true&
|
|
40131
40553
|
|
|
40554
|
+
// CONCATENATED MODULE: ./node_modules/@vue/babel-preset-app/node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet.js
|
|
40555
|
+
|
|
40556
|
+
|
|
40557
|
+
function _classPrivateFieldSet(receiver, privateMap, value) {
|
|
40558
|
+
var descriptor = _classExtractFieldDescriptor(receiver, privateMap, "set");
|
|
40559
|
+
_classApplyDescriptorSet(receiver, descriptor, value);
|
|
40560
|
+
return value;
|
|
40561
|
+
}
|
|
40132
40562
|
// CONCATENATED MODULE: ./src/components/miniMapManager.js
|
|
40133
40563
|
|
|
40134
40564
|
|
|
@@ -40570,7 +41000,7 @@ function getElementPool(shape) {
|
|
|
40570
41000
|
function isPool(shape) {
|
|
40571
41001
|
return shape.component.node.type === pool_config_id;
|
|
40572
41002
|
}
|
|
40573
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
41003
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"12fda814-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/toolbar/ToolBar.vue?vue&type=template&id=6e6292d7&
|
|
40574
41004
|
var ToolBarvue_type_template_id_6e6292d7_render = function render() {
|
|
40575
41005
|
var _vm = this,
|
|
40576
41006
|
_c = _vm._self._c;
|
|
@@ -40858,7 +41288,7 @@ var ToolBarvue_type_template_id_6e6292d7_staticRenderFns = [];
|
|
|
40858
41288
|
|
|
40859
41289
|
// CONCATENATED MODULE: ./src/components/toolbar/ToolBar.vue?vue&type=template&id=6e6292d7&
|
|
40860
41290
|
|
|
40861
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
41291
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"12fda814-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/toolbar/breadcrumb/Breadcrumb.vue?vue&type=template&id=d1e148b4&scoped=true&
|
|
40862
41292
|
var Breadcrumbvue_type_template_id_d1e148b4_scoped_true_render = function render() {
|
|
40863
41293
|
var _vm = this,
|
|
40864
41294
|
_c = _vm._self._c;
|
|
@@ -40933,7 +41363,7 @@ var Breadcrumb_component = normalizeComponent(
|
|
|
40933
41363
|
)
|
|
40934
41364
|
|
|
40935
41365
|
/* harmony default export */ var Breadcrumb = (Breadcrumb_component.exports);
|
|
40936
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
41366
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"12fda814-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/toolbar/alignButtons/AlignButtons.vue?vue&type=template&id=2ea4dea5&
|
|
40937
41367
|
var AlignButtonsvue_type_template_id_2ea4dea5_render = function render() {
|
|
40938
41368
|
var _vm = this,
|
|
40939
41369
|
_c = _vm._self._c;
|
|
@@ -41766,9 +42196,6 @@ function addNodeToProcess(node, targetProcess) {
|
|
|
41766
42196
|
}
|
|
41767
42197
|
targetProcess.get(target).push(node.definition);
|
|
41768
42198
|
}
|
|
41769
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.to-string.js
|
|
41770
|
-
var es_regexp_to_string = __webpack_require__("25f0");
|
|
41771
|
-
|
|
41772
42199
|
// CONCATENATED MODULE: ./src/components/hotkeys/zoomInOut.js
|
|
41773
42200
|
/* harmony default export */ var zoomInOut = ({
|
|
41774
42201
|
methods: {
|
|
@@ -41796,12 +42223,15 @@ var es_regexp_to_string = __webpack_require__("25f0");
|
|
|
41796
42223
|
/* harmony default export */ var copyPaste = ({
|
|
41797
42224
|
methods: {
|
|
41798
42225
|
copyPasteHandler: function copyPasteHandler(event, options) {
|
|
41799
|
-
var
|
|
41800
|
-
var
|
|
41801
|
-
|
|
42226
|
+
var node = event.target.nodeName.toLowerCase();
|
|
42227
|
+
var isBody = node === 'body';
|
|
42228
|
+
var key = event.key.toLowerCase();
|
|
42229
|
+
var isCopy = key === 'c';
|
|
42230
|
+
var isPaste = key === 'v';
|
|
42231
|
+
if (isBody && isCopy && options.mod) {
|
|
41802
42232
|
this.copy(event);
|
|
41803
42233
|
}
|
|
41804
|
-
if (isPaste && options.mod) {
|
|
42234
|
+
if (isBody && isPaste && options.mod) {
|
|
41805
42235
|
this.paste(event);
|
|
41806
42236
|
}
|
|
41807
42237
|
},
|
|
@@ -41898,6 +42328,11 @@ function expandPoolToContainElement(shape) {
|
|
|
41898
42328
|
|
|
41899
42329
|
/* harmony default export */ var main = ({
|
|
41900
42330
|
mixins: [zoomInOut, copyPaste],
|
|
42331
|
+
computed: {
|
|
42332
|
+
clientLeftPaper: function clientLeftPaper() {
|
|
42333
|
+
return store.getters.clientLeftPaper;
|
|
42334
|
+
}
|
|
42335
|
+
},
|
|
41901
42336
|
mounted: function mounted() {
|
|
41902
42337
|
document.addEventListener('keydown', this.keydownListener);
|
|
41903
42338
|
document.addEventListener('keyup', this.keyupListener);
|
|
@@ -41944,7 +42379,7 @@ function expandPoolToContainElement(shape) {
|
|
|
41944
42379
|
y: y * scale.sy
|
|
41945
42380
|
};
|
|
41946
42381
|
}
|
|
41947
|
-
if (_this.canvasDragPosition) {
|
|
42382
|
+
if (_this.canvasDragPosition && !_this.clientLeftPaper) {
|
|
41948
42383
|
_this.paperManager.translate(event.offsetX - _this.canvasDragPosition.x, event.offsetY - _this.canvasDragPosition.y);
|
|
41949
42384
|
}
|
|
41950
42385
|
});
|
|
@@ -42408,8 +42843,171 @@ var validTasks = ['bpmn:ServiceTask', 'bpmn:ManualTask', 'bpmn:CallActivity', 'b
|
|
|
42408
42843
|
return inspectorData;
|
|
42409
42844
|
};
|
|
42410
42845
|
});
|
|
42411
|
-
// CONCATENATED MODULE: ./
|
|
42412
|
-
|
|
42846
|
+
// CONCATENATED MODULE: ./src/mixins/cloneSelection.js
|
|
42847
|
+
|
|
42848
|
+
|
|
42849
|
+
|
|
42850
|
+
|
|
42851
|
+
|
|
42852
|
+
|
|
42853
|
+
|
|
42854
|
+
|
|
42855
|
+
|
|
42856
|
+
|
|
42857
|
+
|
|
42858
|
+
|
|
42859
|
+
|
|
42860
|
+
|
|
42861
|
+
|
|
42862
|
+
|
|
42863
|
+
|
|
42864
|
+
/* harmony default export */ var mixins_cloneSelection = ({
|
|
42865
|
+
methods: {
|
|
42866
|
+
cloneSelection: function cloneSelection() {
|
|
42867
|
+
var _this = this;
|
|
42868
|
+
var clonedNodes = [],
|
|
42869
|
+
clonedFlows = [],
|
|
42870
|
+
clonedDataInputAssociations = [],
|
|
42871
|
+
clonedDataOutputAssociations = [];
|
|
42872
|
+
var nodes = this.highlightedNodes;
|
|
42873
|
+
var selector = this.$refs.selector.$el;
|
|
42874
|
+
var flowNodeTypes = [sequenceFlow_id, poolLane_config_id, association_id, messageFlow_config_id, genericFlow_config_id];
|
|
42875
|
+
var dataInputAssociationNodeTypes = [dataInputAssociation_config_id];
|
|
42876
|
+
var dataOutputAssociationNodeTypes = [config_id];
|
|
42877
|
+
if (typeof selector.getBoundingClientRect === 'function') {
|
|
42878
|
+
nodes.forEach(function (node) {
|
|
42879
|
+
if (flowNodeTypes.includes(node.type)) {
|
|
42880
|
+
var clonedFlow = _this.cloneFlowAndSetNewId(node);
|
|
42881
|
+
clonedFlows.push(clonedFlow);
|
|
42882
|
+
clonedNodes.push(clonedFlow);
|
|
42883
|
+
} else if (dataInputAssociationNodeTypes.includes(node.type)) {
|
|
42884
|
+
var _clonedFlow = _this.cloneFlowAndSetNewId(node);
|
|
42885
|
+
clonedDataInputAssociations.push(_clonedFlow);
|
|
42886
|
+
clonedNodes.push(_clonedFlow);
|
|
42887
|
+
} else if (dataOutputAssociationNodeTypes.includes(node.type)) {
|
|
42888
|
+
var _clonedFlow2 = _this.cloneFlowAndSetNewId(node);
|
|
42889
|
+
clonedDataOutputAssociations.push(_clonedFlow2);
|
|
42890
|
+
clonedNodes.push(_clonedFlow2);
|
|
42891
|
+
} else {
|
|
42892
|
+
var clonedElement = _this.cloneElementAndCalculateOffset(node);
|
|
42893
|
+
clonedNodes.push(clonedElement);
|
|
42894
|
+
}
|
|
42895
|
+
});
|
|
42896
|
+
}
|
|
42897
|
+
this.connectClonedFlows(clonedFlows, clonedNodes);
|
|
42898
|
+
this.connectClonedDataInputAssociations(clonedDataInputAssociations, clonedNodes);
|
|
42899
|
+
this.connectClonedDataOutputAssociations(clonedDataOutputAssociations, clonedNodes);
|
|
42900
|
+
return clonedNodes;
|
|
42901
|
+
},
|
|
42902
|
+
// Returns the Flow Element (Task| DataStore| DataObject) that is the target of the association
|
|
42903
|
+
getDataInputOutputAssociationTargetRef: function getDataInputOutputAssociationTargetRef(association) {
|
|
42904
|
+
if (association.targetRef.$type === 'bpmn:DataInput') {
|
|
42905
|
+
var ioSpec = association.targetRef.$parent;
|
|
42906
|
+
return findIOSpecificationOwner(ioSpec, this);
|
|
42907
|
+
}
|
|
42908
|
+
if (association.targetRef.$type === 'bpmn:DataInputAssociation') {
|
|
42909
|
+
var _ioSpec = association.targetRef.$parent;
|
|
42910
|
+
return findIOSpecificationOwner(_ioSpec, this);
|
|
42911
|
+
}
|
|
42912
|
+
return association.targetRef;
|
|
42913
|
+
},
|
|
42914
|
+
cloneFlowAndSetNewId: function cloneFlowAndSetNewId(node) {
|
|
42915
|
+
var clonedFlow = node.cloneFlow(this.nodeRegistry, this.moddle, this.$t);
|
|
42916
|
+
clonedFlow.setIds(this.nodeIdGenerator);
|
|
42917
|
+
return clonedFlow;
|
|
42918
|
+
},
|
|
42919
|
+
cloneElementAndCalculateOffset: function cloneElementAndCalculateOffset(node) {
|
|
42920
|
+
var clonedElement = node.clone(this.nodeRegistry, this.moddle, this.$t);
|
|
42921
|
+
var _this$$refs$selector$ = this.$refs.selector.$el.getBoundingClientRect(),
|
|
42922
|
+
selectorHeight = _this$$refs$selector$.height;
|
|
42923
|
+
var _this$paper$scale = this.paper.scale(),
|
|
42924
|
+
sy = _this$paper$scale.sy;
|
|
42925
|
+
var yOffset = selectorHeight / sy;
|
|
42926
|
+
clonedElement.diagram.bounds.y += yOffset;
|
|
42927
|
+
clonedElement.setIds(this.nodeIdGenerator);
|
|
42928
|
+
return clonedElement;
|
|
42929
|
+
},
|
|
42930
|
+
connectClonedFlows: function connectClonedFlows(clonedFlows, clonedNodes) {
|
|
42931
|
+
var _this2 = this;
|
|
42932
|
+
clonedFlows.forEach(function (clonedFlow) {
|
|
42933
|
+
var originalFlow = _this2.nodes.find(function (node) {
|
|
42934
|
+
return node.definition.id === clonedFlow.cloneOf;
|
|
42935
|
+
});
|
|
42936
|
+
var src = originalFlow.definition.sourceRef;
|
|
42937
|
+
var target = originalFlow.definition.targetRef;
|
|
42938
|
+
var srcClone = clonedNodes.find(function (node) {
|
|
42939
|
+
return node.cloneOf === src.id;
|
|
42940
|
+
});
|
|
42941
|
+
var targetClone = clonedNodes.find(function (node) {
|
|
42942
|
+
return node.cloneOf === target.id;
|
|
42943
|
+
});
|
|
42944
|
+
if (!srcClone || !targetClone) {
|
|
42945
|
+
clonedNodes.splice(clonedNodes.indexOf(clonedFlow), 1);
|
|
42946
|
+
return;
|
|
42947
|
+
}
|
|
42948
|
+
clonedFlow.definition.set('sourceRef', srcClone.definition);
|
|
42949
|
+
clonedFlow.definition.set('targetRef', targetClone.definition);
|
|
42950
|
+
if (srcClone.definition.outgoing) {
|
|
42951
|
+
srcClone.definition.outgoing.push(clonedFlow.definition);
|
|
42952
|
+
} else {
|
|
42953
|
+
srcClone.definition.set('outgoing', [clonedFlow.definition]);
|
|
42954
|
+
}
|
|
42955
|
+
if (targetClone.definition.incoming) {
|
|
42956
|
+
targetClone.definition.incoming.push(clonedFlow.definition);
|
|
42957
|
+
} else {
|
|
42958
|
+
targetClone.definition.set('incoming', [clonedFlow.definition]);
|
|
42959
|
+
}
|
|
42960
|
+
clonedFlow.diagram.waypoint.forEach(function (point) {
|
|
42961
|
+
var _this2$$refs$selector = _this2.$refs.selector.$el.getBoundingClientRect(),
|
|
42962
|
+
selectorHeight = _this2$$refs$selector.height;
|
|
42963
|
+
point.y += selectorHeight;
|
|
42964
|
+
});
|
|
42965
|
+
});
|
|
42966
|
+
},
|
|
42967
|
+
connectClonedDataInputAssociations: function connectClonedDataInputAssociations(clonedDataInputAssociations, clonedNodes) {
|
|
42968
|
+
var _this3 = this;
|
|
42969
|
+
clonedDataInputAssociations.forEach(function (clonedAssociation) {
|
|
42970
|
+
var originalAssociation = _this3.nodes.find(function (node) {
|
|
42971
|
+
return node.definition.id === clonedAssociation.cloneOf;
|
|
42972
|
+
});
|
|
42973
|
+
var src = originalAssociation.definition.sourceRef[0];
|
|
42974
|
+
var srcClone = clonedNodes.find(function (node) {
|
|
42975
|
+
return node.cloneOf === src.id;
|
|
42976
|
+
});
|
|
42977
|
+
var originalTargetElement = _this3.getDataInputOutputAssociationTargetRef(originalAssociation.definition);
|
|
42978
|
+
var clonedElement = clonedNodes.find(function (node) {
|
|
42979
|
+
return node.cloneOf === originalTargetElement.id;
|
|
42980
|
+
});
|
|
42981
|
+
var clonedDataInput = getOrFindDataInput(_this3.moddle, clonedElement, srcClone.definition);
|
|
42982
|
+
clonedAssociation.definition.set('sourceRef', [srcClone.definition]);
|
|
42983
|
+
clonedAssociation.definition.set('targetRef', clonedDataInput);
|
|
42984
|
+
clonedElement.definition.set('dataInputAssociations', [clonedAssociation.definition]);
|
|
42985
|
+
});
|
|
42986
|
+
},
|
|
42987
|
+
connectClonedDataOutputAssociations: function connectClonedDataOutputAssociations(clonedDataOutputAssociations, clonedNodes) {
|
|
42988
|
+
var _this4 = this;
|
|
42989
|
+
clonedDataOutputAssociations.forEach(function (clonedAssociation) {
|
|
42990
|
+
var originalAssociation = _this4.nodes.find(function (node) {
|
|
42991
|
+
return node.definition.id === clonedAssociation.cloneOf;
|
|
42992
|
+
});
|
|
42993
|
+
var src = originalAssociation.definition.sourceRef || originalAssociation.definition.$parent;
|
|
42994
|
+
var target = originalAssociation.definition.targetRef;
|
|
42995
|
+
var srcClone = clonedNodes.find(function (node) {
|
|
42996
|
+
return node.cloneOf === src.id;
|
|
42997
|
+
});
|
|
42998
|
+
var targetClone = clonedNodes.find(function (node) {
|
|
42999
|
+
return node.cloneOf === target.id;
|
|
43000
|
+
});
|
|
43001
|
+
clonedAssociation.definition.set('targetRef', targetClone.definition);
|
|
43002
|
+
clonedAssociation.definition.set('sourceRef', srcClone.definition);
|
|
43003
|
+
var existingOutputAssociations = srcClone.definition.get('dataOutputAssociations') || [];
|
|
43004
|
+
srcClone.definition.set('dataOutputAssociations', [].concat(_toConsumableArray(existingOutputAssociations), [clonedAssociation.definition]));
|
|
43005
|
+
});
|
|
43006
|
+
}
|
|
43007
|
+
}
|
|
43008
|
+
});
|
|
43009
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"12fda814-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/nodes/genericFlow/genericFlow.vue?vue&type=template&id=24cdd484&
|
|
43010
|
+
var genericFlowvue_type_template_id_24cdd484_render = function render() {
|
|
42413
43011
|
var _vm = this,
|
|
42414
43012
|
_c = _vm._self._c;
|
|
42415
43013
|
return _c('crown-config', _vm._g({
|
|
@@ -42428,9 +43026,9 @@ var genericFlowvue_type_template_id_b441470a_render = function render() {
|
|
|
42428
43026
|
}
|
|
42429
43027
|
}, _vm.$listeners));
|
|
42430
43028
|
};
|
|
42431
|
-
var
|
|
43029
|
+
var genericFlowvue_type_template_id_24cdd484_staticRenderFns = [];
|
|
42432
43030
|
|
|
42433
|
-
// CONCATENATED MODULE: ./src/components/nodes/genericFlow/genericFlow.vue?vue&type=template&id=
|
|
43031
|
+
// CONCATENATED MODULE: ./src/components/nodes/genericFlow/genericFlow.vue?vue&type=template&id=24cdd484&
|
|
42434
43032
|
|
|
42435
43033
|
// CONCATENATED MODULE: ./src/components/nodes/genericFlow/DataOutputAssociation.js
|
|
42436
43034
|
|
|
@@ -42444,6 +43042,7 @@ var genericFlowvue_type_template_id_b441470a_staticRenderFns = [];
|
|
|
42444
43042
|
|
|
42445
43043
|
|
|
42446
43044
|
|
|
43045
|
+
|
|
42447
43046
|
var DataOutputAssociation_DataOutputAssociation = /*#__PURE__*/function (_DataAssociation) {
|
|
42448
43047
|
_inherits(DataOutputAssociation, _DataAssociation);
|
|
42449
43048
|
var _super = _createSuper(DataOutputAssociation);
|
|
@@ -42487,7 +43086,26 @@ var DataOutputAssociation_DataOutputAssociation = /*#__PURE__*/function (_DataAs
|
|
|
42487
43086
|
if (!targetNode) {
|
|
42488
43087
|
return false;
|
|
42489
43088
|
}
|
|
42490
|
-
|
|
43089
|
+
var dataStoreValidSources = ['bpmn:Task', 'bpmn:SubProcess', 'bpmn:CallActivity', 'bpmn:ManualTask', 'bpmn:ScriptTask', 'bpmn:ServiceTask'];
|
|
43090
|
+
var dataStoreValidTargets = ['bpmn:Task', 'bpmn:SubProcess', 'bpmn:CallActivity', 'bpmn:ManualTask', 'bpmn:ScriptTask', 'bpmn:ServiceTask'];
|
|
43091
|
+
var dataObjectValidSources = ['bpmn:Task', 'bpmn:SubProcess', 'bpmn:CallActivity', 'bpmn:ManualTask', 'bpmn:ScriptTask', 'bpmn:ServiceTask', 'bpmn:IntermediateCatchEvent', 'bpmn:StartEvent'];
|
|
43092
|
+
var dataObjectValidTargets = ['bpmn:Task', 'bpmn:SubProcess', 'bpmn:CallActivity', 'bpmn:ManualTask', 'bpmn:ScriptTask', 'bpmn:ServiceTask', 'bpmn:IntermediateThrowEvent', 'bpmn:EndEvent'];
|
|
43093
|
+
var sourceType = sourceNode.definition.$type;
|
|
43094
|
+
var targetType = targetNode.definition.$type;
|
|
43095
|
+
var sourceIsDataStore = sourceNode.definition.$type === 'bpmn:DataStoreReference';
|
|
43096
|
+
var sourceIsDataObject = sourceNode.definition.$type === 'bpmn:DataObjectReference';
|
|
43097
|
+
var targetIsDataStore = targetNode.definition.$type === 'bpmn:DataStoreReference';
|
|
43098
|
+
var targetIsDataObject = targetNode.definition.$type === 'bpmn:DataObjectReference';
|
|
43099
|
+
if (sourceIsDataStore && dataStoreValidTargets.includes(targetType)) {
|
|
43100
|
+
return true;
|
|
43101
|
+
}
|
|
43102
|
+
if (sourceIsDataObject && dataObjectValidTargets.includes(targetType)) {
|
|
43103
|
+
return true;
|
|
43104
|
+
}
|
|
43105
|
+
if (targetIsDataStore && dataStoreValidSources.includes(sourceType)) {
|
|
43106
|
+
return true;
|
|
43107
|
+
}
|
|
43108
|
+
return targetIsDataObject && dataObjectValidSources.includes(sourceType);
|
|
42491
43109
|
}
|
|
42492
43110
|
}, {
|
|
42493
43111
|
key: "isValidSourceNode",
|
|
@@ -42556,24 +43174,7 @@ var BpmnFlows = [DataOutputAssociation_DataOutputAssociation, SequenceFlow_Seque
|
|
|
42556
43174
|
}
|
|
42557
43175
|
}
|
|
42558
43176
|
},
|
|
42559
|
-
watch: {
|
|
42560
|
-
'node.definition': {
|
|
42561
|
-
handler: function handler() {
|
|
42562
|
-
var newNameLabel = this.shapeName;
|
|
42563
|
-
if (newNameLabel !== this.nameLabel) {
|
|
42564
|
-
this.nameLabel = newNameLabel;
|
|
42565
|
-
}
|
|
42566
|
-
this.setDefaultMarker(this.isDefaultFlow());
|
|
42567
|
-
},
|
|
42568
|
-
deep: true
|
|
42569
|
-
},
|
|
42570
|
-
'node.definition.sourceRef': {
|
|
42571
|
-
handler: function handler() {
|
|
42572
|
-
this.setDefaultMarker(this.isDefaultFlow());
|
|
42573
|
-
},
|
|
42574
|
-
deep: true
|
|
42575
|
-
}
|
|
42576
|
-
},
|
|
43177
|
+
watch: {},
|
|
42577
43178
|
methods: {
|
|
42578
43179
|
completeLink: function completeLink() {
|
|
42579
43180
|
var _this2 = this;
|
|
@@ -42625,8 +43226,8 @@ var BpmnFlows = [DataOutputAssociation_DataOutputAssociation, SequenceFlow_Seque
|
|
|
42625
43226
|
|
|
42626
43227
|
var genericFlow_component = normalizeComponent(
|
|
42627
43228
|
genericFlow_genericFlowvue_type_script_lang_js_,
|
|
42628
|
-
|
|
42629
|
-
|
|
43229
|
+
genericFlowvue_type_template_id_24cdd484_render,
|
|
43230
|
+
genericFlowvue_type_template_id_24cdd484_staticRenderFns,
|
|
42630
43231
|
false,
|
|
42631
43232
|
null,
|
|
42632
43233
|
null,
|
|
@@ -42635,8 +43236,8 @@ var genericFlow_component = normalizeComponent(
|
|
|
42635
43236
|
)
|
|
42636
43237
|
|
|
42637
43238
|
/* harmony default export */ var genericFlow_genericFlow = (genericFlow_component.exports);
|
|
42638
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
42639
|
-
var
|
|
43239
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"12fda814-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/modeler/Selection.vue?vue&type=template&id=01ab8458&scoped=true&
|
|
43240
|
+
var Selectionvue_type_template_id_01ab8458_scoped_true_render = function render() {
|
|
42640
43241
|
var _vm = this,
|
|
42641
43242
|
_c = _vm._self._c;
|
|
42642
43243
|
return _vm.showLasso && _vm.style ? _c('div', {
|
|
@@ -42660,11 +43261,11 @@ var Selectionvue_type_template_id_0078a4ae_scoped_true_render = function render(
|
|
|
42660
43261
|
}
|
|
42661
43262
|
}, _vm.$listeners))], 1) : _vm._e();
|
|
42662
43263
|
};
|
|
42663
|
-
var
|
|
43264
|
+
var Selectionvue_type_template_id_01ab8458_scoped_true_staticRenderFns = [];
|
|
42664
43265
|
|
|
42665
|
-
// CONCATENATED MODULE: ./src/components/modeler/Selection.vue?vue&type=template&id=
|
|
43266
|
+
// CONCATENATED MODULE: ./src/components/modeler/Selection.vue?vue&type=template&id=01ab8458&scoped=true&
|
|
42666
43267
|
|
|
42667
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
43268
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"12fda814-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/crown/crownMultiselect/crownMultiselect.vue?vue&type=template&id=0c300116&scoped=true&
|
|
42668
43269
|
var crownMultiselectvue_type_template_id_0c300116_scoped_true_render = function render() {
|
|
42669
43270
|
var _vm = this,
|
|
42670
43271
|
_c = _vm._self._c;
|
|
@@ -42860,7 +43461,6 @@ var crownMultiselect_component = normalizeComponent(
|
|
|
42860
43461
|
|
|
42861
43462
|
|
|
42862
43463
|
|
|
42863
|
-
var boundaryElements = ['processmaker-modeler-boundary-timer-event', 'processmaker-modeler-boundary-error-event', 'processmaker-modeler-boundary-signal-event', 'processmaker-modeler-boundary-conditional-event', 'processmaker-modeler-boundary-message-event'];
|
|
42864
43464
|
/* harmony default export */ var Selectionvue_type_script_lang_js_ = ({
|
|
42865
43465
|
name: 'Selection',
|
|
42866
43466
|
components: {
|
|
@@ -43225,21 +43825,6 @@ var boundaryElements = ['processmaker-modeler-boundary-timer-event', 'processmak
|
|
|
43225
43825
|
}
|
|
43226
43826
|
return true;
|
|
43227
43827
|
});
|
|
43228
|
-
// A boundary event could only be selected alone
|
|
43229
|
-
var firstSelectedBoundary = this.selected.find(function (shape) {
|
|
43230
|
-
return shape.model.component && boundaryElements.includes(shape.model.component.node.type);
|
|
43231
|
-
});
|
|
43232
|
-
var firstSelectedElement = this.selected[0];
|
|
43233
|
-
if (firstSelectedBoundary) {
|
|
43234
|
-
this.selected = this.selected.filter(function (shape) {
|
|
43235
|
-
if (firstSelectedElement === firstSelectedBoundary) {
|
|
43236
|
-
// boundary event selected alone
|
|
43237
|
-
return shape.model.component && shape === firstSelectedBoundary;
|
|
43238
|
-
}
|
|
43239
|
-
// do not allow to select a boundary event with another element
|
|
43240
|
-
return shape.model.component && !boundaryElements.includes(shape.model.component.node.type);
|
|
43241
|
-
});
|
|
43242
|
-
}
|
|
43243
43828
|
},
|
|
43244
43829
|
/**
|
|
43245
43830
|
* Pan paper handler
|
|
@@ -43343,6 +43928,9 @@ var boundaryElements = ['processmaker-modeler-boundary-timer-event', 'processmak
|
|
|
43343
43928
|
this.$emit('save-state');
|
|
43344
43929
|
this.dragging = false;
|
|
43345
43930
|
this.stopForceMove = false;
|
|
43931
|
+
// Readjusts the selection box, taking into consideration elements
|
|
43932
|
+
// that are anchored and did not move, such as boundary events.
|
|
43933
|
+
this.updateSelectionBox();
|
|
43346
43934
|
},
|
|
43347
43935
|
/**
|
|
43348
43936
|
* Translate the Selected shapes adding some custom validations
|
|
@@ -43593,8 +44181,8 @@ var boundaryElements = ['processmaker-modeler-boundary-timer-event', 'processmak
|
|
|
43593
44181
|
});
|
|
43594
44182
|
// CONCATENATED MODULE: ./src/components/modeler/Selection.vue?vue&type=script&lang=js&
|
|
43595
44183
|
/* harmony default export */ var modeler_Selectionvue_type_script_lang_js_ = (Selectionvue_type_script_lang_js_);
|
|
43596
|
-
// EXTERNAL MODULE: ./src/components/modeler/Selection.vue?vue&type=style&index=0&id=
|
|
43597
|
-
var
|
|
44184
|
+
// EXTERNAL MODULE: ./src/components/modeler/Selection.vue?vue&type=style&index=0&id=01ab8458&prod&scoped=true&lang=css&
|
|
44185
|
+
var Selectionvue_type_style_index_0_id_01ab8458_prod_scoped_true_lang_css_ = __webpack_require__("2a52");
|
|
43598
44186
|
|
|
43599
44187
|
// CONCATENATED MODULE: ./src/components/modeler/Selection.vue
|
|
43600
44188
|
|
|
@@ -43607,11 +44195,11 @@ var Selectionvue_type_style_index_0_id_0078a4ae_prod_scoped_true_lang_css_ = __w
|
|
|
43607
44195
|
|
|
43608
44196
|
var Selection_component = normalizeComponent(
|
|
43609
44197
|
modeler_Selectionvue_type_script_lang_js_,
|
|
43610
|
-
|
|
43611
|
-
|
|
44198
|
+
Selectionvue_type_template_id_01ab8458_scoped_true_render,
|
|
44199
|
+
Selectionvue_type_template_id_01ab8458_scoped_true_staticRenderFns,
|
|
43612
44200
|
false,
|
|
43613
44201
|
null,
|
|
43614
|
-
"
|
|
44202
|
+
"01ab8458",
|
|
43615
44203
|
null
|
|
43616
44204
|
|
|
43617
44205
|
)
|
|
@@ -43675,6 +44263,7 @@ var Selection_component = normalizeComponent(
|
|
|
43675
44263
|
|
|
43676
44264
|
|
|
43677
44265
|
|
|
44266
|
+
|
|
43678
44267
|
|
|
43679
44268
|
|
|
43680
44269
|
/* harmony default export */ var Modelervue_type_script_lang_js_ = ({
|
|
@@ -43695,9 +44284,10 @@ var Selection_component = normalizeComponent(
|
|
|
43695
44284
|
}
|
|
43696
44285
|
}
|
|
43697
44286
|
},
|
|
43698
|
-
mixins: [main],
|
|
44287
|
+
mixins: [main, mixins_cloneSelection],
|
|
43699
44288
|
data: function data() {
|
|
43700
44289
|
return {
|
|
44290
|
+
pasteInProgress: false,
|
|
43701
44291
|
internalClipboard: [],
|
|
43702
44292
|
tooltipTarget: null,
|
|
43703
44293
|
/* Custom parsers for handling certain bpmn node types */
|
|
@@ -43848,7 +44438,7 @@ var Selection_component = normalizeComponent(
|
|
|
43848
44438
|
},
|
|
43849
44439
|
copyElement: function copyElement() {
|
|
43850
44440
|
// Checking if User selected a single flow and tries to copy it, to deny it.
|
|
43851
|
-
var flows = [sequenceFlow_id, config_id, dataInputAssociation_config_id, genericFlow_config_id];
|
|
44441
|
+
var flows = [sequenceFlow_id, config_id, dataInputAssociation_config_id, genericFlow_config_id, process_id];
|
|
43852
44442
|
if (this.highlightedNodes.length === 1 && flows.includes(this.highlightedNodes[0].type)) return;
|
|
43853
44443
|
store.commit('setCopiedElements', this.cloneSelection());
|
|
43854
44444
|
this.$bvToast.toast(this.$t('Object(s) have been copied'), {
|
|
@@ -43864,132 +44454,106 @@ var Selection_component = normalizeComponent(
|
|
|
43864
44454
|
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
43865
44455
|
while (1) switch (_context2.prev = _context2.next) {
|
|
43866
44456
|
case 0:
|
|
43867
|
-
if (!_this2.copiedElements) {
|
|
43868
|
-
_context2.next =
|
|
44457
|
+
if (!(_this2.copiedElements && !_this2.pasteInProgress)) {
|
|
44458
|
+
_context2.next = 19;
|
|
43869
44459
|
break;
|
|
43870
44460
|
}
|
|
43871
|
-
|
|
44461
|
+
_this2.pasteInProgress = true;
|
|
44462
|
+
_context2.prev = 2;
|
|
44463
|
+
_context2.next = 5;
|
|
43872
44464
|
return _this2.addClonedNodes(_this2.copiedElements);
|
|
43873
|
-
case 3:
|
|
43874
|
-
_this2.$refs.selector.selectElements(_this2.findViewElementsFromNodes(_this2.copiedElements));
|
|
43875
|
-
store.commit('setCopiedElements', _this2.cloneSelection());
|
|
43876
44465
|
case 5:
|
|
44466
|
+
_context2.next = 7;
|
|
44467
|
+
return _this2.$nextTick();
|
|
44468
|
+
case 7:
|
|
44469
|
+
_context2.next = 9;
|
|
44470
|
+
return _this2.paperManager.awaitScheduledUpdates();
|
|
44471
|
+
case 9:
|
|
44472
|
+
_context2.next = 11;
|
|
44473
|
+
return _this2.$refs.selector.selectElements(_this2.findViewElementsFromNodes(_this2.copiedElements), true);
|
|
44474
|
+
case 11:
|
|
44475
|
+
_context2.next = 13;
|
|
44476
|
+
return _this2.$nextTick();
|
|
44477
|
+
case 13:
|
|
44478
|
+
_context2.next = 15;
|
|
44479
|
+
return store.commit('setCopiedElements', _this2.cloneSelection());
|
|
44480
|
+
case 15:
|
|
44481
|
+
_this2.scrollToSelection();
|
|
44482
|
+
case 16:
|
|
44483
|
+
_context2.prev = 16;
|
|
44484
|
+
_this2.pasteInProgress = false;
|
|
44485
|
+
return _context2.finish(16);
|
|
44486
|
+
case 19:
|
|
43877
44487
|
case "end":
|
|
43878
44488
|
return _context2.stop();
|
|
43879
44489
|
}
|
|
43880
|
-
}, _callee2);
|
|
44490
|
+
}, _callee2, null, [[2,, 16, 19]]);
|
|
43881
44491
|
}))();
|
|
43882
44492
|
},
|
|
43883
|
-
cloneSelection: function cloneSelection() {
|
|
43884
|
-
var _this3 = this;
|
|
43885
|
-
var clonedNodes = [],
|
|
43886
|
-
clonedFlows = [],
|
|
43887
|
-
originalFlows = [];
|
|
43888
|
-
var nodes = this.highlightedNodes;
|
|
43889
|
-
var selector = this.$refs.selector.$el;
|
|
43890
|
-
var _selector$getBounding = selector.getBoundingClientRect(),
|
|
43891
|
-
sheight = _selector$getBounding.height;
|
|
43892
|
-
if (typeof selector.getBoundingClientRect === 'function') {
|
|
43893
|
-
// get selector height
|
|
43894
|
-
nodes.forEach(function (node) {
|
|
43895
|
-
// Add flows described in the definitions property
|
|
43896
|
-
if (node.definition.incoming || node.definition.outgoing) {
|
|
43897
|
-
// Since both incoming and outgoing reference the same flow, any of them is copied
|
|
43898
|
-
var flowsToCopy = _toConsumableArray(node.definition.incoming || node.definition.outgoing);
|
|
43899
|
-
// Check if flow is already in array before pushing
|
|
43900
|
-
flowsToCopy.forEach(function (flow) {
|
|
43901
|
-
if (!originalFlows.some(function (el) {
|
|
43902
|
-
return el.id === flow.id;
|
|
43903
|
-
})) {
|
|
43904
|
-
originalFlows.push(flow);
|
|
43905
|
-
}
|
|
43906
|
-
});
|
|
43907
|
-
}
|
|
43908
|
-
|
|
43909
|
-
// Check node type to clone
|
|
43910
|
-
if ([sequenceFlow_id, poolLane_config_id, association_id, messageFlow_config_id, config_id, dataInputAssociation_config_id, genericFlow_config_id].includes(node.type)) {
|
|
43911
|
-
// Add offset for all waypoints on cloned flow
|
|
43912
|
-
var clonedFlow = node.cloneFlow(_this3.nodeRegistry, _this3.moddle, _this3.$t);
|
|
43913
|
-
clonedFlow.setIds(_this3.nodeIdGenerator);
|
|
43914
|
-
clonedFlows.push(clonedFlow);
|
|
43915
|
-
clonedNodes.push(clonedFlow);
|
|
43916
|
-
} else {
|
|
43917
|
-
// Clone node and calculate offset
|
|
43918
|
-
var clonedNode = node.clone(_this3.nodeRegistry, _this3.moddle, _this3.$t);
|
|
43919
|
-
var yOffset = sheight;
|
|
43920
|
-
clonedNode.diagram.bounds.y += yOffset;
|
|
43921
|
-
// Set cloned node id
|
|
43922
|
-
clonedNode.setIds(_this3.nodeIdGenerator);
|
|
43923
|
-
clonedNodes.push(clonedNode);
|
|
43924
|
-
}
|
|
43925
|
-
});
|
|
43926
|
-
}
|
|
43927
|
-
// Connect flows
|
|
43928
|
-
clonedFlows.forEach(function (flow) {
|
|
43929
|
-
// Look up the original flow
|
|
43930
|
-
var flowClonedFrom = {
|
|
43931
|
-
definition: originalFlows.find(function (el) {
|
|
43932
|
-
return el.id === flow.definition.cloneOf;
|
|
43933
|
-
})
|
|
43934
|
-
};
|
|
43935
|
-
// Get the id's of the sourceRef and targetRef of original flow
|
|
43936
|
-
var src = flowClonedFrom.definition.sourceRef;
|
|
43937
|
-
var target = flowClonedFrom.definition.targetRef;
|
|
43938
|
-
var srcClone = clonedNodes.find(function (node) {
|
|
43939
|
-
return node.definition.cloneOf === src.id;
|
|
43940
|
-
});
|
|
43941
|
-
var targetClone = clonedNodes.find(function (node) {
|
|
43942
|
-
return node.definition.cloneOf === target.id;
|
|
43943
|
-
});
|
|
43944
|
-
// Reference the elements to the flow that connects them
|
|
43945
|
-
flow.definition.sourceRef = srcClone.definition;
|
|
43946
|
-
flow.definition.targetRef = targetClone.definition;
|
|
43947
|
-
// Reference the flow to the elements that are connected by it
|
|
43948
|
-
srcClone.definition.outgoing ? srcClone.definition.outgoing.push(flow.definition) : srcClone.definition.outgoing = [flow.definition];
|
|
43949
|
-
targetClone.definition.incoming ? targetClone.definition.incoming.push(flow.definition) : targetClone.definition.incoming = [flow.definition];
|
|
43950
|
-
// Translate flow waypoints to where they should be
|
|
43951
|
-
flow.diagram.waypoint.forEach(function (point) {
|
|
43952
|
-
point.y += sheight;
|
|
43953
|
-
});
|
|
43954
|
-
});
|
|
43955
|
-
return clonedNodes;
|
|
43956
|
-
},
|
|
43957
44493
|
duplicateSelection: function duplicateSelection() {
|
|
43958
|
-
var
|
|
44494
|
+
var _this3 = this;
|
|
43959
44495
|
return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3() {
|
|
43960
44496
|
var clonedNodes;
|
|
43961
44497
|
return _regeneratorRuntime().wrap(function _callee3$(_context3) {
|
|
43962
44498
|
while (1) switch (_context3.prev = _context3.next) {
|
|
43963
44499
|
case 0:
|
|
43964
|
-
clonedNodes =
|
|
43965
|
-
|
|
43966
|
-
|
|
44500
|
+
clonedNodes = _this3.cloneSelection();
|
|
44501
|
+
if (!(clonedNodes && clonedNodes.length === 0)) {
|
|
44502
|
+
_context3.next = 3;
|
|
44503
|
+
break;
|
|
44504
|
+
}
|
|
44505
|
+
return _context3.abrupt("return");
|
|
43967
44506
|
case 3:
|
|
43968
|
-
|
|
43969
|
-
|
|
44507
|
+
_this3.$refs.selector.clearSelection();
|
|
44508
|
+
_context3.next = 6;
|
|
44509
|
+
return _this3.addClonedNodes(clonedNodes);
|
|
44510
|
+
case 6:
|
|
44511
|
+
_context3.next = 8;
|
|
44512
|
+
return _this3.$nextTick();
|
|
44513
|
+
case 8:
|
|
44514
|
+
_context3.next = 10;
|
|
44515
|
+
return _this3.paperManager.awaitScheduledUpdates();
|
|
44516
|
+
case 10:
|
|
44517
|
+
_context3.next = 12;
|
|
44518
|
+
return _this3.$refs.selector.selectElements(_this3.findViewElementsFromNodes(clonedNodes));
|
|
44519
|
+
case 12:
|
|
44520
|
+
_this3.scrollToSelection();
|
|
44521
|
+
case 13:
|
|
43970
44522
|
case "end":
|
|
43971
44523
|
return _context3.stop();
|
|
43972
44524
|
}
|
|
43973
44525
|
}, _callee3);
|
|
43974
44526
|
}))();
|
|
43975
44527
|
},
|
|
44528
|
+
scrollToSelection: function scrollToSelection() {
|
|
44529
|
+
var containerRect = this.$refs['paper-container'].getBoundingClientRect();
|
|
44530
|
+
var selector = this.$refs.selector;
|
|
44531
|
+
var selectorRect = selector.$el.getBoundingClientRect();
|
|
44532
|
+
// Scroll to the cloned elements only when they are not visible on the screen.
|
|
44533
|
+
if (selectorRect.right > containerRect.right || selectorRect.bottom > containerRect.bottom || selectorRect.left < containerRect.left || selectorRect.top < containerRect.top) {
|
|
44534
|
+
var currentPosition = this.paper.translate();
|
|
44535
|
+
var newTy = currentPosition.ty - (selectorRect.top - containerRect.top - selectorRect.height);
|
|
44536
|
+
this.paper.translate(currentPosition.tx, newTy);
|
|
44537
|
+
selector.updateSelectionBox(true);
|
|
44538
|
+
}
|
|
44539
|
+
},
|
|
43976
44540
|
findViewElementsFromNodes: function findViewElementsFromNodes(nodes) {
|
|
43977
|
-
var
|
|
44541
|
+
var _this4 = this;
|
|
43978
44542
|
return nodes.map(function (node) {
|
|
43979
|
-
var component =
|
|
44543
|
+
var component = _this4.$refs.nodeComponent.find(function (cmp) {
|
|
43980
44544
|
return cmp.node === node;
|
|
43981
44545
|
});
|
|
43982
44546
|
var shape = component.shape;
|
|
43983
|
-
return
|
|
44547
|
+
return _this4.paper.findViewByModel(shape);
|
|
43984
44548
|
});
|
|
43985
44549
|
},
|
|
43986
44550
|
close: function close() {
|
|
43987
|
-
var
|
|
44551
|
+
var _this5 = this;
|
|
43988
44552
|
return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
|
|
43989
44553
|
return _regeneratorRuntime().wrap(function _callee4$(_context4) {
|
|
43990
44554
|
while (1) switch (_context4.prev = _context4.next) {
|
|
43991
44555
|
case 0:
|
|
43992
|
-
|
|
44556
|
+
_this5.$emit('close');
|
|
43993
44557
|
case 1:
|
|
43994
44558
|
case "end":
|
|
43995
44559
|
return _context4.stop();
|
|
@@ -43998,7 +44562,7 @@ var Selection_component = normalizeComponent(
|
|
|
43998
44562
|
}))();
|
|
43999
44563
|
},
|
|
44000
44564
|
saveBpmn: function saveBpmn() {
|
|
44001
|
-
var
|
|
44565
|
+
var _this6 = this;
|
|
44002
44566
|
return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee5() {
|
|
44003
44567
|
var svg, css, style, xml, svgString;
|
|
44004
44568
|
return _regeneratorRuntime().wrap(function _callee5$(_context5) {
|
|
@@ -44010,11 +44574,11 @@ var Selection_component = normalizeComponent(
|
|
|
44010
44574
|
style.appendChild(document.createTextNode(css));
|
|
44011
44575
|
svg.appendChild(style);
|
|
44012
44576
|
_context5.next = 7;
|
|
44013
|
-
return
|
|
44577
|
+
return _this6.getXmlFromDiagram();
|
|
44014
44578
|
case 7:
|
|
44015
44579
|
xml = _context5.sent;
|
|
44016
44580
|
svgString = new XMLSerializer().serializeToString(svg);
|
|
44017
|
-
|
|
44581
|
+
_this6.$emit('saveBpmn', {
|
|
44018
44582
|
xml: xml,
|
|
44019
44583
|
svg: svgString
|
|
44020
44584
|
});
|
|
@@ -44033,16 +44597,16 @@ var Selection_component = normalizeComponent(
|
|
|
44033
44597
|
this.$emit('warnings', this.allWarnings);
|
|
44034
44598
|
},
|
|
44035
44599
|
validatePlaneElements: function validatePlaneElements() {
|
|
44036
|
-
var
|
|
44600
|
+
var _this7 = this;
|
|
44037
44601
|
this.planeElements.filter(function (diagram) {
|
|
44038
44602
|
return !diagram.bpmnElement;
|
|
44039
44603
|
}).map(function (diagram) {
|
|
44040
44604
|
return {
|
|
44041
|
-
title:
|
|
44042
|
-
text:
|
|
44605
|
+
title: _this7.$t('Non-existent Element'),
|
|
44606
|
+
text: _this7.$t('bpmdi:BPMNShape ') + diagram.id + _this7.$t(' references a non-existent element and was not parsed')
|
|
44043
44607
|
};
|
|
44044
44608
|
}).forEach(function (warning) {
|
|
44045
|
-
return
|
|
44609
|
+
return _this7.addWarning(warning);
|
|
44046
44610
|
});
|
|
44047
44611
|
},
|
|
44048
44612
|
cleanPlaneElements: function cleanPlaneElements() {
|
|
@@ -44069,7 +44633,7 @@ var Selection_component = normalizeComponent(
|
|
|
44069
44633
|
}
|
|
44070
44634
|
},
|
|
44071
44635
|
pushToUndoStack: function pushToUndoStack() {
|
|
44072
|
-
var
|
|
44636
|
+
var _this8 = this;
|
|
44073
44637
|
return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee6() {
|
|
44074
44638
|
var xml;
|
|
44075
44639
|
return _regeneratorRuntime().wrap(function _callee6$(_context6) {
|
|
@@ -44077,7 +44641,7 @@ var Selection_component = normalizeComponent(
|
|
|
44077
44641
|
case 0:
|
|
44078
44642
|
_context6.prev = 0;
|
|
44079
44643
|
_context6.next = 3;
|
|
44080
|
-
return
|
|
44644
|
+
return _this8.getXmlFromDiagram();
|
|
44081
44645
|
case 3:
|
|
44082
44646
|
xml = _context6.sent;
|
|
44083
44647
|
undoRedoStore.dispatch('pushState', xml);
|
|
@@ -44097,9 +44661,9 @@ var Selection_component = normalizeComponent(
|
|
|
44097
44661
|
}))();
|
|
44098
44662
|
},
|
|
44099
44663
|
getXmlFromDiagram: function getXmlFromDiagram() {
|
|
44100
|
-
var
|
|
44664
|
+
var _this9 = this;
|
|
44101
44665
|
return new Promise(function (resolve, reject) {
|
|
44102
|
-
|
|
44666
|
+
_this9.toXML(function (error, xml) {
|
|
44103
44667
|
if (error) {
|
|
44104
44668
|
reject(error);
|
|
44105
44669
|
} else {
|
|
@@ -44109,7 +44673,7 @@ var Selection_component = normalizeComponent(
|
|
|
44109
44673
|
});
|
|
44110
44674
|
},
|
|
44111
44675
|
validateBpmnDiagram: function validateBpmnDiagram() {
|
|
44112
|
-
var
|
|
44676
|
+
var _this10 = this;
|
|
44113
44677
|
return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee7() {
|
|
44114
44678
|
return _regeneratorRuntime().wrap(function _callee7$(_context7) {
|
|
44115
44679
|
while (1) switch (_context7.prev = _context7.next) {
|
|
@@ -44122,10 +44686,10 @@ var Selection_component = normalizeComponent(
|
|
|
44122
44686
|
return store.dispatch('fetchGlobalProcesses');
|
|
44123
44687
|
case 3:
|
|
44124
44688
|
_context7.next = 5;
|
|
44125
|
-
return
|
|
44689
|
+
return _this10.linter.lint(_this10.definitions);
|
|
44126
44690
|
case 5:
|
|
44127
|
-
|
|
44128
|
-
|
|
44691
|
+
_this10.validationErrors = _context7.sent;
|
|
44692
|
+
_this10.$emit('validate', _this10.validationErrors);
|
|
44129
44693
|
case 7:
|
|
44130
44694
|
case "end":
|
|
44131
44695
|
return _context7.stop();
|
|
@@ -44206,7 +44770,7 @@ var Selection_component = normalizeComponent(
|
|
|
44206
44770
|
this.extensions[namespace] = extension;
|
|
44207
44771
|
},
|
|
44208
44772
|
registerNode: function registerNode(nodeType, customParser) {
|
|
44209
|
-
var
|
|
44773
|
+
var _this11 = this;
|
|
44210
44774
|
var defaultParser = function defaultParser() {
|
|
44211
44775
|
return nodeType.id;
|
|
44212
44776
|
};
|
|
@@ -44223,22 +44787,22 @@ var Selection_component = normalizeComponent(
|
|
|
44223
44787
|
this.nodeTypes.push(nodeType);
|
|
44224
44788
|
var types = Array.isArray(nodeType.bpmnType) ? nodeType.bpmnType : [nodeType.bpmnType];
|
|
44225
44789
|
types.forEach(function (bpmnType) {
|
|
44226
|
-
if (!
|
|
44227
|
-
|
|
44790
|
+
if (!_this11.parsers[bpmnType]) {
|
|
44791
|
+
_this11.parsers[bpmnType] = {
|
|
44228
44792
|
custom: [],
|
|
44229
44793
|
implementation: [],
|
|
44230
44794
|
default: []
|
|
44231
44795
|
};
|
|
44232
44796
|
}
|
|
44233
44797
|
if (customParser) {
|
|
44234
|
-
|
|
44798
|
+
_this11.parsers[bpmnType].custom.push(customParser);
|
|
44235
44799
|
return;
|
|
44236
44800
|
}
|
|
44237
44801
|
if (nodeType.implementation) {
|
|
44238
|
-
|
|
44802
|
+
_this11.parsers[bpmnType].implementation.push(implementationParser);
|
|
44239
44803
|
return;
|
|
44240
44804
|
}
|
|
44241
|
-
|
|
44805
|
+
_this11.parsers[bpmnType].default.push(defaultParser);
|
|
44242
44806
|
});
|
|
44243
44807
|
},
|
|
44244
44808
|
addMessageFlows: function addMessageFlows() {
|
|
@@ -44247,21 +44811,21 @@ var Selection_component = normalizeComponent(
|
|
|
44247
44811
|
}
|
|
44248
44812
|
},
|
|
44249
44813
|
loadAssociations: function loadAssociations(flowElements, artifacts) {
|
|
44250
|
-
var
|
|
44814
|
+
var _this12 = this;
|
|
44251
44815
|
artifacts.filter(function (definition) {
|
|
44252
|
-
return definition.$type === 'bpmn:Association' &&
|
|
44816
|
+
return definition.$type === 'bpmn:Association' && _this12.hasSourceAndTarget(definition);
|
|
44253
44817
|
}).forEach(function (definition) {
|
|
44254
|
-
return
|
|
44818
|
+
return _this12.setNode(definition, flowElements, artifacts);
|
|
44255
44819
|
});
|
|
44256
44820
|
},
|
|
44257
44821
|
loadDataAssociations: function loadDataAssociations(flowElements) {
|
|
44258
|
-
var
|
|
44822
|
+
var _this13 = this;
|
|
44259
44823
|
var tasksThatHaveDataOutputAssociations = flowElements.filter(function (task) {
|
|
44260
44824
|
return task.get('dataOutputAssociations') && task.get('dataOutputAssociations').length > 0;
|
|
44261
44825
|
});
|
|
44262
44826
|
tasksThatHaveDataOutputAssociations.forEach(function (task) {
|
|
44263
44827
|
task.get('dataOutputAssociations').forEach(function (dataAssociationLink) {
|
|
44264
|
-
|
|
44828
|
+
_this13.setNode(dataAssociationLink, flowElements);
|
|
44265
44829
|
});
|
|
44266
44830
|
});
|
|
44267
44831
|
var tasksThatHaveDataInputAssociations = flowElements.filter(function (task) {
|
|
@@ -44269,32 +44833,32 @@ var Selection_component = normalizeComponent(
|
|
|
44269
44833
|
});
|
|
44270
44834
|
tasksThatHaveDataInputAssociations.forEach(function (task) {
|
|
44271
44835
|
task.get('dataInputAssociations').forEach(function (dataAssociationLink) {
|
|
44272
|
-
|
|
44836
|
+
_this13.setNode(dataAssociationLink, flowElements);
|
|
44273
44837
|
});
|
|
44274
44838
|
});
|
|
44275
44839
|
},
|
|
44276
44840
|
loadArtifacts: function loadArtifacts(flowElements, artifacts) {
|
|
44277
|
-
var
|
|
44841
|
+
var _this14 = this;
|
|
44278
44842
|
artifacts.filter(function (definition) {
|
|
44279
44843
|
return definition.$type !== 'bpmn:Association';
|
|
44280
44844
|
}).forEach(function (definition) {
|
|
44281
|
-
return
|
|
44845
|
+
return _this14.setNode(definition, flowElements, artifacts);
|
|
44282
44846
|
});
|
|
44283
44847
|
},
|
|
44284
44848
|
loadSequenceFlows: function loadSequenceFlows(flowElements, artifacts) {
|
|
44285
|
-
var
|
|
44849
|
+
var _this15 = this;
|
|
44286
44850
|
flowElements.filter(function (definition) {
|
|
44287
|
-
return definition.$type === 'bpmn:SequenceFlow' &&
|
|
44851
|
+
return definition.$type === 'bpmn:SequenceFlow' && _this15.hasSourceAndTarget(definition);
|
|
44288
44852
|
}).forEach(function (definition) {
|
|
44289
|
-
return
|
|
44853
|
+
return _this15.setNode(definition, flowElements, artifacts);
|
|
44290
44854
|
});
|
|
44291
44855
|
},
|
|
44292
44856
|
loadFlowElements: function loadFlowElements(flowElements, artifacts) {
|
|
44293
|
-
var
|
|
44857
|
+
var _this16 = this;
|
|
44294
44858
|
flowElements.filter(function (definition) {
|
|
44295
44859
|
return definition.$type !== 'bpmn:SequenceFlow';
|
|
44296
44860
|
}).forEach(function (definition) {
|
|
44297
|
-
return
|
|
44861
|
+
return _this16.setNode(definition, flowElements, artifacts);
|
|
44298
44862
|
});
|
|
44299
44863
|
},
|
|
44300
44864
|
addLanes: function addLanes(process) {
|
|
@@ -44309,17 +44873,17 @@ var Selection_component = normalizeComponent(
|
|
|
44309
44873
|
this.collaboration.get('participants').forEach(this.setNode);
|
|
44310
44874
|
},
|
|
44311
44875
|
setUpDiagram: function setUpDiagram() {
|
|
44312
|
-
var
|
|
44876
|
+
var _this17 = this;
|
|
44313
44877
|
this.processes.forEach(function (process) {
|
|
44314
|
-
|
|
44315
|
-
|
|
44878
|
+
_this17.ensureCancelActivityIsAddedToBoundaryEvents(process);
|
|
44879
|
+
_this17.addLanes(process);
|
|
44316
44880
|
var flowElements = process.get('flowElements');
|
|
44317
44881
|
var artifacts = process.get('artifacts');
|
|
44318
|
-
|
|
44319
|
-
|
|
44320
|
-
|
|
44321
|
-
|
|
44322
|
-
|
|
44882
|
+
_this17.loadFlowElements(flowElements, artifacts);
|
|
44883
|
+
_this17.loadSequenceFlows(flowElements, artifacts);
|
|
44884
|
+
_this17.loadArtifacts(flowElements, artifacts);
|
|
44885
|
+
_this17.loadAssociations(flowElements, artifacts);
|
|
44886
|
+
_this17.loadDataAssociations(flowElements);
|
|
44323
44887
|
});
|
|
44324
44888
|
store.commit('setRootElements', this.definitions.rootElements);
|
|
44325
44889
|
this.addMessageFlows();
|
|
@@ -44344,7 +44908,7 @@ var Selection_component = normalizeComponent(
|
|
|
44344
44908
|
return this.plane.get('planeElement');
|
|
44345
44909
|
},
|
|
44346
44910
|
parse: function parse() {
|
|
44347
|
-
var
|
|
44911
|
+
var _this18 = this;
|
|
44348
44912
|
this.collaboration = this.getCollaboration();
|
|
44349
44913
|
this.processes = this.getProcesses();
|
|
44350
44914
|
this.plane = this.getPlane();
|
|
@@ -44352,7 +44916,7 @@ var Selection_component = normalizeComponent(
|
|
|
44352
44916
|
this.validatePlaneElements();
|
|
44353
44917
|
this.cleanPlaneElements();
|
|
44354
44918
|
this.processNode = new node_Node('processmaker-modeler-process', this.processes[0], this.planeElements.find(function (diagram) {
|
|
44355
|
-
return diagram.bpmnElement.id ===
|
|
44919
|
+
return diagram.bpmnElement.id === _this18.processes[0].id;
|
|
44356
44920
|
}));
|
|
44357
44921
|
},
|
|
44358
44922
|
removeUnsupportedElementAttributes: function removeUnsupportedElementAttributes(definition) {
|
|
@@ -44364,19 +44928,19 @@ var Selection_component = normalizeComponent(
|
|
|
44364
44928
|
});
|
|
44365
44929
|
},
|
|
44366
44930
|
getCustomParser: function getCustomParser(definition) {
|
|
44367
|
-
var
|
|
44931
|
+
var _this19 = this;
|
|
44368
44932
|
var parsers = this.parsers[definition.$type];
|
|
44369
44933
|
if (!parsers) {
|
|
44370
44934
|
return;
|
|
44371
44935
|
}
|
|
44372
44936
|
var customParser = parsers.custom.find(function (parser) {
|
|
44373
|
-
return parser(definition,
|
|
44937
|
+
return parser(definition, _this19.moddle);
|
|
44374
44938
|
});
|
|
44375
44939
|
var implementationParser = parsers.implementation.find(function (parser) {
|
|
44376
|
-
return parser(definition,
|
|
44940
|
+
return parser(definition, _this19.moddle);
|
|
44377
44941
|
});
|
|
44378
44942
|
var defaultParser = parsers.default.find(function (parser) {
|
|
44379
|
-
return parser(definition,
|
|
44943
|
+
return parser(definition, _this19.moddle);
|
|
44380
44944
|
});
|
|
44381
44945
|
return customParser || implementationParser || defaultParser;
|
|
44382
44946
|
},
|
|
@@ -44438,7 +45002,7 @@ var Selection_component = normalizeComponent(
|
|
|
44438
45002
|
return hasSource && hasTarget;
|
|
44439
45003
|
},
|
|
44440
45004
|
waitForCursorToChange: function waitForCursorToChange() {
|
|
44441
|
-
var
|
|
45005
|
+
var _this20 = this;
|
|
44442
45006
|
return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee8() {
|
|
44443
45007
|
var cursorWaitTime;
|
|
44444
45008
|
return _regeneratorRuntime().wrap(function _callee8$(_context8) {
|
|
@@ -44446,7 +45010,7 @@ var Selection_component = normalizeComponent(
|
|
|
44446
45010
|
case 0:
|
|
44447
45011
|
cursorWaitTime = 300;
|
|
44448
45012
|
_context8.next = 3;
|
|
44449
|
-
return
|
|
45013
|
+
return _this20.$nextTick();
|
|
44450
45014
|
case 3:
|
|
44451
45015
|
return _context8.abrupt("return", new Promise(function (resolve) {
|
|
44452
45016
|
return setTimeout(resolve, cursorWaitTime);
|
|
@@ -44459,23 +45023,23 @@ var Selection_component = normalizeComponent(
|
|
|
44459
45023
|
}))();
|
|
44460
45024
|
},
|
|
44461
45025
|
renderPaper: function renderPaper() {
|
|
44462
|
-
var
|
|
45026
|
+
var _this21 = this;
|
|
44463
45027
|
return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee10() {
|
|
44464
45028
|
return _regeneratorRuntime().wrap(function _callee10$(_context10) {
|
|
44465
45029
|
while (1) switch (_context10.prev = _context10.next) {
|
|
44466
45030
|
case 0:
|
|
44467
|
-
|
|
45031
|
+
_this21.isRendering = true;
|
|
44468
45032
|
_context10.next = 3;
|
|
44469
|
-
return
|
|
45033
|
+
return _this21.paperManager.performAtomicAction( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee9() {
|
|
44470
45034
|
return _regeneratorRuntime().wrap(function _callee9$(_context9) {
|
|
44471
45035
|
while (1) switch (_context9.prev = _context9.next) {
|
|
44472
45036
|
case 0:
|
|
44473
45037
|
_context9.next = 2;
|
|
44474
|
-
return
|
|
45038
|
+
return _this21.waitForCursorToChange();
|
|
44475
45039
|
case 2:
|
|
44476
|
-
|
|
44477
|
-
|
|
44478
|
-
|
|
45040
|
+
_this21.parse();
|
|
45041
|
+
_this21.addPools();
|
|
45042
|
+
_this21.setUpDiagram();
|
|
44479
45043
|
case 5:
|
|
44480
45044
|
case "end":
|
|
44481
45045
|
return _context9.stop();
|
|
@@ -44484,10 +45048,10 @@ var Selection_component = normalizeComponent(
|
|
|
44484
45048
|
})));
|
|
44485
45049
|
case 3:
|
|
44486
45050
|
_context10.next = 5;
|
|
44487
|
-
return
|
|
45051
|
+
return _this21.paperManager.awaitScheduledUpdates();
|
|
44488
45052
|
case 5:
|
|
44489
|
-
|
|
44490
|
-
|
|
45053
|
+
_this21.isRendering = false;
|
|
45054
|
+
_this21.$emit('parsed');
|
|
44491
45055
|
case 7:
|
|
44492
45056
|
case "end":
|
|
44493
45057
|
return _context10.stop();
|
|
@@ -44497,21 +45061,21 @@ var Selection_component = normalizeComponent(
|
|
|
44497
45061
|
},
|
|
44498
45062
|
loadXML: function loadXML() {
|
|
44499
45063
|
var _arguments = arguments,
|
|
44500
|
-
|
|
45064
|
+
_this22 = this;
|
|
44501
45065
|
return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee11() {
|
|
44502
45066
|
var xml;
|
|
44503
45067
|
return _regeneratorRuntime().wrap(function _callee11$(_context11) {
|
|
44504
45068
|
while (1) switch (_context11.prev = _context11.next) {
|
|
44505
45069
|
case 0:
|
|
44506
|
-
xml = _arguments.length > 0 && _arguments[0] !== undefined ? _arguments[0] :
|
|
45070
|
+
xml = _arguments.length > 0 && _arguments[0] !== undefined ? _arguments[0] : _this22.currentXML;
|
|
44507
45071
|
_context11.next = 3;
|
|
44508
|
-
return
|
|
45072
|
+
return _this22.xmlManager.getDefinitionsFromXml(xml);
|
|
44509
45073
|
case 3:
|
|
44510
|
-
|
|
44511
|
-
|
|
44512
|
-
|
|
45074
|
+
_this22.definitions = _context11.sent;
|
|
45075
|
+
_this22.xmlManager.definitions = _this22.definitions;
|
|
45076
|
+
_this22.nodeIdGenerator = getNodeIdGenerator(_this22.definitions);
|
|
44513
45077
|
store.commit('clearNodes');
|
|
44514
|
-
|
|
45078
|
+
_this22.renderPaper();
|
|
44515
45079
|
case 8:
|
|
44516
45080
|
case "end":
|
|
44517
45081
|
return _context11.stop();
|
|
@@ -44540,13 +45104,13 @@ var Selection_component = normalizeComponent(
|
|
|
44540
45104
|
return boundaryEvent;
|
|
44541
45105
|
},
|
|
44542
45106
|
ensureCancelActivityIsAddedToBoundaryEvents: function ensureCancelActivityIsAddedToBoundaryEvents(process) {
|
|
44543
|
-
var
|
|
45107
|
+
var _this23 = this;
|
|
44544
45108
|
this.getBoundaryEvents(process).forEach(function (definition) {
|
|
44545
|
-
var boundaryEvent =
|
|
45109
|
+
var boundaryEvent = _this23.createBoundaryEvent(definition);
|
|
44546
45110
|
definition.get('outgoing').forEach(function (outgoing) {
|
|
44547
45111
|
return outgoing.set('sourceRef', boundaryEvent);
|
|
44548
45112
|
});
|
|
44549
|
-
|
|
45113
|
+
_this23.replaceDefinition(definition, boundaryEvent, process);
|
|
44550
45114
|
});
|
|
44551
45115
|
},
|
|
44552
45116
|
replaceDefinition: function replaceDefinition(definition, boundaryEvent, process) {
|
|
@@ -44563,36 +45127,36 @@ var Selection_component = normalizeComponent(
|
|
|
44563
45127
|
}, cb);
|
|
44564
45128
|
},
|
|
44565
45129
|
handleDrop: function handleDrop(_ref5) {
|
|
44566
|
-
var
|
|
45130
|
+
var _this24 = this;
|
|
44567
45131
|
return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee12() {
|
|
44568
|
-
var clientX, clientY, control, nodeThatWillBeReplaced, definition, diagram,
|
|
45132
|
+
var clientX, clientY, control, nodeThatWillBeReplaced, definition, diagram, _this24$paperManager$, x, y, newNode, nodeMigrator;
|
|
44569
45133
|
return _regeneratorRuntime().wrap(function _callee12$(_context12) {
|
|
44570
45134
|
while (1) switch (_context12.prev = _context12.next) {
|
|
44571
45135
|
case 0:
|
|
44572
45136
|
clientX = _ref5.clientX, clientY = _ref5.clientY, control = _ref5.control, nodeThatWillBeReplaced = _ref5.nodeThatWillBeReplaced;
|
|
44573
|
-
|
|
45137
|
+
_this24.validateDropTarget({
|
|
44574
45138
|
clientX: clientX,
|
|
44575
45139
|
clientY: clientY,
|
|
44576
45140
|
control: control
|
|
44577
45141
|
});
|
|
44578
|
-
if (
|
|
45142
|
+
if (_this24.allowDrop) {
|
|
44579
45143
|
_context12.next = 4;
|
|
44580
45144
|
break;
|
|
44581
45145
|
}
|
|
44582
45146
|
return _context12.abrupt("return");
|
|
44583
45147
|
case 4:
|
|
44584
|
-
definition =
|
|
44585
|
-
diagram =
|
|
44586
|
-
|
|
45148
|
+
definition = _this24.nodeRegistry[control.type].definition(_this24.moddle, _this24.$t);
|
|
45149
|
+
diagram = _this24.nodeRegistry[control.type].diagram(_this24.moddle);
|
|
45150
|
+
_this24$paperManager$ = _this24.paperManager.clientToGridPoint(clientX, clientY), x = _this24$paperManager$.x, y = _this24$paperManager$.y;
|
|
44587
45151
|
diagram.bounds.x = x;
|
|
44588
45152
|
diagram.bounds.y = y;
|
|
44589
|
-
newNode =
|
|
45153
|
+
newNode = _this24.createNode(control.type, definition, diagram);
|
|
44590
45154
|
if (newNode.isBpmnType('bpmn:BoundaryEvent')) {
|
|
44591
|
-
|
|
45155
|
+
_this24.setShapeCenterUnderCursor(diagram);
|
|
44592
45156
|
}
|
|
44593
|
-
|
|
45157
|
+
_this24.highlightNode(newNode);
|
|
44594
45158
|
_context12.next = 14;
|
|
44595
|
-
return
|
|
45159
|
+
return _this24.addNode(newNode);
|
|
44596
45160
|
case 14:
|
|
44597
45161
|
if (nodeThatWillBeReplaced) {
|
|
44598
45162
|
_context12.next = 16;
|
|
@@ -44600,7 +45164,7 @@ var Selection_component = normalizeComponent(
|
|
|
44600
45164
|
}
|
|
44601
45165
|
return _context12.abrupt("return");
|
|
44602
45166
|
case 16:
|
|
44603
|
-
nodeMigrator = new NodeMigrator_NodeMigrator(nodeThatWillBeReplaced, definition,
|
|
45167
|
+
nodeMigrator = new NodeMigrator_NodeMigrator(nodeThatWillBeReplaced, definition, _this24.graph, newNode, _this24.processes, _this24.collaboration);
|
|
44604
45168
|
nodeMigrator.migrate();
|
|
44605
45169
|
return _context12.abrupt("return", newNode);
|
|
44606
45170
|
case 19:
|
|
@@ -44615,24 +45179,24 @@ var Selection_component = normalizeComponent(
|
|
|
44615
45179
|
diagram.bounds.y -= diagram.bounds.height / 2;
|
|
44616
45180
|
},
|
|
44617
45181
|
selectNewNode: function selectNewNode(node) {
|
|
44618
|
-
var
|
|
45182
|
+
var _this25 = this;
|
|
44619
45183
|
return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee13() {
|
|
44620
45184
|
var newNodeComponent, view;
|
|
44621
45185
|
return _regeneratorRuntime().wrap(function _callee13$(_context13) {
|
|
44622
45186
|
while (1) switch (_context13.prev = _context13.next) {
|
|
44623
45187
|
case 0:
|
|
44624
45188
|
_context13.next = 2;
|
|
44625
|
-
return
|
|
45189
|
+
return _this25.$nextTick();
|
|
44626
45190
|
case 2:
|
|
44627
45191
|
_context13.next = 4;
|
|
44628
|
-
return
|
|
45192
|
+
return _this25.paperManager.awaitScheduledUpdates();
|
|
44629
45193
|
case 4:
|
|
44630
|
-
newNodeComponent =
|
|
45194
|
+
newNodeComponent = _this25.$refs.nodeComponent.find(function (component) {
|
|
44631
45195
|
return component.node === node;
|
|
44632
45196
|
});
|
|
44633
45197
|
view = newNodeComponent.shapeView;
|
|
44634
45198
|
_context13.next = 8;
|
|
44635
|
-
return
|
|
45199
|
+
return _this25.$refs.selector.selectElement(view);
|
|
44636
45200
|
case 8:
|
|
44637
45201
|
case "end":
|
|
44638
45202
|
return _context13.stop();
|
|
@@ -44641,21 +45205,21 @@ var Selection_component = normalizeComponent(
|
|
|
44641
45205
|
}))();
|
|
44642
45206
|
},
|
|
44643
45207
|
addNode: function addNode(node) {
|
|
44644
|
-
var
|
|
45208
|
+
var _this26 = this;
|
|
44645
45209
|
return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee14() {
|
|
44646
45210
|
var targetProcess;
|
|
44647
45211
|
return _regeneratorRuntime().wrap(function _callee14$(_context14) {
|
|
44648
45212
|
while (1) switch (_context14.prev = _context14.next) {
|
|
44649
45213
|
case 0:
|
|
44650
45214
|
if (!node.pool) {
|
|
44651
|
-
node.pool =
|
|
45215
|
+
node.pool = _this26.poolTarget;
|
|
44652
45216
|
}
|
|
44653
|
-
targetProcess = node.getTargetProcess(
|
|
45217
|
+
targetProcess = node.getTargetProcess(_this26.processes, _this26.processNode);
|
|
44654
45218
|
addNodeToProcess(node, targetProcess);
|
|
44655
|
-
node.setIds(
|
|
44656
|
-
|
|
45219
|
+
node.setIds(_this26.nodeIdGenerator);
|
|
45220
|
+
_this26.planeElements.push(node.diagram);
|
|
44657
45221
|
store.commit('addNode', node);
|
|
44658
|
-
|
|
45222
|
+
_this26.poolTarget = null;
|
|
44659
45223
|
|
|
44660
45224
|
// add processmaker-modeler-generic-flow
|
|
44661
45225
|
if (![sequenceFlow_id, poolLane_config_id, association_id, messageFlow_config_id, config_id, dataInputAssociation_config_id, genericFlow_config_id].includes(node.type)) {
|
|
@@ -44665,10 +45229,10 @@ var Selection_component = normalizeComponent(
|
|
|
44665
45229
|
return _context14.abrupt("return");
|
|
44666
45230
|
case 9:
|
|
44667
45231
|
// Select the node after it has been added to the store (does not apply to flows)
|
|
44668
|
-
|
|
45232
|
+
_this26.selectNewNode(node);
|
|
44669
45233
|
return _context14.abrupt("return", new Promise(function (resolve) {
|
|
44670
45234
|
setTimeout(function () {
|
|
44671
|
-
|
|
45235
|
+
_this26.pushToUndoStack();
|
|
44672
45236
|
resolve();
|
|
44673
45237
|
});
|
|
44674
45238
|
}));
|
|
@@ -44680,23 +45244,23 @@ var Selection_component = normalizeComponent(
|
|
|
44680
45244
|
}))();
|
|
44681
45245
|
},
|
|
44682
45246
|
addClonedNodes: function addClonedNodes(nodes) {
|
|
44683
|
-
var
|
|
45247
|
+
var _this27 = this;
|
|
44684
45248
|
return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee15() {
|
|
44685
45249
|
return _regeneratorRuntime().wrap(function _callee15$(_context15) {
|
|
44686
45250
|
while (1) switch (_context15.prev = _context15.next) {
|
|
44687
45251
|
case 0:
|
|
44688
45252
|
nodes.forEach(function (node) {
|
|
44689
45253
|
if (!node.pool) {
|
|
44690
|
-
node.pool =
|
|
45254
|
+
node.pool = _this27.poolTarget;
|
|
44691
45255
|
}
|
|
44692
|
-
var targetProcess = node.getTargetProcess(
|
|
45256
|
+
var targetProcess = node.getTargetProcess(_this27.processes, _this27.processNode);
|
|
44693
45257
|
addNodeToProcess(node, targetProcess);
|
|
44694
|
-
|
|
45258
|
+
_this27.planeElements.push(node.diagram);
|
|
44695
45259
|
store.commit('addNode', node);
|
|
44696
|
-
|
|
45260
|
+
_this27.poolTarget = null;
|
|
44697
45261
|
});
|
|
44698
45262
|
_context15.next = 3;
|
|
44699
|
-
return
|
|
45263
|
+
return _this27.pushToUndoStack();
|
|
44700
45264
|
case 3:
|
|
44701
45265
|
case "end":
|
|
44702
45266
|
return _context15.stop();
|
|
@@ -44706,31 +45270,37 @@ var Selection_component = normalizeComponent(
|
|
|
44706
45270
|
},
|
|
44707
45271
|
removeNode: function removeNode(node) {
|
|
44708
45272
|
var _arguments2 = arguments,
|
|
44709
|
-
|
|
45273
|
+
_this28 = this;
|
|
44710
45274
|
return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee16() {
|
|
44711
45275
|
var _ref6, _ref6$removeRelations, removeRelationships;
|
|
44712
45276
|
return _regeneratorRuntime().wrap(function _callee16$(_context16) {
|
|
44713
45277
|
while (1) switch (_context16.prev = _context16.next) {
|
|
44714
45278
|
case 0:
|
|
44715
45279
|
_ref6 = _arguments2.length > 1 && _arguments2[1] !== undefined ? _arguments2[1] : {}, _ref6$removeRelations = _ref6.removeRelationships, removeRelationships = _ref6$removeRelations === void 0 ? true : _ref6$removeRelations;
|
|
45280
|
+
if (node) {
|
|
45281
|
+
_context16.next = 3;
|
|
45282
|
+
break;
|
|
45283
|
+
}
|
|
45284
|
+
return _context16.abrupt("return");
|
|
45285
|
+
case 3:
|
|
44716
45286
|
if (removeRelationships) {
|
|
44717
|
-
removeNodeFlows(node,
|
|
44718
|
-
removeNodeMessageFlows(node,
|
|
44719
|
-
removeNodeAssociations(node,
|
|
45287
|
+
removeNodeFlows(node, _this28);
|
|
45288
|
+
removeNodeMessageFlows(node, _this28);
|
|
45289
|
+
removeNodeAssociations(node, _this28);
|
|
44720
45290
|
}
|
|
44721
45291
|
removeOutgoingAndIncomingRefsToFlow(node);
|
|
44722
|
-
removeBoundaryEvents(
|
|
45292
|
+
removeBoundaryEvents(_this28.graph, node, _this28.removeNode);
|
|
44723
45293
|
removeSourceDefault(node);
|
|
44724
|
-
|
|
44725
|
-
|
|
45294
|
+
_this28.removeNodesFromLane(node);
|
|
45295
|
+
_this28.removeNodesFromPool(node);
|
|
44726
45296
|
store.commit('removeNode', node);
|
|
44727
|
-
store.commit('highlightNode',
|
|
44728
|
-
|
|
44729
|
-
_context16.next =
|
|
44730
|
-
return
|
|
44731
|
-
case
|
|
44732
|
-
|
|
44733
|
-
case
|
|
45297
|
+
store.commit('highlightNode', _this28.processNode);
|
|
45298
|
+
_this28.$refs.selector.clearSelection();
|
|
45299
|
+
_context16.next = 14;
|
|
45300
|
+
return _this28.$nextTick();
|
|
45301
|
+
case 14:
|
|
45302
|
+
_this28.pushToUndoStack();
|
|
45303
|
+
case 15:
|
|
44734
45304
|
case "end":
|
|
44735
45305
|
return _context16.stop();
|
|
44736
45306
|
}
|
|
@@ -44738,24 +45308,24 @@ var Selection_component = normalizeComponent(
|
|
|
44738
45308
|
}))();
|
|
44739
45309
|
},
|
|
44740
45310
|
removeNodes: function removeNodes() {
|
|
44741
|
-
var
|
|
45311
|
+
var _this29 = this;
|
|
44742
45312
|
return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee19() {
|
|
44743
45313
|
return _regeneratorRuntime().wrap(function _callee19$(_context19) {
|
|
44744
45314
|
while (1) switch (_context19.prev = _context19.next) {
|
|
44745
45315
|
case 0:
|
|
44746
|
-
|
|
45316
|
+
_this29.performSingleUndoRedoTransaction( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee18() {
|
|
44747
45317
|
return _regeneratorRuntime().wrap(function _callee18$(_context18) {
|
|
44748
45318
|
while (1) switch (_context18.prev = _context18.next) {
|
|
44749
45319
|
case 0:
|
|
44750
45320
|
_context18.next = 2;
|
|
44751
|
-
return
|
|
45321
|
+
return _this29.paperManager.performAtomicAction( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee17() {
|
|
44752
45322
|
var waitPromises;
|
|
44753
45323
|
return _regeneratorRuntime().wrap(function _callee17$(_context17) {
|
|
44754
45324
|
while (1) switch (_context17.prev = _context17.next) {
|
|
44755
45325
|
case 0:
|
|
44756
45326
|
waitPromises = [];
|
|
44757
|
-
|
|
44758
|
-
return waitPromises.push(
|
|
45327
|
+
_this29.highlightedNodes.forEach(function (node) {
|
|
45328
|
+
return waitPromises.push(_this29.removeNode(node, {
|
|
44759
45329
|
removeRelationships: true
|
|
44760
45330
|
}));
|
|
44761
45331
|
});
|
|
@@ -44783,7 +45353,7 @@ var Selection_component = normalizeComponent(
|
|
|
44783
45353
|
}))();
|
|
44784
45354
|
},
|
|
44785
45355
|
replaceNode: function replaceNode(_ref9) {
|
|
44786
|
-
var
|
|
45356
|
+
var _this30 = this;
|
|
44787
45357
|
var node = _ref9.node,
|
|
44788
45358
|
typeToReplaceWith = _ref9.typeToReplaceWith;
|
|
44789
45359
|
this.performSingleUndoRedoTransaction( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee21() {
|
|
@@ -44791,14 +45361,14 @@ var Selection_component = normalizeComponent(
|
|
|
44791
45361
|
while (1) switch (_context21.prev = _context21.next) {
|
|
44792
45362
|
case 0:
|
|
44793
45363
|
_context21.next = 2;
|
|
44794
|
-
return
|
|
44795
|
-
var
|
|
45364
|
+
return _this30.paperManager.performAtomicAction( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee20() {
|
|
45365
|
+
var _this30$paper$localTo, clientX, clientY, newNode;
|
|
44796
45366
|
return _regeneratorRuntime().wrap(function _callee20$(_context20) {
|
|
44797
45367
|
while (1) switch (_context20.prev = _context20.next) {
|
|
44798
45368
|
case 0:
|
|
44799
|
-
|
|
45369
|
+
_this30$paper$localTo = _this30.paper.localToClientPoint(node.diagram.bounds), clientX = _this30$paper$localTo.x, clientY = _this30$paper$localTo.y;
|
|
44800
45370
|
_context20.next = 3;
|
|
44801
|
-
return
|
|
45371
|
+
return _this30.handleDrop({
|
|
44802
45372
|
clientX: clientX,
|
|
44803
45373
|
clientY: clientY,
|
|
44804
45374
|
control: {
|
|
@@ -44809,12 +45379,12 @@ var Selection_component = normalizeComponent(
|
|
|
44809
45379
|
case 3:
|
|
44810
45380
|
newNode = _context20.sent;
|
|
44811
45381
|
_context20.next = 6;
|
|
44812
|
-
return
|
|
45382
|
+
return _this30.removeNode(node, {
|
|
44813
45383
|
removeRelationships: false
|
|
44814
45384
|
});
|
|
44815
45385
|
case 6:
|
|
44816
|
-
|
|
44817
|
-
|
|
45386
|
+
_this30.highlightNode(newNode);
|
|
45387
|
+
_this30.selectNewNode(newNode);
|
|
44818
45388
|
case 8:
|
|
44819
45389
|
case "end":
|
|
44820
45390
|
return _context20.stop();
|
|
@@ -44829,7 +45399,7 @@ var Selection_component = normalizeComponent(
|
|
|
44829
45399
|
})));
|
|
44830
45400
|
},
|
|
44831
45401
|
replaceGenericFlow: function replaceGenericFlow(_ref12) {
|
|
44832
|
-
var
|
|
45402
|
+
var _this31 = this;
|
|
44833
45403
|
var actualFlow = _ref12.actualFlow,
|
|
44834
45404
|
genericFlow = _ref12.genericFlow,
|
|
44835
45405
|
targetNode = _ref12.targetNode;
|
|
@@ -44838,27 +45408,27 @@ var Selection_component = normalizeComponent(
|
|
|
44838
45408
|
while (1) switch (_context23.prev = _context23.next) {
|
|
44839
45409
|
case 0:
|
|
44840
45410
|
_context23.next = 2;
|
|
44841
|
-
return
|
|
45411
|
+
return _this31.paperManager.performAtomicAction( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee22() {
|
|
44842
45412
|
return _regeneratorRuntime().wrap(function _callee22$(_context22) {
|
|
44843
45413
|
while (1) switch (_context22.prev = _context22.next) {
|
|
44844
45414
|
case 0:
|
|
44845
45415
|
_context22.next = 2;
|
|
44846
|
-
return
|
|
45416
|
+
return _this31.highlightNode(null);
|
|
44847
45417
|
case 2:
|
|
44848
45418
|
_context22.next = 4;
|
|
44849
|
-
return
|
|
45419
|
+
return _this31.$nextTick();
|
|
44850
45420
|
case 4:
|
|
44851
45421
|
_context22.next = 6;
|
|
44852
|
-
return
|
|
45422
|
+
return _this31.addNode(actualFlow);
|
|
44853
45423
|
case 6:
|
|
44854
45424
|
_context22.next = 8;
|
|
44855
45425
|
return store.commit('removeNode', genericFlow);
|
|
44856
45426
|
case 8:
|
|
44857
45427
|
_context22.next = 10;
|
|
44858
|
-
return
|
|
45428
|
+
return _this31.$nextTick();
|
|
44859
45429
|
case 10:
|
|
44860
45430
|
_context22.next = 12;
|
|
44861
|
-
return
|
|
45431
|
+
return _this31.highlightNode(targetNode);
|
|
44862
45432
|
case 12:
|
|
44863
45433
|
case "end":
|
|
44864
45434
|
return _context22.stop();
|
|
@@ -44873,7 +45443,7 @@ var Selection_component = normalizeComponent(
|
|
|
44873
45443
|
})));
|
|
44874
45444
|
},
|
|
44875
45445
|
performSingleUndoRedoTransaction: function performSingleUndoRedoTransaction(cb) {
|
|
44876
|
-
var
|
|
45446
|
+
var _this32 = this;
|
|
44877
45447
|
return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee24() {
|
|
44878
45448
|
return _regeneratorRuntime().wrap(function _callee24$(_context24) {
|
|
44879
45449
|
while (1) switch (_context24.prev = _context24.next) {
|
|
@@ -44883,7 +45453,7 @@ var Selection_component = normalizeComponent(
|
|
|
44883
45453
|
return cb();
|
|
44884
45454
|
case 3:
|
|
44885
45455
|
undoRedoStore.commit('enableSavingState');
|
|
44886
|
-
|
|
45456
|
+
_this32.pushToUndoStack();
|
|
44887
45457
|
case 5:
|
|
44888
45458
|
case "end":
|
|
44889
45459
|
return _context24.stop();
|
|
@@ -44901,36 +45471,36 @@ var Selection_component = normalizeComponent(
|
|
|
44901
45471
|
pull_default()(containingLane.get('flowNodeRef'), node.definition);
|
|
44902
45472
|
},
|
|
44903
45473
|
removeNodesFromPool: function removeNodesFromPool(node) {
|
|
44904
|
-
var
|
|
45474
|
+
var _this33 = this;
|
|
44905
45475
|
if (node.type === 'processmaker-modeler-pool' && node.definition.processRef) {
|
|
44906
45476
|
if (node.definition.processRef.artifacts) {
|
|
44907
45477
|
node.definition.processRef.artifacts.forEach(function (artifact) {
|
|
44908
|
-
var nodeToRemove =
|
|
45478
|
+
var nodeToRemove = _this33.nodes.find(function (n) {
|
|
44909
45479
|
return n.definition === artifact;
|
|
44910
45480
|
});
|
|
44911
45481
|
if (nodeToRemove) {
|
|
44912
|
-
|
|
45482
|
+
_this33.removeNode(nodeToRemove);
|
|
44913
45483
|
}
|
|
44914
45484
|
});
|
|
44915
45485
|
}
|
|
44916
45486
|
if (node.definition.processRef.flowElements) {
|
|
44917
45487
|
node.definition.processRef.flowElements.forEach(function (flowElement) {
|
|
44918
|
-
var nodeToRemove =
|
|
45488
|
+
var nodeToRemove = _this33.nodes.find(function (n) {
|
|
44919
45489
|
return n.definition === flowElement;
|
|
44920
45490
|
});
|
|
44921
45491
|
if (nodeToRemove) {
|
|
44922
|
-
|
|
45492
|
+
_this33.removeNode(nodeToRemove);
|
|
44923
45493
|
}
|
|
44924
45494
|
});
|
|
44925
45495
|
}
|
|
44926
45496
|
var laneSets = node.definition.processRef.laneSets;
|
|
44927
45497
|
if (!!laneSets && laneSets.length > 0) {
|
|
44928
45498
|
laneSets[0].lanes.forEach(function (lane) {
|
|
44929
|
-
var nodeToRemove =
|
|
45499
|
+
var nodeToRemove = _this33.nodes.find(function (n) {
|
|
44930
45500
|
return n.definition === lane;
|
|
44931
45501
|
});
|
|
44932
45502
|
if (nodeToRemove) {
|
|
44933
|
-
|
|
45503
|
+
_this33.removeNode(nodeToRemove);
|
|
44934
45504
|
}
|
|
44935
45505
|
});
|
|
44936
45506
|
}
|
|
@@ -44958,13 +45528,13 @@ var Selection_component = normalizeComponent(
|
|
|
44958
45528
|
return shape.component != null;
|
|
44959
45529
|
},
|
|
44960
45530
|
setShapeStacking: function setShapeStacking(shape) {
|
|
44961
|
-
var
|
|
45531
|
+
var _this34 = this;
|
|
44962
45532
|
if (this.isRendering || !shape.component.node.isType('processmaker-modeler-pool') && shape === this.previouslyStackedShape) {
|
|
44963
45533
|
return;
|
|
44964
45534
|
}
|
|
44965
45535
|
this.previouslyStackedShape = shape;
|
|
44966
45536
|
this.paperManager.performAtomicAction(function () {
|
|
44967
|
-
return ensureShapeIsNotCovered(shape,
|
|
45537
|
+
return ensureShapeIsNotCovered(shape, _this34.graph);
|
|
44968
45538
|
});
|
|
44969
45539
|
},
|
|
44970
45540
|
showSavedNotification: function showSavedNotification() {
|
|
@@ -44986,11 +45556,11 @@ var Selection_component = normalizeComponent(
|
|
|
44986
45556
|
var selector = this.$refs.selector.$el;
|
|
44987
45557
|
if (typeof selector.getBoundingClientRect === 'function') {
|
|
44988
45558
|
// check if mouse was clicked inside the selector
|
|
44989
|
-
var _selector$
|
|
44990
|
-
sx = _selector$
|
|
44991
|
-
sy = _selector$
|
|
44992
|
-
swidth = _selector$
|
|
44993
|
-
sheight = _selector$
|
|
45559
|
+
var _selector$getBounding = selector.getBoundingClientRect(),
|
|
45560
|
+
sx = _selector$getBounding.x,
|
|
45561
|
+
sy = _selector$getBounding.y,
|
|
45562
|
+
swidth = _selector$getBounding.width,
|
|
45563
|
+
sheight = _selector$getBounding.height;
|
|
44994
45564
|
if (event.clientX >= sx && event.clientX <= sx + swidth && event.clientY >= sy && event.clientY <= sy + sheight) {
|
|
44995
45565
|
return true;
|
|
44996
45566
|
}
|
|
@@ -44998,27 +45568,27 @@ var Selection_component = normalizeComponent(
|
|
|
44998
45568
|
return false;
|
|
44999
45569
|
},
|
|
45000
45570
|
pointerDowInShape: function pointerDowInShape(event, element) {
|
|
45001
|
-
var
|
|
45571
|
+
var _this35 = this;
|
|
45002
45572
|
return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee25() {
|
|
45003
45573
|
var x, y, shapeView;
|
|
45004
45574
|
return _regeneratorRuntime().wrap(function _callee25$(_context25) {
|
|
45005
45575
|
while (1) switch (_context25.prev = _context25.next) {
|
|
45006
45576
|
case 0:
|
|
45007
45577
|
x = event.clientX, y = event.clientY;
|
|
45008
|
-
shapeView =
|
|
45009
|
-
|
|
45010
|
-
|
|
45011
|
-
|
|
45012
|
-
|
|
45578
|
+
shapeView = _this35.paper.findViewByModel(element);
|
|
45579
|
+
_this35.isDragging = false;
|
|
45580
|
+
_this35.isSelecting = false;
|
|
45581
|
+
_this35.isIntoTheSelection = false;
|
|
45582
|
+
_this35.dragStart = {
|
|
45013
45583
|
x: x,
|
|
45014
45584
|
y: y
|
|
45015
45585
|
};
|
|
45016
45586
|
// Verify if is in the selection box
|
|
45017
|
-
if (!
|
|
45587
|
+
if (!_this35.isPointInSelection(event)) {
|
|
45018
45588
|
_context25.next = 10;
|
|
45019
45589
|
break;
|
|
45020
45590
|
}
|
|
45021
|
-
|
|
45591
|
+
_this35.isIntoTheSelection = true;
|
|
45022
45592
|
_context25.next = 15;
|
|
45023
45593
|
break;
|
|
45024
45594
|
case 10:
|
|
@@ -45027,12 +45597,12 @@ var Selection_component = normalizeComponent(
|
|
|
45027
45597
|
break;
|
|
45028
45598
|
}
|
|
45029
45599
|
_context25.next = 13;
|
|
45030
|
-
return
|
|
45600
|
+
return _this35.$refs.selector.selectElement(shapeView);
|
|
45031
45601
|
case 13:
|
|
45032
45602
|
_context25.next = 15;
|
|
45033
|
-
return
|
|
45603
|
+
return _this35.$nextTick();
|
|
45034
45604
|
case 15:
|
|
45035
|
-
|
|
45605
|
+
_this35.$refs.selector.startDrag({
|
|
45036
45606
|
clientX: event.clientX,
|
|
45037
45607
|
clientY: event.clientY
|
|
45038
45608
|
});
|
|
@@ -45131,7 +45701,7 @@ var Selection_component = normalizeComponent(
|
|
|
45131
45701
|
this.$emit('set-xml-manager', this.xmlManager);
|
|
45132
45702
|
},
|
|
45133
45703
|
mounted: function mounted() {
|
|
45134
|
-
var
|
|
45704
|
+
var _this36 = this;
|
|
45135
45705
|
this.graph = new external_jointjs_["dia"].Graph();
|
|
45136
45706
|
store.commit('setGraph', this.graph);
|
|
45137
45707
|
this.graph.set('interactiveFunc', function (cellView) {
|
|
@@ -45149,36 +45719,34 @@ var Selection_component = normalizeComponent(
|
|
|
45149
45719
|
store.commit('setPaper', this.paperManager.paper);
|
|
45150
45720
|
this.paperManager.addEventHandler('element:pointerclick', this.blurFocusedScreenBuilderElement, this);
|
|
45151
45721
|
this.paperManager.addEventHandler('blank:pointerdown', function (event, x, y) {
|
|
45152
|
-
if (
|
|
45153
|
-
var scale =
|
|
45154
|
-
|
|
45722
|
+
if (_this36.isGrabbing) return;
|
|
45723
|
+
var scale = _this36.paperManager.scale;
|
|
45724
|
+
_this36.canvasDragPosition = {
|
|
45155
45725
|
x: x * scale.sx,
|
|
45156
45726
|
y: y * scale.sy
|
|
45157
45727
|
};
|
|
45158
|
-
|
|
45159
|
-
|
|
45728
|
+
_this36.isOverShape = false;
|
|
45729
|
+
_this36.pointerDownHandler(event);
|
|
45160
45730
|
}, this);
|
|
45161
45731
|
this.paperManager.addEventHandler('blank:pointerup', function (event) {
|
|
45162
|
-
|
|
45163
|
-
|
|
45164
|
-
|
|
45732
|
+
_this36.canvasDragPosition = null;
|
|
45733
|
+
_this36.activeNode = null;
|
|
45734
|
+
_this36.pointerUpHandler(event);
|
|
45165
45735
|
}, this);
|
|
45166
45736
|
this.paperManager.addEventHandler('cell:pointerup', function (cellView, event) {
|
|
45167
|
-
|
|
45168
|
-
|
|
45169
|
-
|
|
45737
|
+
_this36.canvasDragPosition = null;
|
|
45738
|
+
_this36.activeNode = null;
|
|
45739
|
+
_this36.pointerUpHandler(event, cellView);
|
|
45170
45740
|
}, this);
|
|
45741
|
+
this.$el.addEventListener('mouseenter', function () {
|
|
45742
|
+
store.commit('setClientLeftPaper', false);
|
|
45743
|
+
});
|
|
45171
45744
|
this.$el.addEventListener('mousemove', function (event) {
|
|
45172
|
-
|
|
45173
|
-
clientY = event.clientY;
|
|
45174
|
-
_this37.pointerMoveHandler(event);
|
|
45175
|
-
store.commit('setClientMousePosition', {
|
|
45176
|
-
clientX: clientX,
|
|
45177
|
-
clientY: clientY
|
|
45178
|
-
});
|
|
45745
|
+
_this36.pointerMoveHandler(event);
|
|
45179
45746
|
});
|
|
45180
45747
|
this.$el.addEventListener('mouseleave', function () {
|
|
45181
|
-
|
|
45748
|
+
_this36.paperManager.removeEventHandler('blank:pointermove');
|
|
45749
|
+
store.commit('setClientLeftPaper', true);
|
|
45182
45750
|
});
|
|
45183
45751
|
this.paperManager.addEventHandler('cell:pointerclick', function (cellView, evt, x, y) {
|
|
45184
45752
|
var clickHandler = cellView.model.get('onClick');
|
|
@@ -45188,33 +45756,33 @@ var Selection_component = normalizeComponent(
|
|
|
45188
45756
|
});
|
|
45189
45757
|
this.paperManager.addEventHandler('cell:pointerclick', function (_ref16, event) {
|
|
45190
45758
|
var shape = _ref16.model;
|
|
45191
|
-
if (!
|
|
45759
|
+
if (!_this36.isBpmnNode(shape)) {
|
|
45192
45760
|
return;
|
|
45193
45761
|
}
|
|
45194
45762
|
shape.component.$emit('click', event);
|
|
45195
45763
|
});
|
|
45196
45764
|
this.paperManager.addEventHandler('cell:pointerdown', function (_ref17, event) {
|
|
45197
45765
|
var shape = _ref17.model;
|
|
45198
|
-
if (!
|
|
45766
|
+
if (!_this36.isBpmnNode(shape)) {
|
|
45199
45767
|
return;
|
|
45200
45768
|
}
|
|
45201
|
-
|
|
45202
|
-
|
|
45203
|
-
|
|
45204
|
-
|
|
45769
|
+
_this36.setShapeStacking(shape);
|
|
45770
|
+
_this36.activeNode = shape.component.node;
|
|
45771
|
+
_this36.isOverShape = true;
|
|
45772
|
+
_this36.pointerDowInShape(event, shape);
|
|
45205
45773
|
});
|
|
45206
45774
|
|
|
45207
45775
|
/* Register custom nodes */
|
|
45208
45776
|
window.ProcessMaker.EventBus.$emit('modeler-start', {
|
|
45209
45777
|
loadXML: function loadXML(xml) {
|
|
45210
|
-
|
|
45778
|
+
_this36.loadXML(xml);
|
|
45211
45779
|
undoRedoStore.dispatch('pushState', xml);
|
|
45212
45780
|
},
|
|
45213
45781
|
addWarnings: function addWarnings(warnings) {
|
|
45214
|
-
return
|
|
45782
|
+
return _this36.$emit('warnings', warnings);
|
|
45215
45783
|
},
|
|
45216
45784
|
addBreadcrumbs: function addBreadcrumbs(breadcrumbs) {
|
|
45217
|
-
return
|
|
45785
|
+
return _this36.breadcrumbData.push(breadcrumbs);
|
|
45218
45786
|
}
|
|
45219
45787
|
});
|
|
45220
45788
|
}
|
|
@@ -45235,8 +45803,8 @@ var modelervue_type_style_index_0_prod_lang_scss_ = __webpack_require__("71e5");
|
|
|
45235
45803
|
|
|
45236
45804
|
var Modeler_component = normalizeComponent(
|
|
45237
45805
|
modeler_Modelervue_type_script_lang_js_,
|
|
45238
|
-
|
|
45239
|
-
|
|
45806
|
+
Modelervue_type_template_id_080b7d44_render,
|
|
45807
|
+
Modelervue_type_template_id_080b7d44_staticRenderFns,
|
|
45240
45808
|
false,
|
|
45241
45809
|
null,
|
|
45242
45810
|
null,
|
|
@@ -45933,8 +46501,8 @@ var conditionalStartEvent_id = 'processmaker-modeler-conditional-start-event';
|
|
|
45933
46501
|
}]
|
|
45934
46502
|
}]
|
|
45935
46503
|
})));
|
|
45936
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
45937
|
-
var
|
|
46504
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"12fda814-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/nodes/dataInputAssociation/dataInputAssociation.vue?vue&type=template&id=2d369db1&
|
|
46505
|
+
var dataInputAssociationvue_type_template_id_2d369db1_render = function render() {
|
|
45938
46506
|
var _vm = this,
|
|
45939
46507
|
_c = _vm._self._c;
|
|
45940
46508
|
return _c('crown-config', _vm._g({
|
|
@@ -45953,9 +46521,9 @@ var dataInputAssociationvue_type_template_id_3e92a415_render = function render()
|
|
|
45953
46521
|
}
|
|
45954
46522
|
}, _vm.$listeners));
|
|
45955
46523
|
};
|
|
45956
|
-
var
|
|
46524
|
+
var dataInputAssociationvue_type_template_id_2d369db1_staticRenderFns = [];
|
|
45957
46525
|
|
|
45958
|
-
// CONCATENATED MODULE: ./src/components/nodes/dataInputAssociation/dataInputAssociation.vue?vue&type=template&id=
|
|
46526
|
+
// CONCATENATED MODULE: ./src/components/nodes/dataInputAssociation/dataInputAssociation.vue?vue&type=template&id=2d369db1&
|
|
45959
46527
|
|
|
45960
46528
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/nodes/dataInputAssociation/dataInputAssociation.vue?vue&type=script&lang=js&
|
|
45961
46529
|
|
|
@@ -45967,6 +46535,7 @@ var dataInputAssociationvue_type_template_id_3e92a415_staticRenderFns = [];
|
|
|
45967
46535
|
|
|
45968
46536
|
|
|
45969
46537
|
|
|
46538
|
+
|
|
45970
46539
|
/* harmony default export */ var dataInputAssociationvue_type_script_lang_js_ = ({
|
|
45971
46540
|
components: {
|
|
45972
46541
|
CrownConfig: crownConfig
|
|
@@ -45981,42 +46550,37 @@ var dataInputAssociationvue_type_template_id_3e92a415_staticRenderFns = [];
|
|
|
45981
46550
|
},
|
|
45982
46551
|
computed: {
|
|
45983
46552
|
isValidConnection: function isValidConnection() {
|
|
45984
|
-
var targetType = get_default()(this.target, 'component.node.type');
|
|
46553
|
+
var targetType = get_default()(this.target, 'component.node.definition.$type');
|
|
45985
46554
|
if (!targetType) {
|
|
45986
46555
|
return false;
|
|
45987
46556
|
}
|
|
45988
|
-
|
|
45989
|
-
|
|
45990
|
-
var
|
|
45991
|
-
|
|
45992
|
-
|
|
46557
|
+
var dataStoreValidTargets = ['bpmn:Task', 'bpmn:SubProcess', 'bpmn:CallActivity', 'bpmn:ManualTask', 'bpmn:ScriptTask', 'bpmn:ServiceTask'];
|
|
46558
|
+
var dataObjectValidTargets = ['bpmn:Task', 'bpmn:SubProcess', 'bpmn:CallActivity', 'bpmn:ManualTask', 'bpmn:ScriptTask', 'bpmn:ServiceTask', 'bpmn:IntermediateThrowEvent', 'bpmn:EndEvent'];
|
|
46559
|
+
var sourceIsDataStore = this.sourceNode.definition.$type === 'bpmn:DataStoreReference';
|
|
46560
|
+
var sourceIsDataObject = this.sourceNode.definition.$type === 'bpmn:DataObjectReference';
|
|
46561
|
+
if (sourceIsDataStore && dataStoreValidTargets.includes(targetType)) {
|
|
46562
|
+
return true;
|
|
45993
46563
|
}
|
|
45994
|
-
return
|
|
46564
|
+
return sourceIsDataObject && dataObjectValidTargets.includes(targetType);
|
|
45995
46565
|
}
|
|
45996
46566
|
},
|
|
45997
46567
|
methods: {
|
|
45998
46568
|
findSourceShape: function findSourceShape() {
|
|
45999
|
-
var _this = this;
|
|
46000
46569
|
if (this.node.dataAssociationProps) {
|
|
46001
46570
|
return this.node.dataAssociationProps.sourceShape;
|
|
46002
46571
|
}
|
|
46003
|
-
var
|
|
46004
|
-
|
|
46005
|
-
|
|
46006
|
-
|
|
46007
|
-
return this.graph.getElements().find(function (element) {
|
|
46008
|
-
return element.component && element.component.node.definition === dataObjectDefinition;
|
|
46572
|
+
var source = this.node.definition.sourceRef[0];
|
|
46573
|
+
// find shape
|
|
46574
|
+
var shape = this.graph.getElements().find(function (e) {
|
|
46575
|
+
return e.component.node.definition === source;
|
|
46009
46576
|
});
|
|
46577
|
+
return shape;
|
|
46010
46578
|
},
|
|
46011
46579
|
getTargetRef: function getTargetRef() {
|
|
46012
|
-
var _this2 = this;
|
|
46013
46580
|
if (this.node.dataAssociationProps) {
|
|
46014
46581
|
return this.node.dataAssociationProps.targetCoords;
|
|
46015
46582
|
}
|
|
46016
|
-
|
|
46017
|
-
return element.component && element.component.node.definition.get('dataInputAssociations') && element.component.node.definition.get('dataInputAssociations')[0] === _this2.node.definition;
|
|
46018
|
-
});
|
|
46019
|
-
return taskWithInputAssociation.component.node.definition;
|
|
46583
|
+
return findIOSpecificationOwner(this.node.definition.targetRef.$parent, this.$parent);
|
|
46020
46584
|
},
|
|
46021
46585
|
updateRouter: function updateRouter() {
|
|
46022
46586
|
this.shape.router('normal', {
|
|
@@ -46027,6 +46591,7 @@ var dataInputAssociationvue_type_template_id_3e92a415_staticRenderFns = [];
|
|
|
46027
46591
|
var targetShape = this.shape.getTargetElement();
|
|
46028
46592
|
var dataInput = getOrFindDataInput(this.moddle, targetShape.component.node, this.sourceNode.definition);
|
|
46029
46593
|
this.node.definition.set('targetRef', dataInput);
|
|
46594
|
+
// @todo Review why this needs to be and array. When saving the BPMN, if this is not an array the sourceRef is not stored
|
|
46030
46595
|
this.node.definition.set('sourceRef', [this.sourceNode.definition]);
|
|
46031
46596
|
targetShape.component.node.definition.set('dataInputAssociations', [this.node.definition]);
|
|
46032
46597
|
}
|
|
@@ -46057,6 +46622,10 @@ var dataInputAssociationvue_type_template_id_3e92a415_staticRenderFns = [];
|
|
|
46057
46622
|
this.shape.component = this;
|
|
46058
46623
|
},
|
|
46059
46624
|
destroyed: function destroyed() {
|
|
46625
|
+
// when a association was not completed this.targetNode will be undefined
|
|
46626
|
+
if (!this.targetNode) {
|
|
46627
|
+
return;
|
|
46628
|
+
}
|
|
46060
46629
|
removeDataInput(this.targetNode, this.sourceNode.definition);
|
|
46061
46630
|
Object(external_lodash_["pull"])(this.targetNode.definition.get('dataInputAssociations'), this.node.definition);
|
|
46062
46631
|
}
|
|
@@ -46073,8 +46642,8 @@ var dataInputAssociationvue_type_template_id_3e92a415_staticRenderFns = [];
|
|
|
46073
46642
|
|
|
46074
46643
|
var dataInputAssociation_component = normalizeComponent(
|
|
46075
46644
|
dataInputAssociation_dataInputAssociationvue_type_script_lang_js_,
|
|
46076
|
-
|
|
46077
|
-
|
|
46645
|
+
dataInputAssociationvue_type_template_id_2d369db1_render,
|
|
46646
|
+
dataInputAssociationvue_type_template_id_2d369db1_staticRenderFns,
|
|
46078
46647
|
false,
|
|
46079
46648
|
null,
|
|
46080
46649
|
null,
|
|
@@ -46109,7 +46678,7 @@ var dataInputAssociation_component = normalizeComponent(
|
|
|
46109
46678
|
}]
|
|
46110
46679
|
}]
|
|
46111
46680
|
}));
|
|
46112
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
46681
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"12fda814-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/nodes/dataOutputAssociation/dataOutputAssociation.vue?vue&type=template&id=ec57134e&
|
|
46113
46682
|
var dataOutputAssociationvue_type_template_id_ec57134e_render = function render() {
|
|
46114
46683
|
var _vm = this,
|
|
46115
46684
|
_c = _vm._self._c;
|