import { AfterViewInit, ChangeDetectorRef, ComponentFactoryResolver, EventEmitter, OnInit, QueryList, ViewContainerRef } from '@angular/core'; import { NoosFormTypeService } from '../../../../class/NoosFormTypeService'; import { FormItemComponentInterface, ISurveySelectedEvent } from '../../../../interface/component'; import { IActionPassData, IFormItemsControls } from '../../../../interface/form-structure'; import { HttpFormDataService } from '../../../../services/services'; import { IHttpSetting } from '../../../../interface/dataset-params'; export interface SurveyQuestionStructure { survey_id: number; id: number; answer_control_id: string; question_text?: string; question_image?: string; list_order: number; is_require: boolean; answers: IAnswers[]; } export interface IAnswers { list_order: number; text: string; image: string; point: number; id: any; require_value: boolean; value_label: string; selected_warning: string; } export declare class SurveyComponent implements OnInit, AfterViewInit, FormItemComponentInterface { private httpService; private componentFactoryResolver; private noosFormTypeFactory; private cd; widgetTargets: QueryList; prop: IFormItemsControls; isFilter: boolean; thisAppearance: any; setting: IHttpSetting; keyOnEnter: EventEmitter; datasetId: number; formId: number; actionPassedData: IActionPassData; surveyReturns: ISurveySelectedEvent[]; isAllDataOk: boolean; itemData: SurveyQuestionStructure[]; constructor(httpService: HttpFormDataService, componentFactoryResolver: ComponentFactoryResolver, noosFormTypeFactory: NoosFormTypeService, cd: ChangeDetectorRef); ngOnInit(): void; ngAfterViewInit(): void; loadSurvey(): void; compileForm(): void; }