react-crud-mobile 1.0.718 → 1.0.720

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.
@@ -1542,6 +1542,24 @@ function UIElement(props) {
1542
1542
  custom.underlayColor = 'transparent';
1543
1543
  custom.onPress = onClick;
1544
1544
  }
1545
+ var Value = function Value() {
1546
+ var val = getStyle('value');
1547
+ if (val) {
1548
+ if (/*#__PURE__*/React__default.isValidElement(val)) {
1549
+ return /*#__PURE__*/jsxRuntime.jsx(UIChildren, _extends({}, props, {
1550
+ scope: scope,
1551
+ crud: crud,
1552
+ style: getStyle('inner'),
1553
+ children: val
1554
+ }));
1555
+ }
1556
+ return /*#__PURE__*/jsxRuntime.jsx(reactNative.Text, {
1557
+ style: val,
1558
+ children: scope.getDisplayValue()
1559
+ });
1560
+ }
1561
+ return /*#__PURE__*/jsxRuntime.jsx(jsxRuntime.Fragment, {});
1562
+ };
1545
1563
  return /*#__PURE__*/jsxRuntime.jsx(CrudContext.Provider, {
1546
1564
  value: {
1547
1565
  crud: crud,
@@ -1612,10 +1630,7 @@ function UIElement(props) {
1612
1630
  }), !scope.is('format', 'icon', 'img') && /*#__PURE__*/jsxRuntime.jsx(reactNative.Text, {
1613
1631
  children: scope.getDisplayValue()
1614
1632
  })]
1615
- }), scope.is('type', 'output', 'value') && /*#__PURE__*/jsxRuntime.jsx(reactNative.Text, {
1616
- style: getStyle('value'),
1617
- children: scope.getDisplayValue()
1618
- })]
1633
+ }), scope.is('type', 'output', 'value') && /*#__PURE__*/jsxRuntime.jsx(Value, {})]
1619
1634
  }), error && /*#__PURE__*/jsxRuntime.jsx(reactNative.View, {
1620
1635
  style: getStyle('error'),
1621
1636
  children: error