@luminati-io/uikit 3.6.3 → 3.6.4-beta.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -41326,13 +41326,13 @@ var TableBody = function TableBody(props) {
41326
41326
  var style = _objectSpread(_objectSpread({}, props.style), bodyProps.style);
41327
41327
  var onDragStart = (0,react__WEBPACK_IMPORTED_MODULE_2__.useCallback)(function (e) {
41328
41328
  setIsDraggingRow(true);
41329
- onRowDragStart === null || onRowDragStart === void 0 || onRowDragStart(e, rowsById[e.draggableId]);
41329
+ onRowDragStart === null || onRowDragStart === void 0 || onRowDragStart(e, rowsById[e.draggableId], page);
41330
41330
  }, [page]);
41331
41331
  var onDragEnd = (0,react__WEBPACK_IMPORTED_MODULE_2__.useCallback)(function (e) {
41332
41332
  var _page$e$destination$i, _e$destination;
41333
41333
  setIsDraggingRow(false);
41334
- var destinationRowId = (_page$e$destination$i = page[(_e$destination = e.destination) === null || _e$destination === void 0 ? void 0 : _e$destination.index]) === null || _page$e$destination$i === void 0 ? void 0 : _page$e$destination$i.id;
41335
- onRowDragEnd === null || onRowDragEnd === void 0 || onRowDragEnd(e, rowsById[e.draggableId], rowsById[destinationRowId]);
41334
+ var destRowId = (_page$e$destination$i = page[(_e$destination = e.destination) === null || _e$destination === void 0 ? void 0 : _e$destination.index]) === null || _page$e$destination$i === void 0 ? void 0 : _page$e$destination$i.id;
41335
+ onRowDragEnd === null || onRowDragEnd === void 0 || onRowDragEnd(e, rowsById[e.draggableId], rowsById[destRowId], page);
41336
41336
  }, [page]);
41337
41337
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(react_beautiful_dnd__WEBPACK_IMPORTED_MODULE_11__.DragDropContext, {
41338
41338
  onDragStart: onDragStart,