
    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
        e	j
        e	j
        e	j
        e	j
        e	j
        f fd	            Z xZS )Placeholdera  A Placeholder component.
Use loading Placeholders for your components or pages to indicate
something may still be 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.

- animation (a value equal to: 'glow', 'wave'; optional):
    Changes the animation of the placeholder.

- button (boolean; default False):
    Show as a button shape.

- className (string; optional):
    **DEPRECATED** Use `class_name` instead.  Often used with CSS to
    style elements with common properties.

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

- color (string; optional):
    Background color, options: primary, secondary, success, info,
    warning, danger, light, dark.

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

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

- key (string; optional):
    A unique identifier for the component, used to improve performance
    by React.js while rendering components See
    https://reactjs.org/docs/lists-and-keys.html for more info.

- lg (number; optional):
    Specify placeholder behaviour on a large screen.  Valid arguments
    are boolean, an integer in the range 1-12 inclusive. See the
    documentation for more details.

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

- md (number; optional):
    Specify placeholder behaviour on a medium screen.  Valid arguments
    are boolean, an integer in the range 1-12 inclusive. See the
    documentation for more details.

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

- size (a value equal to: 'xs', 'sm', 'lg'; optional):
    Component size variations. Only valid when `button=False`.

- sm (number; optional):
    Specify placeholder behaviour on a small screen.  Valid arguments
    are boolean, an integer in the range 1-12 inclusive. See the
    documentation for more details.

- style (dict; optional):
    Defines CSS styles which will override styles previously set.

- xl (number; optional):
    Specify placeholder behaviour on an extra large screen.  Valid
    arguments are boolean, an integer in the range 1-12 inclusive. See
    the documentation for more details.

- xs (number; optional):
    Specify placeholder behaviour on an extra small screen.  Valid
    arguments are boolean, an integer in the range 1-12 inclusive. See
    the documentation for more details.

- xxl (number; optional):
    Specify placeholder behaviour on an extra extra large screen.
    Valid arguments are boolean, an integer in the range 1-12
    inclusive. See the documentation for more details.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	animationbutton	className
class_namecolor
delay_hide
delay_showkeylgloading_statemdshow_initiallysizesmstylexlxsxxl_explicit_argsc                 .    i | ]}|d k    ||         S )r    ).0k_localss     p/var/www/surfInsights/venv3-11/lib/python3.11/site-packages/dash_bootstrap_components/_components/Placeholder.py
<dictcomp>z(Placeholder.__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   r   r   r   r   r   kwargsr   argsr"   	__class__s                           @r#   r.   zPlaceholder.__init__o   s     e  e  e57' %n  %n  %n!8:*$455((vIIII~III)k4  )DD8DtDDDDDr%   )__name__
__module____qualname____doc___children_props_base_nodes
_namespace_typer   r   	UNDEFINEDr.   __classcell__)r2   s   @r#   r   r      sj       c: c:H O,K,JE $)<IDWdmdw  DM  DW  ]f  ]p  @I  @S  _h  _r  zC  zM  T]  Tg  py  pC  PY  Pc  py  pC  T]  Tg  lu  l  DM  DW  \e  \o  t}  tG  LU  L_  en  ex 
E 
E 
E 
E 
E 
E 
E 
E 
E 
Er%   r   N)dash.development.base_componentr   r   r   r   r%   r#   <module>r>      sh    I H H H H H H HtE tE tE tE tE) tE tE tE tE tEr%   