v0.4.33
This commit is contained in:
@@ -307,7 +307,7 @@ const ea = pt.getInstance(), kt = C.forwardRef(({ listCode: e, base62params: t,
|
||||
}, [e]), C.useImperativeHandle(o, () => ({ onReload: rt, onClickCallback: Et })), u(Xa, { listCode: e, title: I, itemClassName: n, classNames: i, resource: l, primaryKey: c, theme: r || y, themeProps: s || f, isTreeSider: w, treeSiderConfig: v, isPaginate: O, tabs: S, isItemOperations: wa, isBatchOperations: Ca, batchOperations: d, itemOperations: h, isItemGridLayout: j, columns: m, itemGridLayout: W, isConditionFormLayout: b, itemOperationsAccess: H, dataSource: B, onConditionChange: Tt, onTabChange: pa, onKeywordChange: ma, onPageChange: ha, onPageSizeChange: fa, onSiderChange: ya, condition: U, tab: L, keyword: se, page: M, total: Fe, pageSize: Se, sider: nt, className: R("ff-data-list-helper", a), onReload: rt, onClickCallback: Et });
|
||||
}), ta = (e, t, a, n, r = {}, s = 0) => {
|
||||
const i = { "--grid-layout-h": `${n}`, "--grid-layout-w": `${a}`, "--grid-layout-x": `${e}`, "--grid-layout-y": `${t}`, "--grid-layout-row-height-offset": "0px" };
|
||||
return r != null && r.autoHeight ? i.height = "fit-content" : i["--grid-layout-row"] = `${n}`, i["--grid-layout-box-margin"] = jt(r == null ? void 0 : r.marginTop, r == null ? void 0 : r.marginRight, r == null ? void 0 : r.marginBottom, r == null ? void 0 : r.marginLeft), i["--grid-layout-box-padding"] = jt(r == null ? void 0 : r.paddingTop, r == null ? void 0 : r.paddingRight, r == null ? void 0 : r.paddingBottom, r == null ? void 0 : r.paddingLeft), s && (i.height = `${s}px`), i;
|
||||
return r != null && r.autoHeight ? i.height = "fit-content" : i["--grid-layout-row"] = `${n}`, r != null && r.alignItems && (i["--grid-layout-box-align-items"] = r.alignItems), r != null && r.justifyContent && (i["--grid-layout-box-justify-content"] = r.justifyContent), i["--grid-layout-box-margin"] = jt(r == null ? void 0 : r.marginTop, r == null ? void 0 : r.marginRight, r == null ? void 0 : r.marginBottom, r == null ? void 0 : r.marginLeft), i["--grid-layout-box-padding"] = jt(r == null ? void 0 : r.paddingTop, r == null ? void 0 : r.paddingRight, r == null ? void 0 : r.paddingBottom, r == null ? void 0 : r.paddingLeft), s && (i.height = `${s}px`), i;
|
||||
}, jt = (e, t, a, n) => `${e || 0}px ${t || 0}px ${a || 0}px ${n || 0}px`, vt = ({ className: e, isConditionFormLayout: t }) => {
|
||||
var h, m;
|
||||
const [a, n] = $({}), { listCode: r, onKeywordChange: s, onConditionChange: i, getBase62params: o } = C.useContext(ve), { keyword: l, condition: c } = (o == null ? void 0 : o()) || {}, [d] = _e.useForm();
|
||||
Reference in New Issue
Block a user