
    %g                     *    d dl mZmZ  G d de      Zy)    )	Component_explicitize_argsc                   ^    e Zd ZdZg ZdgZdZd Ze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 )
PaginationaA  A Pagination component.
The container for presentational components for building a pagination UI.
Individual pages should be added as children using the `PaginationItem`
component.

Keyword arguments:

- 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_page (number; default 1):
    The currently active page.

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

- first_last (boolean; default False):
    When True, this will display a first and last icon at the
    beginning and end of the component.

- fully_expanded (boolean; default True):
    When True, this will display all numbers between `min_value` and
    `max_value`.

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

- max_value (number; required):
    Maximum (rightmost) value to appear in the pagination. Must be
    defined. If the `min_value` and `step` together cannot reach this
    value, then the next stepped value is used as the maximum.

- min_value (number; default 1):
    Minimum (leftmost) value to appear in the pagination.

- previous_next (boolean; default False):
    When True, this will display a previous and next icon before and
    after the individual page numbers.

- size (a value equal to: 'sm', 'lg'; optional):
    Set the size of all page items in the pagination.

- step (number; default 1):
    Page increment step.

- style (dict; optional):
    Defines CSS styles which will override styles previously set.childrendash_bootstrap_componentsc                 ,   g d| _         g | _        g d| _        g | _        |j	                  d      }t               }|j                  |       |D ci c]  }|||   
 }}dD ]  }||vst        d|z   dz          t        t        | *  di | y c c}w )N)idactive_page	className
class_name
first_lastfully_expandedloading_state	max_value	min_valueprevious_nextsizestepstyle_explicit_args)r   zRequired argument `z` was not specified. )_prop_names_valid_wildcard_attributesavailable_propertiesavailable_wildcard_propertiespoplocalsupdate	TypeErrorsuperr   __init__)selfr
   r   r   r   r   r   r   r   r   r   r   r   r   kwargsr   _localskargs	__class__s                      m/var/www/dash_apps/app1/venv/lib/python3.12/site-packages/dash_bootstrap_components/_components/Pagination.pyr"   zPagination.__init__L   s     A57' %J!8:*$45(v'56!71:66 	HA})A-0FFH H	H
 	j$(040 7s   B)__name__
__module____qualname____doc___children_props_base_nodes
_namespace_typer   r   	UNDEFINEDREQUIREDr"   __classcell__)r(   s   @r)   r   r      s   @EB O,K,JE#--):M:MYbYlYlt}  uH  uH  OX  Ob  Ob  nw  nA  nA  MV  M_  M_  fo  fy  fy  GP  GZ  GZ  kt  k~  k~  NW  Na  Na  nw  nA  nA  QZ  Qd  Qd 1 1    r   N)dash.development.base_componentr   r   r   r   r5   r)   <module>r7      s    IV1 V1r5   