v0.6.51
This commit is contained in:
@@ -942,7 +942,7 @@ const _r = (t, e, n, i) => ae.redirect(n, e, i), Jr = (t, e = {}, n, i = {}) =>
|
||||
if (f.isFunction(t)) return f.partialRight(Fn, (r == null ? void 0 : r.code) || t, { status: c, setStatus: u });
|
||||
}
|
||||
return (...h) => console.error("useButton unknown widgetType", e, ...h);
|
||||
}, [t, e, l.getBase62params, l.getSelectedRows]);
|
||||
}, [t, e, r, a, l.getBase62params, l.getSelectedRows]);
|
||||
return [f.debounce((h) => (s == null || s(h), Promise.resolve(Tt(i, h, { list: l })).then((g) => p(h, { ...n, ...g })).then((g) => o == null ? void 0 : o(g)).catch(console.error)), 300, { leading: !0, trailing: !1 }), c];
|
||||
}, ui = ({ type: t, name: e, className: n, icon: i, iconPosition: r, size: a }, o = "default") => z(() => {
|
||||
const s = { type: "primary", className: j("ff-button", n), iconPosition: r, size: a };
|
||||
Reference in New Issue
Block a user