react-crud-mobile 1.3.223 → 1.3.225
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 +6 -4
- 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 +6 -4
- package/dist/react-crud-mobile.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/elements/UIElement.tsx +9 -1
- package/src/elements/core/UIModal.tsx +3 -2
package/package.json
CHANGED
@@ -662,7 +662,15 @@ export default function UIElement(props: ElementType) {
|
|
662
662
|
...el,
|
663
663
|
owner: scope,
|
664
664
|
});
|
665
|
-
|
665
|
+
|
666
|
+
let dialog = {
|
667
|
+
crud: d,
|
668
|
+
parent,
|
669
|
+
component,
|
670
|
+
scope: dialogScope,
|
671
|
+
close,
|
672
|
+
props: event.props,
|
673
|
+
};
|
666
674
|
|
667
675
|
main.dialog = dialog;
|
668
676
|
scope.toggleDialog(true);
|
@@ -125,9 +125,10 @@ export default function UIModal({
|
|
125
125
|
const ModalInner = () => {
|
126
126
|
let Content = () => {
|
127
127
|
if (dialog?.component) {
|
128
|
-
let
|
128
|
+
let cprops = dialog.props;
|
129
|
+
let Aux = dialog.component;
|
129
130
|
|
130
|
-
return <Aux key={curr.uuid} crud={curr} />;
|
131
|
+
return <Aux key={curr.uuid} crud={curr} {...cprops} />;
|
131
132
|
}
|
132
133
|
|
133
134
|
return (
|