ywana-core8 0.1.66 → 0.1.67
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.cjs +6 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +6 -1
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +6 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/domain/ContentViewer.js +3 -1
package/dist/index.modern.js
CHANGED
@@ -7913,7 +7913,7 @@ var ContentViewer = function ContentViewer(props) {
|
|
7913
7913
|
var value = content.value();
|
7914
7914
|
return /*#__PURE__*/React.createElement("div", {
|
7915
7915
|
className: "content-viewer"
|
7916
|
-
}, sections.map(function (section) {
|
7916
|
+
}, "xxx", sections.map(function (section) {
|
7917
7917
|
var title = section.title,
|
7918
7918
|
fields = section.fields;
|
7919
7919
|
return /*#__PURE__*/React.createElement("section", {
|
@@ -7973,6 +7973,11 @@ var FieldViewer = function FieldViewer(props) {
|
|
7973
7973
|
item: item,
|
7974
7974
|
value: value
|
7975
7975
|
});
|
7976
|
+
case "Image":
|
7977
|
+
return /*#__PURE__*/React.createElement("img", {
|
7978
|
+
className: field.id,
|
7979
|
+
src: value
|
7980
|
+
});
|
7976
7981
|
default:
|
7977
7982
|
return /*#__PURE__*/React.createElement("div", null, label);
|
7978
7983
|
}
|