react-crud-mobile 1.3.95 → 1.3.96

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.
@@ -2080,6 +2080,7 @@ function UIElement(props) {
2080
2080
  });
2081
2081
  };
2082
2082
  scope.dialogShow = function (args) {
2083
+ var _args$event;
2083
2084
  var main = reactCrudUtils.ViewUtils.getCrud('view');
2084
2085
  var parent = main.dialog;
2085
2086
  var crud = args.crud;
@@ -2087,6 +2088,7 @@ function UIElement(props) {
2087
2088
  var edit = args.edit === true;
2088
2089
  var def = {};
2089
2090
  var rowItem = null;
2091
+ var component = args == null || (_args$event = args.event) == null ? void 0 : _args$event.component;
2090
2092
  if (crud.is('row')) {
2091
2093
  def.parent = crud.parent.parent;
2092
2094
  def.search = crud.parent;
@@ -2106,7 +2108,8 @@ function UIElement(props) {
2106
2108
  }, def));
2107
2109
  var dialog = {
2108
2110
  crud: d,
2109
- parent: parent
2111
+ parent: parent,
2112
+ component: component
2110
2113
  };
2111
2114
  main.dialog = dialog;
2112
2115
  scope.toggleDialog(true);