
    !j                     2    d dl mZmZ  G d de          ZdS )    )	Component_explicitize_argsc            
            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
        e	j
        f	 fd	            Z xZS )	Clipboarda  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.

    - html_content (string; optional):
        The clipboard html text 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:

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

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

        - component_name (string; optional):
            Holds the name of the component that 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
                    g d| _         g | _        g d| _        g | _        |
                    d          }t                                          |
           fd|D             } t          t          |           j	        di | d S )N)	id	classNamecontenthtml_contentloading_staten_clicksstyle	target_idtitle_explicit_argsc                 "    i | ]}||         S  r   ).0k_localss     N/var/www/html/bolsaweb/venv/lib/python3.11/site-packages/dash/dcc/Clipboard.py
<dictcomp>z&Clipboard.__init__.<locals>.<dictcomp>e   s    666!71:666    r   )
_prop_names_valid_wildcard_attributesavailable_propertiesavailable_wildcard_propertiespoplocalsupdatesuperr   __init__)selfr
   r   r   r   r   r   r   r   r   kwargsr   argsr   	__class__s                @r   r$   zClipboard.__init__<   s    

 

 

 +-'
%
 
%
 
%
! .0*$455((v6666~666'i'//$/////r   )__name__
__module____qualname____doc___children_props_base_nodes
_namespace_typer   r   	UNDEFINEDr$   __classcell__)r(   s   @r   r   r      s        .I .I` O,K'JE %#$(!!%)*0 *0 *0 *0 *0 *0 *0 *0 *0 *0r   r   N)dash.development.base_componentr   r   r   r   r   r   <module>r4      s^    I H H H H H H Ha0 a0 a0 a0 a0	 a0 a0 a0 a0 a0r   