mex.editor.consent package¶

Submodules¶

mex.editor.consent.consent_category_list module¶

class mex.editor.consent.consent_category_list.CategoryListConfig(entity_type: str, reference_fields: list[str])¶

Bases: object

Config to store consent category list settings.

entity_type: str¶
reference_fields: list[str]¶
class mex.editor.consent.consent_category_list.ConsentCategoryList(*args, **kwargs)¶

Bases: ComponentState, PaginationStateMixin

ComponentState to show user specific items with pagination.

category: str = ''¶
cleanup() → None¶

Cleanup the component state.

config: CategoryListConfig | None = None¶
fetch_data() → Generator[EventSpec | None]¶

Fetch user-related data based on category.

classmethod get_component(category: Literal['resources', 'publications', 'projects'], merged_login_person: MergedLoginPerson | None) → Component¶

Get the category list component.

initialize(category: str, merged_login_person: MergedLoginPerson | None) → Generator[EventSpec | None]¶

Initialize the component state.

is_loading = False¶
items: list[SearchResult] = []¶
limit = 5¶
merged_login_person: MergedLoginPerson | None = None¶
async resolve_identifiers() → None¶

Resolve identifiers to human-readable display values.

mex.editor.consent.layout module¶

mex.editor.consent.layout.page(*children: Component) → Component¶

Return a page fragment with the consent navigation bar and given children.

mex.editor.consent.main module¶

mex.editor.consent.main.consent_box() → Component¶

Render the consent box with text and buttons.

mex.editor.consent.main.consent_status() → Component¶

Render the current consent status for the user.

mex.editor.consent.main.index() → Component¶

Return the index for the merge and extracted search component.

mex.editor.consent.main.user_data() → Component¶

Render the user data section with name and email.

mex.editor.consent.state module¶

class mex.editor.consent.state.ConsentState(parent_state: BaseState | None = None, init_substates: bool = True, _reflex_internal_init: bool = False, **kwargs)¶

Bases: State

State for the consent component.

_send_rule_set_request(rule_set: AccessPlatformRuleSetRequest | ActivityRuleSetRequest | BibliographicResourceRuleSetRequest | ConsentRuleSetRequest | ContactPointRuleSetRequest | DistributionRuleSetRequest | OrganizationRuleSetRequest | OrganizationalUnitRuleSetRequest | PersonRuleSetRequest | PrimarySourceRuleSetRequest | ResourceRuleSetRequest | VariableRuleSetRequest | VariableGroupRuleSetRequest) → AccessPlatformRuleSetResponse | ActivityRuleSetResponse | BibliographicResourceRuleSetResponse | ConsentRuleSetResponse | ContactPointRuleSetResponse | DistributionRuleSetResponse | OrganizationRuleSetResponse | OrganizationalUnitRuleSetResponse | PersonRuleSetResponse | PrimarySourceRuleSetResponse | ResourceRuleSetResponse | VariableRuleSetResponse | VariableGroupRuleSetResponse¶

Send the rule set to the backend.

