
    h
                     j   d dl mZ d dlmZ ddlmZ ddlmZ ddl	m
Z
mZmZmZ ddlmZ d	d
lmZmZ  ej"                  e      Zej&                   G d d ed      e
eeee             Zej&                   G d d ed      e
eeee             Zej&                   G d d ed      e
eeee             Zy)    )plugin_pool)gettext_lazy   )settings)CMSUIPlugin)AttributesMixinBackgroundMixinResponsiveMixinSpacingMixin   )content   )formsmodelsc                   r    e Zd ZdZ ed      Z ed      Zej                  Z	e
j                  ZdZdddifgZy)
CodePluginzU
    Content > "Code" Plugin
    https://getbootstrap.com/docs/5.0/content/code/
    CodeFrontendz"djangocms_frontend/admin/code.htmlNfields)code_content	code_type)__name__
__module____qualname____doc___namemoduler   	CodeBlockmodelr   CodeFormformchange_form_template	fieldsets     ^/home/dcms/DCMS/lib/python3.12/site-packages/djangocms_frontend/contrib/content/cms_plugins.pyr   r      sS    
 V9Dz]FE>>D?  	

Ir&   r   r   c                   z    e Zd ZdZ ed      Z ed      Zej                  Z	e
j                  ZdZdZdZddd	ifgZy)
BlockquotePluginzm
    Content > "Blockquote" Plugin
    https://getbootstrap.com/docs/5.0/content/typography/#blockquotes
    
Blockquoter   z(djangocms_frontend/admin/blockquote.htmlT)quote_contentquote_originNr   )r+   r,   quote_alignment)r   r   r   r   r   r   r   r   r*   r    r   BlockquoteFormr"   r#   allow_childrenfrontend_editable_fieldsr$   r%   r&   r'   r)   r)   .   s`    
 \?Dz]FEDEN@  		
Ir&   r)   r*   c                   z    e Zd ZdZ ed      Z ed      Zej                  Z	e
j                  ZdZdZdZddd	ifgZy)
FigurePluginzZ
    Content > "Figure" Plugin
    https://getbootstrap.com/docs/5.0/content/figures/
    Figurer   z$djangocms_frontend/admin/figure.htmlT)figure_captionNr   )r4   figure_alignment)r   r   r   r   r   r   r   r   r3   r    r   
FigureFormr"   r#   r/   r0   r$   r%   r&   r'   r2   r2   R   s^    
 X;Dz]FMMEDAN2  	

Ir&   r2   r3   N)cms.plugin_poolr   django.utils.translationr   r    r   cms_pluginsr   commonr   r	   r
   r   r   r   r   get_renderermixin_factoryregister_pluginr   r)   r2   r%   r&   r'   <module>r?      s    ' 6  & U U  %%%g. & @  ,   F ( r&   