mex.editor.consent package¶

Submodules¶

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_pagination(category: str) → Component¶

Render pagination for navigating results dynamically.

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.projects() → Component¶

Render a list of the users projects.

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

Render a list of the users resources.

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, *, substates: Dict[str, BaseState] = {}, dirty_vars: set[str] = {}, dirty_substates: set[str] = {}, router_data: Dict[str, Any] = {}, router: RouterData = RouterData(session=SessionData(client_token='', client_ip='', session_id=''), headers=HeaderData(host='', origin='', upgrade='', connection='', cookie='', pragma='', cache_control='', user_agent='', sec_websocket_version='', sec_websocket_key='', sec_websocket_extensions='', accept_encoding='', accept_language='', raw_headers=_FrozenDictStrStr(_data=())), page=PageData(host='', path='', raw_path='', full_path='', full_raw_path='', params={})), is_hydrated: bool = False, current_locale: str = 'de-DE', current_page_has_changes: bool = False, navigate_dialog_open: bool = False, navigate_target: str | None = None, user_mex: User | None = None, user_ldap: User | None = None, merged_login_person: MergedLoginPerson | None = None, target_path_after_login: str | None = None, nav_items: list[NavItem] = [NavItem(title='Search', path='/', raw_path='/?page=1', underline='none'), NavItem(title='Create', path='/create', raw_path='/create/', underline='none'), NavItem(title='Edit', path='/item/[identifier]', raw_path='/item/00000000000000/', underline='none'), NavItem(title='Merge', path='/merge', raw_path='/merge/', underline='none'), NavItem(title='Ingest', path='/ingest', raw_path='/ingest/', underline='none')], user_projects: list[SearchResult] = [], user_resources: list[SearchResult] = [], consent_status: SearchResult | None = None, limit: Annotated[int, FieldInfo(annotation=NoneType, required=True, metadata=[Ge(ge=1), Le(le=100)])] = 5, projects_total: Annotated[int, FieldInfo(annotation=NoneType, required=True, metadata=[Ge(ge=0)])] = 0, projects_current_page: Annotated[int, FieldInfo(annotation=NoneType, required=True, metadata=[Ge(ge=1)])] = 1, resources_total: Annotated[int, FieldInfo(annotation=NoneType, required=True, metadata=[Ge(ge=0)])] = 0, resources_current_page: Annotated[int, FieldInfo(annotation=NoneType, required=True, metadata=[Ge(ge=1)])] = 1, is_loading: bool = True, **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: ClassVar[Dict[str, Any]] = {}¶
base_vars: ClassVar[Dict[str, Var]] = {'consent_status': Var.__init_subclass__.<locals>.ObjectCastedVar(_js_expr='reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state.consent_status', _var_type=mex.editor.search.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', _var_type=mex.editor.search.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='/', transpile=False),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),))), 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=()))), 'is_loading': Var.__init_subclass__.<locals>.BooleanCastedVar(_js_expr='reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state.is_loading', _var_type=<class 'bool'>, _var_data=None, _original=Var(_js_expr='reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state.is_loading', _var_type=<class 'bool'>, _var_data=VarData(state='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state', field_name='is_loading', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),))), 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=()))), 'limit': Var(_js_expr='reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state.limit', _var_type=typing.Annotated[int, FieldInfo(annotation=NoneType, required=True, metadata=[Ge(ge=1), Le(le=100)])], _var_data=VarData(state='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state', field_name='limit', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),))), 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=())), 'projects_current_page': Var(_js_expr='reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state.projects_current_page', _var_type=typing.Annotated[int, FieldInfo(annotation=NoneType, required=True, metadata=[Ge(ge=1)])], _var_data=VarData(state='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state', field_name='projects_current_page', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),))), 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=())), 'projects_total': Var(_js_expr='reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state.projects_total', _var_type=typing.Annotated[int, FieldInfo(annotation=NoneType, required=True, metadata=[Ge(ge=0)])], _var_data=VarData(state='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state', field_name='projects_total', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),))), 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=())), 'resources_current_page': Var(_js_expr='reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state.resources_current_page', _var_type=typing.Annotated[int, FieldInfo(annotation=NoneType, required=True, metadata=[Ge(ge=1)])], _var_data=VarData(state='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state', field_name='resources_current_page', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),))), 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=())), 'resources_total': Var(_js_expr='reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state.resources_total', _var_type=typing.Annotated[int, FieldInfo(annotation=NoneType, required=True, metadata=[Ge(ge=0)])], _var_data=VarData(state='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state', field_name='resources_total', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),))), 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=())), 'user_projects': Var.__init_subclass__.<locals>.ArrayCastedVar(_js_expr='reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state.user_projects', _var_type=list[mex.editor.search.models.SearchResult], _var_data=None, _original=Var(_js_expr='reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state.user_projects', _var_type=list[mex.editor.search.models.SearchResult], _var_data=VarData(state='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state', field_name='user_projects', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),))), 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=()))), 'user_resources': Var.__init_subclass__.<locals>.ArrayCastedVar(_js_expr='reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state.user_resources', _var_type=list[mex.editor.search.models.SearchResult], _var_data=None, _original=Var(_js_expr='reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state.user_resources', _var_type=list[mex.editor.search.models.SearchResult], _var_data=VarData(state='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state', field_name='user_resources', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),))), 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: ClassVar[set[Type[BaseState]]] = {}¶
computed_vars: ClassVar[Dict[str, ComputedVar]] = {'disable_projects_next_page': FakeComputedVarBaseClass(_js_expr='disable_projects_next_page', _var_type=<class 'bool'>, _var_data=VarData(state='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state', field_name='', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),))), 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.disable_projects_next_page>), 'disable_projects_previous_page': FakeComputedVarBaseClass(_js_expr='disable_projects_previous_page', _var_type=<class 'bool'>, _var_data=VarData(state='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state', field_name='', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),))), 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.disable_projects_previous_page>), 'disable_resources_next_page': FakeComputedVarBaseClass(_js_expr='disable_resources_next_page', _var_type=<class 'bool'>, _var_data=VarData(state='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state', field_name='', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),))), 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.disable_resources_next_page>), 'disable_resources_previous_page': FakeComputedVarBaseClass(_js_expr='disable_resources_previous_page', _var_type=<class 'bool'>, _var_data=VarData(state='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state', field_name='', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),))), 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.disable_resources_previous_page>), 'projects_total_pages': FakeComputedVarBaseClass(_js_expr='projects_total_pages', _var_type=list[str], _var_data=VarData(state='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state', field_name='', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),))), 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.projects_total_pages>), 'resources_total_pages': FakeComputedVarBaseClass(_js_expr='resources_total_pages', _var_type=list[str], _var_data=VarData(state='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state', field_name='', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),))), 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.resources_total_pages>)}¶
consent_status: SearchResult | None¶

