@apexcura/ui-components 0.0.11-Beta237 → 0.0.11-Beta238
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 -4
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6,8 +6,8 @@ var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
|
6
6
|
var __getProtoOf = Object.getPrototypeOf;
|
|
7
7
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
8
|
var __export = (target, all) => {
|
|
9
|
-
for (var
|
|
10
|
-
__defProp(target,
|
|
9
|
+
for (var name2 in all)
|
|
10
|
+
__defProp(target, name2, { get: all[name2], enumerable: true });
|
|
11
11
|
};
|
|
12
12
|
var __copyProps = (to, from, except, desc) => {
|
|
13
13
|
if (from && typeof from === "object" || typeof from === "function") {
|
|
@@ -656,9 +656,9 @@ var ModelElement = (props) => {
|
|
|
656
656
|
}
|
|
657
657
|
},
|
|
658
658
|
Object.entries(selectedRecord).map(([key, value]) => {
|
|
659
|
-
const
|
|
659
|
+
const record = columns.filter((eachColumn) => eachColumn.key === key);
|
|
660
660
|
console.log("name===================", name);
|
|
661
|
-
return /* @__PURE__ */ import_react20.default.createElement("p", { style: { fontWeight: "200", padding: "10px" }, key }, /* @__PURE__ */ import_react20.default.createElement("span", { style: { color: "gray", paddingRight: "10px" } }), String(value));
|
|
661
|
+
return /* @__PURE__ */ import_react20.default.createElement("p", { style: { fontWeight: "200", padding: "10px" }, key }, /* @__PURE__ */ import_react20.default.createElement("span", { style: { color: "gray", paddingRight: "10px" } }, record[0].title), String(value));
|
|
662
662
|
})
|
|
663
663
|
)
|
|
664
664
|
},
|
package/dist/index.mjs
CHANGED
|
@@ -605,9 +605,9 @@ var ModelElement = (props) => {
|
|
|
605
605
|
}
|
|
606
606
|
},
|
|
607
607
|
Object.entries(selectedRecord).map(([key, value]) => {
|
|
608
|
-
const
|
|
608
|
+
const record = columns.filter((eachColumn) => eachColumn.key === key);
|
|
609
609
|
console.log("name===================", name);
|
|
610
|
-
return /* @__PURE__ */ React19.createElement("p", { style: { fontWeight: "200", padding: "10px" }, key }, /* @__PURE__ */ React19.createElement("span", { style: { color: "gray", paddingRight: "10px" } }), String(value));
|
|
610
|
+
return /* @__PURE__ */ React19.createElement("p", { style: { fontWeight: "200", padding: "10px" }, key }, /* @__PURE__ */ React19.createElement("span", { style: { color: "gray", paddingRight: "10px" } }, record[0].title), String(value));
|
|
611
611
|
})
|
|
612
612
|
)
|
|
613
613
|
},
|