pds-dev-kit-web-test 2.5.80 → 2.5.81

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.
@@ -85,8 +85,8 @@ type ActionHandlerPayload = {
85
85
  block: BlockPayloadType;
86
86
  };
87
87
  '@CUSTOMSECTION/CB_RIGHT_CLICKED': {
88
- id: number | 'BULK';
89
88
  e: React.MouseEvent;
89
+ block: BlockPayloadType;
90
90
  };
91
91
  '@CUSTOMSECTION/SECTION_CLICKED': {
92
92
  sectionId: number;
@@ -283,6 +283,7 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
283
283
  });
284
284
  };
285
285
  var onContextMenuCB = function (id, e) {
286
+ var _a;
286
287
  var blockId = (0, group_1.formatCbIdToBlockId)(id);
287
288
  if (!isEditMode) {
288
289
  return;
@@ -297,8 +298,13 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
297
298
  sectionActionHandler({
298
299
  type: '@CUSTOMSECTION/CB_RIGHT_CLICKED',
299
300
  payload: {
300
- id: id,
301
- e: e
301
+ e: e,
302
+ block: {
303
+ blockId: blockId,
304
+ cbId: id,
305
+ type: 'COMPONENT_BLOCK',
306
+ workDir: (_a = (0, group_1.getBlockWorkDirPath)(newblock, blockId)) !== null && _a !== void 0 ? _a : 'NOT-FOUND'
307
+ }
302
308
  }
303
309
  });
304
310
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pds-dev-kit-web-test",
3
- "version": "2.5.80",
3
+ "version": "2.5.81",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "main": "dist/index.js",