react-crud-mobile 1.3.95 → 1.3.97

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.
@@ -2071,6 +2071,7 @@ function UIElement(props) {
2071
2071
  });
2072
2072
  };
2073
2073
  scope.dialogShow = function (args) {
2074
+ var _args$event;
2074
2075
  var main = ViewUtils.getCrud('view');
2075
2076
  var parent = main.dialog;
2076
2077
  var crud = args.crud;
@@ -2078,6 +2079,7 @@ function UIElement(props) {
2078
2079
  var edit = args.edit === true;
2079
2080
  var def = {};
2080
2081
  var rowItem = null;
2082
+ var component = args == null || (_args$event = args.event) == null ? void 0 : _args$event.component;
2081
2083
  if (crud.is('row')) {
2082
2084
  def.parent = crud.parent.parent;
2083
2085
  def.search = crud.parent;
@@ -2097,7 +2099,8 @@ function UIElement(props) {
2097
2099
  }, def));
2098
2100
  var dialog = {
2099
2101
  crud: d,
2100
- parent: parent
2102
+ parent: parent,
2103
+ component: component
2101
2104
  };
2102
2105
  main.dialog = dialog;
2103
2106
  scope.toggleDialog(true);