Base class of converting a var to another var type.

disable_projects_next_page¶

Base class of converting a var to another var type.

disable_projects_previous_page¶

Base class of converting a var to another var type.

disable_resources_next_page¶

Base class of converting a var to another var type.

disable_resources_previous_page¶

Base class of converting a var to another var type.

event_handlers: ClassVar[Dict[str, EventHandler]] = {'fetch_data': EventHandler(event_actions={}, fn=<function ConsentState.fetch_data>, state_full_name='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state'), 'get_all_data': EventHandler(event_actions={}, fn=<function ConsentState.get_all_data>, 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'), 'go_to_next_page': EventHandler(event_actions={}, fn=<function ConsentState.go_to_next_page>, state_full_name='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state'), 'go_to_previous_page': EventHandler(event_actions={}, fn=<function ConsentState.go_to_previous_page>, state_full_name='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state'), 'resolve_identifiers': EventHandler(event_actions={}, fn=<function ConsentState.resolve_identifiers>, state_full_name='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state'), 'scroll_to_top': EventHandler(event_actions={}, fn=<function ConsentState.scroll_to_top>, state_full_name='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state'), 'set_consent_status': EventHandler(event_actions={}, fn=<function reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state.set_consent_status>, state_full_name='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state'), 'set_is_loading': EventHandler(event_actions={}, fn=<function reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state.set_is_loading>, state_full_name='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state'), 'set_limit': EventHandler(event_actions={}, fn=<function reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state.set_limit>, state_full_name='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state'), 'set_projects_current_page': EventHandler(event_actions={}, fn=<function reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state.set_projects_current_page>, state_full_name='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state'), 'set_projects_page': EventHandler(event_actions={}, fn=<function ConsentState.set_projects_page>, state_full_name='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state'), 'set_projects_total': EventHandler(event_actions={}, fn=<function reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state.set_projects_total>, state_full_name='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state'), 'set_resources_current_page': EventHandler(event_actions={}, fn=<function reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state.set_resources_current_page>, state_full_name='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state'), 'set_resources_page': EventHandler(event_actions={}, fn=<function ConsentState.set_resources_page>, state_full_name='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state'), 'set_resources_total': EventHandler(event_actions={}, fn=<function reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state.set_resources_total>, state_full_name='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state'), 'set_user_projects': EventHandler(event_actions={}, fn=<function reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state.set_user_projects>, state_full_name='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state'), 'set_user_resources': EventHandler(event_actions={}, fn=<function reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state.set_user_resources>, 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')}¶
fetch_data = EventHandler(event_actions={}, fn=<function ConsentState.fetch_data>, state_full_name='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state')¶
get_all_data = EventHandler(event_actions={}, fn=<function ConsentState.get_all_data>, 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')¶
static get_consent_nav_items() → list[NavItem]¶

Return navigation items for the consent interface.

go_to_next_page = EventHandler(event_actions={}, fn=<function ConsentState.go_to_next_page>, state_full_name='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state')¶
go_to_previous_page = EventHandler(event_actions={}, fn=<function ConsentState.go_to_previous_page>, state_full_name='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state')¶
inherited_backend_vars: ClassVar[Dict[str, Any]] = {}¶
inherited_vars: ClassVar[Dict[str, Var]] = {'backend_version': FakeComputedVarBaseClass(_js_expr='backend_version', _var_type=<class 'str'>, _var_data=VarData(state='reflex___state____state.mex___editor___state____state', field_name='', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),))), 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.backend_version>), 'current_locale': Var.__init_subclass__.<locals>.StringCastedVar(_js_expr='reflex___state____state__mex___editor___state____state.current_locale', _var_type=<class 'str'>, _var_data=None, _original=Var(_js_expr='reflex___state____state__mex___editor___state____state.current_locale', _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='/', transpile=False),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),))), hooks=('const reflex___state____state__mex___editor___state____state = useContext(StateContexts.reflex___state____state__mex___editor___state____state)',), deps=(), position=None, components=()))), 'current_page_has_changes': Var.__init_subclass__.<locals>.BooleanCastedVar(_js_expr='reflex___state____state__mex___editor___state____state.current_page_has_changes', _var_type=<class 'bool'>, _var_data=None, _original=Var(_js_expr='reflex___state____state__mex___editor___state____state.current_page_has_changes', _var_type=<class 'bool'>, _var_data=VarData(state='reflex___state____state.mex___editor___state____state', field_name='current_page_has_changes', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),))), hooks=('const reflex___state____state__mex___editor___state____state = useContext(StateContexts.reflex___state____state__mex___editor___state____state)',), deps=(), position=None, components=()))), 'editor_version': FakeComputedVarBaseClass(_js_expr='editor_version', _var_type=<class 'str'>, _var_data=VarData(state='reflex___state____state.mex___editor___state____state', field_name='', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),))), 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>), 'identifier': FakeComputedVarBaseClass(_js_expr='identifier', _var_type=<class 'str'>, _var_data=VarData(state='reflex___state____state', field_name='', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),))), 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>), 'is_hydrated': Var.__init_subclass__.<locals>.BooleanCastedVar(_js_expr='reflex___state____state.is_hydrated', _var_type=<class 'bool'>, _var_data=None, _original=Var(_js_expr='reflex___state____state.is_hydrated', _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='/', transpile=False),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),))), hooks=('const reflex___state____state = useContext(StateContexts.reflex___state____state)',), deps=(), position=None, components=()))), 'merged_login_person': Var.__init_subclass__.<locals>.ObjectCastedVar(_js_expr='reflex___state____state__mex___editor___state____state.merged_login_person', _var_type=mex.editor.models.MergedLoginPerson | None, _var_data=None, _original=Var(_js_expr='reflex___state____state__mex___editor___state____state.merged_login_person', _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='/', transpile=False),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),))), hooks=('const reflex___state____state__mex___editor___state____state = useContext(StateContexts.reflex___state____state__mex___editor___state____state)',), deps=(), position=None, components=()))), 'nav_items': Var.__init_subclass__.<locals>.ArrayCastedVar(_js_expr='reflex___state____state__mex___editor___state____state.nav_items', _var_type=list[mex.editor.models.NavItem], _var_data=None, _original=Var(_js_expr='reflex___state____state__mex___editor___state____state.nav_items', _var_type=list[mex.editor.models.NavItem], _var_data=VarData(state='reflex___state____state.mex___editor___state____state', field_name='nav_items', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),))), hooks=('const reflex___state____state__mex___editor___state____state = useContext(StateContexts.reflex___state____state__mex___editor___state____state)',), deps=(), position=None, components=()))), 'navigate_dialog_open': Var.__init_subclass__.<locals>.BooleanCastedVar(_js_expr='reflex___state____state__mex___editor___state____state.navigate_dialog_open', _var_type=<class 'bool'>, _var_data=None, _original=Var(_js_expr='reflex___state____state__mex___editor___state____state.navigate_dialog_open', _var_type=<class 'bool'>, _var_data=VarData(state='reflex___state____state.mex___editor___state____state', field_name='navigate_dialog_open', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),))), hooks=('const reflex___state____state__mex___editor___state____state = useContext(StateContexts.reflex___state____state__mex___editor___state____state)',), deps=(), position=None, components=()))), 'navigate_target': Var.__init_subclass__.<locals>.StringCastedVar(_js_expr='reflex___state____state__mex___editor___state____state.navigate_target', _var_type=str | None, _var_data=None, _original=Var(_js_expr='reflex___state____state__mex___editor___state____state.navigate_target', _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='/', transpile=False),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),))), 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', _var_type=<class 'reflex.istate.data.RouterData'>, _var_data=None, _original=Var(_js_expr='reflex___state____state.router', _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='/', transpile=False),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),))), 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', _var_type=str | None, _var_data=None, _original=Var(_js_expr='reflex___state____state__mex___editor___state____state.target_path_after_login', _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='/', transpile=False),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),))), 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', _var_type=mex.editor.models.User | None, _var_data=None, _original=Var(_js_expr='reflex___state____state__mex___editor___state____state.user_ldap', _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='/', transpile=False),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),))), 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', _var_type=mex.editor.models.User | None, _var_data=None, _original=Var(_js_expr='reflex___state____state__mex___editor___state____state.user_mex', _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='/', transpile=False),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),))), hooks=('const reflex___state____state__mex___editor___state____state = useContext(StateContexts.reflex___state____state__mex___editor___state____state)',), deps=(), position=None, components=())))}¶
is_loading: bool¶

