pds-dev-kit-web-test 2.5.331 → 2.5.333
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.
@@ -716,10 +716,9 @@ var CompositionEditor = (0, react_1.forwardRef)(function CompositionEditorCanvas
|
|
716
716
|
setSelectedBlockId(null);
|
717
717
|
compositionActionHandler &&
|
718
718
|
compositionActionHandler({
|
719
|
-
type: '@COMPOSITION/
|
719
|
+
type: '@COMPOSITION/COMPOSITION_CLICKED',
|
720
720
|
payload: {
|
721
|
-
|
722
|
-
e: e
|
721
|
+
compositionId: props.compositionData.id
|
723
722
|
}
|
724
723
|
});
|
725
724
|
};
|
@@ -760,9 +759,9 @@ var CompositionEditor = (0, react_1.forwardRef)(function CompositionEditorCanvas
|
|
760
759
|
setSelectedBlockId(null);
|
761
760
|
compositionActionHandler &&
|
762
761
|
compositionActionHandler({
|
763
|
-
type: '@COMPOSITION/
|
762
|
+
type: '@COMPOSITION/COMPOSITION_RIGHT_CLICKED',
|
764
763
|
payload: {
|
765
|
-
|
764
|
+
compositionId: props.compositionData.id,
|
766
765
|
e: e
|
767
766
|
}
|
768
767
|
});
|
@@ -79,11 +79,11 @@ type ActionHandlerPayload = {
|
|
79
79
|
e: React.MouseEvent;
|
80
80
|
block: BlockPayloadType;
|
81
81
|
};
|
82
|
-
'@COMPOSITION/
|
83
|
-
|
82
|
+
'@COMPOSITION/COMPOSITION_CLICKED': {
|
83
|
+
compositionId: number;
|
84
84
|
};
|
85
|
-
'@COMPOSITION/
|
86
|
-
|
85
|
+
'@COMPOSITION/COMPOSITION_RIGHT_CLICKED': {
|
86
|
+
compositionId: number;
|
87
87
|
e: React.MouseEvent;
|
88
88
|
};
|
89
89
|
'@COMPOSITION/GROUP_RIGHT_CLICKED': {
|