pds-dev-kit-web-test 2.5.102 → 2.5.104
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.
@@ -212,16 +212,13 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
|
|
212
212
|
};
|
213
213
|
var getCollisionGroupIds = function (cdId1) {
|
214
214
|
var layoutItem = (0, renderHelpers_1.getLayoutItem)(layouts[layoutByDevice], cdId1.toString());
|
215
|
-
if (!layoutItem
|
215
|
+
if (!layoutItem) {
|
216
216
|
return [];
|
217
217
|
}
|
218
218
|
var allCollisions = (0, renderHelpers_1.getAllCollisions)(layouts[layoutByDevice], layoutItem);
|
219
219
|
var allCollisionsCbIds = allCollisions.map(function (each) { return Number(each.i); });
|
220
|
-
|
221
|
-
|
222
|
-
// return [];
|
223
|
-
// }
|
224
|
-
var workDirChildrenBlockIds = (0, group_1.findDirectChildrenBlockIds)(newblock, selectedBlockId);
|
220
|
+
var workDirChildrenBlockIds = (0, group_1.findDirectChildrenBlockIds)(newblock, (0, group_1.formatCbIdToBlockId)(cdId1));
|
221
|
+
console.log('workDirChildrenBlockIds>>>', workDirChildrenBlockIds);
|
225
222
|
var collisions = workDirChildrenBlockIds.filter(function (each) {
|
226
223
|
var cbId = (0, group_1.formatBlockIdToCbId)(each);
|
227
224
|
var allCollisions = (0, group_1.findAllChildrenCbIds)(newblock, each);
|
@@ -714,8 +711,6 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
|
|
714
711
|
}
|
715
712
|
});
|
716
713
|
};
|
717
|
-
console.log('pds bulk block ids', bulkBlockIds);
|
718
|
-
console.log('shortcutKeyMode', shortcutKeyMode);
|
719
714
|
return ((0, jsx_runtime_1.jsx)(ErrorBoundary_1.ErrorBoundary, { children: (0, jsx_runtime_1.jsxs)(exports.S_gleStyles, __assign({ isBulkMode: shortcutKeyMode === 'BULK_SELECT' }, { children: [showSectionHiddenCover && (0, jsx_runtime_1.jsx)(S_HiddenCover_1.S_HiddenCover, {}), (0, jsx_runtime_1.jsx)(S_SectionWrapper, __assign({ ref: gleRef, "x-dlayout-section-type": "NO_NAME", onClick: onClickSection, onContextMenu: function (e) {
|
720
715
|
e.stopPropagation();
|
721
716
|
e.preventDefault();
|