react-crud-mobile 1.0.873 → 1.0.875

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.
@@ -650,16 +650,18 @@ function UISlider(props) {
650
650
  var step = scope.getPart('step', 1);
651
651
  var min = scope.getPart('min', 0);
652
652
  var max = scope.getPart('min', 100);
653
- return /*#__PURE__*/jsxRuntime.jsx(Slider, {
654
- minimumValue: min,
655
- maximumValue: max,
656
- step: step,
657
- minimumTrackTintColor: "#1EB1FC",
658
- maximumTrackTintColor: "#d3d3d3",
659
- thumbTintColor: "#1EB1FC",
660
- value: value,
661
- style: scope.getStyle('element'),
662
- onValueChange: onChange // Alterna o estado
653
+ return /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
654
+ children: [/*#__PURE__*/jsxRuntime.jsx(Slider, {
655
+ minimumValue: min,
656
+ maximumValue: max,
657
+ step: step,
658
+ minimumTrackTintColor: "#1EB1FC",
659
+ maximumTrackTintColor: "#d3d3d3",
660
+ thumbTintColor: "#1EB1FC",
661
+ value: value,
662
+ style: scope.getStyle('element'),
663
+ onValueChange: onChange // Alterna o estado
664
+ }), "xxx"]
663
665
  });
664
666
  }
665
667
 
@@ -1736,7 +1738,7 @@ function UIElement(props) {
1736
1738
  }
1737
1739
  var Inner = function Inner() {
1738
1740
  return /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
1739
- children: [scope.is('type', 'button') && /*#__PURE__*/jsxRuntime.jsxs(UIButton, _extends({}, defaultsUI, {
1741
+ children: [scope.getPart('render', null, /*#__PURE__*/jsxRuntime.jsx(jsxRuntime.Fragment, {})), scope.is('type', 'button') && /*#__PURE__*/jsxRuntime.jsxs(UIButton, _extends({}, defaultsUI, {
1740
1742
  onClick: onClick,
1741
1743
  variant: scope.attr('variant', 'outlined'),
1742
1744
  children: [original.icon && /*#__PURE__*/jsxRuntime.jsx(CustomIcon, {}), original.label && /*#__PURE__*/jsxRuntime.jsx(reactNative.Text, {
@@ -1768,9 +1770,11 @@ function UIElement(props) {
1768
1770
  checked: isChecked()
1769
1771
  }, defaultsInput, {
1770
1772
  onChange: onCheck
1771
- })), scope.is('slider') && /*#__PURE__*/jsxRuntime.jsx(UISlider, _extends({}, defaultsInput, {
1772
- onChange: onCheck
1773
- })), scope.is('type', 'select') && /*#__PURE__*/jsxRuntime.jsx(UISelect, _extends({}, defaultsInput, defaultsUI, {
1773
+ })), scope.is('slider') && /*#__PURE__*/jsxRuntime.jsx(jsxRuntime.Fragment, {
1774
+ children: /*#__PURE__*/jsxRuntime.jsx(UISlider, _extends({}, defaultsInput, {
1775
+ onChange: onCheck
1776
+ }))
1777
+ }), scope.is('type', 'select') && /*#__PURE__*/jsxRuntime.jsx(UISelect, _extends({}, defaultsInput, defaultsUI, {
1774
1778
  value: scope.getSelectedValue()
1775
1779
  })), scope.is('type', 'toggle') && /*#__PURE__*/jsxRuntime.jsx(UIToggle, _extends({}, defaultsInput, defaultsUI, {
1776
1780
  value: scope.getSelectedValue()