export declare const ENTITY = "epEntity", LEVELS_TO_LOAD = "epLevelsToLoad", LOAD_ENTITY = "epLoadEntity", ON_ENTITY_LOADED = "epOnEntityLoaded"; /** * This is the main Entity Page interface with the minimum required to implement a Generic Page */ export interface EntityPageInterface { epEntity: T; } /** * Implement this interface if there is the need to customize Entity Page's levelsToLoad config */ export interface LevelsToLoad { epLevelsToLoad: number; } /** * Implement this interface if there is the need to customize the function that loads the entity */ export interface LoadEntity { epLoadEntity(id: string, type: string, levelsToLoad: number): Promise; } /** * Implement this interface when the component wants to be notified after the entity is loaded */ export interface OnEntityLoaded { epOnEntityLoaded(entity: T): void; } /** * Use this interface to apply extra visibility logic to entity page buttons. */ export interface EntityPageSharedButtonsVisibility { CreateNewVersion: boolean; Refresh: boolean; SetEffective: boolean; Edit: boolean; AdjustState?: boolean; ChangeState: boolean; Lock?: boolean; Unlock?: boolean; SpecialUnlock?: boolean; Clone: boolean; Terminate: boolean; Unterminate?: boolean; Comment: boolean; Connect?: boolean; Export?: boolean; }