@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.umd.js
CHANGED
|
@@ -3437,6 +3437,17 @@ function objectToString(value) {
|
|
|
3437
3437
|
module.exports = objectToString;
|
|
3438
3438
|
|
|
3439
3439
|
|
|
3440
|
+
/***/ }),
|
|
3441
|
+
|
|
3442
|
+
/***/ "2a52":
|
|
3443
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
3444
|
+
|
|
3445
|
+
"use strict";
|
|
3446
|
+
/* 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");
|
|
3447
|
+
/* 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__);
|
|
3448
|
+
/* unused harmony reexport * */
|
|
3449
|
+
|
|
3450
|
+
|
|
3440
3451
|
/***/ }),
|
|
3441
3452
|
|
|
3442
3453
|
/***/ "2a62":
|
|
@@ -3942,6 +3953,38 @@ module.exports = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? c
|
|
|
3942
3953
|
|
|
3943
3954
|
module.exports = __webpack_require__.p + "img/text-annotation.926416f4.svg";
|
|
3944
3955
|
|
|
3956
|
+
/***/ }),
|
|
3957
|
+
|
|
3958
|
+
/***/ "2c3e":
|
|
3959
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
3960
|
+
|
|
3961
|
+
var DESCRIPTORS = __webpack_require__("83ab");
|
|
3962
|
+
var MISSED_STICKY = __webpack_require__("9f7f").MISSED_STICKY;
|
|
3963
|
+
var classof = __webpack_require__("c6b6");
|
|
3964
|
+
var defineBuiltInAccessor = __webpack_require__("edd0");
|
|
3965
|
+
var getInternalState = __webpack_require__("69f3").get;
|
|
3966
|
+
|
|
3967
|
+
var RegExpPrototype = RegExp.prototype;
|
|
3968
|
+
var $TypeError = TypeError;
|
|
3969
|
+
|
|
3970
|
+
// `RegExp.prototype.sticky` getter
|
|
3971
|
+
// https://tc39.es/ecma262/#sec-get-regexp.prototype.sticky
|
|
3972
|
+
if (DESCRIPTORS && MISSED_STICKY) {
|
|
3973
|
+
defineBuiltInAccessor(RegExpPrototype, 'sticky', {
|
|
3974
|
+
configurable: true,
|
|
3975
|
+
get: function sticky() {
|
|
3976
|
+
if (this === RegExpPrototype) return;
|
|
3977
|
+
// We can't use InternalStateModule.getterFor because
|
|
3978
|
+
// we don't add metadata for regexps created by a literal.
|
|
3979
|
+
if (classof(this) === 'RegExp') {
|
|
3980
|
+
return !!getInternalState(this).sticky;
|
|
3981
|
+
}
|
|
3982
|
+
throw $TypeError('Incompatible receiver, RegExp required');
|
|
3983
|
+
}
|
|
3984
|
+
});
|
|
3985
|
+
}
|
|
3986
|
+
|
|
3987
|
+
|
|
3945
3988
|
/***/ }),
|
|
3946
3989
|
|
|
3947
3990
|
/***/ "2c66":
|
|
@@ -7327,20 +7370,6 @@ module.exports = function (input, pref) {
|
|
|
7327
7370
|
};
|
|
7328
7371
|
|
|
7329
7372
|
|
|
7330
|
-
/***/ }),
|
|
7331
|
-
|
|
7332
|
-
/***/ "48e0":
|
|
7333
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
7334
|
-
|
|
7335
|
-
// Imports
|
|
7336
|
-
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
7337
|
-
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
7338
|
-
// Module
|
|
7339
|
-
exports.push([module.i, ".box[data-v-0078a4ae]{border:1px solid #5faaee;position:absolute;pointer-events:none}", ""]);
|
|
7340
|
-
// Exports
|
|
7341
|
-
module.exports = exports;
|
|
7342
|
-
|
|
7343
|
-
|
|
7344
7373
|
/***/ }),
|
|
7345
7374
|
|
|
7346
7375
|
/***/ "498a":
|
|
@@ -7779,6 +7808,203 @@ function trimmedEndIndex(string) {
|
|
|
7779
7808
|
module.exports = trimmedEndIndex;
|
|
7780
7809
|
|
|
7781
7810
|
|
|
7811
|
+
/***/ }),
|
|
7812
|
+
|
|
7813
|
+
/***/ "4d63":
|
|
7814
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
7815
|
+
|
|
7816
|
+
var DESCRIPTORS = __webpack_require__("83ab");
|
|
7817
|
+
var global = __webpack_require__("da84");
|
|
7818
|
+
var uncurryThis = __webpack_require__("e330");
|
|
7819
|
+
var isForced = __webpack_require__("94ca");
|
|
7820
|
+
var inheritIfRequired = __webpack_require__("7156");
|
|
7821
|
+
var createNonEnumerableProperty = __webpack_require__("9112");
|
|
7822
|
+
var getOwnPropertyNames = __webpack_require__("241c").f;
|
|
7823
|
+
var isPrototypeOf = __webpack_require__("3a9b");
|
|
7824
|
+
var isRegExp = __webpack_require__("44e7");
|
|
7825
|
+
var toString = __webpack_require__("577e");
|
|
7826
|
+
var getRegExpFlags = __webpack_require__("90d8");
|
|
7827
|
+
var stickyHelpers = __webpack_require__("9f7f");
|
|
7828
|
+
var proxyAccessor = __webpack_require__("aeb0");
|
|
7829
|
+
var defineBuiltIn = __webpack_require__("cb2d");
|
|
7830
|
+
var fails = __webpack_require__("d039");
|
|
7831
|
+
var hasOwn = __webpack_require__("1a2d");
|
|
7832
|
+
var enforceInternalState = __webpack_require__("69f3").enforce;
|
|
7833
|
+
var setSpecies = __webpack_require__("2626");
|
|
7834
|
+
var wellKnownSymbol = __webpack_require__("b622");
|
|
7835
|
+
var UNSUPPORTED_DOT_ALL = __webpack_require__("fce3");
|
|
7836
|
+
var UNSUPPORTED_NCG = __webpack_require__("107c");
|
|
7837
|
+
|
|
7838
|
+
var MATCH = wellKnownSymbol('match');
|
|
7839
|
+
var NativeRegExp = global.RegExp;
|
|
7840
|
+
var RegExpPrototype = NativeRegExp.prototype;
|
|
7841
|
+
var SyntaxError = global.SyntaxError;
|
|
7842
|
+
var exec = uncurryThis(RegExpPrototype.exec);
|
|
7843
|
+
var charAt = uncurryThis(''.charAt);
|
|
7844
|
+
var replace = uncurryThis(''.replace);
|
|
7845
|
+
var stringIndexOf = uncurryThis(''.indexOf);
|
|
7846
|
+
var stringSlice = uncurryThis(''.slice);
|
|
7847
|
+
// TODO: Use only proper RegExpIdentifierName
|
|
7848
|
+
var IS_NCG = /^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/;
|
|
7849
|
+
var re1 = /a/g;
|
|
7850
|
+
var re2 = /a/g;
|
|
7851
|
+
|
|
7852
|
+
// "new" should create a new object, old webkit bug
|
|
7853
|
+
var CORRECT_NEW = new NativeRegExp(re1) !== re1;
|
|
7854
|
+
|
|
7855
|
+
var MISSED_STICKY = stickyHelpers.MISSED_STICKY;
|
|
7856
|
+
var UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y;
|
|
7857
|
+
|
|
7858
|
+
var BASE_FORCED = DESCRIPTORS &&
|
|
7859
|
+
(!CORRECT_NEW || MISSED_STICKY || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG || fails(function () {
|
|
7860
|
+
re2[MATCH] = false;
|
|
7861
|
+
// RegExp constructor can alter flags and IsRegExp works correct with @@match
|
|
7862
|
+
return NativeRegExp(re1) != re1 || NativeRegExp(re2) == re2 || NativeRegExp(re1, 'i') != '/a/i';
|
|
7863
|
+
}));
|
|
7864
|
+
|
|
7865
|
+
var handleDotAll = function (string) {
|
|
7866
|
+
var length = string.length;
|
|
7867
|
+
var index = 0;
|
|
7868
|
+
var result = '';
|
|
7869
|
+
var brackets = false;
|
|
7870
|
+
var chr;
|
|
7871
|
+
for (; index <= length; index++) {
|
|
7872
|
+
chr = charAt(string, index);
|
|
7873
|
+
if (chr === '\\') {
|
|
7874
|
+
result += chr + charAt(string, ++index);
|
|
7875
|
+
continue;
|
|
7876
|
+
}
|
|
7877
|
+
if (!brackets && chr === '.') {
|
|
7878
|
+
result += '[\\s\\S]';
|
|
7879
|
+
} else {
|
|
7880
|
+
if (chr === '[') {
|
|
7881
|
+
brackets = true;
|
|
7882
|
+
} else if (chr === ']') {
|
|
7883
|
+
brackets = false;
|
|
7884
|
+
} result += chr;
|
|
7885
|
+
}
|
|
7886
|
+
} return result;
|
|
7887
|
+
};
|
|
7888
|
+
|
|
7889
|
+
var handleNCG = function (string) {
|
|
7890
|
+
var length = string.length;
|
|
7891
|
+
var index = 0;
|
|
7892
|
+
var result = '';
|
|
7893
|
+
var named = [];
|
|
7894
|
+
var names = {};
|
|
7895
|
+
var brackets = false;
|
|
7896
|
+
var ncg = false;
|
|
7897
|
+
var groupid = 0;
|
|
7898
|
+
var groupname = '';
|
|
7899
|
+
var chr;
|
|
7900
|
+
for (; index <= length; index++) {
|
|
7901
|
+
chr = charAt(string, index);
|
|
7902
|
+
if (chr === '\\') {
|
|
7903
|
+
chr = chr + charAt(string, ++index);
|
|
7904
|
+
} else if (chr === ']') {
|
|
7905
|
+
brackets = false;
|
|
7906
|
+
} else if (!brackets) switch (true) {
|
|
7907
|
+
case chr === '[':
|
|
7908
|
+
brackets = true;
|
|
7909
|
+
break;
|
|
7910
|
+
case chr === '(':
|
|
7911
|
+
if (exec(IS_NCG, stringSlice(string, index + 1))) {
|
|
7912
|
+
index += 2;
|
|
7913
|
+
ncg = true;
|
|
7914
|
+
}
|
|
7915
|
+
result += chr;
|
|
7916
|
+
groupid++;
|
|
7917
|
+
continue;
|
|
7918
|
+
case chr === '>' && ncg:
|
|
7919
|
+
if (groupname === '' || hasOwn(names, groupname)) {
|
|
7920
|
+
throw new SyntaxError('Invalid capture group name');
|
|
7921
|
+
}
|
|
7922
|
+
names[groupname] = true;
|
|
7923
|
+
named[named.length] = [groupname, groupid];
|
|
7924
|
+
ncg = false;
|
|
7925
|
+
groupname = '';
|
|
7926
|
+
continue;
|
|
7927
|
+
}
|
|
7928
|
+
if (ncg) groupname += chr;
|
|
7929
|
+
else result += chr;
|
|
7930
|
+
} return [result, named];
|
|
7931
|
+
};
|
|
7932
|
+
|
|
7933
|
+
// `RegExp` constructor
|
|
7934
|
+
// https://tc39.es/ecma262/#sec-regexp-constructor
|
|
7935
|
+
if (isForced('RegExp', BASE_FORCED)) {
|
|
7936
|
+
var RegExpWrapper = function RegExp(pattern, flags) {
|
|
7937
|
+
var thisIsRegExp = isPrototypeOf(RegExpPrototype, this);
|
|
7938
|
+
var patternIsRegExp = isRegExp(pattern);
|
|
7939
|
+
var flagsAreUndefined = flags === undefined;
|
|
7940
|
+
var groups = [];
|
|
7941
|
+
var rawPattern = pattern;
|
|
7942
|
+
var rawFlags, dotAll, sticky, handled, result, state;
|
|
7943
|
+
|
|
7944
|
+
if (!thisIsRegExp && patternIsRegExp && flagsAreUndefined && pattern.constructor === RegExpWrapper) {
|
|
7945
|
+
return pattern;
|
|
7946
|
+
}
|
|
7947
|
+
|
|
7948
|
+
if (patternIsRegExp || isPrototypeOf(RegExpPrototype, pattern)) {
|
|
7949
|
+
pattern = pattern.source;
|
|
7950
|
+
if (flagsAreUndefined) flags = getRegExpFlags(rawPattern);
|
|
7951
|
+
}
|
|
7952
|
+
|
|
7953
|
+
pattern = pattern === undefined ? '' : toString(pattern);
|
|
7954
|
+
flags = flags === undefined ? '' : toString(flags);
|
|
7955
|
+
rawPattern = pattern;
|
|
7956
|
+
|
|
7957
|
+
if (UNSUPPORTED_DOT_ALL && 'dotAll' in re1) {
|
|
7958
|
+
dotAll = !!flags && stringIndexOf(flags, 's') > -1;
|
|
7959
|
+
if (dotAll) flags = replace(flags, /s/g, '');
|
|
7960
|
+
}
|
|
7961
|
+
|
|
7962
|
+
rawFlags = flags;
|
|
7963
|
+
|
|
7964
|
+
if (MISSED_STICKY && 'sticky' in re1) {
|
|
7965
|
+
sticky = !!flags && stringIndexOf(flags, 'y') > -1;
|
|
7966
|
+
if (sticky && UNSUPPORTED_Y) flags = replace(flags, /y/g, '');
|
|
7967
|
+
}
|
|
7968
|
+
|
|
7969
|
+
if (UNSUPPORTED_NCG) {
|
|
7970
|
+
handled = handleNCG(pattern);
|
|
7971
|
+
pattern = handled[0];
|
|
7972
|
+
groups = handled[1];
|
|
7973
|
+
}
|
|
7974
|
+
|
|
7975
|
+
result = inheritIfRequired(NativeRegExp(pattern, flags), thisIsRegExp ? this : RegExpPrototype, RegExpWrapper);
|
|
7976
|
+
|
|
7977
|
+
if (dotAll || sticky || groups.length) {
|
|
7978
|
+
state = enforceInternalState(result);
|
|
7979
|
+
if (dotAll) {
|
|
7980
|
+
state.dotAll = true;
|
|
7981
|
+
state.raw = RegExpWrapper(handleDotAll(pattern), rawFlags);
|
|
7982
|
+
}
|
|
7983
|
+
if (sticky) state.sticky = true;
|
|
7984
|
+
if (groups.length) state.groups = groups;
|
|
7985
|
+
}
|
|
7986
|
+
|
|
7987
|
+
if (pattern !== rawPattern) try {
|
|
7988
|
+
// fails in old engines, but we have no alternatives for unsupported regex syntax
|
|
7989
|
+
createNonEnumerableProperty(result, 'source', rawPattern === '' ? '(?:)' : rawPattern);
|
|
7990
|
+
} catch (error) { /* empty */ }
|
|
7991
|
+
|
|
7992
|
+
return result;
|
|
7993
|
+
};
|
|
7994
|
+
|
|
7995
|
+
for (var keys = getOwnPropertyNames(NativeRegExp), index = 0; keys.length > index;) {
|
|
7996
|
+
proxyAccessor(RegExpWrapper, NativeRegExp, keys[index++]);
|
|
7997
|
+
}
|
|
7998
|
+
|
|
7999
|
+
RegExpPrototype.constructor = RegExpWrapper;
|
|
8000
|
+
RegExpWrapper.prototype = RegExpPrototype;
|
|
8001
|
+
defineBuiltIn(global, 'RegExp', RegExpWrapper, { constructor: true });
|
|
8002
|
+
}
|
|
8003
|
+
|
|
8004
|
+
// https://tc39.es/ecma262/#sec-get-regexp-@@species
|
|
8005
|
+
setSpecies('RegExp');
|
|
8006
|
+
|
|
8007
|
+
|
|
7782
8008
|
/***/ }),
|
|
7783
8009
|
|
|
7784
8010
|
/***/ "4d64":
|
|
@@ -9682,17 +9908,6 @@ module.exports = !IS_DENO && !IS_NODE
|
|
|
9682
9908
|
&& typeof document == 'object';
|
|
9683
9909
|
|
|
9684
9910
|
|
|
9685
|
-
/***/ }),
|
|
9686
|
-
|
|
9687
|
-
/***/ "60b5":
|
|
9688
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
9689
|
-
|
|
9690
|
-
"use strict";
|
|
9691
|
-
/* 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");
|
|
9692
|
-
/* 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__);
|
|
9693
|
-
/* unused harmony reexport * */
|
|
9694
|
-
|
|
9695
|
-
|
|
9696
9911
|
/***/ }),
|
|
9697
9912
|
|
|
9698
9913
|
/***/ "60bb":
|
|
@@ -16100,6 +16315,22 @@ var merge = function (array, left, right, comparefn) {
|
|
|
16100
16315
|
module.exports = mergeSort;
|
|
16101
16316
|
|
|
16102
16317
|
|
|
16318
|
+
/***/ }),
|
|
16319
|
+
|
|
16320
|
+
/***/ "ae5e":
|
|
16321
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
16322
|
+
|
|
16323
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
16324
|
+
|
|
16325
|
+
// load the styles
|
|
16326
|
+
var content = __webpack_require__("e050");
|
|
16327
|
+
if(content.__esModule) content = content.default;
|
|
16328
|
+
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
16329
|
+
if(content.locals) module.exports = content.locals;
|
|
16330
|
+
// add the styles to the DOM
|
|
16331
|
+
var add = __webpack_require__("499e").default
|
|
16332
|
+
var update = add("51866c50", content, true, {"sourceMap":false,"shadowMode":false});
|
|
16333
|
+
|
|
16103
16334
|
/***/ }),
|
|
16104
16335
|
|
|
16105
16336
|
/***/ "ae93":
|
|
@@ -18033,6 +18264,38 @@ function cacheHas(cache, key) {
|
|
|
18033
18264
|
module.exports = cacheHas;
|
|
18034
18265
|
|
|
18035
18266
|
|
|
18267
|
+
/***/ }),
|
|
18268
|
+
|
|
18269
|
+
/***/ "c607":
|
|
18270
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
18271
|
+
|
|
18272
|
+
var DESCRIPTORS = __webpack_require__("83ab");
|
|
18273
|
+
var UNSUPPORTED_DOT_ALL = __webpack_require__("fce3");
|
|
18274
|
+
var classof = __webpack_require__("c6b6");
|
|
18275
|
+
var defineBuiltInAccessor = __webpack_require__("edd0");
|
|
18276
|
+
var getInternalState = __webpack_require__("69f3").get;
|
|
18277
|
+
|
|
18278
|
+
var RegExpPrototype = RegExp.prototype;
|
|
18279
|
+
var $TypeError = TypeError;
|
|
18280
|
+
|
|
18281
|
+
// `RegExp.prototype.dotAll` getter
|
|
18282
|
+
// https://tc39.es/ecma262/#sec-get-regexp.prototype.dotall
|
|
18283
|
+
if (DESCRIPTORS && UNSUPPORTED_DOT_ALL) {
|
|
18284
|
+
defineBuiltInAccessor(RegExpPrototype, 'dotAll', {
|
|
18285
|
+
configurable: true,
|
|
18286
|
+
get: function dotAll() {
|
|
18287
|
+
if (this === RegExpPrototype) return undefined;
|
|
18288
|
+
// We can't use InternalStateModule.getterFor because
|
|
18289
|
+
// we don't add metadata for regexps created by a literal.
|
|
18290
|
+
if (classof(this) === 'RegExp') {
|
|
18291
|
+
return !!getInternalState(this).dotAll;
|
|
18292
|
+
}
|
|
18293
|
+
throw $TypeError('Incompatible receiver, RegExp required');
|
|
18294
|
+
}
|
|
18295
|
+
});
|
|
18296
|
+
}
|
|
18297
|
+
|
|
18298
|
+
|
|
18036
18299
|
/***/ }),
|
|
18037
18300
|
|
|
18038
18301
|
/***/ "c60d":
|
|
@@ -20603,6 +20866,20 @@ if (DESCRIPTORS && isCallable(NativeSymbol) && (!('description' in SymbolPrototy
|
|
|
20603
20866
|
|
|
20604
20867
|
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>"
|
|
20605
20868
|
|
|
20869
|
+
/***/ }),
|
|
20870
|
+
|
|
20871
|
+
/***/ "e050":
|
|
20872
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
20873
|
+
|
|
20874
|
+
// Imports
|
|
20875
|
+
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
20876
|
+
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
20877
|
+
// Module
|
|
20878
|
+
exports.push([module.i, ".box[data-v-01ab8458]{border:1px solid #5faaee;position:absolute;pointer-events:none}", ""]);
|
|
20879
|
+
// Exports
|
|
20880
|
+
module.exports = exports;
|
|
20881
|
+
|
|
20882
|
+
|
|
20606
20883
|
/***/ }),
|
|
20607
20884
|
|
|
20608
20885
|
/***/ "e065":
|
|
@@ -22247,22 +22524,6 @@ function property(path) {
|
|
|
22247
22524
|
module.exports = property;
|
|
22248
22525
|
|
|
22249
22526
|
|
|
22250
|
-
/***/ }),
|
|
22251
|
-
|
|
22252
|
-
/***/ "fa12":
|
|
22253
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
22254
|
-
|
|
22255
|
-
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
22256
|
-
|
|
22257
|
-
// load the styles
|
|
22258
|
-
var content = __webpack_require__("48e0");
|
|
22259
|
-
if(content.__esModule) content = content.default;
|
|
22260
|
-
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
22261
|
-
if(content.locals) module.exports = content.locals;
|
|
22262
|
-
// add the styles to the DOM
|
|
22263
|
-
var add = __webpack_require__("499e").default
|
|
22264
|
-
var update = add("e4161172", content, true, {"sourceMap":false,"shadowMode":false});
|
|
22265
|
-
|
|
22266
22527
|
/***/ }),
|
|
22267
22528
|
|
|
22268
22529
|
/***/ "fa21":
|
|
@@ -22395,16 +22656,16 @@ if (typeof window !== 'undefined') {
|
|
|
22395
22656
|
}
|
|
22396
22657
|
}
|
|
22397
22658
|
|
|
22398
|
-
var
|
|
22399
|
-
if (
|
|
22400
|
-
__webpack_require__.p =
|
|
22659
|
+
var setPublicPath_src = currentScript && currentScript.src.match(/(.+\/)[^/]+\.js(\?.*)?$/)
|
|
22660
|
+
if (setPublicPath_src) {
|
|
22661
|
+
__webpack_require__.p = setPublicPath_src[1] // eslint-disable-line
|
|
22401
22662
|
}
|
|
22402
22663
|
}
|
|
22403
22664
|
|
|
22404
22665
|
// Indicate to webpack that this file can be concatenated
|
|
22405
22666
|
/* harmony default export */ var setPublicPath = (null);
|
|
22406
22667
|
|
|
22407
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
22668
|
+
// 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&
|
|
22408
22669
|
var associationvue_type_template_id_4a60d402_render = function render() {
|
|
22409
22670
|
var _vm = this,
|
|
22410
22671
|
_c = _vm._self._c;
|
|
@@ -23435,7 +23696,7 @@ function isPoint(item) {
|
|
|
23435
23696
|
},
|
|
23436
23697
|
setEndpoint: function setEndpoint(shape, endpoint, connectionOffset) {
|
|
23437
23698
|
var _this2 = this;
|
|
23438
|
-
if (isPoint(shape)) {
|
|
23699
|
+
if (shape && isPoint(shape)) {
|
|
23439
23700
|
return this.shape[endpoint](shape, {
|
|
23440
23701
|
anchor: {
|
|
23441
23702
|
name: 'modelCenter',
|
|
@@ -23616,7 +23877,13 @@ function isPoint(item) {
|
|
|
23616
23877
|
_this5.setupLinkTools();
|
|
23617
23878
|
});
|
|
23618
23879
|
});
|
|
23619
|
-
targetRef = _this5.getTargetRef ? _this5.getTargetRef() : _this5.node.definition.get('targetRef');
|
|
23880
|
+
targetRef = _this5.getTargetRef ? _this5.getTargetRef() : _this5.node.definition.get('targetRef'); // if flow doesn't have a targetRef such as incomplete node, return
|
|
23881
|
+
if (targetRef) {
|
|
23882
|
+
_context.next = 8;
|
|
23883
|
+
break;
|
|
23884
|
+
}
|
|
23885
|
+
return _context.abrupt("return");
|
|
23886
|
+
case 8:
|
|
23620
23887
|
if (targetRef.id) {
|
|
23621
23888
|
targetShape = _this5.graph.getElements().find(function (element) {
|
|
23622
23889
|
return element.component && element.component.node.definition === targetRef;
|
|
@@ -23664,7 +23931,7 @@ function isPoint(item) {
|
|
|
23664
23931
|
_this5.shape.on('change:vertices', function () {
|
|
23665
23932
|
this.component.$emit('shape-resize');
|
|
23666
23933
|
});
|
|
23667
|
-
case
|
|
23934
|
+
case 11:
|
|
23668
23935
|
case "end":
|
|
23669
23936
|
return _context.stop();
|
|
23670
23937
|
}
|
|
@@ -23688,8 +23955,8 @@ var associationConfig_direction = {
|
|
|
23688
23955
|
one: 'One',
|
|
23689
23956
|
both: 'Both'
|
|
23690
23957
|
};
|
|
23691
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
23692
|
-
var
|
|
23958
|
+
// 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&
|
|
23959
|
+
var crownConfigvue_type_template_id_fba1f72a_render = function render() {
|
|
23693
23960
|
var _vm = this,
|
|
23694
23961
|
_c = _vm._self._c;
|
|
23695
23962
|
return _vm.showCrown && !_vm.isMultiselect ? _c('div', {
|
|
@@ -23788,9 +24055,9 @@ var crownConfigvue_type_template_id_3743f36d_render = function render() {
|
|
|
23788
24055
|
}
|
|
23789
24056
|
}, [_c('p', [_vm._v(_vm._s(_vm.$t('Changing this type will replace your current configuration')))])])], 2) : _vm._e();
|
|
23790
24057
|
};
|
|
23791
|
-
var
|
|
24058
|
+
var crownConfigvue_type_template_id_fba1f72a_staticRenderFns = [];
|
|
23792
24059
|
|
|
23793
|
-
// CONCATENATED MODULE: ./src/components/crown/crownConfig/crownConfig.vue?vue&type=template&id=
|
|
24060
|
+
// CONCATENATED MODULE: ./src/components/crown/crownConfig/crownConfig.vue?vue&type=template&id=fba1f72a&
|
|
23794
24061
|
|
|
23795
24062
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.includes.js
|
|
23796
24063
|
var es_array_includes = __webpack_require__("caad");
|
|
@@ -23801,7 +24068,7 @@ var es_string_includes = __webpack_require__("2532");
|
|
|
23801
24068
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.keys.js
|
|
23802
24069
|
var es_object_keys = __webpack_require__("b64b");
|
|
23803
24070
|
|
|
23804
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
24071
|
+
// 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&
|
|
23805
24072
|
var deleteButtonvue_type_template_id_9dd215d6_render = function render() {
|
|
23806
24073
|
var _vm = this,
|
|
23807
24074
|
_c = _vm._self._c;
|
|
@@ -23848,7 +24115,7 @@ var deleteButtonvue_type_template_id_9dd215d6_staticRenderFns = [];
|
|
|
23848
24115
|
var trash_alt_solid = __webpack_require__("806c");
|
|
23849
24116
|
var trash_alt_solid_default = /*#__PURE__*/__webpack_require__.n(trash_alt_solid);
|
|
23850
24117
|
|
|
23851
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
24118
|
+
// 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&
|
|
23852
24119
|
var crownButtonvue_type_template_id_4390a32a_scoped_true_render = function render() {
|
|
23853
24120
|
var _vm = this,
|
|
23854
24121
|
_c = _vm._self._c;
|
|
@@ -24174,6 +24441,7 @@ function getOrFindDataInput(moddle, task, sourceNode) {
|
|
|
24174
24441
|
inputSets: [],
|
|
24175
24442
|
outputSets: []
|
|
24176
24443
|
});
|
|
24444
|
+
task.definition.ioSpecification.$parent = task.definition;
|
|
24177
24445
|
}
|
|
24178
24446
|
// Check if dataInput exists
|
|
24179
24447
|
if (!task.definition.ioSpecification.dataInputs) {
|
|
@@ -24188,6 +24456,7 @@ function getOrFindDataInput(moddle, task, sourceNode) {
|
|
|
24188
24456
|
isCollection: 'false',
|
|
24189
24457
|
name: sourceNode.name
|
|
24190
24458
|
}));
|
|
24459
|
+
task.definition.ioSpecification.dataInputs[task.definition.ioSpecification.dataInputs.length - 1].$parent = task.definition.ioSpecification;
|
|
24191
24460
|
task.definition.ioSpecification.set('dataInputs', task.definition.ioSpecification.dataInputs);
|
|
24192
24461
|
}
|
|
24193
24462
|
dataInput = task.definition.ioSpecification.dataInputs.find(function (input) {
|
|
@@ -24220,7 +24489,7 @@ function getOrFindDataInput(moddle, task, sourceNode) {
|
|
|
24220
24489
|
}
|
|
24221
24490
|
inputSet = task.definition.ioSpecification.inputSets[0];
|
|
24222
24491
|
// Check if dataInputRef exists
|
|
24223
|
-
var dataInputRef = inputSet.dataInputRefs.find(function (ref) {
|
|
24492
|
+
var dataInputRef = inputSet.get('dataInputRefs').find(function (ref) {
|
|
24224
24493
|
return ref.id === dataInputId;
|
|
24225
24494
|
});
|
|
24226
24495
|
if (!dataInputRef) {
|
|
@@ -24228,6 +24497,17 @@ function getOrFindDataInput(moddle, task, sourceNode) {
|
|
|
24228
24497
|
}
|
|
24229
24498
|
return dataInput;
|
|
24230
24499
|
}
|
|
24500
|
+
function findIOSpecificationOwner(ioSpec, modeler) {
|
|
24501
|
+
var owner = ioSpec.$parent;
|
|
24502
|
+
if (!owner) {
|
|
24503
|
+
var _modeler$nodes$find;
|
|
24504
|
+
return (_modeler$nodes$find = modeler.nodes.find(function (node) {
|
|
24505
|
+
var _node$definition$ioSp;
|
|
24506
|
+
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;
|
|
24507
|
+
})) === null || _modeler$nodes$find === void 0 ? void 0 : _modeler$nodes$find.definition;
|
|
24508
|
+
}
|
|
24509
|
+
return owner;
|
|
24510
|
+
}
|
|
24231
24511
|
function removeDataInput(task, sourceNode) {
|
|
24232
24512
|
if (sourceNode.$type !== 'bpmn:DataObjectReference' && sourceNode.$type !== 'bpmn:DataStoreReference') {
|
|
24233
24513
|
throw 'Source node must be a DataObjectReference or bpmn:DataStoreReference, got ' + sourceNode.$type;
|
|
@@ -24356,7 +24636,7 @@ var deleteButton_component = normalizeComponent(
|
|
|
24356
24636
|
)
|
|
24357
24637
|
|
|
24358
24638
|
/* harmony default export */ var deleteButton = (deleteButton_component.exports);
|
|
24359
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
24639
|
+
// 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&
|
|
24360
24640
|
var genericFlowButtonvue_type_template_id_f1d76dbe_render = function render() {
|
|
24361
24641
|
var _vm = this,
|
|
24362
24642
|
_c = _vm._self._c;
|
|
@@ -24514,6 +24794,9 @@ function _createClass(Constructor, protoProps, staticProps) {
|
|
|
24514
24794
|
});
|
|
24515
24795
|
return Constructor;
|
|
24516
24796
|
}
|
|
24797
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.replace.js
|
|
24798
|
+
var es_string_replace = __webpack_require__("5319");
|
|
24799
|
+
|
|
24517
24800
|
// CONCATENATED MODULE: ./src/components/nodes/baseStartEvent/defaultNames.js
|
|
24518
24801
|
var defaultNames = {
|
|
24519
24802
|
'processmaker-modeler-start-event': 'Start Event',
|
|
@@ -24587,6 +24870,8 @@ var cloneDeep_default = /*#__PURE__*/__webpack_require__.n(cloneDeep);
|
|
|
24587
24870
|
|
|
24588
24871
|
|
|
24589
24872
|
|
|
24873
|
+
|
|
24874
|
+
|
|
24590
24875
|
var node_Node = /*#__PURE__*/function () {
|
|
24591
24876
|
function Node(type, definition, diagram) {
|
|
24592
24877
|
_classCallCheck(this, Node);
|
|
@@ -24653,6 +24938,7 @@ var node_Node = /*#__PURE__*/function () {
|
|
|
24653
24938
|
}, {
|
|
24654
24939
|
key: "setIds",
|
|
24655
24940
|
value: function setIds(nodeIdGenerator) {
|
|
24941
|
+
var _this = this;
|
|
24656
24942
|
var _nodeIdGenerator$gene = nodeIdGenerator.generate(),
|
|
24657
24943
|
_nodeIdGenerator$gene2 = _slicedToArray(_nodeIdGenerator$gene, 2),
|
|
24658
24944
|
nodeId = _nodeIdGenerator$gene2[0],
|
|
@@ -24664,29 +24950,93 @@ var node_Node = /*#__PURE__*/function () {
|
|
|
24664
24950
|
this.diagram.id = diagramId;
|
|
24665
24951
|
this.diagram.bpmnElement = this.definition;
|
|
24666
24952
|
}
|
|
24953
|
+
if (this.definition.loopCharacteristics && this.definition.loopCharacteristics.$type === 'bpmn:StandardLoopCharacteristics') {
|
|
24954
|
+
this.definition.loopCharacteristics.set('id', nodeIdGenerator.generate()[0]);
|
|
24955
|
+
if (this.definition.loopCharacteristics.loopCondition) {
|
|
24956
|
+
this.definition.loopCharacteristics.get('loopCondition').set('id', nodeIdGenerator.generate()[0]);
|
|
24957
|
+
}
|
|
24958
|
+
}
|
|
24959
|
+
var dataInputRef, dataOutputRef;
|
|
24960
|
+
if (this.definition.ioSpecification) {
|
|
24961
|
+
this.definition.ioSpecification.set('id', nodeIdGenerator.generate()[0]);
|
|
24962
|
+
var taskId = this.definition.id;
|
|
24963
|
+
if (this.definition.ioSpecification.get('dataInputs')) {
|
|
24964
|
+
this.definition.ioSpecification.get('dataInputs').forEach(function (dataInput) {
|
|
24965
|
+
var id = dataInput.get('id');
|
|
24966
|
+
if (id.substring(0, _this.cloneOf.length) === _this.cloneOf) {
|
|
24967
|
+
dataInput.set('id', id.replace(_this.cloneOf + '_', taskId + '_'));
|
|
24968
|
+
dataInputRef = dataInput;
|
|
24969
|
+
} else {
|
|
24970
|
+
dataInput.set('id', nodeIdGenerator.generate()[0]);
|
|
24971
|
+
}
|
|
24972
|
+
});
|
|
24973
|
+
}
|
|
24974
|
+
if (this.definition.ioSpecification.get('dataOutputs')) {
|
|
24975
|
+
this.definition.ioSpecification.get('dataOutputs').forEach(function (dataOutput) {
|
|
24976
|
+
var id = dataOutput.get('id');
|
|
24977
|
+
if (id.substring(0, _this.cloneOf.length) === _this.cloneOf) {
|
|
24978
|
+
dataOutput.set('id', id.replace(_this.cloneOf + '_', taskId + '_'));
|
|
24979
|
+
dataOutputRef = dataOutput;
|
|
24980
|
+
} else {
|
|
24981
|
+
dataOutput.set('id', nodeIdGenerator.generate()[0]);
|
|
24982
|
+
}
|
|
24983
|
+
});
|
|
24984
|
+
}
|
|
24985
|
+
if (this.definition.ioSpecification.get('inputSets')) {
|
|
24986
|
+
this.definition.ioSpecification.get('inputSets').forEach(function (inputSet) {
|
|
24987
|
+
inputSet.set('id', nodeIdGenerator.generate()[0]);
|
|
24988
|
+
});
|
|
24989
|
+
}
|
|
24990
|
+
if (this.definition.ioSpecification.get('outputSets')) {
|
|
24991
|
+
this.definition.ioSpecification.get('outputSets').forEach(function (outputSet) {
|
|
24992
|
+
outputSet.set('id', nodeIdGenerator.generate()[0]);
|
|
24993
|
+
});
|
|
24994
|
+
}
|
|
24995
|
+
}
|
|
24996
|
+
if (this.definition.loopCharacteristics && this.definition.loopCharacteristics.$type === 'bpmn:MultiInstanceLoopCharacteristics') {
|
|
24997
|
+
this.definition.loopCharacteristics.set('id', nodeIdGenerator.generate()[0]);
|
|
24998
|
+
if (this.definition.loopCharacteristics.loopCardinality) {
|
|
24999
|
+
this.definition.loopCharacteristics.get('loopCardinality').set('id', nodeIdGenerator.generate()[0]);
|
|
25000
|
+
}
|
|
25001
|
+
if (this.definition.loopCharacteristics.loopDataInputRef && dataInputRef) {
|
|
25002
|
+
this.definition.loopCharacteristics.set('loopDataInputRef', dataInputRef);
|
|
25003
|
+
}
|
|
25004
|
+
if (this.definition.loopCharacteristics.loopDataOutputRef && dataOutputRef) {
|
|
25005
|
+
this.definition.loopCharacteristics.set('loopDataOutputRef', dataOutputRef);
|
|
25006
|
+
}
|
|
25007
|
+
if (this.definition.loopCharacteristics.inputDataItem) {
|
|
25008
|
+
this.definition.loopCharacteristics.get('inputDataItem').set('id', nodeIdGenerator.generate()[0]);
|
|
25009
|
+
}
|
|
25010
|
+
if (this.definition.loopCharacteristics.outputDataItem) {
|
|
25011
|
+
this.definition.loopCharacteristics.get('outputDataItem').set('id', nodeIdGenerator.generate()[0]);
|
|
25012
|
+
}
|
|
25013
|
+
if (this.definition.loopCharacteristics.completionCondition) {
|
|
25014
|
+
this.definition.loopCharacteristics.get('completionCondition').set('id', nodeIdGenerator.generate()[0]);
|
|
25015
|
+
}
|
|
25016
|
+
}
|
|
24667
25017
|
}
|
|
24668
25018
|
}, {
|
|
24669
25019
|
key: "clone",
|
|
24670
25020
|
value: function clone(nodeRegistry, moddle, $t) {
|
|
24671
|
-
var
|
|
25021
|
+
var _this2 = this;
|
|
24672
25022
|
var definition = nodeRegistry[this.type].definition(moddle, $t);
|
|
24673
25023
|
var diagram = nodeRegistry[this.type].diagram(moddle);
|
|
24674
25024
|
var clonedNode = new this.constructor(this.type, definition, diagram);
|
|
24675
25025
|
clonedNode.id = null;
|
|
24676
25026
|
clonedNode.pool = this.pool;
|
|
24677
|
-
clonedNode.
|
|
25027
|
+
clonedNode.cloneOf = this.id;
|
|
24678
25028
|
Node.diagramPropertiesToCopy.forEach(function (prop) {
|
|
24679
|
-
return clonedNode.diagram.bounds[prop] =
|
|
25029
|
+
return clonedNode.diagram.bounds[prop] = _this2.diagram.bounds[prop];
|
|
24680
25030
|
});
|
|
24681
25031
|
Object.keys(this.definition).filter(function (key) {
|
|
24682
25032
|
return !Node.definitionPropertiesToNotCopy.includes(key);
|
|
24683
25033
|
}).forEach(function (key) {
|
|
24684
|
-
var definition =
|
|
25034
|
+
var definition = _this2.definition.get(key);
|
|
24685
25035
|
var clonedDefinition = _typeof(definition) === 'object' ? cloneDeep_default()(definition) : definition;
|
|
24686
25036
|
if (key === 'eventDefinitions') {
|
|
24687
25037
|
for (var i in clonedDefinition) {
|
|
24688
25038
|
if (definition[i].signalRef && !clonedDefinition[i].signalRef) {
|
|
24689
|
-
clonedDefinition[i].signalRef
|
|
25039
|
+
clonedDefinition[i].set('signalRef', _objectSpread2({}, definition[i].signalRef));
|
|
24690
25040
|
}
|
|
24691
25041
|
}
|
|
24692
25042
|
}
|
|
@@ -24700,13 +25050,13 @@ var node_Node = /*#__PURE__*/function () {
|
|
|
24700
25050
|
}, {
|
|
24701
25051
|
key: "cloneFlow",
|
|
24702
25052
|
value: function cloneFlow(nodeRegistry, moddle, $t) {
|
|
24703
|
-
var
|
|
25053
|
+
var _this3 = this;
|
|
24704
25054
|
var definition = nodeRegistry[this.type].definition(moddle, $t);
|
|
24705
25055
|
var diagram = nodeRegistry[this.type].diagram(moddle);
|
|
24706
25056
|
var clonedFlow = new this.constructor(this.type, definition, diagram);
|
|
24707
25057
|
clonedFlow.id = null;
|
|
24708
25058
|
clonedFlow.pool = this.pool;
|
|
24709
|
-
clonedFlow.
|
|
25059
|
+
clonedFlow.cloneOf = this.id;
|
|
24710
25060
|
clonedFlow.diagram.waypoint = [];
|
|
24711
25061
|
this.diagram.waypoint.forEach(function (point) {
|
|
24712
25062
|
return clonedFlow.diagram.waypoint.push(point);
|
|
@@ -24714,17 +25064,18 @@ var node_Node = /*#__PURE__*/function () {
|
|
|
24714
25064
|
Object.keys(this.definition).filter(function (key) {
|
|
24715
25065
|
return !Node.flowDefinitionPropertiesToNotCopy.includes(key);
|
|
24716
25066
|
}).forEach(function (key) {
|
|
24717
|
-
var definition =
|
|
25067
|
+
var definition = _this3.definition.get(key);
|
|
24718
25068
|
var clonedDefinition = _typeof(definition) === 'object' ? cloneDeep_default()(definition) : definition;
|
|
24719
25069
|
if (key === 'eventDefinitions') {
|
|
24720
25070
|
for (var i in clonedDefinition) {
|
|
24721
25071
|
if (definition[i].signalRef && !clonedDefinition[i].signalRef) {
|
|
24722
|
-
clonedDefinition[i].signalRef
|
|
25072
|
+
clonedDefinition[i].set('signalRef', _objectSpread2({}, definition[i].signalRef));
|
|
24723
25073
|
}
|
|
24724
25074
|
}
|
|
24725
25075
|
}
|
|
24726
25076
|
clonedFlow.definition.set(key, clonedDefinition);
|
|
24727
|
-
clonedFlow.definition.sourceRef
|
|
25077
|
+
clonedFlow.definition.set('sourceRef', null);
|
|
25078
|
+
clonedFlow.definition.set('targetRef', null);
|
|
24728
25079
|
});
|
|
24729
25080
|
Node.eventDefinitionPropertiesToNotCopy.forEach(function (prop) {
|
|
24730
25081
|
return clonedFlow.definition.eventDefinitions && clonedFlow.definition.eventDefinitions[0] && clonedFlow.definition.eventDefinitions[0].hasOwnProperty(prop) && clonedFlow.definition.eventDefinitions[0].set(prop, null);
|
|
@@ -24734,10 +25085,10 @@ var node_Node = /*#__PURE__*/function () {
|
|
|
24734
25085
|
}, {
|
|
24735
25086
|
key: "getTargetProcess",
|
|
24736
25087
|
value: function getTargetProcess(processes, processNode) {
|
|
24737
|
-
var
|
|
25088
|
+
var _this4 = this;
|
|
24738
25089
|
return this.pool ? processes.find(function (_ref) {
|
|
24739
25090
|
var id = _ref.id;
|
|
24740
|
-
return id ===
|
|
25091
|
+
return id === _this4.pool.component.node.definition.get('processRef').id;
|
|
24741
25092
|
}) : processNode.definition;
|
|
24742
25093
|
}
|
|
24743
25094
|
}], [{
|
|
@@ -24749,7 +25100,7 @@ var node_Node = /*#__PURE__*/function () {
|
|
|
24749
25100
|
return Node;
|
|
24750
25101
|
}();
|
|
24751
25102
|
_defineProperty(node_Node, "diagramPropertiesToCopy", ['x', 'y', 'width', 'height']);
|
|
24752
|
-
_defineProperty(node_Node, "definitionPropertiesToNotCopy", ['$type', 'id']);
|
|
25103
|
+
_defineProperty(node_Node, "definitionPropertiesToNotCopy", ['$type', 'id', 'dataOutputAssociations']);
|
|
24753
25104
|
_defineProperty(node_Node, "flowDefinitionPropertiesToNotCopy", ['$type', 'id', 'sourceRef', 'targetRef']);
|
|
24754
25105
|
_defineProperty(node_Node, "eventDefinitionPropertiesToNotCopy", ['errorRef', 'messageRef']);
|
|
24755
25106
|
|
|
@@ -24832,7 +25183,7 @@ var genericFlowButton_component = normalizeComponent(
|
|
|
24832
25183
|
)
|
|
24833
25184
|
|
|
24834
25185
|
/* harmony default export */ var genericFlowButton = (genericFlowButton_component.exports);
|
|
24835
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
25186
|
+
// 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&
|
|
24836
25187
|
var associationFlowButtonvue_type_template_id_491172aa_render = function render() {
|
|
24837
25188
|
var _vm = this,
|
|
24838
25189
|
_c = _vm._self._c;
|
|
@@ -24926,7 +25277,7 @@ var associationFlowButton_component = normalizeComponent(
|
|
|
24926
25277
|
)
|
|
24927
25278
|
|
|
24928
25279
|
/* harmony default export */ var associationFlowButton = (associationFlowButton_component.exports);
|
|
24929
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
25280
|
+
// 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&
|
|
24930
25281
|
var dataAssociationFlowButtonvue_type_template_id_5943851d_render = function render() {
|
|
24931
25282
|
var _vm = this,
|
|
24932
25283
|
_c = _vm._self._c;
|
|
@@ -25255,7 +25606,7 @@ var dataAssociationFlowButton_component = normalizeComponent(
|
|
|
25255
25606
|
)
|
|
25256
25607
|
|
|
25257
25608
|
/* harmony default export */ var dataAssociationFlowButton = (dataAssociationFlowButton_component.exports);
|
|
25258
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
25609
|
+
// 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&
|
|
25259
25610
|
|
|
25260
25611
|
var copyButtonvue_type_template_id_213aa936_render = function render() {
|
|
25261
25612
|
var _vm$node;
|
|
@@ -25346,7 +25697,7 @@ var copyButton_component = normalizeComponent(
|
|
|
25346
25697
|
)
|
|
25347
25698
|
|
|
25348
25699
|
/* harmony default export */ var copyButton = (copyButton_component.exports);
|
|
25349
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
25700
|
+
// 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&
|
|
25350
25701
|
|
|
25351
25702
|
var duplicateButtonvue_type_template_id_7ad99cd5_render = function render() {
|
|
25352
25703
|
var _vm$node;
|
|
@@ -25434,7 +25785,7 @@ var duplicateButton_component = normalizeComponent(
|
|
|
25434
25785
|
)
|
|
25435
25786
|
|
|
25436
25787
|
/* harmony default export */ var duplicateButton = (duplicateButton_component.exports);
|
|
25437
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
25788
|
+
// 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&
|
|
25438
25789
|
var crownDropdownsvue_type_template_id_0a847d3c_scoped_true_render = function render() {
|
|
25439
25790
|
var _vm = this,
|
|
25440
25791
|
_c = _vm._self._c;
|
|
@@ -25479,7 +25830,7 @@ var crownDropdownsvue_type_template_id_0a847d3c_scoped_true_staticRenderFns = []
|
|
|
25479
25830
|
|
|
25480
25831
|
// CONCATENATED MODULE: ./src/components/crown/crownButtons/crownDropdowns.vue?vue&type=template&id=0a847d3c&scoped=true&
|
|
25481
25832
|
|
|
25482
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
25833
|
+
// 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&
|
|
25483
25834
|
var crownTaskDropdownvue_type_template_id_134c4728_scoped_true_render = function render() {
|
|
25484
25835
|
var _vm = this,
|
|
25485
25836
|
_c = _vm._self._c;
|
|
@@ -25603,7 +25954,7 @@ var crownTaskDropdown_component = normalizeComponent(
|
|
|
25603
25954
|
)
|
|
25604
25955
|
|
|
25605
25956
|
/* harmony default export */ var crownTaskDropdown = (crownTaskDropdown_component.exports);
|
|
25606
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
25957
|
+
// 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&
|
|
25607
25958
|
var crownBoundaryEventDropdownvue_type_template_id_59d91c2d_render = function render() {
|
|
25608
25959
|
var _vm = this,
|
|
25609
25960
|
_c = _vm._self._c;
|
|
@@ -25781,8 +26132,7 @@ function removeRef(state, ref, callBack) {
|
|
|
25781
26132
|
globalProcesses: [],
|
|
25782
26133
|
allowSavingElementPosition: true,
|
|
25783
26134
|
copiedElements: [],
|
|
25784
|
-
|
|
25785
|
-
clientY: null
|
|
26135
|
+
clientLeftPaper: false
|
|
25786
26136
|
},
|
|
25787
26137
|
getters: {
|
|
25788
26138
|
nodes: function nodes(state) {
|
|
@@ -25823,11 +26173,8 @@ function removeRef(state, ref, callBack) {
|
|
|
25823
26173
|
copiedElements: function copiedElements(state) {
|
|
25824
26174
|
return state.copiedElements;
|
|
25825
26175
|
},
|
|
25826
|
-
|
|
25827
|
-
return state.
|
|
25828
|
-
},
|
|
25829
|
-
clientY: function clientY(state) {
|
|
25830
|
-
return state.clientY;
|
|
26176
|
+
clientLeftPaper: function clientLeftPaper(state) {
|
|
26177
|
+
return state.clientLeftPaper;
|
|
25831
26178
|
}
|
|
25832
26179
|
},
|
|
25833
26180
|
mutations: {
|
|
@@ -25933,17 +26280,8 @@ function removeRef(state, ref, callBack) {
|
|
|
25933
26280
|
setCopiedElements: function setCopiedElements(state, elements) {
|
|
25934
26281
|
state.copiedElements = elements;
|
|
25935
26282
|
},
|
|
25936
|
-
|
|
25937
|
-
|
|
25938
|
-
clientY = position.clientY;
|
|
25939
|
-
state = {
|
|
25940
|
-
clientX: clientX,
|
|
25941
|
-
clientY: clientY
|
|
25942
|
-
};
|
|
25943
|
-
},
|
|
25944
|
-
clientLeftPaper: function clientLeftPaper(state) {
|
|
25945
|
-
state.clientX = null;
|
|
25946
|
-
state.clientY = null;
|
|
26283
|
+
setClientLeftPaper: function setClientLeftPaper(state, status) {
|
|
26284
|
+
state.clientLeftPaper = status;
|
|
25947
26285
|
}
|
|
25948
26286
|
},
|
|
25949
26287
|
actions: {
|
|
@@ -26063,7 +26401,7 @@ var crownBoundaryEventDropdown_component = normalizeComponent(
|
|
|
26063
26401
|
)
|
|
26064
26402
|
|
|
26065
26403
|
/* harmony default export */ var crownBoundaryEventDropdown = (crownBoundaryEventDropdown_component.exports);
|
|
26066
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
26404
|
+
// 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&
|
|
26067
26405
|
|
|
26068
26406
|
var crownColorDropdownvue_type_template_id_5e9576a8_scoped_true_render = function render() {
|
|
26069
26407
|
var _vm = this,
|
|
@@ -26211,7 +26549,7 @@ var web_dom_exception_to_string_tag = __webpack_require__("8bd4");
|
|
|
26211
26549
|
// EXTERNAL MODULE: ./node_modules/vue-color/dist/vue-color.min.js
|
|
26212
26550
|
var vue_color_min = __webpack_require__("c345");
|
|
26213
26551
|
|
|
26214
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
26552
|
+
// 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&
|
|
26215
26553
|
var IconSelectorvue_type_template_id_1668818f_render = function render() {
|
|
26216
26554
|
var _vm = this,
|
|
26217
26555
|
_c = _vm._self._c;
|
|
@@ -26435,7 +26773,7 @@ String.prototype.titleCase = function () {
|
|
|
26435
26773
|
});
|
|
26436
26774
|
return words.join(' ');
|
|
26437
26775
|
};
|
|
26438
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
26776
|
+
// 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&
|
|
26439
26777
|
var FileUploadButtonvue_type_template_id_0146dc7d_render = function render() {
|
|
26440
26778
|
var _vm = this,
|
|
26441
26779
|
_c = _vm._self._c;
|
|
@@ -27026,7 +27364,7 @@ var crownDropdowns_component = normalizeComponent(
|
|
|
27026
27364
|
)
|
|
27027
27365
|
|
|
27028
27366
|
/* harmony default export */ var crownDropdowns = (crownDropdowns_component.exports);
|
|
27029
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
27367
|
+
// 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&
|
|
27030
27368
|
var defaultFlowButtonvue_type_template_id_44b12a86_render = function render() {
|
|
27031
27369
|
var _vm = this,
|
|
27032
27370
|
_c = _vm._self._c;
|
|
@@ -27255,8 +27593,7 @@ function runningInCypressTest() {
|
|
|
27255
27593
|
'node.definition.color': {
|
|
27256
27594
|
handler: function handler() {
|
|
27257
27595
|
this.setNodeColor();
|
|
27258
|
-
}
|
|
27259
|
-
deep: true
|
|
27596
|
+
}
|
|
27260
27597
|
},
|
|
27261
27598
|
highlightedShapes: function highlightedShapes(shapes, prevShapes) {
|
|
27262
27599
|
if (isEqual_default()(shapes, prevShapes)) {
|
|
@@ -27441,8 +27778,8 @@ var crownConfigvue_type_style_index_0_prod_lang_scss_ = __webpack_require__("b7e
|
|
|
27441
27778
|
|
|
27442
27779
|
var crownConfig_component = normalizeComponent(
|
|
27443
27780
|
crownConfig_crownConfigvue_type_script_lang_js_,
|
|
27444
|
-
|
|
27445
|
-
|
|
27781
|
+
crownConfigvue_type_template_id_fba1f72a_render,
|
|
27782
|
+
crownConfigvue_type_template_id_fba1f72a_staticRenderFns,
|
|
27446
27783
|
false,
|
|
27447
27784
|
null,
|
|
27448
27785
|
null,
|
|
@@ -27578,7 +27915,7 @@ var association_component = normalizeComponent(
|
|
|
27578
27915
|
|
|
27579
27916
|
)
|
|
27580
27917
|
|
|
27581
|
-
/* harmony default export */ var
|
|
27918
|
+
/* harmony default export */ var association_association = (association_component.exports);
|
|
27582
27919
|
// CONCATENATED MODULE: ./src/components/inspectors/idConfigSettings.js
|
|
27583
27920
|
var idConfigSettings = {
|
|
27584
27921
|
label: 'Node Identifier',
|
|
@@ -27594,7 +27931,7 @@ var idConfigSettings = {
|
|
|
27594
27931
|
var association_id = 'processmaker-modeler-association';
|
|
27595
27932
|
/* harmony default export */ var nodes_association = ({
|
|
27596
27933
|
id: association_id,
|
|
27597
|
-
component:
|
|
27934
|
+
component: association_association,
|
|
27598
27935
|
bpmnType: 'bpmn:Association',
|
|
27599
27936
|
control: false,
|
|
27600
27937
|
definition: function definition(moddle) {
|
|
@@ -27602,6 +27939,9 @@ var association_id = 'processmaker-modeler-association';
|
|
|
27602
27939
|
associationDirection: "".concat(associationConfig_direction.none)
|
|
27603
27940
|
});
|
|
27604
27941
|
},
|
|
27942
|
+
diagram: function diagram(moddle) {
|
|
27943
|
+
return moddle.create('bpmndi:BPMNEdge');
|
|
27944
|
+
},
|
|
27605
27945
|
inspectorConfig: [{
|
|
27606
27946
|
name: 'Data Association',
|
|
27607
27947
|
items: [{
|
|
@@ -27637,7 +27977,7 @@ var association_id = 'processmaker-modeler-association';
|
|
|
27637
27977
|
}]
|
|
27638
27978
|
}]
|
|
27639
27979
|
});
|
|
27640
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
27980
|
+
// 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&
|
|
27641
27981
|
var endEventvue_type_template_id_5b9ad491_render = function render() {
|
|
27642
27982
|
var _vm = this,
|
|
27643
27983
|
_c = _vm._self._c;
|
|
@@ -28116,7 +28456,7 @@ var nameConfigSettings = {
|
|
|
28116
28456
|
validation: 'required'
|
|
28117
28457
|
};
|
|
28118
28458
|
/* harmony default export */ var inspectors_nameConfigSettings = (nameConfigSettings);
|
|
28119
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
28459
|
+
// 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&
|
|
28120
28460
|
var NodeIdentifierInputvue_type_template_id_41ed3f3f_render = function render() {
|
|
28121
28461
|
var _vm = this,
|
|
28122
28462
|
_c = _vm._self._c;
|
|
@@ -28229,7 +28569,7 @@ var NodeIdentifierInput_component = normalizeComponent(
|
|
|
28229
28569
|
config: inspectors_idConfigSettings
|
|
28230
28570
|
}]
|
|
28231
28571
|
});
|
|
28232
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
28572
|
+
// 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&
|
|
28233
28573
|
var DocumentationFormTextAreavue_type_template_id_d69b739e_render = function render() {
|
|
28234
28574
|
var _vm = this,
|
|
28235
28575
|
_c = _vm._self._c;
|
|
@@ -28699,7 +29039,7 @@ var terminateEndEvent_id = 'processmaker-modeler-terminate-end-event';
|
|
|
28699
29039
|
});
|
|
28700
29040
|
}
|
|
28701
29041
|
}));
|
|
28702
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
29042
|
+
// 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&
|
|
28703
29043
|
var gatewayvue_type_template_id_a60e4954_render = function render() {
|
|
28704
29044
|
var _vm = this,
|
|
28705
29045
|
_c = _vm._self._c;
|
|
@@ -29292,7 +29632,7 @@ var eventBasedGateway_id = 'processmaker-modeler-event-based-gateway';
|
|
|
29292
29632
|
}, documentationAccordionConfig, advancedAccordionConfig]
|
|
29293
29633
|
}]
|
|
29294
29634
|
});
|
|
29295
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
29635
|
+
// 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&
|
|
29296
29636
|
var sequenceFlowvue_type_template_id_ea004378_render = function render() {
|
|
29297
29637
|
var _vm = this,
|
|
29298
29638
|
_c = _vm._self._c;
|
|
@@ -29642,7 +29982,7 @@ var sequenceFlow_id = 'processmaker-modeler-sequence-flow';
|
|
|
29642
29982
|
}, documentationAccordionConfig, advancedAccordionConfig]
|
|
29643
29983
|
}]
|
|
29644
29984
|
});
|
|
29645
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
29985
|
+
// 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&
|
|
29646
29986
|
var messageFlowvue_type_template_id_2025c58d_render = function render() {
|
|
29647
29987
|
var _vm = this,
|
|
29648
29988
|
_c = _vm._self._c;
|
|
@@ -29927,7 +30267,7 @@ var messageEndEvent_component = normalizeComponent(
|
|
|
29927
30267
|
)
|
|
29928
30268
|
|
|
29929
30269
|
/* harmony default export */ var messageEndEvent = (messageEndEvent_component.exports);
|
|
29930
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
30270
|
+
// 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&
|
|
29931
30271
|
|
|
29932
30272
|
var MessageSelectvue_type_template_id_395d11da_scoped_true_render = function render() {
|
|
29933
30273
|
var _vm = this,
|
|
@@ -30589,7 +30929,7 @@ var signalEndEvent_component = normalizeComponent(
|
|
|
30589
30929
|
)
|
|
30590
30930
|
|
|
30591
30931
|
/* harmony default export */ var signalEndEvent = (signalEndEvent_component.exports);
|
|
30592
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
30932
|
+
// 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&
|
|
30593
30933
|
|
|
30594
30934
|
var SignalSelectvue_type_template_id_607e6d70_scoped_true_render = function render() {
|
|
30595
30935
|
var _vm = this,
|
|
@@ -31233,7 +31573,7 @@ var signalEndEvent_id = 'processmaker-modeler-signal-end-event';
|
|
|
31233
31573
|
}]
|
|
31234
31574
|
}]
|
|
31235
31575
|
})));
|
|
31236
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
31576
|
+
// 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&
|
|
31237
31577
|
var baseStartEventvue_type_template_id_1aff2df2_render = function render() {
|
|
31238
31578
|
var _vm = this,
|
|
31239
31579
|
_c = _vm._self._c;
|
|
@@ -31657,7 +31997,7 @@ var startTimerEvent_component = normalizeComponent(
|
|
|
31657
31997
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.repeat.js
|
|
31658
31998
|
var es_string_repeat = __webpack_require__("38cf");
|
|
31659
31999
|
|
|
31660
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
32000
|
+
// 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&
|
|
31661
32001
|
|
|
31662
32002
|
var TimerExpressionvue_type_template_id_66e578ba_scoped_true_render = function render() {
|
|
31663
32003
|
var _vm = this,
|
|
@@ -31847,7 +32187,7 @@ var TimerExpressionvue_type_template_id_66e578ba_scoped_true_staticRenderFns = [
|
|
|
31847
32187
|
// EXTERNAL MODULE: external "luxon"
|
|
31848
32188
|
var external_luxon_ = __webpack_require__("5b4c");
|
|
31849
32189
|
|
|
31850
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
32190
|
+
// 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&
|
|
31851
32191
|
var WeekdaySelectvue_type_template_id_5e7ed8dc_scoped_true_render = function render() {
|
|
31852
32192
|
var _vm = this,
|
|
31853
32193
|
_c = _vm._self._c;
|
|
@@ -32551,7 +32891,7 @@ var startTimerEvent_id = 'processmaker-modeler-start-timer-event';
|
|
|
32551
32891
|
}, documentationAccordionConfig, advancedAccordionConfig]
|
|
32552
32892
|
}]
|
|
32553
32893
|
}));
|
|
32554
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
32894
|
+
// 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&
|
|
32555
32895
|
var intermediateEventvue_type_template_id_f999f2fc_render = function render() {
|
|
32556
32896
|
var _vm = this,
|
|
32557
32897
|
_c = _vm._self._c;
|
|
@@ -32775,7 +33115,7 @@ var intermediateTimerEvent_component = normalizeComponent(
|
|
|
32775
33115
|
)
|
|
32776
33116
|
|
|
32777
33117
|
/* harmony default export */ var intermediateTimerEvent = (intermediateTimerEvent_component.exports);
|
|
32778
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
33118
|
+
// 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&
|
|
32779
33119
|
var IntermediateTimervue_type_template_id_1dece816_render = function render() {
|
|
32780
33120
|
var _vm = this,
|
|
32781
33121
|
_c = _vm._self._c;
|
|
@@ -32821,7 +33161,7 @@ var IntermediateTimervue_type_template_id_1dece816_staticRenderFns = [];
|
|
|
32821
33161
|
|
|
32822
33162
|
// CONCATENATED MODULE: ./src/components/inspectors/IntermediateTimer.vue?vue&type=template&id=1dece816&
|
|
32823
33163
|
|
|
32824
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
33164
|
+
// 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&
|
|
32825
33165
|
|
|
32826
33166
|
|
|
32827
33167
|
var DurationExpressionvue_type_template_id_f35728f4_render = function render() {
|
|
@@ -32983,7 +33323,7 @@ var DurationExpression_component = normalizeComponent(
|
|
|
32983
33323
|
)
|
|
32984
33324
|
|
|
32985
33325
|
/* harmony default export */ var DurationExpression = (DurationExpression_component.exports);
|
|
32986
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
33326
|
+
// 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&
|
|
32987
33327
|
var DateTimeExpressionvue_type_template_id_c5f30932_render = function render() {
|
|
32988
33328
|
var _vm = this,
|
|
32989
33329
|
_c = _vm._self._c;
|
|
@@ -33060,7 +33400,7 @@ var DateTimeExpression_component = normalizeComponent(
|
|
|
33060
33400
|
)
|
|
33061
33401
|
|
|
33062
33402
|
/* harmony default export */ var DateTimeExpression = (DateTimeExpression_component.exports);
|
|
33063
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
33403
|
+
// 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&
|
|
33064
33404
|
|
|
33065
33405
|
|
|
33066
33406
|
var CycleExpressionvue_type_template_id_ca345eea_render = function render() {
|
|
@@ -34041,7 +34381,7 @@ var intermediateConditionalCatchEvent_id = 'processmaker-modeler-intermediate-co
|
|
|
34041
34381
|
}]
|
|
34042
34382
|
}]
|
|
34043
34383
|
})));
|
|
34044
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
34384
|
+
// 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&
|
|
34045
34385
|
var taskvue_type_template_id_6cf12260_render = function render() {
|
|
34046
34386
|
var _vm = this,
|
|
34047
34387
|
_c = _vm._self._c;
|
|
@@ -34426,7 +34766,7 @@ var userTask_component = normalizeComponent(
|
|
|
34426
34766
|
)
|
|
34427
34767
|
|
|
34428
34768
|
/* harmony default export */ var userTask = (userTask_component.exports);
|
|
34429
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
34769
|
+
// 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&
|
|
34430
34770
|
var MarkerFlagsvue_type_template_id_66aabb37_scoped_true_render = function render() {
|
|
34431
34771
|
var _vm = this,
|
|
34432
34772
|
_c = _vm._self._c;
|
|
@@ -34522,8 +34862,8 @@ var MarkerFlags_component = normalizeComponent(
|
|
|
34522
34862
|
}
|
|
34523
34863
|
}]
|
|
34524
34864
|
});
|
|
34525
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
34526
|
-
var
|
|
34865
|
+
// 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&
|
|
34866
|
+
var LoopCharacteristicsvue_type_template_id_68268502_render = function render() {
|
|
34527
34867
|
var _vm = this,
|
|
34528
34868
|
_c = _vm._self._c;
|
|
34529
34869
|
return _c('div', [_c('b-form-group', {
|
|
@@ -34673,9 +35013,9 @@ var LoopCharacteristicsvue_type_template_id_8a810772_render = function render()
|
|
|
34673
35013
|
}
|
|
34674
35014
|
})], 1)] : _vm._e()], 2);
|
|
34675
35015
|
};
|
|
34676
|
-
var
|
|
35016
|
+
var LoopCharacteristicsvue_type_template_id_68268502_staticRenderFns = [];
|
|
34677
35017
|
|
|
34678
|
-
// CONCATENATED MODULE: ./src/components/inspectors/LoopCharacteristics.vue?vue&type=template&id=
|
|
35018
|
+
// CONCATENATED MODULE: ./src/components/inspectors/LoopCharacteristics.vue?vue&type=template&id=68268502&
|
|
34679
35019
|
|
|
34680
35020
|
// 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&
|
|
34681
35021
|
|
|
@@ -34722,7 +35062,10 @@ var LoopCharacteristicsvue_type_template_id_8a810772_staticRenderFns = [];
|
|
|
34722
35062
|
isSequential: false
|
|
34723
35063
|
},
|
|
34724
35064
|
loopMaximum: 0,
|
|
34725
|
-
loopCondition: null
|
|
35065
|
+
loopCondition: null,
|
|
35066
|
+
ioSpecification: {
|
|
35067
|
+
dataInputs: []
|
|
35068
|
+
}
|
|
34726
35069
|
},
|
|
34727
35070
|
loopType: null,
|
|
34728
35071
|
multiType: null,
|
|
@@ -34824,8 +35167,9 @@ var LoopCharacteristicsvue_type_template_id_8a810772_staticRenderFns = [];
|
|
|
34824
35167
|
};
|
|
34825
35168
|
},
|
|
34826
35169
|
getLoopDataOutputRef: function getLoopDataOutputRef() {
|
|
35170
|
+
var _this$local$ioSpecifi;
|
|
34827
35171
|
if (!this.local.loopCharacteristics || !this.local.loopCharacteristics.loopDataOutputRef) return null;
|
|
34828
|
-
return this.local.ioSpecification.dataOutputs[0].name;
|
|
35172
|
+
return (_this$local$ioSpecifi = this.local.ioSpecification) === null || _this$local$ioSpecifi === void 0 ? void 0 : _this$local$ioSpecifi.dataOutputs[0].name;
|
|
34829
35173
|
},
|
|
34830
35174
|
setLoopDataOutputRef: function setLoopDataOutputRef(value) {
|
|
34831
35175
|
if (!this.local.ioSpecification) {
|
|
@@ -34854,8 +35198,9 @@ var LoopCharacteristicsvue_type_template_id_8a810772_staticRenderFns = [];
|
|
|
34854
35198
|
};
|
|
34855
35199
|
},
|
|
34856
35200
|
getLoopDataInputRef: function getLoopDataInputRef() {
|
|
35201
|
+
var _this$local$ioSpecifi2;
|
|
34857
35202
|
if (!this.local.loopCharacteristics || !this.local.loopCharacteristics.loopDataInputRef) return null;
|
|
34858
|
-
return this.local.ioSpecification.dataInputs[0].name;
|
|
35203
|
+
return (_this$local$ioSpecifi2 = this.local.ioSpecification) === null || _this$local$ioSpecifi2 === void 0 ? void 0 : _this$local$ioSpecifi2.dataInputs[0].name;
|
|
34859
35204
|
},
|
|
34860
35205
|
setLoopDataInputRef: function setLoopDataInputRef(value) {
|
|
34861
35206
|
var dataDef = {
|
|
@@ -35011,8 +35356,8 @@ var LoopCharacteristicsvue_type_template_id_8a810772_staticRenderFns = [];
|
|
|
35011
35356
|
|
|
35012
35357
|
var LoopCharacteristics_component = normalizeComponent(
|
|
35013
35358
|
inspectors_LoopCharacteristicsvue_type_script_lang_js_,
|
|
35014
|
-
|
|
35015
|
-
|
|
35359
|
+
LoopCharacteristicsvue_type_template_id_68268502_render,
|
|
35360
|
+
LoopCharacteristicsvue_type_template_id_68268502_staticRenderFns,
|
|
35016
35361
|
false,
|
|
35017
35362
|
null,
|
|
35018
35363
|
null,
|
|
@@ -35040,6 +35385,51 @@ function _classPrivateFieldInitSpec(obj, privateMap, value) {
|
|
|
35040
35385
|
_checkPrivateRedeclaration(obj, privateMap);
|
|
35041
35386
|
privateMap.set(obj, value);
|
|
35042
35387
|
}
|
|
35388
|
+
// CONCATENATED MODULE: ./node_modules/@vue/babel-preset-app/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorGet.js
|
|
35389
|
+
function _classApplyDescriptorGet(receiver, descriptor) {
|
|
35390
|
+
if (descriptor.get) {
|
|
35391
|
+
return descriptor.get.call(receiver);
|
|
35392
|
+
}
|
|
35393
|
+
return descriptor.value;
|
|
35394
|
+
}
|
|
35395
|
+
// CONCATENATED MODULE: ./node_modules/@vue/babel-preset-app/node_modules/@babel/runtime/helpers/esm/classExtractFieldDescriptor.js
|
|
35396
|
+
|
|
35397
|
+
function _classExtractFieldDescriptor(receiver, privateMap, action) {
|
|
35398
|
+
if (!privateMap.has(receiver)) {
|
|
35399
|
+
throw new TypeError("attempted to " + action + " private field on non-instance");
|
|
35400
|
+
}
|
|
35401
|
+
return privateMap.get(receiver);
|
|
35402
|
+
}
|
|
35403
|
+
// CONCATENATED MODULE: ./node_modules/@vue/babel-preset-app/node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet.js
|
|
35404
|
+
|
|
35405
|
+
|
|
35406
|
+
function _classPrivateFieldGet(receiver, privateMap) {
|
|
35407
|
+
var descriptor = _classExtractFieldDescriptor(receiver, privateMap, "get");
|
|
35408
|
+
return _classApplyDescriptorGet(receiver, descriptor);
|
|
35409
|
+
}
|
|
35410
|
+
// CONCATENATED MODULE: ./node_modules/@vue/babel-preset-app/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticAccess.js
|
|
35411
|
+
|
|
35412
|
+
function _classCheckPrivateStaticAccess(receiver, classConstructor) {
|
|
35413
|
+
if (receiver !== classConstructor) {
|
|
35414
|
+
throw new TypeError("Private static access of wrong provenance");
|
|
35415
|
+
}
|
|
35416
|
+
}
|
|
35417
|
+
// CONCATENATED MODULE: ./node_modules/@vue/babel-preset-app/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticFieldDescriptor.js
|
|
35418
|
+
|
|
35419
|
+
function _classCheckPrivateStaticFieldDescriptor(descriptor, action) {
|
|
35420
|
+
if (descriptor === undefined) {
|
|
35421
|
+
throw new TypeError("attempted to " + action + " private static field before its declaration");
|
|
35422
|
+
}
|
|
35423
|
+
}
|
|
35424
|
+
// CONCATENATED MODULE: ./node_modules/@vue/babel-preset-app/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecGet.js
|
|
35425
|
+
|
|
35426
|
+
|
|
35427
|
+
|
|
35428
|
+
function _classStaticPrivateFieldSpecGet(receiver, classConstructor, descriptor) {
|
|
35429
|
+
_classCheckPrivateStaticAccess(receiver, classConstructor);
|
|
35430
|
+
_classCheckPrivateStaticFieldDescriptor(descriptor, "get");
|
|
35431
|
+
return _classApplyDescriptorGet(receiver, descriptor);
|
|
35432
|
+
}
|
|
35043
35433
|
// CONCATENATED MODULE: ./node_modules/@vue/babel-preset-app/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorSet.js
|
|
35044
35434
|
|
|
35045
35435
|
function _classApplyDescriptorSet(receiver, descriptor, value) {
|
|
@@ -35052,36 +35442,28 @@ function _classApplyDescriptorSet(receiver, descriptor, value) {
|
|
|
35052
35442
|
descriptor.value = value;
|
|
35053
35443
|
}
|
|
35054
35444
|
}
|
|
35055
|
-
// CONCATENATED MODULE: ./node_modules/@vue/babel-preset-app/node_modules/@babel/runtime/helpers/esm/
|
|
35445
|
+
// CONCATENATED MODULE: ./node_modules/@vue/babel-preset-app/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecSet.js
|
|
35056
35446
|
|
|
35057
|
-
function _classExtractFieldDescriptor(receiver, privateMap, action) {
|
|
35058
|
-
if (!privateMap.has(receiver)) {
|
|
35059
|
-
throw new TypeError("attempted to " + action + " private field on non-instance");
|
|
35060
|
-
}
|
|
35061
|
-
return privateMap.get(receiver);
|
|
35062
|
-
}
|
|
35063
|
-
// CONCATENATED MODULE: ./node_modules/@vue/babel-preset-app/node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet.js
|
|
35064
35447
|
|
|
35065
35448
|
|
|
35066
|
-
function
|
|
35067
|
-
|
|
35449
|
+
function _classStaticPrivateFieldSpecSet(receiver, classConstructor, descriptor, value) {
|
|
35450
|
+
_classCheckPrivateStaticAccess(receiver, classConstructor);
|
|
35451
|
+
_classCheckPrivateStaticFieldDescriptor(descriptor, "set");
|
|
35068
35452
|
_classApplyDescriptorSet(receiver, descriptor, value);
|
|
35069
35453
|
return value;
|
|
35070
35454
|
}
|
|
35071
|
-
//
|
|
35072
|
-
|
|
35073
|
-
if (descriptor.get) {
|
|
35074
|
-
return descriptor.get.call(receiver);
|
|
35075
|
-
}
|
|
35076
|
-
return descriptor.value;
|
|
35077
|
-
}
|
|
35078
|
-
// CONCATENATED MODULE: ./node_modules/@vue/babel-preset-app/node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet.js
|
|
35455
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.constructor.js
|
|
35456
|
+
var es_regexp_constructor = __webpack_require__("4d63");
|
|
35079
35457
|
|
|
35458
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.dot-all.js
|
|
35459
|
+
var es_regexp_dot_all = __webpack_require__("c607");
|
|
35460
|
+
|
|
35461
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.sticky.js
|
|
35462
|
+
var es_regexp_sticky = __webpack_require__("2c3e");
|
|
35463
|
+
|
|
35464
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.to-string.js
|
|
35465
|
+
var es_regexp_to_string = __webpack_require__("25f0");
|
|
35080
35466
|
|
|
35081
|
-
function _classPrivateFieldGet(receiver, privateMap) {
|
|
35082
|
-
var descriptor = _classExtractFieldDescriptor(receiver, privateMap, "get");
|
|
35083
|
-
return _classApplyDescriptorGet(receiver, descriptor);
|
|
35084
|
-
}
|
|
35085
35467
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.weak-map.js
|
|
35086
35468
|
var es_weak_map = __webpack_require__("10d1");
|
|
35087
35469
|
|
|
@@ -35100,60 +35482,45 @@ var es_weak_map = __webpack_require__("10d1");
|
|
|
35100
35482
|
|
|
35101
35483
|
|
|
35102
35484
|
|
|
35103
|
-
|
|
35104
|
-
|
|
35485
|
+
|
|
35486
|
+
|
|
35487
|
+
|
|
35488
|
+
|
|
35489
|
+
|
|
35490
|
+
|
|
35491
|
+
|
|
35492
|
+
|
|
35105
35493
|
var _generateDefinitionId = /*#__PURE__*/new WeakMap();
|
|
35106
35494
|
var _generateDiagramId = /*#__PURE__*/new WeakMap();
|
|
35107
|
-
var _isDefinitionIdUnique = /*#__PURE__*/new WeakMap();
|
|
35108
|
-
var _isDiagramIdUnique = /*#__PURE__*/new WeakMap();
|
|
35109
35495
|
var NodeIdGenerator_NodeIdGenerator = /*#__PURE__*/function () {
|
|
35110
35496
|
function NodeIdGenerator(definitions) {
|
|
35111
|
-
var _this = this;
|
|
35112
35497
|
_classCallCheck(this, NodeIdGenerator);
|
|
35113
|
-
_classPrivateFieldInitSpec(this, _counter, {
|
|
35114
|
-
writable: true,
|
|
35115
|
-
value: 1
|
|
35116
|
-
});
|
|
35117
|
-
_classPrivateFieldInitSpec(this, _diagramCounter, {
|
|
35118
|
-
writable: true,
|
|
35119
|
-
value: 1
|
|
35120
|
-
});
|
|
35121
35498
|
_classPrivateFieldInitSpec(this, _generateDefinitionId, {
|
|
35122
35499
|
writable: true,
|
|
35123
35500
|
value: function value() {
|
|
35124
|
-
var
|
|
35125
|
-
var id = NodeIdGenerator.prefix +
|
|
35126
|
-
|
|
35501
|
+
var _NodeIdGenerator$coun, _NodeIdGenerator$coun2;
|
|
35502
|
+
var id = NodeIdGenerator.prefix + _classStaticPrivateFieldSpecGet(NodeIdGenerator, NodeIdGenerator, _counter);
|
|
35503
|
+
_classStaticPrivateFieldSpecSet(NodeIdGenerator, NodeIdGenerator, _counter, (_NodeIdGenerator$coun = _classStaticPrivateFieldSpecGet(NodeIdGenerator, NodeIdGenerator, _counter), _NodeIdGenerator$coun2 = _NodeIdGenerator$coun++, _NodeIdGenerator$coun)), _NodeIdGenerator$coun2;
|
|
35127
35504
|
return id;
|
|
35128
35505
|
}
|
|
35129
35506
|
});
|
|
35130
35507
|
_classPrivateFieldInitSpec(this, _generateDiagramId, {
|
|
35131
35508
|
writable: true,
|
|
35132
35509
|
value: function value() {
|
|
35133
|
-
var
|
|
35134
|
-
var id = NodeIdGenerator.prefix +
|
|
35135
|
-
|
|
35510
|
+
var _NodeIdGenerator$diag, _NodeIdGenerator$diag2;
|
|
35511
|
+
var id = NodeIdGenerator.prefix + _classStaticPrivateFieldSpecGet(NodeIdGenerator, NodeIdGenerator, _diagramCounter) + '_di';
|
|
35512
|
+
_classStaticPrivateFieldSpecSet(NodeIdGenerator, NodeIdGenerator, _diagramCounter, (_NodeIdGenerator$diag = _classStaticPrivateFieldSpecGet(NodeIdGenerator, NodeIdGenerator, _diagramCounter), _NodeIdGenerator$diag2 = _NodeIdGenerator$diag++, _NodeIdGenerator$diag)), _NodeIdGenerator$diag2;
|
|
35136
35513
|
return id;
|
|
35137
35514
|
}
|
|
35138
35515
|
});
|
|
35139
|
-
_classPrivateFieldInitSpec(this, _isDefinitionIdUnique, {
|
|
35140
|
-
writable: true,
|
|
35141
|
-
value: function value(id) {
|
|
35142
|
-
return !_this.findById(id) && !_this.findById(id, _this.definitions.diagrams);
|
|
35143
|
-
}
|
|
35144
|
-
});
|
|
35145
|
-
_classPrivateFieldInitSpec(this, _isDiagramIdUnique, {
|
|
35146
|
-
writable: true,
|
|
35147
|
-
value: function value(id) {
|
|
35148
|
-
return !_this.findById(id) && !_this.findById(id, _this.definitions.diagrams);
|
|
35149
|
-
}
|
|
35150
|
-
});
|
|
35151
35516
|
this.definitions = definitions;
|
|
35517
|
+
this.refreshLastIdCounter();
|
|
35518
|
+
this.refreshLastDiagramIdCounter();
|
|
35152
35519
|
}
|
|
35153
35520
|
_createClass(NodeIdGenerator, [{
|
|
35154
35521
|
key: "findById",
|
|
35155
35522
|
value: function findById(id) {
|
|
35156
|
-
var
|
|
35523
|
+
var _this = this;
|
|
35157
35524
|
var root = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this.definitions.rootElements;
|
|
35158
35525
|
var walked = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];
|
|
35159
35526
|
if (walked.indexOf(root) > -1) return;
|
|
@@ -35161,35 +35528,91 @@ var NodeIdGenerator_NodeIdGenerator = /*#__PURE__*/function () {
|
|
|
35161
35528
|
if (root instanceof Array) {
|
|
35162
35529
|
walked.push(root);
|
|
35163
35530
|
root.find(function (item) {
|
|
35164
|
-
return found =
|
|
35531
|
+
return found = _this.findById(id, item, walked);
|
|
35165
35532
|
});
|
|
35166
35533
|
} else if (root instanceof Object && root.$type) {
|
|
35167
35534
|
walked.push(root);
|
|
35168
35535
|
if (root.id === id) return root;
|
|
35169
35536
|
Object.getOwnPropertyNames(root).find(function (key) {
|
|
35170
|
-
return found = !(root[key] instanceof Function) &&
|
|
35537
|
+
return found = !(root[key] instanceof Function) && key.substring(0, 1) !== '$' && _this.findById(id, root[key], walked);
|
|
35171
35538
|
});
|
|
35172
35539
|
}
|
|
35173
35540
|
return found;
|
|
35174
35541
|
}
|
|
35542
|
+
}, {
|
|
35543
|
+
key: "matchIds",
|
|
35544
|
+
value: function matchIds(idRegex, root) {
|
|
35545
|
+
var _this2 = this;
|
|
35546
|
+
var walked = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];
|
|
35547
|
+
var lastIdCounter = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 0;
|
|
35548
|
+
if (walked.indexOf(root) > -1) return lastIdCounter;
|
|
35549
|
+
if (root instanceof Array) {
|
|
35550
|
+
walked.push(root);
|
|
35551
|
+
root.forEach(function (item) {
|
|
35552
|
+
return lastIdCounter = _this2.matchIds(idRegex, item, walked, lastIdCounter);
|
|
35553
|
+
});
|
|
35554
|
+
} else if (root instanceof Object) {
|
|
35555
|
+
walked.push(root);
|
|
35556
|
+
if (root.id) {
|
|
35557
|
+
var match = String(root.id).match(idRegex);
|
|
35558
|
+
var idCounter = match ? parseInt(match[1]) : 0;
|
|
35559
|
+
if (idCounter > lastIdCounter) {
|
|
35560
|
+
lastIdCounter = idCounter;
|
|
35561
|
+
}
|
|
35562
|
+
}
|
|
35563
|
+
Object.getOwnPropertyNames(root).forEach(function (key) {
|
|
35564
|
+
if (!(root[key] instanceof Function) && key.substring(0, 1) !== '$') {
|
|
35565
|
+
lastIdCounter = _this2.matchIds(idRegex, root[key], walked, lastIdCounter);
|
|
35566
|
+
}
|
|
35567
|
+
});
|
|
35568
|
+
}
|
|
35569
|
+
return lastIdCounter;
|
|
35570
|
+
}
|
|
35571
|
+
}, {
|
|
35572
|
+
key: "refreshLastIdCounter",
|
|
35573
|
+
value: function refreshLastIdCounter() {
|
|
35574
|
+
var lastIdCounter = this.matchIds(new RegExp("^".concat(NodeIdGenerator.prefix, "(\\d+)$")), this.definitions.rootElements);
|
|
35575
|
+
_classStaticPrivateFieldSpecSet(NodeIdGenerator, NodeIdGenerator, _counter, lastIdCounter + 1);
|
|
35576
|
+
}
|
|
35577
|
+
}, {
|
|
35578
|
+
key: "getCounter",
|
|
35579
|
+
value: function getCounter() {
|
|
35580
|
+
this.refreshLastIdCounter();
|
|
35581
|
+
return _classStaticPrivateFieldSpecGet(NodeIdGenerator, NodeIdGenerator, _counter);
|
|
35582
|
+
}
|
|
35583
|
+
}, {
|
|
35584
|
+
key: "refreshLastDiagramIdCounter",
|
|
35585
|
+
value: function refreshLastDiagramIdCounter() {
|
|
35586
|
+
var lastIdCounter = this.matchIds(new RegExp("^".concat(NodeIdGenerator.prefix, "(\\d+)_di$")), this.definitions.diagrams);
|
|
35587
|
+
_classStaticPrivateFieldSpecSet(NodeIdGenerator, NodeIdGenerator, _diagramCounter, lastIdCounter + 1);
|
|
35588
|
+
}
|
|
35175
35589
|
}, {
|
|
35176
35590
|
key: "generate",
|
|
35177
35591
|
value: function generate() {
|
|
35178
35592
|
var definitionId = _classPrivateFieldGet(this, _generateDefinitionId).call(this);
|
|
35179
35593
|
var diagramId = _classPrivateFieldGet(this, _generateDiagramId).call(this);
|
|
35180
|
-
while (!_classPrivateFieldGet(this, _isDefinitionIdUnique).call(this, definitionId)) {
|
|
35181
|
-
definitionId = _classPrivateFieldGet(this, _generateDefinitionId).call(this);
|
|
35182
|
-
}
|
|
35183
|
-
while (!_classPrivateFieldGet(this, _isDiagramIdUnique).call(this, diagramId)) {
|
|
35184
|
-
diagramId = _classPrivateFieldGet(this, _generateDiagramId).call(this);
|
|
35185
|
-
}
|
|
35186
35594
|
return [definitionId, diagramId];
|
|
35187
35595
|
}
|
|
35188
35596
|
}]);
|
|
35189
35597
|
return NodeIdGenerator;
|
|
35190
|
-
}();
|
|
35598
|
+
}(); // Singleton instance
|
|
35191
35599
|
_defineProperty(NodeIdGenerator_NodeIdGenerator, "prefix", 'node_');
|
|
35600
|
+
var _counter = {
|
|
35601
|
+
writable: true,
|
|
35602
|
+
value: 1
|
|
35603
|
+
};
|
|
35604
|
+
var _diagramCounter = {
|
|
35605
|
+
writable: true,
|
|
35606
|
+
value: 1
|
|
35607
|
+
};
|
|
35192
35608
|
|
|
35609
|
+
var singleton = null;
|
|
35610
|
+
function getNodeIdGenerator(definitions) {
|
|
35611
|
+
if (!singleton) {
|
|
35612
|
+
singleton = new NodeIdGenerator_NodeIdGenerator(definitions);
|
|
35613
|
+
}
|
|
35614
|
+
return singleton;
|
|
35615
|
+
}
|
|
35193
35616
|
// CONCATENATED MODULE: ./src/NodeInspector.js
|
|
35194
35617
|
|
|
35195
35618
|
|
|
@@ -35212,7 +35635,7 @@ var NodeInspector_NodeInspector = /*#__PURE__*/function () {
|
|
|
35212
35635
|
_classCallCheck(this, NodeInspector);
|
|
35213
35636
|
this.index = window.NODE_INSPECTOR_FIRST_INDEX || new Date().getTime();
|
|
35214
35637
|
this.definitions = definitions;
|
|
35215
|
-
this.nodeIdGenerator =
|
|
35638
|
+
this.nodeIdGenerator = getNodeIdGenerator(this.definitions);
|
|
35216
35639
|
this.options = Object.assign({
|
|
35217
35640
|
prefix: this.nodeIdGenerator.generate()[0]
|
|
35218
35641
|
}, options);
|
|
@@ -35492,7 +35915,7 @@ function handleMarkerFlagsValue(markerFlags, node, setNodeProp) {
|
|
|
35492
35915
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.json.stringify.js
|
|
35493
35916
|
var es_json_stringify = __webpack_require__("e9c4");
|
|
35494
35917
|
|
|
35495
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
35918
|
+
// 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&
|
|
35496
35919
|
var subProcessvue_type_template_id_0d80e6df_render = function render() {
|
|
35497
35920
|
var _vm = this,
|
|
35498
35921
|
_c = _vm._self._c;
|
|
@@ -35557,9 +35980,6 @@ var subProcessvue_type_template_id_0d80e6df_staticRenderFns = [];
|
|
|
35557
35980
|
|
|
35558
35981
|
// CONCATENATED MODULE: ./src/components/nodes/subProcess/subProcess.vue?vue&type=template&id=0d80e6df&
|
|
35559
35982
|
|
|
35560
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.replace.js
|
|
35561
|
-
var es_string_replace = __webpack_require__("5319");
|
|
35562
|
-
|
|
35563
35983
|
// EXTERNAL MODULE: ./src/assets/subprocess.svg
|
|
35564
35984
|
var subprocess = __webpack_require__("582a");
|
|
35565
35985
|
var subprocess_default = /*#__PURE__*/__webpack_require__.n(subprocess);
|
|
@@ -35750,7 +36170,7 @@ var subProcess_component = normalizeComponent(
|
|
|
35750
36170
|
)
|
|
35751
36171
|
|
|
35752
36172
|
/* harmony default export */ var subProcess = (subProcess_component.exports);
|
|
35753
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
36173
|
+
// 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&
|
|
35754
36174
|
var SubProcessFormSelectvue_type_template_id_4bda385c_render = function render() {
|
|
35755
36175
|
var _vm = this,
|
|
35756
36176
|
_c = _vm._self._c;
|
|
@@ -36234,7 +36654,7 @@ var scriptTask_id = 'processmaker-modeler-script-task';
|
|
|
36234
36654
|
}, documentationAccordionConfig, advancedAccordionConfig]
|
|
36235
36655
|
}]
|
|
36236
36656
|
}));
|
|
36237
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
36657
|
+
// 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&
|
|
36238
36658
|
var textAnnotationvue_type_template_id_2702f9d9_render = function render() {
|
|
36239
36659
|
var _vm = this,
|
|
36240
36660
|
_c = _vm._self._c;
|
|
@@ -36435,7 +36855,7 @@ var textAnnotation_id = 'processmaker-modeler-text-annotation';
|
|
|
36435
36855
|
}, documentationAccordionConfig, advancedAccordionConfig]
|
|
36436
36856
|
}]
|
|
36437
36857
|
});
|
|
36438
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
36858
|
+
// 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&
|
|
36439
36859
|
var poolvue_type_template_id_6ad64eb6_render = function render() {
|
|
36440
36860
|
var _vm = this,
|
|
36441
36861
|
_c = _vm._self._c;
|
|
@@ -37025,7 +37445,7 @@ var minLaneHeight = 100;
|
|
|
37025
37445
|
});
|
|
37026
37446
|
}
|
|
37027
37447
|
});
|
|
37028
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
37448
|
+
// 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&
|
|
37029
37449
|
var poolLanevue_type_template_id_077a384c_render = function render() {
|
|
37030
37450
|
var _vm = this,
|
|
37031
37451
|
_c = _vm._self._c;
|
|
@@ -37185,7 +37605,7 @@ var poolLane_component = normalizeComponent(
|
|
|
37185
37605
|
}, documentationAccordionConfig, advancedAccordionConfig]
|
|
37186
37606
|
}]
|
|
37187
37607
|
});
|
|
37188
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
37608
|
+
// 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&
|
|
37189
37609
|
var addLaneAboveButtonvue_type_template_id_19096851_render = function render() {
|
|
37190
37610
|
var _vm = this,
|
|
37191
37611
|
_c = _vm._self._c;
|
|
@@ -37245,7 +37665,7 @@ var addLaneAboveButton_component = normalizeComponent(
|
|
|
37245
37665
|
)
|
|
37246
37666
|
|
|
37247
37667
|
/* harmony default export */ var addLaneAboveButton = (addLaneAboveButton_component.exports);
|
|
37248
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
37668
|
+
// 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&
|
|
37249
37669
|
var addLaneBelowButtonvue_type_template_id_3cc11e26_render = function render() {
|
|
37250
37670
|
var _vm = this,
|
|
37251
37671
|
_c = _vm._self._c;
|
|
@@ -37330,7 +37750,7 @@ var Pool = external_jointjs_["shapes"].standard.Rectangle.define('processmaker.m
|
|
|
37330
37750
|
}
|
|
37331
37751
|
});
|
|
37332
37752
|
/* harmony default export */ var pool_poolShape = (Pool);
|
|
37333
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
37753
|
+
// 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&
|
|
37334
37754
|
var dataObjectvue_type_template_id_87c6177c_render = function render() {
|
|
37335
37755
|
var _vm = this,
|
|
37336
37756
|
_c = _vm._self._c;
|
|
@@ -37470,7 +37890,7 @@ var dataObject_id = 'processmaker-modeler-data-object';
|
|
|
37470
37890
|
}, documentationAccordionConfig, advancedAccordionConfig]
|
|
37471
37891
|
}]
|
|
37472
37892
|
});
|
|
37473
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
37893
|
+
// 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&
|
|
37474
37894
|
var dataStorevue_type_template_id_a13445d0_render = function render() {
|
|
37475
37895
|
var _vm = this,
|
|
37476
37896
|
_c = _vm._self._c;
|
|
@@ -38428,7 +38848,7 @@ var pool_component = normalizeComponent(
|
|
|
38428
38848
|
}, documentationAccordionConfig, advancedAccordionConfig]
|
|
38429
38849
|
}]
|
|
38430
38850
|
});
|
|
38431
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
38851
|
+
// 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&
|
|
38432
38852
|
|
|
38433
38853
|
var ValidationStatusvue_type_template_id_1ad192c7_scoped_true_render = function render() {
|
|
38434
38854
|
var _vm = this,
|
|
@@ -38660,10 +39080,10 @@ var ValidationStatus_component = normalizeComponent(
|
|
|
38660
39080
|
)
|
|
38661
39081
|
|
|
38662
39082
|
/* harmony default export */ var ValidationStatus = (ValidationStatus_component.exports);
|
|
38663
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
39083
|
+
// 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&
|
|
38664
39084
|
|
|
38665
39085
|
|
|
38666
|
-
var
|
|
39086
|
+
var Modelervue_type_template_id_080b7d44_render = function render() {
|
|
38667
39087
|
var _vm = this,
|
|
38668
39088
|
_c = _vm._self._c;
|
|
38669
39089
|
return _c('span', {
|
|
@@ -38833,11 +39253,11 @@ var Modelervue_type_template_id_3747d1ec_render = function render() {
|
|
|
38833
39253
|
}
|
|
38834
39254
|
}) : _vm._e()], 2)], 1);
|
|
38835
39255
|
};
|
|
38836
|
-
var
|
|
39256
|
+
var Modelervue_type_template_id_080b7d44_staticRenderFns = [];
|
|
38837
39257
|
|
|
38838
|
-
// CONCATENATED MODULE: ./src/components/modeler/Modeler.vue?vue&type=template&id=
|
|
39258
|
+
// CONCATENATED MODULE: ./src/components/modeler/Modeler.vue?vue&type=template&id=080b7d44&
|
|
38839
39259
|
|
|
38840
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
39260
|
+
// 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&
|
|
38841
39261
|
var boundaryEventvue_type_template_id_19cfef66_render = function render() {
|
|
38842
39262
|
var _vm = this,
|
|
38843
39263
|
_c = _vm._self._c;
|
|
@@ -39190,7 +39610,7 @@ var boundaryEvent_component = normalizeComponent(
|
|
|
39190
39610
|
var external_bpmn_moddle_ = __webpack_require__("f2e1");
|
|
39191
39611
|
var external_bpmn_moddle_default = /*#__PURE__*/__webpack_require__.n(external_bpmn_moddle_);
|
|
39192
39612
|
|
|
39193
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
39613
|
+
// 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&
|
|
39194
39614
|
var controlsvue_type_template_id_6bd76071_scoped_true_render = function render() {
|
|
39195
39615
|
var _vm = this,
|
|
39196
39616
|
_c = _vm._self._c;
|
|
@@ -39396,7 +39816,7 @@ var controls_component = normalizeComponent(
|
|
|
39396
39816
|
var lodash_remove = __webpack_require__("c04c");
|
|
39397
39817
|
var remove_default = /*#__PURE__*/__webpack_require__.n(lodash_remove);
|
|
39398
39818
|
|
|
39399
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
39819
|
+
// 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&
|
|
39400
39820
|
var InspectorPanelvue_type_template_id_48002854_scoped_true_render = function render() {
|
|
39401
39821
|
var _vm = this,
|
|
39402
39822
|
_c = _vm._self._c;
|
|
@@ -39466,7 +39886,7 @@ var noop_default = /*#__PURE__*/__webpack_require__.n(noop);
|
|
|
39466
39886
|
|
|
39467
39887
|
// CONCATENATED MODULE: ./src/components/inspectors/process.js
|
|
39468
39888
|
|
|
39469
|
-
|
|
39889
|
+
var process_process = {
|
|
39470
39890
|
id: 'processmaker-modeler-process',
|
|
39471
39891
|
bpmnType: 'bpmn:Process',
|
|
39472
39892
|
control: false,
|
|
@@ -39496,7 +39916,9 @@ var noop_default = /*#__PURE__*/__webpack_require__.n(noop);
|
|
|
39496
39916
|
}]
|
|
39497
39917
|
}]
|
|
39498
39918
|
}]
|
|
39499
|
-
}
|
|
39919
|
+
};
|
|
39920
|
+
var process_id = process_process.id;
|
|
39921
|
+
/* harmony default export */ var inspectors_process = (process_process);
|
|
39500
39922
|
// 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&
|
|
39501
39923
|
|
|
39502
39924
|
|
|
@@ -40119,7 +40541,7 @@ function getLocalMousePosition(clientX, clientY, paper) {
|
|
|
40119
40541
|
y: clientY
|
|
40120
40542
|
});
|
|
40121
40543
|
}
|
|
40122
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
40544
|
+
// 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&
|
|
40123
40545
|
var MiniPapervue_type_template_id_3f2e95bf_scoped_true_render = function render() {
|
|
40124
40546
|
var _vm = this,
|
|
40125
40547
|
_c = _vm._self._c;
|
|
@@ -40138,6 +40560,14 @@ var MiniPapervue_type_template_id_3f2e95bf_scoped_true_staticRenderFns = [];
|
|
|
40138
40560
|
|
|
40139
40561
|
// CONCATENATED MODULE: ./src/components/miniPaper/MiniPaper.vue?vue&type=template&id=3f2e95bf&scoped=true&
|
|
40140
40562
|
|
|
40563
|
+
// CONCATENATED MODULE: ./node_modules/@vue/babel-preset-app/node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet.js
|
|
40564
|
+
|
|
40565
|
+
|
|
40566
|
+
function _classPrivateFieldSet(receiver, privateMap, value) {
|
|
40567
|
+
var descriptor = _classExtractFieldDescriptor(receiver, privateMap, "set");
|
|
40568
|
+
_classApplyDescriptorSet(receiver, descriptor, value);
|
|
40569
|
+
return value;
|
|
40570
|
+
}
|
|
40141
40571
|
// CONCATENATED MODULE: ./src/components/miniMapManager.js
|
|
40142
40572
|
|
|
40143
40573
|
|
|
@@ -40579,7 +41009,7 @@ function getElementPool(shape) {
|
|
|
40579
41009
|
function isPool(shape) {
|
|
40580
41010
|
return shape.component.node.type === pool_config_id;
|
|
40581
41011
|
}
|
|
40582
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
41012
|
+
// 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&
|
|
40583
41013
|
var ToolBarvue_type_template_id_6e6292d7_render = function render() {
|
|
40584
41014
|
var _vm = this,
|
|
40585
41015
|
_c = _vm._self._c;
|
|
@@ -40867,7 +41297,7 @@ var ToolBarvue_type_template_id_6e6292d7_staticRenderFns = [];
|
|
|
40867
41297
|
|
|
40868
41298
|
// CONCATENATED MODULE: ./src/components/toolbar/ToolBar.vue?vue&type=template&id=6e6292d7&
|
|
40869
41299
|
|
|
40870
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
41300
|
+
// 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&
|
|
40871
41301
|
var Breadcrumbvue_type_template_id_d1e148b4_scoped_true_render = function render() {
|
|
40872
41302
|
var _vm = this,
|
|
40873
41303
|
_c = _vm._self._c;
|
|
@@ -40942,7 +41372,7 @@ var Breadcrumb_component = normalizeComponent(
|
|
|
40942
41372
|
)
|
|
40943
41373
|
|
|
40944
41374
|
/* harmony default export */ var Breadcrumb = (Breadcrumb_component.exports);
|
|
40945
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
41375
|
+
// 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&
|
|
40946
41376
|
var AlignButtonsvue_type_template_id_2ea4dea5_render = function render() {
|
|
40947
41377
|
var _vm = this,
|
|
40948
41378
|
_c = _vm._self._c;
|
|
@@ -41775,9 +42205,6 @@ function addNodeToProcess(node, targetProcess) {
|
|
|
41775
42205
|
}
|
|
41776
42206
|
targetProcess.get(target).push(node.definition);
|
|
41777
42207
|
}
|
|
41778
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.to-string.js
|
|
41779
|
-
var es_regexp_to_string = __webpack_require__("25f0");
|
|
41780
|
-
|
|
41781
42208
|
// CONCATENATED MODULE: ./src/components/hotkeys/zoomInOut.js
|
|
41782
42209
|
/* harmony default export */ var zoomInOut = ({
|
|
41783
42210
|
methods: {
|
|
@@ -41805,12 +42232,15 @@ var es_regexp_to_string = __webpack_require__("25f0");
|
|
|
41805
42232
|
/* harmony default export */ var copyPaste = ({
|
|
41806
42233
|
methods: {
|
|
41807
42234
|
copyPasteHandler: function copyPasteHandler(event, options) {
|
|
41808
|
-
var
|
|
41809
|
-
var
|
|
41810
|
-
|
|
42235
|
+
var node = event.target.nodeName.toLowerCase();
|
|
42236
|
+
var isBody = node === 'body';
|
|
42237
|
+
var key = event.key.toLowerCase();
|
|
42238
|
+
var isCopy = key === 'c';
|
|
42239
|
+
var isPaste = key === 'v';
|
|
42240
|
+
if (isBody && isCopy && options.mod) {
|
|
41811
42241
|
this.copy(event);
|
|
41812
42242
|
}
|
|
41813
|
-
if (isPaste && options.mod) {
|
|
42243
|
+
if (isBody && isPaste && options.mod) {
|
|
41814
42244
|
this.paste(event);
|
|
41815
42245
|
}
|
|
41816
42246
|
},
|
|
@@ -41907,6 +42337,11 @@ function expandPoolToContainElement(shape) {
|
|
|
41907
42337
|
|
|
41908
42338
|
/* harmony default export */ var main = ({
|
|
41909
42339
|
mixins: [zoomInOut, copyPaste],
|
|
42340
|
+
computed: {
|
|
42341
|
+
clientLeftPaper: function clientLeftPaper() {
|
|
42342
|
+
return store.getters.clientLeftPaper;
|
|
42343
|
+
}
|
|
42344
|
+
},
|
|
41910
42345
|
mounted: function mounted() {
|
|
41911
42346
|
document.addEventListener('keydown', this.keydownListener);
|
|
41912
42347
|
document.addEventListener('keyup', this.keyupListener);
|
|
@@ -41953,7 +42388,7 @@ function expandPoolToContainElement(shape) {
|
|
|
41953
42388
|
y: y * scale.sy
|
|
41954
42389
|
};
|
|
41955
42390
|
}
|
|
41956
|
-
if (_this.canvasDragPosition) {
|
|
42391
|
+
if (_this.canvasDragPosition && !_this.clientLeftPaper) {
|
|
41957
42392
|
_this.paperManager.translate(event.offsetX - _this.canvasDragPosition.x, event.offsetY - _this.canvasDragPosition.y);
|
|
41958
42393
|
}
|
|
41959
42394
|
});
|
|
@@ -42417,8 +42852,171 @@ var validTasks = ['bpmn:ServiceTask', 'bpmn:ManualTask', 'bpmn:CallActivity', 'b
|
|
|
42417
42852
|
return inspectorData;
|
|
42418
42853
|
};
|
|
42419
42854
|
});
|
|
42420
|
-
// CONCATENATED MODULE: ./
|
|
42421
|
-
|
|
42855
|
+
// CONCATENATED MODULE: ./src/mixins/cloneSelection.js
|
|
42856
|
+
|
|
42857
|
+
|
|
42858
|
+
|
|
42859
|
+
|
|
42860
|
+
|
|
42861
|
+
|
|
42862
|
+
|
|
42863
|
+
|
|
42864
|
+
|
|
42865
|
+
|
|
42866
|
+
|
|
42867
|
+
|
|
42868
|
+
|
|
42869
|
+
|
|
42870
|
+
|
|
42871
|
+
|
|
42872
|
+
|
|
42873
|
+
/* harmony default export */ var mixins_cloneSelection = ({
|
|
42874
|
+
methods: {
|
|
42875
|
+
cloneSelection: function cloneSelection() {
|
|
42876
|
+
var _this = this;
|
|
42877
|
+
var clonedNodes = [],
|
|
42878
|
+
clonedFlows = [],
|
|
42879
|
+
clonedDataInputAssociations = [],
|
|
42880
|
+
clonedDataOutputAssociations = [];
|
|
42881
|
+
var nodes = this.highlightedNodes;
|
|
42882
|
+
var selector = this.$refs.selector.$el;
|
|
42883
|
+
var flowNodeTypes = [sequenceFlow_id, poolLane_config_id, association_id, messageFlow_config_id, genericFlow_config_id];
|
|
42884
|
+
var dataInputAssociationNodeTypes = [dataInputAssociation_config_id];
|
|
42885
|
+
var dataOutputAssociationNodeTypes = [config_id];
|
|
42886
|
+
if (typeof selector.getBoundingClientRect === 'function') {
|
|
42887
|
+
nodes.forEach(function (node) {
|
|
42888
|
+
if (flowNodeTypes.includes(node.type)) {
|
|
42889
|
+
var clonedFlow = _this.cloneFlowAndSetNewId(node);
|
|
42890
|
+
clonedFlows.push(clonedFlow);
|
|
42891
|
+
clonedNodes.push(clonedFlow);
|
|
42892
|
+
} else if (dataInputAssociationNodeTypes.includes(node.type)) {
|
|
42893
|
+
var _clonedFlow = _this.cloneFlowAndSetNewId(node);
|
|
42894
|
+
clonedDataInputAssociations.push(_clonedFlow);
|
|
42895
|
+
clonedNodes.push(_clonedFlow);
|
|
42896
|
+
} else if (dataOutputAssociationNodeTypes.includes(node.type)) {
|
|
42897
|
+
var _clonedFlow2 = _this.cloneFlowAndSetNewId(node);
|
|
42898
|
+
clonedDataOutputAssociations.push(_clonedFlow2);
|
|
42899
|
+
clonedNodes.push(_clonedFlow2);
|
|
42900
|
+
} else {
|
|
42901
|
+
var clonedElement = _this.cloneElementAndCalculateOffset(node);
|
|
42902
|
+
clonedNodes.push(clonedElement);
|
|
42903
|
+
}
|
|
42904
|
+
});
|
|
42905
|
+
}
|
|
42906
|
+
this.connectClonedFlows(clonedFlows, clonedNodes);
|
|
42907
|
+
this.connectClonedDataInputAssociations(clonedDataInputAssociations, clonedNodes);
|
|
42908
|
+
this.connectClonedDataOutputAssociations(clonedDataOutputAssociations, clonedNodes);
|
|
42909
|
+
return clonedNodes;
|
|
42910
|
+
},
|
|
42911
|
+
// Returns the Flow Element (Task| DataStore| DataObject) that is the target of the association
|
|
42912
|
+
getDataInputOutputAssociationTargetRef: function getDataInputOutputAssociationTargetRef(association) {
|
|
42913
|
+
if (association.targetRef.$type === 'bpmn:DataInput') {
|
|
42914
|
+
var ioSpec = association.targetRef.$parent;
|
|
42915
|
+
return findIOSpecificationOwner(ioSpec, this);
|
|
42916
|
+
}
|
|
42917
|
+
if (association.targetRef.$type === 'bpmn:DataInputAssociation') {
|
|
42918
|
+
var _ioSpec = association.targetRef.$parent;
|
|
42919
|
+
return findIOSpecificationOwner(_ioSpec, this);
|
|
42920
|
+
}
|
|
42921
|
+
return association.targetRef;
|
|
42922
|
+
},
|
|
42923
|
+
cloneFlowAndSetNewId: function cloneFlowAndSetNewId(node) {
|
|
42924
|
+
var clonedFlow = node.cloneFlow(this.nodeRegistry, this.moddle, this.$t);
|
|
42925
|
+
clonedFlow.setIds(this.nodeIdGenerator);
|
|
42926
|
+
return clonedFlow;
|
|
42927
|
+
},
|
|
42928
|
+
cloneElementAndCalculateOffset: function cloneElementAndCalculateOffset(node) {
|
|
42929
|
+
var clonedElement = node.clone(this.nodeRegistry, this.moddle, this.$t);
|
|
42930
|
+
var _this$$refs$selector$ = this.$refs.selector.$el.getBoundingClientRect(),
|
|
42931
|
+
selectorHeight = _this$$refs$selector$.height;
|
|
42932
|
+
var _this$paper$scale = this.paper.scale(),
|
|
42933
|
+
sy = _this$paper$scale.sy;
|
|
42934
|
+
var yOffset = selectorHeight / sy;
|
|
42935
|
+
clonedElement.diagram.bounds.y += yOffset;
|
|
42936
|
+
clonedElement.setIds(this.nodeIdGenerator);
|
|
42937
|
+
return clonedElement;
|
|
42938
|
+
},
|
|
42939
|
+
connectClonedFlows: function connectClonedFlows(clonedFlows, clonedNodes) {
|
|
42940
|
+
var _this2 = this;
|
|
42941
|
+
clonedFlows.forEach(function (clonedFlow) {
|
|
42942
|
+
var originalFlow = _this2.nodes.find(function (node) {
|
|
42943
|
+
return node.definition.id === clonedFlow.cloneOf;
|
|
42944
|
+
});
|
|
42945
|
+
var src = originalFlow.definition.sourceRef;
|
|
42946
|
+
var target = originalFlow.definition.targetRef;
|
|
42947
|
+
var srcClone = clonedNodes.find(function (node) {
|
|
42948
|
+
return node.cloneOf === src.id;
|
|
42949
|
+
});
|
|
42950
|
+
var targetClone = clonedNodes.find(function (node) {
|
|
42951
|
+
return node.cloneOf === target.id;
|
|
42952
|
+
});
|
|
42953
|
+
if (!srcClone || !targetClone) {
|
|
42954
|
+
clonedNodes.splice(clonedNodes.indexOf(clonedFlow), 1);
|
|
42955
|
+
return;
|
|
42956
|
+
}
|
|
42957
|
+
clonedFlow.definition.set('sourceRef', srcClone.definition);
|
|
42958
|
+
clonedFlow.definition.set('targetRef', targetClone.definition);
|
|
42959
|
+
if (srcClone.definition.outgoing) {
|
|
42960
|
+
srcClone.definition.outgoing.push(clonedFlow.definition);
|
|
42961
|
+
} else {
|
|
42962
|
+
srcClone.definition.set('outgoing', [clonedFlow.definition]);
|
|
42963
|
+
}
|
|
42964
|
+
if (targetClone.definition.incoming) {
|
|
42965
|
+
targetClone.definition.incoming.push(clonedFlow.definition);
|
|
42966
|
+
} else {
|
|
42967
|
+
targetClone.definition.set('incoming', [clonedFlow.definition]);
|
|
42968
|
+
}
|
|
42969
|
+
clonedFlow.diagram.waypoint.forEach(function (point) {
|
|
42970
|
+
var _this2$$refs$selector = _this2.$refs.selector.$el.getBoundingClientRect(),
|
|
42971
|
+
selectorHeight = _this2$$refs$selector.height;
|
|
42972
|
+
point.y += selectorHeight;
|
|
42973
|
+
});
|
|
42974
|
+
});
|
|
42975
|
+
},
|
|
42976
|
+
connectClonedDataInputAssociations: function connectClonedDataInputAssociations(clonedDataInputAssociations, clonedNodes) {
|
|
42977
|
+
var _this3 = this;
|
|
42978
|
+
clonedDataInputAssociations.forEach(function (clonedAssociation) {
|
|
42979
|
+
var originalAssociation = _this3.nodes.find(function (node) {
|
|
42980
|
+
return node.definition.id === clonedAssociation.cloneOf;
|
|
42981
|
+
});
|
|
42982
|
+
var src = originalAssociation.definition.sourceRef[0];
|
|
42983
|
+
var srcClone = clonedNodes.find(function (node) {
|
|
42984
|
+
return node.cloneOf === src.id;
|
|
42985
|
+
});
|
|
42986
|
+
var originalTargetElement = _this3.getDataInputOutputAssociationTargetRef(originalAssociation.definition);
|
|
42987
|
+
var clonedElement = clonedNodes.find(function (node) {
|
|
42988
|
+
return node.cloneOf === originalTargetElement.id;
|
|
42989
|
+
});
|
|
42990
|
+
var clonedDataInput = getOrFindDataInput(_this3.moddle, clonedElement, srcClone.definition);
|
|
42991
|
+
clonedAssociation.definition.set('sourceRef', [srcClone.definition]);
|
|
42992
|
+
clonedAssociation.definition.set('targetRef', clonedDataInput);
|
|
42993
|
+
clonedElement.definition.set('dataInputAssociations', [clonedAssociation.definition]);
|
|
42994
|
+
});
|
|
42995
|
+
},
|
|
42996
|
+
connectClonedDataOutputAssociations: function connectClonedDataOutputAssociations(clonedDataOutputAssociations, clonedNodes) {
|
|
42997
|
+
var _this4 = this;
|
|
42998
|
+
clonedDataOutputAssociations.forEach(function (clonedAssociation) {
|
|
42999
|
+
var originalAssociation = _this4.nodes.find(function (node) {
|
|
43000
|
+
return node.definition.id === clonedAssociation.cloneOf;
|
|
43001
|
+
});
|
|
43002
|
+
var src = originalAssociation.definition.sourceRef || originalAssociation.definition.$parent;
|
|
43003
|
+
var target = originalAssociation.definition.targetRef;
|
|
43004
|
+
var srcClone = clonedNodes.find(function (node) {
|
|
43005
|
+
return node.cloneOf === src.id;
|
|
43006
|
+
});
|
|
43007
|
+
var targetClone = clonedNodes.find(function (node) {
|
|
43008
|
+
return node.cloneOf === target.id;
|
|
43009
|
+
});
|
|
43010
|
+
clonedAssociation.definition.set('targetRef', targetClone.definition);
|
|
43011
|
+
clonedAssociation.definition.set('sourceRef', srcClone.definition);
|
|
43012
|
+
var existingOutputAssociations = srcClone.definition.get('dataOutputAssociations') || [];
|
|
43013
|
+
srcClone.definition.set('dataOutputAssociations', [].concat(_toConsumableArray(existingOutputAssociations), [clonedAssociation.definition]));
|
|
43014
|
+
});
|
|
43015
|
+
}
|
|
43016
|
+
}
|
|
43017
|
+
});
|
|
43018
|
+
// 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&
|
|
43019
|
+
var genericFlowvue_type_template_id_24cdd484_render = function render() {
|
|
42422
43020
|
var _vm = this,
|
|
42423
43021
|
_c = _vm._self._c;
|
|
42424
43022
|
return _c('crown-config', _vm._g({
|
|
@@ -42437,9 +43035,9 @@ var genericFlowvue_type_template_id_b441470a_render = function render() {
|
|
|
42437
43035
|
}
|
|
42438
43036
|
}, _vm.$listeners));
|
|
42439
43037
|
};
|
|
42440
|
-
var
|
|
43038
|
+
var genericFlowvue_type_template_id_24cdd484_staticRenderFns = [];
|
|
42441
43039
|
|
|
42442
|
-
// CONCATENATED MODULE: ./src/components/nodes/genericFlow/genericFlow.vue?vue&type=template&id=
|
|
43040
|
+
// CONCATENATED MODULE: ./src/components/nodes/genericFlow/genericFlow.vue?vue&type=template&id=24cdd484&
|
|
42443
43041
|
|
|
42444
43042
|
// CONCATENATED MODULE: ./src/components/nodes/genericFlow/DataOutputAssociation.js
|
|
42445
43043
|
|
|
@@ -42453,6 +43051,7 @@ var genericFlowvue_type_template_id_b441470a_staticRenderFns = [];
|
|
|
42453
43051
|
|
|
42454
43052
|
|
|
42455
43053
|
|
|
43054
|
+
|
|
42456
43055
|
var DataOutputAssociation_DataOutputAssociation = /*#__PURE__*/function (_DataAssociation) {
|
|
42457
43056
|
_inherits(DataOutputAssociation, _DataAssociation);
|
|
42458
43057
|
var _super = _createSuper(DataOutputAssociation);
|
|
@@ -42496,7 +43095,26 @@ var DataOutputAssociation_DataOutputAssociation = /*#__PURE__*/function (_DataAs
|
|
|
42496
43095
|
if (!targetNode) {
|
|
42497
43096
|
return false;
|
|
42498
43097
|
}
|
|
42499
|
-
|
|
43098
|
+
var dataStoreValidSources = ['bpmn:Task', 'bpmn:SubProcess', 'bpmn:CallActivity', 'bpmn:ManualTask', 'bpmn:ScriptTask', 'bpmn:ServiceTask'];
|
|
43099
|
+
var dataStoreValidTargets = ['bpmn:Task', 'bpmn:SubProcess', 'bpmn:CallActivity', 'bpmn:ManualTask', 'bpmn:ScriptTask', 'bpmn:ServiceTask'];
|
|
43100
|
+
var dataObjectValidSources = ['bpmn:Task', 'bpmn:SubProcess', 'bpmn:CallActivity', 'bpmn:ManualTask', 'bpmn:ScriptTask', 'bpmn:ServiceTask', 'bpmn:IntermediateCatchEvent', 'bpmn:StartEvent'];
|
|
43101
|
+
var dataObjectValidTargets = ['bpmn:Task', 'bpmn:SubProcess', 'bpmn:CallActivity', 'bpmn:ManualTask', 'bpmn:ScriptTask', 'bpmn:ServiceTask', 'bpmn:IntermediateThrowEvent', 'bpmn:EndEvent'];
|
|
43102
|
+
var sourceType = sourceNode.definition.$type;
|
|
43103
|
+
var targetType = targetNode.definition.$type;
|
|
43104
|
+
var sourceIsDataStore = sourceNode.definition.$type === 'bpmn:DataStoreReference';
|
|
43105
|
+
var sourceIsDataObject = sourceNode.definition.$type === 'bpmn:DataObjectReference';
|
|
43106
|
+
var targetIsDataStore = targetNode.definition.$type === 'bpmn:DataStoreReference';
|
|
43107
|
+
var targetIsDataObject = targetNode.definition.$type === 'bpmn:DataObjectReference';
|
|
43108
|
+
if (sourceIsDataStore && dataStoreValidTargets.includes(targetType)) {
|
|
43109
|
+
return true;
|
|
43110
|
+
}
|
|
43111
|
+
if (sourceIsDataObject && dataObjectValidTargets.includes(targetType)) {
|
|
43112
|
+
return true;
|
|
43113
|
+
}
|
|
43114
|
+
if (targetIsDataStore && dataStoreValidSources.includes(sourceType)) {
|
|
43115
|
+
return true;
|
|
43116
|
+
}
|
|
43117
|
+
return targetIsDataObject && dataObjectValidSources.includes(sourceType);
|
|
42500
43118
|
}
|
|
42501
43119
|
}, {
|
|
42502
43120
|
key: "isValidSourceNode",
|
|
@@ -42565,24 +43183,7 @@ var BpmnFlows = [DataOutputAssociation_DataOutputAssociation, SequenceFlow_Seque
|
|
|
42565
43183
|
}
|
|
42566
43184
|
}
|
|
42567
43185
|
},
|
|
42568
|
-
watch: {
|
|
42569
|
-
'node.definition': {
|
|
42570
|
-
handler: function handler() {
|
|
42571
|
-
var newNameLabel = this.shapeName;
|
|
42572
|
-
if (newNameLabel !== this.nameLabel) {
|
|
42573
|
-
this.nameLabel = newNameLabel;
|
|
42574
|
-
}
|
|
42575
|
-
this.setDefaultMarker(this.isDefaultFlow());
|
|
42576
|
-
},
|
|
42577
|
-
deep: true
|
|
42578
|
-
},
|
|
42579
|
-
'node.definition.sourceRef': {
|
|
42580
|
-
handler: function handler() {
|
|
42581
|
-
this.setDefaultMarker(this.isDefaultFlow());
|
|
42582
|
-
},
|
|
42583
|
-
deep: true
|
|
42584
|
-
}
|
|
42585
|
-
},
|
|
43186
|
+
watch: {},
|
|
42586
43187
|
methods: {
|
|
42587
43188
|
completeLink: function completeLink() {
|
|
42588
43189
|
var _this2 = this;
|
|
@@ -42634,8 +43235,8 @@ var BpmnFlows = [DataOutputAssociation_DataOutputAssociation, SequenceFlow_Seque
|
|
|
42634
43235
|
|
|
42635
43236
|
var genericFlow_component = normalizeComponent(
|
|
42636
43237
|
genericFlow_genericFlowvue_type_script_lang_js_,
|
|
42637
|
-
|
|
42638
|
-
|
|
43238
|
+
genericFlowvue_type_template_id_24cdd484_render,
|
|
43239
|
+
genericFlowvue_type_template_id_24cdd484_staticRenderFns,
|
|
42639
43240
|
false,
|
|
42640
43241
|
null,
|
|
42641
43242
|
null,
|
|
@@ -42644,8 +43245,8 @@ var genericFlow_component = normalizeComponent(
|
|
|
42644
43245
|
)
|
|
42645
43246
|
|
|
42646
43247
|
/* harmony default export */ var genericFlow_genericFlow = (genericFlow_component.exports);
|
|
42647
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
42648
|
-
var
|
|
43248
|
+
// 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&
|
|
43249
|
+
var Selectionvue_type_template_id_01ab8458_scoped_true_render = function render() {
|
|
42649
43250
|
var _vm = this,
|
|
42650
43251
|
_c = _vm._self._c;
|
|
42651
43252
|
return _vm.showLasso && _vm.style ? _c('div', {
|
|
@@ -42669,11 +43270,11 @@ var Selectionvue_type_template_id_0078a4ae_scoped_true_render = function render(
|
|
|
42669
43270
|
}
|
|
42670
43271
|
}, _vm.$listeners))], 1) : _vm._e();
|
|
42671
43272
|
};
|
|
42672
|
-
var
|
|
43273
|
+
var Selectionvue_type_template_id_01ab8458_scoped_true_staticRenderFns = [];
|
|
42673
43274
|
|
|
42674
|
-
// CONCATENATED MODULE: ./src/components/modeler/Selection.vue?vue&type=template&id=
|
|
43275
|
+
// CONCATENATED MODULE: ./src/components/modeler/Selection.vue?vue&type=template&id=01ab8458&scoped=true&
|
|
42675
43276
|
|
|
42676
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
43277
|
+
// 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&
|
|
42677
43278
|
var crownMultiselectvue_type_template_id_0c300116_scoped_true_render = function render() {
|
|
42678
43279
|
var _vm = this,
|
|
42679
43280
|
_c = _vm._self._c;
|
|
@@ -42869,7 +43470,6 @@ var crownMultiselect_component = normalizeComponent(
|
|
|
42869
43470
|
|
|
42870
43471
|
|
|
42871
43472
|
|
|
42872
|
-
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'];
|
|
42873
43473
|
/* harmony default export */ var Selectionvue_type_script_lang_js_ = ({
|
|
42874
43474
|
name: 'Selection',
|
|
42875
43475
|
components: {
|
|
@@ -43234,21 +43834,6 @@ var boundaryElements = ['processmaker-modeler-boundary-timer-event', 'processmak
|
|
|
43234
43834
|
}
|
|
43235
43835
|
return true;
|
|
43236
43836
|
});
|
|
43237
|
-
// A boundary event could only be selected alone
|
|
43238
|
-
var firstSelectedBoundary = this.selected.find(function (shape) {
|
|
43239
|
-
return shape.model.component && boundaryElements.includes(shape.model.component.node.type);
|
|
43240
|
-
});
|
|
43241
|
-
var firstSelectedElement = this.selected[0];
|
|
43242
|
-
if (firstSelectedBoundary) {
|
|
43243
|
-
this.selected = this.selected.filter(function (shape) {
|
|
43244
|
-
if (firstSelectedElement === firstSelectedBoundary) {
|
|
43245
|
-
// boundary event selected alone
|
|
43246
|
-
return shape.model.component && shape === firstSelectedBoundary;
|
|
43247
|
-
}
|
|
43248
|
-
// do not allow to select a boundary event with another element
|
|
43249
|
-
return shape.model.component && !boundaryElements.includes(shape.model.component.node.type);
|
|
43250
|
-
});
|
|
43251
|
-
}
|
|
43252
43837
|
},
|
|
43253
43838
|
/**
|
|
43254
43839
|
* Pan paper handler
|
|
@@ -43352,6 +43937,9 @@ var boundaryElements = ['processmaker-modeler-boundary-timer-event', 'processmak
|
|
|
43352
43937
|
this.$emit('save-state');
|
|
43353
43938
|
this.dragging = false;
|
|
43354
43939
|
this.stopForceMove = false;
|
|
43940
|
+
// Readjusts the selection box, taking into consideration elements
|
|
43941
|
+
// that are anchored and did not move, such as boundary events.
|
|
43942
|
+
this.updateSelectionBox();
|
|
43355
43943
|
},
|
|
43356
43944
|
/**
|
|
43357
43945
|
* Translate the Selected shapes adding some custom validations
|
|
@@ -43602,8 +44190,8 @@ var boundaryElements = ['processmaker-modeler-boundary-timer-event', 'processmak
|
|
|
43602
44190
|
});
|
|
43603
44191
|
// CONCATENATED MODULE: ./src/components/modeler/Selection.vue?vue&type=script&lang=js&
|
|
43604
44192
|
/* harmony default export */ var modeler_Selectionvue_type_script_lang_js_ = (Selectionvue_type_script_lang_js_);
|
|
43605
|
-
// EXTERNAL MODULE: ./src/components/modeler/Selection.vue?vue&type=style&index=0&id=
|
|
43606
|
-
var
|
|
44193
|
+
// EXTERNAL MODULE: ./src/components/modeler/Selection.vue?vue&type=style&index=0&id=01ab8458&prod&scoped=true&lang=css&
|
|
44194
|
+
var Selectionvue_type_style_index_0_id_01ab8458_prod_scoped_true_lang_css_ = __webpack_require__("2a52");
|
|
43607
44195
|
|
|
43608
44196
|
// CONCATENATED MODULE: ./src/components/modeler/Selection.vue
|
|
43609
44197
|
|
|
@@ -43616,11 +44204,11 @@ var Selectionvue_type_style_index_0_id_0078a4ae_prod_scoped_true_lang_css_ = __w
|
|
|
43616
44204
|
|
|
43617
44205
|
var Selection_component = normalizeComponent(
|
|
43618
44206
|
modeler_Selectionvue_type_script_lang_js_,
|
|
43619
|
-
|
|
43620
|
-
|
|
44207
|
+
Selectionvue_type_template_id_01ab8458_scoped_true_render,
|
|
44208
|
+
Selectionvue_type_template_id_01ab8458_scoped_true_staticRenderFns,
|
|
43621
44209
|
false,
|
|
43622
44210
|
null,
|
|
43623
|
-
"
|
|
44211
|
+
"01ab8458",
|
|
43624
44212
|
null
|
|
43625
44213
|
|
|
43626
44214
|
)
|
|
@@ -43684,6 +44272,7 @@ var Selection_component = normalizeComponent(
|
|
|
43684
44272
|
|
|
43685
44273
|
|
|
43686
44274
|
|
|
44275
|
+
|
|
43687
44276
|
|
|
43688
44277
|
|
|
43689
44278
|
/* harmony default export */ var Modelervue_type_script_lang_js_ = ({
|
|
@@ -43704,9 +44293,10 @@ var Selection_component = normalizeComponent(
|
|
|
43704
44293
|
}
|
|
43705
44294
|
}
|
|
43706
44295
|
},
|
|
43707
|
-
mixins: [main],
|
|
44296
|
+
mixins: [main, mixins_cloneSelection],
|
|
43708
44297
|
data: function data() {
|
|
43709
44298
|
return {
|
|
44299
|
+
pasteInProgress: false,
|
|
43710
44300
|
internalClipboard: [],
|
|
43711
44301
|
tooltipTarget: null,
|
|
43712
44302
|
/* Custom parsers for handling certain bpmn node types */
|
|
@@ -43857,7 +44447,7 @@ var Selection_component = normalizeComponent(
|
|
|
43857
44447
|
},
|
|
43858
44448
|
copyElement: function copyElement() {
|
|
43859
44449
|
// Checking if User selected a single flow and tries to copy it, to deny it.
|
|
43860
|
-
var flows = [sequenceFlow_id, config_id, dataInputAssociation_config_id, genericFlow_config_id];
|
|
44450
|
+
var flows = [sequenceFlow_id, config_id, dataInputAssociation_config_id, genericFlow_config_id, process_id];
|
|
43861
44451
|
if (this.highlightedNodes.length === 1 && flows.includes(this.highlightedNodes[0].type)) return;
|
|
43862
44452
|
store.commit('setCopiedElements', this.cloneSelection());
|
|
43863
44453
|
this.$bvToast.toast(this.$t('Object(s) have been copied'), {
|
|
@@ -43873,132 +44463,106 @@ var Selection_component = normalizeComponent(
|
|
|
43873
44463
|
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
43874
44464
|
while (1) switch (_context2.prev = _context2.next) {
|
|
43875
44465
|
case 0:
|
|
43876
|
-
if (!_this2.copiedElements) {
|
|
43877
|
-
_context2.next =
|
|
44466
|
+
if (!(_this2.copiedElements && !_this2.pasteInProgress)) {
|
|
44467
|
+
_context2.next = 19;
|
|
43878
44468
|
break;
|
|
43879
44469
|
}
|
|
43880
|
-
|
|
44470
|
+
_this2.pasteInProgress = true;
|
|
44471
|
+
_context2.prev = 2;
|
|
44472
|
+
_context2.next = 5;
|
|
43881
44473
|
return _this2.addClonedNodes(_this2.copiedElements);
|
|
43882
|
-
case 3:
|
|
43883
|
-
_this2.$refs.selector.selectElements(_this2.findViewElementsFromNodes(_this2.copiedElements));
|
|
43884
|
-
store.commit('setCopiedElements', _this2.cloneSelection());
|
|
43885
44474
|
case 5:
|
|
44475
|
+
_context2.next = 7;
|
|
44476
|
+
return _this2.$nextTick();
|
|
44477
|
+
case 7:
|
|
44478
|
+
_context2.next = 9;
|
|
44479
|
+
return _this2.paperManager.awaitScheduledUpdates();
|
|
44480
|
+
case 9:
|
|
44481
|
+
_context2.next = 11;
|
|
44482
|
+
return _this2.$refs.selector.selectElements(_this2.findViewElementsFromNodes(_this2.copiedElements), true);
|
|
44483
|
+
case 11:
|
|
44484
|
+
_context2.next = 13;
|
|
44485
|
+
return _this2.$nextTick();
|
|
44486
|
+
case 13:
|
|
44487
|
+
_context2.next = 15;
|
|
44488
|
+
return store.commit('setCopiedElements', _this2.cloneSelection());
|
|
44489
|
+
case 15:
|
|
44490
|
+
_this2.scrollToSelection();
|
|
44491
|
+
case 16:
|
|
44492
|
+
_context2.prev = 16;
|
|
44493
|
+
_this2.pasteInProgress = false;
|
|
44494
|
+
return _context2.finish(16);
|
|
44495
|
+
case 19:
|
|
43886
44496
|
case "end":
|
|
43887
44497
|
return _context2.stop();
|
|
43888
44498
|
}
|
|
43889
|
-
}, _callee2);
|
|
44499
|
+
}, _callee2, null, [[2,, 16, 19]]);
|
|
43890
44500
|
}))();
|
|
43891
44501
|
},
|
|
43892
|
-
cloneSelection: function cloneSelection() {
|
|
43893
|
-
var _this3 = this;
|
|
43894
|
-
var clonedNodes = [],
|
|
43895
|
-
clonedFlows = [],
|
|
43896
|
-
originalFlows = [];
|
|
43897
|
-
var nodes = this.highlightedNodes;
|
|
43898
|
-
var selector = this.$refs.selector.$el;
|
|
43899
|
-
var _selector$getBounding = selector.getBoundingClientRect(),
|
|
43900
|
-
sheight = _selector$getBounding.height;
|
|
43901
|
-
if (typeof selector.getBoundingClientRect === 'function') {
|
|
43902
|
-
// get selector height
|
|
43903
|
-
nodes.forEach(function (node) {
|
|
43904
|
-
// Add flows described in the definitions property
|
|
43905
|
-
if (node.definition.incoming || node.definition.outgoing) {
|
|
43906
|
-
// Since both incoming and outgoing reference the same flow, any of them is copied
|
|
43907
|
-
var flowsToCopy = _toConsumableArray(node.definition.incoming || node.definition.outgoing);
|
|
43908
|
-
// Check if flow is already in array before pushing
|
|
43909
|
-
flowsToCopy.forEach(function (flow) {
|
|
43910
|
-
if (!originalFlows.some(function (el) {
|
|
43911
|
-
return el.id === flow.id;
|
|
43912
|
-
})) {
|
|
43913
|
-
originalFlows.push(flow);
|
|
43914
|
-
}
|
|
43915
|
-
});
|
|
43916
|
-
}
|
|
43917
|
-
|
|
43918
|
-
// Check node type to clone
|
|
43919
|
-
if ([sequenceFlow_id, poolLane_config_id, association_id, messageFlow_config_id, config_id, dataInputAssociation_config_id, genericFlow_config_id].includes(node.type)) {
|
|
43920
|
-
// Add offset for all waypoints on cloned flow
|
|
43921
|
-
var clonedFlow = node.cloneFlow(_this3.nodeRegistry, _this3.moddle, _this3.$t);
|
|
43922
|
-
clonedFlow.setIds(_this3.nodeIdGenerator);
|
|
43923
|
-
clonedFlows.push(clonedFlow);
|
|
43924
|
-
clonedNodes.push(clonedFlow);
|
|
43925
|
-
} else {
|
|
43926
|
-
// Clone node and calculate offset
|
|
43927
|
-
var clonedNode = node.clone(_this3.nodeRegistry, _this3.moddle, _this3.$t);
|
|
43928
|
-
var yOffset = sheight;
|
|
43929
|
-
clonedNode.diagram.bounds.y += yOffset;
|
|
43930
|
-
// Set cloned node id
|
|
43931
|
-
clonedNode.setIds(_this3.nodeIdGenerator);
|
|
43932
|
-
clonedNodes.push(clonedNode);
|
|
43933
|
-
}
|
|
43934
|
-
});
|
|
43935
|
-
}
|
|
43936
|
-
// Connect flows
|
|
43937
|
-
clonedFlows.forEach(function (flow) {
|
|
43938
|
-
// Look up the original flow
|
|
43939
|
-
var flowClonedFrom = {
|
|
43940
|
-
definition: originalFlows.find(function (el) {
|
|
43941
|
-
return el.id === flow.definition.cloneOf;
|
|
43942
|
-
})
|
|
43943
|
-
};
|
|
43944
|
-
// Get the id's of the sourceRef and targetRef of original flow
|
|
43945
|
-
var src = flowClonedFrom.definition.sourceRef;
|
|
43946
|
-
var target = flowClonedFrom.definition.targetRef;
|
|
43947
|
-
var srcClone = clonedNodes.find(function (node) {
|
|
43948
|
-
return node.definition.cloneOf === src.id;
|
|
43949
|
-
});
|
|
43950
|
-
var targetClone = clonedNodes.find(function (node) {
|
|
43951
|
-
return node.definition.cloneOf === target.id;
|
|
43952
|
-
});
|
|
43953
|
-
// Reference the elements to the flow that connects them
|
|
43954
|
-
flow.definition.sourceRef = srcClone.definition;
|
|
43955
|
-
flow.definition.targetRef = targetClone.definition;
|
|
43956
|
-
// Reference the flow to the elements that are connected by it
|
|
43957
|
-
srcClone.definition.outgoing ? srcClone.definition.outgoing.push(flow.definition) : srcClone.definition.outgoing = [flow.definition];
|
|
43958
|
-
targetClone.definition.incoming ? targetClone.definition.incoming.push(flow.definition) : targetClone.definition.incoming = [flow.definition];
|
|
43959
|
-
// Translate flow waypoints to where they should be
|
|
43960
|
-
flow.diagram.waypoint.forEach(function (point) {
|
|
43961
|
-
point.y += sheight;
|
|
43962
|
-
});
|
|
43963
|
-
});
|
|
43964
|
-
return clonedNodes;
|
|
43965
|
-
},
|
|
43966
44502
|
duplicateSelection: function duplicateSelection() {
|
|
43967
|
-
var
|
|
44503
|
+
var _this3 = this;
|
|
43968
44504
|
return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3() {
|
|
43969
44505
|
var clonedNodes;
|
|
43970
44506
|
return _regeneratorRuntime().wrap(function _callee3$(_context3) {
|
|
43971
44507
|
while (1) switch (_context3.prev = _context3.next) {
|
|
43972
44508
|
case 0:
|
|
43973
|
-
clonedNodes =
|
|
43974
|
-
|
|
43975
|
-
|
|
44509
|
+
clonedNodes = _this3.cloneSelection();
|
|
44510
|
+
if (!(clonedNodes && clonedNodes.length === 0)) {
|
|
44511
|
+
_context3.next = 3;
|
|
44512
|
+
break;
|
|
44513
|
+
}
|
|
44514
|
+
return _context3.abrupt("return");
|
|
43976
44515
|
case 3:
|
|
43977
|
-
|
|
43978
|
-
|
|
44516
|
+
_this3.$refs.selector.clearSelection();
|
|
44517
|
+
_context3.next = 6;
|
|
44518
|
+
return _this3.addClonedNodes(clonedNodes);
|
|
44519
|
+
case 6:
|
|
44520
|
+
_context3.next = 8;
|
|
44521
|
+
return _this3.$nextTick();
|
|
44522
|
+
case 8:
|
|
44523
|
+
_context3.next = 10;
|
|
44524
|
+
return _this3.paperManager.awaitScheduledUpdates();
|
|
44525
|
+
case 10:
|
|
44526
|
+
_context3.next = 12;
|
|
44527
|
+
return _this3.$refs.selector.selectElements(_this3.findViewElementsFromNodes(clonedNodes));
|
|
44528
|
+
case 12:
|
|
44529
|
+
_this3.scrollToSelection();
|
|
44530
|
+
case 13:
|
|
43979
44531
|
case "end":
|
|
43980
44532
|
return _context3.stop();
|
|
43981
44533
|
}
|
|
43982
44534
|
}, _callee3);
|
|
43983
44535
|
}))();
|
|
43984
44536
|
},
|
|
44537
|
+
scrollToSelection: function scrollToSelection() {
|
|
44538
|
+
var containerRect = this.$refs['paper-container'].getBoundingClientRect();
|
|
44539
|
+
var selector = this.$refs.selector;
|
|
44540
|
+
var selectorRect = selector.$el.getBoundingClientRect();
|
|
44541
|
+
// Scroll to the cloned elements only when they are not visible on the screen.
|
|
44542
|
+
if (selectorRect.right > containerRect.right || selectorRect.bottom > containerRect.bottom || selectorRect.left < containerRect.left || selectorRect.top < containerRect.top) {
|
|
44543
|
+
var currentPosition = this.paper.translate();
|
|
44544
|
+
var newTy = currentPosition.ty - (selectorRect.top - containerRect.top - selectorRect.height);
|
|
44545
|
+
this.paper.translate(currentPosition.tx, newTy);
|
|
44546
|
+
selector.updateSelectionBox(true);
|
|
44547
|
+
}
|
|
44548
|
+
},
|
|
43985
44549
|
findViewElementsFromNodes: function findViewElementsFromNodes(nodes) {
|
|
43986
|
-
var
|
|
44550
|
+
var _this4 = this;
|
|
43987
44551
|
return nodes.map(function (node) {
|
|
43988
|
-
var component =
|
|
44552
|
+
var component = _this4.$refs.nodeComponent.find(function (cmp) {
|
|
43989
44553
|
return cmp.node === node;
|
|
43990
44554
|
});
|
|
43991
44555
|
var shape = component.shape;
|
|
43992
|
-
return
|
|
44556
|
+
return _this4.paper.findViewByModel(shape);
|
|
43993
44557
|
});
|
|
43994
44558
|
},
|
|
43995
44559
|
close: function close() {
|
|
43996
|
-
var
|
|
44560
|
+
var _this5 = this;
|
|
43997
44561
|
return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
|
|
43998
44562
|
return _regeneratorRuntime().wrap(function _callee4$(_context4) {
|
|
43999
44563
|
while (1) switch (_context4.prev = _context4.next) {
|
|
44000
44564
|
case 0:
|
|
44001
|
-
|
|
44565
|
+
_this5.$emit('close');
|
|
44002
44566
|
case 1:
|
|
44003
44567
|
case "end":
|
|
44004
44568
|
return _context4.stop();
|
|
@@ -44007,7 +44571,7 @@ var Selection_component = normalizeComponent(
|
|
|
44007
44571
|
}))();
|
|
44008
44572
|
},
|
|
44009
44573
|
saveBpmn: function saveBpmn() {
|
|
44010
|
-
var
|
|
44574
|
+
var _this6 = this;
|
|
44011
44575
|
return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee5() {
|
|
44012
44576
|
var svg, css, style, xml, svgString;
|
|
44013
44577
|
return _regeneratorRuntime().wrap(function _callee5$(_context5) {
|
|
@@ -44019,11 +44583,11 @@ var Selection_component = normalizeComponent(
|
|
|
44019
44583
|
style.appendChild(document.createTextNode(css));
|
|
44020
44584
|
svg.appendChild(style);
|
|
44021
44585
|
_context5.next = 7;
|
|
44022
|
-
return
|
|
44586
|
+
return _this6.getXmlFromDiagram();
|
|
44023
44587
|
case 7:
|
|
44024
44588
|
xml = _context5.sent;
|
|
44025
44589
|
svgString = new XMLSerializer().serializeToString(svg);
|
|
44026
|
-
|
|
44590
|
+
_this6.$emit('saveBpmn', {
|
|
44027
44591
|
xml: xml,
|
|
44028
44592
|
svg: svgString
|
|
44029
44593
|
});
|
|
@@ -44042,16 +44606,16 @@ var Selection_component = normalizeComponent(
|
|
|
44042
44606
|
this.$emit('warnings', this.allWarnings);
|
|
44043
44607
|
},
|
|
44044
44608
|
validatePlaneElements: function validatePlaneElements() {
|
|
44045
|
-
var
|
|
44609
|
+
var _this7 = this;
|
|
44046
44610
|
this.planeElements.filter(function (diagram) {
|
|
44047
44611
|
return !diagram.bpmnElement;
|
|
44048
44612
|
}).map(function (diagram) {
|
|
44049
44613
|
return {
|
|
44050
|
-
title:
|
|
44051
|
-
text:
|
|
44614
|
+
title: _this7.$t('Non-existent Element'),
|
|
44615
|
+
text: _this7.$t('bpmdi:BPMNShape ') + diagram.id + _this7.$t(' references a non-existent element and was not parsed')
|
|
44052
44616
|
};
|
|
44053
44617
|
}).forEach(function (warning) {
|
|
44054
|
-
return
|
|
44618
|
+
return _this7.addWarning(warning);
|
|
44055
44619
|
});
|
|
44056
44620
|
},
|
|
44057
44621
|
cleanPlaneElements: function cleanPlaneElements() {
|
|
@@ -44078,7 +44642,7 @@ var Selection_component = normalizeComponent(
|
|
|
44078
44642
|
}
|
|
44079
44643
|
},
|
|
44080
44644
|
pushToUndoStack: function pushToUndoStack() {
|
|
44081
|
-
var
|
|
44645
|
+
var _this8 = this;
|
|
44082
44646
|
return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee6() {
|
|
44083
44647
|
var xml;
|
|
44084
44648
|
return _regeneratorRuntime().wrap(function _callee6$(_context6) {
|
|
@@ -44086,7 +44650,7 @@ var Selection_component = normalizeComponent(
|
|
|
44086
44650
|
case 0:
|
|
44087
44651
|
_context6.prev = 0;
|
|
44088
44652
|
_context6.next = 3;
|
|
44089
|
-
return
|
|
44653
|
+
return _this8.getXmlFromDiagram();
|
|
44090
44654
|
case 3:
|
|
44091
44655
|
xml = _context6.sent;
|
|
44092
44656
|
undoRedoStore.dispatch('pushState', xml);
|
|
@@ -44106,9 +44670,9 @@ var Selection_component = normalizeComponent(
|
|
|
44106
44670
|
}))();
|
|
44107
44671
|
},
|
|
44108
44672
|
getXmlFromDiagram: function getXmlFromDiagram() {
|
|
44109
|
-
var
|
|
44673
|
+
var _this9 = this;
|
|
44110
44674
|
return new Promise(function (resolve, reject) {
|
|
44111
|
-
|
|
44675
|
+
_this9.toXML(function (error, xml) {
|
|
44112
44676
|
if (error) {
|
|
44113
44677
|
reject(error);
|
|
44114
44678
|
} else {
|
|
@@ -44118,7 +44682,7 @@ var Selection_component = normalizeComponent(
|
|
|
44118
44682
|
});
|
|
44119
44683
|
},
|
|
44120
44684
|
validateBpmnDiagram: function validateBpmnDiagram() {
|
|
44121
|
-
var
|
|
44685
|
+
var _this10 = this;
|
|
44122
44686
|
return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee7() {
|
|
44123
44687
|
return _regeneratorRuntime().wrap(function _callee7$(_context7) {
|
|
44124
44688
|
while (1) switch (_context7.prev = _context7.next) {
|
|
@@ -44131,10 +44695,10 @@ var Selection_component = normalizeComponent(
|
|
|
44131
44695
|
return store.dispatch('fetchGlobalProcesses');
|
|
44132
44696
|
case 3:
|
|
44133
44697
|
_context7.next = 5;
|
|
44134
|
-
return
|
|
44698
|
+
return _this10.linter.lint(_this10.definitions);
|
|
44135
44699
|
case 5:
|
|
44136
|
-
|
|
44137
|
-
|
|
44700
|
+
_this10.validationErrors = _context7.sent;
|
|
44701
|
+
_this10.$emit('validate', _this10.validationErrors);
|
|
44138
44702
|
case 7:
|
|
44139
44703
|
case "end":
|
|
44140
44704
|
return _context7.stop();
|
|
@@ -44215,7 +44779,7 @@ var Selection_component = normalizeComponent(
|
|
|
44215
44779
|
this.extensions[namespace] = extension;
|
|
44216
44780
|
},
|
|
44217
44781
|
registerNode: function registerNode(nodeType, customParser) {
|
|
44218
|
-
var
|
|
44782
|
+
var _this11 = this;
|
|
44219
44783
|
var defaultParser = function defaultParser() {
|
|
44220
44784
|
return nodeType.id;
|
|
44221
44785
|
};
|
|
@@ -44232,22 +44796,22 @@ var Selection_component = normalizeComponent(
|
|
|
44232
44796
|
this.nodeTypes.push(nodeType);
|
|
44233
44797
|
var types = Array.isArray(nodeType.bpmnType) ? nodeType.bpmnType : [nodeType.bpmnType];
|
|
44234
44798
|
types.forEach(function (bpmnType) {
|
|
44235
|
-
if (!
|
|
44236
|
-
|
|
44799
|
+
if (!_this11.parsers[bpmnType]) {
|
|
44800
|
+
_this11.parsers[bpmnType] = {
|
|
44237
44801
|
custom: [],
|
|
44238
44802
|
implementation: [],
|
|
44239
44803
|
default: []
|
|
44240
44804
|
};
|
|
44241
44805
|
}
|
|
44242
44806
|
if (customParser) {
|
|
44243
|
-
|
|
44807
|
+
_this11.parsers[bpmnType].custom.push(customParser);
|
|
44244
44808
|
return;
|
|
44245
44809
|
}
|
|
44246
44810
|
if (nodeType.implementation) {
|
|
44247
|
-
|
|
44811
|
+
_this11.parsers[bpmnType].implementation.push(implementationParser);
|
|
44248
44812
|
return;
|
|
44249
44813
|
}
|
|
44250
|
-
|
|
44814
|
+
_this11.parsers[bpmnType].default.push(defaultParser);
|
|
44251
44815
|
});
|
|
44252
44816
|
},
|
|
44253
44817
|
addMessageFlows: function addMessageFlows() {
|
|
@@ -44256,21 +44820,21 @@ var Selection_component = normalizeComponent(
|
|
|
44256
44820
|
}
|
|
44257
44821
|
},
|
|
44258
44822
|
loadAssociations: function loadAssociations(flowElements, artifacts) {
|
|
44259
|
-
var
|
|
44823
|
+
var _this12 = this;
|
|
44260
44824
|
artifacts.filter(function (definition) {
|
|
44261
|
-
return definition.$type === 'bpmn:Association' &&
|
|
44825
|
+
return definition.$type === 'bpmn:Association' && _this12.hasSourceAndTarget(definition);
|
|
44262
44826
|
}).forEach(function (definition) {
|
|
44263
|
-
return
|
|
44827
|
+
return _this12.setNode(definition, flowElements, artifacts);
|
|
44264
44828
|
});
|
|
44265
44829
|
},
|
|
44266
44830
|
loadDataAssociations: function loadDataAssociations(flowElements) {
|
|
44267
|
-
var
|
|
44831
|
+
var _this13 = this;
|
|
44268
44832
|
var tasksThatHaveDataOutputAssociations = flowElements.filter(function (task) {
|
|
44269
44833
|
return task.get('dataOutputAssociations') && task.get('dataOutputAssociations').length > 0;
|
|
44270
44834
|
});
|
|
44271
44835
|
tasksThatHaveDataOutputAssociations.forEach(function (task) {
|
|
44272
44836
|
task.get('dataOutputAssociations').forEach(function (dataAssociationLink) {
|
|
44273
|
-
|
|
44837
|
+
_this13.setNode(dataAssociationLink, flowElements);
|
|
44274
44838
|
});
|
|
44275
44839
|
});
|
|
44276
44840
|
var tasksThatHaveDataInputAssociations = flowElements.filter(function (task) {
|
|
@@ -44278,32 +44842,32 @@ var Selection_component = normalizeComponent(
|
|
|
44278
44842
|
});
|
|
44279
44843
|
tasksThatHaveDataInputAssociations.forEach(function (task) {
|
|
44280
44844
|
task.get('dataInputAssociations').forEach(function (dataAssociationLink) {
|
|
44281
|
-
|
|
44845
|
+
_this13.setNode(dataAssociationLink, flowElements);
|
|
44282
44846
|
});
|
|
44283
44847
|
});
|
|
44284
44848
|
},
|
|
44285
44849
|
loadArtifacts: function loadArtifacts(flowElements, artifacts) {
|
|
44286
|
-
var
|
|
44850
|
+
var _this14 = this;
|
|
44287
44851
|
artifacts.filter(function (definition) {
|
|
44288
44852
|
return definition.$type !== 'bpmn:Association';
|
|
44289
44853
|
}).forEach(function (definition) {
|
|
44290
|
-
return
|
|
44854
|
+
return _this14.setNode(definition, flowElements, artifacts);
|
|
44291
44855
|
});
|
|
44292
44856
|
},
|
|
44293
44857
|
loadSequenceFlows: function loadSequenceFlows(flowElements, artifacts) {
|
|
44294
|
-
var
|
|
44858
|
+
var _this15 = this;
|
|
44295
44859
|
flowElements.filter(function (definition) {
|
|
44296
|
-
return definition.$type === 'bpmn:SequenceFlow' &&
|
|
44860
|
+
return definition.$type === 'bpmn:SequenceFlow' && _this15.hasSourceAndTarget(definition);
|
|
44297
44861
|
}).forEach(function (definition) {
|
|
44298
|
-
return
|
|
44862
|
+
return _this15.setNode(definition, flowElements, artifacts);
|
|
44299
44863
|
});
|
|
44300
44864
|
},
|
|
44301
44865
|
loadFlowElements: function loadFlowElements(flowElements, artifacts) {
|
|
44302
|
-
var
|
|
44866
|
+
var _this16 = this;
|
|
44303
44867
|
flowElements.filter(function (definition) {
|
|
44304
44868
|
return definition.$type !== 'bpmn:SequenceFlow';
|
|
44305
44869
|
}).forEach(function (definition) {
|
|
44306
|
-
return
|
|
44870
|
+
return _this16.setNode(definition, flowElements, artifacts);
|
|
44307
44871
|
});
|
|
44308
44872
|
},
|
|
44309
44873
|
addLanes: function addLanes(process) {
|
|
@@ -44318,17 +44882,17 @@ var Selection_component = normalizeComponent(
|
|
|
44318
44882
|
this.collaboration.get('participants').forEach(this.setNode);
|
|
44319
44883
|
},
|
|
44320
44884
|
setUpDiagram: function setUpDiagram() {
|
|
44321
|
-
var
|
|
44885
|
+
var _this17 = this;
|
|
44322
44886
|
this.processes.forEach(function (process) {
|
|
44323
|
-
|
|
44324
|
-
|
|
44887
|
+
_this17.ensureCancelActivityIsAddedToBoundaryEvents(process);
|
|
44888
|
+
_this17.addLanes(process);
|
|
44325
44889
|
var flowElements = process.get('flowElements');
|
|
44326
44890
|
var artifacts = process.get('artifacts');
|
|
44327
|
-
|
|
44328
|
-
|
|
44329
|
-
|
|
44330
|
-
|
|
44331
|
-
|
|
44891
|
+
_this17.loadFlowElements(flowElements, artifacts);
|
|
44892
|
+
_this17.loadSequenceFlows(flowElements, artifacts);
|
|
44893
|
+
_this17.loadArtifacts(flowElements, artifacts);
|
|
44894
|
+
_this17.loadAssociations(flowElements, artifacts);
|
|
44895
|
+
_this17.loadDataAssociations(flowElements);
|
|
44332
44896
|
});
|
|
44333
44897
|
store.commit('setRootElements', this.definitions.rootElements);
|
|
44334
44898
|
this.addMessageFlows();
|
|
@@ -44353,7 +44917,7 @@ var Selection_component = normalizeComponent(
|
|
|
44353
44917
|
return this.plane.get('planeElement');
|
|
44354
44918
|
},
|
|
44355
44919
|
parse: function parse() {
|
|
44356
|
-
var
|
|
44920
|
+
var _this18 = this;
|
|
44357
44921
|
this.collaboration = this.getCollaboration();
|
|
44358
44922
|
this.processes = this.getProcesses();
|
|
44359
44923
|
this.plane = this.getPlane();
|
|
@@ -44361,7 +44925,7 @@ var Selection_component = normalizeComponent(
|
|
|
44361
44925
|
this.validatePlaneElements();
|
|
44362
44926
|
this.cleanPlaneElements();
|
|
44363
44927
|
this.processNode = new node_Node('processmaker-modeler-process', this.processes[0], this.planeElements.find(function (diagram) {
|
|
44364
|
-
return diagram.bpmnElement.id ===
|
|
44928
|
+
return diagram.bpmnElement.id === _this18.processes[0].id;
|
|
44365
44929
|
}));
|
|
44366
44930
|
},
|
|
44367
44931
|
removeUnsupportedElementAttributes: function removeUnsupportedElementAttributes(definition) {
|
|
@@ -44373,19 +44937,19 @@ var Selection_component = normalizeComponent(
|
|
|
44373
44937
|
});
|
|
44374
44938
|
},
|
|
44375
44939
|
getCustomParser: function getCustomParser(definition) {
|
|
44376
|
-
var
|
|
44940
|
+
var _this19 = this;
|
|
44377
44941
|
var parsers = this.parsers[definition.$type];
|
|
44378
44942
|
if (!parsers) {
|
|
44379
44943
|
return;
|
|
44380
44944
|
}
|
|
44381
44945
|
var customParser = parsers.custom.find(function (parser) {
|
|
44382
|
-
return parser(definition,
|
|
44946
|
+
return parser(definition, _this19.moddle);
|
|
44383
44947
|
});
|
|
44384
44948
|
var implementationParser = parsers.implementation.find(function (parser) {
|
|
44385
|
-
return parser(definition,
|
|
44949
|
+
return parser(definition, _this19.moddle);
|
|
44386
44950
|
});
|
|
44387
44951
|
var defaultParser = parsers.default.find(function (parser) {
|
|
44388
|
-
return parser(definition,
|
|
44952
|
+
return parser(definition, _this19.moddle);
|
|
44389
44953
|
});
|
|
44390
44954
|
return customParser || implementationParser || defaultParser;
|
|
44391
44955
|
},
|
|
@@ -44447,7 +45011,7 @@ var Selection_component = normalizeComponent(
|
|
|
44447
45011
|
return hasSource && hasTarget;
|
|
44448
45012
|
},
|
|
44449
45013
|
waitForCursorToChange: function waitForCursorToChange() {
|
|
44450
|
-
var
|
|
45014
|
+
var _this20 = this;
|
|
44451
45015
|
return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee8() {
|
|
44452
45016
|
var cursorWaitTime;
|
|
44453
45017
|
return _regeneratorRuntime().wrap(function _callee8$(_context8) {
|
|
@@ -44455,7 +45019,7 @@ var Selection_component = normalizeComponent(
|
|
|
44455
45019
|
case 0:
|
|
44456
45020
|
cursorWaitTime = 300;
|
|
44457
45021
|
_context8.next = 3;
|
|
44458
|
-
return
|
|
45022
|
+
return _this20.$nextTick();
|
|
44459
45023
|
case 3:
|
|
44460
45024
|
return _context8.abrupt("return", new Promise(function (resolve) {
|
|
44461
45025
|
return setTimeout(resolve, cursorWaitTime);
|
|
@@ -44468,23 +45032,23 @@ var Selection_component = normalizeComponent(
|
|
|
44468
45032
|
}))();
|
|
44469
45033
|
},
|
|
44470
45034
|
renderPaper: function renderPaper() {
|
|
44471
|
-
var
|
|
45035
|
+
var _this21 = this;
|
|
44472
45036
|
return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee10() {
|
|
44473
45037
|
return _regeneratorRuntime().wrap(function _callee10$(_context10) {
|
|
44474
45038
|
while (1) switch (_context10.prev = _context10.next) {
|
|
44475
45039
|
case 0:
|
|
44476
|
-
|
|
45040
|
+
_this21.isRendering = true;
|
|
44477
45041
|
_context10.next = 3;
|
|
44478
|
-
return
|
|
45042
|
+
return _this21.paperManager.performAtomicAction( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee9() {
|
|
44479
45043
|
return _regeneratorRuntime().wrap(function _callee9$(_context9) {
|
|
44480
45044
|
while (1) switch (_context9.prev = _context9.next) {
|
|
44481
45045
|
case 0:
|
|
44482
45046
|
_context9.next = 2;
|
|
44483
|
-
return
|
|
45047
|
+
return _this21.waitForCursorToChange();
|
|
44484
45048
|
case 2:
|
|
44485
|
-
|
|
44486
|
-
|
|
44487
|
-
|
|
45049
|
+
_this21.parse();
|
|
45050
|
+
_this21.addPools();
|
|
45051
|
+
_this21.setUpDiagram();
|
|
44488
45052
|
case 5:
|
|
44489
45053
|
case "end":
|
|
44490
45054
|
return _context9.stop();
|
|
@@ -44493,10 +45057,10 @@ var Selection_component = normalizeComponent(
|
|
|
44493
45057
|
})));
|
|
44494
45058
|
case 3:
|
|
44495
45059
|
_context10.next = 5;
|
|
44496
|
-
return
|
|
45060
|
+
return _this21.paperManager.awaitScheduledUpdates();
|
|
44497
45061
|
case 5:
|
|
44498
|
-
|
|
44499
|
-
|
|
45062
|
+
_this21.isRendering = false;
|
|
45063
|
+
_this21.$emit('parsed');
|
|
44500
45064
|
case 7:
|
|
44501
45065
|
case "end":
|
|
44502
45066
|
return _context10.stop();
|
|
@@ -44506,21 +45070,21 @@ var Selection_component = normalizeComponent(
|
|
|
44506
45070
|
},
|
|
44507
45071
|
loadXML: function loadXML() {
|
|
44508
45072
|
var _arguments = arguments,
|
|
44509
|
-
|
|
45073
|
+
_this22 = this;
|
|
44510
45074
|
return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee11() {
|
|
44511
45075
|
var xml;
|
|
44512
45076
|
return _regeneratorRuntime().wrap(function _callee11$(_context11) {
|
|
44513
45077
|
while (1) switch (_context11.prev = _context11.next) {
|
|
44514
45078
|
case 0:
|
|
44515
|
-
xml = _arguments.length > 0 && _arguments[0] !== undefined ? _arguments[0] :
|
|
45079
|
+
xml = _arguments.length > 0 && _arguments[0] !== undefined ? _arguments[0] : _this22.currentXML;
|
|
44516
45080
|
_context11.next = 3;
|
|
44517
|
-
return
|
|
45081
|
+
return _this22.xmlManager.getDefinitionsFromXml(xml);
|
|
44518
45082
|
case 3:
|
|
44519
|
-
|
|
44520
|
-
|
|
44521
|
-
|
|
45083
|
+
_this22.definitions = _context11.sent;
|
|
45084
|
+
_this22.xmlManager.definitions = _this22.definitions;
|
|
45085
|
+
_this22.nodeIdGenerator = getNodeIdGenerator(_this22.definitions);
|
|
44522
45086
|
store.commit('clearNodes');
|
|
44523
|
-
|
|
45087
|
+
_this22.renderPaper();
|
|
44524
45088
|
case 8:
|
|
44525
45089
|
case "end":
|
|
44526
45090
|
return _context11.stop();
|
|
@@ -44549,13 +45113,13 @@ var Selection_component = normalizeComponent(
|
|
|
44549
45113
|
return boundaryEvent;
|
|
44550
45114
|
},
|
|
44551
45115
|
ensureCancelActivityIsAddedToBoundaryEvents: function ensureCancelActivityIsAddedToBoundaryEvents(process) {
|
|
44552
|
-
var
|
|
45116
|
+
var _this23 = this;
|
|
44553
45117
|
this.getBoundaryEvents(process).forEach(function (definition) {
|
|
44554
|
-
var boundaryEvent =
|
|
45118
|
+
var boundaryEvent = _this23.createBoundaryEvent(definition);
|
|
44555
45119
|
definition.get('outgoing').forEach(function (outgoing) {
|
|
44556
45120
|
return outgoing.set('sourceRef', boundaryEvent);
|
|
44557
45121
|
});
|
|
44558
|
-
|
|
45122
|
+
_this23.replaceDefinition(definition, boundaryEvent, process);
|
|
44559
45123
|
});
|
|
44560
45124
|
},
|
|
44561
45125
|
replaceDefinition: function replaceDefinition(definition, boundaryEvent, process) {
|
|
@@ -44572,36 +45136,36 @@ var Selection_component = normalizeComponent(
|
|
|
44572
45136
|
}, cb);
|
|
44573
45137
|
},
|
|
44574
45138
|
handleDrop: function handleDrop(_ref5) {
|
|
44575
|
-
var
|
|
45139
|
+
var _this24 = this;
|
|
44576
45140
|
return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee12() {
|
|
44577
|
-
var clientX, clientY, control, nodeThatWillBeReplaced, definition, diagram,
|
|
45141
|
+
var clientX, clientY, control, nodeThatWillBeReplaced, definition, diagram, _this24$paperManager$, x, y, newNode, nodeMigrator;
|
|
44578
45142
|
return _regeneratorRuntime().wrap(function _callee12$(_context12) {
|
|
44579
45143
|
while (1) switch (_context12.prev = _context12.next) {
|
|
44580
45144
|
case 0:
|
|
44581
45145
|
clientX = _ref5.clientX, clientY = _ref5.clientY, control = _ref5.control, nodeThatWillBeReplaced = _ref5.nodeThatWillBeReplaced;
|
|
44582
|
-
|
|
45146
|
+
_this24.validateDropTarget({
|
|
44583
45147
|
clientX: clientX,
|
|
44584
45148
|
clientY: clientY,
|
|
44585
45149
|
control: control
|
|
44586
45150
|
});
|
|
44587
|
-
if (
|
|
45151
|
+
if (_this24.allowDrop) {
|
|
44588
45152
|
_context12.next = 4;
|
|
44589
45153
|
break;
|
|
44590
45154
|
}
|
|
44591
45155
|
return _context12.abrupt("return");
|
|
44592
45156
|
case 4:
|
|
44593
|
-
definition =
|
|
44594
|
-
diagram =
|
|
44595
|
-
|
|
45157
|
+
definition = _this24.nodeRegistry[control.type].definition(_this24.moddle, _this24.$t);
|
|
45158
|
+
diagram = _this24.nodeRegistry[control.type].diagram(_this24.moddle);
|
|
45159
|
+
_this24$paperManager$ = _this24.paperManager.clientToGridPoint(clientX, clientY), x = _this24$paperManager$.x, y = _this24$paperManager$.y;
|
|
44596
45160
|
diagram.bounds.x = x;
|
|
44597
45161
|
diagram.bounds.y = y;
|
|
44598
|
-
newNode =
|
|
45162
|
+
newNode = _this24.createNode(control.type, definition, diagram);
|
|
44599
45163
|
if (newNode.isBpmnType('bpmn:BoundaryEvent')) {
|
|
44600
|
-
|
|
45164
|
+
_this24.setShapeCenterUnderCursor(diagram);
|
|
44601
45165
|
}
|
|
44602
|
-
|
|
45166
|
+
_this24.highlightNode(newNode);
|
|
44603
45167
|
_context12.next = 14;
|
|
44604
|
-
return
|
|
45168
|
+
return _this24.addNode(newNode);
|
|
44605
45169
|
case 14:
|
|
44606
45170
|
if (nodeThatWillBeReplaced) {
|
|
44607
45171
|
_context12.next = 16;
|
|
@@ -44609,7 +45173,7 @@ var Selection_component = normalizeComponent(
|
|
|
44609
45173
|
}
|
|
44610
45174
|
return _context12.abrupt("return");
|
|
44611
45175
|
case 16:
|
|
44612
|
-
nodeMigrator = new NodeMigrator_NodeMigrator(nodeThatWillBeReplaced, definition,
|
|
45176
|
+
nodeMigrator = new NodeMigrator_NodeMigrator(nodeThatWillBeReplaced, definition, _this24.graph, newNode, _this24.processes, _this24.collaboration);
|
|
44613
45177
|
nodeMigrator.migrate();
|
|
44614
45178
|
return _context12.abrupt("return", newNode);
|
|
44615
45179
|
case 19:
|
|
@@ -44624,24 +45188,24 @@ var Selection_component = normalizeComponent(
|
|
|
44624
45188
|
diagram.bounds.y -= diagram.bounds.height / 2;
|
|
44625
45189
|
},
|
|
44626
45190
|
selectNewNode: function selectNewNode(node) {
|
|
44627
|
-
var
|
|
45191
|
+
var _this25 = this;
|
|
44628
45192
|
return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee13() {
|
|
44629
45193
|
var newNodeComponent, view;
|
|
44630
45194
|
return _regeneratorRuntime().wrap(function _callee13$(_context13) {
|
|
44631
45195
|
while (1) switch (_context13.prev = _context13.next) {
|
|
44632
45196
|
case 0:
|
|
44633
45197
|
_context13.next = 2;
|
|
44634
|
-
return
|
|
45198
|
+
return _this25.$nextTick();
|
|
44635
45199
|
case 2:
|
|
44636
45200
|
_context13.next = 4;
|
|
44637
|
-
return
|
|
45201
|
+
return _this25.paperManager.awaitScheduledUpdates();
|
|
44638
45202
|
case 4:
|
|
44639
|
-
newNodeComponent =
|
|
45203
|
+
newNodeComponent = _this25.$refs.nodeComponent.find(function (component) {
|
|
44640
45204
|
return component.node === node;
|
|
44641
45205
|
});
|
|
44642
45206
|
view = newNodeComponent.shapeView;
|
|
44643
45207
|
_context13.next = 8;
|
|
44644
|
-
return
|
|
45208
|
+
return _this25.$refs.selector.selectElement(view);
|
|
44645
45209
|
case 8:
|
|
44646
45210
|
case "end":
|
|
44647
45211
|
return _context13.stop();
|
|
@@ -44650,21 +45214,21 @@ var Selection_component = normalizeComponent(
|
|
|
44650
45214
|
}))();
|
|
44651
45215
|
},
|
|
44652
45216
|
addNode: function addNode(node) {
|
|
44653
|
-
var
|
|
45217
|
+
var _this26 = this;
|
|
44654
45218
|
return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee14() {
|
|
44655
45219
|
var targetProcess;
|
|
44656
45220
|
return _regeneratorRuntime().wrap(function _callee14$(_context14) {
|
|
44657
45221
|
while (1) switch (_context14.prev = _context14.next) {
|
|
44658
45222
|
case 0:
|
|
44659
45223
|
if (!node.pool) {
|
|
44660
|
-
node.pool =
|
|
45224
|
+
node.pool = _this26.poolTarget;
|
|
44661
45225
|
}
|
|
44662
|
-
targetProcess = node.getTargetProcess(
|
|
45226
|
+
targetProcess = node.getTargetProcess(_this26.processes, _this26.processNode);
|
|
44663
45227
|
addNodeToProcess(node, targetProcess);
|
|
44664
|
-
node.setIds(
|
|
44665
|
-
|
|
45228
|
+
node.setIds(_this26.nodeIdGenerator);
|
|
45229
|
+
_this26.planeElements.push(node.diagram);
|
|
44666
45230
|
store.commit('addNode', node);
|
|
44667
|
-
|
|
45231
|
+
_this26.poolTarget = null;
|
|
44668
45232
|
|
|
44669
45233
|
// add processmaker-modeler-generic-flow
|
|
44670
45234
|
if (![sequenceFlow_id, poolLane_config_id, association_id, messageFlow_config_id, config_id, dataInputAssociation_config_id, genericFlow_config_id].includes(node.type)) {
|
|
@@ -44674,10 +45238,10 @@ var Selection_component = normalizeComponent(
|
|
|
44674
45238
|
return _context14.abrupt("return");
|
|
44675
45239
|
case 9:
|
|
44676
45240
|
// Select the node after it has been added to the store (does not apply to flows)
|
|
44677
|
-
|
|
45241
|
+
_this26.selectNewNode(node);
|
|
44678
45242
|
return _context14.abrupt("return", new Promise(function (resolve) {
|
|
44679
45243
|
setTimeout(function () {
|
|
44680
|
-
|
|
45244
|
+
_this26.pushToUndoStack();
|
|
44681
45245
|
resolve();
|
|
44682
45246
|
});
|
|
44683
45247
|
}));
|
|
@@ -44689,23 +45253,23 @@ var Selection_component = normalizeComponent(
|
|
|
44689
45253
|
}))();
|
|
44690
45254
|
},
|
|
44691
45255
|
addClonedNodes: function addClonedNodes(nodes) {
|
|
44692
|
-
var
|
|
45256
|
+
var _this27 = this;
|
|
44693
45257
|
return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee15() {
|
|
44694
45258
|
return _regeneratorRuntime().wrap(function _callee15$(_context15) {
|
|
44695
45259
|
while (1) switch (_context15.prev = _context15.next) {
|
|
44696
45260
|
case 0:
|
|
44697
45261
|
nodes.forEach(function (node) {
|
|
44698
45262
|
if (!node.pool) {
|
|
44699
|
-
node.pool =
|
|
45263
|
+
node.pool = _this27.poolTarget;
|
|
44700
45264
|
}
|
|
44701
|
-
var targetProcess = node.getTargetProcess(
|
|
45265
|
+
var targetProcess = node.getTargetProcess(_this27.processes, _this27.processNode);
|
|
44702
45266
|
addNodeToProcess(node, targetProcess);
|
|
44703
|
-
|
|
45267
|
+
_this27.planeElements.push(node.diagram);
|
|
44704
45268
|
store.commit('addNode', node);
|
|
44705
|
-
|
|
45269
|
+
_this27.poolTarget = null;
|
|
44706
45270
|
});
|
|
44707
45271
|
_context15.next = 3;
|
|
44708
|
-
return
|
|
45272
|
+
return _this27.pushToUndoStack();
|
|
44709
45273
|
case 3:
|
|
44710
45274
|
case "end":
|
|
44711
45275
|
return _context15.stop();
|
|
@@ -44715,31 +45279,37 @@ var Selection_component = normalizeComponent(
|
|
|
44715
45279
|
},
|
|
44716
45280
|
removeNode: function removeNode(node) {
|
|
44717
45281
|
var _arguments2 = arguments,
|
|
44718
|
-
|
|
45282
|
+
_this28 = this;
|
|
44719
45283
|
return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee16() {
|
|
44720
45284
|
var _ref6, _ref6$removeRelations, removeRelationships;
|
|
44721
45285
|
return _regeneratorRuntime().wrap(function _callee16$(_context16) {
|
|
44722
45286
|
while (1) switch (_context16.prev = _context16.next) {
|
|
44723
45287
|
case 0:
|
|
44724
45288
|
_ref6 = _arguments2.length > 1 && _arguments2[1] !== undefined ? _arguments2[1] : {}, _ref6$removeRelations = _ref6.removeRelationships, removeRelationships = _ref6$removeRelations === void 0 ? true : _ref6$removeRelations;
|
|
45289
|
+
if (node) {
|
|
45290
|
+
_context16.next = 3;
|
|
45291
|
+
break;
|
|
45292
|
+
}
|
|
45293
|
+
return _context16.abrupt("return");
|
|
45294
|
+
case 3:
|
|
44725
45295
|
if (removeRelationships) {
|
|
44726
|
-
removeNodeFlows(node,
|
|
44727
|
-
removeNodeMessageFlows(node,
|
|
44728
|
-
removeNodeAssociations(node,
|
|
45296
|
+
removeNodeFlows(node, _this28);
|
|
45297
|
+
removeNodeMessageFlows(node, _this28);
|
|
45298
|
+
removeNodeAssociations(node, _this28);
|
|
44729
45299
|
}
|
|
44730
45300
|
removeOutgoingAndIncomingRefsToFlow(node);
|
|
44731
|
-
removeBoundaryEvents(
|
|
45301
|
+
removeBoundaryEvents(_this28.graph, node, _this28.removeNode);
|
|
44732
45302
|
removeSourceDefault(node);
|
|
44733
|
-
|
|
44734
|
-
|
|
45303
|
+
_this28.removeNodesFromLane(node);
|
|
45304
|
+
_this28.removeNodesFromPool(node);
|
|
44735
45305
|
store.commit('removeNode', node);
|
|
44736
|
-
store.commit('highlightNode',
|
|
44737
|
-
|
|
44738
|
-
_context16.next =
|
|
44739
|
-
return
|
|
44740
|
-
case
|
|
44741
|
-
|
|
44742
|
-
case
|
|
45306
|
+
store.commit('highlightNode', _this28.processNode);
|
|
45307
|
+
_this28.$refs.selector.clearSelection();
|
|
45308
|
+
_context16.next = 14;
|
|
45309
|
+
return _this28.$nextTick();
|
|
45310
|
+
case 14:
|
|
45311
|
+
_this28.pushToUndoStack();
|
|
45312
|
+
case 15:
|
|
44743
45313
|
case "end":
|
|
44744
45314
|
return _context16.stop();
|
|
44745
45315
|
}
|
|
@@ -44747,24 +45317,24 @@ var Selection_component = normalizeComponent(
|
|
|
44747
45317
|
}))();
|
|
44748
45318
|
},
|
|
44749
45319
|
removeNodes: function removeNodes() {
|
|
44750
|
-
var
|
|
45320
|
+
var _this29 = this;
|
|
44751
45321
|
return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee19() {
|
|
44752
45322
|
return _regeneratorRuntime().wrap(function _callee19$(_context19) {
|
|
44753
45323
|
while (1) switch (_context19.prev = _context19.next) {
|
|
44754
45324
|
case 0:
|
|
44755
|
-
|
|
45325
|
+
_this29.performSingleUndoRedoTransaction( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee18() {
|
|
44756
45326
|
return _regeneratorRuntime().wrap(function _callee18$(_context18) {
|
|
44757
45327
|
while (1) switch (_context18.prev = _context18.next) {
|
|
44758
45328
|
case 0:
|
|
44759
45329
|
_context18.next = 2;
|
|
44760
|
-
return
|
|
45330
|
+
return _this29.paperManager.performAtomicAction( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee17() {
|
|
44761
45331
|
var waitPromises;
|
|
44762
45332
|
return _regeneratorRuntime().wrap(function _callee17$(_context17) {
|
|
44763
45333
|
while (1) switch (_context17.prev = _context17.next) {
|
|
44764
45334
|
case 0:
|
|
44765
45335
|
waitPromises = [];
|
|
44766
|
-
|
|
44767
|
-
return waitPromises.push(
|
|
45336
|
+
_this29.highlightedNodes.forEach(function (node) {
|
|
45337
|
+
return waitPromises.push(_this29.removeNode(node, {
|
|
44768
45338
|
removeRelationships: true
|
|
44769
45339
|
}));
|
|
44770
45340
|
});
|
|
@@ -44792,7 +45362,7 @@ var Selection_component = normalizeComponent(
|
|
|
44792
45362
|
}))();
|
|
44793
45363
|
},
|
|
44794
45364
|
replaceNode: function replaceNode(_ref9) {
|
|
44795
|
-
var
|
|
45365
|
+
var _this30 = this;
|
|
44796
45366
|
var node = _ref9.node,
|
|
44797
45367
|
typeToReplaceWith = _ref9.typeToReplaceWith;
|
|
44798
45368
|
this.performSingleUndoRedoTransaction( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee21() {
|
|
@@ -44800,14 +45370,14 @@ var Selection_component = normalizeComponent(
|
|
|
44800
45370
|
while (1) switch (_context21.prev = _context21.next) {
|
|
44801
45371
|
case 0:
|
|
44802
45372
|
_context21.next = 2;
|
|
44803
|
-
return
|
|
44804
|
-
var
|
|
45373
|
+
return _this30.paperManager.performAtomicAction( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee20() {
|
|
45374
|
+
var _this30$paper$localTo, clientX, clientY, newNode;
|
|
44805
45375
|
return _regeneratorRuntime().wrap(function _callee20$(_context20) {
|
|
44806
45376
|
while (1) switch (_context20.prev = _context20.next) {
|
|
44807
45377
|
case 0:
|
|
44808
|
-
|
|
45378
|
+
_this30$paper$localTo = _this30.paper.localToClientPoint(node.diagram.bounds), clientX = _this30$paper$localTo.x, clientY = _this30$paper$localTo.y;
|
|
44809
45379
|
_context20.next = 3;
|
|
44810
|
-
return
|
|
45380
|
+
return _this30.handleDrop({
|
|
44811
45381
|
clientX: clientX,
|
|
44812
45382
|
clientY: clientY,
|
|
44813
45383
|
control: {
|
|
@@ -44818,12 +45388,12 @@ var Selection_component = normalizeComponent(
|
|
|
44818
45388
|
case 3:
|
|
44819
45389
|
newNode = _context20.sent;
|
|
44820
45390
|
_context20.next = 6;
|
|
44821
|
-
return
|
|
45391
|
+
return _this30.removeNode(node, {
|
|
44822
45392
|
removeRelationships: false
|
|
44823
45393
|
});
|
|
44824
45394
|
case 6:
|
|
44825
|
-
|
|
44826
|
-
|
|
45395
|
+
_this30.highlightNode(newNode);
|
|
45396
|
+
_this30.selectNewNode(newNode);
|
|
44827
45397
|
case 8:
|
|
44828
45398
|
case "end":
|
|
44829
45399
|
return _context20.stop();
|
|
@@ -44838,7 +45408,7 @@ var Selection_component = normalizeComponent(
|
|
|
44838
45408
|
})));
|
|
44839
45409
|
},
|
|
44840
45410
|
replaceGenericFlow: function replaceGenericFlow(_ref12) {
|
|
44841
|
-
var
|
|
45411
|
+
var _this31 = this;
|
|
44842
45412
|
var actualFlow = _ref12.actualFlow,
|
|
44843
45413
|
genericFlow = _ref12.genericFlow,
|
|
44844
45414
|
targetNode = _ref12.targetNode;
|
|
@@ -44847,27 +45417,27 @@ var Selection_component = normalizeComponent(
|
|
|
44847
45417
|
while (1) switch (_context23.prev = _context23.next) {
|
|
44848
45418
|
case 0:
|
|
44849
45419
|
_context23.next = 2;
|
|
44850
|
-
return
|
|
45420
|
+
return _this31.paperManager.performAtomicAction( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee22() {
|
|
44851
45421
|
return _regeneratorRuntime().wrap(function _callee22$(_context22) {
|
|
44852
45422
|
while (1) switch (_context22.prev = _context22.next) {
|
|
44853
45423
|
case 0:
|
|
44854
45424
|
_context22.next = 2;
|
|
44855
|
-
return
|
|
45425
|
+
return _this31.highlightNode(null);
|
|
44856
45426
|
case 2:
|
|
44857
45427
|
_context22.next = 4;
|
|
44858
|
-
return
|
|
45428
|
+
return _this31.$nextTick();
|
|
44859
45429
|
case 4:
|
|
44860
45430
|
_context22.next = 6;
|
|
44861
|
-
return
|
|
45431
|
+
return _this31.addNode(actualFlow);
|
|
44862
45432
|
case 6:
|
|
44863
45433
|
_context22.next = 8;
|
|
44864
45434
|
return store.commit('removeNode', genericFlow);
|
|
44865
45435
|
case 8:
|
|
44866
45436
|
_context22.next = 10;
|
|
44867
|
-
return
|
|
45437
|
+
return _this31.$nextTick();
|
|
44868
45438
|
case 10:
|
|
44869
45439
|
_context22.next = 12;
|
|
44870
|
-
return
|
|
45440
|
+
return _this31.highlightNode(targetNode);
|
|
44871
45441
|
case 12:
|
|
44872
45442
|
case "end":
|
|
44873
45443
|
return _context22.stop();
|
|
@@ -44882,7 +45452,7 @@ var Selection_component = normalizeComponent(
|
|
|
44882
45452
|
})));
|
|
44883
45453
|
},
|
|
44884
45454
|
performSingleUndoRedoTransaction: function performSingleUndoRedoTransaction(cb) {
|
|
44885
|
-
var
|
|
45455
|
+
var _this32 = this;
|
|
44886
45456
|
return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee24() {
|
|
44887
45457
|
return _regeneratorRuntime().wrap(function _callee24$(_context24) {
|
|
44888
45458
|
while (1) switch (_context24.prev = _context24.next) {
|
|
@@ -44892,7 +45462,7 @@ var Selection_component = normalizeComponent(
|
|
|
44892
45462
|
return cb();
|
|
44893
45463
|
case 3:
|
|
44894
45464
|
undoRedoStore.commit('enableSavingState');
|
|
44895
|
-
|
|
45465
|
+
_this32.pushToUndoStack();
|
|
44896
45466
|
case 5:
|
|
44897
45467
|
case "end":
|
|
44898
45468
|
return _context24.stop();
|
|
@@ -44910,36 +45480,36 @@ var Selection_component = normalizeComponent(
|
|
|
44910
45480
|
pull_default()(containingLane.get('flowNodeRef'), node.definition);
|
|
44911
45481
|
},
|
|
44912
45482
|
removeNodesFromPool: function removeNodesFromPool(node) {
|
|
44913
|
-
var
|
|
45483
|
+
var _this33 = this;
|
|
44914
45484
|
if (node.type === 'processmaker-modeler-pool' && node.definition.processRef) {
|
|
44915
45485
|
if (node.definition.processRef.artifacts) {
|
|
44916
45486
|
node.definition.processRef.artifacts.forEach(function (artifact) {
|
|
44917
|
-
var nodeToRemove =
|
|
45487
|
+
var nodeToRemove = _this33.nodes.find(function (n) {
|
|
44918
45488
|
return n.definition === artifact;
|
|
44919
45489
|
});
|
|
44920
45490
|
if (nodeToRemove) {
|
|
44921
|
-
|
|
45491
|
+
_this33.removeNode(nodeToRemove);
|
|
44922
45492
|
}
|
|
44923
45493
|
});
|
|
44924
45494
|
}
|
|
44925
45495
|
if (node.definition.processRef.flowElements) {
|
|
44926
45496
|
node.definition.processRef.flowElements.forEach(function (flowElement) {
|
|
44927
|
-
var nodeToRemove =
|
|
45497
|
+
var nodeToRemove = _this33.nodes.find(function (n) {
|
|
44928
45498
|
return n.definition === flowElement;
|
|
44929
45499
|
});
|
|
44930
45500
|
if (nodeToRemove) {
|
|
44931
|
-
|
|
45501
|
+
_this33.removeNode(nodeToRemove);
|
|
44932
45502
|
}
|
|
44933
45503
|
});
|
|
44934
45504
|
}
|
|
44935
45505
|
var laneSets = node.definition.processRef.laneSets;
|
|
44936
45506
|
if (!!laneSets && laneSets.length > 0) {
|
|
44937
45507
|
laneSets[0].lanes.forEach(function (lane) {
|
|
44938
|
-
var nodeToRemove =
|
|
45508
|
+
var nodeToRemove = _this33.nodes.find(function (n) {
|
|
44939
45509
|
return n.definition === lane;
|
|
44940
45510
|
});
|
|
44941
45511
|
if (nodeToRemove) {
|
|
44942
|
-
|
|
45512
|
+
_this33.removeNode(nodeToRemove);
|
|
44943
45513
|
}
|
|
44944
45514
|
});
|
|
44945
45515
|
}
|
|
@@ -44967,13 +45537,13 @@ var Selection_component = normalizeComponent(
|
|
|
44967
45537
|
return shape.component != null;
|
|
44968
45538
|
},
|
|
44969
45539
|
setShapeStacking: function setShapeStacking(shape) {
|
|
44970
|
-
var
|
|
45540
|
+
var _this34 = this;
|
|
44971
45541
|
if (this.isRendering || !shape.component.node.isType('processmaker-modeler-pool') && shape === this.previouslyStackedShape) {
|
|
44972
45542
|
return;
|
|
44973
45543
|
}
|
|
44974
45544
|
this.previouslyStackedShape = shape;
|
|
44975
45545
|
this.paperManager.performAtomicAction(function () {
|
|
44976
|
-
return ensureShapeIsNotCovered(shape,
|
|
45546
|
+
return ensureShapeIsNotCovered(shape, _this34.graph);
|
|
44977
45547
|
});
|
|
44978
45548
|
},
|
|
44979
45549
|
showSavedNotification: function showSavedNotification() {
|
|
@@ -44995,11 +45565,11 @@ var Selection_component = normalizeComponent(
|
|
|
44995
45565
|
var selector = this.$refs.selector.$el;
|
|
44996
45566
|
if (typeof selector.getBoundingClientRect === 'function') {
|
|
44997
45567
|
// check if mouse was clicked inside the selector
|
|
44998
|
-
var _selector$
|
|
44999
|
-
sx = _selector$
|
|
45000
|
-
sy = _selector$
|
|
45001
|
-
swidth = _selector$
|
|
45002
|
-
sheight = _selector$
|
|
45568
|
+
var _selector$getBounding = selector.getBoundingClientRect(),
|
|
45569
|
+
sx = _selector$getBounding.x,
|
|
45570
|
+
sy = _selector$getBounding.y,
|
|
45571
|
+
swidth = _selector$getBounding.width,
|
|
45572
|
+
sheight = _selector$getBounding.height;
|
|
45003
45573
|
if (event.clientX >= sx && event.clientX <= sx + swidth && event.clientY >= sy && event.clientY <= sy + sheight) {
|
|
45004
45574
|
return true;
|
|
45005
45575
|
}
|
|
@@ -45007,27 +45577,27 @@ var Selection_component = normalizeComponent(
|
|
|
45007
45577
|
return false;
|
|
45008
45578
|
},
|
|
45009
45579
|
pointerDowInShape: function pointerDowInShape(event, element) {
|
|
45010
|
-
var
|
|
45580
|
+
var _this35 = this;
|
|
45011
45581
|
return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee25() {
|
|
45012
45582
|
var x, y, shapeView;
|
|
45013
45583
|
return _regeneratorRuntime().wrap(function _callee25$(_context25) {
|
|
45014
45584
|
while (1) switch (_context25.prev = _context25.next) {
|
|
45015
45585
|
case 0:
|
|
45016
45586
|
x = event.clientX, y = event.clientY;
|
|
45017
|
-
shapeView =
|
|
45018
|
-
|
|
45019
|
-
|
|
45020
|
-
|
|
45021
|
-
|
|
45587
|
+
shapeView = _this35.paper.findViewByModel(element);
|
|
45588
|
+
_this35.isDragging = false;
|
|
45589
|
+
_this35.isSelecting = false;
|
|
45590
|
+
_this35.isIntoTheSelection = false;
|
|
45591
|
+
_this35.dragStart = {
|
|
45022
45592
|
x: x,
|
|
45023
45593
|
y: y
|
|
45024
45594
|
};
|
|
45025
45595
|
// Verify if is in the selection box
|
|
45026
|
-
if (!
|
|
45596
|
+
if (!_this35.isPointInSelection(event)) {
|
|
45027
45597
|
_context25.next = 10;
|
|
45028
45598
|
break;
|
|
45029
45599
|
}
|
|
45030
|
-
|
|
45600
|
+
_this35.isIntoTheSelection = true;
|
|
45031
45601
|
_context25.next = 15;
|
|
45032
45602
|
break;
|
|
45033
45603
|
case 10:
|
|
@@ -45036,12 +45606,12 @@ var Selection_component = normalizeComponent(
|
|
|
45036
45606
|
break;
|
|
45037
45607
|
}
|
|
45038
45608
|
_context25.next = 13;
|
|
45039
|
-
return
|
|
45609
|
+
return _this35.$refs.selector.selectElement(shapeView);
|
|
45040
45610
|
case 13:
|
|
45041
45611
|
_context25.next = 15;
|
|
45042
|
-
return
|
|
45612
|
+
return _this35.$nextTick();
|
|
45043
45613
|
case 15:
|
|
45044
|
-
|
|
45614
|
+
_this35.$refs.selector.startDrag({
|
|
45045
45615
|
clientX: event.clientX,
|
|
45046
45616
|
clientY: event.clientY
|
|
45047
45617
|
});
|
|
@@ -45140,7 +45710,7 @@ var Selection_component = normalizeComponent(
|
|
|
45140
45710
|
this.$emit('set-xml-manager', this.xmlManager);
|
|
45141
45711
|
},
|
|
45142
45712
|
mounted: function mounted() {
|
|
45143
|
-
var
|
|
45713
|
+
var _this36 = this;
|
|
45144
45714
|
this.graph = new external_jointjs_["dia"].Graph();
|
|
45145
45715
|
store.commit('setGraph', this.graph);
|
|
45146
45716
|
this.graph.set('interactiveFunc', function (cellView) {
|
|
@@ -45158,36 +45728,34 @@ var Selection_component = normalizeComponent(
|
|
|
45158
45728
|
store.commit('setPaper', this.paperManager.paper);
|
|
45159
45729
|
this.paperManager.addEventHandler('element:pointerclick', this.blurFocusedScreenBuilderElement, this);
|
|
45160
45730
|
this.paperManager.addEventHandler('blank:pointerdown', function (event, x, y) {
|
|
45161
|
-
if (
|
|
45162
|
-
var scale =
|
|
45163
|
-
|
|
45731
|
+
if (_this36.isGrabbing) return;
|
|
45732
|
+
var scale = _this36.paperManager.scale;
|
|
45733
|
+
_this36.canvasDragPosition = {
|
|
45164
45734
|
x: x * scale.sx,
|
|
45165
45735
|
y: y * scale.sy
|
|
45166
45736
|
};
|
|
45167
|
-
|
|
45168
|
-
|
|
45737
|
+
_this36.isOverShape = false;
|
|
45738
|
+
_this36.pointerDownHandler(event);
|
|
45169
45739
|
}, this);
|
|
45170
45740
|
this.paperManager.addEventHandler('blank:pointerup', function (event) {
|
|
45171
|
-
|
|
45172
|
-
|
|
45173
|
-
|
|
45741
|
+
_this36.canvasDragPosition = null;
|
|
45742
|
+
_this36.activeNode = null;
|
|
45743
|
+
_this36.pointerUpHandler(event);
|
|
45174
45744
|
}, this);
|
|
45175
45745
|
this.paperManager.addEventHandler('cell:pointerup', function (cellView, event) {
|
|
45176
|
-
|
|
45177
|
-
|
|
45178
|
-
|
|
45746
|
+
_this36.canvasDragPosition = null;
|
|
45747
|
+
_this36.activeNode = null;
|
|
45748
|
+
_this36.pointerUpHandler(event, cellView);
|
|
45179
45749
|
}, this);
|
|
45750
|
+
this.$el.addEventListener('mouseenter', function () {
|
|
45751
|
+
store.commit('setClientLeftPaper', false);
|
|
45752
|
+
});
|
|
45180
45753
|
this.$el.addEventListener('mousemove', function (event) {
|
|
45181
|
-
|
|
45182
|
-
clientY = event.clientY;
|
|
45183
|
-
_this37.pointerMoveHandler(event);
|
|
45184
|
-
store.commit('setClientMousePosition', {
|
|
45185
|
-
clientX: clientX,
|
|
45186
|
-
clientY: clientY
|
|
45187
|
-
});
|
|
45754
|
+
_this36.pointerMoveHandler(event);
|
|
45188
45755
|
});
|
|
45189
45756
|
this.$el.addEventListener('mouseleave', function () {
|
|
45190
|
-
|
|
45757
|
+
_this36.paperManager.removeEventHandler('blank:pointermove');
|
|
45758
|
+
store.commit('setClientLeftPaper', true);
|
|
45191
45759
|
});
|
|
45192
45760
|
this.paperManager.addEventHandler('cell:pointerclick', function (cellView, evt, x, y) {
|
|
45193
45761
|
var clickHandler = cellView.model.get('onClick');
|
|
@@ -45197,33 +45765,33 @@ var Selection_component = normalizeComponent(
|
|
|
45197
45765
|
});
|
|
45198
45766
|
this.paperManager.addEventHandler('cell:pointerclick', function (_ref16, event) {
|
|
45199
45767
|
var shape = _ref16.model;
|
|
45200
|
-
if (!
|
|
45768
|
+
if (!_this36.isBpmnNode(shape)) {
|
|
45201
45769
|
return;
|
|
45202
45770
|
}
|
|
45203
45771
|
shape.component.$emit('click', event);
|
|
45204
45772
|
});
|
|
45205
45773
|
this.paperManager.addEventHandler('cell:pointerdown', function (_ref17, event) {
|
|
45206
45774
|
var shape = _ref17.model;
|
|
45207
|
-
if (!
|
|
45775
|
+
if (!_this36.isBpmnNode(shape)) {
|
|
45208
45776
|
return;
|
|
45209
45777
|
}
|
|
45210
|
-
|
|
45211
|
-
|
|
45212
|
-
|
|
45213
|
-
|
|
45778
|
+
_this36.setShapeStacking(shape);
|
|
45779
|
+
_this36.activeNode = shape.component.node;
|
|
45780
|
+
_this36.isOverShape = true;
|
|
45781
|
+
_this36.pointerDowInShape(event, shape);
|
|
45214
45782
|
});
|
|
45215
45783
|
|
|
45216
45784
|
/* Register custom nodes */
|
|
45217
45785
|
window.ProcessMaker.EventBus.$emit('modeler-start', {
|
|
45218
45786
|
loadXML: function loadXML(xml) {
|
|
45219
|
-
|
|
45787
|
+
_this36.loadXML(xml);
|
|
45220
45788
|
undoRedoStore.dispatch('pushState', xml);
|
|
45221
45789
|
},
|
|
45222
45790
|
addWarnings: function addWarnings(warnings) {
|
|
45223
|
-
return
|
|
45791
|
+
return _this36.$emit('warnings', warnings);
|
|
45224
45792
|
},
|
|
45225
45793
|
addBreadcrumbs: function addBreadcrumbs(breadcrumbs) {
|
|
45226
|
-
return
|
|
45794
|
+
return _this36.breadcrumbData.push(breadcrumbs);
|
|
45227
45795
|
}
|
|
45228
45796
|
});
|
|
45229
45797
|
}
|
|
@@ -45244,8 +45812,8 @@ var modelervue_type_style_index_0_prod_lang_scss_ = __webpack_require__("71e5");
|
|
|
45244
45812
|
|
|
45245
45813
|
var Modeler_component = normalizeComponent(
|
|
45246
45814
|
modeler_Modelervue_type_script_lang_js_,
|
|
45247
|
-
|
|
45248
|
-
|
|
45815
|
+
Modelervue_type_template_id_080b7d44_render,
|
|
45816
|
+
Modelervue_type_template_id_080b7d44_staticRenderFns,
|
|
45249
45817
|
false,
|
|
45250
45818
|
null,
|
|
45251
45819
|
null,
|
|
@@ -45942,8 +46510,8 @@ var conditionalStartEvent_id = 'processmaker-modeler-conditional-start-event';
|
|
|
45942
46510
|
}]
|
|
45943
46511
|
}]
|
|
45944
46512
|
})));
|
|
45945
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
45946
|
-
var
|
|
46513
|
+
// 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&
|
|
46514
|
+
var dataInputAssociationvue_type_template_id_2d369db1_render = function render() {
|
|
45947
46515
|
var _vm = this,
|
|
45948
46516
|
_c = _vm._self._c;
|
|
45949
46517
|
return _c('crown-config', _vm._g({
|
|
@@ -45962,9 +46530,9 @@ var dataInputAssociationvue_type_template_id_3e92a415_render = function render()
|
|
|
45962
46530
|
}
|
|
45963
46531
|
}, _vm.$listeners));
|
|
45964
46532
|
};
|
|
45965
|
-
var
|
|
46533
|
+
var dataInputAssociationvue_type_template_id_2d369db1_staticRenderFns = [];
|
|
45966
46534
|
|
|
45967
|
-
// CONCATENATED MODULE: ./src/components/nodes/dataInputAssociation/dataInputAssociation.vue?vue&type=template&id=
|
|
46535
|
+
// CONCATENATED MODULE: ./src/components/nodes/dataInputAssociation/dataInputAssociation.vue?vue&type=template&id=2d369db1&
|
|
45968
46536
|
|
|
45969
46537
|
// 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&
|
|
45970
46538
|
|
|
@@ -45976,6 +46544,7 @@ var dataInputAssociationvue_type_template_id_3e92a415_staticRenderFns = [];
|
|
|
45976
46544
|
|
|
45977
46545
|
|
|
45978
46546
|
|
|
46547
|
+
|
|
45979
46548
|
/* harmony default export */ var dataInputAssociationvue_type_script_lang_js_ = ({
|
|
45980
46549
|
components: {
|
|
45981
46550
|
CrownConfig: crownConfig
|
|
@@ -45990,42 +46559,37 @@ var dataInputAssociationvue_type_template_id_3e92a415_staticRenderFns = [];
|
|
|
45990
46559
|
},
|
|
45991
46560
|
computed: {
|
|
45992
46561
|
isValidConnection: function isValidConnection() {
|
|
45993
|
-
var targetType = get_default()(this.target, 'component.node.type');
|
|
46562
|
+
var targetType = get_default()(this.target, 'component.node.definition.$type');
|
|
45994
46563
|
if (!targetType) {
|
|
45995
46564
|
return false;
|
|
45996
46565
|
}
|
|
45997
|
-
|
|
45998
|
-
|
|
45999
|
-
var
|
|
46000
|
-
|
|
46001
|
-
|
|
46566
|
+
var dataStoreValidTargets = ['bpmn:Task', 'bpmn:SubProcess', 'bpmn:CallActivity', 'bpmn:ManualTask', 'bpmn:ScriptTask', 'bpmn:ServiceTask'];
|
|
46567
|
+
var dataObjectValidTargets = ['bpmn:Task', 'bpmn:SubProcess', 'bpmn:CallActivity', 'bpmn:ManualTask', 'bpmn:ScriptTask', 'bpmn:ServiceTask', 'bpmn:IntermediateThrowEvent', 'bpmn:EndEvent'];
|
|
46568
|
+
var sourceIsDataStore = this.sourceNode.definition.$type === 'bpmn:DataStoreReference';
|
|
46569
|
+
var sourceIsDataObject = this.sourceNode.definition.$type === 'bpmn:DataObjectReference';
|
|
46570
|
+
if (sourceIsDataStore && dataStoreValidTargets.includes(targetType)) {
|
|
46571
|
+
return true;
|
|
46002
46572
|
}
|
|
46003
|
-
return
|
|
46573
|
+
return sourceIsDataObject && dataObjectValidTargets.includes(targetType);
|
|
46004
46574
|
}
|
|
46005
46575
|
},
|
|
46006
46576
|
methods: {
|
|
46007
46577
|
findSourceShape: function findSourceShape() {
|
|
46008
|
-
var _this = this;
|
|
46009
46578
|
if (this.node.dataAssociationProps) {
|
|
46010
46579
|
return this.node.dataAssociationProps.sourceShape;
|
|
46011
46580
|
}
|
|
46012
|
-
var
|
|
46013
|
-
|
|
46014
|
-
|
|
46015
|
-
|
|
46016
|
-
return this.graph.getElements().find(function (element) {
|
|
46017
|
-
return element.component && element.component.node.definition === dataObjectDefinition;
|
|
46581
|
+
var source = this.node.definition.sourceRef[0];
|
|
46582
|
+
// find shape
|
|
46583
|
+
var shape = this.graph.getElements().find(function (e) {
|
|
46584
|
+
return e.component.node.definition === source;
|
|
46018
46585
|
});
|
|
46586
|
+
return shape;
|
|
46019
46587
|
},
|
|
46020
46588
|
getTargetRef: function getTargetRef() {
|
|
46021
|
-
var _this2 = this;
|
|
46022
46589
|
if (this.node.dataAssociationProps) {
|
|
46023
46590
|
return this.node.dataAssociationProps.targetCoords;
|
|
46024
46591
|
}
|
|
46025
|
-
|
|
46026
|
-
return element.component && element.component.node.definition.get('dataInputAssociations') && element.component.node.definition.get('dataInputAssociations')[0] === _this2.node.definition;
|
|
46027
|
-
});
|
|
46028
|
-
return taskWithInputAssociation.component.node.definition;
|
|
46592
|
+
return findIOSpecificationOwner(this.node.definition.targetRef.$parent, this.$parent);
|
|
46029
46593
|
},
|
|
46030
46594
|
updateRouter: function updateRouter() {
|
|
46031
46595
|
this.shape.router('normal', {
|
|
@@ -46036,6 +46600,7 @@ var dataInputAssociationvue_type_template_id_3e92a415_staticRenderFns = [];
|
|
|
46036
46600
|
var targetShape = this.shape.getTargetElement();
|
|
46037
46601
|
var dataInput = getOrFindDataInput(this.moddle, targetShape.component.node, this.sourceNode.definition);
|
|
46038
46602
|
this.node.definition.set('targetRef', dataInput);
|
|
46603
|
+
// @todo Review why this needs to be and array. When saving the BPMN, if this is not an array the sourceRef is not stored
|
|
46039
46604
|
this.node.definition.set('sourceRef', [this.sourceNode.definition]);
|
|
46040
46605
|
targetShape.component.node.definition.set('dataInputAssociations', [this.node.definition]);
|
|
46041
46606
|
}
|
|
@@ -46066,6 +46631,10 @@ var dataInputAssociationvue_type_template_id_3e92a415_staticRenderFns = [];
|
|
|
46066
46631
|
this.shape.component = this;
|
|
46067
46632
|
},
|
|
46068
46633
|
destroyed: function destroyed() {
|
|
46634
|
+
// when a association was not completed this.targetNode will be undefined
|
|
46635
|
+
if (!this.targetNode) {
|
|
46636
|
+
return;
|
|
46637
|
+
}
|
|
46069
46638
|
removeDataInput(this.targetNode, this.sourceNode.definition);
|
|
46070
46639
|
Object(external_lodash_["pull"])(this.targetNode.definition.get('dataInputAssociations'), this.node.definition);
|
|
46071
46640
|
}
|
|
@@ -46082,8 +46651,8 @@ var dataInputAssociationvue_type_template_id_3e92a415_staticRenderFns = [];
|
|
|
46082
46651
|
|
|
46083
46652
|
var dataInputAssociation_component = normalizeComponent(
|
|
46084
46653
|
dataInputAssociation_dataInputAssociationvue_type_script_lang_js_,
|
|
46085
|
-
|
|
46086
|
-
|
|
46654
|
+
dataInputAssociationvue_type_template_id_2d369db1_render,
|
|
46655
|
+
dataInputAssociationvue_type_template_id_2d369db1_staticRenderFns,
|
|
46087
46656
|
false,
|
|
46088
46657
|
null,
|
|
46089
46658
|
null,
|
|
@@ -46118,7 +46687,7 @@ var dataInputAssociation_component = normalizeComponent(
|
|
|
46118
46687
|
}]
|
|
46119
46688
|
}]
|
|
46120
46689
|
}));
|
|
46121
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
46690
|
+
// 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&
|
|
46122
46691
|
var dataOutputAssociationvue_type_template_id_ec57134e_render = function render() {
|
|
46123
46692
|
var _vm = this,
|
|
46124
46693
|
_c = _vm._self._c;
|