
    h                     ^    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y
)    )gettext_lazy   )FrontendUIItemc                   0    e Zd ZdZ G d d      Zd Zd Zy)Spacingz_
    Utilities > "Spacing" Plugin
    https://getbootstrap.com/docs/5.0/utilities/spacing/
    c                        e Zd ZdZ ed      Zy)Spacing.MetaTr   N__name__
__module____qualname__proxy_verbose_name     [/home/dcms/DCMS/lib/python3.12/site-packages/djangocms_frontend/contrib/utilities/models.pyMetar	          |r   r   c                     | j                   r| j                   dk(  rd}nd}|j                  | j                  | j                  | j                   | j                        S )Nxsz{property}{sides}-{size}z%{property}{sides}-{breakpoint}-{size})propertysides
breakpointsize)space_deviceformatspace_propertyspace_sides
space_size)selftemplates     r   get_base_css_classzSpacing.get_base_css_class   s\    
   D$5$5$=1H>H((""((	  
 	
r   c                 *    d| j                          dS )Nz(.))r#   r!   s    r   get_short_descriptionzSpacing.get_short_description!   s    D++-.a00r   N)r   r   r   __doc__r   r#   r'   r   r   r   r   r      s    
$ $
"1r   r   c                   *    e Zd ZdZ G d d      Zd Zy)Headingzm
    Creates a heading (<h1>, <h2>, ...) and adds the entry to the table of contents (if an id is given)
    c                        e Zd ZdZ ed      Zy)Heading.MetaTr*   Nr
   r   r   r   r   r,   *   r   r   r   c                 "    d| j                    dS N(r%   )headingr&   s    r   r'   zHeading.get_short_description.   s    4<<.""r   Nr   r   r   r(   r   r'   r   r   r   r*   r*   %   s    $ $#r   r*   c                   *    e Zd ZdZ G d d      Zd Zy)TableOfContentsz
    Creates a table of contents of all headings processed BEFORE the plugin.
    If the table of contents is supposed to be at the top of the page, move the surrounding column
    using flexbox directives.
    c                        e Zd ZdZ ed      Zy)TableOfContents.MetaTzTable of contentsNr
   r   r   r   r   r5   9   s    ,-r   r   c                 "    d| j                    dS r.   )idr&   s    r   r'   z%TableOfContents.get_short_description=   s    477)1~r   Nr1   r   r   r   r3   r3   2   s    . .r   r3   N)django.utils.translationr   r   modelsr   r   r*   r3   r   r   r   <module>r:      s/    6 $1n 1>
#n 
#n r   