
    Mf                     2    d dl mZmZ  G d de          ZdS )    )	Component_explicitize_argsc                   T    e Zd ZdZdgZd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
        e	j
        e	j
        e	j
        f fd	            Z xZS )DropdownMenua  A DropdownMenu component.
DropdownMenu creates an overlay useful for grouping together links and other
content to organise navigation or other interactive elements.

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.

- addon_type (boolean | a value equal to: 'prepend', 'append'; optional):
    Set this to 'prepend' or 'append' if the DropdownMenu is being
    used in an input group.

- align_end (boolean; optional):
    Align the DropdownMenu along the right side of its parent.
    Default: False.

- caret (boolean; default True):
    Add a caret to the DropdownMenu toggle. Default: True.

- 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):
    Set the color of the DropdownMenu toggle. Available options are:
    'primary', 'secondary', 'success', 'warning', 'danger', 'info',
    'link' or any valid CSS color of your choice (e.g. a hex code, a
    decimal code or a CSS color name) Default: 'primary'.

- direction (a value equal to: 'down', 'start', 'end', 'up', 'left', 'right', 'end'; optional):
    Direction in which to expand the DropdownMenu. Default: 'down'.
    `left` and `right` have been deprecated, and `start` and `end`
    should be used instead.

- disabled (boolean; default False):
    Disable the dropdown.

- group (boolean; optional):
    Set group to True if the DropdownMenu is inside a ButtonGroup.

- in_navbar (boolean; optional):
    Set this to True if the DropdownMenu is inside a navbar. Default:
    False.

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

- label (a list of or a singular dash component, string or number; optional):
    Label for the DropdownMenu toggle.

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

- menu_variant (a value equal to: 'light', 'dark'; default 'light'):
    Set `menu_variant="dark"` to create a dark-mode drop down
    instead.

- nav (boolean; optional):
    Set this to True if the DropdownMenu is inside a nav for styling
    consistent with other nav items. Default: False.

- right (boolean; optional):
    **DEPRECATED** Use `align_end` instead.  Align the DropdownMenu
    along the right side of its parent. Default: False.

- size (a value equal to: 'sm', 'md', 'lg'; optional):
    Size of the DropdownMenu. 'sm' corresponds to small, 'md' to
    medium and 'lg' to large.

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

- toggleClassName (string; optional):
    **DEPRECATED** Use `toggle_class_name` instead.  Often used with
    CSS to style elements with common properties. The classes
    specified with this prop will be applied to the DropdownMenu
    toggle.

- toggle_class_name (string; optional):
    Often used with CSS to style elements with common properties. The
    classes specified with this prop will be applied to the
    DropdownMenu toggle.

- toggle_style (dict; optional):
    Defines CSS styles which will override styles previously set. The
    styles set here apply to the DropdownMenu toggle.label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
addon_type	align_endcaret	className
class_namecolor	directiondisabledgroup	in_navbarkeyr   loading_statemenu_variantnavrightsizestyletoggleClassNametoggle_class_nametoggle_style_explicit_argsc                 .    i | ]}|d k    ||         S )r    ).0k_localss     q/var/www/surfInsights/venv3-11/lib/python3.11/site-packages/dash_bootstrap_components/_components/DropdownMenu.py
<dictcomp>z)DropdownMenu.__init__.<locals>.<dictcomp>   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   r   r   r   kwargsr    argsr%   	__class__s                              @r&   r1   zDropdownMenu.__init__x   s     o  o  o57' %x  %x  %x!8:*$455((vIIII~III*lD!!*EEHEEEEEEr(   )__name__
__module____qualname____doc___children_props_base_nodes
_namespace_typer   r   	UNDEFINEDr1   __classcell__)r5   s   @r&   r   r      s       l9 l9Z iOJ'K,JE $)<IDWdmdw  DM  DW  ]f  ]p  xA  xK  W`  Wj  v  vI  QZ  Qd  py  pC  PY  Pc  nw  nA  GP  GZ  bk  bu  }F  }P  _h  _r  AJ  AT  hq  h{  M	V	  M	`	  g	p	  g	z	  J
S
  J
]
  e
n
  e
x
 
F 
F 
F 
F 
F 
F 
F 
F 
F 
Fr(   r   N)dash.development.base_componentr   r   r   r"   r(   r&   <module>rA      sh    I H H H H H H H}F }F }F }F }F9 }F }F }F }F }Fr(   