@thanhpv102/easy-email-core 4.19.5 → 4.19.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,9 +1,10 @@
1
1
  import { BasicType } from '../../constants';
2
- import { IBlock, IBlockData } from '../../typings';
2
+ import { IBlockData } from '../../typings';
3
3
  export declare function generateAdvancedTableBlock(option: {
4
4
  type: string;
5
5
  baseType: BasicType;
6
- }): IBlock<AdvancedTableBlock>;
6
+ validParentType: string[];
7
+ }): import("../../typings").IBlock<AdvancedTableBlock>;
7
8
  export interface IAdvancedTableData {
8
9
  content: string;
9
10
  colSpan?: number;
@@ -15,7 +16,8 @@ export type AdvancedTableBlock = IBlockData<{
15
16
  cellBorderColor?: string;
16
17
  'font-style'?: string;
17
18
  'text-align'?: string;
19
+ width?: string;
20
+ 'css-class'?: string;
18
21
  }, {
19
- content?: string;
20
22
  tableSource: IAdvancedTableData[][];
21
23
  }>;
@@ -11,5 +11,5 @@ export type IHero = IBlockData<{
11
11
  height?: string;
12
12
  mode: 'fluid-height' | 'fixed-height';
13
13
  padding?: string;
14
- }, {}>;
14
+ }>;
15
15
  export declare const Hero: import("../../../typings").IBlock<IHero>;
@@ -1,5 +1,5 @@
1
1
  import { IBlockData } from '../../../typings';
2
- export type IRaw = IBlockData<{}, {
2
+ export type IRaw = IBlockData<{
3
3
  content: string;
4
4
  }>;
5
5
  export declare const Raw: import("../../../typings").IBlock<IRaw>;
@@ -1,5 +1,21 @@
1
1
  import { IBlockData } from '../../../typings';
2
- export type ITable = IBlockData<{}, {
3
- content: string;
2
+ export type ITable = IBlockData<{
3
+ align?: string;
4
+ border?: string;
5
+ cellpadding?: string;
6
+ cellspacing?: string;
7
+ color?: string;
8
+ 'container-background-color'?: string;
9
+ 'font-family'?: string;
10
+ 'font-size'?: string;
11
+ 'font-style'?: string;
12
+ 'font-weight'?: string;
13
+ 'line-height'?: string;
14
+ 'letter-spacing'?: string;
15
+ padding?: string;
16
+ 'table-layout'?: string;
17
+ width?: string;
18
+ }, {
19
+ content?: string;
4
20
  }>;
5
21
  export declare const Table: import("../../../typings").IBlock<ITable>;