Base class of converting a var to another var type.

limit: Annotated[int, FieldInfo(annotation=NoneType, required=True, metadata=[Ge(ge=1), Le(le=100)])]¶

Base class for immutable vars.

projects_current_page: Annotated[int, FieldInfo(annotation=NoneType, required=True, metadata=[Ge(ge=1)])]¶

Base class for immutable vars.

projects_total: Annotated[int, FieldInfo(annotation=NoneType, required=True, metadata=[Ge(ge=0)])]¶

Base class for immutable vars.

projects_total_pages¶

Base class of converting a var to another var type.

resolve_identifiers = EventHandler(event_actions={}, fn=<function ConsentState.resolve_identifiers>, state_full_name='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state')¶
resources_current_page: Annotated[int, FieldInfo(annotation=NoneType, required=True, metadata=[Ge(ge=1)])]¶

Base class for immutable vars.

resources_total: Annotated[int, FieldInfo(annotation=NoneType, required=True, metadata=[Ge(ge=0)])]¶

Base class for immutable vars.

resources_total_pages¶

Base class of converting a var to another var type.

scroll_to_top = EventHandler(event_actions={}, fn=<function ConsentState.scroll_to_top>, state_full_name='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state')¶
set_consent_status = EventHandler(event_actions={}, fn=<function reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state.set_consent_status>, state_full_name='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state')¶
set_is_loading = EventHandler(event_actions={}, fn=<function reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state.set_is_loading>, state_full_name='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state')¶
set_limit = EventHandler(event_actions={}, fn=<function reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state.set_limit>, state_full_name='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state')¶
set_projects_current_page = EventHandler(event_actions={}, fn=<function reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state.set_projects_current_page>, state_full_name='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state')¶
set_projects_page = EventHandler(event_actions={}, fn=<function ConsentState.set_projects_page>, state_full_name='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state')¶
set_projects_total = EventHandler(event_actions={}, fn=<function reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state.set_projects_total>, state_full_name='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state')¶
set_resources_current_page = EventHandler(event_actions={}, fn=<function reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state.set_resources_current_page>, state_full_name='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state')¶
set_resources_page = EventHandler(event_actions={}, fn=<function ConsentState.set_resources_page>, state_full_name='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state')¶
set_resources_total = EventHandler(event_actions={}, fn=<function reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state.set_resources_total>, state_full_name='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state')¶
set_user_projects = EventHandler(event_actions={}, fn=<function reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state.set_user_projects>, state_full_name='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state')¶
set_user_resources = EventHandler(event_actions={}, fn=<function reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state.set_user_resources>, state_full_name='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state')¶
setvar: ClassVar[EventHandler] = 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')¶
user_projects: list[SearchResult]¶

