@apexcura/ui-components 0.0.11-Beta237 → 0.0.11-Beta239
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 +5 -5
- package/dist/index.mjs +3 -3
- 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") {
|
|
@@ -619,7 +619,7 @@ var import_antd13 = require("antd");
|
|
|
619
619
|
var import_react19 = __toESM(require("react"));
|
|
620
620
|
var ModelBody = (props) => {
|
|
621
621
|
console.log("props", props);
|
|
622
|
-
return /* @__PURE__ */ import_react19.default.createElement("div",
|
|
622
|
+
return /* @__PURE__ */ import_react19.default.createElement("div", { style: { overflow: "auto" } }, props.modalContent && props.modalContent.fields.map((eachField) => {
|
|
623
623
|
console.log("eachField==========", eachField);
|
|
624
624
|
if (eachField.element === "div") {
|
|
625
625
|
return /* @__PURE__ */ import_react19.default.createElement("div", { className: eachField.className }, eachField.label);
|
|
@@ -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
|
@@ -568,7 +568,7 @@ import { Modal } from "antd";
|
|
|
568
568
|
import React18 from "react";
|
|
569
569
|
var ModelBody = (props) => {
|
|
570
570
|
console.log("props", props);
|
|
571
|
-
return /* @__PURE__ */ React18.createElement("div",
|
|
571
|
+
return /* @__PURE__ */ React18.createElement("div", { style: { overflow: "auto" } }, props.modalContent && props.modalContent.fields.map((eachField) => {
|
|
572
572
|
console.log("eachField==========", eachField);
|
|
573
573
|
if (eachField.element === "div") {
|
|
574
574
|
return /* @__PURE__ */ React18.createElement("div", { className: eachField.className }, eachField.label);
|
|
@@ -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
|
},
|