
    Be-                        d Z ddlmZ ddlmZmZ ddlZddlmZ	m
Z ddlmZ ddlmZ  G d	 d
e          Z
 G d de
          Z G d de
          Z G d de          ZdS )zD
Spacer components to add horizontal or vertical space to a layout.
    )annotations)ClassVarListN)DivSpacer   )CDN_DIST)Reactivec                      e Zd ZdZeZddZdS )r   a  
    The `Spacer` layout is a very versatile component which makes it easy to
    put fixed or responsive spacing between objects.

    Like all other components spacers support both absolute and responsive
    sizing modes.

    How-to: https://panel.holoviz.org/how_to/layout/spacing.html#spacer-components

    :Example:

    >>> pn.Row(
    ...    1, pn.Spacer(width=200),
    ...    2, pn.Spacer(width=100),
    ...    3
    ... )
    Nc                |     | j         di |                     |          }||}||f| j        |j        d         <   |S )Nid )_bokeh_model_get_properties_modelsref)selfdocrootparentcommmodels         3lib/python3.11/site-packages/panel/layout/spacer.py
_get_modelzSpacer._get_model%   sM    !!>>D$8$8$=$=>><D(-vTXd^$    NNN)__name__
__module____qualname____doc__BkSpacerr   r   r   r   r   r   r      s9         $ L     r   r   c                  6    e Zd ZdZ ej        dd          ZdS )VSpacera  
    The `VSpacer` layout provides responsive vertical spacing.

    Using this component we can space objects equidistantly in a layout and
    allow the empty space to shrink when the browser is resized.

    Reference: https://panel.holoviz.org/user_guide/Customization.html#spacers

    :Example:

    >>> pn.Column(
    ...     pn.layout.VSpacer(), 'Item 1',
    ...     pn.layout.VSpacer(), 'Item 2',
    ...     pn.layout.VSpacer()
    ... )
    stretch_heightTdefaultreadonlyNr   r   r   r    param	Parametersizing_moder   r   r   r#   r#   -   s1         " "%/*:TJJJKKKr   r#   c                  6    e Zd ZdZ ej        dd          ZdS )HSpacera  
    The `HSpacer` layout provides responsive horizontal spacing.

    Using this component we can space objects equidistantly in a layout and
    allow the empty space to shrink when the browser is resized.

    How-to: https://panel.holoviz.org/how_to/layout/spacing.html#spacer-components

    :Example:

    >>> pn.Row(
    ...     pn.layout.HSpacer(), 'Item 1',
    ...     pn.layout.HSpacer(), 'Item 2',
    ...     pn.layout.HSpacer()
    ... )
    stretch_widthTr%   Nr(   r   r   r   r-   r-   B   s0         " "%//DIIIKKKr   r-   c                  Z    e Zd ZU dZ ej        dd          ZeZe	 dgZ
ded<   d
d	ZdS )Dividera  
    A `Divider` draws a horizontal rule (a `<hr>` tag in HTML) to separate
    multiple components in a layout. It automatically spans the full width of
    the container.

    Reference: https://panel.holoviz.org/reference/layouts/Divider.html

    :Example:

    >>> pn.Column(
    ...     '# Lorem Ipsum',
    ...     pn.layout.Divider(),
    ...     'A very long text... '
    >>> )
    fitTr%   zcss/divider.csszClassVar[List[str]]_stylesheetsNc                    |                      |                                           } | j        dddi|}||}||f| j        |j        d         <   |S )Ntextz<hr>r   r   )_process_param_change_init_paramsr   r   r   )r   r   r   r   r   
propertiesr   s          r   r   zDivider._get_modelp   sc    //0A0A0C0CDD
!!<<v<<<<D(-vTXd^$r   r   )r   r   r   r    r)   ObjectSelectorwidth_policyBkDivr   r	   r2   __annotations__r   r   r   r   r0   r0   W   s{            (5'EEELL $$$)L         r   r0   )r    
__future__r   typingr   r   r)   bokeh.modelsr   r:   r   r!   io.resourcesr	   reactiver
   r#   r-   r0   r   r   r   <module>rA      sB    # " " " " " ! ! ! ! ! ! ! !  9 9 9 9 9 9 9 9 # # # # # #          X   :K K K K Kf K K K*J J J J Jf J J J*    h     r   