o
    d                     @   s$   d dl mZmZ G dd deZdS )    )	Component_explicitize_argsc                       sb   e Zd ZdZg ZdgZdZd Zede	j
e	j
e	j
e	j
e	j
e	j
e	j
e	j
e	j
e	j
f fdd	Z  ZS )Loadinga  A Loading component.
    A Loading component that wraps any other component and displays a spinner until the wrapped component has rendered.

    Keyword arguments:

    - children (list of a list of or a singular dash component, string or numbers | a list of or a singular dash component, string or number; optional):
        Array that holds components to render.

    - 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.

    - className (string; optional):
        Additional CSS class for the spinner root DOM node.

    - color (string; default '#119DFF'):
        Primary colour used for the loading spinners.

    - debug (boolean; optional):
        If True, the spinner will display the component_name and prop_name
        while loading.

    - fullscreen (boolean; optional):
        Boolean that makes the spinner display full-screen.

    - 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.

    - parent_className (string; optional):
        Additional CSS class for the outermost dcc.Loading parent div DOM
        node.

    - parent_style (dict; optional):
        Additional CSS styling for the outermost dcc.Loading parent div
        DOM node.

    - style (dict; optional):
        Additional CSS styling for the spinner root DOM node.

    - type (a value equal to: 'graph', 'cube', 'circle', 'dot', 'default'; default 'default'):
        Property that determines which spinner to show one of 'graph',
        'cube', 'circle', 'dot', or 'default'.childrendash_core_componentsNc                    sj   g d| _ g | _g d| _g | _|d}t   |  fdd|D }tt| j	dd|i| d S )N)r   id	classNamecolordebug
fullscreenloading_stateparent_classNameparent_stylestyletype_explicit_argsc                    s   i | ]}|d kr| | qS )r    ).0k_localsr   U/var/www/html/visualizacion-main/env/lib/python3.10/site-packages/dash/dcc/Loading.py
<dictcomp>s   s    z$Loading.__init__.<locals>.<dictcomp>r   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   r	   r   kwargsr   args	__class__r   r   r!   D   s   



zLoading.__init__)__name__
__module____qualname____doc___children_props_base_nodes
_namespace_typer   r   	UNDEFINEDr!   __classcell__r   r   r%   r   r      s&    8r   N)dash.development.base_componentr   r   r   r   r   r   r   <module>   s   