lyflowchart 1.0.75 → 1.0.77
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +174 -172
- package/dist/index.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as li, ref as Ne, reactive as Zc, watch as
|
|
1
|
+
import { defineComponent as li, ref as Ne, reactive as Zc, watch as fr, onMounted as bo, resolveComponent as Ee, openBlock as Le, createBlock as vt, withCtx as oe, createVNode as se, createTextVNode as Xe, createCommentVNode as Pn, inject as Uh, computed as po, createElementBlock as Ot, createElementVNode as St, withDirectives as Gh, vShow as Vh, Fragment as wr, renderList as Sr, withKeys as t2, toDisplayString as Yn, provide as n2, nextTick as Jc, normalizeClass as r2, onBeforeUnmount as i2 } from "vue";
|
|
2
2
|
import { SearchOutlined as Kh, SyncOutlined as qE, RedoOutlined as o2, UserOutlined as a2, TeamOutlined as s2, CodeOutlined as l2, PlusOutlined as u2, QuestionCircleOutlined as c2, UploadOutlined as p2, DragOutlined as f2, ZoomInOutlined as d2, ZoomOutOutlined as h2 } from "@ant-design/icons-vue";
|
|
3
3
|
import { message as YE, Modal as v2 } from "ant-design-vue";
|
|
4
4
|
var Fc = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
@@ -490,7 +490,7 @@ b`.split(/\n/).length != 3 ? function(i) {
|
|
|
490
490
|
var f = Yi.hasOwnProperty(i) ? Yi[i] : Yi[i] = {};
|
|
491
491
|
Ve(s, f);
|
|
492
492
|
}
|
|
493
|
-
function
|
|
493
|
+
function yr(i, s) {
|
|
494
494
|
if (s === !0)
|
|
495
495
|
return s;
|
|
496
496
|
if (i.copyState)
|
|
@@ -662,7 +662,7 @@ b`.split(/\n/).length != 3 ? function(i) {
|
|
|
662
662
|
function yi(i, s) {
|
|
663
663
|
return Ye(i, s) < 0 ? i : s;
|
|
664
664
|
}
|
|
665
|
-
function
|
|
665
|
+
function br(i, s) {
|
|
666
666
|
return Math.max(i.first, Math.min(s, i.first + i.size - 1));
|
|
667
667
|
}
|
|
668
668
|
function Je(i, s) {
|
|
@@ -682,13 +682,13 @@ b`.split(/\n/).length != 3 ? function(i) {
|
|
|
682
682
|
}
|
|
683
683
|
var Yo = function(i, s) {
|
|
684
684
|
this.state = i, this.lookAhead = s;
|
|
685
|
-
},
|
|
685
|
+
}, Er = function(i, s, f, p) {
|
|
686
686
|
this.state = s, this.doc = i, this.line = f, this.maxLookAhead = p || 0, this.baseTokens = null, this.baseTokenPos = 1;
|
|
687
687
|
};
|
|
688
|
-
|
|
688
|
+
Er.prototype.lookAhead = function(i) {
|
|
689
689
|
var s = this.doc.getLine(this.line + i);
|
|
690
690
|
return s != null && i > this.maxLookAhead && (this.maxLookAhead = i), s;
|
|
691
|
-
},
|
|
691
|
+
}, Er.prototype.baseToken = function(i) {
|
|
692
692
|
if (!this.baseTokens)
|
|
693
693
|
return null;
|
|
694
694
|
for (; this.baseTokens[this.baseTokenPos] <= i; )
|
|
@@ -698,12 +698,12 @@ b`.split(/\n/).length != 3 ? function(i) {
|
|
|
698
698
|
type: s && s.replace(/( |^)overlay .*/, ""),
|
|
699
699
|
size: this.baseTokens[this.baseTokenPos] - i
|
|
700
700
|
};
|
|
701
|
-
},
|
|
701
|
+
}, Er.prototype.nextLine = function() {
|
|
702
702
|
this.line++, this.maxLookAhead > 0 && this.maxLookAhead--;
|
|
703
|
-
},
|
|
704
|
-
return s instanceof Yo ? new
|
|
705
|
-
},
|
|
706
|
-
var s = i !== !1 ?
|
|
703
|
+
}, Er.fromSaved = function(i, s, f) {
|
|
704
|
+
return s instanceof Yo ? new Er(i, yr(i.mode, s.state), f, s.lookAhead) : new Er(i, yr(i.mode, s), f);
|
|
705
|
+
}, Er.prototype.save = function(i) {
|
|
706
|
+
var s = i !== !1 ? yr(this.doc.mode, this.state) : this.state;
|
|
707
707
|
return this.maxLookAhead > 0 ? new Yo(s, this.maxLookAhead) : s;
|
|
708
708
|
};
|
|
709
709
|
function Mu(i, s, f, p) {
|
|
@@ -742,7 +742,7 @@ b`.split(/\n/).length != 3 ? function(i) {
|
|
|
742
742
|
}
|
|
743
743
|
function N(i, s, f) {
|
|
744
744
|
if (!s.styles || s.styles[0] != i.state.modeGen) {
|
|
745
|
-
var p = O(i, yt(s)), h = s.text.length > i.options.maxHighlightLength &&
|
|
745
|
+
var p = O(i, yt(s)), h = s.text.length > i.options.maxHighlightLength && yr(i.doc.mode, p.state), g = Mu(i, s, p);
|
|
746
746
|
h && (p.state = h), s.stateAfter = p.save(!h), s.styles = g.styles, g.classes ? s.styleClasses = g.classes : s.styleClasses && (s.styleClasses = null), f === i.doc.highlightFrontier && (i.doc.modeFrontier = Math.max(i.doc.modeFrontier, ++i.doc.highlightFrontier));
|
|
747
747
|
}
|
|
748
748
|
return s.styles;
|
|
@@ -750,8 +750,8 @@ b`.split(/\n/).length != 3 ? function(i) {
|
|
|
750
750
|
function O(i, s, f) {
|
|
751
751
|
var p = i.doc, h = i.display;
|
|
752
752
|
if (!p.mode.startState)
|
|
753
|
-
return new
|
|
754
|
-
var g = Sn(i, s, f), E = g > p.first && Re(p, g - 1).stateAfter, x = E ?
|
|
753
|
+
return new Er(p, !0, s);
|
|
754
|
+
var g = Sn(i, s, f), E = g > p.first && Re(p, g - 1).stateAfter, x = E ? Er.fromSaved(p, E, g) : new Er(p, gi(p.mode), g);
|
|
755
755
|
return p.iter(g, s, function(S) {
|
|
756
756
|
V(i, S.text, x);
|
|
757
757
|
var A = x.line;
|
|
@@ -789,7 +789,7 @@ b`.split(/\n/).length != 3 ? function(i) {
|
|
|
789
789
|
s = Je(h, s);
|
|
790
790
|
var x = Re(h, s.line), S = O(i, s.line, f), A = new _t(x.text, i.options.tabSize, S), B;
|
|
791
791
|
for (p && (B = []); (p || A.pos < s.ch) && !A.eol(); )
|
|
792
|
-
A.start = A.pos, E = he(g, A, S.state), p && B.push(new De(A, E,
|
|
792
|
+
A.start = A.pos, E = he(g, A, S.state), p && B.push(new De(A, E, yr(h.mode, S.state)));
|
|
793
793
|
return p ? B : new De(A, E, S.state);
|
|
794
794
|
}
|
|
795
795
|
function qt(i, s) {
|
|
@@ -837,7 +837,7 @@ b`.split(/\n/).length != 3 ? function(i) {
|
|
|
837
837
|
}
|
|
838
838
|
return h;
|
|
839
839
|
}
|
|
840
|
-
function
|
|
840
|
+
function _r(i, s) {
|
|
841
841
|
if (i.modeFrontier = Math.min(i.modeFrontier, s), !(i.highlightFrontier < s - 10)) {
|
|
842
842
|
for (var f = i.first, p = s - 1; p > f; p--) {
|
|
843
843
|
var h = Re(i, p).stateAfter;
|
|
@@ -2419,7 +2419,7 @@ b`.split(/\n/).length != 3 ? function(i) {
|
|
|
2419
2419
|
var f = +/* @__PURE__ */ new Date() + i.options.workTime, p = O(i, s.highlightFrontier), h = [];
|
|
2420
2420
|
s.iter(p.line, Math.min(s.first + s.size, i.display.viewTo + 500), function(g) {
|
|
2421
2421
|
if (p.line >= i.display.viewFrom) {
|
|
2422
|
-
var E = g.styles, x = g.text.length > i.options.maxHighlightLength ?
|
|
2422
|
+
var E = g.styles, x = g.text.length > i.options.maxHighlightLength ? yr(s.mode, p.state) : null, S = Mu(i, g, p, !0);
|
|
2423
2423
|
x && (p.state = x), g.styles = S.styles;
|
|
2424
2424
|
var A = g.styleClasses, B = S.classes;
|
|
2425
2425
|
B ? g.styleClasses = B : A && (g.styleClasses = null);
|
|
@@ -3157,7 +3157,7 @@ b`.split(/\n/).length != 3 ? function(i) {
|
|
|
3157
3157
|
})), p.sel.contains(s.from, s.to) > -1 && Su(i), pd(p, s, f, wg(i)), i.options.lineWrapping || (p.iter(S, g.line + s.text.length, function(q) {
|
|
3158
3158
|
var ie = Bu(q);
|
|
3159
3159
|
ie > h.maxLineLength && (h.maxLine = q, h.maxLineLength = ie, h.maxLineChanged = !0, x = !1);
|
|
3160
|
-
}), x && (i.curOp.updateMaxLine = !0)),
|
|
3160
|
+
}), x && (i.curOp.updateMaxLine = !0)), _r(p, g.line), qs(i, 400);
|
|
3161
3161
|
var A = s.text.length - (E.line - g.line) - 1;
|
|
3162
3162
|
s.full ? Wn(i) : g.line == E.line && s.text.length == 1 && !zg(i.doc, s) ? Ji(i, g.line, "text") : Wn(i, g.line, E.line + 1, A);
|
|
3163
3163
|
var B = Qn(i, "changes"), H = Qn(i, "change");
|
|
@@ -3207,7 +3207,7 @@ b`.split(/\n/).length != 3 ? function(i) {
|
|
|
3207
3207
|
}
|
|
3208
3208
|
function Js(i, s, f, p) {
|
|
3209
3209
|
var h = s, g = s;
|
|
3210
|
-
return typeof s == "number" ? g = Re(i,
|
|
3210
|
+
return typeof s == "number" ? g = Re(i, br(i, s)) : h = yt(s), h == null ? null : (p(g, h) && i.cm && Ji(i.cm, h, f), g);
|
|
3211
3211
|
}
|
|
3212
3212
|
function Qs(i) {
|
|
3213
3213
|
this.lines = i, this.parent = null;
|
|
@@ -5312,7 +5312,7 @@ b`.split(/\n/).length != 3 ? function(i) {
|
|
|
5312
5312
|
},
|
|
5313
5313
|
getStateAfter: function(p, h) {
|
|
5314
5314
|
var g = this.doc;
|
|
5315
|
-
return p =
|
|
5315
|
+
return p = br(g, p ?? g.first + g.size - 1), O(this, p + 1, h).state;
|
|
5316
5316
|
},
|
|
5317
5317
|
cursorCoords: function(p, h) {
|
|
5318
5318
|
var g, E = this.doc.sel.primary();
|
|
@@ -6119,7 +6119,7 @@ b`.split(/\n/).length != 3 ? function(i) {
|
|
|
6119
6119
|
return x;
|
|
6120
6120
|
}
|
|
6121
6121
|
function QC(i) {
|
|
6122
|
-
i.off = Nn, i.on = je, i.wheelEventPixels = aC, i.Doc = Un, i.splitLines = Bs, i.countColumn = ze, i.findColumn = it, i.isWordChar = ks, i.Pass = ve, i.signal = Nt, i.Line = Ba, i.changeEnd = to, i.scrollbarModel = kg, i.Pos = fe, i.cmpPos = Ye, i.modes = Wo, i.mimeModes = er, i.resolveMode = mi, i.getMode = Vo, i.modeExtensions = Yi, i.extendMode = Of, i.copyState =
|
|
6122
|
+
i.off = Nn, i.on = je, i.wheelEventPixels = aC, i.Doc = Un, i.splitLines = Bs, i.countColumn = ze, i.findColumn = it, i.isWordChar = ks, i.Pass = ve, i.signal = Nt, i.Line = Ba, i.changeEnd = to, i.scrollbarModel = kg, i.Pos = fe, i.cmpPos = Ye, i.modes = Wo, i.mimeModes = er, i.resolveMode = mi, i.getMode = Vo, i.modeExtensions = Yi, i.extendMode = Of, i.copyState = yr, i.startState = gi, i.innerMode = Ln, i.commands = ol, i.keyMap = wi, i.keyName = gy, i.isModifierKey = vy, i.lookupKey = Xa, i.normalizeKeyMap = PC, i.StringStream = _t, i.SharedTextMarker = nl, i.TextMarker = ro, i.LineWidget = tl, i.e_preventDefault = yn, i.e_stopPropagation = Cu, i.e_stop = jo, i.addClass = T, i.contains = Ce, i.rmClass = Q, i.keyNames = io;
|
|
6123
6123
|
}
|
|
6124
6124
|
UC(At), qC(At);
|
|
6125
6125
|
var e2 = "iter insert remove copy getEditor constructor".split(" ");
|
|
@@ -6832,7 +6832,7 @@ function I2(e, t, n, r, o) {
|
|
|
6832
6832
|
function B2(e, t, n, r) {
|
|
6833
6833
|
return n_.indexOf(t) !== -1 && (r = !0), We.unbind(e, t, n, r);
|
|
6834
6834
|
}
|
|
6835
|
-
var
|
|
6835
|
+
var Tr = {
|
|
6836
6836
|
bind: I2,
|
|
6837
6837
|
unbind: B2
|
|
6838
6838
|
}, F2 = $2, r_ = !1, lc;
|
|
@@ -8429,19 +8429,19 @@ Qe.prototype.resized = function() {
|
|
|
8429
8429
|
delete this._cachedViewbox, this._eventBus.fire("canvas.resized");
|
|
8430
8430
|
};
|
|
8431
8431
|
var cs = "data-element-id";
|
|
8432
|
-
function
|
|
8432
|
+
function hr(e) {
|
|
8433
8433
|
this._elements = {}, this._eventBus = e;
|
|
8434
8434
|
}
|
|
8435
|
-
|
|
8436
|
-
|
|
8435
|
+
hr.$inject = ["eventBus"];
|
|
8436
|
+
hr.prototype.add = function(e, t, n) {
|
|
8437
8437
|
var r = e.id;
|
|
8438
8438
|
this._validateId(r), Te(t, cs, r), n && Te(n, cs, r), this._elements[r] = { element: e, gfx: t, secondaryGfx: n };
|
|
8439
8439
|
};
|
|
8440
|
-
|
|
8440
|
+
hr.prototype.remove = function(e) {
|
|
8441
8441
|
var t = this._elements, n = e.id || e, r = n && t[n];
|
|
8442
8442
|
r && (Te(r.gfx, cs, ""), r.secondaryGfx && Te(r.secondaryGfx, cs, ""), delete t[n]);
|
|
8443
8443
|
};
|
|
8444
|
-
|
|
8444
|
+
hr.prototype.updateId = function(e, t) {
|
|
8445
8445
|
this._validateId(t), typeof e == "string" && (e = this.get(e)), this._eventBus.fire("element.updateId", {
|
|
8446
8446
|
element: e,
|
|
8447
8447
|
newId: t
|
|
@@ -8449,46 +8449,46 @@ dr.prototype.updateId = function(e, t) {
|
|
|
8449
8449
|
var n = this.getGraphics(e), r = this.getGraphics(e, !0);
|
|
8450
8450
|
this.remove(e), e.id = t, this.add(e, n, r);
|
|
8451
8451
|
};
|
|
8452
|
-
|
|
8452
|
+
hr.prototype.updateGraphics = function(e, t, n) {
|
|
8453
8453
|
var r = e.id || e, o = this._elements[r];
|
|
8454
8454
|
return n ? o.secondaryGfx = t : o.gfx = t, t && Te(t, cs, r), t;
|
|
8455
8455
|
};
|
|
8456
|
-
|
|
8456
|
+
hr.prototype.get = function(e) {
|
|
8457
8457
|
var t;
|
|
8458
8458
|
typeof e == "string" ? t = e : t = e && Te(e, cs);
|
|
8459
8459
|
var n = this._elements[t];
|
|
8460
8460
|
return n && n.element;
|
|
8461
8461
|
};
|
|
8462
|
-
|
|
8462
|
+
hr.prototype.filter = function(e) {
|
|
8463
8463
|
var t = [];
|
|
8464
8464
|
return this.forEach(function(n, r) {
|
|
8465
8465
|
e(n, r) && t.push(n);
|
|
8466
8466
|
}), t;
|
|
8467
8467
|
};
|
|
8468
|
-
|
|
8468
|
+
hr.prototype.find = function(e) {
|
|
8469
8469
|
for (var t = this._elements, n = Object.keys(t), r = 0; r < n.length; r++) {
|
|
8470
8470
|
var o = n[r], a = t[o], l = a.element, u = a.gfx;
|
|
8471
8471
|
if (e(l, u))
|
|
8472
8472
|
return l;
|
|
8473
8473
|
}
|
|
8474
8474
|
};
|
|
8475
|
-
|
|
8475
|
+
hr.prototype.getAll = function() {
|
|
8476
8476
|
return this.filter(function(e) {
|
|
8477
8477
|
return e;
|
|
8478
8478
|
});
|
|
8479
8479
|
};
|
|
8480
|
-
|
|
8480
|
+
hr.prototype.forEach = function(e) {
|
|
8481
8481
|
var t = this._elements;
|
|
8482
8482
|
Object.keys(t).forEach(function(n) {
|
|
8483
8483
|
var r = t[n], o = r.element, a = r.gfx;
|
|
8484
8484
|
return e(o, a);
|
|
8485
8485
|
});
|
|
8486
8486
|
};
|
|
8487
|
-
|
|
8487
|
+
hr.prototype.getGraphics = function(e, t) {
|
|
8488
8488
|
var n = e.id || e, r = this._elements[n];
|
|
8489
8489
|
return r && (t ? r.secondaryGfx : r.gfx);
|
|
8490
8490
|
};
|
|
8491
|
-
|
|
8491
|
+
hr.prototype._validateId = function(e) {
|
|
8492
8492
|
if (!e)
|
|
8493
8493
|
throw new Error("element must have an id");
|
|
8494
8494
|
if (this._elements[e])
|
|
@@ -8790,19 +8790,19 @@ function k_(e, t) {
|
|
|
8790
8790
|
var n = xl();
|
|
8791
8791
|
n.setRotate(t, 0, 0), Dl(e, n);
|
|
8792
8792
|
}
|
|
8793
|
-
function
|
|
8793
|
+
function vr(e, t) {
|
|
8794
8794
|
this._eventBus = e, this._elementRegistry = t;
|
|
8795
8795
|
}
|
|
8796
|
-
|
|
8797
|
-
|
|
8796
|
+
vr.$inject = ["eventBus", "elementRegistry"];
|
|
8797
|
+
vr.prototype._getChildrenContainer = function(e) {
|
|
8798
8798
|
var t = this._elementRegistry.getGraphics(e), n;
|
|
8799
8799
|
return e.parent ? (n = QT(t), n || (n = $e("g"), ut(n).add("djs-children"), Ge(t.parentNode, n))) : n = t, n;
|
|
8800
8800
|
};
|
|
8801
|
-
|
|
8801
|
+
vr.prototype._clear = function(e) {
|
|
8802
8802
|
var t = lp(e);
|
|
8803
8803
|
return xp(t), t;
|
|
8804
8804
|
};
|
|
8805
|
-
|
|
8805
|
+
vr.prototype._createContainer = function(e, t, n, r) {
|
|
8806
8806
|
var o = $e("g");
|
|
8807
8807
|
ut(o).add("djs-group"), typeof n < "u" ? M_(o, t, t.childNodes[n]) : Ge(t, o);
|
|
8808
8808
|
var a = $e("g");
|
|
@@ -8810,11 +8810,11 @@ hr.prototype._createContainer = function(e, t, n, r) {
|
|
|
8810
8810
|
var l = $e("g");
|
|
8811
8811
|
return ut(l).add("djs-visual"), Ge(a, l), a;
|
|
8812
8812
|
};
|
|
8813
|
-
|
|
8813
|
+
vr.prototype.create = function(e, t, n) {
|
|
8814
8814
|
var r = this._getChildrenContainer(t.parent);
|
|
8815
8815
|
return this._createContainer(e, r, n, h_(t));
|
|
8816
8816
|
};
|
|
8817
|
-
|
|
8817
|
+
vr.prototype.updateContainments = function(e) {
|
|
8818
8818
|
var t = this, n = this._elementRegistry, r;
|
|
8819
8819
|
r = ar(e, function(o, a) {
|
|
8820
8820
|
return a.parent && (o[a.parent.id] = a.parent), o;
|
|
@@ -8829,23 +8829,23 @@ hr.prototype.updateContainments = function(e) {
|
|
|
8829
8829
|
}
|
|
8830
8830
|
});
|
|
8831
8831
|
};
|
|
8832
|
-
|
|
8832
|
+
vr.prototype.drawShape = function(e, t) {
|
|
8833
8833
|
var n = this._eventBus;
|
|
8834
8834
|
return n.fire("render.shape", { gfx: e, element: t });
|
|
8835
8835
|
};
|
|
8836
|
-
|
|
8836
|
+
vr.prototype.getShapePath = function(e) {
|
|
8837
8837
|
var t = this._eventBus;
|
|
8838
8838
|
return t.fire("render.getShapePath", e);
|
|
8839
8839
|
};
|
|
8840
|
-
|
|
8840
|
+
vr.prototype.drawConnection = function(e, t) {
|
|
8841
8841
|
var n = this._eventBus;
|
|
8842
8842
|
return n.fire("render.connection", { gfx: e, element: t });
|
|
8843
8843
|
};
|
|
8844
|
-
|
|
8844
|
+
vr.prototype.getConnectionPath = function(e) {
|
|
8845
8845
|
var t = this._eventBus;
|
|
8846
8846
|
return t.fire("render.getConnectionPath", e);
|
|
8847
8847
|
};
|
|
8848
|
-
|
|
8848
|
+
vr.prototype.update = function(e, t, n) {
|
|
8849
8849
|
if (t.parent) {
|
|
8850
8850
|
var r = this._clear(n);
|
|
8851
8851
|
if (e === "shape")
|
|
@@ -8857,7 +8857,7 @@ hr.prototype.update = function(e, t, n) {
|
|
|
8857
8857
|
t.hidden ? Te(n, "display", "none") : Te(n, "display", "block");
|
|
8858
8858
|
}
|
|
8859
8859
|
};
|
|
8860
|
-
|
|
8860
|
+
vr.prototype.remove = function(e) {
|
|
8861
8861
|
var t = this._elementRegistry.getGraphics(e);
|
|
8862
8862
|
Wt(t.parentNode);
|
|
8863
8863
|
};
|
|
@@ -8869,10 +8869,10 @@ const eA = {
|
|
|
8869
8869
|
__depends__: [mT],
|
|
8870
8870
|
__init__: ["canvas"],
|
|
8871
8871
|
canvas: ["type", Qe],
|
|
8872
|
-
elementRegistry: ["type",
|
|
8872
|
+
elementRegistry: ["type", hr],
|
|
8873
8873
|
elementFactory: ["type", Fi],
|
|
8874
8874
|
eventBus: ["type", sr],
|
|
8875
|
-
graphicsFactory: ["type",
|
|
8875
|
+
graphicsFactory: ["type", vr]
|
|
8876
8876
|
};
|
|
8877
8877
|
function tA(e) {
|
|
8878
8878
|
var t = new c_(e);
|
|
@@ -8942,10 +8942,10 @@ function Ri(e, t) {
|
|
|
8942
8942
|
localName: r
|
|
8943
8943
|
};
|
|
8944
8944
|
}
|
|
8945
|
-
function
|
|
8945
|
+
function mr(e) {
|
|
8946
8946
|
this.ns = e, this.name = e.name, this.allTypes = [], this.allTypesByName = {}, this.properties = [], this.propertiesByName = {};
|
|
8947
8947
|
}
|
|
8948
|
-
|
|
8948
|
+
mr.prototype.build = function() {
|
|
8949
8949
|
return Ar(this, [
|
|
8950
8950
|
"ns",
|
|
8951
8951
|
"name",
|
|
@@ -8957,12 +8957,12 @@ vr.prototype.build = function() {
|
|
|
8957
8957
|
"idProperty"
|
|
8958
8958
|
]);
|
|
8959
8959
|
};
|
|
8960
|
-
|
|
8960
|
+
mr.prototype.addProperty = function(e, t, n) {
|
|
8961
8961
|
typeof t == "boolean" && (n = t, t = void 0), this.addNamedProperty(e, n !== !1);
|
|
8962
8962
|
var r = this.properties;
|
|
8963
8963
|
t !== void 0 ? r.splice(t, 0, e) : r.push(e);
|
|
8964
8964
|
};
|
|
8965
|
-
|
|
8965
|
+
mr.prototype.replaceProperty = function(e, t, n) {
|
|
8966
8966
|
var r = e.ns, o = this.properties, a = this.propertiesByName, l = e.name !== t.name;
|
|
8967
8967
|
if (e.isId) {
|
|
8968
8968
|
if (!t.isId)
|
|
@@ -8983,7 +8983,7 @@ vr.prototype.replaceProperty = function(e, t, n) {
|
|
|
8983
8983
|
throw new Error("property <" + r.name + "> not found in property list");
|
|
8984
8984
|
o.splice(u, 1), this.addProperty(t, n ? void 0 : u, l), a[r.name] = a[r.localName] = t;
|
|
8985
8985
|
};
|
|
8986
|
-
|
|
8986
|
+
mr.prototype.redefineProperty = function(e, t, n) {
|
|
8987
8987
|
var r = e.ns.prefix, o = t.split("#"), a = Ri(o[0], r), l = Ri(o[1], a.prefix).name, u = this.propertiesByName[l];
|
|
8988
8988
|
if (u)
|
|
8989
8989
|
this.replaceProperty(u, e, n);
|
|
@@ -8991,45 +8991,45 @@ vr.prototype.redefineProperty = function(e, t, n) {
|
|
|
8991
8991
|
throw new Error("refined property <" + l + "> not found");
|
|
8992
8992
|
delete e.redefines;
|
|
8993
8993
|
};
|
|
8994
|
-
|
|
8994
|
+
mr.prototype.addNamedProperty = function(e, t) {
|
|
8995
8995
|
var n = e.ns, r = this.propertiesByName;
|
|
8996
8996
|
t && (this.assertNotDefined(e, n.name), this.assertNotDefined(e, n.localName)), r[n.name] = r[n.localName] = e;
|
|
8997
8997
|
};
|
|
8998
|
-
|
|
8998
|
+
mr.prototype.removeNamedProperty = function(e) {
|
|
8999
8999
|
var t = e.ns, n = this.propertiesByName;
|
|
9000
9000
|
delete n[t.name], delete n[t.localName];
|
|
9001
9001
|
};
|
|
9002
|
-
|
|
9002
|
+
mr.prototype.setBodyProperty = function(e, t) {
|
|
9003
9003
|
if (t && this.bodyProperty)
|
|
9004
9004
|
throw new Error(
|
|
9005
9005
|
"body property defined multiple times (<" + this.bodyProperty.ns.name + ">, <" + e.ns.name + ">)"
|
|
9006
9006
|
);
|
|
9007
9007
|
this.bodyProperty = e;
|
|
9008
9008
|
};
|
|
9009
|
-
|
|
9009
|
+
mr.prototype.setIdProperty = function(e, t) {
|
|
9010
9010
|
if (t && this.idProperty)
|
|
9011
9011
|
throw new Error(
|
|
9012
9012
|
"id property defined multiple times (<" + this.idProperty.ns.name + ">, <" + e.ns.name + ">)"
|
|
9013
9013
|
);
|
|
9014
9014
|
this.idProperty = e;
|
|
9015
9015
|
};
|
|
9016
|
-
|
|
9016
|
+
mr.prototype.assertNotTrait = function(e) {
|
|
9017
9017
|
if ((e.extends || []).length)
|
|
9018
9018
|
throw new Error(
|
|
9019
9019
|
`cannot create <${e.name}> extending <${e.extends}>`
|
|
9020
9020
|
);
|
|
9021
9021
|
};
|
|
9022
|
-
|
|
9022
|
+
mr.prototype.assertNotDefined = function(e, t) {
|
|
9023
9023
|
var n = e.name, r = this.propertiesByName[n];
|
|
9024
9024
|
if (r)
|
|
9025
9025
|
throw new Error(
|
|
9026
9026
|
"property <" + n + "> already defined; override of <" + r.definedBy.ns.name + "#" + r.ns.name + "> by <" + e.definedBy.ns.name + "#" + e.ns.name + "> not allowed without redefines"
|
|
9027
9027
|
);
|
|
9028
9028
|
};
|
|
9029
|
-
|
|
9029
|
+
mr.prototype.hasProperty = function(e) {
|
|
9030
9030
|
return this.propertiesByName[e];
|
|
9031
9031
|
};
|
|
9032
|
-
|
|
9032
|
+
mr.prototype.addTrait = function(e, t) {
|
|
9033
9033
|
t && this.assertNotTrait(e);
|
|
9034
9034
|
var n = this.allTypesByName, r = this.allTypes, o = e.name;
|
|
9035
9035
|
o in n || (U(e.properties, en(function(a) {
|
|
@@ -9099,7 +9099,7 @@ wo.prototype.mapTypes = function(e, t, n) {
|
|
|
9099
9099
|
U(r.superClass, n ? l : u), t(r, !n), U(r.traits, l);
|
|
9100
9100
|
};
|
|
9101
9101
|
wo.prototype.getEffectiveDescriptor = function(e) {
|
|
9102
|
-
var t = Ri(e), n = new
|
|
9102
|
+
var t = Ri(e), n = new mr(t);
|
|
9103
9103
|
this.mapTypes(t, function(o, a) {
|
|
9104
9104
|
n.addTrait(o, a);
|
|
9105
9105
|
});
|
|
@@ -9612,10 +9612,10 @@ function Hn(e, t) {
|
|
|
9612
9612
|
localName: r
|
|
9613
9613
|
};
|
|
9614
9614
|
}
|
|
9615
|
-
function
|
|
9615
|
+
function gr(e) {
|
|
9616
9616
|
this.ns = e, this.name = e.name, this.allTypes = [], this.allTypesByName = {}, this.properties = [], this.propertiesByName = {};
|
|
9617
9617
|
}
|
|
9618
|
-
|
|
9618
|
+
gr.prototype.build = function() {
|
|
9619
9619
|
return Ar(this, [
|
|
9620
9620
|
"ns",
|
|
9621
9621
|
"name",
|
|
@@ -9627,12 +9627,12 @@ mr.prototype.build = function() {
|
|
|
9627
9627
|
"idProperty"
|
|
9628
9628
|
]);
|
|
9629
9629
|
};
|
|
9630
|
-
|
|
9630
|
+
gr.prototype.addProperty = function(e, t, n) {
|
|
9631
9631
|
typeof t == "boolean" && (n = t, t = void 0), this.addNamedProperty(e, n !== !1);
|
|
9632
9632
|
var r = this.properties;
|
|
9633
9633
|
t !== void 0 ? r.splice(t, 0, e) : r.push(e);
|
|
9634
9634
|
};
|
|
9635
|
-
|
|
9635
|
+
gr.prototype.replaceProperty = function(e, t, n) {
|
|
9636
9636
|
var r = e.ns, o = this.properties, a = this.propertiesByName, l = e.name !== t.name;
|
|
9637
9637
|
if (e.isId) {
|
|
9638
9638
|
if (!t.isId)
|
|
@@ -9653,7 +9653,7 @@ mr.prototype.replaceProperty = function(e, t, n) {
|
|
|
9653
9653
|
throw new Error("property <" + r.name + "> not found in property list");
|
|
9654
9654
|
o.splice(u, 1), this.addProperty(t, n ? void 0 : u, l), a[r.name] = a[r.localName] = t;
|
|
9655
9655
|
};
|
|
9656
|
-
|
|
9656
|
+
gr.prototype.redefineProperty = function(e, t, n) {
|
|
9657
9657
|
var r = e.ns.prefix, o = t.split("#"), a = Hn(o[0], r), l = Hn(o[1], a.prefix).name, u = this.propertiesByName[l];
|
|
9658
9658
|
if (u)
|
|
9659
9659
|
this.replaceProperty(u, e, n);
|
|
@@ -9661,45 +9661,45 @@ mr.prototype.redefineProperty = function(e, t, n) {
|
|
|
9661
9661
|
throw new Error("refined property <" + l + "> not found");
|
|
9662
9662
|
delete e.redefines;
|
|
9663
9663
|
};
|
|
9664
|
-
|
|
9664
|
+
gr.prototype.addNamedProperty = function(e, t) {
|
|
9665
9665
|
var n = e.ns, r = this.propertiesByName;
|
|
9666
9666
|
t && (this.assertNotDefined(e, n.name), this.assertNotDefined(e, n.localName)), r[n.name] = r[n.localName] = e;
|
|
9667
9667
|
};
|
|
9668
|
-
|
|
9668
|
+
gr.prototype.removeNamedProperty = function(e) {
|
|
9669
9669
|
var t = e.ns, n = this.propertiesByName;
|
|
9670
9670
|
delete n[t.name], delete n[t.localName];
|
|
9671
9671
|
};
|
|
9672
|
-
|
|
9672
|
+
gr.prototype.setBodyProperty = function(e, t) {
|
|
9673
9673
|
if (t && this.bodyProperty)
|
|
9674
9674
|
throw new Error(
|
|
9675
9675
|
"body property defined multiple times (<" + this.bodyProperty.ns.name + ">, <" + e.ns.name + ">)"
|
|
9676
9676
|
);
|
|
9677
9677
|
this.bodyProperty = e;
|
|
9678
9678
|
};
|
|
9679
|
-
|
|
9679
|
+
gr.prototype.setIdProperty = function(e, t) {
|
|
9680
9680
|
if (t && this.idProperty)
|
|
9681
9681
|
throw new Error(
|
|
9682
9682
|
"id property defined multiple times (<" + this.idProperty.ns.name + ">, <" + e.ns.name + ">)"
|
|
9683
9683
|
);
|
|
9684
9684
|
this.idProperty = e;
|
|
9685
9685
|
};
|
|
9686
|
-
|
|
9686
|
+
gr.prototype.assertNotTrait = function(e) {
|
|
9687
9687
|
if ((e.extends || []).length)
|
|
9688
9688
|
throw new Error(
|
|
9689
9689
|
`cannot create <${e.name}> extending <${e.extends}>`
|
|
9690
9690
|
);
|
|
9691
9691
|
};
|
|
9692
|
-
|
|
9692
|
+
gr.prototype.assertNotDefined = function(e, t) {
|
|
9693
9693
|
var n = e.name, r = this.propertiesByName[n];
|
|
9694
9694
|
if (r)
|
|
9695
9695
|
throw new Error(
|
|
9696
9696
|
"property <" + n + "> already defined; override of <" + r.definedBy.ns.name + "#" + r.ns.name + "> by <" + e.definedBy.ns.name + "#" + e.ns.name + "> not allowed without redefines"
|
|
9697
9697
|
);
|
|
9698
9698
|
};
|
|
9699
|
-
|
|
9699
|
+
gr.prototype.hasProperty = function(e) {
|
|
9700
9700
|
return this.propertiesByName[e];
|
|
9701
9701
|
};
|
|
9702
|
-
|
|
9702
|
+
gr.prototype.addTrait = function(e, t) {
|
|
9703
9703
|
t && this.assertNotTrait(e);
|
|
9704
9704
|
var n = this.allTypesByName, r = this.allTypes, o = e.name;
|
|
9705
9705
|
o in n || (U(e.properties, en(function(a) {
|
|
@@ -9769,7 +9769,7 @@ So.prototype.mapTypes = function(e, t, n) {
|
|
|
9769
9769
|
U(r.superClass, n ? l : u), t(r, !n), U(r.traits, l);
|
|
9770
9770
|
};
|
|
9771
9771
|
So.prototype.getEffectiveDescriptor = function(e) {
|
|
9772
|
-
var t = Hn(e), n = new
|
|
9772
|
+
var t = Hn(e), n = new gr(t);
|
|
9773
9773
|
this.mapTypes(t, function(o, a) {
|
|
9774
9774
|
n.addTrait(o, a);
|
|
9775
9775
|
});
|
|
@@ -14558,7 +14558,7 @@ function zP() {
|
|
|
14558
14558
|
});
|
|
14559
14559
|
}
|
|
14560
14560
|
function jP() {
|
|
14561
|
-
ni || (zP(),
|
|
14561
|
+
ni || (zP(), Tr.bind(ni, ".backdrop", "click", function(e) {
|
|
14562
14562
|
document.body.removeChild(ni);
|
|
14563
14563
|
})), document.body.appendChild(ni);
|
|
14564
14564
|
}
|
|
@@ -16864,11 +16864,11 @@ function ix(e, t, n) {
|
|
|
16864
16864
|
var Q = a[ee] = function(ae) {
|
|
16865
16865
|
o(ee, ae);
|
|
16866
16866
|
};
|
|
16867
|
-
z && (d[ee] = z), Q.$delegate =
|
|
16867
|
+
z && (d[ee] = z), Q.$delegate = Tr.bind(j, m, $, Q);
|
|
16868
16868
|
}
|
|
16869
16869
|
function b(j, $, ee) {
|
|
16870
16870
|
var z = l(ee);
|
|
16871
|
-
z &&
|
|
16871
|
+
z && Tr.unbind(j, $, z.$delegate);
|
|
16872
16872
|
}
|
|
16873
16873
|
function _(j) {
|
|
16874
16874
|
U(c, function($, ee) {
|
|
@@ -17731,7 +17731,7 @@ var aD = ["c", "C"], sD = ["v", "V"], lD = ["y", "Y"], vx = ["z", "Z"];
|
|
|
17731
17731
|
function uD(e) {
|
|
17732
17732
|
return e.ctrlKey || e.metaKey || e.shiftKey || e.altKey;
|
|
17733
17733
|
}
|
|
17734
|
-
function
|
|
17734
|
+
function dr(e) {
|
|
17735
17735
|
return e.altKey ? !1 : e.ctrlKey || e.metaKey;
|
|
17736
17736
|
}
|
|
17737
17737
|
function dn(e, t) {
|
|
@@ -17741,16 +17741,16 @@ function gv(e) {
|
|
|
17741
17741
|
return e.shiftKey;
|
|
17742
17742
|
}
|
|
17743
17743
|
function cD(e) {
|
|
17744
|
-
return
|
|
17744
|
+
return dr(e) && dn(aD, e);
|
|
17745
17745
|
}
|
|
17746
17746
|
function pD(e) {
|
|
17747
|
-
return
|
|
17747
|
+
return dr(e) && dn(sD, e);
|
|
17748
17748
|
}
|
|
17749
17749
|
function fD(e) {
|
|
17750
|
-
return
|
|
17750
|
+
return dr(e) && !gv(e) && dn(vx, e);
|
|
17751
17751
|
}
|
|
17752
17752
|
function dD(e) {
|
|
17753
|
-
return
|
|
17753
|
+
return dr(e) && (dn(lD, e) || dn(vx, e) && gv(e));
|
|
17754
17754
|
}
|
|
17755
17755
|
var zp = "keyboard.keydown", hD = "keyboard.keyup", y0 = "input-handle-modified-keys", vD = 1e3;
|
|
17756
17756
|
function wn(e, t) {
|
|
@@ -17788,7 +17788,7 @@ wn.prototype._isEventIgnored = function(e) {
|
|
|
17788
17788
|
return e.defaultPrevented ? !0 : mD(e.target) && this._isModifiedKeyIgnored(e);
|
|
17789
17789
|
};
|
|
17790
17790
|
wn.prototype._isModifiedKeyIgnored = function(e) {
|
|
17791
|
-
if (!
|
|
17791
|
+
if (!dr(e))
|
|
17792
17792
|
return !0;
|
|
17793
17793
|
var t = this._getAllowedModifiers(e.target);
|
|
17794
17794
|
return t.indexOf(e.key) === -1;
|
|
@@ -17817,7 +17817,7 @@ wn.prototype.removeListener = function(e, t) {
|
|
|
17817
17817
|
this._eventBus.off(t || zp, e);
|
|
17818
17818
|
};
|
|
17819
17819
|
wn.prototype.hasModifier = uD;
|
|
17820
|
-
wn.prototype.isCmd =
|
|
17820
|
+
wn.prototype.isCmd = dr;
|
|
17821
17821
|
wn.prototype.isShift = gv;
|
|
17822
17822
|
wn.prototype.isKey = dn;
|
|
17823
17823
|
function mD(e) {
|
|
@@ -17857,15 +17857,15 @@ Hi.prototype.registerBindings = function(e, t) {
|
|
|
17857
17857
|
return t.trigger("paste"), !0;
|
|
17858
17858
|
}), n("stepZoom", function(r) {
|
|
17859
17859
|
var o = r.keyEvent;
|
|
17860
|
-
if (dn(["+", "Add", "="], o) &&
|
|
17860
|
+
if (dn(["+", "Add", "="], o) && dr(o))
|
|
17861
17861
|
return t.trigger("stepZoom", { value: 1 }), !0;
|
|
17862
17862
|
}), n("stepZoom", function(r) {
|
|
17863
17863
|
var o = r.keyEvent;
|
|
17864
|
-
if (dn(["-", "Subtract"], o) &&
|
|
17864
|
+
if (dn(["-", "Subtract"], o) && dr(o))
|
|
17865
17865
|
return t.trigger("stepZoom", { value: -1 }), !0;
|
|
17866
17866
|
}), n("zoom", function(r) {
|
|
17867
17867
|
var o = r.keyEvent;
|
|
17868
|
-
if (dn("0", o) &&
|
|
17868
|
+
if (dn("0", o) && dr(o))
|
|
17869
17869
|
return t.trigger("zoom", { value: 1 }), !0;
|
|
17870
17870
|
}), n("removeSelection", function(r) {
|
|
17871
17871
|
var o = r.keyEvent;
|
|
@@ -18297,8 +18297,8 @@ var wx = { exports: {} };
|
|
|
18297
18297
|
O.timeStamp = v(), O.deltaTime = O.timeStamp - De.timeStamp, O.angle = vi(qt, rn), O.distance = Fo(qt, rn), gt(V, O), O.offsetDirection = Na(O.deltaX, O.deltaY);
|
|
18298
18298
|
var Sn = wu(O.deltaTime, O.deltaX, O.deltaY);
|
|
18299
18299
|
O.overallVelocityX = Sn.x, O.overallVelocityY = Sn.y, O.overallVelocity = d(Sn.x) > d(Sn.y) ? Sn.x : Sn.y, O.scale = lt ? $o(lt.pointers, re) : 1, O.rotation = lt ? Mf(lt.pointers, re) : 0, O.maxPointers = V.prevInput ? O.pointers.length > V.prevInput.maxPointers ? O.pointers.length : V.prevInput.maxPointers : O.pointers.length, ks(V, O);
|
|
18300
|
-
var
|
|
18301
|
-
j(O.srcEvent.target,
|
|
18300
|
+
var _r = N.element;
|
|
18301
|
+
j(O.srcEvent.target, _r) && (_r = O.srcEvent.target), O.target = _r;
|
|
18302
18302
|
}
|
|
18303
18303
|
function gt(N, O) {
|
|
18304
18304
|
var V = O.center, re = N.offsetDelta || {}, he = N.prevDelta || {}, De = N.prevInput || {};
|
|
@@ -18313,8 +18313,8 @@ var wx = { exports: {} };
|
|
|
18313
18313
|
function ks(N, O) {
|
|
18314
18314
|
var V = N.lastInterval || O, re = O.timeStamp - V.timeStamp, he, De, lt, qt;
|
|
18315
18315
|
if (O.eventType != Ze && (re > _e || V.velocity === o)) {
|
|
18316
|
-
var rn = O.deltaX - V.deltaX, Sn = O.deltaY - V.deltaY,
|
|
18317
|
-
De =
|
|
18316
|
+
var rn = O.deltaX - V.deltaX, Sn = O.deltaY - V.deltaY, _r = wu(re, rn, Sn);
|
|
18317
|
+
De = _r.x, lt = _r.y, he = d(_r.x) > d(_r.y) ? _r.x : _r.y, qt = Na(rn, Sn), N.lastInterval = O;
|
|
18318
18318
|
} else
|
|
18319
18319
|
he = V.velocity, De = V.velocityX, lt = V.velocityY, qt = V.direction;
|
|
18320
18320
|
O.velocity = he, O.velocityX = De, O.velocityY = lt, O.direction = qt;
|
|
@@ -18615,9 +18615,9 @@ var wx = { exports: {} };
|
|
|
18615
18615
|
N[V] = O ? t.CSS.supports("touch-action", V) : !0;
|
|
18616
18616
|
}), N;
|
|
18617
18617
|
}
|
|
18618
|
-
var
|
|
18618
|
+
var yr = 1, Ln = 2, gi = 4, _t = 8, Re = _t, cr = 16, tr = 32;
|
|
18619
18619
|
function nn(N) {
|
|
18620
|
-
this.options = w({}, this.defaults, N || {}), this.id = le(), this.manager = null, this.options.enable = M(this.options.enable, !0), this.state =
|
|
18620
|
+
this.options = w({}, this.defaults, N || {}), this.id = le(), this.manager = null, this.options.enable = M(this.options.enable, !0), this.state = yr, this.simultaneous = {}, this.requireFail = [];
|
|
18621
18621
|
}
|
|
18622
18622
|
nn.prototype = {
|
|
18623
18623
|
/**
|
|
@@ -18719,7 +18719,7 @@ var wx = { exports: {} };
|
|
|
18719
18719
|
*/
|
|
18720
18720
|
canEmit: function() {
|
|
18721
18721
|
for (var N = 0; N < this.requireFail.length; ) {
|
|
18722
|
-
if (!(this.requireFail[N].state & (tr |
|
|
18722
|
+
if (!(this.requireFail[N].state & (tr | yr)))
|
|
18723
18723
|
return !1;
|
|
18724
18724
|
N++;
|
|
18725
18725
|
}
|
|
@@ -18735,7 +18735,7 @@ var wx = { exports: {} };
|
|
|
18735
18735
|
this.reset(), this.state = tr;
|
|
18736
18736
|
return;
|
|
18737
18737
|
}
|
|
18738
|
-
this.state & (Re | cr | tr) && (this.state =
|
|
18738
|
+
this.state & (Re | cr | tr) && (this.state = yr), this.state = this.process(O), this.state & (Ln | gi | _t | cr) && this.tryEmit(O);
|
|
18739
18739
|
},
|
|
18740
18740
|
/**
|
|
18741
18741
|
* return the state of the recognizer
|
|
@@ -19004,10 +19004,10 @@ var wx = { exports: {} };
|
|
|
19004
19004
|
this.state == Re && (this._input.tapCount = this.count, this.manager.emit(this.options.event, this._input));
|
|
19005
19005
|
}
|
|
19006
19006
|
});
|
|
19007
|
-
function
|
|
19008
|
-
return O = O || {}, O.recognizers = M(O.recognizers,
|
|
19007
|
+
function br(N, O) {
|
|
19008
|
+
return O = O || {}, O.recognizers = M(O.recognizers, br.defaults.preset), new Ia(N, O);
|
|
19009
19009
|
}
|
|
19010
|
-
|
|
19010
|
+
br.VERSION = "2.0.7", br.defaults = {
|
|
19011
19011
|
/**
|
|
19012
19012
|
* set if DOM events are being triggered.
|
|
19013
19013
|
* But this is slower and unused by simple implementations, so disabled by default.
|
|
@@ -19105,7 +19105,7 @@ var wx = { exports: {} };
|
|
|
19105
19105
|
};
|
|
19106
19106
|
var Je = 1, ku = 2;
|
|
19107
19107
|
function Ia(N, O) {
|
|
19108
|
-
this.options = w({},
|
|
19108
|
+
this.options = w({}, br.defaults, O || {}), this.options.inputTarget = this.options.inputTarget || N, this.handlers = {}, this.session = {}, this.recognizers = [], this.oldCssProps = {}, this.element = N, this.input = Ma(this), this.touchAction = new Vo(this, this.options.touchAction), Yo(this, !0), b(this.options.recognizers, function(V) {
|
|
19109
19109
|
var re = this.add(new V[0](V[1]));
|
|
19110
19110
|
V[2] && re.recognizeWith(V[2]), V[3] && re.requireFailure(V[3]);
|
|
19111
19111
|
}, this);
|
|
@@ -19219,7 +19219,7 @@ var wx = { exports: {} };
|
|
|
19219
19219
|
* @param {Object} data
|
|
19220
19220
|
*/
|
|
19221
19221
|
emit: function(N, O) {
|
|
19222
|
-
this.options.domEvents &&
|
|
19222
|
+
this.options.domEvents && Er(N, O);
|
|
19223
19223
|
var V = this.handlers[N] && this.handlers[N].slice();
|
|
19224
19224
|
if (!(!V || !V.length)) {
|
|
19225
19225
|
O.type = N, O.preventDefault = function() {
|
|
@@ -19246,16 +19246,16 @@ var wx = { exports: {} };
|
|
|
19246
19246
|
}), O || (N.oldCssProps = {});
|
|
19247
19247
|
}
|
|
19248
19248
|
}
|
|
19249
|
-
function
|
|
19249
|
+
function Er(N, O) {
|
|
19250
19250
|
var V = n.createEvent("Event");
|
|
19251
19251
|
V.initEvent(N, !0, !0), V.gesture = O, O.target.dispatchEvent(V);
|
|
19252
19252
|
}
|
|
19253
|
-
w(
|
|
19253
|
+
w(br, {
|
|
19254
19254
|
INPUT_START: Fe,
|
|
19255
19255
|
INPUT_MOVE: Ve,
|
|
19256
19256
|
INPUT_END: ze,
|
|
19257
19257
|
INPUT_CANCEL: Ze,
|
|
19258
|
-
STATE_POSSIBLE:
|
|
19258
|
+
STATE_POSSIBLE: yr,
|
|
19259
19259
|
STATE_BEGAN: Ln,
|
|
19260
19260
|
STATE_CHANGED: gi,
|
|
19261
19261
|
STATE_ENDED: _t,
|
|
@@ -19297,9 +19297,9 @@ var wx = { exports: {} };
|
|
|
19297
19297
|
prefixed: ue
|
|
19298
19298
|
});
|
|
19299
19299
|
var Mu = typeof t < "u" ? t : typeof self < "u" ? self : {};
|
|
19300
|
-
Mu.Hammer =
|
|
19301
|
-
return
|
|
19302
|
-
}) : e.exports ? e.exports =
|
|
19300
|
+
Mu.Hammer = br, typeof o == "function" && o.amd ? o(function() {
|
|
19301
|
+
return br;
|
|
19302
|
+
}) : e.exports ? e.exports = br : t[r] = br;
|
|
19303
19303
|
})(window, document, "Hammer");
|
|
19304
19304
|
})(wx);
|
|
19305
19305
|
var AD = wx.exports;
|
|
@@ -19637,9 +19637,9 @@ Zn.prototype.getPad = function(e) {
|
|
|
19637
19637
|
var t = this, n = this._overlays, r = Tt('<div class="djs-context-pad"></div>'), o = this._getPosition(e), a = Y({
|
|
19638
19638
|
html: r
|
|
19639
19639
|
}, this._overlaysConfig, o);
|
|
19640
|
-
|
|
19640
|
+
Tr.bind(r, x0, "click", function(c) {
|
|
19641
19641
|
t.trigger("click", c);
|
|
19642
|
-
}),
|
|
19642
|
+
}), Tr.bind(r, x0, "dragstart", function(c) {
|
|
19643
19643
|
t.trigger("dragstart", c);
|
|
19644
19644
|
}), We.bind(r, "mousedown", function(c) {
|
|
19645
19645
|
c.stopPropagation();
|
|
@@ -21931,7 +21931,7 @@ function pw(e) {
|
|
|
21931
21931
|
y: e.y + e.height
|
|
21932
21932
|
};
|
|
21933
21933
|
}
|
|
21934
|
-
function
|
|
21934
|
+
function Cr(e, t) {
|
|
21935
21935
|
return !e || isNaN(e.x) || isNaN(e.y) ? t : {
|
|
21936
21936
|
x: Z0(e.x + e.width / 2),
|
|
21937
21937
|
y: Z0(e.y + e.height / 2)
|
|
@@ -24803,14 +24803,14 @@ Vt.prototype._rebuild = function() {
|
|
|
24803
24803
|
};
|
|
24804
24804
|
Vt.prototype._init = function() {
|
|
24805
24805
|
var e = this, t = this._eventBus, n = this._getParentContainer(), r = this._container = Tt(Vt.HTML_MARKUP);
|
|
24806
|
-
n.appendChild(r), mn(n).add(Ph + QM),
|
|
24806
|
+
n.appendChild(r), mn(n).add(Ph + QM), Tr.bind(r, JM, "click", function(o) {
|
|
24807
24807
|
var a = o.delegateTarget;
|
|
24808
24808
|
if (Zh(a, Aw))
|
|
24809
24809
|
return e.toggle();
|
|
24810
24810
|
e.trigger("click", o);
|
|
24811
24811
|
}), We.bind(r, "mousedown", function(o) {
|
|
24812
24812
|
o.stopPropagation();
|
|
24813
|
-
}),
|
|
24813
|
+
}), Tr.bind(r, Pw, "dragstart", function(o) {
|
|
24814
24814
|
e.trigger("dragstart", o);
|
|
24815
24815
|
}), t.on("canvas.resized", this._layoutChanged, this), t.fire("palette.create", {
|
|
24816
24816
|
container: r
|
|
@@ -26113,7 +26113,7 @@ function Po(e, t, n) {
|
|
|
26113
26113
|
"shape.move.end"
|
|
26114
26114
|
], MN, function(a) {
|
|
26115
26115
|
var l = a.originalEvent;
|
|
26116
|
-
if (!(!o.active || l &&
|
|
26116
|
+
if (!(!o.active || l && dr(l))) {
|
|
26117
26117
|
var u = a.context, c = u.gridSnappingContext;
|
|
26118
26118
|
c || (c = u.gridSnappingContext = {}), ["x", "y"].forEach(function(d) {
|
|
26119
26119
|
var v = {}, m = ON(a, d, e);
|
|
@@ -30152,11 +30152,11 @@ function Jn(e, t) {
|
|
|
30152
30152
|
}
|
|
30153
30153
|
}, this._tooltips = {}, this._tooltipRoot = hI(t.getContainer());
|
|
30154
30154
|
var n = this;
|
|
30155
|
-
|
|
30155
|
+
Tr.bind(this._tooltipRoot, Yd, "mousedown", function(r) {
|
|
30156
30156
|
r.stopPropagation();
|
|
30157
|
-
}),
|
|
30157
|
+
}), Tr.bind(this._tooltipRoot, Yd, "mouseover", function(r) {
|
|
30158
30158
|
n.trigger("mouseover", r);
|
|
30159
|
-
}),
|
|
30159
|
+
}), Tr.bind(this._tooltipRoot, Yd, "mouseout", function(r) {
|
|
30160
30160
|
n.trigger("mouseout", r);
|
|
30161
30161
|
}), this._init();
|
|
30162
30162
|
}
|
|
@@ -30527,14 +30527,14 @@ function ur(e, t, n, r) {
|
|
|
30527
30527
|
"connection.create",
|
|
30528
30528
|
"connection.move",
|
|
30529
30529
|
"connection.delete"
|
|
30530
|
-
],
|
|
30530
|
+
], xr(l)), this.reverted([
|
|
30531
30531
|
"shape.move",
|
|
30532
30532
|
"shape.create",
|
|
30533
30533
|
"shape.delete",
|
|
30534
30534
|
"connection.create",
|
|
30535
30535
|
"connection.move",
|
|
30536
30536
|
"connection.delete"
|
|
30537
|
-
],
|
|
30537
|
+
], xr(u));
|
|
30538
30538
|
function c(b) {
|
|
30539
30539
|
var _ = b.context, w = _.oldRoot, C = w.children;
|
|
30540
30540
|
U(C, function(I) {
|
|
@@ -30546,9 +30546,9 @@ function ur(e, t, n, r) {
|
|
|
30546
30546
|
var _ = b.context.shape;
|
|
30547
30547
|
R(_, "bpmn:BaseElement") && o.updateBounds(_);
|
|
30548
30548
|
}
|
|
30549
|
-
this.executed(["shape.move", "shape.create", "shape.resize"],
|
|
30549
|
+
this.executed(["shape.move", "shape.create", "shape.resize"], xr(function(b) {
|
|
30550
30550
|
b.context.shape.type !== "label" && d(b);
|
|
30551
|
-
})), this.reverted(["shape.move", "shape.create", "shape.resize"],
|
|
30551
|
+
})), this.reverted(["shape.move", "shape.create", "shape.resize"], xr(function(b) {
|
|
30552
30552
|
b.context.shape.type !== "label" && d(b);
|
|
30553
30553
|
})), e.on("shape.changed", function(b) {
|
|
30554
30554
|
b.element.type === "label" && d({ context: { shape: b.element } });
|
|
@@ -30561,12 +30561,12 @@ function ur(e, t, n, r) {
|
|
|
30561
30561
|
"connection.move",
|
|
30562
30562
|
"connection.delete",
|
|
30563
30563
|
"connection.reconnect"
|
|
30564
|
-
],
|
|
30564
|
+
], xr(v)), this.reverted([
|
|
30565
30565
|
"connection.create",
|
|
30566
30566
|
"connection.move",
|
|
30567
30567
|
"connection.delete",
|
|
30568
30568
|
"connection.reconnect"
|
|
30569
|
-
],
|
|
30569
|
+
], xr(v));
|
|
30570
30570
|
function m(b) {
|
|
30571
30571
|
o.updateConnectionWaypoints(b.context.connection);
|
|
30572
30572
|
}
|
|
@@ -30574,25 +30574,25 @@ function ur(e, t, n, r) {
|
|
|
30574
30574
|
"connection.layout",
|
|
30575
30575
|
"connection.move",
|
|
30576
30576
|
"connection.updateWaypoints"
|
|
30577
|
-
],
|
|
30577
|
+
], xr(m)), this.reverted([
|
|
30578
30578
|
"connection.layout",
|
|
30579
30579
|
"connection.move",
|
|
30580
30580
|
"connection.updateWaypoints"
|
|
30581
|
-
],
|
|
30581
|
+
], xr(m)), this.executed("connection.reconnect", xr(function(b) {
|
|
30582
30582
|
var _ = b.context, w = _.connection, C = _.oldSource, I = _.newSource, k = Ae(w), D = Ae(C), P = Ae(I);
|
|
30583
30583
|
k.conditionExpression && !rt(P, [
|
|
30584
30584
|
"bpmn:Activity",
|
|
30585
30585
|
"bpmn:ExclusiveGateway",
|
|
30586
30586
|
"bpmn:InclusiveGateway"
|
|
30587
30587
|
]) && (_.oldConditionExpression = k.conditionExpression, delete k.conditionExpression), C !== I && D.default === k && (_.oldDefault = D.default, delete D.default);
|
|
30588
|
-
})), this.reverted("connection.reconnect",
|
|
30588
|
+
})), this.reverted("connection.reconnect", xr(function(b) {
|
|
30589
30589
|
var _ = b.context, w = _.connection, C = _.oldSource, I = _.newSource, k = Ae(w), D = Ae(C), P = Ae(I);
|
|
30590
30590
|
_.oldConditionExpression && (k.conditionExpression = _.oldConditionExpression), _.oldDefault && (D.default = _.oldDefault, delete P.default);
|
|
30591
30591
|
}));
|
|
30592
30592
|
function y(b) {
|
|
30593
30593
|
o.updateAttachment(b.context);
|
|
30594
30594
|
}
|
|
30595
|
-
this.executed(["element.updateAttachment"],
|
|
30595
|
+
this.executed(["element.updateAttachment"], xr(y)), this.reverted(["element.updateAttachment"], xr(y));
|
|
30596
30596
|
}
|
|
30597
30597
|
ke(ur, ge);
|
|
30598
30598
|
ur.$inject = [
|
|
@@ -30716,7 +30716,7 @@ ur.prototype.updateConnection = function(e) {
|
|
|
30716
30716
|
ur.prototype._getLabel = function(e) {
|
|
30717
30717
|
return e.label || (e.label = this._bpmnFactory.createDiLabel()), e.label;
|
|
30718
30718
|
};
|
|
30719
|
-
function
|
|
30719
|
+
function xr(e) {
|
|
30720
30720
|
return function(t) {
|
|
30721
30721
|
var n = t.context, r = n.shape || n.connection;
|
|
30722
30722
|
R(r, "bpmn:BaseElement") && e(t);
|
|
@@ -33373,12 +33373,12 @@ function W1(e) {
|
|
|
33373
33373
|
"connect.end"
|
|
33374
33374
|
], G3, function(t) {
|
|
33375
33375
|
var n = t.context, r = n.canExecute, o = n.start, a = n.hover, l = n.source, u = n.target;
|
|
33376
|
-
t.originalEvent &&
|
|
33376
|
+
t.originalEvent && dr(t.originalEvent) || (n.initialConnectionStart || (n.initialConnectionStart = n.connectionStart), r && a && Y3(t, a, Q3(a)), a && J3(r, [
|
|
33377
33377
|
"bpmn:Association",
|
|
33378
33378
|
"bpmn:DataInputAssociation",
|
|
33379
33379
|
"bpmn:DataOutputAssociation",
|
|
33380
33380
|
"bpmn:SequenceFlow"
|
|
33381
|
-
]) ? (n.connectionStart =
|
|
33381
|
+
]) ? (n.connectionStart = Cr(o), rt(a, ["bpmn:Event", "bpmn:Gateway"]) && NE(t, Cr(a)), rt(a, ["bpmn:Task", "bpmn:SubProcess"]) && X3(t, a), R(l, "bpmn:BoundaryEvent") && u === l.host && Z3(t)) : U1(r, "bpmn:MessageFlow") ? (R(o, "bpmn:Event") && (n.connectionStart = Cr(o)), R(a, "bpmn:Event") && NE(t, Cr(a))) : n.connectionStart = n.initialConnectionStart);
|
|
33382
33382
|
});
|
|
33383
33383
|
}
|
|
33384
33384
|
W1.$inject = ["eventBus"];
|
|
@@ -33389,7 +33389,7 @@ function Y3(e, t, n) {
|
|
|
33389
33389
|
});
|
|
33390
33390
|
}
|
|
33391
33391
|
function X3(e, t) {
|
|
33392
|
-
var n =
|
|
33392
|
+
var n = Cr(t);
|
|
33393
33393
|
j1.forEach(function(r) {
|
|
33394
33394
|
eB(e, t, r) && jt(e, r, n[r]);
|
|
33395
33395
|
});
|
|
@@ -33397,7 +33397,7 @@ function X3(e, t) {
|
|
|
33397
33397
|
function Z3(e) {
|
|
33398
33398
|
var t = e.context, n = t.source, r = t.target;
|
|
33399
33399
|
if (!tB(t)) {
|
|
33400
|
-
var o =
|
|
33400
|
+
var o = Cr(n), a = Rn(o, r, -10), l = [];
|
|
33401
33401
|
/top|bottom/.test(a) && l.push("x"), /left|right/.test(a) && l.push("y"), l.forEach(function(u) {
|
|
33402
33402
|
var c = e[u], d;
|
|
33403
33403
|
q3(c - o[u]) < eh && (c > o[u] ? d = o[u] + eh : d = o[u] - eh, jt(e, u, d));
|
|
@@ -33485,7 +33485,7 @@ function di(e, t, n) {
|
|
|
33485
33485
|
"shape.move.end"
|
|
33486
33486
|
], nB, function(o) {
|
|
33487
33487
|
var a = o.context, l = a.shape, u = a.snapContext, c = a.target;
|
|
33488
|
-
if (!(o.originalEvent &&
|
|
33488
|
+
if (!(o.originalEvent && dr(o.originalEvent)) && !(hs(o) || !c)) {
|
|
33489
33489
|
var d = u.pointsForTarget(c);
|
|
33490
33490
|
d.initialized || (d = r.addSnapTargetPoints(d, l, c), d.initialized = !0), n.snap(o, d);
|
|
33491
33491
|
}
|
|
@@ -33505,9 +33505,9 @@ di.prototype.initSnap = function(e) {
|
|
|
33505
33505
|
var t = this._elementRegistry, n = e.context, r = n.shape, o = n.snapContext;
|
|
33506
33506
|
o || (o = n.snapContext = new Oo());
|
|
33507
33507
|
var a;
|
|
33508
|
-
t.get(r.id) ? a =
|
|
33509
|
-
x: e.x +
|
|
33510
|
-
y: e.y +
|
|
33508
|
+
t.get(r.id) ? a = Cr(r, e) : a = {
|
|
33509
|
+
x: e.x + Cr(r).x,
|
|
33510
|
+
y: e.y + Cr(r).y
|
|
33511
33511
|
};
|
|
33512
33512
|
var l = {
|
|
33513
33513
|
x: a.x - r.width / 2,
|
|
@@ -33531,7 +33531,7 @@ di.prototype.addSnapTargetPoints = function(e, t, n) {
|
|
|
33531
33531
|
var r = this.getSnapTargets(t, n);
|
|
33532
33532
|
return U(r, function(o) {
|
|
33533
33533
|
if (zh(o)) {
|
|
33534
|
-
zh(t) && e.add("mid",
|
|
33534
|
+
zh(t) && e.add("mid", Cr(o));
|
|
33535
33535
|
return;
|
|
33536
33536
|
}
|
|
33537
33537
|
if (rB(o)) {
|
|
@@ -33543,8 +33543,8 @@ di.prototype.addSnapTargetPoints = function(e, t, n) {
|
|
|
33543
33543
|
});
|
|
33544
33544
|
return;
|
|
33545
33545
|
}
|
|
33546
|
-
e.add("mid",
|
|
33547
|
-
}), !Ue(t.x) || !Ue(t.y) || this._elementRegistry.get(t.id) && e.add("mid",
|
|
33546
|
+
e.add("mid", Cr(o));
|
|
33547
|
+
}), !Ue(t.x) || !Ue(t.y) || this._elementRegistry.get(t.id) && e.add("mid", Cr(t)), e;
|
|
33548
33548
|
};
|
|
33549
33549
|
di.prototype.getSnapTargets = function(e, t) {
|
|
33550
33550
|
return fw(t).filter(function(n) {
|
|
@@ -33654,7 +33654,7 @@ function Eu(e, t) {
|
|
|
33654
33654
|
"resize.end"
|
|
33655
33655
|
], uB, function(r) {
|
|
33656
33656
|
var o = r.context, a = o.shape, l = a.parent, u = o.direction, c = o.snapContext;
|
|
33657
|
-
if (!(r.originalEvent &&
|
|
33657
|
+
if (!(r.originalEvent && dr(r.originalEvent)) && !hs(r)) {
|
|
33658
33658
|
var d = c.pointsForTarget(l);
|
|
33659
33659
|
d.initialized || (d = n.addSnapTargetPoints(d, a, l, u), d.initialized = !0), hB(u) && jt(r, "x", r.x), vB(u) && jt(r, "y", r.y), t.snap(r, d);
|
|
33660
33660
|
}
|
|
@@ -33804,7 +33804,7 @@ Ke.prototype._bindEvents = function() {
|
|
|
33804
33804
|
e._eventMaps.push({
|
|
33805
33805
|
el: n,
|
|
33806
33806
|
type: o,
|
|
33807
|
-
listener:
|
|
33807
|
+
listener: Tr.bind(n, r, o, a)
|
|
33808
33808
|
});
|
|
33809
33809
|
}
|
|
33810
33810
|
t(document, "html", "click", function(n) {
|
|
@@ -33833,7 +33833,7 @@ Ke.prototype._bindEvents = function() {
|
|
|
33833
33833
|
};
|
|
33834
33834
|
Ke.prototype._unbindEvents = function() {
|
|
33835
33835
|
this._eventMaps.forEach(function(e) {
|
|
33836
|
-
|
|
33836
|
+
Tr.unbind(e.el, e.type, e.listener);
|
|
33837
33837
|
});
|
|
33838
33838
|
};
|
|
33839
33839
|
Ke.prototype._search = function(e) {
|
|
@@ -34649,7 +34649,7 @@ const Fn = {
|
|
|
34649
34649
|
}), o.name = w, t("updateFlowType", r.value);
|
|
34650
34650
|
}
|
|
34651
34651
|
};
|
|
34652
|
-
return
|
|
34652
|
+
return fr(
|
|
34653
34653
|
() => e.id,
|
|
34654
34654
|
(w) => {
|
|
34655
34655
|
Fn.isNotBlank(w) && (l(), b());
|
|
@@ -34879,7 +34879,7 @@ const PB = /* @__PURE__ */ hi(TB, [["render", AB]]), RB = li({
|
|
|
34879
34879
|
const ue = await u.fetchDepts();
|
|
34880
34880
|
r.value = ue.data;
|
|
34881
34881
|
};
|
|
34882
|
-
return
|
|
34882
|
+
return fr(
|
|
34883
34883
|
() => e.selectValues,
|
|
34884
34884
|
(ue) => {
|
|
34885
34885
|
Fn.isNotBlank(ue) && (typeof ue == "number" ? D.value = ue : Array.isArray(ue) ? k.value = ue : typeof ue == "string" && (k.value = ue.split(",")));
|
|
@@ -35014,7 +35014,7 @@ function LB(e, t, n, r, o, a) {
|
|
|
35014
35014
|
onChange: e.onPageChange
|
|
35015
35015
|
}, {
|
|
35016
35016
|
default: oe(() => [
|
|
35017
|
-
(Le(!0), Ot(
|
|
35017
|
+
(Le(!0), Ot(wr, null, Sr(e.visibleColumns, (w) => (Le(), vt(b, {
|
|
35018
35018
|
key: w.key,
|
|
35019
35019
|
title: w.label,
|
|
35020
35020
|
"data-index": w.prop,
|
|
@@ -35038,7 +35038,7 @@ function LB(e, t, n, r, o, a) {
|
|
|
35038
35038
|
onChange: e.onPageChange
|
|
35039
35039
|
}, {
|
|
35040
35040
|
default: oe(() => [
|
|
35041
|
-
(Le(!0), Ot(
|
|
35041
|
+
(Le(!0), Ot(wr, null, Sr(e.visibleColumns, (w) => (Le(), vt(b, {
|
|
35042
35042
|
key: w.key,
|
|
35043
35043
|
title: w.label,
|
|
35044
35044
|
"data-index": w.prop,
|
|
@@ -35081,7 +35081,7 @@ const OB = /* @__PURE__ */ hi(RB, [["render", LB], ["__scopeId", "data-v-4483766
|
|
|
35081
35081
|
current: d.value.pageNum,
|
|
35082
35082
|
pageSize: d.value.pageSize
|
|
35083
35083
|
}));
|
|
35084
|
-
|
|
35084
|
+
fr(
|
|
35085
35085
|
() => e.selectValues,
|
|
35086
35086
|
(L) => {
|
|
35087
35087
|
Fn.isNotBlank(L) && (typeof L == "number" || typeof L == "string" ? m.value = L : Array.isArray(L) ? v.value = L.map((W) => W) : typeof L == "string" && (v.value = L.split(",").map((W) => W.trim()).filter(Boolean)));
|
|
@@ -35309,7 +35309,7 @@ const $B = /* @__PURE__ */ hi(IB, [["render", FB], ["__scopeId", "data-v-84faffe
|
|
|
35309
35309
|
}, _ = (w, C) => {
|
|
35310
35310
|
u.value.pageNum = 1, u.value.pageSize = C, d();
|
|
35311
35311
|
};
|
|
35312
|
-
return
|
|
35312
|
+
return fr(
|
|
35313
35313
|
() => e.selectValues,
|
|
35314
35314
|
(w) => {
|
|
35315
35315
|
Fn.isNotBlank(w) && (l.value = w);
|
|
@@ -35574,7 +35574,7 @@ const UB = /* @__PURE__ */ hi(zB, [["render", WB], ["__scopeId", "data-v-8afeeb4
|
|
|
35574
35574
|
[C.userType]: _.value.expression
|
|
35575
35575
|
}), I.exp = _.value.id, d.value = !1);
|
|
35576
35576
|
};
|
|
35577
|
-
|
|
35577
|
+
fr(
|
|
35578
35578
|
() => e.id,
|
|
35579
35579
|
(de) => {
|
|
35580
35580
|
Fn.isNotBlank(de) && M();
|
|
@@ -35720,7 +35720,7 @@ function KB(e, t, n, r, o, a) {
|
|
|
35720
35720
|
onChange: e.updateUserType
|
|
35721
35721
|
}, {
|
|
35722
35722
|
default: oe(() => [
|
|
35723
|
-
(Le(!0), Ot(
|
|
35723
|
+
(Le(!0), Ot(wr, null, Sr(e.userTypeOption, (L) => (Le(), vt(u, {
|
|
35724
35724
|
value: L.value,
|
|
35725
35725
|
key: L.value
|
|
35726
35726
|
}, {
|
|
@@ -35757,7 +35757,7 @@ function KB(e, t, n, r, o, a) {
|
|
|
35757
35757
|
]),
|
|
35758
35758
|
_: 1
|
|
35759
35759
|
}),
|
|
35760
|
-
(Le(!0), Ot(
|
|
35760
|
+
(Le(!0), Ot(wr, null, Sr(e.assigneeList, (L) => (Le(), vt(b, { color: "green" }, {
|
|
35761
35761
|
default: oe(() => [
|
|
35762
35762
|
Xe(Yn(L), 1)
|
|
35763
35763
|
]),
|
|
@@ -35808,7 +35808,7 @@ function KB(e, t, n, r, o, a) {
|
|
|
35808
35808
|
]),
|
|
35809
35809
|
_: 1
|
|
35810
35810
|
}),
|
|
35811
|
-
(Le(!0), Ot(
|
|
35811
|
+
(Le(!0), Ot(wr, null, Sr(e.candidateUsersList, (L) => (Le(), vt(b, { color: "green" }, {
|
|
35812
35812
|
default: oe(() => [
|
|
35813
35813
|
Xe(Yn(L), 1)
|
|
35814
35814
|
]),
|
|
@@ -35841,7 +35841,7 @@ function KB(e, t, n, r, o, a) {
|
|
|
35841
35841
|
]),
|
|
35842
35842
|
_: 1
|
|
35843
35843
|
}),
|
|
35844
|
-
(Le(!0), Ot(
|
|
35844
|
+
(Le(!0), Ot(wr, null, Sr(e.candidateGroupsList, (L) => (Le(), vt(b, { color: "green" }, {
|
|
35845
35845
|
default: oe(() => [
|
|
35846
35846
|
Xe(Yn(L), 1)
|
|
35847
35847
|
]),
|
|
@@ -36197,7 +36197,7 @@ const e5 = li({
|
|
|
36197
36197
|
}).filter(Boolean);
|
|
36198
36198
|
return ae.length === 0 ? "" : `\${${ae.join(" || ")}}`;
|
|
36199
36199
|
});
|
|
36200
|
-
|
|
36200
|
+
fr(M, (z) => {
|
|
36201
36201
|
o.value.body = z, D();
|
|
36202
36202
|
});
|
|
36203
36203
|
function L(z, Q, ae = "==") {
|
|
@@ -36239,13 +36239,15 @@ const e5 = li({
|
|
|
36239
36239
|
});
|
|
36240
36240
|
});
|
|
36241
36241
|
};
|
|
36242
|
-
return
|
|
36242
|
+
return fr(
|
|
36243
36243
|
() => e.id,
|
|
36244
36244
|
(z) => {
|
|
36245
36245
|
Fn.isNotBlank(z) && (ee(), v());
|
|
36246
36246
|
},
|
|
36247
36247
|
{ immediate: !0 }
|
|
36248
|
-
), {
|
|
36248
|
+
), fr(() => e.formData, () => {
|
|
36249
|
+
ee(), v();
|
|
36250
|
+
}, { deep: !0 }), {
|
|
36249
36251
|
operator: YB,
|
|
36250
36252
|
bpmnFormData: o,
|
|
36251
36253
|
expression: M,
|
|
@@ -36340,7 +36342,7 @@ function t5(e, t, n, r, o, a) {
|
|
|
36340
36342
|
_: 1
|
|
36341
36343
|
}),
|
|
36342
36344
|
St("div", null, [
|
|
36343
|
-
(Le(!0), Ot(
|
|
36345
|
+
(Le(!0), Ot(wr, null, Sr(e.conditionGroups, (W, j) => (Le(), vt(M, {
|
|
36344
36346
|
title: `条件组${j + 1}`
|
|
36345
36347
|
}, {
|
|
36346
36348
|
extra: oe(() => [
|
|
@@ -36357,7 +36359,7 @@ function t5(e, t, n, r, o, a) {
|
|
|
36357
36359
|
}, 8, ["onClick"])
|
|
36358
36360
|
]),
|
|
36359
36361
|
default: oe(() => [
|
|
36360
|
-
(Le(!0), Ot(
|
|
36362
|
+
(Le(!0), Ot(wr, null, Sr(W.conditions, ($, ee) => (Le(), Ot("div", {
|
|
36361
36363
|
key: $.field_name
|
|
36362
36364
|
}, [
|
|
36363
36365
|
se(P, null, {
|
|
@@ -36383,7 +36385,7 @@ function t5(e, t, n, r, o, a) {
|
|
|
36383
36385
|
onChange: (z) => e.handleChangeFieldName($)
|
|
36384
36386
|
}, {
|
|
36385
36387
|
default: oe(() => [
|
|
36386
|
-
(Le(!0), Ot(
|
|
36388
|
+
(Le(!0), Ot(wr, null, Sr(e.formItemKeyList, (z, Q) => (Le(), vt(c, {
|
|
36387
36389
|
key: Q,
|
|
36388
36390
|
value: z.name
|
|
36389
36391
|
}, {
|
|
@@ -36411,7 +36413,7 @@ function t5(e, t, n, r, o, a) {
|
|
|
36411
36413
|
placeholder: "判断条件"
|
|
36412
36414
|
}, {
|
|
36413
36415
|
default: oe(() => [
|
|
36414
|
-
(Le(!0), Ot(
|
|
36416
|
+
(Le(!0), Ot(wr, null, Sr(e.binaryOpMap, (z, Q) => (Le(), vt(c, {
|
|
36415
36417
|
key: Q,
|
|
36416
36418
|
value: z
|
|
36417
36419
|
}, {
|
|
@@ -36442,7 +36444,7 @@ function t5(e, t, n, r, o, a) {
|
|
|
36442
36444
|
placeholder: "值"
|
|
36443
36445
|
}, {
|
|
36444
36446
|
default: oe(() => [
|
|
36445
|
-
(Le(!0), Ot(
|
|
36447
|
+
(Le(!0), Ot(wr, null, Sr(e.options[$.field_name] || [], (z) => (Le(), vt(c, {
|
|
36446
36448
|
key: z.value,
|
|
36447
36449
|
value: z.value
|
|
36448
36450
|
}, {
|
|
@@ -36461,7 +36463,7 @@ function t5(e, t, n, r, o, a) {
|
|
|
36461
36463
|
placeholder: "值"
|
|
36462
36464
|
}, {
|
|
36463
36465
|
default: oe(() => [
|
|
36464
|
-
(Le(!0), Ot(
|
|
36466
|
+
(Le(!0), Ot(wr, null, Sr(e.options[$.field_name] || [], (z) => (Le(), vt(c, {
|
|
36465
36467
|
key: z.value,
|
|
36466
36468
|
value: z.value
|
|
36467
36469
|
}, {
|
|
@@ -36518,7 +36520,7 @@ function t5(e, t, n, r, o, a) {
|
|
|
36518
36520
|
})
|
|
36519
36521
|
]);
|
|
36520
36522
|
}
|
|
36521
|
-
const n5 = /* @__PURE__ */ hi(e5, [["render", t5], ["__scopeId", "data-v-
|
|
36523
|
+
const n5 = /* @__PURE__ */ hi(e5, [["render", t5], ["__scopeId", "data-v-fcc05059"]]), r5 = {
|
|
36522
36524
|
// Labels
|
|
36523
36525
|
"Activate the global connect tool": "激活全局连接工具",
|
|
36524
36526
|
"Append {type}": "添加 {type}",
|
|
@@ -36807,9 +36809,9 @@ const a5 = li({
|
|
|
36807
36809
|
let v = d;
|
|
36808
36810
|
v || (v = ((m = o.elRegistry) == null ? void 0 : m.find((b) => b.type === "bpmn:Process")) || ((y = o.elRegistry) == null ? void 0 : y.find((b) => b.type === "bpmn:Collaboration"))), v && (o.element = v, t.value = v.id, n.value = v.type.split(":")[1] || "", r.value = !!(n.value === "SequenceFlow" && v.source && v.source.type.indexOf("StartEvent") === -1));
|
|
36809
36811
|
};
|
|
36810
|
-
|
|
36812
|
+
fr(t, () => {
|
|
36811
36813
|
e.value = ["common", "Task"], n.value === "SequenceFlow" && e.value.push("condition");
|
|
36812
|
-
}),
|
|
36814
|
+
}), fr(r, () => {
|
|
36813
36815
|
r.value && (e.value.find((v) => v == "condition") || e.value.push("condition"));
|
|
36814
36816
|
});
|
|
36815
36817
|
const c = (d) => {
|
|
@@ -39666,7 +39668,7 @@ const lF = li({
|
|
|
39666
39668
|
const { issues: W } = L;
|
|
39667
39669
|
console.log("Lint completed:", W);
|
|
39668
39670
|
}), r.value = M, l(M), Fn.isBlank(e.xml) ? d() : m(e.xml), Jc(() => {
|
|
39669
|
-
|
|
39671
|
+
fr(
|
|
39670
39672
|
() => [e.processId, e.processName],
|
|
39671
39673
|
async (L) => {
|
|
39672
39674
|
console.log("watch process id");
|
|
@@ -39684,7 +39686,7 @@ const lF = li({
|
|
|
39684
39686
|
{ immediate: !0 }
|
|
39685
39687
|
);
|
|
39686
39688
|
});
|
|
39687
|
-
}),
|
|
39689
|
+
}), fr(
|
|
39688
39690
|
() => e.xml,
|
|
39689
39691
|
(M) => {
|
|
39690
39692
|
if (M === P) {
|
|
@@ -40267,12 +40269,12 @@ const NF = li({
|
|
|
40267
40269
|
});
|
|
40268
40270
|
};
|
|
40269
40271
|
return bo(() => {
|
|
40270
|
-
|
|
40272
|
+
fr(
|
|
40271
40273
|
() => e.flowData,
|
|
40272
40274
|
(c) => {
|
|
40273
40275
|
!c || !c.xmlData || (n.value && n.value.destroy(), n.value = new Vm({
|
|
40274
40276
|
container: t.value,
|
|
40275
|
-
height: e.height ? e.height : "calc(100vh - 200px)"
|
|
40277
|
+
height: e.height ? Number(e.height) : "calc(100vh - 200px)"
|
|
40276
40278
|
}), o(c));
|
|
40277
40279
|
},
|
|
40278
40280
|
{ immediate: !0 }
|
|
@@ -40371,7 +40373,7 @@ function IF(e, t, n, r, o, a) {
|
|
|
40371
40373
|
})
|
|
40372
40374
|
]);
|
|
40373
40375
|
}
|
|
40374
|
-
const zF = /* @__PURE__ */ hi(NF, [["render", IF], ["__scopeId", "data-v-
|
|
40376
|
+
const zF = /* @__PURE__ */ hi(NF, [["render", IF], ["__scopeId", "data-v-385e3b48"]]), jF = {
|
|
40375
40377
|
install(e, t) {
|
|
40376
40378
|
t != null && t.request && e.use(XB(t.request)), t != null && t.useUserStore && e.use(ZB(t.useUserStore));
|
|
40377
40379
|
}
|