import { IQuestion , QuestionCheckboxModel , ItemValue } from 'survey-core' ; import { IRect , DocController } from '../doc_controller' ; import { CheckItemBrick } from './pdf_checkitem' ; export class CheckboxItemBrick extends CheckItemBrick { public constructor ( question , controller , rect , item , index ) { super ( question , controller , rect , ( < QuestionCheckboxModel > question ) . id + 'index' + index , question . isReadOnly || ! item . isEnabled , ( < QuestionCheckboxModel > question ) . isItemSelected ( item ) ) ; } }