@apexcura/ui-components 0.0.14-Beta255 → 0.0.14-Beta257
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 -7
- package/dist/index.mjs +4 -7
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -823,11 +823,8 @@ var ModelElement = (props) => {
|
|
|
823
823
|
margin: "-10px"
|
|
824
824
|
}
|
|
825
825
|
},
|
|
826
|
-
modalContent && modalContent.fields[0].fields.map((
|
|
827
|
-
|
|
828
|
-
console.log(eachFiled);
|
|
829
|
-
console.log("eachFiled.fileds", eachFiled.fileds);
|
|
830
|
-
eachFiled.fileds && eachFiled.fileds.map((headerItem) => {
|
|
826
|
+
modalContent && modalContent.fields[0].fields.map((eachField) => {
|
|
827
|
+
eachField.fields && eachField.fields.map((headerItem) => {
|
|
831
828
|
console.log("headerItem", headerItem);
|
|
832
829
|
return /* @__PURE__ */ import_react20.default.createElement("p", { style: { fontWeight: "500", padding: "10px" } }, /* @__PURE__ */ import_react20.default.createElement(
|
|
833
830
|
"span",
|
|
@@ -838,8 +835,8 @@ var ModelElement = (props) => {
|
|
|
838
835
|
paddingRight: "10px"
|
|
839
836
|
}
|
|
840
837
|
},
|
|
841
|
-
headerItem
|
|
842
|
-
), headerItem
|
|
838
|
+
headerItem.label
|
|
839
|
+
), headerItem.label !== "" ? headerItem[1].label : "--");
|
|
843
840
|
});
|
|
844
841
|
})
|
|
845
842
|
)
|
package/dist/index.mjs
CHANGED
|
@@ -757,11 +757,8 @@ var ModelElement = (props) => {
|
|
|
757
757
|
margin: "-10px"
|
|
758
758
|
}
|
|
759
759
|
},
|
|
760
|
-
modalContent && modalContent.fields[0].fields.map((
|
|
761
|
-
|
|
762
|
-
console.log(eachFiled);
|
|
763
|
-
console.log("eachFiled.fileds", eachFiled.fileds);
|
|
764
|
-
eachFiled.fileds && eachFiled.fileds.map((headerItem) => {
|
|
760
|
+
modalContent && modalContent.fields[0].fields.map((eachField) => {
|
|
761
|
+
eachField.fields && eachField.fields.map((headerItem) => {
|
|
765
762
|
console.log("headerItem", headerItem);
|
|
766
763
|
return /* @__PURE__ */ React20.createElement("p", { style: { fontWeight: "500", padding: "10px" } }, /* @__PURE__ */ React20.createElement(
|
|
767
764
|
"span",
|
|
@@ -772,8 +769,8 @@ var ModelElement = (props) => {
|
|
|
772
769
|
paddingRight: "10px"
|
|
773
770
|
}
|
|
774
771
|
},
|
|
775
|
-
headerItem
|
|
776
|
-
), headerItem
|
|
772
|
+
headerItem.label
|
|
773
|
+
), headerItem.label !== "" ? headerItem[1].label : "--");
|
|
777
774
|
});
|
|
778
775
|
})
|
|
779
776
|
)
|