pds-dev-kit-web-test 0.3.50 → 0.3.51
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.
|
@@ -381,7 +381,10 @@ var CommentList = (0, react_1.forwardRef)(function CustomSection(props, ref) {
|
|
|
381
381
|
}
|
|
382
382
|
var matchedCB = componentBlocks === null || componentBlocks === void 0 ? void 0 : componentBlocks.find(function (cb) { return cb.id.toString() === each.i; });
|
|
383
383
|
if (each.i === 'group' && each.groupLayouts) {
|
|
384
|
-
return ((0, jsx_runtime_1.jsx)("div", __assign({ className: "iamgroup", onClick: function (e) { return e.stopPropagation(); }
|
|
384
|
+
return ((0, jsx_runtime_1.jsx)("div", __assign({ className: "iamgroup", onClick: function (e) { return e.stopPropagation(); }, onContextMenu: function (e) {
|
|
385
|
+
e.stopPropagation();
|
|
386
|
+
onContextMenuCB('group', e);
|
|
387
|
+
} }, { children: (0, jsx_runtime_1.jsx)(WidthProvidedRGL, __assign({ cols: each.w, allowOverlap: true, layout: each.groupLayouts, rowHeight: rowHeight, containerPadding: [0, 0], margin: [10, 10], isDraggable: false, isResizable: false, style: {
|
|
385
388
|
width: '100%'
|
|
386
389
|
} }, { children: (_a = each.groupLayouts) === null || _a === void 0 ? void 0 : _a.map(function (layoutItem, index, array) {
|
|
387
390
|
var matchedCB = componentBlocks === null || componentBlocks === void 0 ? void 0 : componentBlocks.find(function (cb) { return cb.id.toString() === layoutItem.i; });
|