/** * RBAC Page Component * * Uses the generic component factory pattern with rbac-specific configuration. * Receives all UI label strings as pre-translated props from the caller — * the same pattern used by ProductPage — so this component is translation-agnostic. * * Key responsibilities: * - Define table column layout and row body column types * - Build the module config (via factory) wiring passed label strings and content slots * - Delegate header/row actions and navigation to the context hook * - Pass the self-contained context directly to the generic page factory * - Guard access via resolveRbacPermissions * * Exported utilities: * - `RbacPage` — root component that wraps with RbacProvider */ import { FC } from "react"; import { USER_ROLE } from "../../type"; interface Props { drawerButtonCancel: string; drawerButtonSave: string; drawerFilterDescription: string; drawerFilterTitle: string; drawerFormDescription: string; drawerFormTitle: string; drawerMoreActionsDescription: string; drawerMoreActionsTitle: string; drawerViewDescription: string; drawerViewTitle: string; tableColumnHeaderActions: string; tableColumnHeaderDescription: string; tableColumnHeaderId: string; tableColumnHeaderName: string; tableColumnHeaderPermissions: string; tableDescription: string; tableSearchPlaceholder: string; tableTitle: string; userRole: USER_ROLE; } export declare const RbacPage: FC; export {};