backend_vars = {'_available_locales': [MExLocale(id='de', label='Deutsch', language='de'), MExLocale(id='en', label='English', language='en')], '_locale_service': <mex.editor.locale_service.LocaleService object>, '_nav_items': [NavItem(title='layout.nav_bar.search_navitem', route_ids=['/', '/index'], raw_path='/', active=False), NavItem(title='layout.nav_bar.advanced_search_navitem', route_ids=['/advanced-search'], raw_path='/advanced-search/?page=1', active=False), NavItem(title='layout.nav_bar.create_navitem', route_ids=['/create', '/create/[draft_id]'], raw_path='/create', active=False), NavItem(title='layout.nav_bar.edit_navitem', route_ids=['/item/[item_id]'], raw_path='/item/00000000000000', active=False), NavItem(title='layout.nav_bar.merge_navitem', route_ids=['/merge'], raw_path='/merge', active=False), NavItem(title='layout.nav_bar.ingest_navitem', route_ids=['/ingest'], raw_path='/ingest', active=False)], '_reflex_internal_links': None}¶
base_vars = {'consent_status': Var.__init_subclass__.<locals>.ObjectCastedVar(_js_expr='reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state.consent_status_rx_state_', _var_type=mex.editor.models.SearchResult | None, _var_data=None, _original=Var(_js_expr='reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state.consent_status_rx_state_', _var_type=mex.editor.models.SearchResult | None, _var_data=VarData(state='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state', field_name='consent_status', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/'),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/'),))), hooks=('const reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state = useContext(StateContexts.reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state)',), deps=(), position=None, components=())))}¶
class_subclasses = {}¶
computed_vars = {'_consent_nav_items': FakeComputedVarBaseClass(_js_expr='_consent_nav_items_rx_state_', _var_type=list[mex.editor.models.NavItem], _var_data=VarData(state='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state', field_name='_consent_nav_items', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/'),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/'),))), hooks=('const reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state = useContext(StateContexts.reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state)',), deps=(), position=None, components=()), _cache=True, _backend=True, _initial_value=Unset, _static_deps={}, _auto_deps=True, _update_interval=None, _fget=<function ConsentState._consent_nav_items>, _name='_consent_nav_items'), 'consent_datetime': FakeComputedVarBaseClass(_js_expr='consent_datetime_rx_state_', _var_type=<class 'str'>, _var_data=VarData(state='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state', field_name='consent_datetime', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/'),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/'),))), hooks=('const reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state = useContext(StateContexts.reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state)',), deps=(), position=None, components=()), _cache=False, _backend=False, _initial_value=Unset, _static_deps={}, _auto_deps=True, _update_interval=None, _fget=<function ConsentState.consent_datetime>, _name='consent_datetime'), 'consent_md': FakeComputedVarBaseClass(_js_expr='consent_md_rx_state_', _var_type=<class 'str'>, _var_data=VarData(state='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state', field_name='consent_md', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/'),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/'),))), hooks=('const reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state = useContext(StateContexts.reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state)',), deps=(), position=None, components=()), _cache=True, _backend=False, _initial_value=Unset, _static_deps={}, _auto_deps=True, _update_interval=None, _fget=<function ConsentState.consent_md>, _name='consent_md'), 'consent_nav_items_translated': FakeComputedVarBaseClass(_js_expr='consent_nav_items_translated_rx_state_', _var_type=list[mex.editor.models.NavItem], _var_data=VarData(state='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state', field_name='consent_nav_items_translated', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/'),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/'),))), hooks=('const reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state = useContext(StateContexts.reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state)',), deps=(), position=None, components=()), _cache=True, _backend=False, _initial_value=Unset, _static_deps={}, _auto_deps=True, _update_interval=None, _fget=<function ConsentState.consent_nav_items_translated>, _name='consent_nav_items_translated'), 'label_consent_box_consent_button': FakeComputedVarBaseClass(_js_expr='label_consent_box_consent_button_rx_state_', _var_type=<class 'str'>, _var_data=VarData(state='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state', field_name='label_consent_box_consent_button', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/'),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/'),))), hooks=('const reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state = useContext(StateContexts.reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state)',), deps=(), position=None, components=()), _cache=True, _backend=False, _initial_value=Unset, _static_deps={None: {'current_locale'}}, _auto_deps=False, _update_interval=None, _fget=<function ConsentState.label_consent_box_consent_button>, _name='label_consent_box_consent_button'), 'label_consent_box_no_consent_button': FakeComputedVarBaseClass(_js_expr='label_consent_box_no_consent_button_rx_state_', _var_type=<class 'str'>, _var_data=VarData(state='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state', field_name='label_consent_box_no_consent_button', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/'),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/'),))), hooks=('const reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state = useContext(StateContexts.reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state)',), deps=(), position=None, components=()), _cache=True, _backend=False, _initial_value=Unset, _static_deps={None: {'current_locale'}}, _auto_deps=False, _update_interval=None, _fget=<function ConsentState.label_consent_box_no_consent_button>, _name='label_consent_box_no_consent_button'), 'label_consent_status_consented_format': FakeComputedVarBaseClass(_js_expr='label_consent_status_consented_format_rx_state_', _var_type=<class 'str'>, _var_data=VarData(state='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state', field_name='label_consent_status_consented_format', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/'),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/'),))), hooks=('const reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state = useContext(StateContexts.reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state)',), deps=(), position=None, components=()), _cache=True, _backend=False, _initial_value=Unset, _static_deps={None: {'consent_datetime', 'current_locale'}}, _auto_deps=False, _update_interval=None, _fget=<function ConsentState.label_consent_status_consented_format>, _name='label_consent_status_consented_format'), 'label_consent_status_declined_format': FakeComputedVarBaseClass(_js_expr='label_consent_status_declined_format_rx_state_', _var_type=<class 'str'>, _var_data=VarData(state='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state', field_name='label_consent_status_declined_format', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/'),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/'),))), hooks=('const reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state = useContext(StateContexts.reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state)',), deps=(), position=None, components=()), _cache=True, _backend=False, _initial_value=Unset, _static_deps={None: {'consent_datetime', 'current_locale'}}, _auto_deps=False, _update_interval=None, _fget=<function ConsentState.label_consent_status_declined_format>, _name='label_consent_status_declined_format'), 'label_consent_status_loading': FakeComputedVarBaseClass(_js_expr='label_consent_status_loading_rx_state_', _var_type=<class 'str'>, _var_data=VarData(state='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state', field_name='label_consent_status_loading', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/'),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/'),))), hooks=('const reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state = useContext(StateContexts.reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state)',), deps=(), position=None, components=()), _cache=True, _backend=False, _initial_value=Unset, _static_deps={None: {'current_locale'}}, _auto_deps=False, _update_interval=None, _fget=<function ConsentState.label_consent_status_loading>, _name='label_consent_status_loading'), 'label_consent_status_no_consent': FakeComputedVarBaseClass(_js_expr='label_consent_status_no_consent_rx_state_', _var_type=<class 'str'>, _var_data=VarData(state='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state', field_name='label_consent_status_no_consent', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/'),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/'),))), hooks=('const reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state = useContext(StateContexts.reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state)',), deps=(), position=None, components=()), _cache=True, _backend=False, _initial_value=Unset, _static_deps={None: {'current_locale'}}, _auto_deps=False, _update_interval=None, _fget=<function ConsentState.label_consent_status_no_consent>, _name='label_consent_status_no_consent'), 'label_nav_bar_consent_navitem': FakeComputedVarBaseClass(_js_expr='label_nav_bar_consent_navitem_rx_state_', _var_type=<class 'str'>, _var_data=VarData(state='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state', field_name='label_nav_bar_consent_navitem', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/'),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/'),))), hooks=('const reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state = useContext(StateContexts.reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state)',), deps=(), position=None, components=()), _cache=True, _backend=False, _initial_value=Unset, _static_deps={None: {'current_locale'}}, _auto_deps=False, _update_interval=None, _fget=<function ConsentState.label_nav_bar_consent_navitem>, _name='label_nav_bar_consent_navitem'), 'label_projects_title': FakeComputedVarBaseClass(_js_expr='label_projects_title_rx_state_', _var_type=<class 'str'>, _var_data=VarData(state='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state', field_name='label_projects_title', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/'),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/'),))), hooks=('const reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state = useContext(StateContexts.reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state)',), deps=(), position=None, components=()), _cache=True, _backend=False, _initial_value=Unset, _static_deps={None: {'current_locale'}}, _auto_deps=False, _update_interval=None, _fget=<function ConsentState.label_projects_title>, _name='label_projects_title'), 'label_publications_title': FakeComputedVarBaseClass(_js_expr='label_publications_title_rx_state_', _var_type=<class 'str'>, _var_data=VarData(state='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state', field_name='label_publications_title', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/'),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/'),))), hooks=('const reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state = useContext(StateContexts.reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state)',), deps=(), position=None, components=()), _cache=True, _backend=False, _initial_value=Unset, _static_deps={None: {'current_locale'}}, _auto_deps=False, _update_interval=None, _fget=<function ConsentState.label_publications_title>, _name='label_publications_title'), 'label_resources_title': FakeComputedVarBaseClass(_js_expr='label_resources_title_rx_state_', _var_type=<class 'str'>, _var_data=VarData(state='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state', field_name='label_resources_title', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/'),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/'),))), hooks=('const reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state = useContext(StateContexts.reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state)',), deps=(), position=None, components=()), _cache=True, _backend=False, _initial_value=Unset, _static_deps={None: {'current_locale'}}, _auto_deps=False, _update_interval=None, _fget=<function ConsentState.label_resources_title>, _name='label_resources_title'), 'label_save_success_dialog_content': FakeComputedVarBaseClass(_js_expr='label_save_success_dialog_content_rx_state_', _var_type=<class 'str'>, _var_data=VarData(state='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state', field_name='label_save_success_dialog_content', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/'),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/'),))), hooks=('const reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state = useContext(StateContexts.reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state)',), deps=(), position=None, components=()), _cache=True, _backend=False, _initial_value=Unset, _static_deps={None: {'current_locale'}}, _auto_deps=False, _update_interval=None, _fget=<function ConsentState.label_save_success_dialog_content>, _name='label_save_success_dialog_content'), 'label_save_success_dialog_title': FakeComputedVarBaseClass(_js_expr='label_save_success_dialog_title_rx_state_', _var_type=<class 'str'>, _var_data=VarData(state='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state', field_name='label_save_success_dialog_title', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/'),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/'),))), hooks=('const reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state = useContext(StateContexts.reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state)',), deps=(), position=None, components=()), _cache=True, _backend=False, _initial_value=Unset, _static_deps={None: {'current_locale'}}, _auto_deps=False, _update_interval=None, _fget=<function ConsentState.label_save_success_dialog_title>, _name='label_save_success_dialog_title'), 'label_user_data_loading': FakeComputedVarBaseClass(_js_expr='label_user_data_loading_rx_state_', _var_type=<class 'str'>, _var_data=VarData(state='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state', field_name='label_user_data_loading', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/'),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/'),))), hooks=('const reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state = useContext(StateContexts.reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state)',), deps=(), position=None, components=()), _cache=True, _backend=False, _initial_value=Unset, _static_deps={None: {'current_locale'}}, _auto_deps=False, _update_interval=None, _fget=<function ConsentState.label_user_data_loading>, _name='label_user_data_loading')}¶
consent_datetime¶

Base class of converting a var to another var type.

consent_md¶

Base class of converting a var to another var type.

consent_nav_items_translated¶

Base class of converting a var to another var type.

consent_status: SearchResult | None¶

Base class of converting a var to another var type.

