pds-dev-kit-web-test 2.5.182 → 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.
@@ -106,13 +106,10 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
106
106
  : pedigreeState;
107
107
  (0, react_1.useImperativeHandle)(ref, function () {
108
108
  return {
109
- selectCB: function (cbId) {
110
- setSelectedBlockId((0, group_1.formatCbIdToBlockId)(cbId));
109
+ selectCB: function (blockId) {
110
+ setSelectedBlockId(blockId);
111
111
  },
112
- selectCBInBulk: function (cbIds) {
113
- var blockIds = cbIds
114
- .map(function (cbId) { return (0, group_1.formatCbIdToBlockId)(cbId); })
115
- .filter(function (each) { return each !== null; });
112
+ selectCBInBulk: function (blockIds) {
116
113
  setBulkBlockIds(blockIds);
117
114
  },
118
115
  selectGroup: function (groupBlockId) {
@@ -268,8 +265,24 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
268
265
  }
269
266
  }, [selectedBlockId, shortcutKeyMode, sectionActionHandler, setSelectedBlockId]);
270
267
  var makeAllInOneGroup = function () {
268
+ var _a;
271
269
  var allRootChildIds = (0, group_1.findDirectChildrenBlockIds)(pedigreeState, editingGroupBlock);
272
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
+ });
273
286
  };
274
287
  var getCollisionGroupIds = function (cdId1) {
275
288
  var layoutItem = (0, renderHelpers_1.getLayoutItem)(layouts[layoutByDevice], cdId1.toString());
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pds-dev-kit-web-test",
3
- "version": "2.5.182",
3
+ "version": "2.5.184",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "main": "dist/index.js",