@gisce/react-ooui 2.123.0-alpha.11 → 2.123.0-alpha.12
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-9432be40.mjs → TabContent-3e3defb5.mjs} +21 -15
- package/dist/TabContent-3e3defb5.mjs.map +1 -0
- package/dist/docs.es.js +1 -1
- package/dist/helpers/searchHelper.d.ts.map +1 -1
- package/dist/react-ooui.es.js +2 -2
- package/package.json +1 -1
- package/dist/TabContent-9432be40.mjs.map +0 -1
|
@@ -4842,21 +4842,27 @@ const Vp = ({
|
|
|
4842
4842
|
fixedHeight: a
|
|
4843
4843
|
}
|
|
4844
4844
|
);
|
|
4845
|
-
}, Ui = (t) => typeof t == "string" && t === "true" || t === "false" ? t === "true" : t, Bp = (t) => {
|
|
4846
|
-
const
|
|
4847
|
-
t.forEach((
|
|
4848
|
-
if (Array.isArray(
|
|
4849
|
-
const [
|
|
4850
|
-
(
|
|
4845
|
+
}, Ui = (t) => typeof t == "string" && t === "true" || t === "false" ? t === "true" : t, Bp = (t, e) => {
|
|
4846
|
+
const n = {};
|
|
4847
|
+
t.forEach((a, d) => {
|
|
4848
|
+
if (Array.isArray(a) && a.length === 3) {
|
|
4849
|
+
const [c, l, f] = a;
|
|
4850
|
+
(l === ">=" || l === "<=") && (n[c] || (n[c] = { index: {} }), l === ">=" ? (n[c].gte = f, n[c].index.gte = d) : (n[c].lte = f, n[c].index.lte = d));
|
|
4851
4851
|
}
|
|
4852
4852
|
});
|
|
4853
|
-
const
|
|
4854
|
-
return Object.entries(
|
|
4855
|
-
|
|
4856
|
-
|
|
4857
|
-
|
|
4858
|
-
|
|
4859
|
-
|
|
4853
|
+
const r = [], o = [];
|
|
4854
|
+
return Object.entries(n).forEach(([a, { gte: d, lte: c, index: l }]) => {
|
|
4855
|
+
var f;
|
|
4856
|
+
if (d !== void 0 && c !== void 0 && d === c) {
|
|
4857
|
+
const u = (f = e == null ? void 0 : e.findById(a)) == null ? void 0 : f.type;
|
|
4858
|
+
if (u === "date" || u === "datetime")
|
|
4859
|
+
return;
|
|
4860
|
+
o.push({ index: l.gte, param: [a, "=", d] }), r.push(l.lte);
|
|
4861
|
+
}
|
|
4862
|
+
}), t.map((a, d) => {
|
|
4863
|
+
const c = o.find((l) => l.index === d);
|
|
4864
|
+
return c ? c.param : a;
|
|
4865
|
+
}).filter((a, d) => !r.includes(d));
|
|
4860
4866
|
}, Mr = (t, e, n) => {
|
|
4861
4867
|
const r = Yp(t), o = Wp(r), i = zp(
|
|
4862
4868
|
o,
|
|
@@ -4869,7 +4875,7 @@ const Vp = ({
|
|
|
4869
4875
|
n
|
|
4870
4876
|
))
|
|
4871
4877
|
].reduce((c, l) => Array.isArray(l[0]) ? c.concat(l) : [...c, l], []);
|
|
4872
|
-
return Bp(d);
|
|
4878
|
+
return Bp(d, e);
|
|
4873
4879
|
}, Hp = (t, e, n, r) => {
|
|
4874
4880
|
var f;
|
|
4875
4881
|
const o = t.split("#")[0], i = n.findById(o), a = i == null ? void 0 : i.type, d = (f = i == null ? void 0 : i.raw_props) == null ? void 0 : f.widget, c = i == null ? void 0 : i.fieldType;
|
|
@@ -25381,4 +25387,4 @@ export {
|
|
|
25381
25387
|
Wm as y,
|
|
25382
25388
|
GC as z
|
|
25383
25389
|
};
|
|
25384
|
-
//# sourceMappingURL=TabContent-
|
|
25390
|
+
//# sourceMappingURL=TabContent-3e3defb5.mjs.map
|