o
    d                     @   s$   d dl mZmZ G dd deZdS )    )	Component_explicitize_argsc                	       sX   e Zd ZdZg ZdgZdZd Zee	j
e	j
e	j
e	j
e	j
e	j
e	j
e	j
f fdd	Z  ZS )	Clipboardab  A Clipboard component.
    The Clipboard component copies text to the clipboard

    Keyword arguments:

    - id (string; optional):
        The ID used to identify this component.

    - className (string; optional):
        The class  name of the icon element.

    - content (string; optional):
        The text to  be copied to the clipboard if the `target_id` is
        None.

    - loading_state (dict; optional):
        Object that holds the loading state object coming from
        dash-renderer.

        `loading_state` is a dict with keys:

        - component_name (string; optional):
            Holds the name of the component that is loading.

        - is_loading (boolean; optional):
            Determines if the component is loading or not.

        - prop_name (string; optional):
            Holds which property is loading.

    - n_clicks (number; default 0):
        The number of times copy button was clicked.

    - style (dict; optional):
        The icon's styles.

    - target_id (string | dict; optional):
        The id of target component containing text to copy to the
        clipboard. The inner text of the `children` prop will be copied to
        the clipboard.  If none, then the text from the  `value` prop will
        be copied.

    - title (string; optional):
        The text shown as a tooltip when hovering over the copy icon.childrendash_core_componentsc	                    sf   g d| _ g | _g d| _g | _|	d}
t   |	  fdd|
D }tt| j	di | d S )N)id	classNamecontentloading_staten_clicksstyle	target_idtitle_explicit_argsc                    s   i | ]}| | qS  r   ).0k_localsr   W/var/www/html/visualizacion-main/env/lib/python3.10/site-packages/dash/dcc/Clipboard.py
<dictcomp>_   s    z&Clipboard.__init__.<locals>.<dictcomp>r   )
_prop_names_valid_wildcard_attributesavailable_propertiesavailable_wildcard_propertiespoplocalsupdatesuperr   __init__)selfr   r   r	   r   r   r   r   r
   kwargsr   args	__class__r   r   r   9   s   





zClipboard.__init__)__name__
__module____qualname____doc___children_props_base_nodes
_namespace_typer   r   	UNDEFINEDr   __classcell__r   r   r#   r   r      s     -r   N)dash.development.base_componentr   r   r   r   r   r   r   <module>   s   