Touch UI: Cropping of images within components
We are using Classic UI and currently implementing the Touch UI dialogs additionally for our existing components.
Our image component or other components, which contain an image, also allow the author to do a cropping only within the component. This allows the author to use an image from DAM and crop it only within the component. The cropping data is stored in the component on the page and the rendering takes care about that.
The Classic UI html5smartimage xtype allows to crop, rotate images in a component dialog:

For Touch UI dialogs we do not see a solution for cropping images in components on pages and would like to get ideas how to get this solved.
According to the official documentation html5smartimage xtype is replaced by cq/gui/components/authoring/dialog/fileupload resource type:

But image editing in this way doesn't allow to crop the image within a component on a page. Also, inplace editor that should contain cropping functionality is missing.
Is there a way to customize the Touch UI dialog so that cropping can be done within component dialog? Or is there a way to render an inplace editor for custom components that are not inherited from /apps/core/wcm/components/image/v1/image?
Is there a general approach how to add cropping functionality to the Touch UI fileupload resource type?
Thank you for some input 😄
