@a2simcode/ui 0.0.219 → 0.0.220
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/simcode-ui.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Fragment as Ee, computed as O, createBlock as F, createCommentVNode as ee, createElementBlock as L, createElementVNode as B, createSlots as Wn, createTextVNode as Vn, createVNode as Z, defineComponent as be, getCurrentInstance as fc, guardReactiveProps as Po, h as wi, inject as Cd, mergeModels as Ao, mergeProps as Ne, nextTick as Ot, normalizeClass as Ve, normalizeProps as
|
|
2
|
-
import { Icon as Pl, getIcon as
|
|
1
|
+
import { Fragment as Ee, computed as O, createBlock as F, createCommentVNode as ee, createElementBlock as L, createElementVNode as B, createSlots as Wn, createTextVNode as Vn, createVNode as Z, defineComponent as be, getCurrentInstance as fc, guardReactiveProps as Po, h as wi, inject as Cd, mergeModels as Ao, mergeProps as Ne, nextTick as Ot, normalizeClass as Ve, normalizeProps as Aa, normalizeStyle as le, onBeforeUnmount as Bo, onMounted as Mt, onUnmounted as Ho, openBlock as k, provide as Sd, reactive as oa, ref as I, render as _i, renderList as Oe, renderSlot as Ke, resolveComponent as $, resolveDirective as Oo, resolveDynamicComponent as ja, shallowRef as Io, toDisplayString as Se, unref as Y, useModel as Mo, useSlots as kd, useTemplateRef as Ea, vShow as hr, watch as nt, watchEffect as hc, withCtx as G, withDirectives as ia, withKeys as pr, withModifiers as qt } from "vue";
|
|
2
|
+
import { Icon as Pl, getIcon as Ra } from "@iconify/vue";
|
|
3
3
|
import qa from "dayjs";
|
|
4
4
|
import Rd from "sortablejs";
|
|
5
5
|
import * as Ye from "@visactor/vtable";
|
|
@@ -77,9 +77,9 @@ var en = (e) => !!(e == null || typeof e == "string" && e.trim() === "" || Array
|
|
|
77
77
|
const t = e, n = O(() => {
|
|
78
78
|
const o = t.icon, i = "jcode";
|
|
79
79
|
if (o.indexOf(":") === -1)
|
|
80
|
-
return
|
|
80
|
+
return Ra(`${i}:${t.icon}`) == null, `${i}:${t.icon}`;
|
|
81
81
|
const r = `${i}${o.split(":")[1]}`;
|
|
82
|
-
return
|
|
82
|
+
return Ra(r) != null ? r : o;
|
|
83
83
|
}), a = O(() => ({
|
|
84
84
|
size: t.size,
|
|
85
85
|
color: t.color,
|
|
@@ -606,7 +606,7 @@ var Jf = /* @__PURE__ */ (() => {
|
|
|
606
606
|
}, 400)));
|
|
607
607
|
};
|
|
608
608
|
})();
|
|
609
|
-
function
|
|
609
|
+
function Ta(e) {
|
|
610
610
|
Jf(e);
|
|
611
611
|
}
|
|
612
612
|
var Kf = /* @__PURE__ */ on(((e, t) => {
|
|
@@ -1426,8 +1426,8 @@ var Kf = /* @__PURE__ */ on(((e, t) => {
|
|
|
1426
1426
|
if (gt < 16)
|
|
1427
1427
|
ct = cn.high = h[p + gt * 2] | 0, Et = cn.low = h[p + gt * 2 + 1] | 0;
|
|
1428
1428
|
else {
|
|
1429
|
-
var vn = f[gt - 15], Zt = vn.high, Dt = vn.low, yn = (Zt >>> 1 | Dt << 31) ^ (Zt >>> 8 | Dt << 24) ^ Zt >>> 7, Dn = (Dt >>> 1 | Zt << 31) ^ (Dt >>> 8 | Zt << 24) ^ (Dt >>> 7 | Zt << 25), qn = f[gt - 2], Qt = qn.high, Bt = qn.low,
|
|
1430
|
-
Et = Dn + ie, ct = yn + ae + (Et >>> 0 < Dn >>> 0 ? 1 : 0), Et = Et + J, ct = ct +
|
|
1429
|
+
var vn = f[gt - 15], Zt = vn.high, Dt = vn.low, yn = (Zt >>> 1 | Dt << 31) ^ (Zt >>> 8 | Dt << 24) ^ Zt >>> 7, Dn = (Dt >>> 1 | Zt << 31) ^ (Dt >>> 8 | Zt << 24) ^ (Dt >>> 7 | Zt << 25), qn = f[gt - 2], Qt = qn.high, Bt = qn.low, ba = (Qt >>> 19 | Bt << 13) ^ (Qt << 3 | Bt >>> 29) ^ Qt >>> 6, J = (Bt >>> 19 | Qt << 13) ^ (Bt << 3 | Qt >>> 29) ^ (Bt >>> 6 | Qt << 26), de = f[gt - 7], ae = de.high, ie = de.low, ye = f[gt - 16], Ae = ye.high, Le = ye.low;
|
|
1430
|
+
Et = Dn + ie, ct = yn + ae + (Et >>> 0 < Dn >>> 0 ? 1 : 0), Et = Et + J, ct = ct + ba + (Et >>> 0 < J >>> 0 ? 1 : 0), Et = Et + Le, ct = ct + Ae + (Et >>> 0 < Le >>> 0 ? 1 : 0), cn.high = ct, cn.low = Et;
|
|
1431
1431
|
}
|
|
1432
1432
|
var ot = _e & It ^ ~_e & Xe, se = Te & xt ^ ~Te & Jt, fe = M & Be ^ M & Ie ^ Be & Ie, ut = ue & he ^ ue & We ^ he & We, Ct = (M >>> 28 | ue << 4) ^ (M << 30 | ue >>> 2) ^ (M << 25 | ue >>> 7), Ce = (ue >>> 28 | M << 4) ^ (ue << 30 | M >>> 2) ^ (ue << 25 | M >>> 7), St = (_e >>> 14 | Te << 18) ^ (_e >>> 18 | Te << 14) ^ (_e << 23 | Te >>> 9), Vt = (Te >>> 14 | _e << 18) ^ (Te >>> 18 | _e << 14) ^ (Te << 23 | _e >>> 9), bt = d[gt], Wt = bt.high, $n = bt.low, vt = Kt + Vt, ze = sn + St + (vt >>> 0 < Kt >>> 0 ? 1 : 0), vt = vt + se, ze = ze + ot + (vt >>> 0 < se >>> 0 ? 1 : 0), vt = vt + $n, ze = ze + Wt + (vt >>> 0 < $n >>> 0 ? 1 : 0), vt = vt + Et, ze = ze + ct + (vt >>> 0 < Et >>> 0 ? 1 : 0), Rn = Ce + ut, $t = Ct + fe + (Rn >>> 0 < Ce >>> 0 ? 1 : 0);
|
|
1433
1433
|
sn = Xe, Kt = Jt, Xe = It, Jt = xt, It = _e, xt = Te, Te = oe + vt | 0, _e = Ge + ze + (Te >>> 0 < oe >>> 0 ? 1 : 0) | 0, Ge = Ie, oe = We, Ie = Be, We = he, Be = M, he = ue, ue = vt + Rn | 0, M = ze + $t + (ue >>> 0 < vt >>> 0 ? 1 : 0) | 0;
|
|
@@ -1692,9 +1692,9 @@ var Rh = /* @__PURE__ */ be({
|
|
|
1692
1692
|
return z || (typeof u.value == "string" ? u.value : "");
|
|
1693
1693
|
}, m = I(!1), x = I([]), b = async (z) => {
|
|
1694
1694
|
if (f.value?.validateSteps) {
|
|
1695
|
-
|
|
1695
|
+
Ta(!0);
|
|
1696
1696
|
const H = f.value.validateSteps(z);
|
|
1697
|
-
return
|
|
1697
|
+
return Ta(!1), H;
|
|
1698
1698
|
}
|
|
1699
1699
|
return !0;
|
|
1700
1700
|
}, y = () => f.value?.beforeClose ? f.value.beforeClose() : !0;
|
|
@@ -1733,9 +1733,9 @@ var Rh = /* @__PURE__ */ be({
|
|
|
1733
1733
|
});
|
|
1734
1734
|
}, T = async () => {
|
|
1735
1735
|
if (f.value?.ok) {
|
|
1736
|
-
|
|
1736
|
+
Ta(!0);
|
|
1737
1737
|
const z = await f.value.ok();
|
|
1738
|
-
z && (n.value.close(), w && await w(z)),
|
|
1738
|
+
z && (n.value.close(), w && await w(z)), Ta(!1);
|
|
1739
1739
|
}
|
|
1740
1740
|
}, A = () => {
|
|
1741
1741
|
f.value?.closed && f.value.closed(), C && C();
|
|
@@ -3388,7 +3388,7 @@ var Th = ke(Pc), Ah = /* @__PURE__ */ be({
|
|
|
3388
3388
|
}
|
|
3389
3389
|
},
|
|
3390
3390
|
setup(e) {
|
|
3391
|
-
const t = e, n = kd(), a = I(), o = I(), i = I(-1), r = I(-1), l = I(-1), c = I(-1), s = I(0), d = I(!1), f =
|
|
3391
|
+
const t = e, n = kd(), a = I(), o = I(), i = I(-1), r = I(-1), l = I(-1), c = I(-1), s = I(0), d = I(!1), f = oa({
|
|
3392
3392
|
type: "",
|
|
3393
3393
|
isMove: !1,
|
|
3394
3394
|
pageX: 0,
|
|
@@ -5298,7 +5298,7 @@ var jp = class {
|
|
|
5298
5298
|
error: Y(d)(w.value),
|
|
5299
5299
|
class: Ve(`${u.value}-form-item`)
|
|
5300
5300
|
}, {
|
|
5301
|
-
default: G(() => [Z(_,
|
|
5301
|
+
default: G(() => [Z(_, Aa(Po(g.value)), null, 16)]),
|
|
5302
5302
|
_: 1
|
|
5303
5303
|
}, 8, [
|
|
5304
5304
|
"label",
|
|
@@ -5307,13 +5307,13 @@ var jp = class {
|
|
|
5307
5307
|
"required",
|
|
5308
5308
|
"error",
|
|
5309
5309
|
"class"
|
|
5310
|
-
])) : (k(), F(_,
|
|
5310
|
+
])) : (k(), F(_, Aa(Ne({ key: 1 }, g.value)), null, 16))]),
|
|
5311
5311
|
_: 1
|
|
5312
5312
|
}, 8, [
|
|
5313
5313
|
"span",
|
|
5314
5314
|
"style",
|
|
5315
5315
|
"class"
|
|
5316
|
-
])) : p.value ? (k(), F(_,
|
|
5316
|
+
])) : p.value ? (k(), F(_, Aa(Ne({ key: 1 }, g.value)), null, 16)) : ee("", !0);
|
|
5317
5317
|
};
|
|
5318
5318
|
}
|
|
5319
5319
|
}), Hc = Pp, Bp = /* @__PURE__ */ be({
|
|
@@ -5806,7 +5806,7 @@ var zp = { class: "j-table-footer" }, Dp = {
|
|
|
5806
5806
|
"change"
|
|
5807
5807
|
],
|
|
5808
5808
|
setup(e, { expose: t, emit: n }) {
|
|
5809
|
-
const a = fc(), o = e, i = n, { formData: r } = Ha(), { useData: l } = yt(), { getLabel: c, getCode: s, loadDataState: d, getObjectList: f } = l(), { openLayer: u } = Qa(), h = O(() => o.heightMode === "auto" ? { height: "auto" } : {}), p =
|
|
5809
|
+
const a = fc(), o = e, i = n, { formData: r } = Ha(), { useData: l } = yt(), { getLabel: c, getCode: s, loadDataState: d, getObjectList: f } = l(), { openLayer: u } = Qa(), h = O(() => o.heightMode === "auto" ? { height: "auto" } : {}), p = oa({}), g = () => {
|
|
5810
5810
|
Object.keys(p).forEach((D) => {
|
|
5811
5811
|
delete p[D];
|
|
5812
5812
|
});
|
|
@@ -5979,7 +5979,7 @@ var zp = { class: "j-table-footer" }, Dp = {
|
|
|
5979
5979
|
const { dataValue: X, rect: ne, table: W, col: te, row: re } = D;
|
|
5980
5980
|
let me = "mdi:toggle-switch", ve = "#165dff";
|
|
5981
5981
|
X || (me = "mdi:toggle-switch-off", ve = "#e5e6eb");
|
|
5982
|
-
const pe =
|
|
5982
|
+
const pe = Ra(me), Re = pe?.body?.replace(/currentColor/g, ve), Me = [], He = W?.getBodyField?.(te, re), je = W?.options?.columns || [], Ze = He ? ct(je, He) : null, De = 8, Pe = 40;
|
|
5983
5983
|
let Qe = De;
|
|
5984
5984
|
return Ze?.style?.textAlign === "center" ? Qe = Math.max(De, (ne.width - Pe) / 2) : Ze?.style?.textAlign === "right" && (Qe = Math.max(De, ne.width - Pe - De)), Me.push({
|
|
5985
5985
|
type: "icon",
|
|
@@ -5993,7 +5993,7 @@ var zp = { class: "j-table-footer" }, Dp = {
|
|
|
5993
5993
|
expectedHeight: wn
|
|
5994
5994
|
};
|
|
5995
5995
|
}, _e = (D, N) => {
|
|
5996
|
-
const { dataValue: X, rect: ne } = D, W = Number(X) || 0, te = 5, re = 20, me = 4, ve = 8, pe = (ne.height - re) / 2, Re = [], Me =
|
|
5996
|
+
const { dataValue: X, rect: ne } = D, W = Number(X) || 0, te = 5, re = 20, me = 4, ve = 8, pe = (ne.height - re) / 2, Re = [], Me = Ra("mdi:star"), He = Ra("mdi:star-half-full"), je = Ra("mdi:star-outline"), Ze = "#f7ba2a", De = "#e5e6eb";
|
|
5997
5997
|
for (let Pe = 0; Pe < te; Pe++) {
|
|
5998
5998
|
const Qe = ve + Pe * (re + me), et = pe;
|
|
5999
5999
|
if (W >= Pe + 1) {
|
|
@@ -6119,7 +6119,7 @@ var zp = { class: "j-table-footer" }, Dp = {
|
|
|
6119
6119
|
De = `<svg xmlns="http://www.w3.org/2000/svg" width="${Me}" height="${Me}" viewBox="${dt}">${et}</svg>`;
|
|
6120
6120
|
} else De = `<svg xmlns="http://www.w3.org/2000/svg" width="${Me}" height="${Me}" viewBox="0 0 24 24"></svg>`;
|
|
6121
6121
|
} else {
|
|
6122
|
-
const Pe =
|
|
6122
|
+
const Pe = Ra(De);
|
|
6123
6123
|
if (Pe) {
|
|
6124
6124
|
const { body: Qe, width: et, height: dt } = Pe;
|
|
6125
6125
|
De = `<svg xmlns="http://www.w3.org/2000/svg" width="${Me}" height="${Me}" viewBox="0 0 ${et} ${dt}">${Qe}</svg>`;
|
|
@@ -6158,7 +6158,7 @@ var zp = { class: "j-table-footer" }, Dp = {
|
|
|
6158
6158
|
const Tt = xn(xt(it, ft)) || 0;
|
|
6159
6159
|
return Math.min(xe, Tt + Qe * 2);
|
|
6160
6160
|
}, un = (it, Tt, pt, An, Mn) => {
|
|
6161
|
-
const
|
|
6161
|
+
const wa = xt(pt, ft), _a = It(wa), ti = xn(wa) || 0, Na = Math.min(xe, ti + Qe * 2), bd = An || "#f2f3f5", wd = Mn || "#1d2129", _d = De / 2 + Ze * 0.35, xd = `<svg xmlns="http://www.w3.org/2000/svg" width="${Na}" height="${De}" viewBox="0 0 ${Na} ${De}"><rect x="0" y="0" width="${Na}" height="${De}" rx="${Pe}" ry="${Pe}" fill="${bd}"/><text x="${Na / 2}" y="${_d}" text-anchor="middle" font-size="${Ze}" fill="${wd}">${_a}</text></svg>`;
|
|
6162
6162
|
return Ue.push({
|
|
6163
6163
|
type: "icon",
|
|
6164
6164
|
svg: xd,
|
|
@@ -6171,16 +6171,16 @@ var zp = { class: "j-table-footer" }, Dp = {
|
|
|
6171
6171
|
const it = [];
|
|
6172
6172
|
let Tt = [], pt = 0;
|
|
6173
6173
|
for (let An = 0; An < je.length; An++) {
|
|
6174
|
-
const Mn = je[An],
|
|
6175
|
-
label:
|
|
6174
|
+
const Mn = je[An], wa = Mn.label, _a = zt(wa), ti = {
|
|
6175
|
+
label: wa,
|
|
6176
6176
|
bg: Mn.color || "#f2f3f5",
|
|
6177
6177
|
text: Mn.textColor || sn(Mn.color || "#f2f3f5"),
|
|
6178
|
-
width:
|
|
6178
|
+
width: _a
|
|
6179
6179
|
};
|
|
6180
|
-
Tt.length > 0 && pt + et +
|
|
6180
|
+
Tt.length > 0 && pt + et + _a > xe ? (it.push({
|
|
6181
6181
|
items: Tt,
|
|
6182
6182
|
lineWidth: pt
|
|
6183
|
-
}), Tt = [ti], pt =
|
|
6183
|
+
}), Tt = [ti], pt = _a) : (Tt.push(ti), pt += Tt.length > 1 ? et + _a : _a);
|
|
6184
6184
|
}
|
|
6185
6185
|
return Tt.length > 0 && it.push({
|
|
6186
6186
|
items: Tt,
|
|
@@ -6199,8 +6199,8 @@ var zp = { class: "j-table-footer" }, Dp = {
|
|
|
6199
6199
|
const Tt = bn[it];
|
|
6200
6200
|
let pt = Qi ? tt : He === "center" ? tt + Math.max(0, (xe - Tt.lineWidth) / 2) : He === "right" ? tt + Math.max(0, xe - Tt.lineWidth) : tt;
|
|
6201
6201
|
for (let An = 0; An < Tt.items.length; An++) {
|
|
6202
|
-
const Mn = Tt.items[An], { tagWidth:
|
|
6203
|
-
pt +=
|
|
6202
|
+
const Mn = Tt.items[An], { tagWidth: wa } = un(pt, ei, Mn.label, Mn.bg, Mn.text);
|
|
6203
|
+
pt += wa + (An < Tt.items.length - 1 ? et : 0);
|
|
6204
6204
|
}
|
|
6205
6205
|
ei += De + (it < bn.length - 1 ? dt : 0);
|
|
6206
6206
|
}
|
|
@@ -6485,7 +6485,7 @@ var zp = { class: "j-table-footer" }, Dp = {
|
|
|
6485
6485
|
const X = Bt(N);
|
|
6486
6486
|
if (X) return X;
|
|
6487
6487
|
}
|
|
6488
|
-
},
|
|
6488
|
+
}, ba = (D) => {
|
|
6489
6489
|
const N = [];
|
|
6490
6490
|
return D.forEach((X) => {
|
|
6491
6491
|
if (X.frozen) {
|
|
@@ -6496,7 +6496,7 @@ var zp = { class: "j-table-footer" }, Dp = {
|
|
|
6496
6496
|
N.push(X);
|
|
6497
6497
|
return;
|
|
6498
6498
|
}
|
|
6499
|
-
const ne =
|
|
6499
|
+
const ne = ba(X.columns), W = [], te = [], re = [];
|
|
6500
6500
|
if (ne.forEach((me) => {
|
|
6501
6501
|
const ve = Bt(me);
|
|
6502
6502
|
ve === "left" ? W.push(me) : ve === "right" ? te.push(me) : re.push(me);
|
|
@@ -6530,7 +6530,7 @@ var zp = { class: "j-table-footer" }, Dp = {
|
|
|
6530
6530
|
C = 0, v = 0, _ = !1;
|
|
6531
6531
|
const W = {};
|
|
6532
6532
|
let te = Dt(D);
|
|
6533
|
-
te.length === 0 && (te = [Qt()]), te =
|
|
6533
|
+
te.length === 0 && (te = [Qt()]), te = ba(te);
|
|
6534
6534
|
const re = [], me = [], ve = [];
|
|
6535
6535
|
te.forEach((He) => {
|
|
6536
6536
|
const je = Bt(He);
|
|
@@ -7075,7 +7075,7 @@ var zp = { class: "j-table-footer" }, Dp = {
|
|
|
7075
7075
|
"closed"
|
|
7076
7076
|
],
|
|
7077
7077
|
setup(e, { expose: t, emit: n }) {
|
|
7078
|
-
const a = e, o = n, { t: i } = yt(), r = I(!1), l = I(!1), c = I(""), s = I(!1), d = I(!0), f = I(!1), u = I(!0), h = I(-1), p =
|
|
7078
|
+
const a = e, o = n, { t: i } = yt(), r = I(!1), l = I(!1), c = I(""), s = I(!1), d = I(!0), f = I(!1), u = I(!0), h = I(-1), p = oa({
|
|
7079
7079
|
isMove: !1,
|
|
7080
7080
|
pageX: 0,
|
|
7081
7081
|
pageY: 0,
|
|
@@ -7450,7 +7450,7 @@ var zp = { class: "j-table-footer" }, Dp = {
|
|
|
7450
7450
|
"destroy-on-close": e.destroyOnClose,
|
|
7451
7451
|
onClosed: b
|
|
7452
7452
|
}, {
|
|
7453
|
-
default: G(() => [
|
|
7453
|
+
default: G(() => [ia((k(), L("div", {
|
|
7454
7454
|
class: "j-block j-dialog-full-window",
|
|
7455
7455
|
"element-loading-text": Y(r)(s.value)
|
|
7456
7456
|
}, [e.hasHeader ? (k(), L("div", Qp, [
|
|
@@ -7722,7 +7722,7 @@ var zp = { class: "j-table-footer" }, Dp = {
|
|
|
7722
7722
|
"close-on-click-modal": !0,
|
|
7723
7723
|
onClosed: u
|
|
7724
7724
|
}, {
|
|
7725
|
-
default: G(() => [
|
|
7725
|
+
default: G(() => [ia((k(), L("div", {
|
|
7726
7726
|
class: Ve(["j-drawer--warpper", { "j-drawer--warpper-hasSteps": e.isStep }]),
|
|
7727
7727
|
"element-loading-text": l.value
|
|
7728
7728
|
}, [
|
|
@@ -8349,7 +8349,7 @@ var zp = { class: "j-table-footer" }, Dp = {
|
|
|
8349
8349
|
style: { width: "100%" },
|
|
8350
8350
|
alt: ""
|
|
8351
8351
|
}, null, 8, Bg)) : ee("", !0),
|
|
8352
|
-
|
|
8352
|
+
ia(B("div", Hg, [s.status === "done" || s.status === "unUpload" ? (k(), F(o, {
|
|
8353
8353
|
key: 0,
|
|
8354
8354
|
type: "link",
|
|
8355
8355
|
icon: "mdi:eye",
|
|
@@ -8398,7 +8398,7 @@ var zp = { class: "j-table-footer" }, Dp = {
|
|
|
8398
8398
|
icon: "mdi:check-circle",
|
|
8399
8399
|
size: 24
|
|
8400
8400
|
})) : ee("", !0),
|
|
8401
|
-
e.readonly ? ee("", !0) :
|
|
8401
|
+
e.readonly ? ee("", !0) : ia((k(), F(r, {
|
|
8402
8402
|
key: 2,
|
|
8403
8403
|
class: "j-upload-item-error",
|
|
8404
8404
|
icon: "mdi:delete",
|
|
@@ -8797,7 +8797,7 @@ var zp = { class: "j-table-footer" }, Dp = {
|
|
|
8797
8797
|
style: { "max-width": "1024px" },
|
|
8798
8798
|
src: K.value,
|
|
8799
8799
|
alt: ""
|
|
8800
|
-
}, null, 8, Vg)])) : K.value != "" ?
|
|
8800
|
+
}, null, 8, Vg)])) : K.value != "" ? ia((k(), L("div", Ng, [B("iframe", {
|
|
8801
8801
|
ref: "iframe",
|
|
8802
8802
|
src: K.value,
|
|
8803
8803
|
style: {
|
|
@@ -9707,7 +9707,7 @@ var zp = { class: "j-table-footer" }, Dp = {
|
|
|
9707
9707
|
"示例:SUMPRODUCT([1,2,3],[0.1,0.2,0.3])返回1.4,也就是 1×0.1 + 2×0.2 + 3×0.3的值"
|
|
9708
9708
|
]
|
|
9709
9709
|
}
|
|
9710
|
-
], l = I(!1), c = I([]), s =
|
|
9710
|
+
], l = I(!1), c = I([]), s = oa({
|
|
9711
9711
|
cells: [],
|
|
9712
9712
|
cursor: 0
|
|
9713
9713
|
}), d = O({
|
|
@@ -10758,7 +10758,7 @@ var zp = { class: "j-table-footer" }, Dp = {
|
|
|
10758
10758
|
toLeft: { type: Boolean }
|
|
10759
10759
|
},
|
|
10760
10760
|
setup(e, { expose: t }) {
|
|
10761
|
-
const n = e, a =
|
|
10761
|
+
const n = e, a = Ea("actionRef"), o = I("0"), i = O(() => {
|
|
10762
10762
|
const { actionStyle: l, toLeft: c } = n;
|
|
10763
10763
|
return {
|
|
10764
10764
|
...l,
|
|
@@ -10802,7 +10802,7 @@ var zp = { class: "j-table-footer" }, Dp = {
|
|
|
10802
10802
|
toLeft: { type: Boolean }
|
|
10803
10803
|
},
|
|
10804
10804
|
setup(e, { expose: t }) {
|
|
10805
|
-
const n = e, a =
|
|
10805
|
+
const n = e, a = Ea("barRef"), o = I("0"), i = O(() => {
|
|
10806
10806
|
const { barStyle: r, toLeft: l } = n;
|
|
10807
10807
|
return {
|
|
10808
10808
|
...r,
|
|
@@ -10845,7 +10845,7 @@ var zp = { class: "j-table-footer" }, Dp = {
|
|
|
10845
10845
|
}
|
|
10846
10846
|
},
|
|
10847
10847
|
setup(e, { expose: t }) {
|
|
10848
|
-
const n = e, a =
|
|
10848
|
+
const n = e, a = Ea("contentRef"), o = O(() => {
|
|
10849
10849
|
const { contentStyle: r } = n;
|
|
10850
10850
|
return {
|
|
10851
10851
|
...r,
|
|
@@ -10889,14 +10889,14 @@ var zp = { class: "j-table-footer" }, Dp = {
|
|
|
10889
10889
|
"success"
|
|
10890
10890
|
], ["update:modelValue"]),
|
|
10891
10891
|
setup(e, { emit: t }) {
|
|
10892
|
-
const n = e, a = t, o = Mo(e, "modelValue"), i =
|
|
10892
|
+
const n = e, a = t, o = Mo(e, "modelValue"), i = oa({
|
|
10893
10893
|
endTime: 0,
|
|
10894
10894
|
isMoving: !1,
|
|
10895
10895
|
isPassing: !1,
|
|
10896
10896
|
moveDistance: 0,
|
|
10897
10897
|
startTime: 0,
|
|
10898
10898
|
toLeft: !1
|
|
10899
|
-
}), r =
|
|
10899
|
+
}), r = Ea("wrapperRef"), l = Ea("barRef"), c = Ea("contentRef"), s = Ea("actionRef");
|
|
10900
10900
|
nt(() => i.isPassing, (x) => {
|
|
10901
10901
|
if (x) {
|
|
10902
10902
|
const { endTime: b, startTime: y } = i;
|
|
@@ -11011,7 +11011,7 @@ var zp = { class: "j-table-footer" }, Dp = {
|
|
|
11011
11011
|
"max-height": "calc(100vh - 80px)",
|
|
11012
11012
|
"border-radius": "8px"
|
|
11013
11013
|
}
|
|
11014
|
-
}, Y(u)), [B("div",
|
|
11014
|
+
}, Y(u)), [B("div", Aa(Po(Y(h))), [(k(!0), L(Ee, null, Oe(Y(f), (m) => (k(), F(Li, {
|
|
11015
11015
|
key: m.data.value,
|
|
11016
11016
|
"parent-actives": Y(r)?.pid?.split(".") || [],
|
|
11017
11017
|
item: m.data,
|
|
@@ -11156,7 +11156,7 @@ var zp = { class: "j-table-footer" }, Dp = {
|
|
|
11156
11156
|
return (d, f) => (k(), L("div", Ne({ class: ["j-menu", {
|
|
11157
11157
|
collapsed: e.collapsed,
|
|
11158
11158
|
"j-menu-dark": Y(i) === "dark"
|
|
11159
|
-
}] }, Y(c)), [B("div",
|
|
11159
|
+
}] }, Y(c)), [B("div", Aa(Po(Y(s))), [(k(!0), L(Ee, null, Oe(Y(l), (u) => (k(), F(Li, {
|
|
11160
11160
|
key: u.data.value,
|
|
11161
11161
|
"parent-actives": Y(o)?.pid?.split(".") || [],
|
|
11162
11162
|
item: u.data,
|
|
@@ -11254,7 +11254,7 @@ var zp = { class: "j-table-footer" }, Dp = {
|
|
|
11254
11254
|
}), n.menuList)), c = O(() => o.value?.pid?.split(".") || []), s = (h) => {
|
|
11255
11255
|
a("click", h);
|
|
11256
11256
|
}, { list: d, containerProps: f, wrapperProps: u } = Ir(l, { itemHeight: 96 });
|
|
11257
|
-
return (h, p) => (k(), L("div", Ne({ class: ["j-menu-vertical", { "j-menu-dark": Y(i) === "dark" }] }, Y(f)), [B("div",
|
|
11257
|
+
return (h, p) => (k(), L("div", Ne({ class: ["j-menu-vertical", { "j-menu-dark": Y(i) === "dark" }] }, Y(f)), [B("div", Aa(Po(Y(u))), [(k(!0), L(Ee, null, Oe(Y(d), (g) => (k(), F(Li, {
|
|
11258
11258
|
key: g.data.value,
|
|
11259
11259
|
"parent-actives": c.value,
|
|
11260
11260
|
item: g.data,
|
|
@@ -12395,7 +12395,7 @@ var zp = { class: "j-table-footer" }, Dp = {
|
|
|
12395
12395
|
p.value = [], g.value = !1, d.value = 1, vn = void 0, await Zt();
|
|
12396
12396
|
}, Bt = async (se) => {
|
|
12397
12397
|
p.value = [], g.value = !1, await Zt(se);
|
|
12398
|
-
},
|
|
12398
|
+
}, ba = async () => {
|
|
12399
12399
|
await Qt();
|
|
12400
12400
|
}, J = (se) => {
|
|
12401
12401
|
r("ready", se);
|
|
@@ -12611,7 +12611,7 @@ var zp = { class: "j-table-footer" }, Dp = {
|
|
|
12611
12611
|
default: G(() => [Z(bt, {
|
|
12612
12612
|
type: "text",
|
|
12613
12613
|
icon: "mdi:refresh",
|
|
12614
|
-
onClick:
|
|
12614
|
+
onClick: ba
|
|
12615
12615
|
})]),
|
|
12616
12616
|
_: 1
|
|
12617
12617
|
}, 8, ["content"])) : ee("", !0),
|
|
@@ -12627,7 +12627,7 @@ var zp = { class: "j-table-footer" }, Dp = {
|
|
|
12627
12627
|
}, null, 8, ["icon"])]),
|
|
12628
12628
|
_: 1
|
|
12629
12629
|
}, 8, ["content"])) : ee("", !0)
|
|
12630
|
-
])]),
|
|
12630
|
+
])]), ia((k(), L("div", Fm, [e.renderVNode ? (k(), L("div", {
|
|
12631
12631
|
key: 0,
|
|
12632
12632
|
class: Ve([
|
|
12633
12633
|
"j-block",
|
|
@@ -12961,7 +12961,7 @@ var zp = { class: "j-table-footer" }, Dp = {
|
|
|
12961
12961
|
getCheck: w
|
|
12962
12962
|
}), (H, j) => {
|
|
12963
12963
|
const E = $("j-icon"), V = $("j-button"), q = $("el-dropdown-item"), ce = $("el-dropdown-menu"), we = $("el-dropdown"), U = $("el-tree"), K = $("el-empty"), Q = Oo("loading");
|
|
12964
|
-
return
|
|
12964
|
+
return ia((k(), L("div", {
|
|
12965
12965
|
class: Ve([
|
|
12966
12966
|
"j-block",
|
|
12967
12967
|
"j-tree",
|
|
@@ -13250,7 +13250,7 @@ var Lc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
|
|
|
13250
13250
|
i && (p = i());
|
|
13251
13251
|
const g = (J) => {
|
|
13252
13252
|
f && f(J);
|
|
13253
|
-
}, m = I(!1), x = O(() => a.config?.gutter || 16), b = O(() => a.config?.span || 24), y = O(() => a.config?.labelWidth), w = O(() => a.config?.labelPosition || "right"), C = O(() => S.length === 1 && (S[0].type === "j-tabs" || S[0].type === "j-layout" || S[0].config?.isAutoWindow)), v =
|
|
13253
|
+
}, m = I(!1), x = O(() => a.config?.gutter || 16), b = O(() => a.config?.span || 24), y = O(() => a.config?.labelWidth), w = O(() => a.config?.labelPosition || "right"), C = O(() => S.length === 1 && (S[0].type === "j-tabs" || S[0].type === "j-layout" || S[0].config?.isAutoWindow)), v = oa({}), _ = I({}), S = [], R = {};
|
|
13254
13254
|
let T = {}, A = {}, P = [], z = {}, H = {}, j = !1, E = 0, V;
|
|
13255
13255
|
const q = () => new Promise((J) => {
|
|
13256
13256
|
const de = globalThis.requestAnimationFrame;
|
|
@@ -13504,7 +13504,7 @@ var Lc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
|
|
|
13504
13504
|
}), J.httpPost = c || (() => {
|
|
13505
13505
|
console.log("当前状态不支持");
|
|
13506
13506
|
}), J.loading = (de) => {
|
|
13507
|
-
|
|
13507
|
+
Ta(de);
|
|
13508
13508
|
}, J.showMsg = ({ text: de, type: ae }) => {
|
|
13509
13509
|
switch (ae) {
|
|
13510
13510
|
case "success":
|
|
@@ -13542,7 +13542,7 @@ var Lc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
|
|
|
13542
13542
|
data: J,
|
|
13543
13543
|
actions: a.actions,
|
|
13544
13544
|
utils: {
|
|
13545
|
-
showLoading:
|
|
13545
|
+
showLoading: Ta,
|
|
13546
13546
|
executeEvent: Dt
|
|
13547
13547
|
},
|
|
13548
13548
|
inputParams: de,
|
|
@@ -13627,7 +13627,7 @@ var Lc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
|
|
|
13627
13627
|
}
|
|
13628
13628
|
},
|
|
13629
13629
|
setup(e, { expose: t }) {
|
|
13630
|
-
const n = e, a = I(!1), o =
|
|
13630
|
+
const n = e, a = I(!1), o = oa([]), i = {}, r = oa({}), l = (b, y) => {
|
|
13631
13631
|
b.forEach((w) => {
|
|
13632
13632
|
w.id = w.id || Wr("c");
|
|
13633
13633
|
const C = {
|
|
@@ -13650,7 +13650,7 @@ var Lc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
|
|
|
13650
13650
|
data: b,
|
|
13651
13651
|
actions: n.actions,
|
|
13652
13652
|
utils: {
|
|
13653
|
-
showLoading:
|
|
13653
|
+
showLoading: Ta,
|
|
13654
13654
|
openLayer: s,
|
|
13655
13655
|
call: g
|
|
13656
13656
|
},
|
|
@@ -14204,6 +14204,14 @@ var Lc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
|
|
|
14204
14204
|
type: String,
|
|
14205
14205
|
default: "default"
|
|
14206
14206
|
},
|
|
14207
|
+
status: {
|
|
14208
|
+
type: String,
|
|
14209
|
+
default: "normal"
|
|
14210
|
+
},
|
|
14211
|
+
label: {
|
|
14212
|
+
type: String,
|
|
14213
|
+
default: "设置"
|
|
14214
|
+
},
|
|
14207
14215
|
size: {
|
|
14208
14216
|
type: String,
|
|
14209
14217
|
default: "default"
|
|
@@ -14245,11 +14253,15 @@ var Lc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
|
|
|
14245
14253
|
type: e.type,
|
|
14246
14254
|
size: e.size,
|
|
14247
14255
|
icon: e.icon,
|
|
14256
|
+
status: e.status,
|
|
14257
|
+
label: e.label,
|
|
14248
14258
|
onClick: d
|
|
14249
14259
|
}), null, 16, [
|
|
14250
14260
|
"type",
|
|
14251
14261
|
"size",
|
|
14252
|
-
"icon"
|
|
14262
|
+
"icon",
|
|
14263
|
+
"status",
|
|
14264
|
+
"label"
|
|
14253
14265
|
]), Z(x, {
|
|
14254
14266
|
visible: s.value,
|
|
14255
14267
|
"onUpdate:visible": u[1] || (u[1] = (b) => s.value = b),
|
|
@@ -14263,10 +14275,11 @@ var Lc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
|
|
|
14263
14275
|
"label-position": l.value,
|
|
14264
14276
|
"label-width": r.value,
|
|
14265
14277
|
size: e.formConfig?.size,
|
|
14278
|
+
style: le({ padding: c.value ? 0 : void 0 }),
|
|
14266
14279
|
onSubmit: u[0] || (u[0] = qt(() => {
|
|
14267
14280
|
}, ["prevent"]))
|
|
14268
14281
|
}, {
|
|
14269
|
-
default: G(() => [c.value ? (k(), F(p,
|
|
14282
|
+
default: G(() => [c.value ? (k(), F(p, Ne({ key: 0 }, e.schema[0], { "is-not-col": "" }), null, 16)) : (k(), F(g, {
|
|
14270
14283
|
key: 1,
|
|
14271
14284
|
gutter: o.value
|
|
14272
14285
|
}, {
|
|
@@ -14280,7 +14293,8 @@ var Lc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
|
|
|
14280
14293
|
}, 8, [
|
|
14281
14294
|
"label-position",
|
|
14282
14295
|
"label-width",
|
|
14283
|
-
"size"
|
|
14296
|
+
"size",
|
|
14297
|
+
"style"
|
|
14284
14298
|
])]),
|
|
14285
14299
|
_: 1
|
|
14286
14300
|
}, 8, [
|
|
@@ -14891,7 +14905,7 @@ var Lc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
|
|
|
14891
14905
|
"size",
|
|
14892
14906
|
"clearable"
|
|
14893
14907
|
]),
|
|
14894
|
-
B("div",
|
|
14908
|
+
B("div", Aa(Po(w.$attrs)), null, 16),
|
|
14895
14909
|
Z(R, {
|
|
14896
14910
|
ref_key: "layerRef",
|
|
14897
14911
|
ref: i,
|
|
@@ -14982,7 +14996,7 @@ function Dc() {
|
|
|
14982
14996
|
function $c(e, t) {
|
|
14983
14997
|
return (eo(e) || e).button === t;
|
|
14984
14998
|
}
|
|
14985
|
-
function
|
|
14999
|
+
function la(e) {
|
|
14986
15000
|
return $c(e, 0);
|
|
14987
15001
|
}
|
|
14988
15002
|
function g0(e) {
|
|
@@ -14990,11 +15004,11 @@ function g0(e) {
|
|
|
14990
15004
|
}
|
|
14991
15005
|
function Kl(e) {
|
|
14992
15006
|
var t = eo(e) || e;
|
|
14993
|
-
return
|
|
15007
|
+
return la(e) ? Dc() ? t.metaKey : t.ctrlKey : !1;
|
|
14994
15008
|
}
|
|
14995
15009
|
function _r(e) {
|
|
14996
15010
|
var t = eo(e) || e;
|
|
14997
|
-
return
|
|
15011
|
+
return la(e) && t.shiftKey;
|
|
14998
15012
|
}
|
|
14999
15013
|
function Do(e) {
|
|
15000
15014
|
return e.flat().join(",").replace(/,?([A-Za-z]),?/g, "$1");
|
|
@@ -15064,7 +15078,7 @@ function b0(e) {
|
|
|
15064
15078
|
return !0;
|
|
15065
15079
|
}
|
|
15066
15080
|
function ri(e) {
|
|
15067
|
-
return
|
|
15081
|
+
return la(e) || g0(e);
|
|
15068
15082
|
}
|
|
15069
15083
|
var Gl = 500;
|
|
15070
15084
|
function Vc(e, t, n) {
|
|
@@ -15084,7 +15098,7 @@ function Vc(e, t, n) {
|
|
|
15084
15098
|
return i[v];
|
|
15085
15099
|
}
|
|
15086
15100
|
function l(v, _) {
|
|
15087
|
-
return !(s[v] ||
|
|
15101
|
+
return !(s[v] || la)(_);
|
|
15088
15102
|
}
|
|
15089
15103
|
var c = {
|
|
15090
15104
|
click: "element.click",
|
|
@@ -15292,7 +15306,7 @@ function Wc(e, t, n, a) {
|
|
|
15292
15306
|
return r.id === l.id;
|
|
15293
15307
|
}) || t.select(r);
|
|
15294
15308
|
}), e.on("element.click", function(o) {
|
|
15295
|
-
if (
|
|
15309
|
+
if (la(o)) {
|
|
15296
15310
|
var i = o.element;
|
|
15297
15311
|
i === n.getRootElement() && (i = null);
|
|
15298
15312
|
var r = t.isSelected(i), l = t.get().length > 1, c = _r(o);
|
|
@@ -15353,7 +15367,7 @@ function Kc(e, t) {
|
|
|
15353
15367
|
return e = st(e) ? e : [e], e.indexOf(t.key) !== -1 || e.indexOf(t.code) !== -1;
|
|
15354
15368
|
}
|
|
15355
15369
|
var Ua = Math.round, Ql = "djs-drag-active";
|
|
15356
|
-
function
|
|
15370
|
+
function xa(e) {
|
|
15357
15371
|
e.preventDefault();
|
|
15358
15372
|
}
|
|
15359
15373
|
function C0(e) {
|
|
@@ -15408,11 +15422,11 @@ function Gc(e, t, n, a) {
|
|
|
15408
15422
|
i.active && (y && (i.payload.originalEvent = y, or(y)), C = l("end")), C === !1 && l("rejected"), w = x(C !== !0), l("ended", w);
|
|
15409
15423
|
}
|
|
15410
15424
|
function f(y) {
|
|
15411
|
-
Kc("Escape", y) && (
|
|
15425
|
+
Kc("Escape", y) && (xa(y), m());
|
|
15412
15426
|
}
|
|
15413
15427
|
function u(y) {
|
|
15414
15428
|
var w;
|
|
15415
|
-
i.active && (w = Yc(e), setTimeout(w, 400),
|
|
15429
|
+
i.active && (w = Yc(e), setTimeout(w, 400), xa(y)), d(y);
|
|
15416
15430
|
}
|
|
15417
15431
|
function h(y) {
|
|
15418
15432
|
s(y);
|
|
@@ -15435,14 +15449,14 @@ function Gc(e, t, n, a) {
|
|
|
15435
15449
|
}
|
|
15436
15450
|
function x(y) {
|
|
15437
15451
|
var w, C;
|
|
15438
|
-
l("cleanup"), Uc(), i.trapClick ? C = u : C = d, rt.unbind(document, "mousemove", s), rt.unbind(document, "dragstart",
|
|
15452
|
+
l("cleanup"), Uc(), i.trapClick ? C = u : C = d, rt.unbind(document, "mousemove", s), rt.unbind(document, "dragstart", xa), rt.unbind(document, "selectstart", xa), rt.unbind(document, "mousedown", C, !0), rt.unbind(document, "mouseup", C, !0), rt.unbind(document, "keyup", f), rt.unbind(document, "touchstart", h, !0), rt.unbind(document, "touchcancel", m, !0), rt.unbind(document, "touchmove", s, !0), rt.unbind(document, "touchend", d, !0), e.off("element.hover", p), e.off("element.out", g), t.removeMarker(t.getRootElement(), Ql);
|
|
15439
15453
|
var v = i.payload.previousSelection;
|
|
15440
15454
|
return y !== !1 && v && !n.get().length && c(v), w = i, i = null, w;
|
|
15441
15455
|
}
|
|
15442
15456
|
function b(y, w, C, v) {
|
|
15443
15457
|
i && m(!1), typeof w == "string" && (v = C, C = w, w = null), v = Fe({}, o, v || {});
|
|
15444
15458
|
var _ = v.data || {}, S, R, T, A, P;
|
|
15445
|
-
v.trapClick ? A = u : A = d, y ? (S = eo(y) || y, R = Xa(y), or(y), S.type === "dragstart" &&
|
|
15459
|
+
v.trapClick ? A = u : A = d, y ? (S = eo(y) || y, R = Xa(y), or(y), S.type === "dragstart" && xa(S)) : (S = null, R = {
|
|
15446
15460
|
x: 0,
|
|
15447
15461
|
y: 0
|
|
15448
15462
|
}), T = r(R), w || (w = T), P = C0(S), i = Fe({
|
|
@@ -15453,7 +15467,7 @@ function Gc(e, t, n, a) {
|
|
|
15453
15467
|
displacement: Ja(w, T),
|
|
15454
15468
|
localStart: T,
|
|
15455
15469
|
isTouch: P
|
|
15456
|
-
}, v), v.manual || (P ? (rt.bind(document, "touchstart", h, !0), rt.bind(document, "touchcancel", m, !0), rt.bind(document, "touchmove", s, !0), rt.bind(document, "touchend", d, !0)) : (rt.bind(document, "mousemove", s), rt.bind(document, "dragstart",
|
|
15470
|
+
}, v), v.manual || (P ? (rt.bind(document, "touchstart", h, !0), rt.bind(document, "touchcancel", m, !0), rt.bind(document, "touchmove", s, !0), rt.bind(document, "touchend", d, !0)) : (rt.bind(document, "mousemove", s), rt.bind(document, "dragstart", xa), rt.bind(document, "selectstart", xa), rt.bind(document, "mousedown", A, !0), rt.bind(document, "mouseup", A, !0)), rt.bind(document, "keyup", f), e.on("element.hover", p), e.on("element.out", g)), l("init"), v.autoActivate && s(y, !0);
|
|
15457
15471
|
}
|
|
15458
15472
|
e.on("diagram.destroy", m), this.init = b, this.move = s, this.hover = p, this.out = g, this.end = d, this.cancel = m, this.context = function() {
|
|
15459
15473
|
return i;
|
|
@@ -15494,22 +15508,22 @@ var k0 = new zi("ps"), R0 = [
|
|
|
15494
15508
|
"path",
|
|
15495
15509
|
"rect"
|
|
15496
15510
|
];
|
|
15497
|
-
function
|
|
15511
|
+
function sa(e, t, n, a) {
|
|
15498
15512
|
this._elementRegistry = e, this._canvas = n, this._styles = a;
|
|
15499
15513
|
}
|
|
15500
|
-
|
|
15514
|
+
sa.$inject = [
|
|
15501
15515
|
"elementRegistry",
|
|
15502
15516
|
"eventBus",
|
|
15503
15517
|
"canvas",
|
|
15504
15518
|
"styles"
|
|
15505
15519
|
];
|
|
15506
|
-
|
|
15520
|
+
sa.prototype.cleanUp = function() {
|
|
15507
15521
|
console.warn("PreviewSupport#cleanUp is deprecated and will be removed in future versions. You do not need to manually clean up previews anymore. cf. https://github.com/bpmn-io/diagram-js/pull/906");
|
|
15508
15522
|
};
|
|
15509
|
-
|
|
15523
|
+
sa.prototype.getGfx = function(e) {
|
|
15510
15524
|
return this._elementRegistry.getGraphics(e);
|
|
15511
15525
|
};
|
|
15512
|
-
|
|
15526
|
+
sa.prototype.addDragger = function(e, t, n, a = "djs-dragger") {
|
|
15513
15527
|
n = n || this.getGfx(e);
|
|
15514
15528
|
var o = yc(n), i = n.getBoundingClientRect();
|
|
15515
15529
|
return this._cloneMarkers(Cr(o), a), $e(o, this._styles.cls(a, [], {
|
|
@@ -15517,7 +15531,7 @@ ca.prototype.addDragger = function(e, t, n, a = "djs-dragger") {
|
|
|
15517
15531
|
y: i.left
|
|
15518
15532
|
})), qe(t, o), $e(o, "data-preview-support-element-id", e.id), o;
|
|
15519
15533
|
};
|
|
15520
|
-
|
|
15534
|
+
sa.prototype.addFrame = function(e, t) {
|
|
15521
15535
|
var n = Je("rect", {
|
|
15522
15536
|
class: "djs-resize-overlay",
|
|
15523
15537
|
width: e.width,
|
|
@@ -15527,7 +15541,7 @@ ca.prototype.addFrame = function(e, t) {
|
|
|
15527
15541
|
});
|
|
15528
15542
|
return qe(t, n), $e(n, "data-preview-support-element-id", e.id), n;
|
|
15529
15543
|
};
|
|
15530
|
-
|
|
15544
|
+
sa.prototype._cloneMarkers = function(e, t = "djs-dragger", n = e) {
|
|
15531
15545
|
var a = this;
|
|
15532
15546
|
e.childNodes && e.childNodes.forEach((o) => {
|
|
15533
15547
|
a._cloneMarkers(o, t, n);
|
|
@@ -15538,7 +15552,7 @@ ca.prototype._cloneMarkers = function(e, t = "djs-dragger", n = e) {
|
|
|
15538
15552
|
}
|
|
15539
15553
|
});
|
|
15540
15554
|
};
|
|
15541
|
-
|
|
15555
|
+
sa.prototype._cloneMarker = function(e, t, n, a, o = "djs-dragger") {
|
|
15542
15556
|
var i = [
|
|
15543
15557
|
n.id,
|
|
15544
15558
|
o,
|
|
@@ -15564,7 +15578,7 @@ function j0(e) {
|
|
|
15564
15578
|
}
|
|
15565
15579
|
var Zr = {
|
|
15566
15580
|
__init__: ["previewSupport"],
|
|
15567
|
-
previewSupport: ["type",
|
|
15581
|
+
previewSupport: ["type", sa]
|
|
15568
15582
|
};
|
|
15569
15583
|
function Qr(e) {
|
|
15570
15584
|
this._commandStack = e.get("commandStack", !1);
|
|
@@ -16404,7 +16418,7 @@ function cw(e) {
|
|
|
16404
16418
|
function Rt(e) {
|
|
16405
16419
|
return tn(e) ? cw(e) : sw(e);
|
|
16406
16420
|
}
|
|
16407
|
-
function
|
|
16421
|
+
function ra(e, t, n) {
|
|
16408
16422
|
n = n || 0, hn(n) || (n = {
|
|
16409
16423
|
x: n,
|
|
16410
16424
|
y: n
|
|
@@ -16794,7 +16808,7 @@ function Di(e, t) {
|
|
|
16794
16808
|
var n = e.indexOf(t);
|
|
16795
16809
|
return n !== -1 && e.splice(n, 1), n;
|
|
16796
16810
|
}
|
|
16797
|
-
function
|
|
16811
|
+
function ca(e, t, n) {
|
|
16798
16812
|
if (!(!e || !t)) {
|
|
16799
16813
|
typeof n != "number" && (n = -1);
|
|
16800
16814
|
var a = e.indexOf(t);
|
|
@@ -16888,7 +16902,7 @@ function rl(e, t, n) {
|
|
|
16888
16902
|
l && (i.labelTargetIndex = il(l.labels, r), i.labelTarget = l, r.labelTarget = null);
|
|
16889
16903
|
}), this.revert("shape.delete", function(o) {
|
|
16890
16904
|
var i = o.context, r = i.shape, l = i.labelTarget, c = i.labelTargetIndex;
|
|
16891
|
-
l && (
|
|
16905
|
+
l && (ca(l.labels, r, c), r.labelTarget = l);
|
|
16892
16906
|
});
|
|
16893
16907
|
}
|
|
16894
16908
|
Ia(rl, Yt);
|
|
@@ -17051,22 +17065,22 @@ function jw(e, t) {
|
|
|
17051
17065
|
function Pw(e) {
|
|
17052
17066
|
return e instanceof oo;
|
|
17053
17067
|
}
|
|
17054
|
-
function
|
|
17068
|
+
function ua() {
|
|
17055
17069
|
this._uid = 12;
|
|
17056
17070
|
}
|
|
17057
|
-
|
|
17071
|
+
ua.prototype.createRoot = function(e) {
|
|
17058
17072
|
return this.create("root", e);
|
|
17059
17073
|
};
|
|
17060
|
-
|
|
17074
|
+
ua.prototype.createLabel = function(e) {
|
|
17061
17075
|
return this.create("label", e);
|
|
17062
17076
|
};
|
|
17063
|
-
|
|
17077
|
+
ua.prototype.createShape = function(e) {
|
|
17064
17078
|
return this.create("shape", e);
|
|
17065
17079
|
};
|
|
17066
|
-
|
|
17080
|
+
ua.prototype.createConnection = function(e) {
|
|
17067
17081
|
return this.create("connection", e);
|
|
17068
17082
|
};
|
|
17069
|
-
|
|
17083
|
+
ua.prototype.create = function(e, t) {
|
|
17070
17084
|
return t = Fe({}, t || {}), t.id || (t.id = e + "_" + this._uid++), jw(e, t);
|
|
17071
17085
|
};
|
|
17072
17086
|
var Bw = {
|
|
@@ -17074,11 +17088,11 @@ var Bw = {
|
|
|
17074
17088
|
height: 20
|
|
17075
17089
|
};
|
|
17076
17090
|
function La() {
|
|
17077
|
-
|
|
17091
|
+
ua.call(this), this._translate = fu;
|
|
17078
17092
|
}
|
|
17079
|
-
Pa(La,
|
|
17093
|
+
Pa(La, ua);
|
|
17080
17094
|
La.$inject = [];
|
|
17081
|
-
La.prototype.baseCreate =
|
|
17095
|
+
La.prototype.baseCreate = ua.prototype.create;
|
|
17082
17096
|
La.prototype.create = function(e, t) {
|
|
17083
17097
|
return e === "label" ? this.baseCreate(e, _t({ type: "label" }, Bw, t)) : this.createFlowElement(e, t);
|
|
17084
17098
|
};
|
|
@@ -17220,11 +17234,11 @@ sl.prototype.preExecute = function(e) {
|
|
|
17220
17234
|
}), e.elements = Fr(s);
|
|
17221
17235
|
};
|
|
17222
17236
|
var Cs = Math.round;
|
|
17223
|
-
function
|
|
17237
|
+
function da(e) {
|
|
17224
17238
|
this._canvas = e;
|
|
17225
17239
|
}
|
|
17226
|
-
|
|
17227
|
-
|
|
17240
|
+
da.$inject = ["canvas"];
|
|
17241
|
+
da.prototype.execute = function(e) {
|
|
17228
17242
|
var t = e.shape, n = e.position, a = e.parent, o = e.parentIndex;
|
|
17229
17243
|
if (!a) throw new Error("parent required");
|
|
17230
17244
|
if (!n) throw new Error("position required");
|
|
@@ -17233,21 +17247,21 @@ fa.prototype.execute = function(e) {
|
|
|
17233
17247
|
y: n.y - Cs(t.height / 2)
|
|
17234
17248
|
}), this._canvas.addShape(t, a, o), t;
|
|
17235
17249
|
};
|
|
17236
|
-
|
|
17250
|
+
da.prototype.revert = function(e) {
|
|
17237
17251
|
var t = e.shape;
|
|
17238
17252
|
return this._canvas.removeShape(t), t;
|
|
17239
17253
|
};
|
|
17240
17254
|
function Vo(e) {
|
|
17241
|
-
|
|
17255
|
+
da.call(this, e);
|
|
17242
17256
|
}
|
|
17243
|
-
Ia(Vo,
|
|
17257
|
+
Ia(Vo, da);
|
|
17244
17258
|
Vo.$inject = ["canvas"];
|
|
17245
|
-
var Ow =
|
|
17259
|
+
var Ow = da.prototype.execute;
|
|
17246
17260
|
Vo.prototype.execute = function(e) {
|
|
17247
17261
|
var t = e.shape;
|
|
17248
17262
|
return Lw(t), t.labelTarget = e.labelTarget, Ow.call(this, e);
|
|
17249
17263
|
};
|
|
17250
|
-
var Iw =
|
|
17264
|
+
var Iw = da.prototype.revert;
|
|
17251
17265
|
Vo.prototype.revert = function(e) {
|
|
17252
17266
|
return e.shape.labelTarget = null, Iw.call(this, e);
|
|
17253
17267
|
};
|
|
@@ -17274,7 +17288,7 @@ No.prototype.execute = function(e) {
|
|
|
17274
17288
|
};
|
|
17275
17289
|
No.prototype.revert = function(e) {
|
|
17276
17290
|
var t = e.connection, n = e.parent, a = e.parentIndex;
|
|
17277
|
-
return t.source = e.source, t.target = e.target,
|
|
17291
|
+
return t.source = e.source, t.target = e.target, ca(n.children, t, a), this._canvas.addConnection(t, n), t;
|
|
17278
17292
|
};
|
|
17279
17293
|
function cl(e, t) {
|
|
17280
17294
|
this._modeling = e, this._elementRegistry = t;
|
|
@@ -17306,7 +17320,7 @@ Wo.prototype.execute = function(e) {
|
|
|
17306
17320
|
};
|
|
17307
17321
|
Wo.prototype.revert = function(e) {
|
|
17308
17322
|
var t = this._canvas, n = e.shape, a = e.oldParent, o = e.oldParentIndex;
|
|
17309
|
-
return
|
|
17323
|
+
return ca(a.children, n, o), t.addShape(n, a), n;
|
|
17310
17324
|
};
|
|
17311
17325
|
function Ni(e) {
|
|
17312
17326
|
this._modeling = e;
|
|
@@ -17376,13 +17390,13 @@ function ul() {
|
|
|
17376
17390
|
}
|
|
17377
17391
|
ul.prototype.execute = function(e) {
|
|
17378
17392
|
var t = e.connection, n = e.delta, a = e.newParent || t.parent, o = e.newParentIndex, i = t.parent;
|
|
17379
|
-
return e.oldParent = i, e.oldParentIndex = Di(i.children, t),
|
|
17393
|
+
return e.oldParent = i, e.oldParentIndex = Di(i.children, t), ca(a.children, t, o), t.parent = a, ge(t.waypoints, function(r) {
|
|
17380
17394
|
r.x += n.x, r.y += n.y, r.original && (r.original.x += n.x, r.original.y += n.y);
|
|
17381
17395
|
}), t;
|
|
17382
17396
|
};
|
|
17383
17397
|
ul.prototype.revert = function(e) {
|
|
17384
17398
|
var t = e.connection, n = t.parent, a = e.oldParent, o = e.oldParentIndex, i = e.delta;
|
|
17385
|
-
return Di(n.children, t),
|
|
17399
|
+
return Di(n.children, t), ca(a.children, t, o), t.parent = a, ge(t.waypoints, function(r) {
|
|
17386
17400
|
r.x -= i.x, r.y -= i.y, r.original && (r.original.x -= i.x, r.original.y -= i.y);
|
|
17387
17401
|
}), t;
|
|
17388
17402
|
};
|
|
@@ -17431,7 +17445,7 @@ function _u(e, t) {
|
|
|
17431
17445
|
});
|
|
17432
17446
|
}
|
|
17433
17447
|
function zw(e, t) {
|
|
17434
|
-
return
|
|
17448
|
+
return ra(t, e, 1) === "intersect";
|
|
17435
17449
|
}
|
|
17436
17450
|
function Dw(e) {
|
|
17437
17451
|
return e.original || e;
|
|
@@ -17492,7 +17506,7 @@ za.prototype.execute = function(e) {
|
|
|
17492
17506
|
"y",
|
|
17493
17507
|
"width",
|
|
17494
17508
|
"height"
|
|
17495
|
-
]), e.oldParent = i, e.oldParentIndex = Di(i.children, t),
|
|
17509
|
+
]), e.oldParent = i, e.oldParentIndex = Di(i.children, t), ca(a.children, t, o), Fe(t, {
|
|
17496
17510
|
parent: a,
|
|
17497
17511
|
x: t.x + n.x,
|
|
17498
17512
|
y: t.y + n.y
|
|
@@ -17508,7 +17522,7 @@ za.prototype.postExecute = function(e) {
|
|
|
17508
17522
|
};
|
|
17509
17523
|
za.prototype.revert = function(e) {
|
|
17510
17524
|
var t = e.shape, n = e.oldParent, a = e.oldParentIndex, o = e.delta;
|
|
17511
|
-
return
|
|
17525
|
+
return ca(n.children, t, a), Fe(t, {
|
|
17512
17526
|
parent: n,
|
|
17513
17527
|
x: t.x - o.x,
|
|
17514
17528
|
y: t.y - o.y
|
|
@@ -17681,21 +17695,21 @@ function Fw(e, t, n) {
|
|
|
17681
17695
|
throw new Error("unknown direction: " + t);
|
|
17682
17696
|
}
|
|
17683
17697
|
}
|
|
17684
|
-
function
|
|
17698
|
+
function fa(e) {
|
|
17685
17699
|
this._modeling = e;
|
|
17686
17700
|
}
|
|
17687
|
-
|
|
17688
|
-
|
|
17701
|
+
fa.$inject = ["modeling"];
|
|
17702
|
+
fa.prototype.preExecute = function(e) {
|
|
17689
17703
|
var t = e.delta, n = e.direction, a = e.movingShapes, o = e.resizingShapes, i = e.start, r = {};
|
|
17690
17704
|
this.moveShapes(a, t), ge(o, function(l) {
|
|
17691
17705
|
r[l.id] = Nw(l);
|
|
17692
17706
|
}), this.resizeShapes(o, t, n), this.updateConnectionWaypoints($w(a, o), t, n, i, a, o, r);
|
|
17693
17707
|
};
|
|
17694
|
-
|
|
17708
|
+
fa.prototype.execute = function() {
|
|
17695
17709
|
};
|
|
17696
|
-
|
|
17710
|
+
fa.prototype.revert = function() {
|
|
17697
17711
|
};
|
|
17698
|
-
|
|
17712
|
+
fa.prototype.moveShapes = function(e, t) {
|
|
17699
17713
|
var n = this;
|
|
17700
17714
|
ge(e, function(a) {
|
|
17701
17715
|
n._modeling.moveShape(a, t, null, {
|
|
@@ -17705,7 +17719,7 @@ ha.prototype.moveShapes = function(e, t) {
|
|
|
17705
17719
|
});
|
|
17706
17720
|
});
|
|
17707
17721
|
};
|
|
17708
|
-
|
|
17722
|
+
fa.prototype.resizeShapes = function(e, t, n) {
|
|
17709
17723
|
var a = this;
|
|
17710
17724
|
ge(e, function(o) {
|
|
17711
17725
|
var i = Fw(o, n, t);
|
|
@@ -17716,7 +17730,7 @@ ha.prototype.resizeShapes = function(e, t, n) {
|
|
|
17716
17730
|
});
|
|
17717
17731
|
});
|
|
17718
17732
|
};
|
|
17719
|
-
|
|
17733
|
+
fa.prototype.updateConnectionWaypoints = function(e, t, n, a, o, i, r) {
|
|
17720
17734
|
var l = this, c = o.concat(i);
|
|
17721
17735
|
ge(e, function(s) {
|
|
17722
17736
|
var d = s.source, f = s.target, u = Vw(s), h = xu(n), p = {};
|
|
@@ -17811,7 +17825,7 @@ function Ru(e, t) {
|
|
|
17811
17825
|
function Eu(e, t, n) {
|
|
17812
17826
|
if (e) {
|
|
17813
17827
|
var a = e.attachers;
|
|
17814
|
-
a || (e.attachers = a = []),
|
|
17828
|
+
a || (e.attachers = a = []), ca(a, t, n);
|
|
17815
17829
|
}
|
|
17816
17830
|
}
|
|
17817
17831
|
function vl() {
|
|
@@ -17839,13 +17853,13 @@ at.$inject = [
|
|
|
17839
17853
|
at.prototype.getHandlers = function() {
|
|
17840
17854
|
return {
|
|
17841
17855
|
"shape.append": Fi,
|
|
17842
|
-
"shape.create":
|
|
17856
|
+
"shape.create": da,
|
|
17843
17857
|
"shape.delete": Wo,
|
|
17844
17858
|
"shape.move": za,
|
|
17845
17859
|
"shape.resize": Jo,
|
|
17846
17860
|
"shape.replace": Kn,
|
|
17847
17861
|
"shape.toggleCollapse": Ki,
|
|
17848
|
-
spaceTool:
|
|
17862
|
+
spaceTool: fa,
|
|
17849
17863
|
"label.create": Vo,
|
|
17850
17864
|
"connection.create": Vi,
|
|
17851
17865
|
"connection.delete": No,
|
|
@@ -18243,7 +18257,7 @@ function Qw(e, t) {
|
|
|
18243
18257
|
}[e].test(t);
|
|
18244
18258
|
}
|
|
18245
18259
|
function Pu(e, t, n) {
|
|
18246
|
-
var a =
|
|
18260
|
+
var a = ra(t, e, qw), o = n.split(":")[0], i = Ai((t.x - e.x) / 2 + e.x), r = Ai((t.y - e.y) / 2 + e.y), l, c, s = Qw(o, a), d = /h|r|l/.test(o), f = !1, u = !1;
|
|
18247
18261
|
return s ? (l = d ? {
|
|
18248
18262
|
x: i,
|
|
18249
18263
|
y: e.y
|
|
@@ -18327,7 +18341,7 @@ function o_(e, t, n) {
|
|
|
18327
18341
|
return a.unshift(e), a.push(t), Hu(a);
|
|
18328
18342
|
}
|
|
18329
18343
|
function i_(e, t, n, a, o) {
|
|
18330
|
-
var i = mf(o && o.preferredLayouts || [], "straight")[0] || "h:h", r =
|
|
18344
|
+
var i = mf(o && o.preferredLayouts || [], "straight")[0] || "h:h", r = ra(e, t, Xw[i] || 0), l = d_(r, i);
|
|
18331
18345
|
n = n || Rt(e), a = a || Rt(t);
|
|
18332
18346
|
var c = l.split(":");
|
|
18333
18347
|
return o_(Bs(n, e, c[0], h_(r)), Bs(a, t, c[1], r), l);
|
|
@@ -18347,7 +18361,7 @@ function Ps(e, t, n) {
|
|
|
18347
18361
|
}[e]]);
|
|
18348
18362
|
}
|
|
18349
18363
|
function s_(e, t, n, a, o) {
|
|
18350
|
-
var i = {}, r, l =
|
|
18364
|
+
var i = {}, r, l = ra(e, t);
|
|
18351
18365
|
return /^(top|bottom|left|right)$/.test(l) ? (/top|bottom/.test(l) && (r = "x"), /left|right/.test(l) && (r = "y"), o.preserveDocking === "target" ? Ps(r, a, e) ? (i[r] = a[r], [{
|
|
18352
18366
|
x: i.x !== void 0 ? i.x : n.x,
|
|
18353
18367
|
y: i.y !== void 0 ? i.y : n.y,
|
|
@@ -18476,33 +18490,33 @@ function Hu(e) {
|
|
|
18476
18490
|
function xl() {
|
|
18477
18491
|
}
|
|
18478
18492
|
Pa(xl, ju);
|
|
18479
|
-
var
|
|
18493
|
+
var Ca = (e, t) => e.type === t;
|
|
18480
18494
|
xl.prototype.layoutConnection = function(e, t) {
|
|
18481
18495
|
t || (t = {});
|
|
18482
18496
|
const n = t.source || e.source, a = t.target || e.target, o = t.waypoints || e.waypoints;
|
|
18483
18497
|
let { connectionStart: i, connectionEnd: r } = t, l, c;
|
|
18484
|
-
return r === void 0 && (i = ui(o && o[0], n), r = ui(o && o[o.length - 1], a)), i || (i = ui(o && o[0], n)), r || (r = ui(o && o[o.length - 1], a)),
|
|
18498
|
+
return r === void 0 && (i = ui(o && o[0], n), r = ui(o && o[o.length - 1], a)), i || (i = ui(o && o[0], n)), r || (r = ui(o && o[o.length - 1], a)), Ca(e, "myline") && (n === a ? l = { preferredLayouts: p_(n, e) } : Ca(n, "gatewayAnd") || Ca(n, "gatewayXor") || Ca(n, "gatewayInclusive") ? l = { preferredLayouts: ["v:h"] } : Ca(a, "gatewayAnd") || Ca(a, "gatewayXor") || Ca(a, "gatewayInclusive") ? l = { preferredLayouts: ["h:v"] } : l = { preferredLayouts: ["h:h"] }), l && (l = _t(l, t), c = Hu(r_(n, a, i, r, o, l))), c || [i, r];
|
|
18485
18499
|
};
|
|
18486
18500
|
function ui(e, t) {
|
|
18487
18501
|
return e ? e.original || e : Rt(t);
|
|
18488
18502
|
}
|
|
18489
18503
|
function p_(e, t) {
|
|
18490
|
-
const { waypoints: n } = t, a = n && n.length &&
|
|
18504
|
+
const { waypoints: n } = t, a = n && n.length && ra(n[0], e);
|
|
18491
18505
|
return a === "top" ? ["t:r"] : a === "right" ? ["r:b"] : a === "left" ? ["l:t"] : ["b:l"];
|
|
18492
18506
|
}
|
|
18493
18507
|
function Hs(e) {
|
|
18494
18508
|
return Fe({ original: e.point.original || e.point }, e.actual);
|
|
18495
18509
|
}
|
|
18496
|
-
function
|
|
18510
|
+
function ha(e, t) {
|
|
18497
18511
|
this._elementRegistry = e, this._graphicsFactory = t;
|
|
18498
18512
|
}
|
|
18499
|
-
|
|
18500
|
-
|
|
18513
|
+
ha.$inject = ["elementRegistry", "graphicsFactory"];
|
|
18514
|
+
ha.prototype.getCroppedWaypoints = function(e, t, n) {
|
|
18501
18515
|
t = t || e.source, n = n || e.target;
|
|
18502
18516
|
var a = this.getDockingPoint(e, t, !0), o = this.getDockingPoint(e, n), i = e.waypoints.slice(a.idx + 1, o.idx);
|
|
18503
18517
|
return i.unshift(Hs(a)), i.push(Hs(o)), i;
|
|
18504
18518
|
};
|
|
18505
|
-
|
|
18519
|
+
ha.prototype.getDockingPoint = function(e, t, n) {
|
|
18506
18520
|
var a = e.waypoints, o = n ? 0 : a.length - 1, i = a[o];
|
|
18507
18521
|
return {
|
|
18508
18522
|
point: i,
|
|
@@ -18510,16 +18524,16 @@ pa.prototype.getDockingPoint = function(e, t, n) {
|
|
|
18510
18524
|
idx: o
|
|
18511
18525
|
};
|
|
18512
18526
|
};
|
|
18513
|
-
|
|
18527
|
+
ha.prototype._getIntersection = function(e, t, n) {
|
|
18514
18528
|
return Rr(this._getShapePath(e), this._getConnectionPath(t), n);
|
|
18515
18529
|
};
|
|
18516
|
-
|
|
18530
|
+
ha.prototype._getConnectionPath = function(e) {
|
|
18517
18531
|
return this._graphicsFactory.getConnectionPath(e);
|
|
18518
18532
|
};
|
|
18519
|
-
|
|
18533
|
+
ha.prototype._getShapePath = function(e) {
|
|
18520
18534
|
return this._graphicsFactory.getShapePath(e);
|
|
18521
18535
|
};
|
|
18522
|
-
|
|
18536
|
+
ha.prototype._getGfx = function(e) {
|
|
18523
18537
|
return this._elementRegistry.getGraphics(e);
|
|
18524
18538
|
};
|
|
18525
18539
|
var Ou = {
|
|
@@ -18533,7 +18547,7 @@ var Ou = {
|
|
|
18533
18547
|
layouter: ["type", xl],
|
|
18534
18548
|
elementUpdater: ["type", bl],
|
|
18535
18549
|
elementFactory: ["type", La],
|
|
18536
|
-
connectionDocking: ["type",
|
|
18550
|
+
connectionDocking: ["type", ha]
|
|
18537
18551
|
}, g_ = 1e3;
|
|
18538
18552
|
function Da(e, t) {
|
|
18539
18553
|
var n = this;
|
|
@@ -19487,10 +19501,10 @@ function F_(e, t, n) {
|
|
|
19487
19501
|
y: o.y
|
|
19488
19502
|
}));
|
|
19489
19503
|
}
|
|
19490
|
-
function
|
|
19504
|
+
function pa(e, t, n, a, o, i) {
|
|
19491
19505
|
this._eventBus = e, this._canvas = n, this._elementFactory = a, this._elementRegistry = o, this._translate = fu, this._textRenderer = i, this._modeling = t;
|
|
19492
19506
|
}
|
|
19493
|
-
|
|
19507
|
+
pa.$inject = [
|
|
19494
19508
|
"eventBus",
|
|
19495
19509
|
"modeling",
|
|
19496
19510
|
"canvas",
|
|
@@ -19498,7 +19512,7 @@ ga.$inject = [
|
|
|
19498
19512
|
"elementRegistry",
|
|
19499
19513
|
"textRenderer"
|
|
19500
19514
|
];
|
|
19501
|
-
|
|
19515
|
+
pa.prototype.add = function(e) {
|
|
19502
19516
|
let t;
|
|
19503
19517
|
const { label: n } = e;
|
|
19504
19518
|
if (n && (n.id = e.id, n.name = e.name, delete e.label), e.type === "myline") {
|
|
@@ -19520,7 +19534,7 @@ ga.prototype.add = function(e) {
|
|
|
19520
19534
|
}
|
|
19521
19535
|
return n && t && this.addLabel(n, t), t;
|
|
19522
19536
|
};
|
|
19523
|
-
|
|
19537
|
+
pa.prototype.addLabel = function(e, t) {
|
|
19524
19538
|
const n = this._elementFactory.createLabel({
|
|
19525
19539
|
id: e.id + "_label",
|
|
19526
19540
|
labelTarget: t,
|
|
@@ -19533,7 +19547,7 @@ ga.prototype.addLabel = function(e, t) {
|
|
|
19533
19547
|
});
|
|
19534
19548
|
return this._canvas.addShape(n, t.parent);
|
|
19535
19549
|
};
|
|
19536
|
-
|
|
19550
|
+
pa.prototype.update = function(e, t) {
|
|
19537
19551
|
const n = this._elementRegistry.get(e);
|
|
19538
19552
|
n.businessObject = _t(n.businessObject, t), t.type === "myline" ? (this._canvas.removeConnection(n), this._canvas.addConnection(n, n.parent)) : (this._canvas.removeShape(n), this._canvas.addShape(n, n.parent));
|
|
19539
19553
|
const a = this._elementRegistry.get(e + "_label");
|
|
@@ -19565,16 +19579,16 @@ ga.prototype.update = function(e, t) {
|
|
|
19565
19579
|
}
|
|
19566
19580
|
}
|
|
19567
19581
|
};
|
|
19568
|
-
|
|
19582
|
+
pa.prototype._getSource = function(e) {
|
|
19569
19583
|
return this._getElement(e.from);
|
|
19570
19584
|
};
|
|
19571
|
-
|
|
19585
|
+
pa.prototype._getTarget = function(e) {
|
|
19572
19586
|
return this._getElement(e.to);
|
|
19573
19587
|
};
|
|
19574
|
-
|
|
19588
|
+
pa.prototype._getElement = function(e) {
|
|
19575
19589
|
return this._elementRegistry.get(e);
|
|
19576
19590
|
};
|
|
19577
|
-
var Du = { myImporter: ["type",
|
|
19591
|
+
var Du = { myImporter: ["type", pa] }, $u = (e) => {
|
|
19578
19592
|
const t = [];
|
|
19579
19593
|
return e.forEach((n) => {
|
|
19580
19594
|
if (n.type !== void 0) {
|
|
@@ -20076,7 +20090,7 @@ function Ju(e, t, n, a, o) {
|
|
|
20076
20090
|
x(v, _), _.bendpoint || b(v, _, C);
|
|
20077
20091
|
}
|
|
20078
20092
|
}), e.on("element.mousedown", function(y) {
|
|
20079
|
-
if (
|
|
20093
|
+
if (la(y)) {
|
|
20080
20094
|
var w = y.originalEvent, C = y.element;
|
|
20081
20095
|
if (C.waypoints)
|
|
20082
20096
|
return l(w, C);
|
|
@@ -20107,11 +20121,11 @@ Ju.$inject = [
|
|
|
20107
20121
|
function rx(e) {
|
|
20108
20122
|
return Xt(".djs-visual", e);
|
|
20109
20123
|
}
|
|
20110
|
-
var Ds = Math.round,
|
|
20124
|
+
var Ds = Math.round, Sa = "reconnectStart", ka = "reconnectEnd", vo = "updateWaypoints";
|
|
20111
20125
|
function Sl(e, t, n, a, o, i) {
|
|
20112
20126
|
this._injector = e, this.start = function(r, l, c, s) {
|
|
20113
20127
|
var d = n.getGraphics(l), f = l.source, u = l.target, h = l.waypoints, p;
|
|
20114
|
-
!s && c === 0 ? p =
|
|
20128
|
+
!s && c === 0 ? p = Sa : !s && c === h.length - 1 ? p = ka : p = vo;
|
|
20115
20129
|
var g = p === vo ? "connection.updateWaypoints" : "connection.reconnect", m = o.allowed(g, {
|
|
20116
20130
|
connection: l,
|
|
20117
20131
|
source: f,
|
|
@@ -20142,17 +20156,17 @@ function Sl(e, t, n, a, o, i) {
|
|
|
20142
20156
|
var p = u === vo ? "connection.updateWaypoints" : "connection.reconnect";
|
|
20143
20157
|
if (h = l.allowed = o.allowed(p, {
|
|
20144
20158
|
connection: c,
|
|
20145
|
-
source: u ===
|
|
20146
|
-
target: u ===
|
|
20159
|
+
source: u === Sa ? f : s,
|
|
20160
|
+
target: u === ka ? f : d
|
|
20147
20161
|
}), h) {
|
|
20148
|
-
l.source = u ===
|
|
20162
|
+
l.source = u === Sa ? f : s, l.target = u === ka ? f : d;
|
|
20149
20163
|
return;
|
|
20150
20164
|
}
|
|
20151
20165
|
h === !1 && (h = l.allowed = o.allowed(p, {
|
|
20152
20166
|
connection: c,
|
|
20153
|
-
source: u ===
|
|
20154
|
-
target: u ===
|
|
20155
|
-
})), h && (l.source = u ===
|
|
20167
|
+
source: u === ka ? f : d,
|
|
20168
|
+
target: u === Sa ? f : s
|
|
20169
|
+
})), h && (l.source = u === ka ? f : d, l.target = u === Sa ? f : s);
|
|
20156
20170
|
}
|
|
20157
20171
|
}), t.on(["bendpoint.move.out", "bendpoint.move.cleanup"], function(r) {
|
|
20158
20172
|
var l = r.context, c = l.type;
|
|
@@ -20166,7 +20180,7 @@ function Sl(e, t, n, a, o, i) {
|
|
|
20166
20180
|
g === vo ? (f ? u.splice(s, 0, x) : u[s] = x, m.bendpointMove = {
|
|
20167
20181
|
insert: f,
|
|
20168
20182
|
bendpointIndex: s
|
|
20169
|
-
}, u = this.cropWaypoints(d, u), i.updateWaypoints(d, dw(u), m)) : (g ===
|
|
20183
|
+
}, u = this.cropWaypoints(d, u), i.updateWaypoints(d, dw(u), m)) : (g === Sa ? (m.docking = "source", Mi(l) && (m.docking = "target", m.newWaypoints = u.reverse())) : g === ka && (m.docking = "target", Mi(l) && (m.docking = "source", m.newWaypoints = u.reverse())), i.reconnect(d, h, p, x, m));
|
|
20170
20184
|
}, this);
|
|
20171
20185
|
}
|
|
20172
20186
|
Sl.$inject = [
|
|
@@ -20185,8 +20199,8 @@ Sl.prototype.cropWaypoints = function(e, t) {
|
|
|
20185
20199
|
};
|
|
20186
20200
|
function Mi(e) {
|
|
20187
20201
|
var t = e.hover, n = e.source, a = e.target, o = e.type;
|
|
20188
|
-
if (o ===
|
|
20189
|
-
if (o ===
|
|
20202
|
+
if (o === Sa) return t && a && t === a && n !== a;
|
|
20203
|
+
if (o === ka) return t && n && t === n && n !== a;
|
|
20190
20204
|
}
|
|
20191
20205
|
var lx = "reconnectStart", sx = "reconnectEnd", $s = "updateWaypoints", yo = "connect-ok", hi = "connect-not-ok", Fs = "connect-hover", Vs = "djs-updating", Ns = "djs-dragging", Ws = 1100;
|
|
20192
20206
|
function Ku(e, t, n, a) {
|
|
@@ -20297,7 +20311,7 @@ function qu(e, t, n, a, o, i) {
|
|
|
20297
20311
|
var u = f.context, h = u.connection, p = u.segmentStartIndex, g = u.segmentEndIndex, m = u.segmentStart, x = u.segmentEnd, b = u.axis, y = u.originalWaypoints.slice(), w = Js(m, b, f["d" + b]), C = Js(x, b, f["d" + b]), v = y.length, _ = 0;
|
|
20298
20312
|
y[p] = w, y[g] = C;
|
|
20299
20313
|
var S, R;
|
|
20300
|
-
p < 2 && (S =
|
|
20314
|
+
p < 2 && (S = ra(h.source, w), p === 1 ? S === "intersect" && (y.shift(), y[0] = w, _--) : S !== "intersect" && (y.unshift(m), _++)), g > v - 3 && (R = ra(h.target, C), g === v - 2 ? R === "intersect" && (y.pop(), y[y.length - 1] = C) : R !== "intersect" && y.push(x)), u.newWaypoints = h.waypoints = l(h, y), s(u, _, f), u.newSegmentStartIndex = p + _, c(f);
|
|
20301
20315
|
}), t.on("connectionSegment.move.hover", function(f) {
|
|
20302
20316
|
f.context.hover = f.hover, n.addMarker(f.hover, Us);
|
|
20303
20317
|
}), t.on(["connectionSegment.move.out", "connectionSegment.move.cleanup"], function(f) {
|
|
@@ -21131,7 +21145,7 @@ var Lx = {
|
|
|
21131
21145
|
__init__: ["handTool"],
|
|
21132
21146
|
handTool: ["type", lo]
|
|
21133
21147
|
}, nd = "crosshair", Qs = "selected", zx = "djs-dragging-active-lasso";
|
|
21134
|
-
function
|
|
21148
|
+
function ga(e, t, n, a, o, i, r) {
|
|
21135
21149
|
this._selection = o, this._dragging = n, this._mouse = r;
|
|
21136
21150
|
var l = this, c = {
|
|
21137
21151
|
create: function(f) {
|
|
@@ -21194,7 +21208,7 @@ function va(e, t, n, a, o, i, r) {
|
|
|
21194
21208
|
return l.activateLasso(f.originalEvent), !0;
|
|
21195
21209
|
});
|
|
21196
21210
|
}
|
|
21197
|
-
|
|
21211
|
+
ga.$inject = [
|
|
21198
21212
|
"eventBus",
|
|
21199
21213
|
"canvas",
|
|
21200
21214
|
"dragging",
|
|
@@ -21203,7 +21217,7 @@ va.$inject = [
|
|
|
21203
21217
|
"toolManager",
|
|
21204
21218
|
"mouse"
|
|
21205
21219
|
];
|
|
21206
|
-
|
|
21220
|
+
ga.prototype.activateLasso = function(e, t) {
|
|
21207
21221
|
this._dragging.init(e, "lasso", {
|
|
21208
21222
|
autoActivate: t,
|
|
21209
21223
|
cursor: nd,
|
|
@@ -21211,7 +21225,7 @@ va.prototype.activateLasso = function(e, t) {
|
|
|
21211
21225
|
keepSelection: !0
|
|
21212
21226
|
});
|
|
21213
21227
|
};
|
|
21214
|
-
|
|
21228
|
+
ga.prototype.activateSelection = function(e, t) {
|
|
21215
21229
|
this._dragging.init(e, "lasso.selection", {
|
|
21216
21230
|
trapClick: !1,
|
|
21217
21231
|
autoActivate: t,
|
|
@@ -21220,19 +21234,19 @@ va.prototype.activateSelection = function(e, t) {
|
|
|
21220
21234
|
keepSelection: !0
|
|
21221
21235
|
});
|
|
21222
21236
|
};
|
|
21223
|
-
|
|
21237
|
+
ga.prototype._select = function(e) {
|
|
21224
21238
|
this._selection.select(e);
|
|
21225
21239
|
};
|
|
21226
|
-
|
|
21240
|
+
ga.prototype.select = function(e, t, n = []) {
|
|
21227
21241
|
var a = Fr(Xc(e, t));
|
|
21228
21242
|
this._select([...n, ...a]);
|
|
21229
21243
|
};
|
|
21230
|
-
|
|
21244
|
+
ga.prototype.toggle = function() {
|
|
21231
21245
|
if (this.isActive()) return this._dragging.cancel();
|
|
21232
21246
|
var e = this._mouse.getLastMoveEvent();
|
|
21233
21247
|
this.activateSelection(e, !!e);
|
|
21234
21248
|
};
|
|
21235
|
-
|
|
21249
|
+
ga.prototype.isActive = function() {
|
|
21236
21250
|
var e = this._dragging.context();
|
|
21237
21251
|
return e && /^lasso/.test(e.prefix);
|
|
21238
21252
|
};
|
|
@@ -21274,7 +21288,7 @@ function ec(e) {
|
|
|
21274
21288
|
var Dx = {
|
|
21275
21289
|
__depends__: [Rl, Tl],
|
|
21276
21290
|
__init__: ["lassoTool"],
|
|
21277
|
-
lassoTool: ["type",
|
|
21291
|
+
lassoTool: ["type", ga]
|
|
21278
21292
|
}, tc = "connect-ok", nc = "connect-not-ok";
|
|
21279
21293
|
function so(e, t, n, a, o, i, r) {
|
|
21280
21294
|
var l = this;
|
|
@@ -21487,7 +21501,7 @@ function od(e, t, n, a, o) {
|
|
|
21487
21501
|
attach: f
|
|
21488
21502
|
});
|
|
21489
21503
|
}), e.on("element.mousedown", function(l) {
|
|
21490
|
-
if (
|
|
21504
|
+
if (la(l)) {
|
|
21491
21505
|
var c = eo(l);
|
|
21492
21506
|
if (!c) throw new Error("must supply DOM mousedown event");
|
|
21493
21507
|
return r(c, l.element);
|
|
@@ -21927,7 +21941,7 @@ var yi = -6, mi = 8, bi = 20, bo = "djs-resizer", gC = [
|
|
|
21927
21941
|
"se",
|
|
21928
21942
|
"sw"
|
|
21929
21943
|
];
|
|
21930
|
-
function
|
|
21944
|
+
function va(e, t, n, a) {
|
|
21931
21945
|
this._resize = a, this._canvas = t;
|
|
21932
21946
|
var o = this;
|
|
21933
21947
|
e.on("selection.changed", function(i) {
|
|
@@ -21938,14 +21952,14 @@ function ya(e, t, n, a) {
|
|
|
21938
21952
|
n.isSelected(r) && (o.removeResizers(), o.addResizer(r));
|
|
21939
21953
|
});
|
|
21940
21954
|
}
|
|
21941
|
-
|
|
21955
|
+
va.prototype.makeDraggable = function(e, t, n) {
|
|
21942
21956
|
var a = this._resize;
|
|
21943
21957
|
function o(i) {
|
|
21944
|
-
|
|
21958
|
+
la(i) && a.activate(i, e, n);
|
|
21945
21959
|
}
|
|
21946
21960
|
rt.bind(t, "mousedown", o), rt.bind(t, "touchstart", o);
|
|
21947
21961
|
};
|
|
21948
|
-
|
|
21962
|
+
va.prototype._createResizer = function(e, t, n, a) {
|
|
21949
21963
|
var o = this._getResizersParent(), i = vC(a), r = Je("g");
|
|
21950
21964
|
ht(r).add(bo), ht(r).add(bo + "-" + e.id), ht(r).add(bo + "-" + a), qe(o, r);
|
|
21951
21965
|
var l = Je("rect");
|
|
@@ -21963,23 +21977,23 @@ ya.prototype._createResizer = function(e, t, n, a) {
|
|
|
21963
21977
|
height: bi
|
|
21964
21978
|
}), ht(c).add(bo + "-hit"), qe(r, c), $0(r, t, n), r;
|
|
21965
21979
|
};
|
|
21966
|
-
|
|
21980
|
+
va.prototype.createResizer = function(e, t) {
|
|
21967
21981
|
var n = cd(e, t), a = this._createResizer(e, n.x, n.y, t);
|
|
21968
21982
|
this.makeDraggable(e, a, t);
|
|
21969
21983
|
};
|
|
21970
|
-
|
|
21984
|
+
va.prototype.addResizer = function(e) {
|
|
21971
21985
|
var t = this;
|
|
21972
21986
|
tn(e) || !this._resize.canResize({ shape: e }) || ge(gC, function(n) {
|
|
21973
21987
|
t.createResizer(e, n);
|
|
21974
21988
|
});
|
|
21975
21989
|
};
|
|
21976
|
-
|
|
21990
|
+
va.prototype.removeResizers = function() {
|
|
21977
21991
|
Vr(this._getResizersParent());
|
|
21978
21992
|
};
|
|
21979
|
-
|
|
21993
|
+
va.prototype._getResizersParent = function() {
|
|
21980
21994
|
return this._canvas.getLayer("resizers");
|
|
21981
21995
|
};
|
|
21982
|
-
|
|
21996
|
+
va.$inject = [
|
|
21983
21997
|
"eventBus",
|
|
21984
21998
|
"canvas",
|
|
21985
21999
|
"selection",
|
|
@@ -22005,7 +22019,7 @@ var yC = {
|
|
|
22005
22019
|
],
|
|
22006
22020
|
resize: ["type", Go],
|
|
22007
22021
|
resizePreview: ["type", ud],
|
|
22008
|
-
resizeHandles: ["type",
|
|
22022
|
+
resizeHandles: ["type", va]
|
|
22009
22023
|
};
|
|
22010
22024
|
function qo(e, t, n, a, o, i) {
|
|
22011
22025
|
this._canvas = t, this._modeling = a, this._textRenderer = i, n.registerProvider(this), e.on("element.dblclick", (l) => {
|
|
@@ -22133,26 +22147,26 @@ var bC = {
|
|
|
22133
22147
|
__init__: ["labelEditingProvider"],
|
|
22134
22148
|
labelEditingProvider: ["type", qo]
|
|
22135
22149
|
};
|
|
22136
|
-
function
|
|
22150
|
+
function ya() {
|
|
22137
22151
|
this._targets = {}, this._snapOrigins = {}, this._snapLocations = [], this._defaultSnaps = {};
|
|
22138
22152
|
}
|
|
22139
|
-
|
|
22153
|
+
ya.prototype.getSnapOrigin = function(e) {
|
|
22140
22154
|
return this._snapOrigins[e];
|
|
22141
22155
|
};
|
|
22142
|
-
|
|
22156
|
+
ya.prototype.setSnapOrigin = function(e, t) {
|
|
22143
22157
|
this._snapOrigins[e] = t, this._snapLocations.indexOf(e) === -1 && this._snapLocations.push(e);
|
|
22144
22158
|
};
|
|
22145
|
-
|
|
22159
|
+
ya.prototype.addDefaultSnap = function(e, t) {
|
|
22146
22160
|
var n = this._defaultSnaps[e];
|
|
22147
22161
|
n || (n = this._defaultSnaps[e] = []), n.push(t);
|
|
22148
22162
|
};
|
|
22149
|
-
|
|
22163
|
+
ya.prototype.getSnapLocations = function() {
|
|
22150
22164
|
return this._snapLocations;
|
|
22151
22165
|
};
|
|
22152
|
-
|
|
22166
|
+
ya.prototype.setSnapLocations = function(e) {
|
|
22153
22167
|
this._snapLocations = e;
|
|
22154
22168
|
};
|
|
22155
|
-
|
|
22169
|
+
ya.prototype.pointsForTarget = function(e) {
|
|
22156
22170
|
var t = e.id || e, n = this._targets[t];
|
|
22157
22171
|
return n || (n = this._targets[t] = new Zi(), n.initDefaults(this._defaultSnaps)), n;
|
|
22158
22172
|
};
|
|
@@ -22205,7 +22219,7 @@ zn.$inject = [
|
|
|
22205
22219
|
];
|
|
22206
22220
|
zn.prototype.initSnap = function(e) {
|
|
22207
22221
|
var t = this._elementRegistry, n = e.context, a = n.shape, o = n.snapContext;
|
|
22208
|
-
o || (o = n.snapContext = new
|
|
22222
|
+
o || (o = n.snapContext = new ya());
|
|
22209
22223
|
var i;
|
|
22210
22224
|
t.get(a.id) ? i = Ga(a, e) : i = {
|
|
22211
22225
|
x: e.x + Ga(a).x,
|
|
@@ -22284,7 +22298,7 @@ function Xo(e, t) {
|
|
|
22284
22298
|
}
|
|
22285
22299
|
Xo.prototype.initSnap = function(e) {
|
|
22286
22300
|
var t = e.context, n = t.shape, a = t.direction, o = t.snapContext;
|
|
22287
|
-
o || (o = t.snapContext = new
|
|
22301
|
+
o || (o = t.snapContext = new ya());
|
|
22288
22302
|
var i = dd(n, a);
|
|
22289
22303
|
return o.setSnapOrigin("corner", {
|
|
22290
22304
|
x: i.x - e.x,
|
|
@@ -22322,11 +22336,11 @@ function RC(e) {
|
|
|
22322
22336
|
return e === "e" || e === "w";
|
|
22323
22337
|
}
|
|
22324
22338
|
var EC = 7, TC = 1e3;
|
|
22325
|
-
function
|
|
22339
|
+
function ma(e) {
|
|
22326
22340
|
this._canvas = e, this._asyncHide = df(zr(this.hide, this), TC);
|
|
22327
22341
|
}
|
|
22328
|
-
|
|
22329
|
-
|
|
22342
|
+
ma.$inject = ["canvas"];
|
|
22343
|
+
ma.prototype.snap = function(e, t) {
|
|
22330
22344
|
var n = e.context.snapContext, a = n.getSnapLocations(), o = {
|
|
22331
22345
|
x: ji(e, "x"),
|
|
22332
22346
|
y: ji(e, "y")
|
|
@@ -22348,7 +22362,7 @@ ba.prototype.snap = function(e, t) {
|
|
|
22348
22362
|
hn(r) && Fn(e, i, r.originValue);
|
|
22349
22363
|
});
|
|
22350
22364
|
};
|
|
22351
|
-
|
|
22365
|
+
ma.prototype._createLine = function(e) {
|
|
22352
22366
|
var t = this._canvas.getLayer("snap"), n = Je("path");
|
|
22353
22367
|
return $e(n, { d: "M0,0 L0,0" }), ht(n).add("djs-snap-line"), qe(t, n), { update: function(a) {
|
|
22354
22368
|
Ht(a) ? e === "horizontal" ? $e(n, {
|
|
@@ -22360,20 +22374,20 @@ ba.prototype._createLine = function(e) {
|
|
|
22360
22374
|
}) : $e(n, { display: "none" });
|
|
22361
22375
|
} };
|
|
22362
22376
|
};
|
|
22363
|
-
|
|
22377
|
+
ma.prototype._createSnapLines = function() {
|
|
22364
22378
|
this._snapLines = {
|
|
22365
22379
|
horizontal: this._createLine("horizontal"),
|
|
22366
22380
|
vertical: this._createLine("vertical")
|
|
22367
22381
|
};
|
|
22368
22382
|
};
|
|
22369
|
-
|
|
22383
|
+
ma.prototype.showSnapLine = function(e, t) {
|
|
22370
22384
|
var n = this.getSnapLine(e);
|
|
22371
22385
|
n && n.update(t), this._asyncHide();
|
|
22372
22386
|
};
|
|
22373
|
-
|
|
22387
|
+
ma.prototype.getSnapLine = function(e) {
|
|
22374
22388
|
return this._snapLines || this._createSnapLines(), this._snapLines[e];
|
|
22375
22389
|
};
|
|
22376
|
-
|
|
22390
|
+
ma.prototype.hide = function() {
|
|
22377
22391
|
ge(this._snapLines, function(e) {
|
|
22378
22392
|
e.update();
|
|
22379
22393
|
});
|
|
@@ -22386,7 +22400,7 @@ var AC = {
|
|
|
22386
22400
|
],
|
|
22387
22401
|
createMoveSnapping: ["type", zn],
|
|
22388
22402
|
resizeSnapping: ["type", Xo],
|
|
22389
|
-
snapping: ["type",
|
|
22403
|
+
snapping: ["type", ma]
|
|
22390
22404
|
}, MC = {
|
|
22391
22405
|
__depends__: [AC],
|
|
22392
22406
|
__init__: ["createMoveSnapping"],
|
|
@@ -22617,7 +22631,7 @@ function WC(e, t, n) {
|
|
|
22617
22631
|
width: n.width,
|
|
22618
22632
|
height: n.height
|
|
22619
22633
|
};
|
|
22620
|
-
return Bn(NC(e), (o) => o === n ? !1 :
|
|
22634
|
+
return Bn(NC(e), (o) => o === n ? !1 : ra(o, a, DC) === "intersect");
|
|
22621
22635
|
}
|
|
22622
22636
|
function UC(e, t, n, a) {
|
|
22623
22637
|
let o;
|
|
@@ -23024,7 +23038,7 @@ var XC = {
|
|
|
23024
23038
|
span: j.config?.span || e.span || 24,
|
|
23025
23039
|
style: le({ "margin-bottom": (j.getInputType ? j.getInputType(z) : j.inputType) == "j-input-rows" ? "8px" : void 0 })
|
|
23026
23040
|
}, {
|
|
23027
|
-
default: G(() => [
|
|
23041
|
+
default: G(() => [ia(Z(R, {
|
|
23028
23042
|
"label-width": w(j.config?.labelWidth),
|
|
23029
23043
|
label: Y(i)(j.config?.label || ""),
|
|
23030
23044
|
extra: j.config?.labelExtra,
|
|
@@ -23217,7 +23231,7 @@ export {
|
|
|
23217
23231
|
X1 as eventBus,
|
|
23218
23232
|
ai as formatToDate,
|
|
23219
23233
|
Jr as formatToDateTime,
|
|
23220
|
-
|
|
23234
|
+
Ta as fullScreenLoading,
|
|
23221
23235
|
kn as getCompConfig,
|
|
23222
23236
|
Yr as getCompType,
|
|
23223
23237
|
Y1 as getDayText,
|