@apexcura/ui-components 0.0.11-Beta187 → 0.0.11-Beta188

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 CHANGED
@@ -612,6 +612,8 @@ var import_react19 = __toESM(require("react"));
612
612
  var import_antd13 = require("antd");
613
613
  var TableElement = (props) => {
614
614
  const { thead, tbody } = props;
615
+ const onHandleSorter = (a) => {
616
+ };
615
617
  let columns = [];
616
618
  if (thead) {
617
619
  columns = [
@@ -624,7 +626,7 @@ var TableElement = (props) => {
624
626
  title: col.label,
625
627
  dataIndex: col.name,
626
628
  key: col.key,
627
- sorter: col.sorter,
629
+ sorter: onHandleSorter(col.key),
628
630
  onFilter: col.onFilter
629
631
  }))
630
632
  ];
package/dist/index.mjs CHANGED
@@ -561,6 +561,8 @@ import React18 from "react";
561
561
  import { Table as Table2 } from "antd";
562
562
  var TableElement = (props) => {
563
563
  const { thead, tbody } = props;
564
+ const onHandleSorter = (a) => {
565
+ };
564
566
  let columns = [];
565
567
  if (thead) {
566
568
  columns = [
@@ -573,7 +575,7 @@ var TableElement = (props) => {
573
575
  title: col.label,
574
576
  dataIndex: col.name,
575
577
  key: col.key,
576
- sorter: col.sorter,
578
+ sorter: onHandleSorter(col.key),
577
579
  onFilter: col.onFilter
578
580
  }))
579
581
  ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apexcura/ui-components",
3
- "version": "0.0.11-Beta187",
3
+ "version": "0.0.11-Beta188",
4
4
  "description": "Apex cura React components library",
5
5
  "keywords": [
6
6
  "apex cura",