@applica-software-guru/react-admin 1.4.198 → 1.4.200
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/components/Layout/Header/Profile/buttons/StopImpersonateButton.d.ts.map +1 -1
- package/dist/components/Layout/Provider.d.ts.map +1 -1
- package/dist/hooks/index.d.ts +5 -5
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/react-admin.cjs.js +6 -6
- package/dist/react-admin.cjs.js.map +1 -1
- package/dist/react-admin.es.js +661 -647
- package/dist/react-admin.es.js.map +1 -1
- package/dist/react-admin.umd.js +34 -34
- package/dist/react-admin.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Layout/Header/Profile/buttons/StopImpersonateButton.tsx +2 -0
- package/src/components/Layout/Provider.tsx +10 -4
- package/src/dev/ErrorEventHandler.ts +2 -2
- package/src/hooks/index.ts +5 -5
package/dist/react-admin.es.js
CHANGED
|
@@ -1487,9 +1487,13 @@ const il = "$$material";
|
|
|
1487
1487
|
function We(e, t) {
|
|
1488
1488
|
if (e == null)
|
|
1489
1489
|
return {};
|
|
1490
|
-
var n = {}
|
|
1491
|
-
for (
|
|
1492
|
-
|
|
1490
|
+
var n = {};
|
|
1491
|
+
for (var r in e)
|
|
1492
|
+
if (Object.prototype.hasOwnProperty.call(e, r)) {
|
|
1493
|
+
if (t.indexOf(r) >= 0)
|
|
1494
|
+
continue;
|
|
1495
|
+
n[r] = e[r];
|
|
1496
|
+
}
|
|
1493
1497
|
return n;
|
|
1494
1498
|
}
|
|
1495
1499
|
/**
|
|
@@ -7774,434 +7778,115 @@ const Ms = () => {
|
|
|
7774
7778
|
return { isLoading: t, navigation: { items: s }, breadcrumbs: f };
|
|
7775
7779
|
}, [t, o, n, r, e]);
|
|
7776
7780
|
};
|
|
7777
|
-
|
|
7778
|
-
|
|
7779
|
-
|
|
7780
|
-
|
|
7781
|
-
|
|
7782
|
-
|
|
7783
|
-
|
|
7784
|
-
|
|
7785
|
-
|
|
7786
|
-
|
|
7787
|
-
|
|
7788
|
-
|
|
7789
|
-
|
|
7790
|
-
|
|
7791
|
-
|
|
7792
|
-
|
|
7793
|
-
|
|
7794
|
-
|
|
7795
|
-
|
|
7796
|
-
|
|
7797
|
-
|
|
7798
|
-
|
|
7799
|
-
|
|
7800
|
-
|
|
7801
|
-
return K === void 0;
|
|
7802
|
-
} }, T = "en", D = {};
|
|
7803
|
-
D[T] = P;
|
|
7804
|
-
var M = "$isDayjsObject", W = function(K) {
|
|
7805
|
-
return K instanceof re || !(!K || !K[M]);
|
|
7806
|
-
}, U = function K(q, N, G) {
|
|
7807
|
-
var k;
|
|
7808
|
-
if (!q)
|
|
7809
|
-
return T;
|
|
7810
|
-
if (typeof q == "string") {
|
|
7811
|
-
var J = q.toLowerCase();
|
|
7812
|
-
D[J] && (k = J), N && (D[J] = N, k = J);
|
|
7813
|
-
var L = q.split("-");
|
|
7814
|
-
if (!k && L.length > 1)
|
|
7815
|
-
return K(L[0]);
|
|
7816
|
-
} else {
|
|
7817
|
-
var Y = q.name;
|
|
7818
|
-
D[Y] = q, k = Y;
|
|
7781
|
+
function Gi(e) {
|
|
7782
|
+
this._maxSize = e, this.clear();
|
|
7783
|
+
}
|
|
7784
|
+
Gi.prototype.clear = function() {
|
|
7785
|
+
this._size = 0, this._values = /* @__PURE__ */ Object.create(null);
|
|
7786
|
+
};
|
|
7787
|
+
Gi.prototype.get = function(e) {
|
|
7788
|
+
return this._values[e];
|
|
7789
|
+
};
|
|
7790
|
+
Gi.prototype.set = function(e, t) {
|
|
7791
|
+
return this._size >= this._maxSize && this.clear(), e in this._values || this._size++, this._values[e] = t;
|
|
7792
|
+
};
|
|
7793
|
+
var p8 = /[^.^\]^[]+|(?=\[\]|\.\.)/g, eb = /^\d+$/, h8 = /^\d/, C8 = /[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g, m8 = /^\s*(['"]?)(.*?)(\1)\s*$/, Np = 512, $E = new Gi(Np), eI = new Gi(Np), tI = new Gi(Np), Fi = {
|
|
7794
|
+
Cache: Gi,
|
|
7795
|
+
split: Ef,
|
|
7796
|
+
normalizePath: vg,
|
|
7797
|
+
setter: function(e) {
|
|
7798
|
+
var t = vg(e);
|
|
7799
|
+
return eI.get(e) || eI.set(e, function(r, o) {
|
|
7800
|
+
for (var a = 0, s = t.length, c = r; a < s - 1; ) {
|
|
7801
|
+
var u = t[a];
|
|
7802
|
+
if (u === "__proto__" || u === "constructor" || u === "prototype")
|
|
7803
|
+
return r;
|
|
7804
|
+
c = c[t[a++]];
|
|
7819
7805
|
}
|
|
7820
|
-
|
|
7821
|
-
}
|
|
7822
|
-
|
|
7823
|
-
|
|
7824
|
-
|
|
7825
|
-
|
|
7826
|
-
|
|
7827
|
-
|
|
7828
|
-
|
|
7829
|
-
|
|
7830
|
-
|
|
7831
|
-
|
|
7832
|
-
|
|
7833
|
-
|
|
7834
|
-
|
|
7835
|
-
|
|
7836
|
-
|
|
7837
|
-
|
|
7838
|
-
|
|
7839
|
-
|
|
7840
|
-
|
|
7841
|
-
|
|
7842
|
-
|
|
7843
|
-
|
|
7844
|
-
|
|
7845
|
-
|
|
7846
|
-
|
|
7847
|
-
|
|
7848
|
-
|
|
7849
|
-
|
|
7850
|
-
|
|
7851
|
-
|
|
7852
|
-
|
|
7853
|
-
|
|
7854
|
-
|
|
7855
|
-
|
|
7856
|
-
|
|
7857
|
-
|
|
7858
|
-
|
|
7859
|
-
|
|
7860
|
-
|
|
7861
|
-
|
|
7862
|
-
|
|
7863
|
-
|
|
7864
|
-
|
|
7865
|
-
|
|
7866
|
-
|
|
7867
|
-
|
|
7868
|
-
|
|
7869
|
-
|
|
7870
|
-
|
|
7871
|
-
|
|
7872
|
-
|
|
7873
|
-
|
|
7874
|
-
|
|
7875
|
-
|
|
7876
|
-
|
|
7877
|
-
|
|
7878
|
-
|
|
7879
|
-
|
|
7880
|
-
|
|
7881
|
-
|
|
7882
|
-
|
|
7883
|
-
|
|
7884
|
-
|
|
7885
|
-
|
|
7886
|
-
|
|
7887
|
-
|
|
7888
|
-
|
|
7889
|
-
|
|
7890
|
-
|
|
7891
|
-
|
|
7892
|
-
|
|
7893
|
-
|
|
7894
|
-
|
|
7895
|
-
|
|
7896
|
-
|
|
7897
|
-
|
|
7898
|
-
|
|
7899
|
-
|
|
7900
|
-
|
|
7901
|
-
|
|
7902
|
-
}
|
|
7903
|
-
|
|
7904
|
-
if (J === p || J === m) {
|
|
7905
|
-
var de = this.clone().set(I, 1);
|
|
7906
|
-
de.$d[Y](ae), de.init(), this.$d = de.set(I, Math.min(this.$D, de.daysInMonth())).$d;
|
|
7907
|
-
} else
|
|
7908
|
-
Y && this.$d[Y](ae);
|
|
7909
|
-
return this.init(), this;
|
|
7910
|
-
}, q.set = function(N, G) {
|
|
7911
|
-
return this.clone().$set(N, G);
|
|
7912
|
-
}, q.get = function(N) {
|
|
7913
|
-
return this[z.p(N)]();
|
|
7914
|
-
}, q.add = function(N, G) {
|
|
7915
|
-
var k, J = this;
|
|
7916
|
-
N = Number(N);
|
|
7917
|
-
var L = z.p(G), Y = function(ce) {
|
|
7918
|
-
var ue = X(J);
|
|
7919
|
-
return z.w(ue.date(ue.date() + Math.round(ce * N)), J);
|
|
7920
|
-
};
|
|
7921
|
-
if (L === p)
|
|
7922
|
-
return this.set(p, this.$M + N);
|
|
7923
|
-
if (L === m)
|
|
7924
|
-
return this.set(m, this.$y + N);
|
|
7925
|
-
if (L === A)
|
|
7926
|
-
return Y(1);
|
|
7927
|
-
if (L === f)
|
|
7928
|
-
return Y(7);
|
|
7929
|
-
var ae = (k = {}, k[c] = r, k[u] = o, k[s] = n, k)[L] || 1, de = this.$d.getTime() + N * ae;
|
|
7930
|
-
return z.w(de, this);
|
|
7931
|
-
}, q.subtract = function(N, G) {
|
|
7932
|
-
return this.add(-1 * N, G);
|
|
7933
|
-
}, q.format = function(N) {
|
|
7934
|
-
var G = this, k = this.$locale();
|
|
7935
|
-
if (!this.isValid())
|
|
7936
|
-
return k.invalidDate || B;
|
|
7937
|
-
var J = N || "YYYY-MM-DDTHH:mm:ssZ", L = z.z(this), Y = this.$H, ae = this.$m, de = this.$M, ce = k.weekdays, ue = k.months, ge = k.meridiem, Ee = function(me, ye, se, $e) {
|
|
7938
|
-
return me && (me[ye] || me(G, J)) || se[ye].slice(0, $e);
|
|
7939
|
-
}, he = function(me) {
|
|
7940
|
-
return z.s(Y % 12 || 12, me, "0");
|
|
7941
|
-
}, fe = ge || function(me, ye, se) {
|
|
7942
|
-
var $e = me < 12 ? "AM" : "PM";
|
|
7943
|
-
return se ? $e.toLowerCase() : $e;
|
|
7944
|
-
};
|
|
7945
|
-
return J.replace(w, function(me, ye) {
|
|
7946
|
-
return ye || function(se) {
|
|
7947
|
-
switch (se) {
|
|
7948
|
-
case "YY":
|
|
7949
|
-
return String(G.$y).slice(-2);
|
|
7950
|
-
case "YYYY":
|
|
7951
|
-
return z.s(G.$y, 4, "0");
|
|
7952
|
-
case "M":
|
|
7953
|
-
return de + 1;
|
|
7954
|
-
case "MM":
|
|
7955
|
-
return z.s(de + 1, 2, "0");
|
|
7956
|
-
case "MMM":
|
|
7957
|
-
return Ee(k.monthsShort, de, ue, 3);
|
|
7958
|
-
case "MMMM":
|
|
7959
|
-
return Ee(ue, de);
|
|
7960
|
-
case "D":
|
|
7961
|
-
return G.$D;
|
|
7962
|
-
case "DD":
|
|
7963
|
-
return z.s(G.$D, 2, "0");
|
|
7964
|
-
case "d":
|
|
7965
|
-
return String(G.$W);
|
|
7966
|
-
case "dd":
|
|
7967
|
-
return Ee(k.weekdaysMin, G.$W, ce, 2);
|
|
7968
|
-
case "ddd":
|
|
7969
|
-
return Ee(k.weekdaysShort, G.$W, ce, 3);
|
|
7970
|
-
case "dddd":
|
|
7971
|
-
return ce[G.$W];
|
|
7972
|
-
case "H":
|
|
7973
|
-
return String(Y);
|
|
7974
|
-
case "HH":
|
|
7975
|
-
return z.s(Y, 2, "0");
|
|
7976
|
-
case "h":
|
|
7977
|
-
return he(1);
|
|
7978
|
-
case "hh":
|
|
7979
|
-
return he(2);
|
|
7980
|
-
case "a":
|
|
7981
|
-
return fe(Y, ae, !0);
|
|
7982
|
-
case "A":
|
|
7983
|
-
return fe(Y, ae, !1);
|
|
7984
|
-
case "m":
|
|
7985
|
-
return String(ae);
|
|
7986
|
-
case "mm":
|
|
7987
|
-
return z.s(ae, 2, "0");
|
|
7988
|
-
case "s":
|
|
7989
|
-
return String(G.$s);
|
|
7990
|
-
case "ss":
|
|
7991
|
-
return z.s(G.$s, 2, "0");
|
|
7992
|
-
case "SSS":
|
|
7993
|
-
return z.s(G.$ms, 3, "0");
|
|
7994
|
-
case "Z":
|
|
7995
|
-
return L;
|
|
7996
|
-
}
|
|
7997
|
-
return null;
|
|
7998
|
-
}(me) || L.replace(":", "");
|
|
7999
|
-
});
|
|
8000
|
-
}, q.utcOffset = function() {
|
|
8001
|
-
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
8002
|
-
}, q.diff = function(N, G, k) {
|
|
8003
|
-
var J, L = this, Y = z.p(G), ae = X(N), de = (ae.utcOffset() - this.utcOffset()) * r, ce = this - ae, ue = function() {
|
|
8004
|
-
return z.m(L, ae);
|
|
8005
|
-
};
|
|
8006
|
-
switch (Y) {
|
|
8007
|
-
case m:
|
|
8008
|
-
J = ue() / 12;
|
|
8009
|
-
break;
|
|
8010
|
-
case p:
|
|
8011
|
-
J = ue();
|
|
8012
|
-
break;
|
|
8013
|
-
case C:
|
|
8014
|
-
J = ue() / 3;
|
|
8015
|
-
break;
|
|
8016
|
-
case f:
|
|
8017
|
-
J = (ce - de) / 6048e5;
|
|
8018
|
-
break;
|
|
8019
|
-
case A:
|
|
8020
|
-
J = (ce - de) / 864e5;
|
|
8021
|
-
break;
|
|
8022
|
-
case u:
|
|
8023
|
-
J = ce / o;
|
|
8024
|
-
break;
|
|
8025
|
-
case c:
|
|
8026
|
-
J = ce / r;
|
|
8027
|
-
break;
|
|
8028
|
-
case s:
|
|
8029
|
-
J = ce / n;
|
|
8030
|
-
break;
|
|
8031
|
-
default:
|
|
8032
|
-
J = ce;
|
|
8033
|
-
}
|
|
8034
|
-
return k ? J : z.a(J);
|
|
8035
|
-
}, q.daysInMonth = function() {
|
|
8036
|
-
return this.endOf(p).$D;
|
|
8037
|
-
}, q.$locale = function() {
|
|
8038
|
-
return D[this.$L];
|
|
8039
|
-
}, q.locale = function(N, G) {
|
|
8040
|
-
if (!N)
|
|
8041
|
-
return this.$L;
|
|
8042
|
-
var k = this.clone(), J = U(N, G, !0);
|
|
8043
|
-
return J && (k.$L = J), k;
|
|
8044
|
-
}, q.clone = function() {
|
|
8045
|
-
return z.w(this.$d, this);
|
|
8046
|
-
}, q.toDate = function() {
|
|
8047
|
-
return new Date(this.valueOf());
|
|
8048
|
-
}, q.toJSON = function() {
|
|
8049
|
-
return this.isValid() ? this.toISOString() : null;
|
|
8050
|
-
}, q.toISOString = function() {
|
|
8051
|
-
return this.$d.toISOString();
|
|
8052
|
-
}, q.toString = function() {
|
|
8053
|
-
return this.$d.toUTCString();
|
|
8054
|
-
}, K;
|
|
8055
|
-
}(), oe = re.prototype;
|
|
8056
|
-
return X.prototype = oe, [["$ms", a], ["$s", s], ["$m", c], ["$H", u], ["$W", A], ["$M", p], ["$y", m], ["$D", I]].forEach(function(K) {
|
|
8057
|
-
oe[K[1]] = function(q) {
|
|
8058
|
-
return this.$g(q, K[0], K[1]);
|
|
8059
|
-
};
|
|
8060
|
-
}), X.extend = function(K, q) {
|
|
8061
|
-
return K.$i || (K(q, re, X), K.$i = !0), X;
|
|
8062
|
-
}, X.locale = U, X.isDayjs = W, X.unix = function(K) {
|
|
8063
|
-
return X(1e3 * K);
|
|
8064
|
-
}, X.en = D[T], X.Ls = D, X.p = {}, X;
|
|
8065
|
-
});
|
|
8066
|
-
})(eb);
|
|
8067
|
-
var tb = eb.exports;
|
|
8068
|
-
const Kr = /* @__PURE__ */ bo(tb), p8 = (e) => {
|
|
8069
|
-
const t = e.split(":");
|
|
8070
|
-
t.length === 1 && t.push("00");
|
|
8071
|
-
const n = parseInt(t[0]), r = parseInt(t[1]);
|
|
8072
|
-
return Kr().hour(n).minute(r);
|
|
8073
|
-
};
|
|
8074
|
-
function xte() {
|
|
8075
|
-
let e = (/* @__PURE__ */ new Date()).getTime();
|
|
8076
|
-
return window.performance && typeof window.performance.now == "function" && (e += performance.now()), "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(n) {
|
|
8077
|
-
const r = (e + Math.random() * 16) % 16 | 0;
|
|
8078
|
-
return e = Math.floor(e / 16), (n == "x" ? r : r & 3 | 8).toString(16);
|
|
8079
|
-
});
|
|
8080
|
-
}
|
|
8081
|
-
function nb(e = {}, t = [], n = {}) {
|
|
8082
|
-
const { isEmpty: r = _.isEmpty } = n;
|
|
8083
|
-
return !_.some(t, (o) => r((e ?? {})[o.locale]));
|
|
8084
|
-
}
|
|
8085
|
-
function rb(e, t, n) {
|
|
8086
|
-
if (!_.isPlainObject(e) || t === void 0)
|
|
8087
|
-
return;
|
|
8088
|
-
const r = _.isPlainObject(n) ? n : {}, o = !!((r == null ? void 0 : r.fallback) ?? !0);
|
|
8089
|
-
let a = e[String(t)];
|
|
8090
|
-
if (a === void 0 && o) {
|
|
8091
|
-
const s = _.isArray(r.fallbackLocales) && !_.isEmpty(r.fallbackLocales) ? r.fallbackLocales : ["en"];
|
|
8092
|
-
a = _.chain(s).map((c) => e[String(c)]).reject(_.isUndefined).first().value(), a === void 0 && (a = _.chain(e).values().first().value());
|
|
8093
|
-
}
|
|
8094
|
-
return a;
|
|
8095
|
-
}
|
|
8096
|
-
function Gi(e) {
|
|
8097
|
-
this._maxSize = e, this.clear();
|
|
8098
|
-
}
|
|
8099
|
-
Gi.prototype.clear = function() {
|
|
8100
|
-
this._size = 0, this._values = /* @__PURE__ */ Object.create(null);
|
|
8101
|
-
};
|
|
8102
|
-
Gi.prototype.get = function(e) {
|
|
8103
|
-
return this._values[e];
|
|
8104
|
-
};
|
|
8105
|
-
Gi.prototype.set = function(e, t) {
|
|
8106
|
-
return this._size >= this._maxSize && this.clear(), e in this._values || this._size++, this._values[e] = t;
|
|
8107
|
-
};
|
|
8108
|
-
var h8 = /[^.^\]^[]+|(?=\[\]|\.\.)/g, ob = /^\d+$/, C8 = /^\d/, m8 = /[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g, E8 = /^\s*(['"]?)(.*?)(\1)\s*$/, Np = 512, $E = new Gi(Np), eI = new Gi(Np), tI = new Gi(Np), Fi = {
|
|
8109
|
-
Cache: Gi,
|
|
8110
|
-
split: Ef,
|
|
8111
|
-
normalizePath: vg,
|
|
8112
|
-
setter: function(e) {
|
|
8113
|
-
var t = vg(e);
|
|
8114
|
-
return eI.get(e) || eI.set(e, function(r, o) {
|
|
8115
|
-
for (var a = 0, s = t.length, c = r; a < s - 1; ) {
|
|
8116
|
-
var u = t[a];
|
|
8117
|
-
if (u === "__proto__" || u === "constructor" || u === "prototype")
|
|
8118
|
-
return r;
|
|
8119
|
-
c = c[t[a++]];
|
|
8120
|
-
}
|
|
8121
|
-
c[t[a]] = o;
|
|
8122
|
-
});
|
|
8123
|
-
},
|
|
8124
|
-
getter: function(e, t) {
|
|
8125
|
-
var n = vg(e);
|
|
8126
|
-
return tI.get(e) || tI.set(e, function(o) {
|
|
8127
|
-
for (var a = 0, s = n.length; a < s; )
|
|
8128
|
-
if (o != null || !t)
|
|
8129
|
-
o = o[n[a++]];
|
|
8130
|
-
else
|
|
8131
|
-
return;
|
|
8132
|
-
return o;
|
|
8133
|
-
});
|
|
8134
|
-
},
|
|
8135
|
-
join: function(e) {
|
|
8136
|
-
return e.reduce(function(t, n) {
|
|
8137
|
-
return t + (jp(n) || ob.test(n) ? "[" + n + "]" : (t ? "." : "") + n);
|
|
8138
|
-
}, "");
|
|
8139
|
-
},
|
|
8140
|
-
forEach: function(e, t, n) {
|
|
8141
|
-
I8(Array.isArray(e) ? e : Ef(e), t, n);
|
|
8142
|
-
}
|
|
8143
|
-
};
|
|
8144
|
-
function vg(e) {
|
|
8145
|
-
return $E.get(e) || $E.set(
|
|
8146
|
-
e,
|
|
8147
|
-
Ef(e).map(function(t) {
|
|
8148
|
-
return t.replace(E8, "$2");
|
|
8149
|
-
})
|
|
8150
|
-
);
|
|
8151
|
-
}
|
|
8152
|
-
function Ef(e) {
|
|
8153
|
-
return e.match(h8) || [""];
|
|
8154
|
-
}
|
|
8155
|
-
function I8(e, t, n) {
|
|
8156
|
-
var r = e.length, o, a, s, c;
|
|
8157
|
-
for (a = 0; a < r; a++)
|
|
8158
|
-
o = e[a], o && (b8(o) && (o = '"' + o + '"'), c = jp(o), s = !c && /^\d+$/.test(o), t.call(n, o, c, s, a, e));
|
|
8159
|
-
}
|
|
8160
|
-
function jp(e) {
|
|
8161
|
-
return typeof e == "string" && e && ["'", '"'].indexOf(e.charAt(0)) !== -1;
|
|
8162
|
-
}
|
|
8163
|
-
function B8(e) {
|
|
8164
|
-
return e.match(C8) && !e.match(ob);
|
|
8165
|
-
}
|
|
8166
|
-
function v8(e) {
|
|
8167
|
-
return m8.test(e);
|
|
8168
|
-
}
|
|
8169
|
-
function b8(e) {
|
|
8170
|
-
return !jp(e) && (B8(e) || v8(e));
|
|
8171
|
-
}
|
|
8172
|
-
const y8 = /[A-Z\xc0-\xd6\xd8-\xde]?[a-z\xdf-\xf6\xf8-\xff]+(?:['’](?:d|ll|m|re|s|t|ve))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde]|$)|(?:[A-Z\xc0-\xd6\xd8-\xde]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['’](?:D|LL|M|RE|S|T|VE))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde](?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])|$)|[A-Z\xc0-\xd6\xd8-\xde]?(?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['’](?:d|ll|m|re|s|t|ve))?|[A-Z\xc0-\xd6\xd8-\xde]+(?:['’](?:D|LL|M|RE|S|T|VE))?|\d*(?:1ST|2ND|3RD|(?![123])\dTH)(?=\b|[a-z_])|\d*(?:1st|2nd|3rd|(?![123])\dth)(?=\b|[A-Z_])|\d+|(?:[\u2700-\u27bf]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?(?:\u200d(?:[^\ud800-\udfff]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?)*/g, CA = (e) => e.match(y8) || [], mA = (e) => e[0].toUpperCase() + e.slice(1), Vp = (e, t) => CA(e).join(t).toLowerCase(), ib = (e) => CA(e).reduce(
|
|
8173
|
-
(t, n) => `${t}${t ? n[0].toUpperCase() + n.slice(1).toLowerCase() : n.toLowerCase()}`,
|
|
8174
|
-
""
|
|
8175
|
-
), Q8 = (e) => mA(ib(e)), x8 = (e) => Vp(e, "_"), w8 = (e) => Vp(e, "-"), T8 = (e) => mA(Vp(e, " ")), S8 = (e) => CA(e).map(mA).join(" ");
|
|
8176
|
-
var bg = {
|
|
8177
|
-
words: CA,
|
|
8178
|
-
upperFirst: mA,
|
|
8179
|
-
camelCase: ib,
|
|
8180
|
-
pascalCase: Q8,
|
|
8181
|
-
snakeCase: x8,
|
|
8182
|
-
kebabCase: w8,
|
|
8183
|
-
sentenceCase: T8,
|
|
8184
|
-
titleCase: S8
|
|
8185
|
-
}, Hp = { exports: {} };
|
|
8186
|
-
Hp.exports = function(e) {
|
|
8187
|
-
return ab(P8(e), e);
|
|
8188
|
-
};
|
|
8189
|
-
Hp.exports.array = ab;
|
|
8190
|
-
function ab(e, t) {
|
|
8191
|
-
var n = e.length, r = new Array(n), o = {}, a = n, s = R8(t), c = O8(e);
|
|
8192
|
-
for (t.forEach(function(A) {
|
|
8193
|
-
if (!c.has(A[0]) || !c.has(A[1]))
|
|
8194
|
-
throw new Error("Unknown node. There is an unknown node in the supplied edges.");
|
|
8195
|
-
}); a--; )
|
|
8196
|
-
o[a] || u(e[a], a, /* @__PURE__ */ new Set());
|
|
8197
|
-
return r;
|
|
8198
|
-
function u(A, f, p) {
|
|
8199
|
-
if (p.has(A)) {
|
|
8200
|
-
var C;
|
|
8201
|
-
try {
|
|
8202
|
-
C = ", node was:" + JSON.stringify(A);
|
|
8203
|
-
} catch {
|
|
8204
|
-
C = "";
|
|
7806
|
+
c[t[a]] = o;
|
|
7807
|
+
});
|
|
7808
|
+
},
|
|
7809
|
+
getter: function(e, t) {
|
|
7810
|
+
var n = vg(e);
|
|
7811
|
+
return tI.get(e) || tI.set(e, function(o) {
|
|
7812
|
+
for (var a = 0, s = n.length; a < s; )
|
|
7813
|
+
if (o != null || !t)
|
|
7814
|
+
o = o[n[a++]];
|
|
7815
|
+
else
|
|
7816
|
+
return;
|
|
7817
|
+
return o;
|
|
7818
|
+
});
|
|
7819
|
+
},
|
|
7820
|
+
join: function(e) {
|
|
7821
|
+
return e.reduce(function(t, n) {
|
|
7822
|
+
return t + (jp(n) || eb.test(n) ? "[" + n + "]" : (t ? "." : "") + n);
|
|
7823
|
+
}, "");
|
|
7824
|
+
},
|
|
7825
|
+
forEach: function(e, t, n) {
|
|
7826
|
+
E8(Array.isArray(e) ? e : Ef(e), t, n);
|
|
7827
|
+
}
|
|
7828
|
+
};
|
|
7829
|
+
function vg(e) {
|
|
7830
|
+
return $E.get(e) || $E.set(
|
|
7831
|
+
e,
|
|
7832
|
+
Ef(e).map(function(t) {
|
|
7833
|
+
return t.replace(m8, "$2");
|
|
7834
|
+
})
|
|
7835
|
+
);
|
|
7836
|
+
}
|
|
7837
|
+
function Ef(e) {
|
|
7838
|
+
return e.match(p8) || [""];
|
|
7839
|
+
}
|
|
7840
|
+
function E8(e, t, n) {
|
|
7841
|
+
var r = e.length, o, a, s, c;
|
|
7842
|
+
for (a = 0; a < r; a++)
|
|
7843
|
+
o = e[a], o && (v8(o) && (o = '"' + o + '"'), c = jp(o), s = !c && /^\d+$/.test(o), t.call(n, o, c, s, a, e));
|
|
7844
|
+
}
|
|
7845
|
+
function jp(e) {
|
|
7846
|
+
return typeof e == "string" && e && ["'", '"'].indexOf(e.charAt(0)) !== -1;
|
|
7847
|
+
}
|
|
7848
|
+
function I8(e) {
|
|
7849
|
+
return e.match(h8) && !e.match(eb);
|
|
7850
|
+
}
|
|
7851
|
+
function B8(e) {
|
|
7852
|
+
return C8.test(e);
|
|
7853
|
+
}
|
|
7854
|
+
function v8(e) {
|
|
7855
|
+
return !jp(e) && (I8(e) || B8(e));
|
|
7856
|
+
}
|
|
7857
|
+
const b8 = /[A-Z\xc0-\xd6\xd8-\xde]?[a-z\xdf-\xf6\xf8-\xff]+(?:['’](?:d|ll|m|re|s|t|ve))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde]|$)|(?:[A-Z\xc0-\xd6\xd8-\xde]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['’](?:D|LL|M|RE|S|T|VE))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde](?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])|$)|[A-Z\xc0-\xd6\xd8-\xde]?(?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['’](?:d|ll|m|re|s|t|ve))?|[A-Z\xc0-\xd6\xd8-\xde]+(?:['’](?:D|LL|M|RE|S|T|VE))?|\d*(?:1ST|2ND|3RD|(?![123])\dTH)(?=\b|[a-z_])|\d*(?:1st|2nd|3rd|(?![123])\dth)(?=\b|[A-Z_])|\d+|(?:[\u2700-\u27bf]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?(?:\u200d(?:[^\ud800-\udfff]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?)*/g, CA = (e) => e.match(b8) || [], mA = (e) => e[0].toUpperCase() + e.slice(1), Vp = (e, t) => CA(e).join(t).toLowerCase(), tb = (e) => CA(e).reduce(
|
|
7858
|
+
(t, n) => `${t}${t ? n[0].toUpperCase() + n.slice(1).toLowerCase() : n.toLowerCase()}`,
|
|
7859
|
+
""
|
|
7860
|
+
), y8 = (e) => mA(tb(e)), Q8 = (e) => Vp(e, "_"), x8 = (e) => Vp(e, "-"), w8 = (e) => mA(Vp(e, " ")), T8 = (e) => CA(e).map(mA).join(" ");
|
|
7861
|
+
var bg = {
|
|
7862
|
+
words: CA,
|
|
7863
|
+
upperFirst: mA,
|
|
7864
|
+
camelCase: tb,
|
|
7865
|
+
pascalCase: y8,
|
|
7866
|
+
snakeCase: Q8,
|
|
7867
|
+
kebabCase: x8,
|
|
7868
|
+
sentenceCase: w8,
|
|
7869
|
+
titleCase: T8
|
|
7870
|
+
}, Hp = { exports: {} };
|
|
7871
|
+
Hp.exports = function(e) {
|
|
7872
|
+
return nb(S8(e), e);
|
|
7873
|
+
};
|
|
7874
|
+
Hp.exports.array = nb;
|
|
7875
|
+
function nb(e, t) {
|
|
7876
|
+
var n = e.length, r = new Array(n), o = {}, a = n, s = P8(t), c = R8(e);
|
|
7877
|
+
for (t.forEach(function(A) {
|
|
7878
|
+
if (!c.has(A[0]) || !c.has(A[1]))
|
|
7879
|
+
throw new Error("Unknown node. There is an unknown node in the supplied edges.");
|
|
7880
|
+
}); a--; )
|
|
7881
|
+
o[a] || u(e[a], a, /* @__PURE__ */ new Set());
|
|
7882
|
+
return r;
|
|
7883
|
+
function u(A, f, p) {
|
|
7884
|
+
if (p.has(A)) {
|
|
7885
|
+
var C;
|
|
7886
|
+
try {
|
|
7887
|
+
C = ", node was:" + JSON.stringify(A);
|
|
7888
|
+
} catch {
|
|
7889
|
+
C = "";
|
|
8205
7890
|
}
|
|
8206
7891
|
throw new Error("Cyclic dependency" + C);
|
|
8207
7892
|
}
|
|
@@ -8222,28 +7907,28 @@ function ab(e, t) {
|
|
|
8222
7907
|
}
|
|
8223
7908
|
}
|
|
8224
7909
|
}
|
|
8225
|
-
function
|
|
7910
|
+
function S8(e) {
|
|
8226
7911
|
for (var t = /* @__PURE__ */ new Set(), n = 0, r = e.length; n < r; n++) {
|
|
8227
7912
|
var o = e[n];
|
|
8228
7913
|
t.add(o[0]), t.add(o[1]);
|
|
8229
7914
|
}
|
|
8230
7915
|
return Array.from(t);
|
|
8231
7916
|
}
|
|
8232
|
-
function
|
|
7917
|
+
function P8(e) {
|
|
8233
7918
|
for (var t = /* @__PURE__ */ new Map(), n = 0, r = e.length; n < r; n++) {
|
|
8234
7919
|
var o = e[n];
|
|
8235
7920
|
t.has(o[0]) || t.set(o[0], /* @__PURE__ */ new Set()), t.has(o[1]) || t.set(o[1], /* @__PURE__ */ new Set()), t.get(o[0]).add(o[1]);
|
|
8236
7921
|
}
|
|
8237
7922
|
return t;
|
|
8238
7923
|
}
|
|
8239
|
-
function
|
|
7924
|
+
function R8(e) {
|
|
8240
7925
|
for (var t = /* @__PURE__ */ new Map(), n = 0, r = e.length; n < r; n++)
|
|
8241
7926
|
t.set(e[n], n);
|
|
8242
7927
|
return t;
|
|
8243
7928
|
}
|
|
8244
|
-
var
|
|
8245
|
-
const
|
|
8246
|
-
function
|
|
7929
|
+
var O8 = Hp.exports;
|
|
7930
|
+
const D8 = /* @__PURE__ */ bo(O8), M8 = Object.prototype.toString, k8 = Error.prototype.toString, F8 = RegExp.prototype.toString, L8 = typeof Symbol < "u" ? Symbol.prototype.toString : () => "", N8 = /^Symbol\((.*)\)(.*)$/;
|
|
7931
|
+
function j8(e) {
|
|
8247
7932
|
return e != +e ? "NaN" : e === 0 && 1 / e < 0 ? "-0" : "" + e;
|
|
8248
7933
|
}
|
|
8249
7934
|
function nI(e, t = !1) {
|
|
@@ -8251,15 +7936,15 @@ function nI(e, t = !1) {
|
|
|
8251
7936
|
return "" + e;
|
|
8252
7937
|
const n = typeof e;
|
|
8253
7938
|
if (n === "number")
|
|
8254
|
-
return
|
|
7939
|
+
return j8(e);
|
|
8255
7940
|
if (n === "string")
|
|
8256
7941
|
return t ? `"${e}"` : e;
|
|
8257
7942
|
if (n === "function")
|
|
8258
7943
|
return "[Function " + (e.name || "anonymous") + "]";
|
|
8259
7944
|
if (n === "symbol")
|
|
8260
|
-
return
|
|
8261
|
-
const r =
|
|
8262
|
-
return r === "Date" ? isNaN(e.getTime()) ? "" + e : e.toISOString(e) : r === "Error" || e instanceof Error ? "[" +
|
|
7945
|
+
return L8.call(e).replace(N8, "Symbol($1)");
|
|
7946
|
+
const r = M8.call(e).slice(8, -1);
|
|
7947
|
+
return r === "Date" ? isNaN(e.getTime()) ? "" + e : e.toISOString(e) : r === "Error" || e instanceof Error ? "[" + k8.call(e) + "]" : r === "RegExp" ? F8.call(e) : null;
|
|
8263
7948
|
}
|
|
8264
7949
|
function Jo(e, t) {
|
|
8265
7950
|
let n = nI(e, t);
|
|
@@ -8268,14 +7953,14 @@ function Jo(e, t) {
|
|
|
8268
7953
|
return a !== null ? a : o;
|
|
8269
7954
|
}, 2);
|
|
8270
7955
|
}
|
|
8271
|
-
function
|
|
7956
|
+
function rb(e) {
|
|
8272
7957
|
return e == null ? [] : [].concat(e);
|
|
8273
7958
|
}
|
|
8274
|
-
let
|
|
8275
|
-
|
|
7959
|
+
let ob, ib, ab, V8 = /\$\{\s*(\w+)\s*\}/g;
|
|
7960
|
+
ob = Symbol.toStringTag;
|
|
8276
7961
|
class rI {
|
|
8277
7962
|
constructor(t, n, r, o) {
|
|
8278
|
-
this.name = void 0, this.message = void 0, this.value = void 0, this.path = void 0, this.type = void 0, this.params = void 0, this.errors = void 0, this.inner = void 0, this[
|
|
7963
|
+
this.name = void 0, this.message = void 0, this.value = void 0, this.path = void 0, this.type = void 0, this.params = void 0, this.errors = void 0, this.inner = void 0, this[ob] = "Error", this.name = "ValidationError", this.value = n, this.path = r, this.type = o, this.errors = [], this.inner = [], rb(t).forEach((a) => {
|
|
8279
7964
|
if (xn.isError(a)) {
|
|
8280
7965
|
this.errors.push(...a.errors);
|
|
8281
7966
|
const s = a.inner.length ? a.inner : [a];
|
|
@@ -8285,14 +7970,14 @@ class rI {
|
|
|
8285
7970
|
}), this.message = this.errors.length > 1 ? `${this.errors.length} errors occurred` : this.errors[0];
|
|
8286
7971
|
}
|
|
8287
7972
|
}
|
|
8288
|
-
|
|
8289
|
-
|
|
7973
|
+
ib = Symbol.hasInstance;
|
|
7974
|
+
ab = Symbol.toStringTag;
|
|
8290
7975
|
class xn extends Error {
|
|
8291
7976
|
static formatError(t, n) {
|
|
8292
7977
|
const r = n.label || n.path || "this";
|
|
8293
7978
|
return r !== n.path && (n = Object.assign({}, n, {
|
|
8294
7979
|
path: r
|
|
8295
|
-
})), typeof t == "string" ? t.replace(
|
|
7980
|
+
})), typeof t == "string" ? t.replace(V8, (o, a) => Jo(n[a])) : typeof t == "function" ? t(n) : t;
|
|
8296
7981
|
}
|
|
8297
7982
|
static isError(t) {
|
|
8298
7983
|
return t && t.name === "ValidationError";
|
|
@@ -8301,9 +7986,9 @@ class xn extends Error {
|
|
|
8301
7986
|
const s = new rI(t, n, r, o);
|
|
8302
7987
|
if (a)
|
|
8303
7988
|
return s;
|
|
8304
|
-
super(), this.value = void 0, this.path = void 0, this.type = void 0, this.params = void 0, this.errors = [], this.inner = [], this[
|
|
7989
|
+
super(), this.value = void 0, this.path = void 0, this.type = void 0, this.params = void 0, this.errors = [], this.inner = [], this[ab] = "Error", this.name = s.name, this.message = s.message, this.type = s.type, this.value = s.value, this.path = s.path, this.errors = s.errors, this.inner = s.inner, Error.captureStackTrace && Error.captureStackTrace(this, xn);
|
|
8305
7990
|
}
|
|
8306
|
-
static [
|
|
7991
|
+
static [ib](t) {
|
|
8307
7992
|
return rI[Symbol.hasInstance](t) || super[Symbol.hasInstance](t);
|
|
8308
7993
|
}
|
|
8309
7994
|
}
|
|
@@ -8348,15 +8033,15 @@ let zr = {
|
|
|
8348
8033
|
}, If = {
|
|
8349
8034
|
min: "${path} field must be later than ${min}",
|
|
8350
8035
|
max: "${path} field must be at earlier than ${max}"
|
|
8351
|
-
},
|
|
8036
|
+
}, H8 = {
|
|
8352
8037
|
isValue: "${path} field must be ${value}"
|
|
8353
8038
|
}, Bf = {
|
|
8354
8039
|
noUnknown: "${path} field has unspecified keys: ${unknown}"
|
|
8355
|
-
},
|
|
8040
|
+
}, z8 = {
|
|
8356
8041
|
min: "${path} field must have at least ${min} items",
|
|
8357
8042
|
max: "${path} field must have less than or equal to ${max} items",
|
|
8358
8043
|
length: "${path} must have ${length} items"
|
|
8359
|
-
},
|
|
8044
|
+
}, W8 = {
|
|
8360
8045
|
notType: (e) => {
|
|
8361
8046
|
const {
|
|
8362
8047
|
path: t,
|
|
@@ -8378,9 +8063,9 @@ Object.assign(/* @__PURE__ */ Object.create(null), {
|
|
|
8378
8063
|
number: jo,
|
|
8379
8064
|
date: If,
|
|
8380
8065
|
object: Bf,
|
|
8381
|
-
array:
|
|
8382
|
-
boolean:
|
|
8383
|
-
tuple:
|
|
8066
|
+
array: z8,
|
|
8067
|
+
boolean: H8,
|
|
8068
|
+
tuple: W8
|
|
8384
8069
|
});
|
|
8385
8070
|
const zp = (e) => e && e.__isYupSchema__;
|
|
8386
8071
|
class Qu {
|
|
@@ -8533,7 +8218,7 @@ function ha(e) {
|
|
|
8533
8218
|
}
|
|
8534
8219
|
return t.OPTIONS = e, t;
|
|
8535
8220
|
}
|
|
8536
|
-
function
|
|
8221
|
+
function U8(e, t, n, r = n) {
|
|
8537
8222
|
let o, a, s;
|
|
8538
8223
|
return t ? (Fi.forEach(t, (c, u, A) => {
|
|
8539
8224
|
let f = u ? c.slice(1, c.length - 1) : c;
|
|
@@ -8946,7 +8631,7 @@ attempted value: ${s}
|
|
|
8946
8631
|
}
|
|
8947
8632
|
when(t, n) {
|
|
8948
8633
|
!Array.isArray(t) && typeof t != "string" && (n = t, t = ".");
|
|
8949
|
-
let r = this.clone(), o =
|
|
8634
|
+
let r = this.clone(), o = rb(t).map((a) => new Ki(a));
|
|
8950
8635
|
return o.forEach((a) => {
|
|
8951
8636
|
a.isSibling && r.deps.push(a.key);
|
|
8952
8637
|
}), r.conditions.push(typeof n == "function" ? new Qu(o, n) : Qu.fromOptions(o, n)), r;
|
|
@@ -9042,7 +8727,7 @@ for (const e of ["validate", "validateSync"])
|
|
|
9042
8727
|
parent: o,
|
|
9043
8728
|
parentPath: a,
|
|
9044
8729
|
schema: s
|
|
9045
|
-
} =
|
|
8730
|
+
} = U8(this, t, n, r.context);
|
|
9046
8731
|
return s[e](o && o[a], Object.assign({}, r, {
|
|
9047
8732
|
parent: o,
|
|
9048
8733
|
path: t
|
|
@@ -9052,24 +8737,24 @@ for (const e of ["equals", "is"])
|
|
|
9052
8737
|
hr.prototype[e] = hr.prototype.oneOf;
|
|
9053
8738
|
for (const e of ["not", "nope"])
|
|
9054
8739
|
hr.prototype[e] = hr.prototype.notOneOf;
|
|
9055
|
-
const
|
|
9056
|
-
function
|
|
9057
|
-
return new
|
|
8740
|
+
const Y8 = () => !0;
|
|
8741
|
+
function sb(e) {
|
|
8742
|
+
return new lb(e);
|
|
9058
8743
|
}
|
|
9059
|
-
class
|
|
8744
|
+
class lb extends hr {
|
|
9060
8745
|
constructor(t) {
|
|
9061
8746
|
super(typeof t == "function" ? {
|
|
9062
8747
|
type: "mixed",
|
|
9063
8748
|
check: t
|
|
9064
8749
|
} : Object.assign({
|
|
9065
8750
|
type: "mixed",
|
|
9066
|
-
check:
|
|
8751
|
+
check: Y8
|
|
9067
8752
|
}, t));
|
|
9068
8753
|
}
|
|
9069
8754
|
}
|
|
9070
|
-
|
|
9071
|
-
const
|
|
9072
|
-
function
|
|
8755
|
+
sb.prototype = lb.prototype;
|
|
8756
|
+
const G8 = /^(\d{4}|[+-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,.](\d{1,}))?)?(?:(Z)|([+-])(\d{2})(?::?(\d{2}))?)?)?$/;
|
|
8757
|
+
function K8(e) {
|
|
9073
8758
|
const t = vf(e);
|
|
9074
8759
|
if (!t)
|
|
9075
8760
|
return Date.parse ? Date.parse(e) : Number.NaN;
|
|
@@ -9080,7 +8765,7 @@ function q8(e) {
|
|
|
9080
8765
|
}
|
|
9081
8766
|
function vf(e) {
|
|
9082
8767
|
var t, n;
|
|
9083
|
-
const r =
|
|
8768
|
+
const r = G8.exec(e);
|
|
9084
8769
|
return r ? {
|
|
9085
8770
|
year: lo(r[1]),
|
|
9086
8771
|
month: lo(r[2], 1) - 1,
|
|
@@ -9102,17 +8787,17 @@ function vf(e) {
|
|
|
9102
8787
|
function lo(e, t = 0) {
|
|
9103
8788
|
return Number(e) || t;
|
|
9104
8789
|
}
|
|
9105
|
-
let
|
|
8790
|
+
let q8 = (
|
|
9106
8791
|
// eslint-disable-next-line
|
|
9107
8792
|
/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/
|
|
9108
|
-
),
|
|
8793
|
+
), J8 = (
|
|
9109
8794
|
// eslint-disable-next-line
|
|
9110
8795
|
/^((https?|ftp):)?\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i
|
|
9111
|
-
),
|
|
8796
|
+
), X8 = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i, Z8 = "^\\d{4}-\\d{2}-\\d{2}", _8 = "\\d{2}:\\d{2}:\\d{2}", $8 = "(([+-]\\d{2}(:?\\d{2})?)|Z)", eF = new RegExp(`${Z8}T${_8}(\\.\\d+)?${$8}$`), tF = (e) => go(e) || e === e.trim(), nF = {}.toString();
|
|
9112
8797
|
function fo() {
|
|
9113
|
-
return new
|
|
8798
|
+
return new cb();
|
|
9114
8799
|
}
|
|
9115
|
-
class
|
|
8800
|
+
class cb extends hr {
|
|
9116
8801
|
constructor() {
|
|
9117
8802
|
super({
|
|
9118
8803
|
type: "string",
|
|
@@ -9124,7 +8809,7 @@ class gb extends hr {
|
|
|
9124
8809
|
if (!r.spec.coerce || r.isType(t) || Array.isArray(t))
|
|
9125
8810
|
return t;
|
|
9126
8811
|
const o = t != null && t.toString ? t.toString() : t;
|
|
9127
|
-
return o ===
|
|
8812
|
+
return o === nF ? t : o;
|
|
9128
8813
|
});
|
|
9129
8814
|
});
|
|
9130
8815
|
}
|
|
@@ -9198,21 +8883,21 @@ class gb extends hr {
|
|
|
9198
8883
|
});
|
|
9199
8884
|
}
|
|
9200
8885
|
email(t = Qn.email) {
|
|
9201
|
-
return this.matches(
|
|
8886
|
+
return this.matches(q8, {
|
|
9202
8887
|
name: "email",
|
|
9203
8888
|
message: t,
|
|
9204
8889
|
excludeEmptyString: !0
|
|
9205
8890
|
});
|
|
9206
8891
|
}
|
|
9207
8892
|
url(t = Qn.url) {
|
|
9208
|
-
return this.matches(
|
|
8893
|
+
return this.matches(J8, {
|
|
9209
8894
|
name: "url",
|
|
9210
8895
|
message: t,
|
|
9211
8896
|
excludeEmptyString: !0
|
|
9212
8897
|
});
|
|
9213
8898
|
}
|
|
9214
8899
|
uuid(t = Qn.uuid) {
|
|
9215
|
-
return this.matches(
|
|
8900
|
+
return this.matches(X8, {
|
|
9216
8901
|
name: "uuid",
|
|
9217
8902
|
message: t,
|
|
9218
8903
|
excludeEmptyString: !1
|
|
@@ -9224,7 +8909,7 @@ class gb extends hr {
|
|
|
9224
8909
|
message: n = "",
|
|
9225
8910
|
allowOffset: r = !1,
|
|
9226
8911
|
precision: o = void 0
|
|
9227
|
-
} = t : n = t), this.matches(
|
|
8912
|
+
} = t : n = t), this.matches(eF, {
|
|
9228
8913
|
name: "datetime",
|
|
9229
8914
|
message: n || Qn.datetime,
|
|
9230
8915
|
excludeEmptyString: !0
|
|
@@ -9264,7 +8949,7 @@ class gb extends hr {
|
|
|
9264
8949
|
return this.transform((n) => n != null ? n.trim() : n).test({
|
|
9265
8950
|
message: t,
|
|
9266
8951
|
name: "trim",
|
|
9267
|
-
test:
|
|
8952
|
+
test: tF
|
|
9268
8953
|
});
|
|
9269
8954
|
}
|
|
9270
8955
|
lowercase(t = Qn.lowercase) {
|
|
@@ -9286,17 +8971,17 @@ class gb extends hr {
|
|
|
9286
8971
|
});
|
|
9287
8972
|
}
|
|
9288
8973
|
}
|
|
9289
|
-
fo.prototype =
|
|
9290
|
-
let
|
|
9291
|
-
function
|
|
9292
|
-
return new
|
|
8974
|
+
fo.prototype = cb.prototype;
|
|
8975
|
+
let rF = (e) => e != +e;
|
|
8976
|
+
function ub() {
|
|
8977
|
+
return new Ab();
|
|
9293
8978
|
}
|
|
9294
|
-
class
|
|
8979
|
+
class Ab extends hr {
|
|
9295
8980
|
constructor() {
|
|
9296
8981
|
super({
|
|
9297
8982
|
type: "number",
|
|
9298
8983
|
check(t) {
|
|
9299
|
-
return t instanceof Number && (t = t.valueOf()), typeof t == "number" && !
|
|
8984
|
+
return t instanceof Number && (t = t.valueOf()), typeof t == "number" && !rF(t);
|
|
9300
8985
|
}
|
|
9301
8986
|
}), this.withMutation(() => {
|
|
9302
8987
|
this.transform((t, n, r) => {
|
|
@@ -9395,17 +9080,17 @@ class pb extends hr {
|
|
|
9395
9080
|
return this.transform((o) => go(o) ? o : Math[t](o));
|
|
9396
9081
|
}
|
|
9397
9082
|
}
|
|
9398
|
-
|
|
9399
|
-
let
|
|
9083
|
+
ub.prototype = Ab.prototype;
|
|
9084
|
+
let oF = /* @__PURE__ */ new Date(""), iF = (e) => Object.prototype.toString.call(e) === "[object Date]";
|
|
9400
9085
|
class EA extends hr {
|
|
9401
9086
|
constructor() {
|
|
9402
9087
|
super({
|
|
9403
9088
|
type: "date",
|
|
9404
9089
|
check(t) {
|
|
9405
|
-
return
|
|
9090
|
+
return iF(t) && !isNaN(t.getTime());
|
|
9406
9091
|
}
|
|
9407
9092
|
}), this.withMutation(() => {
|
|
9408
|
-
this.transform((t, n, r) => !r.spec.coerce || r.isType(t) || t === null ? t : (t =
|
|
9093
|
+
this.transform((t, n, r) => !r.spec.coerce || r.isType(t) || t === null ? t : (t = K8(t), isNaN(t) ? EA.INVALID_DATE : new Date(t)));
|
|
9409
9094
|
});
|
|
9410
9095
|
}
|
|
9411
9096
|
prepareParam(t, n) {
|
|
@@ -9451,9 +9136,9 @@ class EA extends hr {
|
|
|
9451
9136
|
});
|
|
9452
9137
|
}
|
|
9453
9138
|
}
|
|
9454
|
-
EA.INVALID_DATE =
|
|
9139
|
+
EA.INVALID_DATE = oF;
|
|
9455
9140
|
EA.prototype;
|
|
9456
|
-
function
|
|
9141
|
+
function aF(e, t = []) {
|
|
9457
9142
|
let n = [], r = /* @__PURE__ */ new Set(), o = new Set(t.map(([s, c]) => `${s}-${c}`));
|
|
9458
9143
|
function a(s, c) {
|
|
9459
9144
|
let u = Fi.split(s)[0];
|
|
@@ -9463,7 +9148,7 @@ function sF(e, t = []) {
|
|
|
9463
9148
|
let c = e[s];
|
|
9464
9149
|
r.add(s), Ki.isRef(c) && c.isSibling ? a(c.path, s) : zp(c) && "deps" in c && c.deps.forEach((u) => a(u, s));
|
|
9465
9150
|
}
|
|
9466
|
-
return
|
|
9151
|
+
return D8.array(Array.from(r), n).reverse();
|
|
9467
9152
|
}
|
|
9468
9153
|
function oI(e, t) {
|
|
9469
9154
|
let n = 1 / 0;
|
|
@@ -9473,10 +9158,10 @@ function oI(e, t) {
|
|
|
9473
9158
|
return n = o, !0;
|
|
9474
9159
|
}), n;
|
|
9475
9160
|
}
|
|
9476
|
-
function
|
|
9161
|
+
function db(e) {
|
|
9477
9162
|
return (t, n) => oI(e, t) - oI(e, n);
|
|
9478
9163
|
}
|
|
9479
|
-
const
|
|
9164
|
+
const sF = (e, t, n) => {
|
|
9480
9165
|
if (typeof e != "string")
|
|
9481
9166
|
return e;
|
|
9482
9167
|
let r = e;
|
|
@@ -9501,7 +9186,7 @@ function iu(e) {
|
|
|
9501
9186
|
types: e.spec.types.map(iu)
|
|
9502
9187
|
}) : "optional" in e ? e.optional() : e;
|
|
9503
9188
|
}
|
|
9504
|
-
const
|
|
9189
|
+
const lF = (e, t) => {
|
|
9505
9190
|
const n = [...Fi.normalizePath(t)];
|
|
9506
9191
|
if (n.length === 1)
|
|
9507
9192
|
return n[0] in e;
|
|
@@ -9509,22 +9194,22 @@ const cF = (e, t) => {
|
|
|
9509
9194
|
return !!(o && r in o);
|
|
9510
9195
|
};
|
|
9511
9196
|
let iI = (e) => Object.prototype.toString.call(e) === "[object Object]";
|
|
9512
|
-
function
|
|
9197
|
+
function cF(e, t) {
|
|
9513
9198
|
let n = Object.keys(e.fields);
|
|
9514
9199
|
return Object.keys(t).filter((r) => n.indexOf(r) === -1);
|
|
9515
9200
|
}
|
|
9516
|
-
const
|
|
9201
|
+
const uF = db([]);
|
|
9517
9202
|
function Wp(e) {
|
|
9518
|
-
return new
|
|
9203
|
+
return new gb(e);
|
|
9519
9204
|
}
|
|
9520
|
-
class
|
|
9205
|
+
class gb extends hr {
|
|
9521
9206
|
constructor(t) {
|
|
9522
9207
|
super({
|
|
9523
9208
|
type: "object",
|
|
9524
9209
|
check(n) {
|
|
9525
9210
|
return iI(n) || typeof n == "function";
|
|
9526
9211
|
}
|
|
9527
|
-
}), this.fields = /* @__PURE__ */ Object.create(null), this._sortErrors =
|
|
9212
|
+
}), this.fields = /* @__PURE__ */ Object.create(null), this._sortErrors = uF, this._nodes = [], this._excludedEdges = [], this.withMutation(() => {
|
|
9528
9213
|
t && this.shape(t);
|
|
9529
9214
|
});
|
|
9530
9215
|
}
|
|
@@ -9632,7 +9317,7 @@ class Cb extends hr {
|
|
|
9632
9317
|
}
|
|
9633
9318
|
setFields(t, n) {
|
|
9634
9319
|
let r = this.clone();
|
|
9635
|
-
return r.fields = t, r._nodes =
|
|
9320
|
+
return r.fields = t, r._nodes = aF(t, n), r._sortErrors = db(Object.keys(t)), n && (r._excludedEdges = n), r;
|
|
9636
9321
|
}
|
|
9637
9322
|
shape(t, n = []) {
|
|
9638
9323
|
return this.clone().withMutation((r) => {
|
|
@@ -9667,12 +9352,12 @@ class Cb extends hr {
|
|
|
9667
9352
|
if (!a)
|
|
9668
9353
|
return a;
|
|
9669
9354
|
let s = a;
|
|
9670
|
-
return
|
|
9355
|
+
return lF(a, t) && (s = Object.assign({}, a), r || delete s[t], s[n] = o(a)), s;
|
|
9671
9356
|
});
|
|
9672
9357
|
}
|
|
9673
9358
|
/** Parse an input JSON string to an object */
|
|
9674
9359
|
json() {
|
|
9675
|
-
return this.transform(
|
|
9360
|
+
return this.transform(sF);
|
|
9676
9361
|
}
|
|
9677
9362
|
noUnknown(t = !0, n = Bf.noUnknown) {
|
|
9678
9363
|
typeof t != "boolean" && (n = t, t = !0);
|
|
@@ -9683,120 +9368,452 @@ class Cb extends hr {
|
|
|
9683
9368
|
test(o) {
|
|
9684
9369
|
if (o == null)
|
|
9685
9370
|
return !0;
|
|
9686
|
-
const a =
|
|
9371
|
+
const a = cF(this.schema, o);
|
|
9687
9372
|
return !t || a.length === 0 || this.createError({
|
|
9688
9373
|
params: {
|
|
9689
9374
|
unknown: a.join(", ")
|
|
9690
9375
|
}
|
|
9691
9376
|
});
|
|
9692
|
-
}
|
|
9693
|
-
});
|
|
9694
|
-
return r.spec.noUnknown = t, r;
|
|
9695
|
-
}
|
|
9696
|
-
unknown(t = !0, n = Bf.noUnknown) {
|
|
9697
|
-
return this.noUnknown(!t, n);
|
|
9698
|
-
}
|
|
9699
|
-
transformKeys(t) {
|
|
9700
|
-
return this.transform((n) => {
|
|
9701
|
-
if (!n)
|
|
9702
|
-
return n;
|
|
9703
|
-
const r = {};
|
|
9704
|
-
for (const o of Object.keys(n))
|
|
9705
|
-
r[t(o)] = n[o];
|
|
9706
|
-
return r;
|
|
9707
|
-
});
|
|
9708
|
-
}
|
|
9709
|
-
camelCase() {
|
|
9710
|
-
return this.transformKeys(bg.camelCase);
|
|
9711
|
-
}
|
|
9712
|
-
snakeCase() {
|
|
9713
|
-
return this.transformKeys(bg.snakeCase);
|
|
9714
|
-
}
|
|
9715
|
-
constantCase() {
|
|
9716
|
-
return this.transformKeys((t) => bg.snakeCase(t).toUpperCase());
|
|
9717
|
-
}
|
|
9718
|
-
describe(t) {
|
|
9719
|
-
const n = (t ? this.resolve(t) : this).clone(), r = super.describe(t);
|
|
9720
|
-
r.fields = {};
|
|
9721
|
-
for (const [a, s] of Object.entries(n.fields)) {
|
|
9722
|
-
var o;
|
|
9723
|
-
let c = t;
|
|
9724
|
-
(o = c) != null && o.value && (c = Object.assign({}, c, {
|
|
9725
|
-
parent: c.value,
|
|
9726
|
-
value: c.value[a]
|
|
9727
|
-
})), r.fields[a] = s.describe(c);
|
|
9728
|
-
}
|
|
9729
|
-
return r;
|
|
9730
|
-
}
|
|
9377
|
+
}
|
|
9378
|
+
});
|
|
9379
|
+
return r.spec.noUnknown = t, r;
|
|
9380
|
+
}
|
|
9381
|
+
unknown(t = !0, n = Bf.noUnknown) {
|
|
9382
|
+
return this.noUnknown(!t, n);
|
|
9383
|
+
}
|
|
9384
|
+
transformKeys(t) {
|
|
9385
|
+
return this.transform((n) => {
|
|
9386
|
+
if (!n)
|
|
9387
|
+
return n;
|
|
9388
|
+
const r = {};
|
|
9389
|
+
for (const o of Object.keys(n))
|
|
9390
|
+
r[t(o)] = n[o];
|
|
9391
|
+
return r;
|
|
9392
|
+
});
|
|
9393
|
+
}
|
|
9394
|
+
camelCase() {
|
|
9395
|
+
return this.transformKeys(bg.camelCase);
|
|
9396
|
+
}
|
|
9397
|
+
snakeCase() {
|
|
9398
|
+
return this.transformKeys(bg.snakeCase);
|
|
9399
|
+
}
|
|
9400
|
+
constantCase() {
|
|
9401
|
+
return this.transformKeys((t) => bg.snakeCase(t).toUpperCase());
|
|
9402
|
+
}
|
|
9403
|
+
describe(t) {
|
|
9404
|
+
const n = (t ? this.resolve(t) : this).clone(), r = super.describe(t);
|
|
9405
|
+
r.fields = {};
|
|
9406
|
+
for (const [a, s] of Object.entries(n.fields)) {
|
|
9407
|
+
var o;
|
|
9408
|
+
let c = t;
|
|
9409
|
+
(o = c) != null && o.value && (c = Object.assign({}, c, {
|
|
9410
|
+
parent: c.value,
|
|
9411
|
+
value: c.value[a]
|
|
9412
|
+
})), r.fields[a] = s.describe(c);
|
|
9413
|
+
}
|
|
9414
|
+
return r;
|
|
9415
|
+
}
|
|
9416
|
+
}
|
|
9417
|
+
Wp.prototype = gb.prototype;
|
|
9418
|
+
const aI = sb().test("function", "Invalid function", (e) => _.isFunction(e));
|
|
9419
|
+
var Wo, Mi, zs;
|
|
9420
|
+
class AF {
|
|
9421
|
+
constructor() {
|
|
9422
|
+
so(this, Mi);
|
|
9423
|
+
so(this, Wo, []);
|
|
9424
|
+
}
|
|
9425
|
+
get(t) {
|
|
9426
|
+
if (fo().required().validateSync(t), Os(this, Mi, zs).call(this)) {
|
|
9427
|
+
const n = localStorage.getItem(t);
|
|
9428
|
+
return _.isNil(n) ? null : JSON.parse(n);
|
|
9429
|
+
} else
|
|
9430
|
+
return null;
|
|
9431
|
+
}
|
|
9432
|
+
set(t, n) {
|
|
9433
|
+
return fo().required().validateSync(t), Os(this, Mi, zs).call(this) ? (localStorage.setItem(t, JSON.stringify(n)), n) : null;
|
|
9434
|
+
}
|
|
9435
|
+
watch(t, n) {
|
|
9436
|
+
fo().required().validateSync(t), aI.validateSync(n), Os(this, Mi, zs).call(this) && (bn(this, Wo).push({ key: t, callback: n }), window.addEventListener("storage", (r) => {
|
|
9437
|
+
r.storageArea === localStorage && r.key === t && n(this.get(t));
|
|
9438
|
+
}));
|
|
9439
|
+
}
|
|
9440
|
+
unwatch(t, n) {
|
|
9441
|
+
fo().required().validateSync(t), aI.optional().default(_.identity).validateSync(n), Os(this, Mi, zs).call(this) && (n !== void 0 ? Mo(this, Wo, _.reject(bn(this, Wo), (r) => r.key === t && r.callback === n)) : Mo(this, Wo, _.reject(bn(this, Wo), (r) => r.key === t)));
|
|
9442
|
+
}
|
|
9443
|
+
}
|
|
9444
|
+
Wo = new WeakMap(), Mi = new WeakSet(), zs = function() {
|
|
9445
|
+
return typeof window < "u";
|
|
9446
|
+
};
|
|
9447
|
+
const Ws = new AF();
|
|
9448
|
+
function dF(e, t, n) {
|
|
9449
|
+
return function(r) {
|
|
9450
|
+
const o = _.isFunction(r) ? r(t) : r;
|
|
9451
|
+
return Ws.set(e, o), n(o), o;
|
|
9452
|
+
};
|
|
9453
|
+
}
|
|
9454
|
+
function Up(e, t) {
|
|
9455
|
+
var u;
|
|
9456
|
+
fo().required().validateSync(e);
|
|
9457
|
+
const [n, r] = je(Ws.get(e) ?? t), o = Kn(t), a = _.isEqual(o.current, t) ? o.current : t, s = Kn(), c = s.current;
|
|
9458
|
+
return Pe(() => {
|
|
9459
|
+
r(Ws.get(e) ?? a);
|
|
9460
|
+
}, [e, a, r]), Pe(() => {
|
|
9461
|
+
function A(f) {
|
|
9462
|
+
r(f);
|
|
9463
|
+
}
|
|
9464
|
+
return Ws.watch(e, A), () => {
|
|
9465
|
+
Ws.unwatch(e, A);
|
|
9466
|
+
};
|
|
9467
|
+
}, [e, r]), (e !== (c == null ? void 0 : c.key) || !_.isEqual(n, c == null ? void 0 : c.value)) && (s.current = { key: e, value: n, setter: dF(e, n, r) }), [n, ((u = s.current) == null ? void 0 : u.setter) ?? _.noop];
|
|
9468
|
+
}
|
|
9469
|
+
function fb(e) {
|
|
9470
|
+
const t = en(), n = kr(), r = Zn(), o = t != null && t.id ? "edit" : "create";
|
|
9471
|
+
return Ze(() => {
|
|
9472
|
+
if (e === !1)
|
|
9473
|
+
return;
|
|
9474
|
+
const s = `resources.${r}.title`;
|
|
9475
|
+
return e || n(`resources.${r}.title.${o}`, {
|
|
9476
|
+
_: n(s, { _: s }),
|
|
9477
|
+
...t
|
|
9478
|
+
});
|
|
9479
|
+
}, [o, t, r, n, e]);
|
|
9480
|
+
}
|
|
9481
|
+
const gF = () => Rt(Kv), xte = () => Rt(qv), $n = () => Rt(Uv);
|
|
9482
|
+
var pb = { exports: {} };
|
|
9483
|
+
(function(e, t) {
|
|
9484
|
+
(function(n, r) {
|
|
9485
|
+
e.exports = r();
|
|
9486
|
+
})(Tn, function() {
|
|
9487
|
+
var n = 1e3, r = 6e4, o = 36e5, a = "millisecond", s = "second", c = "minute", u = "hour", A = "day", f = "week", p = "month", C = "quarter", m = "year", I = "date", B = "Invalid Date", v = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, w = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, P = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(K) {
|
|
9488
|
+
var q = ["th", "st", "nd", "rd"], N = K % 100;
|
|
9489
|
+
return "[" + K + (q[(N - 20) % 10] || q[N] || q[0]) + "]";
|
|
9490
|
+
} }, y = function(K, q, N) {
|
|
9491
|
+
var G = String(K);
|
|
9492
|
+
return !G || G.length >= q ? K : "" + Array(q + 1 - G.length).join(N) + K;
|
|
9493
|
+
}, S = { s: y, z: function(K) {
|
|
9494
|
+
var q = -K.utcOffset(), N = Math.abs(q), G = Math.floor(N / 60), k = N % 60;
|
|
9495
|
+
return (q <= 0 ? "+" : "-") + y(G, 2, "0") + ":" + y(k, 2, "0");
|
|
9496
|
+
}, m: function K(q, N) {
|
|
9497
|
+
if (q.date() < N.date())
|
|
9498
|
+
return -K(N, q);
|
|
9499
|
+
var G = 12 * (N.year() - q.year()) + (N.month() - q.month()), k = q.clone().add(G, p), J = N - k < 0, L = q.clone().add(G + (J ? -1 : 1), p);
|
|
9500
|
+
return +(-(G + (N - k) / (J ? k - L : L - k)) || 0);
|
|
9501
|
+
}, a: function(K) {
|
|
9502
|
+
return K < 0 ? Math.ceil(K) || 0 : Math.floor(K);
|
|
9503
|
+
}, p: function(K) {
|
|
9504
|
+
return { M: p, y: m, w: f, d: A, D: I, h: u, m: c, s, ms: a, Q: C }[K] || String(K || "").toLowerCase().replace(/s$/, "");
|
|
9505
|
+
}, u: function(K) {
|
|
9506
|
+
return K === void 0;
|
|
9507
|
+
} }, T = "en", D = {};
|
|
9508
|
+
D[T] = P;
|
|
9509
|
+
var M = "$isDayjsObject", W = function(K) {
|
|
9510
|
+
return K instanceof re || !(!K || !K[M]);
|
|
9511
|
+
}, U = function K(q, N, G) {
|
|
9512
|
+
var k;
|
|
9513
|
+
if (!q)
|
|
9514
|
+
return T;
|
|
9515
|
+
if (typeof q == "string") {
|
|
9516
|
+
var J = q.toLowerCase();
|
|
9517
|
+
D[J] && (k = J), N && (D[J] = N, k = J);
|
|
9518
|
+
var L = q.split("-");
|
|
9519
|
+
if (!k && L.length > 1)
|
|
9520
|
+
return K(L[0]);
|
|
9521
|
+
} else {
|
|
9522
|
+
var Y = q.name;
|
|
9523
|
+
D[Y] = q, k = Y;
|
|
9524
|
+
}
|
|
9525
|
+
return !G && k && (T = k), k || !G && T;
|
|
9526
|
+
}, X = function(K, q) {
|
|
9527
|
+
if (W(K))
|
|
9528
|
+
return K.clone();
|
|
9529
|
+
var N = typeof q == "object" ? q : {};
|
|
9530
|
+
return N.date = K, N.args = arguments, new re(N);
|
|
9531
|
+
}, z = S;
|
|
9532
|
+
z.l = U, z.i = W, z.w = function(K, q) {
|
|
9533
|
+
return X(K, { locale: q.$L, utc: q.$u, x: q.$x, $offset: q.$offset });
|
|
9534
|
+
};
|
|
9535
|
+
var re = function() {
|
|
9536
|
+
function K(N) {
|
|
9537
|
+
this.$L = U(N.locale, null, !0), this.parse(N), this.$x = this.$x || N.x || {}, this[M] = !0;
|
|
9538
|
+
}
|
|
9539
|
+
var q = K.prototype;
|
|
9540
|
+
return q.parse = function(N) {
|
|
9541
|
+
this.$d = function(G) {
|
|
9542
|
+
var k = G.date, J = G.utc;
|
|
9543
|
+
if (k === null)
|
|
9544
|
+
return /* @__PURE__ */ new Date(NaN);
|
|
9545
|
+
if (z.u(k))
|
|
9546
|
+
return /* @__PURE__ */ new Date();
|
|
9547
|
+
if (k instanceof Date)
|
|
9548
|
+
return new Date(k);
|
|
9549
|
+
if (typeof k == "string" && !/Z$/i.test(k)) {
|
|
9550
|
+
var L = k.match(v);
|
|
9551
|
+
if (L) {
|
|
9552
|
+
var Y = L[2] - 1 || 0, ae = (L[7] || "0").substring(0, 3);
|
|
9553
|
+
return J ? new Date(Date.UTC(L[1], Y, L[3] || 1, L[4] || 0, L[5] || 0, L[6] || 0, ae)) : new Date(L[1], Y, L[3] || 1, L[4] || 0, L[5] || 0, L[6] || 0, ae);
|
|
9554
|
+
}
|
|
9555
|
+
}
|
|
9556
|
+
return new Date(k);
|
|
9557
|
+
}(N), this.init();
|
|
9558
|
+
}, q.init = function() {
|
|
9559
|
+
var N = this.$d;
|
|
9560
|
+
this.$y = N.getFullYear(), this.$M = N.getMonth(), this.$D = N.getDate(), this.$W = N.getDay(), this.$H = N.getHours(), this.$m = N.getMinutes(), this.$s = N.getSeconds(), this.$ms = N.getMilliseconds();
|
|
9561
|
+
}, q.$utils = function() {
|
|
9562
|
+
return z;
|
|
9563
|
+
}, q.isValid = function() {
|
|
9564
|
+
return this.$d.toString() !== B;
|
|
9565
|
+
}, q.isSame = function(N, G) {
|
|
9566
|
+
var k = X(N);
|
|
9567
|
+
return this.startOf(G) <= k && k <= this.endOf(G);
|
|
9568
|
+
}, q.isAfter = function(N, G) {
|
|
9569
|
+
return X(N) < this.startOf(G);
|
|
9570
|
+
}, q.isBefore = function(N, G) {
|
|
9571
|
+
return this.endOf(G) < X(N);
|
|
9572
|
+
}, q.$g = function(N, G, k) {
|
|
9573
|
+
return z.u(N) ? this[G] : this.set(k, N);
|
|
9574
|
+
}, q.unix = function() {
|
|
9575
|
+
return Math.floor(this.valueOf() / 1e3);
|
|
9576
|
+
}, q.valueOf = function() {
|
|
9577
|
+
return this.$d.getTime();
|
|
9578
|
+
}, q.startOf = function(N, G) {
|
|
9579
|
+
var k = this, J = !!z.u(G) || G, L = z.p(N), Y = function(fe, me) {
|
|
9580
|
+
var ye = z.w(k.$u ? Date.UTC(k.$y, me, fe) : new Date(k.$y, me, fe), k);
|
|
9581
|
+
return J ? ye : ye.endOf(A);
|
|
9582
|
+
}, ae = function(fe, me) {
|
|
9583
|
+
return z.w(k.toDate()[fe].apply(k.toDate("s"), (J ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(me)), k);
|
|
9584
|
+
}, de = this.$W, ce = this.$M, ue = this.$D, ge = "set" + (this.$u ? "UTC" : "");
|
|
9585
|
+
switch (L) {
|
|
9586
|
+
case m:
|
|
9587
|
+
return J ? Y(1, 0) : Y(31, 11);
|
|
9588
|
+
case p:
|
|
9589
|
+
return J ? Y(1, ce) : Y(0, ce + 1);
|
|
9590
|
+
case f:
|
|
9591
|
+
var Ee = this.$locale().weekStart || 0, he = (de < Ee ? de + 7 : de) - Ee;
|
|
9592
|
+
return Y(J ? ue - he : ue + (6 - he), ce);
|
|
9593
|
+
case A:
|
|
9594
|
+
case I:
|
|
9595
|
+
return ae(ge + "Hours", 0);
|
|
9596
|
+
case u:
|
|
9597
|
+
return ae(ge + "Minutes", 1);
|
|
9598
|
+
case c:
|
|
9599
|
+
return ae(ge + "Seconds", 2);
|
|
9600
|
+
case s:
|
|
9601
|
+
return ae(ge + "Milliseconds", 3);
|
|
9602
|
+
default:
|
|
9603
|
+
return this.clone();
|
|
9604
|
+
}
|
|
9605
|
+
}, q.endOf = function(N) {
|
|
9606
|
+
return this.startOf(N, !1);
|
|
9607
|
+
}, q.$set = function(N, G) {
|
|
9608
|
+
var k, J = z.p(N), L = "set" + (this.$u ? "UTC" : ""), Y = (k = {}, k[A] = L + "Date", k[I] = L + "Date", k[p] = L + "Month", k[m] = L + "FullYear", k[u] = L + "Hours", k[c] = L + "Minutes", k[s] = L + "Seconds", k[a] = L + "Milliseconds", k)[J], ae = J === A ? this.$D + (G - this.$W) : G;
|
|
9609
|
+
if (J === p || J === m) {
|
|
9610
|
+
var de = this.clone().set(I, 1);
|
|
9611
|
+
de.$d[Y](ae), de.init(), this.$d = de.set(I, Math.min(this.$D, de.daysInMonth())).$d;
|
|
9612
|
+
} else
|
|
9613
|
+
Y && this.$d[Y](ae);
|
|
9614
|
+
return this.init(), this;
|
|
9615
|
+
}, q.set = function(N, G) {
|
|
9616
|
+
return this.clone().$set(N, G);
|
|
9617
|
+
}, q.get = function(N) {
|
|
9618
|
+
return this[z.p(N)]();
|
|
9619
|
+
}, q.add = function(N, G) {
|
|
9620
|
+
var k, J = this;
|
|
9621
|
+
N = Number(N);
|
|
9622
|
+
var L = z.p(G), Y = function(ce) {
|
|
9623
|
+
var ue = X(J);
|
|
9624
|
+
return z.w(ue.date(ue.date() + Math.round(ce * N)), J);
|
|
9625
|
+
};
|
|
9626
|
+
if (L === p)
|
|
9627
|
+
return this.set(p, this.$M + N);
|
|
9628
|
+
if (L === m)
|
|
9629
|
+
return this.set(m, this.$y + N);
|
|
9630
|
+
if (L === A)
|
|
9631
|
+
return Y(1);
|
|
9632
|
+
if (L === f)
|
|
9633
|
+
return Y(7);
|
|
9634
|
+
var ae = (k = {}, k[c] = r, k[u] = o, k[s] = n, k)[L] || 1, de = this.$d.getTime() + N * ae;
|
|
9635
|
+
return z.w(de, this);
|
|
9636
|
+
}, q.subtract = function(N, G) {
|
|
9637
|
+
return this.add(-1 * N, G);
|
|
9638
|
+
}, q.format = function(N) {
|
|
9639
|
+
var G = this, k = this.$locale();
|
|
9640
|
+
if (!this.isValid())
|
|
9641
|
+
return k.invalidDate || B;
|
|
9642
|
+
var J = N || "YYYY-MM-DDTHH:mm:ssZ", L = z.z(this), Y = this.$H, ae = this.$m, de = this.$M, ce = k.weekdays, ue = k.months, ge = k.meridiem, Ee = function(me, ye, se, $e) {
|
|
9643
|
+
return me && (me[ye] || me(G, J)) || se[ye].slice(0, $e);
|
|
9644
|
+
}, he = function(me) {
|
|
9645
|
+
return z.s(Y % 12 || 12, me, "0");
|
|
9646
|
+
}, fe = ge || function(me, ye, se) {
|
|
9647
|
+
var $e = me < 12 ? "AM" : "PM";
|
|
9648
|
+
return se ? $e.toLowerCase() : $e;
|
|
9649
|
+
};
|
|
9650
|
+
return J.replace(w, function(me, ye) {
|
|
9651
|
+
return ye || function(se) {
|
|
9652
|
+
switch (se) {
|
|
9653
|
+
case "YY":
|
|
9654
|
+
return String(G.$y).slice(-2);
|
|
9655
|
+
case "YYYY":
|
|
9656
|
+
return z.s(G.$y, 4, "0");
|
|
9657
|
+
case "M":
|
|
9658
|
+
return de + 1;
|
|
9659
|
+
case "MM":
|
|
9660
|
+
return z.s(de + 1, 2, "0");
|
|
9661
|
+
case "MMM":
|
|
9662
|
+
return Ee(k.monthsShort, de, ue, 3);
|
|
9663
|
+
case "MMMM":
|
|
9664
|
+
return Ee(ue, de);
|
|
9665
|
+
case "D":
|
|
9666
|
+
return G.$D;
|
|
9667
|
+
case "DD":
|
|
9668
|
+
return z.s(G.$D, 2, "0");
|
|
9669
|
+
case "d":
|
|
9670
|
+
return String(G.$W);
|
|
9671
|
+
case "dd":
|
|
9672
|
+
return Ee(k.weekdaysMin, G.$W, ce, 2);
|
|
9673
|
+
case "ddd":
|
|
9674
|
+
return Ee(k.weekdaysShort, G.$W, ce, 3);
|
|
9675
|
+
case "dddd":
|
|
9676
|
+
return ce[G.$W];
|
|
9677
|
+
case "H":
|
|
9678
|
+
return String(Y);
|
|
9679
|
+
case "HH":
|
|
9680
|
+
return z.s(Y, 2, "0");
|
|
9681
|
+
case "h":
|
|
9682
|
+
return he(1);
|
|
9683
|
+
case "hh":
|
|
9684
|
+
return he(2);
|
|
9685
|
+
case "a":
|
|
9686
|
+
return fe(Y, ae, !0);
|
|
9687
|
+
case "A":
|
|
9688
|
+
return fe(Y, ae, !1);
|
|
9689
|
+
case "m":
|
|
9690
|
+
return String(ae);
|
|
9691
|
+
case "mm":
|
|
9692
|
+
return z.s(ae, 2, "0");
|
|
9693
|
+
case "s":
|
|
9694
|
+
return String(G.$s);
|
|
9695
|
+
case "ss":
|
|
9696
|
+
return z.s(G.$s, 2, "0");
|
|
9697
|
+
case "SSS":
|
|
9698
|
+
return z.s(G.$ms, 3, "0");
|
|
9699
|
+
case "Z":
|
|
9700
|
+
return L;
|
|
9701
|
+
}
|
|
9702
|
+
return null;
|
|
9703
|
+
}(me) || L.replace(":", "");
|
|
9704
|
+
});
|
|
9705
|
+
}, q.utcOffset = function() {
|
|
9706
|
+
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
9707
|
+
}, q.diff = function(N, G, k) {
|
|
9708
|
+
var J, L = this, Y = z.p(G), ae = X(N), de = (ae.utcOffset() - this.utcOffset()) * r, ce = this - ae, ue = function() {
|
|
9709
|
+
return z.m(L, ae);
|
|
9710
|
+
};
|
|
9711
|
+
switch (Y) {
|
|
9712
|
+
case m:
|
|
9713
|
+
J = ue() / 12;
|
|
9714
|
+
break;
|
|
9715
|
+
case p:
|
|
9716
|
+
J = ue();
|
|
9717
|
+
break;
|
|
9718
|
+
case C:
|
|
9719
|
+
J = ue() / 3;
|
|
9720
|
+
break;
|
|
9721
|
+
case f:
|
|
9722
|
+
J = (ce - de) / 6048e5;
|
|
9723
|
+
break;
|
|
9724
|
+
case A:
|
|
9725
|
+
J = (ce - de) / 864e5;
|
|
9726
|
+
break;
|
|
9727
|
+
case u:
|
|
9728
|
+
J = ce / o;
|
|
9729
|
+
break;
|
|
9730
|
+
case c:
|
|
9731
|
+
J = ce / r;
|
|
9732
|
+
break;
|
|
9733
|
+
case s:
|
|
9734
|
+
J = ce / n;
|
|
9735
|
+
break;
|
|
9736
|
+
default:
|
|
9737
|
+
J = ce;
|
|
9738
|
+
}
|
|
9739
|
+
return k ? J : z.a(J);
|
|
9740
|
+
}, q.daysInMonth = function() {
|
|
9741
|
+
return this.endOf(p).$D;
|
|
9742
|
+
}, q.$locale = function() {
|
|
9743
|
+
return D[this.$L];
|
|
9744
|
+
}, q.locale = function(N, G) {
|
|
9745
|
+
if (!N)
|
|
9746
|
+
return this.$L;
|
|
9747
|
+
var k = this.clone(), J = U(N, G, !0);
|
|
9748
|
+
return J && (k.$L = J), k;
|
|
9749
|
+
}, q.clone = function() {
|
|
9750
|
+
return z.w(this.$d, this);
|
|
9751
|
+
}, q.toDate = function() {
|
|
9752
|
+
return new Date(this.valueOf());
|
|
9753
|
+
}, q.toJSON = function() {
|
|
9754
|
+
return this.isValid() ? this.toISOString() : null;
|
|
9755
|
+
}, q.toISOString = function() {
|
|
9756
|
+
return this.$d.toISOString();
|
|
9757
|
+
}, q.toString = function() {
|
|
9758
|
+
return this.$d.toUTCString();
|
|
9759
|
+
}, K;
|
|
9760
|
+
}(), oe = re.prototype;
|
|
9761
|
+
return X.prototype = oe, [["$ms", a], ["$s", s], ["$m", c], ["$H", u], ["$W", A], ["$M", p], ["$y", m], ["$D", I]].forEach(function(K) {
|
|
9762
|
+
oe[K[1]] = function(q) {
|
|
9763
|
+
return this.$g(q, K[0], K[1]);
|
|
9764
|
+
};
|
|
9765
|
+
}), X.extend = function(K, q) {
|
|
9766
|
+
return K.$i || (K(q, re, X), K.$i = !0), X;
|
|
9767
|
+
}, X.locale = U, X.isDayjs = W, X.unix = function(K) {
|
|
9768
|
+
return X(1e3 * K);
|
|
9769
|
+
}, X.en = D[T], X.Ls = D, X.p = {}, X;
|
|
9770
|
+
});
|
|
9771
|
+
})(pb);
|
|
9772
|
+
var hb = pb.exports;
|
|
9773
|
+
const Kr = /* @__PURE__ */ bo(hb), fF = (e) => {
|
|
9774
|
+
const t = e.split(":");
|
|
9775
|
+
t.length === 1 && t.push("00");
|
|
9776
|
+
const n = parseInt(t[0]), r = parseInt(t[1]);
|
|
9777
|
+
return Kr().hour(n).minute(r);
|
|
9778
|
+
};
|
|
9779
|
+
function wte() {
|
|
9780
|
+
let e = (/* @__PURE__ */ new Date()).getTime();
|
|
9781
|
+
return window.performance && typeof window.performance.now == "function" && (e += performance.now()), "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(n) {
|
|
9782
|
+
const r = (e + Math.random() * 16) % 16 | 0;
|
|
9783
|
+
return e = Math.floor(e / 16), (n == "x" ? r : r & 3 | 8).toString(16);
|
|
9784
|
+
});
|
|
9731
9785
|
}
|
|
9732
|
-
|
|
9733
|
-
const
|
|
9734
|
-
|
|
9735
|
-
|
|
9736
|
-
|
|
9737
|
-
|
|
9738
|
-
|
|
9739
|
-
}
|
|
9740
|
-
|
|
9741
|
-
|
|
9742
|
-
|
|
9743
|
-
|
|
9744
|
-
} else
|
|
9745
|
-
return null;
|
|
9746
|
-
}
|
|
9747
|
-
set(t, n) {
|
|
9748
|
-
return fo().required().validateSync(t), Os(this, Mi, zs).call(this) ? (localStorage.setItem(t, JSON.stringify(n)), n) : null;
|
|
9749
|
-
}
|
|
9750
|
-
watch(t, n) {
|
|
9751
|
-
fo().required().validateSync(t), aI.validateSync(n), Os(this, Mi, zs).call(this) && (bn(this, Wo).push({ key: t, callback: n }), window.addEventListener("storage", (r) => {
|
|
9752
|
-
r.storageArea === localStorage && r.key === t && n(this.get(t));
|
|
9753
|
-
}));
|
|
9754
|
-
}
|
|
9755
|
-
unwatch(t, n) {
|
|
9756
|
-
fo().required().validateSync(t), aI.optional().default(_.identity).validateSync(n), Os(this, Mi, zs).call(this) && (n !== void 0 ? Mo(this, Wo, _.reject(bn(this, Wo), (r) => r.key === t && r.callback === n)) : Mo(this, Wo, _.reject(bn(this, Wo), (r) => r.key === t)));
|
|
9786
|
+
function Cb(e = {}, t = [], n = {}) {
|
|
9787
|
+
const { isEmpty: r = _.isEmpty } = n;
|
|
9788
|
+
return !_.some(t, (o) => r((e ?? {})[o.locale]));
|
|
9789
|
+
}
|
|
9790
|
+
function mb(e, t, n) {
|
|
9791
|
+
if (!_.isPlainObject(e) || t === void 0)
|
|
9792
|
+
return;
|
|
9793
|
+
const r = _.isPlainObject(n) ? n : {}, o = !!((r == null ? void 0 : r.fallback) ?? !0);
|
|
9794
|
+
let a = e[String(t)];
|
|
9795
|
+
if (a === void 0 && o) {
|
|
9796
|
+
const s = _.isArray(r.fallbackLocales) && !_.isEmpty(r.fallbackLocales) ? r.fallbackLocales : ["en"];
|
|
9797
|
+
a = _.chain(s).map((c) => e[String(c)]).reject(_.isUndefined).first().value(), a === void 0 && (a = _.chain(e).values().first().value());
|
|
9757
9798
|
}
|
|
9799
|
+
return a;
|
|
9758
9800
|
}
|
|
9759
|
-
|
|
9760
|
-
return typeof window < "u";
|
|
9761
|
-
};
|
|
9762
|
-
function mb(e) {
|
|
9801
|
+
function Eb(e) {
|
|
9763
9802
|
const [t] = rA();
|
|
9764
9803
|
return e !== void 0 ? String(e) : t;
|
|
9765
9804
|
}
|
|
9766
|
-
function
|
|
9767
|
-
const n =
|
|
9768
|
-
return
|
|
9805
|
+
function Tte(e, t) {
|
|
9806
|
+
const n = Eb(t == null ? void 0 : t.locale);
|
|
9807
|
+
return mb(e, n, t);
|
|
9769
9808
|
}
|
|
9770
|
-
function
|
|
9771
|
-
const t =
|
|
9809
|
+
function Ste(e) {
|
|
9810
|
+
const t = Eb(e == null ? void 0 : e.locale);
|
|
9772
9811
|
return Se(
|
|
9773
|
-
(r) =>
|
|
9812
|
+
(r) => mb(r, t, e),
|
|
9774
9813
|
[t, e]
|
|
9775
9814
|
);
|
|
9776
9815
|
}
|
|
9777
|
-
|
|
9778
|
-
function gF(e, t, n) {
|
|
9779
|
-
return function(r) {
|
|
9780
|
-
const o = _.isFunction(r) ? r(t) : r;
|
|
9781
|
-
return Ws.set(e, o), n(o), o;
|
|
9782
|
-
};
|
|
9783
|
-
}
|
|
9784
|
-
function Up(e, t) {
|
|
9785
|
-
var u;
|
|
9786
|
-
fo().required().validateSync(e);
|
|
9787
|
-
const [n, r] = je(Ws.get(e) ?? t), o = Kn(t), a = _.isEqual(o.current, t) ? o.current : t, s = Kn(), c = s.current;
|
|
9788
|
-
return Pe(() => {
|
|
9789
|
-
r(Ws.get(e) ?? a);
|
|
9790
|
-
}, [e, a, r]), Pe(() => {
|
|
9791
|
-
function A(f) {
|
|
9792
|
-
r(f);
|
|
9793
|
-
}
|
|
9794
|
-
return Ws.watch(e, A), () => {
|
|
9795
|
-
Ws.unwatch(e, A);
|
|
9796
|
-
};
|
|
9797
|
-
}, [e, r]), (e !== (c == null ? void 0 : c.key) || !_.isEqual(n, c == null ? void 0 : c.value)) && (s.current = { key: e, value: n, setter: gF(e, n, r) }), [n, ((u = s.current) == null ? void 0 : u.setter) ?? _.noop];
|
|
9798
|
-
}
|
|
9799
|
-
function fF(e) {
|
|
9816
|
+
function pF(e) {
|
|
9800
9817
|
if (!_.isPlainObject(e))
|
|
9801
9818
|
throw new Error("[useMemoizedObject]: param must be a plain JS object");
|
|
9802
9819
|
const [t, n] = je(e);
|
|
@@ -9819,7 +9836,7 @@ function Yp() {
|
|
|
9819
9836
|
handleToggle: a
|
|
9820
9837
|
};
|
|
9821
9838
|
}
|
|
9822
|
-
function
|
|
9839
|
+
function Pte(e, t) {
|
|
9823
9840
|
const [n, r] = je({ width: 1, height: 1 }), o = e.current;
|
|
9824
9841
|
return Pe(() => {
|
|
9825
9842
|
function a() {
|
|
@@ -9853,18 +9870,6 @@ function Ste(e, t) {
|
|
|
9853
9870
|
};
|
|
9854
9871
|
}, [o, t]), n;
|
|
9855
9872
|
}
|
|
9856
|
-
function Eb(e) {
|
|
9857
|
-
const t = en(), n = kr(), r = Zn(), o = t != null && t.id ? "edit" : "create";
|
|
9858
|
-
return Ze(() => {
|
|
9859
|
-
if (e === !1)
|
|
9860
|
-
return;
|
|
9861
|
-
const s = `resources.${r}.title`;
|
|
9862
|
-
return e || n(`resources.${r}.title.${o}`, {
|
|
9863
|
-
_: n(s, { _: s }),
|
|
9864
|
-
...t
|
|
9865
|
-
});
|
|
9866
|
-
}, [o, t, r, n, e]);
|
|
9867
|
-
}
|
|
9868
9873
|
function Xr(e, t, n) {
|
|
9869
9874
|
const r = _.chain((e == null ? void 0 : e.sx) ?? {}).cloneDeepWith((s) => _.isFunction(s) ? s : void 0).value();
|
|
9870
9875
|
n != null && n.defaults ? _.defaultsDeep(r, t) : _.merge(r, t);
|
|
@@ -9873,7 +9878,7 @@ function Xr(e, t, n) {
|
|
|
9873
9878
|
_.isEqual(o, r) || a(r);
|
|
9874
9879
|
}, [o, r]), o;
|
|
9875
9880
|
}
|
|
9876
|
-
const
|
|
9881
|
+
const hF = le(i8, { shouldForwardProp: (e) => e !== "open" })(
|
|
9877
9882
|
({ theme: e, open: t }) => {
|
|
9878
9883
|
const { drawerWidth: n } = $n();
|
|
9879
9884
|
return {
|
|
@@ -18155,7 +18160,7 @@ function Pj({
|
|
|
18155
18160
|
sx: s,
|
|
18156
18161
|
...c
|
|
18157
18162
|
}) {
|
|
18158
|
-
const u =
|
|
18163
|
+
const u = fb(e), A = en();
|
|
18159
18164
|
return (
|
|
18160
18165
|
// @ts-ignore
|
|
18161
18166
|
/* @__PURE__ */ h(
|
|
@@ -18447,7 +18452,7 @@ var Hj = { exports: {} };
|
|
|
18447
18452
|
var zj = { exports: {} };
|
|
18448
18453
|
(function(e, t) {
|
|
18449
18454
|
(function(n, r) {
|
|
18450
|
-
e.exports = r(
|
|
18455
|
+
e.exports = r(hb);
|
|
18451
18456
|
})(Tn, function(n) {
|
|
18452
18457
|
function r(s) {
|
|
18453
18458
|
return s && typeof s == "object" && "default" in s ? s : { default: s };
|
|
@@ -18502,7 +18507,7 @@ function Jj({ variant: e = "body1", ...t }) {
|
|
|
18502
18507
|
return /* @__PURE__ */ h(qj, { ...t, variant: e });
|
|
18503
18508
|
}
|
|
18504
18509
|
function jte(e) {
|
|
18505
|
-
const t = _n(), n = iv(), { source: r = "" } = e, o = Il(e), a = o[r], s = !
|
|
18510
|
+
const t = _n(), n = iv(), { source: r = "" } = e, o = Il(e), a = o[r], s = !Cb(a, n), c = Xr(e, { flex: 1 }), [u] = rA(), A = Ze(() => s ? /* @__PURE__ */ h(a3, { style: { color: t.palette.warning.main } }) : /* @__PURE__ */ h(s3, {}), [s]), f = Ze(() => /* @__PURE__ */ h(xt, { children: _.map(n, (p, C) => /* @__PURE__ */ h(Ce, { children: `${p.locale.toUpperCase()}: ${(a ?? {})[p.locale] ?? ""}` }, C)) }), [a, n]);
|
|
18506
18511
|
return /* @__PURE__ */ h(bh, { title: f, arrow: !1, children: /* @__PURE__ */ $(xt, { alignItems: "center", direction: "row", gap: 1, children: [
|
|
18507
18512
|
A,
|
|
18508
18513
|
/* @__PURE__ */ h(Jj, { ...e, source: `${r}.${u}`, sx: c })
|
|
@@ -18881,7 +18886,7 @@ function Yr(e) {
|
|
|
18881
18886
|
}
|
|
18882
18887
|
const uV = { vertical: "bottom", horizontal: "right" }, AV = { vertical: "top", horizontal: "right" };
|
|
18883
18888
|
function Xte(e) {
|
|
18884
|
-
const { source: t } = e, { fieldState: n } = B3(e), r = Ep({ name: t }), { error: o } = n, a = iv(), s = !
|
|
18889
|
+
const { source: t } = e, { fieldState: n } = B3(e), r = Ep({ name: t }), { error: o } = n, a = iv(), s = !Cb(r, a), [c] = rA(), [u, A] = je(c), [f, p] = je(null), C = !!f, m = Se((v) => p(C ? null : v.currentTarget), [C, p]), I = Se(() => p(null), [p]), B = Ze(() => _.map(a, (v, w) => /* @__PURE__ */ h(
|
|
18885
18890
|
WB,
|
|
18886
18891
|
{
|
|
18887
18892
|
onClick: () => {
|
|
@@ -19064,7 +19069,7 @@ function ine({ multiline: e = !1, ...t }) {
|
|
|
19064
19069
|
function hV(e) {
|
|
19065
19070
|
if (!e)
|
|
19066
19071
|
return "";
|
|
19067
|
-
const t =
|
|
19072
|
+
const t = fF(e);
|
|
19068
19073
|
return t ? t.format("HH:mm") : "";
|
|
19069
19074
|
}
|
|
19070
19075
|
function CV(e) {
|
|
@@ -19856,7 +19861,7 @@ function MQ(e) {
|
|
|
19856
19861
|
noPadding: c,
|
|
19857
19862
|
toolbar: u = /* @__PURE__ */ h(os, { children: /* @__PURE__ */ h(Za, { type: "button" }) }),
|
|
19858
19863
|
...A
|
|
19859
|
-
} = e, f =
|
|
19864
|
+
} = e, f = fb(t);
|
|
19860
19865
|
return /* @__PURE__ */ h(
|
|
19861
19866
|
Or,
|
|
19862
19867
|
{
|
|
@@ -19895,7 +19900,7 @@ function HV({ children: e, ...t }) {
|
|
|
19895
19900
|
MQ.Tab = rp.Tab;
|
|
19896
19901
|
MQ.TabStack = HV;
|
|
19897
19902
|
const zV = O.forwardRef((e, t) => {
|
|
19898
|
-
const { children: n, disabled: r, disableActions: o = !1, index: a, member: s, resource: c } = e, u = kr(), [A, f] = O.useState(!1), { total: p, remove: C } =
|
|
19903
|
+
const { children: n, disabled: r, disableActions: o = !1, index: a, member: s, resource: c } = e, u = kr(), [A, f] = O.useState(!1), { total: p, remove: C } = gF(), m = O.useCallback(() => {
|
|
19899
19904
|
f(!1), C(a);
|
|
19900
19905
|
}, [a, C]), I = Ze(
|
|
19901
19906
|
// @ts-ignore
|
|
@@ -20465,7 +20470,11 @@ function mU(e) {
|
|
|
20465
20470
|
}
|
|
20466
20471
|
});
|
|
20467
20472
|
}, [r.palette.mode]), Pe(() => {
|
|
20468
|
-
t.isImpersonating
|
|
20473
|
+
if (!t.isImpersonating) {
|
|
20474
|
+
console.warn("authProvider does not contain a method called isImpersonating", t);
|
|
20475
|
+
return;
|
|
20476
|
+
}
|
|
20477
|
+
t == null || t.isImpersonating().then((X) => {
|
|
20469
20478
|
var z;
|
|
20470
20479
|
v(!X && ((z = n == null ? void 0 : n.data) == null ? void 0 : z.needToChangePassword) === !0);
|
|
20471
20480
|
});
|
|
@@ -20730,7 +20739,11 @@ const SU = () => {
|
|
|
20730
20739
|
[t == null ? void 0 : t.stopImpersonating]
|
|
20731
20740
|
), [r, o] = je(!1);
|
|
20732
20741
|
return Pe(() => {
|
|
20733
|
-
|
|
20742
|
+
if (!t.isImpersonating) {
|
|
20743
|
+
console.warn("The authProvider does not support the isImpersonating feature", t);
|
|
20744
|
+
return;
|
|
20745
|
+
}
|
|
20746
|
+
t.isImpersonating().then((a) => o(a));
|
|
20734
20747
|
}, [t, o]), r ? /* @__PURE__ */ h(vo, { children: /* @__PURE__ */ $(Dr, { onClick: n, children: [
|
|
20735
20748
|
/* @__PURE__ */ h(Pr, { children: /* @__PURE__ */ h(nv, {}) }),
|
|
20736
20749
|
/* @__PURE__ */ h(Gn, { primary: e("ra.auth.stop_impersonate") })
|
|
@@ -26592,19 +26605,19 @@ function Yx(e) {
|
|
|
26592
26605
|
}
|
|
26593
26606
|
var h_ = /* @__PURE__ */ Object.freeze({
|
|
26594
26607
|
__proto__: null,
|
|
26595
|
-
|
|
26608
|
+
addClasses: Wx,
|
|
26609
|
+
classNamesToQuery: Yx,
|
|
26596
26610
|
getElementDocument: Hx,
|
|
26611
|
+
getElementWindow: Vx,
|
|
26597
26612
|
getOptions: zx,
|
|
26598
|
-
|
|
26599
|
-
removeClasses: Ux,
|
|
26600
|
-
classNamesToQuery: Yx
|
|
26613
|
+
removeClasses: Ux
|
|
26601
26614
|
}), Fo = Vx, Kg = Hx, C_ = zx, Lo = Wx, No = Ux, yn = Yx, _c = (
|
|
26602
26615
|
/** @class */
|
|
26603
26616
|
function() {
|
|
26604
26617
|
function e(t, n) {
|
|
26605
26618
|
n === void 0 && (n = {});
|
|
26606
26619
|
var r = this;
|
|
26607
|
-
if (this.removePreventClickId = null, this.minScrollbarWidth = 20, this.stopScrollDelay = 175, this.isScrolling = !1, this.isMouseEntering = !1, this.scrollXTicking = !1, this.scrollYTicking = !1, this.wrapperEl = null, this.contentWrapperEl = null, this.contentEl = null, this.offsetEl = null, this.maskEl = null, this.placeholderEl = null, this.heightAutoObserverWrapperEl = null, this.heightAutoObserverEl = null, this.rtlHelpers = null, this.scrollbarWidth = 0, this.resizeObserver = null, this.mutationObserver = null, this.elStyles = null, this.isRtl = null, this.mouseX = 0, this.mouseY = 0, this.onMouseMove = function() {
|
|
26620
|
+
if (this.removePreventClickId = null, this.minScrollbarWidth = 20, this.stopScrollDelay = 175, this.isScrolling = !1, this.isMouseEntering = !1, this.isDragging = !1, this.scrollXTicking = !1, this.scrollYTicking = !1, this.wrapperEl = null, this.contentWrapperEl = null, this.contentEl = null, this.offsetEl = null, this.maskEl = null, this.placeholderEl = null, this.heightAutoObserverWrapperEl = null, this.heightAutoObserverEl = null, this.rtlHelpers = null, this.scrollbarWidth = 0, this.resizeObserver = null, this.mutationObserver = null, this.elStyles = null, this.isRtl = null, this.mouseX = 0, this.mouseY = 0, this.onMouseMove = function() {
|
|
26608
26621
|
}, this.onWindowResize = function() {
|
|
26609
26622
|
}, this.onStopScrolling = function() {
|
|
26610
26623
|
}, this.onMouseEntered = function() {
|
|
@@ -26643,8 +26656,9 @@ var h_ = /* @__PURE__ */ Object.freeze({
|
|
|
26643
26656
|
r.draggedAxis === "x" && r.isRtl && (W = !((B = e.getRtlHelpers()) === null || B === void 0) && B.isScrollingToNegative ? -W : W), r.contentWrapperEl[r.axis[r.draggedAxis].scrollOffsetAttr] = W;
|
|
26644
26657
|
}
|
|
26645
26658
|
}, this.onEndDrag = function(o) {
|
|
26659
|
+
r.isDragging = !1;
|
|
26646
26660
|
var a = Kg(r.el), s = Fo(r.el);
|
|
26647
|
-
o.preventDefault(), o.stopPropagation(), No(r.el, r.classNames.dragging), a.removeEventListener("mousemove", r.drag, !0), a.removeEventListener("mouseup", r.onEndDrag, !0), r.removePreventClickId = s.setTimeout(function() {
|
|
26661
|
+
o.preventDefault(), o.stopPropagation(), No(r.el, r.classNames.dragging), r.onStopScrolling(), a.removeEventListener("mousemove", r.drag, !0), a.removeEventListener("mouseup", r.onEndDrag, !0), r.removePreventClickId = s.setTimeout(function() {
|
|
26648
26662
|
a.removeEventListener("click", r.preventClick, !0), a.removeEventListener("dblclick", r.preventClick, !0), r.removePreventClickId = null;
|
|
26649
26663
|
});
|
|
26650
26664
|
}, this.preventClick = function(o) {
|
|
@@ -26774,7 +26788,7 @@ var h_ = /* @__PURE__ */ Object.freeze({
|
|
|
26774
26788
|
}, e.prototype.showScrollbar = function(t) {
|
|
26775
26789
|
t === void 0 && (t = "y"), this.axis[t].isOverflowing && !this.axis[t].scrollbar.isVisible && (Lo(this.axis[t].scrollbar.el, this.classNames.visible), this.axis[t].scrollbar.isVisible = !0);
|
|
26776
26790
|
}, e.prototype.hideScrollbar = function(t) {
|
|
26777
|
-
t === void 0 && (t = "y"), this.axis[t].isOverflowing && this.axis[t].scrollbar.isVisible && (No(this.axis[t].scrollbar.el, this.classNames.visible), this.axis[t].scrollbar.isVisible = !1);
|
|
26791
|
+
t === void 0 && (t = "y"), !this.isDragging && this.axis[t].isOverflowing && this.axis[t].scrollbar.isVisible && (No(this.axis[t].scrollbar.el, this.classNames.visible), this.axis[t].scrollbar.isVisible = !1);
|
|
26778
26792
|
}, e.prototype.hideNativeScrollbar = function() {
|
|
26779
26793
|
this.offsetEl && (this.offsetEl.style[this.isRtl ? "left" : "right"] = this.axis.y.isOverflowing || this.axis.y.forceVisible ? "-".concat(this.scrollbarWidth, "px") : "0px", this.offsetEl.style.bottom = this.axis.x.isOverflowing || this.axis.x.forceVisible ? "-".concat(this.scrollbarWidth, "px") : "0px");
|
|
26780
26794
|
}, e.prototype.onMouseMoveForAxis = function(t) {
|
|
@@ -26785,7 +26799,7 @@ var h_ = /* @__PURE__ */ Object.freeze({
|
|
|
26785
26799
|
t === void 0 && (t = "y"), No(this.axis[t].track.el, this.classNames.hover), No(this.axis[t].scrollbar.el, this.classNames.hover), this.options.autoHide && this.hideScrollbar(t);
|
|
26786
26800
|
}, e.prototype.onDragStart = function(t, n) {
|
|
26787
26801
|
var r;
|
|
26788
|
-
n === void 0 && (n = "y");
|
|
26802
|
+
n === void 0 && (n = "y"), this.isDragging = !0;
|
|
26789
26803
|
var o = Kg(this.el), a = Fo(this.el), s = this.axis[n].scrollbar, c = n === "y" ? t.pageY : t.pageX;
|
|
26790
26804
|
this.axis[n].dragOffset = c - (((r = s.rect) === null || r === void 0 ? void 0 : r[this.axis[n].offsetAttr]) || 0), this.draggedAxis = n, Lo(this.el, this.classNames.dragging), o.addEventListener("mousemove", this.drag, !0), o.addEventListener("mouseup", this.onEndDrag, !0), this.removePreventClickId === null ? (o.addEventListener("click", this.preventClick, !0), o.addEventListener("dblclick", this.preventClick, !0)) : (a.clearTimeout(this.removePreventClickId), this.removePreventClickId = null);
|
|
26791
26805
|
}, e.prototype.onTrackClick = function(t, n) {
|
|
@@ -28284,7 +28298,7 @@ function tw() {
|
|
|
28284
28298
|
return ew().dispatch;
|
|
28285
28299
|
}
|
|
28286
28300
|
function __(e) {
|
|
28287
|
-
Wp({ id: fo().required(), step:
|
|
28301
|
+
Wp({ id: fo().required(), step: ub().required() }).validateSync(e);
|
|
28288
28302
|
const { id: t, step: n, completeOnboarding: r } = e, { show: o, tips: a, currentStep: s } = Z_(), c = _.find(a, { id: t }), { dismissed: u } = c ?? {}, A = tw(), f = Se(() => {
|
|
28289
28303
|
A({
|
|
28290
28304
|
type: ol.DISMISS_TIP,
|
|
@@ -32588,8 +32602,8 @@ class rte {
|
|
|
32588
32602
|
column: t.colno,
|
|
32589
32603
|
stack: (c = t.error) == null ? void 0 : c.stack
|
|
32590
32604
|
})
|
|
32591
|
-
}).catch(() => {
|
|
32592
|
-
console.
|
|
32605
|
+
}).catch((u) => {
|
|
32606
|
+
console.warn("Unable to send error to server", u), bn(this, Na).delete(s);
|
|
32593
32607
|
}));
|
|
32594
32608
|
}
|
|
32595
32609
|
}
|
|
@@ -32696,7 +32710,7 @@ const Rne = ({ apiUrl: e, endpoint: t = "/languages/load", mapper: n = ({ data:
|
|
|
32696
32710
|
}, [e, t, n]), r;
|
|
32697
32711
|
};
|
|
32698
32712
|
function ste(e) {
|
|
32699
|
-
const [t, n] = je(), r =
|
|
32713
|
+
const [t, n] = je(), r = pF(e);
|
|
32700
32714
|
return Pe(() => {
|
|
32701
32715
|
ate(r).then((o) => {
|
|
32702
32716
|
n(o);
|
|
@@ -32903,7 +32917,7 @@ export {
|
|
|
32903
32917
|
H_ as Loader,
|
|
32904
32918
|
nQ as LoadingButton,
|
|
32905
32919
|
tre as LoadingIndicator,
|
|
32906
|
-
|
|
32920
|
+
AF as LocalStorage,
|
|
32907
32921
|
jte as LocalizedTextField,
|
|
32908
32922
|
Xte as LocalizedTextInput,
|
|
32909
32923
|
S$ as LoginPage,
|
|
@@ -32978,14 +32992,14 @@ export {
|
|
|
32978
32992
|
hre as choices,
|
|
32979
32993
|
ate as createI18nProvider,
|
|
32980
32994
|
Cre as email,
|
|
32981
|
-
|
|
32982
|
-
|
|
32995
|
+
mb as getLocalizedValue,
|
|
32996
|
+
Cb as localizedValueHasAllLocales,
|
|
32983
32997
|
mre as maxLength,
|
|
32984
32998
|
Ere as maxValue,
|
|
32985
32999
|
Ire as minLength,
|
|
32986
33000
|
Bre as minValue,
|
|
32987
33001
|
vre as number,
|
|
32988
|
-
|
|
33002
|
+
fF as parseTime,
|
|
32989
33003
|
bre as regex,
|
|
32990
33004
|
yre as required,
|
|
32991
33005
|
ns as useAppConfig,
|
|
@@ -32999,7 +33013,7 @@ export {
|
|
|
32999
33013
|
Rre as useEditContext,
|
|
33000
33014
|
Ore as useGetIdentity,
|
|
33001
33015
|
Dre as useGetList,
|
|
33002
|
-
|
|
33016
|
+
Ste as useGetLocalizedValue,
|
|
33003
33017
|
Mre as useGetMany,
|
|
33004
33018
|
kre as useGetManyReference,
|
|
33005
33019
|
Fre as useGetOne,
|
|
@@ -33017,36 +33031,36 @@ export {
|
|
|
33017
33031
|
Nre as useListContext,
|
|
33018
33032
|
Up as useLocalStorage,
|
|
33019
33033
|
jre as useLocaleState,
|
|
33020
|
-
|
|
33021
|
-
|
|
33034
|
+
Tte as useLocalizedValue,
|
|
33035
|
+
pF as useMemoizedObject,
|
|
33022
33036
|
$v as useMenu,
|
|
33023
33037
|
Wa as useMenuConfig,
|
|
33024
33038
|
Vre as useNotify,
|
|
33025
33039
|
Hre as usePermissions,
|
|
33026
33040
|
Yp as usePopoverState,
|
|
33027
33041
|
zre as useRecordContext,
|
|
33028
|
-
|
|
33042
|
+
Pte as useRefDimensions,
|
|
33029
33043
|
Wre as useRefresh,
|
|
33030
33044
|
Ure as useResourceContext,
|
|
33031
33045
|
sne as useResourceDefaultValues,
|
|
33032
33046
|
Yre as useResourceDefinition,
|
|
33033
33047
|
Gre as useResourceDefinitions,
|
|
33034
|
-
|
|
33048
|
+
fb as useResourceTitle,
|
|
33035
33049
|
Ene as useRestartOnboarding,
|
|
33036
33050
|
Kre as useShowContext,
|
|
33037
33051
|
qre as useShowController,
|
|
33038
33052
|
Jre as useSimpleFormIterator,
|
|
33039
33053
|
Xre as useSimpleFormIteratorItem,
|
|
33040
33054
|
Xr as useSx,
|
|
33041
|
-
|
|
33042
|
-
|
|
33055
|
+
gF as useTableFormIterator,
|
|
33056
|
+
xte as useTableFormIteratorItem,
|
|
33043
33057
|
$n as useThemeConfig,
|
|
33044
33058
|
Zre as useTranslate,
|
|
33045
33059
|
_re as useTranslateLabel,
|
|
33046
33060
|
$re as useUnselect,
|
|
33047
33061
|
eoe as useUnselectAll,
|
|
33048
33062
|
toe as useUpdateMany,
|
|
33049
|
-
|
|
33063
|
+
wte as uuid,
|
|
33050
33064
|
EU as withLayoutProvider,
|
|
33051
33065
|
noe as withLifecycleCallbacks
|
|
33052
33066
|
};
|