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