reykit 1.0.253 → 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 +9 -7
- 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))
|
|
@@ -50789,14 +50791,14 @@ function $I({
|
|
|
50789
50791
|
) }),
|
|
50790
50792
|
u.map(({ key: A, isBadge: O, isHide: z, defaultValue: D }, j) => {
|
|
50791
50793
|
const V = N[A];
|
|
50792
|
-
return !z && /* @__PURE__ */ v.jsx(fE, { children: /* @__PURE__ */ v.jsxs(b, { children: [
|
|
50794
|
+
return !z && /* @__PURE__ */ v.jsx(fE, { className: "max-w-xs", children: /* @__PURE__ */ v.jsxs(b, { children: [
|
|
50793
50795
|
/* @__PURE__ */ v.jsx(
|
|
50794
50796
|
C,
|
|
50795
50797
|
{
|
|
50796
50798
|
delay: 1500,
|
|
50797
50799
|
closeDelay: 1e3,
|
|
50798
50800
|
nativeButton: !1,
|
|
50799
|
-
render: /* @__PURE__ */ v.jsx("div", { className: "
|
|
50801
|
+
render: /* @__PURE__ */ v.jsx("div", { className: "truncate break-normal min-w-0", children: V == null ? D : JC(V, O) })
|
|
50800
50802
|
}
|
|
50801
50803
|
),
|
|
50802
50804
|
V != null && /* @__PURE__ */ v.jsx(
|
|
@@ -50805,7 +50807,7 @@ function $I({
|
|
|
50805
50807
|
align: "start",
|
|
50806
50808
|
sideOffset: -34,
|
|
50807
50809
|
alignOffset: -16,
|
|
50808
|
-
className: "w-max
|
|
50810
|
+
className: "w-max max-w-[100vw] md:max-w-[50vw] p-0 m-0 whitespace-pre-line break-all",
|
|
50809
50811
|
children: O || N0(V) || V instanceof Date || V == null || typeof V != "object" ? /* @__PURE__ */ v.jsx("div", { className: "flex-wrap p-2", children: JC(V, O) }) : /* @__PURE__ */ v.jsx(
|
|
50810
50812
|
f4,
|
|
50811
50813
|
{
|