Skip to content

MesopMessagesStyles

fastagency.ui.mesop.styles.MesopMessagesStyles dataclass #

MesopMessagesStyles(
    default: MesopMessageStyles = lambda: MesopMessageStyles()(),
    error: MesopMessageStyles = lambda: MesopMessageStyles(
        header_box=MSG_ERROR_HEADER_BOX_STYLE,
        header_md=MSG_ERROR_HEADER_MD_STYLE,
    )(),
    system: MesopMessageStyles = lambda: MesopMessageStyles(
        header_box=MSG_SYSTEM_HEADER_BOX_STYLE
    )(),
    text: MesopMessageStyles = lambda: MesopMessageStyles()(),
    suggested_function_call: MesopMessageStyles = lambda: MesopMessageStyles(
        header_box=MSG_SUGESTED_FUNCTION_CALL_HEADER_BOX_STYLE
    )(),
    function_call_execution: MesopMessageStyles = lambda: MesopMessageStyles(
        header_box=MSG_FUNCTION_CALL_EXECUTION_HEADER_BOX_STYLE
    )(),
    text_input: MesopMessageStyles = lambda: MesopMessageStyles(
        header_box=MSG_TEXT_INPUT_HEADER_BOX_STYLE
    )(),
    text_input_inner: MesopTextInputInnerStyles = lambda: MesopTextInputInnerStyles()(),
    single_choice_inner: MesopSingleChoiceInnerStyles = lambda: MesopSingleChoiceInnerStyles()(),
    multiple_choice_inner: MesopMultipleChoiceInnerStyles = lambda: MesopMultipleChoiceInnerStyles()(),
)

default class-attribute instance-attribute #

default: MesopMessageStyles = field(
    default_factory=lambda: MesopMessageStyles()
)

error class-attribute instance-attribute #

error: MesopMessageStyles = field(
    default_factory=lambda: MesopMessageStyles(
        header_box=MSG_ERROR_HEADER_BOX_STYLE,
        header_md=MSG_ERROR_HEADER_MD_STYLE,
    )
)

function_call_execution class-attribute instance-attribute #

function_call_execution: MesopMessageStyles = field(
    default_factory=lambda: MesopMessageStyles(
        header_box=MSG_FUNCTION_CALL_EXECUTION_HEADER_BOX_STYLE
    )
)

multiple_choice_inner class-attribute instance-attribute #

multiple_choice_inner: MesopMultipleChoiceInnerStyles = (
    field(
        default_factory=lambda: MesopMultipleChoiceInnerStyles()
    )
)

single_choice_inner class-attribute instance-attribute #

single_choice_inner: MesopSingleChoiceInnerStyles = field(
    default_factory=lambda: MesopSingleChoiceInnerStyles()
)

suggested_function_call class-attribute instance-attribute #

suggested_function_call: MesopMessageStyles = field(
    default_factory=lambda: MesopMessageStyles(
        header_box=MSG_SUGESTED_FUNCTION_CALL_HEADER_BOX_STYLE
    )
)

system class-attribute instance-attribute #

system: MesopMessageStyles = field(
    default_factory=lambda: MesopMessageStyles(
        header_box=MSG_SYSTEM_HEADER_BOX_STYLE
    )
)

text class-attribute instance-attribute #

text: MesopMessageStyles = field(
    default_factory=lambda: MesopMessageStyles()
)

text_input class-attribute instance-attribute #

text_input: MesopMessageStyles = field(
    default_factory=lambda: MesopMessageStyles(
        header_box=MSG_TEXT_INPUT_HEADER_BOX_STYLE
    )
)

text_input_inner class-attribute instance-attribute #

text_input_inner: MesopTextInputInnerStyles = field(
    default_factory=lambda: MesopTextInputInnerStyles()
)