reykit 1.0.254 → 1.0.255
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/index.js +6 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -50240,20 +50240,22 @@ function QI({
|
|
|
50240
50240
|
defaultFieldOption: R
|
|
50241
50241
|
}) {
|
|
50242
50242
|
const N = M0(C, b), [M, A] = Ia(N), [O, z] = Ia(1), [D, j] = Ia(
|
|
50243
|
-
u
|
|
50243
|
+
(u ?? Array.from(
|
|
50244
50244
|
new Set(
|
|
50245
50245
|
a.flatMap((X) => Object.keys(X))
|
|
50246
50246
|
)
|
|
50247
50247
|
).map((X) => ({
|
|
50248
50248
|
key: X,
|
|
50249
|
-
name: X
|
|
50250
|
-
|
|
50249
|
+
name: X
|
|
50250
|
+
}))).map((X) => ({
|
|
50251
|
+
...R || {},
|
|
50252
|
+
...X
|
|
50251
50253
|
}))
|
|
50252
50254
|
), [V, _] = Ia(""), [H, q] = Ia({}), k = a.filter((X) => (V === "" || f === void 0 || f.method(V, X)) && Object.entries(X).every(
|
|
50253
50255
|
([ee, te]) => !H[ee] || H[ee].length === 0 ? !0 : Array.isArray(te) ? te.some((F) => H[ee]?.includes(F)) : H[ee]?.includes(te)
|
|
50254
50256
|
)), $ = k.slice((O - 1) * M, O * M), [K, J] = Ia(y && []);
|
|
50255
50257
|
return T = T || OR(), B0(() => {
|
|
50256
|
-
|
|
50258
|
+
u || j(
|
|
50257
50259
|
Array.from(
|
|
50258
50260
|
new Set(
|
|
50259
50261
|
a.flatMap((X) => Object.keys(X))
|