@chamn/engine 0.0.21 → 0.0.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +25 -25
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +783 -783
- package/dist/index.mjs.map +1 -1
- package/package.json +9 -8
package/dist/index.mjs
CHANGED
|
@@ -2,7 +2,7 @@ var cb = Object.defineProperty;
|
|
|
2
2
|
var ub = (e, t, n) => t in e ? cb(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
3
|
var I = (e, t, n) => (ub(e, typeof t != "symbol" ? t + "" : t, n), n);
|
|
4
4
|
import * as W from "react";
|
|
5
|
-
import Q, { createContext as an, useContext as at, useEffect as G, useMemo as le, Component as db, createElement as li, useState as J, useRef as B, forwardRef as Xr, useLayoutEffect as dc, useCallback as
|
|
5
|
+
import Q, { createContext as an, useContext as at, useEffect as G, useMemo as le, Component as db, createElement as li, useState as J, useRef as B, forwardRef as Xr, useLayoutEffect as dc, useCallback as Fe, memo as Ti, useReducer as fc, isValidElement as fb, useImperativeHandle as Pi } from "react";
|
|
6
6
|
import * as pb from "react-dom";
|
|
7
7
|
import hb, { flushSync as gb, createPortal as uh, unstable_batchedUpdates as bo } from "react-dom";
|
|
8
8
|
import { Button as rn, Popover as vb, Collapse as Ho, Tabs as dh, Input as sa, ConfigProvider as it, InputNumber as mb, Modal as ki, Switch as yb, Select as bb, AutoComplete as ci, Tooltip as wb, Dropdown as fh, message as ph, Card as xb, Space as Sb, Empty as Iu } from "antd";
|
|
@@ -219,13 +219,13 @@ function Mb() {
|
|
|
219
219
|
` + et + _;
|
|
220
220
|
}
|
|
221
221
|
}
|
|
222
|
-
var
|
|
222
|
+
var He = !1, ae;
|
|
223
223
|
{
|
|
224
|
-
var
|
|
225
|
-
ae = new
|
|
224
|
+
var Me = typeof WeakMap == "function" ? WeakMap : Map;
|
|
225
|
+
ae = new Me();
|
|
226
226
|
}
|
|
227
227
|
function z(_, D) {
|
|
228
|
-
if (!_ ||
|
|
228
|
+
if (!_ || He)
|
|
229
229
|
return "";
|
|
230
230
|
{
|
|
231
231
|
var F = ae.get(_);
|
|
@@ -233,7 +233,7 @@ function Mb() {
|
|
|
233
233
|
return F;
|
|
234
234
|
}
|
|
235
235
|
var te;
|
|
236
|
-
|
|
236
|
+
He = !0;
|
|
237
237
|
var ge = Error.prepareStackTrace;
|
|
238
238
|
Error.prepareStackTrace = void 0;
|
|
239
239
|
var we;
|
|
@@ -274,25 +274,25 @@ function Mb() {
|
|
|
274
274
|
if (gn && te && typeof gn.stack == "string") {
|
|
275
275
|
for (var ue = gn.stack.split(`
|
|
276
276
|
`), ct = te.stack.split(`
|
|
277
|
-
`), Le = ue.length - 1,
|
|
278
|
-
|
|
279
|
-
for (; Le >= 1 &&
|
|
280
|
-
if (ue[Le] !== ct[
|
|
281
|
-
if (Le !== 1 ||
|
|
277
|
+
`), Le = ue.length - 1, Ue = ct.length - 1; Le >= 1 && Ue >= 0 && ue[Le] !== ct[Ue]; )
|
|
278
|
+
Ue--;
|
|
279
|
+
for (; Le >= 1 && Ue >= 0; Le--, Ue--)
|
|
280
|
+
if (ue[Le] !== ct[Ue]) {
|
|
281
|
+
if (Le !== 1 || Ue !== 1)
|
|
282
282
|
do
|
|
283
|
-
if (Le--,
|
|
283
|
+
if (Le--, Ue--, Ue < 0 || ue[Le] !== ct[Ue]) {
|
|
284
284
|
var jt = `
|
|
285
285
|
` + ue[Le].replace(" at new ", " at ");
|
|
286
286
|
return _.displayName && jt.includes("<anonymous>") && (jt = jt.replace("<anonymous>", _.displayName)), typeof _ == "function" && ae.set(_, jt), jt;
|
|
287
287
|
}
|
|
288
|
-
while (Le >= 1 &&
|
|
288
|
+
while (Le >= 1 && Ue >= 0);
|
|
289
289
|
break;
|
|
290
290
|
}
|
|
291
291
|
}
|
|
292
292
|
} finally {
|
|
293
|
-
|
|
293
|
+
He = !1, de.current = we, ce(), Error.prepareStackTrace = ge;
|
|
294
294
|
}
|
|
295
|
-
var
|
|
295
|
+
var vr = _ ? _.displayName || _.name : "", $u = vr ? $e(vr) : "";
|
|
296
296
|
return typeof _ == "function" && ae.set(_, $u), $u;
|
|
297
297
|
}
|
|
298
298
|
function Je(_, D, F) {
|
|
@@ -302,7 +302,7 @@ function Mb() {
|
|
|
302
302
|
var D = _.prototype;
|
|
303
303
|
return !!(D && D.isReactComponent);
|
|
304
304
|
}
|
|
305
|
-
function
|
|
305
|
+
function Ae(_, D, F) {
|
|
306
306
|
if (_ == null)
|
|
307
307
|
return "";
|
|
308
308
|
if (typeof _ == "function")
|
|
@@ -320,28 +320,28 @@ function Mb() {
|
|
|
320
320
|
case l:
|
|
321
321
|
return Je(_.render);
|
|
322
322
|
case d:
|
|
323
|
-
return
|
|
323
|
+
return Ae(_.type, D, F);
|
|
324
324
|
case f: {
|
|
325
325
|
var te = _, ge = te._payload, we = te._init;
|
|
326
326
|
try {
|
|
327
|
-
return
|
|
327
|
+
return Ae(we(ge), D, F);
|
|
328
328
|
} catch {
|
|
329
329
|
}
|
|
330
330
|
}
|
|
331
331
|
}
|
|
332
332
|
return "";
|
|
333
333
|
}
|
|
334
|
-
var
|
|
334
|
+
var xt = Object.prototype.hasOwnProperty, fn = {}, pn = m.ReactDebugCurrentFrame;
|
|
335
335
|
function Pe(_) {
|
|
336
336
|
if (_) {
|
|
337
|
-
var D = _._owner, F =
|
|
337
|
+
var D = _._owner, F = Ae(_.type, _._source, D ? D.type : null);
|
|
338
338
|
pn.setExtraStackFrame(F);
|
|
339
339
|
} else
|
|
340
340
|
pn.setExtraStackFrame(null);
|
|
341
341
|
}
|
|
342
342
|
function be(_, D, F, te, ge) {
|
|
343
343
|
{
|
|
344
|
-
var we = Function.call.bind(
|
|
344
|
+
var we = Function.call.bind(xt);
|
|
345
345
|
for (var fe in _)
|
|
346
346
|
if (we(_, fe)) {
|
|
347
347
|
var ue = void 0;
|
|
@@ -390,7 +390,7 @@ function Mb() {
|
|
|
390
390
|
}, Tn, mo, Pt;
|
|
391
391
|
Pt = {};
|
|
392
392
|
function Ca(_) {
|
|
393
|
-
if (
|
|
393
|
+
if (xt.call(_, "ref")) {
|
|
394
394
|
var D = Object.getOwnPropertyDescriptor(_, "ref").get;
|
|
395
395
|
if (D && D.isReactWarning)
|
|
396
396
|
return !1;
|
|
@@ -398,7 +398,7 @@ function Mb() {
|
|
|
398
398
|
return _.ref !== void 0;
|
|
399
399
|
}
|
|
400
400
|
function ss(_) {
|
|
401
|
-
if (
|
|
401
|
+
if (xt.call(_, "key")) {
|
|
402
402
|
var D = Object.getOwnPropertyDescriptor(_, "key").get;
|
|
403
403
|
if (D && D.isReactWarning)
|
|
404
404
|
return !1;
|
|
@@ -467,15 +467,15 @@ function Mb() {
|
|
|
467
467
|
var we, fe = {}, ue = null, ct = null;
|
|
468
468
|
F !== void 0 && (Sa(F), ue = "" + F), ss(D) && (Sa(D.key), ue = "" + D.key), Ca(D) && (ct = D.ref, ls(D, ge));
|
|
469
469
|
for (we in D)
|
|
470
|
-
|
|
470
|
+
xt.call(D, we) && !Rn.hasOwnProperty(we) && (fe[we] = D[we]);
|
|
471
471
|
if (_ && _.defaultProps) {
|
|
472
472
|
var Le = _.defaultProps;
|
|
473
473
|
for (we in Le)
|
|
474
474
|
fe[we] === void 0 && (fe[we] = Le[we]);
|
|
475
475
|
}
|
|
476
476
|
if (ue || ct) {
|
|
477
|
-
var
|
|
478
|
-
ue && Oa(fe,
|
|
477
|
+
var Ue = typeof _ == "function" ? _.displayName || _.name || "Unknown" : _;
|
|
478
|
+
ue && Oa(fe, Ue), ct && cs(fe, Ue);
|
|
479
479
|
}
|
|
480
480
|
return _a(_, ue, ct, ge, te, Tt.current, fe);
|
|
481
481
|
}
|
|
@@ -483,7 +483,7 @@ function Mb() {
|
|
|
483
483
|
var yo = m.ReactCurrentOwner, Ea = m.ReactDebugCurrentFrame;
|
|
484
484
|
function Te(_) {
|
|
485
485
|
if (_) {
|
|
486
|
-
var D = _._owner, F =
|
|
486
|
+
var D = _._owner, F = Ae(_.type, _._source, D ? D.type : null);
|
|
487
487
|
Ea.setExtraStackFrame(F);
|
|
488
488
|
} else
|
|
489
489
|
Ea.setExtraStackFrame(null);
|
|
@@ -505,7 +505,7 @@ Check the render method of \`` + _ + "`.";
|
|
|
505
505
|
return "";
|
|
506
506
|
}
|
|
507
507
|
}
|
|
508
|
-
function
|
|
508
|
+
function pt(_) {
|
|
509
509
|
{
|
|
510
510
|
if (_ !== void 0) {
|
|
511
511
|
var D = _.fileName.replace(/^.*[\\\/]/, ""), F = _.lineNumber;
|
|
@@ -516,7 +516,7 @@ Check your code at ` + D + ":" + F + ".";
|
|
|
516
516
|
return "";
|
|
517
517
|
}
|
|
518
518
|
}
|
|
519
|
-
var
|
|
519
|
+
var ht = {};
|
|
520
520
|
function kt(_) {
|
|
521
521
|
{
|
|
522
522
|
var D = Lt();
|
|
@@ -535,14 +535,14 @@ Check the top-level render call using <` + F + ">.");
|
|
|
535
535
|
return;
|
|
536
536
|
_._store.validated = !0;
|
|
537
537
|
var F = kt(D);
|
|
538
|
-
if (
|
|
538
|
+
if (ht[F])
|
|
539
539
|
return;
|
|
540
|
-
|
|
540
|
+
ht[F] = !0;
|
|
541
541
|
var te = "";
|
|
542
542
|
_ && _._owner && _._owner !== yo.current && (te = " It was passed a child from " + $(_._owner.type) + "."), Te(_), w('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', F, te), Te(null);
|
|
543
543
|
}
|
|
544
544
|
}
|
|
545
|
-
function
|
|
545
|
+
function gt(_, D) {
|
|
546
546
|
{
|
|
547
547
|
if (typeof _ != "object")
|
|
548
548
|
return;
|
|
@@ -604,37 +604,37 @@ Check the top-level render call using <` + F + ">.");
|
|
|
604
604
|
if (!fe) {
|
|
605
605
|
var ue = "";
|
|
606
606
|
(_ === void 0 || typeof _ == "object" && _ !== null && Object.keys(_).length === 0) && (ue += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
607
|
-
var ct =
|
|
607
|
+
var ct = pt(ge);
|
|
608
608
|
ct ? ue += ct : ue += Lt();
|
|
609
609
|
var Le;
|
|
610
610
|
_ === null ? Le = "null" : qe(_) ? Le = "array" : _ !== void 0 && _.$$typeof === t ? (Le = "<" + ($(_.type) || "Unknown") + " />", ue = " Did you accidentally export a JSX literal instead of a component?") : Le = typeof _, w("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Le, ue);
|
|
611
611
|
}
|
|
612
|
-
var
|
|
613
|
-
if (
|
|
614
|
-
return
|
|
612
|
+
var Ue = us(_, D, F, ge, we);
|
|
613
|
+
if (Ue == null)
|
|
614
|
+
return Ue;
|
|
615
615
|
if (fe) {
|
|
616
616
|
var jt = D.children;
|
|
617
617
|
if (jt !== void 0)
|
|
618
618
|
if (te)
|
|
619
619
|
if (qe(jt)) {
|
|
620
|
-
for (var
|
|
621
|
-
|
|
620
|
+
for (var vr = 0; vr < jt.length; vr++)
|
|
621
|
+
gt(jt[vr], _);
|
|
622
622
|
Object.freeze && Object.freeze(jt);
|
|
623
623
|
} else
|
|
624
624
|
w("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
625
625
|
else
|
|
626
|
-
|
|
626
|
+
gt(jt, _);
|
|
627
627
|
}
|
|
628
|
-
return _ === r ? Hn(
|
|
628
|
+
return _ === r ? Hn(Ue) : Vn(Ue), Ue;
|
|
629
629
|
}
|
|
630
630
|
}
|
|
631
|
-
function
|
|
631
|
+
function gr(_, D, F) {
|
|
632
632
|
return Un(_, D, F, !0);
|
|
633
633
|
}
|
|
634
634
|
function Na(_, D, F) {
|
|
635
635
|
return Un(_, D, F, !1);
|
|
636
636
|
}
|
|
637
|
-
var Wn = Na, Gn =
|
|
637
|
+
var Wn = Na, Gn = gr;
|
|
638
638
|
xo.Fragment = r, xo.jsx = Wn, xo.jsxs = Gn;
|
|
639
639
|
}()), xo;
|
|
640
640
|
}
|
|
@@ -659,15 +659,15 @@ var Ab = globalThis && globalThis.__extends || function() {
|
|
|
659
659
|
}
|
|
660
660
|
t.prototype = n === null ? Object.create(n) : (r.prototype = n.prototype, new r());
|
|
661
661
|
};
|
|
662
|
-
}(),
|
|
663
|
-
return
|
|
662
|
+
}(), We = globalThis && globalThis.__assign || function() {
|
|
663
|
+
return We = Object.assign || function(e) {
|
|
664
664
|
for (var t, n = 1, r = arguments.length; n < r; n++) {
|
|
665
665
|
t = arguments[n];
|
|
666
666
|
for (var o in t)
|
|
667
667
|
Object.prototype.hasOwnProperty.call(t, o) && (e[o] = t[o]);
|
|
668
668
|
}
|
|
669
669
|
return e;
|
|
670
|
-
},
|
|
670
|
+
}, We.apply(this, arguments);
|
|
671
671
|
}, Fu = {
|
|
672
672
|
width: "100%",
|
|
673
673
|
height: "10px",
|
|
@@ -685,36 +685,36 @@ var Ab = globalThis && globalThis.__extends || function() {
|
|
|
685
685
|
height: "20px",
|
|
686
686
|
position: "absolute"
|
|
687
687
|
}, Db = {
|
|
688
|
-
top:
|
|
688
|
+
top: We(We({}, Fu), {
|
|
689
689
|
top: "-5px"
|
|
690
690
|
}),
|
|
691
|
-
right:
|
|
691
|
+
right: We(We({}, Vu), {
|
|
692
692
|
left: void 0,
|
|
693
693
|
right: "-5px"
|
|
694
694
|
}),
|
|
695
|
-
bottom:
|
|
695
|
+
bottom: We(We({}, Fu), {
|
|
696
696
|
top: void 0,
|
|
697
697
|
bottom: "-5px"
|
|
698
698
|
}),
|
|
699
|
-
left:
|
|
699
|
+
left: We(We({}, Vu), {
|
|
700
700
|
left: "-5px"
|
|
701
701
|
}),
|
|
702
|
-
topRight:
|
|
702
|
+
topRight: We(We({}, Ra), {
|
|
703
703
|
right: "-10px",
|
|
704
704
|
top: "-10px",
|
|
705
705
|
cursor: "ne-resize"
|
|
706
706
|
}),
|
|
707
|
-
bottomRight:
|
|
707
|
+
bottomRight: We(We({}, Ra), {
|
|
708
708
|
right: "-10px",
|
|
709
709
|
bottom: "-10px",
|
|
710
710
|
cursor: "se-resize"
|
|
711
711
|
}),
|
|
712
|
-
bottomLeft:
|
|
712
|
+
bottomLeft: We(We({}, Ra), {
|
|
713
713
|
left: "-10px",
|
|
714
714
|
bottom: "-10px",
|
|
715
715
|
cursor: "sw-resize"
|
|
716
716
|
}),
|
|
717
|
-
topLeft:
|
|
717
|
+
topLeft: We(We({}, Ra), {
|
|
718
718
|
left: "-10px",
|
|
719
719
|
top: "-10px",
|
|
720
720
|
cursor: "nw-resize"
|
|
@@ -734,7 +734,7 @@ var Ab = globalThis && globalThis.__extends || function() {
|
|
|
734
734
|
return t.prototype.render = function() {
|
|
735
735
|
return /* @__PURE__ */ b("div", {
|
|
736
736
|
className: this.props.className || "",
|
|
737
|
-
style:
|
|
737
|
+
style: We(We({
|
|
738
738
|
position: "absolute",
|
|
739
739
|
userSelect: "none"
|
|
740
740
|
}, Db[this.props.direction]), this.props.replaceStyles || {}),
|
|
@@ -778,7 +778,7 @@ var Ab = globalThis && globalThis.__extends || function() {
|
|
|
778
778
|
return Math.max(Math.min(e, n), t);
|
|
779
779
|
}, Hu = function(e, t) {
|
|
780
780
|
return Math.round(e / t) * t;
|
|
781
|
-
},
|
|
781
|
+
}, mr = function(e, t) {
|
|
782
782
|
return new RegExp(e, "i").test(t);
|
|
783
783
|
}, Pa = function(e) {
|
|
784
784
|
return !!(e.touches && e.touches.length);
|
|
@@ -959,7 +959,7 @@ var Ab = globalThis && globalThis.__extends || function() {
|
|
|
959
959
|
var o = this.propsSize && this.propsSize[r];
|
|
960
960
|
return this.state[r] === "auto" && this.state.original[r] === n && (typeof o > "u" || o === "auto") ? "auto" : n;
|
|
961
961
|
}, t.prototype.calculateNewMaxFromBoundary = function(n, r) {
|
|
962
|
-
var o = this.props.boundsByDirection, a = this.state.direction, i = o &&
|
|
962
|
+
var o = this.props.boundsByDirection, a = this.state.direction, i = o && mr("left", a), s = o && mr("top", a), l, c;
|
|
963
963
|
if (this.props.bounds === "parent") {
|
|
964
964
|
var u = this.parentNode;
|
|
965
965
|
u && (l = i ? this.resizableRight - this.parentLeft : u.offsetWidth + (this.parentLeft - this.resizableLeft), c = s ? this.resizableBottom - this.parentTop : u.offsetHeight + (this.parentTop - this.resizableTop));
|
|
@@ -971,7 +971,7 @@ var Ab = globalThis && globalThis.__extends || function() {
|
|
|
971
971
|
};
|
|
972
972
|
}, t.prototype.calculateNewSizeFromDirection = function(n, r) {
|
|
973
973
|
var o = this.props.scale || 1, a = this.props.resizeRatio || 1, i = this.state, s = i.direction, l = i.original, c = this.props, u = c.lockAspectRatio, d = c.lockAspectRatioExtraHeight, f = c.lockAspectRatioExtraWidth, p = l.width, h = l.height, v = d || 0, y = f || 0;
|
|
974
|
-
return
|
|
974
|
+
return mr("right", s) && (p = l.width + (n - l.x) * a / o, u && (h = (p - y) / this.ratio + v)), mr("left", s) && (p = l.width - (n - l.x) * a / o, u && (h = (p - y) / this.ratio + v)), mr("bottom", s) && (h = l.height + (r - l.y) * a / o, u && (p = (h - v) * this.ratio + y)), mr("top", s) && (h = l.height - (r - l.y) * a / o, u && (p = (h - v) * this.ratio + y)), {
|
|
975
975
|
newWidth: p,
|
|
976
976
|
newHeight: h
|
|
977
977
|
};
|
|
@@ -1258,7 +1258,7 @@ function Ku(e, t) {
|
|
|
1258
1258
|
}
|
|
1259
1259
|
return n;
|
|
1260
1260
|
}
|
|
1261
|
-
function
|
|
1261
|
+
function H(e) {
|
|
1262
1262
|
for (var t = 1; t < arguments.length; t++) {
|
|
1263
1263
|
var n = arguments[t] != null ? arguments[t] : {};
|
|
1264
1264
|
t % 2 ? Ku(Object(n), !0).forEach(function(r) {
|
|
@@ -1331,7 +1331,7 @@ function f0(e, t) {
|
|
|
1331
1331
|
o = r[a], !(t.indexOf(o) >= 0) && (n[o] = e[o]);
|
|
1332
1332
|
return n;
|
|
1333
1333
|
}
|
|
1334
|
-
function
|
|
1334
|
+
function Mr(e, t) {
|
|
1335
1335
|
if (e == null)
|
|
1336
1336
|
return {};
|
|
1337
1337
|
var n = f0(e, t), r, o;
|
|
@@ -1492,9 +1492,9 @@ function w0(e) {
|
|
|
1492
1492
|
return Math.round(parseFloat(e) * 255).toString(16);
|
|
1493
1493
|
}
|
|
1494
1494
|
function Yu(e) {
|
|
1495
|
-
return
|
|
1495
|
+
return Ct(e) / 255;
|
|
1496
1496
|
}
|
|
1497
|
-
function
|
|
1497
|
+
function Ct(e) {
|
|
1498
1498
|
return parseInt(e, 16);
|
|
1499
1499
|
}
|
|
1500
1500
|
function x0(e) {
|
|
@@ -1688,33 +1688,33 @@ function O0(e) {
|
|
|
1688
1688
|
return { r: 0, g: 0, b: 0, a: 0, format: "name" };
|
|
1689
1689
|
var n = zt.rgb.exec(e);
|
|
1690
1690
|
return n ? { r: n[1], g: n[2], b: n[3] } : (n = zt.rgba.exec(e), n ? { r: n[1], g: n[2], b: n[3], a: n[4] } : (n = zt.hsl.exec(e), n ? { h: n[1], s: n[2], l: n[3] } : (n = zt.hsla.exec(e), n ? { h: n[1], s: n[2], l: n[3], a: n[4] } : (n = zt.hsv.exec(e), n ? { h: n[1], s: n[2], v: n[3] } : (n = zt.hsva.exec(e), n ? { h: n[1], s: n[2], v: n[3], a: n[4] } : (n = zt.hex8.exec(e), n ? {
|
|
1691
|
-
r:
|
|
1692
|
-
g:
|
|
1693
|
-
b:
|
|
1691
|
+
r: Ct(n[1]),
|
|
1692
|
+
g: Ct(n[2]),
|
|
1693
|
+
b: Ct(n[3]),
|
|
1694
1694
|
a: Yu(n[4]),
|
|
1695
1695
|
format: t ? "name" : "hex8"
|
|
1696
1696
|
} : (n = zt.hex6.exec(e), n ? {
|
|
1697
|
-
r:
|
|
1698
|
-
g:
|
|
1699
|
-
b:
|
|
1697
|
+
r: Ct(n[1]),
|
|
1698
|
+
g: Ct(n[2]),
|
|
1699
|
+
b: Ct(n[3]),
|
|
1700
1700
|
format: t ? "name" : "hex"
|
|
1701
1701
|
} : (n = zt.hex4.exec(e), n ? {
|
|
1702
|
-
r:
|
|
1703
|
-
g:
|
|
1704
|
-
b:
|
|
1702
|
+
r: Ct(n[1] + n[1]),
|
|
1703
|
+
g: Ct(n[2] + n[2]),
|
|
1704
|
+
b: Ct(n[3] + n[3]),
|
|
1705
1705
|
a: Yu(n[4] + n[4]),
|
|
1706
1706
|
format: t ? "name" : "hex8"
|
|
1707
1707
|
} : (n = zt.hex3.exec(e), n ? {
|
|
1708
|
-
r:
|
|
1709
|
-
g:
|
|
1710
|
-
b:
|
|
1708
|
+
r: Ct(n[1] + n[1]),
|
|
1709
|
+
g: Ct(n[2] + n[2]),
|
|
1710
|
+
b: Ct(n[3] + n[3]),
|
|
1711
1711
|
format: t ? "name" : "hex"
|
|
1712
1712
|
} : !1)))))))));
|
|
1713
1713
|
}
|
|
1714
1714
|
function vn(e) {
|
|
1715
1715
|
return !!zt.CSS_UNIT.exec(String(e));
|
|
1716
1716
|
}
|
|
1717
|
-
var
|
|
1717
|
+
var _t = (
|
|
1718
1718
|
/** @class */
|
|
1719
1719
|
function() {
|
|
1720
1720
|
function e(t, n) {
|
|
@@ -2142,11 +2142,11 @@ function rd() {
|
|
|
2142
2142
|
}, {});
|
|
2143
2143
|
}
|
|
2144
2144
|
function cl(e, t, n) {
|
|
2145
|
-
return n ? /* @__PURE__ */ Q.createElement(e.tag,
|
|
2145
|
+
return n ? /* @__PURE__ */ Q.createElement(e.tag, H(H({
|
|
2146
2146
|
key: t
|
|
2147
2147
|
}, rd(e.attrs)), n), (e.children || []).map(function(r, o) {
|
|
2148
2148
|
return cl(r, "".concat(t, "-").concat(e.tag, "-").concat(o));
|
|
2149
|
-
})) : /* @__PURE__ */ Q.createElement(e.tag,
|
|
2149
|
+
})) : /* @__PURE__ */ Q.createElement(e.tag, H({
|
|
2150
2150
|
key: t
|
|
2151
2151
|
}, rd(e.attrs)), (e.children || []).map(function(r, o) {
|
|
2152
2152
|
return cl(r, "".concat(t, "-").concat(e.tag, "-").concat(o));
|
|
@@ -2230,19 +2230,19 @@ function F0(e) {
|
|
|
2230
2230
|
ko.primaryColor = t, ko.secondaryColor = n || Dh(t), ko.calculated = !!n;
|
|
2231
2231
|
}
|
|
2232
2232
|
function V0() {
|
|
2233
|
-
return
|
|
2233
|
+
return H({}, ko);
|
|
2234
2234
|
}
|
|
2235
2235
|
var Mi = function(t) {
|
|
2236
|
-
var n = t.icon, r = t.className, o = t.onClick, a = t.style, i = t.primaryColor, s = t.secondaryColor, l =
|
|
2236
|
+
var n = t.icon, r = t.className, o = t.onClick, a = t.style, i = t.primaryColor, s = t.secondaryColor, l = Mr(t, z0), c = ko;
|
|
2237
2237
|
if (i && (c = {
|
|
2238
2238
|
primaryColor: i,
|
|
2239
2239
|
secondaryColor: s || Dh(i)
|
|
2240
2240
|
}), B0(), I0(nd(n), "icon should be icon definiton, but got ".concat(n)), !nd(n))
|
|
2241
2241
|
return null;
|
|
2242
2242
|
var u = n;
|
|
2243
|
-
return u && typeof u.icon == "function" && (u =
|
|
2243
|
+
return u && typeof u.icon == "function" && (u = H(H({}, u), {}, {
|
|
2244
2244
|
icon: u.icon(c.primaryColor, c.secondaryColor)
|
|
2245
|
-
})), cl(u.icon, "svg-".concat(u.name),
|
|
2245
|
+
})), cl(u.icon, "svg-".concat(u.name), H({
|
|
2246
2246
|
className: r,
|
|
2247
2247
|
onClick: o,
|
|
2248
2248
|
style: a,
|
|
@@ -2271,14 +2271,14 @@ function H0() {
|
|
|
2271
2271
|
var U0 = ["className", "icon", "spin", "rotate", "tabIndex", "onClick", "twoToneColor"];
|
|
2272
2272
|
Ih("#1890ff");
|
|
2273
2273
|
var Ai = /* @__PURE__ */ W.forwardRef(function(e, t) {
|
|
2274
|
-
var n, r = e.className, o = e.icon, a = e.spin, i = e.rotate, s = e.tabIndex, l = e.onClick, c = e.twoToneColor, u =
|
|
2274
|
+
var n, r = e.className, o = e.icon, a = e.spin, i = e.rotate, s = e.tabIndex, l = e.onClick, c = e.twoToneColor, u = Mr(e, U0), d = W.useContext(bh), f = d.prefixCls, p = f === void 0 ? "anticon" : f, h = d.rootClassName, v = vc(h, p, (n = {}, se(n, "".concat(p, "-").concat(o.name), !!o.name), se(n, "".concat(p, "-spin"), !!a || o.name === "loading"), n), r), y = s;
|
|
2275
2275
|
y === void 0 && l && (y = -1);
|
|
2276
2276
|
var m = i ? {
|
|
2277
2277
|
msTransform: "rotate(".concat(i, "deg)"),
|
|
2278
2278
|
transform: "rotate(".concat(i, "deg)")
|
|
2279
2279
|
} : void 0, w = $h(c), O = Ce(w, 2), x = O[0], g = O[1];
|
|
2280
2280
|
return /* @__PURE__ */ b("span", {
|
|
2281
|
-
...
|
|
2281
|
+
...H(H({
|
|
2282
2282
|
role: "img",
|
|
2283
2283
|
"aria-label": o.name
|
|
2284
2284
|
}, u), {}, {
|
|
@@ -2298,12 +2298,12 @@ var Ai = /* @__PURE__ */ W.forwardRef(function(e, t) {
|
|
|
2298
2298
|
Ai.displayName = "AntdIcon";
|
|
2299
2299
|
Ai.getTwoToneColor = H0;
|
|
2300
2300
|
Ai.setTwoToneColor = Ih;
|
|
2301
|
-
const
|
|
2301
|
+
const ft = Ai;
|
|
2302
2302
|
var W0 = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M908 640H804V488c0-4.4-3.6-8-8-8H548v-96h108c8.8 0 16-7.2 16-16V80c0-8.8-7.2-16-16-16H368c-8.8 0-16 7.2-16 16v288c0 8.8 7.2 16 16 16h108v96H228c-4.4 0-8 3.6-8 8v152H116c-8.8 0-16 7.2-16 16v288c0 8.8 7.2 16 16 16h288c8.8 0 16-7.2 16-16V656c0-8.8-7.2-16-16-16H292v-88h440v88H620c-8.8 0-16 7.2-16 16v288c0 8.8 7.2 16 16 16h288c8.8 0 16-7.2 16-16V656c0-8.8-7.2-16-16-16zm-564 76v168H176V716h168zm84-408V140h168v168H428zm420 576H680V716h168v168z" } }] }, name: "apartment", theme: "outlined" };
|
|
2303
2303
|
const G0 = W0;
|
|
2304
2304
|
var Lh = function(t, n) {
|
|
2305
|
-
return /* @__PURE__ */ b(
|
|
2306
|
-
...
|
|
2305
|
+
return /* @__PURE__ */ b(ft, {
|
|
2306
|
+
...H(H({}, t), {}, {
|
|
2307
2307
|
ref: n,
|
|
2308
2308
|
icon: G0
|
|
2309
2309
|
})
|
|
@@ -2314,8 +2314,8 @@ const K0 = /* @__PURE__ */ W.forwardRef(Lh);
|
|
|
2314
2314
|
var q0 = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "defs", attrs: {}, children: [{ tag: "style", attrs: {} }] }, { tag: "path", attrs: { d: "M464 144H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H212V212h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H612V212h200v200zm52 132H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H612V612h200v200zM424 712H296V584c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v128H104c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h128v128c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V776h128c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z" } }] }, name: "appstore-add", theme: "outlined" };
|
|
2315
2315
|
const Y0 = q0;
|
|
2316
2316
|
var Bh = function(t, n) {
|
|
2317
|
-
return /* @__PURE__ */ b(
|
|
2318
|
-
...
|
|
2317
|
+
return /* @__PURE__ */ b(ft, {
|
|
2318
|
+
...H(H({}, t), {}, {
|
|
2319
2319
|
ref: n,
|
|
2320
2320
|
icon: Y0
|
|
2321
2321
|
})
|
|
@@ -2326,8 +2326,8 @@ const X0 = /* @__PURE__ */ W.forwardRef(Bh);
|
|
|
2326
2326
|
var J0 = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M563.8 512l262.5-312.9c4.4-5.2.7-13.1-6.1-13.1h-79.8c-4.7 0-9.2 2.1-12.3 5.7L511.6 449.8 295.1 191.7c-3-3.6-7.5-5.7-12.3-5.7H203c-6.8 0-10.5 7.9-6.1 13.1L459.4 512 196.9 824.9A7.95 7.95 0 00203 838h79.8c4.7 0 9.2-2.1 12.3-5.7l216.5-258.1 216.5 258.1c3 3.6 7.5 5.7 12.3 5.7h79.8c6.8 0 10.5-7.9 6.1-13.1L563.8 512z" } }] }, name: "close", theme: "outlined" };
|
|
2327
2327
|
const Q0 = J0;
|
|
2328
2328
|
var zh = function(t, n) {
|
|
2329
|
-
return /* @__PURE__ */ b(
|
|
2330
|
-
...
|
|
2329
|
+
return /* @__PURE__ */ b(ft, {
|
|
2330
|
+
...H(H({}, t), {}, {
|
|
2331
2331
|
ref: n,
|
|
2332
2332
|
icon: Q0
|
|
2333
2333
|
})
|
|
@@ -2338,8 +2338,8 @@ const Z0 = /* @__PURE__ */ W.forwardRef(zh);
|
|
|
2338
2338
|
var e1 = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" } }] }, name: "copy", theme: "outlined" };
|
|
2339
2339
|
const t1 = e1;
|
|
2340
2340
|
var Fh = function(t, n) {
|
|
2341
|
-
return /* @__PURE__ */ b(
|
|
2342
|
-
...
|
|
2341
|
+
return /* @__PURE__ */ b(ft, {
|
|
2342
|
+
...H(H({}, t), {}, {
|
|
2343
2343
|
ref: n,
|
|
2344
2344
|
icon: t1
|
|
2345
2345
|
})
|
|
@@ -2350,8 +2350,8 @@ const Vh = /* @__PURE__ */ W.forwardRef(Fh);
|
|
|
2350
2350
|
var n1 = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-600 72h560v208H232V136zm560 480H232V408h560v208zm0 272H232V680h560v208zM304 240a40 40 0 1080 0 40 40 0 10-80 0zm0 272a40 40 0 1080 0 40 40 0 10-80 0zm0 272a40 40 0 1080 0 40 40 0 10-80 0z" } }] }, name: "database", theme: "outlined" };
|
|
2351
2351
|
const r1 = n1;
|
|
2352
2352
|
var Hh = function(t, n) {
|
|
2353
|
-
return /* @__PURE__ */ b(
|
|
2354
|
-
...
|
|
2353
|
+
return /* @__PURE__ */ b(ft, {
|
|
2354
|
+
...H(H({}, t), {}, {
|
|
2355
2355
|
ref: n,
|
|
2356
2356
|
icon: r1
|
|
2357
2357
|
})
|
|
@@ -2362,8 +2362,8 @@ const o1 = /* @__PURE__ */ W.forwardRef(Hh);
|
|
|
2362
2362
|
var a1 = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z" } }] }, name: "delete", theme: "outlined" };
|
|
2363
2363
|
const i1 = a1;
|
|
2364
2364
|
var Uh = function(t, n) {
|
|
2365
|
-
return /* @__PURE__ */ b(
|
|
2366
|
-
...
|
|
2365
|
+
return /* @__PURE__ */ b(ft, {
|
|
2366
|
+
...H(H({}, t), {}, {
|
|
2367
2367
|
ref: n,
|
|
2368
2368
|
icon: i1
|
|
2369
2369
|
})
|
|
@@ -2374,8 +2374,8 @@ const bc = /* @__PURE__ */ W.forwardRef(Uh);
|
|
|
2374
2374
|
var s1 = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z" } }] }, name: "double-right", theme: "outlined" };
|
|
2375
2375
|
const l1 = s1;
|
|
2376
2376
|
var Wh = function(t, n) {
|
|
2377
|
-
return /* @__PURE__ */ b(
|
|
2378
|
-
...
|
|
2377
|
+
return /* @__PURE__ */ b(ft, {
|
|
2378
|
+
...H(H({}, t), {}, {
|
|
2379
2379
|
ref: n,
|
|
2380
2380
|
icon: l1
|
|
2381
2381
|
})
|
|
@@ -2386,8 +2386,8 @@ const c1 = /* @__PURE__ */ W.forwardRef(Wh);
|
|
|
2386
2386
|
var u1 = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z" } }, { tag: "path", attrs: { d: "M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z" } }] }, name: "eye-invisible", theme: "outlined" };
|
|
2387
2387
|
const d1 = u1;
|
|
2388
2388
|
var Gh = function(t, n) {
|
|
2389
|
-
return /* @__PURE__ */ b(
|
|
2390
|
-
...
|
|
2389
|
+
return /* @__PURE__ */ b(ft, {
|
|
2390
|
+
...H(H({}, t), {}, {
|
|
2391
2391
|
ref: n,
|
|
2392
2392
|
icon: d1
|
|
2393
2393
|
})
|
|
@@ -2398,8 +2398,8 @@ const Kh = /* @__PURE__ */ W.forwardRef(Gh);
|
|
|
2398
2398
|
var f1 = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z" } }] }, name: "eye", theme: "outlined" };
|
|
2399
2399
|
const p1 = f1;
|
|
2400
2400
|
var qh = function(t, n) {
|
|
2401
|
-
return /* @__PURE__ */ b(
|
|
2402
|
-
...
|
|
2401
|
+
return /* @__PURE__ */ b(ft, {
|
|
2402
|
+
...H(H({}, t), {}, {
|
|
2403
2403
|
ref: n,
|
|
2404
2404
|
icon: p1
|
|
2405
2405
|
})
|
|
@@ -2410,8 +2410,8 @@ const h1 = /* @__PURE__ */ W.forwardRef(qh);
|
|
|
2410
2410
|
var g1 = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M696 480H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z" } }, { tag: "path", attrs: { d: "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" } }] }, name: "minus-circle", theme: "outlined" };
|
|
2411
2411
|
const v1 = g1;
|
|
2412
2412
|
var Yh = function(t, n) {
|
|
2413
|
-
return /* @__PURE__ */ b(
|
|
2414
|
-
...
|
|
2413
|
+
return /* @__PURE__ */ b(ft, {
|
|
2414
|
+
...H(H({}, t), {}, {
|
|
2415
2415
|
ref: n,
|
|
2416
2416
|
icon: v1
|
|
2417
2417
|
})
|
|
@@ -2422,8 +2422,8 @@ const m1 = /* @__PURE__ */ W.forwardRef(Yh);
|
|
|
2422
2422
|
var y1 = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M872 474H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h720c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z" } }] }, name: "minus", theme: "outlined" };
|
|
2423
2423
|
const b1 = y1;
|
|
2424
2424
|
var Xh = function(t, n) {
|
|
2425
|
-
return /* @__PURE__ */ b(
|
|
2426
|
-
...
|
|
2425
|
+
return /* @__PURE__ */ b(ft, {
|
|
2426
|
+
...H(H({}, t), {}, {
|
|
2427
2427
|
ref: n,
|
|
2428
2428
|
icon: b1
|
|
2429
2429
|
})
|
|
@@ -2434,8 +2434,8 @@ const Jh = /* @__PURE__ */ W.forwardRef(Xh);
|
|
|
2434
2434
|
var w1 = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "defs", attrs: {}, children: [{ tag: "style", attrs: {} }] }, { tag: "path", attrs: { d: "M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z" } }, { tag: "path", attrs: { d: "M176 474h672q8 0 8 8v60q0 8-8 8H176q-8 0-8-8v-60q0-8 8-8z" } }] }, name: "plus", theme: "outlined" };
|
|
2435
2435
|
const x1 = w1;
|
|
2436
2436
|
var Qh = function(t, n) {
|
|
2437
|
-
return /* @__PURE__ */ b(
|
|
2438
|
-
...
|
|
2437
|
+
return /* @__PURE__ */ b(ft, {
|
|
2438
|
+
...H(H({}, t), {}, {
|
|
2439
2439
|
ref: n,
|
|
2440
2440
|
icon: x1
|
|
2441
2441
|
})
|
|
@@ -2446,8 +2446,8 @@ const wc = /* @__PURE__ */ W.forwardRef(Qh);
|
|
|
2446
2446
|
var S1 = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M878.3 392.1L631.9 145.7c-6.5-6.5-15-9.7-23.5-9.7s-17 3.2-23.5 9.7L423.8 306.9c-12.2-1.4-24.5-2-36.8-2-73.2 0-146.4 24.1-206.5 72.3a33.23 33.23 0 00-2.7 49.4l181.7 181.7-215.4 215.2a15.8 15.8 0 00-4.6 9.8l-3.4 37.2c-.9 9.4 6.6 17.4 15.9 17.4.5 0 1 0 1.5-.1l37.2-3.4c3.7-.3 7.2-2 9.8-4.6l215.4-215.4 181.7 181.7c6.5 6.5 15 9.7 23.5 9.7 9.7 0 19.3-4.2 25.9-12.4 56.3-70.3 79.7-158.3 70.2-243.4l161.1-161.1c12.9-12.8 12.9-33.8 0-46.8zM666.2 549.3l-24.5 24.5 3.8 34.4a259.92 259.92 0 01-30.4 153.9L262 408.8c12.9-7.1 26.3-13.1 40.3-17.9 27.2-9.4 55.7-14.1 84.7-14.1 9.6 0 19.3.5 28.9 1.6l34.4 3.8 24.5-24.5L608.5 224 800 415.5 666.2 549.3z" } }] }, name: "pushpin", theme: "outlined" };
|
|
2447
2447
|
const C1 = S1;
|
|
2448
2448
|
var Zh = function(t, n) {
|
|
2449
|
-
return /* @__PURE__ */ b(
|
|
2450
|
-
...
|
|
2449
|
+
return /* @__PURE__ */ b(ft, {
|
|
2450
|
+
...H(H({}, t), {}, {
|
|
2451
2451
|
ref: n,
|
|
2452
2452
|
icon: C1
|
|
2453
2453
|
})
|
|
@@ -2458,8 +2458,8 @@ const O1 = /* @__PURE__ */ W.forwardRef(Zh);
|
|
|
2458
2458
|
var _1 = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z" } }] }, name: "right", theme: "outlined" };
|
|
2459
2459
|
const E1 = _1;
|
|
2460
2460
|
var eg = function(t, n) {
|
|
2461
|
-
return /* @__PURE__ */ b(
|
|
2462
|
-
...
|
|
2461
|
+
return /* @__PURE__ */ b(ft, {
|
|
2462
|
+
...H(H({}, t), {}, {
|
|
2463
2463
|
ref: n,
|
|
2464
2464
|
icon: E1
|
|
2465
2465
|
})
|
|
@@ -2470,8 +2470,8 @@ const N1 = /* @__PURE__ */ W.forwardRef(eg);
|
|
|
2470
2470
|
var R1 = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z" } }] }, name: "swap", theme: "outlined" };
|
|
2471
2471
|
const T1 = R1;
|
|
2472
2472
|
var tg = function(t, n) {
|
|
2473
|
-
return /* @__PURE__ */ b(
|
|
2474
|
-
...
|
|
2473
|
+
return /* @__PURE__ */ b(ft, {
|
|
2474
|
+
...H(H({}, t), {}, {
|
|
2475
2475
|
ref: n,
|
|
2476
2476
|
icon: T1
|
|
2477
2477
|
})
|
|
@@ -2492,7 +2492,7 @@ function ng(e) {
|
|
|
2492
2492
|
e[t] && (r && (r += " "), r += t);
|
|
2493
2493
|
return r;
|
|
2494
2494
|
}
|
|
2495
|
-
function
|
|
2495
|
+
function vt() {
|
|
2496
2496
|
for (var e, t, n = 0, r = ""; n < arguments.length; )
|
|
2497
2497
|
(e = arguments[n++]) && (t = ng(e)) && (r && (r += " "), r += t);
|
|
2498
2498
|
return r;
|
|
@@ -2621,7 +2621,7 @@ function Y1(e) {
|
|
|
2621
2621
|
return q1.call(e);
|
|
2622
2622
|
}
|
|
2623
2623
|
var X1 = "[object Null]", J1 = "[object Undefined]", ad = Dt ? Dt.toStringTag : void 0;
|
|
2624
|
-
function
|
|
2624
|
+
function sr(e) {
|
|
2625
2625
|
return e == null ? e === void 0 ? J1 : X1 : ad && ad in Object(e) ? G1(e) : Y1(e);
|
|
2626
2626
|
}
|
|
2627
2627
|
function on(e) {
|
|
@@ -2629,7 +2629,7 @@ function on(e) {
|
|
|
2629
2629
|
}
|
|
2630
2630
|
var Q1 = "[object Symbol]";
|
|
2631
2631
|
function xc(e) {
|
|
2632
|
-
return typeof e == "symbol" || on(e) &&
|
|
2632
|
+
return typeof e == "symbol" || on(e) && sr(e) == Q1;
|
|
2633
2633
|
}
|
|
2634
2634
|
function Sc(e, t) {
|
|
2635
2635
|
for (var n = -1, r = e == null ? 0 : e.length, o = Array(r); ++n < r; )
|
|
@@ -2637,12 +2637,12 @@ function Sc(e, t) {
|
|
|
2637
2637
|
return o;
|
|
2638
2638
|
}
|
|
2639
2639
|
var Z1 = Array.isArray;
|
|
2640
|
-
const
|
|
2640
|
+
const Ve = Z1;
|
|
2641
2641
|
var ew = 1 / 0, id = Dt ? Dt.prototype : void 0, sd = id ? id.toString : void 0;
|
|
2642
2642
|
function ig(e) {
|
|
2643
2643
|
if (typeof e == "string")
|
|
2644
2644
|
return e;
|
|
2645
|
-
if (
|
|
2645
|
+
if (Ve(e))
|
|
2646
2646
|
return Sc(e, ig) + "";
|
|
2647
2647
|
if (xc(e))
|
|
2648
2648
|
return sd ? sd.call(e) : "";
|
|
@@ -2660,7 +2660,7 @@ var tw = "[object AsyncFunction]", nw = "[object Function]", rw = "[object Gener
|
|
|
2660
2660
|
function Oc(e) {
|
|
2661
2661
|
if (!Kt(e))
|
|
2662
2662
|
return !1;
|
|
2663
|
-
var t =
|
|
2663
|
+
var t = sr(e);
|
|
2664
2664
|
return t == nw || t == rw || t == tw || t == ow;
|
|
2665
2665
|
}
|
|
2666
2666
|
var aw = ln["__core-js_shared__"];
|
|
@@ -2673,7 +2673,7 @@ function iw(e) {
|
|
|
2673
2673
|
return !!ld && ld in e;
|
|
2674
2674
|
}
|
|
2675
2675
|
var sw = Function.prototype, lw = sw.toString;
|
|
2676
|
-
function
|
|
2676
|
+
function lr(e) {
|
|
2677
2677
|
if (e != null) {
|
|
2678
2678
|
try {
|
|
2679
2679
|
return lw.call(e);
|
|
@@ -2691,16 +2691,16 @@ function vw(e) {
|
|
|
2691
2691
|
if (!Kt(e) || iw(e))
|
|
2692
2692
|
return !1;
|
|
2693
2693
|
var t = Oc(e) ? gw : uw;
|
|
2694
|
-
return t.test(
|
|
2694
|
+
return t.test(lr(e));
|
|
2695
2695
|
}
|
|
2696
2696
|
function mw(e, t) {
|
|
2697
2697
|
return e == null ? void 0 : e[t];
|
|
2698
2698
|
}
|
|
2699
|
-
function
|
|
2699
|
+
function cr(e, t) {
|
|
2700
2700
|
var n = mw(e, t);
|
|
2701
2701
|
return vw(n) ? n : void 0;
|
|
2702
2702
|
}
|
|
2703
|
-
var yw =
|
|
2703
|
+
var yw = cr(ln, "WeakMap");
|
|
2704
2704
|
const dl = yw;
|
|
2705
2705
|
var cd = Object.create, bw = function() {
|
|
2706
2706
|
function e() {
|
|
@@ -2757,7 +2757,7 @@ function Nw(e) {
|
|
|
2757
2757
|
}
|
|
2758
2758
|
var Rw = function() {
|
|
2759
2759
|
try {
|
|
2760
|
-
var e =
|
|
2760
|
+
var e = cr(Object, "defineProperty");
|
|
2761
2761
|
return e({}, "", {}), e;
|
|
2762
2762
|
} catch {
|
|
2763
2763
|
}
|
|
@@ -2880,7 +2880,7 @@ function Gw(e, t) {
|
|
|
2880
2880
|
}
|
|
2881
2881
|
var Kw = "[object Arguments]";
|
|
2882
2882
|
function dd(e) {
|
|
2883
|
-
return on(e) &&
|
|
2883
|
+
return on(e) && sr(e) == Kw;
|
|
2884
2884
|
}
|
|
2885
2885
|
var dg = Object.prototype, qw = dg.hasOwnProperty, Yw = dg.propertyIsEnumerable, Xw = dd(function() {
|
|
2886
2886
|
return arguments;
|
|
@@ -2897,7 +2897,7 @@ var tx = "[object Arguments]", nx = "[object Array]", rx = "[object Boolean]", o
|
|
|
2897
2897
|
_e[vx] = _e[mx] = _e[yx] = _e[bx] = _e[wx] = _e[xx] = _e[Sx] = _e[Cx] = _e[Ox] = !0;
|
|
2898
2898
|
_e[tx] = _e[nx] = _e[hx] = _e[rx] = _e[gx] = _e[ox] = _e[ax] = _e[ix] = _e[sx] = _e[lx] = _e[cx] = _e[ux] = _e[dx] = _e[fx] = _e[px] = !1;
|
|
2899
2899
|
function _x(e) {
|
|
2900
|
-
return on(e) && Nc(e.length) && !!_e[
|
|
2900
|
+
return on(e) && Nc(e.length) && !!_e[sr(e)];
|
|
2901
2901
|
}
|
|
2902
2902
|
function Tc(e) {
|
|
2903
2903
|
return function(t) {
|
|
@@ -2911,12 +2911,12 @@ var pg = typeof exports == "object" && exports && !exports.nodeType && exports,
|
|
|
2911
2911
|
} catch {
|
|
2912
2912
|
}
|
|
2913
2913
|
}();
|
|
2914
|
-
const
|
|
2915
|
-
var hd =
|
|
2914
|
+
const Ar = Nx;
|
|
2915
|
+
var hd = Ar && Ar.isTypedArray, Rx = hd ? Tc(hd) : _x;
|
|
2916
2916
|
const Pc = Rx;
|
|
2917
2917
|
var Tx = Object.prototype, Px = Tx.hasOwnProperty;
|
|
2918
2918
|
function hg(e, t) {
|
|
2919
|
-
var n =
|
|
2919
|
+
var n = Ve(e), r = !n && Wo(e), o = !n && !r && Go(e), a = !n && !r && !o && Pc(e), i = n || r || o || a, s = i ? Gw(e.length, String) : [], l = s.length;
|
|
2920
2920
|
for (var c in e)
|
|
2921
2921
|
(t || Px.call(e, c)) && !(i && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
2922
2922
|
(c == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
@@ -2965,12 +2965,12 @@ function ca(e) {
|
|
|
2965
2965
|
}
|
|
2966
2966
|
var zx = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, Fx = /^\w*$/;
|
|
2967
2967
|
function kc(e, t) {
|
|
2968
|
-
if (
|
|
2968
|
+
if (Ve(e))
|
|
2969
2969
|
return !1;
|
|
2970
2970
|
var n = typeof e;
|
|
2971
2971
|
return n == "number" || n == "symbol" || n == "boolean" || e == null || xc(e) ? !0 : Fx.test(e) || !zx.test(e) || t != null && e in Object(t);
|
|
2972
2972
|
}
|
|
2973
|
-
var Vx =
|
|
2973
|
+
var Vx = cr(Object, "create");
|
|
2974
2974
|
const Ko = Vx;
|
|
2975
2975
|
function Hx() {
|
|
2976
2976
|
this.__data__ = Ko ? Ko(null) : {}, this.size = 0;
|
|
@@ -2998,18 +2998,18 @@ function Zx(e, t) {
|
|
|
2998
2998
|
var n = this.__data__;
|
|
2999
2999
|
return this.size += this.has(e) ? 0 : 1, n[e] = Ko && t === void 0 ? Qx : t, this;
|
|
3000
3000
|
}
|
|
3001
|
-
function
|
|
3001
|
+
function nr(e) {
|
|
3002
3002
|
var t = -1, n = e == null ? 0 : e.length;
|
|
3003
3003
|
for (this.clear(); ++t < n; ) {
|
|
3004
3004
|
var r = e[t];
|
|
3005
3005
|
this.set(r[0], r[1]);
|
|
3006
3006
|
}
|
|
3007
3007
|
}
|
|
3008
|
-
|
|
3009
|
-
|
|
3010
|
-
|
|
3011
|
-
|
|
3012
|
-
|
|
3008
|
+
nr.prototype.clear = Hx;
|
|
3009
|
+
nr.prototype.delete = Ux;
|
|
3010
|
+
nr.prototype.get = qx;
|
|
3011
|
+
nr.prototype.has = Jx;
|
|
3012
|
+
nr.prototype.set = Zx;
|
|
3013
3013
|
function eS() {
|
|
3014
3014
|
this.__data__ = [], this.size = 0;
|
|
3015
3015
|
}
|
|
@@ -3050,13 +3050,13 @@ Sn.prototype.delete = rS;
|
|
|
3050
3050
|
Sn.prototype.get = oS;
|
|
3051
3051
|
Sn.prototype.has = aS;
|
|
3052
3052
|
Sn.prototype.set = iS;
|
|
3053
|
-
var sS =
|
|
3053
|
+
var sS = cr(ln, "Map");
|
|
3054
3054
|
const qo = sS;
|
|
3055
3055
|
function lS() {
|
|
3056
3056
|
this.size = 0, this.__data__ = {
|
|
3057
|
-
hash: new
|
|
3057
|
+
hash: new nr(),
|
|
3058
3058
|
map: new (qo || Sn)(),
|
|
3059
|
-
string: new
|
|
3059
|
+
string: new nr()
|
|
3060
3060
|
};
|
|
3061
3061
|
}
|
|
3062
3062
|
function cS(e) {
|
|
@@ -3125,7 +3125,7 @@ function xS(e) {
|
|
|
3125
3125
|
return e == null ? "" : ig(e);
|
|
3126
3126
|
}
|
|
3127
3127
|
function Qr(e, t) {
|
|
3128
|
-
return
|
|
3128
|
+
return Ve(e) ? e : kc(e, t) ? [e] : wS(xS(e));
|
|
3129
3129
|
}
|
|
3130
3130
|
var SS = 1 / 0;
|
|
3131
3131
|
function Zr(e) {
|
|
@@ -3151,7 +3151,7 @@ function Mc(e, t) {
|
|
|
3151
3151
|
}
|
|
3152
3152
|
var gd = Dt ? Dt.isConcatSpreadable : void 0;
|
|
3153
3153
|
function CS(e) {
|
|
3154
|
-
return
|
|
3154
|
+
return Ve(e) || Wo(e) || !!(gd && e && e[gd]);
|
|
3155
3155
|
}
|
|
3156
3156
|
function Ac(e, t, n, r, o) {
|
|
3157
3157
|
var a = -1, i = e.length;
|
|
@@ -3171,8 +3171,8 @@ function _S(e) {
|
|
|
3171
3171
|
var ES = gg(Object.getPrototypeOf, Object);
|
|
3172
3172
|
const Dc = ES;
|
|
3173
3173
|
var NS = "[object Object]", RS = Function.prototype, TS = Object.prototype, mg = RS.toString, PS = TS.hasOwnProperty, kS = mg.call(Object);
|
|
3174
|
-
function
|
|
3175
|
-
if (!on(e) ||
|
|
3174
|
+
function bt(e) {
|
|
3175
|
+
if (!on(e) || sr(e) != NS)
|
|
3176
3176
|
return !1;
|
|
3177
3177
|
var t = Dc(e);
|
|
3178
3178
|
if (t === null)
|
|
@@ -3263,7 +3263,7 @@ function YS(e, t) {
|
|
|
3263
3263
|
}
|
|
3264
3264
|
function Sg(e, t, n) {
|
|
3265
3265
|
var r = t(e);
|
|
3266
|
-
return
|
|
3266
|
+
return Ve(e) ? r : Mc(r, n(e));
|
|
3267
3267
|
}
|
|
3268
3268
|
function fl(e) {
|
|
3269
3269
|
return Sg(e, Ii, $c);
|
|
@@ -3271,15 +3271,15 @@ function fl(e) {
|
|
|
3271
3271
|
function Ic(e) {
|
|
3272
3272
|
return Sg(e, ca, xg);
|
|
3273
3273
|
}
|
|
3274
|
-
var XS =
|
|
3274
|
+
var XS = cr(ln, "DataView");
|
|
3275
3275
|
const pl = XS;
|
|
3276
|
-
var JS =
|
|
3276
|
+
var JS = cr(ln, "Promise");
|
|
3277
3277
|
const hl = JS;
|
|
3278
|
-
var QS =
|
|
3279
|
-
const
|
|
3280
|
-
var wd = "[object Map]", ZS = "[object Object]", xd = "[object Promise]", Sd = "[object Set]", Cd = "[object WeakMap]", Od = "[object DataView]", eC =
|
|
3281
|
-
(pl && qn(new pl(new ArrayBuffer(1))) != Od || qo && qn(new qo()) != wd || hl && qn(hl.resolve()) != xd ||
|
|
3282
|
-
var t =
|
|
3278
|
+
var QS = cr(ln, "Set");
|
|
3279
|
+
const kr = QS;
|
|
3280
|
+
var wd = "[object Map]", ZS = "[object Object]", xd = "[object Promise]", Sd = "[object Set]", Cd = "[object WeakMap]", Od = "[object DataView]", eC = lr(pl), tC = lr(qo), nC = lr(hl), rC = lr(kr), oC = lr(dl), qn = sr;
|
|
3281
|
+
(pl && qn(new pl(new ArrayBuffer(1))) != Od || qo && qn(new qo()) != wd || hl && qn(hl.resolve()) != xd || kr && qn(new kr()) != Sd || dl && qn(new dl()) != Cd) && (qn = function(e) {
|
|
3282
|
+
var t = sr(e), n = t == ZS ? e.constructor : void 0, r = n ? lr(n) : "";
|
|
3283
3283
|
if (r)
|
|
3284
3284
|
switch (r) {
|
|
3285
3285
|
case eC:
|
|
@@ -3365,13 +3365,13 @@ var MC = "[object Map]";
|
|
|
3365
3365
|
function AC(e) {
|
|
3366
3366
|
return on(e) && Yo(e) == MC;
|
|
3367
3367
|
}
|
|
3368
|
-
var Nd =
|
|
3368
|
+
var Nd = Ar && Ar.isMap, DC = Nd ? Tc(Nd) : AC;
|
|
3369
3369
|
const $C = DC;
|
|
3370
3370
|
var IC = "[object Set]";
|
|
3371
3371
|
function LC(e) {
|
|
3372
3372
|
return on(e) && Yo(e) == IC;
|
|
3373
3373
|
}
|
|
3374
|
-
var Rd =
|
|
3374
|
+
var Rd = Ar && Ar.isSet, BC = Rd ? Tc(Rd) : LC;
|
|
3375
3375
|
const zC = BC;
|
|
3376
3376
|
var FC = 1, VC = 2, HC = 4, _g = "[object Arguments]", UC = "[object Array]", WC = "[object Boolean]", GC = "[object Date]", KC = "[object Error]", Eg = "[object Function]", qC = "[object GeneratorFunction]", YC = "[object Map]", XC = "[object Number]", Ng = "[object Object]", JC = "[object RegExp]", QC = "[object Set]", ZC = "[object String]", eO = "[object Symbol]", tO = "[object WeakMap]", nO = "[object ArrayBuffer]", rO = "[object DataView]", oO = "[object Float32Array]", aO = "[object Float64Array]", iO = "[object Int8Array]", sO = "[object Int16Array]", lO = "[object Int32Array]", cO = "[object Uint8Array]", uO = "[object Uint8ClampedArray]", dO = "[object Uint16Array]", fO = "[object Uint32Array]", xe = {};
|
|
3377
3377
|
xe[_g] = xe[UC] = xe[nO] = xe[rO] = xe[WC] = xe[GC] = xe[oO] = xe[aO] = xe[iO] = xe[sO] = xe[lO] = xe[YC] = xe[XC] = xe[Ng] = xe[JC] = xe[QC] = xe[ZC] = xe[eO] = xe[cO] = xe[uO] = xe[dO] = xe[fO] = !0;
|
|
@@ -3382,7 +3382,7 @@ function Mo(e, t, n, r, o, a) {
|
|
|
3382
3382
|
return i;
|
|
3383
3383
|
if (!Kt(e))
|
|
3384
3384
|
return e;
|
|
3385
|
-
var u =
|
|
3385
|
+
var u = Ve(e);
|
|
3386
3386
|
if (u) {
|
|
3387
3387
|
if (i = sC(e), !s)
|
|
3388
3388
|
return sg(e, i);
|
|
@@ -3556,7 +3556,7 @@ function BO(e, t, n, r, o, a) {
|
|
|
3556
3556
|
}
|
|
3557
3557
|
var zO = 1, Pd = "[object Arguments]", kd = "[object Array]", $a = "[object Object]", FO = Object.prototype, jd = FO.hasOwnProperty;
|
|
3558
3558
|
function VO(e, t, n, r, o, a) {
|
|
3559
|
-
var i =
|
|
3559
|
+
var i = Ve(e), s = Ve(t), l = i ? kd : Yo(e), c = s ? kd : Yo(t);
|
|
3560
3560
|
l = l == Pd ? $a : l, c = c == Pd ? $a : c;
|
|
3561
3561
|
var u = l == $a, d = c == $a, f = l == c;
|
|
3562
3562
|
if (f && Go(e)) {
|
|
@@ -3636,7 +3636,7 @@ function YO(e, t, n) {
|
|
|
3636
3636
|
break;
|
|
3637
3637
|
e = e[i];
|
|
3638
3638
|
}
|
|
3639
|
-
return a || ++r != o ? a : (o = e == null ? 0 : e.length, !!o && Nc(o) && Di(i, o) && (
|
|
3639
|
+
return a || ++r != o ? a : (o = e == null ? 0 : e.length, !!o && Nc(o) && Di(i, o) && (Ve(e) || Wo(e)));
|
|
3640
3640
|
}
|
|
3641
3641
|
function XO(e, t) {
|
|
3642
3642
|
return e != null && YO(e, t, qO);
|
|
@@ -3662,7 +3662,7 @@ function n_(e) {
|
|
|
3662
3662
|
return kc(e) ? e_(Zr(e)) : t_(e);
|
|
3663
3663
|
}
|
|
3664
3664
|
function Fc(e) {
|
|
3665
|
-
return typeof e == "function" ? e : e == null ? Cc : typeof e == "object" ?
|
|
3665
|
+
return typeof e == "function" ? e : e == null ? Cc : typeof e == "object" ? Ve(e) ? ZO(e[0], e[1]) : KO(e) : n_(e);
|
|
3666
3666
|
}
|
|
3667
3667
|
function r_(e) {
|
|
3668
3668
|
return function(t, n, r) {
|
|
@@ -3697,8 +3697,8 @@ function s_(e, t, n, r, o, a, i) {
|
|
|
3697
3697
|
}
|
|
3698
3698
|
var u = a ? a(s, l, n + "", e, t, i) : void 0, d = u === void 0;
|
|
3699
3699
|
if (d) {
|
|
3700
|
-
var f =
|
|
3701
|
-
u = l, f || p || h ?
|
|
3700
|
+
var f = Ve(l), p = !f && Go(l), h = !f && !p && Pc(l);
|
|
3701
|
+
u = l, f || p || h ? Ve(s) ? u = s : vl(s) ? u = sg(s) : p ? (d = !1, u = bg(l, !0)) : h ? (d = !1, u = Cg(l, !0)) : u = [] : bt(l) || Wo(l) ? (u = s, Wo(s) ? u = i_(s) : (!Kt(s) || Oc(s)) && (u = Og(l))) : d = !1;
|
|
3702
3702
|
}
|
|
3703
3703
|
d && (i.set(l, u), o(u, l, r, a, i), i.delete(l)), gl(e, n, u);
|
|
3704
3704
|
}
|
|
@@ -3752,7 +3752,7 @@ function p_(e, t) {
|
|
|
3752
3752
|
return t = Qr(t, e), e = c_(e, t), e == null || delete e[Zr(Ag(t))];
|
|
3753
3753
|
}
|
|
3754
3754
|
function h_(e) {
|
|
3755
|
-
return
|
|
3755
|
+
return bt(e) ? void 0 : e;
|
|
3756
3756
|
}
|
|
3757
3757
|
var g_ = 1, v_ = 2, m_ = 4, y_ = _S(function(e, t) {
|
|
3758
3758
|
var n = {};
|
|
@@ -3803,8 +3803,8 @@ function x_(e, t) {
|
|
|
3803
3803
|
function S_(e, t) {
|
|
3804
3804
|
return x_(e, f_(Fc(t)));
|
|
3805
3805
|
}
|
|
3806
|
-
var C_ = 1 / 0, O_ =
|
|
3807
|
-
return new
|
|
3806
|
+
var C_ = 1 / 0, O_ = kr && 1 / Bc(new kr([, -0]))[1] == C_ ? function(e) {
|
|
3807
|
+
return new kr(e);
|
|
3808
3808
|
} : Sw;
|
|
3809
3809
|
const __ = O_;
|
|
3810
3810
|
var E_ = 200;
|
|
@@ -4036,7 +4036,7 @@ function zn(e, t) {
|
|
|
4036
4036
|
validator: t
|
|
4037
4037
|
});
|
|
4038
4038
|
}
|
|
4039
|
-
function
|
|
4039
|
+
function Dr(e) {
|
|
4040
4040
|
return new cn({
|
|
4041
4041
|
type: "dynamic",
|
|
4042
4042
|
schema: null,
|
|
@@ -4069,10 +4069,10 @@ function Bg(e, t) {
|
|
|
4069
4069
|
return ye(r);
|
|
4070
4070
|
}
|
|
4071
4071
|
}
|
|
4072
|
-
function
|
|
4072
|
+
function Be() {
|
|
4073
4073
|
return zn("any", () => !0);
|
|
4074
4074
|
}
|
|
4075
|
-
function
|
|
4075
|
+
function De(e) {
|
|
4076
4076
|
return new cn({
|
|
4077
4077
|
type: "array",
|
|
4078
4078
|
schema: e,
|
|
@@ -4089,7 +4089,7 @@ function Me(e) {
|
|
|
4089
4089
|
}
|
|
4090
4090
|
});
|
|
4091
4091
|
}
|
|
4092
|
-
function
|
|
4092
|
+
function $r() {
|
|
4093
4093
|
return zn("boolean", (e) => typeof e == "boolean");
|
|
4094
4094
|
}
|
|
4095
4095
|
function yl(e) {
|
|
@@ -4107,7 +4107,7 @@ function yl(e) {
|
|
|
4107
4107
|
function zg() {
|
|
4108
4108
|
return zn("func", (e) => typeof e == "function" || "Expected a function, but received: " + Nt(e));
|
|
4109
4109
|
}
|
|
4110
|
-
function
|
|
4110
|
+
function mt(e) {
|
|
4111
4111
|
const t = Nt(e), n = typeof e;
|
|
4112
4112
|
return new cn({
|
|
4113
4113
|
type: "literal",
|
|
@@ -4170,7 +4170,7 @@ function Ao(e, t) {
|
|
|
4170
4170
|
}
|
|
4171
4171
|
});
|
|
4172
4172
|
}
|
|
4173
|
-
function
|
|
4173
|
+
function U() {
|
|
4174
4174
|
return zn("string", (e) => typeof e == "string" || "Expected a string, but received: " + Nt(e));
|
|
4175
4175
|
}
|
|
4176
4176
|
function Vg(e) {
|
|
@@ -4188,7 +4188,7 @@ function Vg(e) {
|
|
|
4188
4188
|
}
|
|
4189
4189
|
});
|
|
4190
4190
|
}
|
|
4191
|
-
function
|
|
4191
|
+
function yt(e) {
|
|
4192
4192
|
const t = e.map((n) => n.type).join(" | ");
|
|
4193
4193
|
return new cn({
|
|
4194
4194
|
type: "union",
|
|
@@ -4219,91 +4219,91 @@ function I_() {
|
|
|
4219
4219
|
return zn("unknown", () => !0);
|
|
4220
4220
|
}
|
|
4221
4221
|
const Uc = ye({
|
|
4222
|
-
package:
|
|
4223
|
-
version:
|
|
4224
|
-
name:
|
|
4225
|
-
exportName: K(
|
|
4226
|
-
destructuring: K(
|
|
4227
|
-
subName: K(
|
|
4228
|
-
main: K(
|
|
4229
|
-
cssPaths: K(
|
|
4230
|
-
}), L_ =
|
|
4222
|
+
package: U(),
|
|
4223
|
+
version: U(),
|
|
4224
|
+
name: U(),
|
|
4225
|
+
exportName: K(U()),
|
|
4226
|
+
destructuring: K($r()),
|
|
4227
|
+
subName: K(U()),
|
|
4228
|
+
main: K(U()),
|
|
4229
|
+
cssPaths: K(De(U()))
|
|
4230
|
+
}), L_ = De(Uc), B_ = ["CBlock", "CContainer", "CImage", "CCanvas", "CVideo", "CAudio", "CText", "CNativeTag"];
|
|
4231
4231
|
var At = /* @__PURE__ */ ((e) => (e.SLOT = "SLOT", e.FUNCTION = "FUNCTION", e.EXPRESSION = "EXPRESSION", e))(At || {}), Wc = /* @__PURE__ */ ((e) => (e.DESIGN = "design", e.SAVE = "save", e))(Wc || {}), bl = /* @__PURE__ */ ((e) => (e.FUNC = "FUNC", e.COMP = "COMP", e))(bl || {});
|
|
4232
|
-
const z_ = () => zn("normalObj", (e) => !
|
|
4233
|
-
type:
|
|
4232
|
+
const z_ = () => zn("normalObj", (e) => !bt(e) || [At.SLOT, At.EXPRESSION, At.FUNCTION].includes(e == null ? void 0 : e.type) ? !1 : (eo(e, Ao(U(), Gc)), !0)), Gc = yt([U(), Fg(), $r(), ye({
|
|
4233
|
+
type: mt(At.SLOT),
|
|
4234
4234
|
renderType: yl([bl.FUNC, bl.COMP]),
|
|
4235
4235
|
// if renderType is Func, params will be useful
|
|
4236
|
-
params: K(
|
|
4236
|
+
params: K(De(U())),
|
|
4237
4237
|
// here can't use PropsDataStructDescribe, it will caused "Maximum call stack size exceeded" error
|
|
4238
|
-
value:
|
|
4238
|
+
value: Dr(() => yt([Ir, De(Ir)]))
|
|
4239
4239
|
}), ye({
|
|
4240
|
-
type:
|
|
4241
|
-
value:
|
|
4240
|
+
type: mt(At.EXPRESSION),
|
|
4241
|
+
value: U()
|
|
4242
4242
|
}), ye({
|
|
4243
|
-
type:
|
|
4244
|
-
value:
|
|
4245
|
-
}), z_(),
|
|
4246
|
-
type:
|
|
4247
|
-
value:
|
|
4248
|
-
}),
|
|
4249
|
-
id: K(
|
|
4250
|
-
title: K(
|
|
4251
|
-
componentName:
|
|
4252
|
-
props: K(Ao(
|
|
4253
|
-
nodeName: K(
|
|
4254
|
-
state: K(Ao(
|
|
4255
|
-
children:
|
|
4256
|
-
configure: K(
|
|
4257
|
-
css: K(
|
|
4258
|
-
style: K(
|
|
4259
|
-
classNames: K(
|
|
4260
|
-
refId: K(
|
|
4261
|
-
extra: K(Ao(
|
|
4262
|
-
condition: K(
|
|
4243
|
+
type: mt(At.FUNCTION),
|
|
4244
|
+
value: U()
|
|
4245
|
+
}), z_(), De(Dr(() => Gc))]), Ad = ye({
|
|
4246
|
+
type: mt(At.EXPRESSION),
|
|
4247
|
+
value: U()
|
|
4248
|
+
}), Ir = ye({
|
|
4249
|
+
id: K(U()),
|
|
4250
|
+
title: K(U()),
|
|
4251
|
+
componentName: U(),
|
|
4252
|
+
props: K(Ao(U(), Gc)),
|
|
4253
|
+
nodeName: K(U()),
|
|
4254
|
+
state: K(Ao(U(), Be())),
|
|
4255
|
+
children: Dr(() => K(De(yt([U(), Ir])))),
|
|
4256
|
+
configure: K(Be()),
|
|
4257
|
+
css: K(Be()),
|
|
4258
|
+
style: K(Be()),
|
|
4259
|
+
classNames: K(De(Be())),
|
|
4260
|
+
refId: K(U()),
|
|
4261
|
+
extra: K(Ao(Be(), Be())),
|
|
4262
|
+
condition: K(yt([$r(), Ad])),
|
|
4263
4263
|
loop: K(ye({
|
|
4264
|
-
open:
|
|
4265
|
-
data:
|
|
4266
|
-
args: K(
|
|
4267
|
-
forName: K(
|
|
4268
|
-
forIndex: K(
|
|
4269
|
-
key: K(
|
|
4270
|
-
name: K(
|
|
4264
|
+
open: $r(),
|
|
4265
|
+
data: yt([De(Be()), Ad]),
|
|
4266
|
+
args: K(De(U())),
|
|
4267
|
+
forName: K(U()),
|
|
4268
|
+
forIndex: K(U()),
|
|
4269
|
+
key: K(Be()),
|
|
4270
|
+
name: K(U())
|
|
4271
4271
|
})),
|
|
4272
|
-
methods: K(
|
|
4273
|
-
}), gi =
|
|
4274
|
-
label:
|
|
4275
|
-
tip: K(
|
|
4272
|
+
methods: K(De(Be()))
|
|
4273
|
+
}), gi = yt([U(), ye({
|
|
4274
|
+
label: U(),
|
|
4275
|
+
tip: K(U())
|
|
4276
4276
|
})]), F_ = ye({
|
|
4277
|
-
type:
|
|
4277
|
+
type: mt(
|
|
4278
4278
|
"shape"
|
|
4279
4279
|
/* SHAPE */
|
|
4280
4280
|
),
|
|
4281
|
-
value:
|
|
4282
|
-
name:
|
|
4281
|
+
value: De(ye({
|
|
4282
|
+
name: U(),
|
|
4283
4283
|
title: gi,
|
|
4284
|
-
valueType:
|
|
4284
|
+
valueType: Dr(() => Fi)
|
|
4285
4285
|
}))
|
|
4286
4286
|
}), V_ = ye({
|
|
4287
|
-
type:
|
|
4287
|
+
type: mt(
|
|
4288
4288
|
"enums"
|
|
4289
4289
|
/* ENUMS */
|
|
4290
4290
|
),
|
|
4291
|
-
value:
|
|
4291
|
+
value: De(U())
|
|
4292
4292
|
});
|
|
4293
4293
|
ye({
|
|
4294
|
-
type:
|
|
4294
|
+
type: mt(
|
|
4295
4295
|
"array"
|
|
4296
4296
|
/* ARRAY */
|
|
4297
4297
|
),
|
|
4298
|
-
value:
|
|
4298
|
+
value: Dr(() => Fi)
|
|
4299
4299
|
});
|
|
4300
4300
|
const H_ = ye({
|
|
4301
|
-
type:
|
|
4301
|
+
type: mt(
|
|
4302
4302
|
"array"
|
|
4303
4303
|
/* ARRAY */
|
|
4304
4304
|
),
|
|
4305
|
-
value:
|
|
4306
|
-
}), Fi =
|
|
4305
|
+
value: Dr(() => De(Fi))
|
|
4306
|
+
}), Fi = yt([yl([
|
|
4307
4307
|
"array",
|
|
4308
4308
|
"boolean",
|
|
4309
4309
|
"number",
|
|
@@ -4315,94 +4315,94 @@ const H_ = ye({
|
|
|
4315
4315
|
"expression",
|
|
4316
4316
|
"function"
|
|
4317
4317
|
/* FUNCTION */
|
|
4318
|
-
]), F_, V_, H_]), U_ =
|
|
4319
|
-
componentName:
|
|
4320
|
-
props: K(
|
|
4318
|
+
]), F_, V_, H_]), U_ = yt([U(), ye({
|
|
4319
|
+
componentName: U(),
|
|
4320
|
+
props: K(Be()),
|
|
4321
4321
|
/** 用于标记当前数据的初始值,如添加一个数组元素可以使用该值填充 */
|
|
4322
|
-
initialValue: K(
|
|
4323
|
-
component: K(
|
|
4322
|
+
initialValue: K(Be()),
|
|
4323
|
+
component: K(Be())
|
|
4324
4324
|
})]), xs = ye({
|
|
4325
|
-
name:
|
|
4325
|
+
name: U(),
|
|
4326
4326
|
title: gi,
|
|
4327
4327
|
// 描述 name 对应值的类型
|
|
4328
4328
|
valueType: Fi,
|
|
4329
|
-
description: K(
|
|
4330
|
-
defaultValue:
|
|
4329
|
+
description: K(U()),
|
|
4330
|
+
defaultValue: Be(),
|
|
4331
4331
|
//用于产生 valueType 类型的值
|
|
4332
|
-
setters: K(
|
|
4332
|
+
setters: K(De(U_)),
|
|
4333
4333
|
condition: K(zg())
|
|
4334
4334
|
});
|
|
4335
|
-
|
|
4335
|
+
yt([U(), zg()]);
|
|
4336
4336
|
var wl = /* @__PURE__ */ ((e) => (e.SINGLE = "single", e.GROUP = "group", e))(wl || {});
|
|
4337
|
-
|
|
4338
|
-
name:
|
|
4339
|
-
describe: K(
|
|
4337
|
+
yt([U(), ye({
|
|
4338
|
+
name: U(),
|
|
4339
|
+
describe: K(U()),
|
|
4340
4340
|
params: K(ye({
|
|
4341
|
-
name:
|
|
4342
|
-
description:
|
|
4341
|
+
name: U(),
|
|
4342
|
+
description: U()
|
|
4343
4343
|
})),
|
|
4344
|
-
template:
|
|
4344
|
+
template: U()
|
|
4345
4345
|
})]);
|
|
4346
4346
|
const W_ = ye({
|
|
4347
|
-
id: K(
|
|
4348
|
-
title:
|
|
4349
|
-
snapshot:
|
|
4350
|
-
snapshotText: K(
|
|
4351
|
-
description: K(
|
|
4347
|
+
id: K(U()),
|
|
4348
|
+
title: U(),
|
|
4349
|
+
snapshot: yt([U(), Be()]),
|
|
4350
|
+
snapshotText: K(U()),
|
|
4351
|
+
description: K(U()),
|
|
4352
4352
|
// 组件分类,用于搜索
|
|
4353
|
-
tags: K(
|
|
4353
|
+
tags: K(De(U())),
|
|
4354
4354
|
// 分 tab 面板
|
|
4355
|
-
groupName: K(
|
|
4355
|
+
groupName: K(U()),
|
|
4356
4356
|
// 分类
|
|
4357
|
-
category: K(
|
|
4358
|
-
schema: Hc(Bg(
|
|
4359
|
-
componentName: K(
|
|
4357
|
+
category: K(U()),
|
|
4358
|
+
schema: Hc(Bg(Ir, ["id"]), ye({
|
|
4359
|
+
componentName: K(U())
|
|
4360
4360
|
}))
|
|
4361
4361
|
}), G_ = ye({
|
|
4362
|
-
componentName:
|
|
4363
|
-
title:
|
|
4364
|
-
screenshot: K(
|
|
4365
|
-
icon: K(
|
|
4362
|
+
componentName: U(),
|
|
4363
|
+
title: U(),
|
|
4364
|
+
screenshot: K(U()),
|
|
4365
|
+
icon: K(U()),
|
|
4366
4366
|
// 组件分类,用于搜索
|
|
4367
|
-
tags: K(
|
|
4367
|
+
tags: K(De(U())),
|
|
4368
4368
|
// 分 tab 面板
|
|
4369
|
-
groupName: K(
|
|
4369
|
+
groupName: K(U()),
|
|
4370
4370
|
// 分类
|
|
4371
|
-
category: K(
|
|
4371
|
+
category: K(U()),
|
|
4372
4372
|
// 排序
|
|
4373
4373
|
priority: K(Fg()),
|
|
4374
4374
|
npm: K(Uc),
|
|
4375
|
-
snippets:
|
|
4376
|
-
props:
|
|
4375
|
+
snippets: De(W_),
|
|
4376
|
+
props: De(yt([xs, ye({
|
|
4377
4377
|
title: K(gi),
|
|
4378
|
-
type:
|
|
4378
|
+
type: mt(
|
|
4379
4379
|
"single"
|
|
4380
4380
|
/* SINGLE */
|
|
4381
4381
|
),
|
|
4382
4382
|
content: xs
|
|
4383
4383
|
}), ye({
|
|
4384
4384
|
title: K(gi),
|
|
4385
|
-
type:
|
|
4385
|
+
type: mt(
|
|
4386
4386
|
"group"
|
|
4387
4387
|
/* GROUP */
|
|
4388
4388
|
),
|
|
4389
|
-
content:
|
|
4389
|
+
content: De(xs)
|
|
4390
4390
|
})])),
|
|
4391
|
-
fixedProps: K(
|
|
4391
|
+
fixedProps: K(Be()),
|
|
4392
4392
|
// 可以拖入组件
|
|
4393
|
-
isContainer: K(
|
|
4394
|
-
placeholder:
|
|
4395
|
-
width:
|
|
4396
|
-
height:
|
|
4393
|
+
isContainer: K(yt([$r(), ye({
|
|
4394
|
+
placeholder: U(),
|
|
4395
|
+
width: U(),
|
|
4396
|
+
height: U()
|
|
4397
4397
|
})])),
|
|
4398
|
-
|
|
4398
|
+
disableEditorDragDom: K(Be()),
|
|
4399
4399
|
// 如果是布局组件,可以考虑将拖拽控制权转移 or 实现 resize
|
|
4400
|
-
isLayout: K(
|
|
4401
|
-
rootSelector: K(
|
|
4400
|
+
isLayout: K($r()),
|
|
4401
|
+
rootSelector: K(U()),
|
|
4402
4402
|
// selectionToolBarView: optional(func()),
|
|
4403
|
-
advanceCustom: K(
|
|
4403
|
+
advanceCustom: K(Be()),
|
|
4404
4404
|
// 扩展配置
|
|
4405
|
-
extra: K(Ao(
|
|
4405
|
+
extra: K(Ao(Be(), Be()))
|
|
4406
4406
|
}), K_ = (e) => ({
|
|
4407
4407
|
data: t,
|
|
4408
4408
|
message: n,
|
|
@@ -4453,10 +4453,10 @@ const W_ = ye({
|
|
|
4453
4453
|
};
|
|
4454
4454
|
var to = /* @__PURE__ */ ((e) => (e.ROOT_CONTAINER = "RootContainer", e))(to || {});
|
|
4455
4455
|
const q_ = ye({
|
|
4456
|
-
type:
|
|
4457
|
-
value:
|
|
4458
|
-
}), Y_ = Hc(Bg(
|
|
4459
|
-
componentName:
|
|
4456
|
+
type: mt(At.FUNCTION),
|
|
4457
|
+
value: U()
|
|
4458
|
+
}), Y_ = Hc(Bg(Ir, ["componentName"]), ye({
|
|
4459
|
+
componentName: mt(
|
|
4460
4460
|
"RootContainer"
|
|
4461
4461
|
/* ROOT_CONTAINER */
|
|
4462
4462
|
)
|
|
@@ -4487,19 +4487,19 @@ const ua = X_(), J_ = (e, t) => {
|
|
|
4487
4487
|
...e,
|
|
4488
4488
|
value: []
|
|
4489
4489
|
}, r = e.value;
|
|
4490
|
-
let o = new
|
|
4491
|
-
return t && (o = t.materialsMode || new
|
|
4490
|
+
let o = new rr([]);
|
|
4491
|
+
return t && (o = t.materialsMode || new rr([])), r && (Ve(r) ? n.value = r.map((a) => new ze(a, {
|
|
4492
4492
|
parent: t,
|
|
4493
4493
|
materials: o
|
|
4494
|
-
})) :
|
|
4494
|
+
})) : bt(r) && n.value.push(new ze(r, {
|
|
4495
4495
|
parent: t,
|
|
4496
4496
|
materials: o
|
|
4497
4497
|
}))), n;
|
|
4498
4498
|
};
|
|
4499
|
-
class
|
|
4499
|
+
class Lr {
|
|
4500
4500
|
constructor(t, n) {
|
|
4501
4501
|
ie(this, "nodeType", "SLOT"), ie(this, "rawData"), ie(this, "parent"), ie(this, "emitter", ua), ie(this, "data"), ie(this, "id"), ie(this, "materialsMode"), this.parent = (n == null ? void 0 : n.parent) || null, this.rawData = t;
|
|
4502
|
-
const r = (n == null ? void 0 : n.materials) || new
|
|
4502
|
+
const r = (n == null ? void 0 : n.materials) || new rr([]);
|
|
4503
4503
|
this.materialsMode = r, this.id = On(), this.data = J_(t, this);
|
|
4504
4504
|
}
|
|
4505
4505
|
get value() {
|
|
@@ -4507,15 +4507,15 @@ class Br {
|
|
|
4507
4507
|
}
|
|
4508
4508
|
export(t) {
|
|
4509
4509
|
const n = this.data, r = (o) => {
|
|
4510
|
-
if (o instanceof
|
|
4510
|
+
if (o instanceof ze)
|
|
4511
4511
|
return o.export(t);
|
|
4512
|
-
if (
|
|
4512
|
+
if (bt(o)) {
|
|
4513
4513
|
const a = {};
|
|
4514
4514
|
return Object.keys(o || {}).forEach((i) => {
|
|
4515
4515
|
a[i] = r(o[i]);
|
|
4516
4516
|
}), a;
|
|
4517
4517
|
}
|
|
4518
|
-
return
|
|
4518
|
+
return Ve(o) ? o.map((a) => r(a)) : (t === "design" && delete o.id, o);
|
|
4519
4519
|
};
|
|
4520
4520
|
return r(n);
|
|
4521
4521
|
}
|
|
@@ -4528,22 +4528,22 @@ const Hg = (e) => {
|
|
|
4528
4528
|
}), t;
|
|
4529
4529
|
}, xl = (e, t, n) => {
|
|
4530
4530
|
if (e.type)
|
|
4531
|
-
return e.type === At.SLOT ? new
|
|
4531
|
+
return e.type === At.SLOT ? new Lr(e, {
|
|
4532
4532
|
parent: t,
|
|
4533
4533
|
materials: n
|
|
4534
4534
|
}) : e;
|
|
4535
|
-
if (
|
|
4535
|
+
if (bt(e)) {
|
|
4536
4536
|
const r = {};
|
|
4537
4537
|
return Object.keys(e).forEach((o) => {
|
|
4538
4538
|
r[o] = Sl(e[o], t, n);
|
|
4539
4539
|
}), r;
|
|
4540
4540
|
} else
|
|
4541
4541
|
return Array.isArray(e) ? e.map((r) => xl(r, t, n)) : e;
|
|
4542
|
-
}, Sl = (e, t, n) =>
|
|
4543
|
-
let
|
|
4542
|
+
}, Sl = (e, t, n) => bt(e) ? xl(e, t, n) : Ve(e) ? e.map((r) => xl(r, t, n)) : e;
|
|
4543
|
+
let Br = class Ug {
|
|
4544
4544
|
constructor(t, n, r) {
|
|
4545
4545
|
ie(this, "nodeType", "PROP"), ie(this, "rawData"), ie(this, "parent"), ie(this, "emitter", ua), ie(this, "data"), ie(this, "name"), ie(this, "materialsMode");
|
|
4546
|
-
const o = (r == null ? void 0 : r.materials) || new
|
|
4546
|
+
const o = (r == null ? void 0 : r.materials) || new rr([]);
|
|
4547
4547
|
this.materialsMode = o, this.parent = r == null ? void 0 : r.parent, this.rawData = n, this.name = t, this.data = Sl(n, this, o);
|
|
4548
4548
|
}
|
|
4549
4549
|
// TODO:
|
|
@@ -4563,7 +4563,7 @@ let zr = class Ug {
|
|
|
4563
4563
|
value: this.data,
|
|
4564
4564
|
preValue: n,
|
|
4565
4565
|
node: this
|
|
4566
|
-
}), this.parent && !(this.parent instanceof
|
|
4566
|
+
}), this.parent && !(this.parent instanceof Lr) && this.emitter.emit("onNodeChange", {
|
|
4567
4567
|
value: this.parent.value,
|
|
4568
4568
|
preValue: this.parent.value,
|
|
4569
4569
|
node: this.parent
|
|
@@ -4571,7 +4571,7 @@ let zr = class Ug {
|
|
|
4571
4571
|
}
|
|
4572
4572
|
get material() {
|
|
4573
4573
|
const t = this.parent;
|
|
4574
|
-
if (t instanceof
|
|
4574
|
+
if (t instanceof ze) {
|
|
4575
4575
|
const n = t.material;
|
|
4576
4576
|
return Hg((n == null ? void 0 : n.value.props) || []).find((r) => r.name === this.name);
|
|
4577
4577
|
} else
|
|
@@ -4579,11 +4579,11 @@ let zr = class Ug {
|
|
|
4579
4579
|
}
|
|
4580
4580
|
export(t) {
|
|
4581
4581
|
const n = this.data, r = (o) => {
|
|
4582
|
-
if (o instanceof Ug || o instanceof
|
|
4582
|
+
if (o instanceof Ug || o instanceof Lr || o instanceof ze)
|
|
4583
4583
|
return o.export(t);
|
|
4584
|
-
if (
|
|
4584
|
+
if (Ve(o))
|
|
4585
4585
|
return o.map((a) => r(a));
|
|
4586
|
-
if (
|
|
4586
|
+
if (bt(o)) {
|
|
4587
4587
|
const a = {};
|
|
4588
4588
|
return Object.keys(o || {}).forEach((i) => {
|
|
4589
4589
|
a[i] = r(o[i]);
|
|
@@ -4599,10 +4599,10 @@ const Q_ = (e) => {
|
|
|
4599
4599
|
return !0;
|
|
4600
4600
|
Kc({
|
|
4601
4601
|
data: e,
|
|
4602
|
-
dataStruct:
|
|
4602
|
+
dataStruct: Ir,
|
|
4603
4603
|
throwError: !1
|
|
4604
4604
|
});
|
|
4605
|
-
}, Dd = (e, t, n = new
|
|
4605
|
+
}, Dd = (e, t, n = new rr([])) => {
|
|
4606
4606
|
if (typeof e == "string")
|
|
4607
4607
|
return e;
|
|
4608
4608
|
const r = {
|
|
@@ -4619,34 +4619,34 @@ const Q_ = (e) => {
|
|
|
4619
4619
|
return o.length && o.forEach((a) => {
|
|
4620
4620
|
var i;
|
|
4621
4621
|
const s = (i = e.props) == null ? void 0 : i[a];
|
|
4622
|
-
if (s instanceof
|
|
4622
|
+
if (s instanceof Br) {
|
|
4623
4623
|
r.props[a] = s;
|
|
4624
4624
|
return;
|
|
4625
4625
|
}
|
|
4626
|
-
r.props[a] = new
|
|
4626
|
+
r.props[a] = new Br(a, s || "", {
|
|
4627
4627
|
parent: t,
|
|
4628
4628
|
materials: n
|
|
4629
4629
|
});
|
|
4630
4630
|
}), e.children && (Array.isArray(e.children) ? r.children = e.children.map((a) => {
|
|
4631
|
-
if (a instanceof
|
|
4631
|
+
if (a instanceof ze)
|
|
4632
4632
|
return a;
|
|
4633
|
-
if (
|
|
4633
|
+
if (bt(a)) {
|
|
4634
4634
|
const i = a;
|
|
4635
|
-
return new
|
|
4635
|
+
return new ze(i, {
|
|
4636
4636
|
parent: t,
|
|
4637
4637
|
materials: n
|
|
4638
4638
|
});
|
|
4639
4639
|
} else
|
|
4640
4640
|
return a;
|
|
4641
|
-
}) : (e.children instanceof
|
|
4641
|
+
}) : (e.children instanceof ze && (r.children = [e.children]), r.children = [new ze(e.children, {
|
|
4642
4642
|
parent: t,
|
|
4643
4643
|
materials: n
|
|
4644
4644
|
})])), r;
|
|
4645
4645
|
};
|
|
4646
|
-
let
|
|
4646
|
+
let ze = class Cl {
|
|
4647
4647
|
constructor(t, n) {
|
|
4648
4648
|
ie(this, "nodeType", "NODE"), ie(this, "rawData"), ie(this, "data"), ie(this, "emitter", ua), ie(this, "parent"), ie(this, "materialsModel"), ie(this, "listenerHandle"), ie(this, "onChangeCbQueue"), this.rawData = JSON.parse(JSON.stringify(t)), Q_(t);
|
|
4649
|
-
const r = (n == null ? void 0 : n.materials) || new
|
|
4649
|
+
const r = (n == null ? void 0 : n.materials) || new rr([]);
|
|
4650
4650
|
this.parent = (n == null ? void 0 : n.parent) || null, this.materialsModel = r, this.data = Dd(t, this, r), this.listenerHandle = [], this.onChangeCbQueue = [], this.registerListener();
|
|
4651
4651
|
}
|
|
4652
4652
|
registerListener() {
|
|
@@ -4755,10 +4755,10 @@ const $d = (e, t, n) => {
|
|
|
4755
4755
|
})
|
|
4756
4756
|
};
|
|
4757
4757
|
let o = [];
|
|
4758
|
-
|
|
4758
|
+
Ve(e.children) ? o = e.children.map((i) => i instanceof ze ? i : bt(i) ? new ze(i, {
|
|
4759
4759
|
parent: t,
|
|
4760
4760
|
materials: n
|
|
4761
|
-
}) : i) : e.children instanceof
|
|
4761
|
+
}) : i) : e.children instanceof ze ? o.push(e.children) : e.children && bt(e.children) && o.push(new ze(e.children, {
|
|
4762
4762
|
parent: t,
|
|
4763
4763
|
materials: n
|
|
4764
4764
|
}));
|
|
@@ -4766,7 +4766,7 @@ const $d = (e, t, n) => {
|
|
|
4766
4766
|
return a.length && a.forEach((i) => {
|
|
4767
4767
|
var s;
|
|
4768
4768
|
const l = (s = e.props) == null ? void 0 : s[i];
|
|
4769
|
-
l instanceof
|
|
4769
|
+
l instanceof Br ? r.props[i] = l : r.props[i] = new Br(i, l || "", {
|
|
4770
4770
|
parent: t,
|
|
4771
4771
|
materials: n
|
|
4772
4772
|
});
|
|
@@ -4871,7 +4871,7 @@ class Jo {
|
|
|
4871
4871
|
});
|
|
4872
4872
|
}
|
|
4873
4873
|
}
|
|
4874
|
-
const Kn = (e) => (e == null ? void 0 : e.type) === At.EXPRESSION, Z_ = (e) => (e == null ? void 0 : e.type) === At.FUNCTION, On = () => Math.random().toString(32).slice(3, 9), eE = (e) => (e == null ? void 0 : e.nodeType) === "NODE", Ss = (e) => (e == null ? void 0 : e.nodeType) === "PROP", tE = (e) => (e == null ? void 0 : e.nodeType) === "SLOT", qc = (e) => S_(e, (t) =>
|
|
4874
|
+
const Kn = (e) => (e == null ? void 0 : e.type) === At.EXPRESSION, Z_ = (e) => (e == null ? void 0 : e.type) === At.FUNCTION, On = () => Math.random().toString(32).slice(3, 9), eE = (e) => (e == null ? void 0 : e.nodeType) === "NODE", Ss = (e) => (e == null ? void 0 : e.nodeType) === "PROP", tE = (e) => (e == null ? void 0 : e.nodeType) === "SLOT", qc = (e) => S_(e, (t) => bt(t) ? !Object.keys(t).length : Ve(t) ? !t.length : !t);
|
|
4875
4875
|
function nE(e, t) {
|
|
4876
4876
|
const n = [e];
|
|
4877
4877
|
for (; n.length; ) {
|
|
@@ -4879,22 +4879,22 @@ function nE(e, t) {
|
|
|
4879
4879
|
if (r && t(r))
|
|
4880
4880
|
return r;
|
|
4881
4881
|
const o = (r == null ? void 0 : r.props) || {}, a = (s) => {
|
|
4882
|
-
if (s instanceof
|
|
4882
|
+
if (s instanceof ze) {
|
|
4883
4883
|
n.push(s);
|
|
4884
4884
|
return;
|
|
4885
4885
|
}
|
|
4886
|
-
if (s instanceof
|
|
4886
|
+
if (s instanceof Lr && a(s.value.value), s instanceof Br) {
|
|
4887
4887
|
a(s.value);
|
|
4888
4888
|
return;
|
|
4889
4889
|
}
|
|
4890
|
-
if (
|
|
4890
|
+
if (bt(s)) {
|
|
4891
4891
|
const l = s;
|
|
4892
4892
|
Object.keys(l).forEach((c) => {
|
|
4893
4893
|
a(l[c]);
|
|
4894
4894
|
});
|
|
4895
4895
|
return;
|
|
4896
4896
|
}
|
|
4897
|
-
if (
|
|
4897
|
+
if (Ve(s)) {
|
|
4898
4898
|
s.forEach((l) => {
|
|
4899
4899
|
a(l);
|
|
4900
4900
|
});
|
|
@@ -4902,7 +4902,7 @@ function nE(e, t) {
|
|
|
4902
4902
|
}
|
|
4903
4903
|
};
|
|
4904
4904
|
a(o);
|
|
4905
|
-
const i = (r == null ? void 0 : r.value.children.filter((s) => s instanceof
|
|
4905
|
+
const i = (r == null ? void 0 : r.value.children.filter((s) => s instanceof ze)) || [];
|
|
4906
4906
|
n.push(...i);
|
|
4907
4907
|
}
|
|
4908
4908
|
}
|
|
@@ -4948,7 +4948,7 @@ class oE {
|
|
|
4948
4948
|
}
|
|
4949
4949
|
}
|
|
4950
4950
|
const aE = (e) => {
|
|
4951
|
-
if (!
|
|
4951
|
+
if (!Ve(e))
|
|
4952
4952
|
throw new Error("Materials must be a array");
|
|
4953
4953
|
return e.map((t) => new oE(t));
|
|
4954
4954
|
}, iE = (e) => {
|
|
@@ -4960,7 +4960,7 @@ const aE = (e) => {
|
|
|
4960
4960
|
});
|
|
4961
4961
|
});
|
|
4962
4962
|
};
|
|
4963
|
-
class
|
|
4963
|
+
let rr = class {
|
|
4964
4964
|
constructor(t) {
|
|
4965
4965
|
ie(this, "rawData"), ie(this, "data"), ie(this, "usedMaterials", []), this.rawData = t, iE(t), this.data = aE(t);
|
|
4966
4966
|
}
|
|
@@ -5016,25 +5016,25 @@ class ar {
|
|
|
5016
5016
|
get rawValue() {
|
|
5017
5017
|
return this.rawData;
|
|
5018
5018
|
}
|
|
5019
|
-
}
|
|
5019
|
+
};
|
|
5020
5020
|
const sE = ye({
|
|
5021
|
-
version:
|
|
5022
|
-
name:
|
|
5023
|
-
css: K(
|
|
5024
|
-
renderType: K(
|
|
5021
|
+
version: U(),
|
|
5022
|
+
name: U(),
|
|
5023
|
+
css: K(U()),
|
|
5024
|
+
renderType: K(yt([mt(
|
|
5025
5025
|
"COMPONENT"
|
|
5026
5026
|
/* COMPONENT */
|
|
5027
|
-
),
|
|
5027
|
+
), mt(
|
|
5028
5028
|
"PAGE"
|
|
5029
5029
|
/* PAGE */
|
|
5030
5030
|
)])),
|
|
5031
|
-
methods: K(
|
|
5032
|
-
componentsMeta:
|
|
5033
|
-
componentName:
|
|
5031
|
+
methods: K(De(q_)),
|
|
5032
|
+
componentsMeta: De(Hc(ye({
|
|
5033
|
+
componentName: U()
|
|
5034
5034
|
}), Uc)),
|
|
5035
5035
|
thirdLibs: K(L_),
|
|
5036
5036
|
componentsTree: Y_,
|
|
5037
|
-
assets: K(
|
|
5037
|
+
assets: K(De(Be()))
|
|
5038
5038
|
}), Wg = (e) => (Kc({
|
|
5039
5039
|
data: e,
|
|
5040
5040
|
dataStruct: sE,
|
|
@@ -5048,7 +5048,7 @@ const sE = ye({
|
|
|
5048
5048
|
});
|
|
5049
5049
|
class vi {
|
|
5050
5050
|
constructor(t, n) {
|
|
5051
|
-
ie(this, "nodeType", "PAGE"), ie(this, "rawData"), ie(this, "emitter", ua), ie(this, "data"), ie(this, "parent"), ie(this, "materialsModel"), ie(this, "assetPackagesList"), Wg(t), this.rawData = JSON.parse(JSON.stringify(t)), this.materialsModel = new
|
|
5051
|
+
ie(this, "nodeType", "PAGE"), ie(this, "rawData"), ie(this, "emitter", ua), ie(this, "data"), ie(this, "parent"), ie(this, "materialsModel"), ie(this, "assetPackagesList"), Wg(t), this.rawData = JSON.parse(JSON.stringify(t)), this.materialsModel = new rr((n == null ? void 0 : n.materials) || []), this.data = Cs(t, this, this.materialsModel), this.assetPackagesList = [...(n == null ? void 0 : n.assetPackagesList) || [], ...this.data.assets || []];
|
|
5052
5052
|
}
|
|
5053
5053
|
updatePage(t) {
|
|
5054
5054
|
const n = this.data;
|
|
@@ -5082,9 +5082,9 @@ class vi {
|
|
|
5082
5082
|
const a = n.parent;
|
|
5083
5083
|
if (a === null && n instanceof Jo)
|
|
5084
5084
|
return console.warn("Not found parent node"), !1;
|
|
5085
|
-
if (a instanceof
|
|
5085
|
+
if (a instanceof Br)
|
|
5086
5086
|
return console.warn("CProp can not add node"), !1;
|
|
5087
|
-
if (a instanceof
|
|
5087
|
+
if (a instanceof Lr) {
|
|
5088
5088
|
const s = a.value.value, l = s.findIndex((c) => c === n) ?? -1;
|
|
5089
5089
|
return l >= 0 ? (r === "BEFORE" ? s.splice(l, 0, t) : s.splice(l + 1, 0, t), t.parent = a, (o = a.parent) == null || o.updateValue(), !0) : !1;
|
|
5090
5090
|
}
|
|
@@ -5097,7 +5097,7 @@ class vi {
|
|
|
5097
5097
|
return n.value.children.unshift(t), t.parent = n, n.updateValue(), !0;
|
|
5098
5098
|
if (r === "CHILD_END")
|
|
5099
5099
|
return n.value.children.push(t), t.parent = n, n.updateValue(), !0;
|
|
5100
|
-
if (
|
|
5100
|
+
if (bt(r)) {
|
|
5101
5101
|
const a = r;
|
|
5102
5102
|
if (a.type === "CHILD") {
|
|
5103
5103
|
const i = a.pos, s = a.index || 0;
|
|
@@ -5108,7 +5108,7 @@ class vi {
|
|
|
5108
5108
|
return !1;
|
|
5109
5109
|
}
|
|
5110
5110
|
createNode(t) {
|
|
5111
|
-
return delete t.id, new
|
|
5111
|
+
return delete t.id, new ze(t, {
|
|
5112
5112
|
parent: null,
|
|
5113
5113
|
materials: this.materialsModel
|
|
5114
5114
|
});
|
|
@@ -5120,7 +5120,7 @@ class vi {
|
|
|
5120
5120
|
copyNode(t) {
|
|
5121
5121
|
const n = t.export("design");
|
|
5122
5122
|
n.id = On();
|
|
5123
|
-
const r = new
|
|
5123
|
+
const r = new ze(n, {
|
|
5124
5124
|
parent: t.parent,
|
|
5125
5125
|
materials: this.materialsModel
|
|
5126
5126
|
});
|
|
@@ -5128,7 +5128,7 @@ class vi {
|
|
|
5128
5128
|
}
|
|
5129
5129
|
copyNodeById(t) {
|
|
5130
5130
|
const n = this.getNode(t);
|
|
5131
|
-
return n && n instanceof
|
|
5131
|
+
return n && n instanceof ze ? this.copyNode(n) : !1;
|
|
5132
5132
|
}
|
|
5133
5133
|
moveNode(t, n, r) {
|
|
5134
5134
|
this.deleteNode(t);
|
|
@@ -5137,7 +5137,7 @@ class vi {
|
|
|
5137
5137
|
}
|
|
5138
5138
|
moveNodeById(t, n, r) {
|
|
5139
5139
|
const o = this.getNode(t), a = this.getNode(n);
|
|
5140
|
-
return o && a && o instanceof
|
|
5140
|
+
return o && a && o instanceof ze && a instanceof ze ? this.moveNode(o, a, r) : !1;
|
|
5141
5141
|
}
|
|
5142
5142
|
// replaceNode(targetNode, node) {}
|
|
5143
5143
|
deleteNode(t) {
|
|
@@ -5145,11 +5145,11 @@ class vi {
|
|
|
5145
5145
|
const r = t.parent;
|
|
5146
5146
|
if (!r)
|
|
5147
5147
|
throw new Error("parent node is null or undefined, pls check it");
|
|
5148
|
-
if (r instanceof
|
|
5148
|
+
if (r instanceof Lr) {
|
|
5149
5149
|
const o = r.value.value, a = o.findIndex((s) => s === t), i = o[a];
|
|
5150
5150
|
return o.splice(a, 1), (n = r.parent) == null || n.updateValue(), i;
|
|
5151
5151
|
}
|
|
5152
|
-
if (r instanceof
|
|
5152
|
+
if (r instanceof ze || r instanceof Jo) {
|
|
5153
5153
|
const o = r.value.children, a = o.findIndex((s) => s === t), i = o[a];
|
|
5154
5154
|
return o.splice(a, 1), r.updateValue(), i;
|
|
5155
5155
|
}
|
|
@@ -5195,8 +5195,8 @@ const Gg = lE;
|
|
|
5195
5195
|
var cE = typeof self == "object" && self && self.Object === Object && self, uE = Gg || cE || Function("return this")();
|
|
5196
5196
|
const no = uE;
|
|
5197
5197
|
var dE = no.Symbol;
|
|
5198
|
-
const
|
|
5199
|
-
var Kg = Object.prototype, fE = Kg.hasOwnProperty, pE = Kg.toString, Co =
|
|
5198
|
+
const zr = dE;
|
|
5199
|
+
var Kg = Object.prototype, fE = Kg.hasOwnProperty, pE = Kg.toString, Co = zr ? zr.toStringTag : void 0;
|
|
5200
5200
|
function hE(e) {
|
|
5201
5201
|
var t = fE.call(e, Co), n = e[Co];
|
|
5202
5202
|
try {
|
|
@@ -5211,7 +5211,7 @@ var gE = Object.prototype, vE = gE.toString;
|
|
|
5211
5211
|
function mE(e) {
|
|
5212
5212
|
return vE.call(e);
|
|
5213
5213
|
}
|
|
5214
|
-
var yE = "[object Null]", bE = "[object Undefined]", Id =
|
|
5214
|
+
var yE = "[object Null]", bE = "[object Undefined]", Id = zr ? zr.toStringTag : void 0;
|
|
5215
5215
|
function da(e) {
|
|
5216
5216
|
return e == null ? e === void 0 ? bE : yE : Id && Id in Object(e) ? hE(e) : mE(e);
|
|
5217
5217
|
}
|
|
@@ -5228,19 +5228,19 @@ function SE(e, t) {
|
|
|
5228
5228
|
return o;
|
|
5229
5229
|
}
|
|
5230
5230
|
var CE = Array.isArray;
|
|
5231
|
-
const
|
|
5232
|
-
var OE = 1 / 0, Ld =
|
|
5231
|
+
const Fr = CE;
|
|
5232
|
+
var OE = 1 / 0, Ld = zr ? zr.prototype : void 0, Bd = Ld ? Ld.toString : void 0;
|
|
5233
5233
|
function qg(e) {
|
|
5234
5234
|
if (typeof e == "string")
|
|
5235
5235
|
return e;
|
|
5236
|
-
if (
|
|
5236
|
+
if (Fr(e))
|
|
5237
5237
|
return SE(e, qg) + "";
|
|
5238
5238
|
if (xE(e))
|
|
5239
5239
|
return Bd ? Bd.call(e) : "";
|
|
5240
5240
|
var t = e + "";
|
|
5241
5241
|
return t == "0" && 1 / e == -OE ? "-0" : t;
|
|
5242
5242
|
}
|
|
5243
|
-
function
|
|
5243
|
+
function ur(e) {
|
|
5244
5244
|
var t = typeof e;
|
|
5245
5245
|
return e != null && (t == "object" || t == "function");
|
|
5246
5246
|
}
|
|
@@ -5249,7 +5249,7 @@ function Yg(e) {
|
|
|
5249
5249
|
}
|
|
5250
5250
|
var _E = "[object AsyncFunction]", EE = "[object Function]", NE = "[object GeneratorFunction]", RE = "[object Proxy]";
|
|
5251
5251
|
function Xc(e) {
|
|
5252
|
-
if (!
|
|
5252
|
+
if (!ur(e))
|
|
5253
5253
|
return !1;
|
|
5254
5254
|
var t = da(e);
|
|
5255
5255
|
return t == EE || t == NE || t == _E || t == RE;
|
|
@@ -5279,7 +5279,7 @@ function ME(e) {
|
|
|
5279
5279
|
}
|
|
5280
5280
|
var AE = /[\\^$.*+?()[\]{}|]/g, DE = /^\[object .+?Constructor\]$/, $E = Function.prototype, IE = Object.prototype, LE = $E.toString, BE = IE.hasOwnProperty, zE = RegExp("^" + LE.call(BE).replace(AE, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$");
|
|
5281
5281
|
function FE(e) {
|
|
5282
|
-
if (!
|
|
5282
|
+
if (!ur(e) || PE(e))
|
|
5283
5283
|
return !1;
|
|
5284
5284
|
var t = Xc(e) ? zE : DE;
|
|
5285
5285
|
return t.test(ME(e));
|
|
@@ -5295,7 +5295,7 @@ var Fd = Object.create, HE = function() {
|
|
|
5295
5295
|
function e() {
|
|
5296
5296
|
}
|
|
5297
5297
|
return function(t) {
|
|
5298
|
-
if (!
|
|
5298
|
+
if (!ur(t))
|
|
5299
5299
|
return {};
|
|
5300
5300
|
if (Fd)
|
|
5301
5301
|
return Fd(t);
|
|
@@ -5413,7 +5413,7 @@ function Zc(e) {
|
|
|
5413
5413
|
return e != null && Jg(e.length) && !Xc(e);
|
|
5414
5414
|
}
|
|
5415
5415
|
function f2(e, t, n) {
|
|
5416
|
-
if (!
|
|
5416
|
+
if (!ur(n))
|
|
5417
5417
|
return !1;
|
|
5418
5418
|
var r = typeof t;
|
|
5419
5419
|
return (r == "number" ? Zc(n) && Xg(t, n.length) : r == "string" && t in n) ? Vi(n[t], e) : !1;
|
|
@@ -5476,7 +5476,7 @@ var Kd = Gd && Gd.isTypedArray, Q2 = Kd ? Y2(Kd) : q2;
|
|
|
5476
5476
|
const rv = Q2;
|
|
5477
5477
|
var Z2 = Object.prototype, eN = Z2.hasOwnProperty;
|
|
5478
5478
|
function tN(e, t) {
|
|
5479
|
-
var n =
|
|
5479
|
+
var n = Fr(e), r = !n && Ol(e), o = !n && !r && tv(e), a = !n && !r && !o && rv(e), i = n || r || o || a, s = i ? g2(e.length, String) : [], l = s.length;
|
|
5480
5480
|
for (var c in e)
|
|
5481
5481
|
(t || eN.call(e, c)) && !(i && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
5482
5482
|
(c == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
@@ -5499,7 +5499,7 @@ function rN(e) {
|
|
|
5499
5499
|
}
|
|
5500
5500
|
var oN = Object.prototype, aN = oN.hasOwnProperty;
|
|
5501
5501
|
function iN(e) {
|
|
5502
|
-
if (!
|
|
5502
|
+
if (!ur(e))
|
|
5503
5503
|
return rN(e);
|
|
5504
5504
|
var t = Qg(e), n = [];
|
|
5505
5505
|
for (var r in e)
|
|
@@ -5537,18 +5537,18 @@ function yN(e, t) {
|
|
|
5537
5537
|
var n = this.__data__;
|
|
5538
5538
|
return this.size += this.has(e) ? 0 : 1, n[e] = Qo && t === void 0 ? mN : t, this;
|
|
5539
5539
|
}
|
|
5540
|
-
function
|
|
5540
|
+
function or(e) {
|
|
5541
5541
|
var t = -1, n = e == null ? 0 : e.length;
|
|
5542
5542
|
for (this.clear(); ++t < n; ) {
|
|
5543
5543
|
var r = e[t];
|
|
5544
5544
|
this.set(r[0], r[1]);
|
|
5545
5545
|
}
|
|
5546
5546
|
}
|
|
5547
|
-
|
|
5548
|
-
|
|
5549
|
-
|
|
5550
|
-
|
|
5551
|
-
|
|
5547
|
+
or.prototype.clear = lN;
|
|
5548
|
+
or.prototype.delete = cN;
|
|
5549
|
+
or.prototype.get = pN;
|
|
5550
|
+
or.prototype.has = vN;
|
|
5551
|
+
or.prototype.set = yN;
|
|
5552
5552
|
function bN() {
|
|
5553
5553
|
this.__data__ = [], this.size = 0;
|
|
5554
5554
|
}
|
|
@@ -5593,9 +5593,9 @@ var EN = Jc(no, "Map");
|
|
|
5593
5593
|
const av = EN;
|
|
5594
5594
|
function NN() {
|
|
5595
5595
|
this.size = 0, this.__data__ = {
|
|
5596
|
-
hash: new
|
|
5596
|
+
hash: new or(),
|
|
5597
5597
|
map: new (av || _n)(),
|
|
5598
|
-
string: new
|
|
5598
|
+
string: new or()
|
|
5599
5599
|
};
|
|
5600
5600
|
}
|
|
5601
5601
|
function RN(e) {
|
|
@@ -5638,7 +5638,7 @@ function iv(e) {
|
|
|
5638
5638
|
var MN = nN(Object.getPrototypeOf, Object);
|
|
5639
5639
|
const sv = MN;
|
|
5640
5640
|
var AN = "[object Object]", DN = Function.prototype, $N = Object.prototype, lv = DN.toString, IN = $N.hasOwnProperty, LN = lv.call(Object);
|
|
5641
|
-
function
|
|
5641
|
+
function Vr(e) {
|
|
5642
5642
|
if (!ro(e) || da(e) != AN)
|
|
5643
5643
|
return !1;
|
|
5644
5644
|
var t = sv(e);
|
|
@@ -5770,14 +5770,14 @@ function kR(e, t, n, r, o, a, i) {
|
|
|
5770
5770
|
}
|
|
5771
5771
|
var u = a ? a(s, l, n + "", e, t, i) : void 0, d = u === void 0;
|
|
5772
5772
|
if (d) {
|
|
5773
|
-
var f =
|
|
5774
|
-
u = l, f || p || h ?
|
|
5773
|
+
var f = Fr(l), p = !f && tv(l), h = !f && !p && rv(l);
|
|
5774
|
+
u = l, f || p || h ? Fr(s) ? u = s : TR(s) ? u = GE(s) : p ? (d = !1, u = xR(l, !0)) : h ? (d = !1, u = OR(l, !0)) : u = [] : Vr(l) || Ol(l) ? (u = s, Ol(s) ? u = PR(s) : (!ur(s) || Xc(s)) && (u = _R(l))) : d = !1;
|
|
5775
5775
|
}
|
|
5776
5776
|
d && (i.set(l, u), o(u, l, r, a, i), i.delete(l)), Nl(e, n, u);
|
|
5777
5777
|
}
|
|
5778
5778
|
function mv(e, t, n, r, o) {
|
|
5779
5779
|
e !== t && RR(t, function(a, i) {
|
|
5780
|
-
if (o || (o = new ao()),
|
|
5780
|
+
if (o || (o = new ao()), ur(a))
|
|
5781
5781
|
kR(e, t, i, n, mv, r, o);
|
|
5782
5782
|
else {
|
|
5783
5783
|
var s = r ? r(Rl(e, i), a, i + "", e, t, o) : void 0;
|
|
@@ -5806,7 +5806,7 @@ function $R(e) {
|
|
|
5806
5806
|
}
|
|
5807
5807
|
return t.displayName = e.displayName, t;
|
|
5808
5808
|
}
|
|
5809
|
-
const
|
|
5809
|
+
const yr = (e, t) => {
|
|
5810
5810
|
const n = (r) => {
|
|
5811
5811
|
const o = `
|
|
5812
5812
|
${Object.keys(t).map((a) => `const ${a} = $$context['${a}'];`).join(`
|
|
@@ -6040,10 +6040,10 @@ class WR {
|
|
|
6040
6040
|
return c(l).component;
|
|
6041
6041
|
} else {
|
|
6042
6042
|
if (Kn(i))
|
|
6043
|
-
return
|
|
6043
|
+
return yr(i.value, n || {});
|
|
6044
6044
|
if (Z_(i))
|
|
6045
6045
|
return IR(i.value, n, this.storeManager);
|
|
6046
|
-
if (
|
|
6046
|
+
if (Vr(i)) {
|
|
6047
6047
|
let s = i;
|
|
6048
6048
|
Ss(i) && (s = i.value);
|
|
6049
6049
|
const l = s, c = {};
|
|
@@ -6065,9 +6065,9 @@ class WR {
|
|
|
6065
6065
|
Ss(i) && (s = i.value), n(s) ? r.push({
|
|
6066
6066
|
keyPath: a,
|
|
6067
6067
|
val: s
|
|
6068
|
-
}) :
|
|
6068
|
+
}) : Fr(s) ? s.forEach((l, c) => {
|
|
6069
6069
|
o([...a, String(c)], l);
|
|
6070
|
-
}) :
|
|
6070
|
+
}) : Vr(s) && Object.keys(s).forEach((l) => {
|
|
6071
6071
|
o([...a, l], s[l]);
|
|
6072
6072
|
});
|
|
6073
6073
|
};
|
|
@@ -6200,7 +6200,7 @@ class WR {
|
|
|
6200
6200
|
let N = h.data || [];
|
|
6201
6201
|
if (Kn(h.data)) {
|
|
6202
6202
|
const R = h.data;
|
|
6203
|
-
N =
|
|
6203
|
+
N = yr(R.value, f || {});
|
|
6204
6204
|
}
|
|
6205
6205
|
return v = N.map((...R) => {
|
|
6206
6206
|
var T;
|
|
@@ -6214,7 +6214,7 @@ class WR {
|
|
|
6214
6214
|
}), oe = ((T = n.value.classNames) == null ? void 0 : T.map((Y) => {
|
|
6215
6215
|
var ee;
|
|
6216
6216
|
const ce = Y.name;
|
|
6217
|
-
return Kn(Y.status) &&
|
|
6217
|
+
return Kn(Y.status) && yr(String(((ee = Y.status) == null ? void 0 : ee.value) || ""), M) ? ce : "";
|
|
6218
6218
|
})) || [];
|
|
6219
6219
|
let ne = `${V.className ?? ""} ${oe.join(" ")}`.trim();
|
|
6220
6220
|
n.value.css && (ne = `${n.value.css.class} ${ne}`.trim()), V.className = ne;
|
|
@@ -6239,7 +6239,7 @@ class WR {
|
|
|
6239
6239
|
}), L = Y;
|
|
6240
6240
|
}
|
|
6241
6241
|
if (V.key = `${V.key}-${j}`, Kn(h.key)) {
|
|
6242
|
-
const Y = h.key, ee =
|
|
6242
|
+
const Y = h.key, ee = yr(Y.value, M || {});
|
|
6243
6243
|
V.key += `-${ee}`;
|
|
6244
6244
|
}
|
|
6245
6245
|
return V.ref = (Y) => {
|
|
@@ -6269,7 +6269,7 @@ class WR {
|
|
|
6269
6269
|
const O = ((i = n.value.classNames) == null ? void 0 : i.map((N) => {
|
|
6270
6270
|
var R;
|
|
6271
6271
|
const T = N.name;
|
|
6272
|
-
return Kn(N.status) &&
|
|
6272
|
+
return Kn(N.status) && yr(((R = N.status) == null ? void 0 : R.value) || "", f) ? T : "";
|
|
6273
6273
|
})) || [];
|
|
6274
6274
|
let x = `${y.className ?? ""} ${O.join(" ")}`.trim();
|
|
6275
6275
|
n.value.css && (x = `${n.value.css.class} ${x}`.trim()), y.className = x;
|
|
@@ -6278,7 +6278,7 @@ class WR {
|
|
|
6278
6278
|
});
|
|
6279
6279
|
n.value.style && (y.style = Zd(g || {}));
|
|
6280
6280
|
let C = n.value.condition ?? !0;
|
|
6281
|
-
typeof C != "boolean" && (C =
|
|
6281
|
+
typeof C != "boolean" && (C = yr(C.value, f || {}));
|
|
6282
6282
|
let S = {
|
|
6283
6283
|
condition: C,
|
|
6284
6284
|
props: y
|
|
@@ -6494,7 +6494,7 @@ class aT extends Q.Component {
|
|
|
6494
6494
|
this.setState({
|
|
6495
6495
|
pageModel: n
|
|
6496
6496
|
});
|
|
6497
|
-
else if (
|
|
6497
|
+
else if (Vr(n) && Wg(n)) {
|
|
6498
6498
|
const r = n;
|
|
6499
6499
|
this.setState({
|
|
6500
6500
|
pageModel: new vi(r, {
|
|
@@ -6639,7 +6639,7 @@ const lT = (e) => {
|
|
|
6639
6639
|
node: t
|
|
6640
6640
|
} = e, n = le(() => {
|
|
6641
6641
|
const s = t.isContainer();
|
|
6642
|
-
return
|
|
6642
|
+
return Vr(s) ? s : {
|
|
6643
6643
|
placeholder: "Drag the component to place it",
|
|
6644
6644
|
width: "100%",
|
|
6645
6645
|
height: "100%",
|
|
@@ -6671,7 +6671,7 @@ const lT = (e) => {
|
|
|
6671
6671
|
children: r
|
|
6672
6672
|
});
|
|
6673
6673
|
};
|
|
6674
|
-
class
|
|
6674
|
+
class MB extends Q.Component {
|
|
6675
6675
|
constructor(t) {
|
|
6676
6676
|
super(t), Z(this, "instanceManager", new sT()), Z(this, "renderRef"), Z(this, "dropPlaceholder", lT), Z(this, "onGetComponent", (n, r) => {
|
|
6677
6677
|
var o, a;
|
|
@@ -6699,7 +6699,7 @@ class jB extends Q.Component {
|
|
|
6699
6699
|
...p
|
|
6700
6700
|
} = this.props;
|
|
6701
6701
|
let h = d;
|
|
6702
|
-
return
|
|
6702
|
+
return Fr(d) || (h = [d]), !h.filter(Boolean).length && (r.isContainer() || r.value.componentName === to.ROOT_CONTAINER) && h.push(Q.createElement(i.dropPlaceholder, {
|
|
6703
6703
|
node: r
|
|
6704
6704
|
})), f ? h : Q.createElement(s, p, ...h);
|
|
6705
6705
|
}
|
|
@@ -6781,7 +6781,7 @@ class jB extends Q.Component {
|
|
|
6781
6781
|
};
|
|
6782
6782
|
const f = ((s = i.value.configure) == null ? void 0 : s.devState) || {}, p = (l = i.material) == null ? void 0 : l.value.fixedProps;
|
|
6783
6783
|
if (p !== void 0) {
|
|
6784
|
-
if (
|
|
6784
|
+
if (Vr(p))
|
|
6785
6785
|
d = {
|
|
6786
6786
|
...d,
|
|
6787
6787
|
...p
|
|
@@ -7220,7 +7220,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
7220
7220
|
var pT = wv.exports;
|
|
7221
7221
|
const hT = /* @__PURE__ */ pc(pT), Jt = hT.create({
|
|
7222
7222
|
level: 1
|
|
7223
|
-
}),
|
|
7223
|
+
}), ar = (e) => new Promise((t) => {
|
|
7224
7224
|
setTimeout(() => {
|
|
7225
7225
|
t("ok");
|
|
7226
7226
|
}, e ?? 1e3 / 60 * 2);
|
|
@@ -7254,7 +7254,7 @@ class gT extends Q.Component {
|
|
|
7254
7254
|
height: "100%"
|
|
7255
7255
|
},
|
|
7256
7256
|
currentActiveLeftPanel: r
|
|
7257
|
-
}), await
|
|
7257
|
+
}), await ar(), this.emitter.emit("leftPanelVisible", {
|
|
7258
7258
|
visible: !0,
|
|
7259
7259
|
panelName: r
|
|
7260
7260
|
});
|
|
@@ -7266,7 +7266,7 @@ class gT extends Q.Component {
|
|
|
7266
7266
|
width: 0,
|
|
7267
7267
|
height: "100%"
|
|
7268
7268
|
}
|
|
7269
|
-
}), await
|
|
7269
|
+
}), await ar(), this.emitter.emit("leftPanelVisible", {
|
|
7270
7270
|
visible: !1,
|
|
7271
7271
|
panelName: this.state.currentActiveLeftPanel
|
|
7272
7272
|
});
|
|
@@ -7414,7 +7414,7 @@ class gT extends Q.Component {
|
|
|
7414
7414
|
className: je.pluginIconBar,
|
|
7415
7415
|
children: s.map((x) => /* @__PURE__ */ b("div", {
|
|
7416
7416
|
onClick: () => y(x),
|
|
7417
|
-
className:
|
|
7417
|
+
className: vt([je.pluginIconItem, (h == null ? void 0 : h.name) === x.name && je.active]),
|
|
7418
7418
|
children: x.icon
|
|
7419
7419
|
}, x.name))
|
|
7420
7420
|
}), n && /* @__PURE__ */ re(Gu, {
|
|
@@ -7433,7 +7433,7 @@ class gT extends Q.Component {
|
|
|
7433
7433
|
className: je.pluginNameText,
|
|
7434
7434
|
children: (h == null ? void 0 : h.title) || (h == null ? void 0 : h.name)
|
|
7435
7435
|
}), /* @__PURE__ */ b(rn, {
|
|
7436
|
-
className:
|
|
7436
|
+
className: vt([je.fixedBtn]),
|
|
7437
7437
|
type: "text",
|
|
7438
7438
|
size: "small",
|
|
7439
7439
|
onClick: () => {
|
|
@@ -7442,7 +7442,7 @@ class gT extends Q.Component {
|
|
|
7442
7442
|
});
|
|
7443
7443
|
},
|
|
7444
7444
|
children: /* @__PURE__ */ b(O1, {
|
|
7445
|
-
className:
|
|
7445
|
+
className: vt([o && je.active])
|
|
7446
7446
|
})
|
|
7447
7447
|
}), /* @__PURE__ */ b(rn, {
|
|
7448
7448
|
className: je.closeBtn,
|
|
@@ -7474,7 +7474,7 @@ class gT extends Q.Component {
|
|
|
7474
7474
|
className: je.arrowCursor,
|
|
7475
7475
|
onClick: m,
|
|
7476
7476
|
children: /* @__PURE__ */ b(c1, {
|
|
7477
|
-
className:
|
|
7477
|
+
className: vt([!i && je.active])
|
|
7478
7478
|
})
|
|
7479
7479
|
}), /* @__PURE__ */ b("div", {
|
|
7480
7480
|
style: {
|
|
@@ -7763,7 +7763,7 @@ function Cv(e, t, n) {
|
|
|
7763
7763
|
r !== "__proto__" && r !== "constructor" && (r in e ? typeof e[r] == "string" || e[r] instanceof String || typeof t[r] == "string" || t[r] instanceof String ? n && (e[r] = t[r]) : Cv(e[r], t[r], n) : e[r] = t[r]);
|
|
7764
7764
|
return e;
|
|
7765
7765
|
}
|
|
7766
|
-
function
|
|
7766
|
+
function br(e) {
|
|
7767
7767
|
return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
|
|
7768
7768
|
}
|
|
7769
7769
|
var ST = {
|
|
@@ -8121,15 +8121,15 @@ var df = {}, ff = function(e) {
|
|
|
8121
8121
|
de.push(et[$e]);
|
|
8122
8122
|
else
|
|
8123
8123
|
this.options.saveMissingTo === "all" ? de = this.languageUtils.toResolveHierarchy(a.lng || this.language) : de.push(a.lng || this.language);
|
|
8124
|
-
var
|
|
8124
|
+
var He = function(Me, z, Je) {
|
|
8125
8125
|
var Ie = ne && Je !== w ? Je : Y;
|
|
8126
|
-
s.options.missingKeyHandler ? s.options.missingKeyHandler(
|
|
8126
|
+
s.options.missingKeyHandler ? s.options.missingKeyHandler(Me, p, z, Ie, ee, a) : s.backendConnector && s.backendConnector.saveMissing && s.backendConnector.saveMissing(Me, p, z, Ie, ee, a), s.emit("missingKey", Me, p, z, w);
|
|
8127
8127
|
};
|
|
8128
8128
|
this.options.saveMissing && (this.options.saveMissingPlurals && oe ? de.forEach(function(ae) {
|
|
8129
|
-
s.pluralResolver.getSuffixes(ae, a).forEach(function(
|
|
8130
|
-
|
|
8129
|
+
s.pluralResolver.getSuffixes(ae, a).forEach(function(Me) {
|
|
8130
|
+
He([ae], d + Me, a["defaultValue".concat(Me)] || k);
|
|
8131
8131
|
});
|
|
8132
|
-
}) :
|
|
8132
|
+
}) : He(de, d, k));
|
|
8133
8133
|
}
|
|
8134
8134
|
w = this.extendTranslation(w, o, a, m, i), V && w === d && this.options.appendNamespaceToMissingKey && (w = "".concat(p, ":").concat(d)), (V || M) && this.options.parseMissingKeyHandler && (this.options.compatibilityAPI !== "v1" ? w = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? "".concat(p, ":").concat(d) : d, M ? w : void 0) : w = this.options.parseMissingKeyHandler(w));
|
|
8135
8135
|
}
|
|
@@ -8604,7 +8604,7 @@ var $T = function() {
|
|
|
8604
8604
|
escapeValue: !0
|
|
8605
8605
|
});
|
|
8606
8606
|
var r = n.interpolation;
|
|
8607
|
-
this.escape = r.escape !== void 0 ? r.escape : CT, this.escapeValue = r.escapeValue !== void 0 ? r.escapeValue : !0, this.useRawValueToEscape = r.useRawValueToEscape !== void 0 ? r.useRawValueToEscape : !1, this.prefix = r.prefix ?
|
|
8607
|
+
this.escape = r.escape !== void 0 ? r.escape : CT, this.escapeValue = r.escapeValue !== void 0 ? r.escapeValue : !0, this.useRawValueToEscape = r.useRawValueToEscape !== void 0 ? r.useRawValueToEscape : !1, this.prefix = r.prefix ? br(r.prefix) : r.prefixEscaped || "{{", this.suffix = r.suffix ? br(r.suffix) : r.suffixEscaped || "}}", this.formatSeparator = r.formatSeparator ? r.formatSeparator : r.formatSeparator || ",", this.unescapePrefix = r.unescapeSuffix ? "" : r.unescapePrefix || "-", this.unescapeSuffix = this.unescapePrefix ? "" : r.unescapeSuffix || "", this.nestingPrefix = r.nestingPrefix ? br(r.nestingPrefix) : r.nestingPrefixEscaped || br("$t("), this.nestingSuffix = r.nestingSuffix ? br(r.nestingSuffix) : r.nestingSuffixEscaped || br(")"), this.nestingOptionsSeparator = r.nestingOptionsSeparator ? r.nestingOptionsSeparator : r.nestingOptionsSeparator || ",", this.maxReplaces = r.maxReplaces ? r.maxReplaces : 1e3, this.alwaysFormat = r.alwaysFormat !== void 0 ? r.alwaysFormat : !1, this.resetRegExp();
|
|
8608
8608
|
}
|
|
8609
8609
|
}, {
|
|
8610
8610
|
key: "reset",
|
|
@@ -8761,7 +8761,7 @@ function IT(e) {
|
|
|
8761
8761
|
formatOptions: n
|
|
8762
8762
|
};
|
|
8763
8763
|
}
|
|
8764
|
-
function
|
|
8764
|
+
function wr(e) {
|
|
8765
8765
|
var t = {};
|
|
8766
8766
|
return function(r, o, a) {
|
|
8767
8767
|
var i = o + JSON.stringify(a), s = t[i];
|
|
@@ -8772,13 +8772,13 @@ var LT = function() {
|
|
|
8772
8772
|
function e() {
|
|
8773
8773
|
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
8774
8774
|
st(this, e), this.logger = en.create("formatter"), this.options = t, this.formats = {
|
|
8775
|
-
number:
|
|
8775
|
+
number: wr(function(n, r) {
|
|
8776
8776
|
var o = new Intl.NumberFormat(n, r);
|
|
8777
8777
|
return function(a) {
|
|
8778
8778
|
return o.format(a);
|
|
8779
8779
|
};
|
|
8780
8780
|
}),
|
|
8781
|
-
currency:
|
|
8781
|
+
currency: wr(function(n, r) {
|
|
8782
8782
|
var o = new Intl.NumberFormat(n, Pn(Pn({}, r), {}, {
|
|
8783
8783
|
style: "currency"
|
|
8784
8784
|
}));
|
|
@@ -8786,19 +8786,19 @@ var LT = function() {
|
|
|
8786
8786
|
return o.format(a);
|
|
8787
8787
|
};
|
|
8788
8788
|
}),
|
|
8789
|
-
datetime:
|
|
8789
|
+
datetime: wr(function(n, r) {
|
|
8790
8790
|
var o = new Intl.DateTimeFormat(n, Pn({}, r));
|
|
8791
8791
|
return function(a) {
|
|
8792
8792
|
return o.format(a);
|
|
8793
8793
|
};
|
|
8794
8794
|
}),
|
|
8795
|
-
relativetime:
|
|
8795
|
+
relativetime: wr(function(n, r) {
|
|
8796
8796
|
var o = new Intl.RelativeTimeFormat(n, Pn({}, r));
|
|
8797
8797
|
return function(a) {
|
|
8798
8798
|
return o.format(a, r.range || "day");
|
|
8799
8799
|
};
|
|
8800
8800
|
}),
|
|
8801
|
-
list:
|
|
8801
|
+
list: wr(function(n, r) {
|
|
8802
8802
|
var o = new Intl.ListFormat(n, Pn({}, r));
|
|
8803
8803
|
return function(a) {
|
|
8804
8804
|
return o.format(a);
|
|
@@ -8822,7 +8822,7 @@ var LT = function() {
|
|
|
8822
8822
|
}, {
|
|
8823
8823
|
key: "addCached",
|
|
8824
8824
|
value: function(n, r) {
|
|
8825
|
-
this.formats[n.toLowerCase().trim()] =
|
|
8825
|
+
this.formats[n.toLowerCase().trim()] = wr(r);
|
|
8826
8826
|
}
|
|
8827
8827
|
}, {
|
|
8828
8828
|
key: "format",
|
|
@@ -9715,11 +9715,11 @@ function za(e) {
|
|
|
9715
9715
|
}
|
|
9716
9716
|
return e;
|
|
9717
9717
|
}
|
|
9718
|
-
function
|
|
9718
|
+
function Hr(e) {
|
|
9719
9719
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
9720
9720
|
return function(r) {
|
|
9721
9721
|
function o(i) {
|
|
9722
|
-
var s = i.forwardedRef, l =
|
|
9722
|
+
var s = i.forwardedRef, l = Mr(i, cP), c = lP(e, za(za({}, l), {}, {
|
|
9723
9723
|
keyPrefix: t.keyPrefix
|
|
9724
9724
|
})), u = Ce(c, 3), d = u[0], f = u[1], p = u[2], h = za(za({}, l), {}, {
|
|
9725
9725
|
t: d,
|
|
@@ -9856,7 +9856,7 @@ const hP = {
|
|
|
9856
9856
|
src: e.icon,
|
|
9857
9857
|
draggable: !1
|
|
9858
9858
|
}) : e.icon, [e.icon]), r = /* @__PURE__ */ b("div", {
|
|
9859
|
-
className:
|
|
9859
|
+
className: vt([_o.square, e.containerClassName]),
|
|
9860
9860
|
children: /* @__PURE__ */ re("div", {
|
|
9861
9861
|
...t,
|
|
9862
9862
|
className: _o.componentItem,
|
|
@@ -9944,15 +9944,15 @@ function $P(e) {
|
|
|
9944
9944
|
return DP.call(e);
|
|
9945
9945
|
}
|
|
9946
9946
|
var IP = "[object Null]", LP = "[object Undefined]", Pf = In ? In.toStringTag : void 0;
|
|
9947
|
-
function
|
|
9947
|
+
function dr(e) {
|
|
9948
9948
|
return e == null ? e === void 0 ? LP : IP : Pf && Pf in Object(e) ? MP(e) : $P(e);
|
|
9949
9949
|
}
|
|
9950
|
-
function
|
|
9950
|
+
function fr(e) {
|
|
9951
9951
|
return e != null && typeof e == "object";
|
|
9952
9952
|
}
|
|
9953
9953
|
var BP = "[object Symbol]";
|
|
9954
9954
|
function zP(e) {
|
|
9955
|
-
return typeof e == "symbol" ||
|
|
9955
|
+
return typeof e == "symbol" || fr(e) && dr(e) == BP;
|
|
9956
9956
|
}
|
|
9957
9957
|
function FP(e, t) {
|
|
9958
9958
|
for (var n = -1, r = e == null ? 0 : e.length, o = Array(r); ++n < r; )
|
|
@@ -9980,7 +9980,7 @@ var UP = "[object AsyncFunction]", WP = "[object Function]", GP = "[object Gener
|
|
|
9980
9980
|
function Av(e) {
|
|
9981
9981
|
if (!fa(e))
|
|
9982
9982
|
return !1;
|
|
9983
|
-
var t =
|
|
9983
|
+
var t = dr(e);
|
|
9984
9984
|
return t == WP || t == GP || t == UP || t == KP;
|
|
9985
9985
|
}
|
|
9986
9986
|
var qP = un["__core-js_shared__"];
|
|
@@ -9993,7 +9993,7 @@ function YP(e) {
|
|
|
9993
9993
|
return !!Mf && Mf in e;
|
|
9994
9994
|
}
|
|
9995
9995
|
var XP = Function.prototype, JP = XP.toString;
|
|
9996
|
-
function
|
|
9996
|
+
function pr(e) {
|
|
9997
9997
|
if (e != null) {
|
|
9998
9998
|
try {
|
|
9999
9999
|
return JP.call(e);
|
|
@@ -10013,16 +10013,16 @@ function ak(e) {
|
|
|
10013
10013
|
if (!fa(e) || YP(e))
|
|
10014
10014
|
return !1;
|
|
10015
10015
|
var t = Av(e) ? ok : ZP;
|
|
10016
|
-
return t.test(
|
|
10016
|
+
return t.test(pr(e));
|
|
10017
10017
|
}
|
|
10018
10018
|
function ik(e, t) {
|
|
10019
10019
|
return e == null ? void 0 : e[t];
|
|
10020
10020
|
}
|
|
10021
|
-
function
|
|
10021
|
+
function hr(e, t) {
|
|
10022
10022
|
var n = ik(e, t);
|
|
10023
10023
|
return ak(n) ? n : void 0;
|
|
10024
10024
|
}
|
|
10025
|
-
var sk =
|
|
10025
|
+
var sk = hr(un, "WeakMap");
|
|
10026
10026
|
const jl = sk;
|
|
10027
10027
|
var Af = Object.create, lk = function() {
|
|
10028
10028
|
function e() {
|
|
@@ -10046,7 +10046,7 @@ function uk(e, t) {
|
|
|
10046
10046
|
}
|
|
10047
10047
|
var dk = function() {
|
|
10048
10048
|
try {
|
|
10049
|
-
var e =
|
|
10049
|
+
var e = hr(Object, "defineProperty");
|
|
10050
10050
|
return e({}, "", {}), e;
|
|
10051
10051
|
} catch {
|
|
10052
10052
|
}
|
|
@@ -10106,12 +10106,12 @@ function wk(e, t) {
|
|
|
10106
10106
|
}
|
|
10107
10107
|
var xk = "[object Arguments]";
|
|
10108
10108
|
function $f(e) {
|
|
10109
|
-
return
|
|
10109
|
+
return fr(e) && dr(e) == xk;
|
|
10110
10110
|
}
|
|
10111
10111
|
var zv = Object.prototype, Sk = zv.hasOwnProperty, Ck = zv.propertyIsEnumerable, Ok = $f(function() {
|
|
10112
10112
|
return arguments;
|
|
10113
10113
|
}()) ? $f : function(e) {
|
|
10114
|
-
return
|
|
10114
|
+
return fr(e) && Sk.call(e, "callee") && !Ck.call(e, "callee");
|
|
10115
10115
|
};
|
|
10116
10116
|
const _k = Ok;
|
|
10117
10117
|
function Ek() {
|
|
@@ -10123,7 +10123,7 @@ var Pk = "[object Arguments]", kk = "[object Array]", jk = "[object Boolean]", M
|
|
|
10123
10123
|
Ne[Wk] = Ne[Gk] = Ne[Kk] = Ne[qk] = Ne[Yk] = Ne[Xk] = Ne[Jk] = Ne[Qk] = Ne[Zk] = !0;
|
|
10124
10124
|
Ne[Pk] = Ne[kk] = Ne[Hk] = Ne[jk] = Ne[Uk] = Ne[Mk] = Ne[Ak] = Ne[Dk] = Ne[$k] = Ne[Ik] = Ne[Lk] = Ne[Bk] = Ne[zk] = Ne[Fk] = Ne[Vk] = !1;
|
|
10125
10125
|
function ej(e) {
|
|
10126
|
-
return
|
|
10126
|
+
return fr(e) && Lv(e.length) && !!Ne[dr(e)];
|
|
10127
10127
|
}
|
|
10128
10128
|
function nu(e) {
|
|
10129
10129
|
return function(t) {
|
|
@@ -10137,8 +10137,8 @@ var Hv = typeof exports == "object" && exports && !exports.nodeType && exports,
|
|
|
10137
10137
|
} catch {
|
|
10138
10138
|
}
|
|
10139
10139
|
}();
|
|
10140
|
-
const
|
|
10141
|
-
var Bf =
|
|
10140
|
+
const Ur = nj;
|
|
10141
|
+
var Bf = Ur && Ur.isTypedArray, rj = Bf ? nu(Bf) : ej;
|
|
10142
10142
|
const oj = rj;
|
|
10143
10143
|
var aj = Object.prototype, ij = aj.hasOwnProperty;
|
|
10144
10144
|
function Uv(e, t) {
|
|
@@ -10189,7 +10189,7 @@ function gj(e) {
|
|
|
10189
10189
|
function ou(e) {
|
|
10190
10190
|
return Bv(e) ? Uv(e, !0) : gj(e);
|
|
10191
10191
|
}
|
|
10192
|
-
var vj =
|
|
10192
|
+
var vj = hr(Object, "create");
|
|
10193
10193
|
const Zo = vj;
|
|
10194
10194
|
function mj() {
|
|
10195
10195
|
this.__data__ = Zo ? Zo(null) : {}, this.size = 0;
|
|
@@ -10217,18 +10217,18 @@ function Nj(e, t) {
|
|
|
10217
10217
|
var n = this.__data__;
|
|
10218
10218
|
return this.size += this.has(e) ? 0 : 1, n[e] = Zo && t === void 0 ? Ej : t, this;
|
|
10219
10219
|
}
|
|
10220
|
-
function
|
|
10220
|
+
function ir(e) {
|
|
10221
10221
|
var t = -1, n = e == null ? 0 : e.length;
|
|
10222
10222
|
for (this.clear(); ++t < n; ) {
|
|
10223
10223
|
var r = e[t];
|
|
10224
10224
|
this.set(r[0], r[1]);
|
|
10225
10225
|
}
|
|
10226
10226
|
}
|
|
10227
|
-
|
|
10228
|
-
|
|
10229
|
-
|
|
10230
|
-
|
|
10231
|
-
|
|
10227
|
+
ir.prototype.clear = mj;
|
|
10228
|
+
ir.prototype.delete = yj;
|
|
10229
|
+
ir.prototype.get = Sj;
|
|
10230
|
+
ir.prototype.has = _j;
|
|
10231
|
+
ir.prototype.set = Nj;
|
|
10232
10232
|
function Rj() {
|
|
10233
10233
|
this.__data__ = [], this.size = 0;
|
|
10234
10234
|
}
|
|
@@ -10269,13 +10269,13 @@ Nn.prototype.delete = kj;
|
|
|
10269
10269
|
Nn.prototype.get = jj;
|
|
10270
10270
|
Nn.prototype.has = Mj;
|
|
10271
10271
|
Nn.prototype.set = Aj;
|
|
10272
|
-
var Dj =
|
|
10272
|
+
var Dj = hr(un, "Map");
|
|
10273
10273
|
const ea = Dj;
|
|
10274
10274
|
function $j() {
|
|
10275
10275
|
this.size = 0, this.__data__ = {
|
|
10276
|
-
hash: new
|
|
10276
|
+
hash: new ir(),
|
|
10277
10277
|
map: new (ea || Nn)(),
|
|
10278
|
-
string: new
|
|
10278
|
+
string: new ir()
|
|
10279
10279
|
};
|
|
10280
10280
|
}
|
|
10281
10281
|
function Ij(e) {
|
|
@@ -10324,7 +10324,7 @@ var Vj = Wv(Object.getPrototypeOf, Object);
|
|
|
10324
10324
|
const au = Vj;
|
|
10325
10325
|
var Hj = "[object Object]", Uj = Function.prototype, Wj = Object.prototype, qv = Uj.toString, Gj = Wj.hasOwnProperty, Kj = qv.call(Object);
|
|
10326
10326
|
function Xi(e) {
|
|
10327
|
-
if (!
|
|
10327
|
+
if (!fr(e) || dr(e) != Hj)
|
|
10328
10328
|
return !1;
|
|
10329
10329
|
var t = au(e);
|
|
10330
10330
|
if (t === null)
|
|
@@ -10453,15 +10453,15 @@ function zM(e) {
|
|
|
10453
10453
|
function FM(e) {
|
|
10454
10454
|
return im(e, ou, am);
|
|
10455
10455
|
}
|
|
10456
|
-
var VM =
|
|
10456
|
+
var VM = hr(un, "DataView");
|
|
10457
10457
|
const Dl = VM;
|
|
10458
|
-
var HM =
|
|
10458
|
+
var HM = hr(un, "Promise");
|
|
10459
10459
|
const $l = HM;
|
|
10460
|
-
var UM =
|
|
10460
|
+
var UM = hr(un, "Set");
|
|
10461
10461
|
const Il = UM;
|
|
10462
|
-
var Uf = "[object Map]", WM = "[object Object]", Wf = "[object Promise]", Gf = "[object Set]", Kf = "[object WeakMap]", qf = "[object DataView]", GM =
|
|
10462
|
+
var Uf = "[object Map]", WM = "[object Object]", Wf = "[object Promise]", Gf = "[object Set]", Kf = "[object WeakMap]", qf = "[object DataView]", GM = pr(Dl), KM = pr(ea), qM = pr($l), YM = pr(Il), XM = pr(jl), Yn = dr;
|
|
10463
10463
|
(Dl && Yn(new Dl(new ArrayBuffer(1))) != qf || ea && Yn(new ea()) != Uf || $l && Yn($l.resolve()) != Wf || Il && Yn(new Il()) != Gf || jl && Yn(new jl()) != Kf) && (Yn = function(e) {
|
|
10464
|
-
var t =
|
|
10464
|
+
var t = dr(e), n = t == WM ? e.constructor : void 0, r = n ? pr(n) : "";
|
|
10465
10465
|
if (r)
|
|
10466
10466
|
switch (r) {
|
|
10467
10467
|
case GM:
|
|
@@ -10545,15 +10545,15 @@ function EA(e) {
|
|
|
10545
10545
|
}
|
|
10546
10546
|
var NA = "[object Map]";
|
|
10547
10547
|
function RA(e) {
|
|
10548
|
-
return
|
|
10548
|
+
return fr(e) && su(e) == NA;
|
|
10549
10549
|
}
|
|
10550
|
-
var Qf =
|
|
10550
|
+
var Qf = Ur && Ur.isMap, TA = Qf ? nu(Qf) : RA;
|
|
10551
10551
|
const PA = TA;
|
|
10552
10552
|
var kA = "[object Set]";
|
|
10553
10553
|
function jA(e) {
|
|
10554
|
-
return
|
|
10554
|
+
return fr(e) && su(e) == kA;
|
|
10555
10555
|
}
|
|
10556
|
-
var Zf =
|
|
10556
|
+
var Zf = Ur && Ur.isSet, MA = Zf ? nu(Zf) : jA;
|
|
10557
10557
|
const AA = MA;
|
|
10558
10558
|
var DA = 1, $A = 2, IA = 4, sm = "[object Arguments]", LA = "[object Array]", BA = "[object Boolean]", zA = "[object Date]", FA = "[object Error]", lm = "[object Function]", VA = "[object GeneratorFunction]", HA = "[object Map]", UA = "[object Number]", cm = "[object Object]", WA = "[object RegExp]", GA = "[object Set]", KA = "[object String]", qA = "[object Symbol]", YA = "[object WeakMap]", XA = "[object ArrayBuffer]", JA = "[object DataView]", QA = "[object Float32Array]", ZA = "[object Float64Array]", eD = "[object Int8Array]", tD = "[object Int16Array]", nD = "[object Int32Array]", rD = "[object Uint8Array]", oD = "[object Uint8ClampedArray]", aD = "[object Uint16Array]", iD = "[object Uint32Array]", Se = {};
|
|
10559
10559
|
Se[sm] = Se[LA] = Se[XA] = Se[JA] = Se[BA] = Se[zA] = Se[QA] = Se[ZA] = Se[eD] = Se[tD] = Se[nD] = Se[HA] = Se[UA] = Se[cm] = Se[WA] = Se[GA] = Se[KA] = Se[qA] = Se[rD] = Se[oD] = Se[aD] = Se[iD] = !0;
|
|
@@ -10766,7 +10766,7 @@ class uD extends Q.Component {
|
|
|
10766
10766
|
const um = {
|
|
10767
10767
|
name: wi,
|
|
10768
10768
|
async init(e) {
|
|
10769
|
-
const t =
|
|
10769
|
+
const t = Hr(Ll)(uD), n = Hr(Ll)(({
|
|
10770
10770
|
t: o
|
|
10771
10771
|
}) => /* @__PURE__ */ b(ot, {
|
|
10772
10772
|
children: o("pluginName")
|
|
@@ -10813,7 +10813,7 @@ const um = {
|
|
|
10813
10813
|
return /* @__PURE__ */ re("div", {
|
|
10814
10814
|
className: xn.layoutSelectBox,
|
|
10815
10815
|
children: [/* @__PURE__ */ b("div", {
|
|
10816
|
-
className:
|
|
10816
|
+
className: vt([xn.hoverBox, r && xn.hoverBoxActive]),
|
|
10817
10817
|
children: e.map((a) => /* @__PURE__ */ b("div", {
|
|
10818
10818
|
className: xn.hoverItem,
|
|
10819
10819
|
onClick: () => n(a.key),
|
|
@@ -10996,7 +10996,7 @@ class ED {
|
|
|
10996
10996
|
return !1;
|
|
10997
10997
|
typeof s == "object" && (n = s.copyNode ?? n);
|
|
10998
10998
|
}
|
|
10999
|
-
return n && r.pageModel.copyNode(n) && await
|
|
10999
|
+
return n && r.pageModel.copyNode(n) && await ar(), n;
|
|
11000
11000
|
}
|
|
11001
11001
|
async onDelete(t) {
|
|
11002
11002
|
var i;
|
|
@@ -11012,7 +11012,7 @@ class ED {
|
|
|
11012
11012
|
return !1;
|
|
11013
11013
|
typeof s == "object" && (n = s.deleteNode ?? n);
|
|
11014
11014
|
}
|
|
11015
|
-
return n && r.pageModel.deleteNode(n) && await
|
|
11015
|
+
return n && r.pageModel.deleteNode(n) && await ar(), n;
|
|
11016
11016
|
}
|
|
11017
11017
|
}
|
|
11018
11018
|
class ND extends Q.Component {
|
|
@@ -11610,7 +11610,7 @@ const PD = (e) => {
|
|
|
11610
11610
|
});
|
|
11611
11611
|
}), t;
|
|
11612
11612
|
};
|
|
11613
|
-
var
|
|
11613
|
+
var Er = /* @__PURE__ */ ((e) => (e.DRAGGING = "DRAGGING", e.NORMAL = "NORMAL", e))(Er || {});
|
|
11614
11614
|
const gm = Q.createContext({
|
|
11615
11615
|
state: {
|
|
11616
11616
|
treeData: [],
|
|
@@ -11641,7 +11641,7 @@ const gm = Q.createContext({
|
|
|
11641
11641
|
nodeChildren: zD,
|
|
11642
11642
|
dropAnchorLine: FD,
|
|
11643
11643
|
arrowSpan: VD
|
|
11644
|
-
},
|
|
11644
|
+
}, Or = "data-drag-key", vm = (e) => {
|
|
11645
11645
|
var V, oe, ne, he;
|
|
11646
11646
|
const t = B({
|
|
11647
11647
|
titleEditable: !1
|
|
@@ -11691,7 +11691,7 @@ const gm = Q.createContext({
|
|
|
11691
11691
|
currentSelectNodeKeys: k
|
|
11692
11692
|
});
|
|
11693
11693
|
}, C = 20, S = C * n, E = r.canBeSelected ?? !0, N = {
|
|
11694
|
-
[
|
|
11694
|
+
[Or]: r.key
|
|
11695
11695
|
}, R = B(), T = B();
|
|
11696
11696
|
T.current = s, R.current = (k) => {
|
|
11697
11697
|
const L = s.expandKeys, Y = Array.from(/* @__PURE__ */ new Set([...L, k]));
|
|
@@ -11706,7 +11706,7 @@ const gm = Q.createContext({
|
|
|
11706
11706
|
(Y = j.current) == null || Y.addEventListener("mouseenter", () => {
|
|
11707
11707
|
k = window.setTimeout(() => {
|
|
11708
11708
|
var ce, de;
|
|
11709
|
-
((ce = T.current) == null ? void 0 : ce.dragState) ===
|
|
11709
|
+
((ce = T.current) == null ? void 0 : ce.dragState) === Er.DRAGGING && ((de = R.current) == null || de.call(R, r.key || ""));
|
|
11710
11710
|
}, 0.8 * 1e3);
|
|
11711
11711
|
}), (ee = j.current) == null || ee.addEventListener("mouseleave", () => {
|
|
11712
11712
|
clearTimeout(k);
|
|
@@ -11738,7 +11738,7 @@ const gm = Q.createContext({
|
|
|
11738
11738
|
const M = /* @__PURE__ */ re("div", {
|
|
11739
11739
|
className: dt.nodeBox,
|
|
11740
11740
|
children: [/* @__PURE__ */ re("div", {
|
|
11741
|
-
className:
|
|
11741
|
+
className: vt([dt.nodeContent, O && E && dt.selected]),
|
|
11742
11742
|
style: {
|
|
11743
11743
|
marginLeft: `${-S}px`,
|
|
11744
11744
|
paddingLeft: `${S + 8}px`
|
|
@@ -11756,7 +11756,7 @@ const gm = Q.createContext({
|
|
|
11756
11756
|
className: dt.arrowSpan,
|
|
11757
11757
|
onClickCapture: w,
|
|
11758
11758
|
children: /* @__PURE__ */ b(N1, {
|
|
11759
|
-
className:
|
|
11759
|
+
className: vt([dt.nodeArrow, m && dt.expanded])
|
|
11760
11760
|
})
|
|
11761
11761
|
}) : null, /* @__PURE__ */ re("div", {
|
|
11762
11762
|
className: dt.nodeRenderView,
|
|
@@ -11814,7 +11814,7 @@ const gm = Q.createContext({
|
|
|
11814
11814
|
})]
|
|
11815
11815
|
})]
|
|
11816
11816
|
}), /* @__PURE__ */ b("div", {
|
|
11817
|
-
className:
|
|
11817
|
+
className: vt([dt.nodeChildren, O && dt.selected]),
|
|
11818
11818
|
style: {
|
|
11819
11819
|
paddingLeft: `${C}px`,
|
|
11820
11820
|
height: m ? "auto" : "0"
|
|
@@ -11870,7 +11870,7 @@ class HD extends Q.Component {
|
|
|
11870
11870
|
});
|
|
11871
11871
|
I(this, "scrollNodeToView", (n) => {
|
|
11872
11872
|
var o;
|
|
11873
|
-
const r = document.querySelector(`[${
|
|
11873
|
+
const r = document.querySelector(`[${Or}="${n}"]`);
|
|
11874
11874
|
(o = r == null ? void 0 : r.scrollIntoView) == null || o.call(r, {
|
|
11875
11875
|
behavior: "smooth",
|
|
11876
11876
|
block: "center"
|
|
@@ -11919,7 +11919,7 @@ class HD extends Q.Component {
|
|
|
11919
11919
|
const l = s.event.target;
|
|
11920
11920
|
if (!l)
|
|
11921
11921
|
return;
|
|
11922
|
-
const c = Bl(l,
|
|
11922
|
+
const c = Bl(l, Or);
|
|
11923
11923
|
if (!c)
|
|
11924
11924
|
return;
|
|
11925
11925
|
const u = o.getNode(c), d = this.getTreeNodeByKey(c);
|
|
@@ -11954,9 +11954,9 @@ class HD extends Q.Component {
|
|
|
11954
11954
|
const l = s.event.target;
|
|
11955
11955
|
if (!l)
|
|
11956
11956
|
return Jt.debug("drop dom not found"), s;
|
|
11957
|
-
const c = Bl(l,
|
|
11957
|
+
const c = Bl(l, Or);
|
|
11958
11958
|
if (!c)
|
|
11959
|
-
return Jt.debug("targetNodeId dom not found", s, l,
|
|
11959
|
+
return Jt.debug("targetNodeId dom not found", s, l, Or), s;
|
|
11960
11960
|
const u = this.getTreeNodeByKey(c);
|
|
11961
11961
|
if ((u == null ? void 0 : u.canDropPos) !== void 0 && u.canDropPos === !1)
|
|
11962
11962
|
return Jt.debug("node can not be drop by tree node config"), s;
|
|
@@ -12003,14 +12003,14 @@ class HD extends Q.Component {
|
|
|
12003
12003
|
var p, h;
|
|
12004
12004
|
const l = s.extraData.dropNode;
|
|
12005
12005
|
if (this.setState({
|
|
12006
|
-
dragState:
|
|
12006
|
+
dragState: Er.DRAGGING
|
|
12007
12007
|
}), !l) {
|
|
12008
12008
|
this.setState({
|
|
12009
12009
|
dropPosInfo: null
|
|
12010
12010
|
});
|
|
12011
12011
|
return;
|
|
12012
12012
|
}
|
|
12013
|
-
const c = (p = document.querySelectorAll(`[${
|
|
12013
|
+
const c = (p = document.querySelectorAll(`[${Or}="${l.id}"]`)) == null ? void 0 : p[0];
|
|
12014
12014
|
if (!c)
|
|
12015
12015
|
return;
|
|
12016
12016
|
const u = ((h = s.extraData) == null ? void 0 : h.dropPosInfo) || {}, d = c.getBoundingClientRect(), f = {
|
|
@@ -12022,7 +12022,7 @@ class HD extends Q.Component {
|
|
|
12022
12022
|
});
|
|
12023
12023
|
}), n.emitter.on("dragEnd", () => {
|
|
12024
12024
|
this.setState({
|
|
12025
|
-
dragState:
|
|
12025
|
+
dragState: Er.NORMAL
|
|
12026
12026
|
});
|
|
12027
12027
|
}), this.sensor = n;
|
|
12028
12028
|
});
|
|
@@ -12036,7 +12036,7 @@ class HD extends Q.Component {
|
|
|
12036
12036
|
y: 0
|
|
12037
12037
|
},
|
|
12038
12038
|
pageModel: n.pluginCtx.pageModel,
|
|
12039
|
-
dragState:
|
|
12039
|
+
dragState: Er.NORMAL
|
|
12040
12040
|
};
|
|
12041
12041
|
}
|
|
12042
12042
|
async componentDidMount() {
|
|
@@ -12114,7 +12114,7 @@ class HD extends Q.Component {
|
|
|
12114
12114
|
ref: this.domRef,
|
|
12115
12115
|
children: [n.map((i, s) => /* @__PURE__ */ b(vm, {
|
|
12116
12116
|
item: i
|
|
12117
|
-
}, i.key + `${s}`)), r ===
|
|
12117
|
+
}, i.key + `${s}`)), r === Er.DRAGGING && o && /* @__PURE__ */ b("div", {
|
|
12118
12118
|
className: dt.dropAnchorLine,
|
|
12119
12119
|
style: {
|
|
12120
12120
|
left: `${o.x}px`,
|
|
@@ -12138,7 +12138,7 @@ const UD = {
|
|
|
12138
12138
|
Object.keys(np).forEach((a) => {
|
|
12139
12139
|
t.addResourceBundle(a, ks, np[a], !0, !0);
|
|
12140
12140
|
});
|
|
12141
|
-
const n =
|
|
12141
|
+
const n = Hr(ks)(HD), r = Hr(ks)(({
|
|
12142
12142
|
t: a
|
|
12143
12143
|
}) => /* @__PURE__ */ b(ot, {
|
|
12144
12144
|
children: a("pluginName")
|
|
@@ -12423,7 +12423,7 @@ function Fn(e, t) {
|
|
|
12423
12423
|
validator: t
|
|
12424
12424
|
});
|
|
12425
12425
|
}
|
|
12426
|
-
function
|
|
12426
|
+
function Wr(e) {
|
|
12427
12427
|
return new dn({
|
|
12428
12428
|
type: "dynamic",
|
|
12429
12429
|
schema: null,
|
|
@@ -12456,10 +12456,10 @@ function o8(e, t) {
|
|
|
12456
12456
|
return Re(r);
|
|
12457
12457
|
}
|
|
12458
12458
|
}
|
|
12459
|
-
function
|
|
12459
|
+
function Ge() {
|
|
12460
12460
|
return Fn("any", () => !0);
|
|
12461
12461
|
}
|
|
12462
|
-
function
|
|
12462
|
+
function Xe(e) {
|
|
12463
12463
|
return new dn({
|
|
12464
12464
|
type: "array",
|
|
12465
12465
|
schema: e,
|
|
@@ -12476,7 +12476,7 @@ function Ke(e) {
|
|
|
12476
12476
|
}
|
|
12477
12477
|
});
|
|
12478
12478
|
}
|
|
12479
|
-
function
|
|
12479
|
+
function Gr() {
|
|
12480
12480
|
return Fn("boolean", (e) => typeof e == "boolean");
|
|
12481
12481
|
}
|
|
12482
12482
|
function Fl(e) {
|
|
@@ -12575,7 +12575,7 @@ function bm(e) {
|
|
|
12575
12575
|
}
|
|
12576
12576
|
});
|
|
12577
12577
|
}
|
|
12578
|
-
function
|
|
12578
|
+
function Et(e) {
|
|
12579
12579
|
const t = e.map((n) => n.type).join(" | ");
|
|
12580
12580
|
return new dn({
|
|
12581
12581
|
type: "union",
|
|
@@ -12610,24 +12610,24 @@ const wm = Re({
|
|
|
12610
12610
|
version: q(),
|
|
12611
12611
|
name: q(),
|
|
12612
12612
|
exportName: X(q()),
|
|
12613
|
-
destructuring: X(
|
|
12613
|
+
destructuring: X(Gr()),
|
|
12614
12614
|
subName: X(q()),
|
|
12615
12615
|
main: X(q()),
|
|
12616
|
-
cssPaths: X(
|
|
12616
|
+
cssPaths: X(Xe(q()))
|
|
12617
12617
|
});
|
|
12618
|
-
|
|
12618
|
+
Xe(wm);
|
|
12619
12619
|
var An = /* @__PURE__ */ ((e) => (e.SLOT = "SLOT", e.FUNCTION = "FUNCTION", e.EXPRESSION = "EXPRESSION", e))(An || {}), Vl = /* @__PURE__ */ ((e) => (e.FUNC = "FUNC", e.COMP = "COMP", e))(Vl || {});
|
|
12620
|
-
const s8 = () => Fn("normalObj", (e) => !Xi(e) || [An.SLOT, An.EXPRESSION, An.FUNCTION].includes(e == null ? void 0 : e.type) ? !1 : (uo(e, Io(q(), fu)), !0)), fu =
|
|
12620
|
+
const s8 = () => Fn("normalObj", (e) => !Xi(e) || [An.SLOT, An.EXPRESSION, An.FUNCTION].includes(e == null ? void 0 : e.type) ? !1 : (uo(e, Io(q(), fu)), !0)), fu = Et([
|
|
12621
12621
|
q(),
|
|
12622
12622
|
ym(),
|
|
12623
|
-
|
|
12623
|
+
Gr(),
|
|
12624
12624
|
Re({
|
|
12625
12625
|
type: nn(An.SLOT),
|
|
12626
12626
|
renderType: Fl([Vl.FUNC, Vl.COMP]),
|
|
12627
12627
|
// if renderType is Func, params will be useful
|
|
12628
|
-
params: X(
|
|
12628
|
+
params: X(Xe(q())),
|
|
12629
12629
|
// here can't use PropsDataStructDescribe, it will caused "Maximum call stack size exceeded" error
|
|
12630
|
-
value:
|
|
12630
|
+
value: Wr(() => Et([xi, Xe(xi)]))
|
|
12631
12631
|
}),
|
|
12632
12632
|
Re({
|
|
12633
12633
|
type: nn(An.EXPRESSION),
|
|
@@ -12638,8 +12638,8 @@ const s8 = () => Fn("normalObj", (e) => !Xi(e) || [An.SLOT, An.EXPRESSION, An.FU
|
|
|
12638
12638
|
value: q()
|
|
12639
12639
|
}),
|
|
12640
12640
|
s8(),
|
|
12641
|
-
|
|
12642
|
-
|
|
12641
|
+
Xe(
|
|
12642
|
+
Wr(() => fu)
|
|
12643
12643
|
)
|
|
12644
12644
|
]), op = Re({
|
|
12645
12645
|
type: nn(An.EXPRESSION),
|
|
@@ -12650,28 +12650,28 @@ const s8 = () => Fn("normalObj", (e) => !Xi(e) || [An.SLOT, An.EXPRESSION, An.FU
|
|
|
12650
12650
|
componentName: q(),
|
|
12651
12651
|
props: X(Io(q(), fu)),
|
|
12652
12652
|
nodeName: X(q()),
|
|
12653
|
-
state: X(Io(q(),
|
|
12654
|
-
children:
|
|
12655
|
-
configure: X(
|
|
12656
|
-
css: X(
|
|
12657
|
-
style: X(
|
|
12658
|
-
classNames: X(
|
|
12653
|
+
state: X(Io(q(), Ge())),
|
|
12654
|
+
children: Wr(() => X(Xe(Et([q(), xi])))),
|
|
12655
|
+
configure: X(Ge()),
|
|
12656
|
+
css: X(Ge()),
|
|
12657
|
+
style: X(Ge()),
|
|
12658
|
+
classNames: X(Xe(Ge())),
|
|
12659
12659
|
refId: X(q()),
|
|
12660
|
-
extra: X(Io(
|
|
12661
|
-
condition: X(
|
|
12660
|
+
extra: X(Io(Ge(), Ge())),
|
|
12661
|
+
condition: X(Et([Gr(), op])),
|
|
12662
12662
|
loop: X(
|
|
12663
12663
|
Re({
|
|
12664
|
-
open:
|
|
12665
|
-
data:
|
|
12666
|
-
args: X(
|
|
12664
|
+
open: Gr(),
|
|
12665
|
+
data: Et([Xe(Ge()), op]),
|
|
12666
|
+
args: X(Xe(q())),
|
|
12667
12667
|
forName: X(q()),
|
|
12668
12668
|
forIndex: X(q()),
|
|
12669
|
-
key: X(
|
|
12669
|
+
key: X(Ge()),
|
|
12670
12670
|
name: X(q())
|
|
12671
12671
|
})
|
|
12672
12672
|
),
|
|
12673
|
-
methods: X(
|
|
12674
|
-
}), l8 = (e) => Xi(e) ? e.label : e, Si =
|
|
12673
|
+
methods: X(Xe(Ge()))
|
|
12674
|
+
}), l8 = (e) => Xi(e) ? e.label : e, Si = Et([
|
|
12675
12675
|
q(),
|
|
12676
12676
|
Re({
|
|
12677
12677
|
label: q(),
|
|
@@ -12682,11 +12682,11 @@ const s8 = () => Fn("normalObj", (e) => !Xi(e) || [An.SLOT, An.EXPRESSION, An.FU
|
|
|
12682
12682
|
"shape"
|
|
12683
12683
|
/* SHAPE */
|
|
12684
12684
|
),
|
|
12685
|
-
value:
|
|
12685
|
+
value: Xe(
|
|
12686
12686
|
Re({
|
|
12687
12687
|
name: q(),
|
|
12688
12688
|
title: Si,
|
|
12689
|
-
valueType:
|
|
12689
|
+
valueType: Wr(() => Ji)
|
|
12690
12690
|
})
|
|
12691
12691
|
)
|
|
12692
12692
|
}), u8 = Re({
|
|
@@ -12694,22 +12694,22 @@ const s8 = () => Fn("normalObj", (e) => !Xi(e) || [An.SLOT, An.EXPRESSION, An.FU
|
|
|
12694
12694
|
"enums"
|
|
12695
12695
|
/* ENUMS */
|
|
12696
12696
|
),
|
|
12697
|
-
value:
|
|
12697
|
+
value: Xe(q())
|
|
12698
12698
|
});
|
|
12699
12699
|
Re({
|
|
12700
12700
|
type: nn(
|
|
12701
12701
|
"array"
|
|
12702
12702
|
/* ARRAY */
|
|
12703
12703
|
),
|
|
12704
|
-
value:
|
|
12704
|
+
value: Wr(() => Ji)
|
|
12705
12705
|
});
|
|
12706
12706
|
const d8 = Re({
|
|
12707
12707
|
type: nn(
|
|
12708
12708
|
"array"
|
|
12709
12709
|
/* ARRAY */
|
|
12710
12710
|
),
|
|
12711
|
-
value:
|
|
12712
|
-
}), Ji =
|
|
12711
|
+
value: Wr(() => Xe(Ji))
|
|
12712
|
+
}), Ji = Et([
|
|
12713
12713
|
Fl([
|
|
12714
12714
|
"array",
|
|
12715
12715
|
"boolean",
|
|
@@ -12727,14 +12727,14 @@ const d8 = Re({
|
|
|
12727
12727
|
c8,
|
|
12728
12728
|
u8,
|
|
12729
12729
|
d8
|
|
12730
|
-
]), f8 =
|
|
12730
|
+
]), f8 = Et([
|
|
12731
12731
|
q(),
|
|
12732
12732
|
Re({
|
|
12733
12733
|
componentName: q(),
|
|
12734
|
-
props: X(
|
|
12734
|
+
props: X(Ge()),
|
|
12735
12735
|
/** 用于标记当前数据的初始值,如添加一个数组元素可以使用该值填充 */
|
|
12736
|
-
initialValue: X(
|
|
12737
|
-
component: X(
|
|
12736
|
+
initialValue: X(Ge()),
|
|
12737
|
+
component: X(Ge())
|
|
12738
12738
|
})
|
|
12739
12739
|
]), js = Re({
|
|
12740
12740
|
name: q(),
|
|
@@ -12742,13 +12742,13 @@ const d8 = Re({
|
|
|
12742
12742
|
// 描述 name 对应值的类型
|
|
12743
12743
|
valueType: Ji,
|
|
12744
12744
|
description: X(q()),
|
|
12745
|
-
defaultValue:
|
|
12745
|
+
defaultValue: Ge(),
|
|
12746
12746
|
//用于产生 valueType 类型的值
|
|
12747
|
-
setters: X(
|
|
12747
|
+
setters: X(Xe(f8)),
|
|
12748
12748
|
condition: X(mm())
|
|
12749
12749
|
});
|
|
12750
|
-
|
|
12751
|
-
|
|
12750
|
+
Et([q(), mm()]);
|
|
12751
|
+
Et([
|
|
12752
12752
|
q(),
|
|
12753
12753
|
Re({
|
|
12754
12754
|
name: q(),
|
|
@@ -12765,11 +12765,11 @@ bt([
|
|
|
12765
12765
|
const p8 = Re({
|
|
12766
12766
|
id: X(q()),
|
|
12767
12767
|
title: q(),
|
|
12768
|
-
snapshot:
|
|
12768
|
+
snapshot: Et([q(), Ge()]),
|
|
12769
12769
|
snapshotText: X(q()),
|
|
12770
12770
|
description: X(q()),
|
|
12771
12771
|
// 组件分类,用于搜索
|
|
12772
|
-
tags: X(
|
|
12772
|
+
tags: X(Xe(q())),
|
|
12773
12773
|
// 分 tab 面板
|
|
12774
12774
|
groupName: X(q()),
|
|
12775
12775
|
// 分类
|
|
@@ -12782,7 +12782,7 @@ Re({
|
|
|
12782
12782
|
screenshot: X(q()),
|
|
12783
12783
|
icon: X(q()),
|
|
12784
12784
|
// 组件分类,用于搜索
|
|
12785
|
-
tags: X(
|
|
12785
|
+
tags: X(Xe(q())),
|
|
12786
12786
|
// 分 tab 面板
|
|
12787
12787
|
groupName: X(q()),
|
|
12788
12788
|
// 分类
|
|
@@ -12790,9 +12790,9 @@ Re({
|
|
|
12790
12790
|
// 排序
|
|
12791
12791
|
priority: X(ym()),
|
|
12792
12792
|
npm: X(wm),
|
|
12793
|
-
snippets:
|
|
12794
|
-
props:
|
|
12795
|
-
|
|
12793
|
+
snippets: Xe(p8),
|
|
12794
|
+
props: Xe(
|
|
12795
|
+
Et([
|
|
12796
12796
|
js,
|
|
12797
12797
|
Re({
|
|
12798
12798
|
title: X(Si),
|
|
@@ -12808,15 +12808,15 @@ Re({
|
|
|
12808
12808
|
"group"
|
|
12809
12809
|
/* GROUP */
|
|
12810
12810
|
),
|
|
12811
|
-
content:
|
|
12811
|
+
content: Xe(js)
|
|
12812
12812
|
})
|
|
12813
12813
|
])
|
|
12814
12814
|
),
|
|
12815
|
-
fixedProps: X(
|
|
12815
|
+
fixedProps: X(Ge()),
|
|
12816
12816
|
// 可以拖入组件
|
|
12817
12817
|
isContainer: X(
|
|
12818
|
-
|
|
12819
|
-
|
|
12818
|
+
Et([
|
|
12819
|
+
Gr(),
|
|
12820
12820
|
Re({
|
|
12821
12821
|
placeholder: q(),
|
|
12822
12822
|
width: q(),
|
|
@@ -12824,14 +12824,14 @@ Re({
|
|
|
12824
12824
|
})
|
|
12825
12825
|
])
|
|
12826
12826
|
),
|
|
12827
|
-
|
|
12827
|
+
disableEditorDragDom: X(Ge()),
|
|
12828
12828
|
// 如果是布局组件,可以考虑将拖拽控制权转移 or 实现 resize
|
|
12829
|
-
isLayout: X(
|
|
12829
|
+
isLayout: X(Gr()),
|
|
12830
12830
|
rootSelector: X(q()),
|
|
12831
12831
|
// selectionToolBarView: optional(func()),
|
|
12832
|
-
advanceCustom: X(
|
|
12832
|
+
advanceCustom: X(Ge()),
|
|
12833
12833
|
// 扩展配置
|
|
12834
|
-
extra: X(Io(
|
|
12834
|
+
extra: X(Io(Ge(), Ge()))
|
|
12835
12835
|
});
|
|
12836
12836
|
const xm = ({
|
|
12837
12837
|
onValueChange: e,
|
|
@@ -12942,21 +12942,21 @@ function fo(e) {
|
|
|
12942
12942
|
function hu(e) {
|
|
12943
12943
|
return "nodeType" in e;
|
|
12944
12944
|
}
|
|
12945
|
-
function
|
|
12945
|
+
function wt(e) {
|
|
12946
12946
|
var t, n;
|
|
12947
12947
|
return e ? fo(e) ? e : hu(e) && (t = (n = e.ownerDocument) == null ? void 0 : n.defaultView) != null ? t : window : window;
|
|
12948
12948
|
}
|
|
12949
12949
|
function gu(e) {
|
|
12950
12950
|
const {
|
|
12951
12951
|
Document: t
|
|
12952
|
-
} =
|
|
12952
|
+
} = wt(e);
|
|
12953
12953
|
return e instanceof t;
|
|
12954
12954
|
}
|
|
12955
12955
|
function pa(e) {
|
|
12956
|
-
return fo(e) ? !1 : e instanceof
|
|
12956
|
+
return fo(e) ? !1 : e instanceof wt(e).HTMLElement;
|
|
12957
12957
|
}
|
|
12958
12958
|
function v8(e) {
|
|
12959
|
-
return e instanceof
|
|
12959
|
+
return e instanceof wt(e).SVGElement;
|
|
12960
12960
|
}
|
|
12961
12961
|
function po(e) {
|
|
12962
12962
|
return e ? fo(e) ? e.document : hu(e) ? gu(e) ? e : pa(e) ? e.ownerDocument : document : document : document;
|
|
@@ -12966,16 +12966,16 @@ function vu(e) {
|
|
|
12966
12966
|
const t = B(e);
|
|
12967
12967
|
return qt(() => {
|
|
12968
12968
|
t.current = e;
|
|
12969
|
-
}),
|
|
12969
|
+
}), Fe(function() {
|
|
12970
12970
|
for (var n = arguments.length, r = new Array(n), o = 0; o < n; o++)
|
|
12971
12971
|
r[o] = arguments[o];
|
|
12972
12972
|
return t.current == null ? void 0 : t.current(...r);
|
|
12973
12973
|
}, []);
|
|
12974
12974
|
}
|
|
12975
12975
|
function m8() {
|
|
12976
|
-
const e = B(null), t =
|
|
12976
|
+
const e = B(null), t = Fe((r, o) => {
|
|
12977
12977
|
e.current = setInterval(r, o);
|
|
12978
|
-
}, []), n =
|
|
12978
|
+
}, []), n = Fe(() => {
|
|
12979
12979
|
e.current !== null && (clearInterval(e.current), e.current = null);
|
|
12980
12980
|
}, []);
|
|
12981
12981
|
return [t, n];
|
|
@@ -12999,7 +12999,7 @@ function ha(e, t) {
|
|
|
12999
12999
|
);
|
|
13000
13000
|
}
|
|
13001
13001
|
function Ci(e) {
|
|
13002
|
-
const t = vu(e), n = B(null), r =
|
|
13002
|
+
const t = vu(e), n = B(null), r = Fe(
|
|
13003
13003
|
(o) => {
|
|
13004
13004
|
o !== n.current && (t == null || t(o, n.current)), n.current = o;
|
|
13005
13005
|
},
|
|
@@ -13039,7 +13039,7 @@ function Cm(e) {
|
|
|
13039
13039
|
});
|
|
13040
13040
|
};
|
|
13041
13041
|
}
|
|
13042
|
-
const
|
|
13042
|
+
const jr = /* @__PURE__ */ Cm(1), na = /* @__PURE__ */ Cm(-1);
|
|
13043
13043
|
function y8(e) {
|
|
13044
13044
|
return "clientX" in e && "clientY" in e;
|
|
13045
13045
|
}
|
|
@@ -13048,7 +13048,7 @@ function mu(e) {
|
|
|
13048
13048
|
return !1;
|
|
13049
13049
|
const {
|
|
13050
13050
|
KeyboardEvent: t
|
|
13051
|
-
} =
|
|
13051
|
+
} = wt(e.target);
|
|
13052
13052
|
return t && e instanceof t;
|
|
13053
13053
|
}
|
|
13054
13054
|
function b8(e) {
|
|
@@ -13056,7 +13056,7 @@ function b8(e) {
|
|
|
13056
13056
|
return !1;
|
|
13057
13057
|
const {
|
|
13058
13058
|
TouchEvent: t
|
|
13059
|
-
} =
|
|
13059
|
+
} = wt(e.target);
|
|
13060
13060
|
return t && e instanceof t;
|
|
13061
13061
|
}
|
|
13062
13062
|
function Ul(e) {
|
|
@@ -13172,7 +13172,7 @@ function O8(e) {
|
|
|
13172
13172
|
function _8() {
|
|
13173
13173
|
const [e, t] = J("");
|
|
13174
13174
|
return {
|
|
13175
|
-
announce:
|
|
13175
|
+
announce: Fe((r) => {
|
|
13176
13176
|
r != null && t(r);
|
|
13177
13177
|
}, []),
|
|
13178
13178
|
announcement: e
|
|
@@ -13188,8 +13188,8 @@ function E8(e) {
|
|
|
13188
13188
|
}, [e, t]);
|
|
13189
13189
|
}
|
|
13190
13190
|
function N8() {
|
|
13191
|
-
const [e] = J(() => /* @__PURE__ */ new Set()), t =
|
|
13192
|
-
return [
|
|
13191
|
+
const [e] = J(() => /* @__PURE__ */ new Set()), t = Fe((r) => (e.add(r), () => e.delete(r)), [e]);
|
|
13192
|
+
return [Fe((r) => {
|
|
13193
13193
|
let {
|
|
13194
13194
|
type: o,
|
|
13195
13195
|
event: a
|
|
@@ -13309,10 +13309,10 @@ function P8(e) {
|
|
|
13309
13309
|
});
|
|
13310
13310
|
return n ? uh(u, n) : u;
|
|
13311
13311
|
}
|
|
13312
|
-
var
|
|
13312
|
+
var Ye;
|
|
13313
13313
|
(function(e) {
|
|
13314
13314
|
e.DragStart = "dragStart", e.DragMove = "dragMove", e.DragEnd = "dragEnd", e.DragCancel = "dragCancel", e.DragOver = "dragOver", e.RegisterDroppable = "registerDroppable", e.SetDroppableDisabled = "setDroppableDisabled", e.UnregisterDroppable = "unregisterDroppable";
|
|
13315
|
-
})(
|
|
13315
|
+
})(Ye || (Ye = {}));
|
|
13316
13316
|
function Oi() {
|
|
13317
13317
|
}
|
|
13318
13318
|
function ip(e, t) {
|
|
@@ -13525,7 +13525,7 @@ function ho(e, t) {
|
|
|
13525
13525
|
if (t.ignoreTransform) {
|
|
13526
13526
|
const {
|
|
13527
13527
|
getComputedStyle: c
|
|
13528
|
-
} =
|
|
13528
|
+
} = wt(e), {
|
|
13529
13529
|
transform: u,
|
|
13530
13530
|
transformOrigin: d
|
|
13531
13531
|
} = c(e);
|
|
@@ -13565,10 +13565,10 @@ function U8(e) {
|
|
|
13565
13565
|
};
|
|
13566
13566
|
}
|
|
13567
13567
|
function W8(e, t) {
|
|
13568
|
-
return t === void 0 && (t =
|
|
13568
|
+
return t === void 0 && (t = wt(e).getComputedStyle(e)), t.position === "fixed";
|
|
13569
13569
|
}
|
|
13570
13570
|
function G8(e, t) {
|
|
13571
|
-
t === void 0 && (t =
|
|
13571
|
+
t === void 0 && (t = wt(e).getComputedStyle(e));
|
|
13572
13572
|
const n = /(auto|scroll|overlay)/;
|
|
13573
13573
|
return ["overflow", "overflowX", "overflowY"].some((o) => {
|
|
13574
13574
|
const a = t[o];
|
|
@@ -13586,7 +13586,7 @@ function Zi(e, t) {
|
|
|
13586
13586
|
return n;
|
|
13587
13587
|
const {
|
|
13588
13588
|
getComputedStyle: a
|
|
13589
|
-
} =
|
|
13589
|
+
} = wt(o), i = a(o);
|
|
13590
13590
|
return o !== e && G8(o, i) && n.push(o), W8(o, i) ? n : r(o.parentNode);
|
|
13591
13591
|
}
|
|
13592
13592
|
return e ? r(e) : n;
|
|
@@ -13703,7 +13703,7 @@ function Y8(e) {
|
|
|
13703
13703
|
};
|
|
13704
13704
|
}
|
|
13705
13705
|
function jm(e) {
|
|
13706
|
-
return e.reduce((t, n) =>
|
|
13706
|
+
return e.reduce((t, n) => jr(t, Wl(n)), Yt);
|
|
13707
13707
|
}
|
|
13708
13708
|
function X8(e) {
|
|
13709
13709
|
return e.reduce((t, n) => t + Rm(n), 0);
|
|
@@ -13764,7 +13764,7 @@ class Lo {
|
|
|
13764
13764
|
function e$(e) {
|
|
13765
13765
|
const {
|
|
13766
13766
|
EventTarget: t
|
|
13767
|
-
} =
|
|
13767
|
+
} = wt(e);
|
|
13768
13768
|
return e instanceof t ? e : po(e);
|
|
13769
13769
|
}
|
|
13770
13770
|
function Ds(e, t) {
|
|
@@ -13824,7 +13824,7 @@ class bu {
|
|
|
13824
13824
|
target: n
|
|
13825
13825
|
}
|
|
13826
13826
|
} = t;
|
|
13827
|
-
this.props = t, this.listeners = new Lo(po(n)), this.windowListeners = new Lo(
|
|
13827
|
+
this.props = t, this.listeners = new Lo(po(n)), this.windowListeners = new Lo(wt(n)), this.handleKeyDown = this.handleKeyDown.bind(this), this.handleCancel = this.handleCancel.bind(this), this.attach();
|
|
13828
13828
|
}
|
|
13829
13829
|
attach() {
|
|
13830
13830
|
this.handleStart(), this.windowListeners.add(Mt.Resize, this.handleCancel), this.windowListeners.add(Mt.VisibilityChange, this.handleCancel), setTimeout(() => this.listeners.add(Mt.Keydown, this.handleKeyDown));
|
|
@@ -13918,7 +13918,7 @@ class bu {
|
|
|
13918
13918
|
break;
|
|
13919
13919
|
}
|
|
13920
13920
|
}
|
|
13921
|
-
this.handleMove(t,
|
|
13921
|
+
this.handleMove(t, jr(na(d, this.referenceCoordinates), p));
|
|
13922
13922
|
}
|
|
13923
13923
|
}
|
|
13924
13924
|
}
|
|
@@ -13980,7 +13980,7 @@ class wu {
|
|
|
13980
13980
|
} = t, {
|
|
13981
13981
|
target: i
|
|
13982
13982
|
} = a;
|
|
13983
|
-
this.props = t, this.events = n, this.document = po(i), this.documentListeners = new Lo(this.document), this.listeners = new Lo(r), this.windowListeners = new Lo(
|
|
13983
|
+
this.props = t, this.events = n, this.document = po(i), this.documentListeners = new Lo(this.document), this.listeners = new Lo(r), this.windowListeners = new Lo(wt(i)), this.initialCoordinates = (o = Ul(a)) != null ? o : Yt, 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();
|
|
13984
13984
|
}
|
|
13985
13985
|
attach() {
|
|
13986
13986
|
const {
|
|
@@ -14201,7 +14201,7 @@ function s$(e) {
|
|
|
14201
14201
|
case Bo.DraggableRect:
|
|
14202
14202
|
return o;
|
|
14203
14203
|
}
|
|
14204
|
-
}, [n, o, l]), O = B(null), x =
|
|
14204
|
+
}, [n, o, l]), O = B(null), x = Fe(() => {
|
|
14205
14205
|
const C = O.current;
|
|
14206
14206
|
if (!C)
|
|
14207
14207
|
return;
|
|
@@ -14332,7 +14332,7 @@ function f$(e, t) {
|
|
|
14332
14332
|
frequency: s,
|
|
14333
14333
|
measure: l,
|
|
14334
14334
|
strategy: c
|
|
14335
|
-
} = o, u = B(e), d = y(), f = ta(d), p =
|
|
14335
|
+
} = o, u = B(e), d = y(), f = ta(d), p = Fe(function(m) {
|
|
14336
14336
|
m === void 0 && (m = []), !f.current && i((w) => w === null ? m : w.concat(m.filter((O) => !w.includes(O))));
|
|
14337
14337
|
}, [f]), h = B(null), v = ha((m) => {
|
|
14338
14338
|
if (d && !n)
|
|
@@ -14482,7 +14482,7 @@ function m$(e) {
|
|
|
14482
14482
|
}, [e]), n;
|
|
14483
14483
|
}
|
|
14484
14484
|
function y$(e) {
|
|
14485
|
-
const [t, n] = J(null), r = B(e), o =
|
|
14485
|
+
const [t, n] = J(null), r = B(e), o = Fe((a) => {
|
|
14486
14486
|
const i = As(a.target);
|
|
14487
14487
|
i && n((s) => s ? (s.set(i, Wl(i)), new Map(s)) : null);
|
|
14488
14488
|
}, []);
|
|
@@ -14507,7 +14507,7 @@ function y$(e) {
|
|
|
14507
14507
|
c == null || c.removeEventListener("scroll", o);
|
|
14508
14508
|
});
|
|
14509
14509
|
}
|
|
14510
|
-
}, [o, e]), le(() => e.length ? t ? Array.from(t.values()).reduce((a, i) =>
|
|
14510
|
+
}, [o, e]), le(() => e.length ? t ? Array.from(t.values()).reduce((a, i) => jr(a, i), Yt) : jm(e) : Yt, [e, t]);
|
|
14511
14511
|
}
|
|
14512
14512
|
function gp(e, t) {
|
|
14513
14513
|
t === void 0 && (t = []);
|
|
@@ -14566,7 +14566,7 @@ function Dm(e) {
|
|
|
14566
14566
|
const Is = [];
|
|
14567
14567
|
function x$(e, t) {
|
|
14568
14568
|
t === void 0 && (t = ho);
|
|
14569
|
-
const [n] = e, r = Dm(n ?
|
|
14569
|
+
const [n] = e, r = Dm(n ? wt(n) : null), [o, a] = fc(s, Is), i = es({
|
|
14570
14570
|
callback: a
|
|
14571
14571
|
});
|
|
14572
14572
|
return e.length > 0 && o === Is && a(), qt(() => {
|
|
@@ -14588,7 +14588,7 @@ function C$(e) {
|
|
|
14588
14588
|
let {
|
|
14589
14589
|
measure: t
|
|
14590
14590
|
} = e;
|
|
14591
|
-
const [n, r] = J(null), o =
|
|
14591
|
+
const [n, r] = J(null), o = Fe((c) => {
|
|
14592
14592
|
for (const {
|
|
14593
14593
|
target: u
|
|
14594
14594
|
} of c)
|
|
@@ -14605,7 +14605,7 @@ function C$(e) {
|
|
|
14605
14605
|
}
|
|
14606
14606
|
}, [t]), a = es({
|
|
14607
14607
|
callback: o
|
|
14608
|
-
}), i =
|
|
14608
|
+
}), i = Fe((c) => {
|
|
14609
14609
|
const u = S$(c);
|
|
14610
14610
|
a == null || a.disconnect(), u && (a == null || a.observe(u)), r(u ? t(u) : null);
|
|
14611
14611
|
}, [t, a]), [s, l] = Ci(i);
|
|
@@ -14715,7 +14715,7 @@ function R$() {
|
|
|
14715
14715
|
}
|
|
14716
14716
|
function T$(e, t) {
|
|
14717
14717
|
switch (t.type) {
|
|
14718
|
-
case
|
|
14718
|
+
case Ye.DragStart:
|
|
14719
14719
|
return {
|
|
14720
14720
|
...e,
|
|
14721
14721
|
draggable: {
|
|
@@ -14724,7 +14724,7 @@ function T$(e, t) {
|
|
|
14724
14724
|
active: t.active
|
|
14725
14725
|
}
|
|
14726
14726
|
};
|
|
14727
|
-
case
|
|
14727
|
+
case Ye.DragMove:
|
|
14728
14728
|
return e.draggable.active ? {
|
|
14729
14729
|
...e,
|
|
14730
14730
|
draggable: {
|
|
@@ -14735,8 +14735,8 @@ function T$(e, t) {
|
|
|
14735
14735
|
}
|
|
14736
14736
|
}
|
|
14737
14737
|
} : e;
|
|
14738
|
-
case
|
|
14739
|
-
case
|
|
14738
|
+
case Ye.DragEnd:
|
|
14739
|
+
case Ye.DragCancel:
|
|
14740
14740
|
return {
|
|
14741
14741
|
...e,
|
|
14742
14742
|
draggable: {
|
|
@@ -14752,7 +14752,7 @@ function T$(e, t) {
|
|
|
14752
14752
|
}
|
|
14753
14753
|
}
|
|
14754
14754
|
};
|
|
14755
|
-
case
|
|
14755
|
+
case Ye.RegisterDroppable: {
|
|
14756
14756
|
const {
|
|
14757
14757
|
element: n
|
|
14758
14758
|
} = t, {
|
|
@@ -14766,7 +14766,7 @@ function T$(e, t) {
|
|
|
14766
14766
|
}
|
|
14767
14767
|
};
|
|
14768
14768
|
}
|
|
14769
|
-
case
|
|
14769
|
+
case Ye.SetDroppableDisabled: {
|
|
14770
14770
|
const {
|
|
14771
14771
|
id: n,
|
|
14772
14772
|
key: r,
|
|
@@ -14786,7 +14786,7 @@ function T$(e, t) {
|
|
|
14786
14786
|
}
|
|
14787
14787
|
};
|
|
14788
14788
|
}
|
|
14789
|
-
case
|
|
14789
|
+
case Ye.UnregisterDroppable: {
|
|
14790
14790
|
const {
|
|
14791
14791
|
id: n,
|
|
14792
14792
|
key: r
|
|
@@ -14956,14 +14956,14 @@ const vp = /* @__PURE__ */ Ti(function(t) {
|
|
|
14956
14956
|
dragging: C,
|
|
14957
14957
|
dependencies: [N.x, N.y],
|
|
14958
14958
|
config: L.droppable
|
|
14959
|
-
}), de = u$(E, S), et = le(() => V ? Ul(V) : null, [V]), $e = Ea(),
|
|
14959
|
+
}), de = u$(E, S), et = le(() => V ? Ul(V) : null, [V]), $e = Ea(), He = p$(de, L.draggable.measure);
|
|
14960
14960
|
M$({
|
|
14961
14961
|
activeNode: S ? E.get(S) : null,
|
|
14962
14962
|
config: $e.layoutShiftCompensation,
|
|
14963
|
-
initialRect:
|
|
14963
|
+
initialRect: He,
|
|
14964
14964
|
measure: L.draggable.measure
|
|
14965
14965
|
});
|
|
14966
|
-
const ae = pp(de, L.draggable.measure,
|
|
14966
|
+
const ae = pp(de, L.draggable.measure, He), Me = pp(de ? de.parentElement : null), z = B({
|
|
14967
14967
|
activatorEvent: null,
|
|
14968
14968
|
active: null,
|
|
14969
14969
|
activeNode: de,
|
|
@@ -14979,7 +14979,7 @@ const vp = /* @__PURE__ */ Ti(function(t) {
|
|
|
14979
14979
|
scrollAdjustedTranslate: null
|
|
14980
14980
|
}), Je = R.getNodeFor((n = z.current.over) == null ? void 0 : n.id), Ie = C$({
|
|
14981
14981
|
measure: L.dragOverlay.measure
|
|
14982
|
-
}),
|
|
14982
|
+
}), Ae = (r = Ie.nodeRef.current) != null ? r : de, xt = C ? (o = Ie.rect) != null ? o : ae : null, fn = !!(Ie.nodeRef.current && Ie.rect), pn = v$(fn ? null : ae), Pe = Dm(Ae ? wt(Ae) : null), be = m$(C ? Je ?? de : null), ke = x$(be), qe = k$(p, {
|
|
14983
14983
|
transform: {
|
|
14984
14984
|
x: N.x - pn.x,
|
|
14985
14985
|
y: N.y - pn.y,
|
|
@@ -14989,20 +14989,20 @@ const vp = /* @__PURE__ */ Ti(function(t) {
|
|
|
14989
14989
|
activatorEvent: V,
|
|
14990
14990
|
active: $,
|
|
14991
14991
|
activeNodeRect: ae,
|
|
14992
|
-
containerNodeRect:
|
|
14993
|
-
draggingNodeRect:
|
|
14992
|
+
containerNodeRect: Me,
|
|
14993
|
+
draggingNodeRect: xt,
|
|
14994
14994
|
over: z.current.over,
|
|
14995
14995
|
overlayNodeRect: Ie.rect,
|
|
14996
14996
|
scrollableAncestors: be,
|
|
14997
14997
|
scrollableAncestorRects: ke,
|
|
14998
14998
|
windowRect: Pe
|
|
14999
|
-
}), Xt = et ?
|
|
14999
|
+
}), Xt = et ? jr(et, N) : null, wa = y$(be), xa = gp(wa), Sa = gp(wa, [ae]), Tt = jr(qe, xa), Rn = xt ? z8(xt, qe) : null, Tn = $ && Rn ? d({
|
|
15000
15000
|
active: $,
|
|
15001
15001
|
collisionRect: Rn,
|
|
15002
15002
|
droppableRects: Y,
|
|
15003
15003
|
droppableContainers: k,
|
|
15004
15004
|
pointerCoordinates: Xt
|
|
15005
|
-
}) : null, mo = _m(Tn, "id"), [Pt, Ca] = J(null), ss = fn ? qe :
|
|
15005
|
+
}) : null, mo = _m(Tn, "id"), [Pt, Ca] = J(null), ss = fn ? qe : jr(qe, Sa), ls = L8(ss, (a = Pt == null ? void 0 : Pt.rect) != null ? a : null, ae), Oa = Fe(
|
|
15006
15006
|
(Te, tt) => {
|
|
15007
15007
|
let {
|
|
15008
15008
|
sensor: nt,
|
|
@@ -15010,18 +15010,18 @@ const vp = /* @__PURE__ */ Ti(function(t) {
|
|
|
15010
15010
|
} = tt;
|
|
15011
15011
|
if (A.current == null)
|
|
15012
15012
|
return;
|
|
15013
|
-
const
|
|
15014
|
-
if (!
|
|
15013
|
+
const pt = E.get(A.current);
|
|
15014
|
+
if (!pt)
|
|
15015
15015
|
return;
|
|
15016
|
-
const
|
|
15016
|
+
const ht = Te.nativeEvent, kt = new nt({
|
|
15017
15017
|
active: A.current,
|
|
15018
|
-
activeNode:
|
|
15019
|
-
event:
|
|
15018
|
+
activeNode: pt,
|
|
15019
|
+
event: ht,
|
|
15020
15020
|
options: Lt,
|
|
15021
15021
|
// Sensors need to be instantiated with refs for arguments that change over time
|
|
15022
15022
|
// otherwise they are frozen in time with the stale arguments
|
|
15023
15023
|
context: z,
|
|
15024
|
-
onStart(
|
|
15024
|
+
onStart(gt) {
|
|
15025
15025
|
const Vn = A.current;
|
|
15026
15026
|
if (Vn == null)
|
|
15027
15027
|
return;
|
|
@@ -15030,7 +15030,7 @@ const vp = /* @__PURE__ */ Ti(function(t) {
|
|
|
15030
15030
|
return;
|
|
15031
15031
|
const {
|
|
15032
15032
|
onDragStart: Un
|
|
15033
|
-
} = ne.current,
|
|
15033
|
+
} = ne.current, gr = {
|
|
15034
15034
|
active: {
|
|
15035
15035
|
id: Vn,
|
|
15036
15036
|
data: Hn.data,
|
|
@@ -15038,34 +15038,34 @@ const vp = /* @__PURE__ */ Ti(function(t) {
|
|
|
15038
15038
|
}
|
|
15039
15039
|
};
|
|
15040
15040
|
bo(() => {
|
|
15041
|
-
Un == null || Un(
|
|
15042
|
-
type:
|
|
15043
|
-
initialCoordinates:
|
|
15041
|
+
Un == null || Un(gr), g(kn.Initializing), m({
|
|
15042
|
+
type: Ye.DragStart,
|
|
15043
|
+
initialCoordinates: gt,
|
|
15044
15044
|
active: Vn
|
|
15045
15045
|
}), w({
|
|
15046
15046
|
type: "onDragStart",
|
|
15047
|
-
event:
|
|
15047
|
+
event: gr
|
|
15048
15048
|
});
|
|
15049
15049
|
});
|
|
15050
15050
|
},
|
|
15051
|
-
onMove(
|
|
15051
|
+
onMove(gt) {
|
|
15052
15052
|
m({
|
|
15053
|
-
type:
|
|
15054
|
-
coordinates:
|
|
15053
|
+
type: Ye.DragMove,
|
|
15054
|
+
coordinates: gt
|
|
15055
15055
|
});
|
|
15056
15056
|
},
|
|
15057
|
-
onEnd: hn(
|
|
15058
|
-
onCancel: hn(
|
|
15057
|
+
onEnd: hn(Ye.DragEnd),
|
|
15058
|
+
onCancel: hn(Ye.DragCancel)
|
|
15059
15059
|
});
|
|
15060
15060
|
bo(() => {
|
|
15061
15061
|
M(kt), oe(Te.nativeEvent);
|
|
15062
15062
|
});
|
|
15063
|
-
function hn(
|
|
15063
|
+
function hn(gt) {
|
|
15064
15064
|
return async function() {
|
|
15065
15065
|
const {
|
|
15066
15066
|
active: Hn,
|
|
15067
15067
|
collisions: Un,
|
|
15068
|
-
over:
|
|
15068
|
+
over: gr,
|
|
15069
15069
|
scrollAdjustedTranslate: Na
|
|
15070
15070
|
} = z.current;
|
|
15071
15071
|
let Wn = null;
|
|
@@ -15074,18 +15074,18 @@ const vp = /* @__PURE__ */ Ti(function(t) {
|
|
|
15074
15074
|
cancelDrop: Gn
|
|
15075
15075
|
} = ne.current;
|
|
15076
15076
|
Wn = {
|
|
15077
|
-
activatorEvent:
|
|
15077
|
+
activatorEvent: ht,
|
|
15078
15078
|
active: Hn,
|
|
15079
15079
|
collisions: Un,
|
|
15080
15080
|
delta: Na,
|
|
15081
|
-
over:
|
|
15082
|
-
},
|
|
15081
|
+
over: gr
|
|
15082
|
+
}, gt === Ye.DragEnd && typeof Gn == "function" && await Promise.resolve(Gn(Wn)) && (gt = Ye.DragCancel);
|
|
15083
15083
|
}
|
|
15084
15084
|
A.current = null, bo(() => {
|
|
15085
15085
|
m({
|
|
15086
|
-
type:
|
|
15086
|
+
type: gt
|
|
15087
15087
|
}), g(kn.Uninitialized), Ca(null), M(null), oe(null);
|
|
15088
|
-
const Gn =
|
|
15088
|
+
const Gn = gt === Ye.DragEnd ? "onDragEnd" : "onDragCancel";
|
|
15089
15089
|
if (Wn) {
|
|
15090
15090
|
const _ = ne.current[Gn];
|
|
15091
15091
|
_ == null || _(Wn), w({
|
|
@@ -15099,19 +15099,19 @@ const vp = /* @__PURE__ */ Ti(function(t) {
|
|
|
15099
15099
|
},
|
|
15100
15100
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
15101
15101
|
[E]
|
|
15102
|
-
), cs =
|
|
15103
|
-
const
|
|
15102
|
+
), cs = Fe((Te, tt) => (nt, Lt) => {
|
|
15103
|
+
const pt = nt.nativeEvent, ht = E.get(Lt);
|
|
15104
15104
|
if (
|
|
15105
15105
|
// Another sensor is already instantiating
|
|
15106
15106
|
A.current !== null || // No active draggable
|
|
15107
|
-
!
|
|
15108
|
-
|
|
15107
|
+
!ht || // Event has already been captured
|
|
15108
|
+
pt.dndKit || pt.defaultPrevented
|
|
15109
15109
|
)
|
|
15110
15110
|
return;
|
|
15111
15111
|
const kt = {
|
|
15112
|
-
active:
|
|
15112
|
+
active: ht
|
|
15113
15113
|
};
|
|
15114
|
-
Te(nt, tt.options, kt) === !0 && (
|
|
15114
|
+
Te(nt, tt.options, kt) === !0 && (pt.dndKit = {
|
|
15115
15115
|
capturedBy: tt.sensor
|
|
15116
15116
|
}, A.current = Lt, Oa(nt, tt));
|
|
15117
15117
|
}, [E, Oa]), _a = d$(u, cs);
|
|
@@ -15125,11 +15125,11 @@ const vp = /* @__PURE__ */ Ti(function(t) {
|
|
|
15125
15125
|
active: tt,
|
|
15126
15126
|
activatorEvent: nt,
|
|
15127
15127
|
collisions: Lt,
|
|
15128
|
-
over:
|
|
15128
|
+
over: pt
|
|
15129
15129
|
} = z.current;
|
|
15130
15130
|
if (!tt || !nt)
|
|
15131
15131
|
return;
|
|
15132
|
-
const
|
|
15132
|
+
const ht = {
|
|
15133
15133
|
active: tt,
|
|
15134
15134
|
activatorEvent: nt,
|
|
15135
15135
|
collisions: Lt,
|
|
@@ -15137,12 +15137,12 @@ const vp = /* @__PURE__ */ Ti(function(t) {
|
|
|
15137
15137
|
x: Tt.x,
|
|
15138
15138
|
y: Tt.y
|
|
15139
15139
|
},
|
|
15140
|
-
over:
|
|
15140
|
+
over: pt
|
|
15141
15141
|
};
|
|
15142
15142
|
bo(() => {
|
|
15143
|
-
Te == null || Te(
|
|
15143
|
+
Te == null || Te(ht), w({
|
|
15144
15144
|
type: "onDragMove",
|
|
15145
|
-
event:
|
|
15145
|
+
event: ht
|
|
15146
15146
|
});
|
|
15147
15147
|
});
|
|
15148
15148
|
},
|
|
@@ -15155,31 +15155,31 @@ const vp = /* @__PURE__ */ Ti(function(t) {
|
|
|
15155
15155
|
activatorEvent: tt,
|
|
15156
15156
|
collisions: nt,
|
|
15157
15157
|
droppableContainers: Lt,
|
|
15158
|
-
scrollAdjustedTranslate:
|
|
15158
|
+
scrollAdjustedTranslate: pt
|
|
15159
15159
|
} = z.current;
|
|
15160
|
-
if (!Te || A.current == null || !tt || !
|
|
15160
|
+
if (!Te || A.current == null || !tt || !pt)
|
|
15161
15161
|
return;
|
|
15162
15162
|
const {
|
|
15163
|
-
onDragOver:
|
|
15163
|
+
onDragOver: ht
|
|
15164
15164
|
} = ne.current, kt = Lt.get(mo), hn = kt && kt.rect.current ? {
|
|
15165
15165
|
id: kt.id,
|
|
15166
15166
|
rect: kt.rect.current,
|
|
15167
15167
|
data: kt.data,
|
|
15168
15168
|
disabled: kt.disabled
|
|
15169
|
-
} : null,
|
|
15169
|
+
} : null, gt = {
|
|
15170
15170
|
active: Te,
|
|
15171
15171
|
activatorEvent: tt,
|
|
15172
15172
|
collisions: nt,
|
|
15173
15173
|
delta: {
|
|
15174
|
-
x:
|
|
15175
|
-
y:
|
|
15174
|
+
x: pt.x,
|
|
15175
|
+
y: pt.y
|
|
15176
15176
|
},
|
|
15177
15177
|
over: hn
|
|
15178
15178
|
};
|
|
15179
15179
|
bo(() => {
|
|
15180
|
-
Ca(hn),
|
|
15180
|
+
Ca(hn), ht == null || ht(gt), w({
|
|
15181
15181
|
type: "onDragOver",
|
|
15182
|
-
event:
|
|
15182
|
+
event: gt
|
|
15183
15183
|
});
|
|
15184
15184
|
});
|
|
15185
15185
|
},
|
|
@@ -15194,17 +15194,17 @@ const vp = /* @__PURE__ */ Ti(function(t) {
|
|
|
15194
15194
|
collisions: Tn,
|
|
15195
15195
|
droppableRects: Y,
|
|
15196
15196
|
draggableNodes: E,
|
|
15197
|
-
draggingNode:
|
|
15198
|
-
draggingNodeRect:
|
|
15197
|
+
draggingNode: Ae,
|
|
15198
|
+
draggingNodeRect: xt,
|
|
15199
15199
|
droppableContainers: R,
|
|
15200
15200
|
over: Pt,
|
|
15201
15201
|
scrollableAncestors: be,
|
|
15202
15202
|
scrollAdjustedTranslate: Tt
|
|
15203
15203
|
}, j.current = {
|
|
15204
|
-
initial:
|
|
15204
|
+
initial: xt,
|
|
15205
15205
|
translated: Rn
|
|
15206
15206
|
};
|
|
15207
|
-
}, [$, de, Tn, Rn, E,
|
|
15207
|
+
}, [$, de, Tn, Rn, E, Ae, xt, Y, R, Pt, be, Tt]), s$({
|
|
15208
15208
|
...$e,
|
|
15209
15209
|
delta: N,
|
|
15210
15210
|
draggingRect: Rn,
|
|
@@ -15218,7 +15218,7 @@ const vp = /* @__PURE__ */ Ti(function(t) {
|
|
|
15218
15218
|
activeNodeRect: ae,
|
|
15219
15219
|
activatorEvent: V,
|
|
15220
15220
|
collisions: Tn,
|
|
15221
|
-
containerNodeRect:
|
|
15221
|
+
containerNodeRect: Me,
|
|
15222
15222
|
dragOverlay: Ie,
|
|
15223
15223
|
draggableNodes: E,
|
|
15224
15224
|
droppableContainers: R,
|
|
@@ -15230,7 +15230,7 @@ const vp = /* @__PURE__ */ Ti(function(t) {
|
|
|
15230
15230
|
measuringConfiguration: L,
|
|
15231
15231
|
measuringScheduled: ce,
|
|
15232
15232
|
windowRect: Pe
|
|
15233
|
-
}), [$, de, ae, V, Tn,
|
|
15233
|
+
}), [$, de, ae, V, Tn, Me, Ie, E, R, Y, Pt, ee, be, ke, L, ce, Pe]), yo = le(() => ({
|
|
15234
15234
|
activatorEvent: V,
|
|
15235
15235
|
activators: _a,
|
|
15236
15236
|
active: $,
|
|
@@ -15354,7 +15354,7 @@ function B$(e) {
|
|
|
15354
15354
|
} = {
|
|
15355
15355
|
...L$,
|
|
15356
15356
|
...o
|
|
15357
|
-
}, m = ta(v ?? r), w =
|
|
15357
|
+
}, m = ta(v ?? r), w = Fe(
|
|
15358
15358
|
() => {
|
|
15359
15359
|
if (!d.current) {
|
|
15360
15360
|
d.current = !0;
|
|
@@ -15369,14 +15369,14 @@ function B$(e) {
|
|
|
15369
15369
|
), O = es({
|
|
15370
15370
|
callback: w,
|
|
15371
15371
|
disabled: h || !i
|
|
15372
|
-
}), x =
|
|
15372
|
+
}), x = Fe((E, N) => {
|
|
15373
15373
|
O && (N && (O.unobserve(N), d.current = !1), E && O.observe(E));
|
|
15374
15374
|
}, [O]), [g, C] = Ci(x), S = ta(t);
|
|
15375
15375
|
return G(() => {
|
|
15376
15376
|
!O || !g.current || (O.disconnect(), d.current = !1, O.observe(g.current));
|
|
15377
15377
|
}, [g, O]), qt(
|
|
15378
15378
|
() => (s({
|
|
15379
|
-
type:
|
|
15379
|
+
type: Ye.RegisterDroppable,
|
|
15380
15380
|
element: {
|
|
15381
15381
|
id: r,
|
|
15382
15382
|
key: a,
|
|
@@ -15386,7 +15386,7 @@ function B$(e) {
|
|
|
15386
15386
|
data: S
|
|
15387
15387
|
}
|
|
15388
15388
|
}), () => s({
|
|
15389
|
-
type:
|
|
15389
|
+
type: Ye.UnregisterDroppable,
|
|
15390
15390
|
key: a,
|
|
15391
15391
|
id: r
|
|
15392
15392
|
})),
|
|
@@ -15394,7 +15394,7 @@ function B$(e) {
|
|
|
15394
15394
|
[r]
|
|
15395
15395
|
), G(() => {
|
|
15396
15396
|
n !== u.current.disabled && (s({
|
|
15397
|
-
type:
|
|
15397
|
+
type: Ye.SetDroppableDisabled,
|
|
15398
15398
|
id: r,
|
|
15399
15399
|
key: a,
|
|
15400
15400
|
disabled: n
|
|
@@ -15636,12 +15636,12 @@ function X$(e) {
|
|
|
15636
15636
|
items: u,
|
|
15637
15637
|
activeIndex: f,
|
|
15638
15638
|
overIndex: y
|
|
15639
|
-
}) : x,
|
|
15640
|
-
activeId:
|
|
15639
|
+
}) : x, He = T == null ? void 0 : T.id, ae = B({
|
|
15640
|
+
activeId: He,
|
|
15641
15641
|
items: u,
|
|
15642
15642
|
newIndex: $e,
|
|
15643
15643
|
containerId: d
|
|
15644
|
-
}),
|
|
15644
|
+
}), Me = u !== ae.current.items, z = t({
|
|
15645
15645
|
active: T,
|
|
15646
15646
|
containerId: d,
|
|
15647
15647
|
isDragging: V,
|
|
@@ -15663,17 +15663,17 @@ function X$(e) {
|
|
|
15663
15663
|
return G(() => {
|
|
15664
15664
|
L && ae.current.newIndex !== $e && (ae.current.newIndex = $e), d !== ae.current.containerId && (ae.current.containerId = d), u !== ae.current.items && (ae.current.items = u);
|
|
15665
15665
|
}, [L, $e, d, u]), G(() => {
|
|
15666
|
-
if (
|
|
15666
|
+
if (He === ae.current.activeId)
|
|
15667
15667
|
return;
|
|
15668
|
-
if (
|
|
15669
|
-
ae.current.activeId =
|
|
15668
|
+
if (He && !ae.current.activeId) {
|
|
15669
|
+
ae.current.activeId = He;
|
|
15670
15670
|
return;
|
|
15671
15671
|
}
|
|
15672
|
-
const
|
|
15673
|
-
ae.current.activeId =
|
|
15672
|
+
const Ae = setTimeout(() => {
|
|
15673
|
+
ae.current.activeId = He;
|
|
15674
15674
|
}, 50);
|
|
15675
|
-
return () => clearTimeout(
|
|
15676
|
-
}, [
|
|
15675
|
+
return () => clearTimeout(Ae);
|
|
15676
|
+
}, [He]), {
|
|
15677
15677
|
active: T,
|
|
15678
15678
|
activeIndex: f,
|
|
15679
15679
|
attributes: A,
|
|
@@ -15700,7 +15700,7 @@ function X$(e) {
|
|
|
15700
15700
|
if (
|
|
15701
15701
|
// Temporarily disable transitions for a single frame to set up derived transforms
|
|
15702
15702
|
Je || // Or to prevent items jumping to back to their "new" position when items change
|
|
15703
|
-
|
|
15703
|
+
Me && ae.current.newIndex === x
|
|
15704
15704
|
)
|
|
15705
15705
|
return K$;
|
|
15706
15706
|
if (!(ee && !mu(j) || !c) && (L || z))
|
|
@@ -16544,10 +16544,10 @@ function o6(e, t, n = !0) {
|
|
|
16544
16544
|
r.current = !1;
|
|
16545
16545
|
} : e, t);
|
|
16546
16546
|
}
|
|
16547
|
-
var
|
|
16547
|
+
var Ot = o6;
|
|
16548
16548
|
function Fo() {
|
|
16549
16549
|
}
|
|
16550
|
-
function
|
|
16550
|
+
function Nr(e, t, n, r) {
|
|
16551
16551
|
return a6(e, r) || i6(e, t, n, r);
|
|
16552
16552
|
}
|
|
16553
16553
|
function a6(e, t) {
|
|
@@ -16564,30 +16564,30 @@ function s6({ original: e, modified: t, language: n, originalLanguage: r, modifi
|
|
|
16564
16564
|
ty(() => {
|
|
16565
16565
|
let P = Zm.init();
|
|
16566
16566
|
return P.then((M) => (S.current = M) && g(!1)).catch((M) => (M == null ? void 0 : M.type) !== "cancelation" && console.error("Monaco initialization: error:", M)), () => C.current ? A() : P.cancel();
|
|
16567
|
-
}),
|
|
16567
|
+
}), Ot(() => {
|
|
16568
16568
|
let P = C.current.getModifiedEditor();
|
|
16569
16569
|
P.getOption(S.current.editor.EditorOption.readOnly) ? P.setValue(t || "") : t !== P.getValue() && (P.executeEdits("", [{ range: P.getModel().getFullModelRange(), text: t || "", forceMoveMarkers: !0 }]), P.pushUndoStop());
|
|
16570
|
-
}, [t], w),
|
|
16570
|
+
}, [t], w), Ot(() => {
|
|
16571
16571
|
var P, M;
|
|
16572
16572
|
(M = (P = C.current) == null ? void 0 : P.getModel()) == null || M.original.setValue(e || "");
|
|
16573
|
-
}, [e], w),
|
|
16573
|
+
}, [e], w), Ot(() => {
|
|
16574
16574
|
let { original: P, modified: M } = C.current.getModel();
|
|
16575
16575
|
S.current.editor.setModelLanguage(P, r || n || "text"), S.current.editor.setModelLanguage(M, o || n || "text");
|
|
16576
|
-
}, [n, r, o], w),
|
|
16576
|
+
}, [n, r, o], w), Ot(() => {
|
|
16577
16577
|
var P;
|
|
16578
16578
|
(P = S.current) == null || P.editor.setTheme(c);
|
|
16579
|
-
}, [c], w),
|
|
16579
|
+
}, [c], w), Ot(() => {
|
|
16580
16580
|
var P;
|
|
16581
16581
|
(P = C.current) == null || P.updateOptions(d);
|
|
16582
16582
|
}, [d], w);
|
|
16583
|
-
let j =
|
|
16583
|
+
let j = Fe(() => {
|
|
16584
16584
|
var V;
|
|
16585
16585
|
if (!S.current)
|
|
16586
16586
|
return;
|
|
16587
16587
|
R.current(S.current);
|
|
16588
|
-
let P =
|
|
16588
|
+
let P = Nr(S.current, e || "", r || n || "text", a || ""), M = Nr(S.current, t || "", o || n || "text", i || "");
|
|
16589
16589
|
(V = C.current) == null || V.setModel({ original: P, modified: M });
|
|
16590
|
-
}, [n, t, o, e, r, a, i]), $ =
|
|
16590
|
+
}, [n, t, o, e, r, a, i]), $ = Fe(() => {
|
|
16591
16591
|
var P;
|
|
16592
16592
|
!T.current && E.current && (C.current = S.current.editor.createDiffEditor(E.current, { automaticLayout: !0, ...d }), j(), (P = S.current) == null || P.editor.setTheme(c), O(!0), T.current = !0);
|
|
16593
16593
|
}, [d, c, j]);
|
|
@@ -16595,14 +16595,14 @@ function s6({ original: e, modified: t, language: n, originalLanguage: r, modifi
|
|
|
16595
16595
|
w && N.current(C.current, S.current);
|
|
16596
16596
|
}, [w]), G(() => {
|
|
16597
16597
|
!x && !w && $();
|
|
16598
|
-
}, [x, w, $]),
|
|
16598
|
+
}, [x, w, $]), Ot(() => {
|
|
16599
16599
|
if (C.current && S.current) {
|
|
16600
|
-
let P = C.current.getOriginalEditor(), M =
|
|
16600
|
+
let P = C.current.getOriginalEditor(), M = Nr(S.current, e || "", r || n || "text", a || "");
|
|
16601
16601
|
M !== P.getModel() && P.setModel(M);
|
|
16602
16602
|
}
|
|
16603
|
-
}, [a], w),
|
|
16603
|
+
}, [a], w), Ot(() => {
|
|
16604
16604
|
if (C.current && S.current) {
|
|
16605
|
-
let P = C.current.getModifiedEditor(), M =
|
|
16605
|
+
let P = C.current.getModifiedEditor(), M = Nr(S.current, t || "", o || n || "text", i || "");
|
|
16606
16606
|
M !== P.getModel() && P.setModel(M);
|
|
16607
16607
|
}
|
|
16608
16608
|
}, [i], w);
|
|
@@ -16627,31 +16627,31 @@ function d6({ defaultValue: e, defaultLanguage: t, defaultPath: n, value: r, lan
|
|
|
16627
16627
|
ty(() => {
|
|
16628
16628
|
let k = Zm.init();
|
|
16629
16629
|
return k.then((L) => (N.current = L) && E(!1)).catch((L) => (L == null ? void 0 : L.type) !== "cancelation" && console.error("Monaco initialization: error:", L)), () => R.current ? he() : k.cancel();
|
|
16630
|
-
}),
|
|
16630
|
+
}), Ot(() => {
|
|
16631
16631
|
var L, Y, ee, ce;
|
|
16632
|
-
let k =
|
|
16632
|
+
let k = Nr(N.current, e || r || "", t || o || "", a || n || "");
|
|
16633
16633
|
k !== ((L = R.current) == null ? void 0 : L.getModel()) && (d && Ha.set(M, (Y = R.current) == null ? void 0 : Y.saveViewState()), (ee = R.current) == null || ee.setModel(k), d && ((ce = R.current) == null || ce.restoreViewState(Ha.get(a))));
|
|
16634
|
-
}, [a], g),
|
|
16634
|
+
}, [a], g), Ot(() => {
|
|
16635
16635
|
var k;
|
|
16636
16636
|
(k = R.current) == null || k.updateOptions(c);
|
|
16637
|
-
}, [c], g),
|
|
16637
|
+
}, [c], g), Ot(() => {
|
|
16638
16638
|
!R.current || r === void 0 || (R.current.getOption(N.current.editor.EditorOption.readOnly) ? R.current.setValue(r) : r !== R.current.getValue() && (oe.current = !0, R.current.executeEdits("", [{ range: R.current.getModel().getFullModelRange(), text: r, forceMoveMarkers: !0 }]), R.current.pushUndoStop(), oe.current = !1));
|
|
16639
|
-
}, [r], g),
|
|
16639
|
+
}, [r], g), Ot(() => {
|
|
16640
16640
|
var L, Y;
|
|
16641
16641
|
let k = (L = R.current) == null ? void 0 : L.getModel();
|
|
16642
16642
|
k && o && ((Y = N.current) == null || Y.editor.setModelLanguage(k, o));
|
|
16643
|
-
}, [o], g),
|
|
16643
|
+
}, [o], g), Ot(() => {
|
|
16644
16644
|
var k;
|
|
16645
16645
|
s !== void 0 && ((k = R.current) == null || k.revealLine(s));
|
|
16646
|
-
}, [s], g),
|
|
16646
|
+
}, [s], g), Ot(() => {
|
|
16647
16647
|
var k;
|
|
16648
16648
|
(k = N.current) == null || k.editor.setTheme(i);
|
|
16649
16649
|
}, [i], g);
|
|
16650
|
-
let ne =
|
|
16650
|
+
let ne = Fe(() => {
|
|
16651
16651
|
var k;
|
|
16652
16652
|
if (!(!T.current || !N.current) && !V.current) {
|
|
16653
16653
|
$.current(N.current);
|
|
16654
|
-
let L = a || n, Y =
|
|
16654
|
+
let L = a || n, Y = Nr(N.current, r || e || "", t || o || "", L || "");
|
|
16655
16655
|
R.current = (k = N.current) == null ? void 0 : k.editor.create(T.current, { model: Y, automaticLayout: !0, ...c }, u), d && R.current.restoreViewState(Ha.get(L)), N.current.editor.setTheme(i), C(!0), V.current = !0;
|
|
16656
16656
|
}
|
|
16657
16657
|
}, [e, t, n, r, o, a, c, u, d, i]);
|
|
@@ -18156,7 +18156,7 @@ const yL = "_inputAuto_gk0d2_2", bL = "_active_gk0d2_6", kp = {
|
|
|
18156
18156
|
onBlur: () => {
|
|
18157
18157
|
u(!1);
|
|
18158
18158
|
},
|
|
18159
|
-
className:
|
|
18159
|
+
className: vt([kp.inputAuto, c && kp.active]),
|
|
18160
18160
|
placeholder: "value",
|
|
18161
18161
|
options: p
|
|
18162
18162
|
})
|
|
@@ -19661,7 +19661,7 @@ const xL = {
|
|
|
19661
19661
|
style: {
|
|
19662
19662
|
width: `${v}px`
|
|
19663
19663
|
},
|
|
19664
|
-
className:
|
|
19664
|
+
className: vt([yn.inputBox]),
|
|
19665
19665
|
onFocus: () => {
|
|
19666
19666
|
O({
|
|
19667
19667
|
key: !0,
|
|
@@ -19945,19 +19945,19 @@ var Ap = "%", s3 = /* @__PURE__ */ function() {
|
|
|
19945
19945
|
i === null ? this.cache.delete(o) : this.cache.set(o, i);
|
|
19946
19946
|
}
|
|
19947
19947
|
}]), e;
|
|
19948
|
-
}(), ql = "data-token-hash",
|
|
19948
|
+
}(), ql = "data-token-hash", Zn = "data-css-hash", l3 = "data-cache-path", Rr = "__cssinjs_instance__";
|
|
19949
19949
|
function c3() {
|
|
19950
19950
|
var e = Math.random().toString(12).slice(2);
|
|
19951
19951
|
if (typeof document < "u" && document.head && document.body) {
|
|
19952
|
-
var t = document.body.querySelectorAll("style[".concat(
|
|
19952
|
+
var t = document.body.querySelectorAll("style[".concat(Zn, "]")) || [], n = document.head.firstChild;
|
|
19953
19953
|
Array.from(t).forEach(function(o) {
|
|
19954
|
-
o[
|
|
19954
|
+
o[Rr] = o[Rr] || e, o[Rr] === e && document.head.insertBefore(o, n);
|
|
19955
19955
|
});
|
|
19956
19956
|
var r = {};
|
|
19957
|
-
Array.from(document.querySelectorAll("style[".concat(
|
|
19958
|
-
var a = o.getAttribute(
|
|
19957
|
+
Array.from(document.querySelectorAll("style[".concat(Zn, "]"))).forEach(function(o) {
|
|
19958
|
+
var a = o.getAttribute(Zn);
|
|
19959
19959
|
if (r[a]) {
|
|
19960
|
-
if (o[
|
|
19960
|
+
if (o[Rr] === e) {
|
|
19961
19961
|
var i;
|
|
19962
19962
|
(i = o.parentNode) === null || i === void 0 || i.removeChild(o);
|
|
19963
19963
|
}
|
|
@@ -20010,7 +20010,7 @@ var Dp = "{}".NODE_ENV !== "test" && sn() ? W.useLayoutEffect : W.useEffect, h3
|
|
|
20010
20010
|
r.current = !0;
|
|
20011
20011
|
};
|
|
20012
20012
|
}, []);
|
|
20013
|
-
}, g3 =
|
|
20013
|
+
}, g3 = H({}, W), $p = g3.useInsertionEffect, v3 = function(t, n, r) {
|
|
20014
20014
|
W.useMemo(t, r), h3(function() {
|
|
20015
20015
|
return n(!0);
|
|
20016
20016
|
}, r);
|
|
@@ -20079,7 +20079,7 @@ function E3(e, t) {
|
|
|
20079
20079
|
if (typeof document < "u") {
|
|
20080
20080
|
var n = document.querySelectorAll("style[".concat(ql, '="').concat(e, '"]'));
|
|
20081
20081
|
n.forEach(function(r) {
|
|
20082
|
-
if (r[
|
|
20082
|
+
if (r[Rr] === t) {
|
|
20083
20083
|
var o;
|
|
20084
20084
|
(o = r.parentNode) === null || o === void 0 || o.removeChild(r);
|
|
20085
20085
|
}
|
|
@@ -20098,7 +20098,7 @@ function R3(e, t) {
|
|
|
20098
20098
|
});
|
|
20099
20099
|
}
|
|
20100
20100
|
var T3 = function(t, n, r, o) {
|
|
20101
|
-
var a = r.getDerivativeToken(t), i =
|
|
20101
|
+
var a = r.getDerivativeToken(t), i = H(H({}, a), n);
|
|
20102
20102
|
return o && (i = o(i)), i;
|
|
20103
20103
|
};
|
|
20104
20104
|
function P3(e, t) {
|
|
@@ -20190,20 +20190,20 @@ function I3(e) {
|
|
|
20190
20190
|
function Ka(e, t) {
|
|
20191
20191
|
return t.push(e), e;
|
|
20192
20192
|
}
|
|
20193
|
-
var rs = 1, qr = 1, Oy = 0, It = 0,
|
|
20193
|
+
var rs = 1, qr = 1, Oy = 0, It = 0, Ke = 0, go = "";
|
|
20194
20194
|
function Pu(e, t, n, r, o, a, i, s) {
|
|
20195
20195
|
return { value: e, root: t, parent: n, type: r, props: o, children: a, line: rs, column: qr, length: i, return: "", siblings: s };
|
|
20196
20196
|
}
|
|
20197
20197
|
function L3() {
|
|
20198
|
-
return
|
|
20198
|
+
return Ke;
|
|
20199
20199
|
}
|
|
20200
20200
|
function B3() {
|
|
20201
|
-
return
|
|
20201
|
+
return Ke = It > 0 ? aa(go, --It) : 0, qr--, Ke === 10 && (qr = 1, rs--), Ke;
|
|
20202
20202
|
}
|
|
20203
20203
|
function Gt() {
|
|
20204
|
-
return
|
|
20204
|
+
return Ke = It < Oy ? aa(go, It++) : 0, qr++, Ke === 10 && (qr = 1, rs++), Ke;
|
|
20205
20205
|
}
|
|
20206
|
-
function
|
|
20206
|
+
function er() {
|
|
20207
20207
|
return aa(go, It);
|
|
20208
20208
|
}
|
|
20209
20209
|
function ai() {
|
|
@@ -20254,23 +20254,23 @@ function Ws(e) {
|
|
|
20254
20254
|
return Cy(os(It - 1, Jl(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
|
|
20255
20255
|
}
|
|
20256
20256
|
function V3(e) {
|
|
20257
|
-
for (; (
|
|
20257
|
+
for (; (Ke = er()) && Ke < 33; )
|
|
20258
20258
|
Gt();
|
|
20259
|
-
return Xl(e) > 2 || Xl(
|
|
20259
|
+
return Xl(e) > 2 || Xl(Ke) > 3 ? "" : " ";
|
|
20260
20260
|
}
|
|
20261
20261
|
function H3(e, t) {
|
|
20262
|
-
for (; --t && Gt() && !(
|
|
20262
|
+
for (; --t && Gt() && !(Ke < 48 || Ke > 102 || Ke > 57 && Ke < 65 || Ke > 70 && Ke < 97); )
|
|
20263
20263
|
;
|
|
20264
|
-
return os(e, ai() + (t < 6 &&
|
|
20264
|
+
return os(e, ai() + (t < 6 && er() == 32 && Gt() == 32));
|
|
20265
20265
|
}
|
|
20266
20266
|
function Jl(e) {
|
|
20267
20267
|
for (; Gt(); )
|
|
20268
|
-
switch (
|
|
20268
|
+
switch (Ke) {
|
|
20269
20269
|
case e:
|
|
20270
20270
|
return It;
|
|
20271
20271
|
case 34:
|
|
20272
20272
|
case 39:
|
|
20273
|
-
e !== 34 && e !== 39 && Jl(
|
|
20273
|
+
e !== 34 && e !== 39 && Jl(Ke);
|
|
20274
20274
|
break;
|
|
20275
20275
|
case 40:
|
|
20276
20276
|
e === 41 && Jl(e);
|
|
@@ -20282,13 +20282,13 @@ function Jl(e) {
|
|
|
20282
20282
|
return It;
|
|
20283
20283
|
}
|
|
20284
20284
|
function U3(e, t) {
|
|
20285
|
-
for (; Gt() && e +
|
|
20286
|
-
if (e +
|
|
20285
|
+
for (; Gt() && e + Ke !== 47 + 10; )
|
|
20286
|
+
if (e + Ke === 42 + 42 && er() === 47)
|
|
20287
20287
|
break;
|
|
20288
20288
|
return "/*" + os(t, It - 1) + "*" + Tu(e === 47 ? e : Gt());
|
|
20289
20289
|
}
|
|
20290
20290
|
function W3(e) {
|
|
20291
|
-
for (; !Xl(
|
|
20291
|
+
for (; !Xl(er()); )
|
|
20292
20292
|
Gt();
|
|
20293
20293
|
return os(e, It);
|
|
20294
20294
|
}
|
|
@@ -20318,7 +20318,7 @@ function ii(e, t, n, r, o, a, i, s, l) {
|
|
|
20318
20318
|
S += H3(ai() - 1, 7);
|
|
20319
20319
|
continue;
|
|
20320
20320
|
case 47:
|
|
20321
|
-
switch (
|
|
20321
|
+
switch (er()) {
|
|
20322
20322
|
case 42:
|
|
20323
20323
|
case 47:
|
|
20324
20324
|
Ka(K3(U3(Gt(), ai()), t, n, l), l);
|
|
@@ -20376,7 +20376,7 @@ function ii(e, t, n, r, o, a, i, s, l) {
|
|
|
20376
20376
|
s[c++] = (wn(S) - 1) * m, m = 1;
|
|
20377
20377
|
break;
|
|
20378
20378
|
case 64:
|
|
20379
|
-
|
|
20379
|
+
er() === 45 && (S += Ws(Gt())), f = er(), u = d = wn(O = S += W3(ai())), w++;
|
|
20380
20380
|
break;
|
|
20381
20381
|
case 45:
|
|
20382
20382
|
h === 45 && wn(S) == 2 && (v = 0);
|
|
@@ -20430,15 +20430,15 @@ var Y3 = function(t, n, r) {
|
|
|
20430
20430
|
}
|
|
20431
20431
|
}, X3 = function(t, n, r) {
|
|
20432
20432
|
t === "animation" && r.hashId && n !== "none" && _y("You seem to be using hashed animation '".concat(n, "', in which case 'animationName' with Keyframe as value is recommended."), r);
|
|
20433
|
-
}, Bp = "data-ant-cssinjs-cache-path", Ey = "_FILE_STYLE__",
|
|
20433
|
+
}, Bp = "data-ant-cssinjs-cache-path", Ey = "_FILE_STYLE__", tr, Ny = !0;
|
|
20434
20434
|
function J3() {
|
|
20435
|
-
if (!
|
|
20435
|
+
if (!tr && (tr = {}, sn())) {
|
|
20436
20436
|
var e = document.createElement("div");
|
|
20437
20437
|
e.className = Bp, e.style.position = "fixed", e.style.visibility = "hidden", e.style.top = "-9999px", document.body.appendChild(e);
|
|
20438
20438
|
var t = getComputedStyle(e).content || "";
|
|
20439
20439
|
t = t.replace(/^"/, "").replace(/"$/, ""), t.split(";").forEach(function(o) {
|
|
20440
20440
|
var a = o.split(":"), i = Ce(a, 2), s = i[0], l = i[1];
|
|
20441
|
-
|
|
20441
|
+
tr[s] = l;
|
|
20442
20442
|
});
|
|
20443
20443
|
var n = document.querySelector("style[".concat(Bp, "]"));
|
|
20444
20444
|
if (n) {
|
|
@@ -20449,16 +20449,16 @@ function J3() {
|
|
|
20449
20449
|
}
|
|
20450
20450
|
}
|
|
20451
20451
|
function Q3(e) {
|
|
20452
|
-
return J3(), !!
|
|
20452
|
+
return J3(), !!tr[e];
|
|
20453
20453
|
}
|
|
20454
20454
|
function Z3(e) {
|
|
20455
|
-
var t =
|
|
20455
|
+
var t = tr[e], n = null;
|
|
20456
20456
|
if (t && sn())
|
|
20457
20457
|
if (Ny)
|
|
20458
20458
|
n = Ey;
|
|
20459
20459
|
else {
|
|
20460
|
-
var r = document.querySelector("style[".concat(
|
|
20461
|
-
r ? n = r.innerHTML : delete
|
|
20460
|
+
var r = document.querySelector("style[".concat(Zn, '="').concat(tr[e], '"]'));
|
|
20461
|
+
r ? n = r.innerHTML : delete tr[e];
|
|
20462
20462
|
}
|
|
20463
20463
|
return [n, t];
|
|
20464
20464
|
}
|
|
@@ -20523,7 +20523,7 @@ var n4 = function e(t) {
|
|
|
20523
20523
|
injectHash: T,
|
|
20524
20524
|
parentSelectors: [].concat(Ln(i), [j])
|
|
20525
20525
|
}), P = Ce(A, 2), M = P[0], V = P[1];
|
|
20526
|
-
y =
|
|
20526
|
+
y = H(H({}, y), V), v += "".concat(j).concat(M);
|
|
20527
20527
|
} else {
|
|
20528
20528
|
let he = function(k, L) {
|
|
20529
20529
|
"{}".NODE_ENV !== "production" && (Oe(R) !== "object" || !(R != null && R[Ry])) && [Y3, X3].concat(Ln(h)).forEach(function(ce) {
|
|
@@ -20587,7 +20587,7 @@ function Zl(e, t) {
|
|
|
20587
20587
|
function(N, R) {
|
|
20588
20588
|
var T = Ce(N, 3), j = T[2];
|
|
20589
20589
|
(R || l) && zp && Ah(j, {
|
|
20590
|
-
mark:
|
|
20590
|
+
mark: Zn
|
|
20591
20591
|
});
|
|
20592
20592
|
},
|
|
20593
20593
|
// Effect: Inject style here
|
|
@@ -20597,7 +20597,7 @@ function Zl(e, t) {
|
|
|
20597
20597
|
var j = R[2], $ = R[3];
|
|
20598
20598
|
if (O && T !== Ey) {
|
|
20599
20599
|
var A = {
|
|
20600
|
-
mark:
|
|
20600
|
+
mark: Zn,
|
|
20601
20601
|
prepend: "queue",
|
|
20602
20602
|
attachTo: f
|
|
20603
20603
|
}, P = typeof i == "function" ? i() : i;
|
|
@@ -20605,7 +20605,7 @@ function Zl(e, t) {
|
|
|
20605
20605
|
nonce: P
|
|
20606
20606
|
});
|
|
20607
20607
|
var M = Uo(T, j, A);
|
|
20608
|
-
M[
|
|
20608
|
+
M[Rr] = y.instanceId, M.setAttribute(ql, m), "{}".NODE_ENV !== "production" && M.setAttribute(l3, w.join("|")), Object.keys($).forEach(function(V) {
|
|
20609
20609
|
Uo(Fp($[V]), "_effect-".concat(V), A);
|
|
20610
20610
|
});
|
|
20611
20611
|
}
|
|
@@ -20618,7 +20618,7 @@ function Zl(e, t) {
|
|
|
20618
20618
|
else {
|
|
20619
20619
|
var T;
|
|
20620
20620
|
R = /* @__PURE__ */ b("style", {
|
|
20621
|
-
...(T = {}, se(T, ql, S), se(T,
|
|
20621
|
+
...(T = {}, se(T, ql, S), se(T, Zn, E), T),
|
|
20622
20622
|
dangerouslySetInnerHTML: {
|
|
20623
20623
|
__html: C
|
|
20624
20624
|
}
|
|
@@ -20742,10 +20742,10 @@ function Py(e) {
|
|
|
20742
20742
|
var t = Array.isArray(e) ? e : [e];
|
|
20743
20743
|
return Gs.has(t) || Gs.set(t, new i4(t)), Gs.get(t);
|
|
20744
20744
|
}
|
|
20745
|
-
function
|
|
20745
|
+
function xr(e) {
|
|
20746
20746
|
return e.notSplit = !0, e;
|
|
20747
20747
|
}
|
|
20748
|
-
|
|
20748
|
+
xr(["borderTop", "borderBottom"]), xr(["borderTop"]), xr(["borderBottom"]), xr(["borderLeft", "borderRight"]), xr(["borderLeft"]), xr(["borderRight"]);
|
|
20749
20749
|
var s4 = /* @__PURE__ */ an({});
|
|
20750
20750
|
const l4 = s4;
|
|
20751
20751
|
function ec(e, t) {
|
|
@@ -20760,7 +20760,7 @@ function ky(e, t, n, r) {
|
|
|
20760
20760
|
if (!t.length)
|
|
20761
20761
|
return n;
|
|
20762
20762
|
var o = Sv(t), a = o[0], i = o.slice(1), s;
|
|
20763
|
-
return !e && typeof a == "number" ? s = [] : Array.isArray(e) ? s = Ln(e) : s =
|
|
20763
|
+
return !e && typeof a == "number" ? s = [] : Array.isArray(e) ? s = Ln(e) : s = H({}, e), r && n === void 0 && i.length === 1 ? delete s[a][i[0]] : s[a] = ky(s[a], i, n, r), s;
|
|
20764
20764
|
}
|
|
20765
20765
|
function Ks(e, t, n) {
|
|
20766
20766
|
var r = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : !1;
|
|
@@ -20861,7 +20861,7 @@ const v4 = {
|
|
|
20861
20861
|
rangeWeekPlaceholder: ["Start week", "End week"]
|
|
20862
20862
|
}, g4),
|
|
20863
20863
|
timePickerLocale: Object.assign({}, My)
|
|
20864
|
-
}, Up = m4,
|
|
20864
|
+
}, Up = m4, St = "${label} is not a valid ${type}", y4 = {
|
|
20865
20865
|
locale: "en",
|
|
20866
20866
|
Pagination: h4,
|
|
20867
20867
|
DatePicker: Up,
|
|
@@ -20950,19 +20950,19 @@ const v4 = {
|
|
|
20950
20950
|
invalid: "${label} is an invalid date"
|
|
20951
20951
|
},
|
|
20952
20952
|
types: {
|
|
20953
|
-
string:
|
|
20954
|
-
method:
|
|
20955
|
-
array:
|
|
20956
|
-
object:
|
|
20957
|
-
number:
|
|
20958
|
-
date:
|
|
20959
|
-
boolean:
|
|
20960
|
-
integer:
|
|
20961
|
-
float:
|
|
20962
|
-
regexp:
|
|
20963
|
-
email:
|
|
20964
|
-
url:
|
|
20965
|
-
hex:
|
|
20953
|
+
string: St,
|
|
20954
|
+
method: St,
|
|
20955
|
+
array: St,
|
|
20956
|
+
object: St,
|
|
20957
|
+
number: St,
|
|
20958
|
+
date: St,
|
|
20959
|
+
boolean: St,
|
|
20960
|
+
integer: St,
|
|
20961
|
+
float: St,
|
|
20962
|
+
regexp: St,
|
|
20963
|
+
email: St,
|
|
20964
|
+
url: St,
|
|
20965
|
+
hex: St
|
|
20966
20966
|
},
|
|
20967
20967
|
string: {
|
|
20968
20968
|
len: "${label} must be ${len} characters",
|
|
@@ -21284,7 +21284,7 @@ function j4(e, t) {
|
|
|
21284
21284
|
colorInfoTextHover: v[8],
|
|
21285
21285
|
colorInfoText: v[9],
|
|
21286
21286
|
colorInfoTextActive: v[10],
|
|
21287
|
-
colorBgMask: new
|
|
21287
|
+
colorBgMask: new _t("#000").setAlpha(0.45).toRgbString(),
|
|
21288
21288
|
colorWhite: "#fff"
|
|
21289
21289
|
});
|
|
21290
21290
|
}
|
|
@@ -21314,7 +21314,7 @@ function D4(e) {
|
|
|
21314
21314
|
lineWidthBold: o + 1
|
|
21315
21315
|
}, A4(r));
|
|
21316
21316
|
}
|
|
21317
|
-
const mn = (e, t) => new
|
|
21317
|
+
const mn = (e, t) => new _t(e).setAlpha(t).toRgbString(), Ro = (e, t) => new _t(e).darken(t).toHexString(), $4 = (e) => {
|
|
21318
21318
|
const t = Yr(e);
|
|
21319
21319
|
return {
|
|
21320
21320
|
1: t[0],
|
|
@@ -21406,25 +21406,25 @@ function Xa(e, t) {
|
|
|
21406
21406
|
g: r,
|
|
21407
21407
|
b: o,
|
|
21408
21408
|
a
|
|
21409
|
-
} = new
|
|
21409
|
+
} = new _t(e).toRgb();
|
|
21410
21410
|
if (a < 1)
|
|
21411
21411
|
return e;
|
|
21412
21412
|
const {
|
|
21413
21413
|
r: i,
|
|
21414
21414
|
g: s,
|
|
21415
21415
|
b: l
|
|
21416
|
-
} = new
|
|
21416
|
+
} = new _t(t).toRgb();
|
|
21417
21417
|
for (let c = 0.01; c <= 1; c += 0.01) {
|
|
21418
21418
|
const u = Math.round((n - i * (1 - c)) / c), d = Math.round((r - s * (1 - c)) / c), f = Math.round((o - l * (1 - c)) / c);
|
|
21419
21419
|
if (Qs(u) && Qs(d) && Qs(f))
|
|
21420
|
-
return new
|
|
21420
|
+
return new _t({
|
|
21421
21421
|
r: u,
|
|
21422
21422
|
g: d,
|
|
21423
21423
|
b: f,
|
|
21424
21424
|
a: Math.round(c * 100) / 100
|
|
21425
21425
|
}).toRgbString();
|
|
21426
21426
|
}
|
|
21427
|
-
return new
|
|
21427
|
+
return new _t({
|
|
21428
21428
|
r: n,
|
|
21429
21429
|
g: r,
|
|
21430
21430
|
b: o,
|
|
@@ -21560,9 +21560,9 @@ function H4(e) {
|
|
|
21560
21560
|
screenXXLMin: u,
|
|
21561
21561
|
boxShadowPopoverArrow: "2px 2px 5px rgba(0, 0, 0, 0.05)",
|
|
21562
21562
|
boxShadowCard: `
|
|
21563
|
-
0 1px 2px -2px ${new
|
|
21564
|
-
0 3px 6px 0 ${new
|
|
21565
|
-
0 5px 12px 4px ${new
|
|
21563
|
+
0 1px 2px -2px ${new _t("rgba(0, 0, 0, 0.16)").toRgbString()},
|
|
21564
|
+
0 3px 6px 0 ${new _t("rgba(0, 0, 0, 0.12)").toRgbString()},
|
|
21565
|
+
0 5px 12px 4px ${new _t("rgba(0, 0, 0, 0.09)").toRgbString()}
|
|
21566
21566
|
`,
|
|
21567
21567
|
boxShadowDrawerRight: `
|
|
21568
21568
|
-6px 0 16px 0 rgba(0, 0, 0, 0.08),
|
|
@@ -21809,16 +21809,16 @@ function t5(e, t) {
|
|
|
21809
21809
|
let l = i.clone();
|
|
21810
21810
|
return l = (s == null ? void 0 : s(l)) || l, l.toRgbString();
|
|
21811
21811
|
}, o = (i, s) => {
|
|
21812
|
-
const l = new
|
|
21812
|
+
const l = new _t(i), c = Yr(l.toRgbString());
|
|
21813
21813
|
n[`${s}-color`] = r(l), n[`${s}-color-disabled`] = c[1], n[`${s}-color-hover`] = c[4], n[`${s}-color-active`] = c[6], n[`${s}-color-outline`] = l.clone().setAlpha(0.2).toRgbString(), n[`${s}-color-deprecated-bg`] = c[0], n[`${s}-color-deprecated-border`] = c[2];
|
|
21814
21814
|
};
|
|
21815
21815
|
if (t.primaryColor) {
|
|
21816
21816
|
o(t.primaryColor, "primary");
|
|
21817
|
-
const i = new
|
|
21817
|
+
const i = new _t(t.primaryColor), s = Yr(i.toRgbString());
|
|
21818
21818
|
s.forEach((c, u) => {
|
|
21819
21819
|
n[`primary-${u + 1}`] = c;
|
|
21820
21820
|
}), n["primary-color-deprecated-l-35"] = r(i, (c) => c.lighten(35)), n["primary-color-deprecated-l-20"] = r(i, (c) => c.lighten(20)), n["primary-color-deprecated-t-20"] = r(i, (c) => c.tint(20)), n["primary-color-deprecated-t-50"] = r(i, (c) => c.tint(50)), n["primary-color-deprecated-f-12"] = r(i, (c) => c.setAlpha(c.getAlpha() * 0.12));
|
|
21821
|
-
const l = new
|
|
21821
|
+
const l = new _t(s[0]);
|
|
21822
21822
|
n["primary-color-active-deprecated-f-30"] = r(l, (c) => c.setAlpha(c.getAlpha() * 0.3)), n["primary-color-active-deprecated-d-02"] = r(l, (c) => c.darken(2));
|
|
21823
21823
|
}
|
|
21824
21824
|
return t.successColor && o(t.successColor, "success"), t.warningColor && o(t.warningColor, "warning"), t.errorColor && o(t.errorColor, "error"), t.infoColor && o(t.infoColor, "info"), `
|
|
@@ -21994,14 +21994,14 @@ function p5() {
|
|
|
21994
21994
|
case d:
|
|
21995
21995
|
return Ie;
|
|
21996
21996
|
default:
|
|
21997
|
-
var
|
|
21998
|
-
switch (
|
|
21997
|
+
var Ae = Ie && Ie.$$typeof;
|
|
21998
|
+
switch (Ae) {
|
|
21999
21999
|
case s:
|
|
22000
22000
|
case u:
|
|
22001
22001
|
case h:
|
|
22002
22002
|
case p:
|
|
22003
22003
|
case i:
|
|
22004
|
-
return
|
|
22004
|
+
return Ae;
|
|
22005
22005
|
default:
|
|
22006
22006
|
return Je;
|
|
22007
22007
|
}
|
|
@@ -22042,16 +22042,16 @@ function p5() {
|
|
|
22042
22042
|
function $e(z) {
|
|
22043
22043
|
return x(z) === n;
|
|
22044
22044
|
}
|
|
22045
|
-
function
|
|
22045
|
+
function He(z) {
|
|
22046
22046
|
return x(z) === a;
|
|
22047
22047
|
}
|
|
22048
22048
|
function ae(z) {
|
|
22049
22049
|
return x(z) === o;
|
|
22050
22050
|
}
|
|
22051
|
-
function
|
|
22051
|
+
function Me(z) {
|
|
22052
22052
|
return x(z) === d;
|
|
22053
22053
|
}
|
|
22054
|
-
me.AsyncMode = g, me.ConcurrentMode = C, me.ContextConsumer = S, me.ContextProvider = E, me.Element = N, me.ForwardRef = R, me.Fragment = T, me.Lazy = j, me.Memo = $, me.Portal = A, me.Profiler = P, me.StrictMode = M, me.Suspense = V, me.isAsyncMode = ne, me.isConcurrentMode = he, me.isContextConsumer = k, me.isContextProvider = L, me.isElement = Y, me.isForwardRef = ee, me.isFragment = ce, me.isLazy = de, me.isMemo = et, me.isPortal = $e, me.isProfiler =
|
|
22054
|
+
me.AsyncMode = g, me.ConcurrentMode = C, me.ContextConsumer = S, me.ContextProvider = E, me.Element = N, me.ForwardRef = R, me.Fragment = T, me.Lazy = j, me.Memo = $, me.Portal = A, me.Profiler = P, me.StrictMode = M, me.Suspense = V, me.isAsyncMode = ne, me.isConcurrentMode = he, me.isContextConsumer = k, me.isContextProvider = L, me.isElement = Y, me.isForwardRef = ee, me.isFragment = ce, me.isLazy = de, me.isMemo = et, me.isPortal = $e, me.isProfiler = He, me.isStrictMode = ae, me.isSuspense = Me, me.isValidElementType = O, me.typeOf = x;
|
|
22055
22055
|
}()), me;
|
|
22056
22056
|
}
|
|
22057
22057
|
"{}".NODE_ENV === "production" ? oc.exports = f5() : oc.exports = p5();
|
|
@@ -22065,7 +22065,7 @@ function v5(e) {
|
|
|
22065
22065
|
}
|
|
22066
22066
|
var m5 = ["children"], Wy = /* @__PURE__ */ W.createContext({});
|
|
22067
22067
|
function y5(e) {
|
|
22068
|
-
var t = e.children, n =
|
|
22068
|
+
var t = e.children, n = Mr(e, m5);
|
|
22069
22069
|
return /* @__PURE__ */ b(Wy.Provider, {
|
|
22070
22070
|
value: n,
|
|
22071
22071
|
children: t
|
|
@@ -22107,7 +22107,7 @@ var w5 = /* @__PURE__ */ function(e) {
|
|
|
22107
22107
|
return this.props.children;
|
|
22108
22108
|
}
|
|
22109
22109
|
}]), n;
|
|
22110
|
-
}(W.Component), Xn = "none", Ja = "appear", Qa = "enter", Za = "leave", Zp = "none", Ft = "prepare",
|
|
22110
|
+
}(W.Component), Xn = "none", Ja = "appear", Qa = "enter", Za = "leave", Zp = "none", Ft = "prepare", Tr = "start", Pr = "active", Au = "end", Ky = "prepared";
|
|
22111
22111
|
function eh(e, t) {
|
|
22112
22112
|
var n = {};
|
|
22113
22113
|
return n[e.toLowerCase()] = t.toLowerCase(), n["Webkit".concat(e)] = "webkit".concat(t), n["Moz".concat(e)] = "moz".concat(t), n["ms".concat(e)] = "MS".concat(t), n["O".concat(e)] = "o".concat(t.toLowerCase()), n;
|
|
@@ -22224,9 +22224,9 @@ const _5 = function() {
|
|
|
22224
22224
|
};
|
|
22225
22225
|
}, []), [n, t];
|
|
22226
22226
|
};
|
|
22227
|
-
var E5 = [Ft,
|
|
22227
|
+
var E5 = [Ft, Tr, Pr, Au], N5 = [Ft, Ky], rb = !1, R5 = !0;
|
|
22228
22228
|
function ob(e) {
|
|
22229
|
-
return e ===
|
|
22229
|
+
return e === Pr || e === Au;
|
|
22230
22230
|
}
|
|
22231
22231
|
const T5 = function(e, t, n) {
|
|
22232
22232
|
var r = si(Zp), o = Ce(r, 2), a = o[0], i = o[1], s = _5(), l = Ce(s, 2), c = l[0], u = l[1];
|
|
@@ -22266,36 +22266,36 @@ function P5(e, t, n, r) {
|
|
|
22266
22266
|
P === Ja && ke ? qe = g == null ? void 0 : g(be, Pe) : P === Qa && ke ? qe = C == null ? void 0 : C(be, Pe) : P === Za && ke && (qe = S == null ? void 0 : S(be, Pe)), P !== Xn && ke && qe !== !1 && ce();
|
|
22267
22267
|
}
|
|
22268
22268
|
}
|
|
22269
|
-
var et = O5(de), $e = Ce(et, 1),
|
|
22269
|
+
var et = O5(de), $e = Ce(et, 1), He = $e[0], ae = function(be) {
|
|
22270
22270
|
var ke, qe, Xt;
|
|
22271
22271
|
switch (be) {
|
|
22272
22272
|
case Ja:
|
|
22273
|
-
return ke = {}, se(ke, Ft, f), se(ke,
|
|
22273
|
+
return ke = {}, se(ke, Ft, f), se(ke, Tr, v), se(ke, Pr, w), ke;
|
|
22274
22274
|
case Qa:
|
|
22275
|
-
return qe = {}, se(qe, Ft, p), se(qe,
|
|
22275
|
+
return qe = {}, se(qe, Ft, p), se(qe, Tr, y), se(qe, Pr, O), qe;
|
|
22276
22276
|
case Za:
|
|
22277
|
-
return Xt = {}, se(Xt, Ft, h), se(Xt,
|
|
22277
|
+
return Xt = {}, se(Xt, Ft, h), se(Xt, Tr, m), se(Xt, Pr, x), Xt;
|
|
22278
22278
|
default:
|
|
22279
22279
|
return {};
|
|
22280
22280
|
}
|
|
22281
|
-
},
|
|
22281
|
+
}, Me = W.useMemo(function() {
|
|
22282
22282
|
return ae(P);
|
|
22283
22283
|
}, [P]), z = T5(P, !e, function(Pe) {
|
|
22284
22284
|
if (Pe === Ft) {
|
|
22285
|
-
var be =
|
|
22285
|
+
var be = Me[Ft];
|
|
22286
22286
|
return be ? be(Y()) : rb;
|
|
22287
22287
|
}
|
|
22288
|
-
if (
|
|
22288
|
+
if (Ae in Me) {
|
|
22289
22289
|
var ke;
|
|
22290
|
-
he(((ke = Ae
|
|
22290
|
+
he(((ke = Me[Ae]) === null || ke === void 0 ? void 0 : ke.call(Me, Y(), null)) || null);
|
|
22291
22291
|
}
|
|
22292
|
-
return
|
|
22292
|
+
return Ae === Pr && (He(Y()), u > 0 && (clearTimeout(L.current), L.current = setTimeout(function() {
|
|
22293
22293
|
de({
|
|
22294
22294
|
deadline: !0
|
|
22295
22295
|
});
|
|
22296
|
-
}, u))),
|
|
22297
|
-
}), Je = Ce(z, 2), Ie = Je[0],
|
|
22298
|
-
ee.current =
|
|
22296
|
+
}, u))), Ae === Ky && ce(), R5;
|
|
22297
|
+
}), Je = Ce(z, 2), Ie = Je[0], Ae = Je[1], xt = ob(Ae);
|
|
22298
|
+
ee.current = xt, Zy(function() {
|
|
22299
22299
|
j(t);
|
|
22300
22300
|
var Pe = k.current;
|
|
22301
22301
|
k.current = !0;
|
|
@@ -22318,9 +22318,9 @@ function P5(e, t, n, r) {
|
|
|
22318
22318
|
T && (fn.current = !0), T !== void 0 && P === Xn && ((fn.current || T) && (E == null || E(T)), fn.current = !0);
|
|
22319
22319
|
}, [T, P]);
|
|
22320
22320
|
var pn = ne;
|
|
22321
|
-
return
|
|
22321
|
+
return Me[Ft] && Ae === Tr && (pn = H({
|
|
22322
22322
|
transition: "none"
|
|
22323
|
-
}, pn)), [P,
|
|
22323
|
+
}, pn)), [P, Ae, pn, T ?? t];
|
|
22324
22324
|
}
|
|
22325
22325
|
function k5(e) {
|
|
22326
22326
|
var t = e;
|
|
@@ -22341,24 +22341,24 @@ function k5(e) {
|
|
|
22341
22341
|
R && (T.current = !0);
|
|
22342
22342
|
var j = W.useCallback(function(he) {
|
|
22343
22343
|
w.current = he, g5(a, he);
|
|
22344
|
-
}, [a]), $, A =
|
|
22344
|
+
}, [a]), $, A = H(H({}, h), {}, {
|
|
22345
22345
|
visible: s
|
|
22346
22346
|
});
|
|
22347
22347
|
if (!d)
|
|
22348
22348
|
$ = null;
|
|
22349
22349
|
else if (S === Xn)
|
|
22350
|
-
R ? $ = d(
|
|
22350
|
+
R ? $ = d(H({}, A), j) : !c && T.current && p ? $ = d(H(H({}, A), {}, {
|
|
22351
22351
|
className: p
|
|
22352
|
-
}), j) : u || !c && !p ? $ = d(
|
|
22352
|
+
}), j) : u || !c && !p ? $ = d(H(H({}, A), {}, {
|
|
22353
22353
|
style: {
|
|
22354
22354
|
display: "none"
|
|
22355
22355
|
}
|
|
22356
22356
|
}), j) : $ = null;
|
|
22357
22357
|
else {
|
|
22358
22358
|
var P, M;
|
|
22359
|
-
E === Ft ? M = "prepare" : ob(E) ? M = "active" : E ===
|
|
22359
|
+
E === Ft ? M = "prepare" : ob(E) ? M = "active" : E === Tr && (M = "start");
|
|
22360
22360
|
var V = rh(f, "".concat(S, "-").concat(M));
|
|
22361
|
-
$ = d(
|
|
22361
|
+
$ = d(H(H({}, A), {}, {
|
|
22362
22362
|
className: vc(rh(f, S), (P = {}, se(P, V, V && M), se(P, f, typeof f == "string"), P)),
|
|
22363
22363
|
style: N
|
|
22364
22364
|
}), j);
|
|
@@ -22382,7 +22382,7 @@ function M5(e) {
|
|
|
22382
22382
|
var t;
|
|
22383
22383
|
return e && Oe(e) === "object" && "key" in e ? t = e : t = {
|
|
22384
22384
|
key: e
|
|
22385
|
-
},
|
|
22385
|
+
}, H(H({}, t), {}, {
|
|
22386
22386
|
key: String(t.key)
|
|
22387
22387
|
});
|
|
22388
22388
|
}
|
|
@@ -22397,20 +22397,20 @@ function A5() {
|
|
|
22397
22397
|
var f = i[d];
|
|
22398
22398
|
if (f.key === c.key) {
|
|
22399
22399
|
r < d && (n = n.concat(i.slice(r, d).map(function(p) {
|
|
22400
|
-
return
|
|
22400
|
+
return H(H({}, p), {}, {
|
|
22401
22401
|
status: ic
|
|
22402
22402
|
});
|
|
22403
|
-
})), r = d), n.push(
|
|
22403
|
+
})), r = d), n.push(H(H({}, f), {}, {
|
|
22404
22404
|
status: sc
|
|
22405
22405
|
})), r += 1, u = !0;
|
|
22406
22406
|
break;
|
|
22407
22407
|
}
|
|
22408
22408
|
}
|
|
22409
|
-
u || n.push(
|
|
22409
|
+
u || n.push(H(H({}, c), {}, {
|
|
22410
22410
|
status: lc
|
|
22411
22411
|
}));
|
|
22412
22412
|
}), r < o && (n = n.concat(i.slice(r).map(function(c) {
|
|
22413
|
-
return
|
|
22413
|
+
return H(H({}, c), {}, {
|
|
22414
22414
|
status: ic
|
|
22415
22415
|
});
|
|
22416
22416
|
})));
|
|
@@ -22445,7 +22445,7 @@ function L5(e) {
|
|
|
22445
22445
|
keyEntities: []
|
|
22446
22446
|
}), se(tn(i), "removeKey", function(u) {
|
|
22447
22447
|
var d = i.state.keyEntities, f = d.map(function(p) {
|
|
22448
|
-
return p.key !== u ? p :
|
|
22448
|
+
return p.key !== u ? p : H(H({}, p), {}, {
|
|
22449
22449
|
status: Zs
|
|
22450
22450
|
});
|
|
22451
22451
|
});
|
|
@@ -22460,13 +22460,13 @@ function L5(e) {
|
|
|
22460
22460
|
return lt(a, [{
|
|
22461
22461
|
key: "render",
|
|
22462
22462
|
value: function() {
|
|
22463
|
-
var s = this, l = this.state.keyEntities, c = this.props, u = c.component, d = c.children, f = c.onVisibleChanged, p = c.onAllRemoved, h =
|
|
22463
|
+
var s = this, l = this.state.keyEntities, c = this.props, u = c.component, d = c.children, f = c.onVisibleChanged, p = c.onAllRemoved, h = Mr(c, D5), v = u || W.Fragment, y = {};
|
|
22464
22464
|
return I5.forEach(function(m) {
|
|
22465
22465
|
y[m] = h[m], delete h[m];
|
|
22466
22466
|
}), delete h.keys, /* @__PURE__ */ b(v, {
|
|
22467
22467
|
...h,
|
|
22468
22468
|
children: l.map(function(m) {
|
|
22469
|
-
var w = m.status, O =
|
|
22469
|
+
var w = m.status, O = Mr(m, $5), x = w === ic || w === sc;
|
|
22470
22470
|
return /* @__PURE__ */ li(t, {
|
|
22471
22471
|
...y,
|
|
22472
22472
|
key: O.key,
|
|
@@ -22836,7 +22836,7 @@ const eB = (e) => {
|
|
|
22836
22836
|
})
|
|
22837
22837
|
})
|
|
22838
22838
|
);
|
|
22839
|
-
}, tB = eB, nB = "_cssFieldBox_4b8an_2", rB = "_inputAuto_4b8an_20", oB = "_active_4b8an_23", aB = "_cssBox_4b8an_27",
|
|
22839
|
+
}, tB = eB, nB = "_cssFieldBox_4b8an_2", rB = "_inputAuto_4b8an_20", oB = "_active_4b8an_23", aB = "_cssBox_4b8an_27", _r = {
|
|
22840
22840
|
cssFieldBox: nB,
|
|
22841
22841
|
inputAuto: rB,
|
|
22842
22842
|
active: oB,
|
|
@@ -22905,7 +22905,7 @@ const eB = (e) => {
|
|
|
22905
22905
|
}), (A = T.current) == null || A.focus();
|
|
22906
22906
|
}
|
|
22907
22907
|
}), []), /* @__PURE__ */ re("div", {
|
|
22908
|
-
className:
|
|
22908
|
+
className: _r.cssFieldBox,
|
|
22909
22909
|
children: [/* @__PURE__ */ b(ci, {
|
|
22910
22910
|
ref: T,
|
|
22911
22911
|
bordered: !1,
|
|
@@ -22923,7 +22923,7 @@ const eB = (e) => {
|
|
|
22923
22923
|
style: {
|
|
22924
22924
|
width: `${E}px`
|
|
22925
22925
|
},
|
|
22926
|
-
className:
|
|
22926
|
+
className: vt([l && _r.inputAuto, l && j.key && _r.active]),
|
|
22927
22927
|
onFocus: () => {
|
|
22928
22928
|
$({
|
|
22929
22929
|
key: !0,
|
|
@@ -22972,7 +22972,7 @@ const eB = (e) => {
|
|
|
22972
22972
|
value: !1
|
|
22973
22973
|
}), S();
|
|
22974
22974
|
},
|
|
22975
|
-
className:
|
|
22975
|
+
className: vt([_r.inputAuto, j.value && _r.active]),
|
|
22976
22976
|
placeholder: "value",
|
|
22977
22977
|
onSearch: O,
|
|
22978
22978
|
options: p,
|
|
@@ -23029,7 +23029,7 @@ const eB = (e) => {
|
|
|
23029
23029
|
}
|
|
23030
23030
|
},
|
|
23031
23031
|
children: /* @__PURE__ */ re("div", {
|
|
23032
|
-
className:
|
|
23032
|
+
className: _r.cssBox,
|
|
23033
23033
|
children: [r.map((c, u) => /* @__PURE__ */ b("div", {
|
|
23034
23034
|
children: /* @__PURE__ */ b(ah, {
|
|
23035
23035
|
mode: "edit",
|
|
@@ -23097,7 +23097,7 @@ const eB = (e) => {
|
|
|
23097
23097
|
return Object.keys(y).forEach((w) => {
|
|
23098
23098
|
m[w] = ul(y[w] || {}).normalProperty;
|
|
23099
23099
|
}), m;
|
|
23100
|
-
}, [t, u]), p =
|
|
23100
|
+
}, [t, u]), p = Fe(() => {
|
|
23101
23101
|
Object.keys(o.current).forEach((y) => {
|
|
23102
23102
|
var O;
|
|
23103
23103
|
const m = (O = o.current) == null ? void 0 : O[y], w = f[y] || [];
|
|
@@ -23107,12 +23107,12 @@ const eB = (e) => {
|
|
|
23107
23107
|
h.current = p, e.handler && (e.handler.current = {
|
|
23108
23108
|
setValue: async (y) => {
|
|
23109
23109
|
var m;
|
|
23110
|
-
d(y), await
|
|
23110
|
+
d(y), await ar(), (m = h.current) == null || m.call(h);
|
|
23111
23111
|
}
|
|
23112
23112
|
}), G(() => {
|
|
23113
23113
|
p();
|
|
23114
23114
|
}, [t]);
|
|
23115
|
-
const v =
|
|
23115
|
+
const v = Fe((y, m) => {
|
|
23116
23116
|
var O;
|
|
23117
23117
|
const w = {
|
|
23118
23118
|
...u,
|
|
@@ -23515,7 +23515,7 @@ const hB = "RightPanel", ib = (e) => {
|
|
|
23515
23515
|
Object.keys(ch).forEach((a) => {
|
|
23516
23516
|
t.addResourceBundle(a, tl, ch[a], !0, !0);
|
|
23517
23517
|
});
|
|
23518
|
-
const n =
|
|
23518
|
+
const n = Hr(tl)(bB), r = Hr(tl)(({
|
|
23519
23519
|
t: a
|
|
23520
23520
|
}) => /* @__PURE__ */ b(ot, {
|
|
23521
23521
|
children: a("pluginName")
|
|
@@ -23560,7 +23560,7 @@ const hB = "RightPanel", ib = (e) => {
|
|
|
23560
23560
|
if (!i)
|
|
23561
23561
|
return;
|
|
23562
23562
|
const s = JSON.parse(i);
|
|
23563
|
-
e.pageModel.updatePage(s), await
|
|
23563
|
+
e.pageModel.updatePage(s), await ar();
|
|
23564
23564
|
const l = n.engine.getActiveNode(), c = await n.pluginManager.get("Designer"), u = (l == null ? void 0 : l.id) || "";
|
|
23565
23565
|
c == null || c.ctx.emitter.on("ready", () => {
|
|
23566
23566
|
c.export.selectNode(u);
|
|
@@ -23598,7 +23598,7 @@ const hB = "RightPanel", ib = (e) => {
|
|
|
23598
23598
|
const o = e.pageModel.export();
|
|
23599
23599
|
r = o, n.historyRecords.push(o);
|
|
23600
23600
|
const a = async (s) => {
|
|
23601
|
-
t && (t.pageModel.reloadPage(s), await
|
|
23601
|
+
t && (t.pageModel.reloadPage(s), await ar());
|
|
23602
23602
|
}, i = {
|
|
23603
23603
|
addStep: () => {
|
|
23604
23604
|
const {
|
|
@@ -23671,7 +23671,7 @@ const hB = "RightPanel", ib = (e) => {
|
|
|
23671
23671
|
}
|
|
23672
23672
|
}
|
|
23673
23673
|
};
|
|
23674
|
-
}, SB = [pm, GD, um, sb, ib, lb],
|
|
23674
|
+
}, SB = [pm, GD, um, sb, ib, lb], AB = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
23675
23675
|
__proto__: null,
|
|
23676
23676
|
ComponentLibPlugin: um,
|
|
23677
23677
|
DEFAULT_PLUGIN_LIST: SB,
|
|
@@ -23718,12 +23718,12 @@ const hB = "RightPanel", ib = (e) => {
|
|
|
23718
23718
|
initialValue: []
|
|
23719
23719
|
}
|
|
23720
23720
|
]
|
|
23721
|
-
},
|
|
23721
|
+
}, Sr = {
|
|
23722
23722
|
name: "width",
|
|
23723
23723
|
title: "宽度",
|
|
23724
23724
|
valueType: "string",
|
|
23725
23725
|
setters: ["StringSetter", "ExpressionSetter"]
|
|
23726
|
-
},
|
|
23726
|
+
}, Cr = {
|
|
23727
23727
|
name: "height",
|
|
23728
23728
|
title: "高度",
|
|
23729
23729
|
valueType: "string",
|
|
@@ -23738,8 +23738,8 @@ const hB = "RightPanel", ib = (e) => {
|
|
|
23738
23738
|
title: "块",
|
|
23739
23739
|
componentName: "CBlock",
|
|
23740
23740
|
props: [
|
|
23741
|
-
|
|
23742
|
-
|
|
23741
|
+
Sr,
|
|
23742
|
+
Cr,
|
|
23743
23743
|
{
|
|
23744
23744
|
name: "children",
|
|
23745
23745
|
title: "文本",
|
|
@@ -23768,8 +23768,8 @@ const hB = "RightPanel", ib = (e) => {
|
|
|
23768
23768
|
componentName: "CContainer",
|
|
23769
23769
|
isContainer: !0,
|
|
23770
23770
|
props: [
|
|
23771
|
-
|
|
23772
|
-
|
|
23771
|
+
Sr,
|
|
23772
|
+
Cr,
|
|
23773
23773
|
{
|
|
23774
23774
|
name: "afterMount",
|
|
23775
23775
|
title: "渲染之后",
|
|
@@ -23809,8 +23809,8 @@ const hB = "RightPanel", ib = (e) => {
|
|
|
23809
23809
|
valueType: "string",
|
|
23810
23810
|
setters: ["StringSetter", "ExpressionSetter"]
|
|
23811
23811
|
},
|
|
23812
|
-
|
|
23813
|
-
|
|
23812
|
+
Sr,
|
|
23813
|
+
Cr,
|
|
23814
23814
|
bn
|
|
23815
23815
|
],
|
|
23816
23816
|
groupName: "原子组件",
|
|
@@ -23850,8 +23850,8 @@ const hB = "RightPanel", ib = (e) => {
|
|
|
23850
23850
|
valueType: "string",
|
|
23851
23851
|
setters: ["BooleanSetter", "ExpressionSetter"]
|
|
23852
23852
|
},
|
|
23853
|
-
|
|
23854
|
-
|
|
23853
|
+
Sr,
|
|
23854
|
+
Cr,
|
|
23855
23855
|
bn
|
|
23856
23856
|
],
|
|
23857
23857
|
fixedProps: {
|
|
@@ -23896,8 +23896,8 @@ const hB = "RightPanel", ib = (e) => {
|
|
|
23896
23896
|
valueType: "string",
|
|
23897
23897
|
setters: ["BooleanSetter", "ExpressionSetter"]
|
|
23898
23898
|
},
|
|
23899
|
-
|
|
23900
|
-
|
|
23899
|
+
Sr,
|
|
23900
|
+
Cr,
|
|
23901
23901
|
bn
|
|
23902
23902
|
],
|
|
23903
23903
|
snippets: [
|
|
@@ -23942,7 +23942,7 @@ const hB = "RightPanel", ib = (e) => {
|
|
|
23942
23942
|
{
|
|
23943
23943
|
title: "Canvas",
|
|
23944
23944
|
componentName: "CCanvas",
|
|
23945
|
-
props: [
|
|
23945
|
+
props: [Sr, Cr, bn],
|
|
23946
23946
|
groupName: "原子组件",
|
|
23947
23947
|
snippets: [
|
|
23948
23948
|
{
|
|
@@ -23995,7 +23995,7 @@ const hB = "RightPanel", ib = (e) => {
|
|
|
23995
23995
|
}
|
|
23996
23996
|
]
|
|
23997
23997
|
}
|
|
23998
|
-
],
|
|
23998
|
+
], DB = [...OB, ...CB];
|
|
23999
23999
|
class _B extends Q.Component {
|
|
24000
24000
|
constructor(n) {
|
|
24001
24001
|
super(n);
|
|
@@ -24073,7 +24073,7 @@ class _B extends Q.Component {
|
|
|
24073
24073
|
}
|
|
24074
24074
|
render() {
|
|
24075
24075
|
return /* @__PURE__ */ b("div", {
|
|
24076
|
-
className:
|
|
24076
|
+
className: vt([mT.engineContainer, this.props.className]),
|
|
24077
24077
|
style: this.props.style,
|
|
24078
24078
|
children: /* @__PURE__ */ b(gT, {
|
|
24079
24079
|
ref: this.workbenchRef,
|
|
@@ -24082,18 +24082,18 @@ class _B extends Q.Component {
|
|
|
24082
24082
|
});
|
|
24083
24083
|
}
|
|
24084
24084
|
}
|
|
24085
|
-
I(_B, "version", "0.0.
|
|
24085
|
+
I(_B, "version", "0.0.22");
|
|
24086
24086
|
export {
|
|
24087
24087
|
_B as Engine,
|
|
24088
|
-
|
|
24088
|
+
DB as InnerComponentMeta,
|
|
24089
24089
|
Jt as LOGGER,
|
|
24090
24090
|
dT as beforeInitRender,
|
|
24091
24091
|
ul as formatCSSProperty,
|
|
24092
24092
|
k1 as formatCssToNodeVal,
|
|
24093
24093
|
j1 as formatNodeValToEditor,
|
|
24094
24094
|
fT as getDefaultRender,
|
|
24095
|
-
|
|
24095
|
+
AB as plugins,
|
|
24096
24096
|
rg as styleArr2Obj,
|
|
24097
|
-
|
|
24097
|
+
ar as waitReactUpdate
|
|
24098
24098
|
};
|
|
24099
24099
|
//# sourceMappingURL=index.mjs.map
|