@apexcura/ui-components 0.0.11-Beta185 → 0.0.11-Beta187
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 -3
- package/dist/index.mjs +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -397,7 +397,7 @@ var ButtonElement = (props) => {
|
|
|
397
397
|
onClick: handleClick,
|
|
398
398
|
className: `${props.className ? props.className : ""}`
|
|
399
399
|
},
|
|
400
|
-
props.icon && /* @__PURE__ */ import_react12.default.createElement("
|
|
400
|
+
props.icon && /* @__PURE__ */ import_react12.default.createElement("img", { src: props.img }),
|
|
401
401
|
props.label
|
|
402
402
|
);
|
|
403
403
|
};
|
|
@@ -624,7 +624,8 @@ var TableElement = (props) => {
|
|
|
624
624
|
title: col.label,
|
|
625
625
|
dataIndex: col.name,
|
|
626
626
|
key: col.key,
|
|
627
|
-
sorter: col.sorter
|
|
627
|
+
sorter: col.sorter,
|
|
628
|
+
onFilter: col.onFilter
|
|
628
629
|
}))
|
|
629
630
|
];
|
|
630
631
|
}
|
|
@@ -633,7 +634,6 @@ var TableElement = (props) => {
|
|
|
633
634
|
[columns[0].key]: index + 1
|
|
634
635
|
}));
|
|
635
636
|
const onChange = (pagination, filters, sorter, extra) => {
|
|
636
|
-
console.log("params", pagination, filters, sorter, extra);
|
|
637
637
|
};
|
|
638
638
|
return /* @__PURE__ */ import_react19.default.createElement(
|
|
639
639
|
import_antd13.Table,
|
package/dist/index.mjs
CHANGED
|
@@ -346,7 +346,7 @@ var ButtonElement = (props) => {
|
|
|
346
346
|
onClick: handleClick,
|
|
347
347
|
className: `${props.className ? props.className : ""}`
|
|
348
348
|
},
|
|
349
|
-
props.icon && /* @__PURE__ */ React11.createElement("
|
|
349
|
+
props.icon && /* @__PURE__ */ React11.createElement("img", { src: props.img }),
|
|
350
350
|
props.label
|
|
351
351
|
);
|
|
352
352
|
};
|
|
@@ -573,7 +573,8 @@ var TableElement = (props) => {
|
|
|
573
573
|
title: col.label,
|
|
574
574
|
dataIndex: col.name,
|
|
575
575
|
key: col.key,
|
|
576
|
-
sorter: col.sorter
|
|
576
|
+
sorter: col.sorter,
|
|
577
|
+
onFilter: col.onFilter
|
|
577
578
|
}))
|
|
578
579
|
];
|
|
579
580
|
}
|
|
@@ -582,7 +583,6 @@ var TableElement = (props) => {
|
|
|
582
583
|
[columns[0].key]: index + 1
|
|
583
584
|
}));
|
|
584
585
|
const onChange = (pagination, filters, sorter, extra) => {
|
|
585
|
-
console.log("params", pagination, filters, sorter, extra);
|
|
586
586
|
};
|
|
587
587
|
return /* @__PURE__ */ React18.createElement(
|
|
588
588
|
Table2,
|