
    %g                     *    d dl mZmZ  G d de      Zy)    )	Component_explicitize_argsc                   v    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 | _        |j	                  d      }t               }|j                  |       |D ci c]  }|dk7  s	|||    }}t        t        | &  dd|i| y c c}w )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_argsr    )
_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   _localskargs	__class__s                        j/var/www/dash_apps/app1/venv/lib/python3.12/site-packages/dash_bootstrap_components/_components/Spinner.pyr"   zSpinner.__init__O   s     B57' %K!8:*$45(v'5I!j71:IIgt%@x@4@ Js   
A=A=)__name__
__module____qualname____doc___children_props_base_nodes
_namespace_typer   r   	UNDEFINEDr"   __classcell__)r(   s   @r)   r   r      sA   CH O,K,JE $)<)<yObObr{  sF  sF  ^g  ^q  ^q  GP  GZ  GZ  ox  oB  oB  U^  Uh  Uh  py  pC  pC  JS  J]  J]  dm  dw  dw  DM  DW  DW  dm  dw  dw  DM  DW  DW  hq  h{  h{ 
A 
A    r   N)dash.development.base_componentr   r   r   r   r4   r)   <module>r6      s    ITAi TAr4   