B
    @\                 @   s   d Z ddlmZmZmZmZ ddlZeeZ	ddl
mZ ddlmZmZmZmZ ddlmZ d	ZeG d
d deZG dd deZG dd deZG dd deZdS )aO   Various kinds of markup (static content) widgets.

.. warning::
    The explicit purpose of these Bokeh Models is to embed *raw HTML text* for
    a browser to execute. If any portion of the text is derived from untrusted
    user inputs, then you must take appropriate care to sanitize the user input
    prior to passing to Bokeh.

    )absolute_importdivisionprint_functionunicode_literalsN   )abstract)AnyBoolStringDict   )Widget)DivMarkup	ParagraphPreTextc               @   s,   e Zd ZdZedddZeeei ddZdS )r   z Base class for Bokeh models that represent HTML markup elements.

    Markups include e.g., ``<div>``, ``<p>``, and ``<pre>``.

     z%
    The contents of the widget.
    )defaulthelpzL
    Raw CSS style declaration. Note this may be web browser dependent.
    N)	__name__
__module____qualname____doc__r
   textr   r   Zstyle r   r   ;lib/python3.7/site-packages/bokeh/models/widgets/markups.pyr   6   s
   r   c               @   s   e Zd ZdZdZdS )r   za A block (paragraph) of text.

    This Bokeh model corresponds to an HTML ``<p>`` element.

    z?sphinx/source/docs/user_guide/examples/interaction_paragraph.pyN)r   r   r   r   __example__r   r   r   r   r   J   s   r   c               @   s    e Zd ZdZdZedddZdS )r   z] A block (div) of text.

    This Bokeh model corresponds to an HTML ``<div>`` element.

    z9sphinx/source/docs/user_guide/examples/interaction_div.pyFz
    Whether the contents should be rendered as raw text or as interpreted HTML.
    The default value is ``False``, meaning contents are rendered as HTML.
    )r   N)r   r   r   r   r   r	   Zrender_as_textr   r   r   r   r   S   s   r   c               @   s   e Zd ZdZdZdS )r   zq A block (paragraph) of pre-formatted text.

    This Bokeh model corresponds to an HTML ``<pre>`` element.

    z=sphinx/source/docs/user_guide/examples/interaction_pretext.pyN)r   r   r   r   r   r   r   r   r   r   a   s   r   )r   Z
__future__r   r   r   r   ZloggingZ	getLoggerr   logZcore.has_propsr   Zcore.propertiesr   r	   r
   r   Zwidgetr   __all__r   r   r   r   r   r   r   r   <module>   s   

	