import { EventEmitter, OnInit, AfterViewInit, OnDestroy } from '@angular/core'; import { QuestionService } from '../../services/question/question.service'; import { PlayerService } from '../../services/player/player.service'; import { EditorTelemetryService } from '../../services/telemetry/telemetry.service'; import { EditorService } from '../../services/editor/editor.service'; import { ToasterService } from '../../services/toaster/toaster.service'; import { Router } from '@angular/router'; import { ConfigService } from '../../services/config/config.service'; import { FrameworkService } from '../../services/framework/framework.service'; import { TreeService } from '../../services/tree/tree.service'; import { EditorCursor } from '../../questionset-editor-cursor.service'; import { SubMenu } from '../question-option-sub-menu/question-option-sub-menu.component'; import { ICreationContext } from '../../interfaces/CreationContext'; import * as i0 from "@angular/core"; export declare class QuestionComponent implements OnInit, AfterViewInit, OnDestroy { private questionService; editorService: EditorService; telemetryService: EditorTelemetryService; playerService: PlayerService; private toasterService; private treeService; private frameworkService; private router; configService: ConfigService; private editorCursor; questionInput: any; leafFormConfig: any; sourcingSettings: any; initialLeafFormConfig: any; childFormData: any; questionEmitter: EventEmitter; private onComponentDestroy$; toolbarConfig: any; editorState: any; showPreview: boolean; mediaArr: any; videoShow: boolean; showFormError: boolean; actionType: string; selectedSolutionType: string; showSolutionDropDown: boolean; showSolution: boolean; videoSolutionName: string; videoThumbnail: string; solutionUUID: string; solutionTypes: any; questionMetaData: any; questionInteractionType: any; questionCategory: any; questionId: any; creationContext: ICreationContext; creationMode: any; tempQuestionId: any; questionSetId: any; unitId: any; setCharacterLimit: number; showLoader: boolean; isReadOnlyMode: boolean; contentComment: string; showReviewModal: boolean; questionSetHierarchy: any; showConfirmPopup: boolean; showSubmitConfirmPopup: boolean; questionPrimaryCategory: string; pageId: string; pageStartTime: any; framework: any; frameworkDetails: any; questionMetadataFormStatus: boolean; buttonLoaders: { saveButtonLoader: boolean; review: boolean; }; showTranslation: boolean; subMenus: SubMenu[]; showAddSecondaryQuestionCat: boolean; sliderDatas: any; sliderOptions: any; hints: any; categoryLabel: any; scoreMapping: any; condition: string; targetOption: any; responseVariable: string; newQuestionID: any; showOptions: boolean; selectedOptions: any; options: any[]; isChildQuestion: boolean; branchingLogic: any; selectedSectionId: any; sectionPrimaryCategory: any; maxScore: number; questionFormConfig: any; treeNodeData: any; showQualityParameterPopup: boolean; qualityFormConfig: any; requestChangesPopupAction: string; hintsUUID: string; constructor(questionService: QuestionService, editorService: EditorService, telemetryService: EditorTelemetryService, playerService: PlayerService, toasterService: ToasterService, treeService: TreeService, frameworkService: FrameworkService, router: Router, configService: ConfigService, editorCursor: EditorCursor); ngOnInit(): void; fetchFrameWorkDetails(): void; populateFrameworkData(): void; ngAfterViewInit(): void; initialize(): void; toolbarEventListener(event: any): void; handleRedirectToQuestionset(): void; submitHandler(): void; saveContent(): void; onConsentSubmit(event: any): void; sendForReview(): void; requestForChanges(comment: any): void; sendQuestionForPublish(event: any): void; rejectQuestion(comment: any): boolean; publishQuestion(event: any): boolean; sourcingUpdate(event: any): boolean; sendBackQuestion(event: any): void; validateQuestionData(): void; validateDefaultQuestionData(): void; validateChoiceQuestionData(): void; validateSliderQuestionData(): void; redirectToQuestionset(): void; redirectToChapterList(): void; editorDataHandler(event: any, type?: any): void; setMedia(media: any): void; addResourceToQuestionset(callback?: any): void; saveQuestion(): void; videoDataOutput(event: any): void; selectSolutionType(data: any): void; deleteSolution(): void; getSolutionObj(solutionUUID: any, selectedSolutionType: any, editorStateSolutions: any): any; setQuestionProperties(metadata: any): any; getQuestionMetadata(): any; getAnswerHtml(optionLabel: any): string; getAnswerWrapperHtml(concatenatedAnswers: any): string; getInteractionValues(answer: any, interactions: any): any; getQuestionSolution(solutionObj: any): { [x: number]: any; }; getMediaById(mediaId: any): any; getResponseDeclaration(type: any): { response1: { type: string; }; }; getVideoSolutionHtml(posterURL: any, srcUrl: any, solutionMediaId: any): string; getMcqQuestionHtmlBody(question: any, templateId: any): string; getDefaultSessionContext(): any; setQuestionTypeValues(metaData: any): void; InsertHintAndInstructions(metaData: any): any; prepareRequestBody(): { nodesModified: { [x: number]: { metadata: any; objectType: string; root: boolean; isNew: boolean; }; }; hierarchy: any; }; prepareQuestionBody(): { question: any; }; prepareSourcingUpdateBody(questionIds: any, comments?: any): { request: { [x: number]: { [x: string]: any; }; }; }; upsertQuestion(callback: any): void; createQuestion(): void; saveQuestions(requestBody: any, type: any): void; updateQuestion(): void; saveUpdateQuestions(): void; showHideSpinnerLoader(status: boolean, type?: any): void; previewContent(): void; setParentConfig(parentConfig: any): void; setQumlPlayerData(questionId: string): void; getOutcomeDeclaration(questionMetadata: any): { maxScore: { cardinality: string; type: string; defaultValue: number; }; hint: { cardinality: string; type: string; defaultValue: string; }; }; setQuestionId(questionId: any): void; setQuestionTitle(questionId?: any): void; getExistingQuestionTitle(questionId: any): string; onStatusChanges(event: any): void; valueChanges(event: any): void; validateFormFields(): boolean; previewFormData(status: any): void; populateFormData(): void; setExistingQuestionData(): void; setChildAliasData(availableAlias: any, formFieldCategory: any): void; subMenuChange({ index, value }: { index: any; value: any; }): void; get dependentQuestions(): string | any[]; subMenuConfig(): void; getHints(): { id: string; name: string; value: any; label: string; enabled: boolean; type: string; show: any; }; getInstructions(): { id: string; name: string; value: any; label: string; enabled: boolean; type: string; show: any; }; ngOnDestroy(): void; sliderData($event: any): void; optionHandler(e: any): void; buildCondition(type: any): void; updateTarget(questionId: any): any[]; getOptions(): void; getParentQuestionOptions(questionId: any): void; updateTreeCache(sectionName: any, branchingLogic: any, selectedSection: any): void; setCondition(data: any): void; getBranchingLogic(children: any): void; onQualityFormSubmit(event: any): void; saveQualityParameters(qualityParameters: any, callback: any): void; openRequestChangesPopup(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } //# sourceMappingURL=question.component.d.ts.map