event_handlers = {'get_consent': EventHandler(event_actions={}, fn=<function ConsentState.get_consent>, state_full_name='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state'), 'set_consent_status': BaseState._create_setter.<locals>.EventHandlerDeprecatedSetter(event_actions={}, fn=<function set_consent_status>, state_full_name='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state'), 'setvar': EventHandlerSetVar(event_actions={}, fn=<function EventHandlerSetVar.setvar>, state_full_name='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state', state_cls=<class 'mex.editor.consent.state.ConsentState'>), 'show_submit_success_toast': EventHandler(event_actions={}, fn=<function ConsentState.show_submit_success_toast>, state_full_name='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state'), 'submit_rule_set': EventHandler(event_actions={}, fn=<function ConsentState.submit_rule_set>, state_full_name='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state')}¶
get_consent = EventHandler(event_actions={}, fn=<function ConsentState.get_consent>, state_full_name='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state')¶
inherited_backend_vars = {'_available_locales': [MExLocale(id='de', label='Deutsch', language='de'), MExLocale(id='en', label='English', language='en')], '_locale_service': <mex.editor.locale_service.LocaleService object>, '_nav_items': [NavItem(title='layout.nav_bar.search_navitem', route_ids=['/', '/index'], raw_path='/', active=False), NavItem(title='layout.nav_bar.advanced_search_navitem', route_ids=['/advanced-search'], raw_path='/advanced-search/?page=1', active=False), NavItem(title='layout.nav_bar.create_navitem', route_ids=['/create', '/create/[draft_id]'], raw_path='/create', active=False), NavItem(title='layout.nav_bar.edit_navitem', route_ids=['/item/[item_id]'], raw_path='/item/00000000000000', active=False), NavItem(title='layout.nav_bar.merge_navitem', route_ids=['/merge'], raw_path='/merge', active=False), NavItem(title='layout.nav_bar.ingest_navitem', route_ids=['/ingest'], raw_path='/ingest', active=False)], '_reflex_internal_links': None}¶
inherited_vars = {'backend_version': FakeComputedVarBaseClass(_js_expr='backend_version_rx_state_', _var_type=<class 'str'>, _var_data=VarData(state='reflex___state____state.mex___editor___state____state', field_name='backend_version', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/'),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/'),))), hooks=('const reflex___state____state__mex___editor___state____state = useContext(StateContexts.reflex___state____state__mex___editor___state____state)',), deps=(), position=None, components=()), _cache=True, _backend=False, _initial_value='N/A', _static_deps={}, _auto_deps=True, _update_interval=None, _fget=<function State.backend_version>, _name='backend_version'), 'current_locale': Var.__init_subclass__.<locals>.StringCastedVar(_js_expr='reflex___state____state__mex___editor___state____state.current_locale_rx_state_', _var_type=<class 'str'>, _var_data=None, _original=Var(_js_expr='reflex___state____state__mex___editor___state____state.current_locale_rx_state_', _var_type=<class 'str'>, _var_data=VarData(state='reflex___state____state.mex___editor___state____state', field_name='current_locale', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/'),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/'),))), hooks=('const reflex___state____state__mex___editor___state____state = useContext(StateContexts.reflex___state____state__mex___editor___state____state)',), deps=(), position=None, components=()))), 'draft_id': FakeComputedVarBaseClass(_js_expr='draft_id_rx_state_', _var_type=<class 'str'>, _var_data=VarData(state='reflex___state____state', field_name='draft_id', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/'),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/'),))), hooks=('const reflex___state____state = useContext(StateContexts.reflex___state____state)',), deps=(), position=None, components=()), _cache=True, _backend=False, _initial_value=Unset, _static_deps={None: {'router'}}, _auto_deps=False, _update_interval=None, _fget=<function BaseState.setup_dynamic_args.<locals>.argsingle_factory.<locals>.inner_func>, _name='draft_id'), 'editor_version': FakeComputedVarBaseClass(_js_expr='editor_version_rx_state_', _var_type=<class 'str'>, _var_data=VarData(state='reflex___state____state.mex___editor___state____state', field_name='editor_version', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/'),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/'),))), hooks=('const reflex___state____state__mex___editor___state____state = useContext(StateContexts.reflex___state____state__mex___editor___state____state)',), deps=(), position=None, components=()), _cache=True, _backend=False, _initial_value=Unset, _static_deps={}, _auto_deps=True, _update_interval=None, _fget=<function State.editor_version>, _name='editor_version'), 'is_hydrated': Var.__init_subclass__.<locals>.BooleanCastedVar(_js_expr='reflex___state____state.is_hydrated_rx_state_', _var_type=<class 'bool'>, _var_data=None, _original=Var(_js_expr='reflex___state____state.is_hydrated_rx_state_', _var_type=<class 'bool'>, _var_data=VarData(state='reflex___state____state', field_name='is_hydrated', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/'),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/'),))), hooks=('const reflex___state____state = useContext(StateContexts.reflex___state____state)',), deps=(), position=None, components=()))), 'is_unsaved_changes_dialog_open': Var.__init_subclass__.<locals>.BooleanCastedVar(_js_expr='reflex___state____state__mex___editor___state____state.is_unsaved_changes_dialog_open_rx_state_', _var_type=<class 'bool'>, _var_data=None, _original=Var(_js_expr='reflex___state____state__mex___editor___state____state.is_unsaved_changes_dialog_open_rx_state_', _var_type=<class 'bool'>, _var_data=VarData(state='reflex___state____state.mex___editor___state____state', field_name='is_unsaved_changes_dialog_open', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/'),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/'),))), hooks=('const reflex___state____state__mex___editor___state____state = useContext(StateContexts.reflex___state____state__mex___editor___state____state)',), deps=(), position=None, components=()))), 'item_id': FakeComputedVarBaseClass(_js_expr='item_id_rx_state_', _var_type=<class 'str'>, _var_data=VarData(state='reflex___state____state', field_name='item_id', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/'),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/'),))), hooks=('const reflex___state____state = useContext(StateContexts.reflex___state____state)',), deps=(), position=None, components=()), _cache=True, _backend=False, _initial_value=Unset, _static_deps={None: {'router'}}, _auto_deps=False, _update_interval=None, _fget=<function BaseState.setup_dynamic_args.<locals>.argsingle_factory.<locals>.inner_func>, _name='item_id'), 'label_additional_titles': FakeComputedVarBaseClass(_js_expr='label_additional_titles_rx_state_', _var_type=<class 'str'>, _var_data=VarData(state='reflex___state____state.mex___editor___state____state', field_name='label_additional_titles', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/'),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/'),))), hooks=('const reflex___state____state__mex___editor___state____state = useContext(StateContexts.reflex___state____state__mex___editor___state____state)',), deps=(), position=None, components=()), _cache=True, _backend=False, _initial_value=Unset, _static_deps={None: {'current_locale'}}, _auto_deps=False, _update_interval=None, _fget=<function State.label_additional_titles>, _name='label_additional_titles'), 'label_nav_bar_logout_button': FakeComputedVarBaseClass(_js_expr='label_nav_bar_logout_button_rx_state_', _var_type=<class 'str'>, _var_data=VarData(state='reflex___state____state.mex___editor___state____state', field_name='label_nav_bar_logout_button', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/'),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/'),))), hooks=('const reflex___state____state__mex___editor___state____state = useContext(StateContexts.reflex___state____state__mex___editor___state____state)',), deps=(), position=None, components=()), _cache=True, _backend=False, _initial_value=Unset, _static_deps={None: {'current_locale'}}, _auto_deps=False, _update_interval=None, _fget=<function State.label_nav_bar_logout_button>, _name='label_nav_bar_logout_button'), 'label_pagination_next_button': FakeComputedVarBaseClass(_js_expr='label_pagination_next_button_rx_state_', _var_type=<class 'str'>, _var_data=VarData(state='reflex___state____state.mex___editor___state____state', field_name='label_pagination_next_button', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/'),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/'),))), hooks=('const reflex___state____state__mex___editor___state____state = useContext(StateContexts.reflex___state____state__mex___editor___state____state)',), deps=(), position=None, components=()), _cache=True, _backend=False, _initial_value=Unset, _static_deps={None: {'current_locale'}}, _auto_deps=False, _update_interval=None, _fget=<function State.label_pagination_next_button>, _name='label_pagination_next_button'), 'label_pagination_previous_button': FakeComputedVarBaseClass(_js_expr='label_pagination_previous_button_rx_state_', _var_type=<class 'str'>, _var_data=VarData(state='reflex___state____state.mex___editor___state____state', field_name='label_pagination_previous_button', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/'),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/'),))), hooks=('const reflex___state____state__mex___editor___state____state = useContext(StateContexts.reflex___state____state__mex___editor___state____state)',), deps=(), position=None, components=()), _cache=True, _backend=False, _initial_value=Unset, _static_deps={None: {'current_locale'}}, _auto_deps=False, _update_interval=None, _fget=<function State.label_pagination_previous_button>, _name='label_pagination_previous_button'), 'label_unsaved_changes_dialog_cancel_button': FakeComputedVarBaseClass(_js_expr='label_unsaved_changes_dialog_cancel_button_rx_state_', _var_type=<class 'str'>, _var_data=VarData(state='reflex___state____state.mex___editor___state____state', field_name='label_unsaved_changes_dialog_cancel_button', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/'),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/'),))), hooks=('const reflex___state____state__mex___editor___state____state = useContext(StateContexts.reflex___state____state__mex___editor___state____state)',), deps=(), position=None, components=()), _cache=True, _backend=False, _initial_value=Unset, _static_deps={None: {'current_locale'}}, _auto_deps=False, _update_interval=None, _fget=<function State.label_unsaved_changes_dialog_cancel_button>, _name='label_unsaved_changes_dialog_cancel_button'), 'label_unsaved_changes_dialog_description': FakeComputedVarBaseClass(_js_expr='label_unsaved_changes_dialog_description_rx_state_', _var_type=<class 'str'>, _var_data=VarData(state='reflex___state____state.mex___editor___state____state', field_name='label_unsaved_changes_dialog_description', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/'),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/'),))), hooks=('const reflex___state____state__mex___editor___state____state = useContext(StateContexts.reflex___state____state__mex___editor___state____state)',), deps=(), position=None, components=()), _cache=True, _backend=False, _initial_value=Unset, _static_deps={None: {'current_locale'}}, _auto_deps=False, _update_interval=None, _fget=<function State.label_unsaved_changes_dialog_description>, _name='label_unsaved_changes_dialog_description'), 'label_unsaved_changes_dialog_description_draft': FakeComputedVarBaseClass(_js_expr='label_unsaved_changes_dialog_description_draft_rx_state_', _var_type=<class 'str'>, _var_data=VarData(state='reflex___state____state.mex___editor___state____state', field_name='label_unsaved_changes_dialog_description_draft', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/'),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/'),))), hooks=('const reflex___state____state__mex___editor___state____state = useContext(StateContexts.reflex___state____state__mex___editor___state____state)',), deps=(), position=None, components=()), _cache=True, _backend=False, _initial_value=Unset, _static_deps={None: {'current_locale'}}, _auto_deps=False, _update_interval=None, _fget=<function State.label_unsaved_changes_dialog_description_draft>, _name='label_unsaved_changes_dialog_description_draft'), 'label_unsaved_changes_dialog_description_edit': FakeComputedVarBaseClass(_js_expr='label_unsaved_changes_dialog_description_edit_rx_state_', _var_type=<class 'str'>, _var_data=VarData(state='reflex___state____state.mex___editor___state____state', field_name='label_unsaved_changes_dialog_description_edit', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/'),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/'),))), hooks=('const reflex___state____state__mex___editor___state____state = useContext(StateContexts.reflex___state____state__mex___editor___state____state)',), deps=(), position=None, components=()), _cache=True, _backend=False, _initial_value=Unset, _static_deps={None: {'current_locale'}}, _auto_deps=False, _update_interval=None, _fget=<function State.label_unsaved_changes_dialog_description_edit>, _name='label_unsaved_changes_dialog_description_edit'), 'label_unsaved_changes_dialog_logout_button': FakeComputedVarBaseClass(_js_expr='label_unsaved_changes_dialog_logout_button_rx_state_', _var_type=<class 'str'>, _var_data=VarData(state='reflex___state____state.mex___editor___state____state', field_name='label_unsaved_changes_dialog_logout_button', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/'),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/'),))), hooks=('const reflex___state____state__mex___editor___state____state = useContext(StateContexts.reflex___state____state__mex___editor___state____state)',), deps=(), position=None, components=()), _cache=True, _backend=False, _initial_value=Unset, _static_deps={None: {'current_locale'}}, _auto_deps=False, _update_interval=None, _fget=<function State.label_unsaved_changes_dialog_logout_button>, _name='label_unsaved_changes_dialog_logout_button'), 'label_unsaved_changes_dialog_title': FakeComputedVarBaseClass(_js_expr='label_unsaved_changes_dialog_title_rx_state_', _var_type=<class 'str'>, _var_data=VarData(state='reflex___state____state.mex___editor___state____state', field_name='label_unsaved_changes_dialog_title', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/'),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/'),))), hooks=('const reflex___state____state__mex___editor___state____state = useContext(StateContexts.reflex___state____state__mex___editor___state____state)',), deps=(), position=None, components=()), _cache=True, _backend=False, _initial_value=Unset, _static_deps={None: {'current_locale'}}, _auto_deps=False, _update_interval=None, _fget=<function State.label_unsaved_changes_dialog_title>, _name='label_unsaved_changes_dialog_title'), 'merged_login_person': Var.__init_subclass__.<locals>.ObjectCastedVar(_js_expr='reflex___state____state__mex___editor___state____state.merged_login_person_rx_state_', _var_type=mex.editor.models.MergedLoginPerson | None, _var_data=None, _original=Var(_js_expr='reflex___state____state__mex___editor___state____state.merged_login_person_rx_state_', _var_type=mex.editor.models.MergedLoginPerson | None, _var_data=VarData(state='reflex___state____state.mex___editor___state____state', field_name='merged_login_person', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/'),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/'),))), hooks=('const reflex___state____state__mex___editor___state____state = useContext(StateContexts.reflex___state____state__mex___editor___state____state)',), deps=(), position=None, components=()))), 'nav_items_translated': FakeComputedVarBaseClass(_js_expr='nav_items_translated_rx_state_', _var_type=list[mex.editor.models.NavItem], _var_data=VarData(state='reflex___state____state.mex___editor___state____state', field_name='nav_items_translated', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/'),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/'),))), hooks=('const reflex___state____state__mex___editor___state____state = useContext(StateContexts.reflex___state____state__mex___editor___state____state)',), deps=(), position=None, components=()), _cache=True, _backend=False, _initial_value=Unset, _static_deps={None: {'_nav_items', 'current_locale', '_locale_service'}}, _auto_deps=True, _update_interval=None, _fget=<function State.nav_items_translated>, _name='nav_items_translated'), 'navigate_target': Var.__init_subclass__.<locals>.StringCastedVar(_js_expr='reflex___state____state__mex___editor___state____state.navigate_target_rx_state_', _var_type=str | None, _var_data=None, _original=Var(_js_expr='reflex___state____state__mex___editor___state____state.navigate_target_rx_state_', _var_type=str | None, _var_data=VarData(state='reflex___state____state.mex___editor___state____state', field_name='navigate_target', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/'),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/'),))), hooks=('const reflex___state____state__mex___editor___state____state = useContext(StateContexts.reflex___state____state__mex___editor___state____state)',), deps=(), position=None, components=()))), 'router': Var.__init_subclass__.<locals>.ObjectCastedVar(_js_expr='reflex___state____state.router_rx_state_', _var_type=<class 'reflex.istate.data.RouterData'>, _var_data=None, _original=Var(_js_expr='reflex___state____state.router_rx_state_', _var_type=<class 'reflex.istate.data.RouterData'>, _var_data=VarData(state='reflex___state____state', field_name='router', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/'),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/'),))), hooks=('const reflex___state____state = useContext(StateContexts.reflex___state____state)',), deps=(), position=None, components=()))), 'target_path_after_login': Var.__init_subclass__.<locals>.StringCastedVar(_js_expr='reflex___state____state__mex___editor___state____state.target_path_after_login_rx_state_', _var_type=str | None, _var_data=None, _original=Var(_js_expr='reflex___state____state__mex___editor___state____state.target_path_after_login_rx_state_', _var_type=str | None, _var_data=VarData(state='reflex___state____state.mex___editor___state____state', field_name='target_path_after_login', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/'),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/'),))), hooks=('const reflex___state____state__mex___editor___state____state = useContext(StateContexts.reflex___state____state__mex___editor___state____state)',), deps=(), position=None, components=()))), 'user_ldap': Var.__init_subclass__.<locals>.ObjectCastedVar(_js_expr='reflex___state____state__mex___editor___state____state.user_ldap_rx_state_', _var_type=mex.editor.models.User | None, _var_data=None, _original=Var(_js_expr='reflex___state____state__mex___editor___state____state.user_ldap_rx_state_', _var_type=mex.editor.models.User | None, _var_data=VarData(state='reflex___state____state.mex___editor___state____state', field_name='user_ldap', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/'),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/'),))), hooks=('const reflex___state____state__mex___editor___state____state = useContext(StateContexts.reflex___state____state__mex___editor___state____state)',), deps=(), position=None, components=()))), 'user_mex': Var.__init_subclass__.<locals>.ObjectCastedVar(_js_expr='reflex___state____state__mex___editor___state____state.user_mex_rx_state_', _var_type=mex.editor.models.User | None, _var_data=None, _original=Var(_js_expr='reflex___state____state__mex___editor___state____state.user_mex_rx_state_', _var_type=mex.editor.models.User | None, _var_data=VarData(state='reflex___state____state.mex___editor___state____state', field_name='user_mex', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/'),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/'),))), hooks=('const reflex___state____state__mex___editor___state____state = useContext(StateContexts.reflex___state____state__mex___editor___state____state)',), deps=(), position=None, components=())))}¶
label_consent_box_consent_button¶

