Ë
    É¯eix  ã                   óN   — d Z ddlmZ ddlmZ ddlmZmZ e G d„ d«      «       Zy)z!
Streamlit notification objects.
é    )ÚOrderedDict)Ú	dataclass)ÚAnyÚCallablec                   ót   — e Zd ZU dZedef   ed<   eeef   ed<   dZ	e
ed<   dZeed<   dd
„Zed	efd„«       Zy)ÚStatusElementNotificationz;
    Represents a notification for a Streamlit widget.
    .Úbase_widgetÚargsr   ÚpriorityNÚdataÚreturnc                 ó<   —  | j                   di | j                  ¤Ž y)z*Display the notification using the widget.N© )r	   r
   ©Úselfs    úi/var/www/html/glpi_dashboard/venv/lib/python3.12/site-packages/streamlit_notify/notification_dataclass.pyÚnotifyz StatusElementNotification.notify   s   € àˆ×ÑÑ%˜4Ÿ9™9Ó%ó    c                 ó.   — | j                   j                  S )z$Get the name of the widget function.)r	   Ú__name__r   s    r   ÚnamezStatusElementNotification.name   s   € ð ×Ñ×(Ñ(Ð(r   )r   N)r   Ú
__module__Ú__qualname__Ú__doc__r   r   Ú__annotations__r   Ústrr   Úintr   r   Úpropertyr   r   r   r   r   r   
   s[   … ñð ˜#˜s˜(Ñ#Ó#Ø
c˜3hÑ
ÓØ€HˆcÓØ€Dˆ#Óó&ð ð)cò )ó ñ)r   r   N)	r   Úcollectionsr   Údataclassesr   Útypingr   r   r   r   r   r   ú<module>r"      s.   ðñõ $Ý !ß  ð ÷)ð )ó ñ)r   