react-crud-mobile 1.3.278 → 1.3.280
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 +5 -8
- 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 +5 -8
- package/dist/react-crud-mobile.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/elements/UIElement.tsx +5 -8
package/package.json
CHANGED
@@ -711,13 +711,10 @@ export default function UIElement(props: ElementType) {
|
|
711
711
|
main.dialog = next;
|
712
712
|
scope.currentDialog = next;
|
713
713
|
|
714
|
-
|
715
|
-
let currScope = current?.scope?.parent;
|
716
|
-
|
717
|
-
if (currScope) {
|
714
|
+
if (current) {
|
718
715
|
const close = current.close;
|
719
716
|
|
720
|
-
|
717
|
+
if (current.update) current.update();
|
721
718
|
|
722
719
|
if (close) {
|
723
720
|
if (close?.debug) console.log('Fechando');
|
@@ -725,8 +722,8 @@ export default function UIElement(props: ElementType) {
|
|
725
722
|
}
|
726
723
|
}
|
727
724
|
|
728
|
-
if (
|
729
|
-
|
725
|
+
if (next?.update) {
|
726
|
+
next.update();
|
730
727
|
}
|
731
728
|
};
|
732
729
|
|
@@ -758,7 +755,7 @@ let boxStyle = StyleSheet.create({
|
|
758
755
|
const box: any = {
|
759
756
|
...boxStyle.box,
|
760
757
|
};
|
761
|
-
//
|
758
|
+
//v5
|
762
759
|
const elementStyle: any = {};
|
763
760
|
|
764
761
|
elementStyle.view = {
|