30 lines
1.4 KiB
TypeScript
30 lines
1.4 KiB
TypeScript
import { BlockBean, Brand, EmailElements, Footer, Logo, Structure } from './models';
|
|
import * as i0 from "@angular/core";
|
|
export declare class EmailHtmlGeneratorService {
|
|
defaultFont: string;
|
|
unsubscribePath: string;
|
|
constructor();
|
|
getResetStyles(): string;
|
|
getStyles(): string;
|
|
getPlainTextStyles(isPreview?: boolean): string;
|
|
getHtmlEditorStyles(): string;
|
|
getHead(plainText?: boolean, isPreview?: boolean): string;
|
|
getEmailHtml(emailElements: EmailElements, isPreview?: boolean): string;
|
|
getSpacer(padding?: number, lineHeight?: number): string;
|
|
getStructure(structure: Structure, contentBgColor: string): string;
|
|
getLogo(logo: Logo): string;
|
|
getFooter(footer: Footer, isPreview: boolean): string;
|
|
getBrand(brand: Brand, isPreview: boolean): string;
|
|
getBlock(block: BlockBean, cols?: number): string;
|
|
getDivider(block: BlockBean): string;
|
|
getText(block: BlockBean): string;
|
|
getBody(block: BlockBean): string;
|
|
getImage(block: BlockBean, cols: number): string;
|
|
getVideo(block: BlockBean, cols: number): string;
|
|
getButton(block: BlockBean): string;
|
|
getFontFamily(font: string): string;
|
|
getPainTextHTML(emailContent: EmailElements, isPreview?: boolean): string;
|
|
static ɵfac: i0.ɵɵFactoryDeclaration<EmailHtmlGeneratorService, never>;
|
|
static ɵprov: i0.ɵɵInjectableDeclaration<EmailHtmlGeneratorService>;
|
|
}
|