@chamn/engine 0.3.21 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +28 -28
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +331 -338
- package/dist/index.js.map +1 -1
- package/package.json +7 -7
package/dist/index.js
CHANGED
|
@@ -2,9 +2,9 @@ var Cz = Object.defineProperty;
|
|
|
2
2
|
var Ez = (e, t, n) => t in e ? Cz(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
3
|
var Y = (e, t, n) => Ez(e, typeof t != "symbol" ? t + "" : t, n);
|
|
4
4
|
import * as J from "react";
|
|
5
|
-
import R, { memo as _t, useCallback as Se, useMemo as se, PureComponent as ks, createContext as
|
|
5
|
+
import R, { memo as _t, useCallback as Se, useMemo as se, PureComponent as ks, createContext as Fn, useContext as rt, useEffect as ne, version as kz, isValidElement as Xx, Component as Os, createElement as Iy, useState as re, useRef as X, forwardRef as En, useLayoutEffect as Yx, useReducer as Oz, useImperativeHandle as ir } from "react";
|
|
6
6
|
import HS, { flushSync as Nz, createPortal as Jx, unstable_batchedUpdates as lu } from "react-dom";
|
|
7
|
-
import { Button as
|
|
7
|
+
import { Button as Nn, Popover as Ef, Collapse as jc, Tabs as Qx, Input as pr, message as Xl, ConfigProvider as Pt, InputNumber as Lj, Modal as Pc, Switch as Tz, Select as Mc, AutoComplete as Rd, ColorPicker as Dj, Slider as Rz, Radio as Lt, Alert as Az, Tooltip as jz, Dropdown as Zx, TreeSelect as Pz, Space as ew, Card as zj, Row as St, Col as gt, Empty as qS, Segmented as Mz } from "antd";
|
|
8
8
|
import { isExpression as tw, getRandomStr as Tr, findContainerNode as Iz, isPageModel as $z, isNodeModel as Fj, isJSSlotPropNode as Lz, getMTitle as $y, isSpecialMaterialPropType as Bj, getMTitleTip as Vj, CNodePropsTypeEnum as Yl, LogicType as xn, AssignValueType as Ly, DEV_CONFIG_KEY as $o, isFunction as Dz, HTMl_TAGS as Hj, CPage as US, EmptyPage as zz } from "@chamn/model";
|
|
9
9
|
import { Sensor as qj, Layout as Fz, LayoutMode as GS, addEventListenerReturnCancel as Yh } from "@chamn/layout";
|
|
10
10
|
export * from "@chamn/layout";
|
|
@@ -374,7 +374,7 @@ function Vz() {
|
|
|
374
374
|
function Nt(L) {
|
|
375
375
|
return "" + L;
|
|
376
376
|
}
|
|
377
|
-
function
|
|
377
|
+
function An(L) {
|
|
378
378
|
if (Ft(L))
|
|
379
379
|
return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Me(L)), Nt(L);
|
|
380
380
|
}
|
|
@@ -457,7 +457,7 @@ function Vz() {
|
|
|
457
457
|
function So(L, ee, oe, be, Ie) {
|
|
458
458
|
{
|
|
459
459
|
var qe, Pe = {}, Te = null, Vt = null;
|
|
460
|
-
oe !== void 0 && (
|
|
460
|
+
oe !== void 0 && (An(oe), Te = "" + oe), wr(ee) && (An(ee.key), Te = "" + ee.key), pn(ee) && (Vt = ee.ref, gn(ee, Ie));
|
|
461
461
|
for (qe in ee)
|
|
462
462
|
Ee.call(ee, qe) && !Jt.hasOwnProperty(qe) && (Pe[qe] = ee[qe]);
|
|
463
463
|
if (L && L.defaultProps) {
|
|
@@ -1113,7 +1113,7 @@ const Qz = "_workbenchContainer_1z0k5_2", Zz = "_topToolBarBox_1z0k5_9", e4 = "_
|
|
|
1113
1113
|
canvasBoxPadding: w4,
|
|
1114
1114
|
customViewBox: S4
|
|
1115
1115
|
};
|
|
1116
|
-
var Uj = /* @__PURE__ */
|
|
1116
|
+
var Uj = /* @__PURE__ */ Fn({});
|
|
1117
1117
|
function vt() {
|
|
1118
1118
|
return vt = Object.assign ? Object.assign.bind() : function(e) {
|
|
1119
1119
|
for (var t = 1; t < arguments.length; t++) {
|
|
@@ -3384,11 +3384,11 @@ function OP(e, t) {
|
|
|
3384
3384
|
i[n] = t(e[n], n, e);
|
|
3385
3385
|
return i;
|
|
3386
3386
|
}
|
|
3387
|
-
var
|
|
3387
|
+
var Tn = Array.isArray, E_ = gr ? gr.prototype : void 0, k_ = E_ ? E_.toString : void 0;
|
|
3388
3388
|
function NP(e) {
|
|
3389
3389
|
if (typeof e == "string")
|
|
3390
3390
|
return e;
|
|
3391
|
-
if (
|
|
3391
|
+
if (Tn(e))
|
|
3392
3392
|
return OP(e, NP) + "";
|
|
3393
3393
|
if (Nf(e))
|
|
3394
3394
|
return k_ ? k_.call(e) : "";
|
|
@@ -3405,7 +3405,7 @@ var hF = /^\s+/;
|
|
|
3405
3405
|
function pF(e) {
|
|
3406
3406
|
return e && e.slice(0, fF(e) + 1).replace(hF, "");
|
|
3407
3407
|
}
|
|
3408
|
-
function
|
|
3408
|
+
function Rn(e) {
|
|
3409
3409
|
var t = typeof e;
|
|
3410
3410
|
return e != null && (t == "object" || t == "function");
|
|
3411
3411
|
}
|
|
@@ -3415,9 +3415,9 @@ function N_(e) {
|
|
|
3415
3415
|
return e;
|
|
3416
3416
|
if (Nf(e))
|
|
3417
3417
|
return O_;
|
|
3418
|
-
if (
|
|
3418
|
+
if (Rn(e)) {
|
|
3419
3419
|
var t = typeof e.valueOf == "function" ? e.valueOf() : e;
|
|
3420
|
-
e =
|
|
3420
|
+
e = Rn(t) ? t + "" : t;
|
|
3421
3421
|
}
|
|
3422
3422
|
if (typeof e != "string")
|
|
3423
3423
|
return e === 0 ? e : +e;
|
|
@@ -3430,7 +3430,7 @@ function Tf(e) {
|
|
|
3430
3430
|
}
|
|
3431
3431
|
var bF = "[object AsyncFunction]", xF = "[object Function]", wF = "[object GeneratorFunction]", SF = "[object Proxy]";
|
|
3432
3432
|
function fw(e) {
|
|
3433
|
-
if (!
|
|
3433
|
+
if (!Rn(e))
|
|
3434
3434
|
return !1;
|
|
3435
3435
|
var t = Ko(e);
|
|
3436
3436
|
return t == xF || t == wF || t == bF || t == SF;
|
|
@@ -3460,7 +3460,7 @@ var kF = /[\\^$.*+?()[\]{}|]/g, OF = /^\[object .+?Constructor\]$/, NF = Functio
|
|
|
3460
3460
|
"^" + RF.call(AF).replace(kF, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
3461
3461
|
);
|
|
3462
3462
|
function PF(e) {
|
|
3463
|
-
if (!
|
|
3463
|
+
if (!Rn(e) || _F(e))
|
|
3464
3464
|
return !1;
|
|
3465
3465
|
var t = fw(e) ? jF : OF;
|
|
3466
3466
|
return t.test(Xo(e));
|
|
@@ -3476,7 +3476,7 @@ var eb = Yo(Kr, "WeakMap"), R_ = Object.create, IF = /* @__PURE__ */ function()
|
|
|
3476
3476
|
function e() {
|
|
3477
3477
|
}
|
|
3478
3478
|
return function(t) {
|
|
3479
|
-
if (!
|
|
3479
|
+
if (!Rn(t))
|
|
3480
3480
|
return {};
|
|
3481
3481
|
if (R_)
|
|
3482
3482
|
return R_(t);
|
|
@@ -3593,7 +3593,7 @@ function Ts(e) {
|
|
|
3593
3593
|
return e != null && gw(e.length) && !fw(e);
|
|
3594
3594
|
}
|
|
3595
3595
|
function JF(e, t, n) {
|
|
3596
|
-
if (!
|
|
3596
|
+
if (!Rn(n))
|
|
3597
3597
|
return !1;
|
|
3598
3598
|
var r = typeof t;
|
|
3599
3599
|
return (r == "number" ? Ts(n) && Rf(t, n.length) : r == "string" && t in n) ? $c(n[t], e) : !1;
|
|
@@ -3649,7 +3649,7 @@ var MP = typeof exports == "object" && exports && !exports.nodeType && exports,
|
|
|
3649
3649
|
}
|
|
3650
3650
|
}(), I_ = os && os.isTypedArray, yw = I_ ? vw(I_) : AB, PB = Object.prototype, MB = PB.hasOwnProperty;
|
|
3651
3651
|
function IP(e, t) {
|
|
3652
|
-
var n =
|
|
3652
|
+
var n = Tn(e), r = !n && Ql(e), i = !n && !r && Zl(e), o = !n && !r && !i && yw(e), a = n || r || i || o, s = a ? eB(e.length, String) : [], l = s.length;
|
|
3653
3653
|
for (var c in e)
|
|
3654
3654
|
(t || MB.call(e, c)) && !(a && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
3655
3655
|
(c == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
@@ -3684,7 +3684,7 @@ function zB(e) {
|
|
|
3684
3684
|
}
|
|
3685
3685
|
var FB = Object.prototype, BB = FB.hasOwnProperty;
|
|
3686
3686
|
function VB(e) {
|
|
3687
|
-
if (!
|
|
3687
|
+
if (!Rn(e))
|
|
3688
3688
|
return zB(e);
|
|
3689
3689
|
var t = mw(e), n = [];
|
|
3690
3690
|
for (var r in e)
|
|
@@ -3696,7 +3696,7 @@ function LP(e) {
|
|
|
3696
3696
|
}
|
|
3697
3697
|
var HB = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, qB = /^\w*$/;
|
|
3698
3698
|
function xw(e, t) {
|
|
3699
|
-
if (
|
|
3699
|
+
if (Tn(e))
|
|
3700
3700
|
return !1;
|
|
3701
3701
|
var n = typeof e;
|
|
3702
3702
|
return n == "number" || n == "symbol" || n == "boolean" || e == null || Nf(e) ? !0 : qB.test(e) || !HB.test(e) || t != null && e in Object(t);
|
|
@@ -3853,7 +3853,7 @@ function Sw(e) {
|
|
|
3853
3853
|
return e == null ? "" : NP(e);
|
|
3854
3854
|
}
|
|
3855
3855
|
function Pf(e, t) {
|
|
3856
|
-
return
|
|
3856
|
+
return Tn(e) ? e : xw(e, t) ? [e] : xV(Sw(e));
|
|
3857
3857
|
}
|
|
3858
3858
|
function Lc(e) {
|
|
3859
3859
|
if (typeof e == "string" || Nf(e))
|
|
@@ -3878,7 +3878,7 @@ function DP(e, t) {
|
|
|
3878
3878
|
}
|
|
3879
3879
|
var $_ = gr ? gr.isConcatSpreadable : void 0;
|
|
3880
3880
|
function SV(e) {
|
|
3881
|
-
return
|
|
3881
|
+
return Tn(e) || Ql(e) || !!($_ && e && e[$_]);
|
|
3882
3882
|
}
|
|
3883
3883
|
function _V(e, t, n, r, i) {
|
|
3884
3884
|
var o = -1, a = e.length;
|
|
@@ -3998,7 +3998,7 @@ var hH = Object.prototype, pH = hH.propertyIsEnumerable, F_ = Object.getOwnPrope
|
|
|
3998
3998
|
} : fH;
|
|
3999
3999
|
function mH(e, t, n) {
|
|
4000
4000
|
var r = t(e);
|
|
4001
|
-
return
|
|
4001
|
+
return Tn(e) ? r : DP(r, n(e));
|
|
4002
4002
|
}
|
|
4003
4003
|
function rb(e) {
|
|
4004
4004
|
return mH(e, bw, gH);
|
|
@@ -4100,9 +4100,9 @@ function dd(e, t, n, r, i, o) {
|
|
|
4100
4100
|
var a, s = t & n7;
|
|
4101
4101
|
if (a !== void 0)
|
|
4102
4102
|
return a;
|
|
4103
|
-
if (!
|
|
4103
|
+
if (!Rn(e))
|
|
4104
4104
|
return e;
|
|
4105
|
-
var l =
|
|
4105
|
+
var l = Tn(e);
|
|
4106
4106
|
if (l)
|
|
4107
4107
|
a = EH(e);
|
|
4108
4108
|
else {
|
|
@@ -4274,7 +4274,7 @@ function e9(e, t, n, r, i, o) {
|
|
|
4274
4274
|
}
|
|
4275
4275
|
var t9 = 1, Q_ = "[object Arguments]", Z_ = "[object Array]", vu = "[object Object]", n9 = Object.prototype, eC = n9.hasOwnProperty;
|
|
4276
4276
|
function r9(e, t, n, r, i, o) {
|
|
4277
|
-
var a =
|
|
4277
|
+
var a = Tn(e), s = Tn(t), l = a ? Z_ : Rr(e), c = s ? Z_ : Rr(t);
|
|
4278
4278
|
l = l == Q_ ? vu : l, c = c == Q_ ? vu : c;
|
|
4279
4279
|
var u = l == vu, d = c == vu, f = l == c;
|
|
4280
4280
|
if (f && Zl(e)) {
|
|
@@ -4321,7 +4321,7 @@ function a9(e, t, n, r) {
|
|
|
4321
4321
|
return !0;
|
|
4322
4322
|
}
|
|
4323
4323
|
function rM(e) {
|
|
4324
|
-
return e === e && !
|
|
4324
|
+
return e === e && !Rn(e);
|
|
4325
4325
|
}
|
|
4326
4326
|
function s9(e) {
|
|
4327
4327
|
for (var t = bw(e), n = t.length; n--; ) {
|
|
@@ -4352,7 +4352,7 @@ function u9(e, t, n) {
|
|
|
4352
4352
|
break;
|
|
4353
4353
|
e = e[a];
|
|
4354
4354
|
}
|
|
4355
|
-
return o || ++r != i ? o : (i = e == null ? 0 : e.length, !!i && gw(i) && Rf(a, i) && (
|
|
4355
|
+
return o || ++r != i ? o : (i = e == null ? 0 : e.length, !!i && gw(i) && Rf(a, i) && (Tn(e) || Ql(e)));
|
|
4356
4356
|
}
|
|
4357
4357
|
function oM(e, t) {
|
|
4358
4358
|
return e != null && u9(e, t, c9);
|
|
@@ -4378,7 +4378,7 @@ function m9(e) {
|
|
|
4378
4378
|
return xw(e) ? p9(Lc(e)) : g9(e);
|
|
4379
4379
|
}
|
|
4380
4380
|
function v9(e) {
|
|
4381
|
-
return typeof e == "function" ? e : e == null ? Tf : typeof e == "object" ?
|
|
4381
|
+
return typeof e == "function" ? e : e == null ? Tf : typeof e == "object" ? Tn(e) ? h9(e[0], e[1]) : l9(e) : m9(e);
|
|
4382
4382
|
}
|
|
4383
4383
|
function y9(e) {
|
|
4384
4384
|
return function(t, n, r) {
|
|
@@ -4412,7 +4412,7 @@ function Mf(e, t, n) {
|
|
|
4412
4412
|
var r, i, o, a, s, l, c = 0, u = !1, d = !1, f = !0;
|
|
4413
4413
|
if (typeof e != "function")
|
|
4414
4414
|
throw new TypeError(w9);
|
|
4415
|
-
t = N_(t) || 0,
|
|
4415
|
+
t = N_(t) || 0, Rn(n) && (u = !!n.leading, d = "maxWait" in n, o = d ? S9(N_(n.maxWait) || 0, t) : o, f = "trailing" in n ? !!n.trailing : f);
|
|
4416
4416
|
function h(C) {
|
|
4417
4417
|
var k = r, _ = i;
|
|
4418
4418
|
return r = i = void 0, c = C, a = e.apply(_, k), a;
|
|
@@ -4476,14 +4476,14 @@ function k9(e, t, n, r, i, o, a) {
|
|
|
4476
4476
|
}
|
|
4477
4477
|
var u = o ? o(s, l, n + "", e, t, a) : void 0, d = u === void 0;
|
|
4478
4478
|
if (d) {
|
|
4479
|
-
var f =
|
|
4480
|
-
u = l, f || h || p ?
|
|
4479
|
+
var f = Tn(l), h = !f && Zl(l), p = !f && !h && yw(l);
|
|
4480
|
+
u = l, f || h || p ? Tn(s) ? u = s : C9(s) ? u = LF(s) : h ? (d = !1, u = YP(l, !0)) : p ? (d = !1, u = JP(l, !0)) : u = [] : Rs(l) || Ql(l) ? (u = s, Ql(s) ? u = E9(s) : (!Rn(s) || fw(s)) && (u = QP(l))) : d = !1;
|
|
4481
4481
|
}
|
|
4482
4482
|
d && (a.set(l, u), i(u, l, r, o, a), a.delete(l)), sb(e, n, u);
|
|
4483
4483
|
}
|
|
4484
4484
|
function lM(e, t, n, r, i) {
|
|
4485
4485
|
e !== t && aM(t, function(o, a) {
|
|
4486
|
-
if (i || (i = new Lr()),
|
|
4486
|
+
if (i || (i = new Lr()), Rn(o))
|
|
4487
4487
|
k9(e, t, a, n, lM, r, i);
|
|
4488
4488
|
else {
|
|
4489
4489
|
var s = r ? r(lb(e, a), o, a + "", e, t, i) : void 0;
|
|
@@ -4495,7 +4495,7 @@ function O9(e) {
|
|
|
4495
4495
|
return typeof e == "function" ? e : Tf;
|
|
4496
4496
|
}
|
|
4497
4497
|
function N9(e, t) {
|
|
4498
|
-
var n =
|
|
4498
|
+
var n = Tn(e) ? RP : sM;
|
|
4499
4499
|
return n(e, O9(t));
|
|
4500
4500
|
}
|
|
4501
4501
|
function T9(e, t) {
|
|
@@ -4505,17 +4505,17 @@ function T9(e, t) {
|
|
|
4505
4505
|
}), r;
|
|
4506
4506
|
}
|
|
4507
4507
|
function Jo(e, t) {
|
|
4508
|
-
var n =
|
|
4508
|
+
var n = Tn(e) ? OP : T9;
|
|
4509
4509
|
return n(e, v9(t));
|
|
4510
4510
|
}
|
|
4511
4511
|
function tC(e) {
|
|
4512
4512
|
return e === void 0;
|
|
4513
4513
|
}
|
|
4514
|
-
var
|
|
4514
|
+
var Bn = QF(function(e, t, n) {
|
|
4515
4515
|
lM(e, t, n);
|
|
4516
4516
|
});
|
|
4517
4517
|
function R9(e, t, n, r) {
|
|
4518
|
-
if (!
|
|
4518
|
+
if (!Rn(e))
|
|
4519
4519
|
return e;
|
|
4520
4520
|
t = Pf(t, e);
|
|
4521
4521
|
for (var i = -1, o = t.length, a = o - 1, s = e; s != null && ++i < o; ) {
|
|
@@ -4524,7 +4524,7 @@ function R9(e, t, n, r) {
|
|
|
4524
4524
|
return e;
|
|
4525
4525
|
if (i != a) {
|
|
4526
4526
|
var u = s[l];
|
|
4527
|
-
c = void 0, c === void 0 && (c =
|
|
4527
|
+
c = void 0, c === void 0 && (c = Rn(u) ? u : Rf(t[i + 1]) ? [] : {});
|
|
4528
4528
|
}
|
|
4529
4529
|
pw(s, l, c), s = s[l];
|
|
4530
4530
|
}
|
|
@@ -4549,13 +4549,13 @@ function M9(e, t, n) {
|
|
|
4549
4549
|
var r = !0, i = !0;
|
|
4550
4550
|
if (typeof e != "function")
|
|
4551
4551
|
throw new TypeError(P9);
|
|
4552
|
-
return
|
|
4552
|
+
return Rn(n) && (r = "leading" in n ? !!n.leading : r, i = "trailing" in n ? !!n.trailing : i), Mf(e, t, {
|
|
4553
4553
|
leading: r,
|
|
4554
4554
|
maxWait: t,
|
|
4555
4555
|
trailing: i
|
|
4556
4556
|
});
|
|
4557
4557
|
}
|
|
4558
|
-
const io = 0, ae = 1, Re = 2, qt = 3, st = 4, Xr = 5, If = 6, Sn = 7,
|
|
4558
|
+
const io = 0, ae = 1, Re = 2, qt = 3, st = 4, Xr = 5, If = 6, Sn = 7, Pn = 8, De = 9, Ce = 10, Et = 11, $e = 12, kt = 13, zc = 14, Mn = 15, _n = 16, Cn = 17, Vn = 18, xr = 19, qr = 20, We = 21, _e = 22, fn = 23, mr = 24, dn = 25, I9 = 0;
|
|
4559
4559
|
function un(e) {
|
|
4560
4560
|
return e >= 48 && e <= 57;
|
|
4561
4561
|
}
|
|
@@ -4975,7 +4975,7 @@ function Lf(e, t) {
|
|
|
4975
4975
|
c < e.length && c++;
|
|
4976
4976
|
return;
|
|
4977
4977
|
}
|
|
4978
|
-
c = yp(e, c), u =
|
|
4978
|
+
c = yp(e, c), u = Pn;
|
|
4979
4979
|
return;
|
|
4980
4980
|
// U+0022 QUOTATION MARK (")
|
|
4981
4981
|
// U+0027 APOSTROPHE (')
|
|
@@ -4985,7 +4985,7 @@ function Lf(e, t) {
|
|
|
4985
4985
|
case 39:
|
|
4986
4986
|
case 40:
|
|
4987
4987
|
case fM:
|
|
4988
|
-
c = yp(e, c), u =
|
|
4988
|
+
c = yp(e, c), u = Pn;
|
|
4989
4989
|
return;
|
|
4990
4990
|
// U+005C REVERSE SOLIDUS (\)
|
|
4991
4991
|
case 92:
|
|
@@ -4993,7 +4993,7 @@ function Lf(e, t) {
|
|
|
4993
4993
|
c = as(e, c) - 1;
|
|
4994
4994
|
break;
|
|
4995
4995
|
}
|
|
4996
|
-
c = yp(e, c), u =
|
|
4996
|
+
c = yp(e, c), u = Pn;
|
|
4997
4997
|
return;
|
|
4998
4998
|
}
|
|
4999
4999
|
}
|
|
@@ -5034,11 +5034,11 @@ function Lf(e, t) {
|
|
|
5034
5034
|
break;
|
|
5035
5035
|
// U+002C COMMA (,)
|
|
5036
5036
|
case 44:
|
|
5037
|
-
u =
|
|
5037
|
+
u = Vn, c++;
|
|
5038
5038
|
break;
|
|
5039
5039
|
// U+002D HYPHEN-MINUS (-)
|
|
5040
5040
|
case 45:
|
|
5041
|
-
gp(d, n(c + 1), n(c + 2)) ? r() : n(c + 1) === 45 && n(c + 2) === 62 ? (u =
|
|
5041
|
+
gp(d, n(c + 1), n(c + 2)) ? r() : n(c + 1) === 45 && n(c + 2) === 62 ? (u = Mn, c = c + 3) : fd(d, n(c + 1), n(c + 2)) ? i() : (u = De, c++);
|
|
5042
5042
|
break;
|
|
5043
5043
|
// U+002E FULL STOP (.)
|
|
5044
5044
|
case 46:
|
|
@@ -6032,76 +6032,76 @@ const oq = 43, aq = 45, kp = (e, t) => {
|
|
|
6032
6032
|
[ae, ae],
|
|
6033
6033
|
[ae, Re],
|
|
6034
6034
|
[ae, Sn],
|
|
6035
|
-
[ae,
|
|
6035
|
+
[ae, Pn],
|
|
6036
6036
|
[ae, "-"],
|
|
6037
6037
|
[ae, Ce],
|
|
6038
6038
|
[ae, Et],
|
|
6039
6039
|
[ae, $e],
|
|
6040
|
-
[ae,
|
|
6040
|
+
[ae, Mn],
|
|
6041
6041
|
[ae, We],
|
|
6042
6042
|
[qt, ae],
|
|
6043
6043
|
[qt, Re],
|
|
6044
6044
|
[qt, Sn],
|
|
6045
|
-
[qt,
|
|
6045
|
+
[qt, Pn],
|
|
6046
6046
|
[qt, "-"],
|
|
6047
6047
|
[qt, Ce],
|
|
6048
6048
|
[qt, Et],
|
|
6049
6049
|
[qt, $e],
|
|
6050
|
-
[qt,
|
|
6050
|
+
[qt, Mn],
|
|
6051
6051
|
[st, ae],
|
|
6052
6052
|
[st, Re],
|
|
6053
6053
|
[st, Sn],
|
|
6054
|
-
[st,
|
|
6054
|
+
[st, Pn],
|
|
6055
6055
|
[st, "-"],
|
|
6056
6056
|
[st, Ce],
|
|
6057
6057
|
[st, Et],
|
|
6058
6058
|
[st, $e],
|
|
6059
|
-
[st,
|
|
6059
|
+
[st, Mn],
|
|
6060
6060
|
[$e, ae],
|
|
6061
6061
|
[$e, Re],
|
|
6062
6062
|
[$e, Sn],
|
|
6063
|
-
[$e,
|
|
6063
|
+
[$e, Pn],
|
|
6064
6064
|
[$e, "-"],
|
|
6065
6065
|
[$e, Ce],
|
|
6066
6066
|
[$e, Et],
|
|
6067
6067
|
[$e, $e],
|
|
6068
|
-
[$e,
|
|
6068
|
+
[$e, Mn],
|
|
6069
6069
|
["#", ae],
|
|
6070
6070
|
["#", Re],
|
|
6071
6071
|
["#", Sn],
|
|
6072
|
-
["#",
|
|
6072
|
+
["#", Pn],
|
|
6073
6073
|
["#", "-"],
|
|
6074
6074
|
["#", Ce],
|
|
6075
6075
|
["#", Et],
|
|
6076
6076
|
["#", $e],
|
|
6077
|
-
["#",
|
|
6077
|
+
["#", Mn],
|
|
6078
6078
|
// https://github.com/w3c/csswg-drafts/pull/6874
|
|
6079
6079
|
["-", ae],
|
|
6080
6080
|
["-", Re],
|
|
6081
6081
|
["-", Sn],
|
|
6082
|
-
["-",
|
|
6082
|
+
["-", Pn],
|
|
6083
6083
|
["-", "-"],
|
|
6084
6084
|
["-", Ce],
|
|
6085
6085
|
["-", Et],
|
|
6086
6086
|
["-", $e],
|
|
6087
|
-
["-",
|
|
6087
|
+
["-", Mn],
|
|
6088
6088
|
// https://github.com/w3c/csswg-drafts/pull/6874
|
|
6089
6089
|
[Ce, ae],
|
|
6090
6090
|
[Ce, Re],
|
|
6091
6091
|
[Ce, Sn],
|
|
6092
|
-
[Ce,
|
|
6092
|
+
[Ce, Pn],
|
|
6093
6093
|
[Ce, Ce],
|
|
6094
6094
|
[Ce, Et],
|
|
6095
6095
|
[Ce, $e],
|
|
6096
6096
|
[Ce, "%"],
|
|
6097
|
-
[Ce,
|
|
6097
|
+
[Ce, Mn],
|
|
6098
6098
|
// https://github.com/w3c/csswg-drafts/pull/6874
|
|
6099
6099
|
["@", ae],
|
|
6100
6100
|
["@", Re],
|
|
6101
6101
|
["@", Sn],
|
|
6102
|
-
["@",
|
|
6102
|
+
["@", Pn],
|
|
6103
6103
|
["@", "-"],
|
|
6104
|
-
["@",
|
|
6104
|
+
["@", Mn],
|
|
6105
6105
|
// https://github.com/w3c/csswg-drafts/pull/6874
|
|
6106
6106
|
[".", Ce],
|
|
6107
6107
|
[".", Et],
|
|
@@ -6134,7 +6134,7 @@ function mM(e) {
|
|
|
6134
6134
|
);
|
|
6135
6135
|
return function(n, r, i) {
|
|
6136
6136
|
const o = kp(r, i), a = i.charCodeAt(0);
|
|
6137
|
-
return (a === aq && r !== ae && r !== Re && r !==
|
|
6137
|
+
return (a === aq && r !== ae && r !== Re && r !== Mn || a === oq ? t.has(n << 16 | a << 8) : t.has(n << 16 | o)) && this.emit(" ", kt, !0), o;
|
|
6138
6138
|
};
|
|
6139
6139
|
}
|
|
6140
6140
|
const lq = mM(gM), vM = mM(sq), xC = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -6755,7 +6755,7 @@ function Lq(e, t) {
|
|
|
6755
6755
|
switch (e.type) {
|
|
6756
6756
|
// ... <bad-string-token>, <bad-url-token>,
|
|
6757
6757
|
case If:
|
|
6758
|
-
case
|
|
6758
|
+
case Pn:
|
|
6759
6759
|
break e;
|
|
6760
6760
|
// ... unmatched <)-token>, <]-token>, or <}-token>,
|
|
6761
6761
|
case mr:
|
|
@@ -6795,7 +6795,7 @@ function Dq(e, t) {
|
|
|
6795
6795
|
switch (e.type) {
|
|
6796
6796
|
// ... does not contain <bad-string-token>, <bad-url-token>,
|
|
6797
6797
|
case If:
|
|
6798
|
-
case
|
|
6798
|
+
case Pn:
|
|
6799
6799
|
break e;
|
|
6800
6800
|
// ... unmatched <)-token>, <]-token>, or <}-token>,
|
|
6801
6801
|
case mr:
|
|
@@ -6863,17 +6863,17 @@ const Vq = {
|
|
|
6863
6863
|
"string-token": it(Xr),
|
|
6864
6864
|
"bad-string-token": it(If),
|
|
6865
6865
|
"url-token": it(Sn),
|
|
6866
|
-
"bad-url-token": it(
|
|
6866
|
+
"bad-url-token": it(Pn),
|
|
6867
6867
|
"delim-token": it(De),
|
|
6868
6868
|
"number-token": it(Ce),
|
|
6869
6869
|
"percentage-token": it(Et),
|
|
6870
6870
|
"dimension-token": it($e),
|
|
6871
6871
|
"whitespace-token": it(kt),
|
|
6872
6872
|
"CDO-token": it(zc),
|
|
6873
|
-
"CDC-token": it(
|
|
6873
|
+
"CDC-token": it(Mn),
|
|
6874
6874
|
"colon-token": it(_n),
|
|
6875
6875
|
"semicolon-token": it(Cn),
|
|
6876
|
-
"comma-token": it(
|
|
6876
|
+
"comma-token": it(Vn),
|
|
6877
6877
|
"[-token": it(xr),
|
|
6878
6878
|
"]-token": it(qr),
|
|
6879
6879
|
"(-token": it(We),
|
|
@@ -7687,7 +7687,7 @@ function MU(e) {
|
|
|
7687
7687
|
return e.type !== De ? !1 : e.value !== "?";
|
|
7688
7688
|
}
|
|
7689
7689
|
function BC(e) {
|
|
7690
|
-
return e === null ? !0 : e.type ===
|
|
7690
|
+
return e === null ? !0 : e.type === Vn || e.type === Re || e.type === We || e.type === xr || e.type === fn || MU(e);
|
|
7691
7691
|
}
|
|
7692
7692
|
function VC(e) {
|
|
7693
7693
|
return e === null ? !0 : e.type === _e || e.type === qr || e.type === mr || e.type === De && e.value === "/";
|
|
@@ -7904,7 +7904,7 @@ function IU(e, t, n) {
|
|
|
7904
7904
|
t = tt;
|
|
7905
7905
|
break;
|
|
7906
7906
|
case "Comma":
|
|
7907
|
-
v !== null && v.type ===
|
|
7907
|
+
v !== null && v.type === Vn ? BC(b.token) ? t = tt : (l(), t = VC(v) ? tt : Ge) : t = BC(b.token) || VC(v) ? Ge : tt;
|
|
7908
7908
|
break;
|
|
7909
7909
|
case "String":
|
|
7910
7910
|
let S = "", C = y;
|
|
@@ -9818,11 +9818,11 @@ const GU = (e) => $M(yb({}, e)), WU = {
|
|
|
9818
9818
|
descriptors: null
|
|
9819
9819
|
}
|
|
9820
9820
|
}
|
|
9821
|
-
}, si = 43,
|
|
9821
|
+
}, si = 43, Kn = 45, pd = 110, Eo = !0, KU = !1;
|
|
9822
9822
|
function gd(e, t) {
|
|
9823
9823
|
let n = this.tokenStart + e;
|
|
9824
9824
|
const r = this.charCodeAt(n);
|
|
9825
|
-
for ((r === si || r ===
|
|
9825
|
+
for ((r === si || r === Kn) && (t && this.error("Number sign is not allowed"), n++); n < this.tokenEnd; n++)
|
|
9826
9826
|
un(this.charCodeAt(n)) || this.error("Integer is expected", n);
|
|
9827
9827
|
}
|
|
9828
9828
|
function Va(e) {
|
|
@@ -9835,7 +9835,7 @@ function Xi(e, t) {
|
|
|
9835
9835
|
case pd:
|
|
9836
9836
|
n = "N is expected";
|
|
9837
9837
|
break;
|
|
9838
|
-
case
|
|
9838
|
+
case Kn:
|
|
9839
9839
|
n = "HyphenMinus is expected";
|
|
9840
9840
|
break;
|
|
9841
9841
|
}
|
|
@@ -9847,15 +9847,15 @@ function Mp() {
|
|
|
9847
9847
|
for (; n === kt || n === dn; )
|
|
9848
9848
|
n = this.lookupType(++e);
|
|
9849
9849
|
if (n !== Ce)
|
|
9850
|
-
if (this.isDelim(si, e) || this.isDelim(
|
|
9851
|
-
t = this.isDelim(si, e) ? si :
|
|
9850
|
+
if (this.isDelim(si, e) || this.isDelim(Kn, e)) {
|
|
9851
|
+
t = this.isDelim(si, e) ? si : Kn;
|
|
9852
9852
|
do
|
|
9853
9853
|
n = this.lookupType(++e);
|
|
9854
9854
|
while (n === kt || n === dn);
|
|
9855
9855
|
n !== Ce && (this.skip(e), Va.call(this, Eo));
|
|
9856
9856
|
} else
|
|
9857
9857
|
return null;
|
|
9858
|
-
return e > 0 && this.skip(e), t === 0 && (n = this.charCodeAt(this.tokenStart), n !== si && n !==
|
|
9858
|
+
return e > 0 && this.skip(e), t === 0 && (n = this.charCodeAt(this.tokenStart), n !== si && n !== Kn && this.error("Number sign is expected")), Va.call(this, t !== 0), t === Kn ? "-" + this.consume(Ce) : this.consume(Ce);
|
|
9859
9859
|
}
|
|
9860
9860
|
const XU = "AnPlusB", YU = {
|
|
9861
9861
|
a: [String, null],
|
|
@@ -9866,7 +9866,7 @@ function LM() {
|
|
|
9866
9866
|
let t = null, n = null;
|
|
9867
9867
|
if (this.tokenType === Ce)
|
|
9868
9868
|
Va.call(this, KU), n = this.consume(Ce);
|
|
9869
|
-
else if (this.tokenType === ae && this.cmpChar(this.tokenStart,
|
|
9869
|
+
else if (this.tokenType === ae && this.cmpChar(this.tokenStart, Kn))
|
|
9870
9870
|
switch (t = "-1", Xi.call(this, 1, pd), this.tokenEnd - this.tokenStart) {
|
|
9871
9871
|
// -n
|
|
9872
9872
|
// -n <signed-integer>
|
|
@@ -9876,11 +9876,11 @@ function LM() {
|
|
|
9876
9876
|
break;
|
|
9877
9877
|
// -n- <signless-integer>
|
|
9878
9878
|
case 3:
|
|
9879
|
-
Xi.call(this, 2,
|
|
9879
|
+
Xi.call(this, 2, Kn), this.next(), this.skipSC(), Va.call(this, Eo), n = "-" + this.consume(Ce);
|
|
9880
9880
|
break;
|
|
9881
9881
|
// <dashndashdigit-ident>
|
|
9882
9882
|
default:
|
|
9883
|
-
Xi.call(this, 2,
|
|
9883
|
+
Xi.call(this, 2, Kn), gd.call(this, 3, Eo), this.next(), n = this.substrToCursor(e + 2);
|
|
9884
9884
|
}
|
|
9885
9885
|
else if (this.tokenType === ae || this.isDelim(si) && this.lookupType(1) === ae) {
|
|
9886
9886
|
let r = 0;
|
|
@@ -9893,18 +9893,18 @@ function LM() {
|
|
|
9893
9893
|
break;
|
|
9894
9894
|
// '+'? n- <signless-integer>
|
|
9895
9895
|
case 2:
|
|
9896
|
-
Xi.call(this, 1,
|
|
9896
|
+
Xi.call(this, 1, Kn), this.next(), this.skipSC(), Va.call(this, Eo), n = "-" + this.consume(Ce);
|
|
9897
9897
|
break;
|
|
9898
9898
|
// '+'? <ndashdigit-ident>
|
|
9899
9899
|
default:
|
|
9900
|
-
Xi.call(this, 1,
|
|
9900
|
+
Xi.call(this, 1, Kn), gd.call(this, 2, Eo), this.next(), n = this.substrToCursor(e + r + 1);
|
|
9901
9901
|
}
|
|
9902
9902
|
} else if (this.tokenType === $e) {
|
|
9903
|
-
const r = this.charCodeAt(this.tokenStart), i = r === si || r ===
|
|
9903
|
+
const r = this.charCodeAt(this.tokenStart), i = r === si || r === Kn;
|
|
9904
9904
|
let o = this.tokenStart + i;
|
|
9905
9905
|
for (; o < this.tokenEnd && un(this.charCodeAt(o)); o++)
|
|
9906
9906
|
;
|
|
9907
|
-
o === this.tokenStart + i && this.error("Integer is expected", this.tokenStart + i), Xi.call(this, o - this.tokenStart, pd), t = this.substring(e, o), o + 1 === this.tokenEnd ? (this.next(), n = Mp.call(this)) : (Xi.call(this, o - this.tokenStart + 1,
|
|
9907
|
+
o === this.tokenStart + i && this.error("Integer is expected", this.tokenStart + i), Xi.call(this, o - this.tokenStart, pd), t = this.substring(e, o), o + 1 === this.tokenEnd ? (this.next(), n = Mp.call(this)) : (Xi.call(this, o - this.tokenStart + 1, Kn), o + 2 === this.tokenEnd ? (this.next(), this.skipSC(), Va.call(this, Eo), n = "-" + this.consume(Ce)) : (gd.call(this, o - this.tokenStart + 2, Eo), this.next(), n = this.substrToCursor(o + 1)));
|
|
9908
9908
|
} else
|
|
9909
9909
|
this.error();
|
|
9910
9910
|
return t !== null && t.charCodeAt(0) === si && (t = t.substr(1)), n !== null && n.charCodeAt(0) === si && (n = n.substr(1)), {
|
|
@@ -10130,13 +10130,13 @@ const TG = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
10130
10130
|
}, Symbol.toStringTag, { value: "Module" })), RG = "CDC", AG = [];
|
|
10131
10131
|
function UM() {
|
|
10132
10132
|
const e = this.tokenStart;
|
|
10133
|
-
return this.eat(
|
|
10133
|
+
return this.eat(Mn), {
|
|
10134
10134
|
type: "CDC",
|
|
10135
10135
|
loc: this.getLocation(e, this.tokenStart)
|
|
10136
10136
|
};
|
|
10137
10137
|
}
|
|
10138
10138
|
function jG() {
|
|
10139
|
-
this.token(
|
|
10139
|
+
this.token(Mn, "-->");
|
|
10140
10140
|
}
|
|
10141
10141
|
const PG = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
10142
10142
|
__proto__: null,
|
|
@@ -10751,7 +10751,7 @@ const xK = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
10751
10751
|
};
|
|
10752
10752
|
function uI() {
|
|
10753
10753
|
const e = this.createList();
|
|
10754
|
-
for (this.skipSC(); !this.eof && (e.push(this.Layer()), this.lookupTypeNonSC(0) ===
|
|
10754
|
+
for (this.skipSC(); !this.eof && (e.push(this.Layer()), this.lookupTypeNonSC(0) === Vn); )
|
|
10755
10755
|
this.skipSC(), this.next(), this.skipSC();
|
|
10756
10756
|
return {
|
|
10757
10757
|
type: "LayerList",
|
|
@@ -10760,7 +10760,7 @@ function uI() {
|
|
|
10760
10760
|
};
|
|
10761
10761
|
}
|
|
10762
10762
|
function _K(e) {
|
|
10763
|
-
this.children(e, () => this.token(
|
|
10763
|
+
this.children(e, () => this.token(Vn, ","));
|
|
10764
10764
|
}
|
|
10765
10765
|
const CK = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
10766
10766
|
__proto__: null,
|
|
@@ -10785,7 +10785,7 @@ function dI() {
|
|
|
10785
10785
|
}
|
|
10786
10786
|
case fn:
|
|
10787
10787
|
case Cn:
|
|
10788
|
-
case
|
|
10788
|
+
case Vn:
|
|
10789
10789
|
case io:
|
|
10790
10790
|
break;
|
|
10791
10791
|
default:
|
|
@@ -10830,7 +10830,7 @@ const NK = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
10830
10830
|
};
|
|
10831
10831
|
function fI() {
|
|
10832
10832
|
const e = this.createList();
|
|
10833
|
-
for (this.skipSC(); !this.eof && (e.push(this.MediaQuery()), this.tokenType ===
|
|
10833
|
+
for (this.skipSC(); !this.eof && (e.push(this.MediaQuery()), this.tokenType === Vn); )
|
|
10834
10834
|
this.next();
|
|
10835
10835
|
return {
|
|
10836
10836
|
type: "MediaQueryList",
|
|
@@ -10839,7 +10839,7 @@ function fI() {
|
|
|
10839
10839
|
};
|
|
10840
10840
|
}
|
|
10841
10841
|
function AK(e) {
|
|
10842
|
-
this.children(e, () => this.token(
|
|
10842
|
+
this.children(e, () => this.token(Vn, ","));
|
|
10843
10843
|
}
|
|
10844
10844
|
const jK = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
10845
10845
|
__proto__: null,
|
|
@@ -11177,7 +11177,7 @@ const $X = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
11177
11177
|
function kI() {
|
|
11178
11178
|
const e = this.createList();
|
|
11179
11179
|
for (; !this.eof; ) {
|
|
11180
|
-
if (e.push(this.Selector()), this.tokenType ===
|
|
11180
|
+
if (e.push(this.Selector()), this.tokenType === Vn) {
|
|
11181
11181
|
this.next();
|
|
11182
11182
|
continue;
|
|
11183
11183
|
}
|
|
@@ -11190,7 +11190,7 @@ function kI() {
|
|
|
11190
11190
|
};
|
|
11191
11191
|
}
|
|
11192
11192
|
function FX(e) {
|
|
11193
|
-
this.children(e, () => this.token(
|
|
11193
|
+
this.children(e, () => this.token(Vn, ","));
|
|
11194
11194
|
}
|
|
11195
11195
|
const BX = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
11196
11196
|
__proto__: null,
|
|
@@ -11288,7 +11288,7 @@ function RI() {
|
|
|
11288
11288
|
case zc:
|
|
11289
11289
|
n = this.CDO();
|
|
11290
11290
|
break;
|
|
11291
|
-
case
|
|
11291
|
+
case Mn:
|
|
11292
11292
|
n = this.CDC();
|
|
11293
11293
|
break;
|
|
11294
11294
|
// CSS Syntax Module Level 3
|
|
@@ -11607,7 +11607,7 @@ function BI(e) {
|
|
|
11607
11607
|
switch (this.tokenType) {
|
|
11608
11608
|
case st:
|
|
11609
11609
|
return this.Hash();
|
|
11610
|
-
case
|
|
11610
|
+
case Vn:
|
|
11611
11611
|
return this.Operator();
|
|
11612
11612
|
case We:
|
|
11613
11613
|
return this.Parentheses(this.readSequence, e.recognizer);
|
|
@@ -11695,7 +11695,7 @@ function QY() {
|
|
|
11695
11695
|
}
|
|
11696
11696
|
function ZY() {
|
|
11697
11697
|
const e = this.createList();
|
|
11698
|
-
if (this.skipSC(), e.push(this.Identifier()), this.skipSC(), this.tokenType ===
|
|
11698
|
+
if (this.skipSC(), e.push(this.Identifier()), this.skipSC(), this.tokenType === Vn) {
|
|
11699
11699
|
e.push(this.Operator());
|
|
11700
11700
|
const t = this.tokenIndex, n = this.parseCustomProperty ? this.Value(null) : this.Raw(this.consumeUntilExclamationMarkOrSemicolon, !1);
|
|
11701
11701
|
if (n.type === "Value" && n.children.isEmpty) {
|
|
@@ -11892,7 +11892,7 @@ function pJ() {
|
|
|
11892
11892
|
case Xr:
|
|
11893
11893
|
e.push(this.String());
|
|
11894
11894
|
break;
|
|
11895
|
-
case
|
|
11895
|
+
case Vn:
|
|
11896
11896
|
e.push(this.Operator());
|
|
11897
11897
|
break;
|
|
11898
11898
|
case _e:
|
|
@@ -13545,7 +13545,7 @@ function bre(e) {
|
|
|
13545
13545
|
return _$(C$(e, void 0, yre), e + "");
|
|
13546
13546
|
}
|
|
13547
13547
|
var i1 = R$(Object.getPrototypeOf, Object), xre = "[object Object]", wre = Function.prototype, Sre = Object.prototype, P$ = wre.toString, _re = Sre.hasOwnProperty, Cre = P$.call(Object);
|
|
13548
|
-
function
|
|
13548
|
+
function zn(e) {
|
|
13549
13549
|
if (!fi(e) || Zo(e) != xre)
|
|
13550
13550
|
return !1;
|
|
13551
13551
|
var t = i1(e);
|
|
@@ -14055,7 +14055,7 @@ function Uoe(e, t, n, r, i, o, a) {
|
|
|
14055
14055
|
var u = o ? o(s, l, n + "", e, t, a) : void 0, d = u === void 0;
|
|
14056
14056
|
if (d) {
|
|
14057
14057
|
var f = zt(l), h = !f && lc(l), p = !f && !h && e1(l);
|
|
14058
|
-
u = l, f || h || p ? zt(s) ? u = s : Pb(s) ? u = S$(s) : h ? (d = !1, u = I$(l, !0)) : p ? (d = !1, u = z$(l, !0)) : u = [] :
|
|
14058
|
+
u = l, f || h || p ? zt(s) ? u = s : Pb(s) ? u = S$(s) : h ? (d = !1, u = I$(l, !0)) : p ? (d = !1, u = z$(l, !0)) : u = [] : zn(l) || sc(l) ? (u = s, sc(s) ? u = qoe(s) : (!Ur(s) || Kw(s)) && (u = F$(l))) : d = !1;
|
|
14059
14059
|
}
|
|
14060
14060
|
d && (a.set(l, u), i(u, l, r, o, a), a.delete(l)), jb(e, n, u);
|
|
14061
14061
|
}
|
|
@@ -14101,7 +14101,7 @@ function Xoe(e, t) {
|
|
|
14101
14101
|
return t = Ls(t, e), e = Goe(e, t), e == null || delete e[Ds(Y$(t))];
|
|
14102
14102
|
}
|
|
14103
14103
|
function Yoe(e) {
|
|
14104
|
-
return
|
|
14104
|
+
return zn(e) ? void 0 : e;
|
|
14105
14105
|
}
|
|
14106
14106
|
var Joe = 1, Qoe = 2, Zoe = 4, Q$ = bre(function(e, t) {
|
|
14107
14107
|
var n = {};
|
|
@@ -14446,7 +14446,7 @@ function Ib(e) {
|
|
|
14446
14446
|
function nL() {
|
|
14447
14447
|
return yo("func", (e) => typeof e == "function" || `Expected a function, but received: ${er(e)}`);
|
|
14448
14448
|
}
|
|
14449
|
-
function
|
|
14449
|
+
function Jn(e) {
|
|
14450
14450
|
const t = er(e), n = typeof e;
|
|
14451
14451
|
return new gi({
|
|
14452
14452
|
type: "literal",
|
|
@@ -14527,7 +14527,7 @@ function iL(e) {
|
|
|
14527
14527
|
}
|
|
14528
14528
|
});
|
|
14529
14529
|
}
|
|
14530
|
-
function
|
|
14530
|
+
function Qn(e) {
|
|
14531
14531
|
const t = e.map((n) => n.type).join(" | ");
|
|
14532
14532
|
return new gi({
|
|
14533
14533
|
type: "union",
|
|
@@ -14576,29 +14576,29 @@ const h1 = Qe({
|
|
|
14576
14576
|
"CText",
|
|
14577
14577
|
"CNativeTag"
|
|
14578
14578
|
];
|
|
14579
|
-
var
|
|
14580
|
-
const bae = () => yo("normalObj", (e) => !
|
|
14579
|
+
var $n = /* @__PURE__ */ ((e) => (e.SLOT = "SLOT", e.FUNCTION = "FUNCTION", e.EXPRESSION = "EXPRESSION", e.ACTION = "ACTION", e.EVENT = "EVENT", e))($n || {}), p1 = /* @__PURE__ */ ((e) => (e.DESIGN = "design", e.SAVE = "save", e))(p1 || {}), $b = /* @__PURE__ */ ((e) => (e.FUNC = "FUNC", e.COMP = "COMP", e))($b || {});
|
|
14580
|
+
const bae = () => yo("normalObj", (e) => !zn(e) || [$n.SLOT, $n.EXPRESSION, $n.FUNCTION].includes(e == null ? void 0 : e.type) ? !1 : (zs(e, Ll(fe(), g1)), !0)), g1 = Qn([
|
|
14581
14581
|
fe(),
|
|
14582
14582
|
rL(),
|
|
14583
14583
|
Vo(),
|
|
14584
14584
|
Qe({
|
|
14585
|
-
type:
|
|
14585
|
+
type: Jn($n.SLOT),
|
|
14586
14586
|
renderType: Ib([$b.FUNC, $b.COMP]),
|
|
14587
14587
|
// if renderType is Func, params will be useful
|
|
14588
14588
|
params: ue(mt(fe())),
|
|
14589
14589
|
// here can't use PropsDataStructDescribe, it will caused "Maximum call stack size exceeded" error
|
|
14590
|
-
value: us(() =>
|
|
14590
|
+
value: us(() => Qn([ds, mt(ds)]))
|
|
14591
14591
|
}),
|
|
14592
14592
|
Qe({
|
|
14593
|
-
type:
|
|
14593
|
+
type: Jn($n.EXPRESSION),
|
|
14594
14594
|
value: fe()
|
|
14595
14595
|
}),
|
|
14596
14596
|
Qe({
|
|
14597
|
-
type:
|
|
14597
|
+
type: Jn($n.FUNCTION),
|
|
14598
14598
|
value: fe()
|
|
14599
14599
|
}),
|
|
14600
14600
|
Qe({
|
|
14601
|
-
type:
|
|
14601
|
+
type: Jn($n.ACTION),
|
|
14602
14602
|
/** 暂时不做规则强检验 */
|
|
14603
14603
|
handler: Ze()
|
|
14604
14604
|
}),
|
|
@@ -14609,7 +14609,7 @@ const bae = () => yo("normalObj", (e) => !Bn(e) || [Ln.SLOT, Ln.EXPRESSION, Ln.F
|
|
|
14609
14609
|
]);
|
|
14610
14610
|
var oL = /* @__PURE__ */ ((e) => (e.COMPONENTS = "COMPONENTS", e))(oL || {});
|
|
14611
14611
|
const sk = Qe({
|
|
14612
|
-
type:
|
|
14612
|
+
type: Jn($n.EXPRESSION),
|
|
14613
14613
|
value: fe()
|
|
14614
14614
|
}), ds = Qe({
|
|
14615
14615
|
id: ue(fe()),
|
|
@@ -14618,7 +14618,7 @@ const sk = Qe({
|
|
|
14618
14618
|
props: ue(Ll(fe(), g1)),
|
|
14619
14619
|
nodeName: ue(fe()),
|
|
14620
14620
|
state: ue(Ll(fe(), Ze())),
|
|
14621
|
-
children: us(() => ue(mt(
|
|
14621
|
+
children: us(() => ue(mt(Qn([fe(), ds])))),
|
|
14622
14622
|
eventListener: ue(mt(Ze())),
|
|
14623
14623
|
configure: ue(Ze()),
|
|
14624
14624
|
css: ue(Ze()),
|
|
@@ -14626,11 +14626,11 @@ const sk = Qe({
|
|
|
14626
14626
|
classNames: ue(mt(Ze())),
|
|
14627
14627
|
refId: ue(fe()),
|
|
14628
14628
|
extra: ue(Ll(Ze(), Ze())),
|
|
14629
|
-
condition: ue(
|
|
14629
|
+
condition: ue(Qn([Vo(), sk])),
|
|
14630
14630
|
loop: ue(
|
|
14631
14631
|
Qe({
|
|
14632
14632
|
open: Vo(),
|
|
14633
|
-
data:
|
|
14633
|
+
data: Qn([mt(Ze()), sk]),
|
|
14634
14634
|
args: ue(mt(fe())),
|
|
14635
14635
|
forName: ue(fe()),
|
|
14636
14636
|
forIndex: ue(fe()),
|
|
@@ -14640,14 +14640,14 @@ const sk = Qe({
|
|
|
14640
14640
|
),
|
|
14641
14641
|
injectEnvList: ue(mt(Ze())),
|
|
14642
14642
|
methods: ue(mt(Ze()))
|
|
14643
|
-
}), Gd =
|
|
14643
|
+
}), Gd = Qn([
|
|
14644
14644
|
fe(),
|
|
14645
14645
|
Qe({
|
|
14646
14646
|
label: fe(),
|
|
14647
14647
|
tip: ue(fe())
|
|
14648
14648
|
})
|
|
14649
14649
|
]), xae = Qe({
|
|
14650
|
-
type:
|
|
14650
|
+
type: Jn(
|
|
14651
14651
|
"shape"
|
|
14652
14652
|
/* SHAPE */
|
|
14653
14653
|
),
|
|
@@ -14659,26 +14659,26 @@ const sk = Qe({
|
|
|
14659
14659
|
})
|
|
14660
14660
|
)
|
|
14661
14661
|
}), wae = Qe({
|
|
14662
|
-
type:
|
|
14662
|
+
type: Jn(
|
|
14663
14663
|
"enums"
|
|
14664
14664
|
/* ENUMS */
|
|
14665
14665
|
),
|
|
14666
14666
|
value: mt(fe())
|
|
14667
14667
|
});
|
|
14668
14668
|
Qe({
|
|
14669
|
-
type:
|
|
14669
|
+
type: Jn(
|
|
14670
14670
|
"array"
|
|
14671
14671
|
/* ARRAY */
|
|
14672
14672
|
),
|
|
14673
14673
|
value: us(() => Yf)
|
|
14674
14674
|
});
|
|
14675
14675
|
const Sae = Qe({
|
|
14676
|
-
type:
|
|
14676
|
+
type: Jn(
|
|
14677
14677
|
"array"
|
|
14678
14678
|
/* ARRAY */
|
|
14679
14679
|
),
|
|
14680
14680
|
value: us(() => mt(Yf))
|
|
14681
|
-
}), Yf =
|
|
14681
|
+
}), Yf = Qn([
|
|
14682
14682
|
Ib([
|
|
14683
14683
|
"array",
|
|
14684
14684
|
"boolean",
|
|
@@ -14696,7 +14696,7 @@ const Sae = Qe({
|
|
|
14696
14696
|
xae,
|
|
14697
14697
|
wae,
|
|
14698
14698
|
Sae
|
|
14699
|
-
]), _ae =
|
|
14699
|
+
]), _ae = Qn([
|
|
14700
14700
|
fe(),
|
|
14701
14701
|
Qe({
|
|
14702
14702
|
componentName: fe(),
|
|
@@ -14717,9 +14717,9 @@ const Sae = Qe({
|
|
|
14717
14717
|
setters: ue(mt(_ae)),
|
|
14718
14718
|
condition: ue(nL())
|
|
14719
14719
|
});
|
|
14720
|
-
|
|
14720
|
+
Qn([fe(), nL()]);
|
|
14721
14721
|
var Lb = /* @__PURE__ */ ((e) => (e.SINGLE = "single", e.GROUP = "group", e))(Lb || {});
|
|
14722
|
-
|
|
14722
|
+
Qn([
|
|
14723
14723
|
fe(),
|
|
14724
14724
|
Qe({
|
|
14725
14725
|
event: fe(),
|
|
@@ -14740,7 +14740,7 @@ zn([
|
|
|
14740
14740
|
const Cae = Qe({
|
|
14741
14741
|
id: ue(fe()),
|
|
14742
14742
|
title: fe(),
|
|
14743
|
-
snapshot:
|
|
14743
|
+
snapshot: Qn([fe(), Ze()]),
|
|
14744
14744
|
snapshotText: ue(fe()),
|
|
14745
14745
|
description: ue(fe()),
|
|
14746
14746
|
// 组件分类,用于搜索
|
|
@@ -14766,11 +14766,11 @@ const Cae = Qe({
|
|
|
14766
14766
|
npm: ue(h1),
|
|
14767
14767
|
snippets: mt(Cae),
|
|
14768
14768
|
props: mt(
|
|
14769
|
-
|
|
14769
|
+
Qn([
|
|
14770
14770
|
Gp,
|
|
14771
14771
|
Qe({
|
|
14772
14772
|
title: ue(Gd),
|
|
14773
|
-
type:
|
|
14773
|
+
type: Jn(
|
|
14774
14774
|
"single"
|
|
14775
14775
|
/* SINGLE */
|
|
14776
14776
|
),
|
|
@@ -14778,7 +14778,7 @@ const Cae = Qe({
|
|
|
14778
14778
|
}),
|
|
14779
14779
|
Qe({
|
|
14780
14780
|
title: ue(Gd),
|
|
14781
|
-
type:
|
|
14781
|
+
type: Jn(
|
|
14782
14782
|
"group"
|
|
14783
14783
|
/* GROUP */
|
|
14784
14784
|
),
|
|
@@ -14791,7 +14791,7 @@ const Cae = Qe({
|
|
|
14791
14791
|
fixedProps: ue(Ze()),
|
|
14792
14792
|
// 可以拖入组件
|
|
14793
14793
|
isContainer: ue(
|
|
14794
|
-
|
|
14794
|
+
Qn([
|
|
14795
14795
|
Vo(),
|
|
14796
14796
|
Qe({
|
|
14797
14797
|
placeholder: fe(),
|
|
@@ -14839,12 +14839,12 @@ const Cae = Qe({
|
|
|
14839
14839
|
};
|
|
14840
14840
|
var Fs = /* @__PURE__ */ ((e) => (e.ROOT_CONTAINER = "RootContainer", e))(Fs || {});
|
|
14841
14841
|
const Oae = Qe({
|
|
14842
|
-
type:
|
|
14842
|
+
type: Jn($n.FUNCTION),
|
|
14843
14843
|
value: fe()
|
|
14844
14844
|
}), Nae = f1(
|
|
14845
14845
|
tL(ds, ["componentName"]),
|
|
14846
14846
|
Qe({
|
|
14847
|
-
componentName:
|
|
14847
|
+
componentName: Jn(
|
|
14848
14848
|
"RootContainer"
|
|
14849
14849
|
/* ROOT_CONTAINER */
|
|
14850
14850
|
)
|
|
@@ -14877,7 +14877,7 @@ const Hc = Tae(), Rae = (e, t) => {
|
|
|
14877
14877
|
parent: t,
|
|
14878
14878
|
materials: i
|
|
14879
14879
|
})
|
|
14880
|
-
) :
|
|
14880
|
+
) : zn(r) && n.value.push(
|
|
14881
14881
|
new Dt(r, {
|
|
14882
14882
|
parent: t,
|
|
14883
14883
|
materials: i
|
|
@@ -14897,7 +14897,7 @@ class fs {
|
|
|
14897
14897
|
const n = this.data, r = (i) => {
|
|
14898
14898
|
if (i instanceof Dt)
|
|
14899
14899
|
return i.export(t);
|
|
14900
|
-
if (
|
|
14900
|
+
if (zn(i)) {
|
|
14901
14901
|
const o = {};
|
|
14902
14902
|
return Object.keys(i || {}).forEach((a) => {
|
|
14903
14903
|
o[a] = r(i[a]);
|
|
@@ -14916,14 +14916,14 @@ const aL = (e) => {
|
|
|
14916
14916
|
}), t;
|
|
14917
14917
|
}, Db = (e, t, n) => {
|
|
14918
14918
|
if (e.type)
|
|
14919
|
-
return e.type ===
|
|
14920
|
-
if (
|
|
14919
|
+
return e.type === $n.SLOT ? new fs(e, { parent: t, materials: n }) : e;
|
|
14920
|
+
if (zn(e)) {
|
|
14921
14921
|
const r = {};
|
|
14922
14922
|
return Object.keys(e).forEach((i) => {
|
|
14923
14923
|
r[i] = zb(e[i], t, n);
|
|
14924
14924
|
}), r;
|
|
14925
14925
|
} else return Array.isArray(e) ? e.map((r) => Db(r, t, n)) : e;
|
|
14926
|
-
}, zb = (e, t, n) =>
|
|
14926
|
+
}, zb = (e, t, n) => zn(e) ? Db(e, t, n) : zt(e) ? e.map((r) => Db(r, t, n)) : e;
|
|
14927
14927
|
class ho {
|
|
14928
14928
|
constructor(t, n, r) {
|
|
14929
14929
|
Ae(this, "nodeType", "PROP"), Ae(this, "rawData"), Ae(this, "parent"), Ae(this, "emitter", Hc), Ae(this, "data"), Ae(this, "name"), Ae(this, "materialsMode");
|
|
@@ -14967,7 +14967,7 @@ class ho {
|
|
|
14967
14967
|
return i.export(t);
|
|
14968
14968
|
if (zt(i))
|
|
14969
14969
|
return i.map((o) => r(o));
|
|
14970
|
-
if (
|
|
14970
|
+
if (zn(i)) {
|
|
14971
14971
|
const o = {};
|
|
14972
14972
|
return Object.keys(i || {}).forEach((a) => {
|
|
14973
14973
|
o[a] = r(i[a]);
|
|
@@ -15014,7 +15014,7 @@ const Aae = (e) => {
|
|
|
15014
15014
|
}), e.children && (Array.isArray(e.children) ? r.children = e.children.map((o) => {
|
|
15015
15015
|
if (o instanceof Dt)
|
|
15016
15016
|
return o;
|
|
15017
|
-
if (
|
|
15017
|
+
if (zn(o)) {
|
|
15018
15018
|
const a = o;
|
|
15019
15019
|
return new Dt(a, {
|
|
15020
15020
|
parent: t,
|
|
@@ -15153,7 +15153,7 @@ const ck = (e, t, n) => {
|
|
|
15153
15153
|
injectEnvList: e.injectEnvList
|
|
15154
15154
|
};
|
|
15155
15155
|
let i = [];
|
|
15156
|
-
zt(e.children) ? i = e.children.map((a) => a instanceof Dt ? a :
|
|
15156
|
+
zt(e.children) ? i = e.children.map((a) => a instanceof Dt ? a : zn(a) ? new Dt(a, { parent: t, materials: n }) : a) : e.children instanceof Dt ? i.push(e.children) : e.children && zn(e.children) && i.push(new Dt(e.children, { parent: t, materials: n }));
|
|
15157
15157
|
const o = Object.keys(e.props || {});
|
|
15158
15158
|
return o.length && o.forEach((a) => {
|
|
15159
15159
|
var s;
|
|
@@ -15263,7 +15263,7 @@ class fc {
|
|
|
15263
15263
|
});
|
|
15264
15264
|
}
|
|
15265
15265
|
}
|
|
15266
|
-
const Oo = (e) => (e == null ? void 0 : e.type) ===
|
|
15266
|
+
const Oo = (e) => (e == null ? void 0 : e.type) === $n.EXPRESSION, sL = (e) => (e == null ? void 0 : e.type) === $n.FUNCTION, jae = (e) => (e == null ? void 0 : e.type) === $n.ACTION, mi = () => Math.random().toString(32).slice(3, 9), Pae = (e) => (e == null ? void 0 : e.nodeType) === "NODE", Bb = (e) => (e == null ? void 0 : e.nodeType) === "PROP", Mae = (e) => (e == null ? void 0 : e.nodeType) === "SLOT", v1 = (e) => rae(e, (t) => zn(t) ? !Object.keys(t).length : zt(t) ? !t.length : !t);
|
|
15267
15267
|
function Iae(e, t) {
|
|
15268
15268
|
const n = [e];
|
|
15269
15269
|
for (; n.length; ) {
|
|
@@ -15279,7 +15279,7 @@ function Iae(e, t) {
|
|
|
15279
15279
|
o(s.value);
|
|
15280
15280
|
return;
|
|
15281
15281
|
}
|
|
15282
|
-
if (
|
|
15282
|
+
if (zn(s)) {
|
|
15283
15283
|
const l = s;
|
|
15284
15284
|
Object.keys(l).forEach((c) => {
|
|
15285
15285
|
o(l[c]);
|
|
@@ -15428,14 +15428,6 @@ const zae = Qe({
|
|
|
15428
15428
|
version: ue(fe()),
|
|
15429
15429
|
name: ue(fe()),
|
|
15430
15430
|
css: ue(fe()),
|
|
15431
|
-
renderType: ue(zn([Nn(
|
|
15432
|
-
"COMPONENT"
|
|
15433
|
-
/* COMPONENT */
|
|
15434
|
-
), Nn(
|
|
15435
|
-
"PAGE"
|
|
15436
|
-
/* PAGE */
|
|
15437
|
-
)])),
|
|
15438
|
-
loadType: ue(Ze()),
|
|
15439
15431
|
lifecycle: ue(Ze()),
|
|
15440
15432
|
props: ue(Ze()),
|
|
15441
15433
|
methods: ue(mt(Oae)),
|
|
@@ -15449,7 +15441,8 @@ const zae = Qe({
|
|
|
15449
15441
|
),
|
|
15450
15442
|
thirdLibs: ue(vae),
|
|
15451
15443
|
componentsTree: Nae,
|
|
15452
|
-
assets: ue(mt(Ze()))
|
|
15444
|
+
assets: ue(mt(Ze())),
|
|
15445
|
+
extra: ue(Ze())
|
|
15453
15446
|
}), lL = (e) => (m1({
|
|
15454
15447
|
data: e,
|
|
15455
15448
|
dataStruct: zae,
|
|
@@ -15511,7 +15504,7 @@ let uk = class cL {
|
|
|
15511
15504
|
return n.value.children.unshift(t), t.parent = n, n.updateValue(), !0;
|
|
15512
15505
|
if (r === "CHILD_END")
|
|
15513
15506
|
return n.value.children.push(t), t.parent = n, n.updateValue(), !0;
|
|
15514
|
-
if (
|
|
15507
|
+
if (zn(r)) {
|
|
15515
15508
|
const o = r;
|
|
15516
15509
|
if (o.type === "CHILD") {
|
|
15517
15510
|
const a = o.pos, s = o.index || 0;
|
|
@@ -17261,7 +17254,7 @@ const Cse = async ({ iframe: e }) => {
|
|
|
17261
17254
|
}).onError(() => {
|
|
17262
17255
|
console.log("资源加载出错");
|
|
17263
17256
|
}).load();
|
|
17264
|
-
},
|
|
17257
|
+
}, Un = {
|
|
17265
17258
|
fatal: 0,
|
|
17266
17259
|
error: 0,
|
|
17267
17260
|
warn: 1,
|
|
@@ -17279,49 +17272,49 @@ const Cse = async ({ iframe: e }) => {
|
|
|
17279
17272
|
},
|
|
17280
17273
|
// Level 0
|
|
17281
17274
|
fatal: {
|
|
17282
|
-
level:
|
|
17275
|
+
level: Un.fatal
|
|
17283
17276
|
},
|
|
17284
17277
|
error: {
|
|
17285
|
-
level:
|
|
17278
|
+
level: Un.error
|
|
17286
17279
|
},
|
|
17287
17280
|
// Level 1
|
|
17288
17281
|
warn: {
|
|
17289
|
-
level:
|
|
17282
|
+
level: Un.warn
|
|
17290
17283
|
},
|
|
17291
17284
|
// Level 2
|
|
17292
17285
|
log: {
|
|
17293
|
-
level:
|
|
17286
|
+
level: Un.log
|
|
17294
17287
|
},
|
|
17295
17288
|
// Level 3
|
|
17296
17289
|
info: {
|
|
17297
|
-
level:
|
|
17290
|
+
level: Un.info
|
|
17298
17291
|
},
|
|
17299
17292
|
success: {
|
|
17300
|
-
level:
|
|
17293
|
+
level: Un.success
|
|
17301
17294
|
},
|
|
17302
17295
|
fail: {
|
|
17303
|
-
level:
|
|
17296
|
+
level: Un.fail
|
|
17304
17297
|
},
|
|
17305
17298
|
ready: {
|
|
17306
|
-
level:
|
|
17299
|
+
level: Un.info
|
|
17307
17300
|
},
|
|
17308
17301
|
start: {
|
|
17309
|
-
level:
|
|
17302
|
+
level: Un.info
|
|
17310
17303
|
},
|
|
17311
17304
|
box: {
|
|
17312
|
-
level:
|
|
17305
|
+
level: Un.info
|
|
17313
17306
|
},
|
|
17314
17307
|
// Level 4
|
|
17315
17308
|
debug: {
|
|
17316
|
-
level:
|
|
17309
|
+
level: Un.debug
|
|
17317
17310
|
},
|
|
17318
17311
|
// Level 5
|
|
17319
17312
|
trace: {
|
|
17320
|
-
level:
|
|
17313
|
+
level: Un.trace
|
|
17321
17314
|
},
|
|
17322
17315
|
// Verbose
|
|
17323
17316
|
verbose: {
|
|
17324
|
-
level:
|
|
17317
|
+
level: Un.verbose
|
|
17325
17318
|
}
|
|
17326
17319
|
};
|
|
17327
17320
|
function Xp(e) {
|
|
@@ -17943,7 +17936,7 @@ class Ise extends R.Component {
|
|
|
17943
17936
|
/* @__PURE__ */ w.jsxs("div", { className: nt.pluginHeader, children: [
|
|
17944
17937
|
/* @__PURE__ */ w.jsx("span", { className: nt.pluginNameText, children: (y == null ? void 0 : y.title) || (y == null ? void 0 : y.name) }),
|
|
17945
17938
|
/* @__PURE__ */ w.jsx(
|
|
17946
|
-
|
|
17939
|
+
Nn,
|
|
17947
17940
|
{
|
|
17948
17941
|
className: Be([nt.fixedBtn]),
|
|
17949
17942
|
type: "text",
|
|
@@ -17956,7 +17949,7 @@ class Ise extends R.Component {
|
|
|
17956
17949
|
children: /* @__PURE__ */ w.jsx(vP, { className: Be([i && nt.active]) })
|
|
17957
17950
|
}
|
|
17958
17951
|
),
|
|
17959
|
-
/* @__PURE__ */ w.jsx(
|
|
17952
|
+
/* @__PURE__ */ w.jsx(Nn, { className: nt.closeBtn, type: "text", size: "small", onClick: C, children: /* @__PURE__ */ w.jsx(uP, {}) })
|
|
17960
17953
|
] }),
|
|
17961
17954
|
/* @__PURE__ */ w.jsx("div", { className: nt.pluginPanelBox, children: x })
|
|
17962
17955
|
]
|
|
@@ -18036,7 +18029,7 @@ function Kt(e, t, n) {
|
|
|
18036
18029
|
writable: !1
|
|
18037
18030
|
}), e;
|
|
18038
18031
|
}
|
|
18039
|
-
function
|
|
18032
|
+
function Dn(e) {
|
|
18040
18033
|
if (e === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
18041
18034
|
return e;
|
|
18042
18035
|
}
|
|
@@ -18060,7 +18053,7 @@ function bo(e, t) {
|
|
|
18060
18053
|
function Bs(e, t) {
|
|
18061
18054
|
if (t && (Fe(t) == "object" || typeof t == "function")) return t;
|
|
18062
18055
|
if (t !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
18063
|
-
return
|
|
18056
|
+
return Dn(e);
|
|
18064
18057
|
}
|
|
18065
18058
|
function yr(e) {
|
|
18066
18059
|
return yr = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(t) {
|
|
@@ -18375,7 +18368,7 @@ var Xse = function(e) {
|
|
|
18375
18368
|
ns: ["translation"],
|
|
18376
18369
|
defaultNS: "translation"
|
|
18377
18370
|
};
|
|
18378
|
-
return Wt(this, n), i = t.call(this), Zf && po.call(
|
|
18371
|
+
return Wt(this, n), i = t.call(this), Zf && po.call(Dn(i)), i.data = r || {}, i.options = o, i.options.keySeparator === void 0 && (i.options.keySeparator = "."), i.options.ignoreJSONStructure === void 0 && (i.options.ignoreJSONStructure = !0), i;
|
|
18379
18372
|
}
|
|
18380
18373
|
return Kt(n, [{
|
|
18381
18374
|
key: "addNamespaces",
|
|
@@ -18520,7 +18513,7 @@ var Tk = {}, Rk = function(e) {
|
|
|
18520
18513
|
var t = Yse(n);
|
|
18521
18514
|
function n(r) {
|
|
18522
18515
|
var i, o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
18523
|
-
return Wt(this, n), i = t.call(this), Zf && po.call(
|
|
18516
|
+
return Wt(this, n), i = t.call(this), Zf && po.call(Dn(i)), Fse(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], r, Dn(i)), i.options = o, i.options.keySeparator === void 0 && (i.options.keySeparator = "."), i.logger = ci.create("translator"), i;
|
|
18524
18517
|
}
|
|
18525
18518
|
return Kt(n, [{
|
|
18526
18519
|
key: "changeLanguage",
|
|
@@ -19395,7 +19388,7 @@ var cle = function(e) {
|
|
|
19395
19388
|
var t = ale(n);
|
|
19396
19389
|
function n(r, i, o) {
|
|
19397
19390
|
var a, s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
|
|
19398
|
-
return Wt(this, n), a = t.call(this), Zf && po.call(
|
|
19391
|
+
return Wt(this, n), a = t.call(this), Zf && po.call(Dn(a)), a.backend = r, a.store = i, a.services = o, a.languageUtils = o.languageUtils, a.options = s, a.logger = ci.create("backendConnector"), a.waitingReads = [], a.maxParallelReads = s.maxParallelReads || 10, a.readingCalls = 0, a.maxRetries = s.maxRetries >= 0 ? s.maxRetries : 5, a.retryTimeout = s.retryTimeout >= 1 ? s.retryTimeout : 350, a.state = {}, a.queue = [], a.backend && a.backend.init && a.backend.init(o, s.backend, s), a;
|
|
19399
19392
|
}
|
|
19400
19393
|
return Kt(n, [{
|
|
19401
19394
|
key: "queueLoad",
|
|
@@ -19666,11 +19659,11 @@ var Xd = function(e) {
|
|
|
19666
19659
|
var t = ule(n);
|
|
19667
19660
|
function n() {
|
|
19668
19661
|
var r, i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, o = arguments.length > 1 ? arguments[1] : void 0;
|
|
19669
|
-
if (Wt(this, n), r = t.call(this), Zf && po.call(
|
|
19662
|
+
if (Wt(this, n), r = t.call(this), Zf && po.call(Dn(r)), r.options = zk(i), r.services = {}, r.logger = ci, r.modules = {
|
|
19670
19663
|
external: []
|
|
19671
|
-
}, fle(
|
|
19664
|
+
}, fle(Dn(r)), o && !r.isInitialized && !i.isClone) {
|
|
19672
19665
|
if (!r.options.initImmediate)
|
|
19673
|
-
return r.init(i, o), Bs(r,
|
|
19666
|
+
return r.init(i, o), Bs(r, Dn(r));
|
|
19674
19667
|
setTimeout(function() {
|
|
19675
19668
|
r.init(i, o);
|
|
19676
19669
|
}, 0);
|
|
@@ -20094,7 +20087,7 @@ var Ele = {
|
|
|
20094
20087
|
init: function(t) {
|
|
20095
20088
|
wle(t.options.react), _le(t);
|
|
20096
20089
|
}
|
|
20097
|
-
}, kle =
|
|
20090
|
+
}, kle = Fn(), Ole = function() {
|
|
20098
20091
|
function e() {
|
|
20099
20092
|
Wt(this, e), this.usedNamespaces = {};
|
|
20100
20093
|
}
|
|
@@ -22513,7 +22506,7 @@ tr.prototype = qc.prototype = {
|
|
|
22513
22506
|
dispatch: lde,
|
|
22514
22507
|
[Symbol.iterator]: cde
|
|
22515
22508
|
};
|
|
22516
|
-
function
|
|
22509
|
+
function Yn(e) {
|
|
22517
22510
|
return typeof e == "string" ? new tr([[document.querySelector(e)]], [document.documentElement]) : new tr([[e]], LL);
|
|
22518
22511
|
}
|
|
22519
22512
|
function dde(e) {
|
|
@@ -22543,11 +22536,11 @@ function es(e) {
|
|
|
22543
22536
|
e.preventDefault(), e.stopImmediatePropagation();
|
|
22544
22537
|
}
|
|
22545
22538
|
function DL(e) {
|
|
22546
|
-
var t = e.document.documentElement, n =
|
|
22539
|
+
var t = e.document.documentElement, n = Yn(e).on("dragstart.drag", es, pc);
|
|
22547
22540
|
"onselectstart" in t ? n.on("selectstart.drag", es, pc) : (t.__noselect = t.style.MozUserSelect, t.style.MozUserSelect = "none");
|
|
22548
22541
|
}
|
|
22549
22542
|
function zL(e, t) {
|
|
22550
|
-
var n = e.document.documentElement, r =
|
|
22543
|
+
var n = e.document.documentElement, r = Yn(e).on("dragstart.drag", null);
|
|
22551
22544
|
t && (r.on("click.drag", es, pc), setTimeout(function() {
|
|
22552
22545
|
r.on("click.drag", null);
|
|
22553
22546
|
}, 0)), "onselectstart" in n ? r.on("selectstart.drag", null) : (n.style.MozUserSelect = n.__noselect, delete n.__noselect);
|
|
@@ -22603,7 +22596,7 @@ function FL() {
|
|
|
22603
22596
|
function h(b, S) {
|
|
22604
22597
|
if (!(u || !e.call(this, b, S))) {
|
|
22605
22598
|
var C = x(this, t.call(this, b, S), b, S, "mouse");
|
|
22606
|
-
C && (
|
|
22599
|
+
C && (Yn(b.view).on("mousemove.drag", p, pc).on("mouseup.drag", m, pc), DL(b.view), tg(b), c = !1, s = b.clientX, l = b.clientY, C("start", b));
|
|
22607
22600
|
}
|
|
22608
22601
|
}
|
|
22609
22602
|
function p(b) {
|
|
@@ -22614,7 +22607,7 @@ function FL() {
|
|
|
22614
22607
|
i.mouse("drag", b);
|
|
22615
22608
|
}
|
|
22616
22609
|
function m(b) {
|
|
22617
|
-
|
|
22610
|
+
Yn(b.view).on("mousemove.drag mouseup.drag", null), zL(b.view, c), es(b), i.mouse("end", b);
|
|
22618
22611
|
}
|
|
22619
22612
|
function g(b, S) {
|
|
22620
22613
|
if (e.call(this, b, S)) {
|
|
@@ -22884,35 +22877,35 @@ function n2() {
|
|
|
22884
22877
|
}
|
|
22885
22878
|
function vc(e) {
|
|
22886
22879
|
var t, n;
|
|
22887
|
-
return e = (e + "").trim().toLowerCase(), (t = vde.exec(e)) ? (n = t[1].length, t = parseInt(t[1], 16), n === 6 ? r2(t) : n === 3 ? new
|
|
22880
|
+
return e = (e + "").trim().toLowerCase(), (t = vde.exec(e)) ? (n = t[1].length, t = parseInt(t[1], 16), n === 6 ? r2(t) : n === 3 ? new Ln(t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, (t & 15) << 4 | t & 15, 1) : n === 8 ? Mu(t >> 24 & 255, t >> 16 & 255, t >> 8 & 255, (t & 255) / 255) : n === 4 ? Mu(t >> 12 & 15 | t >> 8 & 240, t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, ((t & 15) << 4 | t & 15) / 255) : null) : (t = yde.exec(e)) ? new Ln(t[1], t[2], t[3], 1) : (t = bde.exec(e)) ? new Ln(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, 1) : (t = xde.exec(e)) ? Mu(t[1], t[2], t[3], t[4]) : (t = wde.exec(e)) ? Mu(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, t[4]) : (t = Sde.exec(e)) ? a2(t[1], t[2] / 100, t[3] / 100, 1) : (t = _de.exec(e)) ? a2(t[1], t[2] / 100, t[3] / 100, t[4]) : e2.hasOwnProperty(e) ? r2(e2[e]) : e === "transparent" ? new Ln(NaN, NaN, NaN, 0) : null;
|
|
22888
22881
|
}
|
|
22889
22882
|
function r2(e) {
|
|
22890
|
-
return new
|
|
22883
|
+
return new Ln(e >> 16 & 255, e >> 8 & 255, e & 255, 1);
|
|
22891
22884
|
}
|
|
22892
22885
|
function Mu(e, t, n, r) {
|
|
22893
|
-
return r <= 0 && (e = t = n = NaN), new
|
|
22886
|
+
return r <= 0 && (e = t = n = NaN), new Ln(e, t, n, r);
|
|
22894
22887
|
}
|
|
22895
22888
|
function kde(e) {
|
|
22896
|
-
return e instanceof Uc || (e = vc(e)), e ? (e = e.rgb(), new
|
|
22889
|
+
return e instanceof Uc || (e = vc(e)), e ? (e = e.rgb(), new Ln(e.r, e.g, e.b, e.opacity)) : new Ln();
|
|
22897
22890
|
}
|
|
22898
22891
|
function Qb(e, t, n, r) {
|
|
22899
|
-
return arguments.length === 1 ? kde(e) : new
|
|
22892
|
+
return arguments.length === 1 ? kde(e) : new Ln(e, t, n, r ?? 1);
|
|
22900
22893
|
}
|
|
22901
|
-
function
|
|
22894
|
+
function Ln(e, t, n, r) {
|
|
22902
22895
|
this.r = +e, this.g = +t, this.b = +n, this.opacity = +r;
|
|
22903
22896
|
}
|
|
22904
|
-
E1(
|
|
22897
|
+
E1(Ln, Qb, BL(Uc, {
|
|
22905
22898
|
brighter(e) {
|
|
22906
|
-
return e = e == null ? Qd : Math.pow(Qd, e), new
|
|
22899
|
+
return e = e == null ? Qd : Math.pow(Qd, e), new Ln(this.r * e, this.g * e, this.b * e, this.opacity);
|
|
22907
22900
|
},
|
|
22908
22901
|
darker(e) {
|
|
22909
|
-
return e = e == null ? gc : Math.pow(gc, e), new
|
|
22902
|
+
return e = e == null ? gc : Math.pow(gc, e), new Ln(this.r * e, this.g * e, this.b * e, this.opacity);
|
|
22910
22903
|
},
|
|
22911
22904
|
rgb() {
|
|
22912
22905
|
return this;
|
|
22913
22906
|
},
|
|
22914
22907
|
clamp() {
|
|
22915
|
-
return new
|
|
22908
|
+
return new Ln(Po(this.r), Po(this.g), Po(this.b), Zd(this.opacity));
|
|
22916
22909
|
},
|
|
22917
22910
|
displayable() {
|
|
22918
22911
|
return -0.5 <= this.r && this.r < 255.5 && -0.5 <= this.g && this.g < 255.5 && -0.5 <= this.b && this.b < 255.5 && 0 <= this.opacity && this.opacity <= 1;
|
|
@@ -22969,7 +22962,7 @@ E1(jr, Nde, BL(Uc, {
|
|
|
22969
22962
|
},
|
|
22970
22963
|
rgb() {
|
|
22971
22964
|
var e = this.h % 360 + (this.h < 0) * 360, t = isNaN(e) || isNaN(this.s) ? 0 : this.s, n = this.l, r = n + (n < 0.5 ? n : 1 - n) * t, i = 2 * n - r;
|
|
22972
|
-
return new
|
|
22965
|
+
return new Ln(
|
|
22973
22966
|
ng(e >= 240 ? e - 240 : e + 120, i, r),
|
|
22974
22967
|
ng(e, i, r),
|
|
22975
22968
|
ng(e < 120 ? e + 240 : e - 120, i, r),
|
|
@@ -23899,7 +23892,7 @@ function t5() {
|
|
|
23899
23892
|
return --this.active === 0 && (delete this.that.__zooming, this.emit("end")), this;
|
|
23900
23893
|
},
|
|
23901
23894
|
emit: function(T) {
|
|
23902
|
-
var P =
|
|
23895
|
+
var P = Yn(this.that).datum();
|
|
23903
23896
|
c.call(
|
|
23904
23897
|
T,
|
|
23905
23898
|
this.that,
|
|
@@ -23929,7 +23922,7 @@ function t5() {
|
|
|
23929
23922
|
}
|
|
23930
23923
|
function E(T, ...P) {
|
|
23931
23924
|
if (f || !e.apply(this, arguments)) return;
|
|
23932
|
-
var A = T.currentTarget, F = C(this, P, !0).event(T), q =
|
|
23925
|
+
var A = T.currentTarget, F = C(this, P, !0).event(T), q = Yn(T.view).on("mousemove.zoom", V, !0).on("mouseup.zoom", M, !0), B = Or(T, A), z = T.clientX, I = T.clientY;
|
|
23933
23926
|
DL(T.view), ig(T), F.mouse = [B, this.__zoom.invert(B)], wd(this), F.start();
|
|
23934
23927
|
function V(D) {
|
|
23935
23928
|
if (ul(D), !F.moved) {
|
|
@@ -23945,7 +23938,7 @@ function t5() {
|
|
|
23945
23938
|
function O(T, ...P) {
|
|
23946
23939
|
if (e.apply(this, arguments)) {
|
|
23947
23940
|
var A = this.__zoom, F = Or(T.changedTouches ? T.changedTouches[0] : T, this), q = A.invert(F), B = A.k * (T.shiftKey ? 0.5 : 2), z = n(x(y(A, B), F, q), t.apply(this, P), a);
|
|
23948
|
-
ul(T), s > 0 ?
|
|
23941
|
+
ul(T), s > 0 ? Yn(this).transition().duration(s).call(S, z, F, T) : Yn(this).call(v.transform, z, F, T);
|
|
23949
23942
|
}
|
|
23950
23943
|
}
|
|
23951
23944
|
function N(T, ...P) {
|
|
@@ -23980,7 +23973,7 @@ function t5() {
|
|
|
23980
23973
|
z = F[B], A.touch0 && A.touch0[2] === z.identifier ? delete A.touch0 : A.touch1 && A.touch1[2] === z.identifier && delete A.touch1;
|
|
23981
23974
|
if (A.touch1 && !A.touch0 && (A.touch0 = A.touch1, delete A.touch1), A.touch0) A.touch0[1] = this.__zoom.invert(A.touch0[0]);
|
|
23982
23975
|
else if (A.end(), A.taps === 2 && (z = Or(z, this), Math.hypot(d[0] - z[0], d[1] - z[1]) < g)) {
|
|
23983
|
-
var I =
|
|
23976
|
+
var I = Yn(this).on("dblclick.zoom");
|
|
23984
23977
|
I && I.apply(this, arguments);
|
|
23985
23978
|
}
|
|
23986
23979
|
}
|
|
@@ -24854,7 +24847,7 @@ function og({ nodeId: e, dragItems: t, nodeLookup: n, dragging: r = !0 }) {
|
|
|
24854
24847
|
function Ohe({ onNodeMouseDown: e, getStoreItems: t, onDragStart: n, onDrag: r, onDragStop: i }) {
|
|
24855
24848
|
let o = { x: null, y: null }, a = 0, s = /* @__PURE__ */ new Map(), l = !1, c = { x: 0, y: 0 }, u = null, d = !1, f = null, h = !1;
|
|
24856
24849
|
function p({ noDragClassName: g, handleSelector: v, domNode: y, isSelectable: x, nodeId: b, nodeClickDistance: S = 0 }) {
|
|
24857
|
-
f =
|
|
24850
|
+
f = Yn(y);
|
|
24858
24851
|
function C({ x: O, y: N }, j) {
|
|
24859
24852
|
const { nodeLookup: $, nodeExtent: T, snapGrid: P, snapToGrid: A, nodeOrigin: F, onNodeDrag: q, onSelectionDrag: B, onError: z, updateNodePositions: I } = t();
|
|
24860
24853
|
o = { x: O, y: N };
|
|
@@ -25117,7 +25110,7 @@ const dx = {
|
|
|
25117
25110
|
isValid: N5
|
|
25118
25111
|
};
|
|
25119
25112
|
function Phe({ domNode: e, panZoom: t, getTransform: n, getViewScale: r }) {
|
|
25120
|
-
const i =
|
|
25113
|
+
const i = Yn(e);
|
|
25121
25114
|
function o({ translateExtent: s, width: l, height: c, zoomStep: u = 10, pannable: d = !0, zoomable: f = !0, inversePan: h = !1 }) {
|
|
25122
25115
|
const p = (x) => {
|
|
25123
25116
|
const b = n();
|
|
@@ -25265,7 +25258,7 @@ function Bhe({ domNode: e, minZoom: t, maxZoom: n, paneClickDistance: r, transla
|
|
|
25265
25258
|
timerId: void 0,
|
|
25266
25259
|
panScrollTimeout: void 0,
|
|
25267
25260
|
isPanScrolling: !1
|
|
25268
|
-
}, d = e.getBoundingClientRect(), f = t5().clickDistance(!Pr(r) || r < 0 ? 0 : r).scaleExtent([t, n]).translateExtent(i), h =
|
|
25261
|
+
}, d = e.getBoundingClientRect(), f = t5().clickDistance(!Pr(r) || r < 0 ? 0 : r).scaleExtent([t, n]).translateExtent(i), h = Yn(e).call(f);
|
|
25269
25262
|
x({
|
|
25270
25263
|
x: o.x,
|
|
25271
25264
|
y: o.y,
|
|
@@ -25489,7 +25482,7 @@ function Whe(e, t, n) {
|
|
|
25489
25482
|
];
|
|
25490
25483
|
}
|
|
25491
25484
|
function Khe({ domNode: e, nodeId: t, getStoreItems: n, onChange: r, onEnd: i }) {
|
|
25492
|
-
const o =
|
|
25485
|
+
const o = Yn(e);
|
|
25493
25486
|
function a({ controlPosition: l, boundaries: c, keepAspectRatio: u, onResizeStart: d, onResize: f, onResizeEnd: h, shouldResize: p }) {
|
|
25494
25487
|
let m = { ...A5 }, g = { ...Uhe };
|
|
25495
25488
|
const v = Hhe(l);
|
|
@@ -25880,7 +25873,7 @@ function jt(e, t) {
|
|
|
25880
25873
|
return !1;
|
|
25881
25874
|
return !0;
|
|
25882
25875
|
}
|
|
25883
|
-
const hh =
|
|
25876
|
+
const hh = Fn(null), lpe = hh.Provider, M5 = nr.error001();
|
|
25884
25877
|
function Ve(e, t) {
|
|
25885
25878
|
const n = rt(hh);
|
|
25886
25879
|
if (n === null)
|
|
@@ -26291,7 +26284,7 @@ function Rpe(e) {
|
|
|
26291
26284
|
}
|
|
26292
26285
|
};
|
|
26293
26286
|
}
|
|
26294
|
-
const V5 =
|
|
26287
|
+
const V5 = Fn(null);
|
|
26295
26288
|
function Ape({ children: e }) {
|
|
26296
26289
|
const t = Ct(), n = Se((s) => {
|
|
26297
26290
|
const { nodes: l = [], setNodes: c, hasDefaultNodes: u, onNodesChange: d, nodeLookup: f } = t.getState();
|
|
@@ -26746,7 +26739,7 @@ function q5() {
|
|
|
26746
26739
|
l(d);
|
|
26747
26740
|
}, []);
|
|
26748
26741
|
}
|
|
26749
|
-
const I1 =
|
|
26742
|
+
const I1 = Fn(null), Upe = I1.Provider;
|
|
26750
26743
|
I1.Consumer;
|
|
26751
26744
|
const U5 = () => rt(I1), Gpe = (e) => ({
|
|
26752
26745
|
connectOnClick: e.connectOnClick,
|
|
@@ -27498,8 +27491,8 @@ function Fge() {
|
|
|
27498
27491
|
}
|
|
27499
27492
|
}, []);
|
|
27500
27493
|
}
|
|
27501
|
-
function uD({ nodeTypes: e, edgeTypes: t, onInit: n, onNodeClick: r, onEdgeClick: i, onNodeDoubleClick: o, onEdgeDoubleClick: a, onNodeMouseEnter: s, onNodeMouseMove: l, onNodeMouseLeave: c, onNodeContextMenu: u, onSelectionContextMenu: d, onSelectionStart: f, onSelectionEnd: h, connectionLineType: p, connectionLineStyle: m, connectionLineComponent: g, connectionLineContainerStyle: v, selectionKeyCode: y, selectionOnDrag: x, selectionMode: b, multiSelectionKeyCode: S, panActivationKeyCode: C, zoomActivationKeyCode: k, deleteKeyCode: _, onlyRenderVisibleElements: E, elementsSelectable: O, defaultViewport: N, translateExtent: j, minZoom: $, maxZoom: T, preventScrolling: P, defaultMarkerColor: A, zoomOnScroll: F, zoomOnPinch: q, panOnScroll: B, panOnScrollSpeed: z, panOnScrollMode: I, zoomOnDoubleClick: V, panOnDrag: M, onPaneClick: D, onPaneMouseEnter: H, onPaneMouseMove: U, onPaneMouseLeave: G, onPaneScroll: K, onPaneContextMenu: Q, paneClickDistance: Z, nodeClickDistance: ie, onEdgeContextMenu: W, onEdgeMouseEnter: le, onEdgeMouseMove: te, onEdgeMouseLeave: de, reconnectRadius: Ee, onReconnect: ke, onReconnectStart: Mt, onReconnectEnd: ct, noDragClassName: yt, noWheelClassName: He, noPanClassName: Ne, disableKeyboardA11y: Me, nodeExtent: Ft, rfId: Nt, viewport:
|
|
27502
|
-
return iO(e), iO(t), Fge(), Age(n), Pge(
|
|
27494
|
+
function uD({ nodeTypes: e, edgeTypes: t, onInit: n, onNodeClick: r, onEdgeClick: i, onNodeDoubleClick: o, onEdgeDoubleClick: a, onNodeMouseEnter: s, onNodeMouseMove: l, onNodeMouseLeave: c, onNodeContextMenu: u, onSelectionContextMenu: d, onSelectionStart: f, onSelectionEnd: h, connectionLineType: p, connectionLineStyle: m, connectionLineComponent: g, connectionLineContainerStyle: v, selectionKeyCode: y, selectionOnDrag: x, selectionMode: b, multiSelectionKeyCode: S, panActivationKeyCode: C, zoomActivationKeyCode: k, deleteKeyCode: _, onlyRenderVisibleElements: E, elementsSelectable: O, defaultViewport: N, translateExtent: j, minZoom: $, maxZoom: T, preventScrolling: P, defaultMarkerColor: A, zoomOnScroll: F, zoomOnPinch: q, panOnScroll: B, panOnScrollSpeed: z, panOnScrollMode: I, zoomOnDoubleClick: V, panOnDrag: M, onPaneClick: D, onPaneMouseEnter: H, onPaneMouseMove: U, onPaneMouseLeave: G, onPaneScroll: K, onPaneContextMenu: Q, paneClickDistance: Z, nodeClickDistance: ie, onEdgeContextMenu: W, onEdgeMouseEnter: le, onEdgeMouseMove: te, onEdgeMouseLeave: de, reconnectRadius: Ee, onReconnect: ke, onReconnectStart: Mt, onReconnectEnd: ct, noDragClassName: yt, noWheelClassName: He, noPanClassName: Ne, disableKeyboardA11y: Me, nodeExtent: Ft, rfId: Nt, viewport: An, onViewportChange: Yt }) {
|
|
27495
|
+
return iO(e), iO(t), Fge(), Age(n), Pge(An), w.jsx(rge, { onPaneClick: D, onPaneMouseEnter: H, onPaneMouseMove: U, onPaneMouseLeave: G, onPaneContextMenu: Q, onPaneScroll: K, paneClickDistance: Z, deleteKeyCode: _, selectionKeyCode: y, selectionOnDrag: x, selectionMode: b, onSelectionStart: f, onSelectionEnd: h, multiSelectionKeyCode: S, panActivationKeyCode: C, zoomActivationKeyCode: k, elementsSelectable: O, zoomOnScroll: F, zoomOnPinch: q, zoomOnDoubleClick: V, panOnScroll: B, panOnScrollSpeed: z, panOnScrollMode: I, panOnDrag: M, defaultViewport: N, translateExtent: j, minZoom: $, maxZoom: T, onSelectionContextMenu: d, preventScrolling: P, noDragClassName: yt, noWheelClassName: He, noPanClassName: Ne, disableKeyboardA11y: Me, onViewportChange: Yt, isControlledViewport: !!An, children: w.jsxs(Rge, { children: [w.jsx(Nge, { edgeTypes: t, onEdgeClick: i, onEdgeDoubleClick: a, onReconnect: ke, onReconnectStart: Mt, onReconnectEnd: ct, onlyRenderVisibleElements: E, onEdgeContextMenu: W, onEdgeMouseEnter: le, onEdgeMouseMove: te, onEdgeMouseLeave: de, reconnectRadius: Ee, defaultMarkerColor: A, noPanClassName: Ne, disableKeyboardA11y: Me, rfId: Nt }), w.jsx(Dge, { style: m, type: p, component: g, containerStyle: v }), w.jsx("div", { className: "react-flow__edgelabel-renderer" }), w.jsx(dge, { nodeTypes: e, onNodeClick: r, onNodeDoubleClick: o, onNodeMouseEnter: s, onNodeMouseMove: l, onNodeMouseLeave: c, onNodeContextMenu: u, nodeClickDistance: ie, onlyRenderVisibleElements: E, noPanClassName: Ne, noDragClassName: yt, disableKeyboardA11y: Me, nodeExtent: Ft, rfId: Nt }), w.jsx("div", { className: "react-flow__viewport-portal" })] }) });
|
|
27503
27496
|
}
|
|
27504
27497
|
uD.displayName = "GraphView";
|
|
27505
27498
|
const Bge = _t(uD), oO = ({ nodes: e, edges: t, defaultNodes: n, defaultEdges: r, width: i, height: o, fitView: a, nodeOrigin: s, nodeExtent: l } = {}) => {
|
|
@@ -27790,11 +27783,11 @@ const qge = {
|
|
|
27790
27783
|
position: "relative",
|
|
27791
27784
|
zIndex: 0
|
|
27792
27785
|
};
|
|
27793
|
-
function Uge({ nodes: e, edges: t, defaultNodes: n, defaultEdges: r, className: i, nodeTypes: o, edgeTypes: a, onNodeClick: s, onEdgeClick: l, onInit: c, onMove: u, onMoveStart: d, onMoveEnd: f, onConnect: h, onConnectStart: p, onConnectEnd: m, onClickConnectStart: g, onClickConnectEnd: v, onNodeMouseEnter: y, onNodeMouseMove: x, onNodeMouseLeave: b, onNodeContextMenu: S, onNodeDoubleClick: C, onNodeDragStart: k, onNodeDrag: _, onNodeDragStop: E, onNodesDelete: O, onEdgesDelete: N, onDelete: j, onSelectionChange: $, onSelectionDragStart: T, onSelectionDrag: P, onSelectionDragStop: A, onSelectionContextMenu: F, onSelectionStart: q, onSelectionEnd: B, onBeforeDelete: z, connectionMode: I, connectionLineType: V = oo.Bezier, connectionLineStyle: M, connectionLineComponent: D, connectionLineContainerStyle: H, deleteKeyCode: U = "Backspace", selectionKeyCode: G = "Shift", selectionOnDrag: K = !1, selectionMode: Q = xc.Full, panActivationKeyCode: Z = "Space", multiSelectionKeyCode: ie = af() ? "Meta" : "Control", zoomActivationKeyCode: W = af() ? "Meta" : "Control", snapToGrid: le, snapGrid: te, onlyRenderVisibleElements: de = !1, selectNodesOnDrag: Ee, nodesDraggable: ke, nodesConnectable: Mt, nodesFocusable: ct, nodeOrigin: yt = L5, edgesFocusable: He, edgesReconnectable: Ne, elementsSelectable: Me = !0, defaultViewport: Ft = wpe, minZoom: Nt = 0.5, maxZoom:
|
|
27786
|
+
function Uge({ nodes: e, edges: t, defaultNodes: n, defaultEdges: r, className: i, nodeTypes: o, edgeTypes: a, onNodeClick: s, onEdgeClick: l, onInit: c, onMove: u, onMoveStart: d, onMoveEnd: f, onConnect: h, onConnectStart: p, onConnectEnd: m, onClickConnectStart: g, onClickConnectEnd: v, onNodeMouseEnter: y, onNodeMouseMove: x, onNodeMouseLeave: b, onNodeContextMenu: S, onNodeDoubleClick: C, onNodeDragStart: k, onNodeDrag: _, onNodeDragStop: E, onNodesDelete: O, onEdgesDelete: N, onDelete: j, onSelectionChange: $, onSelectionDragStart: T, onSelectionDrag: P, onSelectionDragStop: A, onSelectionContextMenu: F, onSelectionStart: q, onSelectionEnd: B, onBeforeDelete: z, connectionMode: I, connectionLineType: V = oo.Bezier, connectionLineStyle: M, connectionLineComponent: D, connectionLineContainerStyle: H, deleteKeyCode: U = "Backspace", selectionKeyCode: G = "Shift", selectionOnDrag: K = !1, selectionMode: Q = xc.Full, panActivationKeyCode: Z = "Space", multiSelectionKeyCode: ie = af() ? "Meta" : "Control", zoomActivationKeyCode: W = af() ? "Meta" : "Control", snapToGrid: le, snapGrid: te, onlyRenderVisibleElements: de = !1, selectNodesOnDrag: Ee, nodesDraggable: ke, nodesConnectable: Mt, nodesFocusable: ct, nodeOrigin: yt = L5, edgesFocusable: He, edgesReconnectable: Ne, elementsSelectable: Me = !0, defaultViewport: Ft = wpe, minZoom: Nt = 0.5, maxZoom: An = 2, translateExtent: Yt = bc, preventScrolling: Jt = !0, nodeExtent: ln, defaultMarkerColor: or = "#b1b1b7", zoomOnScroll: pn = !0, zoomOnPinch: wr = !0, panOnScroll: gn = !1, panOnScrollSpeed: kn = 0.5, panOnScrollMode: xi = Mo.Free, zoomOnDoubleClick: Gi = !0, panOnDrag: So = !0, onPaneClick: Qr, onPaneMouseEnter: Wi, onPaneMouseMove: ar, onPaneMouseLeave: wi, onPaneScroll: bt, onPaneContextMenu: Bt, paneClickDistance: It = 0, nodeClickDistance: tn = 0, children: $t, onReconnect: Tt, onReconnectStart: Qt, onReconnectEnd: cn, onEdgeContextMenu: et, onEdgeDoubleClick: mn, onEdgeMouseEnter: vn, onEdgeMouseMove: Ue, onEdgeMouseLeave: sr, reconnectRadius: Sr = 10, onNodesChange: L, onEdgesChange: ee, noDragClassName: oe = "nodrag", noWheelClassName: be = "nowheel", noPanClassName: Ie = "nopan", fitView: qe, fitViewOptions: Pe, connectOnClick: Te, attributionPosition: Vt, proOptions: ut, defaultEdgeOptions: xt, elevateNodesOnSelect: yn, elevateEdgesOnSelect: nn, disableKeyboardA11y: Qs = !1, autoPanOnConnect: _r, autoPanOnNodeDrag: sz, autoPanSpeed: lz, connectionRadius: cz, isValidConnection: uz, onError: dz, style: fz, id: BS, nodeDragThreshold: hz, viewport: pz, onViewportChange: gz, width: mz, height: vz, colorMode: yz = "light", debug: bz, onScroll: su, ...xz }, wz) {
|
|
27794
27787
|
const Xh = BS || "1", Sz = Epe(yz), _z = Se((VS) => {
|
|
27795
27788
|
VS.currentTarget.scrollTo({ top: 0, left: 0, behavior: "instant" }), su == null || su(VS);
|
|
27796
27789
|
}, [su]);
|
|
27797
|
-
return w.jsx("div", { "data-testid": "rf__wrapper", ...xz, onScroll: _z, style: { ...fz, ...qge }, ref: wz, className: Xt(["react-flow", i, Sz]), id: BS, children: w.jsxs(Hge, { nodes: e, edges: t, width: mz, height: vz, fitView: qe, nodeOrigin: yt, nodeExtent: ln, children: [w.jsx(Bge, { onInit: c, onNodeClick: s, onEdgeClick: l, onNodeMouseEnter: y, onNodeMouseMove: x, onNodeMouseLeave: b, onNodeContextMenu: S, onNodeDoubleClick: C, nodeTypes: o, edgeTypes: a, connectionLineType: V, connectionLineStyle: M, connectionLineComponent: D, connectionLineContainerStyle: H, selectionKeyCode: G, selectionOnDrag: K, selectionMode: Q, deleteKeyCode: U, multiSelectionKeyCode: ie, panActivationKeyCode: Z, zoomActivationKeyCode: W, onlyRenderVisibleElements: de, defaultViewport: Ft, translateExtent: Yt, minZoom: Nt, maxZoom:
|
|
27790
|
+
return w.jsx("div", { "data-testid": "rf__wrapper", ...xz, onScroll: _z, style: { ...fz, ...qge }, ref: wz, className: Xt(["react-flow", i, Sz]), id: BS, children: w.jsxs(Hge, { nodes: e, edges: t, width: mz, height: vz, fitView: qe, nodeOrigin: yt, nodeExtent: ln, children: [w.jsx(Bge, { onInit: c, onNodeClick: s, onEdgeClick: l, onNodeMouseEnter: y, onNodeMouseMove: x, onNodeMouseLeave: b, onNodeContextMenu: S, onNodeDoubleClick: C, nodeTypes: o, edgeTypes: a, connectionLineType: V, connectionLineStyle: M, connectionLineComponent: D, connectionLineContainerStyle: H, selectionKeyCode: G, selectionOnDrag: K, selectionMode: Q, deleteKeyCode: U, multiSelectionKeyCode: ie, panActivationKeyCode: Z, zoomActivationKeyCode: W, onlyRenderVisibleElements: de, defaultViewport: Ft, translateExtent: Yt, minZoom: Nt, maxZoom: An, preventScrolling: Jt, zoomOnScroll: pn, zoomOnPinch: wr, zoomOnDoubleClick: Gi, panOnScroll: gn, panOnScrollSpeed: kn, panOnScrollMode: xi, panOnDrag: So, onPaneClick: Qr, onPaneMouseEnter: Wi, onPaneMouseMove: ar, onPaneMouseLeave: wi, onPaneScroll: bt, onPaneContextMenu: Bt, paneClickDistance: It, nodeClickDistance: tn, onSelectionContextMenu: F, onSelectionStart: q, onSelectionEnd: B, onReconnect: Tt, onReconnectStart: Qt, onReconnectEnd: cn, onEdgeContextMenu: et, onEdgeDoubleClick: mn, onEdgeMouseEnter: vn, onEdgeMouseMove: Ue, onEdgeMouseLeave: sr, reconnectRadius: Sr, defaultMarkerColor: or, noDragClassName: oe, noWheelClassName: be, noPanClassName: Ie, rfId: Xh, disableKeyboardA11y: Qs, nodeExtent: ln, viewport: pz, onViewportChange: gz }), w.jsx(Cpe, { nodes: e, edges: t, defaultNodes: n, defaultEdges: r, onConnect: h, onConnectStart: p, onConnectEnd: m, onClickConnectStart: g, onClickConnectEnd: v, nodesDraggable: ke, nodesConnectable: Mt, nodesFocusable: ct, edgesFocusable: He, edgesReconnectable: Ne, elementsSelectable: Me, elevateNodesOnSelect: yn, elevateEdgesOnSelect: nn, minZoom: Nt, maxZoom: An, nodeExtent: ln, onNodesChange: L, onEdgesChange: ee, snapToGrid: le, snapGrid: te, connectionMode: I, translateExtent: Yt, connectOnClick: Te, defaultEdgeOptions: xt, fitView: qe, fitViewOptions: Pe, onNodesDelete: O, onEdgesDelete: N, onDelete: j, onNodeDragStart: k, onNodeDrag: _, onNodeDragStop: E, onSelectionDrag: P, onSelectionDragStart: T, onSelectionDragStop: A, onMove: u, onMoveStart: d, onMoveEnd: f, noPanClassName: Ie, nodeOrigin: yt, rfId: Xh, autoPanOnConnect: _r, autoPanOnNodeDrag: sz, autoPanSpeed: lz, onError: dz, connectionRadius: cz, isValidConnection: uz, selectNodesOnDrag: Ee, nodeDragThreshold: hz, onBeforeDelete: z, paneClickDistance: It, debug: bz }), w.jsx(xpe, { onSelectionChange: $ }), $t, w.jsx(gpe, { proOptions: ut, position: Vt }), w.jsx(hpe, { rfId: Xh, disableKeyboardA11y: Qs })] }) });
|
|
27798
27791
|
}
|
|
27799
27792
|
var Gge = B5(Uge);
|
|
27800
27793
|
function Wge(e) {
|
|
@@ -31238,21 +31231,21 @@ function Hs(e) {
|
|
|
31238
31231
|
function z1(e) {
|
|
31239
31232
|
return "nodeType" in e;
|
|
31240
31233
|
}
|
|
31241
|
-
function
|
|
31234
|
+
function Hn(e) {
|
|
31242
31235
|
var t, n;
|
|
31243
31236
|
return e ? Hs(e) ? e : z1(e) && (t = (n = e.ownerDocument) == null ? void 0 : n.defaultView) != null ? t : window : window;
|
|
31244
31237
|
}
|
|
31245
31238
|
function F1(e) {
|
|
31246
31239
|
const {
|
|
31247
31240
|
Document: t
|
|
31248
|
-
} =
|
|
31241
|
+
} = Hn(e);
|
|
31249
31242
|
return e instanceof t;
|
|
31250
31243
|
}
|
|
31251
31244
|
function Xc(e) {
|
|
31252
|
-
return Hs(e) ? !1 : e instanceof
|
|
31245
|
+
return Hs(e) ? !1 : e instanceof Hn(e).HTMLElement;
|
|
31253
31246
|
}
|
|
31254
31247
|
function OD(e) {
|
|
31255
|
-
return e instanceof
|
|
31248
|
+
return e instanceof Hn(e).SVGElement;
|
|
31256
31249
|
}
|
|
31257
31250
|
function qs(e) {
|
|
31258
31251
|
return e ? Hs(e) ? e.document : z1(e) ? F1(e) ? e : Xc(e) || OD(e) ? e.ownerDocument : document : document : document;
|
|
@@ -31344,7 +31337,7 @@ function V1(e) {
|
|
|
31344
31337
|
return !1;
|
|
31345
31338
|
const {
|
|
31346
31339
|
KeyboardEvent: t
|
|
31347
|
-
} =
|
|
31340
|
+
} = Hn(e.target);
|
|
31348
31341
|
return t && e instanceof t;
|
|
31349
31342
|
}
|
|
31350
31343
|
function Ave(e) {
|
|
@@ -31352,7 +31345,7 @@ function Ave(e) {
|
|
|
31352
31345
|
return !1;
|
|
31353
31346
|
const {
|
|
31354
31347
|
TouchEvent: t
|
|
31355
|
-
} =
|
|
31348
|
+
} = Hn(e.target);
|
|
31356
31349
|
return t && e instanceof t;
|
|
31357
31350
|
}
|
|
31358
31351
|
function vx(e) {
|
|
@@ -31475,7 +31468,7 @@ function $ve() {
|
|
|
31475
31468
|
announcement: e
|
|
31476
31469
|
};
|
|
31477
31470
|
}
|
|
31478
|
-
const TD = /* @__PURE__ */
|
|
31471
|
+
const TD = /* @__PURE__ */ Fn(null);
|
|
31479
31472
|
function Lve(e) {
|
|
31480
31473
|
const t = rt(TD);
|
|
31481
31474
|
ne(() => {
|
|
@@ -31821,7 +31814,7 @@ function Us(e, t) {
|
|
|
31821
31814
|
const {
|
|
31822
31815
|
transform: c,
|
|
31823
31816
|
transformOrigin: u
|
|
31824
|
-
} =
|
|
31817
|
+
} = Hn(e).getComputedStyle(e);
|
|
31825
31818
|
c && (n = Qve(n, c, u));
|
|
31826
31819
|
}
|
|
31827
31820
|
const {
|
|
@@ -31858,10 +31851,10 @@ function e0e(e) {
|
|
|
31858
31851
|
};
|
|
31859
31852
|
}
|
|
31860
31853
|
function t0e(e, t) {
|
|
31861
|
-
return t === void 0 && (t =
|
|
31854
|
+
return t === void 0 && (t = Hn(e).getComputedStyle(e)), t.position === "fixed";
|
|
31862
31855
|
}
|
|
31863
31856
|
function n0e(e, t) {
|
|
31864
|
-
t === void 0 && (t =
|
|
31857
|
+
t === void 0 && (t = Hn(e).getComputedStyle(e));
|
|
31865
31858
|
const n = /(auto|scroll|overlay)/;
|
|
31866
31859
|
return ["overflow", "overflowX", "overflowY"].some((i) => {
|
|
31867
31860
|
const o = t[i];
|
|
@@ -31877,7 +31870,7 @@ function Sh(e, t) {
|
|
|
31877
31870
|
return n.push(i.scrollingElement), n;
|
|
31878
31871
|
if (!Xc(i) || OD(i) || n.includes(i))
|
|
31879
31872
|
return n;
|
|
31880
|
-
const o =
|
|
31873
|
+
const o = Hn(e).getComputedStyle(i);
|
|
31881
31874
|
return i !== e && n0e(i, o) && n.push(i), t0e(i, o) ? n : r(i.parentNode);
|
|
31882
31875
|
}
|
|
31883
31876
|
return e ? r(e) : n;
|
|
@@ -32055,7 +32048,7 @@ class ql {
|
|
|
32055
32048
|
function u0e(e) {
|
|
32056
32049
|
const {
|
|
32057
32050
|
EventTarget: t
|
|
32058
|
-
} =
|
|
32051
|
+
} = Hn(e);
|
|
32059
32052
|
return e instanceof t ? e : qs(e);
|
|
32060
32053
|
}
|
|
32061
32054
|
function um(e, t) {
|
|
@@ -32115,7 +32108,7 @@ class q1 {
|
|
|
32115
32108
|
target: n
|
|
32116
32109
|
}
|
|
32117
32110
|
} = t;
|
|
32118
|
-
this.props = t, this.listeners = new ql(qs(n)), this.windowListeners = new ql(
|
|
32111
|
+
this.props = t, this.listeners = new ql(qs(n)), this.windowListeners = new ql(Hn(n)), this.handleKeyDown = this.handleKeyDown.bind(this), this.handleCancel = this.handleCancel.bind(this), this.attach();
|
|
32119
32112
|
}
|
|
32120
32113
|
attach() {
|
|
32121
32114
|
this.handleStart(), this.windowListeners.add(fr.Resize, this.handleCancel), this.windowListeners.add(fr.VisibilityChange, this.handleCancel), setTimeout(() => this.listeners.add(fr.Keydown, this.handleKeyDown));
|
|
@@ -32271,7 +32264,7 @@ class U1 {
|
|
|
32271
32264
|
} = t, {
|
|
32272
32265
|
target: a
|
|
32273
32266
|
} = o;
|
|
32274
|
-
this.props = t, this.events = n, this.document = qs(a), this.documentListeners = new ql(this.document), this.listeners = new ql(r), this.windowListeners = new ql(
|
|
32267
|
+
this.props = t, this.events = n, this.document = qs(a), this.documentListeners = new ql(this.document), this.listeners = new ql(r), this.windowListeners = new ql(Hn(a)), this.initialCoordinates = (i = vx(o)) != null ? i : Wr, this.handleStart = this.handleStart.bind(this), this.handleMove = this.handleMove.bind(this), this.handleEnd = this.handleEnd.bind(this), this.handleCancel = this.handleCancel.bind(this), this.handleKeydown = this.handleKeydown.bind(this), this.removeTextSelection = this.removeTextSelection.bind(this), this.attach();
|
|
32275
32268
|
}
|
|
32276
32269
|
attach() {
|
|
32277
32270
|
const {
|
|
@@ -32890,7 +32883,7 @@ function BD(e) {
|
|
|
32890
32883
|
const fN = [];
|
|
32891
32884
|
function A0e(e, t) {
|
|
32892
32885
|
t === void 0 && (t = Us);
|
|
32893
|
-
const [n] = e, r = BD(n ?
|
|
32886
|
+
const [n] = e, r = BD(n ? Hn(n) : null), [i, o] = re(fN);
|
|
32894
32887
|
function a() {
|
|
32895
32888
|
o(() => e.length ? e.map((l) => $D(l) ? r : new H1(t(l), l)) : fN);
|
|
32896
32889
|
}
|
|
@@ -33018,7 +33011,7 @@ const $0e = {
|
|
|
33018
33011
|
draggableNodes: /* @__PURE__ */ new Map(),
|
|
33019
33012
|
over: null,
|
|
33020
33013
|
measureDroppableContainers: ff
|
|
33021
|
-
}, Eh = /* @__PURE__ */
|
|
33014
|
+
}, Eh = /* @__PURE__ */ Fn(L0e), VD = /* @__PURE__ */ Fn($0e);
|
|
33022
33015
|
function D0e() {
|
|
33023
33016
|
return {
|
|
33024
33017
|
draggable: {
|
|
@@ -33231,7 +33224,7 @@ function H0e(e) {
|
|
|
33231
33224
|
}
|
|
33232
33225
|
}, [t, a, s, r, n]);
|
|
33233
33226
|
}
|
|
33234
|
-
const HD = /* @__PURE__ */
|
|
33227
|
+
const HD = /* @__PURE__ */ Fn({
|
|
33235
33228
|
...Wr,
|
|
33236
33229
|
scaleX: 1,
|
|
33237
33230
|
scaleY: 1
|
|
@@ -33304,7 +33297,7 @@ const Sx = /* @__PURE__ */ _t(function(t) {
|
|
|
33304
33297
|
scrollAdjustedTranslate: null
|
|
33305
33298
|
}), le = O.getNodeFor((n = W.current.over) == null ? void 0 : n.id), te = P0e({
|
|
33306
33299
|
measure: V.dragOverlay.measure
|
|
33307
|
-
}), de = (r = te.nodeRef.current) != null ? r : U, Ee = C ? (i = te.rect) != null ? i : Z : null, ke = !!(te.nodeRef.current && te.rect), Mt = k0e(ke ? null : Z), ct = BD(de ?
|
|
33300
|
+
}), de = (r = te.nodeRef.current) != null ? r : U, Ee = C ? (i = te.rect) != null ? i : Z : null, ke = !!(te.nodeRef.current && te.rect), Mt = k0e(ke ? null : Z), ct = BD(de ? Hn(de) : null), yt = O0e(C ? le ?? U : null), He = A0e(yt), Ne = B0e(h, {
|
|
33308
33301
|
transform: {
|
|
33309
33302
|
x: E.x - Mt.x,
|
|
33310
33303
|
y: E.y - Mt.y,
|
|
@@ -33321,13 +33314,13 @@ const Sx = /* @__PURE__ */ _t(function(t) {
|
|
|
33321
33314
|
scrollableAncestors: yt,
|
|
33322
33315
|
scrollableAncestorRects: He,
|
|
33323
33316
|
windowRect: ct
|
|
33324
|
-
}), Me = G ? ns(G, E) : null, Ft = N0e(yt), Nt = dN(Ft),
|
|
33317
|
+
}), Me = G ? ns(G, E) : null, Ft = N0e(yt), Nt = dN(Ft), An = dN(Ft, [Z]), Yt = ns(Ne, Nt), Jt = Ee ? Yve(Ee, Ne) : null, ln = $ && Jt ? d({
|
|
33325
33318
|
active: $,
|
|
33326
33319
|
collisionRect: Jt,
|
|
33327
33320
|
droppableRects: M,
|
|
33328
33321
|
droppableContainers: I,
|
|
33329
33322
|
pointerCoordinates: Me
|
|
33330
|
-
}) : null, or = AD(ln, "id"), [pn, wr] = re(null), gn = ke ? Ne : ns(Ne,
|
|
33323
|
+
}) : null, or = AD(ln, "id"), [pn, wr] = re(null), gn = ke ? Ne : ns(Ne, An), kn = Kve(gn, (o = pn == null ? void 0 : pn.rect) != null ? o : null, Z), xi = X(null), Gi = Se(
|
|
33331
33324
|
(bt, Bt) => {
|
|
33332
33325
|
let {
|
|
33333
33326
|
sensor: It,
|
|
@@ -33619,7 +33612,7 @@ const Sx = /* @__PURE__ */ _t(function(t) {
|
|
|
33619
33612
|
enabled: It
|
|
33620
33613
|
};
|
|
33621
33614
|
}
|
|
33622
|
-
}), q0e = /* @__PURE__ */
|
|
33615
|
+
}), q0e = /* @__PURE__ */ Fn(null), hN = "button", U0e = "Draggable";
|
|
33623
33616
|
function G1(e) {
|
|
33624
33617
|
let {
|
|
33625
33618
|
id: t,
|
|
@@ -34279,7 +34272,7 @@ const XD = ({
|
|
|
34279
34272
|
t.setCollapseHeaderExt && ((p = t.setCollapseHeaderExt) == null || p.call(
|
|
34280
34273
|
t,
|
|
34281
34274
|
/* @__PURE__ */ w.jsx(
|
|
34282
|
-
|
|
34275
|
+
Nn,
|
|
34283
34276
|
{
|
|
34284
34277
|
type: "text",
|
|
34285
34278
|
size: "small",
|
|
@@ -34322,7 +34315,7 @@ const XD = ({
|
|
|
34322
34315
|
m
|
|
34323
34316
|
)),
|
|
34324
34317
|
/* @__PURE__ */ w.jsx(
|
|
34325
|
-
|
|
34318
|
+
Nn,
|
|
34326
34319
|
{
|
|
34327
34320
|
className: K1.addOneBtn,
|
|
34328
34321
|
size: "small",
|
|
@@ -34896,7 +34889,7 @@ function pbe(e, t, n = !0) {
|
|
|
34896
34889
|
r.current = !1;
|
|
34897
34890
|
} : e, t);
|
|
34898
34891
|
}
|
|
34899
|
-
var
|
|
34892
|
+
var Xn = pbe;
|
|
34900
34893
|
function Wl() {
|
|
34901
34894
|
}
|
|
34902
34895
|
function Wa(e, t, n, r) {
|
|
@@ -34916,29 +34909,29 @@ function vbe({ original: e, modified: t, language: n, originalLanguage: r, modif
|
|
|
34916
34909
|
a3(() => {
|
|
34917
34910
|
let P = i3.init();
|
|
34918
34911
|
return P.then((A) => (k.current = A) && S(!1)).catch((A) => (A == null ? void 0 : A.type) !== "cancelation" && console.error("Monaco initialization: error:", A)), () => C.current ? T() : P.cancel();
|
|
34919
|
-
}),
|
|
34912
|
+
}), Xn(() => {
|
|
34920
34913
|
if (C.current && k.current) {
|
|
34921
34914
|
let P = C.current.getOriginalEditor(), A = Wa(k.current, e || "", r || n || "text", o || "");
|
|
34922
34915
|
A !== P.getModel() && P.setModel(A);
|
|
34923
34916
|
}
|
|
34924
|
-
}, [o], y),
|
|
34917
|
+
}, [o], y), Xn(() => {
|
|
34925
34918
|
if (C.current && k.current) {
|
|
34926
34919
|
let P = C.current.getModifiedEditor(), A = Wa(k.current, t || "", i || n || "text", a || "");
|
|
34927
34920
|
A !== P.getModel() && P.setModel(A);
|
|
34928
34921
|
}
|
|
34929
|
-
}, [a], y),
|
|
34922
|
+
}, [a], y), Xn(() => {
|
|
34930
34923
|
let P = C.current.getModifiedEditor();
|
|
34931
34924
|
P.getOption(k.current.editor.EditorOption.readOnly) ? P.setValue(t || "") : t !== P.getValue() && (P.executeEdits("", [{ range: P.getModel().getFullModelRange(), text: t || "", forceMoveMarkers: !0 }]), P.pushUndoStop());
|
|
34932
|
-
}, [t], y),
|
|
34925
|
+
}, [t], y), Xn(() => {
|
|
34933
34926
|
var P, A;
|
|
34934
34927
|
(A = (P = C.current) == null ? void 0 : P.getModel()) == null || A.original.setValue(e || "");
|
|
34935
|
-
}, [e], y),
|
|
34928
|
+
}, [e], y), Xn(() => {
|
|
34936
34929
|
let { original: P, modified: A } = C.current.getModel();
|
|
34937
34930
|
k.current.editor.setModelLanguage(P, r || n || "text"), k.current.editor.setModelLanguage(A, i || n || "text");
|
|
34938
|
-
}, [n, r, i], y),
|
|
34931
|
+
}, [n, r, i], y), Xn(() => {
|
|
34939
34932
|
var P;
|
|
34940
34933
|
(P = k.current) == null || P.editor.setTheme(c);
|
|
34941
|
-
}, [c], y),
|
|
34934
|
+
}, [c], y), Xn(() => {
|
|
34942
34935
|
var P;
|
|
34943
34936
|
(P = C.current) == null || P.updateOptions(d);
|
|
34944
34937
|
}, [d], y);
|
|
@@ -34978,23 +34971,23 @@ function wbe({ defaultValue: e, defaultLanguage: t, defaultPath: n, value: r, la
|
|
|
34978
34971
|
a3(() => {
|
|
34979
34972
|
let I = i3.init();
|
|
34980
34973
|
return I.then((V) => (E.current = V) && _(!1)).catch((V) => (V == null ? void 0 : V.type) !== "cancelation" && console.error("Monaco initialization: error:", V)), () => O.current ? z() : I.cancel();
|
|
34981
|
-
}),
|
|
34974
|
+
}), Xn(() => {
|
|
34982
34975
|
var V, M, D, H;
|
|
34983
34976
|
let I = Wa(E.current, e || r || "", t || i || "", o || n || "");
|
|
34984
34977
|
I !== ((V = O.current) == null ? void 0 : V.getModel()) && (d && Gu.set(A, (M = O.current) == null ? void 0 : M.saveViewState()), (D = O.current) == null || D.setModel(I), d && ((H = O.current) == null || H.restoreViewState(Gu.get(o))));
|
|
34985
|
-
}, [o], S),
|
|
34978
|
+
}, [o], S), Xn(() => {
|
|
34986
34979
|
var I;
|
|
34987
34980
|
(I = O.current) == null || I.updateOptions(c);
|
|
34988
|
-
}, [c], S),
|
|
34981
|
+
}, [c], S), Xn(() => {
|
|
34989
34982
|
!O.current || r === void 0 || (O.current.getOption(E.current.editor.EditorOption.readOnly) ? O.current.setValue(r) : r !== O.current.getValue() && (q.current = !0, O.current.executeEdits("", [{ range: O.current.getModel().getFullModelRange(), text: r, forceMoveMarkers: !0 }]), O.current.pushUndoStop(), q.current = !1));
|
|
34990
|
-
}, [r], S),
|
|
34983
|
+
}, [r], S), Xn(() => {
|
|
34991
34984
|
var V, M;
|
|
34992
34985
|
let I = (V = O.current) == null ? void 0 : V.getModel();
|
|
34993
34986
|
I && i && ((M = E.current) == null || M.editor.setModelLanguage(I, i));
|
|
34994
|
-
}, [i], S),
|
|
34987
|
+
}, [i], S), Xn(() => {
|
|
34995
34988
|
var I;
|
|
34996
34989
|
s !== void 0 && ((I = O.current) == null || I.revealLine(s));
|
|
34997
|
-
}, [s], S),
|
|
34990
|
+
}, [s], S), Xn(() => {
|
|
34998
34991
|
var I;
|
|
34999
34992
|
(I = E.current) == null || I.editor.setTheme(a);
|
|
35000
34993
|
}, [a], S);
|
|
@@ -35218,7 +35211,7 @@ const Zc = (e) => {
|
|
|
35218
35211
|
}
|
|
35219
35212
|
) }) : /* @__PURE__ */ w.jsxs(w.Fragment, { children: [
|
|
35220
35213
|
/* @__PURE__ */ w.jsx(
|
|
35221
|
-
|
|
35214
|
+
Nn,
|
|
35222
35215
|
{
|
|
35223
35216
|
size: "small",
|
|
35224
35217
|
style: {
|
|
@@ -35418,7 +35411,7 @@ declare global {
|
|
|
35418
35411
|
},
|
|
35419
35412
|
children: [
|
|
35420
35413
|
/* @__PURE__ */ w.jsx(
|
|
35421
|
-
|
|
35414
|
+
Nn,
|
|
35422
35415
|
{
|
|
35423
35416
|
size: "small",
|
|
35424
35417
|
style: {
|
|
@@ -36459,7 +36452,7 @@ const kbe = "_inputAuto_gk0d2_2", Obe = "_active_gk0d2_6", SN = {
|
|
|
36459
36452
|
);
|
|
36460
36453
|
};
|
|
36461
36454
|
h3.setterName = "CSS值设置器";
|
|
36462
|
-
var
|
|
36455
|
+
var jn = {}, ga = {}, gm, _N;
|
|
36463
36456
|
function p3() {
|
|
36464
36457
|
if (_N) return gm;
|
|
36465
36458
|
_N = 1;
|
|
@@ -38372,7 +38365,7 @@ function xwe() {
|
|
|
38372
38365
|
var e = aS(), t = Jxe(), n = L3(), r = Zxe(), i = nwe(), o = rwe(), a = iwe(), s = owe(), l = awe(), c = R3(), u = swe(), d = jh(), f = lwe(), h = hwe(), p = gwe(), m = Jr(), g = Y1(), v = vwe(), y = Gs(), x = bwe(), b = tu(), S = uS(), C = 1, k = 2, _ = 4, E = "[object Arguments]", O = "[object Array]", N = "[object Boolean]", j = "[object Date]", $ = "[object Error]", T = "[object Function]", P = "[object GeneratorFunction]", A = "[object Map]", F = "[object Number]", q = "[object Object]", B = "[object RegExp]", z = "[object Set]", I = "[object String]", V = "[object Symbol]", M = "[object WeakMap]", D = "[object ArrayBuffer]", H = "[object DataView]", U = "[object Float32Array]", G = "[object Float64Array]", K = "[object Int8Array]", Q = "[object Int16Array]", Z = "[object Int32Array]", ie = "[object Uint8Array]", W = "[object Uint8ClampedArray]", le = "[object Uint16Array]", te = "[object Uint32Array]", de = {};
|
|
38373
38366
|
de[E] = de[O] = de[D] = de[H] = de[N] = de[j] = de[U] = de[G] = de[K] = de[Q] = de[Z] = de[A] = de[F] = de[q] = de[B] = de[z] = de[I] = de[V] = de[ie] = de[W] = de[le] = de[te] = !0, de[$] = de[T] = de[M] = !1;
|
|
38374
38367
|
function Ee(ke, Mt, ct, yt, He, Ne) {
|
|
38375
|
-
var Me, Ft = Mt & C, Nt = Mt & k,
|
|
38368
|
+
var Me, Ft = Mt & C, Nt = Mt & k, An = Mt & _;
|
|
38376
38369
|
if (ct && (Me = He ? ct(ke, yt, He, Ne) : ct(ke)), Me !== void 0)
|
|
38377
38370
|
return Me;
|
|
38378
38371
|
if (!y(ke))
|
|
@@ -38403,7 +38396,7 @@ function xwe() {
|
|
|
38403
38396
|
}) : v(ke) && ke.forEach(function(gn, kn) {
|
|
38404
38397
|
Me.set(kn, Ee(gn, Mt, ct, kn, ke, Ne));
|
|
38405
38398
|
});
|
|
38406
|
-
var pn =
|
|
38399
|
+
var pn = An ? Nt ? u : c : Nt ? S : b, wr = Yt ? void 0 : pn(ke);
|
|
38407
38400
|
return t(wr || ke, function(gn, kn) {
|
|
38408
38401
|
wr && (kn = gn, gn = ke[kn]), n(Me, kn, Ee(gn, Mt, ct, kn, ke, Ne));
|
|
38409
38402
|
}), Me;
|
|
@@ -38692,22 +38685,22 @@ function kwe() {
|
|
|
38692
38685
|
}
|
|
38693
38686
|
var CA;
|
|
38694
38687
|
function Owe() {
|
|
38695
|
-
if (CA) return
|
|
38696
|
-
CA = 1, Object.defineProperty(
|
|
38688
|
+
if (CA) return jn;
|
|
38689
|
+
CA = 1, Object.defineProperty(jn, "__esModule", {
|
|
38697
38690
|
value: !0
|
|
38698
|
-
}),
|
|
38691
|
+
}), jn.ReactCSS = jn.loop = jn.handleActive = jn.handleHover = jn.hover = void 0;
|
|
38699
38692
|
var e = Yxe(), t = f(e), n = Swe(), r = f(n), i = _we(), o = f(i), a = Cwe(), s = f(a), l = Ewe(), c = f(l), u = kwe(), d = f(u);
|
|
38700
38693
|
function f(p) {
|
|
38701
38694
|
return p && p.__esModule ? p : { default: p };
|
|
38702
38695
|
}
|
|
38703
|
-
|
|
38704
|
-
var h =
|
|
38696
|
+
jn.hover = s.default, jn.handleHover = s.default, jn.handleActive = c.default, jn.loop = d.default;
|
|
38697
|
+
var h = jn.ReactCSS = function(m) {
|
|
38705
38698
|
for (var g = arguments.length, v = Array(g > 1 ? g - 1 : 0), y = 1; y < g; y++)
|
|
38706
38699
|
v[y - 1] = arguments[y];
|
|
38707
38700
|
var x = (0, t.default)(v), b = (0, r.default)(m, x);
|
|
38708
38701
|
return (0, o.default)(b);
|
|
38709
38702
|
};
|
|
38710
|
-
return
|
|
38703
|
+
return jn.default = h, jn;
|
|
38711
38704
|
}
|
|
38712
38705
|
var fS = Owe();
|
|
38713
38706
|
const Oe = /* @__PURE__ */ mo(fS);
|
|
@@ -39888,7 +39881,7 @@ function n1e() {
|
|
|
39888
39881
|
var r1e = /* @__PURE__ */ n1e();
|
|
39889
39882
|
const ce = /* @__PURE__ */ mo(r1e);
|
|
39890
39883
|
var nu = function(t) {
|
|
39891
|
-
var n = t.zDepth, r = t.radius, i = t.background, o = t.children, a = t.styles, s = a === void 0 ? {} : a, l = Oe(
|
|
39884
|
+
var n = t.zDepth, r = t.radius, i = t.background, o = t.children, a = t.styles, s = a === void 0 ? {} : a, l = Oe(Bn({
|
|
39892
39885
|
default: {
|
|
39893
39886
|
wrap: {
|
|
39894
39887
|
position: "relative",
|
|
@@ -40714,7 +40707,7 @@ function wt(e, t) {
|
|
|
40714
40707
|
function $h(e) {
|
|
40715
40708
|
return Math.min(1, Math.max(0, e));
|
|
40716
40709
|
}
|
|
40717
|
-
function
|
|
40710
|
+
function Wn(e) {
|
|
40718
40711
|
return parseInt(e, 16);
|
|
40719
40712
|
}
|
|
40720
40713
|
function T1e(e) {
|
|
@@ -40733,7 +40726,7 @@ function H3(e) {
|
|
|
40733
40726
|
return Math.round(parseFloat(e) * 255).toString(16);
|
|
40734
40727
|
}
|
|
40735
40728
|
function HA(e) {
|
|
40736
|
-
return
|
|
40729
|
+
return Wn(e) / 255;
|
|
40737
40730
|
}
|
|
40738
40731
|
var Er = function() {
|
|
40739
40732
|
var e = "[-\\+]?\\d+%?", t = "[-\\+]?\\d*\\.\\d+%?", n = "(?:" + t + ")|(?:" + e + ")", r = "[\\s|\\(]+(" + n + ")[,|\\s]+(" + n + ")[,|\\s]+(" + n + ")\\s*\\)?", i = "[\\s|\\(]+(" + n + ")[,|\\s]+(" + n + ")[,|\\s]+(" + n + ")[,|\\s]+(" + n + ")\\s*\\)?";
|
|
@@ -40796,26 +40789,26 @@ function A1e(e) {
|
|
|
40796
40789
|
v: n[3],
|
|
40797
40790
|
a: n[4]
|
|
40798
40791
|
} : (n = Er.hex8.exec(e)) ? {
|
|
40799
|
-
r:
|
|
40800
|
-
g:
|
|
40801
|
-
b:
|
|
40792
|
+
r: Wn(n[1]),
|
|
40793
|
+
g: Wn(n[2]),
|
|
40794
|
+
b: Wn(n[3]),
|
|
40802
40795
|
a: HA(n[4]),
|
|
40803
40796
|
format: t ? "name" : "hex8"
|
|
40804
40797
|
} : (n = Er.hex6.exec(e)) ? {
|
|
40805
|
-
r:
|
|
40806
|
-
g:
|
|
40807
|
-
b:
|
|
40798
|
+
r: Wn(n[1]),
|
|
40799
|
+
g: Wn(n[2]),
|
|
40800
|
+
b: Wn(n[3]),
|
|
40808
40801
|
format: t ? "name" : "hex"
|
|
40809
40802
|
} : (n = Er.hex4.exec(e)) ? {
|
|
40810
|
-
r:
|
|
40811
|
-
g:
|
|
40812
|
-
b:
|
|
40803
|
+
r: Wn(n[1] + "" + n[1]),
|
|
40804
|
+
g: Wn(n[2] + "" + n[2]),
|
|
40805
|
+
b: Wn(n[3] + "" + n[3]),
|
|
40813
40806
|
a: HA(n[4] + "" + n[4]),
|
|
40814
40807
|
format: t ? "name" : "hex8"
|
|
40815
40808
|
} : (n = Er.hex3.exec(e)) ? {
|
|
40816
|
-
r:
|
|
40817
|
-
g:
|
|
40818
|
-
b:
|
|
40809
|
+
r: Wn(n[1] + "" + n[1]),
|
|
40810
|
+
g: Wn(n[2] + "" + n[2]),
|
|
40811
|
+
b: Wn(n[3] + "" + n[3]),
|
|
40819
40812
|
format: t ? "name" : "hex"
|
|
40820
40813
|
} : !1;
|
|
40821
40814
|
}
|
|
@@ -40897,7 +40890,7 @@ function $1e(e, t) {
|
|
|
40897
40890
|
throw new TypeError("Super expression must either be null or a function, not " + typeof t);
|
|
40898
40891
|
e.prototype = Object.create(t && t.prototype, { constructor: { value: e, enumerable: !1, writable: !0, configurable: !0 } }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);
|
|
40899
40892
|
}
|
|
40900
|
-
var
|
|
40893
|
+
var qn = function(t) {
|
|
40901
40894
|
var n = function(r) {
|
|
40902
40895
|
$1e(i, r);
|
|
40903
40896
|
function i(o) {
|
|
@@ -41103,7 +41096,7 @@ q3.defaultProps = {
|
|
|
41103
41096
|
direction: "horizontal",
|
|
41104
41097
|
pointer: q1e
|
|
41105
41098
|
};
|
|
41106
|
-
|
|
41099
|
+
qn(q3);
|
|
41107
41100
|
var G1e = function(t) {
|
|
41108
41101
|
var n = t.colors, r = t.onClick, i = t.onSwatchHover, o = Oe({
|
|
41109
41102
|
default: {
|
|
@@ -41146,7 +41139,7 @@ var G1e = function(t) {
|
|
|
41146
41139
|
hex: g,
|
|
41147
41140
|
source: "hex"
|
|
41148
41141
|
}, v);
|
|
41149
|
-
}, p = Oe(
|
|
41142
|
+
}, p = Oe(Bn({
|
|
41150
41143
|
default: {
|
|
41151
41144
|
card: {
|
|
41152
41145
|
width: a,
|
|
@@ -41240,7 +41233,7 @@ mS.defaultProps = {
|
|
|
41240
41233
|
triangle: "top",
|
|
41241
41234
|
styles: {}
|
|
41242
41235
|
};
|
|
41243
|
-
|
|
41236
|
+
qn(mS);
|
|
41244
41237
|
var Ca = { 100: "#ffcdd2", 300: "#e57373", 500: "#f44336", 700: "#d32f2f", 900: "#b71c1c" }, Ea = { 100: "#f8bbd0", 300: "#f06292", 500: "#e91e63", 700: "#c2185b", 900: "#880e4f" }, ka = { 100: "#e1bee7", 300: "#ba68c8", 500: "#9c27b0", 700: "#7b1fa2", 900: "#4a148c" }, Oa = { 100: "#d1c4e9", 300: "#9575cd", 500: "#673ab7", 700: "#512da8", 900: "#311b92" }, Na = { 100: "#c5cae9", 300: "#7986cb", 500: "#3f51b5", 700: "#303f9f", 900: "#1a237e" }, Ta = { 100: "#bbdefb", 300: "#64b5f6", 500: "#2196f3", 700: "#1976d2", 900: "#0d47a1" }, Ra = { 100: "#b3e5fc", 300: "#4fc3f7", 500: "#03a9f4", 700: "#0288d1", 900: "#01579b" }, Aa = { 100: "#b2ebf2", 300: "#4dd0e1", 500: "#00bcd4", 700: "#0097a7", 900: "#006064" }, ja = { 100: "#b2dfdb", 300: "#4db6ac", 500: "#009688", 700: "#00796b", 900: "#004d40" }, Nl = { 100: "#c8e6c9", 300: "#81c784", 500: "#4caf50", 700: "#388e3c" }, Pa = { 100: "#dcedc8", 300: "#aed581", 500: "#8bc34a", 700: "#689f38", 900: "#33691e" }, Ma = { 100: "#f0f4c3", 300: "#dce775", 500: "#cddc39", 700: "#afb42b", 900: "#827717" }, Ia = { 100: "#fff9c4", 300: "#fff176", 500: "#ffeb3b", 700: "#fbc02d", 900: "#f57f17" }, $a = { 100: "#ffecb3", 300: "#ffd54f", 500: "#ffc107", 700: "#ffa000", 900: "#ff6f00" }, La = { 100: "#ffe0b2", 300: "#ffb74d", 500: "#ff9800", 700: "#f57c00", 900: "#e65100" }, Da = { 100: "#ffccbc", 300: "#ff8a65", 500: "#ff5722", 700: "#e64a19", 900: "#bf360c" }, za = { 100: "#d7ccc8", 300: "#a1887f", 500: "#795548", 700: "#5d4037", 900: "#3e2723" }, Fa = { 100: "#cfd8dc", 300: "#90a4ae", 500: "#607d8b", 700: "#455a64", 900: "#263238" }, U3 = function(t) {
|
|
41245
41238
|
var n = t.color, r = t.onClick, i = t.onSwatchHover, o = t.hover, a = t.active, s = t.circleSize, l = t.circleSpacing, c = Oe({
|
|
41246
41239
|
default: {
|
|
@@ -41288,7 +41281,7 @@ U3.defaultProps = {
|
|
|
41288
41281
|
};
|
|
41289
41282
|
const W1e = fS.handleHover(U3);
|
|
41290
41283
|
var vS = function(t) {
|
|
41291
|
-
var n = t.width, r = t.onChange, i = t.onSwatchHover, o = t.colors, a = t.hex, s = t.circleSize, l = t.styles, c = l === void 0 ? {} : l, u = t.circleSpacing, d = t.className, f = d === void 0 ? "" : d, h = Oe(
|
|
41284
|
+
var n = t.width, r = t.onChange, i = t.onSwatchHover, o = t.colors, a = t.hex, s = t.circleSize, l = t.styles, c = l === void 0 ? {} : l, u = t.circleSpacing, d = t.className, f = d === void 0 ? "" : d, h = Oe(Bn({
|
|
41292
41285
|
default: {
|
|
41293
41286
|
card: {
|
|
41294
41287
|
width: n,
|
|
@@ -41330,7 +41323,7 @@ vS.defaultProps = {
|
|
|
41330
41323
|
colors: [Ca[500], Ea[500], ka[500], Oa[500], Na[500], Ta[500], Ra[500], Aa[500], ja[500], Nl[500], Pa[500], Ma[500], Ia[500], $a[500], La[500], Da[500], za[500], Fa[500]],
|
|
41331
41324
|
styles: {}
|
|
41332
41325
|
};
|
|
41333
|
-
|
|
41326
|
+
qn(vS);
|
|
41334
41327
|
var Yu = {}, WA;
|
|
41335
41328
|
function K1e() {
|
|
41336
41329
|
if (WA) return Yu;
|
|
@@ -41669,7 +41662,7 @@ var KA = function() {
|
|
|
41669
41662
|
});
|
|
41670
41663
|
return R.createElement("div", { style: t.picker });
|
|
41671
41664
|
}, yS = function(t) {
|
|
41672
|
-
var n = t.width, r = t.onChange, i = t.disableAlpha, o = t.rgb, a = t.hsl, s = t.hsv, l = t.hex, c = t.renderers, u = t.styles, d = u === void 0 ? {} : u, f = t.className, h = f === void 0 ? "" : f, p = t.defaultView, m = Oe(
|
|
41665
|
+
var n = t.width, r = t.onChange, i = t.disableAlpha, o = t.rgb, a = t.hsl, s = t.hsv, l = t.hex, c = t.renderers, u = t.styles, d = u === void 0 ? {} : u, f = t.className, h = f === void 0 ? "" : f, p = t.defaultView, m = Oe(Bn({
|
|
41673
41666
|
default: {
|
|
41674
41667
|
picker: {
|
|
41675
41668
|
width: n,
|
|
@@ -41828,7 +41821,7 @@ yS.defaultProps = {
|
|
|
41828
41821
|
disableAlpha: !1,
|
|
41829
41822
|
styles: {}
|
|
41830
41823
|
};
|
|
41831
|
-
|
|
41824
|
+
qn(yS);
|
|
41832
41825
|
var nSe = function(t) {
|
|
41833
41826
|
var n = t.color, r = t.onClick, i = r === void 0 ? function() {
|
|
41834
41827
|
} : r, o = t.onSwatchHover, a = t.active, s = Oe({
|
|
@@ -41981,7 +41974,7 @@ var nSe = function(t) {
|
|
|
41981
41974
|
})
|
|
41982
41975
|
);
|
|
41983
41976
|
}, bS = function(t) {
|
|
41984
|
-
var n = t.onChange, r = t.onSwatchHover, i = t.colors, o = t.hex, a = t.rgb, s = t.styles, l = s === void 0 ? {} : s, c = t.className, u = c === void 0 ? "" : c, d = Oe(
|
|
41977
|
+
var n = t.onChange, r = t.onSwatchHover, i = t.colors, o = t.hex, a = t.rgb, s = t.styles, l = s === void 0 ? {} : s, c = t.className, u = c === void 0 ? "" : c, d = Oe(Bn({
|
|
41985
41978
|
default: {
|
|
41986
41979
|
Compact: {
|
|
41987
41980
|
background: "#f6f6f6",
|
|
@@ -42035,7 +42028,7 @@ bS.defaultProps = {
|
|
|
42035
42028
|
colors: ["#4D4D4D", "#999999", "#FFFFFF", "#F44E3B", "#FE9200", "#FCDC00", "#DBDF00", "#A4DD00", "#68CCCA", "#73D8FF", "#AEA1FF", "#FDA1FF", "#333333", "#808080", "#cccccc", "#D33115", "#E27300", "#FCC400", "#B0BC00", "#68BC00", "#16A5A5", "#009CE0", "#7B64FF", "#FA28FF", "#000000", "#666666", "#B3B3B3", "#9F0500", "#C45100", "#FB9E00", "#808900", "#194D33", "#0C797D", "#0062B1", "#653294", "#AB149E"],
|
|
42036
42029
|
styles: {}
|
|
42037
42030
|
};
|
|
42038
|
-
|
|
42031
|
+
qn(bS);
|
|
42039
42032
|
var iSe = function(t) {
|
|
42040
42033
|
var n = t.hover, r = t.color, i = t.onClick, o = t.onSwatchHover, a = {
|
|
42041
42034
|
position: "relative",
|
|
@@ -42067,7 +42060,7 @@ var iSe = function(t) {
|
|
|
42067
42060
|
};
|
|
42068
42061
|
const oSe = fS.handleHover(iSe);
|
|
42069
42062
|
var xS = function(t) {
|
|
42070
|
-
var n = t.width, r = t.colors, i = t.onChange, o = t.onSwatchHover, a = t.triangle, s = t.styles, l = s === void 0 ? {} : s, c = t.className, u = c === void 0 ? "" : c, d = Oe(
|
|
42063
|
+
var n = t.width, r = t.colors, i = t.onChange, o = t.onSwatchHover, a = t.triangle, s = t.styles, l = s === void 0 ? {} : s, c = t.className, u = c === void 0 ? "" : c, d = Oe(Bn({
|
|
42071
42064
|
default: {
|
|
42072
42065
|
card: {
|
|
42073
42066
|
width: n,
|
|
@@ -42179,7 +42172,7 @@ xS.defaultProps = {
|
|
|
42179
42172
|
triangle: "top-left",
|
|
42180
42173
|
styles: {}
|
|
42181
42174
|
};
|
|
42182
|
-
|
|
42175
|
+
qn(xS);
|
|
42183
42176
|
var aSe = function(t) {
|
|
42184
42177
|
var n = t.direction, r = Oe({
|
|
42185
42178
|
default: {
|
|
@@ -42207,7 +42200,7 @@ var aSe = function(t) {
|
|
|
42207
42200
|
}
|
|
42208
42201
|
return e;
|
|
42209
42202
|
}, wS = function(t) {
|
|
42210
|
-
var n = t.width, r = t.height, i = t.onChange, o = t.hsl, a = t.direction, s = t.pointer, l = t.styles, c = l === void 0 ? {} : l, u = t.className, d = u === void 0 ? "" : u, f = Oe(
|
|
42203
|
+
var n = t.width, r = t.height, i = t.onChange, o = t.hsl, a = t.direction, s = t.pointer, l = t.styles, c = l === void 0 ? {} : l, u = t.className, d = u === void 0 ? "" : u, f = Oe(Bn({
|
|
42211
42204
|
default: {
|
|
42212
42205
|
picker: {
|
|
42213
42206
|
position: "relative",
|
|
@@ -42242,9 +42235,9 @@ wS.defaultProps = {
|
|
|
42242
42235
|
pointer: aSe,
|
|
42243
42236
|
styles: {}
|
|
42244
42237
|
};
|
|
42245
|
-
|
|
42238
|
+
qn(wS);
|
|
42246
42239
|
var lSe = function(t) {
|
|
42247
|
-
var n = t.onChange, r = t.hex, i = t.rgb, o = t.styles, a = o === void 0 ? {} : o, s = t.className, l = s === void 0 ? "" : s, c = Oe(
|
|
42240
|
+
var n = t.onChange, r = t.hex, i = t.rgb, o = t.styles, a = o === void 0 ? {} : o, s = t.className, l = s === void 0 ? "" : s, c = Oe(Bn({
|
|
42248
42241
|
default: {
|
|
42249
42242
|
material: {
|
|
42250
42243
|
width: "98px",
|
|
@@ -42369,7 +42362,7 @@ var lSe = function(t) {
|
|
|
42369
42362
|
)
|
|
42370
42363
|
);
|
|
42371
42364
|
};
|
|
42372
|
-
|
|
42365
|
+
qn(lSe);
|
|
42373
42366
|
var cSe = function(t) {
|
|
42374
42367
|
var n = t.onChange, r = t.rgb, i = t.hsv, o = t.hex, a = Oe({
|
|
42375
42368
|
default: {
|
|
@@ -42705,7 +42698,7 @@ var SS = function(e) {
|
|
|
42705
42698
|
return hSe(t, [{
|
|
42706
42699
|
key: "render",
|
|
42707
42700
|
value: function() {
|
|
42708
|
-
var r = this.props, i = r.styles, o = i === void 0 ? {} : i, a = r.className, s = a === void 0 ? "" : a, l = Oe(
|
|
42701
|
+
var r = this.props, i = r.styles, o = i === void 0 ? {} : i, a = r.className, s = a === void 0 ? "" : a, l = Oe(Bn({
|
|
42709
42702
|
default: {
|
|
42710
42703
|
picker: {
|
|
42711
42704
|
background: "#DCDCDC",
|
|
@@ -42833,7 +42826,7 @@ SS.defaultProps = {
|
|
|
42833
42826
|
header: "Color Picker",
|
|
42834
42827
|
styles: {}
|
|
42835
42828
|
};
|
|
42836
|
-
|
|
42829
|
+
qn(SS);
|
|
42837
42830
|
var vSe = function(t) {
|
|
42838
42831
|
var n = t.onChange, r = t.rgb, i = t.hsl, o = t.hex, a = t.disableAlpha, s = Oe({
|
|
42839
42832
|
default: {
|
|
@@ -43030,7 +43023,7 @@ var bSe = Object.assign || function(e) {
|
|
|
43030
43023
|
}
|
|
43031
43024
|
return e;
|
|
43032
43025
|
}, _S = function(t) {
|
|
43033
|
-
var n = t.width, r = t.rgb, i = t.hex, o = t.hsv, a = t.hsl, s = t.onChange, l = t.onSwatchHover, c = t.disableAlpha, u = t.presetColors, d = t.renderers, f = t.styles, h = f === void 0 ? {} : f, p = t.className, m = p === void 0 ? "" : p, g = Oe(
|
|
43026
|
+
var n = t.width, r = t.rgb, i = t.hex, o = t.hsv, a = t.hsl, s = t.onChange, l = t.onSwatchHover, c = t.disableAlpha, u = t.presetColors, d = t.renderers, f = t.styles, h = f === void 0 ? {} : f, p = t.className, m = p === void 0 ? "" : p, g = Oe(Bn({
|
|
43034
43027
|
default: bSe({
|
|
43035
43028
|
picker: {
|
|
43036
43029
|
width: n,
|
|
@@ -43175,7 +43168,7 @@ _S.defaultProps = {
|
|
|
43175
43168
|
styles: {},
|
|
43176
43169
|
presetColors: ["#D0021B", "#F5A623", "#F8E71C", "#8B572A", "#7ED321", "#417505", "#BD10E0", "#9013FE", "#4A90E2", "#50E3C2", "#B8E986", "#000000", "#4A4A4A", "#9B9B9B", "#FFFFFF"]
|
|
43177
43170
|
};
|
|
43178
|
-
const xSe =
|
|
43171
|
+
const xSe = qn(_S);
|
|
43179
43172
|
var fl = function(t) {
|
|
43180
43173
|
var n = t.hsl, r = t.offset, i = t.onClick, o = i === void 0 ? function() {
|
|
43181
43174
|
} : i, a = t.active, s = t.first, l = t.last, c = Oe({
|
|
@@ -43300,7 +43293,7 @@ var fl = function(t) {
|
|
|
43300
43293
|
});
|
|
43301
43294
|
return R.createElement("div", { style: t.picker });
|
|
43302
43295
|
}, CS = function(t) {
|
|
43303
|
-
var n = t.hsl, r = t.onChange, i = t.pointer, o = t.styles, a = o === void 0 ? {} : o, s = t.className, l = s === void 0 ? "" : s, c = Oe(
|
|
43296
|
+
var n = t.hsl, r = t.onChange, i = t.pointer, o = t.styles, a = o === void 0 ? {} : o, s = t.className, l = s === void 0 ? "" : s, c = Oe(Bn({
|
|
43304
43297
|
default: {
|
|
43305
43298
|
hue: {
|
|
43306
43299
|
height: "12px",
|
|
@@ -43338,7 +43331,7 @@ CS.defaultProps = {
|
|
|
43338
43331
|
pointer: SSe,
|
|
43339
43332
|
styles: {}
|
|
43340
43333
|
};
|
|
43341
|
-
|
|
43334
|
+
qn(CS);
|
|
43342
43335
|
var Ju = {}, YA;
|
|
43343
43336
|
function _Se() {
|
|
43344
43337
|
if (YA) return Ju;
|
|
@@ -43473,7 +43466,7 @@ var kSe = function(t) {
|
|
|
43473
43466
|
})
|
|
43474
43467
|
);
|
|
43475
43468
|
}, ES = function(t) {
|
|
43476
|
-
var n = t.width, r = t.height, i = t.onChange, o = t.onSwatchHover, a = t.colors, s = t.hex, l = t.styles, c = l === void 0 ? {} : l, u = t.className, d = u === void 0 ? "" : u, f = Oe(
|
|
43469
|
+
var n = t.width, r = t.height, i = t.onChange, o = t.onSwatchHover, a = t.colors, s = t.hex, l = t.styles, c = l === void 0 ? {} : l, u = t.className, d = u === void 0 ? "" : u, f = Oe(Bn({
|
|
43477
43470
|
default: {
|
|
43478
43471
|
picker: {
|
|
43479
43472
|
width: n,
|
|
@@ -43533,9 +43526,9 @@ ES.defaultProps = {
|
|
|
43533
43526
|
colors: [[Ca[900], Ca[700], Ca[500], Ca[300], Ca[100]], [Ea[900], Ea[700], Ea[500], Ea[300], Ea[100]], [ka[900], ka[700], ka[500], ka[300], ka[100]], [Oa[900], Oa[700], Oa[500], Oa[300], Oa[100]], [Na[900], Na[700], Na[500], Na[300], Na[100]], [Ta[900], Ta[700], Ta[500], Ta[300], Ta[100]], [Ra[900], Ra[700], Ra[500], Ra[300], Ra[100]], [Aa[900], Aa[700], Aa[500], Aa[300], Aa[100]], [ja[900], ja[700], ja[500], ja[300], ja[100]], ["#194D33", Nl[700], Nl[500], Nl[300], Nl[100]], [Pa[900], Pa[700], Pa[500], Pa[300], Pa[100]], [Ma[900], Ma[700], Ma[500], Ma[300], Ma[100]], [Ia[900], Ia[700], Ia[500], Ia[300], Ia[100]], [$a[900], $a[700], $a[500], $a[300], $a[100]], [La[900], La[700], La[500], La[300], La[100]], [Da[900], Da[700], Da[500], Da[300], Da[100]], [za[900], za[700], za[500], za[300], za[100]], [Fa[900], Fa[700], Fa[500], Fa[300], Fa[100]], ["#000000", "#525252", "#969696", "#D9D9D9", "#FFFFFF"]],
|
|
43534
43527
|
styles: {}
|
|
43535
43528
|
};
|
|
43536
|
-
|
|
43529
|
+
qn(ES);
|
|
43537
43530
|
var kS = function(t) {
|
|
43538
|
-
var n = t.onChange, r = t.onSwatchHover, i = t.hex, o = t.colors, a = t.width, s = t.triangle, l = t.styles, c = l === void 0 ? {} : l, u = t.className, d = u === void 0 ? "" : u, f = Oe(
|
|
43531
|
+
var n = t.onChange, r = t.onSwatchHover, i = t.hex, o = t.colors, a = t.width, s = t.triangle, l = t.styles, c = l === void 0 ? {} : l, u = t.className, d = u === void 0 ? "" : u, f = Oe(Bn({
|
|
43539
43532
|
default: {
|
|
43540
43533
|
card: {
|
|
43541
43534
|
width: a,
|
|
@@ -43689,7 +43682,7 @@ kS.defaultProps = {
|
|
|
43689
43682
|
triangle: "top-left",
|
|
43690
43683
|
styles: {}
|
|
43691
43684
|
};
|
|
43692
|
-
|
|
43685
|
+
qn(kS);
|
|
43693
43686
|
var OS = function(t) {
|
|
43694
43687
|
var n = Oe({
|
|
43695
43688
|
default: {
|
|
@@ -43905,7 +43898,7 @@ var NSe = function(t) {
|
|
|
43905
43898
|
)
|
|
43906
43899
|
);
|
|
43907
43900
|
}, TS = function(t) {
|
|
43908
|
-
var n = t.width, r = t.onChange, i = t.rgb, o = t.hsl, a = t.hsv, s = t.hex, l = t.header, c = t.styles, u = c === void 0 ? {} : c, d = t.className, f = d === void 0 ? "" : d, h = Oe(
|
|
43901
|
+
var n = t.width, r = t.onChange, i = t.rgb, o = t.hsl, a = t.hsv, s = t.hex, l = t.header, c = t.styles, u = c === void 0 ? {} : c, d = t.className, f = d === void 0 ? "" : d, h = Oe(Bn({
|
|
43909
43902
|
default: {
|
|
43910
43903
|
picker: {
|
|
43911
43904
|
width: n,
|
|
@@ -44021,7 +44014,7 @@ TS.defaultProps = {
|
|
|
44021
44014
|
styles: {},
|
|
44022
44015
|
header: "Color picker"
|
|
44023
44016
|
};
|
|
44024
|
-
|
|
44017
|
+
qn(TS);
|
|
44025
44018
|
const K3 = ({ onValueChange: e, initialValue: t, value: n }) => /* @__PURE__ */ w.jsx(
|
|
44026
44019
|
Pt,
|
|
44027
44020
|
{
|
|
@@ -44932,7 +44925,7 @@ const go = {
|
|
|
44932
44925
|
}, [e.pageModel, r == null ? void 0 : r.nodeId]);
|
|
44933
44926
|
return /* @__PURE__ */ w.jsxs(w.Fragment, { children: [
|
|
44934
44927
|
/* @__PURE__ */ w.jsx(
|
|
44935
|
-
|
|
44928
|
+
Nn,
|
|
44936
44929
|
{
|
|
44937
44930
|
style: {
|
|
44938
44931
|
width: "200px"
|
|
@@ -45217,7 +45210,7 @@ const ZSe = "_l_1lpc6_2", e_e = "_r_1lpc6_11", t_e = "_b_1lpc6_20", n_e = "_drag
|
|
|
45217
45210
|
]
|
|
45218
45211
|
}
|
|
45219
45212
|
);
|
|
45220
|
-
}, t6 =
|
|
45213
|
+
}, t6 = Fn({
|
|
45221
45214
|
pluginCtx: null,
|
|
45222
45215
|
pageModel: null,
|
|
45223
45216
|
onDataChange: () => {
|
|
@@ -45900,14 +45893,14 @@ const yf = "args.", d_e = (e, t) => {
|
|
|
45900
45893
|
}
|
|
45901
45894
|
);
|
|
45902
45895
|
};
|
|
45903
|
-
var
|
|
45896
|
+
var In = ((e) => (e.START_NODE = "START_NODE", e[e.JUMP_LINK = xn.JUMP_LINK] = "JUMP_LINK", e[e.ASSIGN_VALUE = xn.ASSIGN_VALUE] = "ASSIGN_VALUE", e[e.CALL_NODE_METHOD = xn.CALL_NODE_METHOD] = "CALL_NODE_METHOD", e[e.RUN_CODE = xn.RUN_CODE] = "RUN_CODE", e[e.REQUEST_API = xn.REQUEST_API] = "REQUEST_API", e))(In || {});
|
|
45904
45897
|
const w_e = {
|
|
45905
45898
|
START_NODE: l_e,
|
|
45906
|
-
[
|
|
45907
|
-
[
|
|
45908
|
-
[
|
|
45909
|
-
[
|
|
45910
|
-
[
|
|
45899
|
+
[In.JUMP_LINK]: g_e,
|
|
45900
|
+
[In.ASSIGN_VALUE]: s_e,
|
|
45901
|
+
[In.CALL_NODE_METHOD]: p_e,
|
|
45902
|
+
[In.RUN_CODE]: x_e,
|
|
45903
|
+
[In.REQUEST_API]: b_e
|
|
45911
45904
|
}, S_e = (e, t, n) => {
|
|
45912
45905
|
const r = new ZO.graphlib.Graph().setDefaultEdgeLabel(() => ({}));
|
|
45913
45906
|
return r.setGraph({ rankdir: n.direction }), t.forEach((i) => r.setEdge(i.source, i.target)), e.forEach(
|
|
@@ -45934,7 +45927,7 @@ const w_e = {
|
|
|
45934
45927
|
type: e.type,
|
|
45935
45928
|
position: { x: 0, y: 0 },
|
|
45936
45929
|
dragHandle: `.${Ri}`,
|
|
45937
|
-
selectable: e.type !==
|
|
45930
|
+
selectable: e.type !== In.START_NODE,
|
|
45938
45931
|
data: {
|
|
45939
45932
|
...e,
|
|
45940
45933
|
id: t
|
|
@@ -45950,8 +45943,8 @@ const w_e = {
|
|
|
45950
45943
|
var o;
|
|
45951
45944
|
const t = [
|
|
45952
45945
|
tj({
|
|
45953
|
-
id:
|
|
45954
|
-
type:
|
|
45946
|
+
id: In.START_NODE,
|
|
45947
|
+
type: In.START_NODE
|
|
45955
45948
|
})
|
|
45956
45949
|
], n = [];
|
|
45957
45950
|
if (!((o = e == null ? void 0 : e.handler) != null && o.length))
|
|
@@ -45965,12 +45958,12 @@ const w_e = {
|
|
|
45965
45958
|
})));
|
|
45966
45959
|
});
|
|
45967
45960
|
}, i = e.handler[0];
|
|
45968
|
-
return n.push(ed(
|
|
45961
|
+
return n.push(ed(In.START_NODE, i.id)), r(e.handler), { nodes: t, edges: n };
|
|
45969
45962
|
}, C_e = (e) => {
|
|
45970
45963
|
const { nodes: t, edges: n } = e, r = {
|
|
45971
45964
|
type: "ACTION",
|
|
45972
45965
|
handler: []
|
|
45973
|
-
}, i = t.find((c) => c.type ===
|
|
45966
|
+
}, i = t.find((c) => c.type === In.START_NODE);
|
|
45974
45967
|
if (!i) return r;
|
|
45975
45968
|
const o = new Map(t.map((c) => [c.id, c])), a = /* @__PURE__ */ new Set(), s = (c) => {
|
|
45976
45969
|
if (a.has(c)) return [];
|
|
@@ -46040,10 +46033,10 @@ const w_e = {
|
|
|
46040
46033
|
var v, y, x;
|
|
46041
46034
|
const { fitView: t } = na(), [n, r] = re(!1), [i, o, a] = Wge([
|
|
46042
46035
|
{
|
|
46043
|
-
id:
|
|
46044
|
-
data: { id:
|
|
46036
|
+
id: In.START_NODE,
|
|
46037
|
+
data: { id: In.START_NODE },
|
|
46045
46038
|
position: { x: 0, y: 0 },
|
|
46046
|
-
type:
|
|
46039
|
+
type: In.START_NODE,
|
|
46047
46040
|
dragHandle: `.${Ri}`,
|
|
46048
46041
|
selectable: !1
|
|
46049
46042
|
}
|
|
@@ -46101,7 +46094,7 @@ const w_e = {
|
|
|
46101
46094
|
},
|
|
46102
46095
|
children: [
|
|
46103
46096
|
/* @__PURE__ */ w.jsx(
|
|
46104
|
-
|
|
46097
|
+
Nn,
|
|
46105
46098
|
{
|
|
46106
46099
|
style: {
|
|
46107
46100
|
position: "absolute",
|
|
@@ -46173,7 +46166,7 @@ const w_e = {
|
|
|
46173
46166
|
const s = await ((u = (c = (l = e.setterContext) == null ? void 0 : l.pluginCtx) == null ? void 0 : c.pluginManager) == null ? void 0 : u.get("Hotkeys"));
|
|
46174
46167
|
s == null || s.export.disable(a);
|
|
46175
46168
|
}, o = e.children || /* @__PURE__ */ w.jsx(
|
|
46176
|
-
|
|
46169
|
+
Nn,
|
|
46177
46170
|
{
|
|
46178
46171
|
size: "small",
|
|
46179
46172
|
style: {
|
|
@@ -47297,7 +47290,7 @@ const N_e = {
|
|
|
47297
47290
|
},
|
|
47298
47291
|
children: [
|
|
47299
47292
|
t.onDelete && s === "edit" && /* @__PURE__ */ w.jsx(
|
|
47300
|
-
|
|
47293
|
+
Nn,
|
|
47301
47294
|
{
|
|
47302
47295
|
size: "small",
|
|
47303
47296
|
type: "text",
|
|
@@ -47317,7 +47310,7 @@ const N_e = {
|
|
|
47317
47310
|
}
|
|
47318
47311
|
),
|
|
47319
47312
|
t.onCreate && s === "create" && /* @__PURE__ */ w.jsx("div", { children: /* @__PURE__ */ w.jsx(
|
|
47320
|
-
|
|
47313
|
+
Nn,
|
|
47321
47314
|
{
|
|
47322
47315
|
size: "small",
|
|
47323
47316
|
type: "text",
|
|
@@ -48587,7 +48580,7 @@ function Sa(e) {
|
|
|
48587
48580
|
return e.notSplit = !0, e;
|
|
48588
48581
|
}
|
|
48589
48582
|
Sa(["borderTop", "borderBottom"]), Sa(["borderTop"]), Sa(["borderBottom"]), Sa(["borderLeft", "borderRight"]), Sa(["borderLeft"]), Sa(["borderRight"]);
|
|
48590
|
-
var aEe = /* @__PURE__ */
|
|
48583
|
+
var aEe = /* @__PURE__ */ Fn({});
|
|
48591
48584
|
function Ix(e, t) {
|
|
48592
48585
|
for (var n = e, r = 0; r < t.length; r += 1) {
|
|
48593
48586
|
if (n == null)
|
|
@@ -48662,7 +48655,7 @@ const O6 = /* @__PURE__ */ J.createContext({}), Bh = "{}".NODE_ENV !== "producti
|
|
|
48662
48655
|
const e = () => {
|
|
48663
48656
|
};
|
|
48664
48657
|
return e.deprecated = k6, e;
|
|
48665
|
-
}, dEe = /* @__PURE__ */
|
|
48658
|
+
}, dEe = /* @__PURE__ */ Fn(void 0), Gn = "${label} is not a valid ${type}", Vh = {
|
|
48666
48659
|
Modal: {
|
|
48667
48660
|
okText: "OK",
|
|
48668
48661
|
cancelText: "Cancel",
|
|
@@ -48681,19 +48674,19 @@ const O6 = /* @__PURE__ */ J.createContext({}), Bh = "{}".NODE_ENV !== "producti
|
|
|
48681
48674
|
invalid: "${label} is an invalid date"
|
|
48682
48675
|
},
|
|
48683
48676
|
types: {
|
|
48684
|
-
string:
|
|
48685
|
-
method:
|
|
48686
|
-
array:
|
|
48687
|
-
object:
|
|
48688
|
-
number:
|
|
48689
|
-
date:
|
|
48690
|
-
boolean:
|
|
48691
|
-
integer:
|
|
48692
|
-
float:
|
|
48693
|
-
regexp:
|
|
48694
|
-
email:
|
|
48695
|
-
url:
|
|
48696
|
-
hex:
|
|
48677
|
+
string: Gn,
|
|
48678
|
+
method: Gn,
|
|
48679
|
+
array: Gn,
|
|
48680
|
+
object: Gn,
|
|
48681
|
+
number: Gn,
|
|
48682
|
+
date: Gn,
|
|
48683
|
+
boolean: Gn,
|
|
48684
|
+
integer: Gn,
|
|
48685
|
+
float: Gn,
|
|
48686
|
+
regexp: Gn,
|
|
48687
|
+
email: Gn,
|
|
48688
|
+
url: Gn,
|
|
48689
|
+
hex: Gn
|
|
48697
48690
|
},
|
|
48698
48691
|
string: {
|
|
48699
48692
|
len: "${label} must be ${len} characters",
|
|
@@ -48731,7 +48724,7 @@ function fEe(e) {
|
|
|
48731
48724
|
}
|
|
48732
48725
|
Object.assign({}, Vh.Modal);
|
|
48733
48726
|
}
|
|
48734
|
-
const N6 = /* @__PURE__ */
|
|
48727
|
+
const N6 = /* @__PURE__ */ Fn(void 0), T6 = "internalMark", R6 = (e) => {
|
|
48735
48728
|
const {
|
|
48736
48729
|
locale: t = {},
|
|
48737
48730
|
children: n,
|
|
@@ -49124,7 +49117,7 @@ var jEe = /* @__PURE__ */ function(e) {
|
|
|
49124
49117
|
var t = Dh(n);
|
|
49125
49118
|
function n(r, i) {
|
|
49126
49119
|
var o;
|
|
49127
|
-
Wt(this, n), o = t.call(this), he(
|
|
49120
|
+
Wt(this, n), o = t.call(this), he(Dn(o), "result", ""), he(Dn(o), "unitlessCssVar", void 0), he(Dn(o), "lowPriority", void 0);
|
|
49128
49121
|
var a = Fe(r);
|
|
49129
49122
|
return o.unitlessCssVar = i, r instanceof n ? o.result = "(".concat(r.result, ")") : a === "number" ? o.result = Sy(r) : a === "string" && (o.result = r), o;
|
|
49130
49123
|
}
|
|
@@ -49167,7 +49160,7 @@ var jEe = /* @__PURE__ */ function(e) {
|
|
|
49167
49160
|
var t = Dh(n);
|
|
49168
49161
|
function n(r) {
|
|
49169
49162
|
var i;
|
|
49170
|
-
return Wt(this, n), i = t.call(this), he(
|
|
49163
|
+
return Wt(this, n), i = t.call(this), he(Dn(i), "result", 0), r instanceof n ? i.result = r.result : typeof r == "number" && (i.result = r), i;
|
|
49171
49164
|
}
|
|
49172
49165
|
return Kt(n, [{
|
|
49173
49166
|
key: "add",
|
|
@@ -50349,9 +50342,9 @@ function kke(e) {
|
|
|
50349
50342
|
Wt(this, o);
|
|
50350
50343
|
for (var s = arguments.length, l = new Array(s), c = 0; c < s; c++)
|
|
50351
50344
|
l[c] = arguments[c];
|
|
50352
|
-
return a = i.call.apply(i, [this].concat(l)), he(
|
|
50345
|
+
return a = i.call.apply(i, [this].concat(l)), he(Dn(a), "state", {
|
|
50353
50346
|
keyEntities: []
|
|
50354
|
-
}), he(
|
|
50347
|
+
}), he(Dn(a), "removeKey", function(u) {
|
|
50355
50348
|
a.setState(function(d) {
|
|
50356
50349
|
var f = d.keyEntities.map(function(h) {
|
|
50357
50350
|
return h.key !== u ? h : ve(ve({}, h), {}, {
|
|
@@ -50521,7 +50514,7 @@ const Pke = (e) => {
|
|
|
50521
50514
|
tabs: Me,
|
|
50522
50515
|
timeline: Ft,
|
|
50523
50516
|
timePicker: Nt,
|
|
50524
|
-
upload:
|
|
50517
|
+
upload: An,
|
|
50525
50518
|
notification: Yt,
|
|
50526
50519
|
tree: Jt,
|
|
50527
50520
|
colorPicker: ln,
|
|
@@ -50607,7 +50600,7 @@ const Pke = (e) => {
|
|
|
50607
50600
|
tabs: Me,
|
|
50608
50601
|
timeline: Ft,
|
|
50609
50602
|
timePicker: Nt,
|
|
50610
|
-
upload:
|
|
50603
|
+
upload: An,
|
|
50611
50604
|
notification: Yt,
|
|
50612
50605
|
tree: Jt,
|
|
50613
50606
|
colorPicker: ln,
|
|
@@ -51005,7 +50998,7 @@ const Fke = /* @__PURE__ */ J.forwardRef((e, t) => {
|
|
|
51005
50998
|
}
|
|
51006
50999
|
),
|
|
51007
51000
|
t.onDelete && o === "edit" && /* @__PURE__ */ w.jsx(
|
|
51008
|
-
|
|
51001
|
+
Nn,
|
|
51009
51002
|
{
|
|
51010
51003
|
size: "small",
|
|
51011
51004
|
type: "text",
|
|
@@ -51025,7 +51018,7 @@ const Fke = /* @__PURE__ */ J.forwardRef((e, t) => {
|
|
|
51025
51018
|
}
|
|
51026
51019
|
),
|
|
51027
51020
|
t.onCreate && o === "create" && /* @__PURE__ */ w.jsx("div", { children: /* @__PURE__ */ w.jsx(
|
|
51028
|
-
|
|
51021
|
+
Nn,
|
|
51029
51022
|
{
|
|
51030
51023
|
size: "small",
|
|
51031
51024
|
type: "text",
|
|
@@ -52697,7 +52690,7 @@ const Co = {
|
|
|
52697
52690
|
}
|
|
52698
52691
|
),
|
|
52699
52692
|
/* @__PURE__ */ w.jsx(
|
|
52700
|
-
|
|
52693
|
+
Nn,
|
|
52701
52694
|
{
|
|
52702
52695
|
type: "primary",
|
|
52703
52696
|
style: { marginLeft: "10px" },
|
|
@@ -52763,7 +52756,7 @@ const Co = {
|
|
|
52763
52756
|
}
|
|
52764
52757
|
),
|
|
52765
52758
|
/* @__PURE__ */ w.jsx(
|
|
52766
|
-
|
|
52759
|
+
Nn,
|
|
52767
52760
|
{
|
|
52768
52761
|
type: "text",
|
|
52769
52762
|
size: "small",
|
|
@@ -54115,7 +54108,7 @@ class z2e extends R.Component {
|
|
|
54115
54108
|
return /* @__PURE__ */ w.jsx("div", { className: Be([Lse.engineContainer, this.props.className]), style: this.props.style, children: /* @__PURE__ */ w.jsx(Ise, { ref: this.workbenchRef, emitter: this.emitter, ...this.workbenchConfig }) });
|
|
54116
54109
|
}
|
|
54117
54110
|
}
|
|
54118
|
-
Y(z2e, "version", "0.
|
|
54111
|
+
Y(z2e, "version", "0.4.0");
|
|
54119
54112
|
export {
|
|
54120
54113
|
o6 as AdvancePanel,
|
|
54121
54114
|
a6 as AdvancePanelConfig,
|