react-crud-mobile 1.3.270 → 1.3.274

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-crud-mobile",
3
- "version": "1.3.270",
3
+ "version": "1.3.274",
4
4
  "license": "MIT",
5
5
  "description": "Uma biblioteca de componentes para React Native",
6
6
  "main": "dist/index.js",
@@ -46,7 +46,7 @@
46
46
  "@react-native-vector-icons/material-icons": "^0.0.1",
47
47
  "expo-status-bar": "~3.0.8",
48
48
  "react": "19.1.0",
49
- "react-crud-utils": "^0.1.427",
49
+ "react-crud-utils": "^0.1.432",
50
50
  "react-dom": "19.1.0",
51
51
  "react-native": "0.81.4",
52
52
  "react-native-draggable-flatlist": "^4.0.3",
@@ -614,6 +614,7 @@ export default function UIElement(props: ElementType) {
614
614
 
615
615
  if (event?.debug) console.log(args);
616
616
 
617
+ let caller = args.caller;
617
618
  let main = ViewUtils.getCrud('view');
618
619
  let parent = main.dialog;
619
620
  let { crud } = args;
@@ -622,6 +623,7 @@ export default function UIElement(props: ElementType) {
622
623
  let def: any = {};
623
624
  let rowItem = null;
624
625
  let component = event?.component;
626
+ let elo = Utils.nvl(caller?.original, original);
625
627
 
626
628
  if (crud.is('row')) {
627
629
  def.parent = crud.parent.parent;
@@ -657,8 +659,8 @@ export default function UIElement(props: ElementType) {
657
659
  });
658
660
 
659
661
  let el: any = {
660
- label: original.label,
661
- icon: original.icon,
662
+ label: elo.label,
663
+ icon: elo.icon,
662
664
  type: 'dialog',
663
665
  };
664
666