
    Mf                     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de	j
        e	j
        e	j
        e	j
        e	j
        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 )Spinnera	  A Spinner component.
Render Bootstrap style loading spinners using only CSS.

This component can be used standalone to render a loading spinner, or it can
be used like `dash_core_components.Loading` by giving it children. In the
latter case the chosen spinner will display while the children are loading.

Keyword arguments:

- children (a list of or a singular dash component, string or number; optional):
    The children of this component.

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

- color (string; optional):
    Sets the color of the Spinner. Main options are Bootstrap
    contextual colors: primary, secondary, success, info, warning,
    danger, light, dark, body, muted, white-50, black-50. You can also
    specify any valid CSS color of your choice (e.g. a hex code, a
    decimal code or a CSS color name)  If not specified will default
    to text colour.

- delay_hide (number; default 0):
    When using the spinner as a loading spinner, add a time delay (in
    ms) to the spinner being removed to prevent flickering.

- delay_show (number; default 0):
    When using the spinner as a loading spinner, add a time delay (in
    ms) to the spinner being shown after the loading_state is set to
    True.

- fullscreen (boolean; optional):
    Boolean that determines if the loading spinner will be displayed
    full-screen or not.

- fullscreenClassName (string; optional):
    **DEPRECATED** - use `fullscreen_class_name` instead.  Often used
    with CSS to style elements with common properties.

- fullscreen_class_name (string; optional):
    Often used with CSS to style elements with common properties.

- fullscreen_style (dict; optional):
    Defines CSS styles for the container when fullscreen=True.

- show_initially (boolean; default True):
    Whether the Spinner should show on app start-up before the loading
    state has been determined. Default True.

- size (string; optional):
    The spinner size. Options are 'sm', and 'md'.

- spinnerClassName (string; optional):
    **DEPRECATED** - use `spinner_class_name` instead.  CSS class
    names to apply to the spinner.

- spinner_class_name (string; optional):
    CSS class names to apply to the spinner.

- spinner_style (dict; optional):
    Inline CSS styles to apply to the spinner.

- type (string; default 'border'):
    The type of spinner. Options 'border' and 'grow'. Default
    'border'.childrendash_bootstrap_componentsNc                    g d| _         g | _        g d| _        g | _        |                    d          }t                                          |           fd|D             } t          t          |           j	        dd|i| d S )N)r   idcolor
delay_hide
delay_show
fullscreenfullscreenClassNamefullscreen_class_namefullscreen_styleshow_initiallysizespinnerClassNamespinner_class_namespinner_styletype_explicit_argsc                 .    i | ]}|d k    ||         S )r    ).0k_localss     l/var/www/surfInsights/venv3-11/lib/python3.11/site-packages/dash_bootstrap_components/_components/Spinner.py
<dictcomp>z$Spinner.__init__.<locals>.<dictcomp>X   s$    III!j71:    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   r   r   r   r   kwargsr   argsr   	__class__s                      @r   r)   zSpinner.__init__O   s     B  B  B57' %K  %K  %K!8:*$455((vIIII~III%gt%@@x@4@@@@@r    )__name__
__module____qualname____doc___children_props_base_nodes
_namespace_typer   r   	UNDEFINEDr)   __classcell__)r-   s   @r   r   r      s(       C CH O,K,JE $)<yObr{  sF  ^g  ^q  GP  GZ  ox  oB  U^  Uh  py  pC  JS  J]  dm  dw  DM  DW  dm  dw  DM  DW  hq  h{ 
A 
A 
A 
A 
A 
A 
A 
A 
A 
Ar    r   N)dash.development.base_componentr   r   r   r   r    r   <module>r9      sh    I H H H H H H HTA TA TA TA TAi TA TA TA TA TAr    