@apexcura/ui-components 0.0.14-Beta264 → 0.0.14-Beta266

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
@@ -753,9 +753,7 @@ var import_antd13 = require("antd");
753
753
  var import_icons5 = require("@ant-design/icons");
754
754
  var TableElement = (props) => {
755
755
  const { thead, tbody } = props;
756
- const [selectedRecord, setSelectedRecord] = (0, import_react19.useState)({});
757
756
  const [dataSource, setDataSource] = (0, import_react19.useState)([]);
758
- console.log(selectedRecord);
759
757
  const defaultVal = props.value;
760
758
  (0, import_react19.useEffect)(() => {
761
759
  if (tbody) {
@@ -812,7 +810,6 @@ var TableElement = (props) => {
812
810
  {
813
811
  onClick: () => {
814
812
  if (props.view) {
815
- setSelectedRecord(record);
816
813
  handleChange(record);
817
814
  }
818
815
  }
@@ -866,7 +863,6 @@ var TableElement = (props) => {
866
863
  return {
867
864
  onClick: () => {
868
865
  if (props.view) {
869
- setSelectedRecord(record);
870
866
  handleChange(record);
871
867
  }
872
868
  },
package/dist/index.mjs CHANGED
@@ -687,9 +687,7 @@ import { Table as Table2 } from "antd";
687
687
  import { EyeOutlined } from "@ant-design/icons";
688
688
  var TableElement = (props) => {
689
689
  const { thead, tbody } = props;
690
- const [selectedRecord, setSelectedRecord] = useState5({});
691
690
  const [dataSource, setDataSource] = useState5([]);
692
- console.log(selectedRecord);
693
691
  const defaultVal = props.value;
694
692
  useEffect2(() => {
695
693
  if (tbody) {
@@ -746,7 +744,6 @@ var TableElement = (props) => {
746
744
  {
747
745
  onClick: () => {
748
746
  if (props.view) {
749
- setSelectedRecord(record);
750
747
  handleChange(record);
751
748
  }
752
749
  }
@@ -800,7 +797,6 @@ var TableElement = (props) => {
800
797
  return {
801
798
  onClick: () => {
802
799
  if (props.view) {
803
- setSelectedRecord(record);
804
800
  handleChange(record);
805
801
  }
806
802
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apexcura/ui-components",
3
- "version": "0.0.14-Beta264",
3
+ "version": "0.0.14-Beta266",
4
4
  "description": "Apex cura React components library",
5
5
  "keywords": [
6
6
  "apex cura",