import { AfterViewInit, ElementRef, EventEmitter, OnInit } from '@angular/core'; import { YxFileCenterLibService } from '../yx-file-center-lib.service'; import { NzNotificationService } from "ng-zorro-antd/notification"; import { VideoUploadService } from '../vod/video-upload.service'; import { HttpClient } from '@angular/common/http'; import { FileLibConfig } from '../file-lib-config'; import { Editor } from "tinymce"; import { Subject } from 'rxjs'; export declare class YxTinymceComponent implements OnInit, AfterViewInit { private http; private fileLibConfig; private message; private yxFileCenterLibService; private videoUploadService; videoAcceptType: string; audioAcceptType: string; imgAcceptType: string; disabled: boolean; content: string; messageInfo: string; messageInfoSite: string; editorId: string; plugins: string; toolbar: string; height: number; keyUpEvent: boolean; private defaultConfig; set config(params: { base_url: string; plugins: string; toolbar: string; menubar: boolean; branding: boolean; statusbar: boolean; elementpath: boolean; paste_data_images: boolean; paste_preprocess: (plugin: any, args: any) => void; images_upload_handler: (blobInfo: any, success: any, fail: any) => void; file_picker_callback: (callback: any, value: any, meta: any) => void; language: string; height: number; }); get config(): { base_url: string; plugins: string; toolbar: string; menubar: boolean; branding: boolean; statusbar: boolean; elementpath: boolean; paste_data_images: boolean; paste_preprocess: (plugin: any, args: any) => void; images_upload_handler: (blobInfo: any, success: any, fail: any) => void; file_picker_callback: (callback: any, value: any, meta: any) => void; language: string; height: number; }; contentChange: EventEmitter; /** 返回编辑器实例 */ editorInstance: EventEmitter; uploader: any; btnId: string; container: ElementRef; editorUploaderSuccess: Subject; constructor(http: HttpClient, fileLibConfig: FileLibConfig, message: NzNotificationService, yxFileCenterLibService: YxFileCenterLibService, videoUploadService: VideoUploadService); ngOnInit(): void; /** * 点击提示信息获取输入框焦点 */ messageClick(): void; /** * 内容发生改变 */ onChange(event: any, flag: any): void; ngAfterViewInit(): void; /** * 监听编辑器初始化完成 */ editorInit(): void; }