@gisce/react-ooui 2.123.1 → 2.123.2
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/{TabContent-59eb328a.mjs → TabContent-0cf3f3e6.mjs} +18 -13
- package/dist/TabContent-0cf3f3e6.mjs.map +1 -0
- package/dist/docs.es.js +1 -1
- package/dist/helpers/formHelper.d.ts.map +1 -1
- package/dist/react-ooui.es.js +2 -2
- package/package.json +1 -1
- package/dist/TabContent-59eb328a.mjs.map +0 -1
|
@@ -1207,31 +1207,36 @@ const om = ut(Mt)`
|
|
|
1207
1207
|
}) => {
|
|
1208
1208
|
const r = {};
|
|
1209
1209
|
return Object.keys(e).forEach((o) => {
|
|
1210
|
-
var a, d;
|
|
1210
|
+
var a, d, c;
|
|
1211
1211
|
if (n[o] ? n[o].type === "one2many" || n[o].type === "many2many" : !1) {
|
|
1212
|
-
const
|
|
1213
|
-
if (
|
|
1212
|
+
const l = JSON.stringify(t[o]), f = JSON.stringify(e[o]);
|
|
1213
|
+
if (l === f)
|
|
1214
1214
|
return;
|
|
1215
1215
|
(((d = (a = e[o]) == null ? void 0 : a.items) == null ? void 0 : d.filter(
|
|
1216
|
-
(
|
|
1216
|
+
(m) => m.operation !== "original"
|
|
1217
1217
|
)) || []).length > 0 && (r[o] = e[o]);
|
|
1218
1218
|
} else if (Array.isArray(e[o]))
|
|
1219
1219
|
if (n[o].type === "many2one") {
|
|
1220
1220
|
if (!ki(t[o]) && !ki(e[o]))
|
|
1221
1221
|
return;
|
|
1222
1222
|
if (Array.isArray(t[o])) {
|
|
1223
|
-
const
|
|
1224
|
-
|
|
1223
|
+
const l = JSON.stringify(t[o]), f = JSON.stringify(e[o]);
|
|
1224
|
+
l !== f && (r[o] = e[o]);
|
|
1225
1225
|
} else {
|
|
1226
|
-
const
|
|
1227
|
-
|
|
1226
|
+
const l = t[o], [f] = e[o];
|
|
1227
|
+
l !== f && (r[o] = e[o]);
|
|
1228
1228
|
}
|
|
1229
1229
|
} else {
|
|
1230
|
-
const
|
|
1231
|
-
|
|
1230
|
+
const l = JSON.stringify(t[o]), f = JSON.stringify(e[o]);
|
|
1231
|
+
l !== f && (r[o] = e[o]);
|
|
1232
1232
|
}
|
|
1233
|
-
else
|
|
1234
|
-
|
|
1233
|
+
else if (t[o] === void 0 && e[o] !== void 0)
|
|
1234
|
+
r[o] = e[o];
|
|
1235
|
+
else if (((c = n[o]) == null ? void 0 : c.type) === "json") {
|
|
1236
|
+
const l = typeof t[o] == "object" ? JSON.stringify(t[o], null, " ") : t[o], f = typeof e[o] == "object" ? JSON.stringify(e[o], null, " ") : e[o];
|
|
1237
|
+
l !== f && (r[o] = e[o]);
|
|
1238
|
+
} else
|
|
1239
|
+
t[o] !== e[o] && (e[o] === void 0 ? r[o] = null : r[o] = e[o]);
|
|
1235
1240
|
}), r;
|
|
1236
1241
|
}, vm = ({
|
|
1237
1242
|
changedFields: t,
|
|
@@ -25408,4 +25413,4 @@ export {
|
|
|
25408
25413
|
Wm as y,
|
|
25409
25414
|
KC as z
|
|
25410
25415
|
};
|
|
25411
|
-
//# sourceMappingURL=TabContent-
|
|
25416
|
+
//# sourceMappingURL=TabContent-0cf3f3e6.mjs.map
|