v0.6.53
This commit is contained in:
@@ -262,7 +262,7 @@ const sr = (t) => function(e) {
|
||||
Rt(() => {
|
||||
o.current = [], t && a(e);
|
||||
}, [t, e]);
|
||||
const s = z(() => y.pick(i.current, ["total", "tab", "page", "pageSize", "condition", "sider", "keyword"]), [i.current]);
|
||||
const s = z(() => y.pick(i.current, ["total", "tab", "page", "pageSize", "condition", "sider", "keyword", "primaryKey"]), [i.current]);
|
||||
return Object.assign(s, { onTabChange: (l) => a({ tab: l, page: 1 }), onPageChange: (l, c) => a({ page: l, pageSize: c }), onPageSizeChange: (l) => a({ pageSize: l, page: 1 }), onConditionChange: (l, c) => a({ keyword: c, condition: Wn(i.current.condition || {}, { $merge: l || {} }), page: 1 }), onSiderChange: (l) => a({ sider: l, page: 1 }), onKeywordChange: (l) => a({ keyword: l, page: 1 }), itemOperationsAccess: r.current, dataSource: o.current, onReload: a, payload: e == null ? void 0 : e.payload });
|
||||
}, gr = ({ listCode: t, className: e, layouts: n = {}, dataSource: i, isPaginate: r, isItemOperations: o, isBatchOperations: a, batchOperations: s, itemOperations: l, itemOperationsAccess: c, resource: u, primaryKey: p, title: m, itemGridLayout: g, $setting: w, tabs: f, isConditionFormLayout: S, isTreeSider: b, treeSiderConfig: P, rowSelection: k }) => {
|
||||
const { classNames: $, onClickCallback: F } = ge(le), A = y.pick(w, ["column", "colWidth", "beforeRender", "afterRender", "style", "itemMargin", "containerPadding"]), O = w == null ? void 0 : w.isMarkSelected, N = Jn(l, c, p, u), V = G((v, M, D) => h(hr, { isMarkSelected: O, className: j("ff-data-list-framework-item", $ == null ? void 0 : $.item), operations: o ? N(M) : [], data: u ? { [u]: M } : M, children: v, onClickCallback: F }), [O, u, p, o, F, l, c]);
|
||||
@@ -561,7 +561,7 @@ const we = class we {
|
||||
P.element = E.createElement(Tr, { component: m, $props: w });
|
||||
break;
|
||||
case "fsdpf-component":
|
||||
P.element = E.createElement(Or, { key: m, component: m, $setting: g, $props: w });
|
||||
P.element = E.createElement(Or, { key: c, component: m, $setting: g, $props: w });
|
||||
}
|
||||
const $ = (b == null ? void 0 : b.theme) ?? (b == null ? void 0 : b.layout);
|
||||
if ($) {
|
||||
Reference in New Issue
Block a user