pds-dev-kit-web-test 2.5.163 → 2.5.165
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.
@@ -116,8 +116,8 @@ type ActionHandlerPayload = {
|
|
116
116
|
updatedBlocks: UpdatedBlock[];
|
117
117
|
};
|
118
118
|
'@CUSTOMSECTION/GROUP_DRAG_STOP': {
|
119
|
-
|
120
|
-
|
119
|
+
updatedBlocks: UpdatedBlock[];
|
120
|
+
workDir: string;
|
121
121
|
};
|
122
122
|
};
|
123
123
|
export type UpdatedBlock = {
|
@@ -811,7 +811,8 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
|
|
811
811
|
});
|
812
812
|
};
|
813
813
|
var onBulkDragStop = function (_a) {
|
814
|
-
var
|
814
|
+
var _b;
|
815
|
+
var updatedItems = _a.updatedItems, item = _a.item;
|
815
816
|
if ((item === null || item === void 0 ? void 0 : item.i) === 'BULK') {
|
816
817
|
sectionActionHandler &&
|
817
818
|
sectionActionHandler({
|
@@ -832,8 +833,13 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
|
|
832
833
|
sectionActionHandler({
|
833
834
|
type: '@CUSTOMSECTION/GROUP_DRAG_STOP',
|
834
835
|
payload: {
|
835
|
-
item:
|
836
|
-
|
836
|
+
workDir: (_b = (0, group_1.getBlockWorkDirPath)(newblock, item.i)) !== null && _b !== void 0 ? _b : 'NOT-FOUND',
|
837
|
+
updatedBlocks: updatedItems.map(function (i) { return ({
|
838
|
+
cbId: Number(i.id),
|
839
|
+
blockId: (0, group_1.formatCbIdToBlockId)(Number(i.id)),
|
840
|
+
x: i.x,
|
841
|
+
y: i.y
|
842
|
+
}); })
|
837
843
|
}
|
838
844
|
});
|
839
845
|
}
|