
    Eh                     B   S SK r S SKJrJrJr  S SKJrJr  \ R                  \	\
\\S\ R                  \ R                  \	\
\\S4      4   r\ R                  \ R                  \ R                  \ R                   4   r " S S\5      r\" \S\" \R(                  5      5        g)    N)	TypedDictNotRequiredLiteral)	Component_explicitize_argsc                   d  ^  \ rS rSrSr/ rS/rSrS r        SS\	R                  \   S\	R                  \	R                  \\4      S\	R                  \   S\	R                  \   S\	R                  \   S	\	R                  \   S
\	R                  \   S\	R                  \   4U 4S jjjrSrU =r$ )ConfirmDialogProvider   ae  A ConfirmDialogProvider component.
A wrapper component that will display a confirmation dialog
when its child component has been clicked on.

For example:
```
dcc.ConfirmDialogProvider(
    html.Button('click me', id='btn'),
    message='Danger - Are you sure you want to continue.'
    id='confirm')
```

Keyword arguments:

- children (boolean | number | string | dict | list; optional):
    The children to hijack clicks from and display the popup.

- id (string; optional):
    The ID of this component, used to identify dash components in
    callbacks. The ID needs to be unique across all of the components
    in an app.

- cancel_n_clicks (number; default 0):
    Number of times the popup was canceled.

- cancel_n_clicks_timestamp (number; default -1):
    Last time the cancel button was clicked.

- displayed (boolean; optional):
    Is the modal currently displayed.

- message (string; optional):
    Message to show in the popup.

- submit_n_clicks (number; default 0):
    Number of times the submit was clicked.

- submit_n_clicks_timestamp (number; default -1):
    Last time the submit button was clicked.childrendash_core_componentsidmessagesubmit_n_clickssubmit_n_clicks_timestampcancel_n_clickscancel_n_clicks_timestamp	displayedc	                   > / SQU l         / U l        / SQU l        / U l        U	R	                  S5      n
[        5       nUR                  U	5        U
 Vs0 s H  oS:w  d  M
  XU   _M     nn[        [        U ]&  " SSU0UD6  g s  snf )N)r   r   r   r   r   r   r   r   _explicit_argsr    )
_prop_names_valid_wildcard_attributesavailable_propertiesavailable_wildcard_propertiespoplocalsupdatesuperr	   __init__)selfr   r   r   r   r   r   r   r   kwargsr   _localskargs	__class__s                 qC:\Users\julio\OneDrive\Documentos\Trabajo\Ideas Frescas\venv\Lib\site-packages\dash/dcc/ConfirmDialogProvider.pyr   ConfirmDialogProvider.__init__C   s    	
 +-'	%
! .0*$45(v'5I~!j1:~I#T3NXNN Js   	B	B)r   r   r   r   )NNNNNNNN)__name__
__module____qualname____firstlineno____doc___children_props_base_nodes
_namespace_typetypingOptionalComponentTypeUnionstrdict
NumberTypeboolr   __static_attributes____classcell__)r%   s   @r&   r	   r	      s    &4P O,K'J#E 487;(,7;AE7;AE+/'O//-0'O OOFLLd34'O %	'O
  4'O $*??:#>'O  4'O $*??:#>'O ??4('O 'O    r	   r   )r1   typing_extensionsr   r   r   dash.development.base_componentr   r   r4   r5   intfloatSequencer3   SupportsFloatSupportsIntSupportsComplexr7   r	   setattrr   r   r;   r&   <module>rE      s     = = H	
OOFLLc5)T!ABCE \\
&,,f.D.DD

UOI UOp :'89N9W9W'Xr;   