pds-dev-kit-web-test 2.5.304 → 2.5.305

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.
@@ -771,7 +771,7 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
771
771
  var breakpoints = device === 'DESKTOP' ? { lg: 100, sm: 0 } : { lg: 1200, sm: 480 };
772
772
  var innerRef = (0, react_1.useRef)(null);
773
773
  var clickOneCBInBulk = function (id) {
774
- var _a;
774
+ var _a, _b;
775
775
  var blockId = (0, group_1.formatCbIdToBlockId)(id);
776
776
  if (shortcutKeyMode === 'COLLISION_SELECT') {
777
777
  return;
@@ -802,7 +802,26 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
802
802
  });
803
803
  return;
804
804
  }
805
- setBulkBlockIds(function (prevIds) { return prevIds.filter(function (each) { return each !== blockId; }); });
805
+ var filtered = bulkBlockIds.filter(function (each) { return each !== blockId; });
806
+ setBulkBlockIds(filtered);
807
+ var groupDisabled = getWorkDirDirectChildrenLength() === filtered.length;
808
+ var newBulkCBIds = filtered
809
+ .map(function (id) { return (0, group_1.formatBlockIdToCbId)(id); })
810
+ .filter(function (each) { return each !== null; });
811
+ sectionActionHandler &&
812
+ sectionActionHandler({
813
+ type: '@CUSTOMSECTION/BLOCK_CLICKED',
814
+ payload: {
815
+ block: {
816
+ type: 'BULK',
817
+ blockId: 'BULK',
818
+ childrenBlockIds: filtered,
819
+ workDir: (_b = (0, group_1.getBlockWorkDirPath)(newblock, editingGroupBlock)) !== null && _b !== void 0 ? _b : 'NOT-FOUND',
820
+ childrenCBIds: newBulkCBIds,
821
+ groupDisabled: groupDisabled
822
+ }
823
+ }
824
+ });
806
825
  }
807
826
  };
808
827
  var showSectionHiddenCover = (function () {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pds-dev-kit-web-test",
3
- "version": "2.5.304",
3
+ "version": "2.5.305",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "main": "dist/index.js",