react-crud-mobile 1.0.906 → 1.0.908
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/react-crud-mobile.cjs.development.js +4 -13
- package/dist/react-crud-mobile.cjs.development.js.map +1 -1
- package/dist/react-crud-mobile.cjs.production.min.js +1 -1
- package/dist/react-crud-mobile.cjs.production.min.js.map +1 -1
- package/dist/react-crud-mobile.esm.js +4 -13
- package/dist/react-crud-mobile.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/elements/UIElement.tsx +3 -10
|
@@ -1780,18 +1780,6 @@ function UIElement(props) {
|
|
|
1780
1780
|
custom.underlayColor = 'transparent';
|
|
1781
1781
|
custom.onPress = onClick;
|
|
1782
1782
|
}
|
|
1783
|
-
var Value = function Value() {
|
|
1784
|
-
var value = scope.getDisplayValue();
|
|
1785
|
-
if (typeof value === 'object' || typeof value === 'function') {
|
|
1786
|
-
return /*#__PURE__*/jsxRuntime.jsx(jsxRuntime.Fragment, {
|
|
1787
|
-
children: value
|
|
1788
|
-
});
|
|
1789
|
-
}
|
|
1790
|
-
return /*#__PURE__*/jsxRuntime.jsx(reactNative.Text, {
|
|
1791
|
-
style: getStyle('value'),
|
|
1792
|
-
children: value
|
|
1793
|
-
});
|
|
1794
|
-
};
|
|
1795
1783
|
var Inner = function Inner() {
|
|
1796
1784
|
return /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
|
|
1797
1785
|
children: [scope.getPart('render', null, /*#__PURE__*/jsxRuntime.jsx(jsxRuntime.Fragment, {})), scope.is('type', 'button') && /*#__PURE__*/jsxRuntime.jsxs(UIButton, _extends({}, defaultsUI, {
|
|
@@ -1850,7 +1838,10 @@ function UIElement(props) {
|
|
|
1850
1838
|
}), !scope.is('format', 'icon', 'img') && /*#__PURE__*/jsxRuntime.jsx(reactNative.Text, {
|
|
1851
1839
|
children: scope.getDisplayValue()
|
|
1852
1840
|
})]
|
|
1853
|
-
}), scope.is('type', 'output', 'value') && /*#__PURE__*/jsxRuntime.jsx(
|
|
1841
|
+
}), scope.is('type', 'output', 'value') && /*#__PURE__*/jsxRuntime.jsx(reactNative.Text, {
|
|
1842
|
+
style: getStyle('value'),
|
|
1843
|
+
children: scope.getDisplayValue()
|
|
1844
|
+
})]
|
|
1854
1845
|
});
|
|
1855
1846
|
};
|
|
1856
1847
|
var Include = function Include(_ref) {
|