@apexcura/ui-components 0.0.14-Beta166 → 0.0.14-Beta167
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 +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -723,7 +723,8 @@ var ModelElement = (props) => {
|
|
|
723
723
|
},
|
|
724
724
|
Object.entries(selectedRecord).map(([key, value]) => {
|
|
725
725
|
const record = columns.slice(1).filter((eachColumn) => eachColumn.key === key);
|
|
726
|
-
|
|
726
|
+
console.log("value----", value);
|
|
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) !== "" ? String(value) : "--") : "";
|
|
727
728
|
})
|
|
728
729
|
)
|
|
729
730
|
},
|
|
@@ -750,7 +751,6 @@ var TableElement = (props) => {
|
|
|
750
751
|
}
|
|
751
752
|
}, [tbody]);
|
|
752
753
|
const handleChange = (record) => {
|
|
753
|
-
console.log("record", record);
|
|
754
754
|
if (props.onChange) {
|
|
755
755
|
props.onChange(record);
|
|
756
756
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -657,7 +657,8 @@ var ModelElement = (props) => {
|
|
|
657
657
|
},
|
|
658
658
|
Object.entries(selectedRecord).map(([key, value]) => {
|
|
659
659
|
const record = columns.slice(1).filter((eachColumn) => eachColumn.key === key);
|
|
660
|
-
|
|
660
|
+
console.log("value----", value);
|
|
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) !== "" ? String(value) : "--") : "";
|
|
661
662
|
})
|
|
662
663
|
)
|
|
663
664
|
},
|
|
@@ -684,7 +685,6 @@ var TableElement = (props) => {
|
|
|
684
685
|
}
|
|
685
686
|
}, [tbody]);
|
|
686
687
|
const handleChange = (record) => {
|
|
687
|
-
console.log("record", record);
|
|
688
688
|
if (props.onChange) {
|
|
689
689
|
props.onChange(record);
|
|
690
690
|
}
|