
    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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                 R   g d| _         g | _        g d| _        g | _        |                    d          }t                                          |           fd|D             }dD ]}||vrt          d|z   dz              t          t          |           j
        di | d S )N)idactive_page	className
class_name
first_lastfully_expandedloading_state	max_value	min_valueprevious_nextsizestepstyle_explicit_argsc                 "    i | ]}||         S  r   ).0k_localss     o/var/www/surfInsights/venv3-11/lib/python3.11/site-packages/dash_bootstrap_components/_components/Pagination.py
<dictcomp>z'Pagination.__init__.<locals>.<dictcomp>U   s    666!71:666    )r   zRequired argument `z` was not specified.r   )_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   argsr   r   	__class__s                     @r   r)   zPagination.__init__L   s     A  A  A57' %J  %J  %J!8:*$455((v6666~666 	H 	HA}})A-0FFH H H  	)j$(00400000r   )__name__
__module____qualname____doc___children_props_base_nodes
_namespace_typer   r   	UNDEFINEDREQUIREDr)   __classcell__)r-   s   @r   r   r      s       @E @EB O,K,JE#-):MYbYlt}  uH  OX  Ob  nw  nA  MV  M_  fo  fy  GP  GZ  kt  k~  NW  Na  nw  nA  QZ  Qd 1 1 1 1 1 1 1 1 1 1r   r   N)dash.development.base_componentr   r   r   r   r   r   <module>r:      s^    I H H H H H H HV1 V1 V1 V1 V1 V1 V1 V1 V1 V1r   