import { MsgTemplateEdit } from '../../msg-interface/msg-template-edit'; import { FormGroup } from '@angular/forms'; import { TemplateEditData } from '../../msg-interface/data-model'; import { DialogService, TemplateService } from 'icc-common-lib'; export declare class TiktokTplEditComponent implements MsgTemplateEdit { private templateService; private dialogService; SCENE: string; /** 数据源 */ source: TemplateEditData; /** 辅助 --消息类型 */ _MSGTYPES: { MO: { SMS: { type: number; name: string; icon: string; }; VOICE: { type: number; name: string; icon: string; }; WECHAT: { type: number; name: string; icon: string; /** 辅助 --消息类型 */ }; EMAIL: { type: number; name: string; icon: string; }; WORKWX: { type: number; name: string; icon: string; }; _5G: { /** 重要 -- 新增的空白模板 */ type: number; name: string; icon: string; }; TIKTOK: { type: number; name: string; icon: string; }; }; MT: { SMS: { type: number; name: string; key: string; icon: string; icon_gray: string; patchTypes: string; autoReport: number; autoReply: number; channelProvider: number; channel: number; moRecord: number; }; MMS: { type: number; name: string; key: string; icon: string; icon_gray: string; patchTypes: string; autoReport: number; autoReply: number; channelProvider: number; channel: number; moRecord: number; }; WECHAT: { type: number; name: string; key: string; icon: string; icon_gray: string; patchTypes: string; autoReport: number; autoReply: number; channelProvider: number; channel: number; moRecord: number; }; VOICE: { type: number; name: string; key: string; icon: string; icon_gray: string; patchTypes: string; autoReport: number; autoReply: number; channelProvider: number; channel: number; moRecord: number; }; EMAIL: { type: number; name: string; key: string; icon: string; icon_gray: string; patchTypes: string; autoReport: number; autoReply: number; channelProvider: number; channel: number; moRecord: number; }; WEIBO: { type: number; name: string; key: string; icon: string; icon_gray: string; patchTypes: string; autoReport: number; autoReply: number; channelProvider: number; channel: number; moRecord: number; }; JPUSH: { type: number; name: string; key: string; icon: string; icon_gray: string; patchTypes: string; /** 添加一些辅助的字段 */ autoReport: number; autoReply: number; channelProvider: number; channel: number; /** 添加一些辅助的字段 */ moRecord: number; }; TIKTOK: { type: number; name: string; key: string; icon: string; icon_gray: string; patchTypes: string; autoReport: number; channelProvider: number; channel: number; moRecord: number; }; WORKWX: { type: number; name: string; key: string; icon: string; icon_gray: string; patchTypes: string; autoReport: number; autoReply: number; channelProvider: number; channel: number; /** 模板增加后的回调 */ moRecord: number; }; _5G: { type: number; name: string; key: string; icon: string; icon_gray: string; patchTypes: string; autoReport: number; autoReply: number; channelProvider: number; channel: number; moRecord: number; }; }; getMsgList: (isMo?: any) => any[]; getMsgListByTypes: (isMo: any, ...msgTypes: any[]) => any[]; getMsgNamesByTypes: (isMo: any, msgTypes: any, separator?: any) => string; getMsgByType: (isMo: any, msgType: any) => any; getMsgByName: (isMo: any, msgName: any) => {}; getMsgTplOptions: typeof import("../../shared/constant/msgType").getMsgTplOptions; }; type: number; /** 辅助 -- 图片视频上传接口 */ uploadUrl: string; /** 辅助 -- 图片视频上传参数 */ mediaDownParams: string; /** 重要 -- 新增的空白模板 */ standardTemplate: { id: number; name: string; priority: any; msgType: any; bizTypeId: any; mediaList: any[]; contentType: any; content: { contentType: number; content: string; title: string; mediaList: any[]; }; title: string; copyValue: number; operateType: string; isDefault: boolean; editIndex: number; conditions: any[]; patchStrategy: any[]; }; form: FormGroup; constructor(templateService: TemplateService, dialogService: DialogService); setFormData(data: any): void; getData(): any; validate(): boolean; /** 添加一些辅助的字段 */ processTemplate(template: any, isNew?: boolean): void; /** 模板增加后的回调 */ updateHandle(): void; /** 手动驱动校验 */ cleanupDirty(): void; }