import { OnInit, EventEmitter, OnChanges, ChangeDetectorRef, OnDestroy } from '@angular/core'; import { HttpService, Subject } from '@spark100/teaching-base'; import { AddQuestionService } from "../../service/add-question.service"; import { TreeNode } from "../../model/treenode"; import { JyeooQuestionService } from '../examination-question/jyeoo-question.service'; export declare class KnowledgePanelSyncComponent implements OnInit, OnChanges, OnDestroy { httpService: HttpService; cdr: ChangeDetectorRef; AQService: AddQuestionService; JyeooQuestionService: JyeooQuestionService; _knowledges: any[]; files: TreeNode[]; selectedFile: any; knowName: string; searchHover: boolean; /** * 是否查询知识点下的题目数量 默认:true 查询 */ canSearchQuestionCount: boolean; needChangeTab: boolean; _sectionId: string; _sectionName: string; _subjectId: string; _subjectName: string; _bookVersionId: string; _bookVersionName: string; _bookId: string; _bookName: string; inputChange: Subject; loading: boolean; selectionMode: string; selectedAll: boolean; deleteKnowledgeListener: any; pathArr: any[]; pathArrTemp: any[]; _tikuId: number; knowledgeIds: any[]; type: string; studentId: string; sectionId: any; sectionName: any; subjectId: any; subjectName: any; bookVersionId: any; bookVersionName: any; bookId: any; bookName: any; tikuId: any; currentKnowledgeId: string; isJyeoo: boolean; emitKnowledge: EventEmitter; notFirst: EventEmitter; changeMaterial: EventEmitter; expandEmit: EventEmitter; constructor(httpService: HttpService, cdr: ChangeDetectorRef, AQService: AddQuestionService, JyeooQuestionService: JyeooQuestionService); ngOnChanges(value: any): void; ngOnInit(): void; handleQuestionCount(traversalNode?: any, fetchKnows?: any): void; checkQuestionCount(visibleNodes?: any, knowledgeIds?: any): void; currentNodeExpand(traversalNode?: any, currentNode?: any): void; handleNodeExpand(event: any): void; getJyeooQuestionCount(params: any, traversalNode?: any): void; nodeSelect(event: any): void; nodeUnselect(event: any): void; getKnowledgeTree(): void; clickFirst(): void; _handleKnowledgeCheck(): void; checkKnowledgeNode(node: any, pathArr?: any[]): void; expandCheck(node: any, pathArr: any): void; expandEndClick(currentNode: any, pathArr: any): void; _handleSearch(knowledges: any): any; checkExpand(children: any): boolean; /** * @description 加载知识模块数量 * @param knowList */ loadKnowModuleCount(knowList: any): void; clearFiles(): void; ngOnDestroy(): void; }