react-crud-mobile 1.3.341 → 1.3.343

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.
@@ -805,7 +805,7 @@ function UIInput(props) {
805
805
  setValue(v);
806
806
  };
807
807
  var style = function style(part, extra) {
808
- return _extends({}, scope.getStyle(part, styles$6[part]), extra);
808
+ return _extends({}, scope.getStyle(part, _extends({}, styles$6[part], extra)));
809
809
  };
810
810
  var CustomIcon = function CustomIcon() {
811
811
  var icon = el.icon;
@@ -850,7 +850,7 @@ function UIInput(props) {
850
850
  css.fontSize = 12;
851
851
  }
852
852
  css.fontSize = reactCrudUtils.Utils.nvl(element.fontSize, css.fontSize);
853
- css = _extends({}, style(type), css, style('input'));
853
+ css = _extends({}, style(type), style('input', css));
854
854
  css.lineHeight = parseInt(css.fontSize) + 2;
855
855
  //v1
856
856
  return css;
@@ -2399,6 +2399,10 @@ function UIElement(props) {
2399
2399
  nextScope.update();
2400
2400
  }
2401
2401
  };
2402
+ if (original.hideEmpty && !scope.isType('list', 'select', 'complete')) {
2403
+ var value = scope.getValue();
2404
+ if (reactCrudUtils.Utils.isEmpty(value)) return /*#__PURE__*/jsxRuntime.jsx(jsxRuntime.Fragment, {});
2405
+ }
2402
2406
  return /*#__PURE__*/jsxRuntime.jsx(CrudContext.Provider, {
2403
2407
  value: {
2404
2408
  crud: crud,