ddy-process-h5 1.0.1-rc.3.85 → 1.0.1-rc.3.89
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/package.json +1 -1
- package/v2/ddy-process-h5.js +23 -3
- package/v2/ddy-process-h5.umd.cjs +1 -1
- package/v2.7/ddy-process-h5.js +451 -431
- package/v2.7/ddy-process-h5.umd.cjs +12 -12
- package/v3/ddy-process-h5.js +369 -349
- package/v3/ddy-process-h5.umd.cjs +1 -1
package/v3/ddy-process-h5.js
CHANGED
|
@@ -13,7 +13,7 @@ const zr = () => {
|
|
|
13
13
|
}, al = () => !1, ll = /^on[^a-z]/, cl = (e) => ll.test(e), $e = Object.assign, dl = (e, t) => {
|
|
14
14
|
const i = e.indexOf(t);
|
|
15
15
|
i > -1 && e.splice(i, 1);
|
|
16
|
-
}, ul = Object.prototype.hasOwnProperty, Se = (e, t) => ul.call(e, t), ve = Array.isArray, Ai = (e) => Ls(e) === "[object Map]", pl = (e) => Ls(e) === "[object Set]", Le = (e) => typeof e == "function", dt = (e) => typeof e == "string",
|
|
16
|
+
}, ul = Object.prototype.hasOwnProperty, Se = (e, t) => ul.call(e, t), ve = Array.isArray, Ai = (e) => Ls(e) === "[object Map]", pl = (e) => Ls(e) === "[object Set]", Le = (e) => typeof e == "function", dt = (e) => typeof e == "string", Tn = (e) => typeof e == "symbol", We = (e) => e !== null && typeof e == "object", hl = (e) => We(e) && Le(e.then) && Le(e.catch), fl = Object.prototype.toString, Ls = (e) => fl.call(e), Xr = (e) => Ls(e).slice(8, -1), ml = (e) => Ls(e) === "[object Object]", En = (e) => dt(e) && e !== "NaN" && e[0] !== "-" && "" + parseInt(e, 10) === e, gl = (e) => {
|
|
17
17
|
const t = /* @__PURE__ */ Object.create(null);
|
|
18
18
|
return (i) => t[i] || (t[i] = e(i));
|
|
19
19
|
}, yl = gl(
|
|
@@ -75,13 +75,13 @@ let Zr;
|
|
|
75
75
|
function kl(e, t = Zr) {
|
|
76
76
|
t && t.active && t.effects.push(e);
|
|
77
77
|
}
|
|
78
|
-
function
|
|
78
|
+
function Il() {
|
|
79
79
|
return Zr;
|
|
80
80
|
}
|
|
81
81
|
const nn = (e) => {
|
|
82
82
|
const t = new Set(e);
|
|
83
83
|
return t.w = 0, t.n = 0, t;
|
|
84
|
-
}, $r = (e) => (e.w & Lt) > 0, eo = (e) => (e.n & Lt) > 0,
|
|
84
|
+
}, $r = (e) => (e.w & Lt) > 0, eo = (e) => (e.n & Lt) > 0, Tl = ({ deps: e }) => {
|
|
85
85
|
if (e.length)
|
|
86
86
|
for (let t = 0; t < e.length; t++)
|
|
87
87
|
e[t].w |= Lt;
|
|
@@ -114,7 +114,7 @@ class xl {
|
|
|
114
114
|
t = t.parent;
|
|
115
115
|
}
|
|
116
116
|
try {
|
|
117
|
-
return this.parent = Ke, Ke = this, Zt = !0, Lt = 1 << ++ji, ji <= on ?
|
|
117
|
+
return this.parent = Ke, Ke = this, Zt = !0, Lt = 1 << ++ji, ji <= on ? Tl(this) : cr(this), this.fn();
|
|
118
118
|
} finally {
|
|
119
119
|
ji <= on && El(this), Lt = 1 << --ji, Ke = this.parent, Zt = i, this.parent = void 0, this.deferStop && this.stop();
|
|
120
120
|
}
|
|
@@ -206,7 +206,7 @@ function dr(e, t) {
|
|
|
206
206
|
(e !== Ke || e.allowRecurse) && (process.env.NODE_ENV !== "production" && e.onTrigger && e.onTrigger($e({ effect: e }, t)), e.scheduler ? e.scheduler() : e.run());
|
|
207
207
|
}
|
|
208
208
|
const Pl = /* @__PURE__ */ ol("__proto__,__v_isRef,__isVue"), no = new Set(
|
|
209
|
-
/* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((e) => e !== "arguments" && e !== "caller").map((e) => Symbol[e]).filter(
|
|
209
|
+
/* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((e) => e !== "arguments" && e !== "caller").map((e) => Symbol[e]).filter(Tn)
|
|
210
210
|
), Sl = /* @__PURE__ */ Pn(), Dl = /* @__PURE__ */ Pn(!0), Ml = /* @__PURE__ */ Pn(!0, !0), ur = /* @__PURE__ */ Bl();
|
|
211
211
|
function Bl() {
|
|
212
212
|
const e = {};
|
|
@@ -248,7 +248,7 @@ function Pn(e = !1, t = !1) {
|
|
|
248
248
|
return Ol;
|
|
249
249
|
}
|
|
250
250
|
const a = Reflect.get(s, n, r);
|
|
251
|
-
return (
|
|
251
|
+
return (Tn(n) ? no.has(n) : Pl(n)) || (e || Ye(s, "get", n), t) ? a : He(a) ? o && En(n) ? a : a.value : We(a) ? e ? po(a) : uo(a) : a;
|
|
252
252
|
};
|
|
253
253
|
}
|
|
254
254
|
const Rl = /* @__PURE__ */ Ll();
|
|
@@ -269,7 +269,7 @@ function Fl(e, t) {
|
|
|
269
269
|
}
|
|
270
270
|
function Vl(e, t) {
|
|
271
271
|
const i = Reflect.has(e, t);
|
|
272
|
-
return (!
|
|
272
|
+
return (!Tn(t) || !no.has(t)) && Ye(e, "has", t), i;
|
|
273
273
|
}
|
|
274
274
|
function jl(e) {
|
|
275
275
|
return Ye(e, "iterate", ve(e) ? "length" : Xt), Reflect.ownKeys(e);
|
|
@@ -903,22 +903,22 @@ function wc(e, t, { immediate: i, deep: s, flush: n, onTrack: r, onTrigger: o }
|
|
|
903
903
|
), s !== void 0 && Qe(
|
|
904
904
|
'watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'
|
|
905
905
|
));
|
|
906
|
-
const l = (
|
|
906
|
+
const l = (I) => {
|
|
907
907
|
Qe(
|
|
908
908
|
"Invalid watch source: ",
|
|
909
|
-
|
|
909
|
+
I,
|
|
910
910
|
"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types."
|
|
911
911
|
);
|
|
912
|
-
}, g =
|
|
912
|
+
}, g = Il() === ((a = ki) == null ? void 0 : a.scope) ? ki : null;
|
|
913
913
|
let h, d = !1, b = !1;
|
|
914
|
-
if (He(e) ? (h = () => e.value, d = ln(e)) : $t(e) ? (h = () => e, s = !0) : ve(e) ? (b = !0, d = e.some((
|
|
915
|
-
if (He(
|
|
916
|
-
return
|
|
917
|
-
if ($t(
|
|
918
|
-
return gi(
|
|
919
|
-
if (Le(
|
|
920
|
-
return ti(
|
|
921
|
-
process.env.NODE_ENV !== "production" && l(
|
|
914
|
+
if (He(e) ? (h = () => e.value, d = ln(e)) : $t(e) ? (h = () => e, s = !0) : ve(e) ? (b = !0, d = e.some((I) => $t(I) || ln(I)), h = () => e.map((I) => {
|
|
915
|
+
if (He(I))
|
|
916
|
+
return I.value;
|
|
917
|
+
if ($t(I))
|
|
918
|
+
return gi(I);
|
|
919
|
+
if (Le(I))
|
|
920
|
+
return ti(I, g, 2);
|
|
921
|
+
process.env.NODE_ENV !== "production" && l(I);
|
|
922
922
|
})) : Le(e) ? t ? h = () => ti(e, g, 2) : h = () => {
|
|
923
923
|
if (!(g && g.isUnmounted))
|
|
924
924
|
return w && w(), dn(
|
|
@@ -928,25 +928,25 @@ function wc(e, t, { immediate: i, deep: s, flush: n, onTrack: r, onTrigger: o }
|
|
|
928
928
|
[E]
|
|
929
929
|
);
|
|
930
930
|
} : (h = zr, process.env.NODE_ENV !== "production" && l(e)), t && s) {
|
|
931
|
-
const
|
|
932
|
-
h = () => gi(
|
|
931
|
+
const I = h;
|
|
932
|
+
h = () => gi(I());
|
|
933
933
|
}
|
|
934
|
-
let w, E = (
|
|
934
|
+
let w, E = (I) => {
|
|
935
935
|
w = K.onStop = () => {
|
|
936
|
-
ti(
|
|
936
|
+
ti(I, g, 4);
|
|
937
937
|
};
|
|
938
938
|
}, q = b ? new Array(e.length).fill(us) : us;
|
|
939
939
|
const J = () => {
|
|
940
940
|
if (!!K.active)
|
|
941
941
|
if (t) {
|
|
942
|
-
const
|
|
943
|
-
(s || d || (b ?
|
|
942
|
+
const I = K.run();
|
|
943
|
+
(s || d || (b ? I.some(
|
|
944
944
|
(M, B) => Es(M, q[B])
|
|
945
|
-
) : Es(
|
|
946
|
-
|
|
945
|
+
) : Es(I, q))) && (w && w(), dn(t, g, 3, [
|
|
946
|
+
I,
|
|
947
947
|
q === us ? void 0 : b && q[0] === us ? [] : q,
|
|
948
948
|
E
|
|
949
|
-
]), q =
|
|
949
|
+
]), q = I);
|
|
950
950
|
} else
|
|
951
951
|
K.run();
|
|
952
952
|
};
|
|
@@ -999,7 +999,7 @@ function gi(e, t) {
|
|
|
999
999
|
function ft(e, t) {
|
|
1000
1000
|
return Le(e) ? /* @__PURE__ */ (() => $e({ name: e.name }, t, { setup: e }))() : e;
|
|
1001
1001
|
}
|
|
1002
|
-
const
|
|
1002
|
+
const Ic = Symbol.for("v-ndc"), pn = (e) => e ? _c(e) ? qc(e) || e.proxy : pn(e.parent) : null, Gi = /* @__PURE__ */ $e(/* @__PURE__ */ Object.create(null), {
|
|
1003
1003
|
$: (e) => e,
|
|
1004
1004
|
$el: (e) => e.vnode.el,
|
|
1005
1005
|
$data: (e) => e.data,
|
|
@@ -1014,7 +1014,7 @@ const Tc = Symbol.for("v-ndc"), pn = (e) => e ? _c(e) ? qc(e) || e.proxy : pn(e.
|
|
|
1014
1014
|
$forceUpdate: (e) => e.f || (e.f = () => Ln(e.update)),
|
|
1015
1015
|
$nextTick: (e) => e.n || (e.n = uc.bind(e.proxy)),
|
|
1016
1016
|
$watch: (e) => Cc.bind(e)
|
|
1017
|
-
}),
|
|
1017
|
+
}), Tc = (e) => e === "_" || e === "$", Ks = (e, t) => e !== vt && !e.__isScriptSetup && Se(e, t), Ec = {
|
|
1018
1018
|
get({ _: e }, t) {
|
|
1019
1019
|
const { ctx: i, setupState: s, data: n, props: r, accessCache: o, type: a, appContext: l } = e;
|
|
1020
1020
|
if (process.env.NODE_ENV !== "production" && t === "__isVue")
|
|
@@ -1055,7 +1055,7 @@ const Tc = Symbol.for("v-ndc"), pn = (e) => e ? _c(e) ? qc(e) || e.proxy : pn(e.
|
|
|
1055
1055
|
return o[t] = 4, i[t];
|
|
1056
1056
|
if (b = l.config.globalProperties, Se(b, t))
|
|
1057
1057
|
return b[t];
|
|
1058
|
-
process.env.NODE_ENV !== "production" && Ot && (!dt(t) || t.indexOf("__v") !== 0) && (n !== vt &&
|
|
1058
|
+
process.env.NODE_ENV !== "production" && Ot && (!dt(t) || t.indexOf("__v") !== 0) && (n !== vt && Tc(t[0]) && Se(n, t) ? Qe(
|
|
1059
1059
|
`Property ${JSON.stringify(
|
|
1060
1060
|
t
|
|
1061
1061
|
)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`
|
|
@@ -1214,7 +1214,7 @@ let yi = null;
|
|
|
1214
1214
|
function Rc(e) {
|
|
1215
1215
|
return e ? e.__v_isVNode === !0 : !1;
|
|
1216
1216
|
}
|
|
1217
|
-
const Lc = (...e) =>
|
|
1217
|
+
const Lc = (...e) => Io(
|
|
1218
1218
|
...e
|
|
1219
1219
|
), Co = "__vInternal", ko = ({ key: e }) => e != null ? e : null, vs = ({
|
|
1220
1220
|
ref: e,
|
|
@@ -1252,9 +1252,9 @@ function Fc(e, t = null, i = null, s = 0, n = null, r = e === wo ? 0 : 1, o = !1
|
|
|
1252
1252
|
};
|
|
1253
1253
|
return a ? (Fn(l, i), r & 128 && e.normalize(l)) : i && (l.shapeFlag |= dt(i) ? 8 : 16), process.env.NODE_ENV !== "production" && l.key !== l.key && Qe("VNode created with invalid key (NaN). VNode type:", l.type), !o && yi && (l.patchFlag > 0 || r & 6) && l.patchFlag !== 32 && yi.push(l), l;
|
|
1254
1254
|
}
|
|
1255
|
-
const Vc = process.env.NODE_ENV !== "production" ? Lc :
|
|
1256
|
-
function
|
|
1257
|
-
if ((!e || e ===
|
|
1255
|
+
const Vc = process.env.NODE_ENV !== "production" ? Lc : Io;
|
|
1256
|
+
function Io(e, t = null, i = null, s = 0, n = null, r = !1) {
|
|
1257
|
+
if ((!e || e === Ic) && (process.env.NODE_ENV !== "production" && !e && Qe(`Invalid vnode type when creating vnode: ${e}.`), e = Oc), Rc(e)) {
|
|
1258
1258
|
const a = Ss(
|
|
1259
1259
|
e,
|
|
1260
1260
|
t,
|
|
@@ -1298,7 +1298,7 @@ function Ss(e, t, i = !1) {
|
|
|
1298
1298
|
ref: t && t.ref ? i && n ? ve(n) ? n.concat(vs(t)) : [n, vs(t)] : vs(t) : n,
|
|
1299
1299
|
scopeId: e.scopeId,
|
|
1300
1300
|
slotScopeIds: e.slotScopeIds,
|
|
1301
|
-
children: process.env.NODE_ENV !== "production" && r === -1 && ve(o) ? o.map(
|
|
1301
|
+
children: process.env.NODE_ENV !== "production" && r === -1 && ve(o) ? o.map(To) : o,
|
|
1302
1302
|
target: e.target,
|
|
1303
1303
|
targetAnchor: e.targetAnchor,
|
|
1304
1304
|
staticCount: e.staticCount,
|
|
@@ -1319,9 +1319,9 @@ function Ss(e, t, i = !1) {
|
|
|
1319
1319
|
ce: e.ce
|
|
1320
1320
|
};
|
|
1321
1321
|
}
|
|
1322
|
-
function
|
|
1322
|
+
function To(e) {
|
|
1323
1323
|
const t = Ss(e);
|
|
1324
|
-
return ve(e.children) && (t.children = e.children.map(
|
|
1324
|
+
return ve(e.children) && (t.children = e.children.map(To)), t;
|
|
1325
1325
|
}
|
|
1326
1326
|
function Qc(e = " ", t = 0) {
|
|
1327
1327
|
return Vc(Bc, null, e, t);
|
|
@@ -2016,7 +2016,7 @@ const Vs = /* @__PURE__ */ Ae(pd, [["render", Ad], ["__scopeId", "data-v-d8a210a
|
|
|
2016
2016
|
const vd = { class: "process-wrap" }, wd = {
|
|
2017
2017
|
key: 0,
|
|
2018
2018
|
class: "attch-list"
|
|
2019
|
-
}, Cd = { class: "list-items-icon" }, kd = ["src"],
|
|
2019
|
+
}, Cd = { class: "list-items-icon" }, kd = ["src"], Id = ["src"], Td = ["src"], Ed = ["src"], xd = ["src"], Nd = ["src"], Pd = ["onClick"], Sd = { class: "info-name" }, Dd = { class: "info-name-text" }, Md = { class: "info-attribute" }, Bd = { class: "info-attribute-time" }, Od = { class: "info-attribute-size" }, Rd = ["onClick"], Ld = {
|
|
2020
2020
|
key: 1,
|
|
2021
2021
|
class: "attch-list"
|
|
2022
2022
|
};
|
|
@@ -2041,11 +2041,11 @@ function Fd(e, t, i, s, n, r) {
|
|
|
2041
2041
|
key: 1,
|
|
2042
2042
|
class: "icon-img",
|
|
2043
2043
|
src: e.image
|
|
2044
|
-
}, null, 8,
|
|
2044
|
+
}, null, 8, Id)) : g.name.substring(g.name.lastIndexOf(".") + 1).toLowerCase() == "pdf" ? (p(), f("img", {
|
|
2045
2045
|
key: 2,
|
|
2046
2046
|
class: "icon-img",
|
|
2047
2047
|
src: e.pdf
|
|
2048
|
-
}, null, 8,
|
|
2048
|
+
}, null, 8, Td)) : e.docIcon.includes(
|
|
2049
2049
|
g.name.substring(g.name.lastIndexOf(".") + 1).toLowerCase()
|
|
2050
2050
|
) ? (p(), f("img", {
|
|
2051
2051
|
key: 3,
|
|
@@ -2159,7 +2159,7 @@ function Qd(e, t) {
|
|
|
2159
2159
|
return s = r, !1;
|
|
2160
2160
|
}), s;
|
|
2161
2161
|
}
|
|
2162
|
-
function
|
|
2162
|
+
function Ii(e, t) {
|
|
2163
2163
|
const i = jn(t);
|
|
2164
2164
|
let s = [];
|
|
2165
2165
|
return Q(e, function(n, r) {
|
|
@@ -2175,13 +2175,13 @@ function Q(e, t) {
|
|
|
2175
2175
|
if (Si(e, r) && (i = e[r], s = t(i, n(r)), s === !1))
|
|
2176
2176
|
return i;
|
|
2177
2177
|
}
|
|
2178
|
-
function
|
|
2178
|
+
function Ti(e, t, i) {
|
|
2179
2179
|
return Q(e, function(s, n) {
|
|
2180
2180
|
i = t(i, s, n);
|
|
2181
2181
|
}), i;
|
|
2182
2182
|
}
|
|
2183
2183
|
function Vo(e, t) {
|
|
2184
|
-
return !!
|
|
2184
|
+
return !!Ti(e, function(i, s, n) {
|
|
2185
2185
|
return i && t(s, n);
|
|
2186
2186
|
}, !0);
|
|
2187
2187
|
}
|
|
@@ -2194,7 +2194,7 @@ function Ud(e, t) {
|
|
|
2194
2194
|
i.push(t(s, n));
|
|
2195
2195
|
}), i;
|
|
2196
2196
|
}
|
|
2197
|
-
function
|
|
2197
|
+
function Ir(e) {
|
|
2198
2198
|
return function(t) {
|
|
2199
2199
|
return Vo(e, function(i, s) {
|
|
2200
2200
|
return t[s] === i;
|
|
@@ -2286,7 +2286,7 @@ xt.prototype.getShapePath = function(e) {
|
|
|
2286
2286
|
xt.prototype.getConnectionPath = function(e) {
|
|
2287
2287
|
};
|
|
2288
2288
|
function Y(e, t) {
|
|
2289
|
-
var i =
|
|
2289
|
+
var i = Ie(e);
|
|
2290
2290
|
return i && typeof i.$instanceOf == "function" && i.$instanceOf(t);
|
|
2291
2291
|
}
|
|
2292
2292
|
function Yd(e, t) {
|
|
@@ -2294,23 +2294,23 @@ function Yd(e, t) {
|
|
|
2294
2294
|
return Y(e, i);
|
|
2295
2295
|
});
|
|
2296
2296
|
}
|
|
2297
|
-
function
|
|
2297
|
+
function Ie(e) {
|
|
2298
2298
|
return e && e.businessObject || e;
|
|
2299
2299
|
}
|
|
2300
2300
|
function ni(e) {
|
|
2301
2301
|
return e && e.di;
|
|
2302
2302
|
}
|
|
2303
2303
|
function Yt(e, t) {
|
|
2304
|
-
return Y(e, "bpmn:CallActivity") ? !1 : Y(e, "bpmn:SubProcess") ? (t = t || ni(e), t && Y(t, "bpmndi:BPMNPlane") ? !0 : t && !!t.isExpanded) : Y(e, "bpmn:Participant") ? !!
|
|
2304
|
+
return Y(e, "bpmn:CallActivity") ? !1 : Y(e, "bpmn:SubProcess") ? (t = t || ni(e), t && Y(t, "bpmndi:BPMNPlane") ? !0 : t && !!t.isExpanded) : Y(e, "bpmn:Participant") ? !!Ie(e).processRef : !0;
|
|
2305
2305
|
}
|
|
2306
|
-
function
|
|
2306
|
+
function Tr(e) {
|
|
2307
2307
|
if (!(!Y(e, "bpmn:Participant") && !Y(e, "bpmn:Lane"))) {
|
|
2308
2308
|
var t = ni(e).isHorizontal;
|
|
2309
2309
|
return t === void 0 ? !0 : t;
|
|
2310
2310
|
}
|
|
2311
2311
|
}
|
|
2312
2312
|
function zd(e) {
|
|
2313
|
-
return e && !!
|
|
2313
|
+
return e && !!Ie(e).triggeredByEvent;
|
|
2314
2314
|
}
|
|
2315
2315
|
function Xd(e) {
|
|
2316
2316
|
return si(e) && Si(e, "waypoints");
|
|
@@ -2383,7 +2383,7 @@ function ru(e, t) {
|
|
|
2383
2383
|
function Qo(e, t) {
|
|
2384
2384
|
return t.appendChild(ru(e, t));
|
|
2385
2385
|
}
|
|
2386
|
-
function
|
|
2386
|
+
function Te(e, t) {
|
|
2387
2387
|
return Qo(t, e), e;
|
|
2388
2388
|
}
|
|
2389
2389
|
var fn = 2, Uo = {
|
|
@@ -2708,7 +2708,7 @@ function At(e, t) {
|
|
|
2708
2708
|
function ku(e) {
|
|
2709
2709
|
return e.$type === "bpmn:IntermediateThrowEvent" || e.$type === "bpmn:EndEvent";
|
|
2710
2710
|
}
|
|
2711
|
-
function
|
|
2711
|
+
function Iu(e) {
|
|
2712
2712
|
var t = e.dataObjectRef;
|
|
2713
2713
|
return e.isCollection || t && t.isCollection;
|
|
2714
2714
|
}
|
|
@@ -2724,7 +2724,7 @@ function Fi(e, t, i, s) {
|
|
|
2724
2724
|
var n = ni(e), r = n.get("label");
|
|
2725
2725
|
return s || r && r.get("color:color") || t || L(e, i);
|
|
2726
2726
|
}
|
|
2727
|
-
function
|
|
2727
|
+
function Tu(e) {
|
|
2728
2728
|
var t = e.x + e.width / 2, i = e.y + e.height / 2, s = e.width / 2, n = [
|
|
2729
2729
|
["M", t, i],
|
|
2730
2730
|
["m", 0, -s],
|
|
@@ -3052,7 +3052,7 @@ function ci(e, t, i, s, n, r, o) {
|
|
|
3052
3052
|
ref: u = { x: 0, y: 0 },
|
|
3053
3053
|
scale: A = 1,
|
|
3054
3054
|
element: v
|
|
3055
|
-
} = c,
|
|
3055
|
+
} = c, T = me("marker", {
|
|
3056
3056
|
id: y,
|
|
3057
3057
|
viewBox: "0 0 20 20",
|
|
3058
3058
|
refX: u.x,
|
|
@@ -3061,9 +3061,9 @@ function ci(e, t, i, s, n, r, o) {
|
|
|
3061
3061
|
markerHeight: 20 * A,
|
|
3062
3062
|
orient: "auto"
|
|
3063
3063
|
});
|
|
3064
|
-
|
|
3064
|
+
Te(T, v);
|
|
3065
3065
|
var H = ct("defs", n._svg);
|
|
3066
|
-
H || (H = me("defs"),
|
|
3066
|
+
H || (H = me("defs"), Te(n._svg, H)), Te(H, T), d[y] = T;
|
|
3067
3067
|
}
|
|
3068
3068
|
function q(y) {
|
|
3069
3069
|
return y.replace(/[^0-9a-zA-Z]+/g, "_");
|
|
@@ -3089,7 +3089,7 @@ function ci(e, t, i, s, n, r, o) {
|
|
|
3089
3089
|
});
|
|
3090
3090
|
}
|
|
3091
3091
|
if (c === "messageflow-start") {
|
|
3092
|
-
var
|
|
3092
|
+
var T = me("circle", {
|
|
3093
3093
|
cx: 6,
|
|
3094
3094
|
cy: 6,
|
|
3095
3095
|
r: 3.5,
|
|
@@ -3101,7 +3101,7 @@ function ci(e, t, i, s, n, r, o) {
|
|
|
3101
3101
|
})
|
|
3102
3102
|
});
|
|
3103
3103
|
E(y, {
|
|
3104
|
-
element:
|
|
3104
|
+
element: T,
|
|
3105
3105
|
ref: { x: 6, y: 6 }
|
|
3106
3106
|
});
|
|
3107
3107
|
}
|
|
@@ -3182,16 +3182,16 @@ function ci(e, t, i, s, n, r, o) {
|
|
|
3182
3182
|
}
|
|
3183
3183
|
function K(y, c, u, A, v = {}) {
|
|
3184
3184
|
si(A) && (v = A, A = 0), A = A || 0, v = b(v);
|
|
3185
|
-
var
|
|
3186
|
-
cx:
|
|
3185
|
+
var T = c / 2, H = u / 2, ae = me("circle", {
|
|
3186
|
+
cx: T,
|
|
3187
3187
|
cy: H,
|
|
3188
3188
|
r: Math.round((c + u) / 4 - A),
|
|
3189
3189
|
...v
|
|
3190
3190
|
});
|
|
3191
|
-
return
|
|
3191
|
+
return Te(y, ae), ae;
|
|
3192
3192
|
}
|
|
3193
|
-
function S(y, c, u, A, v,
|
|
3194
|
-
si(v) && (
|
|
3193
|
+
function S(y, c, u, A, v, T) {
|
|
3194
|
+
si(v) && (T = v, v = 0), v = v || 0, T = b(T);
|
|
3195
3195
|
var H = me("rect", {
|
|
3196
3196
|
x: v,
|
|
3197
3197
|
y: v,
|
|
@@ -3199,16 +3199,16 @@ function ci(e, t, i, s, n, r, o) {
|
|
|
3199
3199
|
height: u - v * 2,
|
|
3200
3200
|
rx: A,
|
|
3201
3201
|
ry: A,
|
|
3202
|
-
...
|
|
3202
|
+
...T
|
|
3203
3203
|
});
|
|
3204
|
-
return
|
|
3204
|
+
return Te(y, H), H;
|
|
3205
3205
|
}
|
|
3206
|
-
function
|
|
3207
|
-
var v = c / 2,
|
|
3206
|
+
function I(y, c, u, A) {
|
|
3207
|
+
var v = c / 2, T = u / 2, H = [
|
|
3208
3208
|
{ x: v, y: 0 },
|
|
3209
|
-
{ x: c, y:
|
|
3209
|
+
{ x: c, y: T },
|
|
3210
3210
|
{ x: v, y: u },
|
|
3211
|
-
{ x: 0, y:
|
|
3211
|
+
{ x: 0, y: T }
|
|
3212
3212
|
], ae = H.map(function(ce) {
|
|
3213
3213
|
return ce.x + "," + ce.y;
|
|
3214
3214
|
}).join(" ");
|
|
@@ -3217,12 +3217,12 @@ function ci(e, t, i, s, n, r, o) {
|
|
|
3217
3217
|
...A,
|
|
3218
3218
|
points: ae
|
|
3219
3219
|
});
|
|
3220
|
-
return
|
|
3220
|
+
return Te(y, re), re;
|
|
3221
3221
|
}
|
|
3222
3222
|
function M(y, c, u, A) {
|
|
3223
3223
|
u = w(u);
|
|
3224
3224
|
var v = Un(c, u, A);
|
|
3225
|
-
return
|
|
3225
|
+
return Te(y, v), v;
|
|
3226
3226
|
}
|
|
3227
3227
|
function B(y, c, u) {
|
|
3228
3228
|
return M(y, c, u, 5);
|
|
@@ -3233,7 +3233,7 @@ function ci(e, t, i, s, n, r, o) {
|
|
|
3233
3233
|
...u,
|
|
3234
3234
|
d: c
|
|
3235
3235
|
});
|
|
3236
|
-
return
|
|
3236
|
+
return Te(y, A), A;
|
|
3237
3237
|
}
|
|
3238
3238
|
function x(y, c, u, A) {
|
|
3239
3239
|
return R(c, u, Z({ "data-marker": y }, A));
|
|
@@ -3257,8 +3257,8 @@ function ci(e, t, i, s, n, r, o) {
|
|
|
3257
3257
|
mx: 0.235,
|
|
3258
3258
|
my: 0.315
|
|
3259
3259
|
}
|
|
3260
|
-
}),
|
|
3261
|
-
fill:
|
|
3260
|
+
}), T = A ? L(c, l, u.stroke) : se(c, a, u.fill), H = A ? se(c, a, u.fill) : L(c, l, u.stroke), ae = R(y, v, {
|
|
3261
|
+
fill: T,
|
|
3262
3262
|
stroke: H,
|
|
3263
3263
|
strokeWidth: 1
|
|
3264
3264
|
});
|
|
@@ -3283,7 +3283,7 @@ function ci(e, t, i, s, n, r, o) {
|
|
|
3283
3283
|
stroke: L(c, l, u.stroke),
|
|
3284
3284
|
strokeWidth: 2
|
|
3285
3285
|
});
|
|
3286
|
-
for (var
|
|
3286
|
+
for (var T = 0; T < 12; T++) {
|
|
3287
3287
|
var H = s.getScaledPath("EVENT_TIMER_LINE", {
|
|
3288
3288
|
xScaleFactor: 0.75,
|
|
3289
3289
|
yScaleFactor: 0.75,
|
|
@@ -3297,7 +3297,7 @@ function ci(e, t, i, s, n, r, o) {
|
|
|
3297
3297
|
R(y, H, {
|
|
3298
3298
|
strokeWidth: 1,
|
|
3299
3299
|
stroke: L(c, l, u.stroke),
|
|
3300
|
-
transform: "rotate(" +
|
|
3300
|
+
transform: "rotate(" + T * 30 + "," + re + "," + ae + ")"
|
|
3301
3301
|
});
|
|
3302
3302
|
}
|
|
3303
3303
|
return A;
|
|
@@ -3312,9 +3312,9 @@ function ci(e, t, i, s, n, r, o) {
|
|
|
3312
3312
|
mx: 0.5,
|
|
3313
3313
|
my: 0.2
|
|
3314
3314
|
}
|
|
3315
|
-
}),
|
|
3315
|
+
}), T = A ? L(c, l, u.stroke) : se(c, a, u.fill);
|
|
3316
3316
|
return R(y, v, {
|
|
3317
|
-
fill:
|
|
3317
|
+
fill: T,
|
|
3318
3318
|
stroke: L(c, l, u.stroke),
|
|
3319
3319
|
strokeWidth: 1
|
|
3320
3320
|
});
|
|
@@ -3346,9 +3346,9 @@ function ci(e, t, i, s, n, r, o) {
|
|
|
3346
3346
|
mx: 0.57,
|
|
3347
3347
|
my: 0.263
|
|
3348
3348
|
}
|
|
3349
|
-
}),
|
|
3349
|
+
}), T = A ? L(c, l, u.stroke) : se(c, a, u.fill);
|
|
3350
3350
|
return R(y, v, {
|
|
3351
|
-
fill:
|
|
3351
|
+
fill: T,
|
|
3352
3352
|
stroke: L(c, l, u.stroke),
|
|
3353
3353
|
strokeWidth: 1
|
|
3354
3354
|
});
|
|
@@ -3363,9 +3363,9 @@ function ci(e, t, i, s, n, r, o) {
|
|
|
3363
3363
|
mx: 0.2,
|
|
3364
3364
|
my: 0.722
|
|
3365
3365
|
}
|
|
3366
|
-
}),
|
|
3366
|
+
}), T = A ? L(c, l, u.stroke) : se(c, a, u.fill);
|
|
3367
3367
|
return R(y, v, {
|
|
3368
|
-
fill:
|
|
3368
|
+
fill: T,
|
|
3369
3369
|
stroke: L(c, l, u.stroke),
|
|
3370
3370
|
strokeWidth: 1
|
|
3371
3371
|
});
|
|
@@ -3380,8 +3380,8 @@ function ci(e, t, i, s, n, r, o) {
|
|
|
3380
3380
|
mx: 0.638,
|
|
3381
3381
|
my: -0.055
|
|
3382
3382
|
}
|
|
3383
|
-
}),
|
|
3384
|
-
fill:
|
|
3383
|
+
}), T = A ? L(c, l, u.stroke) : "none", H = R(y, v, {
|
|
3384
|
+
fill: T,
|
|
3385
3385
|
stroke: L(c, l, u.stroke),
|
|
3386
3386
|
strokeWidth: 1
|
|
3387
3387
|
});
|
|
@@ -3397,9 +3397,9 @@ function ci(e, t, i, s, n, r, o) {
|
|
|
3397
3397
|
mx: 0.22,
|
|
3398
3398
|
my: 0.5
|
|
3399
3399
|
}
|
|
3400
|
-
}),
|
|
3400
|
+
}), T = A ? L(c, l, u.stroke) : se(c, a, u.fill);
|
|
3401
3401
|
return R(y, v, {
|
|
3402
|
-
fill:
|
|
3402
|
+
fill: T,
|
|
3403
3403
|
stroke: L(c, l, u.stroke),
|
|
3404
3404
|
strokeWidth: 1
|
|
3405
3405
|
});
|
|
@@ -3414,10 +3414,10 @@ function ci(e, t, i, s, n, r, o) {
|
|
|
3414
3414
|
mx: 0.5,
|
|
3415
3415
|
my: 0.2
|
|
3416
3416
|
}
|
|
3417
|
-
}),
|
|
3417
|
+
}), T = A ? L(c, l, u.stroke) : se(c, a, u.fill);
|
|
3418
3418
|
return R(y, v, {
|
|
3419
3419
|
strokeWidth: 1,
|
|
3420
|
-
fill:
|
|
3420
|
+
fill: T,
|
|
3421
3421
|
stroke: L(c, l, u.stroke)
|
|
3422
3422
|
});
|
|
3423
3423
|
},
|
|
@@ -3431,9 +3431,9 @@ function ci(e, t, i, s, n, r, o) {
|
|
|
3431
3431
|
mx: 0.222,
|
|
3432
3432
|
my: 0.36
|
|
3433
3433
|
}
|
|
3434
|
-
}),
|
|
3434
|
+
}), T = A ? L(c, l, u.stroke) : se(c, a, u.fill);
|
|
3435
3435
|
return R(y, v, {
|
|
3436
|
-
fill:
|
|
3436
|
+
fill: T,
|
|
3437
3437
|
strokeWidth: 1
|
|
3438
3438
|
});
|
|
3439
3439
|
},
|
|
@@ -3464,12 +3464,12 @@ function ci(e, t, i, s, n, r, o) {
|
|
|
3464
3464
|
}
|
|
3465
3465
|
};
|
|
3466
3466
|
function F(y, c, u = {}) {
|
|
3467
|
-
var A =
|
|
3467
|
+
var A = Ie(y), v = ku(A);
|
|
3468
3468
|
return A.get("eventDefinitions") && A.get("eventDefinitions").length > 1 ? A.get("parallelMultiple") ? j["bpmn:ParallelMultipleEventDefinition"](c, y, u, v) : j["bpmn:MultipleEventDefinition"](c, y, u, v) : At(A, "bpmn:MessageEventDefinition") ? j["bpmn:MessageEventDefinition"](c, y, u, v) : At(A, "bpmn:TimerEventDefinition") ? j["bpmn:TimerEventDefinition"](c, y, u, v) : At(A, "bpmn:ConditionalEventDefinition") ? j["bpmn:ConditionalEventDefinition"](c, y, u, v) : At(A, "bpmn:SignalEventDefinition") ? j["bpmn:SignalEventDefinition"](c, y, u, v) : At(A, "bpmn:EscalationEventDefinition") ? j["bpmn:EscalationEventDefinition"](c, y, u, v) : At(A, "bpmn:LinkEventDefinition") ? j["bpmn:LinkEventDefinition"](c, y, u, v) : At(A, "bpmn:ErrorEventDefinition") ? j["bpmn:ErrorEventDefinition"](c, y, u, v) : At(A, "bpmn:CancelEventDefinition") ? j["bpmn:CancelEventDefinition"](c, y, u, v) : At(A, "bpmn:CompensateEventDefinition") ? j["bpmn:CompensateEventDefinition"](c, y, u, v) : At(A, "bpmn:TerminateEventDefinition") ? j["bpmn:TerminateEventDefinition"](c, y, u, v) : null;
|
|
3469
3469
|
}
|
|
3470
3470
|
var W = {
|
|
3471
3471
|
ParticipantMultiplicityMarker: function(y, c, u = {}) {
|
|
3472
|
-
var A = nt(c, u), v = qe(c, u),
|
|
3472
|
+
var A = nt(c, u), v = qe(c, u), T = s.getScaledPath("MARKER_PARALLEL", {
|
|
3473
3473
|
xScaleFactor: 1,
|
|
3474
3474
|
yScaleFactor: 1,
|
|
3475
3475
|
containerWidth: A,
|
|
@@ -3479,7 +3479,7 @@ function ci(e, t, i, s, n, r, o) {
|
|
|
3479
3479
|
my: (v - 15) / v
|
|
3480
3480
|
}
|
|
3481
3481
|
});
|
|
3482
|
-
x("participant-multiplicity", y,
|
|
3482
|
+
x("participant-multiplicity", y, T, {
|
|
3483
3483
|
strokeWidth: 2,
|
|
3484
3484
|
fill: se(c, a, u.fill),
|
|
3485
3485
|
stroke: L(c, l, u.stroke)
|
|
@@ -3508,7 +3508,7 @@ function ci(e, t, i, s, n, r, o) {
|
|
|
3508
3508
|
});
|
|
3509
3509
|
},
|
|
3510
3510
|
ParallelMarker: function(y, c, u) {
|
|
3511
|
-
var A = nt(c, u), v = qe(c, u),
|
|
3511
|
+
var A = nt(c, u), v = qe(c, u), T = s.getScaledPath("MARKER_PARALLEL", {
|
|
3512
3512
|
xScaleFactor: 1,
|
|
3513
3513
|
yScaleFactor: 1,
|
|
3514
3514
|
containerWidth: A,
|
|
@@ -3518,7 +3518,7 @@ function ci(e, t, i, s, n, r, o) {
|
|
|
3518
3518
|
my: (v - 20) / v
|
|
3519
3519
|
}
|
|
3520
3520
|
});
|
|
3521
|
-
x("parallel", y,
|
|
3521
|
+
x("parallel", y, T, {
|
|
3522
3522
|
fill: se(c, a, u.fill),
|
|
3523
3523
|
stroke: L(c, l, u.stroke)
|
|
3524
3524
|
});
|
|
@@ -3557,7 +3557,7 @@ function ci(e, t, i, s, n, r, o) {
|
|
|
3557
3557
|
});
|
|
3558
3558
|
},
|
|
3559
3559
|
LoopMarker: function(y, c, u) {
|
|
3560
|
-
var A = nt(c, u), v = qe(c, u),
|
|
3560
|
+
var A = nt(c, u), v = qe(c, u), T = s.getScaledPath("MARKER_LOOP", {
|
|
3561
3561
|
xScaleFactor: 1,
|
|
3562
3562
|
yScaleFactor: 1,
|
|
3563
3563
|
containerWidth: A,
|
|
@@ -3567,7 +3567,7 @@ function ci(e, t, i, s, n, r, o) {
|
|
|
3567
3567
|
my: (v - 7) / v
|
|
3568
3568
|
}
|
|
3569
3569
|
});
|
|
3570
|
-
x("loop", y,
|
|
3570
|
+
x("loop", y, T, {
|
|
3571
3571
|
strokeWidth: 1.5,
|
|
3572
3572
|
fill: "none",
|
|
3573
3573
|
stroke: L(c, l, u.stroke),
|
|
@@ -3575,7 +3575,7 @@ function ci(e, t, i, s, n, r, o) {
|
|
|
3575
3575
|
});
|
|
3576
3576
|
},
|
|
3577
3577
|
AdhocMarker: function(y, c, u) {
|
|
3578
|
-
var A = nt(c, u), v = qe(c, u),
|
|
3578
|
+
var A = nt(c, u), v = qe(c, u), T = s.getScaledPath("MARKER_ADHOC", {
|
|
3579
3579
|
xScaleFactor: 1,
|
|
3580
3580
|
yScaleFactor: 1,
|
|
3581
3581
|
containerWidth: A,
|
|
@@ -3585,7 +3585,7 @@ function ci(e, t, i, s, n, r, o) {
|
|
|
3585
3585
|
my: (v - 15) / v
|
|
3586
3586
|
}
|
|
3587
3587
|
});
|
|
3588
|
-
x("adhoc", y,
|
|
3588
|
+
x("adhoc", y, T, {
|
|
3589
3589
|
strokeWidth: 1,
|
|
3590
3590
|
fill: L(c, l, u.stroke),
|
|
3591
3591
|
stroke: L(c, l, u.stroke)
|
|
@@ -3602,8 +3602,8 @@ function ci(e, t, i, s, n, r, o) {
|
|
|
3602
3602
|
width: nt(c, A),
|
|
3603
3603
|
height: qe(c, A)
|
|
3604
3604
|
};
|
|
3605
|
-
var v =
|
|
3606
|
-
|
|
3605
|
+
var v = Ie(c), T = u && u.includes("SubProcessMarker");
|
|
3606
|
+
T ? A = {
|
|
3607
3607
|
...A,
|
|
3608
3608
|
seq: -21,
|
|
3609
3609
|
parallel: -22,
|
|
@@ -3630,10 +3630,10 @@ function ci(e, t, i, s, n, r, o) {
|
|
|
3630
3630
|
}
|
|
3631
3631
|
}, u);
|
|
3632
3632
|
var A = r.createText(c || "", u);
|
|
3633
|
-
return Xe(A).add("djs-label"),
|
|
3633
|
+
return Xe(A).add("djs-label"), Te(y, A), A;
|
|
3634
3634
|
}
|
|
3635
3635
|
function oe(y, c, u, A = {}) {
|
|
3636
|
-
var v =
|
|
3636
|
+
var v = Ie(c), T = Vi({
|
|
3637
3637
|
x: c.x,
|
|
3638
3638
|
y: c.y,
|
|
3639
3639
|
width: c.width,
|
|
@@ -3641,7 +3641,7 @@ function ci(e, t, i, s, n, r, o) {
|
|
|
3641
3641
|
}, A);
|
|
3642
3642
|
return pe(y, v.name, {
|
|
3643
3643
|
align: u,
|
|
3644
|
-
box:
|
|
3644
|
+
box: T,
|
|
3645
3645
|
padding: 7,
|
|
3646
3646
|
style: {
|
|
3647
3647
|
fill: Fi(c, g, l, A.stroke)
|
|
@@ -3668,7 +3668,7 @@ function ci(e, t, i, s, n, r, o) {
|
|
|
3668
3668
|
});
|
|
3669
3669
|
}
|
|
3670
3670
|
function yt(y, c, u, A = {}) {
|
|
3671
|
-
var v =
|
|
3671
|
+
var v = Tr(u), T = pe(y, c, {
|
|
3672
3672
|
box: {
|
|
3673
3673
|
height: 30,
|
|
3674
3674
|
width: v ? qe(u, A) : nt(u, A)
|
|
@@ -3680,7 +3680,7 @@ function ci(e, t, i, s, n, r, o) {
|
|
|
3680
3680
|
});
|
|
3681
3681
|
if (v) {
|
|
3682
3682
|
var H = -1 * qe(u, A);
|
|
3683
|
-
Xs(
|
|
3683
|
+
Xs(T, 0, -H, 270);
|
|
3684
3684
|
}
|
|
3685
3685
|
}
|
|
3686
3686
|
function Ne(y, c, u = {}) {
|
|
@@ -3696,18 +3696,18 @@ function ci(e, t, i, s, n, r, o) {
|
|
|
3696
3696
|
});
|
|
3697
3697
|
}
|
|
3698
3698
|
function kt(y, c, u = {}) {
|
|
3699
|
-
var A =
|
|
3700
|
-
return (A.get("associationDirection") === "One" || A.get("associationDirection") === "Both") && (u.markerEnd = J("association-end", v,
|
|
3699
|
+
var A = Ie(c), v = se(c, a, u.fill), T = L(c, l, u.stroke);
|
|
3700
|
+
return (A.get("associationDirection") === "One" || A.get("associationDirection") === "Both") && (u.markerEnd = J("association-end", v, T)), A.get("associationDirection") === "Both" && (u.markerStart = J("association-start", v, T)), u = ne(u, [
|
|
3701
3701
|
"markerStart",
|
|
3702
3702
|
"markerEnd"
|
|
3703
3703
|
]), B(y, c.waypoints, {
|
|
3704
3704
|
...u,
|
|
3705
|
-
stroke:
|
|
3705
|
+
stroke: T,
|
|
3706
3706
|
strokeDasharray: "0, 5"
|
|
3707
3707
|
});
|
|
3708
3708
|
}
|
|
3709
|
-
function
|
|
3710
|
-
var A = se(c, a, u.fill), v = L(c, l, u.stroke),
|
|
3709
|
+
function It(y, c, u = {}) {
|
|
3710
|
+
var A = se(c, a, u.fill), v = L(c, l, u.stroke), T = s.getScaledPath("DATA_OBJECT_PATH", {
|
|
3711
3711
|
xScaleFactor: 1,
|
|
3712
3712
|
yScaleFactor: 1,
|
|
3713
3713
|
containerWidth: c.width,
|
|
@@ -3716,12 +3716,12 @@ function ci(e, t, i, s, n, r, o) {
|
|
|
3716
3716
|
mx: 0.474,
|
|
3717
3717
|
my: 0.296
|
|
3718
3718
|
}
|
|
3719
|
-
}), H = R(y,
|
|
3719
|
+
}), H = R(y, T, {
|
|
3720
3720
|
fill: A,
|
|
3721
3721
|
fillOpacity: fi,
|
|
3722
3722
|
stroke: v
|
|
3723
|
-
}), ae =
|
|
3724
|
-
if (
|
|
3723
|
+
}), ae = Ie(c);
|
|
3724
|
+
if (Iu(ae)) {
|
|
3725
3725
|
var re = s.getScaledPath("DATA_OBJECT_COLLECTION_PATH", {
|
|
3726
3726
|
xScaleFactor: 1,
|
|
3727
3727
|
yScaleFactor: 1,
|
|
@@ -3749,7 +3749,7 @@ function ci(e, t, i, s, n, r, o) {
|
|
|
3749
3749
|
});
|
|
3750
3750
|
}
|
|
3751
3751
|
function P(y, c, u = {}) {
|
|
3752
|
-
return
|
|
3752
|
+
return I(y, c.width, c.height, {
|
|
3753
3753
|
fill: se(c, a, u.fill),
|
|
3754
3754
|
fillOpacity: fi,
|
|
3755
3755
|
stroke: L(c, l, u.stroke)
|
|
@@ -3761,10 +3761,10 @@ function ci(e, t, i, s, n, r, o) {
|
|
|
3761
3761
|
fillOpacity: u.fillOpacity || fi,
|
|
3762
3762
|
stroke: L(c, l, u.stroke),
|
|
3763
3763
|
strokeWidth: 1.5
|
|
3764
|
-
}), v =
|
|
3764
|
+
}), v = Ie(c);
|
|
3765
3765
|
if (Y(v, "bpmn:Lane")) {
|
|
3766
|
-
var
|
|
3767
|
-
yt(y,
|
|
3766
|
+
var T = v.get("name");
|
|
3767
|
+
yt(y, T, c, u);
|
|
3768
3768
|
}
|
|
3769
3769
|
return A;
|
|
3770
3770
|
}
|
|
@@ -3805,13 +3805,13 @@ function ci(e, t, i, s, n, r, o) {
|
|
|
3805
3805
|
"fill",
|
|
3806
3806
|
"stroke"
|
|
3807
3807
|
]);
|
|
3808
|
-
var v =
|
|
3808
|
+
var v = Ie(c), T = v.get("cancelActivity");
|
|
3809
3809
|
u = {
|
|
3810
3810
|
strokeWidth: 1.5,
|
|
3811
3811
|
fill: se(c, a, u.fill),
|
|
3812
3812
|
fillOpacity: Xu,
|
|
3813
3813
|
stroke: L(c, l, u.stroke)
|
|
3814
|
-
},
|
|
3814
|
+
}, T || (u.strokeDasharray = "6");
|
|
3815
3815
|
var H = N(y, c, u);
|
|
3816
3816
|
return K(y, c.width, c.height, fs, {
|
|
3817
3817
|
...u,
|
|
@@ -3828,8 +3828,8 @@ function ci(e, t, i, s, n, r, o) {
|
|
|
3828
3828
|
x: 8,
|
|
3829
3829
|
y: 8
|
|
3830
3830
|
}
|
|
3831
|
-
}),
|
|
3832
|
-
he(
|
|
3831
|
+
}), T = R(y, v);
|
|
3832
|
+
he(T, {
|
|
3833
3833
|
fill: se(c, a, u.fill),
|
|
3834
3834
|
stroke: L(c, l, u.stroke),
|
|
3835
3835
|
strokeWidth: 1
|
|
@@ -3881,7 +3881,7 @@ function ci(e, t, i, s, n, r, o) {
|
|
|
3881
3881
|
"fill",
|
|
3882
3882
|
"stroke"
|
|
3883
3883
|
]);
|
|
3884
|
-
var A = s.getRawPath("DATA_ARROW"), v =
|
|
3884
|
+
var A = s.getRawPath("DATA_ARROW"), v = It(y, c, u);
|
|
3885
3885
|
return R(y, A, {
|
|
3886
3886
|
fill: "none",
|
|
3887
3887
|
stroke: L(c, l, u.stroke),
|
|
@@ -3901,7 +3901,7 @@ function ci(e, t, i, s, n, r, o) {
|
|
|
3901
3901
|
return u = ne(u, [
|
|
3902
3902
|
"fill",
|
|
3903
3903
|
"stroke"
|
|
3904
|
-
]),
|
|
3904
|
+
]), It(y, c, u);
|
|
3905
3905
|
},
|
|
3906
3906
|
"bpmn:DataObjectReference": D("bpmn:DataObject"),
|
|
3907
3907
|
"bpmn:DataOutput": function(y, c, u = {}) {
|
|
@@ -3909,7 +3909,7 @@ function ci(e, t, i, s, n, r, o) {
|
|
|
3909
3909
|
"fill",
|
|
3910
3910
|
"stroke"
|
|
3911
3911
|
]);
|
|
3912
|
-
var A = s.getRawPath("DATA_ARROW"), v =
|
|
3912
|
+
var A = s.getRawPath("DATA_ARROW"), v = It(y, c, u);
|
|
3913
3913
|
return R(y, A, {
|
|
3914
3914
|
strokeWidth: 1,
|
|
3915
3915
|
fill: se(c, a, u.fill),
|
|
@@ -3964,13 +3964,13 @@ function ci(e, t, i, s, n, r, o) {
|
|
|
3964
3964
|
"fill",
|
|
3965
3965
|
"stroke"
|
|
3966
3966
|
]);
|
|
3967
|
-
var A =
|
|
3967
|
+
var A = Ie(c), v = P(y, c, u);
|
|
3968
3968
|
K(y, c.width, c.height, c.height * 0.2, {
|
|
3969
3969
|
fill: se(c, "none", u.fill),
|
|
3970
3970
|
stroke: L(c, l, u.stroke),
|
|
3971
3971
|
strokeWidth: 1
|
|
3972
3972
|
});
|
|
3973
|
-
var
|
|
3973
|
+
var T = A.get("eventGatewayType"), H = !!A.get("instantiate");
|
|
3974
3974
|
function ae() {
|
|
3975
3975
|
var ce = s.getScaledPath("GATEWAY_EVENT_BASED", {
|
|
3976
3976
|
xScaleFactor: 0.18,
|
|
@@ -3988,7 +3988,7 @@ function ci(e, t, i, s, n, r, o) {
|
|
|
3988
3988
|
strokeWidth: 2
|
|
3989
3989
|
});
|
|
3990
3990
|
}
|
|
3991
|
-
if (
|
|
3991
|
+
if (T === "Parallel") {
|
|
3992
3992
|
var re = s.getScaledPath("GATEWAY_PARALLEL", {
|
|
3993
3993
|
xScaleFactor: 0.4,
|
|
3994
3994
|
yScaleFactor: 0.4,
|
|
@@ -4005,7 +4005,7 @@ function ci(e, t, i, s, n, r, o) {
|
|
|
4005
4005
|
strokeWidth: 1
|
|
4006
4006
|
});
|
|
4007
4007
|
} else
|
|
4008
|
-
|
|
4008
|
+
T === "Exclusive" && (H || K(y, c.width, c.height, c.height * 0.26, {
|
|
4009
4009
|
fill: "none",
|
|
4010
4010
|
stroke: L(c, l, u.stroke),
|
|
4011
4011
|
strokeWidth: 1
|
|
@@ -4026,8 +4026,8 @@ function ci(e, t, i, s, n, r, o) {
|
|
|
4026
4026
|
mx: 0.32,
|
|
4027
4027
|
my: 0.3
|
|
4028
4028
|
}
|
|
4029
|
-
}),
|
|
4030
|
-
return
|
|
4029
|
+
}), T = ni(c);
|
|
4030
|
+
return T.get("isMarkerVisible") && R(y, v, {
|
|
4031
4031
|
fill: L(c, l, u.stroke),
|
|
4032
4032
|
stroke: L(c, l, u.stroke),
|
|
4033
4033
|
strokeWidth: 1
|
|
@@ -4118,9 +4118,9 @@ function ci(e, t, i, s, n, r, o) {
|
|
|
4118
4118
|
"fill",
|
|
4119
4119
|
"stroke"
|
|
4120
4120
|
]);
|
|
4121
|
-
var A =
|
|
4122
|
-
markerEnd: J("messageflow-end",
|
|
4123
|
-
markerStart: J("messageflow-start",
|
|
4121
|
+
var A = Ie(c), v = ni(c), T = se(c, a, u.fill), H = L(c, l, u.stroke), ae = B(y, c.waypoints, {
|
|
4122
|
+
markerEnd: J("messageflow-end", T, H),
|
|
4123
|
+
markerStart: J("messageflow-start", T, H),
|
|
4124
4124
|
stroke: H,
|
|
4125
4125
|
strokeDasharray: "10, 11",
|
|
4126
4126
|
strokeWidth: 1.5
|
|
@@ -4134,7 +4134,7 @@ function ci(e, t, i, s, n, r, o) {
|
|
|
4134
4134
|
}), Pe = {
|
|
4135
4135
|
strokeWidth: 1
|
|
4136
4136
|
};
|
|
4137
|
-
v.get("messageVisibleKind") === "initiating" ? (Pe.fill =
|
|
4137
|
+
v.get("messageVisibleKind") === "initiating" ? (Pe.fill = T, Pe.stroke = H) : (Pe.fill = H, Pe.stroke = T);
|
|
4138
4138
|
var de = R(y, ce, Pe), St = A.get("messageRef"), ss = St.get("name"), _e = pe(y, ss, {
|
|
4139
4139
|
align: "center-top",
|
|
4140
4140
|
fitBox: !0,
|
|
@@ -4174,9 +4174,9 @@ function ci(e, t, i, s, n, r, o) {
|
|
|
4174
4174
|
"width",
|
|
4175
4175
|
"height"
|
|
4176
4176
|
]);
|
|
4177
|
-
var A = _(y, c, u), v = Yt(c),
|
|
4177
|
+
var A = _(y, c, u), v = Yt(c), T = Tr(c), H = Ie(c), ae = H.get("name");
|
|
4178
4178
|
if (v) {
|
|
4179
|
-
var re =
|
|
4179
|
+
var re = T ? [
|
|
4180
4180
|
{
|
|
4181
4181
|
x: 30,
|
|
4182
4182
|
y: 0
|
|
@@ -4201,7 +4201,7 @@ function ci(e, t, i, s, n, r, o) {
|
|
|
4201
4201
|
}), yt(y, ae, c, u);
|
|
4202
4202
|
} else {
|
|
4203
4203
|
var ce = Vi(c, u);
|
|
4204
|
-
|
|
4204
|
+
T || (ce.height = nt(c, u), ce.width = qe(c, u));
|
|
4205
4205
|
var Pe = pe(y, ae, {
|
|
4206
4206
|
box: ce,
|
|
4207
4207
|
align: "center-middle",
|
|
@@ -4209,7 +4209,7 @@ function ci(e, t, i, s, n, r, o) {
|
|
|
4209
4209
|
fill: Fi(c, g, l, u.stroke)
|
|
4210
4210
|
}
|
|
4211
4211
|
});
|
|
4212
|
-
if (!
|
|
4212
|
+
if (!T) {
|
|
4213
4213
|
var de = -1 * qe(c, u);
|
|
4214
4214
|
Xs(Pe, 0, -de, 270);
|
|
4215
4215
|
}
|
|
@@ -4221,17 +4221,17 @@ function ci(e, t, i, s, n, r, o) {
|
|
|
4221
4221
|
"fill",
|
|
4222
4222
|
"stroke"
|
|
4223
4223
|
]);
|
|
4224
|
-
var A =
|
|
4224
|
+
var A = Ie(c), v = Me(y, c, u), T;
|
|
4225
4225
|
return A.get("instantiate") ? (K(y, 28, 28, 20 * 0.22, {
|
|
4226
4226
|
fill: se(c, a, u.fill),
|
|
4227
4227
|
stroke: L(c, l, u.stroke),
|
|
4228
4228
|
strokeWidth: 1
|
|
4229
|
-
}),
|
|
4229
|
+
}), T = s.getScaledPath("TASK_TYPE_INSTANTIATING_SEND", {
|
|
4230
4230
|
abspos: {
|
|
4231
4231
|
x: 7.77,
|
|
4232
4232
|
y: 9.52
|
|
4233
4233
|
}
|
|
4234
|
-
})) :
|
|
4234
|
+
})) : T = s.getScaledPath("TASK_TYPE_SEND", {
|
|
4235
4235
|
xScaleFactor: 0.9,
|
|
4236
4236
|
yScaleFactor: 0.9,
|
|
4237
4237
|
containerWidth: 21,
|
|
@@ -4240,7 +4240,7 @@ function ci(e, t, i, s, n, r, o) {
|
|
|
4240
4240
|
mx: 0.3,
|
|
4241
4241
|
my: 0.4
|
|
4242
4242
|
}
|
|
4243
|
-
}), R(y,
|
|
4243
|
+
}), R(y, T, {
|
|
4244
4244
|
fill: se(c, a, u.fill),
|
|
4245
4245
|
stroke: L(c, l, u.stroke),
|
|
4246
4246
|
strokeWidth: 1
|
|
@@ -4289,19 +4289,19 @@ function ci(e, t, i, s, n, r, o) {
|
|
|
4289
4289
|
"fill",
|
|
4290
4290
|
"stroke"
|
|
4291
4291
|
]);
|
|
4292
|
-
var A = se(c, a, u.fill), v = L(c, l, u.stroke),
|
|
4292
|
+
var A = se(c, a, u.fill), v = L(c, l, u.stroke), T = B(y, c.waypoints, {
|
|
4293
4293
|
markerEnd: J("sequenceflow-end", A, v),
|
|
4294
4294
|
stroke: v
|
|
4295
|
-
}), H =
|
|
4295
|
+
}), H = Ie(c), { source: ae } = c;
|
|
4296
4296
|
if (ae) {
|
|
4297
|
-
var re =
|
|
4298
|
-
H.get("conditionExpression") && Y(re, "bpmn:Activity") && he(
|
|
4297
|
+
var re = Ie(ae);
|
|
4298
|
+
H.get("conditionExpression") && Y(re, "bpmn:Activity") && he(T, {
|
|
4299
4299
|
markerStart: J("conditional-flow-marker", A, v)
|
|
4300
|
-
}), re.get("default") && (Y(re, "bpmn:Gateway") || Y(re, "bpmn:Activity")) && re.get("default") === H && he(
|
|
4300
|
+
}), re.get("default") && (Y(re, "bpmn:Gateway") || Y(re, "bpmn:Activity")) && re.get("default") === H && he(T, {
|
|
4301
4301
|
markerStart: J("conditional-default-flow-marker", A, v)
|
|
4302
4302
|
});
|
|
4303
4303
|
}
|
|
4304
|
-
return
|
|
4304
|
+
return T;
|
|
4305
4305
|
},
|
|
4306
4306
|
"bpmn:ServiceTask": function(y, c, u = {}) {
|
|
4307
4307
|
u = ne(u, [
|
|
@@ -4329,13 +4329,13 @@ function ci(e, t, i, s, n, r, o) {
|
|
|
4329
4329
|
stroke: "none",
|
|
4330
4330
|
transform: "translate(11, 10)"
|
|
4331
4331
|
});
|
|
4332
|
-
var
|
|
4332
|
+
var T = s.getScaledPath("TASK_TYPE_SERVICE", {
|
|
4333
4333
|
abspos: {
|
|
4334
4334
|
x: 17,
|
|
4335
4335
|
y: 22
|
|
4336
4336
|
}
|
|
4337
4337
|
});
|
|
4338
|
-
return R(y,
|
|
4338
|
+
return R(y, T, {
|
|
4339
4339
|
fill: se(c, a, u.fill),
|
|
4340
4340
|
stroke: L(c, l, u.stroke),
|
|
4341
4341
|
strokeWidth: 1
|
|
@@ -4347,13 +4347,13 @@ function ci(e, t, i, s, n, r, o) {
|
|
|
4347
4347
|
"fill",
|
|
4348
4348
|
"stroke"
|
|
4349
4349
|
]);
|
|
4350
|
-
var v =
|
|
4350
|
+
var v = Ie(c);
|
|
4351
4351
|
v.get("isInterrupting") || (u = {
|
|
4352
4352
|
...u,
|
|
4353
4353
|
strokeDasharray: "6"
|
|
4354
4354
|
});
|
|
4355
|
-
var
|
|
4356
|
-
return A && F(c, y, u),
|
|
4355
|
+
var T = N(y, c, u);
|
|
4356
|
+
return A && F(c, y, u), T;
|
|
4357
4357
|
},
|
|
4358
4358
|
"bpmn:SubProcess": function(y, c, u = {}) {
|
|
4359
4359
|
return Yt(c) ? u = ne(u, [
|
|
@@ -4382,7 +4382,7 @@ function ci(e, t, i, s, n, r, o) {
|
|
|
4382
4382
|
var {
|
|
4383
4383
|
width: A,
|
|
4384
4384
|
height: v
|
|
4385
|
-
} = Vi(c, u),
|
|
4385
|
+
} = Vi(c, u), T = S(y, A, v, 0, 0, {
|
|
4386
4386
|
fill: "none",
|
|
4387
4387
|
stroke: "none"
|
|
4388
4388
|
}), H = s.getScaledPath("TEXT_ANNOTATION", {
|
|
@@ -4398,7 +4398,7 @@ function ci(e, t, i, s, n, r, o) {
|
|
|
4398
4398
|
R(y, H, {
|
|
4399
4399
|
stroke: L(c, l, u.stroke)
|
|
4400
4400
|
});
|
|
4401
|
-
var ae =
|
|
4401
|
+
var ae = Ie(c), re = ae.get("text") || "";
|
|
4402
4402
|
return pe(y, re, {
|
|
4403
4403
|
align: "left-top",
|
|
4404
4404
|
box: Vi(c, u),
|
|
@@ -4406,7 +4406,7 @@ function ci(e, t, i, s, n, r, o) {
|
|
|
4406
4406
|
style: {
|
|
4407
4407
|
fill: Fi(c, g, l, u.stroke)
|
|
4408
4408
|
}
|
|
4409
|
-
}),
|
|
4409
|
+
}), T;
|
|
4410
4410
|
},
|
|
4411
4411
|
"bpmn:Transaction": function(y, c, u = {}) {
|
|
4412
4412
|
Yt(c) ? u = ne(u, [
|
|
@@ -4424,8 +4424,8 @@ function ci(e, t, i, s, n, r, o) {
|
|
|
4424
4424
|
}), v = i.style(["no-fill", "no-events"], {
|
|
4425
4425
|
stroke: L(c, l, u.stroke),
|
|
4426
4426
|
strokeWidth: 1.5
|
|
4427
|
-
}),
|
|
4428
|
-
return
|
|
4427
|
+
}), T = Yt(c);
|
|
4428
|
+
return T || (u = {}), S(
|
|
4429
4429
|
y,
|
|
4430
4430
|
nt(c, u),
|
|
4431
4431
|
qe(c, u),
|
|
@@ -4439,10 +4439,10 @@ function ci(e, t, i, s, n, r, o) {
|
|
|
4439
4439
|
"fill",
|
|
4440
4440
|
"stroke"
|
|
4441
4441
|
]);
|
|
4442
|
-
var A = Me(y, c, u), v = 15,
|
|
4442
|
+
var A = Me(y, c, u), v = 15, T = 12, H = s.getScaledPath("TASK_TYPE_USER_1", {
|
|
4443
4443
|
abspos: {
|
|
4444
4444
|
x: v,
|
|
4445
|
-
y:
|
|
4445
|
+
y: T
|
|
4446
4446
|
}
|
|
4447
4447
|
});
|
|
4448
4448
|
R(y, H, {
|
|
@@ -4453,7 +4453,7 @@ function ci(e, t, i, s, n, r, o) {
|
|
|
4453
4453
|
var ae = s.getScaledPath("TASK_TYPE_USER_2", {
|
|
4454
4454
|
abspos: {
|
|
4455
4455
|
x: v,
|
|
4456
|
-
y:
|
|
4456
|
+
y: T
|
|
4457
4457
|
}
|
|
4458
4458
|
});
|
|
4459
4459
|
R(y, ae, {
|
|
@@ -4464,7 +4464,7 @@ function ci(e, t, i, s, n, r, o) {
|
|
|
4464
4464
|
var re = s.getScaledPath("TASK_TYPE_USER_3", {
|
|
4465
4465
|
abspos: {
|
|
4466
4466
|
x: v,
|
|
4467
|
-
y:
|
|
4467
|
+
y: T
|
|
4468
4468
|
}
|
|
4469
4469
|
});
|
|
4470
4470
|
return R(y, re, {
|
|
@@ -4500,7 +4500,7 @@ ci.prototype.drawConnection = function(e, t, i = {}) {
|
|
|
4500
4500
|
return n(e, t, i);
|
|
4501
4501
|
};
|
|
4502
4502
|
ci.prototype.getShapePath = function(e) {
|
|
4503
|
-
return Y(e, "bpmn:Event") ?
|
|
4503
|
+
return Y(e, "bpmn:Event") ? Tu(e) : Y(e, "bpmn:Activity") ? Eu(e, ws) : Y(e, "bpmn:Gateway") ? xu(e) : Nu(e);
|
|
4504
4504
|
};
|
|
4505
4505
|
function ne(e, t = []) {
|
|
4506
4506
|
return t.reduce((i, s) => (e[s] && (i[s] = e[s]), i), {});
|
|
@@ -4602,12 +4602,12 @@ js.prototype.layoutText = function(e, t) {
|
|
|
4602
4602
|
var i = Z({}, this._config.size, t.box), s = Z({}, this._config.style, t.style), n = tp(t.align || this._config.align), r = ip(t.padding !== void 0 ? t.padding : this._config.padding), o = t.fitBox || !1, a = cp(s), l = e.split(/\u00AD?\r?\n/), g = [], h = i.width - r.left - r.right, d = me("text");
|
|
4603
4603
|
he(d, { x: 0, y: 0 }), he(d, s);
|
|
4604
4604
|
var b = lp();
|
|
4605
|
-
for (
|
|
4605
|
+
for (Te(b, d); l.length; )
|
|
4606
4606
|
g.push(np(l, h, d));
|
|
4607
4607
|
n.vertical === "middle" && (r.top = r.bottom = 0);
|
|
4608
|
-
var w =
|
|
4608
|
+
var w = Ti(g, function(K, S, I) {
|
|
4609
4609
|
return K + (a || S.height);
|
|
4610
|
-
}, 0) + r.top + r.bottom, E =
|
|
4610
|
+
}, 0) + r.top + r.bottom, E = Ti(g, function(K, S, I) {
|
|
4611
4611
|
return S.width > K ? S.width : K;
|
|
4612
4612
|
}, 0), q = r.top;
|
|
4613
4613
|
n.vertical === "middle" && (q += (i.height - w) / 2), q -= (a || g[0].height) / 4;
|
|
@@ -4624,8 +4624,8 @@ js.prototype.layoutText = function(e, t) {
|
|
|
4624
4624
|
default:
|
|
4625
4625
|
S = Math.max(((o ? E : h) - K.width) / 2 + r.left, 0);
|
|
4626
4626
|
}
|
|
4627
|
-
var
|
|
4628
|
-
he(
|
|
4627
|
+
var I = me("tspan");
|
|
4628
|
+
he(I, { x: S, y: q }), I.textContent = K.text, Te(J, I);
|
|
4629
4629
|
}), Yi(d);
|
|
4630
4630
|
var ee = {
|
|
4631
4631
|
width: E,
|
|
@@ -5006,7 +5006,7 @@ function kp(e) {
|
|
|
5006
5006
|
for (var t = e.waypoints, i = t.reduce(function(g, h, d) {
|
|
5007
5007
|
var b = t[d - 1];
|
|
5008
5008
|
if (b) {
|
|
5009
|
-
var w = g[g.length - 1], E = w && w.endLength || 0, q =
|
|
5009
|
+
var w = g[g.length - 1], E = w && w.endLength || 0, q = Ip(b, h);
|
|
5010
5010
|
g.push({
|
|
5011
5011
|
start: b,
|
|
5012
5012
|
end: h,
|
|
@@ -5029,7 +5029,7 @@ function kp(e) {
|
|
|
5029
5029
|
function vn(e) {
|
|
5030
5030
|
return Xd(e) ? kp(e) : Cp(e);
|
|
5031
5031
|
}
|
|
5032
|
-
function
|
|
5032
|
+
function Ip(e, t) {
|
|
5033
5033
|
return Math.sqrt(Math.pow(e.x - t.x, 2) + Math.pow(e.y - t.y, 2));
|
|
5034
5034
|
}
|
|
5035
5035
|
function Be(e) {
|
|
@@ -5043,7 +5043,7 @@ function Cs(e, t, i) {
|
|
|
5043
5043
|
di: t
|
|
5044
5044
|
}, i);
|
|
5045
5045
|
}
|
|
5046
|
-
function
|
|
5046
|
+
function Tp(e, t, i) {
|
|
5047
5047
|
var s = e.waypoint;
|
|
5048
5048
|
return !s || s.length < 2 ? [vn(t), vn(i)] : s.map(function(n) {
|
|
5049
5049
|
return { x: n.x, y: n.y };
|
|
@@ -5091,7 +5091,7 @@ Nt.prototype.add = function(e, t, i) {
|
|
|
5091
5091
|
hidden: r,
|
|
5092
5092
|
source: d,
|
|
5093
5093
|
target: b,
|
|
5094
|
-
waypoints:
|
|
5094
|
+
waypoints: Tp(t, d, b)
|
|
5095
5095
|
})), Y(e, "bpmn:DataAssociation") && (i = this._canvas.findRoot(i)), this._canvas.addConnection(s, i, o);
|
|
5096
5096
|
} else
|
|
5097
5097
|
throw new Error(n("unknown di {di} for element {semantic}", {
|
|
@@ -5273,7 +5273,7 @@ function na(e, t, i) {
|
|
|
5273
5273
|
var V = x.element, D = x.gfx;
|
|
5274
5274
|
s.updateDefaultHit(V, D);
|
|
5275
5275
|
});
|
|
5276
|
-
var J = M("djs-hit djs-hit-stroke"), ee = M("djs-hit djs-hit-click-stroke"), K = M("djs-hit djs-hit-all"), S = M("djs-hit djs-hit-no-move"),
|
|
5276
|
+
var J = M("djs-hit djs-hit-stroke"), ee = M("djs-hit djs-hit-click-stroke"), K = M("djs-hit djs-hit-all"), S = M("djs-hit djs-hit-no-move"), I = {
|
|
5277
5277
|
all: K,
|
|
5278
5278
|
"click-stroke": ee,
|
|
5279
5279
|
stroke: J,
|
|
@@ -5286,13 +5286,13 @@ function na(e, t, i) {
|
|
|
5286
5286
|
}, V || {}), i.cls(x, ["no-fill", "no-border"], V);
|
|
5287
5287
|
}
|
|
5288
5288
|
function B(x, V) {
|
|
5289
|
-
var D =
|
|
5289
|
+
var D = I[V];
|
|
5290
5290
|
if (!D)
|
|
5291
5291
|
throw new Error("invalid hit type <" + V + ">");
|
|
5292
5292
|
return he(x, D), x;
|
|
5293
5293
|
}
|
|
5294
5294
|
function R(x, V) {
|
|
5295
|
-
|
|
5295
|
+
Te(x, V);
|
|
5296
5296
|
}
|
|
5297
5297
|
this.removeHits = function(x) {
|
|
5298
5298
|
var V = qu(".djs-hit", x);
|
|
@@ -5368,10 +5368,10 @@ function di(e, t) {
|
|
|
5368
5368
|
}
|
|
5369
5369
|
e.on(["shape.added", "shape.changed"], Lp, function(r) {
|
|
5370
5370
|
var o = r.element, a = r.gfx, l = ct(".djs-outline", a);
|
|
5371
|
-
l || (l = s.getOutline(o) || n(),
|
|
5371
|
+
l || (l = s.getOutline(o) || n(), Te(a, l)), s.updateShapeOutline(l, o);
|
|
5372
5372
|
}), e.on(["connection.added", "connection.changed"], function(r) {
|
|
5373
5373
|
var o = r.element, a = r.gfx, l = ct(".djs-outline", a);
|
|
5374
|
-
l || (l = n(),
|
|
5374
|
+
l || (l = n(), Te(a, l)), s.updateConnectionOutline(l, o);
|
|
5375
5375
|
});
|
|
5376
5376
|
}
|
|
5377
5377
|
di.prototype.updateShapeOutline = function(e, t) {
|
|
@@ -5497,7 +5497,7 @@ qn.prototype._updateSelectionOutline = function(e) {
|
|
|
5497
5497
|
var n = jp(oi(e)), r = me("rect");
|
|
5498
5498
|
he(r, Z({
|
|
5499
5499
|
rx: 3
|
|
5500
|
-
}, n)), Xe(r).add("djs-selection-outline"),
|
|
5500
|
+
}, n)), Xe(r).add("djs-selection-outline"), Te(t, r);
|
|
5501
5501
|
}
|
|
5502
5502
|
};
|
|
5503
5503
|
function jp(e) {
|
|
@@ -5576,9 +5576,9 @@ De.$inject = [
|
|
|
5576
5576
|
De.prototype.get = function(e) {
|
|
5577
5577
|
if (pt(e) && (e = { id: e }), pt(e.element) && (e.element = this._elementRegistry.get(e.element)), e.element) {
|
|
5578
5578
|
var t = this._getOverlayContainer(e.element, !0);
|
|
5579
|
-
return t ? e.type ?
|
|
5579
|
+
return t ? e.type ? Ii(t.overlays, Ir({ type: e.type })) : t.overlays.slice() : [];
|
|
5580
5580
|
} else
|
|
5581
|
-
return e.type ?
|
|
5581
|
+
return e.type ? Ii(this._overlays, Ir({ type: e.type })) : e.id ? this._overlays[e.id] : null;
|
|
5582
5582
|
};
|
|
5583
5583
|
De.prototype.add = function(e, t, i) {
|
|
5584
5584
|
if (si(t) && (i = t, t = null), e.id || (e = this._elementRegistry.get(e)), !i.position)
|
|
@@ -5845,7 +5845,7 @@ function ha(e, t, i) {
|
|
|
5845
5845
|
n.appendChild(s);
|
|
5846
5846
|
var o = [];
|
|
5847
5847
|
e.on("element.changed", function(l) {
|
|
5848
|
-
var g = l.element, h =
|
|
5848
|
+
var g = l.element, h = Ie(g), d = ht(o, function(b) {
|
|
5849
5849
|
return b === h;
|
|
5850
5850
|
});
|
|
5851
5851
|
!d || a();
|
|
@@ -5856,7 +5856,7 @@ function ha(e, t, i) {
|
|
|
5856
5856
|
var b = zp(d.name || d.id), w = Ze('<li><span class="bjs-crumb"><a title="' + b + '">' + b + "</a></span></li>"), E = i.findRoot(Kn(d)) || i.findRoot(d.id);
|
|
5857
5857
|
if (!E && Y(d, "bpmn:Process")) {
|
|
5858
5858
|
var q = t.find(function(J) {
|
|
5859
|
-
var ee =
|
|
5859
|
+
var ee = Ie(J);
|
|
5860
5860
|
return ee && ee.get("processRef") && ee.get("processRef") === d;
|
|
5861
5861
|
});
|
|
5862
5862
|
E = i.findRoot(q.id);
|
|
@@ -5877,7 +5877,7 @@ function ha(e, t, i) {
|
|
|
5877
5877
|
}
|
|
5878
5878
|
ha.$inject = ["eventBus", "elementRegistry", "canvas"];
|
|
5879
5879
|
function eh(e) {
|
|
5880
|
-
for (var t =
|
|
5880
|
+
for (var t = Ie(e), i = [], s = t; s; s = s.$parent)
|
|
5881
5881
|
(Y(s, "bpmn:SubProcess") || Y(s, "bpmn:Process")) && i.push(s);
|
|
5882
5882
|
return i.reverse();
|
|
5883
5883
|
}
|
|
@@ -6070,7 +6070,7 @@ Jt.prototype._canDrillDown = function(e) {
|
|
|
6070
6070
|
return Y(e, "bpmn:SubProcess") && t.findRoot(Kn(e));
|
|
6071
6071
|
};
|
|
6072
6072
|
Jt.prototype._updateOverlayVisibility = function(e) {
|
|
6073
|
-
var t = this._overlays, i =
|
|
6073
|
+
var t = this._overlays, i = Ie(e), s = t.get({ element: i.id, type: "drilldown" })[0];
|
|
6074
6074
|
if (!!s) {
|
|
6075
6075
|
var n = i && i.get("flowElements") && i.get("flowElements").length;
|
|
6076
6076
|
ri(s.html).toggle(rh, !n);
|
|
@@ -6140,16 +6140,16 @@ function ph(e) {
|
|
|
6140
6140
|
}
|
|
6141
6141
|
function ga(e, t) {
|
|
6142
6142
|
const i = t || {
|
|
6143
|
-
get: function(S,
|
|
6144
|
-
if (s.push(S),
|
|
6143
|
+
get: function(S, I) {
|
|
6144
|
+
if (s.push(S), I === !1)
|
|
6145
6145
|
return null;
|
|
6146
6146
|
throw a(`No provider for "${S}"!`);
|
|
6147
6147
|
}
|
|
6148
6148
|
}, s = [], n = this._providers = Object.create(i._providers || null), r = this._instances = /* @__PURE__ */ Object.create(null), o = r.injector = this, a = function(S) {
|
|
6149
|
-
const
|
|
6150
|
-
return s.length = 0, new Error(
|
|
6149
|
+
const I = s.join(" -> ");
|
|
6150
|
+
return s.length = 0, new Error(I ? `${S} (Resolving: ${I})` : S);
|
|
6151
6151
|
};
|
|
6152
|
-
function l(S,
|
|
6152
|
+
function l(S, I) {
|
|
6153
6153
|
if (!n[S] && S.includes(".")) {
|
|
6154
6154
|
const M = S.split(".");
|
|
6155
6155
|
let B = l(M.shift());
|
|
@@ -6164,15 +6164,15 @@ function ga(e, t) {
|
|
|
6164
6164
|
throw s.push(S), a("Cannot resolve circular dependency!");
|
|
6165
6165
|
return s.push(S), r[S] = n[S][0](n[S][1]), s.pop(), r[S];
|
|
6166
6166
|
}
|
|
6167
|
-
return i.get(S,
|
|
6167
|
+
return i.get(S, I);
|
|
6168
6168
|
}
|
|
6169
|
-
function g(S,
|
|
6170
|
-
if (typeof
|
|
6169
|
+
function g(S, I) {
|
|
6170
|
+
if (typeof I > "u" && (I = {}), typeof S != "function")
|
|
6171
6171
|
if (Hn(S))
|
|
6172
6172
|
S = ks(S.slice());
|
|
6173
6173
|
else
|
|
6174
6174
|
throw a(`Cannot invoke "${S}". Expected a function!`);
|
|
6175
|
-
const B = (S.$inject || ph(S)).map((R) => Zs(
|
|
6175
|
+
const B = (S.$inject || ph(S)).map((R) => Zs(I, R) ? I[R] : l(R));
|
|
6176
6176
|
return {
|
|
6177
6177
|
fn: S,
|
|
6178
6178
|
dependencies: B
|
|
@@ -6180,30 +6180,30 @@ function ga(e, t) {
|
|
|
6180
6180
|
}
|
|
6181
6181
|
function h(S) {
|
|
6182
6182
|
const {
|
|
6183
|
-
fn:
|
|
6183
|
+
fn: I,
|
|
6184
6184
|
dependencies: M
|
|
6185
|
-
} = g(S), B = Function.prototype.bind.call(
|
|
6185
|
+
} = g(S), B = Function.prototype.bind.call(I, null, ...M);
|
|
6186
6186
|
return new B();
|
|
6187
6187
|
}
|
|
6188
|
-
function d(S,
|
|
6188
|
+
function d(S, I, M) {
|
|
6189
6189
|
const {
|
|
6190
6190
|
fn: B,
|
|
6191
6191
|
dependencies: R
|
|
6192
6192
|
} = g(S, M);
|
|
6193
|
-
return B.apply(
|
|
6193
|
+
return B.apply(I, R);
|
|
6194
6194
|
}
|
|
6195
6195
|
function b(S) {
|
|
6196
|
-
return ks((
|
|
6196
|
+
return ks((I) => S.get(I));
|
|
6197
6197
|
}
|
|
6198
|
-
function w(S,
|
|
6199
|
-
if (
|
|
6198
|
+
function w(S, I) {
|
|
6199
|
+
if (I && I.length) {
|
|
6200
6200
|
const M = /* @__PURE__ */ Object.create(null), B = /* @__PURE__ */ Object.create(null), R = [], x = [], V = [];
|
|
6201
6201
|
let D, j, F, W;
|
|
6202
6202
|
for (let te in n)
|
|
6203
|
-
D = n[te],
|
|
6203
|
+
D = n[te], I.indexOf(te) !== -1 && (D[2] === "private" ? (j = R.indexOf(D[3]), j === -1 ? (F = D[3].createChild([], I), W = b(F), R.push(D[3]), x.push(F), V.push(W), M[te] = [W, te, "private", F]) : M[te] = [V[j], te, "private", x[j]]) : M[te] = [D[2], D[1]], B[te] = !0), (D[2] === "factory" || D[2] === "type") && D[1].$scope && I.forEach((at) => {
|
|
6204
6204
|
D[1].$scope.indexOf(at) !== -1 && (M[te] = [D[2], D[1]], B[at] = !0);
|
|
6205
6205
|
});
|
|
6206
|
-
|
|
6206
|
+
I.forEach((te) => {
|
|
6207
6207
|
if (!B[te])
|
|
6208
6208
|
throw new Error('No provider for "' + te + '". Cannot use provider from the parent!');
|
|
6209
6209
|
}), S.unshift(M);
|
|
@@ -6217,21 +6217,21 @@ function ga(e, t) {
|
|
|
6217
6217
|
return S;
|
|
6218
6218
|
}
|
|
6219
6219
|
};
|
|
6220
|
-
function q(S,
|
|
6220
|
+
function q(S, I) {
|
|
6221
6221
|
const M = S.__init__ || [];
|
|
6222
6222
|
return function() {
|
|
6223
6223
|
M.forEach((B) => {
|
|
6224
|
-
typeof B == "string" ?
|
|
6224
|
+
typeof B == "string" ? I.get(B) : I.invoke(B);
|
|
6225
6225
|
});
|
|
6226
6226
|
};
|
|
6227
6227
|
}
|
|
6228
6228
|
function J(S) {
|
|
6229
|
-
const
|
|
6230
|
-
if (
|
|
6229
|
+
const I = S.__exports__;
|
|
6230
|
+
if (I) {
|
|
6231
6231
|
const M = S.__modules__, B = Object.keys(S).reduce((j, F) => (F !== "__exports__" && F !== "__modules__" && F !== "__init__" && F !== "__depends__" && (j[F] = S[F]), j), /* @__PURE__ */ Object.create(null)), R = (M || []).concat(B), x = w(R), V = ks(function(j) {
|
|
6232
6232
|
return x.get(j);
|
|
6233
6233
|
});
|
|
6234
|
-
|
|
6234
|
+
I.forEach(function(j) {
|
|
6235
6235
|
n[j] = [V, j, "private", x];
|
|
6236
6236
|
});
|
|
6237
6237
|
const D = (S.__init__ || []).slice();
|
|
@@ -6253,14 +6253,14 @@ function ga(e, t) {
|
|
|
6253
6253
|
n[M] = [E[R], hh(R, x), R];
|
|
6254
6254
|
}), q(S, o);
|
|
6255
6255
|
}
|
|
6256
|
-
function ee(S,
|
|
6257
|
-
return S.indexOf(
|
|
6256
|
+
function ee(S, I) {
|
|
6257
|
+
return S.indexOf(I) !== -1 || (S = (I.__depends__ || []).reduce(ee, S), S.indexOf(I) !== -1) ? S : S.concat(I);
|
|
6258
6258
|
}
|
|
6259
6259
|
function K(S) {
|
|
6260
|
-
const
|
|
6260
|
+
const I = S.reduce(ee, []).map(J);
|
|
6261
6261
|
let M = !1;
|
|
6262
6262
|
return function() {
|
|
6263
|
-
M || (M = !0,
|
|
6263
|
+
M || (M = !0, I.forEach((B) => B()));
|
|
6264
6264
|
};
|
|
6265
6265
|
}
|
|
6266
6266
|
this.get = l, this.invoke = d, this.instantiate = h, this.createChild = w, this.init = K(e);
|
|
@@ -6283,11 +6283,11 @@ Kt.prototype.drawShape = function(t, i, s) {
|
|
|
6283
6283
|
y: 0,
|
|
6284
6284
|
width: i.width || 0,
|
|
6285
6285
|
height: i.height || 0
|
|
6286
|
-
}), oa(i) ? he(n, Z({}, this.FRAME_STYLE, s || {})) : he(n, Z({}, this.SHAPE_STYLE, s || {})),
|
|
6286
|
+
}), oa(i) ? he(n, Z({}, this.FRAME_STYLE, s || {})) : he(n, Z({}, this.SHAPE_STYLE, s || {})), Te(t, n), n;
|
|
6287
6287
|
};
|
|
6288
6288
|
Kt.prototype.drawConnection = function(t, i, s) {
|
|
6289
6289
|
var n = Un(i.waypoints, Z({}, this.CONNECTION_STYLE, s || {}));
|
|
6290
|
-
return
|
|
6290
|
+
return Te(t, n), n;
|
|
6291
6291
|
};
|
|
6292
6292
|
Kt.prototype.getShapePath = function(t) {
|
|
6293
6293
|
var i = t.x, s = t.y, n = t.width, r = t.height, o = [
|
|
@@ -6323,7 +6323,7 @@ function mh() {
|
|
|
6323
6323
|
return Z(r, { class: i });
|
|
6324
6324
|
}, this.style = function(i, s) {
|
|
6325
6325
|
!ut(i) && !s && (s = i, i = []);
|
|
6326
|
-
var n =
|
|
6326
|
+
var n = Ti(i, function(r, o) {
|
|
6327
6327
|
return Z(r, e[o] || {});
|
|
6328
6328
|
}, {});
|
|
6329
6329
|
return s ? Z(n, s) : n;
|
|
@@ -6357,7 +6357,7 @@ function Ah(e, t, i) {
|
|
|
6357
6357
|
i !== -1 ? e.splice(i, 0, t) : e.push(t);
|
|
6358
6358
|
}
|
|
6359
6359
|
}
|
|
6360
|
-
function
|
|
6360
|
+
function Is(e, t) {
|
|
6361
6361
|
return Math.round(e * t) / t;
|
|
6362
6362
|
}
|
|
6363
6363
|
function Fr(e) {
|
|
@@ -6399,7 +6399,7 @@ $.$inject = [
|
|
|
6399
6399
|
];
|
|
6400
6400
|
$.prototype._init = function(e) {
|
|
6401
6401
|
const t = this._eventBus, i = this._container = vh(e), s = this._svg = me("svg");
|
|
6402
|
-
he(s, { width: "100%", height: "100%" }),
|
|
6402
|
+
he(s, { width: "100%", height: "100%" }), Te(i, s);
|
|
6403
6403
|
const n = this._viewport = ya(s, "viewport");
|
|
6404
6404
|
e.deferUpdate && (this._viewboxChanged = qd(jt(this._viewboxChanged, this), 300)), t.on("diagram.init", () => {
|
|
6405
6405
|
t.fire("canvas.init", {
|
|
@@ -6443,7 +6443,7 @@ $.prototype.getLayer = function(e, t) {
|
|
|
6443
6443
|
return i.group;
|
|
6444
6444
|
};
|
|
6445
6445
|
$.prototype._getChildIndex = function(e) {
|
|
6446
|
-
return
|
|
6446
|
+
return Ti(this._layers, function(t, i) {
|
|
6447
6447
|
return i.visible && e >= i.index && t++, t;
|
|
6448
6448
|
}, 0);
|
|
6449
6449
|
};
|
|
@@ -6629,7 +6629,7 @@ $.prototype.viewbox = function(e) {
|
|
|
6629
6629
|
Ki(t, h);
|
|
6630
6630
|
});
|
|
6631
6631
|
else
|
|
6632
|
-
return r = this._rootElement ? this.getActiveLayer() : null, s = r && r.getBBox() || {}, o = Ki(t), n = o ? o.matrix : du(), a =
|
|
6632
|
+
return r = this._rootElement ? this.getActiveLayer() : null, s = r && r.getBBox() || {}, o = Ki(t), n = o ? o.matrix : du(), a = Is(n.a, 1e3), l = Is(-n.e || 0, 1e3), g = Is(-n.f || 0, 1e3), e = this._cachedViewbox = {
|
|
6633
6633
|
x: l ? l / a : 0,
|
|
6634
6634
|
y: g ? g / a : 0,
|
|
6635
6635
|
width: i.width / a,
|
|
@@ -6687,7 +6687,7 @@ $.prototype.zoom = function(e, t) {
|
|
|
6687
6687
|
x: i.width / 2,
|
|
6688
6688
|
y: i.height / 2
|
|
6689
6689
|
}), s = this._setZoom(e, t);
|
|
6690
|
-
}),
|
|
6690
|
+
}), Is(s.a, 1e3);
|
|
6691
6691
|
};
|
|
6692
6692
|
function ba(e, t) {
|
|
6693
6693
|
const i = "matrix(" + t.a + "," + t.b + "," + t.c + "," + t.d + "," + t.e + "," + t.f + ")";
|
|
@@ -6802,7 +6802,7 @@ tt.prototype._validateId = function(e) {
|
|
|
6802
6802
|
if (this._elements[e])
|
|
6803
6803
|
throw new Error("element with id " + e + " already added");
|
|
6804
6804
|
};
|
|
6805
|
-
function
|
|
6805
|
+
function Ih(e, t, i, s) {
|
|
6806
6806
|
var n = i.inverse;
|
|
6807
6807
|
return Object.defineProperty(e, "remove", {
|
|
6808
6808
|
value: function(r) {
|
|
@@ -6827,14 +6827,14 @@ function Th(e, t, i, s) {
|
|
|
6827
6827
|
value: !0
|
|
6828
6828
|
}), e;
|
|
6829
6829
|
}
|
|
6830
|
-
function
|
|
6830
|
+
function Th(e) {
|
|
6831
6831
|
return e.__refs_collection === !0;
|
|
6832
6832
|
}
|
|
6833
6833
|
function Eh(e, t) {
|
|
6834
6834
|
return Object.prototype.hasOwnProperty.call(e, t.name || t);
|
|
6835
6835
|
}
|
|
6836
6836
|
function va(e, t, i) {
|
|
6837
|
-
var s =
|
|
6837
|
+
var s = Ih(i[t.name] || [], e, t, i);
|
|
6838
6838
|
Object.defineProperty(i, t.name, {
|
|
6839
6839
|
enumerable: t.enumerable,
|
|
6840
6840
|
value: s
|
|
@@ -6873,7 +6873,7 @@ rt.prototype.bind = function(e, t) {
|
|
|
6873
6873
|
};
|
|
6874
6874
|
rt.prototype.ensureRefsCollection = function(e, t) {
|
|
6875
6875
|
var i = e[t.name];
|
|
6876
|
-
return
|
|
6876
|
+
return Th(i) || va(this, t, e), i;
|
|
6877
6877
|
};
|
|
6878
6878
|
rt.prototype.ensureBound = function(e, t) {
|
|
6879
6879
|
Eh(e, t) || this.bind(e, t);
|
|
@@ -6902,14 +6902,14 @@ function Zi() {
|
|
|
6902
6902
|
Xi.call(this), Wn.bind(this, "children"), Vr.bind(this, "host"), Vr.bind(this, "attachers");
|
|
6903
6903
|
}
|
|
6904
6904
|
Ct(Zi, Xi);
|
|
6905
|
-
function
|
|
6905
|
+
function Ia() {
|
|
6906
6906
|
Xi.call(this), Wn.bind(this, "children");
|
|
6907
6907
|
}
|
|
6908
|
-
Ct(
|
|
6909
|
-
function
|
|
6908
|
+
Ct(Ia, Zi);
|
|
6909
|
+
function Ta() {
|
|
6910
6910
|
Zi.call(this), wa.bind(this, "labelTarget");
|
|
6911
6911
|
}
|
|
6912
|
-
Ct(
|
|
6912
|
+
Ct(Ta, Zi);
|
|
6913
6913
|
function Ea() {
|
|
6914
6914
|
Xi.call(this), Ca.bind(this, "source"), ka.bind(this, "target");
|
|
6915
6915
|
}
|
|
@@ -6917,8 +6917,8 @@ Ct(Ea, Xi);
|
|
|
6917
6917
|
var Nh = {
|
|
6918
6918
|
connection: Ea,
|
|
6919
6919
|
shape: Zi,
|
|
6920
|
-
label:
|
|
6921
|
-
root:
|
|
6920
|
+
label: Ta,
|
|
6921
|
+
root: Ia
|
|
6922
6922
|
};
|
|
6923
6923
|
function Ph(e, t) {
|
|
6924
6924
|
var i = Nh[e];
|
|
@@ -7079,7 +7079,7 @@ function it(e, t) {
|
|
|
7079
7079
|
it.$inject = ["eventBus", "elementRegistry"];
|
|
7080
7080
|
it.prototype._getChildrenContainer = function(e) {
|
|
7081
7081
|
var t = this._elementRegistry.getGraphics(e), i;
|
|
7082
|
-
return e.parent ? (i = Bh(t), i || (i = me("g"), Xe(i).add("djs-children"),
|
|
7082
|
+
return e.parent ? (i = Bh(t), i || (i = me("g"), Xe(i).add("djs-children"), Te(t.parentNode, i))) : i = t, i;
|
|
7083
7083
|
};
|
|
7084
7084
|
it.prototype._clear = function(e) {
|
|
7085
7085
|
var t = Mh(e);
|
|
@@ -7087,11 +7087,11 @@ it.prototype._clear = function(e) {
|
|
|
7087
7087
|
};
|
|
7088
7088
|
it.prototype._createContainer = function(e, t, i, s) {
|
|
7089
7089
|
var n = me("g");
|
|
7090
|
-
Xe(n).add("djs-group"), typeof i < "u" ? Na(n, t, t.childNodes[i]) :
|
|
7090
|
+
Xe(n).add("djs-group"), typeof i < "u" ? Na(n, t, t.childNodes[i]) : Te(t, n);
|
|
7091
7091
|
var r = me("g");
|
|
7092
|
-
Xe(r).add("djs-element"), Xe(r).add("djs-" + e), s && Xe(r).add("djs-frame"),
|
|
7092
|
+
Xe(r).add("djs-element"), Xe(r).add("djs-" + e), s && Xe(r).add("djs-frame"), Te(n, r);
|
|
7093
7093
|
var o = me("g");
|
|
7094
|
-
return Xe(o).add("djs-visual"),
|
|
7094
|
+
return Xe(o).add("djs-visual"), Te(r, o), r;
|
|
7095
7095
|
};
|
|
7096
7096
|
it.prototype.create = function(e, t, i) {
|
|
7097
7097
|
var s = this._getChildrenContainer(t.parent);
|
|
@@ -7099,7 +7099,7 @@ it.prototype.create = function(e, t, i) {
|
|
|
7099
7099
|
};
|
|
7100
7100
|
it.prototype.updateContainments = function(e) {
|
|
7101
7101
|
var t = this, i = this._elementRegistry, s;
|
|
7102
|
-
s =
|
|
7102
|
+
s = Ti(e, function(n, r) {
|
|
7103
7103
|
return r.parent && (n[r.parent.id] = r.parent), n;
|
|
7104
7104
|
}, {}), Q(s, function(n) {
|
|
7105
7105
|
var r = n.children;
|
|
@@ -7591,16 +7591,16 @@ function Ba(e) {
|
|
|
7591
7591
|
if (!this)
|
|
7592
7592
|
return new Ba(e);
|
|
7593
7593
|
var t = e && e.proxy, i, s, n, r, o = Kh, a, l, g, h, d = qr, b = !1, w = !1, E = null, q = !1, J;
|
|
7594
|
-
function ee(
|
|
7595
|
-
|
|
7594
|
+
function ee(I) {
|
|
7595
|
+
I instanceof Error || (I = mi(I)), E = I, o(I, d);
|
|
7596
7596
|
}
|
|
7597
|
-
function K(
|
|
7598
|
-
!a || (
|
|
7597
|
+
function K(I) {
|
|
7598
|
+
!a || (I instanceof Error || (I = mi(I)), a(I, d));
|
|
7599
7599
|
}
|
|
7600
|
-
this.on = function(
|
|
7600
|
+
this.on = function(I, M) {
|
|
7601
7601
|
if (typeof M != "function")
|
|
7602
7602
|
throw mi("required args <name, cb>");
|
|
7603
|
-
switch (
|
|
7603
|
+
switch (I) {
|
|
7604
7604
|
case "openTag":
|
|
7605
7605
|
s = M;
|
|
7606
7606
|
break;
|
|
@@ -7629,34 +7629,34 @@ function Ba(e) {
|
|
|
7629
7629
|
l = M;
|
|
7630
7630
|
break;
|
|
7631
7631
|
default:
|
|
7632
|
-
throw mi("unsupported event: " +
|
|
7632
|
+
throw mi("unsupported event: " + I);
|
|
7633
7633
|
}
|
|
7634
7634
|
return this;
|
|
7635
|
-
}, this.ns = function(
|
|
7636
|
-
if (typeof
|
|
7635
|
+
}, this.ns = function(I) {
|
|
7636
|
+
if (typeof I > "u" && (I = {}), typeof I != "object")
|
|
7637
7637
|
throw mi("required args <nsMap={}>");
|
|
7638
7638
|
var M = {}, B;
|
|
7639
|
-
for (B in
|
|
7640
|
-
M[B] =
|
|
7639
|
+
for (B in I)
|
|
7640
|
+
M[B] = I[B];
|
|
7641
7641
|
return M[Gh] = _h, w = !0, J = M, this;
|
|
7642
|
-
}, this.parse = function(
|
|
7643
|
-
if (typeof
|
|
7642
|
+
}, this.parse = function(I) {
|
|
7643
|
+
if (typeof I != "string")
|
|
7644
7644
|
throw mi("required args <xml=string>");
|
|
7645
|
-
return E = null, S(
|
|
7645
|
+
return E = null, S(I), d = qr, q = !1, E;
|
|
7646
7646
|
}, this.stop = function() {
|
|
7647
7647
|
q = !0;
|
|
7648
7648
|
};
|
|
7649
|
-
function S(
|
|
7650
|
-
var M = w ? [] : null, B = w ? Jh(J) : null, R, x = [], V = 0, D = !1, j = !1, F = 0, W = 0, te, at, pe, oe, gt, yt, Ne, kt,
|
|
7649
|
+
function S(I) {
|
|
7650
|
+
var M = w ? [] : null, B = w ? Jh(J) : null, R, x = [], V = 0, D = !1, j = !1, F = 0, W = 0, te, at, pe, oe, gt, yt, Ne, kt, It, N = "", P = 0, _;
|
|
7651
7651
|
function Ce() {
|
|
7652
7652
|
if (_ !== null)
|
|
7653
7653
|
return _;
|
|
7654
|
-
var ke, y, c, u = w && B.xmlns, A = w && b ? [] : null, v = P,
|
|
7654
|
+
var ke, y, c, u = w && B.xmlns, A = w && b ? [] : null, v = P, T = N, H = T.length, ae, re, ce, Pe, de, St = {}, ss = {}, _e, z, ue;
|
|
7655
7655
|
e:
|
|
7656
7656
|
for (; v < H; v++)
|
|
7657
|
-
if (_e = !1, z =
|
|
7657
|
+
if (_e = !1, z = T.charCodeAt(v), !(z === 32 || z < 14 && z > 8)) {
|
|
7658
7658
|
for ((z < 65 || z > 122 || z > 90 && z < 97) && z !== 95 && z !== 58 && (K("illegal first char attribute name"), _e = !0), ue = v + 1; ue < H; ue++)
|
|
7659
|
-
if (z =
|
|
7659
|
+
if (z = T.charCodeAt(ue), !(z > 96 && z < 123 || z > 64 && z < 91 || z > 47 && z < 59 || z === 46 || z === 45 || z === 95)) {
|
|
7660
7660
|
if (z === 32 || z < 14 && z > 8) {
|
|
7661
7661
|
K("missing attribute value"), v = ue;
|
|
7662
7662
|
continue e;
|
|
@@ -7665,14 +7665,14 @@ function Ba(e) {
|
|
|
7665
7665
|
break;
|
|
7666
7666
|
K("illegal attribute name char"), _e = !0;
|
|
7667
7667
|
}
|
|
7668
|
-
if (de =
|
|
7669
|
-
ue =
|
|
7668
|
+
if (de = T.substring(v, ue), de === "xmlns:xmlns" && (K("illegal declaration of xmlns"), _e = !0), z = T.charCodeAt(ue + 1), z === 34)
|
|
7669
|
+
ue = T.indexOf('"', v = ue + 2), ue === -1 && (ue = T.indexOf("'", v), ue !== -1 && (K("attribute value quote missmatch"), _e = !0));
|
|
7670
7670
|
else if (z === 39)
|
|
7671
|
-
ue =
|
|
7671
|
+
ue = T.indexOf("'", v = ue + 2), ue === -1 && (ue = T.indexOf('"', v), ue !== -1 && (K("attribute value quote missmatch"), _e = !0));
|
|
7672
7672
|
else
|
|
7673
|
-
for (K("missing attribute value quotes"), _e = !0, ue = ue + 1; ue < H && (z =
|
|
7673
|
+
for (K("missing attribute value quotes"), _e = !0, ue = ue + 1; ue < H && (z = T.charCodeAt(ue + 1), !(z === 32 || z < 14 && z > 8)); ue++)
|
|
7674
7674
|
;
|
|
7675
|
-
for (ue === -1 && (K("missing closing quotes"), ue = H, _e = !0), _e || (ce =
|
|
7675
|
+
for (ue === -1 && (K("missing closing quotes"), ue = H, _e = !0), _e || (ce = T.substring(v, ue)), v = ue; ue + 1 < H && (z = T.charCodeAt(ue + 1), !(z === 32 || z < 14 && z > 8)); ue++)
|
|
7676
7676
|
v === ue && (K("illegal character after attribute end"), _e = !0);
|
|
7677
7677
|
if (v = ue + 1, _e)
|
|
7678
7678
|
continue e;
|
|
@@ -7725,15 +7725,15 @@ function Ba(e) {
|
|
|
7725
7725
|
return _ = St;
|
|
7726
7726
|
}
|
|
7727
7727
|
function Me() {
|
|
7728
|
-
for (var ke = /(\r\n|\r|\n)/g, y = 0, c = 0, u = 0, A = W, v,
|
|
7728
|
+
for (var ke = /(\r\n|\r|\n)/g, y = 0, c = 0, u = 0, A = W, v, T; F >= u && (v = ke.exec(I), !(!v || (A = v[0].length + v.index, A > F))); )
|
|
7729
7729
|
y += 1, u = A;
|
|
7730
|
-
return F == -1 ? (c = A,
|
|
7731
|
-
data:
|
|
7730
|
+
return F == -1 ? (c = A, T = I.substring(W)) : W === 0 ? T = I.substring(W, F) : (c = F - u, T = W == -1 ? I.substring(F) : I.substring(F, W + 1)), {
|
|
7731
|
+
data: T,
|
|
7732
7732
|
line: y,
|
|
7733
7733
|
column: c
|
|
7734
7734
|
};
|
|
7735
7735
|
}
|
|
7736
|
-
for (d = Me, t && (
|
|
7736
|
+
for (d = Me, t && (It = Object.create({}, {
|
|
7737
7737
|
name: As(function() {
|
|
7738
7738
|
return Ne;
|
|
7739
7739
|
}),
|
|
@@ -7745,61 +7745,61 @@ function Ba(e) {
|
|
|
7745
7745
|
return B;
|
|
7746
7746
|
})
|
|
7747
7747
|
})); W !== -1; ) {
|
|
7748
|
-
if (
|
|
7748
|
+
if (I.charCodeAt(W) === 60 ? F = W : F = I.indexOf("<", W), F === -1) {
|
|
7749
7749
|
if (x.length)
|
|
7750
7750
|
return ee("unexpected end of file");
|
|
7751
7751
|
if (W === 0)
|
|
7752
7752
|
return ee("missing start tag");
|
|
7753
|
-
W <
|
|
7753
|
+
W < I.length && I.substring(W).trim() && K(Gr);
|
|
7754
7754
|
return;
|
|
7755
7755
|
}
|
|
7756
7756
|
if (W !== F) {
|
|
7757
7757
|
if (x.length) {
|
|
7758
|
-
if (i && (i(
|
|
7758
|
+
if (i && (i(I.substring(W, F), Wt, d), q))
|
|
7759
7759
|
return;
|
|
7760
|
-
} else if (
|
|
7760
|
+
} else if (I.substring(W, F).trim() && (K(Gr), q))
|
|
7761
7761
|
return;
|
|
7762
7762
|
}
|
|
7763
|
-
if (oe =
|
|
7764
|
-
if (pe =
|
|
7765
|
-
if (W =
|
|
7763
|
+
if (oe = I.charCodeAt(F + 1), oe === 33) {
|
|
7764
|
+
if (pe = I.charCodeAt(F + 2), pe === 91 && I.substr(F + 3, 6) === "CDATA[") {
|
|
7765
|
+
if (W = I.indexOf("]]>", F), W === -1)
|
|
7766
7766
|
return ee("unclosed cdata");
|
|
7767
|
-
if (r && (r(
|
|
7767
|
+
if (r && (r(I.substring(F + 9, W), d), q))
|
|
7768
7768
|
return;
|
|
7769
7769
|
W += 3;
|
|
7770
7770
|
continue;
|
|
7771
7771
|
}
|
|
7772
|
-
if (pe === 45 &&
|
|
7773
|
-
if (W =
|
|
7772
|
+
if (pe === 45 && I.charCodeAt(F + 3) === 45) {
|
|
7773
|
+
if (W = I.indexOf("-->", F), W === -1)
|
|
7774
7774
|
return ee("unclosed comment");
|
|
7775
|
-
if (l && (l(
|
|
7775
|
+
if (l && (l(I.substring(F + 4, W), Wt, d), q))
|
|
7776
7776
|
return;
|
|
7777
7777
|
W += 3;
|
|
7778
7778
|
continue;
|
|
7779
7779
|
}
|
|
7780
7780
|
}
|
|
7781
7781
|
if (oe === 63) {
|
|
7782
|
-
if (W =
|
|
7782
|
+
if (W = I.indexOf("?>", F), W === -1)
|
|
7783
7783
|
return ee("unclosed question");
|
|
7784
|
-
if (g && (g(
|
|
7784
|
+
if (g && (g(I.substring(F, W + 2), d), q))
|
|
7785
7785
|
return;
|
|
7786
7786
|
W += 2;
|
|
7787
7787
|
continue;
|
|
7788
7788
|
}
|
|
7789
7789
|
for (te = F + 1; ; te++) {
|
|
7790
|
-
if (gt =
|
|
7790
|
+
if (gt = I.charCodeAt(te), isNaN(gt))
|
|
7791
7791
|
return W = -1, ee("unclosed tag");
|
|
7792
7792
|
if (gt === 34)
|
|
7793
|
-
pe =
|
|
7793
|
+
pe = I.indexOf('"', te + 1), te = pe !== -1 ? pe : te;
|
|
7794
7794
|
else if (gt === 39)
|
|
7795
|
-
pe =
|
|
7795
|
+
pe = I.indexOf("'", te + 1), te = pe !== -1 ? pe : te;
|
|
7796
7796
|
else if (gt === 62) {
|
|
7797
7797
|
W = te;
|
|
7798
7798
|
break;
|
|
7799
7799
|
}
|
|
7800
7800
|
}
|
|
7801
7801
|
if (oe === 33) {
|
|
7802
|
-
if (h && (h(
|
|
7802
|
+
if (h && (h(I.substring(F, W + 1), Wt, d), q))
|
|
7803
7803
|
return;
|
|
7804
7804
|
W += 1;
|
|
7805
7805
|
continue;
|
|
@@ -7807,13 +7807,13 @@ function Ba(e) {
|
|
|
7807
7807
|
if (_ = {}, oe === 47) {
|
|
7808
7808
|
if (D = !1, j = !0, !x.length)
|
|
7809
7809
|
return ee("missing open tag");
|
|
7810
|
-
if (te = Ne = x.pop(), pe = F + 2 + te.length,
|
|
7810
|
+
if (te = Ne = x.pop(), pe = F + 2 + te.length, I.substring(F + 2, pe) !== te)
|
|
7811
7811
|
return ee("closing tag mismatch");
|
|
7812
7812
|
for (; pe < W; pe++)
|
|
7813
|
-
if (oe =
|
|
7813
|
+
if (oe = I.charCodeAt(pe), !(oe === 32 || oe > 8 && oe < 14))
|
|
7814
7814
|
return ee("close tag");
|
|
7815
7815
|
} else {
|
|
7816
|
-
if (
|
|
7816
|
+
if (I.charCodeAt(W - 1) === 47 ? (te = Ne = I.substring(F + 1, W - 1), D = !0, j = !0) : (te = Ne = I.substring(F + 1, W), D = !0, j = !1), !(oe > 96 && oe < 123 || oe > 64 && oe < 91 || oe === 95 || oe === 58))
|
|
7817
7817
|
return ee("illegal first char nodeName");
|
|
7818
7818
|
for (pe = 1, at = te.length; pe < at; pe++)
|
|
7819
7819
|
if (oe = te.charCodeAt(pe), !(oe > 96 && oe < 123 || oe > 64 && oe < 91 || oe > 47 && oe < 59 || oe === 45 || oe === 95 || oe == 46)) {
|
|
@@ -7834,10 +7834,10 @@ function Ba(e) {
|
|
|
7834
7834
|
yt = B.xmlns;
|
|
7835
7835
|
yt && (Ne = yt + ":" + Ne);
|
|
7836
7836
|
}
|
|
7837
|
-
if (D && (P = pe, N = te, s && (t ? s(
|
|
7837
|
+
if (D && (P = pe, N = te, s && (t ? s(It, Wt, j, d) : s(Ne, Ce, Wt, j, d), q)))
|
|
7838
7838
|
return;
|
|
7839
7839
|
if (j) {
|
|
7840
|
-
if (n && (n(t ?
|
|
7840
|
+
if (n && (n(t ? It : Ne, Wt, D, d), q))
|
|
7841
7841
|
return;
|
|
7842
7842
|
w && (D ? B = R : B = M.pop());
|
|
7843
7843
|
}
|
|
@@ -7878,7 +7878,7 @@ function Xh(e, t) {
|
|
|
7878
7878
|
function Gt(e) {
|
|
7879
7879
|
return new Error(e);
|
|
7880
7880
|
}
|
|
7881
|
-
function
|
|
7881
|
+
function Tt(e) {
|
|
7882
7882
|
return e.$descriptor;
|
|
7883
7883
|
}
|
|
7884
7884
|
function Zh(e) {
|
|
@@ -7887,7 +7887,7 @@ function Zh(e) {
|
|
|
7887
7887
|
}, this.addElement = function(t) {
|
|
7888
7888
|
if (!t)
|
|
7889
7889
|
throw Gt("expected element");
|
|
7890
|
-
var i = this.elementsById, s =
|
|
7890
|
+
var i = this.elementsById, s = Tt(t), n = s.idProperty, r;
|
|
7891
7891
|
if (n && (r = t.get(n.name), r)) {
|
|
7892
7892
|
if (!/^([a-z][\w-.]*:)?[a-z_][\w-.]*$/i.test(r))
|
|
7893
7893
|
throw new Error("illegal ID <" + r + ">");
|
|
@@ -7960,17 +7960,17 @@ Fe.prototype.addReference = function(e) {
|
|
|
7960
7960
|
this.context.addReference(e);
|
|
7961
7961
|
};
|
|
7962
7962
|
Fe.prototype.handleText = function(e) {
|
|
7963
|
-
var t = this.element, i =
|
|
7963
|
+
var t = this.element, i = Tt(t), s = i.bodyProperty;
|
|
7964
7964
|
if (!s)
|
|
7965
7965
|
throw Gt("unexpected body text <" + e + ">");
|
|
7966
7966
|
Oi.prototype.handleText.call(this, e);
|
|
7967
7967
|
};
|
|
7968
7968
|
Fe.prototype.handleEnd = function() {
|
|
7969
|
-
var e = this.body, t = this.element, i =
|
|
7969
|
+
var e = this.body, t = this.element, i = Tt(t), s = i.bodyProperty;
|
|
7970
7970
|
s && e !== void 0 && (e = zn(s.type, e), t.set(s.name, e));
|
|
7971
7971
|
};
|
|
7972
7972
|
Fe.prototype.createElement = function(e) {
|
|
7973
|
-
var t = e.attributes, i = this.type, s =
|
|
7973
|
+
var t = e.attributes, i = this.type, s = Tt(i), n = this.context, r = new i({}), o = this.model, a;
|
|
7974
7974
|
return Q(t, function(l, g) {
|
|
7975
7975
|
var h = s.propertiesByName[g], d;
|
|
7976
7976
|
h && h.isReference ? h.isMany ? (d = l.split(" "), Q(d, function(b) {
|
|
@@ -7992,10 +7992,10 @@ Fe.prototype.createElement = function(e) {
|
|
|
7992
7992
|
}), r;
|
|
7993
7993
|
};
|
|
7994
7994
|
Fe.prototype.getPropertyForNode = function(e) {
|
|
7995
|
-
var t = e.name, i = Re(t), s = this.type, n = this.model, r =
|
|
7995
|
+
var t = e.name, i = Re(t), s = this.type, n = this.model, r = Tt(s), o = i.name, a = r.propertiesByName[o], l, g;
|
|
7996
7996
|
if (a && !a.isAttr)
|
|
7997
7997
|
return La(a) && (l = e.attributes[Us], l) ? (l = Xh(l, n), g = n.getType(l), Z({}, a, {
|
|
7998
|
-
effectiveType:
|
|
7998
|
+
effectiveType: Tt(g).name
|
|
7999
7999
|
})) : a;
|
|
8000
8000
|
var h = n.getPackage(i.prefix);
|
|
8001
8001
|
if (h) {
|
|
@@ -8003,7 +8003,7 @@ Fe.prototype.getPropertyForNode = function(e) {
|
|
|
8003
8003
|
return !d.isVirtual && !d.isReference && !d.isAttribute && g.hasType(d.type);
|
|
8004
8004
|
}), a)
|
|
8005
8005
|
return Z({}, a, {
|
|
8006
|
-
effectiveType:
|
|
8006
|
+
effectiveType: Tt(g).name
|
|
8007
8007
|
});
|
|
8008
8008
|
} else if (a = ht(r.properties, function(d) {
|
|
8009
8009
|
return !d.isReference && !d.isAttribute && d.type === "Element";
|
|
@@ -8012,7 +8012,7 @@ Fe.prototype.getPropertyForNode = function(e) {
|
|
|
8012
8012
|
throw Gt("unrecognized element <" + i.name + ">");
|
|
8013
8013
|
};
|
|
8014
8014
|
Fe.prototype.toString = function() {
|
|
8015
|
-
return "ElementDescriptor[" +
|
|
8015
|
+
return "ElementDescriptor[" + Tt(this.type).name + "]";
|
|
8016
8016
|
};
|
|
8017
8017
|
Fe.prototype.valueHandler = function(e, t) {
|
|
8018
8018
|
return new Zn(e, t);
|
|
@@ -8088,7 +8088,7 @@ er.prototype.fromXML = function(e, t, i) {
|
|
|
8088
8088
|
function d() {
|
|
8089
8089
|
var M = o.elementsById, B = o.references, R, x;
|
|
8090
8090
|
for (R = 0; x = B[R]; R++) {
|
|
8091
|
-
var V = x.element, D = M[x.id], j =
|
|
8091
|
+
var V = x.element, D = M[x.id], j = Tt(V).propertiesByName[x.property];
|
|
8092
8092
|
if (D || o.addWarning({
|
|
8093
8093
|
message: "unresolved reference <" + x.id + ">",
|
|
8094
8094
|
element: x.element,
|
|
@@ -8131,12 +8131,12 @@ er.prototype.fromXML = function(e, t, i) {
|
|
|
8131
8131
|
function S(M, B) {
|
|
8132
8132
|
!M.trim() || K(M, B);
|
|
8133
8133
|
}
|
|
8134
|
-
var
|
|
8134
|
+
var I = n.getPackages().reduce(function(M, B) {
|
|
8135
8135
|
return M[B.uri] = B.prefix, M;
|
|
8136
8136
|
}, {
|
|
8137
8137
|
"http://www.w3.org/XML/1998/namespace": "xml"
|
|
8138
8138
|
});
|
|
8139
|
-
return a.ns(
|
|
8139
|
+
return a.ns(I).on("openTag", function(M, B, R, x) {
|
|
8140
8140
|
var V = M.attrs || {}, D = Object.keys(V).reduce(function(F, W) {
|
|
8141
8141
|
var te = B(V[W]);
|
|
8142
8142
|
return F[W] = te, F;
|
|
@@ -8239,7 +8239,7 @@ function lf(e, t) {
|
|
|
8239
8239
|
}
|
|
8240
8240
|
function cf(e) {
|
|
8241
8241
|
var t = e.$descriptor;
|
|
8242
|
-
return
|
|
8242
|
+
return Ii(t.properties, function(i) {
|
|
8243
8243
|
var s = i.name;
|
|
8244
8244
|
if (i.isVirtual || !Si(e, s))
|
|
8245
8245
|
return !1;
|
|
@@ -8272,12 +8272,12 @@ function hf(e) {
|
|
|
8272
8272
|
return Ua(e, Va, uf);
|
|
8273
8273
|
}
|
|
8274
8274
|
function ff(e) {
|
|
8275
|
-
return
|
|
8275
|
+
return Ii(e, function(t) {
|
|
8276
8276
|
return t.isAttr;
|
|
8277
8277
|
});
|
|
8278
8278
|
}
|
|
8279
8279
|
function mf(e) {
|
|
8280
|
-
return
|
|
8280
|
+
return Ii(e, function(t) {
|
|
8281
8281
|
return !t.isAttr;
|
|
8282
8282
|
});
|
|
8283
8283
|
}
|
|
@@ -11346,7 +11346,7 @@ var bf = "BPMN20", vf = "http://www.omg.org/spec/BPMN/20100524/MODEL", wf = "bpm
|
|
|
11346
11346
|
}
|
|
11347
11347
|
]
|
|
11348
11348
|
}
|
|
11349
|
-
],
|
|
11349
|
+
], If = [
|
|
11350
11350
|
{
|
|
11351
11351
|
name: "ProcessType",
|
|
11352
11352
|
literalValues: [
|
|
@@ -11476,7 +11476,7 @@ var bf = "BPMN20", vf = "http://www.omg.org/spec/BPMN/20100524/MODEL", wf = "bpm
|
|
|
11476
11476
|
}
|
|
11477
11477
|
]
|
|
11478
11478
|
}
|
|
11479
|
-
],
|
|
11479
|
+
], Tf = {
|
|
11480
11480
|
tagAlias: "lowerCase",
|
|
11481
11481
|
typePrefix: "t"
|
|
11482
11482
|
}, Ef = {
|
|
@@ -11485,8 +11485,8 @@ var bf = "BPMN20", vf = "http://www.omg.org/spec/BPMN/20100524/MODEL", wf = "bpm
|
|
|
11485
11485
|
prefix: wf,
|
|
11486
11486
|
associations: Cf,
|
|
11487
11487
|
types: kf,
|
|
11488
|
-
enumerations:
|
|
11489
|
-
xml:
|
|
11488
|
+
enumerations: If,
|
|
11489
|
+
xml: Tf
|
|
11490
11490
|
}, xf = "BPMNDI", Nf = "http://www.omg.org/spec/BPMN/20100524/DI", Pf = "bpmndi", Sf = [
|
|
11491
11491
|
{
|
|
11492
11492
|
name: "BPMNDiagram",
|
|
@@ -12243,7 +12243,7 @@ function pm(e, t) {
|
|
|
12243
12243
|
gt(N, P), D(N.ioSpecification, P), V(N.artifacts, P), o(N);
|
|
12244
12244
|
}
|
|
12245
12245
|
function K(N, P) {
|
|
12246
|
-
var _ =
|
|
12246
|
+
var _ = Ii(N, function(Ce) {
|
|
12247
12247
|
return !a(Ce) && je(Ce, "bpmn:Process") && Ce.laneSets;
|
|
12248
12248
|
});
|
|
12249
12249
|
_.forEach(r(ee, P));
|
|
@@ -12251,7 +12251,7 @@ function pm(e, t) {
|
|
|
12251
12251
|
function S(N, P) {
|
|
12252
12252
|
h(N, P);
|
|
12253
12253
|
}
|
|
12254
|
-
function
|
|
12254
|
+
function I(N, P) {
|
|
12255
12255
|
Q(N, r(S, P));
|
|
12256
12256
|
}
|
|
12257
12257
|
function M(N, P) {
|
|
@@ -12294,7 +12294,7 @@ function pm(e, t) {
|
|
|
12294
12294
|
function at(N, P) {
|
|
12295
12295
|
s.push(function() {
|
|
12296
12296
|
var _ = h(N, P);
|
|
12297
|
-
N.childLaneSet && pe(N.childLaneSet, _ || P),
|
|
12297
|
+
N.childLaneSet && pe(N.childLaneSet, _ || P), It(N);
|
|
12298
12298
|
});
|
|
12299
12299
|
}
|
|
12300
12300
|
function pe(N, P) {
|
|
@@ -12327,10 +12327,10 @@ function pm(e, t) {
|
|
|
12327
12327
|
}
|
|
12328
12328
|
function kt(N, P) {
|
|
12329
12329
|
Q(N.participants, r(Ne, P)), V(N.artifacts, P), s.push(function() {
|
|
12330
|
-
|
|
12330
|
+
I(N.messageFlows, P);
|
|
12331
12331
|
});
|
|
12332
12332
|
}
|
|
12333
|
-
function
|
|
12333
|
+
function It(N) {
|
|
12334
12334
|
Q(N.flowNodeRef, function(P) {
|
|
12335
12335
|
var _ = P.get("lanes");
|
|
12336
12336
|
_ && _.push(N);
|
|
@@ -12450,7 +12450,7 @@ function Cm() {
|
|
|
12450
12450
|
})), document.body.appendChild(wt);
|
|
12451
12451
|
}
|
|
12452
12452
|
function Ee(e) {
|
|
12453
|
-
e = Z({},
|
|
12453
|
+
e = Z({}, Im, e), this._moddle = this._createModdle(e), this._container = this._createContainer(e), Em(this._container), this._init(this._container, this._moddle, e);
|
|
12454
12454
|
}
|
|
12455
12455
|
Ct(Ee, Bi);
|
|
12456
12456
|
Ee.prototype.importXML = async function(t, i) {
|
|
@@ -12482,7 +12482,7 @@ Ee.prototype.importXML = async function(t, i) {
|
|
|
12482
12482
|
return r = r.concat(d.warnings), this._emit("import.done", { error: null, warnings: r }), { warnings: r };
|
|
12483
12483
|
} catch (o) {
|
|
12484
12484
|
let a = o;
|
|
12485
|
-
throw r = r.concat(a.warnings || []),
|
|
12485
|
+
throw r = r.concat(a.warnings || []), Ts(a, r), a = km(a), this._emit("import.done", { error: a, warnings: a.warnings }), a;
|
|
12486
12486
|
}
|
|
12487
12487
|
};
|
|
12488
12488
|
Ee.prototype.importDefinitions = async function(t, i) {
|
|
@@ -12493,16 +12493,16 @@ Ee.prototype.open = async function(t) {
|
|
|
12493
12493
|
let s = t;
|
|
12494
12494
|
if (!i) {
|
|
12495
12495
|
const r = new Error("no XML imported");
|
|
12496
|
-
throw
|
|
12496
|
+
throw Ts(r, []), r;
|
|
12497
12497
|
}
|
|
12498
|
-
if (typeof t == "string" && (s =
|
|
12498
|
+
if (typeof t == "string" && (s = Tm(i, t), !s)) {
|
|
12499
12499
|
const r = new Error("BPMNDiagram <" + t + "> not found");
|
|
12500
|
-
throw
|
|
12500
|
+
throw Ts(r, []), r;
|
|
12501
12501
|
}
|
|
12502
12502
|
try {
|
|
12503
12503
|
this.clear();
|
|
12504
12504
|
} catch (r) {
|
|
12505
|
-
throw
|
|
12505
|
+
throw Ts(r, []), r;
|
|
12506
12506
|
}
|
|
12507
12507
|
const { warnings: n } = await hm(this, i, s);
|
|
12508
12508
|
return { warnings: n };
|
|
@@ -12603,14 +12603,14 @@ Ee.prototype._createModdle = function(e) {
|
|
|
12603
12603
|
return new lm(t);
|
|
12604
12604
|
};
|
|
12605
12605
|
Ee.prototype._modules = [];
|
|
12606
|
-
function
|
|
12606
|
+
function Ts(e, t) {
|
|
12607
12607
|
return e.warnings = t, e;
|
|
12608
12608
|
}
|
|
12609
12609
|
function km(e) {
|
|
12610
12610
|
const i = /unparsable content <([^>]+)> detected([\s\S]*)$/.exec(e.message);
|
|
12611
12611
|
return i && (e.message = "unparsable content <" + i[1] + "> detected; this may indicate an invalid BPMN 2.0 diagram file" + i[2]), e;
|
|
12612
12612
|
}
|
|
12613
|
-
const
|
|
12613
|
+
const Im = {
|
|
12614
12614
|
width: "100%",
|
|
12615
12615
|
height: "100%",
|
|
12616
12616
|
position: "relative"
|
|
@@ -12618,7 +12618,7 @@ const Tm = {
|
|
|
12618
12618
|
function Jr(e) {
|
|
12619
12619
|
return e + (Vt(e) ? "px" : "");
|
|
12620
12620
|
}
|
|
12621
|
-
function
|
|
12621
|
+
function Tm(e, t) {
|
|
12622
12622
|
return t && ht(e.diagrams, function(i) {
|
|
12623
12623
|
return i.id === t;
|
|
12624
12624
|
}) || null;
|
|
@@ -12853,7 +12853,7 @@ const tn = {
|
|
|
12853
12853
|
"[object Object]": "object"
|
|
12854
12854
|
};
|
|
12855
12855
|
return e instanceof Element ? "element" : i[t.call(e)];
|
|
12856
|
-
},
|
|
12856
|
+
}, In = (e) => {
|
|
12857
12857
|
var t = Lm(e), i;
|
|
12858
12858
|
if (t === "array")
|
|
12859
12859
|
i = [];
|
|
@@ -12863,10 +12863,10 @@ const tn = {
|
|
|
12863
12863
|
return e;
|
|
12864
12864
|
if (t === "array")
|
|
12865
12865
|
for (var s = 0, n = e.length; s < n; s++)
|
|
12866
|
-
i.push(
|
|
12866
|
+
i.push(In(e[s]));
|
|
12867
12867
|
else if (t === "object")
|
|
12868
12868
|
for (var r in e)
|
|
12869
|
-
i[r] =
|
|
12869
|
+
i[r] = In(e[r]);
|
|
12870
12870
|
return i;
|
|
12871
12871
|
};
|
|
12872
12872
|
function Fm(e, t = "YYYY-MM-DD HH:mm:ss") {
|
|
@@ -12884,7 +12884,7 @@ function Fm(e, t = "YYYY-MM-DD HH:mm:ss") {
|
|
|
12884
12884
|
return t;
|
|
12885
12885
|
}
|
|
12886
12886
|
function Vm(e) {
|
|
12887
|
-
e =
|
|
12887
|
+
e = In(e);
|
|
12888
12888
|
const t = {};
|
|
12889
12889
|
e.forEach((s) => {
|
|
12890
12890
|
t[s.historyActivityId] ? t[s.historyActivityId].push(s) : t[s.historyActivityId] = [s];
|
|
@@ -13330,7 +13330,7 @@ const sg = { class: "attch-upload" }, ng = {
|
|
|
13330
13330
|
}, cg = { class: "upload-header-upload" }, dg = ["src"], ug = { class: "upload-body" }, pg = {
|
|
13331
13331
|
key: 0,
|
|
13332
13332
|
class: "upload-list"
|
|
13333
|
-
}, hg = { class: "list-items-icon" }, fg = ["src"], mg = ["src"], gg = ["src"], yg = ["src"], Ag = ["src"], bg = ["src"], vg = { class: "list-items-info" }, wg = { class: "info-name" }, Cg = { class: "info-attribute" }, kg = { class: "info-attribute-size" },
|
|
13333
|
+
}, hg = { class: "list-items-icon" }, fg = ["src"], mg = ["src"], gg = ["src"], yg = ["src"], Ag = ["src"], bg = ["src"], vg = { class: "list-items-info" }, wg = { class: "info-name" }, Cg = { class: "info-attribute" }, kg = { class: "info-attribute-size" }, Ig = ["onClick"], Tg = {
|
|
13334
13334
|
key: 0,
|
|
13335
13335
|
class: "list-items-operation"
|
|
13336
13336
|
}, Eg = ["onClick"], xg = ["src"];
|
|
@@ -13420,10 +13420,10 @@ function Ng(e, t, i, s, n, r) {
|
|
|
13420
13420
|
m("span", {
|
|
13421
13421
|
class: "info-attribute-views",
|
|
13422
13422
|
onClick: (b) => e.viewFile(h, d)
|
|
13423
|
-
}, " \u9884\u89C8 ", 8,
|
|
13423
|
+
}, " \u9884\u89C8 ", 8, Ig)
|
|
13424
13424
|
])
|
|
13425
13425
|
]),
|
|
13426
|
-
e.onlyShow ? C("", !0) : (p(), f("div",
|
|
13426
|
+
e.onlyShow ? C("", !0) : (p(), f("div", Tg, [
|
|
13427
13427
|
m("div", {
|
|
13428
13428
|
onClick: (b) => e.handleDel(d, h),
|
|
13429
13429
|
class: "list-items-operation-img"
|
|
@@ -14248,8 +14248,8 @@ function ky(e, t, i, s, n, r) {
|
|
|
14248
14248
|
], 6)) : C("", !0)
|
|
14249
14249
|
]);
|
|
14250
14250
|
}
|
|
14251
|
-
const el = /* @__PURE__ */ Ae(yy, [["render", ky], ["__scopeId", "data-v-15c177a8"]]),
|
|
14252
|
-
const
|
|
14251
|
+
const el = /* @__PURE__ */ Ae(yy, [["render", ky], ["__scopeId", "data-v-15c177a8"]]), Iy = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAADGdJREFUeF7tnVFSHDkMhuVhD7AV9j1wksBJApeA5YnwlJBLQE4COUl63zOpHGAZb3l2mpqQGWYsS7as/qna2oe0ZeuXvpHd7W4Hwh8UgAJbFQjQBgpAge0KABBkBxR4RQEAgvSAAgAEOQAFeAqggvB0Q6uJKABAJhJouMlTAIDwdEOriSgAQCYSaLjJUwCA8HRDq4koAEAmEmi4yVMAgPB0Q6uJKNAdIH9+jEezGb0PkY5oRkeU/k/L/4ZlzAINtKAhBhpmC/r6/So8TiSWcFNBgS4AOfwcz2Kkt4HoA0ODgSI9hkhfAAtDvYk3MQ3IXx/jSZzR3apClIcq0v1TpJufV+H/aoM/KLBDAZOApGnUwQHdUaQThQgOkej+x2W4UbANk84UMAfIqmo8VNB5eFrQKapJBaU77sIUIG9u4zVzncENwUCBbuYX4Z5rAO18K2AGkMPP8UFpSrUrgphy7VJowv9uApAGleNlyIewoHPc5ZowCVtcbw5IxTXHruhjTbJLoQn+e1NADMExhn6YX4bjCeYBXLZYQRquO7YnRKBzLNrBy6hAswpisHqgioCL3xRoBojJ6rGSJxJ9wINE0JIUaAJI2ltFcbmFxOof1iJWI1N5XG0A+RTvKNBZZV+zugsLOsVt3yzJXF7cBpDb+E1sA6JWWCLdz/8O51rmYbcPBaoD0sH0Cov1PnK3yiirA2LgqfnewmKatbdUbi+sDshhB+uP53vgWIe4Tfx9HQMgrymFh4b75pHb6+oD0sMCHc9D3CZ8rmMA5BXF8MAwN538XQ9AAIi/rBb0qD4g7V6MypYNFSRbMncNAAgW6e6SWtKh6oDgOYhk+GBLW4HqgBje5v6b1vPLUF0f7YDDfp4C1RNg+c2rGaW9WLb/sBfLdnwqja46IMkvy++CPOsOQCqloO1uWgFi/X0QelrQMT4qZzt5a4yuCSDmp1moHjVyr4s+mgCynGYZ3rSIXbxd5G6VQTYDxGwVCfQ4vwinVdRHJ+YVaAbIarFubi2CtYf5nK06wKaAKB9zkC0ktpZkS+a+QVNAkrqrqVY67iAdo9buD1Ordtob7rk5IGuQtHt4CDgMp2jboZkApGklARxtM9B472YAaQIJnncYT8/2wzMFyAjJ8phn3om2eyuKBfneUk36QnOAjNEQP+F2NIwp1aQTPtd5s4A8T7kOlifdvi8+ng1HQOfmBq5v9fFqjvLsLzKiYnDkRpuVAqYryHqU2IBgIY5kL1AAgBSIh6b+FQAg/mMMDwsUACAF4qGpfwUAiP8Yw8MCBQBIgXho6l8BAOI/xvCwQAEAUiAemvpXAID4jzE8LFAAgBSIh6b+FQAg/mMMDwsUACAF4qGpfwUAiP8Yw8MCBQBIgXho6l8BAOI/xvCwQAEAUiAemvpXAID4jzE8LFAAgBSIh6b+FegCkKJPlOKNQv9ZrOiheUBKvwKPz/soZs8ETJsGpBSOVfyG+WU4nkAs4aKCAmYBEYJjlGx4WtApjlRTyCDnJk0CIgwHIHGexJrumQNECQ5AoplFjm2bAkQZDkDiOJG1XDMDyOpbvOkgnRp/WJPUUNlBHyYAqQwHKomDxK3lQnNAGsEBSGplWOf9NAWkMRxdQ5LWa3+0PtfRaPL/SzRI3dJvBogROLqCZHkTI9A1BTozmpuWhjVQpMenSDclsDQBxBgcXUDy5jZea5+6ZSm7BccyRKL7H5fhhmOzOiDicES6F/xFNXl3S1wzTqb03WYICzr/fhUec92oCoh4oAOdzy/CvfCvqylIKj0bys2bHq9n7cmrBogWHGOkpCHh/uJIZw774CDpgTiwFxZ0mltFqgCiDYdnSA4/xTvBKaSDNOe7wHn1QR0QaTh2/Qp4qySHt/Eb4XYun4r1lozzKlUBqQ2Hx0oCQGTYWFqxBIj03HlX5Xgpo5dKAkAcAtIaDk+VBIA4A8QKHFqQpKezMdAgGLZXTQVaPjU/qtWf635aT7GswaEEiesccu1cS0CswgFIXKd8nnOtALEOx0QhGSgQa/9RXtbVvzpGesval9YCEOG7RZR7tyo3PNLjze2/5vXaWtb0Zb0v9uOD2oBIJ1utgEpXvFaJsrNfRkLstGnggi4AYQ9yi8C14Bi7nwgkrA16Bhh4dQjs3GP8YLCfpB9+jg8U6URCzNpwTAgSALKeoFUBuY1RAA72Pn2BvpcmXFcSRkJI6appx3wFEUqq5nC4ryROv2xvHhD2ANd/VowFT3LKqPnrmWO71dQ1Z4yca9n5x6iorDWI2FtuRiDxCAcZ0ZYDwK420wEkKdEwkEUH8+yKYuN/n18G1o9f42Hv1b15QMQXtw0g8QxHig8A2cBarSlW6lo8wRiD3+vnZsNFGmOPkbK/mLHP+FlbKgDIZmkZOVZUhldrkfTBaant2Or37TXgmF+E032SnXMN930QVJDGFWTsvidIeoNjOZVlvpMOQIwA8jzdmpHpStIjHCWAcKqV+za1p1jrglquJL3CAUCEkW0JiMrCnah4TSL2zGaMFUPkkjBzp1glfbpty4hd0SJ9k5Div9YFkPQOByqIMKoWANGqJLnHOHuAA4A4BaQ1JOJwNHiQOaYGpliCkFipIL/cAj6gO6n3Roho55fXPcGBCiIIRzLF+KETX4O8dEnhVKStkHiDYwmI4ItpwunWnzmLgIzTrdmM3nO3TWyIxG+QsDewbQszQ0yNjJF+719jjN3YXJ0nkzNe9QqyPt3SgsQrHEk7cd9yssPZtU8LOs49r7AaIFqVZPntp0h3YrE0UjnW/cEZIeXR5ZwNknqtCogSJOXqjRYMwvF8R1B2K4+cZj1YYty9Gt2qDohZSBjz05q5kW5ACE9Raw6/WV/cytEUEHOQGIdjPbtWOxVOaEHvaCb2mkGzBNboOL2bEwL9kw54LbXfpIIoLtzz9egIjnzn0KJUgaaAjINvdisTcJTmj/v2JgBJKleHBHC4T24JB80AUhUSwCGRO5OwYQqQGpB4/ZjaJLK1gZPmANGEBHA0yLDOuzQJiAYkgKPzTG00fLOASEICOBpll4NuTQMiAonR7SMOcmcSLpgHpBgSADKJRNZysgtAkvPsHa0ARCt3JmG3H0A+xzPWtnYAMolE1nISgGgpC7suFAAgLsIIJ7QUACBaysKuCwUAiIswwgktBQCIlrKw60IBAOIijHBCSwEAoqUs7LpQAIC4CCOc0FIAgGgpq2T3+esmgU4o4qMNG2VOB6rO6Gt4ouH7VSg6XBWAKCWytFmFc1ekh2jSXref/clV83DCW03EP8qdK37/17NPKkMF6SD4+MK7QJCYe/IAiID2mibYlVNzUJ3a5rw4B0CMB5u9zd+4X02Gx/iaDQBpEqn9O8URbPtrtetKzoIdgOxStfG/AxDBADC+8g5ABPXXMAVABFUFIBvEZN69EAxLkSkAUiTfr40BCAARTCd/pgAIAPGX1YIeAZANYgZKe3G+CMpc11SkayLsuRIRHYCIyOjFyODFkS1+HGX7B0CyJXPbYH4ZurlDmRsE9tHYACRXar/Xcx6K9aIGANkQKexJyk7fISzovPR9iOxeKzQAIABEJM28VhEAAkBEACHGnFumY10rAASASGUY+0UhqQFo2AEgG1Rli6IRoV5sooL8GimGHt3cCsRrpwwqO9+Hts1j9o+lZ0CSWHj1NA8Szht0eT20uRqAbNEdVSQjIZ1Wj6QAAHklD/A8ZD9I8CR9g07ep1ijy6tK8oBNfNthASATBiS5niBJ/z84oBNa0Lv9flc7vCrQGWfUAGTigHCSpsc23DcK01P0Hv3dZ8whfXKV88MxlSnWPiJ6uYYLiBf/Rf0AIKJymjAGQATDAEAExTRiCoAIBgKACIppxBQAEQwEABEU04gpACIYCAAiKKYRUwBEMBAARFBMI6aw/0wwEIztN93s5hWUqStTAEQwXJ6/7i4oU1em3tzG6+D4oV/NYDwt6PjnVcj6HBIqSM0IMfrCvjOGaJuaMNYfyQwAEdJf0wx7e7fmoDqzzakeAKSjIK+mWmnjYv4XBTvyU2GoRZ8/QgVRiIiWyRdnpJ9o9ePE7hCJ7n9chpsSfwBIiXoN247b/RsOwWzXuQvx1xwBIGbDjIFZUACAWIgCxmBWAQBiNjQYmAUFAIiFKGAMZhUAIGZDg4FZUACAWIgCxmBWAQBiNjQYmAUFAIiFKGAMZhUAIGZDg4FZUACAWIgCxmBWAQBiNjQYmAUFAIiFKGAMZhUAIGZDg4FZUOA/PPf9I/jtWsEAAAAASUVORK5CYII=";
|
|
14252
|
+
const Ty = ft({
|
|
14253
14253
|
name: "selectFixedPerson",
|
|
14254
14254
|
components: {
|
|
14255
14255
|
TopPopup: et
|
|
@@ -14392,7 +14392,7 @@ function Ry(e, t, i, s, n, r) {
|
|
|
14392
14392
|
_: 1
|
|
14393
14393
|
}, 8, ["visible", "onUpdate:visible", "titleText", "comfig"]);
|
|
14394
14394
|
}
|
|
14395
|
-
const tl = /* @__PURE__ */ Ae(
|
|
14395
|
+
const tl = /* @__PURE__ */ Ae(Ty, [["render", Ry], ["__scopeId", "data-v-7ee61f3b"]]), Ly = ft({
|
|
14396
14396
|
name: "TopSubmitPopup",
|
|
14397
14397
|
components: {
|
|
14398
14398
|
SelectFixedPerson: tl,
|
|
@@ -14627,7 +14627,7 @@ const tl = /* @__PURE__ */ Ae(Iy, [["render", Ry], ["__scopeId", "data-v-7ee61f3
|
|
|
14627
14627
|
},
|
|
14628
14628
|
computed: {
|
|
14629
14629
|
ProcessImg() {
|
|
14630
|
-
return
|
|
14630
|
+
return Iy;
|
|
14631
14631
|
}
|
|
14632
14632
|
},
|
|
14633
14633
|
methods: {
|
|
@@ -14657,6 +14657,22 @@ const tl = /* @__PURE__ */ Ae(Iy, [["render", Ry], ["__scopeId", "data-v-7ee61f3
|
|
|
14657
14657
|
handleSelect() {
|
|
14658
14658
|
this.$refs.TopDownSelect.handleExpand();
|
|
14659
14659
|
},
|
|
14660
|
+
async getTaskModelDetail() {
|
|
14661
|
+
this.request.get("/bladex/blade-workflow/tis/getTaskModelDetail", {
|
|
14662
|
+
params: this.taskId ? { processInstId: this.extraParams.processId || this.extraParams.processInstId, taskId: this.taskId } : { processInstId: this.extraParams.processId || this.extraParams.processInstId }
|
|
14663
|
+
}).then((e) => {
|
|
14664
|
+
if (e.code == 200) {
|
|
14665
|
+
this.handleTips("", !1, "success");
|
|
14666
|
+
let t = (e.data || {}).process || {};
|
|
14667
|
+
this.checkedItem = {
|
|
14668
|
+
id: t.processDefinitionId,
|
|
14669
|
+
key: t.processDefinitionKey,
|
|
14670
|
+
name: t.processDefinitionName,
|
|
14671
|
+
version: t.processDefinitionVersion
|
|
14672
|
+
}, this.option = [this.checkedItem], this.selectDefaultValue = this.checkedItem.id, this.$emit("change", this.checkedItem, this.option), this.handlefirstNode(this.checkedItem.id), this.businessDeptIdData || this.getNodeUserDept();
|
|
14673
|
+
}
|
|
14674
|
+
});
|
|
14675
|
+
},
|
|
14660
14676
|
async handleOption() {
|
|
14661
14677
|
if (this.checkedItem = {}, this.firstPerson = [], this.personList = [], this.selfList && this.selfList.length)
|
|
14662
14678
|
return;
|
|
@@ -14668,7 +14684,11 @@ const tl = /* @__PURE__ */ Ae(Iy, [["render", Ry], ["__scopeId", "data-v-7ee61f3
|
|
|
14668
14684
|
processGroupName: this.processNameData,
|
|
14669
14685
|
...this.extraParams
|
|
14670
14686
|
};
|
|
14671
|
-
this.processNameData && delete e.processGroupName,
|
|
14687
|
+
if (this.processNameData && delete e.processGroupName, this.extraParams.processId || this.extraParams.processInstId) {
|
|
14688
|
+
this.getTaskModelDetail();
|
|
14689
|
+
return;
|
|
14690
|
+
}
|
|
14691
|
+
await this.request.post("/bladex/blade-workflow/repository/getProcessDefList", e).then((t) => {
|
|
14672
14692
|
t.code == 200 && (this.option = t.data, t.data && t.data.length ? (this.handleTips("", !1, "success"), (this.isSelectFirst || t.data.length == 1) && (this.checkedItem = this.option[0], this.selectDefaultValue = this.checkedItem.id, this.$emit("change", this.checkedItem, this.option), this.handlefirstNode(this.checkedItem.id))) : (this.handleTips("\u6682\u65E0\u6D41\u7A0B\u8282\u70B9\u4FE1\u606F", !0, "error"), this.option = []), this.businessDeptIdData || this.getNodeUserDept());
|
|
14673
14693
|
});
|
|
14674
14694
|
},
|
|
@@ -14761,7 +14781,7 @@ const tl = /* @__PURE__ */ Ae(Iy, [["render", Ry], ["__scopeId", "data-v-7ee61f3
|
|
|
14761
14781
|
}));
|
|
14762
14782
|
},
|
|
14763
14783
|
async handleChange(e, t) {
|
|
14764
|
-
this.handleTips("", !0, "loading"), this.checkedItem = {}, this.selectDefaultValue = "", this.firstPerson = [], this.personList = [], this.checkedItem = e, this.selectDefaultValue = this.checkedItem.id, this.handlefirstNode(this.checkedItem.id), this.getXmlByProcessDefId(this.checkedItem.id), this.$emit("change", e, t);
|
|
14784
|
+
this.selectDefaultValue != e.id && (this.handleTips("", !0, "loading"), this.checkedItem = {}, this.selectDefaultValue = "", this.firstPerson = [], this.personList = [], this.checkedItem = e, this.selectDefaultValue = this.checkedItem.id, this.handlefirstNode(this.checkedItem.id), this.getXmlByProcessDefId(this.checkedItem.id), this.$emit("change", e, t));
|
|
14765
14785
|
},
|
|
14766
14786
|
async getAfferentParticipantNodeList() {
|
|
14767
14787
|
await this.request.get("/aws/repository/getAfferentParticipantNodeList", {
|
|
@@ -15120,7 +15140,7 @@ const Fy = { class: "sumbmitPopup-index-sumbit" }, Vy = { class: "sumbmitPopup-s
|
|
|
15120
15140
|
}, mA = { style: { height: "100%" } }, gA = { class: "tree" }, yA = ["onClick"], AA = {
|
|
15121
15141
|
key: 0,
|
|
15122
15142
|
class: "children"
|
|
15123
|
-
}, bA = ["onClick"], vA = { style: { margin: "20px" } }, wA = ["innerHTML"], CA = { class: "timeline" }, kA = { class: "item-top" },
|
|
15143
|
+
}, bA = ["onClick"], vA = { style: { margin: "20px" } }, wA = ["innerHTML"], CA = { class: "timeline" }, kA = { class: "item-top" }, IA = { class: "top-spot" }, TA = { class: "top-title" }, EA = { style: { color: "#009800" } };
|
|
15124
15144
|
function xA(e, t, i, s, n, r) {
|
|
15125
15145
|
const o = U("TopDownSelect"), a = U("TopPopup"), l = U("departPerson"), g = U("SelectFixedPerson"), h = U("BpmnLook"), d = U("PreviewImage"), b = U("TopTips");
|
|
15126
15146
|
return p(), f("div", Fy, [
|
|
@@ -15387,12 +15407,12 @@ function xA(e, t, i, s, n, r) {
|
|
|
15387
15407
|
key: E
|
|
15388
15408
|
}, [
|
|
15389
15409
|
m("div", kA, [
|
|
15390
|
-
m("div",
|
|
15410
|
+
m("div", IA, [
|
|
15391
15411
|
m("div", {
|
|
15392
15412
|
class: le(["spot", { active: E == 0 }])
|
|
15393
15413
|
}, null, 2)
|
|
15394
15414
|
]),
|
|
15395
|
-
m("div",
|
|
15415
|
+
m("div", TA, k(w.title), 1)
|
|
15396
15416
|
]),
|
|
15397
15417
|
m("div", {
|
|
15398
15418
|
class: le(["item-bottom", { last: E == e.flowForecastData.processBudgetModelList.length - 1 }])
|
|
@@ -16154,7 +16174,7 @@ function w0(e, t, i, s, n, r) {
|
|
|
16154
16174
|
]);
|
|
16155
16175
|
}
|
|
16156
16176
|
const C0 = /* @__PURE__ */ Ae(s0, [["render", w0], ["__scopeId", "data-v-73a21e66"]]), k0 = "data:image/png;base64,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";
|
|
16157
|
-
const
|
|
16177
|
+
const I0 = {
|
|
16158
16178
|
name: "TreeNode",
|
|
16159
16179
|
components: {
|
|
16160
16180
|
SelectFixedPerson: tl,
|
|
@@ -16468,7 +16488,7 @@ const T0 = {
|
|
|
16468
16488
|
}, this.$emit("onVars", this.getVars));
|
|
16469
16489
|
}
|
|
16470
16490
|
}
|
|
16471
|
-
},
|
|
16491
|
+
}, T0 = {
|
|
16472
16492
|
key: 0,
|
|
16473
16493
|
class: "treenode"
|
|
16474
16494
|
}, E0 = {
|
|
@@ -16522,7 +16542,7 @@ const T0 = {
|
|
|
16522
16542
|
}, Ab = { class: "views-items-and2" }, bb = { key: 0 }, vb = { class: "include" }, wb = { class: "include include-name" };
|
|
16523
16543
|
function Cb(e, t, i, s, n, r) {
|
|
16524
16544
|
const o = U("TreeNode", !0), a = U("departPerson"), l = U("TopPopup"), g = U("SelectFixedPerson"), h = U("TopTips");
|
|
16525
|
-
return n.nodeItems && n.nodeItems.length ? (p(), f("div",
|
|
16545
|
+
return n.nodeItems && n.nodeItems.length ? (p(), f("div", T0, [
|
|
16526
16546
|
i.endNode ? C("", !0) : (p(), f("div", E0, [
|
|
16527
16547
|
m("div", x0, [
|
|
16528
16548
|
(p(!0), f(O, null, X(n.nodeItems, (d) => (p(), f(O, null, [
|
|
@@ -16725,8 +16745,8 @@ function Cb(e, t, i, s, n, r) {
|
|
|
16725
16745
|
}, null, 8, ["text", "statusTips", "type"])
|
|
16726
16746
|
])) : C("", !0);
|
|
16727
16747
|
}
|
|
16728
|
-
const kb = /* @__PURE__ */ Ae(
|
|
16729
|
-
const
|
|
16748
|
+
const kb = /* @__PURE__ */ Ae(I0, [["render", Cb], ["__scopeId", "data-v-c32b0f83"]]);
|
|
16749
|
+
const Ib = {
|
|
16730
16750
|
name: "tree-person",
|
|
16731
16751
|
components: {
|
|
16732
16752
|
TreeNode: kb
|
|
@@ -16861,7 +16881,7 @@ const Tb = {
|
|
|
16861
16881
|
}
|
|
16862
16882
|
}
|
|
16863
16883
|
}
|
|
16864
|
-
},
|
|
16884
|
+
}, Tb = { class: "test" }, Eb = { key: 0 }, xb = { key: 0 }, Nb = { key: 0 }, Pb = {
|
|
16865
16885
|
key: 0,
|
|
16866
16886
|
class: "treeperson-firstnode"
|
|
16867
16887
|
}, Sb = ["onClick"], Db = {
|
|
@@ -16882,7 +16902,7 @@ const Tb = {
|
|
|
16882
16902
|
}, Gb = ["onClick"], _b = ["onClick"];
|
|
16883
16903
|
function qb(e, t, i, s, n, r) {
|
|
16884
16904
|
const o = U("tree-person", !0), a = U("TreeNode");
|
|
16885
|
-
return p(), f("div",
|
|
16905
|
+
return p(), f("div", Tb, [
|
|
16886
16906
|
i.param.nodeLoading ? (p(), f("div", Eb, [...t[3] || (t[3] = [
|
|
16887
16907
|
m("span", null, "\u4E0B\u4E00\u8282\u70B9: ", -1),
|
|
16888
16908
|
m("b", { style: { "font-size": "16px" } }, "\u8282\u70B9\u52A0\u8F7D\u4E2D\uFF0C\u8BF7\u7A0D\u540E......", -1)
|
|
@@ -17129,7 +17149,7 @@ function qb(e, t, i, s, n, r) {
|
|
|
17129
17149
|
], 64))
|
|
17130
17150
|
]);
|
|
17131
17151
|
}
|
|
17132
|
-
const Jb = /* @__PURE__ */ Ae(
|
|
17152
|
+
const Jb = /* @__PURE__ */ Ae(Ib, [["render", qb], ["__scopeId", "data-v-d9292cc9"]]);
|
|
17133
17153
|
const Kb = {
|
|
17134
17154
|
data() {
|
|
17135
17155
|
},
|
|
@@ -18170,7 +18190,7 @@ const uv = {
|
|
|
18170
18190
|
}, yv = ["onClick"], Av = ["onClick"], bv = { key: 2 }, vv = { class: "process-pc-label" }, wv = {
|
|
18171
18191
|
key: 0,
|
|
18172
18192
|
class: "process-pc-label--re"
|
|
18173
|
-
}, Cv = { class: "process-pc-value" }, kv = { class: "process-popup-textarea" },
|
|
18193
|
+
}, Cv = { class: "process-pc-value" }, kv = { class: "process-popup-textarea" }, Iv = { class: "process-popup-textarea-num" }, Tv = {
|
|
18174
18194
|
key: 0,
|
|
18175
18195
|
class: "msg-btn"
|
|
18176
18196
|
}, Ev = { class: "process-popup-content-person" }, xv = { key: 0 }, Nv = { key: 1 }, Pv = { style: { height: "100%" } }, Sv = { style: { height: "100%" } };
|
|
@@ -18226,9 +18246,9 @@ function Dv(e, t, i, s, n, r) {
|
|
|
18226
18246
|
}, null, 512), [
|
|
18227
18247
|
[Hi, n.commentMsg]
|
|
18228
18248
|
]),
|
|
18229
|
-
m("div",
|
|
18249
|
+
m("div", Iv, k(n.commentMsg.length) + "/200 ", 1)
|
|
18230
18250
|
]),
|
|
18231
|
-
i.param.isMsg ? (p(), f("div",
|
|
18251
|
+
i.param.isMsg ? (p(), f("div", Tv, [
|
|
18232
18252
|
m("span", {
|
|
18233
18253
|
class: "msg-btn-click",
|
|
18234
18254
|
onClick: t[3] || (t[3] = (E) => r.handleMakeMsg())
|
|
@@ -19116,8 +19136,8 @@ const l1 = {
|
|
|
19116
19136
|
return this.buttonList.find((t) => t.buttonKey == e);
|
|
19117
19137
|
}
|
|
19118
19138
|
}
|
|
19119
|
-
}, c1 = { class: "process-btns" }, d1 = ["disabled"], u1 = { key: 0 }, p1 = { key: 1 }, h1 = ["disabled"], f1 = { key: 0 }, m1 = { key: 1 }, g1 = ["disabled"], y1 = ["disabled"], A1 = ["disabled"], b1 = ["disabled"], v1 = ["disabled"], w1 = ["disabled"], C1 = ["disabled"], k1 = ["disabled"],
|
|
19120
|
-
function
|
|
19139
|
+
}, c1 = { class: "process-btns" }, d1 = ["disabled"], u1 = { key: 0 }, p1 = { key: 1 }, h1 = ["disabled"], f1 = { key: 0 }, m1 = { key: 1 }, g1 = ["disabled"], y1 = ["disabled"], A1 = ["disabled"], b1 = ["disabled"], v1 = ["disabled"], w1 = ["disabled"], C1 = ["disabled"], k1 = ["disabled"], I1 = ["disabled"];
|
|
19140
|
+
function T1(e, t, i, s, n, r) {
|
|
19121
19141
|
return p(), f("div", c1, [
|
|
19122
19142
|
i.process.status == "todo" ? (p(), f(O, { key: 0 }, [
|
|
19123
19143
|
r.getButton("wf_pass") ? (p(), f("button", {
|
|
@@ -19209,10 +19229,10 @@ function I1(e, t, i, s, n, r) {
|
|
|
19209
19229
|
size: "default",
|
|
19210
19230
|
disabled: i.loading,
|
|
19211
19231
|
onClick: t[10] || (t[10] = (o) => e.$emit("print"))
|
|
19212
|
-
}, k(r.getButton("wf_print").name), 9,
|
|
19232
|
+
}, k(r.getButton("wf_print").name), 9, I1)) : C("", !0)
|
|
19213
19233
|
]);
|
|
19214
19234
|
}
|
|
19215
|
-
const E1 = /* @__PURE__ */ Ae(l1, [["render",
|
|
19235
|
+
const E1 = /* @__PURE__ */ Ae(l1, [["render", T1], ["__scopeId", "data-v-5024d104"]]), x1 = ft({
|
|
19216
19236
|
name: "TopProcess",
|
|
19217
19237
|
provide() {
|
|
19218
19238
|
return {
|
|
@@ -20145,7 +20165,7 @@ function K1(e, t, i, s, n, r) {
|
|
|
20145
20165
|
}, 8, ["titleText", "visible"])
|
|
20146
20166
|
]);
|
|
20147
20167
|
}
|
|
20148
|
-
const lw = /* @__PURE__ */ Ae(x1, [["render", K1], ["__scopeId", "data-v-773f6eab"]]), H1 = "ddy-process-h5", W1 = "1.0.1-rc.3.
|
|
20168
|
+
const lw = /* @__PURE__ */ Ae(x1, [["render", K1], ["__scopeId", "data-v-773f6eab"]]), H1 = "ddy-process-h5", W1 = "1.0.1-rc.3.89", Y1 = "> app\u7AEF \u6D41\u7A0B\u63D2\u4EF6", z1 = "./ddy-process-h5.umd.cjs", X1 = "./style.css", Z1 = "module", $1 = {
|
|
20149
20169
|
".": {
|
|
20150
20170
|
import: "./ddy-process-h5.js",
|
|
20151
20171
|
require: "./ddy-process-h5.umd.cjs"
|