@entropic-bond/crud-panel 4.1.3 → 4.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -552,7 +552,7 @@ function hn(n, t = "-") {
|
|
|
552
552
|
}
|
|
553
553
|
class mn {
|
|
554
554
|
constructor() {
|
|
555
|
-
this._stages = {}, this._onProgress = new Le();
|
|
555
|
+
this._debug = !1, this._stages = {}, this._onProgress = new Le();
|
|
556
556
|
}
|
|
557
557
|
notifyBusy(t, s) {
|
|
558
558
|
this.pushStage({
|
|
@@ -568,11 +568,17 @@ class mn {
|
|
|
568
568
|
busy: s < 1,
|
|
569
569
|
overallProgress: s,
|
|
570
570
|
stages: this._stages
|
|
571
|
-
}), s >= 1 && (this._stages = {});
|
|
571
|
+
}), s >= 1 && (this._stages = {}), this.debug && console.log(`ProgressController ${t.name}: Progress: ${t.progress} Stages: ${t.total}`);
|
|
572
572
|
}
|
|
573
573
|
onProgress(t) {
|
|
574
574
|
return this._onProgress.subscribe(t);
|
|
575
575
|
}
|
|
576
|
+
set debug(t) {
|
|
577
|
+
this._debug = t;
|
|
578
|
+
}
|
|
579
|
+
get debug() {
|
|
580
|
+
return this._debug;
|
|
581
|
+
}
|
|
576
582
|
}
|
|
577
583
|
const re = class re {
|
|
578
584
|
constructor(t) {
|
|
@@ -825,9 +831,9 @@ function vn() {
|
|
|
825
831
|
if (R === 1)
|
|
826
832
|
_.children = v;
|
|
827
833
|
else if (1 < R) {
|
|
828
|
-
for (var
|
|
829
|
-
|
|
830
|
-
_.children =
|
|
834
|
+
for (var P = Array(R), $ = 0; $ < R; $++)
|
|
835
|
+
P[$] = arguments[$ + 2];
|
|
836
|
+
_.children = P;
|
|
831
837
|
}
|
|
832
838
|
if (o && o.defaultProps)
|
|
833
839
|
for (E in R = o.defaultProps, R)
|
|
@@ -876,12 +882,12 @@ function vn() {
|
|
|
876
882
|
if (k = 0, E = E === "" ? "." : E + ":", G(o))
|
|
877
883
|
for (var R = 0; R < o.length; R++) {
|
|
878
884
|
C = o[R];
|
|
879
|
-
var
|
|
880
|
-
k += se(C, f, v,
|
|
885
|
+
var P = E + me(C, R);
|
|
886
|
+
k += se(C, f, v, P, _);
|
|
881
887
|
}
|
|
882
|
-
else if (
|
|
883
|
-
for (o =
|
|
884
|
-
C = C.value,
|
|
888
|
+
else if (P = Z(o), typeof P == "function")
|
|
889
|
+
for (o = P.call(o), R = 0; !(C = o.next()).done; )
|
|
890
|
+
C = C.value, P = E + me(C, R++), k += se(C, f, v, P, _);
|
|
885
891
|
else if (C === "object")
|
|
886
892
|
throw f = String(o), Error("Objects are not valid as a React child (found: " + (f === "[object Object]" ? "object with keys {" + Object.keys(o).join(", ") + "}" : f) + "). If you meant to render a collection of children, use an array instead.");
|
|
887
893
|
return k;
|
|
@@ -907,7 +913,7 @@ function vn() {
|
|
|
907
913
|
return o._result.default;
|
|
908
914
|
throw o._result;
|
|
909
915
|
}
|
|
910
|
-
var h = { current: null }, te = { transition: null },
|
|
916
|
+
var h = { current: null }, te = { transition: null }, Pe = { ReactCurrentDispatcher: h, ReactCurrentBatchConfig: te, ReactCurrentOwner: L };
|
|
911
917
|
return g.Children = { map: Y, forEach: function(o, f, v) {
|
|
912
918
|
Y(o, function() {
|
|
913
919
|
f.apply(this, arguments);
|
|
@@ -925,22 +931,22 @@ function vn() {
|
|
|
925
931
|
if (!he(o))
|
|
926
932
|
throw Error("React.Children.only expected to receive a single React element child.");
|
|
927
933
|
return o;
|
|
928
|
-
} }, g.Component = K, g.Fragment = s, g.Profiler = l, g.PureComponent = oe, g.StrictMode = c, g.Suspense = V, g.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED =
|
|
934
|
+
} }, g.Component = K, g.Fragment = s, g.Profiler = l, g.PureComponent = oe, g.StrictMode = c, g.Suspense = V, g.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = Pe, g.cloneElement = function(o, f, v) {
|
|
929
935
|
if (o == null)
|
|
930
936
|
throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + o + ".");
|
|
931
937
|
var E = q({}, o.props), _ = o.key, C = o.ref, k = o._owner;
|
|
932
938
|
if (f != null) {
|
|
933
939
|
if (f.ref !== void 0 && (C = f.ref, k = L.current), f.key !== void 0 && (_ = "" + f.key), o.type && o.type.defaultProps)
|
|
934
940
|
var R = o.type.defaultProps;
|
|
935
|
-
for (
|
|
936
|
-
A.call(f,
|
|
941
|
+
for (P in f)
|
|
942
|
+
A.call(f, P) && !J.hasOwnProperty(P) && (E[P] = f[P] === void 0 && R !== void 0 ? R[P] : f[P]);
|
|
937
943
|
}
|
|
938
|
-
var
|
|
939
|
-
if (
|
|
944
|
+
var P = arguments.length - 2;
|
|
945
|
+
if (P === 1)
|
|
940
946
|
E.children = v;
|
|
941
|
-
else if (1 <
|
|
942
|
-
R = Array(
|
|
943
|
-
for (var $ = 0; $ <
|
|
947
|
+
else if (1 < P) {
|
|
948
|
+
R = Array(P);
|
|
949
|
+
for (var $ = 0; $ < P; $++)
|
|
944
950
|
R[$] = arguments[$ + 2];
|
|
945
951
|
E.children = R;
|
|
946
952
|
}
|
|
@@ -1083,13 +1089,13 @@ function gn() {
|
|
|
1083
1089
|
p.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, p);
|
|
1084
1090
|
}
|
|
1085
1091
|
}
|
|
1086
|
-
var
|
|
1092
|
+
var Pe = {};
|
|
1087
1093
|
function o(e, r) {
|
|
1088
1094
|
{
|
|
1089
1095
|
var i = e.constructor, a = i && (i.displayName || i.name) || "ReactClass", u = a + "." + r;
|
|
1090
|
-
if (
|
|
1096
|
+
if (Pe[u])
|
|
1091
1097
|
return;
|
|
1092
|
-
h("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.", r, a),
|
|
1098
|
+
h("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.", r, a), Pe[u] = !0;
|
|
1093
1099
|
}
|
|
1094
1100
|
}
|
|
1095
1101
|
var f = {
|
|
@@ -1178,13 +1184,13 @@ function gn() {
|
|
|
1178
1184
|
for (var R in C)
|
|
1179
1185
|
C.hasOwnProperty(R) && k(R, C[R]);
|
|
1180
1186
|
}
|
|
1181
|
-
function
|
|
1187
|
+
function P() {
|
|
1182
1188
|
}
|
|
1183
|
-
|
|
1189
|
+
P.prototype = _.prototype;
|
|
1184
1190
|
function $(e, r, i) {
|
|
1185
1191
|
this.props = e, this.context = r, this.refs = E, this.updater = i || f;
|
|
1186
1192
|
}
|
|
1187
|
-
var Ue = $.prototype = new
|
|
1193
|
+
var Ue = $.prototype = new P();
|
|
1188
1194
|
Ue.constructor = $, v(Ue, _.prototype), Ue.isPureReactComponent = !0;
|
|
1189
1195
|
function Ht() {
|
|
1190
1196
|
var e = {
|
|
@@ -1193,7 +1199,7 @@ function gn() {
|
|
|
1193
1199
|
return Object.seal(e), e;
|
|
1194
1200
|
}
|
|
1195
1201
|
var Bt = Array.isArray;
|
|
1196
|
-
function
|
|
1202
|
+
function Se(e) {
|
|
1197
1203
|
return Bt(e);
|
|
1198
1204
|
}
|
|
1199
1205
|
function zt(e) {
|
|
@@ -1358,9 +1364,9 @@ function gn() {
|
|
|
1358
1364
|
if (w === 1)
|
|
1359
1365
|
u.children = i;
|
|
1360
1366
|
else if (w > 1) {
|
|
1361
|
-
for (var
|
|
1362
|
-
|
|
1363
|
-
Object.freeze && Object.freeze(
|
|
1367
|
+
for (var S = Array(w), O = 0; O < w; O++)
|
|
1368
|
+
S[O] = arguments[O + 2];
|
|
1369
|
+
Object.freeze && Object.freeze(S), u.children = S;
|
|
1364
1370
|
}
|
|
1365
1371
|
if (e && e.defaultProps) {
|
|
1366
1372
|
var T = e.defaultProps;
|
|
@@ -1383,10 +1389,10 @@ function gn() {
|
|
|
1383
1389
|
var a, u = v({}, e.props), p = e.key, d = e.ref, m = e._self, b = e._source, w = e._owner;
|
|
1384
1390
|
if (r != null) {
|
|
1385
1391
|
st(r) && (d = r.ref, w = L.current), at(r) && (Oe(r.key), p = "" + r.key);
|
|
1386
|
-
var
|
|
1387
|
-
e.type && e.type.defaultProps && (
|
|
1392
|
+
var S;
|
|
1393
|
+
e.type && e.type.defaultProps && (S = e.type.defaultProps);
|
|
1388
1394
|
for (a in r)
|
|
1389
|
-
ye.call(r, a) && !nt.hasOwnProperty(a) && (r[a] === void 0 &&
|
|
1395
|
+
ye.call(r, a) && !nt.hasOwnProperty(a) && (r[a] === void 0 && S !== void 0 ? u[a] = S[a] : u[a] = r[a]);
|
|
1390
1396
|
}
|
|
1391
1397
|
var O = arguments.length - 2;
|
|
1392
1398
|
if (O === 1)
|
|
@@ -1439,9 +1445,9 @@ function gn() {
|
|
|
1439
1445
|
}
|
|
1440
1446
|
if (d) {
|
|
1441
1447
|
var m = e, b = u(m), w = a === "" ? ut + Ye(m, 0) : a;
|
|
1442
|
-
if (
|
|
1443
|
-
var
|
|
1444
|
-
w != null && (
|
|
1448
|
+
if (Se(b)) {
|
|
1449
|
+
var S = "";
|
|
1450
|
+
w != null && (S = lt(w) + "/"), De(b, r, S, "", function(Jr) {
|
|
1445
1451
|
return Jr;
|
|
1446
1452
|
});
|
|
1447
1453
|
} else
|
|
@@ -1459,7 +1465,7 @@ function gn() {
|
|
|
1459
1465
|
return 1;
|
|
1460
1466
|
}
|
|
1461
1467
|
var O, T, j = 0, I = a === "" ? ut : a + tr;
|
|
1462
|
-
if (
|
|
1468
|
+
if (Se(e))
|
|
1463
1469
|
for (var $e = 0; $e < e.length; $e++)
|
|
1464
1470
|
O = e[$e], T = I + Ye(O, $e), j += De(O, r, i, T, u);
|
|
1465
1471
|
else {
|
|
@@ -1767,11 +1773,11 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
|
1767
1773
|
return i.useDebugValue(e, r);
|
|
1768
1774
|
}
|
|
1769
1775
|
}
|
|
1770
|
-
function
|
|
1776
|
+
function Pr() {
|
|
1771
1777
|
var e = M();
|
|
1772
1778
|
return e.useTransition();
|
|
1773
1779
|
}
|
|
1774
|
-
function
|
|
1780
|
+
function Sr(e) {
|
|
1775
1781
|
var r = M();
|
|
1776
1782
|
return r.useDeferredValue(e);
|
|
1777
1783
|
}
|
|
@@ -1914,18 +1920,18 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
|
1914
1920
|
if (I && a && typeof I.stack == "string") {
|
|
1915
1921
|
for (var m = I.stack.split(`
|
|
1916
1922
|
`), b = a.stack.split(`
|
|
1917
|
-
`), w = m.length - 1,
|
|
1918
|
-
|
|
1919
|
-
for (; w >= 1 &&
|
|
1920
|
-
if (m[w] !== b[
|
|
1921
|
-
if (w !== 1 ||
|
|
1923
|
+
`), w = m.length - 1, S = b.length - 1; w >= 1 && S >= 0 && m[w] !== b[S]; )
|
|
1924
|
+
S--;
|
|
1925
|
+
for (; w >= 1 && S >= 0; w--, S--)
|
|
1926
|
+
if (m[w] !== b[S]) {
|
|
1927
|
+
if (w !== 1 || S !== 1)
|
|
1922
1928
|
do
|
|
1923
|
-
if (w--,
|
|
1929
|
+
if (w--, S--, S < 0 || m[w] !== b[S]) {
|
|
1924
1930
|
var O = `
|
|
1925
1931
|
` + m[w].replace(" at new ", " at ");
|
|
1926
1932
|
return e.displayName && O.includes("<anonymous>") && (O = O.replace("<anonymous>", e.displayName)), typeof e == "function" && je.set(e, O), O;
|
|
1927
1933
|
}
|
|
1928
|
-
while (w >= 1 &&
|
|
1934
|
+
while (w >= 1 && S >= 0);
|
|
1929
1935
|
break;
|
|
1930
1936
|
}
|
|
1931
1937
|
}
|
|
@@ -2007,7 +2013,7 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
|
2007
2013
|
}
|
|
2008
2014
|
var Ke;
|
|
2009
2015
|
Ke = !1;
|
|
2010
|
-
function
|
|
2016
|
+
function Pt() {
|
|
2011
2017
|
if (L.current) {
|
|
2012
2018
|
var e = X(L.current.type);
|
|
2013
2019
|
if (e)
|
|
@@ -2029,9 +2035,9 @@ Check your code at ` + r + ":" + i + ".";
|
|
|
2029
2035
|
function $r(e) {
|
|
2030
2036
|
return e != null ? Fr(e.__source) : "";
|
|
2031
2037
|
}
|
|
2032
|
-
var
|
|
2038
|
+
var St = {};
|
|
2033
2039
|
function Mr(e) {
|
|
2034
|
-
var r =
|
|
2040
|
+
var r = Pt();
|
|
2035
2041
|
if (!r) {
|
|
2036
2042
|
var i = typeof e == "string" ? e : e.displayName || e.name;
|
|
2037
2043
|
i && (r = `
|
|
@@ -2044,8 +2050,8 @@ Check the top-level render call using <` + i + ">.");
|
|
|
2044
2050
|
if (!(!e._store || e._store.validated || e.key != null)) {
|
|
2045
2051
|
e._store.validated = !0;
|
|
2046
2052
|
var i = Mr(r);
|
|
2047
|
-
if (!
|
|
2048
|
-
|
|
2053
|
+
if (!St[i]) {
|
|
2054
|
+
St[i] = !0;
|
|
2049
2055
|
var a = "";
|
|
2050
2056
|
e && e._owner && e._owner !== L.current && (a = " It was passed a child from " + X(e._owner.type) + "."), ue(e), h('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', i, a), ue(null);
|
|
2051
2057
|
}
|
|
@@ -2053,7 +2059,7 @@ Check the top-level render call using <` + i + ">.");
|
|
|
2053
2059
|
}
|
|
2054
2060
|
function Dt(e, r) {
|
|
2055
2061
|
if (typeof e == "object") {
|
|
2056
|
-
if (
|
|
2062
|
+
if (Se(e))
|
|
2057
2063
|
for (var i = 0; i < e.length; i++) {
|
|
2058
2064
|
var a = e[i];
|
|
2059
2065
|
ae(a) && Ot(a, r);
|
|
@@ -2111,9 +2117,9 @@ Check the top-level render call using <` + i + ">.");
|
|
|
2111
2117
|
var u = "";
|
|
2112
2118
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (u += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
2113
2119
|
var p = $r(r);
|
|
2114
|
-
p ? u += p : u +=
|
|
2120
|
+
p ? u += p : u += Pt();
|
|
2115
2121
|
var d;
|
|
2116
|
-
e === null ? d = "null" :
|
|
2122
|
+
e === null ? d = "null" : Se(e) ? d = "array" : e !== void 0 && e.$$typeof === c ? (d = "<" + (X(e.type) || "Unknown") + " />", u = " Did you accidentally export a JSX literal instead of a component?") : d = typeof e, h("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", d, u);
|
|
2117
2123
|
}
|
|
2118
2124
|
var m = Xt.apply(this, arguments);
|
|
2119
2125
|
if (m == null)
|
|
@@ -2204,12 +2210,12 @@ Check the top-level render call using <` + i + ">.");
|
|
|
2204
2210
|
if (Fe(r), ce === 0) {
|
|
2205
2211
|
var w = A.current;
|
|
2206
2212
|
w !== null && (Qe(w), A.current = null);
|
|
2207
|
-
var
|
|
2213
|
+
var S = {
|
|
2208
2214
|
then: function(T, j) {
|
|
2209
2215
|
A.current === null ? (A.current = [], Ge(b, T, j)) : T(b);
|
|
2210
2216
|
}
|
|
2211
2217
|
};
|
|
2212
|
-
return
|
|
2218
|
+
return S;
|
|
2213
2219
|
} else {
|
|
2214
2220
|
var O = {
|
|
2215
2221
|
then: function(T, j) {
|
|
@@ -2266,7 +2272,7 @@ Check the top-level render call using <` + i + ">.");
|
|
|
2266
2272
|
toArray: sr,
|
|
2267
2273
|
only: ar
|
|
2268
2274
|
};
|
|
2269
|
-
t.Children = qr, t.Component = _, t.Fragment = y, t.Profiler = F, t.PureComponent = $, t.StrictMode = D, t.Suspense = H, t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = Y, t.cloneElement = Br, t.createContext = ur, t.createElement = Hr, t.createFactory = zr, t.createRef = Ht, t.forwardRef = dr, t.isValidElement = ae, t.lazy = fr, t.memo = pr, t.startTransition = xr, t.unstable_act = Yr, t.useCallback = Er, t.useContext = hr, t.useDebugValue = Rr, t.useDeferredValue =
|
|
2275
|
+
t.Children = qr, t.Component = _, t.Fragment = y, t.Profiler = F, t.PureComponent = $, t.StrictMode = D, t.Suspense = H, t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = Y, t.cloneElement = Br, t.createContext = ur, t.createElement = Hr, t.createFactory = zr, t.createRef = Ht, t.forwardRef = dr, t.isValidElement = ae, t.lazy = fr, t.memo = pr, t.startTransition = xr, t.unstable_act = Yr, t.useCallback = Er, t.useContext = hr, t.useDebugValue = Rr, t.useDeferredValue = Sr, t.useEffect = gr, t.useId = Or, t.useImperativeHandle = Cr, t.useInsertionEffect = _r, t.useLayoutEffect = br, t.useMemo = wr, t.useReducer = yr, t.useRef = vr, t.useState = mr, t.useSyncExternalStore = Dr, t.useTransition = Pr, t.version = s, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
|
|
2270
2276
|
}();
|
|
2271
2277
|
}(_e, _e.exports)), _e.exports;
|
|
2272
2278
|
}
|