react-crud-mobile 1.3.264 → 1.3.265
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 +10 -10
- 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 +10 -10
- package/dist/react-crud-mobile.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/elements/UIElement.tsx +9 -9
package/package.json
CHANGED
@@ -692,12 +692,9 @@ export default function UIElement(props: ElementType) {
|
|
692
692
|
};
|
693
693
|
|
694
694
|
main.dialog = dialog;
|
695
|
-
scope.toggleDialog(true);
|
696
695
|
scope.currentDialog = dialog;
|
697
696
|
|
698
|
-
|
699
|
-
dialogScope.toggleDialog(true);
|
700
|
-
|
697
|
+
if (parent) parent.update?.();
|
701
698
|
scope.update();
|
702
699
|
};
|
703
700
|
|
@@ -714,14 +711,17 @@ export default function UIElement(props: ElementType) {
|
|
714
711
|
if (main.dialog?.crud?.scope) {
|
715
712
|
main.dialog?.crud.scope.update();
|
716
713
|
}
|
717
|
-
scope.toggleDialog(false);
|
718
714
|
scope.update();
|
719
715
|
|
720
|
-
|
716
|
+
if (parentScope) {
|
717
|
+
const close = old.close;
|
718
|
+
|
719
|
+
parentScope.update();
|
721
720
|
|
722
|
-
|
723
|
-
|
724
|
-
|
721
|
+
if (close) {
|
722
|
+
if (close?.debug) console.log('Fechando');
|
723
|
+
parentScope.call('close', { close });
|
724
|
+
}
|
725
725
|
}
|
726
726
|
};
|
727
727
|
|