@apexcura/ui-components 0.0.14-Beta153 → 0.0.14-Beta154

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
@@ -730,6 +730,7 @@ var ModelElement = (props) => {
730
730
  };
731
731
 
732
732
  // src/Components/TableElement.tsx
733
+ var import_icons4 = require("@ant-design/icons");
733
734
  var TableElement = (props) => {
734
735
  const { thead, tbody } = props;
735
736
  const [selectedRecord, setSelectedRecord] = (0, import_react20.useState)({});
@@ -783,7 +784,7 @@ var TableElement = (props) => {
783
784
  }
784
785
  }
785
786
  },
786
- "View"
787
+ /* @__PURE__ */ import_react20.default.createElement(import_icons4.EyeOutlined, null)
787
788
  );
788
789
  }
789
790
  });
@@ -791,7 +792,7 @@ var TableElement = (props) => {
791
792
  }
792
793
  const dataSource = tbody && tbody.map((row, index) => ({
793
794
  ...row,
794
- key: index + 1,
795
+ key: index,
795
796
  [columns[0].key]: index + 1
796
797
  }));
797
798
  const count = dataSource ? dataSource.length : 0;
@@ -958,7 +959,7 @@ var DropDownGroup = (props) => {
958
959
  // src/Components/FilesUpload.tsx
959
960
  var import_react26 = __toESM(require("react"));
960
961
  var import_antd19 = require("antd");
961
- var import_icons4 = require("@ant-design/icons");
962
+ var import_icons5 = require("@ant-design/icons");
962
963
  var FileUpload = (props) => {
963
964
  const { Dragger } = import_antd19.Upload;
964
965
  const [files, setFiles] = (0, import_react26.useState)([]);
@@ -989,7 +990,7 @@ var FileUpload = (props) => {
989
990
  showUploadList: true,
990
991
  customRequest
991
992
  },
992
- /* @__PURE__ */ import_react26.default.createElement("p", null, /* @__PURE__ */ import_react26.default.createElement(import_icons4.InboxOutlined, null)),
993
+ /* @__PURE__ */ import_react26.default.createElement("p", null, /* @__PURE__ */ import_react26.default.createElement(import_icons5.InboxOutlined, null)),
993
994
  /* @__PURE__ */ import_react26.default.createElement("p", null, "Click or drag file to upload")
994
995
  ));
995
996
  };
package/dist/index.mjs CHANGED
@@ -664,6 +664,9 @@ var ModelElement = (props) => {
664
664
  };
665
665
 
666
666
  // src/Components/TableElement.tsx
667
+ import {
668
+ EyeOutlined
669
+ } from "@ant-design/icons";
667
670
  var TableElement = (props) => {
668
671
  const { thead, tbody } = props;
669
672
  const [selectedRecord, setSelectedRecord] = useState6({});
@@ -717,7 +720,7 @@ var TableElement = (props) => {
717
720
  }
718
721
  }
719
722
  },
720
- "View"
723
+ /* @__PURE__ */ React20.createElement(EyeOutlined, null)
721
724
  );
722
725
  }
723
726
  });
@@ -725,7 +728,7 @@ var TableElement = (props) => {
725
728
  }
726
729
  const dataSource = tbody && tbody.map((row, index) => ({
727
730
  ...row,
728
- key: index + 1,
731
+ key: index,
729
732
  [columns[0].key]: index + 1
730
733
  }));
731
734
  const count = dataSource ? dataSource.length : 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apexcura/ui-components",
3
- "version": "0.0.14-Beta153",
3
+ "version": "0.0.14-Beta154",
4
4
  "description": "Apex cura React components library",
5
5
  "keywords": [
6
6
  "apex cura",