pds-dev-kit-web-test 2.5.183 → 2.5.184
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.
@@ -265,8 +265,24 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
|
|
265
265
|
}
|
266
266
|
}, [selectedBlockId, shortcutKeyMode, sectionActionHandler, setSelectedBlockId]);
|
267
267
|
var makeAllInOneGroup = function () {
|
268
|
+
var _a;
|
268
269
|
var allRootChildIds = (0, group_1.findDirectChildrenBlockIds)(pedigreeState, editingGroupBlock);
|
269
270
|
setBulkBlockIds(allRootChildIds);
|
271
|
+
sectionActionHandler &&
|
272
|
+
sectionActionHandler({
|
273
|
+
type: '@CUSTOMSECTION/BLOCK_CLICKED',
|
274
|
+
payload: {
|
275
|
+
block: {
|
276
|
+
type: 'BULK',
|
277
|
+
blockId: 'BULK',
|
278
|
+
childrenBlockIds: allRootChildIds,
|
279
|
+
workDir: (_a = (0, group_1.getBlockWorkDirPath)(newblock, editingGroupBlock)) !== null && _a !== void 0 ? _a : 'NOT-FOUND',
|
280
|
+
childrenCBIds: allRootChildIds
|
281
|
+
.map(function (id) { return (0, group_1.formatBlockIdToCbId)(id); })
|
282
|
+
.filter(function (each) { return each !== null; })
|
283
|
+
}
|
284
|
+
}
|
285
|
+
});
|
270
286
|
};
|
271
287
|
var getCollisionGroupIds = function (cdId1) {
|
272
288
|
var layoutItem = (0, renderHelpers_1.getLayoutItem)(layouts[layoutByDevice], cdId1.toString());
|