pds-dev-kit-web-test 2.5.47 → 2.5.48
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.
@@ -383,7 +383,7 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
|
|
383
383
|
}
|
384
384
|
});
|
385
385
|
};
|
386
|
-
var onContextSection = function () {
|
386
|
+
var onContextSection = function (e) {
|
387
387
|
if (!isEditMode) {
|
388
388
|
return;
|
389
389
|
}
|
@@ -395,7 +395,8 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
|
|
395
395
|
sectionActionHandler({
|
396
396
|
type: '@CUSTOMSECTION/SECTION_RIGHT_CLICKED',
|
397
397
|
payload: {
|
398
|
-
sectionId: props.id
|
398
|
+
sectionId: props.id,
|
399
|
+
e: e
|
399
400
|
}
|
400
401
|
});
|
401
402
|
};
|
@@ -465,7 +466,7 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
|
|
465
466
|
return ((0, jsx_runtime_1.jsx)(ErrorBoundary_1.ErrorBoundary, { children: (0, jsx_runtime_1.jsxs)(exports.S_gleStyles, { 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) {
|
466
467
|
e.stopPropagation();
|
467
468
|
e.preventDefault();
|
468
|
-
onContextSection();
|
469
|
+
onContextSection(e);
|
469
470
|
} }, { children: (0, jsx_runtime_1.jsx)(components_1.CustomSection, __assign({}, props, { isMobile: isMobile, overrideStyles: {
|
470
471
|
minHeight: customSectionStyles.minHeight,
|
471
472
|
paddingTop: padding.top,
|