@applica-software-guru/react-admin 1.3.127 → 1.3.129
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/Error.d.ts.map +1 -1
- package/dist/components/ra-forms/LongForm/utils.d.ts.map +1 -1
- package/dist/react-admin.cjs.js +2 -2
- package/dist/react-admin.cjs.js.map +1 -1
- package/dist/react-admin.es.js +14 -3
- package/dist/react-admin.es.js.map +1 -1
- package/dist/react-admin.umd.js +6 -6
- package/dist/react-admin.umd.js.map +1 -1
- package/package.json +2 -2
- package/src/components/Layout/Error.tsx +9 -1
- package/src/components/ra-forms/LongForm/hooks.tsx +1 -1
- package/src/components/ra-forms/LongForm/utils.ts +3 -1
package/dist/react-admin.es.js
CHANGED
|
@@ -17556,7 +17556,8 @@ function zg(e) {
|
|
|
17556
17556
|
return e.id ?? e.label;
|
|
17557
17557
|
}
|
|
17558
17558
|
function bb(e, t) {
|
|
17559
|
-
|
|
17559
|
+
const n = `^${e}.`.replaceAll(".", "\\."), r = new RegExp(n, "g");
|
|
17560
|
+
return t.match(r) !== null;
|
|
17560
17561
|
}
|
|
17561
17562
|
function SN(e) {
|
|
17562
17563
|
return pe.map(e, "id");
|
|
@@ -17901,7 +17902,7 @@ function Hb(e) {
|
|
|
17901
17902
|
}
|
|
17902
17903
|
function Wb(e) {
|
|
17903
17904
|
const t = Sb();
|
|
17904
|
-
return bb(e, t ?? "");
|
|
17905
|
+
return e === t || bb(e, t ?? "");
|
|
17905
17906
|
}
|
|
17906
17907
|
function zb(e) {
|
|
17907
17908
|
const t = Rb();
|
|
@@ -23097,7 +23098,17 @@ function nh(e) {
|
|
|
23097
23098
|
return n ? /* @__PURE__ */ p(n, { error: t, errorInfo: r, title: a }) : /* @__PURE__ */ p(TA, { children: /* @__PURE__ */ $(jt, { alignItems: "center", px: 2, py: { xs: 4, sm: 8 }, spacing: 2, textAlign: "center", children: [
|
|
23098
23099
|
a && /* @__PURE__ */ p(EQ, { title: a }),
|
|
23099
23100
|
/* @__PURE__ */ p("img", { src: LQ, style: { width: "100%", maxWidth: 450, marginTop: A.spacing(4) } }),
|
|
23100
|
-
/* @__PURE__ */ p(
|
|
23101
|
+
/* @__PURE__ */ p(
|
|
23102
|
+
Ie,
|
|
23103
|
+
{
|
|
23104
|
+
variant: "h2",
|
|
23105
|
+
sx: {
|
|
23106
|
+
whiteSpace: "pre-wrap",
|
|
23107
|
+
wordBreak: "break-word"
|
|
23108
|
+
},
|
|
23109
|
+
children: l(u ? "ra.page.error" : t.message, { _: t.message })
|
|
23110
|
+
}
|
|
23111
|
+
),
|
|
23101
23112
|
!u && /* @__PURE__ */ p(Ie, { variant: "caption", children: l("ra.message.error_more_info") }),
|
|
23102
23113
|
r && /* @__PURE__ */ p(
|
|
23103
23114
|
Ie,
|