pds-dev-kit-web-test 2.5.163 → 2.5.164
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.
@@ -811,7 +811,7 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
|
|
811
811
|
});
|
812
812
|
};
|
813
813
|
var onBulkDragStop = function (_a) {
|
814
|
-
var updatedItems = _a.updatedItems, item = _a.item
|
814
|
+
var updatedItems = _a.updatedItems, item = _a.item;
|
815
815
|
if ((item === null || item === void 0 ? void 0 : item.i) === 'BULK') {
|
816
816
|
sectionActionHandler &&
|
817
817
|
sectionActionHandler({
|
@@ -832,8 +832,12 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
|
|
832
832
|
sectionActionHandler({
|
833
833
|
type: '@CUSTOMSECTION/GROUP_DRAG_STOP',
|
834
834
|
payload: {
|
835
|
-
|
836
|
-
|
835
|
+
updatedBlocks: updatedItems.map(function (i) { return ({
|
836
|
+
cbId: Number(i.id),
|
837
|
+
blockId: (0, group_1.formatCbIdToBlockId)(Number(i.id)),
|
838
|
+
x: i.x,
|
839
|
+
y: i.y
|
840
|
+
}); })
|
837
841
|
}
|
838
842
|
});
|
839
843
|
}
|