Popuptrigger on right mouse click Week View

I want to create a popup trigger for the mouse right clicked on the Week View Component. Is It possible? if so, how can I do it?

I need to popup something like the example below:


From there I will change the color based on user input(query)