ywana-core8 0.0.360 → 0.0.363
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 +5 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +5 -4
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +5 -4
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/domain/ContentViewer.js +2 -2
package/dist/index.cjs
CHANGED
@@ -5150,10 +5150,11 @@ var ContentViewer = function ContentViewer(props) {
|
|
5150
5150
|
var FieldViewer = function FieldViewer(props) {
|
5151
5151
|
var field = props.field,
|
5152
5152
|
value = props.value;
|
5153
|
-
var
|
5154
|
-
|
5155
|
-
|
5156
|
-
|
5153
|
+
var type = field.type,
|
5154
|
+
label = field.label,
|
5155
|
+
_field$visible = field.visible,
|
5156
|
+
visible = _field$visible === void 0 ? true : _field$visible;
|
5157
|
+
if (!visible) return null;
|
5157
5158
|
|
5158
5159
|
switch (type) {
|
5159
5160
|
case TYPES.STRING:
|