@apexcura/ui-components 0.0.11-Beta184 → 0.0.11-Beta186
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 +3 -2
- package/dist/index.mjs +3 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -623,7 +623,9 @@ var TableElement = (props) => {
|
|
|
623
623
|
...thead.map((col) => ({
|
|
624
624
|
title: col.label,
|
|
625
625
|
dataIndex: col.name,
|
|
626
|
-
key: col.key
|
|
626
|
+
key: col.key,
|
|
627
|
+
sorter: col.sorter,
|
|
628
|
+
onFilter: col.onFilter
|
|
627
629
|
}))
|
|
628
630
|
];
|
|
629
631
|
}
|
|
@@ -632,7 +634,6 @@ var TableElement = (props) => {
|
|
|
632
634
|
[columns[0].key]: index + 1
|
|
633
635
|
}));
|
|
634
636
|
const onChange = (pagination, filters, sorter, extra) => {
|
|
635
|
-
console.log("params", pagination, filters, sorter, extra);
|
|
636
637
|
};
|
|
637
638
|
return /* @__PURE__ */ import_react19.default.createElement(
|
|
638
639
|
import_antd13.Table,
|
package/dist/index.mjs
CHANGED
|
@@ -572,7 +572,9 @@ var TableElement = (props) => {
|
|
|
572
572
|
...thead.map((col) => ({
|
|
573
573
|
title: col.label,
|
|
574
574
|
dataIndex: col.name,
|
|
575
|
-
key: col.key
|
|
575
|
+
key: col.key,
|
|
576
|
+
sorter: col.sorter,
|
|
577
|
+
onFilter: col.onFilter
|
|
576
578
|
}))
|
|
577
579
|
];
|
|
578
580
|
}
|
|
@@ -581,7 +583,6 @@ var TableElement = (props) => {
|
|
|
581
583
|
[columns[0].key]: index + 1
|
|
582
584
|
}));
|
|
583
585
|
const onChange = (pagination, filters, sorter, extra) => {
|
|
584
|
-
console.log("params", pagination, filters, sorter, extra);
|
|
585
586
|
};
|
|
586
587
|
return /* @__PURE__ */ React18.createElement(
|
|
587
588
|
Table2,
|