Base class of converting a var to another var type.

label_consent_box_no_consent_button¶

Base class of converting a var to another var type.

label_consent_status_consented_format¶

Base class of converting a var to another var type.

label_consent_status_declined_format¶

Base class of converting a var to another var type.

label_consent_status_loading¶

Base class of converting a var to another var type.

label_consent_status_no_consent¶

Base class of converting a var to another var type.

label_nav_bar_consent_navitem¶

Base class of converting a var to another var type.

label_projects_title¶

Base class of converting a var to another var type.

label_publications_title¶

Base class of converting a var to another var type.

label_resources_title¶

Base class of converting a var to another var type.

label_save_success_dialog_content¶

Base class of converting a var to another var type.

label_save_success_dialog_title¶

Base class of converting a var to another var type.

label_user_data_loading¶

Base class of converting a var to another var type.

set_consent_status = BaseState._create_setter.<locals>.EventHandlerDeprecatedSetter(event_actions={}, fn=<function set_consent_status>, state_full_name='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state')¶
setvar = EventHandlerSetVar(event_actions={}, fn=<function EventHandlerSetVar.setvar>, state_full_name='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state', state_cls=<class 'mex.editor.consent.state.ConsentState'>)¶
show_submit_success_toast = EventHandler(event_actions={}, fn=<function ConsentState.show_submit_success_toast>, state_full_name='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state')¶
submit_rule_set = EventHandler(event_actions={}, fn=<function ConsentState.submit_rule_set>, state_full_name='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state')¶
vars = {'_consent_nav_items': FakeComputedVarBaseClass(_js_expr='_consent_nav_items_rx_state_', _var_type=list[mex.editor.models.NavItem], _var_data=VarData(state='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state', field_name='_consent_nav_items', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/'),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/'),))), hooks=('const reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state = useContext(StateContexts.reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state)',), deps=(), position=None, components=()), _cache=True, _backend=True, _initial_value=Unset, _static_deps={}, _auto_deps=True, _update_interval=None, _fget=<function ConsentState._consent_nav_items>, _name='_consent_nav_items'), 'backend_version': FakeComputedVarBaseClass(_js_expr='backend_version_rx_state_', _var_type=<class 'str'>, _var_data=VarData(state='reflex___state____state.mex___editor___state____state', field_name='backend_version', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/'),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/'),))), hooks=('const reflex___state____state__mex___editor___state____state = useContext(StateContexts.reflex___state____state__mex___editor___state____state)',), deps=(), position=None, components=()), _cache=True, _backend=False, _initial_value='N/A', _static_deps={}, _auto_deps=True, _update_interval=None, _fget=<function State.backend_version>, _name='backend_version'), 'consent_datetime': FakeComputedVarBaseClass(_js_expr='consent_datetime_rx_state_', _var_type=<class 'str'>, _var_data=VarData(state='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state', field_name='consent_datetime', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/'),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/'),))), hooks=('const reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state = useContext(StateContexts.reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state)',), deps=(), position=None, components=()), _cache=False, _backend=False, _initial_value=Unset, _static_deps={}, _auto_deps=True, _update_interval=None, _fget=<function ConsentState.consent_datetime>, _name='consent_datetime'), 'consent_md': FakeComputedVarBaseClass(_js_expr='consent_md_rx_state_', _var_type=<class 'str'>, _var_data=VarData(state='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state', field_name='consent_md', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/'),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/'),))), hooks=('const reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state = useContext(StateContexts.reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state)',), deps=(), position=None, components=()), _cache=True, _backend=False, _initial_value=Unset, _static_deps={}, _auto_deps=True, _update_interval=None, _fget=<function ConsentState.consent_md>, _name='consent_md'), 'consent_nav_items_translated': FakeComputedVarBaseClass(_js_expr='consent_nav_items_translated_rx_state_', _var_type=list[mex.editor.models.NavItem], _var_data=VarData(state='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state', field_name='consent_nav_items_translated', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/'),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/'),))), hooks=('const reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state = useContext(StateContexts.reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state)',), deps=(), position=None, components=()), _cache=True, _backend=False, _initial_value=Unset, _static_deps={}, _auto_deps=True, _update_interval=None, _fget=<function ConsentState.consent_nav_items_translated>, _name='consent_nav_items_translated'), 'consent_status': Var.__init_subclass__.<locals>.ObjectCastedVar(_js_expr='reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state.consent_status_rx_state_', _var_type=mex.editor.models.SearchResult | None, _var_data=None, _original=Var(_js_expr='reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state.consent_status_rx_state_', _var_type=mex.editor.models.SearchResult | None, _var_data=VarData(state='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state', field_name='consent_status', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/'),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/'),))), hooks=('const reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state = useContext(StateContexts.reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state)',), deps=(), position=None, components=()))), 'current_locale': Var.__init_subclass__.<locals>.StringCastedVar(_js_expr='reflex___state____state__mex___editor___state____state.current_locale_rx_state_', _var_type=<class 'str'>, _var_data=None, _original=Var(_js_expr='reflex___state____state__mex___editor___state____state.current_locale_rx_state_', _var_type=<class 'str'>, _var_data=VarData(state='reflex___state____state.mex___editor___state____state', field_name='current_locale', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/'),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/'),))), hooks=('const reflex___state____state__mex___editor___state____state = useContext(StateContexts.reflex___state____state__mex___editor___state____state)',), deps=(), position=None, components=()))), 'draft_id': FakeComputedVarBaseClass(_js_expr='draft_id_rx_state_', _var_type=<class 'str'>, _var_data=VarData(state='reflex___state____state', field_name='draft_id', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/'),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/'),))), hooks=('const reflex___state____state = useContext(StateContexts.reflex___state____state)',), deps=(), position=None, components=()), _cache=True, _backend=False, _initial_value=Unset, _static_deps={None: {'router'}}, _auto_deps=False, _update_interval=None, _fget=<function BaseState.setup_dynamic_args.<locals>.argsingle_factory.<locals>.inner_func>, _name='draft_id'), 'editor_version': FakeComputedVarBaseClass(_js_expr='editor_version_rx_state_', _var_type=<class 'str'>, _var_data=VarData(state='reflex___state____state.mex___editor___state____state', field_name='editor_version', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/'),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/'),))), hooks=('const reflex___state____state__mex___editor___state____state = useContext(StateContexts.reflex___state____state__mex___editor___state____state)',), deps=(), position=None, components=()), _cache=True, _backend=False, _initial_value=Unset, _static_deps={}, _auto_deps=True, _update_interval=None, _fget=<function State.editor_version>, _name='editor_version'), 'is_hydrated': Var.__init_subclass__.<locals>.BooleanCastedVar(_js_expr='reflex___state____state.is_hydrated_rx_state_', _var_type=<class 'bool'>, _var_data=None, _original=Var(_js_expr='reflex___state____state.is_hydrated_rx_state_', _var_type=<class 'bool'>, _var_data=VarData(state='reflex___state____state', field_name='is_hydrated', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/'),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/'),))), hooks=('const reflex___state____state = useContext(StateContexts.reflex___state____state)',), deps=(), position=None, components=()))), 'is_unsaved_changes_dialog_open': Var.__init_subclass__.<locals>.BooleanCastedVar(_js_expr='reflex___state____state__mex___editor___state____state.is_unsaved_changes_dialog_open_rx_state_', _var_type=<class 'bool'>, _var_data=None, _original=Var(_js_expr='reflex___state____state__mex___editor___state____state.is_unsaved_changes_dialog_open_rx_state_', _var_type=<class 'bool'>, _var_data=VarData(state='reflex___state____state.mex___editor___state____state', field_name='is_unsaved_changes_dialog_open', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/'),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/'),))), hooks=('const reflex___state____state__mex___editor___state____state = useContext(StateContexts.reflex___state____state__mex___editor___state____state)',), deps=(), position=None, components=()))), 'item_id': FakeComputedVarBaseClass(_js_expr='item_id_rx_state_', _var_type=<class 'str'>, _var_data=VarData(state='reflex___state____state', field_name='item_id', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/'),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/'),))), hooks=('const reflex___state____state = useContext(StateContexts.reflex___state____state)',), deps=(), position=None, components=()), _cache=True, _backend=False, _initial_value=Unset, _static_deps={None: {'router'}}, _auto_deps=False, _update_interval=None, _fget=<function BaseState.setup_dynamic_args.<locals>.argsingle_factory.<locals>.inner_func>, _name='item_id'), 'label_additional_titles': FakeComputedVarBaseClass(_js_expr='label_additional_titles_rx_state_', _var_type=<class 'str'>, _var_data=VarData(state='reflex___state____state.mex___editor___state____state', field_name='label_additional_titles', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/'),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/'),))), hooks=('const reflex___state____state__mex___editor___state____state = useContext(StateContexts.reflex___state____state__mex___editor___state____state)',), deps=(), position=None, components=()), _cache=True, _backend=False, _initial_value=Unset, _static_deps={None: {'current_locale'}}, _auto_deps=False, _update_interval=None, _fget=<function State.label_additional_titles>, _name='label_additional_titles'), 'label_consent_box_consent_button': FakeComputedVarBaseClass(_js_expr='label_consent_box_consent_button_rx_state_', _var_type=<class 'str'>, _var_data=VarData(state='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state', field_name='label_consent_box_consent_button', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/'),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/'),))), hooks=('const reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state = useContext(StateContexts.reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state)',), deps=(), position=None, components=()), _cache=True, _backend=False, _initial_value=Unset, _static_deps={None: {'current_locale'}}, _auto_deps=False, _update_interval=None, _fget=<function ConsentState.label_consent_box_consent_button>, _name='label_consent_box_consent_button'), 'label_consent_box_no_consent_button': FakeComputedVarBaseClass(_js_expr='label_consent_box_no_consent_button_rx_state_', _var_type=<class 'str'>, _var_data=VarData(state='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state', field_name='label_consent_box_no_consent_button', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/'),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/'),))), hooks=('const reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state = useContext(StateContexts.reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state)',), deps=(), position=None, components=()), _cache=True, _backend=False, _initial_value=Unset, _static_deps={None: {'current_locale'}}, _auto_deps=False, _update_interval=None, _fget=<function ConsentState.label_consent_box_no_consent_button>, _name='label_consent_box_no_consent_button'), 'label_consent_status_consented_format': FakeComputedVarBaseClass(_js_expr='label_consent_status_consented_format_rx_state_', _var_type=<class 'str'>, _var_data=VarData(state='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state', field_name='label_consent_status_consented_format', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/'),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/'),))), hooks=('const reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state = useContext(StateContexts.reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state)',), deps=(), position=None, components=()), _cache=True, _backend=False, _initial_value=Unset, _static_deps={None: {'consent_datetime', 'current_locale'}}, _auto_deps=False, _update_interval=None, _fget=<function ConsentState.label_consent_status_consented_format>, _name='label_consent_status_consented_format'), 'label_consent_status_declined_format': FakeComputedVarBaseClass(_js_expr='label_consent_status_declined_format_rx_state_', _var_type=<class 'str'>, _var_data=VarData(state='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state', field_name='label_consent_status_declined_format', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/'),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/'),))), hooks=('const reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state = useContext(StateContexts.reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state)',), deps=(), position=None, components=()), _cache=True, _backend=False, _initial_value=Unset, _static_deps={None: {'consent_datetime', 'current_locale'}}, _auto_deps=False, _update_interval=None, _fget=<function ConsentState.label_consent_status_declined_format>, _name='label_consent_status_declined_format'), 'label_consent_status_loading': FakeComputedVarBaseClass(_js_expr='label_consent_status_loading_rx_state_', _var_type=<class 'str'>, _var_data=VarData(state='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state', field_name='label_consent_status_loading', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/'),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/'),))), hooks=('const reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state = useContext(StateContexts.reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state)',), deps=(), position=None, components=()), _cache=True, _backend=False, _initial_value=Unset, _static_deps={None: {'current_locale'}}, _auto_deps=False, _update_interval=None, _fget=<function ConsentState.label_consent_status_loading>, _name='label_consent_status_loading'), 'label_consent_status_no_consent': FakeComputedVarBaseClass(_js_expr='label_consent_status_no_consent_rx_state_', _var_type=<class 'str'>, _var_data=VarData(state='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state', field_name='label_consent_status_no_consent', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/'),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/'),))), hooks=('const reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state = useContext(StateContexts.reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state)',), deps=(), position=None, components=()), _cache=True, _backend=False, _initial_value=Unset, _static_deps={None: {'current_locale'}}, _auto_deps=False, _update_interval=None, _fget=<function ConsentState.label_consent_status_no_consent>, _name='label_consent_status_no_consent'), 'label_nav_bar_consent_navitem': FakeComputedVarBaseClass(_js_expr='label_nav_bar_consent_navitem_rx_state_', _var_type=<class 'str'>, _var_data=VarData(state='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state', field_name='label_nav_bar_consent_navitem', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/'),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/'),))), hooks=('const reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state = useContext(StateContexts.reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state)',), deps=(), position=None, components=()), _cache=True, _backend=False, _initial_value=Unset, _static_deps={None: {'current_locale'}}, _auto_deps=False, _update_interval=None, _fget=<function ConsentState.label_nav_bar_consent_navitem>, _name='label_nav_bar_consent_navitem'), 'label_nav_bar_logout_button': FakeComputedVarBaseClass(_js_expr='label_nav_bar_logout_button_rx_state_', _var_type=<class 'str'>, _var_data=VarData(state='reflex___state____state.mex___editor___state____state', field_name='label_nav_bar_logout_button', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/'),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/'),))), hooks=('const reflex___state____state__mex___editor___state____state = useContext(StateContexts.reflex___state____state__mex___editor___state____state)',), deps=(), position=None, components=()), _cache=True, _backend=False, _initial_value=Unset, _static_deps={None: {'current_locale'}}, _auto_deps=False, _update_interval=None, _fget=<function State.label_nav_bar_logout_button>, _name='label_nav_bar_logout_button'), 'label_pagination_next_button': FakeComputedVarBaseClass(_js_expr='label_pagination_next_button_rx_state_', _var_type=<class 'str'>, _var_data=VarData(state='reflex___state____state.mex___editor___state____state', field_name='label_pagination_next_button', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/'),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/'),))), hooks=('const reflex___state____state__mex___editor___state____state = useContext(StateContexts.reflex___state____state__mex___editor___state____state)',), deps=(), position=None, components=()), _cache=True, _backend=False, _initial_value=Unset, _static_deps={None: {'current_locale'}}, _auto_deps=False, _update_interval=None, _fget=<function State.label_pagination_next_button>, _name='label_pagination_next_button'), 'label_pagination_previous_button': FakeComputedVarBaseClass(_js_expr='label_pagination_previous_button_rx_state_', _var_type=<class 'str'>, _var_data=VarData(state='reflex___state____state.mex___editor___state____state', field_name='label_pagination_previous_button', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/'),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/'),))), hooks=('const reflex___state____state__mex___editor___state____state = useContext(StateContexts.reflex___state____state__mex___editor___state____state)',), deps=(), position=None, components=()), _cache=True, _backend=False, _initial_value=Unset, _static_deps={None: {'current_locale'}}, _auto_deps=False, _update_interval=None, _fget=<function State.label_pagination_previous_button>, _name='label_pagination_previous_button'), 'label_projects_title': FakeComputedVarBaseClass(_js_expr='label_projects_title_rx_state_', _var_type=<class 'str'>, _var_data=VarData(state='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state', field_name='label_projects_title', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/'),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/'),))), hooks=('const reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state = useContext(StateContexts.reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state)',), deps=(), position=None, components=()), _cache=True, _backend=False, _initial_value=Unset, _static_deps={None: {'current_locale'}}, _auto_deps=False, _update_interval=None, _fget=<function ConsentState.label_projects_title>, _name='label_projects_title'), 'label_publications_title': FakeComputedVarBaseClass(_js_expr='label_publications_title_rx_state_', _var_type=<class 'str'>, _var_data=VarData(state='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state', field_name='label_publications_title', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/'),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/'),))), hooks=('const reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state = useContext(StateContexts.reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state)',), deps=(), position=None, components=()), _cache=True, _backend=False, _initial_value=Unset, _static_deps={None: {'current_locale'}}, _auto_deps=False, _update_interval=None, _fget=<function ConsentState.label_publications_title>, _name='label_publications_title'), 'label_resources_title': FakeComputedVarBaseClass(_js_expr='label_resources_title_rx_state_', _var_type=<class 'str'>, _var_data=VarData(state='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state', field_name='label_resources_title', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/'),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/'),))), hooks=('const reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state = useContext(StateContexts.reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state)',), deps=(), position=None, components=()), _cache=True, _backend=False, _initial_value=Unset, _static_deps={None: {'current_locale'}}, _auto_deps=False, _update_interval=None, _fget=<function ConsentState.label_resources_title>, _name='label_resources_title'), 'label_save_success_dialog_content': FakeComputedVarBaseClass(_js_expr='label_save_success_dialog_content_rx_state_', _var_type=<class 'str'>, _var_data=VarData(state='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state', field_name='label_save_success_dialog_content', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/'),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/'),))), hooks=('const reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state = useContext(StateContexts.reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state)',), deps=(), position=None, components=()), _cache=True, _backend=False, _initial_value=Unset, _static_deps={None: {'current_locale'}}, _auto_deps=False, _update_interval=None, _fget=<function ConsentState.label_save_success_dialog_content>, _name='label_save_success_dialog_content'), 'label_save_success_dialog_title': FakeComputedVarBaseClass(_js_expr='label_save_success_dialog_title_rx_state_', _var_type=<class 'str'>, _var_data=VarData(state='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state', field_name='label_save_success_dialog_title', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/'),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/'),))), hooks=('const reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state = useContext(StateContexts.reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state)',), deps=(), position=None, components=()), _cache=True, _backend=False, _initial_value=Unset, _static_deps={None: {'current_locale'}}, _auto_deps=False, _update_interval=None, _fget=<function ConsentState.label_save_success_dialog_title>, _name='label_save_success_dialog_title'), 'label_unsaved_changes_dialog_cancel_button': FakeComputedVarBaseClass(_js_expr='label_unsaved_changes_dialog_cancel_button_rx_state_', _var_type=<class 'str'>, _var_data=VarData(state='reflex___state____state.mex___editor___state____state', field_name='label_unsaved_changes_dialog_cancel_button', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/'),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/'),))), hooks=('const reflex___state____state__mex___editor___state____state = useContext(StateContexts.reflex___state____state__mex___editor___state____state)',), deps=(), position=None, components=()), _cache=True, _backend=False, _initial_value=Unset, _static_deps={None: {'current_locale'}}, _auto_deps=False, _update_interval=None, _fget=<function State.label_unsaved_changes_dialog_cancel_button>, _name='label_unsaved_changes_dialog_cancel_button'), 'label_unsaved_changes_dialog_description': FakeComputedVarBaseClass(_js_expr='label_unsaved_changes_dialog_description_rx_state_', _var_type=<class 'str'>, _var_data=VarData(state='reflex___state____state.mex___editor___state____state', field_name='label_unsaved_changes_dialog_description', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/'),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/'),))), hooks=('const reflex___state____state__mex___editor___state____state = useContext(StateContexts.reflex___state____state__mex___editor___state____state)',), deps=(), position=None, components=()), _cache=True, _backend=False, _initial_value=Unset, _static_deps={None: {'current_locale'}}, _auto_deps=False, _update_interval=None, _fget=<function State.label_unsaved_changes_dialog_description>, _name='label_unsaved_changes_dialog_description'), 'label_unsaved_changes_dialog_description_draft': FakeComputedVarBaseClass(_js_expr='label_unsaved_changes_dialog_description_draft_rx_state_', _var_type=<class 'str'>, _var_data=VarData(state='reflex___state____state.mex___editor___state____state', field_name='label_unsaved_changes_dialog_description_draft', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/'),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/'),))), hooks=('const reflex___state____state__mex___editor___state____state = useContext(StateContexts.reflex___state____state__mex___editor___state____state)',), deps=(), position=None, components=()), _cache=True, _backend=False, _initial_value=Unset, _static_deps={None: {'current_locale'}}, _auto_deps=False, _update_interval=None, _fget=<function State.label_unsaved_changes_dialog_description_draft>, _name='label_unsaved_changes_dialog_description_draft'), 'label_unsaved_changes_dialog_description_edit': FakeComputedVarBaseClass(_js_expr='label_unsaved_changes_dialog_description_edit_rx_state_', _var_type=<class 'str'>, _var_data=VarData(state='reflex___state____state.mex___editor___state____state', field_name='label_unsaved_changes_dialog_description_edit', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/'),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/'),))), hooks=('const reflex___state____state__mex___editor___state____state = useContext(StateContexts.reflex___state____state__mex___editor___state____state)',), deps=(), position=None, components=()), _cache=True, _backend=False, _initial_value=Unset, _static_deps={None: {'current_locale'}}, _auto_deps=False, _update_interval=None, _fget=<function State.label_unsaved_changes_dialog_description_edit>, _name='label_unsaved_changes_dialog_description_edit'), 'label_unsaved_changes_dialog_logout_button': FakeComputedVarBaseClass(_js_expr='label_unsaved_changes_dialog_logout_button_rx_state_', _var_type=<class 'str'>, _var_data=VarData(state='reflex___state____state.mex___editor___state____state', field_name='label_unsaved_changes_dialog_logout_button', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/'),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/'),))), hooks=('const reflex___state____state__mex___editor___state____state = useContext(StateContexts.reflex___state____state__mex___editor___state____state)',), deps=(), position=None, components=()), _cache=True, _backend=False, _initial_value=Unset, _static_deps={None: {'current_locale'}}, _auto_deps=False, _update_interval=None, _fget=<function State.label_unsaved_changes_dialog_logout_button>, _name='label_unsaved_changes_dialog_logout_button'), 'label_unsaved_changes_dialog_title': FakeComputedVarBaseClass(_js_expr='label_unsaved_changes_dialog_title_rx_state_', _var_type=<class 'str'>, _var_data=VarData(state='reflex___state____state.mex___editor___state____state', field_name='label_unsaved_changes_dialog_title', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/'),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/'),))), hooks=('const reflex___state____state__mex___editor___state____state = useContext(StateContexts.reflex___state____state__mex___editor___state____state)',), deps=(), position=None, components=()), _cache=True, _backend=False, _initial_value=Unset, _static_deps={None: {'current_locale'}}, _auto_deps=False, _update_interval=None, _fget=<function State.label_unsaved_changes_dialog_title>, _name='label_unsaved_changes_dialog_title'), 'label_user_data_loading': FakeComputedVarBaseClass(_js_expr='label_user_data_loading_rx_state_', _var_type=<class 'str'>, _var_data=VarData(state='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state', field_name='label_user_data_loading', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/'),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/'),))), hooks=('const reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state = useContext(StateContexts.reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state)',), deps=(), position=None, components=()), _cache=True, _backend=False, _initial_value=Unset, _static_deps={None: {'current_locale'}}, _auto_deps=False, _update_interval=None, _fget=<function ConsentState.label_user_data_loading>, _name='label_user_data_loading'), 'merged_login_person': Var.__init_subclass__.<locals>.ObjectCastedVar(_js_expr='reflex___state____state__mex___editor___state____state.merged_login_person_rx_state_', _var_type=mex.editor.models.MergedLoginPerson | None, _var_data=None, _original=Var(_js_expr='reflex___state____state__mex___editor___state____state.merged_login_person_rx_state_', _var_type=mex.editor.models.MergedLoginPerson | None, _var_data=VarData(state='reflex___state____state.mex___editor___state____state', field_name='merged_login_person', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/'),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/'),))), hooks=('const reflex___state____state__mex___editor___state____state = useContext(StateContexts.reflex___state____state__mex___editor___state____state)',), deps=(), position=None, components=()))), 'nav_items_translated': FakeComputedVarBaseClass(_js_expr='nav_items_translated_rx_state_', _var_type=list[mex.editor.models.NavItem], _var_data=VarData(state='reflex___state____state.mex___editor___state____state', field_name='nav_items_translated', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/'),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/'),))), hooks=('const reflex___state____state__mex___editor___state____state = useContext(StateContexts.reflex___state____state__mex___editor___state____state)',), deps=(), position=None, components=()), _cache=True, _backend=False, _initial_value=Unset, _static_deps={None: {'_nav_items', 'current_locale', '_locale_service'}}, _auto_deps=True, _update_interval=None, _fget=<function State.nav_items_translated>, _name='nav_items_translated'), 'navigate_target': Var.__init_subclass__.<locals>.StringCastedVar(_js_expr='reflex___state____state__mex___editor___state____state.navigate_target_rx_state_', _var_type=str | None, _var_data=None, _original=Var(_js_expr='reflex___state____state__mex___editor___state____state.navigate_target_rx_state_', _var_type=str | None, _var_data=VarData(state='reflex___state____state.mex___editor___state____state', field_name='navigate_target', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/'),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/'),))), hooks=('const reflex___state____state__mex___editor___state____state = useContext(StateContexts.reflex___state____state__mex___editor___state____state)',), deps=(), position=None, components=()))), 'router': Var.__init_subclass__.<locals>.ObjectCastedVar(_js_expr='reflex___state____state.router_rx_state_', _var_type=<class 'reflex.istate.data.RouterData'>, _var_data=None, _original=Var(_js_expr='reflex___state____state.router_rx_state_', _var_type=<class 'reflex.istate.data.RouterData'>, _var_data=VarData(state='reflex___state____state', field_name='router', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/'),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/'),))), hooks=('const reflex___state____state = useContext(StateContexts.reflex___state____state)',), deps=(), position=None, components=()))), 'target_path_after_login': Var.__init_subclass__.<locals>.StringCastedVar(_js_expr='reflex___state____state__mex___editor___state____state.target_path_after_login_rx_state_', _var_type=str | None, _var_data=None, _original=Var(_js_expr='reflex___state____state__mex___editor___state____state.target_path_after_login_rx_state_', _var_type=str | None, _var_data=VarData(state='reflex___state____state.mex___editor___state____state', field_name='target_path_after_login', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/'),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/'),))), hooks=('const reflex___state____state__mex___editor___state____state = useContext(StateContexts.reflex___state____state__mex___editor___state____state)',), deps=(), position=None, components=()))), 'user_ldap': Var.__init_subclass__.<locals>.ObjectCastedVar(_js_expr='reflex___state____state__mex___editor___state____state.user_ldap_rx_state_', _var_type=mex.editor.models.User | None, _var_data=None, _original=Var(_js_expr='reflex___state____state__mex___editor___state____state.user_ldap_rx_state_', _var_type=mex.editor.models.User | None, _var_data=VarData(state='reflex___state____state.mex___editor___state____state', field_name='user_ldap', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/'),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/'),))), hooks=('const reflex___state____state__mex___editor___state____state = useContext(StateContexts.reflex___state____state__mex___editor___state____state)',), deps=(), position=None, components=()))), 'user_mex': Var.__init_subclass__.<locals>.ObjectCastedVar(_js_expr='reflex___state____state__mex___editor___state____state.user_mex_rx_state_', _var_type=mex.editor.models.User | None, _var_data=None, _original=Var(_js_expr='reflex___state____state__mex___editor___state____state.user_mex_rx_state_', _var_type=mex.editor.models.User | None, _var_data=VarData(state='reflex___state____state.mex___editor___state____state', field_name='user_mex', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/'),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/'),))), hooks=('const reflex___state____state__mex___editor___state____state = useContext(StateContexts.reflex___state____state__mex___editor___state____state)',), deps=(), position=None, components=())))}¶

