import { IQuestion , PanelModel , PageModel } from 'survey-core' ; import { IPoint , DocController } from '../doc_controller' ; import { FlatRepository } from '../flat_layout/flat_repository' ; import { IPdfBrick } from '../pdf_render/pdf_brick' ; export class AdornersBaseOptions { public point : IPoint ; public bricks : IPdfBrick [ ] ; public controller : DocController ; public repository : FlatRepository ; public module : any ; public constructor ( point , bricks , controller , repository , module ) { this . point = point ; this . bricks = bricks ; this . controller = controller ; this . repository = repository ; this . module = module ; } } export class AdornersOptions extends AdornersBaseOptions { public question : IQuestion ; public constructor ( point , bricks , question , controller , repository , module ) { super ( point , bricks , controller , repository , module ) ; this . question = question ; } } export class AdornersPanelOptions extends AdornersBaseOptions { public panel : PanelModel ; public constructor ( point , bricks , panel , controller , repository , module ) { super ( point , bricks , controller , repository , module ) ; this . panel = panel ; } } export class AdornersPageOptions extends AdornersBaseOptions { public page : PageModel ; public constructor ( point , bricks , page , controller , repository , module ) { super ( point , bricks , controller , repository , module ) ; this . page = page ; } }