vmes-flowable
Version:
ceshibao
1,769 lines (1,742 loc) • 1.23 MB
JavaScript
(function(e, t) {
"object" === typeof exports && "object" === typeof module ? module.exports = t() : "function" === typeof define && define.amd ? define([], t) : "object" === typeof exports ? exports["jeeplus-flowable"] = t() : e["jeeplus-flowable"] = t()
})("undefined" !== typeof self ? self : this, (function() {
return function(e) {
var t = {};
function n(i) {
if (t[i]) return t[i].exports;
var r = t[i] = {
i: i,
l: !1,
exports: {}
};
return e[i].call(r.exports, r, r.exports, n), r.l = !0, r.exports
}
return n.m = e, n.c = t, n.d = function(e, t, i) {
n.o(e, t) || Object.defineProperty(e, t, {
enumerable: !0,
get: i
})
}, n.r = function(e) {
"undefined" !== typeof Symbol && Symbol.toStringTag && Object.defineProperty(e, Symbol.toStringTag, {
value: "Module"
}), Object.defineProperty(e, "__esModule", {
value: !0
})
}, n.t = function(e, t) {
if (1 & t && (e = n(e)), 8 & t) return e;
if (4 & t && "object" === typeof e && e && e.__esModule) return e;
var i = Object.create(null);
if (n.r(i), Object.defineProperty(i, "default", {
enumerable: !0,
value: e
}), 2 & t && "string" != typeof e) for (var r in e) n.d(i, r, function(t) {
return e[t]
}.bind(null, r));
return i
}, n.n = function(e) {
var t = e && e.__esModule ?
function() {
return e["default"]
} : function() {
return e
};
return n.d(t, "a", t), t
}, n.o = function(e, t) {
return Object.prototype.hasOwnProperty.call(e, t)
}, n.p = "", n(n.s = "f4a0")
}({
"00cf": function(e, t, n) {
var i = n("cc78"),
r = n("a7b9"),
o = n("a265"),
a = n("25d5"),
s = n("6072"),
c = n("8eb8");
function l(e, t, n) {
t = i(t, e);
var l = -1,
u = t.length,
p = !1;
while (++l < u) {
var d = c(t[l]);
if (!(p = null != e && n(e, d))) break;
e = e[d]
}
return p || ++l != u ? p : (u = null == e ? 0 : e.length, !! u && s(u) && a(d, u) && (o(e) || r(e)))
}
e.exports = l
},
"0163": function(e, t, n) {
"use strict";
var i = n("fe39").escapeHTML,
r = n("2be8").domify,
o = n("688d"),
a = n("3e63"),
s = function(e) {
return !(!e || "[object Array]" !== Object.prototype.toString.call(e))
},
c = function(e) {
return e.concat([{
name: "",
value: ""
}])
},
l = function(e) {
return '<option value="' + e.value + '">' + e.name + "</option>"
},
u = function(e, t) {
var n = t,
u = e.label || n.id,
p = e.selectOptions || [{
name: "",
value: ""
}],
d = e.modelProperty,
f = e.emptyParameter,
h = !! e.disabled && "function" === typeof e.disabled,
m = !! e.hidden && "function" === typeof e.hidden,
v = e.description;
return f && (p = c(p)), n.html = '<label for="flowable-' + i(n.id) + '"' + (h ? 'data-disable="isDisabled" ' : "") + (m ? 'data-show="isHidden" ' : "") + ">" + i(u) + '</label><select id="flowable-' + i(n.id) + '-select" name="' + i(d) + '"' + (h ? 'data-disable="isDisabled" ' : "") + (m ? 'data-show="isHidden" ' : "") + " data-value>", s(p) && o(p, (function(e) {
n.html += '<option value="' + i(e.value) + '">' + (e.name ? i(e.name) : "") + "</option>"
})), n.html += "</select>", v && "function" !== typeof e.showCustomInput && (n.html += a(v)), n.setControlValue = function(e, t, n, i, a) {
if ("function" === typeof p) {
var s = p(e, n);
if (s) {
while (n.firstChild) n.removeChild(n.firstChild);
o(s, (function(e) {
var t = r(l(e));
n.appendChild(t)
}))
}
}
void 0 !== a && (n.value = a)
}, h && (n.isDisabled = function() {
return e.disabled.apply(n, arguments)
}), m && (n.isHidden = function() {
return !e.hidden.apply(n, arguments)
}), n.cssClasses = ["bpp-dropdown"], n
};
e.exports = u
},
"019a": function(e, t, n) {
"use strict";
function i(e, t) {
return {
args: [e.element("connection")],
exec: function(e) {
return t.removeConnection(e)
}
}
}
i.$inject = ["cli._params", "modeling"], e.exports = i
},
"036a": function(e, t, n) {
"use strict";
function i(e, t) {
return {
args: [e.shape("shape")],
exec: function(e) {
return t.removeShape(e)
}
}
}
i.$inject = ["cli._params", "modeling"], e.exports = i
},
"04d0": function(e, t, n) {
var i = n("6338"),
r = n("ba12"),
o = n("9048"),
a = n("22f3"),
s = n("a440"),
c = n("523d"),
l = n("8eb8"),
u = 1,
p = 2;
function d(e, t) {
return a(e) && s(t) ? c(l(e), t) : function(n) {
var a = r(n, e);
return void 0 === a && a === t ? o(n, e) : i(t, a, u | p)
}
}
e.exports = d
},
"04fc": function(e, t, n) {
"use strict";
var i = n("d005"),
r = n("f1f1").is,
o = n("603e"),
a = n("688d");
function s(e) {
this._elementRegistry = e
}
function c(e) {
var t = e;
while (t.$parent) t = t.$parent;
return t
}
function l(e, t) {
return i(t, (function(t, n) {
return t[n] = e.get(n), t
}), {})
}
function u(e, t) {
a(t, (function(t, n) {
e.set(n, t)
}))
}
s.$inject = ["elementRegistry"], e.exports = s, s.prototype.execute = function(e) {
var t = e.element,
n = e.businessObject,
i = c(n).rootElements,
s = e.referenceType,
p = e.referenceProperty,
d = [t];
if (!t) throw new Error("element required");
if (!n) throw new Error("businessObject required");
var f = e.properties,
h = e.oldProperties || l(n, o(f));
return "undefined" !== typeof s && "undefined" !== typeof p && a(i, (function(e) {
r(e, s) && e.id === f[p] && (f[p] = e)
})), u(n, f), e.oldProperties = h, e.changed = d, d
}, s.prototype.revert = function(e) {
var t = e.oldProperties,
n = e.businessObject;
return u(n, t), e.changed
}
},
"053b": function(e, t, n) {
var i = n("1e2c"),
r = n("d910").f,
o = Function.prototype,
a = o.toString,
s = /^\s*function ([^ (]*)/,
c = "name";
i && !(c in o) && r(o, c, {
configurable: !0,
get: function() {
try {
return a.call(this).match(s)[1]
} catch (e) {
return ""
}
}
})
},
"0545": function(e, t) {
"function" === typeof Object.create ? e.exports = function(e, t) {
t && (e.super_ = t, e.prototype = Object.create(t.prototype, {
constructor: {
value: e,
enumerable: !1,
writable: !0,
configurable: !0
}
}))
} : e.exports = function(e, t) {
if (t) {
e.super_ = t;
var n = function() {};
n.prototype = t.prototype, e.prototype = new n, e.prototype.constructor = e
}
}
},
"05c3": function(e, t, n) {
"use strict";
var i = n("47d4"),
r = n("1568"),
o = ["class", "expression", "delegateExpression"],
a = {
class: "flowable:class",
expression: "flowable:expression",
delegateExpression: "flowable:delegateExpression"
};
function s(e) {
return -1 !== o.indexOf(e)
}
function c(e) {
return a[e]
}
e.exports = function(e, t, n, o) {
var a = n.getImplementationType,
l = n.getBusinessObject;
function u(e) {
switch (e) {
case "class":
return o("Java Class");
case "expression":
return o("Expression");
case "delegateExpression":
return o("Delegate Expression");
default:
return ""
}
}
var p = i.textField({
id: "delegate",
label: o("Value"),
dataValueLabel: "delegationLabel",
modelProperty: "delegate",
get: function(e, t) {
var n = l(e),
i = a(e),
r = c(i),
o = u(i);
return {
delegate: n.get(r),
delegationLabel: o
}
},
set: function(e, t, n) {
var i = l(e),
o = a(e),
s = c(o),
u = {};
return u[s] = t.delegate || "", r.updateBusinessObject(e, i, u)
},
validate: function(e, t, n) {
return s(a(e)) && !t.delegate ? {
delegate: o("Must provide a value")
} : {}
},
hidden: function(e, t) {
return !s(a(e))
}
});
return [p]
}
},
"064b": function(e, t) {
e.exports = {
CSSRuleList: 0,
CSSStyleDeclaration: 0,
CSSValueList: 0,
ClientRectList: 0,
DOMRectList: 0,
DOMStringList: 0,
DOMTokenList: 1,
DataTransferItemList: 0,
FileList: 0,
HTMLAllCollection: 0,
HTMLCollection: 0,
HTMLFormElement: 0,
HTMLSelectElement: 0,
MediaList: 0,
MimeTypeArray: 0,
NamedNodeMap: 0,
NodeList: 1,
PaintRequestList: 0,
Plugin: 0,
PluginArray: 0,
SVGLengthList: 0,
SVGNumberList: 0,
SVGPathSegList: 0,
SVGPointList: 0,
SVGStringList: 0,
SVGTransformList: 0,
SourceBufferList: 0,
StyleSheetList: 0,
TextTrackCueList: 0,
TextTrackList: 0,
TouchList: 0
}
},
"0732": function(e, t, n) {
"use strict";
var i = n("47d4"),
r = n("1568"),
o = n("1588"),
a = n("9b51"),
s = n("fd7b"),
c = n("07bc"),
l = ["class", "expression", "delegateExpression"],
u = {
"flowable:class": void 0,
"flowable:expression": void 0,
"flowable:delegateExpression": void 0,
"flowable:resultVariable": void 0
},
p = {
"flowable:decisionRef": void 0,
"flowable:decisionRefBinding": "latest",
"flowable:decisionRefVersion": void 0,
"flowable:mapDecisionResult": "resultList",
"flowable:decisionRefTenantId": void 0
},
d = {
"flowable:type": void 0,
"flowable:topic": void 0
};
e.exports = function(e, t, n, f) {
var h = [{
value: "class",
name: f("Java Class")
}, {
value: "expression",
name: f("Expression")
}, {
value: "delegateExpression",
name: f("Delegate Expression")
}],
m = [{
value: "dmn",
name: f("DMN")
}],
v = [{
value: "external",
name: f("External")
}],
b = [{
value: "connector",
name: f("Connector")
}],
g = [{
value: "script",
name: f("Script")
}],
y = n.getImplementationType,
x = n.getBusinessObject,
E = n.hasDmnSupport,
w = n.hasExternalSupport,
_ = n.hasServiceTaskLikeSupport,
O = n.hasScriptSupport,
j = [],
S = h.concat([]);
return E && (S = S.concat(m)), w && (S = S.concat(v)), _ && (S = S.concat(b)), O && (S = S.concat(g)), S.push({
value: ""
}), j.push(i.selectBox({
id: "implementation",
label: f("Implementation"),
selectOptions: S,
modelProperty: "implType",
get: function(e, t) {
return {
implType: y(e) || ""
}
},
set: function(e, n, i) {
var f = x(e),
h = y(e),
m = n.implType,
v = s({}, u);
if (-1 !== l.indexOf(m)) {
var b = ""; - 1 !== l.indexOf(h) && (b = f.get("flowable:" + h)), v["flowable:" + m] = b
}
E && (v = s(v, p), "dmn" === m && (v["flowable:decisionRef"] = "")), w && (v = s(v, d), "external" === m && (v["flowable:type"] = "external", v["flowable:topic"] = "")), O && (v["flowable:script"] = void 0, "script" === m && (v["flowable:script"] = a.createElement("flowable:Script", {}, f, t)));
var g = [];
if (g.push(r.updateBusinessObject(e, f, v)), _) {
var j = o.getExtensionElements(f, "flowable:Connector");
if (g.push(c(j, (function(t) {
return o.removeEntry(f, e, t)
}))), "connector" === m) {
var S = f.get("extensionElements");
S || (S = a.createElement("bpmn:ExtensionElements", {
values: []
}, f, t), g.push(r.updateBusinessObject(e, f, {
extensionElements: S
})));
var C = a.createElement("flowable:Connector", {}, S, t);
g.push(r.addAndRemoveElementsFromList(e, S, "values", "extensionElements", [C], []))
}
}
return g
}
})), j
}
},
"077f": function(e, t, n) {
"use strict";
var i = n("baf7"),
r = n("3649");
e.exports = function(e, t, n, o, a) {
e.entries = e.entries.concat(i(t, o, n, {
label: a("Signal"),
elementName: "signal",
elementType: "bpmn:Signal",
referenceProperty: "signalRef",
newElementIdPrefix: "Signal_"
})), e.entries = e.entries.concat(r(t, o, n, {
id: "signal-element-name",
label: a("Signal Name"),
referenceProperty: "signalRef",
modelProperty: "name",
shouldValidate: !0
}))
}
},
"07a2": function(e, t, n) {
var i = n("8a1c");
e.exports = function(e) {
if (i(e)) throw TypeError("The method doesn't accept regular expressions");
return e
}
},
"07a8": function(e, t, n) {
"use strict";
var i = function(e) {
return {
id: e.id,
html: '<label data-value="label" data-show="showLabel" class="entry-label' + (e.divider ? " divider" : "") + '"></label>',
get: function(t, n) {
return "function" === typeof e.get ? e.get(t, n) : {
label: e.labelText
}
},
showLabel: function(t, n) {
return "function" !== typeof e.showLabel || e.showLabel(t, n)
}
}
};
e.exports = i
},
"07bc": function(e, t, n) {
var i = n("3a43"),
r = n("28d7"),
o = n("27ea"),
a = n("a265");
function s(e, t) {
var n = a(e) ? i : o;
return n(e, r(t, 3))
}
e.exports = s
},
"08ba": function(e, t, n) {
var i = n("d890"),
r = n("064b"),
o = n("3c10"),
a = n("0fc1");
for (var s in r) {
var c = i[s],
l = c && c.prototype;
if (l && l.forEach !== o) try {
a(l, "forEach", o)
} catch (u) {
l.forEach = o
}
}
},
"098c": function(e, t, n) {
"use strict";
var i = n("f1f1").getBusinessObject,
r = n("fe39").escapeHTML,
o = n("47d4"),
a = n("9b51"),
s = n("1568"),
c = n("2be8").classes;
function l(e, t) {
var n = p(e);
return n && n.get(t)
}
function u(e) {
return e && e.get("body")
}
function p(e) {
var t = i(e);
return t.loopCharacteristics
}
function d(e) {
return l(e, "loopCardinality")
}
function f(e) {
var t = d(e);
return u(t)
}
function h(e) {
return l(e, "completionCondition")
}
function m(e) {
var t = h(e);
return u(t)
}
function v(e) {
return l(e, "flowable:collection")
}
function b(e) {
return l(e, "flowable:elementVariable")
}
function g(e, t, n) {
return a.createElement("bpmn:FormalExpression", {
body: t
}, e, n)
}
function y(e, t, n, i) {
var r = p(e),
o = {};
if (!n) return o[t] = void 0, s.updateBusinessObject(e, r, o);
var a = r.get(t);
return a ? s.updateBusinessObject(e, a, {
body: n
}) : (o[t] = g(r, n, i), s.updateBusinessObject(e, r, o))
}
e.exports = function(e, t, n) {
var i = [];
return i.push({
id: "multiInstance-errorMessage",
html: '<div data-show="isValid"><span class="bpp-icon-warning"></span> ' + r(n("Must provide either loop cardinality or collection")) + "</div>",
isValid: function(e, t, n, i) {
var r = p(e),
o = !0;
if (r) {
var a = f(e),
s = v(e);
o = !a && !s
}
return c(t).toggle("bpp-hidden", !o), c(n).toggle("bpp-error-message", o), o
}
}), i.push(o.textField({
id: "multiInstance-loopCardinality",
label: n("Loop Cardinality"),
modelProperty: "loopCardinality",
get: function(e, t) {
return {
loopCardinality: f(e)
}
},
set: function(e, n) {
return y(e, "loopCardinality", n.loopCardinality, t)
}
})), i.push(o.textField({
id: "multiInstance-collection",
label: n("Collection"),
modelProperty: "collection",
get: function(e, t) {
return {
collection: v(e)
}
},
set: function(e, t) {
var n = p(e);
return s.updateBusinessObject(e, n, {
"flowable:collection": t.collection || void 0
})
},
validate: function(e, t, n) {
var i = v(e),
r = b(e);
if (!i && r) return {
collection: "Must provide a value"
}
}
})), i.push(o.textField({
id: "multiInstance-elementVariable",
label: n("Element Variable"),
modelProperty: "elementVariable",
get: function(e, t) {
return {
elementVariable: b(e)
}
},
set: function(e, t) {
var n = p(e);
return s.updateBusinessObject(e, n, {
"flowable:elementVariable": t.elementVariable || void 0
})
}
})), i.push(o.textField({
id: "multiInstance-completionCondition",
label: n("Completion Condition"),
modelProperty: "completionCondition",
get: function(e) {
return {
completionCondition: m(e)
}
},
set: function(e, n) {
return y(e, "completionCondition", n.completionCondition, t)
}
})), i
}
},
"0a2a": function(e, t, n) {
"use strict";
var i = n("21ae"),
r = n.n(i);
r.a
},
"0a60": function(e, t) {
t.f = Object.getOwnPropertySymbols
},
"0b2c": function(e, t, n) {},
"0bd1": function(e, t, n) {
var i = n("a750"),
r = Object.prototype,
o = r.hasOwnProperty;
function a(e) {
var t = this.__data__;
return i ? void 0 !== t[e] : o.call(t, e)
}
e.exports = a
},
"0c3c": function(e, t) {
e.exports = function(e) {
if ("function" != typeof e) throw TypeError(String(e) + " is not a function");
return e
}
},
"0d5f": function(e, t, n) {
"use strict";
function i(e, t) {
return {
args: [e.shape("source"), e.string("type"), e.point("delta", {
defaultValue: {
x: 200,
y: 0
}
})],
exec: function(e, n, i) {
var r = {
x: e.x + e.width / 2 + i.x,
y: e.y + e.height / 2 + i.y
};
return t.appendShape(e, {
type: n
}, r).id
}
}
}
i.$inject = ["cli._params", "modeling"], e.exports = i
},
"0d71": function(e, t, n) {
var i = n("2b61"),
r = n("d00a"),
o = n("eeb7"),
a = n("9366"),
s = n("60bc");
function c(e) {
var t = -1,
n = null == e ? 0 : e.length;
this.clear();
while (++t < n) {
var i = e[t];
this.set(i[0], i[1])
}
}
c.prototype.clear = i, c.prototype["delete"] = r, c.prototype.get = o, c.prototype.has = a, c.prototype.set = s, e.exports = c
},
"0d7a": function(e, t, n) {
"use strict";
var i = n("b2a2"),
r = n("8a1c"),
o = n("857c"),
a = n("2732"),
s = n("ef4c"),
c = n("38eb"),
l = n("d88d"),
u = n("59da"),
p = n("5139"),
d = n("efe2"),
f = [].push,
h = Math.min,
m = 4294967295,
v = !d((function() {
return !RegExp(m, "y")
}));
i("split", 2, (function(e, t, n) {
var i;
return i = "c" == "abbc".split(/(b)*/)[1] || 4 != "test".split(/(?:)/, -1).length || 2 != "ab".split(/(?:ab)*/).length || 4 != ".".split(/(.?)(.?)/).length || ".".split(/()()/).length > 1 || "".split(/.?/).length ?
function(e, n) {
var i = String(a(this)),
o = void 0 === n ? m : n >>> 0;
if (0 === o) return [];
if (void 0 === e) return [i];
if (!r(e)) return t.call(i, e, o);
var s, c, l, u = [],
d = (e.ignoreCase ? "i" : "") + (e.multiline ? "m" : "") + (e.unicode ? "u" : "") + (e.sticky ? "y" : ""),
h = 0,
v = new RegExp(e.source, d + "g");
while (s = p.call(v, i)) {
if (c = v.lastIndex, c > h && (u.push(i.slice(h, s.index)), s.length > 1 && s.index < i.length && f.apply(u, s.slice(1)), l = s[0].length, h = c, u.length >= o)) break;
v.lastIndex === s.index && v.lastIndex++
}
return h === i.length ? !l && v.test("") || u.push("") : u.push(i.slice(h)), u.length > o ? u.slice(0, o) : u
} : "0".split(void 0, 0).length ?
function(e, n) {
return void 0 === e && 0 === n ? [] : t.call(this, e, n)
} : t, [function(t, n) {
var r = a(this),
o = void 0 == t ? void 0 : t[e];
return void 0 !== o ? o.call(t, r, n) : i.call(String(r), t, n)
}, function(e, r) {
var a = n(i, e, this, r, i !== t);
if (a.done) return a.value;
var p = o(e),
d = String(this),
f = s(p, RegExp),
b = p.unicode,
g = (p.ignoreCase ? "i" : "") + (p.multiline ? "m" : "") + (p.unicode ? "u" : "") + (v ? "y" : "g"),
y = new f(v ? p : "^(?:" + p.source + ")", g),
x = void 0 === r ? m : r >>> 0;
if (0 === x) return [];
if (0 === d.length) return null === u(y, d) ? [d] : [];
var E = 0,
w = 0,
_ = [];
while (w < d.length) {
y.lastIndex = v ? w : 0;
var O, j = u(y, v ? d : d.slice(w));
if (null === j || (O = h(l(y.lastIndex + (v ? 0 : w)), d.length)) === E) w = c(d, w, b);
else {
if (_.push(d.slice(E, w)), _.length === x) return _;
for (var S = 1; S <= j.length - 1; S++) if (_.push(j[S]), _.length === x) return _;
w = E = O
}
}
return _.push(d.slice(E)), _
}]
}), !v)
},
"0e0a": function(e, t, n) {
"use strict";
var i = n("f1f1").is,
r = n("f1f1").getBusinessObject,
o = n("7d5b");
e.exports = function(e, t, n, a) {
var s = r(t);
(i(t, "flowable:Process") || i(t, "bpmn:Participant") && s.get("processRef")) && (e.entries = e.entries.concat(o(t, n, {
getBusinessObject: function(e) {
var t = r(e);
return i(t, "bpmn:Participant") ? t.get("processRef") : t
}
}, a)))
}
},
"0e6d": function(e, t, n) {
"use strict";
var i = n("f1f1").getBusinessObject,
r = n("1588").getExtensionElements,
o = {};
e.exports = o, o.getFormData = function(e) {
var t = i(e),
n = r(t, "flowable:FormData");
if ("undefined" !== typeof n) return n[0]
}, o.getFormFields = function(e) {
var t = this.getFormData(e);
return "undefined" === typeof t ? [] : t.fields || []
}, o.getFormField = function(e, t) {
var n = this.getFormFields(e);
return n[t]
}, o.getConstraints = function(e) {
return e && e.validation && e.validation.constraints ? e.validation.constraints : []
}, o.getEnumValues = function(e) {
return e && e.values ? e.values : []
}
},
"0fc1": function(e, t, n) {
var i = n("1e2c"),
r = n("d910"),
o = n("38b9");
e.exports = i ?
function(e, t, n) {
return r.f(e, t, o(1, n))
} : function(e, t, n) {
return e[t] = n, e
}
},
1025: function(e, t, n) {
var i = n("3a08"),
r = Function.toString;
"function" != typeof i.inspectSource && (i.inspectSource = function(e) {
return r.call(e)
}), e.exports = i.inspectSource
},
"11ff": function(e, t, n) {
"use strict";
var i = n("f1f1").getBusinessObject,
r = n("f1f1").is,
o = n("47d4"),
a = n("1568"),
s = n("60f7");
e.exports = function(e, t, n, c) {
var l;
if (r(t, "bpmn:ScriptTask") && (l = i(t)), l) {
var u = s("scriptFormat", "script", !1, c);
e.entries.push({
id: "script-implementation",
label: c("Script"),
html: u.template,
get: function(e) {
return u.get(e, l)
},
set: function(e, t, n) {
var i = u.set(e, t, n);
return a.updateProperties(e, i)
},
validate: function(e, t) {
return u.validate(e, t)
},
script: u,
cssClasses: ["bpp-textfield"]
}), e.entries.push(o.textField({
id: "scriptResultVariable",
label: c("Result Variable"),
modelProperty: "scriptResultVariable",
get: function(e, t) {
var n = l.get("flowable:resultVariable");
return {
scriptResultVariable: n
}
},
set: function(e, t, n) {
return a.updateProperties(e, {
"flowable:resultVariable": t.scriptResultVariable.length ? t.scriptResultVariable : void 0
})
}
}))
}
}
},
"12b1": function(e, t, n) {
var i = n("dbbd"),
r = n("9650"),
o = n("fdf7"),
a = "Expected a function",
s = Math.max,
c = Math.min;
function l(e, t, n) {
var l, u, p, d, f, h, m = 0,
v = !1,
b = !1,
g = !0;
if ("function" != typeof e) throw new TypeError(a);
function y(t) {
var n = l,
i = u;
return l = u = void 0, m = t, d = e.apply(i, n), d
}
function x(e) {
return m = e, f = setTimeout(_, t), v ? y(e) : d
}
function E(e) {
var n = e - h,
i = e - m,
r = t - n;
return b ? c(r, p - i) : r
}
function w(e) {
var n = e - h,
i = e - m;
return void 0 === h || n >= t || n < 0 || b && i >= p
}
function _() {
var e = r();
if (w(e)) return O(e);
f = setTimeout(_, E(e))
}
function O(e) {
return f = void 0, g && l ? y(e) : (l = u = void 0, d)
}
function j() {
void 0 !== f && clearTimeout(f), m = 0, l = h = u = f = void 0
}
function S() {
return void 0 === f ? d : O(r())
}
function C() {
var e = r(),
n = w(e);
if (l = arguments, u = this, h = e, n) {
if (void 0 === f) return x(h);
if (b) return clearTimeout(f), f = setTimeout(_, t), y(h)
}
return void 0 === f && (f = setTimeout(_, t)), d
}
return t = o(t) || 0, i(n) && (v = !! n.leading, b = "maxWait" in n, p = b ? s(o(n.maxWait) || 0, t) : p, g = "trailing" in n ? !! n.trailing : g), C.cancel = j, C.flush = S, C
}
e.exports = l
},
"12bd": function(e, t, n) {
var i = n("4961"),
r = n("25d5"),
o = Math.min;
function a(e, t) {
var n = e.length,
a = o(t.length, n),
s = i(e);
while (a--) {
var c = t[a];
e[a] = r(c, n) ? s[c] : void 0
}
return e
}
e.exports = a
},
"136b": function(e, t, n) {
var i = n("dbc1"),
r = Math.max;
function o(e, t, n) {
return t = r(void 0 === t ? e.length - 1 : t, 0), function() {
var o = arguments,
a = -1,
s = r(o.length - t, 0),
c = Array(s);
while (++a < s) c[a] = o[t + a];
a = -1;
var l = Array(t + 1);
while (++a < t) l[a] = o[a];
return l[t] = n(c), i(e, this, l)
}
}
e.exports = o
},
"13d5": function(e, t, n) {
var i = n("8cf8");
function r(e, t, n, r) {
return i(e, (function(e, i, o) {
t(r, e, n(e), o)
})), r
}
e.exports = r
},
"13e1": function(e, t, n) {
var i = n("347f"),
r = n("5c17"),
o = r((function(e, t, n) {
i(e, n, t)
}));
e.exports = o
},
1458: function(e, t, n) {
"use strict";
var i = n("1c8b"),
r = n("aa6b").f,
o = n("d88d"),
a = n("07a2"),
s = n("2732"),
c = n("783d"),
l = n("9b9d"),
u = "".endsWith,
p = Math.min,
d = c("endsWith"),
f = !l && !d && !!
function() {
var e = r(String.prototype, "endsWith");
return e && !e.writable
}();
i({
target: "String",
proto: !0,
forced: !f && !d
}, {
endsWith: function(e) {
var t = String(s(this));
a(e);
var n = arguments.length > 1 ? arguments[1] : void 0,
i = o(t.length),
r = void 0 === n ? i : p(o(n), i),
c = String(e);
return u ? u.call(t, c, r) : t.slice(r - c.length, r) === c
}
})
},
1469: function(e, t, n) {
var i = n("c484"),
r = n("8419"),
o = n("ee02"),
a = n("abb5"),
s = n("bb92"),
c = n("96b2"),
l = n("12bd"),
u = n("a473"),
p = n("8096"),
d = 1,
f = 2,
h = 8,
m = 16,
v = 128,
b = 512;
function g(e, t, n, y, x, E, w, _, O, j) {
var S = t & v,
C = t & d,
T = t & f,
P = t & (h | m),
k = t & b,
A = T ? void 0 : a(e);
function R() {
var d = arguments.length,
f = Array(d),
h = d;
while (h--) f[h] = arguments[h];
if (P) var m = c(R),
v = o(f, m);
if (y && (f = i(f, y, x, P)), E && (f = r(f, E, w, P)), d -= v, P && d < j) {
var b = u(f, m);
return s(e, t, g, R.placeholder, n, f, b, _, O, j - d)
}
var M = C ? n : this,
B = T ? M[e] : e;
return d = f.length, _ ? f = l(f, _) : k && d > 1 && f.reverse(), S && O < d && (f.length = O), this && this !== p && this instanceof R && (B = A || a(B)), B.apply(M, f)
}
return R
}
e.exports = g
},
"14b0": function(e, t, n) {
var i = n("b500"),
r = n("184d"),
o = n("901a"),
a = 1,
s = 2;
function c(e, t, n, c, l, u) {
var p = n & a,
d = e.length,
f = t.length;
if (d != f && !(p && f > d)) return !1;
var h = u.get(e);
if (h && u.get(t)) return h == t;
var m = -1,
v = !0,
b = n & s ? new i : void 0;
u.set(e, t), u.set(t, e);
while (++m < d) {
var g = e[m],
y = t[m];
if (c) var x = p ? c(y, g, m, t, e, u) : c(g, y, m, e, t, u);
if (void 0 !== x) {
if (x) continue;
v = !1;
break
}
if (b) {
if (!r(t, (function(e, t) {
if (!o(b, t) && (g === e || l(g, e, n, c, u))) return b.push(t)
}))) {
v = !1;
break
}
} else if (g !== y && !l(g, y, n, c, u)) {
v = !1;
break
}
}
return u["delete"](e), u["delete"](t), v
}
e.exports = c
},
1568: function(e, t, n) {
"use strict";
var i = {};
e.exports = i, i.updateProperties = function(e, t) {
return {
cmd: "element.updateProperties",
context: {
element: e,
properties: t
}
}
}, i.updateBusinessObject = function(e, t, n) {
return {
cmd: "properties-panel.update-businessobject",
context: {
element: e,
businessObject: t,
properties: n
}
}
}, i.addElementsTolist = function(e, t, n, i) {
return {
cmd: "properties-panel.update-businessobject-list",
context: {
element: e,
currentObject: t,
propertyName: n,
objectsToAdd: i
}
}
}, i.removeElementsFromList = function(e, t, n, i, r) {
return {
cmd: "properties-panel.update-businessobject-list",
context: {
element: e,
currentObject: t,
propertyName: n,
referencePropertyName: i,
objectsToRemove: r
}
}
}, i.addAndRemoveElementsFromList = function(e, t, n, i, r, o) {
return {
cmd: "properties-panel.update-businessobject-list",
context: {
element: e,
currentObject: t,
propertyName: n,
referencePropertyName: i,
objectsToAdd: r,
objectsToRemove: o
}
}
}, i.setList = function(e, t, n, i) {
return {
cmd: "properties-panel.update-businessobject-list",
context: {
element: e,
currentObject: t,
propertyName: n,
updatedObjectList: i
}
}
}
},
1588: function(e, t, n) {
"use strict";
var i = n("1568"),
r = n("9b51"),
o = n("f1f1").is,
a = {},
s = function(e) {
return e.get("extensionElements")
};
a.getExtensionElements = function(e, t) {
var n = s(e);
if ("undefined" !== typeof n) {
var i = n.get("values");
if ("undefined" !== typeof i) {
var r = i.filter((function(e) {
return o(e, t)
}));
if (r.length) return r
}
}
}, a.addEntry = function(e, t, n, o) {
var a = e.get("extensionElements");
return a ? i.addElementsTolist(t, a, "values", [n]) : (a = r.createElement("bpmn:ExtensionElements", {
values: [n]
}, e, o), {
extensionElements: a
})
}, a.removeEntry = function(e, t, n) {
var r = e.get("extensionElements");
return r ? i.removeElementsFromList(t, r, "values", "extensionElements", [n]) : {}
}, e.exports = a
},
1597: function(e, t, n) {
var i = n("2479"),
r = n("ca7c"),
o = n("d3e9"),
a = n("fe3a"),
s = n("aed9");
function c(e) {
var t = -1,
n = null == e ? 0 : e.length;
this.clear();
while (++t < n) {
var i = e[t];
this.set(i[0], i[1])
}
}
c.prototype.clear = i, c.prototype["delete"] = r, c.prototype.get = o, c.prototype.has = a, c.prototype.set = s, e.exports = c
},
"15d9": function(e, t, n) {
"use strict";
var i = n("fe39").escapeHTML,
r = n("2be8").domify,
o = n("2be8").query,
a = n("2be8").queryAll,
s = n("2be8").remove,
c = n("2be8").classes,
l = n("2be8").closest,
u = n("2be8").attr,
p = n("2be8").delegate,
d = n("2be8").matches,
f = n("688d"),
h = n("2e21"),
m = n("ba12"),
v = n("603e"),
b = n("91f9"),
g = n("a265"),
y = n("df35"),
x = n("12b1"),
E = n("82f3"),
w = n("6f7e").
default,
_ = n("f1f1").getBusinessObject,
O = "bpp-hidden",
j = 300;
function S(e) {
return "checkbox" === e.type || "radio" === e.type
}
function C(e) {
return "select-one" === e.type
}
function T(e) {
return u(e, "contenteditable")
}
function P(e) {
var t = "input[name], textarea[name], [data-value], [contenteditable]",
n = a(t, e);
return n && n.length || !d(e, t) || (n = [e]), n
}
function k(e, t) {
var n = a("input[name], textarea[name], select[name], [contenteditable]", e);
return n && n.length || (n = d(e, "option") ? [e] : n), t || (n = h(n, (function(e) {
return !l(e, "." + O)
}))), n
}
function A(e) {
var t = {},
n = k(e);
return f(n, (function(e) {
var n = e.value,
i = u(e, "name") || u(e, "data-name");
S(e) ? n = e.checked ? !u(e, "value") || e.value : null : T(e) && (n = e.innerText), null !== n && (t[i] = n)
})), t
}
function R(e) {
var t, n = o("[data-list-entry-container]", e);
if (n) {
t = [];
var i = n.children || [];
f(i, (function(e) {
t.push(A(e))
}))
} else t = A(e);
return t
}
function M(e, t) {
if (e && !t) return !1;
var n = v(e).concat(v(t));
return n.every((function(n) {
return e[n] === t[n]
}))
}
function B(e, t) {
return g(e) ? e.length === t.length && e.every((function(e, n) {
return M(e, t[n])
})) : M(e, t)
}
function D(e) {
return F(N(z(N(z(e, "groups")), "entries")), "id")
}
function L(e) {
return F(N(z(e, "groups")), "id")
}
function I(e, t, n, i, r, o) {
this._eventBus = t, this._modeling = n, this._commandStack = r, this._canvas = o, this._propertiesProvider = i, this._init(e)
}
I.$inject = ["config.propertiesPanel", "eventBus", "modeling", "propertiesProvider", "commandStack", "canvas"], e.exports = I, I.prototype._init = function(e) {
var t = this._canvas,
n = this._eventBus,
i = this;
n.on("root.added", (function(e) {
var t = e.element;
X(t) || i.update(t)
})), n.on("selection.changed", (function(e) {
var n = e.newSelection[0],
r = t.getRootElement();
X(r) || i.update(n)
})), n.on(["propertiesPanel.changed", "propertiesPanel.resized"], (function(e) {
var t = o(".bpp-properties-tab-bar", i._container);
if (t) {
var n = w.get(t);
n || (n = w(t, {
selectors: {
tabsContainer: ".bpp-properties-tabs-links",
tab: ".bpp-properties-tabs-links li",
ignore: ".bpp-hidden",
active: ".bpp-active"
}
}), n.on("scroll", (function(e, t, n) {
var r = o("[data-tab-target]", e),
a = u(r, "data-tab-target");
i.activateTab(a)
}))), n.update()
}
})), n.on("elements.changed", (function(e) {
var t = i._current,
n = t && t.element;
n && -1 !== e.elements.indexOf(n) && i.update(n)
})), n.on("elementTemplates.changed", (function() {
var e = i._current,
t = e && e.element;
t && i.update(t)
})), n.on("diagram.destroy", (function() {
i.detach()
})), this._container = r('<div class="bpp-properties-panel"></div>'), this._bindListeners(this._container), e && e.parent && this.attachTo(e.parent)
}, I.prototype.attachTo = function(e) {
if (!e) throw new Error("parentNode required");
this.detach(), e.get && e.constructor.prototype.jquery && (e = e.get(0)), "string" === typeof e && (e = o(e));
var t = this._container;
e.appendChild(t), this._emit("attach")
}, I.prototype.detach = function() {
var e = this._container,
t = e.parentNode;
t && (this._emit("detach"), t.removeChild(e))
}, I.prototype.activateTab = function(e) {
var t = "string" === typeof e ? e : e.id,
n = this._current,
i = n.panel,
r = a(".bpp-properties-tab", i),
s = a(".bpp-properties-tab-link", i);
f(r, (function(e) {
var n = u(e, "data-tab");
c(e).toggle("bpp-active", t === n)
})), f(s, (function(e) {
var n = o("[data-tab-target]", e),
i = u(n, "data-tab-target");
c(e).toggle("bpp-active", t === i)
}))
}, I.prototype.update = function(e) {
var t = this._current,
n = !0;
"undefined" === typeof e && (e = this._canvas.getRootElement());
var i = this._propertiesProvider.getTabs(e);
if (t && t.element === e && (n = this._entriesChanged(t, i)), n) {
if (t) {
var r, a = o(".bpp-properties-tab.bpp-active", t.panel);
a && (r = u(a, "data-tab")), s(t.panel)
}
this._current = this._create(e, i), r ? this.activateTab(r) : this.activateTab(this._current.tabs[0])
}
this._current && this._updateActivation(this._current), this._emit("changed")
}, I.prototype._entriesChanged = function(e, t) {
var n = v(e.entries),
i = v(D(t));
return !b(y(n, i))
}, I.prototype._emit = function(e) {
this._eventBus.fire("propertiesPanel." + e, {
panel: this,
current: this._current
})
}, I.prototype._bindListeners = function(e) {
var t = this,
n = function(e) {
var n, i, r = e.delegateTarget,
o = l(r, "[data-entry]");
if (o) {
n = u(o, "data-entry"), i = t.getEntry(n);
var a = R(o);
if ("change" === e.type) {
var s = u(r, "data-on-change");
if (s) {
var c = t.executeAction(i, o, s, e);
if (!c) return t.update(t._current.element)
}
}
t.applyChanges(i, a, o), t.updateState(i, o)
}
};
function i(e, n) {
var i = e.delegateTarget,
r = l(i, "[data-entry]");
if (r) {
var o = u(i, "data-blur"),
a = u(r, "data-entry"),
s = t.getEntry(a),
c = t.executeAction(s, r, o, e);
if (c) {
var p = R(r);
t.applyChanges(s, p, r)
}
t.updateState(s, r)
}
}
p.bind(e, "input, textarea, [contenteditable]", "input", x(n, j)), p.bind(e, "input, textarea, select, [contenteditable]", "change", n), p.bind(e, "select", "keydown", (function(e) {
46 === e.keyCode && (e.stopPropagation(), e.preventDefault())
})), p.bind(e, "[data-action]", "click", (function(e) {
var n = e.delegateTarget,
i = l(n, "[data-entry]"),
r = u(n, "data-action"),
o = u(i, "data-entry"),
a = t.getEntry(o),
s = t.executeAction(a, i, r, e);
if (s) {
var c = R(i);
t.applyChanges(a, c, i)
}
t.updateState(a, i)
})), p.bind(e, "[data-blur]", "blur", i, !0), p.bind(e, ".bpp-properties-tabs-links [data-tab-target]", "click", (function(e) {
e.preventDefault();
var n = e.delegateTarget,
i = u(n, "data-tab-target");
t.activateTab(i)
}))
}, I.prototype.updateState = function(e, t) {
this.updateShow(e, t), this.updateDisable(e, t)
}, I.prototype.updateShow = function(e, t) {
var n = this._current;
if (n) {
var i = a("[data-show]", t) || [];
f(i, (function(i) {
var r = u(i, "data-show"),
o = m(e, r);
if (o) {
var a = l(i, "[data-scope]") || t,
s = o(n.element, t, i, a) || !1;
s ? c(i).remove(O) : c(i).add(O)
}
}))
}
}, I.prototype.updateDisable = function(e, t) {
var n = this._current;
if (n) {
var i = a("[data-disable]", t) || [];
f(i, (function(i) {
var r = u(i, "data-disable"),
o = m(e, r);
if (o) {
var a = l(i, "[data-scope]") || t,
s = o(n.element, t, i, a) || !1;
u(i, "disabled", s ? "" : null)
}
}))
}
}, I.prototype.executeAction = function(e, t, n, i) {
var r = this._current;
if (r) {
var o = m(e, n);
if (o) {
var a = l(i.target, "[data-scope]") || t;
return o.apply(e, [r.element, t, i, a])
}
}
}, I.prototype.applyChanges = function(e, t, n) {
var i = this._current.element;
if (!B(t, e.oldValues)) {
var r, o = e.set(i, t, n);
g(o) ? o.length && (r = {
cmd: "properties-panel.multi-command-executor",
context: N(o)
}) : r = o, r ? this._commandStack.execute(r.cmd, r.context || {
element: i
}) : this.update(i)
}
}, I.prototype.applyValidationErrors = function(e, t) {
var n = !0,
i = k(t, !0);
return f(i, (function(t) {
var i = u(t, "name") || u(t, "data-name"),
a = e && e[i],
s = o(".bpp-error-message", t.parentNode);
a ? (n = !1, s || (s = r("<div></div>"), c(s).add("bpp-error-message"), t.parentNode.insertBefore(s, t.nextSibling)), s.textContent = a, c(t).add("invalid")) : (c(t).remove("invalid"), s && t.parentNode.removeChild(s))
})), n
}, I.prototype.validate = function(e, t, n) {
var i = this,
r = this._current,
a = !0;
if (n = n || o('[data-entry="' + e.id + '"]', r.panel), t instanceof Array) for (var s = o("[data-list-entry-container]", n), c = s.children || [], l = 0; l < t.length; l++) {
var u = t[l];
if (e.validateListItem) {
var p = e.validateListItem(r.element, u, n, l),
d = c[l];
a = i.applyValidationErrors(p, d) && a
}
} else e.validate && (this.validationErrors = e.validate(r.element, t, n), a = i.applyValidationErrors(this.validationErrors, n) && a);
return a
}, I.prototype.getEntry = function(e) {
return this._current && this._current.entries[e]
};
var N = n("9d4e"),
F = n("13e1"),
z = n("07bc");
function $(e, t) {
var n, i = T(e),
r = i ? e.innerText : e.value;
void 0 === t && (t = ""), r !== t && (document.activeElement === e && (n = E(U(e), r, t)), i ? e.innerText = t : e.value = t, n && W(e, n))
}
function V(e, t) {
void 0 !== t && (e.value = t)
}
function H(e, t) {
var n = e.value;
e.checked = t === n || !u(e, "value") && t
}
function G(e, t) {
e.textContent = t
}
function U(e) {
return T(e) ? q(e) : {
start: e.selectionStart,
end: e.selectionEnd
}
}
function q(e) {
var t = window.getSelection(),
n = t.focusNode,
i = t.focusOffset,
r = t.anchorOffset;
if (!n) throw new Error("not selected");
if (!e.contains(n)) throw new Error("not selected");
return {
start: Math.min(i, r),
end: Math.max(i, r)
}
}
function W(e, t) {
T(e) ? K(e, t) : (e.selectionStart = t.start, e.selectionEnd = t.end)
}
function K(e, t) {
var n, i, r;
n = e.firstChild || e, i = document.createRange(), i.setStart(n, t.start), i.setEnd(n, t.end), r = window.getSelection(), r.removeAllRanges(), r.addRange(i)
}
function X(e) {
return "__implicitroot" === e.id
}
I.prototype._create = function(e, t) {
if (!e) return null;
var n = this._container,
i = this._createPanel(e, t);
n.appendChild(i);
var r = D(t),
o = L(t);
return {
tabs: t,
groups: o,
entries: r,
element: e,
panel: i
}
}, I.prototype._bindTemplate = function(e, t, n, i, r) {
var o = this._eventBus;
function a(t, n) {
return o.fire("propertiesPanel.isPropertyEditable", {
entry: t,
propertyName: n,
element: e
})
}
var s = P(i);
f(s, (function(o) {
var s, c, l;
"value" in o || "true" === T(o) ? (s = u(o, "name") || u(o, "data-name"), c = n[s], l = a(t, s), l && t.editable && (l = t.editable(e, i, o, s, c, r)), u(o, "readonly", l ? null : ""), u(o, "disabled", l ? null : ""), t.setControlValue ? t.setControlValue(e, i, o, s, c, r) : S(o) ? H(o, c) : C(o) ? V(o, c) : $(o, c)) : (s = u(o, "data-value"), c = n[s], t.setControlValue ? t.setControlValue(e, i, o, s, c, r) : G(o, c))
}))
}, I.prototype._updateActivation = function(e) {
var t = this,
n = this._eventBus,
i = e.element;
function a(e) {
return n.fire("propertiesPanel.isEntryVisible", {
entry: e,
element: i
})
}
function s(e, t, n) {
return "function" !== typeof e.enabled || e.enabled(t, n)
}
function l(e, t) {
return "function" !== typeof e.enabled || e.enabled(t)
}
function p(e, t) {
c(e).toggle(O, !t)
}
function d(n, i) {
var r = c(n).has("bpp-active");
!i && r && t.activateTab(e.tabs[0])
}
function h(e, t, n) {
var i = o(t, e);
i && (i.textContent = n)
}
var m = e.panel;
f(e.tabs, (function(e) {
var n = o("[data-tab=" + e.id + "]", m),
c = o("[data-tab-target=" + e.id + "]", m).parentNode,
v = !1;
f(e.groups, (function(e) {
var c = !1,
l = o("[data-group=" + e.id + "]", n);
f(e.entries, (function(e) {
var n = o('[data-entry="' + e.id + '"]', l),
s = a(e);
c = c || s, p(n, s);
var d = "get" in e ? e.get(i, n) : {};
if (d instanceof Array) {
for (var f = o("[data-list-entry-container]", n), h = f.children || [], m = 0; m < d.length; m++) {
var v = d[m],
b = h[m];
b || (b = r(e.createListEntryTemplate(v, m, f)), f.appendChild(b)), u(b, "data-index", m), t._bindTemplate(i, e, v, b, m)
}
for (var g = h.length - d.length, y = 0; y < g; y++) f.removeChild(f.lastChild)
} else t._bindTemplate(i, e, d, n);
t.updateState(e, n), t.validate(e, d, n), e.oldValues = R(n)
})), "function" === typeof e.label && h(l, ".group-label", e.label(i, l)), c = c && s(e, i, l), v = v || c, p(l, c)
})), v = v && l(e, i), p(n, v), p(c, v), d(n, v)
})), h(m, "[data-label-id]", _(i).name || "")
}, I.prototype._createPanel = function(e, t) {
var n = this,
o = r('<div class="bpp-properties"></div>'),
a = r('<div class="bpp-properties-header"><div class="label" data-label-id></div><div class="search"><input type="search" placeholder="Search for property" /><button><span>Search</span></button></div></div>'),
s = r('<div class="bpp-properties-tab-bar"></div>'),
l = r('<ul class="bpp-properties-tabs-links"></ul>'),
u = r('<div class="bpp-properties-tabs-container"></div>');
return o.appendChild(a), f(t, (function(e, t) {
if (!e.id) throw new Error("tab must have an id");
var o = r('<div class="bpp-properties-tab" data-tab="' + i(e.id) + '"></div>'),
a = r('<li class="bpp-properties-tab-link"><a href data-tab-target="' + i(e.id) + '">' + i(e.label) + "</a></li>"),
s = e.groups;
f(s, (function(e) {
if (!e.id) throw new Error("group must have an id");
var t = r('<div class="bpp-properties-group" data-group="' + i(e.id) + '"><span class="group-toggle"></span><span class="group-label">' + i(e.label) + "</span></div>");
t.querySelector(".group-toggle").addEventListener("click", (function(e) {
c(t).toggle("group-closed"), e.preventDefault(), e.stopPropagation()
})), t.addEventListener("click", (function(e) {
!e.defaultPrevented && c(t).has("group-closed") && c(t).remove("group-closed")
})), f(e.entries, (function(e) {
if (!e.id) throw new Error("entry must have an id");
var o = e.html;
"string" === typeof o && (o = r(o)), o.get && o.constructor.prototype.jquery && (o = o.get(0));
var a = r('<div class="bpp-properties-entry" data-entry="' + i(e.id) + '"></div>');
f(e.cssClasses || [], (function(e) {
c(a).add(e)
})), a.appendChild(o), t.appendChild(a), n.updateState(e, a)
})), o.appendChild(t)
})), l.appendChild(a), u.appendChild(o)
})), s.appendChild(l), o.appendChild(s), o.appendChild(u), o
}
},
1645: function(e, t, n) {
"use strict";
var i = n("c95c"),
r = n("867e");
e.exports = function(e, t, n, o) {
var a = i.getServiceTaskLikeBusinessObject(t);
if (a) {
var s = r(t, n, o, {
businessObject: a
});
s && s.length > 0 && (e.entries = e.entries.concat(s))
}
}
},
"171a": function(e, t, n) {
"use strict";
var i = n("f1f1").is,
r = n("47d4"),
o = n("bdf1"),
a = n("f1f1").getBusinessObject,
s = n("cd6d"),
c = n("fe39");
e.exports = function(e, t, n, l) {
var u = a(t),
p = l && l.processIdDescription;
if ((i(t, "bpmn:Process") || i(t, "bpmn:Participant") && u.get("processRef")) && i(t, "bpmn:Participant")) {
var d = r.validationAwareTextField({
id: "process-id",
label: n("Process Id"),
description: p && n(p),
modelProperty: "processId"
});
d.get = function(e) {
var t = o.getProcessBusinessObject(e, "id");
return {
processId: t.id
}
}, d.set = function(e, t) {
return o.modifyProcessBusinessObject(e, "id", {
id: t.processId
})
}, d.validate = function(e, t) {
var i = t.processId,
r = a(e),
o = c.isIdValid(r.processRef, i, n);
return o ? {
processId: o
} : {}
}, e.entries.push(d);
var f = s(t, {
id: "process-name",
label: n("Process Name")
})[0];
f.get = function(e) {
return o.getProcessBusinessObject(e, "name")
}, f.set = function(e, t) {
return o.modifyProcessBusinessObject(e, "