mex.editor.consent.transform module¶

mex.editor.consent.transform.add_external_links_to_results(results: list[SearchResult]) → list[SearchResult]¶

Add external links to search results for the consent module.

Parameters:

results – List of search results to transform.

Returns:

List of search results with external links added to titles.

Module contents¶

mex-editor

Navigation

  • mex package
    • Subpackages
    • Submodules
    • mex.mex module
    • Module contents
  • mex.editor package
    • Subpackages
    • Submodules
    • mex.editor.component_option_helper module
    • mex.editor.components module
    • mex.editor.exceptions module
    • mex.editor.fields module
    • mex.editor.label_var module
    • mex.editor.layout module
    • mex.editor.locale_service module
    • mex.editor.logging module
    • mex.editor.main module
    • mex.editor.models module
    • mex.editor.pagination_component module
    • mex.editor.search_reference_dialog module
    • mex.editor.search_results_component module
    • mex.editor.security module
    • mex.editor.settings module
    • mex.editor.state module
    • mex.editor.transform module
    • mex.editor.types module
    • mex.editor.utils module
    • mex.editor.value_label_select module
    • Module contents
  • mex.editor.advanced_search package
  • mex.editor.api package
  • mex.editor.consent package
    • Submodules
    • mex.editor.consent.consent_category_list module
    • mex.editor.consent.layout module
    • mex.editor.consent.main module
    • mex.editor.consent.state module
    • mex.editor.consent.transform module
    • Module contents
  • mex.editor.create package
  • mex.editor.edit package
  • mex.editor.ingest package
  • mex.editor.login package
  • mex.editor.merge package
  • mex.editor.rules package
  • mex.editor.search package
  • mex
    • mex package

Related Topics

  • Documentation overview
    • mex package
      • mex.editor package
        • Previous: mex.editor.api package
        • Next: mex.editor.create package
MEx Project | RKI Imprint | GitHub Privacy | GitHub Cookies