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.
@@ -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
|
-
|
301
|
-
|
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
|
}
|