Base class of converting a var to another var type.

user_resources: list[SearchResult]¶

Base class of converting a var to another var type.

vars: ClassVar[Dict[str, Var]] = {'backend_version': FakeComputedVarBaseClass(_js_expr='backend_version', _var_type=<class 'str'>, _var_data=VarData(state='reflex___state____state.mex___editor___state____state', field_name='', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),))), 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.backend_version>), 'consent_status': Var.__init_subclass__.<locals>.ObjectCastedVar(_js_expr='reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state.consent_status', _var_type=mex.editor.search.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', _var_type=mex.editor.search.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='/', transpile=False),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),))), 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', _var_type=<class 'str'>, _var_data=None, _original=Var(_js_expr='reflex___state____state__mex___editor___state____state.current_locale', _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='/', transpile=False),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),))), hooks=('const reflex___state____state__mex___editor___state____state = useContext(StateContexts.reflex___state____state__mex___editor___state____state)',), deps=(), position=None, components=()))), 'current_page_has_changes': Var.__init_subclass__.<locals>.BooleanCastedVar(_js_expr='reflex___state____state__mex___editor___state____state.current_page_has_changes', _var_type=<class 'bool'>, _var_data=None, _original=Var(_js_expr='reflex___state____state__mex___editor___state____state.current_page_has_changes', _var_type=<class 'bool'>, _var_data=VarData(state='reflex___state____state.mex___editor___state____state', field_name='current_page_has_changes', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),))), hooks=('const reflex___state____state__mex___editor___state____state = useContext(StateContexts.reflex___state____state__mex___editor___state____state)',), deps=(), position=None, components=()))), 'disable_projects_next_page': FakeComputedVarBaseClass(_js_expr='disable_projects_next_page', _var_type=<class 'bool'>, _var_data=VarData(state='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state', field_name='', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),))), 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.disable_projects_next_page>), 'disable_projects_previous_page': FakeComputedVarBaseClass(_js_expr='disable_projects_previous_page', _var_type=<class 'bool'>, _var_data=VarData(state='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state', field_name='', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),))), 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.disable_projects_previous_page>), 'disable_resources_next_page': FakeComputedVarBaseClass(_js_expr='disable_resources_next_page', _var_type=<class 'bool'>, _var_data=VarData(state='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state', field_name='', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),))), 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.disable_resources_next_page>), 'disable_resources_previous_page': FakeComputedVarBaseClass(_js_expr='disable_resources_previous_page', _var_type=<class 'bool'>, _var_data=VarData(state='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state', field_name='', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),))), 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.disable_resources_previous_page>), 'editor_version': FakeComputedVarBaseClass(_js_expr='editor_version', _var_type=<class 'str'>, _var_data=VarData(state='reflex___state____state.mex___editor___state____state', field_name='', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),))), 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>), 'identifier': FakeComputedVarBaseClass(_js_expr='identifier', _var_type=<class 'str'>, _var_data=VarData(state='reflex___state____state', field_name='', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),))), 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>), 'is_hydrated': Var.__init_subclass__.<locals>.BooleanCastedVar(_js_expr='reflex___state____state.is_hydrated', _var_type=<class 'bool'>, _var_data=None, _original=Var(_js_expr='reflex___state____state.is_hydrated', _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='/', transpile=False),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),))), hooks=('const reflex___state____state = useContext(StateContexts.reflex___state____state)',), deps=(), position=None, components=()))), 'is_loading': Var.__init_subclass__.<locals>.BooleanCastedVar(_js_expr='reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state.is_loading', _var_type=<class 'bool'>, _var_data=None, _original=Var(_js_expr='reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state.is_loading', _var_type=<class 'bool'>, _var_data=VarData(state='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state', field_name='is_loading', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),))), 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=()))), 'limit': Var(_js_expr='reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state.limit', _var_type=typing.Annotated[int, FieldInfo(annotation=NoneType, required=True, metadata=[Ge(ge=1), Le(le=100)])], _var_data=VarData(state='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state', field_name='limit', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),))), 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=())), 'merged_login_person': Var.__init_subclass__.<locals>.ObjectCastedVar(_js_expr='reflex___state____state__mex___editor___state____state.merged_login_person', _var_type=mex.editor.models.MergedLoginPerson | None, _var_data=None, _original=Var(_js_expr='reflex___state____state__mex___editor___state____state.merged_login_person', _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='/', transpile=False),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),))), hooks=('const reflex___state____state__mex___editor___state____state = useContext(StateContexts.reflex___state____state__mex___editor___state____state)',), deps=(), position=None, components=()))), 'nav_items': Var.__init_subclass__.<locals>.ArrayCastedVar(_js_expr='reflex___state____state__mex___editor___state____state.nav_items', _var_type=list[mex.editor.models.NavItem], _var_data=None, _original=Var(_js_expr='reflex___state____state__mex___editor___state____state.nav_items', _var_type=list[mex.editor.models.NavItem], _var_data=VarData(state='reflex___state____state.mex___editor___state____state', field_name='nav_items', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),))), hooks=('const reflex___state____state__mex___editor___state____state = useContext(StateContexts.reflex___state____state__mex___editor___state____state)',), deps=(), position=None, components=()))), 'navigate_dialog_open': Var.__init_subclass__.<locals>.BooleanCastedVar(_js_expr='reflex___state____state__mex___editor___state____state.navigate_dialog_open', _var_type=<class 'bool'>, _var_data=None, _original=Var(_js_expr='reflex___state____state__mex___editor___state____state.navigate_dialog_open', _var_type=<class 'bool'>, _var_data=VarData(state='reflex___state____state.mex___editor___state____state', field_name='navigate_dialog_open', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),))), hooks=('const reflex___state____state__mex___editor___state____state = useContext(StateContexts.reflex___state____state__mex___editor___state____state)',), deps=(), position=None, components=()))), 'navigate_target': Var.__init_subclass__.<locals>.StringCastedVar(_js_expr='reflex___state____state__mex___editor___state____state.navigate_target', _var_type=str | None, _var_data=None, _original=Var(_js_expr='reflex___state____state__mex___editor___state____state.navigate_target', _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='/', transpile=False),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),))), hooks=('const reflex___state____state__mex___editor___state____state = useContext(StateContexts.reflex___state____state__mex___editor___state____state)',), deps=(), position=None, components=()))), 'projects_current_page': Var(_js_expr='reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state.projects_current_page', _var_type=typing.Annotated[int, FieldInfo(annotation=NoneType, required=True, metadata=[Ge(ge=1)])], _var_data=VarData(state='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state', field_name='projects_current_page', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),))), 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=())), 'projects_total': Var(_js_expr='reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state.projects_total', _var_type=typing.Annotated[int, FieldInfo(annotation=NoneType, required=True, metadata=[Ge(ge=0)])], _var_data=VarData(state='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state', field_name='projects_total', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),))), 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=())), 'projects_total_pages': FakeComputedVarBaseClass(_js_expr='projects_total_pages', _var_type=list[str], _var_data=VarData(state='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state', field_name='', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),))), 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.projects_total_pages>), 'resources_current_page': Var(_js_expr='reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state.resources_current_page', _var_type=typing.Annotated[int, FieldInfo(annotation=NoneType, required=True, metadata=[Ge(ge=1)])], _var_data=VarData(state='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state', field_name='resources_current_page', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),))), 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=())), 'resources_total': Var(_js_expr='reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state.resources_total', _var_type=typing.Annotated[int, FieldInfo(annotation=NoneType, required=True, metadata=[Ge(ge=0)])], _var_data=VarData(state='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state', field_name='resources_total', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),))), 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=())), 'resources_total_pages': FakeComputedVarBaseClass(_js_expr='resources_total_pages', _var_type=list[str], _var_data=VarData(state='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state', field_name='', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),))), 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.resources_total_pages>), 'router': Var.__init_subclass__.<locals>.ObjectCastedVar(_js_expr='reflex___state____state.router', _var_type=<class 'reflex.istate.data.RouterData'>, _var_data=None, _original=Var(_js_expr='reflex___state____state.router', _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='/', transpile=False),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),))), 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', _var_type=str | None, _var_data=None, _original=Var(_js_expr='reflex___state____state__mex___editor___state____state.target_path_after_login', _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='/', transpile=False),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),))), 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', _var_type=mex.editor.models.User | None, _var_data=None, _original=Var(_js_expr='reflex___state____state__mex___editor___state____state.user_ldap', _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='/', transpile=False),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),))), 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', _var_type=mex.editor.models.User | None, _var_data=None, _original=Var(_js_expr='reflex___state____state__mex___editor___state____state.user_mex', _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='/', transpile=False),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),))), hooks=('const reflex___state____state__mex___editor___state____state = useContext(StateContexts.reflex___state____state__mex___editor___state____state)',), deps=(), position=None, components=()))), 'user_projects': Var.__init_subclass__.<locals>.ArrayCastedVar(_js_expr='reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state.user_projects', _var_type=list[mex.editor.search.models.SearchResult], _var_data=None, _original=Var(_js_expr='reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state.user_projects', _var_type=list[mex.editor.search.models.SearchResult], _var_data=VarData(state='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state', field_name='user_projects', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),))), 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=()))), 'user_resources': Var.__init_subclass__.<locals>.ArrayCastedVar(_js_expr='reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state.user_resources', _var_type=list[mex.editor.search.models.SearchResult], _var_data=None, _original=Var(_js_expr='reflex___state____state__mex___editor___state____state__mex___editor___consent___state____consent_state.user_resources', _var_type=list[mex.editor.search.models.SearchResult], _var_data=VarData(state='reflex___state____state.mex___editor___state____state.mex___editor___consent___state____consent_state', field_name='user_resources', imports=(('$/utils/context', (ImportVar(tag='StateContexts', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),)), ('react', (ImportVar(tag='useContext', is_default=False, alias=None, install=True, render=True, package_path='/', transpile=False),))), 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=())))}¶

Module contents¶

mex-editor

Navigation

  • mex package
    • Subpackages
    • Submodules
    • mex.mex module
    • Module contents
  • mex.editor package
    • Subpackages
    • Submodules
    • mex.editor.components module
    • mex.editor.exceptions module
    • mex.editor.fields module
    • mex.editor.layout module
    • mex.editor.locale_service module
    • mex.editor.logging module
    • mex.editor.main module
    • mex.editor.models 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
    • Module contents
  • mex.editor.api package
  • mex.editor.consent package
    • Submodules
    • mex.editor.consent.layout module
    • mex.editor.consent.main module
    • mex.editor.consent.state 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