pds-dev-kit-web-test 2.5.302 → 2.5.303

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.
@@ -277,7 +277,8 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
277
277
  else {
278
278
  childrenCBIds = newBulkCBIds;
279
279
  }
280
- var groupDisabled = (0, group_1.findDirectChildrenBlockIds)(newblock, editingGroupBlock).length === bulks_1.length;
280
+ var groupDisabled = (0, group_1.findDirectChildrenBlockIds)(newblock, editingGroupBlock).length ===
281
+ __spreadArray(__spreadArray([], bulkBlockIds, true), bulks_1, true).length;
281
282
  sectionActionHandler &&
282
283
  sectionActionHandler({
283
284
  type: '@CUSTOMSECTION/BLOCK_CLICKED',
@@ -427,7 +428,10 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
427
428
  else {
428
429
  childrenCBIds = newBulkCBIds;
429
430
  }
430
- var groupDisabled = (0, group_1.findDirectChildrenBlockIds)(newblock, editingGroupBlock).length === newBulkBlockIds.length;
431
+ var groupDisabled = (0, group_1.findDirectChildrenBlockIds)(newblock, editingGroupBlock).length ===
432
+ __spreadArray(__spreadArray([], bulkBlockIds, true), added, true).length;
433
+ console.log('directChildrenBlockIds', (0, group_1.findDirectChildrenBlockIds)(newblock, editingGroupBlock));
434
+ console.log('newbulkblocks...', __spreadArray(__spreadArray([], bulkBlockIds, true), added, true));
431
435
  sectionActionHandler &&
432
436
  sectionActionHandler({
433
437
  type: '@CUSTOMSECTION/BLOCK_CLICKED',
@@ -1014,7 +1018,6 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
1014
1018
  }
1015
1019
  }, []);
1016
1020
  var editableCBIDs = (0, group_1.findDirectChildrenCbIds)(newblock, editingGroupBlock);
1017
- console.log('editableCBIDs', editableCBIDs);
1018
1021
  return ((0, jsx_runtime_1.jsx)(ErrorBoundary_1.ErrorBoundary, { children: (0, jsx_runtime_1.jsxs)(gleStyles_1.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) {
1019
1022
  e.stopPropagation();
1020
1023
  e.preventDefault();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pds-dev-kit-web-test",
3
- "version": "2.5.302",
3
+ "version": "2.5.303",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "main": "dist/index.js",