@ea-lab/reactive-json 0.2.0 → 0.2.1
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/{HashChangeListener-BUdA_TgJ.js → HashChangeListener-BrTnLmiF.js} +156 -155
- package/dist/component/action/HashChangeListener.js +1 -1
- package/dist/component/action/MessageListener.js +1 -1
- package/dist/component/action/Popover.js +1 -1
- package/dist/component/action/ReactOnEvent.js +1 -1
- package/dist/component/action/Redirect.js +1 -1
- package/dist/component/action/Tooltip.js +1 -1
- package/dist/component/action/index.js +1 -1
- package/dist/component/element/form/CheckBoxField.js +1 -1
- package/dist/component/element/form/DateField.js +1 -1
- package/dist/component/element/form/NumberField.js +1 -1
- package/dist/component/element/form/SelectField.js +1 -1
- package/dist/component/element/form/TextAreaField.js +1 -1
- package/dist/component/element/form/TextField.js +1 -1
- package/dist/component/element/form/formElementsCommon.js +1 -1
- package/dist/component/element/form/index.js +1 -1
- package/dist/component/element/html/AccordionItem.js +1 -1
- package/dist/component/element/html/FolderSortableTree.js +1 -1
- package/dist/component/element/html/FormatNumeral.js +1 -1
- package/dist/component/element/html/Html.js +1 -1
- package/dist/component/element/html/LabelFromValue.js +1 -1
- package/dist/component/element/html/Modal.js +1 -1
- package/dist/component/element/html/PreformattedMarkup.js +1 -1
- package/dist/component/element/html/SortableTreeItemCollapseButton.js +1 -1
- package/dist/component/element/html/Tabs.js +1 -1
- package/dist/component/element/html/index.js +1 -1
- package/dist/component/element/index.js +1 -1
- package/dist/component/element/special/BootstrapElement.js +1 -1
- package/dist/component/element/special/Count.js +1 -1
- package/dist/component/element/special/DataFilter.js +1 -1
- package/dist/component/element/special/DelayedActions.js +1 -1
- package/dist/component/element/special/Phantom.js +1 -1
- package/dist/component/element/special/ReactiveJsonSubroot.js +1 -1
- package/dist/component/element/special/Switch.js +1 -1
- package/dist/component/element/special/index.js +1 -1
- package/dist/component/index.js +1 -1
- package/dist/component/reaction/addData.js +1 -1
- package/dist/component/reaction/fetchData.js +1 -1
- package/dist/component/reaction/index.js +1 -1
- package/dist/component/reaction/moveData.js +1 -1
- package/dist/component/reaction/postMessage.js +1 -1
- package/dist/component/reaction/redirectNow.js +1 -1
- package/dist/component/reaction/removeData.js +1 -1
- package/dist/component/reaction/setClipboardData.js +1 -1
- package/dist/component/reaction/setData.js +1 -1
- package/dist/component/reaction/submitData.js +1 -1
- package/dist/component/reaction/utility/httpRequestCommon.js +1 -1
- package/dist/component/reaction/utility/index.js +1 -1
- package/dist/engine/Actions.js +1 -1
- package/dist/engine/ReactiveJsonRoot.js +1 -1
- package/dist/engine/TemplateSystem.js +1 -1
- package/dist/engine/View.js +1 -1
- package/dist/engine/index.js +1 -1
- package/dist/engine/utility/analyzeDataOverrideReferences.js +1 -1
- package/dist/engine/utility/formatString.js +1 -1
- package/dist/engine/utility/index.js +1 -1
- package/dist/main.js +1 -1
- package/package.json +1 -1
|
@@ -138,7 +138,7 @@ function sC() {
|
|
|
138
138
|
}
|
|
139
139
|
}
|
|
140
140
|
}
|
|
141
|
-
var y = c, x = f, T = d, L = u, W = t, Q = p, q = i, ce = w, re = E, ee = r, ge = s,
|
|
141
|
+
var y = c, x = f, T = d, L = u, W = t, Q = p, q = i, ce = w, re = E, ee = r, ge = s, oe = o, se = h, de = !1;
|
|
142
142
|
function xe(X) {
|
|
143
143
|
return de || (de = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), K(X) || C(X) === c;
|
|
144
144
|
}
|
|
@@ -178,7 +178,7 @@ function sC() {
|
|
|
178
178
|
function he(X) {
|
|
179
179
|
return C(X) === h;
|
|
180
180
|
}
|
|
181
|
-
pt.AsyncMode = y, pt.ConcurrentMode = x, pt.ContextConsumer = T, pt.ContextProvider = L, pt.Element = W, pt.ForwardRef = Q, pt.Fragment = q, pt.Lazy = ce, pt.Memo = re, pt.Portal = ee, pt.Profiler = ge, pt.StrictMode =
|
|
181
|
+
pt.AsyncMode = y, pt.ConcurrentMode = x, pt.ContextConsumer = T, pt.ContextProvider = L, pt.Element = W, pt.ForwardRef = Q, pt.Fragment = q, pt.Lazy = ce, pt.Memo = re, pt.Portal = ee, pt.Profiler = ge, pt.StrictMode = oe, pt.Suspense = se, pt.isAsyncMode = xe, pt.isConcurrentMode = K, pt.isContextConsumer = J, pt.isContextProvider = me, pt.isElement = B, pt.isForwardRef = j, pt.isFragment = z, pt.isLazy = ue, pt.isMemo = ye, pt.isPortal = fe, pt.isProfiler = Z, pt.isStrictMode = G, pt.isSuspense = he, pt.isValidElementType = R, pt.typeOf = C;
|
|
182
182
|
}()), pt;
|
|
183
183
|
}
|
|
184
184
|
var Ph;
|
|
@@ -373,9 +373,9 @@ function cC() {
|
|
|
373
373
|
}
|
|
374
374
|
function O(K) {
|
|
375
375
|
function J(me, B, j, z, ue, ye) {
|
|
376
|
-
var fe = me[B], Z =
|
|
376
|
+
var fe = me[B], Z = oe(fe);
|
|
377
377
|
if (Z !== K) {
|
|
378
|
-
var G =
|
|
378
|
+
var G = se(fe);
|
|
379
379
|
return new A(
|
|
380
380
|
"Invalid " + z + " `" + ue + "` of type " + ("`" + G + "` supplied to `" + j + "`, expected ") + ("`" + K + "`."),
|
|
381
381
|
{ expectedType: K }
|
|
@@ -394,7 +394,7 @@ function cC() {
|
|
|
394
394
|
return new A("Property `" + ue + "` of component `" + j + "` has invalid PropType notation inside arrayOf.");
|
|
395
395
|
var ye = me[B];
|
|
396
396
|
if (!Array.isArray(ye)) {
|
|
397
|
-
var fe =
|
|
397
|
+
var fe = oe(ye);
|
|
398
398
|
return new A("Invalid " + z + " `" + ue + "` of type " + ("`" + fe + "` supplied to `" + j + "`, expected an array."));
|
|
399
399
|
}
|
|
400
400
|
for (var Z = 0; Z < ye.length; Z++) {
|
|
@@ -410,7 +410,7 @@ function cC() {
|
|
|
410
410
|
function K(J, me, B, j, z) {
|
|
411
411
|
var ue = J[me];
|
|
412
412
|
if (!d(ue)) {
|
|
413
|
-
var ye =
|
|
413
|
+
var ye = oe(ue);
|
|
414
414
|
return new A("Invalid " + j + " `" + z + "` of type " + ("`" + ye + "` supplied to `" + B + "`, expected a single ReactElement."));
|
|
415
415
|
}
|
|
416
416
|
return null;
|
|
@@ -421,7 +421,7 @@ function cC() {
|
|
|
421
421
|
function K(J, me, B, j, z) {
|
|
422
422
|
var ue = J[me];
|
|
423
423
|
if (!e.isValidElementType(ue)) {
|
|
424
|
-
var ye =
|
|
424
|
+
var ye = oe(ue);
|
|
425
425
|
return new A("Invalid " + j + " `" + z + "` of type " + ("`" + ye + "` supplied to `" + B + "`, expected a single ReactElement type."));
|
|
426
426
|
}
|
|
427
427
|
return null;
|
|
@@ -448,7 +448,7 @@ function cC() {
|
|
|
448
448
|
if (w(ye, K[fe]))
|
|
449
449
|
return null;
|
|
450
450
|
var Z = JSON.stringify(K, function(he, X) {
|
|
451
|
-
var Pe =
|
|
451
|
+
var Pe = se(X);
|
|
452
452
|
return Pe === "symbol" ? String(X) : X;
|
|
453
453
|
});
|
|
454
454
|
return new A("Invalid " + z + " `" + ue + "` of value `" + String(ye) + "` " + ("supplied to `" + j + "`, expected one of " + Z + "."));
|
|
@@ -459,7 +459,7 @@ function cC() {
|
|
|
459
459
|
function J(me, B, j, z, ue) {
|
|
460
460
|
if (typeof K != "function")
|
|
461
461
|
return new A("Property `" + ue + "` of component `" + j + "` has invalid PropType notation inside objectOf.");
|
|
462
|
-
var ye = me[B], fe =
|
|
462
|
+
var ye = me[B], fe = oe(ye);
|
|
463
463
|
if (fe !== "object")
|
|
464
464
|
return new A("Invalid " + z + " `" + ue + "` of type " + ("`" + fe + "` supplied to `" + j + "`, expected an object."));
|
|
465
465
|
for (var Z in ye)
|
|
@@ -507,13 +507,13 @@ function cC() {
|
|
|
507
507
|
}
|
|
508
508
|
function ce(K) {
|
|
509
509
|
function J(me, B, j, z, ue) {
|
|
510
|
-
var ye = me[B], fe =
|
|
510
|
+
var ye = me[B], fe = oe(ye);
|
|
511
511
|
if (fe !== "object")
|
|
512
512
|
return new A("Invalid " + z + " `" + ue + "` of type `" + fe + "` " + ("supplied to `" + j + "`, expected `object`."));
|
|
513
513
|
for (var Z in K) {
|
|
514
514
|
var G = K[Z];
|
|
515
515
|
if (typeof G != "function")
|
|
516
|
-
return q(j, z, ue, Z,
|
|
516
|
+
return q(j, z, ue, Z, se(G));
|
|
517
517
|
var he = G(ye, Z, j, z, ue + "." + Z, r);
|
|
518
518
|
if (he)
|
|
519
519
|
return he;
|
|
@@ -524,14 +524,14 @@ function cC() {
|
|
|
524
524
|
}
|
|
525
525
|
function re(K) {
|
|
526
526
|
function J(me, B, j, z, ue) {
|
|
527
|
-
var ye = me[B], fe =
|
|
527
|
+
var ye = me[B], fe = oe(ye);
|
|
528
528
|
if (fe !== "object")
|
|
529
529
|
return new A("Invalid " + z + " `" + ue + "` of type `" + fe + "` " + ("supplied to `" + j + "`, expected `object`."));
|
|
530
530
|
var Z = t({}, me[B], K);
|
|
531
531
|
for (var G in Z) {
|
|
532
532
|
var he = K[G];
|
|
533
533
|
if (i(K, G) && typeof he != "function")
|
|
534
|
-
return q(j, z, ue, G,
|
|
534
|
+
return q(j, z, ue, G, se(he));
|
|
535
535
|
if (!he)
|
|
536
536
|
return new A(
|
|
537
537
|
"Invalid " + z + " `" + ue + "` key `" + G + "` supplied to `" + j + "`.\nBad object: " + JSON.stringify(me[B], null, " ") + `
|
|
@@ -581,14 +581,14 @@ Valid keys: ` + JSON.stringify(Object.keys(K), null, " ")
|
|
|
581
581
|
function ge(K, J) {
|
|
582
582
|
return K === "symbol" ? !0 : J ? J["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && J instanceof Symbol : !1;
|
|
583
583
|
}
|
|
584
|
-
function
|
|
584
|
+
function oe(K) {
|
|
585
585
|
var J = typeof K;
|
|
586
586
|
return Array.isArray(K) ? "array" : K instanceof RegExp ? "object" : ge(J, K) ? "symbol" : J;
|
|
587
587
|
}
|
|
588
|
-
function
|
|
588
|
+
function se(K) {
|
|
589
589
|
if (typeof K > "u" || K === null)
|
|
590
590
|
return "" + K;
|
|
591
|
-
var J =
|
|
591
|
+
var J = oe(K);
|
|
592
592
|
if (J === "object") {
|
|
593
593
|
if (K instanceof Date)
|
|
594
594
|
return "date";
|
|
@@ -598,7 +598,7 @@ Valid keys: ` + JSON.stringify(Object.keys(K), null, " ")
|
|
|
598
598
|
return J;
|
|
599
599
|
}
|
|
600
600
|
function de(K) {
|
|
601
|
-
var J =
|
|
601
|
+
var J = se(K);
|
|
602
602
|
switch (J) {
|
|
603
603
|
case "array":
|
|
604
604
|
case "object":
|
|
@@ -1148,7 +1148,7 @@ var CC = Ba.exports, Hh;
|
|
|
1148
1148
|
function xC() {
|
|
1149
1149
|
return Hh || (Hh = 1, function(e, t) {
|
|
1150
1150
|
(function() {
|
|
1151
|
-
var r, i = "4.17.21", o = 200, s = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", u = "Expected a function", d = "Invalid `variable` option passed into `_.template`", c = "__lodash_hash_undefined__", f = 500, p = "__lodash_placeholder__", h = 1, g = 2, E = 4, w = 1, A = 2, m = 1, O = 2, P = 4, R = 8, C = 16, y = 32, x = 64, T = 128, L = 256, W = 512, Q = 30, q = "...", ce = 800, re = 16, ee = 1, ge = 2,
|
|
1151
|
+
var r, i = "4.17.21", o = 200, s = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", u = "Expected a function", d = "Invalid `variable` option passed into `_.template`", c = "__lodash_hash_undefined__", f = 500, p = "__lodash_placeholder__", h = 1, g = 2, E = 4, w = 1, A = 2, m = 1, O = 2, P = 4, R = 8, C = 16, y = 32, x = 64, T = 128, L = 256, W = 512, Q = 30, q = "...", ce = 800, re = 16, ee = 1, ge = 2, oe = 3, se = 1 / 0, de = 9007199254740991, xe = 17976931348623157e292, K = NaN, J = 4294967295, me = J - 1, B = J >>> 1, j = [
|
|
1152
1152
|
["ary", T],
|
|
1153
1153
|
["bind", m],
|
|
1154
1154
|
["bindKey", O],
|
|
@@ -2910,7 +2910,7 @@ function xC() {
|
|
|
2910
2910
|
return a(l);
|
|
2911
2911
|
};
|
|
2912
2912
|
}
|
|
2913
|
-
var c1 = Pi && 1 / Ao(new Pi([, -0]))[1] ==
|
|
2913
|
+
var c1 = Pi && 1 / Ao(new Pi([, -0]))[1] == se ? function(n) {
|
|
2914
2914
|
return new Pi(n);
|
|
2915
2915
|
} : Rl;
|
|
2916
2916
|
function Nd(n) {
|
|
@@ -3451,7 +3451,7 @@ function xC() {
|
|
|
3451
3451
|
}
|
|
3452
3452
|
function j1(n) {
|
|
3453
3453
|
var a = n == null ? 0 : n.length;
|
|
3454
|
-
return a ? Zt(n,
|
|
3454
|
+
return a ? Zt(n, se) : [];
|
|
3455
3455
|
}
|
|
3456
3456
|
function H1(n, a) {
|
|
3457
3457
|
var l = n == null ? 0 : n.length;
|
|
@@ -3726,7 +3726,7 @@ function xC() {
|
|
|
3726
3726
|
return Zt(Zo(n, a), 1);
|
|
3727
3727
|
}
|
|
3728
3728
|
function Gb(n, a) {
|
|
3729
|
-
return Zt(Zo(n, a),
|
|
3729
|
+
return Zt(Zo(n, a), se);
|
|
3730
3730
|
}
|
|
3731
3731
|
function Vb(n, a, l) {
|
|
3732
3732
|
return l = l === r ? 1 : Ve(l), Zt(Zo(n, a), l);
|
|
@@ -4156,7 +4156,7 @@ function xC() {
|
|
|
4156
4156
|
function Ar(n) {
|
|
4157
4157
|
if (!n)
|
|
4158
4158
|
return n === 0 ? n : 0;
|
|
4159
|
-
if (n = Hn(n), n ===
|
|
4159
|
+
if (n = Hn(n), n === se || n === -1 / 0) {
|
|
4160
4160
|
var a = n < 0 ? -1 : 1;
|
|
4161
4161
|
return a * xe;
|
|
4162
4162
|
}
|
|
@@ -4727,7 +4727,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
4727
4727
|
return this.reverse()[n](l).reverse();
|
|
4728
4728
|
};
|
|
4729
4729
|
}), kn(["filter", "map", "takeWhile"], function(n, a) {
|
|
4730
|
-
var l = a + 1, b = l == ee || l ==
|
|
4730
|
+
var l = a + 1, b = l == ee || l == oe;
|
|
4731
4731
|
nt.prototype[n] = function(_) {
|
|
4732
4732
|
var I = this.clone();
|
|
4733
4733
|
return I.__iteratees__.push({
|
|
@@ -6850,16 +6850,16 @@ function zx(e) {
|
|
|
6850
6850
|
allowedAutoPlacements: A
|
|
6851
6851
|
}) : z);
|
|
6852
6852
|
}, []), y = t.rects.reference, x = t.rects.popper, T = /* @__PURE__ */ new Map(), L = !0, W = C[0], Q = 0; Q < C.length; Q++) {
|
|
6853
|
-
var q = C[Q], ce = cr(q), re = Yi(q) === Vi, ee = [wn, Gn].indexOf(ce) >= 0, ge = ee ? "width" : "height",
|
|
6853
|
+
var q = C[Q], ce = cr(q), re = Yi(q) === Vi, ee = [wn, Gn].indexOf(ce) >= 0, ge = ee ? "width" : "height", oe = Va(t, {
|
|
6854
6854
|
placement: q,
|
|
6855
6855
|
boundary: p,
|
|
6856
6856
|
rootBoundary: h,
|
|
6857
6857
|
altBoundary: g,
|
|
6858
6858
|
padding: f
|
|
6859
|
-
}),
|
|
6860
|
-
y[ge] > x[ge] && (
|
|
6861
|
-
var de = ys(
|
|
6862
|
-
if (s && xe.push(
|
|
6859
|
+
}), se = ee ? re ? Vn : An : re ? Gn : wn;
|
|
6860
|
+
y[ge] > x[ge] && (se = ys(se));
|
|
6861
|
+
var de = ys(se), xe = [];
|
|
6862
|
+
if (s && xe.push(oe[ce] <= 0), d && xe.push(oe[se] <= 0, oe[de] <= 0), xe.every(function(j) {
|
|
6863
6863
|
return j;
|
|
6864
6864
|
})) {
|
|
6865
6865
|
W = q, L = !1;
|
|
@@ -6997,11 +6997,11 @@ function eS(e) {
|
|
|
6997
6997
|
};
|
|
6998
6998
|
if (x) {
|
|
6999
6999
|
if (s) {
|
|
7000
|
-
var re, ee = C === "y" ? wn : An, ge = C === "y" ? Gn : Vn,
|
|
7000
|
+
var re, ee = C === "y" ? wn : An, ge = C === "y" ? Gn : Vn, oe = C === "y" ? "height" : "width", se = x[C], de = se + m[ee], xe = se - m[ge], K = E ? -L[oe] / 2 : 0, J = P === Vi ? T[oe] : L[oe], me = P === Vi ? -L[oe] : -T[oe], B = t.elements.arrow, j = E && B ? Wc(B) : {
|
|
7001
7001
|
width: 0,
|
|
7002
7002
|
height: 0
|
|
7003
|
-
}, z = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : tv(), ue = z[ee], ye = z[ge], fe = Ua(0, T[
|
|
7004
|
-
x[C] = at, ce[C] = at -
|
|
7003
|
+
}, z = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : tv(), ue = z[ee], ye = z[ge], fe = Ua(0, T[oe], j[oe]), Z = R ? T[oe] / 2 - K - fe - ue - Q.mainAxis : J - fe - ue - Q.mainAxis, G = R ? -T[oe] / 2 + K + fe + ye + Q.mainAxis : me + fe + ye + Q.mainAxis, he = t.elements.arrow && io(t.elements.arrow), X = he ? C === "y" ? he.clientTop || 0 : he.clientLeft || 0 : 0, Pe = (re = q == null ? void 0 : q[C]) != null ? re : 0, Be = se + Z - Pe - X, Oe = se + G - Pe, at = Ua(E ? Rs(de, Be) : de, se, E ? gi(xe, Oe) : xe);
|
|
7004
|
+
x[C] = at, ce[C] = at - se;
|
|
7005
7005
|
}
|
|
7006
7006
|
if (d) {
|
|
7007
7007
|
var Ze, en = C === "x" ? wn : An, Xt = C === "x" ? Gn : Vn, ot = x[y], Qe = y === "y" ? "height" : "width", Se = ot + m[en], gt = ot - m[Xt], Ct = [wn, An].indexOf(O) !== -1, tn = (Ze = q == null ? void 0 : q[y]) != null ? Ze : 0, He = Ct ? Se : ot - T[Qe] - L[Qe] - tn + Q.altAxis, Ce = Ct ? ot + T[Qe] + L[Qe] - tn - Q.altAxis : gt, Ue = E && Ct ? xx(He, ot, Ce) : Ua(E ? He : Se, ot, E ? Ce : gt);
|
|
@@ -7929,8 +7929,8 @@ const dv = /* @__PURE__ */ js((e, t) => {
|
|
|
7929
7929
|
onEntering: re,
|
|
7930
7930
|
onEntered: ee
|
|
7931
7931
|
} = e, ge = a_(e, i_);
|
|
7932
|
-
const
|
|
7933
|
-
HA(t, () => de, [de]), ia && !K && r && (B.current = jl(
|
|
7932
|
+
const oe = Xc(), se = pc(x), de = s_(y), xe = Wg(), K = JC(r), [J, me] = tt(!r), B = Ae(null);
|
|
7933
|
+
HA(t, () => de, [de]), ia && !K && r && (B.current = jl(oe == null ? void 0 : oe.document)), r && J && me(!1);
|
|
7934
7934
|
const j = Qn(() => {
|
|
7935
7935
|
if (de.add(), G.current = Sr(document, "keydown", fe), Z.current = Sr(
|
|
7936
7936
|
document,
|
|
@@ -7941,7 +7941,7 @@ const dv = /* @__PURE__ */ js((e, t) => {
|
|
|
7941
7941
|
!0
|
|
7942
7942
|
), T && T(), A) {
|
|
7943
7943
|
var Oe, at;
|
|
7944
|
-
const Ze = jl((Oe = (at = de.dialog) == null ? void 0 : at.ownerDocument) != null ? Oe :
|
|
7944
|
+
const Ze = jl((Oe = (at = de.dialog) == null ? void 0 : at.ownerDocument) != null ? Oe : oe == null ? void 0 : oe.document);
|
|
7945
7945
|
de.dialog && Ze && !Ka(de.dialog, Ze) && (B.current = Ze, de.dialog.focus());
|
|
7946
7946
|
}
|
|
7947
7947
|
}), z = Qn(() => {
|
|
@@ -7951,10 +7951,10 @@ const dv = /* @__PURE__ */ js((e, t) => {
|
|
|
7951
7951
|
}
|
|
7952
7952
|
});
|
|
7953
7953
|
ke(() => {
|
|
7954
|
-
!r || !
|
|
7954
|
+
!r || !se || j();
|
|
7955
7955
|
}, [
|
|
7956
7956
|
r,
|
|
7957
|
-
|
|
7957
|
+
se,
|
|
7958
7958
|
/* should never change: */
|
|
7959
7959
|
j
|
|
7960
7960
|
]), ke(() => {
|
|
@@ -7965,7 +7965,7 @@ const dv = /* @__PURE__ */ js((e, t) => {
|
|
|
7965
7965
|
const ue = Qn(() => {
|
|
7966
7966
|
if (!m || !xe() || !de.isTopModal())
|
|
7967
7967
|
return;
|
|
7968
|
-
const Oe = jl(
|
|
7968
|
+
const Oe = jl(oe == null ? void 0 : oe.document);
|
|
7969
7969
|
de.dialog && Oe && !Ka(de.dialog, Oe) && de.dialog.focus();
|
|
7970
7970
|
}), ye = Qn((Oe) => {
|
|
7971
7971
|
Oe.target === Oe.currentTarget && (f == null || f(Oe), d === !0 && L());
|
|
@@ -7974,7 +7974,7 @@ const dv = /* @__PURE__ */ js((e, t) => {
|
|
|
7974
7974
|
}), Z = Ae(), G = Ae(), he = (...Oe) => {
|
|
7975
7975
|
me(!0), Q == null || Q(...Oe);
|
|
7976
7976
|
};
|
|
7977
|
-
if (!
|
|
7977
|
+
if (!se)
|
|
7978
7978
|
return null;
|
|
7979
7979
|
const X = Object.assign({
|
|
7980
7980
|
role: i,
|
|
@@ -8017,7 +8017,7 @@ const dv = /* @__PURE__ */ js((e, t) => {
|
|
|
8017
8017
|
})), /* @__PURE__ */ M(qn, {
|
|
8018
8018
|
children: /* @__PURE__ */ hi.createPortal(/* @__PURE__ */ kt(qn, {
|
|
8019
8019
|
children: [Be, Pe]
|
|
8020
|
-
}),
|
|
8020
|
+
}), se)
|
|
8021
8021
|
});
|
|
8022
8022
|
});
|
|
8023
8023
|
dv.displayName = "Modal";
|
|
@@ -8215,8 +8215,8 @@ const bv = /* @__PURE__ */ Ee.forwardRef(({
|
|
|
8215
8215
|
backdropClassName: re,
|
|
8216
8216
|
manager: ee,
|
|
8217
8217
|
...ge
|
|
8218
|
-
},
|
|
8219
|
-
const [
|
|
8218
|
+
}, oe) => {
|
|
8219
|
+
const [se, de] = tt({}), [xe, K] = tt(!1), J = Ae(!1), me = Ae(!1), B = Ae(null), [j, z] = GS(), ue = Gs(oe, z), ye = qa(O), fe = Nc();
|
|
8220
8220
|
e = Ye(e, "modal");
|
|
8221
8221
|
const Z = Le(() => ({
|
|
8222
8222
|
onHide: ye
|
|
@@ -8275,7 +8275,7 @@ const bv = /* @__PURE__ */ Ee.forwardRef(({
|
|
|
8275
8275
|
className: je(`${e}-backdrop`, re, !g && "show")
|
|
8276
8276
|
}), [g, re, e]), Ct = {
|
|
8277
8277
|
...r,
|
|
8278
|
-
...
|
|
8278
|
+
...se
|
|
8279
8279
|
};
|
|
8280
8280
|
Ct.display = "block";
|
|
8281
8281
|
const tn = (He) => /* @__PURE__ */ M("div", {
|
|
@@ -9359,7 +9359,7 @@ function P_() {
|
|
|
9359
9359
|
v === 92 || // \ (backslash)
|
|
9360
9360
|
v >= 128 && g.NonAsciiIdentifierPart.test(String.fromCharCode(v));
|
|
9361
9361
|
}
|
|
9362
|
-
function
|
|
9362
|
+
function oe(v) {
|
|
9363
9363
|
switch (v) {
|
|
9364
9364
|
case "class":
|
|
9365
9365
|
case "enum":
|
|
@@ -9372,7 +9372,7 @@ function P_() {
|
|
|
9372
9372
|
return !1;
|
|
9373
9373
|
}
|
|
9374
9374
|
}
|
|
9375
|
-
function
|
|
9375
|
+
function se(v) {
|
|
9376
9376
|
switch (v) {
|
|
9377
9377
|
case "implements":
|
|
9378
9378
|
case "interface":
|
|
@@ -9392,7 +9392,7 @@ function P_() {
|
|
|
9392
9392
|
return v === "eval" || v === "arguments";
|
|
9393
9393
|
}
|
|
9394
9394
|
function xe(v) {
|
|
9395
|
-
if (A &&
|
|
9395
|
+
if (A && se(v))
|
|
9396
9396
|
return !0;
|
|
9397
9397
|
switch (v.length) {
|
|
9398
9398
|
case 2:
|
|
@@ -10248,9 +10248,9 @@ function P_() {
|
|
|
10248
10248
|
}
|
|
10249
10249
|
function Lt(v) {
|
|
10250
10250
|
if (v.type === u.EOF && Ce(v, h.UnexpectedEOS), v.type === u.NumericLiteral && Ce(v, h.UnexpectedNumber), v.type === u.StringLiteral && Ce(v, h.UnexpectedString), v.type === u.Identifier && Ce(v, h.UnexpectedIdentifier), v.type === u.Keyword) {
|
|
10251
|
-
if (
|
|
10251
|
+
if (oe(v.value))
|
|
10252
10252
|
Ce(v, h.UnexpectedReserved);
|
|
10253
|
-
else if (A &&
|
|
10253
|
+
else if (A && se(v.value)) {
|
|
10254
10254
|
Ue(v, h.StrictReservedWord);
|
|
10255
10255
|
return;
|
|
10256
10256
|
}
|
|
@@ -10634,7 +10634,7 @@ function P_() {
|
|
|
10634
10634
|
function ha(v) {
|
|
10635
10635
|
var S, N = [], $, ne, ve, Ge, lt;
|
|
10636
10636
|
if (Re("("), !Te(")"))
|
|
10637
|
-
for (ve = {}; m < R && ($ = y, S = ar(), Ge = "$" + $.value, A ? (de($.value) && (ne = $, lt = h.StrictParamName), Object.prototype.hasOwnProperty.call(ve, Ge) && (ne = $, lt = h.StrictParamDupe)) : v || (de($.value) ? (v = $, lt = h.StrictParamName) :
|
|
10637
|
+
for (ve = {}; m < R && ($ = y, S = ar(), Ge = "$" + $.value, A ? (de($.value) && (ne = $, lt = h.StrictParamName), Object.prototype.hasOwnProperty.call(ve, Ge) && (ne = $, lt = h.StrictParamDupe)) : v || (de($.value) ? (v = $, lt = h.StrictParamName) : se($.value) ? (v = $, lt = h.StrictReservedWord) : Object.prototype.hasOwnProperty.call(ve, Ge) && (v = $, lt = h.StrictParamDupe)), N.push(S), ve[Ge] = !0, !Te(")")); )
|
|
10638
10638
|
Re(",");
|
|
10639
10639
|
return Re(")"), {
|
|
10640
10640
|
params: N,
|
|
@@ -10645,11 +10645,11 @@ function P_() {
|
|
|
10645
10645
|
}
|
|
10646
10646
|
function Si() {
|
|
10647
10647
|
var v, S = [], N, $, ne, ve, Ge, lt, Ut, Pt;
|
|
10648
|
-
return Pt = y, it("function"), $ = y, v = ar(), A ? de($.value) && Ue($, h.StrictFunctionName) : de($.value) ? (Ge = $, lt = h.StrictFunctionName) :
|
|
10648
|
+
return Pt = y, it("function"), $ = y, v = ar(), A ? de($.value) && Ue($, h.StrictFunctionName) : de($.value) ? (Ge = $, lt = h.StrictFunctionName) : se($.value) && (Ge = $, lt = h.StrictReservedWord), ve = ha(Ge), S = ve.params, ne = ve.stricted, Ge = ve.firstRestricted, ve.message && (lt = ve.message), Ut = A, N = xi(), A && Ge && Ce(Ge, lt), A && ne && Ue(ne, lt), A = Ut, C.markEnd(C.createFunctionDeclaration(v, S, [], N), Pt);
|
|
10649
10649
|
}
|
|
10650
10650
|
function Su() {
|
|
10651
10651
|
var v, S = null, N, $, ne, ve, Ge = [], lt, Ut, Pt;
|
|
10652
|
-
return Pt = y, it("function"), Te("(") || (v = y, S = ar(), A ? de(v.value) && Ue(v, h.StrictFunctionName) : de(v.value) ? ($ = v, ne = h.StrictFunctionName) :
|
|
10652
|
+
return Pt = y, it("function"), Te("(") || (v = y, S = ar(), A ? de(v.value) && Ue(v, h.StrictFunctionName) : de(v.value) ? ($ = v, ne = h.StrictFunctionName) : se(v.value) && ($ = v, ne = h.StrictReservedWord)), ve = ha($), Ge = ve.params, N = ve.stricted, $ = ve.firstRestricted, ve.message && (ne = ve.message), Ut = A, lt = xi(), A && $ && Ce($, ne), A && N && Ue(N, ne), A = Ut, C.markEnd(C.createFunctionExpression(S, Ge, [], lt), Pt);
|
|
10653
10653
|
}
|
|
10654
10654
|
function Fr() {
|
|
10655
10655
|
if (y.type === u.Keyword)
|
|
@@ -10868,12 +10868,12 @@ function P_() {
|
|
|
10868
10868
|
var J;
|
|
10869
10869
|
return J = E.lexer.lex() || x, typeof J != "number" && (J = E.symbols_[J] || J), J;
|
|
10870
10870
|
}
|
|
10871
|
-
for (var q, ce, re, ee, ge = {},
|
|
10871
|
+
for (var q, ce, re, ee, ge = {}, oe, se, de, xe; ; ) {
|
|
10872
10872
|
if (ce = w[w.length - 1], this.defaultActions[ce] ? re = this.defaultActions[ce] : ((q === null || typeof q > "u") && (q = Q()), re = O[ce] && O[ce][q]), typeof re > "u" || !re.length || !re[0]) {
|
|
10873
10873
|
var K = "";
|
|
10874
10874
|
xe = [];
|
|
10875
|
-
for (
|
|
10876
|
-
this.terminals_[
|
|
10875
|
+
for (oe in O[ce])
|
|
10876
|
+
this.terminals_[oe] && oe > y && xe.push("'" + this.terminals_[oe] + "'");
|
|
10877
10877
|
this.lexer.showPosition ? K = "Parse error on line " + (R + 1) + `:
|
|
10878
10878
|
` + this.lexer.showPosition() + `
|
|
10879
10879
|
Expecting ` + xe.join(", ") + ", got '" + (this.terminals_[q] || q) + "'" : K = "Parse error on line " + (R + 1) + ": Unexpected " + (q == x ? "end of input" : "'" + (this.terminals_[q] || q) + "'"), this.parseError(K, {
|
|
@@ -10891,13 +10891,13 @@ Expecting ` + xe.join(", ") + ", got '" + (this.terminals_[q] || q) + "'" : K =
|
|
|
10891
10891
|
w.push(q), A.push(this.lexer.yytext), m.push(this.lexer.yylloc), w.push(re[1]), q = null, C = this.lexer.yyleng, P = this.lexer.yytext, R = this.lexer.yylineno, L = this.lexer.yylloc;
|
|
10892
10892
|
break;
|
|
10893
10893
|
case 2:
|
|
10894
|
-
if (
|
|
10895
|
-
first_line: m[m.length - (
|
|
10894
|
+
if (se = this.productions_[re[1]][1], ge.$ = A[A.length - se], ge._$ = {
|
|
10895
|
+
first_line: m[m.length - (se || 1)].first_line,
|
|
10896
10896
|
last_line: m[m.length - 1].last_line,
|
|
10897
|
-
first_column: m[m.length - (
|
|
10897
|
+
first_column: m[m.length - (se || 1)].first_column,
|
|
10898
10898
|
last_column: m[m.length - 1].last_column
|
|
10899
10899
|
}, W && (ge._$.range = [
|
|
10900
|
-
m[m.length - (
|
|
10900
|
+
m[m.length - (se || 1)].range[0],
|
|
10901
10901
|
m[m.length - 1].range[1]
|
|
10902
10902
|
]), ee = this.performAction.apply(ge, [
|
|
10903
10903
|
P,
|
|
@@ -10909,7 +10909,7 @@ Expecting ` + xe.join(", ") + ", got '" + (this.terminals_[q] || q) + "'" : K =
|
|
|
10909
10909
|
m
|
|
10910
10910
|
].concat(T)), typeof ee < "u")
|
|
10911
10911
|
return ee;
|
|
10912
|
-
|
|
10912
|
+
se && (w = w.slice(0, -1 * se * 2), A = A.slice(0, -1 * se), m = m.slice(0, -1 * se)), w.push(this.productions_[re[1]][0]), A.push(ge.$), m.push(ge._$), de = O[w[w.length - 2]][w[w.length - 1]], w.push(de);
|
|
10913
10913
|
break;
|
|
10914
10914
|
case 3:
|
|
10915
10915
|
return !0;
|
|
@@ -11795,7 +11795,7 @@ Expecting ` + xe.join(", ") + ", got '" + (this.terminals_[q] || q) + "'" : K =
|
|
|
11795
11795
|
}), j;
|
|
11796
11796
|
}
|
|
11797
11797
|
function w(B, j, z) {
|
|
11798
|
-
if (B.customInspect && j &&
|
|
11798
|
+
if (B.customInspect && j && oe(j.inspect) && // Filter out the util module, it's inspect function is special
|
|
11799
11799
|
j.inspect !== o.inspect && // Also filter out any prototype objects using the circular check.
|
|
11800
11800
|
!(j.constructor && j.constructor.prototype === j)) {
|
|
11801
11801
|
var ue = j.inspect(z, B);
|
|
@@ -11808,7 +11808,7 @@ Expecting ` + xe.join(", ") + ", got '" + (this.terminals_[q] || q) + "'" : K =
|
|
|
11808
11808
|
if (B.showHidden && (fe = Object.getOwnPropertyNames(j)), ge(j) && (fe.indexOf("message") >= 0 || fe.indexOf("description") >= 0))
|
|
11809
11809
|
return m(j);
|
|
11810
11810
|
if (fe.length === 0) {
|
|
11811
|
-
if (
|
|
11811
|
+
if (oe(j)) {
|
|
11812
11812
|
var G = j.name ? ": " + j.name : "";
|
|
11813
11813
|
return B.stylize("[Function" + G + "]", "special");
|
|
11814
11814
|
}
|
|
@@ -11820,7 +11820,7 @@ Expecting ` + xe.join(", ") + ", got '" + (this.terminals_[q] || q) + "'" : K =
|
|
|
11820
11820
|
return m(j);
|
|
11821
11821
|
}
|
|
11822
11822
|
var he = "", X = !1, Pe = ["{", "}"];
|
|
11823
|
-
if (C(j) && (X = !0, Pe = ["[", "]"]),
|
|
11823
|
+
if (C(j) && (X = !0, Pe = ["[", "]"]), oe(j)) {
|
|
11824
11824
|
var Be = j.name ? ": " + j.name : "";
|
|
11825
11825
|
he = " [Function" + Be + "]";
|
|
11826
11826
|
}
|
|
@@ -11948,15 +11948,15 @@ Expecting ` + xe.join(", ") + ", got '" + (this.terminals_[q] || q) + "'" : K =
|
|
|
11948
11948
|
return re(B) && (de(B) === "[object Error]" || B instanceof Error);
|
|
11949
11949
|
}
|
|
11950
11950
|
o.isError = ge;
|
|
11951
|
-
function
|
|
11951
|
+
function oe(B) {
|
|
11952
11952
|
return typeof B == "function";
|
|
11953
11953
|
}
|
|
11954
|
-
o.isFunction =
|
|
11955
|
-
function
|
|
11954
|
+
o.isFunction = oe;
|
|
11955
|
+
function se(B) {
|
|
11956
11956
|
return B === null || typeof B == "boolean" || typeof B == "number" || typeof B == "string" || typeof B == "symbol" || // ES6 symbol
|
|
11957
11957
|
typeof B > "u";
|
|
11958
11958
|
}
|
|
11959
|
-
o.isPrimitive =
|
|
11959
|
+
o.isPrimitive = se, o.isBuffer = r("./support/isBuffer");
|
|
11960
11960
|
function de(B) {
|
|
11961
11961
|
return Object.prototype.toString.call(B);
|
|
11962
11962
|
}
|
|
@@ -12289,8 +12289,8 @@ Expecting ` + xe.join(", ") + ", got '" + (this.terminals_[q] || q) + "'" : K =
|
|
|
12289
12289
|
ge += p(h.quasis[A]), ge += p(h.expressions[A]);
|
|
12290
12290
|
return ge += p(h.quasis[A]), ge;
|
|
12291
12291
|
} else if (h.type === "TaggedTemplateExpression") {
|
|
12292
|
-
var
|
|
12293
|
-
return
|
|
12292
|
+
var oe = p(h.tag), se = h.quasi, de = se.quasis.map(p), xe = se.expressions.map(p);
|
|
12293
|
+
return oe.apply(null, [de].concat(xe));
|
|
12294
12294
|
} else return h.type === "TemplateElement" ? h.value.cooked : c;
|
|
12295
12295
|
}
|
|
12296
12296
|
}
|
|
@@ -14870,7 +14870,7 @@ const lO = /* @__PURE__ */ WA(function(t) {
|
|
|
14870
14870
|
data: (Dt = q == null ? void 0 : q.data) != null ? Dt : nO,
|
|
14871
14871
|
rect: ce
|
|
14872
14872
|
} : null;
|
|
14873
|
-
}, [T, q]), ee = Ae(null), [ge,
|
|
14873
|
+
}, [T, q]), ee = Ae(null), [ge, oe] = tt(null), [se, de] = tt(null), xe = Ya(w, Object.values(w)), K = uo("DndDescribedBy", u), J = Le(() => Q.getEnabled(), [Q]), me = sO(g), {
|
|
14874
14874
|
droppableRects: B,
|
|
14875
14875
|
measureDroppableContainers: j,
|
|
14876
14876
|
measuringScheduled: z
|
|
@@ -14878,7 +14878,7 @@ const lO = /* @__PURE__ */ WA(function(t) {
|
|
|
14878
14878
|
dragging: x,
|
|
14879
14879
|
dependencies: [W.x, W.y],
|
|
14880
14880
|
config: me.droppable
|
|
14881
|
-
}), ue = HT(L, T), ye = Le(() =>
|
|
14881
|
+
}), ue = HT(L, T), ye = Le(() => se ? Fs(se) : null, [se]), fe = bi(), Z = qT(ue, me.draggable.measure);
|
|
14882
14882
|
uO({
|
|
14883
14883
|
activeNode: T != null ? L.get(T) : null,
|
|
14884
14884
|
config: fe.layoutShiftCompensation,
|
|
@@ -14908,7 +14908,7 @@ const lO = /* @__PURE__ */ WA(function(t) {
|
|
|
14908
14908
|
scaleX: 1,
|
|
14909
14909
|
scaleY: 1
|
|
14910
14910
|
},
|
|
14911
|
-
activatorEvent:
|
|
14911
|
+
activatorEvent: se,
|
|
14912
14912
|
active: re,
|
|
14913
14913
|
activeNodeRect: G,
|
|
14914
14914
|
containerNodeRect: he,
|
|
@@ -14997,7 +14997,7 @@ const lO = /* @__PURE__ */ WA(function(t) {
|
|
|
14997
14997
|
}), P({
|
|
14998
14998
|
type: "onDragStart",
|
|
14999
14999
|
event: hr
|
|
15000
|
-
}),
|
|
15000
|
+
}), oe(zt.current), de(Mt);
|
|
15001
15001
|
});
|
|
15002
15002
|
},
|
|
15003
15003
|
onMove(It) {
|
|
@@ -15034,7 +15034,7 @@ const lO = /* @__PURE__ */ WA(function(t) {
|
|
|
15034
15034
|
ee.current = null, di.unstable_batchedUpdates(() => {
|
|
15035
15035
|
O({
|
|
15036
15036
|
type: It
|
|
15037
|
-
}), y(qr.Uninitialized), Te(null),
|
|
15037
|
+
}), y(qr.Uninitialized), Te(null), oe(null), de(null), zt.current = null;
|
|
15038
15038
|
const Et = It === Wt.DragEnd ? "onDragEnd" : "onDragCancel";
|
|
15039
15039
|
if (Ot) {
|
|
15040
15040
|
const Qr = xe.current[Et];
|
|
@@ -15137,7 +15137,7 @@ const lO = /* @__PURE__ */ WA(function(t) {
|
|
|
15137
15137
|
[Re]
|
|
15138
15138
|
), er(() => {
|
|
15139
15139
|
X.current = {
|
|
15140
|
-
activatorEvent:
|
|
15140
|
+
activatorEvent: se,
|
|
15141
15141
|
active: re,
|
|
15142
15142
|
activeNode: ue,
|
|
15143
15143
|
collisionRect: Ue,
|
|
@@ -15166,7 +15166,7 @@ const lO = /* @__PURE__ */ WA(function(t) {
|
|
|
15166
15166
|
active: re,
|
|
15167
15167
|
activeNode: ue,
|
|
15168
15168
|
activeNodeRect: G,
|
|
15169
|
-
activatorEvent:
|
|
15169
|
+
activatorEvent: se,
|
|
15170
15170
|
collisions: Lt,
|
|
15171
15171
|
containerNodeRect: he,
|
|
15172
15172
|
dragOverlay: Be,
|
|
@@ -15180,8 +15180,8 @@ const lO = /* @__PURE__ */ WA(function(t) {
|
|
|
15180
15180
|
measuringConfiguration: me,
|
|
15181
15181
|
measuringScheduled: z,
|
|
15182
15182
|
windowRect: Xt
|
|
15183
|
-
}), [re, ue, G,
|
|
15184
|
-
activatorEvent:
|
|
15183
|
+
}), [re, ue, G, se, Lt, he, Be, L, Q, B, it, j, ot, Qe, me, z, Xt]), da = Le(() => ({
|
|
15184
|
+
activatorEvent: se,
|
|
15185
15185
|
activators: Pr,
|
|
15186
15186
|
active: re,
|
|
15187
15187
|
activeNodeRect: G,
|
|
@@ -15192,7 +15192,7 @@ const lO = /* @__PURE__ */ WA(function(t) {
|
|
|
15192
15192
|
draggableNodes: L,
|
|
15193
15193
|
over: it,
|
|
15194
15194
|
measureDroppableContainers: j
|
|
15195
|
-
}), [
|
|
15195
|
+
}), [se, Pr, re, G, O, K, L, it, j]);
|
|
15196
15196
|
return De.createElement(Uv.Provider, {
|
|
15197
15197
|
value: R
|
|
15198
15198
|
}, De.createElement(lo.Provider, {
|
|
@@ -15885,8 +15885,8 @@ function UO(e) {
|
|
|
15885
15885
|
activeNodeRect: re,
|
|
15886
15886
|
attributes: ee,
|
|
15887
15887
|
setNodeRef: ge,
|
|
15888
|
-
listeners:
|
|
15889
|
-
isDragging:
|
|
15888
|
+
listeners: oe,
|
|
15889
|
+
isDragging: se,
|
|
15890
15890
|
over: de,
|
|
15891
15891
|
setActivatorNodeRef: xe,
|
|
15892
15892
|
transform: K
|
|
@@ -15898,7 +15898,7 @@ function UO(e) {
|
|
|
15898
15898
|
...r
|
|
15899
15899
|
},
|
|
15900
15900
|
disabled: R.draggable
|
|
15901
|
-
}), J = K_(Q, ge), me = !!q, B = me && !w && hs(g) && hs(m), j = !O &&
|
|
15901
|
+
}), J = K_(Q, ge), me = !!q, B = me && !w && hs(g) && hs(m), j = !O && se, z = j && B ? K : null, ye = B ? z ?? (d ?? P)({
|
|
15902
15902
|
rects: A,
|
|
15903
15903
|
activeNodeRect: re,
|
|
15904
15904
|
activeIndex: g,
|
|
@@ -15917,7 +15917,7 @@ function UO(e) {
|
|
|
15917
15917
|
}), he = p !== G.current.items, X = t({
|
|
15918
15918
|
active: q,
|
|
15919
15919
|
containerId: h,
|
|
15920
|
-
isDragging:
|
|
15920
|
+
isDragging: se,
|
|
15921
15921
|
isSorting: me,
|
|
15922
15922
|
id: u,
|
|
15923
15923
|
index: C,
|
|
@@ -15957,8 +15957,8 @@ function UO(e) {
|
|
|
15957
15957
|
items: p,
|
|
15958
15958
|
isOver: W,
|
|
15959
15959
|
isSorting: me,
|
|
15960
|
-
isDragging:
|
|
15961
|
-
listeners:
|
|
15960
|
+
isDragging: se,
|
|
15961
|
+
listeners: oe,
|
|
15962
15962
|
node: L,
|
|
15963
15963
|
overIndex: m,
|
|
15964
15964
|
over: de,
|
|
@@ -16095,11 +16095,11 @@ function XO(e, t, r, i, o, s, u) {
|
|
|
16095
16095
|
var d, c, f;
|
|
16096
16096
|
if (Jl(), Jl = function() {
|
|
16097
16097
|
}, !t || !r) return null;
|
|
16098
|
-
var p = e.findIndex(function(
|
|
16099
|
-
var de =
|
|
16098
|
+
var p = e.findIndex(function(se) {
|
|
16099
|
+
var de = se.id;
|
|
16100
16100
|
return de === r;
|
|
16101
|
-
}), h = e.findIndex(function(
|
|
16102
|
-
var de =
|
|
16101
|
+
}), h = e.findIndex(function(se) {
|
|
16102
|
+
var de = se.id;
|
|
16103
16103
|
return de === t;
|
|
16104
16104
|
}), g = e[h];
|
|
16105
16105
|
if (s) {
|
|
@@ -16121,37 +16121,37 @@ function XO(e, t, r, i, o, s, u) {
|
|
|
16121
16121
|
Q.isLast = !0;
|
|
16122
16122
|
}, Q.isLast = !1), {
|
|
16123
16123
|
depth: L,
|
|
16124
|
-
parentId:
|
|
16124
|
+
parentId: oe(),
|
|
16125
16125
|
parent: Q,
|
|
16126
16126
|
isLast: re
|
|
16127
16127
|
};
|
|
16128
|
-
function ee(
|
|
16128
|
+
function ee(se, de) {
|
|
16129
16129
|
if (!de) return null;
|
|
16130
|
-
for (;
|
|
16130
|
+
for (; se < de.depth; ) {
|
|
16131
16131
|
if (de.parent === null) return null;
|
|
16132
16132
|
de = de.parent;
|
|
16133
16133
|
}
|
|
16134
16134
|
return de;
|
|
16135
16135
|
}
|
|
16136
|
-
function ge(
|
|
16137
|
-
if (!
|
|
16136
|
+
function ge(se, de, xe) {
|
|
16137
|
+
if (!se) {
|
|
16138
16138
|
var K = typeof xe == "function" ? xe(de) : xe;
|
|
16139
|
-
return K === !1 ? void 0 :
|
|
16139
|
+
return K === !1 ? void 0 : se;
|
|
16140
16140
|
}
|
|
16141
|
-
var J = typeof
|
|
16142
|
-
return J === !1 ? ge(
|
|
16141
|
+
var J = typeof se.canHaveChildren == "function" ? se.canHaveChildren(de) : se.canHaveChildren;
|
|
16142
|
+
return J === !1 ? ge(se.parent, g, xe) : se;
|
|
16143
16143
|
}
|
|
16144
|
-
function
|
|
16145
|
-
var
|
|
16144
|
+
function oe() {
|
|
16145
|
+
var se;
|
|
16146
16146
|
if (L === 0 || !C)
|
|
16147
16147
|
return null;
|
|
16148
16148
|
if (L === C.depth)
|
|
16149
16149
|
return C.parentId;
|
|
16150
16150
|
if (L > C.depth)
|
|
16151
16151
|
return C.id;
|
|
16152
|
-
var de = (
|
|
16152
|
+
var de = (se = R.slice(0, p).reverse().find(function(xe) {
|
|
16153
16153
|
return xe.depth === L;
|
|
16154
|
-
})) == null ? void 0 :
|
|
16154
|
+
})) == null ? void 0 : se.parentId;
|
|
16155
16155
|
return de ?? null;
|
|
16156
16156
|
}
|
|
16157
16157
|
}
|
|
@@ -16350,7 +16350,7 @@ function uR(e) {
|
|
|
16350
16350
|
var G = Z.id;
|
|
16351
16351
|
return G;
|
|
16352
16352
|
});
|
|
16353
|
-
}, [q]),
|
|
16353
|
+
}, [q]), oe = m ? q.find(function(Z) {
|
|
16354
16354
|
var G = Z.id;
|
|
16355
16355
|
return G === m;
|
|
16356
16356
|
}) : null;
|
|
@@ -16360,17 +16360,17 @@ function uR(e) {
|
|
|
16360
16360
|
offset: x
|
|
16361
16361
|
};
|
|
16362
16362
|
}, [q, x]);
|
|
16363
|
-
var
|
|
16364
|
-
|
|
16363
|
+
var se = Ae(t);
|
|
16364
|
+
se.current = t;
|
|
16365
16365
|
var de = Fe(function(Z) {
|
|
16366
|
-
var G = Bs(
|
|
16367
|
-
s(f0(
|
|
16366
|
+
var G = Bs(se.current, Z);
|
|
16367
|
+
s(f0(se.current, Z), {
|
|
16368
16368
|
type: "removed",
|
|
16369
16369
|
item: G
|
|
16370
16370
|
});
|
|
16371
16371
|
}, [s]), xe = Fe(function(G) {
|
|
16372
|
-
var he = Bs(
|
|
16373
|
-
s(d0(
|
|
16372
|
+
var he = Bs(se.current, G);
|
|
16373
|
+
s(d0(se.current, G, "collapsed", function(X) {
|
|
16374
16374
|
return !X;
|
|
16375
16375
|
}), {
|
|
16376
16376
|
type: he.collapsed ? "collapsed" : "expanded",
|
|
@@ -16440,15 +16440,15 @@ function uR(e) {
|
|
|
16440
16440
|
}));
|
|
16441
16441
|
}), di.createPortal(De.createElement(TO, {
|
|
16442
16442
|
dropAnimation: f === void 0 ? sR : f
|
|
16443
|
-
}, m &&
|
|
16444
|
-
item:
|
|
16443
|
+
}, m && oe ? De.createElement(u, Object.assign({}, w, {
|
|
16444
|
+
item: oe,
|
|
16445
16445
|
children: [],
|
|
16446
|
-
depth:
|
|
16446
|
+
depth: oe.depth,
|
|
16447
16447
|
clone: !0,
|
|
16448
16448
|
childCount: ZO(t, m) + 1,
|
|
16449
16449
|
indentationWidth: o,
|
|
16450
16450
|
isLast: !1,
|
|
16451
|
-
parent:
|
|
16451
|
+
parent: oe.parent,
|
|
16452
16452
|
isOver: !1,
|
|
16453
16453
|
isOverParent: !1
|
|
16454
16454
|
})) : null), document.body)));
|
|
@@ -18392,12 +18392,12 @@ function wR() {
|
|
|
18392
18392
|
var re = C(), ee = T(i);
|
|
18393
18393
|
if (ee) {
|
|
18394
18394
|
if (Q(), !T(o)) return x("property missing ':'");
|
|
18395
|
-
var ge = T(s),
|
|
18395
|
+
var ge = T(s), oe = re({
|
|
18396
18396
|
type: E,
|
|
18397
18397
|
property: w(ee[0].replace(e, h)),
|
|
18398
18398
|
value: ge ? w(ge[0].replace(e, h)) : h
|
|
18399
18399
|
});
|
|
18400
|
-
return T(u),
|
|
18400
|
+
return T(u), oe;
|
|
18401
18401
|
}
|
|
18402
18402
|
}
|
|
18403
18403
|
function ce() {
|
|
@@ -20631,15 +20631,15 @@ const {
|
|
|
20631
20631
|
upstreamUpdateCallbacks: w
|
|
20632
20632
|
}) => {
|
|
20633
20633
|
const A = [];
|
|
20634
|
-
t && (A.push({ deprecatedProperty: "dataFetchMethod", newProperty: "rjBuildFetchMethod" }), g = t), r && (A.push({ deprecatedProperty: "dataUrl", newProperty: "rjBuildUrl" }), E = r), d && (A.push({ deprecatedProperty: "headersForData", newProperty: "headersForRjBuild" }), c = d), f && (A.push({ deprecatedProperty: "maybeRawAppData", newProperty: "maybeRawAppRjBuild" }), p = f), A.length > 0 && console.warn("A ReactiveJsonRoot component got the following deprecated properties that must be replaced: " + A.map((
|
|
20635
|
-
const [m, O] = Pc((
|
|
20636
|
-
switch (
|
|
20634
|
+
t && (A.push({ deprecatedProperty: "dataFetchMethod", newProperty: "rjBuildFetchMethod" }), g = t), r && (A.push({ deprecatedProperty: "dataUrl", newProperty: "rjBuildUrl" }), E = r), d && (A.push({ deprecatedProperty: "headersForData", newProperty: "headersForRjBuild" }), c = d), f && (A.push({ deprecatedProperty: "maybeRawAppData", newProperty: "maybeRawAppRjBuild" }), p = f), A.length > 0 && console.warn("A ReactiveJsonRoot component got the following deprecated properties that must be replaced: " + A.map((oe) => oe.deprecatedProperty + " -> " + oe.newProperty).join(", "));
|
|
20635
|
+
const [m, O] = Pc((oe, se) => {
|
|
20636
|
+
switch (se.type) {
|
|
20637
20637
|
case "setData":
|
|
20638
|
-
return { updateId: 0, realCurrentData:
|
|
20638
|
+
return { updateId: 0, realCurrentData: se.data };
|
|
20639
20639
|
case "updateData":
|
|
20640
|
-
return ce(
|
|
20640
|
+
return ce(oe, se.path, se.value, se.updateMode);
|
|
20641
20641
|
default:
|
|
20642
|
-
return
|
|
20642
|
+
return oe;
|
|
20643
20643
|
}
|
|
20644
20644
|
}, { updateId: 0, realCurrentData: {} }), [P, R] = tt({}), [C, y] = tt({}), [x, T] = tt([]), [L, W] = tt(() => {
|
|
20645
20645
|
if (p)
|
|
@@ -20651,37 +20651,37 @@ const {
|
|
|
20651
20651
|
{
|
|
20652
20652
|
headers: c
|
|
20653
20653
|
}
|
|
20654
|
-
).then((
|
|
20655
|
-
W(
|
|
20654
|
+
).then((oe) => {
|
|
20655
|
+
W(oe.data);
|
|
20656
20656
|
}) : St.get(
|
|
20657
20657
|
E,
|
|
20658
20658
|
{
|
|
20659
20659
|
headers: c
|
|
20660
20660
|
}
|
|
20661
|
-
).then((
|
|
20662
|
-
W(
|
|
20661
|
+
).then((oe) => {
|
|
20662
|
+
W(oe.data);
|
|
20663
20663
|
}));
|
|
20664
20664
|
}, [E, c]), ke(() => {
|
|
20665
20665
|
if (!L)
|
|
20666
20666
|
return;
|
|
20667
|
-
let
|
|
20668
|
-
if (!(
|
|
20667
|
+
let oe = tC(L);
|
|
20668
|
+
if (!(oe != null && oe.renderView)) {
|
|
20669
20669
|
console.log("Tried to load app data but the content could not be parsed as JSON nor YAML.");
|
|
20670
20670
|
return;
|
|
20671
20671
|
}
|
|
20672
|
-
R(
|
|
20673
|
-
let
|
|
20674
|
-
const de =
|
|
20672
|
+
R(oe.templates ?? oe.listForms), !oe.templates && oe.listForms && console.log("'listForms' needs to be renamed to 'templates'. The support for 'listForms' will be removed in the next releases of reactive-json.");
|
|
20673
|
+
let se = e === void 0 ? oe.data : e;
|
|
20674
|
+
const de = oe.additionalDataSource;
|
|
20675
20675
|
if (!Array.isArray(de) || de.length === 0) {
|
|
20676
|
-
O({ type: "setData", data:
|
|
20676
|
+
O({ type: "setData", data: se }), y(oe.renderView), T(Object.keys(oe.renderView));
|
|
20677
20677
|
return;
|
|
20678
20678
|
}
|
|
20679
20679
|
const xe = {
|
|
20680
|
-
templateData:
|
|
20680
|
+
templateData: se,
|
|
20681
20681
|
templatePath: "data",
|
|
20682
20682
|
headersForRjBuild: c
|
|
20683
20683
|
}, K = {
|
|
20684
|
-
templateData:
|
|
20684
|
+
templateData: se,
|
|
20685
20685
|
templatePath: "data"
|
|
20686
20686
|
}, J = de.filter((z) => z.blocking === !0), me = de.filter((z) => z.blocking !== !0), B = async (z, ue) => {
|
|
20687
20687
|
var ye;
|
|
@@ -20734,14 +20734,14 @@ const {
|
|
|
20734
20734
|
console.error("Error fetching additional data source:", z.src, fe);
|
|
20735
20735
|
}
|
|
20736
20736
|
};
|
|
20737
|
-
O({ type: "setData", data:
|
|
20737
|
+
O({ type: "setData", data: se }), (async () => {
|
|
20738
20738
|
if (J.length > 0) {
|
|
20739
20739
|
const z = J.map((ue, ye) => B(ue, ye));
|
|
20740
20740
|
await Promise.allSettled(z).catch((ue) => {
|
|
20741
20741
|
console.error("Error processing blocking additionalDataSource:", ue);
|
|
20742
20742
|
});
|
|
20743
20743
|
}
|
|
20744
|
-
if (y(
|
|
20744
|
+
if (y(oe.renderView), T(Object.keys(oe.renderView)), me.length > 0) {
|
|
20745
20745
|
const z = me.map(
|
|
20746
20746
|
(ue, ye) => B(ue, J.length + ye)
|
|
20747
20747
|
);
|
|
@@ -20749,14 +20749,14 @@ const {
|
|
|
20749
20749
|
}
|
|
20750
20750
|
})();
|
|
20751
20751
|
}, [L, e, c]);
|
|
20752
|
-
const Q = (
|
|
20753
|
-
let xe =
|
|
20752
|
+
const Q = (oe, se, de = void 0) => {
|
|
20753
|
+
let xe = se.replace("data.", "");
|
|
20754
20754
|
if (w && w.size > 0) {
|
|
20755
20755
|
for (const [K, J] of w)
|
|
20756
20756
|
if (xe === K || xe.startsWith(K + ".") || K === "") {
|
|
20757
20757
|
const me = K === "" ? xe : xe.substring(K.length + 1);
|
|
20758
20758
|
try {
|
|
20759
|
-
J(
|
|
20759
|
+
J(oe, me, de);
|
|
20760
20760
|
return;
|
|
20761
20761
|
} catch (B) {
|
|
20762
20762
|
console.warn("Error during upstream update:", B);
|
|
@@ -20767,18 +20767,19 @@ const {
|
|
|
20767
20767
|
O({
|
|
20768
20768
|
type: "updateData",
|
|
20769
20769
|
path: xe,
|
|
20770
|
-
value:
|
|
20770
|
+
value: oe,
|
|
20771
20771
|
updateMode: de
|
|
20772
20772
|
});
|
|
20773
|
-
}, q = (
|
|
20773
|
+
}, q = (oe) => {
|
|
20774
20774
|
O({
|
|
20775
20775
|
type: "setData",
|
|
20776
|
-
data:
|
|
20776
|
+
data: oe
|
|
20777
20777
|
});
|
|
20778
20778
|
};
|
|
20779
|
-
function ce(
|
|
20780
|
-
const K =
|
|
20781
|
-
|
|
20779
|
+
function ce(oe, se, de, xe = void 0) {
|
|
20780
|
+
const K = se.split(".");
|
|
20781
|
+
(typeof oe.realCurrentData != "object" || oe.realCurrentData === null || Array.isArray(oe.realCurrentData)) && (oe.realCurrentData = {});
|
|
20782
|
+
let J = oe.realCurrentData;
|
|
20782
20783
|
for (let me = 0, B = K.length; me < B; me++) {
|
|
20783
20784
|
const j = K[me];
|
|
20784
20785
|
if (me === B - 1) {
|
|
@@ -20787,27 +20788,27 @@ const {
|
|
|
20787
20788
|
else if (xe === "move")
|
|
20788
20789
|
if (de.increment) {
|
|
20789
20790
|
if (!Array.isArray(J))
|
|
20790
|
-
return
|
|
20791
|
+
return oe;
|
|
20791
20792
|
const z = Math.min(J.length, Math.max(0, parseInt(j) + parseInt(de.increment)));
|
|
20792
20793
|
if (z === parseInt(j))
|
|
20793
|
-
return
|
|
20794
|
+
return oe;
|
|
20794
20795
|
const ue = J.splice(j, 1);
|
|
20795
20796
|
if (ue.length < 1)
|
|
20796
|
-
return
|
|
20797
|
+
return oe;
|
|
20797
20798
|
J.splice(z, 0, ue[0]);
|
|
20798
20799
|
} else
|
|
20799
|
-
return
|
|
20800
|
+
return oe;
|
|
20800
20801
|
else if (de === void 0)
|
|
20801
20802
|
delete J[j];
|
|
20802
20803
|
else {
|
|
20803
20804
|
if (Vr.isEqual(de, J[j]))
|
|
20804
|
-
return
|
|
20805
|
+
return oe;
|
|
20805
20806
|
xe === "add" ? (J[j] === void 0 && (J[j] = []), J[j].push(de)) : J[j] = de;
|
|
20806
20807
|
}
|
|
20807
20808
|
return {
|
|
20808
20809
|
// Using modulo in case of massive update counts in long frontend sessions.
|
|
20809
|
-
updateId: (
|
|
20810
|
-
realCurrentData:
|
|
20810
|
+
updateId: (oe.updateId ?? 0) % (Number.MAX_SAFE_INTEGER - 1) + 1,
|
|
20811
|
+
realCurrentData: oe.realCurrentData
|
|
20811
20812
|
};
|
|
20812
20813
|
}
|
|
20813
20814
|
if (J.hasOwnProperty(j)) {
|
|
@@ -20820,17 +20821,17 @@ const {
|
|
|
20820
20821
|
}
|
|
20821
20822
|
if (!L)
|
|
20822
20823
|
return null;
|
|
20823
|
-
const re = x.map((
|
|
20824
|
-
var
|
|
20824
|
+
const re = x.map((oe) => {
|
|
20825
|
+
var se;
|
|
20825
20826
|
return /* @__PURE__ */ M(
|
|
20826
20827
|
st,
|
|
20827
20828
|
{
|
|
20828
|
-
datafield:
|
|
20829
|
-
props: C[
|
|
20830
|
-
path: "data." +
|
|
20831
|
-
currentData: (
|
|
20829
|
+
datafield: oe,
|
|
20830
|
+
props: C[oe],
|
|
20831
|
+
path: "data." + oe,
|
|
20832
|
+
currentData: (se = m.realCurrentData) == null ? void 0 : se[oe]
|
|
20832
20833
|
},
|
|
20833
|
-
|
|
20834
|
+
oe
|
|
20834
20835
|
);
|
|
20835
20836
|
}), ee = iC(i), ge = /* @__PURE__ */ M(eC, { children: /* @__PURE__ */ kt(
|
|
20836
20837
|
rC,
|