
    Mfc                     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
        f fd	            Z xZS )DropdownMenuItema
  A DropdownMenuItem component.
Use DropdownMenuItem to build up the content of a DropdownMenu.

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.

- active (boolean; optional):
    Style this item as 'active'.

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

- disabled (boolean; optional):
    Style this item as 'disabled'.

- divider (boolean; optional):
    Set to True if this entry is a divider. Typically, it will have no
    children.

- external_link (boolean; optional):
    If True, the browser will treat this as an external link, forcing
    a page refresh at the new location. If False, this just changes
    the location without triggering a page refresh. Use this if you
    are observing dcc.Location, for instance. Defaults to True for
    absolute URLs and False otherwise.

- header (boolean; optional):
    Set to True if this is a header, rather than a conventional menu
    item.

- href (string; optional):
    Pass a URL (relative or absolute) to make the menu entry a link.

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

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

- n_clicks (number; default 0):
    An integer that represents the number of times that this element
    has been clicked on.

- n_clicks_timestamp (number; default -1):
    An integer that represents the time (in ms since 1970) at which
    n_clicks changed. This can be used to tell which button was
    changed most recently.

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

- target (string; optional):
    Target attribute to pass on to the link. Only applies to external
    links.

- toggle (boolean; default True):
    Whether to toggle the DropdownMenu on click. Default: True.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active	className
class_namedisableddividerexternal_linkheaderhrefkeyloading_staten_clicksn_clicks_timestampstyletargettoggle_explicit_argsc                 .    i | ]}|d k    ||         S )r    ).0k_localss     u/var/www/surfInsights/venv3-11/lib/python3.11/site-packages/dash_bootstrap_components/_components/DropdownMenuItem.py
<dictcomp>z-DropdownMenuItem.__init__.<locals>.<dictcomp>f   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   kwargsr   argsr   	__class__s                        @r    r+   zDropdownMenuItem.__init__]   s     d  d  d57' %m  %m  %m!8:*$455((vIIII~III.%%.IIIDIIIIIr"   )__name__
__module____qualname____doc___children_props_base_nodes
_namespace_typer   r   	UNDEFINEDr+   __classcell__)r/   s   @r    r   r      sB       QC QCd O,K,JE $)<IDWdmdw  DM  DW  ]f  ]p  yB  yL  W`  Wj  t}  tG  PY  Pc  js  j}  FO  FY  ir  i|  GP  GZ  ox  oB  R[  Re  nw  nA 
J 
J 
J 
J 
J 
J 
J 
J 
J 
Jr"   r   N)dash.development.base_componentr   r   r   r   r"   r    <module>r;      sh    I H H H H H H HbJ bJ bJ bJ bJy bJ bJ bJ bJ bJr"   