
    i	                        d dl mZmZ d dl mZ d dlmZmZ d dlmZ  G d de      Z	 G d de      Z
 G d	 d
e      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d d e      Z G d! d"e      Z G d# d$e      Z G d% d&e      Zy')(    )LiteralOptional)List)	BaseModelField)ActionModelc                       e Zd ZU eed<   y)
DoneActiontextN__name__
__module____qualname__str__annotations__     F/Users/mibo/.openclaw/workspace/data/TuriX-CUA/src/controller/views.pyr
   r
   	       
r   r
   c                       e Zd ZU eed<   y)InputTextActionr   Nr   r   r   r   r   r      r   r   r   c                   J    e Zd ZU  edd      Zeed<    edd      Zeed<   y)RecordAction.zinformation you need to recorddescriptionr   z&filename summary for the recorded info	file_nameN)r   r   r   r   r   r   r   r   r   r   r   r   r      s&    3$DEsE)QRCRr   r   c                       e Zd ZU eed<   y)OpenAppActionapp_nameNr   r   r   r   r   r      s    r   r   c                       e Zd ZU eed<   y)AppleScriptActionscriptNr   r   r   r   r!   r!      s    	r   r!   c                       e Zd ZU eed<   y)PressActionkeyNr   r   r   r   r$   r$      s    	r   r$   c                   6    e Zd ZU eed<   eed<   dZee   ed<   y)PressCombinedActionkey1key2Nkey3)r   r   r   r   r   r*   r   r   r   r   r'   r'      s    

x}r   r'   c                       e Zd ZU eed<   y)LeftClickPositionActionindexNr   r   r   intr   r   r   r   r,   r,   !       r   r,   c                       e Zd ZU eed<   y)RightClickPositionActionr-   Nr.   r   r   r   r2   r2   $   r0   r   r2   c                   2    e Zd ZU  edd      Zee   ed<   y)MoveToAction.Coordinates (normalised) [x,y]r   positionNr   r   r   r   r6   r   floatr   r   r   r   r4   r4   '   s    s0PQ4;Qr   r4   c                   2    e Zd ZU  edd      Zee   ed<   y)LeftClickPixel.r5   r   r6   Nr7   r   r   r   r:   r:   *   s    !#3STHd5kTr   r:   c                   2    e Zd ZU  edd      Zee   ed<   y)RightClickPixel.r5   r   r6   Nr7   r   r   r   r<   r<   .   s    !#3STHd5kTr   r<   c                   z    e Zd ZU  edd      Zee   ed<    edd      Ze	e
   ed<    edd      Ze	e
   ed<   y	)
ScrollUpAction.0Coordinates (normalised) [x,y] to execute scrollr   r6   'Amount to scroll left, between 0 and 25dxz8Amount to scroll up, between 0 and 25. 25 is one page updyNr   r   r   r   r6   r   r8   r   rA   r   r/   rB   r   r   r   r>   r>   1   sD    s0bc4;c3,UVXc]V3,fgXc]gr   r>   c                   z    e Zd ZU  edd      Zee   ed<    edd      Ze	e
   ed<    edd      Ze	e
   ed<   y	)
ScrollDownAction.r?   r   r6   r@   rA   z<Amount to scroll down, between 0 and 25. 25 is one page downrB   NrC   r   r   r   rE   rE   6   sD    s0bc4;c3,UVXc]V3,jkXc]kr   rE   c                   2    e Zd ZU  edd      Zee   ed<   y)ExtractAction.r5   r   	position1N)r   r   r   r   rH   r   r8   r   r   r   r   rG   rG   ;   s    1QRDKRr   rG   c                   V    e Zd ZU  edd      Zee   ed<    edd      Zee   ed<   y)
DragAction.z'Starting Coordinates (normalised) [x,y]r   rH   z%Ending Coordinates (normalised) [x,y]	position2N)	r   r   r   r   rH   r   r8   r   rK   r   r   r   rJ   rJ   >   s.    1Z[DK[1XYDKYr   rJ   c                       e Zd ZdZy)NoParamsActionz2
	Simple parameter model requiring no arguments.
	N)r   r   r   __doc__r   r   r   rM   rM   B   s     r   rM   N)typingr   r   r   pydanticr   r   src.controller.registry.viewsr   r
   r   r   r   r!   r$   r'   r,   r2   r4   r:   r<   r>   rE   rG   rJ   rM   r   r   r   <module>rR      s    $  % 5 i S9 SI 	 
) 
) 
i y R9 RUY UUi UhY h
ly l
SI SZ Z[ r   