source_browser
Source browser virtual collection router for Phase 1 selection
SourceBrowserRouterState
SourceBrowserRouterState
def SourceBrowserRouterState(
router:APIRouter, urls:VirtualCollectionUrls, ids:VirtualCollectionHtmlIds, btn_ids:VirtualCollectionButtonIds,
config:VirtualCollectionConfig, state:VirtualCollectionState, items:List, render_cell:Callable,
rebuild_and_render:Callable, rebuild_items:Callable, sync_items_selection:Callable,
get_visible_checkbox_oobs:Callable, get_checkbox_oob_for:Callable, get_vc_row_id_for:Callable
)->None:
Return value from init_source_browser_router.
Router Initialization
init_source_browser_router
def init_source_browser_router(
source_service:SourceService, # Source service for querying transcriptions
urls:SelectionUrls, # URL bundle (toggle, select_all, filter, grouping_change)
prefix:str='/browser', # Route prefix for VC routes
)->SourceBrowserRouterState: # Router state with all VC objects and helpers
Initialize the source browser virtual collection router.