@apexcura/ui-components 0.0.11-Beta258 → 0.0.11-Beta259
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 +4 -11
- package/dist/index.mjs +4 -11
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -698,17 +698,10 @@ var TableElement = (props) => {
|
|
|
698
698
|
}))
|
|
699
699
|
];
|
|
700
700
|
}
|
|
701
|
-
const dataSource = tbody && tbody.map((row, index) => {
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
telecom: row.telecom[0]?.value || ""
|
|
706
|
-
};
|
|
707
|
-
return {
|
|
708
|
-
...flattenedRow,
|
|
709
|
-
[columns[0].key]: index + 1
|
|
710
|
-
};
|
|
711
|
-
});
|
|
701
|
+
const dataSource = tbody && tbody.map((row, index) => ({
|
|
702
|
+
...row,
|
|
703
|
+
[columns[0].key]: index + 1
|
|
704
|
+
}));
|
|
712
705
|
const count = dataSource ? dataSource.length : 0;
|
|
713
706
|
return /* @__PURE__ */ import_react21.default.createElement(import_react21.default.Fragment, null, /* @__PURE__ */ import_react21.default.createElement(
|
|
714
707
|
import_antd14.Table,
|
package/dist/index.mjs
CHANGED
|
@@ -646,17 +646,10 @@ var TableElement = (props) => {
|
|
|
646
646
|
}))
|
|
647
647
|
];
|
|
648
648
|
}
|
|
649
|
-
const dataSource = tbody && tbody.map((row, index) => {
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
telecom: row.telecom[0]?.value || ""
|
|
654
|
-
};
|
|
655
|
-
return {
|
|
656
|
-
...flattenedRow,
|
|
657
|
-
[columns[0].key]: index + 1
|
|
658
|
-
};
|
|
659
|
-
});
|
|
649
|
+
const dataSource = tbody && tbody.map((row, index) => ({
|
|
650
|
+
...row,
|
|
651
|
+
[columns[0].key]: index + 1
|
|
652
|
+
}));
|
|
660
653
|
const count = dataSource ? dataSource.length : 0;
|
|
661
654
|
return /* @__PURE__ */ React20.createElement(React20.Fragment, null, /* @__PURE__ */ React20.createElement(
|
|
662
655
|
Table2,
|