@apexcura/ui-components 0.0.14-Beta160 → 0.0.14-Beta161
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 -3
- package/dist/index.mjs +4 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -723,6 +723,7 @@ var ModelElement = (props) => {
|
|
|
723
723
|
},
|
|
724
724
|
Object.entries(selectedRecord).map(([key, value]) => {
|
|
725
725
|
const record = columns.filter((eachColumn) => eachColumn.key === key);
|
|
726
|
+
console.log("record----", record);
|
|
726
727
|
return record.length > 0 ? /* @__PURE__ */ import_react19.default.createElement("p", { style: { fontWeight: "500", padding: "10px" }, key }, /* @__PURE__ */ import_react19.default.createElement("span", { style: { fontWeight: "200", color: "gray", paddingRight: "10px" } }, record[0].title), String(value)) : "";
|
|
727
728
|
})
|
|
728
729
|
)
|
|
@@ -760,8 +761,8 @@ var TableElement = (props) => {
|
|
|
760
761
|
columns = [
|
|
761
762
|
{
|
|
762
763
|
title: "#",
|
|
763
|
-
dataIndex: "
|
|
764
|
-
key: "
|
|
764
|
+
dataIndex: "#",
|
|
765
|
+
key: "#",
|
|
765
766
|
fixed: "left"
|
|
766
767
|
},
|
|
767
768
|
...thead.map((col, ind) => ({
|
|
@@ -850,7 +851,7 @@ var TableElement = (props) => {
|
|
|
850
851
|
{
|
|
851
852
|
selectedRecord,
|
|
852
853
|
...props,
|
|
853
|
-
columns,
|
|
854
|
+
columns: tbody,
|
|
854
855
|
model,
|
|
855
856
|
onCancel: () => setModel(false)
|
|
856
857
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -657,6 +657,7 @@ var ModelElement = (props) => {
|
|
|
657
657
|
},
|
|
658
658
|
Object.entries(selectedRecord).map(([key, value]) => {
|
|
659
659
|
const record = columns.filter((eachColumn) => eachColumn.key === key);
|
|
660
|
+
console.log("record----", record);
|
|
660
661
|
return record.length > 0 ? /* @__PURE__ */ React19.createElement("p", { style: { fontWeight: "500", padding: "10px" }, key }, /* @__PURE__ */ React19.createElement("span", { style: { fontWeight: "200", color: "gray", paddingRight: "10px" } }, record[0].title), String(value)) : "";
|
|
661
662
|
})
|
|
662
663
|
)
|
|
@@ -694,8 +695,8 @@ var TableElement = (props) => {
|
|
|
694
695
|
columns = [
|
|
695
696
|
{
|
|
696
697
|
title: "#",
|
|
697
|
-
dataIndex: "
|
|
698
|
-
key: "
|
|
698
|
+
dataIndex: "#",
|
|
699
|
+
key: "#",
|
|
699
700
|
fixed: "left"
|
|
700
701
|
},
|
|
701
702
|
...thead.map((col, ind) => ({
|
|
@@ -784,7 +785,7 @@ var TableElement = (props) => {
|
|
|
784
785
|
{
|
|
785
786
|
selectedRecord,
|
|
786
787
|
...props,
|
|
787
|
-
columns,
|
|
788
|
+
columns: tbody,
|
|
788
789
|
model,
|
|
789
790
|
onCancel: () => setModel(false)
|
|
790
791
|
}
|